repo
stringlengths
1
152
file
stringlengths
14
221
code
stringlengths
501
25k
file_length
int64
501
25k
avg_line_length
float64
20
99.5
max_line_length
int64
21
134
extension_type
stringclasses
2 values
RIOT
RIOT-master/bootloaders/riotboot_dfu/main.c
/* * Copyright (C) 2017 Kaspar Schleiser <kaspar@schleiser.de> * Inria * 2020 Mesotic SAS * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup...
2,424
24
75
c
RIOT
RIOT-master/bootloaders/riotboot_tinyusb_dfu/main.c
/* * Copyright (C) 2017 Kaspar Schleiser <kaspar@schleiser.de> * Inria * 2020 Mesotic SAS * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup...
2,424
24
75
c
RIOT
RIOT-master/fuzzing/uri_parser/main.c
/* * Copyright (C) 2022 HAW Hamburg * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ #include <err.h> #include <unistd.h> #include "uri_parser.h" #include "fuzzing.h" int main(void) { ...
651
20.032258
75
c
RIOT
RIOT-master/fuzzing/gnrc_tcp/main.c
/* * Copyright (C) 2019 Sören Tempel <tempel@uni-bremen.de> * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ #include <err.h> #include <stdlib.h> #include "thread.h" #include "fuzzing.h" ...
2,901
25.144144
69
c
RIOT
RIOT-master/fuzzing/gcoap/main.c
/* * Copyright (C) 2019 Sören Tempel <tempel@uni-bremen.de> * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ #include <err.h> #include <stdlib.h> #include "thread.h" #include "fuzzing.h" ...
1,448
23.559322
73
c
QSM_AMP_PE
QSM_AMP_PE-master/functions/bet2/config.h
#ifndef _ZNZCONFIG_H_ #define _ZNZCONFIG_H_ /* config.h - for znzlib ***** This code is released to the public domain. ***** ***** Author: Mark Jenkinson, FMRIB Centre, University of Oxford ***** ***** Date: September 2004 ***** ***** Neith...
999
27.571429
92
h
QSM_AMP_PE
QSM_AMP_PE-master/functions/bet2/bet2.h
/* BET - Brain Extraction Tool BETv1 Steve Smith BETv2 Mickael Pechaud, Mark Jenkinson, Steve Smith FMRIB Image Analysis Group Copyright (C) 1999-2006 University of Oxford */ /* Part of FSL - FMRIB's Software Library http://www.fmrib.ox.ac.uk/fsl fsl@fmrib.ox.ac.uk Developed at F...
3,962
48.5375
109
h
QSM_AMP_PE
QSM_AMP_PE-master/functions/bet2/miscprob.h
/* miscprob.h Christian Beckmann & Mark Woolrich, FMRIB Image Analysis Group Copyright (C) 1999-2000 University of Oxford */ /* Part of FSL - FMRIB's Software Library http://www.fmrib.ox.ac.uk/fsl fsl@fmrib.ox.ac.uk Developed at FMRIB (Oxford Centre for Functional Magnetic Resonance I...
6,244
32.756757
89
h
QSM_AMP_PE
QSM_AMP_PE-master/functions/bet2/cprob.h
#if !defined(__CPROB_H) #define __CPROB_H #ifdef __cplusplus extern "C" { #endif /* * This file was automatically generated by version 1.7 of cextract. * Manual editing not recommended. * * Created: Wed Mar 29 17:50:31 1995 */ extern double bdtrc ( int k, int n, double p ); extern double bdtr ( int k, in...
2,002
31.836066
70
h
QSM_AMP_PE
QSM_AMP_PE-master/functions/bet2/kernel.h
/* kernel.h Mark Jenkinson, FMRIB Image Analysis Group Copyright (C) 2001 University of Oxford */ /* Part of FSL - FMRIB's Software Library http://www.fmrib.ox.ac.uk/fsl fsl@fmrib.ox.ac.uk Developed at FMRIB (Oxford Centre for Functional Magnetic Resonance Imaging of the Brain), Depar...
8,383
33.933333
113
h
QSM_AMP_PE
QSM_AMP_PE-master/functions/bet2/precisio.h
/// \ingroup newmat ///@{ /// \file precisio.h /// Floating point precision constants. #ifndef PRECISION_LIB #define PRECISION_LIB 0 #define WANT_MATH #include "include.h" // in case being used as stand alone #ifdef _STANDARD_ // standard library available #include <limits> #endif #ifd...
6,621
23.801498
77
h
QSM_AMP_PE
QSM_AMP_PE-master/functions/bet2/znzlib.c
/** \file znzlib.c \brief Low level i/o interface to compressed and noncompressed files. Written by Mark Jenkinson, FMRIB This library provides an interface to both compressed (gzip/zlib) and uncompressed (normal) file IO. The functions are written to have the same interface as the standard file IO functi...
8,200
24.390093
80
c
QSM_AMP_PE
QSM_AMP_PE-master/functions/bet2/dbh.h
#ifndef _DBH_H_ #define _DBH_H_ /* * * (c) Copyright, 1986-1994 * Biomedical Imaging Resource * Mayo Foundation * * dbh.h * * * database sub-definitions */ struct header_key /* header_key */ { /* off + size*/ int sizeof_...
4,687
44.514563
72
h
QSM_AMP_PE
QSM_AMP_PE-master/functions/bet2/lazy.h
/* Lazy evaluation support Mark Jenkinson, FMRIB Image Analysis Group Copyright (C) 2000 University of Oxford */ /* Part of FSL - FMRIB's Software Library http://www.fmrib.ox.ac.uk/fsl fsl@fmrib.ox.ac.uk Developed at FMRIB (Oxford Centre for Functional Magnetic Resonance Imaging of th...
6,948
31.023041
82
h
QSM_AMP_PE
QSM_AMP_PE-master/functions/bet2/pt_special.h
/* Copyright (C) 1999-2004 University of Oxford */ /* Part of FSL - FMRIB's Software Library http://www.fmrib.ox.ac.uk/fsl fsl@fmrib.ox.ac.uk Developed at FMRIB (Oxford Centre for Functional Magnetic Resonance Imaging of the Brain), Department of Clinical Neurology, Oxford University, Oxfor...
3,819
36.821782
74
h
QSM_AMP_PE
QSM_AMP_PE-master/functions/bet2/controlw.h
//$$ controlw.h Control word class #ifndef CONTROL_WORD_LIB #define CONTROL_WORD_LIB 0 // for organising an int as a series of bits which indicate whether an // option is on or off. class ControlWord { protected: int cw; // the control word public: ControlWor...
1,489
29.408163
71
h
QSM_AMP_PE
QSM_AMP_PE-master/functions/bet2/newmatrc.h
//$$ newmatrc.h definition file for row/column classes // Copyright (C) 1991,2,3,4,7: R B Davies #ifndef NEWMATRC_LIB #define NEWMATRC_LIB 0 #ifdef use_namespace namespace NEWMAT { #endif #include "controlw.h" /************** classes MatrixRowCol, MatrixRow, MatrixCol *****************/ // Used for ...
7,202
41.122807
80
h
QSM_AMP_PE
QSM_AMP_PE-master/functions/bet2/fslio.h
/** \file fslio.h \brief Data structures for using the fslio API. Written by Mark Jenkinson, FMRIB. */ /* fslio.h (Input and output routines for images in FSL) Mark Jenkinson FMRIB Image Analysis Group */ /* The fslio.h file was originally part of FSL - FMRIB's Software Library http:...
9,405
31.773519
120
h
QSM_AMP_PE
QSM_AMP_PE-master/functions/bet2/triangle.h
/* Copyright (C) 1999-2004 University of Oxford */ /* Part of FSL - FMRIB's Software Library http://www.fmrib.ox.ac.uk/fsl fsl@fmrib.ox.ac.uk Developed at FMRIB (Oxford Centre for Functional Magnetic Resonance Imaging of the Brain), Department of Clinical Neurology, Oxford University, Oxfor...
4,581
40.654545
114
h
QSM_AMP_PE
QSM_AMP_PE-master/functions/bet2/point.h
/* Copyright (C) 1999-2004 University of Oxford */ /* Part of FSL - FMRIB's Software Library http://www.fmrib.ox.ac.uk/fsl fsl@fmrib.ox.ac.uk Developed at FMRIB (Oxford Centre for Functional Magnetic Resonance Imaging of the Brain), Department of Clinical Neurology, Oxford University, Oxfor...
5,669
26.658537
77
h
QSM_AMP_PE
QSM_AMP_PE-master/functions/bet2/znzlib.h
#ifndef _ZNZLIB_H_ #define _ZNZLIB_H_ /* znzlib.h (zipped or non-zipped library) ***** This code is released to the public domain. ***** ***** Author: Mark Jenkinson, FMRIB Centre, University of Oxford ***** ***** Date: September 2004 ***** ...
2,853
23.186441
77
h
QSM_AMP_PE
QSM_AMP_PE-master/functions/bet2/newmatrm.h
//$$newmatrm.h rectangular matrix operations // Copyright (C) 1991,2,3,4: R B Davies #ifndef NEWMATRM_LIB #define NEWMATRM_LIB 0 #ifdef use_namespace namespace NEWMAT { #endif // operations on rectangular matrices class RectMatrixCol; class RectMatrixRowCol // a class for accessing rows...
3,938
31.02439
78
h
QSM_AMP_PE
QSM_AMP_PE-master/functions/bet2/fsl/extras/include/newmat/include.h
/// \defgroup rbd_common RBD common library ///@{ /// \file include.h /// Set options and and details of include files. #ifndef INCLUDE_LIB #define INCLUDE_LIB #define use_namespace // define name spaces //#define SETUP_C_SUBSCRIPTS // allow element access via A[i][j] //#define OPT_...
7,783
21.367816
84
h
QSM_AMP_PE
QSM_AMP_PE-master/functions/bet2/fsl/extras/include/newmat/newmatap.h
//$$ newmatap.h definition file for matrix package applications // Copyright (C) 1991,2,3,4,8: R B Davies #ifndef NEWMATAP_LIB #define NEWMATAP_LIB 0 #include "newmat.h" #ifdef use_namespace namespace NEWMAT { #endif // ************************** applications *****************************/ void QRZT(M...
4,609
25.802326
77
h
QSM_AMP_PE
QSM_AMP_PE-master/functions/bet2/fsl/extras/include/newmat/myexcept.h
/// \ingroup rbd_common ///@{ /// \file myexcept.h /// Exception handler. /// The low level classes for /// - my exception class hierarchy /// - the functions needed for my simulated exceptions /// - the Tracer mechanism /// - routines for checking whether new and delete calls are balanced /// // A set of classes to...
12,009
25.868009
84
h
QSM_AMP_PE
QSM_AMP_PE-master/functions/bet2/fsl/include/niftiio/nifti1_io.h
/** \file nifti1_io.h \brief Data structures for using nifti1_io API. - Written by Bob Cox, SSCC NIMH - Revisions by Rick Reynolds, SSCC NIMH */ #ifndef _NIFTI_IO_HEADER_ #define _NIFTI_IO_HEADER_ #include <stdio.h> #include <stdlib.h> #include <string.h> #include <math.h> #include <ctype.h>...
18,694
43.511905
80
h
QSM_AMP_PE
QSM_AMP_PE-master/functions/bet2/fsl/include/miscmaths/kernel.h
/* kernel.h Mark Jenkinson, FMRIB Image Analysis Group Copyright (C) 2001 University of Oxford */ /* Part of FSL - FMRIB's Software Library http://www.fmrib.ox.ac.uk/fsl fsl@fmrib.ox.ac.uk Developed at FMRIB (Oxford Centre for Functional Magnetic Resonance Imaging of the Brain), Depar...
8,347
33.783333
99
h
QSM_AMP_PE
QSM_AMP_PE-master/functions/bet2/fsl/include/newimage/newimageall.h
/* General header file for the newimage class Mark Jenkinson, FMRIB Image Analysis Group Copyright (C) 2000 University of Oxford */ /* Part of FSL - FMRIB's Software Library http://www.fmrib.ox.ac.uk/fsl fsl@fmrib.ox.ac.uk Developed at FMRIB (Oxford Centre for Functional Magnetic Resonanc...
3,650
45.21519
74
h
QSM_AMP_PE
QSM_AMP_PE-master/functions/bet2/fsl/include/newimage/lazy.h
/* Lazy evaluation support Mark Jenkinson, FMRIB Image Analysis Group Copyright (C) 2000 University of Oxford */ /* Part of FSL - FMRIB's Software Library http://www.fmrib.ox.ac.uk/fsl fsl@fmrib.ox.ac.uk Developed at FMRIB (Oxford Centre for Functional Magnetic Resonance Imaging of th...
6,956
31.059908
82
h
QSM_AMP_PE
QSM_AMP_PE-master/functions/bet2/fsl/include/newimage/positerators.h
/* Templated iterators for the image storage class (which uses lazymanager) Mark Jenkinson, FMRIB Image Analysis Group Copyright (C) 2000 University of Oxford */ /* Part of FSL - FMRIB's Software Library http://www.fmrib.ox.ac.uk/fsl fsl@fmrib.ox.ac.uk Developed at FMRIB (Oxford Centre fo...
8,450
35.584416
79
h
QSM_AMP_PE
QSM_AMP_PE-master/functions/bet2/fsl/include/newimage/lazyiterators.h
/* Templated iterators for any storage class that uses lazymanager Mark Jenkinson, FMRIB Image Analysis Group Copyright (C) 2000 University of Oxford */ /* Part of FSL - FMRIB's Software Library http://www.fmrib.ox.ac.uk/fsl fsl@fmrib.ox.ac.uk Developed at FMRIB (Oxford Centre for Functio...
9,592
37.838057
75
h
QSM_AMP_PE
QSM_AMP_PE-master/functions/bet2/fsl/include/newimage/imfft.h
/* imfft.h Mark Jenkinson, FMRIB Image Analysis Group Copyright (C) 2001 University of Oxford */ /* Part of FSL - FMRIB's Software Library http://www.fmrib.ox.ac.uk/fsl fsl@fmrib.ox.ac.uk Developed at FMRIB (Oxford Centre for Functional Magnetic Resonance Imaging of the Brain), Depart...
6,141
37.873418
76
h
QSM_AMP_PE
QSM_AMP_PE-master/functions/bet2/fsl/include/newimage/complexvolume.h
/* Copyright (C) 2000 University of Oxford */ /* Part of FSL - FMRIB's Software Library http://www.fmrib.ox.ac.uk/fsl fsl@fmrib.ox.ac.uk Developed at FMRIB (Oxford Centre for Functional Magnetic Resonance Imaging of the Brain), Department of Clinical Neurology, Oxford University, Oxford, UK...
9,097
41.316279
82
h
QSM_AMP_PE
QSM_AMP_PE-master/functions/bet2/fsl/include/meshclass/meshclass.h
/* Copyright (C) 1999-2004 University of Oxford */ /* Part of FSL - FMRIB's Software Library http://www.fmrib.ox.ac.uk/fsl fsl@fmrib.ox.ac.uk Developed at FMRIB (Oxford Centre for Functional Magnetic Resonance Imaging of the Brain), Department of Clinical Neurology, Oxford University, Oxfor...
3,550
45.723684
74
h
QSM_AMP_PE
QSM_AMP_PE-master/functions/bet2/fsl/include/meshclass/pt_special.h
/* Copyright (C) 1999-2004 University of Oxford */ /* Part of FSL - FMRIB's Software Library http://www.fmrib.ox.ac.uk/fsl fsl@fmrib.ox.ac.uk Developed at FMRIB (Oxford Centre for Functional Magnetic Resonance Imaging of the Brain), Department of Clinical Neurology, Oxford University, Oxfor...
3,827
36.90099
78
h
QSM_AMP_PE
QSM_AMP_PE-master/functions/bet2/fsl/include/meshclass/profile.h
/* Copyright (C) 1999-2004 University of Oxford */ /* Part of FSL - FMRIB's Software Library http://www.fmrib.ox.ac.uk/fsl fsl@fmrib.ox.ac.uk Developed at FMRIB (Oxford Centre for Functional Magnetic Resonance Imaging of the Brain), Department of Clinical Neurology, Oxford University, Oxfor...
4,401
33.124031
74
h
QSM_AMP_PE
QSM_AMP_PE-master/functions/bet2/fsl/include/meshclass/point.h
/* Copyright (C) 1999-2004 University of Oxford */ /* Part of FSL - FMRIB's Software Library http://www.fmrib.ox.ac.uk/fsl fsl@fmrib.ox.ac.uk Developed at FMRIB (Oxford Centre for Functional Magnetic Resonance Imaging of the Brain), Department of Clinical Neurology, Oxford University, Oxfor...
5,677
26.697561
77
h
QSM_AMP_PE
QSM_AMP_PE-master/functions/bet2/fsl/include/znzlib/config.h
#ifndef _ZNZCONFIG_H_ #define _ZNZCONFIG_H_ /* config.h - for znzlib ***** This code is released to the public domain. ***** ***** Author: Mark Jenkinson, FMRIB Centre, University of Oxford ***** ***** Date: September 2004 ***** ***** Neith...
999
27.571429
92
h
QSM_AMP_PE
QSM_AMP_PE-master/functions/bet2/fsl/include/znzlib/znzlib.h
#ifndef _ZNZLIB_H_ #define _ZNZLIB_H_ /* znzlib.h (zipped or non-zipped library) ***** This code is released to the public domain. ***** ***** Author: Mark Jenkinson, FMRIB Centre, University of Oxford ***** ***** Date: September 2004 ***** ...
2,853
23.186441
77
h
QSM_AMP_PE
QSM_AMP_PE-master/functions/bet2/fsl/include/utils/options.h
/* Copyright (C) 1999-2004 University of Oxford */ /* Part of FSL - FMRIB's Software Library http://www.fmrib.ox.ac.uk/fsl fsl@fmrib.ox.ac.uk Developed at FMRIB (Oxford Centre for Functional Magnetic Resonance Imaging of the Brain), Department of Clinical Neurology, Oxford University, Oxfor...
19,222
30.668863
131
h
QSM_AMP_PE
QSM_AMP_PE-master/functions/bet2/fsl/include/fslio/dbh.h
#ifndef _DBH_H_ #define _DBH_H_ /* * * (c) Copyright, 1986-1994 * Biomedical Imaging Resource * Mayo Foundation * * dbh.h * * * database sub-definitions */ struct header_key /* header_key */ { /* off + size*/ int sizeof_...
4,687
44.514563
72
h
QSM_AMP_PE
QSM_AMP_PE-master/functions/bet2/fsl/include/fslio/fslio.h
/** \file fslio.h \brief Data structures for using the fslio API. Written by Mark Jenkinson, FMRIB. */ /* fslio.h (Input and output routines for images in FSL) Mark Jenkinson FMRIB Image Analysis Group */ /* The fslio.h file was originally part of FSL - FMRIB's Software Library http:...
9,312
31.792254
120
h
QSM_AMP_PE
QSM_AMP_PE-master/functions/spm_lite/@nifti/private/nifti_stats_mex.c
#ifndef lint static char svnid[] = "$Id: nifti_stats_mex.c,v 1.2 2010/08/30 18:44:29 bwagner Exp $"; #endif /* * This is a Matlab mex interface for Bob Cox's extensive nifti_stats.c * functionality. See nifti_stats.m for documentation. */ #include <stdio.h> #include <stdlib.h> #include <math.h> #include "mex.h" ...
4,262
33.104
88
c
null
endure-main/extern/rocksdb/monitoring/in_memory_stats_history.h
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved. // This source code is licensed under both the GPLv2 (found in the // COPYING file in the root directory) and Apache 2.0 License // (found in the LICENSE.Apache file in the root directory). // Copyright (c) 2011 The LevelDB Authors. All rights reser...
2,939
38.2
79
h
null
endure-main/extern/rocksdb/monitoring/statistics.h
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved. // This source code is licensed under both the GPLv2 (found in the // COPYING file in the root directory) and Apache 2.0 License // (found in the LICENSE.Apache file in the root directory). // #pragma once #include "rocksdb/statistics.h" #include ...
4,992
34.920863
118
h
null
endure-main/extern/rocksdb/monitoring/instrumented_mutex.h
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved. // This source code is licensed under both the GPLv2 (found in the // COPYING file in the root directory) and Apache 2.0 License // (found in the LICENSE.Apache file in the root directory). #pragma once #include "monitoring/statistics.h" #include...
2,578
24.284314
77
h
null
endure-main/extern/rocksdb/monitoring/perf_step_timer.h
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved. // This source code is licensed under both the GPLv2 (found in the // COPYING file in the root directory) and Apache 2.0 License // (found in the LICENSE.Apache file in the root directory). // #pragma once #include "monitoring/perf_level_imp.h" #in...
2,008
24.1125
80
h
null
endure-main/extern/rocksdb/monitoring/perf_level_imp.h
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved. // This source code is licensed under both the GPLv2 (found in the // COPYING file in the root directory) and Apache 2.0 License // (found in the LICENSE.Apache file in the root directory). // #pragma once #include "rocksdb/perf_level.h" #include "...
516
26.210526
68
h
null
endure-main/extern/rocksdb/monitoring/persistent_stats_history.h
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved. // This source code is licensed under both the GPLv2 (found in the // COPYING file in the root directory) and Apache 2.0 License // (found in the LICENSE.Apache file in the root directory). // Copyright (c) 2011 The LevelDB Authors. All rights reser...
2,972
34.392857
79
h
null
endure-main/extern/rocksdb/monitoring/histogram.h
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved. // This source code is licensed under both the GPLv2 (found in the // COPYING file in the root directory) and Apache 2.0 License // (found in the LICENSE.Apache file in the root directory). // // Copyright (c) 2011 The LevelDB Authors. All rights r...
4,554
29.366667
78
h
null
endure-main/extern/rocksdb/monitoring/perf_context_imp.h
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved. // This source code is licensed under both the GPLv2 (found in the // COPYING file in the root directory) and Apache 2.0 License // (found in the LICENSE.Apache file in the root directory). // #pragma once #include "monitoring/perf_step_timer.h" #i...
4,212
41.989796
80
h
null
endure-main/extern/rocksdb/monitoring/histogram_windowing.h
// Copyright (c) 2013, Facebook, Inc. All rights reserved. // This source code is licensed under both the GPLv2 (found in the // COPYING file in the root directory) and Apache 2.0 License // (found in the LICENSE.Apache file in the root directory). // // Copyright (c) 2011 The LevelDB Authors. All rights reserved....
2,986
33.333333
80
h
null
endure-main/extern/rocksdb/monitoring/thread_status_updater.h
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved. // This source code is licensed under both the GPLv2 (found in the // COPYING file in the root directory) and Apache 2.0 License // (found in the LICENSE.Apache file in the root directory). // // The implementation of ThreadStatus. // // Note that w...
8,693
36.153846
77
h
null
endure-main/extern/rocksdb/monitoring/thread_status_util.h
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved. // This source code is licensed under both the GPLv2 (found in the // COPYING file in the root directory) and Apache 2.0 License // (found in the LICENSE.Apache file in the root directory). #pragma once #include <string> #include "monitoring/thre...
5,218
37.659259
78
h
null
endure-main/extern/rocksdb/monitoring/file_read_sample.h
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved. // This source code is licensed under both the GPLv2 (found in the // COPYING file in the root directory) and Apache 2.0 License // (found in the LICENSE.Apache file in the root directory). // #pragma once #include "db/version_edit.h" #include "uti...
843
34.166667
73
h
null
endure-main/extern/rocksdb/monitoring/iostats_context_imp.h
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved. // This source code is licensed under both the GPLv2 (found in the // COPYING file in the root directory) and Apache 2.0 License // (found in the LICENSE.Apache file in the root directory). // #pragma once #include "monitoring/perf_step_timer.h" #i...
2,218
35.377049
73
h
null
endure-main/extern/rocksdb/third-party/folly/folly/CPortability.h
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved. // This source code is licensed under both the GPLv2 (found in the // COPYING file in the root directory) and Apache 2.0 License // (found in the LICENSE.Apache file in the root directory). #pragma once /** * Macro for marking functions as havin...
737
25.357143
68
h
null
endure-main/extern/rocksdb/third-party/folly/folly/Optional.h
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved. // This source code is licensed under both the GPLv2 (found in the // COPYING file in the root directory) and Apache 2.0 License // (found in the LICENSE.Apache file in the root directory). #pragma once /* * Optional - For conditional initializa...
14,342
24.119089
80
h
null
endure-main/extern/rocksdb/third-party/folly/folly/Utility.h
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved. // This source code is licensed under both the GPLv2 (found in the // COPYING file in the root directory) and Apache 2.0 License // (found in the LICENSE.Apache file in the root directory). #pragma once #include <utility> #include <type_traits> ...
3,684
24.950704
78
h
null
endure-main/extern/rocksdb/third-party/folly/folly/ConstexprMath.h
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved. // This source code is licensed under both the GPLv2 (found in the // COPYING file in the root directory) and Apache 2.0 License // (found in the LICENSE.Apache file in the root directory). #pragma once namespace folly { template <typename T> con...
1,128
23.543478
68
h
null
endure-main/extern/rocksdb/third-party/folly/folly/ScopeGuard.h
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved. // This source code is licensed under both the GPLv2 (found in the // COPYING file in the root directory) and Apache 2.0 License // (found in the LICENSE.Apache file in the root directory). #pragma once #include <folly/Traits.h> #include <utilit...
1,560
27.381818
79
h
null
endure-main/extern/rocksdb/third-party/folly/folly/Traits.h
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved. // This source code is licensed under both the GPLv2 (found in the // COPYING file in the root directory) and Apache 2.0 License // (found in the LICENSE.Apache file in the root directory). #pragma once #include <type_traits> #include <utility> ...
4,452
28.104575
78
h
null
endure-main/extern/rocksdb/third-party/folly/folly/Indestructible.h
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved. // This source code is licensed under both the GPLv2 (found in the // COPYING file in the root directory) and Apache 2.0 License // (found in the LICENSE.Apache file in the root directory). #pragma once #include <cassert> #include <type_traits> #...
5,278
30.610778
88
h
null
endure-main/extern/rocksdb/third-party/folly/folly/Unit.h
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved. // This source code is licensed under both the GPLv2 (found in the // COPYING file in the root directory) and Apache 2.0 License // (found in the LICENSE.Apache file in the root directory). #pragma once #include <type_traits> namespace folly { ...
1,739
28
80
h
null
endure-main/extern/rocksdb/third-party/folly/folly/Portability.h
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved. // This source code is licensed under both the GPLv2 (found in the // COPYING file in the root directory) and Apache 2.0 License // (found in the LICENSE.Apache file in the root directory). #pragma once #include <folly/CPortability.h> #if define...
1,970
20.193548
68
h
null
endure-main/extern/rocksdb/third-party/folly/folly/hash/Hash.h
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved. // This source code is licensed under both the GPLv2 (found in the // COPYING file in the root directory) and Apache 2.0 License // (found in the LICENSE.Apache file in the root directory). #pragma once #include <cstdint> namespace folly { names...
835
26.866667
72
h
null
endure-main/extern/rocksdb/third-party/folly/folly/chrono/Hardware.h
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved. // This source code is licensed under both the GPLv2 (found in the // COPYING file in the root directory) and Apache 2.0 License // (found in the LICENSE.Apache file in the root directory). #pragma once #include <folly/Portability.h> #include <c...
891
25.235294
77
h
null
endure-main/extern/rocksdb/third-party/folly/folly/detail/Futex.h
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved. // This source code is licensed under both the GPLv2 (found in the // COPYING file in the root directory) and Apache 2.0 License // (found in the LICENSE.Apache file in the root directory). #pragma once #include <atomic> #include <cassert> #inclu...
3,490
34.989691
78
h
null
endure-main/extern/rocksdb/third-party/folly/folly/detail/Futex-inl.h
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved. // This source code is licensed under both the GPLv2 (found in the // COPYING file in the root directory) and Apache 2.0 License // (found in the LICENSE.Apache file in the root directory). #pragma once #include <folly/detail/Futex.h> #include <f...
4,061
33.423729
77
h
null
endure-main/extern/rocksdb/third-party/folly/folly/lang/Align.h
/* * Copyright (c) Facebook, Inc. and its affiliates. * * 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 applic...
5,823
39.165517
80
h
null
endure-main/extern/rocksdb/third-party/folly/folly/lang/Launder.h
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved. // This source code is licensed under both the GPLv2 (found in the // COPYING file in the root directory) and Apache 2.0 License // (found in the LICENSE.Apache file in the root directory). #pragma once #include <new> #include <folly/Portability...
1,599
29.769231
80
h
null
endure-main/extern/rocksdb/third-party/folly/folly/lang/Bits.h
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved. // This source code is licensed under both the GPLv2 (found in the // COPYING file in the root directory) and Apache 2.0 License // (found in the LICENSE.Apache file in the root directory). #pragma once #include <folly/Traits.h> #include <cstdin...
717
22.16129
68
h
null
endure-main/extern/rocksdb/third-party/folly/folly/synchronization/Baton.h
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved. // This source code is licensed under both the GPLv2 (found in the // COPYING file in the root directory) and Apache 2.0 License // (found in the LICENSE.Apache file in the root directory). #pragma once #include <assert.h> #include <errno.h> #inc...
12,831
38.00304
80
h
null
endure-main/extern/rocksdb/third-party/folly/folly/synchronization/AtomicUtil-inl.h
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved. // This source code is licensed under both the GPLv2 (found in the // COPYING file in the root directory) and Apache 2.0 License // (found in the LICENSE.Apache file in the root directory). #pragma once #include <folly/Portability.h> #include <a...
8,701
32.340996
80
h
null
endure-main/extern/rocksdb/third-party/folly/folly/synchronization/AtomicUtil.h
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved. // This source code is licensed under both the GPLv2 (found in the // COPYING file in the root directory) and Apache 2.0 License // (found in the LICENSE.Apache file in the root directory). #pragma once #include <atomic> #include <cstdint> names...
1,864
34.188679
78
h
null
endure-main/extern/rocksdb/third-party/folly/folly/synchronization/AtomicNotification.h
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved. // This source code is licensed under both the GPLv2 (found in the // COPYING file in the root directory) and Apache 2.0 License // (found in the LICENSE.Apache file in the root directory). #pragma once #include <atomic> #include <condition_varia...
2,343
39.413793
77
h
null
endure-main/extern/rocksdb/third-party/folly/folly/synchronization/ParkingLot.h
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved. // This source code is licensed under both the GPLv2 (found in the // COPYING file in the root directory) and Apache 2.0 License // (found in the LICENSE.Apache file in the root directory). #pragma once #include <atomic> #include <condition_varia...
8,995
27.200627
80
h
null
endure-main/extern/rocksdb/third-party/folly/folly/synchronization/DistributedMutex.h
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved. // This source code is licensed under both the GPLv2 (found in the // COPYING file in the root directory) and Apache 2.0 License // (found in the LICENSE.Apache file in the root directory). #pragma once #include <atomic> #include <chrono> #includ...
15,227
48.927869
80
h
null
endure-main/extern/rocksdb/third-party/folly/folly/synchronization/AtomicNotification-inl.h
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved. // This source code is licensed under both the GPLv2 (found in the // COPYING file in the root directory) and Apache 2.0 License // (found in the LICENSE.Apache file in the root directory). #pragma once #include <folly/detail/Futex.h> #include <f...
4,702
32.834532
80
h
null
endure-main/extern/rocksdb/third-party/folly/folly/synchronization/WaitOptions.h
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved. // This source code is licensed under both the GPLv2 (found in the // COPYING file in the root directory) and Apache 2.0 License // (found in the LICENSE.Apache file in the root directory). #pragma once #include <chrono> namespace folly { /// W...
2,201
36.965517
80
h
null
endure-main/extern/rocksdb/third-party/folly/folly/synchronization/DistributedMutexSpecializations.h
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved. // This source code is licensed under both the GPLv2 (found in the // COPYING file in the root directory) and Apache 2.0 License // (found in the LICENSE.Apache file in the root directory). #pragma once #include <folly/synchronization/Distributed...
1,553
37.85
79
h
null
endure-main/extern/rocksdb/third-party/folly/folly/synchronization/detail/InlineFunctionRef.h
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved. // This source code is licensed under both the GPLv2 (found in the // COPYING file in the root directory) and Apache 2.0 License // (found in the LICENSE.Apache file in the root directory). #pragma once #include <cstdint> #include <type_traits> ...
8,694
38.522727
78
h
null
endure-main/extern/rocksdb/third-party/folly/folly/synchronization/detail/Sleeper.h
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved. // This source code is licensed under both the GPLv2 (found in the // COPYING file in the root directory) and Apache 2.0 License // (found in the LICENSE.Apache file in the root directory). #pragma once /* * @author Keith Adams <kma@fb.com> * @...
1,323
21.827586
70
h
null
endure-main/extern/rocksdb/third-party/folly/folly/synchronization/detail/ProxyLockable-inl.h
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved. // This source code is licensed under both the GPLv2 (found in the // COPYING file in the root directory) and Apache 2.0 License // (found in the LICENSE.Apache file in the root directory). #pragma once #include <folly/Optional.h> #include <folly...
5,496
25.427885
74
h
null
endure-main/extern/rocksdb/third-party/folly/folly/synchronization/detail/Spin.h
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved. // This source code is licensed under both the GPLv2 (found in the // COPYING file in the root directory) and Apache 2.0 License // (found in the LICENSE.Apache file in the root directory). #pragma once #include <algorithm> #include <chrono> #inc...
2,076
25.628205
77
h
null
endure-main/extern/rocksdb/third-party/folly/folly/synchronization/detail/ProxyLockable.h
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved. // This source code is licensed under both the GPLv2 (found in the // COPYING file in the root directory) and Apache 2.0 License // (found in the LICENSE.Apache file in the root directory). #pragma once #include <folly/Optional.h> #include <mute...
5,215
30.612121
78
h
null
endure-main/extern/rocksdb/third-party/folly/folly/container/Array.h
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved. // This source code is licensed under both the GPLv2 (found in the // COPYING file in the root directory) and Apache 2.0 License // (found in the LICENSE.Apache file in the root directory). #pragma once #include <array> #include <type_traits> #in...
2,297
29.64
77
h
null
endure-main/extern/rocksdb/third-party/folly/folly/portability/Asm.h
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved. // This source code is licensed under both the GPLv2 (found in the // COPYING file in the root directory) and Apache 2.0 License // (found in the LICENSE.Apache file in the root directory). #pragma once #include <folly/Portability.h> #include <c...
712
23.586207
68
h
null
endure-main/extern/rocksdb/third-party/folly/folly/portability/SysTypes.h
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved. // This source code is licensed under both the GPLv2 (found in the // COPYING file in the root directory) and Apache 2.0 License // (found in the LICENSE.Apache file in the root directory). #pragma once #include <sys/types.h> #ifdef _WIN32 #incl...
952
34.296296
79
h
null
endure-main/extern/rocksdb/third-party/folly/folly/functional/Invoke.h
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved. // This source code is licensed under both the GPLv2 (found in the // COPYING file in the root directory) and Apache 2.0 License // (found in the LICENSE.Apache file in the root directory). #pragma once #include <folly/Traits.h> #include <functi...
1,411
33.439024
78
h
null
endure-main/extern/rocksdb/tools/simulated_hybrid_file_system.h
// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. // This source code is licensed under both the GPLv2 (found in the // COPYING file in the root directory) and Apache 2.0 License // (found in the LICENSE.Apache file in the root directory). #pragma once #ifndef ROCKSDB_LITE #include <utilit...
3,481
36.847826
77
h
null
endure-main/extern/rocksdb/tools/trace_analyzer_tool.h
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved. // This source code is licensed under both the GPLv2 (found in the // COPYING file in the root directory) and Apache 2.0 License // (found in the LICENSE.Apache file in the root directory). #pragma once #ifndef ROCKSDB_LITE #include <list> #inclu...
11,195
33.238532
80
h
null
endure-main/extern/rocksdb/tools/io_tracer_parser_tool.h
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved. // This source code is licensed under both the GPLv2 (found in the // COPYING file in the root directory) and Apache 2.0 License // (found in the LICENSE.Apache file in the root directory). #ifndef ROCKSDB_LITE #pragma once #include <memory> #includ...
1,184
27.902439
80
h
null
endure-main/extern/rocksdb/tools/ldb_cmd_impl.h
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved. // This source code is licensed under both the GPLv2 (found in the // COPYING file in the root directory) and Apache 2.0 License // (found in the LICENSE.Apache file in the root directory). #pragma once #include "rocksdb/utilities/ldb_cmd.h" #in...
19,111
26.819505
80
h
null
endure-main/extern/rocksdb/tools/block_cache_analyzer/block_cache_trace_analyzer.h
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved. // This source code is licensed under both the GPLv2 (found in the // COPYING file in the root directory) and Apache 2.0 License // (found in the LICENSE.Apache file in the root directory). #pragma once #include <map> #include <set> #include <vec...
16,760
41.325758
93
h
null
endure-main/extern/rocksdb/tools/rdb/db_wrapper.h
// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. #ifndef DBWRAPPER_H #define DBWRAPPER_H #include <map> #include <node.h> #include "rocksdb/db.h" #include "rocksdb/slice.h" #include "rocksdb/options.h" using namespace v8; // Used to encapsulate a particular instance of an opened database. //...
2,211
35.262295
78
h
null
endure-main/extern/rocksdb/db/builder.h
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved. // This source code is licensed under both the GPLv2 (found in the // COPYING file in the root directory) and Apache 2.0 License // (found in the LICENSE.Apache file in the root directory). // Copyright (c) 2011 The LevelDB Authors. All rights rese...
3,039
40.081081
79
h
null
endure-main/extern/rocksdb/db/version_builder.h
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved. // This source code is licensed under both the GPLv2 (found in the // COPYING file in the root directory) and Apache 2.0 License // (found in the LICENSE.Apache file in the root directory). // // Copyright (c) 2011 The LevelDB Authors. All rights r...
2,483
33.985915
77
h
null
endure-main/extern/rocksdb/db/log_reader.h
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved. // This source code is licensed under both the GPLv2 (found in the // COPYING file in the root directory) and Apache 2.0 License // (found in the LICENSE.Apache file in the root directory). // // Copyright (c) 2011 The LevelDB Authors. All rights r...
6,856
34.528497
79
h
null
endure-main/extern/rocksdb/db/wal_manager.h
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved. // This source code is licensed under both the GPLv2 (found in the // COPYING file in the root directory) and Apache 2.0 License // (found in the LICENSE.Apache file in the root directory). // // Copyright (c) 2011 The LevelDB Authors. All rights r...
4,112
33.275
79
h