text
stringlengths
54
60.6k
<commit_before>// arithmetic_multiply.cpp: functional tests for multiplication // // Copyright (C) 2017 Stillwater Supercomputing, Inc. // // This file is part of the universal numbers project, which is released under an MIT Open Source license. #include "stdafx.h" // when you define POSIT_VERBOSE_OUTPUT executing an...
<commit_before>#include <smartref/smartref.h> REFLECTABLE(member); namespace tests { using smartref::using_; //! These tests check for existence of the member() member-function. namespace test_existence { template<typename T> constexpr auto has_member(int) -> decltype(std::declval<T>().member(), bool{}) {return tr...
<commit_before>#include <clpeak.h> #include <cstring> #define MSTRINGIFY(...) #__VA_ARGS__ static const char *stringifiedKernels = #include "global_bandwidth_kernels.cl" #include "compute_sp_kernels.cl" #include "compute_hp_kernels.cl" #include "compute_dp_kernels.cl" #include "compute_integer_ker...
<commit_before>/* */ #ifndef COMMON_HPP_INCLUDED #define COMMON_HPP_INCLUDED #include <iostream> #include <vector> #include <map> #include <cassert> #include <sstream> #include <memory> #define FMT(ss) (dynamic_cast< ::std::stringstream&>(::std::stringstream() << ss).str()) // XXX: Evil hack - Define 'mv$' to be ...
<commit_before>/* Resembla: Word-based Japanese similar sentence search library https://github.com/tuem/resembla Copyright 2017 Takashi Uemura 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 h...
<commit_before>/******************************************************************************* * * BSD 2-Clause License * * Copyright (c) 2017, Sandeep Prakash * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the foll...
<commit_before>/* * * Copyright (c) 2020 Project CHIP Authors * Copyright (c) 2013-2017 Nest Labs, 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 L...
<commit_before>/* * Copyright (c) 2012-2015 Daniele Bartolini and individual contributors. * License: https://github.com/taylor001/crown/blob/master/LICENSE */ #include "device.h" #include "array.h" #include "config.h" #include "debug_line.h" #include "input_manager.h" #include "log.h" #include "lua_environment.h" ...
<commit_before>#include <element.h> /* Copyright (c) 2011, Wesley Moore http://www.wezm.net/ 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 co...
<commit_before>#include "engine.h" #include "random.h" #include "Updatable.h" #include "collisionable.h" #include "audio/source.h" #include "io/keybinding.h" #include "soundManager.h" #include "windowManager.h" #include "scriptInterface.h" #include "multiplayer_server.h" #include <thread> #include <SDL.h> #ifdef DEBU...
<commit_before>#include "boost_test.h" #include "ComplexFixedPoint.h" #include <complex> using namespace std; BOOST_AUTO_TEST_CASE( CFxpConstructors ) { /* Values too large for width */ BOOST_CHECK_THROW(CFxp(128, 0, 8), range_error); BOOST_CHECK_THROW(CFxp(0, -129, 8), range_error); /* Width larger than max al...
<commit_before>#include "KVUtil.h" #include <QRegExp> #include <QChar> // // Taken from http://stackoverflow.com/a/7047000 // TODO: Change the QRegExp (which is bad) to a QRegularExpression (good). // QString unescape(QString str) { QRegExp rx("(\\\\u[0-9a-fA-F]{4})"); int pos = 0; while ((pos = rx.indexIn(str, p...
<commit_before>#include "viewer.hpp" #include <SDL_ttf.h> #include <SDL_image.h> #include <glm/gtc/matrix_transform.hpp> #include <glm/gtx/intersect.hpp> #include <glm/gtc/random.hpp> #include <glm/gtx/string_cast.hpp> #include <glm/gtx/rotate_vector.hpp> #include <algorithm> #include <iostream> Viewer::~Viewer() {...
<commit_before>TCanvas *vC1; TGraph *grxy, *grin, *grout; void approx() { /****************************************************************************** * Author: Christian Stratowa, Vienna, Austria. * * Created: 26 Aug 2001 Last modified: 29 Sep 2001 * *****...
<commit_before>/*************************************************************************** * Copyright (C) 2003 by krecipes.sourceforge.net authors * * * * ...
<commit_before>#include "config.h" #include "ylib.h" #include "ylocale.h" #include "yapp.h" #include "yxtray.h" extern void logEvent(const XEvent &xev); char const *ApplicationName = "icewmtray"; YColor *taskBarBg; class SysTray: public YWindow, public YXTrayNotifier { public: SysTray(); bool checkMessageEv...
<commit_before>/* indivudal.cpp - CS 472 Project #2: Genetic Programming * Copyright 2014 Andrew Schwartzmeyer * * Source file for individual namespace */ #include <algorithm> #include <cassert> #include <cmath> #include <iostream> #include <memory> #include <tuple> #include <vector> #include "individual.hpp" #in...
<commit_before>#pragma once #include <tuple> #include <array> #include <algorithm> #include <utility> #include <type_traits> namespace gcl::ctc::algorithms::tuple { #if not defined(__clang__) and defined(__GNUC__) // Works only on GCC // Currently not supported by : // - MSVC/CL : Request non-variable par...
<commit_before>#include <cassert> #include "ZigZagConnectorProcessor.h" using namespace cura; void ZigzagConnectorProcessor::registerVertex(const Point& vertex) { if (this->is_first_connector) { this->first_connector.push_back(vertex); } else { // it's yet unclear whether the line segment...
<commit_before>#include "maxxx.h" MXX_CLASS(Lms100) { int sock; void connect(const char * host, long port) { post("connect %s:%d\n", host, port); } void disconnect() { post("disconnect\n"); } void send(const char * _send_, long argc, t_atom * argv) { printGimme(argc, ...
<commit_before>/* The MIT License (MIT) * * Copyright (c) 2016 Jan Kelling * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights...
<commit_before>// Copyright (c) 2012 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/gl/gl_surface.h" #include "base/debug/trace_event.h" #include "base/logging.h" #include "base/memory/scoped_ptr.h" #inclu...
<commit_before>/*! \file * * \brief Storage of generic data via (key, value) pair (source) * \author Benjamin Pritchard (ben@bennyp.org) */ #include <boost/python.hpp> #include "bpmodule/options/OptionHolder.hpp" #include "bpmodule/options/OptionTypes.hpp" #include "bpmodule/output/Output.hpp" #include "bpmodule...
<commit_before>/*========================================================================= Program: ORFEO Toolbox Language: C++ Date: $Date$ Version: $Revision$ Copyright (c) Centre National d'Etudes Spatiales. All rights reserved. See OTBCopyright.txt for details. This software is distr...
<commit_before>/*************************************************************************** * Copyright © 2005 Jason Kivlighn <jkivlighn@gmail.com> * * * * This program is free software; you can redistribute it and/or modify * ...
<commit_before>/** ****************************************************************************** * Xenia : Xbox 360 Emulator Research Project * ****************************************************************************** * Copyright 2020 Ben Vanik. All rights reserved. ...
<commit_before>//------------------------------------------------------------------------------ // CLING - the C++ LLVM-based InterpreterG :) // version: $Id$ // author: Vassil Vassilev <vasil.georgiev.vasilev@cern.ch> //------------------------------------------------------------------------------ #include "ReturnSy...
<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 file is part of Strigi Desktop Search * * Copyright (C) 2006 Jos van den Oever <jos@vandenoever.info> * * 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; eithe...
<commit_before>/* Copyright 2018 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by appl...
<commit_before>#include <itomp_cio_planner/visualization/new_viz_manager.h> #include <itomp_cio_planner/util/planning_parameters.h> #include <itomp_cio_planner/contact/ground_manager.h> #include <ros/node_handle.h> #include <boost/lexical_cast.hpp> using namespace std; namespace itomp_cio_planner { NewVizManager::Ne...
<commit_before>/*********************************************************************************************************************** ** ** Copyright (c) 2011, 2015 ETH Zurich ** All rights reserved. ** ** Redistribution and use in source and binary forms, with or without modification, are permitted provided that the...
<commit_before>#ifndef STAN_MATH_PRIM_FUN_DIAG_MATRIX_HPP #define STAN_MATH_PRIM_FUN_DIAG_MATRIX_HPP #include <stan/math/prim/meta.hpp> #include <stan/math/prim/fun/Eigen.hpp> namespace stan { namespace math { /** * Return a square diagonal matrix with the specified vector of * coefficients as the diagonal values....
<commit_before>/* IBM_PROLOG_BEGIN_TAG */ /* This is an automatically generated prolog. */ /* */ /* $Source: src/lib/sync.C $ ...
<commit_before>#include "chord.h" /* * * comm.C * * This code deals with the actual communication to nodes. * */ chord_stats stats; // creates an array of edges of a fake network // stores in int* edges // after this function numnodes holds the number // of nodes in the fake network // NOTE: may later want t...
<commit_before>/* * Runtime CPU detection * (C) 2009,2010,2013,2017 Jack Lloyd * * Botan is released under the Simplified BSD License (see license.txt) */ #include <botan/cpuid.h> #include <botan/types.h> #include <botan/exceptn.h> #include <botan/parsing.h> #include <ostream> namespace Botan { uint64_t CPUID::g_pro...
<commit_before>#ifndef POWERUP_HPP_ #define POWERUP_HPP_ #include "GraphMap.hpp" #include "vertex.hpp" #include "Actor.hpp" #include <unordered_set> #include <unordered_map> using namespace std; class Powerup : public Actor { private: unordered_set< Vertex, hash_vertex > v_set; unordered_map< Vertex, int, has...
<commit_before>#ifdef __SSE2__ #include <emmintrin.h> #endif #ifdef __SSE4_1__ #include <smmintrin.h> #endif #include "m_half.h" #include "m_const.h" namespace m { static struct halfData { halfData(); // 1536 bytes uint32_t baseTable[512]; uint8_t shiftTable[512]; } gHalf; halfData::halfData() { ...
<commit_before>/*========================================================================= Program: ORFEO Toolbox Language: C++ Date: $Date$ Version: $Revision$ Copyright (c) Centre National d'Etudes Spatiales. All rights reserved. See OTBCopyright.txt for details. This software is distr...
<commit_before> //============================================================================ // // This file is part of GPSTk, the GPS Toolkit. // // The GPSTk 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 Softwa...
<commit_before>/*========================================================================= Program: Medical Imaging & Interaction Toolkit Language: C++ Date: $Date$ Version: $Revision: 1.12 $ Copyright (c) German Cancer Research Center, Division of Medical and Biological Informatics. All rights reserved. ...
<commit_before>/* Copyright 2016 Nervana Systems 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 law or agre...
<commit_before>#pragma ident "$Id: //depot/msn/prototype/brent/IGEB_Demo/EphSum.cpp#1 $" /** * Given a PRN ID and a date (DOY, Year), read the appropriate FIC data file(s) * and assemble a summary of all ephemerides relevant to the day for the PRN. * */ // System #include <stdio.h> // gpstk #include "FileFilterFr...
<commit_before>#include "NFCUUIDModule.h" #include "NFComm/NFPluginModule/NFIKernelModule.h" #include "NFComm/NFPluginModule/NFIPluginManager.h" namespace UUIDModule { #ifndef _MSC_VER #include <sys/time.h> #include <unistd.h> #define EPOCHFILETIME 11644473600000000ULL #else #include <windows.h> #include...
<commit_before>/* Copyright (c) 2015 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Leonardo de Moura */ #include "kernel/type_checker.h" #include "library/tc_multigraph.h" namespace lean { pair<environment, list<name>> tc_multigraph::add(enviro...
<commit_before>#include "logger.hpp" #include <iostream> #include <iomanip> //for std::put_time #include <ctime> #include "platform.hpp" //Default to flow-logging Log Logger::level = Logger::INFO; //Disabled by default bool Logger::enabled = false; std::ofstream Logger::logfile; void Logger::openLogfile(const std:...
<commit_before> #include "libcef/browser/CefContext.h" #include <process.h> #include "third_party/WebKit/Source/wtf/Functional.h" #include "third_party/WebKit/public/platform/WebTraceLocation.h" #include "include/internal/cef_win.h" #include "libcef/browser/CefBrowserHostImpl.h" #include "libcef/common/MainD...
<commit_before>/* * * Copyright 2014 Telefonica Investigacion y Desarrollo, S.A.U * * This file is part of Orion Context Broker. * * Orion Context Broker 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, ...
<commit_before>//! @file followSymLink.cpp //! @author George FLeming <v-geflem@microsoft.com> //! @brief returns whether a path is a symbolic link #include <errno.h> #include <unistd.h> #include <string> #include <iostream> #include "followsymlink.h" #include "issymlink.h" //! @brief Followsymlink determines target ...
<commit_before>/* messagebox.cpp This file is part of libkleopatra, the KDE keymanagement library Copyright (c) 2004 Klarlvdalens Datakonsult AB Libkleopatra 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 So...
<commit_before>/*---------------------------------------------------------------------\ | | | _ _ _ _ __ _ | | | | | | | \_/ | / \ | | | | ...
<commit_before>/**************************************************************************** ** ** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). ** All rights reserved. ** Contact: Nokia Corporation (qt-info@nokia.com) ** ** This file is part of the QtLocation module of the Qt Toolkit. ** ** $QT_BEG...
<commit_before>#include "material.h" #include "simconf.h" #include "functions.h" #include <cmath> #include <iostream> using namespace MyTRIM_NS; MaterialBase::MaterialBase(SimconfType * simconf, Real rho) : _rho(rho), tag(-1), _dirty(true), _simconf(simconf) { } void MaterialBase::prepare() { Rea...
<commit_before><commit_msg>add test to make sure only one x axis is non-deleted in exported doc<commit_after><|endoftext|>
<commit_before><commit_msg>Paint infobar background as gradient.<commit_after><|endoftext|>
<commit_before><commit_msg>Fixed on official app name used for unittests that I missed before. Review URL: http://codereview.chromium.org/115637<commit_after><|endoftext|>
<commit_before>// Copyright (c) 2010 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 "chrome/test/webdriver/dispatch.h" #include <sstream> #include <string> #include <vector> #include "base/format_macros.h" #i...
<commit_before>/*========================================================================= Program: Insight Segmentation & Registration Toolkit Module: itkBoxSpatialObjectTest.cxx Language: C++ Date: $Date$ Version: $Revision$ Copyright (c) Insight Software Consortium. All rights reserved. ...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: OConnectionPointHelper.cxx,v $ * * $Revision: 1.3 $ * * last change: $Author: rt $ $Date: 2005-09-09 09:17:39 $ * * The Contents of this ...
<commit_before>/* * Copyright (c) 2003 The Regents of The University of Michigan * 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 copyri...
<commit_before>//===- ELFObjHandler.cpp --------------------------------------------------===// // // Part of the LLVM Project, 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 // //===------------...
<commit_before>/* exception_handler.cc Jeremy Barnes, 26 February 2008 Copyright (c) 2009 Jeremy Barnes. All rights reserved. */ #include <cxxabi.h> #include <cstring> #include <fstream> #include "jml/compiler/compiler.h" #include "jml/utils/environment.h" #include "backtrace.h" #include "demangle.h" #includ...
<commit_before>#pragma once #include "loop_awaitable.hpp" BEGIN_ASYNCIO_NAMESPACE; class Sleep : public LoopAWaitable<void> { public: Sleep(EventLoop *loop, uint64_t ms) : LoopAWaitable(loop), _ms(ms) {} void run() override; private: uint64_t _ms; }; using sleep = Sleep; END_ASYNCIO_NAMESPACE;<commit_msg>ma...
<commit_before>#include "tangram.h" #include "platform.h" #include "gl.h" // Input handling // ============== const double double_tap_time = 0.5; // seconds const double scroll_multiplier = 0.05; // scaling for zoom bool was_panning = false; bool rotating = false; bool shoving = false; double last_mouse_up = -double...
<commit_before>/************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite * * This file is part of OpenOffice.o...
<commit_before>/************************************************************************* * * $RCSfile: metric.cxx,v $ * * $Revision: 1.4 $ * * last change: $Author: hdu $ $Date: 2001-07-06 12:33:21 $ * * The Contents of this file are made available subject to the terms of * either of the following licens...
<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 "base/cancellation_flag.h" #include "base/logging.h" namespace base { void CancellationFlag::Set() { #if !defined(NDEBUG) ...
<commit_before><commit_msg>fix mac bustage by adding NL to end of file<commit_after><|endoftext|>
<commit_before>// @(#)root/base:$Name: $:$Id: TQConnection.cxx,v 1.9 2002/12/02 18:50:01 rdm Exp $ // Author: Valeriy Onuchin & Fons Rademakers 15/10/2000 /************************************************************************* * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. * * All righ...
<commit_before>#ifndef PARAMS_HPP #define PARAMS_HPP #include <map> #include <sstream> #include <string> #include <vector> #include <boost/lexical_cast.hpp> #include <boost/foreach.hpp> #include "foreach.hpp" namespace nexus { namespace internal { using std::map; using std::ostringstream; using std::string; using...
<commit_before>// // C++ Implementation: pntmap // // Description: // // // Author: Torsten Rahn <tackat@kde.org>, (C) 2004 // // Copyright: See COPYING file that comes with this distribution // // #include <stdlib.h> #include <fcntl.h> #include <cmath> #include <unistd.h> #include <QtCore/QFile> #include <QtCore/QDa...
<commit_before>#include <iostream> #include <boost/asio.hpp> #include <google/protobuf/descriptor.h> #include <google/protobuf/service.h> #include "vtrc-common/vtrc-pool-pair.h" #include "vtrc-common/vtrc-connection-iface.h" #include "vtrc-common/vtrc-call-context.h" #include "vtrc-common/vtrc-exception.h" #include "...
<commit_before>// // Copyright (c) 2005, 2006, 2007, 2008, 2009, 2010, 2011 CNRS // Authors: Florent Lamiraux // // 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 th...
<commit_before>#include <algorithm> #include <iostream> #include "../../include/boids2D/BoidsManager.hpp" BoidsManager::BoidsManager(MapGenerator& map) : m_map(map), m_updateCoeff(0), m_updatePeriod(10) { m_movableBoids = std::make_shared<Matrix<MovableBoidPtr> >(25, 25); m_rootedBoids = std::make_shared<Matrix<R...
<commit_before><commit_msg>Cleaning up code.<commit_after><|endoftext|>
<commit_before>/** Copyright 2008, 2009, 2010, 2011, 2012 Roland Olbricht * * This file is part of Overpass_API. * * Overpass_API 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 ...
<commit_before>// Copyright 2014 Vinzenz Feenstra // // 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>// Copyright (c) 2015 GitHub Inc. // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modify, me...
<commit_before>#include "SlitherlinkDatabase.h" #include "SlitherlinkDatabaseMethod.hpp" #include "../common/SolverConstant.h" namespace Penciloid { int *SlitherlinkDatabase::database = nullptr; const int SlitherlinkDatabase::DATABASE_DX[] = { -2, -2, -1, -1, -1, 0, 0, 1, 1, 1, 2, 2 }; const int SlitherlinkDat...
<commit_before>/* --------------------------------------------------------------------- * Numenta Platform for Intelligent Computing (NuPIC) * Copyright (C) 2013, Numenta, Inc. Unless you have an agreement * with Numenta, Inc., for a separate license for this software code, the * following terms and conditions app...
<commit_before>/****************************************************************************** * include files *****************************************************************************/ #include <stdio.h> #include <assert.h> #include <string> extern "C" { #include "xed-interface.h" }; #include "code-ranges.h" ...
<commit_before>#include "../../testing/testing.hpp" #include "../storage.hpp" using namespace storage; UNIT_TEST(StorageTest_Smoke) { Storage st; TIndex const i1 = st.FindIndexByFile("USA_Georgia"); TEST(i1.IsValid(), ()); TIndex const i2 = st.FindIndexByFile("Georgia"); TEST(i2.IsValid(), ()); TEST...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: swframeposstrings.cxx,v $ * * $Revision: 1.5 $ * * last change: $Author: obo $ $Date: 2006-09-17 04:41:53 $ * * The Contents of this file...
<commit_before>/*========================================================================= Program: Visualization Toolkit Module: Medical3.cxx Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.htm for details. This s...
<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 "chrome/browser/component_updater/component_updater_service.h" #include <algorithm> #include <string> #include <vector> #inc...
<commit_before>/* * Copyright (c) 2016 dresden elektronik ingenieurtechnik gmbh. * All rights reserved. * * The software in this package is published under the terms of the BSD * style license a copy of which has been included with this distribution in * the LICENSE.txt file. * */ #include <QApplication> #incl...
<commit_before>/** * \file dcs/testbed/detail/application_experiment.hpp * * \brief Represents an experiment for a single application. * * \author Marco Guazzone (marco.guazzone@gmail.com) * * <hr/> * * Copyright (C) 2012 Marco Guazzone (marco.guazzone@gmail.com) * [Distributed ...
<commit_before>#ifndef QTL_REGION_CLASSIFIER_HPP_ #define QTL_REGION_CLASSIFIER_HPP_ #include "qtl_allele.h" #include "clotho/utility/random_generator.hpp" #include "clotho/classifiers/region_classifier.hpp" #include <boost/random/poisson_distribution.hpp> namespace clotho { namespace utility { template < class URN...
<commit_before>/* * This is part of the FL library, a C++ Bayesian filtering library * (https://github.com/filtering-library) * * Copyright (c) 2014 Jan Issac (jan.issac@gmail.com) * Copyright (c) 2014 Manuel Wuthrich (manuel.wuthrich@gmail.com) * * Max-Planck Institute for Intelligent Systems, AMD Lab * Univer...
<commit_before>#include "BarcodeFormat.h" // Reader #include "DecodeHints.h" #include "GenericLuminanceSource.h" #include "HybridBinarizer.h" #include "MultiFormatReader.h" #include "Result.h" // Writer #include "BitMatrix.h" #include "MultiFormatWriter.h" #include "TextUtfEncoding.h" #include <pybind11/pybind11.h> ...
<commit_before>#ifndef TUDOCOMP_DRIVER_ALGORITHM_PARSER #define TUDOCOMP_DRIVER_ALGORITHM_PARSER #include <cstddef> #include <cstdint> #include <fstream> #include <functional> #include <iomanip> #include <iostream> #include <istream> #include <map> #include <sstream> #include <streambuf> #include <string> #include <tu...
<commit_before>// // invite.hpp // ********* // // Copyright (c) 2020 Sharon Fox (sharon at xandium dot io) // // Distributed under the MIT License. (See accompanying file LICENSE) // #pragma once #include "aegis/config.hpp" #include "aegis/snowflake.hpp" #include <nlohmann/json.hpp> namespace aegis ...
<commit_before><commit_msg>Fixed incorrect packet buffer sizes<commit_after><|endoftext|>
<commit_before>/*! \file static_object.hpp \brief Internal polymorphism static object support \ingroup Internal */ /* Copyright (c) 2014, Randolph Voorhies, Shane Grant All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the f...
<commit_before>#ifndef COMBINATION_KERNEL_CONTAINER_HPP_ #define COMBINATION_KERNEL_CONTAINER_HPP_ #include "linalg.hpp" #include <algorithm> #include <vector> /** * @brief A combination container for incremental kernel updates * */ template <typename NT> struct Combination_kernel_container { /** * The gen...
<commit_before>// This file is part of libigl, a simple c++ geometry processing library. // // Copyright (C) 2013 Alec Jacobson <alecjacobson@gmail.com> // // 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 // ob...
<commit_before>#include "CubemapFace.h" boost::interprocess::offset_ptr<Cubemap> cubemap; CubemapFace::CubemapFace(boost::uint32_t width, boost::uint32_t height, int index, AVPixelFormat format, boost::chrono::system_c...
<commit_before>/********************************************************************* ** Author: Zach Colbert ** Date: 30 November 2017 ** Description: Patron class *********************************************************************/ /********************************************************************* ** Includes ...
<commit_before>/* * Copyright 2018 The Cartographer Authors * * 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...
<commit_before>// Copyright (c) 2017-2018 Dr. Colin Hirsch and Daniel Frey // Please see LICENSE for license or visit https://github.com/taocpp/PEGTL/ #ifndef TAO_PEGTL_CONTRIB_PARSE_TREE_HPP #define TAO_PEGTL_CONTRIB_PARSE_TREE_HPP #include <cassert> #include <memory> #include <type_traits> #include <typeinfo> #incl...