hexsha
stringlengths
40
40
size
int64
7
1.05M
ext
stringclasses
13 values
lang
stringclasses
1 value
max_stars_repo_path
stringlengths
4
269
max_stars_repo_name
stringlengths
5
108
max_stars_repo_head_hexsha
stringlengths
40
40
max_stars_repo_licenses
listlengths
1
9
max_stars_count
int64
1
191k
max_stars_repo_stars_event_min_datetime
stringlengths
24
24
max_stars_repo_stars_event_max_datetime
stringlengths
24
24
max_issues_repo_path
stringlengths
4
269
max_issues_repo_name
stringlengths
5
116
max_issues_repo_head_hexsha
stringlengths
40
40
max_issues_repo_licenses
listlengths
1
9
max_issues_count
int64
1
67k
max_issues_repo_issues_event_min_datetime
stringlengths
24
24
max_issues_repo_issues_event_max_datetime
stringlengths
24
24
max_forks_repo_path
stringlengths
4
269
max_forks_repo_name
stringlengths
5
116
max_forks_repo_head_hexsha
stringlengths
40
40
max_forks_repo_licenses
listlengths
1
9
max_forks_count
int64
1
105k
max_forks_repo_forks_event_min_datetime
stringlengths
24
24
max_forks_repo_forks_event_max_datetime
stringlengths
24
24
content
stringlengths
7
1.05M
avg_line_length
float64
1.21
330k
max_line_length
int64
6
990k
alphanum_fraction
float64
0.01
0.99
author_id
stringlengths
2
40
678ee36699488310d4b174fa07f5660ddaaf9c92
1,355
cc
C++
passes/brisc/autosynth.cc
nblei/yosys
de68e13c36f098d615177d03dfc97818fe947d24
[ "ISC" ]
1
2020-03-08T20:57:53.000Z
2020-03-08T20:57:53.000Z
passes/brisc/autosynth.cc
nblei/yosys
de68e13c36f098d615177d03dfc97818fe947d24
[ "ISC" ]
null
null
null
passes/brisc/autosynth.cc
nblei/yosys
de68e13c36f098d615177d03dfc97818fe947d24
[ "ISC" ]
null
null
null
#include "kernel/yosys.h" USING_YOSYS_NAMESPACE PRIVATE_NAMESPACE_BEGIN struct AutoSynthPass : public ScriptPass { AutoSynthPass() : ScriptPass("auto_synth", "Synthesize verilog to logical gates") {} std::string verilog_path; void help() YS_OVERRIDE { log("\n"); log(" auto...
20.223881
76
0.518081
nblei
678f8dda3b816d972c0736762a25f67c56a21b98
4,884
cpp
C++
src/BitVector/BitVector.cpp
Nic30/libEveryPacketClassifier
668fd308c09a5c921d93d523870a2e7a42c06d90
[ "MIT" ]
null
null
null
src/BitVector/BitVector.cpp
Nic30/libEveryPacketClassifier
668fd308c09a5c921d93d523870a2e7a42c06d90
[ "MIT" ]
null
null
null
src/BitVector/BitVector.cpp
Nic30/libEveryPacketClassifier
668fd308c09a5c921d93d523870a2e7a42c06d90
[ "MIT" ]
null
null
null
#include "BitVector.h" #include "LongestPrefixMatch.h" #include "EqnMatcher.h" #include <set> using namespace std; using namespace TreeUtils; int PrefixLength(Range1d s) { Point1d delta = s.high - s.low; int len = 0; while (delta) { delta >>= 1; len++; } return len; } BinaryRangeSearch::...
23.594203
91
0.591728
Nic30
09689818067a6410997734d10f4ffc79c7f88c48
861
cpp
C++
Capitulo03/Exercicios/GradeBookModificado/GradeBookModificado01.cpp
pedro-filho-81/C_Mais_Mais
d55105f62c626de3245697095532281c8254a9bd
[ "MIT" ]
null
null
null
Capitulo03/Exercicios/GradeBookModificado/GradeBookModificado01.cpp
pedro-filho-81/C_Mais_Mais
d55105f62c626de3245697095532281c8254a9bd
[ "MIT" ]
null
null
null
Capitulo03/Exercicios/GradeBookModificado/GradeBookModificado01.cpp
pedro-filho-81/C_Mais_Mais
d55105f62c626de3245697095532281c8254a9bd
[ "MIT" ]
null
null
null
#include <string> #include "GradeBookModificado01.h" GradeBookModificado01::GradeBookModificado01(string cursoNome, string professorNome ) { setNomeDoCurso( cursoNome ); setNomeDoProfessor( professorNome ); } // fim construtor void GradeBookModificado01::setNomeDoCurso( string nome ) { nomeDoCurso = nome;...
24.6
85
0.745645
pedro-filho-81
096b3878e1ba93c0b3657cfdccda73587ce5fb49
46,819
cpp
C++
tests/strtrie/strtrie.cpp
gknowles/dimapp
daadd9afe5fb1a6f716c431411e20c48ca180f9f
[ "BSL-1.0" ]
1
2016-07-20T18:43:34.000Z
2016-07-20T18:43:34.000Z
tests/strtrie/strtrie.cpp
gknowles/dimapp
daadd9afe5fb1a6f716c431411e20c48ca180f9f
[ "BSL-1.0" ]
4
2016-08-30T05:29:18.000Z
2016-11-07T04:02:15.000Z
tests/strtrie/strtrie.cpp
gknowles/dimapp
daadd9afe5fb1a6f716c431411e20c48ca180f9f
[ "BSL-1.0" ]
1
2017-10-20T22:31:17.000Z
2017-10-20T22:31:17.000Z
// Copyright Glen Knowles 2019 - 2021. // Distributed under the Boost Software License, Version 1.0. // // Uses the page height minimization algorithm for trees described in // "Clustering Techniques for Minimizing External Path Length" // https://tinyurl.com/y52mkc22 // // strtrie.cpp - dim core #include "pch.h" #prag...
29.445912
79
0.455755
gknowles
096b9d70fcad92e5c144141688f96f86c1e74089
275
cpp
C++
Floor Of Array.cpp
Subhash3/Algorithms-For-Software-Developers
2e0ac4f51d379a2b10a40fca7fa82a8501d3db94
[ "BSD-2-Clause" ]
2
2021-10-01T04:20:04.000Z
2021-10-01T04:20:06.000Z
Floor Of Array.cpp
Subhash3/Algorithms-For-Software-Developers
2e0ac4f51d379a2b10a40fca7fa82a8501d3db94
[ "BSD-2-Clause" ]
1
2021-10-01T18:00:09.000Z
2021-10-01T18:00:09.000Z
Floor Of Array.cpp
Subhash3/Algorithms-For-Software-Developers
2e0ac4f51d379a2b10a40fca7fa82a8501d3db94
[ "BSD-2-Clause" ]
8
2021-10-01T04:20:38.000Z
2022-03-19T17:05:05.000Z
int findFloor(vector<long long> v, long long n, long long x){ int in=-1; int min=INT_MAX; for(int i=0;i<n;i++){ if(x>=v[i]&&abs(x-v[i])<min){ in=i; min=x-v[i]; } } return in; }
22.916667
61
0.385455
Subhash3
096d504acf71c97e7600ed86b5ea9e811bd54a00
1,559
hpp
C++
components/rgbd-sources/src/sources/stereovideo/pylon.hpp
knicos/voltu
70b39da7069f8ffd7e33aeb5bdacc84fe4a78f01
[ "MIT" ]
4
2020-12-28T15:29:15.000Z
2021-06-27T12:37:15.000Z
components/rgbd-sources/src/sources/stereovideo/pylon.hpp
knicos/voltu
70b39da7069f8ffd7e33aeb5bdacc84fe4a78f01
[ "MIT" ]
null
null
null
components/rgbd-sources/src/sources/stereovideo/pylon.hpp
knicos/voltu
70b39da7069f8ffd7e33aeb5bdacc84fe4a78f01
[ "MIT" ]
2
2021-01-13T05:28:39.000Z
2021-05-04T03:37:11.000Z
#pragma once #ifndef _FTL_RGBD_PYLONDEVICE_HPP_ #define _FTL_RGBD_PYLONDEVICE_HPP_ #include "device.hpp" #include <string> namespace Pylon { class CBaslerUniversalInstantCamera; class CGrabResultPtr; } namespace ftl { namespace rgbd { namespace detail { class PylonDevice : public ftl::rgbd::detail::Device { public...
22.594203
96
0.760103
knicos
096dcb72e99251322d92755ff23eb35b927ceb12
1,367
cpp
C++
src/CwApplication.cpp
asanoic/catwalk
8ce002278c03915a98477a111737f70c6a5e519d
[ "OLDAP-2.3" ]
1
2020-11-13T20:24:12.000Z
2020-11-13T20:24:12.000Z
src/CwApplication.cpp
asanoic/catwalk
8ce002278c03915a98477a111737f70c6a5e519d
[ "OLDAP-2.3" ]
null
null
null
src/CwApplication.cpp
asanoic/catwalk
8ce002278c03915a98477a111737f70c6a5e519d
[ "OLDAP-2.3" ]
null
null
null
#include "CwApplication.h" #include "CwApplicationData.h" #include <iostream> #include <memory> #include <thread> using namespace std; #include "engine/listener.h" #include "engine/utils.h" void __attribute__((constructor)) initForOpenFileLimited() { #ifdef __MINGW64__ _setmaxstdio(2048); #endif }...
25.314815
109
0.650329
asanoic
0979afe0a6e6a95dfbfc910549edb8459ba846c1
915
cpp
C++
test/algorithms/math/test_valid_perfect_square.cpp
iamantony/CppNotes
2707db6560ad80b0e5e286a04b2d46e5c0280b3f
[ "MIT" ]
2
2020-07-31T14:13:56.000Z
2021-02-03T09:51:43.000Z
test/algorithms/math/test_valid_perfect_square.cpp
iamantony/CppNotes
2707db6560ad80b0e5e286a04b2d46e5c0280b3f
[ "MIT" ]
28
2015-09-22T07:38:21.000Z
2018-10-02T11:00:58.000Z
test/algorithms/math/test_valid_perfect_square.cpp
iamantony/CppNotes
2707db6560ad80b0e5e286a04b2d46e5c0280b3f
[ "MIT" ]
2
2018-10-11T14:10:50.000Z
2021-02-27T08:53:50.000Z
#include <boost/test/unit_test.hpp> #include "algorithms/math/valid_perfect_square.hpp" BOOST_AUTO_TEST_SUITE(TestValidPerfectSquare) BOOST_AUTO_TEST_CASE(test_vps_check) { ValidPerfectSquare::Solution solution; BOOST_CHECK(false == solution.isPerfectSquare(0)); BOOST_CHECK(true == solution.isPerfectSquar...
38.125
59
0.75847
iamantony
097a5ac722d9f049e8413f4010025840d121e6da
532
hpp
C++
include/mnps.hpp
owlas/magpy
45c1332209154ef6be863e4797054a0b642493ec
[ "BSD-3-Clause" ]
5
2017-11-13T21:55:45.000Z
2020-12-29T10:42:41.000Z
include/mnps.hpp
owlas/magpy
45c1332209154ef6be863e4797054a0b642493ec
[ "BSD-3-Clause" ]
9
2017-10-06T09:30:08.000Z
2018-02-17T17:17:38.000Z
include/mnps.hpp
owlas/magpy
45c1332209154ef6be863e4797054a0b642493ec
[ "BSD-3-Clause" ]
2
2017-11-24T16:18:46.000Z
2020-06-08T11:54:40.000Z
// mnps.hpp // // structs for magnetic nanoparticles #ifndef MNP_H #define MNP_H #include <array> namespace mnp { using axis = std::array<double,3>; struct params { double gamma; double alpha; double saturation_mag; double diameter; double anisotropy; axis aniso...
17.16129
38
0.597744
owlas
097a63a796b6294c81238f64ffb288d36635652d
9,727
cpp
C++
interface/posix/src/posix.cpp
ArcticNature/core
bb63529a6deadc83e5adc3b772738ab6ca6ba18a
[ "BSD-3-Clause" ]
null
null
null
interface/posix/src/posix.cpp
ArcticNature/core
bb63529a6deadc83e5adc3b772738ab6ca6ba18a
[ "BSD-3-Clause" ]
null
null
null
interface/posix/src/posix.cpp
ArcticNature/core
bb63529a6deadc83e5adc3b772738ab6ca6ba18a
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2015 Stefano Pogliani <stefano@spogliani.net> #include "core/interface/posix.h" #include <fcntl.h> #include <libgen.h> #include <stdio.h> #include <string.h> #include <sys/eventfd.h> #include <sys/signalfd.h> #include <sys/types.h> #include <sys/wait.h> #include <unistd.h> #include <string> #include "co...
21.567627
78
0.649738
ArcticNature
097bcabbe3c9218972341b23f292892431ee5600
20,444
cpp
C++
SOURCES/sim/digi/autopilot.cpp
IsraelyFlightSimulator/Negev-Storm
86de63e195577339f6e4a94198bedd31833a8be8
[ "Unlicense" ]
1
2021-02-19T06:06:31.000Z
2021-02-19T06:06:31.000Z
src/sim/digi/autopilot.cpp
markbb1957/FFalconSource
07b12e2c41a93fa3a95b912a2433a8056de5bc4d
[ "BSD-2-Clause" ]
null
null
null
src/sim/digi/autopilot.cpp
markbb1957/FFalconSource
07b12e2c41a93fa3a95b912a2433a8056de5bc4d
[ "BSD-2-Clause" ]
2
2019-08-20T13:35:13.000Z
2021-04-24T07:32:04.000Z
#include <math.h> // MD -- 20031107: for mods to AltHold() #include "stdhdr.h" #include "digi.h" #include "simveh.h" #include "airframe.h" #include "Aircrft.h" #include "otwdrive.h" #include "Graphics\Include\tmap.h" #include "lantirn.h" #include "cpmanager.h" #include "cphsi.h" #include "pilotinputs.h" #include "flig...
29.039773
178
0.641851
IsraelyFlightSimulator
097c224d63f33cfa6cd5c99980bb6d1347a0ebe9
8,358
cpp
C++
src/problem/cliquetable/cliquetable_instance.cpp
ctjandra/ddopt-bounds
aaf7407da930503a17969cee71718ffcf0c1fe96
[ "MIT" ]
null
null
null
src/problem/cliquetable/cliquetable_instance.cpp
ctjandra/ddopt-bounds
aaf7407da930503a17969cee71718ffcf0c1fe96
[ "MIT" ]
null
null
null
src/problem/cliquetable/cliquetable_instance.cpp
ctjandra/ddopt-bounds
aaf7407da930503a17969cee71718ffcf0c1fe96
[ "MIT" ]
null
null
null
#include <cstdlib> #include <iostream> #include <vector> #include "cliquetable_instance.hpp" #include "cliquetable_cons_id.hpp" #include "../bp/cons_id.hpp" using namespace std; CliqueTableInstance::CliqueTableInstance(SCIP* scip, bool include_ct_rows, bool mask_transitive) { // Assume SCIP is mid-solve assert(SC...
26.449367
124
0.648241
ctjandra
097ede797a108bf3f4532ac0e043b0db462d367c
388
cpp
C++
Entrenamiento/Temas/Sorting/MergeSort.cpp
snat-s/competitiva
a743f323e1bedec4709416ef684a0c6a15e42e00
[ "MIT" ]
null
null
null
Entrenamiento/Temas/Sorting/MergeSort.cpp
snat-s/competitiva
a743f323e1bedec4709416ef684a0c6a15e42e00
[ "MIT" ]
null
null
null
Entrenamiento/Temas/Sorting/MergeSort.cpp
snat-s/competitiva
a743f323e1bedec4709416ef684a0c6a15e42e00
[ "MIT" ]
null
null
null
#include <cmath> #include <vector> std::vector<int> mergeSort(std::vector<int> data, int right, int left) { if(left < right) { int middle = floor(right+left)/2; mergeSort(data, left, middle); mergeSort(data, middle+1, right); merge(data, right, left, middle); } return data; } std::vector<int> m...
24.25
80
0.646907
snat-s
0985c71e6aeac7f61cd1b8e09839e9dae858ce7c
1,040
cpp
C++
Ejercicios/Ejercicio4-todas-las-variables/todas-las-variables.cpp
Maldanar201/LenguajeProgramacion1
5a53c51077c0e41deff8daf40dbe6f0778b41f9c
[ "MIT" ]
null
null
null
Ejercicios/Ejercicio4-todas-las-variables/todas-las-variables.cpp
Maldanar201/LenguajeProgramacion1
5a53c51077c0e41deff8daf40dbe6f0778b41f9c
[ "MIT" ]
null
null
null
Ejercicios/Ejercicio4-todas-las-variables/todas-las-variables.cpp
Maldanar201/LenguajeProgramacion1
5a53c51077c0e41deff8daf40dbe6f0778b41f9c
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int main(int argc, char const *argv[]) { cout << " TIPOS DE VARIABLES "<< endl; cout << "\n variables numericas "<< endl; cout << " 'int' entero "<< endl; cout << " 'float' numero flotante con digitos decimales"<< endl; cout << " 'double' incleye todos los realeas con n...
30.588235
74
0.620192
Maldanar201
0986174a6911768f7ff35059ee4aa71526ab4924
598
hpp
C++
libs/TDEBUG/tdebug.hpp
ei0/TUGUI
d7a1dc976b907eeac871dba1bc2e5cdbc88d6a0a
[ "MIT" ]
null
null
null
libs/TDEBUG/tdebug.hpp
ei0/TUGUI
d7a1dc976b907eeac871dba1bc2e5cdbc88d6a0a
[ "MIT" ]
null
null
null
libs/TDEBUG/tdebug.hpp
ei0/TUGUI
d7a1dc976b907eeac871dba1bc2e5cdbc88d6a0a
[ "MIT" ]
null
null
null
/* * @Author: SPeak Shen * @Date: 2021-11-13 23:12:38 * @Last Modified by: SPeak Shen * @Last Modified time: 2021-11-17 00:25:41 */ #ifndef __TDEBUG_HPP__ #define __TDEBUG_HPP__ namespace TDEBUG { enum class RT { ERROR = -1, SUCCESS = 0 }; inline static void crash() { *((char *)0) = 'E'; } // ...
18.6875
71
0.496656
ei0
0986ae8c5afdf81b8bfa099b06e3a7b2438a234b
41
hpp
C++
src/Headers/SFML_Tools.hpp
nerdtronik/SonoGUI
11cb69b94bf906234ee4c147261e9ef0ebcce509
[ "MIT" ]
null
null
null
src/Headers/SFML_Tools.hpp
nerdtronik/SonoGUI
11cb69b94bf906234ee4c147261e9ef0ebcce509
[ "MIT" ]
null
null
null
src/Headers/SFML_Tools.hpp
nerdtronik/SonoGUI
11cb69b94bf906234ee4c147261e9ef0ebcce509
[ "MIT" ]
null
null
null
#pragma once #include "OpenGL_Tools.hpp"
13.666667
27
0.780488
nerdtronik
098c7fc2fb356fecf65505597cb0e4a8dd12052c
1,615
cpp
C++
dijkstry.cpp
lukaszplk/dijkstry
d018263200c3e662639153b8ac5ba04ad75b643c
[ "MIT" ]
null
null
null
dijkstry.cpp
lukaszplk/dijkstry
d018263200c3e662639153b8ac5ba04ad75b643c
[ "MIT" ]
null
null
null
dijkstry.cpp
lukaszplk/dijkstry
d018263200c3e662639153b8ac5ba04ad75b643c
[ "MIT" ]
null
null
null
#include<iostream> using namespace std; struct lista{ lista *next; int v, w; }; const int infinity = 1000; int main(){ int i, j, m, n, u, w, v, x, y, *d, *p, *Stos, tmp; bool *QS; lista **graf; lista *a, *b; cin >> v >> n >> m; //start, l wierzcholkow, l krawedzi; d ...
19.457831
61
0.347988
lukaszplk
098feead4d54c23d2b37bc0b9a3ec13f091a860a
1,134
hpp
C++
include/ConsoleParser.hpp
michalloska/SOLID_time_and_zone_converter
0da9d740290f650bbb9611c4660d7d542f6a2605
[ "MIT" ]
null
null
null
include/ConsoleParser.hpp
michalloska/SOLID_time_and_zone_converter
0da9d740290f650bbb9611c4660d7d542f6a2605
[ "MIT" ]
null
null
null
include/ConsoleParser.hpp
michalloska/SOLID_time_and_zone_converter
0da9d740290f650bbb9611c4660d7d542f6a2605
[ "MIT" ]
null
null
null
#pragma once #include <vector> #include <tuple> #include <map> class Time; class TimeZone; namespace ConsoleParsers { using TimeConversionConsoleArguments = std::tuple<Time, TimeZone, TimeZone>; using TimeConversionRawConsoleArguments = std::map<std::string, std::string>; class TimeConversio...
35.4375
104
0.733686
michalloska
09931f903236c917f9447804d8749cccf78710a5
5,587
cpp
C++
inetsrv/intlwb/thai2/sth/wzmanip.cpp
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
inetsrv/intlwb/thai2/sth/wzmanip.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
inetsrv/intlwb/thai2/sth/wzmanip.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
#include "wzmanip.h" #include <assert.h> ////////////////////////////////////////////////////////////////////////// // Wzncpy // // Copies the lesser of len(wzFrom) or n characters (n includes the // null terminator) from wzFrom to wzTo. WCHAR * Wzncpy(WCHAR* wzTo, const WCHAR* wzFrom, unsigned int cchTo) { ...
21.162879
75
0.500447
npocmaka
09944f2675bcd96b3ec7e607a764e523d8da085d
866
cpp
C++
Algorithm - BOJ/boj_18870.cpp
kangjunseo/C-
eafdf57a22b3a794d09cab045d6d60c2842ba347
[ "MIT" ]
2
2021-08-30T12:37:57.000Z
2021-11-29T05:42:05.000Z
Algorithm - BOJ/boj_18870.cpp
kangjunseo/C-
eafdf57a22b3a794d09cab045d6d60c2842ba347
[ "MIT" ]
null
null
null
Algorithm - BOJ/boj_18870.cpp
kangjunseo/C-
eafdf57a22b3a794d09cab045d6d60c2842ba347
[ "MIT" ]
null
null
null
#include <iostream> #include <algorithm> #include <vector> #include <cstdlib> using namespace std; bool comp(pair<double,int> a, pair<double,int> b){ return a.first < b.first; } bool comp2(pair<double,int> a, pair<double,int> b){ return a.second < b.second; } int main() { int N; cin>>N; vector <pair<double...
20.619048
61
0.58545
kangjunseo
09957feb8cefbc78dde9c4bd025d9bdb497dffdf
4,584
cpp
C++
src/library.cpp
devslm/quik-connector
1785ad2936fca41a5b20420b43f19afb56bb84ff
[ "Apache-2.0" ]
1
2021-11-16T20:36:48.000Z
2021-11-16T20:36:48.000Z
src/library.cpp
devslm/quik-connector
1785ad2936fca41a5b20420b43f19afb56bb84ff
[ "Apache-2.0" ]
null
null
null
src/library.cpp
devslm/quik-connector
1785ad2936fca41a5b20420b43f19afb56bb84ff
[ "Apache-2.0" ]
2
2021-09-24T21:12:30.000Z
2021-11-08T08:24:44.000Z
// // Copyright (c) 2021 SLM Dev <https://slm-dev.com/quik-connector/>. All rights reserved. // #include "library.h" #include <iostream> shared_ptr<spdlog::logger> logger; Quik* quik; ConfigService *configService; Redis* redis; Db* db; static Logger* loggerWrapper; static ConfigDto config; static thread userRobotThr...
24.513369
93
0.6863
devslm
099c20b0ac4b3d8a3d6fd335447416cd08402e26
385
cpp
C++
src/shaderbuffer.cpp
bridgekat/vxrt
f02b421fb646cf7dbc6d60b908296cf8799edbf0
[ "BSD-3-Clause" ]
11
2018-08-07T14:29:31.000Z
2021-01-16T13:24:42.000Z
src/shaderbuffer.cpp
qiaozhanrong/vxrt
f02b421fb646cf7dbc6d60b908296cf8799edbf0
[ "BSD-3-Clause" ]
null
null
null
src/shaderbuffer.cpp
qiaozhanrong/vxrt
f02b421fb646cf7dbc6d60b908296cf8799edbf0
[ "BSD-3-Clause" ]
null
null
null
#include "shaderbuffer.h" ShaderBuffer::ShaderBuffer(const ShaderProgram& program, const std::string& name, GLuint binding) { glGenBuffers(1, &mHandle); GLuint index = glGetProgramResourceIndex(program.handle(), GL_SHADER_STORAGE_BLOCK, name.c_str()); glShaderStorageBlockBinding(program.handle(), index, binding); ...
38.5
99
0.797403
bridgekat
09a3d21a6a6d61b41b5903046e3ed72267aabea1
1,077
cpp
C++
D2DSharp/D2DWrapper/FontFamily.cpp
dmitrykolchev/d2dsharp
5a9f3c39d62a92533c55f260726ef1966fbcf30f
[ "MIT" ]
29
2017-09-10T16:20:02.000Z
2022-03-05T13:26:24.000Z
D2DSharp/D2DWrapper/FontFamily.cpp
dmitrykolchev/d2dsharp
5a9f3c39d62a92533c55f260726ef1966fbcf30f
[ "MIT" ]
2
2019-05-19T06:42:19.000Z
2019-12-19T12:15:50.000Z
D2DSharp/D2DWrapper/FontFamily.cpp
dmitrykolchev/d2dsharp
5a9f3c39d62a92533c55f260726ef1966fbcf30f
[ "MIT" ]
9
2017-10-05T15:52:36.000Z
2022-03-05T13:26:28.000Z
/* * * Authors: * Dmitry Kolchev <dmitrykolchev@msn.com> * */ #include "Stdafx.h" using namespace Managed::Graphics::DirectWrite; LocalizedStrings^ FontFamily::FamilyNames::get() { IDWriteLocalizedStrings* names; ComUtils::CheckResult( GetNative<IDWriteFontFamily>()->GetFamilyNames( ...
21.54
96
0.722377
dmitrykolchev
09a3f16395beed752a4178ca1c11788541d0cc4d
5,518
cpp
C++
code_reading/oceanbase-master/deps/oblib/unittest/common/rowkey/test_ext_store_rowkey.cpp
wangcy6/weekly_read
3a8837ee9cd957787ee1785e4066dd623e02e13a
[ "Apache-2.0" ]
null
null
null
code_reading/oceanbase-master/deps/oblib/unittest/common/rowkey/test_ext_store_rowkey.cpp
wangcy6/weekly_read
3a8837ee9cd957787ee1785e4066dd623e02e13a
[ "Apache-2.0" ]
null
null
null
code_reading/oceanbase-master/deps/oblib/unittest/common/rowkey/test_ext_store_rowkey.cpp
wangcy6/weekly_read
3a8837ee9cd957787ee1785e4066dd623e02e13a
[ "Apache-2.0" ]
1
2020-10-18T12:59:31.000Z
2020-10-18T12:59:31.000Z
/** * Copyright (c) 2021 OceanBase * OceanBase CE is licensed under Mulan PubL v2. * You can use this software according to the terms and conditions of the Mulan PubL v2. * You may obtain a copy of Mulan PubL v2 at: * http://license.coscl.org.cn/MulanPubL-2.0 * THIS SOFTWARE IS PROVIDED ON AN "AS IS" BAS...
38.859155
113
0.787242
wangcy6
09a7219987ad983862987c114a2b7318ed6da9ad
392
hpp
C++
src/Qt5Gui/QPageSize.hpp
dafrito/luacxx
278bf8a7c6664536ea7f1dd1f59d35b6fb8d2dad
[ "MIT" ]
128
2015-01-07T19:47:09.000Z
2022-01-22T19:42:14.000Z
src/Qt5Gui/QPageSize.hpp
dafrito/luacxx
278bf8a7c6664536ea7f1dd1f59d35b6fb8d2dad
[ "MIT" ]
null
null
null
src/Qt5Gui/QPageSize.hpp
dafrito/luacxx
278bf8a7c6664536ea7f1dd1f59d35b6fb8d2dad
[ "MIT" ]
24
2015-01-07T19:47:10.000Z
2022-01-25T17:42:37.000Z
#ifndef luacxx_QPageSize_INCLUDED #define luacxx_QPageSize_INCLUDED #include "../stack.hpp" #include "../enum.hpp" #include <QPageSize> LUA_METATABLE_BUILT(QPageSize) LUA_METATABLE_ENUM(QPageSize::PageSizeId) LUA_METATABLE_ENUM(QPageSize::SizeMatchPolicy) LUA_METATABLE_ENUM(QPageSize::Unit) extern "C" int luaopen_Q...
23.058824
58
0.82398
dafrito
09a7a0e7c88b34360290459b9986a6d5d8359199
1,776
cpp
C++
verify/verify-yuki/yuki-1303.test.cpp
NachiaVivias/library
73091ddbb00bc59328509c8f6e662fea2b772994
[ "CC0-1.0" ]
69
2020-11-06T05:21:42.000Z
2022-03-29T03:38:35.000Z
verify/verify-yuki/yuki-1303.test.cpp
NachiaVivias/library
73091ddbb00bc59328509c8f6e662fea2b772994
[ "CC0-1.0" ]
21
2020-07-25T04:47:12.000Z
2022-02-01T14:39:29.000Z
verify/verify-yuki/yuki-1303.test.cpp
NachiaVivias/library
73091ddbb00bc59328509c8f6e662fea2b772994
[ "CC0-1.0" ]
9
2020-11-06T11:55:10.000Z
2022-03-20T04:45:31.000Z
#define PROBLEM "https://yukicoder.me/problems/no/1303" #include "../../template/template.hpp" // #include "../../data-structure/union-find.hpp" #include "../../fps/ntt-friendly-fps.hpp" #include "../../matrix/matrix-tree.hpp" #include "../../matrix/polynomial-matrix-determinant.hpp" #include "../../modint/montgomery-...
22.481013
61
0.51295
NachiaVivias
09aa08349d8678e5cf289bda6e64bc94f244e022
1,275
hpp
C++
dev/Code/Tools/CrySCompileServer/CrySCompileServer/Core/Server/CrySimpleMutex.hpp
jeikabu/lumberyard
07228c605ce16cbf5aaa209a94a3cb9d6c1a4115
[ "AML" ]
1,738
2017-09-21T10:59:12.000Z
2022-03-31T21:05:46.000Z
dev/Code/Tools/CrySCompileServer/CrySCompileServer/Core/Server/CrySimpleMutex.hpp
jeikabu/lumberyard
07228c605ce16cbf5aaa209a94a3cb9d6c1a4115
[ "AML" ]
427
2017-09-29T22:54:36.000Z
2022-02-15T19:26:50.000Z
dev/Code/Tools/CrySCompileServer/CrySCompileServer/Core/Server/CrySimpleMutex.hpp
jeikabu/lumberyard
07228c605ce16cbf5aaa209a94a3cb9d6c1a4115
[ "AML" ]
671
2017-09-21T08:04:01.000Z
2022-03-29T14:30:07.000Z
/* * All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or * its licensors. * * For complete copyright and license terms please see the LICENSE at the root of this * distribution (the "License"). All use of this software is governed by the License, * or, if provided, by the license below or t...
23.611111
85
0.716078
jeikabu
09aa2bbb6904e482798b8f756f8517da4e2250cc
1,928
cpp
C++
src/ui/gtk3/view/Menubar.cpp
jmdaemon/oggex
ae6153c021cbbfb784ffee5da4b1769d3fbf5617
[ "MIT" ]
null
null
null
src/ui/gtk3/view/Menubar.cpp
jmdaemon/oggex
ae6153c021cbbfb784ffee5da4b1769d3fbf5617
[ "MIT" ]
null
null
null
src/ui/gtk3/view/Menubar.cpp
jmdaemon/oggex
ae6153c021cbbfb784ffee5da4b1769d3fbf5617
[ "MIT" ]
null
null
null
#include "MenuBar.h" MenuBar::MenuBar(const Glib::RefPtr<Gtk::Builder>& refBuilder): m_refBuilder(refBuilder), m_Box(Gtk::ORIENTATION_VERTICAL) { add(m_Box); //Edit menu: add_action("copy", sigc::mem_fun(*this, &EmbedWindow::on_menu_others)); add_action("paste", sigc::mem_fun(*this, &EmbedWindow::on_menu_oth...
27.15493
124
0.698133
jmdaemon
09ab01a81c174384a375b05ca9c7b21999228af7
6,005
hpp
C++
parser/hphp.5.tab.hpp
Houzz/tap
48e505ad76a9400fda48dcf22ba3cf1ce8c036d5
[ "Apache-2.0" ]
4
2017-08-10T22:49:08.000Z
2017-09-20T08:11:49.000Z
parser/hphp.5.tab.hpp
Houzz/tap
48e505ad76a9400fda48dcf22ba3cf1ce8c036d5
[ "Apache-2.0" ]
null
null
null
parser/hphp.5.tab.hpp
Houzz/tap
48e505ad76a9400fda48dcf22ba3cf1ce8c036d5
[ "Apache-2.0" ]
2
2017-08-14T18:44:17.000Z
2018-04-14T13:58:35.000Z
/* A Bison parser, made by GNU Bison 3.0.4. */ /* Bison interface for Yacc-like parsers in C Copyright (C) 1984, 1989-1990, 2000-2015 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by t...
24.116466
76
0.650791
Houzz
09ab8711d1f0b70018fb10d028dd507d30651b43
2,612
cpp
C++
A1131 Subway Map(30).cpp
Bourbon-Whiskey/PAT-A
40915d7c36077ad8fa4cbfdfe06f6cb50f152813
[ "MIT" ]
8
2019-02-13T02:00:19.000Z
2022-03-22T09:31:22.000Z
A1131 Subway Map(30).cpp
Bourbon-Whiskey/PAT-A
40915d7c36077ad8fa4cbfdfe06f6cb50f152813
[ "MIT" ]
null
null
null
A1131 Subway Map(30).cpp
Bourbon-Whiskey/PAT-A
40915d7c36077ad8fa4cbfdfe06f6cb50f152813
[ "MIT" ]
null
null
null
#include<cstdio> #include<vector> using namespace std; #define maxn 10010 struct Way{ int des; int line; }; vector<Way> G[maxn];//地铁图 int vis[maxn]; int inq[15][maxn];//是否入队 vector<Way> temp,trace; int Change; int depth,st,End; int N,M,K; void Init(){ int i,a,b; Way tmp; scanf("%d",&N); for...
19.065693
81
0.402374
Bourbon-Whiskey
09b436275e636ef65513b17825ae555991ae75a6
1,736
hpp
C++
ZappyGUI/sources/zappy/player/Player.hpp
gillioa/Zappy
4de8a9be40b018f68d56ddb7d8813192653838f4
[ "MIT" ]
null
null
null
ZappyGUI/sources/zappy/player/Player.hpp
gillioa/Zappy
4de8a9be40b018f68d56ddb7d8813192653838f4
[ "MIT" ]
null
null
null
ZappyGUI/sources/zappy/player/Player.hpp
gillioa/Zappy
4de8a9be40b018f68d56ddb7d8813192653838f4
[ "MIT" ]
null
null
null
#ifndef PLAYER_HPP__ # define PLAYER_HPP__ #include <map> #include <mutex> #include "Case.hpp" #include "Socket.hpp" enum eOrientation { NORTH = 1, EAST = 2, SOUTH = 3, WEST = 4 }; enum eAction { Expulse = 0, Broadcast, IncantationLaunch, Fork, PutRessources, GetRessources, Nothing, }; enum eStat { ...
23.459459
69
0.726959
gillioa
09b9959001b7d84a202411716121998d6b92cee7
3,918
cpp
C++
src/resource/textureatlas.cpp
GuyTristram/grt
4329ed58f22248ed4924246e148fb6b5f3f7e1bc
[ "MIT" ]
1
2015-10-08T19:11:18.000Z
2015-10-08T19:11:18.000Z
src/resource/textureatlas.cpp
GuyTristram/grt
4329ed58f22248ed4924246e148fb6b5f3f7e1bc
[ "MIT" ]
null
null
null
src/resource/textureatlas.cpp
GuyTristram/grt
4329ed58f22248ed4924246e148fb6b5f3f7e1bc
[ "MIT" ]
null
null
null
#include "resource/textureatlas.h" #include <algorithm> #include <set> #include "core/renderstate.h" #include "core/shaderprogram.h" #include "core/texture.h" #include "core/texturetarget.h" #include "resource/mesh.h" #include "resource/resourcepool.h" TextureAtlas::TextureAtlas( std::vector< std::st...
25.277419
101
0.588821
GuyTristram
09c096596fdd6c29da26474d7e60b1134e892b0e
292
cpp
C++
src/Projection.cpp
kr15h/YaronTracker
4c6efe0f8bca6a64164a714633df8a032ce135d1
[ "MIT" ]
1
2018-04-07T14:06:05.000Z
2018-04-07T14:06:05.000Z
src/Projection.cpp
kr15h/YaronTracker
4c6efe0f8bca6a64164a714633df8a032ce135d1
[ "MIT" ]
null
null
null
src/Projection.cpp
kr15h/YaronTracker
4c6efe0f8bca6a64164a714633df8a032ce135d1
[ "MIT" ]
null
null
null
#include "Projection.h" namespace ytr { shared_ptr<Projection> Projection::create(){ return shared_ptr<Projection>(new Projection()); } Projection::Projection(){ } void Projection::update(){ // Do some swarm math } void Projection::draw(){ // TODO: draw swarm } } // namespace ytr
13.272727
49
0.695205
kr15h
09c23575f2f062cd5ff9438d4a80653de1fa4c6e
455
cpp
C++
benchmark/bm_binary_operator.cpp
matazure/mtensor
4289284b201cb09ed1dfc49f44d6738751affd63
[ "MIT" ]
82
2020-04-11T09:33:36.000Z
2022-03-23T03:47:25.000Z
benchmark/bm_binary_operator.cpp
Lexxos/mtensor
feb120923dad3fb4ae3b31dd09931622a63c3d06
[ "MIT" ]
28
2017-04-26T17:12:35.000Z
2019-04-08T04:05:24.000Z
benchmark/bm_binary_operator.cpp
Lexxos/mtensor
feb120923dad3fb4ae3b31dd09931622a63c3d06
[ "MIT" ]
22
2017-01-10T14:57:29.000Z
2019-12-17T08:55:59.000Z
#include "bm_binary_operator.hpp" auto bm_host_tensor2f_add = bm_tensor_add<tensor<float, 2>>; auto bm_host_tensor2f_sub = bm_tensor_add<tensor<float, 2>>; auto bm_host_tensor2f_mul = bm_tensor_add<tensor<float, 2>>; auto bm_host_tensor2f_div = bm_tensor_add<tensor<float, 2>>; BENCHMARK(bm_host_tensor2f_add)->Arg(10_K...
41.363636
60
0.808791
matazure
09c5c5913b09488c4c6501482293c2cca5aa31b0
2,027
cpp
C++
src/configuration.cpp
jupe/serialchart
3128f007dce051fe42470d5c8bce79c33f8ee276
[ "MIT" ]
13
2015-07-11T13:13:53.000Z
2021-04-15T14:59:33.000Z
src/configuration.cpp
jupe/serialchart
3128f007dce051fe42470d5c8bce79c33f8ee276
[ "MIT" ]
2
2015-02-08T07:49:53.000Z
2015-02-08T10:46:41.000Z
src/configuration.cpp
jupe/serialchart
3128f007dce051fe42470d5c8bce79c33f8ee276
[ "MIT" ]
8
2016-05-16T13:38:17.000Z
2020-11-27T01:49:57.000Z
#include "configuration.h" Configuration::Configuration(QObject *parent) : QObject(parent) { } const QString Configuration::get(const QString& sectionName,const QString& propertyName,const QString& defaultValue){ if(sections.contains(sectionName) && sections[sectionName].contains(propertyName)){ ret...
31.184615
128
0.577208
jupe
09c663757184d330494ff782fcbafd5da6b80d5f
1,289
hpp
C++
src/components/ProjectileEmitterComponent.hpp
ItsChoudhry/2dGameEngine
dd154816b1a4ab18cdcb5e59f580af9e495f7761
[ "MIT" ]
1
2020-07-17T16:22:01.000Z
2020-07-17T16:22:01.000Z
src/components/ProjectileEmitterComponent.hpp
ItsChoudhry/2dGameEngine
dd154816b1a4ab18cdcb5e59f580af9e495f7761
[ "MIT" ]
null
null
null
src/components/ProjectileEmitterComponent.hpp
ItsChoudhry/2dGameEngine
dd154816b1a4ab18cdcb5e59f580af9e495f7761
[ "MIT" ]
null
null
null
#pragma once #include "../../lib/glm/glm.hpp" #include "../Component.hpp" #include "../EntityManager.hpp" #include "TransformComponent.hpp" class ProjectileEmitterComponent : public Component { private: TransformComponent *m_transform; glm::vec2 m_origin; int m_speed; int m_range; float m_angleRad...
25.27451
86
0.589604
ItsChoudhry
09ceffc703de8ad4038fd35bbaedfbd287d2cd7f
442
cpp
C++
e794.cpp
MaowMan/zerojudge
2073408b26108c760360cb4a603ebbf86583c62f
[ "MIT" ]
null
null
null
e794.cpp
MaowMan/zerojudge
2073408b26108c760360cb4a603ebbf86583c62f
[ "MIT" ]
null
null
null
e794.cpp
MaowMan/zerojudge
2073408b26108c760360cb4a603ebbf86583c62f
[ "MIT" ]
null
null
null
#include <vector> #include <iostream> int64_t gcd(int64_t a,int64_t b){ if(b==0) { return a; } else { return gcd(b,a%b); } } int main(){ std::vector<int64_t> data(50); data[0]=0; data[1]=1; for(int i=2;i<50;i++){ data[i]=data[i-1]+data[i-2]; } int n; ...
17
62
0.504525
MaowMan
09cfa14666294fd51a64fcb6d5265e7e5f2cef7f
9,014
hpp
C++
include/arc_utilities/abb_irb1600_145_fk_fast.hpp
UM-ARM-Lab/arc_utilities
e21bd5062983b25e61e33f832ec66b937540ba10
[ "BSD-2-Clause" ]
10
2017-01-09T14:37:14.000Z
2022-03-16T08:02:08.000Z
include/arc_utilities/abb_irb1600_145_fk_fast.hpp
UM-ARM-Lab/arc_utilities
e21bd5062983b25e61e33f832ec66b937540ba10
[ "BSD-2-Clause" ]
62
2017-05-25T16:52:38.000Z
2022-03-08T20:05:09.000Z
include/arc_utilities/abb_irb1600_145_fk_fast.hpp
UM-ARM-Lab/arc_utilities
e21bd5062983b25e61e33f832ec66b937540ba10
[ "BSD-2-Clause" ]
7
2017-08-04T13:06:17.000Z
2022-03-16T08:02:11.000Z
#include <math.h> #include <stdio.h> #include <stdlib.h> #include <Eigen/Geometry> #include <arc_utilities/arc_helpers.hpp> #include <arc_utilities/eigen_typedefs.hpp> #include <map> #include <vector> #ifndef ABB_IRB1600_145_FK_FAST_HPP #define ABB_IRB1600_145_FK_FAST_HPP namespace ABB_IRB1600_145_FK_FAST { const si...
55.641975
120
0.811959
UM-ARM-Lab
09d21f04f727b246c6383abaf42e0ec8041f2e7d
2,751
cpp
C++
PrivateDiary-Qt/PrivateDiary/PrivateDiaryDesktop/mainwindow.cpp
gituser9/Private-Diary
bedda59a32de6dfb4b252b7e53eae2637a0c99f3
[ "MIT" ]
1
2021-12-21T12:53:51.000Z
2021-12-21T12:53:51.000Z
PrivateDiary-Qt/PrivateDiary/PrivateDiaryDesktop/mainwindow.cpp
gituser9/Private-Diary
bedda59a32de6dfb4b252b7e53eae2637a0c99f3
[ "MIT" ]
null
null
null
PrivateDiary-Qt/PrivateDiary/PrivateDiaryDesktop/mainwindow.cpp
gituser9/Private-Diary
bedda59a32de6dfb4b252b7e53eae2637a0c99f3
[ "MIT" ]
null
null
null
#include "mainwindow.h" #include "ui_mainwindow.h" #include <QDebug> MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), ui(new Ui::MainWindow) { ui->setupUi(this); ui->mainToolBar->hide(); ui->menuBar->hide(); appData = std::make_shared<AppData>(); loginPage = new LoginPage(th...
27.787879
156
0.678662
gituser9
09d3b1d4263472bf8d4e92925c91cf60469b7a59
1,002
cpp
C++
DelaunayVoronoi/DataParser.cpp
wingyiu/ndelvor
a7eeb7791b803b1c73ba2371b38648103b20232a
[ "BSD-3-Clause" ]
1
2019-01-07T01:46:05.000Z
2019-01-07T01:46:05.000Z
DelaunayVoronoi/DataParser.cpp
wingyiu/ndelvor
a7eeb7791b803b1c73ba2371b38648103b20232a
[ "BSD-3-Clause" ]
null
null
null
DelaunayVoronoi/DataParser.cpp
wingyiu/ndelvor
a7eeb7791b803b1c73ba2371b38648103b20232a
[ "BSD-3-Clause" ]
null
null
null
#include "DataParser.h" bool DataParser::hasNext() { if(feof(m_file) == 0) { return true; } else { return false; } } Point* DataParser::getNext() { double *coord = new double[m_dimension]; for(int i=0; i<m_dimension; i++) { fscanf(m_file, "%lf", coord+i)...
14.112676
96
0.598802
wingyiu
09d98e232450818de0b7fcc389977014e0cea640
1,909
cpp
C++
Compiler/Compiler.cpp
cmarrin/Clover
4884b4e51aed180c0cce8fd23b62445109515167
[ "MIT" ]
null
null
null
Compiler/Compiler.cpp
cmarrin/Clover
4884b4e51aed180c0cce8fd23b62445109515167
[ "MIT" ]
null
null
null
Compiler/Compiler.cpp
cmarrin/Clover
4884b4e51aed180c0cce8fd23b62445109515167
[ "MIT" ]
null
null
null
/*------------------------------------------------------------------------- This source file is a part of Clover For the latest info, see https://github.com/cmarrin/Clover Copyright (c) 2021-2022, Chris Marrin All rights reserved. Use of this source code is governed by the MIT license that can be ...
26.887324
84
0.544788
cmarrin
09ddf459670809eefab3be59f7750232518483e7
10,465
cpp
C++
libraries/distanceField/closestPointField.cpp
dyollb/VegaFEM
83bb9e52f68dec5511393af0469abd85cfff4a7f
[ "BSD-3-Clause" ]
null
null
null
libraries/distanceField/closestPointField.cpp
dyollb/VegaFEM
83bb9e52f68dec5511393af0469abd85cfff4a7f
[ "BSD-3-Clause" ]
null
null
null
libraries/distanceField/closestPointField.cpp
dyollb/VegaFEM
83bb9e52f68dec5511393af0469abd85cfff4a7f
[ "BSD-3-Clause" ]
null
null
null
/************************************************************************* * * * Vega FEM Simulation Library Version 4.0 * * * * "distance field" ...
34.537954
152
0.566555
dyollb
09e144ecc31757ee9b902569a14edc37da0c79b9
2,391
cpp
C++
gecode/place_number_puzzle.cpp
Wikunia/hakank
030bc928d2efe8dcbc5118bda3f8ae9575d0fd13
[ "MIT" ]
279
2015-01-10T09:55:35.000Z
2022-03-28T02:34:03.000Z
gecode/place_number_puzzle.cpp
Wikunia/hakank
030bc928d2efe8dcbc5118bda3f8ae9575d0fd13
[ "MIT" ]
10
2017-10-05T15:48:50.000Z
2021-09-20T12:06:52.000Z
gecode/place_number_puzzle.cpp
Wikunia/hakank
030bc928d2efe8dcbc5118bda3f8ae9575d0fd13
[ "MIT" ]
83
2015-01-20T03:44:00.000Z
2022-03-13T23:53:06.000Z
/* Place number puzzle in Gecode. http://ai.uwaterloo.ca/~vanbeek/Courses/Slides/introduction.pdf """ Place numbers 1 through 8 on nodes - each number appears exactly once - no connected nodes have consecutive numbers 2 - 5 / | X | \ 1 - 3 - 6 - 8 \ | X | / 4 - 7 """ Compa...
17.452555
73
0.540778
Wikunia
09e3ab82285e2104c8ae7e90e29eaf7b66fc5083
46,582
hpp
C++
LPS33HW.hpp
chisl/LPS33HW-cpp98
0018d74c9307482e3b44e60716a3e076c3376e37
[ "MIT" ]
null
null
null
LPS33HW.hpp
chisl/LPS33HW-cpp98
0018d74c9307482e3b44e60716a3e076c3376e37
[ "MIT" ]
null
null
null
LPS33HW.hpp
chisl/LPS33HW-cpp98
0018d74c9307482e3b44e60716a3e076c3376e37
[ "MIT" ]
null
null
null
/* * name: LPS33HW * description: MEMS pressure sensor: 260-1260 hPa absolute digital output barometer with water-resistant package * manuf: STMicroelectronics * version: Version 0.1 * url: http://www.st.com/resource/en/datasheet/lps33hw.pdf * date: 2018-01-02 * author https...
34.710879
135
0.494977
chisl
09eb3cf1704fc51817350d764dc8a7f267515bbe
1,866
cpp
C++
SDKs/CryCode/3.8.1/GameDll/AI/HazardModule/HazardShared.cpp
amrhead/FireNET
34d439aa0157b0c895b20b2b664fddf4f9b84af1
[ "BSD-2-Clause" ]
4
2017-12-18T20:10:16.000Z
2021-02-07T21:21:24.000Z
SDKs/CryCode/3.7.0/GameDll/AI/HazardModule/HazardShared.cpp
amrhead/FireNET
34d439aa0157b0c895b20b2b664fddf4f9b84af1
[ "BSD-2-Clause" ]
null
null
null
SDKs/CryCode/3.7.0/GameDll/AI/HazardModule/HazardShared.cpp
amrhead/FireNET
34d439aa0157b0c895b20b2b664fddf4f9b84af1
[ "BSD-2-Clause" ]
3
2019-03-11T21:36:15.000Z
2021-02-07T21:21:26.000Z
// ============================================================================ // ============================================================================ // ============================================================================ // ==== // ==== Hazard Shared // ==== // ==== Various class and types that are s...
30.590164
79
0.237406
amrhead
09f7cca4d474418ae3b10a06adf2602112ba9fee
2,641
hpp
C++
src/Model/ObjectLoading/ModelLoader.hpp
charlieSewell/ICT397-Game-Engine
64d44edfcf397ea0a1133680f908f74ea8bafb22
[ "MIT" ]
1
2021-04-11T04:57:06.000Z
2021-04-11T04:57:06.000Z
src/Model/ObjectLoading/ModelLoader.hpp
charlieSewell/ICT397-Game-Engine
64d44edfcf397ea0a1133680f908f74ea8bafb22
[ "MIT" ]
null
null
null
src/Model/ObjectLoading/ModelLoader.hpp
charlieSewell/ICT397-Game-Engine
64d44edfcf397ea0a1133680f908f74ea8bafb22
[ "MIT" ]
null
null
null
// // Created by Charlie Sewell on 1/04/2021. // #pragma once #include <assimp/Importer.hpp> #include <assimp/postprocess.h> #include <assimp/scene.h> #include <glm/gtc/type_ptr.hpp> #include "Model/Model.hpp" #include "Model/SkeletalAnimation.hpp" #include "Controller/TextureManager.hpp" /** @class ModelLoader * @b...
33.858974
117
0.649375
charlieSewell
09f9c638b95c75c1c87c83eed95c2299923bd1a9
881
cpp
C++
CloakEngine/Manager.cpp
Bizzarrus/CloakEngine
0890eaada76b91be89702d2a6ec2dcf9b2901fb9
[ "BSD-2-Clause" ]
null
null
null
CloakEngine/Manager.cpp
Bizzarrus/CloakEngine
0890eaada76b91be89702d2a6ec2dcf9b2901fb9
[ "BSD-2-Clause" ]
null
null
null
CloakEngine/Manager.cpp
Bizzarrus/CloakEngine
0890eaada76b91be89702d2a6ec2dcf9b2901fb9
[ "BSD-2-Clause" ]
null
null
null
#include "stdafx.h" #define NO_LIB_LOAD #include "Implementation/Rendering/Manager.h" #include "Implementation/Rendering/DX12/Lib.h" #include <atomic> namespace CloakEngine { namespace Impl { namespace Rendering { inline namespace Manager_v1 { CE::RefPointer<IManager> CLOAK_CALL IManager::Create(...
26.69697
104
0.628831
Bizzarrus
09fa5f0c7deb760c8d18ddf9e61238f904f69337
554
cpp
C++
1-Intro/06-floatEdouble.cpp
pablo147sousa/IF-Cpp
25606c16d18d35143fc564fe1ca7aa4ab7f7bc10
[ "MIT" ]
null
null
null
1-Intro/06-floatEdouble.cpp
pablo147sousa/IF-Cpp
25606c16d18d35143fc564fe1ca7aa4ab7f7bc10
[ "MIT" ]
null
null
null
1-Intro/06-floatEdouble.cpp
pablo147sousa/IF-Cpp
25606c16d18d35143fc564fe1ca7aa4ab7f7bc10
[ "MIT" ]
2
2021-06-01T20:48:10.000Z
2021-06-05T17:31:22.000Z
// Dados de ponto flutuante (float e double) em C e C++ /** * Números de ponto flutuante representam os números * pertencentes ao conjunto dos Reais. * A diferença entre float e double é que o ultimo * apresenta o dobro de tamanho em relação a float e por * isso possui uma maior precisão. * O maio...
26.380952
57
0.684116
pablo147sousa
09fbea11b9056610461e6f7411e3cf6fec031e8b
586
hpp
C++
upgrade/pack_builder/ImageEncryptorNone.hpp
oguzcanphilips/embeddedinfralib
f1b083d61a34d123d34ab7cd51267377aa2f7855
[ "Unlicense" ]
54
2019-04-02T14:42:54.000Z
2022-03-20T23:02:19.000Z
upgrade/pack_builder/ImageEncryptorNone.hpp
oguzcanphilips/embeddedinfralib
f1b083d61a34d123d34ab7cd51267377aa2f7855
[ "Unlicense" ]
32
2019-03-26T06:57:29.000Z
2022-03-25T00:04:44.000Z
upgrade/pack_builder/ImageEncryptorNone.hpp
oguzcanphilips/embeddedinfralib
f1b083d61a34d123d34ab7cd51267377aa2f7855
[ "Unlicense" ]
20
2019-03-25T15:49:49.000Z
2022-03-20T23:02:22.000Z
#ifndef UPGRADE_PACK_BUILDER_IMAGE_ENCRYPTOR_NONE_HPP #define UPGRADE_PACK_BUILDER_IMAGE_ENCRYPTOR_NONE_HPP #include "upgrade/pack_builder/ImageSecurity.hpp" #include <cstdint> #include <vector> namespace application { class ImageEncryptorNone : public ImageSecurity { public: static const ...
25.478261
93
0.744027
oguzcanphilips
09fd48719388218399a732200501fc686387be7d
5,665
hpp
C++
Reflection/Enum.hpp
laurentd75/CLK
55dbeefeb2539541409265391ba9f7d70d89449e
[ "MIT" ]
674
2016-05-05T18:47:48.000Z
2022-03-30T01:48:53.000Z
Reflection/Enum.hpp
laurentd75/CLK
55dbeefeb2539541409265391ba9f7d70d89449e
[ "MIT" ]
223
2016-05-11T13:45:11.000Z
2022-03-27T08:20:26.000Z
Reflection/Enum.hpp
laurentd75/CLK
55dbeefeb2539541409265391ba9f7d70d89449e
[ "MIT" ]
36
2017-11-24T18:07:52.000Z
2022-03-17T23:30:14.000Z
// // Enum.hpp // Clock Signal // // Created by Thomas Harte on 17/02/2020. // Copyright © 2020 Thomas Harte. All rights reserved. // #ifndef Enum_hpp #define Enum_hpp #include <algorithm> #include <cctype> #include <string> #include <typeindex> #include <typeinfo> #include <vector> #include <unordered_map> name...
32.557471
128
0.702207
laurentd75
09ff20f9c45a46b716a8aa03c7a7b46664c46241
24,475
cpp
C++
src/ie_render_engine.cpp
wtkooa/imagine
105695085b369825b70ff3ca4b0076f8ce15c957
[ "MIT" ]
1
2017-09-21T16:53:27.000Z
2017-09-21T16:53:27.000Z
src/ie_render_engine.cpp
wtkooa/imagine
105695085b369825b70ff3ca4b0076f8ce15c957
[ "MIT" ]
null
null
null
src/ie_render_engine.cpp
wtkooa/imagine
105695085b369825b70ff3ca4b0076f8ce15c957
[ "MIT" ]
null
null
null
//___|"ie_render_engine.cpp"|___________________________________________________ // // Project: Imagine: 3D Environment Engine // Version: 0.1.0 // Author: David Lipps // License: MIT License // // Copyright (c) 2017 David E Lipps //______________________________________________________________________________ #includ...
41.837607
92
0.748478
wtkooa
e24ef7fec451cdd58eef43b8989ef3fdf1413b16
1,953
cpp
C++
_site/Competitive Programming/Codeforces/1141D.cpp
anujkyadav07/anuj-k-yadav.github.io
ac5cccc8cdada000ba559538cd84921437b3c5e6
[ "MIT" ]
1
2019-06-10T04:39:49.000Z
2019-06-10T04:39:49.000Z
_site/Competitive Programming/Codeforces/1141D.cpp
anujkyadav07/anuj-k-yadav.github.io
ac5cccc8cdada000ba559538cd84921437b3c5e6
[ "MIT" ]
2
2021-09-27T23:34:07.000Z
2022-02-26T05:54:27.000Z
_site/Competitive Programming/Codeforces/1141D.cpp
anujkyadav07/anuj-k-yadav.github.io
ac5cccc8cdada000ba559538cd84921437b3c5e6
[ "MIT" ]
3
2019-06-23T14:15:08.000Z
2019-07-09T20:40:58.000Z
#include <bits/stdc++.h> using namespace std; #define mp make_pair #define pb push_back #define ff first #define ss second const long double pi=3.1415926535897932384626433832; const long long mod=1e9+7; //long long primeset[5000000]={}; typedef complex<double> cd; typedef long long ll; //#define For(i,0,n) for(long lo...
15.878049
65
0.5064
anujkyadav07
e2541f4a2aa9f6b5e472d33c870d78529aa5bb84
684
hpp
C++
wxdraw/component/BrushComponent.hpp
yasuikentarow/graed
45db4f4291bdca27c32a3b2938ccd1aa7b40d48a
[ "MIT" ]
null
null
null
wxdraw/component/BrushComponent.hpp
yasuikentarow/graed
45db4f4291bdca27c32a3b2938ccd1aa7b40d48a
[ "MIT" ]
null
null
null
wxdraw/component/BrushComponent.hpp
yasuikentarow/graed
45db4f4291bdca27c32a3b2938ccd1aa7b40d48a
[ "MIT" ]
null
null
null
#pragma once #include "wxdraw/component/Component.hpp" namespace wxdraw::component { /** */ class BrushComponent : public Component<BrushComponent> { using super = Component<BrushComponent>; public: static const char* TYPE; private: BrushPtr brush_; public: BrushComponent(const NodePtr& node); Brus...
20.117647
76
0.75
yasuikentarow
e25580934946e1e730cd06ffeb0baf5e693da6e4
3,879
cpp
C++
example/example_table.cpp
packetzero/vsqlite
5ac54389f1d1dfc91e34adf229eb20b6e6527d26
[ "MIT" ]
null
null
null
example/example_table.cpp
packetzero/vsqlite
5ac54389f1d1dfc91e34adf229eb20b6e6527d26
[ "MIT" ]
null
null
null
example/example_table.cpp
packetzero/vsqlite
5ac54389f1d1dfc91e34adf229eb20b6e6527d26
[ "MIT" ]
null
null
null
#include <vsqlite/vsqlite.h> using namespace vsqlite; static const SPFieldDef FUSERNAME = FieldDef::alloc(TSTRING, "username"); static const SPFieldDef FUSERID = FieldDef::alloc(TUINT32, "userid"); static const SPFieldDef FUID_ALIAS = FieldDef::alloc(TNONE, "uid"); static const SPFieldDef FHOME = FieldDef::alloc(TSTR...
25.188312
97
0.645269
packetzero
e25cc2aee2270079279d606a4cb2df97e1fab744
1,073
cpp
C++
Code/Runtime/Source/Platform/Windows/DLL.cpp
Mu-L/Luna-Engine-0.6
05ae1037f0d173589a535eb6ec2964f20d80e5c1
[ "MIT" ]
167
2020-06-17T06:09:41.000Z
2022-03-13T20:31:26.000Z
Code/Runtime/Source/Platform/Windows/DLL.cpp
Mu-L/Luna-Engine-0.6
05ae1037f0d173589a535eb6ec2964f20d80e5c1
[ "MIT" ]
2
2020-07-11T15:12:50.000Z
2021-06-01T01:45:49.000Z
Code/Runtime/Source/Platform/Windows/DLL.cpp
Mu-L/Luna-Engine-0.6
05ae1037f0d173589a535eb6ec2964f20d80e5c1
[ "MIT" ]
22
2020-06-12T02:26:10.000Z
2022-01-02T14:04:32.000Z
// Copyright 2018-2021 JXMaster. All rights reserved. /* * @file DLL.cpp * @author JXMaster * @date 2020/8/20 */ #include <Runtime/PlatformDefines.hpp> #ifdef LUNA_PLATFORM_WINDOWS #include "MiniWin.hpp" #include <Runtime/Unicode.hpp> #include "../../OS.hpp" #include <Runtime/Result.hpp> namespace Luna { namespace O...
21.46
67
0.673812
Mu-L
e25ebfa007799d6437d558442b4b51049c21340b
4,661
hpp
C++
include/LCD1D_ExtendedJones.hpp
xingularity/OpenLCDFDM
3f07f2d944e00da1ce2495f78a86d636a54fc126
[ "BSD-3-Clause" ]
8
2015-05-28T12:04:17.000Z
2022-03-16T14:22:58.000Z
include/LCD1D_ExtendedJones.hpp
xingularity/OpenLCDFDM
3f07f2d944e00da1ce2495f78a86d636a54fc126
[ "BSD-3-Clause" ]
1
2020-09-13T07:13:08.000Z
2020-09-13T07:13:08.000Z
include/LCD1D_ExtendedJones.hpp
xingularity/OpenLCDFDM
3f07f2d944e00da1ce2495f78a86d636a54fc126
[ "BSD-3-Clause" ]
2
2021-03-08T12:14:48.000Z
2021-03-08T12:14:48.000Z
/* * Copyright (C) 2015 Zong-han, Xie <icbm0926@gmail.com>. * * You may use this file under the terms of the BSD license as follows: * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * Redistributions of sou...
48.051546
170
0.729457
xingularity
e26324e4d34b2e2c20e8ebe5cadb084c7584c0ed
118,994
cc
C++
third_party/ukey2/compiled_proto/proto/securegcm.pb.cc
deling-google/nearby
338faab8c902d1de4a244611d5cd9ca68a91a135
[ "Apache-2.0" ]
69
2021-10-18T00:37:29.000Z
2022-03-20T19:53:38.000Z
third_party/ukey2/compiled_proto/proto/securegcm.pb.cc
deling-google/nearby
338faab8c902d1de4a244611d5cd9ca68a91a135
[ "Apache-2.0" ]
14
2021-10-13T19:49:27.000Z
2022-03-31T22:19:13.000Z
third_party/ukey2/compiled_proto/proto/securegcm.pb.cc
deling-google/nearby
338faab8c902d1de4a244611d5cd9ca68a91a135
[ "Apache-2.0" ]
22
2021-10-20T12:36:47.000Z
2022-03-31T18:39:46.000Z
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: proto/securegcm.proto #include "proto/securegcm.pb.h" #include <algorithm> #include <google/protobuf/io/coded_stream.h> #include <google/protobuf/extension_set.h> #include <google/protobuf/wire_format_lite.h> #include <google/protobuf/io/zero_cop...
39.37591
205
0.717465
deling-google
e264cb3a38e8341b3d9a68fdbf199e7a114bf73f
31,725
cpp
C++
examples_tests/16.OrderIndependentTransparency/main.cpp
deprilula28/Nabla
6b5de216221718191713dcf6de8ed6407182ddf0
[ "Apache-2.0" ]
null
null
null
examples_tests/16.OrderIndependentTransparency/main.cpp
deprilula28/Nabla
6b5de216221718191713dcf6de8ed6407182ddf0
[ "Apache-2.0" ]
null
null
null
examples_tests/16.OrderIndependentTransparency/main.cpp
deprilula28/Nabla
6b5de216221718191713dcf6de8ed6407182ddf0
[ "Apache-2.0" ]
null
null
null
// Copyright (C) 2018-2020 - DevSH Graphics Programming Sp. z O.O. // This file is part of the "Nabla Engine". // For conditions of distribution and use, see copyright notice in nabla.h #define _NBL_STATIC_LIB_ #include <iostream> #include <cstdio> #include <nabla.h> #include "../common/Camera.hpp" #include "../commo...
46.930473
262
0.668905
deprilula28
e266059c3a7ac558c9a2d0d201858cae3956eaea
325
cpp
C++
sandbox/src/sandbox_app.cpp
realjf/kent
c4000bb7a53de54db7575281dc7d6934ca79ce3c
[ "Apache-2.0" ]
null
null
null
sandbox/src/sandbox_app.cpp
realjf/kent
c4000bb7a53de54db7575281dc7d6934ca79ce3c
[ "Apache-2.0" ]
null
null
null
sandbox/src/sandbox_app.cpp
realjf/kent
c4000bb7a53de54db7575281dc7d6934ca79ce3c
[ "Apache-2.0" ]
null
null
null
#include <kent/core/entry_point.h> #include <kent/engine.h> class Sandbox : public Kent::Application { public: Sandbox() : Kent::Application("Sandbox") { std::cout << "Sandbox" << std::endl; } virtual ~Sandbox() = default; }; Kent::Application* Kent::CreateApplication() { return new Sandbox();...
19.117647
46
0.636923
realjf
e2665b805af17b1a664ad0bb17461a90181fac1f
7,490
cpp
C++
ecmascript/builtins/builtins_collator.cpp
openharmony-gitee-mirror/ark_js_runtime
b5ac878349b00b337c45f4702332c23aa82e1e28
[ "Apache-2.0" ]
3
2021-09-08T09:16:18.000Z
2021-12-28T21:14:06.000Z
ecmascript/builtins/builtins_collator.cpp
openharmony-gitee-mirror/ark_js_runtime
b5ac878349b00b337c45f4702332c23aa82e1e28
[ "Apache-2.0" ]
null
null
null
ecmascript/builtins/builtins_collator.cpp
openharmony-gitee-mirror/ark_js_runtime
b5ac878349b00b337c45f4702332c23aa82e1e28
[ "Apache-2.0" ]
1
2021-09-13T11:21:59.000Z
2021-09-13T11:21:59.000Z
/* * Copyright (c) 2021 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
48.954248
117
0.711482
openharmony-gitee-mirror
e269c6655727f6ee8689d2607d8c1447838ccc38
2,255
hpp
C++
para/include/structures.hpp
asmelko/gmhc
f728aea146de8a3accbf051b0c7b2d1333bb6f8c
[ "MIT" ]
2
2021-04-01T08:37:50.000Z
2021-11-03T21:50:31.000Z
para/include/structures.hpp
asmelko/gmhc
f728aea146de8a3accbf051b0c7b2d1333bb6f8c
[ "MIT" ]
null
null
null
para/include/structures.hpp
asmelko/gmhc
f728aea146de8a3accbf051b0c7b2d1333bb6f8c
[ "MIT" ]
1
2021-04-01T08:38:02.000Z
2021-04-01T08:38:02.000Z
#ifndef COMMON_STRUCTURES_CUH #define COMMON_STRUCTURES_CUH #include <cuda_runtime.h> #include "clustering.hpp" // this file contains structures used in kernels or to pass parameters to kernels // structure that holds indices of cluster pair and distance between them struct chunk_t { float min_dist; cluster...
21.893204
81
0.709978
asmelko
e26a50cef4dcdbecfd5366bca667374b37924971
8,637
cpp
C++
src/actions_example/src/fib_server.cpp
IntelligentSystemsLabUTV/ros2_examples
b34d9238d680dd6b06177586f81bfed0bae31eb2
[ "MIT" ]
null
null
null
src/actions_example/src/fib_server.cpp
IntelligentSystemsLabUTV/ros2_examples
b34d9238d680dd6b06177586f81bfed0bae31eb2
[ "MIT" ]
null
null
null
src/actions_example/src/fib_server.cpp
IntelligentSystemsLabUTV/ros2_examples
b34d9238d680dd6b06177586f81bfed0bae31eb2
[ "MIT" ]
null
null
null
/** * Example Fibonacci computation action server source code. * * Roberto Masocco <robmasocco@gmail.com> * * January 10, 2022 */ #include <chrono> #include "../include/actions_example/fib_server.hpp" #ifdef ADVANCED #include "../include/actions_example/adv_qos.hpp" #endif using namespace std::chrono_literals...
29.885813
78
0.69538
IntelligentSystemsLabUTV
e26d30b29888973f66c93f4d342e0dd76e80fa1d
8,337
hpp
C++
contrib/gcc-4.1/libstdc++-v3/include/ext/pb_assoc/detail/resize_policy/hash_load_check_resize_trigger_imp.hpp
masami256/dfly-3.0.2-bhyve
6f6c18db6fa90734135a2044769035eb82b821c1
[ "BSD-3-Clause" ]
3
2017-03-06T14:12:57.000Z
2019-11-23T09:35:10.000Z
contrib/gcc-4.1/libstdc++-v3/include/ext/pb_assoc/detail/resize_policy/hash_load_check_resize_trigger_imp.hpp
masami256/dfly-3.0.2-bhyve
6f6c18db6fa90734135a2044769035eb82b821c1
[ "BSD-3-Clause" ]
null
null
null
contrib/gcc-4.1/libstdc++-v3/include/ext/pb_assoc/detail/resize_policy/hash_load_check_resize_trigger_imp.hpp
masami256/dfly-3.0.2-bhyve
6f6c18db6fa90734135a2044769035eb82b821c1
[ "BSD-3-Clause" ]
null
null
null
// -*- C++ -*- // Copyright (C) 2005 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the // terms of the GNU General Public License as published by the // Free Software Foundation; either version 2, or ...
23.617564
85
0.775099
masami256
e2760f864f04b6496e6a5635ee6838679e2f8caf
956
cpp
C++
BOJ/Uncategorized/P_4673/main.cpp
BeautifulBeer/algorithms
88b845dd1853ef11a839a7acb36999cf25a46fef
[ "MIT" ]
null
null
null
BOJ/Uncategorized/P_4673/main.cpp
BeautifulBeer/algorithms
88b845dd1853ef11a839a7acb36999cf25a46fef
[ "MIT" ]
null
null
null
BOJ/Uncategorized/P_4673/main.cpp
BeautifulBeer/algorithms
88b845dd1853ef11a839a7acb36999cf25a46fef
[ "MIT" ]
null
null
null
#include <iostream> #include <cstdlib> #include <array> int self_number(int number){ int result = number; div_t value; do{ value = div(number, 10); number = value.quot; result += value.rem; }while(number != 0); return result; } int main() { int tmp_idx, tmp_selfnum; s...
21.727273
83
0.552301
BeautifulBeer
e279028b499d8d866b58c52dcde0abd4ff1f6d08
10,848
cpp
C++
R-link/r4aimms/src/r4aimms/src/iAimmsFactory.cpp
aimms/R-Link
42007491f3565429e06d6124a476e3d1080ebee5
[ "DOC", "Unlicense" ]
1
2022-03-07T20:22:47.000Z
2022-03-07T20:22:47.000Z
R-link/r4aimms/src/r4aimms/src/iAimmsFactory.cpp
aimms/R-Link
42007491f3565429e06d6124a476e3d1080ebee5
[ "DOC", "Unlicense" ]
null
null
null
R-link/r4aimms/src/r4aimms/src/iAimmsFactory.cpp
aimms/R-Link
42007491f3565429e06d6124a476e3d1080ebee5
[ "DOC", "Unlicense" ]
2
2017-10-07T01:06:24.000Z
2021-02-25T04:53:46.000Z
/* This file is part of R-Link. R-Link is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. R-Link is distributed in the ho...
27.393939
113
0.657264
aimms
e27d748c143f733e5a48d9efc8c06593a6e3c981
911
cpp
C++
LeetCode/ThousandTwo/1189-max_num_of_balloons.cpp
Ginkgo-Biloba/Cpp-Repo1-VS
231c68a055e6bf69a3f7c224e7c0182b67ce5b67
[ "Apache-2.0" ]
null
null
null
LeetCode/ThousandTwo/1189-max_num_of_balloons.cpp
Ginkgo-Biloba/Cpp-Repo1-VS
231c68a055e6bf69a3f7c224e7c0182b67ce5b67
[ "Apache-2.0" ]
null
null
null
LeetCode/ThousandTwo/1189-max_num_of_balloons.cpp
Ginkgo-Biloba/Cpp-Repo1-VS
231c68a055e6bf69a3f7c224e7c0182b67ce5b67
[ "Apache-2.0" ]
null
null
null
#include "leetcode.hpp" /* 1189. “气球” 的最大数量 给你一个字符串 text,你需要使用 text 中的字母来拼凑尽可能多的单词 "balloon"(气球)。 字符串 text 中的每个字母最多只能被使用一次。请你返回最多可以拼凑出多少个单词 "balloon"。 示例 1: https://assets.leetcode-cn.com/aliyun-lc-upload/uploads/2019/09/14/1536_ex1_upd.jpeg 输入:text = "nlaebolko" 输出:1 示例 2: https://assets.leetcode-cn.com/aliyun-l...
18.591837
84
0.655324
Ginkgo-Biloba
e281a9e8a44cdb8bff2c2fad4e6c870d935bd24d
8,769
cpp
C++
Kernel/test/test_i386_page_table_entry.cpp
foxostro/FlapjackOS
34bd2cc9b0983b917a089efe2055ca8f78d56d9a
[ "BSD-2-Clause" ]
null
null
null
Kernel/test/test_i386_page_table_entry.cpp
foxostro/FlapjackOS
34bd2cc9b0983b917a089efe2055ca8f78d56d9a
[ "BSD-2-Clause" ]
null
null
null
Kernel/test/test_i386_page_table_entry.cpp
foxostro/FlapjackOS
34bd2cc9b0983b917a089efe2055ca8f78d56d9a
[ "BSD-2-Clause" ]
null
null
null
#include "catch.hpp" #include <platform/i386/page_table_entry.hpp> TEST_CASE("test_i386_page_table_entry_is_present_0", "[i386]") { i386::PageTableEntry entry; entry.data = 0; // should set the PRESENT bit to zero REQUIRE(entry.is_present() == false); } TEST_CASE("test_i386_page_table_entry_is_present_1",...
28.470779
75
0.696659
foxostro
e288b80aeb1ef619dba5fa09d51bb8b49d89696b
626
cpp
C++
audio/supercollider/files/patch-server_scsynth_SC__CoreAudio.cpp
tbrodel/freebsd-ports
b085486326d414b1bac211b29f98cf3c48d8b2c5
[ "BSD-2-Clause" ]
null
null
null
audio/supercollider/files/patch-server_scsynth_SC__CoreAudio.cpp
tbrodel/freebsd-ports
b085486326d414b1bac211b29f98cf3c48d8b2c5
[ "BSD-2-Clause" ]
null
null
null
audio/supercollider/files/patch-server_scsynth_SC__CoreAudio.cpp
tbrodel/freebsd-ports
b085486326d414b1bac211b29f98cf3c48d8b2c5
[ "BSD-2-Clause" ]
null
null
null
--- server/scsynth/SC_CoreAudio.cpp.orig 2016-02-16 01:19:22 UTC +++ server/scsynth/SC_CoreAudio.cpp @@ -131,7 +131,7 @@ void initializeScheduler() { syncOSCOffsetWithTimeOfDay(); - thread resyncThread(resyncThreadFunc); + std::thread resyncThread(resyncThreadFunc); resyncThread.detach(); } #endif // SC_AUDIO_...
29.809524
66
0.726837
tbrodel
e288e19bbe7a4b84fc899e2e7d9140113c0e2f0a
358
cc
C++
log.cc
tigerruanyifan/2048
3a439a1a0e2b6d376f9af43d4733ff90b405dae5
[ "Apache-2.0" ]
null
null
null
log.cc
tigerruanyifan/2048
3a439a1a0e2b6d376f9af43d4733ff90b405dae5
[ "Apache-2.0" ]
null
null
null
log.cc
tigerruanyifan/2048
3a439a1a0e2b6d376f9af43d4733ff90b405dae5
[ "Apache-2.0" ]
null
null
null
#include "log.h" using namespace std; Log::Log(Game *g) : g_(g) { g_->AddActionListener(this); fp_.open("log.txt"); } Log::~Log() { fp_.close(); g_->RemoveActionListener(this); } void Log::ActionPerformed(std::string info) { if (info.length() > 0) Println(info); } void Log::Println(const...
17.9
60
0.600559
tigerruanyifan
e28b68098854b65cd58ca7b3c6f40e4ac349a09c
21,852
cpp
C++
python/pyDof6Constraint.cpp
indigames/igeScene
caf6e5c7575ac9fb4d7e887764707d4faa5d168e
[ "MIT" ]
null
null
null
python/pyDof6Constraint.cpp
indigames/igeScene
caf6e5c7575ac9fb4d7e887764707d4faa5d168e
[ "MIT" ]
null
null
null
python/pyDof6Constraint.cpp
indigames/igeScene
caf6e5c7575ac9fb4d7e887764707d4faa5d168e
[ "MIT" ]
null
null
null
#include "python/pyDof6Constraint.h" #include "python/pyDof6Constraint_doc_en.h" #include "components/physic/Dof6SpringConstraint.h" #include "utils/PhysicHelper.h" #include "utils/PyxieHeaders.h" using namespace pyxie; #include <pyVectorMath.h> #include <pythonResource.h> namespace ige::scene { void Dof6Constr...
40.692737
180
0.600815
indigames
e28be966654cd4fce91afbfb8197dd7d88d8c4ba
237
cpp
C++
UAlbertaBot/Source/commands/BWAPICommandExecutor.cpp
kant2002/ualbertabot
b4c75be8bf023f289f2e58e49ad600a9bda38fcd
[ "MIT" ]
2
2017-07-06T18:27:41.000Z
2018-03-14T06:19:43.000Z
UAlbertaBot/Source/commands/BWAPICommandExecutor.cpp
kant2002/ualbertabot
b4c75be8bf023f289f2e58e49ad600a9bda38fcd
[ "MIT" ]
18
2017-10-29T20:37:47.000Z
2019-08-25T16:01:28.000Z
UAlbertaBot/Source/commands/BWAPICommandExecutor.cpp
kant2002/ualbertabot
b4c75be8bf023f289f2e58e49ad600a9bda38fcd
[ "MIT" ]
1
2017-09-13T07:02:23.000Z
2017-09-13T07:02:23.000Z
#include "BWAPICommandExecutor.h" AKBot::BWAPICommandExecutor::BWAPICommandExecutor(BWAPI::Game * game) : _game(game) { } void AKBot::BWAPICommandExecutor::onCommand(const std::string & command) { _game->sendText(command.c_str()); }
19.75
72
0.755274
kant2002
e28d102a8aea96c56719ae2e1f4d3201ff0ec118
3,542
hpp
C++
include/ph_debug/debug.hpp
phiwen96/ph_debug
2801fd37467bc609a5ad19272ca0d9402238822d
[ "Apache-2.0" ]
null
null
null
include/ph_debug/debug.hpp
phiwen96/ph_debug
2801fd37467bc609a5ad19272ca0d9402238822d
[ "Apache-2.0" ]
null
null
null
include/ph_debug/debug.hpp
phiwen96/ph_debug
2801fd37467bc609a5ad19272ca0d9402238822d
[ "Apache-2.0" ]
null
null
null
#pragma once using namespace std; #include <ph_time/time.hpp> #include <ph_color/color.hpp> struct _debug { string function_name; string time_called; __thread_id thread_id; _debug (string&& function_name) : function_name {function_name}, time_called {now ()}, thread_id {this_thread::get_id()} { //...
42.166667
309
0.563241
phiwen96
e28e34a5e2c249db1c8ad2d0b43ea15df28fe8d0
356
cpp
C++
Search/SearchLib/internal/pattern/PackageDeclarationPattern.cpp
kuafuwang/JCDT
2b009ea887b4816303fed9e6e1dc104a90c67d16
[ "MIT" ]
1
2021-04-17T01:55:27.000Z
2021-04-17T01:55:27.000Z
Search/SearchLib/internal/pattern/PackageDeclarationPattern.cpp
kuafuwang/JCDT
2b009ea887b4816303fed9e6e1dc104a90c67d16
[ "MIT" ]
null
null
null
Search/SearchLib/internal/pattern/PackageDeclarationPattern.cpp
kuafuwang/JCDT
2b009ea887b4816303fed9e6e1dc104a90c67d16
[ "MIT" ]
1
2022-02-18T12:02:00.000Z
2022-02-18T12:02:00.000Z
#include "stdafx.h" #include "PackageDeclarationPattern.h" namespace Jikes { // Open namespace Jikes block namespace Search{ PackageDeclarationPattern::PackageDeclarationPattern(std::wstring _pkgName, int _matchMode, bool _isCaseSensitive):SearchPattern(_matchMode, _isCaseSensitive), pkgName(_pkgName) { } } ...
19.777778
178
0.780899
kuafuwang
e28e7297c8c13343a0a40239be45f55c570a89dd
581
cpp
C++
my_work/arrays/array_cars.cpp
korayyalcin1903/c-_work
1a5f6103aa68ae9a16077d972bfeba1a4272789f
[ "MIT" ]
null
null
null
my_work/arrays/array_cars.cpp
korayyalcin1903/c-_work
1a5f6103aa68ae9a16077d972bfeba1a4272789f
[ "MIT" ]
null
null
null
my_work/arrays/array_cars.cpp
korayyalcin1903/c-_work
1a5f6103aa68ae9a16077d972bfeba1a4272789f
[ "MIT" ]
null
null
null
#include <iostream> #include <math.h> using namespace std; int main(int argc, char const *argv[]) { setlocale(LC_ALL,"Turkish"); int sayac=1; string cars[4]; for(int j=0;j<4;j++) { cout << "Araba Markasi Giriniz:"; cin >> cars[j]; } cout << "-----------------...
24.208333
173
0.364888
korayyalcin1903
e28f663d13ccbf816a182d0054455c4c783db6ff
727
cpp
C++
leetcode/contest/weekly/228/1758.Minimum-Changes-To-Make-Alternating-Binary-String.cpp
leohr/competitive-programming
f97488e0cb777c1df78257ce2644ac4ff8191267
[ "MIT" ]
1
2020-10-08T19:28:40.000Z
2020-10-08T19:28:40.000Z
leetcode/contest/weekly/228/1758.Minimum-Changes-To-Make-Alternating-Binary-String.cpp
leohr/competitive-programming
f97488e0cb777c1df78257ce2644ac4ff8191267
[ "MIT" ]
null
null
null
leetcode/contest/weekly/228/1758.Minimum-Changes-To-Make-Alternating-Binary-String.cpp
leohr/competitive-programming
f97488e0cb777c1df78257ce2644ac4ff8191267
[ "MIT" ]
1
2020-10-24T02:32:27.000Z
2020-10-24T02:32:27.000Z
class Solution { public: int minOperations(string s) { string s1 = "", s2 = ""; for (int i = 0; i < s.size(); ++i) { if (i % 2 == 0) { s1 += "1"; } else { s1 += "0"; } } for (int i = 0; i < s.size(); ++i) { ...
24.233333
44
0.250344
leohr
e293705a73f1d95891c5dd227758af66209c3051
15,981
cpp
C++
Tools/STM32FW/STM32Cube_FW_F7_V1.16.2/Projects/STM32F769I_EVAL/Demonstrations/TouchGFX/Gui/generated/images/src/Game2D/collectible_item_05.cpp
ramkumarkoppu/NUCLEO-F767ZI-ESW
85e129d71ee8eccbd0b94b5e07e75b6b91679ee8
[ "MIT" ]
null
null
null
Tools/STM32FW/STM32Cube_FW_F7_V1.16.2/Projects/STM32F769I_EVAL/Demonstrations/TouchGFX/Gui/generated/images/src/Game2D/collectible_item_05.cpp
ramkumarkoppu/NUCLEO-F767ZI-ESW
85e129d71ee8eccbd0b94b5e07e75b6b91679ee8
[ "MIT" ]
null
null
null
Tools/STM32FW/STM32Cube_FW_F7_V1.16.2/Projects/STM32F769I_EVAL/Demonstrations/TouchGFX/Gui/generated/images/src/Game2D/collectible_item_05.cpp
ramkumarkoppu/NUCLEO-F767ZI-ESW
85e129d71ee8eccbd0b94b5e07e75b6b91679ee8
[ "MIT" ]
null
null
null
// Generated by imageconverter. Please, do not edit! #include <touchgfx/hal/Config.hpp> LOCATION_EXTFLASH_PRAGMA KEEP extern const unsigned char _collectible_item_05[] LOCATION_EXTFLASH_ATTRIBUTE = { // 28x28 ARGB8888 pixels. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x...
202.291139
320
0.796446
ramkumarkoppu
e297eeba0e2bf980f88b15bc5d1e7e354fb864d9
2,233
hpp
C++
aviutl/InputPlugin.hpp
ePi5131/aviutl_exedit_sdk
219be3ede890ab5998618d7f11d9e1987d5f9637
[ "BSD-1-Clause" ]
16
2022-03-26T03:16:14.000Z
2022-03-30T08:29:53.000Z
aviutl/InputPlugin.hpp
ePi5131/aviutl_exedit_sdk
219be3ede890ab5998618d7f11d9e1987d5f9637
[ "BSD-1-Clause" ]
null
null
null
aviutl/InputPlugin.hpp
ePi5131/aviutl_exedit_sdk
219be3ede890ab5998618d7f11d9e1987d5f9637
[ "BSD-1-Clause" ]
null
null
null
#pragma once #include <cstdint> #include <Windows.h> #include <aviutl/InputInfo.hpp> #include <aviutl/InputHandle.hpp> namespace AviUtl{ namespace detail { enum class InputPluginFlag : uint32_t { Video = 1 << 0, Audio = 1 << 1, HasConfig = 1 << 8, Bu...
32.362319
93
0.595163
ePi5131
e29a226f17d81adfd2e87873fddb265bce835a2a
5,154
cpp
C++
src/apps/detect_duplicates/src/duplication_task.cpp
boazsade/machine_learinig_models
eb1f9eda0e4e25a6d028b25682dfb20628a20624
[ "MIT" ]
null
null
null
src/apps/detect_duplicates/src/duplication_task.cpp
boazsade/machine_learinig_models
eb1f9eda0e4e25a6d028b25682dfb20628a20624
[ "MIT" ]
null
null
null
src/apps/detect_duplicates/src/duplication_task.cpp
boazsade/machine_learinig_models
eb1f9eda0e4e25a6d028b25682dfb20628a20624
[ "MIT" ]
null
null
null
#include "apps/detect_duplicates/duplication_task.h" #include "apps/detect_duplicates/duplication_action.h" #include "apps/detect_duplicates/command_processing.h" #include "libs/sources_handling/input_data.h" #include "apps/detect_duplicates/exceptions.h" #include "logging.h" #include <boost/filesystem.hpp> #include <f...
31.814815
112
0.672487
boazsade
e29b6a88f5d5cee957da7135f5f95417c9d873ad
644
hpp
C++
include/tuc/functional_detail.hpp
reunanen/tuc
ff062b4779920c089f681694e6fbed6f90ce4eb9
[ "MIT" ]
null
null
null
include/tuc/functional_detail.hpp
reunanen/tuc
ff062b4779920c089f681694e6fbed6f90ce4eb9
[ "MIT" ]
null
null
null
include/tuc/functional_detail.hpp
reunanen/tuc
ff062b4779920c089f681694e6fbed6f90ce4eb9
[ "MIT" ]
null
null
null
#pragma once // To be included only via tuc/functional.hpp namespace tuc { namespace detail { template <typename NotVector> void reserve(NotVector&, size_t) { // By default, do nothing (not std::vector) } template <typename VectorElement> void reserve(std::vector<VectorElem...
30.666667
113
0.608696
reunanen
e29d1200eaa776d954f317d1b42cf1c81fa82274
829
cpp
C++
test/unit/math/rev/fun/as_column_vector_or_scalar_test.cpp
LaudateCorpus1/math
990a66b3cccd27a5fd48626360bb91093a48278b
[ "BSD-3-Clause" ]
null
null
null
test/unit/math/rev/fun/as_column_vector_or_scalar_test.cpp
LaudateCorpus1/math
990a66b3cccd27a5fd48626360bb91093a48278b
[ "BSD-3-Clause" ]
null
null
null
test/unit/math/rev/fun/as_column_vector_or_scalar_test.cpp
LaudateCorpus1/math
990a66b3cccd27a5fd48626360bb91093a48278b
[ "BSD-3-Clause" ]
null
null
null
#include <stan/math/rev.hpp> #include <test/unit/util.hpp> #include <gtest/gtest.h> TEST(MathFunRev, as_column_vector_or_scalar_var_value_vector) { int n = 100; const Eigen::VectorXd a_val = Eigen::VectorXd::Random(n); stan::math::var_value<Eigen::VectorXd> a(a_val); const auto& tmp = stan::math::as_column_ve...
36.043478
66
0.735826
LaudateCorpus1
e2a0458093a02b7b259d3013bca521e494ce2d12
9,535
cxx
C++
main/sax/qa/gtest/test_converter.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
679
2015-01-06T06:34:58.000Z
2022-03-30T01:06:03.000Z
main/sax/qa/gtest/test_converter.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
102
2017-11-07T08:51:31.000Z
2022-03-17T12:13:49.000Z
main/sax/qa/gtest/test_converter.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
331
2015-01-06T11:40:55.000Z
2022-03-14T04:07:51.000Z
/************************************************************** * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to y...
41.099138
78
0.603356
Grosskopf
e2a3b93bfda0eb91184c8e594e7bb10f90dff4f1
572
cpp
C++
cpp/2449.cpp
jinhan814/BOJ
47d2a89a2602144eb08459cabac04d036c758577
[ "MIT" ]
9
2021-01-15T13:36:39.000Z
2022-02-23T03:44:46.000Z
cpp/2449.cpp
jinhan814/BOJ
47d2a89a2602144eb08459cabac04d036c758577
[ "MIT" ]
1
2021-07-31T17:11:26.000Z
2021-08-02T01:01:03.000Z
cpp/2449.cpp
jinhan814/BOJ
47d2a89a2602144eb08459cabac04d036c758577
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> #define fastio cin.tie(0)->sync_with_stdio(0) using namespace std; int n, m, cache[200][200]; vector<int> v; int DFS(int l, int r) { if (r <= l) return 0; int& ret = cache[l][r]; if (ret != -1) return ret; ret = 1e9; for (int i = l; i < r; i++) ret = min(ret, DFS(l, i) + DFS(i + 1, r) + (...
22.88
88
0.520979
jinhan814
e2a7bd72187aa802c3630aab24272555111929fd
4,461
hpp
C++
src/corelib/tle5012b_util.hpp
OlafFilies/magnetic-angle-sensor
87618e9df29ab278e2af5eea7d9120769e197f9f
[ "MIT" ]
39
2019-01-08T23:35:11.000Z
2022-03-13T23:43:04.000Z
src/corelib/tle5012b_util.hpp
OlafFilies/magnetic-angle-sensor
87618e9df29ab278e2af5eea7d9120769e197f9f
[ "MIT" ]
16
2018-11-18T19:19:41.000Z
2022-02-14T14:09:37.000Z
src/corelib/tle5012b_util.hpp
OlafFilies/magnetic-angle-sensor
87618e9df29ab278e2af5eea7d9120769e197f9f
[ "MIT" ]
21
2019-01-18T01:32:47.000Z
2022-02-19T15:51:08.000Z
/*! * \file tle5012b_util.hpp * \name tle5012b_util.hpp - core support header for the TLE5012B angle sensor. * \author Infineon Technologies AG * \copyright 2019-2020 Infineon Technologies AG * \version 3.0.0 * \brief GMR-based angle sensor for angular position sensing in automotive...
45.060606
140
0.649182
OlafFilies
e2a7df2df9f7d08c85bd694c39510ac71ae71894
3,342
cpp
C++
p2/GLRenderer.cpp
medina325/Computer-Graphics-Homework---RayTracer-Renderer-with-BVH
62d95109c7358a1f9c004138a9007d91cba47987
[ "Apache-2.0" ]
null
null
null
p2/GLRenderer.cpp
medina325/Computer-Graphics-Homework---RayTracer-Renderer-with-BVH
62d95109c7358a1f9c004138a9007d91cba47987
[ "Apache-2.0" ]
null
null
null
p2/GLRenderer.cpp
medina325/Computer-Graphics-Homework---RayTracer-Renderer-with-BVH
62d95109c7358a1f9c004138a9007d91cba47987
[ "Apache-2.0" ]
null
null
null
//[]---------------------------------------------------------------[] //| | //| Copyright (C) 2018, 2019 Orthrus Group. | //| | //| This software is provided 'as-is', w...
35.935484
91
0.538001
medina325
e2a85454f073198d84e636299f42591f0c868590
748
cpp
C++
vm/mvm.cpp
alex-ilin/factor
b6f33e03990cb7645201486366d543ae724e8fe1
[ "BSD-2-Clause" ]
930
2016-03-01T08:40:07.000Z
2022-03-29T10:37:39.000Z
vm/mvm.cpp
alex-ilin/factor
b6f33e03990cb7645201486366d543ae724e8fe1
[ "BSD-2-Clause" ]
1,231
2016-02-19T21:52:25.000Z
2022-03-27T23:24:50.000Z
vm/mvm.cpp
alex-ilin/factor
b6f33e03990cb7645201486366d543ae724e8fe1
[ "BSD-2-Clause" ]
118
2016-02-19T21:37:05.000Z
2022-02-21T19:44:02.000Z
#include "master.hpp" namespace factor { std::map<THREADHANDLE, factor_vm*> thread_vms; struct startargs { int argc; vm_char** argv; }; // arg must be new'ed because we're going to delete it! void* start_standalone_factor_thread(void* arg) { factor_vm* newvm = new_factor_vm(); startargs* args = (startargs*)...
23.375
77
0.664439
alex-ilin
e2a98cd9456041a56d6790dc356084581bc1d214
729
cpp
C++
graph/test/bridge.test.cpp
ankit6776/cplib-cpp
b9f8927a6c7301374c470856828aa1f5667d967b
[ "MIT" ]
20
2021-06-21T00:18:54.000Z
2022-03-17T17:45:44.000Z
graph/test/bridge.test.cpp
ankit6776/cplib-cpp
b9f8927a6c7301374c470856828aa1f5667d967b
[ "MIT" ]
56
2021-06-03T14:42:13.000Z
2022-03-26T14:15:30.000Z
graph/test/bridge.test.cpp
ankit6776/cplib-cpp
b9f8927a6c7301374c470856828aa1f5667d967b
[ "MIT" ]
2
2021-08-31T04:47:49.000Z
2021-09-09T06:39:57.000Z
#include "../lowlink.hpp" #include <algorithm> #include <iostream> #include <utility> #include <vector> #define PROBLEM "http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=GRL_3_B" int main() { int V, E; std::cin >> V >> E; UndirectedGraph graph(V); for (int i = 0; i < E; i++) { int s, t;...
27
82
0.556927
ankit6776
e2a9acce290cfdafa9301ade022879c9e594157d
4,397
cpp
C++
services/bluetooth_standard/service/src/pbap_pse/pbap_pse_obex_server.cpp
openharmony-sig-ci/communication_bluetooth
c9d9614e881224abfb423505e25e72163dd25df3
[ "Apache-2.0" ]
null
null
null
services/bluetooth_standard/service/src/pbap_pse/pbap_pse_obex_server.cpp
openharmony-sig-ci/communication_bluetooth
c9d9614e881224abfb423505e25e72163dd25df3
[ "Apache-2.0" ]
null
null
null
services/bluetooth_standard/service/src/pbap_pse/pbap_pse_obex_server.cpp
openharmony-sig-ci/communication_bluetooth
c9d9614e881224abfb423505e25e72163dd25df3
[ "Apache-2.0" ]
1
2021-09-13T11:16:33.000Z
2021-09-13T11:16:33.000Z
/* * Copyright (C) 2021 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
39.972727
123
0.771662
openharmony-sig-ci
e2ac303c1a1ba24949f1ba890fae7b8417ceab4f
246
cpp
C++
Game/Client/WXClient/Network/PacketHandler/CGPlayerShopBuyItemHandler.cpp
hackerlank/SourceCode
b702c9e0a9ca5d86933f3c827abb02a18ffc9a59
[ "MIT" ]
4
2021-07-31T13:56:01.000Z
2021-11-13T02:55:10.000Z
Game/Client/WXClient/Network/PacketHandler/CGPlayerShopBuyItemHandler.cpp
shacojx/SourceCodeGameTLBB
e3cea615b06761c2098a05427a5f41c236b71bf7
[ "MIT" ]
null
null
null
Game/Client/WXClient/Network/PacketHandler/CGPlayerShopBuyItemHandler.cpp
shacojx/SourceCodeGameTLBB
e3cea615b06761c2098a05427a5f41c236b71bf7
[ "MIT" ]
7
2021-08-31T14:34:23.000Z
2022-01-19T08:25:58.000Z
#include "StdAfx.h" #include "CGPlayerShopBuyItem.h" UINT CGPlayerShopBuyItemHandler::Execute( CGPlayerShopBuyItem* pPacket, Player* pPlayer ) { __ENTER_FUNCTION return PACKET_EXE_CONTINUE ; __LEAVE_FUNCTION return PACKET_EXE_ERROR ; }
17.571429
89
0.796748
hackerlank
e2acdcf00114ac060a2cc23af564d1198f49b18d
11,689
cpp
C++
EngineLuke/src/ML_ENGINE/ML_ENGINE/ML/Association/KmeansClustering.cpp
speed0606/team.luke
6354d8237227276316a8f1e4bb10486a9ab968bf
[ "MIT" ]
3
2016-12-03T08:24:51.000Z
2017-02-26T21:28:29.000Z
EngineLuke/src/ML_ENGINE/ML_ENGINE/ML/Association/KmeansClustering.cpp
dk-seo/team.luke
6354d8237227276316a8f1e4bb10486a9ab968bf
[ "MIT" ]
null
null
null
EngineLuke/src/ML_ENGINE/ML_ENGINE/ML/Association/KmeansClustering.cpp
dk-seo/team.luke
6354d8237227276316a8f1e4bb10486a9ab968bf
[ "MIT" ]
2
2017-02-19T23:41:27.000Z
2017-02-26T21:28:31.000Z
/******************************************************************************/ /*! \file KmeansClustering.cpp \project CS399_TeamLuke \author Hanbyul Jeon, Deok-Hwa (DK) Seo Copyright (C) 2016 DigiPen Institute of Technology. Reproduction or disclosure of this file or its contents without the prior written consent o...
26.871264
98
0.598939
speed0606
e2ad1e63ef8826d66c3935972f84cf83ca29653d
3,957
hpp
C++
VirtuWorks/DateTime.hpp
jlandess/LandessDevCore
3319c36c3232415d6bdba7da8b4896c0638badf2
[ "BSD-3-Clause" ]
2
2021-06-09T00:38:46.000Z
2021-09-04T21:55:33.000Z
VirtuWorks/DateTime.hpp
jlandess/LandessDevCore
3319c36c3232415d6bdba7da8b4896c0638badf2
[ "BSD-3-Clause" ]
null
null
null
VirtuWorks/DateTime.hpp
jlandess/LandessDevCore
3319c36c3232415d6bdba7da8b4896c0638badf2
[ "BSD-3-Clause" ]
1
2021-08-30T00:46:12.000Z
2021-08-30T00:46:12.000Z
// // Created by phoenixflower on 11/26/20. // #ifndef LANDESSDEVCORE_VW_DATETIME_HPP #define LANDESSDEVCORE_VW_DATETIME_HPP #include "Chrono/DateTime.h" #include "Primitives/General/StringView.hpp" #include "Primitives/General/ctre.hpp" #include "IO/FetchRequest.h" namespace LD { namespace VW { names...
46.011628
359
0.551933
jlandess
e2b07fad535d2682c742dcb01b63c815359f0a2f
3,500
cpp
C++
decnumber_funcs128.cpp
hypnocode/decnumberxx
75a0626c97e53614d36de0e5a519514bb82cb1d4
[ "ICU" ]
3
2016-04-13T17:14:40.000Z
2021-10-05T00:47:03.000Z
decnumber_funcs128.cpp
hypnocode/decnumberxx
75a0626c97e53614d36de0e5a519514bb82cb1d4
[ "ICU" ]
null
null
null
decnumber_funcs128.cpp
hypnocode/decnumberxx
75a0626c97e53614d36de0e5a519514bb82cb1d4
[ "ICU" ]
null
null
null
/*------------------------------------------------------------------------------ decnumberxx Copyright (c) 2012, Hypnocode GmbH 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 sou...
28.688525
87
0.716571
hypnocode
e2b0894d87d0b1c8ff7e3bc137d4f78ee62eb941
6,460
hpp
C++
include/libgit2++/configuration.hpp
nabijaczleweli/libgit2pp
5aee94e708ad72ff347f7fb085d1a078fc87c861
[ "MIT" ]
1
2016-11-14T10:39:43.000Z
2016-11-14T10:39:43.000Z
include/libgit2++/configuration.hpp
nabijaczleweli/libgit2pp
5aee94e708ad72ff347f7fb085d1a078fc87c861
[ "MIT" ]
null
null
null
include/libgit2++/configuration.hpp
nabijaczleweli/libgit2pp
5aee94e708ad72ff347f7fb085d1a078fc87c861
[ "MIT" ]
null
null
null
// The MIT License (MIT) // Copyright (c) 2016 nabijaczleweli // Permission is hereby granted, free of charge, to any person obtaining a // copy of this software and associated documentation files (the "Software"), // to deal in the Software without restriction, including without limitation // the rights to use, copy...
38.224852
156
0.745975
nabijaczleweli
e2bcce6fbca3eab1127af8bd9af5449d04413d3d
33,298
cpp
C++
test/unit/argument_parser/format_parse_validators_test.cpp
Clemapfel/seqan3
7114024ccaa883364d47f9335d6b19525a1fa7a9
[ "BSD-3-Clause" ]
null
null
null
test/unit/argument_parser/format_parse_validators_test.cpp
Clemapfel/seqan3
7114024ccaa883364d47f9335d6b19525a1fa7a9
[ "BSD-3-Clause" ]
null
null
null
test/unit/argument_parser/format_parse_validators_test.cpp
Clemapfel/seqan3
7114024ccaa883364d47f9335d6b19525a1fa7a9
[ "BSD-3-Clause" ]
null
null
null
// ----------------------------------------------------------------------------------------------------- // Copyright (c) 2006-2019, Knut Reinert & Freie Universität Berlin // Copyright (c) 2016-2019, Knut Reinert & MPI für molekulare Genetik // This file may be used, modified and/or redistributed under the terms of th...
42.635083
120
0.610847
Clemapfel
e2bdd1d34ba3370b78cc3c9b27fcbd2ec664264b
622
cpp
C++
git_C++/SET IV/Tema SET 4/11/main.cpp
sorinmiroiu97/old-CPP-stuff
d6f7b3573c1f81597795cea75c5f76fd95c4395b
[ "MIT" ]
1
2021-11-28T14:36:35.000Z
2021-11-28T14:36:35.000Z
git_C++/SET IV/Tema SET 4/11/main.cpp
sorinmiroiu97/old-CPP-stuff
d6f7b3573c1f81597795cea75c5f76fd95c4395b
[ "MIT" ]
null
null
null
git_C++/SET IV/Tema SET 4/11/main.cpp
sorinmiroiu97/old-CPP-stuff
d6f7b3573c1f81597795cea75c5f76fd95c4395b
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int n,i,x[100],y[100],a=1,b; int main() { cout <<"Introduceti numarul de elemente n="; cin>>n; cout<<"Introduceti elementele vectorului x"<<endl; for(i=1;i<=n;i++) { cout<<"x["<<i<<"]="; cin>>x[i]; } cout<<"Introduceti e...
20.733333
55
0.42283
sorinmiroiu97
e2be94416941b90c21ff8a230e93bb9c726be805
1,696
cpp
C++
src/shogun/kernel/GaussianShortRealKernel.cpp
cloner1984/shogun
901c04b2c6550918acf0594ef8afeb5dcd840a7d
[ "BSD-3-Clause" ]
2
2021-08-12T18:11:06.000Z
2021-11-17T10:56:49.000Z
src/shogun/kernel/GaussianShortRealKernel.cpp
cloner1984/shogun
901c04b2c6550918acf0594ef8afeb5dcd840a7d
[ "BSD-3-Clause" ]
null
null
null
src/shogun/kernel/GaussianShortRealKernel.cpp
cloner1984/shogun
901c04b2c6550918acf0594ef8afeb5dcd840a7d
[ "BSD-3-Clause" ]
1
2020-06-02T09:15:40.000Z
2020-06-02T09:15:40.000Z
/* * This software is distributed under BSD 3-clause license (see LICENSE file). * * Authors: Soeren Sonnenburg, Evan Shelhamer, Sergey Lisitsyn */ #include <shogun/lib/common.h> #include <shogun/kernel/GaussianShortRealKernel.h> #include <shogun/features/Features.h> #include <shogun/io/SGIO.h> using namespace sh...
24.57971
92
0.752948
cloner1984
e2bfcc5c0441dcf1933aac5b9f2172660a4c0278
1,452
cpp
C++
c/pointers/dynamic-memory/mem-alloc.cpp
hengxin/learning-c
8cadae4784875c5b333359f1f20f4d60d12d56b4
[ "MIT" ]
1
2018-10-17T13:04:55.000Z
2018-10-17T13:04:55.000Z
c/pointers/dynamic-memory/mem-alloc.cpp
hengxin/learning-c
8cadae4784875c5b333359f1f20f4d60d12d56b4
[ "MIT" ]
1
2017-11-03T12:09:42.000Z
2017-11-03T12:09:42.000Z
c/pointers/dynamic-memory/mem-alloc.cpp
hengxin/learning-c-cplusplus
8cadae4784875c5b333359f1f20f4d60d12d56b4
[ "MIT" ]
3
2017-10-26T00:56:19.000Z
2017-11-03T12:51:31.000Z
// // Created by hengxin on 17-9-24. // #include <stdio.h> #include <cstdlib> #include <cstring> int main() { int *pi = (int*) malloc(sizeof(int)); *pi = 5; printf("*pi: %d\n", *pi); free(pi); // Failing to allocate memory // char *name; char *name = (char *) malloc(sizeof(char) * 10); ...
26.888889
95
0.592287
hengxin
e2cb0e179d9942ec0888cfced6f69dbc7896cc33
1,149
cpp
C++
hydrogen-runtime/hydrogen/main.cpp
quadnix/hydrogen-cpp
872768ae1a62b12b8a6dca0d8d33305172b9628d
[ "MIT" ]
null
null
null
hydrogen-runtime/hydrogen/main.cpp
quadnix/hydrogen-cpp
872768ae1a62b12b8a6dca0d8d33305172b9628d
[ "MIT" ]
null
null
null
hydrogen-runtime/hydrogen/main.cpp
quadnix/hydrogen-cpp
872768ae1a62b12b8a6dca0d8d33305172b9628d
[ "MIT" ]
null
null
null
// // main.cpp // hydrogen // // Created by Patrick Kage on 4/10/15. // Copyright (c) 2015 Patrick Kage. All rights reserved. // #include <iostream> #include <unistd.h> #include "errors.h" #include "errorstack.h" #include "fextractor.h" #include "directivebundle.h" #include "reference.h" #include "value.h" #inclu...
20.157895
61
0.628372
quadnix
e2cb58df563f204d1cdf6c833d6ea160d91ced7b
236
cpp
C++
BaiTap-Loop/songhicdao/main.cpp
namanhishere/cpp
109988fb91e10c986cd1111cd2c543a056f4e560
[ "MIT" ]
1
2021-09-25T14:40:33.000Z
2021-09-25T14:40:33.000Z
BaiTap-Loop/songhicdao/main.cpp
namanhishere/cpp
109988fb91e10c986cd1111cd2c543a056f4e560
[ "MIT" ]
null
null
null
BaiTap-Loop/songhicdao/main.cpp
namanhishere/cpp
109988fb91e10c986cd1111cd2c543a056f4e560
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int main() { int inp; cin >> inp; int n = inp; int out = 0; while(n / 10 != 0){ out = out*10+n%10; n = n /10; } cout << out*10+n/10; return 0; }
13.111111
26
0.457627
namanhishere
e2cd932023abd07d5da02773b90938c4a897fa44
1,546
cpp
C++
fictional-fiesta/world/src/Phenotype.cpp
deStagiaire/fictional-fiesta
689e374885774b6eb7b8c11b1224204d7893ca07
[ "MIT" ]
null
null
null
fictional-fiesta/world/src/Phenotype.cpp
deStagiaire/fictional-fiesta
689e374885774b6eb7b8c11b1224204d7893ca07
[ "MIT" ]
null
null
null
fictional-fiesta/world/src/Phenotype.cpp
deStagiaire/fictional-fiesta
689e374885774b6eb7b8c11b1224204d7893ca07
[ "MIT" ]
null
null
null
/// @file Phenotype.cpp Implementation of the Phenotype class. #include "fictional-fiesta/world/itf/Phenotype.h" #include "fictional-fiesta/utils/itf/XmlNode.h" #include <sstream> namespace fictionalfiesta { namespace { constexpr char XML_ENERGY_NAME[]{"Energy"}; } // anonymous namespace Phenotype::Phenotype(do...
19.08642
96
0.725744
deStagiaire
e2ce37baf40e88509fc348ad8717f9866fbddeb4
416
cpp
C++
C++/maximum-distance-between-a-pair-of-values.cpp
Priyansh2/LeetCode-Solutions
d613da1881ec2416ccbe15f20b8000e36ddf1291
[ "MIT" ]
3,269
2018-10-12T01:29:40.000Z
2022-03-31T17:58:41.000Z
C++/maximum-distance-between-a-pair-of-values.cpp
Priyansh2/LeetCode-Solutions
d613da1881ec2416ccbe15f20b8000e36ddf1291
[ "MIT" ]
53
2018-12-16T22:54:20.000Z
2022-02-25T08:31:20.000Z
C++/maximum-distance-between-a-pair-of-values.cpp
Priyansh2/LeetCode-Solutions
d613da1881ec2416ccbe15f20b8000e36ddf1291
[ "MIT" ]
1,236
2018-10-12T02:51:40.000Z
2022-03-30T13:30:37.000Z
// Time: O(n + m) // Space: O(1) class Solution { public: int maxDistance(vector<int>& nums1, vector<int>& nums2) { int result = 0, i = 0, j = 0; while (i < size(nums1) && j < size(nums2)) { if (nums1[i] > nums2[j]) { ++i; } else { result = m...
21.894737
61
0.391827
Priyansh2