text
stringlengths
54
60.6k
<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>// 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/status/language_menu_button.h" #include <string> #include "app/l10n_util.h" #include "app/resource_...
<commit_before>#include "shader_program.h" #include "pathos/engine.h" #include "pathos/console.h" #include "pathos/render/render_device.h" #include "pathos/util/log.h" #include "pathos/util/resource_finder.h" #include "badger/assertion/assertion.h" #include <fstream> #include <sstream> #define IGNORE_SAME_SHADERS_ON...
<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>// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/chromeos/power/renderer_freezer.h" #include <cstring> // needed for strlen() #include "base/bind.h" #include "b...
<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_rlz_module.h" #include "base/scoped_ptr.h" #include "base/values.h" #include "chrome/com...
<commit_before>/*********************************************************************** created: Wed, 8th Feb 2012 author: Lukas E Meindl (based on code by Paul D Turner) David Reepmeyer (added GLES2/GLES3) *************************************************************************/ /******...
<commit_before>#include <stdexcept> #include "FractalGenerator.h" #include "math_utils.h" /* * Public member functions */ FractalGenerator::FractalGenerator(fractalId id, v8::Isolate *isolate, void (*doneCallback)(v8::Isolate *isolate, v8::Local<v8::Object> nodeBuffer, bool halted, void *doneCallbackData)...
<commit_before>/* * Tyrion * Copyright 2010, Silas Sewell * * 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 conditi...
<commit_before> // Copyright (c) 2012 Nokia, Inc. // 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>#include <sirius.h> void test_gemm(int M, int N, int K, int transa) { sirius::Timer t("test_gemm"); mdarray<double_complex, 2> a, b, c; int imax, jmax; if (transa == 0) { imax = N; jmax = K; } else { imax = K; jmax = N; } a.se...
<commit_before>// Copyright (c) 2010 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "base/command_line.h" #include "base/file_path.h" #include "chrome/browser/browser.h" #include "chrome/browser/speech/speech_i...
<commit_before>// Copyright 2013 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/views/toolbar/toolbar_button.h" #include "base/bind.h" #include "chrome/browser/ui/views/location_bar/location...
<commit_before>/************************************************************************* * * $RCSfile: ChartController_TextEdit.cxx,v $ * * $Revision: 1.6 $ * * last change: $Author: bm $ $Date: 2004-02-10 10:21:12 $ * * The Contents of this file are made available subject to the terms of * either of the...
<commit_before>/* * Copyright 2007-2017 Content Management AG * All rights reserved. * * author: Max Kellermann <mk@cm4all.com> * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * - Redistributions of source...
<commit_before>/* * Copyright (c) MZ3 Project Team All rights reserved. * Code licensed under the BSD License: * http://www.mz3.jp/license.txt */ #include "stdafx.h" #include "MZ3.h" #include "Mz3GroupData.h" #include "util_base.h" #include "util_mz3.h" #include "inifile.h" /** * gbvy[Wp̏ * * O[v...
<commit_before>// Scintilla source code edit control /** @file LexLua.cxx ** Lexer for Lua language. ** ** Written by Paul Winwood. ** Folder by Alexey Yutkin. ** Modified by Marcos E. Wurzius & Philippe Lhoste **/ #include <stdlib.h> #include <string.h> #include <ctype.h> #include <stdarg.h> #include <stdio.h> ...
<commit_before>//Copyright (c) 2018 Ultimaker B.V. //CuraEngine is released under the terms of the AGPLv3 or higher. #include "MergeInfillLines.h" namespace cura { MergeInfillLines::MergeInfillLines(ExtruderPlan& plan) : extruder_plan(plan) { //Just copy the parameters to their fields. } bool MergeInfillLines::...
<commit_before>#include "checkerboardrender.h" #include <QTime> QImage drawCheckerboard(const QImage &imgL, const QImage &imgR, int panX, int panY, int finalwidth, int finalheight, float zoom, QWidget *parent){ // Default Stereo Draw is Anglaph QTime starttime = QTime::currentTime(); bool first = 1; i...
<commit_before> #include <nstd/Memory.h> #include <nstd/Debug.h> #include <Windows.h> class _Memory { public: struct PageHeader { uint64_t checkValue; size_t size; }; struct PageFooter { uint64_t checkValue; }; struct FreePage : public PageHeader { FreePa...
<commit_before>#include <UnitsGroup.h> #include <Position.h> #include <algorithm> #include <util.h> #include <cmath> #include <assert.h> using namespace BWAPI; UnitsGroup::UnitsGroup() :lastGoal(boost::shared_ptr<Goal>()) { } UnitsGroup::~UnitsGroup() { } bool comp_i_dist(const i_dist& l, const i_di...
<commit_before>/* * Copyright 2010-2012 Esrille Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
<commit_before>/*============================================================================= Library: CTK Copyright (c) 2010 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 ...
<commit_before><commit_msg>Fem3DSolutionComponentsTest.cpp: Removed debug exposed by the linux build<commit_after><|endoftext|>
<commit_before>#pragma once #include <stdint.h> /** @file bts/blockchain/fork_blocks.hpp * @brief Defines global constants that hard forks happen */ #define BTS_BLOCKCHAIN_FORK_MARKET_BLOCK_NUM (259000) <commit_msg>update the fork number<commit_after>#pragma once #include <stdint.h> /** @file bt...
<commit_before>/* * Distributed under the OSI-approved Apache License, Version 2.0. See * accompanying file Copyright.txt for details. * * DataMan.cpp * * Created on: Jun 1, 2017 * Author: Jason Wang wangr1@ornl.gov */ #include <fstream> //TODO go away #include <iostream> //TODO go away #include "Data...
<commit_before>#include "x_client_thumbnail_gl.hpp" #include <xcb/composite.h> #include <xcb/xcb_renderutil.h> x_client_thumbnail::x_client_thumbnail(x_connection & c, const rectangle & rect, const xcb_window_t & window, ...
<commit_before>// [[Rcpp::depends(BH)]] #include "Random.h" #include <boost/random/uniform_01.hpp> #include <boost/random/uniform_real_distribution.hpp> #include <boost/random/normal_distribution.hpp> #include <boost/random/poisson_distribution.hpp> #include <boost/random/exponential_distribution.hpp> #include <boost...
<commit_before>/*========================================================================= Program: Visualization Library Module: SampleF.cc Language: C++ Date: $Date$ Version: $Revision$ This file is part of the Visualization Library. No part of this file or its contents may be copied, reprodu...
<commit_before>#include <QDebug> #include <iostream> #include "block.h" #include "cornerblock.h" #include "player.h" #include "dice.h" using namespace std; CornerBlock::CornerBlock(QGameItem * parent,CornerType::Type type) : Block(parent) { block_type = type; } CornerBlock::~CornerBlock() { } // Methods vo...
<commit_before>/** * @file fixed_planner.cpp * * definition of the FixedPlanner class. * * @author Adrien Perkins <adrienp@stanford.edu> */ #include <cstdlib> #include <fstream> #include <iostream> #include <cmath> #include <vector> #include <inttypes.h> #include <unistd.h> #include <string.h> #include "fixed_p...
<commit_before>/* * Copyright 2009-2020 The VOTCA Development Team * (http://www.votca.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 obtain a copy of the License at * *...
<commit_before><commit_msg>[C++] Rename class variables to start with underscore<commit_after><|endoftext|>
<commit_before>#define DEBUG 1 /** * File : D2.cpp * Author : Kazune Takahashi * Created : 2019-3-24 22:42:41 * Powered by Visual Studio Code */ #include <iostream> #include <iomanip> // << fixed << setprecision(xxx) #include <algorithm> // do { } while ( next_permutation(A, A+xxx) ) ; #include <vector> #i...
<commit_before>/* * Copyright (c) 2011 by Michael Berlin, Zuse Institute Berlin * * Licensed under the BSD License, see LICENSE file for details. * */ #include <cstring> #include <iostream> #include <string> #include "libxtreemfs/client.h" #include "libxtreemfs/file_handle.h" #include "libxtreemfs/options.h" #i...
<commit_before>// ============================================================================= // PROJECT CHRONO - http://projectchrono.org // // Copyright (c) 2014 projectchrono.org // All right reserved. // // Use of this source code is governed by a BSD-style license that can be found // in the LICENSE file at the ...
<commit_before>// This file is part of Poseidon. // Copyleft 2020, LH_Mouse. All wrongs reserved. #ifndef POSEIDON_XUTILITIES_HPP_ #define POSEIDON_XUTILITIES_HPP_ #include "utilities.hpp" namespace poseidon { // Creates a thread that invokes `loopfnT` repeatedly and never exits. // Exceptions thrown from the threa...
<commit_before>#include "stdafx.h" #include "UiUtil.h" #include "../NNative.h" namespace UiUtil { enum SyncType { SyncVisible, SyncEnable }; bool IsChild(nui::Ui::NFrameBase* frame, nui::Ui::NFrameBase* root, SyncType syncType, bool& realFlag) { realFlag = true; w...
<commit_before><commit_msg>Fixes DCHECK bug in LinkCapacityEstimator.<commit_after><|endoftext|>
<commit_before>#include "SpriteBatch.h" namespace xixEngine { /* SpriteBatch::SpriteBatch() : _vbo(0), _vao(0), _sortType(GlyphSortType::TEXTURE) { } SpriteBatch::~SpriteBatch() { for (int i = 0; i < _glyphs.size(); i++) { delete _glyphs[i]; } } void SpriteBatch::createRenderBatches() { in...
<commit_before>#include "Renderer.hpp" #define QUOTE(x) #x #define STR(x) QUOTE(x) Renderer::Renderer(CubemapSource* cubemapSource) : al::OmniApp("AlloPlayer", false, 2048), resizeCtx(nullptr), cubemapSource(cubemapSource), newCubemap(false), currentCubemap(nullptr) { nav().smooth(0.8); // set up...
<commit_before>/* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include <gtest/gtest.h> #include "BranchPrefixHoisting.h" #include "ControlFlow.h" #include "IRAssembler.h" #inclu...
<commit_before>/* Copyright (c) 2015-2016 The Squash Authors * * 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...
<commit_before>/* * Copyright 2017 Huy Cuong Nguyen * Copyright 2014 ZXing authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unle...
<commit_before>// Copyright lowRISC contributors. // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #include <iostream> #include "verilated_toplevel.h" #include "verilator_memutil.h" #include "verilator_sim_ctrl.h" int main(int argc, char **argv) { t...
<commit_before>#include "State.hpp" #include "Script.hpp" #include "../File.hpp" #include "../Exception.hpp" #include <cstdlib> #include <sstream> BEGIN_INANITY_LUA State::State() { // создать состояние state = lua_newstate(Alloc, this); if(!state) THROW_PRIMARY_EXCEPTION("Can't create Lua state"); // установи...
<commit_before>#ifndef SAVE_STATE_H # define SAVE_STATE_H # pragma once struct statebuf { void* sp; void* label; }; #if defined(__GNUC__) inline __attribute__((always_inline)) bool savestate(statebuf& ssb) noexcept { bool r; #if defined(i386) || defined(__i386) || defined(__i386__) asm volatile ( "movl %...
<commit_before>#ifndef SAVE_STATE_H # define SAVE_STATE_H # pragma once struct statebuf { void* sp; void* bp; void* label; }; #if defined(__GNUC__) static inline bool __attribute__((always_inline)) savestate( statebuf& ssb) noexcept { bool r; #if defined(i386) || defined(__i386) || defined(__i386__) asm ...
<commit_before>/* * Copyright (C) 2004 Steve Harris, Uwe Koloska * * This program 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 * License, or (at your option) any ...
<commit_before>//============================================================================================================= /** * @file main.cpp * @author Ruben Dörfel <ruben.doerfel@tu-ilmenau.de>; * @version dev * @date February, 2020 * * @section LICENSE * * Copyright (C) 2020, Ruben Dörfel. A...
<commit_before>#include <unittest/testframework.h> #include <thrust/system/cuda/memory.h> #include <cuda_runtime.h> #include "testframework.h" void list_devices(void) { int deviceCount; cudaGetDeviceCount(&deviceCount); if(deviceCount == 0) { std::cout << "There is no device supporting CUDA" << std::endl; ...
<commit_before>#import <v8.h> #import <node.h> #import <AudioToolbox/AudioToolbox.h> #import <UIKit/UIKit.h> #import "graphicServices.h" #import "notifications.h" #import "telephony.h" #import "compatibility.h" // ...meh using namespace node; using namespace v8; class Binding { public: static void Init(v8::Handl...
<commit_before>/** * \file dcs/testbed/system_identification.hpp * * \brief Class to perform a system identification experiment. * * \author Marco Guazzone (marco.guazzone@gmail.com) * * <hr/> * * Copyright (C) 2012 Marco Guazzone * [Distributed Computing System (DCS) Group, * ...
<commit_before>/* This is an example file shipped by 'Aleph - A Library for Exploring Persistent Homology'. This example demonstrates how to obtain a Vietoris--Rips complex from an unstructured point cloud (using Euclidean distances) and calculate its persistent homology. Demonstrated classes: - alep...
<commit_before>#ifndef BULL_MATH_MATRIX_SQUAREMATRIX_HPP #define BULL_MATH_MATRIX_SQUAREMATRIX_HPP #include <Bull/Math/Matrix/Matrix.hpp> namespace Bull { template <typename T, std::size_t S> struct SquareMatrix : public Matrix<T, S, S> { static SquareMatrix<T, S> Zero; /*! \brief Create ...
<commit_before>#ifndef GNR_SCOPEEXIT_HPP # define GNR_SCOPEEXIT_HPP # pragma once #include <utility> /* This counts the number of args */ #define NARGS_SEQ(_1, _2, _3, _4, _5, _6, _7, _8, _9, _10, N, ...) N #define NARGS(...) NARGS_SEQ(__VA_ARGS__, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1) /* This will let macros expand before...
<commit_before>/* * StatefulFeatureFunction.cpp * * Created on: 24 Oct 2015 * Author: hieu */ #include <pthread.h> #include <stdio.h> #include <stdlib.h> #include <errno.h> #include <boost/foreach.hpp> #include "StatefulFeatureFunction.h" #include "../Search/Hypothesis.h" StatefulFeatureFunction::StatefulF...
<commit_before>#ifndef COMPASS_RT_X86_GNU_CPUID_H_ #include "detail/ct/detect_compiler.hpp" #ifdef COMPASS_CT_COMP_GCC #define COMPASS_RT_X86_GNU_CPUID_H_ #include "detail/tags.hpp" #include "detail/definitions.hpp" #include "detail/rt/x86/cpuid_common.hpp" #include <array> #include <cstdint> namespace compass {...
<commit_before>#include "memstat.h" #include "utils.h" CMemStat::CMemStat() { initialized = FALSE; locator = NULL; service = NULL; } CMemStat::~CMemStat() { service = NULL; locator = NULL; if (initialized == TRUE) { CoUninitialize(); } } BOOL CMemStat::Init() { HRESULT status...
<commit_before>// (C) Copyright Gennadiy Rozental 2003-2005. // 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>/***************************************************************************************** * * * GHOUL * * General Helpful Open Utility ...
<commit_before>#pragma once #include <map> #include <array> #include "acmacs-base/stream.hh" #include "acmacs-base/fmt.hh" // ---------------------------------------------------------------------- namespace acmacs { template <typename Obj> class Counter { public: using container_type = std::map...
<commit_before>//============================================================================ // include/vsmc/internal/compiler/sunpro.hpp //---------------------------------------------------------------------------- // // vSMC: Scalable Monte Carlo // // This file is distributed under the 2-cl...
<commit_before>//////////////////////////////////////////////////////////////////////////////// // Name: process.cpp // Purpose: Implementation of class wxExProcess // Author: Anton van Wezenbeek // Copyright: (c) 2012 Anton van Wezenbeek ///////////////////////////////////////////////////////////////////////...
<commit_before>/*********************************************************************************************************************** ** ** Copyright (c) 2011, 2015 ETH Zurich ** All rights reserved. ** ** Redistribution and use in source and binary forms, with or without modification, are permitted provided tha...
<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>/* * #%L * %% * Copyright (C) 2011 - 2016 BMW Car IT GmbH * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * ...
<commit_before>#ifndef _INCLUDED_DS_SUFFIX_ARRAY_HPP #define _INCLUDED_DS_SUFFIX_ARRAY_HPP #include <divsufsort.h> #include <divsufsort64.h> #include <sdsl/int_vector.hpp> #include <tudocomp/io.hpp> #include <tudocomp/util.hpp> #include "forward.hpp" namespace tdc { template<class T> class SuffixArray { public: ...
<commit_before>// @(#)root/base:$Name: $:$Id: TStopwatch.cxx,v 1.5 2002/06/13 13:42:55 rdm Exp $ // Author: Fons Rademakers 11/10/95 /************************************************************************* * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. * * All rights reserved. ...
<commit_before>/* * Copyright 2013 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "SkBenchmark.h" #include "SkCanvas.h" #include "SkPaint.h" #include "SkRandom.h" #include "SkShader.h" #include "SkString.h" #include "SkBlurMask.h" #...
<commit_before>#include "SimpleAudioEngine.h" #include "AppDelegate.h" #include "MenuScene.h" #include "Path.h" USING_NS_CC; bool AppDelegate::applicationDidFinishLaunching() { // initialize director auto director = Director::getInstance(); auto glView = director->getOpenGLView(); if(!glView) { glVi...
<commit_before>/// @file /// @author uentity /// @date 01.07.2019 /// @brief Implements manipulations with object formatters /// @copyright /// 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...
<commit_before>/* This file is part of Kontact. Copyright (c) 2003 Tobias Koenig <tokoe@kde.org> 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, o...
<commit_before>#include <iostream> #include <gtest/gtest.h> #include "drake/systems/plants/RigidBodyTree.h" namespace drake { namespace systems { namespace plants { namespace test { namespace { class RigidBodyTreeTest : public ::testing::Test { protected: virtual void SetUp() { // Instantiates the rigid body...
<commit_before>#include "jss_beautify.h" namespace JSON { std::string js_beautify(std::string const& str, int pretab) { std::stringstream sstr; int tab = pretab; bool was_closed; for (auto const& i : str) { if (i == '{') { sstr << ...
<commit_before>/* * This file is part of accounts-ui * * Copyright (C) 2009-2010 Nokia Corporation. * * 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 GNU Lesser General Public License * version 2.1 as ...
<commit_before>#include "ScarceMatrixData.h" #include "Utils/counters.h" using namespace smurff; ScarceMatrixData::ScarceMatrixData(Eigen::SparseMatrix<double> Y) : MatrixDataTempl<Eigen::SparseMatrix<double> >(Y) { name = "ScarceMatrixData [with NAs]"; } void ScarceMatrixData::init_pre() { MatrixDataTempl<...
<commit_before>// // Oric.cpp // Clock Signal // // Created by Thomas Harte on 11/10/2016. // Copyright © 2016 Thomas Harte. All rights reserved. // #include "Oric.hpp" #include "../MemoryFuzzer.hpp" using namespace Oric; Machine::Machine() : cycles_since_video_update_(0), use_fast_tape_hack_(false), typer_de...
<commit_before>/* * A Remote Debugger for SpiderMonkey Java Script engine. * Copyright (C) 2014-2015 Sławomir Wojtasiak * * 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 * v...
<commit_before>//===-- SIAnnotateControlFlow.cpp - ------------------===// // // 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 "Timer.h" #include <fstream> #include <unistd.h> #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> #include <errno.h> #include <stdio.h> using namespace std; int main(int argc, char* argv[]){ bool all = false; bool fastest = false; if(argc < 3){ cout << "c...
<commit_before>#include "unittest.hpp" #include "rice/Module.hpp" #include "rice/Exception.hpp" #include "rice/Array.hpp" using namespace Rice; TESTSUITE(Module); SETUP(Object) { ruby_init(); } TESTCASE(construct_from_value) { Module m(rb_mEnumerable); ASSERT_EQUAL(rb_mEnumerable, m.value()); } namespace { ...
<commit_before>/* * observer.hpp * * Created on: Jun 3, 2016 * Author: zmij */ #ifndef AFSM_DETAIL_OBSERVER_HPP_ #define AFSM_DETAIL_OBSERVER_HPP_ #include <afsm/fsm_fwd.hpp> #include <afsm/detail/actions.hpp> #include <afsm/detail/transitions.hpp> #include <memory> namespace afsm { namespace detail { st...
<commit_before>//------------------------------------------------------------------------------ // CLING - the C++ LLVM-based InterpreterG :) // author: Axel Naumann <axel@cern.ch> // // This file is dual-licensed: you can choose to license it under the University // of Illinois Open Source License or the GNU Lesser G...
<commit_before>// Copyright (c) 2003 Daniel Wallin and Arvid Norberg // 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...
<commit_before>// vim:ts=2:sw=2:expandtab:autoindent:filetype=cpp: /* The MIT License Copyright (c) 2008, 2009 Flusspferd contributors (see "CONTRIBUTORS" or http://flusspferd.org/contributors.txt) Permission is hereby granted, free of charge, to any person obtaining a copy of t...
<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 2017 The Apollo 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 ...
<commit_before>#include "loss.h" #include "layer.h" #include "model.h" #include "version.h" #include "trainer.h" #include "enhancer.h" #include "text/table.h" #include "text/cmdline.h" #include "solver_batch.h" #include "solver_stoch.h" #include <iostream> using namespace nano; namespace { template <typename ...
<commit_before>#include "common.h" #include "Ruby.h" #include "RubyObject.h" #include <node.h> #include <cassert> #include <limits> #include <iostream> using namespace std; using namespace v8; const int32_t MIN_INT32 = std::numeric_limits<int32_t>::min(); const int32_t MAX_INT32 = std::numeric_limits<int32_t>::max()...
<commit_before>#ifndef DUNE_DETAILED_DISCRETIZATIONS_ASSEMBLER_SYSTEM_HH #define DUNE_DETAILED_DISCRETIZATIONS_ASSEMBLER_SYSTEM_HH #include <vector> #include <dune/common/dynmatrix.hh> #include <dune/common/dynvector.hh> #include <dune/common/shared_ptr.hh> namespace Dune { namespace Detailed { namespace Discretizat...
<commit_before>#ifndef SHARDING_HPP #define SHARDING_HPP #include <iostream> #include <fstream> #include <string> #include <sstream> #include <boost/unordered_map.hpp> //#include <unordered_map> #include <utility> #include <math.h> #include <memory> #define MB_TO_BYTES 1024*1024 #include "../api/utility.hpp" typede...
<commit_before>#include "ServerConnection.hpp" namespace et { ServerConnection::ServerConnection( std::shared_ptr<SocketHandler> _socketHandler, int _port, shared_ptr<ServerConnectionHandler> _serverHandler, const string& _key) : socketHandler(_socketHandler), port(_port), serverHandler(_serverH...
<commit_before>#include <thread> #include <future> #include <ncurses.h> #include "../../../src/show_message.hh" #include "../../../src/split.hh" #include "../../vick-shell-command/src/shell_command.hh" #include "../../../src/file_contents.hh" #include "../../../src/prompt.hh" #include "../../../src/mode.hh" #include "...
<commit_before>/************************************************************************* * * * Open Dynamics Engine, Copyright (C) 2001 Russell L. Smith. * * * * Th...
<commit_before>#ifndef AL_OMNIAPP_H #define AL_OMNIAPP_H #include "allocore/al_Allocore.hpp" #include "allocore/io/al_Window.hpp" #include "allocore/protocol/al_OSC.hpp" #include "alloutil/al_FPS.hpp" #include "alloutil/al_OmniStereo.hpp" #define PORT_TO_DEVICE_SERVER (12000) #define PORT_FROM_DEVICE_SERVER (PORT_TO_...
<commit_before>/* LICENSE NOTICE Copyright (c) 2009, Frederick Emmott <mail@fredemmott.co.uk> Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. THE SOFTW...
<commit_before><commit_msg>Added workaround for broadcast mode UE noise window<commit_after><|endoftext|>
<commit_before>/********************************************************************* ** Author: Zach Colbert ** Date: 18 October 2017 ** Description: Defines a function to find the vertical displacement of a falling body in a given time. *********************************************************************/ // Main f...
<commit_before>/* * ThreatMatrix.cpp * * Created on: 1/23/2012 * Author: Kyle */ #include "ThreatMatrix.h" #include "ThreatMap.h" #include "server/zone/objects/creature/CreatureObject.h" ThreatMatrix::ThreatMatrix() { tauntThreat = NULL; focusedThreat = NULL; } ThreatMatrix::~ThreatMatrix() { } Threat...