text stringlengths 54 60.6k |
|---|
<commit_before>/*
* main.cpp (Tutorial03_Texturing)
*
* This file is part of the "LLGL" project (Copyright (c) 2015 by Lukas Hermanns)
* See "LICENSE.txt" for license information.
*/
#include "../tutorial.h"
#define STB_IMAGE_IMPLEMENTATION
#include "../stb_image.h"
class Tutorial03 : public Tutorial
{
LL... |
<commit_before>/******************************************************************************
* ____ _ _____ *
* / ___| / \ | ___| C++ *
* | | / _ \ | |_ Actor ... |
<commit_before>#define BUILDING_NODE_EXTENSION
#include <node.h>
#include <v8.h>
#include <unistd.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <iostream>
#include <telldus-core.h>
using namespace v8;
using namespace node;
using namespace std;
namespace telldus_v8 {
struct DeviceEventBa... |
<commit_before>#include <Cosa/Alarm.hh>
#include <Cosa/AnalogPin.hh>
#include <Cosa/InputPin.hh>
#include <Cosa/PinChangeInterrupt.hh>
#include <Cosa/RTT.hh>
#include <Cosa/Watchdog.hh>
#include <stdint-gcc.h>
#include <NRF24L01P.hh>
//PINS
static const Board::DigitalPin NRF_POWER = Board::D8;
static const Board::Di... |
<commit_before>/**
* @file llupdaterservice.cpp
*
* $LicenseInfo:firstyear=2010&license=viewerlgpl$
* Second Life Viewer Source Code
* Copyright (C) 2010, Linden Research, Inc.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* Lic... |
<commit_before>/*
Copyright 2017 Harald Sitter <sitter@kde.org>
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
version 2.1 of the License, or (at your option) versi... |
<commit_before>#include <memory>
#include <vtkDataSet.h>
#include <vtkXMLImageDataReader.h>
#include <vtkXMLStructuredGridReader.h>
#include <vtkImageData.h>
#include <vtkNew.h>
#include <vtkFieldData.h>
#include <vtkStringArray.h>
#include <vtkStdString.h>
#include "io/path.h"
#include "io/gmm_vtk_data_array.h"
#inc... |
<commit_before>/*
pgmspace.cpp - string functions that support PROGMEM
Copyright (c) 2015 Michael C. Miller. All right reserved.
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
v... |
<commit_before>// Copyright Daniel Wallin 2006. Use, modification and distribution is
// subject to 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)
#include <boost/python.hpp>
#include <libtorrent/alert.hpp>
#include <libtorrent/alert_... |
<commit_before><commit_msg>BUG: fix QByteArray to std::string conversion in monteverdi<commit_after><|endoftext|> |
<commit_before>#include <thread>
#include <vector>
#include <string>
#include <cassert>
#define SDL_MAIN_HANDLED
#include <SDL.h>
#include <glm/glm.hpp>
#include <glm/ext.hpp>
#include <vtkSmartPointer.h>
#include <vtkXMLImageDataReader.h>
#include <vtkImageData.h>
#include <vtkThreshold.h>
#include <vtkContourForests.... |
<commit_before>//=======================================================================
// Copyright (c) 2014-2015 Baptiste Wicht
// Distributed under the terms of the MIT License.
// (See accompanying file LICENSE or copy at
// http://opensource.org/licenses/MIT)
//===================================================... |
<commit_before>/*
File: pinGPIO.hpp
Контакт general-purpose input/output (GPIO)
*/
template<int PORT, int DDR, int PIN, int BIT>
class PinGPIO
{
public:
/* Конструктор.
@arg inOut - направление вывода (вход/выход).
0 - вход.
1 -выход.
*/
PinGPIO(bool inOut);
~PinGPIO();
... |
<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 i... |
<commit_before>#include <Engine.hpp>
Engine::Engine(const int _argc, const char** _argv) :
argc(_argc), argv(_argv) {
// check if a game directory is specified on the command line
if (argc > 1 and argv[1] != nullptr) {
game = std::string(argv[1]);
} else {
game = "game";
}
... |
<commit_before>/*
Filename: Events.cpp
Purpose: Mutli-targeting inner process message passing
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 L... |
<commit_before>/*
Copyright (c) 2003, 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>// Copyright (c) 2015, Baptiste Burles
//
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// * Redistributions of source code must retain the above copyright
// notice, thi... |
<commit_before>/*****************************************************************************
*
* This file is part of Mapnik (c++ mapping toolkit)
*
* Copyright (C) 2006 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 © 2014 German Neuroinformatics Node (G-Node)
//
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted under the terms of the BSD License. See
// LICENSE file in the root of the Project.
//
// Author: Christian Kellner ... |
<commit_before>/***************************************************************************
* Copyright (c) 2016, Johan Mabille, Sylvain Corlay and Wolf Vollprecht *
* *
* Distributed under the terms of the BSD 3-Clause License. ... |
<commit_before>/**
* @file llhints.cpp
* @brief Hint popups for displaying context sensitive help in a UI overlay
*
* $LicenseInfo:firstyear=2000&license=viewergpl$
*
* Copyright (c) 2000-2009, Linden Research, Inc.
*
* Second Life Viewer Source Code
* The source code in this file ("Source Code") is provided b... |
<commit_before>// vim: set ts=2 sw=2 tw=99 et:
#include "unpack.h"
#include <stdlib.h>
#include <stdio.h>
#include <string>
#ifdef EMSCRIPTEN
# include <emscripten.h>
#endif
using namespace std;
int
main(int argc, char** argv)
{
if (argc != 3 || !argv[1] || !argv[2]) {
fprintf(stderr, "Usage: asmjsunpack in.... |
<commit_before>#include <stdint.h>
#include "frame.h"
FixedHeader::FixedHeader(MessageType type, bool dup, uint8_t qos, bool retain, uint32_t length, uint16_t id) :
Type(type), Dup(dup), QoS(qos), Retain(retain), Length(length), PacketID(id) {}
ConnectMessage::ConnectMessage(uint16_t keepAlive, std::string id, bool c... |
<commit_before>/*
* assembler32.cpp
*
* Created on: Jul 23, 2014
* Author: Pimenta
*/
#include <cstdint>
#include <cstdio>
#include <fstream>
#include <map>
#include <set>
#include <string>
#include <sstream>
using namespace std;
typedef uint32_t uword_t;
#ifndef MEM_WORDS
#define MEM... |
<commit_before>/*
Copyright 2008 Google 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 applicable law or agreed... |
<commit_before>/*********************************************************************************
*
* Inviwo - Interactive Visualization Workshop
*
* Copyright (c) 2014-2015 Inviwo Foundation
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permit... |
<commit_before>/*
* Copyright 2007-2020 CM4all GmbH
* 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 code must... |
<commit_before>/*
// ts_mruby.hpp - ts_mruby internal functions
//
*/
#ifndef TS_MRUBY_H
#define TS_MRUBY_H
#include <vector>
#include <map>
#include <atscppapi/InterceptPlugin.h>
#include <atscppapi/Transaction.h>
#include <atscppapi/TransformationPlugin.h>
#define MODULE_NAME "ts_mruby"
#define MODULE_VERSION "0.1... |
<commit_before>// Copyright (c) 2020 by Robert Bosch GmbH, Apex.AI Inc. 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/LICEN... |
<commit_before>#include "BracketedSentenceWidget.hh"
#include <QDebug>
#include <QPainter>
#include <QTextEdit>
#include <QSettings>
BracketedSentenceWidget::BracketedSentenceWidget(QWidget *parent)
:
QTextEdit(parent),
d_stylesheet(":/stylesheets/bracketed-sentence.xsl"),
d_transformer(d_stylesheet)
{
... |
<commit_before>/************************************************************************************
**
* @copyright (c) 2013-2100, ChengDu Duyer Technology Co., LTD. All Right Reserved.
*
*************************************************************************************/
/**
* @file g_fileinputstream.cpp
... |
<commit_before>/******************************************************************************
* Copyright 2017 The Apollo 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 ... |
<commit_before>#include "graphics/sprite/sprite_painter.h"
#include "graphics/sprite/sprite.h"
#include "graphics/painter.h"
#include <gsl/gsl>
#include "graphics/material/material.h"
#include "graphics/text/text_renderer.h"
#include "halley/utils/algorithm.h"
using namespace Halley;
void MaterialRecycler::startFram... |
<commit_before>/****************************************************************************
**
** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
** All rights reserved.
** Contact: Nokia Corporation (qt-info@nokia.com)
**
** This file is part of the Qt Creator.
**
** $QT_BEGIN_LICENSE:LGPL$
** No Co... |
<commit_before>#include <system/System.h>
#include <utils/Bytes.h>
#include <map>
namespace lime {
static int id_b;
static int id_length;
static bool init = false;
static bool useBuffer = false;
static std::map<Bytes*, bool> usingValue;
inline void _initializeBytes () {
if (!init) {
id_b = v... |
<commit_before><commit_msg>Add only_track_persisted feature<commit_after><|endoftext|> |
<commit_before>/*
*
* MIT License
*
* Copyright (c) 2016-2017 The Cats Project
*
* 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>/*
* CollisionDetector.hpp
*
* Author: Marcel Veltman
*/
#ifndef COLLISIONDETECTOR_HPP_
#define COLLISIONDETECTOR_HPP_
#include <typeinfo>
#include "scene/collisiondetection/BoundingSphere.hpp"
#include "scene/collisiondetection/BoundingVolume.hpp"
namespace scene {
namespace collisiondete... |
<commit_before>#if not defined( WRP_WONDERLAND_SUBSYSTEM_GLFW3 ) \
and not defined( WRP_WONDERLAND_SUBSYSTEM_GLFW2 ) \
and not defined( WRP_WONDERLAND_SUBSYSTEM_SDL2 ) \
and not defined( WRP_WONDERLAND_SUBSYSTEM_SDL1 )
#ifndef EMSCRIPTEN
#define WRP_WONDERLAND_SUBSYSTEM_GLFW3
#else
#define WRP_WONDERLAN... |
<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>/* IBM_PROLOG_BEGIN_TAG */
/* This is an automatically generated prolog. */
/* */
/* $Source: src/import/chips/p9/procedures/hwp/memory/p9_mss_memdiag.C $ ... |
<commit_before><commit_msg>Run tests faster.<commit_after><|endoftext|> |
<commit_before>/*
Copyright (c) 2003, Magnus Jonsson
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 cond... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: iosys.hxx,v $
*
* $Revision: 1.5 $
*
* last change: $Author: hr $ $Date: 2005-09-29 16:31:38 $
*
* The Contents of this file are made ava... |
<commit_before>//
// Copyright (C) 2013
// Alessio Sclocco <a.sclocco@vu.nl>
//
// 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 3 of the License, or
// (at your option) any lat... |
<commit_before>// cpsm - fuzzy path matcher
// Copyright (C) 2015 Jamie Liu
//
// 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
//
// Unle... |
<commit_before>#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <iomanip>
#include <iostream>
#include <limits>
#include <vector>
#include <sys/resource.h>
#include "hashpack.h"
#include "hashmap.h"
using namespace std;
using namespace rigtorp;
inline uint64_t RDTSC_START() {
unsigned cyc_high, ... |
<commit_before>/*M///////////////////////////////////////////////////////////////////////////////////////
//
// IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING.
//
// By downloading, copying, installing or using the software you agree to this license.
// If you do not agree to this license, do not d... |
<commit_before>/******************************************************************************
* Copyright 2017 The Apollo 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 ... |
<commit_before>/*
* Copyright (c) 2013 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>/*****************************************************************************
* vlcpeer.cpp: scriptable peer descriptor
*****************************************************************************
* Copyright (C) 2002-2005 the VideoLAN team
* $Id$
*
* Authors: Samuel Hocevar <sam@zoy.org>
*
* T... |
<commit_before>/*********************************************************************
* Software License Agreement (BSD License)
*
* Copyright (c) 2011, Willow Garage, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided tha... |
<commit_before>#include "rampancy/ClangCompiler.h"
extern "C" {
#include "clips.h"
}
namespace rampancy {
llvm::sys::Path getExecutablePath(const char* argv0) {
void *MainAddr = (void*) (intptr_t) getExecutablePath;
return llvm::sys::Path::GetMainExecutable(argv0, MainAddr);
}
ClangCompiler::Clan... |
<commit_before>/**
* Exercise 2 : Read in a xml-file, validate via sheme and generate a csv with the values.
*
* @author FirstSanny
*/
#include <xercesc/util/PlatformUtils.hpp>
#include <xercesc/util/XMLString.hpp>
#include <iostream>
#include <fstream>
#include <string>
#include <stdlib.h>
#include <vector>
#in... |
<commit_before>/******************************************************************************
* ____ _ _____ *
* / ___| / \ | ___| C++ *
* | | / _ \ | |_ Actor ... |
<commit_before>/*=========================================================================
Program: Visualization Toolkit
Module: vtkCurvatures.cxx
Language: C++
Date: $Date$
Version: $Revision$
Copyright (c) 1993-2002 Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Cop... |
<commit_before>/*
Huffman Coding (encoder)
lossless data compression algorithm, entropy encoding
The main function takes as argument:
arg1: input file name, this should be a ASCII-only textfile.
It then writes the following files:
fout1: output file name: fname1,
contains the Huffman code words.... |
<commit_before>//===========================================
// Lumina-DE source code
// Copyright (c) 2015, Ken Moore
// Available under the 3-clause BSD license
// See the LICENSE file for full details
//===========================================
#include "LDesktopPluginSpace.h"
#include "LSession.h"
#include "d... |
<commit_before>// Copyright (C) 2007-2013 CEA/DEN, EDF R&D, OPEN CASCADE
//
// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser Genera... |
<commit_before>/***********************************************************************
filename: CEGUIOpenGLGeometryBuffer.cpp
created: Wed, 8th Feb 2012
author: Lukas E Meindl (based on code by Paul D Turner)
*************************************************************************/
/************... |
<commit_before>#include <cetty/shiro/session/SessionManager.h>
#include <cetty/shiro/util/EmptyObj.h>
namespace cetty {
namespace shiro {
namespace session {
using namespace cetty::shiro::util;
const int SessionManager::MILLIS_PER_SECOND = 1000;
const int SessionManager::MILLIS_PER_MINUTE = 60 * MILLIS_PER_SECOND;
c... |
<commit_before>#include <cstdio>
#include <cstdlib>
#include <list>
#include <vector>
#include <algorithm>
#include <cmath>
using namespace std;
/*
D := Tamanho do quadrado.
d := tamanho das subdivisões
n := Tamanho da matriz;
*/
typedef struct ponto{
int x;
int y;
int i; // INDICE NO VETOR DE VERTICES
... |
<commit_before>/*****************************************************************************
*
* This file is part of Mapnik (c++ mapping toolkit)
*
* Copyright (C) 2006 Artem Pavlenko, Jean-Francois Doyon
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU ... |
<commit_before>#include <esn/esn.h>
int main()
{
return 0;
}
<commit_msg>samples : sine : create network<commit_after>#include <esn/esn.h>
static const unsigned kNeuronCount = 100;
int main()
{
ESN::NetworkParamsNSLI params;
params.inputCount = 1;
params.neuronCount = kNeuronCount;
params.outputC... |
<commit_before>/*
Copyright (C) 2014 Harald Sitter <apachelogger@kubuntu.org>
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
version 2.1 of the License, or (at your option) v... |
<commit_before>/* Copyright (C) 2003 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>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: VCartesianCoordinateSystem.hxx,v $
*
* $Revision: 1.3 $
*
* last change: $Author: rt $ $Date: 2005-09-08 01:38:43 $
*
* The Contents of t... |
<commit_before>/*
* UnsavedFiles.hpp
*
* Copyright (C) 2009-18 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 General ... |
<commit_before>// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/chromeos/options/network_config_view.h"
#include <algorithm>
#include "base/string_util.h"
#include "base/ut... |
<commit_before>// Copyright (c) 2009 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/chromeos/status/language_menu_button.h"
#include <string>
#include "app/l10n_util.h"
#include "app/resource_... |
<commit_before>/* memofile-conduit.cc KPilot
**
** Copyright (C) 2004-2004 by Jason 'vanRijn' Kasper
**
** This file does the actual conduit work.
*/
/*
** This program 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 S... |
<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 "chrome/browser/gtk/options/content_exception_editor.h"
#include "app/l10n_util.h"
#include "app/resource_bundle.h"
#include ... |
<commit_before>// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/defaults.h"
#include "chrome/browser/browser.h"
#include "chrome/browser/browser_window.h"
#include "chro... |
<commit_before>// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "base/file_path.h"
#include "chrome/browser/browser.h"
#include "chrome/browser/browser_window.h"
#include "chrome/browse... |
<commit_before>#include "road.h"
//Beállítja a változókat
Road::Road(QGraphicsWidget* parent) : QGraphicsWidget(parent),
life(Settings::STARTLIFE),isDisplay(false),distance(0),speed(Settings::STEP_SIZE),
accel(0),moving(0)
{
setPos(0,Settings::SCREEN_HEIGHT-Settings::ROAD_HEIGHT);
myCar = new Car(this)... |
<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>/*
==============================================================================
OSCMessenger.cpp
Created: 17 Feb 2017 11:19:57pm
Author: Oli
==============================================================================
*/
// see Poco::Contidion section of http://openframe... |
<commit_before>/*
* Copyright (c) 2011 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>#pragma once
#include <string>
#include <boost/concept_check.hpp>
#include <opencv2/core.hpp>
#include <opencv2/core/affine.hpp>
namespace cv
{
typedef std::string String;
namespace viz
{
class CV_EXPORTS Color : public Scalar
{
public:
Color();
... |
<commit_before>// SciTE - Scintilla based Text Editor
// LexCPP.cxx - lexer for C++, C, Java, and Javascript
// Copyright 1998-2000 by Neil Hodgson <neilh@scintilla.org>
// The License.txt file describes the conditions under which this software may be distributed.
#include <stdlib.h>
#include <string.h>
#include <ct... |
<commit_before>// Scintilla source code edit control
/** @file LexSML.cxx
** Lexer for SML.
**/
// Copyright 2009 by James Moffatt and Yuzhou Xin
// The License.txt file describes the conditions under which this software may be distributed.
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include <stdio.... |
<commit_before>/******************************************************************************\
* LuaVariable.hpp *
* A variable living in a Lua interpreter. *
* Leandro Motta Barros ... |
<commit_before>
#include "ImageServer.h"
#include <iostream>
#include <stdexcept>
#include <string>
#include <fstream>
#include <assert.h>
#include <boost/filesystem.hpp>
#include <boost/date_time/posix_time/posix_time.hpp>
#include <boost/regex.hpp>
#include <boost/asio.hpp>
// #include <boost/thread/thread.hpp>
#incl... |
<commit_before>/**************************************************************************
* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
* *
* Author: The ALICE Off-line Project. *
... |
<commit_before>/**************************************************************************
* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
* *
* Author: The ALICE Off-line Project. *
... |
<commit_before>/*****************************************************************************
* Project: BaBar detector at the SLAC PEP-II B-factory
* Package: RooFitCore
* File: $Id: RooCurve.cc,v 1.16 2001/09/19 01:35:29 verkerke Exp $
* Authors:
* DK, David Kirkby, Stanford University, kirkby@hep.stanford.... |
<commit_before>/**************************************************************************
* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
* *
* Author: The ALICE Off-line Project. *
... |
<commit_before>/*
Copyright (C) 2012 Lasath Fernando <kde@lasath.org>
Copyright (C) 2012 David Edmundson <kde@davidedmundson.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 Software Fo... |
<commit_before>/*
* byte_offset.cpp
*
* An implementation of the byte_offset compression scheme used with CBF
* images with the hopeful intention of replacing existing Python code for
* doing this with something quicker. Main routines are:
*
* vector<char> compress(vector<int>)
* vector<int> uncompress(vect... |
<commit_before>/*****************************************************************************
* wxwidgets.hpp: Common headers for the wxwidges interface
*****************************************************************************
* Copyright (C) 1999-2005 the VideoLAN team
* $Id$
*
* Authors: Gildas Bazin <gbazi... |
<commit_before>#include "stdafx.h"
#include "shaders.h"
const uint32_t WIDTH = 1024u;
const uint32_t HEIGHT = 768u;
static PFN_vkCreateDebugReportCallbackEXT pfnCreateDebugReportCallbackEXT = nullptr;
static PFN_vkDestroyDebugReportCallbackEXT pfnDestroyDebugReportCallbackEXT = nullptr;
static FILE* file = nullptr;
... |
<commit_before>#ifndef BPMODULE_GUARD_EXCEPTION__ASSERT_HPP_
#define BPMODULE_GUARD_EXCEPTION__ASSERT_HPP_
#include "bpmodule/pragma.h"
namespace bpmodule {
namespace exception {
PRAGMA_WARNING_PUSH
PRAGMA_WARNING_IGNORE_UNUSED_PARAMETERS
/*! \brief Asserts that a condition is true, throwing an exception if it is n... |
<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. Redistributi... |
<commit_before>#include "term_buffer.h"
#include "term_window.h"
#include "term_cell.h"
#include "cap_manager.h"
#include "string_utils.h"
#include <iostream>
#include <iterator> // for ostream_iterator
DEFINE_CAP(enable_mode);
DEFINE_CAP(disable_mode);
DEFINE_CAP(enter_bold_mode);
DEFINE_CAP(enter_reverse_mode);
DE... |
<commit_before>///////////////////////////////////////////////////////////////////////////////
//
// File FilterCellHistoryPoints.cpp
//
// For more information, please see: http://www.nektar.info
//
// The MIT License
//
// Copyright (c) 2006 Division of Applied Mathematics, Brown University (USA),
// Department of Ae... |
<commit_before>//===-- WebAssemblyAddMissingPrototypes.cpp - Fix prototypeless functions -===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------... |
<commit_before>//
// Created by monty on 08/12/16.
//
#include <string>
#include <vector>
#include <memory>
#include <functional>
#include "Vec2i.h"
#include "IMapElement.h"
#include "CActor.h"
#include "CGameDelegate.h"
#include "CMap.h"
#include "IRenderer.h
#include "IFileLoaderDelegate.h"
#include "CPlainFileLo... |
<commit_before>/****************************************************************************
**
** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
** All rights reserved.
** Contact: Nokia Corporation (directui@nokia.com)
**
** This file is part of meegotouch-controlpanelapplets.
**
** If you have que... |
<commit_before>// This file is part of Eigen, a lightweight C++ template library
// for linear algebra.
//
// Copyright (C) 2011 Kolja Brix <brix@igpm.rwth-aachen.de>
// Copyright (C) 2011 Andreas Platen <andiplaten@gmx.de>
// Copyright (C) 2012 Chen-Pang He <jdh8@ms63.hinet.net>
//
// This Source Code Form is subject ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.