text
stringlengths
54
60.6k
<commit_before>/***************************************************************************/ /* Copyright (c) 2014 Linas Vepstas */ /* All rights reserved */ /* ...
<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/prerender/prerender_field_trial.h" #include "base/command_line.h" #include "base/logging.h" #include "base/me...
<commit_before>/* * Copyright (C) 2008-2014 The Communi Project * * This example is free, and not covered by the LGPL license. There is no * restriction applied to their modification, redistribution, using and so on. * You can study them, modify them, use them in your own program - either * completely or partiall...
<commit_before>// // complex2record // // This pass changes the primitive complex type to a record. As an // optimization, unimplemented, it can be turned off to take advantage // of C99 support of complex types. // #include "astutil.h" #include "build.h" #include "expr.h" #include "passes.h" #include "stmt.h" #inclu...
<commit_before>// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. #include "proto_converter.h" #include <vespa/searchlib/common/mapnames.h> #include <vespa/vespalib/data/slime/slime.h> #include <vespa/vespalib/data/slime/binary_format.h> #include <vespa/vespalib/da...
<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 "remoting/host/simple_host.h" #include "base/stl_util-inl.h" #include "build/build_config.h" #include "remoting/base/constant...
<commit_before>/* * Copyright (c) 2007-2008 Digital Bazaar, Inc. All rights reserved. */ #include <iostream> #include "db/test/Test.h" #include "db/test/Tester.h" #include "db/test/TestRunner.h" #include "db/rt/Runnable.h" #include "db/rt/System.h" using namespace std; using namespace db::test; using namespace db:...
<commit_before>/** * Clever programming language * Copyright (c) 2011-2012 Clever Team * * 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 limita...
<commit_before>#include <boost/program_options.hpp> #include <boost/optional.hpp> #include <iostream> #include <boost/thread.hpp> #include <silicium/http/receive_request.hpp> #include <silicium/asio/tcp_acceptor.hpp> #include <silicium/asio/writing_observable.hpp> #include <silicium/observable/spawn_coroutine.hpp> #inc...
<commit_before>// Frame.cpp #include "Frame.h" #include "Application.h" #include "Puzzle.h" #include "Canvas.h" #include <wx/menu.h> #include <wx/aboutdlg.h> #include <wx/msgdlg.h> #include <wx/sizer.h> Frame::Frame( void ) : wxFrame( 0, wxID_ANY, "Symmetry Group Madness" ), timer( this, ID_Timer ) { wxMenu* gameMen...
<commit_before>//===-- buffer_queue_test.cc ----------------------------------------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------...
<commit_before>// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. #include "routablefactories60.h" #include "routingpolicyfactories.h" #include "routablerepository.h" #include "routingpolicyrepository.h" #include "replymerger.h" #include <vespa/document/util/string...
<commit_before>/****************************************************************************** * ____ _ _____ * * / ___| / \ | ___| C++ * * | | / _ \ | |_ Actor ...
<commit_before>/* ----------------------------------------------------------------------------- This source file is part of OGRE (Object-oriented Graphics Rendering Engine) For the latest info, see http://www.ogre3d.org Copyright (c) 2000-2013 Torus Knot Software Ltd Permission is hereby granted, free of charge, to an...
<commit_before>#include "../base/SRC_FIRST.hpp" #include "overlay_element.hpp" namespace graphics { OverlayElement::~OverlayElement() {} OverlayElement::Params::Params() : m_pivot(0, 0), m_position(EPosAboveRight), m_depth(maxDepth), m_userInfo() {} OverlayElement::OverlayElement(Para...
<commit_before>/* * tests/wobbly_test.cpp * * Tests for the "wobbly" spring model. * * See LICENCE.md for Copyright information. */ #include <array> // for array #include <functional> // for function, __base #include <memory> // for unique_ptr #includ...
<commit_before>#include <bits/stdc++.h> using namespace std; struct UnionFind { vector<int> p, rank, setSize; int numSets; UnionFind(int N) { setSize.assign(N, 1); numSets = N; rank.assign(N, 0); p.assign(N, 0); for (int i = 0; i < N; i++) p[i] = i; } int findSet(int ...
<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/chromeos/system/touchpad_settings.h" #include "base/bind.h" #include "base/file_path.h" #include "base/file_u...
<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/browser_dialogs.h" #include <gtk/gtk.h> #include "base/process_util.h" #include "base/utf_string_conversi...
<commit_before>#pragma once #include <depthai-shared/common/EepromData.hpp> #include <depthai-shared/common/optional.hpp> #include <nlohmann/json.hpp> #include "depthai-shared/common/CameraBoardSocket.hpp" #include "depthai-shared/datatype/RawStereoDepthConfig.hpp" namespace dai { /** * Specify properties for Ster...
<commit_before>/*========================================================================= Program: Visualization Toolkit Module: %M% Language: C++ Date: %D% Version: %V% Copyright (c) 1993-2000 Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. Redistribution and use in source an...
<commit_before>/* MIT License Copyright (c) 2017 Chris McArthur, prince.chrismc(at)gmail(dot)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 ...
<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...
<commit_before>//====================================================================================================================// // File: qcan_socket.cpp // // Description: CAN socket class ...
<commit_before>/* Highly Optimized Object-oriented Many-particle Dynamics -- Blue Edition (HOOMD-blue) Open Source Software License Copyright 2009-2015 The Regents of the University of Michigan All rights reserved. HOOMD-blue may contain modifications ("Contributions") provided, and to which copyright is held, by vari...
<commit_before>/* This source file must have a .cpp extension so that all C++ compilers recognize the extension without flags. Borland does not know .cxx for example. */ #ifndef __cplusplus # error "A C compiler has been selected for C++." #endif /* Version number components: V=Version, R=Revision, P=Patch ...
<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/extensions/app_host/binaries_installer.h" #include "base/logging.h" #include "base/threading/platform_thread....
<commit_before>/* FILNAMN: server.cc PROGRAMMERARE: hanel742, eriek984, jened502, tobgr602, niker917, davha227 SKAPAD DATUM: 2013-11-18 BESKRIVNING: */ #include "thread.h" using namespace std; // --------------------------------------- // Helper functions void Thread::handleMessage(QString inData){ int ...
<commit_before>/** * This file is part of the "FnordMetric" project * Copyright (c) 2011-2014 Paul Asmuth, Google Inc. * * 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 ...
<commit_before>/* * Copyright (C) 2008-2020 The QXmpp developers * * Authors: * Manjeet Dahiya * Jeremy Lainé * * Source: * https://github.com/qxmpp-project/qxmpp * * This file is a part of QXmpp library. * * This library is free software; you can redistribute it and/or * modify it under the terms of th...
<commit_before>// The libMesh Finite Element Library. // Copyright (C) 2002-2012 Benjamin S. Kirk, John W. Peterson, Roy H. Stogner // 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; eit...
<commit_before>// Copyright 2014 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 "chrome/browser/media/webrtc_browsertest_base.h" #include "chrome/browser/media/webrtc_browsertest_...
<commit_before>#include "ovpCBoxAlgorithmSoundPlayer.h" #if defined OVP_OS_Windows #include <windows.h> #include <mmsystem.h> #endif #if defined OVP_OS_Linux #include <unistd.h> #endif #include <string> #include <cstdlib> using namespace OpenViBE; using namespace OpenViBE::Kernel; using namespace OpenViBE::Plugin...
<commit_before>/* * Copyright (c) 2016 Abhishek Agrawal (abhishek.agrawal@protonmail.com) * Distributed under the MIT License. * See accompanying file LICENSE.md or copy at http://opensource.org/licenses/MIT */ // This code will convert multiple cartesian state vectors // into TLE and check where exactly the Atom...
<commit_before>/// /// @file AC_mpi.cpp /// @brief Implementation of the A + C formulas (from Xavier Gourdon's /// algorithm) that have been distributed using MPI (Message /// Passing Interface) and multi-threaded using OpenMP. /// /// Copyright (C) 2021 Kim Walisch, <kim.walisch@gmail.com> /// /// This ...
<commit_before>/* ==================================================================== Copyright (c) 2011 Ian Blumel. All rights reserved. This software is licensed as described in the file LICENSE, which you should have received as part of this distribution. ==========================================================...
<commit_before>// Copyright (C) 2017 Rob Caelers <rob.caelers@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 rights // ...
<commit_before>/***************************************************************************** * * This file is part of Mapnik (c++ mapping toolkit) * * Copyright (C) 2006 Artem Pavlenko, Jean-Francois Doyon, Dane Springmeyer * * This library is free software; you can redistribute it and/or * modify it under the...
<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/constrained_html_ui.h" #include "chrome/browser/profiles/profile.h" #include "chrome/browser/ui/gtk/...
<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/printing/print_job.h" #include "base/bind.h" #include "base/bind_helpers.h" #include "base/message_loop/messa...
<commit_before>#define BOOST_TEST_DYN_LINK #define BOOST_TEST_MODULE client #include <boost/test/unit_test.hpp> #include "client.hpp" #include "request.hpp" #include "reply.hpp" BOOST_AUTO_TEST_CASE(check_readrequest) { request r; BOOST_CHECK (read_request ("b", r) == invalid_request); BOOST_CHECK (read_reques...
<commit_before>// USE INF = 1e9! // w: weight or cost, c : capacity struct edge {int v, f, w, c; }; int node_count, flw_lmt=INF, src, snk, flw, cst, p[N], d[N], et[N]; vector<edge> e; vector<int> g[N]; void add_edge(int u, int v, int w, int c) { int k = e.size(); node_count = max(node_count, u+1); node_count =...
<commit_before>/*========================================================================= Program: Insight Segmentation & Registration Toolkit Module: qtITK.cxx Language: C++ Date: $Date$ Version: $Revision$ Copyright (c) 2002 Insight Consortium. All rights reserved. See ITKCopyright.txt o...
<commit_before>AliAnalysisTask *AddTaskHFEnpePbPb5TeV(Bool_t MCthere, Bool_t isAOD = kTRUE, Bool_t kNPERef = kTRUE, Bool_t kNPEkAny = kFALSE, Bool_t newCentralitySelection = kTRUE, // kTRUE: new framework used; kFALSE: old framework us...
<commit_before>/* * Copyright 2018 The Cartographer 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...
<commit_before>// AddTaskEmcalJetSpectraQA.C AliAnalysisHFjetTagHFE* AddTaskHFjetTagHFE( const char *ntracks = "usedefault", const char *nclusters = "usedefault", const char *njets = "Jets", const char *nrho = "Rho", Double_t jetradius = 0.3, Doubl...
<commit_before>#include "acmacs-base/rjson-v3.hh" #include "acmacs-draw/continent-map.hh" #include "acmacs-draw/draw-legend.hh" #include "acmacs-draw/draw-elements.hh" #include "acmacs-map-draw/map-elements-v1.hh" #include "acmacs-map-draw/draw.hh" #include "acmacs-map-draw/mapi-settings.hh" // -----------------------...
<commit_before><commit_msg>Create Range Sum Query - Mutable.cpp<commit_after><|endoftext|>
<commit_before>// this file defines the SegmentationExamples for the test driver // and all it expects is that you have a function called RegisterTests #ifdef _MSC_VER #pragma warning ( disable : 4786 ) #endif #include <iostream> #include "itkTestMain.h" void RegisterTests() { REGISTER_TEST(CannySegmentationLevelSet...
<commit_before>// Copyright 2012 Cloudera 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.org/licenses/LICENSE-2.0 // // Unless required by applicable law or ...
<commit_before>#include <cmath> #include "DataStruct.h" ClassImp(Event) ClassImp(Dimuon) ClassImp(Spill) ClassImp(Track) #define SPILLID_MIN_57 303215 #define SPILLID_MAX_57 370100 #define SPILLID_MIN_59 370110 #define SPILLID_MAX_59 388580 #define SPILLID_MIN_61 388611 #define SPILLID_MAX_61 391100 #define SPILLID_M...
<commit_before>// File: btBoostWrapper.cpp #ifndef _btBoostWrapper_cpp #define _btBoostWrapper_cpp #pragma GCC diagnostic ignored "-Wunused-variable" #pragma GCC diagnostic ignored "-Wreorder" #include <boost/python.hpp> #include <btBoost/btBoostLinearMath.hpp> #include <btBoost/btBoostDynamics.hpp> using namespace ...
<commit_before>/* * SourceCode.cpp * * This file is part of the XShaderCompiler project (Copyright (c) 2014-2016 by Lukas Hermanns) * See "LICENSE.txt" for license information. */ #include "SourceCode.h" #include <algorithm> namespace Xsc { SourceCode::SourceCode(const std::shared_ptr<std::istream>& stream) ...
<commit_before>// // TiledVectorLayerTileImageProvider.cpp // G3MiOSSDK // // Created by Diego Gomez Deck on 4/30/14. // // #include "TiledVectorLayerTileImageProvider.hpp" #include "TiledVectorLayer.hpp" #include "Tile.hpp" #include "IDownloader.hpp" #include "TileImageListener.hpp" #include "TileImageContribution...
<commit_before>#include <iostream> #include <vector> #include <stdexcept> const uint32_t MOD = 1000000007; const size_t MAX_LENGTH = 200; typedef std::vector<std::vector<uint32_t>> matrix; /** * The class substring presents an efficient substring view of a string by * using an offset and source string reference t...
<commit_before>/* RCSwitch - Arduino libary for remote control outlet switches Copyright (c) 2011 Suat Özgür. All right reserved. Contributors: - Gordeev Andrey Vladimirovich / gordeev(at)openpyro(dot)com Project home: http://code.google.com/p/rc-switch/ This library is free software; you c...
<commit_before>#include <iostream> #include "distances/detail/Matrix.hh" #include "distances/detail/Munkres.hh" using namespace aleph::distances::detail; int main() { Matrix<unsigned short> m( 3 ); m(0,0) = 1; m(0,1) = 2; m(0,2) = 3; m(1,0) = 2; m(1,1) = 4; m(1,2) = 6; m(2,0) = 3; m(2,1) = 6; m(2,2) = 9; ...
<commit_before>/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "Lice...
<commit_before>#ifndef __SHADER_PRIORITY_QUEUE_HPP_INCLUDED #define __SHADER_PRIORITY_QUEUE_HPP_INCLUDED #include "code/ylikuutio/ontology/shader.hpp" #include "code/ylikuutio/ontology/shader_compare.hpp" // Include standard headers #include <cstddef> // std::size_t #include <queue> // std::priority_queue, std::que...
<commit_before>/************************************************************************* * * $RCSfile: bootstrap.hxx,v $ * * $Revision: 1.22 $ * * last change: $Author: hr $ $Date: 2003-03-19 16:18:53 $ * * The Contents of this file are made available subject to the terms of * either of the following lic...
<commit_before>/***************************************************************************//** * FILE : block_array.hpp * * Implements an array container allocated in blocks. */ /* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Publi...
<commit_before>/************************************************************************* * * $RCSfile: valuenode.hxx,v $ * * $Revision: 1.27 $ * * last change: $Author: svesik $ $Date: 2004-04-21 13:23:29 $ * * The Contents of this file are made available subject to the terms of * either of the following...
<commit_before>#include "buffer_cache/mock.hpp" #include "arch/arch.hpp" #include "arch/random_delay.hpp" /* Internal buf object */ struct internal_buf_t { mock_cache_t *cache; block_id_t block_id; repli_timestamp subtree_recency; void *data; rwi_lock_t lock; internal_buf_t(mock_cache_t *...
<commit_before> #include <gloperate/gloperate-version.h> #include <gloperate/plugin/plugin_api.h> #include "multiframepainter/MultiFramePainter.h" #include "singleframepainter/SingleFramePainter.h" GLOPERATE_PLUGIN_LIBRARY GLOPERATE_PAINTER_PLUGIN(MultiFramePainter , "MultiFramePainter" , "Moep" , G...
<commit_before>/** * \file * \brief Scheduler class implementation * * \author Copyright (C) 2014 Kamil Szczygiel http://www.distortec.com http://www.freddiechopin.info * * \par License * 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 * distribu...
<commit_before>/** * \file * \brief Scheduler class implementation * * \author Copyright (C) 2014 Kamil Szczygiel http://www.distortec.com http://www.freddiechopin.info * * \par License * 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 * distribu...
<commit_before>/************************************************************************* * * $RCSfile: appmain.cxx,v $ * * $Revision: 1.17 $ * * last change: $Author: hr $ $Date: 2004-02-03 19:53:21 $ * * The Contents of this file are made available subject to the terms of * either of the following licen...
<commit_before>#pragma once #include <ContinuousArtScroller.h> #include <MeshFactory.h> #include <MeshInterface.h> #include <Texture.h> #include <sstream> #include <MY_ResourceManager.h> ContinuousArtScroller::ContinuousArtScroller(std::string _fileDir, ComponentShaderBase * _shader) : ArtLayer(dynamic_cast<ShaderCo...
<commit_before>/* * This file is part of Maliit Plugins * * Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). All rights reserved. * * Contact: Mohammad Anwari <Mohammad.Anwari@nokia.com> * * Redistribution and use in source and binary forms, with or without modification, * are permitted provide...
<commit_before>//===------------------------- incomplete_type.cpp --------------------------===// // // 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>/* Copyright (c) 2016 Erik Rigtorp <erik@rigtorp.se> 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, modif...
<commit_before>// Ylikuutio - A 3D game and simulation engine. // // Copyright (C) 2015-2021 Antti Nuortimo. // // 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 ...
<commit_before>#include <GL/glew.h> #include "EditorWindow.hpp" #include "Util/EditorSettings.hpp" #include <Engine/Util/Log.hpp> #include "GUI/ImageButton.hpp" #include "GUI/ImageTextButton.hpp" #include <Engine/Resources.hpp> #include <File.png.hpp> #include <Options.png.hpp> #include <Play.png.hpp> #include <NewHy...
<commit_before>// -*- mode:C++; tab-width:2; c-basic-offset:2; indent-tabs-mode:t -*- /* * Ceph - scalable distributed file system * * Copyright (C) 2004-2006 Sage Weil <sage@newdream.net> * * This is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * Li...
<commit_before>/* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the LICENSE * file in the root directory of this source tree. */ #include "mcrouter/lib/network/ThriftTransport.h" #include <folly/fibers/FiberManager.h> #include <folly/io/async/As...
<commit_before> <commit_msg>Delete mistake<commit_after><|endoftext|>
<commit_before>// The libMesh Finite Element Library. // Copyright (C) 2002-2013 Benjamin S. Kirk, John W. Peterson, Roy H. Stogner // 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; eit...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: rsckey.cxx,v $ * * $Revision: 1.5 $ * * last change: $Author: hr $ $Date: 2006-06-20 05:46:38 $ * * The Contents of this file are made av...
<commit_before>/*********************************************************************** filename: CEGUIWindowManager.cpp created: 21/2/2004 author: Paul D Turner purpose: Implements the WindowManager class *************************************************************************/ /*******************************...
<commit_before> #include "../Flare.h" #include "FlareTurret.h" #include "FlareSpacecraft.h" #include "FlareShell.h" /*---------------------------------------------------- Constructor ----------------------------------------------------*/ UFlareTurret::UFlareTurret(const class FObjectInitializer& PCIP) : Super(PCIP...
<commit_before>#ifdef __EMSCRIPTEN__ #include <babylon/asio/asio.h> #include <babylon/core/logging.h> #include <babylon/misc/string_tools.h> #include <iostream> #include <emscripten.h> #include <unordered_map> #include <thread> #include <chrono> #include <sstream> namespace BABYLON { namespace asio { namespace { s...
<commit_before>/* Copyright 2018 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>#ifndef _CCTAG_MODECONFIG_HPP #define _CCTAG_MODECONFIG_HPP #ifdef DEBUG #define CCTAG_SERIALIZE #endif #endif /* MODECONFIG_HPP */ <commit_msg>Remove modeConfig.hpp<commit_after><|endoftext|>
<commit_before>// Copyright 2019 DeepMind Technologies Ltd. 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 // //...
<commit_before>#ifndef database_connection_hpp #define database_connection_hpp #include <boost/noncopyable.hpp> #include <boost/scoped_ptr.hpp> #include <boost/filesystem/path.hpp> #include <boost/noncopyable.hpp> #include <boost/shared_ptr.hpp> #include <boost/unordered_map.hpp> #include <set> #include <string> #incl...
<commit_before>/******************************************************************************* Copyright The University of Auckland 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....
<commit_before>// Copyright (c) 2009 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/gtk/about_chrome_dialog.h" #include <gtk/gtk.h> #include "app/l10n_util.h" #include "app/resource_bundle.h" ...
<commit_before>// Copyright (c) 2018, 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/globals.h" #if defined(HOST_OS_LINUX) || defined(HOST_OS_MACOS) || ...
<commit_before>#include <sirius.h> using namespace sirius; void test_unit_cell() { Simulation_context ctx("sirius.json", mpi_comm_world()); ctx.unit_cell().initialize(); vector3d<int> k_grid(2, 2, 1); vector3d<int> k_shift(1, 1, 0); mdarray<double, 2> kp; std::vector<double> wk; int ...
<commit_before>/*****************************************************************************/ /** * @file ScreenBase.cpp * @author Naohisa Sakamoto */ /*****************************************************************************/ #include "ScreenBase.h" #include "Application.h" #include "KVSMouseButton.h" #inc...
<commit_before>// ------------------------------------------------------------------------------------- // Author: Sourabh S Joshi (cbrghostrider); Copyright - All rights reserved. // For email, run on linux (perl v5.8.5): // perl -e 'print pack "H*","736f75726162682e732e6a6f73686940676d...
<commit_before>////////////////////////////////////////////////////////////////////////// // // Copyright (c) 2013, 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>#include <SDL2/SDL.h> #include "PrjHndl.h" #include "TxtRead.h" #include "Resource.h" #include "compression/KidDec.h" #include "compression/ReadPlain.h" #include "FW_KENSC/comper.h" #include "FW_KENSC/enigma.h" #include "FW_KENSC/kosinski.h" #include "FW_KENSC/nemesis.h" #include "FW_KENSC/saxman.h" c...
<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. // Navigates the browser to server and client redirect pages and makes sure // that the correct redirects are reflected in the history ...
<commit_before>#include "PublishSpriteSheet.h" #include "SpritePackerProjectFile.h" #include "SpriteAtlas.h" #include "PListSerializer.h" #include <QMessageBox> #include "PngOptimizer.h" #include "PVRTexture.h" #include "PVRTextureUtilities.h" using namespace pvrtexture; QMap<QString, QString> PublishSpriteSheet::_fo...
<commit_before>// Copyright 2022 The 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 applicable ...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: basedlgs.hxx,v $ * * $Revision: 1.2 $ * * last change: $Author: vg $ $Date: 2007-04-11 21:16:29 $ * * The Contents of this file are made ...
<commit_before>#include <iostream> #include <unordered_map> #include <cstring> #include <limits> #include <cmath> #include <cfloat> class Tokenizer { public: void updateToken( const char *&text) //Указатель будет сдвигаться. Текст - это ссылка на указатель константной char. Не смогу менять то, что вну...
<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. // Portions based heavily on: // third_party/WebKit/Source/WebKit/chromium/public/gtk/WebInputEventFactory.cpp // /* * Copyright (C) 2...
<commit_before>/** This file contains a sequence of tests to perform for different instances of a templatized fixture. It is thus inlined several times in the .cpp test file. */ // ============================== // Set/get value tests TEST_F(TestMatrix, set_fullMat ) { ASSERT_TRUE( matrixMaxDiff(mat,fullMat) < 1...