text stringlengths 54 60.6k |
|---|
<commit_before>/*=========================================================================
Program: ORFEO Toolbox
Language: C++
Date: $Date$
Version: $Revision$
Copyright (c) Centre National d'Etudes Spatiales. All rights reserved.
See OTBCopyright.txt for details.
This software is distributed WIT... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: IItemSetHelper.hxx,v $
*
* $Revision: 1.6 $
*
* last change: $Author: hr $ $Date: 2007-11-01 15:15:09 $
*
* The Contents of this file are... |
<commit_before>#include "Sandbox.h"
#include "glad/glad.h"
#include <GLFW/glfw3.h>
#include <fmt/format.h>
#include <stdexcept>
#include <map>
namespace Moonshine
{
auto APPLICATION_NAME = "Moonshine";
static std::map<GLFWwindow*, std::function<void(int, int)>> sWindowSizeCallbackMap;
static std::map<GLFWwindow*, ... |
<commit_before>// This file should document by example usage of the GEOS library.
// It could actually be a live discuss-by-example board for
// architectural design choices.
// --strk;
//
// DEBUGGING TIPS:
// use -D__USE_MALLOC at compile time for gcc 2.91, 2.95, 3.0 and 3.1
// and GLIBCXX_FORCE_NEW or GLIBCPP_... |
<commit_before>/**
* \file
* \brief FifoQueueBase class header
*
* \author Copyright (C) 2014-2015 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
* distrib... |
<commit_before>/*
* Copyright 2014-2020 Real Logic Limited.
*
* 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... |
<commit_before><commit_msg>Add a syslog print to systrace due to backtrace sometimes missing the message<commit_after><|endoftext|> |
<commit_before>#include <iostream>
#include <sstream>
#include <string>
#include <unistd.h> // For option parsing.
#include <thread>
#include "data.h"
#include "stats.h"
#include "algo_recuit.h"
#define STEPS_RECUIT 100
template<typename T>
std::string to_string(const T& x) {
std::ostringstream oss;
oss << x... |
<commit_before>// Boggle.cpp
// Given a Boggle board and a dictionary of words, find all possible words on the board
//
#include <iostream>
#include <set>
#include <vector>
#include "Trie.h"
typedef std::vector<std::vector<char>> BBoard;
typedef std::vector<std::vector<bool>> Visited;
size_t counter = 0;
std::set<... |
<commit_before>/* This file is part of Mapnik (c++ mapping toolkit)
*
* Copyright (C) 2011 Artem Pavlenko
*
* Mapnik 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... |
<commit_before>#include "StorageMemoChunk.h"
#include "StorageChunkSerializer.h"
#include "StorageChunkWriter.h"
#include "StorageBulkCursor.h"
#include "StorageEnvironment.h"
#include "StorageAsyncGet.h"
static inline int KeyCmp(const ReadBuffer& a, const ReadBuffer& b)
{
return ReadBuffer::Cmp(a, b);
}
static i... |
<commit_before><commit_msg>Fixed storage file parsing in Linux.<commit_after><|endoftext|> |
<commit_before>/*
* Copyright (C) 2017 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>// Time: O(1), per operation.
// Space: O(k), k is the capacity of cache.
#include <list>
class LRUCache {
public:
LRUCache(int capacity) : capa_(capacity) {
}
int get(int key) {
if (map_.find(key) != map_.end()) {
// It key exists, update it.
const aut... |
<commit_before>/*
Copyright (c) 2013 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Author: Leonardo de Moura
*/
#include "util/test.h"
#include "kernel/abstract.h"
#include "kernel/kernel.h"
#include "library/expr_lt.h"
#include "library/arith/nat.h"
#i... |
<commit_before>/* This file is part of Mapnik (c++ mapping toolkit)
*
* Copyright (C) 2015 Artem Pavlenko
*
* Mapnik 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... |
<commit_before>/*
* Copyright (c) 2015, Cryptonomex, Inc.
* All rights reserved.
*
* This source code is provided for evaluation in private test networks only, until September 8, 2015. After this date, this license expires and
* the code may not be used, modified or distributed for any purpose. Redistribution and ... |
<commit_before> ///////////////////////////////////////////////////////////////////////////
///\file AddTaskEMCALPhotonIsolation.C
///\brief Configuration of AliAnalysisTaskEMCALPhotonIsolation
///
/// Version to be used in lego train for testing on pp@7TeV
///
/// \author Lucile Ronflette <lucile.ronflett... |
<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
*
* http://www.apache.org/licenses/LICENSE... |
<commit_before>/*
Copyright (c) 2017 InversePalindrome
Memento Mori - Subject.cpp
InversePalindrome.com
*/
#include "Subject.hpp"
#include <algorithm>
void Subject::addObserver(Observer& observer)
{
if (std::find(std::begin(this->observers), std::end(this->observers), &observer) == std::end(this->ob... |
<commit_before>/* This file is part of the KDE project
Copyright (C) 2005 Kopete Developers <kopete-devel@kde.org>
Copyright (C) 2008-2009 Pali Rohár <pali.rohar@gmail.com>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
Lic... |
<commit_before><commit_msg>removed unused var<commit_after><|endoftext|> |
<commit_before>/****************************************************************************
*
* (c) 2009-2016 QGROUNDCONTROL PROJECT <http://www.qgroundcontrol.org>
*
* QGroundControl is licensed according to the terms in the file
* COPYING.md in the root of the source code directory.
*
**********************... |
<commit_before>/*-----------------------------------------------------------------------------
This source file is a part of Hopsan
Copyright (c) 2009 to present year, Hopsan Group
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as pu... |
<commit_before>#ifndef GNR_COROUTINE_HPP
# define GNR_COROUTINE_HPP
# pragma once
#include <cassert>
#include <cstdint>
#include <functional>
#include <memory>
#include "savestate.hpp"
namespace gnr
{
template <template <typename> class Function = std::function>
class coroutine
{
public:
enum : std::size_t { d... |
<commit_before>/*
* Software License Agreement (Apache License)
*
* Copyright (c) 2014, Dan Solomon
*
* 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... |
<commit_before>/*
* Copyright (C) 2014 Pavel Kirienko <pavel.kirienko@gmail.com>
*/
#pragma once
#include <cassert>
#include <ctime>
#include <sys/time.h>
#include <cstdint>
#include <uavcan/driver/system_clock.hpp>
#include <uavcan_linux/exception.hpp>
namespace uavcan_linux
{
enum class ClockAdjustmentMode
{
... |
<commit_before>/*
* Qumulus UML editor
* Author: Frank Erens
*
*/
#include "GraphConnector.h"
QUML_BEGIN_NAMESPACE_UD
QUML_END_NAMESPACE_UD
<commit_msg>GraphConnector constructor.<commit_after>/*
* Qumulus UML editor
* Author: Frank Erens
*
*/
#include "GraphConnector.h"
QUML_BEGIN_NAMESPACE_UD
GraphCon... |
<commit_before>#include "resources/ResourcesManager.hpp"
#include "graphics/GLUtilities.hpp"
#include "system/Window.hpp"
#include "Common.hpp"
#include <iostream>
#include <map>
#include <sstream>
#include "system/TextUtilities.hpp"
/**
\defgroup ShaderValidator Shader Validation
\brief Validate shaders compilatio... |
<commit_before>#ifndef GENERIC_COROUTINE_HPP
# define GENERIC_COROUTINE_HPP
# pragma once
#include <cassert>
#include <csetjmp>
#include <cstdint>
#include <functional>
#include <memory>
#include "savestate.hpp"
namespace generic
{
class coroutine
{
public:
enum status : ::std::uint8_t
{
UNINITIALIZED,
... |
<commit_before>//------------------------------------------------------------------------------
// CLING - the C++ LLVM-based InterpreterG :)
// version: $Id$
// author: Vassil Vassilev <vasil.georgiev.vasilev@cern.ch>
//------------------------------------------------------------------------------
#include "DeclColl... |
<commit_before><commit_msg>reverse map fixes<commit_after><|endoftext|> |
<commit_before>// 未完成品。当然ACしない。RubyのほうはAC済み。
#include <iostream>
#include <vector>
#include <set>
using namespace std;
typedef vector< vector<int> > tab;
int b[2][3];
int c[3][2];
int fukasa(tab ary, int dep) {
if (dep == 9) {
int ans = 0;
for (auto i=0; i<2; i++) {
for (auto j=0; j<3; j++) {
... |
<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>/**
* @file LogAttribute.cpp
* LogAttribute class implementation
*
* 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 t... |
<commit_before><commit_msg>Added extra options to rotate around X,Y,Z axes.<commit_after><|endoftext|> |
<commit_before>/*
* Copyright 2013-2014 gtalent2@gmail.com
*
* 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 ... |
<commit_before>#include "ros/ros.h"
#include "boost/asio.hpp"
#include "jaws_msgs/Thrusters.h"
class Arbotix
{
private:
ros::NodeHandle prm;
ros::NodeHandle nh;
ros::Subscriber sub;
boost::asio::io_service i_o;
boost::asio::serial_port s_p;
std::string port_name;
public:
Arbotix() : prm... |
<commit_before>/*
* Copyright (C) 2017 National Research Institute of Science and
* Technology for Environment and Agriculture (IRSTEA)
*
* This file is part of Orfeo Toolbox
*
* https://www.orfeo-toolbox.org/
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file e... |
<commit_before>/*
Copyright (c) 2019-2020 Carsten Burstedde, Donna Calhoun, Scott Aiton, Grady Wright
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 ab... |
<commit_before>/*******************************************************************************
* ALMA - Atacama Large Millimiter Array
* (c) European Southern Observatory, 2002
* Copyright by ESO (in the framework of the ALMA collaboration),
* All rights reserved
*
* This library is free software; you c... |
<commit_before>/*
* Copyright (c) 2003 The Regents of The University of Michigan
* 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 copyri... |
<commit_before><commit_msg>Replace Equals expression with IsTrue from snowhouse library.<commit_after><|endoftext|> |
<commit_before><commit_msg>more voice sensor work<commit_after><|endoftext|> |
<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>/*===================================================================
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>// 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 "remoting/client/plugin/chromoting_scriptable_object.h"
#include "base/logging.h"
#include "ppapi/cpp/var.h"
#include "remoti... |
<commit_before>#include "viewerbase.h"
#include "ui_viewerbase.h"
#include <QCloseEvent>
#include <QToolBar>
#include <QComboBox>
#include <QLabel>
#include <QDebug>
#include <QScrollArea>
#include "applesoftfileviewer.h"
#include "hexdumpviewer.h"
#include "texthexdumpviewer.h"
#include "charsetviewer.h"
#include "h... |
<commit_before>// Macro for testing the new C++ reconstruction code
// Arguments:
// FirstEvent (default 0)
// LastEvent (default 0)
// RecGeantHits (1 to reconstruct GEANT hits) (default 0)
// FileName (for signal) (default "galice.root")
// BkgGeantFileName (for background),
// needed only if RecGeant... |
<commit_before>// two_sum.cpp: TwoSum evaluation of posit number systems
//
// Copyright (C) 2017-2019 Stillwater Supercomputing, Inc.
//
// This file is part of the UNIVERSAL project, which is released under an MIT Open Source license.
#define ALIASING_ALLOWED
#include "common.hpp"
#include "../tests/test_helpers.hpp... |
<commit_before>#include "ros/ros.h"
#include "std_msgs/Float32.h"
#include "std_msgs/Float64MultiArray.h"
#include "Robosub/HighLevelControl.h"
#include "SubMotorController/MotorMessage.h"
#include <string>
using namespace std;
#define LEFT_DRIVE_BIT 0x01
#define RIGHT_DRIVE_BIT 0x02
#define FRONT_DEPTH_BIT 0x04
#d... |
<commit_before>#include "ros/ros.h"
#include "std_msgs/Float32.h"
#include "std_msgs/Float32MultiArray.h"
#include "Robosub/HighLevelControl.h"
#include "Robosub/Point.h"
#include "SubMotorController/MotorMessage.h"
#include <string>
using namespace std;
#define LEFT_DRIVE_BIT 0x01
#define RIGHT_DRIVE_BIT 0x02
#defi... |
<commit_before>#ifndef GUARD_import_from_nap_hpp
#define GUARD_import_from_nap_hpp
/** \file import_from_nap.hpp
*
* \brief Header containing code to enable import of data
* into a Phatbooks database, from csv files exported from
* the N. A. P. application.
*
* The code here is solely for the purpose of migratin... |
<commit_before>// Copyright (c) 2010 The WebM project authors. All Rights Reserved.
//
// Use of this source code is governed by a BSD-style license
// that can be found in the LICENSE file in the root of the source
// tree. An additional intellectual property rights grant can be found
// in the file PATENTS. All... |
<commit_before>/* Copyright 2017 R. Thomas
* Copyright 2017 Quarkslab
*
* 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 re... |
<commit_before>/**********************************************************************
* File: tessedit.cpp (Formerly tessedit.c)
* Description: Main program for merge of tess and editor.
* Author: Ray Smith
* Created: Tue Jan 07 15:21:46 GMT 1992
*
* (C) Copyright 1992, Hewlett... |
<commit_before>#pragma once
#include <QString>
#include <pajlada/settings/serialize.hpp>
namespace pajlada {
namespace Settings {
template <>
struct Serialize<QString> {
static rapidjson::Value get(const QString &value, rapidjson::Document::AllocatorType &a)
{
rapidjson::Value ret(qPrintable(value), ... |
<commit_before>/*=========================================================================
Program: Insight Segmentation & Registration Toolkit
Module: itkGaussianDensityFunctionTest.cxx
Language: C++
Date: $Date$
Version: $Revision$
Copyright (c) Insight Software Consortium. All rights reser... |
<commit_before>// Copyright 2008 Paul Hodge
#include "ast.h"
#include "parser.h"
#include "tokenizer.h"
#include "token_stream.h"
namespace circa {
namespace parse_expression_function {
void evaluate(Term* caller)
{
/*
token_stream::TokenStream &tokens = as<token_stream::TokenStream>(caller->... |
<commit_before>/*
Q Light Controller
audioeditor.cpp
Copyright (c) Massimo Callegari
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
Version 2 as published by the Free Software Foundation.
This program is distributed in the hope ... |
<commit_before>//============================================================================
// vSMC/example/rng/include/rng_test.hpp
//----------------------------------------------------------------------------
// vSMC: Scalable Monte Carlo
//--------------------------------------------------... |
<commit_before>/**********************************************************************
* File: tessedit.cpp (Formerly tessedit.c)
* Description: Main program for merge of tess and editor.
* Author: Ray Smith
* Created: Tue Jan 07 15:21:46 GMT 1992
*
* (C) Copyright 1992, Hewlett... |
<commit_before>/*
MobaTools.h - a library for model railroaders
Author: fpm, fpm@mnet-mail.de
Copyright (c) 2020 All right reserved.
Functions for the stepper part of MobaTools
*/
#ifdef ARDUINO_ARCH_AVR //this is only for 8Bit AVR controllers
#define COMPILING_MOTOSOFTLED_CPP
#include <MobaTools.h>
//#def... |
<commit_before>/*
* Copyright (c) 2014 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS.... |
<commit_before>#include "ClientWrapper.hpp"
#include <bts/net/upnp.hpp>
#include <bts/net/config.hpp>
#include <bts/db/exception.hpp>
#include <QApplication>
#include <QResource>
#include <QSettings>
#include <QJsonDocument>
#include <QUrl>
#include <QMessageBox>
#include <QDir>
#include <iostream>
void get_htdocs_... |
<commit_before>// Mike Zrimsek
// Computer Graphics
// Homework 2
#include <GL/glut.h>
static int WINDOW_WIDTH = 500;
static int WINDOW_HEIGHT = 500;
void myDisplay()
{
glClear(GL_COLOR_BUFFER_BIT);
glFlush();
}
int main(int argc, char** argv)
{
glutInit(&argc, argv);
glutInitDisplayMode(GLUT_SINGLE|GLUT_R... |
<commit_before>//* This file is part of the MOOSE framework
//* https://www.mooseframework.org
//*
//* All rights reserved, see COPYRIGHT for full restrictions
//* https://github.com/idaholab/moose/blob/master/COPYRIGHT
//*
//* Licensed under LGPL 2.1, please see LICENSE for details
//* https://www.gnu.org/licenses/lgp... |
<commit_before> /* Appodeal_exchange_connector.cc
Eric Robert, 7 May 2013
Implementation of the OpenRTB exchange connector.
*/
#include "appodeal_exchange_connector.h"
#include "rtbkit/common/testing/exchange_source.h"
#include "rtbkit/plugins/bid_request/openrtb_bid_source.h"
#include "rtbkit/plugins/bid_reque... |
<commit_before>//===-- PrologEpilogInserter.cpp - Insert Prolog/Epilog code in function --===//
//
// The LLVM Compiler Infrastructure
//
// This file was developed by the LLVM research group and is distributed under
// the University of Illinois Open Source License. See LICENSE.TXT for details.
//... |
<commit_before>/**
* \file
* \brief SoftwareTimer class header
*
* \author Copyright (C) 2015 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
* distributed ... |
<commit_before>#pragma once
#include <cassert>
#include <list>
namespace AGE
{
// Buffer pool largely inspired by :
// http://www.codeproject.com/Articles/3526/Buffer-Pool-Object-Pool
// Still need a LOOOOOOOTS of improvements
class BufferPool
{
protected:
virtual ~BufferPool()
{
_destroy();
}
Buff... |
<commit_before>//===--------------------------------------------------------------------------------*- C++ -*-===//
// _
// | |
// __| | __ ___ ___ ___
// / _` |/ _` \ \ /\ / / '_ |
// | (_| | (_| |\ V ... |
<commit_before>//=======================================================================
// Copyright (c) 2014-2016 Baptiste Wicht
// Distributed under the terms of the MIT License.
// (See accompanying file LICENSE or copy at
// http://opensource.org/licenses/MIT)
//===================================================... |
<commit_before>//===--- CrossTranslationUnit.cpp - -----------------------------*- C++ -*-===//
//
// 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) 2014 CNRS
// Authors: Florent Lamiraux
//
// 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 Lic... |
<commit_before>//
// Copyright (c) 2014 CNRS
// Authors: Florent Lamiraux
//
// 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 Lic... |
<commit_before>/*=========================================================================
*
* Copyright Bradley Lowekamp
*
* 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><commit_msg>Control: added estop and pad msg to control_core_command in mpc_controller_submodule<commit_after><|endoftext|> |
<commit_before>#include "Engine.h"
#include "Game.h"
#include "ObjectDummy.h"
#include "BodyRigid.h"
#include "BodyDummy.h"
#include "Physics.h"
#include "ShapeCapsule.h"
#include "ActorBase.h"
#include "Visualizer.h"
#include "sys/SysControl.h"
using namespace MathLib;
#ifdef MEMORY_INFO
#define new new(__FILE__, _... |
<commit_before><commit_msg>WaE: unused parameter 'bForceEvaluation'<commit_after><|endoftext|> |
<commit_before>/*****************************************************************************
*
* This file is part of Mapnik (c++ mapping toolkit)
*
* Copyright (C) 2012 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>/******************************************************************************
* Copyright (c) 2011, Michael P. Gerlek (mpg@flaxen.com)
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following
* conditions a... |
<commit_before>#ifndef VSMC_UTILITY_STOP_WATCH_HPP
#define VSMC_UTILITY_STOP_WATCH_HPP
#include <vsmc/internal/config.hpp>
#include <vsmc/internal/assert.hpp>
#include <vsmc/internal/defines.hpp>
#include <vsmc/internal/forward.hpp>
#if VSMC_HAS_CXX11LIB_CHRONO
#include <chrono>
namespace vsmc {
class StopWatch
{
... |
<commit_before>/***************************************************************************
* Copyright (c) Johan Mabille, Sylvain Corlay, Wolf Vollprecht and *
* Martin Renou *
* Copyright (c) QuantStack ... |
<commit_before>// (C) Copyright Gennadiy Rozental 2001-2014.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
// See http://www.boost.org/libs/test for the library home page.
// Boost.Test
#include <boost/... |
<commit_before>/*=========================================================================
Program: Visualization Toolkit
Module: vtkXMLHierarchicalBoxDataFileConverter.cxx
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright... |
<commit_before>// Copyright (c) 2018 RISC Software GmbH
//
// This file was generated by CPACSGen from CPACS XML Schema (c) German Aerospace Center (DLR/SC).
// Do not edit, all changes are lost when files are re-generated.
//
// Licensed under the Apache License, Version 2.0 (the "License")
// you may not use this fil... |
<commit_before>/******************************************************************************
* This file is part of the Gluon Development Platform
* Copyright (C) 2010 Dan Leinir Turthra Jensen <admin@leinir.dk>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the ... |
<commit_before>#include <sstream>
#include <iomanip>
#include "Line.h"
namespace CppChart
{
LineChart::LineChart(const std::vector<DataElement>& d) :
m_anchorColor(sf::Color(88, 172, 250)), m_guideColor(sf::Color(100, 100, 100)),
m_lineColor(sf::Color::Black), m_fillColor(sf::Color::Cyan),
m_anchorSize(8.0f), ... |
<commit_before>#include "bmp.h"
#include <cstdint>
#include <cstdlib>
#include <pthread.h>
#include <queue>
#include "tracer.h"
#include "vector.h"
#include "color.h"
#include "sphere.h"
#include "plane.h"
#include "lambertian.h"
#include "metallic.h"
#include "dielectric.h"
using namespace gml;
const int NUM_THREA... |
<commit_before>/*
* Copyright 2015 - 2021 gary@drinkingtea.net
*
* 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
namespace ox::defines {
#if def... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: aststructinstance.cxx,v $
*
* $Revision: 1.5 $
*
* last change: $Author: obo $ $Date: 2006-09-17 08:13:26 $
*
* The Contents of this file... |
<commit_before>
#define CL_USE_DEPRECATED_OPENCL_1_1_APIS
#define CL_HPP_MINIMUM_OPENCL_VERSION 120
#define CL_HPP_TARGET_OPENCL_VERSION 120
#include <CL/opencl.hpp>
#include <string>
#include <vector>
#include <deque>
#include <chrono>
#include <mutex>
#include <cmath>
#include <condition_variable>
#include <map>
#... |
<commit_before>/** \addtogroup examples
* @{
* \defgroup algebraic_multigrid algebraic_multigrid
* @{
* \brief Benchmark for smoothed algebraic multgrid
*/
#include <ctf.hpp>
using namespace CTF;
void smooth_jacobi(Matrix<> & A, Vector<> & x, Vector <> & b, int nsmooth){
Vector<> d(x.len, *x.wrld);
d[... |
<commit_before>#include "util/util.h"
#include <cstring>
#include <event2/thread.h>
#include <evhtp.h>
#include <fstream>
#include <glog/logging.h>
#include <iostream>
#include <netinet/in.h> // for resolv.h
#include <openssl/crypto.h>
#include <openssl/err.h>
#include <openssl/ssl.h>
#include <resolv.h> // for ... |
<commit_before>/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
#ifndef _PYUNO_PYUNO_HXX_
#define _PYUNO_PYUNO_HXX_
#ifndef Py_PYTHON_H
#if defined _MSC_VER
#pragma warning(push, 1)
#endif
#ifdef _DEBUG
#undef _DEBUG
#include <Python.h>
#define _DEBUG
#else
#include <Python.h>
#endif // ... |
<commit_before>// Copyright (c) 2013-2015 mogemimi.
// Distributed under the MIT license. See LICENSE.md file for details.
#ifndef POMDOG_ASSERT_7D111D58_HPP
#define POMDOG_ASSERT_7D111D58_HPP
#include "Pomdog/Basic/Platform.hpp"
#include <cassert>
#ifdef POMDOG_COMPILER_MSVC
# include <xutility>
#endif
namespac... |
<commit_before>/*************************************************************************
*
* $RCSfile: arealink.hxx,v $
*
* $Revision: 1.5 $
*
* last change: $Author: dr $ $Date: 2001-04-24 14:43:38 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licen... |
<commit_before>/**
* This file implements the _d2_ API.
*/
#define D2_SOURCE
#include <d2/api.hpp>
#include <d2/detail/basic_atomic.hpp>
#include <d2/detail/basic_mutex.hpp>
#include <d2/detail/config.hpp>
#include <d2/events.hpp>
#include <d2/filesystem_dispatcher.hpp>
#include <d2/sync_object.hpp>
#include <d2/thr... |
<commit_before>// Copyright Verizon Media. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#include "generic_lambda.h"
#include <vespa/eval/eval/llvm/compiled_function.h>
#include <vespa/eval/eval/llvm/compile_cache.h>
#include <assert.h>
using namespace vespalib::eval::tensor_fun... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.