text stringlengths 54 60.6k |
|---|
<commit_before>void AddTask_GammaConvCalo_pPb( Int_t trainConfig = 1, //change different set of cuts
Bool_t isMC = kFALSE, //run MC
Int_t enableQAMesonTask = 0, //enable QA in AliAnalysisTaskGammaConvV1
Int_t enableQAPhotonTas... |
<commit_before>enum AlgoType {kKT, kANTIKT};
enum JetType {kFULLJETS, kCHARGEDJETS, kNEUTRALJETS};
AliAnalysisTaskEmcalJetTagger* AddTaskEmcalJetTagger(const char * njetsBase,
const char * njetsTag,
const Double_t R,
const char * nrhoBase,
const char * nrhoTag,
... |
<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>#include <catch.hpp>
//#define FEATURE_ESTD_EXPLICIT_OBSERVER
#include <platform/generic/datapump-messageobserver.hpp>
#include <embr/datapump.hpp>
#include "coap/decoder/subject.hpp"
#include "test-data.h"
#include "test-observer.h"
#include <estd/exp/observer.h>
using namespace moducom::coap;
usin... |
<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 <sstream>
#include <cassert>
#include "rs_processi... |
<commit_before>/*****************************************************************************
*
* This file is part of Mapnik (c++ mapping toolkit)
*
* Copyright (C) 2006 Artem Pavlenko
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public... |
<commit_before>/*
* Stateplex - A server-side actor model library.
*
* core/terminalreceiver.cpp
*
* (c) 2013 Henrik Hedberg <henrik.hedberg@innologies.fi>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License version 2.1 as pub... |
<commit_before>/** \file include/pomerol/MatsubaraContainers.h
** \brief Templated container classes designed to store values of functions of Matsubara frequencies.
**
** \author Andrey Antipov (Andrey.E.Antipov@gmail.com)
** \author Igor Krivenko (Igor.S.Krivenko@gmail.com)
*/
#ifndef POMEROL_INCLUDE_POMEROL_MATSUBARA... |
<commit_before>#include "util.h"
#include "asset_manager.h"
TC_NAMESPACE_BEGIN
AssetManager &AssetManager::get_instance() {
static AssetManager manager;
TC_P(&manager);
return manager;
}
TC_NAMESPACE_END
<commit_msg>cleaned debug output<commit_after>#include "util.h"
#include "asset_manager.h"
TC_NAMESPACE_BE... |
<commit_before>#ifndef ORG_EEROS_CORE_EXECUTORSERVICE_HPP_
#define ORG_EEROS_CORE_EXECUTORSERVICE_HPP_
#include <config.hpp>
#include <eeros/core/Executor.hpp>
#if defined(WINDOWS)
#include <windows.h>
#endif
#if defined(LINUX) || defined(PREEMPT_RT) || defined(FREEBSD)
#include <pthread.h>
#endif
#de... |
<commit_before>/*=====================================================================
QGroundControl Open Source Ground Control Station
(c) 2009 - 2014 QGROUNDCONTROL PROJECT <http://www.qgroundcontrol.org>
This file is part of the QGROUNDCONTROL project
QGROUNDCONTROL is free software: you can redistribut... |
<commit_before>/**
* @file llpluginprocesschild.cpp
* @brief LLPluginProcessChild handles the child side of the external-process plugin API.
*
* @cond
* $LicenseInfo:firstyear=2008&license=viewergpl$
*
* Copyright (c) 2008, Linden Research, Inc.
*
* Second Life Viewer Source Code
* The source code in this ... |
<commit_before>/*********************************************************************************
*
* Inviwo - Interactive Visualization Workshop
*
* Copyright (c) 2018 Inviwo Foundation
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted p... |
<commit_before>#include "Engine.h"
#include "properties/SEScalarTime.h"
#include "properties/SEScalarForce.h"
#include "properties/SEScalarPressure.h"
#include "patient/actions/SEChestCompressionForce.h"
#include "system/physiology/SECardiovascularSystem.h"
#include "system/physiology/SEBloodChemistrySystem.h"
#includ... |
<commit_before>#pragma once
/**
@file
@brief format string
Copyright (C) 2011 Cybozu Labs, Inc., all rights reserved.
*/
#include <string>
#include <stdio.h>
#include <stdarg.h>
#include <stdlib.h>
#include <cybozu/exception.hpp>
#if defined(__clang__) || (defined(__GNUC_PREREQ) && __GNUC_PREREQ(4, 4))
#define CYB... |
<commit_before>void MakeTPCRecoParam(AliRecoParam::EventSpecie_t default=AliRecoParam::kLowMult) {
//========================================================================
//
// Steering macro for TPC reconstruction parameters
//
// Author: M.Ivanov
// Contact: marian.ivanov@cern.ch
//
//=============================... |
<commit_before>//=======================================================================
// Copyright (c) 2014 Baptiste Wicht
// Distributed under the terms of the MIT License.
// (See accompanying file LICENSE or copy at
// http://opensource.org/licenses/MIT)
//========================================================... |
<commit_before>/*
* This file is part of otf2xx (https://github.com/tud-zih-energy/otf2xx)
* otf2xx - A wrapper for the Open Trace Format 2 library
*
* Copyright (c) 2013-2016, Technische Universität Dresden, Germany
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
*... |
<commit_before>//=======================================================================
// Copyright Baptiste Wicht 2011.
// 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)
//======================================... |
<commit_before>#pragma once
#include <ostream>
#include <vector>
#include <functional>
#include <sstream>
namespace the
{
namespace log
{
class LogDetails;
std::string local_time_in_string_format();
std::ostream& operator<<( std::ostream& output, const LogDetails& details );
class LogDetails
{
public:
int l... |
<commit_before><commit_msg>interface of ParticleSet<commit_after>#ifndef V_SMC_PARTICLE_HPP
#define V_SMC_PARTICLE_HPP
#include <vector>
#include <cstddef>
#include <vDist/utilities/service.hpp>
namespace vSMC {
enum RESAMPLE_SCHEME {MULTINOMIAL, RESIDUAL, STRATIFIED, SYSTEMATIC};
template <class PartContainer>
cla... |
<commit_before>/*
Flexisip, a flexible SIP proxy server with media capabilities.
Copyright (C) 2010-2015 Belledonne Communications SARL, All rights reserved.
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 Free S... |
<commit_before>////////////////////////////////////////////////////////////////////////////////
//
// (C) Andy Thomason 2016
//
// Vookoo: Vulkan semaphore. Wraps VkSemaphore
//
#ifndef VKU_SEMAPHORE_INCLUDED
#define VKU_SEMAPHORE_INCLUDED
namespace vku {
class semaphore : public resource<VkSemaphore, semaphore> {... |
<commit_before>/*
Flexisip, a flexible SIP proxy server with media capabilities.
Copyright (C) 2010-2015 Belledonne Communications SARL, All rights reserved.
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 Free S... |
<commit_before>/*
Resembla: Word-based Japanese similar sentence search library
https://github.com/tuem/resembla
Copyright 2017 Takashi Uemura
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
h... |
<commit_before>#ifndef WIGWAG_SIGNAL_HPP
#define WIGWAG_SIGNAL_HPP
// Copyright (c) 2016, Dmitry Koplyarov <koplyarov.da@gmail.com>
//
// 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 permissi... |
<commit_before><commit_msg>Fix debug level for dumping intermediate files<commit_after><|endoftext|> |
<commit_before>#include <Python.h>
#include "PyDKPython.h"
#include "DCObject.h"
using namespace DKFoundation;
using namespace DKFramework;
// 사이즈 체크.
static_assert(SIZEOF_LONG == sizeof(long), "size mismatch");
static_assert(SIZEOF_SIZE_T == sizeof(size_t), "size mismatch");
static_assert(SIZEOF_TIME_T == sizeof(ti... |
<commit_before>/*=========================================================================
Program: Visualization Toolkit
Module: vtkUnstructuredGridCellIterator.cxx
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm fo... |
<commit_before>#include <stdint.h>
#if defined(_WIN32)
#include <time.h>
#else
#include <sys/time.h>
#endif
extern "C" {
WEAK bool halide_reference_clock_inited = false;
WEAK timeval halide_reference_clock;
WEAK int halide_start_clock() {
// Guard against multiple calls
if (!halide_reference_clock_inite... |
<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>/*
* Radio device I/O interface
* Written by Thomas Tsou <ttsou@vt.edu>
*
* Copyright 2011 Free Software Foundation, Inc.
*
* 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 Free Software Foun... |
<commit_before>/*!
@file
@author Albert Semenov
@date 07/2012
*/
#include "Data.h"
#include "MyGUI.h"
namespace tools
{
Data::Data() :
mType(nullptr),
mParent(nullptr)
{
}
Data::~Data()
{
clear();
}
void Data::setType(DataInfo* _value)
{
mType = _value;
mProperties.clear();
if (mType != n... |
<commit_before>#ifndef slic3r_Print_hpp_
#define slic3r_Print_hpp_
#include "libslic3r.h"
#include <set>
#include <string>
#include <vector>
#include <boost/thread.hpp>
#include "BoundingBox.hpp"
#include "Flow.hpp"
#include "PrintConfig.hpp"
#include "Point.hpp"
#include "Layer.hpp"
#include "Model.hpp"
#include "Pla... |
<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>//Author: John Xu. 6/23/2019
//Initial code drafted on 6/21/2019 on a flight back from Plantation, FL
//
//The initial problem was an Amazon phone screen problem: print out the top K number from a given array of integers
//
//Initally the answer should be simple: take each integer from the array and inse... |
<commit_before>#include <iostream>
#include <fstream>
#include <memory>
#include <ctime>
#include "schema/GeneratedSchema.hpp"
#include "schema/Types.hpp"
#include "queries/neworderrandom.hpp"
using namespace std;
int main() {
auto tables = std::make_unique<table_data>();
//load all the tables from disk
std::co... |
<commit_before>/****************************************************************************
*
* Copyright 2017 Proyectos y Sistemas de Mantenimiento SL (eProsima).
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
... |
<commit_before>#include <hop_bits/optimisationProblem/benchmark/blackBoxOptimisationBenchmark2013.hpp>
// C++ Standard Library
#include <algorithm>
#include <cmath>
#include <random>
// HOP
#include <hop_bits/helper/rng.hpp>
#include <hop_bits/helper/random.hpp>
namespace hop {
namespace bbob2013 {
BlackBoxOpt... |
<commit_before>/*
This file is part of Kontact.
Copyright (c) 2003 Tobias Koenig <tokoe@kde.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 version 2 of the License, o... |
<commit_before>/* -*- mode: C++; c-file-style: "gnu" -*-
This file is part of Kontact.
Copyright (c) 2003 Tobias Koenig <tokoe@kde.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; ei... |
<commit_before>de03c982-2e4e-11e5-9284-b827eb9e62be<commit_msg>de08d3dc-2e4e-11e5-9284-b827eb9e62be<commit_after>de08d3dc-2e4e-11e5-9284-b827eb9e62be<|endoftext|> |
<commit_before>3d4aa54c-2e4e-11e5-9284-b827eb9e62be<commit_msg>3d4fb9ec-2e4e-11e5-9284-b827eb9e62be<commit_after>3d4fb9ec-2e4e-11e5-9284-b827eb9e62be<|endoftext|> |
<commit_before>38aac0b2-2e4e-11e5-9284-b827eb9e62be<commit_msg>38afb180-2e4e-11e5-9284-b827eb9e62be<commit_after>38afb180-2e4e-11e5-9284-b827eb9e62be<|endoftext|> |
<commit_before>68de21a2-2e4e-11e5-9284-b827eb9e62be<commit_msg>68e320c6-2e4e-11e5-9284-b827eb9e62be<commit_after>68e320c6-2e4e-11e5-9284-b827eb9e62be<|endoftext|> |
<commit_before>0738db54-2e4e-11e5-9284-b827eb9e62be<commit_msg>073dd06e-2e4e-11e5-9284-b827eb9e62be<commit_after>073dd06e-2e4e-11e5-9284-b827eb9e62be<|endoftext|> |
<commit_before>27bc6a08-2e4e-11e5-9284-b827eb9e62be<commit_msg>27c1807e-2e4e-11e5-9284-b827eb9e62be<commit_after>27c1807e-2e4e-11e5-9284-b827eb9e62be<|endoftext|> |
<commit_before>6fe9423e-2e4d-11e5-9284-b827eb9e62be<commit_msg>6fee60f2-2e4d-11e5-9284-b827eb9e62be<commit_after>6fee60f2-2e4d-11e5-9284-b827eb9e62be<|endoftext|> |
<commit_before>f8f76ca4-2e4d-11e5-9284-b827eb9e62be<commit_msg>f8fc7ca8-2e4d-11e5-9284-b827eb9e62be<commit_after>f8fc7ca8-2e4d-11e5-9284-b827eb9e62be<|endoftext|> |
<commit_before>6feeeb66-2e4e-11e5-9284-b827eb9e62be<commit_msg>6ff3ed14-2e4e-11e5-9284-b827eb9e62be<commit_after>6ff3ed14-2e4e-11e5-9284-b827eb9e62be<|endoftext|> |
<commit_before>f770fa6c-2e4d-11e5-9284-b827eb9e62be<commit_msg>f775efae-2e4d-11e5-9284-b827eb9e62be<commit_after>f775efae-2e4d-11e5-9284-b827eb9e62be<|endoftext|> |
<commit_before>5420246e-2e4d-11e5-9284-b827eb9e62be<commit_msg>54251d48-2e4d-11e5-9284-b827eb9e62be<commit_after>54251d48-2e4d-11e5-9284-b827eb9e62be<|endoftext|> |
<commit_before>498c9794-2e4d-11e5-9284-b827eb9e62be<commit_msg>4991a284-2e4d-11e5-9284-b827eb9e62be<commit_after>4991a284-2e4d-11e5-9284-b827eb9e62be<|endoftext|> |
<commit_before>2dcb553a-2e4e-11e5-9284-b827eb9e62be<commit_msg>2dd06aca-2e4e-11e5-9284-b827eb9e62be<commit_after>2dd06aca-2e4e-11e5-9284-b827eb9e62be<|endoftext|> |
<commit_before>c66467de-2e4c-11e5-9284-b827eb9e62be<commit_msg>c6695aaa-2e4c-11e5-9284-b827eb9e62be<commit_after>c6695aaa-2e4c-11e5-9284-b827eb9e62be<|endoftext|> |
<commit_before>1078c35a-2e4e-11e5-9284-b827eb9e62be<commit_msg>107dbb76-2e4e-11e5-9284-b827eb9e62be<commit_after>107dbb76-2e4e-11e5-9284-b827eb9e62be<|endoftext|> |
<commit_before>a32e4b3a-2e4d-11e5-9284-b827eb9e62be<commit_msg>a3334464-2e4d-11e5-9284-b827eb9e62be<commit_after>a3334464-2e4d-11e5-9284-b827eb9e62be<|endoftext|> |
<commit_before>ae8a8184-2e4c-11e5-9284-b827eb9e62be<commit_msg>ae8f777a-2e4c-11e5-9284-b827eb9e62be<commit_after>ae8f777a-2e4c-11e5-9284-b827eb9e62be<|endoftext|> |
<commit_before>788116e6-2e4e-11e5-9284-b827eb9e62be<commit_msg>78861d26-2e4e-11e5-9284-b827eb9e62be<commit_after>78861d26-2e4e-11e5-9284-b827eb9e62be<|endoftext|> |
<commit_before>b752bc26-2e4e-11e5-9284-b827eb9e62be<commit_msg>b757c374-2e4e-11e5-9284-b827eb9e62be<commit_after>b757c374-2e4e-11e5-9284-b827eb9e62be<|endoftext|> |
<commit_before>f1f5ca0a-2e4c-11e5-9284-b827eb9e62be<commit_msg>f1fb2748-2e4c-11e5-9284-b827eb9e62be<commit_after>f1fb2748-2e4c-11e5-9284-b827eb9e62be<|endoftext|> |
<commit_before>b34d3548-2e4e-11e5-9284-b827eb9e62be<commit_msg>b3522ddc-2e4e-11e5-9284-b827eb9e62be<commit_after>b3522ddc-2e4e-11e5-9284-b827eb9e62be<|endoftext|> |
<commit_before>dafb452c-2e4d-11e5-9284-b827eb9e62be<commit_msg>db004aea-2e4d-11e5-9284-b827eb9e62be<commit_after>db004aea-2e4d-11e5-9284-b827eb9e62be<|endoftext|> |
<commit_before>c5ea9b20-2e4c-11e5-9284-b827eb9e62be<commit_msg>c5ef8fb8-2e4c-11e5-9284-b827eb9e62be<commit_after>c5ef8fb8-2e4c-11e5-9284-b827eb9e62be<|endoftext|> |
<commit_before>4c6d7dce-2e4e-11e5-9284-b827eb9e62be<commit_msg>4c72e4d0-2e4e-11e5-9284-b827eb9e62be<commit_after>4c72e4d0-2e4e-11e5-9284-b827eb9e62be<|endoftext|> |
<commit_before>c4a398e2-2e4d-11e5-9284-b827eb9e62be<commit_msg>c4a8e6b2-2e4d-11e5-9284-b827eb9e62be<commit_after>c4a8e6b2-2e4d-11e5-9284-b827eb9e62be<|endoftext|> |
<commit_before>a0d461b2-2e4d-11e5-9284-b827eb9e62be<commit_msg>a0d9a8ac-2e4d-11e5-9284-b827eb9e62be<commit_after>a0d9a8ac-2e4d-11e5-9284-b827eb9e62be<|endoftext|> |
<commit_before>ee27b0e4-2e4e-11e5-9284-b827eb9e62be<commit_msg>ee2cb30a-2e4e-11e5-9284-b827eb9e62be<commit_after>ee2cb30a-2e4e-11e5-9284-b827eb9e62be<|endoftext|> |
<commit_before>8122b440-2e4d-11e5-9284-b827eb9e62be<commit_msg>8127a90a-2e4d-11e5-9284-b827eb9e62be<commit_after>8127a90a-2e4d-11e5-9284-b827eb9e62be<|endoftext|> |
<commit_before>1dfadcf6-2e4f-11e5-9284-b827eb9e62be<commit_msg>1dffdb70-2e4f-11e5-9284-b827eb9e62be<commit_after>1dffdb70-2e4f-11e5-9284-b827eb9e62be<|endoftext|> |
<commit_before>ef1f3094-2e4e-11e5-9284-b827eb9e62be<commit_msg>ef24327e-2e4e-11e5-9284-b827eb9e62be<commit_after>ef24327e-2e4e-11e5-9284-b827eb9e62be<|endoftext|> |
<commit_before>bb8f7c72-2e4c-11e5-9284-b827eb9e62be<commit_msg>bb9472b8-2e4c-11e5-9284-b827eb9e62be<commit_after>bb9472b8-2e4c-11e5-9284-b827eb9e62be<|endoftext|> |
<commit_before>43fede6c-2e4e-11e5-9284-b827eb9e62be<commit_msg>4403e5b0-2e4e-11e5-9284-b827eb9e62be<commit_after>4403e5b0-2e4e-11e5-9284-b827eb9e62be<|endoftext|> |
<commit_before>fa34d524-2e4e-11e5-9284-b827eb9e62be<commit_msg>fa39d57e-2e4e-11e5-9284-b827eb9e62be<commit_after>fa39d57e-2e4e-11e5-9284-b827eb9e62be<|endoftext|> |
<commit_before>a2fc6c5a-2e4d-11e5-9284-b827eb9e62be<commit_msg>a301650c-2e4d-11e5-9284-b827eb9e62be<commit_after>a301650c-2e4d-11e5-9284-b827eb9e62be<|endoftext|> |
<commit_before>184696de-2e4e-11e5-9284-b827eb9e62be<commit_msg>184ba200-2e4e-11e5-9284-b827eb9e62be<commit_after>184ba200-2e4e-11e5-9284-b827eb9e62be<|endoftext|> |
<commit_before>a2619526-2e4e-11e5-9284-b827eb9e62be<commit_msg>a266a854-2e4e-11e5-9284-b827eb9e62be<commit_after>a266a854-2e4e-11e5-9284-b827eb9e62be<|endoftext|> |
<commit_before>83850652-2e4d-11e5-9284-b827eb9e62be<commit_msg>838a02ec-2e4d-11e5-9284-b827eb9e62be<commit_after>838a02ec-2e4d-11e5-9284-b827eb9e62be<|endoftext|> |
<commit_before>b81809d2-2e4d-11e5-9284-b827eb9e62be<commit_msg>b81d00fe-2e4d-11e5-9284-b827eb9e62be<commit_after>b81d00fe-2e4d-11e5-9284-b827eb9e62be<|endoftext|> |
<commit_before>/*************************************************************************
*
* $RCSfile: pszctrl.hxx,v $
*
* $Revision: 1.1.1.1 $
*
* last change: $Author: hr $ $Date: 2000-09-18 17:00:58 $
*
* The Contents of this file are made available subject to the terms of
* either of the following li... |
<commit_before>/*************************************************************************
*
* $RCSfile: fmtflcnt.hxx,v $
*
* $Revision: 1.2 $
*
* last change: $Author: vg $ $Date: 2003-07-04 13:19:06 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licen... |
<commit_before>#define _CRT_SECURE_NO_WARNINGS
#include <SWI-cpp.h>
#include <iostream>
#include <windows.h>
#include <stdlib.h>
#include <conio.h>
#include "programpath.h"
#define WORLD_LEN 6
using namespace std;
enum Obstacle {abismo = FOREGROUND_GREEN, morcego = FOREGROUND_BLUE, wumpos = FOREGROUND_RED};
enum Rew... |
<commit_before>#include "quadrature/factory/quadrature_factories.h"
#include "quadrature/angular/scalar_angular.h"
#include "quadrature/angular/level_symmetric_gaussian.h"
#include "quadrature/ordinate.h"
#include "quadrature/quadrature_point.h"
#include "quadrature/quadrature_set.h"
#include "quadrature/utility/quadr... |
<commit_before>// Jubatus: Online machine learning framework for distributed environment
// Copyright (C) 2011 Preferred Infrastructure and Nippon Telegraph and Telephone Corporation.
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// Lic... |
<commit_before>/* Copyright 2021 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>/**
* Sorting integers - quick sort method.
*/
#include <vector>
#include <algorithm>
#include <iostream>
using namespace std;
namespace sort {
void counting(vector<int> &v)
{
vector<int> tmp;
unsigned int i, j;
for (i = 0; i < v.size(); ++i)
{
if (tmp.size() < v[i])
{
tmp.resi... |
<commit_before>// vim:ts=2:sw=2:expandtab:autoindent:filetype=cpp:
/*
The MIT License
Copyright (c) 2008, 2009 Flusspferd contributors (see "CONTRIBUTORS" or
http://flusspferd.org/contributors.txt)
Permission is hereby granted, free of charge, to any person obtaining a copy
of t... |
<commit_before>#ifndef STAN_LANG_GENERATOR_HPP
#define STAN_LANG_GENERATOR_HPP
// TODO(carpenter): move into AST
#include <stan/lang/generator/has_lb.hpp>
#include <stan/lang/generator/has_lub.hpp>
#include <stan/lang/generator/has_ub.hpp>
#include <stan/lang/generator/has_only_int_args.hpp>
// TODO(carpenter): move ... |
<commit_before>// Copyright (c) 2014-2018 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 <chain.h>
#include <util/system.h>
#include <test/test_chaincoin.h>
#include <vector>
#include <boo... |
<commit_before>/*
* Testing operating system specific wrapper code
* (C) 2017 Jack Lloyd
*
* Botan is released under the Simplified BSD License (see license.txt)
*/
#include "tests.h"
#include <botan/internal/os_utils.h>
// For __ud2 intrinsic
#if defined(BOTAN_TARGET_COMPILER_IS_MSVC)
#include <intrin.h>
#endif
... |
<commit_before>/*************************************************************************
*
* TIGHTDB CONFIDENTIAL
* __________________
*
* [2011] - [2012] TightDB Inc
* All Rights Reserved.
*
* NOTICE: All information contained herein is, and remains
* the property of TightDB Incorporated and its suppliers... |
<commit_before>#include "evdev.h"
#include "osdebugout.h"
#include <cassert>
#include <sstream>
#include "../hidproxy.h"
#include "qemu-usb/input-keymap-linux-to-qcode.h"
#ifdef USING_X11
#include <X11/Xlib.h>
#include <X11/extensions/Xfixes.h>
extern Display *g_GSdsp;
extern Window g_GSwin;
#endif
namespace usb_hid ... |
<commit_before>/* IBM_PROLOG_BEGIN_TAG */
/* This is an automatically generated prolog. */
/* */
/* $Source: src/usr/diag/mdia/mdiafwd.H $ ... |
<commit_before>// Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 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 "validationinterface.h"
static CMainSignals g_signals;
... |
<commit_before>/*
* SessionPanmirrorPubMed.cpp
*
* Copyright (C) 2009-16 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>/*
* SessionPresentation.cpp
*
* Copyright (C) 2009-12 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 Affero G... |
<commit_before>/**
******************************************************************************
* Xenia : Xbox 360 Emulator Research Project *
******************************************************************************
* Copyright 2013 Ben Vanik. All rights reserved. ... |
<commit_before>#include <xzero/MonotonicClock.h>
#include <xzero/Duration.h>
#include <xzero/RuntimeError.h>
#include <xzero/defines.h>
#include <xzero/sysconfig.h>
#if defined(XZERO_OS_DARWIN)
#include <mach/mach.h>
#include <mach/mach_time.h>
#endif
namespace xzero {
#if defined(XZERO_OS_DARWIN)
mach_timebase_info... |
<commit_before>#ifndef STAN_MATH_PRIM_FUN_MEAN_HPP
#define STAN_MATH_PRIM_FUN_MEAN_HPP
#include <stan/math/prim/err.hpp>
#include <stan/math/prim/fun/Eigen.hpp>
#include <vector>
namespace stan {
namespace math {
/**
* Returns the sample mean (i.e., average) of the coefficients
* in the specified standard vector.
... |
<commit_before>/*
For more information, please see: http://software.sci.utah.edu
The MIT License
Copyright (c) 2008 Scientific Computing and Imaging Institute,
University of Utah.
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associa... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.