text
stringlengths
54
60.6k
<commit_before>#include "musicapplication.h" #include "musicruntimemanager.h" #include "musicnumberdefine.h" #include "ttkdumper.h" #include <QTimer> #include <QTranslator> #include <QApplication> #define MUSIC_DEBUG int main(int argc, char *argv[]) { QApplication a(argc, argv); #if !defined MUSIC_DEBUG && !defi...
<commit_before>//===- CallingConvEmitter.cpp - Generate calling conventions --------------===// // // The LLVM Compiler Infrastructure // // This file was developed by Chris Lattner and is distributed under // the University of Illinois Open Source License. See LICENSE.TXT for details. // //===-----...
<commit_before>/* Copyright (c) 2006 Volker Krause <volker.krause@rwth-aachen.de> This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your ...
<commit_before>//===- Parser.cpp - Main dispatch module for the Parser library -------------=== // // This library implements the functionality defined in llvm/assembly/parser.h // //===------------------------------------------------------------------------=== #include "llvm/Analysis/Verifier.h" #include "llvm/Module...
<commit_before>//////////////////////////////////////////////////////////////////////////////// /// @brief debugging helpers /// /// @file /// /// DISCLAIMER /// /// Copyright 2014 ArangoDB GmbH, Cologne, Germany /// Copyright 2004-2014 triAGENS GmbH, Cologne, Germany /// /// Licensed under the Apache License, Version ...
<commit_before>// {{{ GPL License // This file is part of gringo - a grounder for logic programs. // Copyright (C) 2013 Roland Kaminski // 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, eith...
<commit_before>/* Copyright 2011 Alexander Potashev <aspotashev@gmail.com> This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the License or ( at your option ) ve...
<commit_before> /************************************************************************** * Copyright(c) 1998-2000, ALICE Experiment at CERN, All rights reserved. * * * * Author: The ALICE Off-line Project. * ...
<commit_before>/************************************************************************** * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * * * * Author: The ALICE Off-line Project. * ...
<commit_before>// [standard includes] #include <vector> #include <set> #include <queue> #include <algorithm> #include <fstream> #include <sstream> #include <iostream> #include <thread> #include <mutex> #include <condition_variable> #include <atomic> #include <memory> #include <cstdio> #include <typeinfo> // [external ...
<commit_before>/** * \file dcs/testbed/dummy_application_manager.hpp * * \brief A 'do-nothing' Application Manager component. * * \author Marco Guazzone (marco.guazzone@gmail.com) * * <hr/> * * Copyright 2014 Marco Guazzone (marco.guazzone@gmail.com) * * Licensed under the Apache License, Version 2.0 (the "L...
<commit_before>/* * The Apache Software License, Version 1.1 * * * Copyright (c) 1999-2001 The Apache Software Foundation. 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. Red...
<commit_before>/* * Eos - A 3D Morphable Model fitting library written in modern C++11/14. * * File: include/eos/morphablemodel/MorphableModel.hpp * * Copyright 2014, 2015 Patrik Huber * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the L...
<commit_before>/** * \file standard_gaussian.hpp * \date May 2014 * @author Manuel Wuthrich (manuel.wuthrich@gmail.com) * @author Jan Issac (jan.issac@gmail.com) */ #ifndef FL__DISTRIBUTION__STANDARD_GAUSSIAN_HPP #define FL__DISTRIBUTION__STANDARD_GAUSSIAN_HPP #include <Eigen/Dense> #include <random> #include <...
<commit_before>/* * This is part of the FL library, a C++ Bayesian filtering library * (https://github.com/filtering-library) * * Copyright (c) 2014 Jan Issac (jan.issac@gmail.com) * Copyright (c) 2014 Manuel Wuthrich (manuel.wuthrich@gmail.com) * * Max-Planck Institute for Intelligent Systems, AMD Lab * Univer...
<commit_before>/* Copyright (c) 2015 - present Advanced Micro Devices, 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 the Software without restriction, including without limitation t...
<commit_before>/* Copyright (c) 2006, 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 2011 Brain Research Institute, Melbourne, Australia Written by Robert E. Smith, 2013. 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 Software ...
<commit_before>#pragma once #include<algorithm> #include<vector> #include<universal/blas/operators.hpp> #include<universal/blas/solvers.hpp> #include<universal/blas/generators.hpp> #include<universal/include/universal/blas/blas_l1.hpp> const double EPS = 1E-9; const double k = 0.0000001; namespace sw { ...
<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. // Tests for Watchdog class. #include "base/watchdog.h" #include "base/logging.h" #include "base/platform_thread.h" #include "base/sp...
<commit_before>/** * IFT339 - TP3 * Recherche d’information bi-demensionnelle * * Membres de l'équipe : * - Félix Hamel * - Nabil Diab * * Universite de Sherbrooke, automne 2014 */ #include "graphe.h" uint8_t architectureMachine = 2; #include <chrono> #include <ctime> #include <cmath> #i...
<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 "content/browser/renderer_host/test_backing_store.h" #include "content/browser/renderer_host/test_render_view_host.h" #include...
<commit_before>/* * Copyright 2012 Sebastian Gottfried <sebastiangottfried@web.de> * * 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 your option)...
<commit_before>//===-- Writer.cpp - Library for Printing VM assembly files ------*- C++ -*--=// // // This library implements the functionality defined in llvm/Assembly/Writer.h // // This library uses the Analysis library to figure out offsets for // variables in the method tables... // // TODO: print out the type nam...
<commit_before>#include "dxLog.h" #include "dxLog_helper.h" #include "mongoLog.h" using namespace std; namespace DXLog { class MongoDbLog : public UnixDGRAMReader { private: dx::JSON schema; deque<string> que; int maxQueueSize; string socketPath, messagePath, hostname; bool active;...
<commit_before>#ifndef SILICIUM_REACTIVE_TRANSFORM_HPP #define SILICIUM_REACTIVE_TRANSFORM_HPP #include <silicium/observable/observer.hpp> #include <silicium/config.hpp> #include <silicium/detail/proper_value_function.hpp> #include <type_traits> #include <utility> #include <cassert> #include <functional> #include <boo...
<commit_before>/* Copyright (c) 2019, Michael Fisher <mfisher@kushview.net> Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. THE SOFTWAR...
<commit_before>// definition of necessary units static const double cm=1; static const double cm3=cm*cm*cm; static const double volt=1; static const double C=1; // Coulomb static const double e=1.6e-19*C; // electron charge static const double epsilon0=8.854187817e-14*C/volt/cm; // vacuum permittivity // https://link.s...
<commit_before>/****************************************************************************** * ____ _ _____ * * / ___| / \ | ___| C++ * * | | / _ \ | |_ Actor ...
<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) 2015, Matthew Malensek. // Distributed under the BSD 2-Clause License (see LICENSE.txt for details) #include "Error.h" #include <Windows.h> #include "LanguageTranslator.h" #include "Settings.h" std::unordered_map<int, std::wstring> Error::errorMap = { { GENERR_NOTFOUND, L"File no...
<commit_before> //@HEADER // ************************************************************************ // // HPCCG: Simple Conjugate Gradient Benchmark Code // Copyright (2006) Sandia Corporation // // Under terms of Contract DE-AC04-94AL85000, there is a non-exclusive // license for use ...
<commit_before>/*-------------------------------------------------------------------------- File : ble_intrf.cpp Author : Hoang Nguyen Hoan Feb. 6, 2017 Desc : Implementation allow the creation of generic serial interface of a custom Bluetooth Smart service with multiple user defined characteristic...
<commit_before>/* * Open Chinese Convert * * Copyright 2010-2014 BYVoid <byvoid@byvoid.com> * * 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/LI...
<commit_before>#include <grouper.hpp> #include <vector> #include <array> #include <string> #include <utility> #include "helpers.hpp" #include "catch.hpp" using iter::grouper; using Vec = std::vector<int>; using ResVec = std::vector<Vec>; TEST_CASE("grouper: basic test", "[grouper]") { Vec ns = {1,2,3,4,5,6}; ...
<commit_before>#include "cinder/Cinder.h" #include "cinder/app/AppNative.h" #include "cinder/gl/gl.h" #include "cinder/Clipboard.h" #include "cinder/gl/Texture.h" #include "cinder/Utilities.h" #include "Resources.h" using namespace ci; using namespace ci::app; using namespace std; class ClipboardBasicApp : public A...
<commit_before>/* * Telefónica Digital - Product Development and Innovation * * THIS CODE AND INFORMATION ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, * EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED * WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE. * * Copyrig...
<commit_before>// SciTE - Scintilla based Text Editor /** @file StyleDefinition.cxx ** Implementation of style aggregate. **/ // Copyright 2013 by Neil Hodgson <neilh@scintilla.org> // The License.txt file describes the conditions under which this software may be distributed. #include <stdlib.h> #include <string.h> ...
<commit_before>/* CrystalSpace 3D renderer view Copyright (C) 1998 by Jorrit Tyberghein This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the License...
<commit_before>/* * ARServer.cpp * * Created on: Dec 6, 2011 * Author: ddaeschler */ #include "ARServer.h" #include "PacketBufferPool.h" #include <boost/bind.hpp> #include <stdexcept> #include <vector> #include <iostream> using boost::asio::ip::udp; using namespace std; namespace audioreflector { ARSer...
<commit_before><commit_msg>use Xin_s directory<commit_after><|endoftext|>
<commit_before>/*The MIT License (MIT) Copyright (c) 2015 k-brac 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,...
<commit_before>/*****************************************************************************/ /*! * 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/L...
<commit_before>#include "pch.h" #include "DspChunk.h" namespace SaneAudioRenderer { static_assert((int32_t{-1} >> 31) == -1 && (int64_t{-1} >> 63) == -1, "Code relies on right signed shift UB"); static_assert((int64_t)(float)((uint32_t)INT32_MAX + 1) == ((uint32_t)INT32_MAX + 1), "Rounding error"); ...
<commit_before>#include "HRSC/HRSC.h" #include "MOC/Metadata.h" #include "HRSC/ExtoriExtrinsics.h" #include <fstream> #include <vw/Core/Exception.h> #include <vw/Math/EulerAngles.h> using namespace vw::camera; HRSCImageMetadata::HRSCImageMetadata(std::string const& filename) { m_filename = filename; m_line_t...
<commit_before>/* -------------------------------------------------------------------------- libmusicbrainz4 - Client library to access MusicBrainz Copyright (C) 2011 Andrew Hawkins This file is part of libmusicbrainz4. This library is free software; you can redistribute it and/or modify it under the...
<commit_before>#include "JsPlayer.h" #include <string.h> #include <node_buffer.h> #include <nah/NodeHelpers.h> /////////////////////////////////////////////////////////////////////////////// struct JsPlayer::AsyncData { virtual void process( JsPlayer* ) = 0; }; /////////////////////////////////////////////////...
<commit_before>/*----------------------------------------------------------------------------*/ /* Copyright (c) FIRST 2015. All Rights Reserved. */ /* Open Source Software - may be modified and shared by FRC teams. The code */ /* must be accompanied by the FIRST BSD license file in the ro...
<commit_before>/* * Reporter.cpp * * Created on: Apr 28, 2014 * Author: khanhn */ #include "Reporter.h" Reporter::Reporter() { } Reporter::~Reporter() { } // Is it working? // Looks like it's not working? <commit_msg>It should be working by this commit<commit_after>/* * Reporter.cpp * * Created on:...
<commit_before>//************************************************************/ // // Spectrum // // @Author: J. Gibson, C. Embree, T. Carli - CERN ATLAS // @Date: 19.09.2014 // @Email: gibsjose@mail.gvsu.edu // //************************************************************/ #include <iostream> #include "SPXROOT.h"...
<commit_before>// Vaca - Visual Application Components Abstraction // Copyright (c) 2008, 2009, Jie Zhang, David Capello // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions // are met: // // * Redistributi...
<commit_before>// adbwatch.cpp : Defines the entry point for the console application. // #include <WinSDKVer.h> #include <SDKDDKVer.h> #include <stdio.h> #include <tchar.h> #include <Windows.h> #include <Wtsapi32.h> #include <atlstr.h> #include <atlcoll.h> #include <Shlwapi.h> int startup_delay = 60; bo...
<commit_before>#include "iApp.h" #include "bbcConfig.h" #include "Poco/DateTimeParser.h" string iApp::app_name = "iApp"; string iApp::app_version = "1.0.0"; // Archive (compress) logs that are 1MB #define IAPP_DEF_LOG_SIZE_ARCH_KB_MAX 1024 using namespace bbc::utils; iApp::iApp(string _app_name, string _app_versio...
<commit_before>#include <iostream> void imageToGround(double sample, double line); // Simple application to test the CSM imageToGround() method for MDIS-NAC // i.e. prototyping int main() { double sample = 512.0; double line = 512.0; std::cout << "Enter a sample: "; std::cin >> sample; std::cout << "Enter...
<commit_before>/* ************************************************************************* */ /* This file is part of Shard. */ /* */ /* Shard is free software: you can redistribute it and/or modify ...
<commit_before>/* * #%L * %% * Copyright (C) 2011 - 2017 BMW Car IT GmbH * %% * 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 * ...
<commit_before>// Copyright 2010-2013 RethinkDB, all rights reserved. #include "backtrace.hpp" #ifdef _WIN32 // TODO WINDOWS #else #include <cxxabi.h> #include <execinfo.h> #include <stdio.h> #include <string.h> #include <unistd.h> #include <fcntl.h> #include <sys/wait.h> #include <string> #include "arch/runtime/...
<commit_before>// The MIT License(MIT) // Copyright(c) 2016 Jeff Rebacz // // 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 ...
<commit_before>class Solution { public: vector<vector<int>> generateMatrix(int n) { vector<vector<int>> res; for (int i = 0; i < n; ++i) { vector<int> tmp(n, 0); res.push_back(tmp); } int k = (n + 1)>>1, num = 1; for (int i = 0, j = 0; i < k && j < k; ...
<commit_before>#include <iostream> #include <gtkmm/box.h> #include <gtkmm/widget.h> #include "leftpaneview.hh" #include "windowbody.hh" LeftPaneView::LeftPaneView (bool homogeneous, int spacing, Gtk::PackOptions options, int padding) { set_orientation (Gtk::ORIENTATION_VERTICAL); set_size_request (200, -1); ...
<commit_before>#include "ExtraRenderers.hpp" #include "wxExtensions.hpp" #include "GUI.hpp" #include "I18N.hpp" #include "BitmapComboBox.hpp" #include <wx/dc.h> #ifdef wxHAS_GENERIC_DATAVIEWCTRL #include "wx/generic/private/markuptext.h" #include "wx/generic/private/rowheightcache.h" #include "wx/generic/private/width...
<commit_before>//=========================================== // Lumina Desktop Source Code // Copyright (c) 2016, Ken Moore // Available under the 3-clause BSD license // See the LICENSE file for full details //=========================================== #include "page_main.h" #include "ui_page_main.h" #include "ge...
<commit_before><commit_msg>[SWDEV-345750] Fix Tensorflow pooling test failure (#1659)<commit_after><|endoftext|>
<commit_before>/*********************************************************************************************************************** * * * SPLASH build system v0.2 ...
<commit_before>// Copyright 2018 The SwiftShader 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 // // Un...
<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 distribu...
<commit_before>#include <windows.h> #include <winsock.h> #include <string> using std::string; #include <iostream> using std::cout; using std::endl; using std::cin; namespace as3 { class Socket { public: explicit Socket(SOCKET s) : socket_{ s } {} Socket(int address_famil...
<commit_before>/* * $Id: field.cc,v 2.7 2005/10/20 11:24:12 martin Exp $ * Copyright (c) 2004, 2005, Voidsoft AB */ #include <iostream> #include "field.hh" #include "tdspp.hh" // for TDSPP::Exception /** Class Field */ /** Constructor */ Field::Field() : data(NULL) { } Field::Field(string name, int size) { ...
<commit_before> #include "precompiled.h" void WarpZone::setDistination(const ofVec2f& pos) { destPos_ = pos; x_.animateFromTo(pos_.x, destPos_.x); y_.animateFromTo(pos_.y, destPos_.y); x_.setDuration(1); y_.setDuration(1); x_.setCurve(EASE_IN); y_.setCurve(EASE_IN); } WarpZone::WarpZone() { name_ = "Warp...
<commit_before>// Copyright (c) 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/browser/extensions/user_script_master.h" #include <string> #include <vector> #include "base/file_path.h" #include "b...
<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/browser/renderer_host/backing_store.h" #include <stdlib.h> #include <utility> #include "base/compiler_specific....
<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/sessions/base_session_service.h" #include "base/bind.h" #include "base/pickle.h" #include "base/stl_util.h" #...
<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/tabs/dock_info.h" #include "chrome/browser/ui/views/tabs/tab.h" #include "build/build_config.h" #if !defi...
<commit_before>// Copyright (c) 2011 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/ui/webui/fileicon_source_cros.h" #include <map> #include <utility> #include <vector> #include "base/file_uti...
<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/utf_string_conversions.h" #include "chrome/common/render_messages.h" #include "chrome/common/render_messages_params.h" #...
<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 <map> #include "base/command_line.h" #include "base/file_util.h" #include "base/path_service.h" #include "base/string_number_...
<commit_before>//--------------------------------------------------------------------*- C++ -*- // CLING - the C++ LLVM-based InterpreterG :) // version: $Id$ // author: Axel Naumann <axel@cern.ch> //------------------------------------------------------------------------------ #include "ExecutionContext.h" #include...
<commit_before>/* Vsevolod Ivanov * * TODO: * - set connection timeout * - implement sessions */ #include "proxy_restinio.h" DhtProxyServer::DhtProxyServer(std::shared_ptr<dht::DhtRunner> dhtNode, in_port_t port): dhtNode(dhtNode) { this->jsonBuilder["commentStyle"] = "No...
<commit_before>// Copyright (c) 2018 Chris Ohk, Youngjoong Kim, SeungHyun Jeon // We are making my contributions/submissions to this project solely in our // personal capacity and are not conveying any rights to any intellectual // property of any third parties. #include <hspp/Cards/Cards.hpp> #include <hspp/Games/Ga...
<commit_before>void MakeT0FullMisAlignment(){ // Create TClonesArray of full misalignment objects for T0 // TClonesArray *array = new TClonesArray("AliAlignObjParams",30); TClonesArray &alobj = *array; Double_t dx, dy, dz, dpsi, dtheta, dphi; TRandom *rnd = new TRandom(4321); Double_t sigmatr = 0.05; /...
<commit_before>#include "Crypto/CppDsaPrivateKey.hpp" #include "Crypto/CppDsaPublicKey.hpp" #include "Utils/QRunTimeError.hpp" #include "Utils/Timer.hpp" #include "Utils/TimerCallback.hpp" #include "NeffKeyShuffle.hpp" namespace Dissent { using Crypto::CppDsaPrivateKey; using Crypto::CppDsaPublicKey; using Util...
<commit_before>/** * kernel.hpp - * @author: Jonathan Beard * @version: Thu Sep 11 15:34:24 2014 * * Copyright 2014 Jonathan Beard * * 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>#include "SoloReadFeature.h" #include "serviceFuns.cpp" #include "SequenceFuns.h" uint32 outputReadCB(fstream *streamOut, int32 featureType, uint32 umiB, uint32 gene, vector<array<uint64,2>> &readSJs, const string &stringCB, const uint64 iRead) { //feature uint64 nout=1; if (featureType==...
<commit_before>#include "messagedirector.h" #include "../core/config.h" ConfigVariable<std::string> bind_addr("messagedirector/bind", "unspecified"); MessageDirector MessageDirector::singleton; void MessageDirector::InitializeMD() { if(!m_initialized) { if(bind_addr.get_val() != "unspecified") { } } } Messa...
<commit_before>//======================================================================= // Copyright Baptiste Wicht 2011-2013. // 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) //=================================...
<commit_before>/**************************************************************************** ** ** Copyright (C) 2012 Nokia Corporation and/or its subsidiary(-ies). ** Contact: http://www.qt-project.org/ ** ** This file is part of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL$ ** GNU Lesser General Public License Usage ...
<commit_before>////////////////////////////////////////////////////////////////////////////// // // Copyright (c) 2004-2020 musikcube team // // 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>#include <catch.hpp> #ifndef WX_PRECOMP #include "wx/app.h" #include "wx/sizer.h" #include "wx/uiaction.h" #endif // WX_PRECOMP #include <iostream> #include <tuple> #include "testableframe.h" #include "OptionsGroup/Field.hpp" #include "ConfigBase.hpp" #include "Point.hpp" using namespace std::string_...
<commit_before><commit_msg>The AutomationMsg_SetCookie IPC should be channeled to the automation cookie store for ChromeFrame. This ensures that the automation client would receive a callback when the cookie is set on the store.<commit_after><|endoftext|>
<commit_before>/* * Copyright (c) 2012 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 2017-2018 Intel 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 // ...
<commit_before>// This Source Code Form is licensed MPL-2.0: http://mozilla.org/MPL/2.0 #ifndef __RAPICORN_FORMATTER_HH__ #define __RAPICORN_FORMATTER_HH__ #include <rcore/cxxaux.hh> #include <rcore/aida.hh> #include <sstream> namespace Rapicorn { namespace Lib { // Namespace for implementation internals // == Strin...
<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/prerender/prerender_histograms.h" #include <string> #include "base/metrics/field_trial.h" #include "base/met...
<commit_before>// ****************************************************************************************** // * This project is licensed under the GNU Affero GPL v3. Copyright © 2014 A3Wasteland.com * // ****************************************************************************************** #define playerMenuDialo...
<commit_before>/* * Copyright (c) 2013 Maciej Cencora <m.cencora@gmail.com> * * 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 rig...
<commit_before>#pragma once #include "ReflectionUtility.hpp" // Remove Lua if the user requests so. #ifdef REFLECT_NO_LUA #define REFLECT_LUA_PLUGIN_LIST_ENTRY #else #define REFLECT_LUA_PLUGIN_LIST_ENTRY ,Lua::ReflectionPlugin #endif // Includes for all plugins: include your custom plugin here. #include "Default...
<commit_before>/*===================================================================== QGroundControl Open Source Ground Control Station (c) 2009, 2010 QGROUNDCONTROL PROJECT <http://www.qgroundcontrol.org> This file is part of the QGROUNDCONTROL project QGROUNDCONTROL is free software: you can redistribute it ...
<commit_before>// UVa11809 Floating-Point Numbers #include <iostream> #include <cmath> #include <sstream> #include <unordered_map> #include <tuple> using namespace std; struct HashPair { size_t operator()(const pair<double, int>& p) const { return hash<double>()(p.first) ^ hash<int>()(p.second); } }; ...
<commit_before>//Copyright (c) 2017 Ultimaker B.V. //CuraEngine is released under the terms of the AGPLv3 or higher. #include "MinimumSpanningTree.h" namespace cura { MinimumSpanningTree::MinimumSpanningTree(const std::vector<Point> vertices) : adjacency_graph(prim(vertices)) { //Just copy over the fields. } Mi...
<commit_before>#include <vector> #include <boost/filesystem.hpp> #include <QtMath> #include <QTime> #include "fish_annotator/common/species_dialog.h" #include "fish_annotator/video_annotator/mainwindow.h" #include "ui_mainwindow.h" namespace fish_annotator { namespace video_annotator { namespace fs = boost::filesy...