text stringlengths 54 60.6k |
|---|
<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>// SqlBak.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
// The following come from "SQL Server 2005 Virtual Backup Device Interface (VDI) Specification"
// http://www.microsoft.com/downloads/en/details.aspx?familyid=416f8a51-65a3-4e8e-a4c8-adfe15e850fc
#include "vdi... |
<commit_before>// Copyright (c) 2015 Flowgrammable.org
// All rights reserved
#ifndef LIBMATCH_HASH_HPP
#define LIBMATCH_HASH_HPP
// The hashing module...
//
// TODO: Actually document the hash table.
#include <vector>
namespace hash_table
{
constexpr long table_sizes[] = {
29, 53, 97, 193, 389, 769, 1543, 3079... |
<commit_before>/*
c2ffi
Copyright (C) 2013 Ryan Pavlik
This file is part of c2ffi.
c2ffi 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 la... |
<commit_before>#include <iostream>
#include <cstdlib>
#include <cstring>
#include <string>
#include "boost/program_options.hpp"
#include "Model.h"
#include "Logician.h"
#include "BookKeeper.h"
#include "Timer.h"
#include "InputXML.h"
#include "CycException.h"
#include "Env.h"
#include "Logger.h"
using namespace std;
... |
<commit_before>/*********************************************************************
* Software License Agreement (BSD License)
*
* Copyright (c) 2016, CITEC, Bielefeld University
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted prov... |
<commit_before>////////////////////////////////////////////////////////////
// Coop Door Controller
////////////////////////////////////////////////////////////
#include <Arduino.h>
#include <PMS.h>
#include <GPSParser.h>
#include <SaveController.h>
#include "ICommInterface.h"
#include "TelemetryTags.h"
#include "Tel... |
<commit_before>/*
* The Apache Software License, Version 1.1
*
*
* Copyright (c) 1999-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. Red... |
<commit_before>/* vim:expandtab:shiftwidth=2:tabstop=2:smarttab:
*
* libtest
*
* Copyright (C) 2011 Data Differential, http://datadifferential.com/
*
* 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 ... |
<commit_before><commit_msg>workaround: make padding not supported by ConvOclDirectFwd1x1<commit_after><|endoftext|> |
<commit_before>/* This file is part of the KDE project
Copyright (C) 2007 Matthias Kretz <kretz@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... |
<commit_before>/*
* Copyright (C) 2019 Red Hat, Inc.
*
* Licensed under the GNU Lesser General Public License Version 2.1
*
* 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>/***********************************************************************
filename: FalTooltip.cpp
created: Thu Jul 7 2005
author: Paul D Turner <paul@cegui.org.uk>
*************************************************************************/
/********************************************... |
<commit_before>#include <cassert>
#include <vSMC/internal/random.hpp>
#ifdef V_SMC_USE_STD_RANDOM
using std::binomial_distribution;
using std::discrete_distribution;
using std::gamma_distribution;
using std::lognormal_distribution;
using std::normal_distribution;
using std::uniform_int_distribution;
using std::uniform... |
<commit_before>/*************************************************************************
*
* $RCSfile: ZipPackageEntry.hxx,v $
*
* $Revision: 1.5 $
*
* last change: $Author: mtg $ $Date: 2001-09-14 15:46:37 $
*
* The Contents of this file are made available subject to the terms of
* either of the followi... |
<commit_before>//=======================================================================
// Copyright (c) 2013-2014 Baptiste Wicht
// Distributed under the terms of the MIT License.
// (See accompanying file LICENSE or copy at
// http://opensource.org/licenses/MIT)
//===================================================... |
<commit_before>#include <QVector3D>
#include "coverage.h"
#include "featurecoverage.h"
#include "feature.h"
#include "geometryhelper.h"
#include "drawers/attributevisualproperties.h"
#include "drawers/drawerattributesetterfactory.h"
#include "simplelinesetter.h"
using namespace Ilwis;
using namespace Geodrawer;
REGIS... |
<commit_before><commit_msg>typo<commit_after><|endoftext|> |
<commit_before>/****************************************************************************
**
** Copyright (C) Qxt Foundation. Some rights reserved.
**
** This file is part of the QxtCore module of the Qxt library.
**
** This library is free software; you can redistribute it and/or modify it
** under the terms... |
<commit_before>#include "huffman.hpp"
#include <iostream>
#include <fstream>
#include <vector>
#include <map>
#include <utility>
#include <string>
#include <cstring>
#include <limits>
#include "heap.hpp"
#include "binarystream.hpp"
using namespace algorithm;
void
Huffman
::CompressFile(StreamInType & fin, StreamOut... |
<commit_before>// Copyright (c) 2014 GitHub, Inc. All rights reserved.
// Use of this source code is governed by the MIT license that can be
// found in the LICENSE file.
#include "atom/browser/web_dialog_helper.h"
#include <string>
#include <vector>
#include "atom/browser/atom_browser_context.h"
#include "atom/brow... |
<commit_before>#include "GL.h"
#include "VBO.h"
#include <cassert>
#include <iostream>
using namespace std;
static GLenum getGLDrawType(VBO::DrawType type) {
switch (type) {
case VBO::NONE: break;
case VBO::POINTS: return GL_POINTS;
case VBO::LINES: return GL_LINES;
case VBO::TRIANGLES: return GL_TRIANGLES... |
<commit_before>/*************************************************************************
*
* $RCSfile: ik_struct.hxx,v $
*
* $Revision: 1.2 $
*
* last change: $Author: np $ $Date: 2002-11-29 10:20:03 $
*
* The Contents of this file are made available subject to the terms of
* either of the following lice... |
<commit_before>/*
* Copyright 2006-2008 The FLWOR 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 required by... |
<commit_before>#include <stdio.h>
#include <stdlib.h>
#include <vector>
#include "ros/ros.h"
#include "std_msgs/MultiArrayLayout.h"
#include "std_msgs/MultiArrayDimension.h"
#include "std_msgs/Int32MultiArray.h"
int main(int argc, char **argv) {
ros::init(argc, argv, "arrayPublisher");
ros::NodeHandle n;
ros... |
<commit_before>// csabbg_member-names.t.cpp -*-C++-*-
class A
{
public:
int d_i;
protected:
int d_j;
private:
void private_f();
int private_a;
static int private_b;
char *private_c;
static char *pr... |
<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 "base/basictypes.h"
#include "base/string16.h"
#include "chrome/browser/autofill/autofill_common_unittest.h"
#include "chrome/... |
<commit_before>// Copyright (c) 2006-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/automation/automation_profile_impl.h"
#include "chrome/browser/chrome_thread.h"
#include "chrome/browser/... |
<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/views/options/exceptions_page_view.h"
#include "app/l10n_util.h"
#include "base/string_util.h"
#include "chro... |
<commit_before>/**
* Copyright (c) 2016-2018 mvs developers
*
* This file is part of metaverse-explorer.
*
* metaverse-explorer is free software: you can redistribute it and/or
* modify it under the terms of the GNU Affero General Public License with
* additional permissions to the one published by the Free Sof... |
<commit_before><commit_msg>TDBStore: pad record header to whole program size before storing it<commit_after><|endoftext|> |
<commit_before>/**
* Copyright (C) 2015 Dato, Inc.
* All rights reserved.
*
* This software may be modified and distributed under the terms
* of the BSD license. See the LICENSE file for details.
*/
#include <cstdlib>
#include <time.h>
#include <unistd.h>
#include <boost/filesystem.hpp>
#include <boost/algorith... |
<commit_before>#include "chainerx/cuda/cusolver.h"
<<<<<<< HEAD
#include <cublas_v2.h>
=======
>>>>>>> ivan-add-cusolver-handle
#include <cusolverDn.h>
#include <cuda_runtime.h>
#include <string>
#include "chainerx/cuda/cuda_set_device_scope.h"
#include "chainerx/error.h"
#include "chainerx/macro.h"
namespace chain... |
<commit_before>/*
* Copyright (C) 2015 deipi.com LLC and contributors. All rights reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to
* deal in the Software without restriction, including without limit... |
<commit_before>/*
*
* 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><commit_msg>SwTxtAttr::dumpAsXml: show hyperlink URLs<commit_after><|endoftext|> |
<commit_before>#include <rss.h>
#include <config.h>
#include <stringprep.h>
#include <cache.h>
#include <xmlpullparser.h>
#include <utils.h>
#include <logger.h>
#include <sstream>
#include <iostream>
#include <configcontainer.h>
using namespace newsbeuter;
rss_parser::rss_parser(const char * uri, cache * c, configcon... |
<commit_before>//===- DWARFDebugLoc.cpp --------------------------------------------------===//
//
// 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) 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><commit_msg>#79344# service name corrected; revision log removed<commit_after><|endoftext|> |
<commit_before>#ifndef __SOTA_AST__
#define __SOTA_AST__ = 1
#include <string>
#include <vector>
#include <iostream>
#include "z2h/ast.hpp"
#include "z2h/token.hpp"
namespace sota {
inline void sepby(std::ostream &os, std::string sep, std::vector<z2h::Ast *> items) {
if (items.size()) {
size... |
<commit_before><commit_msg>#92198# Admit that SwXPageStyle supports com.sun.star.style.PageProperties<commit_after><|endoftext|> |
<commit_before>//===-- Intercept.cpp - System function interception routines -------------===//
//
// 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>/*
* 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 later version.
*
* Written (W) 2009 Alexander Binder
* Copyrig... |
<commit_before>/*
* Copyright Andrey Semashev 2007 - 2015.
* 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)
*/
/*!
* \file visible_type.hpp
* \author Andrey Semashev
* \date 08.03.200... |
<commit_before>/**
* This file defines the `FilesystemDispatcher` class.
*/
#ifndef D2_CORE_FILESYSTEM_DISPATCHER_HPP
#define D2_CORE_FILESYSTEM_DISPATCHER_HPP
#include <d2/core/filesystem.hpp>
#include <d2/detail/mutex.hpp>
#include <boost/archive/text_oarchive.hpp>
#include <boost/config.hpp>
#include <boost/int... |
<commit_before>#ifndef STAN_MCMC_HMC_HAMILTONIANS_PS_POINT_HPP
#define STAN_MCMC_HMC_HAMILTONIANS_PS_POINT_HPP
#include <stan/callbacks/writer.hpp>
#include <stan/math/prim/fun/Eigen.hpp>
#include <boost/lexical_cast.hpp>
#include <stan/math/prim/fun/Eigen.hpp>
#include <string>
#include <vector>
namespace stan {
nam... |
<commit_before>/*
Dwarf Therapist
Copyright (c) 2009 Trey Stout (chmod)
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>#pragma once
#include"stdafx.h"
#include"../../../../server/serverBoostModel/serverBoostModel/protocol.h"
#include"../Server_Code/ClientClass.h"
#include "ObjMgr.h"
#include "Obj.h"
#include "RenderMgr.h"
#include "OtherPlayer.h"
#include "SceneMgr.h"
#include "Player.h"
void AsynchronousClientClass::pr... |
<commit_before>// Copyright (C) 2017 Rob Caelers <rob.caelers@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
// ... |
<commit_before>//===-- PPC32CodeEmitter.cpp - JIT Code Emitter for PowerPC32 -----*- C++ -*-=//
//
// 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>// 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/common/gfx/chrome_font.h"
#include "base/logging.h"
#include "base/sys_string_conversions.h"
#include "skia/inc... |
<commit_before>// ******************************************************************************************
// * This project is licensed under the GNU Affero GPL v3. Copyright © 2014 A3Wasteland.com *
// ******************************************************************************************
#include "player_sys.sq... |
<commit_before>/*
Copyright (c) 2009, 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) 2012, Dougal J. Sutherland (dsutherl@cs.cmu.edu). *
* All rights reserved. *
* ... |
<commit_before>/*
* CallRenderViewGL.cpp
*
* Copyright (C) 2009 by VISUS (Universitaet Stuttgart).
* Alle Rechte vorbehalten.
*/
#include "stdafx.h"
#include "mmcore/view/CallRenderViewGL.h"
using namespace megamol::core;
/*
* view::CallRenderViewGL::CallRenderViewGL
*/
view::CallRenderViewGL::CallRenderView... |
<commit_before>#pragma once
#include <memory>
#include <utility>
#include <type_traits>
#include "signal.hpp"
namespace eventpp {
namespace details {
template<class E>
struct event_tag { using type = E; };
template<int N, int M>
struct choice: public choice<N+1, M> { };
template<int N>
struct choice<N, N> { };
}... |
<commit_before>/*
* Copyright 2009, Google Inc.
* 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 l... |
<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 "ppapi/native_client/src/trusted/plugin/pnacl_resources.h"
#include "native_client/src/include/portability_io.h"
#include "na... |
<commit_before>/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice 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 ... |
<commit_before>/*
* This file is part of accounts-ui
*
* Copyright (C) 2009-2010 Nokia Corporation.
*
* Contact: Alberto Mardegan <alberto.mardegan@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 ... |
<commit_before>//
// Copyright (c) 2013-2014 Christoph Malek
// See LICENSE for more information.
//
#ifndef RJ_SHARED_DATA_MANAGER_HPP
#define RJ_SHARED_DATA_MANAGER_HPP
#include <mlk/filesystem/filesystem.h>
#include <mlk/tools/compiletime.h>
#include <mlk/types/types.h>
#include <map>
namespace rj
{
using dat... |
<commit_before>//===- Steensgaard.cpp - Context Insensitive Alias Analysis ---------------===//
//
// 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
* \author Johannes Riedl
*
* A tool for generating a sorted list of works that are part of the
*/
/*
Copyright (C) 2017, Library of the University of Tübingen
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero Gen... |
<commit_before>//----------------------------------------------------------------------------
/// \file async_file_logger.cpp
/// \author Serge Aleynikov
//----------------------------------------------------------------------------
/// \brief Asynchronous file logger
//-----------------------------------------------... |
<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
// "Lic... |
<commit_before>// This file is distributed under the MIT license.
// See the LICENSE file for details.
#pragma once
#ifndef VSNRAY_PATHTRACING_INL
#define VSNRAY_PATHTRACING_INL 1
#ifndef NDEBUG
#include <iostream>
#include <ostream>
#endif
#include <visionaray/get_surface.h>
#include <visionaray/result_record.h>
#... |
<commit_before>#include "TextTestResult.h"
#include "Exception.h"
#include "estring.h"
#include "Test.h"
using namespace std;
using namespace CppUnit;
std::ostream&
CppUnit::operator<< (std::ostream& stream, TextTestResult& result)
{
result.print (stream); return stream;
}
void
TextTestResult::addError (Test... |
<commit_before>// This file is distributed under the MIT license.
// See the LICENSE file for details.
#include <atomic>
#include <cassert>
#include <condition_variable>
#include <functional>
#include <thread>
#include <utility>
#include <visionaray/math/math.h>
#include <visionaray/random_sampler.h>
#include "macro... |
<commit_before>#include "../../base/SRC_FIRST.hpp"
#include "feature_routine.hpp"
#include "../../platform/platform.hpp"
#include "../../coding/file_writer.hpp"
void WriteToFile(string const & fName, vector<char> const & buffer)
{
FileWriter writer(fName);
if (!buffer.empty())
writer.Write(&buffer[0], buff... |
<commit_before>#include <iostream>
#include "pqrs/xml_compiler.hpp"
namespace pqrs {
xml_compiler::symbol_map::symbol_map(void) {
clear();
}
void xml_compiler::symbol_map::clear(void) {
symbol_map_.clear();
symbol_map_["ConfigIndex::VK__AUTOINDEX__BEGIN__"] = 0;
map_for_get_name_.clear();
}
void xml_compile... |
<commit_before>/* mbed Microcontroller Library
* Copyright (c) 2015 ARM 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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*... |
<commit_before>#include "./VERSION"
#include "./mcmap.h"
SETUP_LOGGER
#define SUCCESS 0
#define ERROR 1
void printHelp(char *binary) {
logger::info(
"Usage: {} <options> WORLDPATH\n\n"
" -from X Z coordinates of the block to start rendering at\n"
" -to X Z coordinates of t... |
<commit_before>#include "convertingMethods.h"
using namespace editorPluginTestingFramework;
using namespace qReal;
QStringList ConvertingMethods::convertQListExplosionDataIntoStringList(const QList<EditorInterface::ExplosionData> &explDataList)
{
QStringList resultList;
for (const EditorInterface::ExplosionData &el... |
<commit_before>#include "precompiled.h"
#include "engine/AI/AISystem.h"
namespace engine {
namespace AI {
AISystem::AISystem(scene::SceneSystem *sceneSystem)
: sceneSystem(sceneSystem)
{}
bool AISystem::init(){
LOG_INFO("AISystem init");
return true;
}
void AISystem::uninit(){
LOG_INFO("AISystem unin... |
<commit_before>#ifndef ENTT_ENTITY_HANDLE_HPP
#define ENTT_ENTITY_HANDLE_HPP
#include <iterator>
#include <tuple>
#include <type_traits>
#include <utility>
#include "../core/iterator.hpp"
#include "../core/type_traits.hpp"
#include "entity.hpp"
#include "fwd.hpp"
namespace entt {
/**
* @cond TURN_OFF_DOXYGEN
* Int... |
<commit_before>// Copyright Verizon Media. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#include <vespa/vespalib/testkit/test_kit.h>
#include <vespa/eval/eval/fast_value.h>
#include <vespa/eval/eval/simple_value.h>
#include <vespa/eval/eval/tensor_function.h>
#include <vespa/eva... |
<commit_before>/*************************************************************************
*
* $RCSfile: VGroup.cxx,v $
*
* $Revision: 1.10 $
*
* last change: $Author: oj $ $Date: 2002-11-12 09:17:38 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licens... |
<commit_before>// C++ S&S Indentation test.
// Copy this into kate and check that it indents corrently.
// Obviously that will be different for the different indentors, but this tries
// to check cases that I might not have thought of.
// TODO: Automate testing once the indentation actually works!
namespace Test
{
e... |
<commit_before>/*
* oldBrain.cpp
* openc2e
*
* Created by Alyssa Milburn on Mon Aug 13 2007.
* Copyright (c) 2007 Alyssa Milburn. All rights 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 ... |
<commit_before>/*****************************************************************************************
* *
* OpenSpace *
* ... |
<commit_before>/*************************************************************************
*
* $RCSfile: EncryptionData.hxx,v $
*
* $Revision: 1.1 $
*
* last change: $Author: mtg $ $Date: 2001-04-27 14:56:52 $
*
* The Contents of this file are made available subject to the terms of
* either of the followin... |
<commit_before>#include "SearchManagerPostProcessor.h"
//#include <ranking-manager/RankingManager.h>
#include <mining-manager/product-ranker/ProductRankerFactory.h>
#include <mining-manager/product-ranker/ProductRanker.h>
#include <common/SFLogger.h>
#include <util/get.h>
#include <util/ClockTimer.h>
#include <fstream... |
<commit_before>/******************************************************************************
* Copyright 2018 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>#pragma once
#include <vector>
#include <SFML/Graphics.hpp>
#include <cmath>
#include "scenenode.hpp"
template<typename T>
struct Particle
{
sf::Vector2f pos; // Position
sf::Vector2f vel; // Velocity
float lifetime;
float lifetime_max;
T node;
};
struct SmokeShape : public SceneNo... |
<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 "PlainTextEditor.h"
#include <QColor>
#include <QPainter... |
<commit_before>/*************** <auto-copyright.pl BEGIN do not edit this line> **************
*
* VR Juggler is (C) Copyright 1998-2003 by Iowa State University
*
* Original Authors:
* Allen Bierbaum, Christopher Just,
* Patrick Hartling, Kevin Meinert,
* Carolina Cruz-Neira, Albert Baker
*
* This libra... |
<commit_before>#include <iostream>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/wait.h>
#include <unistd.h>
#include <fcntl.h>
#include "exec.hh"
#include "util.hh"
#include "globals.hh"
class AutoDelete
{
string path;
bool del;
public:
AutoDelete(const string & p) : path(p)
{
... |
<commit_before>#include "file.hh"
#include "assert.hh"
#include "buffer.hh"
#include "buffer_manager.hh"
#include "completion.hh"
#include "debug.hh"
#include "unicode.hh"
#include <errno.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/mman.h>
#include <fcntl.h>
#include <unistd.h>
#include <dirent.h>
... |
<commit_before>// Filename: test_audio.cxx
// Created by: cary (24Sep00)
//
////////////////////////////////////////////////////////////////////
#include <pandabase.h>
#include "audio.h"
#include "config_audio.h"
#include <ipc_traits.h>
int
main(int argc, char* argv[]) {
if (! AudioPool::verify_sample("test.wav"... |
<commit_before>/*
For more information, please see: http://software.sci.utah.edu
The MIT License
Copyright (c) 2012 Scientific Computing and Imaging Institute,
University of Utah.
License for the specific language governing rights and limitations under
Permission is hereby granted, free of charge, ... |
<commit_before>/****************************************************************************
* stermcom.cc
*
* Copyright (c) 2015 Yoshinori Sugino
* This software is released under the MIT License.
****************************************************************************/
#include <fcntl.h>
#include <libgen... |
<commit_before>/***************************************************************************
**
** This file is part of Qt Creator
**
** Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
**
** Contact: Qt Software Information (qt-info@nokia.com)
**
**
** Non-Open Source Usage
**
** Licensees may us... |
<commit_before>/**************************************************************************
**
** This file is part of Qt Creator
**
** Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
**
** Contact: Nokia Corporation (qt-info@nokia.com)
**
** Commercial Usage
**
** Licensees holding valid Qt Commercial... |
<commit_before>#include <glm/glm.hpp>
#include <gl-platform/GLPlatform.hpp>
#include <entity-system/GenericSystem.hpp>
#include <es-systems/SystemCore.hpp>
#include <es-acorn/Acorn.hpp>
#include <es-general/comp/Transform.hpp>
#include <es-general/comp/StaticGlobalTime.hpp>
#include <es-general/comp/StaticCamera.hpp>
... |
<commit_before>// Copyright (c) 2018 GitHub, Inc.
// Use of this source code is governed by the MIT license that can be
// found in the LICENSE file.
#include "shell/renderer/printing/print_render_frame_helper_delegate.h"
#include "content/public/renderer/render_frame.h"
#include "extensions/buildflags/buildflags.h"
... |
<commit_before>/*************************************************************************
*
* $RCSfile: animationaudionode.cxx,v $
*
* $Revision: 1.6 $
*
* last change: $Author: rt $ $Date: 2005-03-30 08:05:02 $
*
* The Contents of this file are made available subject to the terms of
* either of the follo... |
<commit_before>/*
* 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 later version.
*
* Written (W) 2011 Sergey Lisitsyn
* Copyrigh... |
<commit_before>#include "ZambeziManager.h"
#include "ZambeziMiningTask.h"
#include "../group-manager/PropValueTable.h" // pvid_t
#include "../group-manager/GroupManager.h"
#include "../attr-manager/AttrManager.h"
#include "../attr-manager/AttrTable.h"
#include <common/PropSharedLock.h>
#include <configuration-manager... |
<commit_before>//
// Created by pkanev on 5/11/2017.
//
#include <NativeScriptAssert.h>
#include "v8-css-agent-impl.h"
namespace v8_inspector {
namespace CSSAgentState {
static const char cssEnabled[] = "cssEnabled";
}
V8CSSAgentImpl::V8CSSAgentImpl(V8InspectorSessionImpl *session,
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.