text stringlengths 54 60.6k |
|---|
<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 COPYING that should have accompanied this file.
*
* THIS PACKAGE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
... |
<commit_before>/** @file
*
* @ingroup foundationLibrary
*
* @brief 2-dimensional matrix of compound values with N elements each.
*
* @authors Timothy Place & Nathan Wolek
*
* @copyright Copyright © 2011-2012, Timothy Place & Nathan Wolek @n
* This code is licensed under the terms of the "New BSD License" @n
... |
<commit_before>// @(#)root/tree:$Name: $:$Id: TLeaf.cxx,v 1.11 2003/12/19 07:55:25 brun Exp $
// Author: Rene Brun 12/01/96
/*************************************************************************
* Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *
* All rights reserved. ... |
<commit_before>#include <queso/GslVector.h>
#include <queso/GslMatrix.h>
#include <queso/UniformVectorRV.h>
#include <queso/StatisticalInverseProblem.h>
#include <queso/VectorSet.h>
#include <queso/GaussianProcessEmulator.h>
#include <cstdio>
// Read in data files
void readExpData(const std::vector<QUESO::GslVector *... |
<commit_before>/**
Copyright (c) 2016, Philip Deegan.
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 conditions... |
<commit_before>/* Copyright (c) 2016 Cornell University
*
* 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, mod... |
<commit_before>#include "curltools.h"
#include "json_spirit.h"
#include <boost/thread.hpp>
#include <iostream>
#include <openssl/ssl.h>
boost::once_flag init_openssl_once_flag = BOOST_ONCE_INIT;
boost::once_flag init_curl_global_once_flag = BOOST_ONCE_INIT;
boost::mutex curl_global_init_lock;
class CurlClean... |
<commit_before>#ifndef CTOOL_EXTRACT
#define CTOOL_EXTRACT
#include "ToolBase.hpp"
#include <stdio.h>
#if _WIN32
#include <conio.h>
#else
#include <termios.h>
#endif
class ToolExtract final : public ToolBase
{
HECL::Database::IDataSpec::ExtractPassInfo m_einfo;
struct SpecExtractPass
{
const HECL... |
<commit_before>//===-- PPCInstPrinter.cpp - Convert PPC MCInst to assembly syntax --------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------... |
<commit_before>/******************************************************************************\
This file is part of the C! library. A.K.A the cbang library.
Copyright (c) 2003-2019, Cauldron Development LLC
Copyright (c) 2003-2017, Stanford University
... |
<commit_before>#include "stdafx.h"
#include "RocInc.h"
volatile sig_atomic_t g_quitSetter = 0;
void SignalHandleFunction(int f_sig)
{
signal(f_sig, SignalHandleFunction);
g_quitSetter = 1;
}
int main(int argc, char *argv[])
{
signal(SIGINT, SignalHandleFunction);
signal(SIGTERM, SignalHandleFunction);... |
<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>hide a WaE... should be fixed properly when the issue is understood<commit_after><|endoftext|> |
<commit_before>#ifndef GNR_FORWARDERREF_HPP
# define GNR_FORWARDERREF_HPP
# pragma once
// std::memcpy
#include <cstring>
#include <functional>
#include <type_traits>
#include <utility>
namespace gnr
{
namespace detail::fwdref
{
template <typename, bool>
class fwdref_impl2;
template <typename R, typename ...A, ... |
<commit_before>/*
*
* Copyright (C) 2000 Silicon Graphics, Inc. All Rights Reserved.
*
* 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.1 of the License, o... |
<commit_before>/*
* Copyright (C) 2014 Christopher Gilbert <christopher.john.gilbert@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 l... |
<commit_before><commit_msg>Fix namespace to ultimately compile on Mac BUG=none TEST=none Review URL: http://codereview.chromium.org/115924<commit_after><|endoftext|> |
<commit_before>#pragma once
#include <cstdint>
namespace cu
{
template <typename T>
struct IntTraits;
namespace detail
{
template <std::size_t nBits_,
bool isSigned_>
struct IntTraitsImpl
{
static constexpr std::size_t nBits = nBits_;
static constexpr bool isSigned = isSign... |
<commit_before><commit_msg>Apply style guideline for variable names for browser action container.<commit_after><|endoftext|> |
<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 <string>
#include "base/basictypes.h"
#include "base/guid.h"
#include "base/strings/string_number_conversions.h"
#include "ba... |
<commit_before>#include "attribute_provider.hpp"
#include "../base/assert.hpp"
#ifdef DEBUG
#define INIT_CHECK_INFO(x) m_checkInfo = vector<bool>((vector<bool>::size_type)(x), false);
#define CHECK_STREAMS CheckStreams()
#define INIT_STREAM(x) InitCheckStream((x))
#else
#include "../../base/macros.hpp"
#defi... |
<commit_before>/*=========================================================================
Program: Visualization Toolkit
Module: vtkDicer.cxx
Language: C++
Date: $Date$
Version: $Revision$
Copyright (c) 1993-1998 Ken Martin, Will Schroeder, Bill Lorensen.
This software is copyrighted by Ken ... |
<commit_before>/* Luwra
* Minimal-overhead Lua wrapper for C++
*
* Copyright (C) 2016, Ole Krüger <ole@vprsm.de>
*/
#ifndef LUWRA_TABLES_H_
#define LUWRA_TABLES_H_
#include "common.hpp"
#include "types.hpp"
#include "auxiliary.hpp"
LUWRA_NS_BEGIN
namespace internal {
// This represents a "path" which will be r... |
<commit_before>#include <stdio.h>
#include <string.h>
#include <iostream>
#include <string>
#include <algorithm>
using namespace std;
#define N 20010
int n, m, ans, cnt;
int s[N], e[N], c[N], fa[N], rank[N], x[N];
int find(int v) {
if (fa[v] == v) return v;
else {
int temp = fa[v];
fa[v] =... |
<commit_before><commit_msg>Tests for `Species::bind_to_new_parent`.<commit_after><|endoftext|> |
<commit_before>// Copyright 2014 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "src/compiler/pipeline.h"
#include "src/base/platform/elapsed-timer.h"
#include "src/compiler/ast-graph-builder.h"
#include "sr... |
<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 <stdio.h>
#include <iostream>
// MAIN FUNCTION
int main()
{
std::cout << "Hello World"<<"\n";
}
<commit_msg>Update game.m.cpp<commit_after>#include <stdio.h>
#include <iostream>
// MAIN FUNCTION
int main()
{
std::cout << "Hello World"<<"\n";
}
<|endoftext|> |
<commit_before>/**
* This file is part of the CernVM File System.
*/
#ifndef CVMFS_SSL_H_
#define CVMFS_SSL_H_
#include "ssl.h"
#include <string>
#include <vector>
#include "duplex_curl.h"
#include "util/posix.h"
#ifdef CVMFS_NAMESPACE_GUARD
namespace CVMFS_NAMESPACE_GUARD {
#endif
unsigned int count_ssl_certif... |
<commit_before>/*
Copyright c1997-2014 Trygve Isaacson. All rights reserved.
This file is part of the Code Vault version 4.1
http://www.bombaydigital.com/
License: MIT. See LICENSE.md in the Vault top level directory.
*/
/** @file */
#include "vtypes.h"
#include "vtypes_internal.h"
#include "vstring.h"
#include "vexc... |
<commit_before>/* 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/ */
#include "dlcl_lexer.hpp"
#include "dlcl_utils.h"
#include <cstring>
#include <climits>
#include <cs... |
<commit_before><commit_msg>loplugin:deletedspecial<commit_after><|endoftext|> |
<commit_before>#pragma once
//=====================================================================//
/*! @file
@brief 6×12フォント・クラス
Copyright 2017 Kunihito Hiramatsu
@author 平松邦仁 (hira@rvf-rc45.net)
*/
//=====================================================================//
#include <cstdint>
namespace... |
<commit_before>#include "tile.h"
#include "network.h"
#include "network_model.h"
#include "network_types.h"
#include "memory_manager.h"
#include "main_core.h"
#include "simulator.h"
#include "log.h"
#include "tile_energy_monitor.h"
Tile::Tile(tile_id_t id)
: _id(id)
, _memory_manager(NULL)
{
LOG_PRINT("Tile c... |
<commit_before>
#ifndef __CONCURRENCY_PMAP_HPP__
#define __CONCURRENCY_PMAP_HPP__
#include "errors.hpp"
#include <boost/bind.hpp>
#include "arch/runtime/runtime.hpp"
#include "concurrency/cond_var.hpp"
#include "utils.hpp"
template<typename callable_t, typename value_t>
void pmap_runner_one_arg(value_t i, const call... |
<commit_before>// Local-Hyperion includes
#include "LedDevicePhilipsHue.h"
// jsoncpp includes
#include <json/json.h>
// qt includes
#include <QtCore/qmath.h>
#include <QUrl>
#include <QHttpRequestHeader>
#include <QEventLoop>
#include <set>
bool operator ==(CiColor p1, CiColor p2) {
return (p1.x ==... |
<commit_before>/***************************************************************************
**
** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
** All rights reserved.
** Contact: Nokia Corporation (testabilitydriver@nokia.com)
**
** This file is part of Testability Driver.
**
** If you have questio... |
<commit_before>/*
Copyright (C) 2014 Alexandr Akulich <akulichalexander@gmail.com>
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SH... |
<commit_before><commit_msg>fix ambiguous OUString constructor call<commit_after><|endoftext|> |
<commit_before><commit_msg>coverity#738732 Uninitialized scalar field<commit_after><|endoftext|> |
<commit_before>/**************************************************************************
* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
* *
* Author: The ALICE Off-line Project. *
... |
<commit_before>#include "MapSequences.h"
#include <cassert>
#include "cocos2d\external\tinyxml2\tinyxml2.h"
using namespace std;
using namespace tinyxml2;
MapSequences::MapSequences() :_iCurIndex(0)
{
addSequences(0, 0, 2);
addSequences(0, 0, 2);
addSequences(0, 0, 2);
addSequences(0, 0, 2);
addSequences(0, 0, 2... |
<commit_before>#include <chili/task.h>
#include <chili/plugin.xpm>
#include <chili/qclightbox.h>
#include <qlayout.h>
#include <qstring.h>
#include <mitkDataTree.h>
#include <QmitkStdMultiWidget.h>
//#include <mitkLightBoxImageReader.h>
#include "SampleApp.h"
#include "QcMITKSamplePlugin.h"
#include <qlabel.h>
QcMITK... |
<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>/*
This is an example file shipped by 'Aleph - A Library for Exporing
Persistent Homology'.
This example demonstrates how to load a VTK structured grid from
a file, convert it into a simplicial complex, and calculate its
persistent homology.
Demonstrated classes:
- aleph::PersistenceD... |
<commit_before>#include "gmock/gmock.h"
#include "CommandRecognizer.h"
#include "CommandMetadata.h"
#include "util/XPlaneDataRefSDKMock.h"
using namespace testing;
using namespace xcopilot;
class CommandRecognizerTest : public Test
{
protected:
NiceMock<XPlaneDataRefSDKMock> xPlaneDataRefSDKMock;
CommandReco... |
<commit_before>//===--- DerivedConformanceAdditiveArithmetic.cpp -------------------------===//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2018 - 2020 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See http... |
<commit_before>#include <functional>
#include <string>
#include "Common.hpp"
#include "Engine.hpp"
#include "BaseTypes.hpp"
#include "dataspace/Dataspace.hpp"
#include "BaseCollections.hpp"
#include "Builtins.hpp"
namespace K3 {
using std::endl;
using std::to_string;
// Standard context implementations
__st... |
<commit_before>#ifndef K3_RUNTIME_LISTENER_H
#define K3_RUNTIME_LISTENER_H
#include <atomic>
#include <functional>
#include <memory>
#include <unordered_set>
#include <boost/array.hpp>
#include <boost/thread/condition_variable.hpp>
#include <boost/thread/locks.hpp>
#include <boost/thread/lock_types.hpp>
#include <boos... |
<commit_before>#include "Memory.h"
#include "preprocessor/llvm_includes_start.h"
#include <llvm/IR/IntrinsicInst.h>
#include "preprocessor/llvm_includes_end.h"
#include "Type.h"
#include "Runtime.h"
#include "GasMeter.h"
#include "Endianness.h"
#include "RuntimeManager.h"
namespace dev
{
namespace eth
{
namespace ji... |
<commit_before>//------------------------------------------------------------------------------
// CLING - the C++ LLVM-based InterpreterG :)
// version: $Id$
// author: Vassil Vassilev <vvasilev@cern.ch>
// author: Baozeng Ding <sploving1@gmail.com>
//-----------------------------------------------------------------... |
<commit_before>#include <boost/python.hpp>
#include <boost/python/suite/indexing/vector_indexing_suite.hpp>
#include <cal3d/buffersource.h>
#include <cal3d/coreanimation.h>
#include <cal3d/coreanimatedmorph.h>
#include <cal3d/corebone.h>
#include <cal3d/corematerial.h>
#include <cal3d/coremesh.h>
#include <cal3d/cores... |
<commit_before>//== ReturnUndefChecker.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>/*
* File: Renderer.cpp
* Author: morgan
*
* Created on February 15, 2014, 2:37 PM
*/
#include <ogli/util.h>
#include <glm/gtx/projection.hpp>
#include <glm/gtc/matrix_transform.hpp>
#include <glm/gtx/transform.hpp>
#include <glm/gtx/transform2.hpp>
#include <glm/gtc/random.hpp>
#include "Rend... |
<commit_before>// ==========================================================================
// Line And Polygon Geometry
//
// Adapted from Sonny Chan's CPSC453 OpenGL Core Profile Boilerplate
// http://pages.cpsc.ucalgary.ca/~sonny.chan/cpsc453/resources/handouts/CPSC453-BoilerplateCode.zip
//
// Author: Matthew Sem... |
<commit_before>/*=========================================================================
Program: Visualization Toolkit
Module: vtkDelimitedTextReader.cxx
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details... |
<commit_before>/*=========================================================================
Program: Visualization Toolkit
Module: vtkDebugLeaks.cxx
Language: C++
Date: $Date$
Version: $Revision$
Copyright (c) 1993-2002 Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Co... |
<commit_before>/*
Copyright (C) 2011 Lasath Fernando <kde@lasath.org>
Copyright (C) 2013 Lasath Fernando <davidedmundson@kde.org>
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 Foun... |
<commit_before>/*
Copyright (c) 2015 Genome Research Ltd.
Author: Jouni Siren <jouni.siren@iki.fi>
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... |
<commit_before>//////////////////////////////////////////////////////////////////////////
//
// Copyright (c) 2007-2011, 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>/*
* IncrementalKMeans.cpp
*
* Created on: May 13, 2015
* Author: andresf
*/
#include <IncrementalKMeans.hpp>
#include <opencv2/core/core.hpp>
namespace vlr {
static const int MAX_OUTLIERS = 10;
IncrementalKMeans::IncrementalKMeans(vlr::Mat data, const cvflann::IndexParams& params) :
m_d... |
<commit_before>//
// snowflake.hpp
// aegis.cpp
//
// Copyright (c) 2017 Sara W (sara at xandium dot net)
//
// This file is part of aegis.cpp .
//
// 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 ... |
<commit_before>#ifndef AMGCL_VALUE_TYPE_STATIC_MATRIX_HPP
#define AMGCL_VALUE_TYPE_STATIC_MATRIX_HPP
/*
The MIT License
Copyright (c) 2012-2015 Denis Demidov <dennis.demidov@gmail.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (th... |
<commit_before>/*
* Copyright (c) 2011-2013 libbitcoin developers (see AUTHORS)
*
* This file is part of libbitcoin.
*
* libbitcoin 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 published by the Free ... |
<commit_before>#ifndef SPROUT_GRAMMAR_HEADER
#define SPROUT_GRAMMAR_HEADER
#include "Node.hpp"
#include <rule/rules.hpp>
#include <rule/Proxy.hpp>
#include <rule/Shared.hpp>
#include <rule/Reduce.hpp>
#include <rule/Literal.hpp>
#include <rule/Discard.hpp>
#include <rule/Shared.hpp>
#include <rule/Multiple.hpp>
#incl... |
<commit_before>//==============================================================================
/*
LuaBridge is Copyright (C) 2007 by Nathan Reed.
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 Softwa... |
<commit_before>/*
Copyright (c) 2003-2012, 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) 2013, German Neuroinformatics Node (G-Node)
//
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted under the terms of the BSD License. See
// LICENSE file in the root of the Project.
#ifndef NIX_FILTER_H
#defin... |
<commit_before>#ifndef UTIL_ARGS_HPP
#define UTIL_ARGS_HPP
#include "../core/error.hpp"
#include <unordered_map>
#include <map>
#include <vector>
#include <iostream>
#include <iomanip>
namespace nnlib
{
class Args
{
public:
Args(int argc, const char **argv) :
m_argc(argc),
m_argv(argv),
m_argi(0)
{}
Args ... |
<commit_before>/** @file command.hpp
*
* RedisXX Command implementation
*
* For the full copyright and license information, please view the LICENSE file
* that was distributed with this project source code.
*
*/
#pragma once
#include <string>
#include <vector>
#include <cstddef>
#include <redisxx/type_traits.hp... |
<commit_before>#pragma once
#include <cstddef>
#include <string>
#include "reflection_binding.hpp"
namespace shadow
{
struct type_info
{
const char* name;
std::size_t size;
address_of_signature address_of_bind_point;
};
inline bool
operator==(const type_info& lhs, const type_info& rhs)
{
return std... |
<commit_before>#pragma once
#include <limits>
#include <cmath>
#include <array>
#include <vector>
#include "zmsg_cmm.hpp"
namespace zmsg {
/**
* \brief typedefs
*/
#if 0
int{8|16|32}_t
uint{8|16|32}_t
float
double
#endif
} /* namespace zmsg */
/**
* \brief bool image
*/
struct bool_img {
bool_img()
: width(... |
<commit_before>// Copyright (c) 2014-2015 Dr. Colin Hirsch and Daniel Frey
// Please see LICENSE for license or visit https://github.com/ColinH/PEGTL/
#ifndef PEGTL_TRACE_HH
#define PEGTL_TRACE_HH
#include <iostream>
#include "parse.hh"
#include "normal.hh"
#include "nothing.hh"
#include "position_info.hh"
#include... |
<commit_before>#include "chainerx/native/native_device.h"
#include <cmath>
#include <cstdint>
#include <type_traits>
#ifdef CHAINERX_ENABLE_BLAS
#include <cblas.h>
#endif // CHAINERX_ENABLE_BLAS
#include "chainerx/array.h"
#include "chainerx/device.h"
#include "chainerx/dtype.h"
#include "chainerx/indexable_array.h... |
<commit_before>////////////////////////////////////////////////////////////////////////////////
// Name: managedframe.cpp
// Purpose: Implementation of wxExManagedFrame class.
// Author: Anton van Wezenbeek
// Copyright: (c) 2013 Anton van Wezenbeek
////////////////////////////////////////////////////////////... |
<commit_before><commit_msg>Remove unnecessary `#include` lines.<commit_after><|endoftext|> |
<commit_before>#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <vector>
#include <utility>
#include <algorithm>
#include <iostream>
#include <fstream>
#include <errno.h>
#include <unistd.h>
#include <assert.h>
#include "../vowpalwabbit/vw.h"
using namespace std;
void usage(char ... |
<commit_before>/*===================================================================
The Medical Imaging Interaction Toolkit (MITK)
Copyright (c) German Cancer Research Center,
Division of Medical and Biological Informatics.
All rights reserved.
This software is distributed WITHOUT ANY WARRANTY; without
even the imp... |
<commit_before>// Filename: pystub.cxx
// Created by: drose (09Aug00)
//
////////////////////////////////////////////////////////////////////
//
// 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 Panda 3d
// Sof... |
<commit_before>#include <stdio.h>
#include <algorithm> // for std::swap
#include "allocore/system/al_Config.h"
#include "allocore/system/al_Thread.hpp"
#ifdef AL_WINDOWS
#define USE_THREADEX
#else
#define USE_PTHREAD
#endif
namespace al {
#ifdef USE_PTHREAD
#include <pthread.h>
//typedef pthread_t ThreadHandle;
/... |
<commit_before>/*
For more information, please see: http://software.sci.utah.edu
The MIT License
Copyright (c) 2012 Scientific Computing and Imaging Institute,
University of Utah.
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (... |
<commit_before><commit_msg>use icons for buttons<commit_after><|endoftext|> |
<commit_before>
/* mbed Microcontroller Library
* Copyright (c) 2013 ARM Limited
*
* 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>#include "dataaccess.h"
//#include <ofstream>
#include <fstream>
#include <iostream>
#include <vector>
DataAccess::DataAccess()
{
}
void DataAccess::readData ()
{
vector<string> logs;
string name, gender;
int birth, death;
cout << "Testing loading of file." << endl;
ifstream myfil... |
<commit_before>/* -------------------------------------------------------------------------- *
* OpenSim: InverseKinematicsSolver.cpp *
* -------------------------------------------------------------------------- *
* The OpenSim API is a toolkit for musculoskeletal modeling and ... |
<commit_before>/* InverseKinematicsSolver.cpp
* Author: Ajay Seth
* Copyright (c) 2006 Stanford University
* Use of the OpenSim software in source form is permitted provided that the following
* conditions are met:
* 1. The software is used only for non-commercial research and education. It may not
* be u... |
<commit_before>// now in options
//=============================================//
//const char* centralityEstimator = "V0M";
//const char* centralityEstimator = "CL1";
//const char* centralityEstimator = "TRK";
//=============================================//
//Bool_t gRunShuffling = kFALSE;
//Bool_t gRunShuff... |
<commit_before>/*******************************************************************************
* Copyright 2015 See AUTHORS file.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* ... |
<commit_before>/*
* #%L
* %%
* Copyright (C) 2011 - 2017 BMW Car IT GmbH
* %%
* 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>/*
* #%L
* %%
* Copyright (C) 2018 BMW Car IT GmbH
* %%
* 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>// Copyright 2021 The IREE Authors
//
// Licensed under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
#include <atomic>
#include <chrono>
#include <thread>
#include "iree/task/task.h"... |
<commit_before>//===-- sanitizer_flags_test.cc -------------------------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------... |
<commit_before>/*
* Arduino JSON library
* Benoit Blanchon 2014 - MIT License
*/
#include "CppUnitTest.h"
#include "JsonParser.h"
#include <string>
using namespace std;
using namespace Microsoft::VisualStudio::CppUnitTestFramework;
using namespace ArduinoJson::Parser;
namespace ArduinoJsonParserTests
{
TEST_CL... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: adminpages.cxx,v $
*
* $Revision: 1.49 $
*
* last change: $Author: hr $ $Date: 2007-11-01 15:08:22 $
*
* The Contents of this file are ma... |
<commit_before>#include "minesweeperwelcomeview.h"
#include "ui_minesweeprwelcomeview.h"
#include <QPushButton>
namespace MS {
MinesweeperWelcomeView::MinesweeperWelcomeView(QWidget* parent) :
QWidget(parent),
ui_(new Ui::MinesweeperWelcomeView)
{
ui_->setupUi(this);
connect(ui_->quitPushButton, &QPus... |
<commit_before>/*
* Haxe Setup
* Copyright (c)2006 Nicolas Cannasse
*
* 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 late... |
<commit_before>/*************************************************************************
*
* $RCSfile: desktopcontext.hxx,v $
*
* $Revision: 1.2 $
*
* last change: $Author: hr $ $Date: 2004-05-10 13:00:50 $
*
* The Contents of this file are made available subject to the terms of
* either of the following... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: db.cxx,v $
*
* $Revision: 1.4 $
*
* last change: $Author: obo $ $Date: 2006-09-17 09:40:50 $
*
* The Contents of this file are made avail... |
<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) 2008 Renato Araujo Oliveira Filho <renatox@gmail.com>
Copyright (c) 2000-2009 Tor... |
<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) 2008 Renato Araujo Oliveira Filho <renatox@gmail.com>
Copyright (c) 2000-2009 To... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.