text
stringlengths
54
60.6k
<commit_before>/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ /* * File: DMCreditsController.cpp * Author: demensdeum * * Created on April 17, 2017, 11:46 PM */ #include "...
<commit_before> /* ******************************************************************************** ***************************** Implementation Details *************************** ******************************************************************************** */ #ifndef _Stroika_Foundation_Cache_SynchronizedTimed...
<commit_before>/* * Copyright(c) Sophist Solutions, Inc. 1990-2015. All rights reserved */ #include "../../../StroikaPreComp.h" #include "../../../../Foundation/Characters/Format.h" #include "../../../../Foundation/Characters/String_Constant.h" #include "../../../../Foundation/Containers/Sequence.h" #in...
<commit_before>/* Copyright (C) 2003 MySQL AB 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) any later version. This program is d...
<commit_before>//____________________________________________________________________________ /*! \class GasTPCGun: Not the classical way to run a particle gun. The way the simulation is setup is much easier to generate each particle's kinematics and then propagate ...
<commit_before>// ------------------------------------------------------------------ // pion-net: a C++ framework for building lightweight HTTP interfaces // ------------------------------------------------------------------ // Copyright (C) 2007-2008 Atomic Labs, Inc. (http://www.atomiclabs.com) // // Distributed und...
<commit_before>/************************************************************************* * * $RCSfile: documentacceleratorconfiguration.cxx,v $ * * $Revision: 1.6 $ * * last change: $Author: kz $ $Date: 2005-03-01 19:34:47 $ * * The Contents of this file are made available subject to the terms of * eithe...
<commit_before>#pragma once #include <libxml/xmlreader.h> #include <libxml/xmlwriter.h> namespace xml11 { namespace { #define CreateErrorText(param) \ (std::string(__FILE__) + ": " + __FUNCTION__ + ": " + std::to_string(__LINE__) + ": Error in " + (param)); using BufferType = std::decay_t<decltype(xmlBufferCre...
<commit_before>/************************************************************************* * * $RCSfile: kernihdl.cxx,v $ * * $Revision: 1.2 $ * * last change: $Author: mib $ $Date: 2000-10-23 12:58:32 $ * * The Contents of this file are made available subject to the terms of * either of the following lice...
<commit_before>/*============================================================================= Library: CppMicroServices Copyright (c) German Cancer Research Center, Division of Medical and Biological Informatics Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file ex...
<commit_before>// Copyright (c) 2019 by Robert Bosch GmbH. 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>// alembicPlugin // Initial code generated by Softimage SDK Wizard // Executed Fri Aug 19 09:14:49 UTC+0200 2011 by helge // // Tip: You need to compile the generated code before you can load the plug-in. // After you compile the plug-in, you can load it by clicking Update All in the Plugin Manager. #in...
<commit_before>//===- unittest/Tooling/JsonCompileCommandLineDatabaseTest ----------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------...
<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-2006 Torus Knot Software Ltd Also see acknowledgements in Readme.html This...
<commit_before>/* * yosys -- Yosys Open SYnthesis Suite * * Copyright (C) 2012 Clifford Wolf <[email protected]> * * 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 no...
<commit_before>#pragma once #include <string> #include <typeindex> #include "blackhole/dynamic.hpp" namespace blackhole { template<typename T> struct config_traits { //! \brief Statically maps sink or formatter type into unique key. /*! It contains information about its backends and strategies. For ...
<commit_before>enum anaModes {mLocal,mLocalPAR,mPROOF,mGRID}; //mLocal: Analyze locally files in your computer using aliroot //mLocalPAR: Analyze locally files in your computer using root + PAR files //mPROOF: Analyze CAF files with PROOF // RUN SETTINGS // Flow analysis method can be:(set to kTRUE or kFALSE) Bool_t ...
<commit_before>#if !defined(__CINT__) || defined(__MAKECINT__) #include <iostream> #include "AliBWTools.h" #include "AliBWFunc.h" #include "AliLatexTable.h" #include "TF1.h" #include "TFile.h" #include "TH1.h" #include "TROOT.h" #include "TDatabasePDG.h" #include "TCanvas.h" #include "TMath.h" #include "TSystem.h" #in...
<commit_before>// Copyright 2010-2012 RethinkDB, all rights reserved. #ifndef CLUSTERING_GENERIC_MULTI_THROTTLING_SERVER_HPP_ #define CLUSTERING_GENERIC_MULTI_THROTTLING_SERVER_HPP_ #include <algorithm> #include "arch/timing.hpp" #include "clustering/generic/multi_throttling_metadata.hpp" #include "clustering/generic...
<commit_before>/* * C S O U N D V S T * * A VST plugin version of Csound, with Python scripting. * * L I C E N S E * * This software 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....
<commit_before>/* This file is part of the KDE project Copyright (C) 2006-2007 Matthias Kretz <[email protected]> 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 versio...
<commit_before>// Copyright (C) 2017 Elviss Strazdins // This file is part of the Ouzel engine. #pragma once #include "core/CompileConfig.h" #if OUZEL_SUPPORTS_OPENAL #include <thread> #if OUZEL_PLATFORM_MACOS || OUZEL_PLATFORM_IOS || OUZEL_PLATFORM_TVOS #include <OpenAl/al.h> #include <OpenAl/alc.h> #else #includ...
<commit_before>/* * libjingle * Copyright 2011, Google Inc. * * 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, * this list of condi...
<commit_before>/*************************************************** This is a library for the CAP1188 I2C/SPI 8-chan Capacitive Sensor Designed specifically to work with the CAP1188 sensor from Adafruit ----> https://www.adafruit.com/products/1602 These sensors use I2C/SPI to communicate, 2+ pins are r...
<commit_before>#include "Math/LineEquation.h" #include "Structure.h" Edge::Edge(unsigned int index, Center* center1, Center* center2, Corner* corner1, Corner* corner2) : m_index(index), m_d0(center1), m_d1(center2), m_v0(corner1), m_v1(corner2), m_riverVolume(0.0) { } bool Center::RemoveEdge(Edge* e) { for (auto ...
<commit_before>/** * This file is part of the "libfnord" project * Copyright (c) 2015 Paul Asmuth * * FnordMetric is free software: you can redistribute it and/or modify it under * the terms of the GNU General Public License v3.0. You should have received a * copy of the GNU General Public License along with th...
<commit_before> // Copyright (c) 2012 Christopher Lux <[email protected]> // Distributed under the Modified BSD License, see license.txt. #include "texture_data_util.h" #include <memory.h> #include <scm/gl_core/log.h> #include <scm/gl_core/texture_objects/texture_image.h> #include <scm/gl_util/data/imaging/mi...
<commit_before>#include "file.h" #include <iostream> #include <cstdio> #include <memory> namespace File { bool Load(const char* fileName, char*& buffer, size_t& size) { if (!fileName) return false; FILE* file = fopen(fileName, "rb"); if (!file) { std::ce...
<commit_before>/* * Copyright(C) lichuang */ #include <map> #include <list> #include <arpa/inet.h> // htonl, ntohl #include <google/protobuf/descriptor.h> #include <google/protobuf/message.h> #include "eventrpc/error_code.h" #include "eventrpc/base.h" #include "eventrpc/event.h" #include "eventrpc/rpc_channel.h" #in...
<commit_before>/* * Copyright (C) 2005-2017 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><commit_msg>Added the real SINTreeNode implementation (again)<commit_after>#include "SINTreeNode.h" #include <cassert> namespace SIN { //////////////////////////////// TreeNode::TreeNode(void): parent(0x00u), previous(0x00u), next(0x00u) { } //////////////////////////////// ...
<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/component_updater/component_updater_service.h" #include <algorithm> #include <string> #include <vector> #inc...
<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 <set> #include "base/memory/scoped_ptr.h" #include "chrome/browser/platform_util.h" #include "chrome/browser/ui/views/constra...
<commit_before>#include <iomanip> #include <boost/regex.hpp> #include "sessionhelper.hpp" SessionHelper::SessionHelper(const std::string &address) { _session.connect(address); } SessionHelper::~SessionHelper() { _session.close(); } bool SessionHelper::getServiceSync(const std::string &serviceName, ServiceHelpe...
<commit_before>/* Copyright (C) 2015 haha01haha01 * 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/. */ #include "lib_api.h" namespace HaRail { GTFSDataSource *HaRail...
<commit_before>// ========================================================================== // // This file is part of Sara, a basic set of libraries in C++ for computer // vision. // // Copyright (C) 2021-present David Ok <[email protected]> // // This Source Code Form is subject to the terms of the Mozilla Public ...
<commit_before>/* * main.cpp - Kurento Media Server * * Copyright (C) 2013 Kurento * Contact: Miguel París Díaz <[email protected]> * Contact: José Antonio Santos Cadenas <[email protected]> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Gener...
<commit_before>/* * NotebookExec.cpp * * Copyright (C) 2009-17 by RStudio, Inc. * * Unless you have received this program directly from RStudio pursuant * to the terms of a commercial license agreement with RStudio, then * this program is licensed to you under the terms of version 3 of the * GNU Affero General ...
<commit_before> #pragma once #include "geometry/affine_map.hpp" #include "geometry/frame.hpp" #include "geometry/orthogonal_map.hpp" #include "geometry/named_quantities.hpp" #include "geometry/perspective.hpp" #include "geometry/rotation.hpp" #include "geometry/rp2_point.hpp" #include "geometry/sphere.hpp" #include "...
<commit_before>#include <stdio.h> #include <memory.h> #include <assert.h> #include <stdlib.h> #include "halide_benchmark.h" #include "pipeline_cpu.h" #include "pipeline_hvx64.h" #include "pipeline_hvx128.h" #include "HalideRuntimeHexagonHost.h" #include "HalideBuffer.h" template <typename T> T clamp(T x, T min, T m...
<commit_before>#include <string> #include <climits> #include <iostream> #include <vector> #include <unordered_map> #include <set> #include <algorithm> using namespace std; class Solution { public: int mySqrt(int x) { return 0; } }; void showAns(int x, int ans) { cout << "sqrt(" << x << ") = " << ans...
<commit_before>#ifndef HEADER_GUARD_CLASS_CONTENTS_H #define HEADER_GUARD_CLASS_CONTENTS_H #include <vector> #include <string> #include <memory> #include "change.hh" #include "mode.hh" namespace vick { /*! * \file contents.hh * * \brief Defines the class contents, which contains all the * information about the ...
<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 "chrome/browser/extensions/extension_apitest.h" #include "net/base/mock_host_resolver.h" IN_PROC_BROWSER_TEST_F(ExtensionApiT...
<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 "chrome/test/live_sync/live_extensions_sync_test.h" #include "base/basictypes.h" #include "chrome/browser/profiles/profile.h"...
<commit_before>/* PicoGUI Client/Server Test Application Copyright (C) 2003 by Mat Sutcliffe <[email protected]> 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 ve...
<commit_before>//===- Steensgaard.cpp - Context Insensitive Alias Analysis ---------------===// // // This pass uses the data structure graphs to implement a simple context // insensitive alias analysis. It does this by computing the local analysis // graphs for all of the functions, then merging them together into a ...
<commit_before>/* * This file is part of Peli - universal JSON interaction library * Copyright (C) 2014 Alexey Chernov <[email protected]> * * Peli 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; ...
<commit_before>//===-- llvm/lib/Target/AArch64/AArch64CallLowering.cpp - Call lowering ---===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------...
<commit_before>//===- LoopInvariantCodeMotion.cpp - Code to perform loop fusion-----------===// // // Copyright 2019 The MLIR 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 // /...
<commit_before>//===- ValuePropagation.cpp - Propagate information derived control flow --===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------...
<commit_before>#include "core/tz.hpp" #include "core/assert.hpp" #include "core/report.hpp" #include "core/peripherals/monitor.hpp" #include "core/profiling/zone.hpp" #if TZ_VULKAN #include "gl/impl/backend/vk2/tz_vulkan.hpp" #elif TZ_OGL #include "gl/impl/backend/ogl2/tz_opengl.hpp" #endif #include <cstdio> namespa...
<commit_before>/* Copyright (c) 2016 PaddlePaddle 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 ap...
<commit_before>#ifdef TUT_CPP #include <cstddef> #include <memory> #include <functional> #include <string> #include <iostream> #include "../hpp/tut/tut.hpp" int main(int, char*[]) { /// leveraging our data abstraction tut::data_abstraction da(10); std::cout << tut::func(da); std::cout << tut::func_ex...
<commit_before>/* * Ubitrack - Library for Ubiquitous Tracking * Copyright 2006, Technische Universitaet Muenchen, and individual * contributors as indicated by the @authors tag. See the * copyright.txt in the distribution for a full listing of individual * contributors. * * This is free software; you can redist...
<commit_before>// Copyright CERN. This software is distributed under the terms of the GNU // General Public License v3 (GPL Version 3). // // See http://www.gnu.org/licenses/ for full licensing information. // // In applying this license CERN does not waive the privileges and immunities // granted to it by virtue of it...
<commit_before>#include <iostream> #include "matrix.h" #include "checks.h" template <std::size_t NumberOfRows, std::size_t NumberOfCulomns> std::size_t TestMatrixPlus() { AMatrix::Matrix<double, NumberOfRows, NumberOfCulomns> a_matrix; AMatrix::Matrix<double, NumberOfRows, NumberOfCulomns> b_matrix; AMatr...
<commit_before>#include "property_diversity_reranker.h" #include <mining-manager/group-label-logger/GroupLabelLogger.h> #include <list> #include <algorithm> #include <glog/logging.h> using sf1r::GroupLabelLogger; NS_FACETED_BEGIN PropertyDiversityReranker::PropertyDiversityReranker( const std::str...
<commit_before>#include "property_diversity_reranker.h" #include <list> #include <glog/logging.h> NS_FACETED_BEGIN PropertyDiversityReranker::PropertyDiversityReranker( const std::string& property, GroupManager* groupManager ) :property_(property) ,groupManager_(groupManager) { } Pro...
<commit_before>#include "DerivativeParsedMaterialHelper.h" template<> InputParameters validParams<DerivativeParsedMaterialHelper>() { InputParameters params = validParams<DerivativeBaseMaterial>(); params.addClassDescription("Parsed Function Material with automatic derivatives."); // Just in time compilation fo...
<commit_before>/* * Copyright (c) 2015 SeNDA * * 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 ...
<commit_before>#include <irtkBep.h> int Zcheck = 0; void usage() { cerr << "Usage: bep [originalsequence] [transformation] [PointSet] [ResultOutput] [MaxOutput] [SegmentationOutput]" << endl; cerr << "where PointSet is the sector landmarks of the bull's eye plot" << endl; cerr << "AA is the slice landmark between ...
<commit_before>/*********************************************************************** beemutex.cpp - Implements the BeecryptMutex class. The name comes from the fact that we lifted this essentially intact from the Beecrypt library, which is also LGPL. See beecrypt.h for the list of changes we made on integrati...
<commit_before>#ifndef AMGCL_IO_MM_HPP #define AMGCL_IO_MM_HPP /* The MIT License Copyright (c) 2012-2019 Denis Demidov <[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 the Software...
<commit_before>#include <sndfile.h> #include <string> namespace DG { namespace Sound { class WAV { public: struct Invalid_format_exception : public std::exception { WAV(const std::string& fname) { open(fname); } void open(const std::string& fname); // write wav out to the file fname void write(const std:...
<commit_before>#include "stdafx.h" #include "PluginWindow.h" #define HIDE(window) (window)->Visibility = System::Windows::Visibility::Collapsed #define ISVISIBLE(window) ((window)->Visibility == System::Windows::Visibility::Visible) PluginWindow::PluginWindow() { InitializeComponent(); } void PluginWindow::Init() {...
<commit_before>/* This file is part of khmer, https://github.com/dib-lab/khmer/, and is Copyright (C) 2010-2015, Michigan State University. Copyright (C) 2015-2016, The Regents of the University of California. Redistribution and use in source and binary forms, with or without modification, are permitted provided that ...
<commit_before>//----------------------------------------------- // // This file is part of the Siv3D Engine. // // Copyright (c) 2008-2019 Ryo Suzuki // Copyright (c) 2016-2019 OpenSiv3D Project // // Licensed under the MIT License. // //----------------------------------------------- # include <cfloat> # include <Si...
<commit_before> #include "journal/player.hpp" #include <list> #include <string> #include <vector> #include "benchmark/benchmark.h" #include "gtest/gtest.h" #include "journal/method.hpp" #include "journal/profiles.hpp" #include "journal/recorder.hpp" #include "ksp_plugin/interface.hpp" #include "serialization/journal...
<commit_before>/* * Copyright (c) 2015, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * ...
<commit_before>/// \file Canvas.cxx /// \ingroup Gpad ROOT7 /// \author Axel Naumann <[email protected]> /// \date 2015-07-10 /// \warning This is part of the ROOT 7 prototype! It will change without notice. It might trigger earthquakes. Feedback is welcome! /***************************************************************...
<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>// Copyright (c) 2015-2016 The Khronos Group 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...
<commit_before>/* RawSpeed - RAW file decoder. Copyright (C) 2009-2014 Klaus Post Copyright (C) 2017 Roman Lebedev This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; eith...
<commit_before>#ifndef ELEKTRA_BASENOTIFICATION_HPP #define ELEKTRA_BASENOTIFICATION_HPP #include <string> #include <key.hpp> #include <utility> #include <kdbtypes.h> // for kdb-types, code and description constants namespace kdb { namespace tools { namespace errors { /* common abstract class for warnings and errors ...
<commit_before>// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. #include <vespa/document/base/testdocman.h> #include <vespa/document/fieldset/fieldsetrepo.h> #include <vespa/document/repo/documenttyperepo.h> #include <vespa/vespalib/objects/nbostrea...
<commit_before> #include "LCMSystem.h" #include "RigidBodySystem.h" #include "LinearSystem.h" #include "BotVisualizer.h" #include "drakeAppUtil.h" #include "lcmtypes/drake/lcmt_driving_control_cmd_t.hpp" using namespace std; using namespace Eigen; using namespace Drake; template <typename ScalarType = double> class D...
<commit_before>/* * Copyright (c) 2007, Michael Feathers, James Grenning and Bas Vodde * 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 retai...
<commit_before>#include "catch/catch.hpp" #include "RaZ/Math/Matrix.hpp" #include "RaZ/Math/Vector.hpp" namespace { // Declaring matrices to be tested const Raz::Mat3f mat31({{ 4.12f, 25.1f, 30.7842f }, { 3.04f, 5.f, -64.5f }, { -1.f, -7.54f, 8.41f }}); const ...
<commit_before>/* For more information, please see: http://software.sci.utah.edu The MIT License Copyright (c) 2012 Scientific Computing and Imaging Institute, University of Utah. License for the specific language governing rights and limitations under Permission is hereby granted, free of charge, ...
<commit_before>// // blocking_tcp_client.cpp // ~~~~~~~~~~~~~~~~~~~~~~~ // // Copyright (c) 2003-2011 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) // #inclu...
<commit_before>void Config() { // 7-DEC-2000 09:00 // Switch on Transition Radiation simulation. 6/12/00 18:00 // iZDC=1 7/12/00 09:00 // ThetaRange is (0., 180.). It was (0.28,179.72) 7/12/00 09:00 // Theta range given through pseudorapidity limits 22/6/2001 // Set Random Number seed // g...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: matril3d.hxx,v $ * * $Revision: 1.2 $ * * last change: $Author: vg $ $Date: 2007-04-11 20:33:32 $ * * The Contents of this file are made ...
<commit_before>#include <cmath> #include <ctime> #include <iostream> #include <iomanip> #include <random> #include <set> #include <vector> #include <unordered_map> namespace { inline size_t GenerateMaskWithRightOnes(size_t onesCount) { return (1ull << onesCount) - 1ull; } class TCacheSet { public: TCacheSet...
<commit_before>#ifndef DUNE_STUFF_COMMON_PARAMETER_TREE_HH #define DUNE_STUFF_COMMON_PARAMETER_TREE_HH #include <dune/stuff/common/header/disable_warnings.hh> #ifdef HAVE_CMAKE_CONFIG #include "cmake_config.h" #else #include "config.h" #endif // ifdef HAVE_CMAKE_CONFIG #include <cstring> #include <s...
<commit_before> #include "boxed.h" #include "debug.h" #include "function.h" #include "value.h" #include "gobject.h" #include "gi.h" #include <girffi.h> using namespace v8; using Nan::New; using Nan::WeakCallbackType; namespace GNodeJS { static void FillArgument(GIArgInfo *arg_info, GIArgume...
<commit_before>#pragma once #include "../std/shared_ptr.hpp" #include "../std/map.hpp" #include "../std/string.hpp" #include "../std/list.hpp" #include "../std/vector.hpp" #include "../base/mutex.hpp" #include "../base/resource_pool.hpp" #include "opengl/storage.hpp" #include "opengl/program_manager.hpp" #include "g...
<commit_before>/* Copyright (C) 2011-2015 Yubico AB. 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, this list of cond...
<commit_before>/* * Copyright (C) 2009, Gostai S.A.S. * * This software is provided "as is" without warranty of any kind, * either expressed or implied, including but not limited to the * implied warranties of fitness for a particular purpose. * * See the LICENSE file for more information. */ #include <libport/...
<commit_before>/* * integer.cpp */ #include "integer.h" namespace c8 { /* * Construct an integer using a string. * * The string can have an optional '-' sign to indicate that it's negative, * and then the usual C++-like hex, octal, * or decimal representations. */ integer::integer(co...
<commit_before>/* * Copyright (C) 2010 Google Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1. Redistributions of source code must retain the above copyright * notice, this...
<commit_before>#include <iostream> #define BOP_MATRIX_MULTIPLY_DISCARD_TINY #include <bop-maths/maths.hpp> #include "testlibs/funct_bench/funct_benchmark.hpp" #define TEST_COUNT 1000000 using namespace bop::maths; void bop_bench_construct() { Matrix<double> mat1(3); } void bop_bench_construct_vec() { Vector<double...
<commit_before>/************************************************************************* * * $RCSfile: servprov.cxx,v $ * * $Revision: 1.4 $ * * last change: $Author: kz $ $Date: 2004-02-25 17:09:48 $ * * The Contents of this file are made available subject to the terms of * either of the following licen...
<commit_before>/** * @file */ #pragma once #include "libbirch/external.hpp" #include "libbirch/memory.hpp" #include "libbirch/Atomic.hpp" namespace libbirch { class Label; class Finisher; class Freezer; class Copier; class Recycler; class Discarder; class Restorer; /** * Base class for reference counted objects. ...
<commit_before>/**************************************************************************** ** ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). ** All rights reserved. ** Contact: Nokia Corporation ([email protected]) ** ** This file is part of the Qt Mobility Components. ** ** $QT_BEGIN_LICENSE:LG...
<commit_before>/* This file is part of libkcal. Copyright (c) 2001-2003 Cornelius Schumacher <[email protected]> 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 ...
<commit_before>#include "stdafx.h" #include "VideoReEncoder.h" #include "Exceptions.h" namespace WPFAnimationEncoding { struct VideoReEncoderSession { VideoReEncoderSession() : inputFormatContext(NULL), inputCodecContext(NULL), inputVideoStream(NULL), outputFormatContext(NULL), codec(NULL), vi...
<commit_before>/* * Copyright (C) 2006-2016 Music Technology Group - Universitat Pompeu Fabra * * This file is part of Essentia * * Essentia 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 (FSF),...
<commit_before>/** * (c) 2019 by Mega Limited, Wellsford, New Zealand * * This file is part of the MEGA SDK - Client Access Engine. * * Applications using the MEGA API must present a valid application key * and comply with the the rules set forth in the Terms of Service. * * The MEGA SDK is distributed in the h...
<commit_before>// @(#)root/thread:$Id$ // Author: Fons Rademakers 02/07/97 /************************************************************************* * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. * * All rights reserved. * * ...
<commit_before>#include "vtkRenderer.h" #include "vtkRenderWindow.h" #include "vtkRenderWindowInteractor.h" #include "vtkStructuredPointsReader.h" #include "vtkPiecewiseFunction.h" #include "vtkVolumeProperty.h" #include "vtkVolumeRayCastCompositeFunction.h" #include "vtkVolumeRayCastMapper.h" #include "vtkVolume.h" #...