text stringlengths 54 60.6k |
|---|
<commit_before><commit_msg>Set correct grid color.<commit_after><|endoftext|> |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: tabvwshh.cxx,v $
*
* $Revision: 1.12 $
*
* last change: $Author: kz $ $Date: 2006-07-21 15:18:52 $
*
* The Contents of this file are made... |
<commit_before>/*************************************************************************
* *
* Open Dynamics Engine, Copyright (C) 2001,2002 Russell L. Smith. *
* All rights reserved. Email: russ@q12.org Web: www.q12.org *
* ... |
<commit_before>#include <iostream>;
int main(){
std::cout << "Hello World!";
}<commit_msg>Delete test1.cpp<commit_after><|endoftext|> |
<commit_before>/*
* The MIT License (MIT)
*
* Copyright (c) 2015 Microsoft Corporation
*
* -=- Robust Distributed System Nucleus (rDSN) -=-
*
* 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... |
<commit_before>#pragma once
#ifndef BENCHMARK_HPP_778YQPEJ
#define BENCHMARK_HPP_778YQPEJ
#include <boost/date_time/posix_time/posix_time.hpp>
#include <boost/current_function.hpp>
#include <vector>
#include <string>
#define BENCHMARK(list,exp) \
{ \
benchmark::timer t(&list,#exp,__FILE__,__LINE__,BOOST_CU... |
<commit_before>#include "utils.hpp"
#include "graph_loaders.hpp"
#include <boost/graph/distributed/page_rank.hpp>
#include <boost/graph/small_world_generator.hpp>
#include <boost/graph/erdos_renyi_generator.hpp>
#include <boost/random/linear_congruential.hpp>
#ifndef __ALGORITHM_NAME__
#define __ALGORITHM_NAME__ "Page... |
<commit_before>/// \file ROOT/RError.h
/// \ingroup Base ROOT7
/// \author Jakob Blomer <jblomer@cern.ch>
/// \date 2019-12-11
/// \warning This is part of the ROOT 7 prototype! It will change without notice. It might trigger earthquakes. Feedback
/// is welcome!
/******************************************************... |
<commit_before>/*
* DefinitionIndex.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 Affero Gener... |
<commit_before>/*
* DownloadUI.cpp
*
* Created on: Oct 13, 2011
* Author: siarheirachytski
*/
#include <jni.h>
#include "Framework.hpp"
#include "DownloadUI.hpp"
#include "../jni/jni_thread.hpp"
#include "../../../../../std/bind.hpp"
#include "../../../../../base/logging.hpp"
android::DownloadUI * g_downlo... |
<commit_before><commit_msg>Fix dyn_pmp_h<commit_after><|endoftext|> |
<commit_before>/** \copyright
* Copyright (c) 2016, Balazs Racz
* 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>/* IBM_PROLOG_BEGIN_TAG */
/* This is an automatically generated prolog. */
/* */
/* $Source: chips/p9/procedures/hwp/io/p9_io_gcr.H $ ... |
<commit_before>#include <osg/UnitTestFramework>
#include <osg/ArgumentParser>
#include <osg/ApplicationUsage>
#include <osg/Vec3>
#include <osg/Matrix>
#include <iostream>
void testFrustum(double left,double right,double bottom,double top,double zNear,double zFar)
{
osg::Matrix f;
f.makeFrustum(left,right,bo... |
<commit_before>// math_functions.cpp example showing the supported math functions
//
// Copyright (C) 2017-2018 Stillwater Supercomputing, Inc.
//
// This file is part of the universal numbers project, which is released under an MIT Open Source license.
#include "common.hpp"
#include <complex>
// when you define POSIT... |
<commit_before><commit_msg>realm: fix a dma logging message too<commit_after><|endoftext|> |
<commit_before><commit_msg>INTEGRATION: CWS changefileheader (1.8.8); FILE MERGED 2008/04/01 12:34:15 thb 1.8.8.2: #i85898# Stripping all external header guards 2008/03/31 13:23:53 rt 1.8.8.1: #i87441# Change license header to LPGL v3.<commit_after><|endoftext|> |
<commit_before>/*
* Distributed under the OSI-approved Apache License, Version 2.0. See
* accompanying file Copyright.txt for details.
*
* Sst.cpp
*
* Created on: Aug 17, 2017
* Author: Greg Eisenhauer
*/
#include <adios2/ADIOSMPI.h>
#include <memory>
#include "SstParamParser.h"
#include "SstWriter.h"
... |
<commit_before>/*************************************************************************
*
* $RCSfile: fuprlout.cxx,v $
*
* $Revision: 1.3 $
*
* last change: $Author: dl $ $Date: 2001-05-18 15:10:14 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licen... |
<commit_before>/*************************************************************************
*
* $RCSfile: facreg.cxx,v $
*
* $Revision: 1.4 $
*
* last change: $Author: cl $ $Date: 2002-07-16 08:12:31 $
*
* The Contents of this file are made available subject to the terms of
* either of the following license... |
<commit_before>#include <omp.h>
#include <unistd.h>
#include <cstdlib>
#include <iostream>
#include "bdmAdaptor.h"
#include "cell.h"
using bdm::Cell;
using bdm::Soa;
using bdm::Scalar;
void PrintUsage() {
std::cout
<< "USAGE\n"
<< " ./persistent_sim #cells_per_dim #distance |\n"
<< "\nDESCRIPTIO... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: strucvt.cxx,v $
*
* $Revision: 1.8 $
*
* last change: $Author: rt $ $Date: 2006-05-04 14:52:44 $
*
* The Contents of this file are made a... |
<commit_before>/*
===============================================================================
FILE laszippertest.cpp
CONTENTS
This tool reads and writes point data in the LAS 1.X format compressed
or uncompressed to test the laszipper and lasunzipper interfaces.
PROGRAMMERS
... |
<commit_before><commit_msg>SubMesh::_intersectTriangles: if (position.empty() => early return<commit_after><|endoftext|> |
<commit_before>// Copyright (c) 2021 The Orbit 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 "CodeReport/AnnotateDisassembly.h"
#include <absl/strings/str_split.h>
#include <stdint.h>
namespace orbit_code_report {
stati... |
<commit_before>//---------------------------------------------------------------------------
// $Id$
// Version: $Name$
//
// Copyright (C) 2005, 2006, 2008, 2009 by the deal.II authors
//
// This file is subject to QPL and may not be distributed
// without copyright and license information. Please re... |
<commit_before>// Copyright (C) 2016 Elviss Strazdins
// This file is part of the Ouzel engine.
#include <iostream>
#include <fstream>
#include <string>
#include <sstream>
#include "BMFont.h"
#include "Engine.h"
#include "FileSystem.h"
#include "Vertex.h"
#include "Cache.h"
#include "Utils.h"
namespace ... |
<commit_before>#include "object.hpp"
namespace p0
{
namespace run
{
object::object()
: m_is_marked(false)
, m_is_marked_permanently(false)
{
}
object::~object()
{
}
void object::mark()
{
if (is_marked())
{
return;
}
//mark this object before the children
//to prevent endl... |
<commit_before><commit_msg>do not include non-mask bits in masks<commit_after><|endoftext|> |
<commit_before>// Copyright (c) 2011-present, Facebook, Inc. All rights reserved.
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree. An additional grant
// of patent rights can be found in the PATENTS file in the same directory.
#inc... |
<commit_before>/*
* This file is part of the Electron Orbital Explorer. The Electron
* Orbital Explorer is distributed under the Simplified BSD License
* (also called the "BSD 2-Clause License"), in hopes that these
* rendering techniques might be used by other programmers in
* applications such as scientific visu... |
<commit_before>/*
* Copyright 2006 The Android Open Source Project
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "SkImageEncoderPriv.h"
#ifdef SK_HAS_PNG_LIBRARY
#include "SkColor.h"
#include "SkColorPriv.h"
#include "SkDither.h"
#include "Sk... |
<commit_before>#include <vector>
#include <cmath>
#include "ingameelements/character.h"
#include "gamestate.h"
#include "ingameelements/movingentity.h"
#include "ingameelements/player.h"
#include "global_constants.h"
#include "engine.h"
#include "ingameelements/weapon.h"
Character::Character(uint64_t id_, Gamestate *... |
<commit_before>/*
* Copyright 2007-2017 Content Management AG
* All rights reserved.
*
* author: Max Kellermann <mk@cm4all.com>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* - Redistributions of source... |
<commit_before>/****************************************************************************
**
** Copyright (C) 2015 Marvin Sinister <marvin@sinister.io>
**
** This file is part of small-scope-qt.
**
** small-scope-qt is free software: you can redistribute it and/or modify
** it under the terms of the GNU General Publ... |
<commit_before>#include "mainwindow.h"
#include "ui_mainwindow.h"
#include <QString>
#include "string.h"
//if visual c++
#include <complex>
#define lapack_complex_float std::complex<float>
#define lapack_complex_double std::complex<double>
//#define ADD_
//#define HAVE_LAPACK_CONFIG_H
//#define LAPACK_COMPLEX_STRUCTU... |
<commit_before>#include "mainwindow.h"
#include "ui_mainwindow.h"
#include <QDebug>
MainWindow::MainWindow(QWidget *parent) :
QMainWindow(parent),
ui(new Ui::MainWindow)
{
field = new FootballField;
ui->setupUi(this);
}
MainWindow::~MainWindow()
{
delete field;
delete ui;
}
... |
<commit_before><commit_msg>[sensor] english<commit_after><|endoftext|> |
<commit_before>/*
Copyright (C) 2010 Collabora Ltd. <info@collabora.co.uk>
@author George Kiagiadakis <george.kiagiadakis@collabora.co.uk>
This library is free software; you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published
by the Free Soft... |
<commit_before><commit_msg>Minor doxygen documentation update<commit_after><|endoftext|> |
<commit_before><commit_msg>Updating spacing<commit_after><|endoftext|> |
<commit_before><commit_msg>INTEGRATION: CWS sb19 (1.4.648); FILE MERGED 2004/12/08 19:33:19 sb 1.4.648.3: RESYNC: (1.6-1.7); FILE MERGED 2004/10/11 16:34:22 sb 1.4.648.2: RESYNC: (1.4-1.6); FILE MERGED 2004/10/07 14:21:53 os 1.4.648.1: #110409# static base URL has gone<commit_after><|endoftext|> |
<commit_before>/*** Copyright (c), The University of North Carolina ***
*** For more information please refer to files in the COPYRIGHT directory ***/
/* ixmsg.c - Xmessage communicator */
#include "rodsClient.hpp"
#include "irods_client_api_table.hpp"
#include "irods_pack_table.hpp"
rodsEnv myRodsEnv;
rE... |
<commit_before>/*=========================================================================
Program: Visualization Toolkit
Module: vtkOpenGLPolyDataMapper2D.cxx
Language: C++
Date: $Date$
Version: $Revision$
Copyright (c) 1993-1998 Ken Martin, Will Schroeder, Bill Lorensen.
This software is co... |
<commit_before>/*
Copyright (c) 2005, 2011, Oracle and/or its affiliates.
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; version 2 of the License.
This program is distributed in the ... |
<commit_before>// Copyright 2013 The Chromium Authors. All rights reserved.
// Copyright 2013 Intel Corporation. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ozone/wayland/input_device.h"
#include "base/logging.h"
#include "ozon... |
<commit_before>#include "toyfs.hpp"
#include <cmath>
#include <iostream>
#include <memory>
#include <sstream>
#include <string>
#include <vector>
#include <deque>
using std::cerr;
using std::cout;
using std::endl;
using std::istringstream;
using std::fstream;
using std::make_shared;
using std::shared_ptr;
using std::s... |
<commit_before>#include "dynet/dynet.h"
#include "dynet/exec.h"
#include "dynet/nodes.h"
#include "dynet/param-nodes.h"
#include "dynet/aligned-mem-pool.h"
#include "dynet/dynet-helper.h"
#include "dynet/expr.h"
using namespace std;
namespace dynet {
float* kSCALAR_MINUSONE;
float* kSCALAR_ONE;
float* kSCALAR_ZERO;... |
<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>//
// leaf-node-collada.cpp
// gepetto-viewer
//
// Created by Anthony Couret, Mathieu Geisert in November 2014.
// Copyright (c) 2014 LAAS-CNRS. All rights reserved.
//
#include <sys/stat.h>
#include <fstream>
#include <clocale>
#include <ios>
#include <osgDB/FileNameUtils>
#include <gepetto/viewer... |
<commit_before>#include <ros/ros.h>
#ifndef ROS_HELPERS_HPP
#define ROS_HELPERS_HPP
namespace ROSHelpers
{
template <typename T>
inline T GetParam(ros::NodeHandle& nh, const std::string& param_name, const T& default_val)
{
T param_val;
if (nh.getParam(param_name, param_val))
{
... |
<commit_before>#include <fstream>
#include <iostream>
#include <sstream>
#include "mcc/cfg/cfg.h"
#include "mcc/gas/gas.h"
#include "mcc/lvn/lvn.h"
#include "mcc/main.h"
#include "mcc/tac/tac.h"
using namespace mcc::tac;
using namespace mcc::cfg;
using namespace mcc::lvn;
using namespace mcc::gas;
int main(int argc,... |
<commit_before>//=======================================================================
// Copyright (c) 2014-2017 Baptiste Wicht
// Distributed under the terms of the MIT License.
// (See accompanying file LICENSE or copy at
// http://opensource.org/licenses/MIT)
//===================================================... |
<commit_before>/*
Copyright (c) 2007, 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>/*****************************************************************************
*
* This file is part of Mapnik (c++ mapping toolkit)
*
* Copyright (C) 2015 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>#include <sys/socket.h>
#include <stdlib.h>
#include <unistd.h>
#include <netdb.h>
#include <arpa/inet.h>
#include <iostream>
#include <string>
#include <string.h>
using namespace std;
#define BUFF_SIZE 32
#define MESSAGE_END "\n\n"
#include "Socket.h"
Socket::Socket() {
fd_ = 0;
buffer = ... |
<commit_before>//
// Copyright (c) 2013-2017 Christoph Malek
// See LICENSE for more information.
//
#ifndef RJ_GAME_DEBUG_INFO_HPP
#define RJ_GAME_DEBUG_INFO_HPP
#include <rectojump/core/render.hpp>
#include <rectojump/global/common.hpp>
#include <rectojump/shared/debug_text.hpp>
#include <mlk/tools/compiletime.h>... |
<commit_before>// Copyright (c) 2020 Dr. Colin Hirsch and Daniel Frey
// Please see LICENSE for license or visit https://github.com/taocpp/PEGTL/
#ifndef TAO_PEGTL_CONTRIB_ANALYZE_HPP
#define TAO_PEGTL_CONTRIB_ANALYZE_HPP
#include <cassert>
#include <cstddef>
#include <iostream>
#include <map>
#include <set>
#include... |
<commit_before>// Copyright (C) 2016 Zhe Wang <0x1998@gmail.com>
//
// 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, ... |
<commit_before>#include "Globals.h" // NOTE: MSVC stupidness requires this to be the same across all modules
#include "ChatColor.h"
const std::string cChatColor::Color = "\xc2\xa7"; // or in other words: "§" in UTF-8
const std::string cChatColor::Delimiter = "\xc2\xa7"; // or in other words: "§" in UTF-8
const... |
<commit_before>#include "../include/Core/Game.h"
#include "Core/Player.h"
#include "Network/Server.h"
#include "Core/Derived/Constant.h"
#include "Core/Derived/Creature.h"
#include "Core/Derived/Spell.h"
#include <thread>
#include "boost/thread.hpp"
void Game::Start()
{
cout << "Game started!" << endl;
// Inital ... |
<commit_before>/*!
\file
\author Dane Gardner <dane.gardner@gmail.com>
\version
\section LICENSE
This file is part of the Open|SpeedShop Graphical User Interface
Copyright (C) 2010-2011 Argo Navis Technologies, LLC
This library is free software; you can redistribute it and/or modify it
under t... |
<commit_before>/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/*
* This file is part of the libcdr project.
*
* 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 ht... |
<commit_before>/**
* @file Directory.cpp
* Implementation of a class for accessing directories.
* @author Colin Graf
*/
#include <nstd/Directory.h>
#include <nstd/File.h>
#include <nstd/Debug.h>
#include <cstring>
#ifdef _WIN32
#include <windows.h>
#else
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h... |
<commit_before>#include "DtlsSocket.h"
#include <stdlib.h>
#include "mbedtls/error.h"
#include <stdio.h>
#define mbedtls_printf printf
#define mbedtls_fprintf fprintf
using namespace node;
static void my_debug( void *ctx, int level,
const char *file, int line,
const char *str )
{
((vo... |
<commit_before>#include "EBCReader.h"
#include <cstdio>
#include <sstream>
namespace osgtt {
bool EBCReader::setCRDFile(const std::string& crd) {
char buff[1024];
_vertices = new osg::Vec3Array();
FILE* fp = std::fopen(crd.c_str(), "r");
if(!fp) return false;
char* ptr = 0;
while((ptr = std::fgets(buff, 1... |
<commit_before>/*
* FTGL - OpenGL font library
*
* Copyright (c) 2001-2004 Henry Maddocks <ftgl@opengl.geek.nz>
* Copyright (c) 2008 Sam Hocevar <sam@hocevar.net>
* Copyright (c) 2008 Éric Beets <ericbeets@free.fr>
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this softwa... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: frmhtml.cxx,v $
*
* $Revision: 1.13 $
*
* last change: $Author: obo $ $Date: 2008-02-26 15:06:27 $
*
* The Contents of this file are made... |
<commit_before>#include "Game/Game.h"
#include <string>
#include <optional>
#include <stdexcept>
#include "Players/Player.h"
#include "Game/Board.h"
#include "Game/Clock.h"
#include "Game/Color.h"
#include "Game/Game_Result.h"
#include "Moves/Move.h"
#include "Exceptions/Game_Ended.h"
// Play single game, return co... |
<commit_before>/*
* Copyright 2009-2019 The VOTCA Development Team
* (http://www.votca.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
*
*... |
<commit_before>/*
* File: pairListFromVoctree.cpp
* Author: sgaspari
*
* Created on July 18, 2015, 4:36 PM
*/
#include <openMVG/voctree/database.hpp>
#include <openMVG/voctree/vocabulary_tree.hpp>
#include <openMVG/voctree/databaseIO.hpp>
#include <Eigen/Core>
#include <boost/program_options.hpp>
#include <... |
<commit_before>/****************************************************************************
**
** Copyright (C) 2012 Nokia Corporation and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/
**
** This file is part of the Qt Linguist of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** GNU Lesser General Pu... |
<commit_before>//
// IpAddress.cpp for in
//
// Made by mognetworkhrabi Alexandre
// Login <alexmog@epitech.net>
//
// Started on Mon Jun 9 16:05:21 2014 mognetworkhrabi Alexandre
// Last update Tue Mar 24 19:40:41 2015 Moghrabi Alexandre
//
#include "mognetwork/OS.hh"
#ifndef OS_WINDOWS
#include <sys/socket.h... |
<commit_before>#include "Landmarks.hh"
Landmarks::Landmark::Landmark()
{
this->pos[0] = 0.0;
this->pos[1] = 0.0;
this->id = -1;
this->life = LIFE;
this->totalTimeObserved = 0;
this->range = -1;
this->bearing = -1;
}
Landmarks::Landmark::~Landmark()
{}
Landmarks::Landmarks(double degrees)
{
std::vecto... |
<commit_before>#include "stan/math/functions/inv_cloglog.hpp"
#include <gtest/gtest.h>
TEST(MathFunctions, inv_cloglog) {
EXPECT_EQ(1 - std::exp(-std::exp(3.7)), stan::math::inv_cloglog(3.7));
EXPECT_EQ(1 - std::exp(-std::exp(0.0)), stan::math::inv_cloglog(0.0));
EXPECT_EQ(1 - std::exp(-std::exp(-2.93)), s... |
<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/chromeos/customization_document.h"
#include "base/time.h"
#include "chrome/browser/chromeos/system/mock_stati... |
<commit_before>/*
Copyright (c) 2014-2018 AscEmu Team <http://www.ascemu.org>
This file is released under the MIT license. See README-MIT for more information.
*/
#include "StdAfx.h"
#include "Management/TaxiMgr.h"
#include "Storage/MySQLDataStore.hpp"
#include "Server/Packets/CmsgTaxiQueryAvailableNodes.h"
#include "... |
<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 "Lice... |
<commit_before>/*
* The Apache Software License, Version 1.1
*
*
* Copyright (c) 2001 The Apache Software Foundation. All rights
* reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistrib... |
<commit_before>#include "MenuState.h"
#include "InputManager.h"
#include "TitleState.h"
#include "BattleState.h"
#include "Game.h"
#define OPTION_OFFSET 50
MenuState::MenuState() : current_option(0) {
background = Sprite("menu/background.png");
options.push_back(new Text("font/8-BIT WONDER.ttf", 45, Text::TextStyl... |
<commit_before>// commands.cxx - encapsulated commands.
// Started Spring 2001 by David Megginson, david@megginson.com
// This code is released into the Public Domain.
//
// $Id$
#ifdef HAVE_CONFIG_H
# include <simgear_config.h>
#endif
#include <memory>
#include <simgear/props/props_io.hxx>
#include "commands.hxx"
... |
<commit_before>//=================================================================================================
// Copyright (C) 2017 Olivier Mallet - All Rights Reserved
//=================================================================================================
#ifn... |
<commit_before>/*
* Copyright 2007-2018 Content Management AG
* All rights reserved.
*
* author: Max Kellermann <mk@cm4all.com>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* - Redistributions of source... |
<commit_before>/*
Filename: RenderGL2.cpp
Purpose: OpenGL 2.x Rendering Interface
Part of Engine2D
Copyright (C) 2014 Vbitz
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... |
<commit_before>#include "stdafx.h"
#include "Python.h"
#include "SQFReader.h"
using namespace std;
#define THROW_PARSEERROR(_msg_) \
{\
throw ParseException(_msg_ + std::string(" near: ") + std::string(*start), *start);\
}
namespace SQFReader
{
/*
Note on reference counting in this parser:
Because yo... |
<commit_before>/*
* Copyright (C) 2014 Open Source Robotics 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 r... |
<commit_before>/**
* @copyright
* ====================================================================
* 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 copyrig... |
<commit_before>/*
Copyright (c) 2009-2013, 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 ... |
<commit_before>/*
* Copyright (C) 2015-2018 dubalu.com LLC. 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 limitation the
... |
<commit_before>#ifndef MY_LITTLE_ARG_PARSER_H
#define MY_LITTLE_ARG_PARSER_H
#include <unordered_map>
namespace mylittleparser
{
class ParseEntry
{
public:
ParseEntry () : data_ (nullptr), size_ (0), nargs_ (0) { }
~ParseEntry () { if (data_) delete[] data_; }
... |
<commit_before>// Copyright (c) 2020 ASMlover. 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 o... |
<commit_before>// Copyright (c) 2018-2019 The Dash Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <bench/bench.h>
#include <random.h>
#include <bls/bls_worker.h>
#include <utiltime.h>
#include <iostrea... |
<commit_before>/******************************************************************************
* This file is part of the Gluon Development Platform
* Copyright (c) 2010 Arjen Hiemstra <>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
... |
<commit_before>// $Id: NMRStarFile_test.C,v 1.1 2000/09/13 01:03:54 amoll Exp $
//#include <BALL/CONCEPT/classTest.h>
///////////////////////////
#include <BALL/FORMAT/NMRStarFile.h>
///////////////////////////
//START_TEST(String,"$Id: NMRStarFile_test.C,v 1.1 2000/09/13 01:03:54 amoll Exp $")
//////////... |
<commit_before>// $Id: TCPTransfer_test.C,v 1.7 2001/12/06 21:49:01 amoll Exp $
#include <BALL/CONCEPT/classTest.h>
///////////////////////////
#include <BALL/SYSTEM/TCPTransfer.h>
#include <BALL/SYSTEM/file.h>
///////////////////////////
#include <sys/socket.h> // socket
#include <netdb.h> // gethostbyname
#inc... |
<commit_before>//===-- ConstString.cpp -----------------------------------------*- C++ -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===------------... |
<commit_before>/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* 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 req... |
<commit_before>/**
* \file
* \brief Scheduler class implementation
*
* \author Copyright (C) 2014 Kamil Szczygiel http://www.distortec.com http://www.freddiechopin.info
*
* \par License
* 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
* ... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: EventThread.hxx,v $
*
* $Revision: 1.9 $
*
* last change: $Author: ihi $ $Date: 2007-11-21 16:33:32 $
*
* The Contents of this file are m... |
<commit_before>#ifndef __PML_DIJKSTRA__
#define __PML_DIJKSTRA__
#include <queue>
#include <set>
#include "directed_graph.hpp"
template <class T> directed_graph<T> dijkstra(directed_graph<T> &graph,
size_t start,
T infinity ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.