text stringlengths 54 60.6k |
|---|
<commit_before>//===-- MipsMCCodeEmitter.cpp - Convert Mips Code to Machine Code ---------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------... |
<commit_before>#include <dropwhile.hpp>
#include "helpers.hpp"
#include <vector>
#include <string>
#include <iterator>
#include "catch.hpp"
using iter::dropwhile;
using Vec = const std::vector<int>;
TEST_CASE("dropwhile: skips initial elements", "[dropwhile]") {
Vec ns{1,2,3,4,5,6,7,8};
auto d = dropwhile... |
<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>/*
* DefaultPatternMatchCB.cc
*
* Copyright (C) 2008,2009,2014 Linas Vepstas
*
* Author: Linas Vepstas <linasvepstas@gmail.com> February 2008
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License v3 as
* published ... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: AIndexes.hxx,v $
*
* $Revision: 1.9 $
*
* last change: $Author: obo $ $Date: 2006-07-10 14:34:14 $
*
* The Contents of this file are made... |
<commit_before>#pragma once
//
// Retains no ownership over the object
//
template <class T>
struct Out {
explicit Out(T& obj) : _obj(obj) {
}
T& operator*() {
return _obj;
}
T* operator->() {
return &_obj;
}
private:
T& _obj;
};
template <class T>
Out<T> out(T& obj) {
return Out<T>(obj);
}<... |
<commit_before>// Chapter 26, exercise 11: time the sum example from 26.6 with m being square
// matrices with dimensions 100, 10,000, 1,000,000 and 10,000,000. Use random
// elements in the range [-10:10). Rewrite the calculation of v to use a more
// efficient (not O(N^2)) algorithm and compare timings.
//
// Dimensi... |
<commit_before>/****************************************************************************
**
** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
** All rights reserved.
** Contact: Nokia Corporation (qt-info@nokia.com)
**
** This file is part of the Qt Creator.
**
** $QT_BEGIN_LICENSE:LGPL$
** No Co... |
<commit_before>#include "VTCriticalSection.h"
#include <pthread.h>
struct VT::CriticalSection::critical_section_data
{
pthread_mutex_t _criticalSection;
};
VT::CriticalSection::CriticalSection() : data( new critical_section_data() )
{
pthread_mutex_init( &data->_criticalSection, NULL );
}
VT::CriticalSection... |
<commit_before>#ifndef STAN_MATH_MIX_MAT_FUNCTOR_FINITE_DIFF_GRAD_HESSIAN_HPP
#define STAN_MATH_MIX_MAT_FUNCTOR_FINITE_DIFF_GRAD_HESSIAN_HPP
#include <stan/math/prim/mat/fun/Eigen.hpp>
#include <vector>
#include <stan/math/rev/core.hpp>
#include <stan/math/mix/mat/functor/hessian.hpp>
namespace stan {
namespace ag... |
<commit_before>/* Copyright 2016-2017 CyberTech Labs Ltd.
*
* 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 app... |
<commit_before>//
// This file is part of the Marble Desktop Globe.
//
// This program is free software licensed under the GNU LGPL. You can
// find a copy of this license in LICENSE.txt in the top directory of
// the source code.
//
// Copyright 2004-2007 Torsten Rahn <tackat@kde.org>
// Copyright 2007 Inge Walli... |
<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/idle.h"
#include "base/basictypes.h"
#if defined(USE_X11)
#include "chrome/browser/idle_query_x11.h"
#endif
... |
<commit_before>/** \file Ex7.cpp
* \brief This example shows how to set and solve the weak form
* of the Boussinesq appoximation of the Navier-Stokes Equation
*
* \f{eqnarray*}
* && \mathbf{V} \cdot \nabla T - \nabla \cdot\alpha \nabla T = 0 \\
* && \mathbf{V} \cdot \nabla \mathbf{V} - \nabla \cdot \nu (\na... |
<commit_before>
#include "CAssetManager.h"
namespace ion
{
void CAssetManager::Init(CGraphicsAPI * GraphicsAPI)
{}
SharedPointer<Graphics::IShaderProgram> CAssetManager::LoadShader(string const & Name)
{
if (! GraphicsAPI)
{
Log::Error("CAssetManager being used without being initialized, Sh... |
<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/nacl/nacl_listener.h"
#include <errno.h>
#include <stdlib.h>
#if defined(OS_POSIX)
#include <unistd.h>
#endif
#incl... |
<commit_before>/*
For more information, please see: http://software.sci.utah.edu
The MIT License
Copyright (c) 2012 Scientific Computing and Imaging Institute,
University of Utah.
License for the specific language governing rights and limitations under
Permission is hereby granted, free of charge, ... |
<commit_before>#include "test.hpp"
#include "libtorrent/socket.hpp"
#include "libtorrent/connection_queue.hpp"
#include "libtorrent/http_connection.hpp"
#include "setup_transfer.hpp"
#include <fstream>
#include <boost/optional.hpp>
using namespace libtorrent;
io_service ios;
connection_queue cq(ios);
int connect_ha... |
<commit_before>#include <bits/stdc++.h>
class TupleOperations
{
public:
std::tuple<int,int> sM(std::tuple<int,int> tupleToOperate,int coff){
std::get<0>(tupleToOperate)*=coff;
std::get<1>(tupleToOperate)*=coff;
return tupleToOperate;
}
std::tuple<double,double> sM(std::tuple<double,double> tupleToOperate,in... |
<commit_before>//=- NSErrorChecker.cpp - Coding conventions for uses of NSError -*- C++ -*-==//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------... |
<commit_before>// Bindings
#include "PyROOT.h"
#include "Adapters.h"
#include "Utility.h"
// ROOT
#include "TInterpreter.h"
#include "TBaseClass.h"
#include "TClass.h"
#include "TClassEdit.h"
#include "TDataType.h"
#include "TDataMember.h"
#include "TMethod.h"
#include "TFunction.h"
#include "TMethodArg.h"
#include "T... |
<commit_before>/*
This file is part of the blog resource.
Copyright (c) 2007 Mike Arthur <mike@mikearthur.co.uk>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation; either
version 2 ... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: appendunixshellword.hxx,v $
*
* $Revision: 1.2 $
*
* last change: $Author: vg $ $Date: 2008-03-18 12:26:45 $
*
* The Contents of this fil... |
<commit_before>/*
*
* Copyright 2017, 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, thi... |
<commit_before><commit_msg>fixed race condition in bandwidth manager<commit_after><|endoftext|> |
<commit_before>/*
Copyright (c) 2009 Stephen Kelly <steveire@gmail.com>
*/
#include "parser.h"
#include <QPluginLoader>
#include <QFile>
#include "interfaces/taglibraryinterface.h"
#include "grantlee.h"
#include "template.h"
#include "templateloader.h"
#include "filter.h"
static const char * __scriptableLibNam... |
<commit_before><commit_msg>cleanup: bios: Avoid duplicates for table pad/checksum<commit_after><|endoftext|> |
<commit_before>/**************************************************************************
* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
* *
* Author: The ALICE Off-line Project. *
... |
<commit_before>#include "base_draw_startmenue.h"
Base_draw_startmenue::Base_draw_startmenue(double *define_srsize_, int *gr_, int draw_x_, int draw_y_, int rota_cx_, int rota_cy_, double rota_radian_,
int *menue_var_, int this_menue_var_) {
p_define_srsize = define_srsize_;
p_gr = gr_;
draw_x = draw_x_;
draw_y ... |
<commit_before><commit_msg>Fix documentation.<commit_after><|endoftext|> |
<commit_before>/*
* Software License Agreement (BSD License)
*
* Copyright (c) 2009, Willow Garage, 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... |
<commit_before>/****************************************************************************
**
** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
** All rights reserved.
** Contact: Nokia Corporation (qt-info@nokia.com)
**
** This file is part of the Qt Mobility Components.
**
** $QT_BEGIN_LICENSE:LG... |
<commit_before>#include "State.h"
#include <iomanip>
#include <ostream>
using namespace nspace;
using namespace std;
namespace nspace{
std::ostream& operator<<(std::ostream & out, const State & state){
int width = 16;
out << std::setw(20)<<"index\\derivative";
out << "||";
for(int i=0;i < stat... |
<commit_before>///
/// @file ParallelPrimeSieve.cpp
/// @brief ParallelPrimeSieve sieves primes in parallel using
/// OpenMP 2.0 (2002) or later.
///
/// Copyright (C) 2013 Kim Walisch, <kim.walisch@gmail.com>
///
/// This file is distributed under the BSD License. See the COPYING
/// file in the top level d... |
<commit_before>/*
* Copyright (c) 2015 WinT 3794 <http://wint3794.org>
*
* 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... |
<commit_before>/*********************************************************************************
* Nelder-Mead Optimierungsalgorithmus. *
* Autor: Sonja Biedermann, a1402891 (Gruppe 7, Team 4) *
* ... |
<commit_before>#include <project.h>
double rad(double angle){
return angle * (PI / 180.0);
}
double stairsLength(double height, double angle){
double distance = height / sin(rad(angle));
return sqrt(pow(distance, 2) - pow(height, 2));
}
double circleArea(double radius){
return PI * pow(radius, 2);
}
... |
<commit_before>/*=========================================================================
Program: Insight Segmentation & Registration Toolkit
Module: ShapeDetectApp.cxx
Language: C++
Date: $Date$
Version: $Revision$
Copyright (c) 2002 Insight Consortium. All rights reserved.
See ITKCopyri... |
<commit_before>#include "csvreader.h"
#include <QFile>
#include <QDateTime>
#include <QString>
#include <QByteArray>
//#include <QTextStream>
#include <QDebug>
//+---------------------------------------------------------------------------+
/*
QTextStream& operator>>( QTextStream &out, Header &header )
{
QString bu... |
<commit_before>/* IBM_PROLOG_BEGIN_TAG */
/* This is an automatically generated prolog. */
/* */
/* $Source: $ ... |
<commit_before>#include <sys/types.h>
#include <sys/errno.h>
#include <fcntl.h>
#include <limits.h>
#include <stdio.h>
#include <unistd.h>
#include <map>
#include <vector>
#include <common/buffer.h>
#include <common/endian.h>
#include <common/limits.h>
#include <common/timer/timer.h>
#include <xcodec/xcodec.h>
#incl... |
<commit_before>//===--- FrontendActions.cpp ----------------------------------------------===//
//
// 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) 2013 Khaled Mammou - Advanced Micro Devices, Inc.
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 u... |
<commit_before>#pragma once
#include <bts/blockchain/chain_database.hpp>
#include <bts/wallet/wallet.hpp>
#include <bts/net/node.hpp>
#include <bts/rpc/rpc_client_api.hpp>
#include <bts/api/common_api.hpp>
#include <bts/rpc_stubs/common_api_client.hpp>
#include <fc/thread/thread.hpp>
#include <fc/log/logger_config.hpp>... |
<commit_before>/* +---------------------------------------------------------------------------+
| The Mobile Robot Programming Toolkit (MRPT) |
| |
| http://www.mrpt.org/ ... |
<commit_before>// Copyright (c) 2013-2014 Flowgrammable.org
//
// 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 a... |
<commit_before>// Copyright (c) 2013-2014 Flowgrammable.org
//
// 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 a... |
<commit_before>#include "FactorizationTest.h"
#include "Utilities.h"
#include "common/SchedulerFactory.h"
#include "elves/common-factorization/BigInt.h"
#include "elves/quadratic_sieve/QuadraticSieve.h"
#include "elves/quadratic_sieve/smp/SmpQuadraticSieveElf.h"
#include "elves/quadratic_sieve/cuda/CudaQuadraticSieveEl... |
<commit_before>/*=========================================================================
Program: Medical Imaging & Interaction Toolkit
Language: C++
Date: $Date: 2009-07-14 19:11:20 +0200 (Tue, 14 Jul 2009) $
Version: $Revision: 18127 $
Copyright (c) German Cancer Research Center, Division of Medical and... |
<commit_before>/*=========================================================================
medInria
Copyright (c) INRIA 2013. All rights reserved.
See LICENSE.txt for details.
This software is distributed WITHOUT ANY WARRANTY; without even
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
... |
<commit_before>/**
* @file SampleSet.cpp
*
* @author <a href="mailto:mellmann@informatik.hu-berlin.de">Heinrich Mellmann</a>
* Implementation of class SampleSet
*/
#include "SampleSet.h"
#include "Tools/Debug/DebugDrawings.h"
#include "Tools/Debug/NaoTHAssert.h"
#include "Tools/Math/Common.h"
void SampleS... |
<commit_before>/*++
Module Name:
snap.cpp
Abstract:
Main entry point for the snap binary. Calls into the indexer, single-end aligner or
paired-end aligner functions defined in other source files in this directory.
Authors:
Matei Zaharia, February, 2012
Environment:
`
User mode service.
Revis... |
<commit_before>/*
* SRT - Secure, Reliable, Transport
* Copyright (c) 2018 Haivision Systems Inc.
*
* 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/.
*
*/
// ST... |
<commit_before>#ifndef _PITO_INTERCEPTOR_JAIL_ENVIRONMENT_HPP_
#define _PITO_INTERCEPTOR_JAIL_ENVIRONMENT_HPP_
#include "config.hpp"
#include <unistd.h>
#include <algorithm>
extern "C" {
extern char **environ;
}
namespace pito { namespace interceptor { namespace jail {
// LD_PRELOAD entry
std::string preload;... |
<commit_before>#include "unittest/gtest.hpp"
#include "unittest/server_test_helper.hpp"
#include "unittest/unittest_utils.hpp"
#include "buffer_cache/large_buf.hpp"
namespace unittest {
struct large_buf_tester_t : public server_test_helper_t {
protected:
static int64_t leaf_bytes(cache_t *cache) {
return ... |
<commit_before>// Copyright 2010-2014 RethinkDB, all rights reserved.
#include "unittest/unittest_utils.hpp"
#include <stdlib.h>
#include <functional>
#include "arch/timing.hpp"
#include "arch/runtime/starter.hpp"
#include "rdb_protocol/datum.hpp"
#include "rdb_protocol/protocol.hpp"
#include "unittest/gtest.hpp"
#i... |
<commit_before>#ifndef SHADOW_UTIL_UTIL_HPP
#define SHADOW_UTIL_UTIL_HPP
#include <algorithm>
#include <cctype>
#include <cfloat>
#include <cmath>
#include <cstring>
#include <fstream>
#include <iomanip>
#include <iostream>
#include <sstream>
#include <stdexcept>
#include <string>
#include <vector>
namespace Util {
... |
<commit_before>// Copyright 2010 Alessio Sclocco <a.sclocco@vu.nl>
//
// 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 requir... |
<commit_before>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <unistd.h>
#include <libelf.h>
#include <gelf.h>
#include <sys/mman.h>
#include <stdio.h>
#include "sandbox.h"
#ifndef EM_MOXIE
#define EM_MOXIE 0xFEED /* Moxie */
#endif // EM_MOXIE
bool loadElfProgram(machine& m... |
<commit_before>#include "vdb_activate_from_points.h"
#include <limits.h>
#include <SYS/SYS_Math.h>
#include <UT/UT_DSOVersion.h>
#include <UT/UT_Interrupt.h>
#include <OP/OP_Operator.h>
#include <OP/OP_OperatorTable.h>
#include <GU/GU_Detail.h>
#include <GEO/GEO_PrimPoly.h>
#include <PRM/PRM_Include.h>
#include <C... |
<commit_before>#ifndef SRC_PORTS_STREAM_SOURCES_STREAM_STATE_HPP_
#define SRC_PORTS_STREAM_SOURCES_STREAM_STATE_HPP_
// std
#include <memory>
namespace fc
{
/**
* Simple StreamSource implementation that holds a stream_state.
* Can be connected to any number of SinkConnections.
* Is a SourceConnection.
*/
templat... |
<commit_before>/*ckwg +5
* Copyright 2011 by Kitware, Inc. All Rights Reserved. Please refer to
* KITWARE_LICENSE.TXT for licensing information, or contact General Counsel,
* Kitware, Inc., 28 Corporate Drive, Clifton Park, NY 12065.
*/
#include "process.h"
#include "process_exception.h"
#include "config.h"
#incl... |
<commit_before>#pragma once
#include <string>
#include <typeinfo>
#include <vector>
#include <functional>
#include <SFML/Graphics.hpp>
#include <kaguya/kaguya.hpp>
#include "DataParser.hpp"
namespace mse
{
namespace System
{
namespace Loaders
{
extern std::function<int(sf::Texture*, std::string)> textureLoa... |
<commit_before>/*
* MultilevelLayouter.cpp
*
* Created on: 27.01.2014
* Author: Henning
*/
#include "MultilevelLayouter.h"
namespace NetworKit {
const count MultilevelLayouter::N_THRSH = 15;
MultilevelLayouter::MultilevelLayouter(Point<float> bottomLeft, Point<float> topRight):
Layouter(bottomLeft, top... |
<commit_before>//
// TcpASIOServer.hh for LibNet in /home/alexmog/projets/LibNet/include
//
// Made by Moghrabi Alexandre
// Login <alexandre.moghrabi@epitech.eu>
//
// Started on Sat Nov 15 18:00:03 2014 Moghrabi Alexandre
// Last update Tue Nov 18 09:28:53 2014 Moghrabi Alexandre
//
/*!
* \file TcpASIOServer.h... |
<commit_before>#include "sani/resource/compiler/resource_writer.hpp"
#include "sani/platform/platform_config.hpp"
#include "sani/platform/file/file_stream.hpp"
#include "sani/resource/compiler/resource_compiler.hpp"
namespace sani {
using namespace io;
namespace resource {
namespace compiler {
// DO NOT CHANGE ... |
<commit_before>/******************************************************************************
* SOFA, Simulation Open-Framework Architecture, development version *
* (c) 2006-2016 INRIA, USTL, UJF, CNRS, MGH *
* ... |
<commit_before>// MIT License
//
// Copyright (c) 2016 Fabian Lschner
//
// 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 ... |
<commit_before><commit_msg>Fixes the issue when right clicking on a text in a scrolled text area results in the wrong word being selected. The solution seems to lie in a tricky webkit hack, which requires the use of point() and localPoint() in different situations.<commit_after><|endoftext|> |
<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 "webkit/glue/plugins/plugin_lib.h"
#include <dlfcn.h>
#include "base/string_util.h"
#include "base/sys_string_conversions.h"... |
<commit_before>#include "RenderSystem/Managers/CBackBufferManager.h"
namespace VKE
{
namespace RenderSystem
{
namespace Managers
{
CBackBufferManager::CBackBufferManager( CGraphicsContext* pCtx ) :
m_pCtx( pCtx )
{
}
CBackBufferM... |
<commit_before>0899c7fc-2e4d-11e5-9284-b827eb9e62be<commit_msg>089ed936-2e4d-11e5-9284-b827eb9e62be<commit_after>089ed936-2e4d-11e5-9284-b827eb9e62be<|endoftext|> |
<commit_before><commit_msg>#i10000# #i81592# warnings = errors<commit_after><|endoftext|> |
<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 "webkit/glue/plugins/plugin_lib.h"
#include <dlfcn.h>
#if defined(OS_OPENBSD)
#include <sys/exec_elf.h>
#else
#include <elf.h... |
<commit_before>0cf61660-2e4e-11e5-9284-b827eb9e62be<commit_msg>0cfb1214-2e4e-11e5-9284-b827eb9e62be<commit_after>0cfb1214-2e4e-11e5-9284-b827eb9e62be<|endoftext|> |
<commit_before>#include <cmath>
#include <cstdlib>
#include <fstream>
#include <iomanip>
#include <iostream>
#include <sstream>
#include <string>
#include <vector>
#include "defs.hh"
#include "conf.hh"
#include "StringSet.hh"
#include "FactorEncoder.hh"
#include "Unigrams.hh"
using namespace std;
void assert_short_... |
<commit_before>#include "../../include/widgets/StationListbox.hpp"
#include <nana/gui/widgets/form.hpp>
StationListbox::StationListbox(nana::form& handle, State::Context context)
: nana::listbox(handle)
, context_(context)
{
this->append_header(context_.localizer_.get_localized_text("Station's name"));
... |
<commit_before>#ifndef G2_FIELD_CORE_INCLUDE_FIELD_STRUCTS_HH_
#define G2_FIELD_CORE_INCLUDE_FIELD_STRUCTS_HH_
/*===========================================================================*\
author: Matthias W. Smith
email: mwsmith2@uw.edu
file: field_constants.hh
about: A header file for constant parameters use... |
<commit_before>//=============================================================================================================
/**
* @file neuromag.cpp
* @author Christoph Dinh <chdinh@nmr.mgh.harvard.edu>;
* Matti Hamalainen <msh@nmr.mgh.harvard.edu>
* @version 1.0
* @date July, 2012
*
* @section ... |
<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 <string>
#include "base/file_path.h"
#include "base/file_util.h"
#include "base/path_service.h"
#include "base/string_ut... |
<commit_before>146d12be-2e4d-11e5-9284-b827eb9e62be<commit_msg>1472256a-2e4d-11e5-9284-b827eb9e62be<commit_after>1472256a-2e4d-11e5-9284-b827eb9e62be<|endoftext|> |
<commit_before>23d07d8a-2e4e-11e5-9284-b827eb9e62be<commit_msg>23d58000-2e4e-11e5-9284-b827eb9e62be<commit_after>23d58000-2e4e-11e5-9284-b827eb9e62be<|endoftext|> |
<commit_before>/*
* AscEmu Framework based on ArcEmu MMORPG Server
* Copyright (c) 2014-2018 AscEmu Team <http://www.ascemu.org>
* Copyright (C) 2008-2012 ArcEmu Team <http://www.ArcEmu.org/>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Pu... |
<commit_before>9c8bbbd2-2e4d-11e5-9284-b827eb9e62be<commit_msg>9c90b448-2e4d-11e5-9284-b827eb9e62be<commit_after>9c90b448-2e4d-11e5-9284-b827eb9e62be<|endoftext|> |
<commit_before><commit_msg>Reverting my previous experiment.<commit_after><|endoftext|> |
<commit_before>/* Copyright 2020 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>3b7c5a2c-2e4d-11e5-9284-b827eb9e62be<commit_msg>3b81676a-2e4d-11e5-9284-b827eb9e62be<commit_after>3b81676a-2e4d-11e5-9284-b827eb9e62be<|endoftext|> |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: MetaTContext.cxx,v $
*
* $Revision: 1.5 $
*
* last change: $Author: hr $ $Date: 2006-06-19 18:53:27 $
*
* The Contents of this file are m... |
<commit_before>a9445cca-2e4e-11e5-9284-b827eb9e62be<commit_msg>a9495306-2e4e-11e5-9284-b827eb9e62be<commit_after>a9495306-2e4e-11e5-9284-b827eb9e62be<|endoftext|> |
<commit_before>#pragma once
/**
@file
@brief operator
@author MITSUNARI Shigeo(@herumi)
@license modified new BSD license
http://opensource.org/licenses/BSD-3-Clause
*/
#include <ios>
#include <cybozu/exception.hpp>
#ifdef _WIN32
#ifndef MCL_FORCE_INLINE
#define MCL_FORCE_INLINE __forceinline
#endif
#pragma ... |
<commit_before>ef28004e-2e4d-11e5-9284-b827eb9e62be<commit_msg>ef2d05e4-2e4d-11e5-9284-b827eb9e62be<commit_after>ef2d05e4-2e4d-11e5-9284-b827eb9e62be<|endoftext|> |
<commit_before>#ifndef __PROCESS_HTTP_HPP__
#define __PROCESS_HTTP_HPP__
#include <string>
namespace process {
namespace http {
struct Request
{
// TODO(benh): Add major/minor version.
std::map<std::string, std::string> headers;
std::string method;
std::string path;
std::string url;
std::string fragment;... |
<commit_before>cfb1c0ec-2e4d-11e5-9284-b827eb9e62be<commit_msg>cfb6afee-2e4d-11e5-9284-b827eb9e62be<commit_after>cfb6afee-2e4d-11e5-9284-b827eb9e62be<|endoftext|> |
<commit_before>#ifndef PROTON_TUPLE_HEADER
#define PROTON_TUPLE_HEADER
/** @file tuple.hpp
* @brief tuple support.
* Please include this header instead of \<tuple\>.
*/
#include <tuple>
#include <algorithm>
#include <iostream>
#include <initializer_list>
#include <algorithm>
#include <stdexcept>
#include <limit... |
<commit_before>d1cbb050-2e4c-11e5-9284-b827eb9e62be<commit_msg>d1d0c400-2e4c-11e5-9284-b827eb9e62be<commit_after>d1d0c400-2e4c-11e5-9284-b827eb9e62be<|endoftext|> |
<commit_before>042f0d8e-2e4e-11e5-9284-b827eb9e62be<commit_msg>043409f6-2e4e-11e5-9284-b827eb9e62be<commit_after>043409f6-2e4e-11e5-9284-b827eb9e62be<|endoftext|> |
<commit_before>d634d580-2e4d-11e5-9284-b827eb9e62be<commit_msg>d639ce64-2e4d-11e5-9284-b827eb9e62be<commit_after>d639ce64-2e4d-11e5-9284-b827eb9e62be<|endoftext|> |
<commit_before>#ifndef RENDERSYSTEM_H
#define RENDERSYSTEM_H
#include "isystem.hpp"
#include <unordered_map>
#include <string>
#include <SDL2/SDL.h>
#include <SDL2/SDL_image.h>
#include <SDL2/SDL_ttf.h>
#include <vector>
#include <unordered_set>
#include <queue>
#include "spatialindexer.hpp"
#include "heap.hpp"
#inclu... |
<commit_before>a764a816-2e4d-11e5-9284-b827eb9e62be<commit_msg>a769a69a-2e4d-11e5-9284-b827eb9e62be<commit_after>a769a69a-2e4d-11e5-9284-b827eb9e62be<|endoftext|> |
<commit_before>7813dff0-2e4d-11e5-9284-b827eb9e62be<commit_msg>7818e0f4-2e4d-11e5-9284-b827eb9e62be<commit_after>7818e0f4-2e4d-11e5-9284-b827eb9e62be<|endoftext|> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.