text
stringlengths
54
60.6k
<commit_before>#define BOOST_TEST_DYN_LINK #define BOOST_TEST_MODULE JPetParamAndDataFactoryTest #include <boost/test/unit_test.hpp> #include "JPetParamAndDataFactory.h" #include <boost/filesystem.hpp> BOOST_AUTO_TEST_SUITE(FirstSuite) BOOST_AUTO_TEST_CASE( scin ) { JPetBarrelSlot p_barrelSlot(1, true, "name", 1, ...
<commit_before>/* Copyright (c) 2017-2018 Andrew Depke */ #include "WindowsProcess.h" #include <Windows.h> #include <Psapi.h> namespace Red { bool GetProcessModules(std::vector<ProcessModule>* Output) { if (!Output) { return false; } HMODULE Modules[1024]; HANDLE Process = GetCurrentProcess(); DWOR...
<commit_before>#ifndef __Z2H_PARSER__ #define __Z2H_PARSER__ = 1 #include <cmath> #include <string> #include <vector> #include <fstream> #include <sstream> #include <iostream> #include <stddef.h> #include <sys/stat.h> #include <functional> #include "symbol.hpp" #include "token.hpp" #include "binder.hpp" using namesp...
<commit_before>#ifndef ATL_PARSER_HPP #define ATL_PARSER_HPP /** * @file /home/ryan/programming/atl/parser.hpp * @author Ryan Domigan <ryan_domigan@sutdents@uml.edu> * Created on Jun 29, 2013 */ #include <iterator> #include <sstream> #include <string> #include <vector> #include <iostream> #include <functional> #...
<commit_before>#include "HedgeLib/Archives/LWArchive.h" #include "HedgeLib/Archives/PACx.h" #include "HedgeLib/IO/File.h" #include <string> #include <cstring> // hl_DPACProxyEntry HL_IMPL_ENDIAN_SWAP_CPP(hl_DPACProxyEntry); HL_IMPL_X64_OFFSETS(hl_DPACProxyEntry); HL_IMPL_ENDIAN_SWAP(hl_DPACProxyEntry) { hl_Swap(v...
<commit_before><commit_msg>fdo#30711: fix some problems in 7a1c5e54:<commit_after><|endoftext|>
<commit_before>/************************************************************************* * * $RCSfile: txtsecte.cxx,v $ * * $Revision: 1.14 $ * * last change: $Author: vg $ $Date: 2005-03-23 12:42:46 $ * * The Contents of this file are made available subject to the terms of * either of the following lice...
<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>// 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 "webkit/tools/test_shell/test_shell_webkit_init.h" #include "base/path_service.h" #include "base/stats_counters.h" #include "...
<commit_before><commit_msg>update<commit_after>/* * D. Two Friends * time limit per test1 second * memory limit per test64 megabytes * inputstandard input * outputstandard output * Two neighbours, Alan and Bob, live in the city, where there are three buildings only: a cinema, a shop and the house, where they live...
<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 "webkit/tools/test_shell/test_shell_webkit_init.h" #include "base/path_service.h" #include "base/stats_counters.h" #include "...
<commit_before>//////////////////////////////////////////////////////////////////////////////// /// /// Generic version of the x86 CPU extension detection routine. /// /// This file is for GNU & other non-Windows compilers, see 'cpu_detect_x86_win.cpp' /// for the Microsoft compiler version. /// /// Author ...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: interceptionhelper.cxx,v $ * * $Revision: 1.3 $ * * last change: $Author: rt $ $Date: 2005-09-09 01:20:09 $ * * The Contents of this file...
<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 (c) 2011-2012 Stephen Williams (steve@icarus.com) * Copyright (c) 2014 CERN / Maciej Suminski (maciej.suminski@cern.ch) * * This source code is free software; you can redistribute it * and/or modify it in source code form under the terms of the GNU * General Public License a...
<commit_before>//===- lib/MC/MCMachOStreamer.cpp - Mach-O Object Output ------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------------...
<commit_before>// Copyright (C) 2017 Jérôme Leclercq // This file is part of the "Nazara Development Kit" // For conditions of distribution and use, see copyright notice in Prerequesites.hpp #include <NDK/Canvas.hpp> #include <Nazara/Platform/Cursor.hpp> namespace Ndk { inline Canvas::Canvas(WorldHandle world, Nz::E...
<commit_before>/* main.cpp - platform initialization and context switching emulation Copyright (c) 2014 Ivan Grokhotkov. All rights reserved. This file is part of the esp8266 core for Arduino environment. This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser...
<commit_before>/*++ Module Name: AlignerContext.cpp Abstract: Common parameters for running single & paired alignment. Authors: Ravi Pandya, May, 2012 Environment: ` User mode service. Revision History: Integrated from SingleAligner.cpp & PairedAligner.cpp --*/ #include "stdafx.h" #inclu...
<commit_before>//===--- ParseExprCXX.cpp - C++ Expression Parsing ------------------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------...
<commit_before>// Copyright (c) 2020 by Robert Bosch GmbH. All rights reserved. // Copyright (c) 2021 - 2022 by Apex.AI Inc. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the Lice...
<commit_before>//===--- ParseGeneric.cpp - Swift Language Parser for Generics ------------===// // // This source file is part of the Swift.org open source project // // Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors // Licensed under Apache License v2.0 with Runtime Library Exception // // See http...
<commit_before>// This example uses an Adafruit Huzzah ESP8266 // to connect to shiftr.io. // // You can check on your device after a successful // connection here: https://shiftr.io/try. // // by Joël Gähwiler // https://github.com/256dpi/arduino-mqtt #include <WiFi.h> #include <Wire.h> #include <SPI.h> #include <Ada...
<commit_before>//=========================================== // Lumina-DE source code // Copyright (c) 2014, Ken Moore // Available under the 3-clause BSD license // See the LICENSE file for full details //=========================================== #include "ScriptDialog.h" #include "ui_ScriptDialog.h" //========...
<commit_before>/* Copyright (c) 2010-2017, Delft University of Technology * All rigths reserved * * This file is part of the Tudat. Redistribution and use in source and * binary forms, with or without modification, are permitted exclusively * under the terms of the Modified BSD license. You should h...
<commit_before>/* * Author: Brendan Le Foll <brendan.le.foll@intel.com> * Copyright (c) 2014 Intel Corporation. * * 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, in...
<commit_before>// This file is a part of the IncludeOS unikernel - www.includeos.org // // Copyright 2015 Oslo and Akershus University College of Applied Sciences // and Alfred Bratterud // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the Lice...
<commit_before>/* * ModSecurity, http://www.modsecurity.org/ * Copyright (c) 2015 Trustwave Holdings, Inc. (http://www.trustwave.com/) * * 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 * * If any of...
<commit_before>#ifndef TOPAZ_ALGO_CONTAINER_HPP #define TOPAZ_ALGO_CONTAINER_HPP #include <cstddef> namespace tz::algo { template<typename StandardContainer> constexpr std::size_t sizeof_element(const StandardContainer& container); template<typename StandardContainer> constexpr std::size_t sizeof_elem...
<commit_before>/// /// @file cmdoptions.cpp /// @brief Parse command-line options for the primecount console /// (terminal) application. /// /// Copyright (C) 2017 Kim Walisch, <kim.walisch@gmail.com> /// /// This file is distributed under the BSD License. See the COPYING /// file in the top level directory....
<commit_before>//===-- sanitizer_symbolizer_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>//===-- Support/FoldingSet.cpp - Uniquing Hash Set --------------*- C++ -*-===// // // The LLVM Compiler Infrastructure // // This file was developed by James M. Laskey and is distributed under // the University of Illinois Open Source License. See LICENSE.TXT for details. // //===---...
<commit_before>#include <OGDT/Exception.h> #include <cstdio> // printf #include <sstream> // ostringstream #define EXP_SIZE 1024 #ifdef WIN32 #define TLS __declspec( thread ) #else #define TLS __thread #endif TLS char exp_buf[EXP_SIZE]; using namespace OGDT; using namespace std; Exception::Exceptio...
<commit_before>/* * Copyright (c) 2007 The Hewlett-Packard Development Company * All rights reserved. * * The license below extends only to copyright in the software and shall * not be construed as granting a license to any other intellectual * property including but not limited to intellectual property relating ...
<commit_before>/* * Copyright 2011 Intel Corporation. * * This program is licensed under the terms and conditions of the * Apache License, version 2.0. The full text of the Apache License is at * http://www.apache.org/licenses/LICENSE-2.0 */ #include "calendarcontroller.h" #include "calendardbsingleton.h" #in...
<commit_before>/*********************************************************************** filename: CEGUIMenuBase.cpp created: 5/4/2005 author: Tomas Lindquist Olsen (based on code by Paul D Turner) purpose: Implementation of MenuBase widget base class ****************************************...
<commit_before>//===------ TwoIDPass - inserts 2 ID CFI checks ---------------------------===// // // This file inserts IDs and checks for a CFI implementation based on Abadi's // two ID CFI. An ID is used to check that indirect branches always target // beginning of functions or basic blocks, and a second ID is used ...
<commit_before>#include "chainerx/float16.h" #include <algorithm> #include <cmath> #include <limits> #include <vector> #include <gtest/gtest.h> namespace chainerx { namespace { bool IsNan(Float16 x) { uint16_t exp = x.data() & 0x7c00; uint16_t frac = x.data() & 0x03ff; return exp == 0x7c00 && frac != 0x...
<commit_before>/* Copyright 2020 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by appl...
<commit_before>#include <iostream> #include <thread> #include <Common/ScopedFunction.h> template <typename Value_t, typename Initializer_t=std::function<Value_t (void)>> class LazyInitialized { public: LazyInitialized(Initializer_t i) : m_i(i), m_v() {} LazyInitialized(LazyInitialized<Value_t, Initializer_t>&&...
<commit_before>// Copyright (c) 2014-2015, THUNDERBEAST GAMES LLC All rights reserved // Please see LICENSE.md in repository root for license information // https://github.com/AtomicGameEngine/AtomicGameEngine #include <Atomic/Atomic.h> #include <Atomic/IO/Log.h> #include <Atomic/Resource/JSONFile.h> #include <Atomic/...
<commit_before>/*============================================================================= Library: CTK 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 except in compl...
<commit_before>// Copyright (c) Microsoft Corporation // Licensed under the MIT license. See LICENSE file in the project root for full license information. #include "pch.h" #include <httpClient/httpClient.h> #include <httpClient/httpProvider.h> #include "android_http_request.h" #include "android_platform_context.h" ex...
<commit_before>#include "mainwindow.h" // Qt is the worst. // // Assume your keyboard has a key labelled both . and >, as they do on US and UK keyboards. Call it the dot key. // Perform the following: // 1. press dot key; // 2. press shift key; // 3. release dot key; // 4. release shift key. // // Per empirical testin...
<commit_before>/* * Copyright (C) 2006-2013 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>/*========================================================================= Program: Insight Segmentation & Registration Toolkit Module: itkGEImageIOTest.cxx Language: C++ Date: $Date$ Version: $Revision$ Copyright (c) Insight Software Consortium. All rights reserved. See ITK...
<commit_before>#include "Thermostat.h" #include "Nose_Hoover_Chain.h" #include "Andersen.h" #include "Lowe_Andersen.h" #include "Gaussian.h" #include "Nose_Hoover.h" #include "Thermostat_None.h" #include "Berendsen.h" #include "Bussi.h" #include "Functions.h" #include "consts.h" using namespace consts; #include <iost...
<commit_before>/* * Copyright (c) 2007, 2008, 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: * * * Redistributions of source code must retain the above copyright * no...
<commit_before>#include "codestring.h" #include "codevector.h" // splits a string into parts, by spl. Vector<String> strsplit(const String& str, const String& spl) { Vector<String> ret; String tmp = str; if (!spl) return ret; __SIZETYPE index; while (!!tmp) { index = tmp.indexOf(spl); if (index == -1) { re...
<commit_before>#include <hydra/component/particlecomponent.hpp> #include <hydra/engine.hpp> #include <imgui/imgui.h> #include <hydra/component/cameracomponent.hpp> #include <algorithm> #define frand() (float(rand()) / float(RAND_MAX)) using namespace Hydra::World; using namespace Hydra::Component; Particl...
<commit_before>#include <stdio.h> #include "pthread.h" #include <atomic> #include <stdlib.h> #ifndef XV6_USER #include <string.h> #else #include "types.h" #include "user.h" #endif #include "mtrace.h" #include "fstest.h" #ifndef XV6_USER #include <stdlib.h> #include <sched.h> int setaffinity(int cpu) { cpu_set_t mas...
<commit_before>#include <gtest/gtest.h> #include "echomesh/audio/EnvelopeValuePlayer.h" namespace echomesh { TEST(EnvelopeValuePlayer, Base) { EnvelopeValue ev; ev.isConstant = true; ev.value = 23.0; EnvelopeValuePlayer player(ev); ASSERT_TRUE(player.isConstant()); } } // namespace echomesh <commit_msg>...
<commit_before>// (C) Copyright Gennadiy Rozental 2005-2010. // 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) // See http://www.boost.org/libs/test for the library home page. // // File : $RCSfile$ ...
<commit_before>#ifndef COAPY_HPP #define COAPY_HPP #include <boost/config/warning_disable.hpp> #include <boost/spirit/include/qi.hpp> #include <boost/spirit/include/phoenix_core.hpp> #include <boost/spirit/include/phoenix_operator.hpp> #include <boost/spirit/include/phoenix_stl.hpp> #include <boost/spirit/include/phoe...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: LegendHelper.cxx,v $ * * $Revision: 1.7 $ * * last change: $Author: obo $ $Date: 2006-09-17 13:25:08 $ * * The Contents of this file are ...
<commit_before>//===========================================================================// // Copyright (C) Microsoft Corporation. All rights reserved. // //===========================================================================// //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~...
<commit_before>/*========================================================================= Program: Insight Segmentation & Registration Toolkit (ITK) Module: Language: C++ Date: Version: Copyright (c) 2000 National Library of Medicine All rights reserved. See COPYRIGHT.txt for copyright details. =====...
<commit_before>#include <e_line_judge/ball_detection.h> BallDetection::BallDetection(const cv::Scalar &lower_range, const cv::Scalar &upper_range, double radius_estimate) { hsv_min = lower_range; hsv_max = upper_range; radius_estimate_ = radius_estimate; std::cout << "Start detection system" << std::en...
<commit_before>/* * * Copyright (C) 2000 Frans Kaashoek (kaashoek@lcs.mit.edu) * * 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, or (at * your option) any later version....
<commit_before>/****************************************************************************** * SOFA, Simulation Open-Framework Architecture, version 1.0 beta 4 * * (c) 2006-2009 MGH, INRIA, USTL, UJF, CNRS * * ...
<commit_before>/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /*************************************************************************** * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - ...
<commit_before>/********************************************************************* * Software License Agreement (BSD License) * * Copyright (c) 2011, Willow Garage, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the f...
<commit_before>#include "Listener.h" NS_MARATON_BEGIN Listener::Listener( std::string addr , int port ) : Operator( addr , port ) { this->uv_tcp_.data = this; } Listener::~Listener() { } void Listener::do_work() { auto result = uv_tcp_init( this->uv_loop_ , ...
<commit_before>/********************************************************************** * $Id$ * * GEOS - Geometry Engine Open Source * http://geos.refractions.net * * Copyright (C) 2001-2002 Vivid Solutions Inc. * * This is free software; you can redistribute and/or modify it under * the terms of the GNU Lesse...
<commit_before>//A ROOT macro that prepares Tree for TMVA training //---------------------------------------------- //Author: Maxwell Cui //Date: Aug 19, 2017 //---------------------------------------------- #include<iostream> #include<cstdlib> #include<string> #include<fstream> void create(TFile* inputTree, TString ...
<commit_before>/* * NicoW * 27.05.12 */ #include <iostream> #include <sstream> #include "Human.hpp" #include "SaveManager.hpp" #include "LoadSave.hpp" LoadSave::LoadSave(GameManager& game, std::vector<Profile*>& profiles, Profile* guest) : AMenu("menu/background/backgroundLoadSave.jpg", "menu/background/backgrou...
<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 required by applicable law or a...
<commit_before>///////////////////////////////////////////////////////////////////// // = NMatrix // // A linear algebra library for scientific computation in Ruby. // NMatrix is part of SciRuby. // // NMatrix was originally inspired by and derived from NArray, by // Masahiro Tanaka: http://narray.rubyforge.org // // =...
<commit_before>#include "clustering/administration/main/json_import.hpp" #include <limits.h> #include <set> #include "errors.hpp" #include <boost/bind.hpp> #include "arch/runtime/thread_pool.hpp" #include "arch/types.hpp" #include "containers/archive/file_stream.hpp" #include "containers/bitset.hpp" #include "http/...
<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 "base/command_line.h" #include "base/file_path.h" #include "base/file_util.h" #include "base/scoped_ptr.h" #include "base/stri...
<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>#include <cassert> #include <unordered_map> #include "IMGFile.h" #include "Compression.h" #include "../Math/Int2.h" #include "../Utilities/Bytes.h" #include "../Utilities/Debug.h" #include "components/vfs/manager.hpp" namespace { // These IMG files are actually headerless/raw files with hardcoded di...
<commit_before>// // Exponent.cpp // Calculator // // Created by Gavin Scheele on 3/27/14. // Copyright (c) 2014 Gavin Scheele. All rights reserved. // #include "Exponential.h" Exponential::Exponential(Expression* base, Rational* exponent){ this->type = "exponential"; this->base = base; this->exponen...
<commit_before>/* $Id$ */ /* -------------------------------------------------------------------------- CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-06 Bradley M. Bell CppAD is distributed under multiple licenses. This distribution is under the terms of the Common Public License Vers...
<commit_before>// Copyright (c) 2010 - 2013 Leap Motion. All rights reserved. Proprietary and confidential. #include "stdafx.h" #include "FactoryTest.h" #include "AutoFactory.h" #include "TestFixtures/SimpleInterface.h" #include <iostream> using namespace std; class ClassWithStaticNew { public: ClassWithStaticNew(b...
<commit_before>#include <babylon/layers/glow_layer.h> #include <nlohmann/json.hpp> #include <babylon/babylon_stl_util.h> #include <babylon/buffers/vertex_buffer.h> #include <babylon/engines/engine.h> #include <babylon/engines/scene.h> #include <babylon/materials/effect.h> #include <babylon/materials/ieffect_creation_...
<commit_before>// // CMatrix/instance_method_isApprox.hpp // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // // Copyright (c) 2014 Rick Yang (rick68 at gmail dot com) // // 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 ...
<commit_before>// Copyright 2015 Alessio Sclocco <a.sclocco@vu.nl> // // 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 b...
<commit_before>/* bzflag * Copyright (c) 1993 - 2004 Tim Riker * * This package is free software; you can redistribute it and/or * modify it under the terms of the license found in the file * named COPYING that should have accompanied this file. * * THIS PACKAGE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR ...
<commit_before>#include "testapp.hpp" #include "testwindow.hpp" #include <time.h> #include <iostream> #include <string> bool TestNookApp::run() { const struct timespec tenthsec = {0, 100000000} ; std::string strfilefb("/dev/graphics/fb0") ; std::string strRefresh("/sys/class/graphics/fb0/epd_refresh") ; if (!...
<commit_before>/*************** <auto-copyright.pl BEGIN do not edit this line> ************** * * VR Juggler is (C) Copyright 1998-2002 by Iowa State University * * Original Authors: * Allen Bierbaum, Christopher Just, * Patrick Hartling, Kevin Meinert, * Carolina Cruz-Neira, Albert Baker * * This libra...
<commit_before>/*========================================================================= Program: Insight Segmentation & Registration Toolkit Module: itkPointSetToPointSetRegistrationTest.cxx Language: C++ Date: $Date$ Version: $Revision$ Copyright (c) Insight Software Consortium. All right...
<commit_before>// BSD 2-Clause License, see github.com/ma16/rpio #include "Error.h" using namespace Protocol::OneWire::Bang ; static std::string toStr(Error::Type type,int line) { static char const *v[] = { "NotPresent","Retry","Reset","Timing","Vanished" } ; auto s = v[Error::TypeN(type).n()] ; st...
<commit_before>#include <vpr/vpr.h> #include <vpr/Util/GUID.h> //#include <vpr/Util/GUIDFactory.h> #include <vpr/Util/Interval.h> #include <vpr/Util/Debug.h> #include <TestCases/Perf/PerfTest.h> #include <vpr/Perf/ProfileManager.h> // Get all the profile stuff namespace vprTest { CPPUNIT_TEST_SUITE_REGISTRATI...
<commit_before>// // XMLInterpreter.cpp // TimGameLib // // Created by Tim Brier on 11/10/2014. // Copyright (c) 2014 tbrier. All rights reserved. // // ============================================================================= // Include Files // ----------------------------------------------------------------...
<commit_before>// // CRTOpenGL.hpp // Clock Signal // // Created by Thomas Harte on 13/02/2016. // Copyright © 2016 Thomas Harte. All rights reserved. // #ifndef CRTOpenGL_h #define CRTOpenGL_h #include "../CRTTypes.hpp" #include "CRTConstants.hpp" #include "OpenGL.hpp" #include "TextureTarget.hpp" #include "Shad...
<commit_before>// MIT License // // Copyright (c) 2017 Artur Wyszyński, aljen at hitomi dot pl // // 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 lim...
<commit_before>void runLocal() { // header location gInterpreter->ProcessLine(".include $ROOTSYS/include"); gInterpreter->ProcessLine(".include $ALICE_ROOT/include"); // create the analysis manager AliAnalysisManager *mgr = new AliAnalysisManager("AnalysisBG"); AliAODInputHandler *aodH = new AliAODInputHan...
<commit_before>// Sh: A GPU metaprogramming language. // // Copyright 2003-2005 Serious Hack Inc. // // 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 Licen...
<commit_before>/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: t; c-basic-offset: 4 -*- vim:set ts=4 sw=4 sts=4 noet: */ #ifdef HAVE_CONFIG_H #include "config.h" #endif #include "load.h" #include <cstdio> #include <cstring> #include <ctime> #include <iostream> #include <memory> #include <string> #include <vector> ...
<commit_before>/** ========================================================================== * 2015 by KjellKod.cc * * This code is PUBLIC DOMAIN to use at your own risk and comes * with no warranties. This code is yours to share, use and modify with no * strings attached and no restrictions or obligations. * ========...
<commit_before><commit_msg>Added bci_test_runner.cc - required for having multiple test files using Boost.Test<commit_after><|endoftext|>
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: tk_punct.cxx,v $ * * $Revision: 1.6 $ * * last change: $Author: rt $ $Date: 2005-09-07 18:52:27 $ * * The Contents of this file are made ...
<commit_before>#include "stdafx.h" #include "CompressedCube.h" #include <ConvectionKernels/ConvectionKernels.h> namespace et { namespace pl { //----------------------- // CompressedCube::c-tor // CompressedCube::CompressedCube(render::TextureData const& cubeMap, TextureCompression::E_Quality const quality) { Comp...
<commit_before>/** * For conditions of distribution and use, see copyright notice in license.txt * * @file InputMapper.h * @brief Registers an InputContext from the Naali Input subsystem and uses it to translate * given set of keys to Entity Actions on the entity the component is part of. */ #incl...
<commit_before>#include <Arduino.h> #include <ArduinoOTA.h> #include <ESP8266WiFi.h> #include <ESP8266mDNS.h> #include <NeoPixelBus.h> #include <WiFiUdp.h> #define WIFI_SSID "****" #define WIFI_PASS "****" #define HORIZONTAL_LEDS 60 #define VERTICAL_LEDS 34 static WiFiUDP *udp_socket; static int missed_ticks = 0; sta...
<commit_before>#include <Arduino.h> #include <ArduinoOTA.h> #include <ESP8266mDNS.h> #include <NeoPixelBus.h> // TODO: remove, these needs to be changeable during runtime/reboot per user #define WIFI_SSID "****" #define WIFI_PASS "****" #define HORIZONTAL_LEDS 60 #define VERTICAL_LEDS 34 // TODO: this may be shifted t...
<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>//************************************************************************** //* This file is property of and copyright by the ALICE HLT Project * //* ALICE Experiment at CERN, All rights reserved. * //* ...
<commit_before>/* * Illarionserver - server for the game Illarion * Copyright 2011 Illarion e.V. * * This file is part of Illarionserver. * * Illarionserver 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 F...