text
stringlengths
54
60.6k
<commit_before>// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. #include "platform/assert.h" #include "platform/utils.h" #include "vm/unit_test.h" name...
<commit_before>#ifndef RADIUMENGINE_TRIANGLEMESH_HPP #define RADIUMENGINE_TRIANGLEMESH_HPP #include <Core/RaCore.hpp> #include <Core/Math/LinearAlgebra.hpp> #include <Core/Containers/VectorArray.hpp> #include <Core/Mesh/MeshTypes.hpp> namespace Ra { namespace Core { /// A very basic struct...
<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: macro.hxx,v $ * $Revision: 1.14 ...
<commit_before>/* -*- mode: c++; c-default-style: "google"; indent-tabs-mode: nil -*- */ /* Authors: Ethan Coon ([email protected]) */ #include "MatrixMFD.hh" #include "MatrixMFD_Factory.hh" #include "Function.hh" #include "FunctionFactory.hh" #include "implicit_snow_distribution_evaluator.hh" namespace Amanzi { na...
<commit_before>#include <cstdio> // sscanf #include <cstdint> #include <iostream> #include <fstream> #include <map> #include <string> #include <sstream> #include <vector> extern "C" { #include "../../src/ASSInspector.h" } struct DialogLine { int time; std::string line; }; class ScriptWrapper { std::string heade...
<commit_before>#include "ModuleAssimp.h" #include "Globals.h" #include "Application.h" #include "ModuleGui.h" #include "Module.h" #include"Imgui/imgui_impl_sdl.h" #include"Imgui\imgui_impl_sdl_gl3.h" #include"Imgui/imgui.h" #include"ModuleSceneIntro.h" ModuleAssimp::ModuleAssimp(bool start_enabled) : Module(start_en...
<commit_before>/************************************************************************** * * Copyright 2011 Jose Fonseca * 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 (t...
<commit_before>#include "perf_precomp.hpp" #ifdef HAVE_TBB #include "tbb/task_scheduler_init.h" #endif using namespace std; using namespace cv; using namespace perf; using std::tr1::make_tuple; using std::tr1::get; CV_ENUM(pnpAlgo, SOLVEPNP_ITERATIVE, SOLVEPNP_EPNP, SOLVEPNP_P3P, SOLVEPNP_DLS, SOLVEPNP_UPNP) typede...
<commit_before>#include "perf_precomp.hpp" #ifdef HAVE_TBB #include "tbb/task_scheduler_init.h" #endif using namespace std; using namespace cv; using namespace perf; using std::tr1::make_tuple; using std::tr1::get; CV_ENUM(pnpAlgo, SOLVEPNP_ITERATIVE, SOLVEPNP_EPNP, SOLVEPNP_P3P, SOLVEPNP_DLS, SOLVEPNP_UPNP) typede...
<commit_before>/**************************************************************************** ** ** Copyright (C) 2012 - 2014 Jolla Ltd. ** Contact: http://jolla.com/ ** ** This file is part of Qt Creator. ** ** GNU Lesser General Public License Usage ** Alternatively, this file may be used under the terms of the GNU Le...
<commit_before>#include "perf_precomp.hpp" #ifdef HAVE_TBB #include "tbb/task_scheduler_init.h" #endif using namespace std; using namespace cv; using namespace perf; using std::tr1::make_tuple; using std::tr1::get; CV_ENUM(pnpAlgo, SOLVEPNP_ITERATIVE, SOLVEPNP_EPNP, SOLVEPNP_P3P, SOLVEPNP_DLS, SOLVEPNP_UPNP) typede...
<commit_before>#include "FloatEditor.hpp" #include <exception> using namespace GUI; FloatEditor::FloatEditor(Widget* parent, Font* font) : TextField(parent, font) { variable = nullptr; } void FloatEditor::SetFloat(float* variable) { this->variable = variable; SetText(std::to_string(*variable)); } ...
<commit_before>#pragma once #include "KEngine/Interface/IEventManagerImpl.hpp" #include <deque> #include <unordered_map> #include <vector> namespace ke::priv { class EventManagerImpl : public ke::priv::IEventManagerImpl { public: virtual ~EventManagerImpl(); virtual bool registerLis...
<commit_before>/* * Copyright (c) 2014 David Wicks, sansumbrella.com * 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 *...
<commit_before>#include "PendingOperation.hpp" #include <QLoggingCategory> namespace Telegram { PendingOperation::PendingOperation(QObject *parent) : QObject(parent), m_finished(false), m_succeeded(true) { } bool PendingOperation::isFinished() const { return m_finished; } bool PendingOperation::isS...
<commit_before>#include <Arduino.h> #include <MD5Builder.h> uint8_t hex_char_to_byte(uint8_t c){ return (c >= 'a' && c <= 'f') ? (c - ((uint8_t)'a' - 0xa)) : (c >= 'A' && c <= 'F') ? (c - ((uint8_t)'A' - 0xA)) : (c >= '0' && c<= '9') ? (c - (uint8_t)'0') : 0; } void MD5Builder::begin(voi...
<commit_before>#include <ecl/map.hpp> #include <iostream> #include <cstdlib> #include <string> #include <ostream> enum class E { e1 , e2 , e3 , e4 , e5 , e6 , e7 , e8 , e9 , e10 }; std::ostream& operator<<(std::ostream& s, E e) { switch(e) { case E::e1 : s <<...
<commit_before>#include <cstddef> #include <cstdlib> #include <hls_video.h> #include "Accel.h" #include "AccelSchedule.h" #include "AccelTest.h" #include "Dense.h" #include "ZipIO.h" #include "ParamIO.h" #include "DataIO.h" #include "Timer.h" int main(int argc, char** argv) { if (argc < 2) { printf ("Give numbe...
<commit_before>/** \file restart_zts * \brief Restart the docker container with the Zotero Translation Server * \author Johannes Riedl */ /* Copyright (C) 2020, Library of the University of Tübingen This program is free software: you can redistribute it and/or modify it under the terms of the G...
<commit_before>/****************************************************************/ /* DO NOT MODIFY THIS HEADER */ /* MOOSE - Multiphysics Object Oriented Simulation Environment */ /* */ /* (c) 2010 Battelle Energy...
<commit_before>/** \brief Utility for deleting partial or entire MARC records based on an input list. * \author Dr. Johannes Ruscheinski ([email protected]) * * \copyright 2015-2019 Universitätsbibliothek Tübingen. All rights reserved. * * This program is free software: you can redistribute...
<commit_before>#include <pybind11/pybind11.h> #include <pybind11/stl.h> // for conversions between c++ and python collections #include <pybind11/numpy.h> // support for numpy arrays #include "trajectory.h" #include "raster.h" #include "planning.h" namespace py = pybind11; /** Converts a numpy array to a vector */ te...
<commit_before>/** \brief Utility for replacing generating up-to-date authority MARC collections. * \author Dr. Johannes Ruscheinski ([email protected]) * * \copyright 2017 Universitätsbiblothek Tübingen. All rights reserved. * * This program is free software: you can redistribute it and/or...
<commit_before>// $Id$ /*********************************************************************** Moses - factored phrase-based language decoder Copyright (C) 2006 University of Edinburgh This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as...
<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 "native_client/src/shared/ppapi_proxy/browser_ppp_input_event.h" #include "native_client/src/include/nacl_scoped_ptr.h" #incl...
<commit_before>/* * Copyright 2014 National ICT Australia Limited (NICTA) * * 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 * * Un...
<commit_before>// // Name: canvas.cpp // Purpose: Implements the canvas class for a wxWindows application. // // Copyright (c) 2001 Virtual Terrain Project // Free for all uses, see license.txt for details. // // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" #ifndef WX_PRECOMP #...
<commit_before>#include "MaximumProductSubarray.hpp" #include <algorithm> using namespace std; int MaximumProductSubarray::maxProduct(vector<int> &nums) { int n = nums.size(); if (n == 0) return 0; vector<int> a(n, 0); vector<int> b(n, 0); a[0] = b[0] = nums[0]; for (int i = 1; i <...
<commit_before>#include <Spirit_Defines.h> #include <engine/Method_EMA.hpp> #include <engine/Vectormath.hpp> #include <data/Spin_System.hpp> #include <io/IO.hpp> #include <utility/Logging.hpp> #include <fmt/format.h> #include <Eigen/Dense> #include <iostream> #include <fstream> #include <thread> #include <chrono> usi...
<commit_before>/** * Clever programming language * Copyright (c) Clever Team * * This file is distributed under the MIT license. See LICENSE for details. */ #include "core/clever.h" #include "modules/std/core/function.h" #include "modules/std/reflection/reflect.h" #include "modules/std/core/array.h" #include "mod...
<commit_before><commit_msg>[Part] AppPartPy.cpp Python 3.9 Unicode warning fixes.<commit_after><|endoftext|>
<commit_before>/* * superviseddescent: A C++11 implementation of the supervised descent * optimisation method * File: examples/rcr/helpers.hpp * * Copyright 2015 Patrik Huber * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance w...
<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>/* Copyright 2020 The TensorFlow Authors. All Rights Reserved. Copyright 2022 The StableHLO Authors. 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/lice...
<commit_before>// ------------------------------------------------------------------ // pion-net: a C++ framework for building lightweight HTTP interfaces // ------------------------------------------------------------------ // Copyright (C) 2007-2008 Atomic Labs, Inc. (http://www.atomiclabs.com) // // Distributed und...
<commit_before> #include "Globals.h" // NOTE: MSVC stupidness requires this to be the same across all modules #include "Authenticator.h" #include "../OSSupport/BlockingTCPLink.h" #include "../Root.h" #include "../Server.h" #include "../ClientHandle.h" #include "inifile/iniFile.h" #include "json/json.h" #include "po...
<commit_before>#include "fdsb/test.hpp" #include "fdsb/nid.hpp" #include "fdsb/harc.hpp" #include "fdsb/fabric.hpp" using namespace fdsb; void test_fabric_addget() { Harc h1(1_n,2_n); add(h1); get(1_n,2_n) = 47_n; add(3_n,4_n); get(3_n,4_n) = 56_n; CHECK(get(1_n,2_n) == 47_n); CHECK(get(3_n,4_n) == 56_n); DON...
<commit_before><commit_msg>Ensures that writes are at least one byte, matching the libevent version. As discussed in http://codereview.chromium.org/55014 .<commit_after><|endoftext|>
<commit_before>/* -*- mode: c++; c-default-style: "google"; indent-tabs-mode: nil -*- */ /* Bioturbation via diffusion Authors: Ethan Coon ([email protected]) */ #include "Epetra_SerialDenseVector.h" #include "bioturbation_evaluator.hh" namespace Amanzi { namespace BGC { namespace BGCRelations { BioturbationEva...
<commit_before>/**************************************************************************** ** ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). ** All rights reserved. ** Contact: Nokia Corporation ([email protected]) ** ** This file is part of the QtSparql module (not yet part of the Qt Toolkit...
<commit_before>// ============================================================================= // // Copyright (c) 2013 Christopher Baker <http://christopherbaker.net> // 2014 Brannon Dorsey <http://brannondorsey.com> // // Permission is hereby granted, free of charge, to any person obtaining a copy // o...
<commit_before>/* * VariableList.cc * * Copyright (C) 2009, 2014, 2015 Linas Vepstas * * Author: Linas Vepstas <[email protected]> January 2009 * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License v3 as * published by the F...
<commit_before>#include "ncd_gateway.h" #include "S3B.h" #include "spark_wiring_eeprom.h" String firmware_version = "000029"; S3B sModule; String eventReturns[5]; unsigned long tOut = 3000; void init_gateway(){ Particle.function("deviceComm", gatewayCommand); Particle.subscribe("ncd_deviceCom", commandHandler...
<commit_before>/* nsjail - logging ----------------------------------------- Copyright 2014 Google Inc. 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 ...
<commit_before> /*=================================================================== The Medical Imaging Interaction Toolkit (MITK) Copyright (c) German Cancer Research Center, Division of Medical and Biological Informatics. All rights reserved. This software is distributed WITHOUT ANY WARRANTY; without even the im...
<commit_before><commit_msg>Prevent duplicate issued orders log output on listen servers.<commit_after><|endoftext|>
<commit_before>#include "visgraph.hpp" #include "../utils/utils.hpp" #include <cstring> #include <cstdio> #include <cerrno> static unsigned int Npolys = 500; static unsigned int Maxverts = 8; static double Minrad = 0.05; static double Maxrad = 0.075; static const char *outfile; static void randpolys(std::vector<Polyg...
<commit_before>// Copyright (c) 2009, 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>/*************************************************************************** * main.cpp * copyright (C)2003 by Sebastian Sauer ([email protected]) * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as published by th...
<commit_before>/* Copyright 2012 Brain Research Institute, Melbourne, Australia Written by David Raffelt, 17/02/2012. This file is part of MRtrix. MRtrix 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 Softw...
<commit_before>#include "update_dialog.hpp" #include "info_dialog.hpp" #include "../platform/settings.hpp" #include "../base/assert.hpp" #include "../std/bind.hpp" #include <QtGui/QVBoxLayout> #include <QtGui/QHBoxLayout> #include <QtGui/QLabel> #include <QtGui/QPushButton> #include <QtGui/QTreeWidget> #include <Qt...
<commit_before>// This file is a part of the IncludeOS unikernel - www.includeos.org // // Copyright 2015 Oslo and Akershus University College of Applied Sciences // and Alfred Bratterud // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the Lice...
<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 "base/command_line.h" #include "base/file_path.h" #include "base/file_util.h" #include "base/utf_string_conversions.h" #includ...
<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/chrome_report_unrecoverable_error.h" #include "base/debug/dump_without_crashing.h" #include "base/r...
<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/ui/views/crypto_module_password_dialog_view.h" #include "base/basictypes.h" #include "base/bind.h" #include "...
<commit_before>#include "math/Polygon.h" #include "math/mathdef.h" using fei::Polygon; int fei::Polygon::getDataSize() const { return _data.size(); } const float* Polygon::getDataPtr() const { if (!_data.empty()) { return &_data[0].x; } return nullptr; } float Polygon::getArea() const { float area = 0.0f; ...
<commit_before>/************************************************************************* * * $RCSfile: fontsubs.hxx,v $ * * $Revision: 1.3 $ * * last change: $Author: kz $ $Date: 2005-01-21 16:35:55 $ * * The Contents of this file are made available subject to the terms of * either of the following licen...
<commit_before>#include "videotargetfactory.h" #ifdef USE_OPENCV #include "opencv_video_target.h" #endif #ifdef USE_FFMPEG #include "ffmpeg_video_target.h" #endif namespace gg { VideoTargetFactory::VideoTargetFactory() { // nop } VideoTargetFactory::~VideoTargetFactory() { // nop } VideoTargetFactory & Vide...
<commit_before>/************************************************************************* * * $RCSfile: SpellDialog.hxx,v $ * * $Revision: 1.3 $ * * last change: $Author: vg $ $Date: 2005-03-23 11:04:30 $ * * The Contents of this file are made available subject to the terms of * either of the following li...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: svdhlpln.cxx,v $ * * $Revision: 1.13 $ * * last change: $Author: obo $ $Date: 2006-10-12 13:10:10 $ * * The Contents of this file are mad...
<commit_before>#include "output_test.h" #include "../src/check.h" // NOTE: check.h is for internal use only! #include "../src/re.h" // NOTE: re.h is for internal use only #include <memory> #include <map> #include <iostream> #include <sstream> // ========================================================================...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: svdotxln.cxx,v $ * * $Revision: 1.16 $ * * last change: $Author: hr $ $Date: 2007-06-27 19:09:30 $ * * The Contents of this file are made...
<commit_before>/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a ...
<commit_before>#include "quickstarter.hxx" #include <psapi.h> #include <tlhelp32.h> #include <malloc.h> std::string GetOfficeInstallationPath(MSIHANDLE handle) { std::string progpath; DWORD sz = 0; LPTSTR dummy = TEXT(""); if (MsiGetProperty(handle, TEXT("OfficeFolder"), dummy, &sz) == ERROR_MORE_DATA...
<commit_before>#include "FBVLC_Win.h" //////////////////////////////////////////////////////////////////////////////// //FBVLC_Win class //////////////////////////////////////////////////////////////////////////////// FBVLC_Win::FBVLC_Win() :m_hBgBrush( NULL ) { vlc_player_options& o = get_options(); COLO...
<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/extensions/extension_special_storage_policy.h" #include "base/bind.h" #include "base/logging.h" #include "chr...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: edglss.cxx,v $ * * $Revision: 1.11 $ * * last change: $Author: hr $ $Date: 2006-08-14 16:08:56 $ * * The Contents of this file are made a...
<commit_before>#include <stdio.h> #include <fcntl.h> #include <assert.h> #include <time.h> #include <sys/time.h> #include <sys/shm.h> #include <stdlib.h> #include <string.h> #include <termios.h> #include "tangram.h" #include "platform.h" #include "gl.h" #include "util/shaderProgram.h" #include "util/vertexLayout.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 <vector> #include "testing/gtest/include/gtest/gtest.h" #include "base/ref_counted.h" #include "base/string16.h" #include "b...
<commit_before>/* Copyright 2019 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 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/autofill/autofill_popup_view_views.h" #include "chrome/browser/ui/autofill/autofill_popup_controller...
<commit_before>#pragma once #include "Constants.hpp" #include "Geometry2d/Point.hpp" #include "time.hpp" #include <cmath> #include <deque> #include <QString> #include <stdexcept> #include <stdint.h> #include <sys/time.h> #include <typeinfo> #include <vector> const static bool THROW_DEBUG_EXCEPTIONS = true; static i...
<commit_before> #include <iostream> #include "SDL2/SDL.h" #include "sdl/error.h" #include "sdl/window.h" #include "sdl/renderer.h" #include "sdl/texture.h" #include "sdl/sdl_init.h" #include "sdl/color.h" #include "sdl/timer.h" #include "phys/system.h" #include "phys/basic_material.h" #include "phys/detector.h" #inc...
<commit_before>#ifndef CLIENT_HTTPS_HPP #define CLIENT_HTTPS_HPP #include "client_http.hpp" #include <boost/asio/ssl.hpp> namespace SimpleWeb { typedef boost::asio::ssl::stream<boost::asio::ip::tcp::socket> HTTPS; template<> class Client<HTTPS> : public ClientBase<HTTPS> { public: Client(...
<commit_before>#include <iostream> #include <algorithm> #include <vector> #include <cmath> #include <ctime> #include <opencv2/core/core.hpp> #include <opencv2/highgui/highgui.hpp> #include "gaussian.h" #define BLUR_RADIUS 3 #define PATHS_PER_SCAN 4 #define MAX_SHORT std::numeric_limits<unsigned short>::max() #define...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: w1par.cxx,v $ * * $Revision: 1.7 $ * * last change: $Author: obo $ $Date: 2006-09-16 22:19:35 $ * * The Contents of this file are made av...
<commit_before>/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a ...
<commit_before>#include <stdio.h> #include <stdlib.h> #include <string> #include <cstring> #include <iostream> #include <utility> #include <unordered_set> #include <unordered_map> using namespace std; #include "scx/Dir.hpp" #include "scx/FileInfo.hpp" using namespace scx; #include "Tools.h" #include "ConsUnit.h" #in...
<commit_before>/* * Copyright (C) 2015 Luke San Antonio and Hazza Alkaabi * All rights reserved. */ #include "terrain.h" #include <vector> #include "../common/log.h" #include <png.h> #include "../common/debugging.h" namespace game { namespace strat { Noise_Raii::Noise_Raii(int64_t seed, osn_context** ptr) noe...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: convert.cxx,v $ * * $Revision: 1.15 $ * * last change: $Author: hr $ $Date: 2007-09-27 12:32:53 $ * * The Contents of this file are made ...
<commit_before>/* This file is part of cpp-ethereum. cpp-ethereum 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. cpp-ethereum is dis...
<commit_before>/* Copyright (C) 2008-2015 The Communi Project You may use this file under the terms of BSD license as follows: 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 mus...
<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-2016 Torus Knot Software Ltd Permission is hereby granted, free of charge, to ...
<commit_before>#include <Riostream.h> #include "TVirtualMCApplication.h" #include "TGeoMaterial.h" #include "TGeoManager.h" #include "TFlukaCerenkov.h" #include "TFluka.h" #include "Fdimpar.h" //(DIMPAR) fluka include #include "Ftrackr.h" //(TRACKR) fluka common #ifndef WIN32 # define endraw endraw_ #else # define ...
<commit_before>#include "QCachingLocale.h" #include "Parser.h" #include "Analyst.h" #include <QObject> #include <QTime> int main(int argc, char *argv[]) { QCachingLocale cl; // Merely instantiating QCachingLocale activates it. Use Q_UNUSED to prevent // compiler warnings. Q_UNUSED(cl); // FIXME: ...
<commit_before>// @(#)root/roofitcore:$name: $:$id$ // Authors: Wouter Verkerke November 2007 // C/C++ headers #include <list> #include <iostream> #include <iomanip> // ROOT headers #include "TWebFile.h" #include "TSystem.h" #include "TString.h" #include "TROOT.h" #include "TFile.h" #include "TBenchmark.h" // RooF...
<commit_before>#include <rai/node/utility.hpp> #include <rai/lib/interface.h> #include <lmdb/libraries/liblmdb/lmdb.h> #include <ed25519-donna/ed25519.h> boost::filesystem::path rai::unique_path () { auto result (working_path () / boost::filesystem::unique_path ()); return result; } rai::mdb_env::mdb_env (bool &...
<commit_before>#include <ros/ros.h> #include <nav_msgs/Odometry.h> #include <geometry_msgs/Twist.h> #include <geometry_msgs/Pose2D.h> #include <geometry_msgs/PoseStamped.h> #include "ClientSocket.h" #include "SocketException.h" #include <iostream> #include <string> #include <tf/tf.h> #define ROS_RATE 10 using names...
<commit_before>#include <iostream> #include <unordered_map> #include <drc_utils/LcmWrapper.hpp> #include <ConciseArgs> #include <lcm/lcm-cpp.hpp> #include <bot_lcmgl_client/lcmgl.h> #include <maps/BotWrapper.hpp> #include <maps/Collector.hpp> #include <maps/Utils.hpp> #include <maps/MapManager.hpp> #include <maps/Lo...
<commit_before>/* * Copyright(c) Sophist Solutions, Inc. 1990-2020. All rights reserved */ // TEST Foundation::IO::Other #include "Stroika/Foundation/StroikaPreComp.h" #include "Stroika/Foundation/Characters/ToString.h" #include "Stroika/Foundation/Containers/Set.h" #include "Stroika/Foundation/Debug/Assertions...
<commit_before>#include <string> #include <vector> #include <list> #include <map> #include <set> #include <deque> #include <stack> #include <bitset> #include <algorithm> #include <functional> #include <numeric> #include <utility> #include <sstream> #include <iostream> #include <iomanip> #include <cstdio> #include <cmat...
<commit_before> // This file is part of lipstick, a QML desktop library // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License version 2.1 as published by the Free Software Foundation // and appearing in the file LICENSE.LGPL included...
<commit_before>// Modified from chromium/src/webkit/glue/gl_bindings_skia_cmd_buffer.cc // 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 "gl/GrGLInterface.h" #ifndef GL_GLEXT_PROTOTYPES #d...
<commit_before>/* * Copyright 2006-2008 The FLWOR Foundation. * * 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...
<commit_before>/* * The MIT License (MIT) * * Copyright (c) 2015 Microsoft Corporation * * -=- Robust Distributed System Nucleus (rDSN) -=- * * 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...
<commit_before>/* RawSpeed - RAW file decoder. Copyright (C) 2009-2014 Klaus Post Copyright (C) 2014-2015 Pedro Côrte-Real Copyright (C) 2017 Roman Lebedev This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as pu...
<commit_before>// // Copyright (c) 2017 Michael W Powell <[email protected]> // Copyright 2017 Garrett D'Amore <[email protected]> // Copyright 2017 Capitar IT Group BV <[email protected]> // // This software is supplied under the terms of the MIT License, a // copy of which should be located in the distribution wh...
<commit_before>/* Copyright 2014 Jonas Platte * * This file is part of Cyvasse Online. * * Cyvasse Online 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, or (at yo...
<commit_before>#include "game/state/base/base.h" #include "framework/framework.h" #include "game/state/base/facility.h" #include "game/state/city/building.h" #include "game/state/organisation.h" #include <random> namespace OpenApoc { Base::Base(GameState &state, StateRef<Building> building) : building(building) { c...
<commit_before>#pragma once #include <string> #include <vector> #include <list> #include <map> #include <unordered_map> #include <set> #include <unordered_set> #include <utility> #include <iostream> #include <streambuf> #include <tuple> namespace NSaveLoad { template<class T, typename E = void> class TSerializer { p...