text stringlengths 54 60.6k |
|---|
<commit_before>/* $Id$ */
//
// Script to calculate PtvsEta correction map using the CorrectionMatrix2D class.
//
makeCorrectionPtEta(Char_t* dataDir, Int_t nRuns=20) {
Char_t str[256];
//gSystem->Load("/home/poghos/CERN2006/pp/esdTrackCuts/libESDtrackQuality.so");
gSystem->Load("libPWG0base");
gSystem->Lo... |
<commit_before>void RunAlignmentDataFilterITS() {
//
// Macro to extract AliTrackPoints for ITS
// A.Dainese, andrea.dainese@pd.infn.it
//
// Input
Bool_t singlefile=kFALSE;
//TString esdpath="/home/dainesea/alignData/RAWdata_CosmicsSum09/RecoSPD/chunk.";
TString esdpath="/home/dainesea/alignData/RAWda... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: tabvwshg.cxx,v $
*
* $Revision: 1.10 $
*
* last change: $Author: kz $ $Date: 2006-07-21 15:18:36 $
*
* The Contents of this file are made... |
<commit_before>//
// Class AliRsnEventCuts
//
// This class constitutes an interface to the AliEventCuts class
// supported and maintained by the DPG starting from LHC Run 2
// for period-by-period standard cuts on events, including
// vertex cuts, background and pileup rejection, etc...
//
// authors: P. Gan... |
<commit_before>#include <fstream>
#include <sstream>
#include <vector>
#include <iostream>
#include <utility>
#include <optional>
#include "core/argparse.h"
#include "core/io.h"
#include "core/image.h"
#include "core/image_draw.h"
#include "core/pack.h"
using namespace euphoria::core;
struct ImageAndFile
{
Ima... |
<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 <string>
#include "chrome/app/chrome_dll_resource.h"
#include "chrome/browser/net/url_fixer_upper.h"
#include "chrome/common/... |
<commit_before>// Copyright (c) 2011 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/test/ui/ui_test.h"
#include "base/test/test_timeouts.h"
#include "chrome/app/chrome_command_ids.h"
#include "chrome/b... |
<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/ui/toolbar/toolbar_model.h"
#include "base/utf_string_conversions.h"
#include "chrome/browser/autocomplete/au... |
<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 distributed WIT... |
<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/chromeos/cros/cros_library.h"
#include "chrome/browser/chromeos/offline/offline_load_page.h"
#include "chrome/... |
<commit_before>// Copyright (c) Facebook, Inc. and its affiliates.
// This source code is licensed under the MIT license found in the
// LICENSE file in the root directory of this source tree.
#include "JSBigString.h"
#include <fcntl.h>
#include <sys/stat.h>
#include <glog/logging.h>
#include <folly/Memory.h>
#inc... |
<commit_before>#include "Function.h"
#include <functional>
#include <iostream>
#include <chrono>
// Sample Function
int SomeFunction(bool SomeParam)
{
return (SomeParam ? 1 : 0);
}
int main()
{
using namespace Red::Function;
// Sample Lambda
int MyInt = 3;
auto MyLambda = [&MyInt](bool SomePa... |
<commit_before>// Copyright (c) 2009 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "base/ref_counted.h"
#include "chrome/browser/browser.h"
#include "chrome/browser/renderer_host/render_view_host.h"
#include "... |
<commit_before>// Copyright (c) 2009 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "base/ref_counted.h"
#include "chrome/browser/browser.h"
#include "chrome/browser/renderer_host/render_view_host.h"
#include "... |
<commit_before>// Copyright (c) 2009 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/extensions/external_pref_extension_provider.h"
#include "base/file_path.h"
#include "base/string_util.h"
#inc... |
<commit_before>#include <cmath>
#include <Eigen/Eigenvalues>
#include <esn/create_network_nsli.h>
#include <network_nsli.h>
namespace ESN {
std::unique_ptr< Network > CreateNetwork(
const NetworkParamsNSLI & params )
{
return std::unique_ptr< NetworkNSLI >( new NetworkNSLI( params ) );
}
... |
<commit_before>#include <Toolbox/Time/Time.h>
#include <ctime>
#include <chrono>
namespace Toolbox::Time
{
namespace {
const std::string removeTrailingNewline (const std::string & text)
{
return text.substr (0, text.length () - 1);
}
} // end anonymous namespace
const std::string getCurrentTime (void)
{
std::... |
<commit_before>/*
* The Apache Software License, Version 1.1
*
*
* Copyright (c) 1999-2002 The Apache Software Foundation. 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. Red... |
<commit_before>/******************************************************************************
* Copyright 2017 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>// 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/search_engines/template_url_model_test_util.h"
#include "base/file_util.h"
#include "base/message_loop.h"
#in... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: convuno.hxx,v $
*
* $Revision: 1.6 $
*
* last change: $Author: vg $ $Date: 2006-04-07 16:21:49 $
*
* The Contents of this file are made a... |
<commit_before>/*************************************************************************
*
* $RCSfile: detfunc.hxx,v $
*
* $Revision: 1.8 $
*
* last change: $Author: hr $ $Date: 2004-09-08 13:41:12 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licens... |
<commit_before>/*************************************************************************
*
* $RCSfile: scresid.hxx,v $
*
* $Revision: 1.1.1.1 $
*
* last change: $Author: hr $ $Date: 2000-09-18 16:44:50 $
*
* The Contents of this file are made available subject to the terms of
* either of the following li... |
<commit_before>/*************************************************************************
*
* $RCSfile: unowids.hxx,v $
*
* $Revision: 1.1 $
*
* last change: $Author: nn $ $Date: 2001-04-17 19:33:00 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licens... |
<commit_before>// Copyright (C) 2015 Jérôme Leclercq
// This file is part of the "Nazara Development Kit"
// For conditions of distribution and use, see copyright notice in Prerequesites.hpp
#include <NDK/Widgets/ButtonWidget.hpp>
#include <NDK/Components/GraphicsComponent.hpp>
#include <NDK/Components/NodeComponent.h... |
<commit_before>#include "PlayerState.h"
#include "BuildingCard.h"
#include <string>
void PlayerState::Render(shared_ptr<Player> &player, std::string character)
{
player->GetClient()->writeline("You are the: " + character);
player->GetClient()->writeline("Gold: " + std::to_string(player->GetGoldAmount()));
shared_... |
<commit_before>// Copyright (c) 2009 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/renderer/user_script_idle_scheduler.h"
#include "base/message_loop.h"
#include "chrome/renderer/render_view.h"
names... |
<commit_before>#include "GraphMatRuntime.cpp"
#include "common.hpp"
#include <limits>
#include <omp.h>
#include <stdint.h>
#include <algorithm>
#include <iostream>
#ifdef GRANULA
#include "granula.hpp"
#endif
using namespace std;
typedef uint32_t depth_type;
typedef depth_type msg_type;
typedef depth_type reduce_ty... |
<commit_before>#include <BALLTestConfig.h>
#include <BALL/CONCEPT/classTest.h>
#include <BALL/QSAR/QSARData.h>
#include <BALL/QSAR/gpModel.h>
using namespace BALL;
using namespace BALL::QSAR;
START_TEST(GP-model, "$Id: GP_test.C$")
PRECISION(1E-3)
QSARData data;
data.readCSVFile(BALL_TEST_DATA_PATH(Regression_tes... |
<commit_before>/*
* Copyright (c) 2013, Hernan Saez
* 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, th... |
<commit_before>/*************************************************************************
*
* $RCSfile: filelist.cxx,v $
*
* $Revision: 1.3 $
*
* last change: $Author: jp $ $Date: 2001-09-06 13:47:09 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licen... |
<commit_before>/*
** Copyright 2017 Centreon
**
** Licensed under the Apache License, Version 2.0 (the "License");
** you may not use this file except in compliance with the License.
** You may obtain a copy of the License at
**
** http://www.apache.org/licenses/LICENSE-2.0
**
** Unless required by applicable law o... |
<commit_before>#include "UIHandler.h"
UIHandler::UIHandler()
{
}
UIHandler::~UIHandler()
{
}
void UIHandler::Initialize(ID3D11Device* device, ID3D11DeviceContext* deviceContext)
{
this->m_maxUIComponents = 10;
this->m_nrOfUIComponents = 0;
for (int i = 0; i < this->m_maxUIComponents; i++)
{
UIComponent* newUIC... |
<commit_before>/*
* The Apache Software License, Version 1.1
*
*
* Copyright (c) 1999-2000 The Apache Software Foundation. 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. Red... |
<commit_before>//-----------------------------------------------
//
// This file is part of the Siv3D Engine.
//
// Copyright (c) 2008-2019 Ryo Suzuki
// Copyright (c) 2016-2019 OpenSiv3D Project
//
// Licensed under the MIT License.
//
//-----------------------------------------------
# pragma once
# include <limits... |
<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 <map>
#include <vector>
#include "base/string_util.h"
#include "build/build_config.h"
#include "chrome/common/render_messages... |
<commit_before>#include "OccTest.hpp"
#include <MechanicsFwd.hpp>
#include "OccContactShape.hpp"
#include <TopoDS_Shape.hxx>
#include <BRepPrimAPI_MakeSphere.hxx>
#include <BRepTools.hxx>
void OccTest::setUp()
{
}
void OccTest::tearDown()
{
}
void OccTest::t1()
{
BRepPrimAPI_MakeSphere mksphere(1.0);
OccConta... |
<commit_before>//
// ClockReceiver.hpp
// Clock Signal
//
// Created by Thomas Harte on 22/07/2017.
// Copyright 2017 Thomas Harte. All rights reserved.
//
#ifndef ClockReceiver_hpp
#define ClockReceiver_hpp
/*
Informal pattern for all classes that run from a clock cycle:
Each will implement either or both of... |
<commit_before>/*!
\file path.cpp
\brief Filesystem path wrapper implementation
\author Ivan Shynkarenka
\date 11.08.2016
\copyright MIT License
*/
#include "filesystem/path.h"
#include "errors/exceptions.h"
#include <algorithm>
#include <vector>
#if defined(_WIN32) || defined(_WIN64)
#include <... |
<commit_before>/*
* Copyright (c) 2013 Nicholas Corgan (n.corgan@gmail.com)
*
* Distributed under the MIT License (MIT) (See accompanying file LICENSE.txt
* or copy at http://opensource.org/licenses/MIT)
*/
#include "CalculationOutput.hpp"
using namespace pkmnsim;
using namespace std;
CalculationOutput::Calcula... |
<commit_before>/*
Copyright 2005-2007 Adobe Systems Incorporated
Distributed under the MIT License (see accompanying file LICENSE_1_0_0.txt
or a copy at http://stlab.adobe.com/licenses.html)
*/
/****************************************************************************************************/
#include ... |
<commit_before>/*
* Copyright (C) 2014 Hugh Bailey <obs.jim@gmail.com>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option... |
<commit_before>/*=============================================================================
MYPROJECT: A software package for whatever.
Copyright (c) University College London (UCL). All rights reserved.
This software is distributed WITHOUT ANY WARRANTY; without even
the implied warranty of MERCHANTABILIT... |
<commit_before>#include <gtest/gtest.h>
#include "robot_interface/robot_interface.h"
using namespace std;
// Declare a test
TEST(RobotInterfaceTest, testConstructorDefaultValues)
{
RobotInterface ri("robot", "left");
EXPECT_FALSE(ri.isCtrlRunning());
EXPECT_EQ(START, int(ri.getState()));
EXPECT_EQ(... |
<commit_before>/**
* The MIT License (MIT)
*
* Copyright © 2017-2018 Ruben Van Boxem
*
* 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... |
<commit_before>#include "stdafx.h"
#include "Magician.h"
#include "FireballSkill.h"
Magician::Magician()
{
}
Magician::Magician(int playerId, HeroType heroType, b2Vec2 pos)
{
m_HeroType = HERO_MAGICIAN;
m_Qskill = new FireballSkill(m_PlayerID);
}
Magician::~Magician()
{
}
void Magician::UseSkill(SkillKey skillK... |
<commit_before>/*
* Copyright (C) 2004-2014 ZNC, see the NOTICE file for details.
*
* 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
*
... |
<commit_before>#include "persons.h"
Persons::Persons()
{
name = "";
birthYear = 1980;
deathYear = 0;
alive = true;
}
<commit_msg>breytti kyn í char<commit_after>#include "persons.h"
Persons::Persons()
{
name = "";
birthYear = 1980;
deathYear = 0;
alive = true;
gender = 'M';
}
<|e... |
<commit_before>#include "persons.h"
#include <iomanip>
Persons::Persons()
{
name = " ";
gender = ' ';
birthYear = 1980;
deathYear = 0;
alive = true;
}
Persons::Persons(string n, char g, int bY, int dY)
{
name = n;
birthYear = bY;
deathYear = dY;
gender = g;
if (dY == 0) {
... |
<commit_before>#include "notendaui.h"
#include <iostream>
#include <string>
#include <utility>
#include <algorithm>
using namespace std;
NotendaUI::NotendaUI()
{
}
bool check = true;
void NotendaUI::keyra()
{
_service.writeTolvufolk(tolvufolk("Charles Babbage", "kk", 1990, 1991));
_service.appendTolvufolk... |
<commit_before>/*
* Copyright (c) 2017-2018 dresden elektronik ingenieurtechnik gmbh.
* All rights reserved.
*
* The software in this package is published under the terms of the BSD
* style license a copy of which has been included with this distribution in
* the LICENSE.txt file.
*
*/
#include "poll_manager.h... |
<commit_before>/***********************************************************************
filename: CEGUITreeItem.cpp
created: 5-13-07
author: Jonathan Welch (Based on Code by David Durant)
*************************************************************************/
/*************************************... |
<commit_before>/*
* ---------------------------------------------------------------------
* Numenta Platform for Intelligent Computing (NuPIC)
* Copyright (C) 2013, Numenta, Inc. Unless you have purchased from
* Numenta, Inc. a separate commercial license for this software code, the
* following terms and conditio... |
<commit_before>/*
This file is part of CanFestival, a library implementing CanOpen Stack.
Copyright (C): Edouard TISSERANT and Francis DUPIN
Copyright (C) Win32 Port Leonid Tochinski
See COPYING file for copyrights details.
This library is free software; you can redistribute it and/or
modify it under the terms of th... |
<commit_before>/* Copyright 2017 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>#include "LRLayersPack.h"
#include "check_params.h"
#include <lr/dataset/Grids.h>
#include <lr/dataset/CharacterFileName.h>
#include <easyshape.h>
namespace edb
{
std::string LRLayersPack::Command() const
{
return "lr-pack";
}
std::string LRLayersPack::Description() const
{
return "create shape ta... |
<commit_before>//=============================================================================================================
/**
* @file main.cpp
* @author Ruben Dörfel <ruben.doerfel@tu-ilmenau.de>;
* @version dev
* @date January, 2020
*
* @section LICENSE
*
* Copyright (C) 2020, Ruben Dörfel. Al... |
<commit_before>// Copyright (c) 2011 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 "base/test/test_timeouts.h"
#include "build/build_config.h"
#includ... |
<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_util.h"
#include "base/path_service.h"
#include "build/build_config.h"
#include "chrome/common/chrome_switches.h"
#... |
<commit_before>// Copyright (c) 2009 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/worker_host/worker_service.h"
#include "chrome/test/automation/browser_proxy.h"
#include "chrome/test/automati... |
<commit_before>/*********************************************************************
* Software License Agreement (BSD License)
*
* Copyright 2016 Davide Faconti
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following c... |
<commit_before>/*!
\copyright (c) RDO-Team, 2011
\file main.cpp
\author (rdo@rk9.bmstu.ru)
\authors (lord.tiran@gmail.com)
\date 10.05.2009
\brief common-
\indent 4T
*/
// ----------------------------------------------------------------------- PLATFORM
#include "util... |
<commit_before>/* IBM_PROLOG_BEGIN_TAG */
/* This is an automatically generated prolog. */
/* */
/* $Source: src/import/chips/p9/procedures/hwp/perv/p9_mem_startclocks.C $... |
<commit_before>//=============================================================================================================
/**
* @file eegosportssetupstimuluswidget.cpp
* @author Viktor Klüber <viktor.klueber@tu-ilmenauz.de>;
* Lorenz Esch <Lorenz.Esch@tu-ilmenau.de>;
* Christoph Dinh <chd... |
<commit_before>#include "Client.h"
#include <GL/glew.h>
#include <GL/glut.h>
#include <math.h>
#include <unistd.h>
#include <iostream>
#include <fstream>
#include <cassert>
#include <ctime>
#ifdef WIN32
#include <conio.h> // For _kbhit()
#include <cstdio> // For getchar()
#include <windows.h> // For Sleep()
#end... |
<commit_before><commit_msg>remove boolean parameter default from ScTable::SetDirty()<commit_after><|endoftext|> |
<commit_before>/*=========================================================================
Program: Visualization Toolkit
Module: vtkSocketCommunicator.cxx
Language: C++
Date: $Date$
Version: $Revision$
Copyright (c) 1993-2001 Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
... |
<commit_before>
//snippet-sourcedescription:[create_bucket.cpp demonstrates how to create an Amazon S3 bucket.]
//snippet-keyword:[C++]
//snippet-keyword:[Code Sample]
//snippet-keyword:[Amazon S3]
//snippet-service:[s3]
//snippet-sourcetype:[full-example]
//snippet-sourcedate:[]
//snippet-sourceauthor:[AWS]
... |
<commit_before>#include "merkletree/compact_merkle_tree.h"
#include <assert.h>
#include <stddef.h>
#include <string>
#include <vector>
#include "merkletree/merkle_tree_math.h"
using cert_trans::MerkleTreeInterface;
using std::string;
CompactMerkleTree::CompactMerkleTree(SerialHasher* hasher)
: MerkleTreeInterfa... |
<commit_before>/*************************************************************************
*
* $RCSfile: implrenderer.hxx,v $
*
* $Revision: 1.2 $
*
* last change: $Author: thb $ $Date: 2004-03-18 10:41:02 $
*
* The Contents of this file are made available subject to the terms of
* either of the following ... |
<commit_before>//
// file : xQGanttListView.C
// date : 23 nov 2000
// changed :
// author : jh
//
#include "xQGanttListView.h"
#include <qcolor.h>
xQGanttListView::xQGanttListView(KGanttItem* toplevelitem, QWidget* parent,
const char * name, WFlags f)
: QScrollView(parent,name,f)
//////////////... |
<commit_before>#include "idletimedetector.h"
#include <qdatetime.h>
#include <qmessagebox.h>
#include <qtimer.h>
#include <kdialog.h>
#include <kglobal.h>
#include <klocale.h> // i18n
#include <QLabel>
#include <QHBoxLayout>
#include <QVBoxLayout>
#ifdef Q_WS_X11
#include <QX11Info>
#endif
IdleTimeDetector::IdleT... |
<commit_before>// RUN: %clang_cc1 -triple %itanium_abi_triple -emit-llvm -o - %s | FileCheck %s
// PR36992
namespace Implicit {
struct A { char c; A(const A&); };
struct B { int n; char c[3]; ~B(); };
struct C : B, virtual A {};
static_assert(sizeof(C) == sizeof(void*) + 8);
C f(C c) { return c; }
// CHEC... |
<commit_before>// @(#)root/g3d:$Name: $:$Id: TPARA.cxx,v 1.2 2004/08/03 16:01:18 brun Exp $
// Author: Nenad Buncic 19/09/95
/*************************************************************************
* Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *
* All rights reserved. ... |
<commit_before>/*******************************************************************************
Licensed to the OpenCOR team under one or more contributor license agreements.
See the NOTICE.txt file distributed with this work for additional information
regarding copyright ownership. The OpenCOR team licenses this file... |
<commit_before>#include "common/RhoPort.h"
extern "C" void Init_System();
extern "C" void Init_Network();
extern "C" void Init_SQLite3();
extern "C" void Init_Log();
extern "C" void Init_WebView();
extern "C" void Init_WebView_extension();
extern "C" void Init_Application();
extern "C" void Init_NativeToolbar();
extern... |
<commit_before>#include <fstream>
#include <dirent.h>
#include <errno.h>
#include "pixelboost/data/json/reader.h"
#include "pixelboost/file/fileHelpers.h"
#include "pixelboost/network/networkMessage.h"
#include "pixelboost/network/networkServer.h"
#include "project/project.h"
#include "project/record.h"
#include "pro... |
<commit_before>#ifndef K3_RUNTIME_BASESTRING_H
#define K3_RUNTIME_BASESTRING_H
#include <cstring>
#include <memory>
#include <vector>
#include "yaml-cpp/yaml.h"
#include "rapidjson/document.h"
#include "boost/serialization/array.hpp"
#include "boost/functional/hash.hpp"
#include "Common.hpp"
#include "dataspace/Dat... |
<commit_before>#include "System.h"
System::System()
{
this->m_inputHandler = NULL;
this->m_window = NULL;
}
System::~System()
{
}
int System::Shutdown()
{
int result = 0;
//Destroy the display window
SDL_DestroyWindow(m_window);
//Quit SDL subsystems
SDL_Quit();
this->m_graphicsHandler->Shutdown();
delete t... |
<commit_before>// Copyright (c) 2015
// Author: Chrono Law
#include <std.hpp>
using namespace std;
#define BOOST_ERROR_CODE_HEADER_ONLY
#define BOOST_CHRONO_HEADER_ONLY
#define BOOST_CHRONO_EXTENSIONS
#include <boost/chrono.hpp>
using namespace boost;
using namespace boost::chrono;
///////////////////////////////////... |
<commit_before>//
// Copyright (c) 2010 Advanced Micro Devices, Inc. All rights reserved.
//
#ifndef VERSIONS_HPP_
#define VERSIONS_HPP_
#include "utils/macros.hpp"
#ifndef AMD_PLATFORM_NAME
# define AMD_PLATFORM_NAME "AMD Accelerated Parallel Processing"
#endif // AMD_PLATFORM_NAME
#ifndef AMD_PLATFORM_BUILD_NUMBE... |
<commit_before>#define AODSelector_cxx
// The class definition in AODSelector.h has been generated automatically
// by the ROOT utility TTree::MakeSelector(). This class is derived
// from the ROOT class TSelector. For more information on the TSelector
// framework see $ROOTSYS/README/README.SELECTOR or the ROOT User M... |
<commit_before>//
// Copyright (c) 2010 Advanced Micro Devices, Inc. All rights reserved.
//
#ifndef VERSIONS_HPP_
#define VERSIONS_HPP_
#include "utils/macros.hpp"
#ifndef AMD_PLATFORM_NAME
# define AMD_PLATFORM_NAME "AMD Accelerated Parallel Processing"
#endif // AMD_PLATFORM_NAME
#ifndef AMD_PLATFORM_BUILD_NUMBE... |
<commit_before>//
// Copyright (c) 2010 Advanced Micro Devices, Inc. All rights reserved.
//
#ifndef VERSIONS_HPP_
#define VERSIONS_HPP_
#include "utils/macros.hpp"
#ifndef AMD_PLATFORM_NAME
# define AMD_PLATFORM_NAME "AMD Accelerated Parallel Processing"
#endif // AMD_PLATFORM_NAME
#ifndef AMD_PLATFORM_BUILD_NUMBE... |
<commit_before>//
// Copyright (c) 2010 Advanced Micro Devices, Inc. All rights reserved.
//
#ifndef VERSIONS_HPP_
#define VERSIONS_HPP_
#include "utils/macros.hpp"
#ifndef AMD_PLATFORM_NAME
# define AMD_PLATFORM_NAME "AMD Accelerated Parallel Processing"
#endif // AMD_PLATFORM_NAME
#ifndef AMD_PLATFORM_BUILD_NUMBE... |
<commit_before>// @(#)root/mathcore:$Id$
// Authors: L. Moneta, J.T. Offermann, E.G.P. Bos 2013-2018
//
/**********************************************************************
* *
* Copyright (c) 2013 , LCG ROOT MathLib Team ... |
<commit_before>//
// Copyright (c) 2010 Advanced Micro Devices, Inc. All rights reserved.
//
#ifndef VERSIONS_HPP_
#define VERSIONS_HPP_
#include "utils/macros.hpp"
#ifndef AMD_PLATFORM_NAME
#define AMD_PLATFORM_NAME "AMD Accelerated Parallel Processing"
#endif // AMD_PLATFORM_NAME
#ifndef AMD_PLATFORM_BUILD_NUMBE... |
<commit_before>//
// Copyright (c) 2010 Advanced Micro Devices, Inc. All rights reserved.
//
#ifndef VERSIONS_HPP_
#define VERSIONS_HPP_
#include "utils/macros.hpp"
#ifndef AMD_PLATFORM_NAME
#define AMD_PLATFORM_NAME "AMD Accelerated Parallel Processing"
#endif // AMD_PLATFORM_NAME
#ifndef AMD_PLATFORM_BUILD_NUMBE... |
<commit_before>//
// Copyright (c) 2010 Advanced Micro Devices, Inc. All rights reserved.
//
#ifndef VERSIONS_HPP_
#define VERSIONS_HPP_
#include "utils/macros.hpp"
#ifndef AMD_PLATFORM_NAME
#define AMD_PLATFORM_NAME "AMD Accelerated Parallel Processing"
#endif // AMD_PLATFORM_NAME
#ifndef AMD_PLATFORM_BUILD_NUMBE... |
<commit_before>#include <assert.h>
#include <errno.h>
#include <iostream>
#include <new>
#include <sstream>
#include <stdarg.h>
#include <stdbool.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <core/CHIPError.h>
#include <inet/InetLayer.h>
#include <inet/... |
<commit_before>#include <windows.h>
#include <OvRender.h>
#include <sloverlay.h>
#include <overlay.h>
SlOverlayMenu* MnuMenu;
MenuVars MnuOsd[20];
MenuVars MnuCache[10];
WCHAR* GroupOpt[] = {L"", L""};
WCHAR* ItemOpt[] = {L"Off", L"On"};
BOOLEAN MnuInitialized;
//Add menu items to menu
VOID
AddItems()
{
Mnu... |
<commit_before>#include <windows.h>
#include <OvRender.h>
#include <sloverlay.h>
#include <overlay.h>
SlOverlayMenu* MnuMenu;
MenuVars MenuOsd[20];
MenuVars MenuGpu[10];
WCHAR* GroupOpt[] = {L"", L""};
WCHAR* ItemOpt[] = {L"Off", L"On"};
BOOLEAN MnuInitialized;
HANDLE MenuProcessHeap;
//Add menu items to menu
VO... |
<commit_before>/* Copyright 2014 Peter Goodman, all rights reserved. */
#include <granary/granary.h>
using namespace granary;
GRANARY_DEFINE_bool(count_execs, false,
"Count the number of times each block is executed. This option is only "
"meaningful for static instrumentation. By default, `count_bbs` does n... |
<commit_before>/* wx_twitter_notebook - An GUI widgets for Twitter
*
* Copyright (C) 2015 Hiroyuki Nagata
*
* 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 Licen... |
<commit_before>/***************************************************************
*
* Copyright (C) 1990-2007, Condor Team, Computer Sciences Department,
* University of Wisconsin-Madison, WI.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you
* may not use this file except in compliance with ... |
<commit_before>#include <iostream>
#include <string.h>
#include <istream>
#include <cstring>
#include <unistd.h>
using namespace std;
#include <cstdio>
#include <stdio.h>
#include <string.h>
/*
int main ()
{
char str[] ="- This, a sample string.";
char * pch;
printf ("Splitting string \"%s\... |
<commit_before>/*
* SessionAsyncCompletions.hpp
*
* 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 Affe... |
<commit_before>#include <fhe/FHEContext.h>
#include <fhe/FHE.h>
#include <fhe/NumbTh.h>
#include <fhe/EncryptedArray.h>
#include <utils/FileUtils.hpp>
#include <utils/timer.hpp>
#include <algebra/NDSS.h>
#include <thread>
#include <atomic>
#include <vector>
#ifdef FHE_THREADS
long WORKER_NR = 8;
#else // ifdef FHE_THR... |
<commit_before>#include<iostream>
#include<cstdio>
#include<cstdlib>
#include<string>
#include<sstream>
#include<iomanip>
#include"sandbox.h"
using namespace std;
int sandboxExec(int boxid, const sandboxOptions &opt, const string &comm)
{
ostringstream sout;
sout << "isolate --box-id=" << boxid;
if(opt.cgrou... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: b2dhompoint.hxx,v $
*
* $Revision: 1.9 $
*
* last change: $Author: rt $ $Date: 2005-09-07 20:25:55 $
*
* The Contents of this file are ma... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.