text
stringlengths
54
60.6k
<commit_before>// Copyright © 2017-2019 Dmitriy Khaustov // // 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>#include "writer.hpp" #include <Eigen/Core> #include <Eigen/Dense> #include <iostream> //----------------stepBegin---------------- //! Does one Forward-Euler timestep of the heat equation //! //! @param[out] u at the end, u will contain the values at time t^{n+1} //! @param[in] uPrevous should contain t...
<commit_before>/* * Copyright 2014 Mike Pontillo * * 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 la...
<commit_before>#include <SDL2/SDL.h> #include "cudaray.h" int main( int argc, char * argv[] ) { SDL_Init( SDL_INIT_VIDEO ); static const int width = 200; static const int height = 200; SDL_Window * window; SDL_Renderer * renderer; SDL_CreateWindowAndRenderer( width, height, SDL_WINDOW_SHOWN, ...
<commit_before>#include <chainparams.h> #include "witness.h" void CoinWitnessData::SetNull() { coin = nullptr; pAccumulator = nullptr; pWitness = nullptr; nMintsAdded = 0; nHeightMintAdded = 0; nHeightCheckpoint = 0; nHeightAccStart = 0; nHeightAccEnd = 0; } CoinWitnessData::CoinWitnes...
<commit_before>/* * Copyright (C) 2015 ScyllaDB */ /* * 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 * (at your op...
<commit_before>#include "cpanel.h" #include "settings/csettings.h" #include "settings.h" #include "QtCoreIncludes" #include <assert.h> #include <time.h> #include <limits> const size_t CPanel::noHistory = std::numeric_limits<size_t>::max(); CPanel::CPanel(Panel position) : _currentHistoryLocation(noHis...
<commit_before>/****************************************************************************** * Copyright 2017 The Apollo Authors. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of ...
<commit_before>#include "FlowJunction.h" #include "Factory.h" #include "Conversion.h" #include "Simulation.h" #include "FEProblem.h" #include "GeometricalComponent.h" #include "FluidPropertiesBase.h" #include <sstream> template<> InputParameters validParams<FlowJunction>() { InputParameters params = validParams<Jun...
<commit_before>#define BOOST_TEST_MODULE RandomNumbers #include <boost/test/unit_test.hpp> #include <vexcl/vector.hpp> #include <vexcl/element_index.hpp> #include <vexcl/random.hpp> #include <vexcl/reductor.hpp> #include <boost/math/constants/constants.hpp> #include "context_setup.hpp" BOOST_AUTO_TEST_CASE(random_numb...
<commit_before>/*========================================================================= Program: Insight Segmentation & Registration Toolkit Module: itkSparseFieldLayerTest.cxx Language: C++ Date: $Date$ Version: $Revision$ Copyright (c) 2002 Insight Consortium. All rights reserved. See ...
<commit_before>/*========================================================================= Program: Insight Segmentation & Registration Toolkit Module: itkRelabelLabelMapFilterTest1.cxx Language: C++ Date: $Date$ Version: $Revision$ Copyright (c) Insight Software Consortium. All rights reserv...
<commit_before>// Copyright (c) 2020 by Robert Bosch GmbH. 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 // // ...
<commit_before>#pragma once #include <future> #include <chrono> #include <string> #include <cstdint> #include <mutex> #include <boost/optional.hpp> #include <boost/network.hpp> namespace { // 暫定的に同時接続数制御機構を入れてみる #ifdef WONDERLAND_LOADER_AUTO_LIMITS std::array< std::mutex, WONDERLAND_LOADER_AUTO_LIMITS > mutexes;...
<commit_before>/* * File: utility.hpp * Author: manu343726 * * Created on 30 de mayo de 2014, 16:41 */ #ifndef UTILITY_HPP #define UTILITY_HPP #include "basic_types.hpp" #include "function.hpp" #include <cstdint> /* * The namespace tml::util contains a set sparse metaprogramming utilities. */ namespace t...
<commit_before>// Copyright (c) 2011 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "content/gpu/gpu_info_collector.h" #include <string> #include <vector> #include "base/memory/scoped_ptr.h" #include "base/lo...
<commit_before>// Copyright (c) 2006-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 "base/debug_util.h" #include <signal.h> #include "base/basictypes.h" static void ExitSignalHandler(int sig) { exit(1...
<commit_before>/* * Copyright 2017 Andrei Pangin * Copyright 2017 BellSoft LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * *...
<commit_before>#include "ococo.h" #include "gtest/gtest.h" #include <vector> using namespace ococo; using namespace std; vector<uint32_t> nucls { nt256_nt16[(int)'A'], nt256_nt16[(int)'C'], nt256_nt16[(int)'G'], nt256_nt16[(int)'T'] }; namespace { class BitFunctionsTest : public ::testing::Test...
<commit_before>#include "benchmark.h" char tuebaCorpus[] = "tuebadz6"; class TuebaFixture : public CorpusFixture<true, tuebaCorpus> { public: virtual ~TuebaFixture() {} }; class TuebaFallbackFixture : public CorpusFixture<false, tuebaCorpus> { public: virtual ~TuebaFallbackFixture() {} }; /* node & merged:pos="P...
<commit_before>/* Copyright 2002-2013 CEA LIST This file is part of LIMA. LIMA 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 (at your option) ...
<commit_before>/* Parsing.cpp - HTTP request parsing. Copyright (c) 2015 Ivan Grokhotkov. 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...
<commit_before>#pragma once #ifndef __MESSAGE_BASE_IMPL_HPP__ #define __MESSAGE_BASE_IMPL_HPP__ #include <glog/logging.h> #include "common.hpp" #include "MessageBase.hpp" #ifndef ENABLE_RDMA_AGGREGATOR //#define LEGACY_SEND #endif //#define LEGACY_SEND #include "RDMAAggregator.hpp" namespace Grappa { /// Inte...
<commit_before>// // Created by monty on 23/11/15. // #include "glm/glm.hpp" #include "glm/gtc/matrix_transform.hpp" #include "glm/gtc/type_ptr.hpp" #include "nanovg.h" #ifdef __APPLE__ #if TARGET_IOS #define NANOVG_GLES2_IMPLEMENTATION #import <OpenGLES/ES2/gl.h> #import <OpenGLES/ES2/glext.h> #else #define NANO...
<commit_before>/** * @file */ #pragma once #include "bi/primitive/possibly.hpp" #include <cstdlib> #include <vector> #include <set> #include <list> namespace bi { /** * Partially ordered set. * * @tparam T Value type. * @tparam Compare Comparison functor. */ template<class T, class Compare> class poset { publ...
<commit_before>/*========================================================================= * * Copyright Insight Software Consortium * * 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>//===-- FormatCache.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>#ifndef ITER_REVERSE_HPP_ #define ITER_REVERSE_HPP_ #include "iterbase.hpp" #include <utility> #include <iterator> namespace iter { template <typename Container> class Reverser; template <typename Container> Reverser<Container> reversed(Container&&); template <typename Container...
<commit_before>#include <ros/ros.h> #include <oculus_msgs/HMDInfo.h> #include <oculus_viewer/distort.h> #include <oculus_viewer/viewer.h> namespace oculus_viewer { class ImageDistortViewer { public: ImageDistortViewer(); void init(); void HMDInfoCallback(const ocul...
<commit_before>/* * VHDL code generation for expressions. * * Copyright (C) 2008 Nick Gasson (nick@nickg.me.uk) * * 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...
<commit_before>#include "MPEditor.h" MPEditor::MPEditor(const BMessage &msg, const BMessenger &msgr, BString windowTitle, int ideaID) : BWindow(BRect(100, 100, 900, 700), windowTitle, B_TITLED_WINDOW, B_ASYNCHRONOUS_CONTROLS | B_AUTO_UPDATE_SIZE_LIMITS, B_CURRENT_WORKSPACE), launcherMessage(msg), launcherMessenger(ms...
<commit_before>#include <boost/test/unit_test.hpp> #include "ThreadQueue.hpp" #include <iostream> BOOST_AUTO_TEST_SUITE( ThreadQueue_tests ); BOOST_AUTO_TEST_CASE( test1 ) { #ifndef DEBUG BOOST_MESSAGE( "This test requires -DDEBUG for full checks" ); BOOST_CHECK( false ); #endif Worker * ws[100]; for(i...
<commit_before>/*----------------------------------------------------------------------------*/ /* Copyright (c) FIRST 2015. All Rights Reserved. */ /* Open Source Software - may be modified and shared by FRC teams. The code */ /* must be accompanied by the FIRST BSD license file in the ro...
<commit_before>#include "Odometry.h" #include <cstdint> #include "WProgram.h" #include "Device.h" #include "config.h" namespace tamproxy { Odometer::Odometer(Encoder& lEncoder, Encoder& rEncoder, Gyro& gyro, float alpha) : _encL(lEncoder), _encR(rEncoder), _gyro(gyro), ...
<commit_before>/** * \file * \brief PySensor class implementation. * \author Thomas Moeller * \details * * Copyright (C) the PyInventor contributors. All rights reserved. * This file is part of PyInventor, distributed under the BSD 3-Clause * License. For full terms see the included COPYING file. *...
<commit_before>// AboutBox.cpp // Copyright (c) 2009, Dan Heeks // This program is released under the BSD license. See the file COPYING for details. #include "stdafx.h" #include "AboutBox.h" #include "HeeksFrame.h" BEGIN_EVENT_TABLE( CAboutBox, wxDialog ) EVT_BUTTON( wxID_OK, CAboutBox::OnButtonOK ) END_EVE...
<commit_before>#ifndef _BTN_CONTROLLER_HPP_ #define _BTN_CONTROLLER_HPP_ /*****************************************************************************/ enum class FigureID; #include <windows.h> #include <string> #include <vector> #include <array> /*******************************************************************...
<commit_before>#include <string.h> #include <iostream> #include <fstream> #include <vector> #include <stdio.h> #include <sstream> #include <arpa/inet.h> #include <unistd.h> #include <sys/epoll.h> #include <errno.h> #include <openssl/ec.h> #include <openssl/bn.h> #include <openssl/objects.h> #include "rapidjson/docume...
<commit_before><commit_msg>App: allow link properties for all App::Link<commit_after><|endoftext|>
<commit_before>// Copyright *********************************************************** // // File ecmdClientCapi.C // // IBM Confidential ...
<commit_before>#ifndef ecmdClientCapi_H #define ecmdClientCapi_H /* $Header$ */ /** * @file ecmdClientCapi.H * @brief eCMD C/C++ Client Interface */ //-------------------------------------------------------------------- // Includes //-------------------------------------------------------------------- #include <ec...
<commit_before>// RootTheme.cc // Copyright (c) 2003 - 2005 Henrik Kinnunen (fluxgen at fluxbox dot org) // // 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 ...
<commit_before><commit_msg>Added missing AddInvalid parameterised tests for time array and object link array types<commit_after><|endoftext|>
<commit_before>/* * nextpnr -- Next Generation Place and Route * * 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 granted, provided that the above * copyright notice and this permiss...
<commit_before>/* * HashUil.cpp * * Created on: 30 Aug 2013 * Author: nicholas */ #include <boost/program_options.hpp> #include <cstdio> namespace po = boost::program_options; using namespace std; int main(int argc, char* argv[]) { po::options_description desc = po::options_description("Allowed options")...
<commit_before>/* Clique: a scalable implementation of the multifrontal algorithm Copyright (C) 2011 Jack Poulson, Lexing Ying, and The University of Texas at Austin This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published ...
<commit_before> /* * Copyright 2011 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "Test.h" #include "SkRandom.h" #include "SkTSort.h" extern "C" { static int compare_int(const void* a, const void* b) { return *(const int...
<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 <vector> #include <map> #include <set> #include <cassert> #include <utility> class LRUCache { private: // an entity keeps track of key,value and timestamp struct Entity { int key, value; unsigned int timestamp; Entity(int k, int v, int ts) : key(...
<commit_before>/* * Author Joshua Flank * September 2017 * Basic functionality to solve a 5x5 cube, filled wtih Z's * * This should solve the puzzle, in around 778 billion Z placements. * If done 1 second per piece, it would take around 25 years */ #include <stdio.h> #include <stdlib.h> #include <string.h> #in...
<commit_before>// Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. #include "winshellintegration/application.h" #include "winshellintegration/winapi.h" // SetCurrentProcessExplicitAppUserModelID, ...
<commit_before>#include <iostream> #include <unistd.h> #include <sstream> #include "StreamMan.h" #include "zmq.h" using namespace std; StreamMan::StreamMan() :DataMan() { } StreamMan::~StreamMan(){ if(zmq_meta) zmq_close(zmq_meta); if(zmq_context) zmq_ctx_destroy(zmq_context); zmq_meta_rep_thread_act...
<commit_before>#include "schedule.h" #include "ui_schedule.h" schedule::schedule(QWidget *parent, int day) : QDialog(parent), ui(new Ui::schedule) { ui->setupUi(this); _day = day; switch(day) { case 1: ui->day_name->setText("Понедельник"); break; case 2: ui->day_...
<commit_before>template <int i, typename dummy, typename...> struct __data { }; struct dummy { }; <commit_msg>Add the built-in types into C++ runtime.<commit_after>template <int i, typename dummy, typename...> struct __data { }; struct dummy { }; template <int i> struct Int { static const int value = i; }; temp...
<commit_before>/** * @file Database.cpp * @ingroup SQLiteCpp * @brief Management of a SQLite Database Connection. * * Copyright (c) 2012-2013 Sebastien Rombauts (sebastien.rombauts@gmail.com) * * Distributed under the MIT License (MIT) (See accompanying file LICENSE.txt * or copy at http://opensource.org/l...
<commit_before>#include "tests/ffi/lib.rs" #include "tests/ffi/tests.h" namespace tests { C::C(size_t n) : n(n) {} size_t c_return_primitive() { return 2020; } Shared c_return_shared() { return Shared{2020}; } std::unique_ptr<C> c_return_unique_ptr() { return std::unique_ptr<C>(new C{2020}); } const size_t ...
<commit_before>#ifndef __ENVIRE_MAPS_LOCAL_MAP_HPP__ #define __ENVIRE_MAPS_LOCAL_MAP_HPP__ #include <base/Eigen.hpp> #include <boost/shared_ptr.hpp> #include <string> namespace envire { namespace maps { /**@brief LocalMapType * The type of the LocalMap */ enum LocalMapType { UNKNOWN_M...
<commit_before>#include "DicomData.hh" #include <algorithm> #include <globals.hh> #include "DicomSlice.hh" using namespace g4dicom; using namespace std; DicomData::DicomData() : _validity(0), _sorted(true), _slices(0), _dimensions(0) { } DicomData::~DicomData() { for (auto it = _slices.begin(); it != _sli...
<commit_before>// Copyright (c) 2017 Andrey Valyaev <dron.valyaev@gmail.com> // // This software may be modified and distributed under the terms // of the MIT license. See the LICENSE file for details. #include <TstTimed.h> #include <ResTimed.h> using namespace std; using namespace oout; TstTimed::TstTimed(const sh...
<commit_before>#include "VDShader.h" using namespace VideoDromm; VDShader::VDShader(VDSettingsRef aVDSettings, VDAnimationRef aVDAnimation, string aFragmentShaderFilePath, string aFragmentShaderString) { mFragmentShaderFilePath = aFragmentShaderFilePath; mFragmentShaderString = aFragmentShaderString; mValid = fals...
<commit_before>/// /// @file PhiCache.cpp /// @brief The PhiCache class calculates phi(x, a) using the recursive /// formula: phi(x, a) = phi(x, a - 1) - phi(x / primes[a], a - 1). /// I have added a cache to my implementation in which results /// of phi(x, a) are stored if x < 2^16 and a <= 500. ...
<commit_before> #include <algorithm> #include <iostream> #include <cassert> #include <sstream> #include <boost/format.hpp> #include <boost/algorithm/string.hpp> #include <glog/logging.h> #include "../include/tools.hpp" #include "../include/aleAgent.hpp" namespace deepRL { void DeepQLearner::LoadPretrainedModel(cons...
<commit_before>#include "tests-base.hpp" extern "C" { #include "../internal/database.h" #include "../internal/composition.h" } #include "helpers-strings.hpp" TEST(StreamReorder, Unchanged) { const char* i = "Bike"; size_t il = strlen(i); StreamState stream; EXPECT_EQ(1, stream_initialize(&strea...
<commit_before>#include "RGBColor.h" RGBColor::RGBColor() : r(.0f), g(.0f), b(.0f) { } RGBColor::RGBColor(const float rgb) : r(rgb), g(rgb), b (rgb) { } RGBColor::RGBColor(const float red, const float green, const float blue) : r(red), g(green), b(blue) { } RGBColor::~RGBColor() { r = .0f; g = .0f; b...
<commit_before>#include "Renderer.hpp" static GLfloat vertices[] = { 1, 1,0, 1,-1,0, -1,1,0, 1,-1,0, -1,-1,0, -1,1,0 }; static GLfloat uvs[] = { 1,0, 1,1, 0,0, 1,1, 0,1, 0,0 }; const char * Renderer::defaultVertexShader = "#version 330 core\n" "\n" "in vec3 position;\n" ...
<commit_before>/******************************************************************************/ // Mutex adaptors by Foster Brereton. // // Distributed under the MIT License. (See accompanying LICENSE.md or copy at // https://opensource.org/licenses/MIT) /****************************************************************...
<commit_before>/****************************************************************************** * SOFA, Simulation Open-Framework Architecture, version 1.0 RC 1 * * (c) 2006-2011 INRIA, USTL, UJF, CNRS, MGH * * ...
<commit_before>#include "dataflash_logger.h" #include <signal.h> #include <stdio.h> // for snprintf #include <fcntl.h> #include <errno.h> #include <stdlib.h> #include <unistd.h> #include "la-log.h" #include "util.h" #include "mavlink_c_library/common/mavlink.h" void DataFlash_Logger::sighup_received() { logging_...
<commit_before><commit_msg>Enabled the XYZFile in MolFileFactory<commit_after><|endoftext|>
<commit_before><commit_msg>Guard GetEscapedHostname against a nullptr hostname. This can happen if you debug an iOS corefile on a mac, where PlatformPOSIX::GetHostname ends up not providing a hostname because we're working with a platform of remote-ios.<commit_after><|endoftext|>
<commit_before>#ifndef VIEW_HPP #define VIEW_HPP #include <plugin.hpp> #include <vector> #include <map> #include <functional> #include <pixman.h> extern "C" { #include <wlr/types/wlr_box.h> #include <wlr/types/wlr_surface.h> } class wayfire_output; struct wf_point { int x, y; }; using wf_geometry = wlr_box; bool...
<commit_before><commit_msg>made some adaptation to the connectto method to handle internal "files" better and leave the urls to internal objects in a consistent state<commit_after><|endoftext|>
<commit_before>/** * Copyright 2017 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable l...
<commit_before><commit_msg>Fix argc condition<commit_after><|endoftext|>
<commit_before>/* The MIT License (MIT) Copyright (c) 2018 Konstantinos Krestenitis 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 righ...
<commit_before>// // SqImport: Supports importing of squirrel modules // // // Copyright (c) 2009 Brandon Jones // Copyright (c) 2013 Paul Sokolovsky // // This software is provided 'as-is', without any express or implied // warranty. In no event will the authors be held liable for any damages // arising from the use ...
<commit_before>/**************************************************************************** ** ** Copyright (C) 1992-2009 Nokia. All rights reserved. ** ** This file is part of Qt Jambi. ** ** ** $BEGIN_LICENSE$ ** Commercial Usage ** Licensees holding valid Qt Commercial licenses may use this file in ** accordance wi...
<commit_before>/* * Copyright (C) 2004-2010 See the AUTHORS file for details. * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 as published * by the Free Software Foundation. */ #include "Chan.h" #include "HTTPSock.h" #incl...
<commit_before>#include <assert.h> #include <iomanip> #include <iostream> #include "Actor.h" #include "Dir.h" #include "dLog.h" #include "Node.h" #include "Player.h" #include "utils.h" int Maps::Node::nodeCount = 1; namespace Maps { Node::Node(): inventory(Inventory{ "Location Inventory", 8 }) , nodeLinks{nullptr...
<commit_before>// The libMesh Finite Element Library. // Copyright (C) 2002-2012 Benjamin S. Kirk, John W. Peterson, Roy H. Stogner // 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; eit...
<commit_before>/* * Copyright 2007-2017 Content Management AG * All rights reserved. * * author: Max Kellermann <mk@cm4all.com> * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * - Redistributions of source...
<commit_before>/* * Copyright (C) 2019 The Android Open Source Project * * 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>#include "../include/Pendulum.hh" #include <stdlib.h> #include <stdio.h> #include <time.h> #include <cmath> Pendulum::Pendulum(float displayx, float displayy) { mscreenwidth = displayx; mscreenheight = displayy; width = 3.0; height = 150.0; sf::Vector2f pendulumSize(width,height); sf::Color ...
<commit_before>/***************************************************************************** bedtools.cpp bedtools command line interface. Thanks to Heng Li, as this interface is inspired and based upon his samtools interface. (c) 2009-2011 - Aaron Quinlan Quinlan Laboratory Department of Public Hea...
<commit_before>#include "opencv2/imgproc/imgproc.hpp" #include "EventState.h" #include "circularArray.h" #include <iostream> class EventHandler{ private: EventState pastSecondState; EventState state; CircularArray frames; public: void analyze(); private: void handl...
<commit_before> #include "Property.h" #include "base_types.h" #include "logging.h" #include "utils.h" #include "Error.h" #include <cstring> #include <algorithm> using namespace tcam; Property::Property () : value_type(UNDEFINED), prop(), ref_prop() {} Property::Property (const camera_property& property, VAL...
<commit_before>#if 1 // set to 0 to build minimal lunex example #include "engine/allocators.h" #include "engine/command_line_parser.h" #include "engine/crc32.h" #include "engine/debug.h" #include "engine/engine.h" #include "engine/file_system.h" #include "engine/geometry.h" #include "engine/input_system.h" #include "e...
<commit_before>/// /// @file main.cpp /// @brief primesum console application. /// /// Copyright (C) 2016 Kim Walisch, <kim.walisch@gmail.com> /// /// This file is distributed under the BSD License. See the COPYING /// file in the top level directory. /// #include "cmdoptions.hpp" #include <primesum-internal.hpp> ...
<commit_before>#include <ros/ros.h> #include <humanoid_catching/CalculateTorques.h> #include <Moby/qpOASES.h> #include <Ravelin/VectorNd.h> #include <Ravelin/MatrixNd.h> #include <Ravelin/Quatd.h> #include <Ravelin/Opsd.h> #include <Moby/qpOASES.h> #include <Ravelin/LinAlgd.h> namespace { using namespace std; using na...
<commit_before>#include "dlib/bam_util.h" namespace BMF { namespace { struct mark_settings_t { // I might add more options later, hence the use of the bitfield. uint32_t remove_qcfail:1; uint32_t min_insert_length:8; double min_frac_unambiguous; ...
<commit_before>/* * Copyright (c) 2010, Joshua Lackey * 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 * n...
<commit_before>/***************************************************************************** * * This file is part of Mapnik (c++ mapping toolkit) * * Copyright (C) 2021 Artem Pavlenko * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public ...
<commit_before>// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2013 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 "clientversion.h" #include "rpcserver.h" #include "init.h...
<commit_before>/**************************************************************************** * Copyright (C) 2020 Savoir-faire Linux Inc. * * Author: Sébastien Blin <sebastien.blin@savoirfairelinux.com> * * ...
<commit_before>/* * FatFind * A Diamond application for adipocyte image exploration * Version 1 * * Copyright (c) 2006 Carnegie Mellon University * All Rights Reserved. * * This software is distributed under the terms of the Eclipse Public * License, Version 1.0 which can be found in the file named LICE...
<commit_before>/* * Copyright (c) 2010, Yuuki Takano (ytakanoster@gmail.com). * 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 cop...
<commit_before>/*=========================================================================== --- DENIS Project --- ----------------- Distributed computing Electrophysiologycal Models Networking colaboration In Silico research ...
<commit_before>#include <thread> #include <mutex> #include "band.h" #include "debug.hpp" namespace sirius { /** \param [in] phi Input wave-functions [storage: CPU]. * \param [out] hphi Result of application of operator to the wave-functions [storage: CPU]. */ void Band::apply_h_local_serial(K_point* kp__, ...
<commit_before>#pragma once #include <vector> #include <boost/variant.hpp> #include "Tag.hpp" #include "Value.hpp" namespace But { namespace Log { namespace Backend { class FieldInfo final { public: template<typename T> explicit FieldInfo(T&& value): type_{ Tag::of(value) }, variant_{ Value{ std::forward<...
<commit_before>// MS WARNINGS MACRO #define _SCL_SECURE_NO_WARNINGS // Macro: Program Settings #define ENABLE_NETWORK_IO 0 #include <iostream> #include <deque> #include <boost/noncopyable.hpp> #include "data_type.hpp" #include "pixel_sorter.hpp" #include "ppm_reader.hpp" #include "splitter.hpp" #include "algorithm.h...