text stringlengths 54 60.6k |
|---|
<commit_before>//
// LemonScriptState.cpp
// FiniteStateMachine
//
// Created by Donald Pinckney on 12/24/15.
// Copyright © 2015 Donald Pinckney. All rights reserved.
//
#include <stdlib.h>
#include "LemonScriptState.h"
void LemonScriptState::declareVariable(int line, const std::string &name, DataType type, vo... |
<commit_before>/*
* fMBT, free Model Based Testing tool
* Copyright (c) 2011, Intel Corporation.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms and conditions of the GNU Lesser General Public License,
* version 2.1, as published by the Free Software Foundation.
*
*... |
<commit_before>// Copyright (c) 2014-2015 The Dash developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "main.h"
#include "activemasternode.h"
#include "masternode-sync.h"
#include "masternode-payments.h"
#inc... |
<commit_before>#pragma once
#ifndef OPENGM_LEARNING_BUNDLE_OPTIMIZER_HXX
#define OPENGM_LEARNING_BUNDLE_OPTIMIZER_HXX
#include "solver/QuadraticSolverFactory.h"
namespace opengm {
namespace learning {
enum OptimizerResult {
// the minimal optimization gap was reached
ReachedMinGap,
// the requested number of s... |
<commit_before>#include "pkcs11test.h"
using namespace std; // So sue me
// Explicitly test Initialize/Finalize.
TEST(Init, Simple) {
EXPECT_CKR_OK(g_fns->C_Initialize(NULL_PTR));
EXPECT_CKR_OK(g_fns->C_Finalize(NULL_PTR));
}
TEST(Init, UnexpectedFinalize) {
EXPECT_EQ(CKR_CRYPTOKI_NOT_INITIALIZED, g_fns->C_Fi... |
<commit_before>/*
* MoldUDP64 protocol support
*
* The implementation is based on the following specifications provided
* by NASDAQ:
*
* MoldUDP64 Protocol Specification
* V 1.00
* 07/07/2009
*/
#pragma once
#include "helix/nasdaq/moldudp64_messages.h"
#include "helix/compat/endian.h"
#include "helix/h... |
<commit_before>// Copyright (c) 2019 Dr. Colin Hirsch and Daniel Frey
// Please see LICENSE for license or visit https://github.com/taocpp/PEGTL/
#ifndef TAO_PEGTL_CONTRIB_CHANGE_CONTROL_HPP
#define TAO_PEGTL_CONTRIB_CHANGE_CONTROL_HPP
#include "../apply_mode.hpp"
#include "../config.hpp"
#include "../rewind_mode.hpp... |
<commit_before>// Copyright 2012 Cloudera 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 law or ... |
<commit_before>// fmfRecord.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include <FlyCapture2.h>
#include <omp.h>
using namespace FlyCapture2;
FILE **fout;
FlyCapture2::Camera** ppCameras;
FlyCapture2::Error error;
char fname[10][100];
void PrintCameraInfo( FlyCapture2::CameraI... |
<commit_before>/*
* Copyright 2014 Matthew Harvey
*
* 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 applica... |
<commit_before>/*!
\file hashlog.cpp
\brief Hash logs reader definition
\author Ivan Shynkarenka
\date 13.12.2021
\copyright MIT License
*/
#include "logging/record.h"
#include "logging/layouts/text_layout.h"
#include "logging/version.h"
#include "errors/fatal.h"
#include "filesystem/file.h"
#incl... |
<commit_before>/*
Copyright libCellML Contributors
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 ... |
<commit_before>/**
* @file llurldispatcher.cpp
* @brief Central registry for all URL handlers
*
* $LicenseInfo:firstyear=2007&license=viewergpl$
*
* Copyright (c) 2007-2009, Linden Research, Inc.
*
* Second Life Viewer Source Code
* The source code in this file ("Source Code") is provided by Linden Lab
* to... |
<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-CHROMIUM file.
#include "browser/browser_main_parts.h"
#include "browser/browser_context.h"
#include "browser/devtools_manager_delegate.h"
#... |
<commit_before>/*
* File: collision.cpp
* Author: Nick (original version), ahnonay (SFML2 compatibility)
*
* Modified indentation, include path, included function to check alpha != 0 at vector position and
* included function to compare bounds
*/
#include "../../include/Collision.hpp"
#include <iostream>
#incl... |
<commit_before>#include "Application.h"
Application::Application() : running(false)
{
set_frame_limit(30);
}
Application::~Application()
{
}
void Application::stop()
{
running = false;
return;
}
void Application::set_frame_limit(const unsigned int frame_rate)
{
frame_time = float(1000) / float(frame... |
<commit_before>/*
* Copyright (c) 2017, James Jackson and Daniel Koch, BYU MAGICC Lab
*
* 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... |
<commit_before>#include <iostream>
#include <unistd.h>
#include <sys/stat.h>
#include <stdio.h>
#include <vector>
#include <sstream>
#include <dirent.h>
#include <errno.h>
#include <sys/types.h>
using namespace std;
bool isDirectory(char* directoryName) {
struct stat directoryInCurrent;
if (-1 == (stat(directoryN... |
<commit_before>#include <iostream>
#include <dirent.h>
#include <vector>
#include <sys/stat.h>
#include <iomanip>
using namespace std;
struct stat s;
void printStr(char *c) {
for (int i = 0; c[i] != '\0'; ++i) {
cout << c[i];
}
}
void printV(vector<string> &v) {
for (unsigned i = 0; i < v.size();... |
<commit_before>// Copyright (c) 2020 The Bitcoin developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <eventloop.h>
#include <scheduler.h>
EventLoop::~EventLoop() {
stopEventLoop();
}
bool EventLoop::startE... |
<commit_before>#include <vector>
#include <stdexcept>
#include <iostream>
#include "codes/bch.h"
#include "codes/rs.h"
template <typename T>
std::ostream &operator<<(std::ostream &os, const std::vector<T> &v) {
for (const auto &i : v)
os << i;
return os;
}
template <>
std::ostream &operator<<(std::ostream &o... |
<commit_before>//===- CallPrinter.cpp - DOT printer for call graph -----------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------... |
<commit_before><commit_msg>sd: remotecontrol: fix setsockopt call for WNT:<commit_after><|endoftext|> |
<commit_before>/**
* Extension.cpp
*
* @author Emiel Bruijntjes <emiel.bruijntjes@copernica.com>
* @copyright 2013 Copernica BV
*/
#include "includes.h"
/**
* Set up namespace
*/
namespace Php {
/**
* If this extension is compiled for a PHP version with multi
* threading support, we need an additional ... |
<commit_before>#include <iostream>
#include <stdio.h>
#include <unistd.h>
#include "errno.h"
#include <string>
#include <vector>
#include <list>
#include <iterator>
#include "boost/tokenizer.hpp"
#include "boost/algorithm/string.hpp"
using namespace std;
int main (int argc, char const *argv[])
{
char host[128]... |
<commit_before>#ifndef SIEVE_GAUSS_SINGLE_THREADED_CPP
#define SIEVE_GAUSS_SINGLE_THREADED_CPP
#if !defined(SIEVE_GAUSS_SINGLE_THREADED) || GAUSS_SIEVE_IS_MULTI_THREADED == true
#error SieveST.cpp included with wrong macro settings
#endif
template<class ET>
bool Sieve<ET,false>::update_shortest_vector_found(LPType co... |
<commit_before>/*
* Copyright (C) 2015 Morwenn
*
* array_sort 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 3 of
* the License, or (at your option) any later version.
*
* array_... |
<commit_before>#include "window.h"
#include "control.h"
#include <FL/fl_ask.H>
#include <FL/Fl_Input.H>
#include <cassert>
#include <algorithm>
#include <vector>
void Vindow::FileNew(Fl_Widget*, void*)
{}
void Vindow::FileOpen(Fl_Widget*, void*)
{}
void Vindow::FileSave(Fl_Widget*, void*)
{}
void Vindow::FileSave... |
<commit_before>#include "../Functionalities.h"
#include <vector>
#include <string>
#include "../../Fuzzy.h"
#include "../../language/Grammar.h"
#include "../../util/Point3i.h"
#include "../../util/Sysout.h"
#include "../../world/World.h"
#include "../../world/Player.h"
#include "../../world/Room.h"
bool Move::exec... |
<commit_before>/*************************************************************************
*
* $RCSfile: javaldx.cxx,v $
*
* $Revision: 1.6 $
*
* last change: $Author: rt $ $Date: 2004-10-28 16:24:18 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licens... |
<commit_before>#include "gvki/opencl_header.h"
#include <cstdlib>
#include "gvki/UnderlyingCaller.h"
#include "gvki/Logger.h"
#include "gvki/Debug.h"
#include <cassert>
#include <cstring>
#ifdef MACRO_LIB
#define API_SUFFIX _hook
#else
#define API_SUFFIX
#endif
// This macro appends API_SUFFIX to its argument
#define... |
<commit_before>// Copyright (c) 2010, 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>#include <iostream>
#include <opencv2/highgui/highgui.hpp>
#include <opencv2/core/core.hpp>
#include "EvmGdownIIR.hpp"
#include "Pulse.hpp"
#include "Window.hpp"
#include "profiler/Profiler.h"
using std::cout;
using std::endl;
using cv::VideoCapture;
using cv::VideoWriter;
using cv::waitKey;
using cv::f... |
<commit_before>//------------------------------------------------------------------------------
// CLING - the C++ LLVM-based InterpreterG :)
// author: Vassil Vassilev <vasil.georgiev.vasilev@cern.ch>
//
// This file is dual-licensed: you can choose to license it under the University
// of Illinois Open Source Licens... |
<commit_before>// @(#)root/graf:$Name: $:$Id: TPaveLabel.cxx,v 1.13 2002/10/28 15:38:32 brun Exp $
// Author: Rene Brun 17/10/95
/*************************************************************************
* Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *
* All rights reserved. ... |
<commit_before>/**************************************************************************
** This file is part of LiteIDE
**
** Copyright (c) 2011-2016 LiteIDE Team. All rights reserved.
**
** This library is free software; you can redistribute it and/or
** modify it under the terms of the GNU Lesser General Pub... |
<commit_before>//===- lib/ReaderWriter/FileArchive.cpp -----------------------------------===//
//
// The LLVM Linker
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------... |
<commit_before>#include "neovimconnector.h"
#include <QtGlobal>
#include <QMetaMethod>
#include <QLocalSocket>
#include <QTcpSocket>
#include "msgpackrequest.h"
#include "neovimconnectorhelper.h"
#include "msgpackiodevice.h"
namespace NeovimQt {
/**
* \class NeovimQt::NeovimConnector
*
* \brief A Connection to a ... |
<commit_before>/* bzflag
* Copyright (c) 1993 - 2005 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>//
// Created by kirill on 17.03.17.
//
#include <string.h>
#include <errno.h>
#include <unistd.h>
#include <dirent.h>
#include <dlfcn.h>
#include <stdlib.h>
#include <fcntl.h>
#include <sys/wait.h>
#include <sys/stat.h>
#include <utils/Utils.h>
#include "dirty/common/logging.h"
#include "input_device/I... |
<commit_before>// -*- Mode: C++; tab-width: 2; -*-
// vi: set ts=2:
//
// $Id: atomBondModelBaseProcessor.C,v 1.10 2004/07/12 16:56:54 amoll Exp $
#include <BALL/VIEW/MODELS/atomBondModelBaseProcessor.h>
#include <BALL/KERNEL/forEach.h>
#include <BALL/KERNEL/bond.h>
#include <BALL/QSAR/ringPerceptionProcessor.h>
usi... |
<commit_before>/*
* Copyright deipi.com LLC and contributors. All rights reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to
* deal in the Software without restriction, including without limitation the... |
<commit_before>//////////////////////////////////////////////////////////////////////////////
//
// File: XmlToVtk.cpp
//
// For more information, please see: http://www.nektar.info
//
// The MIT License
//
// Copyright (c) 2006 Division of Applied Mathematics, Brown University (USA),
// Department of Aeronautics, Impe... |
<commit_before>/*
* Copyright (c) 2008 Digital Bazaar, Inc. All rights reserved.
*/
#include "db/validation/Each.h"
#include "db/rt/DynamicObjectIterator.h"
using namespace db::rt;
using namespace db::validation;
Each::Each(Validator* validator) :
mValidator(validator)
{
}
Each::~Each()
{
}
bool Each::isArray... |
<commit_before>#include "StudentTRand.h"
StudentTRand::StudentTRand(int degree)
{
setDegree(degree);
}
std::string StudentTRand::name()
{
return "Student's t(" + toStringWithPrecision(getDegree()) + ")";
}
void StudentTRand::setDegree(int degree)
{
v = std::max(degree, 1);
Y.setDegree(... |
<commit_before>/*
* Copyright (C) 2008-2012 J-P Nurmi <jpnurmi@gmail.com>
*
* 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 versi... |
<commit_before>// ==Montelight==
// Tegan Brennan, Stephen Merity, Taiyo Wilson
#include <cmath>
#include <string>
#include <iostream>
#include <fstream>
#include <vector>
#define EPSILON 0.001f
using namespace std;
struct Vector {
double x, y, z;
//
Vector(const Vector &o) : x(o.x), y(o.y), z(o.z) {}
Vector... |
<commit_before>/****************************************************************************
* Copyright (c) 2012-2018 by the DataTransferKit authors *
* All rights reserved. *
* ... |
<commit_before>///
/// @file pod_vector.hpp
///
/// Copyright (C) 2022 Kim Walisch, <kim.walisch@gmail.com>
///
/// This file is distributed under the BSD License. See the COPYING
/// file in the top level directory.
///
#ifndef POD_VECTOR_HPP
#define POD_VECTOR_HPP
#include "macros.hpp"
#include <algorithm>
#inclu... |
<commit_before>/*
* Copyright 2017 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "SkColorFilter.h"
#include "SkColorSpaceXformCanvas.h"
#include "SkColorSpaceXformer.h"
#include "SkGradientShader.h"
#include "SkImage_Base.h"
#includ... |
<commit_before>/* Copyright 2019 Google LLC
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 writing... |
<commit_before>#include "CommonData.hpp"
#include "EventInputQueue.hpp"
#include "EventOutputQueue.hpp"
#include "IOLogWrapper.hpp"
#include "KeyToKey.hpp"
#include "KeyboardRepeat.hpp"
#include "VirtualKey.hpp"
namespace org_pqrs_Karabiner {
namespace RemapFunc {
void
KeyToKey::add(AddDataType datatype, AddValue newv... |
<commit_before>#include <SDL2/SDL.h>
#include <SDL2/SDL_image.h>
#include <iostream>
#include <fstream>
#include <vector>
#include <float.h>
#include <math.h>
#include <glm/glm.hpp>
using namespace std;
#define WIDTH 500
#define HEIGHT 500
struct Ray
{
glm::vec3 origin;
glm::vec3 direction;
};
struct Sphere
... |
<commit_before>/****************************************************************************
**
** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
** All rights reserved.
** Contact: Nokia Corporation (qt-info@nokia.com)
**
** This file is part of the QtCore module of the Qt Toolkit.
**
** $QT_BEGIN_L... |
<commit_before>/*
* ProcessTests.cpp
*
* Copyright (C) 2017 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 Pub... |
<commit_before>/*
* Copyright 2014 Matthew Harvey
*
* 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 applica... |
<commit_before>////////////////////////////////////////
// test lcio::TrackerHit
////////////////////////////////////////
#include "tutil.h"
#include "lcio.h"
#include "EVENT/LCIO.h"
#include "IO/LCReader.h"
#include "IO/LCWriter.h"
#include "IMPL/LCEventImpl.h"
#include "IMPL/LCCollectionVec.h"
#include "IMPL/Trac... |
<commit_before>/// HEADER
#include <csapex/model/node_facade.h>
/// PROJECT
#include <csapex/model/node_handle.h>
#include <csapex/model/node_worker.h>
#include <csapex/model/node_state.h>
#include <csapex/msg/input_transition.h>
#include <csapex/msg/output_transition.h>
#include <csapex/signal/event.h>
#include <csap... |
<commit_before>#include <algorithm>
#include <iostream>
#include "boost/asio.hpp"
#include "google/protobuf/service.h"
#include "google/protobuf/descriptor.h"
#include "vtrc-bind.h"
#include "vtrc-function.h"
#include "vtrc-chrono.h"
#include "vtrc-common/vtrc-data-queue.h"
#include "vtrc-common/vtrc-hash-iface.h"
#... |
<commit_before>//
// RemotePhotoTool - remote camera control software
// Copyright (C) 2008-2014 Michael Fink
//
/// \file BulbReleaseControl.hpp Canon control - Release control for Bulb mode
//
#pragma once
// includes
/// \brief bulb shutter release control
/// this object is created by RemoteReleaseControl::StartB... |
<commit_before>////////////////////////////////////////////////////////////////////////////////
// Name: test-printing.cpp
// Purpose: Implementation for wxExtension cpp unit testing
// Author: Anton van Wezenbeek
// Copyright: (c) 2015 Anton van Wezenbeek
/////////////////////////////////////////////////////... |
<commit_before>/* +---------------------------------------------------------------------------+
| The Mobile Robot Programming Toolkit (MRPT) |
| |
| http://www.mrpt.org/ ... |
<commit_before>////////////////////////////////////////////////////////////////////////////////
/// DISCLAIMER
///
/// Copyright 2014-2016 ArangoDB GmbH, Cologne, Germany
/// Copyright 2004-2014 triAGENS GmbH, Cologne, Germany
///
/// Licensed under the Apache License, Version 2.0 (the "License");
/// you may not use t... |
<commit_before>//////////////////////////////////////////////////////////////////////////
//
// Copyright (c) 2008-2011, Image Engine Design Inc. All rights reserved.
//
// Copyright 2010 Dr D Studios Pty Limited (ACN 127 184 954) (Dr. D Studios),
// its affiliates and/or its licensors.
//
// Redistribution and use... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: cfgmerge.hxx,v $
*
* $Revision: 1.7 $
*
* last change: $Author: hr $ $Date: 2006-08-14 17:07:26 $
*
* The Contents of this file are made ... |
<commit_before>// Copyright 2016 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>#include "../../DataStructures/RangeTable.h"
#include <boost/test/unit_test.hpp>
#include <boost/test/test_case_template.hpp>
#include <numeric>
constexpr unsigned BLOCK_SIZE = 16;
typedef RangeTable<BLOCK_SIZE, false> TestRangeTable;
BOOST_AUTO_TEST_SUITE(range_table)
void ConstructionTest(std::vec... |
<commit_before>#pragma once
#include <cmath>
#include <string>
namespace principia {
namespace quantities {
template<int64_t LengthExponent, int64_t MassExponent, int64_t TimeExponent,
int64_t CurrentExponent, int64_t TemperatureExponent,
int64_t AmountExponent, int64_t LuminousIntensityExponent,
... |
<commit_before>/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* Version: MPL 1.1 / GPLv3+ / LGPLv3+
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License or as spec... |
<commit_before>/* Copyright © 2006-2007 Fredrik Höglund <fredrik@kde.org>
* (c)GPL2 (c)GPL3
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public
* License version 2 or at your option version 3 as published
* by the Free Software Foundation.
*
*... |
<commit_before>// Copyright 2017 Open Source Robotics Foundation, 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 re... |
<commit_before>/*
qgpgmekeylistjob.cpp
This file is part of libkleopatra, the KDE keymanagement library
Copyright (c) 2004,2008 Klarälvdalens Datakonsult AB
Libkleopatra is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License as
published by... |
<commit_before>#ifndef __NODE_MAPNIK_UTILS_H__
#define __NODE_MAPNIK_UTILS_H__
// core types
#ifdef MAPNIK_METRICS
#include <mapnik/metrics.hpp>
#endif
#include <mapnik/params.hpp>
#include <mapnik/unicode.hpp>
#include <mapnik/value_types.hpp>
#include <mapnik/value.hpp>
#include <mapnik/version.hpp>
#pragma GCC dia... |
<commit_before>/*
** Author(s):
** - Cedric GESTES <cgestes@aldebaran-robotics.com>
**
** Copyright (C) 2010, 2012 Aldebaran Robotics
*/
#include <vector>
#include <iostream>
#include <string>
#include <gtest/gtest.h>
#include <qimessaging/session.hpp>
#include <qitype/genericobject.hpp>
#include <qitype/gener... |
<commit_before>#ifndef DICE_VALUE_HPP_
#define DICE_VALUE_HPP_
#include <memory>
#include <string>
#include <typeinfo>
#include "random_variable.hpp"
namespace dice
{
// Type of the type identifier of a value in a dice expression
using type_id = std::string;
// Parent of all value types that are used i... |
<commit_before>/**
* @file
* @copyright defined in eos/LICENSE.txt
*/
#pragma once
#include <eos/types/types.hpp>
namespace eosio { namespace config {
using types::uint16;
using types::uint32;
using types::uint64;
using types::uint128;
using types::share_type;
using types::asset;
using types::account_name;
using ... |
<commit_before>#include "Base.h"
#include "AnimationController.h"
#include "Game.h"
#include "Curve.h"
namespace gameplay
{
AnimationController::AnimationController()
: _state(IDLE), _animations(NULL)
{
}
AnimationController::~AnimationController()
{
destroyAllAnimations();
}
Animation* An... |
<commit_before>/*
* Copyright (c) 2003 The Regents of The University of Michigan
* 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 copyri... |
<commit_before>/*****************************************************************************
* MindTheGap: Integrated detection and assembly of insertion variants
* A tool from the GATB (Genome Assembly Tool Box)
* Copyright (C) 2014 INRIA
* Authors: C.Lemaitre, G.Rizk, P.Marijon
*
* This program is fr... |
<commit_before>#ifndef __AMUSE_COMMON_HPP__
#define __AMUSE_COMMON_HPP__
#include <algorithm>
#include <limits>
#include <stdio.h>
#include <stdint.h>
#include <stdarg.h>
#include <string>
#include <string_view>
#include <cstring>
#ifndef _WIN32
#include <strings.h>
#include <sys/stat.h>
#include <unistd.h>
#else
#if... |
<commit_before>//=======================================================================
// Copyright Baptiste Wicht 2011-2012.
// 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>#ifndef TYPES_HPP
#define TYPES_HPP
#include <stdint.h>
#include <inttypes.h>
using atInt8 = int8_t;
using atUint8 = uint8_t;
using atInt16 = int16_t;
using atUint16 = uint16_t;
using atInt32 = int32_t;
using atUint32 = uint32_t;
using atInt64 = int64_t;
using atUint64 = uint64_t;
// Vector types
#if _... |
<commit_before>//=======================================================================
// Copyright (c) 2014 Baptiste Wicht
// Distributed under the terms of the MIT License.
// (See accompanying file LICENSE or copy at
// http://opensource.org/licenses/MIT)
//========================================================... |
<commit_before>namespace hfsm {
////////////////////////////////////////////////////////////////////////////////
#pragma region Utility
template <typename TC, unsigned TMS>
M<TC, TMS>::Fork::Fork(const Index index,
const TypeInfo HSFM_DEBUG_ONLY(type_))
: self(index)
#ifdef _DEBUG
, type(type_)
#endif
{}
... |
<commit_before>/*************************************************************************
*
* $RCSfile: basdoc.hxx,v $
*
* $Revision: 1.3 $
*
* last change: $Author: mba $ $Date: 2001-07-20 10:49:36 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licens... |
<commit_before>#include "chainerx/routines/linalg.h"
#include <algorithm>
#include <cassert>
#include <cstdint>
#include <utility>
#include <vector>
#include <nonstd/optional.hpp>
#include "chainerx/array.h"
#include "chainerx/axes.h"
#include "chainerx/backend.h"
#include "chainerx/backprop_mode.h"
#include "chaine... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: b2drange.cxx,v $
*
* $Revision: 1.9 $
*
* last change: $Author: ihi $ $Date: 2006-11-14 14:09:48 $
*
* The Contents of this file are made... |
<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/media/media_internals.h"
#include "base/memory/scoped_ptr.h"
#include "base/string16.h"
#include "base/string... |
<commit_before>/******************************************************************************
* Copyright 2017 The Apollo Authors. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of ... |
<commit_before><commit_msg>planning: add PARK_AND_GO to scenario matrix<commit_after><|endoftext|> |
<commit_before>//===-- AppleObjCRuntimeV2.cpp --------------------------------------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===------------------------------------... |
<commit_before>// Copyright (c) 2009 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 "temp_scaffolding_stubs.h"
#include "base/file_util.h"
#include "base/thread.h"
#include "base/path_service.h"
#include "base... |
<commit_before>/*
Copyright (c) 2006, Arvid Norberg & Daniel Wallin
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, th... |
<commit_before>/*****************************************************************************
*
* This file is part of Mapnik (c++ mapping toolkit)
*
* Copyright (C) 2011 Artem Pavlenko
*
* 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) 2005-2012 Jay Berkenbilt
//
// This file is part of qpdf. This software may be distributed under
// the terms of version 2 of the Artistic License which may be found
// in the source distribution. It is provided "as is" without express
// or implied warranty.
// Generalized Pipeline i... |
<commit_before>/* -*- Mode: C++; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */
/*
* Copyright 2015 Couchbase, 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 ... |
<commit_before>//
// File: main.cpp
// Transformations.
// y.s.n@live.com, 2015-06-08
//
// Model transformation & view transformation
// glMatrixMode(GL_MODELVIEW)
// glTranslate*
// glRotate*
// glScale*
//
// Projection transformation
// glMatrixMode(GL_PROJECTION)
// glFrustum
// glPerspective
// glOthto
//... |
<commit_before>/******************************************************************************
* Copyright (C) 2015 Sahil Kang <sahil.kang@asilaycomputing.com>
*
* This file is part of gur-guile.
*
* gur-guile is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General P... |
<commit_before>//===-- LLVMTargetMachine.cpp - Implement the LLVMTargetMachine class -----===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------... |
<commit_before>/*
* Copyright (C) 2018-present ScyllaDB
*/
/*
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
#include <seastar/core/iostream.hh>
#include <seastar/core/temporary_buffer.hh>
#include "utils/small_vector.hh"
#include "seastarx.hh"
#pragma once
// Accumulates data sent to the memory_data_sink all... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.