text stringlengths 54 60.6k |
|---|
<commit_before>#include <ros/ros.h>
#include <tf/transform_listener.h>
#include <sensor_msgs/JointState.h>
#include <geometry_msgs/PoseArray.h>
#include <visualization_msgs/Marker.h>
#include <visualization_msgs/MarkerArray.h>
#include <move_base_msgs/MoveBaseAction.h>
#include <actionlib/server/simple_action_server.h>... |
<commit_before>// Copyright (c) 2014 Greenheart Games Pty. Ltd. All rights reserved.
// Use of this source code is governed by the MIT license that can be
// found in the LICENSE file.
#include "greenworks_async_workers.h"
#include "nan.h"
#include "steam/steam_api.h"
#include "v8.h"
#include "greenworks_unzip.h"
#i... |
<commit_before>#include <Poco/Clock.h>
#include <Poco/Logger.h>
#include <Poco/Net/WebSocket.h>
#include <Poco/Net/NetException.h>
#include "di/Injectable.h"
#include "gws/GatewayCommunicator.h"
BEEEON_OBJECT_BEGIN(BeeeOn, GatewayCommunicator)
BEEEON_OBJECT_CASTABLE(StoppableLoop)
BEEEON_OBJECT_REF("messageHandler", ... |
<commit_before>// This file was developed by Thomas Müller <thomas94@gmx.net>.
// It is published under the BSD 3-Clause License within the LICENSE file.
#include <tev/imageio/StbiImageLoader.h>
#include <tev/ThreadPool.h>
#include <stb_image.h>
using namespace Eigen;
using namespace std;
TEV_NAMESPACE_BEGIN
bool ... |
<commit_before>/* libwpd
* Copyright (C) 2002 William Lachance (wrlach@gmail.com)
* Copyright (C) 2002 Marc Maurer (uwog@uwog.net)
* Copyright (C) 2007 Fridrich Strba (fridrich_strba@bluewin.ch)
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library Gene... |
<commit_before>/****************************************************************************
*
* Copyright (C) 2013 PX4 Development 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>/****************************************************************************
*
* Copyright (c) 2012-2014 PX4 Development Team. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are me... |
<commit_before>namespace mant {
template <typename T = double>
class RandomSearch : public SamplingBasedOptimisationAlgorithm<T, T> {
public:
using SamplingBasedOptimisationAlgorithm<T, T>::SamplingBasedOptimisationAlgorithm;
std::string toString() const noexcept override;
protected:
voi... |
<commit_before>#ifndef ALEPH_REPRESENTATIONS_SET_HH__
#define ALEPH_REPRESENTATIONS_SET_HH__
#include <algorithm>
#include <set>
#include <vector>
namespace aleph
{
namespace topology
{
namespace representations
{
template <class IndexType> class Set
{
public:
using Index = IndexType;
void setNumColumns( Inde... |
<commit_before>#include "primops.hh"
#include "eval-inline.hh"
#include "download.hh"
#include "store-api.hh"
#include "pathlocks.hh"
#include <sys/time.h>
#include <regex>
#include <nlohmann/json.hpp>
using namespace std::string_literals;
namespace nix {
struct GitInfo
{
Path storePath;
std::string rev;
... |
<commit_before>#ifndef AGGRASTER_HPP
#define AGGRASTER_HPP
#include <libslic3r/SLA/RasterBase.hpp>
#include "libslic3r/ExPolygon.hpp"
#include "libslic3r/MTUtils.hpp"
#include <libnest2d/backends/clipper/clipper_polygon.hpp>
// For rasterizing
#include <agg/agg_basics.h>
#include <agg/agg_rendering_buffer.h>
#include... |
<commit_before>
struct tile_face {
tile_location tile;
cardinal_direction which_face;
}
struct tile_edge {
tile_location tile;
something_or_other which_edge;
}
struct tile_face_shadow_info {
collection<tile_edge> edges_directly_shadowing_this; // TODO do we need this? redundant with lit_shape
// dunno i... |
<commit_before>/**
* @file TextSummarizationSubManager.cpp
* @brief header file of TextSummarizationSubManager class
* @author MyungHyun (Kent)
* @date 2008-06-05
* @details
* - Log
* @author Deepesh Shrestha
* Modified interfaces to generate sentence blocks for
* snippet and summarization
*/
#include "T... |
<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>//---------------------------------------------------------------------------//
//!
//! \file MonteCarlo_BatchedDistributedParticleSimulationManager_def.hpp
//! \author Alex Robinson
//! \brief The batched distributed particle simulation manager class def.
//!
//---------------------------------------... |
<commit_before>#ifndef _SNARKFRONT_SECURE_HASH_STD_HPP_
#define _SNARKFRONT_SECURE_HASH_STD_HPP_
#include <cassert>
#include <cstdint>
#include <ostream>
#include <string>
#include <vector>
#include <snarkfront/DataBuffer.hpp>
namespace snarkfront {
//////////////////////////////////////////////////////////////////... |
<commit_before>#include <sstream>
#include <iostream>
#include <fstream>
#include <vector>
#include <cassert>
#include <cmath>
#include <tr1/memory>
#include <boost/program_options.hpp>
#include <boost/program_options/variables_map.hpp>
#include "verbose.h"
#include "hg.h"
#include "prob.h"
#include "inside_outside.h... |
<commit_before>// bslmt_latch.cpp -*-C++-*-
#include <bslmt_latch.h>
#include <bsls_ident.h>
BSLS_IDENT_RCSID(bslmt_latch_cpp,"$Id$ $CSID$")
#include <bslmt_barrier.h> // for testing only
#include <bslmt_lockguard.h>
#include <bslmt_threadgroup.h> // for te... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: collelem.hxx,v $
*
* $Revision: 1.3 $
*
* last change: $Author: rt $ $Date: 2005-09-07 21:31:53 $
*
* The Contents of this file are made ... |
<commit_before>#ifndef CINSERT_ITERATOR
#define CINSERT_ITERATOR
#include<iterator>
#include<memory> //addressof
#include<utility> //move
namespace nTool
{
template<class T,class Hold,class RefFunc,class MoveFunc>
class CInsert_iterator:public std::iterator<std::output_iterator_tag,void,void,void,void>
{
Hold *ho... |
<commit_before>/* -*- mode: C++; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
// vim:sts=8:sw=8:ts=8:noet:sr:cino=>s,f0,{0,g0,(0,\:0,t0,+0,=s
/* Copyright (c) FFLAS-FFPACK
* Written by Clément Pernet <clement.pernet@imag.fr>
* ========LICENCE========
* This file is part of the library FFLAS-FFPACK.
*
*... |
<commit_before>#include "stdafx.h"
#include "input.h"
#include "asdf_multiplat/main/mouse.h"
#include "editor.h"
namespace asdf
{
using namespace input;
namespace hexmap
{
namespace editor
{
input_handler_t::input_handler_t(editor_t& _editor)
: input::hex_map_input_t(_editor.hex_map.get(), _editor.hex... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: DomainMapperTableManager.cxx,v $
*
* $Revision: 1.8 $
*
* last change: $Author: os $ $Date: 2007-05-09 13:55:52 $
*
* The Contents of thi... |
<commit_before>/* =======================================================================
Copyright (c) 2011, Institute for Microelectronics,
Institute for Analysis and Scientific Computing,
TU Wien.
-----------------
Vie... |
<commit_before>#include <cstring>
#include "CTokenizer.h"
#include "CClassifier.h"
#include "util.h"
const int CTokenizer::ms_iTransitions [ CTokenizer::NUMSTATES ] [ CClassifier::GROUP_MAX ] = {
/* ALPHA DIGIT eE DOT UNDER EQUAL LT GT PLUS MINUS STAR SLASH CR LF SPACE SEP ... |
<commit_before>/*
* Copyright (C) 2014-present ScyllaDB
*/
/*
* This file is part of Scylla.
*
* Scylla 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... |
<commit_before>/*******************************************************************************
**
** Filename : newfolderdialog.cpp
** Created on : 30 January, 2005
** Copyright : (c) 2005 Till Adam
** Email : adam@kde.org
**
*******************************************************************************/
/**... |
<commit_before>#ifndef LANEMAPPER_HPP_INCLUDED
#define LANEMAPPER_HPP_INCLUDED
#include <events/Event.hpp>
#include <sensors/DataStructures/StereoImageData.hpp>
#include <opencv2/opencv.hpp>
class LaneMapper
{
public:
LaneMapper(Event<StereoImageData>* source)
: LOnNewFrame(this)
{
i... |
<commit_before>#include "mutator.hpp"
#include <iostream>
#include <fstream>
namespace mtt
{
Mutator::Mutator()
{
std::random_device rd;
gen = std::mt19937(rd());
letter = std::uniform_int_distribution<>{1, 1000000000};
for (std::size_t i = 0; i < probabilities.size(); ++i)
... |
<commit_before>/*=========================================================================
Copyright 2011 Patrick IMBO
Contributed to ORFEO Toolbox under license Apache 2
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You... |
<commit_before>/*
* DSA Parameter Generation
* (C) 1999-2007 Jack Lloyd
*
* Botan is released under the Simplified BSD License (see license.txt)
*/
#include <botan/numthry.h>
#include <botan/hash.h>
#include <botan/parsing.h>
#include <algorithm>
namespace Botan {
namespace {
/*
* Check if this size is allowed by F... |
<commit_before>// -*- Mode:C++ -*-
/**************************************************************************************************/
/* */
/* Copyright (C) 2016 University of Hull ... |
<commit_before>/*
* System RNG
* (C) 2014,2015,2017,2018 Jack Lloyd
*
* Botan is released under the Simplified BSD License (see license.txt)
*/
#include <botan/system_rng.h>
#if defined(BOTAN_TARGET_OS_HAS_RTLGENRANDOM)
#include <botan/dyn_load.h>
#define NOMINMAX 1
#define _WINSOCKAPI_ // stop windows.h includ... |
<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 "ash/system/audio/tray_volume.h"
#include "ash/shell.h"
#include "ash/system/tray/system_tray_delegate.h"
#include "ash/syste... |
<commit_before>//=====================================================================//
/*! @file
@brief ファースト・サンプル(LED 点滅) @n
RX64M, RX71M, RX72M: @n
12MHz のベースクロックを使用する @n
P07 ピンにLEDを接続する @n
RX65N (Renesas Envision kit RX65N): @n
12MHz のベースクロックを使用する @n
P70 に接続された LED を利用する @n
RX... |
<commit_before>#include <ruby.h>
#include <ruby/encoding.h>
#include "unicode.h"
MediaInfoDLL::String value_to_ansi_string(VALUE s)
{
rb_encoding* enc = rb_enc_find("ANSI");
VALUE exported = rb_str_export_to_enc(s, enc);
return MediaInfoDLL::String(StringValueCStr(exported));
}
VALUE ansi_string_to_value(MediaI... |
<commit_before>/*
* Copyright (c) 2013-Forward, Andrew "Art" Clarke
*
* This file is part of Humble Video.
*
* Humble Video 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 th... |
<commit_before>// Copyright (c) 2020 by Robert Bosch GmbH. 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
//
// ... |
<commit_before>#ifndef __CONTROLLER_HPP
#define __CONTROLLER_HPP
#ifndef __ODRIVE_MAIN_H
#error "This file should not be included directly. Include odrive_main.h instead."
#endif
class Controller : public ODriveIntf::ControllerIntf {
public:
typedef struct {
uint32_t index = 0;
float cogging_map[3... |
<commit_before>
#include "config.h"
// system
#include <iostream>
// boost
#include <boost/filesystem.hpp>
// dune-common
#include <dune/common/parametertree.hh>
// dune-helper-tools
#include <dune/helper-tools/common/parametertree.hh>
/**
\brief Creates a parameter file if it does not exist.
... |
<commit_before>/* Copyright (c) 2014 Quanta Research Cambridge, Inc
*
* 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 us... |
<commit_before>#include "SteamAudio.hpp"
SteamAudio::SteamAudio() {
context = nullptr;
environmentalRenderer = nullptr;
}
SteamAudio::SteamAudio(IPLContext * context, IPLhandle * environment) {
}
SteamAudio::~SteamAudio() {
if(context != nullptr)
delete context;
}
void SteamAudio::Process(IPLAu... |
<commit_before>#ifdef __WIN32__
#include <winsock2.h>
#else
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <netinet/tcp.h>
#endif
#include <unistd.h>
#include <string.h>
#include <errno.h>
#include <sstream>
#include "network.h"
#include "handler.h"
#include "logging.h"
Network::Networ... |
<commit_before>#include <iostream>
#include <cmath>
#include "timer.h"
#include "matrix.h"
#if defined(AMATRIX_COMPARE_WITH_EIGEN)
#include "Eigen/Dense"
#endif
#if defined(AMATRIX_COMPARE_WITH_UBLAS)
#include <boost/numeric/ublas/matrix.hpp>
#endif
template <typename TMatrixType, int NumberOfRows, int NumberOfColu... |
<commit_before>#include "AliITSPid.h"
#include "TMath.h"
#include <iostream.h>
ClassImp(AliITSPid)
//-----------------------------------------------------------
Float_t AliITSPid::qcorr(Float_t xc)
{
assert(0);
Float_t fcorr;
fcorr=( 0.766 +0.9692*xc -1.267*xc*xc )*( 1.-TMath::Exp(-xc*64.75) );
if(fcorr<=0.1... |
<commit_before>//////////////////////////////////////////////////////////////////////////
//
// Copyright (c) 2008-2010, Image Engine Design Inc. 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>// The MIT License (MIT)
// Copyright (c) 2016, Microsoft
// 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
// t... |
<commit_before>/****************************************************************************
*
* (c) 2009-2016 QGROUNDCONTROL PROJECT <http://www.qgroundcontrol.org>
*
* QGroundControl is licensed according to the terms in the file
* COPYING.md in the root of the source code directory.
*
**********************... |
<commit_before>// SwiftShader Software Renderer
//
// Copyright(c) 2005-2013 TransGaming Inc.
//
// All rights reserved. No part of this software may be copied, distributed, transmitted,
// transcribed, stored in a retrieval system, translated into any human or computer
// language by any means, or disclosed to third p... |
<commit_before>template<typename T> void ascii::Log::Print(T message, bool newLine)
{
if (Enabled())
{
cout << message;
if (newLine)
{
cout << endl;
}
}
}
template<typename T> void ascii::Log::Error(T errorMessage)
{
Print("*========================ERROR=====... |
<commit_before>#include "AnimationSet.h"
#include "Common.h"
#include <iostream>
#include <boost/property_tree/ptree.hpp>
#include <boost/property_tree/json_parser.hpp>
using boost::property_tree::ptree;
using boost::property_tree::read_json;
bool AnimationSet::loadFromFile(const std::string &filename)
{
ptree p... |
<commit_before>/*
* The Apache Software License, Version 1.1
*
*
* Copyright (c) 1999 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. Redistri... |
<commit_before><commit_msg>fixed bug with bet reset<commit_after><|endoftext|> |
<commit_before><commit_msg>Tuplaturbo (molemmat Control-näppäimet pohjaan yhtä aikaa).<commit_after><|endoftext|> |
<commit_before>
#include <ostream>
#include <string>
#include <boost/filesystem.hpp>
#include <papyrus/parser/PapyrusParser.h>
#include <papyrus/PapyrusResolutionContext.h>
#include <papyrus/PapyrusScript.h>
#include <pex/PexWriter.h>
void compileScript(std::string filename) {
printf("Compiling %s\n", filename.c_s... |
<commit_before>/*************************************************************************
*
* $RCSfile: xdictionary.cxx,v $
*
* $Revision: 1.7 $
*
* last change: $Author: vg $ $Date: 2003-05-27 11:27:22 $
*
* The Contents of this file are made available subject to the terms of
* either of the following li... |
<commit_before>// SampSharp
// Copyright 2015 Tim Potze
//
// 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>#include <ros/ros.h>
#include <sensor_msgs/Image.h>
#include <sensor_msgs/image_encodings.h>
#include <cv_bridge/cv_bridge.h>
#include <opencv2/opencv.hpp>
#include <opencv2/core/mat.hpp>
#include <fstream>
#include <iostream>
#include <igvc_utils/NodeUtils.hpp>
ros::Publisher img_pub_lines;
ros::Publis... |
<commit_before>/**
* @file ZooKeeperEevent.hpp
* @author Zhongxia Li
* @date Sep 7, 2011
* @brief
*/
#ifndef ZOO_KEEPER_EVENT_HPP_
#define ZOO_KEEPER_EVENT_HPP_
#include <3rdparty/zookeeper/zookeeper.h>
namespace zookeeper{
class ZooKeeperEvent
{
public:
int type_;
int state_;
std::string path_;
p... |
<commit_before>#include <Riostream.h>
#include "TVirtualMCApplication.h"
#include "TVirtualMCStack.h"
#include "TFluka.h"
// Fluka include
#include "Fdimpar.h" //(DIMPAR) fluka include
#include "Fdblprc.h" //(DBLPRC) fluka common
#include "Ftrackr.h" //(TRACKR) fluka common
#ifndef WIN32
# define mgdraw mgdraw_
#el... |
<commit_before><commit_msg>Added a header file<commit_after><|endoftext|> |
<commit_before>/*
* This is part of the FL library, a C++ Bayesian filtering library
* (https://github.com/filtering-library)
*
* Copyright (c) 2014 Jan Issac (jan.issac@gmail.com)
* Copyright (c) 2014 Manuel Wuthrich (manuel.wuthrich@gmail.com)
*
* Max-Planck Institute for Intelligent Systems, AMD Lab
* Univer... |
<commit_before>//
// Copyright (c) 2013-2017 Christoph Malek
// See LICENSE for more information.
//
#ifndef RJ_GAME_EDITOR_SETTINGSBAR_HPP
#define RJ_GAME_EDITOR_SETTINGSBAR_HPP
#include "button_item.hpp"
#include <rectojump/game/background/background_manager.hpp>
#include <rectojump/game/components/gradient_rect.... |
<commit_before>/*
* Copyright 2011 Esrille Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable l... |
<commit_before>
#include <fstream>
#include <cstring>
#include <string>
#include <iostream>
int MAX_CHARACTERS_INPUT = 30000; // max number of characters allowed in buffer
int SEPERATE = 200; // amount of characters to put in each file
std::string readTo(const char*, int, int);
int main(int argc, char *argv[]){
ch... |
<commit_before>using namespace GeFiCa;
// calculate and save fields of a PPC
void calculateFields(const char *output="ppc.root")
{
PointContactDZ *ppc = new PointContactDZ(400,501);
ppc->V0=1.4*kV; ppc->V1=0;
ppc->Radius=4.00*cm;
ppc->Height=5.00*cm;
ppc->PointContactR=0.30*cm;
ppc->PointContactH=0.... |
<commit_before>/*=========================================================================
Program: Visualization Toolkit
Module: vtkXOpenGLTextMapper.cxx
Language: C++
Date: $Date$
Version: $Revision$
Copyright (c) 1993-2000 Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
Redi... |
<commit_before>//////////////////////////////////////////////////////////////////////////
//
// Copyright (c) 2007, Image Engine Design 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:... |
<commit_before>//////////////////////////////////////////////////////////////////////////
//
// Copyright (c) 2007-2008, Image Engine Design Inc. 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>/* Copyright 2017 - 2022 R. Thomas
* Copyright 2017 - 2022 Quarkslab
*
* 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>/*
Nazara Engine
Copyright (C) 2012 Jérôme "Lynix" Leclercq (Lynix680@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 limitat... |
<commit_before>#ifndef ALEPH_TOPOLOGY_IO_GML_HH__
#define ALEPH_TOPOLOGY_IO_GML_HH__
#include <fstream>
#include <map>
#include <set>
#include <regex>
#include <sstream>
#include <stack>
#include <string>
#include <vector>
#include <aleph/utilities/String.hh>
namespace aleph
{
namespace topology
{
namespace io
{
... |
<commit_before>#ifndef _BLISPP_MATRIX_HPP_
#define _BLISPP_MATRIX_HPP_
#include "blis++.hpp"
namespace blis
{
struct trans_op_t
{
objbits_t info;
constexpr trans_op_t(trans_t trans = BLIS_NO_TRANSPOSE) : info(trans) {}
bool transpose() const
{
return bli_obj_onlytrans_status(*this);
}
... |
<commit_before>/*************************************************************************
*
* $RCSfile: attrlist.cxx,v $
*
* $Revision: 1.3 $
*
* last change: $Author: dvo $ $Date: 2001-02-06 10:41:54 $
*
* The Contents of this file are made available subject to the terms of
* either of the following lice... |
<commit_before>extern "C" {
#include "LPC11U6x.h"
#define WEAK __attribute__ ((weak))
#define ALIAS(f) __attribute__ ((weak, alias (#f)))
#define AFTER_VECTORS __attribute__ ((section(".after_vectors")))void ResetISR(void);
// Patch the AEABI integer divide functions to use MCU's romdivide library
#ifde... |
<commit_before><commit_msg>coverity#708708 Uninitialized scalar field<commit_after><|endoftext|> |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: strings.cxx,v $
*
* $Revision: 1.4 $
*
* last change: $Author: obo $ $Date: 2006-09-17 10:38:24 $
*
* The Contents of this file are made ... |
<commit_before>/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the LICENSE
* file in the root directory of this source tree.
*/
#include "FlipperClient.h"
#include <fstream>
#include <iostream>
#include <stdexcept>
#include <vector>
#include "Co... |
<commit_before>/*
* Copyright (C) 2016 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>
#include "gtest/gtest.h"
#include <iostream>
#include <lua.hpp>
#include <BT/BehaviorLuaFactory.hpp>
using namespace BT;
int printOut(lua_State* L)
{
const char* str = lua_tostring(L, 1);
std::cout << str << std::endl;
return 0;
}
int a0 = 0;
int a1 = 0;
int a2 = 0;
int activate0(lu... |
<commit_before><commit_msg>cv: background model update stuff<commit_after><|endoftext|> |
<commit_before>#pragma once
#include "rapidcheck/gen/Tuple.h"
#include "rapidcheck/detail/ApplyTuple.h"
namespace rc {
namespace gen {
namespace detail {
// Member variables
template <typename Type, typename T>
class Lens<T(Type::*)> {
public:
typedef T(Type::*MemberPtr);
typedef Type Target;
typedef T ValueTy... |
<commit_before>#ifndef TMXPP_STRONG_TYPEDEF_HPP
#define TMXPP_STRONG_TYPEDEF_HPP
#include <type_safe/strong_typedef.hpp>
namespace tmxpp {
template <class T, class Phantom>
class Strong_typedef
: public type_safe::strong_typedef<Phantom, T>
, type_safe::strong_typedef_op::equality_comparison<
Strong_type... |
<commit_before>#pragma once
#include <iostream>
#include <string>
using std::cout;
using std::endl;
struct Test final {
template <typename... A>
explicit Test(A...) = delete;
template <typename A>
void operator=(A) = delete;
template <typename A>
operator A(void) = delete;
template <typename A>
st... |
<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>/*
-----------------------------------------------------------------------------
This source file is part of OGRE
(Object-oriented Graphics Rendering Engine)
For the latest info, see http://www.ogre3d.org
Copyright (c) 2000-2009 Torus Knot Software Ltd
Permission is hereby granted, free of charge, to an... |
<commit_before>/*
@ 0xCCCCCCCC
*/
#include <iostream>
#include <windows.h>
#include <winsock2.h>
#include "kbase/at_exit_manager.h"
#include "kbase/command_line.h"
#include "kbase/error_exception_util.h"
#include "kbase/os_info.h"
#include "kbase/scope_guard.h"
#include "kbase/scoped_handle.h"
#include "iocp_utils... |
<commit_before>/* Please refer to license.txt */
/*
* Shamelessly taken from: http://www.cegui.org.uk/wiki/index.php/SFML_to_CEGUI_keytable :)
* By the way, thanks a ton to whoever made that. SFML 0.8 documentation is severely lacking.
*/
namespace GEngine
{
#include "interface.hpp"
namespace mui
{
void Interfa... |
<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>/*
Copyright (C) 2007 <SWGEmu>
This File is part of Core3.
This program is free software; you can redistribute
it and/or modify it under the terms of the GNU Lesser
General Public License as published by the Free Software
Foundation; either version 2 of the License,
or (at your option) any lat... |
<commit_before>//=============================================================================================================
/**
* @file pluginmanager.cpp
* @author Christoph Dinh <chdinh@nmr.mgh.harvard.edu>;
* Lorenz Esch <lesch@mgh.harvard.edu>;
* Lars Debor <Lars.Debor@tu-ilmenau.de>... |
<commit_before>// @(#)root/proofx:$Id$
// Author: Gerardo Ganis 12/12/2005
/*************************************************************************
* Copyright (C) 1995-2005, Rene Brun and Fons Rademakers. *
* All rights reserved. *
* ... |
<commit_before>/*
Copyright (c) 2006-2014, 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 ... |
<commit_before>/*
Copyright (c) 2006, 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 2018-present Facebook, 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 appl... |
<commit_before>/*
* LiveViewUnitTest.cpp
*
* Created on: 28 Sep 2018
* Author: Adam Neaves - wbd45595
*/
#include <boost/test/unit_test.hpp>
#include "LiveViewPlugin.h"
/**
* Test fixture for the Live View Unit Tests. sets up the plugin and other things required by the tests.
*/
class LiveViewPluginTest... |
<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><commit_msg>Fix messed up include<commit_after><|endoftext|> |
<commit_before> /*
Copyright (c) 2006 by Olivier Goffart <ogoffart at kde.org>
Kopete (c) 2006 by the Kopete developers <kopete-devel@kde.org>
*************************************************************************
* *
... |
<commit_before>#include "config.hpp"
#include "extract.hpp"
#include "download.hpp"
extern "C" {
#include "cia.h"
}
Entry::Entry(json jsonEntry)
{
state = STATE_NONE;
if (jsonEntry["inarchive"].is_string())
m_inArchive = jsonEntry["inarchive"];
if (jsonEntry["inrelease"].is_string())
m_inRelease = jsonEntry["... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.