sha256
stringlengths
64
64
language
stringclasses
28 values
size
int32
1
491k
lines
int32
1
23.2k
content
stringlengths
1
200k
7fe92616b1b90bac6959f78426bb3322317da67f2a5943ff314be0035789e160
C/C++
5,979
175
// 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...
457a19d0f850519efdce64a3f7a7094811e465a6862fa9642f5637408556d1ec
C/C++
6,016
158
// 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...
33576ed87e7128b5a71fad86a9b4624e8d61932207f33d6a397be0bef076e41c
C/C++
6,039
133
// 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) 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...
c6009e5de84b66f9a682f03b71b2d70d646f69baa8ca444f05e199ad1cab89a8
C/C++
6,056
153
// 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...
19ad0317785bc1debd18d2a0eee22815e09f06cbac1d7190579fdfc9e51f3f83
C/C++
6,068
192
// 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...
00fabb0131976aebef59e03087d2b6c65a758398fb2b12aee67a0657d5bc9f35
C/C++
6,078
147
// 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...
eb0169adf71b9472496b70b1e39b11654da23d0662a8f2ac684d0b41da9f05eb
C/C++
6,084
141
// 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...
d09fe1a223526a8b9b0014aae1728c0004f48ee5f2738cd589c7aec2f797897c
C/C++
6,098
150
// 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...
8f84f9bc7db9eaf4b02f0764962d9ca4cb7daf09ef67782c75d309a2cbd57ed5
C/C++
6,099
196
// 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...
fdbba79aadc65bf2d755c4721fd34e6823e4e170a1ff8cf68bd640904b7cec5d
C/C++
6,106
135
// 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) 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...
0e68b3ade6a2d6df43ff7cfbb88d3c8a886e7169a2b539e63d276d1d6894b397
C/C++
6,114
163
// 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...
6de07d6ac7d94142013fe4943e80fdc364f66e7d505164fdc2e7fe7351873901
C/C++
6,130
173
/** * @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...
572490252872f8aaf1fef60eb1a55f62b5b1eb74a519c4a5daa770f5844d15b0
C/C++
6,133
104
/* C interface for result (C) 2017-2022 Niall Douglas <http://www.nedproductions.biz/> (6 commits) File Created: Aug 2017 Boost Software License - Version 1.0 - August 17th, 2003 Permission is hereby granted, free of charge, to any person or organization obtaining a copy of the software and accompanying documentatio...
db13c4712498f3a9ad26e2c32e7e083cc38edffe87b21cfdab34b59e986f543a
C/C++
6,147
194
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2011 Gael Guennebaud <g.gael@free.fr> // // Eigen is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Found...
077343519cc6ce60f4e6fd1fb49951ca0fa959ea8e6357998f658bb8efb3290c
C/C++
6,172
198
// 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...
8ca6b0849c70dec67035e1928af9eab9af2b27e68ff7f366b5c5120a6a7ff342
C/C++
6,198
163
// 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...
e970df0502264a7af9861a8e2c975502f7cd582ce2eb294af1b8857411655119
C/C++
6,203
178
/* 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...
fe17941ea402f357c49ef06f95f667e6005786b27ab2ec2d3d0d5ac2431ecfd1
C/C++
6,210
166
// 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...
163704c6c8b201ea192007b8456e8bf7522d5a8b6c7d16ea039b986502b00615
C/C++
6,227
161
// 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...
e159727f33ddd25edc75b5c8762d9f599040477971763be4083b9c754c956865
C/C++
6,232
166
// 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-2009 Gael Guennebaud <g.gael@free.fr> // // Eigen is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // L...
3066fb9fc09a82170d1534de5f4ff97c5c08677a82bc72e0ecea98f609efb1e4
C/C++
6,235
196
// 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...
5c71d58fa167c1f0973d229d36f1da71ee025029de87f5ef410db0402bddeb90
C/C++
6,250
306
/* * Numeric values for constants used in locfit */ /* MXDIM and MXDEG are maximum dimension and local polynomial degree for Locfit. Note that some parts of the code may be more restrictive. */ #define MXDIM 15 #define MXDEG 7 /* floating point constants */ #ifndef PI #define PI 3.141592653589793238462...
235f520fc8de8637108e5f3be9ddfaf1e0a8c9d5616abb59d96ecd96a6c8a370
C/C++
6,259
149
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2009 Gael Guennebaud <gael.guennebaud@inria.fr> // Copyright (C) 2009 Hauke Heibel <hauke.heibel@googlemail.com> // // Eigen is free software; you can redistribute it and/or // modify it under the terms of the G...
a8b23a14ce66d4e2d48ec7f49787b3db742928d7a0181d2cf39f9b135afc1d4a
C/C++
6,263
170
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2009 Benoit Jacob <jacob.benoit.1@gmail.com> // 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 ...
198fb577b488b18ae8695e87102553c4c1b0d0cefc5ac259da449ead15a7a5cc
C/C++
6,286
170
/* 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...
58a948636dbfb0bf51e2b44c8fd69d98d28abee6134f5b91d49db6651e07123e
C/C++
6,291
167
/* Copyright (c) 2013-2014 Yoran Heling 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, merge, publish, ...
0ab98474318b4ad53bd59b4ae638af1ee5bd90699e89ec00d4f8d2eb2ad8be04
C/C++
6,324
168
// 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) 2010 Jitse Niesen <jitse@maths.leeds.ac.uk> // // Eigen is free software; you can redistribute it and/or // modify it under the terms of the GNU L...
237ba710f090e432b62ebf963bee8b302867e9691406b2d3f8ee89ee7bfef9b0
C/C++
6,332
94
/* inffixed.h -- table for decoding fixed codes * Generated automatically by makefixed(). */ /* WARNING: this file should *not* be used by applications. It is part of the implementation of this library and is subject to change. Applications should only use zlib.h. */ static co...
e950729ce54d3c74f4e110b8f7a908041eef50a6564a61c01b250329556292a2
C/C++
6,338
148
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2006-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...
b30170badc7b0088ac2ba51d4ec925f1af207e7b5f36c3d02366b74b0b1138de
C/C++
6,356
197
/* Copyright (c) 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 list o...
81470a8e0d882d8ababe1b158af5fa616654338b8c8259cb9881acda4aa49a52
C/C++
6,375
149
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2009 Gael Guennebaud <gael.guennebaud@inria.fr> // Copyright (C) 2009 Hauke Heibel <hauke.heibel@googlemail.com> // // Eigen is free software; you can redistribute it and/or // modify it under the terms of the G...
f74374051e3a723cd88616c7b0461f60e09c32fd0962c0ca89c2dca1c717d656
C/C++
6,379
172
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2009 Benoit Jacob <jacob.benoit.1@gmail.com> // 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 ...
5b5cd7832ba152a2c969131cb8a5d0f20357794e66f4f9aef522ac57e000cda2
C/C++
6,388
170
// 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) 2010 Jitse Niesen <jitse@maths.leeds.ac.uk> // // Eigen is free software; you can redistribute it and/or // modify it under the terms of the GNU L...
daa57ef9cd10d7496eff9975109d0fd7dfd4e7cee54c6d154e7ca8477d556fab
C/C++
6,419
179
// 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...
deb31438fd22d01e530ba1be938064da52bfaf7ff64100439655b32f154fc4e0
C/C++
6,419
156
// 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 ...
c297ecf221b38c1fa13e8d0603960024f8affd385de64bc8531edc31c1080e8e
C/C++
6,421
159
// 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...
328a6b7ee9d4f7a3c3ef2c72f829b1712f5ead60ef9fa1e8fc00de190879d516
C/C++
6,430
163
/* 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) */ #include <boost/predef/detail/test.h> #ifndef BOOST_PREDEF_MAKE_H #define BOOST_PREDEF_MAKE_H /* Shorthands for the common version nu...
55a308fca1580ec32c10a184d52090c2a3d24b4d537c56de0c4d86bf8421942b
C/C++
6,444
153
// 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> // Copyright (C) 2008 Benoit Jacob <jacob.benoit.1@gmail.com> // // Eigen is free software; you can redistribute it and/or // modify...
3bcf2fb5a923e1429692e7f296d5274cae413da5b6c562ef357cddbba6393bf2
C/C++
6,461
200
#pragma once // // cancellable_streambuf.hpp // ~~~~~~~~~~~~~~~~~~~~~~~~~~ // // This is a carbon copy of basic_socket_streambuf.hpp, adding a cancel() member function // (an removing support for unbuffered I/O). // // Copyright (c) 2003-2011 Christopher M. Kohlhoff (chris at kohlhoff dot com) // Modified by Christian ...
c4d6d840284728740c284646075e8ffc85b63b9f74f3ed488b18ef3c2c2b9005
C/C++
6,469
176
// 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 ...
ad9698f4efba2d93b2f6b982d4893f429b0321606204abf3a62748ff1345af77
C/C++
6,491
142
/* 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 ...
ffa684adeb882dce355450a5bd8954801fd618b20162e72886d0cb91ea6011f6
C/C++
6,509
228
/****************************************************************************** * * file: SwitchArg.h * * Copyright (c) 2003, Michael E. Smoot . * Copyright (c) 2004, Michael E. Smoot, Daniel Aarno. * All rights reverved. * * See the file COPYING in the top directory of this distribution for * more...
bb15929ad95d527fbbf7c1670cd15c47d5dbc92f57ed0a5264303ed5d2435e2d
C/C++
6,534
156
// 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...
6c7632b5e2d0b62ab17fa908b01877259d7ab8f294967afda9dd56b5ca77fd90
C/C++
6,559
204
/* hfile.h -- buffered low-level input/output streams. Copyright (C) 2013-2014 Genome Research Ltd. Author: John Marshall <jm18@sanger.ac.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 Soft...
c3d37dd86881ac073998b600bd98c987db916fb2b02f469a52139c877a690427
C/C++
6,581
136
// 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...
84a2ba4727767c18af6505f0e81d9c814489c8b9ed330a25dad433db72997e43
C/C++
6,599
107
/* inffix9.h -- table for decoding deflate64 fixed codes * Generated automatically by makefixed9(). */ /* WARNING: this file should *not* be used by applications. It is part of the implementation of this library and is subject to change. Applications should only use zlib.h. */ ...
8ec9ac297790276f7e46a961d4c6f9f944fb1dec92401339ec2666973cc5983c
C/C++
6,618
125
/* inflate.h -- internal inflate state definition * Copyright (C) 1995-2016 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. A...
26025b699925289407f2eb0d8f436aceed28d105bd9b329c4547c0b3aafa3ba4
C/C++
6,653
270
/* The MIT License Copyright (c) by 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 limitation the r...
6e51558f17a89249d231b4a6694d34f859b84ec1a60407e499189a710d0f6118
C/C++
6,676
158
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2006-2008 Benoit Jacob <jacob.benoit.1@gmail.com> // // Eigen is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free So...
8defa177cfdb0bc5135e3304bfc74dc6fd0bb1b2ec4b6c52a1f0733adf06aa4b
C/C++
6,679
174
// 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...
a31fe2c8dab5af39ebe6e3bb882c1caef4f50d363db451ec499e55cb5cc156f0
C/C++
6,700
179
// 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...
17faa9f7ff93134d092d61e0e757fa902cc104edc850535169f70e94f2c307dc
C/C++
6,712
161
#pragma once #ifndef EXCEPTIONS_H_62B23520_7C8E_11DE_8A39_0800200C9A66 #define EXCEPTIONS_H_62B23520_7C8E_11DE_8A39_0800200C9A66 #include "mark.h" #include "traits.h" #include <exception> #include <string> #include <sstream> namespace YAML { // error messages namespace ErrorMsg { const std::string YAML_DIRECTI...
7df3227bd2520ad413d3ee6bc4fd7118b2a383db87c5f108b6b9776ebb280197
C/C++
6,724
203
#ifndef SAMPLE_H #define SAMPLE_H #include "common.h" #include "forward.h" #include "util/cast.hpp" #include "util/endian.hpp" #include <atomic> #include <cstdint> #include <iosfwd> #include <limits> #include <stdexcept> #include <string> #include <type_traits> namespace lsl { // assert that the target CPU can repres...
4b73897d04c07ddf889f4132e0256ae563d3ea651b479503d26154eae1a229a7
C/C++
6,791
184
// 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...
92fc2bf85909427e3cdc35ee7cf37441125ca43b51f03f1801fe737347683efb
C/C++
6,791
173
// 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...
396d1c8c28e01966ff320abf90a67e4ef2e9ae8cc31c80cc8b4e8e4f086af1a5
C/C++
6,807
201
// 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...
1ef4741cf10441feeca5c8dde2b6c754f0cbd96fcae697d54a604757289a5e9b
C/C++
6,819
218
/* gzguts.h -- zlib internal header definitions for gz* operations * Copyright (C) 2004, 2005, 2010, 2011, 2012, 2013, 2016 Mark Adler * For conditions of distribution and use, see copyright notice in zlib.h */ #ifdef _LARGEFILE64_SOURCE # ifndef _LARGEFILE_SOURCE # define _LARGEFILE_SOURCE 1 # endif # ifdef ...
d55e7e8f557c7c5cd38291e882a89990af42a8c588a809dc6028a80b736c693c
C/C++
6,827
196
// 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...
043d2a0a3dd49d479daf962c12fcb46daf908d6d6eea00a670834986642d9dce
C/C++
6,830
255
/* * vbfa.h * peer * * Created by Oliver Stegle on 11/12/10. * Copyright 2010 __MyCompanyName__. All rights reserved. * */ #ifndef __VBFA_H__ #define __VBFA_H__ //let's just log to standard out by default #define OSSOLOG_STDOUT #include "bayesnet.h" #include "array_helper.h" //declare external varible ...
41f34cfd61e8ea7a2b416f1eadab2d176355e4ba3602302b7f7f8a2065e74b41
C/C++
6,871
160
// 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...
15ef20b4e070aaa4be8b7a58fb4e06adac1abda947c71056138641b75314d55c
C/C++
6,885
190
// 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...
72e77e31b0afa7aff1fe8946025abc2a7fd52a64db6405f8416215f5275275c7
C/C++
6,898
160
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2006-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...
8afde58e3c2ddb941a3d4fb96048b7af7dc30e92c489b325e606f3a79d4d326a
C/C++
6,916
190
// 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...
f9d41090ecaac152db0598cb5034a825fdc5290dff76c7d616b53aee498d6f4b
C/C++
6,959
170
// 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...
46558240ef417718dfbd9c2acc921ceacea9fcad9a36634ac1238794a25c53ba
C/C++
6,964
220
#ifndef CODE_ParametersSolo #define CODE_ParametersSolo #include <array> #include <unordered_map> #include <mutex> #include "IncludeDefine.h" #include "SoloBarcode.h" #include "SoloFeatureTypes.h" class Parameters; class ParametersSolo; class UMIdedup { public: const static uint32 tN = 6; array<string,tN> ...
6ff7f31422de5d54c12a28f443ea93b324b110fb49cf406567ab719fcb7575bc
C/C++
6,992
183
// 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...
88c1e5a6120069a69390ad5677d746e56cf949e9eda6f4348587c2800032da8f
C/C++
6,997
190
// 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...
c400699fb3169374deb83aba23c0f685c1848c5781158c90dbf952e552b374db
C/C++
7,019
182
// 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...
c2f92ccb3e19b59c627c2a7c6f5caddabf164a6ffaf75bc51dfaf3747192f7a9
C/C++
7,045
277
/* The MIT License Copyright (c) by 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 limitation the r...
8655408534b78dc0889a45f9359fc6d2d5c8e8d8443b81ede596f954c720ef48
C/C++
7,051
208
/* ioapi.h -- IO base function header for compress/uncompress .zip part of the MiniZip project - ( http://www.winimage.com/zLibDll/minizip.html ) Copyright (C) 1998-2010 Gilles Vollant (minizip) ( http://www.winimage.com/zLibDll/minizip.html ) Modifications for Zip64 support Copyright (C...
dd5dddf04f81e0f5a1c8f76bac155124da0cf4678a24593d47ac40f6546fced5
C/C++
7,082
182
// 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...
8b7273db0caa39824303741efcd8ffa8f0b30f653ca447333721ffa6c16c3217
C/C++
7,087
293
#ifndef UTIL_H #define UTIL_H #include <stdlib.h> #include <string> #include <iostream> #include <vector> #include <sys/stat.h> #include <algorithm> #include <time.h> #include <mutex> #include <regex> using namespace std; inline char complement(char base) { switch(base){ case 'A': case 'a': ...
a95e39dab833c071060f58ba5f060464b7e6e6aa2afe6dcb823d10d4ed8cc660
C/C++
7,123
193
#pragma once #include <random> #if defined(__AVX2__) #include "SIMDxorshift/simdxorshift128plus.h" class avx_xorshift128plus_engine { public: avx_xorshift128plus_engine(uint64_t key1, uint64_t key2) { index_ = 8; avx_xorshift128plus_init(key1, key2, &key_); avx_xorshift128plus_jump(&key_); // without...
9a63f6690fac1620aa3cecee5752af618806da438a256b4a047fbcd289cac159
C/C++
7,127
271
/* zutil.h -- internal interface and configuration of the compression library * Copyright (C) 1995-2016 Jean-loup Gailly, 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 comp...
b26023db1f0de1f02c19888e598a68695056463c579c5983e4c086f693471d80
C/C++
7,164
176
// 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...
738c98ca0e8b53c934d934f35349ab9e9e245069d5567fc4365d3c4ddfa47420
C/C++
7,181
223
// // cancellable_streambuf.hpp // ~~~~~~~~~~~~~~~~~~~~~~~~~~ // // This is a carbon copy of basic_socket_streambuf.hpp, adding a cancel() member function // (an removing support for unbuffered I/O). // // Copyright (c) 2003-2011 Christopher M. Kohlhoff (chris at kohlhoff dot com) // Modified by Christian A. Kothe, 201...
94e8c1391867212f557d3eeeec64c45371ba606ce467dfd5eb553c8d5c954105
C/C++
7,233
237
// 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...
16e25d468264fd40f01a133084aca1c2cfed7db7bf0b7e5b3e28204fc619d240
C/C++
7,263
239
// 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...
3a2c06cd355300eb484b1ceb05be0d9771791d9d89e916bc6131dcd71b197699
C/C++
7,302
182
// 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...
d92ff2fda6310f0a553ca24e0e295144a07d2859f29ab64fd825fcb27ac7bc96
C/C++
7,342
199
/** \returns an expression of the coefficient wise product of \c *this and \a other * * \sa MatrixBase::cwiseProduct */ template<typename OtherDerived> EIGEN_STRONG_INLINE const EIGEN_CWISE_PRODUCT_RETURN_TYPE(Derived,OtherDerived) operator*(const EIGEN_CURRENT_STORAGE_BASE_CLASS<OtherDerived> &other) const { r...
dd0f5732261094b467b0147e386215ac10ce11e9ca03a9f7278eb12ac17c7b44
C/C++
7,345
244
// 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...
e53ccc69d15cbf4742823e8b541e1bbfd7f618243821941708818ad23cee0d08
C/C++
7,345
201
/* Copyright Rene Rivera 2013-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_ENDIAN_H #define BOOST_PREDEF_ENDIAN_H #include <boost/predef/version_number.h> #include <boost/predef/make.h> #...
f67bb272a23badab636de8752f75020ae32f2a6665b9def75abf27c7f39f21ad
C/C++
7,360
207
#ifndef CONSUMER_QUEUE_H #define CONSUMER_QUEUE_H #include "common.h" #include "sample.h" #include <atomic> #include <condition_variable> #include <mutex> #include <thread> namespace lsl { // size of a cache line #if defined(__s390__) || defined(__s390x__) constexpr int CACHELINE_BYTES = 256; #elif defined(powerpc) ...
498014fb704ae0c8d9bb83e15e014b50d21d6ecf61dbfc0c8eae1a63993330d6
C/C++
7,361
203
/* Copyright Rene Rivera 2013-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_ENDIAN_H #define BOOST_PREDEF_ENDIAN_H #include <boost/predef/version_number.h> #include <boost/predef/make.h> #...
3f413e5f878e50ef3478fab59e45f4f4f93765e0f64223df88d53c2d29c1aac9
C/C++
7,367
187
// 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...
93c480f9a261cd58983141c6247d99f5e4ce05a9a918c5eae04ba48684cc6f36
C/C++
7,367
182
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2009 Hauke Heibel <hauke.heibel@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 ...
7555c0f49a71472dfdf83099a561e142c22a9386bebae9dfd5dad8536f9b386e
C/C++
7,370
183
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2009 Hauke Heibel <hauke.heibel@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 ...
782a7ae02bae05da22a607f32fae78b3240456082e26e9ad4a6e32e24efea154
C/C++
7,381
202
/* Copyright Rene Rivera 2013-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_ENDIAN_H #define BOOST_PREDEF_ENDIAN_H #include <boost/predef/version_number.h> #include <boost/predef/make.h> #...
1893fa27dc4306f21776694db9052d61ceea47299774db214f77a45216529461
C/C++
7,410
186
#ifndef RESOLVER_IMPL_H #define RESOLVER_IMPL_H #include "cancellation.h" #include "common.h" #include "forward.h" #include "stream_info_impl.h" #include <boost/asio/ip/tcp.hpp> #include <boost/asio/ip/udp.hpp> #include <boost/asio/steady_timer.hpp> #include <mutex> #include <thread> using lslboost::asio::ip::tcp; us...
66adb6dc8a8f26559a0264f5d95a2cbbee24a718c6ff83ff7e4f212f1f896c45
C/C++
7,413
214
#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; ...
6a6fa41c0d9f1e0f689098474509f442e73ca7c17832c78c0b7d4cde4212ce1c
C/C++
7,459
183
// 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...
d5766ba3732c4ecb479e318da3e5313e24e8e903b65221f58f48910048302f28
C/C++
7,490
268
/* block.h */ /* Template classes Block and DBlock Implement adding and deleting items of the same type in blocks. If there there are many items then using Block or DBlock is more efficient than using 'new' and 'delete' both in terms of memory and time since (1) On some systems there is some minimum amou...
d9845c0e1693be49cfbe50b474beefe37dc2d0b9b0c0a1f3697ac39db81e6158
C/C++
7,503
197
// 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...
0a010b3a568c2329c343fb5c470cb3a09b6d70f69297067df73c3c4fc16d67c8
C/C++
7,504
229
// 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...
503228b16efcb66493964e020d3ffe7f052d39dcbc667789c55f5caa78a32a71
C/C++
7,505
212
// 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...
6b56ec1de56378fffa70e71348a930b5838f5932ced6450570304f5cb8c0f07d
C/C++
7,552
248
// 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...
f287bc3bc8b4eb7789fe164da6caf6620cb3ef8d2da480dcc86f6c7ddc53f0f3
C/C++
7,566
196
// 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 ...
1a3b2c65e1eaf43a9f8fea3d9e7fff2d2741d443d40f8992ba3142d3d075de98
C/C++
7,669
188
// 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...
211529c4bf571f60805517de61c9e011478cb5e4bab8d66839f8f552c34264dc
C/C++
7,741
182
// 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-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 Publ...
f53a4aa6b8980768231b1fee2b67a4bbdaad7c9b4a77620319d1b588a7696f13
C/C++
7,751
226
// 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...