text stringlengths 54 60.6k |
|---|
<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.
// Tests for the Command Buffer Helper.
#include "base/at_exit.h"
#include "base/callback.h"
#include "base/message_loop.h"
#include "... |
<commit_before>#include <dlfcn.h>
#include <cassert>
#include <fstream>
#include <zmq.hpp>
#include <quidpp.h>
#include <package.h>
#include <Python.h>
#include "common/util.h"
#include "ace/interface.h"
#include "protoc/processjob.pb.h"
#include "dirent.h"
#include "wal.h"
#include "exec.h"
#include "ace/config.h"
#in... |
<commit_before>/* Description: A simple command shell */
/* Created by: David / 13513019
Gerry Kastogi / 13513011
Jessica Andjani / 13513086
*/
/*** Compile instruction: g++ shell.cpp -o shell -lreadline ***/
#include "shellfunc.h" //Self-made
using namespace std;
string NextToken(string temp, int &i){
str... |
<commit_before>#pragma once
//=====================================================================//
/*! @file
@brief VS1063 VLSI Audio Codec ドライバー
@author 平松邦仁 (hira@rvf-rc45.net)
*/
//=====================================================================//
#include <cstdint>
#include "G13/port.hpp"
#include "common... |
<commit_before>/*******************************************************************************
* Copyright (c) 2009-2014, MAV'RIC Development Team
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions ar... |
<commit_before>/********************************************************************
* Copyright © 2017 Computational Molecular Biology Group, *
* Freie Universität Berlin (GER) *
* *
* This file is part of R... |
<commit_before>#ifndef SLICE_HPP
#define SLICE_HPP
#include "iterbase.hpp"
#include <iterator>
#include <type_traits>
#include <initializer_list>
namespace iter {
//Forward declarations of Slice and slice
//template <typename Container, typename DifferenceType>
//class Slice;
//template <typename ... |
<commit_before>// Copyright (c) 2011,2015, Robert Escriva
// 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>#include <cstdlib>
#include <cstdio>
#include <cstdint>
#include <cstring>
#include <cassert>
#include <algorithm>
#include <memory>
#ifdef WITH_RUNTIME_STATS
# include "runtime_stats.cpp" // must be included before anything else
#endif
#include "input_data.cpp"
#include "quicksort-all.cpp"
#include "... |
<commit_before>/* Copyright (C) 2002 MySQL AB
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 option) any later version.
This program is d... |
<commit_before>
#include <iostream>
#include <vector>
using namespace std;
int main() {
vector<int> v{};
cout << "Initial Capacity: " << v.capacity() << endl;
for(int i = 0;i < 100;i++) {
v.push_back(i);
cout << "Capacity: " << v.capacity() << endl;
}
return 0;
}
<commit_msg>Adding reserve() to vector capac... |
<commit_before>/*
* Copyright (c) 2008-2018 the MRtrix3 contributors.
*
* 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/
*
* MRtrix3 is distributed in the hope that... |
<commit_before>#include <apfMesh.h>
#include <gmi_null.h>
#include <apfMDS.h>
#include <apfMesh2.h>
#include <PCU.h>
#include <apf.h>
void testTriEdge()
{
gmi_model* model = gmi_load(".null");
apf::Mesh2* m = apf::makeEmptyMdsMesh(model, 2, false);
apf::MeshEntity* v[3];
for (int i = 0; i < 3; ++i)
v[i] = ... |
<commit_before>/*
* Copyright (C) 2016 deipi.com LLC and contributors. All rights reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to
* deal in the Software without restriction, including without limit... |
<commit_before>/* parse_bam.cc -- Example BAM parser using the htslib API
Copyright (c) 2015, Washington University
Author: Avinash Ramu <avinash3003@yahoo.co.in>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software")... |
<commit_before>/***************************************************************************
copyright : (C) 2010 by Alex Novichkov
email : novichko@atnet.ru
copyright : (C) 2006 by Lukáš Lalinský
email : lalinsky@gmail.com
(... |
<commit_before>#include "ArmatureData.h"
#include "UserData.h"
#include "DragonBonesData.h"
#include "ConstraintData.h"
#include "DisplayData.h"
#include "AnimationData.h"
DRAGONBONES_NAMESPACE_BEGIN
void ArmatureData::_onClear()
{
for (const auto action : defaultActions)
{
action->returnToPool();
... |
<commit_before>//
// gsl-lite is based on GSL: Guidelines Support Library,
// https://github.com/microsoft/gsl
//
// Copyright (c) 2015 Martin Moene
// Copyright (c) 2015 Microsoft Corporation. All rights reserved.
//
// This code is licensed under the MIT License (MIT).
//
// THE SOFTWARE IS PROVIDED "AS IS", WITH... |
<commit_before>/*
* Copyright (c) 2008-2018 the MRtrix3 contributors.
*
* 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/
*
* MRtrix3 is distributed in the hope that... |
<commit_before>/*
-----------------------------------------------------------------------------
This source file is part of OGRE
(Object-oriented Graphics Rendering Engine)
For the latest info, see http://www.ogre3d.org/
Copyright (c) 2000-2009 Torus Knot Software Ltd
Permission is hereby granted, free of charge, to ... |
<commit_before>/*
* Fonction
* ~~~~~~~~
* Gestion des extensions sous OpenGL
*
*
* Attention:
* ~~~~~~~~~~~
* Ce package a ete teste sur SGI, OSF, SUN, HP et WNT.
*
* Remarques:
* ~~~~~~~~~~~
* Le InitExtensionGLX permet d'initialiser le display. Ceci est necessaire
* pour travailler sur les extensio... |
<commit_before>#ifndef CAFFE_OPTIMIZATION_SOLVER_HPP_
#define CAFFE_OPTIMIZATION_SOLVER_HPP_
#include <string>
#include <vector>
#include "caffe/net.hpp"
namespace caffe {
template <typename Dtype>
class Solver {
public:
explicit Solver(const SolverParameter& param);
explicit Solver(const string& param_file);
... |
<commit_before>/******************************************************************************
* _ _____ __________ *
* | | / / _ | / __/_ __/ Visibility *
* | |/ / __ |_\ \ / / Across ... |
<commit_before>/**
* \file dcs/testbed/libvirt/virtual_machine_manager.hpp
*
* \brief Libvirt-based Virtual Machine Manager.
*
* \author Marco Guazzone (marco.guazzone@gmail.com)
*
* <hr/>
*
* Copyright 2012 Marco Guazzone (marco.guazzone@gmail.com)
*
* Licensed under the Apache License, Version 2.0 (the "Li... |
<commit_before>// Copyright (c) 2016, LAAS-CNRS
// Authors: Joseph Mirabel (joseph.mirabel@laas.fr)
//
// This file is part of hpp-pinocchio.
// hpp-pinocchio 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 Found... |
<commit_before>/* File: BinaryFileFactory.cpp
* Desc: This file contains the implementation of the factory function
* BinaryFile::getInstanceFor(), and also BinaryFile::Load()
*
* This function determines the type of a binary and loads the appropriate
* loader class dynamically.
*/
#include "BinaryFile.h"
#inclu... |
<commit_before>//=======================================================================
// Distributed under the MIT License.
// (See accompanying file LICENSE or copy at
// http://opensource.org/licenses/MIT)
//=======================================================================
#ifndef WORD_SPOTTER_CONFIG_THIRD... |
<commit_before>/*----------------------------------------------------------------------------*/
/* Copyright (c) FIRST 2014. 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>#include "meanfield.h"
#include "solvers.h"
double timer;
// Catch errors
static void erfunc(char *err) {
mexErrMsgTxt(err);
}
void mexFunction(int nlhs, /* number of expected outputs */
mxArray *plhs[], /* mxArray output pointer array */
int nrhs, /* num... |
<commit_before>/*
* #%L
* %%
* Copyright (C) 2011 - 2017 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>#include <stdio.h>
#include <string.h>
#include "I2PEndian.h"
#include <fstream>
#include <boost/lexical_cast.hpp>
#include <cryptopp/sha.h>
#include <cryptopp/dsa.h>
#include "CryptoConst.h"
#include "base64.h"
#include "Timestamp.h"
#include "Log.h"
#include "RouterInfo.h"
#include "RouterContext.h"
... |
<commit_before>// Copyright (c) 2017 CNRS
// Authors: Joseph Mirabel
//
// This file is part of hpp-core
// hpp-core 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
// 3 of the License,... |
<commit_before>/*
* Part of HTTPP.
*
* Distributed under the 3-clause BSD licence (See LICENCE.TXT file at the
* project root).
*
* Copyright (c) 2014 Thomas Sanchez. All rights reserved.
*
*/
#ifndef HTTPP_HTTP_PROTOCOL_HPP_
# define HTTPP_HTTP_PROTOCOL_HPP_
# include <string>
namespace HTTPP
{
namespace H... |
<commit_before>#ifndef __BIGNUMS_HH_
#define __BIGNUMS_HH_
/// Extra support for bignums
#include <ikos_domains/bignums.hpp>
namespace llvm_ikos
{
using namespace ikos;
std::string toStr (z_number n)
{
std::ostringstream s;
s << n;
return s.str ();
}
}
#endif
<commit_msg>[FIX] mark toStr() inli... |
<commit_before>/*******************************************************************************
* ALMA - Atacama Large Millimiter Array
* (c) Associated Universities Inc., 2005
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as p... |
<commit_before>/*************************************************************************
*
* Copyright (c) 2012 Kohei Yoshida
*
* 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
... |
<commit_before>/*=============================================================================
Library: CTK
Copyright (c) German Cancer Research Center,
Division of Medical and Biological Informatics
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compl... |
<commit_before>/*
The MIT License (MIT)
Copyright (c) 2014 Conrado Miranda
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, cop... |
<commit_before>/*
* This file is open source software, licensed to you under the terms
* of the Apache License, Version 2.0 (the "License"). See the NOTICE file
* distributed with this work for additional information regarding copyright
* ownership. You may not use this file except in compliance with the License.... |
<commit_before>// 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 or agreed to in writing, software
// ... |
<commit_before>////////////////////////////////////////////////////////////////////////////////
//
// Copyright 2006 - 2015, Paul Beckingham, Federico Hernandez.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to... |
<commit_before>/*******************************************************************************
Taichi - Physically based Computer Graphics Library
Copyright (c) 2016 Yuanming Hu <yuanmhu@gmail.com>
All rights reserved. Use of this source code is governed by
the MIT license as written in the LICENSE f... |
<commit_before>/*!
\file hashlog.cpp
\brief Hash logs reader definition
\author Ivan Shynkarenka
\date 13.12.2021
\copyright MIT License
*/
#include "logging/record.h"
#include "logging/layouts/hash_layout.h"
#include "logging/layouts/text_layout.h"
#include "logging/version.h"
#include "../source... |
<commit_before>/*
* Copyright (C) 2009, 2010, Gostai S.A.S.
*
* This software is provided "as is" without warranty of any kind,
* either expressed or implied, including but not limited to the
* implied warranties of fitness for a particular purpose.
*
* See the LICENSE file for more information.
*/
#ifndef LIBP... |
<commit_before>#include <clang-c/Index.h>
#include <cstdio>
#include <iostream>
#include <vector>
namespace {
const unsigned int indent_spaces = 4;
}
CXCursor tu_cursor;
struct client_data
{
CXTranslationUnit tu;
std::vector<CXCursor> current_namespaces;
CXCursor current_struct;
};
std::pair<CXTok... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: color.hxx,v $
*
* $Revision: 1.3 $
*
* last change: $Author: rt $ $Date: 2008-02-19 13:11:43 $
*
* The Contents of this file are made ava... |
<commit_before>/**
*Implement wildcard pattern matching with support for '?' and '*'.
*'?' Matches any single character. '*' Matches any sequence of
*characters (including the empty sequence).
*The matching should cover the entire input string (not partial).
*The function prototype should be:
* bool isMatch(cons... |
<commit_before>#include <bts/blockchain/asset_operations.hpp>
#include <bts/blockchain/chain_interface.hpp>
#include <bts/blockchain/exceptions.hpp>
namespace bts { namespace blockchain {
bool create_asset_operation::is_power_of_ten( uint64_t n )
{
switch( n )
{
case 1ll:
case 10ll... |
<commit_before>/*
* Copyright (C) 2014 Pavel Kirienko <pavel.kirienko@gmail.com>
*/
#ifndef UAVCAN_BUILD_CONFIG_HPP_INCLUDED
#define UAVCAN_BUILD_CONFIG_HPP_INCLUDED
/**
* UAVCAN version definition
*/
#define UAVCAN_VERSION_MAJOR 0
#define UAVCAN_VERSION_MINOR 1
/**
* UAVCAN_CPP_VERSION - version of the C... |
<commit_before>/************************************************
* map_iterator.hpp
* ESA++
*
* Copyright (c) 2014, Chi-En Wu
* Distributed under The BSD 3-Clause License
************************************************/
#ifndef ESAPP_MAP_ITERATOR_HPP_
#define ESAPP_MAP_ITERATOR_HPP_
#include <type_traits>
... |
<commit_before>/******************************************************************************
nomlib - C++11 cross-platform game engine
Copyright (c) 2013, 2014 Jeffrey Carpenter <i8degrees@gmail.com>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitt... |
<commit_before>
#include <QDebug>
#include <QtCore/QString>
#include <QtTest/QtTest>
#include <QtConcurrentRun>
#include "libsshqtclient.h"
#include "libsshqtprocess.h"
//=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
// TestCaseBase
//=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-... |
<commit_before>#ifndef _INCLUDED_ENV_HPP
#define _INCLUDED_ENV_HPP
#include <map>
#include <set>
#include <vector>
#include <string>
#include <sstream>
#include <stdexcept>
#include <boost/utility/string_ref.hpp>
#include <boost/lexical_cast.hpp>
namespace tudocomp {
/// Local environment for a compression/encoding... |
<commit_before>
#include <html5.hpp>
#include <fstream>
#include <iostream>
#include <boost/locale.hpp>
const char msg_usage[] = "\nusage : %s <html file name> <selector>\n\n";
void callback(std::shared_ptr<html::dom>)
{}
int main(int argc, char *argv[])
{
if (argc < 3)
{
if (argc > 0)
printf(msg_usage, ar... |
<commit_before>/*
Copyright (c) 2008, Arvid Norberg
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 list of condi... |
<commit_before>#include "../kontsevich_graph_series.hpp"
#include <ginac/ginac.h>
#include <iostream>
#include <fstream>
#include "../util/continued_fraction.hpp"
#include <Eigen/Dense>
#include <Eigen/SparseCore>
#include <Eigen/SparseQR>
#include <Eigen/OrderingMethods>
using namespace std;
using namespace GiNaC;
ty... |
<commit_before>#ifndef V_SMC_SAMPLER_HPP
#define V_SMC_SAMPLER_HPP
#include <map>
#include <stdexcept>
#include <string>
#include <vector>
#include <gsl/gsl_cblas.h>
#include <boost/function.hpp>
#include <vDist/rng/gsl.hpp>
#include <vDist/tool/buffer.hpp>
#include <vSMC/history.hpp>
#include <vSMC/monitor.hpp>
#incl... |
<commit_before>#include <chrono>
#include <iostream>
#include <memory>
#include <string.h>
#include "../lcd/LcdDisplay.h"
#include "../src2/HealthStatus.h"
using namespace std;
using namespace std::chrono;
int main() {
unique_ptr<LcdDisplay> lcd(LcdDisplay::getLcdDisplayInstance());
lcd->init();
StatusInf... |
<commit_before>/*
Flexisip, a flexible SIP proxy server with media capabilities.
Copyright (C) 2010-2015 Belledonne Communications SARL, All rights reserved.
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 S... |
<commit_before>#include <algorithm>
#include <ctime>
#include <functional>
#include <map>
#include <memory>
#include "BrickCache.h"
#include "Controller/StackTimer.h"
namespace tuvok {
// This is used to basically get rid of a type. You can do:
// std::vector<TypeErase> data;
// std::vector<uint8_t> foo;
// st... |
<commit_before>#include <cmath>
#include <iostream>
#include <valarray>
#include "nbody.hpp"
/*
* TODO:
* parse input file / arguments
*/
int main(int argc, char *argv[]) {
// number of bodies
//const int n = 2;
const int n = 3;
// time step
double dt = 1e-5;
int steps = 2e5;
// m... |
<commit_before>#include "indexer/feature_meta.hpp"
#include "std/algorithm.hpp"
#include "std/target_os.hpp"
namespace feature
{
namespace
{
char constexpr const * kBaseWikiUrl =
#ifdef OMIM_OS_MOBILE
".m.wikipedia.org/wiki/";
#else
".wikipedia.org/wiki/";
#endif
} // namespace
string Metadata::GetWikiURL()... |
<commit_before>////////////////////////////////////////////////////////////////////////////////
/// @brief Class to allow simple byExample matching of mptr.
///
/// @file
///
/// DISCLAIMER
///
/// Copyright 2014-2015 ArangoDB GmbH, Cologne, Germany
/// Copyright 2004-2014 triAGENS GmbH, Cologne, Germany
///
/// Licens... |
<commit_before>/*
* Copyright 2014-2016 CyberVision, 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 a... |
<commit_before>/*The MIT License (MIT)
Copyright (c) 2014 Johannes Häggqvist
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, c... |
<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 Mobility Components.
**
** $QT_BEGIN_LICENSE:LG... |
<commit_before>//////////////////////////////////////////////////////////////////////////
//
// SneezyMUD - All rights reserved, SneezyMUD Coding Team
//
//////////////////////////////////////////////////////////////////////////
#include "stdsneezy.h"
#include "combat.h"
bool TBeing::canDisarm(TBeing *victim, silent... |
<commit_before>/*************************************************************************
*
* $RCSfile: svxdlg.cxx,v $
*
* $Revision: 1.2 $
*
* last change: $Author: rt $ $Date: 2004-01-05 11:33:42 $
*
* The Contents of this file are made available subject to the terms of
* either of the following license... |
<commit_before>/* IBM_PROLOG_BEGIN_TAG */
/* This is an automatically generated prolog. */
/* */
/* $Source: src/import/chips/p9/procedures/hwp/nest/p9_rng_init_phase2.C $... |
<commit_before>/*===========================================================================*\
|
| FILE: frame_mod.cpp
| A simple modifier that gets mapping coordinates from
| the UVW Frame helper object
| 3D Studio MAX R3.0
|
| AUTH: Diego A. Castao
| Mankua
| Copyright(c) Mankua 2001
|
| H... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: grfitem.cxx,v $
*
* $Revision: 1.9 $
*
* last change: $Author: obo $ $Date: 2006-09-17 05:20:12 $
*
* The Contents of this file are made ... |
<commit_before><commit_msg>remove obsolete SetContent/GetContent functions<commit_after><|endoftext|> |
<commit_before>#include "ofApp.h"
//--------------------------------------------------------------
void ofApp::setup() {
// Screen
ofSetWindowTitle("beeeeeeeer");
ofBackground(255);
// Font
mainFont.loadFont("font/Ostrich.ttf", 40);
subFont.loadFont("font/Ostrich.ttf", 25);
... |
<commit_before>#include "ofApp.h"
//--------------------------------------------------------------
void ofApp::setup()
{
ofSetLogLevel(OF_LOG_VERBOSE);
ofSetLogLevel("ofThread", OF_LOG_ERROR);
ofSetVerticalSync(false);
ofEnableAlphaBlending();
doDrawInfo = true;
consoleListener.setup(this);
... |
<commit_before>/*************************************************************************
*
* $RCSfile: filenotation.hxx,v $
*
* $Revision: 1.2 $
*
* last change: $Author: obo $ $Date: 2004-03-19 12:26:08 $
*
* The Contents of this file are made available subject to the terms of
* either of the following ... |
<commit_before>/*
* (C) Copyright 2015 ETH Zurich Systems Group (http://www.systems.ethz.ch/) and others.
*
* 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/... |
<commit_before>// Copyright (c) 2013 GitHub, Inc.
// Use of this source code is governed by the MIT license that can be
// found in the LICENSE file.
#include "atom/browser/ui/message_box.h"
#include <windows.h>
#include <commctrl.h>
#include <map>
#include <vector>
#include "atom/browser/browser.h"
#include "atom/... |
<commit_before>// Copyright (c) 2014 GitHub, Inc.
// Use of this source code is governed by the MIT license that can be
// found in the LICENSE file.
#include "atom/browser/ui/win/notify_icon.h"
#include <shobjidl.h>
#include "atom/browser/ui/win/notify_icon_host.h"
#include "base/md5.h"
#include "base/strings/strin... |
<commit_before>/*
* Copyright (c) 2003-2009, John Wiegley. 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>/*************************************************************************
*
* $RCSfile: edws.cxx,v $
*
* $Revision: 1.4 $
*
* last change: $Author: kz $ $Date: 2004-05-18 14:03:33 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
... |
<commit_before>#include "ShaderCompiler.h"
#include <cassert>
#include <iostream>
#include <vector>
#include <algorithm>
#include <QDebug>
#include <QJsonArray>
#include <QJsonObject>
#include <QJsonDocument>
#include <iozeug/filename.h>
#include <iozeug/directorytraversal.h>
#include <glbinding/gl/functions.h>
#... |
<commit_before>/*************************************************************************
* UrBackup - Client/Server backup system
* Copyright (C) 2011 Martin Raiber
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published ... |
<commit_before>///
/// @file print.cpp
///
/// Copyright (C) 2019 Kim Walisch, <kim.walisch@gmail.com>
///
/// This file is distributed under the BSD License. See the COPYING
/// file in the top level directory.
///
#include <print.hpp>
#include <primecount-internal.hpp>
#include <int128_t.hpp>
#include <stdint.h>
#... |
<commit_before>/**************************************************************************
**
** This file is part of Qt Creator
**
** Copyright (c) 2012 Nokia Corporation and/or its subsidiary(-ies).
**
** Contact: Nokia Corporation (qt-info@nokia.com)
**
**
** GNU Lesser General Public License Usage
**
** This file m... |
<commit_before>/*
* Copyright (C) 2015 Cloudius Systems, Ltd.
*/
#pragma once
#include "core/reactor.hh"
#include "core/iostream.hh"
#include "core/distributed.hh"
#include "core/print.hh"
#include "core/sstring.hh"
#include "net/api.hh"
#include "util/serialization.hh"
#include "gms/inet_address.hh"
#include "rpc/... |
<commit_before>#include "scene_editor_gizmo_collection.h"
#include "gizmos/scripting/scripting_gizmo.h"
#include "gizmos/translate_gizmo.h"
#include "gizmos/selected_bounds_gizmo.h"
#include "gizmos/selection_box_gizmo.h"
#include "halley/core/graphics/camera.h"
using namespace Halley;
SceneEditorGizmoCollection::Sce... |
<commit_before><commit_msg>Optimize debug line buffer resizing<commit_after><|endoftext|> |
<commit_before>/*
* Copyright 2009-2011 The VOTCA Development Team (http://www.votca.org)
* ... |
<commit_before>class AliAnalysisGrid;
void RunAnalysisITS() {
//
// Macro to analyze ESDs from raw data reconstruction
// A.Dainese, andrea.dainese@pd.infn.it
//
//gSystem->Setenv("alien_CLOSE_SE","ALICE::CNAF::SE");
gSystem->SetIncludePath("-I. -I$ROOTSYS/include -I$ALICE_ROOT -I$ALICE_ROOT/include -I$AL... |
<commit_before>#include "StableHeaders.h"
#include "EC_ParticleSystem.h"
#include "ModuleInterface.h"
#include "Entity.h"
#include "Renderer.h"
#include "EC_OgrePlaceable.h"
#include "OgreParticleResource.h"
#include "SceneManager.h"
#include "OgreRenderingModule.h"
#include "RexUUID.h"
#include "LoggingFunctions.h"
... |
<commit_before>#include "math.hpp"
#include "util.hpp"
#include "muglm/matrix_helper.hpp"
#include "muglm/muglm_impl.hpp"
#include "memory_mapped_texture.hpp"
using namespace muglm;
using namespace Granite;
using namespace Granite::SceneFormats;
// Shameless copy-pasta from learnopengl.com. :)
static float RadicalIn... |
<commit_before>/*
* SessionBuildEnvironment.cpp
*
* 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>/***********************************************************************
filename: CEGUIOpenGLGLXPBTextureTarget.cpp
created: Sat Jan 31 2009
author: Paul D Turner
*************************************************************************/
/********************************************... |
<commit_before>/*
* Copyright(c) Sophist Solutions, Inc. 1990-2014. All rights reserved
*/
#include "Stroika/Frameworks/StroikaPreComp.h"
#include <iostream>
#include "Stroika/Foundation/Characters/Format.h"
#include "Stroika/Foundation/DataExchange/JSON/Writer.h"
#include "Stroika/Foundation/Execut... |
<commit_before>/*
* Copyright 2013 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/extensions/virtual_keyboard_browsertest.h"
#include <vector>
#include "ash/shell.h"
#include "bas... |
<commit_before>#include <QObject>
#include <QGraphicsSceneMouseEvent>
#include "dcpappletplugin.h"
#include "ut_dcpappletplugin.h"
#include "dcpappletplugin_p.h"
#include "qpluginloader-fake.h"
#include "dcpappletmetadata-fake.h"
void Ut_DcpAppletPlugin::init()
{
}
void Ut_DcpAppletPlugin::cleanup()
{
delete m... |
<commit_before>/*
* Copyright(c) Sophist Solutions, Inc. 1990-2014. All rights reserved
*/
#include "../StroikaPreComp.h"
#include <cstdarg>
#include <cstdlib>
#include <iomanip>
#include <limits>
#include <sstream>
#include "../Containers/Common.h"
#include "../Debug/Assertions.h"
#include... |
<commit_before>// =============================================================================
// PROJECT CHRONO - http://projectchrono.org
//
// Copyright (c) 2014 projectchrono.org
// All right reserved.
//
// Use of this source code is governed by a BSD-style license that can be found
// in the LICENSE file at the ... |
<commit_before>/*=========================================================================
Program: Insight Segmentation & Registration Toolkit
Module: itkDummyImageToListAdaptorTest.cxx
Language: C++
Date: $Date$
Version: $Revision$
Copyright (c) 2002 Insight Consortium. All rights reserved.... |
<commit_before>#include <iostream>
#include <unistd.h>
#include <string>
#include <vector>
#include <sys/types.h>
#include <sys/wait.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <pwd.h>
using namespace std;
bool inside = false;
void handler(int signu... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.