text
stringlengths
54
60.6k
<commit_before>/** * Copyright (C) 2015 3D Repo Ltd * * This program 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 your option) any later version. * * T...
<commit_before>/* * Copyright(c) Sophist Solutions, Inc. 1990-2012. All rights reserved */ #ifndef _Stroika_Foundation_Characters_String_inl_ #define _Stroika_Foundation_Characters_String_inl_ /* ******************************************************************************** ***************************** Impleme...
<commit_before>/* Copyright (c) 2014, J.D. Koftinoff Software, Ltd. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, ...
<commit_before>/* Copyright (c) 2015 Dilyan Rusev 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, publish,...
<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>#include "MainForm.moc" #include <QtGui> #include <iostream> #include <sstream> #include <tbb/tbb.h> #include <png.h> MainForm::MainForm(QGraphicsScene* img, nbt* bf, QWidget* parent_) : QGraphicsView(img, parent_), scene_(), bf_(bf), scale_(1), images() { connect(...
<commit_before>//* This file is part of the MOOSE framework //* https://www.mooseframework.org //* //* All rights reserved, see COPYRIGHT for full restrictions //* https://github.com/idaholab/moose/blob/master/COPYRIGHT //* //* Licensed under LGPL 2.1, please see LICENSE for details //* https://www.gnu.org/licenses/lgp...
<commit_before>#include <boost/format.hpp> #include <boost/make_shared.hpp> #include <boost/algorithm/string/predicate.hpp> #include <boost/range/adaptor/map.hpp> #include "ManipulatorMarker.h" #include "or_conversions.h" using boost::format; using boost::str; using boost::adaptors::map_values; using interactive_marke...
<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>// // Exponent.cpp // Calculator // // Created by Gavin Scheele on 3/27/14. // Copyright (c) 2014 Gavin Scheele. All rights reserved. // #include "Exponential.h" Exponential::Exponential(Expression* base, Rational* exponent){ this->type = "exponential"; this->base = base; this->exponen...
<commit_before>//===----------------------------------------------------------------------===// // // The LLVM Compiler Infrastructure // // This file is dual licensed under the MIT and the University of Illinois Open // Source Licenses. See LICENSE.TXT for details. // //===-------------------------...
<commit_before>/*M/////////////////////////////////////////////////////////////////////////////////////// // // IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING. // // By downloading, copying, installing or using the software you agree to this license. // If you do not agree to this license, do not d...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: cf_service.cxx,v $ * * $Revision: 1.7 $ * * last change: $Author: kz $ $Date: 2005-11-02 12:46:34 $ * * The Contents of this file are mad...
<commit_before>#include <unordered_map> #include <string> #include <numeric> #include <algorithm> #include <Rcpp.h> using namespace Rcpp; using namespace std; // [[Rcpp::export]] SEXP cpp_stack(SEXP arlist) { auto array_list = as<List>(arlist); auto dimnames = vector<vector<string>>(); // dim: names along ...
<commit_before>#pragma once #include "../src/Geometry/Geometry.hpp" #include "../src/Geometry/convex.cpp" #include "../src/Geometry/distance.cpp" #include "../src/Geometry/intersect.cpp" #include "../src/Geometry/intersect_circle.cpp" #include "../src/Graph/Graph.hpp" #include "../src/Graph/bfs01.cpp" #include "../sr...
<commit_before>#include "audio_nodes.h" #include "app_globals.h" #include <cinder/audio/Context.h> #include <cinder/audio/MonitorNode.h> #include <cinder/app/App.h> #include "resampler_node.h" namespace cieq { AudioNodes::AudioNodes(AppGlobals& globals) : mGlobals(globals) , mIsEnabled(false) {} void AudioNodes:...
<commit_before>#include <catch.hpp> #include <cmap.hpp> using cmap::make_map; using cmap::map; SCENARIO("Helo") { constexpr auto lookup = make_map(map(1,2), map(2,3), map(5,7)); CHECK( lookup[1] == 2 ); CHECK( lookup[2] == 3 ); CHECK( lookup[5] == 7 ); } <commit_msg>Added more tests<commit_after>#include <c...
<commit_before>#include <cstdlib> #include <cstring> #include <cstdio> #include <iostream> #include <log4cpp/Category.hh> #include <log4cpp/OstreamAppender.hh> #include <log4cpp/FileAppender.hh> #include <log4cpp/BasicLayout.hh> #include <log4cpp/PatternLayout.hh> #include <log4cpp/TimeStamp.hh> #include "Clock.hh" ...
<commit_before>#include "DxContext.hpp" #include "DxDevice.hpp" #include "DxRenderBuffer.hpp" #include "DxDepthStencilBuffer.hpp" #include "DxTexture.hpp" #include "DxSampler.hpp" #include "DxUniformBuffer.hpp" #include "DxVertexShader.hpp" #include "DxPixelShader.hpp" #include "DxVertexBuffer.hpp" #include "VertexLayo...
<commit_before>/*========================================================================= Program: Visualization Toolkit Module: vtkImagingFactory.cxx Language: C++ Date: $Date$ Version: $Revision$ Copyright (c) 1993-2000 Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. Redist...
<commit_before>// Copyright (c) 2015 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "bench.h" #include <iomanip> #include <iostream> #include <sys/time.h> using namespace benchmark; std::...
<commit_before>/** * @file bigfixstats.cpp * @brief Converts BigFix deployment reports into Atlassian Confluence tables */ /* * The MIT License (MIT) * * Copyright (c) 2014 Michael Maraya * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated docum...
<commit_before>// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2015 The Bitcoin Core developers // Copyright (c) 2015-2016 The Bitcoin Unlimited developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #inclu...
<commit_before>/** * The MIT License * * Copyright (C) 2017 Kiyofumi Kondoh * * 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 ri...
<commit_before>// =============================== // PC-BSD SysAdm Bridge Server // Available under the 3-clause BSD License // Written by: Ken Moore <[email protected]> May 2016 // ================================= #include "globals.h" #include <unistd.h> #include <sys/types.h> #include "BridgeServer.h" #define DEBUG ...
<commit_before>/* * jsonRpcWebsockets.cpp * * Created on: 9.6.2015 * Author: ondra */ #include "jsonRpcWebsockets.h" #include "../httpserver/abstractWebSockets.tcc" #include <lightspeed/base/interface.tcc> #include "lightspeed/base/actions/promise.tcc" #include "lightspeed/base/debug/dbglog.h" #include "lig...
<commit_before>/* * Copyright (C) 2017 Tmplt <[email protected]> * * 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 versio...
<commit_before>#include "UnixSocketHandler.hpp" #include <fcntl.h> #include <netdb.h> #include <netinet/in.h> #include <netinet/tcp.h> #include <sys/socket.h> #include <unistd.h> namespace et { UnixSocketHandler::UnixSocketHandler() {} bool UnixSocketHandler::hasData(int fd) { lock_guard<std::recursive_mutex> guar...
<commit_before>/* Copyright (c) 2008, Arvid Norberg 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 of condi...
<commit_before>/* Copyright (c) 2008, Arvid Norberg 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 of condi...
<commit_before>/* * * Copyright 2015 gRPC 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/licenses/LICENSE-2.0 * * Unless required by applicab...
<commit_before>/* tinyxml2ex - a set of add-on classes and helper functions bringing C++11/14 features, such as iterators, strings and exceptions, to tinyxml2 Copyright (c) 2016 Stan Thomas Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation file...
<commit_before>#include <network/Client.h> #include <network/Protocol.h> #include <network/Server.h> #include <iostream> #include <string> class TestProtocol : public network::Protocol { public: class Listener { public: virtual ~Listener() {} virtual void onPongRecv() = 0; }; Test...
<commit_before>//////////////////////////////////////////////////////////////////////////////// // taskwarrior - a command line task list manager. // // Copyright 2006-2012, Paul Beckingham, Federico Hernandez. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and as...
<commit_before><commit_msg>Added some comments and fixed formatting<commit_after><|endoftext|>
<commit_before>/** * Copyright © 2016 IBM 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 required by applic...
<commit_before>#define gtf_HEADER_ONLY #include "../iutest/include/iutest.hpp" #include "../src/system/task.h" #include <vector> using namespace gtf; IUTEST_MAKE_PEEP(weak_ptr<TaskBase> (TaskManager::*)(unsigned int) const, TaskManager, FindTask); IUTEST_MAKE_PEEP(weak_ptr<BackgroundTaskBase> (TaskManager::*)(unsig...
<commit_before>#include "tmath.hpp" /* ================================ SINE ======================================== */ TMath::DOUBLE TMath::sin(DOUBLE x) { x = mod(x + PI, 2 * PI) - PI; DOUBLE r = 0; for (LONG n = 0; n <= 8L; n++) { r += pow(DOUBLE(-1), n) * pow(x, 2 * n + 1) / fac(2 * n + 1); } return r; } T...
<commit_before>/* ******************************************************************************* \file test.cpp \brief Tests \project GF2 [GF(2) algebra library] \author () Sergey Agievich [agievich@{bsu.by|gmail.com}] \created 2016.07.06 \version 2016.07.22 \license This program is released under the MIT License. See...
<commit_before>#include "token.hpp" namespace laskin { static inline bool isword(char); token::token(enum type type, const std::string& data) : m_type(type) , m_data(data) {} token::token(const token& that) : m_type(that.m_type) , m_data(that.m_data) {} std::vector<to...
<commit_before>#include <gtest/gtest.h> #include "gridpoint.hpp" TEST(Point, gribpoint_check) { GridPoint p1(2,2); GridPoint p2(3,3); GridPoint p3(5,5); GridPoint a = p1+p2; GridPoint b = p3-p1; ASSERT_TRUE(p3==a); ASSERT_TRUE(p2==b); p1.calH(p3); p1.calG(p2); p1.calF(); ...
<commit_before>#include <iostream> #include "tools.h" using Eigen::VectorXd; using Eigen::MatrixXd; using std::vector; Tools::Tools() {} Tools::~Tools() {} VectorXd Tools::CalculateRMSE(const vector<VectorXd> &estimations, const vector<VectorXd> &ground_truth) { // Calculate the RM...
<commit_before>#define CATCH_CONFIG_MAIN #include <catch.hpp> #include "../picojson_serializer.h" #include "test_helpers.h" namespace { struct Point { double x, y, z; friend class picojson::convert::access; template<class Archive> void json(Archive & ar) const { ...
<commit_before>/* */ #include"types.hpp" #include"heaps.hpp" #include"processes.hpp" #include"errors.hpp" #include"executors.hpp" #include"phandles.hpp" /*O(N), where N is the number of objects involved!*/ /*necessary for determining the size of the semispace to be allocated when sending messages. */ size_t Generic::t...
<commit_before>// Copyright (c) 2015, Galaxy Authors. All Rights Reserved // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // // Author: [email protected] #include "agent/task_manager.h" #include "common/logging.h" #include "agent/cgroup.h" extern std::string ...
<commit_before>#ifndef EVEREST_TYPES_HPP_ #define EVEREST_TYPES_HPP_ #include <http_parser.h> #include <list> #include <functional> namespace everest { /// Log level used in the logging callback enum class LogLevel : int { TRACE, DEBUG, INFO, WARN, ERROR, }; typedef std::function<void(LogLevel, const std::stri...
<commit_before>#include <string> #include <map> #include "Config.h" #include "Log.h" #include "NetDb.hpp" #include "Transports.h" #include "Tunnel.h" #include "RouterContext.h" #include "Identity.h" #include "Destination.h" #include "Crypto.h" #include "FS.h" #include "api.h" namespace i2p { namespace api { void Init...
<commit_before>#include "utils.h" #include <sys/stat.h> #include <algorithm> #include <cctype> // ::isspace #include <cstring> #include <fstream> #include <iostream> #include <regex> #include <sstream> #include <stdexcept> #include <glibmm/fileutils.h> #include <glibmm/uriutils.h> #include "debug.h" #include "ui.h"...
<commit_before>#include "utils.h" #include <QDebug> #include <QSettings> #include <QStandardPaths> #include <math.h> using namespace Utils; GetDirInfoTask::GetDirInfoTask(QDir dir) : _dir(dir) { } void GetDirInfoTask::run() { quint64 size = 0; quint64 count = 0; size = getDirSize(_dir); count = ...
<commit_before>// Chemfiles, a modern library for chemistry file reading and writing // Copyright (C) Guillaume Fraux and contributors -- BSD license #include <cerrno> #include <string> #include <vector> #include "chemfiles/utils.hpp" #ifdef CHEMFILES_WINDOWS #define WIN32_LEAN_AND_MEAN #include <windows.h> // GetU...
<commit_before>#include "worker.h" #include <chrono> #include <thread> #include "utils.h" #include <pynumbuf/serialize.h> extern "C" { static PyObject *RayError; } Status WorkerServiceImpl::ExecuteTask(ServerContext* context, const ExecuteTaskRequest* request, ExecuteTaskReply* reply) { task_ = request->task()...
<commit_before>/* This file is part of the KDE project Copyright (C) 2001 Christoph Cullmann <[email protected]> Copyright (C) 2001 Joseph Wenninger <[email protected]> Copyright (C) 2001 Anders Lund <[email protected]> Copyright (C) 2007 Mirko Stocker <[email protected]> Copyright (C) 2009 Dominik Hauma...
<commit_before>// // Author: Michael Cameron // Email: [email protected] // // Libraries Include #include "libraries.h" // Local Includes #include "objloader.h" #include "brush.h" static CObjLoader s_ObjLoader; std::string StringFromBrush(const TBrush& _krBrush) { std::stringstream ssOut; ssOut << "brush" << s...
<commit_before>// Copyright (c) 2022 by Apex.AI 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 // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless...
<commit_before>#include "include/settingsmas.h" #include <QApplication> #include <QSettings> #include <QVariant> #include <QDir> SettingsMAS::SettingsMAS(QObject *parent) : QObject(parent) { global = new QSettings( QApplication::organizationName(), QApplication::applicationName(), ...
<commit_before>// MathPresso - Mathematical Expression Parser and JIT Compiler. // Copyright (c) 2008-2010, Petr Kobalicek <[email protected]> // // 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...
<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 "content/browser/zygote_host_linux.h" #include <sys/socket.h> #include <sys/stat.h> #include <sys/types.h> #include <unistd.h...
<commit_before>/* AkonadiRecord.cc KPilot ** ** Copyright (C) 2007 by Bertjan Broeksema <[email protected]> ** Copyright (C) 2007 by Jason "vanRijn" Kasper <[email protected]> */ /* ** This program is free software; you can redistribute it and/or modify ** it under the terms of the GNU Lesser General Public L...
<commit_before>// Copyright (c) 2010 Satoshi Nakamoto // Copyright (c) 2009-2017 The Bitcoin developers // Copyright (c) 2017 Empinel/The Ion Developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "assert.h" #inclu...
<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>// Copyright (c) 2010 Satoshi Nakamoto // Original Code: Copyright (c) 2009-2014 The Bitcoin Core Developers // Modified Code: Copyright (c) 2014 Project Bitmark -> and now zmark // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/...
<commit_before>// Copyright (c) 2010 Satoshi Nakamoto // Copyright (c) 2009-2014 The Bitcoin developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "chainparams.h" #include "assert.h" #include "core.h" #include...
<commit_before>// Copyright (c) 2010 Satoshi Nakamoto // Copyright (c) 2009-2014 The Bitcoin developers // Copyright (c) 2014-2015 The Dash developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "chainparams.h" ...
<commit_before>#include <QtGui/QCursor> #include <QtGui/QStyleOptionGraphicsItem> #include <qmath.h> #include "rotater.h" using namespace qReal::interpreters::robots; using namespace details::d2Model; using namespace graphicsUtils; Rotater::Rotater() : AbstractItem() { setFlags(ItemIsSelectable | ItemIsMovable); ...
<commit_before>//////////////////////////////////////////////////////////////////////////////// /// @brief application endpoint server feature /// /// @file /// /// DISCLAIMER /// /// Copyright 2004-2013 triAGENS GmbH, Cologne, Germany /// /// Licensed under the Apache License, Version 2.0 (the "License"); /// you may ...
<commit_before>// Copyright (c) 2009-2012 The Bitcoin developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <boost/assign/list_of.hpp> // for 'map_list_of()' #include <boost/foreach.hpp> #include "checkpoints....
<commit_before>// Copyright (c) 2009-2012 The Bitcoin developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <boost/assign/list_of.hpp> // for 'map_list_of()' #include <boost/foreach.hpp> #include "checkpoints....
<commit_before>// Copyright (c) 2009-2012 The Bitcoin developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <boost/assign/list_of.hpp> // for 'map_list_of()' #include <boost/foreach.hpp> #include "checkpoints....
<commit_before>// Copyright (c) 2009-2014 The Bitcoin developers // Copyright (c) 2014 Kryptohash developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "checkpoints.h" #include "main.h" #include "uint256.h" #...
<commit_before>// Copyright (c) 2009-2012 The Bitcoin developers // Copyright (c) 2011-2012 Litecoin Developers // Copyright (c) 2014 NobleCoin Developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <boost/assig...
<commit_before>// OpenLieroX // Input box // Created 30/3/03 // Jason Boettcher #include "defs.h" #include "LieroX.h" #include "Menu.h" /////////////////// // Draw the frame into a buffer void CFrame::PreDraw(void) { // Create the buffer, if needed if (!bmpBuffer) { SDL_PixelFormat *fmt = ...
<commit_before>/* * Copyright (C) 2005-2020 Centre National d'Etudes Spatiales (CNES) * * This file is part of Orfeo Toolbox * * https://www.orfeo-toolbox.org/ * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may ob...
<commit_before>/*========================================================================= * * Copyright Insight Software Consortium * * 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>/************************************************************************* * * 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: options.cxx,v $ * $Revision: 1.1...
<commit_before>#include "webcam.hpp" using namespace cv; using namespace std; int main (int argc, char** argv) { CvCapture* capture = 0; int width, height, fps; capture = cvCaptureFromCAM(0); if (!capture) { printf("No camera detected!"); return -1; } ifstream configFile (".config"); if (configFile.is...
<commit_before>/* Flexisip, a flexible SIP proxy server with media capabilities. Copyright (C) 2015 Belledonne Communications SARL. This program 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...
<commit_before>#include "SkyUtils.h" #include "../Math/Constants.h" #include "components/debug/Debug.h" int SkyUtils::getOctantIndex(bool posX, bool posY, bool posZ) { // Use lowest 3 bits to represent 0-7. const char xBit = posX ? 0 : (1 << 0); const char yBit = posY ? 0 : (1 << 1); const char zBit = posZ ? 0 : ...
<commit_before>/* Persons Model Contact Item Represents person's contact item in the model Copyright (C) 2012 Martin Klapetek <[email protected]> Copyright (C) 2012 Aleix Pol Gonzalez <[email protected]> This library is free software; you can redistribute it and/or modify it u...
<commit_before>//_________________________________________________________________________ // Utility Class for transverse energy studies // Task for analysis // - reconstruction and MC output // implementation file // //*-- Authors: Oystein Djuvsland (Bergen), David Silvermyr (ORNL) //______________________________...
<commit_before>/* * * Copyright 2015 gRPC 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/licenses/LICENSE-2.0 * * Unless required by applicab...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: WinImplHelper.hxx,v $ * * $Revision: 1.6 $ * * last change: $Author: hr $ $Date: 2006-06-20 00:14:57 $ * * The Contents of this file are ...
<commit_before>#ifndef ANN_SCENERY_MANAGER #define ANN_SCENERY_MANAGER #include "systemMacro.h" #include "AnnSubsystem.hpp" #include "OgreSceneManager.h" #include "AnnTypes.h" #include "OgreVRRender.hpp" namespace Annwvyn { class DLL AnnSceneryManager : public AnnSubSystem { public: ///Construct the AnnSceneryM...
<commit_before>#ifndef __LOG_VISOR_HPP__ #define __LOG_VISOR_HPP__ #include <stdarg.h> #include <string.h> #include <stdio.h> #include <vector> #include <atomic> #include <memory> #include <locale> #include <codecvt> namespace LogVisor { #if _WIN32 && UNICODE #define LOG_UCS2 1 #endif #if LOG_VISOR_EXCEPTIONS /** ...
<commit_before>/*$Id$ * * This source file is a part of the Berlin Project. * Copyright (C) 1999 Stefan Seefeld <[email protected]> * http://www.berlin-consortium.org * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * L...
<commit_before>/* Copyright 2019 Axel Huebl, Benjamin Worpitz, Erik Zenker * * This file is part of alpaka. * * 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/. */ ...
<commit_before>#include "stdafx.h" #include "CppUnitTest.h" #include "..\ProjectEuler\Problem1.h" using namespace Microsoft::VisualStudio::CppUnitTestFramework; namespace ProjectEulerTests { TEST_CLASS(Problem1Tests) { public: TEST_METHOD(SumMultiplesOf3And5Below_Input0_Returns0) { auto result...
<commit_before><commit_msg>cid#1169841 Big parameter passed by value<commit_after><|endoftext|>
<commit_before>// Copyright (c) 2006-2008 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/test/ui/ui_test.h" #include "base/command_line.h" #include "base/file_util.h" #include "net/base/net_util.h" ty...
<commit_before>#include "lm/trie_sort.hh" #include "lm/config.hh" #include "lm/lm_exception.hh" #include "lm/read_arpa.hh" #include "lm/vocab.hh" #include "lm/weights.hh" #include "lm/word_index.hh" #include "util/file_piece.hh" #include "util/mmap.hh" #include "util/proxy_iterator.hh" #include "util/sized_iterator.hh...
<commit_before><commit_msg>Reenable PosixSessionEnd test.<commit_after><|endoftext|>
<commit_before>/* @Copyright Barrett Adair 2015-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ #ifndef BOOST_CLBL_TRTS_ADD_MEMBER_CONST_HPP #define BOOST_CLBL_TRTS_ADD_MEMBER_CONST_HPP #include <boost/callable_traits/...
<commit_before><commit_msg>start centre: Solid color fits the new artwork better.<commit_after><|endoftext|>
<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>/** * (c) Camille Scott, 2019 * File : utagger.hh * License: MIT * Author : Camille Scott <[email protected]> * Date : 05.08.2019 */ #ifndef BOINK_UTAGGER_HH #define BOINK_UTAGGER_HH #include <memory> #include <optional> #include "boink/traversal.hh" #include "boink/hashing/kmeritera...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: FillProperties.hxx,v $ * * $Revision: 1.2 $ * * last change: $Author: rt $ $Date: 2005-09-08 00:40:38 $ * * The Contents of this file are...
<commit_before>// Copyright (c) 2006-2008 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/file_util.h" #include "base/string_util.h" #include "base/sys_info.h" #include "base/values.h" #include "chrome/app...
<commit_before> // MARKER(update_precomp.py): autogen include statement, do not remove #include "precompiled_framework.hxx" //_________________________________________________________________________________________________________________ // my own includes //__________________________________________________________...
<commit_before>/**************************************************************************** ** ** Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies). ** Contact: Nokia Corporation ([email protected]) ** ** This file is part of the Qt Mobility Components. ** ** $QT_BEGIN_LICENSE:LGPL$ ** No Commercia...
<commit_before>/* * Copyright (c) 2013-2015 John Connor (BM-NC49AxAjcqVcF5jNPu85Rb8MJ2d9JqZt) * * This file is part of vanillacoin. * * vanillacoin 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 publis...
<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 imp...