text stringlengths 54 60.6k |
|---|
<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/predictors/predictor_database.h"
#include "base/bind.h"
#include "base/file_util.h"
#include "base/files/file... |
<commit_before>/*
* Copyright (c) 2005, Peter Sommerlad and IFS Institute for Software at HSR Rapperswil, Switzerland
* All rights reserved.
*
* This library/application is free software; you can redistribute and/or modify it under the terms of
* the license that is included with this library/application in the fi... |
<commit_before>/**
* LLVM transformation pass to resolve indirect calls
*
* The transformation performs "devirtualization" which consists of
* looking for indirect function calls and transforming them into a
* switch statement that selects one of several direct function calls
* to execute. Devirtualization happen... |
<commit_before>/****************************************************************************
*
* Copyright (c) 2016 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>/*
* ClusterContracter.cpp
*
* Created on: 30.10.2012
* Author: Christian Staudt ([email protected])
*/
#include "ClusterContracter.h"
namespace NetworKit {
ClusterContracter::ClusterContracter() {
// TODO Auto-generated constructor stub
}
ClusterContracter::~ClusterContracter() {... |
<commit_before>/********************************************************************
* Description: interp_execute.cc
*
* Derived from a work by Thomas Kramer
*
* Author:
* License: GPL Version 2
* System: Linux
*
* Copyright (c) 2004 All rights reserved.
*
* Last change:
*****************************************... |
<commit_before>/*************************************************************************
*
* $RCSfile: listenernotification.cxx,v $
*
* $Revision: 1.4 $
*
* last change: $Author: rt $ $Date: 2004-11-26 21:08:50 $
*
* The Contents of this file are made available subject to the terms of
* either of the fol... |
<commit_before>// Copyright (c) 2009, Google Inc.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// * Redistributions of source code must retain the above copyright
// notice, this ... |
<commit_before>/**
******************************************************************************
* Xenia : Xbox 360 Emulator Research Project *
******************************************************************************
* Copyright 2015 Ben Vanik. All rights reserved. ... |
<commit_before>/*
* Copyright 2006-2008 The FLWOR Foundation.
*
* 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 ap... |
<commit_before>#include <crypto/crypto_encryption.h>
#include <event/event_callback.h>
#include <event/event_main.h>
#include <event/event_system.h>
#include <io/net/tcp_server.h>
#include <io/pipe/pipe.h>
#include <io/pipe/pipe_producer.h>
#include <io/pipe/splice.h>
#include <io/socket/simple_server.h>
#include ... |
<commit_before>/**
* This file is part of the "libfnord" project
* Copyright (c) 2015 Paul Asmuth
*
* FnordMetric is free software: you can redistribute it and/or modify it under
* the terms of the GNU General Public License v3.0. You should have received a
* copy of the GNU General Public License along with th... |
<commit_before>/***************************Copyright-DO-NOT-REMOVE-THIS-LINE**
* CONDOR Copyright Notice
*
* See LICENSE.TXT for additional notices and disclaimers.
*
* Copyright (c)1990-1998 CONDOR Team, Computer Sciences Department,
* University of Wisconsin-Madison, Madison, WI. All Rights Reserved.
* No ... |
<commit_before>/*
* Copyright (c) 2016, The OpenThread Authors.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* 1. Redistributions of source code must retain the above copyright
* ... |
<commit_before>#include <gtest/gtest.h>
#include "keycode.hpp"
using namespace org_pqrs_KeyRemap4MacBook;
TEST(ModifierFlag, stripFN) {
unsigned int flags = ModifierFlag::SHIFT_L | ModifierFlag::CONTROL_R | ModifierFlag::COMMAND_R;
EXPECT_EQ(ModifierFlag::stripFN(flags), flags);
EXPECT_EQ(ModifierFlag::stripFN(... |
<commit_before>#include "core/physics/physics_manager.h"
#include "core/physics/constraint.h"
#include "core/rendering/render_manager.h"
#include <glm/gtx/norm.hpp>
#include <bitset>
namespace eversim { namespace core { namespace physics {
namespace {
template <typename Constraints, typename Func, size_t... Is>
... |
<commit_before>//
// PROJECT CHRONO - http://projectchrono.org
//
// Copyright (c) 2013 Project Chrono
// All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file at the top level of the distribution
// and at http://projectchrono.org/license-chrono.... |
<commit_before>/*************************************************************************
*
* $RCSfile: layerupdatehandler.cxx,v $
*
* $Revision: 1.9 $
*
* last change: $Author: rt $ $Date: 2003-04-17 13:17:03 $
*
* The Contents of this file are made available subject to the terms of
* either of the follo... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: MServices.cxx,v $
*
* $Revision: 1.7 $
*
* last change: $Author: vg $ $Date: 2007-10-15 12:31:00 $
*
* The Contents of this file are made... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: stringtransfer.cxx,v $
*
* $Revision: 1.7 $
*
* last change: $Author: hr $ $Date: 2007-06-27 21:52:16 $
*
* The Contents of this file are... |
<commit_before>/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* Copyright 2008 by Sun Microsystems, Inc.
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: displayinfo.cxx,v $
* $Revision:... |
<commit_before>/*************************************************************************
*
* $RCSfile: SwUndoPageDesc.cxx,v $
*
* $Revision: 1.3 $
*
* last change: $Author: hr $ $Date: 2004-09-08 14:57:59 $
*
* The Contents of this file are made available subject to the terms of
* either of the following... |
<commit_before>#include "Node.h"
int Node::s_current_id = 0;
Node::Node()
{
// Status
m_id = ++s_current_id;
m_show = false;
// Arrangement
m_position = Vec2<double>(0.0, 0.0);
m_anchor = Vec2<double>(0.5, 0.5);
m_size = Vec2<double>(30.0, 30.0);
// Texture
m_textur... |
<commit_before>/*
* #%L
* %%
* Copyright (C) 2011 - 2016 BMW Car IT 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
*
... |
<commit_before>// RUN: %clang_cc1 -DSETNODEBUG=0 -emit-llvm -debug-info-kind=limited %s -o - | FileCheck %s --check-prefix=YESINFO
// RUN: %clang_cc1 -DSETNODEBUG=1 -emit-llvm -debug-info-kind=limited %s -o - | FileCheck %s --check-prefix=NOINFO
#if SETNODEBUG
#define NODEBUG __attribute__((nodebug))
#else
#define NOD... |
<commit_before>/*
* Copyright 2019 The Open GEE Contributors
*
* 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>/*
* Copyright 2019 The Open GEE Contributors
*
* 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>/*
Copyright (c) 2003-2010 Sony Pictures Imageworks Inc., et al.
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, ... |
<commit_before>/**
* @file rpc_manager.cpp
*
* @date Feb 7, 2017
*/
#include <cassert>
#include <iostream>
#include <derecho/core/detail/rpc_manager.hpp>
namespace derecho {
namespace rpc {
thread_local bool _in_rpc_handler = false;
RPCManager::~RPCManager() {
thread_shutdown = true;
if(rpc_thread.joi... |
<commit_before>#include <cstdio>
#include <dxjson/dxjson.h>
int main() {
using namespace dx;
using namespace std;
try
{
JSON j1(JSON_OBJECT);
std::cout<<"Eps = "<<JSON::getEpsilon();
j1["key"] = 12;
JSON j2(JSON_OBJECT);
j2["blah"] = "sdsdsd";
j2["blah"] = "key";
j2["lala"] = j1[j2... |
<commit_before>//
// Created by Dawid Drozd aka Gelldur on 7/19/16.
//
#include "Preferences.h"
#include<cstdio>
#include <Poco/Data/Session.h>
//#include <Poco/Data/SQLite/Connector.h>
#include <log.h>
#include <acme/MakeUnique.h>
Preferences::Preferences(const std::string& databaseName, const std::string& tableN... |
<commit_before>/*****************************************************************************
*
* This file is part of Mapnik (c++ mapping toolkit)
*
* Copyright (C) 2006 Artem Pavlenko
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public... |
<commit_before><commit_msg>Improve IAS Zone enrollment<commit_after><|endoftext|> |
<commit_before>// Copyright (c) 2021 ASMlover. All rights reserved.
//
// ______ __ ___
// /\__ _\ /\ \ /\_ \
// \/_/\ \/ __ \_\ \ _____ ___\//\ \ __
// \ \ \ /'__`\ /'_` \/\ '__`\ / __`\\ \ \ /'__`\
// \ \ \/\ \L\.\_/\ \L\ \ \ \L\ \/... |
<commit_before>/*
* Copyright (C) 2019 The Android Open Source Project
*
* 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 ... |
<commit_before>/*----------------------------------------------------------------------------*/
/* Copyright (c) FIRST 2016. All Rights Reserved. */
/* Open Source Software - may be modified and shared by FRC teams. The code */
/* must be accompanied by the FIRST BSD license file in the ro... |
<commit_before>#pragma once
#include <string>
#include <vector>
#include "rapidjson/writer.h"
#include "rapidjson/prettywriter.h"
#include "rapidjson/error/en.h"
#include "rapidjson/stringbuffer.h"
#include "acmacs-base/read-file.hh"
// ----------------------------------------------------------------------
templat... |
<commit_before>/**
******************************************************************************
* Xenia : Xbox 360 Emulator Research Project *
******************************************************************************
* Copyright 2020 Ben Vanik. All rights reserved. ... |
<commit_before>/**
* \ file OutPointerFilter.cpp
*/
#include <cmath>
#include <boost/math/constants/constants.hpp>
#include <ATK/Core/InPointerFilter.h>
#include <ATK/Core/OutPointerFilter.h>
#define BOOST_TEST_DYN_LINK
#define BOOST_TEST_NO_MAIN
#include <boost/test/unit_test.hpp>
#define PROCESSSIZE (10)
BOOS... |
<commit_before>// Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#include <util/timer.h>
#include <httpclient/httpclient.h>
#include <util/filereader.h>
#include "client.h"
Client::Client(ClientArguments *args)
: _args(args),
_status(new ClientS... |
<commit_before>#ifndef STAN_MATH_REV_FUNCTOR_APPLY_SCALAR_BINARY_HPP
#define STAN_MATH_REV_FUNCTOR_APPLY_SCALAR_BINARY_HPP
#include <stan/math/prim/fun/as_column_vector_or_scalar.hpp>
#include <stan/math/rev/meta.hpp>
#include <stan/math/prim/err/check_matching_dims.hpp>
#include <stan/math/prim/err/check_matching_siz... |
<commit_before>/*************************************************************************
*
* $RCSfile: elementparser.hxx,v $
*
* $Revision: 1.3 $
*
* last change: $Author: kz $ $Date: 2004-08-31 14:59:01 $
*
* The Contents of this file are made available subject to the terms of
* either of the following ... |
<commit_before>//===--- RuntimeEntrySymbols.cpp - Define symbols for runtime entries --===//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2014 - 2016 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See http:/... |
<commit_before>#include "selectsignaldialog.h"
#include "ui_selectsignaldialog.h"
#include "signaldescription.h"
#include "signalhandler.h"
#include "jointnames.h"
#include <cstdio>
#include <cassert>
class SelectSignalDialog::Internal : public Ui::SelectSignalDialog
{
public:
QList<QListWidget*> ArrayKeyWidgets;... |
<commit_before>#include "loader.h"
#include<dlfcn.h>
BVS::ModuleMap BVS::Loader::modules;
BVS::ModuleVector BVS::Loader::masterModules;
BVS::Loader::Loader(Control& control, Config& config)
: control(control)
, logger("Loader")
, config(config)
{
}
void BVS::Loader::registerModule(const std::string& id... |
<commit_before>AliAnalysisTaskStrangenessVsMultiplicityMCRun2 *AddTaskStrangenessVsMultiplicityMCRun2( Bool_t lSaveEventTree = kTRUE, Bool_t lSaveV0 = kTRUE, Bool_t lSaveCascade = kTRUE, TString lExtraOptions = "", const TString lMasterJobSessionFlag = "", TString lExtraOutputName = "")
{
// Creates, configures and... |
<commit_before>/**
* 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 licenses this file
* to you under the Apache License, Version 2.0 (the
* ... |
<commit_before>#pragma once
#ifndef DELEGATE_HPP
# define DELEGATE_HPP
#include <cassert>
#include <memory>
#include <new>
#include <type_traits>
#include <utility>
template <typename T> class delegate;
template<class R, class ...A>
class delegate<R (A...)>
{
template <typename U, typename = void> struct is_fu... |
<commit_before>#include <gtest/gtest.h>
#include "utTerm.h"
int main( int argc , char **argv )
{
testing :: InitGoogleTest( &argc , argv ) ;
return RUN_ALL_TESTS( ) ;
}
<commit_msg>Delete MainTerm.cpp<commit_after><|endoftext|> |
<commit_before>/***********************************************************************
filename: ItemViewRenderer.cpp
created: Mon Jun 02 2014
author: Timotei Dolean <[email protected]>
*************************************************************************/
/**********************************... |
<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/command_line.h"
#include "chrome/browser/extensions/extension_apitest.h"
#include "chrome/common/chrome_switches.h"
#if... |
<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/command_line.h"
#include "chrome/browser/extensions/extension_apitest.h"
#include "chrome/common/chrome_switches.h"
#if... |
<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/browser/prerender/prerender_resource_handler.h"
#include "chrome/browser/net/chrome_url_request_context.h"
#include "... |
<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_path.h"
#include "chrome/browser/browser_list.h"
#include "chrome/browser/defaults.h"
#include "chrome/browser/prof... |
<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/tab_contents/tab_contents_ssl_helper.h"
#include "app/l10n_util.h"
#include "app/resource_bundle.h"
#include ... |
<commit_before>/**
* This file is part of the CernVM File System.
*
* Fills an internal map of key-value pairs from ASCII files in key=value
* style. Parameters can be overwritten. Used to read configuration from
* /etc/cvmfs/...
*/
#include "cvmfs_config.h"
#include "options.h"
#include <fcntl.h>
#include <s... |
<commit_before>#include "StdAfxUnitTests.h"
#include "DnsUnitTests.h"
CPPUNIT_TEST_SUITE_REGISTRATION(AppSecInc::UnitTests::TcpIp::DNS::DnsUnitTests);
using namespace AppSecInc::UnitTests::TcpIp::DNS;
void DnsUnitTests::testGetHostByAddress()
{
AppSecInc::TcpIp::CWSAStartup wsa;
struct TestData
{
... |
<commit_before>#undef isnan
#undef isfinite
#include "kfusion.h"
#include "helpers.h"
#include <iostream>
#include <sstream>
#include <iomanip>
#include <cvd/glwindow.h>
#include "perfstats.h"
using namespace std;
using namespace TooN;
#include <libfreenect/libfreenect.h>
freenect_context *f_ctx;
freenect_device ... |
<commit_before>/*
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
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 3 of th... |
<commit_before>/*
* Copyright (C) 2017 Rene Herthel
*
* This file is subject to the terms and conditions of the MIT License.
* See the file LICENSE in the top level directory for more details.
*/
/**
* @ingroup error_handler
* @{
*
* @brief Function declaration of the ErrorHandler.
*
* @author R... |
<commit_before>
/*
* Copyright 2011 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "SkColorMatrixFilter.h"
#include "SkColorMatrix.h"
#include "SkColorPriv.h"
#include "SkUnPreMultiply.h"
static int32_t rowmul4(const int32_t array[],... |
<commit_before>/*
* ARMEmulator.cpp
*
* Created on: Oct 10, 2015
* Author: anon
*/
#include "debug.h"
#include "ARMEmulator.h"
#include "ARMDisassembler.h"
using namespace std;
using namespace Register;
using namespace Disassembler;
namespace Emulator {
ARMEmulator::ARMEmulator(ARMContext *context, Me... |
<commit_before>/**************************************************************************
**
** This file is part of Qt Creator
**
** Copyright (c) 2011 Nokia Corporation and/or its subsidiary(-ies).
**
** Contact: Nokia Corporation ([email protected])
**
**
** GNU Lesser General Public License Usage
**
** This file m... |
<commit_before>#include "change_map.h"
#include "logconsole.h"
#include "entity_system.h"
#include "cli_normal_chat.h"
#include "srv_normal_chat.h"
#include "components/basic_info.h"
#include "whisper_char.h"
using namespace RoseCommon;
using namespace RoseCommon::Packet;
void Map::change_map_request(EntitySystem& e... |
<commit_before>#include "Ext.h"
#include "preprocessor/llvm_includes_start.h"
#include <llvm/IR/IntrinsicInst.h>
#include "preprocessor/llvm_includes_end.h"
#include "RuntimeManager.h"
#include "Memory.h"
#include "Type.h"
#include "Endianness.h"
namespace dev
{
namespace eth
{
namespace jit
{
Ext::Ext(RuntimeManag... |
<commit_before>#include "Ext.h"
#include "preprocessor/llvm_includes_start.h"
#include <llvm/IR/IntrinsicInst.h>
#include "preprocessor/llvm_includes_end.h"
#include "RuntimeManager.h"
#include "Memory.h"
#include "Type.h"
#include "Endianness.h"
namespace dev
{
namespace eth
{
namespace jit
{
Ext::Ext(RuntimeManag... |
<commit_before>#include "Node.h"
#include "NodePart.h"
#include "Animation.h"
#include "NodeAnimation.h"
#include "Keyframe.h"
#include "Material.h"
#include "Attributes.h"
#include "MeshPart.h"
#include "Mesh.h"
#include "Model.h"
#include "Reference.h"
#include "FileIO.h"
#include "Reference.h"
namespac... |
<commit_before>// Copyright (c) 2014 Ratcoin dev-team
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "processNetwork.h"
#include "common/nodesManager.h"
#include "common/communicationProtocol.h"
#include "common/a... |
<commit_before>/* $Id: middlewareTimerTests.cpp,v 1.1.2.5 2012/11/30 17:32:33 matthewmulhern Exp $
*
* OpenMAMA: The open middleware agnostic messaging API
* Copyright (C) 2011 NYSE Technologies, Inc.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser G... |
<commit_before>/****************************************************************/
/* MOOSE - Multiphysics Object Oriented Simulation Environment */
/* */
/* All contents are licensed under LGPL V2.1 */
/* See LICENSE for full r... |
<commit_before>//---------------------------------------------------------------------------//
/*
Copyright (c) 2014, Stuart R. Slattery
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
*: Re... |
<commit_before>#include "thruster_tortuga.h"
ThrusterTortugaNode::ThrusterTortugaNode(int argc, char **argv, int rate): TortugaNode(){
ros::Rate loop_rate(rate);
subscriber = n.subscribe("/qubo/thruster_input", 1000, &ThrusterTortugaNode::thrusterCallBack, this);
ROS_DEBUG("Opening sensorboard");
se... |
<commit_before>#include "ClientSocket.hh"
#include "Server.hh"
#include <signal.h>
#include <fstream>
#include <random>
#include <string>
#include <vector>
Server server;
void handleExitSignal( int /* signal */ )
{
server.close();
}
void unescapeQuote( std::string& quote )
{
std::size_t position = 0;
std:... |
<commit_before>/*
* Copyright (c) 2010 ARM Limited
* All rights reserved
*
* The license below extends only to copyright in the software and shall
* not be construed as granting a license to any other intellectual
* property including but not limited to intellectual property relating
* to a hardware implementati... |
<commit_before>// LaminaFS is Copyright (c) 2016 Brett Lajzer
// See LICENSE for license information.
#include "Directory.h"
#include <cstdio>
#include <cstring>
#include <errno.h>
#include <sys/types.h>
#include <sys/stat.h>
#ifdef _WIN32
#define UNICODE 1
#define _UNICODE 1
#define _CRT_SECURE_NO_WARNINGS 1
#incl... |
<commit_before>#include <iostream>
void SetAliEnSettings()
{
// Routine to load settings from an AliEn environment file.
ifstream fileIn;
fileIn.open(Form("%s/gclient_env_%d", gSystem->TempDirectory(), gSystem->GetUid()));
if (gDebug>0) {printf("P010_TAlien.C: parsing %s/gclient_env_$UID\n", gSystem->Temp... |
<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 "content/public/browser/browser_main_runner.h"
#include "base/allocator/allocator_shim.h"
#include "base/base_switches.h"
#in... |
<commit_before>#define BOOST_TEST_MODULE RDOTriangularTest
#include <boost/test/included/unit_test.hpp>
// ----------------------------------------------------------------------- SYNOPSIS
#include "simulator/runtime/rdo_random_distribution.h"
BOOST_AUTO_TEST_CASE(RDOTriangularTest)
{
}<commit_msg>* reverted c... |
<commit_before>/******************************************************************************
* Copyright (c) 2016 Charles R. Allen
*
* 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 wit... |
<commit_before>// Copyright 2012 Google Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law o... |
<commit_before>#include "engine/polyline_compressor.hpp"
#include <boost/assert.hpp>
#include <cstddef>
#include <cstdlib>
#include <cmath>
#include <algorithm>
namespace osrm
{
namespace engine
{
namespace /*detail*/ // anonymous to keep TU local
{
std::string encode(int number_to_encode)
{
std::string output;
... |
<commit_before>/*
===========================================================================
Daemon GPL Source Code
Copyright (C) 2012 Unvanquished Developers
This file is part of the Daemon GPL Source Code (Daemon Source Code).
Daemon Source Code is free software: you can redistribute it and/or modify
it under the... |
<commit_before>/*===================================================================
The Medical Imaging Interaction Toolkit (MITK)
Copyright (c) German Cancer Research Center,
Division of Medical and Biological Informatics.
All rights reserved.
This software is distributed WITHOUT ANY WARRANTY; without
even the imp... |
<commit_before>/*
This file is part of Magnum.
Copyright © 2010, 2011, 2012, 2013, 2014, 2015
Vladimír Vondruš <[email protected]>
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the "Software"),
to deal... |
<commit_before><commit_msg>Planning: some minor bug fixes.<commit_after><|endoftext|> |
<commit_before>/*
* Copyright 2015 - 2018 [email protected]
*
* 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/.
*/
#pragma once
#include <ox/std/std.hpp>
namespa... |
<commit_before>// Copyright 2018 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "flutter/fml/file.h"
#include <Shlwapi.h>
#include <sstream>
#include "flutter/fml/platform/win/wstring_conversion.h"
namespace... |
<commit_before>//
//
// Description: This file is part of FET
//
//
// Author: Lalescu Liviu <Please see http://lalescu.ro/liviu/ for details about contacting Liviu Lalescu (in particular, you can find here the e-mail address)>
// Copyright (C) 2005 Liviu Lalescu <http://lalescu.ro/liviu/>
//
/*************************... |
<commit_before>//IBM_PROLOG_BEGIN_TAG
//IBM_PROLOG_END_TAG
//--------------------------------------------------------------------
// Includes
//--------------------------------------------------------------------
#include <Instruction.H>
#include <arpa/inet.h>
#include <stdio.h>
#include <string.h>
#include <sstream... |
<commit_before>#include "geodrawer_plugin.h"
#include "geodrawer.h"
#include <qqml.h>
#include "geometries.h"
#include "iooptions.h"
#include "drawerfactory.h"
#include "selectiondrawer.h"
void GeodrawerPlugin::registerTypes(const char *uri)
{
// @uri n52.org.ilwisobjects
qmlRegisterType<GeoDrawer>(uri, 1, 0... |
<commit_before>/** @date 2015
@author
Sensics, Inc.
<http://sensics.com/osvr>
*/
// Copyright 2015 Vuzix Corporation.
//
// 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
//
// ... |
<commit_before>/****************************************************************************
**
** Copyright (C) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
** All rights reserved.
** Contact: Nokia Corporation ([email protected])
**
** This file is part of the Qt Script Generator project on Qt Labs.
**
**... |
<commit_before><commit_msg>Add the initial template of the first part of question 3.7<commit_after><|endoftext|> |
<commit_before>#include "Logging.h"
#include "WebInterface.h"
#include <string.h>
#include <stdio.h>
#include <list>
#include <sstream>
#include "JSON.h"
#include <stdlib.h>
using namespace Dumais::WebServer;
WebInterface::WebInterface(int port,RESTInterface *pRESTInterface, WebNotificationEngine *pWebNotificationEng... |
<commit_before>/* Copyright (c) 2016, the Cap authors.
*
* This file is subject to the Modified BSD License and may not be distributed
* without copyright and license information. Please refer to the file LICENSE
* for the text and further information on this license.
*/
#define BOOST_TEST_MODULE EnergyStorageDev... |
<commit_before>/*
* Copyright (c) 2010-2016, MIT Probabilistic Computing Project
*
* Lead Developers: Dan Lovell and Jay Baxter
* Authors: Dan Lovell, Baxter Eaves, Jay Baxter, Vikash Mansinghka
* Research Leads: Vikash Mansinghka, Patrick Shafto
*
* Licensed under the Apache License, Version 2.0 (the "Licens... |
<commit_before>/******************************************************************************
* This file is part of the Gluon Development Platform
* Copyright (c) 2009 Dan Leinir Turthra Jensen <[email protected]>
* Copyright (c) 2010 Arjen Hiemstra <>
*
* This library is free software; you can redistribute it and... |
<commit_before>/* This file is part of Zanshin
Copyright 2014 Kevin Ottens <[email protected]>
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License as
published by the Free Software Foundation; either version 2 of
the License or (at your ... |
<commit_before>/*
* This file is part of `et engine`
* Copyright 2009-2013 by Sergey Reznik
* Please, do not modify content without approval.
*
*/
#include <et/core/objectscache.h>
#include <et/geometry/geometry.h>
#include <et/rendering/rendercontext.h>
#include <et/opengl/openglcaps.h>
#include <et/t... |
<commit_before>/*
gpe_scene_particle_class.cpp
This file is part of:
GAME PENCIL ENGINE
https://create.pawbyte.com
Copyright (c) 2014-2020 Nathan Hurde, Chase Lee.
Copyright (c) 2014-2020 PawByte LLC.
Copyright (c) 2014-2020 Game Pencil Engine contributors ( Contributors Page )
Permission is hereby granted,... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.