text stringlengths 54 60.6k |
|---|
<commit_before>// The MIT License (MIT)
//
// Copyright (c) 2016 Tag Games Limited
//
// 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... |
<commit_before>// Copyright (c) 2017 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>/*
* Copyright (C) 2003, 2006, 2007 Apple Inc. All rights reserved.
* Copyright (C) 2007-2009 Torch Mobile, Inc.
* Copyright (C) 2011 University of Szeged. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the fo... |
<commit_before>/*
* Copyright (C) 2013 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>#include <string.h>
#include "dmonitoring.h"
#include "common/mat.h"
#include "common/timing.h"
#include "common/params.h"
#include <libyuv.h>
#define MODEL_WIDTH 320
#define MODEL_HEIGHT 640
#define FULL_W 852
#if defined(QCOM) || defined(QCOM2)
#define input_lambda(x) (x - 128.f) * 0.0078125f
#else
... |
<commit_before>/*
* StochasticReleaseTestProbe.cpp
*
* Created on: Aug 28, 2013
* Author: pschultz
*/
#include "StochasticReleaseTestProbe.hpp"
namespace PV {
StochasticReleaseTestProbe::StochasticReleaseTestProbe(const char * name, HyPerCol * hc) {
initialize_base();
initStochasticReleaseTestProbe(... |
<commit_before>/*=========================================================================
Program: ORFEO Toolbox
Language: C++
Date: $Date$
Version: $Revision$
Copyright (c) Centre National d'Etudes Spatiales. All rights reserved.
See OTBCopyright.txt for details.
This software is distr... |
<commit_before>/*=============================================================================
NiftyLink: A software library to facilitate communication over OpenIGTLink.
Copyright (c) University College London (UCL). All rights reserved.
This software is distributed WITHOUT ANY WARRANTY; without even
the im... |
<commit_before>/*=========================================================================
Program: ORFEO Toolbox
Language: C++
Date: $Date$
Version: $Revision$
Copyright (c) Centre National d'Etudes Spatiales. All rights reserved.
See OTBCopyright.txt for details.
This software is distributed WITHOUT AN... |
<commit_before>/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
*
* This file is part of OpenOffice.o... |
<commit_before>#include <cstdlib>
#include <iostream>
#include <fstream>
#include <string>
#include <set>
#include <mist/config.h>
#include <mist/defines.h>
#include <mist/timing.h>
#include <mist/http_parser.h>
#include <mist/tinythread.h>
Util::Config * cfg = 0;
std::string passphrase;
struct streamDetails{
unsig... |
<commit_before>/*
** - Cedric GESTES <gestes@aldebaran-robotics.com>
**
** Copyright (C) 2013 Aldebaran Robotics
*/
#include <qic/value.h>
#include "value_p.h"
#include "object_p.h"
qi_value_t* qi_value_create(const char *signature)
{
qi::GenericValue* v;
if (!signature || !strcmp(signature, ""))
v = new qi... |
<commit_before>#include "xmlui/SessionXmlHandler.h"
using namespace std;
using namespace Poco;
using namespace Poco::Net;
using namespace Poco::XML;
using namespace BeeeOn;
using namespace BeeeOn::XmlUI;
SessionXmlHandler::SessionXmlHandler(
const string &ns,
const StreamSocket &socket,
const AutoPtr<Document> ... |
<commit_before>/*
Copyright 2008 Brain Research Institute, Melbourne, Australia
Written by J-Donald Tournier, 27/06/08.
This file is part of MRtrix.
MRtrix 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 Sof... |
<commit_before>#include "Common.hpp"
#include "Config.hpp"
#include "raycaster/Raycaster.hpp"
#include "input/Input.hpp"
#include "input/InputCallbacks.hpp"
#include "input/ControllableCamera.hpp"
#include "scene/Scene.hpp"
#include "resources/ResourcesManager.hpp"
#include "graphics/ScreenQuad.hpp"
#include "helpe... |
<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 "webkit/glue/plugins/webplugin_delegate_impl.h"
#include <string>
#include <vector>
#include "base/file_util.h"
#includ... |
<commit_before>//
// @file util.cc
// @brief Test project for folder dialogue.
// @author Mamoru Kaminaga
// @date 2019-07-02 18:56:28
// Copyright 2019 Mamoru Kaminaga
//
#include "./util.h"
#include <assert.h>
#include <shlobj.h>
#include <wchar.h>
#include <windows.h>
static int CALLBACK BrowseCallbackProc(HWND hWn... |
<commit_before>/*
* Copyright (c) 2016 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>/**
* << detailed description >>
*
* @file Config.cpp
* @brief << brief description >>
* @author clonker
* @date 05.09.16
*/
#include <thread>
#include "readdy/kernel/cpu/util/Config.h"
namespace readdy {
namespace kernel {
namespace cpu {
namespace util {
... |
<commit_before>/* Copyright 2012-2016 QReal Research Group
*
* 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 ap... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: SubSequence.hxx,v $
*
* $Revision: 1.3 $
*
* last change: $Author: vg $ $Date: 2008-01-24 15:56:42 $
*
* The Contents of this file are ma... |
<commit_before>/*
* Copyright (c) 2010 ARM Limited
* All rights reserved
*
* The license below extends only to copyright in the software and shall
* not be construed as granting a license to any other intellectual
* property including but not limited to intellectual property relating
* to a hardware implementati... |
<commit_before>/*
This file is part of KMail, the KDE mail client.
Copyright (c) 2004 Till Adam <adam@kde.org>
KMail 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 Lic... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: EventOASISTContext.cxx,v $
*
* $Revision: 1.5 $
*
* last change: $Author: rt $ $Date: 2005-09-09 15:42:23 $
*
* The Contents of this file... |
<commit_before>#define TRACE_PARAMETERS 0
#define TRACE_CONSTRUCTORS_DESTRUCTORS 0
#define Y_IS_Z 1
#if BUILD_OPENAL
#include <AL/al.h>
#include <AL/alc.h>
#include <AL/alext.h>
#include <AL/efx.h>
#endif
#include "augs/math/vec2.h"
#include "augs/math/si_scaling.h"
#include "augs/audio/sound_source.h"
#include "aug... |
<commit_before>/*************************************************************************
*
* $RCSfile: resourcemanager.cxx,v $
*
* $Revision: 1.8 $
*
* last change: $Author: vg $ $Date: 2005-03-10 18:05:44 $
*
* The Contents of this file are made available subject to the terms of
* either of the followin... |
<commit_before>#include "menu.h"
#include <QDebug>
#include <QString>
#include <QPainter>
#include <QPaintEvent>
#include <QBrush>
#include <QColor>
#include <QWidget>
#include "guiview.h"
#include "simview.h"
#include "autview.h"
/**
* Menu for insantiating views
*/
Menu::Menu()
{
setMouseTracking(true);
... |
<commit_before>#include "Drivetrain.h"
#include "../RobotMap.h"
#include "WPILib.h"
Drivetrain::Drivetrain() : Subsystem("ExampleSubsystem")
{
leftBackMotor = new CANTalon(3), rightBackMotor = new CANTalon(4),
leftFrontMotor = new CANTalon(1), rightFrontMotor = new CANTalon(2);
drive = new RobotDrive;
}
void... |
<commit_before>/*
* This file is part of TelepathyQt4
*
* Copyright (C) 2008 Collabora Ltd. <http://www.collabora.co.uk/>
* Copyright (C) 2008 Nokia Corporation
*
* 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 b... |
<commit_before>//--------------------------------------------------------------------------------------------------
// Implementation of the papers "Exact Acceleration of Linear Object Detectors", 12th European
// Conference on Computer Vision, 2012 and "Deformable Part Models with Individual Part Scaling",
// 24th Bri... |
<commit_before>//--------------------------------------------------------------------------------------------------
// Implementation of the papers "Exact Acceleration of Linear Object Detectors", 12th European
// Conference on Computer Vision, 2012 and "Deformable Part Models with Individual Part Scaling",
// 24th Bri... |
<commit_before>/*
* Jingle call example
* Copyright 2004--2005, Google Inc.
*
* 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 la... |
<commit_before>/*
* copyright: (c) RDO-Team, 2011
* filename : main.cpp
* author : , Evgeny Proydakov
* date : 07.07.2009
* bref :
* indent : 4T
*/
// ====================================================================== PCH
// =========================================================... |
<commit_before>#include <d3d11.h>
#include "../../../lib/DirectXTex/DirectXTex/DDS.h"
#include <cstdio>
#include <new>
using namespace DirectX;
struct DDS
{
DWORD dwMagic;
DDS_HEADER header;
DDS_HEADER_DXT10 header10;
};
int main(int argc, char* argv[])
{
auto size = 128;
auto channels = 1;
DDS dds = { 0 };
... |
<commit_before>#include "listservices.h"
#include <vector>
listServices::listServices()
{
bool isEndOfFile;
do {
scientistList nextScientist();
isEndOfFile = nextScientist.readFile();
_computerScientists.push_back(nextScientist);
}while(!isEndOfFile); //This loop fills the computerS... |
<commit_before>// $Id: LEF.C,v 1.1 2000/07/03 20:02:15 oliver Exp $
#include<BALL/NMR/LEF.h>
using namespace std;
namespace BALL
{
//Konstruktor
LEFShift::LEFShift()
{
//cout << endl << "LEFShift::LEFShift()";
//pb_=new FDPB;
//pb_->options.setReal(FDPB::Option::SOLVENT_DC,1.0);
}
//Destruktor
LEFShift:... |
<commit_before>/******************************************************************************
* Copyright 2019 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 "MainWindow.h"
#include "ui_MainWindow.h"
#include <QTextCursor>
#include <QFileInfo>
#include <QDebug>
#include <QMessageBox>
#include <QCloseEvent>
#include "Widgets/InputWidget.h"
#include "Widgets/HistoryWidget.h"
#include "Managers/HistoryManager.h"
#include "Managers/FileManager.h"
#inclu... |
<commit_before>/*
* Software License Agreement (BSD License)
*
* Point Cloud Library (PCL) - www.pointclouds.org
* Copyright (c) 2010-2012, Willow Garage, Inc.
* Copyright (c) 2012-, Open Perception, Inc.
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* m... |
<commit_before>// Copyright 2017 Google 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/LICENSE-2.0
//
// Unless require... |
<commit_before> /*
* jabberresource.cpp
*
* Copyright (c) 2005-2006 by Michaël Larouche <larouche@kde.org>
* Copyright (c) 2004 by Till Gerken <till@tantalo.net>
*
* Kopete (c) 2001-2006 by the Kopete developers <kopete-devel@kde.org>
*
* *************************************************************... |
<commit_before><commit_msg>added CSC,SEC,CSCH,SECH to testFunctionLists<commit_after><|endoftext|> |
<commit_before>// My library
#include "ModelToModelDistanceCLP.h"
#include <vtkDistancePolyDataFilter.h>
#include <vtkVersion.h>
#include <vtkPolyDataWriter.h>
#include <vtkXMLPolyDataWriter.h>
#include <vtkPolyDataReader.h>
#include <vtkXMLPolyDataReader.h>
#include <vtkPolyData.h>
#include <vtkCommand.h>
#include <vt... |
<commit_before>/*
This file is part of Ingen.
Copyright 2007-2015 David Robillard <http://drobilla.net/>
Ingen 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 ... |
<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 2013 The Flutter 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 "flutter/shell/platform/linux/public/flutter_linux/fl_method_call.h"
#include "flutter/shell/platform/linux/fl_method_call_private.... |
<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.
// This file contains definitions for CppBoundClass
// Here's the control flow of a JS method getting forwarded to a class.
// - ... |
<commit_before>#include <QLabel>
#include <QStringList>
#include <QListView>
#include <QStringListModel>
#include <QAction>
#include <QScopedPointer>
class LabelWithHistory : public QLabel {
Q_OBJECT
Q_PROPERTY(QString text READ text WRITE setText)
QStringList m_history;
QStringListModel m_model;
Q... |
<commit_before>//===--- PrintASTTests.cpp ----------------------------------------- C++-*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===------------... |
<commit_before>#include "scientistservice.h"
using namespace std;
//operator overloading functions for scientistSort.
bool sortByNameAsc (const Scientist &a, const Scientist &b)
{ // also makes the sort case insensitive
string aName = a.getName(), bName = b.getName();
transform(aName.begin(), aName.end(),... |
<commit_before>//===- lib/Driver/LinkerInvocation.cpp - Linker Invocation ----------------===//
//
// The LLVM Linker
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------... |
<commit_before>#include <babylon/inspector/components/sceneexplorer/scene_graph_component.h>
#include <imgui.h>
#include <babylon/cameras/camera.h>
#include <babylon/engine/node.h>
#include <babylon/engine/scene.h>
#include <babylon/lights/light.h>
#include <babylon/materials/material.h>
#include <babylon/mesh/mesh.... |
<commit_before>#include "cluster.h"
#include "cluster_store.h"
#include "key_range.h"
#include "node.h"
#include "spliter.h"
#include "node.h"
#include "../ssdb/ssdb.h"
#include "../util/log.h"
static const int MOVE_BATCH_SIZE = 2;
Cluster::Cluster(){
this->last_node_id = 0;
this->db = NULL;
this->store = NULL;
}
... |
<commit_before>// -------------------------------------------------------------------------
// @FileName : NFCLogicClassModule.h
// @Author : LvSheng.Huang
// @Date : 2012-12-15
// @Module : NFCLogicClassModule
//
// ------------------------------------... |
<commit_before>//===---- LoadStoreOpts.cpp - SIL Load/Store Optimizations Forwarding ----===//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2014 - 2015 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See http... |
<commit_before>/////////////////////////////////////////
//
// OpenLieroX
//
// work by JasonB
// code under LGPL
// enhanced by Dark Charlie and Albert Zeyer
//
//
/////////////////////////////////////////
// Network Channel class
// Created 16/6/01
// Jason Boettcher
#include <iostream>
#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 <windows.h>
#include <psapi.h>
#include "skia/ext/bitmap_platform_device_win.h"
#include "third_party/skia/include/core... |
<commit_before>#pragma once
#include "blitz_typedefs.hpp"
#include "constants.hpp"
#include "error.hpp"
#include "global_config.hpp"
namespace mocc {
typedef std::array<int, 3> BC_Size_t;
typedef std::array<Boundary, 6> BC_Type_t;
/**
* This defines a general boundary condition container, which... |
<commit_before>int ans = N & (N % 2 ? 0 : ~0) | ( ((N & 2)>>1) ^ (N & 1) );
<commit_msg>Outra forma<commit_after>int ans = N & (N % 2 ? 0 : ~0) | ( ((N & 2)>>1) ^ (N & 1) );
// Outra forma
int xorUpToK(int k) {
switch (k % 4) {
case 0: return k;
case 1: return 1;
case 2: return k + 1;
case 3: return 0;
}
}
<... |
<commit_before>#include "object.hpp"
#include "glyph.hpp"
#include "species.hpp"
#include "object_struct.hpp"
#include "render_templates.hpp"
#include "code/ylikuutio/hierarchy/hierarchy_templates.hpp"
// Include GLM
#ifndef __GLM_GLM_HPP_INCLUDED
#define __GLM_GLM_HPP_INCLUDED
#include <glm/glm.hpp> // glm
#endif
//... |
<commit_before>// Copyright (c) 2009 OpenDNS, LLC. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "stdafx.h"
#include "StrUtil.h"
// single-linked list of string/time values
typedef struct StringTimeNode {
struct String... |
<commit_before><commit_msg>Fix some stuff with UIDPointer<commit_after><|endoftext|> |
<commit_before><commit_msg>mapi: serum circles<commit_after><|endoftext|> |
<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>/*
* SphInterface.cpp
*
* Created on: Mar 2, 2015
* Author: arman
*/
#include "SphInterface.h"
//------------------------------------------------------------------------------------
void AddSphDataToChSystem(chrono::ChSystemParallelDVI& mphysicalSystem,
int& startIn... |
<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>//===----------------------------------------------------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is dual licensed under the MIT and the University of Illinois Open
// Source Licenses. See LICENSE.TXT for details.
//
//===-------------------------... |
<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 libmeegotouch.
**
** If you have questions regarding t... |
<commit_before>/*****************************************************************************
coverageBed.cpp
(c) 2009 - Aaron Quinlan
Hall Laboratory
Department of Biochemistry and Molecular Genetics
University of Virginia
aaronquinlan@gmail.com
Licenced under the GNU General Public License 2.0 license... |
<commit_before>/*
* DesktopMain.cpp
*
* Copyright (C) 2009-17 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 P... |
<commit_before><commit_msg>INTEGRATION: CWS changefileheader (1.13.16); FILE MERGED 2008/04/01 12:27:25 thb 1.13.16.2: #i85898# Stripping all external header guards 2008/03/31 12:22:45 rt 1.13.16.1: #i87441# Change license header to LPGL v3.<commit_after><|endoftext|> |
<commit_before>#include "QtApplicationMachineAutomationEventFilter.h"
#include "QtMachineAutomationEvent.h"
using namespace sequanto::automation;
QtApplicationMachineAutomationEventFilter::QtApplicationMachineAutomationEventFilter ( QObject * _parent )
: QObject(_parent)
{
}
QByteArray ToByteArray ( QWi... |
<commit_before>// Copyright (c) the JPEG XL 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.
#include "lib/jxl/dec_patch_dictionary.h"
#include <stdint.h>
#include <stdlib.h>
#include <sys/types.h>
#include <algorithm>
#i... |
<commit_before>/* bzflag
* Copyright (c) 1993 - 2009 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 COPYING that should have accompanied this file.
*
* THIS PACKAGE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
... |
<commit_before>// This Source Code Form is licensed MPL-2.0: http://mozilla.org/MPL/2.0
#include "driver.hh"
#include "bsemain.hh"
#include "internal.hh"
#include "bsesequencer.hh"
#define DDEBUG(...) Bse::debug ("driver", __VA_ARGS__)
namespace Bse {
// == Driver ==
Driver::Driver (const String &devid) :
devi... |
<commit_before>// This Source Code Form is licensed MPL-2.0: http://mozilla.org/MPL/2.0
#ifndef __BSE_DRIVER_HH__
#define __BSE_DRIVER_HH__
#include <bse/bseutils.hh>
#include <functional>
namespace Bse {
class Driver {
protected:
struct Flags { enum { OPENED = 1, READABLE = 2, WRITABLE = 4, }; };
const String ... |
<commit_before>AliAnalysisVertexingHF* ConfigVertexingHF() {
printf("Call to AliAnalysisVertexingHF parameters setting :\n");
vHF = new AliAnalysisVertexingHF();
//--- switch-off candidates finding (default: all on)
//vHF->SetD0toKpiOff();
vHF->SetJPSItoEleOff();
//vHF->Set3ProngOff();
//vHF->SetLikeSi... |
<commit_before>
//
// Calculate flow in the forward and central regions using the Q cumulants method.
//
// Inputs:
// - AliAODEvent
//
// Outputs:
// - AnalysisResults.root or forward_flow.root
//
#include <iostream>
#include <TROOT.h>
#include <TSystem.h>
#include <TList.h>
#include <THn.h>
#include "AliAnalysisMa... |
<commit_before>/*$Id$
*
* This source file is a part of the Berlin Project.
* Copyright (C) 2000 Stefan Seefeld <stefan@berlin-consortium.org>
* http://www.berlin-consortium.org
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* Lic... |
<commit_before>//=======================================================================
// Copyright Baptiste Wicht 2011.
// 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)
//======================================... |
<commit_before>#include "ServerPickingSystem.h"
#include "Transform.h"
#include <AglMatrix.h>
#include <AglQuaternion.h>
#include "PhysicsSystem.h"
#include <PhysicsController.h>
#include "RayPacket.h"
ServerPickingSystem::ServerPickingSystem()
: EntitySystem(SystemType::ServerPickingSystem, 1, ComponentType::ShipMod... |
<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>#include <iostream>
#include <codecvt>
#include <realm.hpp>
#include <realm/table.hpp>
#include <realm/commit_log.hpp>
#include <realm/lang_bind_helper.hpp>
#include "ffi.hpp"
#include "transact_log_handler.hpp"
#include "shared_realm.hpp"
#include "schema.hpp"
#include "utf16accessor.hpp"
#ifdef WIN32
... |
<commit_before><commit_msg>Add QUIT command to server.<commit_after><|endoftext|> |
<commit_before>// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "remoting/client/chromoting_stats.h"
#include "remoting/proto/video.pb.h"
namespace {
// We take the last 10 latency numbers... |
<commit_before>// Copyright (c) 2006, 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 ... |
<commit_before><commit_msg>remove legacy file<commit_after><|endoftext|> |
<commit_before><commit_msg>minor speed improvement<commit_after><|endoftext|> |
<commit_before>// See http://www.zaphoyd.com/websocketpp/manual/reference/cpp11-support
// for prepocessor directives and choosing between boost and cpp11
// C++11 STL tokens
#define _WEBSOCKETPP_CPP11_FUNCTIONAL_
#define _WEBSOCKETPP_CPP11_MEMORY_
#define _WEBSOCKETPP_CPP11_RANDOM_DEVICE_
#define _WEBSOCKETPP_CPP11_SY... |
<commit_before>// Copyright 2015 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 "flutter/lib/ui/painting/image_shader.h"
#include "lib/tonic/dart_args.h"
#include "lib/tonic/dart_binding_macros.h"
#include "li... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: ximpgrp.cxx,v $
*
* $Revision: 1.17 $
*
* last change: $Author: ihi $ $Date: 2006-12-19 17:27:02 $
*
* The Contents of this file are made... |
<commit_before>/******************************************************************************
* ____ _ _____ *
* / ___| / \ | ___| C++ *
* | | / _ \ | |_ Actor ... |
<commit_before>#include <iostream>
#include "SDL/SDL.h"
#include "SDL_image.h"
#include "SDL_gfxPrimitives.h"
#include "point.h"
#include "map.h"
#include "game.h"
#include "surface.h"
#include "eventfactory.h"
using namespace std;
Game::Game() {
playing=true;
screen=NULL;
terrain=NULL;
map_camera=NULL;
}
i... |
<commit_before>#include "game.h"
#include <stdio.h>
#include "game_of_life.cpp"
#include <math.h>
#define MIN_FRAMERATE 0
#define MAX_FRAMERATE 30
#define BOARD_SIZE 500
typedef struct game_state
{
memory_arena arena;
int32 current_generation[BOARD_SIZE*BOARD_SIZE];
int32 prev_generation[BOARD_SIZE*BOAR... |
<commit_before>/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* Copyright 2008 by Sun Microsystems, Inc.
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: AxisWrapper.hxx,v $
* $Revision:... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: ViewElementListProvider.hxx,v $
*
* $Revision: 1.4 $
*
* last change: $Author: vg $ $Date: 2007-05-22 17:57:30 $
*
* The Contents of this... |
<commit_before>/**
* @file
* @copyright defined in eos/LICENSE.txt
*/
#include <eos/chain/exceptions.hpp>
#include <fc/io/raw.hpp>
#include <fc/bitutil.hpp>
#include <fc/smart_ref_impl.hpp>
#include <algorithm>
#include <boost/range/adaptor/transformed.hpp>
namespace eosio { namespace chain {
digest_type transa... |
<commit_before>#include <bts/net/core_messages.hpp>
namespace bts { namespace net {
const core_message_type_enum item_ids_inventory_message::type = core_message_type_enum::item_ids_inventory_message_type;
const core_message_type_enum blockchain_item_ids_inventory_message::type = core_message_type_enum:... |
<commit_before>// Copyright (c) 2011 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/extensions/browser_action_test_util.h"
#include "chrome/browser/extensions/extension_apitest.h"
#include "chro... |
<commit_before><?hh //strict
namespace typesafety;
final class Arguments
{
private ImmVector<string> $argv;
public function __construct
(
Argv $argv
)
{
$this->argv = new ImmVector($argv);
}
public function getScriptName() : ScriptName
{
return $this->argv->... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.