text
stringlengths
54
60.6k
<commit_before>// Copyright (c) 2006-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 file is here so other GLES2 related files can have a common set of // includes where appropriate. #include <windows.h> #i...
<commit_before>/* * Copyright 2008, 2009 Google Inc. * Copyright 2007 Nintendo Co., Ltd. * * 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...
<commit_before><commit_msg>WaE: declaration of 'nInd' shadows a previous local<commit_after><|endoftext|>
<commit_before>#include "Platform.hpp" #include "Neuron.hpp" #include "Synapse.hpp" #include "Branch.hpp" #include "ActivityStats.hpp" #include "genome.pb.h" #include "Brain.hpp" #include "SimpleProteinEnvironment.hpp" #include "ProteinDensity.hpp" #include "SpatialSearch.hpp" #include <time.h> namespace Elysia { /**...
<commit_before>/* * Copyright (c) 2003-2011 Rony Shapiro <ronys@users.sourceforge.net>. * All rights reserved. Use of the code is allowed under the * Artistic License 2.0 terms, as specified in the LICENSE file * distributed with this code, or available from * http://www.opensource.org/licenses/artistic-license-2....
<commit_before>#include <Zmey/Physics/PhysicsEngine.h> #include <PhysX/PxPhysics.h> #include <PhysX/PxPhysicsAPI.h> #include <PhysXShared/foundation/PxAllocatorCallback.h> #include <PhysX/common/PxTolerancesScale.h> #include <PhysX/pvd/PxPvdSceneClient.h> #include <Zmey/Logging.h> #include <Zmey/Modules.h> ...
<commit_before>/* * The Apache Software License, Version 1.1 * * * Copyright (c) 1999 The Apache Software Foundation. All rights * reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1. Redistri...
<commit_before><commit_msg>punisher - hud tests, menu centering attempt<commit_after><|endoftext|>
<commit_before>// // bench.cpp : spdlog benchmarks // #include <iostream> #include <memory> #include <string> #include <thread> #include <atomic> #include "spdlog/spdlog.h" #include "spdlog/sinks/file_sinks.h" #include "spdlog/sinks/stdout_sinks.h" #include "spdlog/sinks/null_sink.h" #include "utils.h" using namespac...
<commit_before>//----------------------------------------------- // // This file is part of the Siv3D Engine. // // Copyright (c) 2008-2019 Ryo Suzuki // Copyright (c) 2016-2019 OpenSiv3D Project // // Licensed under the MIT License. // //----------------------------------------------- # pragma once # include <memory...
<commit_before>#pragma once #include <agency/detail/config.hpp> #include <agency/execution_policy.hpp> #include <agency/flattened_executor.hpp> #include <agency/cuda/execution_agent.hpp> #include <agency/cuda/grid_executor.hpp> #include <agency/cuda/parallel_executor.hpp> #include <agency/cuda/concurrent_executor.hpp>...
<commit_before>/** * @file llviewereventrecorder.cpp * @brief Viewer event recording and playback support for mouse and keyboard events * * $LicenseInfo:firstyear=2013&license=viewerlgpl$ * * Copyright (c) 2013, Linden Research, Inc. * This library is free software; you can redistribute it and/or * modify it u...
<commit_before><commit_msg>[gtk2] clang warning<commit_after><|endoftext|>
<commit_before>/* The Next Great Finite Element Library. */ /* Copyright (C) 2003 Benjamin S. Kirk */ /* 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 o...
<commit_before><commit_msg>Scont.hpp, now with functor reuse!<commit_after><|endoftext|>
<commit_before>#include "ImportMatchers.h" #include "clang/Basic/SourceManager.h" #include "clang/ASTMatchers/ASTMatchersInternal.h" #include "clang/AST/ExprObjC.h" #include "clang/Lex/Preprocessor.h" #include "llvm/Support/raw_ostream.h" #include <algorithm> using namespace clang; using namespace clang::ast_matchers;...
<commit_before><commit_msg>Improve code documentation<commit_after><|endoftext|>
<commit_before>#include "mainwindow.h" #include "edit_window.h" #include "logic/settings.h" #include "logic/tool_actions.h" #include "tool_editor_widget.h" #include "ui_mainwindow.h" #include <QFile> #include <QFileDialog> #include <QFont> #include <QFontDialog> #include <QFontMetrics> static MainWindow *main_window{...
<commit_before> #include "allocore/io/al_CSVReader.hpp" CSVReader::~CSVReader() { for (auto row: mData) { delete[] row; } mData.clear(); } void CSVReader::readFile(std::string fileName) { std::ifstream f(fileName); if (!f.is_open()) { std::cout << "Could not open:" << fileName << std::endl; return; } st...
<commit_before>// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2008-2009 Gael Guennebaud <g.gael@free.fr> // // Eigen 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...
<commit_before>#include <iostream> #include <fstream> #include <cmath> #include "TH1.h" #include "TH2.h" #include "TH3.h" #include "TCanvas.h" #include "TRandom3.h" #include "TVector2.h" #include "TVector3.h" #include "TLorentzVector.h" #include "detector.hpp" /* Simulated experiment is a K_L->PiPi decay (CP violati...
<commit_before>#ifndef AMGCL_COARSENING_AGGREGATION_HPP #define AMGCL_COARSENING_AGGREGATION_HPP /* The MIT License Copyright (c) 2012-2020 Denis Demidov <dennis.demidov@gmail.com> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "S...
<commit_before>//============================================================================= // FloodIt // // @author: Elisha Lai // @description: Module to provide functions to work with TextDisplay objects // @version: 1.0 03/12/2014 //============================================================================= /...
<commit_before>AliAnalysisTaskSED0Mass *AddTaskD0Mass(Int_t flag=0/*0 = D0,1 = LS*/,Bool_t readMC=kTRUE) { // // AddTask for the AliAnalysisTaskSE for D0 candidates // invariant mass histogram and association with MC truth // (using MC info in AOD) and cut variables distributions // C.Bianchin chiara.bianch...
<commit_before>AliAnalysisTaskJetCluster *AddTaskJetCluster(char* bRec = "AOD",char* bGen = "",UInt_t filterMask = 16, UInt_t iPhysicsSelectionFlag = AliVEvent::kAny,Char_t *jf = "KT", Float_t radius = 0.4,Int_t nSkip = 0,Int_t kWriteAOD = kFALSE,char* deltaFile = "",Float_t ptTrackCut = 0.15, Float_t etaTrackWindow = ...
<commit_before>#pragma once #include "Defines.hpp" #include "Allocator.hpp" namespace Poly { namespace ObjectLifetimeHelper { // Not really sure if this is needed template<class T> void DefaultCreate(T* ptr, typename std::enable_if<std::is_trivially_default_constructible<T>::value>::type* = 0) { ::new (...
<commit_before>// ============================================================================= // // Copyright (c) 2014 Christopher Baker <http://christopherbaker.net> // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Softwar...
<commit_before>/*////////////////////////////////////////////////////////////////// //// SKIRT -- an advanced radiative transfer code //// //// © Astronomical Observatory, Ghent University //// ///////////////////////////////////////////////////////////////// */ #include <cmath> #include <l...
<commit_before>#include "Mesh.h" Resources::Mesh::Mesh(Resource::RawResourceData resData, RawMeshData meshData, ID3D11Device* dev, bool keepRawData) : Resource(resData) { this->m_resourceData.m_resType = ResourceType::RES_MESH; m_meshData = meshData; if(meshData.hasAnimation) this->SetVertices(meshData.m_animV...
<commit_before>/************************************************************************** * Copyright(c) 1998-2007, ALICE Experiment at CERN, All rights reserved. * * * * Author: The ALICE Off-line Project. * ...
<commit_before>/* * Copyright (c) 2006, Mathieu Champlon * 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 ...
<commit_before>/* * Author: Brendan Le Foll <brendan.le.foll@intel.com> * Contributors: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> * Copyright (c) 2015 Intel Corporation. * * Permission is hereby granted, free of charge, to any person obtaining * a copy of this software and associated documentation ...
<commit_before>/* fileedit.cpp ஢ 䠩 - ன editor.cpp */ /* Revision: 1.02 29.06.2000 $ */ /* Modify: 29.06.2000 tran + 㭪樮 28.06.2000 tran - (NT Console resize bug) adding FileEditor::SetScreenPosition 25.06.2000 SVS ! ⮢ Master Copy ! 뤥 ⢥ ᠬ⥫쭮 */ #include "headers.hpp" #pragma hdrstop ...
<commit_before>include "mc_type.cp" proc MCD : (type mcd_request/type mcd_reply client, [type mcd_request/type mcd_reply] backends) # NOTE (possibly shared) dictionaries are application-level primitives we supply. # FIXME specift what parameters to give? e.g., whether to randomise, and initial allocation. global...
<commit_before><commit_msg>Port to kmime::message<commit_after><|endoftext|>
<commit_before>// // cpl.cc // // // Copyright (c) 2011, JF Gigand // // 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>#include "rcMisc.hpp" #include "irods_gsi_object.hpp" #include "irods_auth_manager.hpp" #include "irods_auth_plugin.hpp" namespace irods { gsi_auth_object::gsi_auth_object( rError_t* _r_error ) : auth_object( _r_error ) { creds_ = GSS_C_NO_CREDENTIAL; } gsi_auth_object::~gsi_auth_object() { ...
<commit_before>// $Id$ #include <qdir.h> #include <qstring.h> #include <qfont.h> #include <qcolor.h> #include <qstringlist.h> #include "koprefs.h" #include <kconfig.h> #include <ksimpleconfig.h> #include <kstddirs.h> #include <klocale.h> #include <kdebug.h> #include <kemailsettings.h> KOPrefs *KOPrefs::mInstance = ...
<commit_before><commit_msg>optional verbose mode for --integrity<commit_after><|endoftext|>
<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 2007 Stephen Liu * For license terms, see the file COPYING along with this library. */ #include <stdlib.h> #include <stdio.h> #include <string.h> #include <assert.h> #include <errno.h> #include <signal.h> #include "spporting.hpp" #include "spthread.hpp" #include "spdispatcher.hpp" #...
<commit_before>// This file is a part of the OpenSurgSim project. // Copyright 2013, SimQuest Solutions 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.or...
<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>/* Copyright (c) 2010 Tobias Koenig <tokoe@kde.org> 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 your option) any...
<commit_before>// // test_http_client.cpp // fibio // // Created by Chen Xu on 14-3-12. // Copyright (c) 2014 0d0a.com. All rights reserved. // #include <iostream> #include <vector> #include <sstream> #include <fibio/fiber.hpp> #include <fibio/http/client/client.hpp> #include <fibio/fiberize.hpp> using namespace ...
<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 optio...
<commit_before>#include "vaisseau_data.h" #include "allegro_compatibility.h" #include "option.h" #include "platform_data.h" int init_vaisseau_data(struct vaisseau_data *v, struct vaisseau_gfx *gfx, float mass, float thrust_max, int anglestep, int max_fuel, int speed...
<commit_before>/*************************************************************************** * Copyright (c) 2016, Johan Mabille and Sylvain Corlay * * * * Distributed under the terms of the BSD 3-Clause License. ...
<commit_before>#include "vigra/unittest.hxx" #include "rank_filter.hxx" class RankFilterTest { private: const unsigned long size = 10; vigra::MultiArray< 1, double >::difference_type size_1; vigra::MultiArray< 1, double > array_1; vigra::MultiArray< 1, double > reverse_array_1; vigra::MultiA...
<commit_before>/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* Fluent Bit - Output data to Treasure Data * ========================================= * Copyright (C) 2015 Treasure Data Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use t...
<commit_before>/* * Agora.cpp * * Created on: May 18, 2014 * Author: Flix Robles felrobelv at gmail dot com * Loosely based on Agora Voting: * https://github.com/agoraciudadana/agora-ciudadana/blob/security/agora_site/static/js/agora/views/voting_booth.js */ #include "Agora.h" Agora::Encrypt...
<commit_before>#include <Monitoring/sys.hpp> #include <iostream> #include <stdlib.h> #include <string.h> using namespace std; int main(int argc,char* argv[]) { cout<<"Sys infos:\n\tosName: "<<sys::osName() <<"\n\tosBit: "<<sys::osBit() <<"\n\tosNameBit: "<<sys::osNameBit() <<"\n\tcheckBi...
<commit_before>template<typename T> struct Heap { T val; Heap *l, *r; Heap(T v) : val(v) {} }; template<typename T> Heap<T> *meld(Heap<T> *a, Heap<T> *b) { if (!a) return b; if (!b) return a; if (a->val > b->val) swap(a, b); a->r = meld(a->r, b); swap(a->l, a->r); return a; } template<typename T> He...
<commit_before>/* * This file is part of TelepathyQt4 * * Copyright (C) 2008 Collabora Ltd. <http://www.collabora.co.uk/> * Copyright (C) 2008 Nokia Corporation * * 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 b...
<commit_before>// // Helper.cpp - various helper functions used by VTBuilder // // Copyright (c) 2001-2008 Virtual Terrain Project // Free for all uses, see license.txt for details. // #include "wx/wxprec.h" #ifndef WX_PRECOMP #include "wx/wx.h" #endif #include "Builder.h" #include "Helper.h" #include "vtdata/vtLog....
<commit_before><commit_msg>Extended logging for delete_object()<commit_after><|endoftext|>
<commit_before>#ifndef WARPED_EVENT_HPP #define WARPED_EVENT_HPP #include <string> #include "serialization.hpp" #include "VTime.hpp" namespace warped { struct compareEvents; enum class EventType : bool { NEGATIVE = 0, POSITIVE }; // Events are passed between objects. They may contain data, and must be // s...
<commit_before> #include <verse.h> #include <Ample.h> using namespace verse::ample; class Listener : public SessionObserver, //public TextNodeObserver, public TextBufferObserver, public GeometryNodeObserver, public GeometryLayerObserver, public TagGroupObserver, public TagObserver { public: void ...
<commit_before>// // Programmer: Craig Stuart Sapp <craig@ccrma.stanford.edu> // Creation Date: Sat Feb 14 21:40:14 PST 2015 // Last Modified: Sat Feb 14 23:33:51 PST 2015 // Filename: midifile/src/MidiEvent.cpp // Website: http://midifile.sapp.org // Syntax: C++11 // vim: ts=3 expandtab ...
<commit_before>//////////////////////////////////////////////////////////////////////////////// // // Copyright 2006 - 2014, Paul Beckingham, Federico Hernandez. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to...
<commit_before>/* * Image.cpp * * Created on: 12 Jun 2014 * Author: rick */ #include "Image.hpp" Image::Image(int width, int height) : _width(width), _height(height){ _image.resize(3 * _width * _height); } Image::~Image(){ } void Image::setPixel(int i, int j, float r, float g, float b){ _...
<commit_before>/*========================================================================== * Copyright (c) 2005 University of Massachusetts. All Rights Reserved. * * Use of the Lemur Toolkit for Language Modeling and Information Retrieval * is subject to the terms of the software license set forth in the LICENSE ...
<commit_before>/* * Copyright (C) 2009 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 l...
<commit_before>// This file is a part of the OpenSurgSim project. // Copyright 2013, SimQuest Solutions 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.or...
<commit_before>// // Created by kanairen on 2016/06/13. // #import "Layer.h" const vector<vector<float>> &Layer::forward(vector<vector<float>> &input) { for (int i_data = 0; i_data < n_data; ++i_data) { for (int i_out = 0; i_out < n_out; ++i_out) { for (int i_in = 0; i_in < n_in; ++i_in) { ...
<commit_before>#include "cnn/edges.h" #include "cnn/cnn.h" #include "cnn/training.h" #include "cnn/timing.h" #include "cnn/rnn.h" #include "cnn/lstm-fast.h" #include "cnn/dict.h" #include <iostream> #include <fstream> #include <sstream> using namespace std; using namespace cnn; unsigned LAYERS = 2; unsigned INPUT_DI...
<commit_before>// // emoji.hpp // ********* // // Copyright (c) 2020 Sharon Fox (sharon at xandium dot io) // // Distributed under the MIT License. (See accompanying file LICENSE) // #pragma once #include "aegis/config.hpp" #include "aegis/snowflake.hpp" #include <nlohmann/json.hpp> namespace aegis { namespace gate...
<commit_before><commit_msg>fix windows build(2)<commit_after><|endoftext|>
<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-2006 by Educational Technology Resources, Inc. Others may also ...
<commit_before>#ifndef EBITEN_SCRIPT_SQUIRREL_GAME_HPP #define EBITEN_SCRIPT_SQUIRREL_GAME_HPP #include "ebiten_script/sprite.hpp" #include "ebiten_script/squirrel/geometry_matrix_funcs.hpp" #include "ebiten_script/squirrel/texture_funcs.hpp" #include "ebiten/graphics/graphics_context.hpp" #include "ebiten/graphics/te...
<commit_before>// sample.cxx -- Sound sample encapsulation class // // Written by Curtis Olson, started April 2004. // // Copyright (C) 2004 Curtis L. Olson - curt@flightgear.org // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License as // pu...
<commit_before>// ======================================================================== // // Copyright 2009-2017 Intel Corporation // // // // Licensed under the Apache License, Version 2.0 (the "License"); ...
<commit_before>// License: Apache 2.0. See LICENSE file in root directory. // Copyright(c) 2017 Intel Corporation. All Rights Reserved. #ifndef LIBREALSENSE_RS2_EXPORT_HPP #define LIBREALSENSE_RS2_EXPORT_HPP #include <map> #include <fstream> #include <cmath> #include <string> #include "rs_processing.hpp" namespace r...
<commit_before>/* Copyright (c) 2010, Arvid Norberg 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 of condi...
<commit_before>#include <stdio.h> #include <opencv2/opencv.hpp> #include <time.h> #include <unistd.h> #include "objectTracking/ColorTracker.h" #include "objectTracking/Flooder.h" cv::VideoCapture camera(0); Vec3 targetColor(29, 227, 218); Vec3 minColor; Vec3 maxColor; Vec3 redColor(1, 227, 218); Vec3 minRed; Vec3 ma...
<commit_before>#include <windows.h> #include "macros.h" class Test { public: Test(); int length() const; private: int size; }; Test::Test() :size(0) {} FORCE_INLINE int Test::length() const { return size; } int main() { Test *a; a = NULL; int l = a->length(); return l != 0; } ...
<commit_before>namespace mant { inline bool isRotationMatrix( const arma::Mat<double>& matrix) noexcept; inline bool isCompatibleDimension( const std::size_t firstDimension, const std::size_t secondDimension) noexcept; inline void checkRotationMatrix( const std::string& name, const...
<commit_before>#include <cmath> #include "adapters/alsa/generic.hpp" #include "adapters/alsa/mixer.hpp" #include "utils/math.hpp" #define MAX_LINEAR_DB_SCALE 24 POLYBAR_NS namespace alsa { /** * Construct mixer object */ mixer::mixer(string&& mixer_selem_name, string&& soundcard_name) : m_name(forwa...
<commit_before>#include <libmesh/equation_systems.h> #include <libmesh/mesh.h> #include <libmesh/mesh_generation.h> #include <libmesh/elem.h> #include <libmesh/dof_map.h> #include "test_comm.h" #include "libmesh_cppunit.h" #include <regex> #include <string> using namespace libMesh; #ifdef LIBMESH_ENABLE_CONSTRAINTS...
<commit_before>// // Copyright (c) 2013-2014 Christoph Malek // See LICENSE for more information. // #ifndef RJ_SHARED_DATA_STORE_HPP #define RJ_SHARED_DATA_STORE_HPP #include <map> #include <string> #include <utility> #include <vector> #include <mlk/types/types.h> namespace rj { // TODO: move this helpers ??? ...
<commit_before>#include "alg/StrategySelecter.hh" #include "alg/StrategyOptim.hh" #include "alg/dummyStrategyOptim/DummyStrategyOptim.hh" #include "alg/MCTS/MCTSStrategyOptim.hh" #include "alg/printDebug/PrintDebugStrategy.hh" StrategyOptim* StrategySelecter::buildStrategy(const variables_map& opt_p){ string strat...
<commit_before>// // Copyright (c) 2013 Christoph Malek // See LICENSE for more information. // #ifndef RJ_SHARED_DEBUG_TEXT_HPP #define RJ_SHARED_DEBUG_TEXT_HPP #include <rectojump/global/common.hpp> #include <rectojump/global/errors.hpp> #include <mlk/log/log.h> #include <SFML/Graphics.hpp> namespace rj { cla...
<commit_before>/* algorithm.cpp - CS 472 Project #3: Genetic Programming * Copyright 2014 Andrew Schwartzmeyer * * Source file for algorithm namespace */ #include <algorithm> #include <cassert> #include <ctime> #include <fstream> #include <future> #include <thread> #include "algorithm.hpp" #include "../individual...
<commit_before>/* * CWrap - A library to use C-code in C++. * Copyright (C) 2016 Marcus Gelderie * * * 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...
<commit_before>#ifndef SIPLASPLAS_VARIANT_OPTIONAL_HPP #define SIPLASPLAS_VARIANT_OPTIONAL_HPP #include "variant.hpp" namespace cpp { template<typename T> class Optional { public: Optional() = default; template<typename... Args> Optional(Args&&... args) : _variant{T{std::forward<Args>(args)...}}...
<commit_before>/* Copyright 2013-2016 CyberTech Labs Ltd. * * 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 app...
<commit_before>#ifndef _COMPASS_FIXTURES_H_ #define _COMPASS_FIXTURES_H_ #include <iostream> #include <string> #include "machine_info.hpp" struct host_reference { std::string hostname ; std::string expected_vendor ; std::string expected_brand ; std::string expected_device_name ; ...
<commit_before>#ifndef VSMC_UTILITY_PROGRAM_OPTION_HPP #define VSMC_UTILITY_PROGRAM_OPTION_HPP #include <vsmc/internal/common.hpp> namespace vsmc { /// \brief Program opiton base class /// \ingroup Option class ProgramOptionBase { public : virtual bool compare_set (const char *, const char *) = 0; virtu...
<commit_before>/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "...
<commit_before>/************************************************************************* * * $RCSfile: ZipPackageFolderEnumeration.cxx,v $ * * $Revision: 1.9 $ * * last change: $Author: mtg $ $Date: 2001-11-15 20:30:34 $ * * The Contents of this file are made available subject to the terms of * either of...
<commit_before>/************************************************************************* * * * Open Dynamics Engine, Copyright (C) 2001-2003 Russell L. Smith. * * All rights reserved. Email: russ@q12.org Web: www.q12.org * * ...
<commit_before>/**************************************************************************** * Copyright (c) 2012-2018 by the DataTransferKit authors * * All rights reserved. * * ...
<commit_before>/* * Copyright (c) 2003-2005 The Regents of The University of Michigan * 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 c...
<commit_before>#include"../header/CThreadPoolCommun.h" #include<utility> //move #include"../../lib/header/thread/CThreadList.h" #include"../../lib/header/thread/CThreadQueue.h" #include"../header/CThreadPoolItem.h" using namespace std; namespace nThread { void CThreadPoolCommunBase::detach_(){} void CThreadPoolCom...
<commit_before>/* * Copyright (c) 2010-2011, 2014, 2016-2017 ARM Limited * 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 * to a...
<commit_before>/* * IRC interfaces for La Cogita IRC chatbot * Copyright (C) 2007 Linas Vepstas <linas@linas.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 vers...
<commit_before>/* GIMP - The GNU Image Manipulation Program * Copyright (C) 1995 Spencer Kimball and Peter Mattis * * file-photoflow.c -- raw file format plug-in that uses photoflow * Copyright (C) 2012 Simon Budig <simon@gimp.org> * Copyright (C) 2016 Tobias Ellinghaus <me@houz.org> * * This program is free sof...
<commit_before>/* * Copyright (C) 2006 Apple Computer, Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice,...
<commit_before>#include "MetalinkEditor.hpp" MetalinkEditor::MetalinkEditor() { selection_ = 0; } bool MetalinkEditor::is_empty() const { return metalink_.is_empty(); } int MetalinkEditor::num_files() const { return metalink_.num_files(); } const wxString& MetalinkEditor::get_filename(int file) const { ...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: testframecontrol.cxx,v $ * * $Revision: 1.4 $ * * last change: $Author: vg $ $Date: 2006-06-02 13:04:32 $ * * The Contents of this file a...