text stringlengths 54 60.6k |
|---|
<commit_before><commit_msg>Changed mail -> messages where appropriate. I didn't change the "mail"s in the DnD configuration as those will be removed anyway.<commit_after><|endoftext|> |
<commit_before>// Copyright (c) 2011 The LevelDB Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. See the AUTHORS file for names of contributors.
#include "util/arena.h"
#include "util/random.h"
#include "util/testharness.h"
namespa... |
<commit_before>#include "LiveMediaExtPch.h"
#include <LiveMediaExt/LiveH264Subsession.h>
#include <LiveMediaExt/LiveDeviceSource.h>
#include <LiveMediaExt/LiveH264VideoDeviceSource.h>
#include <H264VideoRTPSink.hh>
#include "Base64.hh"
#include "H264VideoStreamDiscreteFramer.hh"
namespace lme
{
LiveH264Subsession::Li... |
<commit_before>/**
\file ll_translation_control.hpp
\brief Defines class LLTranslationControl and defines its methods.
\author Radek Vít
*/
#ifndef CTF_LL_TRANSLATION_CONTROL_H
#define CTF_LL_TRANSLATION_CONTROL_H
#include "translation_control.hpp"
namespace ctf {
/**
\brief Implements LL top down translation contro... |
<commit_before><commit_msg>layers: Fix incorrect feature protect for KHX ext<commit_after><|endoftext|> |
<commit_before>/* --
* Copyright (C) 2013, George Makrydakis <irrequietus@gmail.com>
*
* This file is part of odreex.
*
* odreex is free software: you can redistribute it and/or modify it under the
* terms of the GNU General Public License as published by the Free Software
* Foundation, either version 3 of the L... |
<commit_before>#include <Arduino.h>
#include "SoftwareSerial.h"
#include "A6lib.h"
#ifdef DEBUG
#define log(msg) Serial.print(msg)
#define logln(msg) Serial.println(msg)
#else
#define log(msg)
#define logln(msg)
#endif
#define OK 1
#define NOTOK 2
#define TIMEOUT 3
#define A6_CMD_TIMEOUT 2000
/////////////////////... |
<commit_before>#include <Common/config.h>
#include <Common/task.h>
#include <util/delay.h>
#include <avr/interrupt.h>
#include "p2k.h"
using namespace P2KConfig;
#define TICK_FREQ 250
#define PIN_OPEN 5
const byte SOLUTION1[5] = { 3, 2, 1, 4, 4 };
const byte SOLUTION2[5] = { 3, 2, 2, 2, 1 };
enum {
... |
<commit_before>
#ifndef __PICKABLE_HPP__
#define __PICKABLE_HPP__
#include <vector>
#include "allocore/ui/al_Gnomon.hpp"
#include "allocore/ui/al_BoundingBox.hpp"
namespace al {
struct PickableState {
bool hover, selected;
Pose pose;
Vec3f scale;
PickableState(){
pose = Pose();
scale = Vec3f(1);... |
<commit_before>/*****************************************************************************/
/* CascRootFile_SC1.cpp Copyright (c) Ladislav Zezula 2017 */
/*---------------------------------------------------------------------------*/
/* Support for loading Starcraft 1 ROOT file ... |
<commit_before>/** Initialize bitcoin.
* @pre Parameters should be parsed and config file should be read.
*/
bool AppInit3(boost::thread_group& threadGroup) {
umask(077);
// Clean shutdown on SIGTERM
struct sigaction sa;
sa.sa_handler = HandleSIGTERM;
sigemptyset(&sa.sa_mask);
sa.sa_flags = 0;
sigacti... |
<commit_before>#include <stdlib.h>
#include <map>
#include <set>
#include "bandit/bandit.h"
using std::map;
using std::set;
static bool _enabled = false;
static size_t _allocation_count = 0;
static map<void *, size_t> _outstanding_allocations;
namespace record_alloc {
void start() {
_enabled = true;
_allocation... |
<commit_before>// This file is part of the dune-stuff project:
// https://github.com/wwu-numerik/dune-stuff
// Copyright holders: Rene Milk, Felix Schindler
// License: BSD 2-Clause License (http://opensource.org/licenses/BSD-2-Clause)
#include "main.hxx"
#include <dune/stuff/common/timedlogging.hh>
using namespac... |
<commit_before>// RUN: %clang_cc1 -fblocks -emit-llvm %s -o - -cxx-abi microsoft -triple=i386-pc-win32 | FileCheck %s
// RUN: %clang_cc1 -fblocks -emit-llvm %s -o - -cxx-abi microsoft -triple=x86_64-pc-win32 | FileCheck -check-prefix X64 %s
// CHECK: @"\01?a@@3HA"
// CHECK: @"\01?b@N@@3HA"
// CHECK: @"\01?anonymous@?A... |
<commit_before>#pragma once
#include <memory>
#include <vector>
#include "Runtime/Particle/IElement.hpp"
/* Documentation at: https://wiki.axiodl.com/w/Particle_Script#Int_Elements */
namespace urde {
class CIEKeyframeEmitter : public CIntElement {
u32 x4_percent;
u32 x8_unk1;
bool xc_loop;
bool xd_unk2;
... |
<commit_before>/*************************************************************************
* *
* Open Dynamics Engine, Copyright (C) 2001-2003 Russell L. Smith. *
* All rights reserved. Email: russ@q12.org Web: www.q12.org *
* ... |
<commit_before>#ifndef _SDD_HOM_INTERSECTION_HH_
#define _SDD_HOM_INTERSECTION_HH_
#include <algorithm> // all_of, copy
#include <deque>
#include <initializer_list>
#include <iosfwd>
#include <stdexcept> //invalid_argument
#include <unordered_map>
#include <boost/container/flat_set.hpp>
#include "sdd/dd/definition... |
<commit_before>
#include "wke/wke2.h"
#include "wke/wkeString.h"
#include "wke/wkeWebView.h"
#include "wke/wkeWebWindow.h"
#include "wke/wkeGlobalVar.h"
#include "content/browser/WebPage.h"
#include "content/web_impl_win/BlinkPlatformImpl.h"
#include "content/web_impl_win/WebThreadImpl.h"
#include "content/res... |
<commit_before>/*
* Copyright (c) 2017 dresden elektronik ingenieurtechnik gmbh.
* All rights reserved.
*
* The software in this package is published under the terms of the BSD
* style license a copy of which has been included with this distribution in
* the LICENSE.txt file.
*
*/
#include "poll_manager.h"
#in... |
<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
... |
<commit_before>/*=========================================================================
*
* Copyright Insight Software Consortium
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
... |
<commit_before>/**************************************************************************
* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
* *
* Author: The ALICE Off-line Project. *
... |
<commit_before>/* Copyright (c) 2010 Stanford University
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND T... |
<commit_before><?hh // partial
namespace package\examples;
require_once __DIR__ . '/../vendor/autoload.php';
use package\Package;
$package = Package::fromOptions(shape(
'namespace' => 'package\\examples\\classes\\',
'packageDirectory' => realpath(__DIR__ . '/src')
));
foreach ($package->classes() as $class... |
<commit_before>/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
\\/ M anipulation ... |
<commit_before>/**
* This file is part of the "libfnord" project
* Copyright (c) 2015 Paul Asmuth
*
* FnordMetric is free software: you can redistribute it and/or modify it under
* the terms of the GNU General Public License v3.0. You should have received a
* copy of the GNU General Public License along with th... |
<commit_before>#pragma once
//=====================================================================//
/*! @file
@brief R8C/M110AN, R8C/M120AN グループ・システム・レジスター定義 @n
Copyright 2014 Kunihito Hiramatsu
@author 平松邦仁 (hira@rvf-rc45.net)
*/
//=====================================================================//
#include... |
<commit_before>#include "species.hpp"
#include "vboindexer.hpp"
#include "universe.hpp"
#include "scene.hpp"
#include "shader.hpp"
#include "material.hpp"
#include "object.hpp"
#include "species_or_glyph.hpp"
#include "render_templates.hpp"
#include "family_templates.hpp"
#include "code/ylikuutio/hierarchy/hierarchy_te... |
<commit_before>// ======================================================================== //
// Copyright 2009-2016 Intel Corporation //
// //
// Licensed under the Apache License, Version 2.0 (the "License"); ... |
<commit_before>/*=========================================================================
Library : Image Registration Toolkit (IRTK)
Module : $Id$
Copyright : Imperial College, Department of Computing
Visual Information Processing (VIP), 2008 onwards
Date : $Date$
Version : $Revis... |
<commit_before>// Copyright (C) 2010-2014 Joshua Boyce.
// See the file COPYING for copying permission.
#include <thread>
#include <windows.h>
#include <hadesmem/config.hpp>
#include <hadesmem/detail/self_path.hpp>
#include <hadesmem/detail/trace.hpp>
#include <hadesmem/error.hpp>
#include "../cerberus/... |
<commit_before>//===========================================
// PC-BSD source code
// Copyright (c) 2016, PC-BSD Software/iXsystems
// Available under the 3-clause BSD license
// See the LICENSE file for full details
//===========================================
#include "sysadm-client.h"
#include <QSslConfiguratio... |
<commit_before>//===----------------------------------------------------------------------===//
//
// Peloton
//
// rule_test.cpp
//
// Identification: test/optimizer/rule_test.cpp
//
// Copyright (c) 2015-16, Carnegie Mellon University Database Group
//
//===------------------------------------... |
<commit_before>#include <vector>
#include "unittest/catch.h"
#include "core/pattern.h"
#include "core/task.h"
#include "plugins/pluginUtils.h"
#include "plugins/pmd.h"
#include "utils/utils.h"
#include "executorStub.h"
#include "optionsStub.h"
using std::vector;
using std::string;
using execHelper::config::Settin... |
<commit_before><commit_msg>added more outputs to diamond<commit_after><|endoftext|> |
<commit_before><commit_msg>Add whitespace between the string literal and the macro<commit_after><|endoftext|> |
<commit_before>/******************************************************************************
* Main script for the 2017 RoboFishy Scripps AUV
******************************************************************************/
#include "Mapper.h"
// Multithreading
#include <pthread.h>
#include <sched.h>
#include <unistd... |
<commit_before>#ifndef MAZE_ALGORITHM_C
#define MAZE_ALGORITHM_C
#include <stdio.h>
#include <string.h>
#include "MazeAlgorithm.h"
#include "MazeMap.h"
// computes the flood fill for the first time (center is the target)
void malgo_floodfill_compute(MazeMap* mm, ff_map* in)
{
// blanks out the array to null values
... |
<commit_before>/**
* Tests of str_rope and rope_node.
*
* @author Jean-Claude Paquin
**/
#include <catch.hpp>
#include <primitives/str_rope.h>
TEST_CASE("Empty rope_node", "[rope_node]") {
rope_node node;
SECTION("Empty node has nullptr left & right") {
REQUIRE(!node.data.left);
REQUIRE(!... |
<commit_before>#ifndef MJOLNIR_TEST_UTIL_STUB_POTENTIAL_HPP
#define MJOLNIR_TEST_UTIL_STUB_POTENTIAL_HPP
#include <mjolnir/math/Vector.hpp>
#include <mjolnir/core/System.hpp>
#include <mjolnir/forcefield/global/ParameterList.hpp>
namespace mjolnir
{
namespace test
{
template<typename realT>
class StubPotential
{
pu... |
<commit_before>//------------------------------------------------------------------------------
// Includes
//------------------------------------------------------------------------------
#include "PIDController.h"
//------------------------------------------------------------------------------
// Constructors
//---... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: adminpages.hxx,v $
*
* $Revision: 1.31 $
*
* last change: $Author: kz $ $Date: 2007-05-10 10:24:24 $
*
* The Contents of this file are ma... |
<commit_before>/*
*
* Author: Philipp Zschoche, https://zschoche.org
*
*/
#ifndef __FILESYSTEM_HPP__
#define __FILESYSTEM_HPP__
#include "device_io.hpp"
#include <array>
namespace ext2 {
/*
* implements the device concept
*/
template <typename Filesystem> class inode : public inode_base<typename Filesystem::device_... |
<commit_before>#include <QGraphicsScene>
#include <QGraphicsItem>
#include <QPainter>
#include <QPrinter>
#include <QImage>
#include <qgraphicseffect.h>
#include <copasi.h>
#include <qlayout/qlayoutscene.h>
#include <qlayout/qcopasieffect.h>
#include <qlayout/qlabelgraphicsitem.h>
#include <qlayout/qstyle... |
<commit_before>/* Begin CVS Header
$Source: /Volumes/Home/Users/shoops/cvs/copasi_dev/copasi/utilities/CTableCell.cpp,v $
$Revision: 1.1 $
$Name: $
$Author: shoops $
$Date: 2005/09/23 18:59:12 $
End CVS Header */
#include <limits>
#include <iostream>
#include <sstream>
#include "copasi.h"
#incl... |
<commit_before>// ffmpeg player output (portaudio)
// part of MusicPlayer, https://github.com/albertz/music-player
// Copyright (c) 2012, Albert Zeyer, www.az2000.de
// All rights reserved.
// This code is under the 2-clause BSD license, see License.txt in the root directory of this project.
#include "ffmpeg.h"
#inclu... |
<commit_before>#include <iostream>
#include <stdio.h> /* Standard input/output definitions */
#include <stdint.h> /* Standard input/output definitions */
#include <stdlib.h> /* exit */
//#include <string> /* String function definitions */
#include <unistd.h> /* UNIX standa... |
<commit_before>/* IBM_PROLOG_BEGIN_TAG */
/* This is an automatically generated prolog. */
/* */
/* $Source: src/import/chips/p9/procedures/hwp/memory/lib/fir/memdiags_fir... |
<commit_before>
#include "../utility.hpp"
#include "../String.hpp"
#include "./FlatDatastore.hpp"
#include <Hord/Error.hpp>
#include <Hord/IO/PropStream.hpp>
#include <ceformat/print.hpp>
#include <cstdio>
#include <type_traits>
#include <utility>
#include <new>
namespace Onsang {
namespace IO {
// class FlatDatas... |
<commit_before>#pragma once
#include <string>
#include "Runtime/rstl.hpp"
#include "Runtime/Weapon/CProjectileInfo.hpp"
#include "Runtime/World/CPatterned.hpp"
#include "Runtime/World/CPathFindSearch.hpp"
namespace urde::MP1 {
class CAtomicAlpha : public CPatterned {
static constexpr u32 skBombCount = 4;
struct ... |
<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>/*****************************************************************************
*
* This file is part of Mapnik (c++ mapping toolkit)
*
* Copyright (C) 2013 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>/******************************************************
SENSOR LIBRARY:
Written by Enrico Formenti.
BSD license, check license.txt for more information
All text above must be included in any redistribution.
******************************************************/
/* Sensor library
DHT11.CPP: ... |
<commit_before>/*
Copyright (c) 2010-2016, Mathieu Labbe - IntRoLab - Universite de Sherbrooke
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 c... |
<commit_before>#include "Enemy.h"
#include "SDL.h"
#include "InputHandler.h"
Enemy::Enemy(const LoaderParams* pParams) : SDLGameObject(pParams) { }
void Enemy::draw()
{
SDLGameObject::draw(); //now we use SDLGameObject
}
//Update function for Enemy object
void Enemy::update()
{
m_velocity.setX(0);
m_velocity.setY... |
<commit_before>//Copyright (c) 2018 Ultimaker B.V.
//CuraEngine is released under the terms of the AGPLv3 or higher.
#include "utils/linearAlg2D.h" //Distance from point to line.
#include "MergeInfillLines.h"
namespace cura
{
MergeInfillLines::MergeInfillLines(ExtruderPlan& plan) : extruder_plan(plan)
{
... |
<commit_before>#include "../ht.h"
#include <unistd.h>
#include <stdio.h>
#include <stdlib.h>
//#include <memory.h>
#include <string.h>
#include <time.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <dirent.h>
namespace wi {
class FileStream : public Stream
{
public:
FileStream();
~FileStream();
bool Init(... |
<commit_before>// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#include "fdispatch.h"
#include <vespa/searchcore/util/log.h>
#include <vespa/searchcore/util/eventloop.h>
#include <vespa/searchcore/fdispatch/search/querycacheutil.h>
#include <vesp... |
<commit_before>// $Id$
// The libMesh Finite Element Library.
// Copyright (C) 2002-2007 Benjamin S. Kirk, John W. Peterson
// 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 Software Foundation; either
... |
<commit_before>#include "GLES2Mesh.h"
#include "GLES2Header.h"
#include "GLES2Util.h"
#include "GLES2Scene.h"
#include "platform/Log.h"
#include "GLES2Texture.h"
#include "math/Vector2.h"
#include "math/Angle.h"
#include "PrimitiveMode.h"
#include "Supernova.h"
#define ARRAY_SIZE(a) (sizeof(a) / sizeof((a)[0]))
GLES... |
<commit_before>/****************************************************************************
**
** Copyright (C) 2014 Thorben Kroeger <thorbenkroeger@gmail.com>.
** Contact: http://www.qt-project.org/legal
**
** This file is part of Qt Creator.
**
** Commercial License Usage
** Licensees holding valid commercial Qt lic... |
<commit_before>#include "scrapers/GamesDBScraper.h"
#include "Log.h"
#include "pugixml/src/pugixml.hpp"
#include "MetaData.h"
#include "Settings.h"
#include "Util.h"
#include <boost/assign.hpp>
using namespace PlatformIds;
const std::map<PlatformId, const char*> gamesdb_platformid_map = boost::assign::map_list_of
(TH... |
<commit_before>#include <gl/pogl.h>
#include <thread>
#include <atomic>
#include <vector>
#include <cmath>
#include "POGLExampleWindow.h"
static const POGL_CHAR SIMPLE_EFFECT_VS[] = { R"(
#version 330
layout(location = 0) in vec3 position;
layout(location = 2) in float value;
out float vs_Value;
void main()
... |
<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 examples of the Qt Toolkit.
**
** $QT_BEGIN_LICENS... |
<commit_before>/* OpenSceneGraph example, osganimate.
*
* 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, copy, modify... |
<commit_before>//===-- NativeProcessProtocolTest.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>#include "include/Media.h"
#include <iostream>
/**< ShapeMedia */
Shape * ShapeMedia::getShape(){
return shape;
}
double ShapeMedia::area() const{
return shape->area();
}
double ShapeMedia::perimeter() const{
return shape->perimeter();
}
/**< ComboMedia */
ComboMedia::ComboMedia() {
... |
<commit_before>#pragma once
#include "Tools/NoCreateU.hpp"
#include <string>
#include <vector>
namespace proZPRd
{
/**
Klasa opisująca podstawowe operacje na pliku
W chwili obecnej zakładam, że będzie zawierała wyłącznie metody statyczne itp, więc nie ma konstruktorów, destruktorów itp. Zabronienie tworzenia ... |
<commit_before>// ======================================================================== //
// Copyright 2009-2018 Intel Corporation //
// //
// Licensed under the Apache License, Version 2.0 (the "License"); ... |
<commit_before>#include <iostream>
#include "Includes/EngineLogger.h"
#include "SFML/Graphics.hpp"
int main() {
sf::RectangleShape rect(sf::Vector2f(50,40));
sf::RenderWindow window(sf::VideoMode(1280, 720), "Test");
EngineLogger logger = EngineLogger();
logger.Log(EngineLogger::LogLevel::LOG_INFO, "Renderer succ... |
<commit_before>/*
* Copyright 2010-2012 Fabric Engine Inc. All rights reserved.
*/
#include "Inst.h"
#include <Fabric/Core/KL/StringSource.h>
#include <Fabric/Core/KL/Scanner.h>
#include <Fabric/Core/KL/Parser.hpp>
#include <Fabric/Core/AST/Function.h>
#include <Fabric/Core/AST/GlobalList.h>
#include <Fabric/Core/... |
<commit_before>AliJetReader *CreateJetReader(Char_t *jr); // Common config
AliJetFinder *CreateJetFinder(Char_t *jf,Float_t radius = -1);
AliAnalysisTaskJets *AddTaskJets(Char_t *jr, Char_t *jf,Float_t radius = -1); // for the new AF
AliAnalysisTaskJets *AddTaskJets(Char_t *jr, Char_t *jf, Float_t radius)
{
... |
<commit_before>#include <map>
#include <sstream>
#include "GtpLayer.h"
#include "IPv4Layer.h"
#include "IPv6Layer.h"
#include "PayloadLayer.h"
#include "EndianPortable.h"
namespace pcpp
{
#define PCPP_GTP_V1_GPDU_MESSAGE_TYPE 0xff
/// ==================
/// GtpExtension class
/// ==================
GtpV1Layer::Gtp... |
<commit_before>/*
* Copyright 2016-present Facebook, 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 appl... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: boolexpression.cxx,v $
*
* $Revision: 1.3 $
*
* last change: $Author: rt $ $Date: 2005-09-08 23:14:15 $
*
* The Contents of this file are... |
<commit_before>#ifndef ALEPH_TOPOLOGY_SPINE_HH__
#define ALEPH_TOPOLOGY_SPINE_HH__
#include <aleph/topology/Intersections.hh>
#include <set>
#include <vector>
namespace aleph
{
namespace topology
{
/**
Checks whether a simplex in a simplicial complex is principal, i.e.
whether it is not a proper face of any ot... |
<commit_before>#pragma once
class HttpRouter
{
public:
private:
};
<commit_msg>update http_router.hpp 修改<commit_after>#pragma once
#include <vector>
#include <map>
#include <string>
#include <functional>
#include "function_traits.hpp"
#include "lexical_cast.hpp"
class HttpRouter
{
class token_parser
{
... |
<commit_before>#include "stdafx.h"
#include <string>
#include <map>
#include <vector>
#include "../Application.h"
#include "../ModuleScripting.h"
#include "../ModuleInput.h"
#include "../ModuleWindow.h"
#include "../GameObject.h"
#include "../ComponentScript.h"
#include "../ComponentTransform.h"
#include "../SDL/inclu... |
<commit_before>#ifndef GHULBUS_LIBRARY_INCLUDE_GUARD_VULKAN_PHYSICAL_DEVICE_HPP
#define GHULBUS_LIBRARY_INCLUDE_GUARD_VULKAN_PHYSICAL_DEVICE_HPP
/** @file
*
* @brief Physical device.
* @author Andreas Weis (der_ghulbus@ghulbus-inc.de)
*/
#include <gbVk/config.hpp>
#include <vulkan/vulkan.h>
#include <vulkan/vulkan.h... |
<commit_before>#ifndef GRL_KUKA_DRIVER
#define GRL_KUKA_DRIVER
#include <tuple>
#include <memory>
#include <thread>
#include <boost/asio.hpp>
#include <boost/circular_buffer.hpp>
#include <boost/exception/all.hpp>
#include <boost/config.hpp>
#include <boost/make_shared.hpp>
#include <boost/range/algorithm/copy.hpp>
... |
<commit_before>#ifndef __GT_UTILS_SINGLETONS_HPP__
#define __GT_UTILS_SINGLETONS_HPP__
//////////////////////////////////////////////////////////////////////////////////////////////////////////////
/**
* @brief Macro for declaring singletons.
*
* Intended to be used like:
*
* <pre>
* class SingletonImplementati... |
<commit_before>#include <Bindings/Bindings.hpp>
#include <Scene/Scene.hpp>
#include <Script/GameObject.hpp>
#include <Script/GlobalState.hpp>
#include <Script/ViliLuaBridge.hpp>
#include <System/Loaders.hpp>
#include <Transform/UnitVector.hpp>
#include <Transform/Units.hpp>
#include <Triggers/Trigger.hpp>
#include <Tri... |
<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>/* Copyright (C) 2013 Slawomir Cygan <slawomir.cygan@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 r... |
<commit_before>/*
* DefaultForwardChainerCB.cc
*
* Copyright (C) 2015 Misgana Bayetta
*
* Author: Misgana Bayetta <misgana.bayetta@gmail.com>
*
* 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 by the Free Soft... |
<commit_before>#pragma once
#include <gcl/mp/type_traits.hpp>
#include <tuple>
namespace gcl::mp::type_traits
{
// Limitations : compilers support
// Clang 11.0.0 : does not support "Lambdas in unevaluated contexts" (P0315R4)
// MsVC 19.28 : "error C2057: expected constant expression" in constev... |
<commit_before><commit_msg>legion: getting type tags right for default constructors of IndexSpaceT and IndexPartitionT<commit_after><|endoftext|> |
<commit_before>/*
This file is part of KDE
Copyright (C) 1998-2000 Waldo Bastian (bastian@kde.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 limita... |
<commit_before>#include "types.h"
#include "kernel.hh"
#include "spinlock.h"
#include "condvar.h"
#include "fs.h"
#include "stat.h"
#include "kalloc.hh"
#include "file.hh"
#include "bits.hh"
#include "amd64.h"
#include "cpu.hh"
#include "sampler.h"
#define LOGHEADER_SZ (sizeof(struct logheader) + \
... |
<commit_before>#include "mugen_background.h"
#include <math.h>
#include <ostream>
#include <cstring>
#include <string>
#include <algorithm>
#include "globals.h"
#include "mugen_sprite.h"
#include "util/bitmap.h"
//static double pi = 3.14159265;
using namespace std;
static double interpolate(double f1, double f2, do... |
<commit_before>/*
* Part of Appstream, a library for accessing AppStream on-disk database
* Copyright 2014 Sune Vuorela <sune@vuorela.dk>
*
* 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 Software Foun... |
<commit_before>/*
* Copyright (C) 2008, 2009 Nokia Corporation.
*
* Contact: Marius Vollmer <marius.vollmer@nokia.com>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public License
* version 2.1 as published by the Free Software Foundation.... |
<commit_before>#include "InjectOpenGLIntrinsics.h"
#include "IRMutator.h"
#include "IROperator.h"
#include "CodeGen_GPU_Dev.h"
#include "Substitute.h"
namespace Halide {
namespace Internal {
using std::string;
using std::vector;
class InjectOpenGLIntrinsics : public IRMutator {
public:
InjectOpenGLIntrinsics()
... |
<commit_before>#include "styleContext.h"
#include "platform.h"
#include "builders.h"
#include "scene/scene.h"
#include "data/propertyItem.h"
#define DUMP(...) //do { logMsg(__VA_ARGS__); duk_dump_context_stderr(m_ctx); } while(0)
namespace Tangram {
const static char DATA_ID[] = "\xff""\xff""data";
const static cha... |
<commit_before>// Copyright (c) 2018 Chris Ohk, Youngjoong Kim, SeungHyun Jeon
// We are making my contributions/submissions to this project solely in our
// personal capacity and are not conveying any rights to any intellectual
// property of any third parties.
#include <hspp/Games/GameManager.hpp>
namespace Hearth... |
<commit_before>#include <stdio.h>
#include <opencv2/video/background_segm.hpp>
#include "opencv2/opencv.hpp"
#include "physics.h"
using namespace cv;
using namespace std;
const char *win = "Flying Pancake";
static bool reverseMirror = true;
int main(int argc, char **argv)
{
if (argc > 2) {
fprintf(stde... |
<commit_before>// Protocol Buffers - Google's data interchange format
// Copyright 2008 Google Inc. All rights reserved.
// https://developers.google.com/protocol-buffers/
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
... |
<commit_before>/**
* @file MelFilter.cpp
*
* Triangular filters in Mel frequency scale.
*
* This file is part of the Aquila DSP library.
* Aquila is free software, licensed under the MIT/X11 License. A copy of
* the license is provided with the library in the LICENSE file.
*
* @package Aquila
* @version 3.0.0... |
<commit_before>/* Copyright 2019 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>// @(#)root/graf:$Name: $:$Id: TASPluginGS.cxx,v 1.1 2005/07/05 12:36:05 brun Exp $
// Author: Valeriy Onuchin 23/06/05
/*************************************************************************
* Copyright (C) 1995-2001, Rene Brun and Fons Rademakers. *
* All rights reserved. ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.