text stringlengths 54 60.6k |
|---|
<commit_before>#include "StdAfx.h"
#include <windows.h>
#include <iostream>
#include <osg/MatrixTransform>
#include <osgFX/Scribe>
#include "jrOSGHighlightVisitor.h"
jrOSGHighlightVisitor::jrOSGHighlightVisitor(void) : osg::NodeVisitor(osg::NodeVisitor::TRAVERSE_ALL_CHILDREN) {
}
jrOSGHighlightVisitor::... |
<commit_before>/************************************************************************************
**
* @copyright (c) 2013-2100, ChengDu Duyer Technology Co., LTD. All Right Reserved.
*
*************************************************************************************/
/**
* @GFile g_file.cpp
* @version ... |
<commit_before>#if ! defined (__CINT__) || defined (__MAKECINT__)
#include "TError.h"
#include <TClass.h>
#include <TFileMerger.h>
#include <TCanvas.h>
#include <TH1.h>
#include <TGraph.h>
#include <TObjArray.h>
#include <TObjString.h>
#include <TPython.h>
#include <TString.h>
#include <TROOT.h>
#include <TSystem.h>
#i... |
<commit_before>/**
* Copyright © 2012, United States Government, as represented by the
* Administrator of the National Aeronautics and Space Administration.
* All rights reserved.
*
* The NASA Tensegrity Robotics Toolkit (NTRT) v1 platform is licensed
* under the Apache License, Version 2.0 (the "License");
* y... |
<commit_before><commit_msg>these 9 scripts are in icu >= 4.8, but not in 4.6.1<commit_after><|endoftext|> |
<commit_before>//
// Electron.cpp
// Clock Signal
//
// Created by Thomas Harte on 03/01/2016.
// Copyright © 2016 Thomas Harte. All rights reserved.
//
#include "Electron.hpp"
#include <algorithm>
using namespace Electron;
Machine::Machine()
{
setup6502();
}
Machine::~Machine()
{
}
unsigned int Machine::per... |
<commit_before>/********************************************************************
* Copyright © 2016 Computational Molecular Biology Group, *
* Freie Universität Berlin (GER) *
* *
* This file is part of ... |
<commit_before>#include <Cosa/Alarm.hh>
#include <Cosa/IOBuffer.hh>
#include <Cosa/RTT.hh>
#include <Cosa/Trace.hh>
#include <Cosa/UART.hh>
#include <Cosa/Soft/UART.hh>
#include <Cosa/Watchdog.hh>
#include <stdint-gcc.h>
#include "initializer_list"
static const uint16_t WATCHDOG_PERIOD = 16;
static const uint32_t SEN... |
<commit_before>/*
* The main source of the Beng proxy server.
*
* author: Max Kellermann <[email protected]>
*/
#include "direct.hxx"
#include "lb_instance.hxx"
#include "lb_check.hxx"
#include "lb_setup.hxx"
#include "lb_connection.hxx"
#include "tcp_stock.hxx"
#include "tcp_balancer.hxx"
#include "stock/MapStock.hxx... |
<commit_before>#include "modinclude.h"
#include "bot_admin.h"
class DieCommand : public AdminHook {
public:
int botAPIversion();
bool onLoadComplete();
void onRehash();
std::string getDesc();
std::vector<std::string> supports();
std::vector<std::vector<std::string> > adminCommands();
void onAdminCommand... |
<commit_before>/***************************************************************************
* Copyright (c) 2005 Werner Mayer <wmayer[at]users.sourceforge.net> *
* *
* This file is part of the FreeCAD CAx development system. ... |
<commit_before>/** @file
@brief Implementation
@date 2016
@author
Sensics, Inc.
<http://sensics.com/osvr>
*/
// Copyright 2016 Razer 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 c... |
<commit_before>/******************************************************************************
* SOFA, Simulation Open-Framework Architecture, development version *
* (c) 2006-2016 INRIA, USTL, UJF, CNRS, MGH *
* ... |
<commit_before>/*****************************************************************************/
/**
* @file NormalizedDeviceCoordinate.cpp
* @author Naohisa Sakamoto
*/
/*----------------------------------------------------------------------------
*
* Copyright (c) Visualization Laboratory, Kyoto University.
... |
<commit_before>#include <catch.hpp>
#include <lua.hpp>
#include <luwra.hpp>
#include <cstring>
#include <string>
#include <utility>
#include <type_traits>
template <typename I>
struct NumericTest {
static
void test(lua_State* state) {
const I max_value = std::numeric_limits<I>::max();
const I min_value = std::... |
<commit_before>/*
* Copyright (c) 2013 Mohammad Mehdi Saboorian
*
* This is part of moor, a wrapper for libarchive
*
* 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... |
<commit_before>#include "catch.hpp"
#include <lua.hpp>
#include <luwra.hpp>
#include <cstring>
#include <string>
#include <utility>
#include <type_traits>
template <typename I>
struct NumericTest {
static
void test(lua_State* state) {
const I max_value = std::numeric_limits<I>::max();
const I min_value = std:... |
<commit_before>#ifndef ALPINOCORPUS_EITHER_HH
#define ALPINOCORPUS_EITHER_HH
namespace alpinocorpus {
/**
* Either is an option type that resembles the Either type in Haskell.
* It's used to indicate that computation results in two possible type:
* the left type or the right type (which could have the same type).
... |
<commit_before>#ifndef ALEPH_GEOMETRY_COVER_TREE_HH__
#define ALEPH_GEOMETRY_COVER_TREE_HH__
#include <algorithm>
#include <iterator>
#include <limits>
#include <memory>
#include <ostream>
#include <queue>
#include <stack>
#include <stdexcept>
#include <vector>
// FIXME: remove after debugging
#include <iostream>
#i... |
<commit_before>#pragma once
#include <memory>
#include <anyode/anyode.hpp>
#include <anyode/anyode_blas_lapack.hpp> // dgemv, dgesvd
#include <anyode/anyode_matrix.hpp> // DenseMatrix
#include <anyode/anyode_buffer.hpp> // make_unique
#include <anyode/anyode_decomposition.hpp> // SVD
namespace AnyODE {
templ... |
<commit_before>namespace gen {
/** \brief The Population template.
*
* Requires a `Candidate` class derived from ICandidate and implementing a
* default constructor. */
template<class Candidate>
class Population : private std::vector<Candidate> {
bool sorted = false;
std::mutex mtx{};
static_assert(std::is_d... |
<commit_before>/*
* StoichiometryView.hpp
*
* Copyright (C) 2012 Marc Kirchner
*
*/
#ifndef __LIBIPACA_INCLUDE_IPACA_STOICHIOMETRYVIEW_HPP__
#define __LIBIPACA_INCLUDE_IPACA_STOICHIOMETRYVIEW_HPP__
namespace ipaca {
template<typename T>
struct StoichiometryTraits
{
typedef typename T::iterator iterator_type... |
<commit_before>#include <boost/spirit/include/qi.hpp>
#include <boost/spirit/include/phoenix_core.hpp>
#include <boost/fusion/include/adapt_struct.hpp>
#include <boost/phoenix/bind/bind_member_function.hpp>
#include <string>
#include <vector>
#include <functional>
#include <map>
/**
Parser and executer of... |
<commit_before>/**
* Copyright (C) 2016 3D Repo Ltd
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* T... |
<commit_before>// $Id: Sentence.cpp 1465 2007-09-27 14:16:28Z hieuhoang1972 $
// vim:tabstop=2
/***********************************************************************
Moses - factored phrase-based language decoder
Copyright (C) 2006 University of Edinburgh
This library is free software; you can redistribute it... |
<commit_before>/* IBM_PROLOG_BEGIN_TAG */
/* This is an automatically generated prolog. */
/* */
/* $Source: src/lib/stdio.C $ ... |
<commit_before>// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
#include "platform/globals.h"
#if defined(DART_HOST_OS_MACOS)
#include "bin/platform.h"... |
<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 Publi... |
<commit_before>#pragma once
#include <string>
#include <unordered_map>
#include <glm/glm.hpp>
#include "nova_renderer/rhi_enums.hpp"
#include "device_memory_resource.hpp"
#include "shaderpack_data.hpp"
namespace nova::renderer::rhi {
#pragma region Structs
struct BufferCreateInfo {
uint64_t size = 0;
... |
<commit_before>/* IBM_PROLOG_BEGIN_TAG */
/* This is an automatically generated prolog. */
/* */
/* $Source: src/import/chips/p9/procedures/hwp/io/p9_io_xbus_clear_firs.C ... |
<commit_before>//
// Copyright (c) 2008 Advanced Micro Devices, Inc. All rights reserved.
//
#pragma once
#include "include/aclTypes.h"
#include "platform/context.hpp"
#include "platform/object.hpp"
#include "platform/memory.hpp"
#include "devwavelimiter.hpp"
#include "comgrctx.hpp"
#if defined(WITH_LIGHTNING_COMPILE... |
<commit_before>/*************************************************************************
*
* $RCSfile: VKey.cxx,v $
*
* $Revision: 1.13 $
*
* last change: $Author: oj $ $Date: 2002-11-12 09:17:39 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses... |
<commit_before>/* IBM_PROLOG_BEGIN_TAG */
/* This is an automatically generated prolog. */
/* */
/* $Source: src/import/chips/p9/procedures/hwp/pm/p9_cpu_special_wakeup.C ... |
<commit_before>#include "itkCommandLineArgumentParser.h"
#include "CommandLineArgumentHelper.h"
#include "itkImageFileReader.h"
#include "itkImageFileWriter.h"
#include "itkStatisticsImageFilter.h"
#include "itkInvertIntensityImageFilter.h"
/** This program inverts the intensity of an image:
* new = max - old,
* w... |
<commit_before>#include <iostream>
#include "demoloop.h"
#include "graphics/2d_primitives.h"
#include "hsl.h"
using namespace std;
using namespace demoloop;
float t = 0;
const float CYCLE_LENGTH = 10;
class Loop5 : public Demoloop {
public:
Loop5() : Demoloop(150, 150, 150) {
glDisable(GL_DEPTH_TEST);
}
vo... |
<commit_before>/*****************************************************************************
nucBedMain.cpp
(c) 2009 - Aaron Quinlan
Hall Laboratory
Department of Biochemistry and Molecular Genetics
University of Virginia
[email protected]
Licenced under the GNU General Public License 2.0 license.... |
<commit_before>#include <QtSerialPort/QSerialPortInfo>
#include <QtCore/QDebug>
#include <QtWidgets/QMessageBox>
#include <QtWidgets/QWidget>
#include <cstdlib>
#include <iostream>
#include "GlowneOkno.hpp"
#include "WyborPortu.hpp"
#include "KodyWyjsciowe.hpp"
const char* bledy[14]=
{
"Brak błędu",
"Nie znalezio... |
<commit_before>#include "seatest.h"
#include <stdlib.h>
#include "picture.h"
//////////////////////////////////////////////////////////////////////////
// EXTERNAL FUNCTIONS
unsigned get_block_sad(picture *pic, picture *ref,
int pic_x, int pic_y, int ref_x, int ref_y,
... |
<commit_before>#include <iostream>
#include <fstream>
#include <string>
#include <math.h>
using namespace std;
int main(int argc, char* argv[]) {
string line;
int linenumber = 0;
int category =0;
double value = 0.0;
int errors = 0;
if(argc < 2) {
cerr << "provide at least one argument" << end... |
<commit_before>// Copyright (c) 2010-2021, Lawrence Livermore National Security, LLC. Produced
// at the Lawrence Livermore National Laboratory. All Rights reserved. See files
// LICENSE and NOTICE for details. LLNL-CODE-806117.
//
// This file is part of the MFEM library. For more information and source code
// availa... |
<commit_before>#include <iostream>
#include <fstream>
#include <cmath>
#include <string>
#include <list>
#include <vector>
#include <cassert>
#include <ctime>
#include <cstdlib>
#include "player.h"
using namespace std;
void init(vector<string> &nums, vector<string> &teams, vector<string> &input, vector<s... |
<commit_before>#include "material.h"
#include <math.h>
#include "comp_math.h"
#include "context.h"
#include "decayer.h"
#include "error.h"
#include "logger.h"
namespace cyclus {
const ResourceType Material::kType = "Material";
Material::~Material() {}
Material::Ptr Material::Create(Agent* creator, double quantity... |
<commit_before>#include "ff_source_syntax.h"
#include <sstream>
#include <stack>
#include "sentence_metadata.h"
#include "array2d.h"
#include "filelib.h"
using namespace std;
// implements the source side syntax features described in Blunsom et al. (EMNLP 2008)
// source trees must be represented in Penn Treebank f... |
<commit_before>#include "message.hpp"
#include "server.hpp"
#include "Cereal.hpp"
#include <vector>
#include <iostream>
using namespace std;
MqttFixedHeader::MqttFixedHeader():
type(), dup(), qos(), retain(), remaining() {
}
MqttFixedHeader::MqttFixedHeader(MqttType t, bool d, ubyte q, bool rt, uint re):
ty... |
<commit_before>#include "core/tz.hpp"
#include "core/window.hpp"
#include "core/profiling/zone.hpp"
#include "core/matrix_transform.hpp"
#include "core/time.hpp"
#include "gl/device.hpp"
#include "gl/renderer.hpp"
#include "gl/resource.hpp"
#include "gl/imported_shaders.hpp"
#include ImportedShaderHeader(tz_terrain_de... |
<commit_before>import java.util.Scanner;
public class MergeSort {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
int day = Integer.parseInt(scanner.nextLine());
int month = Integer.parseInt(scanner.nextLine());
switch(month) {
case 2:... |
<commit_before>#include "paintarea.h"
#define STARTING_X 10
//Padding from the right side of the window
#define RIGHT_SIDE_PADDING 50
#define STARTING_Y 10
PaintArea::PaintArea(QWidget *parent) :
QWidget(parent)
{
currentX = STARTING_X;
currentY = STARTING_Y;
totalWidth = 0;
webpage = new Docume... |
<commit_before>/**
* Copyright 2014, Planet Labs, 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 appli... |
<commit_before>/* <x0/plugins/accesslog.cpp>
*
* This file is part of the x0 web server project and is released under LGPL-3.
* http://www.xzero.ws/
*
* (c) 2009-2010 Christian Parpart <[email protected]>
*/
#include <x0/http/HttpPlugin.h>
#include <x0/http/HttpServer.h>
#include <x0/http/HttpRequest.h>
#include... |
<commit_before>#include "command.hh"
#include "common-args.hh"
#include "shared.hh"
#include "store-api.hh"
#include "eval.hh"
#include "json.hh"
#include "value-to-json.hh"
using namespace nix;
struct CmdEval : MixJSON, InstallableCommand
{
bool raw = false;
CmdEval()
{
mkFlag(0, "raw", "print s... |
<commit_before>#ifndef MJOLNIR_CORE_DYNAMIC_VARIABLE_HPP
#define MJOLNIR_CORE_DYNAMIC_VARIABLE_HPP
#include <mjolnir/util/make_unique.hpp>
#include <mjolnir/util/is_finite.hpp>
#include <limits>
#include <memory>
//
// Dynamic variable is a (non-) physical parameter in a system that has
// (virtual) mass, velocity and... |
<commit_before>// Copyright (c) 2011-2012, Zeex
// 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. Redistributions of source code must retain the above copyright notice, this
// ... |
<commit_before>/*
Copyright (C) 2017 Alexandr Akulich <[email protected]>
This file is a part of TelegramQt library.
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; ei... |
<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>#include "musicmarqueewidget.h"
#include <QtGui>
MusicMarqueeWidget::MusicMarqueeWidget(QWidget *parent)
: QWidget(parent)
{
m_offset = 0;
m_myTimerId = 0;
}
void MusicMarqueeWidget::setText(const QString &newText)
{
m_myText = newText.leftJustified(50, ' ');
update();
updateGeo... |
<commit_before>#pragma once
// https://infektor.net/posts/2017-03-31-range-based-enumerate.html
#include <iterator>
#include <utility>
// ----------------------------------------------------------------------
namespace acmacs
{
namespace _enumerate_internal
{
template <typename Iterator, typename in... |
<commit_before>// @(#)root/base:$Id$
// Author: Christian Bormann 13/10/97
/*************************************************************************
* Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *
* All rights reserved. *
* ... |
<commit_before>#include "pbfParser.h"
#include "platform.h"
#include "tileID.h"
#include <sstream>
#include <fstream>
#include "protobuffSrc.h"
MapboxProtoBuffSrc::MapboxProtoBuffSrc() {
m_urlTemplate = "http://vector.mapzen.com/osm/all/[z]/[x]/[y].mapbox";
}
std::shared_ptr<TileData> MapboxProtoBuffSrc::parse(... |
<commit_before>#pragma once
#include <HgScene2.h>
#include <HgEngine.h>
namespace Engine {
std::unordered_map<std::string, factoryCallback> HgScene::m_entityFactories;
HgScene::HgScene()
{
auto vBuffer = std::make_shared<HgVectorBuffer<Instancing::GPUTransformationMatrix>>();
std::unique_ptr<IGLBufferUse> action... |
<commit_before>/*
* Harversine.c
* Haversine
*
* Created by Jaime Rios on 2/16/08.
*
*/
#include "Harversine.h"
#include <math.h> // For PI
/*
Haversine Formula
R = earth’s radius (mean radius = 6,371km)
Δlat = lat2− lat1
Δlong = long2− long1
a = sin²(Δlat/2) + cos(lat1).cos(lat2).sin²(Δlong/2)
c = 2... |
<commit_before>#include <cstdio>
#include <algorithm>
#include <fstream>
#include <iostream>
#include <vector>
#include <queue>
#include <map>
#include <cstring>
#include <string>
#include <set>
#include <stack>
#define pb push_back
#define mp make_pair
#define f first
#define s second
#define ll long long
using name... |
<commit_before>// @(#)root/utils:$Id$
// Author: Axel Naumann, 2014-04-07
/*************************************************************************
* Copyright (C) 1995-2014, Rene Brun and Fons Rademakers. *
* All rights reserved. *
* ... |
<commit_before>/*
* Copyright (C) 2014 Cloudius Systems, Ltd.
*/
#ifndef DATABASE_HH_
#define DATABASE_HH_
#include "core/sstring.hh"
#include "core/shared_ptr.hh"
#include "net/byteorder.hh"
#include "utils/UUID.hh"
#include "db_clock.hh"
#include "gc_clock.hh"
#include <functional>
#include <boost/any.hpp>
#inclu... |
<commit_before>// Copyright (c) 2016 ASMlover. All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions
// are met:
//
// * Redistributions of source code must retain the above copyright
// notice, this list o... |
<commit_before>// 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>#include "ImagePanel.h"
#include <set>
using namespace std;
wxBitmapPtr ToBitmap( const LinearImage& image )
{
vector< unsigned char > color, alpha;
image.GetSrgb( color, alpha );
return wxBitmapPtr( new wxBitmap(
alpha.empty()
? wxImage( image.GetWidth(), im... |
<commit_before>#ifndef __GLYPH_HPP_INCLUDED
#define __GLYPH_HPP_INCLUDED
#include "species_or_glyph.hpp"
#include "text3D.hpp"
#include "vector_font.hpp"
#include "render_templates.hpp"
#include "cpp/ylikuutio/hierarchy/hierarchy_templates.hpp"
// Include GLEW
#ifndef __GL_GLEW_H_INCLUDED
#define __GL_GLEW_H_INCLUDED... |
<commit_before>#include "simplesp.h"
#include "spex/spgl.h"
using namespace sp;
class ModelTrackGUI : public BaseWindow {
// camera
CamParam m_cam;
// image
Mem2<Col3> m_img;
// map
Mem2<VecPN3> m_map;
// model
Mem1<Mesh3> m_model;
// pose
Pose m_pose;
// pose model
... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: template.cxx,v $
*
* $Revision: 1.4 $
*
* last change: $Author: rt $ $Date: 2005-09-08 20:25:05 $
*
* The Contents of this file are made ... |
<commit_before>#include <iostream>
#include <string>
#include <cctype>
using std::cout;
using std::endl;
using std::string;
bool hasUppercase(const string &str)
{
for (auto c : str)
if (isupper(c)) return true;
return false;
}
void makeLowercase(string &str)
{
for (auto& c : str)
if (isup... |
<commit_before>#include "pch.h"
#include "CppUnitTest.h"
#include "WarpTpsLib.h"
using namespace Microsoft::VisualStudio::CppUnitTestFramework;
namespace UnitTest1
{
TEST_CLASS(UnitTest1)
{
public:
TEST_METHOD(TestMethod1)
{
}
TEST_METHOD(TestAddLandmark)
{
Logger::WriteMessage("TestAddLandmark");... |
<commit_before>/*
* File: DebugCommandManager.cpp
* Author: thomas
*
* Created on 12. November 2010, 09:50
*/
#include "DebugCommandManager.h"
DebugCommandManager::DebugCommandManager()
{
registerCommand("help", "list available commands or get the description of a specific command", this);
}
DebugCommand... |
<commit_before>#include <SDL.h>
#include <iostream>
#include <math.h>
#include <vector>
#include <map>
#include <functional>
#include <algorithm>
#include <lua.hpp>
#include <LuaBridge.h>
#include "types.h"
#include "wrappers.h"
#include "auxiliary.h"
#include "entity.h"
#include "commands.h"
#include "player.h"
using... |
<commit_before>#include <gflags/gflags.h>
#include <glog/logging.h>
#include <cstring>
#include <map>
#include <string>
#include <vector>
#include "caffe/caffe.hpp"
using caffe::Blob;
using caffe::Caffe;
using caffe::Net;
using caffe::Layer;
using caffe::shared_ptr;
using caffe::Timer;
using caffe::vector;
// Used... |
<commit_before>
/***************************************************************************
* print_plan.cpp - print plan as PDDL to output
*
* Created: Wed Mar 22 14:40:56 2017
* Copyright 2017 Tim Niemueller [www.niemueller.de]
****************************************************************************/
... |
<commit_before>/* RTcmix - Copyright (C) 2000 The RTcmix Development Team
See ``AUTHORS'' for a list of contributors. See ``LICENSE'' for
the license to this software and for a DISCLAIMER OF ALL WARRANTIES.
*/
#include <globals.h>
#include <prototypes.h>
#include <maxdispargs.h>
#include <pthread.h>
#include "... |
<commit_before>/*
* Copyright (c) 2017 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>/*********************************************************************
* Software License Agreement (BSD License)
*
* Copyright (c) 2012, Willow Garage, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the f... |
<commit_before>/*****************************************************************************
* Media Library
*****************************************************************************
* Copyright (C) 2015 Hugo Beauzée-Luyssen, Videolabs
*
* Authors: Hugo Beauzée-Luyssen<[email protected]>
*
* This program is f... |
<commit_before>/************************************************************
COSC 501
Elliott Plack
19 NOV 2013 Due 25 NOV 2013
Problem: Create a 1-dimensional array with n elements; get
the size of the array as user input (validate!), max size
should be 10 (declared as class constan... |
<commit_before>/*
* Copyright © 2010 Intel Corporation
*
* 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, mod... |
<commit_before>/* conduitConfigDialog.cc KPilot
**
** Copyright (C) 2004 by Dan Pilone
** Written 2004 by Reinhold Kainhofer
**
** This file defines a .ui-based configuration dialog for conduits.
*/
/*
** This program is free software; you can redistribute it and/or modify
** it under the terms of the G... |
<commit_before>/* libwpd
* Copyright (C) 2004 Marc Maurer ([email protected])
* Copyright (C) 2004-2006 Fridrich Strba ([email protected])
*
* 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 Softwar... |
<commit_before>/*
* Copyright 2009-2013 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>/*************************************************************************
*
* $RCSfile: morphdlg.cxx,v $
*
* $Revision: 1.5 $
*
* last change: $Author: rt $ $Date: 2003-11-24 17:10:12 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licen... |
<commit_before>#include "archive.hh"
#include "binary-cache-store.hh"
#include "compression.hh"
#include "derivations.hh"
#include "fs-accessor.hh"
#include "globals.hh"
#include "nar-info.hh"
#include "sync.hh"
#include "remote-fs-accessor.hh"
#include "nar-info-disk-cache.hh"
#include "nar-accessor.hh"
#include "json... |
<commit_before>/*************************************************************************
*
* $RCSfile: unmovss.cxx,v $
*
* $Revision: 1.2 $
*
* last change: $Author: ka $ $Date: 2001-10-22 13:36:53 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licens... |
<commit_before>/*************************************************************************
*
* $RCSfile: unmodpg.cxx,v $
*
* $Revision: 1.4 $
*
* last change: $Author: ka $ $Date: 2001-10-22 13:36:57 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licens... |
<commit_before>/* bzflag
* Copyright (c) 1993 - 2004 Tim Riker
*
* This package is free software; you can redistribute it and/or
* modify it under the terms of the license found in the file
* named LICENSE that should have accompanied this file.
*
* THIS PACKAGE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
... |
<commit_before>/*
*
* Copyright 2016 gRPC authors.
*
* 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 applicab... |
<commit_before>#include "components/BulletMover.h"
#include <bullet/btBulletCollisionCommon.h>
#include <bullet/btBulletDynamicsCommon.h>
namespace Sigma {
BulletMover::BulletMover(const int entityID) : IBulletShape(entityID), transform(nullptr) {}
BulletMover::~BulletMover() {}
void BulletMover::ApplyForces(co... |
<commit_before>/***************************************************************
*
* Copyright (C) 1990-2007, Condor Team, Computer Sciences Department,
* University of Wisconsin-Madison, WI.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you
* may not use this file except in compliance with ... |
<commit_before>/***************************************************************
*
* Copyright (C) 1990-2007, Condor Team, Computer Sciences Department,
* University of Wisconsin-Madison, WI.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you
* may not use this file except in compliance with ... |
<commit_before>/*
* Copyright 2015 Aldebaran
*
* 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 ... |
<commit_before>/*
This file is part of the kblog library.
Copyright (c) 2006-2007 Christian Weilbach <[email protected]>
Copyright (c) 2007 Mike Arthur <[email protected]>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
... |
<commit_before>/*
*
* Copyright 2015 gRPC authors.
*
* 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 applicab... |
<commit_before>/*
* This file is part of crash-reporter
*
* Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
*
* Contact: Ville Ilvonen <[email protected]>
* Author: Riku Halonen <[email protected]>
*
* Copyright (C) 2013 Jolla Ltd.
* Contact: Jakub Adam <[email protected]... |
<commit_before>
#include <signal.h>
#include "backend/common/message_queue.h"
#include "backend/common/logger.h"
#define NOTIFY_SIG SIGUSR1
namespace peloton {
void notify_message(mqd_t *mqdp);
std::string get_mq_name(oid_t id) {
return std::string("/backend_" + std::to_string(id));
}
mqd_t create_mq(const std... |
<commit_before>#include "cdriver.h"
struct Apex {
double axis_min, axis_max; // Limits for the movement of this axis.
double rodlength, radius; // Length of the tie rod and the horizontal distance between the vertical position and the zero position.
double x, y, z; // Position of tower on the base plane, and the c... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: validat.hxx,v $
*
* $Revision: 1.12 $
*
* last change: $Author: vg $ $Date: 2007-02-27 11:58:47 $
*
* The Contents of this file are made ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.