text
stringlengths
54
60.6k
<commit_before>/* Copyright (c) 2003, 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>/** * @file DurationString.cpp * @brief DurationString class implementation. * @author zer0 * @date 2019-07-15 */ #include <libtbag/time/DurationString.hpp> #include <libtbag/string/StringUtils.hpp> // ------------------- NAMESPACE_LIBTBAG_OPEN // ------------------- namespace time { templa...
<commit_before>/** * The Seeks proxy and plugin framework are part of the SEEKS project. * Copyright (C) 2010 Emmanuel Benazera, ebenazer@seeks-project.info * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the ...
<commit_before>#include "unittest/dummy_protocol.hpp" #include "concurrency/signal.hpp" #include "arch/timing.hpp" namespace unittest { bool dummy_protocol_t::region_t::contains(const region_t &r) { for (std::set<std::string>::iterator it = r.keys.begin(); it != r.keys.end(); it++) { if (keys.count(*it) =...
<commit_before>/* * Copyright (C) 2017~2017 by CSSlayer * wengxt@gmail.com * * 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 of the * License, or (at your option) ...
<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>#include <stdio.h> #include <iterator> #include <iostream> #include <vector> #define OK 1 #define ERROR 0 #define LIST_INIT_SIZE 100 #define LISTINCREMENT 10 #define ElemType int using namespace std; int main() { std::vector<ElemType> v; int a, i; ElemType e, x; if(v.empty()) // 判断顺序表是否创建成功 { ...
<commit_before>#include <stdio.h> #include <vector> #define OK 1 #define ERROR 0 #define LIST_INIT_SIZE 100 #define LISTINCREMENT 10 #define ElemType int using namespace std; int main() { std::vector<ElemType> v; int a, i; ElemType e, x; if(v.empty()) // 判断顺序表是否创建成功 { printf("A Sequence List Has Created.\n"...
<commit_before>// Copyright (c) 2012 The Bitcoin developers // Copyright (c) 2014 The Peerunity developers // Previously distributed under the MIT/X11 software license, see the // file COPYING or http://www.opensource.org/licenses/mit-license.php. // Copyright (c) 2015 Troy Benjegerdes, under AGPLv3 // Distributed unde...
<commit_before>// Copyright (c) 2012 The Bitcoin developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <string> #include "version.h" // Name of client reported in the 'version' message. Report the same name //...
<commit_before>// Copyright (c) 2012 The Bitcoin developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <string> #include "version.h" // Name of client reported in the 'version' message. Report the same name //...
<commit_before>// Copyright (C) 2010, Vaclav Haisman. All rights reserved. // // Redistribution and use in source and binary forms, with or without modifica- // tion, are permitted provided that the following conditions are met: // // 1. Redistributions of source code must retain the above copyright no...
<commit_before>#pragma once #include "base.hpp" #include <string> #include <vector> namespace krbn { namespace manipulator { namespace conditions { class variable final : public base { public: enum class type { variable_if, variable_unless, }; variable(const nlohmann::json& json) : base(), ...
<commit_before>/* * Copyright 2016 Andrei Pangin * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable ...
<commit_before>// vim:ts=2:sw=2:expandtab:autoindent:filetype=cpp: /* Copyright (c) 2008 Aristid Breitkreuz, Ruediger Sonderfeld 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...
<commit_before>#include <QApplication> #include <QDebug> #include "app.h" void messageHandler(QtMsgType type, const QMessageLogContext &context, const QString &message) { Q_UNUSED(context) QString level; switch (type) { case QtDebugMsg: level = "DEBUG";...
<commit_before>//===- PseudoLoweringEmitter.cpp - PseudoLowering Generator -----*- C++ -*-===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------...
<commit_before>#include "OgreOculusRender.hpp" OgreOculusRender::OgreOculusRender(std::string winName) { //Initialize some variables name = winName; root = NULL; window = NULL; smgr = NULL; for(size_t i(0); i < 2; i++) { cams[i] = NULL; rtts[i] = NULL; vpts[i] = NULL; } //Oc is an OculusInterface obje...
<commit_before>// // Name: ItemGroup.cpp // // Copyright (c) 2003 Virtual Terrain Project // Free for all uses, see license.txt for details. // #ifdef __GNUG__ #pragma implementation #pragma interface #endif // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" #ifndef WX_PRECOMP #in...
<commit_before>#include "indexer/ftypes_matcher.hpp" #include "indexer/feature.hpp" #include "indexer/feature_data.hpp" #include "indexer/classificator.hpp" #include "std/sstream.hpp" #include "std/utility.hpp" namespace ftypes { uint32_t BaseChecker::PrepareToMatch(uint32_t type, uint8_t level) { ftype::TruncVal...
<commit_before>#include <SimpleITKTestHarness.h> #include <sitkImage.h> #include <sitkImageFileReader.h> #include <sitkImageFileWriter.h> #include <sitkHashImageFilter.h> #include <sitkRecursiveGaussianImageFilter.h> #include <sitkCastImageFilter.h> #include <sitkPixelIDValues.h> #include <sitkLabelStatisticsImageFilt...
<commit_before>#include <x0/Logging.h> #include <sd-daemon.h> #include <typeinfo> #include <cstdarg> #include <cstdio> namespace x0 { Logging::Logging() : prefix_(), className_(), enabled_(false) { } Logging::Logging(const char *prefix, ...) : prefix_(), className_(), enabled_(false) { char buf[1024]; va_lis...
<commit_before>// MIT License // // Copyright (c) 2017 Advanced Micro Devices, Inc. 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 Software without restriction, including w...
<commit_before>#include "TestUtils/ResponseUtils.h" #include "gtest/gtest.h" #include <Managers/GameAgent.h> #include <Managers/GameInterface.h> #include <Tasks/BasicTasks/Draw.h> #include <Tasks/BasicTasks/PlayCard.h> #include <future> using namespace Hearthstonepp; TEST(BasicCard, EX1_066) { GameAgent agent( ...
<commit_before>// // Copyright 2018 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // // VulkanFormatTablesTest: // Tests to validate our Vulkan support tables match hardware support. // #include "libANGLE/Contex...
<commit_before>/* * Copyright (c)2015 - 2016 Oasis LMF Limited * 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 * notic...
<commit_before>#ifndef STAN_MATH_REV_FUN_CSR_MATRIX_TIMES_VECTOR_HPP #define STAN_MATH_REV_FUN_CSR_MATRIX_TIMES_VECTOR_HPP #include <stan/math/prim/fun/Eigen.hpp> #include <stan/math/rev/core.hpp> #include <stan/math/prim/err.hpp> #include <stan/math/prim/fun/csr_u_to_z.hpp> #include <vector> namespace stan { namespa...
<commit_before>#ifndef STAN_MATH_REV_MAT_FUN_MATRIX_EXP_MULTIPLY_HPP #define STAN_MATH_REV_MAT_FUN_MATRIX_EXP_MULTIPLY_HPP #include <stan/math/prim/mat/fun/Eigen.hpp> #include <stan/math/prim/arr/err/check_nonzero_size.hpp> #include <stan/math/prim/mat/err/check_multiplicable.hpp> #include <stan/math/prim/mat/err/chec...
<commit_before>/* * File: Calendar.cpp * Author: Martin Novak, xnovak1c@stud.fit.vutbr.cz * * Created on 20. January 2016 */ #include "Calendar.h" #include <chrono> #include <ctime> #include <memory> #include <thread> #include <vector> #include "TaskInstance.h" #include "Logger.h" // Definition of singleto...
<commit_before>#include "stdsneezy.h" #include "obj_cookware.h" #include "task_cook.h" #include "obj_pool.h" #include "obj_corpse.h" #include "obj_food.h" bool check_ingredients(TCookware *pot, int recipe){ int nfound=0; TThing *t; TPool *pool; TCorpse *corpse; TObj *obj; // check basic ingredients for...
<commit_before> #include "geometry.hpp" #include "quadrics.hpp" #include "line.hpp" #include "accurate_intersections.hpp" #include "timer.hpp" #include <list> #include <fstream> #include <iomanip> template <int dim, typename fptype> std::list<Geometry::Quadric<dim, fptype>> parseQuadrics( const char *fname) { s...
<commit_before>//Copyright (c) 2020 Ultimaker B.V. //CuraEngine is released under the terms of the AGPLv3 or higher. #include "PolylineStitcher.h" namespace cura { }//namespace cura <commit_msg>lil copyright notice<commit_after>//Copyright (c) 2022 Ultimaker B.V. //CuraEngine is released under the terms of the AG...
<commit_before>// conversion.cpp: step-by-step example of conversion of values to posits // // Copyright (C) 2017-2019 Stillwater Supercomputing, Inc. // // This file is part of the universal numbers project, which is released under an MIT Open Source license. #include <universal/posit/posit> // convert a floating po...
<commit_before>/** * @file action_test.cpp * @copyright defined in eos/LICENSE.txt */ #include <eosiolib/action.hpp> #include <eosiolib/transaction.hpp> #include <eosiolib/chain.h> #include <eosiolib/db.h> #include <eosiolib/crypto.h> #include <eosiolib/privileged.h> #include <eosiolib/eosio.hpp> #include <eosiolib/...
<commit_before>#include <QNote.h> #include <ui_QNote.h> #include <fileviewmodel.h> #include <cassert> #include <QFileDialog> #include <QFile> #include <QMessageBox> #include <QTextStream> #include <QListWidget> #include <QtPrintSupport> #include <QListView> #include <QDebug> #include <QLabel> #include <QBuffer> QNo...
<commit_before>/****************************************************************************** This source file is part of the tomviz project. Copyright Kitware, Inc. This source code is released under the New BSD License, (the "License"). Unless required by applicable law or agreed to in writing, software ...
<commit_before>/****************************************************************************** * _ _____ __________ * * | | / / _ | / __/_ __/ Visibility * * | |/ / __ |_\ \ / / Across ...
<commit_before>#ifndef STAN_MATH_OPENCL_MATRIX_CL_HPP #define STAN_MATH_OPENCL_MATRIX_CL_HPP #ifdef STAN_OPENCL #include <stan/math/opencl/opencl_context.hpp> #include <stan/math/opencl/matrix_cl_view.hpp> #include <stan/math/opencl/err/check_opencl.hpp> #include <stan/math/prim/mat/fun/Eigen.hpp> #include <stan/math/p...
<commit_before>#ifndef STAN_MATH_OPENCL_MATRIX_CL_HPP #define STAN_MATH_OPENCL_MATRIX_CL_HPP #ifdef STAN_OPENCL #include <stan/math/opencl/opencl_context.hpp> #include <stan/math/opencl/matrix_cl_view.hpp> #include <stan/math/opencl/err/check_opencl.hpp> #include <stan/math/prim/mat/fun/Eigen.hpp> #include <stan/math/p...
<commit_before>#ifndef STAN_MATH_PRIM_ARR_FUN_SUM_HPP #define STAN_MATH_PRIM_ARR_FUN_SUM_HPP #include <cstddef> #include <vector> namespace stan { namespace math { /** * Return the sum of the values in the specified standard vector. * * @tparam T Type of elements summed. * @param xs Standard vector to sum. * @r...
<commit_before>/* -*- coding: utf-8; mode: c++; tab-width: 3; indent-tabs-mode: nil -*- Copyright 2014 Raffaello D. Di Napoli This file is part of Abaclade. Abaclade 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 Foundat...
<commit_before>#include "TestConfigurator.h" #include <iostream> #include "Catch.h" #include "EACirc.h" TestConfigurator::TestConfigurator() : m_currentProject(0) { m_projects.push(PROJECT_ESTREAM); m_projects.push(PROJECT_SHA3); m_projects.push(PROJECT_FILE_DISTINGUISHER); } TestConfigurator::TestCon...
<commit_before>#ifndef MULTIWORDINTEGERARITHMETICS_HPP #define MULTIWORDINTEGERARITHMETICS_HPP #include "MultiwordInteger.hpp" template<unsigned size, typename storageType> constexpr MultiwordInteger<size, storageType>& MultiwordInteger<size, storageType>::operator+=(MultiwordInteger<size, storageType> const &o) { ...
<commit_before>// (C) Copyright Gennadiy Rozental 2001-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>/** * \file * \brief ThreadControlBlock class header * * \author Copyright (C) 2014-2015 Kamil Szczygiel http://www.distortec.com http://www.freddiechopin.info * * \par License * 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 * di...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: expl.cxx,v $ * * $Revision: 1.3 $ * * last change: $Author: hr $ $Date: 2006-06-19 21:50:15 $ * * The Contents of this file are made avai...
<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/net/url_fetcher.h" #include "base/compiler_specific.h" #include "base/string_util.h" #include "base/thread.h"...
<commit_before>/************************************************************************* * * $RCSfile: pe_struc.hxx,v $ * * $Revision: 1.3 $ * * last change: $Author: hr $ $Date: 2004-02-04 12:41:22 $ * * The Contents of this file are made available subject to the terms of * either of the following licen...
<commit_before>/* -*- mode: C++; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ // vim:sts=8:sw=8:ts=8:noet:sr:cino=>s,f0,{0,g0,(0,\:0,t0,+0,=s /* * examples/charpoly.C * * Copyright (C) 2005, 2010 D. Saunders, C. Pernet, J-G. Dumas * * This file is part of LinBox. * * LinBox is free software: you...
<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) 2003-2005 The Regents of The University of Michigan * Copyright (c) 2007 MIPS Technologies, 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: redistri...
<commit_before>/* ** Copyright 2014 Centreon ** ** Licensed under the Apache License, Version 2.0 (the "License"); ** you may not use this file except in compliance with the License. ** You may obtain a copy of the License at ** ** http://www.apache.org/licenses/LICENSE-2.0 ** ** Unless required by applicable law o...
<commit_before>/* Copyright 2015-2017 Philippe Tillet * * 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, me...
<commit_before>#pragma once //=====================================================================// /*! @file @brief RX マイコン、デバイス固有ヘッダー @author 平松邦仁 (hira@rvf-rc45.net) @copyright Copyright (C) 2018, 2022 Kunihito Hiramatsu @n Released under the MIT license @n https://github.com/hirakuni45/RX/blo...
<commit_before>/* +----------------------------------------------------------------------+ | Swoole | +----------------------------------------------------------------------+ | Copyright (c) 2012-2015 The Swoole Group | +----...
<commit_before>//------------------------------------------------------------------------------ // CLING - the C++ LLVM-based InterpreterG :) // version: $Id$ // author: Vassil Vassilev <vvasielv@cern.ch> //------------------------------------------------------------------------------ #include "cling/Interpreter/Tran...
<commit_before>#include "gc/gc.hpp" #include "builtin/tuple.hpp" #include "vm.hpp" #include "vm/object_utils.hpp" #include "objectmemory.hpp" #include "builtin/fixnum.hpp" #include "builtin/compactlookuptable.hpp" #include <stdarg.h> #include <iostream> #include <stdint.h> namespace rubinius { Tuple* Tuple::bounds...
<commit_before>/* * Copyright 2018 Google 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 applicable la...
<commit_before>/// (c) Koheron #include "pubsub.hpp" #include "kserver_session.hpp" namespace kserver { template<uint32_t channel, uint32_t event, typename... Tp> void PubSub::emit(Tp&&... args) { static_assert(channel < channels_count, "Invalid channel"); for (auto const& sid : subscribers.get(channel)) ...
<commit_before>/************************************************************************* * * $RCSfile: pageproperties.hxx,v $ * * $Revision: 1.3 $ * * last change: $Author: hr $ $Date: 2004-11-26 15:07:54 $ * * The Contents of this file are made available subject to the terms of * either of the following...
<commit_before>//------------------------------------------------------------------------------ // CLING - the C++ LLVM-based InterpreterG :) // author: Manasij Mukherjee <manasij7479@gmail.com> // author: Vassil Vassilev <vvasilev@cern.ch> // // This file is dual-licensed: you can choose to license it under the Uni...
<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>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: SvXMLAutoCorrectExport.hxx,v $ * * $Revision: 1.7 $ * * last change: $Author: rt $ $Date: 2005-09-08 22:24:31 $ * * The Contents of this ...
<commit_before>/*========================================================================= Program: ORFEO Toolbox Language: C++ Date: $Date$ Version: $Revision$ Copyright (c) Centre National d'Etudes Spatiales. All rights reserved. See OTBCopyright.txt for details. This software is distr...
<commit_before>#include "Globals.h" #include "Application.h" #include "ModuleAudio.h" #pragma comment( lib, "3DEngine/SDL_mixer/libx86/SDL2_mixer.lib" ) ModuleAudio::ModuleAudio( bool start_enabled) : Module(start_enabled), music(NULL) {} // Destructor ModuleAudio::~ModuleAudio() {} // Called before render is avail...
<commit_before>///////////////////////////////////////////////////////////////////////// // // Copyright (c) 2002 Stanislav Shwartsman // Written by Stanislav Shwartsman <gate@fidonet.org.il> // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser ...
<commit_before> /* * Copyright 2010 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "GrResourceCache.h" #include "GrResource.h" GrResourceEntry::GrResourceEntry(const GrResourceKey& key, GrResource* resource) : fKey(key), f...
<commit_before>/** extra.hpp - Support file for writing LV2 plugins in C++ Copyright (C) 2012 Michael Fisher <mfisher31@gmail.com> 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;...
<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>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: slidepersist.cxx,v $ * * $Revision: 1.2 $ * * last change: $Author: rt $ $Date: 2008-01-17 08:06:00 $ * * The Contents of this file are m...
<commit_before><commit_msg>On init of DbCellControl, load value from Model<commit_after><|endoftext|>
<commit_before>/* * Copyright 2014 Cloudius Systems */ #ifndef SSTRING_HH_ #define SSTRING_HH_ #include <stdint.h> #include <algorithm> #include <string> #include <cstring> #include <stdexcept> #include <initializer_list> #include <iostream> #include <functional> #include <cstdio> #include <experimental/string_view...
<commit_before>//===-- MSP430RegisterInfo.cpp - MSP430 Register Information --------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------...
<commit_before>/************************************************************************* * * $RCSfile: callnk.cxx,v $ * * $Revision: 1.5 $ * * last change: $Author: fme $ $Date: 2002-09-09 09:26:48 $ * * The Contents of this file are made available subject to the terms of * either of the following licens...
<commit_before><commit_msg>WaE: private field 'nSttLineNum' is not used<commit_after><|endoftext|>
<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>/************************************************************************* * * $RCSfile: tablepg.hxx,v $ * * $Revision: 1.7 $ * * last change: $Author: svesik $ $Date: 2004-04-21 10:01:45 $ * * The Contents of this file are made available subject to the terms of * either of the following li...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: wrtundo.cxx,v $ * * $Revision: 1.10 $ * * last change: $Author: obo $ $Date: 2006-09-16 23:40:57 $ * * The Contents of this file are made...
<commit_before><commit_msg>SwWrtShell::GetDoStrings: bogus assertion<commit_after><|endoftext|>
<commit_before>//Sample provided by Thiago Massari Guedes //April 2015 //http://www.simplycpp.com/ #include "example_main.h" #include <iostream> #include <algorithm> #include <vector> using namespace std; //Generico. Sem tipos declarados #define FILL(v, i, start, end, step) { \ for(i=start; i < end; i+=step) \ v...
<commit_before>/** @file uml_nodeelement.cpp * @brief Класс, представляющий объект на диаграмме * */ #include <QtGui> #include "uml_nodeelement.h" #include "realrepomodel.h" #include "realreporoles.h" #include "editorviewscene.h" using namespace UML; NodeElement::NodeElement() : portsVisible(false) { setAcceptsH...
<commit_before>/************************************************************************* * * $RCSfile: except.cxx,v $ * * $Revision: 1.3 $ * * last change: $Author: vg $ $Date: 2003-04-15 16:26:28 $ * * The Contents of this file are made available subject to the terms of * either of the following license...
<commit_before>#pragma once #include <boost/operators.hpp> #include <iterator> #include "defaults.hpp" #include "tools.hpp" namespace gftools { /** This class describes a point on a grid. It has an index (integer) and a value (pretty much anything) , and it maps between the two. The index is used for fast acce...
<commit_before>#include <yttrium/i18n/translation.h> #include <yttrium/ion/document.h> #include <yttrium/ion/node.h> #include <yttrium/ion/object.h> #include <yttrium/ion/value.h> #include <yttrium/memory_manager.h> #include <yttrium/string.h> #include <cstdio> #include <map> using namespace Yttrium; void update_tra...
<commit_before>//===--- tools/extra/clang-tidy/ClangTidyMain.cpp - Clang tidy tool -------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------...
<commit_before>/* * Copyright 2010, 2011 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 applic...
<commit_before>/* Copyright 2015 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by appl...
<commit_before>/* Begin CVS Header $Source: /Volumes/Home/Users/shoops/cvs/copasi_dev/copasi/trajectory/CTrajectoryTask.cpp,v $ $Revision: 1.40 $ $Name: $ $Author: ssahle $ $Date: 2004/10/08 09:19:10 $ End CVS Header */ /** * CTrajectoryTask class. * * This class implements a trajectory task whi...
<commit_before>// Copyright (c) 2015 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 "bench.h" #include "key.h" #include "stacktraces.h" #include "validation.h" #include "util.h" #include "...
<commit_before>/* Begin CVS Header $Source: /Volumes/Home/Users/shoops/cvs/copasi_dev/copasi/utilities/CAnnotatedMatrix.cpp,v $ $Revision: 1.5 $ $Name: $ $Author: ssahle $ $Date: 2005/11/09 16:23:12 $ End CVS Header */ #include "CAnnotatedMatrix.h" #include "report/CKeyFactory.h" CCopasiArray::CCo...
<commit_before>// Copyright (c) 2015 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 "bench.h" #include "util.h" #include "validation/validation.h" #include "checkqueue.h" #include "prevector...
<commit_before>/* Begin CVS Header $Source: /Volumes/Home/Users/shoops/cvs/copasi_dev/copasi/utilities/CCopasiParameter.cpp,v $ $Revision: 1.6 $ $Name: $ $Author: shoops $ $Date: 2003/11/07 18:15:36 $ End CVS Header */ /** * CCopasiParameter class. * This class is used to describe method paramt...
<commit_before>// Copyright (c) 2018-2020 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 <bench/bench.h> #include <blockfilter.h> static const GCSFilter::ElementSet GenerateGCSTestElements(...
<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 "Lice...
<commit_before>/* * CodeQuery * Copyright (C) 2013 ruben2020 https://github.com/ruben2020/ * * 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 3 of the License, or * (at you...
<commit_before>/** \brief Utility for creating Debian/Ubunto AMD64 packages. * \author Dr. Johannes Ruscheinski (johannes.ruscheinski@uni-tuebingen.de) * \documentation See https://ubuntuforums.org/showthread.php?t=910717 * * \copyright 2019 Universitätsbibliothek Tübingen. All rights reserved. * * This prog...
<commit_before> #include "btree/modify_oper.hpp" #include "utils.hpp" #include <boost/shared_ptr.hpp> #include "buffer_cache/buf_lock.hpp" #include "buffer_cache/co_functions.hpp" #include "btree/internal_node.hpp" #include "btree/leaf_node.hpp" #include "btree/operations.hpp" #include "btree/slice.hpp" // TODO: con...
<commit_before>/**************************************************************************** ** ** Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies). ** Contact: Nokia Corporation (qt-info@nokia.com) ** ** This file is part of the Qt Mobility Components. ** ** $QT_BEGIN_LICENSE:LGPL$ ** No Commercia...
<commit_before>#include <boost/python.hpp> #include "ModelInterface.h" #include "pyToCppModelInterface.h" #include <boost/python/stl_iterator.hpp> #include <iostream> #include <stdexcept> //#include <boost/python.hpp> namespace threeML { template< typename T > inline std::vector< T > to_std_vector( const...
<commit_before>/*************************************************************************** copyright : (C) 2002 - 2008 by Scott Wheeler email : wheeler@kde.org ***************************************************************************/ /*********************************************...