sha256 stringlengths 64 64 | language stringclasses 27
values | size int32 1 491k | lines int32 1 21.8k | content stringlengths 1 200k |
|---|---|---|---|---|
fc27dacdb103e07770097c529a78a4b3f095d7346c4b23e645171f619df8d48e | C++ | 1,114 | 38 | //
// cpp14/can_prefer_not_applicable_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.... |
1ecf799dcc6f3d6a9a1b4b0c629a4810edbe144f9e1032970e6041682e5b7bf1 | C++ | 1,116 | 42 | /////////1/////////2/////////3/////////4/////////5/////////6/////////7/////////8
// stl_port.cpp: implementation of run-time casting of void pointers
// (C) Copyright 2005 Robert Ramey - http://www.rrsd.com .
// Use, modification and distribution is subject to the Boost Software
// License, Version 1.0. (See accompan... |
ddaad78f99c8c12452c072bb7602bb1da1f3a6b3b8ff30025672ec4a0a094e94 | C++ | 1,116 | 37 | // 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... |
f1aeb9cfa77754d75bfd69b3a0816bd1318a4088c480a5934520f9f85aaf2586 | C++ | 1,116 | 43 | # include "PackedArray.h"
PackedArray::PackedArray() {
charArray=NULL;
arrayAllocated=false;
};
void PackedArray::defineBits(uint Nbits, uint lengthIn){
wordLength=Nbits;
wordCompLength=sizeof(uint)*8LLU-wordLength;
bitRecMask=(~0LLU)>>wordCompLength;
length=lengthIn;
lengthByte=(length-1)... |
45b6124a2fb2073d6ae8c12ae91e6f74040cb928c9dfe9bfdcbc6e27015c41c5 | C++ | 1,117 | 33 | // 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... |
9d1d6f38524a99feb4fdb5c23a1e14f25f674302f7d49e1455fb5b7f073ceb5d | C++ | 1,117 | 38 | //
// cpp14/can_prefer_not_applicable_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... |
5b07f2da99d95e000d40ff66bf00c428f514195317c055120de1647df564ee2d | C++ | 1,118 | 33 | // 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... |
34249be2b530a3e00de0137920d9b1a6ef03b31401335ea959245167561f5c43 | C++ | 1,119 | 54 | //
// cpp11/require_concept_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)
//
#includ... |
76a1537f745943a94248044eb432ff3388227663d86523e0683cf4cf8d64e02c | C++ | 1,119 | 50 | //
// cpp03/can_require_concept_not_applicable_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.... |
69206bc0a17073541f61e6db82d053608c0540da61630c870cf1f1f76e3e006b | C++ | 1,121 | 35 | //
// cpp14/can_prefer_not_applicable_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/LICE... |
35497e60795aed362292f62e20299dd7fb0473d609cafe134c1e309fc6b2d8ae | C++ | 1,122 | 44 | //
// cpp03/can_require_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)
//
#... |
c6a27891f59b6aa700e6ee7fd998b786c3c1c84903bde06fe1282c74b54ef97d | C++ | 1,122 | 38 | //
// cpp14/can_require_not_applicable_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/LICENS... |
6466545abd30fc8d04d9318822758d23fee48829e3bfd2ff6f222be364a09360 | C++ | 1,123 | 33 | // 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... |
836a7fa9c510cf5d053cf89d93b125e1d0310ed7e8a264d97979244bdae43158 | C++ | 1,125 | 43 | /*<-
Copyright (c) 2016 Barrett Adair
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>
#include <boost/callable_traits/is_noexcept.hpp>
#include "test.hpp"
template<typena... |
84563f355c50ba7b87f23812d905927ebec27f9c8d7714dd848114b7c116c88c | C++ | 1,126 | 37 | #include "Quantifications.h"
Quantifications::Quantifications (uint32 nGeIn) {
geneCounts.nType=3;
geneCounts.cAmbig = new uintQ[geneCounts.nType];
geneCounts.cNone = new uintQ[geneCounts.nType];
geneCounts.nGe=nGeIn;
geneCounts.gCount = new uintQ* [geneCounts.nType];
geneCounts.cMulti=0;
... |
c60d6a70530ffe3a0a388742a93d459cb5253e90100aeb4d3738e0c1ff484a5a | C++ | 1,126 | 38 | //
// cpp14/can_prefer_not_applicable_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... |
37e6b3b8c5d9fde6871a55319f8808d2042f5f224d72e7da44621c3005b9b784 | C++ | 1,127 | 47 | /*
Copyright 2014 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/aligned_alloc.hpp>
#include <boost/align/is_aligned.hpp>
#include <boost/core/lightweight_test.hpp>
#include <cstring>
void test(std::... |
51a73164e3f7c2fc265f0ef750e477c54f8145a4c4ce67bf7f2114a3e554f71f | C++ | 1,129 | 38 | //
// cpp14/can_prefer_not_applicable_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... |
901ca98e296ef39d38a7463f7e5677af4b127b7da5e851cdfb1469076efa2b6d | C++ | 1,130 | 57 | //
// 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 ... |
bf0e30b7068e22a89f02b6353f96bbef619712ca1040db11fd57709178b4f16e | C++ | 1,130 | 37 | // 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... |
f87e6e8bf185417ff44d26e9fb077c3f3a864edb7d71d7d8d82843fccdd882a9 | C++ | 1,130 | 35 | //
// cpp14/can_require_not_applicable_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/LI... |
a0553205134146a0081f4aaf1510a492ad21d012d60d74ae60cc5ed13563e137 | C++ | 1,131 | 34 | #include "SoloBarcode.h"
#include <array>
bool SoloBarcode::extractBarcode(string &seqIn, string &qualIn, const uint32 adapterStart, string &bSeq, string &bQual)
{//input: sequence seqIn, adapter start adapterStart
//output: start position of the barcode
array<int32,2> pos={0,0};
for (uint32 ii=0; ii<2; ii... |
fa5d74139654541d25349b12bf0e145b148e2ceebdaace856204d842eecdd779 | C++ | 1,131 | 53 | //
// 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)
//
// Test that header file is self-contained.
#include <boost/beast/core/detail/var... |
e29a4ca49d508f269b9ab7b91606529ddfe7c62040f55726c47aaea214a8fe74 | C++ | 1,133 | 33 | // 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... |
2f7dc09ed78c1e1e257f5dec7ac830a7376b41f76e932b9ab53950fd26da9ba7 | C++ | 1,135 | 44 | //
// cpp14/can_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)
//
#in... |
9f0d0e8eb6499077a62236e11c81822fc163cea7151e1bce33f4782599ed9103 | C++ | 1,135 | 59 | /*
Copyright 2019 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_down.hpp>
#include <boost/core/lightweight_test.hpp>
template<std::size_t N>
struct A { };
template<class T, std::size_t N>
voi... |
fa066b1f66f186e6951c5d77707809ed6a3543f75c0061c24aa70174b2959717 | C++ | 1,138 | 37 | // (C) Copyright Herve Bronnimann 2004.
// 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 <list>
#include <algorithm>
#include <cstdlib>
#include <cassert>
#include <io... |
3bd45f0428268c1cad274ac1e8b7eba733ae130df5471d32a082f11f4c4c4a6d | C++ | 1,140 | 38 | //
// cpp11/can_require_not_applicable_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/LI... |
13a2cf69682aeebe45f2f69b54b166515d87d25423d27cd6297086d39eadcf1a | C++ | 1,144 | 44 | //
// cpp14/can_require_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)
//
#... |
b68cedb5858f5b32d01091debbdab9086fcf6fbbc7be9c60cc97cf95a9b017dd | C++ | 1,144 | 38 | //
// cpp11/can_prefer_not_applicable_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.... |
0caaa9c375249a8295dce62a7f53a2689438548dfd5845a8fdb04014c1afd0a3 | C++ | 1,145 | 46 | //
// main.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>
#include <string>
#include <boo... |
6e1cb3e1065a74867cc4810fdcef33f11695999ca57b7863410dfa61e421ed00 | C++ | 1,145 | 46 | //
// main.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>
#include <string>
#include <boo... |
6fc01e5b42725720de24929052b302577860f4be6ab179594ced03180f66197f | C++ | 1,145 | 41 | /*<-
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)
->*/
//[ remove_varargs
#include <type_traits>
#include <boost/callable_traits/remove_varargs.hpp>
namespace ct = boost::callable_traits;
... |
db568a258608480dd0e948565bc33ec5a72bdacd7c2dcc7fddc4dbca8875247d | C++ | 1,146 | 47 | // 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... |
a409f091a240308d007ab953f9ed7fb93a6cb505787bf8a82d6c465cff40d58d | C++ | 1,147 | 49 | //
// 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 ... |
d55225a89430b5d1b704771780b3ad269c23b96bb2dae71b780ff36abb0ed41b | C++ | 1,147 | 38 | //
// cpp11/can_prefer_not_applicable_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... |
8fad54d93c7589b352690d4ec2b43084d47644d3cd8194f0a2a9f62511dd6c78 | C++ | 1,148 | 53 | //
// 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 <ctime>
#include <iostream>
#include <... |
f453002ee8017971ae931e15fd88eb610c8736ccf3308509ad59a8a3cbab1973 | C++ | 1,148 | 33 | // 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... |
6198b6ea5d5a011c2d3e61585dcfad776610381fa7b28ff17d1882834d65f96d | C++ | 1,149 | 45 | //
// cpp03/can_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)
//
#in... |
76741473e175cb01068271b340c48148677ac50efa85aca909efa81ec9aa5551 | C++ | 1,149 | 42 | // test_thread_clock.cpp ----------------------------------------------------------//
// Copyright 2009 Vicente J. Botet Escriba
// Distributed under the Boost Software License, Version 1.0.
// See http://www.boost.org/LICENSE_1_0.txt
#include <boost/chrono/thread_clock.hpp>
#include <boost/type_traits.hpp>
#... |
fe899c9d6515bee5652a693abc6e9f9ea88ba1a63f5f679f535a7aaa75687cd6 | C++ | 1,149 | 35 | // Generated by using Rcpp::compileAttributes() -> do not edit by hand
// Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393
#include <RcppEigen.h>
#include <Rcpp.h>
using namespace Rcpp;
#ifdef RCPP_USE_GLOBAL_ROSTREAM
Rcpp::Rostream<true>& Rcpp::Rcout = Rcpp::Rcpp_cout_get();
Rcpp::Rostream<false>& Rcpp::Rcerr... |
2c0227d0468aaac4bf1226881ade3388dd2fd98dca4e3b5e78b7d3c7b5e88b73 | C++ | 1,150 | 41 | // Boost string_algo library example file ---------------------------------//
// Copyright Pavol Droba 2002-2003. 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)
// See htt... |
228b0e5a64b44772f5ea62ebefcdbe7379211fc8ea0fbd2cc5f120379edcd5d5 | C++ | 1,151 | 40 | #include "ReadAlign.h"
#include "SequenceFuns.h"
#include "Stats.h"
#include "serviceFuns.cpp"
void ReadAlign::mapOneReadSpliceGraph()
{
#ifdef OFF_BEFORE_SEEDING
#warning OFF_BEFORE_SEEDING
nW=0;
return;
#endif
if (Lread<P.outFilterMatchNmin) {//read is too short (trimmed too muc... |
e4f305c88af099f3c762eb02804ae617925aa2997f3b8c5725d3d8410e92cbc5 | C++ | 1,151 | 39 | //
// cpp14/can_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 <b... |
1fa4dc9ed27a8a9c31ec874bc2073956c72c177718d30d86962fdae46a637a27 | C++ | 1,152 | 38 | //
// cpp11/can_require_not_applicable_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/LICENS... |
0c7c18b8ec037c2b3a64866a73da47410eecf6fc69848c2bbb31f66dbc7abc90 | C++ | 1,153 | 26 | // 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/ipc_atomic_ref.hpp>
#include <boost/atomic/capabilities.hpp>
#include <boost/config.hpp>
#inclu... |
494be9f74f164f75325d7be162fbe7e8615ad59d766de6126aeaeaa622ef40fc | C++ | 1,154 | 50 | /* 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 <boost/array.hpp>
#include <boost/static_assert.hpp>
#include <string>
#i... |
e4a5e51209a9d8f42ad12d2133c1c98b0b0cb643e8f263ba56cd13d4fed2d48d | C++ | 1,154 | 37 | // 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... |
da8afce8a4f6ad939e7c05781d7d2ee3c0079dae771e917ce8bf999a2c65d288 | C++ | 1,155 | 39 | //
// cpp14/can_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)
//
... |
9286e0cc45b3123cbe0ddae9ac45ea471f6485fc0522de23612c90dea1068878 | C++ | 1,156 | 38 | //
// cpp11/can_prefer_not_applicable_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... |
d076b3ea45e002076fcea708a1e92d07506252991d6152a9f8ff099f24352332 | C++ | 1,156 | 55 | //
// placeholder_std_bind_test.cpp - std::bind with Boost's _1
//
// Copyright 2016 Peter Dimov
//
// 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/config.hpp>
#include <boost/config/pragma... |
2dc220777e98010a3bc886ede1e0282d211b57a255bacf4efadac10adef95260 | C++ | 1,158 | 39 | //
// cpp14/can_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)
/... |
7e1aa12f91bedadb4da3ea19dac03ec07e07563673b7afc35eabb4a8d4995374 | C++ | 1,158 | 42 | #include "helpers.h"
#include <atomic>
#include <catch2/catch.hpp>
#include <lsl_cpp.h>
#include <thread>
namespace {
TEST_CASE("simple timesync", "[timesync][basic]") {
auto sp = create_streampair(lsl::stream_info("timesync", "Test"));
double offset = sp.in_.time_correction(5.) * 1000;
CHECK(offset < 1);
CAPTURE... |
d24073f68dcfc3760d7bc00d7b96bd7b4f755e6c3344f04fe7a5bf49063495c3 | C++ | 1,158 | 38 | // 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... |
a0594217acdfab9a7fb8bd001b22f5b9be8b9b51c95bff7e91f376989d0be563 | C++ | 1,159 | 37 | #include <cmath>
#include <iostream>
#include <lsl_cpp.h>
#include <thread>
using Clock = std::chrono::high_resolution_clock;
int main(int argc, char** argv) {
try {
const char* name = argc > 1 ? argv[1] : "MultiStream";
const int rate = argc > 2 ? std::stoi(argv[2]) : 1000;
std::vector<lsl::stream_outlet> out... |
c20caa5a7c9c8a1541f95cd410d4e8452a8b9021d5efaebca258e938d131c915 | C++ | 1,159 | 38 | //
// cpp11/can_prefer_not_applicable_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... |
9ab97ab753434de025948d68b9f3cd230873464e610bf9e5374bddc51cbbefff | C++ | 1,161 | 50 | #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... |
7f52f085fbb311f23f958314934820f36c3cf0c71ec2132bc4c354d19503f4ec | C++ | 1,162 | 36 | //
// cpp14/can_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 <boo... |
065b2f27b56f4422a35164b493c9080b35571e3bee259e06d5f676dd8a6d70eb | C++ | 1,163 | 39 | //
// cpp14/can_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... |
96dc1e6889498001097ae68b04a3882097fd28d7e8dc05680fb50470a0a58aa7 | C++ | 1,163 | 37 | #include <cmath>
#include <iostream>
#include <lsl_cpp.h>
#include <thread>
using Clock = std::chrono::high_resolution_clock;
int main(int argc, char **argv) {
try {
const char *name = argc > 1 ? argv[1] : "MultiStream";
const int rate = argc > 2 ? std::stoi(argv[2]) : 1000;
std::vector<lsl::stream_outlet> out... |
363effc97691b39129cf4bedeac3913554de81971c91f655546fe7b7fcf67b32 | C++ | 1,164 | 51 | //
// deferred_3.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... |
fe6dc8a140d7a2280488eff915b7e057fd68d56b0e227f7ed413a22669657ef8 | C++ | 1,164 | 38 | // 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... |
eb025a814a1c22c4c7a3d76c14d8676ffd1ed77c7a9e2cf531711fc45e600165 | C++ | 1,167 | 39 | //
// cpp14/can_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)
//
#in... |
fbafeee5c81447b968d31caf749e14f5386365c9fd6aca5e7a3a441e7010602c | C++ | 1,167 | 27 | #include "sjdbLoadFromFiles.h"
#include "sjdbLoadFromStream.h"
#include "ErrorWarning.h"
#include "TimeFunctions.h"
void sjdbLoadFromFiles(Parameters &P, SjdbClass &sjdbLoci) {
if (P.pGe.sjdbFileChrStartEnd.at(0)!="-") {
for (uint ifile=0;ifile<P.pGe.sjdbFileChrStartEnd.size(); ifile++) {
ifst... |
7abb055801ec871ed883c8c33feb95e566da88dc874d4e8bf0b94ae106df2c6a | C++ | 1,168 | 36 | // 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... |
45fcc4171de5c12a1aeb22653895ac92569d6037de45f99c6a54594f0b1c9e27 | C++ | 1,170 | 39 | //
// cpp14/can_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)
//
#... |
db14ffb06e9879be0a779e3966b84a43d3dd5c30386464427a2baa009897faed | C++ | 1,170 | 38 | // 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... |
3057fc889fed65bca6949f5dec120c3b832bc875ec1b00d65b7415b3b83c9847 | C++ | 1,171 | 44 | /* tests for using boost::hash with 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 ... |
7a70bfed6f013c1fe70dfb9fee7b177c20381d3156c5303d349b3e8236be86d1 | C++ | 1,171 | 36 | //
// cpp14/can_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 <b... |
97f1c90d561d20fc616e148e5eb005fab46d1a81c3a7f89fa9bfbe9acd7d7be4 | C++ | 1,173 | 39 | #include <iostream>
#include <lsl_cpp.h>
#include <memory>
#include <string>
/**
* This example program demonstrates how a Marker string stream on the network (here of any name)
* can be resolved, and how the marker strings (assumed to be delivered at irregular rate) can be
* pulled from their source
*/
int main(... |
341b768eeb6ac5da5dd70d4b8263f792e1e8e2651d7a01db5405277cee5a733d | C++ | 1,174 | 42 | #include "cast.hpp"
#include <cstdint>
#include <iomanip>
#include <locale>
#include <sstream>
namespace lsl {
template <> std::string to_string(double val) {
std::ostringstream os;
os.imbue(std::locale::classic());
os << std::setprecision(16) << std::showpoint << val;
return os.str();
}
template <> std::string ... |
ae5fa34ee0096a8a780683d201850d152fc63eba46f8333d5c3d0eec91ab8404 | C++ | 1,174 | 44 | //
// cpp11/can_require_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)
//
#... |
39b711788429f8b837ca881ce1692390ed31dda896faf23cab097b29d4e7a5de | C++ | 1,175 | 52 | //
// blocking_udp_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... |
b8cbc4df7f0c1f4b283a8ceac5c82227296076756808a72d1f98611de50313e9 | C++ | 1,178 | 41 | //---------------------------------------------------------------------------//
// 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... |
49487ec1fa27d48292e279c5e3124ef1b292e4e038fccb3922d7811a341be15f | C++ | 1,181 | 41 | //---------------------------------------------------------------------------//
// 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... |
c5c7baee8a24a56d8c955aac20c1e1b72f02599a36f0fed5a72bd662aeddff59 | C++ | 1,184 | 39 | #include <iostream>
#include <lsl_cpp.h>
#include <memory>
#include <string>
/**
* This example program demonstrates how a Marker string stream on the network (here of any name)
* can be resolved, and how the marker strings (assumed to be delivered at irregular rate) can be
* pulled from their source
*/
int main(... |
d86a2c8f7bf18d9e0a4b31d02ea8361b0f3625b0bb436f2d3196e85b66045c09 | C++ | 1,185 | 41 | //---------------------------------------------------------------------------//
// 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... |
9a7766342c7385a7981bffe3fce881dfd04e2b0a7e5e34d1e45ca0b0b318fb30 | C++ | 1,186 | 38 |
/*
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 <type_traits>
#include <boost/callable_traits/detail/qualifier_flags.hpp>
#include "test.hpp"
using namespace boost::callable_tr... |
cf339ee101e8b1150e68eae573f54b3418b496701f3fcaabcbf52c2425b4012f | C++ | 1,186 | 45 | //
// cpp03/can_prefer_not_preferable_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.boos... |
efbee90f184c027439cc93bfc2ba39d18f5ef48b1f87798aacc1006dc18f4737 | C++ | 1,186 | 62 | //
// cpp11/query_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/qu... |
42a0fd723d98d08cee50cadcc09002a34189abddcc9e9c4ec7abebf46638b6af | C++ | 1,191 | 55 | #include <Eigen/Array>
USING_PART_OF_NAMESPACE_EIGEN
#ifndef SCALAR
#define SCALAR float
#endif
#ifndef SIZE
#define SIZE 10000
#endif
#ifndef REPEAT
#define REPEAT 10000
#endif
typedef Matrix<SCALAR, Eigen::Dynamic, 1> Vec;
using namespace std;
SCALAR E_VDW(const Vec &interactions1, const Vec &interactions2)
{
... |
4810e023fc6de8f60fb905de75bdc26643a226e23578deddec9b67d96a19abdc | C++ | 1,192 | 39 | //
// cpp14/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.... |
92b922319e88fd71bb7ad42eaa0d77641fd661ccaec366e6d9977764671d4ac0 | C++ | 1,192 | 57 | //
// cpp03/can_require_concept_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)... |
a174c80e08324381925072392b19b14a4051320e3c47f7f19a3789dda4b9a559 | C++ | 1,194 | 54 | #include "sequence.h"
#include "simd.h"
Sequence::Sequence(){
}
Sequence::Sequence(string* seq){
mStr = seq;
}
Sequence::~Sequence(){
if(mStr)
delete mStr;
}
void Sequence::print(){
std::cerr << *mStr;
}
int Sequence::length(){
return mStr->length();
}
string Sequence::reverseComplement(s... |
ea6dca448ee8fa34d82e80897847e1782b1606c795acaec58ab7e233c8ccbcbe | C++ | 1,194 | 33 | /////////1/////////2/////////3/////////4/////////5/////////6/////////7/////////8
// xml_oarchive.cpp:
// (C) Copyright 2002 Robert Ramey - http://www.rrsd.com .
// 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://w... |
f9af4d3eb5cdfc7d289b650dce9d7faf1d5299eff324d68e83f3da5fba0ac9ad | C++ | 1,194 | 33 | /////////1/////////2/////////3/////////4/////////5/////////6/////////7/////////8
// xml_iarchive.cpp:
// (C) Copyright 2002 Robert Ramey - http://www.rrsd.com .
// 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://w... |
369591f026e0d3af5efd3c45b39866e67ab9d1e18bf4ed9300d468e43655f076 | C++ | 1,195 | 39 | //
// cpp14/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... |
a1388e65107a475399b3e3ba7795319e1e35b13ecab4f0c9d419a228fe04fb4e | C++ | 1,195 | 34 | //=====================================================
// 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... |
01a4658fc66a6461fbf9ecdd8bc3df01c75a100036f7a8614cc2a0ddb308e43b | C++ | 1,197 | 53 | #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... |
8050d0867b52b63f451136b28a8a2935188e915136ba978ab5fef02a5e3d9f7b | C++ | 1,197 | 38 | //---------------------------------------------------------------------------//
// 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... |
526f194af7cbfb23c77bf73a0c3dc5a44f508d18b9e843b37d0d3fc1e8c731f3 | C++ | 1,199 | 52 | //
// 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 <iostream>
#include <boost/array.hpp>
... |
ff9ca9535a430c39a9bcb60ec4bf2518e78d810d184cfeeb6858907d09777b10 | C++ | 1,200 | 34 | //===----------------------------------------------------------------------===//
//
// 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.
//
//===----------------------------------------... |
343c869031d8346523e977aa29c9ad5a867703955ec8bac65fde78bb3b425b90 | C++ | 1,202 | 57 | //
// cpp03/can_require_concept_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)
//
... |
47bd6708297a2e981e7c03a105d4c0228cf3954c798b2a3871c3a71e6c9ad32b | C++ | 1,202 | 49 | #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... |
63a77dc075097751d5db796f906202fa29665383775645182d270ec2885ac125 | C++ | 1,203 | 56 | #include <iostream>
#include <Eigen/Core>
using namespace Eigen;
#ifndef SCALAR
#define SCALAR float
#endif
#ifndef SIZE
#define SIZE 10000
#endif
#ifndef REPEAT
#define REPEAT 10000
#endif
typedef Matrix<SCALAR, Eigen::Dynamic, 1> Vec;
using namespace std;
SCALAR E_VDW(const Vec &interactions1, const Vec &inter... |
505ebb27d5a45187a8f88bcf31275d15345fb0bb246949e7ac590fbd77a0fd29 | C++ | 1,204 | 47 | //
// cpp03/can_prefer_not_applicable_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/LICE... |
d1cbe3244d32eac3bc29d0d7bf282a7435bc9a39361a0bf2bae76d4a4a4f7453 | C++ | 1,204 | 39 | //
// cpp14/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... |
eae953127019eb0e23c6ab581a0728dea9fad0216ab1deab871932cacd7bc213 | C++ | 1,204 | 33 | /////////1/////////2/////////3/////////4/////////5/////////6/////////7/////////8
// text_iarchive.cpp:
// (C) Copyright 2002 Robert Ramey - http://www.rrsd.com .
// 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://... |
25f553dbc02a102b8557d64f11e1b79330c7bb2da29cea069c8d9a63e84fb219 | C++ | 1,205 | 34 | //=====================================================
// 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... |
2ba6cf2880e039e2da812adad6e44a4216ad791035f83650b03de91f08e0e28d | C++ | 1,205 | 33 | #include "funCompareUintAndSuffixesMemcmp.h"
#include <string.h> //for memcmp
char* g_funCompareUintAndSuffixesMemcmp_G;
uint64_t g_funCompareUintAndSuffixesMemcmp_L;
int funCompareUintAndSuffixesMemcmp ( const void *a, const void *b)
{
uint64_t* va= ((uint64_t*) a);
uint64_t* vb= ((uint64_t*) b);
if (va... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.