text stringlengths 54 60.6k |
|---|
<commit_before>#include <despoof/win32/targetwindows.h>
#include <algorithm>
#include <boost/locale.hpp>
#include "context.h"
#include "command_line.h"
#include "init.h"
#include <despoof/import/log.h>
#include <despoof/import/collect.h>
#include <despoof/win32/error.h>
using boost::format;
using boost::locale::locali... |
<commit_before>/*
* Copyright (c) 2001, 2013, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* publish... |
<commit_before>#include "binary.h"
#include "options.h"
#include "trace.h"
#include <llvm/CodeGen/CommandFlags.h>
#include <llvm/MC/SubtargetFeature.h>
#include <llvm/ADT/Triple.h>
#include <llvm/Support/Host.h>
#include <llvm/Support/FileSystem.h>
#include <llvm/Support/TargetRegistry.h>
#include <llvm/Support/ToolOut... |
<commit_before>#include <gtest/gtest.h>
#include <cucumber-cpp/autodetect.hpp>
#include <mylib/calculator.hpp>
using cucumber::ScenarioScope;
struct CalcCtx {
calculator calc;
double first;
double second;
double result;
};
GIVEN("^I have entered (\\d+) into the calculator$") {
REGEX_PARAM(double... |
<commit_before>#include "agenda.h"
#include "errors.h"
#include <unistd.h>
#include <thread>
#include <sstream>
#include <unistd.h>
#include <boost/bind.hpp>
#include <time.h>
#include <iostream>
using namespace es3;
agenda::agenda(size_t num_unbound, size_t num_cpu_bound, size_t num_io_bound,
bool quiet, bool ... |
<commit_before>//
// Physical page allocator.
// Slab allocator, for chunks larger than one page.
//
#include "types.h"
#include "mmu.h"
#include "kernel.hh"
#include "spinlock.h"
#include "kalloc.hh"
#include "mtrace.h"
#include "cpu.hh"
#include "multiboot.hh"
#include "wq.hh"
static struct Mbmem mem[128];
static u... |
<commit_before>#include "angel_wings.h"
void Dart_WingsSocket_getPort(Dart_NativeArguments arguments)
{
// TODO: Actually do something.
}
void Dart_WingsSocket_write(Dart_NativeArguments arguments)
{
// TODO: Actually do something.
}
void Dart_WingsSocket_closeDescriptor(Dart_NativeArguments arguments)
{
... |
<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>/** \mainpage
# Overview of GAL
This library consists of four different array classes:
```
| Owns Memory Non Owning Pointer
--------|---------------------------------------
Static | gal::sarray gal::sarray_ptr
Dynamic | gal::darray gal::darray_ptr
```
The size of a stat... |
<commit_before>/*! \mainpage ecspp Index page
* \section intro_sec Introduction
* This will be the intro eventually probs
* \section install_sec Installation
* \subsection step1 Step 1: I'm a masochist and use Eclipse CDT
* eff me right?
* \subsection step2 Step 2: It's really not that bad
* says no one on the i... |
<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>// This file is part of Eigen, a lightweight C++ template library
// for linear algebra.
//
// Copyright (C) 2016
// Mehdi Goli Codeplay Software Ltd.
// Ralph Potter Codeplay Software Ltd.
// Luke Iwanski Codeplay Software Ltd.
// Contact: <eigen@codeplay.com>
//
// This Source Code Form is subject... |
<commit_before>#include <cstring>
#include <boost/lexical_cast.hpp>
#include "nsscompiler.hpp"
#include "scriptfile.hpp"
#include "parser.hpp"
#include "buffer.hpp"
using namespace NpaPrivate;
class Program;
extern Program* pRoot;
extern int yyparse();
typedef struct yy_buffer_state* YY_BUFFER_STATE;
extern int yypars... |
<commit_before>AliAnalysisTaskNetLambdaTrad *AddTaskNetLambdaTrad(const char* outputFileName = 0, const char* containerName = "NetLambdaOutput")
{
// Get the pointer to the existing analysis manager via the static access method.
//==============================================================================
... |
<commit_before>/*
* pylon_camera_node.cpp
*
* Created on: Jun 10, 2015
* Author: md
*/
#include <pylon_camera/pylon_camera_node.h>
namespace pylon_camera
{
PylonCameraNode::PylonCameraNode() :
pylon_interface_(NULL),
params_(),
target_brightness_... |
<commit_before>#include "bind.hpp"
#include "ast.hpp"
#include "context.hpp"
#include "eval.hpp"
#include <map>
#include <iostream>
#include <sstream>
#include "to_string.hpp"
namespace Sass {
void bind(std::string callee, Parameters* ps, Arguments* as, Context* ctx, Env* env, Eval* eval)
{
Listize listize(*c... |
<commit_before>///////////////////////////////////////////////////////////////////////////////
//
// File StdMatrixKey.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, ... |
<commit_before>#if defined(LINUX)
#include "user/util.h"
#include "types.h"
#include <fcntl.h>
#include <unistd.h>
#include <assert.h>
#include <sys/stat.h>
#include <sys/wait.h>
#include "xsys.h"
#else
#include "types.h"
#include "stat.h"
#include "user.h"
#include "mtrace.h"
#include "amd64.h"
#include "fcntl.h"
#inc... |
<commit_before>/*
* Copyright (C) 2010 Toni Gundogdu.
*
* 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.
*
* This progra... |
<commit_before>/* Begin CVS Header
$Source: /Volumes/Home/Users/shoops/cvs/copasi_dev/copasi/plot/Attic/CPlotSpec2Vector.cpp,v $
$Revision: 1.5 $
$Name: $
$Author: ssahle $
$Date: 2004/10/08 09:21:43 $
End CVS Header */
#include "copasi.h"
#include "CPlotSpec2Vector.h"
#include "report/CKeyFactory.... |
<commit_before>// Copyright (C) 2017 by Pedro Mendes, Virginia Tech Intellectual
// Properties, Inc., University of Heidelberg, and University of
// of Connecticut School of Medicine.
// All rights reserved.
// Copyright (C) 2010 - 2016 by Pedro Mendes, Virginia Tech Intellectual
// Properties, Inc., University of Hei... |
<commit_before>/*
* Unit tests for the TTValue object
* Copyright © 2011, Timothy Place
*
* License: This code is licensed under the terms of the "New BSD License"
* http://creativecommons.org/licenses/BSD/
*/
#include "TTValueTest.h"
#define thisTTClass TTValueTest
#define thisTTClassName "value.test"
#de... |
<commit_before>#include <Bull/Core/Utility/Random.hpp>
#include <Bull/Core/Time/Time.hpp>
namespace Bull
{
RandomGenerator::RandomGenerator() :
RandomGenerator(Time::now().getSecond())
{
/// Nothing
}
RandomGenerator::RandomGenerator(Uint64 seed) :
m_generator(seed)
{
... |
<commit_before>//===- JITMemoryManagerTest.cpp - Unit tests for the JIT memory manager ---===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------... |
<commit_before>/* Copyright 2010 Anders Wallin (anders.e.e.wallin "at" gmail.com)
*
* This file is part of OpenCAMlib.
*
* OpenCAMlib 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... |
<commit_before>/*
* Copyright 2009-2011 The VOTCA Development Team (http://www.votca.org)
*
* 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... |
<commit_before>#ifndef __STATICHASHTABLE_HPP__
#define __STATICHASHTABLE_HPP__
#include <stdexcept>
#include <functional>
#include "Array.hpp"
template <typename T>
class StaticHashMap
{
public:
struct Pair
{
unsigned int key;
T target;
Pair (unsigned int k, T&& t) : key(k), target(std::... |
<commit_before>#include "ROOT/TThreadExecutor.hxx"
#include "ROOT/TTaskGroup.hxx"
#if !defined(_MSC_VER)
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wshadow"
#endif
#include "tbb/tbb.h"
#if !defined(_MSC_VER)
#pragma GCC diagnostic pop
#endif
////////////////////////////////////////////////////////... |
<commit_before>/* Copyright (C) 2013 Slawomir Cygan <slawomir.cygan@gmail.com>
*
* 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>/*************************************************************************
*
* $RCSfile: sdiocmpt.cxx,v $
*
* $Revision: 1.2 $
*
* last change: $Author: pjunck $ $Date: 2004-11-03 08:53:40 $
*
* The Contents of this file are made available subject to the terms of
* either of the following l... |
<commit_before>#include <iostream>
#include "Spellable.h"
using namespace std;
int main(int argc, char** argv) {
int i = 195;
Spellable<int> si(&i);
Spellable<int> sj(i);
cout << i << endl << si.spell() << endl << endl;
// si is bound to i
i = 190;
cout << i << endl << si.spell() << endl;
cout << sj.... |
<commit_before>/*
* Copyright (C) 2015 Cloudius Systems, Ltd.
*/
/*
* 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
... |
<commit_before>//////////////////////////////////////////////////////////////////////////
//
// Copyright (c) 2007-2015, 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 (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 "ui/views/widget/desktop_native_widget_helper_aura.h"
#include "ui/aura/client/dispatcher_client.h"
#include "ui/aura/client/... |
<commit_before>#ifndef SERVER_HTTP_HPP
#define SERVER_HTTP_HPP
#include <boost/asio.hpp>
#include <regex>
#include <unordered_map>
#include <thread>
namespace SimpleWeb {
struct Request {
std::string method, path, http_version;
std::shared_ptr<std::istream> content;
std::unordered_map<s... |
<commit_before><commit_msg>Checkpoint added<commit_after><|endoftext|> |
<commit_before>/*
Copyright (c) 2010, The Barbarian Group
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 co... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: SlsPageObjectFactory.cxx,v $
*
* $Revision: 1.5 $
*
* last change: $Author: obo $ $Date: 2006-09-16 19:06:29 $
*
* The Contents of this f... |
<commit_before>#include <iostream>
#include <getopt.h>
#include <linux/input.h>
#include <ros/ros.h>
#include <sensor_msgs/Image.h>
#include <cv_bridge/cv_bridge.h>
#include <sensor_msgs/image_encodings.h>
#include <message_filters/subscriber.h>
#include <message_filters/time_synchronizer.h>
#include <cv_bridge/cv_... |
<commit_before>#ifndef _GNU_SOURCE
#define _GNU_SOURCE
#endif
#include <string>
#include <string.h>
#include <assert.h>
#include <mutex>
#include <zmq.h>
#include "json11.hpp"
#include "common/timing.h"
#include "common/util.h"
#include "common/version.h"
#include "swaglog.h"
typedef struct LogState {
std::mute... |
<commit_before>/*
* Copyright 2015 Cloudius Systems
*/
#pragma once
#include "http/httpd.hh"
#include "json/json_elements.hh"
#include "database.hh"
#include "service/storage_proxy.hh"
#include <boost/lexical_cast.hpp>
#include <boost/algorithm/string/split.hpp>
#include <boost/algorithm/string/classification.hpp>
... |
<commit_before>// @(#)root/ged:$Name: $:$Id: TGedEditor.cxx,v 1.16 2005/02/02 17:45:47 brun Exp $
// Author: Marek Biskup, Ilka Antcheva 02/08/2003
/*************************************************************************
* Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *
* All rights reserv... |
<commit_before>#include "VRManager.hpp"
#include "Utility/Log.hpp"
#include "../Component/VRDevice.hpp"
VRManager::VRManager() : scale(1.f) {
// Check if VR runtime is installed.
if (!vr::VR_IsRuntimeInstalled()) {
vrSystem = nullptr;
Log() << "VR runtime not installed. Playing without VR.\n"... |
<commit_before>// Copyright (c) 2009-2019 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <chainparams.h>
#include <core_io.h>
#include <rpc/client.h>
#include <rpc/util.h>
#include <test/fuz... |
<commit_before>/**
* \file
* \brief chip::lowLevelInitialization() implementation for STM32F7
*
* \author Copyright (C) 2017 Kamil Szczygiel http://www.distortec.com http://www.freddiechopin.info
*
* \par License
* This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of ... |
<commit_before>// This file is part of the dune-gdt project:
// https://github.com/dune-community/dune-gdt
// Copyright 2010-2018 dune-gdt developers and contributors. All rights reserved.
// License: Dual licensed as BSD 2-Clause License (http://opensource.org/licenses/BSD-2-Clause)
// or GPL-2.0+ (http://open... |
<commit_before>// This file is part of the dune-gdt project:
// https://github.com/dune-community/dune-gdt
// Copyright 2010-2017 dune-gdt developers and contributors. All rights reserved.
// License: Dual licensed as BSD 2-Clause License (http://opensource.org/licenses/BSD-2-Clause)
// or GPL-2.0+ (http://open... |
<commit_before>/*
* Copyright (C) 2012 by Glenn Hickey (hickey@soe.ucsc.edu)
*
* Released under the MIT license, see LICENSE.txt
*/
#include <deque>
#include <cassert>
#include "halLiftover.h"
using namespace std;
using namespace hal;
Liftover::Liftover() : _outBedStream(NULL),
... |
<commit_before>// This file is part of MLDB. Copyright 2015 Datacratic. All rights reserved.
/* glz_classifier_generator.cc
Jeremy Barnes, 15 March 2006
Copyright (c) 2006 Jeremy Barnes All rights reserved.
Generator for glz_classifiers.
*/
#include "glz_classifier_generator.h"
#include "mldb/ml/jml/regist... |
<commit_before>/*
* This File is part of Davix, The IO library for HTTP based protocols
* Copyright (C) 2013 Adrien Devresse <adrien.devresse@cern.ch>, CERN
*
* 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... |
<commit_before>#ifndef PRESETEDITOR_HPP
#define PRESETEDITOR_HPP
// stdlib
#include <string>
#include <functional>
// Libslic3r
#include "libslic3r.h"
#include "ConfigBase.hpp"
#include "Config.hpp"
// GUI
#include "misc_ui.hpp"
#include "Preset.hpp"
// Wx
#include <wx/treectrl.h>
#include <wx/imaglist.h>
#include ... |
<commit_before>/*
*
* Copyright (c) 2014, Alessandro Sperinde'
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice,... |
<commit_before>//
// GWEN
// Copyright (c) 2013-2014 James Lammlein
// Copyright (c) 2010 Facepunch Studios
//
// This file is part of GWEN.
//
// MIT License
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to de... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: tools.cxx,v $
*
* $Revision: 1.6 $
*
* last change: $Author: obo $ $Date: 2006-09-17 12:51:00 $
*
* The Contents of this file are made av... |
<commit_before>// Copyright (c) 2003 Daniel Wallin and Arvid Norberg
// 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... |
<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 "media/audio/mac/audio_manager_mac.h"
#include "media/audio/mac/audio_output_mac.h"
#include "base/basictypes.h"
#include "ba... |
<commit_before><commit_msg>fix higher debug level build<commit_after><|endoftext|> |
<commit_before>
#include <girepository.h>
#include <glib.h>
#include "boxed.h"
#include "debug.h"
#include "function.h"
#include "gi.h"
#include "gobject.h"
#include "type.h"
#include "util.h"
#include "value.h"
using v8::Array;
using v8::External;
using v8::Function;
using v8::FunctionTemplate;
using v8::Isolate;
us... |
<commit_before>/// \file TClingRdictModuleFileExtension.cxx
///
/// \brief The file contains facilities to work with C++ module files extensions
/// used to store rdict files.
///
/// \author Vassil Vassilev <vvasilev@cern.ch>
///
/// \date May, 2019
///
/*********************************************************... |
<commit_before>/*************************************************************************
*
* Copyright 2016 Realm 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.... |
<commit_before>#include <iostream>
#include <vector>
#include <map>
#include <node.h>
#include "PSATResult.h"
#include "calculator/EstimateFLA.h"
#include "calculator/MotorCurrent.h"
#include "calculator/MotorPowerFactor.h"
#include "calculator/OptimalPrePumpEff.h"
#include "calculator/OptimalSpecificSpeedCorrection.h... |
<commit_before>/*
This file is part of cpp-ethereum.
cpp-ethereum 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.
cpp-ethereum is distribut... |
<commit_before>#pragma once
#include <warpcoil/cpp/generate/generate_name_for_structure.hpp>
#include <warpcoil/types.hpp>
#include <warpcoil/block.hpp>
#include <boost/lexical_cast.hpp>
#include <set>
namespace warpcoil
{
namespace cpp
{
template <class CharSink>
void generate_parser_type(Cha... |
<commit_before>/****************************************************************************
**
** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of the demonstration applications of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** Commercia... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: selectlabeldialog.cxx,v $
*
* $Revision: 1.9 $
*
* last change: $Author: ihi $ $Date: 2008-01-14 15:00:44 $
*
* The Contents of this file... |
<commit_before>/*
** Copyright 1998 by the Condor Design Team
**
** Permission to use, copy, modify, and distribute this software and its
** documentation for any purpose and without fee is hereby granted,
** provided that the above copyright notice appear in all copies and that
** both that copyright notice and this... |
<commit_before>/*
* Example.cpp (Example_PrimitiveRestart)
*
* This file is part of the "LLGL" project (Copyright (c) 2015-2019 by Lukas Hermanns)
* See "LICENSE.txt" for license information.
*/
#include <ExampleBase.h>
#include <vector>
class Example_PrimitiveRestart : public ExampleBase
{
LLGL::ShaderPro... |
<commit_before>/*
* Copyright 2014 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 re... |
<commit_before>// $Id$
// system and C includes
#include <pcap.h>
#include <cstdio>
#include </usr/local/include/getopt.h>
#include <sys/types.h>
#include <unistd.h>
#include <sys/socket.h>
#include <ifaddrs.h>
#include <stdio.h>
#include <net/if_dl.h>
#include <signal.h>
#include <time.h>
// C++ includes
#include <... |
<commit_before>#include "perf_precomp.hpp"
using namespace std;
using namespace cv;
using namespace perf;
using namespace testing;
using std::tr1::make_tuple;
using std::tr1::get;
enum{HALF_SIZE=0, UPSIDE_DOWN, REFLECTION_X, REFLECTION_BOTH};
CV_ENUM(BorderMode, BORDER_CONSTANT, BORDER_REPLICATE)
CV_ENUM(InterType, ... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: frameloaderfactory.cxx,v $
*
* $Revision: 1.4 $
*
* last change: $Author: obo $ $Date: 2006-09-17 07:37:28 $
*
* The Contents of this fil... |
<commit_before>#pragma once
#include <cstdlib>
#include <cstdint>
#include <utility>
namespace darkfeed
{
/// @brief Serializes data using Simple-Binary-Encoding with internal framing
/// @ingroup serialization
class SBESerializer {
public:
/// @brief Serializes argument using appropriate SBE schema. No framing i... |
<commit_before>#include "rust_scheduler.h"
#include "rust_util.h"
rust_scheduler::rust_scheduler(rust_kernel *kernel,
rust_srv *srv,
size_t num_threads,
rust_sched_id id) :
kernel(kernel),
srv(srv),
env(srv->env),
live_threads(num_threads),
live_tasks(0),
num_threa... |
<commit_before><commit_msg>fdo#76324: Make pasting a lot of cell notes faster by disabling broadcasting.<commit_after><|endoftext|> |
<commit_before><commit_msg>We can't deal with "date" field mixed with ordinary strings.<commit_after><|endoftext|> |
<commit_before>/*************************************************************************
*
* $RCSfile: core_pch.hxx,v $
*
* $Revision: 1.8 $
*
* last change: $Author: rt $ $Date: 2001-08-10 10:15:35 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licen... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: imp_op.hxx,v $
*
* $Revision: 1.40 $
*
* last change: $Author: vg $ $Date: 2007-02-27 12:34:36 $
*
* The Contents of this file are made a... |
<commit_before>/*************************************************************************
*
* $RCSfile: xiroot.hxx,v $
*
* $Revision: 1.12 $
*
* last change: $Author: hr $ $Date: 2004-09-08 15:47:41 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licens... |
<commit_before>/*
* Author: Yiming Yang
*
* Copyright (c) 2016, University Of Edinburgh
* 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 m... |
<commit_before>// Copyright (c) 2021 The Orbit 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 "TestUtils.h"
#include <absl/strings/str_cat.h>
#include <capstone/capstone.h>
#include <string>
#include "ObjectUtils/Address... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: xmlHierarchyCollection.cxx,v $
*
* $Revision: 1.5 $
*
* last change: $Author: hr $ $Date: 2006-06-20 02:51:25 $
*
* The Contents of this ... |
<commit_before>#include <algorithm>
#include <string>
#include <sstream>
#include <iostream>
#include "descriptors.h"
#include "parser.h"
#include "ctab.h"
using namespace std;
void read1stOrder(istream& inp, vector<LevelOne> &dest)
{
string s;
Parser parser(inp);
while (!parser.eof())
{
string sym = parser.quo... |
<commit_before>// Jubatus: Online machine learning framework for distributed environment
// Copyright (C) 2011-2013 Preferred Networks and Nippon Telegraph and Telephone Corporation.
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// Lice... |
<commit_before>/**
* Copyright (c) 2015 - The CM Authors <legal@clickmatcher.com>
* All Rights Reserved.
*
* This file is CONFIDENTIAL -- Distribution or duplication of this material or
* the information contained herein is strictly forbidden unless prior written
* permission is obtained.
*/
#include "logjoin/... |
<commit_before>/*********************************************************************************
*
* Inviwo - Interactive Visualization Workshop
*
* Copyright (c) 2013-2015 Inviwo Foundation
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permit... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: manager.cxx,v $
*
* $Revision: 1.9 $
*
* last change: $Author: ihi $ $Date: 2008-01-14 14:50:27 $
*
* The Contents of this file are made ... |
<commit_before>
namespace allpix {
/**
* Get a value from the field assigned to a specific pixel. This means, we cannot wrap around at the pixel edges and
* start using the field of the adjacent pixel, but need to calculate the total distance from the lookup point in local
* coordinates to the field ... |
<commit_before>/*
Copyright (c) 2009 Volker Krause <vkrause@kde.org>
This library is free software; you can redistribute it and/or modify it
under the terms of the GNU Library General Public License as published by
the Free Software Foundation; either version 2 of the License, or (at your
option) a... |
<commit_before>#include <array>
#include <stdexcept>
#include <string>
#include <utility>
#include <vector>
#include <ros/ros.h>
#include <controller_manager/controller_manager.h>
#include <geometry_msgs/Twist.h>
#include <hardware_interface/joint_command_interface.h>
#include <hardware_interface/joint_state_interface... |
<commit_before>// Copyright (c) 2014 Yandex LLC. All rights reserved.
// Author: Vasily Chekalkin <bacek@yandex-team.ru>
#include <phantom/io_benchmark/method_stream/source.H>
#include <phantom/module.H>
#include <pd/base/config.H>
#include <pd/base/config_list.H>
#include <pd/base/string.H>
#include "spdy_transport.... |
<commit_before>#include <algorithm>
#include <istream>
#include <sstream>
#include "parsers/parse_error.hh"
#include "parsers/tina.hh"
#include "pn/arc.hh"
namespace pnmc { namespace parsers {
/*------------------------------------------------------------------------------------------------*/
/*-------------------... |
<commit_before>#include "EventWatcher.hpp"
#include "RemapUtil.hpp"
#include "IOLockWrapper.hpp"
namespace org_pqrs_KeyRemap4MacBook {
EventWatcher::Item EventWatcher::item_[MAXNUM];
IOLock* EventWatcher::lock_;
int EventWatcher::count_;
void
EventWatcher::initialize(void)
{
lock_ = IOLockWrapper::all... |
<commit_before>#include <array>
#include <stdexcept>
#include <string>
#include <utility>
#include <vector>
#include <ros/ros.h>
#include <controller_manager/controller_manager.h>
#include <geometry_msgs/Twist.h>
#include <hardware_interface/joint_command_interface.h>
#include <hardware_interface/joint_state_interface... |
<commit_before>/*************************************************
* PBE Retrieval Source File *
* (C) 1999-2007 Jack Lloyd *
*************************************************/
#include <botan/get_pbe.h>
#include <botan/oids.h>
#include <botan/parsing.h>
#if defined(BOTAN_HAS... |
<commit_before>/*
* User.cpp
*
* Copyright (C) 2019 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 following terms:
*
* Permission is hereby granted, free of ... |
<commit_before>#ifndef Interfaces_hxx
#define Interfaces_hxx
#include "InterfaceTraits.h"
namespace selx
{
template<class InterfaceT>
int InterfaceAcceptor<InterfaceT>::Connect(ComponentBase* providerComponent){
InterfaceT* providerInterface = dynamic_cast<InterfaceT*> (providerComponent);
if (!providerInterface)... |
<commit_before><commit_msg>GSvar: small Somatic DNA report formatting change<commit_after><|endoftext|> |
<commit_before>// Filename: pca.cpp
// Author: Christopher Goes
// Course: CS 404 Machine Learning and Data Mining
// Semester: Spring 2016
// Description: Assignment 5 main program logic
// Github: https://github.com/GhostofGoes/cgoes-cs404
#include <iostream>
#include "mat.h"
#define DEBUG 1
#defi... |
<commit_before>/******************************************************************************
Copyright 2013 Allied Telesis Labs Ltd. 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. Redistribu... |
<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.
*
*... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.