sha256
stringlengths
64
64
language
stringclasses
28 values
size
int32
1
491k
lines
int32
1
23.2k
content
stringlengths
1
200k
b226ca5493cd07e4c8784f1211d11f812f4d0ec4b64e6f57059834a22997f453
C/C++
7,755
215
// 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...
d98b3dd2f6ffc7782eadd02fd8931849ad7a225eb2a60a8727a90986c2270d7b
C/C++
7,759
212
#ifndef INLET_CONNECTION_H #define INLET_CONNECTION_H #include "cancellation.h" #include "resolver_impl.h" #include "stream_info_impl.h" #include <asio/ip/tcp.hpp> #include <asio/ip/udp.hpp> #include <atomic> #include <condition_variable> #include <map> #include <mutex> #include <string> #include <thread> /* shared_m...
3be9fb41a8a1efb1aeff3b39bf2696c962cb9d1938e0b085581cd43d7b1fbf00
C/C++
7,760
208
#ifndef INLET_CONNECTION_H #define INLET_CONNECTION_H #include "cancellation.h" #include "resolver_impl.h" #include <boost/asio/ip/tcp.hpp> #include <boost/asio/ip/udp.hpp> #include <condition_variable> #include <map> #include <thread> /* shared_mutex was added in C++17 so we use the boost shared_mutex when building ...
0325e85d481da00a76447ddc18611b37a41ca527b21324757999fec03a3c64a9
C/C++
7,785
183
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2007-2010 Benoit Jacob <jacob.benoit.1@gmail.com> // 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...
a9882687c817afd455f434f1616b926c4d643cd9b74f7b17fc604482afe3173e
C/C++
7,791
201
#ifndef RESOLVER_IMPL_H #define RESOLVER_IMPL_H #include "cancellation.h" #include "common.h" #include "forward.h" #include "stream_info_impl.h" #include <asio/ip/tcp.hpp> #include <asio/ip/udp.hpp> #include <asio/steady_timer.hpp> #include <atomic> #include <map> #include <memory> #include <mutex> #include <string> #...
976db6860ff2c8f4dcbfd3f970d559b83204fe30ab6ff0d714255e659e02f642
C/C++
7,815
251
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2009-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...
3402671901b03da308db7d2778a6226f0da0e6ebb1af25f5bcbc5bc6ba8a04c3
C/C++
7,843
195
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 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 Soft...
5e74ef98b9c80d01fec0c587fbbd779c4fc8da6babdce90126e3b9e0ec42a82e
C/C++
7,865
205
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2009-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...
e6c31f8b8e50e6a4de10c4bac007116bdc0a76105920d01d597d19361c4848d1
C/C++
7,882
229
#pragma once //! @file common.h Global constants for liblsl #if defined(LIBLSL_FFI) // Skip any typedefs that might confuse a FFI header parser, e.g. cffi #elif defined(_MSC_VER) && _MSC_VER < 1600 typedef signed char int8_t; typedef signed short int16_t; typedef signed int int32_t; typedef signed long long int64_t; ...
43d5ca21ce17aa27817a3552a9a88cdbe61317a8cfbc6fadde2ff2b3bc4e4479
C/C++
7,919
217
// 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...
cfca98596aee1aaa120adae4d431a2520e2f3130e5d2b899048cdbf323c2f760
C/C++
7,931
321
// -*- Mode: c++; c-basic-offset: 4; tab-width: 4; -*- /****************************************************************************** * * file: ZshCompletionOutput.h * * Copyright (c) 2006, Oliver Kiddle * All rights reverved. * * See the file COPYING in the top directory of this distribution for * ...
8fa7fea0b8ce7f6afabbe934544a797b596c789aff9b3a0b58b628435d9ee1f5
C/C++
7,941
222
// 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...
b9a98d5cf3ed1d737de7a2e98d73d932c7ba5fcaab9fe4e07bad01d5152a4c77
C/C++
7,944
222
// 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...
c5b1696907412c7c77bcb9fb5136e35552fb7053db61d890fc444fa6c690a0b0
C/C++
7,949
233
// 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...
f131464c2ed5bd6a07809be256fcb6a416731f14224a2da526622261ad32cc7a
C/C++
7,953
329
/* * Copyright 1996-2006 Catherine Loader. */ #ifndef I_LOCF_H #define I_LOCF_H #include "stdlib.h" #include "ctype.h" #include "mut.h" #ifdef WARN #undef WARN #endif #define LERR(args) {mut_printf("Error: "); mut_printf args; mut_printf("\n"); lf_error=1;} #define WARN(args) {mut_printf("Warning: "); mut_printf ...
65aecba7118a8c0d4add69a0e721c3d41b2d651dc272b855bfb766a04c0bdc6a
C/C++
7,955
176
// 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) 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 ...
44f2b1de81f2d03fc4b232b9f7e2342dd03d14333a4d73bbda55928a35ee77c6
C/C++
8,055
250
// 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> // 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...
9bd319548dd073630dfd349c06a440c6a582feec47d4ff14f348ec32f8b4c1f3
C/C++
8,063
233
// Copyright 2003 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 a...
d6cfa8474d743697f6c19850d9076ec54c20dab53b76144a14861abe8973e977
C/C++
8,095
223
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2008-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...
ef6a3c05d717f790c9dc5ee18c6ffb2a978ba44c02c01591b305c19d64251f58
C/C++
8,110
194
/* ************************************************************ HEADER blksdp.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...
2a692a8e2c2ac2d3816e84dbd671730341168e8deca081174e716b61b3776246
C/C++
8,191
203
// 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) 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 ...
35934abd50bc886cab0c90cd6e9148f4c54d9f025da87b9d313e738402223eb9
C/C++
8,221
224
// 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> // Copyright (C) 2009 Ricard Marxer <email@ricardmarxer.com> // Copyright (C) 2009-2010 Gael Guennebaud <gael.guennebaud@inria.fr> // // Eigen is free software; ...
76368f0b105c94ef9389256047382a774f6a5d66015da1b22779c528291287be
C/C++
8,223
317
// 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...
905f8a01d423cb87f648acb44ee55fdcc4d15d6210127fb9baeac84c53ad1ce3
C/C++
8,241
260
// 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> // 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...
1c4bda51f33e1574f03349fef924f926ff38c612e31a050d5eed3295eb54311b
C/C++
8,249
230
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2006-2008, 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 F...
16ecc89145d8e8193247bc09390934bce042afcf836e604dfd223bfb701cbcb9
C/C++
8,260
241
// 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...
a46fe62f12f027966a86d338ad2deef67d020466d1be245a518cef17f4aaff69
C/C++
8,274
207
// 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...
6fc1df1b5a19f5e55851c38ec132e8a7fe3b47e67561bea77060618d1bb00d55
C/C++
8,276
225
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2009-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...
384d6255f05a3e32c52667344eaa0449088149c6c45584eb337e3b4ec1ab0bce
C/C++
8,294
211
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2007-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 So...
b13bb1f5367dad6556dae903f4d344bb5f4da05fb608744e170d5ed861c1aa24
C/C++
8,325
171
#ifndef OPAL_H #define OPAL_H /*********************************************************************************** * - adapts score type and reports overflow if score does not fit in int * - calculating column by column (not 4 of them at once) * - db sequences are not padded * - using saturation arithmetic whe...
37acc31b65387c747c109485942a84d0b9de660183c8c674e9049edbd6f8f007
C/C++
8,346
202
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 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 Soft...
3a45d1588bd2cb85ca5077c1008e907bba106c952c3a81bd732ef0182be4090b
C/C++
8,356
299
// -*- Mode: c++; c-basic-offset: 4; tab-width: 4; -*- /****************************************************************************** * * file: DocBookOutput.h * * Copyright (c) 2004, Michael E. Smoot * All rights reverved. * * See the file COPYING in the top directory of this distribution for * mor...
65f1b4665c7ca6ad5558dc48deb3bbae6ff57dc5f261e756c932c7c46b2e2419
C/C++
8,371
236
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2008-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...
6b8dd0a418346990c707d1ec190834362ecfeadadc23538818c4939bd2d921a5
C/C++
8,394
229
// 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 ...
d0374edbbe62e88dbec9e1a7acd750ca5332bae71656be174b6bbb025ca38811
C/C++
8,417
217
// 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...
e5982b5e60ad824760db4ce59d38ee96fcb9d698aaaaac820c187ec419fb3ee4
C/C++
8,445
286
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2010 Manuel Yguel <manuel.yguel@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 Software ...
c325418ff592de7584aef256cd3c954578a90e5eaa8d79a36f97f78d5692ee5b
C/C++
8,452
298
// -*- Mode: c++; c-basic-offset: 4; tab-width: 4; -*- /****************************************************************************** * * file: StdOutput.h * * Copyright (c) 2004, Michael E. Smoot * All rights reverved. * * See the file COPYING in the top directory of this distribution for * more in...
c45109ea21380bb7231b7e42b47e9d2823c41c33beb806c7aadb7354a10cdcc5
C/C++
8,458
243
/* The MIT License Copyright (c) 2008, 2009, 2011 Attractive Chaos <attractor@live.co.uk> 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 lim...
4b73bc3c4b225f844f67214b8ba67ca6fc58a01cb5b2d1257369dffa347d6c1c
C/C++
8,463
223
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2008-2009 Guillaume Saupin <guillaume.saupin@cea.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...
bb0a9d3ca88ee00c81adb7c636e73b97085f6ef1b52d6d58edbe2b6dc3adeb4d
C/C++
8,472
128
/* header created automatically with -DGEN_TREES_H */ local const ct_data static_ltree[L_CODES+2] = { {{ 12},{ 8}}, {{140},{ 8}}, {{ 76},{ 8}}, {{204},{ 8}}, {{ 44},{ 8}}, {{172},{ 8}}, {{108},{ 8}}, {{236},{ 8}}, {{ 28},{ 8}}, {{156},{ 8}}, {{ 92},{ 8}}, {{220},{ 8}}, {{ 60},{ 8}}, {{188},{ 8}}, {{124},...
1692b873d9a34198e3c33c1180bd9f766b05958d25fed3ea102c7039d0cd5005
C/C++
8,473
262
// 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...
b91d895b24e2e0271a87d9becbed445cab7fb008407ad805a1ca4cc67196ee76
C/C++
8,478
206
// 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) 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 ...
a1b66d001ba25325668d64871ccd7fd7f8f77b1705a9646d8465751b38b1cdfe
C/C++
8,514
236
// 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> // Copyright (C) 2009 Ricard Marxer <email@ricardmarxer.com> // Copyright (C) 2009-2010 Gael Guennebaud <gael.guennebaud@inria.fr> // // Eigen is free software; ...
5da3463e7f74a83c4f7befddb811e4ac49e13faedf068f1b47977ce376706e7b
C/C++
8,532
226
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 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 Soft...
5cde89e22f650b3d0b0989b2fb867de39caa4509d4dcd10939063f477147ab60
C/C++
8,543
255
#ifndef STREAM_INFO_IMPL_H #define STREAM_INFO_IMPL_H #include "common.h" #include <mutex> #include <pugixml.hpp> #include <unordered_map> namespace lsl { /// LRU cache for queries class query_cache { std::unordered_map<std::string, int> cache; int query_cache_age{0}; std::mutex cache_mut_; public: bool matches...
8b00c33aa36cd0d33190b9cc55784869939cb83548ec46aab92d03467c472233
C/C++
8,668
221
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2008-2009 Gael Guennebaud <gael.guennebaud@inria.fr> // 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 o...
3b26c480fbc84caffc526cf35fa5a9f64f1754464bf4ed2d910b0c4aaefb0464
C/C++
8,673
292
// // Created by Till Konrad Aust on 17.12.21. // #ifndef KILOGRID_H #define KILOGRID_H namespace argos { class CSpace; class CRay3; class CFloorEntity; class CSimulator; } #include <math.h> #include <random> #include <behaviours/agent.h> #include <argos3/core/simulator/loop_functions.h> #include <a...
2bc5a68161929e6c064a369155842bd9e8e297211edd35e4a384f9661322d1f9
C/C++
8,687
270
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2008-2009 Guillaume Saupin <guillaume.saupin@cea.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...
0280e2807378f28298e19a2147ff7662aef2e4ce3615b30ecc620af0ab7ad664
C/C++
8,732
138
#pragma once #include "NeuropixAPI.h" #ifdef __cplusplus extern "C" { #endif typedef enum { ChannelType_None = 0, ChannelType_LFP = (1 << 0), ChannelType_AP = (1 << 1), ChannelType_ADC = (1 << 2) }channeltype_t; struct probechannelstatistics { uint32_t channelnr; uint32_t samplecount; double min;...
5d59aee216d114663ae3889b994b7ebd763a9a87114efeb61a34bd876cd932ef
C/C++
8,779
156
#pragma once #include "common.h" #include "types.h" /// @file resolver.h Stream resolution functions /** @defgroup continuous_resolver The lsl_continuous_resolver * @ingroup resolve * * Streams can be resolved at a single timepoint once (@ref resolve) or continuously in the * background. * @{ */ /** * Constru...
1072025d970f97e14b3a4a3c1b917352e352236cca1169670d12b3dfe6c47308
C/C++
8,793
205
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2007-2010 Benoit Jacob <jacob.benoit.1@gmail.com> // 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...
3874e961a4852acde8d11af4e91679e185a62e029f363ce79ddf8ac52334b281
C/C++
8,825
235
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 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 Soft...
e287cad3064268a57ba6d37b3e6863beac88d70dab8f4e6f7b258a81824230aa
C/C++
8,830
247
// // Created by hassa on 11/04/2020. // #ifndef C_CHECK_XDFWRITER_H #define C_CHECK_XDFWRITER_H #pragma once #include "conversions.h" #include <cassert> #include <mutex> #include <sstream> #include <thread> #include <type_traits> #include <vector> #include <iostream> using namespace std; #ifdef XD...
ed106d1694febe836428ffb8bc6e7d329a9e20a7cc0ce3871c2ac2d22fb4d5b6
C/C++
8,833
263
#ifndef STREAM_INFO_IMPL_H #define STREAM_INFO_IMPL_H #include "common.h" #include <cstdint> #include <mutex> #include <pugixml.hpp> #include <string> #include <unordered_map> namespace lsl { /// LRU cache for queries class query_cache { std::unordered_map<std::string, int> cache; int query_cache_age{0}; std::mut...
d12be3d971b16a4e7f99f19dfa4429e4a6600541885da3771042ae2d69059634
C/C++
8,864
253
/* 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_OPEN_H #define BOOST_PREDEF_OS_BSD_OPEN_H #include <boost/predef/os/bsd.h> /* tag::reference[] = `BOOST_...
fb0ceb2f1f996869adb22140ac4de80bbb9b33e8852c1d6d41b4590f59d5e639
C/C++
8,876
255
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2007-2010 Benoit Jacob <jacob.benoit.1@gmail.com> // 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...
ae76e9bc29fcc092c34d88e9406dfb46ce278f11eb588f99bf61b569b24d8253
C/C++
8,915
215
#include <cmath> #include <numeric> #include <algorithm> #include <boost/math/constants/constants.hpp> // #include <boost/math/special_functions/owens_t.hpp> // This file contains two implementations of bivariate cumulative density function // One is copied from STAN library, another from BVNcdf package for matlab (se...
bee65d55a4910f51966188a118f4b8a50b9e75e972108a043a8765eec8341a6f
C/C++
8,934
253
/* The MIT License Copyright (c) 2008, 2009, 2011 Attractive Chaos <attractor@live.co.uk> 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 lim...
4f3acbbce216ce22cc2b7560f8162e5c056a915c9ca6885895bd01437fadd96b
C/C++
8,949
290
namespace internal { template <typename Scalar> void lmpar( Matrix< Scalar, Dynamic, Dynamic > &r, const VectorXi &ipvt, const Matrix< Scalar, Dynamic, 1 > &diag, const Matrix< Scalar, Dynamic, 1 > &qtb, Scalar delta, Scalar &par, Matrix< Scalar, Dynamic, 1 > ...
f71247a850d6658d4be68f73048d3ad0be4f44de6aeec518a51c56cb25df1ae6
C/C++
8,996
229
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2008-2009 Gael Guennebaud <gael.guennebaud@inria.fr> // 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 o...
dd9941894b58f4a90095127e03a4d936b961266634334a0431f0b2b668eaab74
C/C++
8,998
389
#ifndef OPTIONS_H #define OPTIONS_H #include <stdio.h> #include <stdlib.h> #include <string> #include <vector> #include <map> using namespace std; #define UMI_LOC_NONE 0 #define UMI_LOC_INDEX1 1 #define UMI_LOC_INDEX2 2 #define UMI_LOC_READ1 3 #define UMI_LOC_READ2 4 #define UMI_LOC_PER_INDEX 5 #define UMI_LOC_PER_R...
73f6ad108df23b20c4ec4348f0b2e61b461fa163752f337e59af86b9c8907cfb
C/C++
9,027
215
// 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...
ea1f369035f49cedc5d9a0bd422c4d407346ed9933652754399d6e5dadab395d
C/C++
9,061
196
#pragma once #include "common.h" #include "types.h" /// @file streaminfo.h Stream info functions /** @defgroup streaminfo The lsl_streaminfo object * * The #lsl_streaminfo object keeps a stream's meta data and connection settings. * @{ */ /** * Construct a new streaminfo object. * * Core stream information is...
0b8d0322fbc366a7043c0d4a4341a26b50cd0a98e67a5799d5eef321075a1ce6
C/C++
9,073
246
/** * @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...
f60ce719156055e6897b135fc1468b3dc7c36f29816215012e84ac0330a2cc34
C/C++
9,095
228
// 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...
49e33c790d4583b5a2a7eea5ccd4ff51029a5151abeb857f7add33d386b9066a
C/C++
9,102
257
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2008-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...
fe9fe946ac6941aedf640ceb4aec388a35107f82d78de82357d44bc91b4b1a06
C/C++
9,112
251
/* 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_OPEN_H #define BOOST_PREDEF_OS_BSD_OPEN_H #include <boost/predef/os/bsd.h> /*` [heading `BOOST_OS_BSD_OP...
4eb7dcc1ac0c8fc59c57eb1b5cd40a20d7764c5ce48936dc2ec8c4a146e59cfa
C/C++
9,165
262
// 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...
a710b6f8fa7c548ced5777852796b8f7e45488839c07a95fadbd2bc260ac4c23
C/C++
9,171
220
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 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 Soft...
685c65972c53f280d49adee26f0e61e9a5472e0d87b2241d535c9457ca01c082
C/C++
9,175
243
#ifndef FASTP_BGZF_H #define FASTP_BGZF_H #include <cstdio> #include <cstdint> #include <cstring> #include <atomic> #include <thread> #include <mutex> #include <condition_variable> #include <vector> #include <isa-l/igzip_lib.h> static const int BGZF_HEADER_SIZE = 18; static const int BGZF_MAX_BLOCK_SIZE = 65536; sta...
26d9a2fc09d6a347d8a96fa6351aa062d232d3ef51fbc1d8bff60d9bf3f30709
C/C++
9,189
305
#ifndef HTS_H #define HTS_H #include <stddef.h> #include <stdint.h> #ifndef HTS_BGZF_TYPEDEF typedef struct BGZF BGZF; #define HTS_BGZF_TYPEDEF #endif struct cram_fd; struct hFILE; #ifndef KSTRING_T #define KSTRING_T kstring_t typedef struct __kstring_t { size_t l, m; char *s; } kstring_t; #endif #ifndef kroundup...
72c946a3d0f40fca1bf5c5bd58f34947448cf3e7a987a9e37c9236ceede403e7
C/C++
9,215
239
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 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 Soft...
af993af058949176a62df660eedd6b6264dad27a37dbda873729da020beaa806
C/C++
9,259
256
// 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...
a5edf0b7b9b880eec6ea1f610fbb8c07716a855649c36c36dd0327df8534f3c4
C/C++
9,271
239
#ifndef H_ReadAlign #define H_ReadAlign #include "IncludeDefine.h" #include "Parameters.h" #include "Transcript.h" #include "Genome.h" #include "Stats.h" #include "OutSJ.h" #include "Transcriptome.h" #include "BAMoutput.h" #include "Quantifications.h" #include "ChimericDetection.h" #include "SoloRead.h" #include "Read...
d0343e0c57ff58008b6f29643d289c72713aa2d653fe3dcd2e939fc77e7e20b6
C/C++
9,283
307
/* * * Copyright (c) 1997 * Christian Michelsen Research AS * Advanced Computing * Fantoftvegen 38, 5036 BERGEN, Norway * http://www.cmr.no * * Permission to use, copy, modify, distribute and sell this software * and its documentation for any purpose is hereby granted without fee, * provided that the above co...
d1e3214fbe922b74bd37edf36f91c8c6fc99ea391ee7be18ff7aa8a002890783
C/C++
9,302
270
// 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...
66a73e185c901fa3e7977666c4a30b206117fea1a741bdc3c09aa1ec72bdaaab
C/C++
9,330
306
/* Copyright (c) 1993, 1995-2002 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 copyright notice, this list of condit...
5deaf0e78fa243991840b6c32babe1826e850b98de8f501154e06426f3cbe105
C/C++
9,435
238
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 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 Soft...
0e61d9a4fadee2983933f2d9d872ae05d9d6db86fea648a3bc90e13b42a81ea1
C/C++
9,619
301
/****************************************************************************** * * file: UnlabeledMultiArg.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 _...
89a617ef5fd13c3f3f9cdae2e60bf0bef645fe81eb56797f38bdf179be2a8201
C/C++
9,668
247
// 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...
638d2bb6c06a894513b03311a8e931ac835fc00afc4bd21fab3afc05732c23a0
C/C++
9,697
210
// 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 ...
dfaa3a65e06fa667427a3e78aac96413b78ddacab3e7b3228a8f013b2ad422e9
C/C++
9,775
293
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2008-2010 Gael Guennebaud <gael.guennebaud@inria.fr> // 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 o...
e001a3225b0ffc5338c167c765615581f0bcac49a8d2cd8b0be9dd67afeef72d
C/C++
9,776
248
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2007-2009 Benoit Jacob <jacob.benoit.1@gmail.com> // Copyright (C) 2009-2010 Gael Guennebaud <gael.guennebaud@inria.fr> // // Eigen is free software; you can redistribute it and/or // modify it under the terms o...
46527e57d0ab478efd431b34239e13b5da68dbd437af6c5aa6ec801a3e12ff81
C/C++
9,797
235
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 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 Soft...
c255814f0b9da3cb777303386d1f480c45497bbd81320340e2cda918f65f3a46
C/C++
9,814
138
/* bgmg - tool to calculate log likelihood of BGMG and UGMG mixture models Copyright (C) 2018 Oleksandr Frei This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License...
9638516c0496f19347ff33101b581e6a90e24d185b41679a81de0c23d5e35568
C/C++
9,857
313
/* The MIT License Copyright (c) 2008 Broad Institute / Massachusetts Institute of Technology 2011, 2012 Attractive Chaos <attractor@live.co.uk> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), ...
7242fd67b873e281e7a02996fab9f276cc19000729bc636a9ecf464203693095
C/C++
9,874
392
#pragma once #include <cassert> #include <cstring> #include <cstdio> #include <fcntl.h> #include <sys/stat.h> #ifdef _WIN32 # include <Windows.h> # include <time.h> # include <sys/timeb.h> # include <io.h> # include <share.h> #else # include <unistd.h> # include <sys/syscall.h> # includ...
e625bc2f7bbe86d50014acb9ffc50e80e2b68a567f408d77d66bf2f472aa7cb9
C/C++
9,874
233
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2009 Ilya Baran <ibaran@mit.edu> // // 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 Foundation...
84cf56ca7dfa9e40de1c4cd4a0ff889889d94dcef26c7e9134abe0605769e84e
C/C++
9,901
216
// 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) 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 ...
c384afa9990439bd814a095fc44bc4f8101c5958165881bb24f9359584658b72
C/C++
9,915
221
/* * FILE: CORE_library.h * -------------------- * Common computational routines for Matlab CORE_function_ MEX files. * * samar@cs.stanford.edu, 01/18/06 */ #ifndef __CORE_LIBRARY__ #define __CORE_LIBRARY__ /* -------------------------- EXTERNAL FUNCTIONS --------------------------- */ #ifdef matrix_h /* If...
74a43e54acd0f5e260c9900a3741acaa1a54853574b4c77d471299b6d33eda9a
C/C++
9,928
245
/* Copyright (c) 2011, Intel Corporation. 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 the ...
9a8a13de6e9db9ec4e5b30841c36a225e19d429016ce5281f80977cedb7a89be
C/C++
9,938
253
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2009-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...
4452603d7bd16266ee215c75d0deeca2ce9fba245f57ccd3c98e62f387c8036e
C/C++
9,940
272
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2009 Mark Borgerding mark a borgerding net // // 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...
560407dd45e8e57fa6927504c9e4a4cfdecf30f8cada975c1ffddce765e6a88a
C/C++
9,951
232
// Copyright 2007, 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 ...
2e51c993786bc1e56260b9507b9cbb27b1aeeebcc1f9903aeebddd39663722e3
C/C++
10,033
240
// 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> // 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...
bca76afe7c00a3cc331c8f25710a5cd5a23f8e0452f43ee1b0199185d54c599a
C/C++
10,108
272
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2006-2008, 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 F...
bd5fba9d83217ef6af40fc0580247ede47af1f6a436a6cf1b818e41d7b43effa
C/C++
10,125
285
/* The MIT License Copyright (c) 2008 Genome Research Ltd (GRL). 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...
e7d1f680a5cf8a5de314bdc6f22a565e8154bcb4e74625954f993ee417798d48
C/C++
10,125
371
/* 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 ...
62feafa844cbd7a34f6bc436687ce796abc1169ec2b9da7659cdf85a9c6dc9fe
C/C++
10,160
259
// 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 a...
19cb3a75e049f786555af86153187d09768a38bb6a236660d252401c0e6cc4f5
C/C++
10,177
227
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2008-2009 Gael Guennebaud <gael.guennebaud@inria.fr> // 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 o...