sha256
stringlengths
64
64
language
stringclasses
28 values
size
int32
1
491k
lines
int32
1
23.2k
content
stringlengths
1
200k
29b8b0b3c981ce6bcd89ff19a9305bc99219ffe1ce4df971410b02e6f74bd621
C/C++
1,748
41
// 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...
32bed2d97a90819d2177c78b551bbad09b3039f9977ee7faaa54ee19a0a1cdd5
C/C++
1,748
65
/* Copyright Rene Rivera 2008-2015 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) */ #ifndef BOOST_PREDEF_ARCHITECTURE_ALPHA_H #define BOOST_PREDEF_ARCHITECTURE_ALPHA_H #include <boost/predef/version_number.h> #include...
5ef43fa0ee578958d3eafc0cd7060462e15c8b28221b7f57e7567f20e38af348
C/C++
1,748
61
/* Copyright Rene Rivera 2008-2015 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) */ #ifndef BOOST_PREDEF_COMPILER_PGI_H #define BOOST_PREDEF_COMPILER_PGI_H #include <boost/predef/version_number.h> #include <boost/pred...
33b80b28666815b65df4e8fcb27ec6c1f2751f7cdbcec1ccbfcc644ab52801fe
C/C++
1,754
64
/* Copyright Rene Rivera 2008-2015 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) */ #ifndef BOOST_PREDEF_COMPILER_MPW_H #define BOOST_PREDEF_COMPILER_MPW_H #include <boost/predef/version_number.h> #include <boost/pred...
8dc8282e456ddbb660dd54f8c24bf700febe5b7bf64ebd493cc44ad5e660e46f
C/C++
1,754
60
#define chkder_log10e 0.43429448190325182765 #define chkder_factor 100. namespace internal { template<typename Scalar> void chkder( const Matrix< Scalar, Dynamic, 1 > &x, const Matrix< Scalar, Dynamic, 1 > &fvec, const Matrix< Scalar, Dynamic, Dynamic > &fjac, Matrix< Scalar, Dynami...
a8c0ccb3aa3b11815cd748c27656d349ae726705adb85e0b09782dc7e2f6887f
C/C++
1,759
59
/* Copyright Rene Rivera 2008-2015 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) */ #ifndef BOOST_PREDEF_LIBRARY_STD_STLPORT_H #define BOOST_PREDEF_LIBRARY_STD_STLPORT_H #include <boost/predef/library/std/_prefix.h> ...
857fe97174457d23f74d626c7877eac84cb3b41287200334cf4442bc568d56e2
C/C++
1,765
50
/* Singly Linked List of Blocks */ // This data structure should be used only for the GCoptimization class implementation // because it lucks some important general functions for general list, like remove_item() // The head block may be not full // For regular 2D grids, it's better to set GCLL_BLOCK_SIZE to 2 // ...
891252fd9c40ec2681b1745c8bbb37baecc6332a4a7fcbaabb2f694df98c92ca
C/C++
1,772
60
/* Copyright Rene Rivera 2008-2015 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) */ #ifndef BOOST_PREDEF_LIBRARY_STD_STLPORT_H #define BOOST_PREDEF_LIBRARY_STD_STLPORT_H #include <boost/predef/library/std/_prefix.h> ...
79c4517b71ed8c01400c4f62ffeac824a86e43f248db890bbd76f731e058f6c6
C/C++
1,774
58
/* Copyright Ruslan Baratov 2017 Copyright Rene Rivera 2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) */ #ifndef BOOST_PREDEF_PLAT_IOS_H #define BOOST_PREDEF_PLAT_IOS_H #include <boost/predef/os/ios.h> // BOOST_OS...
e89c595bb331930c883fb29e45d6e66747e48801fa623bcd672a9c30a5fa0a0a
C/C++
1,781
51
#pragma once #ifndef TESTS_H_62B23520_7C8E_11DE_8A39_0800200C9A66 #define TESTS_H_62B23520_7C8E_11DE_8A39_0800200C9A66 #include <string> namespace Test { void RunAll(); namespace Parser { // scalar tests void SimpleScalar(std::string& inputScalar, std::string& desiredOutput); void MultiLineScalar(std::strin...
97131daf28fe99301015d8bd988b793dfd88e14e52a559ca80a3a57141773032
C/C++
1,789
67
// (C) Copyright 2018, Nanbo Sun (nanbosun@u.nus.edu), Xiuming Zhang // This file is part of POLARLDA-C. // POLARLDA-C is free software; you can redistribute it and/or modify it under // the terms of the GNU General Public License as published by the Free // Software Foundation; either version 2 of the License, or (a...
eb8cbc49168e3f26bd4647bd8046285c35bac9316c4463536fb32ed1e2e8237e
C/C++
1,793
67
/* Copyright Rene Rivera 2008-2015 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) */ #ifndef BOOST_PREDEF_ARCHITECTURE_SUPERH_H #define BOOST_PREDEF_ARCHITECTURE_SUPERH_H #include <boost/predef/version_number.h> #inclu...
682ebf83ca4512ad90ca03e553edde16f19f3fdca41c2dfab14d790b5e604801
C/C++
1,798
67
/* Copyright Rene Rivera 2008-2015 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) */ #ifndef BOOST_PREDEF_ARCHITECTURE_SPARC_H #define BOOST_PREDEF_ARCHITECTURE_SPARC_H #include <boost/predef/version_number.h> #include...
969f7776a6b45617c9f15c20a0adaff21731741407a838f4367c0ada1380d5fe
C/C++
1,799
69
/****************************************************************************** * * file: HelpVisitor.h * * Copyright (c) 2003, Michael E. Smoot . * All rights reverved. * * See the file COPYING in the top directory of this distribution for * more information. * * THE SOFTWARE IS PROVIDED _AS IS...
01f9b53d253123f2853a5c878aa4d500c558a98620218c25b85d847e37baac7b
C/C++
1,800
68
/****************************************************************************** * * file: Constraint.h * * Copyright (c) 2005, Michael E. Smoot * All rights reverved. * * See the file COPYING in the top directory of this distribution for * more information. * * THE SOFTWARE IS PROVIDED _AS IS_, WITHOU...
4a014e0413d500603c1017a262ab891ada1df2e036c462b89abc5db3c955167c
C/C++
1,800
49
#include <stdint.h> #include <stddef.h> #if defined(_MSC_VER) #define __restrict__ __restrict #endif /*** * These functions compute fast successive differences, and recover the original * values from the fast successive differences (i.e., they compute a prefix sum) * using fast SIMD instructions. * * Reference : * Da...
f235c571637fb092c62d50b463d628660c527773b8ecf50d34e1d4d43898293b
C/C++
1,807
67
/* Copyright Rene Rivera 2012-2015 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) */ #ifndef BOOST_PREDEF_OS_BSD_FREE_H #define BOOST_PREDEF_OS_BSD_FREE_H #include <boost/predef/os/bsd.h> /*` [heading `BOOST_OS_BSD_FR...
df73b14e50d4a502ff4f98b57122589fb3b7c1384712122317aa5aaba72ecb26
C/C++
1,808
66
/* Copyright Rene Rivera 2008-2015 Copyright Franz Detro 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) */ #ifndef BOOST_PREDEF_OS_MACOS_H #define BOOST_PREDEF_OS_MACOS_H /* Special case: iOS will define the same ...
36e623b26fd1dfc902f8f738e281b2652ba6193cc31721f3d5d3f0cc1f6019b9
C/C++
1,813
65
/* Copyright Rene Rivera 2008-2015 Copyright Franz Detro 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) */ #ifndef BOOST_PREDEF_OS_MACOS_H #define BOOST_PREDEF_OS_MACOS_H /* Special case: iOS will define the same ...
c64ffb293343f03b5c24bce87557e344c2e28efdebf6cd62ecbed03c68bae05a
C/C++
1,815
48
/* Author: James Bonfield (jkb@sanger.ac.uk) Copyright (c) 1995-1996 MEDICAL RESEARCH COUNCIL 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 above c...
834cb2d59d8cd605642d10359be78df78704dd597f9b51d9fc548bb024d93d73
C/C++
1,822
43
// 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...
654291a7741e796d1fabdc7b7aa94ba539d5ec4ed619b66f8bc187e8b21ec91d
C/C++
1,823
80
#pragma once #ifndef STREAM_H_62B23520_7C8E_11DE_8A39_0800200C9A66 #define STREAM_H_62B23520_7C8E_11DE_8A39_0800200C9A66 #include "noncopyable.h" #include "mark.h" #include <deque> #include <ios> #include <string> #include <iostream> #include <set> namespace YAML { static const size_t MAX_PARSER_PUSHBACK = 8; cl...
bef14c73c9e4630af328334d81554d008f41f07ba00351ec44b3f606ef4d8263
C/C++
1,832
53
#pragma once #include <iomanip> #include <string> #include <plog/Util.h> namespace plog { class CsvFormatter { public: static util::nstring header() { return PLOG_NSTR("Date;Time;Severity;TID;This;Function;Message\n"); } static util::nstring forma...
b0b32eb746f5a6c29a130215e2e95f9440c6359580c70a3dd674a010d2871c40
C/C++
1,838
65
namespace internal { template <typename Scalar> void covar( Matrix< Scalar, Dynamic, Dynamic > &r, const VectorXi &ipvt, Scalar tol = sqrt(NumTraits<Scalar>::epsilon()) ) { typedef DenseIndex Index; /* Local variables */ Index i, j, k, l, ii, jj; bool sing; Scalar temp; ...
03b0a29b23a8ff1857482d42d18b5fb5daa6e893dec69040c5292b5859cf7307
C/C++
1,844
60
/* Copyright James E. King III, 2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) */ #ifndef BOOST_PREDEF_PLAT_WINDOWS_UWP_H #define BOOST_PREDEF_PLAT_WINDOWS_UWP_H #include <boost/predef/make.h> #include <boost/pred...
1b37efb942aedfd2c3f771726ddf35aaf45bc10ce0bef9a6b1a6e9a66dec94e8
C/C++
1,846
63
/* Copyright Rene Rivera 2008-2015 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) */ #ifndef BOOST_PREDEF_PLAT_MINGW32_H #define BOOST_PREDEF_PLAT_MINGW32_H #include <boost/predef/version_number.h> #include <boost/pred...
c13e818aa1f1a199990a80f36f08ee3192a7df41a5725fb4869ceec0b542d317
C/C++
1,846
71
/* Copyright Charly Chevalier 2015 Copyright Joel Falcou 2015 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) */ #ifndef BOOST_PREDEF_HARDWARE_SIMD_PPC_H #define BOOST_PREDEF_HARDWARE_SIMD_PPC_H #include <boost/predef/v...
8ac2c8185a38a39212e678b58d93c07d2e3e7cf3e98bacbf10daf2f7c619f2f9
C/C++
1,853
63
/* Copyright Rene Rivera 2008-2015 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) */ #ifndef BOOST_PREDEF_COMPILER_BORLAND_H #define BOOST_PREDEF_COMPILER_BORLAND_H #include <boost/predef/version_number.h> #include <bo...
8148ae90911c01aeb04add1857afe512499db3c951dfc23f2685f365bd2a1761
C/C++
1,854
85
/* ------------------------------------------------------------------ This file is part of the Open Ephys GUI Copyright (C) 2017 Open Ephys ------------------------------------------------------------------ This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Pub...
74bf44af9fe7c2264010dfcdea0d2cf24b5dbab6ac2abf495618b84e9fd820bb
C/C++
1,855
63
/* Copyright Rene Rivera 2008-2015 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) */ #ifndef BOOST_PREDEF_PLAT_MINGW64_H #define BOOST_PREDEF_PLAT_MINGW64_H #include <boost/predef/version_number.h> #include <boost/pred...
c58a5df6fe802f4ba4e170123e139045dcdb92c8ccea164399dfddef4578721e
C/C++
1,855
69
/* Copyright Rene Rivera 2012-2015 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) */ #ifndef BOOST_PREDEF_OS_BSD_FREE_H #define BOOST_PREDEF_OS_BSD_FREE_H #include <boost/predef/os/bsd.h> /* tag::reference[] = `BOOST_...
eaaf08827edcfeadd842feac4c9ad4904025cd7bf27cb0d597ff18c6ca137941
C/C++
1,860
65
#ifndef XORSHIFT128PLUS_H #define XORSHIFT128PLUS_H #include <stdint.h>// life is short, please use a C99-compliant compiler #ifdef __cplusplus extern "C" { #endif /* Keys for scalar xorshift128. Must be non-zero These are modified by xorshift128plus. */ struct xorshift128plus_key_s { uint64_t part1; uint64_t...
d6833251fcfcfc85b3aecabe5a0a08a76f0a34432b9fd3981d734fe583967623
C/C++
1,861
65
/* Copyright Rene Rivera 2011-2015 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) */ #ifndef BOOST_PREDEF_ARCHITECTURE_CONVEX_H #define BOOST_PREDEF_ARCHITECTURE_CONVEX_H #include <boost/predef/version_number.h> #inclu...
3cec6723beb314a8b0397e543c59173c4edbd6958162553d6473dfb081ab5d73
C/C++
1,864
69
/* Copyright Charly Chevalier 2015 Copyright Joel Falcou 2015 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) */ #ifndef BOOST_PREDEF_HARDWARE_SIMD_PPC_H #define BOOST_PREDEF_HARDWARE_SIMD_PPC_H #include <boost/predef/v...
d39ed002c0c4a65dc2d8c12039b9a6fc80088e06512e182a874c5ffda2c93b32
C/C++
1,866
64
/* Copyright Rene Rivera 2008-2015 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) */ #ifndef BOOST_PREDEF_COMPILER_BORLAND_H #define BOOST_PREDEF_COMPILER_BORLAND_H #include <boost/predef/version_number.h> #include <bo...
c6807ec55304d4ac7681005d67db5dd1cec3595c62fc991da50cbd48dcc3f881
C/C++
1,868
73
// (C) Copyright 2018, Nanbo Sun (nanbosun@u.nus.edu) // This file is part of MMLDA-C. // MMLDA-C is free software; you can redistribute it and/or modify it under // the terms of the GNU General Public License as published by the Free // Software Foundation; either version 2 of the License, or (at your // option) any...
f43cf1784435173268b42195f57618fa1d78c538947ae3788224c4cd361403c9
C/C++
1,869
64
/* Copyright Rene Rivera 2008-2015 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) */ #ifndef BOOST_PREDEF_PLAT_MINGW32_H #define BOOST_PREDEF_PLAT_MINGW32_H #include <boost/predef/version_number.h> #include <boost/pred...
7220422b18b747f895e31c08b682b5f2ec67a48bd273cf2864f1166e597b0ea0
C/C++
1,871
74
// -*- Mode: c++; c-basic-offset: 4; tab-width: 4; -*- /****************************************************************************** * * file: VersionVisitor.h * * Copyright (c) 2003, Michael E. Smoot . * All rights reverved. * * See the file COPYING in the top directory of this distribution for * ...
7e1a3438eafa815b1eb9517dfc42986b63c924e7a4f1527f86add5c455d7653b
C/C++
1,872
63
#ifndef CONSUMER_QUEUE_H #define CONSUMER_QUEUE_H #include "common.h" #include "forward.h" #include <boost/lockfree/spsc_queue.hpp> #include <condition_variable> #include <mutex> namespace lsl { /** * A thread-safe producer-consumer queue of unread samples. * * Erases the oldest samples if max capacity is exceeded...
20d0d60cd547d6427fde9dfb5c32a8a8b465aad1bfb8c0bad05e4242e74dac17
C/C++
1,877
76
/* Copyright Rene Rivera 2008-2015 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) */ #ifndef BOOST_PREDEF_OS_UNIX_H #define BOOST_PREDEF_OS_UNIX_H #include <boost/predef/version_number.h> #include <boost/predef/make.h>...
eeeae1a2228a7574cd8972e01384755727a53c36e2eb8e3387e1b49a43a0453a
C/C++
1,878
64
/* Copyright Rene Rivera 2008-2015 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) */ #ifndef BOOST_PREDEF_PLAT_MINGW64_H #define BOOST_PREDEF_PLAT_MINGW64_H #include <boost/predef/version_number.h> #include <boost/pred...
6498378c75350f47a852614e65c14e40b5761d5d51704fbe0ecc03c2f7153567
C/C++
1,879
104
#pragma once #ifndef EMITTERMANIP_H_62B23520_7C8E_11DE_8A39_0800200C9A66 #define EMITTERMANIP_H_62B23520_7C8E_11DE_8A39_0800200C9A66 #include <string> namespace YAML { enum EMITTER_MANIP { // general manipulators Auto, // output character set EmitNonAscii, EscapeNonAscii, // string manipulators /...
24c8bd3ca48537abea304b7df7b439e8e762851acf119e2e42c1ff1b34abe30c
C/C++
1,883
43
#pragma once #ifndef SCANSCALAR_H_62B23520_7C8E_11DE_8A39_0800200C9A66 #define SCANSCALAR_H_62B23520_7C8E_11DE_8A39_0800200C9A66 #include <string> #include "regex.h" #include "stream.h" namespace YAML { enum CHOMP { STRIP = -1, CLIP, KEEP }; enum ACTION { NONE, BREAK, THROW }; enum FOLD { DONT_FOLD, FOLD_BLOCK, ...
cee2d2657359d2e48176f47808bda16ec2ce525ce11d57f7f07d43b972ac3c63
C/C++
1,889
78
/* Copyright Rene Rivera 2008-2015 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) */ #ifndef BOOST_PREDEF_OS_UNIX_H #define BOOST_PREDEF_OS_UNIX_H #include <boost/predef/version_number.h> #include <boost/predef/make.h>...
69b333ff8e62e352be75c7a3a954e86ea4c4bac7b3810a5b81825312b7b3c5ef
C/C++
1,890
64
/* Copyright Rene Rivera 2008-2015 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) */ #ifndef BOOST_PREDEF_ARCHITECTURE_PARISC_H #define BOOST_PREDEF_ARCHITECTURE_PARISC_H #include <boost/predef/version_number.h> #inclu...
e511e737f3e207afca918f644998e9f48766d058e8d6eb27a6c41158b2726626
C/C++
1,896
61
/** * @license * Copyright 2016 Google Inc. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
c3b577efce6a84703cc5d5f4c74354f3c5b3e0175a65afd7940a66d76db18bbf
C/C++
1,907
59
#ifndef INFO_RECEIVER_H #define INFO_RECEIVER_H #include "common.h" #include "forward.h" #include <condition_variable> #include <mutex> #include <thread> namespace lsl { class inlet_connection; /** Internal class of an inlet that is responsible for retrieving the info of the inlet. * * The actual communication run...
50dae8a9d6f51cf42a96e1a85a4f6a4c45d75091fe0f595ed4cb64a48aec2611
C/C++
1,911
66
/* Copyright Rene Rivera 2008-2015 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) */ #ifndef BOOST_PREDEF_COMPILER_COMPAQ_H #define BOOST_PREDEF_COMPILER_COMPAQ_H #include <boost/predef/version_number.h> #include <boos...
e34c39f841cb5b6fd5d6a216109ba6f4f487be4207ed480d3a97fba73a5b84ae
C/C++
1,920
66
/* Copyright Rene Rivera 2008-2015 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) */ #ifndef BOOST_PREDEF_COMPILER_GREENHILLS_H #define BOOST_PREDEF_COMPILER_GREENHILLS_H #include <boost/predef/version_number.h> #inclu...
c4072d4671571b47503786effcd19f39597f3df1ca9f96f3f9fab057dec30fd8
C/C++
1,922
66
/* Copyright Rene Rivera 2008-2015 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) */ #ifndef BOOST_PREDEF_COMPILER_SGI_MIPSPRO_H #define BOOST_PREDEF_COMPILER_SGI_MIPSPRO_H #include <boost/predef/version_number.h> #inc...
602ecdc4ce118c49062b1490f48ab37eeb2cc5a4ad87ed4d7c34a0f379ba77c6
C/C++
1,924
67
/* Copyright Rene Rivera 2008-2015 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) */ #ifndef BOOST_PREDEF_COMPILER_COMPAQ_H #define BOOST_PREDEF_COMPILER_COMPAQ_H #include <boost/predef/version_number.h> #include <boos...
bdc4dc87eee859c8211f5bb26c99bd2d3efc4019e49250a9200c8efb5696f507
C/C++
1,925
74
/****************************************************************************** * * file: CmdLineOutput.h * * Copyright (c) 2004, Michael E. Smoot * All rights reverved. * * See the file COPYING in the top directory of this distribution for * more information. * * THE SOFTWARE IS PROVIDED _AS I...
a7e5eb6758ff2483486fd49df8e6be9a46155e79a51e536a7d6658cdaf8d2487
C/C++
1,931
60
#ifndef INFO_RECEIVER_H #define INFO_RECEIVER_H #include "common.h" #include "forward.h" #include <condition_variable> #include <mutex> #include <thread> namespace lsl { class inlet_connection; class stream_info_impl; /** Internal class of an inlet that is responsible for retrieving the info of the inlet. * * The ...
ffba4cd196264890085d45696076b93cedebc4b9ed9c0a7f27113bcd36df4553
C/C++
1,931
67
/* Copyright Rene Rivera 2008-2015 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) */ #ifndef BOOST_PREDEF_COMPILER_SGI_MIPSPRO_H #define BOOST_PREDEF_COMPILER_SGI_MIPSPRO_H #include <boost/predef/version_number.h> #inc...
f20490a1f2e8f1884a2d1866bca4ca6d8aa498d03f241a68714ec4956989fe56
C/C++
1,933
67
/* Copyright Rene Rivera 2008-2015 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) */ #ifndef BOOST_PREDEF_COMPILER_GREENHILLS_H #define BOOST_PREDEF_COMPILER_GREENHILLS_H #include <boost/predef/version_number.h> #inclu...
7a7bf9a0fbd2401e8b2cb554bfcb9bd0ed228212f3b970675c1b1d38d4e188bb
C/C++
1,937
43
// 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 ...
0ee0035df43fdc3bb5f0d2af7f10c0a6715755dd9fd2d25049d6c410c6873b13
C/C++
1,944
61
/* Copyright James E. King III, 2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) */ #ifndef BOOST_PREDEF_PLAT_WINDOWS_UWP_H #define BOOST_PREDEF_PLAT_WINDOWS_UWP_H #include <boost/predef/make.h> #include <boost/pred...
65b6c9dfe12fd5874a64ba655d55592d9ac3400c86536ebb07cb0feb86255b7c
C/C++
1,944
81
#ifndef MATLAB_BGL_EXPAND_MACROS_H #define MATLAB_BGL_EXPAND_MACROS_H /** @file planar.cc * @author David F. Gleich * @date 2007-02-22 * @copyright Stanford University, 2007-2008 * Write a few simple ``macro''-ish functions to expand compressed * quantities to their original type. This permits us to save on * d...
99d108c8ec307b000c429ae1aba222fa7b306508cb3824da13e80c77f45cf2af
C/C++
1,952
72
#ifndef EIGEN_BENCH_UTIL_H #define EIGEN_BENCH_UTIL_H #include <Eigen/Core> #include "BenchTimer.h" using namespace std; USING_PART_OF_NAMESPACE_EIGEN #include <boost/preprocessor/repetition/enum_params.hpp> #include <boost/preprocessor/repetition.hpp> #include <boost/preprocessor/seq.hpp> #include <boost/preproces...
736439a8472dccc8d7a79e100b18d814d5215f49317ac7a6304c13d8f9913994
C/C++
1,959
68
/* Copyright Rene Rivera 2008-2015 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) */ #ifndef BOOST_PREDEF_COMPILER_GCC_H #define BOOST_PREDEF_COMPILER_GCC_H /* Other compilers that emulate this one need to be detected ...
8c5796cb8228ffe0185e2dab75df461763acdf11e18beb6866ca098f34ed061b
C/C++
1,960
78
#pragma once namespace YAML { // implementation for Node::Read // (the goal is to call ConvertScalar if we can, and fall back to operator >> if not) // thanks to litb from stackoverflow.com // http://stackoverflow.com/questions/1386183/how-to-call-a-templated-function-if-it-exists-and-something-else-otherwise/1386...
ae781b0a4d5ab24af97e10c0f7cd78c12d187be7dbcf68a6b398c6f797cf5ebd
C/C++
1,970
71
/* Copyright Rene Rivera 2011-2015 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/predef.h> #define BOOST_PREDEF_INTERNAL_GENERATE_TESTS void * add_predef_entry(const char * name, const char * descri...
14ac942e8cc0a1d81937b211c482a122eb1974430e0b86dd3a244cf516fdea67
C/C++
1,973
117
#define LFM_EXIT 0 #define LFM_COPY 1 #define LFM_PASTE 2 #define LFM_RUN 3 #define LFM_READA 10 #define LFM_SAVED 11 #define LFM_READD 12 #define LFM_SUMD 13 #define LFM_PLOTD 18 #define LFM_LOCF 20 #define LFM_READF 22 #define LFM_SUMF 23 #define LFM_PRFIT 24 #define LFM_ALPH 70 #define LFM_FIXH 71 #d...
bac48745c5054ab6bc4f17f9fc608d5fc7b0778f40d2b91e8e500c298eab2b1d
C/C++
1,978
73
/* MIT License Copyright (c) 2021 Shifu Chen <chen@haplox.com> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, m...
33d65b60e61c9565dd7a8c93c55d9b5c59aadd24f4ea8f8cddd1abcb6970941d
C/C++
1,984
37
// 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...
d9e19601809672839a1ecdfd36cc0cbdd04600b53c64e63b822f7c87ce17525a
C/C++
1,984
69
/* Copyright Rene Rivera 2008-2015 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) */ #ifndef BOOST_PREDEF_COMPILER_GCC_H #define BOOST_PREDEF_COMPILER_GCC_H /* Other compilers that emulate this one need to be detected ...
32a907676cc36e27d0fdc0d99adb83a0b23f20ab61896269216d40fecf08d349
C/C++
1,991
47
/* inflate9.h -- internal inflate state definition * Copyright (C) 1995-2003 Mark Adler * For conditions of distribution and use, see copyright notice in zlib.h */ /* WARNING: this file should *not* be used by applications. It is part of the implementation of the compression library and is subject to change. ...
3006ca7d05fbe9da932312c154e7e51e6cc9d57e6c9a1779b7c7ccb0c483ff08
C/C++
1,996
52
/* ************************************************************ HEADER givens.h For use with mex-files in self-dual-minimization package. % This file is part of SeDuMi 1.1 by Imre Polik and Oleksandr Romanko % Copyright (C) 2005 McMaster University, Hamilton, CANADA (since 1.1) % % Copyright (C) 2001 Jos F. Stu...
d2f4d260fb8c43acbffef244f4232da0988c7747bb5fa57fb6b3663206c5711a
C/C++
1,996
71
/* Copyright Rene Rivera 2011-2015 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) */ #ifndef BOOST_PREDEF_ARCHITECTURE_CONVEX_H #define BOOST_PREDEF_ARCHITECTURE_CONVEX_H #include <boost/predef/version_number.h> #inclu...
96d014c92c6b0a3d48f810204afe9c7370c45b625d50bf79f2634a438bd68d6b
C/C++
2,001
70
/* Copyright Rene Rivera 2008-2015 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) */ #ifndef BOOST_PREDEF_ARCHITECTURE_PARISC_H #define BOOST_PREDEF_ARCHITECTURE_PARISC_H #include <boost/predef/version_number.h> #inclu...
a89a3d7a52eed6476047239d83f2b87e63e1cc7897b76394bed87a9de2fc2867
C/C++
2,002
38
// 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...
444f5917a615bb560ded533b1798536dcc912598a02b03579a22897fb7e056ca
C/C++
2,021
54
/* Copyright (c) 2009-2013 Genome Research Ltd. Author: James Bonfield <jkb@sanger.ac.uk> 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 above copyright notice, this l...
3ac06abbb1fff7e9aa125df549fe84edf493a38dad02fd07e4f00aa4bf0165fe
C/C++
2,030
65
#pragma once #ifndef REGEX_H_62B23520_7C8E_11DE_8A39_0800200C9A66 #define REGEX_H_62B23520_7C8E_11DE_8A39_0800200C9A66 #include <vector> #include <string> namespace YAML { class Stream; enum REGEX_OP { REGEX_EMPTY, REGEX_MATCH, REGEX_RANGE, REGEX_OR, REGEX_AND, REGEX_NOT, REGEX_SEQ }; // simplified regular exp...
d55f583a47bf1b5f74a1543bec7e8c4c6f142b75e65b55617c5eaf9f6cb9c803
C/C++
2,038
67
#ifndef COMMON_H #define COMMON_H #define FASTP_VER "1.3.7" #define _DEBUG false #ifndef _WIN32 typedef long int64; typedef unsigned long uint64; #else typedef long long int64; typedef unsigned long long uint64; #endif typedef int int32; typedef unsigned int uint32; typedef short int16; typedef unsigned short ...
2dbdbf48a7e2093c64597803b1a9a3a1e319c3f56cab471cf86d265c8ba14966
C/C++
2,055
63
/* Copyright Ruslan Baratov 2017 Copyright Rene Rivera 2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) */ #ifndef BOOST_PREDEF_PLAT_IOS_H #define BOOST_PREDEF_PLAT_IOS_H #include <boost/predef/os/ios.h> // BOOST_OS...
9a30517982d6ec7dbb31d8b95472901dea374b2f96e78b95847b6bf6af7993ec
C/C++
2,077
56
/* Copyright (c) 2009 Genome Research Ltd. Author: Rob Davies <rmd@sanger.ac.uk> 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 above copyright notice, this list of co...
5b3901d192524e7616fb48528342e8b8a48e4ce034eb1de08e2bb61c4bea53fc
C/C++
2,081
48
/* ************************************************************ HEADER reflect.h For use with mex-files in self-dual-minimization package. % This file is part of SeDuMi 1.1 by Imre Polik and Oleksandr Romanko % Copyright (C) 2005 McMaster University, Hamilton, CANADA (since 1.1) % % Copyright (C) 2001 Jos F. St...
604905cae7e5587805c3b884a36eda7a2bebdfedb53b24b0fd9a220eec0ef1a9
C/C++
2,083
53
// 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 ...
f9d699342556c44a6a52d4fcfbadaef9599148e68cf822c6f7fc778c07ae8ab2
C/C++
2,085
92
/* ------------------------------------------------------------------ This file is part of the Open Ephys GUI Copyright (C) 2017 Allen Institute for Brain Science and Open Ephys ------------------------------------------------------------------ This program is free software: you can redistribute ...
ad365adb01fbc35dfad0ad544fc249823e8a8d012e524a07bac29b0ba7715d28
C/C++
2,089
40
#ifndef EIGEN_WARNINGS_DISABLED #define EIGEN_WARNINGS_DISABLED #ifdef _MSC_VER // 4100 - unreferenced formal parameter (occurred e.g. in aligned_allocator::destroy(pointer p)) // 4101 - unreferenced local variable // 4127 - conditional expression is constant // 4181 - qualifier applied to reference type ignor...
9d5d4eaf749d2699de22225b53c8dcfe2761d410624884012c1eebe96e104d77
C/C++
2,090
117
#define LFM_EXIT 0 #define LFM_COPY 1 #define LFM_PASTE 2 #define LFM_RUN 3 #define LFM_READA 10 #define LFM_SAVED 11 #define LFM_READD 12 #define LFM_SUMD 13 #define LFM_PLOTD 18 #define LFM_LOCF 20 #define LFM_READF 22 #define LFM_SUMF 23 #define LFM_PRFIT 24 #define LFM_ALPH 70 #defin...
ebd97181c1b0bdbc62394ed12d27da90ba68c0171cdbf709393aa8956117ae95
C/C++
2,105
72
/* Copyright Rene Rivera 2005-2016 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) */ #ifndef BOOST_PREDEF_VERSION_NUMBER_H #define BOOST_PREDEF_VERSION_NUMBER_H /*` [heading `BOOST_VERSION_NUMBER`] `` BOOST_VERSION_NU...
77842b736644ac900ae855cff366219131f6f4cd7a3df286341d0458a447f550
C/C++
2,112
75
#ifndef PE_PROCESSOR_H #define PE_PROCESSOR_H #include <stdio.h> #include <stdlib.h> #include <string> #include "read.h" #include <cstdlib> #include <condition_variable> #include <mutex> #include <thread> #include "options.h" #include "threadconfig.h" #include "filter.h" #include "umiprocessor.h" #include "overlapanal...
de1b0871fc7b9fdfddb7fc3a96b64be1d4218c89a0c928d1aba22121d9536cfa
C/C++
2,127
72
namespace internal { template<typename FunctorType, typename Scalar> DenseIndex fdjac1( const FunctorType &Functor, Matrix< Scalar, Dynamic, 1 > &x, Matrix< Scalar, Dynamic, 1 > &fvec, Matrix< Scalar, Dynamic, Dynamic > &fjac, DenseIndex ml, DenseIndex mu, Scalar epsfc...
5cd58451af437f677f59ffc7166d12544a6aa8ae241e7ed0e371e1251433d746
C/C++
2,132
62
/* * FILE: CORE_mextools.h * --------------------- * Common MEX utilities for Matlab CORE_function_ MEX files. * * samar@cs.stanford.edu, 09/18/05 */ #ifndef __CORE_MEXTOOLS__ #define __CORE_MEXTOOLS__ #include "mex.h" #include "matrix.h" // ------------------------ UTILITY FUNCTIONS -------------------------...
7cd3056588668f47bb6e7928f5d4886c860f97b2af7978328682f0624fd2637e
C/C++
2,145
72
/* Copyright Rene Rivera 2008-2015 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) */ #ifndef BOOST_PREDEF_ARCHITECTURE_PPC_H #define BOOST_PREDEF_ARCHITECTURE_PPC_H #include <boost/predef/version_number.h> #include <bo...
acbca7dd81a2339d9e246203388ad5ec3f6461d875c4981fed030f0878a70986
C/C++
2,156
73
/* Copyright Rene Rivera 2008-2015 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) */ #ifndef BOOST_PREDEF_COMPILER_IBM_H #define BOOST_PREDEF_COMPILER_IBM_H #include <boost/predef/version_number.h> #include <boost/pred...
9888d40214fde76a1a46226d4d74b429849fc9d1aa538c021df1ea0bd99f8116
C/C++
2,157
72
/* Copyright Rene Rivera 2008-2015 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) */ #ifndef BOOST_PREDEF_COMPILER_IBM_H #define BOOST_PREDEF_COMPILER_IBM_H #include <boost/predef/version_number.h> #include <boost/pred...
93868869b5e66d8ab94e7aba97e2e5adcc01d09786025d1590e254e144405a6b
C/C++
2,165
80
#ifndef H_SoloCommon #define H_SoloCommon #include <array> #include <unordered_map> typedef struct{ uint64 cb; uint32 umi; } readInfoStruct; typedef struct{ uint32 tr; uint8 type; } trTypeStruct; typedef uint32 uintUMI; typedef uint64 uintCB; typedef uint32 uintRead; #define uintUMIbits 32 #defi...
a36d10545d12ead5e93a3b0fdca6ff73405f29091cfe38164415e9038888ba8d
C/C++
2,172
55
// 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 ...
9050c161b7a0f0bf9ae3a21e66218ea9ddb57deeb7202f0ae8cb313189e57611
C/C++
2,174
100
/* * * Copyright (c) 1998-2000 * Dr John Maddock * * Use, modification and distribution are subject to the * Boost Software License, Version 1.0. (See accompanying file * LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) * */ /* * LOCATION: see http://www.boost.org/libs/regex for doc...
235b16135b7869baeb442cc01e55718d26831036852199520b0934631698746e
C/C++
2,176
96
/** * 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. */ #pragma once #include <istream> #include <ostream> #include <string> #include <unordered_set> #include <vector>...
4b2ad1bc1eac62dfc5e85068b039eacf966ff06b21d135e90460da216c8c7132
C/C++
2,184
71
#ifndef THREAD_CONFIG_H #define THREAD_CONFIG_H #include <stdio.h> #include <stdlib.h> #include <string> #include <vector> #include "stats.h" #include "writer.h" #include "options.h" #include "filterresult.h" #include "singleproducersingleconsumerlist.h" using namespace std; class ThreadConfig{ public: ThreadCon...
e30fb59f4e04d32139df8b2dcda4e8c0d857190806225e4ee3e20381535e6e37
C/C++
2,184
74
/* Copyright Rene Rivera 2005-2016 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) */ #ifndef BOOST_PREDEF_VERSION_NUMBER_H #define BOOST_PREDEF_VERSION_NUMBER_H /* tag::reference[] = `BOOST_VERSION_NUMBER` [source] --...
99870612c7f9a859a9cb5a09c6438d373035fbafcc8bec101b58e57324410ed8
C/C++
2,194
73
/* Copyright Rene Rivera 2008-2015 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) */ #ifndef BOOST_PREDEF_ARCHITECTURE_MIPS_H #define BOOST_PREDEF_ARCHITECTURE_MIPS_H #include <boost/predef/version_number.h> #include <...
8cf8a5b484a50762be45d5113eb8a7cb4cae5df810f7052d4b3cc362b5c679e2
C/C++
2,219
103
#pragma once #ifndef SETTING_H_62B23520_7C8E_11DE_8A39_0800200C9A66 #define SETTING_H_62B23520_7C8E_11DE_8A39_0800200C9A66 #include <memory> #include <vector> #include "noncopyable.h" namespace YAML { class SettingChangeBase; template <typename T> class Setting { public: Setting(): m_value() {} const ...
9d338b03c5dfba6cd600a841d11538cef9a275267a8463c4108b624ebcedaa4e
C/C++
2,238
74
#ifndef _MEDAKA_TRIMBAM_H #define _MEDAKA_TRIMBAM_H #include "medaka_bamiter.h" // an dynamic set of sequences typedef struct _trimmed_reads { kvec_t(char*) read_names; kvec_t(char*) sequences; kvec_t(bool) is_reverse; kvec_t(int) hap; kvec_t(int) phased_set; } _trimmed_reads; typedef _trimmed_r...
0f5f8fcceb3667a72573c1193d6429b3639dc41b545b14a0a4ac5151b771b5b9
C/C++
2,239
53
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2010 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...
f56db4d0080d3605a31198edf8f9070314a6f634f51fa50879a3e7f537f0bc4f
C/C++
2,241
69
/* Copyright Rene Rivera 2008-2015 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) */ #ifndef BOOST_PREDEF_PLAT_MINGW_H #define BOOST_PREDEF_PLAT_MINGW_H #include <boost/predef/version_number.h> #include <boost/predef/m...
31070bcba4a66cdffa866aacd9be5d80e7a5e2034ecba3875690a76cca2485c1
C/C++
2,243
53
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2010 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...