text stringlengths 54 60.6k |
|---|
<commit_before>#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include <crypto++/hmac.h>
#include <crypto++/sha.h>
#include <algorithm>
#include <map>
#include <vector>
#include <cassert>
#include <ctime>
#include <cstdio>
#include <cstring>
#include <cstdlib>
#include <cerrno>
#include "common.hxx"
#include "auth.... |
<commit_before>#include "ProcessorOpus.h"
#include <fstream> //stream output to file
ProcessorOpus::ProcessorOpus(std::string name, int opusApplication, int ErrorCode) : AudioProcessor(name)
{
//how to get audioData Object(SampleRate, ChannelNumber)?
//Opus supports this sampleRates: 8000, 12000, 16000, 24000, or ... |
<commit_before>#include "pch.h"
#include "WaitingLayer.h"
#include "RoomScene.h"
#define GET_CONNECT_LABEL dynamic_cast<Label*>(this->getChildByName("ConnectLabel"))
bool WaitingLayer::init()
{
if (!LayerColor::initWithColor(Color4B::BLACK)) //검은색 세팅
{
return false;
}
this->setOpacity(240);
... |
<commit_before>//===- ScalarEvolutionNormalization.cpp - See below -----------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------... |
<commit_before>#ifndef BARE_ALLOC_HPP
#define BARE_ALLOC_HPP
#include "bare_memory.hpp"
namespace bare {
template<class T>
class allocator
{
public:
typedef T value_type;
typedef T* pointer;
allocator(memory_block& blk) : block(&blk) {}
pointer allocate(size_t n)
{
}
protected:
memory_block* b... |
<commit_before>// //////////////////////////////////////////////////////////////////////
// Import section
// //////////////////////////////////////////////////////////////////////
// STL
#include <cassert>
#include <sstream>
// StdAir
#include <stdair/basic/BasConst_BookingClass.hpp>
#include <stdair/basic/BasConst_In... |
<commit_before>/*
* Smithsonian Astrophysical Observatory, Cambridge, MA, USA
* This code has been modified under the terms listed below and is made
* available under the same terms.
*/
/*
* Copyright 1991-2004 George A Howlett.
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy... |
<commit_before>/*
* Copyright (C) 2008, 2010 Apple Inc. All Rights Reserved.
* Copyright (C) 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:
* 1. Redistributions of source ... |
<commit_before>#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "highlevel_feature_extractor.h"
#include <rcsc/common/server_param.h>
#include "agent.h"
using namespace rcsc;
HighLevelFeatureExtractor::HighLevelFeatureExtractor(int num_teammates,
int num_o... |
<commit_before>/**
* @file TaskScheduler.hpp
* @author Denis Kotov
* @date 23 Apr 2018
* @brief Scheduler for starting coroutine Tasks
* @copyright Denis Kotov, MIT License. Open source: https://github.com/redradist/Inter-Component-Communication.git
*/
#ifndef ICC_TASHSHEDULER_HPP
#define ICC_TASHSHEDULER_HPP
#... |
<commit_before>#include "LouvainSimplifier.h"
#include <Graph.h>
#include <Louvain.h>
#include <iostream>
using namespace std;
bool
LouvainSimplifier::updateData(Graph & target_graph, time_t start_time, time_t end_time, float start_sentiment, float end_sentiment, Graph & source_graph, RawStatistics & stats, bool is_... |
<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
* 2 of the License, or (at your option) any later version.
*/
#include "stdafx.h"
#include "MZ3.h"
#... |
<commit_before>// GPS Tracker project with Adafruit IO
// Author: Martin Spier
#include "Arduino_Tracker.h"
// Alarm pins
const int ledPin = LEAD_PIN;
// for the data logging shield, we use digital pin 10 for the SD cs line
const int chipSelect = 10;
// the logging file
File logfile;
// FONA instance & configurati... |
<commit_before>/*
-----------------------------------------------------------------------------
Filename: TinyOgre.cpp
-----------------------------------------------------------------------------
This source file is part of the
___ __ __ _ _ _
/___\__ _ _ __ ___ / / /\ \ (_) | _(_)
// ... |
<commit_before>#include "Server.h"
#include "defines.h"
#include "ObjectManager.h"
#include "Object.h"
#include "Player.h"
#include "Client.h"
#include "Packet.h"
#include "Grid.h"
#include "Tools.h"
#include "AuthDatabase.h"
#include "CharactersDatabase.h"
#include "Log.h"
#include "debugging.h"
//@ Net basic headers... |
<commit_before>// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
// vim: ts=8 sw=2 smarttab
/*
* Ceph - scalable distributed file system
*
* Copyright (C) 2004-2010 Dreamhost
*
* This is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public... |
<commit_before>#include "Cell.h"
#include <cstdlib>
#include <cassert>
cigma::Cell::Cell()
{
nsd = -1;
celldim = -1;
nno = 0;
globverts = NULL;
refverts = NULL;
ndofs = 0;
basis_tab = NULL;
basis_jet = NULL;
nq = 0;
jxw = NULL;
qpts = NULL;
qwts = NULL;
gqpts = ... |
<commit_before>/*
This source file is part of pairOculus, a student project aiming at creating a
simple 3D multiplayer game for the Oculus Rift.
Repository can be found here : https://github.com/Target6/pairOculus
Copyright (c) 2013 Zykino
Permission is hereby granted, free of charge, to any person obtaining a copy ... |
<commit_before>#include "Network.h"
void Network::begin(nodeID node) {
Serial << F("Network: begin") << endl;
this->node = networkStart(node);
// setup Light comms
Serial1.begin(115200);
//start the library, pass in the data details and the name of the serial port. Can be Serial, Serial1, Serial2, etc.
t... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: unomailmerge.hxx,v $
*
* $Revision: 1.8 $
*
* last change: $Author: hr $ $Date: 2007-09-27 08:15:44 $
*
* The Contents of this file are m... |
<commit_before>#include <vtkSmartPointer.h>
#include <vtkImageViewer2.h>
#include <vtkTIFFReader.h>
#include <vtkRenderWindow.h>
#include <vtkRenderWindowInteractor.h>
#include <vtkRenderer.h>
int main(int argc, char* argv[])
{
//Verify input arguments
if ( argc != 2 )
{
std::cout << "Usage: " << argv[0]
... |
<commit_before>#include "SlidingWindow.h"
#include "IRMutator.h"
#include "IROperator.h"
#include "Scope.h"
#include "Debug.h"
#include "Substitute.h"
#include "IRPrinter.h"
#include "Simplify.h"
#include "Derivative.h"
#include "Bounds.h"
namespace Halide {
namespace Internal {
using std::string;
using std::map;
//... |
<commit_before>#include "virtualkeyitem.h"
#include <QDebug>
#include <QGraphicsSceneMouseEvent>
#include <QTouchEvent>
#include "../osd.h"
VirtualKeyItem::VirtualKeyItem(PCKEYsym code,
QString pixNormal,
QString pixShift,
QString pixGrph,
QString pixKana,
QString pix... |
<commit_before><?hh //strict
namespace hhpack\publisher;
use ReflectionClass;
use ReflectionMethod;
final class SubscribeAgent<T as Message> implements Agent<T>
{
private SubscriptionMap<T> $subscriptions = Map {};
public function __construct(
private Subscribable<T> $receiver
)
{
$... |
<commit_before>/*
Copyright (c) 2017 InversePalindrome
VariadicPoker - Deck.cpp
InversePalindrome.com
*/
#include "Deck.hpp"
Deck::Deck() :
deck()
{
for (int suit = Card::Spade; suit <= Card::Heart; suit++)
{
for (int rank = Card::Two; rank <= Card::Ace; rank++)
{
deck.push_back(Card((Car... |
<commit_before>#include "gtest/gtest.h"
#include "S3ExtWrapper.cpp"
class S3Reader_fake : public S3Reader {
public:
S3Reader_fake(const char *url);
virtual ~S3Reader_fake();
virtual bool Init(int segid, int segnum, int chunksize);
virtual bool Destroy();
protected:
virtual string getKeyURL(c... |
<commit_before>#include <QDebug>
#include <QMutexLocker>
#include <QCoreApplication>
#include <sstream>
#include <iostream>
#include "DownloadManager.h"
#include "Util.h"
#include "Downloader.h"
using namespace efdl;
DownloadManager::DownloadManager(bool dryRun, bool connProg)
: dryRun{dryRun}, connProg{connProg}... |
<commit_before>#include "Leap.h"
#include "util.h"
#include "GMod_LeapFrame.h"
#include "GMod_LeapHand.h"
#include "GMod_LeapFinger.h"
#include "GMod_LeapBone.h"
using namespace GarrysMod;
using namespace Leap;
using namespace GModLeap;
int LeapFinger::TYPE = 101; //random
void LeapFinger::DefineMeta( lua_State ... |
<commit_before>#include <signal.h>
#include <stdio.h>
#include <unistd.h>
#include <algorithm>
#include <cmath>
#include <fstream>
#include <iostream>
#include <sstream>
#include <streambuf>
#include <string>
#include <tuple>
#include <vector>
#include "const.hpp"
#include "cpu.hpp"
#include "cursor.hpp... |
<commit_before>/*=========================================================================
*
* Copyright 2011-2013 The University of North Carolina at Chapel Hill
* All rights reserved.
*
* Licensed under the MADAI Software License. You may obtain a copy of
* this license at
*
* https://madai-public... |
<commit_before>/****************************************************************************
*
* Copyright (C) 2015 Mark Charlebois. 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... |
<commit_before>/*ckwg +5
* Copyright 2011 by Kitware, Inc. All Rights Reserved. Please refer to
* KITWARE_LICENSE.TXT for licensing information, or contact General Counsel,
* Kitware, Inc., 28 Corporate Drive, Clifton Park, NY 12065.
*/
#include "print_number_process.h"
#include <vistk/pipeline_types/port_types.h... |
<commit_before>/******************************************************************************
* ____ _ _____ *
* / ___| / \ | ___| C++ *
* | | / _ \ | |_ Actor ... |
<commit_before>#include "PointRenderer.h"
#include "graphics/Shader.h"
#include "graphics/ShaderManager.h"
#include "graphics/Texture.h"
#include "graphics/TextureManager.h"
#include "graphics/ViewState.h"
#include "graphics/shaders/RegularShaderSource.h"
#include "graphics/utils/GLContext.h"
#include "layers/VectorLay... |
<commit_before>//
// This file is part of the Marble Desktop Globe.
//
// This program is free software licensed under the GNU LGPL. You can
// find a copy of this license in LICENSE.txt in the top directory of
// the source code.
//
// The code in this file is largely based on KDE's KLineEdit class
// as included in K... |
<commit_before>#include "braincloud/internal/GUID.h"
#include <iomanip>
#include <sstream>
#include <algorithm>
#if defined(WINAPI_FAMILY) || defined(WIN32)
#include <objbase.h>
#endif
// preston: use the crossguid library on android.
// it does support other platforms so a future enhancement would
// be to solely
//... |
<commit_before>#include <cstring>
#include <cstdlib>
#include <fstream>
#include "Game.h"
using namespace std;
Game::Game(int numOfLand , int numOfZombie ) :map_(numOfLand),numOfZombie_(numOfZombie), numOfLand_(numOfLand)
{
for (int i=0; i<numOfZombie_; i+=1)
{
Zombie *temp = new Zombie(RandZombiePos(... |
<commit_before>/**
* Dynamically Loaded Object
* (C) 2010 Jack Lloyd
*
* Botan is released under the Simplified BSD License (see license.txt)
*/
#include <botan/internal/dyn_load.h>
#include <botan/build.h>
#if defined(BOTAN_TARGET_OS_HAS_DLOPEN)
#include <dlfcn.h>
#elif defined(BOTAN_TARGET_OS_HAS_LOADLIBRARY)
#... |
<commit_before>// This file is part of OpenMVG, an Open Multiple View Geometry C++ library.
// Copyright (c) 2015 Pierre MOULON.
// 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 at http://mozilla.o... |
<commit_before>// Copyright (c) 2011 libmv authors.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to
// deal in the Software without restriction, including without limitation the
// rights to use, copy, modify... |
<commit_before>/****************************************************************************
**
** 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 Qt Creator.
**
** $QT_BEGIN_LICENSE:LGPL$
** No Commer... |
<commit_before>#include "NoJoystickState.h"
#include <iostream>
const std::string NoJoystickState::s_menuID = "NO_JOYSTICK";
void NoJoystickState::update() {
// nothing for now
}
void NoJoystickState::render() {
// nothing for now
}
bool NoJoystickState::onEnter() {
std::cout << "entering NoJoystickState\n";
retu... |
<commit_before>// stl includes
#include <exception>
#include <cstring>
// Local Hyperion includes
#include "LedDeviceLightpack.h"
// from USB_ID.h (http://code.google.com/p/light-pack/source/browse/CommonHeaders/USB_ID.h)
#define USB_OLD_VENDOR_ID 0x03EB
#define USB_OLD_PRODUCT_ID 0x204F
#define USB_VENDOR_ID 0... |
<commit_before>/**
* @file LoaderUtils.cpp
* @brief Utils to load Dart objects
*/
#include "DartLoader.h"
#include <dynamics/SkeletonDynamics.h>
#include <kinematics/TrfmTranslate.h>
#include <kinematics/TrfmRotateEuler.h>
#include <kinematics/TrfmRotateAxis.h>
#include <kinematics/Dof.h>
#include <kinematics/Joint... |
<commit_before>/*
* Copyright (c) 2016 The ZLMediaKit project authors. All Rights Reserved.
*
* This file is part of ZLMediaKit(https://github.com/xiongziliang/ZLMediaKit).
*
* Use of this source code is governed by MIT license that can be found in the
* LICENSE file in the root of the source tree. All contribut... |
<commit_before>#pragma once
#include "opencv2/objdetect.hpp"
#include "opencv2/imgproc.hpp"
#include "FrameDerivatives.hpp"
#include "FaceTracker.hpp"
using namespace std;
using namespace cv;
namespace YerFace {
class SeparateMarkers {
public:
SeparateMarkers(FrameDerivatives *myFrameDerivatives, FaceTracker *myFa... |
<commit_before>//
// Copyright (C) 2015 Marcus Comstedt <marcus@mc.pp.se>
//
// Permission to use, copy, modify, and/or distribute this software for any
// purpose with or without fee is hereby granted, provided that the above
// copyright notice and this permission notice appear in all copies.
//
// THE SOFTWARE... |
<commit_before>#include <windows.h>
#include <gl\gl.h>
#ifdef _MSC_VER
#define _USE_MATH_DEFINES
#endif
#include <math.h>
#include "Window.h"
#include "Body.h"
#include "Error.h"
#include "Info.h"
#define NAME_FONT_NAME "Arial"
#define NAME_FONT_SIZE_AT_H600 24
#define NAME_FONT_SIZE (NAME_FONT_... |
<commit_before>/*
Copyright 2019 Alain Dargelas
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 to in w... |
<commit_before>#include "VideoCaptureWrap.h"
#include "Matrix.h"
#include "OpenCV.h"
#include <iostream>
using namespace std;
void AsyncRead(uv_work_t *req);
void AfterAsyncRead(uv_work_t *req);
v8::Persistent<FunctionTemplate> VideoCaptureWrap::constructor;
struct videocapture_baton {
Persistent<Function> cb;
... |
<commit_before>#include <iostream>
#include <fstream>
#include <stdexcept>
#include <string>
#include <vector>
#include <algorithm>
#include <functional>
#include <unordered_map>
#include <boost/program_options.hpp>
#include "global.hpp"
#include "operators.hpp"
#include "tokens.hpp"
#include "nodes.hpp"
#include "bui... |
<commit_before>//=============================================================================
//File Name: Main.cpp
//Description: Handles processing Kinect input
//Author: Tyler Veness
//=============================================================================
/*
* TODO Add support for multiple monitors
*/
#i... |
<commit_before>#include "stdafx.h"
#include "bbudf.h"
#include "curl.h"
#include "logger.h"
namespace curl {
//TODO http://www.openssl.org/docs/crypto/threads.html#DESCRIPTION
__thread CURL* ch=NULL;
__thread long curl_response_code=0;
int curl_global_init_called=0;
size_t readfunction_blob( char *ptr, size_t siz... |
<commit_before>#ifndef __STAN__GM__PARSER__STATEMENT_2_GRAMMAR__HPP__
#define __STAN__GM__PARSER__STATEMENT_2_GRAMMAR__HPP__
#include <string>
#include <sstream>
#include <vector>
#include <boost/spirit/include/qi.hpp>
#include <stan/gm/ast.hpp>
#include <stan/gm/grammars/whitespace_grammar.hpp>
#include <stan/gm/gr... |
<commit_before>#include "debug.h"
#include <stdio.h>
#include <iostream>
#include "terminal.h"
#include <lldb/API/SBTarget.h>
#include <lldb/API/SBProcess.h>
#include <lldb/API/SBEvent.h>
#include <lldb/API/SBBreakpoint.h>
#include <lldb/API/SBThread.h>
#include <lldb/API/SBStream.h>
#include <lldb/API/SBDeclaration.h... |
<commit_before>#pragma once
class device final {
public:
device(const nlohmann::json& json) : json_(json),
identifiers_(json.find("identifiers") != json.end() ? json["identifiers"] : nlohmann::json()),
ignore_(false),
... |
<commit_before>#include <string.h>
#include <node.h>
#include <node_buffer.h>
#include <openssl/bn.h>
#include <openssl/ec.h>
#include <openssl/ecdsa.h>
#include <openssl/ecdh.h>
#include "eckey.h"
using namespace v8;
using namespace node;
static Handle<Value> V8Exception(const char* msg) {
HandleSc... |
<commit_before>#ifndef STAN_MATH_REV_CORE_RECOVER_MEMORY_NESTED_HPP
#define STAN_MATH_REV_CORE_RECOVER_MEMORY_NESTED_HPP
#include <stan/math/rev/core/chainable.hpp>
#include <stan/math/rev/core/chainable_alloc.hpp>
#include <stan/math/rev/core/chainablestack.hpp>
#include <stan/math/rev/core/empty_nested.hpp>
#include... |
<commit_before>/*
* nextpnr -- Next Generation Place and Route
*
* Copyright (C) 2018 Miodrag Milanovic <miodrag@symbioticeda.com>
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and thi... |
<commit_before>#ifndef __EVAL_HPP__
#define __EVAL_HPP__
#include <iostream>
#include <boost/algorithm/string.hpp>
#include <boost/foreach.hpp>
#include <boost/unordered_map.hpp>
#include <iomanip>
#include <boost/format.hpp>
#include "util.hpp"
typedef struct {
std::string id;
std::string gold;
std::string sys;
... |
<commit_before>///===--- GlobalExecutor.cpp - Global concurrent executor ------------------===///
///
/// This source file is part of the Swift.org open source project
///
/// Copyright (c) 2014 - 2020 Apple Inc. and the Swift project authors
/// Licensed under Apache License v2.0 with Runtime Library Exception
///
///... |
<commit_before>/* bzflag
* Copyright (c) 1993 - 2006 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>/**
* @file ToStringTest.cpp
* @author Ryan Birmingham
*
* Test of the AugmentedLagrangian class using the test functions defined in
* aug_lagrangian_test_functions.hpp.
**/
#include <mlpack/core.hpp>
#include <mlpack/core.hpp>
#include <boost/test/unit_test.hpp>
#include "old_boost_test_definitio... |
<commit_before>////////////////////////////////////////////////////////////////////////////////
// taskwarrior - a command line task list manager.
//
// Copyright 2006 - 2011, Paul Beckingham, Federico Hernandez.
// All rights reserved.
//
// This program is free software; you can redistribute it and/or modify it under... |
<commit_before>/*
* game.cpp
*
* Created on: Mar 26, 2016
* Author: Tumblr
*/
#include <string>
#include <iostream>
#include <sstream>
#include "game.h"
#include "utils.h"
using namespace std;
/*
* Default Game constructor
*/
Game::Game(string type) {
players = type;
if(players != "single" || players !... |
<commit_before>/*
* ProjAction.cpp
* OpenLieroX
*
* Created by Albert Zeyer on 02.04.09.
* code under LGPL
*
*/
#include "ProjAction.h"
#include "CGameScript.h"
#include "CWorm.h"
#include "CProjectile.h"
#include "CClient.h"
#include "ProjectileDesc.h"
#include "Physics.h"
#include "ConfigHandler.h"
#inclu... |
<commit_before>/*************************************************************************
*
* $RCSfile: accselectionhelper.hxx,v $
*
* $Revision: 1.4 $
*
* last change: $Author: vg $ $Date: 2003-04-24 16:13:23 $
*
* The Contents of this file are made available subject to the terms of
* either of the follo... |
<commit_before>// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
// vim: ts=8 sw=2 smarttab
/*
* Ceph - scalable distributed file system
*
* Copyright (C) 2010-2011 Dreamhost
*
* This is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public... |
<commit_before>
// Copyright (c) 2012, 2013 Pierre MOULON.
// 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 at http://mozilla.org/MPL/2.0/.
#ifndef OPENMVG_FEATURES_DESCRIPTOR_HPP
#define OPENMVG_F... |
<commit_before>#include "iges.h"
bool siren_iges_install(mrb_state* mrb, struct RClass* rclass)
{
rclass = mrb_define_module(mrb, "IGES");
mrb_define_class_method(mrb, rclass, "save", siren_iges_save, MRB_ARGS_REQ(2));
mrb_define_class_method(mrb, rclass, "load", siren_iges_load, MRB_ARGS_REQ(1));
return true;... |
<commit_before>/*******************************************************************************
* Reverse Polish Notation calculator. *
* Copyright (c) 2007-2008, Samuel Fredrickson <kinghajj@gmail.com> *
* All rights reserved. ... |
<commit_before>#include "FemusInit.hpp"
#include "MultiLevelProblem.hpp"
#include "VTKWriter.hpp"
#include "TransientSystem.hpp"
#include "NonLinearImplicitSystem.hpp"
#include "NumericVector.hpp"
#include "adept.h"
#include "petsc.h"
#include "petscmat.h"
#include "PetscMatrix.hpp"
#include "slepceps.h"
#include "s... |
<commit_before>//////////////////////////////////////////////////////////////////////////////
//
// Copyright (c) 2007-2016 musikcube team
//
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//... |
<commit_before>/** @defgroup SLAM Slam files
*
* @brief Files use for SLAM algorithm
*/
/**
* @class Slam
*
* @ingroup SLAM
*
* @brief Main Slam algorithm class
*
* This class is meant as a entry point to Slam algorithm for an Agent
*
* @author Nicolas
*
* @version 1.0
*
* @date 28/04/2015
*
*/
#ifn... |
<commit_before>#ifndef SRC_CORE_CONNECTABLES_HPP_
#define SRC_CORE_CONNECTABLES_HPP_
#include <cmath>
#include <cassert>
namespace fc
{
/**
* A collection of different useful connectables.
* A lot of them are names for simple lambdas to make code less verbose.
*/
/// Increments input using prefix operator ++.
au... |
<commit_before>#ifndef _htl_core_log_hpp
#define _htl_core_log_hpp
/*
#include <htl_core_log.hpp>
*/
#include <stdio.h>
#include <errno.h>
#include <string.h>
#include <string>
class DateTime
{
private:
// %d-%02d-%02d %02d:%02d:%02d.%03d
#define DATE_LEN 24
char time_data[DATE_LEN];... |
<commit_before><commit_msg>remove unused bIsOwner field in SfxHint<commit_after><|endoftext|> |
<commit_before>/*******************************************************************************
* include/wm_dd_pc.hpp
*
* Copyright (C) 2017 Florian Kurpicz <florian.kurpicz@tu-dortmund.de>
*
* All rights reserved. Published under the BSD-2 license in the LICENSE file.
*******************************************... |
<commit_before>/*
===========================================================================
Daemon BSD Source Code
Copyright (c) 2013-2016, Daemon Developers
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are ... |
<commit_before>/*
* FileMode.hpp
*
* Copyright (C) 2009-12 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 Publ... |
<commit_before>/*
* MLPLM.cpp
*
* Created on: 20.11.2013
* Author: cls
*/
#include "PLM.h"
#include <omp.h>
#include "../coarsening/PartitionCoarsening.h"
#include "../coarsening/ClusterContractor.h"
#include "../coarsening/ClusteringProjector.h"
#include "../auxiliary/Log.h"
#include <sstream>
namespace ... |
<commit_before>#include "player.h"
Player::Player(int health, float speed, int damage, int width, int height, Texture* texture, Camera * camera, b2World * world) : Person::Person(health, speed, damage, width, height, texture, camera, world)
{
staff = new Staff(1000.0f, world, 100, 200, glm::vec2(0.0f, -0.0f), Resourc... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: pe_file.cxx,v $
*
* $Revision: 1.7 $
*
* last change: $Author: hr $ $Date: 2006-06-19 12:04:01 $
*
* The Contents of this file are made a... |
<commit_before><commit_msg>INTEGRATION: CWS jl61 (1.37.10); FILE MERGED 2007/05/07 10:03:08 ab 1.37.10.1: #i77021# Support Decoration property<commit_after><|endoftext|> |
<commit_before>#include "df_message_dialog.h"
#if 0
#include <windows.h>
int MessageDialog(char const *title, char const *message, MessageDialogType type) {
switch (type) {
case MsgDlgTypeYesNo: type = (MessageDialogType)MB_YESNO; break;
case MsgDlgTypeYesNoCancel: type = (MessageDia... |
<commit_before>/*
Copyright (c) 2014 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Author: Leonardo de Moura
*/
#include "util/lazy_list_fn.h"
#include "util/flet.h"
#include "kernel/instantiate.h"
#include "kernel/for_each_fn.h"
#include "kernel/abstra... |
<commit_before>/*****************************************************************************
* Copyright (C) 2011-2016 Michael Ira Krufky
*
* Author: Michael Ira Krufky <mkrufky@linuxtv.org>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Pu... |
<commit_before>/*
Copyright (C) 2014-2017 Alexandr Akulich <akulichalexander@gmail.com>
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 Foundatio... |
<commit_before>//
// libavg - Media Playback Engine.
// Copyright (C) 2003-2008 Ulrich von Zadow
//
// 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 of the Li... |
<commit_before>/*
* Copyright (C) 2017 The Android Open Source Project
*
* 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 ... |
<commit_before>/*******************************************************
* Simple arrayfire matrix multiply example
********************************************************/
#include <arrayfire.h>
#include <cstdio>
#include <cstdlib>
#include <Windows.h> // For GetTickCount()
using namespace af;
// Borrow simple ... |
<commit_before>/*
* Copyright (C) 2013 Daniel Nicoletti <dantti12@gmail.com>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option... |
<commit_before>/*
Copyright (C) 2018 Alexandr Akulich <akulichalexander@gmail.com>
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>/*
Title: Main program
Copyright (c) 2000
Cambridge University Technical Services Limited
Further development copyright David C.J. Matthews 2001-12
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 (C) 2013 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of the Qt Build Suite.
**
** Commercial License Usage
** Licensees holding valid commercial Qt ... |
<commit_before>/*
* Copyright (c) 2013-2015 John Connor (BM-NC49AxAjcqVcF5jNPu85Rb8MJ2d9JqZt)
*
* This file is part of vanillacoin.
*
* vanillacoin 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 publis... |
<commit_before>/*
*
* Copyright 2019 Asylo 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>//#define ENABLE_DEBUG_TRACES
#include "libport/compiler.hh"
#include "libport/unistd.h"
#include "libport/sysexits.hh"
#include "libport/windows.hh"
#include <iostream>
#include <fstream>
#include <algorithm>
#include <boost/foreach.hpp>
#include "libport/cli.hh"
#include "libport/program-name.hh"
#i... |
<commit_before>/*
* Adapted from code copyright 2009-2011 Intel Corporation
* Modifications Copyright 2012, Blender 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
*
* htt... |
<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 COPYING that should have accompanied this file.
*
* THIS PACKAGE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.