text
stringlengths
54
60.6k
<commit_before>//===----------------------------------------------------------------------===// // // PelotonDB // // manager.cpp // // Identification: src/backend/catalog/manager.cpp // // Copyright (c) 2015, Carnegie Mellon University Database Group // //===------------------------------------...
<commit_before>// @(#)root/meta:$Id: TGWin32InterpreterProxy.cxx 38517 2011-03-18 20:20:16Z pcanal $ // Author: Valeriy Onuchin 15/11/2003 /************************************************************************* * Copyright (C) 1995-2001, Rene Brun and Fons Rademakers. * * All rights reserved. ...
<commit_before>/* * Executor.cpp * * Created on: Oct 20, 2015 * Author: Péter Fankhauser * Institute: ETH Zurich, Autonomous Systems Lab */ #include "free_gait_core/executor/Executor.hpp" #include "free_gait_core/leg_motion/JointTrajectory.hpp" namespace free_gait { Executor::Executor(std::shared_ptr<S...
<commit_before>//===--- CommentDumper.cpp - Dumping implementation for Comment ASTs ------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------...
<commit_before>/* * Copyright (C) 2019 The Android Open Source Project * * 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 ...
<commit_before>#include <stdio.h> #include <stdlib.h> #include <readline/readline.h> #include <readline/history.h> #include <boost/algorithm/string/split.hpp> #include <boost/algorithm/string/classification.hpp> #include <iostream> #include <vector> #include <gflags/gflags.h> #include <glog/logging.h> #include <unistd...
<commit_before>#include "menu/menu.h" #include "menu/menu_option.h" #include "util/bitmap.h" #include "util/funcs.h" #include "util/keyboard.h" #include "util/sound.h" #include "util/token.h" #include "util/tokenreader.h" #include "globals.h" #include "init.h" #include "music.h" // Options :O #include "menu/option_adv...
<commit_before>// Copyright 2019 The Souper 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...
<commit_before>#include "messenger.h" <commit_msg>Removing last cpp file in src directory<commit_after><|endoftext|>
<commit_before>#include "LIBSN.H" #include <stdio.h> #include <assert.h> int fileHandle = 0; int PCinit() { assert(0); return 0; } int PCopen(char* name, int flags, int perms) { switch (flags) { case 0: fileHandle = (int)fopen(name, "rb"); break; case 1: fileHandle = (int)fopen(name, "wb"); break; ca...
<commit_before>// Natron // /* 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 at http://mozilla.org/MPL/2.0/. */ /* *Created by Alexandre GAUTHIER-FOICHAT on 6/1/2012. *contact: immarespond at gmail ...
<commit_before>#include "MarantzClient.h" MarantzClientClass MarantzClient; MarantzClientClass::MarantzClientClass() { _client = EthernetClient(); _client.setTimeout(500); } void MarantzClientClass::init(IPAddress address) { _address = address; } void MarantzClientClass::updateStatistics() { _receiv...
<commit_before>#include <MultiRegions/ExpList1d.h> #include <LibUtilities/Kernel/kernel.h> int main(int argc, char *argv[]) { int i,j,e; if (argc != 2) { fprintf(stderr,"Usage: Post-processor meshfile \n"); exit(1); } /************************* Mesh File ***********************/ // Read the mesh string fi...
<commit_before>//===-- TargetData.cpp - Data size & alignment routines --------------------==// // // The LLVM Compiler Infrastructure // // This file was developed by the LLVM research group and is distributed under // the University of Illinois Open Source License. See LICENSE.TXT for details. // ...
<commit_before>// // src/misc/flags.cc // tbd // // Created by inoahdev on 7/10/17. // Copyright © 2017 inoahdev. All rights reserved. // #include <cerrno> #include <cstdint> #include <cstdio> #include <cstdlib> #include <cstring> #include "flags.h" flags::flags(flags_integer_t length) : length(length) { c...
<commit_before>// Copyright 2015 The Shaderc 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 // // Unles...
<commit_before>/**************************************************************************** ** Meta object code from reading C++ file 'CQMainWindow.h' ** ** Created: Fri Sep 13 22:07:43 2013 ** by: The Qt Meta Object Compiler version 63 (Qt 4.8.1) ** ** WARNING! All changes made in this file will be lost! *******...
<commit_before>/******************************************************************************\ * File: filetool.cpp * Purpose: Implementation of filetool classes * Author: Anton van Wezenbeek * RCS-ID: $Id$ * * Copyright (c) 1998-2009 Anton van Wezenbeek * All rights are reserved. Reproduc...
<commit_before>/** @file abstractsensor_a.cpp @brief D-Bus adaptor base class for sensors <p> Copyright (C) 2009-2010 Nokia Corporation @author Semi Malinen <semi.malinen@nokia.com @author Joep van Gassel <joep.van.gassel@nokia.com> @author Timo Rongas <ext-timo.2.rongas@nokia.com> @author Ant...
<commit_before>// @(#)root/base:$Id$ // Author: Fons Rademakers 04/05/96 /************************************************************************* * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. * * All rights reserved. * * ...
<commit_before>#include "command.hh" #include "globals.hh" #include "eval.hh" #include "eval-inline.hh" #include "names.hh" #include "get-drvs.hh" #include "common-args.hh" #include "json.hh" #include "json-to-value.hh" #include "shared.hh" #include <regex> #include <fstream> using namespace nix; std::string wrap(st...
<commit_before>#include <ctime> #include <ncurses.h> #include <stdlib.h> //random #include <unistd.h> //getopt #include <iostream> //----------------------------------------[Global variables]---------------------------------------- int WIDTH, HEIGHT; //Set by ncurses int maxtemp; //maximum flame temperature i...
<commit_before>#include "mavlink_commands.h" #include "mavlink_system.h" #include <future> #include <memory> namespace dronecore { // TODO: Currently the mavlink command handling is made in a way to only // process one command at any time. Therefore, the work state is global // for this whole class. // ...
<commit_before>#include "helix/order_book.hh" #include <boost/version.hpp> #include <stdexcept> #include <limits> namespace helix { execution::execution(uint64_t price, side_type side, uint64_t remaining) : price{price} , side{side} , remaining{remaining} { } order_book::order_book(std::string symbol, u...
<commit_before>#include "geoJson.h" #include "platform.h" #include "data/propertyItem.h" #include "glm/glm.hpp" namespace Tangram { bool GeoJson::isFeatureCollection(const JsonValue& _in) { // A FeatureCollection must have a "type" of "FeatureCollection" // and a member named "features" that is an array. ...
<commit_before>// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab /* * Ceph - scalable distributed file system * * Copyright (C) 2004-2006 Sage Weil <sage@newdream.net> * * This is free software; you can redistribute it and/or * modify it under the terms of the GNU ...
<commit_before>/************************************* ** Tsunagari Tile Engine ** ** main.cpp ** ** Copyright 2016-2019 Paul Merrill ** *************************************/ // ********** // Permission is hereby granted, free of charge, to any person obtaining a copy // of this soft...
<commit_before>#ifndef GENERIC_FORWARDER_HPP # define GENERIC_FORWARDER_HPP # pragma once #include <cassert> // ::std::size_t #include <cstddef> #include <cstring> #include <functional> #include <type_traits> #include <utility> namespace generic { namespace detail { namespace forwarder { template <typename .....
<commit_before>#ifndef GNR_FORWARDER_HPP # define GNR_FORWARDER_HPP # pragma once #include <cassert> // std::size_t #include <cstddef> #include <functional> #include <type_traits> #include <utility> namespace gnr { namespace detail::forwarder { enum : std::size_t { default_size = 4 * sizeof(void*) }; template ...
<commit_before>#ifndef GENERIC_FORWARDER_HPP # define GENERIC_FORWARDER_HPP # pragma once #include <cassert> // ::std::size_t #include <cstddef> #include <cstring> #include <functional> #include <type_traits> #include <utility> namespace generic { namespace detail { namespace forwarder { template <typename .....
<commit_before>#include <rbutil/conf/cmd/command_line.hpp> #include <pito/interceptor/application.hpp> #include <pito/config.hpp> #include <iostream> #define PITO_PROGRAM_VERSION "0.9.1" namespace pito { namespace jail = interceptor::jail; namespace cmd_line = rb::util::conf::cmd; using rb::util::conf::value; bool...
<commit_before>/****************************************************************************** * Copyright (C) 2018 Kitsune Ral <kitsune-ral@users.sf.net> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Sof...
<commit_before>/* -*- mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*- */ // vim: ft=cpp:expandtab:ts=8:sw=4:softtabstop=4: #ident "$Id$" #ident "Copyright (c) 2011 Tokutek Inc. All rights reserved." #ident "The technology is licensed by the Massachusetts Institute of Technology, Rutgers State University of New...
<commit_before>//WinAPI #include <windows.h> #include <psapi.h> #include <tlhelp32.h> //Qt #include <QtCore> //Project #include "functions.h" bool isSubPath(const QString &dir, const QString &path) { if ( dir.isEmpty() ) return false; QString nativeDir = QDir::toNativeSeparators(dir); QString native...
<commit_before>#pragma once namespace oh { namespace math { template<typename T> T min(T a, T b) { return a < b ? a : b; } template<typename T> T max(T a, T b) { return a > b ? a : b; } }} // ~~ oh::math:: <commit_msg>Adding method for testing floating-point value equality.<commit_after>#pragma once #include...
<commit_before>// Copyright (c) 2019 ASMlover. 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 o...
<commit_before>#include "stdafx.h" struct WaterVert { Vec3 pos; Vec3 normal; }; struct WaterRipple { WaterRipple() { generatedTime = -10000; } double generatedTime; Vec2 centerPos; }; struct WaterSurfaceClassicUBO { Mat matW, matV, matP; float time; float padding[3]; }; class Wat...
<commit_before>#include <iostream> #include <cstdio> #include <stdlib.h> #include <cstring> #include <cctype> using namespace std; enum direction{ UP, DOWN, LEFT, RIGHT, UP_LEFT, UP_RIGHT, DOWN_LEFT, DOWN_RIGHT }; struct point{int i,k;}; //Declare a point structure that represents a point on the grid class G...
<commit_before>#include "common.h" #define GL_GLEXT_PROTOTYPES #include "GLES/gl.h" #include "GLES2/gl2.h" #include <cstdlib> // EXIT_SUCCESS, etc #include <cstdint> // uint8_t, etc #include <iostream> #include <fstream> #include <sstream> #include <vector> #include "lodepng.h" #include "json.hpp" using json = nl...
<commit_before>/* CUDA device function execution * * Copyright (C) 2007 Peter Colberg * * This file is part of HALMD. * * HALMD 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 ...
<commit_before>/************************************************************************** * * Copyright 2010 VMware, Inc. * All Rights Reserved. * * 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 t...
<commit_before>#include "resources.h" #include <SFML/System.hpp> #ifdef _MSC_VER #define WIN32_LEAN_AND_MEAN #include <windows.h> #else #include <dirent.h> #endif #include <cstdio> #include <filesystem> PVector<ResourceProvider> resourceProviders; ResourceProvider::ResourceProvider() { resourceProviders.push_bac...
<commit_before>#pragma ident "$Id$" //============================================================================ // // This file is part of GPSTk, the GPS Toolkit. // // The GPSTk is free software; you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published //...
<commit_before>#include "scheduler.h" #include "thread_state.h" #include "util.h" #include <future> #include <thread> #include <chrono> #include <cassert> using std::future; using std::unique_lock; using std::mutex; using std::make_shared; class LocalThreadScheduler : public Scheduler { public: LocalThreadSchedule...
<commit_before>/* * Copyright (C) 2006, Red Hat, Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2 of the License, or (at your option) any later version. * ...
<commit_before>/* Kopete Utils. Copyright (c) 2005 Duncan Mac-Vicar Prett <duncan@kde.org> isHostReachable function code derived from KDE's HTTP kioslave Copyright (c) 2005 Waldo Bastian <bastian@kde.org> Kopete (c) 2002-2003 by the Kopete developers <kopete-devel@kde.org> *********...
<commit_before>#include "Arduino.h" #include "Motor.h" /************************************************ * Implementacao da interface Motor.hpp * *************************************************/ /******************************************** * Metodo construtor do objeto Motor * * Ja e i...
<commit_before>/* Dynamics/Kinematics modeling and simulation library. Copyright (C) 1999 by Michael Alexander Ewert 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...
<commit_before>/* Dynamics/Kinematics modeling and simulation library. Copyright (C) 1999 by Michael Alexander Ewert and Noah Gibbs 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 Fou...
<commit_before>#pragma once #include "util.cpp" /* struct Cluster { int rx, cy, id; vector<pair<int, int>> cells; }; struct Balloon { int id, cluster_id; vector<int> r, c, h; }; struct Input { int r, c, a, l, v, b, t, rs, cs; vector<Cluster> clusters; vector<Ballon> balloon; vector<int> cell_x; vector<int> ...
<commit_before>#pragma once #include "util.cpp" #include <set> #include <cmath> struct Coord { int r, c, h; }; bool operator < (const Coord &a, const Coord &b) { if (a.r != b.r) return a.r < b.r; else if (a.c != b.c) return a.c < b.c; else return a.h < b.h; } double compute_distance(double r1, double c1, d...
<commit_before>#include <renderer.h> #include <rasterizer.h> #include <s1516.h> #include <stdio.h> #define FLYTHROUGH_CAMERA_IMPLEMENTATION #include <flythrough_camera.h> #include <Windows.h> #include <DirectXMath.h> #include <GL/gl.h> #include <imgui.h> #include <imgui_impl_win32_gl.h> #pragma comment(lib, "OpenG...
<commit_before>#include <string.h> #include "I2PEndian.h" #include "Log.h" #include "RouterContext.h" #include "I2NPProtocol.h" #include "Tunnel.h" #include "Transports.h" #include "TransitTunnel.h" namespace i2p { namespace tunnel { TransitTunnel::TransitTunnel (uint32_t receiveTunnelID, const uint8_t * nextI...
<commit_before>#include <immintrin.h> #include "Distance.hpp" namespace cctag { namespace numerical { // Compute (point-polar) distance between a point and an ellipse represented by its 3x3 matrix. // TODO@lilian: f is always equal to 1, remove it // NOTE: Q IS SYMMTERIC!; Eigen stores matrices column-wise by default...
<commit_before>#include <chrono> #include <cmath> #include <iostream> #include <vector> #include "model.hpp" #include "CartesianGrid.hpp" #include "Observer.hpp" #include "Photon.hpp" #include "Random.hpp" #include "Directions.hpp" #include "IDust.hpp" #include "Sources.hpp" int run(int argc, char *argv[]) { auto...
<commit_before>/* cdbg_unitig_reporter.hh -- async reporters * * Copyright (C) 2018 Camille Scott * All rights reserved. * * This software may be modified and distributed under the terms * of the MIT license. See the LICENSE file for details. */ #ifndef BOINK_CDBG_UNITIG_REPORTER_HH #define BOINK_CDBG_UNITIG_R...
<commit_before>//====================================================================== //----------------------------------------------------------------------- /** * @file iutest_genparams_from_file.hpp * @brief iris unit test parameter generator from file * * @author t.shirayanagi * @p...
<commit_before>// Copyright (c) 2019 Dr. Colin Hirsch and Daniel Frey // Please see LICENSE for license or visit https://github.com/taocpp/PEGTL/ #ifndef TAO_PEGTL_CONTRIB_PARSE_TREE_TO_DOT_HPP #define TAO_PEGTL_CONTRIB_PARSE_TREE_TO_DOT_HPP #include <cassert> #include <ostream> #include <string> #include "parse_tre...
<commit_before>#include <iostream> #include <string> #include "PresentDistribution.hpp" void run_part_one() { unsigned long presents = 0; unsigned long house = 1; do { house++; presents = presents_in_house(house); } while (presents < 34000000); std::cout << house << std::endl; } vo...
<commit_before>/* // Copyright (c) 2015 Pierre Guillot. // For information on usage and redistribution, and for a DISCLAIMER OF ALL // WARRANTIES, see the file, "LICENSE.txt," in this distribution. */ #include "xpd_instance.hpp" #include "xpd_patch.hpp" extern "C" { #include "../cpd/cpd.h" } namespace xpd { clas...
<commit_before>#include <iostream> #include <cstdlib> using namespace std; class CMyString { public: CMyString(char *pData = NULL); CMyString(const CMyString &str); ~CMyString(void); private: char *m_pData; };<commit_msg>Assignment Operators<commit_after>#include <iostream> #include <cstdlib> using namespace std...
<commit_before>#pragma once #if defined(__arm__) # define __NR_inotify_rm_watch 318 #elif defined(__x86_64__) # define __NR_inotify_rm_watch 255 #else # error #endif #error <commit_msg>inotify_rm_watch: not needed (yet)<commit_after><|endoftext|>
<commit_before>#include <iostream> #include <stdio.h> #include <string> #include <vector> #include <stdlib.h> #include "Args.hpp" using namespace std; static void Usage(void) { cout << "Usage : test [option list] [camera # | video name]" << endl << endl; cout << " Camera number is an integer corresponding to /...
<commit_before>/*========================================================================= Program: ORFEO Toolbox Language: C++ Date: $Date$ Version: $Revision$ Copyright (c) Centre National d'Etudes Spatiales. All rights reserved. See OTBCopyright.txt for details. This software is distr...
<commit_before>/*********************************************************************** filename: CEGUIPCRERegexMatcher.cpp created: Mon Jul 27 2009 author: Paul D Turner <paul@cegui.org.uk> *************************************************************************/ /********************************...
<commit_before>// // Expression.cpp // Calculator // // Created by Gavin Scheele on 3/27/14. // Copyright (c) 2014 Gavin Scheele. All rights reserved. // #include "Expression.h" Expression::Expression(){ } Expression::~Expression(){ } bool Expression::canAdd(Expression* b){ //use "this" as comparison. Sol...
<commit_before><commit_msg>Renamed Conditional to If<commit_after><|endoftext|>
<commit_before>#pragma once #include <boost/mpl/for_each.hpp> #include <boost/mpl/at.hpp> #include <boost/mpl/empty.hpp> #include <boost/static_assert.hpp> #include <boost/type_traits/add_pointer.hpp> #include <boost/shared_ptr.hpp> namespace metaSMT { namespace mpl = boost::mpl; template<typename Vec, template...
<commit_before>/* * mpu6050_node.cpp * Copyright (c) 2017, Robot Mitya. * 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 cop...
<commit_before>/* * mpu6050_node.cpp * Copyright (c) 2017, Robot Mitya. * 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 cop...
<commit_before>#include "tool_picker.h" using namespace std; using namespace baxter_core_msgs; ToolPicker::ToolPicker(std::string _name, std::string _limb, bool _no_robot) : HoldCtrl(_name,_limb, _no_robot), CartesianEstimatorClient(_name, _limb), elap_time(0) { setHo...
<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>/* -*-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 * inc...
<commit_before>//===- Driver.cpp ---------------------------------------------------------===// // // The LLVM Linker // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------...
<commit_before>/*========================================================================= Program: Visualization Toolkit Module: vtkLight.hh Language: C++ Date: $Date$ Version: $Revision$ Copyright (c) 1993-1995 Ken Martin, Will Schroeder, Bill Lorensen. This software is copyrighted by Ken M...
<commit_before>/* * Copyright (C) 2015 Nagisa Sekiguchi * * 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 applicab...
<commit_before>#include "platform.hpp" #include "../base/logging.hpp" #include <stdlib.h> #include <unistd.h> #include <sys/stat.h> //static bool GetUserWritableDir(string & outDir) //{ // char * path = ::getenv("HOME"); // if (path) // { // outDir = path; // outDir += "/.MapsWithMe/"; // ::mkdir(outDir....
<commit_before>/*************************************************************** * * Copyright (C) 1990-2007, Condor Team, Computer Sciences Department, * University of Wisconsin-Madison, WI. * * Licensed under the Apache License, Version 2.0 (the "License"); you * may not use this file except in compliance with ...
<commit_before>// Load transforms and build RGB volumes from images #include "itkRGBPixel.h" #include "itkVectorResampleImageFilter.h" // my files #include "Stack.hpp" #include "RegistrationBuilder.hpp" #include "StackAligner.hpp" #include "StackIOHelpers.hpp" #include "IOHelpers.hpp" #include "StackTransforms.hpp" #...
<commit_before>/*! * This file is part of CameraPlus. * * Copyright (C) 2012-2013 Mohammed Sameer <msameer@foolab.org> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * v...
<commit_before>// // libavg - Media Playback Engine. // Copyright (C) 2003-2014 Ulrich von Zadow // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 2 of the Li...
<commit_before>/* * Copyright (c) 2015 The WebRTC project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS....
<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. // Software adjust volume of samples, allows each audio stream its own // volume without impacting master volume for chrome and other a...
<commit_before>/* ----------------------------------------------------------------------------- This source file is part of OGRE (Object-oriented Graphics Rendering Engine) For the latest info, see http://www.ogre3d.org/ Copyright (c) 2000-2013 Torus Knot Software Ltd Permission is hereby granted, free of charge,...
<commit_before>#include <cassert> #include <cmath> #include <vector> #include "Player.h" #include "EntityType.h" #include "GenderName.h" #include "../Game/Game.h" #include "../Game/GameData.h" #include "../Items/WeaponType.h" #include "../Math/Constants.h" #include "../Utilities/String.h" #include "../World/VoxelData...
<commit_before>/***************************************************************************** * * This file is part of Mapnik (c++ mapping toolkit) * * Copyright (C) 2015 Artem Pavlenko * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public ...
<commit_before>/* -------------------------------------------------------------------------- */ /* Copyright 2002-2018, OpenNebula Project, OpenNebula Systems */ /* */ /* Licensed under the Apache License, Version 2.0 (the "Licens...
<commit_before>#include <stdio.h> #include <iostream> // std::cout #include <fstream> // std::ifstream #include <cstdlib> #include <cstring> #include <string> #include <sstream> #include <vector> #include <sys/types.h> #include <dirent.h> #include <cstdarg> #include "omp.h" using namespace std; int const NUM...
<commit_before>/* RTcmix - Copyright (C) 2004 The RTcmix Development Team See ``AUTHORS'' for a list of contributors. See ``LICENSE'' for the license to this software and for a DISCLAIMER OF ALL WARRANTIES. */ #include <RTcmixMIDI.h> #include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <string.h> ...
<commit_before>#include "FilteredVolumeParamSet.h" #include "Rendering/Volume.h" #include "GPGPU/VolumeToVolumeFilter.h" #include <cassert> #include <iostream> namespace NQVTK { // ------------------------------------------------------------------------ FilteredVolumeParamSet::FilteredVolumeParamSet( ...
<commit_before>/* This file is part of Kontact. Copyright (c) 2003 Kontact Developer 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 2 of the License, or (at yo...
<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) 2014 Digia Plc and/or its subsidiary(-ies). ** Contact: http://www.qt-project.org/legal ** ** This file is part of Qt Creator. ** ** Commercial License Usage ** Licensees holding valid commercial Qt licenses...
<commit_before>// ////////////////////////////////////////////////////////////////////// // Import section // ////////////////////////////////////////////////////////////////////// // STL #include <cassert> // Boost #include <boost/date_time/date_iterator.hpp> // StdAir #include <stdair/stdair_basic_types.hpp> #include...
<commit_before>/// /// @file ParallelPrimeSieve.cpp /// @brief Sieve primes in parallel using OpenMP. /// /// Copyright (C) 2016 Kim Walisch, <kim.walisch@gmail.com> /// /// This file is distributed under the BSD License. See the COPYING /// file in the top level directory. /// #include <primesieve/config.hpp> #inc...
<commit_before>//===--- ScheduleDAGSDNodes.cpp - Implement the ScheduleDAGSDNodes class --===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------...
<commit_before>/** * This file is part of the "libfnord" project * Copyright (c) 2015 Paul Asmuth * * FnordMetric is free software: you can redistribute it and/or modify it under * the terms of the GNU General Public License v3.0. You should have received a * copy of the GNU General Public License along with th...
<commit_before>#include <stdarg.h> #include <stddef.h> #include <setjmp.h> #include <cmocka.h> #include "ui/ui_dock.h" #include "ui/ui_dock_private.h" #include "core/math.h" #include "api/plugin_instance.h" ////////////////////////////////////////////////////////////////////////////////////////////////////////////////...
<commit_before>/* * Copyright 2012-2013 BrewPi/Elco Jacobs. * * This file is part of BrewPi. * * BrewPi 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 o...
<commit_before>#include "task_mnist.h" #include "common/logger.h" #include "common/math.hpp" #include "common/cast.hpp" #include "loss.h" #include <fstream> namespace ncv { mnist_task_t::mnist_task_t(const string_t& configuration) : task_t(configuration) { } bool ...