sha256 stringlengths 64 64 | language stringclasses 27
values | size int32 1 491k | lines int32 1 21.8k | content stringlengths 1 200k |
|---|---|---|---|---|
3ae495c7967d7fc3323fe6a3a879ea6244d36feddabf3bc328881c1163e66968 | C++ | 1,478 | 67 | #include <boost/config.hpp>
#if defined(BOOST_MSVC)
#pragma warning(disable: 4786) // identifier truncated in debug info
#pragma warning(disable: 4710) // function not inlined
#pragma warning(disable: 4711) // function selected for automatic inline expansion
#pragma warning(disable: 4514) // unreferenced inline re... |
bc5bdc5d23b5b19e723f23e3398336cd3b9cdd1b555170e755e12f7010f57940 | C++ | 1,478 | 47 | // (C) Copyright Eric Niebler, Olivier Gygi 2006.
// Use, modification and distribution are subject to the
// Boost Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
#include <boost/test/unit_test.hpp>
#include <boost/test/tools/floating_point... |
6e4d3af2940e61dd9cccfa3fe29d45a4dac817e0c39cdf115cb2bc9a6dafd159 | C++ | 1,479 | 45 | //---------------------------------------------------------------------------//
// Copyright (c) 2013 Kyle Lutz <kyle.r.lutz@gmail.com>
//
// Distributed under the Boost Software License, Version 1.0
// See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt
//
// See http://boostorg.gi... |
2b909ee4975b5c5595a21624f43dee47e1287a0e19f5067e7a2f3491c039e892 | C++ | 1,481 | 52 | //
// cpp14/require_static.cpp
// ~~~~~~~~~~~~~~~~~~~~~~~~
//
// Copyright (c) 2003-2022 Christopher M. Kohlhoff (chris at kohlhoff dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
#include <boost/asi... |
9a082f7bc914c344c30030f306b90595a5fed75e6900d03daef341c84ba06c51 | C++ | 1,482 | 61 | //
// cpp11/prefer_unsupported.cpp
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
//
// Copyright (c) 2003-2022 Christopher M. Kohlhoff (chris at kohlhoff dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
#include <b... |
8e17fc48dfdbc6e268838b8b427491b5843b6d18bc97caa6924de9fad7abe3da | C++ | 1,490 | 50 | /*
* Test program for gzifstream and gzofstream
*
* by Ludwig Schwardt <schwardt@sun.ac.za>
* original version by Kevin Ruland <kevin@rodin.wustl.edu>
*/
#include "zfstream.h"
#include <iostream> // for cout
int main() {
gzofstream outf;
gzifstream inf;
char buf[80];
outf.open("test1.txt.gz");
o... |
976377ef78b1a4a7a417e510caec4dd27a8cdc4bf468427f4589020bfb6a8a50 | C++ | 1,492 | 78 | #include <boost/config.hpp>
#if defined(BOOST_MSVC)
#pragma warning(disable: 4786) // identifier truncated in debug info
#pragma warning(disable: 4710) // function not inlined
#pragma warning(disable: 4711) // function selected for automatic inline expansion
#pragma warning(disable: 4514) // unreferenced inline re... |
9d9554af90f3ae491eab0b1aee89b10c52fcbd2cbd0a66675236a939644ed261 | C++ | 1,492 | 63 | // Copyright 2003-2008 Jan Gaspar.
// Copyright 2013 Paul A. Bristow. Added some Quickbook snippet markers.
// Distributed under the Boost Software License, Version 1.0.
// (See the accompanying file LICENSE_1_0.txt
// or a copy at <http://www.boost.org/LICENSE_1_0.txt>.)
//[circular_buffer_example_1
/*`For all exa... |
f49aac6855e2fb311a35eae92c53811dafc7ac039d7780f6519333487b127f27 | C++ | 1,492 | 49 | #include "consumer_queue.h"
#include "common.h"
#include "send_buffer.h"
#include <chrono>
#include <loguru.hpp>
#include <utility>
using namespace lsl;
consumer_queue::consumer_queue(std::size_t size, send_buffer_p registry)
: buffer_(new item_t[size]), size_(size),
// largest integer at which we can wrap correc... |
5de353cf352dffdf850df3d97dfaca71fb4bee6c808c96a4227480dfd2784974 | C++ | 1,493 | 70 | //
// cpp03/require_member.cpp
// ~~~~~~~~~~~~~~~~~~~~~~~~
//
// Copyright (c) 2003-2022 Christopher M. Kohlhoff (chris at kohlhoff dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
#include <boost/asi... |
8c6f7bd103ebe97f9efbc53cda3b4554385d892bc3f89504e2155cd3a623b3f6 | C++ | 1,493 | 72 | #include <boost/config.hpp>
#if defined( BOOST_MSVC )
#pragma warning(disable: 4786) // identifier truncated in debug info
#pragma warning(disable: 4710) // function not inlined
#pragma warning(disable: 4711) // function selected for automatic inline expansion
#pragma warning(disable: 4514) // unreferenced inline... |
adcec5fe2d3256df92429382501a1d471de47ec3afa604a40d869ed055e1f4f0 | C++ | 1,496 | 60 | //
// stream_client.cpp
// ~~~~~~~~~~~~~~~~~
//
// Copyright (c) 2003-2022 Christopher M. Kohlhoff (chris at kohlhoff dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
#include <cstdlib>
#include <cstr... |
e8f66aece12146ccc7d5ea3e7573d4f5d242468bb92b53e38878890611a5c21b | C++ | 1,496 | 70 | //
// cpp03/prefer_member_prefer.cpp
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
//
// Copyright (c) 2003-2022 Christopher M. Kohlhoff (chris at kohlhoff dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
#includ... |
a0d0276a6b18788992f9ea6d1def2560cbcd432a020a28f34c31685679731849 | C++ | 1,498 | 61 | //
// cpp03/can_prefer_not_preferable_member_prefer.cpp
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
//
// Copyright (c) 2003-2022 Christopher M. Kohlhoff (chris at kohlhoff dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.... |
2eda3d067801872e99655385d6540885f72b090f40f583ccccbacf0b37e96bda | C++ | 1,500 | 60 | //
// Copyright (c) 2016-2019 Vinnie Falco (vinnie dot falco at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
// Official repository: https://github.com/boostorg/beast
//
#include <boost/beas... |
aba7496b13dbcf4a7f1574213af9c207b3e6f098798bee5a5f0142c9af6179bf | C++ | 1,500 | 70 | //
// cpp03/prefer_member_require.cpp
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
//
// Copyright (c) 2003-2022 Christopher M. Kohlhoff (chris at kohlhoff dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
#incl... |
da0739ce69b961c24f6ba56547ddc89daa27fcc2403a2e4e3d50c31f31352d74 | C++ | 1,500 | 54 | //---------------------------------------------------------------------------//
// Copyright (c) 2014 Roshan <thisisroshansmail@gmail.com>
//
// Distributed under the Boost Software License, Version 1.0
// See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt
//
// See http://boostorg... |
2fec3db6874c454f204c10dd8a74c42d418955315c71232b20ff27a90a2f4bef | C++ | 1,502 | 61 | //
// cpp03/can_prefer_not_preferable_member_require.cpp
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
//
// Copyright (c) 2003-2022 Christopher M. Kohlhoff (chris at kohlhoff dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://ww... |
165af2fb1f63665584ac70c8e01a5cb98bcb15f8caff6c07cb83d20ba40362aa | C++ | 1,503 | 70 | //
// cpp03/require_free.cpp
// ~~~~~~~~~~~~~~~~~~~~~~
//
// Copyright (c) 2003-2022 Christopher M. Kohlhoff (chris at kohlhoff dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
#include <boost/asio/re... |
6bd3d756e124f2fded3aa25ced36d5300e8ea07098955a5c073c0d7eb4fb2eea | C++ | 1,504 | 39 | // Copyright (c) 2020 Andrey Semashev
//
// Distributed under the Boost Software License, Version 1.0.
// See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#include <boost/atomic/atomic_ref.hpp>
#include <boost/atomic/capabilities.hpp>
#include <boost/config.hpp>
#include <... |
13e40bbbe797504b2a33df911b3a23c0129b6114361543c0c24a0cd0d9b55113 | C++ | 1,505 | 78 | /*<-
Copyright Barrett Adair 2016-2017
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE.md or copy at http ://boost.org/LICENSE_1_0.txt)
->*/
#include <boost/callable_traits/detail/config.hpp>
#ifdef BOOST_CLBL_TRTS_DISABLE_ABOMINABLE_FUNCTIONS
int main(){}
#else
//[ overview
... |
3dadfed3e0fd1fa329f163945ae9252cd3327c987ae89ff967b899715da425f4 | C++ | 1,505 | 59 | //
// blocking_udp_echo_client.cpp
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
//
// Copyright (c) 2003-2022 Christopher M. Kohlhoff (chris at kohlhoff dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
#include <c... |
ea368b55667b1fcb930c0b3263ed24656a0889308c323d3c51ec9a3087a7b9ad | C++ | 1,505 | 54 | //---------------------------------------------------------------------------//
// Copyright (c) 2014 Roshan <thisisroshansmail@gmail.com>
//
// Distributed under the Boost Software License, Version 1.0
// See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt
//
// See http://boostorg... |
da2189a42df0e66fd3c2d7ae38589df61709637486be138bddbb2271a4f526a1 | C++ | 1,506 | 70 | //
// cpp03/prefer_free_prefer.cpp
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
//
// Copyright (c) 2003-2022 Christopher M. Kohlhoff (chris at kohlhoff dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
#include <b... |
26f61a315351a3f09ad35714656579b8c10caba061c6ec966d5a4577cad2bf67 | C++ | 1,507 | 54 | //---------------------------------------------------------------------------//
// Copyright (c) 2014 Roshan <thisisroshansmail@gmail.com>
//
// Distributed under the Boost Software License, Version 1.0
// See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt
//
// See http://boostorg... |
091a63b8ffc17a9c45615de480fd34b09a3a42af5a063e523afea84804864e3d | C++ | 1,508 | 61 | //
// cpp03/can_prefer_not_preferable_free_prefer.cpp
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
//
// Copyright (c) 2003-2022 Christopher M. Kohlhoff (chris at kohlhoff dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boos... |
052b9aa8feb6e52665e36ace3b883b748e986f83f037f7e6e894ba4ba48f9ec4 | C++ | 1,510 | 70 | //
// cpp03/prefer_free_require.cpp
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
//
// Copyright (c) 2003-2022 Christopher M. Kohlhoff (chris at kohlhoff dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
#include ... |
4940e08453c518c9c82ef59929cd3bff61ce5b118b51ac25b05645b6353421fe | C++ | 1,510 | 50 | //---------------------------------------------------------------------------//
// Copyright (c) 2015 Jakub Szuppe <j.szuppe@gmail.com>
//
// Distributed under the Boost Software License, Version 1.0
// See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt
//
// See http://boostorg.gi... |
bbbb0a06a3fa67ee024c08684445c93c02352f810e742b9d9cb3f8eae168438c | C++ | 1,511 | 55 | #include "include/matlab_bgl.h"
#include <yasmic/simple_csr_matrix_as_graph.hpp>
#include <boost/property_map.hpp>
template <class EdgeIndexMap, class Graph, class Edge>
void test_edge_index_map_impl(const EdgeIndexMap& m, Graph& g, Edge& e)
{
using namespace boost;
int i = 5 + get(m,e);
}
template <cl... |
fcb5f10918a5b1b63cb39fc42909ed2eb614504aaf4a25ba9e93812ce0d4e621 | C++ | 1,512 | 61 | //
// cpp03/can_prefer_not_preferable_free_require.cpp
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
//
// Copyright (c) 2003-2022 Christopher M. Kohlhoff (chris at kohlhoff dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.bo... |
c656eaded3e779f277509ea667bd160d1abbdbd1397ee7916942163fd2e34474 | C++ | 1,515 | 54 | //---------------------------------------------------------------------------//
// Copyright (c) 2014 Roshan <thisisroshansmail@gmail.com>
//
// Distributed under the Boost Software License, Version 1.0
// See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt
//
// See http://boostorg... |
d356f22109356eaa820bf4260e8fbdb9a6bf7613493b185fc4d217f44158763c | C++ | 1,518 | 61 | //
// stream_client.cpp
// ~~~~~~~~~~~~~~~~~
//
// Copyright (c) 2003-2022 Christopher M. Kohlhoff (chris at kohlhoff dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
#include <cstdlib>
#include <cstr... |
015dd5cbf5a9b714d59955d51036d031e4242ddd6c21f370f8a1b96636c7ffb4 | C++ | 1,519 | 38 | // (C) Copyright Michael Glassford 2004.
// (C) Copyright 2007 Anthony Williams
// Use, modification and distribution are subject to the
// Boost Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
#include <boost/thread/detail/config.hpp>
#if defi... |
75805cbc32c68d3e2b42708d7b8bfbc99b2a4f3c2a951920a2c8412b27b09bde | C++ | 1,519 | 37 | // This file is part of Eigen, a lightweight C++ template library
// for linear algebra. Eigen itself is part of the KDE project.
//
// Copyright (C) 2006-2008 Benoit Jacob <jacob.benoit.1@gmail.com>
//
// Eigen is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Publ... |
6d6aab5e67262b7f490b8867494807d6b900970bcbb3ab18238efc5fa1a60fb9 | C++ | 1,520 | 59 | /*
*
* Copyright (c) 1998-2004
* John Maddock
*
* Use, modification and distribution are subject to the
* Boost Software License, Version 1.0. (See accompanying file
* LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
*
*/
/*
* LOCATION: see http://www.boost.org for most recent versio... |
fe89c317cb14b49f08c02a2c9ae85fbcfd96601cfb67b92916773c94e5ea7112 | C++ | 1,521 | 43 | //---------------------------------------------------------------------------//
// Copyright (c) 2013 Muhammad Junaid Muzammil <mjunaidmuzammil@gmail.com>
//
// Distributed under the Boost Software License, Version 1.0
// See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt
//
// See... |
832e0752c31bedf3eec27e8061edef3e106e76f7eec8eaa105d391905ee79833 | C++ | 1,522 | 40 | #include "stdafx.h"
using namespace System;
using namespace System::Reflection;
using namespace System::Runtime::CompilerServices;
using namespace System::Runtime::InteropServices;
using namespace System::Security::Permissions;
//
// General Information about an assembly is controlled through the following
// set of ... |
c1145199a9139338e9be81fc849cc559ef919d5236139a541b4d047d41128440 | C++ | 1,522 | 73 | //
// Copyright (c) 2016-2019 Vinnie Falco (vinnie dot falco at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
// Official repository: https://github.com/boostorg/beast
//
// Test that header ... |
140c26c8ac30aec6ec1689f7d41a4a319747bc188413bc0bd8d5221cb4687150 | C++ | 1,528 | 66 | /*
Copyright (c) Marshall Clow 2013.
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
For more information, see http://www.boost.org
*/
#include <boost/config.hpp>
#include <boost/algorithm/cxx17/for_each_n... |
4fca46a05cf57ce222699e570c41f275a7d75a1d4bd4c9a34a6fa062cd90b9c8 | C++ | 1,533 | 59 | #include "Transcript.h"
Transcript::Transcript()
{
reset();
};
void Transcript::reset() {
extendL=0;
// for (uint ii=0;ii<4;ii++) {
// polyXlength[ii]=0;
// polyXnMM[ii]=0;
// };
primaryFlag=false;
rStart=0; roStart=0; rLength=0; gStart=0; gLength=0; //read and genomic coordi... |
3df74470f53ddeccd4404a8b1bcb5c853f43049ebdf717c8dbab007f6cd8144f | C++ | 1,536 | 37 | // This file is part of Eigen, a lightweight C++ template library
// for linear algebra. Eigen itself is part of the KDE project.
//
// Copyright (C) 2006-2008 Benoit Jacob <jacob.benoit.1@gmail.com>
//
// Eigen is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Publ... |
efb0acbd7927a57886fd81db51bb55db0d31b827f0fd9e4493933151eb98c81c | C++ | 1,537 | 69 | /*
------------------------------------------------------------------
This file is part of the Open Ephys GUI
Copyright (C) 2017 Allen Institute for Brain Science and Open Ephys
------------------------------------------------------------------
This program is free software: you can redistribute ... |
4093d0e126b75a736bf24f7353bc981d9cb66fc07f404046468d81ce098ffe25 | C++ | 1,538 | 65 | //
// blocking_file_copy.cpp
// ~~~~~~~~~~~~~~~~~~~~~~
//
// Copyright (c) 2003-2022 Christopher M. Kohlhoff (chris at kohlhoff dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
#include <iostream>
#in... |
9243202ec016eab5c721556d4d02b1f9a20384f5ea9a9ec8ec49e18f42a19c71 | C++ | 1,541 | 46 | // (C) Copyright Eric Niebler, Olivier Gygi 2006.
// Use, modification and distribution are subject to the
// Boost Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
#include <boost/test/unit_test.hpp>
#include <boost/accumulators/accumulators... |
c742717be466bfc1346491d6f4c32a33d77b7ea3a0aa96e8084b77a118377d95 | C++ | 1,544 | 51 | //---------------------------------------------------------------------------//
// Copyright (c) 2015 Jakub Szuppe <j.szuppe@gmail.com>
//
// Distributed under the Boost Software License, Version 1.0
// See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt
//
// See http://boostorg.gi... |
7574ad92b9da96828abe6ab5164db48aed33cb4c189a3a3ae391f5b217044b6b | C++ | 1,546 | 42 | // Copyright (c) 2020 Andrey Semashev
//
// Distributed under the Boost Software License, Version 1.0.
// See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#include <boost/atomic/atomic.hpp>
#include <boost/atomic/atomic_flag.hpp>
#include <boost/atomic/capabilities.hpp>
#i... |
616ed3f7382d074ba04a94b92f44b954dc2fcaa8806312ec4753f6e1f81d1ee7 | C++ | 1,552 | 41 | #include "inireader.h"
#include <istream>
#include <stdexcept>
void INI::load(std::istream &infile) {
std::string line;
std::string section;
int linenr = 0;
static const char ws[] = " \t\r\n";
while (std::getline(infile, line)) {
linenr++;
// Comment / empty line
if (line[0] == ';' || line.find_first_not_o... |
3212c9512a26e725c6d5d3b74073ef136cd5c38a045f83b9f206c272634f5e9f | C++ | 1,553 | 72 | /*
Copyright (c) Marshall Clow 2017.
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
For more information, see http://www.boost.org
*/
#include <vector>
#include <functional>
#include <numeric>
#include <a... |
b6500a4a0d2fed4d841f0c8d4114a346451243cdc093ca91b816e6169a7085ab | C++ | 1,554 | 62 | //
// append.cpp
// ~~~~~~~~~~
//
// Copyright (c) 2003-2022 Christopher M. Kohlhoff (chris at kohlhoff dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
// Disable autolinking for unit tests.
#if !def... |
f661b325706b1aee4fb192896ddcb213d17876fb1ac27d934b9a6b26ff358999 | C++ | 1,554 | 41 | #include "inireader.hpp"
#include <istream>
#include <stdexcept>
void INI::load(std::istream &infile) {
std::string line;
std::string section;
int linenr = 0;
static const char ws[] = " \t\r\n";
while (std::getline(infile, line)) {
linenr++;
// Comment / empty line
if (line[0] == ';' || line.find_first_not... |
ecbcebcb454f2df5c3caa4330d9d8f131fef57f8fffd3f28aaf340180ec82a7d | C++ | 1,558 | 41 | //===----------------------------------------------------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is dual licensed under the MIT and the University of Illinois Open
// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------... |
01791cd6e9522acee7a08c522931cc2ea03421b63a31c1671729613cd31ccfaf | C++ | 1,560 | 67 | //
// experimental/coro/co_spawn.cpp
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
//
// Copyright (c) 2021-2022 Klemens D. Morgenstern
// (klemens dot morgenstern at gmx dot net)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www... |
566219fc35feb3467bc2363cfbf39def1fff224cc0984c51700e48a21e42a20b | C++ | 1,561 | 62 | //
// prepend.cpp
// ~~~~~~~~~~~
//
// Copyright (c) 2003-2022 Christopher M. Kohlhoff (chris at kohlhoff dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
// Disable autolinking for unit tests.
#if !d... |
cff2ea099b7da089bb9c37d92244d099d3f8a63b4959b8f112bfd486efbd3005 | C++ | 1,566 | 49 | /*<-
Copyright Barrett Adair 2016-2017
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE.md or copy at http ://boost.org/LICENSE_1_0.txt)
->*/
#include <boost/callable_traits/detail/config.hpp>
#ifdef BOOST_CLBL_TRTS_DISABLE_REFERENCE_QUALIFIERS
int main(){ return 0; }
#else
//... |
589fc052883badf4b06db7aff445981cd3b4315d4bc5379c72b7467f53dacdcc | C++ | 1,578 | 70 | /*
Copyright (c) Alexander Zaitsev <zamazan4ik@gmail.by>, 2017
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
For more information, see http://www.boost.org
*/
#include <vector>
#include <functional>
#inc... |
a96f6af225c2592b52d8c1469c47e2d965cf53de182c0ead7e7f6f4b7d0add88 | C++ | 1,580 | 66 | //
// cpp11/require_member.cpp
// ~~~~~~~~~~~~~~~~~~~~~~~~
//
// Copyright (c) 2003-2022 Christopher M. Kohlhoff (chris at kohlhoff dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
#include <boost/asi... |
452fcc8e0f29d30cae498b3c4919f432bdd87df5f11bfa37da6df2df848ff688 | C++ | 1,581 | 66 | //
// cpp11/prefer_member_prefer.cpp
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
//
// Copyright (c) 2003-2022 Christopher M. Kohlhoff (chris at kohlhoff dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
#includ... |
cda5c689ade061988c5ca0e61b238f8862ec0260ccb0c494c204b1eebe7966c8 | C++ | 1,583 | 45 | /*
Copyright Barrett Adair 2016-2017
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE.md or copy at http ://boost.org/LICENSE_1_0.txt)
*/
#include <boost/callable_traits/add_varargs.hpp>
#include <tuple>
#include "test.hpp"
struct foo;
template<typename T>
struct is_substit... |
3cbd830840939cc9bbb81b09e6289076c1959f484a5e972251958802a3186dd7 | C++ | 1,584 | 66 | //
// cpp11/prefer_member_require.cpp
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
//
// Copyright (c) 2003-2022 Christopher M. Kohlhoff (chris at kohlhoff dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
#incl... |
585c6d784deabe20143018d098b5ba4cc710dfac565263364affa1a8cbd07a4c | C++ | 1,585 | 47 | #include <iostream>
#include <lsl_cpp.h>
/**
* This example program demonstrates how the full version of the stream info (i.e. including the
* potentially large .desc() field) can be obtained from an inlet. Note that the output of the
* resolve functions only includes the core information otherwise.
*/
int main(i... |
05d427ccaeb5e12eb87e97fbcac376994eed1d1ad2e6c01fc0ef8682ab7d3a57 | C++ | 1,586 | 64 | //
// wait_for_all.cpp
// ~~~~~~~~~~~~~~~~
//
// Copyright (c) 2003-2022 Christopher M. Kohlhoff (chris at kohlhoff dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
#include <boost/asio.hpp>
#include ... |
beb8fe476e7c103acb1899188e531a51decd7ee9f516aeabbdd9e63a9a0cfab4 | C++ | 1,586 | 65 | /* tests using std::get on boost:array
* (C) Copyright Marshall Clow 2012
* Distributed under the Boost Software License, Version 1.0. (See
* accompanying file LICENSE_1_0.txt or copy at
* http://www.boost.org/LICENSE_1_0.txt)
*/
#include <string>
#include <iostream>
#include <boost/array.hpp>
#include <algorithm... |
3bc6ea34069cf67892cb5ad927f143ced8398a4f0ea1eb276e5c12f36cf745a4 | C++ | 1,591 | 66 | #include <boost/config.hpp>
#if defined(BOOST_MSVC)
#pragma warning(disable: 4786) // identifier truncated in debug info
#pragma warning(disable: 4710) // function not inlined
#pragma warning(disable: 4711) // function selected for automatic inline expansion
#pragma warning(disable: 4514) // unreferenced inline re... |
772ccd8822d76c61639f29ca56d83f762004abd5df054b37c8cea046b3851ca5 | C++ | 1,591 | 66 | //
// deferred_5.cpp
// ~~~~~~~~~~~~~~
//
// Copyright (c) 2003-2022 Christopher M. Kohlhoff (chris at kohlhoff dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
#include <boost/asio.hpp>
#include <ios... |
92ef8b1939be035eac40326ac3c2ddf38d720202183bfacf2cabc7cf1adfa96c | C++ | 1,591 | 60 | /* tests for using class array<> specialization for size 0
* (C) Copyright Alisdair Meredith 2006.
* Distributed under the Boost Software License, Version 1.0. (See
* accompanying file LICENSE_1_0.txt or copy at
* http://www.boost.org/LICENSE_1_0.txt)
*/
#include <string>
#include <iostream>
#include <boost/array... |
aca0e11a7606b630f9f6abe374980b63136a068a776c07bece8fa6872dc4719f | C++ | 1,592 | 64 | //
// wait_for_one.cpp
// ~~~~~~~~~~~~~~~~
//
// Copyright (c) 2003-2022 Christopher M. Kohlhoff (chris at kohlhoff dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
#include <boost/asio.hpp>
#include ... |
b945bae6564a960f8d275cd6961219f7502a4722e2459ad95c94def0274ea9d3 | C++ | 1,592 | 66 | //
// cpp11/require_free.cpp
// ~~~~~~~~~~~~~~~~~~~~~~
//
// Copyright (c) 2003-2022 Christopher M. Kohlhoff (chris at kohlhoff dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
#include <boost/asio/re... |
4c2096247bc4d18f7a93cf48a213ab4ec4a80f584a1beaa43bfe0888a6f48e40 | C++ | 1,593 | 66 | //
// cpp11/prefer_free_prefer.cpp
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
//
// Copyright (c) 2003-2022 Christopher M. Kohlhoff (chris at kohlhoff dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
#include <b... |
c948fc01fedd38673611c70d2ff75ee448e99efd82b8524fdb6096eeff836c77 | C++ | 1,593 | 49 | /*<-
Copyright Barrett Adair 2016-2017
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE.md or copy at http ://boost.org/LICENSE_1_0.txt)
->*/
#include <boost/callable_traits/detail/config.hpp>
#ifdef BOOST_CLBL_TRTS_DISABLE_REFERENCE_QUALIFIERS
int main(){ return 0; }
#else
//... |
30987bb1842252808d6bcbbb6a2cec5aa9d3ba49afbb217d4f1eb6b9328aa31e | C++ | 1,595 | 74 | //
// blocking_tcp_echo_server.cpp
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
//
// Copyright (c) 2003-2022 Christopher M. Kohlhoff (chris at kohlhoff dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
#include <c... |
29ed03df4ebb8afdf308bf747db5923b975f9fa26b2156125316a6f8316c34a9 | C++ | 1,596 | 66 | //
// cpp11/prefer_free_require.cpp
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
//
// Copyright (c) 2003-2022 Christopher M. Kohlhoff (chris at kohlhoff dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
#include ... |
eb4e51c6aa98a1347d1d6ffb5cdf21f7160c3d432c0d66dad84c79272d6a882b | C++ | 1,597 | 52 | //---------------------------------------------------------------------------//
// Copyright (c) 2015 Jakub Szuppe <j.szuppe@gmail.com>
//
// Distributed under the Boost Software License, Version 1.0
// See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt
//
// See http://boostorg.gi... |
b0d0fb00717dcd7f47d9fb048c36284591660c806168f340df0599973cc7f85a | C++ | 1,598 | 53 | //---------------------------------------------------------------------------//
// Copyright (c) 2015 Jakub Szuppe <j.szuppe@gmail.com>
//
// Distributed under the Boost Software License, Version 1.0
// See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt
//
// See http://boostorg.gi... |
daf558d4a7875e96241d4170a5a8913da67a610744b0a4ac926355ff8b7af7c2 | C++ | 1,601 | 66 | //
// Copyright (c) 2016-2019 Vinnie Falco (vinnie dot falco at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
// Official repository: https://github.com/boostorg/beast
//
// Test that header ... |
2757f7f63ef9499e433b668018415a6bfecfa015e89aeb1f8af8a03180d9421a | C++ | 1,606 | 59 | //
// Copyright (c) 2016-2019 Vinnie Falco (vinnie dot falco at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
// Official repository: https://github.com/vinniefalco/CppCon2018
//
#include "sh... |
48b58ce02bb2be23a2268ec80a173ad51153cccc5e3f6e0e3b6bf446a4c28466 | C++ | 1,607 | 62 | /* example for using class array<>
* (C) Copyright Nicolai M. Josuttis 2001.
* Distributed under the Boost Software License, Version 1.0. (See
* accompanying file LICENSE_1_0.txt or copy at
* http://www.boost.org/LICENSE_1_0.txt)
*/
#include <string>
#include <iostream>
#include <boost/array.hpp>
template <class... |
e10a57eeac6470cacc7a97e70f544157ab3f8373b86fddff51ea045de835ab5a | C++ | 1,610 | 64 | //
// wait_for_one_error.cpp
// ~~~~~~~~~~~~~~~~~~~~~~
//
// Copyright (c) 2003-2022 Christopher M. Kohlhoff (chris at kohlhoff dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
#include <boost/asio.hp... |
9d37d953cb1cde0c63e3cf90ed4e04d72677f0544ff37ccad7e9efb2468125d5 | C++ | 1,611 | 50 | /*<-
Copyright Barrett Adair 2016-2017
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE.md or copy at http ://boost.org/LICENSE_1_0.txt)
->*/
#include <boost/callable_traits/detail/config.hpp>
#ifdef BOOST_CLBL_TRTS_DISABLE_REFERENCE_QUALIFIERS
int main(){ return 0; }
#else
//... |
fd889e223441b554a85c32199fc9bf49490dc5d7f4b23b59b0db52826850c14a | C++ | 1,612 | 64 | //
// wait_for_one_error.cpp
// ~~~~~~~~~~~~~~~~~~~~~~
//
// Copyright (c) 2003-2022 Christopher M. Kohlhoff (chris at kohlhoff dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
#include <boost/asio.hp... |
1a2136639c4f9a42835a6bdd936b30f5a3aab99cf76d10e404bee647a6292624 | C++ | 1,620 | 70 | //
// cpp11/prefer_static.cpp
// ~~~~~~~~~~~~~~~~~~~~~~~
//
// Copyright (c) 2003-2022 Christopher M. Kohlhoff (chris at kohlhoff dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
#include <boost/asio/... |
af7b062ae4352437513cecbccc8746df66b5ebae7c0994842f5103501e4e60e7 | C++ | 1,621 | 47 | #include <iostream>
#include <lsl_cpp.h>
/**
* This example program demonstrates how the full version of the stream info (i.e. including the
* potentially large .desc() field) can be obtained from an inlet. Note that the output of the
* resolve functions only includes the core information otherwise.
*/
int main(i... |
b8e0771d680b50084ead275b573455310eafce031450cc11c26dc0edb8d111a9 | C++ | 1,621 | 59 | //---------------------------------------------------------------------------//
// Copyright (c) 2013 Kyle Lutz <kyle.r.lutz@gmail.com>
//
// Distributed under the Boost Software License, Version 1.0
// See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt
//
// See http://boostorg.gi... |
609b16bf1f0853361cd929a1be10bb77e9aee7741df78f5b40eb394635ca40f6 | C++ | 1,627 | 58 | /* simple example for using class array<>
*
* (C) Copyright Nicolai M. Josuttis 2001.
* Distributed under the Boost Software License, Version 1.0. (See
* accompanying file LICENSE_1_0.txt or copy at
* http://www.boost.org/LICENSE_1_0.txt)
*
* Changelog:
* 20 Jan 2001 - Removed boolalpha use since stock GCC doe... |
1bfe25a2ba13125f6fe7c1a6b214f73228f39254367a7769c7a8890282d152bf | C++ | 1,628 | 57 | // Boost.Bimap
//
// Copyright (c) 2006-2007 Matias Capeletto
//
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
// VC++ 8.0 warns on usage of certain Standard Library and API functions that
// can be cause bu... |
dc57559caaa52fe14fbe0dff231ea6f6701302743ed2372ee7d6e234c213677e | C++ | 1,629 | 56 | //---------------------------------------------------------------------------//
// Copyright (c) 2013-2014 Kyle Lutz <kyle.r.lutz@gmail.com>
//
// Distributed under the Boost Software License, Version 1.0
// See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt
//
// See http://boosto... |
1c48ba0274a63fa0c835f71580af984f06013d601b1b4083db5db891dc4e8e6c | C++ | 1,630 | 67 | /*
Copyright Barrett Adair 2015-2017
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt)
*/
#include <type_traits>
#include <cstdint>
#include <memory>
#include <boost/callable_traits.hpp>
#include "test.hpp"
struct foo1 {
in... |
6835edcb64c77051aae5342eb09f00461a9e8baaa71ca31fd7e32c2b78fd3471 | C++ | 1,632 | 41 | // This file is part of Eigen, a lightweight C++ template library
// for linear algebra. Eigen itself is part of the KDE project.
//
// Copyright (C) 2010 Benoit Jacob <jacob.benoit.1@gmail.com>
//
// Eigen is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
//... |
c6111a4315e35629f8de23a63c014e9656f94d0154b9fc22a89583f396d7cee3 | C++ | 1,632 | 70 | //
// cpp11/require_static.cpp
// ~~~~~~~~~~~~~~~~~~~~~~~~
//
// Copyright (c) 2003-2022 Christopher M. Kohlhoff (chris at kohlhoff dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
#include <boost/asi... |
118146ccb7784a8dc810eb9d87069cac6df8d687bc73433fbf0c366c30686358 | C++ | 1,633 | 46 |
/*
Copyright Barrett Adair 2016-2017
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE.md or copy at http ://boost.org/LICENSE_1_0.txt)
*/
#include <boost/callable_traits/args.hpp>
#include "test.hpp"
struct foo;
template<typename T>
struct is_substitution_failure_args {
... |
2fad54846debd610a2669035c1463830bfe8758aef7d8649cd09b293f4ba7995 | C++ | 1,634 | 41 | // This file is part of Eigen, a lightweight C++ template library
// for linear algebra. Eigen itself is part of the KDE project.
//
// Copyright (C) 2010 Benoit Jacob <jacob.benoit.1@gmail.com>
//
// Eigen is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
//... |
0f38b6dcac30384f5ce36bb1b3e308306def5d3f0b8fdd3358b8dce4fd0e8a8f | C++ | 1,640 | 46 |
/*
Copyright Barrett Adair 2016-2017
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE.md or copy at http ://boost.org/LICENSE_1_0.txt)
*/
#include <boost/callable_traits/function_type.hpp>
#include "test.hpp"
struct foo;
template<typename T>
struct is_substitution_failure_... |
cec63b9dc71b6f0a2a1d370c92bf4b31ab08ba98c6cc26093deaa3f172ef8dab | C++ | 1,647 | 42 | //===----------------------------------------------------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is dual licensed under the MIT and the University of Illinois Open
// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------... |
d4f60002a735e6df4cc85fe98638182298237e31d50fb012de5139528ea3fa74 | C++ | 1,653 | 66 | /* tests using std::get on boost:array
* (C) Copyright Marshall Clow 2012
* Distributed under the Boost Software License, Version 1.0. (See
* accompanying file LICENSE_1_0.txt or copy at
* http://www.boost.org/LICENSE_1_0.txt)
*/
#include <string>
#include <iostream>
#include <boost/array.hpp>
#include <algorithm... |
99606b95a05bcec75672d33c58294f591158fc2d60f445a27d949b2f0b420d82 | C++ | 1,654 | 46 | //=====================================================
// Copyright (C) 2008 Gael Guennebaud <g.gael@free.fr>
//=====================================================
//
// 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... |
0b9d7bfe816c0b4cec0945cbba10816204e32150b3505896ec76391ba84a4536 | C++ | 1,658 | 68 | /*
Copyright 2014-2015 Glen Joseph Fernandes
(glenjofe@gmail.com)
Distributed under the Boost Software License, Version 1.0.
(http://www.boost.org/LICENSE_1_0.txt)
*/
#include <boost/align/align.hpp>
#include <boost/align/is_aligned.hpp>
#include <boost/core/lightweight_test.hpp>
template<std::size_t Alignment>
void ... |
7c7bd95e0c45fea6292d8e3f5f8617b0aece114e7d8fa718cf68e06892882294 | C++ | 1,664 | 46 | //=====================================================
// Copyright (C) 2008 Gael Guennebaud <gael.guennebaud@inria.fr>
//=====================================================
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License
// as publis... |
a88d5654862374ca69d4ba7dc49531374eee86e657238a5dc98519baaf3c98a5 | C++ | 1,665 | 64 | // Copyright 2003-2008 Jan Gaspar.
// Copyright 2013 Paul A. Bristow. Added some Quickbook snippet markers.
// Distributed under the Boost Software License, Version 1.0.
// (See the accompanying file LICENSE_1_0.txt
// or a copy at <http://www.boost.org/LICENSE_1_0.txt>.)
//[circular_buffer_sum_example_1
/*`This e... |
333ee7e2c58d0be93be9b41dc3641deabec48312c56ea677ef36b155eb238f9d | C++ | 1,666 | 75 | // Boost.Assign library
//
// Copyright Thorsten Ottosen 2003-2004. Use, modification and
// distribution is subject to the Boost Software License, Version
// 1.0. (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
//
// For more information, see http://www.boost.org/libs/ass... |
f0fc72e251899a55055a56d74a32955328d6806c508823c4e6858502e312b678 | C++ | 1,666 | 65 | //
// Copyright (c) 2016-2019 Vinnie Falco (vinnie dot falco at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
// Official repository: https://github.com/boostorg/beast
//
// Test that header ... |
c348b0fc8d1b629ea0cfa86bc2a6e5fab4101f6349e196581b5441727a8b0d86 | C++ | 1,667 | 45 | #include <catch2/catch.hpp>
#include <lsl_cpp.h>
#include <thread>
namespace {
TEST_CASE("resolve multiple streams", "[resolver][basic]") {
lsl::continuous_resolver resolver("type", "Resolve", 50.);
std::vector<lsl::stream_outlet> outlets;
const int n = 3;
for (int i = 0; i < n; i++)
outlets.emplace_back(lsl::s... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.