sha256 stringlengths 64 64 | language stringclasses 27
values | size int32 1 491k | lines int32 1 23.2k | content stringlengths 1 200k |
|---|---|---|---|---|
709a00dea36178be714426e1b727b8a348fb48fdda41a27502d0ff7fa9d176df | C++ | 5,719 | 213 | //---------------------------------------------------------------------------//
// 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... |
18c480df8c0773165026a78358d2ab218dab6ab417519b178b48add184521c9b | C++ | 5,720 | 187 | #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... |
c0e9eec6a92039b9db44c46b8e5d6158fb4a2070e0a5788893d4ec6f8d273981 | C++ | 5,728 | 164 | #include "ReadAlign.h"
#include "SequenceFuns.h"
#include "ErrorWarning.h"
uint64 ReadAlign::outputSpliceGraphSAM(Transcript const &trOut, uint nTrOut, uint iTrOut, ostream *outStream)
{
uint64 outStreamPos0=(uint64)outStream->tellp();
uint16 samFLAG=0;
if (readFilter=='Y')
samFLAG |= 0x200; //... |
db749e4d53a77324824e8086ca83517568146a2b6e69e8b78fe616e899d71948 | C++ | 5,728 | 205 | //heap.cpp
//////////////////////////////////////////////////////////////////////////////
// The heap index (return by the push() method) is a map from the grid //
// address to the index of heap's internal data representation. //
// ... |
3afd4da8d0da7ab18b1fa6a47117cc03941bf440d78bd1a6bd5d2470bf36dc83 | C++ | 5,747 | 189 | //
// daemon.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>
#include <... |
6352dc72a86d2a07578caf5b7710052b6274366479b53671e810d9a33398a6d1 | C++ | 5,747 | 160 | /** ReadAlign - one read, all alignments
*/
#include "IncludeDefine.h"
#include "Parameters.h"
#include "Transcript.h"
#include "ReadAlign.h"
#include "ErrorWarning.h"
void ReadAlign::storeAligns (uint iDir, uint Shift, uint Nrep, uint L, uint indStartEnd[2], uint iFrag) {//fill in alignment data
#ifdef OFF_BE... |
32e5427332cb2f203d4a947286e5913a99f00e2f70b6b73536d5fb8817d27ee3 | C++ | 5,748 | 138 | // 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 <gael.guennebaud@gmail.com>
//
// Eigen is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Publi... |
49a82bdec2907532081fd5c6f5fd9ead4b1f2fc295d8431e7123fc4bd2647e4c | C++ | 5,754 | 210 |
// g++ -DNDEBUG -O3 -I.. benchEigenSolver.cpp -o benchEigenSolver && ./benchEigenSolver
// options:
// -DBENCH_GMM
// -DBENCH_GSL -lgsl /usr/lib/libcblas.so.3
// -DEIGEN_DONT_VECTORIZE
// -msse2
// -DREPEAT=100
// -DTRIES=10
// -DSCALAR=double
#include <Eigen/Array>
#include <Eigen/QR>
#include <bench/BenchUt... |
bf4baf6c668d20a5522146e840df99c2d49d50964c09ceabb1cf928283155df7 | C++ | 5,754 | 173 | //
// blocking_token_tcp_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 ... |
64f22fc73010c2df2f4fc6985d99b1f6f50ea774e5ab908d7ae07c0f64edb77e | C++ | 5,778 | 196 | #include <boost/config.hpp>
#ifndef BOOST_MSVC
int main()
{
}
#else
#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 warnin... |
9e24879b0a44b2e1c91ad1b736dbed7bc70e4416fb5347d8f5c97314b43eb4e6 | C++ | 5,783 | 202 | // Boost string_algo library trim_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... |
dae7dbdf5a71e3065b6a4a57e2983497ea66cf7c6fb202168ded689dce0052fa | C++ | 5,788 | 212 |
// g++ -DNDEBUG -O3 -I.. benchEigenSolver.cpp -o benchEigenSolver && ./benchEigenSolver
// options:
// -DBENCH_GMM
// -DBENCH_GSL -lgsl /usr/lib/libcblas.so.3
// -DEIGEN_DONT_VECTORIZE
// -msse2
// -DREPEAT=100
// -DTRIES=10
// -DSCALAR=double
#include <iostream>
#include <Eigen/Core>
#include <Eigen/QR>
#in... |
5134339f861572cee4c329004169babe803cda181fa2dad60f7c59be5b10a034 | C++ | 5,796 | 131 | #include "SoloFeature.h"
#include "serviceFuns.cpp"
#include <math.h>
void SoloFeature::cellFiltering()
{
if (pSolo.cellFilter.type[0]=="None" || nCB<1) {//no filtering, or no cells to filter
return;
};
switch(featureType) {
default:
return; //filtering not done for o... |
14a7768de9a8e70f186ee027f082858a1f0d8ab5bd9f6791a18197406ef698c1 | C++ | 5,798 | 190 | //
// daemon.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>
#include <... |
8e5eb299bc20dc9ace52e59298ef5ce9bc59251f644717f16141f8007dd23ed9 | C++ | 5,802 | 204 | //
// posix_chat_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>
#inclu... |
30efe99300cde5857454ade2efee65d400033cf7380fa56725649d67b9aac35d | C++ | 5,814 | 185 | //
// 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
//
//------------------... |
803e47b89252c49279dabfbb96d9276afa8424ab5dfac85bf7882d3c04a969e4 | C++ | 5,829 | 200 |
// 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 fi... |
258d6c0b0fc2c0beb844e2a6a147c3b25916ab93cac379cc40be999622d265af | C++ | 5,830 | 204 | //
// async_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 <istre... |
ff2e02ef3ae80de7876feef81db79ab91702d82b029f7e6410f0f7b6a33ebf75 | C++ | 5,830 | 199 | //
// 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... |
b34c386081d5439b16738f38e6eeb28f61cbe8323a67ffa01ee9f040eedd842f | C++ | 5,836 | 141 | // (C) Copyright Marshall Clow 2018
// 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 <iterator> // for std::distance
#include <cassert> // for assert
#include <boost... |
9a3e2a72549835b44fb743d93385b3f57f5854c1a3de177b32a80d9eddf2fd16 | C++ | 5,839 | 257 | //
// bind_allocator.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... |
a4b789e519d0a6544c3e3f3ef244c147709f489bcba993872962954cf07a8686 | C++ | 5,855 | 186 | // This file is part of Eigen, a lightweight C++ template library
// for linear algebra.
//
// Copyright (C) 2008-2009 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... |
023408d518cb88cde638af122bce08dc5c27735d48fc67d3859d5d7d9575c7e6 | C++ | 5,912 | 151 | //===----------------------------------------------------------------------===//
//
// 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.
//
//===----------------------------------------... |
ef0ae83f5feed6b521ad71de729882b38756626807344c2fa7c1b1eeb9765ad1 | C++ | 5,913 | 180 | // (C) Copyright Eric Niebler 2005.
// 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 <iostream>
#include <vector>
#include <boost/utility/enable_if.hpp>
#include <boos... |
6936e7b9ea9b6efae4d043fb7cda09c1fa03279ccbc60928d364b3ca1abcd734 | C++ | 5,924 | 206 | //
// 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
//
//------------------... |
7cfaa9bade95f1cd94a76456c1d8f420a1548867e6a4c01ade5658c3e61ebba5 | C++ | 5,924 | 180 | // (C) Copyright Eric Niebler 2005.
// 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 <iostream>
#include <valarray>
#include <boost/utility/enable_if.hpp>
#include <bo... |
69cc6d08a2c3d42335d5438827a45e6fb2dfc13b846852fad351586a6891beb8 | C++ | 5,930 | 235 | //
// Copyright (c) 2013-2017 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 ... |
e0e163b836d55e1480d07430db117b413418004d10fb50717ba680917a619bd2 | C++ | 5,942 | 145 | // 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 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
//... |
ff6b27cb0e4b04b65c9cdfb7b92fcba99fef22c5506b1dcc35e2ec6086b00b04 | C++ | 5,945 | 224 | //---------------------------------------------------------------------------//
// 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... |
e7d917e938600dc9bc65e8f0e01202d798e01e8e406621cf1d5a328c8b5b8557 | C++ | 5,946 | 173 | /* Copyright (c) 2002-2005 CrystalClear Software, Inc.
* Use, modification and distribution is subject to the
* Boost Software License, Version 1.0. (See accompanying
* file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt)
* Author: Jeff Garland, Bart Garst
* $Date$
*/
#ifndef BOOST_DATE_TIME_SOURCE
#... |
eada1c9361089ab67f487f746074b2a8dcf5160d88f22aa410cbe3b3a3b4597e | C++ | 5,947 | 167 | /*
* 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)
*
* Copyright (c) 2011 Helge Bahmann
* Copyright (c) 2013-2014 Andrey Semashev
*/
/*!
* \file lockpool.cpp
*
* This file contains implementation of the ... |
abcd56c56e1563a940d5eaba91b81c419a11f480437f03880453a5b28143ba2a | C++ | 5,949 | 231 | // 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... |
8b827040dea37b460cbcaea0b255b98974a9840f6ef7bd82aaa7d4ad2c724335 | C++ | 5,951 | 160 | // 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 and ... |
1716cafc588199c3e7c0c189c7f3e75b1805bfe691941f17c70a5fa694b2ecaf | C++ | 5,956 | 187 | //
// stream_descriptor.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 fo... |
c1944f032d49c5dd20d38f8bd18ccf147d0be993a90bea1445afaa1ca614fc54 | C++ | 5,958 | 231 | /**
* Copyright 2017-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <pybind11/detail/common.h>
#include <pybind11/pybind11.h>
#include <torch/torch.h> // @manual=//caffe2:torch_ex... |
adb4aade745410f7a0dcbb6336fd1c7681cb7d0df2dc1e33d68c2b17360ca035 | C++ | 5,962 | 137 | // This file is part of Eigen, a lightweight C++ template library
// for linear algebra.
//
// Copyright (C) 2011 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... |
05b49621d64265e8a882f214f8882570ef0850118cbdfa9b128a8bcc66c70add | C++ | 5,964 | 168 | //---------------------------------------------------------------------------//
// 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... |
d736d66ccb848f086e3b731b003538095345b1b2778627026efe7a86dc0c5d90 | C++ | 5,983 | 141 | #include "SoloFeature.h"
#include "streamFuns.h"
#include "ErrorWarning.h"
#include "SoloFeatureTypes.h"
#include "serviceFuns.cpp"
void SoloFeature::loadRawMatrix()
{
//make directories
if (P.runModeIn.size()<3) {
string errOut = "Exiting because of fatal PARAMETER error: --runMode soloCellFilteri... |
80d2fcafb7cc4cb7bbe936c8b2564baaf4fa65267c7e3da7fdb255addcaea72f | C++ | 5,993 | 151 | // 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... |
e02193308f6765bb2c4fc65b9c2ba8795cb2bc449156048fb296672634af7cd9 | C++ | 5,993 | 138 | // This file is part of Eigen, a lightweight C++ template library
// for linear algebra.
//
// Copyright (C) 2009-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
// License as published by the Free So... |
7125bb7de17ceec9443a1d12296e8e1b56b7200872b40f92ccefa8486da9f9bd | C++ | 5,998 | 138 | /*
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
Test non-string cases; vector and list
*/
#include <boost/config.h... |
5608e214bbab7902dded0d80e27ac0f7701f4d5622462a76a904c17f5be68b59 | C++ | 6,004 | 149 | // 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... |
dafc8806c1173e8bb8a0ee5bb455b4c655f6a4d2b246cffaf2f8962505644eb7 | C++ | 6,006 | 247 |
#include <iostream>
#include <Eigen/Geometry>
#include <bench/BenchTimer.h>
using namespace Eigen;
using namespace std;
template<typename Q>
EIGEN_DONT_INLINE Q nlerp(const Q& a, const Q& b, typename Q::Scalar t)
{
return Q((a.coeffs() * (1.0-t) + b.coeffs() * t).normalized());
}
template<typename Q>
EIGEN_DONT_... |
1875fa2202cf2292413807fd8560cd819eeeb9218c22c108b842be6b4b5e4c39 | C++ | 6,017 | 242 | //
// 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 ... |
4c036ab16eca1665d280a9e3ada4e07cce592f64b5df9a5646d6ee12c3ae982a | C++ | 6,017 | 315 | //
// request_parser.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 "request_parser.hpp"
#... |
b86bf4ec21a4b927895b4943644ea54e2a3499ec660e396810507d4a06ee6b95 | C++ | 6,028 | 232 | // Boost string_algo library iterator_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... |
18be7bec8ff780df8935b268e671b50631a4c95eb1cf5b61a6d39f96be115c43 | C++ | 6,045 | 277 | #include "emitterstate.h"
#include "exceptions.h"
namespace YAML
{
EmitterState::EmitterState(): m_isGood(true), m_curIndent(0), m_requiresSeparation(false)
{
// start up
m_stateStack.push(ES_WAITING_FOR_DOC);
// set default global manipulators
m_charset.set(EmitNonAscii);
m_strFmt.set(Auto);
m_boolFm... |
ba7b351fe7ef1fe893152baaab735709e81b58f17b0dade79c6dd5f50479fb22 | C++ | 6,050 | 191 | // (C) Copyright Jonathan Turkanis 2003.
// 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://www.boost.org/libs/iostreams for documentation.
// To configure Boost to work with zlib, see the
// installa... |
cc39e7c0a687d05f3e733ff9b08babaf16f5aaabd68e006ba084c709a60b69f2 | C++ | 6,056 | 187 | //
// 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.hpp>
#include <boost/bind/... |
33b8849428a29740c59d5dc7cad752ffb2db0ecf4a328c22ec67b588eed46dce | C++ | 6,076 | 157 | // 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... |
44675e8c87cd0c2e4546c45ef203171650715603eca4eaf9e026dae49b8cac19 | C++ | 6,091 | 218 |
//g++ -O3 -g0 -DNDEBUG sparse_product.cpp -I.. -I/home/gael/Coding/LinearAlgebra/mtl4/ -DDENSITY=0.005 -DSIZE=10000 && ./a.out
//g++ -O3 -g0 -DNDEBUG sparse_product.cpp -I.. -I/home/gael/Coding/LinearAlgebra/mtl4/ -DDENSITY=0.05 -DSIZE=2000 && ./a.out
// -DNOGMM -DNOMTL
// -I /home/gael/Coding/LinearAlgebra/CSparse/... |
4b7a8c5d5c5701a36abf1e4070c9d6313e96321a8a86be3463e84691ab49a7ac | C++ | 6,095 | 233 |
//g++-4.4 -DNOMTL -Wl,-rpath /usr/local/lib/oski -L /usr/local/lib/oski/ -l oski -l oski_util -l oski_util_Tid -DOSKI -I ~/Coding/LinearAlgebra/mtl4/ spmv.cpp -I .. -O2 -DNDEBUG -lrt -lm -l oski_mat_CSC_Tid -loskilt && ./a.out r200000 c200000 n100 t1 p1
#define SCALAR double
#include <iostream>
#include <algor... |
4222f9c3a95d1c4cf6cea59fe9aa20fac7dedc4030e6d82c0218313f78b3246a | C++ | 6,114 | 220 |
//g++ -O3 -g0 -DNDEBUG sparse_product.cpp -I.. -I/home/gael/Coding/LinearAlgebra/mtl4/ -DDENSITY=0.005 -DSIZE=10000 && ./a.out
//g++ -O3 -g0 -DNDEBUG sparse_product.cpp -I.. -I/home/gael/Coding/LinearAlgebra/mtl4/ -DDENSITY=0.05 -DSIZE=2000 && ./a.out
// -DNOGMM -DNOMTL
// -I /home/gael/Coding/LinearAlgebra/CSparse/... |
95d1434115dd79ce83d46e62f5777b201b4de377e55b7c16ccb1a90ed06080b0 | C++ | 6,120 | 240 | //
// third_party_lib.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>
#in... |
bce6c5cd11d3b3ddac00f21e3058945c0139c678bdf0b453ce24d55de2677537 | C++ | 6,122 | 170 | #include "ReadAlignChunk.h"
#include <pthread.h>
#include "ErrorWarning.h"
ReadAlignChunk::ReadAlignChunk(Parameters& Pin, Genome &genomeIn, Transcriptome *TrIn, int iChunk) : P(Pin), mapGen(genomeIn) {//initialize chunk
iThread=iChunk;
if ( P.quant.yes ) {//allocate transcriptome structures
chunkTr=... |
a56600e0e2f17a2899e7be4259dd361bad328e0137309638f3a382fb1086a026 | C++ | 6,125 | 285 | //
// Copyright (c) 2016-2017 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... |
6161b57d85dcf18f12f01e4a8a225f3104a890091542676eb57775ebf9d98610 | C++ | 6,127 | 176 | // This file is part of Eigen, a lightweight C++ template library
// for linear algebra.
//
// 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
// License as published by the Free Softwar... |
7738ea108876ab12619ddfe6a6316707e3e4be19d1ddffbc44ec40f0497c0985 | C++ | 6,129 | 214 | /**
* Copyright (c) 2016-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include "meter.h"
#include "utils.h"
#include <algorithm>
#include <cmath>
#include <iomanip>
#include <limits... |
24eeb8bc1d04ca55385536c4ac6ac4765eb183f9f1ede1d02f3df9d85dd0c9ce | C++ | 6,139 | 249 | //
// chat_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 <algorithm>
#include <cstdli... |
90528f56ff60b117003e63d27bac3e485bd9d6f74e660a07264490da34e2fd7e | C++ | 6,139 | 157 | #include "Variation.h"
#include "streamFuns.h"
#include "SequenceFuns.h"
#include "TimeFunctions.h"
#include "serviceFuns.cpp"
#include "ErrorWarning.h"
Variation::Variation (Parameters &Pin, vector <uint> &chrStartIn, map <string,uint> &chrNameIndexIn, bool yesVar) : P(Pin), chrStart(chrStartIn), chrNameIndex(chrName... |
4d6cf8dd43bec2d94c730794ffd89aac57fea184e94743a909c78281bd740948 | C++ | 6,148 | 151 | // 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 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
//... |
f216b3d0e21256b9334e32dff5a510e5ae0a67430a0d3484ce1f5ddb56599893 | C++ | 6,156 | 165 | // This file is part of Eigen, a lightweight C++ template library
// for linear algebra.
//
// Copyright (C) 2008 Gael Guennebaud <gael.guennebaud@inria.fr>
// 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 ... |
506a86fdd447d42ca7ae69f5285d1afaf67d62df07aeeb7b65c74bb64c6776fc | C++ | 6,159 | 192 | //
// blocking_tcp_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/... |
257d728a7e4c849d89922485927103ace232d2600978fc8d45ba0039ece2fb0c | C++ | 6,166 | 157 | // 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... |
2bb05df7d1665f86c7ce0667e94fdaa8910c0d806565faece0af4fe54c681e3b | C++ | 6,174 | 102 | #include "sjdbInsertJunctions.h"
#include "sjdbLoadFromStream.h"
#include "sjdbLoadFromFiles.h"
#include "sjdbPrepare.h"
#include "ErrorWarning.h"
#include "GTF.h"
#include "sjdbBuildIndex.h"
#include "streamFuns.h"
#include "genomeParametersWrite.h"
void sjdbInsertJunctions(Parameters & P, Genome & mapGen, Genome & m... |
a23b5dbb34dd35cfc793831be1131fb4a43efba5d7db8821f05fe53a590cd383 | C++ | 6,184 | 159 | #include "SoloFeature.h"
#include "streamFuns.h"
#include "TimeFunctions.h"
#include "SequenceFuns.h"
#include "serviceFuns.cpp"
#include "soloInputFeatureUMI.h"
void SoloFeature::countSmartSeq()
{
time_t rawTime;
//nCB=pSolo.cbWLsize; //all cells are recorded
//nCB, indCB are recorded in sumThre... |
907470bc1bbe2a9f24f5f782ebf6e4a8b1a35b9e87e4a11d85fcbc4ae1bf1583 | C++ | 6,204 | 187 | // 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... |
268ef022101bf8eef9c690c7eb7ec76791c76c1ba01dc346c1ed9b48044fc86a | C++ | 6,205 | 215 | // #define EIGEN_TAUCS_SUPPORT
// #define EIGEN_CHOLMOD_SUPPORT
#include <Eigen/Sparse>
// g++ -DSIZE=10000 -DDENSITY=0.001 sparse_cholesky.cpp -I.. -DDENSEMATRI -O3 -g0 -DNDEBUG -DNBTRIES=1 -I /home/gael/Coding/LinearAlgebra/taucs_full/src/ -I/home/gael/Coding/LinearAlgebra/taucs_full/build/linux/ -L/home/gael/Co... |
b54edb4d7226c76fb2049028c505ef8b6104e96ee91e0c12f1713a975c28f472 | C++ | 6,209 | 240 | // 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... |
e26f05ed98ea4349ef30999bad44d093ae669ab0ad9227c6627b9a23a463352f | C++ | 6,217 | 164 | // This file is part of Eigen, a lightweight C++ template library
// for linear algebra.
//
// Copyright (C) 2008-2010 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 ... |
8c26c21398d8b85217250e540f27a6bbb4f59f436c20322794b545abc3058623 | C++ | 6,234 | 251 | /**
* Copyright (c) 2016-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include "productquantizer.h"
#include <algorithm>
#include <iostream>
#include <numeric>
#include <stdexcept>
... |
9c9fd352d4a1c29c20387fcdd81796ded244d88b6af3a6344ddf93aaf2ec3421 | C++ | 6,234 | 315 | //
// request_parser.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 "request_parser.hpp"
#... |
4206f8452c6af139c3440c62266f0489924bb8c68c0fc92323be41770697c1eb | C++ | 6,236 | 315 | //
// request_parser.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 "request_parser.hpp"
#... |
86818ada54dffc74f75cc08d52347ee479bee226e6981ba393e52fd9181be8b4 | C++ | 6,236 | 315 | //
// request_parser.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 "request_parser.hpp"
#... |
1c6dc8506dfa7aeb69f25228040752c6e5f8a271293e2fb7320ce54bb0dc0e8e | C++ | 6,237 | 161 | // 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... |
976172225290cfd606a04ac634d335829178b31244539cf67dcdbe91d728ed90 | C++ | 6,244 | 191 | //
// blocking_tcp_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/... |
20c51b5d9d5a8a90bda9e887b887b5874af1afd646ef510e2120d03b5083abb0 | C++ | 6,260 | 216 | // #define EIGEN_TAUCS_SUPPORT
// #define EIGEN_CHOLMOD_SUPPORT
#include <iostream>
#include <Eigen/Sparse>
// g++ -DSIZE=10000 -DDENSITY=0.001 sparse_cholesky.cpp -I.. -DDENSEMATRI -O3 -g0 -DNDEBUG -DNBTRIES=1 -I /home/gael/Coding/LinearAlgebra/taucs_full/src/ -I/home/gael/Coding/LinearAlgebra/taucs_full/build/lin... |
b93293d940709185401e8939af48644de36ea1848de28ebe67c2010521c4871c | C++ | 6,263 | 237 | //---------------------------------------------------------------------------//
// 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... |
32eeafaaf9f2c7a06ded7f45b76a7a13ed2ec795311e1c2c17cddda784db7773 | C++ | 6,279 | 223 | //---------------------------------------------------------------------------//
// 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... |
dca3e576e189e1d1424078f0efde8e53f7345cef90debc59315cbf7954847a5f | C++ | 6,313 | 219 | // g++ -O3 -DNDEBUG -I.. -L /usr/lib64/atlas/ benchBlasGemm.cpp -o benchBlasGemm -lrt -lcblas
// possible options:
// -DEIGEN_DONT_VECTORIZE
// -msse2
// #define EIGEN_DEFAULT_TO_ROW_MAJOR
#define _FLOAT
#include <iostream>
#include <Eigen/Core>
#include "BenchTimer.h"
// include the BLAS headers
extern "C" {... |
e88cd59ccd90a8a7f368d1a8dbff9e41d71fdac1693d4d5597de66f2c39b4993 | C++ | 6,323 | 185 | #include "adaptertrimmer.h"
#include "matcher.h"
#include "simd.h"
AdapterTrimmer::AdapterTrimmer(){
}
AdapterTrimmer::~AdapterTrimmer(){
}
bool AdapterTrimmer::trimByOverlapAnalysis(Read* r1, Read* r2, FilterResult* fr, int diffLimit, int overlapRequire, double diffPercentLimit) {
OverlapResult ov = OverlapAna... |
2e4fa1ab2a10a90ad1ec2db3761e7888680be006edaa0ad4f36bad1e35c04251 | C++ | 6,333 | 162 | // 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... |
05496faffe881e692036b9fa2aad4f5bc43baee35d516d55c9a29285d18eb90e | C++ | 6,334 | 182 | #include "resolve_attempt_udp.h"
#include "api_config.h"
#include "resolver_impl.h"
#include "socket_utils.h"
#include <boost/asio/ip/multicast.hpp>
#include <loguru.hpp>
#include <sstream>
using namespace lsl;
namespace asio = lslboost::asio;
using err_t = const lslboost::system::error_code &;
resolve_attempt_udp::r... |
e7d977c01df22c6e7b21d83533c02e885b9b4d9d7ac138b1603337d00304e8df | C++ | 6,335 | 157 | /////////1/////////2/////////3/////////4/////////5/////////6/////////7/////////8
// xml_wgrammar.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... |
2bbd102382e06dfdb6366d3e061013bcbfefb5104ce94a9e15ce0d896d00d471 | C++ | 6,345 | 248 | // 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... |
0f75b8de539502d8be1984badc5818454c6f021dbbb799f17da5ea4a3c4013f5 | C++ | 6,347 | 161 | #include "Transcript.h"
bool Transcript::convertGenomeCigar(Genome &genOut, Transcript & A)
{
auto &coBl=genOut.genomeOut.convBlocks;
auto cBit=coBl.begin();
cBit = std::upper_bound(cBit, coBl.end(), array<uint64,3> {gStart,0,0},
[](const array<uint64,3> &t1, const array<u... |
da84f5a70b9ae7665de854554dee7ddbf11889862d122acd25d6fe374c7cd667 | C++ | 6,348 | 152 | #include "SoloBarcode.h"
#include "serviceFuns.cpp"
#include "SoloCommon.h"
#include "SequenceFuns.h"
#include "ParametersSolo.h"
void wlAddMismatches(uint32 nMM, uint32 cbLen, vector<uintCB> &wl, vector<uintCB> &wlEd1, vector<uint32> &wlInd1);
void SoloBarcode::sortWhiteList(ParametersSolo *pSolo)
{
totalSize=0;... |
89007d29f1d2abebc2e284eaab8e4af81eaf5a4d7927ede5afe2b0236144c272 | C++ | 6,361 | 203 | //
// blocking_token_tcp_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 ... |
4927888afbb279f4549b387e20d0658a84f4935198a35150201876fda66ea7fd | C++ | 6,364 | 194 | /*
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 <boost/config.hpp>
#include <boost/algorithm/hex.hpp>
#... |
49e4c78f9512adf7fb21835e3bd9948efb8406c8c917bef2a4f5f9797c057d52 | C++ | 6,367 | 223 | //
// 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
//
//------------------... |
eb3854981bc92ab648763b2783e8b5f83d026c2d9a42cc9842bd8ddfd3a19afc | C++ | 6,379 | 123 | // This file is part of Eigen, a lightweight C++ template library
// for linear algebra.
//
// Copyright (C) 2008-2009 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... |
83b91ff3347eae94c8c51b45e474a52e5bf1998e6a78982790efec9958c69608 | C++ | 6,384 | 232 | #include <string>
#include <sstream>
#include <iostream>
#include <fstream>
#include <iomanip>
#include <map>
#include <list>
using namespace std;
// this function takes a line that may contain a name and/or email address,
// and returns just the name, while fixing the "bad cases".
std::string contributor_name(const ... |
6c7d9250fbb1b72b38c67ce16d3b4ea1f3f47ced34a8388e30f3daa601729985 | C++ | 6,387 | 138 | //#include "blocksOverlap.h"
#include "ChimericDetection.h"
#include "ChimericSegment.h"
#include "ReadAlign.h"
int chimericAlignScore (ChimericSegment & seg1, ChimericSegment & seg2)
{
int chimScore=0;
uint chimOverlap = seg2.roS>seg1.roS ? (seg2.roS>seg1.roE ? 0 : seg1.roE-seg2.roS+1) : (seg2.roE<seg1.roS ?... |
de56a79d08b3acd6156a1dd4e46011e358e3a3f09aa8559e4192d53bef81f4a8 | C++ | 6,409 | 221 | //---------------------------------------------------------------------------//
// 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... |
47fd266eac3d6efab88703e26fba9697d407566a545ff8808a1f469acd875a90 | C++ | 6,420 | 172 | #include "jsonreporter.h"
JsonReporter::JsonReporter(Options* opt){
mOptions = opt;
mDupHist = NULL;
mDupRate = 0;
}
JsonReporter::~JsonReporter(){
}
void JsonReporter::setDup(double dupRate) {
mDupRate = dupRate;
}
void JsonReporter::setInsertHist(atomic_long* insertHist, int insertSizePeak) {
... |
97ed9b0ca976f674aeef7e9ba68997f56cd6a24aea922fe131d524536e4a92fd | C++ | 6,421 | 158 | #include <cstdint>
#include <memory>
#include "draco/compression/decode.h"
#include "draco/mesh/mesh_stripifier.h"
namespace {
struct FreeDeleter {
void operator()(void *p) const { ::free(p); }
};
/// Lookup table that maps numbers 0 to 255 to the index of the first non-zero
/// bit, or 0 if all bits are 0.
conste... |
827a78ac8d33748e193f036b944f65f30c0a60a6e79b998b74e41491e5425ed7 | C++ | 6,423 | 205 | //
// generic/seq_packet_protocol.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)
//
// Di... |
21e49b0d86d661c8e463d024c41950ecda8b35e460ee508f4b077cb5a48c7e21 | C++ | 6,435 | 209 | //---------------------------------------------------------------------------//
// 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... |
82eac2eb482d478c7f3ae0d3f477b7d61eb3c4bdb60218774ae1de587e57df1c | C++ | 6,451 | 252 | //
// set_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)
//
// Disable autolinking for unit tests.
#i... |
9d769797c1bd81edca8afbd6c884b1ce359017541141c243b2eab97cdc5de6eb | C++ | 6,458 | 291 | // SharedMemory.cpp
// Gery Vessere - gvessere@illumina.com, gery@vessere.com
// An abstraction over both SysV and POSIX shared memory APIs
#include "SharedMemory.h"
#include <sstream>
#include <sys/mman.h>
#include <sys/shm.h>
#include <sys/stat.h> /* For mode constants */
#include <fcntl.h> /* For O... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.