text stringlengths 54 60.6k |
|---|
<commit_before>/**
* @file ActionSimulator.cpp
* @author <a href="mailto:schlottb@informatik.hu-berlin.de">Benjamin Schlotter</a>
* Implementation of class ActionSimulator
*/
#include "ActionSimulator.h"
#include <algorithm>
using namespace naoth;
using namespace std;
ActionSimulator::ActionSimulator()
: // own go... |
<commit_before><commit_msg>remove extraneous log<commit_after><|endoftext|> |
<commit_before>/*
* Source/sersic.cpp
*
* Created on: Feb 28, 2010
* Author: R.B. Metcalf
*/
#include "slsimlib.h"
SersicSource::SersicSource(
double my_mag /// Total magnitude
,double my_Reff /// Bulge half light radius (arcs)
,double my_PA /// Position angle (radians)
... |
<commit_before>#pragma once
#include "Point.hpp"
#include "Entity.hpp"
#include "OnScreenComponent.hpp"
namespace kengine {
struct ViewportComponent : OnScreenComponent {
using RenderTexture = void *;
Entity::ID window = Entity::INVALID_ID;
putils::Rect2f boundingBox = { { 0.f, 0.f }, { 1.f, 1.f } };
putils... |
<commit_before>///====================================== TSContSchedule.cc =================///
/// A helper class used to test the API's exposed by Apache Traffic Server.
#include <netinet/in.h>
#include <cassert>
#include <cstdlib>
#include <string>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet... |
<commit_before>/*
* Copyright(c) Sophist Solutions Inc. 1990-2014. All rights reserved
*/
// TEST Foundation::Containers::Stack
// STATUS PRELIMINARY
#include "Stroika/Foundation/StroikaPreComp.h"
#include <iostream>
#include <sstream>
#include "Stroika/Foundation/Containers/Stack.h"
#inc... |
<commit_before><commit_msg>cosmetic<commit_after><|endoftext|> |
<commit_before>#include "lobby_server.h"
#include <network/network.h>
#include <network/commands.h>
#include <tinker/application.h>
extern CNetworkCommand LobbyPlayerInfo;
SERVER_COMMAND(JoinLobby)
{
if (pCmd->GetNumArguments() < 2)
{
TMsg("JoinLobby not enough arguments\n");
return;
}
CGameLobbyServer::Joi... |
<commit_before>#include <yuni/yuni.h>
#include <yuni/core/noncopyable.h>
#include <yuni/io/file.h>
#include <yuni/core/system/console.h>
#include <yuni/core/getopt.h>
#include <yuni/io/directory.h>
#include <yuni/io/directory/info.h>
#include <yuni/datetime/timestamp.h>
#include <yuni/core/logs/logs.h>
#include "nany/n... |
<commit_before>// Rhodes.cpp : Implementation of WinMain.
#include "stdafx.h"
#include "MainWindow.h"
#include "common/RhodesApp.h"
#include "common/StringConverter.h"
#include "common/rhoparams.h"
#include "rho/rubyext/GeoLocationImpl.h"
#include "ruby/ext/rho/rhoruby.h"
using namespace rho;
using namespace rho::com... |
<commit_before>/* BEGIN_COMMON_COPYRIGHT_HEADER
* (c)LGPL2+
*
* Razor - a lightweight, Qt based, desktop toolset
* http://razor-qt.org
*
* Copyright: 2012 Razor team
* Authors:
* Johannes Zellner <webmaster@nebulon.de>
*
* This program or library is free software; you can redistribute it
* and/or modify it... |
<commit_before>/*************************************************************************
*
* $RCSfile: unodtabl.cxx,v $
*
* $Revision: 1.9 $
*
* last change: $Author: hr $ $Date: 2004-11-09 12:38:22 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licen... |
<commit_before>#include <cstddef>
#include <utility>
#include <new>
#include <experimental/dynarray>
namespace archie {
namespace utils {
namespace containers {
template <typename Tp, std::size_t N>
struct stack_allocator {
using value_type = Tp;
using pointer = Tp*;
using reference = Tp&;
... |
<commit_before>#ifndef _SUBMODULAR_FLOW_HPP_
#define _SUBMODULAR_FLOW_HPP_
#include "sos-common.hpp"
#include "boost/optional/optional.hpp"
#include <list>
#include <map>
typedef int64_t REAL;
class SubmodularFlow {
public:
typedef int NodeId;
typedef int CliqueId;
struct Clique;
... |
<commit_before>#include "z80mbc.h"
#include <fstream>
z80mbc0::z80mbc0(const std::vector<quint8> &rom) {
this->rom = rom;
ram.resize(0x2000);
}
quint8 z80mbc0::readROM(quint16 address) {
return rom[address];
}
quint8 z80mbc0::readRAM(quint16 address) {
return ram[address];
}
void z80mbc0::writ... |
<commit_before><commit_msg>Remove superfluous bug numbers<commit_after><|endoftext|> |
<commit_before>/*************************************************************************
*
* $RCSfile: wrtrtf.hxx,v $
*
* $Revision: 1.9 $
*
* last change: $Author: rt $ $Date: 2004-09-20 15:19:04 $
*
* The Contents of this file are made available subject to the terms of
* either of the following license... |
<commit_before>#include <iostream>
#include <stdio.h>
#include <stdio.h>
#include <ctype.h>
#include <cstring>
#include <vector>
#include <unistd.h>
#include <sys/types.h>
#include <sys/wait.h>
using namespace std;
bool conntest(string x){
int i = x.size() - 1;
if(x == "&&" || x == ";" || x == "||"){
/... |
<commit_before>#include <iostream>
using namespace std;
//============implete a positive int Queue.==========
class intQueue{
private:
int num[10];
int front;
int rear;
public:
void Queue(int i);
int deQueue();
intQueue();
};
intQueue::intQueue(void){
fron... |
<commit_before>#include "types.h"
#include "amd64.h"
#include "mmu.h"
#include "cpu.hh"
#include "kernel.hh"
#include "bits.hh"
#include "spinlock.h"
#include "kalloc.h"
#include "queue.h"
#include "condvar.h"
#include "proc.hh"
#include "vm.hh"
#include <stddef.h>
extern pml4e_t kpml4[];
static pme_t*
descend(pme_t ... |
<commit_before>/*************************************************************************
*
* $RCSfile: textsh2.cxx,v $
*
* $Revision: 1.14 $
*
* last change: $Author: oj $ $Date: 2002-08-21 12:23:40 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licen... |
<commit_before>/*************************************************************************
*
* $RCSfile: uivwimp.cxx,v $
*
* $Revision: 1.3 $
*
* last change: $Author: jp $ $Date: 2001-04-30 15:59:56 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licens... |
<commit_before>#include <iostream>
#include "GL/gl_core_3_3.h"
#include "framework/platform.hh"
#include "system/keycode.hh"
#include "system/utility.hh"
#include "controllerstack.hh"
#include "gamecontroller.hh"
#include "ticker.hh"
using Framework::ReadingKeyboardState;
using System::KeyCode;
using Sy... |
<commit_before>/*********************************************************************
** Author: Zach Colbert
** Date: 1 November 2017
** Description:
*********************************************************************/
// Pre-processing includes pre-requisite libraries for the functions below
#include <string>
/... |
<commit_before>#include "RansacLineDetector.h"
RansacLineDetector::RansacLineDetector()
{
// initialize some stuff here
DEBUG_REQUEST_REGISTER("Vision:RansacLineDetector:draw_edgels_field", "", false);
DEBUG_REQUEST_REGISTER("Vision:RansacLineDetector:draw_lines_field", "", false);
DEBUG_REQUEST_REGISTER("Visi... |
<commit_before>#include "chainerx/routines/statistics.h"
#include "chainerx/array.h"
#include "chainerx/axes.h"
#include "chainerx/backprop_mode.h"
#include "chainerx/backward.h"
#include "chainerx/backward_builder.h"
#include "chainerx/backward_context.h"
#include "chainerx/dtype.h"
#include "chainerx/macro.h"
#incl... |
<commit_before>////////////////////////////////////////////////////////////////////////////////
// Name: stcdlg.cpp
// Purpose: Implementation of class wxExSTCEntryDialog
// Author: Anton van Wezenbeek
// Created: 2009-11-18
// RCS-ID: $Id$
// Copyright: (c) 2009 Anton van Wezenbeek
/////////////////////... |
<commit_before>//@author A0094446X
#include "stdafx.h"
#include "CppUnitTest.h"
#include "You-GUI\main_window.h"
#include "You-GUI\system_tray_manager.h"
#include "You-QueryEngine\api.h"
#include "You-GUI\task_panel_manager.h"
using Assert = Microsoft::VisualStudio::CppUnitTestFramework::Assert;
using Task = You::Cont... |
<commit_before>/**
* Behaviours - UML-like graphic programming language
* Copyright (C) 2013 Coralbits SL & AISoy Robotics.
*
* 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 Foundation, either ... |
<commit_before>//
// Copyright © 2017 Lennart Oymanns. All rights reserved.
//
#include <iostream>
#include <map>
#include "Error.h"
#include "Factor.hpp"
#include "Function.hpp"
#include "Lexer.hpp"
#include "Number.hpp"
#include "Parser.hpp"
#include "Power.hpp"
#include "Summand.hpp"
#include "UnaryMinus.hpp"
#inc... |
<commit_before>// torBlock.cpp : Defines the entry point for the DLL application.
//
#include "bzfsAPI.h"
#include <string>
#include <algorithm>
#include <sstream>
#include <stdarg.h>
#include <vector>
#include <stdio.h>
#include <assert.h>
#include <map>
#include <vector>
inline std::string tolower(const std::string... |
<commit_before>//
// Parser is used to invoke the clang libraries to perform actual parsing of
// the input received in the Console.
//
// Part of ccons, the interactive console for the C programming language.
//
// Copyright (c) 2009 Alexei Svitkine. This file is distributed under the
// terms of MIT Open Source Licen... |
<commit_before>/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a ... |
<commit_before>/***************************************************************************
copyright : (C) 2004-2005 by Allan Sandfeld Jensen
email : kde@carewolf.org
***************************************************************************/
/**************************************... |
<commit_before>/*
* yosys -- Yosys Open SYnthesis Suite
*
* Copyright (C) 2012 Clifford Wolf <clifford@clifford.at>
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission no... |
<commit_before>#include "instanciate.h"
#include <iostream>
using namespace Yuni;
namespace Nany
{
namespace Pass
{
namespace Instanciate
{
enum class AssignStrategy
{
rawregister,
ref,
deepcopy,
};
bool ProgramBuilder::instanciateAssignment(AtomStackFrame& frame, LVID lhs, LVID rhs, bool canDisposeL... |
<commit_before>#include "arch/x86-64/page_manip.h"
#include "interface/types.h"
#include "interface/physical_mem.h"
// Ensures that a page table exists before writing to it:
void mem_create_pagetable( vmem_t vaddr ) {
// check if the PML4T entry is there
if( !(MEM_PML4T_ADDR[ MEM_PML4_INDEX(vaddr) ] & 1) ) {
// not... |
<commit_before>/*************************************************************************
*
* $RCSfile: SchSlotIds.hxx,v $
*
* $Revision: 1.1.1.1 $
*
* last change: $Author: bm $ $Date: 2003-10-06 09:58:27 $
*
* The Contents of this file are made available subject to the terms of
* either of the following... |
<commit_before>/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
*
* This file is part of OpenOffice.o... |
<commit_before>/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a ... |
<commit_before>//This tutorial illustrates how to create an histogram with polygonal
//bins (TH2Poly), fill it and draw it. The initial data are stored
//in TMultiGraphs. They represent the european countries.
//The histogram filling is done according to a Mercator projection,
//therefore the bin contains should be pro... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: XMLFootnoteSeparatorExport.hxx,v $
*
* $Revision: 1.2 $
*
* last change: $Author: rt $ $Date: 2005-09-09 14:34:15 $
*
* The Contents of t... |
<commit_before>//===- yaml2macho - Convert YAML to a Mach object file --------------------===//
//
// 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) 2006-2008 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/jsmessage_box_handler_win.h"
#include "base/string_util.h"
#include "chrome/browser/app_modal_dialog_que... |
<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/printing/print_dialog_gtk.h"
#include <gtk/gtkprintjob.h>
#include <gtk/gtkprintunixdialog.h>
#include <gtk/g... |
<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/common/safe_browsing/zip_analyzer.h"
#include "base/logging.h"
#include "base/macros.h"
#include "chrome/common/safe_... |
<commit_before>//------------------------------------------------------------------------------
// CLING - the C++ LLVM-based InterpreterG :)
// version: $Id$
// author: Vassil Vassilev <vasil.georgiev.vasilev@cern.ch>
//------------------------------------------------------------------------------
#include "cling/In... |
<commit_before>#include "nanocv.h"
#include <boost/program_options.hpp>
#include <set>
using namespace ncv;
static void test_grad_params(
const string_t& header, const string_t& loss_id, const model_t& model, accumulator_t& acc_params)
{
random_t<size_t> rand(8, 16);
const size_t n_tests = 64... |
<commit_before>// Test doesn't build on windows, because OpenGL on windows is a nightmare.
#ifdef _WIN32
#include <stdio.h>
int main() {
printf("Skipping test on Windows\n");
return 0;
}
#else
#include <stdio.h>
#include <stdlib.h>
#include <stddef.h>
#include <cstring>
#include "../src/runtime/mini_opengl.h"
... |
<commit_before>#include "fly/parser/ini_parser.hpp"
#include <gtest/gtest.h>
#include <filesystem>
//==================================================================================================
class IniParserTest : public ::testing::Test
{
protected:
fly::IniParser m_parser;
};
//========================... |
<commit_before>// RUN: %clang_cc1 -analyze -std=c++11 -analyzer-checker=alpha.clone.CloneChecker -verify %s
// expected-no-diagnostics
int foo1(int src) {
int dst = src;
if (src < 100 && src > 0) {
asm ("mov %1, %0\n\t"
"add $1, %0"
: "=r" (dst)
: "r" (src));
}
return dst;
}
... |
<commit_before>#include <stdio.h>
#include <stdlib.h>
int main(int argc, char *argv[]){
double resultado = 0;
for (int argumento=1; argumento < argc; argumento++)
resultado += atof(argv[argumento]);
printf("%lf\n", resultado);
return EXIT_SUCCESS;
}
<commit_msg>Delete add.cpp<commit_after><|endoft... |
<commit_before>#include "simplebicycle.h"
#include <boost/math/tools/tuple.hpp>
#include <boost/math/tools/roots.hpp>
#include "constants.h"
#include "parameters.h"
namespace model {
SimpleBicycle::SimpleBicycle(real_t v, real_t dt) :
m_M(parameters::benchmark::M),
m_C1(parameters::benchmark::C1),
... |
<commit_before>/** @file
Implementation of Parent Proxy routing
@section license License
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF li... |
<commit_before>#include "perftest.h"
#if TEST_RAPIDJSON
#include "rapidjson/rapidjson.h"
#include "rapidjson/document.h"
#include "rapidjson/prettywriter.h"
#include "rapidjson/stringbuffer.h"
#include "rapidjson/filestream.h"
#include "rapidjson/filereadstream.h"
#ifdef RAPIDJSON_SSE2
#define SIMD_SUFFI... |
<commit_before>#include "perftest.h"
#if TEST_RAPIDJSON
#include "rapidjson/rapidjson.h"
#include "rapidjson/document.h"
#include "rapidjson/prettywriter.h"
#include "rapidjson/stringbuffer.h"
#include "rapidjson/filestream.h"
#include "rapidjson/filereadstream.h"
#ifdef RAPIDJSON_SSE2
#define SIMD_SUFFI... |
<commit_before>// transcode.cpp
//
#include <iostream>
#include <Utils/convert_adaptor.h>
#include <Utils/utf8iso88591codecvt.h>
#include <Utils/iso88591utf8codecvt.h>
#include <Utils/rot13codecvt.h>
#include <Utils/base64codecvt.h>
#include <Utils/utf8ucs2codecvt.h>
#include <Utils/utf16utf8codecvt.h>
#include <Utils... |
<commit_before>/*!
* \page bomsforforecaster_cpp Command-Line Test to Demonstrate How To Test the RMOL Project
* \code
*/
// //////////////////////////////////////////////////////////////////////
// Import section
// //////////////////////////////////////////////////////////////////////
// STL
#include <cassert>
#in... |
<commit_before>#include <algorithm>
#include <iterator>
#include <string>
#include <nek/utility/swap.hpp>
#include <gtest/gtest.h>
TEST(swap_test, primitive)
{
// setup
int const expect1 = 1;
int actual1 = expect1;
int const expect2 = 2;
int actual2 = expect2;
// exercise
nek::swap(actual1, actual2);
... |
<commit_before>#include <flutter/dart_project.h>
#include <flutter/flutter_view_controller.h>
#include <windows.h>
#include <vector>
#include "flutter_window.h"
#include "run_loop.h"
#include "window_configuration.h"
int APIENTRY wWinMain(_In_ HINSTANCE instance,
_In_opt_ HINSTANCE p... |
<commit_before>#include "kernel.h"
#include "ilwisdata.h"
#include "domain.h"
#include "range.h"
#include "datadefinition.h"
#include "columndefinition.h"
#include "connectorinterface.h"
#include "geos/geom/Coordinate.h"
#include "coordinate.h"
#include "table.h"
#include "basetable.h"
#include "domainitem.h"
#include ... |
<commit_before>/// HEADER
#include <csapex_optimization/optimizer.h>
/// PROJECT
#include <csapex/msg/io.h>
#include <csapex/utility/register_apex_plugin.h>
#include <csapex/param/parameter_factory.h>
#include <csapex/model/node_modifier.h>
#include <csapex/param/range_parameter.h>
#include <csapex/msg/generic_value_m... |
<commit_before>#include <Salamandre-stats/stats.hpp>
#include <Salamandre-daemon/Daemon.hpp>
#include <Salamandre-daemon/ServerBroadcast.hpp>
#include <Salamandre-daemon/define.hpp>
#include <utils/log.hpp>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/file.h>
#include <fcntl.h>
#include <unistd.h>
#inc... |
<commit_before>/*
* qiesmap.cpp
*
* Copyright (c) 2016 Tobias Wood.
*
* 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 at http://mozilla.org/MPL/2.0/.
*
*/
#include <getopt.h>
#include <i... |
<commit_before>// /////////////////////////////////////////////////////////////////
// Generated by dtkPluginGenerator
// /////////////////////////////////////////////////////////////////
#include "itkProcessRegistrationDiffeomorphicDemons.h"
#include <dtkCore/dtkAbstractData.h>
#include <dtkCore/dtkAbstractDataFacto... |
<commit_before>/*******************************************************************************************
author: Tyler Nowak
date: 11/13/2016
This algorithm is a serial implementation of Strassen's matrix multiplication algorithm.
******************************************************************************... |
<commit_before>
#include "mock.hpp"
#include <d2/logging.hpp>
#include <algorithm>
#include <boost/move/move.hpp>
#include <boost/range/adaptors.hpp>
#include <boost/range/algorithm.hpp>
#include <cstddef>
#include <ostream>
#include <vector>
static std::size_t const THREADS = 10;
static std::size_t const NOISE_MUTE... |
<commit_before>//=============================================================================================================
/**
* @file main.cpp
* @author Lorenz Esch Lorenz Esch <Lorenz.Esch@tu-ilmenau.de>;
* Lorenz Esch <lorenz.esch@tu-ilmenau.de>;
* Matti Hamalainen <msh@nmr.mgh.harvard.... |
<commit_before>
#include <stdio.h>
#include <dpdk/dpdk.h>
uint8_t port0_mac[6];
uint8_t port1_mac[6];
constexpr size_t n_queues = 4;
int l2fwd(void*)
{
const size_t n_ports = rte_eth_dev_count();
while (true) {
for (size_t pid=0; pid<n_ports; pid++) {
for (size_t qid=0; qid<n_queues; qid++) {
constexpr... |
<commit_before>#include <algorithm>
#include <iostream>
#include <sstream>
#include <vector>
#include "math.h"
#include "visualizer.hpp"
#include "setupAide.hpp"
#include "occa.hpp"
#include "occa/array.hpp"
#if OCCA_GL_ENABLED
visualizer vis;
GLuint screenTexID;
#endif
setupAide setup;
const tFloat DEPTH_OF_FIELD... |
<commit_before>/*
This is an example file shipped by 'Aleph - A Library for Exploring
Persistent Homology'.
This example demonstrates how to load a network---a graph---from
a variety of input files.
The graph will subsequently be expanded to a simplicial complex and
the persistent homology of the graph wi... |
<commit_before>/* OpenSceneGraph example, osgpick.
*
* 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, modify, m... |
<commit_before>// @(#)root/roofitcore:$name: $:$id$
// Authors: Wouter Verkerke November 2007
// C/C++ headers
#include <list>
#include <iostream>
#include <iomanip>
// ROOT headers
#include "TWebFile.h"
#include "TSystem.h"
#include "TString.h"
#include "TROOT.h"
#include "TFile.h"
#include "TBenchmark.h"
// RooF... |
<commit_before>#include <gtest/gtest.h>
#include "simple_graph/list_graph.hpp"
#include "simple_graph/bellman_ford.hpp"
namespace {
class ListGraphUndirectedTest : public ::testing::Test {
protected:
simple_graph::ListGraph<false, int, ssize_t> g;
};
TEST_F(ListGraphUndirectedTest, test_bellman_ford_long)
{
... |
<commit_before>// ---------------------------------------------------------------------
// $Id: graph_coloring_03.cc 30045 2013-07-18 19:18:00Z maier $
//
// Copyright (C) 2003 - 2013 by the deal.II authors
//
// This file is part of the deal.II library.
//
// The deal.II library is free software; you can use it, redis... |
<commit_before>/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a ... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: AColumn.cxx,v $
*
* $Revision: 1.24 $
*
* last change: $Author: hr $ $Date: 2006-06-20 01:12:11 $
*
* The Contents of this file are made ... |
<commit_before>// ========================================================================================
// ApproxMVBB
// Copyright (C) 2014 by Gabriel Nützi <nuetzig (at) imes (d0t) mavt (d0t) ethz (døt) ch>
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy o... |
<commit_before>//===----------------------------------------------------------------------===//
//
// PelotonDB
//
// logging_test.cpp
//
// Identification: tests/logging/logging_test.cpp
//
// Copyright (c) 2016, Carnegie Mellon University Database Group
//
//===--------------------------------... |
<commit_before>#include <iostream>
#include <sstream>
#include <fstream>
#include <vector>
#include <string>
#include <stdio.h>
#include <stdlib.h>
#include <boost/filesystem/operations.hpp>
#include <boost/filesystem/path.hpp>
#include <boost/filesystem/convenience.hpp>
#include <boost/algorithm/string.hpp>
#include... |
<commit_before>/*************************************************************************
*
* $RCSfile: odbcconfig.cxx,v $
*
* $Revision: 1.6 $
*
* last change: $Author: jl $ $Date: 2001-03-23 13:29:31 $
*
* The Contents of this file are made available subject to the terms of
* either of the following lic... |
<commit_before>/*************************************************************************
*
* $RCSfile: queryorder.hxx,v $
*
* $Revision: 1.6 $
*
* last change: $Author: rt $ $Date: 2004-10-22 09:06:21 $
*
* The Contents of this file are made available subject to the terms of
* either of the following lic... |
<commit_before>#ifndef TEST_CLIENT_UTILS_HPP
#define TEST_CLIENT_UTILS_HPP
#include "TestAuthProvider.hpp"
#include "TestUserData.hpp"
#include "TestUtils.hpp"
#include "test_server_data.hpp"
#include "AccountStorage.hpp"
#include "CAppInformation.hpp"
#include "Client.hpp"
#include "ClientSettings.hpp"
#include "Co... |
<commit_before>#include "VideoSuite.hpp"
#include <iostream>
#include <Video/LowLevelRenderer/Interface/LowLevelRenderer.hpp>
#ifdef OPENGL_SUPPORT
#include <Video/LowLevelRenderer/OpenGL/OpenGLRenderer.hpp>
#endif
#ifdef VULKAN_SUPPORT
#include <Video/LowLevelRenderer/Vulkan/VulkanRenderer.hpp>
#endif
#include <GLF... |
<commit_before>#include "App.h"
#include "ModuleWindow.h"
#include "ModuleCamera3D.h"
#include "Globals.h"
#include "App.h"
#include "ModuleRenderer3D.h"
#include "Glew/include/glew.h"
#include "SDL\include\SDL_opengl.h"
#include <gl/GL.h>
#include <gl/GLU.h>
#pragma comment (lib, "glu32.lib") /* link OpenGL Utilit... |
<commit_before>/*Santiago Zubieta*/
#include <iostream>
#include <numeric>
#include <fstream>
#include <climits>
#include <cstring>
#include <cstdio>
#include <cmath>
#include <queue>
#include <list>
#include <map>
#include <set>
#include <stack>
#include <deque>
#include <vector>
#include <string>
#include <cstdlib>
#... |
<commit_before>/**
* This file is part of TelepathyQt
*
* @copyright Copyright (C) 2012 Collabora Ltd. <http://www.collabora.co.uk/>
* @license LGPL 2.1
*
* 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 Fr... |
<commit_before>// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#include <vespa/vespalib/util/sequencedtaskexecutor.h>
#include <vespa/vespalib/util/adaptive_sequenced_executor.h>
#include <vespa/vespalib/testkit/testapp.h>
#include <vespa/vespalib/test/insertio... |
<commit_before>/****************************************************************************
*
* Copyright (c) 2019 PX4 Development Team. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*... |
<commit_before>#include <tests/lib/test.h>
#include <tests/lib/glib-helpers/test-conn-helper.h>
#include <tests/lib/glib/echo2/conn.h>
#define TP_QT4_ENABLE_LOWLEVEL_API
#include <TelepathyQt4/Channel>
#include <TelepathyQt4/Connection>
#include <TelepathyQt4/ConnectionLowlevel>
#include <TelepathyQt4/PendingChanne... |
<commit_before>#include "Halide.h"
#include "wrapper_test_120.h"
#include <tiramisu/utils.h>
#define NN 10
#define MM 10
int main(int, char **)
{
Halide::Buffer<uint8_t> reference_buf(NN, MM);
init_buffer(reference_buf, (uint8_t)7);
Halide::Buffer<uint8_t> output_buf(NN, MM);
init_buffer(output_buf,... |
<commit_before>#include "src/thread.h"
#include "JobLoggingDecorator.h"
using namespace ThreadWeaver;
JobLoggingDecorator::JobLoggingDecorator(const JobPointer &job, JobLoggingDecoratorCollector* collector)
: IdDecorator(job.data(), false)
, collector_(collector)
{
Q_ASSERT(collector);
}
void JobLogging... |
<commit_before>#include <thrill/data/byte_block.hpp>
#include <thrill/data/block_pool.hpp>
namespace thrill {
namespace data{
void ByteBlock::deleter(ByteBlock* bb) {
assert(bb->head.pin_count_ == 0);
//some blocks are created in 'detached' state (tests etc)
if(bb->head.block_pool_ && bb->reference_count... |
<commit_before>// Copyright (c) 2006-2008 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/threading/thread.h"
#include <vector>
#include "base/message_loop.h"
#include "base/third_party/dynamic_annotatio... |
<commit_before>/*************************************************************************
*
* $RCSfile: b3dtuple.cxx,v $
*
* $Revision: 1.6 $
*
* last change: $Author: pjunck $ $Date: 2004-11-03 08:39:47 $
*
* The Contents of this file are made available subject to the terms of
* either of the following l... |
<commit_before>#include <QString>
#include <QStringList>
#include <functional>
#include <future>
#include <memory>
#include "kernel.h"
#include "coverage.h"
#include "columndefinition.h"
#include "table.h"
#include "attributerecord.h"
#include "feature.h"
#include "featurecoverage.h"
#include "symboltable.h"
#include "... |
<commit_before>/**
* @file
* exercise_03_05_part_2.cpp
* @author
* Henrik Samuelsson, henrik.somuelsson(at)gmail.com
*/
#include <iostream>
#include <string>
using std::cin;
using std::cout;
using std::string;
int main() {
string temp, result;
string spacer = " ";
while(cin >> temp) {
... |
<commit_before>#define QT_NO_CAST_ASCII
// configuredialog_p.cpp: classes internal to ConfigureDialog
// see configuredialog.cpp for details.
// This must be first
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
// my header:
#include "configuredialog_p.h"
// other KMail headers:
#include "kmidentity.h" // for Ident... |
<commit_before>#include "kontsevich_graph_series.hpp"
#include "util/cartesian_product.hpp"
#include <sstream>
template <class T>
size_t KontsevichGraphSeries<T>::precision() const
{
return d_precision;
}
template <class T>
size_t KontsevichGraphSeries<T>::precision(size_t new_precision)
{
return d_precision ... |
<commit_before>//!
//! @file Hydraulic43ValveNeutralSupplyToTank.hpp
//! @author Karl Pettersson <karl.pettersson@liu.se>
//! @date 2010-01-12
//!
//! @brief Contains a hydraulic 4/3-valve of Q-type
#ifndef HYDRAULIC43VALVENEUTRALSUPPLYTOTANK_HPP_INCLUDED
#define HYDRAULIC43VALVENEUTRALSUPPLYTOTANK_HPP_INCLUDED
#d... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.