text stringlengths 54 60.6k |
|---|
<commit_before>#include "stdafx.h"
#include "CommandHack.h"
CommandHack::CommandHack()
{
}
CommandHack::~CommandHack()
{
}
bool CommandHack::ShouldRunThisCommand(ParsedCommand* Parsed)
{
return (Parsed->Words->at(0) == "hack");
}
void CommandHack::Run(ParsedCommand* Parsed)
{
if (Parsed->Words->size() > 1)
{
... |
<commit_before>// -*- Mode: C++; tab-width: 2; -*-
// vi: set ts=2:
//
// $Id: ResidueRotamerSet_test.C,v 1.1.2.2 2007/04/03 13:29:29 bertsch Exp $
//
#include <BALL/CONCEPT/classTest.h>
///////////////////////////
#include <BALL/STRUCTURE/residueRotamerSet.h>
#include <BALL/STRUCTURE/fragmentDB.h>
////////////////... |
<commit_before>#include "NetworkListenerSystem.h"
NetworkListenerSystem::NetworkListenerSystem( TcpServer* p_server )
: EntitySystem( SystemType::NetworkListenerSystem, 1, ComponentType::NetworkSynced)
{
m_server = p_server;
}
NetworkListenerSystem::~NetworkListenerSystem()
{
m_server->stopListening();
... |
<commit_before>/*
* Copyright (C) 2009, Gostai S.A.S.
*
* This software is provided "as is" without warranty of any kind,
* either expressed or implied, including but not limited to the
* implied warranties of fitness for a particular purpose.
*
* See the LICENSE file for more information.
*/
/// \file urbi/uma... |
<commit_before>#include "AIHandler.h"
#define SUCCESS 1
#define FAIL 0
AIHandler::AIHandler(){}
AIHandler::~AIHandler(){}
int AIHandler::Shutdown()
{
for (int i = 0; i < this->m_nrOfAIComponents; i++)
{
delete this->m_AIComponents.at(i);
}
return SUCCESS;
}
int AIHandler::Initialize(int nrOfAIComponents)
{
th... |
<commit_before>/**************************************************************************
* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
* *
* Author: The ALICE Off-line Project. *
... |
<commit_before>#include <testlib/testlib_test.h>
// And explicitly does *not* #include <cmath>,
// since the standard std::pow() functions are wittingly not used.
// A recursive implementation for a^b with a and b both integer;
// this is a more accurate alternative for std::pow(double a,double b),
// certainly in tho... |
<commit_before>#include <Systems/FreeFlyCamera.hh>
#include <Components/CameraComponent.hpp>
#include <Core/Inputs/Input.hh>
#include <Context/IRenderContext.hh>
#include <Threads/ThreadManager.hpp>
#include <Threads/Tasks/ToRenderTasks.hpp>
#include <Components/FreeFlyComponent.hh>
namespace AGE
{
FreeFlyCamera::Fre... |
<commit_before>//@author A0097630B
#include "stdafx.h"
#include "parse_tree/show_query.h"
using Assert = Microsoft::VisualStudio::CppUnitTestFramework::Assert;
namespace You {
namespace NLP {
namespace UnitTests {
TEST_CLASS(ShowQueryTests) {
TEST_METHOD(convertsToStream) {
std::wostringstream stream;
stream <<... |
<commit_before>#ifndef ITER_FILTER_FALSE_HPP_
#define ITER_FILTER_FALSE_HPP_
#include "iterbase.hpp"
#include "filter.hpp"
#include <utility>
namespace iter {
namespace detail {
// Callable object that reverses the boolean result of another
// callable, taking the object in a Container's iterat... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: breakiterator_unicode.hxx,v $
*
* $Revision: 1.10 $
*
* last change: $Author: rt $ $Date: 2005-10-17 15:42:00 $
*
* The Contents of this ... |
<commit_before>/*
test_main.cpp
For graphicc, primarily testing drawing rectangles.
For animwin32, testing sizing a window, and drawing into
it over time.
The step() function basically draws a set of bars which are
proportional to the modulus of their time interval. So, a bar
that is supposed to take one s... |
<commit_before>#include <iostream>
#include <string>
#include <list>
#include <cppunit/TestCase.h>
#include <cppunit/TestFixture.h>
#include <cppunit/ui/text/TextTestRunner.h>
#include <cppunit/extensions/HelperMacros.h>
#include <cppunit/extensions/TestFactoryRegistry.h>
#include <cppunit/TestResult.h>
#include <cppun... |
<commit_before>//
// Aspia Project
// Copyright (C) 2020 Dmitry Chapyshev <dmitry@aspia.ru>
//
// 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 ... |
<commit_before>
#include "ksp_plugin/interface.hpp"
#include "base/array.hpp"
#include "base/status.hpp"
#include "base/status_or.hpp"
#include "journal/method.hpp"
#include "journal/profiles.hpp"
#include "physics/apsides.hpp"
namespace principia {
namespace interface {
using base::Error;
using base::Status;
using ... |
<commit_before>/*
Copyright: © 2018 SIL International.
Description: Internal keyboard class and adaptor class for the API.
Create Date: 2 Oct 2018
Authors: Tim Eves (TSE)
History: 2 Oct 2018 - TSE - Refactored out of km_kbp_keyboard_api.cpp
*/
#pragma once
#include <string>
#include <keyman/k... |
<commit_before>// Copyright (c) 2011, Christian Rorvik
// Distributed under the Simplified BSD License (See accompanying file LICENSE.txt)
#ifndef CRUNCH_CONCURRENCY_PROMISE_HPP
#define CRUNCH_CONCURRENCY_PROMISE_HPP
#include "crunch/base/intrusive_ptr.hpp"
#include "crunch/concurrency/future.hpp"
#include <exceptio... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: salvtables.cxx,v $
*
* $Revision: 1.9 $
*
* last change: $Author: kz $ $Date: 2007-10-09 15:19:13 $
*
* The Contents of this file are mad... |
<commit_before><commit_msg>Related: fdo#66817 pressing space on a DisclosureButton should toggle it<commit_after><|endoftext|> |
<commit_before><commit_msg>implement GtkAdjustment import + apply<commit_after><|endoftext|> |
<commit_before><commit_msg>strip customproperty from name of Mnemonic Widget target<commit_after><|endoftext|> |
<commit_before><commit_msg>Add flags for syst. studies. from track variations<commit_after><|endoftext|> |
<commit_before>/*
* Copyright 2012 Troels Blum <troels@blum.dk>
*
* This file is part of cphVB <http://code.google.com/p/cphvb/>.
*
* cphVB 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>/*===================================================================
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>// Copyright 2012 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/v8.h"
#include "src/version.h"
// These macros define the version number for the current version.
// NOTE these macros ar... |
<commit_before>// Copyright 2012 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/v8.h"
#include "src/version.h"
// These macros define the version number for the current version.
// NOTE these macros ar... |
<commit_before>#include <gtest/gtest.h>
#include <formatString.h>
TEST(TextTest, IndentationTest) {
ASSERT_TRUE(true);
}
<commit_msg>增加formatText 的测试<commit_after>#include <gtest/gtest.h>
#include <string>
#include <formatString.h>
void pushString(text::FormatString &formatString, const std::string &str) {
fo... |
<commit_before>//@author A0097630B
#include "stdafx.h"
#include "exception.h"
#include "controller_context.h"
#include "mocks/task_list.h"
using Assert = Microsoft::VisualStudio::CppUnitTestFramework::Assert;
namespace You {
namespace Controller {
namespace UnitTests {
using You::Controller::ContextRequiredException... |
<commit_before>/*************************************************************************
*
* Copyright (c) 2014-2015 Kohei Yoshida
*
* 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 wit... |
<commit_before>/**********
* The MIT License (MIT)
*
* Copyright (c) 2014 Samuel Bear Powell
*
* 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>/**
* @file neons.cpp
*
* @date Nov 20, 2012
* @author partio
*/
#include "neons.h"
#include "logger_factory.h"
#include "plugin_factory.h"
#include <thread>
#include <sstream>
#include "util.h"
#include "unistd.h" // getuid())
#include "regular_grid.h"
using namespace std;
using namespace himan::... |
<commit_before>/**
* @file radon.cpp
*
* @date Oct 28, 2012
* @author tack
*/
#include "radon.h"
#include "logger_factory.h"
#include "plugin_factory.h"
#include <thread>
#include <sstream>
#include "util.h"
#include "unistd.h" // getuid())
#include "regular_grid.h"
using namespace std;
using namespace himan::pl... |
<commit_before>#include <v8.h>
#include <node.h>
#include <stdlib.h>
#include <unistd.h>
#include <sys/wait.h>
#include <errno.h>
using namespace v8;
using namespace node;
static Handle<Value> Waitpid(const Arguments& args) {
HandleScope scope;
int r, child, status;
if (args[0]->IsInt32()) {
child = args[0... |
<commit_before>/* BEGIN_COMMON_COPYRIGHT_HEADER
* (c)LGPL2+
*
* Razor - a lightweight, Qt based, desktop toolset
* http://razor-qt.org
*
* Copyright: 2010-2011 Razor team
* Authors:
* Petr Vanek <petr@scribus.info>
*
* This program or library is free software; you can redistribute it
* and/or modify it und... |
<commit_before>#ifndef TYPE_HXX_PHQ9E7V1
#define TYPE_HXX_PHQ9E7V1
#include "ptr.hxx"
#include "id.hxx"
#include "ppr.hxx"
namespace miniml
{
enum class TypeType
{
ID,
INT,
ARROW,
};
class Type: public Pretty
{
public:
virtual ~Type() {}
virtual TypeType type() const = 0;
virtual bool operator==(const... |
<commit_before>#ifndef ITER_PERMUTATIONS_HPP_
#define ITER_PERMUTATIONS_HPP_
#include "iterbase.hpp"
#include "iteratoriterator.hpp"
#include <algorithm>
#include <initializer_list>
#include <vector>
#include <utility>
#include <iterator>
namespace iter {
template <typename Container>
class Permuter {
privat... |
<commit_before>#ifndef QRW_SID_HPP
#define QRW_SID_HPP
#include <functional>
namespace qrw
{
class SID
{
public:
SID(const std::string& identifier)
: m_stringId(identifier),
m_hashId(std::hash<std::string>{}(identifier))
{
}
SID(const SID& rhs) = delete;
bool operator==(const ... |
<commit_before>// This file is part of the dune-gdt project:
// http://users.dune-project.org/projects/dune-gdt
// Copyright holders: Felix Schindler
// License: BSD 2-Clause License (http://opensource.org/licenses/BSD-2-Clause)
#ifndef DUNE_GDT_OPERATORS_ELLIPTIC_SWIPDG_HH
#define DUNE_GDT_OPERATORS_ELLIPTIC_SWIPDG... |
<commit_before>#include "LRLayersPack.h"
#include "check_params.h"
#include <lr/dataset/Grids.h>
#include <lr/dataset/CharacterFileName.h>
#include <easyshape.h>
namespace edb
{
std::string LRLayersPack::Command() const
{
return "lr-pack";
}
std::string LRLayersPack::Description() const
{
return "create shape ta... |
<commit_before>#include "Event.hpp"
#include "ObjectState.hpp"
#include "SimulationObject.hpp"<commit_msg>Added Simulation include<commit_after>#include "Event.hpp"
#include "ObjectState.hpp"
#include "Simulation.hpp"
#include "SimulationObject.hpp"<|endoftext|> |
<commit_before>#include <atomic>
#include "percpu.hh"
#include "ref.hh"
class filetable : public referenced {
private:
static const int cpushift = 16;
static const int fdmask = (1 << cpushift) - 1;
public:
static sref<filetable> alloc() {
return sref<filetable>::transfer(new filetable());
}
sref<fileta... |
<commit_before>#include <iostream>
#include <string>
#include <thread>
#include <mutex>
#include <chrono>
#include <condition_variable>
using namespace std;
enum class Turn
{
toSay = 0,
toAnswer = 1,
toEnd = 2
};
std::mutex mux;
std::condition_variable dataReady;
bool notified = false;
auto turnType = T... |
<commit_before>// A C++ interface to POSIX functions.
//
// Copyright (c) 2012 - 2016, Victor Zverovich
// All rights reserved.
//
// For the license information refer to format.h.
// Disable bogus MSVC warnings.
#ifndef _CRT_SECURE_NO_WARNINGS
# define _CRT_SECURE_NO_WARNINGS
#endif
#include "posix.h"
#include <lim... |
<commit_before>/**
* pty.js
* Copyright (c) 2013, Christopher Jeffrey, Peter Sunde (MIT License)
*
* pty.cc:
* This file is responsible for starting processes
* with pseudo-terminal file descriptors.
*/
#include <v8.h>
#include <node.h>
#include <node_buffer.h>
#include <string.h>
#include <stdlib.h>
#include <win... |
<commit_before>#include <cmath>
#include <cstring>
#include <string>
#include "catch.hpp"
#include "calculate/binding.h"
TEST_CASE("Bindings", "[bindings]") {
SECTION("Well constructed expression - No error checking") {
Expression expr1 = calculate_c.build("1", "");
Expression expr2 = calculate_... |
<commit_before>#include <copy_on_write.hpp>
namespace value {
hi_printable small_rval ()
{ return hi_printable(); }
const hi_printable small_const_rval ()
{ return hi_printable(); }
hi_printable & small_lval ()
{
static hi_printable retval;
return retval;
}
const hi_... |
<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/cpu.h"
#include <intrin.h>
#include <string>
namespace base {
CPU::CPU()
: type_(0),
family_(0),
model_... |
<commit_before>/*
* IceWM - Colored cursor support
*
* Copyright (C) 2002 The Authors of IceWM
*
* initially by Oleastre
* C++ style implementation by tbf
*/
#include "config.h"
#include "yfull.h"
#include "default.h"
#include "yxapp.h"
#include "wmprog.h"
#ifndef LITE
#include <limits.h>
#include <stdlib.h>
... |
<commit_before>#include <boost/test/unit_test.hpp>
#include <boost/optional.hpp>
#include <silicium/transform_if_initialized.hpp>
#include <silicium/empty.hpp>
#include <silicium/coroutine.hpp>
#include <silicium/for_each.hpp>
namespace bf
{
enum class command
{
ptr_increment,
ptr_decrement,
value_increment,
... |
<commit_before>///////////////////////////////////////////////////////////////////////
//
// Under windows, when multiple versions of maya are installed,
// maya2egg can accidentally use the wrong version of OpenMaya.dll.
// This small wrapper program alters your PATH and MAYA_LOCATION
// environment variables in orde... |
<commit_before>#include <mpi.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <cassert>
#include "phiostats.h"
#include "phIO.h"
#include "phstream.h" //for makeRStream and makeGRStream
#include "syncio.h"
#include "posixio.h"
#include "streamio.h"
int main(int argc, char* argv[]) {
MPI_Init(&a... |
<commit_before>#include <mpi.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <cassert>
#include "phiostats.h"
#include "phIO.h"
#include "phstream.h" //for makeRStream and makeGRStream
#include "syncio.h"
#include "posixio.h"
#include "streamio.h"
int main(int argc, char* argv[]) {
MPI_Init(&a... |
<commit_before>#include "libs/catch/include/catch.hpp"
#include <atomic>
#include <chrono>
#include <cstdlib>
#include <memory>
#include <random>
#include <thread>
#include <iostream>
#include "src/client.h"
#include "src/config.h"
#include "src/file.h"
void aux_read_test_worker(std::shared_ptr<giga::File> file, st... |
<commit_before>#include "wave2data.h"
void showHelp() {
std::cout << "\t-h \t" << "show help" << std::endl;
std::cout << "\t-v \t" << "show version" << std::endl;
std::cout << "\t-f <filename>\t" << "set input filename" << std::endl;
std::cout << "\t-o <filename>\t" << "set output f... |
<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 <ncurses.h>
#include "catch.hpp"
#include "../src/join.hh"
using namespace vick;
using n... |
<commit_before>#include "acmacs-base/pybind11.hh"
// chart
#include "acmacs-chart-2/factory-import.hh"
#include "acmacs-chart-2/factory-export.hh"
#include "acmacs-chart-2/chart-modify.hh"
// ======================================================================
inline void chart_relax(acmacs::chart::ChartModify& ch... |
<commit_before>// -*- Mode:C++ -*-
/**************************************************************************************************/
/* */
/* Copyright (C) 2014-2015 University of Hull ... |
<commit_before>/*
* This file is part of SKATRAK Playground.
*
* SKATRAK Playground 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, or
* (at your option) an... |
<commit_before>/* -*- coding: utf-8; mode: c++; tab-width: 3; indent-tabs-mode: nil -*-
Copyright 2015
Raffaello D. Di Napoli
This file is part of Abaclade.
Abaclade 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 Foundat... |
<commit_before>/**
@file unistrcompare.hpp
@author Tim Howard
@section LICENSE
Copyright (c) 2010-2012 Tim Howard
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 wi... |
<commit_before>/*
* Copyright 2014-2019, CNRS
* Copyright 2018-2019, INRIA
*/
#ifndef __eigenpy_quaternion_hpp__
#define __eigenpy_quaternion_hpp__
#include "eigenpy/fwd.hpp"
#include <Eigen/Core>
#include <Eigen/Geometry>
#include "eigenpy/exception.hpp"
#include "eigenpy/registration.hpp"
namespace eigenpy
{
... |
<commit_before>// vim:ts=2:sw=2:expandtab:autoindent:filetype=cpp:
/*
Copyright (c) 2008 Aristid Breitkreuz, Ruediger Sonderfeld
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... |
<commit_before>/*
Copyright (c) 2009, Arvid Norberg
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
* Redistributions of source code must retain the above copyright
notice, this list of condi... |
<commit_before>/*
Copyright (c) 2003, Arvid Norberg
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
* Redistributions of source code must retain the above copyright
notice, this list of condi... |
<commit_before>/*
Copyright (c) 2003, Arvid Norberg
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
* Redistributions of source code must retain the above copyright
notice, this list of condi... |
<commit_before>#define START 0
#define ENTRY 0
#include "timings.h"
#include <inttypes.h>
#include <cinttypes>
#define START_NO 1000000000
#include <libcpu.h>
#include "arch/arm/arm_types.h"
#include "arch/m88k/m88k_isa.h"
#define RET_MAGIC 0x4D495354
static void
debug_function(cpu_t *cpu) {
fprintf(stderr, "%s:%... |
<commit_before>#include "quad_factor_animator.h"
#include "p_rect.h"
#include "action.h"
#include "stack_action.h"
#include "algebra.h"
#include <typeinfo> //debug
#include <cassert> //debug
quad_factor_animator::quad_factor_animator(int a_, int b_, int c_) : animator(),
a(a_),
b(b_),
c(c_),
var_name(default_var_... |
<commit_before>#pragma once
namespace despairagus {
namespace bitnode {
template <typename A>
class bitnode {
template<typename B>
using conref = const B &;
using byte = unsigned char;
using bit = bool;
public:
explicit bitnode(void) : zero{nullptr}, one{nullptr}, data{nullptr} {}
private:
... |
<commit_before>#ifndef TOKEN_PARSER_HPP
#define TOKEN_PARSER_HPP
#include <string>
#include <vector>
#include <algorithm>
#include "utils/util.hpp"
#include "utils/error.hpp"
#include "parser/baseParser.hpp"
#include "ast.hpp"
#include "token.hpp"
#include "operator.hpp"
// The compiler was whining about some move a... |
<commit_before>#pragma once
#include <utility>
#include <type_traits>
#include <string>
#include "any.hpp"
#include <type_list.hpp>
#include <function_deduction.hpp>
#include <member_variable_deduction.hpp>
#include <void_t.hpp>
namespace shadow
{
// free function signature
typedef any (*free_function_binding_signa... |
<commit_before>/*
* This file is open source software, licensed to you under the terms
* of the Apache License, Version 2.0 (the "License"). See the NOTICE file
* distributed with this work for additional information regarding copyright
* ownership. You may not use this file except in compliance with the License.... |
<commit_before>
template<
class LockType,
template <class> class CreationPolicy>
Logger& Launcher<LockType, CreationPolicy>::logger_ = LoggerFactory::getLogger( "Framework" );
template<
class LockType,
template <class> class CreationPolicy>
Launcher<LockType, CreationPolicy>::Launcher()
{
logger_.log(... |
<commit_before>/****************************************************************************
**
** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
** All rights reserved.
** Contact: Nokia Corporation (qt-info@nokia.com)
**
** This file is part of the plugins of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE... |
<commit_before>/**
* @file lluilistener.cpp
* @author Nat Goodspeed
* @date 2009-08-18
* @brief Implementation for lluilistener.
*
* $LicenseInfo:firstyear=2009&license=viewerlgpl$
* Second Life Viewer Source Code
* Copyright (C) 2010, Linden Research, Inc.
*
* This library is free software; you can re... |
<commit_before>/*
* Copyright 2016 Luca Zanconato
*
* 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... |
<commit_before>/*
* nextpnr -- Next Generation Place and Route
*
* Copyright (C) 2018 Clifford Wolf <clifford@symbioticeda.com>
* Copyright (C) 2018 David Shah <david@symbioticeda.com>
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby gran... |
<commit_before>/******************************************************************************\
* File: log.cpp
* Purpose: Implementation of wxExLog class
* Author: Anton van Wezenbeek
* RCS-ID: $Id$
*
* Copyright (c) 2009 Anton van Wezenbeek
* All rights are reserved. Reproduction in whole... |
<commit_before>/******************************************************************************\
* File: svn.cpp
* Purpose: Implementation of wxExSVN class
* Author: Anton van Wezenbeek
* RCS-ID: $Id$
*
* Copyright (c) 1998-2009 Anton van Wezenbeek
* All rights are reserved. Reproduction in ... |
<commit_before>#include <iostream>
#include <vector>
#include <zlib.h>
#include "mszreader.hh"
#include "math/dataset.hh"
#include "math/forwardselection.hh"
#include "math/ridgeregression.hh"
using std::vector;
using std::string;
using std::cerr;
using namespace iomsz;
/**
* Main function for MaxSATzilla traini... |
<commit_before>//=======================================================================
// Copyright (c) 2014-2015 Baptiste Wicht
// Distributed under the terms of the MIT License.
// (See accompanying file LICENSE or copy at
// http://opensource.org/licenses/MIT)
//===================================================... |
<commit_before><commit_msg>forgot this file<commit_after><|endoftext|> |
<commit_before>#include <armadillo>
#include "compute/edflib.h"
#include "compute/eeg_spectrogram.hpp"
#include "compute/eeg_change_point.hpp"
#include "json11/json11.hpp"
#include "wslib/server_ws.hpp"
using namespace arma;
using namespace std;
using namespace SimpleWeb;
using namespace json11;
#define NUM_THREADS ... |
<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>//
// Copyright © 2017 Arm Ltd. All rights reserved.
// SPDX-License-Identifier: MIT
//
#pragma once
#include "TensorFwd.hpp"
#include "Exceptions.hpp"
#include "Optional.hpp"
#include "Types.hpp"
#include <array>
#include <initializer_list>
#include <vector>
namespace armnn
{
class TensorShape
{
pu... |
<commit_before>//
// Created by manu343726 on 4/08/15.
//
#ifndef CTTI_HASH_HPP
#define CTTI_HASH_HPP
#include <functional>
#include "detail/hash.hpp"
#include "detail/pretty_function.hpp"
#include "detail/string.hpp"
#ifdef CTTI_DEBUG_ID_FUNCTIONS
#include <iostream>
#include <string>
#ifndef CTTI_CONSTEXPR_ID
#de... |
<commit_before>#pragma once
#include <stdexcept>
#include <string>
#include <vector>
#include <sstream>
#include <utility>
#include <memory>
#include <cstddef>
// Macro for verifying expressions at run-time. Calls assert() with 'expr'.
// Allows turning assertions off, even if -DNDEBUG wasn't given at
// compile-time... |
<commit_before>#ifndef INC_METTLE_SUITE_HPP
#define INC_METTLE_SUITE_HPP
#include <algorithm>
#include <functional>
#include <memory>
#include <string>
#include <utility>
#include <vector>
namespace mettle {
namespace detail {
template<size_t ...>
struct index_sequence {};
template<size_t N, size_t ...S>
st... |
<commit_before>// Copyright © 2014, 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.
//
// Author: Christian Kellner... |
<commit_before>/** @file optimisation.hpp
* @brief Contains numerical methods for optimisation and root-finding
* @author Oliver W. Laslett
* @date 2016
*/
#ifndef OPTIM_H
#define OPTIM_H
#include <functional>
#ifdef USEMKL
#include <mkl_lapacke.h>
#else
#include <lapacke.h>
#endif
/** @file optimisation.cpp
* @b... |
<commit_before>#ifndef PROTON_TUPLE_HEADER
#define PROTON_TUPLE_HEADER
/** @file tuple.hpp
* @brief tuple support.
* Please include this header instead of \<tuple\>.
*/
#include <tuple>
#include <algorithm>
#include <iostream>
#include <initializer_list>
#include <algorithm>
#include <stdexcept>
#include <limit... |
<commit_before>#ifndef TABLE_HPP
#define TABLE_HPP
#include <iostream>
#include <vector>
#include <limits>
#include <memory>
#include <algorithm>
#include <unordered_map>
#include <unordered_set>
#include <array>
#include <stdint.h>
#include "util.hpp"
#include "arpTable.hpp"
using nh_index = uint16_t;
/*! Abstract... |
<commit_before>/*!
@file NinfoReader.hpp
@brief definition of NinfoReader class.
NinfoReader reads a ninfo file and store the data as NinfoData.
@author Toru Niina (niina.toru.68u@gmail.com)
@date 2016-06-10 10:00
@copyright Toru Niina 2016 on MIT License
*/
#ifndef COFFEE_MILL_NINFO_READER
#define CO... |
<commit_before>#pragma once
#include "indexer/cell_id.hpp"
#include "geometry/rect2d.hpp"
#include "base/buffer_vector.hpp"
#include <array>
#include <cstdint>
#include <queue>
#include <utility>
#include <vector>
// TODO: Move neccessary functions to geometry/covering_utils.hpp and delete this file.
constexpr in... |
<commit_before>#include <highgui.h>
#include <ros/ros.h>
#include <ros/console.h>
#include <std_msgs/String.h>
#include <image_transport/image_transport.h>
#include <cv_bridge/cv_bridge.h>
#include <sensor_msgs/image_encodings.h>
#include "human_robot_collaboration_msgs/ArmState.h"
using namespace std;
using namespa... |
<commit_before>#include <highgui.h>
#include <ros/ros.h>
#include <ros/console.h>
#include <std_msgs/String.h>
#include <image_transport/image_transport.h>
#include <cv_bridge/cv_bridge.h>
#include <sensor_msgs/image_encodings.h>
#include "human_robot_collaboration_msgs/ArmState.h"
using namespace std;
using namespa... |
<commit_before>// Copyright (c) 2020 by Apex.AI 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... |
<commit_before>#ifndef OSRM_CONTRACTOR_GRAPH_CONTRACTION_ADAPTORS_HPP_
#define OSRM_CONTRACTOR_GRAPH_CONTRACTION_ADAPTORS_HPP_
#include "contractor/contractor_graph.hpp"
#include "util/log.hpp"
#include "util/percent.hpp"
#include <tbb/parallel_sort.h>
#include <vector>
namespace osrm
{
namespace contractor
{
// ... |
<commit_before>/**
* \file
* \brief SortedContainer class header
*
* \author Copyright (C) 2014-2015 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 the MPL was not
* distr... |
<commit_before>// Copyright (c) 2011 The LevelDB Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. See the AUTHORS file for names of contributors.
//
// Decodes the blocks generated by block_builder.cc.
#include "table/block.h"
#inclu... |
<commit_before>#include "timezonecontainer.h"
#include "timezonelistitem.h"
#include "dcptimezoneconf.h"
#include "dcptimezonedata.h"
#include "dcpspaceritem.h"
#include "dcpicuconversions.h"
#include <unicode/timezone.h>
#include <duilayout.h>
#include <duilinearlayoutpolicy.h>
#include <duigridlayoutpolicy.h>
#inclu... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.