sha256
stringlengths
64
64
language
stringclasses
28 values
size
int32
1
491k
lines
int32
1
23.2k
content
stringlengths
1
200k
0155992cbcf42cd09f76877aa6231600ab833410ab840100e8b73912a8bce3d1
C/C++
4,293
119
// 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...
800b2c1c0bd72a6a4eff6f0160390973db0caa3f161a94e48379a7cc8433e9f2
C/C++
4,301
115
// 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...
e372b36f4019630b2508b167367bc7488d1addb8446d35bae92e2b2a09c188b1
C/C++
4,302
125
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // 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 Public // License as published by the Free So...
920d1b1236f6fd855f490bb82e8fc9dd3907f9c0d4db642cc7c6334b3dbcc11e
C/C++
4,306
110
/* Copyright (c) 1994-1997, 2001-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 c...
0cec7582ae44e6471199eabc7d3ae3cf41f8673d8a6fe1f95f12546f6c4bf06e
C/C++
4,329
109
// 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...
6ea8ddf9c5ad1f08571c8181dd237f7e75bc567eb675f25edc7a6df7c5966056
C/C++
4,338
119
// 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...
4c343198c2f3f007e28299235c9be540c04ed2a09f6c8d5561d3696b5d7a4968
C/C++
4,342
128
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // 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 Public // License as published by the Free So...
4e37ea557293e20bb83ae441caa040434b1cf7cbcf969efbf13616a52babe4d2
C/C++
4,345
150
// 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...
6541c2018a507e1fe8ace1b53b0dbb18328b65fcd6ebd6212e3f3a6fa5f8a0be
C/C++
4,378
112
// 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...
fa32b60d0a2717e05e728f1669fa4f1f09f9b991e623fc479a2092504e6b8d6f
C/C++
4,385
146
#pragma once #ifndef EMITTER_H_62B23520_7C8E_11DE_8A39_0800200C9A66 #define EMITTER_H_62B23520_7C8E_11DE_8A39_0800200C9A66 #include "emittermanip.h" #include "ostream.h" #include "null.h" #include <memory> #include <string> #include <sstream> namespace YAML { class EmitterState; class Emitter { public: Emit...
c306f3d97a3684762800a570b22cc0fc0a570a9cc5b01d5c87fbba71eb2220f1
C/C++
4,421
94
/* 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 ...
1a3ed387bc27a80c7dc767a6623df5cc6622272bc88ec3283117d419b86fe2dd
C/C++
4,506
139
#ifndef _MEDAKA_READ_ALN_H #define _MEDAKA_READ_ALN_H // medaka-style feature data typedef struct _read_aln_data { size_t buffer_pos; size_t buffer_reads; size_t num_dtypes; size_t n_pos; size_t n_reads; size_t featlen; int8_t *matrix; size_t *major; size_t *minor; char* *read_i...
2b444fb4e4c13252e9a3cb4fb7ee602d59a1228fea507ad4d915f68d9a6da65d
C/C++
4,506
178
#pragma once #ifndef REGEXIMPL_H_62B23520_7C8E_11DE_8A39_0800200C9A66 #define REGEXIMPL_H_62B23520_7C8E_11DE_8A39_0800200C9A66 #include "stream.h" #include "stringsource.h" #include "streamcharsource.h" namespace YAML { // query matches inline bool RegEx::Matches(char ch) const { std::string str; str += ch; ...
24ec8e51575fb80980f0f43984c22e9def02d7a508d0cd7aa94af7824106d331
C/C++
4,521
113
// 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...
32c57b41e138ccba1a8d7f8b8d1656089442e3c407310f84276c54c12ab26b1d
C/C++
4,542
156
// 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...
5fabaf9bbf50d47df8700cb3c23de5513596e1c7f91b56c59a3f1ca0f5d428a4
C/C++
4,544
122
// 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...
6e29fd418ad96f45aa32521ea71124e8f99daf23b2be3e6d017569d8af6a5539
C/C++
4,556
141
// 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...
309556e2d7d39250924946b78e2cce0ac927857d6e1a02cab64e438f533c20c3
C/C++
4,557
91
/* gzlog.h Copyright (C) 2004, 2008, 2012 Mark Adler, all rights reserved version 2.2, 14 Aug 2012 This software is provided 'as-is', without any express or implied warranty. In no event will the author be held liable for any damages arising from the use of this software. Permission is granted to anyone ...
0df987c4d586c6a47e95515d625eb24bb1606a69da903d0b8ce44e0c8e965fc3
C/C++
4,558
123
/* 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 ...
fbf8a8a8e471876e142a11e857fa450a899c15e4a8aac33577b1605781fa1ab1
C/C++
4,574
126
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2009 Rohit Garg <rpg.314@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 of the GNU Less...
d2fded6b1b0ffb5a33cc13836b6f6fda5adad62f32143e349bb96b4b58391a40
C/C++
4,591
114
/* 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 ...
927efb2fda641ecc6b7f29c55720d216aa2ccbeef8e001051d628017bc40b281
C/C++
4,598
88
/* 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 ...
444dedd2cda15f14d6fc43d539edd4bed489f0846c4b67f79313e87e3241dca9
C/C++
4,601
137
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2008 Benoit Jacob <jacob.benoit.1@gmail.com> // // Eigen is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Softwar...
f3fad484021c64ab4bfc42a097dc3cda123b8ede5abb9b277cd084f6e2592533
C/C++
4,603
116
#ifndef TCP_SERVER_H #define TCP_SERVER_H // (inefficiently converting int to bool in portable_oarchive instantiation...) #pragma warning(disable : 4800) #include "forward.h" #include <boost/asio/ip/tcp.hpp> #include <memory> #include <mutex> #include <set> using lslboost::asio::ip::tcp; using lslboost::system::erro...
5c428134b289402caec35b0f2abe47c73940a462ec8bc67eb7e63f5b5a9fddcb
C/C++
4,614
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 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...
1a8715fea6c5f6687aca3eb89a626beedeb2d2b880e0b478338901a8798f795f
C/C++
4,633
132
#ifndef TIME_RECEIVER_H #define TIME_RECEIVER_H #include <boost/asio/io_context.hpp> #include <boost/asio/ip/udp.hpp> #include <boost/asio/steady_timer.hpp> #include <condition_variable> #include <cstdint> #include <mutex> #include <thread> using lslboost::asio::steady_timer; using lslboost::asio::ip::udp; using lslb...
cc46413460d7a914818c66973c52d9925895841224b7a24ee541ce2c23c97d91
C/C++
4,650
115
#ifndef DATA_RECEIVER_H #define DATA_RECEIVER_H #include "cancellation.h" #include "common.h" #include "consumer_queue.h" #include "forward.h" #include <atomic> #include <condition_variable> #include <mutex> #include <thread> using lslboost::asio::ip::tcp; namespace lsl { class inlet_connection; // Forward declarat...
47368e3dd36028d096bc5106d31bd097f360b3b5e58f0c785f383c1adc53317a
C/C++
4,651
121
/* The MIT License Copyright (c) 2008-2009, 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 limita...
8e0222a71e68074749e232bcc86cab6047e8d07b344ffc479ceb7b85d0495606
C/C++
4,658
101
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 20010-2011 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 Sof...
77243ea864d22b3da8307f135ca367904f193d03d3b87b62decdeb1819051dee
C/C++
4,665
123
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2009 Rohit Garg <rpg.314@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 of the GNU Less...
80e1bf0ca57988afe4f009e951be812003d684b7724926382c73e7f9c2592323
C/C++
4,668
104
// 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...
2bcdcac1298bcf6c8d064cf0c20ac1c6ed3cf178f9de7338ae59baff4d67ff9d
C/C++
4,691
116
#ifndef DATA_RECEIVER_H #define DATA_RECEIVER_H #include "cancellation.h" #include "common.h" #include "consumer_queue.h" #include "forward.h" #include <atomic> #include <condition_variable> #include <cstdint> #include <mutex> #include <thread> namespace lsl { class inlet_connection; // Forward declaration /** Inte...
2054df6e91c0ea4fe00def93aef8ecb7ac72475e247eee4b4431db67957c2d2e
C/C++
4,697
139
// -*- coding: utf-8 // vim: set fileencoding=utf-8 // This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2009 Thomas Capricelli <orzel@freehackers.org> // // Eigen is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser Gen...
8e872b60255b8447da99885c7159c2e1f1bb8143523bdbe71784e60f98bfd67b
C/C++
4,735
131
/* crypt.h -- base code for crypt/uncrypt ZIPfile Version 1.01e, February 12th, 2005 Copyright (C) 1998-2005 Gilles Vollant This code is a modified version of crypting code in Infozip distribution The encryption/decryption parts of this source code (as opposed to the non-echoing password parts) were...
9a38ed161ee98c6b597fa692293771de30ffa04822088928b9b94d97c4b72924
C/C++
4,742
115
/* Author: James Bonfield Copyright (c) 2000-2001 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: . Redistributions of source code must retain the above copyright notice, t...
644996be394531cc9abac5e6bf2edbbb49631f8c8c48b685bd061a1771788a6d
C/C++
4,763
170
/** * 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 <time.h> #include <atomic> #include <chrono> #include <functional> #include <iostream> #...
7cd6bd2a625909cf943acceccb951681294f73ebc26c020ccb8e44461ce42b24
C/C++
4,791
136
#ifndef TIME_RECEIVER_H #define TIME_RECEIVER_H #include "socket_utils.h" #include <asio/io_context.hpp> #include <asio/ip/udp.hpp> #include <asio/steady_timer.hpp> #include <condition_variable> #include <mutex> #include <thread> #include <vector> using asio::ip::udp; using err_t = const asio::error_code &; namespac...
74863ff5666e8df2a777ab201edc36c0c89a23d9b481c5249c578555952003b5
C/C++
4,806
127
// 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...
71cf47fc4eba6a64e24c8a29920e376028d650b6d524f43e33874ad51c791df9
C/C++
4,837
128
// 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...
aa9ba7e4ca7251326bd1f042b69627d3d2fce76c5e8044389a4b71a13274e618
C/C++
4,866
155
/* Copyright (c) 2012-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...
21388a9d680c782d920380ac8831552047994e23cef2be99f2361fdc3e9ddb51
C/C++
4,881
132
// 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) 2006-2008 Benoit Jacob <jacob.benoit.1@gmail.com> // // Eigen is free software; you can redistribute it and/or // m...
ecd2de5e49faa2281054d345ea5ebbeb6a394ad4103822c6a804adaf4a60bbf4
C/C++
4,916
146
// // Created by hassa on 11/04/2020. // #ifndef C_CHECK_CONVERSIONS_H #define C_CHECK_CONVERSIONS_H #include <cstdint> #include <limits> #include <ostream> #include <vector> #ifdef EXOTIC_ARCH_SUPPORT #include <boost/version.hpp> // support for endianness and binary floating-point storage // this i...
60df3025bec42dd81813d19e2ebbcea24aa13fe1a44b0d9a234756b92272b4e5
C/C++
4,917
151
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2008 Benoit Jacob <jacob.benoit.1@gmail.com> // // Eigen is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Softwar...
dfc44a71dca9907bd4db325ff6069a3e3a758e4ca431b8d09851adb5a8e9867d
C/C++
4,928
143
/** \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...
5c879a45c116dacf387f19113def0025247760a4d89a2b69aafd5b8d8ce5eb33
C/C++
4,974
134
#ifndef RESOLVE_ATTEMPT_UDP_H #define RESOLVE_ATTEMPT_UDP_H #include "cancellation.h" #include "stream_info_impl.h" #include <boost/asio/ip/udp.hpp> #include <boost/asio/steady_timer.hpp> #include <map> namespace lslboost { namespace system { class error_code; } } // namespace lslboost using lslboost::asio::ip::udp;...
4a41ab028bb2482ff4c2525e4f630a11b449b4f5cd8dc51862d2da64881e072a
C/C++
4,987
168
/* 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) */ #include <boost/predef/hardware/simd/x86.h> #include <boost/predef/hardware/simd/x86_amd.h> #include <boost...
618cc559008ffa15ab14b2404f9325bab45ca80bfeb637a8830cff08e353636d
C/C++
4,993
137
// 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...
0835f46db4a6f15c7ccea3633649586969979055780ffbb536a1494605b0d845
C/C++
4,997
144
/* Copyright Rene Rivera 2008-2019 Copyright Franz Detro 2014 Copyright (c) Microsoft Corporation 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_ARCHITECTURE_ARM_H #define BOOST_PREDEF_ARCHI...
54d04c5b229bbbaf083a76b92d52a3d2ee2a7b1c1e23a2de268c95aa604d30db
C/C++
5,005
137
// 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...
bcdae98c348c74cf343deee4cd996fe9fc043110e1ec5efce8fc6f5b29a6c427
C/C++
5,010
110
/* 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 ...
5dfdf3c75a3155a8393160dd9d9048d44ef5e82c933d5bf9d855b39c480f9d9e
C/C++
5,030
202
// 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) 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...
1f967acaaa101a8c113e96ac3cf15423bd9bfa3ca46f239986ea5394a411aafd
C/C++
5,044
200
// -*- Mode: c++; c-basic-offset: 4; tab-width: 4; -*- /****************************************************************************** * * file: ArgException.h * * Copyright (c) 2003, Michael E. Smoot . * All rights reverved. * * See the file COPYING in the top directory of this distribution for * mo...
b549f80d293ffd08554191b0992afd79c771e9ef3474b929a7f5c709a1e0b423
C/C++
5,044
137
// 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...
303d369df04e69622a0f33a2335066caa5244c2fbf3ad3590a7e6e5c97006c62
C/C++
5,051
202
/** \returns an expression of the coefficient-wise absolute value of \c *this * * Example: \include Cwise_abs.cpp * Output: \verbinclude Cwise_abs.out * * \sa abs2() */ EIGEN_STRONG_INLINE const CwiseUnaryOp<internal::scalar_abs_op<Scalar>, const Derived> abs() const { return derived(); } /** \returns ...
a0cfaa59a4f28a9770e88524bb38d6387d79c65229f956a89a0d1d323fd444ce
C/C++
5,096
142
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2009 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 Lesser General Public // License as published by the Free Software...
000384df09f502981be569e2256ee72eab127fb73a822383ceecaa18ac676a8b
C/C++
5,102
154
// 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...
7b8ea947d7c0d2e3ac23a30e7b21a597cdfc3d67795c7b276a1d2e8de20a3aaf
C/C++
5,105
97
/* 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...
2fe7d9b40e2bbea1999849a61cd6beb6118973ce94d9c5a2c4c1de22519d6dd8
C/C++
5,107
169
// 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 Daniel Gomez Ferro <dgomezferro@gmail.com> // // Eigen is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public...
a5f13fb58e740c59b670fca4a2bfa269c753d4efb17bc8ab6590f28967a2d3ee
C/C++
5,179
157
// 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...
857e03e62744f167af764e8a51cb7c2324fca6da6aeeb227a1226809ec8a8a3d
C/C++
5,185
179
// 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...
b1691422bb580155dbed0dc5a4a500cc235d442c8e078d60e100c08b3817bba2
C/C++
5,185
132
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2011 Benoit Jacob <jacob.benoit.1@gmail.com> // // Eigen is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Softwar...
414d4438dfcc4afa58e206fd6f0cccd97a0fea0b7b9b81abaaf2d455fc6c3e53
C/C++
5,190
175
#pragma once #include <vector> #include <string> #include <map> #include <algorithm> #define BED_HEADER_SIZE 3 class BgmgSerializer; class BedFileInMemory { public: BedFileInMemory() : num_subjects_(0), num_snps_(0), row_byte_size_(0) {} explicit BedFileInMemory(int num_subjects, int num_snps, std::string filen...
04ce8c9bb90f2b30d0ed06829f81f61ce218db1fdad57a568cc5a8dfec83fdaf
C/C++
5,207
120
// 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...
1f5efce1d02f07faf2af132b94491f514f6982f8031c65eec8d3c0837478ee9a
C/C++
5,268
138
#ifndef RESOLVE_ATTEMPT_UDP_H #define RESOLVE_ATTEMPT_UDP_H #include "cancellation.h" #include "forward.h" #include "netinterfaces.h" #include "stream_info_impl.h" #include "socket_utils.h" #include <asio/ip/multicast.hpp> #include <asio/steady_timer.hpp> #include <map> #include <memory> #include <string> #include <ve...
ac73f0726ae499fd559f12fa7e75cd0beebab1111bd5f77cc59b322130b78537
C/C++
5,289
129
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // 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 GNU Lesser General Public // License as published by the Free Soft...
8a6a82291d8867c3eeeeccffea33bf0b9f21700f42feae0142e71a2eef214eed
C/C++
5,305
100
////////////////////////////////////////////////////////////////////////// // Plog - portable and simple log for C++ // Documentation and sources: https://github.com/SergiusTheBest/plog // License: MPL 2.0, http://mozilla.org/MPL/2.0/ #pragma once #include <plog/Record.h> #include <plog/Logger.h> #include <...
2a47a5af289c4d5c584a732ac119a0e7352edace141982f80e0a112cc1dfccb3
C/C++
5,316
146
// 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...
4cd5036924b27e63ec3d17d4b7904ef44a05f7e44b86dcdb953e034bf8de1c06
C/C++
5,321
138
// 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...
a8363140e0a65cc08d555d82d8ba582852d3902f9a5fe8b4a88b98ed76b72659
C/C++
5,324
134
// 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...
ca0059289ddd67861cb5d1d50d817a2e931c408332cb8c04646653f7589b121f
C/C++
5,333
126
// 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...
976046b39cda1f3b5f3b129f7ee11ec664ddc00712877f88f4347c5ac716adc1
C/C++
5,356
233
#ifndef I_LFEV_H #define I_LFEV_H #include "locf.h" #include "tube.h" /* uncomment the following line to allow plug-in modules. */ /*#define ALLOW_MODULES*/ #define DALP 0 #define DFXH 1 typedef struct { int ev; double *sv; double cut; double fl[2*MXDIM]; int *iwk, *ce, *s, *lo, *hi; int liw, nce, ncm,...
3fe482bbd4f725f5820f5d6beab4d0d4a524be8addf4b344a9a470ec5aabc451
C/C++
5,357
173
// 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 ...
93989fd84c7c518247379b1bb0d8a0293c23505a914d8214055ece7988eeeffe
C/C++
5,361
134
// 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...
675d7eed4f1a1c85a95a32f02119b67aff069d0f9c442e8e8a7bde2a953b424f
C/C++
5,375
164
// 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...
830270161c83f6cb70ec4b0ec5e3dea3ab5d8d33924613b284244e769a1343dc
C/C++
5,375
150
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 20010-2011 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 Sof...
cc98142760e8551774bf427c136e5da0baf79457a598ce8696fae71f4020131d
C/C++
5,387
190
#pragma once #ifndef EXP_H_62B23520_7C8E_11DE_8A39_0800200C9A66 #define EXP_H_62B23520_7C8E_11DE_8A39_0800200C9A66 #include "regex.h" #include <string> #include <ios> #include "stream.h" namespace YAML { //////////////////////////////////////////////////////////////////////////////// // Here we store a bunch of e...
12644411d737a11e573ee4f04f56234f5284025c1ca46788376ab89708360bb5
C/C++
5,403
236
/* * Copyright 1996-2006 Catherine Loader. */ #ifndef I_LFEV_H #define I_LFEV_H #include "locf.h" #include "tube.h" /* uncomment the following line to allow plug-in modules. */ /*#define ALLOW_MODULES*/ #define DALP 0 #define DFXH 1 typedef struct { int ev; double *sv; double cut; double fl[2*MXDIM]; in...
f0e142652f3f0c12351629a73ab3f3f29d3b64e63d18a0ac7f790af25b91fbda
C/C++
5,413
150
// 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) 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...
b1803af73fec5101c59b20ec8d5d835e4032a1f705f1ea78157bd809e0312f37
C/C++
5,423
137
// 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...
7c267b93ed2d79f05aabadef84f7830b0df1929e5c9bef47e382f5af993d34f6
C/C++
5,434
150
// 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) 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...
c2ed9ceb44ecae4aa11e6bdf859ee124a1e2907191887065a0abd0d638cb3877
C/C++
5,493
215
/* IMPORTANT! This file is auto-generated each time you save your project - if you alter its contents, your changes may be overwritten! There's a section below where you can add your own custom code safely, and the Projucer will preserve the contents of that block, but the best way to change ...
421d382a51615be8355dfa025fc1393fc86e792904feefc32dde11209227eba5
C/C++
5,542
205
#pragma once #ifndef EMITTERSTATE_H_62B23520_7C8E_11DE_8A39_0800200C9A66 #define EMITTERSTATE_H_62B23520_7C8E_11DE_8A39_0800200C9A66 #include "setting.h" #include "emittermanip.h" #include <cassert> #include <vector> #include <stack> #include <memory> namespace YAML { enum FMT_SCOPE { LOCAL, GLOBAL }; enum...
0171f30390bfe675f12cb4f2b788ab6e84eb87f53b1deb381c4b84b458a68357
C/C++
5,558
153
// 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 ...
a210e60f554fdc64bf5542d8ab5fc06e6d60b71042a7cd7ff129101d5ba03c21
C/C++
5,580
168
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2011 Kolja Brix <brix@igpm.rwth-aachen.de> // Copyright (C) 2011 Andreas Platen <andiplaten@gmx.de> // // Eigen is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser Gen...
355c884c340d9ce7faff8447973f9f662ac00cbfeb1d0e5fa61d0b30b41ed2bc
C/C++
5,589
142
// 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...
aa7a6e66ac332ca9b43f53167af3c8957472adbb94256019085663f966b28872
C/C++
5,627
216
/****************************************************************************** * * file: MultiSwitchArg.h * * Copyright (c) 2003, Michael E. Smoot . * Copyright (c) 2004, Michael E. Smoot, Daniel Aarno. * Copyright (c) 2005, Michael E. Smoot, Daniel Aarno, Erik Zeek. * All rights reverved. * * See the file CO...
9b4199fd363b6446f8e839091735c03e7bf037222054dcdbd9f5be0b6037eb74
C/C++
5,648
127
/* 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 ...
29c6df2e61e854e96afa1fae48902fcee3192e29c7aac10fbf7f245a5cb7b8be
C/C++
5,682
138
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. Eigen itself is part of the KDE project. // // Copyright (C) 2008 Gael Guennebaud <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...
d518a14d9913151b2ca6b59db2c12ec349bd8e565b1a7f90056d093142cf1796
C/C++
5,692
157
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. Eigen itself is part of the KDE project. // // Copyright (C) 2008 Gael Guennebaud <g.gael@free.fr> // // Eigen is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // Licens...
f544c8be5e29dbfdb11cb1c2cf8e59607d8dd708d4329b75b3f9b6db7bf3a6a8
C/C++
5,710
161
// 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...
13b5bf2585cbbe0e58c72b44f21c9322fa107bdfe9b6e3d6ea4fc9aa4c2060cd
C/C++
5,736
151
/* 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 ...
adfec113fbd1533e33a42e03caf6e95d30318e7de3b3e2a85b6f09fef92ffb96
C/C++
5,762
111
/* ========================================================================= * * * * OpenMesh * * Copyright (c) 2001-2015, RWTH-Aachen University * * ...
89e304032fed084771bb33d318307aeacc6aa61d85537288b4b641b285ece559
C/C++
5,772
145
// 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...
06fb6ce37dba48646ec742e818a4380463536d1e55fc4a40d911794c26a1a0f0
C/C++
5,782
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...
ad1f28d6a15677e8f0fa797d4ffaaf5ad6726cffa80c18b1367f546479823e98
C/C++
5,800
165
// 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...
88d47a75f9f57cbb734a793d4f3f6a6227555114f44bcf5310e6412b298abde3
C/C++
5,823
148
// 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...
7d1b71a4d6977570247d69f8e30767581fbc5774baf3db1d8acff6a57a161c2a
C/C++
5,847
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...
0a55688ea42ca47041f2e53011f311300be7891ac3b10bd9de7767bed62af956
C/C++
5,887
255
#ifndef INCLUDEDEFINE_DEF #define INCLUDEDEFINE_DEF //standard libs #include <algorithm> #include <cstring> #include <string> #include <iostream> #include <fstream> #include <sstream> #include <time.h> #include <ctime> #include <iomanip> #include <vector> #include <sys/types.h> #include <sys/ipc.h> #include <sys/shm.h...
a725eada1e129a9eeb82cdc7139185a8bde2b440be97a48368adb9da87ee30d5
C/C++
5,916
202
#ifndef MATLAB_BGL_COMMON_FUNCTIONS_H #define MATLAB_BGL_COMMON_FUNCTIONS_H /** @file common_functions.h * @copyright Stanford University, 2008 * @author David F. Gleich * Implement a few common functions to be included in many mex files. */ /** History * 2007-07-08: Initial version * 2008-09-26: Added isscal...
d9ab8c99dbcc28bbfa3393c96cd0c73b7684449a5d812b217fa3c620ad9be262
C/C++
5,974
141
// 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...