text stringlengths 54 60.6k |
|---|
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: fwkutil.cxx,v $
*
* $Revision: 1.27 $
*
* last change: $Author: vg $ $Date: 2007-10-15 12:07:40 $
*
* The Contents of this file are made ... |
<commit_before>// Filename: geomParticleRenderer.cxx
// Created by: charles (05Jul00)
//
////////////////////////////////////////////////////////////////////
//
// PANDA 3D SOFTWARE
// Copyright (c) 2001 - 2004, Disney Enterprises, Inc. All rights reserved
//
// All use of this software is subject to the terms of the... |
<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 "app/l10n_util.h"
#include "base/file_path.h"
#include "base/gfx/native_widget_types.h"
#include "base/string_util.h"
#in... |
<commit_before>/*
* replay.cpp
*
* eXploration module for Autonomous Robotic Embedded Systems
*
* xares replay : replay dump from xares (and xares-genom)
*
* author: Cyril Robin <cyril.robin@laas.fr>
* created: 2013-09-19
* license: BSD
*/
#include <ostream>
#include <fstream>
#include <sys/time.h>
#includ... |
<commit_before>// This file is a part of the IncludeOS unikernel - www.includeos.org
//
// Copyright 2015 Oslo and Akershus University College of Applied Sciences
// and Alfred Bratterud
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the Lice... |
<commit_before>#ifndef MAP_THREAD_SAFE
#define MAP_THREAD_SAFE
#include <map>
#include <thread>
#include <mutex>
#include <shared_mutex>
namespace std
{
namespace threadsafe
{
/*
Concurrent Map prototype, it allows concurrent reads and safe writes.
*/
template<class K,class V>... |
<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>/*****************************************************************************
*
* This file is part of Mapnik (c++ mapping toolkit)
*
* Copyright (C) 2006 Artem Pavlenko
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public... |
<commit_before>#ifndef MAPNIK_WARNING_HPP
#define MAPNIK_WARNING_HPP
#if defined(_MSC_VER)
#define MAPNIK_DISABLE_WARNING_PUSH __pragma(warning(push))
#define MAPNIK_DISABLE_WARNING_POP __pragma(warning(pop))
#define MAPNIK_DISABLE_WARNING(warningNumber) __pragma(warning(disable : warningNumber))
... |
<commit_before>/*M///////////////////////////////////////////////////////////////////////////////////////
//
// IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING.
//
// By downloading, copying, installing or using the software you agree to this license.
// If you do not agree to this license, do not d... |
<commit_before>#ifndef INCLUDE_AL_TIME_HPP
#define INCLUDE_AL_TIME_HPP
/*
* AlloSphere Research Group / Media Arts & Technology, UCSB, 2009
*/
/*
Copyright (C) 2006-2008. The Regents of the University of California (REGENTS).
All Rights Reserved.
Permission to use, copy, modify, distribute, and distribute mod... |
<commit_before>#ifndef LOSSY_COUNTING_MODEL_H
#define LOSSY_COUNTING_MODEL_H
#include <iostream>
#include <map>
#include <unordered_map>
#include <vector>
#include <algorithm>
/**
* Lossy Counting Model implemenation for processing a
* data stream according to the following constraints:
* - Single Pass
* - Limite... |
<commit_before>/**
* @author See Contributors.txt for code contributors and overview of BadgerDB.
*
* @section LICENSE
* Copyright (c) 2012 Database Group, Computer Sciences Department, University of Wisconsin-Madison.
*/
#include <memory>
#include <iostream>
#include "buffer.h"
#include "exceptions/buffer_exceed... |
<commit_before>/*
** Copyright (C) 2012 Aldebaran Robotics
** See COPYING for the license
*/
#include <qi/assert.hpp>
#include <qi/buffer.hpp>
#include <qi/log.hpp>
#include <cstdio>
#include <cstring>
#include <stdexcept>
#include <iomanip>
#include <ctype.h>
#include <boost/pool/singleton_pool.hpp>
#include <boo... |
<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 "build/build_config.h"
#if defined(OS_WIN)
#include <windows.h>
#include <objbase.h>
#endif
#include <algorithm>
#inclu... |
<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 "base/command_line.h"
#include "base/histogram.h"
#include "base/message_loop.h"
#include "base/path_service.h"
#include ... |
<commit_before>/// @file combatHandler.cpp
/// @brief Contains implementation of combat classes.
/// @author Enrico Fraccaroli
/// @date May 8 2016
/// @copyright
/// Copyright (c) 2016 Enrico Fraccaroli <enrico.fraccaroli@gmail.com>
/// Permission is hereby granted, free of charge, to any person obtaining a
/// c... |
<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>#ifndef ITER_IMAP_H_
#define ITER_IMAP_H_
#include "zip.hpp"
#include <utility>
#include <type_traits>
namespace iter {
namespace detail {
template <std::size_t Index, typename Functor, typename Tup>
struct Expander {
template <typename... Ts>
static auto call(Functor&& f... |
<commit_before>/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
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 app... |
<commit_before>// Filename: milesAudioSound.cxx
// Created by: skyler (June 6, 2001)
// Prior system by: cary
//
////////////////////////////////////////////////////////////////////
//
// PANDA 3D SOFTWARE
// Copyright (c) 2001, Disney Enterprises, Inc. All rights reserved
//
// All use of this software is subject to... |
<commit_before>#include <pcl/point_types.h>
#include <pcl/io/pcd_io.h>
#include <pcl/kdtree/kdtree_flann.h>
#include <pcl/features/normal_3d.h>
#include <pcl/surface/gp3.h>
int
main (int argc, char** argv)
{
// Load input file into a PointCloud<T> with an appropriate type
pcl::PointCloud<pcl::PointXYZ>::Ptr cloud ... |
<commit_before>// ======================================================================== //
// Copyright 2009-2013 Intel Corporation //
// //
// Licensed under the Apache License, Version 2.0 (the "License"); ... |
<commit_before>/***************************************************************************
* stream/test_push_sort.cpp
*
* Part of the STXXL. See http://stxxl.sourceforge.net
*
* Copyright (C) 2004 Roman Dementiev <dementiev@mpi-sb.mpg.de>
*
* Distributed under the Boost Software License, Version 1.0.
* (... |
<commit_before>#include <node.h>
#include <v8.h>
#include <vector>
#include "mouse.h"
#include "deadbeef_rand.h"
#include "screen.h"
#include "screengrab.h"
#include "keypress.h"
using namespace v8;
/*
__ __
| \/ | ___ _ _ ___ ___
| |\/| |/ _ \| | | / __|/ _ \
| | | | (_) | |_| \__ \ ... |
<commit_before>#include <memory>
#include "../externals/json/json.h"
#include "math.h"
#include "window.h"
#include "gameobject.h"
#include "camera.h"
#include "debugger.h"
Camera::Camera() : mActivePan(-1), mScene("def"){
mBox.Set(0, 0, Window::Box().W(), Window::Box().H());
mSceneBox.Set(0, 0, 0, 0);
}
Camera::~C... |
<commit_before>/* Copyright 2009 SPARTA, Inc., dba Cobham Analytic Solutions
*
* This file is part of WATCHER.
*
* WATCHER 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 vers... |
<commit_before>#include "./camera.h"
#include <Eigen/Geometry>
#include <math.h>
#include <iostream>
Camera::Camera()
: origin(0.0f, 0.0f, 0.0f), position(0.0f, 0.0f, 1.0f),
direction(0.0f, 0.0f, -1.0f), up(0.0f, 1.0f, 0.0f), radius(1.0f),
azimuth(1.5f * M_PI), declination(0.0f)
{
projection = createProje... |
<commit_before>/*-------------------------------------------------------------------------
* Vulkan Conformance Tests
* ------------------------
*
* Copyright (c) 2018 Advanced Micro Devices, Inc.
* Copyright (c) 2018 The Khronos Group Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may n... |
<commit_before>/***
* @file lbfgs_test.cc
*
* Tests the L-BFGS optimizer on a couple test functions.
*
* @author Ryan Curtin (gth671b@mail.gatech.edu)
*/
#include <fastlib/fastlib.h>
#include "lbfgs.h"
#include "test_functions.h"
using namespace mlpack::optimization;
using namespace mlpack::optimization::test;
... |
<commit_before>/*
* Copyright (c) 2011 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>#ifndef CMDSTAN_WRITE_PROFILING_HPP
#define CMDSTAN_WRITE_PROFILING_HPP
#include <stan/math/rev/core/profiling.hpp>
#include <stan/callbacks/writer.hpp>
#include <stan/version.hpp>
#include <string>
#include <vector>
namespace cmdstan {
/**
* Writes the data from the map of profiles in a CSV format
... |
<commit_before>/*
* ADIOStoMultiParticle.h
*
* Copyright (C) 2018 by Universitaet Stuttgart (VISUS).
* Alle Rechte vorbehalten.
*/
#include "stdafx.h"
#include "ADIOStoMultiParticle.h"
#include "CallADIOSData.h"
#include "mmcore/moldyn/MultiParticleDataCall.h"
#include "vislib/sys/Log.h"
namespace megamol {
name... |
<commit_before>#include "segment.h"
#include <cstdlib>
namespace oop_project {
const size_t Segment::kMaxCars = 5;
Segment::Segment(size_t capacity, Segment* prev, int ready_percent,
size_t num_junctions, size_t toll_pass_limit)
: capacity_(capacity),
enter_junction_(new Junction(num_junct... |
<commit_before>/** augmentor_stress_test.cc -*- C++ -*-
Rémi Attab, 10 May 2013
Copyright (c) 2013 Datacratic. All rights reserved.
Stress test to worm out the bottleneck in augmentor base.
*/
#define BOOST_TEST_MAIN
#define BOOST_TEST_DYN_LINK
#include "rtbkit/testing/t... |
<commit_before>/****************************************************************************
**
** Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
** Contact: Nokia Corporation (qt-info@nokia.com)
**
** This file is part of the Qt Mobility Components.
**
** $QT_BEGIN_LICENSE:LGPL$
** No Commercia... |
<commit_before>/* net6 - Library providing IPv4/IPv6 network access
* Copyright (C) 2005 Armin Burgmeier / 0x539 dev group
*
* 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
*... |
<commit_before>#ifndef CUSTOMPROJECTION_HH
#define CUSTOMPROJECTION_HH
#include <dune/fem/quadrature/cachequad.hh>
#include <dune/fem/operator/common/operator.hh>
#include <dune/fem/function/common/discretefunction.hh>
#include <dune/fem/function/common/discretefunctionadapter.hh>
#include <dune/fem/operator/1order/lo... |
<commit_before>
/*
* client.cpp
*
* Handles the client env.
*
* Created by Ryan Faulkner on 2014-06-08
* Copyright (c) 2014. All rights reserved.
*/
#include <iostream>
#include <string>
#include <redis3m/connection.h>
#include "parse.h"
using namespace std;
bool handleUserInput(string input) {
return... |
<commit_before>
/*
* Copyright 2013 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "ppapi/cpp/completion_callback.h"
#include "ppapi/cpp/graphics_2d.h"
#include "ppapi/cpp/image_data.h"
#include "ppapi/cpp/instance.h"
#include "ppapi... |
<commit_before>#include "acmacs-base/range-v3.hh"
#include "acmacs-chart-2/chart.hh"
//#include "draw.hh"
#include "vaccines.hh"
// ----------------------------------------------------------------------
static inline acmacs::PointStyle& point_style_for(acmacs::PointStyle&& aStyle, hidb::Vaccines::PassageType pt)
{
... |
<commit_before>/* IBM_PROLOG_BEGIN_TAG */
/* This is an automatically generated prolog. */
/* */
/* $Source: src/import/chips/p10/procedures/hwp/io/p10_io_lib.H $ ... |
<commit_before><commit_msg>Add and support Effective formula kernel<commit_after><|endoftext|> |
<commit_before>/*
Copyright (C) 2000 by Jerry A. Segler, Jr. Based on csFont
Major improvements by Andrew Zabolotny, <bit@eltech.ru>
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 Fo... |
<commit_before>/****************************************************************************
* Copyright (c) 2012-2017 by the DataTransferKit authors *
* All rights reserved. *
* ... |
<commit_before>#pragma once
#include <iostream>
#include "binary.hxx"
#include "bitnode.hxx"
namespace despairagus {
namespace bitwisetrie {
using std::cout;
using std::ostream;
template <typename A>
class bitwisetrie final {
template<typename B>
using conref = const B &;
using bitA = std::bitset... |
<commit_before>// include LiteSQL's header file and generated header file
#include <iostream>
#include "litesql.hpp"
#include "exampledatabase.hpp"
// provide implementation for Person::sayHello
void example::Person::sayHello() {
std::cout << "Hi! My name is " << name
<< " and I am " << age << " years old.... |
<commit_before>/*******************************************************
* Copyright (c) 2015-2019, ArrayFire
* All rights reserved.
*
* This file is distributed under 3-clause BSD license.
* The complete license agreement can be obtained at:
* http://arrayfire.com/licenses/BSD-3-Clause
**************************... |
<commit_before>#include "FlightTask.hpp"
#include <mathlib/mathlib.h>
#include <lib/ecl/geo/geo.h>
constexpr uint64_t FlightTask::_timeout;
// First index of empty_setpoint corresponds to time-stamp and requires a finite number.
const vehicle_local_position_setpoint_s FlightTask::empty_setpoint = {0, NAN, NAN, NAN, NA... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: stylepool.hxx,v $
*
* $Revision: 1.3 $
*
* last change: $Author: vg $ $Date: 2007-04-11 18:58:01 $
*
* The Contents of this file are made... |
<commit_before>/****************************************************************************
**
** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of Qt Creator.
**
** Commercial License Usage
** Licensees holding valid commercial Qt licenses... |
<commit_before>/**************************************************************************
**
** This file is part of Qt Creator
**
** Copyright (c) 2012 Nokia Corporation and/or its subsidiary(-ies).
**
** Contact: http://www.qt-project.org/
**
**
** GNU Lesser General Public License Usage
**
** This file may be used ... |
<commit_before>#include "acmacs-base/rjson-v3-helper.hh"
#include "acmacs-map-draw/mapi-settings.hh"
#include "acmacs-map-draw/draw.hh"
#include "acmacs-map-draw/map-elements-v1.hh"
// ----------------------------------------------------------------------
map_elements::v1::LegendPointLabel& acmacs::mapi::v1::Settings... |
<commit_before>/****************************************************************************
**
** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
** Contact: Qt Software Information (qt-info@nokia.com)
**
** This file is part of the plugins of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** No Comme... |
<commit_before>/****************************************************************************
**
** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of Qt Creator.
**
** Commercial License Usage
** Licensees holding valid commercial Qt licenses... |
<commit_before>/**************************************************************************
**
** This file is part of Qt Creator
**
** Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
**
** Contact: Nokia Corporation (qt-info@nokia.com)
**
** Commercial Usage
**
** Licensees holding valid Qt Commercial... |
<commit_before>/**************************************************************************
**
** This file is part of Qt Creator
**
** Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
**
** Contact: Nokia Corporation (qt-info@nokia.com)
**
** Commercial Usage
**
** Licensees holding valid Qt Commercial... |
<commit_before>#include <omp.h>
#include <stdio.h>
#include <opencv2/opencv.hpp>
#include <fstream>
#include <iostream>
#include <armadillo>
#include <iomanip>
#include <vector>
#include <hdf5.h>
#include "omp.h"
using namespace std;
using namespace arma;
#include "grassmann-metrics-def.hpp"
#include "grassmann-metr... |
<commit_before>/**
* Copyright 2014-2015 MongoDB, 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 app... |
<commit_before>
#include <sstream>
#include "flame/base.h"
#include "pyflame.h"
#define TRY PyMachine *machine = (PyMachine*)raw; try
namespace {
struct PyMachine {
PyObject_HEAD
PyObject *weak;
Machine *machine;
};
static
int PyMachine_init(PyObject *raw, PyObject *args, PyObject *kws)
{
TRY {
... |
<commit_before>// Copyright (C) 2013 Jérôme Leclercq
// This file is part of the "Nazara Engine - Core module"
// For conditions of distribution and use, see copyright notice in Config.hpp
#include <Nazara/Core/MemoryStream.hpp>
#include <algorithm>
#include <cstring>
#include <Nazara/Core/Debug.hpp>
NzMemoryStream::... |
<commit_before>
#include <sstream>
#include "scsi/base.h"
#include "pyscsi.h"
#define NO_IMPORT_ARRAY
#define PY_ARRAY_UNIQUE_SYMBOL USCSI_PyArray_API
#include <numpy/ndarrayobject.h>
#define TRY PyMachine *machine = (PyMachine*)raw; try
namespace {
struct PyMachine {
PyObject_HEAD
PyObject *weak;
Mac... |
<commit_before>#include "ObstaclePlatformAnimator.hpp"
#include "commons.hpp"
#include "AnimatorHolder.hpp"
void ObstaclePlatformAnimator::Start(
ObstaclePlatform *_platform,
MovingAnimation *_animation,
timestamp_t startingTime)
{
platform = _platform;
animation = _animation;
lastTime = startingTime;
state = ... |
<commit_before>/*=========================================================================
Program: Visualization Toolkit
Module: vtkTextActor.cxx
Language: C++
Date: $Date$
Version: $Revision$
Copyright (c) 1993-2002 Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Cop... |
<commit_before>//
// DB.cpp
// Openbiz-RestModel
//
// Created by Jixian Wang on 14-10-7.
// Copyright (c) 2014年 openbiz. All rights reserved.
//
#include <iostream>
#include <stdexcept>
#include <vector>
#include <regex>
#include <cstdio>
#include "DB.h"
#include "PlatformMacros.h"
#include "FileUtils.h"
#include... |
<commit_before>#include "SymmAnisotropicElasticityTensor.h"
#include <cmath>
#include <ostream>
SymmAnisotropicElasticityTensor::SymmAnisotropicElasticityTensor()
: SymmElasticityTensor(false),
_dmat(9,9),
_qdmat(9,9),
_dt(6,6),
_qdt(6,6),
_r(3,3),
_q(9,9),
_qt(9,9),
_euler_angle(3),
... |
<commit_before><commit_msg>fix issue 650 for develop (#671)<commit_after><|endoftext|> |
<commit_before>/*
This file is part of the PhantomJS project from Ofi Labs.
Copyright (C) 2011 Ariya Hidayat <ariya.hidayat@gmail.com>
Copyright (C) 2011 execjosh, http://execjosh.blogspot.com
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the fo... |
<commit_before>#include "config.h"
Config* Config::getHandle() {
static Config instance;
return &instance;
}
void Config::setMainConfigFile(const std::string& configFileName) {
if (confname.empty())
confname = configFileName;
}
void Config::readConfig() {
config = readConfig(confname, std::ifstream(confname));... |
<commit_before>#include "openmc/source.h"
#include <algorithm> // for move
#include <sstream> // for stringstream
#if defined (__unix__) || (defined (__APPLE__) && defined (__MACH__))
#include <dlfcn.h> // for dlopen
#endif
#include <fmt/core.h>
#include "xtensor/xadapt.hpp"
#include "openmc/bank.h"
#include "openm... |
<commit_before>#include "secondary-pop-nodes/annealer/SimulatedAnnealer.hpp"
#include <string>
#include <sstream>
#include <random>
#include <cmath>
using namespace std;
SimulatedAnnealer::SimulatedAnnealer(
Individual * templateIndividual,
bool maximize,
int maxIterations,
int accelerationFactor,
TemperatureSch... |
<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 3 of the License, or
* (at your option) any later version.
*
* Written (W) 2011 Sergey Lisitsyn
* Copyrigh... |
<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.
*
* This program is distributed in the hope ... |
<commit_before>//
// Created by Artur Troian on 10/20/16.
//
#include <propertypp/sqlite.hpp>
#include <tools/base64.hpp>
#include <exception>
#include <stdexcept>
#include <cstdlib>
#include <iostream>
namespace property {
int sqlite_property::select_exec_cb(void *ptr, int argc, char **argv, char **names)
{
// su... |
<commit_before>// Copyright 2015-2018 Elviss Strazdins. All rights reserved.
#ifndef OUZEL_UTILS_LOG_HPP
#define OUZEL_UTILS_LOG_HPP
#include <atomic>
#include <condition_variable>
#include <mutex>
#include <queue>
#include <string>
#include <thread>
#include <vector>
#include "math/Matrix4.hpp"
#include "math/Quater... |
<commit_before>//vbSort.cpp
//Copyright (c) 2015 mmYYmmdd
#include "stdafx.h"
#include <algorithm>
#include "VBA_NestFunc.hpp"
//比較関数
class compareByVBAfunc {
VARIANT* begin;
std::shared_ptr<functionExpr> comp;
public:
compareByVBAfunc(VARIANT* pA, VARIANT* f) : begin(pA), comp(std::make_shared<functi... |
<commit_before>// Copyright 2015-2018 Elviss Strazdins. All rights reserved.
#include "core/Setup.h"
#if OUZEL_COMPILE_XAUDIO2
#include <stdexcept>
#include "AudioDeviceXA2.hpp"
#include "XAudio27.hpp"
#include "core/Engine.hpp"
#include "utils/Log.hpp"
#include "utils/Utils.hpp"
static const char* XAUDIO2_DLL_28 =... |
<commit_before>#include "stdafx.h"
/*
* Copyright (c) 2007-2010 SlimDX Group
*
* 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
* ... |
<commit_before>/****************************************************************************
**
** Copyright (C) 2012 Nokia Corporation and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/
**
** This file is part of the test suite of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** GNU Lesser General Pub... |
<commit_before>// =============================================================================
// PROJECT CHRONO - http://projectchrono.org
//
// Copyright (c) 2014 projectchrono.org
// All right reserved.
//
// Use of this source code is governed by a BSD-style license that can be found
// in the LICENSE file at the ... |
<commit_before>/*! \file
*
* \brief checkpointing of a calculation (source)
*/
#include "pulsar/modulemanager/Checkpoint.hpp"
#include "pulsar/modulemanager/CheckpointIO.hpp"
#include "pulsar/modulemanager/ModuleManager.hpp"
#include "pulsar/output/GlobalOutput.hpp"
#include "pulsar/util/Serialization.hpp"
#includ... |
<commit_before>/*
Copyright (c) 2014 Noel R. Cower
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, merg... |
<commit_before>/* Copyright 2018 The TensorFlow 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 the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by appl... |
<commit_before>/* Copyright 2021 The TensorFlow 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 the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by appl... |
<commit_before>/* Copyright 2015 The TensorFlow 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 the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by appl... |
<commit_before>/* Copyright 2019 The TensorFlow 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 the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by appl... |
<commit_before>/* microflo_component yaml
name: ReadCapacitivePin
description: "Emits true if measured capacitance (in iterations) on @pin exceeds @threshold"
inports:
trigger:
type: all
description: ""
pin:
type: all
description: ""
threshold:
type: all
description: ""
outports:
out:
... |
<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 <folly/portability/GTest.h>
#include <quic/common/test/TestUtils.h>
#include <quic/congestion_control/Qu... |
<commit_before>// =============================================================================
// PROJECT CHRONO - http://projectchrono.org
//
// Copyright (c) 2014 projectchrono.org
// All right reserved.
//
// Use of this source code is governed by a BSD-style license that can be found
// in the LICENSE file at the ... |
<commit_before>// =============================================================================
// PROJECT CHRONO - http://projectchrono.org
//
// Copyright (c) 2014 projectchrono.org
// All right reserved.
//
// Use of this source code is governed by a BSD-style license that can be found
// in the LICENSE file at the ... |
<commit_before>/** @file
@brief Implementation
@date 2015
@author
Sensics, Inc.
<http://sensics.com/osvr>
*/
// Copyright 2015 Sensics, 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 ... |
<commit_before>/**************************************************************************
**
** Copyright (C) 2013 BlackBerry Limited. All rights reserved.
**
** Contact: BlackBerry (qt@blackberry.com)
** Contact: KDAB (info@kdab.com)
**
** This file is part of Qt Creator.
**
** Commercial License Usage
** Licensees h... |
<commit_before>//
// This file is part of the Marble Virtual 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.
//
// Copyright 2010 Dennis Nienhüser <earthwings@gentoo.org>
//
#include "OsmNomin... |
<commit_before>/*************************************************************************
* Copyright (c) 2016 Fran�ois Trudel
*
* 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 with... |
<commit_before>//#include "mvcc.h"
#include "txn.h"
#include "row.h"
#include "manager.h"
#include "row_mvcc.h"
#include "mem_alloc.h"
void Row_mvcc::init(row_t * row) {
_row = row;
uint64_t part_id = row->get_part_id();
readreq_mvcc = NULL;
prereq_mvcc = NULL;
readhis = NULL;
writehis = NULL;
readhistail = NUL... |
<commit_before>
/*
* client.cpp
*
* Handles the client env.
*
* Created by Ryan Faulkner on 2014-06-08
* Copyright (c) 2014. All rights reserved.
*/
#include <chrono>
#include <iostream>
#include <string>
#include <redis3m/connection.h>
#include "parse.h"
#include "redis.h"
#define DBY_CMD_QUEUE_PREFIX "d... |
<commit_before>/*
* daemon.cpp
*
* Created on: Apr 7, 2013
* Author: nikita.karnauhov@gmail.com
*/
#include <string>
#include <stdexcept>
#include <memory>
#include <iostream>
#include <sstream>
#include <iomanip>
#include <fstream>
#include <list>
#include <set>
#include <thread>
#include <mutex>
#include ... |
<commit_before>/* _______ __ __ __ ______ __ __ _______ __ __
* / _____/\ / /\ / /\ / /\ / ____/\ / /\ / /\ / ___ /\ / |\/ /\
* / /\____\// / // / // / // /\___\// /_// / // /\_/ / // , |/ / /
* / / /__ / / // / // / // / / / ___ / // ___ / // /| ' / /
* / /_// /\ / /_// / ... |
<commit_before>/*
* Copyright (c) 2015 Cryptonomex, Inc., and contributors.
* 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. Any modified source or binaries are used only with the BitSha... |
<commit_before>
#include "tcam_c.h"
#include "tcam.h"
#include "Error.h"
using namespace tcam;
/* error / debug */
int tcam_last_errno ()
{
return getError().getErrno();
}
const char* tcam_last_error_messsage ()
{
return getError().getString().c_str();
}
/* device discovery / watchdog */
tcam_device_in... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.