text
stringlengths
54
60.6k
<commit_before>/* * Software License Agreement (BSD License) * * Copyright (c) 2010, Willow Garage, 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...
<commit_before>/* A BlockEnvironment is created when a block is created. Its primary * operation is call, which activates the code associated with the block. */ #include "builtin/object.hpp" #include "builtin/symbol.hpp" #include "builtin/block_environment.hpp" #include "objectmemory.hpp" #include "vm/object_utils....
<commit_before>#include <cassert> #include <cmath> #include <cstdio> #include <random> #include <omp.h> #include <functional> #include <string> #include "../libminitrig/_misc.hpp" #include "../libminitrig/include-f32.hpp" namespace optimizing { static float sin_near_coeffs5_1[5] = { 1.0f, -1.0...
<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/autocomplete_history_manager.h" #include <vector> #include "base/string16.h" #include "base/string_number_co...
<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/cros/update_library.h" #include "base/basictypes.h" #include "base/logging.h" #include "base/message...
<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/chromeos/cros/update_library.h" #include "base/message_loop.h" #include "base/string_util.h" #include "chrome...
<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/chromeos/login/update_screen.h" #include "base/logging.h" #include "chrome/browser/chromeos/cros/cros_library...
<commit_before>// This file is part of the AliceVision project. // Copyright (c) 2016 AliceVision contributors. // Copyright (c) 2012 openMVG contributors. // 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 obtai...
<commit_before>/*========================================================================= Program: Visualization Toolkit Module: TestNamedComponents.cxx Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.htm for details. ...
<commit_before>/*========================================================================= Program: Visualization Toolkit Module: vtkBlankStructuredGridWithImage.cxx Language: C++ Date: $Date$ Version: $Revision$ Copyright (c) 1993-2001 Ken Martin, Will Schroeder, Bill Lorensen All rights res...
<commit_before>//! //! @file WelcomeDialog.cpp //! @author Robert Braun <robert.braun@liu.se> //! @date 2010-XX-XX //! //! @brief Contains a class for the Welcome dialog //! //$Id: WelcomeDialog.cpp 2426 2010-12-30 19:58:15Z petno25 $ #include "WelcomeDialog.h" #include "../MainWindow.h" #include "../Widgets/Proje...
<commit_before>/** * @copyright Copyright 2017 The J-PET Framework 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 find a copy of the License in the LICENCE file. * * Unless required by...
<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 "webkit/glue/webclipboard_impl.h" #include "app/clipboard/clipboard.h" #include "base/logging.h" #include "base/string_util....
<commit_before>#include "regulafalsi.h" interval RegulaFalsi(interval a, interval b, Function *func) { using namespace boost::numeric::interval_lib; check_interval(a, b, func); interval fa, fb, v, x; int sign_fa, sign_v; fa = func->evaluate(a); fb = func->evaluate(b); sign_fa = sgn(fa); ...
<commit_before>/* * Copyright 2018 Humdinger <humdingerb@gmail.com> * All rights reserved. Distributed under the terms of the MIT license. */ #include "AboutTipster.h" #include <Catalog.h> #undef B_TRANSLATION_CONTEXT #define B_TRANSLATION_CONTEXT "About" AboutTipster::AboutTipster() : BAboutWindow(B_TRANSLATE...
<commit_before>// $Id: shiftModel.C,v 1.11 2000/09/25 19:12:09 oliver Exp $ #include <BALL/NMR/shiftModel.h> #include <BALL/FORMAT/parameterSection.h> #include <BALL/NMR/johnsonBoveyShiftProcessor.h> #include <BALL/NMR/haighMallionShiftProcessor.h> #include <BALL/NMR/EFShiftProcessor.h> #include <BALL/NMR/anisotropySh...
<commit_before>#include "boreside_transformation.h" CBoreside_transformation::CBoreside_transformation(CCam_bore &cam) { m_cam=cam; fill_params_outer_bore(); set_car_position_utm(0.0,0.0,0.0,0.0,0.0,0.0); } CBoreside_transformation::CBoreside_transformation(CCam_bore &cam,double Easting,double Northing,double ell_...
<commit_before>/* * Copyright 2015 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "GrAAFillRectBatch.h" #include "GrBatch.h" #include "GrColor.h" #include "GrDefaultGeoProcFactory.h" #include "GrResourceKey.h" #include "GrResourcePr...
<commit_before>// vim: set sts=2 sw=2 et: // encoding: utf-8 // // Copyleft 2011 RIME Developers // License: GPLv3 // // 2012-01-03 GONG Chen <chen.sst@gmail.com> // #include <boost/algorithm/string.hpp> #include <rime/candidate.h> #include <rime/config.h> #include <rime/engine.h> #include <rime/schema.h> #include <rim...
<commit_before>#ifndef ZXTK_MODULES_Z80_IMPLEMENTATION_INCLUDE_GUARD #define ZXTK_MODULES_Z80_IMPLEMENTATION_INCLUDE_GUARD #include <zxtk/misc/zxtk_config.hpp> #include <zxtk/misc/zxtk_types.hpp> #include <zxtk/modules/register_set.hpp> namespace zxtk { namespace cpu { namespace impl { struct ...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: res_Titles.hxx,v $ * * $Revision: 1.3 $ * * last change: $Author: rt $ $Date: 2008-02-18 15:47:46 $ * * The Contents of this file are mad...
<commit_before>#ifndef LEPP2_EUCLIDEAN_PLANE_SEGMENTER_H__ #define LEPP2_EUCLIDEAN_PLANE_SEGMENTER_H__ #include <pcl/segmentation/sac_segmentation.h> #include <pcl/segmentation/extract_clusters.h> #include <pcl/filters/extract_indices.h> namespace lepp { /** * A segmenter that finds the segments by applying Euclide...
<commit_before>/* * (C) 2015,2018 Jack Lloyd * * Botan is released under the Simplified BSD License (see license.txt) */ #include <botan/internal/point_mul.h> #include <botan/rng.h> #include <botan/reducer.h> #include <botan/internal/rounding.h> namespace Botan { PointGFp multi_exponentiate(const PointGFp& x, const ...
<commit_before>// MIT License // // Copyright (c) 2017-2018 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 withou...
<commit_before>/* This program tests class LinkedList */ #include<iostream> #include<vector> #include "linkedlist.h" // tests insertion void testInsert(){ std::cout<<"Test Insert\n"; // define vector of values std::vector<int> values = {6,5,4,3,2,1}; // create linked list LinkedList ll; // insert values i...
<commit_before>#include <iostream> #include <iomanip> #include <SDL_syswm.h> #include "egl_gles_context.hpp" #ifdef FASTUIDRAW_GL_USE_GLES static void print_egl_errors(void) { EGLint error; while((error = eglGetError()) != EGL_SUCCESS) { #define lazy(X) case X: std::cout << #X; break switch(error) ...
<commit_before><commit_msg>layers:Fix uninitialized variable<commit_after><|endoftext|>
<commit_before><commit_msg>layers: Refactor CmdBlitImage for PreCalls<commit_after><|endoftext|>
<commit_before>/*========================================================================= Library: CTK Copyright (c) Kitware 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 ...
<commit_before>#include "matcher.hpp" #include "matcher-ast.hpp" #include <wayfire/debug.hpp> #include <wayfire/singleton-plugin.hpp> #include <wayfire/core.hpp> #include <wayfire/output.hpp> #include <wayfire/workspace-manager.hpp> #include <wayfire/util/log.hpp> namespace wf { namespace matcher { st...
<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>/* Simple Console Copyright (C) 1998-2000 by Jorrit Tyberghein This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the License, or (at y...
<commit_before>/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* * This file is part of the LibreOffice project. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one ...
<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/options/core_options_handler.h" #include "chrome/common/url_constants.h" #include "chrome/test/ui_tes...
<commit_before>#pragma once #include <set> #include <memory> #include <iomanip> #include <iostream> #include <fstream> #include "timing_analyzers.hpp" #include "TimingGraph.hpp" #include "TimingTags.hpp" #include "FixedDelayCalculator.hpp" namespace tatum { float time_sec(struct timespec start, struct timespec end);...
<commit_before>#ifndef LTL_FUTURE_HPP #define LTL_FUTURE_HPP #include <type_traits> #include <mutex> #include <memory> #include "ltl/detail/future_state.hpp" #include "ltl/detail/result_of.hpp" #include "ltl/detail/private.hpp" namespace ltl { template <typename T> class future { public: typedef detail::fut...
<commit_before>/************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * Copyright 2008 by Sun Microsystems, Inc. * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: IParseContext.hxx,v $ * $Revisio...
<commit_before>extern int i; const int c = 7; const double pi = 3.1415926535897932385; unsigned a; unsigned int b; typedef char* Pchar; const char* kings[] = { "Antigonus", "Seleucus", "Ptolemy" }; int* p, q; int v1[10], *pv; int (*fp)(char *); // pointer to function float v2[3]; char* v3[32]; int d2[10][20]; ...
<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 - a ...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: QTableWindow.cxx,v $ * * $Revision: 1.18 $ * * last change: $Author: ihi $ $Date: 2006-08-04 13:57:19 $ * * The Contents of this file are...
<commit_before>/////////////////////////////////////////////////////////////////////////////// // // multibip32.cpp // // Copyright (c) 2014 Eric Lombrozo // // All Rights Reserved. // #include <CoinCore/hdkeys.h> #include <CoinCore/Base58Check.h> #include <CoinQ/CoinQ_script.h> #include <stdutils/uchar_vector.h> #in...
<commit_before>/*========================================================================= Program: Medical Imaging & Interaction Toolkit Module: $RCSfile$ Language: C++ Date: $Date$ Version: $Revision$ Copyright (c) German Cancer Research Center, Division of Medical and Biological Informatics. All right...
<commit_before>/* * Copyright(c) Sophist Solutions, Inc. 1990-2021. All rights reserved */ #include "../StroikaPreComp.h" #include <cinttypes> #include <random> #include "../Characters/CString/Utilities.h" #include "../Characters/Format.h" #include "../DataExchange/CheckedConverter.h" #include "../DataExchange/Def...
<commit_before>// This file is a part of the IncludeOS unikernel - www.includeos.org // // Copyright 2015-2016 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...
<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>// This file is a part of the IncludeOS unikernel - www.includeos.org // // Copyright 2015-2016 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...
<commit_before>/* Copyright (C) 2000 MySQL AB & MySQL Finland AB & TCX DataKonsult 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) ...
<commit_before>#include <algorithm> #include "Regression.h" static void RemoveAllFiles(const boost::filesystem::path dirPath); static std::vector<boost::filesystem::path> CollectFiles(const boost::filesystem::path dirPath); static bool SortTags(FrameLog& log); /////////////////////////////////////////////////////////...
<commit_before>#include "stdafx.h" #include "gl_resources.h" namespace asdf { gl_state_t GL_State; void gl_state_t::bind(vao_t const& vao) { glBindVertexArray(vao.id); current_vao = vao.id; } void gl_state_t::bind(vbo_t const& vbo) { glBindBuffer(GL_ARRAY_BUFFER, vbo....
<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>/*========================================================================= Program: Medical Imaging & Interaction Toolkit Language: C++ Date: $Date: 2009-05-12 19:14:45 +0200 (Di, 12 Mai 2009) $ Version: $Revision: 1.12 $ Copyright (c) German Cancer Research Center, Division of Medical and B...
<commit_before> #include "boost_asio_msvc.h" #include <iostream> #include <string> #include <thread> #include <chrono> #include <exception> #include "common.h" #include "async_asio_echo_serv.hpp" std::atomic<uint64_t> g_query_count_(0); std::atomic<uint32_t> g_client_count_ = 0; asio_test::padding_atomic<uint64_t> ...
<commit_before>// ------------------------------------------------------------------------- // @FileName : NFCPackModule.cpp // @Author : LvSheng.Huang // @Date : 2013-06-11 // @Module : NFCPackModule // @Desc : // ---------...
<commit_before>float stripW = VISUALS_WIDTH/16.0 - minWidth - minSpacing; float wide = (1 - [[thinWideRatio]]) * stripW; float thin = [[thinWideRatio]] * stripW; float h = VISUALS_HEIGHT * 0.66; float w2 = VISUALS_WIDTH *0.5; ofVec3f pp[2]; pp[0].set(w2, h); pp[1].set(w2, h); for (int i = 0; i < 8; i++) { ofVec3f ...
<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 "xwalk/application/browser/application_protocols.h" #include <algorithm> #include <map> #include <list> #include <string> #in...
<commit_before>#include "xchainer/routines/linalg.h" #include <string> #include <vector> #include <gtest/gtest.h> #include <nonstd/optional.hpp> #include "xchainer/array.h" #include "xchainer/check_backward.h" #include "xchainer/device_id.h" #include "xchainer/dtype.h" #include "xchainer/error.h" #include "xchainer/...
<commit_before>/************************************************************************* * * $RCSfile: numehelp.cxx,v $ * * $Revision: 1.15 $ * * last change: $Author: sab $ $Date: 2001-11-26 08:01:04 $ * * The Contents of this file are made available subject to the terms of * either of the following lic...
<commit_before>AliPHOSTenderTask* AddAODPHOSTender(const char* taskName = "PHOSTenderTask", const char* tenderName = "PHOStender", const char* options = "", Int_t pass = 1 ) { //Add a task with PHOS tender which works with AOD to the analysis train //Author: D.Peressounko AliAnalysisManag...
<commit_before>#ifndef _BAYES_FILTER_UNSCENTED #define _BAYES_FILTER_UNSCENTED /* * Bayes++ the Bayesian Filtering Library * Copyright (c) 2002 Michael Stevens, Australian Centre for Field Robotics * See Bayes++.htm for copyright license details * * $Header$ * $NoKeywords: $ */ /* * Unscented Filter Scheme. ...
<commit_before>// Copyright 2008, 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 // notice, this list ...
<commit_before>/* * Vulkan examples debug wrapper * * Copyright (C) 2016 by Sascha Willems - www.saschawillems.de * * This code is licensed under the MIT license (MIT) (http://opensource.org/licenses/MIT) */ #include "vulkandebug.h" #include <iostream> namespace vkDebug { int validationLayerCount = 1; const char *v...
<commit_before>#ifndef SERVICE_HH # define SERVICE_HH # include <thread> # include <atomic> # include <unordered_map> # include "task.hh" # include "network_mode.hh" namespace network { class Service { public: Service(network::NetworkMode mode); ~Service(); void start(); void stop();...
<commit_before>/***************************************************************************** * * This file is part of Mapnik (c++ mapping toolkit) * * Copyright (C) 2006 Artem Pavlenko * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public...
<commit_before>//=== MallocChecker.cpp - A malloc/free checker -------------------*- C++ -*--// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------...
<commit_before>//=== SourceMgrAdapter.cpp - SourceMgr to SourceManager Adapter -----------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------...
<commit_before>//===-- Writer.cpp - Library for writing LLVM bytecode files --------------===// // // The LLVM Compiler Infrastructure // // This file was developed by the LLVM research group and is distributed under // the University of Illinois Open Source License. See LICENSE.TXT for details. //...
<commit_before>//===-- Writer.cpp - Library for writing LLVM bytecode files --------------===// // // The LLVM Compiler Infrastructure // // This file was developed by the LLVM research group and is distributed under // the University of Illinois Open Source License. See LICENSE.TXT for details. //...
<commit_before>#include <typeinfo> #include "drake/common/drake_assert.h" #include "drake/solvers/GurobiSolver.h" #include "drake/solvers/MathematicalProgram.h" #include "drake/solvers/Optimization.h" #include "drake/util/eigen_matrix_compare.h" #include "drake/util/testUtil.h" #include "gtest/gtest.h" #include "guro...
<commit_before>//===-- StackProtector.cpp - Stack Protector Insertion --------------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------...
<commit_before>// Copyright 2014-2015 Project Vogue. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include <algorithm> #include <string> #include <sstream> #include <vector> #include "elang/compiler/ast/formatters/text_formatter.h" #incl...
<commit_before>/*************************************************************************\ ** ** tOutput.cpp: Functions for output objects ** ** ** ** $Id: tOutput.cpp,v 1.8 1998-06-04 21:25:57 gtucker Exp $ \*************************************************************************/ #include "tOutput.h" /********...
<commit_before>#if defined(WIN32) #pragma warning(disable:4200) #define SHARED_LIB(base) (string(base) + ".dll") #elif defined(__APPLE__) #define SHARED_LIB(base) (string(base) + ".dylib") #else #define SHARED_LIB(base) (string(base) + ".so") #endif #include <iostream> #include <sstream> #include <julia.h> #include...
<commit_before>/************************************************************************* * * $RCSfile: hfi_interface.cxx,v $ * * $Revision: 1.4 $ * * last change: $Author: obo $ $Date: 2004-11-15 13:33:19 $ * * The Contents of this file are made available subject to the terms of * either of the following...
<commit_before>// // Created by kanairen on 2016/06/13. // #import "Layer.h" Layer::Layer(unsigned int n_data, unsigned int n_in, unsigned int n_out, float (*activation)(float), float (*grad_activation)(float)) : n_data(n_data), n_in(n_in), n_out(n_out), activation(activation), grad_activ...
<commit_before>#include "cfl.h" #include <fstream> #include <cassert> #include <utilgpu/cpp/str.h> namespace util { std::unique_ptr<CFLNode> parseCFL(std::string filename) { return CFLNode::parseCFL(filename); } std::unique_ptr<CFLNode> CFLNode::parseCFL(std::string filename) { auto root = std::make_unique<...
<commit_before>// Scintilla source code edit control /** @file LexPS.cxx ** Lexer for PostScript ** ** Written by Nigel Hathaway. **/ #include <stdlib.h> #include <string.h> #include <ctype.h> #include <stdarg.h> #include <stdio.h> #include <fcntl.h> #include "Platform.h" #include "PropSet.h" #include "Accessor....
<commit_before>/* * This file is part of signon * * Copyright (C) 2009-2010 Nokia Corporation. * * Contact: Aurel Popirtac <ext-aurel.popirtac@nokia.com> * Contact: Alberto Mardegan <alberto.mardegan@nokia.com> * * This library is free software; you can redistribute it and/or * modify it under the terms of the...
<commit_before>//===- ADCE.cpp - Code to perform dead code elimination -------------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------...
<commit_before>#include <iostream> #include <set> #include <sstream> #include <algorithm> #include "Lower.h" #include "AddImageChecks.h" #include "AddParameterChecks.h" #include "AllocationBoundsInference.h" #include "Bounds.h" #include "BoundsInference.h" #include "CSE.h" #include "Debug.h" #include "DebugToFile.h" ...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: NTables.cxx,v $ * * $Revision: 1.4 $ * * last change: $Author: kz $ $Date: 2006-02-28 10:35:12 $ * * The Contents of this file are made a...
<commit_before>#include "jakmuse_common.h" #include <cstdlib> #include <cstring> #include <cstdio> #include <cctype> #include <cmath> #include <iostream> #include <string> #include <sstream> static int toknum = 0; static std::string token(""); #define ENSURE(a) do{ \ if(!(a)) cancel(#a); \ }while(0) #define TO...
<commit_before>#include <iostream> #include "Match.h" using namespace std; Match::Match(Club& host, Club& guest){ clubs_[0] = &host; clubs_[1] = &guest; goldenSnitch_ = GoldenSnitch(); quaffle_ = Quaffle(); budgers_[0] = Budger(); budgers_[1] = Budger(); generateFieldPlayers(); ge...
<commit_before>//===-- LCSSA.cpp - Convert loops into loop-closed SSA form ---------------===// // // The LLVM Compiler Infrastructure // // This file was developed by Owen Anderson and is distributed under the // University of Illinois Open Source License. See LICENSE.TXT for details. // //===-----...
<commit_before>//===-- Local.cpp - Functions to perform local transformations ------------===// // // The LLVM Compiler Infrastructure // // This file was developed by the LLVM research group and is distributed under // the University of Illinois Open Source License. See LICENSE.TXT for details. // ...
<commit_before> #include <time.h> #include <errno.h> #include <stdio.h> #include <unistd.h> #include <stdlib.h> #include <sys/time.h> #include "../../../src/utils.hpp" #include "../../../src/malloc_alloc.hpp" #include "../../../src/pool_alloc.hpp" void check(const char *str, int error) { if (error) { if(er...
<commit_before>#include "Menus.h" using namespace CEGUI; Menus::Menus(ListenerMouse * mouseControl, ListenerKeyboard * keyControl, PlayerControls * pControl, Application * app) { this->app= app; //démarre le menusRenderer menusRenderer = &CEGUI::OgreRenderer::bootstrapSystem(); //prépare les différ...
<commit_before>/*========================================================================= Program: Visualization Toolkit Module: vtkRenderWindowInteractor.cxx Language: C++ Date: $Date$ Version: $Revision$ Copyright (c) 1993-2002 Ken Martin, Will Schroeder, Bill Lorensen All rights reserv...
<commit_before>#include "WPILib.h" #include "CameraServer.h" #include "Lib830.h" #include "AnalogGyro.h" #include <GripPipeline.h> #include <vision/VisionRunner.h> #include "vision/VisionPipeline.h" #include "thread" #include "unistd.h" #include "input/GamepadF310.h" #include "util/Algorithms.h" using namespace Lib830...
<commit_before>/* * Scene.cpp * * Created on: 24.01.2015 * Author: sartz */ #include "Scene.hpp" #include "Tile.hpp" #include "globals.hpp" #include <iostream> #include "GUI.hpp" #include <math.h> #include "globals.hpp" #include "KeyItem.hpp" Scene::Scene() { // TODO Auto-generated constructor stub gameB...
<commit_before>#include <common.h> #include <Tools.h> namespace LsplTools { /////////////////////////////////////////////////////////////////////////////// void ReplaceTabsWithSpacesInSignleLine( string& line ) { string result; result.reserve( line.length() ); size_t offset = 0; for( char c : line ) { check_lo...
<commit_before>//////////////////////////////////////////////////////////////////////////// // Copyright (c) 2008, Massachusetts Institute of Technology // // All rights reserved. // // ...
<commit_before>// This file is part of the dune-stuff project: // https://users.dune-project.org/projects/dune-stuff // Copyright holders: Rene Milk, Felix Schindler // License: BSD 2-Clause License (http://opensource.org/licenses/BSD-2-Clause) // // Contributors: Kirsten Weber #ifndef DUNE_STUFF_FUNCTIONS_CONSTANT_...
<commit_before>#include "test_common.hh" #if HAVE_DUNE_GRID #include <iostream> #include <fstream> #include <utility> #include <boost/filesystem.hpp> #include <dune/common/mpihelper.hh> #include <dune/common/parametertree.hh> #include <dune/common/timer.hh> #include <dune/stuff/common/parameter/tree.hh> #include <...
<commit_before>// // Alert system // #include <algorithm> #include <boost/algorithm/string/classification.hpp> #include <boost/algorithm/string/replace.hpp> #include <boost/foreach.hpp> #include <map> #include "alert.h" #include "key.h" #include "net.h" #include "sync.h" #include "ui_interface.h" using namespace std...
<commit_before>#include <boost/program_options.hpp> #include <cmath> #include <iostream> #include <unordered_set> #include <allrgb.hh> #include <transformer.hh> namespace po = boost::program_options; int main(int argc, char* argv[]) { po::options_description desc("Usage"); desc.add_options() ("help,h", "Dis...
<commit_before>/* Copyright (c) 2016 Tobias Koelsch * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify,...
<commit_before>/* * Copyright(C) lichuang */ #include <unistd.h> #include <errno.h> #include <string.h> #define USE_SOCKETPAIR #ifndef USE_SOCKETPAIR #include <sys/eventfd.h> #else #include <sys/socket.h> #include <sys/types.h> #endif #include <sys/epoll.h> #include <list> #include "eventrpc/thread.h" #include "e...
<commit_before>// This file is a part of the IncludeOS unikernel - www.includeos.org // // Copyright 2017 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>/* ** Author(s): ** - Herve Cuche <hcuche@aldebaran-robotics.com> ** - Laurent Lec <llec@aldebaran-robotics.com> ** ** Copyright (C) 2012 Aldebaran Robotics */ #include <qimessaging/object.hpp> #include <qimessaging/gateway.hpp> #include <qimessaging/session.hpp> #include <qimessaging/transport_server...
<commit_before>#include <bts/blockchain/time.hpp> #include <bts/client/client.hpp> #include <bts/client/client_impl.hpp> #include <bts/utilities/key_conversion.hpp> #include <bts/wallet/wallet.hpp> namespace bts { namespace client { namespace detail { void client_impl::debug_enable_output(bool enable_flag) { _cli-...