text
stringlengths
54
60.6k
<commit_before>//============================================================================= // // *** AddTaskSPDdNdEta.C *** // // This macro initialize a complete AnalysisTask object for SPD dNdEta analysis. // //============================================================================= AliAnalysisTaskSPDdNdEta...
<commit_before>AliAnalysisTaskElectronEfficiencyV2* AddTask_dsekihat_ElectronEfficiencyV2_PbPb( Bool_t getFromAlien = kFALSE, TString configFile="Config_dsekihat_ElectronEfficiencyV2_PbPb.C", TString libFile="LMEECutLib_dsekihat.C", UInt_t trigger = AliVEvent::kINT7, const Int_t CenMin = 0, con...
<commit_before>//---------------------------- data_out_01.cc --------------------------- // $Id$ // Version: $Name$ // // Copyright (C) 2003, 2004 by the deal.II authors // // This file is subject to QPL and may not be distributed // without copyright and license information. Please refer // to th...
<commit_before>// Copyright (C) 2016 Elviss Strazdins // This file is part of the Ouzel engine. #include <algorithm> #include "Engine.h" #include "CompileConfig.h" #include "Cache.h" #include "Localization.h" #if defined(OUZEL_PLATFORM_OSX) #include "osx/WindowOSX.h" #elif defined(OUZEL_PLATFORM_IOS) #include "ios/Wi...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: mphndl.hxx,v $ * * $Revision: 1.2 $ * * last change: $Author: rt $ $Date: 2005-09-09 10:25:12 $ * * The Contents of this file are made av...
<commit_before>// Copyright 2013 The Flutter 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 "session_connection.h" #include "flutter/fml/make_copyable.h" #include "lib/fidl/cpp/optional.h" #include "lib/ui/scenic/cpp/comma...
<commit_before>// // Copyright (C) 2007-2010 SIPez LLC. All rights reserved. // Licensed to SIPfoundry under a Contributor Agreement. // // Copyright (C) 2007 SIPfoundry Inc. // Licensed by SIPfoundry under the LGPL license. // // $$ /////////////////////////////////////////////////////////////////////////////// /...
<commit_before>/* Copyright 2016 Stanford University * * 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 applicab...
<commit_before>/**************************************************************************** ** ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). ** All rights reserved. ** Contact: Nokia Corporation (qt-info@nokia.com) ** ** This file is part of the examples of the Qt Toolkit. ** ** $QT_BEGIN_LICENS...
<commit_before>#include <iostream> #include <fstream> using namespace std; // This program defines a class called Inventory that has itemnumber (which // contains the id number of a product) and numofitem (which contains the // quantity on hand of the corresponding product)as private data members. // The program wi...
<commit_before>/* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2006 Robert Osfield * * This library is open source and may be redistributed and/or modified under * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or * (at your option) any later version. The full license is in LICENSE file *...
<commit_before>#include <string> #include <iostream> #if defined(_MSC_VER) #include <SDL.h> #else #include <SDL2/SDL.h> #endif /** * Lesson 2: Don't Put Everything in Main */ //Screen attributes const int SCREEN_WIDTH = 640; const int SCREEN_HEIGHT = 480; /** * Log an SDL error with some error message to the output ...
<commit_before>/*------------------------------------------------------------------------- * Vulkan CTS Framework * -------------------- * * Copyright (c) 2015 Google Inc. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and/or associated documentation files (th...
<commit_before>#include "optionshierarchy.h" #include "io.h" #include <string> #include <iostream> #include <sys/time.h> #include <typeinfo> #define DEFAULT_INT 42 #define BOOST_TEST_MODULE Something #include <boost/test/unit_test.hpp> using namespace mlpack; /* PROGRAM_INFO("MLPACK IO Test", "This is a simple ...
<commit_before>/* * Software License Agreement (BSD License) * * Copyright (c) 2009, Willow Garage, 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...
<commit_before><commit_msg>Added failsafe output of the round start by the auctioneer<commit_after><|endoftext|>
<commit_before><commit_msg>Let's verify that set_node_processor_ids worked<commit_after><|endoftext|>
<commit_before>/************************************************************************* * * $RCSfile: SlsCacheConfiguration.cxx,v $ * * $Revision: 1.2 $ * * last change: $Author: rt $ $Date: 2005-10-24 07:40:27 $ * * The Contents of this file are made available subject to the terms of * either of the fo...
<commit_before>// a helper library for using ZMQ with ALIROOT, focussed on multipart messaging // this lib implements the HLT specific interface, for general use cases // see AliZMQhelpers.h // blame: Mikolaj Krzewicki, mikolaj.krzewicki@cern.ch // some of it might be inspired by czmq.h (http://czmq.zeromq.org) // // C...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: CustomAnimationPanel.hxx,v $ * * $Revision: 1.5 $ * * last change: $Author: rt $ $Date: 2005-09-09 06:39:17 $ * * The Contents of this fi...
<commit_before><commit_msg>fix variable name conflict<commit_after><|endoftext|>
<commit_before><commit_msg>math->pcl_macros<commit_after><|endoftext|>
<commit_before><commit_msg>INTEGRATION: CWS os20 (1.2.382); FILE MERGED 2003/09/12 12:27:40 fme 1.2.382.1: #111937# Keep attribute, widows and orphans in balanced sections<commit_after><|endoftext|>
<commit_before><commit_msg>OUString: remove temporaries and unneeded conversions<commit_after><|endoftext|>
<commit_before><commit_msg>test-storage-transpose: test more type and more simd structs<commit_after><|endoftext|>
<commit_before>/* Copyright 2016 Anastasiya Kornilova. * * 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 (c) 2011, 2013 ETH Zurich ** All rights reserved. ** ** Redistribution and use in source and binary forms, with or without modification, are permitted provided that the...
<commit_before>/************************************************************************* * * $RCSfile: process_impl.cxx,v $ * * $Revision: 1.2 $ * * last change: $Author: hr $ $Date: 2003-03-26 16:46:05 $ * * The Contents of this file are made available subject to the terms of * either of the following l...
<commit_before>// // Copyright (c) 2008 Advanced Micro Devices, Inc. All rights reserved. // #include "device/gpu/gpudefs.hpp" #include "device/gpu/gpuprogram.hpp" #include "device/gpu/gpukernel.hpp" #include "acl.h" #include "SCShadersSi.h" #include "si_ci_merged_offset.h" #include <string> #include <fstream> #includ...
<commit_before>/*============================================================================= This file is part of FLINT. FLINT 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 o...
<commit_before> // // This source file is part of appleseed. // Visit http://appleseedhq.net/ for additional information and resources. // // This software is released under the MIT license. // // Copyright (c) 2010-2011 Francois Beaune // // Permission is hereby granted, free of charge, to any person obtaining a copy ...
<commit_before>#include <iostream> #include "opencv2/opencv_modules.hpp" #if defined(HAVE_OPENCV_CUDACODEC) && defined(WIN32) #include <vector> #include <numeric> #include "opencv2/core.hpp" #include "opencv2/cudacodec.hpp" #include "opencv2/highgui.hpp" #include "opencv2/contrib.hpp" int main(int argc, const char...
<commit_before>// @(#)root/rint:$Name: $:$Id: TRint.cxx,v 1.33 2004/05/11 00:19:59 rdm Exp $ // Author: Rene Brun 17/02/95 /************************************************************************* * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. * * All rights reserved. ...
<commit_before>// $Id$ AliAnalysisTaskSE *AddTaskEMCALTenderUsingDatasetDef( const char *perstr = "LHC11h", const char *pass = 0 /*should not be needed*/ ) { gROOT->LoadMacro("$ALICE_ROOT/PWG/EMCAL/macros/AddTaskEMCALTender.C"); Bool_t distBC = kTRUE; //distance to bad channel Bool_t recalibC...
<commit_before><commit_msg>std::cout to SAL_INFO<commit_after><|endoftext|>
<commit_before>/************************************************************************* * * $RCSfile: servobj.hxx,v $ * * $Revision: 1.4 $ * * last change: $Author: kz $ $Date: 2004-10-04 20:18:13 $ * * The Contents of this file are made available subject to the terms of * either of the following licens...
<commit_before>/** * @file FTAddMyTask.C * @author Freja Thoresen <freja.thoresen@cern.ch> * * @brief Add Q-cummulant forward task to train * * * @ingroup pwglf_forward_scripts_tasks */ /** * @defgroup pwglf_forward_flow Flow * * Code to deal with flow * * @ingroup pwglf_forward_topical */ /** * Add F...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: weakref.hxx,v $ * * $Revision: 1.6 $ * * last change: $Author: rt $ $Date: 2005-09-08 09:23:30 $ * * The Contents of this file are made a...
<commit_before>#include "testing/testing.hpp" #include "generator/generator_tests_support/test_with_classificator.hpp" #include "generator/osm2meta.hpp" #include "indexer/classificator.hpp" #include "base/logging.hpp" using namespace generator::tests_support; using feature::Metadata; UNIT_TEST(Metadata_ValidateAn...
<commit_before>// ============================================================================= // PROJECT CHRONO - http://projectchrono.org // // Copyright (c) 2020 projectchrono.org // All rights reserved. // // Use of this source code is governed by a BSD-style license that can be found // in the LICENSE file at the...
<commit_before>/* * ZoteroCollectionsLocal.cpp * * Copyright (C) 2009-20 by RStudio, Inc. * * Unless you have received this program directly from RStudio pursuant * to the terms of a commercial license agreement with RStudio, then * this program is licensed to you under the terms of version 3 of the * GNU Affer...
<commit_before>#include "system_info.h" #include <QObject> SystemInfo::SystemInfo() { QStringList lines = FileUtil::readListFromFile(PROC_CPUINFO) .filter(QRegExp("^model name")); QStringList cpuMhz = FileUtil::readListFromFile(PROC_CPUINFO) .filter(QRegExp("^cpu MHz")); if (! li...
<commit_before>#ifndef STAN_MATH_GPU_OPENCL_CONTEXT_HPP #define STAN_MATH_GPU_OPENCL_CONTEXT_HPP #ifdef STAN_OPENCL #define __CL_ENABLE_EXCEPTIONS #include <stan/math/prim/arr/err/check_opencl.hpp> #include <stan/math/prim/scal/err/logic_error.hpp> #include <CL/cl.hpp> #include <cmath> #include <fstream> #include <map...
<commit_before>#include "bs_mesh_stdafx.h" #include "py_rs_mesh.h" #include "bs_mesh_grdecl.h" #include "export_python_wrapper.h" #include "py_pair_converter.h" #include <boost/python/tuple.hpp> #ifdef BSPY_EXPORTING_PLUGIN using namespace boost::python; namespace blue_sky { namespace python { PY_EXPORTER (mesh_gr...
<commit_before>/************************************************************************* * * $RCSfile: fuarea.cxx,v $ * * $Revision: 1.3 $ * * last change: $Author: obo $ $Date: 2004-01-20 10:55:56 $ * * The Contents of this file are made available subject to the terms of * either of the following licens...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: diactrl.hxx,v $ * * $Revision: 1.7 $ * * last change: $Author: kz $ $Date: 2006-12-12 17:41:36 $ * * The Contents of this file are made a...
<commit_before>#ifndef _SDD_HOM_EXPRESSION_SIMPLE_HH_ #define _SDD_HOM_EXPRESSION_SIMPLE_HH_ #include <algorithm> // any_of, copy, find #include <cassert> #include <utility> // pair #include <vector> #include "sdd/dd/definition.hh" #include "sdd/hom/context_fwd.hh" #include "sdd/hom/definition_fwd.hh" #include "sdd...
<commit_before>/** * @file main.cpp * * @brief File containing main Q-Learning algorithm and all necessary associated functions to implementing this routine. * * @author Machine Learning Team 2015-2016 * @date March, 2016 */ //#define _USE_MATH_DEFINES -> for VS #include <cmath> #include <cstdlib> #...
<commit_before>/************************************************************************* * * $RCSfile: desktopcontext.cxx,v $ * * $Revision: 1.2 $ * * last change: $Author: hr $ $Date: 2004-05-10 13:00:40 $ * * The Contents of this file are made available subject to the terms of * either of the following...
<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>#include "PlayState.h" #include "Level.h" #include "Renderer.h" #include "Platform.h" #include "Player.h" #include "Object.h" PlayState::PlayState() { mTestBkgd = nullptr; mPlayer = nullptr; } PlayState::~PlayState() { } void PlayState::init() { <<<<<<< HEAD mLevel = new Level("Maptest.txt")...
<commit_before><commit_msg>revert lunatic commit, restore paste<commit_after><|endoftext|>
<commit_before>// @(#)root/ged:$Name: $:$Id: TGedFrame.cxx,v 1.21 2007/02/07 09:00:41 antcheva Exp $ // Author: Ilka Antcheva 10/05/04 /************************************************************************* * Copyright (C) 1995-2002, Rene Brun and Fons Rademakers. * * All rights reserved. ...
<commit_before>/* Copyright 2014 Andrew Schwartzmeyer * * Source file for derived genetic algorithm class */ #include <algorithm> #include <iostream> #include "genetic_algorithm.hpp" #include "random_generator.hpp" const Individual Genetic::mutate(const Individual & subject) const { // GA mutation sequence usin...
<commit_before>void Config() { // ============================= // Root file // ============================= // Create the output file TFile *rootfile = new TFile("galice.root","recreate"); rootfile->SetCompressionLevel(2); // Set External decayer AliDecayer* decayer = new AliDecayerPythia(); dec...
<commit_before>#include "AssetSubCommandLoadAsset.h" #include <maya/MFileObject.h> #include <maya/MGlobal.h> #include <maya/MPlug.h> #include <maya/MPxCommand.h> #include "AssetNode.h" #include "AssetSubCommandSync.h" #include "util.h" AssetSubCommandLoadAsset::AssetSubCommandLoadAsset( const MString &otlFil...
<commit_before>//======================================================================= // Copyright (c) 2014-2020 Baptiste Wicht // Distributed under the terms of the MIT License. // (See accompanying file LICENSE or copy at // http://opensource.org/licenses/MIT) //===================================================...
<commit_before>//===--- SILFunction.cpp - Defines the SILFunction data structure ---------===// // // This source file is part of the Swift.org open source project // // Copyright (c) 2014 - 2015 Apple Inc. and the Swift project authors // Licensed under Apache License v2.0 with Runtime Library Exception // // See http...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: volume3d.cxx,v $ * * $Revision: 1.5 $ * * last change: $Author: hr $ $Date: 2007-06-27 18:07:20 $ * * The Contents of this file are made ...
<commit_before>/************************************************************************** * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * * * * Author: The ALICE Off-line Project. * ...
<commit_before>/** * \file * \brief ThreadControlBlock class header * * \author Copyright (C) 2014 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 *...
<commit_before>/* IBM_PROLOG_BEGIN_TAG */ /* This is an automatically generated prolog. */ /* */ /* $Source: src/import/chips/p9/procedures/hwp/memory/lib/dimm/kind.H $ ...
<commit_before>/************************************************************************* * * $RCSfile: eschesdo.hxx,v $ * * $Revision: 1.8 $ * * last change: $Author: rt $ $Date: 2004-04-02 14:08:26 $ * * The Contents of this file are made available subject to the terms of * either of the following licen...
<commit_before>#ifndef _VOLTAGE_TABLE_ #define _VOLTAGE_TABLE_ #include <cmath> #include <vector> using std::vector; // The base class for a voltage table corresponding to a processor model class VoltageTable { public: VoltageTable(const vector<double> &, double nominalVol); virtual ~VoltageTable() {} virtual do...
<commit_before>#include <time.h> #include <cassert> #include <openssl/sha.h> #include <openssl/hmac.h> #include <opkele/data.h> #include <opkele/basic_op.h> #include <opkele/exception.h> #include <opkele/util.h> #include <opkele/uris.h> namespace opkele { void basic_OP::reset_vars() { assoc.reset(); return_to.c...
<commit_before>#ifndef _PREVIEWPAGES_HXX #define _PREVIEWPAGES_HXX // classes <Point>, <Size> and <Rectangle> #ifndef _GEN_HXX #include <tools/gen.hxx> #endif class SwPageFrm; /** data structure for a preview page in the current preview layout OD 12.12.2002 #103492# - struct <PrevwPage> @author OD */ struc...
<commit_before>#include "itkCommandLineArgumentParser.h" #include "CommandLineArgumentHelper.h" #include <itksys/SystemTools.hxx> #include <sstream> #include "itkPCAImageToImageFilter.h" #include "itkImageFileReader.h" #include "itkImageFileWriter.h" //----------------------------------------------------------------...
<commit_before>#include <babylon/engines/webgl/webgl2_shader_processor.h> #include <babylon/babylon_stl_util.h> #include <babylon/misc/string_tools.h> namespace BABYLON { WebGL2ShaderProcessor::WebGL2ShaderProcessor() { attributeProcessor = [this](const std::string& attribute, const std::unordered...
<commit_before>/************************************************************************* * * $RCSfile: dbconfig.cxx,v $ * * $Revision: 1.3 $ * * last change: $Author: os $ $Date: 2002-11-29 12:10:02 $ * * The Contents of this file are made available subject to the terms of * either of the following licen...
<commit_before>// Source : https://leetcode.com/problems/h_index/ // Author : Calinescu Valentin // Date : 2015-10-22 /*************************************************************************************** * * Given an array of citations (each citation is a non-negative integer) of a * researcher, write a func...
<commit_before>#ifndef AL_SIMULATOR_H #define AL_SIMULATOR_H #include "allocore/al_Allocore.hpp" #include "allocore/protocol/al_OSC.hpp" namespace al { class Simulator : public osc::PacketHandler, public Main::Handler { public: Simulator(const char* deviceServerAddress = "127.0.0.1", int port = 12001, ...
<commit_before>#ifndef SILICIUM_NOEXCEPT_STRING_HPP #define SILICIUM_NOEXCEPT_STRING_HPP #ifdef _MSC_VER # include <string> #else # include <boost/container/string.hpp> #endif namespace Si { #ifdef _MSC_VER //boost string does not work at all on VC++ 2013 Update 3, so we use std::string instead typedef std::string ...
<commit_before>// SGThread - Simple pthread class wrappers. // // Written by Bernie Bright, started April 2001. // // Copyright (C) 2001 Bernard Bright - bbright@bigpond.net.au // Copyright (C) 2011 Mathias Froehlich // // This program is free software; you can redistribute it and/or // modify it under the terms of t...
<commit_before>#include <mlopen/pooling.hpp> #include <cassert> #include <cmath> namespace mlopen { PoolingDescriptor::PoolingDescriptor() {} PoolingDescriptor::PoolingDescriptor(mlopenPoolingMode_t m, const int *plens, const int *ppads, const int *pstrides, int size) : lens(plens, plens+size), strides(pst...
<commit_before>#include "MainWindow.h" #include "IconView.h" #include <Application.h> #include <Bitmap.h> #include <Catalog.h> #include <ControlLook.h> #include <File.h> #include <FilePanel.h> #include <GridLayout.h> #include <GridLayoutBuilder.h> #include <GroupLayout.h> #include <GroupLayoutBuilder.h> #include <Loca...
<commit_before>/* maestro.cpp - management of multiple trials for dubins_traffic * * SCL; 2016 */ #include <ros/ros.h> #include "std_srvs/Empty.h" #include "gazebo_msgs/ModelState.h" #include "geometry_msgs/Pose.h" #include "geometry_msgs/Twist.h" #include <Eigen/Dense> #include "integrator_chains_msgs/ProblemIns...
<commit_before>/* Copyright (c) 2013 Daniele Bartolini, Michele Rossi Copyright (c) 2012 Daniele Bartolini, Simone Boscaratto 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, i...
<commit_before>#include "stdafx.h" #include "FormModule.h" using namespace System::IO; namespace Ndapi { FormModule::FormModule(d2fob* form_module) : NdapiObject(form_module) { } FormModule::FormModule(String^ name) { Create(name, D2FFO_FORM_MODULE); } FormModule^ FormModule::Open(String^ fil...
<commit_before>/********************************************************************** * $Id$ * * GEOS - Geometry Engine Open Source * http://geos.refractions.net * * Copyright (C) 2001-2002 Vivid Solutions Inc. * * This is free software; you can redistribute and/or modify it under * the terms of the GNU Lesse...
<commit_before>#pragma once #include <memory> #include <vector> #include <rdestl/vector.h> #include "Logger.hpp" namespace noob { class application; template <typename T> class handle { public: handle() noexcept(true) : inner(0) {} bool operator==(const noob::handle<T> other) const noexcept(true) ...
<commit_before>/*************************************************************************** cryptographyplugin.cpp - description ------------------- begin : jeu nov 14 2002 copyright : (C) 2002 by Olivier Goffart email ...
<commit_before>/* * WinFtpClient.cpp * */ #include "WinFtpClient.h" #include <iostream> #include <fstream> #include <sstream> #include <cstdio> #include <vector> using namespace std; /** * Default constructor: replaces WinFtpClient + subsequent call to SetParameters */ WinFtpClient::WinFtpClient(const string& s...
<commit_before>#include "building_configure.hpp" #include <silicium/file_operations.hpp> #include <silicium/cmake.hpp> #include <fstream> namespace cdm { void build_configure_command_line( Si::absolute_path const &application_source, Si::absolute_path const &temporary, Si::absolute_path const &resulting_executa...
<commit_before>/* Copyright (c) 2015-present Advanced Micro Devices, Inc. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, c...
<commit_before>/* Q Light Controller genericfader.cpp Copyright (c) Heikki Junnila 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.txt ...
<commit_before>// Copyright (c) 2012 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/chrome_browser_field_trials.h" #include <string> #include "apps/field_trial_names.h" #include "apps/pref_nam...
<commit_before>/* Copyright [2014] [John-Michael Reed] 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 or agreed to...
<commit_before>#ifndef H_DSCPP_PUSHABLE #define H_DSCPP_PUSHABLE #include "api.hh" #include "rapidjson/document.h" #include <curl/curl.h> namespace dsc { class Pushable : Fetchable { private: typedef size_t(*CURL_WRITEFUNCTION_PTR)(void*, size_t, size_t, void*); rapidjson::Document serialize(); ...
<commit_before>/* -*- Mode: C++; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */ /* * Copyright 2015 Couchbase, 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 ...
<commit_before>#define DEBUG 1 /** * File : D.cpp * Author : Kazune Takahashi * Created : 6/14/2020, 2:15:35 AM * Powered by Visual Studio Code */ #include <algorithm> #include <bitset> #include <cassert> #include <cctype> #include <chrono> #include <climits> #include <cmath> #include <complex> #include <cstdi...
<commit_before><commit_msg>This can be const.<commit_after><|endoftext|>
<commit_before><commit_msg>bail out early if maTableColumnNames.empty()<commit_after><|endoftext|>
<commit_before>/*------------------------------------------------------------------------ * Vulkan Conformance Tests * ------------------------ * * Copyright (c) 2015 The Khronos Group Inc. * Copyright (c) 2015 Samsung Electronics Co., Ltd. * * Permission is hereby granted, free of charge, to any person obtaini...
<commit_before>/////////////////////////////////////////////////////////////////////////// // // Copyright (c) 2009-2014 DreamWorks Animation LLC. // // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions ar...
<commit_before>// Copyright (c) 2010 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/speech/speech_input_manager.h" #include <map> #include <string> #include "app/l10n_util.h" #include "base/co...
<commit_before>/* -------------------------------------------------------------------------- * * OpenSim: testModelCopy.cpp * * -------------------------------------------------------------------------- * * The OpenSim API is a toolkit for musculoskeletal modeling and ...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: detreg.cxx,v $ * * $Revision: 1.6 $ * * last change: $Author: kz $ $Date: 2006-07-21 14:34:46 $ * * The Contents of this file are made av...
<commit_before>/****************************************************************************** * SOFA, Simulation Open-Framework Architecture, development version * * (c) 2006-2016 INRIA, USTL, UJF, CNRS, MGH * * ...
<commit_before>/* $Id$ */ testESDtrackCuts(Char_t* dataDir=, Int_t nRuns=10) { Char_t str[256]; gSystem->Load("libESDtrackCuts.so"); // ######################################################## // definition of ESD track cuts AliESDtrackCuts* trackCuts = new AliESDtrackCuts(); trackCuts->DefineHistogram...
<commit_before>/* * Copyright (C) 2009 Apple 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, this list ...