id
int64
0
755k
file_name
stringlengths
3
109
file_path
stringlengths
13
185
content
stringlengths
31
9.38M
size
int64
31
9.38M
language
stringclasses
1 value
extension
stringclasses
11 values
total_lines
int64
1
340k
avg_line_length
float64
2.18
149k
max_line_length
int64
7
2.22M
alphanum_fraction
float64
0
1
repo_name
stringlengths
6
65
repo_stars
int64
100
47.3k
repo_forks
int64
0
12k
repo_open_issues
int64
0
3.4k
repo_license
stringclasses
9 values
repo_extraction_date
stringclasses
92 values
exact_duplicates_redpajama
bool
2 classes
near_duplicates_redpajama
bool
2 classes
exact_duplicates_githubcode
bool
2 classes
exact_duplicates_stackv2
bool
1 class
exact_duplicates_stackv1
bool
2 classes
near_duplicates_githubcode
bool
2 classes
near_duplicates_stackv1
bool
2 classes
near_duplicates_stackv2
bool
1 class
12,019
searchquery.h
zealdocs_zeal/src/libs/registry/searchquery.h
// Copyright (C) Oleg Shparber, et al. <https://zealdocs.org> // Copyright (C) 2013-2014 Jerzy Kozera // SPDX-License-Identifier: GPL-3.0-or-later #ifndef ZEAL_REGISTRY_SEARCHQUERY_H #define ZEAL_REGISTRY_SEARCHQUERY_H #include <QDataStream> #include <QStringList> namespace Zeal { namespace Registry { /** * @short...
2,351
C++
.h
55
39
98
0.688899
zealdocs/zeal
11,372
778
177
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
12,020
searchresult.h
zealdocs_zeal/src/libs/registry/searchresult.h
// Copyright (C) Oleg Shparber, et al. <https://zealdocs.org> // Copyright (C) 2013-2014 Jerzy Kozera // SPDX-License-Identifier: GPL-3.0-or-later #ifndef ZEAL_REGISTRY_SEARCHRESULT_H #define ZEAL_REGISTRY_SEARCHRESULT_H #include <QString> #include <QUrl> namespace Zeal { namespace Registry { class Docset; struct ...
765
C++
.h
28
23.642857
79
0.713499
zealdocs/zeal
11,372
778
177
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
12,021
listmodel.h
zealdocs_zeal/src/libs/registry/listmodel.h
// Copyright (C) Oleg Shparber, et al. <https://zealdocs.org> // Copyright (C) 2013-2014 Jerzy Kozera // SPDX-License-Identifier: GPL-3.0-or-later #ifndef ZEAL_REGISTRY_LISTMODEL_H #define ZEAL_REGISTRY_LISTMODEL_H #include <util/caseinsensitivemap.h> #include <QAbstractItemModel> namespace Zeal { namespace Registr...
1,959
C++
.h
55
30.981818
109
0.737792
zealdocs/zeal
11,372
778
177
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
12,022
itemdatarole.h
zealdocs_zeal/src/libs/registry/itemdatarole.h
// Copyright (C) Oleg Shparber, et al. <https://zealdocs.org> // SPDX-License-Identifier: GPL-3.0-or-later #ifndef ZEAL_REGISTRY_ITEMDATAROLE_H #define ZEAL_REGISTRY_ITEMDATAROLE_H #include <Qt> namespace Zeal { namespace Registry { enum ItemDataRole { DocsetIconRole = Qt::UserRole, DocsetNameRole, Upda...
501
C++
.h
21
21.190476
61
0.750529
zealdocs/zeal
11,372
778
177
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
12,023
movepick.cpp
official-stockfish_Stockfish/src/movepick.cpp
/* Stockfish, a UCI chess playing engine derived from Glaurung 2.1 Copyright (C) 2004-2024 The Stockfish developers (see AUTHORS file) Stockfish is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either ve...
10,515
C++
.cpp
262
30.801527
100
0.561359
official-stockfish/Stockfish
11,319
2,251
41
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
12,024
engine.cpp
official-stockfish_Stockfish/src/engine.cpp
/* Stockfish, a UCI chess playing engine derived from Glaurung 2.1 Copyright (C) 2004-2024 The Stockfish developers (see AUTHORS file) Stockfish is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either ve...
10,974
C++
.cpp
283
33.918728
98
0.656374
official-stockfish/Stockfish
11,319
2,251
41
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
12,025
timeman.cpp
official-stockfish_Stockfish/src/timeman.cpp
/* Stockfish, a UCI chess playing engine derived from Glaurung 2.1 Copyright (C) 2004-2024 The Stockfish developers (see AUTHORS file) Stockfish is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either ve...
5,313
C++
.cpp
111
41.261261
95
0.656099
official-stockfish/Stockfish
11,319
2,251
41
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
12,026
score.cpp
official-stockfish_Stockfish/src/score.cpp
/* Stockfish, a UCI chess playing engine derived from Glaurung 2.1 Copyright (C) 2004-2024 The Stockfish developers (see AUTHORS file) Stockfish is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either ve...
1,436
C++
.cpp
38
33.815789
90
0.688985
official-stockfish/Stockfish
11,319
2,251
41
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
12,027
evaluate.cpp
official-stockfish_Stockfish/src/evaluate.cpp
/* Stockfish, a UCI chess playing engine derived from Glaurung 2.1 Copyright (C) 2004-2024 The Stockfish developers (see AUTHORS file) Stockfish is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either ve...
4,731
C++
.cpp
96
44.666667
96
0.65509
official-stockfish/Stockfish
11,319
2,251
41
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
12,028
tt.cpp
official-stockfish_Stockfish/src/tt.cpp
/* Stockfish, a UCI chess playing engine derived from Glaurung 2.1 Copyright (C) 2004-2024 The Stockfish developers (see AUTHORS file) Stockfish is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either ve...
8,825
C++
.cpp
191
41.78534
119
0.691698
official-stockfish/Stockfish
11,319
2,251
41
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
12,029
main.cpp
official-stockfish_Stockfish/src/main.cpp
/* Stockfish, a UCI chess playing engine derived from Glaurung 2.1 Copyright (C) 2004-2024 The Stockfish developers (see AUTHORS file) Stockfish is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either ve...
1,168
C++
.cpp
31
34.580645
71
0.742883
official-stockfish/Stockfish
11,319
2,251
41
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
12,030
benchmark.cpp
official-stockfish_Stockfish/src/benchmark.cpp
/* Stockfish, a UCI chess playing engine derived from Glaurung 2.1 Copyright (C) 2004-2024 The Stockfish developers (see AUTHORS file) Stockfish is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either ve...
26,327
C++
.cpp
468
48.974359
107
0.628835
official-stockfish/Stockfish
11,319
2,251
41
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
12,031
memory.cpp
official-stockfish_Stockfish/src/memory.cpp
/* Stockfish, a UCI chess playing engine derived from Glaurung 2.1 Copyright (C) 2004-2024 The Stockfish developers (see AUTHORS file) Stockfish is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either ve...
7,779
C++
.cpp
204
33.029412
100
0.679404
official-stockfish/Stockfish
11,319
2,251
41
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
12,032
search.cpp
official-stockfish_Stockfish/src/search.cpp
/* Stockfish, a UCI chess playing engine derived from Glaurung 2.1 Copyright (C) 2004-2024 The Stockfish developers (see AUTHORS file) Stockfish is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either ve...
87,802
C++
.cpp
1,749
39.691824
106
0.58303
official-stockfish/Stockfish
11,319
2,251
41
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
12,033
movegen.cpp
official-stockfish_Stockfish/src/movegen.cpp
/* Stockfish, a UCI chess playing engine derived from Glaurung 2.1 Copyright (C) 2004-2024 The Stockfish developers (see AUTHORS file) Stockfish is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either ve...
8,293
C++
.cpp
189
36.888889
97
0.62486
official-stockfish/Stockfish
11,319
2,251
41
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
true
true
false
12,034
ucioption.cpp
official-stockfish_Stockfish/src/ucioption.cpp
/* Stockfish, a UCI chess playing engine derived from Glaurung 2.1 Copyright (C) 2004-2024 The Stockfish developers (see AUTHORS file) Stockfish is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either ve...
6,027
C++
.cpp
163
31.171779
99
0.603508
official-stockfish/Stockfish
11,319
2,251
41
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
12,036
thread.cpp
official-stockfish_Stockfish/src/thread.cpp
/* Stockfish, a UCI chess playing engine derived from Glaurung 2.1 Copyright (C) 2004-2024 The Stockfish developers (see AUTHORS file) Stockfish is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either ve...
14,459
C++
.cpp
316
38.155063
101
0.63549
official-stockfish/Stockfish
11,319
2,251
41
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
12,037
misc.cpp
official-stockfish_Stockfish/src/misc.cpp
/* Stockfish, a UCI chess playing engine derived from Glaurung 2.1 Copyright (C) 2004-2024 The Stockfish developers (see AUTHORS file) Stockfish is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either ve...
13,797
C++
.cpp
399
29.781955
100
0.604921
official-stockfish/Stockfish
11,319
2,251
41
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
12,038
bitboard.cpp
official-stockfish_Stockfish/src/bitboard.cpp
/* Stockfish, a UCI chess playing engine derived from Glaurung 2.1 Copyright (C) 2004-2024 The Stockfish developers (see AUTHORS file) Stockfish is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either ve...
7,972
C++
.cpp
180
36.744444
99
0.596462
official-stockfish/Stockfish
11,319
2,251
41
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
true
true
false
12,039
uci.cpp
official-stockfish_Stockfish/src/uci.cpp
/* Stockfish, a UCI chess playing engine derived from Glaurung 2.1 Copyright (C) 2004-2024 The Stockfish developers (see AUTHORS file) Stockfish is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either ve...
21,780
C++
.cpp
523
33.560229
117
0.556434
official-stockfish/Stockfish
11,319
2,251
41
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
12,040
tune.cpp
official-stockfish_Stockfish/src/tune.cpp
/* Stockfish, a UCI chess playing engine derived from Glaurung 2.1 Copyright (C) 2004-2024 The Stockfish developers (see AUTHORS file) Stockfish is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either ve...
3,512
C++
.cpp
91
34.593407
104
0.634968
official-stockfish/Stockfish
11,319
2,251
41
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
12,042
network.cpp
official-stockfish_Stockfish/src/nnue/network.cpp
/* Stockfish, a UCI chess playing engine derived from Glaurung 2.1 Copyright (C) 2004-2024 The Stockfish developers (see AUTHORS file) Stockfish is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either ve...
16,379
C++
.cpp
368
37.527174
100
0.664719
official-stockfish/Stockfish
11,319
2,251
41
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
12,043
nnue_misc.cpp
official-stockfish_Stockfish/src/nnue/nnue_misc.cpp
/* Stockfish, a UCI chess playing engine derived from Glaurung 2.1 Copyright (C) 2004-2024 The Stockfish developers (see AUTHORS file) Stockfish is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either ve...
6,675
C++
.cpp
164
33.45122
99
0.525649
official-stockfish/Stockfish
11,319
2,251
41
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
12,044
half_ka_v2_hm.cpp
official-stockfish_Stockfish/src/nnue/features/half_ka_v2_hm.cpp
/* Stockfish, a UCI chess playing engine derived from Glaurung 2.1 Copyright (C) 2004-2024 The Stockfish developers (see AUTHORS file) Stockfish is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either ve...
3,843
C++
.cpp
72
43.736111
96
0.633289
official-stockfish/Stockfish
11,319
2,251
41
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
true
true
false
12,045
benchmark.h
official-stockfish_Stockfish/src/benchmark.h
/* Stockfish, a UCI chess playing engine derived from Glaurung 2.1 Copyright (C) 2004-2024 The Stockfish developers (see AUTHORS file) Stockfish is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either ve...
1,345
C++
.h
31
40.612903
72
0.733691
official-stockfish/Stockfish
11,319
2,251
41
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
12,046
perft.h
official-stockfish_Stockfish/src/perft.h
/* Stockfish, a UCI chess playing engine derived from Glaurung 2.1 Copyright (C) 2004-2024 The Stockfish developers (see AUTHORS file) Stockfish is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either ve...
2,018
C++
.h
54
32.703704
91
0.68
official-stockfish/Stockfish
11,319
2,251
41
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
12,047
engine.h
official-stockfish_Stockfish/src/engine.h
/* Stockfish, a UCI chess playing engine derived from Glaurung 2.1 Copyright (C) 2004-2024 The Stockfish developers (see AUTHORS file) Stockfish is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either ve...
4,383
C++
.h
100
39.8
91
0.668235
official-stockfish/Stockfish
11,319
2,251
41
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
12,048
uci.h
official-stockfish_Stockfish/src/uci.h
/* Stockfish, a UCI chess playing engine derived from Glaurung 2.1 Copyright (C) 2004-2024 The Stockfish developers (see AUTHORS file) Stockfish is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either ve...
2,455
C++
.h
60
37.416667
80
0.719158
official-stockfish/Stockfish
11,319
2,251
41
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
12,050
memory.h
official-stockfish_Stockfish/src/memory.h
/* Stockfish, a UCI chess playing engine derived from Glaurung 2.1 Copyright (C) 2004-2024 The Stockfish developers (see AUTHORS file) Stockfish is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either ve...
7,242
C++
.h
166
39.409639
100
0.697751
official-stockfish/Stockfish
11,319
2,251
41
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
12,051
position.h
official-stockfish_Stockfish/src/position.h
/* Stockfish, a UCI chess playing engine derived from Glaurung 2.1 Copyright (C) 2004-2024 The Stockfish developers (see AUTHORS file) Stockfish is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either ve...
12,250
C++
.h
294
37.704082
95
0.698728
official-stockfish/Stockfish
11,319
2,251
41
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
12,052
misc.h
official-stockfish_Stockfish/src/misc.h
/* Stockfish, a UCI chess playing engine derived from Glaurung 2.1 Copyright (C) 2004-2024 The Stockfish developers (see AUTHORS file) Stockfish is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either ve...
6,120
C++
.h
181
30.19337
92
0.664232
official-stockfish/Stockfish
11,319
2,251
41
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
12,053
score.h
official-stockfish_Stockfish/src/score.h
/* Stockfish, a UCI chess playing engine derived from Glaurung 2.1 Copyright (C) 2004-2024 The Stockfish developers (see AUTHORS file) Stockfish is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either ve...
1,605
C++
.h
52
26.480769
71
0.70228
official-stockfish/Stockfish
11,319
2,251
41
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
12,055
movepick.h
official-stockfish_Stockfish/src/movepick.h
/* Stockfish, a UCI chess playing engine derived from Glaurung 2.1 Copyright (C) 2004-2024 The Stockfish developers (see AUTHORS file) Stockfish is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either ve...
2,917
C++
.h
71
35.971831
97
0.653249
official-stockfish/Stockfish
11,319
2,251
41
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
12,056
tt.h
official-stockfish_Stockfish/src/tt.h
/* Stockfish, a UCI chess playing engine derived from Glaurung 2.1 Copyright (C) 2004-2024 The Stockfish developers (see AUTHORS file) Stockfish is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either ve...
3,480
C++
.h
74
43.810811
119
0.742164
official-stockfish/Stockfish
11,319
2,251
41
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
12,057
timeman.h
official-stockfish_Stockfish/src/timeman.h
/* Stockfish, a UCI chess playing engine derived from Glaurung 2.1 Copyright (C) 2004-2024 The Stockfish developers (see AUTHORS file) Stockfish is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either ve...
2,028
C++
.h
51
35.509804
83
0.710862
official-stockfish/Stockfish
11,319
2,251
41
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
12,058
search.h
official-stockfish_Stockfish/src/search.h
/* Stockfish, a UCI chess playing engine derived from Glaurung 2.1 Copyright (C) 2004-2024 The Stockfish developers (see AUTHORS file) Stockfish is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either ve...
12,066
C++
.h
286
37.622378
100
0.643547
official-stockfish/Stockfish
11,319
2,251
41
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
12,059
thread.h
official-stockfish_Stockfish/src/thread.h
/* Stockfish, a UCI chess playing engine derived from Glaurung 2.1 Copyright (C) 2004-2024 The Stockfish developers (see AUTHORS file) Stockfish is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either ve...
6,072
C++
.h
142
37.866197
97
0.680523
official-stockfish/Stockfish
11,319
2,251
41
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
12,060
numa.h
official-stockfish_Stockfish/src/numa.h
/* Stockfish, a UCI chess playing engine derived from Glaurung 2.1 Copyright (C) 2004-2024 The Stockfish developers (see AUTHORS file) Stockfish is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either ve...
49,387
C++
.h
1,080
35.774074
122
0.609812
official-stockfish/Stockfish
11,319
2,251
41
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
12,061
types.h
official-stockfish_Stockfish/src/types.h
/* Stockfish, a UCI chess playing engine derived from Glaurung 2.1 Copyright (C) 2004-2024 The Stockfish developers (see AUTHORS file) Stockfish is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either ve...
13,412
C++
.h
329
37.066869
100
0.670541
official-stockfish/Stockfish
11,319
2,251
41
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
12,062
ucioption.h
official-stockfish_Stockfish/src/ucioption.h
/* Stockfish, a UCI chess playing engine derived from Glaurung 2.1 Copyright (C) 2004-2024 The Stockfish developers (see AUTHORS file) Stockfish is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either ve...
3,179
C++
.h
79
36.392405
81
0.707642
official-stockfish/Stockfish
11,319
2,251
41
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
12,063
thread_win32_osx.h
official-stockfish_Stockfish/src/thread_win32_osx.h
/* Stockfish, a UCI chess playing engine derived from Glaurung 2.1 Copyright (C) 2004-2024 The Stockfish developers (see AUTHORS file) Stockfish is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either ve...
2,461
C++
.h
55
39.963636
95
0.703735
official-stockfish/Stockfish
11,319
2,251
41
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
12,064
evaluate.h
official-stockfish_Stockfish/src/evaluate.h
/* Stockfish, a UCI chess playing engine derived from Glaurung 2.1 Copyright (C) 2004-2024 The Stockfish developers (see AUTHORS file) Stockfish is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either ve...
1,837
C++
.h
41
41.756098
80
0.744526
official-stockfish/Stockfish
11,319
2,251
41
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
12,066
tune.h
official-stockfish_Stockfish/src/tune.h
/* Stockfish, a UCI chess playing engine derived from Glaurung 2.1 Copyright (C) 2004-2024 The Stockfish developers (see AUTHORS file) Stockfish is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either ve...
6,463
C++
.h
146
39.267123
104
0.659076
official-stockfish/Stockfish
11,319
2,251
41
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
12,067
tbprobe.h
official-stockfish_Stockfish/src/syzygy/tbprobe.h
/* Stockfish, a UCI chess playing engine derived from Glaurung 2.1 Copyright (C) 2004-2024 The Stockfish developers (see AUTHORS file) Stockfish is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either ve...
2,365
C++
.h
60
35.6
92
0.683865
official-stockfish/Stockfish
11,319
2,251
41
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
12,068
incbin.h
official-stockfish_Stockfish/src/incbin/incbin.h
/** * @file incbin.h * @author Dale Weiler * @brief Utility for including binary files * * Facilities for including binary files into the current translation unit * and making use of them externally in other translation units. */ #ifndef INCBIN_HDR #define INCBIN_HDR #include <limits.h> #if defined(__AVX512BW_...
11,614
C++
.h
348
30.074713
111
0.669305
official-stockfish/Stockfish
11,319
2,251
41
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
true
true
false
false
false
false
false
false
12,069
nnue_common.h
official-stockfish_Stockfish/src/nnue/nnue_common.h
/* Stockfish, a UCI chess playing engine derived from Glaurung 2.1 Copyright (C) 2004-2024 The Stockfish developers (see AUTHORS file) Stockfish is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either ve...
8,587
C++
.h
223
32.488789
97
0.638564
official-stockfish/Stockfish
11,319
2,251
41
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
12,070
nnue_accumulator.h
official-stockfish_Stockfish/src/nnue/nnue_accumulator.h
/* Stockfish, a UCI chess playing engine derived from Glaurung 2.1 Copyright (C) 2004-2024 The Stockfish developers (see AUTHORS file) Stockfish is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either ve...
3,535
C++
.h
76
40.407895
83
0.707424
official-stockfish/Stockfish
11,319
2,251
41
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
12,071
nnue_feature_transformer.h
official-stockfish_Stockfish/src/nnue/nnue_feature_transformer.h
/* Stockfish, a UCI chess playing engine derived from Glaurung 2.1 Copyright (C) 2004-2024 The Stockfish developers (see AUTHORS file) Stockfish is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either ve...
37,236
C++
.h
733
39.961801
100
0.58323
official-stockfish/Stockfish
11,319
2,251
41
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
12,072
nnue_misc.h
official-stockfish_Stockfish/src/nnue/nnue_misc.h
/* Stockfish, a UCI chess playing engine derived from Glaurung 2.1 Copyright (C) 2004-2024 The Stockfish developers (see AUTHORS file) Stockfish is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either ve...
1,926
C++
.h
47
36.468085
86
0.728249
official-stockfish/Stockfish
11,319
2,251
41
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
12,073
network.h
official-stockfish_Stockfish/src/nnue/network.h
/* Stockfish, a UCI chess playing engine derived from Glaurung 2.1 Copyright (C) 2004-2024 The Stockfish developers (see AUTHORS file) Stockfish is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either ve...
4,315
C++
.h
97
40.010309
98
0.728055
official-stockfish/Stockfish
11,319
2,251
41
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
12,074
nnue_architecture.h
official-stockfish_Stockfish/src/nnue/nnue_architecture.h
/* Stockfish, a UCI chess playing engine derived from Glaurung 2.1 Copyright (C) 2004-2024 The Stockfish developers (see AUTHORS file) Stockfish is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either ve...
5,913
C++
.h
110
47.781818
97
0.659107
official-stockfish/Stockfish
11,319
2,251
41
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
12,075
clipped_relu.h
official-stockfish_Stockfish/src/nnue/layers/clipped_relu.h
/* Stockfish, a UCI chess playing engine derived from Glaurung 2.1 Copyright (C) 2004-2024 The Stockfish developers (see AUTHORS file) Stockfish is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either ve...
6,903
C++
.h
141
38.609929
99
0.581095
official-stockfish/Stockfish
11,319
2,251
41
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
12,076
affine_transform.h
official-stockfish_Stockfish/src/nnue/layers/affine_transform.h
/* Stockfish, a UCI chess playing engine derived from Glaurung 2.1 Copyright (C) 2004-2024 The Stockfish developers (see AUTHORS file) Stockfish is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either ve...
12,047
C++
.h
253
38.992095
96
0.622775
official-stockfish/Stockfish
11,319
2,251
41
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
12,077
sqr_clipped_relu.h
official-stockfish_Stockfish/src/nnue/layers/sqr_clipped_relu.h
/* Stockfish, a UCI chess playing engine derived from Glaurung 2.1 Copyright (C) 2004-2024 The Stockfish developers (see AUTHORS file) Stockfish is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either ve...
3,744
C++
.h
80
40.475
97
0.67811
official-stockfish/Stockfish
11,319
2,251
41
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
12,078
affine_transform_sparse_input.h
official-stockfish_Stockfish/src/nnue/layers/affine_transform_sparse_input.h
/* Stockfish, a UCI chess playing engine derived from Glaurung 2.1 Copyright (C) 2004-2024 The Stockfish developers (see AUTHORS file) Stockfish is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either ve...
10,753
C++
.h
241
37.626556
140
0.650692
official-stockfish/Stockfish
11,319
2,251
41
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
12,079
simd.h
official-stockfish_Stockfish/src/nnue/layers/simd.h
/* Stockfish, a UCI chess playing engine derived from Glaurung 2.1 Copyright (C) 2004-2024 The Stockfish developers (see AUTHORS file) Stockfish is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either ve...
3,874
C++
.h
99
35.878788
99
0.677807
official-stockfish/Stockfish
11,319
2,251
41
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
12,080
half_ka_v2_hm.h
official-stockfish_Stockfish/src/nnue/features/half_ka_v2_hm.h
/* Stockfish, a UCI chess playing engine derived from Glaurung 2.1 Copyright (C) 2004-2024 The Stockfish developers (see AUTHORS file) Stockfish is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either ve...
6,416
C++
.h
126
45.134921
99
0.606447
official-stockfish/Stockfish
11,319
2,251
41
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
12,097
alpr_c.cpp
openalpr_openalpr/src/openalpr/alpr_c.cpp
/* * Copyright (c) 2016 OpenALPR Technology, Inc. * Open source Automated License Plate Recognition [http://www.openalpr.com] * * This file is part of OpenALPR. * * OpenALPR is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License * version 3 as publi...
3,910
C++
.cpp
92
40.195652
175
0.767374
openalpr/openalpr
10,994
2,489
519
AGPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
true
false
true
true
true
false
12,109
detectorcuda.cpp
openalpr_openalpr/src/openalpr/detection/detectorcuda.cpp
/* * Copyright (c) 2013 OpenALPR Technology, Inc. * Open source Automated License Plate Recognition [http://www.openalpr.com] * * This file is part of OpenALPR. * * OpenALPR is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License * version 3 as publi...
2,935
C++
.cpp
85
30.529412
101
0.717175
openalpr/openalpr
10,994
2,489
519
AGPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
true
false
true
true
true
false
12,124
ocr.cpp
openalpr_openalpr/src/openalpr/ocr/ocr.cpp
/* * Copyright (c) 2015 OpenALPR Technology, Inc. * Open source Automated License Plate Recognition [http://www.openalpr.com] * * This file is part of OpenALPR. * * OpenALPR is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License * version 3 as publi...
1,916
C++
.cpp
52
32.230769
105
0.696937
openalpr/openalpr
10,994
2,489
519
AGPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
true
false
true
true
true
false
12,140
textlinecollection.cpp
openalpr_openalpr/src/openalpr/edges/textlinecollection.cpp
/* * File: textlinecollection.cpp * Author: mhill * * Created on October 25, 2014, 4:06 PM */ #include "textlinecollection.h" using namespace cv; using namespace std; namespace alpr { TextLineCollection::TextLineCollection(std::vector<TextLine> textLines) { charHeight = 0; charAngle = 0; fo...
4,675
C++
.cpp
108
37.87037
109
0.729107
openalpr/openalpr
10,994
2,489
519
AGPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
true
true
true
false
true
true
true
false
12,211
safequeue.h
openalpr_openalpr/src/inc/safequeue.h
#ifndef SAFE_QUEUE_H_ #define SAFE_QUEUE_H_ #include <queue> #include "support/tinythread.h" template <typename T> class SafeQueue { public: T pop() { tthread::lock_guard<tthread::mutex> mlock(_mutex); while (_queue.empty()) { _cond.wait(_mutex); ...
806
C++
.h
34
15.441176
62
0.502611
openalpr/openalpr
10,994
2,489
519
AGPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
12,220
constants.h
openalpr_openalpr/src/openalpr/constants.h
/* * Copyright (c) 2015 OpenALPR Technology, Inc. * Open source Automated License Plate Recognition [http://www.openalpr.com] * * This file is part of OpenALPR. * * OpenALPR is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License * version 3 as publi...
1,423
C++
.h
33
41.363636
89
0.774403
openalpr/openalpr
10,994
2,489
519
AGPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
true
true
false
false
false
false
false
false
12,223
alpr_c.h
openalpr_openalpr/src/openalpr/alpr_c.h
/* * Copyright (c) 2016 OpenALPR Technology, Inc. * Open source Automated License Plate Recognition [http://www.openalpr.com] * * This file is part of OpenALPR. * * OpenALPR is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License * version 3 as publi...
3,002
C++
.h
65
44.338462
162
0.785714
openalpr/openalpr
10,994
2,489
519
AGPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
12,234
detectorcpu.h
openalpr_openalpr/src/openalpr/detection/detectorcpu.h
/* * Copyright (c) 2015 OpenALPR Technology, Inc. * Open source Automated License Plate Recognition [http://www.openalpr.com] * * This file is part of OpenALPR. * * OpenALPR is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License * version 3 as publi...
1,385
C++
.h
38
33.684211
105
0.756024
openalpr/openalpr
10,994
2,489
519
AGPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
12,235
detectorocl.h
openalpr_openalpr/src/openalpr/detection/detectorocl.h
/* * Copyright (c) 2015 OpenALPR Technology, Inc. * Open source Automated License Plate Recognition [http://www.openalpr.com] * * This file is part of OpenALPR. * * OpenALPR is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License * version 3 as publi...
1,451
C++
.h
41
33.04878
103
0.762007
openalpr/openalpr
10,994
2,489
519
AGPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
12,239
version.h
openalpr_openalpr/src/openalpr/support/version.h
#ifndef OPENALPR_VERSION_H #define OPENALPR_VERSION_H /* * return 1 if v1 > v2 * return 0 if v1 = v2 * return -1 if v1 < v2 */ int cmpVersion(const char *v1, const char *v2); #endif /* OPENALPR_VERSION_H */
216
C++
.h
9
22
47
0.688119
openalpr/openalpr
10,994
2,489
519
AGPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
12,243
tinydir.h
openalpr_openalpr/src/openalpr/support/tinydir.h
/* Copyright (c) 2013, Cong Xu 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 conditions and the following disc...
8,501
C++
.h
374
19.836898
90
0.661935
openalpr/openalpr
10,994
2,489
519
AGPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
12,262
atomicops.h
openalpr_openalpr/src/openalpr/support/re2/util/atomicops.h
// Copyright 2006-2008 The RE2 Authors. All Rights Reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. #ifndef RE2_UTIL_ATOMICOPS_H__ #define RE2_UTIL_ATOMICOPS_H__ // The memory ordering constraints resemble the ones in C11. // RELAXED - no memory orderi...
4,421
C++
.h
116
36.068966
129
0.684755
openalpr/openalpr
10,994
2,489
519
AGPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
true
true
false
false
false
false
false
false
12,269
valgrind.h
openalpr_openalpr/src/openalpr/support/re2/util/valgrind.h
/* -*- c -*- ---------------------------------------------------------------- Notice that the following BSD-style license applies to this one file (valgrind.h) only. The rest of Valgrind is licensed under the terms of the GNU General Public License, version 2, unless otherwise indicated. See the COPYI...
267,511
C++
.h
4,195
55.279857
81
0.315649
openalpr/openalpr
10,994
2,489
519
AGPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
12,276
utils.h
openalpr_openalpr/src/openalpr/support/windows/utils.h
#include <math.h> static inline double round(double val) { return floor(val + 0.5); }
90
C++
.h
5
16.2
38
0.722892
openalpr/openalpr
10,994
2,489
519
AGPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
true
false
false
false
false
false
false
12,278
unistd_partial.h
openalpr_openalpr/src/openalpr/support/windows/unistd_partial.h
#ifndef _UNISTD_H #define _UNISTD_H 1 /* This file intended to serve as a drop-in replacement for * unistd.h on Windows * Please add functionality as neeeded */ #include <stdlib.h> #include <io.h> //#include <getopt.h> /* getopt from: http://www.pwilson.net/sample.html. */ #include <process.h> /* for getpid()...
1,218
C++
.h
34
34.411765
76
0.67432
openalpr/openalpr
10,994
2,489
519
AGPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
true
false
false
false
false
false
false
12,281
tesseract_ocr.h
openalpr_openalpr/src/openalpr/ocr/tesseract_ocr.h
/* * Copyright (c) 2015 OpenALPR Technology, Inc. * Open source Automated License Plate Recognition [http://www.openalpr.com] * * This file is part of OpenALPR. * * OpenALPR is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License * version 3 as publi...
1,474
C++
.h
44
30.659091
87
0.758156
openalpr/openalpr
10,994
2,489
519
AGPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
12,300
com_openalpr_jni_Alpr.h
openalpr_openalpr/src/bindings/java/com_openalpr_jni_Alpr.h
/* DO NOT EDIT THIS FILE - it is machine generated */ #include <jni.h> /* Header for class com_openalpr_jni_Alpr */ #ifndef _Included_com_openalpr_jni_Alpr #define _Included_com_openalpr_jni_Alpr #ifdef __cplusplus extern "C" { #endif /* * Class: com_openalpr_jni_Alpr * Method: initialize * Signature: (Ljava...
2,353
C++
.h
82
26.829268
91
0.718584
openalpr/openalpr
10,994
2,489
519
AGPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
true
false
false
false
false
false
false
12,301
openalprgo.h
openalpr_openalpr/src/bindings/go/openalprgo.h
#if defined(_MSC_VER) // Microsoft #define OPENALPR_EXPORT __declspec(dllexport) #else // do nothing #define OPENALPR_EXPORT #endif #ifdef __cplusplus extern "C" { #endif typedef void* Alpr; OPENALPR_EXPORT Alpr AlprInit(char* country, char* configFile, char* runtimeDir); OPENALPR_EXPORT void SetDetectRegion...
765
C++
.h
23
31.565217
82
0.788904
openalpr/openalpr
10,994
2,489
519
AGPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
true
false
false
false
false
false
false
12,302
beanstalk.h
openalpr_openalpr/src/daemon/beanstalk.h
#pragma once #include <stddef.h> #include <stdint.h> #include <unistd.h> #include <sys/types.h> #include <sys/socket.h> #include <netdb.h> #include <netinet/in.h> #include <sys/fcntl.h> #define BS_MAJOR_VERSION 1 #define BS_MINOR_VERSION 2 #define BS_PATCH_VERSION 0 #define BS_STATUS_OK 0 #define BS_...
3,475
C++
.h
94
35.43617
109
0.710972
openalpr/openalpr
10,994
2,489
519
AGPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
true
false
false
false
false
false
false
12,307
SettingsDialogPaletteTabTest.cpp
xournalpp_xournalpp/test/gtk_tests/dialog/SettingsDialogPaletteTabTest.cpp
/* * Xournal++ * * This file is part of the Xournal UnitTests * * @author Xournal++ Team * https://github.com/xournalpp/xournalpp * * @license GNU GPLv2 or later */ #include "gui/GladeSearchpath.h" #include "gui/dialog/SettingsDialogPaletteTab.h" #include "util/PathUtil.h" #include "util/Stacktrace.h" #inclu...
2,555
C++
.cpp
56
40.482143
113
0.728296
xournalpp/xournalpp
10,962
791
1,098
GPL-2.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
12,308
GtkTest.cpp
xournalpp_xournalpp/test/gtk_tests/dialog/GtkTest.cpp
// // Created by hermannt on 11.06.23. // #include "GtkTest.h" // Setting up the testing environment void GtkTest::SetUp() { argn = 1; argv = new char*[2]; argv[0] = "xournalpp_test"; argv[1] = nullptr; app = gtk_application_new("com.github.xournalpp.xournalpp.test", G_APPLICATION_FLAGS_NONE); ...
902
C++
.cpp
23
35.913043
95
0.720824
xournalpp/xournalpp
10,962
791
1,098
GPL-2.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
12,309
I18nTest.cpp
xournalpp_xournalpp/test/unit_tests/util/I18nTest.cpp
/* * Xournal++ * * This file is part of the Xournal UnitTests * * @author Xournal++ Team * https://github.com/xournalpp/xournalpp * * @license GNU GPLv2 or later */ #include <cstdlib> #include <ctime> #include <gtest/gtest.h> #include "util/i18n.h" #include "config-test.h" using namespace std; TEST(Uti...
2,082
C++
.cpp
59
31.711864
119
0.608196
xournalpp/xournalpp
10,962
791
1,098
GPL-2.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
12,310
ElementRangeTest.cpp
xournalpp_xournalpp/test/unit_tests/util/ElementRangeTest.cpp
/* * Xournal++ * * This file is part of the Xournal UnitTests * * @author Xournal++ Team * https://github.com/xournalpp/xournalpp * * @license GNU GPLv2 or later */ #include <ostream> #include <string> #include <vector> #include <gtest/gtest.h> #include "util/ElementRange.h" bool operator==(const Element...
1,923
C++
.cpp
53
31.113208
118
0.584499
xournalpp/xournalpp
10,962
791
1,098
GPL-2.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
12,311
StringUtilsTest.cpp
xournalpp_xournalpp/test/unit_tests/util/StringUtilsTest.cpp
/* * Xournal++ * * This file is part of the Xournal UnitTests * * @author Xournal++ Team * https://github.com/xournalpp/xournalpp * * @license GNU GPLv2 or later */ #include <cstdlib> #include <ctime> #include <gtest/gtest.h> #include "util/StringUtils.h" #include "config-test.h" using namespace std; T...
2,000
C++
.cpp
52
34.865385
74
0.689781
xournalpp/xournalpp
10,962
791
1,098
GPL-2.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
12,312
RAIIWrappersTest.cpp
xournalpp_xournalpp/test/unit_tests/util/RAIIWrappersTest.cpp
#include <gtest/gtest.h> #include "util/raii/CairoWrappers.h" #include "util/raii/GObjectSPtr.h" namespace { class TestData { public: TestData() { nbData++; }; ~TestData() { nbData--; }; int value = 2; int ref_count = 1; static int nbData; }; int TestData::nbData = 0; class TestDataHandler { p...
9,831
C++
.cpp
277
28.33213
115
0.590431
xournalpp/xournalpp
10,962
791
1,098
GPL-2.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
12,313
PathTest.cpp
xournalpp_xournalpp/test/unit_tests/util/PathTest.cpp
/* * Xournal++ * * This file is part of the Xournal UnitTests * * @author Xournal++ Team * https://github.com/xournalpp/xournalpp * * @license GNU GPLv2 or later */ #include <gtest/gtest.h> #include "util/PathUtil.h" #include "filesystem.h" using namespace std; TEST(UtilPath, testUnsupportedUri) { a...
3,783
C++
.cpp
92
36.684783
103
0.634279
xournalpp/xournalpp
10,962
791
1,098
GPL-2.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
12,314
RangeTest.cpp
xournalpp_xournalpp/test/unit_tests/util/RangeTest.cpp
#include <array> #include <gtest/gtest.h> #include "util/Range.h" namespace { struct TestData { TestData(const Range& rg, bool isEmpty, bool isValid): rg(rg), isEmpty(isEmpty), isValid(isValid) {} Range rg; bool isEmpty; bool isValid; }; std::array<TestData, 5> testData = { // TestDa...
2,050
C++
.cpp
52
34.769231
115
0.574447
xournalpp/xournalpp
10,962
791
1,098
GPL-2.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
12,315
IntervalTest.cpp
xournalpp_xournalpp/test/unit_tests/util/IntervalTest.cpp
#include <array> #include <map> #include <gtest/gtest.h> #include "util/UnionOfIntervals.h" TEST(UtilIntervals, testInterval) { std::array<Interval<double>, 4> intervals = {Interval<double>::getInterval(12.34, 1), Interval<double>::getInterval(0, 2), Interval<doub...
4,757
C++
.cpp
100
37.66
113
0.566135
xournalpp/xournalpp
10,962
791
1,098
GPL-2.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
12,316
TinySmallVectorTest.cpp
xournalpp_xournalpp/test/unit_tests/util/TinySmallVectorTest.cpp
#include <array> #include <map> #include <gtest/gtest.h> #include "util/SmallVector.h" #include "util/TinyVector.h" namespace { class TestData { public: TestData() { nbData++; }; ~TestData() { nbData--; }; TestData(double t, bool duplicate): t(t) { if (duplicate) { u = t; } ...
12,354
C++
.cpp
314
30.949045
119
0.537499
xournalpp/xournalpp
10,962
791
1,098
GPL-2.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
12,317
XojPreviewExtractorTest.cpp
xournalpp_xournalpp/test/unit_tests/util/XojPreviewExtractorTest.cpp
/* * Xournal++ * * This file is part of the Xournal UnitTests * * @author Xournal++ Team * https://github.com/xournalpp/xournalpp * * @license GNU GPLv2 or later */ #include <cstdlib> #include <ctime> #include <gtest/gtest.h> #include "util/XojPreviewExtractor.h" #include "config-test.h" using namespace ...
3,199
C++
.cpp
76
38.368421
107
0.770773
xournalpp/xournalpp
10,962
791
1,098
GPL-2.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
12,318
SaveNameUtilsTest.cpp
xournalpp_xournalpp/test/unit_tests/util/SaveNameUtilsTest.cpp
/* * Xournal++ * * This file is part of the Xournal UnitTests * * @author Xournal++ Team * https://github.com/xournalpp/xournalpp * * @license GNU GPLv2 or later */ #include <gtest/gtest.h> #include "util/SaveNameUtils.h" TEST(SaveNameUtils, testWildcardExpansion) { EXPECT_EQ(SaveNameUtils::parseFilena...
966
C++
.cpp
21
43.047619
107
0.697131
xournalpp/xournalpp
10,962
791
1,098
GPL-2.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
12,319
ColorTest.cpp
xournalpp_xournalpp/test/unit_tests/util/ColorTest.cpp
/* * Xournal++ * * This file is part of the Xournal UnitTests * * @author Xournal++ Team * https://github.com/xournalpp/xournalpp * * @license GNU GPLv2 or later */ #include <cstdint> #include <gtest/gtest.h> #include "util/Color.h" using namespace std; bool operator==(GdkRGBA const& lhs, GdkRGBA const& r...
1,727
C++
.cpp
48
31.5625
105
0.61976
xournalpp/xournalpp
10,962
791
1,098
GPL-2.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
12,320
ObjectIOStreamTest.cpp
xournalpp_xournalpp/test/unit_tests/util/ObjectIOStreamTest.cpp
#include <array> #include <cstdint> #include <random> #include <string> #include <tuple> #include <vector> #include <cairo.h> #include <gtest/gtest.h> #include "model/Stroke.h" #include "util/serializing/BinObjectEncoding.h" #include "util/serializing/HexObjectEncoding.h" #include "util/serializing/ObjectInputStream....
13,871
C++
.cpp
327
35.691131
252
0.656076
xournalpp/xournalpp
10,962
791
1,098
GPL-2.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
12,321
ErasableStrokeTest.cpp
xournalpp_xournalpp/test/unit_tests/model/ErasableStrokeTest.cpp
#include <array> #include <map> #include <gtest/gtest.h> #include "model/Stroke.h" #include "model/eraser/ErasableStroke.h" #include "model/eraser/ErasableStrokeOverlapTree.h" #include "model/eraser/PaddedBox.h" #include "util/Rectangle.h" #include "util/SmallVector.h" using xoj::util::Rectangle; void assertRangesE...
9,519
C++
.cpp
208
37.120192
102
0.527149
xournalpp/xournalpp
10,962
791
1,098
GPL-2.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
12,322
LineStyleTest.cpp
xournalpp_xournalpp/test/unit_tests/model/LineStyleTest.cpp
/* * Xournal++ * * This file is part of the Xournal UnitTests * * @author Xournal++ Team * https://github.com/xournalpp/xournalpp * * @license GNU GPLv2 or later */ #include <config-test.h> #include <gtest/gtest.h> #include "model/LineStyle.h" TEST(LineStyle, testLineStyle) { LineStyle ls; EXPECT_...
698
C++
.cpp
25
24.72
61
0.668666
xournalpp/xournalpp
10,962
791
1,098
GPL-2.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
12,323
ColorPaletteTest.cpp
xournalpp_xournalpp/test/unit_tests/model/ColorPaletteTest.cpp
/* * Xournal++ * * This file is part of the Xournal UnitTests * * @author Xournal++ Team * https://github.com/xournalpp/xournalpp * * @license GNU GPLv2 or later */ #include <fstream> #include <iostream> #include <tuple> #include <vector> #include <config-test.h> #include <gtest/gtest.h> #include "gui/toolb...
4,578
C++
.cpp
103
39.640777
112
0.696922
xournalpp/xournalpp
10,962
791
1,098
GPL-2.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
12,324
StrokeStyleTest.cpp
xournalpp_xournalpp/test/unit_tests/model/StrokeStyleTest.cpp
/* * Xournal++ * * This file is part of the Xournal UnitTests * * @author Xournal++ Team * https://github.com/xournalpp/xournalpp * * @license GNU GPLv2 or later */ #include <config-test.h> #include <gtest/gtest.h> #include "model/StrokeStyle.h" namespace { constexpr double dashLinePattern[] = {6, 3}; const...
1,556
C++
.cpp
41
34.756098
87
0.719124
xournalpp/xournalpp
10,962
791
1,098
GPL-2.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
12,325
ImageTest.cpp
xournalpp_xournalpp/test/unit_tests/model/ImageTest.cpp
/* * Xournal++ * * This file is part of the Xournal UnitTests * * @author Xournal++ Team * https://github.com/xournalpp/xournalpp * * @license GNU GPLv2 or later */ #include <fstream> #include <config-test.h> #include <gtest/gtest.h> #include "model/Image.h" TEST(Image, testGetImageApplyOrientation) { ...
1,778
C++
.cpp
39
41.410256
117
0.723059
xournalpp/xournalpp
10,962
791
1,098
GPL-2.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
12,326
SettingsTest.cpp
xournalpp_xournalpp/test/unit_tests/control/SettingsTest.cpp
/* * Xournal++ * * This file is part of the Xournal UnitTests * * @author Xournal++ Team * https://github.com/xournalpp/xournalpp * * @license GNU GPLv2 or later */ #include <gtest/gtest.h> #include "control/settings/Settings.h" TEST(SettingsTest, testLoadDoesNotThrowForNonExistingFilePath) { Settings s...
395
C++
.cpp
16
22.4375
64
0.744681
xournalpp/xournalpp
10,962
791
1,098
GPL-2.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
12,327
LoadHandlerTest.cpp
xournalpp_xournalpp/test/unit_tests/control/LoadHandlerTest.cpp
/* * Xournal++ * * This file is part of the Xournal UnitTests * * @author Xournal++ Team * https://github.com/xournalpp/xournalpp * * @license GNU GPLv2 or later */ #include <cmath> #include <filesystem> #include <iostream> #include <config-test.h> #include <gtest/gtest.h> #include "control/xojfile/LoadHand...
19,154
C++
.cpp
419
39.539379
120
0.651573
xournalpp/xournalpp
10,962
791
1,098
GPL-2.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
12,328
ActionDatabaseTest.cpp
xournalpp_xournalpp/test/unit_tests/control/ActionDatabaseTest.cpp
/* * Xournal++ * * This file is part of the Xournal UnitTests * * @author Xournal++ Team * https://github.com/xournalpp/xournalpp * * @license GNU GPLv2 or later */ #include <string> #include <config-test.h> #include <gtest/gtest.h> #include <gtk/gtk.h> #include "control/actions/ActionProperties.h" #include...
4,037
C++
.cpp
96
35.489583
119
0.631056
xournalpp/xournalpp
10,962
791
1,098
GPL-2.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
12,329
ToolEnumsTest.cpp
xournalpp_xournalpp/test/unit_tests/control/ToolEnumsTest.cpp
/* * Xournal++ * * This file is part of the Xournal UnitTests * * @author Xournal++ Team * https://github.com/xournalpp/xournalpp * * @license GNU GPLv2 or later */ #include <string> #include <config-test.h> #include <gtest/gtest.h> #include "control/ToolEnums.h" /** * Test whether the invariant * fr...
1,047
C++
.cpp
40
22.625
56
0.658683
xournalpp/xournalpp
10,962
791
1,098
GPL-2.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
12,330
Assert.cpp
xournalpp_xournalpp/src/util/Assert.cpp
#include "util/Assert.h" #include <cstdlib> #include <glib.h> #ifndef NDEBUG namespace xoj::util { void assertFailure(const char* expr, const std::string& msg, const char* fileName, int line, const char* funcName) { g_critical("Assertion failed: %s\n%s in function %s\n at line %d of %s", expr, ...
477
C++
.cpp
12
36.583333
116
0.636364
xournalpp/xournalpp
10,962
791
1,098
GPL-2.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false