sha256
stringlengths
64
64
language
stringclasses
27 values
size
int32
1
491k
lines
int32
1
21.8k
content
stringlengths
1
200k
3375b308aceeaa61e8de002e69467f0e3851f40cba2a2b43d279bbc0e483dc4c
C++
2,444
61
//---------------------------------------------------------------------------// // 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...
b68bbafc236df0cf37f194c378c0d63d5c3859ef165c7188783cd31d2fb67a41
C++
2,444
65
/* Contact ythomas@csail.mit.edu or msabuncu@csail.mit.edu for bugs or questions */ /*========================================================================= Copyright (c) 2008 Thomas Yeo and Mert Sabuncu All rights reserved. Redistribution and use in source and binary forms, with or without modification, are ...
12cc0bcacbdba3db3a67f2a672b7c9fa37ec969955c7140e41f31b3f32f20272
C++
2,446
118
// // assert_msg_test2.cpp - a test for BOOST_ASSERT_MSG and NDEBUG // // Copyright (c) 2014 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/detail/lightweight_test.hpp> #inc...
7cf487e07c3d27376c2cb8af33d02239b7966623875d37b7aa0259e927a9c2f6
C++
2,448
57
// Copyright 2006, Google Inc. // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: // // * Redistributions of source code must retain the above copyright // notice, this list of conditions ...
1e80f38ce33158922b725a830abdefa134bd3b0250963fd5a6fee97766da2212
C++
2,449
99
// 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...
9e27c05b79953220af5c4d3b0db962bc9b1907f8c4ef805055b28de7705986ca
C++
2,452
96
//---------------------------------------------------------------------------// // 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...
d82d8b72914897232c2ff9fd091a7b0add68b7cf75f3f210d3a487ebeea84cfe
C++
2,456
85
// Copyright 2006, Google Inc. // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: // // * Redistributions of source code must retain the above copyright // notice, this list of conditions ...
ec85814925658b89bf17b210c10bd88da2f11e0ec0394818eb61cf70df4708bf
C++
2,463
74
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2011 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 // License as published by the Free Softwar...
7ebd8d6489dbbb06b1e927998e4a85fe334cca8d1f840709f97ac22dc8a51d7b
C++
2,465
98
// // sender.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 <sstream> #include...
d703604c2efe7cabbcbb74e87da9c81b65b2ba7ae9a0544423058ba01fe1c31b
C++
2,471
82
// 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...
23742e3af586286404eb7670b7e21dc4ba1327c56c787b1e4f8f5fd441dcafe9
C++
2,476
84
// // 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 // //----------...
3f5155e7077199c0fa615e1e5fa41153b3229d8ad79c41331c51bb93904749d4
C++
2,476
85
// (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 <utility> #include <functional> #include <boost/config.hpp> #include <boost/a...
9becc92747e1267e3e9b8cf396cd69e6fb1520d9c024c2a8f8373e8fd87d7822
C++
2,478
113
// 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...
19bdb843f70f0cd5dba63e0935a1667cfa6dadc2f3e206973c75e5774cf20272
C++
2,479
115
// NpxExtractor.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include <iostream> #include <stdlib.h> #include "NpxExtractorPXI.h" #include "NpxExtractor3a.h" #include "JuceHeader.h" #include <Windows.h> #define NPXv1 0 #define NPXv2 1 int main(int argc, char* argv[]) { const...
77808dd6dfee6f60569fb7c31f0c402afbefe2417743091d2ec89b7c5c996fc3
C++
2,481
72
//---------------------------------------------------------------------------// // 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...
5000ef8c8a035134b61eff9745f868f1b7d5c9d88800eda8cb41c3884be14445
C++
2,483
75
//---------------------------------------------------------------------------// // 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...
1aa080441241c4ceb59ed7893a2b7b020b47b85683e41ab18bc27a1df6d69213
C++
2,484
93
#include "IncludeDefine.h" #include "Parameters.h" #include "Transcript.h" #include "extendAlign.h" bool extendAlign( char* R, char* G, uint rStart, uint gStart, int dR, int dG, uint L, uint Lprev, uint nMMprev, uint nMMmax, double pMMmax, bool extendToEnd, Transcript* trA ) { // find the maximum score int iS,iG; i...
6f6cab06e016654ff813eed277ee2886c097156375f0cd79b5623dc432b61c19
C++
2,485
74
#include <chrono> #include <iostream> #include <lsl_cpp.h> #include <stdint.h> #include <thread> int main(int argc, char **argv) { std::cout << "ReceiveDataInChunks" << std::endl; std::cout << "ReceiveDataInChunks StreamName max_buflen flush" << std::endl; std::cout << "- max_buffered -- duration in sec (or x100 s...
b2cb576f728a2b467600282c0dc9fa2d6ffb0dc044ec19103a1a3034210ee7e5
C++
2,487
119
// // 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 <...
b3b32ba19b041b9ea41781b5a61fd74bb26d192e2cb17d37d581ee821425456b
C++
2,490
94
// 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...
fe3b96eba6865159f6a1e0248854960bba2466f091d730251134fe1f349c9711
C++
2,492
90
// io_ex1.cpp ----------------------------------------------------------// // Copyright 2010 Howard Hinnant // Copyright 2010 Vicente J. Botet Escriba // Distributed under the Boost Software License, Version 1.0. // See http://www.boost.org/LICENSE_1_0.txt /* This code was adapted by Vicente J. Botet Escriba f...
38c76b6966138b36177552769d91e8f42063b3c99d19c014b2b72e80372198ce
C++
2,493
75
//---------------------------------------------------------------------------// // 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...
6a16ec6b3f1d90e88dc667a92859f25918a03e4f05c99a02cedd73f860bccc90
C++
2,494
92
// Copyright 2021 Peter Dimov // Distributed under the Boost Software License, Version 1.0. // https://www.boost.org/LICENSE_1_0.txt #include<boost/bind/apply.hpp> #include<boost/bind/bind.hpp> #include <boost/core/lightweight_test.hpp> #include <boost/config.hpp> #include <boost/config/pragma_message.hpp> #if define...
7e648000f1b0fedd6a4728be5b8e3653553257f966b38d70421e19184b12addf
C++
2,497
64
//===================================================== // File : main.cpp // Author : L. Plagne <laurent.plagne@edf.fr)> // Copyright (C) EDF R&D, lun sep 30 14:23:28 CEST 2002 //===================================================== // // This program is free software; you can redistribute it and/or // modify it ...
81055274a7b091efb4fec3ecadb302c9136bdc214a5d9f3b198ef0d49f66df2b
C++
2,497
75
//---------------------------------------------------------------------------// // 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...
1c54b0f781ee1fbe2f4b2d3971f1886fb949c7eb206e740c10947c09794d0e3e
C++
2,498
94
// // daytime_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 <array> #include <futu...
d048186d0fec5bc91acd4aeae17177e7a505af80c407522f0c1050e6d803b408
C++
2,499
73
//---------------------------------------------------------------------------// // 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...
dc106c5940d87bb4bbef3d77815eab642ee173a3340b2b9c532b5c711c4c2d0e
C++
2,502
68
// Copyright 2005, Google Inc. // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: // // * Redistributions of source code must retain the above copyright // notice, this list of conditions ...
2357e54bc071945a03571dc2978a2407220a8e398f356572417770892bc56e53
C++
2,509
99
// // bind_no_placeholders_test.cpp - test for BOOST_BIND_NO_PLACEHOLDERS // // Copyright (c) 2001, 2002 Peter Dimov and Multi Media Ltd. // Copyright (c) 2001 David Abrahams // Copyright (c) 2015 Peter Dimov // // Distributed under the Boost Software License, Version 1.0. // See accompanying file LICENSE_1_0.txt...
7918eb7b62d7ee085153e88be2545a45d284319662dc5063dd911b0e42655d71
C++
2,509
88
#include "umiprocessor.h" UmiProcessor::UmiProcessor(Options* opt){ mOptions = opt; } UmiProcessor::~UmiProcessor(){ } void UmiProcessor::process(Read* r1, Read* r2) { if(!mOptions->umi.enabled) return; string umi; if(mOptions->umi.location == UMI_LOC_INDEX1) umi = r1->firstIndex();...
75051077e5d786c7e31984832f75a8f5b07d446dd476c779e5d5e1febc5b9d53
C++
2,513
75
//---------------------------------------------------------------------------// // 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...
b806370ea0859d6693609326b849de33d160bfafa3d7195743f6593b05839554
C++
2,518
118
// To use the simple FFT implementation // g++ -o demofft -I.. -Wall -O3 FFT.cpp // To use the FFTW implementation // g++ -o demofft -I.. -DUSE_FFTW -Wall -O3 FFT.cpp -lfftw3 -lfftw3f -lfftw3l #ifdef USE_FFTW #include <fftw3.h> #endif #include <vector> #include <complex> #include <algorithm> #include <iterator>...
6130edc4917d8deadb7882c9ee6c359b3fc3038d432e3ddc0eaccb2469df39a7
C++
2,519
71
//---------------------------------------------------------------------------// // 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...
c3cc755ecf5c49e350e007385b3348c0171c371a04ea99fe0a1f2a520f884a86
C++
2,525
74
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2008 Gael Guennebaud <gael.guennebaud@inria.fr> // // Eigen 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 Soft...
8f16e099e6e0cf693d06f35c576bf1592492d230f7ac7650f334b0a6886612d6
C++
2,530
64
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2009 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 // License as published by the Free Softwar...
611754d7e77b3be8417580b4130af71b8985b78c7901fed41d6ffaf645f88ab3
C++
2,531
81
/* Copyright (c) Marshall Clow 2010-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) For more information, see http://www.boost.org */ #include <string> #include <boost/algorithm/searching/boyer_moo...
0b95f86176517a5c0752a2c983919510ea0c2654b406f3ed94d5208801142b9a
C++
2,532
121
// // stream_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 <array> #include <cstdio...
1073f434781a7b4106415720359d7656a05bb0e214b9c218e4224e8c6ef095d4
C++
2,535
139
#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...
be153dd50bff1cab30a46ae3c9e965ef31b2127cabf8ad97be8c3227f75ecdc6
C++
2,537
69
#include "helper_type.hpp" #include "helpers.h" #include <atomic> #include <catch2/catch.hpp> #include <list> #include <lsl_cpp.h> #include <string> #include <thread> template<typename T> struct sample_value {}; template<> struct sample_value<char> { static constexpr char val = 122; }; template<> struct sample_value<i...
6ebbc27917b6858c7bf9bc528683106177c09e6ff818cd4941754e12daca9980
C++
2,539
98
// 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...
7aebd919008e99e6ed500ec76db1fae1246d219f2de1fb7577ad23b496f6ca25
C++
2,542
90
// // 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 "server.hpp" #include <boost/thread/th...
f8cbf75d8bf9e9ae068a17ff968434c3aec7b7f1137c994d8f14af1a84361aa9
C++
2,542
56
// Copyright 2009, Google Inc. // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: // // * Redistributions of source code must retain the above copyright // notice, this list of conditions ...
6cc79d3876c481fd0e00d6c7874b7f39bf7d581eb925e721877ed8b87c1c773e
C++
2,543
94
//---------------------------------------------------------------------------// // 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...
fadb6dabc6c1cce1149145227d1e7b5802b0b51a17ffbf77a390b4aadd3ca634
C++
2,544
62
#include <Eigen/Array> int main(int argc, char *argv[]) { std::cout.precision(2); // demo static functions Eigen::Matrix3f m3 = Eigen::Matrix3f::Random(); Eigen::Matrix4f m4 = Eigen::Matrix4f::Identity(); std::cout << "*** Step 1 ***\nm3:\n" << m3 << "\nm4:\n" << m4 << std::endl; // demo non-static set....
4cf1c18787fb4825faa8cefe46b89c155a800304c2171b36c9e38f76533d6cec
C++
2,547
65
// Copyright (c) 2020-2021 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/memory_order.hpp> #include <boost/config.hpp> #include...
8f81d31345c4a790114152f2be7bb85cc4b575ce40f2808760e4a097841fe871
C++
2,547
114
// // tcp_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 <boost/asio/io_context.hpp> #i...
9de7b81f3bd5250ea502c139605920a7b5b32d2aa0c1e85363a57e6af1e8d072
C++
2,548
86
// 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...
ab4e5cf36183644f51f9dab52bf3a2fc4e01fadf836e60c543cbdfa4ae948b1e
C++
2,548
122
// // reference_counted.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>...
cfa4abc9c1c7160f009166b4b3b0aaea2b4709b54189c44e8ce2f9da18f9391e
C++
2,548
70
#include "../common/create_streampair.hpp" #include "../common/lsltypes.hpp" #include <atomic> #include <catch2/catch.hpp> #include <list> #include <lsl_cpp.h> #include <string> #include <thread> // clazy:excludeall=non-pod-global-static template <typename T> struct sample_value { static const T val; }; template <> c...
698c978a1cb208c69d17c1ab593843eaa278df7d492f47cc9716716fb1c2074e
C++
2,549
74
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. Eigen itself is part of the KDE project. // // Copyright (C) 2008 Gael Guennebaud <g.gael@free.fr> // // Eigen is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // Licens...
eedc4249057ca177bb75944c95596f42dcd2f5a30eed5bdd23db182696ee2911
C++
2,550
61
#include "annotate_intervals.h" #include <vector> #include <set> #include <cstring> #include <limits> #include "intervaltree/IntervalTree.h" #include "boost/icl/interval_map.hpp" #include "bgmg_log.h" int64_t annotate_intervals(int num_snp, int64_t* posvec, int num_interval, int64_t *interval_start, int64_t* interva...
1ccbbb9906165f35558f70f5ea49abc03d8fc3da38f89829473398b3990726b2
C++
2,551
64
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2009 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 // License as published by the Free Softwar...
0ee382bf0893fa90e0f3aa6b3f650ac6cfc1f0e46b05bf7a6ecf19115d6c7e09
C++
2,553
108
// 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...
cc55efa9b00b9b8b2079466d3f2be6f0c327228d6ae7f8ceeaa114c526ec2e75
C++
2,563
86
//---------------------------------------------------------------------------// // Copyright (c) 2016 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...
bcd1d502a1c60a3abe74df0d860d667778b2af878f60d557965328ff532d3833
C++
2,566
63
#include "Transcript.h" #include "SequenceFuns.h" string Transcript::generateCigarP() {//generates CIGARp string for the transcript with "p" operation for PE reads //p is a special CIGAR operation to encode gap between mates. This gap is negative for overlapping mates. string CIGAR; stringstream samStreamCIG...
7194d2ee1aba35e58991a6eb767631076ebaa6f74c90c88f3cbfce3d3cc8018e
C++
2,567
95
// // 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 ...
568b0649a81fda433e581a20699a079ebb440ae700f76ed3b5008c51deb7851c
C++
2,570
69
// (C) Copyright 2006 Eric Niebler, Olivier Gygi // 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_...
f26c023a1dc304685bf684e38ef27012e8d7ddbcecd498c9001bf0865b032ce1
C++
2,574
100
//---------------------------------------------------------------------------// // 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...
f2b790ec7dfd43f972a1d4407736e1ab19c29f013c2a3f84e883497cefbd7e2b
C++
2,577
108
// // assert_is_void_test.cpp - tests BOOST_ASSERT_IS_VOID // // Copyright (c) 2015 Ion Gaztanaga // // 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> // default case, !NDEBUG // BO...
ac37bf003a50f22fc0d0c09db8fdcaae41f9a3eca361b98802015fc8c103a3dc
C++
2,580
74
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2009 Gael Guennebaud <g.gael@free.fr> // // Eigen is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Found...
fcc83253ca9dad8e115e8e55c2b96180c8a000d1d261d12f3eb3b7e2d6c6e7a2
C++
2,582
79
// min_time_point.cpp ----------------------------------------------------------// // Copyright 2008 Howard Hinnant // Copyright 2008 Beman Dawes // Copyright 2009 Vicente J. Botet Escriba // Distributed under the Boost Software License, Version 1.0. // See http://www.boost.org/LICENSE_1_0.txt /* This code wa...
cb25949ea5f7199baf799c3c30b718686b157c6d9cf4c5e7433df821841d1a14
C++
2,585
95
#include <OneWire.h> #include <DallasTemperature.h> //28FF6C4C6D140489 /******************************************************** * PID Basic Example * Reading analog input 0 to control analog PWM output 3 ********************************************************/ #include <PID_v1.h> #define PIN_INPUT 0 ...
284c4ce54742277366763522f085c1aa6b9fae95c6313e499742cdc815302c8c
C++
2,592
91
// // http_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 <istream...
5445b4971136e9047cf0c08b85a34057ce08fde1b559d559b7e0f7c6a849c442
C++
2,593
89
// 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...
0609ac61f9e14cae331bf7694fd3845f7d637a2ad51b12a24a7e2d6314774c17
C++
2,594
84
/* Copyright (c) Marshall Clow 2014. 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 <iostream> #include <functional> #include <boost/config.hpp...
43e42849f3b04cb84e847f6afa9280b4aa27fef00dfe3ebeae57f319454125ff
C++
2,597
91
// // http_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 <istream...
60c88589d487c26bf115281512b5564971f83ce030efb807a179fae2f06e3495
C++
2,600
91
// // http_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 <istream...
8652b4f8cef4c90ce479683e462dcc2e36699df0c97cc879a9f322afba35f4c5
C++
2,603
66
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2009 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 // License as published by the Free Softwar...
22b11b06dfb5d38a870e43077570738f837984ba9a8b35698644ed91b3a1250a
C++
2,604
77
/* Copyright (c) Marshall Clow 2011-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) For more information, see http://www.boost.org */ #include <iostream> #include <boost/config.hpp> #include <boost...
bf481b24eb823c21969faaf1bbf11a8877f5d4ed8677a026fe836a20c10ce394
C++
2,605
102
// 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...
ce9135bc1667d4f623ce3b773149fa5bd8b293da71487bd37051be33c511fe91
C++
2,607
102
// // fd_passing_stream_client.cpp // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // // Copyright (c) 2003-2022 Christopher M. Kohlhoff (chris at kohlhoff dot com) // Copyright (c) 2021 Heiko Hund (heiko at openvpn dot net) // // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or c...
5e67c743c62501a818052fd4d8cc4f6fb09978f2ed9ee313bcd69c4ad57c7389
C++
2,611
86
// 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...
f6cf4a3ae57f1547a040d23580abe1a13fd698ae43d24832f41ac579cc69d7e3
C++
2,614
81
// g++ -O3 -DNDEBUG -I.. -fopenmp benchOpenMP.cpp -o benchOpenMP && ./benchOpenMP 2> /dev/null // icpc -fast -fno-exceptions -DNDEBUG -I.. -openmp benchOpenMP.cpp -o benchOpenMP && ./benchOpenMP 2> /dev/null #include <omp.h> #include "BenchUtil.h" #include "basicbenchmark.h" // #include <Eigen/Core> // #include "Ben...
8707a1a3a4c81bc379ee8d73812aa6f5fb343d5dfbc90c2f78f28e7197df8e27
C++
2,617
94
// // parallel_grep.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/detached.hpp...
66a56122bb7a5670310266859f266cb1141cb79589a1ac254cd2074493e68195
C++
2,618
80
//---------------------------------------------------------------------------// // 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...
345eb60958af8d288d33286ac12e23ff4ffaf6d9c7fadc723f9c9c6776c82cd0
C++
2,619
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...
7eef9aff0e634b3cedf2a69e400f055d01e4ea645114fda772ab0c4704b87f28
C++
2,619
54
/* Copyright (c) Marshall Clow 2010-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) For more information, see http://www.boost.org */ #include <string> #include <iostream> // for cout, etc #inc...
884c8666715b3ba0110fb1fab2951a70efbafc679738dbe5125faf5e22d03125
C++
2,619
63
// 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...
7221b7d131dc0afafd257e56f151a3279842bc7e24f93cb761570a95641be697
C++
2,629
100
// 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) /***************************************************************************** Boost.MultiIndex *...
10451cf0f4aa073268a3acba93717564a7bab7222b07a895f2d5f1fdc00af171
C++
2,631
69
// BSD 3-Clause License // // Copyright (c) 2019, Karan Aggarwal (karan@iisc.ac.in) // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // // 1. Redistributions of source code must retain the a...
354bff67c9e1ae432f29af74742f533848e8ec496ae807b45bfa994afc7580b9
C++
2,631
93
// // receiver.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> #incl...
0887370fde45bc42ef4a00349fa62ed38e7528dd98ae9fd24bf90b366f72c827
C++
2,635
84
//---------------------------------------------------------------------------// // 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...
6bf4e19457d4f24cf6f36858a3a809cebc6ff28b37d8df7b6b62607716d92e32
C++
2,635
104
#include "nucleotidetree.h" #include <sstream> NucleotideNode::NucleotideNode(){ count = 0; base = 'N'; memset(children, 0, sizeof(NucleotideNode*)*8); } NucleotideNode::~NucleotideNode(){ for(int i=0; i<8; i++) { if(children[i]) delete children[i]; } } void NucleotideNode::dfs(...
13e156b299db233fa1f00c6f8ea8555db04bcf2ccfa01728fef3e070c9e791d9
C++
2,636
63
// 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...
a90a67cebf7999a5df44232e2ba6dddd598b241e59813750ac8cc2b1d28b23ac
C++
2,639
99
// // connection.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 "connection.hpp" #include <vec...
c5fdc5ac5a8d3bc55518093439a7fefa51c2c18eed013a08d61ea5a776a4dc9c
C++
2,640
63
#include "Transcriptome.h" #include "serviceFuns.cpp" void Transcriptome::geneCountsAddAlign(uint nA, Transcript **aAll, vector<int32> &gene1) { gene1.assign(quants->geneCounts.nType,-1); if (nA>1) { quants->geneCounts.cMulti++; } else { Transcript& a=*aAll[0];//one unique alignment o...
4b554dacac69093fe380eb04cf2b76d9e9f1c2cd178c280f7d99df02f8d37c26
C++
2,642
101
// // daytime_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 <boost/asio.hpp> #incl...
6d3fcb9fb42c27c4c4e2d62e165b54438bf44c7172abb588c57ee6e59244b5a8
C++
2,655
75
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. Eigen itself is part of the KDE project. // // Copyright (C) 2008 Gael Guennebaud <g.gael@free.fr> // // Eigen is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // Licens...
d8b55ca7818edcfb01f409c64d93e13b770a7fa1ae0563ef651e0127f4911ae9
C++
2,663
63
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // 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 Public // License as published by the Free So...
7e426e3b9e304aa42db25a37c7262583e38de00891c935f13ecb1827ccce6936
C++
2,668
75
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. Eigen itself is part of the KDE project. // // Copyright (C) 2008 Gael Guennebaud <g.gael@free.fr> // // Eigen is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // Licens...
6a1a49d64912d9829ef3d991faf5a3f0e1e081126a1d8d387cdfa84fab70dc77
C++
2,669
68
// Copyright 2008, Google Inc. // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: // // * Redistributions of source code must retain the above copyright // notice, this list of conditions ...
277d86fd20bf07f4220fe4ae899c78f5b92af8beed00c6f495e72a4653a986ec
C++
2,674
106
/* 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_allocator.hpp> #include <boost/align/is_aligned.hpp> #include <boost/core/lightweight_test.hpp> #include <cstring> template<st...
152f21ed214a4513632fb18772e4ef5f29bd9e86b9e1e404d29dde003f032f65
C++
2,675
94
// // 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 "server.hpp" #include <boost/bind/bind...
f89424d22ab01fe11f81b8bf9f8279eced8ddee857292e14043d3bddd24eeeeb
C++
2,680
85
// (C) Copyright Michael Glassford 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 <boost/winapi/config.hpp> #include <boost/thread/detail/config.hpp> #if defined...
97e7c12e6db99432d80c956b1b0a70db743f9eb000121a31f2781170144584a2
C++
2,681
78
// // 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 ...
3c7d0f0e142452fb6d5654245e90c4483b458678106de0d0b03cff1181e2dd0c
C++
2,687
94
// // 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 "server.hpp" #include <signal.h> #incl...
21c601db36b9c7c562d20b53753482ef28ec955604e2ac3aed62b674a5c6af01
C++
2,688
84
/////////1/////////2/////////3/////////4/////////5/////////6/////////7/////////8 // codecvt_null.cpp // Copyright (c) 2004 Robert Ramey, Indiana University (garcia@osl.iu.edu) // Andrew Lumsdaine, Indiana University (lums@osl.iu.edu). // Use, modification and distribution is subject to the Boost Software // License, ...
d2c2c427b3b55f7105130bc3a69e3f792cbbcd87e97dff9256c0248124ae5891
C++
2,695
90
// // 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 ...
ea9c48b54c84c63f470e3bff0594e0d49dd3864778f64152e6aa18aa20da062c
C++
2,698
94
// Boost string_algo library conv_test.cpp 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...
f20e9d534646993c6956fe2afa9a29c1f77610c00f79bd4b5ee4c2a519c95a86
C++
2,699
90
//---------------------------------------------------------------------------// // 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...