text
stringlengths
54
60.6k
<commit_before>// Copyright 2010-2014 RethinkDB, all rights reserved. #include "unittest/gtest.hpp" #include "arch/timing.hpp" #include "concurrency/pmap.hpp" #include "unittest/unittest_utils.hpp" #include "utils.hpp" namespace unittest { int wait_array[2][10] = { { 1, 1, 2, 3, 5, 13, 20, 30, 40, 8 }, ...
<commit_before>#include <zip_longest.hpp> #include "helpers.hpp" #include <vector> #include <tuple> #include <string> #include <iterator> #include <utility> #include <iterator> #include <sstream> #include <iostream> #include "catch.hpp" using iter::zip_longest; // reopening boost is the only way I can find that ge...
<commit_before>// @(#)root/gpad:$Name: $:$Id: TAttFillCanvas.cxx,v 1.1.1.1 2000/05/16 17:00:41 rdm Exp $ // Author: Rene Brun 04/07/96 // ---------------------------------- AttFillCanvas.C /************************************************************************* * Copyright (C) 1995-2000, Rene Brun and Fons Radem...
<commit_before>/* GPIO Example This example code is in the Public Domain (or CC0 licensed, at your option.) Unless required by applicable law or agreed to in writing, this software is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */ #include "fr...
<commit_before>// Copyright 2010-2014 RethinkDB, all rights reserved. #include "unittest/gtest.hpp" #include "arch/timing.hpp" #include "concurrency/pmap.hpp" #include "unittest/unittest_utils.hpp" #include "utils.hpp" namespace unittest { int wait_array[2][10] = { { 1, 1, 2, 3, 5, 13, 20, 30, 40, 8 }, ...
<commit_before>// rdoprocess_shape_terminate_MJ.cpp: implementation of the RPShapeTerminate_MJ class. // ////////////////////////////////////////////////////////////////////// #include "app/rdo_studio_mfc/rdo_process/proc2rdo/stdafx.h" #include "app/rdo_studio_mfc/rdo_process/proc2rdo/rdoprocess_shape_terminate.h...
<commit_before>/* IBM_PROLOG_BEGIN_TAG */ /* This is an automatically generated prolog. */ /* */ /* $Source: src/usr/scom/preopchecks.C $ ...
<commit_before>#pragma once #include "core_configuration/core_configuration.hpp" #include "manipulator/manipulator_factory.hpp" #include "manipulator/manipulator_manager.hpp" #include "manipulator/manipulators/basic/basic.hpp" namespace krbn { namespace grabber { namespace device_grabber_details { class fn_function_k...
<commit_before>#ifdef _WIN32 #include <io.h> #else #include <unistd.h> #endif #include "context.hpp" #include "sass_functions.h" extern "C" { using namespace std; // Struct to hold custom function callback struct Sass_C_Function_Descriptor { const char* signature; Sass_C_Function function; void...
<commit_before>// @(#)root/test:$Id$ // Author: Rene Brun 19/01/97 //////////////////////////////////////////////////////////////////////// // // A simple example with a ROOT tree // ================================= // // This program creates : // - a ROOT file // - a tree // Additio...
<commit_before>// // Created by dar on 1/23/16. // #include "Game.h" #include "../core/Core.h" #include "render/RenderManager.h" #include "InputManager.h" #include "../core/map/TiledTxtMapLoader.h" #include "../logging.h" #include <gui/GuiText.h> #include <gui/GuiButton.h> Game::Game(const std::function<bool(Window *...
<commit_before>//https://code.google.com/p/nya-engine/ #include "material.h" namespace nya_scene { void material::set() const { m_shader.set(); for(int i=0;i<(int)m_params.size();++i) { const param_proxy &p=m_params[i].p; if(!p.is_valid()) { const para...
<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 ap...
<commit_before>/*////////////////////////////////////////////////////////////////// //// SKIRT -- an advanced radiative transfer code //// //// © Astronomical Observatory, Ghent University //// ///////////////////////////////////////////////////////////////// */ #include "FatalError.hpp" #i...
<commit_before>#include "ins_sdk.h" #include <stdlib.h> #include <algorithm> using namespace galaxy::ins::sdk; extern "C" { typedef void (*SessionTimeoutCallback)(void*); typedef void (*CWatchCallback)(WatchParam*, long, SDKError); typedef void (*CTimeoutCallback)(long, void*); struct CallbackPack { void* call...
<commit_before>#include "core.h" #include "trim.h" #include "instruction_list.h" #include "window.h" #include "logger.h" #include "threaded_queue.h" #include <ncurses.h> #include <unistd.h> #include <string> #include <iomanip> #include <sstream> #include <iostream> #include <fstream> #include <bitset> #include <chro...
<commit_before>//#define CATCH_CONFIG_MAIN #include "catch.hpp" #include <regex.h> #include <shl_exception.h> using namespace shl; TEST_CASE("Range Test") { SECTION("default constructs a (0,0) Range") { Range range; REQUIRE(range.position == 0); REQUIRE(range.length == 0); } SECT...
<commit_before>//#define CATCH_CONFIG_MAIN #include "catch.hpp" #include <regex.h> #include <shl_exception.h> using namespace shl; TEST_CASE("Range Test") { SECTION("default constructs a (0,0) Range") { Range range; REQUIRE(range.position == 0); REQUIRE(range.length == 0); } SECT...
<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 "build/build_config.h" #include "chrome/browser/browser_list.h" #include "base/logging.h" #include "base/message_loop.h...
<commit_before><commit_msg>Mac: turn on file access checks for the UI thread.<commit_after><|endoftext|>
<commit_before><commit_msg>Mac: Register for keychain notifications on the main thread. Fixes issues where SSL doesn't notice changes made to keychains, like plugging in a crypto-card after Chrome launches. BUG=37766,34767 TEST=None (manual testing)<commit_after><|endoftext|>
<commit_before><commit_msg>Move WinSock initialize earlier in the startup process. I ran into a case where my extension used the network; but because extensions are initialized earlier than WinSock init, the extension failed when trying to do a dns lookup. This only fails because it was in conjunction with the --sing...
<commit_before><commit_msg>Mac: Register for keychain notifications on the main thread. Fixes issues where SSL doesn't notice changes made to keychains, like plugging in a crypto-card after Chrome launches. BUG=37766,34767 TEST=None (manual testing)<commit_after><|endoftext|>
<commit_before><commit_msg>Add menu shortcuts on linux instead of & everywhere.<commit_after><|endoftext|>
<commit_before><commit_msg>Add missing ALLOW_THIS_IN_INITIALIZER_LIST...<commit_after><|endoftext|>
<commit_before><commit_msg>fix for bug: http://code.google.com/p/chromium/issues/detail?id=15547 There are cases where DidFinishDocumentLoadForFrame() and DidFinishLoadForFrame() can be called with no navigation_state.<commit_after><|endoftext|>
<commit_before><commit_msg>Revert 111004 - ASAN timeout on OutOfProcessPPAPITest.Crypto<commit_after><|endoftext|>
<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/file_util.h" #include "base/path_service.h" #include "base/test/test_timeouts.h" #include "build/build_config.h" #includ...
<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/file_util.h" #include "base/path_service.h" #include "base/test/test_timeouts.h" #include "build/build_config.h" #includ...
<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 "base/file_util.h" #include "base/path_service.h" #include "build/build_config.h" #include "chrome/common/chrome_switches.h" #...
<commit_before>#include <primitiv/config.h> #include <iostream> #include <vector> #include <primitiv/error.h> #include <test_utils.h> #include <primitiv/naive_device.h> using primitiv::devices::Naive; #ifdef PRIMITIV_USE_EIGEN #include <primitiv/eigen_device.h> using primitiv::devices::Eigen; #endif // PRIMITIV_US...
<commit_before>#include <rtosc/ports.h> #include <rtosc/port-sugar.h> #include <rtosc/undo-history.h> #include <cstdarg> #include <cassert> using namespace rtosc; class Object { public: Object(void) :x(0),b(0),i(0) {} float x; char b; int i; }; #define rObjec...
<commit_before>#include "peanoclaw/configurations/PeanoClawConfigurationForSpacetreeGrid.h" #include "peanoclaw/runners/PeanoClawLibraryRunner.h" #include "tarch/logging/CommandLineLogger.h" tarch::logging::Log peanoclaw::configurations::PeanoClawConfigurationForSpacetreeGrid::_log("peanoclaw::configurations::PeanoCl...
<commit_before>// Copyright (c) 2012 Toby Ealden. // Copyright (c) 2014 Martin Man. // vim: ts=2 sw=2 et #include "socket_watcher.hpp" #include <string.h> using namespace v8; #if NODE_VERSION_AT_LEAST(0, 7, 8) // Nothing #else namespace node { Handle<Value> MakeCallback(Isolate *isolate, const Handle<Object> objec...
<commit_before>#include <ase/ase.hpp> #include <cstdint> #include <fstream> #if defined(_MSC_VER) #include <intrin.h> #define SWAP32(x) _byteswap_ulong(x) #define SWAP16(x) _byteswap_ushort(x) #elif defined(__GNUC__) || defined(__clang__) #define SWAP32(x) __builtin_bswap32(x) #define SWAP16(x) __builtin_bswap16(x...
<commit_before>/*========================================================================= Program: Visualization Toolkit Module: vtkCudaHierarchicalMaxFlowSegmentation2Worker.cxx Copyright (c) John SH Baxter, Robarts Research Institute This software is distributed WITHOUT ANY WARRANTY; without even ...
<commit_before>/* Copyright 2009 SPARTA, Inc., dba Cobham Analytic Solutions * * This file is part of WATCHER. * * WATCHER 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 vers...
<commit_before>#ifndef CMDSTAN_ARGUMENTS_ARG_OUTPUT_SIG_FIGS_HPP #define CMDSTAN_ARGUMENTS_ARG_OUTPUT_SIG_FIGS_HPP #include <cmdstan/arguments/singleton_argument.hpp> namespace cmdstan { class arg_output_sig_figs : public int_argument { public: arg_output_sig_figs() : int_argument() { _name = "sig_figs"; ...
<commit_before><commit_msg>Lua API - getActiveGlobalLight, getGlobalLightEntity<commit_after><|endoftext|>
<commit_before><commit_msg>fix RC cal bug<commit_after><|endoftext|>
<commit_before>#include "Thermostat.h" #include "Andersen.h" #include "Lowe_Andersen.h" #include "Gaussian.h" #include "Nose_Hoover.h" #include "Thermostat_None.h" #include "consts.h" using namespace consts; #include <iostream> #include <fstream> #include <algorithm> #include <cmath> #include <stdlib.h> // atof #...
<commit_before>/*************************************************************************** ** ** Copyright (C) 2010, 2011 Nokia Corporation and/or its subsidiary(-ies). ** All rights reserved. ** Contact: Nokia Corporation (directui@nokia.com) ** ** This file is part of libmeegotouch. ** ** If you have questions regar...
<commit_before>/* * RGraphicsUtils.cpp * * Copyright (C) 2009-12 by RStudio, Inc. * * This program is licensed to you under the terms of version 3 of the * GNU Affero General Public License. This program is distributed WITHOUT * ANY EXPRESS OR IMPLIED WARRANTY, INCLUDING THOSE OF NON-INFRINGEMENT, * MERCHANTABI...
<commit_before>// ============================================================================= // PROJECT CHRONO - http://projectchrono.org // // Copyright (c) 2014 projectchrono.org // All right reserved. // // Use of this source code is governed by a BSD-style license that can be found // in the LICENSE file at the ...
<commit_before>/* * Randpool * (C) 1999-2009 Jack Lloyd * * Distributed under the terms of the Botan license */ #include <botan/randpool.h> #include <botan/loadstor.h> #include <botan/xor_buf.h> #include <botan/timer.h> #include <botan/stl_util.h> #include <algorithm> namespace Botan { namespace { /** * PRF based o...
<commit_before>/****************************************************************************** ** ** Copyright (C) 2009-2011 Kyle Lutz <kyle.r.lutz@gmail.com> ** ** This file is part of chemkit. For more information see ** <http://www.chemkit.org>. ** ** chemkit is free software: you can redistribute it and/or modify *...
<commit_before>//-----------------------------------------------------------------------bl- //-------------------------------------------------------------------------- // // GRINS - General Reacting Incompressible Navier-Stokes // // Copyright (C) 2010-2013 The PECOS Development Team // // This library is free softw...
<commit_before>// vim:ts=2:sw=2:expandtab:autoindent:filetype=cpp: /* Copyright (c) 2008 Aristid Breitkreuz, Ash Berlin, Ruediger Sonderfeld 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...
<commit_before>#include <QStandardPaths> #include <QtEndian> #include "MainWindow.h" #ifndef NO_SERIAL_LINK #include "SerialLink.h" #endif #include "QGCMAVLinkLogPlayer.h" #include "QGC.h" #include "ui_QGCMAVLinkLogPlayer.h" #include "QGCApplication.h" #include "LinkManager.h" #include "QGCQFileDialog.h" #include "QGC...
<commit_before>// // Created by Derek van Vliet on 2014-12-10. // Copyright (c) 2015 Get Set Games Inc. All rights reserved. // #include "FusePrivatePCH.h" #if PLATFORM_IOS @interface FuseDelegateImpl : NSObject <FuseDelegate> @end static FuseDelegateImpl* FuseDelegateImplSingleton = [[FuseDelegateImpl alloc] init...
<commit_before>#include <plugins/interactive/InteractiveObject.h> namespace beliefstate { InteractiveObject::InteractiveObject(string strName) { m_imsServer = NULL; m_imMarker.header.frame_id = "/map"; m_imMarker.scale = 1; m_imMarker.name = strName; m_mkrMarker.type = Marker::CUBE; ...
<commit_before>/******************************************************************************* * Copyright 2016 IBM Corp. * * 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://ww...
<commit_before>/********************************************************************* * Software License Agreement (BSD License) * * Copyright (c) 2013, Institute for Artificial Intelligence, * Universität Bremen. * All rights reserved. * * Redistribution and use in source and binary forms, with or without ...
<commit_before>/************************************************************************** ** ** This file is part of Qt Creator ** ** Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). ** ** Contact: Nokia Corporation (qt-info@nokia.com) ** ** Commercial Usage ** ** Licensees holding valid Qt Commercial...
<commit_before>/************************************************************************** ** ** This file is part of Qt Creator ** ** Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). ** ** Contact: Nokia Corporation (qt-info@nokia.com) ** ** Commercial Usage ** ** Licensees holding valid Qt Commercial...
<commit_before>// This file is a part of the OpenSurgSim project. // Copyright 2013, SimQuest Solutions Inc. // // 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.or...
<commit_before>/* * linuxWaitingSlot.cpp * * Created on: 12. 10. 2017 * Author: ondra */ #include <fcntl.h> #include <sys/socket.h> #include <unistd.h> #include "../exceptions.h" #include "../mt.h" #include "netEventDispatcher.h" #include "../defer.h" namespace simpleServer { using ondra_shared::defer;...
<commit_before>/************************************************************************* * * $RCSfile: viewcontactofgroup.cxx,v $ * * $Revision: 1.2 $ * * last change: $Author: rt $ $Date: 2003-11-24 16:45:24 $ * * The Contents of this file are made available subject to the terms of * either of the follo...
<commit_before>/************************************************************************* * * $RCSfile: UnoForbiddenCharsTable.cxx,v $ * * $Revision: 1.2 $ * * last change: $Author: cl $ $Date: 2001-04-05 16:46:12 $ * * The Contents of this file are made available subject to the terms of * either of the f...
<commit_before>/* Copyright 2017 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 "runner.hh" #include "channel.hh" #include <boost/bind.hpp> void generate(channel<int> out) { for (int i=2; ; ++i) { out.send(i); } } void filter(channel<int> in, channel<int> out, int prime) { for (;;) { int i = in.recv(); if (i % prime != 0) { ...
<commit_before>// Copyright 2017 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 // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless require...
<commit_before>#pragma once //=====================================================================// /*! @file @brief コマンド入力クラス @author 平松邦仁 (hira@rvf-rc45.net) */ //=====================================================================// #include <cstring> extern "C" { void sci_putch(char ch); void sci_puts(const...
<commit_before>// main.cpp - Copyright 2013-2015 Will Cassella, All Rights Reserved #include <Core/Core.h> #include <Core/Containers/StaticBuffer.h> #include <Math/Vec3.h> int main() { Console::WriteLine(test); test.DeleteAll("Oh"); Console::WriteLine(test); Console::Prompt(); }<commit_msg>Should have included...
<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_frame/http_negotiate.h" #include <atlbase.h> #include <atlcom.h> #include <htiframe.h> #include "base/logging.h" #in...
<commit_before>/******************************************************************************\ * File: tool.cpp * Purpose: Implementation of wxExTool class * Author: Anton van Wezenbeek * RCS-ID: $Id$ * * Copyright (c) 1998-2009 Anton van Wezenbeek * All rights are reserved. Reproduction i...
<commit_before>/************************************************************************** * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * * * * Author: The ALICE Off-line Project. * ...
<commit_before>// // Copyright (C) 2013 // Alessio Sclocco <a.sclocco@vu.nl> // // 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 lat...
<commit_before>#include "tests/ffi/tests.h" #include "tests/ffi/lib.rs.h" #include <cstring> #include <numeric> #include <stdexcept> extern "C" void cxx_test_suite_set_correct() noexcept; extern "C" tests::R *cxx_test_suite_get_box() noexcept; extern "C" bool cxx_test_suite_r_is_correct(const tests::R *) noexcept; na...
<commit_before>#include "tests/ffi/tests.h" #include "tests/ffi/lib.rs.h" #include <cstring> #include <stdexcept> extern "C" void cxx_test_suite_set_correct() noexcept; extern "C" tests::R *cxx_test_suite_get_box() noexcept; extern "C" bool cxx_test_suite_r_is_correct(const tests::R *) noexcept; namespace tests { co...
<commit_before>#include "mainwindow.h" #include "ui_mainwindow.h" #include "compiler.h" #include <QStandardItem> #include "blocktypelistmodel.h" #include <QFileDialog> #include <QFile> #include <QTextStream> #include "applicationdata.h" #include "blocktype.h" #include <QJsonDocument> #include <QJsonValue> #include <QJ...
<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 at ht...
<commit_before>//===--- IndexerMain.cpp -----------------------------------------*- C++-*-===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------...
<commit_before>/* Rapicorn * Copyright (C) 2008 Tim Janik * * 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.1 of the License, or (at your option) any later versio...
<commit_before>#include <stout/gtest.hpp> #include <gtest/gtest.h> #include "pwave/scenario.hpp" namespace pwave { TEST(PwaveTest, ScenarioStableSignal) { const double_t THRESHOLD = 0.01; const int32_t LOAD_ITERATIONS = 100; SignalScenario signalGen = SignalScenario(LOAD_ITERATIONS) .use(math::cons...
<commit_before>/* JAPY is a new JSON parser in C++. This file contains examples of JAPY in action. The MIT License (MIT) Copyright (c) 2014 Artur Brugeman, brugeman.artur@gmail.com Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentatio...
<commit_before>#define BOOST_TEST_DYN_LINK #define BOOST_TEST_MODULE Main #include <atomic> #include <boost/asio/steady_timer.hpp> #include <boost/test/unit_test.hpp> #include <chrono> #include <interfaces/imeasstorage.h> #include <iostream> #include <meas.h> #include <net/client.h> #include <net/server.h> #include <th...
<commit_before>// Macro to compare masses in root data base to the values from pdg // http://pdg.lbl.gov/2009/mcdata/mass_width_2008.mc // // the ROOT values are read in by TDatabasePDG from $ROOTSYS/etc/pdg_table.C // // Author: Christian.Klein-Boesing@cern.ch #include <fstream> #include <iostream> #include "TData...
<commit_before>//===-- MainLoop.cpp --------------------------------------------*- C++ -*-===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===------------...
<commit_before>#pragma once //=========================================================================// /*! @file @brief SD カード・マネージャー @n @author 平松邦仁 (hira@rvf-rc45.net) @copyright Copyright (C) 2017 Kunihito Hiramatsu @n Released under the MIT license @n https://github.com/hirakuni45/RX/blob/ma...
<commit_before>#pragma once //=====================================================================// /*! @file @brief RL78/G13 グループ SAU/UART 制御 @n Copyright 2016 Kunihito Hiramatsu @author 平松邦仁 (hira@rvf-rc45.net) */ //=====================================================================// #include "G13/s...
<commit_before>#include <v8.h> #include <node.h> #include <tcl.h> using namespace node; using namespace v8; class NodeTcl : ObjectWrap { private: Tcl_Interp *m_interp; public: static Persistent<FunctionTemplate> s_ct; static void Init(Handle<Object> target) { HandleScope scope; Local<FunctionTempla...
<commit_before>/* ** Copyright 2014 Merethis ** ** This file is part of Centreon Broker. ** ** Centreon Broker 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. ** ** Centreon Broker is distributed i...
<commit_before>#include <iostream> #include <fstream> #include <vector> #include <cstdio> #include <assert.h> #include <algorithm> #include <boost/lambda/lambda.hpp> #include "EventCluster.h" #include "Subclone.h" #include "SubcloneExplore.h" sqlite3 *res_database; using namespace SubcloneExplorer; void TreeEnumer...
<commit_before>// // posix_main.cpp // ~~~~~~~~~~~~~~ // // Copyright (c) 2003-2008 Christopher M. Kohlhoff (chris at kohlhoff dot com) // // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) // // Modifed by Geoff Lawle...
<commit_before>#include "customuploader.hpp" #include <QApplication> #include <QBuffer> #include <QClipboard> #include <QFile> #include <QHttpMultiPart> #include <QJsonArray> #include <QJsonDocument> #include <QNetworkReply> #include <formats.hpp> #include <io/ioutils.hpp> #include <notifications.hpp> using formats::...
<commit_before>/* * AscEmu Framework based on ArcEmu MMORPG Server * Copyright (C) 2014-2016 AscEmu Team <http://www.ascemu.org/> * Copyright (C) 2008-2012 ArcEmu Team <http://www.ArcEmu.org/> * Copyright (C) 2005-2007 Ascent Team * * This program is free software: you can redistribute it and/or modify * it unde...
<commit_before>//Open Producer - Copyright (C) 2002 Don Burns //Distributed under the terms of the GNU LIBRARY GENERAL PUBLIC LICENSE (LGPL) //as published by the Free Software Foundation. #include <osgProducer/CameraGroup> #include <osgDB/FileUtils> using namespace osgProducer; std::string findCameraConfigFile(cons...
<commit_before>/** @file @brief Implementation @date 2014 @author Ryan Pavlik <ryan@sensics.com> <http://sensics.com> */ // Copyright 2014 Sensics, Inc. // // All rights reserved. // // (Final version intended to be licensed under // the Apache License, Version 2.0) // Internal Includes #inc...
<commit_before>// tag::C++11check[] #define STRING2(x) #x #define STRING(x) STRING2(x) #if __cplusplus < 201103L #pragma message("WARNING: the compiler may not be C++11 compliant. __cplusplus version is : " STRING(__cplusplus)) #endif // end::C++11check[] // tag::includes[] #include <iostream> #include <...
<commit_before>#include "FEINDLib.h" #include <math.h> FEINDLib::FEINDLib(char* arg0, char* arg1, char* arg2, int setType) : DataLib(setType) { FEIND::LibDefine lib; lib.Args.push_back(" "); int libCase = -9; if (arg0 == "EAF") libCase = 1; else if (arg0 == "CINDER") libCase = 2; switch (libCa...
<commit_before>////////////////////////////////////////////////////////////////////////// // // Copyright (c) 2019, 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 // met:...
<commit_before><commit_msg>when leaving dragger edit mode make sure to release the grabbed node<commit_after><|endoftext|>
<commit_before>/**************************************************************************** * * (c) 2009-2020 QGROUNDCONTROL PROJECT <http://www.qgroundcontrol.org> * * QGroundControl is licensed according to the terms in the file * COPYING.md in the root of the source code directory. * ************************...
<commit_before>#include "BLEHIDPeripheral.h" #include "BLEHID.h" unsigned char BLEHID::_numHids = 0; BLEHID::BLEHID(const unsigned char* descriptor, unsigned char descriptorLength, unsigned char reportIdOffset) : _reportId(0), _descriptor(descriptor), _descriptorLength(descriptorLength), _reportIdOffset(repo...
<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>/** * @file * * @brief * * @copyright BSD License (see LICENSE.md or https://www.libelektra.org) */ #include "dump.hpp" using namespace ckdb; #include <fstream> #include <iostream> #include <sstream> #include <string> #include <vector> #include <unistd.h> #include <kdberrors.h> #include <kdblo...
<commit_before>/*========================================================================= Program: Medical Imaging & Interaction Toolkit Module: $RCSfile$ Language: C++ Date: $Date$ Version: $Revision$ Copyright (c) German Cancer Research Center, Division of Medical and Biological Informatics. All rig...
<commit_before>/** * The Seeks proxy and plugin framework are part of the SEEKS project. * Copyright (C) 2010 Emmanuel Benazera, ebenazer@seeks-project.info * * 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 ...
<commit_before>#include "eoPruning.h" eoPruning::eoPruning() { file_path = "eoPruning.datat"; EdgeOrientation edgeOrientation; edgeOrientation.buildTransitionTable(); vector<vector<long long>> transition_table = edgeOrientation.getTransitionTable(); buildPruneTable(transition_table, edgeOrientati...