text
stringlengths
54
60.6k
<commit_before>#ifndef STATICDB_PLAN_HPP #define STATICDB_PLAN_HPP #include <staticdb/expressions.hpp> #include <staticdb/storage.hpp> #include <silicium/function.hpp> namespace staticdb { template <class Storage> struct basic_plan { typedef Storage storage_type; typedef Si::function<values::value (storage_typ...
<commit_before><commit_msg>coverity#704675 Unchecked dynamic_cast<commit_after><|endoftext|>
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: progress.cxx,v $ * * $Revision: 1.6 $ * * last change: $Author: kz $ $Date: 2006-07-21 11:39:26 $ * * The Contents of this file are made ...
<commit_before>/************************************************************************* * * $RCSfile: excdefs.hxx,v $ * * $Revision: 1.43 $ * * last change: $Author: obo $ $Date: 2004-06-04 14:03:50 $ * * The Contents of this file are made available subject to the terms of * either of the following lice...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: excform.hxx,v $ * * $Revision: 1.15 $ * * last change: $Author: hr $ $Date: 2005-09-28 11:56:09 $ * * The Contents of this file are made ...
<commit_before>/************************************************************************* * * $RCSfile: lotattr.hxx,v $ * * $Revision: 1.2 $ * * last change: $Author: rt $ $Date: 2003-12-01 17:52:11 $ * * The Contents of this file are made available subject to the terms of * either of the following licens...
<commit_before>/************************************************************************* * * $RCSfile: xlstyle.hxx,v $ * * $Revision: 1.2 $ * * last change: $Author: hr $ $Date: 2003-03-26 18:05:14 $ * * The Contents of this file are made available subject to the terms of * either of the following licens...
<commit_before>/************************************************************************* * * $RCSfile: expbase.cxx,v $ * * $Revision: 1.4 $ * * last change: $Author: er $ $Date: 2001-08-22 11:22:12 $ * * The Contents of this file are made available subject to the terms of * either of the following licens...
<commit_before>/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a ...
<commit_before>#include <cstdio> #include <iostream> #include <cstdlib> #include <cmath> #include <climits> void readpgm( const std::string &fn, unsigned char* &data, int &width, int &height ) { FILE* stream = 0; stream = fopen(fn.c_str(),"r"); if ( !stream ) { std::cerr...
<commit_before> #include "manager.hpp" #ifdef _WIN32 #include "dirent.h" #include "fnmatch.h" #else #include <dirent.h> #include <sys/stat.h> #include <fnmatch.h> #endif #include <algorithm> #include <cstring> #include <fstream> #include <sstream> #include <vector> #include "../archives/bsaarchive.hpp" namespace {...
<commit_before>#ifndef STAN_MATH_OPENCL_IS_CONSTANT_HPP #define STAN_MATH_OPENCL_IS_CONSTANT_HPP #ifdef STAN_OPENCL #include <stan/math/prim/meta/is_constant.hpp> #include <stan/math/opencl/matrix_cl.hpp> namespace stan { /** \ingroup type_trait * Defines a static member named value and sets it to true * if the ty...
<commit_before>#include <сomplex_t.hpp> #include <catch.hpp> SCENARIO("def constructor") { complex_t Complex; REQUIRE(Complex.a_() == 0); REQUIRE(Complex.b_() == 0); } SCENARIO("param constructor") { complex_t Complex(1, 2); REQUIRE(Complex.a_() == 1); REQUIRE(Complex.b_() == 2); } SCENARIO("copy constructor") ...
<commit_before> #include <tree.hpp> #include <catch.hpp> SCENARIO("null") { Tree<int> a; REQUIRE(a.tree_one()==NULL); } SCENARIO("add") { Tree <int> a; bool b=a.add(5); REQUIRE(b == 1); } SCENARIO("find") { Tree<int> a; a.add(5); bool b = a.find(5); REQUIRE(b == 1); } SCENARIO("del1") { Tree<int> a; a.add...
<commit_before>#include "SharedResource.h" #define BOOST_TEST_MAIN #include <boost/test/unit_test.hpp> BOOST_AUTO_TEST_CASE(Basic_construction) { SharedResource<int> shared_int; } BOOST_AUTO_TEST_CASE(Construction_with_argument) { SharedResource<int> shared_int(5); } BOOST_AUTO_TEST_CASE(Construction_no_...
<commit_before>/* Copyright (c) 2015, Daniel C. Dillon * 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, * thi...
<commit_before>#include "./importer.h" #include <assimp/scene.h> #include <assimp/postprocess.h> #include <QDebug> #include <string> #include <vector> #include "./utils/path_helper.h" Importer::Importer() { } Importer::~Importer() { } const aiScene *Importer::readScene(std::string filename) { if (scenes.count(file...
<commit_before>/* -*- coding: utf-8; mode: c++; tab-width: 3; indent-tabs-mode: nil -*- Copyright 2010, 2011, 2012, 2013 Raffaello D. Di Napoli This file is part of Application-Building Components (henceforth referred to as ABC). ABC is free software: you can redistribute it and/or modify it under the terms of the ...
<commit_before>// stdafx.cpp : source file that includes just the standard includes // Boost Unit Test Project.pch will be the pre-compiled header // stdafx.obj will contain the pre-compiled type information #define BOOST_TEST_MODULE MyTest #include "stdafx.h" #include <stdlib.h> #include <string> #include <exception...
<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>#pragma once #include <sdbusplus/bus.hpp> #include <thread> namespace sdbusplus { namespace server { namespace transaction { namespace details { // Transaction Id extern thread_local uint64_t id; struct Transaction { Transaction() : time(std::time(nullptr)), thread(std::this_thread::get_id()) ...
<commit_before>//===================================================================================================================================== //The MIT License (MIT) //Copyright (c) 2015 Austin Salgat // //Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associa...
<commit_before>/* This file is part of Anabel Anabel 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 your option) any later version. Anabel is dis...
<commit_before>#define _LARGEFILE64_SOURCE #include "util/file.hh" #include "util/exception.hh" #include <cstdlib> #include <cstdio> #include <iostream> #include <assert.h> #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> #include <stdint.h> #if defined(_WIN32) || defined(_WIN64) #include <windows.h...
<commit_before>/****************************************************************************** * ____ _ _____ * * / ___| / \ | ___| C++ * * | | / _ \ | |_ Actor ...
<commit_before>// Copyright 2016 The Minimal Configuration Manager 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 // // Unles...
<commit_before>/* kopetestatusmanager.cpp - Kopete Status Manager Copyright (c) 2008 by Roman Jarosz <kedgedev@centrum.cz> Kopete (c) 2008 by the Kopete developers <kopete-devel@kde.org> ************************************************************************* * ...
<commit_before>/* Gobby - GTK-based collaborative text editor * Copyright (C) 2008-2014 Armin Burgmeier <armin@arbur.net> * * 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 noti...
<commit_before>#ifdef FROGBOY_SDL #include <stdlib.h> #include <string.h> #include <time.h> #include <SDL.h> #include "frogboy.h" namespace { bool open = false; SDL_Window* window = nullptr; SDL_Surface* windowSurface = nullptr; SDL_Surface* backSurface = nullptr; uint8_t screenBuffer[frogboy::SCR...
<commit_before>// -*- C++ -*- // // ---------------------------------------------------------------------- // // Brad T. Aagaard // U.S. Geological Survey // // <LicenseText> // // ---------------------------------------------------------------------- // #include <porti...
<commit_before>/************************************************************************* * * $RCSfile: frmfmt.hxx,v $ * * $Revision: 1.2 $ * * last change: $Author: od $ $Date: 2002-08-28 12:02:47 $ * * The Contents of this file are made available subject to the terms of * either of the following license...
<commit_before>// This may look like C code, but it is really -*- C++ -*- /* Copyright (C) 1988 Free Software Foundation written by Dirk Grunwald (grunwald@cs.uiuc.edu) This file is part of the GNU C++ Library. This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lib...
<commit_before>/** * @file heisenberg.cpp * @brief The main c++ file for the DMRG * * * @author Roger Melko * @author Ivan Gonzalez * @date $Date$ * * $Revision$ * * Elementary DMRG simulation for the Heisenberg chain; * \f$H= \sum_{ij} (S^x_i S^x_j + S^y_i S^y_j + S^z_i S^z_j ) \f$ * * <ul> * <...
<commit_before>/* Copyright (C) 2005-2011 Fabio Riccardi */ // standard #include <X11/Xlib.h> #include <iostream> // local #include "LC_JNIUtils.h" #ifndef AUTO_DEP #include "javah/com_lightcrafts_platform_linux_LinuxKeyUtil.h" #endif using namespace std; using namespace LightCrafts; ////////// JNI ////////////////...
<commit_before>#include <tesseract/baseapi.h> #include <leptonica/allheaders.h> #include <string> #include <libgen.h> int main(int argc, char *argv[]) { std::string input_filename = std::string(argv[1]); std::string input_basename = std::string(basename(argv[1])); Pix *image = pixRead(input_filename.c_str()); ...
<commit_before>//===-- TCPSocket.cpp -------------------------------------------*- 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 <iostream> #include <fstream> #include <cmath> #include <string> using std::cout; using std::cerr; using std::endl; using std::string; bool checkParameters(int argc, char* argv[]); const string REPLACEMENT_ALGORITHMS[3] = {"lru", "clock", "fifo"}, PAGING_METHODS[2] = {"d", "p"}; ...
<commit_before>// --------------------------------------------------------------------- // // Copyright (C) 2005 - 2014 by the deal.II authors // // This file is part of the deal.II library. // // The deal.II library is free software; you can use it, redistribute // it, and/or modify it under the terms of the GNU Lesse...
<commit_before>//////////////////////////////////////////////////////////////////////// // This file is part of Grappa, a system for scaling irregular // applications on commodity clusters. // Copyright (C) 2010-2014 University of Washington and Battelle // Memorial Institute. University of Washington authorizes use ...
<commit_before><commit_msg>ruler: translate or clear comments in ruler.cxx<commit_after><|endoftext|>
<commit_before><commit_msg>WaE: implicit conversion of literal of type 'int' to 'bool'<commit_after><|endoftext|>
<commit_before><commit_msg>tdf#91840: Default to transparent text background<commit_after><|endoftext|>
<commit_before><commit_msg>fix picture jumping to incorrect X position after dragging<commit_after><|endoftext|>
<commit_before><commit_msg>rendercontext: Don't direct paint the SHOW_IDLE when double-buffering.<commit_after><|endoftext|>
<commit_before>/* ** Copyright 2011-2015 Merethis ** ** This file is part of Centreon Broker. ** ** Centreon Broker is free software: you can redistribute it and/or ** modify it under the terms of the GNU General Public License version 2 ** as published by the Free Software Foundation. ** ** Centreon Broker is distribu...
<commit_before>#ifndef ALEPH_FUNCTION_HH__ #define ALEPH_FUNCTION_HH__ #include "BoundaryMatrix.hh" #include <algorithm> #include <fstream> #include <iterator> #include <numeric> #include <string> #include <vector> namespace aleph { namespace io { template < class Index, class DataType > void loadFunction( con...
<commit_before><commit_msg>Drop unused declaration<commit_after><|endoftext|>
<commit_before>/* ** Copyright 2011-2012 Merethis ** ** This file is part of Centreon Broker. ** ** Centreon Broker is free software: you can redistribute it and/or ** modify it under the terms of the GNU General Public License version 2 ** as published by the Free Software Foundation. ** ** Centreon Broker is distribu...
<commit_before><commit_msg>avoid out-of-bounds access<commit_after><|endoftext|>
<commit_before>// Copyright (c) 2012 Roman Neuhauser // Distributed under the MIT license (see LICENSE file) // vim: sw=2 sts=2 ts=2 fdm=marker cms=\ //\ %s // shared_ptr #include <memory> #include <iostream> #include <istream> #include <ostream> #include <fstream> #include <string> #include <vector> #define EX_OK ...
<commit_before>// Copyright 2017 Jose M. Arbos // // 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...
<commit_before>/* Copyright 2013-present Barefoot Networks, 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 law o...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: xmlbrsh.cxx,v $ * * $Revision: 1.13 $ * * last change: $Author: obo $ $Date: 2006-09-16 22:27:55 $ * * The Contents of this file are made...
<commit_before><commit_msg>fdo#34800 sw: small cleanup<commit_after><|endoftext|>
<commit_before> /* * arg_test.cpp - Tests argument analyzer which is part of the test suite * of this project, and could extended further to be * user in other projects */ #include "test_suite.h" /* * TestArgBasic() - Tests basic functionality */ void TestArgBasic()...
<commit_before>// g++ j.cc -o j -L/usr/local/lib -lroaring #include <vector> #include <string> #include <array> #include <map> #include "roaring.hh" enum FieldType { TIMESTAMP, DIMENSION, BOOL, METRIC_INT, METRIC_FLOAT }; class FieldBase {}; template <FieldType, typename T> class Field : FieldBase { priva...
<commit_before>/* ** Copyright (C) 1999-2012 Erik de Castro Lopo <erikd@mega-nerd.com> ** ** 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 ret...
<commit_before>#include <cstdio> #include <vector> #include <stack> #include <algorithm> #include <memory> namespace Frogs { enum class Frog { None, Brown, Green }; enum class Step { None, JumpLeft, LeapLeft, JumpRight, LeapRight }; class State { std::vector<Frog> lilies; int count,...
<commit_before>#include <iostream> #include <iomanip> #include <fstream> #include <sstream> #include <array> #include <vector> #include <set> #include <map> #include <random> #include <chrono> #include <functional> #include <algorithm> #include <cmath> #define NUM_FIELDS 16 using Entry = std::array<double, NUM_FIEL...
<commit_before>/* * Copyright (C) 2014 Cloudius Systems, Ltd. * */ #include "ip.hh" namespace net { uint16_t ip_checksum(void* data, size_t len) { uint64_t csum = 0; auto p64 = reinterpret_cast<uint64_t*>(data); while (len >= 8) { auto old = csum; csum += ntohq(*p64++); csum +=...
<commit_before>/*c++11*/ #include <cstdio> #include <iostream> #include <algorithm> #include <vector> #include <map> #include <set> #include <string> #include <cstring> #include <cmath> using namespace std; int main(int args, char *argc[]){ return 0; } <commit_msg>change template<commit_after>/*c++11*/ #include <i...
<commit_before>/* IBM_PROLOG_BEGIN_TAG */ /* This is an automatically generated prolog. */ /* */ /* $Source: src/kernel/ipc.C $ ...
<commit_before>#include "SpikeSlab.h" #include "Utils.h" using namespace std; using namespace DNest4; SpikeSlab::SpikeSlab() :params(20) { } void SpikeSlab::from_prior(RNG& rng) { for(size_t i=0; i<params.size(); i++) params[i] = -0.5 + rng.rand(); } double SpikeSlab::perturb(RNG& rng) { int which = rng.rand_i...
<commit_before>/* * Copyright(c) Sophist Solutions, Inc. 1990-2015. All rights reserved */ #include "../StroikaPreComp.h" #include <cstdlib> #include <cstring> #include <ctime> #if qPlatform_POSIX #include <time.h> #endif #include "../Configuration/Common.h" #include "../Characters/String...
<commit_before>#include "symbiosis.hpp" #include "shader.hpp" #include "symbiont_material.hpp" #include "symbiont_species.hpp" #include "holobiont.hpp" #include "material_struct.hpp" #include "entity_templates.hpp" #include "render_templates.hpp" #include "code/ylikuutio/hierarchy/hierarchy_templates.hpp" #include <ofb...
<commit_before>/*========================================================================= Program: Medical Imaging & Interaction Toolkit Language: C++ Date: $Date: 2009-05-13 14:52:01 +0200 (Mi, 13. Mai 2009) $ Version: $Revision: 17230 $ Copyright (c) German Cancer Research Center, Division of Medi...
<commit_before>#include <catch.hpp> #include <ProgramOptions.hxx> #include "arg_provider.hxx" TEST_CASE( "callback", "[ProgramOptions]" ) { po::parser parser; parser.silent(); po::i32_t a_value{}; po::string_t a_value_str{}; std::size_t a_counter_1 = 0; std::size_t a_counter_2 = 0; auto&& a = parser[ "a" ] ....
<commit_before>#include "spec_helper.h" #include "runtime/alloc.h" #include "helpers/load_language.h" #include "helpers/read_test_entries.h" #include "helpers/spy_input.h" #include "helpers/stderr_logger.h" #include "helpers/point_helpers.h" #include "helpers/encoding_helpers.h" #include "helpers/record_alloc.h" #inclu...
<commit_before>void AddTask_LMeeCocktailMC(Int_t CollisionSystem = 200, Float_t MaxEta = 0.8, Float_t MinPt = 0.2, Bool_t WriteTTree = kFALSE, Int_t ResolType = 2 , Int_t ALTweightType = 1, TString resFileName = "") { // ================= Load Librariers ================================= gSystem->Load("libCore"); ...
<commit_before>/************************************************************************** * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * * * * Author: Friederike Bock, Lucia Leardini , A. Marin * ...
<commit_before>// EMCal tender task adder // Author: Jiri Kral AliTender *AddTaskEMCALTender(const char *geoname="EMCAL_COMPLETEV1", AliEMCALRecParam *pars = 0 ) { // Parameters: geoname = "EMCAL_FIRSTYEARV1" or "EMCAL_COMPLETEV1" or "" // Get the pointer to the existing analysis manager via the static access met...
<commit_before>/* * Copyright (C) 2013 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><commit_msg>Update asio.cpp: fix assert<commit_after><|endoftext|>
<commit_before>#include "Zenderer/CoreGraphics/VertexArray.hpp" using namespace zen::gfxcore; CVertexArray::CVertexArray(const GLenum type) : CGLSubsystem("Vertex Array"), m_icount(0), m_vcount(0), m_vao(0), m_vbo(0), m_ibo(0), m_type(type) { m_vaoIndices.clear(); m_vaoVertices.clear(); } CVe...
<commit_before> // GridStructGen.cpp // Implements the cGridStructGen class representing a common base class for structure generators that place structures in a semi-random grid #include "Globals.h" #include "GridStructGen.h" cGridStructGen::cGridStructGen( int a_Seed, int a_GridSizeX, int a_GridSizeZ, int a_M...
<commit_before>#include "MatrixOptimizationDataTx.hpp" #include "SparseMatrix.hpp" #include "KernelWrappers.h" #ifndef HPCG_NOMPI #include "ExchangeHalo.hpp" #include "mpi.h" #endif MatrixOptimizationDataTx::MatrixOptimizationDataTx() : handle(0), matDescr(0), localMatrix(0), gsContext(0), f2c(0), workvecto...
<commit_before>// Copyright (C) 2014 Jérôme Leclercq // This file is part of the "Nazara Engine - Graphics module" // For conditions of distribution and use, see copyright notice in Config.hpp #include <Nazara/Graphics/Graphics.hpp> #include <Nazara/Core/CallOnExit.hpp> #include <Nazara/Core/Error.hpp> #include <Nazar...
<commit_before>/* * Resource loader, functions for loading all supported data types * - Loads JSON scene information from jsoncpp (https://github.com/open-source-parsers/jsoncpp) * - Loads TGA textures via FreeImage * - Loads 3Ds models via Assimp */ #include "resourceloader.hpp" #include <glm/gl...
<commit_before>/* Copyright 2007-2015 QReal Research Group, Dmitry Mordvinov * * 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 * * Unl...
<commit_before>// Copyright (c) 2013, German Neuroinformatics Node (G-Node) // // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted under the terms of the BSD License. See // LICENSE file in the root of the Project. #include "TestFile.hpp" #in...
<commit_before>// Copyright (c) 2013, German Neuroinformatics Node (G-Node) // // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted under the terms of the BSD License. See // LICENSE file in the root of the Project. #include "TestUtil.hpp" #in...
<commit_before>/************************************************************************* * * $RCSfile: detdata.hxx,v $ * * $Revision: 1.2 $ * * last change: $Author: nn $ $Date: 2002-11-04 15:45:51 $ * * The Contents of this file are made available subject to the terms of * either of the following licens...
<commit_before>// Copyright 2018 The Clspv 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 ...
<commit_before>#include "scoretabwidget.hpp" #include <QComboBox> #include <QString> #include <QFile> #include <QTextStream> #include <QSet> #include <QDebug> /** * Constructeur * Crée un ScoreTabWidget * @param parent Widget parent */ ScoreTabWidget::ScoreTabWidget(QWidget *parent) : QWidget(parent) { playerNameLa...
<commit_before>/* BEGIN_COMMON_COPYRIGHT_HEADER * (c)LGPL2+ * * LXDE-Qt - a lightweight, Qt based, desktop toolset * * Authors: * Christian Surlykke <christian@surlykke.dk> * * This program or library is free software; you can redistribute it * and/or modify it under the terms of the GNU Lesser General Publi...
<commit_before>// This file is a part of the IncludeOS unikernel - www.includeos.org // // Copyright 2015-2016 Oslo and Akershus University College of Applied Sciences // and Alfred Bratterud // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the...
<commit_before>/* Copyright 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>/* * ManagerResponsesHandler.cpp * * Created on: Jul 14, 2011 * Author: augcampos */ #include "asteriskcpp/manager/ManagerResponsesHandler.h" #include "asteriskcpp/utils/LogHandler.h" #include "asteriskcpp/utils/StringUtils.h" #define LOOP_INTERVAL 500 namespace asteriskcpp { ResponseC...
<commit_before>// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2008 Gael Guennebaud <gael.guennebaud@inria.fr> // Copyright (C) 2010 Jitse Niesen <jitse@maths.leeds.ac.uk> // // This Source Code Form is subject to the terms of the Mozilla // Public License v....
<commit_before>#include <iostream> #include <string> #include <unordered_map> #include <utility> #include <algorithm> struct SvoRow { std::string s; std::string v; std::string o; int n; }; struct hashPair { template <class T1, class T2> std::size_t operator () (const std::pair<T1, T2> &p) const { ...
<commit_before>#include <iostream> #include <string> #include <unordered_map> #include <utility> #include <algorithm> #include <sstream> #include <vector> struct SvoRow { std::string s; std::string v; std::string o; int n; }; struct hashPair { template <class T1, class T2> std::size_t operator () ...
<commit_before>/** * SFCGAL * * Copyright (C) 2012-2013 Oslandia <infos@oslandia.com> * Copyright (C) 2012-2013 IGN (http://www.ign.fr) * * 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 ...
<commit_before>// Copyright 2015 Google Inc. 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 require...
<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 "components/domain_reliability/util.h" #include "base/callback.h" #include "base/logging.h" #include "base/memory/weak_ptr.h" #in...
<commit_before><commit_msg>Silent debug by default<commit_after><|endoftext|>
<commit_before>/******************************************************************************* * test/bit_copy.cpp * * Copyright (C) 2017 Marvin Löbel <loebel.marvin@gmail.com> * * All rights reserved. Published under the BSD-2 license in the LICENSE file. ********************************************************...
<commit_before> #include "anh/plugin/plugin_manager.h" #include <algorithm> #include <fstream> #include <iostream> #define BOOST_FILESYSTEM_VERSION 3 #include <boost/filesystem.hpp> #include <boost/log/trivial.hpp> #include <boost/program_options.hpp> #include "anh/app/kernel_interface.h" #include "anh/plugin/plat...
<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 "webkit/support/webkit_support.h" #include "base/at_exit.h" #include "base/command_line.h" #include "base/debug_util.h" #incl...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: except.cxx,v $ * * $Revision: 1.4 $ * * last change: $Author: obo $ $Date: 2006-09-16 15:53:28 $ * * The Contents of this file are made a...
<commit_before><commit_msg>double buffer release corrected<commit_after><|endoftext|>