text stringlengths 54 60.6k |
|---|
<commit_before>#include <iostream>
#include "TChain.h"
#include "TH1F.h"
#include "TList.h"
#include "TGeoGlobalMagField.h"
#include "AliAnalysisTask.h"
#include "AliAnalysisManager.h"
#include "AliESDEvent.h"
#include "AliESDInputHandler.h"
#include "AliESDtrack.h"
#include "AliAODEvent.h"
#include "AliHeader.h"
#incl... |
<commit_before>#include <iostream>
#include <opencv2/core/core.hpp>
#include <opencv2/imgproc/imgproc.hpp>
#include <opencv2/highgui/highgui.hpp>
#include <fstream>
#define CAMERA 0
#define VWIDTH 640
#define VHEIGHT 480
#define HORIZ 1
#define RADIUS 10
using namespace cv;
using namespace std;
Scalar linecolor = Sc... |
<commit_before>/******************************************************************************
* Copyright 2020 The Apollo Authors. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of ... |
<commit_before>#include <iostream>
#include <string>
#include <algorithm>
#include <cstdlib>
#include <boost/graph/adjacency_list.hpp>
#include <boost/graph/strong_components.hpp>
#include <boost/graph/graphviz.hpp>
#include <boost/program_options.hpp>
#include "float-semiring.h"
#include "free-semiring.h"
#include "se... |
<commit_before>#include <iostream>
#include "float-semiring.h"
#include "free-semiring.h"
#include "semilinSetExp.h"
#include "matrix.h"
#include "polynomial.h"
#include "newton.h"
#include "commutativeRExp.h"
void test_addition()
{
FloatSemiring first(0.5);
FloatSemiring second(0.3);
FloatSemiring result = first +... |
<commit_before>#include <string>
#include <re2/re2.h>
#include "cre2.h"
#define TO_OPT(opt) (reinterpret_cast<RE2::Options *>(opt))
cre2_options *cre2_opt_new(void) {
return reinterpret_cast<void*>(new RE2::Options());
}
void cre2_opt_delete(cre2_options *opt) {
delete TO_OPT(opt);
}
#define OPT_bool(name... |
<commit_before>/* Copyright (c) 2015 Cornell University
*
* 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, mod... |
<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 "base/bind.h"
#include "base/command_line.h"
#include "base/file_path.h"
#include "base/file_util.h"
#include "base/memory/ref... |
<commit_before>/* -*- Mode: C++; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */
/*
* Copyright 2017 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>// The libMesh Finite Element Library.
// Copyright (C) 2002-2019 Benjamin S. Kirk, John W. Peterson, Roy H. Stogner
// 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; eit... |
<commit_before>//===- tools/llvm-cov/llvm-cov.cpp - LLVM coverage tool -------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------... |
<commit_before>#ifndef OPENGLPOINTERS_HPP
#define OPENGLPOINTERS_HPP
class QOpenGLContext;
class QOpenGLFunctions_3_0;
class QOpenGLFunctions_3_1;
class QOpenGLFunctions_3_2_Core;
class QOpenGLFunctions_3_3_Core;
class QOpenGLFunctions_4_0_Core;
class QOpenGLFunctions_4_1_Core;
class QOpenGLFunctions_4_2_Core;
class Q... |
<commit_before>/*
* Copyright 2014 The Imaging Source Europe GmbH
*
* 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 b... |
<commit_before>/*
* Bayes++ the Bayesian Filtering Library
* Copyright (c) 2002 Michael Stevens
* See accompanying Bayes++.htm for terms and conditions of use.
*
* $Header$
* $NoKeywords: $
*/
/*
* Matrix types for filter classes
* Provides the predefined type 'Vec' and a variety of 'Matrix' types
* Replac... |
<commit_before>/******************************************************************************
* SOFA, Simulation Open-Framework Architecture, version 1.0 beta 4 *
* (c) 2006-2009 MGH, INRIA, USTL, UJF, CNRS *
* ... |
<commit_before>// License: Apache 2.0. See LICENSE file in root directory.
// Copyright(c) 2018 Intel Corporation. All Rights Reserved.
#include <iostream>
#include "librealsense2/rs.hpp"
#include "tclap/CmdLine.h"
#include "converters/converter-csv.hpp"
#include "converters/converter-png.hpp"
#include "converters/... |
<commit_before>//===- CIndexHigh.cpp - Higher level API functions ------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------... |
<commit_before>/*
* Copyright (C) 2012-2015 Max Kellermann <max@duempel.org>
*
* 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 ... |
<commit_before>/*
@Copyright Barrett Adair 2015-2017
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt)
*/
#ifndef BOOST_CLBL_TRTS_HAS_VARARGS_HPP
#define BOOST_CLBL_TRTS_HAS_VARARGS_HPP
#include <boost/callable_traits/detail/cor... |
<commit_before>AliAnalysisTask *AddTask_miweber_LMEE_PbPb_woCutLib(Int_t cutDefinition = 0, TString outputFileName = "AnalysisResult.root", TString directoryBaseName = "miweber_LMEE_PbPb", Bool_t isNano = kFALSE, Bool_t bCutQA = kTRUE){
//get the current analysis manager
AliAnalysisManager *mgr = AliAnalysisManag... |
<commit_before>/*============================================================================
The Medical Imaging Interaction Toolkit (MITK)
Copyright (c) German Cancer Research Center (DKFZ)
All rights reserved.
Use of this source code is governed by a 3-clause BSD license that can be
found in the LICENSE file.
==... |
<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 "base/file_util.h"
#include "base/path_service.h"
#include "chrome/browser/extensions/api/file_system/file_system_api.h"
#incl... |
<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 "chrome/browser/ui/extensions/extension_action_view_controller.h"
#include "base/logging.h"
#include "base/prefs/pref_service.h"
... |
<commit_before>/*
* GLMeshBuffer.cpp
* moFlo
*
* Created by Scott Downie on 01/10/2010.
* Copyright 2010 Tag Games. All rights reserved.
*
*/
#include <ChilliSource/Backend/Rendering/OpenGL/Base/MeshBuffer.h>
#include <ChilliSource/Backend/Rendering/OpenGL/Base/RenderSystem.h>
namespace ChilliSource
{
nam... |
<commit_before>#include <iostream>
#include <string>
#include <fcntl.h>
#include <fstream>
#include <algorithm>
#include <vector>
#include "util/file-system.h"
namespace Util{
static int upperCase(int c){
return toupper(c);
}
std::string upperCaseAll(std::string str){
std::transform(str.begin(), str.end(), s... |
<commit_before>unsigned int rnd() {
unsigned int y = rand();
y <<= 16;
y |= rand();
return y;
}
struct treap{
struct item{
int x, l, r, y;
item(int x): x(x), l(0), r(0), y(rnd()) {}
};
vector<item> t;
inline item& operator[](int i) {
return t[i];
}
in... |
<commit_before>
#include <iostream>
#include <string.h>
#include <SDL.h>
#include <SDL_audio.h>
#include <akPGTA.h>
#include <queue>
#include "FileUtils.h"
#include "utils.h"
#include "AudioBuffer.h"
int pgtaMain(SDL_AudioDeviceID audioDevice, AudioBuffer* audioOut)
{
PGTA::PGTADevice pgtaDevice;
if (!pgtaDev... |
<commit_before>#ifndef DUNE_DETAILED_DISCRETIZATIONS_LA_BACKEND_EIGEN_HH
#define DUNE_DETAILED_DISCRETIZATIONS_LA_BACKEND_EIGEN_HH
#ifdef HAVE_EIGEN
// eigen
#include <Eigen/Core>
#include <Eigen/Sparse>
// dune-common
#include <dune/common/shared_ptr.hh>
namespace Dune {
namespace DetailedDiscretizations {
names... |
<commit_before>/**************************************************************************
*
* Copyright 2010 VMware, 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 t... |
<commit_before>/*!
*
* Copyright (C) 2012 Jolla Ltd.
*
* Contact: Mohammed Hassan <mohammed.hassan@jollamobile.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
* ver... |
<commit_before>/*
* Copyright © 2012, United States Government, as represented by the
* Administrator of the National Aeronautics and Space Administration.
* All rights reserved.
*
* The NASA Tensegrity Robotics Toolkit (NTRT) v1 platform is licensed
* under the Apache License, Version 2.0 (the "License");
* yo... |
<commit_before>// Copyright (c) 2015, Dean ChaoJun Pan. All rights reserved.
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree.
#include <assert.h>
#include <rocksdb/slice_transform.h>
#include "compactionfilterPrivate.h"
#include "compa... |
<commit_before>#include <iostream>
#include <sstream>
#include <iterator>
#include <stdexcept>
#include <limits>
#include <cppunit/TestFixture.h>
#include <cppunit/extensions/HelperMacros.h>
#include <cppunit/CompilerOutputter.h>
#include <cppunit/extensions/TestFactoryRegistry.h>
#include <cppunit/TestResult.h>
#incl... |
<commit_before>/* Copyright 2016 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>// Copyright (c) 2017 Alexander Gallego. All rights reserved.
//
#include <chrono>
#include <iostream>
#include <seastar/core/app-template.hh>
#include <seastar/core/distributed.hh>
#include <seastar/core/reactor.hh>
#include <seastar/net/api.hh>
#include "smf/histogram_seastar_utils.h"
#include "smf/... |
<commit_before>/// \file
/// \ingroup tutorial_mc
/// Macro to compare masses in ROOT data base to the values from pdg
/// (http://pdg.lbl.gov/2009/mcdata/mass_width_2008.mc)[pdg]
///
/// The ROOT values are read in by TDatabasePDG from `$ROOTSYS/etc/pdg_table.txt`
///
/// \macro_output
/// \macro_code
///
/// \author ... |
<commit_before>//=======================================================================
// Copyright (c) 2014-2017 Baptiste Wicht
// Distributed under the terms of the MIT License.
// (See accompanying file LICENSE or copy at
// http://opensource.org/licenses/MIT)
//===================================================... |
<commit_before>// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#include "packetqueue.h"
#include "packet.h"
#include <vespa/fastos/time.h>
#include <cassert>
#include <chrono>
void
FNET_PacketQueue_NoLock::ExpandBuf(uint32_t needentries)
{
uin... |
<commit_before>#include <stdlib.h>
#include "astutil.h"
#include "bb.h"
#include "expr.h"
#include "stmt.h"
#include "view.h"
BasicBlock::BasicBlock(int init_id) : id(init_id) {}
#define BB_START() \
basicBlock = new BasicBlock(id++)
#define BB_ADD(expr) \
... |
<commit_before>// Copyright (c) 2019-2020 Intel Corporation
//
// 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,... |
<commit_before>#include "demo-common.h"
#include <glibmm/fileutils.h>
#include <glibmm/miscutils.h> //For Glib::build_filename().
#include <iostream>
#ifdef GLIBMM_WIN32
#undef DEMOCODEDIR
// TODO: Apply scorched earth tactics on code below.
static char *
get_democodedir(void)
{
static char *result = NULL;
if (... |
<commit_before>#include <string>
#include <algorithm>
#include <mutex>
#include <sstream>
#include <dirent.h>
#include "text_helper.hpp"
namespace
{
/* The purpose of the DaaBufferHolder is to -DELAY-
* the loading of data until the first time the data
* is requested.
*/
class DataBufferLoader:public fast... |
<commit_before>/*
* Copyright 2004-2014 Cray Inc.
* Other additional copyright holders may be indicated within.
*
* The entirety of this work is 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... |
<commit_before>#ifndef __MAPNIK_VECTOR_PROCESSOR_H__
#define __MAPNIK_VECTOR_PROCESSOR_H__
#include <mapnik/map.hpp>
#include <mapnik/layer.hpp>
#include <mapnik/feature.hpp>
#include <mapnik/util/noncopyable.hpp>
#include <mapnik/request.hpp>
#include <mapnik/view_transform.hpp>
#include <mapnik/image_scaling.hpp>
#i... |
<commit_before><commit_msg>TBR: phajdan.jr<commit_after><|endoftext|> |
<commit_before>/* string_test.cc
Copyright (c) 2012 Datacratic. All rights reserved.
*/
#define BOOST_TEST_MAIN
#define BOOST_TEST_DYN_LINK
#include "soa/types/string.h"
#include <boost/test/unit_test.hpp>
#include <boost/regex/icu.hpp>
#include <boost/regex.hpp>
#include "soa/jsoncpp/json.h"
#include "jml/arch/fo... |
<commit_before>/**
* @author Parikshit Ram (pram@cc.gatech.edu)
* @file nbc_main.cc
*
* This program test drives the Simple Naive Bayes Classifier
*
* This classifier does parametric naive bayes classification
* assuming that the features are sampled from a Gaussian
* distribution.
*
* PARAMETERS TO BE INPU... |
<commit_before>//* This file is part of the MOOSE framework
//* https://www.mooseframework.org
//*
//* All rights reserved, see COPYRIGHT for full restrictions
//* https://github.com/idaholab/moose/blob/master/COPYRIGHT
//*
//* Licensed under LGPL 2.1, please see LICENSE for details
//* https://www.gnu.org/licenses/lgp... |
<commit_before>#if !FEATURE_LWIP
#error [NOT_SUPPORTED] LWIP not supported for this target
#endif
#if DEVICE_EMAC
#error [NOT_SUPPORTED] Not supported for WiFi targets
#endif
#include "mbed.h"
#include "EthernetInterface.h"
#include "UDPSocket.h"
#include "greentea-client/test_env.h"
#include "unity/unity.h"
... |
<commit_before>#include "common/buffer/buffer_impl.h"
#include "common/common/logger.h"
#include "common/http/http2/metadata_decoder.h"
#include "common/http/http2/metadata_encoder.h"
#include "common/runtime/runtime_impl.h"
#include "test/test_common/logging.h"
#include "gmock/gmock.h"
#include "gtest/gtest.h"
#incl... |
<commit_before>#include <fstream>
#include <vector>
#include <string>
#include <sstream>
#include <Eigen/Dense>
#include "firmware_generator.h"
#include "firmware_template.h"
#include "control_design_functions.h"
void firmware_generator(const std::vector<model_data> & md, std::string filename_base)
{
const int obser... |
<commit_before>#pragma once
#include <cstdint>
#include <nlohmann/json.hpp>
#include <vector>
#include "DatatypeEnum.hpp"
#include "RawBuffer.hpp"
namespace dai {
/// FeatureTracker configuration data structure
struct FeatureTrackerConfigData {
struct CornerDetector {
static constexpr const int AUTO = 0;... |
<commit_before>/***************************************************************************
* Copyright (C) 2012 by the fifechan team *
* http://fifechan.github.com/fifechan *
* This file is part of fifechan. ... |
<commit_before>#include <iostream>
#include <cmath>
#include <fstream>
#include <map>
#include <sstream>
#include <stdexcept>
#include "cvrp.h"
namespace VrpSolver {
void Cvrp::read_vrp(const std::string &infile) {
VrpSolver::read_vrp(problem_, infile);
// 車体数の設定(TSPLIB formatでは明示的に示されていないので
... |
<commit_before>#include <accumulate.hpp>
#include "helpers.hpp"
#include <vector>
#include <iterator>
#include <string>
#include "catch.hpp"
using iter::accumulate;
using itertest::BasicIterable;
using Vec = const std::vector<int>;
TEST_CASE("Simple sum", "[accumulate]") {
Vec ns{1,2,3,4,5};
auto a = accumu... |
<commit_before>#include "joblistwidget.h"
WARNINGS_DISABLE
#include <QAbstractItemView>
#include <QKeyEvent>
#include <QList>
#include <QListWidgetItem>
#include <QMessageBox>
#include <QRegExp>
#include <Qt>
WARNINGS_ENABLE
#include "messages/archiverestoreoptions.h"
#include "debug.h"
#include "joblistwidgetitem.h... |
<commit_before>#include "pong/state.hpp"
#include <Box2D/Box2D.h>
#include "pong/game.hpp"
#include "pong/defs.hpp"
namespace pong {
sf::RectangleShape createRectangleShape(float width, float height) {
sf::RectangleShape shape;
shape.setOrigin(width / 2, height / 2);
shape.setSize(sf::Vector2f(width, he... |
<commit_before>#include <iostream>
#include <random>
#include <chrono>
#include <map>
#include <string>
#include <json/json.hpp>
class Civilization {
// I think this is the first time I've ever used friend without feeling bad
friend std::ostream& operator<<(std::ostream&, const Civilization&);
typedef std::nor... |
<commit_before>// Xerus - A General Purpose Tensor Library
// Copyright (C) 2014-2016 Benjamin Huber and Sebastian Wolf.
//
// Xerus 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 Foundation, either version 3 ... |
<commit_before>// Xerus - A General Purpose Tensor Library
// Copyright (C) 2014-2016 Benjamin Huber and Sebastian Wolf.
//
// Xerus 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 Foundation, either version 3 ... |
<commit_before>//
// The MIT License (MIT)
//
// Copyright (c) 2017 Tag Games Limited
//
// 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 limitat... |
<commit_before>/*
* Copyright 2015 Georgia Institute of Technology
*
* 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 requi... |
<commit_before>/*
* PyClaw.cpp
*
* Created on: Feb 18, 2012
* Author: kristof
*/
#include "peanoclaw/native/SWEKernel.h"
#include "peanoclaw/Patch.h"
#include "peanoclaw/Area.h"
#include "peanoclaw/interSubgridCommunication/DefaultTransfer.h"
#include "peanoclaw/native/SWE_WavePropagationBlock_patch.hh"
#... |
<commit_before>#include <cstddef>
#include <map>
#include "pegr/script/ScriptHelper.hpp"
#include "pegr/script/Script.hpp"
#include "pegr/logger/Logger.hpp"
namespace pegr {
namespace Test {
typedef Script::Regref_Guard RG;
//@Test Script Helper
void test_script_helper() {
RG sandbox(Script::new_sandbox());... |
<commit_before>//-----------------------------------------------------------------------bl-
//--------------------------------------------------------------------------
//
// GRINS - General Reacting Incompressible Navier-Stokes
//
// Copyright (C) 2014 Paul T. Bauman, Roy H. Stogner
// Copyright (C) 2010-2013 The PE... |
<commit_before>/*****************************************************************************
*
* This file is part of Mapnik (c++ mapping toolkit)
*
* Copyright (C) 2015 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>////////////////////////////////////////////////////////////
// Copyright (c) 2011 - Hiairrassary Victor
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// * Redistributi... |
<commit_before>#include <iostream>
#include "compressedarray.h"
#include "test_utils.h"
#define BOOST_TEST_DYN_LINK
#define BOOST_TEST_MODULE TestCompressedArray
#include <boost/test/unit_test.hpp>
template<int N, class T>
void testCompressedArray(typename vigra::MultiArray<N,T>::difference_type dataShape)
{
vig... |
<commit_before>#include "UnitTest++/UnitTestPP.h"
#include "RecordingReporter.h"
#include "UnitTest++/ReportAssert.h"
#include "UnitTest++/TestList.h"
#include "UnitTest++/TimeHelpers.h"
#include "UnitTest++/TimeConstraint.h"
#include "UnitTest++/ReportAssertImpl.h"
using namespace UnitTest;
namespace
{
stru... |
<commit_before>/*************************************************************************
*
* $RCSfile: ConfigurationAccess.cxx,v $
*
* $Revision: 1.1 $
*
* last change: $Author: iha $ $Date: 2003-12-10 18:11:33 $
*
* The Contents of this file are made available subject to the terms of
* either of the fol... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: BarChartTypeTemplate.cxx,v $
*
* $Revision: 1.12 $
*
* last change: $Author: ihi $ $Date: 2007-11-23 11:59:57 $
*
* The Contents of this ... |
<commit_before>//
// Copyright (c) 2003-2011 Christopher M. Kohlhoff (chris at kohlhoff dot com)
//
// 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)
//
/*
* Copyright (c) 2010-2011 frankee zhou (frankee.zhou at gmai... |
<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 "base/file_path.h"
#include "base/string_util.h"
#include "chrome/browser/password_manager/password_manager.h"
#include "chrom... |
<commit_before>/***************************************************************************
* containers/test_block_scheduler.cpp
*
* Part of the STXXL. See http://stxxl.sourceforge.net
*
* Copyright (C) 2010-2011 Raoul Steffen <R-Steffen@gmx.de>
*
* Distributed under the Boost Software License, Version 1.0.... |
<commit_before>/*!
@file
@copyright Edouard Alligand and Joel Falcou 2015-2017
(See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt)
*/
#ifndef BOOST_BRIGAND_SEQUENCES_MAP_HPP
#define BOOST_BRIGAND_SEQUENCES_MAP_HPP
#include <brigand/sequences/append.hpp>
#include <brigand/sequences/list.hpp>
... |
<commit_before>// Copyright 2021 The Cross-Media Measurement 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
//
// Unless req... |
<commit_before>#include "contextpanewidget.h"
#include <coreplugin/icore.h>
#include <QFontComboBox>
#include <QComboBox>
#include <QSpinBox>
#include <QToolButton>
#include <QHBoxLayout>
#include <QVBoxLayout>
#include <QLabel>
#include <QMouseEvent>
#include <QGridLayout>
#include <QToolButton>
#include <QAction>
#in... |
<commit_before>#include "game/tileview/tileobject_shadow.h"
#include "game/city/vehicle.h"
namespace OpenApoc
{
void TileObjectShadow::draw(Renderer &r, TileView &view, Vec2<float> screenPosition,
TileViewMode mode)
{
std::ignore = view;
auto vehicle = this->owner.lock();
if (!vehicle)
... |
<commit_before>/***********************************************************************************************************************
**
** Copyright (c) 2011, 2014 ETH Zurich
** All rights reserved.
**
** Redistribution and use in source and binary forms, with or without modification, are permitted provided tha... |
<commit_before>#include "chainparamsbase.h"
#include "callrpc.h"
#include "util.h"
#include "utilstrencodings.h"
#include "rpc/protocol.h"
#include "support/events.h"
#include "rpc/client.h"
#include <event2/buffer.h>
#include <event2/keyvalq_struct.h>
/** Reply structure for request_done to fill in */
struct HTTPR... |
<commit_before>/*-
* Copyright (c) 2015 Masayoshi Mizutani <mizutani@sfc.wide.ad.jp>
* 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 ab... |
<commit_before>#include <iostream>
#include <fstream>
#include <TAlienCollection.h>
#include <TFile.h>
#include <TGrid.h>
#include <TGridResult.h>
#include <TMath.h>
#include <TROOT.h>
#include <TString.h>
#include <TSystem.h>
#include "AliCDBManager.h"
#include "AliDAQ.h"
#include "AliLog.h"
#include "AliQA.h"
#incl... |
<commit_before>/****************************************************************/
/* DO NOT MODIFY THIS HEADER */
/* MOOSE - Multiphysics Object Oriented Simulation Environment */
/* */
/* (c) 2010 Battelle Energy... |
<commit_before>// -*- c-basic-offset: 2; related-file-name: "loop.h" -*-
/*
* @(#)$Id$
*
*/
#include "loop.h"
#include <time.h>
#include "math.h"
#include "assert.h"
callbackQueueT callbacks;
long callbackID = 0;
timeCBHandle*
delayCB(double secondDelay, b_cbv cb)
{
assert(secondDelay >= 0.0);
// When will t... |
<commit_before>#include <PCU.h>
#include <MeshSim.h>
#include <SimPartitionedMesh.h>
#include <SimUtil.h>
#include <apfSIM.h>
#include <apfMDS.h>
#include <gmi.h>
#include <gmi_sim.h>
#include <apf.h>
#include <apfConvert.h>
#include <apfMesh2.h>
#include <ma.h>
static void fixMatches(apf::Mesh2* m)
{
if (m->hasMatc... |
<commit_before>#include <gtest/gtest.h>
#include <stichwort/keywords.hpp>
#include <string>
namespace test
{
const stichwort::ParametersForwarder kwargs;
const stichwort::DefaultValue take_default;
const stichwort::ParameterKeyword<float> a("A float", 1.0);
const stichwort::ParameterKeyword<int> b("B int", 2);
c... |
<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 "k/interrupt.h"
#include "etl/armv7m/nvic.h"
#include "etl/armv7m/scb.h"
#include "etl/assert.h"
#include "k/reply_sender.h"
#include "k/scheduler.h"
using etl::armv7m::nvic;
using etl::armv7m::scb;
using etl::armv7m::Scb;
namespace k {
/*****************************************************... |
<commit_before>#pragma once
#include <bts/blockchain/types.hpp>
namespace bts { namespace blockchain {
static std::map<uint32_t, bts::blockchain::block_id_type> CHECKPOINT_BLOCKS
{
{ 1, bts::blockchain::block_id_type( "8abcfb93c52f999e3ef5288c4f837f4f15af5521" ) },
{ 100000, bts::blockchain::block_id_t... |
<commit_before>/*
* Copyright (c) [2016-2019] SUSE LLC
*
* All Rights Reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of version 2 of the GNU General Public License as published
* by the Free Software Foundation.
*
* This program is distributed in the hop... |
<commit_before>/*
* Copyright(c) Sophist Solutions, Inc. 1990-2011. All rights reserved
*/
#ifndef _Stroika_Foundation_Execution_AtomicOperations_inl_
#define _Stroika_Foundation_Execution_AtomicOperations_inl_ 1
/*
********************************************************************************
****************... |
<commit_before>/****************************************************************************
*
* Copyright 2018 Samsung Electronics All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of... |
<commit_before>/* Copyright 2019 Google LLC
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
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writin... |
<commit_before>#ifndef LOG_HPP
#define LOG_HPP
#include <string>
#include <fstream>
#include <sstream>
#include <iostream>
#include "time.hpp"
#include "scoped_connection_pool.hpp"
#include "config.hpp"
namespace color {
enum color_value : char {
black = 0, red, green, yellow, blue, magenta, cyan, white, ... |
<commit_before><commit_msg>Fix android compilation: missing cast when formatting value in string (#22382)<commit_after><|endoftext|> |
<commit_before>/*
* Copyright (C) 2017 National Research Institute of Science and
* Technology for Environment and Agriculture (IRSTEA)
*
* This file is part of Orfeo Toolbox
*
* https://www.orfeo-toolbox.org/
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file e... |
<commit_before>//
// luna
//
// Copyright © 2016 D.E. Goodman-Wilson
//
#include <gtest/gtest.h>
#include <luna/luna.h>
#include <cpr/cpr.h>
#include "server_impl.h"
TEST(server_options, set_mime_type)
{
luna::server server{luna::server::mime_type{"howdyho"}
};
server.handle_request(luna::request_method:... |
<commit_before>/**
* Copyright (C) 2013 Regents of the University of California.
* @author: Jeff Thompson <jefft0@remap.ucla.edu>
* See COPYING for copyright and distribution information.
*/
#include <cstdlib>
#include <sstream>
#include <iostream>
#include "../ndn-cpp/face.hpp"
using namespace std;
using namespa... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: opengrf.cxx,v $
*
* $Revision: 1.20 $
*
* last change: $Author: ihi $ $Date: 2007-06-05 14:34:02 $
*
* The Contents of this file are made... |
<commit_before><commit_msg>SdrMarkView tiled rendering: fix unexpected empty graphic selection events<commit_after><|endoftext|> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.