text
stringlengths
54
60.6k
<commit_before>#include "tagentry.h" using namespace AhoViewer::Booru; TagEntry::TagEntry(BaseObjectType *cobj, const Glib::RefPtr<Gtk::Builder> &bldr) : Gtk::Entry(cobj) { m_TagCompletion = Glib::RefPtr<Gtk::EntryCompletion>::cast_static( bldr->get_object("Booru::Browser::TagEntryCompletion")); ...
<commit_before>/* +------------------------------------------------------------------------+ | Mobile Robot Programming Toolkit (MRPT) | | https://www.mrpt.org/ | | ...
<commit_before>/*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Module: FGInertial.cpp Author: Jon S. Berndt Date started: 09/13/00 Purpose: Encapsulates the inertial frame forces (coriolis and centrifugal) ------------- Copyright (C) 2000 Jon S. Berndt (jon@jsbs...
<commit_before>// // // Copyright (C) 2004-05 SIPfoundry Inc. // Licensed by SIPfoundry under the LGPL license. // // Copyright (C) 2004-05 Pingtel Corp. // Licensed to SIPfoundry under a Contributor Agreement. // // $$ ////////////////////////////////////////////////////////////////////////////// // Cloned from syslo...
<commit_before> /* This file is part of QJson * * Copyright (C) 2009 Flavio Castelli <flavio.castelli@gmail.com> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as published by the Free Software Foundation; either * version...
<commit_before>/* This source file is part of the Tomviz project, https://tomviz.org/. It is released under the 3-Clause BSD License, see "LICENSE". */ #include "DataBrokerLoadReaction.h" #include "DataBrokerLoadDialog.h" #include "DataSource.h" #include "LoadDataReaction.h" #include "Utilities.h" #include <vtkIm...
<commit_before>#include <StdInc.h> #include "SparrowNodes.h" #include "SparrowNodesAccessors.h" #include <SprDebug.h> #include <Helpers/DeclsHelpers.h> #include <Helpers/QualifiedId.h> #include "Nest/Api/SourceCode.h" #include "Nest/Utils/NodeUtils.hpp" using namespace SprFrontend; using namespace Nest; SourceCode*...
<commit_before>#include "LBP.h" LBP::LBP(unsigned int windowHeight, unsigned int windowWidth, unsigned int numberOfChannels, unsigned int *radius, unsigned int *samples, unsigned int numberOfRadiusSamplesCombinations) { unsigned int descriptorLengthPerWindow = numberOfRadiusSamplesCombinations * numberOfChannels; ...
<commit_before>// Copyright 2013-2015 Eric Schkufza, Rahul Sharma, Berkeley Churchill, Stefan Heule // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/license...
<commit_before>/* * This File is part of Davix, The IO library for HTTP based protocols * Copyright (C) CERN 2013 * Author: Adrien Devresse <adrien.devresse@cern.ch> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as publish...
<commit_before>#include "MeshPrimitives.h" #include <math3d/geometry3d.h> #include <math3d/basis.h> #include <assert.h> #include <math/complex.h> namespace Meshing { void MakeTriPlane(int m,int n,TriMesh& mesh) { MakeTriPlane(m,n,1,1,mesh); } void MakeTriPlane(int m,int n,Real sx,Real sy,TriMesh& mesh) { m=Max(m...
<commit_before>#include "minifluxapi.h" #include <curl/curl.h> #include <json-c/json.h> #include <thread> #include "3rd-party/json.hpp" #include "logger.h" #include "remoteapi.h" #include "rss/feed.h" #include "strprintf.h" #include "utils.h" using json = nlohmann::json; using HTTPMethod = newsboat::utils::HTTPMetho...
<commit_before>/** MiracleGrue - Model Generator for toolpathing. <http://www.grue.makerbot.com> Copyright (C) 2011 Far McKon <Far@makerbot.com>, Hugo Boyer (hugo@makerbot.com) This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License a...
<commit_before>/* Copyright 2020 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by appl...
<commit_before>/* IBM_PROLOG_BEGIN_TAG */ /* This is an automatically generated prolog. */ /* */ /* $Source: src/import/chips/p10/procedures/hwp/perv/p10_clock_test.C $ ...
<commit_before>#include "matrices.h" namespace BuiltInFunctions { namespace MatrixFunctions{ namespace { MatrixSum matrixSum; } RpnOperand MatrixSum::calculate(FunctionCalculator *calculator, QList<RpnOperand> actualArguments) { Q_UNUSED(calculator); QList<QList<Number> > matrix1 = RpnVector::toTwoDimensional(ac...
<commit_before>#ifndef SPECTER_TABLE_HPP #define SPECTER_TABLE_HPP #include "View.hpp" #include "ScrollView.hpp" #include "TextView.hpp" #include <array> namespace specter { #define SPECTER_TABLE_MAX_ROWS 128ul enum class SortDirection { None, Ascending, Descending }; struct ITableDataBinding { virt...
<commit_before>// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/lifetime/application_lifetime.h" #include "base/command_line.h" #include "chrome/common/chrome_switches.h" #i...
<commit_before>/*************************************************************************** * io/diskqueue.cpp * * Part of the STXXL. See http://stxxl.sourceforge.net * * Copyright (C) 2002-2005 Roman Dementiev <dementiev@mpi-sb.mpg.de> * * Distributed under the Boost Software License, Version 1.0. * (See ...
<commit_before>/************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * Copyright 2008 by Sun Microsystems, Inc. * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: ItemConverter.cxx,v $ * $Revisio...
<commit_before><commit_msg>Revert "Force the foreground and background color of the omnibox text." This reverts commit r16383.<commit_after><|endoftext|>
<commit_before><commit_msg>Fix issue 30244<commit_after><|endoftext|>
<commit_before>/* This file is part of Pack My Sprites. Pack My Sprites is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License. Pack My Sprites is distributed in the hop...
<commit_before>// Copyright (c) 2009 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/tab_contents/web_contents_view_gtk.h" #include <gdk/gdk.h> #include <gtk/gtk.h> #include "base/gfx/point.h" ...
<commit_before>/* Copyright: Copyright (C) 2003-2018 SIL International. Authors: mcdurdin */ #include <vector> #include <iterator> #include <codecvt> #include <locale> #include "kmx_processevent.h" #include "utfcodec.hpp" using namespace km::kbp; using namespace kmx; const km_kbp_cp *km::kbp::km...
<commit_before>// Copyright (c) 2010 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/chromeos/login/user_controller.h" #include "base/utf_string_conversions.h" #include "chrome/browser/chromeos/...
<commit_before>// Copyright (c) 2011 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/ui/views/keyboard_overlay_delegate.h" #include "base/memory/scoped_ptr.h" #include "base/utf_string_conversio...
<commit_before>// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/devtools/device/adb/adb_device_provider.h" #include "base/strings/string_util.h" #include "base/strings/stringpri...
<commit_before>// Copyright (c) 2011 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "base/command_line.h" #include "base/string16.h" #include "base/test/test_timeouts.h" #include "base/utf_string_conversions.h"...
<commit_before>// Copyright (c) 2010 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/extensions/sandboxed_extension_unpacker.h" #include <set> #include "base/base64.h" #include "base/crypto/sig...
<commit_before>/****************************************************************************** * Copyright 2017 The Apollo Authors. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of ...
<commit_before>#pragma once #include "blackhole/detail/stream/stream.hpp" #include "blackhole/sink/syslog.hpp" #include "blackhole/utils/underlying.hpp" namespace blackhole { namespace defaults { enum class severity { debug, notice, info, warning, error }; inline void map_severity(aux::attachab...
<commit_before>/**************************************************************************** ** ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). ** All rights reserved. ** Contact: Nokia Corporation (qt-info@nokia.com) ** ** This file is part of the QtCore module of the Qt Toolkit. ** ** $QT_BEGIN_L...
<commit_before>// Copyright 2017 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // vector_icons.cc.template is used to generate vector_icons.cc. Edit the former // rather than the latter. #include "chrome/app/vector_ic...
<commit_before>/********************************************************************************* * * Inviwo - Interactive Visualization Workshop * * Copyright (c) 2018 Inviwo Foundation * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted p...
<commit_before>// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/sync/glue/bookmark_data_type_controller.h" #include "base/metrics/histogram.h" #include "chrome/browser/bookm...
<commit_before>/** * @file multi_wrapper_impls.hpp * * @brief Implementations of methods or functions requiring the definitions of * multiple CUDA entity proxy classes. In some cases these are declared in the * individual proxy class files, with the other classes forward-declared. */ #pragma once #ifndef MULTI_WR...
<commit_before>//=====================================================================// /*! @file @brief RX62N, RX621 グループ・SCI I/O 制御 @n Copyright 2013 Kunihito Hiramatsu @author 平松邦仁 (hira@rvf-rc45.net) */ //=====================================================================// #include "sci_io.hpp" <commit_msg...
<commit_before>////////////////////////////////////////////////////////////////////////// // // Copyright (c) 2007-2010, Image Engine Design Inc. All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // ...
<commit_before>/* Copyright 2021 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by appl...
<commit_before>/* Copyright (c) 2012 Carsten Burstedde, Donna Calhoun All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list ...
<commit_before>// // PROJECT CHRONO - http://projectchrono.org // // Copyright (c) 2010 Alessandro Tasora // Copyright (c) 2013 Project Chrono // All rights reserved. // // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file at the top level of the distribution // and at...
<commit_before>#pragma once //=====================================================================// /*! @file @brief RX600 グループ・TPU I/O 制御 @author 平松邦仁 (hira@rvf-rc45.net) @copyright Copyright (C) 2017 Kunihito Hiramatsu @n Released under the MIT license @n https://github.com/hirakuni45/RX/blob/m...
<commit_before>//---------------------------------------------------------- -*- Mode: C++ -*- // $Id$ // // Created 2016/08/09 // // Author: Mike Ovsiannikov // // Copyright 2009 Quantcast Corp. // // This file is part of Kosmos File System (KFS). // // Licensed under the Apache License, Version 2.0 // (the "License");...
<commit_before>#include "notificationcontroller.h" // QT #include <QtCore/QCoreApplication> #include <QtCore/QDebug> #ifdef USE_SNORTIFY // SNORTIFY #include <libsnore/snore.h> #include <libsnore/notification/notification.h> #include <libsnore/log.h> #endif NotificationController::NotificationControl...
<commit_before>#include "client/socket.h" #include <stdio.h> Socket::Socket(Context *context, int port, std::string hostname) : context(context), Number(0) { // Connect to the server Connected = (socket.Connect(port, hostname) == sf::Socket::Done); socket.SetBlocking(false); } Socket::Socket(Context...
<commit_before>#include <iostream> #include "ext_mongo.h" #include "bson_decode.h" #include "contrib/encode.h" namespace HPHP { //////////////////////////////////////////////////////////////////////////////// // class MongoCursor static Array HHVM_METHOD(MongoCursor, current) { mongoc_cursor_t *cursor = get_cursor...
<commit_before>// serial.cxx -- Unix serial I/O support // // Written by Curtis Olson, started November 1998. // // Copyright (C) 1998 Curtis L. Olson - http://www.flightgear.org/~curt // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Library General Public // ...
<commit_before>/** * Copyright (c) 2015 - The CM Authors <legal@clickmatcher.com> * All Rights Reserved. * * This file is CONFIDENTIAL -- Distribution or duplication of this material or * the information contained herein is strictly forbidden unless prior written * permission is obtained. */ #include <stdlib.h...
<commit_before>// Copyright eeGeo Ltd (2012-2014), All Rights Reserved #include "AboutPageModule.h" #include "AboutPageModel.h" #include "AboutPageViewModel.h" #include "EegeoWorld.h" namespace { const std::string AboutPageText = "Powered by eeGeo's 3D Mapping Platform\n\nEEGEO DUNDEE\n\nTechnical Director\nOlive...
<commit_before>/** * Copyright (c) 2015 - The CM Authors <legal@clickmatcher.com> * All Rights Reserved. * * This file is CONFIDENTIAL -- Distribution or duplication of this material or * the information contained herein is strictly forbidden unless prior written * permission is obtained. */ #include <algorith...
<commit_before>/* * Copyright 2008-2013 NVIDIA Corporation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless require...
<commit_before>/********************************************************************* * * Copyright (C) 2007, Simon Kagstrom * * Filename: emit.hh * Author: Simon Kagstrom <simon.kagstrom@gmail.com> * Description: Emitter * * $Id:$ * *************************************************************...
<commit_before>/* * Copyright © 2011 Intel Corporation * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rights to use, copy, mod...
<commit_before>#include <fcntl.h> #include <unistd.h> #include <iostream> #include <sys/mman.h> #include <stdio.h> // Physical base address of GPIO const unsigned gpio_address = 0x400d0000; // Length of memory-mapped IO window const unsigned gpio_size = 0xff; const int gpio_led1_offset = 0x12C; // Offset for LED1 const...
<commit_before>/************************************************* * Wrappers for Botan Filters * * (C) 2005-2006 Jack Lloyd <lloyd@randombit.net> * *************************************************/ #include <boost/python.hpp> using namespace boost::python; #include <botan/pipe.h> #include <botan/...
<commit_before>/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "...
<commit_before>/* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2006 Robert Osfield * * This library is open source and may be redistributed and/or modified under * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or * (at your option) any later version. The full license is in LICENSE file *...
<commit_before>/* * Copyright (C) 2017 Rene Herthel * * This file is subject to the terms and conditions of the MIT License. * See the file LICENSE in the top level directory for more details. */ /** * @ingroup error_handler * @{ * * @brief Function declaration of the ErrorHandler. * * @author R...
<commit_before>/* -*- Mode: C++; c-basic-offset: 2; tab-width: 2; indent-tabs-mode: nil -*- * * Quadra, an action puzzle game * Copyright (C) 1998-2000 Ludus Design * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as publi...
<commit_before>/************************************************************************** The MIT License (MIT) Copyright (c) 2015 Dmitry Sovetov https://github.com/dmsovetov Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "...
<commit_before>/* bzflag * Copyright (c) 1993 - 2004 Tim Riker * * This package is free software; you can redistribute it and/or * modify it under the terms of the license found in the file * named COPYING that should have accompanied this file. * * THIS PACKAGE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR ...
<commit_before>#include "vec4.h" namespace fd { namespace core { namespace math { vec4::vec4() : x(0), y(0), z(0), w(0) {} vec4::vec4(float32 x, float32 y, float32 z, float32 w) : x(x), y(y), z(z), w(w) {} #pragma region vec-vec //Asss //float32 vec4& vec4::Add(const vec4& v) { __m128 vxmm = _mm_se...
<commit_before>// Licensed to the Apache Software Foundation (ASF) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The ASF licenses this file // to you under the Apache License, Version 2.0 (the // "Lic...
<commit_before>#include <osgGA/Version> const char* osgGAGetVersion() { return "1.2"; } const char* osgGAGetLibraryName() { return "OpenSceneGraph Gui Adapter Library"; } <commit_msg>Fixed version function names and comment strings<commit_after>#include <osgViewer/Version> const char* osgViewerGetVersion() ...
<commit_before>#include "output_hds.h" #include <mist/stream.h> #include <unistd.h> #include <mist/amf.h> #include <mist/mp4_adobe.h> namespace Mist { void OutHDS::getTracks(){ /// \todo Why do we have only one audio track option? videoTracks.clear(); audioTrack = 0; JSON::Value & vidCapa = capa["...
<commit_before>#include "configmanager.h" #include "common/logger/logger.h" using namespace std; string ConfigManager::defaultPath = ""; ConfigManager::ConfigManager() { QString path = QDir::currentPath(); path += "/config.xml"; defaultPath = path.toStdString(); } bool ConfigManager::load(std::string pa...
<commit_before>// Copyright (c) 2011, Google Inc. // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: // // * Redistributions of source code must retain the above copyright // notice, this ...
<commit_before>// v8 #include <v8.h> // node #include <node.h> #include <node_version.h> // node-mapnik #include "mapnik_vector_tile.hpp" #include "mapnik_map.hpp" #include "mapnik_color.hpp" #include "mapnik_geometry.hpp" #include "mapnik_feature.hpp" #include "mapnik_fonts.hpp" #include "mapnik_plugins.hpp" #includ...
<commit_before>/* * PrimeNumberFinder.cpp -- This file is part of primesieve * * Copyright (C) 2011 Kim Walisch, <kim.walisch@gmail.com> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, ...
<commit_before>#include <modelo/include/IEntidad.h> using namespace visualizador::modelo; // aplicacion #include <aplicacion/include/GestorIDs.h> IEntidad::IEntidad() : IReferenciable(), IAlmacenable(), IContieneJson(), IRelacionable(), esta_limpia(true) { } IEntidad::IEntidad(std::string etiqueta, std::...
<commit_before>// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. #include <vespa/fnet/frt/frt.h> #include <vespa/fastos/app.h> #include <sstream> #include <vespa/log/log.h> LOG_SETUP("vespa-ping-configproxy"); class PingProxy : public FastOS_Appl...
<commit_before>// Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include <string> #include <list> #include <windows.h> #include <commctrl.h> #include "base/command_line.h" #include "base/event_r...
<commit_before>// // This file is part of the Marble Virtual Globe. // // This program is free software licensed under the GNU LGPL. You can // find a copy of this license in LICENSE.txt in the top directory of // the source code. // // Copyright 2009 Andrew Manson <g.real.ate@gmail.com> // Copyright 2013 Thi...
<commit_before>/********************************************************************* * roverdomain.cpp * * Rover domain is a bounded stateful world with perfect visibility. Global * reward function determined as in <PAPER HERE> * * Copyright (C) 2016 Eric Klinkhammer * * This program is free software: you can ...
<commit_before>/************************************************************ * * main.cpp * */ /************************************************************ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 * OPEN TRANSACTIONS * * Financial Cryptography and Digital Cash * Library, P...
<commit_before><commit_msg>Updating picking function logic to v4.2.0-alpha.32<commit_after><|endoftext|>
<commit_before>// // Projectname: amos-ss16-proj5 // // Copyright (c) 2016 de.fau.cs.osr.amos2016.gruppe5 // // This file is part of the AMOS Project 2016 @ FAU // (Friedrich-Alexander University Erlangen-Nürnberg) // // This program is free software: you can redistribute it and/or modify // it under the terms of the G...
<commit_before>// The MIT License (MIT) // Copyright (c) 2016, Microsoft // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // t...
<commit_before>/** * @author andy * @copyright (c) 2016 andy. All rights reserved. */ #include "soundex/charutil.h" #include <string> namespace gherkin_demo { char CharUtil::lower(const char letter) { return std::tolower(static_cast<unsigned char>(letter)); } bool CharUtil::isVowel(const char letter) { stat...
<commit_before>/* Copyright (C) 2018 INRA * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the * "Software"), to deal in the Software without restriction, including * without limitation the rights to use, copy, modify, merge, pu...
<commit_before>/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* * This file is part of the LibreOffice project. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one ...
<commit_before>//===- lib/MC/MCContext.cpp - Machine Code Context ------------------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------...
<commit_before>#include "consolestream.h" #include <iostream> ConsoleStream::ConsoleStream(int which): _which(which) { if (which!=out&&which!=warning&&which!=error) { throw "error"; } } void ConsoleStream::print(short val) { switch(_which) { case out: std::cout << val; break...
<commit_before>/* * LexicalReordering.cpp * * Created on: 15 Dec 2015 * Author: hieu */ #include "LexicalReordering.h" #include "../System.h" #include "../Search/Manager.h" #include "../legacy/InputFileStream.h" using namespace std; namespace Moses2 { struct LexicalReorderingState : public FFState { co...
<commit_before>#ifndef STAN_LANG_GENERATOR_GENERATE_FUNCTION_ARGUMENTS_HPP #define STAN_LANG_GENERATOR_GENERATE_FUNCTION_ARGUMENTS_HPP #include <stan/lang/ast.hpp> #include <stan/lang/generator/constants.hpp> #include <stan/lang/generator/generate_arg_decl.hpp> #include <boost/lexical_cast.hpp> #include <ostream> #inc...
<commit_before>// // Created by Davide Caroselli on 27/09/16. // #include <algorithm> #include <boost/math/distributions/binomial.hpp> #include <suffixarray/SuffixArray.h> #include <util/hashutils.h> #include "PhraseTable.h" #include "UpdateManager.h" #include "TranslationOptionBuilder.h" using namespace mmt; using...
<commit_before>/* * Copyright (C) 2010, 2011, Gostai S.A.S. * * This software is provided "as is" without warranty of any kind, * either expressed or implied, including but not limited to the * implied warranties of fitness for a particular purpose. * * See the LICENSE file for more information. */ #include <a...
<commit_before>#ifndef WIN32 //===--- TerminalDisplayUnix.cpp - Output To UNIX Terminal ------*- C++ -*-===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------...
<commit_before>/* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * Written (W) 1999-2009 Soeren Sonnenburg * C...
<commit_before>// ========================================================================== // // This file is part of Sara, a basic set of libraries in C++ for computer // vision. // // Copyright (C) 2017 David Ok <david.ok8@gmail.com> // // This Source Code Form is subject to the terms of the Mozilla Public // Licen...
<commit_before>/** * Copyright (c) 2011-2014 libbitcoin developers (see AUTHORS) * * This file is part of libbitcoin-explorer. * * libbitcoin-explorer is free software: you can redistribute it and/or * modify it under the terms of the GNU Affero General Public License with * additional permissions to the one pub...
<commit_before><commit_msg>INTEGRATION: CWS visibility03 (1.11.66); FILE MERGED 2005/04/04 11:39:23 mhu 1.11.66.2: #i45006# Removed obsolete include. 2005/03/26 16:31:47 mhu 1.11.66.1: #i45006# subst includes svtools/sbx with basic/sbx<commit_after><|endoftext|>
<commit_before><commit_msg>Bitmap Tree Cleanup - calc<commit_after><|endoftext|>
<commit_before>/************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite * * This file is part of OpenOffice.o...
<commit_before>/* * Copyright (C) 2007-2013 German Aerospace Center (DLR/SC) * * Created: 2010-08-13 Markus Litz <Markus.Litz@dlr.de> * Changed: $Id$ * * Version: $Revision$ * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may...
<commit_before>#include "cantera/oneD/refine.h" #include "cantera/oneD/Domain1D.h" #include <algorithm> #include <limits> using namespace std; namespace Cantera { static void r_drawline() { string s(78,'#'); s += '\n'; writelog(s.c_str()); } Refiner::Refiner(Domain1D& domain) : m_ratio(10.0), m_slo...
<commit_before>#include "elm/layers/mlp.h" #include "elm/core/boost/translators/transl_str_cvtermcriteria.h" #include "elm/core/boost/translators/transl_str_veci.h" #include "elm/core/layerconfig.h" #include "elm/core/signal.h" #include "elm/ts/layerattr_.h" using namespace std; using namespace cv; using namespace el...
<commit_before>#ifndef OPERATOR_MAP_HPP #define OPERATOR_MAP_HPP #include <string> #include <vector> #include <unordered_map> #include <functional> #include "util.hpp" #include "object.hpp" #include "operator.hpp" typedef std::vector<std::string> OperandTypeList; // The types of the operands typedef std::vector<Obje...
<commit_before>/* * Copyright (C) 2004-2010 See the AUTHORS file for details. * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 as published * by the Free Software Foundation. */ #include "User.h" #include "Chan.h" #include ...