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
self
self-master/lib/dlib/clustering/chinese_whispers.h
// Copyright (C) 2012 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #ifndef DLIB_CHINESE_WHISPErS_Hh_ #define DLIB_CHINESE_WHISPErS_Hh_ #include "chinese_whispers_abstract.h" #include <vector> #include "../rand.h" #include "../graph_utils/edge_list_graphs.h"...
4,556
32.507353
91
h
self
self-master/lib/dlib/tuple/tuple_abstract.h
// Copyright (C) 2007 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #undef DLIB_TUPLe_ABSTRACT_H_ #ifdef DLIB_TUPLe_ABSTRACT_H_ #include "../algs.h" #include "../serialize.h" #include "tuple_abstract.h" namespace dlib { // ---------------------------------...
9,170
29.267327
91
h
self
self-master/lib/dlib/matlab/subprocess_stream.h
// Copyright (C) 2016 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #ifndef DLIB_SUBPROCeSS_STREAM_H_ #define DLIB_SUBPROCeSS_STREAM_H_ #include <utility> #include <unistd.h> #include <iostream> #include <memory> #include <dlib/matrix.h> #include <sys/types....
7,917
34.348214
116
h
self
self-master/lib/dlib/matlab/call_matlab.h
// Copyright (C) 2012 Massachusetts Institute of Technology, Lincoln Laboratory // License: Boost Software License See LICENSE.txt for the full license. // Authors: Davis E. King (davis@dlib.net) #ifndef MIT_LL_CALL_MATLAB_H__ #define MIT_LL_CALL_MATLAB_H__ #include <string> namespace dlib { // -------------------...
24,830
30.916452
118
h
self
self-master/lib/dlib/entropy_decoder_model/entropy_decoder_model_kernel_abstract.h
// Copyright (C) 2004 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #undef DLIB_ENTROPY_DECODER_MODEL_KERNEl_ABSTRACT_ #ifdef DLIB_ENTROPY_DECODER_MODEL_KERNEl_ABSTRACT_ #include "../algs.h" namespace dlib { template < unsigned long alphabet_si...
3,681
30.470085
121
h
self
self-master/lib/dlib/entropy_decoder_model/entropy_decoder_model_kernel_3.h
// Copyright (C) 2004 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #ifndef DLIB_ENTROPY_DECODER_MODEL_KERNEl_3_ #define DLIB_ENTROPY_DECODER_MODEL_KERNEl_3_ #include "../algs.h" #include "entropy_decoder_model_kernel_abstract.h" #include "../assert.h" name...
10,090
29.032738
109
h
self
self-master/lib/dlib/image_processing/frontal_face_detector_abstract.h
// Copyright (C) 2013 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #undef DLIB_FRONTAL_FACE_DETECTOr_ABSTRACT_Hh_ #ifdef DLIB_FRONTAL_FACE_DETECTOr_ABSTRACT_Hh_ #include "object_detector_abstract.h" #include "scan_fhog_pyramid_abstract.h" #include "../image...
757
28.153846
88
h
self
self-master/lib/dlib/image_processing/box_overlap_testing_abstract.h
// Copyright (C) 2011 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #undef DLIB_BOX_OVERlAP_TESTING_ABSTRACT_Hh_ #ifdef DLIB_BOX_OVERlAP_TESTING_ABSTRACT_Hh_ #include "../geometry.h" namespace dlib { // -----------------------------------------------------...
4,696
30.10596
92
h
self
self-master/lib/dlib/image_processing/scan_image_pyramid_tools.h
// Copyright (C) 2011 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #ifndef DLIB_SCAN_IMaGE_PYRAMID_TOOLS_Hh_ #define DLIB_SCAN_IMaGE_PYRAMID_TOOLS_Hh_ #include "scan_image_pyramid_tools_abstract.h" #include "../statistics.h" #include <list> #include "../geo...
6,593
35.430939
127
h
self
self-master/lib/dlib/image_processing/remove_unobtainable_rectangles_abstract.h
// Copyright (C) 2013 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #undef DLIB_REMOVE_UnOBTAINABLE_RECTANGLES_ABSTRACT_Hh_ #ifdef DLIB_REMOVE_UnOBTAINABLE_RECTANGLES_ABSTRACT_Hh_ #include "scan_image_pyramid_abstract.h" #include "scan_image_boxes_abstract.h...
2,445
41.912281
96
h
self
self-master/lib/dlib/image_processing/correlation_tracker_abstract.h
// Copyright (C) 2015 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #undef DLIB_CORRELATION_TrACKER_ABSTRACT_H_ #ifdef DLIB_CORRELATION_TrACKER_ABSTRACT_H_ #include "../geometry/drectangle_abstract.h" namespace dlib { // -----------------------------------...
6,425
38.423313
95
h
self
self-master/lib/dlib/image_processing/shape_predictor_abstract.h
// Copyright (C) 2014 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #undef DLIB_SHAPE_PREDICToR_ABSTRACT_H_ #ifdef DLIB_SHAPE_PREDICToR_ABSTRACT_H_ #include "full_object_detection_abstract.h" #include "../matrix.h" #include "../geometry.h" #include "../pixel...
20,724
39.321012
103
h
self
self-master/lib/dlib/image_processing/scan_image_pyramid_tools_abstract.h
// Copyright (C) 2011 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #undef DLIB_SCAN_IMaGE_PYRAMID_TOOLS_ABSTRACT_Hh_ #ifdef DLIB_SCAN_IMaGE_PYRAMID_TOOLS_ABSTRACT_Hh_ #include "scan_image_pyramid_abstract.h" #include <vector> #include "../geometry.h" names...
4,754
38.957983
97
h
self
self-master/lib/dlib/image_processing/scan_image_boxes.h
// Copyright (C) 2013 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #ifndef DLIB_SCAN_IMAGE_bOXES_Hh_ #define DLIB_SCAN_IMAGE_bOXES_Hh_ #include "scan_image_boxes_abstract.h" #include "../matrix.h" #include "../geometry.h" #include "../array2d.h" #include <v...
20,932
32.174326
132
h
self
self-master/lib/dlib/image_processing/correlation_tracker.h
// Copyright (C) 2015 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #ifndef DLIB_CORRELATION_TrACKER_H_ #define DLIB_CORRELATION_TrACKER_H_ #include "correlation_tracker_abstract.h" #include "../geometry.h" #include "../matrix.h" #include "../array2d.h" #inc...
13,916
33.44802
111
h
self
self-master/lib/dlib/image_processing/scan_image_custom_abstract.h
// Copyright (C) 2013 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #undef DLIB_SCAN_IMAGE_CuSTOM_ABSTRACT_Hh_ #ifdef DLIB_SCAN_IMAGE_CuSTOM_ABSTRACT_Hh_ #include <vector> #include "../matrix.h" #include "../geometry.h" #include "../image_processing/full_obj...
16,669
41.634271
112
h
self
self-master/lib/dlib/image_processing/setup_hashed_features_abstract.h
// Copyright (C) 2011 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #undef DLIB_SETUP_HAShED_FEATURES_ABSTRACT_Hh_ #ifdef DLIB_SETUP_HAShED_FEATURES_ABSTRACT_Hh_ #include "scan_image_pyramid_abstract.h" #include "scan_image_boxes_abstract.h" #include "../lsh...
8,717
40.317536
102
h
self
self-master/lib/dlib/image_processing/render_face_detections.h
// Copyright (C) 2014 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #ifndef DLIB_RENDER_FACE_DeTECTIONS_H_ #define DLIB_RENDER_FACE_DeTECTIONS_H_ #include "full_object_detection.h" #include "../gui_widgets.h" #include "render_face_detections_abstract.h" #inc...
3,733
40.955056
91
h
self
self-master/lib/dlib/image_processing/full_object_detection_abstract.h
// Copyright (C) 2012 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #undef DLIB_FULL_OBJECT_DeTECTION_ABSTRACT_Hh_ #ifdef DLIB_FULL_OBJECT_DeTECTION_ABSTRACT_Hh_ #include <vector> #include "../geometry.h" #include "../serialize.h" namespace dlib { // -----...
4,366
28.707483
102
h
self
self-master/lib/dlib/image_processing/scan_image_abstract.h
// Copyright (C) 2011 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #undef DLIB_SCAN_iMAGE_ABSTRACT_Hh_ #ifdef DLIB_SCAN_iMAGE_ABSTRACT_Hh_ #include <vector> #include <utility> #include "../algs.h" #include "../image_processing/generic_image.h" namespace dl...
10,580
45.407895
109
h
self
self-master/lib/dlib/image_processing/object_detector.h
// Copyright (C) 2011 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #ifndef DLIB_OBJECT_DeTECTOR_Hh_ #define DLIB_OBJECT_DeTECTOR_Hh_ #include "object_detector_abstract.h" #include "../geometry.h" #include <vector> #include "box_overlap_testing.h" #include "...
19,561
30.199362
125
h
self
self-master/lib/dlib/image_processing/object_detector_abstract.h
// Copyright (C) 2011 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #undef DLIB_OBJECT_DeTECTOR_ABSTRACT_Hh_ #ifdef DLIB_OBJECT_DeTECTOR_ABSTRACT_Hh_ #include "../geometry.h" #include <vector> #include "box_overlap_testing_abstract.h" #include "full_object_d...
18,644
45.037037
120
h
self
self-master/lib/dlib/image_processing/remove_unobtainable_rectangles.h
// Copyright (C) 2013 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #ifndef DLIB_REMOVE_UnOBTAINABLE_RECTANGLES_Hh_ #define DLIB_REMOVE_UnOBTAINABLE_RECTANGLES_Hh_ #include "remove_unobtainable_rectangles_abstract.h" #include "scan_image_pyramid.h" #include ...
12,376
37.921384
118
h
self
self-master/lib/dlib/image_processing/scan_image.h
// Copyright (C) 2011 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #ifndef DLIB_SCAN_iMAGE_Hh_ #define DLIB_SCAN_iMAGE_Hh_ #include <vector> #include <utility> #include "scan_image_abstract.h" #include "../matrix.h" #include "../algs.h" #include "../rand.h"...
13,802
36.406504
107
h
self
self-master/lib/dlib/image_processing/scan_image_pyramid_abstract.h
// Copyright (C) 2011 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #undef DLIB_SCAN_IMaGE_PYRAMID_ABSTRACT_Hh_ #ifdef DLIB_SCAN_IMaGE_PYRAMID_ABSTRACT_Hh_ #include "../matrix.h" #include "../geometry.h" #include "../image_processing.h" #include "../array2d....
24,364
48.122984
125
h
self
self-master/lib/dlib/image_processing/scan_image_custom.h
// Copyright (C) 2013 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #ifndef DLIB_SCAN_IMAGE_CuSTOM_Hh_ #define DLIB_SCAN_IMAGE_CuSTOM_Hh_ #include "scan_image_custom_abstract.h" #include "../matrix.h" #include "../geometry.h" #include <vector> #include "../i...
12,491
30.074627
129
h
self
self-master/lib/dlib/image_processing/scan_image_boxes_abstract.h
// Copyright (C) 2013 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #undef DLIB_SCAN_IMAGE_bOXES_ABSTRACT_Hh_ #ifdef DLIB_SCAN_IMAGE_bOXES_ABSTRACT_Hh_ #include "../matrix.h" #include "../geometry.h" #include "../image_processing.h" #include "../array2d.h" #...
17,212
42.577215
96
h
self
self-master/lib/dlib/image_processing/generic_image.h
// Copyright (C) 2014 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #ifndef DLIB_GeNERIC_IMAGE_Hh_ #define DLIB_GeNERIC_IMAGE_Hh_ #include "../assert.h" namespace dlib { /*! In dlib, an "image" is any object that implements the generic image in...
16,060
36.178241
108
h
self
self-master/lib/dlib/image_processing/full_object_detection.h
// Copyright (C) 2012 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #ifndef DLIB_FULL_OBJECT_DeTECTION_Hh_ #define DLIB_FULL_OBJECT_DeTECTION_Hh_ #include "../geometry.h" #include "full_object_detection_abstract.h" #include <vector> #include "../serialize.h"...
3,587
28.9
125
h
self
self-master/lib/dlib/image_processing/detection_template_tools.h
// Copyright (C) 2011 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #ifndef DLIB_DETECTION_TEMPlATE_TOOLS_Hh_ #define DLIB_DETECTION_TEMPlATE_TOOLS_Hh_ #include "detection_template_tools_abstract.h" #include "../geometry.h" #include "../matrix.h" #include <u...
3,669
31.192982
94
h
self
self-master/lib/dlib/image_processing/setup_hashed_features.h
// Copyright (C) 2011 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #ifndef DLIB_SETUP_HAShED_FEATURES_Hh_ #define DLIB_SETUP_HAShED_FEATURES_Hh_ #include "setup_hashed_features_abstract.h" #include "scan_image_pyramid.h" #include "scan_image_boxes.h" #inclu...
7,965
35.209091
124
h
self
self-master/lib/dlib/image_processing/box_overlap_testing.h
// Copyright (C) 2011 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #ifndef DLIB_BOX_OVERlAP_TESTING_Hh_ #define DLIB_BOX_OVERlAP_TESTING_Hh_ #include "box_overlap_testing_abstract.h" #include "../geometry.h" #include <vector> namespace dlib { // ---------...
5,429
31.130178
92
h
self
self-master/lib/dlib/image_processing/detection_template_tools_abstract.h
// Copyright (C) 2011 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #undef DLIB_DETECTION_TEMPlATE_TOOLS_ABSTRACT_Hh_ #ifdef DLIB_DETECTION_TEMPlATE_TOOLS_ABSTRACT_Hh_ #include "../geometry.h" #include <utility> #include <vector> namespace dlib { // ------...
3,291
33.291667
93
h
self
self-master/lib/dlib/image_processing/render_face_detections_abstract.h
// Copyright (C) 2014 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #undef DLIB_RENDER_FACE_DeTECTIONS_ABSTRACT_H_ #ifdef DLIB_RENDER_FACE_DeTECTIONS_ABSTRACT_H_ #include "full_object_detection_abstract.h" #include "../gui_widgets.h" namespace dlib { // --...
1,915
35.150943
91
h
self
self-master/lib/dlib/stack/stack_kernel_c.h
// Copyright (C) 2003 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #ifndef DLIB_STACK_KERNEl_C_ #define DLIB_STACK_KERNEl_C_ #include "stack_kernel_abstract.h" #include "../algs.h" #include "../assert.h" namespace dlib { template < typename st...
4,854
24.552632
91
h
self
self-master/lib/dlib/stack/stack_kernel_abstract.h
// Copyright (C) 2003 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #undef DLIB_STACK_KERNEl_ABSTRACT_ #ifdef DLIB_STACK_KERNEl_ABSTRACT_ #include "../interfaces/enumerable.h" #include "../interfaces/remover.h" #include "../serialize.h" #include "../algs.h" ...
5,383
28.745856
113
h
self
self-master/lib/dlib/stack/stack_kernel_1.h
// Copyright (C) 2003 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #ifndef DLIB_STACK_KERNEl_1_ #define DLIB_STACK_KERNEl_1_ #include "stack_kernel_abstract.h" #include "../algs.h" #include "../interfaces/enumerable.h" #include "../interfaces/remover.h" #in...
12,380
23.516832
106
h
self
self-master/lib/dlib/rand/rand_kernel_1.h
// Copyright (C) 2007 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #ifndef DLIB_RAND_KERNEl_1_ #define DLIB_RAND_KERNEl_1_ #include <string> #include "../algs.h" #include "rand_kernel_abstract.h" #include "mersenne_twister.h" #include "../is_kind.h" #includ...
7,720
23.356467
103
h
self
self-master/lib/dlib/rand/rand_kernel_abstract.h
// Copyright (C) 2003 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #undef DLIB_RAND_KERNEl_ABSTRACT_ #ifdef DLIB_RAND_KERNEl_ABSTRACT_ #include <string> #include "../uintn.h" namespace dlib { class rand { /*! INITIAL VA...
4,603
24.15847
99
h
self
self-master/lib/dlib/rand/mersenne_twister.h
/* boost random/mersenne_twister.hpp header file * * Copyright Jens Maurer 2000-2001 * 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) * * See http://www.boost.org for most recent version including documentatio...
6,967
32.023697
92
h
self
self-master/lib/dlib/sqlite/sqlite.h
// Copyright (C) 2011 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #ifndef DLIB_SQLiTE_H_ #define DLIB_SQLiTE_H_ #include "sqlite_abstract.h" #include <iostream> #include <vector> #include "../algs.h" #include <sqlite3.h> #include "../smart_pointers.h" #in...
20,008
31.065705
105
h
self
self-master/lib/dlib/sqlite/sqlite_tools_abstract.h
// Copyright (C) 2011 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #undef DLIB_SQLiTE_TOOLS_ABSTRACT_H_ #ifdef DLIB_SQLiTE_TOOLS_ABSTRACT_H_ #include "sqlite_abstract.h" // ----------------------------------------------------------------------------------...
5,124
30.060606
91
h
self
self-master/lib/dlib/sqlite/sqlite_abstract.h
// Copyright (C) 2011 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #undef DLIB_SQLiTE_ABSTRACT_H_ #ifdef DLIB_SQLiTE_ABSTRACT_H_ #include <iostream> #include <vector> #include "../algs.h" #include <sqlite3.h> #include "../smart_pointers.h" // ------------...
17,550
33.617357
102
h
self
self-master/lib/dlib/sqlite/sqlite_tools.h
// Copyright (C) 2011 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #ifndef DLIB_SQLiTE_TOOLS_H_ #define DLIB_SQLiTE_TOOLS_H_ #include "sqlite_tools_abstract.h" #include "sqlite.h" // ------------------------------------------------------------------------...
4,913
24.863158
91
h
self
self-master/lib/dlib/memory_manager_global/memory_manager_global_kernel_1.h
// Copyright (C) 2006 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #ifndef DLIB_MEMORY_MANAGER_GLOBAl_1_ #define DLIB_MEMORY_MANAGER_GLOBAl_1_ #include "../algs.h" #include "../memory_manager/memory_manager_kernel_abstract.h" #include "memory_manager_global...
2,894
24.394737
113
h
self
self-master/lib/dlib/memory_manager_global/memory_manager_global_kernel_abstract.h
// Copyright (C) 2006 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #undef DLIB_MEMORY_MANAGER_GLOBAl_ABSTRACT_ #ifdef DLIB_MEMORY_MANAGER_GLOBAl_ABSTRACT_ #include "../algs.h" #include "../memory_manager/memory_manager_kernel_abstract.h" namespace dlib { ...
6,429
34.32967
95
h
self
self-master/lib/dlib/bigint/bigint_kernel_abstract.h
// Copyright (C) 2003 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #undef DLIB_BIGINT_KERNEl_ABSTRACT_ #ifdef DLIB_BIGINT_KERNEl_ABSTRACT_ #include <iosfwd> #include "../algs.h" #include "../serialize.h" #include "../uintn.h" namespace dlib { using nam...
17,624
25.384731
105
h
self
self-master/lib/dlib/bigint/bigint_kernel_1.h
// Copyright (C) 2003 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #ifndef DLIB_BIGINT_KERNEl_1_ #define DLIB_BIGINT_KERNEl_1_ #include "bigint_kernel_abstract.h" #include "../algs.h" #include "../serialize.h" #include "../uintn.h" #include <iosfwd> namesp...
13,409
23.741697
97
h
self
self-master/lib/dlib/bigint/bigint_kernel_2.h
// Copyright (C) 2003 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #ifndef DLIB_BIGINT_KERNEl_2_ #define DLIB_BIGINT_KERNEl_2_ #include "bigint_kernel_abstract.h" #include "../algs.h" #include "../serialize.h" #include "../uintn.h" #include <iosfwd> #includ...
14,246
24.082746
97
h
self
self-master/lib/dlib/tokenizer/tokenizer_kernel_1.h
// Copyright (C) 2005 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #ifndef DLIB_TOKENIZER_KERNEl_1_ #define DLIB_TOKENIZER_KERNEl_1_ #include <string> #include <iosfwd> #include <climits> #include "../algs.h" #include "tokenizer_kernel_abstract.h" namespac...
3,977
24.5
106
h
self
self-master/lib/dlib/tokenizer/tokenizer_kernel_c.h
// Copyright (C) 2003 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #ifndef DLIB_TOKENIZER_KERNEl_C_ #define DLIB_TOKENIZER_KERNEl_C_ #include "tokenizer_kernel_abstract.h" #include "../assert.h" #include <string> #include <iostream> namespace dlib { t...
4,802
27.589286
94
h
self
self-master/lib/dlib/tokenizer/tokenizer_kernel_abstract.h
// Copyright (C) 2005 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #undef DLIB_TOKENIZER_KERNEl_ABSTRACT_ #ifdef DLIB_TOKENIZER_KERNEl_ABSTRACT_ #include <string> #include <ioswfd> namespace dlib { class tokenizer { /*! INITIA...
9,424
31.5
91
h
self
self-master/lib/dlib/timeout/timeout_abstract.h
// Copyright (C) 2007 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #undef DLIB_TIMEOUT_KERNEl_ABSTRACT_ #ifdef DLIB_TIMEOUT_KERNEl_ABSTRACT_ #include "../threads.h" namespace dlib { class timeout { /*! WHAT THIS OBJECT REPRESE...
6,402
32.878307
91
h
self
self-master/lib/dlib/timeout/timeout.h
// Copyright (C) 2007 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #ifndef DLIB_TIMEOUT_KERNEl_1_ #define DLIB_TIMEOUT_KERNEl_1_ #include "../threads.h" #include "../algs.h" #include "../misc_api.h" #include "timeout_abstract.h" #include "../uintn.h" #inclu...
5,165
24.701493
91
h
self
self-master/lib/dlib/data_io/load_image_dataset.h
// Copyright (C) 2012 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #ifndef DLIB_LOAD_IMAGE_DaTASET_Hh_ #define DLIB_LOAD_IMAGE_DaTASET_Hh_ #include "load_image_dataset_abstract.h" #include "../misc_api.h" #include "../dir_nav.h" #include "../image_io.h" #in...
10,923
32.612308
109
h
self
self-master/lib/dlib/data_io/mnist.h
// Copyright (C) 2015 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #ifndef DLIB_MNIST_Hh_ #define DLIB_MNIST_Hh_ #include "mnist_abstract.h" #include <string> #include <vector> #include "../matrix.h" // -----------------------------------------------------...
849
24.757576
91
h
self
self-master/lib/dlib/data_io/libsvm_io.h
// Copyright (C) 2010 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #ifndef DLIB_LIBSVM_iO_Hh_ #define DLIB_LIBSVM_iO_Hh_ #include "libsvm_io_abstract.h" #include <fstream> #include <string> #include <utility> #include "../algs.h" #include "../matrix.h" #in...
9,315
32.631769
131
h
self
self-master/lib/dlib/data_io/image_dataset_metadata.h
// Copyright (C) 2011 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #ifndef DLIB_IMAGE_DAtASET_METADATA_Hh_ #define DLIB_IMAGE_DAtASET_METADATA_Hh_ #include <string> #include <vector> #include "../geometry.h" // ---------------------------------------------...
5,049
30.761006
91
h
self
self-master/lib/dlib/data_io/load_image_dataset_abstract.h
// Copyright (C) 2012 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #undef DLIB_LOAD_IMAGE_DaTASET_ABSTRACT_Hh_ #ifdef DLIB_LOAD_IMAGE_DaTASET_ABSTRACT_Hh_ #include "image_dataset_metadata.h" #include "../array/array_kernel_abstract.h" #include <string> #inc...
12,647
43.223776
106
h
self
self-master/lib/dlib/data_io/libsvm_io_abstract.h
// Copyright (C) 2010 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #undef DLIB_LIBSVM_iO_ABSTRACT_Hh_ #ifdef DLIB_LIBSVM_iO_ABSTRACT_Hh_ #include <fstream> #include <string> #include <utility> #include "../algs.h" #include "../matrix.h" #include <vector> n...
4,348
33.515873
93
h
self
self-master/lib/dlib/data_io/mnist_abstract.h
// Copyright (C) 2015 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #undef DLIB_MNIST_ABSTRACT_Hh_ #ifdef DLIB_MNIST_ABSTRACT_Hh_ #include <string> #include <vector> #include "../matrix.h" // -----------------------------------------------------------------...
1,947
40.446809
91
h
self
self-master/lib/dlib/entropy_encoder_model/entropy_encoder_model_kernel_c.h
// Copyright (C) 2004 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #ifndef DLIB_ENTROPY_ENCODER_MODEL_KERNEl_C_ #define DLIB_ENTROPY_ENCODER_MODEL_KERNEl_C_ #include "entropy_encoder_model_kernel_abstract.h" #include "../algs.h" #include "../assert.h" #incl...
2,029
29.757576
91
h
self
self-master/lib/dlib/entropy_encoder_model/entropy_encoder_model_kernel_3.h
// Copyright (C) 2004 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #ifndef DLIB_ENTROPY_ENCODER_MODEL_KERNEl_3_ #define DLIB_ENTROPY_ENCODER_MODEL_KERNEl_3_ #include "../algs.h" #include "entropy_encoder_model_kernel_abstract.h" #include "../assert.h" name...
10,507
29.725146
109
h
self
self-master/lib/dlib/byte_orderer/byte_orderer_kernel_abstract.h
// Copyright (C) 2006 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #undef DLIB_BYTE_ORDEREr_ABSTRACT_ #ifdef DLIB_BYTE_ORDEREr_ABSTRACT_ #include "../algs.h" namespace dlib { class byte_orderer { /*! INITIAL VALUE ...
3,974
25.5
90
h
self
self-master/lib/dlib/byte_orderer/byte_orderer_kernel_1.h
// Copyright (C) 2006 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #ifndef DLIB_BYTE_ORDEREr_KERNEL_1_ #define DLIB_BYTE_ORDEREr_KERNEL_1_ #include "byte_orderer_kernel_abstract.h" #include "../algs.h" #include "../assert.h" namespace dlib { class b...
4,906
26.723164
95
h
self
self-master/lib/dlib/python/boost_python_utils.h
// Copyright (C) 2013 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #ifndef DLIB_BOOST_PYTHON_UtILS_Hh_ #define DLIB_BOOST_PYTHON_UtILS_Hh_ #include <boost/python.hpp> #include <vector> #include <string> #include <dlib/serialize.h> inline bool hasattr( ...
2,019
23.047619
91
h
self
self-master/lib/dlib/python/pyassert.h
// Copyright (C) 2013 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #ifndef DLIB_PYaSSERT_Hh_ #define DLIB_PYaSSERT_Hh_ #include <boost/python.hpp> #define pyassert(_exp,_message) \ {if ( !(_exp) ) ...
708
40.705882
77
h
self
self-master/lib/dlib/python/serialize_pickle.h
// Copyright (C) 2013 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #ifndef DLIB_SERIALIZE_PiCKLE_Hh_ #define DLIB_SERIALIZE_PiCKLE_Hh_ #include <dlib/serialize.h> #include <boost/python.hpp> #include <sstream> #include <dlib/vectorstream.h> template <typen...
2,330
31.375
89
h
self
self-master/lib/dlib/python/numpy_image.h
// Copyright (C) 2014 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #ifndef DLIB_PYTHON_NuMPY_IMAGE_Hh_ #define DLIB_PYTHON_NuMPY_IMAGE_Hh_ #include "numpy.h" #include <dlib/pixel.h> #include <dlib/matrix.h> #include <dlib/array.h> // ---------------------...
3,419
25.307692
116
h
self
self-master/lib/dlib/python/numpy.h
// Copyright (C) 2014 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #ifndef DLIB_PYTHON_NuMPY_Hh_ #define DLIB_PYTHON_NuMPY_Hh_ #include <boost/python.hpp> #include <dlib/error.h> #include <dlib/algs.h> #include <dlib/string.h> #include <dlib/array.h> #inclu...
5,552
30.551136
128
h
self
self-master/lib/dlib/sync_extension/sync_extension_kernel_abstract.h
// Copyright (C) 2003 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #undef DLIB_SYNC_EXTENSION_KERNEl_ABSTRACT_ #ifdef DLIB_SYNC_EXTENSION_KERNEl_ABSTRACT_ #include "../threads/threads_kernel_abstract.h" #include "../threads/rmutex_extension_abstract.h" #inc...
6,235
31.649215
91
h
self
self-master/lib/dlib/sync_extension/sync_extension_kernel_1.h
// Copyright (C) 2003 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #ifndef DLIB_SYNC_EXTENSION_KERNEl_1_ #define DLIB_SYNC_EXTENSION_KERNEl_1_ #include "../threads.h" #include "../algs.h" #include "sync_extension_kernel_abstract.h" namespace dlib { te...
1,455
20.411765
84
h
self
self-master/lib/dlib/array/array_tools.h
// Copyright (C) 2013 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #ifndef DLIB_ARRAY_tOOLS_H_ #define DLIB_ARRAY_tOOLS_H_ #include "../assert.h" #include "array_tools_abstract.h" namespace dlib { template <typename T> void split_array ( T&...
937
23.051282
78
h
self
self-master/lib/dlib/array/array_kernel.h
// Copyright (C) 2003 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #ifndef DLIB_ARRAY_KERNEl_2_ #define DLIB_ARRAY_KERNEl_2_ #include "array_kernel_abstract.h" #include "../interfaces/enumerable.h" #include "../algs.h" #include "../serialize.h" #include ".....
19,951
24.546735
101
h
self
self-master/lib/dlib/array/array_tools_abstract.h
// Copyright (C) 2013 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #undef DLIB_ARRAY_tOOLS_ABSTRACT_H_ #ifdef DLIB_ARRAY_tOOLS_ABSTRACT_H_ #include "array_kernel_abstract.h" namespace dlib { template <typename T> void split_array ( T& a, ...
1,113
31.764706
91
h
self
self-master/lib/dlib/array/array_kernel_abstract.h
// Copyright (C) 2003 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #undef DLIB_ARRAY_KERNEl_ABSTRACT_ #ifdef DLIB_ARRAY_KERNEl_ABSTRACT_ #include "../interfaces/enumerable.h" #include "../serialize.h" #include "../algs.h" namespace dlib { template < ...
10,778
30.985163
113
h
self
self-master/lib/dlib/logger/logger_kernel_abstract.h
// Copyright (C) 2006 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #undef DLIB_LOGGER_KERNEl_ABSTRACT_ #ifdef DLIB_LOGGER_KERNEl_ABSTRACT_ #include "../threads.h" #include <limits> #include <string> #include <iostream> #include "../uintn.h" namespace dlib ...
15,742
35.611628
103
h
self
self-master/lib/dlib/logger/logger_kernel_1.h
// Copyright (C) 2006 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #ifndef DLIB_LOGGER_KERNEl_1_ #define DLIB_LOGGER_KERNEl_1_ #include "../threads.h" #include "../misc_api.h" #include "../set.h" #include "logger_kernel_abstract.h" #include <limits> #includ...
20,573
28.947598
109
h
self
self-master/lib/dlib/logger/extra_logger_headers.h
// Copyright (C) 2006 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #ifndef DLIB_EXTRA_LOGGER_HEADERs_ #define DLIB_EXTRA_LOGGER_HEADERs_ #include "logger_kernel_abstract.h" #include "logger_kernel_1.h" #include <iostream> #include <string> #include "../uint...
1,164
26.738095
91
h
self
self-master/lib/dlib/logger/logger_config_file.h
// Copyright (C) 2007 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #ifndef DLIB_LOGGER_CONFIg_FILE_ #define DLIB_LOGGER_CONFIg_FILE_ #include "logger_kernel_abstract.h" #include "logger_kernel_1.h" #include <string> #include "../config_reader.h" // ------...
4,896
35.007353
95
h
self
self-master/lib/dlib/test/create_iris_datafile.h
// Copyright (C) 2011 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #ifndef DLIB_CREATE_IRIS_DAtAFILE_Hh_ #define DLIB_CREATE_IRIS_DAtAFILE_Hh_ namespace dlib { void create_iris_datafile ( ); /*! ensures - Creates a local file...
608
29.45
74
h
self
self-master/lib/dlib/test/tester.h
// Copyright (C) 2006 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #ifndef DLIB_TESTEr_ #define DLIB_TESTEr_ #include <iostream> #include <string> #include <dlib/map.h> #include <dlib/logger.h> #include <dlib/assert.h> #include <dlib/algs.h> #include <typei...
5,421
27.840426
82
h
self
self-master/lib/dlib/test/optimization_test_functions.h
// Copyright (C) 2010 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #ifndef DLIB_OPTIMIZATION_TEST_FUNCTiONS_H_h_ #define DLIB_OPTIMIZATION_TEST_FUNCTiONS_H_h_ #include <dlib/matrix.h> #include <sstream> #include <cmath> /* Most of the code in this fil...
9,096
28.250804
109
h
self
self-master/lib/dlib/test/checkerboard.h
#ifndef DLIB_CHECKERBOARD_TeST_H_ #define DLIB_CHECKERBOARD_TeST_H_ #include <dlib/matrix.h> #include <vector> #include <dlib/rand.h> namespace dlib { template <typename scalar_type> void get_checkerboard_problem ( std::vector<matrix<scalar_type,2,1> >& x, std::vector<scalar_type>& y, ...
1,343
23
62
h
self
self-master/lib/dlib/entropy_decoder/entropy_decoder_kernel_abstract.h
// Copyright (C) 2003 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #undef DLIB_ENTROPY_DECODER_KERNEl_ABSTRACT_ #ifdef DLIB_ENTROPY_DECODER_KERNEl_ABSTRACT_ #include "../algs.h" #include <iosfwd> #include "../uintn.h" namespace dlib { class entropy_de...
7,499
35.057692
93
h
self
self-master/lib/dlib/entropy_decoder/entropy_decoder_kernel_1.h
// Copyright (C) 2003 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #ifndef DLIB_ENTROPY_DECODER_KERNEl_1_ #define DLIB_ENTROPY_DECODER_KERNEl_1_ #include "../algs.h" #include "entropy_decoder_kernel_abstract.h" #include <iosfwd> #include "../uintn.h" names...
4,163
30.308271
97
h
self
self-master/lib/dlib/entropy_decoder/entropy_decoder_kernel_c.h
// Copyright (C) 2003 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #ifndef DLIB_ENTROPY_DECODER_KERNEl_C_ #define DLIB_ENTROPY_DECODER_KERNEl_C_ #include "entropy_decoder_kernel_abstract.h" #include "../algs.h" #include "../assert.h" #include <iostream> na...
3,926
30.669355
93
h
self
self-master/lib/dlib/entropy_decoder/entropy_decoder_kernel_2.h
// Copyright (C) 2004 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #ifndef DLIB_ENTROPY_DECODER_KERNEl_2_ #define DLIB_ENTROPY_DECODER_KERNEl_2_ #include "../algs.h" #include "entropy_decoder_kernel_abstract.h" #include <iosfwd> #include "../uintn.h" names...
3,841
29.015625
97
h
self
self-master/lib/dlib/quantum_computing/quantum_computing_abstract.h
// Copyright (C) 2008 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #undef DLIB_QUANTUM_COMPUTINg_ABSTRACT_ #ifdef DLIB_QUANTUM_COMPUTINg_ABSTRACT_ #include <complex> #include "../matrix.h" #include "../rand.h" namespace dlib { // -------------------------...
18,888
30.961083
115
h
self
self-master/lib/dlib/graph_utils/find_k_nearest_neighbors_lsh_abstract.h
// Copyright (C) 2013 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #undef DLIB_FIND_K_NEAREST_NEIGHBOrS_LSH_ABSTRACT_Hh_ #ifdef DLIB_FIND_K_NEAREST_NEIGHBOrS_LSH_ABSTRACT_Hh_ #include "../lsh/hashes_abstract.h" #include "sample_pair_abstract.h" namespace d...
4,921
46.786408
110
h
self
self-master/lib/dlib/graph_utils/ordered_sample_pair_abstract.h
// Copyright (C) 2012 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #undef DLIB_ORDERED_SAMPLE_PaIR_ABSTRACT_Hh_ #ifdef DLIB_ORDERED_SAMPLE_PaIR_ABSTRACT_Hh_ #include <limits> #include "../serialize.h" namespace dlib { // ----------------------------------...
3,376
25.178295
94
h
self
self-master/lib/dlib/graph_utils/sample_pair.h
// Copyright (C) 2010 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #ifndef DLIB_SAMPLE_PaIR_Hh_ #define DLIB_SAMPLE_PaIR_Hh_ #include "sample_pair_abstract.h" #include <limits> #include "../serialize.h" namespace dlib { // --------------------------------...
4,125
21.922222
103
h
self
self-master/lib/dlib/graph_utils/graph_utils_abstract.h
// Copyright (C) 2007 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #undef DLIB_GRAPH_UTILs_ABSTRACT_ #ifdef DLIB_GRAPH_UTILs_ABSTRACT_ #include "../directed_graph.h" #include "../algs.h" namespace dlib { // ------------------------------------------------...
16,972
36.467991
107
h
self
self-master/lib/dlib/graph_utils/function_objects_abstract.h
// Copyright (C) 2010 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #undef DLIB_MR_FUNCTION_ObJECTS_ABSTRACT_Hh_ #ifdef DLIB_MR_FUNCTION_ObJECTS_ABSTRACT_Hh_ #include "../matrix.h" #include <cmath> #include "../svm/sparse_vector_abstract.h" namespace dlib {...
6,590
30.385714
91
h
self
self-master/lib/dlib/graph_utils/ordered_sample_pair.h
// Copyright (C) 2012 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #ifndef DLIB_ORDERED_SAMPLE_PaIR_Hh_ #define DLIB_ORDERED_SAMPLE_PaIR_Hh_ #include "ordered_sample_pair_abstract.h" #include <limits> #include "../serialize.h" namespace dlib { // --------...
3,041
23.142857
111
h
self
self-master/lib/dlib/graph_utils/function_objects.h
// Copyright (C) 2010 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #ifndef DLIB_MR_FUNCTION_ObJECTS_Hh_ #define DLIB_MR_FUNCTION_ObJECTS_Hh_ #include "function_objects_abstract.h" #include "../matrix.h" #include "../svm/sparse_vector.h" #include <cmath> #in...
3,028
22.3
91
h
self
self-master/lib/dlib/graph_utils/edge_list_graphs.h
// Copyright (C) 2010 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #ifndef DLIB_EDGE_LIST_GrAPHS_Hh_ #define DLIB_EDGE_LIST_GrAPHS_Hh_ #include "edge_list_graphs_abstract.h" #include <limits> #include <vector> #include "../string.h" #include "../rand.h" #in...
18,891
30.804714
116
h
self
self-master/lib/dlib/graph_utils/sample_pair_abstract.h
// Copyright (C) 2010 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #undef DLIB_SAMPLE_PaIR_ABSTRACT_Hh_ #ifdef DLIB_SAMPLE_PaIR_ABSTRACT_Hh_ #include <limits> #include "../serialize.h" namespace dlib { // --------------------------------------------------...
5,966
29.917098
102
h
self
self-master/lib/dlib/graph_utils/edge_list_graphs_abstract.h
// Copyright (C) 2010 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #undef DLIB_EDGE_LIST_GrAPHS_ABSTRACT_Hh_ #ifdef DLIB_EDGE_LIST_GrAPHS_ABSTRACT_Hh_ #include <vector> #include "../string.h" #include "sample_pair_abstract.h" #include "ordered_sample_pair_a...
14,529
39.473538
104
h
self
self-master/lib/dlib/matrix/matrix_op.h
// Copyright (C) 2010 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #ifndef DLIB_MATRIx_OP_H_ #define DLIB_MATRIx_OP_H_ #include "matrix_exp.h" namespace dlib { // ---------------------------------------------------------------------------------------- ...
23,192
47.31875
97
h