text
stringlengths
54
60.6k
<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>// Allpass filter implementation // // Written by Jezar at Dreampoint, June 2000 // http://www.dreampoint.co.uk // This code is public domain #include "allpass.hpp" allpass::allpass() { bufidx = 0; } void allpass::setbuffer(float *buf, int size) { buffer = buf; bufsize = size; } void allp...
<commit_before>/***************************************************************************** * cmd_playlist.cpp ***************************************************************************** * Copyright (C) 2003 the VideoLAN team * $Id$ * * Authors: Cyril Deguet <[email protected]> * Olivier Teulière...
<commit_before>#include "boost/filesystem.hpp" #include "boost/program_options.hpp" namespace fs = boost::filesystem; namespace po = boost::program_options; #include "opencv2/core.hpp" using namespace cv; #include "saliency/saliency.hpp" #include "features/feature.hpp" #include "util/opencv.hpp" #include "util/file.h...
<commit_before>// Cellular Automata with * in terminal // Sammy Hasan // 2017 /* rule 30 for chaos */ # include <iostream> # include <cstdlib> # include <algorithm> # include <vector> # include <bitset> # include <thread> # include <chrono> using namespace std; int g(){ return rand()%2; } int t(int i,int j, int k...
<commit_before>/* * DOMParser.cpp ***************************************************************************** * Copyright (C) 2010 - 2011 Klagenfurt University * * Created on: Aug 10, 2010 * Authors: Christopher Mueller <[email protected]> * Christian Timmerer <christian.timmerer...
<commit_before>/* * Copyright (c) 2015, Cryptonomex, Inc. * All rights reserved. * * This source code is provided for evaluation in private test networks only, until September 8, 2015. After this date, this license expires and * the code may not be used, modified or distributed for any purpose. Redistribution and ...
<commit_before>//===----------------------------------------------------------------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------...
<commit_before>/* * DamageOverTimeList.cpp * * Created on: 04/06/2010 * Author: victor */ #include "DamageOverTimeList.h" #include "server/zone/objects/creature/CreatureObject.h" uint64 DamageOverTimeList::activateDots(CreatureObject* victim) { uint64 states = 0; uint64 statesBefore = 0; Locker locker(...
<commit_before>#pragma once #include "Communicator.hpp" #include "PoolAllocator.hpp" #include "FullEmpty.hpp" #include "LegacyDelegate.hpp" #include "GlobalCompletionEvent.hpp" #include "ParallelLoop.hpp" #include <type_traits> namespace Grappa { namespace delegate { /// Do asynchronous generic delegate...
<commit_before>#include <atomic> #include <string> #include <gtest/gtest.h> #include <teelogging/teelogging.h> #include "../shell.h" #include "../coroutine.h" #include "../scheduler.h" #include "../semaphore.h" #include "../channel.h" class CoroTest : testing::Test { }; using namespace cu; TEST(CoroTest, Test_find) ...
<commit_before>#include "utest.h" #include "math/random.h" #include "math/numeric.h" #include "math/epsilon.h" #include "solver_stoch.h" #include "functions/test.h" using namespace nano; static void check_function(const function_t& function) { const auto epochs = size_t(100); const auto tune_epochs = ...
<commit_before>/*********************************************************************/ /* Copyright (c) 2013, EPFL/Blue Brain Project */ /* Daniel Nachbaur <[email protected]> */ /* All rights reserved. */ /* ...
<commit_before>/*********************************************************************/ /* Copyright (c) 2013, EPFL/Blue Brain Project */ /* Daniel Nachbaur <[email protected]> */ /* All rights reserved. */ /* ...
<commit_before>// Copyright (c) 2010, Lawrence Livermore National Security, LLC. Produced at // the Lawrence Livermore National Laboratory. LLNL-CODE-443211. All Rights // reserved. See file COPYRIGHT for details. // // This file is part of the MFEM library. For more information and source code // availability see http...
<commit_before>#include "sampler.hpp" #include "context.hpp" #include "texture.hpp" #include "internal/wrapper.hpp" #include "internal/modules.hpp" #include "internal/tools.hpp" #include "internal/glsl.hpp" /* MGLContext.sampler(texture) */ PyObject * MGLContext_meth_sampler(MGLContext * self, PyObject * const * ar...
<commit_before>/** * This file is part of the "FnordMetric" project * Copyright (c) 2014 Paul Asmuth, Google Inc. * * FnordMetric is free software: you can redistribute it and/or modify it under * the terms of the GNU General Public License v3.0. You should have received a * copy of the GNU General Public Licen...
<commit_before>/* * Copyright (c) Facebook, Inc. and its affiliates. * * 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 req...
<commit_before><commit_msg>also backport 1.881 for vertical scrolling of checkboxes, thanks Sandro.<commit_after><|endoftext|>
<commit_before><commit_msg>Enable completion for the reply-to field.<commit_after><|endoftext|>
<commit_before>/* Kopete Yahoo Protocol Notifies about incoming filetransfers Copyright (c) 2006 André Duffeck <[email protected]> ************************************************************************* * * * This ...
<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-2014 Torus Knot Software Ltd Permission is hereby granted, free of charge, to ...
<commit_before>#include "cubeb/cubeb.h" #include <atomic> #include <cassert> #include <cmath> #include <cstdarg> #include <cstring> #include <iostream> #ifdef _WIN32 #include <objbase.h> // Used by CoInitialize() #endif #ifndef M_PI #define M_PI 3.14159263 #endif // Default values if none specified #define DEFAULT_RA...
<commit_before>/// @brief provides fixed-point sum info #ifndef INC_SUM_INFO_HPP_ #define INC_SUM_INFO_HPP_ #include <boost/integer.hpp> #include <boost/static_assert.hpp> #include <boost/concept_check.hpp> #include <boost/mpl/if.hpp> #include <boost/mpl/eval_if.hpp> #include <limits> #include <boost/c...
<commit_before>#pragma once #include "CrestCacheEntry.hpp" #include "CrestConnectionPool.hpp" #include <string> #include <unordered_map> #include <mutex> class CrestCache { public: struct CacheLookupResults { CrestCacheEntry *entry; /**Lock on entry->mutex*/ std::unique_lock<std::mutex>...
<commit_before>/* * Copyright 2014 Matthew Harvey * * 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 applicabl...
<commit_before>// Copyright (c) 2014-2019 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "timedata.h" #include "netbase.h" #include "sync.h" #include "ui_interface.h" #include "util.h" #inc...
<commit_before>/*************************************************************************** * Copyright (C) The Apache Software Foundation. All rights reserved. * * * * This software is published under the terms of the Apache Software ...
<commit_before>#line 2 "togo/app.cpp" /** @copyright MIT license; see @ref index or the accompanying LICENSE file. */ #include <togo/config.hpp> #include <togo/app_type.hpp> #include <togo/log.hpp> #include <togo/system.hpp> #include <togo/memory.hpp> #include <togo/gfx/init.hpp> #include <togo/gfx/display.hpp> #inclu...
<commit_before>/* Highly Optimized Object-oriented Many-particle Dynamics -- Blue Edition (HOOMD-blue) Open Source Software License Copyright 2009-2015 The Regents of the University of Michigan All rights reserved. HOOMD-blue may contain modifications ("Contributions") provided, and to which copyright is held, by vari...
<commit_before>#include "mbed.h" #include "test_env.h" class DevNull : public Stream { public: DevNull(const char *name = NULL) : Stream(name) {} protected: virtual int _getc() {return 0;} virtual int _putc(int c) {return c;} }; DevNull null("null"); int main() { printf("MBED: re-routing stdou...
<commit_before>AliGenerator *AddMCGenAmpt( Double_t Energy = 2760., // CM energy Double_t bmin = 0.0, // minimum impact parameter Double_t bmax = 20.0, // maximum impact parameter Bool_t stringMelting = kTRUE, // string melting option Bool_t useART = ...
<commit_before>#include <cmath> #include <fstream> #include <map> #include <sstream> #include <stdexcept> #include "cvrp.h" #include "tsplib_format.h" namespace VrpSolver { unsigned int Cvrp::demand(unsigned int node_id) const { if ((1 > node_id) || (node_id > dimension_)) throw std::out_of_r...
<commit_before><commit_msg>INTEGRATION: CWS vgbugs07 (1.47.70); FILE MERGED 2007/06/04 13:34:37 vg 1.47.70.1: #i76605# Remove -I .../inc/module hack introduced by hedaburemove01<commit_after><|endoftext|>
<commit_before><commit_msg>INTEGRATION: CWS toolbars2 (1.64.4); FILE MERGED 2004/08/30 09:26:19 mav 1.64.4.1: #i26282# replace all filter variable<commit_after><|endoftext|>
<commit_before><commit_msg>dAllocDontReport() system<commit_after><|endoftext|>
<commit_before>#include <gtest/gtest.h> int main(int Fargc, char **argv) { testing::InitGoogleTest(&argc, argv); return RUN_ALL_TESTS(); } <commit_msg>Fix typo<commit_after>#include <gtest/gtest.h> int main(int argc, char **argv) { testing::InitGoogleTest(&argc, argv); return RUN_ALL_TESTS(); } <|endo...
<commit_before> <commit_msg>Delete nada.cpp<commit_after><|endoftext|>
<commit_before>#include <iostream> #include <cstdio> #include <algorithm> #include <queue> #include <map> #include <set> #include <stack> #include <cstring> #include <string> #include <vector> #include <iomanip> #include <cmath> #include <list> #include <bitset> using namespace std; #define ll long long #define lson...
<commit_before>/*********************************************************************** util.cpp - Utility functions required by several of the example programs. Copyright (c) 1998 by Kevin Atkinson, (c) 1999, 2000 and 2001 by MySQL AB, and (c) 2004, 2005 by Educational Technology Resources, Inc. Others may also...
<commit_before>/***************************************************************************** * Exception.h++ ***************************************************************************** * Base class for all exceptions thrown by me, DAC. *****************************************************************************...
<commit_before>/************************************************************************/ /* */ /* Copyright 2009 by Ullrich Koethe and Hans Meine */ /* */ /* ...
<commit_before>#include <cstring> #include <cassert> #include <string> #include <atomic> #include <memory> #include <set> #include <boost/asio.hpp> #include <mutex> #include "I2PService.h" #include "Destination.h" #include "HTTPProxy.h" #include "util.h" #include "Identity.h" #include "Streaming.h" #include "Destinati...
<commit_before>#include <boost/bind.hpp> #include "base64.h" #include "Log.h" #include "NetDb.h" #include "I2PTunnel.h" namespace i2p { namespace stream { I2PTunnelConnection::I2PTunnelConnection (I2PTunnel * owner, boost::asio::ip::tcp::socket * socket, const i2p::data::LeaseSet * leaseSet): m_Socket (socke...
<commit_before>/*! \copyright (c) RDO-Team, 2011 \file rdoprocess.inl \author ([email protected]) \date 24.07.2011 \brief \indent 4T */ // ----------------------------------------------------------------------- INCLUDES // -----------------------------------------------...
<commit_before>/************************************************************************** * * Copyright 2011 Zack Rusin * All Rights Reserved. * * 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...
<commit_before>#include "ModernGL.hpp" #include "OpenGL.hpp" PyObject * NewFramebuffer(PyObject * self, PyObject * args, PyObject * kwargs) { int width = 0; int height = 0; int colors = 1; bool depth = true; static const char * kwlist[] = {"width", "height", "colors", "depth", 0}; if (!PyArg_ParseTupleAndKeyw...
<commit_before><commit_msg>String release first<commit_after><|endoftext|>
<commit_before>#include "databasecontroller.h" #include "app.h" #include <QtSql> #include <QtConcurrent> DatabaseController::DatabaseController(QObject *parent) : QObject(parent), multiThreaded(false), threadStore() { QtConcurrent::run(this, &DatabaseController::initDatabase); } QUuid DatabaseController::createId...
<commit_before>/*********************************************************************** created: Sep 15 2014 author: Luca Ebach <[email protected]> *************************************************************************/ /*************************************************************************** * Copyrig...
<commit_before>// $Id$ /*********************************************************************** Moses - factored phrase-based language decoder Copyright (C) 2006 University of Edinburgh This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as ...
<commit_before>// testdrive.cpp : An example of how to use rosserial in Windows // #include "stdafx.h" #include <string> #include <stdio.h> #include "ros.h" #include <geometry_msgs/Twist.h> #include <windows.h> using std::string; int main(int argc, char* argv[]) { ros::NodeHandle nh; if (argc != 2)...
<commit_before>#include "machine/test/test.hpp" #include "marshal.hpp" #include <iostream> #include <sstream> #include <math.h> class StringUnMarshaller : public UnMarshaller { public: std::istringstream sstream; StringUnMarshaller(STATE) : UnMarshaller(state, sstream) { } }; class TestUnMarshal : public CxxTe...
<commit_before>/*M/////////////////////////////////////////////////////////////////////////////////////// // // IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING. // // By downloading, copying, installing or using the software you agree to this license. // If you do not agree to this license, do not d...
<commit_before> #include "stdafx.h" #include "fixes.h" class SizeColossalFix : public TempleFix { public: const char* name() override { return "fixes size_colossal (was misspelled as size_clossal)"; } void apply() override { writeHex(0x10278078, "73 69 7A 65 5F 63 6F 6C 6F 73 73 61 6C"); } } sizeColossalFix...
<commit_before>// // Copyright (c) 2018 Rokas Kupstys // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, modif...
<commit_before><commit_msg>testing<commit_after><|endoftext|>
<commit_before>//////////////////////////////////////////////////////////////////////////////// /// @brief simple arango importer /// /// @file /// /// DISCLAIMER /// /// Copyright 2004-2013 triAGENS GmbH, Cologne, Germany /// /// Licensed under the Apache License, Version 2.0 (the "License"); /// you may not use this ...
<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. // // This is a port of ManifestParser.cc from WebKit/WebCore/loader/appcache. /* * Copyright (C) 2008 Apple Inc. All Rights Reserved....
<commit_before>/********************************************************************* * Software License Agreement (BSD License) * * Copyright (c) 2012, Willow Garage, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided tha...
<commit_before>// // Game.cpp // Phantasma // // Created by Thomas Harte on 17/12/2013. // Copyright (c) 2013 Thomas Harte. All rights reserved. // #include "Game.h" #include "GeometricObject.h" #include "Matrix.h" #include "VertexBuffer.h" static float angle = 180.0f; Game::Game(AreaMap *_areasByAreaID) { hasR...
<commit_before>/* * MIPS.hpp * * Created on: Jun 14, 2014 * Author: Pimenta */ #ifndef MIPS_HPP_ #define MIPS_HPP_ // lib #include <systemc.h> // local #include "Context.hpp" #include "Thread.hpp" #include "readwrite_if.hpp" struct Bitmap { short magic_number; int file_size; in...
<commit_before>// Util.cpp // Util class member-functions definition. // // Author: yat0 - https://github.com/yat0 #include "Util.h" #include "App.h" #include <cmath> // render cross on board field (row, col) void Util::drawCross(int row, int col) { int fieldW = App::SCREEN_WIDTH/3; int fieldH = App::SCREEN_H...
<commit_before>/** * @file Wave.cpp * @author Sebastian Ritterbusch <[email protected]> * @version 1.0 * @date 5.2.2016 * @copyright MIT License (see LICENSE file) * @brief Wave file management via libsndfile */ #include <iostream> #include <fstream> extern "C" { #include <sndfile.h> } #include "Wa...
<commit_before>/*========================================================================= * * Copyright Insight Software Consortium * * 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>[DF][NFC] Add npartitions kwarg to RDF docs<commit_after><|endoftext|>
<commit_before><commit_msg>[tree] Fix memory leak in TTreeCacheUnzip #7429<commit_after><|endoftext|>
<commit_before>/* This file is part of the KDE alarm daemon. Copyright (c) 1997-1999 Preston Brown Copyright (c) 2000,2001 Cornelius Schumacher <[email protected]> Copyright (c) 2001 David Jarvie <[email protected]> This program is free software; you can redistribute it and/or modify it...
<commit_before>#include <gtest/gtest.h> #include "Lex.h" #include "JZFileUtil.h" #include <string.h> TEST(LexUtil, eraseLineSeperator){ //these cases are a little complex in input because they are full of special charactor. //don't remove \n if it doesn't have "\" const char* input0 = "this is a test!\n t...
<commit_before>/* @ 0xCCCCCCCC */ #include "kbase/pickle.h" #include <algorithm> #include "kbase/string_util.h" namespace { // Rounds up `num` to the nearest multiple of `factor`. constexpr size_t RoundToMultiple(size_t num, size_t factor) { return factor == 0 ? 0 : (num - 1 - (num - 1) % factor + factor); } ...
<commit_before>/** * @file FDTD_1D.cpp * @brief Implementation of the FDTD_1D class * @author Ben Frazier * @date 08/12/2017 */ #include "FDTD_1D.h" #include <math.h> namespace CEM { /** \brief FDTD_1D Overloaded Constructor * * Standard Constructor */ FDTD_1D::FDTD_1D(InputDataInterface * input): initial...
<commit_before>/* Optional packages. You might want to integrate this with your build system e.g. config.h from ./configure. */ #ifndef UTIL_HAVE__ #define UTIL_HAVE__ #ifndef HAVE_ICU //#define HAVE_ICU #endif #ifndef HAVE_BOOST //#define HAVE_BOOST #endif #ifdef HAVE_CONFIG_H #include "config.h" #endif #endif //...
<commit_before>#include <stdio.h> #include <eigen3/Eigen/Dense> #include "common.h" #include "mem_dense_matrix.h" using namespace fm; class set_col_operate: public type_set_operate<double> { size_t num_cols; public: set_col_operate(size_t num_cols) { this->num_cols = num_cols; } void set(double *arr, size_t ...
<commit_before>//***************************************************************************** // Copyright 2017-2019 Intel Corporation // // 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 "connected_test.h" #include <iostream> using namespace AmqpClient; TEST_F(connected_test, basic_consume) { std::string queue = channel->DeclareQueue(""); std::string consumer = channel->BasicConsume(queue); } TEST_F(connected_test, basic_consume_badqueue) { EXPECT_THROW(channel->BasicCo...
<commit_before>// Copyright 2015 PDFium 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 "testing/test_support.h" #include <stdio.h> #include <string.h> #include <string> #include "testing/utils/path_service.h" #ifdef PDF...
<commit_before>/* * Copyright 2020 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "include/core/SkCanvas.h" #include "include/core/SkSurface.h" #include "include/core/SkTextBlob.h" #include "src/core/SkSurfacePriv.h" #include "tests/...
<commit_before><commit_msg>fix for root 6.24<commit_after><|endoftext|>
<commit_before>/*********************************************************************** * filename: InputInjection.cpp * created: 21/5/2013 * author: Timotei Dolean *************************************************************************/ /*********************************************************...
<commit_before>#include "config_manager.h" using namespace std; using namespace TOOLS; ConfigDataKeeper::ConfigDataKeeper(const ConfigDataKeeper& obj) : storage(obj.storage), tinfo(obj.tinfo) { } ConfigDataKeeper::ConfigDataKeeper(void* data, const string& tinfo) : storage(data), tinfo(tinfo) { } ConfigDataK...
<commit_before>// Title : Implementation of Coroutine in Cpp // Author : [email protected] // Date : 11-21-2020 // License : MIT License /* Implementation of Coroutine in Cpp Compiler: // clang version 3.8.1-24+rpi1 (tags/RELEASE_381/final) // Target: armv6--linux-gnueabihf // Thread model: pos...
<commit_before>#include"../header/IThreadPoolItemBase.hpp" #include<utility> //forward, move #include"../../lib/header/thread/CSemaphore.hpp" #include"../../lib/header/thread/CSmartThread.hpp" using namespace std; namespace nThread { struct IThreadPoolItemBase::Impl { bool alive; CSemaphore wait; //to wake up th...
<commit_before>/* Copyright (C) 2009 George Kiagiadakis <[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 version 2.1 of the License, or ...
<commit_before>#include "TaskbarNotificationAreaIcon.h" #define ICON_UID 0 //Only one icon allowed std::unique_ptr<TskbrNtfAreaIcon> TskbrNtfAreaIcon::instance; UINT TskbrNtfAreaIcon::WmTaskbarCreated=RegisterWindowMessage(L"TaskbarCreated"); std::function<bool(TskbrNtfAreaIcon* sender, WPARAM wParam, LPARAM lParam)>...
<commit_before>#include "stdafx.h" #include "Core/Common.h" #include "Core/Assembler.h" #include "Archs/MIPS/Mips.h" #include "Commands/CDirectiveFile.h" #include "Tests.h" #include <chrono> #if defined(_WIN64) || defined(__x86_64__) || defined(__amd64__) #define ARMIPSNAME "ARMIPS64" #else #define ARMIPSNAME "ARMIPS...
<commit_before><commit_msg>Fixed Test_UserInput function<commit_after><|endoftext|>
<commit_before>/* * Copyright 2016 Emaad Ahmed Manzoor * License: Apache License, Version 2.0 * http://www3.cs.stonybrook.edu/~emanzoor/streamspot/ */ #include <algorithm> #include <bitset> #include <cassert> #include <chrono> #include <deque> #include <iostream> #include <queue> #include <random> #include <strin...
<commit_before>/************************************************************************* * * $RCSfile: ScriptNameResolverImpl.cxx,v $ * * $Revision: 1.8 $ * * last change: $Author: dfoster $ $Date: 2002-10-24 13:57:02 $ * * The Contents of this file are made available subject to the terms of * either of ...
<commit_before><commit_msg>Fixed userlevel check on parameter observation.<commit_after><|endoftext|>
<commit_before>/* * Copyright 2016 neurodata (http://neurodata.io/) * Written by Disa Mhembere ([email protected]) * * This file is part of knor * * 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 Licens...
<commit_before>// -*- mode: C++; c-file-style: "gnu" -*- // kaddrbook.cpp // Author: Stefan Taferner <[email protected]> // This code is under GPL #include <config.h> #include "kaddrbook.h" #ifdef KDEPIM_NEW_DISTRLISTS #include "distributionlist.h" #else #include <kabc/distributionlist.h> #endif #include <kapplicati...
<commit_before>/* * Copyright (C) 2010, 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>/* Crystal Space Event Queue Copyright (C) 1998-2004 by Jorrit Tyberghein Written by Andrew Zabolotny <[email protected]>, Eric Sunshine, Jonathan Tarbox, Frank Richter This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public L...
<commit_before><commit_msg>fix 'dark image' bug in imwri<commit_after><|endoftext|>
<commit_before>/* OFX NoOp plugin. Does nothing. Copyright (C) 2014 INRIA Author: Frederic Devernay <[email protected]> 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 re...
<commit_before>#ifndef GENERIC_FORWARDER_HPP # define GENERIC_FORWARDER_HPP # pragma once #include <cassert> // ::std::size_t #include <cstddef> #include <type_traits> #include <utility> namespace generic { namespace detail { namespace forwarder { template <typename ...A> struct argument_types { }; template <t...
<commit_before>#ifndef GENERIC_FORWARDER_HPP # define GENERIC_FORWARDER_HPP # pragma once #include <cassert> // ::std::size_t #include <cstddef> #include <type_traits> #include <utility> namespace generic { template<typename F, ::std::size_t N = 4 * sizeof(void*)> class forwarder; template<typename R, typename ....
<commit_before>/*========================================================================= Program: OpenIGTLink Library Language: C++ Date: $Date: 2016/01/25 19:53:38 $ Copyright (c) Insight Software Consortium. All rights reserved. This software is distributed WITHOUT ANY WARRANTY; without even ...
<commit_before>#pragma once #include <array> #include <string> #include <memory> #include <typeinfo> #include <typeindex> namespace darwin { enum class status { null,ready,busy,leisure,error }; enum class results { null,success,failure }; enum class colors { white,black,red,green,blue,pink,yellow,cyan }; e...
<commit_before>/* * This file is part of the OpenKinect Project. http://www.openkinect.org * * Copyright (c) 2011 individual OpenKinect contributors. See the CONTRIB file * for details. * * This code is licensed to you under the terms of the Apache License, version * 2.0, or, at your option, the terms of the GNU...