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
f87a7cc0e3b31dc80900071d5c83dddc50a2cc3b
419
cpp
C++
src/style/Function.cpp
logaritmdev/dezel-core-ui
e243ba99b790ca300be2ef3152da1596e4e34164
[ "MIT" ]
null
null
null
src/style/Function.cpp
logaritmdev/dezel-core-ui
e243ba99b790ca300be2ef3152da1596e4e34164
[ "MIT" ]
null
null
null
src/style/Function.cpp
logaritmdev/dezel-core-ui
e243ba99b790ca300be2ef3152da1596e4e34164
[ "MIT" ]
1
2020-02-13T01:55:34.000Z
2020-02-13T01:55:34.000Z
#include "Function.h" #include "InvalidInvocationException.h" #include <string> namespace Dezel { namespace Style { using std::to_string; Function::Function(string name, Callback callback) : name(name), callback(callback) { } //------------------------------------------------------------------------------ // MARK...
19.045455
83
0.446301
logaritmdev
f87e89d1064fba1d2721358c40ba63553b595437
2,229
cpp
C++
src/core/logic.cpp
JackWolfard/cash
a646c0b94d075fa424a93904b7499a0dee90ac89
[ "BSD-3-Clause" ]
14
2018-08-08T19:02:21.000Z
2022-01-07T14:42:43.000Z
src/core/logic.cpp
JackWolfard/cash
a646c0b94d075fa424a93904b7499a0dee90ac89
[ "BSD-3-Clause" ]
null
null
null
src/core/logic.cpp
JackWolfard/cash
a646c0b94d075fa424a93904b7499a0dee90ac89
[ "BSD-3-Clause" ]
3
2020-04-20T20:58:34.000Z
2021-11-23T14:50:14.000Z
#include "logic.h" #include "proxyimpl.h" #include "context.h" using namespace ch::internal; logic_buffer::logic_buffer(uint32_t size, const std::string& name, const source_location& sloc) : lnode(ctx_curr()->create_node<proxyimpl>(size, name, sloc)) {} logi...
33.268657
104
0.577389
JackWolfard
f87e8b380cf1a015a1f191be94654d611ac51251
38,559
cpp
C++
planning/scenario_planning/lane_driving/motion_planning/obstacle_avoidance_planner/src/node.cpp
kmiya/AutowareArchitectureProposal.iv
386b52c9cc90f4535ad833014f2f9500f0e64ccf
[ "Apache-2.0" ]
null
null
null
planning/scenario_planning/lane_driving/motion_planning/obstacle_avoidance_planner/src/node.cpp
kmiya/AutowareArchitectureProposal.iv
386b52c9cc90f4535ad833014f2f9500f0e64ccf
[ "Apache-2.0" ]
null
null
null
planning/scenario_planning/lane_driving/motion_planning/obstacle_avoidance_planner/src/node.cpp
kmiya/AutowareArchitectureProposal.iv
386b52c9cc90f4535ad833014f2f9500f0e64ccf
[ "Apache-2.0" ]
1
2021-07-20T09:38:30.000Z
2021-07-20T09:38:30.000Z
// Copyright 2020 Tier IV, Inc. // // 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 or agreed to i...
46.400722
100
0.784331
kmiya
f880d67f623805842572bafe87231793003b5c06
3,447
hh
C++
elements/aqm/pi2.hh
nokia/ClickNF
2cae2976e0be99144520ba44ddf9622d482ba1c5
[ "MIT" ]
32
2017-11-02T12:33:21.000Z
2022-02-07T22:25:58.000Z
elements/aqm/pi2.hh
frankfanslc/ClickNF
996b2f6e16b23b38a55e1fbcc23046ef240b022c
[ "MIT" ]
2
2019-02-18T08:47:16.000Z
2019-05-24T14:41:23.000Z
elements/aqm/pi2.hh
frankfanslc/ClickNF
996b2f6e16b23b38a55e1fbcc23046ef240b022c
[ "MIT" ]
10
2018-06-13T11:54:53.000Z
2020-09-08T06:52:43.000Z
/* * pi2.{cc,hh} -- element implements pi square aqm dequeueing mechanism * Myriana Rifai * * Copyright (c) 2019 Nokia Bell Labs * * 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 cod...
36.670213
148
0.724978
nokia
f8822550f5901f53f9eb9876a9280c9d7212e951
1,046
hpp
C++
src/cpp/ee/ads/NullBannerAd.hpp
enrevol/ee-x
60a66ad3dc6e14802a7c5d8d585a8499be13f5b8
[ "MIT" ]
null
null
null
src/cpp/ee/ads/NullBannerAd.hpp
enrevol/ee-x
60a66ad3dc6e14802a7c5d8d585a8499be13f5b8
[ "MIT" ]
null
null
null
src/cpp/ee/ads/NullBannerAd.hpp
enrevol/ee-x
60a66ad3dc6e14802a7c5d8d585a8499be13f5b8
[ "MIT" ]
null
null
null
// // NullAdView.hpp // ee_x // // Created by Zinge on 10/27/17. // // #ifndef EE_X_NULL_BANNER_AD_HPP #define EE_X_NULL_BANNER_AD_HPP #ifdef __cplusplus #include "ee/ads/NullAd.hpp" #include "ee/ads/IBannerAd.hpp" namespace ee { namespace ads { class NullBannerAd : public IBannerAd, public NullAd { public: ...
20.92
65
0.707457
enrevol
f884d749e21228f6525c5b7453a9cb3e4eedd7df
16,862
cpp
C++
src/xci/graphics/Primitives.cpp
rbrich/xcik
4eab7d1dfc8b0bc269137e28af076be943c15041
[ "Apache-2.0" ]
11
2019-08-21T12:48:45.000Z
2022-01-21T01:49:01.000Z
src/xci/graphics/Primitives.cpp
rbrich/xcik
4eab7d1dfc8b0bc269137e28af076be943c15041
[ "Apache-2.0" ]
3
2019-10-20T19:10:41.000Z
2021-02-11T10:32:40.000Z
src/xci/graphics/Primitives.cpp
rbrich/xcik
4eab7d1dfc8b0bc269137e28af076be943c15041
[ "Apache-2.0" ]
1
2020-10-09T20:08:17.000Z
2020-10-09T20:08:17.000Z
// Primitives.cpp created on 2018-08-03 as part of xcikit project // https://github.com/rbrich/xcikit // // Copyright 2018–2021 Radek Brich // Licensed under the Apache License, Version 2.0 (see LICENSE file) #include "Primitives.h" #include "Renderer.h" #include "Window.h" #include "View.h" #include "Texture.h" #incl...
30.327338
122
0.659115
rbrich
f888b9b913bea0295d270b2f4bb06291fd8d0310
252
cpp
C++
src/fatal.cpp
franko/elementary-plotlib
d11b56a13893781d84a8e93183f01b13140dd4e3
[ "MIT" ]
14
2020-04-03T02:14:08.000Z
2021-07-16T21:05:56.000Z
src/fatal.cpp
franko/elementary-plotlib
d11b56a13893781d84a8e93183f01b13140dd4e3
[ "MIT" ]
2
2020-04-22T15:40:42.000Z
2020-04-28T21:17:23.000Z
src/fatal.cpp
franko/libcanvas
d11b56a13893781d84a8e93183f01b13140dd4e3
[ "MIT" ]
1
2020-04-30T07:49:02.000Z
2020-04-30T07:49:02.000Z
#include <stdio.h> #include <stdlib.h> #include <stdarg.h> #include "fatal.h" void fatal_exception(const char* msg, ...) { va_list ap; va_start(ap, msg); vfprintf(stderr, msg, ap); fputs("\n", stderr); va_end(ap); abort(); }
14
37
0.599206
franko
f88a00d3eec19507b915f09fa3f1c1554e0e594c
636
cpp
C++
source/ImageSymLoader.cpp
xzrunner/s2loader
6317bbec560db93f866bda78373ef58aed504ca3
[ "MIT" ]
null
null
null
source/ImageSymLoader.cpp
xzrunner/s2loader
6317bbec560db93f866bda78373ef58aed504ca3
[ "MIT" ]
null
null
null
source/ImageSymLoader.cpp
xzrunner/s2loader
6317bbec560db93f866bda78373ef58aed504ca3
[ "MIT" ]
null
null
null
#include "s2loader/ImageSymLoader.h" #include <gum/Image.h> #include <gum/ImageSymbol.h> #include <gum/ImagePool.h> #include <simp/NodeID.h> namespace s2loader { ImageSymLoader::ImageSymLoader(gum::ImageSymbol& sym) : m_sym(sym) { } void ImageSymLoader::Load(const bimp::FilePath& res_path, float scale, bool async...
20.516129
82
0.687107
xzrunner
f88b48791b1989df091bd1f5243a99ff90fcd269
14,690
cpp
C++
test/unit/module/bessel/cyl_bessel_in.cpp
the-moisrex/eve
80b52663eefee11460abb0aedf4158a5067cf7dc
[ "MIT" ]
340
2020-09-16T21:12:48.000Z
2022-03-28T15:40:33.000Z
test/unit/module/bessel/cyl_bessel_in.cpp
the-moisrex/eve
80b52663eefee11460abb0aedf4158a5067cf7dc
[ "MIT" ]
383
2020-09-17T06:56:35.000Z
2022-03-13T15:58:53.000Z
test/unit/module/bessel/cyl_bessel_in.cpp
the-moisrex/eve
80b52663eefee11460abb0aedf4158a5067cf7dc
[ "MIT" ]
28
2021-02-27T23:11:23.000Z
2022-03-25T12:31:29.000Z
//================================================================================================== /** EVE - Expressive Vector Engine Copyright : EVE Contributors & Maintainers SPDX-License-Identifier: MIT **/ //================================================================================================== #...
55.855513
120
0.608169
the-moisrex
f88c0c8d4ea436210f169a7c6b725e1c5e84713a
5,251
cc
C++
open_spiel/examples/fsicfr_liars_dice.cc
ajain-23/open_spiel
a6a0f0129571bb6f0e6832e870e299663fb7cdd5
[ "Apache-2.0" ]
3,167
2019-08-27T06:50:30.000Z
2022-03-31T22:33:48.000Z
open_spiel/examples/fsicfr_liars_dice.cc
AliBeikmohammadi/open_spiel
38941dee3beb52ffdb134b66f420a758634d9a20
[ "Apache-2.0" ]
650
2019-08-27T16:24:09.000Z
2022-03-30T19:41:09.000Z
open_spiel/examples/fsicfr_liars_dice.cc
AliBeikmohammadi/open_spiel
38941dee3beb52ffdb134b66f420a758634d9a20
[ "Apache-2.0" ]
774
2019-08-27T10:36:04.000Z
2022-03-29T15:44:42.000Z
// Copyright 2019 DeepMind Technologies Ltd. All rights reserved. // // 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 require...
40.083969
80
0.697772
ajain-23
f88c2a22990818344fa1d81a415acb3b7c0a2ad5
7,184
cxx
C++
RhoNNO/TRadon.cxx
marcelkunze/rhonno
b9a06557c5e059ab25ad9077a13dbaeb449ed85e
[ "MIT" ]
2
2019-07-12T12:16:22.000Z
2020-09-19T14:51:47.000Z
RhoNNO/TRadon.cxx
marcelkunze/rhonno
b9a06557c5e059ab25ad9077a13dbaeb449ed85e
[ "MIT" ]
null
null
null
RhoNNO/TRadon.cxx
marcelkunze/rhonno
b9a06557c5e059ab25ad9077a13dbaeb449ed85e
[ "MIT" ]
2
2017-09-27T13:12:39.000Z
2019-07-12T12:14:43.000Z
// radon_function // various functions for performing the fuzzy Radon transform // M.Kunze, Heidelberg University, 2018 #include <stdlib.h> #include <math.h> #include "TNtuple.h" #include "TVector3.h" #include "TH2D.h" #include "TPolyMarker3D.h" #include "TPolyLine3D.h" #include "TRadon.h" #include <string> #include...
30.184874
136
0.518235
marcelkunze
f88c8d94c3c043e07996124658bbc58ffe03bdc5
10,013
cpp
C++
waifu2x-converter-gls/src/convertRoutine.cpp
ymdymd/glsCV
fa89193d653767f11e01ec1bd13e2f3461a5b1b3
[ "BSD-3-Clause" ]
null
null
null
waifu2x-converter-gls/src/convertRoutine.cpp
ymdymd/glsCV
fa89193d653767f11e01ec1bd13e2f3461a5b1b3
[ "BSD-3-Clause" ]
31
2016-05-09T01:31:21.000Z
2016-08-11T11:34:39.000Z
waifu2x-converter-gls/src/convertRoutine.cpp
oasi-adamay/glsCV
fa89193d653767f11e01ec1bd13e2f3461a5b1b3
[ "BSD-3-Clause" ]
null
null
null
/* Copyright (c) 2016, oasi-adamay All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following dis...
30.159639
83
0.679317
ymdymd
f88d763dfa7f260361ec544c0ddc67dd1f8933f9
1,382
cc
C++
plugins/coreaudio/CoreAudioRenderer.cc
jjzhang166/mous
54a219712970bd6fabbac85102e1615babb69c41
[ "BSD-2-Clause" ]
1
2018-04-04T05:48:37.000Z
2018-04-04T05:48:37.000Z
plugins/coreaudio/CoreAudioRenderer.cc
aliakbarRashidi/mous
54a219712970bd6fabbac85102e1615babb69c41
[ "BSD-2-Clause" ]
null
null
null
plugins/coreaudio/CoreAudioRenderer.cc
aliakbarRashidi/mous
54a219712970bd6fabbac85102e1615babb69c41
[ "BSD-2-Clause" ]
null
null
null
#include "CoreAudioRenderer.h" #include <iostream> using namespace std; #include <unistd.h> extern "C" { #include "cmus/op.h" #include "cmus/mixer.h" } const char* program_name = "CoreAudioRenderer"; CoreAudioRenderer::CoreAudioRenderer() { op_pcm_ops.init(); op_mixer_ops.init(); } CoreAudioRenderer::~Core...
19.194444
115
0.69754
jjzhang166
f89358a42dc7aa82998f13cf7e020491653d8e00
1,637
cc
C++
src/block_diagonal_check.cc
jwlawson/ptope
2c664ac4fb7b036a298e7c6a1b2cf58d803f227a
[ "Apache-2.0" ]
1
2019-02-22T03:03:13.000Z
2019-02-22T03:03:13.000Z
src/block_diagonal_check.cc
jwlawson/ptope
2c664ac4fb7b036a298e7c6a1b2cf58d803f227a
[ "Apache-2.0" ]
9
2016-08-31T16:34:59.000Z
2016-09-12T16:29:55.000Z
src/block_diagonal_check.cc
jwlawson/ptope
2c664ac4fb7b036a298e7c6a1b2cf58d803f227a
[ "Apache-2.0" ]
null
null
null
/* * block_diagonal_check.h * Copyright 2015 John Lawson * * 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 ap...
29.763636
75
0.682957
jwlawson
f89af632110139cc11d949f4276ca6bd7ee4e284
808
cpp
C++
BashuOJ-Code/2906.cpp
magicgh/algorithm-contest-code
c21a90b11f73535c61e6363a4305b74cff24a85b
[ "MIT" ]
null
null
null
BashuOJ-Code/2906.cpp
magicgh/algorithm-contest-code
c21a90b11f73535c61e6363a4305b74cff24a85b
[ "MIT" ]
null
null
null
BashuOJ-Code/2906.cpp
magicgh/algorithm-contest-code
c21a90b11f73535c61e6363a4305b74cff24a85b
[ "MIT" ]
null
null
null
#include<iostream> #include<cstdio> #include<cstring> #include<cmath> #include<iomanip> #include<algorithm> #include<queue> #include<stack> #include<vector> #define ri register int using namespace std; int n,cnt,a0,a1,b0,b1,base,x; inline int getint() { int num=0,bj=1; char c=getchar(); while(c<'0'||c>'9')bj=(c=='-'...
19.707317
59
0.585396
magicgh
f89e012b47b9ec1b002c3a547a9015bbd31b2700
6,517
cpp
C++
SPHINXsys/src/shared/particle_dynamics/base_particle_dynamics.cpp
SoftwareImpacts/SIMPAC-2020-34
eb2d69e61548eaa11b5a9c20e312d135c5d857f5
[ "Apache-2.0" ]
2
2020-09-24T07:39:22.000Z
2021-04-24T22:12:49.000Z
SPHINXsys/src/shared/particle_dynamics/base_particle_dynamics.cpp
SoftwareImpacts/SIMPAC-2020-34
eb2d69e61548eaa11b5a9c20e312d135c5d857f5
[ "Apache-2.0" ]
null
null
null
SPHINXsys/src/shared/particle_dynamics/base_particle_dynamics.cpp
SoftwareImpacts/SIMPAC-2020-34
eb2d69e61548eaa11b5a9c20e312d135c5d857f5
[ "Apache-2.0" ]
null
null
null
/** * @file base_particle_dynamics.cpp * @author Luhui Han, Chi ZHang and Xiangyu Hu * @version 0.1 */ #include "base_particle_dynamics.h" #include "base_particle_dynamics.hpp" //=============================================================================================// namespace SPH { Real GlobalStaticVariab...
36.407821
102
0.540126
SoftwareImpacts
f89f10e98f3397294caa6ae1ab1a6e559ac1ed94
1,184
cpp
C++
c++/reverse_string_ii.cpp
SongZhao/leetcode
4a2b4f554e91f6a2167b336f8a69b80fa9f3f920
[ "Apache-2.0" ]
null
null
null
c++/reverse_string_ii.cpp
SongZhao/leetcode
4a2b4f554e91f6a2167b336f8a69b80fa9f3f920
[ "Apache-2.0" ]
null
null
null
c++/reverse_string_ii.cpp
SongZhao/leetcode
4a2b4f554e91f6a2167b336f8a69b80fa9f3f920
[ "Apache-2.0" ]
null
null
null
/* Given a string and an integer k, you need to reverse the first k characters for every 2k characters counting from the start of the string. If there are less than k characters left, reverse all of them. If there are less than 2k but greater than or equal to k characters, then reverse the first k characters and left t...
31.157895
338
0.628378
SongZhao
f8a4350b740a31d57bb5677d091a93b605ce57be
1,334
cpp
C++
Source Code V2/TssInSphere/ApplyCurls.cpp
DavidGeUSA/TSS
e364e324948c68efc6362a0db3aa51696227fa60
[ "MIT" ]
11
2020-09-27T07:35:22.000Z
2022-03-09T11:01:31.000Z
Source Code V2/TssInSphere/ApplyCurls.cpp
DavidGeUSA/TSS
e364e324948c68efc6362a0db3aa51696227fa60
[ "MIT" ]
1
2020-10-28T13:14:58.000Z
2020-10-28T21:04:44.000Z
Source Code V2/TssInSphere/ApplyCurls.cpp
DavidGeUSA/TSS
e364e324948c68efc6362a0db3aa51696227fa60
[ "MIT" ]
7
2020-09-27T07:35:24.000Z
2022-01-02T13:53:21.000Z
/******************************************************************* Author: David Ge (dge893@gmail.com, aka Wei Ge) Last modified: 03/31/2018 Allrights reserved by David Ge ********************************************************************/ #include "ApplyCurls.h" ApplyCurls::ApplyCurls() { } void ...
30.318182
104
0.578711
DavidGeUSA
f8a48e3639f865d2ed01568a400eda4871c15f9e
1,157
cpp
C++
Solutions/FLOW015.cpp
nikramakrishnan/codechef-solutions
f7ab2199660275e972a387541ecfc24fd358e03e
[ "MIT" ]
1
2022-03-26T09:38:02.000Z
2022-03-26T09:38:02.000Z
Solutions/FLOW015.cpp
nikramakrishnan/codechef-solutions
f7ab2199660275e972a387541ecfc24fd358e03e
[ "MIT" ]
null
null
null
Solutions/FLOW015.cpp
nikramakrishnan/codechef-solutions
f7ab2199660275e972a387541ecfc24fd358e03e
[ "MIT" ]
null
null
null
/*Important notes. Read this before you read/copy my code. HINT: To determine whether a year is a leap year, follow these steps: 1.If the year is evenly divisible by 4, go to step 2. Otherwise, go to step 5. 2.If the year is evenly divisible by 100, go to step 3. Otherwise, go to step 4. 3.If the year is e...
28.219512
84
0.592048
nikramakrishnan
f8a53d0a87cd66006e38d180d29989125d21774c
1,313
cpp
C++
examples/login.cpp
Sherlock92/greentop
aa278d08babe02326b3ab85a6eafb858d780dec5
[ "MIT" ]
5
2019-06-30T06:29:46.000Z
2021-12-17T12:41:23.000Z
examples/login.cpp
Sherlock92/greentop
aa278d08babe02326b3ab85a6eafb858d780dec5
[ "MIT" ]
2
2018-01-09T17:14:45.000Z
2020-03-23T00:16:50.000Z
examples/login.cpp
Sherlock92/greentop
aa278d08babe02326b3ab85a6eafb858d780dec5
[ "MIT" ]
7
2015-09-13T18:40:58.000Z
2020-01-24T10:57:56.000Z
#include <iostream> #include "greentop/ExchangeApi.h" using namespace greentop; int main(int argc, char* argv[]) { if (argc != 3 && argc != 4 && argc != 5) { std::cerr << "Usage: " << std::endl << argv[0] << " <application key> <username> <password>" << std::endl << " OR" << std::endl ...
32.02439
120
0.5377
Sherlock92
f8a57148fd7b220ab8f4df85c3196b2b642a64cf
212
hpp
C++
firmware/robot2015/src-ctrl/modules/task-signals.hpp
JNeiger/robocup-firmware
c1bfd4ba24070eaa4e012fdc88aa468aafcc2e4e
[ "Apache-2.0" ]
1
2018-09-25T20:28:58.000Z
2018-09-25T20:28:58.000Z
firmware/robot2015/src-ctrl/modules/task-signals.hpp
JNeiger/robocup-firmware
c1bfd4ba24070eaa4e012fdc88aa468aafcc2e4e
[ "Apache-2.0" ]
null
null
null
firmware/robot2015/src-ctrl/modules/task-signals.hpp
JNeiger/robocup-firmware
c1bfd4ba24070eaa4e012fdc88aa468aafcc2e4e
[ "Apache-2.0" ]
null
null
null
#pragma once // This is where the signals for different threads are defined for use across // mutliple files static const uint32_t MAIN_TASK_CONTINUE = 1 << 0; static const uint32_t SUB_TASK_CONTINUE = 1 << 1;
26.5
77
0.764151
JNeiger
f8a9cc3c7346fb0ae73958b08b220a47aa3a6f56
14,522
cpp
C++
ccxx/cxefile.cpp
oudream/ccxx
7746ef93b48bf44157048a43c4878152fe6a4d2b
[ "MIT" ]
39
2015-12-09T09:28:46.000Z
2021-11-16T12:57:25.000Z
ccxx/cxefile.cpp
oudream/ccxx
7746ef93b48bf44157048a43c4878152fe6a4d2b
[ "MIT" ]
1
2020-10-17T02:23:42.000Z
2020-10-17T02:23:42.000Z
ccxx/cxefile.cpp
oudream/ccxx
7746ef93b48bf44157048a43c4878152fe6a4d2b
[ "MIT" ]
8
2018-05-29T12:48:13.000Z
2022-02-27T01:45:57.000Z
#include "cxefile.h" using namespace std; const char cc_flag_line = '\n'; const char cc_flag_tab = '\t'; const char cc_flag_space = ' '; static map<string, string> f_eFileDeclare; static vector<EFileElement> f_eFileEle; static string f_eFC; static map<string,vector<string> > f_mapTableToFiledName; EFileElement::EF...
24.530405
181
0.560322
oudream
f8aa775ec18740017816675bff738f4218557e71
27,050
cc
C++
src/cpp/learn/utils_test.cc
SanggunLee/edgetpu
d3cf166783265f475c1ddba5883e150ee84f7bfe
[ "Apache-2.0" ]
320
2019-09-19T07:10:48.000Z
2022-03-12T01:48:56.000Z
src/cpp/learn/utils_test.cc
Machine-Learning-Practice/edgetpu
6d699665efdc5d84944b5233223c55fe5d3bd1a6
[ "Apache-2.0" ]
563
2019-09-27T06:40:40.000Z
2022-03-31T23:12:15.000Z
src/cpp/learn/utils_test.cc
Machine-Learning-Practice/edgetpu
6d699665efdc5d84944b5233223c55fe5d3bd1a6
[ "Apache-2.0" ]
119
2019-09-25T02:51:10.000Z
2022-03-03T08:11:12.000Z
#include "src/cpp/learn/utils.h" #include <cmath> #include "absl/flags/parse.h" #include "absl/memory/memory.h" #include "absl/strings/substitute.h" #include "flatbuffers/flexbuffers.h" #include "glog/logging.h" #include "gtest/gtest.h" #include "src/cpp/basic/basic_engine.h" #include "src/cpp/error_reporter.h" #incl...
42.265625
80
0.647763
SanggunLee
f8ab1ef69e0673149c22f655a1e406346603a62a
1,936
ipp
C++
include/dracosha/validator/detail/member_helper.ipp
evgeniums/cpp-validator
e4feccdce19c249369ddb631571b60613926febd
[ "BSL-1.0" ]
27
2020-09-18T13:45:33.000Z
2022-03-16T21:14:37.000Z
include/dracosha/validator/detail/member_helper.ipp
evgeniums/cpp-validator
e4feccdce19c249369ddb631571b60613926febd
[ "BSL-1.0" ]
7
2020-08-07T21:48:14.000Z
2021-01-14T12:25:37.000Z
include/dracosha/validator/detail/member_helper.ipp
evgeniums/cpp-validator
e4feccdce19c249369ddb631571b60613926febd
[ "BSL-1.0" ]
1
2021-03-30T09:17:58.000Z
2021-03-30T09:17:58.000Z
/** @copyright Evgeny Sidorov 2020 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ /****************************************************************************/ /** @file validator/detail/member_helper.ipp * * Defines hel...
25.473684
139
0.627066
evgeniums
f8abf6fa7f6156c5588988b2f3e8d6d0c56b2cfa
259
hpp
C++
Classes/Fish.hpp
1994/AvoidTuitle
6d9a37e2bf799efb299ae415afd2b22f6f9280be
[ "MIT" ]
null
null
null
Classes/Fish.hpp
1994/AvoidTuitle
6d9a37e2bf799efb299ae415afd2b22f6f9280be
[ "MIT" ]
null
null
null
Classes/Fish.hpp
1994/AvoidTuitle
6d9a37e2bf799efb299ae415afd2b22f6f9280be
[ "MIT" ]
null
null
null
// // Fish.hpp // seven // // Created by rimi on 15/6/12. // // #ifndef Fish_cpp #define Fish_cpp #include <stdio.h> #include "cocos2d.h" USING_NS_CC; class Fish:public Sprite { public: static Sprite * createFish(int type); }; #endif /* Fish_cpp */
12.333333
41
0.648649
1994
f8ac710dbc05ff317d36287456057ad5add0a544
448
cpp
C++
codeforces/edu94/str_sim.cpp
udayan14/Competitive_Coding
79e23fdeb909b4161a193d88697a4fe5f4fbbdce
[ "MIT" ]
null
null
null
codeforces/edu94/str_sim.cpp
udayan14/Competitive_Coding
79e23fdeb909b4161a193d88697a4fe5f4fbbdce
[ "MIT" ]
null
null
null
codeforces/edu94/str_sim.cpp
udayan14/Competitive_Coding
79e23fdeb909b4161a193d88697a4fe5f4fbbdce
[ "MIT" ]
null
null
null
//#define _GLIBCXX_DEBUG #include <iostream> #include <cassert> #include <cstring> #include <vector> #include <algorithm> #include <string> using namespace std; int main(){ ios_base::sync_with_stdio(false); cin.tie(NULL); int t; cin >> t; while(t--){ int n; cin >> n; string...
16
37
0.513393
udayan14
f8acf57b80159041d0f4a9587836e99a603f06a5
4,567
cpp
C++
Client/AudioInterface.cpp
DylanWalseth/RTSLab8
d08049ef3bc876dfc16774f6f5d0e840e075be81
[ "MIT" ]
null
null
null
Client/AudioInterface.cpp
DylanWalseth/RTSLab8
d08049ef3bc876dfc16774f6f5d0e840e075be81
[ "MIT" ]
null
null
null
Client/AudioInterface.cpp
DylanWalseth/RTSLab8
d08049ef3bc876dfc16774f6f5d0e840e075be81
[ "MIT" ]
null
null
null
/* * AudioInterface.cpp * * Created on: Apr 18, 2015 * Author: Walter Schilling * This is the implementation of the audio Interface. It will manage the system. */ #include "AudioInterface.h" /** * This is the constructor for the class. It will instantiate a new instance of the class. * @param dev...
33.580882
206
0.722794
DylanWalseth
f8af877885d6c04d94b7f300a55536bbf663bb09
1,446
cpp
C++
HAPI_Start/TileMap.cpp
DamienHenderson/GEC-Engine
8d1e89c3dc35adaf65e84de2594c715c600e4681
[ "MIT" ]
null
null
null
HAPI_Start/TileMap.cpp
DamienHenderson/GEC-Engine
8d1e89c3dc35adaf65e84de2594c715c600e4681
[ "MIT" ]
null
null
null
HAPI_Start/TileMap.cpp
DamienHenderson/GEC-Engine
8d1e89c3dc35adaf65e84de2594c715c600e4681
[ "MIT" ]
null
null
null
#include "TileMap.hpp" TileMap::TileMap(const HAPISPACE::CHapiXMLNode& node) { } TileMap::~TileMap() { } void TileMap::Load(const HAPISPACE::CHapiXMLNode & node, Visualisation& vis) { int x_chunks{ 0 }, y_chunks{ 0 }; for (auto& attrib : node.GetAttributes()) { if (attrib.GetName() == "x_chunks") { x_ch...
16.247191
76
0.582296
DamienHenderson
f8b65a0dbc3a2a7deb80efd896e132f219e3831a
1,809
cpp
C++
gfg-DSA/linear-recurrence.cpp
shashankkmciv18/dsa
6feba269292d95d36e84f1adb910fe2ed5467f71
[ "MIT" ]
54
2020-07-31T14:50:23.000Z
2022-03-14T11:03:02.000Z
gfg-DSA/linear-recurrence.cpp
SahilMund/dsa
a94151b953b399ea56ff50cf30dfe96100e8b9a7
[ "MIT" ]
null
null
null
gfg-DSA/linear-recurrence.cpp
SahilMund/dsa
a94151b953b399ea56ff50cf30dfe96100e8b9a7
[ "MIT" ]
30
2020-08-15T17:39:02.000Z
2022-03-10T06:50:18.000Z
// Linear Recurrence Method for calculating high order numbers like // F(100) in fibonacci series. // Steps to Proceed : // Step 1: Determine K, the number of terms F(i) depends. // Ex- K=2 for fibonacci series i.e F(i) = F(i-1) +F(i-2) // Step: 2 Determine initial values i.e F(1) and F(2) // Ex- In fibonacci series, F...
24.780822
96
0.577114
shashankkmciv18
f8b7dd7896750564660235249a5471034fb074f5
811
hpp
C++
include/RED4ext/Types/generated/mesh/MeshImportedSnapPoint.hpp
Cyberpunk-Extended-Development-Team/RED4ext.SDK
2dc828c761d87a1b4235ce9ca4fbdf9fb4312fae
[ "MIT" ]
1
2021-02-01T23:07:50.000Z
2021-02-01T23:07:50.000Z
include/RED4ext/Types/generated/mesh/MeshImportedSnapPoint.hpp
Cyberpunk-Extended-Development-Team/RED4ext.SDK
2dc828c761d87a1b4235ce9ca4fbdf9fb4312fae
[ "MIT" ]
null
null
null
include/RED4ext/Types/generated/mesh/MeshImportedSnapPoint.hpp
Cyberpunk-Extended-Development-Team/RED4ext.SDK
2dc828c761d87a1b4235ce9ca4fbdf9fb4312fae
[ "MIT" ]
null
null
null
#pragma once // This file is generated from the Game's Reflection data #include <cstdint> #include <RED4ext/Common.hpp> #include <RED4ext/REDhash.hpp> #include <RED4ext/ISerializable.hpp> #include <RED4ext/Types/generated/Matrix.hpp> #include <RED4ext/Types/generated/mesh/ImportedSnapTags.hpp> namespace RED4ext { na...
27.033333
68
0.738594
Cyberpunk-Extended-Development-Team
f8b83a348229825a74972f8adf91c24a60e3b00c
9,914
cpp
C++
artifact/storm/src/storm/storage/memorystructure/MemoryStructure.cpp
glatteis/tacas21-artifact
30b4f522bd3bdb4bebccbfae93f19851084a3db5
[ "MIT" ]
null
null
null
artifact/storm/src/storm/storage/memorystructure/MemoryStructure.cpp
glatteis/tacas21-artifact
30b4f522bd3bdb4bebccbfae93f19851084a3db5
[ "MIT" ]
null
null
null
artifact/storm/src/storm/storage/memorystructure/MemoryStructure.cpp
glatteis/tacas21-artifact
30b4f522bd3bdb4bebccbfae93f19851084a3db5
[ "MIT" ]
1
2022-02-05T12:39:53.000Z
2022-02-05T12:39:53.000Z
#include "storm/storage/memorystructure/MemoryStructure.h" #include <iostream> #include "storm/logic/Formulas.h" #include "storm/utility/macros.h" #include "storm/storage/memorystructure/SparseModelMemoryProduct.h" #include "storm/exceptions/InvalidOperationException.h" namespace storm { namespace storage { ...
60.084848
332
0.608029
glatteis
f8b86f2c91c7f4bc5730030b44b8d4a30dc1daa6
10,121
cpp
C++
src/Kocmoc.cpp
SimonWallner/kocmoc-demo
a4f769b5ed7592ce50a18ab93c603d4371fbd291
[ "MIT", "Unlicense" ]
12
2015-01-21T07:02:23.000Z
2021-11-15T19:47:53.000Z
src/Kocmoc.cpp
SimonWallner/kocmoc-demo
a4f769b5ed7592ce50a18ab93c603d4371fbd291
[ "MIT", "Unlicense" ]
null
null
null
src/Kocmoc.cpp
SimonWallner/kocmoc-demo
a4f769b5ed7592ce50a18ab93c603d4371fbd291
[ "MIT", "Unlicense" ]
3
2017-03-04T08:50:46.000Z
2020-10-23T14:27:04.000Z
#include "Kocmoc.hpp" #include "Context.hpp" #include "Property.hpp" #include "Exception.hpp" #include "ImageLoader.hpp" #include "KocmocLoader.hpp" #include "utility.hpp" #include "ShaderManager.hpp" #include "AudioPlayer.hpp" #include "AnimationSystem.hpp" #include <gtx/spline.hpp> using namespace kocmoc; Kocmoc* ...
28.27095
137
0.686691
SimonWallner
f8b8b475c29be7330f546a5b38ab661e443ef5a5
765
cc
C++
2004-class/day2/object-ret.cc
tibbetts/inside-c
a72f6d44f15343e81b35da8edadd0e9c63315d40
[ "MIT" ]
18
2015-01-19T04:18:49.000Z
2022-03-04T06:22:44.000Z
2004-class/day2/object-ret.cc
tibbetts/inside-c
a72f6d44f15343e81b35da8edadd0e9c63315d40
[ "MIT" ]
null
null
null
2004-class/day2/object-ret.cc
tibbetts/inside-c
a72f6d44f15343e81b35da8edadd0e9c63315d40
[ "MIT" ]
4
2020-02-19T22:29:23.000Z
2021-09-22T16:45:52.000Z
#include "stdio.h" class twofield { private: int field1, field2; public: explicit twofield(int f); // Copy constructor. twofield(const twofield &of); ~twofield(); void setField(int f); int getField() const; }; twofield fromint(int j) { twofield of(j); return of; } int main(in...
16.630435
55
0.616993
tibbetts
f8ba5ffab3c931453c8ef1b5d80a661073b8aa75
367
cpp
C++
Gems/GraphCanvas/Code/StaticLib/GraphCanvas/Styling/definitions.cpp
cypherdotXd/o3de
bb90c4ddfe2d495e9c00ebf1e2650c6d603a5676
[ "Apache-2.0", "MIT" ]
11
2021-07-08T09:58:26.000Z
2022-03-17T17:59:26.000Z
Gems/GraphCanvas/Code/StaticLib/GraphCanvas/Styling/definitions.cpp
RoddieKieley/o3de
e804fd2a4241b039a42d9fa54eaae17dc94a7a92
[ "Apache-2.0", "MIT" ]
29
2021-07-06T19:33:52.000Z
2022-03-22T10:27:49.000Z
Gems/GraphCanvas/Code/StaticLib/GraphCanvas/Styling/definitions.cpp
RoddieKieley/o3de
e804fd2a4241b039a42d9fa54eaae17dc94a7a92
[ "Apache-2.0", "MIT" ]
4
2021-07-06T19:24:43.000Z
2022-03-31T12:42:27.000Z
/* * Copyright (c) Contributors to the Open 3D Engine Project. * For complete copyright and license terms please see the LICENSE at the root of this distribution. * * SPDX-License-Identifier: Apache-2.0 OR MIT * */ #include <AzCore/Serialization/SerializeContext.h> #include <GraphCanvas/Styling/definitions.h> i...
22.9375
100
0.746594
cypherdotXd
f8bb1144ae4497943224251410733206e4be5bd4
2,233
cpp
C++
input/input_state.cpp
Ced2911/native
41fd5dcc905592a78017ffbb40eac39b1fdf994a
[ "MIT" ]
2
2016-01-22T20:58:08.000Z
2018-05-02T19:01:30.000Z
input/input_state.cpp
Ced2911/native
41fd5dcc905592a78017ffbb40eac39b1fdf994a
[ "MIT" ]
null
null
null
input/input_state.cpp
Ced2911/native
41fd5dcc905592a78017ffbb40eac39b1fdf994a
[ "MIT" ]
null
null
null
#include "input/input_state.h" #include "input/keycodes.h" const char *GetDeviceName(int deviceId) { switch (deviceId) { case DEVICE_ID_DEFAULT: return "built-in"; case DEVICE_ID_KEYBOARD: return "kbd"; case DEVICE_ID_PAD_0: return "pad"; case DEVICE_ID_X360_0: return "x360"; case DEVICE_ID_ACCELEROMETER: return...
29.381579
106
0.765786
Ced2911
f8bc29486b5f537d77561fae8c45488df7e9dbbc
595
cpp
C++
ds18b20_ui.cpp
wintersteiger/wlmcd
7bdc184b875a0be652a0dd346fd9a598c14181d8
[ "MIT" ]
4
2021-01-11T13:50:25.000Z
2021-01-24T19:34:47.000Z
ds18b20_ui.cpp
wintersteiger/wlmcd
7bdc184b875a0be652a0dd346fd9a598c14181d8
[ "MIT" ]
1
2021-02-12T15:49:18.000Z
2021-02-12T16:50:55.000Z
ds18b20_ui.cpp
wintersteiger/wlmcd
7bdc184b875a0be652a0dd346fd9a598c14181d8
[ "MIT" ]
2
2021-01-11T13:53:18.000Z
2021-03-01T10:22:46.000Z
// Copyright (c) Christoph M. Wintersteiger // Licensed under the MIT License. #include "ds18b20_ui.h" DOUBLE_FIELD(UI::statusp, Temperature, "Temperature", DS18B20, "C", device.Temperature()); #define EMPTY() fields.push_back(new Empty(row++, col)); DS18B20UI::DS18B20UI(DS18B20 &ds18b20) { devices.insert(&ds18b2...
19.193548
90
0.677311
wintersteiger
f8bc4272e1917689b3202f865aaeb8b083ae4cca
26,239
cpp
C++
emulator/src/mame/drivers/sapi1.cpp
rjw57/tiw-computer
5ef1c79893165b8622d1114d81cd0cded58910f0
[ "MIT" ]
1
2022-01-15T21:38:38.000Z
2022-01-15T21:38:38.000Z
emulator/src/mame/drivers/sapi1.cpp
rjw57/tiw-computer
5ef1c79893165b8622d1114d81cd0cded58910f0
[ "MIT" ]
null
null
null
emulator/src/mame/drivers/sapi1.cpp
rjw57/tiw-computer
5ef1c79893165b8622d1114d81cd0cded58910f0
[ "MIT" ]
null
null
null
// license:BSD-3-Clause // copyright-holders:Miodrag Milanovic, Robbbert /*************************************************************************** SAPI-1 driver by Miodrag Milanovic 2008-09-09 Preliminary driver. 2010-12-07 Added some code to allow sapizps3 to read its rom. With no...
33.813144
162
0.701665
rjw57
f8bfce818aeaf12f4827ac8abab188a46a6f6d8b
7,939
cpp
C++
tesseract_common/test/plugin_loader_unit.cpp
daoran/tesseract
2c593d12a0a470bd2672fdf6ff86843dd69b6e4a
[ "BSD-3-Clause", "BSD-2-Clause", "Apache-2.0" ]
25
2021-11-08T05:41:28.000Z
2022-03-29T12:17:30.000Z
tesseract_common/test/plugin_loader_unit.cpp
daoran/tesseract
2c593d12a0a470bd2672fdf6ff86843dd69b6e4a
[ "BSD-3-Clause", "BSD-2-Clause", "Apache-2.0" ]
79
2021-10-30T19:53:38.000Z
2022-03-31T21:37:43.000Z
tesseract_common/test/plugin_loader_unit.cpp
daoran/tesseract
2c593d12a0a470bd2672fdf6ff86843dd69b6e4a
[ "BSD-3-Clause", "BSD-2-Clause", "Apache-2.0" ]
10
2021-11-09T03:02:08.000Z
2022-03-23T02:24:33.000Z
/** * @file plugin_loader_unit.h * @brief Plugin Loader Unit Tests * * @author Levi Armstrong * @date March 25, 2021 * @version TODO * @bug No known bugs * * @copyright Copyright (c) 2021, Southwest Research Institute * * @par License * Software License Agreement (Apache License) * @par * Licensed under t...
34.072961
114
0.736239
daoran
f8c1a03594027fe0986ea2d3c3ec87961f7bea81
2,085
cpp
C++
cpp/util/common.cpp
simpleton/profilo
91ef4ba1a8316bad2b3080210316dfef4761e180
[ "Apache-2.0" ]
null
null
null
cpp/util/common.cpp
simpleton/profilo
91ef4ba1a8316bad2b3080210316dfef4761e180
[ "Apache-2.0" ]
null
null
null
cpp/util/common.cpp
simpleton/profilo
91ef4ba1a8316bad2b3080210316dfef4761e180
[ "Apache-2.0" ]
null
null
null
/** * Copyright 2004-present, Facebook, Inc. * * 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 ...
27.434211
79
0.738129
simpleton
f8c6f4cd3c1e3104ca66f480bd5a5fc2e1af0046
589
cpp
C++
peg/bluebook/find_the_character.cpp
Rkhoiwal/Competitive-prog-Archive
18a95a8b2b9ca1a28d6fe939c1db5450d541ddc9
[ "MIT" ]
1
2020-07-16T01:46:38.000Z
2020-07-16T01:46:38.000Z
peg/bluebook/find_the_character.cpp
Rkhoiwal/Competitive-prog-Archive
18a95a8b2b9ca1a28d6fe939c1db5450d541ddc9
[ "MIT" ]
null
null
null
peg/bluebook/find_the_character.cpp
Rkhoiwal/Competitive-prog-Archive
18a95a8b2b9ca1a28d6fe939c1db5450d541ddc9
[ "MIT" ]
1
2020-05-27T14:30:43.000Z
2020-05-27T14:30:43.000Z
#include <cctype> #include <iostream> #include <string> using namespace std; inline void use_io_optimizations() { ios_base::sync_with_stdio(false); cin.tie(nullptr); } int main() { use_io_optimizations(); char wanted; cin >> wanted; cin.ignore(); string sentence; getline(cin, senten...
14.725
47
0.561969
Rkhoiwal
f8cb18e9c09a49bd20739273bcc05d9a1006a95e
1,819
cc
C++
ch3/send-more.cc
araya-andres/classic_computer_sci
3cb67563f10be75f586315d156506cf76e18f884
[ "Unlicense" ]
21
2017-10-12T05:03:09.000Z
2022-03-30T00:56:53.000Z
ch3/send-more.cc
araya-andres/classic_computer_sci
3cb67563f10be75f586315d156506cf76e18f884
[ "Unlicense" ]
1
2017-11-14T05:29:12.000Z
2017-11-14T17:28:48.000Z
ch3/send-more.cc
araya-andres/classic_computer_sci
3cb67563f10be75f586315d156506cf76e18f884
[ "Unlicense" ]
10
2018-03-30T14:37:48.000Z
2022-02-21T01:15:52.000Z
#include "common.h" #include "csp.h" #include "prettyprint.hpp" #include <iostream> #include <numeric> #include <string> #include <vector> std::vector<char> flatten(const std::vector<std::string>& v) { std::vector<char> flat; auto it = flat.begin(); for (const auto& s: v) it = flat.insert(it, s.cbegin(), s...
30.316667
89
0.598681
araya-andres
f8cf564ef2ef49d1b9c3391dff499ef55d9050bd
6,563
cpp
C++
2 course/EVM/lab_17/main.cpp
SgAkErRu/labs
9cf71e131513beb3c54ad3599f2a1e085bff6947
[ "BSD-3-Clause" ]
null
null
null
2 course/EVM/lab_17/main.cpp
SgAkErRu/labs
9cf71e131513beb3c54ad3599f2a1e085bff6947
[ "BSD-3-Clause" ]
null
null
null
2 course/EVM/lab_17/main.cpp
SgAkErRu/labs
9cf71e131513beb3c54ad3599f2a1e085bff6947
[ "BSD-3-Clause" ]
null
null
null
// -- системные либы -- // #include <windows.h> #include <vector> #include <algorithm> #include <random> #include <ctime> // Файлы заголовков C RunTime #include <stdlib.h> #include <malloc.h> #include <memory.h> #include <tchar.h> #include "resource.h" // -- мои классы -- // #include "bitstring.h" #include "five.h" ...
30.668224
120
0.610544
SgAkErRu
f8d28173e818cf3982045871aab8aaadf5d44aa8
2,241
cpp
C++
GEngine/GRendererInfra/GRiRenderer.cpp
hegaoxiang/new---
1c65dce79fa292ff8d2f79fb4cf9d8e207a82be1
[ "Zlib" ]
null
null
null
GEngine/GRendererInfra/GRiRenderer.cpp
hegaoxiang/new---
1c65dce79fa292ff8d2f79fb4cf9d8e207a82be1
[ "Zlib" ]
null
null
null
GEngine/GRendererInfra/GRiRenderer.cpp
hegaoxiang/new---
1c65dce79fa292ff8d2f79fb4cf9d8e207a82be1
[ "Zlib" ]
null
null
null
#include "GRiRenderer.h" float GRiRenderer::AspectRatio() const { return static_cast<float>(mClientWidth) / mClientHeight; } HWND GRiRenderer::MainWnd()const { return mhMainWnd; } void GRiRenderer::SetClientWidth(int width) { mClientWidth = width; } void GRiRenderer::SetClientHeight(int height) { mClientHeigh...
23.34375
164
0.714859
hegaoxiang
f8d59dc510fbd2e182e6d7397e856d11b14e869f
582
cpp
C++
algorithms/max-min/main.cpp
valentinvstoyanov/dsa-cpp
0d47377eff2df2888e7394b39203220e7aa82441
[ "MIT" ]
null
null
null
algorithms/max-min/main.cpp
valentinvstoyanov/dsa-cpp
0d47377eff2df2888e7394b39203220e7aa82441
[ "MIT" ]
null
null
null
algorithms/max-min/main.cpp
valentinvstoyanov/dsa-cpp
0d47377eff2df2888e7394b39203220e7aa82441
[ "MIT" ]
null
null
null
#include <iostream> #include "max_min.h" int main() { int arr[10] = {-199, 20, -200, 50, 1000, 1000, - 201, 1541, 0, 1}; auto mm = MaxMin(arr, 10); std::cout << "max = " << mm.first << ", min = " << mm.second << std::endl; std::cout << "max = " << Max(arr, 10) << std::endl; std::cout << "max = " << Max(arr, ...
38.8
76
0.501718
valentinvstoyanov
f8d87d10e11c2ceea2ea15f7130423e82793e1f0
1,676
cc
C++
test/quic/test_client_work.cc
cbodley/nexus
6e5b19b6c6c74007a0643c55eb0775eb86e38f9b
[ "BSL-1.0" ]
6
2021-10-31T10:33:30.000Z
2022-03-25T20:54:58.000Z
test/quic/test_client_work.cc
cbodley/nexus
6e5b19b6c6c74007a0643c55eb0775eb86e38f9b
[ "BSL-1.0" ]
null
null
null
test/quic/test_client_work.cc
cbodley/nexus
6e5b19b6c6c74007a0643c55eb0775eb86e38f9b
[ "BSL-1.0" ]
null
null
null
#include <nexus/quic/server.hpp> #include <gtest/gtest.h> #include <optional> #include <nexus/quic/client.hpp> #include <nexus/quic/connection.hpp> #include <nexus/global_init.hpp> #include "certificate.hpp" namespace nexus { // constuct a client and server on different io_contexts class Client : public testing::Tes...
26.1875
82
0.718974
cbodley
f8dbb3eb647fa85d9e91dd7d50d4d5184d990d08
5,500
cpp
C++
robolibJNI/lib/SolenoidJNI.cpp
robolib/robolibJNI
a8f74daf29f2ada8defff97b708f682bfd738071
[ "BSD-3-Clause", "MIT" ]
null
null
null
robolibJNI/lib/SolenoidJNI.cpp
robolib/robolibJNI
a8f74daf29f2ada8defff97b708f682bfd738071
[ "BSD-3-Clause", "MIT" ]
null
null
null
robolibJNI/lib/SolenoidJNI.cpp
robolib/robolibJNI
a8f74daf29f2ada8defff97b708f682bfd738071
[ "BSD-3-Clause", "MIT" ]
null
null
null
#include <jni.h> #include "Log.hpp" #include "HAL/HAL.hpp" #include "io_github_robolib_jni_SolenoidJNI.h" TLogLevel solenoidJNILogLevel = logERROR; #define SOLENOIDJNI_LOG(level) \ if (level > solenoidJNILogLevel) ; \ else Log().Get(level) typedef void *VoidPointer; /* * Class: io_github_robolib_jni_S...
37.671233
98
0.781091
robolib
f8dc8baf6f425fde5cd36be06c4236aa54650252
3,070
cpp
C++
mof2oal/src/cimreference.cpp
juergh/dash-sdk
16757836f1f96ee3220992f70bffe92c18e08e76
[ "AMDPLPA" ]
13
2015-08-06T14:55:10.000Z
2021-12-26T04:41:54.000Z
mof2oal/src/cimreference.cpp
juergh/dash-sdk
16757836f1f96ee3220992f70bffe92c18e08e76
[ "AMDPLPA" ]
null
null
null
mof2oal/src/cimreference.cpp
juergh/dash-sdk
16757836f1f96ee3220992f70bffe92c18e08e76
[ "AMDPLPA" ]
1
2017-06-17T14:15:41.000Z
2017-06-17T14:15:41.000Z
/* * <AMD 3BSD notice header> * * Copyright (c) 2006, 2007, 2008 Advanced Micro Devices, Inc. * * All rights reserved. * * This file is subject to the license found in the LICENSE.AMD file which * states the following in part: * * Redistribution and use in any form of this material and any product * thereof ...
32.659574
90
0.642997
juergh
f8dcda3292bd380f70b15c59883be5546b91e374
488
cpp
C++
libraries/graphics/src/graphics/Bloom.cpp
Darlingnotin/Antisocial_VR
f1debafb784ed5a63a40fe9b80790fbaccfedfce
[ "Apache-2.0" ]
272
2021-01-07T03:06:08.000Z
2022-03-25T03:54:07.000Z
libraries/graphics/src/graphics/Bloom.cpp
Darlingnotin/Antisocial_VR
f1debafb784ed5a63a40fe9b80790fbaccfedfce
[ "Apache-2.0" ]
1,021
2020-12-12T02:33:32.000Z
2022-03-31T23:36:37.000Z
libraries/graphics/src/graphics/Bloom.cpp
Darlingnotin/Antisocial_VR
f1debafb784ed5a63a40fe9b80790fbaccfedfce
[ "Apache-2.0" ]
77
2020-12-15T06:59:34.000Z
2022-03-23T22:18:04.000Z
// // Bloom.cpp // libraries/graphics/src/graphics // // Created by Sam Gondelman on 8/7/2018 // Copyright 2018 High Fidelity, Inc. // // Distributed under the Apache License, Version 2.0. // See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html // #include "Bloom.h" using namespa...
27.111111
88
0.729508
Darlingnotin
f8ddbb317b54bb4acee8495c980a53566ebabb55
7,068
cpp
C++
t11_arvore_binaria_busca/TesteNoBinario.cpp
lucasjoao/data_structures
8413a76eb831c57697e823163afc3b8f821c0d8b
[ "Unlicense" ]
null
null
null
t11_arvore_binaria_busca/TesteNoBinario.cpp
lucasjoao/data_structures
8413a76eb831c57697e823163afc3b8f821c0d8b
[ "Unlicense" ]
null
null
null
t11_arvore_binaria_busca/TesteNoBinario.cpp
lucasjoao/data_structures
8413a76eb831c57697e823163afc3b8f821c0d8b
[ "Unlicense" ]
null
null
null
// Copyright #include <gtest/gtest.h> #include <vector> #include <cstdio> #include "NoBinario.hpp" #define TAM1 10 #define TAM2 20 int main(int argc, char **argv) { ::testing::InitGoogleTest(&argc, argv); return RUN_ALL_TESTS(); } class Objeto {}; class NoBinarioTest : public ::testing::Test { protected: ...
31
70
0.608942
lucasjoao
f8e18e934c815584b42d24249fc25a873c31081c
140
cpp
C++
C语言程序设计基础/15.【图形】输出一行星号.cpp
xiabee/BIT-CS
5d8d8331e6b9588773991a872c259e430ef1eae1
[ "Apache-2.0" ]
63
2021-01-10T02:32:17.000Z
2022-03-30T04:08:38.000Z
C语言程序设计基础/15.【图形】输出一行星号.cpp
xiabee/BIT-CS
5d8d8331e6b9588773991a872c259e430ef1eae1
[ "Apache-2.0" ]
2
2021-06-09T05:38:58.000Z
2021-12-14T13:53:54.000Z
C语言程序设计基础/15.【图形】输出一行星号.cpp
xiabee/BIT-CS
5d8d8331e6b9588773991a872c259e430ef1eae1
[ "Apache-2.0" ]
20
2021-01-12T11:49:36.000Z
2022-03-26T11:04:58.000Z
#include <stdio.h> int main() { int n, i; scanf ("%d", &n); for (i = 1; i <= n; i++) { printf ("*"); } printf ("\n"); return 0; }
10.769231
25
0.428571
xiabee
f8e3c4478d822ef2a7afb75a556e32e84bf9387e
13,611
ipp
C++
src/cradle/imaging/sample.ipp
mghro/astroid-core
72736f64bed19ec3bb0e92ebee4d7cf09fc0399f
[ "MIT" ]
null
null
null
src/cradle/imaging/sample.ipp
mghro/astroid-core
72736f64bed19ec3bb0e92ebee4d7cf09fc0399f
[ "MIT" ]
3
2020-10-26T18:45:47.000Z
2020-10-26T18:46:06.000Z
src/cradle/imaging/sample.ipp
mghro/astroid-core
72736f64bed19ec3bb0e92ebee4d7cf09fc0399f
[ "MIT" ]
null
null
null
#include <cmath> #include <cradle/imaging/geometry.hpp> #include <cradle/imaging/iterator.hpp> namespace cradle { namespace impl { template<unsigned N, class T, class SP> optional<T> compute_raw_image_sample( image<N, T, SP> const& img, vector<N, double> const& p) { vector<N, double> image_p = transf...
28.594538
79
0.62163
mghro
f8e3fb2e537d6eeb9622faf4add0b9a184901f12
2,991
cpp
C++
whycpp/src/impl/drawing.cpp
senior-sigan/WHY_CPP
f9e2d060a782b9d72fb2c9f3ce580af00eb40779
[ "MIT" ]
6
2019-01-10T12:06:04.000Z
2022-01-06T15:22:03.000Z
whycpp/src/impl/drawing.cpp
senior-sigan/WHY_CPP
f9e2d060a782b9d72fb2c9f3ce580af00eb40779
[ "MIT" ]
8
2019-02-22T09:14:34.000Z
2019-04-20T18:46:37.000Z
whycpp/src/impl/drawing.cpp
senior-sigan/WHY_CPP
f9e2d060a782b9d72fb2c9f3ce580af00eb40779
[ "MIT" ]
3
2019-03-22T09:01:52.000Z
2021-06-13T17:50:31.000Z
#include <whycpp/color.h> #include <whycpp/drawing.h> #include <whycpp/types.h> #include <algorithm> #include "../context.h" #include "../holders/sprites_holder.h" #include "../sprite.h" #include "../holders/video_memory_holder.h" i32 GetDisplayWidth(const Context &ctx) { return ctx.Get<VideoMemoryHolder>()->GetWidt...
29.323529
113
0.557339
senior-sigan
f8e5fdb06d9898450187a253886d2cb83ab0bcc2
1,813
cpp
C++
hphp/runtime/vm/srckey.cpp
abhishekgahlot/hiphop-php
5b367ac44a7a9a6e4c777ae0786d1c872d3ae0a9
[ "PHP-3.01", "Zend-2.0" ]
1
2015-11-05T19:26:02.000Z
2015-11-05T19:26:02.000Z
hphp/runtime/vm/srckey.cpp
abhishekgahlot/hiphop-php
5b367ac44a7a9a6e4c777ae0786d1c872d3ae0a9
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/runtime/vm/srckey.cpp
abhishekgahlot/hiphop-php
5b367ac44a7a9a6e4c777ae0786d1c872d3ae0a9
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
/* +----------------------------------------------------------------------+ | HipHop for PHP | +----------------------------------------------------------------------+ | Copyright (c) 2010-2013 Facebook, Inc. (http://www.facebook.com) | +---------...
41.204545
78
0.470491
abhishekgahlot
25c970e052812a625ab74eecf8f648da1c9aac35
10,901
cpp
C++
src/core/lib/core_serialization_new/serializationhandlers/collectionhandler.cpp
wgsyd/wgtf
d8cacb43e2c5d40080d33c18a8c2f5bd27d21bed
[ "BSD-3-Clause" ]
28
2016-06-03T05:28:25.000Z
2019-02-14T12:04:31.000Z
src/core/lib/core_serialization_new/serializationhandlers/collectionhandler.cpp
karajensen/wgtf
740397bcfdbc02bc574231579d57d7c9cd5cc26d
[ "BSD-3-Clause" ]
null
null
null
src/core/lib/core_serialization_new/serializationhandlers/collectionhandler.cpp
karajensen/wgtf
740397bcfdbc02bc574231579d57d7c9cd5cc26d
[ "BSD-3-Clause" ]
14
2016-06-03T05:52:27.000Z
2019-03-21T09:56:03.000Z
#include "collectionhandler.hpp" namespace wgt { CollectionHandler::CollectionHandler(const SerializationHandlerManager& handlerManager) : SerializationHandler("__CollectionHandler"), handlerManager_(handlerManager) { } bool CollectionHandler::write(const Variant& v, const NodePtr& node, bool writeType) { node->...
31.234957
113
0.730942
wgsyd
25caea8cd2bdb42e2a2b0c79558eb63e0bd7c51e
19,146
cpp
C++
src/dagify.cpp
vgteam/libhandlegraph
a38d31f01d24a4b928bfa2fad2fe08a0b47528c5
[ "MIT" ]
16
2019-03-03T14:50:59.000Z
2022-03-13T21:07:32.000Z
src/dagify.cpp
vgteam/libhandlegraph
a38d31f01d24a4b928bfa2fad2fe08a0b47528c5
[ "MIT" ]
39
2019-03-01T04:16:06.000Z
2022-03-30T18:46:57.000Z
src/dagify.cpp
vgteam/libhandlegraph
a38d31f01d24a4b928bfa2fad2fe08a0b47528c5
[ "MIT" ]
3
2019-02-25T05:13:56.000Z
2021-11-01T20:32:53.000Z
/** * \file dagify.cpp * * Implements an algorithm to convert a single-stranded graph into a DAG */ //#define debug_dagify #include <vector> #include <unordered_set> #include <atomic> #include "handlegraph/expanding_overlay_graph.hpp" #include "handlegraph/algorithms/dagify.hpp" #include "handlegraph/algorithms/i...
39.721992
332
0.593753
vgteam
25d1824fb2cbe0e9da5dbffccab59beab8e79368
8,892
cpp
C++
thormang3_step_control_module/src/robotis_online_walking_plugin.cpp
thor-mang/ROBOTIS-THORMANG-MPC
6d5d6479ddab1bbcf0ff34e5cf6f98823da38cad
[ "BSD-3-Clause" ]
3
2018-01-30T16:03:20.000Z
2021-11-13T21:14:08.000Z
thormang3_step_control_module/src/robotis_online_walking_plugin.cpp
thor-mang/ROBOTIS-THORMANG-MPC
6d5d6479ddab1bbcf0ff34e5cf6f98823da38cad
[ "BSD-3-Clause" ]
null
null
null
thormang3_step_control_module/src/robotis_online_walking_plugin.cpp
thor-mang/ROBOTIS-THORMANG-MPC
6d5d6479ddab1bbcf0ff34e5cf6f98823da38cad
[ "BSD-3-Clause" ]
null
null
null
#include <thormang3_step_control_module/robotis_online_walking_plugin.h> #include <thormang3_walking_module/thormang3_online_walking.h> #include <thormang3_walking_module/walking_module.h> namespace thormang3 { using namespace vigir_footstep_planning; THORMANG3OnlineWalkingPlugin::THORMANG3OnlineWalkingPlugin() ...
33.055762
158
0.753711
thor-mang
25d1f31082b94445867fed6605391419691dffe0
899
hpp
C++
tasks/LedMatrixDisplay.hpp
PhischDotOrg/stm32f4-common
4b6b9c436018c89d3668c6ee107e97abb930bae2
[ "MIT" ]
1
2022-01-31T01:59:52.000Z
2022-01-31T01:59:52.000Z
tasks/LedMatrixDisplay.hpp
PhischDotOrg/stm32-common
4b6b9c436018c89d3668c6ee107e97abb930bae2
[ "MIT" ]
5
2020-04-13T21:55:12.000Z
2020-06-27T17:44:44.000Z
tasks/LedMatrixDisplay.hpp
PhischDotOrg/stm32f4-common
4b6b9c436018c89d3668c6ee107e97abb930bae2
[ "MIT" ]
null
null
null
/*- * $Copyright$ -*/ #ifndef _TASKS_LED_MATRIX_DISPLAY_HPP_3dcb329a_694a_48b4_8249_5ca9cb2ed9b4 #define _TASKS_LED_MATRIX_DISPLAY_HPP_3dcb329a_694a_48b4_8249_5ca9cb2ed9b4 #include "tasks/Task.hpp" #include <gpio/GpioPin.hpp> #include <uart/UartDevice.hpp> namespace tasks { template<typename LedMatrixT, typename ...
26.441176
149
0.765295
PhischDotOrg
25d39d929f95332c75d0f8c7a56f050bd408de0a
609
hpp
C++
include/guidance/segregated_intersection_classification.hpp
AugustoQueiroz/pedalavel-backend
c7fa405ff6f6823bdc9d4bb857eddc7197be1f4f
[ "BSD-2-Clause" ]
null
null
null
include/guidance/segregated_intersection_classification.hpp
AugustoQueiroz/pedalavel-backend
c7fa405ff6f6823bdc9d4bb857eddc7197be1f4f
[ "BSD-2-Clause" ]
null
null
null
include/guidance/segregated_intersection_classification.hpp
AugustoQueiroz/pedalavel-backend
c7fa405ff6f6823bdc9d4bb857eddc7197be1f4f
[ "BSD-2-Clause" ]
1
2019-09-23T22:49:07.000Z
2019-09-23T22:49:07.000Z
#include "util/typedefs.hpp" #include <unordered_set> namespace osrm { namespace util { class NameTable; } namespace extractor { class NodeBasedGraphFactory; } namespace guidance { // Find all "segregated" edges, e.g. edges that can be skipped in turn instructions. // The main cases are: // - middle edges between t...
21.75
95
0.701149
AugustoQueiroz
25d41e95630190e43c50fefd8afcd9eaf11683a4
5,884
hxx
C++
include/itkBlockMatchingMultiResolutionIterationObserver.hxx
tbirdso/ITKUltrasound
fb5915978de73a71b0fc43b9ce1c9d32dfa19783
[ "Apache-2.0" ]
38
2015-01-20T14:16:22.000Z
2022-03-16T09:23:09.000Z
include/itkBlockMatchingMultiResolutionIterationObserver.hxx
thewtex/ITKUltrasound
9ab459466ffe155840fdf3de30aafb3660dba800
[ "Apache-2.0" ]
83
2015-08-05T14:09:42.000Z
2022-03-30T20:28:03.000Z
include/itkBlockMatchingMultiResolutionIterationObserver.hxx
thewtex/ITKUltrasound
9ab459466ffe155840fdf3de30aafb3660dba800
[ "Apache-2.0" ]
29
2015-03-27T23:23:20.000Z
2022-01-04T22:44:57.000Z
/*========================================================================= * * Copyright NumFOCUS * * 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.or...
40.027211
119
0.700204
tbirdso
25d5669bc9f24f7f02b710f8f0878c16a6496c94
1,731
cpp
C++
console/src/boost_1_78_0/libs/describe/test/overloaded_test2.cpp
vany152/FilesHash
39f282807b7f1abc56dac389e8259ee3bb557a8d
[ "MIT" ]
106
2015-08-07T04:23:50.000Z
2020-12-27T18:25:15.000Z
console/src/boost_1_78_0/libs/describe/test/overloaded_test2.cpp
vany152/FilesHash
39f282807b7f1abc56dac389e8259ee3bb557a8d
[ "MIT" ]
130
2016-06-22T22:11:25.000Z
2020-11-29T20:24:09.000Z
console/src/boost_1_78_0/libs/describe/test/overloaded_test2.cpp
vany152/FilesHash
39f282807b7f1abc56dac389e8259ee3bb557a8d
[ "MIT" ]
41
2015-07-08T19:18:35.000Z
2021-01-14T16:39:56.000Z
// Copyright 2020 Peter Dimov // Distributed under the Boost Software License, Version 1.0. // https://www.boost.org/LICENSE_1_0.txt #include <boost/describe/members.hpp> #include <boost/describe/class.hpp> #include <boost/core/lightweight_test.hpp> #include <utility> class X { private: std::pair<int, int> p_; ...
23.08
113
0.62565
vany152
25dabbbb9c66336a8a909ef3fe31761be685940e
1,886
cpp
C++
benchmarks/threadpool/benchmark.cpp
alexbriskin/taskflow
da69f8989f26f8ff7bc731dbafb2f6ce171934fc
[ "MIT" ]
null
null
null
benchmarks/threadpool/benchmark.cpp
alexbriskin/taskflow
da69f8989f26f8ff7bc731dbafb2f6ce171934fc
[ "MIT" ]
null
null
null
benchmarks/threadpool/benchmark.cpp
alexbriskin/taskflow
da69f8989f26f8ff7bc731dbafb2f6ce171934fc
[ "MIT" ]
null
null
null
#include <taskflow/taskflow.hpp> #include <chrono> #include "ThreadPool.hpp" ThreadPool* ThreadPool::singleton = nullptr; std::mutex ThreadPool::singleton_mutex; tf::Executor executor; class ChronoTimer { public: ChronoTimer(void) { } void start(void){ startTime = std::chrono::high_resolution_clock::now(); } v...
22.452381
61
0.629905
alexbriskin
25db6ad72a6d8a018fff90d5533d6d667604fe69
3,776
hpp
C++
src/core/exponential.hpp
tp-ntouran/mocc
77d386cdf341b1a860599ff7c6e4017d46e0b102
[ "Apache-2.0" ]
11
2016-03-31T17:46:15.000Z
2022-02-14T01:07:56.000Z
src/core/exponential.hpp
tp-ntouran/mocc
77d386cdf341b1a860599ff7c6e4017d46e0b102
[ "Apache-2.0" ]
3
2016-04-04T16:40:47.000Z
2019-10-16T22:22:54.000Z
src/core/exponential.hpp
tp-ntouran/mocc
77d386cdf341b1a860599ff7c6e4017d46e0b102
[ "Apache-2.0" ]
3
2019-10-16T22:20:15.000Z
2019-11-28T11:59:03.000Z
/* Copyright 2016 Mitchell Young 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 or agreed to in ...
27.362319
80
0.601165
tp-ntouran
25dcaa63f88e96f8b8aea70cd7e38066eaa3cd88
2,362
cpp
C++
Algorithms/0993.CousinsInBinaryTree/solution.cpp
stdstring/leetcode
84e6bade7d6fc1a737eb6796cb4e2565440db5e3
[ "MIT" ]
null
null
null
Algorithms/0993.CousinsInBinaryTree/solution.cpp
stdstring/leetcode
84e6bade7d6fc1a737eb6796cb4e2565440db5e3
[ "MIT" ]
null
null
null
Algorithms/0993.CousinsInBinaryTree/solution.cpp
stdstring/leetcode
84e6bade7d6fc1a737eb6796cb4e2565440db5e3
[ "MIT" ]
null
null
null
#include <queue> #include "TreeNode.h" #include "TreeNodeUtils.h" #include "gtest/gtest.h" using CommonLib::TreeNode; namespace { struct NodeData { NodeData(TreeNode* current, size_t depth, TreeNode* parent) : Current(current), Depth(depth), Parent(parent) { } TreeNode* Current; size_t Depth; ...
28.457831
129
0.600339
stdstring
25e0c3389da573d2eedb1433ce82a0f442dc3c7b
881
cpp
C++
UOJ/Goodbye Yiwei/B/code.cpp
sjj118/OI-Code
964ea6e799d14010f305c7e4aee269d860a781f7
[ "MIT" ]
null
null
null
UOJ/Goodbye Yiwei/B/code.cpp
sjj118/OI-Code
964ea6e799d14010f305c7e4aee269d860a781f7
[ "MIT" ]
null
null
null
UOJ/Goodbye Yiwei/B/code.cpp
sjj118/OI-Code
964ea6e799d14010f305c7e4aee269d860a781f7
[ "MIT" ]
null
null
null
#include<iostream> #include<cstdio> #include<cstring> #define maxn 100010 #define maxm 200010 using namespace std; int T,n,m; struct Graph{ int tot,head[maxn],to[maxm],next[maxm],du[maxn],mark[maxn]; void addedge(int a,int b){to[++tot]=b;next[tot]=head[a];head[a]=tot;++du[a];} void clear(){tot=0;memset(head,0,size...
22.589744
101
0.578888
sjj118
25e3e10969df769bef5fb49031e2c4848fc1c2ea
1,122
hpp
C++
sources/Notebook.hpp
LiorBreitman8234/Ex2_cpp_b
53c8c2524d737e3121a749c3b1ff2ef4551de6cb
[ "MIT" ]
null
null
null
sources/Notebook.hpp
LiorBreitman8234/Ex2_cpp_b
53c8c2524d737e3121a749c3b1ff2ef4551de6cb
[ "MIT" ]
null
null
null
sources/Notebook.hpp
LiorBreitman8234/Ex2_cpp_b
53c8c2524d737e3121a749c3b1ff2ef4551de6cb
[ "MIT" ]
null
null
null
// // Created by bravo8234 on 20/03/2022. // #ifndef EX2_CPP_QA_NOTEBOOK_HPP #define EX2_CPP_QA_NOTEBOOK_HPP #include <iostream> #include <vector> #include <map> #include <unordered_map> #include <string> #include <stdexcept> #include "Page.hpp" #include "Direction.hpp" #define ROW_LENGTH 100 #define CHAR_UP_LIMIT 1...
25.5
115
0.688948
LiorBreitman8234
25e45e9972c42667d5f0467baaa2ab2366b980c5
18,719
cpp
C++
src/incphp.cpp
StephanGocht/incphp
d92cd186d4bfb059140278b0adc2ec47de06f704
[ "MIT" ]
1
2021-03-08T08:08:03.000Z
2021-03-08T08:08:03.000Z
src/incphp.cpp
StephanGocht/incphp
d92cd186d4bfb059140278b0adc2ec47de06f704
[ "MIT" ]
null
null
null
src/incphp.cpp
StephanGocht/incphp
d92cd186d4bfb059140278b0adc2ec47de06f704
[ "MIT" ]
1
2017-08-29T07:09:09.000Z
2017-08-29T07:09:09.000Z
#include "incphp.h" #include <array> #include <iostream> #include <cmath> #include <set> #include "SatVariable.h" #include "LearnedClauseEvaluationDecorator.h" #include "tclap/CmdLine.h" #include "carj/carj.h" #include "carj/ScopedTimer.h" #include "ipasir/randomized_ipasir.h" #include "ipasir/ipasir_cpp.h" #include...
23.664981
87
0.653614
StephanGocht
25e63d36759d04c52f22d125bdc27220b637dd8f
548
cpp
C++
Boost/The Boost C++ Libraries/src/7.2.2/main.cpp
goodspeed24e/Programming
ae73fad022396ea03105aad83293facaeea561ae
[ "MIT" ]
1
2021-03-12T19:29:33.000Z
2021-03-12T19:29:33.000Z
Boost/The Boost C++ Libraries/src/7.2.2/main.cpp
goodspeed24e/Programming
ae73fad022396ea03105aad83293facaeea561ae
[ "MIT" ]
1
2019-03-13T01:36:12.000Z
2019-03-13T01:36:12.000Z
Boost/The Boost C++ Libraries/src/7.2.2/main.cpp
goodspeed24e/Programming
ae73fad022396ea03105aad83293facaeea561ae
[ "MIT" ]
null
null
null
#include <boost/asio.hpp> #include <iostream> void handler1(const boost::system::error_code &ec) { std::cout << "5 s." << std::endl; } void handler2(const boost::system::error_code &ec) { std::cout << "10 s." << std::endl; } int main() { boost::asio::io_service io_service; boost::asio::deadline_...
24.909091
82
0.673358
goodspeed24e
25ef27291d8a3b3351f444dba989fa4c5149a5b0
14,474
cpp
C++
clients/cpp-pistache-server/generated/model/Hudson.cpp
cliffano/jenkins-api-clients-generator
522d02b3a130a29471df5ec1d3d22c822b3d0813
[ "MIT" ]
null
null
null
clients/cpp-pistache-server/generated/model/Hudson.cpp
cliffano/jenkins-api-clients-generator
522d02b3a130a29471df5ec1d3d22c822b3d0813
[ "MIT" ]
null
null
null
clients/cpp-pistache-server/generated/model/Hudson.cpp
cliffano/jenkins-api-clients-generator
522d02b3a130a29471df5ec1d3d22c822b3d0813
[ "MIT" ]
null
null
null
/** * Swaggy Jenkins * Jenkins API clients generated from Swagger / Open API specification * * The version of the OpenAPI document: 1.1.2-pre.0 * Contact: blah@cliffano.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the cl...
25.348511
175
0.626295
cliffano
25f26808a683224938ca9ecd5e1d20790c8c5e5d
4,241
cc
C++
chrome/browser/notifications/notification_exceptions_table_model_unittest.cc
SlimKatLegacy/android_external_chromium
bc611cda58cc18d0dbaa8a7aee05eb3c0742e573
[ "BSD-3-Clause" ]
2
2017-02-20T14:25:04.000Z
2019-12-13T13:58:28.000Z
chrome/browser/notifications/notification_exceptions_table_model_unittest.cc
SlimKatLegacy/android_external_chromium
bc611cda58cc18d0dbaa8a7aee05eb3c0742e573
[ "BSD-3-Clause" ]
2
2017-07-25T09:37:22.000Z
2017-08-04T07:18:56.000Z
chrome/browser/notifications/notification_exceptions_table_model_unittest.cc
SlimKatLegacy/android_external_chromium
bc611cda58cc18d0dbaa8a7aee05eb3c0742e573
[ "BSD-3-Clause" ]
2
2017-08-09T09:03:23.000Z
2020-05-26T09:14:49.000Z
// Copyright (c) 2011 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/notifications/notification_exceptions_table_model.h" #include "base/utf_string_conversions.h" #include "chrome/browser/notif...
32.875969
79
0.735676
SlimKatLegacy
25f8faa529e071bca6ffcb8058685f2c30cb6c1c
9,203
cpp
C++
src/wxTTM/Tools/ListItem.cpp
ttm-tt/wxTTM
f9c75f05a564a0d82034412c1eb4c94d943e267f
[ "MIT" ]
null
null
null
src/wxTTM/Tools/ListItem.cpp
ttm-tt/wxTTM
f9c75f05a564a0d82034412c1eb4c94d943e267f
[ "MIT" ]
null
null
null
src/wxTTM/Tools/ListItem.cpp
ttm-tt/wxTTM
f9c75f05a564a0d82034412c1eb4c94d943e267f
[ "MIT" ]
null
null
null
/* Copyright (C) 2020 Christoph Theis */ // Basisklasse fuer Items in ListCtrl(Ex) #include "stdafx.h" #include "ListItem.h" #include "TmEntryStore.h" #include "Rec.h" // Abstand zwischen den Raendern des Rechtecks zum Text unsigned ListItem::offset = 2; // naNameWidth startet mit 2, bei jedem Listeneintrag...
25.282967
94
0.613822
ttm-tt
25faa2f355c5d2cc93d5c975578b8dc3a2d1201e
3,886
cpp
C++
tests/unit/TextChat_test.cpp
truthiswill/sdk
00ace479a434b2d5c329cfe4f7178392fcfd1cdb
[ "BSD-2-Clause" ]
1
2022-02-24T03:44:47.000Z
2022-02-24T03:44:47.000Z
tests/unit/TextChat_test.cpp
akjkmeagabase/sdk
fdff0e09e6ab384c9694d4c4d10c34e6a225c1e6
[ "BSD-2-Clause" ]
null
null
null
tests/unit/TextChat_test.cpp
akjkmeagabase/sdk
fdff0e09e6ab384c9694d4c4d10c34e6a225c1e6
[ "BSD-2-Clause" ]
null
null
null
/** * (c) 2019 by Mega Limited, Wellsford, New Zealand * * This file is part of the MEGA SDK - Client Access Engine. * * Applications using the MEGA API must present a valid application key * and comply with the the rules set forth in the Terms of Service. * * The MEGA SDK is distributed in the hope that it wil...
30.359375
79
0.653371
truthiswill
25fcf11745a446cb8ddc224fe08418b05228c89a
16,735
hpp
C++
examples/cpuid/libcpuid/include/cpuid/cpuid.hpp
DrPizza/jsm
d5fc0a6c1e579bbb15c546aa3b76012ad93bc7ef
[ "MIT" ]
1
2021-06-29T06:46:34.000Z
2021-06-29T06:46:34.000Z
examples/cpuid/libcpuid/include/cpuid/cpuid.hpp
DrPizza/jsm
d5fc0a6c1e579bbb15c546aa3b76012ad93bc7ef
[ "MIT" ]
null
null
null
examples/cpuid/libcpuid/include/cpuid/cpuid.hpp
DrPizza/jsm
d5fc0a6c1e579bbb15c546aa3b76012ad93bc7ef
[ "MIT" ]
null
null
null
#ifndef CPUID_HPP #define CPUID_HPP #include <cstddef> #include <array> #include <map> #include <gsl/gsl> #include <fmt/format.h> #include "suffixes.hpp" #if defined(_MSC_VER) #define UNREACHABLE() __assume(0) #else #define UNREACHABLE() __builtin_unreachable() #endif namespace cpuid { enum s...
32.685547
126
0.612668
DrPizza
25fd2c2620a37d779238ed3ac882ec1e28b9c71f
231,883
cpp
C++
Core/SoarKernel/src/semantic_memory/semantic_memory.cpp
Bryan-Stearns/Soar
969f4fec676293b459ed552ad096549519800534
[ "BSD-2-Clause" ]
1
2021-03-03T23:20:23.000Z
2021-03-03T23:20:23.000Z
Core/SoarKernel/src/semantic_memory/semantic_memory.cpp
Bryan-Stearns/Soar
969f4fec676293b459ed552ad096549519800534
[ "BSD-2-Clause" ]
null
null
null
Core/SoarKernel/src/semantic_memory/semantic_memory.cpp
Bryan-Stearns/Soar
969f4fec676293b459ed552ad096549519800534
[ "BSD-2-Clause" ]
1
2021-03-03T23:20:25.000Z
2021-03-03T23:20:25.000Z
/************************************************************************* * PLEASE SEE THE FILE "COPYING" (INCLUDED WITH THIS SOFTWARE PACKAGE) * FOR LICENSE AND COPYRIGHT INFORMATION. *************************************************************************/ /******************************************************...
39.952274
524
0.532083
Bryan-Stearns
25fd87249c385e2b459e6d3fc0275a6b65d9b193
44,878
cpp
C++
source/backend/shape/bezier.cpp
acekiller/povray
ae6837fb8625bb9ca00830f8871c90c87dd21b75
[ "Zlib" ]
1
2015-06-21T05:27:57.000Z
2015-06-21T05:27:57.000Z
source/backend/shape/bezier.cpp
binji/povray
ae6837fb8625bb9ca00830f8871c90c87dd21b75
[ "Zlib" ]
null
null
null
source/backend/shape/bezier.cpp
binji/povray
ae6837fb8625bb9ca00830f8871c90c87dd21b75
[ "Zlib" ]
null
null
null
/******************************************************************************* * bezier.cpp * * This module implements the code for Bezier bicubic patch shapes * * This file was written by Alexander Enzmann. He wrote the code for * bezier bicubic patches and generously provided us these enhancements. * * fro...
19.088898
182
0.533246
acekiller
d308603b4cafc4b003b92fad971055b67b738aff
5,336
cpp
C++
samples/stm32l011xx/command_line/main.cpp
JayKickliter/CML
d21061a3abc013a8386798280b9595e9d4a2978c
[ "MIT" ]
null
null
null
samples/stm32l011xx/command_line/main.cpp
JayKickliter/CML
d21061a3abc013a8386798280b9595e9d4a2978c
[ "MIT" ]
null
null
null
samples/stm32l011xx/command_line/main.cpp
JayKickliter/CML
d21061a3abc013a8386798280b9595e9d4a2978c
[ "MIT" ]
null
null
null
/* Name: main.cpp Copyright(c) 2019 Mateusz Semegen This code is licensed under MIT license (see LICENSE file for details) */ //cml #include <cml/collection/Vector.hpp> #include <cml/common/cstring.hpp> #include <cml/hal/counter.hpp> #include <cml/hal/systick.hpp> #include <cml/hal/peripherals...
31.761905
118
0.572714
JayKickliter
d309a3a3096fdebad8cf4baf0f5fd64a39720fe9
673
cpp
C++
Leetcode/remve_duplicates_sorted.cpp
prameetu/CP_codes
41f8cfc188d2e08a8091bc5134247d05ba8a78f5
[ "MIT" ]
null
null
null
Leetcode/remve_duplicates_sorted.cpp
prameetu/CP_codes
41f8cfc188d2e08a8091bc5134247d05ba8a78f5
[ "MIT" ]
null
null
null
Leetcode/remve_duplicates_sorted.cpp
prameetu/CP_codes
41f8cfc188d2e08a8091bc5134247d05ba8a78f5
[ "MIT" ]
null
null
null
//leetcode - 26 #include<bits/stdc++.h> using namespace std; int remove_duplicate_sorteed_array(vector <int> &v) { if(v.size() == 0) return 0; int i(0); int j(1); while(j<v.size()) { if(v[i] == v[j]) { j++; } else ...
14.020833
57
0.358098
prameetu
d30a03dbe1f2a00e2e21a44e4fae7cec5e64320f
3,974
hh
C++
dependencies/include/fastjet/internal/Triangulation.hh
ZAKI1905/HEP-Phen
bc06fecb2aa6bf108b59f76794e63c29eb37a35a
[ "MIT" ]
1
2019-10-21T08:25:46.000Z
2019-10-21T08:25:46.000Z
dependencies/include/fastjet/internal/Triangulation.hh
ZAKI1905/HEP-Phen
bc06fecb2aa6bf108b59f76794e63c29eb37a35a
[ "MIT" ]
null
null
null
dependencies/include/fastjet/internal/Triangulation.hh
ZAKI1905/HEP-Phen
bc06fecb2aa6bf108b59f76794e63c29eb37a35a
[ "MIT" ]
null
null
null
#ifndef DROP_CGAL // in case we do not have the code for CGAL #ifndef __FASTJET_TRIANGULATION__ #define __FASTJET_TRIANGULATION__ //FJSTARTHEADER // $Id: Triangulation.hh 4354 2018-04-22 07:12:37Z salam $ // // Copyright (c) 2005-2018, Matteo Cacciari, Gavin P. Salam and Gregory Soyez // //----------------------------...
36.458716
77
0.744338
ZAKI1905
d30e9b47aca32b97d8a7182db8fdd762709681aa
2,451
cpp
C++
BinaryIO/BinaryReader.cpp
ghaffaribehdad/Preprocessor
85165a1259f8dcb1edd92a8113343875dd6085ea
[ "MIT" ]
null
null
null
BinaryIO/BinaryReader.cpp
ghaffaribehdad/Preprocessor
85165a1259f8dcb1edd92a8113343875dd6085ea
[ "MIT" ]
null
null
null
BinaryIO/BinaryReader.cpp
ghaffaribehdad/Preprocessor
85165a1259f8dcb1edd92a8113343875dd6085ea
[ "MIT" ]
null
null
null
#include "BinaryReader.h" #include <fstream> #include <filesystem> // define fs namespace for convenience namespace fs = std::experimental::filesystem; // keep track fo instantiation unsigned int BinaryReader::s_instances = 0; // constructor BinaryReader::BinaryReader(const char* _fileName) { ...
20.771186
80
0.681355
ghaffaribehdad
d310a52a4d42d17e75db3bcf05f0fadc483e91be
1,076
cpp
C++
JTS/CF-B/CF714-D2-B/main.cpp
rahulsrma26/ol_codes
dc599f5b70c14229a001c5239c366ba1b990f68b
[ "MIT" ]
2
2019-03-18T16:06:10.000Z
2019-04-07T23:17:06.000Z
JTS/CF-B/CF714-D2-B/main.cpp
rahulsrma26/ol_codes
dc599f5b70c14229a001c5239c366ba1b990f68b
[ "MIT" ]
null
null
null
JTS/CF-B/CF714-D2-B/main.cpp
rahulsrma26/ol_codes
dc599f5b70c14229a001c5239c366ba1b990f68b
[ "MIT" ]
1
2019-03-18T16:06:52.000Z
2019-03-18T16:06:52.000Z
// Date : 2019-03-29 // Author : Rahul Sharma // Problem : http://codeforces.com/contest/714/problem/B #include <algorithm> #include <iostream> #include <vector> int main() { using namespace std; ios_base::sync_with_stdio(false); cin.tie(0); int n; cin >> n; int a = -1, b = -1, c = -1, ...
18.877193
56
0.358736
rahulsrma26
d310f83c21ed88818d09c47575a6108e2e6884e7
4,603
hpp
C++
System.Drawing/src/Switch/System/Drawing/Png.hpp
kkptm/CppLikeCSharp
b2d8d9da9973c733205aa945c9ba734de0c734bc
[ "MIT" ]
4
2021-10-14T01:43:00.000Z
2022-03-13T02:16:08.000Z
System.Drawing/src/Switch/System/Drawing/Png.hpp
kkptm/CppLikeCSharp
b2d8d9da9973c733205aa945c9ba734de0c734bc
[ "MIT" ]
null
null
null
System.Drawing/src/Switch/System/Drawing/Png.hpp
kkptm/CppLikeCSharp
b2d8d9da9973c733205aa945c9ba734de0c734bc
[ "MIT" ]
2
2022-03-13T02:16:06.000Z
2022-03-14T14:32:57.000Z
#pragma once #define PNG_SKIP_SETJMP_CHECK #include <png.h> #undef PNG_SKIP_SETJMP_CHECK #include <zlib.h> #include <Switch/System/Object.hpp> #include <Switch/System/IO//BinaryReader.hpp> #include "../../../../include/Switch/System/Drawing/Image.hpp" #include "../../../../include/Switch/System/Drawing/Imaging/FrameD...
37.422764
187
0.611123
kkptm
d31146fb16e388b45f401cec225d5c1702cd50b7
2,865
cpp
C++
SDK/src/lgGuiExplorador.cpp
rgr0912/LibreGame
ffce4dbb3abeea1bbc64bb5bea29f76fc44b1e4f
[ "MIT" ]
null
null
null
SDK/src/lgGuiExplorador.cpp
rgr0912/LibreGame
ffce4dbb3abeea1bbc64bb5bea29f76fc44b1e4f
[ "MIT" ]
null
null
null
SDK/src/lgGuiExplorador.cpp
rgr0912/LibreGame
ffce4dbb3abeea1bbc64bb5bea29f76fc44b1e4f
[ "MIT" ]
null
null
null
#include "lgIMGUI.h" Ogre::String objeto; Ogre::SceneNode* _nodeImgui; static int rb = 1; static int rl = 1; void lgGUI::Explorador(bool* p, Ogre::RenderWindow* win, Ogre::SceneManager* manager){ ImGuiWindowFlags window_flags = ImGuiWindowFlags_NoTitleBar; window_flags |= ImGuiWindowFlags_NoTitleBar | ImGuiW...
36.730769
132
0.609773
rgr0912
d312c56b74e161ad7b6c71cf7ae2bf2d04a1e8ec
2,925
cpp
C++
cxx_examples/threshold_detect.cpp
kb3gtn/BladeRF_Setup_Instructions
14f970a5d426a1909ab7d45165c808879bbb1f17
[ "CC0-1.0" ]
1
2021-12-12T15:05:25.000Z
2021-12-12T15:05:25.000Z
cxx_examples/threshold_detect.cpp
kb3gtn/BladeRF_Setup_Instructions
14f970a5d426a1909ab7d45165c808879bbb1f17
[ "CC0-1.0" ]
null
null
null
cxx_examples/threshold_detect.cpp
kb3gtn/BladeRF_Setup_Instructions
14f970a5d426a1909ab7d45165c808879bbb1f17
[ "CC0-1.0" ]
null
null
null
//////////////////////////////////////////// // Threshold Detect // // This is a simple demodulator that just tells // if the received energy is above a threshold // or not. // // You can use a UHF transmitter to transmit // a CW or modulated signal at 446.5 MHz. // // This will indicate if it see the start of the sign...
22.851563
78
0.623248
kb3gtn
d312ea3a6301bf51be5603d1359d3b40e59b6deb
2,793
hpp
C++
include/Camera.hpp
alecwalsh/glfwogltest2
70224838d4851cb308834662763e51eb310f13b2
[ "BSD-2-Clause" ]
null
null
null
include/Camera.hpp
alecwalsh/glfwogltest2
70224838d4851cb308834662763e51eb310f13b2
[ "BSD-2-Clause" ]
null
null
null
include/Camera.hpp
alecwalsh/glfwogltest2
70224838d4851cb308834662763e51eb310f13b2
[ "BSD-2-Clause" ]
null
null
null
#pragma once #include "GameObject.hpp" #include "TimeManager.hpp" #include <Physics/Collision.hpp> #include <cstdint> #include <glm/glm.hpp> // TODO: Add support for roll class Camera : public GameObject { void UpdateViewMatrix() noexcept; void UpdateVectors(glm::vec3 frontVector, glm::vec3 upVector) noexc...
28.5
122
0.619764
alecwalsh
d313f98ad8667c00d7d7247bc551e896620dcf27
20,773
cpp
C++
src/pathfinders.cpp
rweyrauch/AoSSimulator
d2bfbbe0fab904cc543f1a01e62e0b82cf67c27b
[ "MIT" ]
5
2019-02-01T01:41:19.000Z
2021-06-17T02:16:13.000Z
src/pathfinders.cpp
rweyrauch/AoSSimulator
d2bfbbe0fab904cc543f1a01e62e0b82cf67c27b
[ "MIT" ]
2
2020-01-14T16:57:42.000Z
2021-04-01T00:53:18.000Z
src/pathfinders.cpp
rweyrauch/AoSSimulator
d2bfbbe0fab904cc543f1a01e62e0b82cf67c27b
[ "MIT" ]
1
2019-03-02T20:03:51.000Z
2019-03-02T20:03:51.000Z
#include <vector> #include <queue> #include <tuple> #include <cstdlib> #include <climits> #include <random> #include "pathfinders.h" using namespace std; int ExploredNodes; vector<int> Landmarks; vector<vector<int>> LD; int BFSFindPath(const int nStartX, const int nStartY, const int nTargetX, const...
33.504839
107
0.460165
rweyrauch
d3145bbc042c71a96f7ad0f02504129db950bdf6
3,108
cpp
C++
rvalue/perfect forwarding/src/Main.cpp
matt360/ModernCpp
42ab42447d22c9e92f3da12dcb8ac16794668879
[ "MIT" ]
null
null
null
rvalue/perfect forwarding/src/Main.cpp
matt360/ModernCpp
42ab42447d22c9e92f3da12dcb8ac16794668879
[ "MIT" ]
16
2018-03-01T11:18:55.000Z
2018-07-01T17:17:32.000Z
rvalue/perfect forwarding/src/Main.cpp
matzar/ModernCpp
42ab42447d22c9e92f3da12dcb8ac16794668879
[ "MIT" ]
null
null
null
// rvalue and perfect forwarding https://www.justsoftwaresolutions.co.uk/cplusplus/rvalue_references_and_perfect_forwarding.html #include <iostream> #include <vector> class X { std::vector<double> data; public: X() : data(100000) { std::cout << "constructed X!" << std::endl; } // lots of data X(X const& other)...
29.6
267
0.63964
matt360
d3146253c3afc611d1abb7293222712fee2869d6
2,626
cpp
C++
sources/dansandu/glyph/internal/multimap.test.cpp
dansandu/glyph
d7d51bc57000d85eb4fd576e11502eeadbb0a6cf
[ "MIT" ]
null
null
null
sources/dansandu/glyph/internal/multimap.test.cpp
dansandu/glyph
d7d51bc57000d85eb4fd576e11502eeadbb0a6cf
[ "MIT" ]
null
null
null
sources/dansandu/glyph/internal/multimap.test.cpp
dansandu/glyph
d7d51bc57000d85eb4fd576e11502eeadbb0a6cf
[ "MIT" ]
null
null
null
#include "dansandu/glyph/internal/multimap.hpp" #include "catchorg/catch/catch.hpp" #include <set> using dansandu::glyph::internal::multimap::Multimap; using dansandu::glyph::symbol::Symbol; TEST_CASE("Multimap") { SECTION("set values") { auto table = Multimap{}; table[Symbol{0}] = {Symbol{1...
32.825
119
0.562072
dansandu
d319d61cf22889d604b25ed8057f3f1ff23bf12c
4,435
cpp
C++
firmware/library/L1_Drivers/test/gpio_test.cpp
Adam-D-Sanchez/SJSU-Dev2
ecb5bb01912f6f85a76b6715d0e72f2d3062ceed
[ "Apache-2.0" ]
null
null
null
firmware/library/L1_Drivers/test/gpio_test.cpp
Adam-D-Sanchez/SJSU-Dev2
ecb5bb01912f6f85a76b6715d0e72f2d3062ceed
[ "Apache-2.0" ]
null
null
null
firmware/library/L1_Drivers/test/gpio_test.cpp
Adam-D-Sanchez/SJSU-Dev2
ecb5bb01912f6f85a76b6715d0e72f2d3062ceed
[ "Apache-2.0" ]
null
null
null
#include "L0_LowLevel/LPC40xx.h" #include "L1_Drivers/gpio.hpp" #include "L4_Testing/testing_frameworks.hpp" EMIT_ALL_METHODS(Gpio); TEST_CASE("Testing Gpio", "[gpio]") { // Declared constants that are to be used within the different sections // of this unit test constexpr uint8_t kPin0 = 0; constexpr uint8_t...
36.056911
78
0.657046
Adam-D-Sanchez
d31a1bc4f5d321f72ef3f4296b5c9fe2a76dbefc
1,339
cpp
C++
src/gen/PhysXClothState.cpp
BlazesRus/niflib
7e8efb6b2c73a3410135dbd6d73694e29f1e9ce8
[ "BSD-3-Clause" ]
1
2021-12-24T00:42:42.000Z
2021-12-24T00:42:42.000Z
src/gen/PhysXClothState.cpp
BlazesRus/niflib
7e8efb6b2c73a3410135dbd6d73694e29f1e9ce8
[ "BSD-3-Clause" ]
null
null
null
src/gen/PhysXClothState.cpp
BlazesRus/niflib
7e8efb6b2c73a3410135dbd6d73694e29f1e9ce8
[ "BSD-3-Clause" ]
null
null
null
/* Copyright (c) 2005-2020, NIF File Format Library and Tools All rights reserved. Please see niflib.h for license. */ //-----------------------------------NOTICE----------------------------------// // Some of this file is automatically filled in by a Python script. Only // // add custom code in the designated ar...
34.333333
113
0.624347
BlazesRus
d31eac89ad7b1543f83c0bded1103289ffb8d0ff
18,370
cpp
C++
src/lib/rendering/descriptors/DescriptorPool.cpp
Lut99/Rasterizer
453864506db749a93fb82fb17cc5ee88cc4ada01
[ "MIT" ]
1
2021-08-15T19:20:14.000Z
2021-08-15T19:20:14.000Z
src/lib/rendering/descriptors/DescriptorPool.cpp
Lut99/Rasterizer
453864506db749a93fb82fb17cc5ee88cc4ada01
[ "MIT" ]
17
2021-06-05T12:37:04.000Z
2021-10-01T10:20:09.000Z
src/lib/rendering/descriptors/DescriptorPool.cpp
Lut99/Rasterizer
453864506db749a93fb82fb17cc5ee88cc4ada01
[ "MIT" ]
null
null
null
/* DESCRIPTOR POOL.cpp * by Lut99 * * Created: * 26/04/2021, 14:38:48 * Last edited: * 25/05/2021, 18:14:13 * Auto updated? * Yes * * Description: * Contains the DescriptorPool class, which serves as a memory pool for * descriptors, which in turn describe how a certain buffer or other * piece...
42.62181
245
0.721121
Lut99
d31f64e26267dc1b13491335ff3dd9b5b5f51e28
3,313
cpp
C++
hi_snex/snex_parser/snex_jit_SymbolParser.cpp
Matt-Dub/HISE
ae2dd1653e1c8d749a9088edcd573de6252b0b96
[ "Intel" ]
null
null
null
hi_snex/snex_parser/snex_jit_SymbolParser.cpp
Matt-Dub/HISE
ae2dd1653e1c8d749a9088edcd573de6252b0b96
[ "Intel" ]
null
null
null
hi_snex/snex_parser/snex_jit_SymbolParser.cpp
Matt-Dub/HISE
ae2dd1653e1c8d749a9088edcd573de6252b0b96
[ "Intel" ]
null
null
null
/* =========================================================================== * * This file is part of HISE. * Copyright 2016 Christoph Hart * * HISE 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,...
27.380165
126
0.715967
Matt-Dub
d3210fd0c26b61c2ef387e112f839acbc13abf16
4,988
cc
C++
src/ImgProc.cc
abhishekdewan101/RealTimeFaceTracking
393dfd9418bf53e006d6c1fe533ecaca82c80e08
[ "MIT" ]
2
2019-02-20T00:37:57.000Z
2019-02-20T00:38:32.000Z
node_modules/opencv/src/ImgProc.cc
nolim1t/opencv-aws-lambda
744d2cc1e9ac257e24c8a1a33e8a0d53dd8aff56
[ "MIT" ]
null
null
null
node_modules/opencv/src/ImgProc.cc
nolim1t/opencv-aws-lambda
744d2cc1e9ac257e24c8a1a33e8a0d53dd8aff56
[ "MIT" ]
4
2015-03-29T19:50:06.000Z
2021-03-31T18:55:35.000Z
#include "ImgProc.h" #include "Matrix.h" void ImgProc::Init(Handle<Object> target) { Persistent<Object> inner; Local<Object> obj = NanNew<Object>(); NanAssignPersistent(inner, obj); NODE_SET_METHOD(obj, "undistort", Undistort); NODE_SET_METHOD(obj, "initUndistortRectifyMap", InitUndistortRectifyMa...
29.341176
96
0.596231
abhishekdewan101
d323d663b46feee228700e1768c809c4d1307c19
1,100
cpp
C++
source/rho/crypt/tSHA224.cpp
Rhobota/librho
d540cba6227e15ac6ef3dcb6549ed9557f6fee04
[ "BSD-3-Clause" ]
1
2016-09-22T03:27:33.000Z
2016-09-22T03:27:33.000Z
source/rho/crypt/tSHA224.cpp
Rhobota/librho
d540cba6227e15ac6ef3dcb6549ed9557f6fee04
[ "BSD-3-Clause" ]
null
null
null
source/rho/crypt/tSHA224.cpp
Rhobota/librho
d540cba6227e15ac6ef3dcb6549ed9557f6fee04
[ "BSD-3-Clause" ]
null
null
null
#include <rho/crypt/tSHA224.h> #include <rho/crypt/hash_utils.h> #include "sha.h" namespace rho { namespace crypt { tSHA224::tSHA224() : m_context(NULL) { m_context = new SHA256_CTX; SHA224_Init((SHA256_CTX*)m_context); } tSHA224::~tSHA224() { delete ((SHA256_CTX*)m_context); m_context = NULL;...
18.333333
70
0.653636
Rhobota
d32630e21e4b2010a28a11dce1b2982c461e29fc
243
cpp
C++
src/modules/lib/OrderPositionController.cpp
Thorsten-Geppert/Warehouse
b064e5b422d0b484ca702cc4433cbda90f40e009
[ "BSD-3-Clause" ]
null
null
null
src/modules/lib/OrderPositionController.cpp
Thorsten-Geppert/Warehouse
b064e5b422d0b484ca702cc4433cbda90f40e009
[ "BSD-3-Clause" ]
null
null
null
src/modules/lib/OrderPositionController.cpp
Thorsten-Geppert/Warehouse
b064e5b422d0b484ca702cc4433cbda90f40e009
[ "BSD-3-Clause" ]
null
null
null
#include "OrderPositionController.h" OrderPositionController::OrderPositionController( RuntimeInformationType *rit ) : Controller( rit, _N("orders_positions"), // Table _N("orderPositionId"), // Primary key _N("rank") // Sorting ) { }
20.25
49
0.73251
Thorsten-Geppert
d326cb45b82d86ba7639da9e3043fc07cf6adf18
8,013
cc
C++
src/agent/worker.cc
henrybell/cloud-debug-java
387a904d58260637c2433c2191395fd3d93cd765
[ "Apache-2.0" ]
null
null
null
src/agent/worker.cc
henrybell/cloud-debug-java
387a904d58260637c2433c2191395fd3d93cd765
[ "Apache-2.0" ]
null
null
null
src/agent/worker.cc
henrybell/cloud-debug-java
387a904d58260637c2433c2191395fd3d93cd765
[ "Apache-2.0" ]
null
null
null
/** * Copyright 2015 Google Inc. All Rights Reserved. * * 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 appli...
30.12406
80
0.690877
henrybell
d326f30e97bbe3c6b214736073ea6175cdb5fc6c
1,113
cpp
C++
src/python_bindings.cpp
risteon/voxel-traversal
331f390025d23fdc2d6f6e33292625bf42b3264c
[ "MIT" ]
3
2022-03-02T17:17:52.000Z
2022-03-25T09:03:43.000Z
src/python_bindings.cpp
risteon/voxel-traversal
331f390025d23fdc2d6f6e33292625bf42b3264c
[ "MIT" ]
null
null
null
src/python_bindings.cpp
risteon/voxel-traversal
331f390025d23fdc2d6f6e33292625bf42b3264c
[ "MIT" ]
null
null
null
#include "python_bindings.h" #include <pybind11/stl.h> #include "voxel_traversal.h" namespace py = pybind11; using namespace voxel_traversal; namespace pytraversal { py::array_t<int64_t, py::array::c_style> traverse( const grid_type& grid, const grid_type::Vector3d& ray_origin, const grid_type::Vector3d& r...
27.825
75
0.68823
risteon
d328a78b8f0fc5a25dcc8d29380d800d359f106a
20,428
cpp
C++
tests/unit_tests/neutral/windows_runtime/x64_fastcall_thunk.cpp
dbremner/cxxreflect
bbf1649b00755f8463e4a73b28dec4cd5b609493
[ "BSL-1.0" ]
5
2019-03-21T14:52:16.000Z
2021-02-20T13:14:25.000Z
tests/unit_tests/neutral/windows_runtime/x64_fastcall_thunk.cpp
dbremner/cxxreflect
bbf1649b00755f8463e4a73b28dec4cd5b609493
[ "BSL-1.0" ]
null
null
null
tests/unit_tests/neutral/windows_runtime/x64_fastcall_thunk.cpp
dbremner/cxxreflect
bbf1649b00755f8463e4a73b28dec4cd5b609493
[ "BSL-1.0" ]
2
2017-02-17T23:24:23.000Z
2021-07-06T18:10:35.000Z
// Copyright James P. McNellis 2011 - 2013. // // Distributed under the Boost Software License, Version 1.0. // // (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) // // These t...
36.741007
116
0.614059
dbremner
d32d1de1a820b1b8bfc0d9799320170b7033bf32
3,351
cpp
C++
packages/monte_carlo/core/src/MonteCarlo_AdjointPhotonProbeState.cpp
lkersting/SCR-2123
06ae3d92998664a520dc6a271809a5aeffe18f72
[ "BSD-3-Clause" ]
null
null
null
packages/monte_carlo/core/src/MonteCarlo_AdjointPhotonProbeState.cpp
lkersting/SCR-2123
06ae3d92998664a520dc6a271809a5aeffe18f72
[ "BSD-3-Clause" ]
null
null
null
packages/monte_carlo/core/src/MonteCarlo_AdjointPhotonProbeState.cpp
lkersting/SCR-2123
06ae3d92998664a520dc6a271809a5aeffe18f72
[ "BSD-3-Clause" ]
null
null
null
//---------------------------------------------------------------------------// //! //! \file MonteCarlo_AdjointPhotonProbeState.cpp //! \author Alex Robinson //! \brief Adjoint photon probe state class declaration //! //---------------------------------------------------------------------------// // FRENSIE Includ...
28.887931
79
0.670248
lkersting
d32dfef64b2ca3e8da4825a88a07ae9a60a709fb
5,485
cpp
C++
src/currency/Currency.cpp
MiKlTA/Lust_The_Game
aabe4a951ffd7305526466d378ba8b6769c555e8
[ "MIT" ]
null
null
null
src/currency/Currency.cpp
MiKlTA/Lust_The_Game
aabe4a951ffd7305526466d378ba8b6769c555e8
[ "MIT" ]
null
null
null
src/currency/Currency.cpp
MiKlTA/Lust_The_Game
aabe4a951ffd7305526466d378ba8b6769c555e8
[ "MIT" ]
null
null
null
#include "Currency.h" namespace lust { Currency::Currency(const Fraction *owner, AmountType amount) : m_fraction(owner), m_amount(amount) { } Currency::AmountType Currency::getAmount() const { return m_amount; } const Fraction * Currency::getFraction() const { return m_fraction; } cons...
17.693548
71
0.643938
MiKlTA
d32e26774b56bb2ae1536cf128a94005d600741e
2,576
cpp
C++
example/http.cpp
weiboad/adbase
d37ed32b55da24f7799be286c860e280ee0c786a
[ "Apache-2.0" ]
62
2017-02-15T11:36:46.000Z
2022-03-14T09:11:10.000Z
example/http.cpp
AraHaan/adbase
d37ed32b55da24f7799be286c860e280ee0c786a
[ "Apache-2.0" ]
5
2017-02-21T05:32:14.000Z
2017-05-21T13:15:07.000Z
example/http.cpp
AraHaan/adbase
d37ed32b55da24f7799be286c860e280ee0c786a
[ "Apache-2.0" ]
22
2017-02-16T02:11:25.000Z
2020-02-12T18:12:44.000Z
#include <adbase/Http.hpp> #include <adbase/Logging.hpp> #include <signal.h> adbase::http::Server* ghttp = nullptr; adbase::AsyncLogging* _asnclog = nullptr; // {{{ void asyncLogger() void asyncLogger(const char* msg, int len) { if (_asnclog != nullptr) { _asnclog->append(msg, static_cast<int>(len)); } } // }}}...
23.207207
92
0.661102
weiboad
d331beacb373ece45e66f8f29dc97385a437962a
2,026
cpp
C++
CodeForces/CF1009F.cpp
hardik0899/Competitive_Programming
199039ad7a26a5f48152fe231a9ca5ac8685a707
[ "MIT" ]
1
2020-10-16T18:14:30.000Z
2020-10-16T18:14:30.000Z
CodeForces/CF1009F.cpp
hardik0899/Competitive_Programming
199039ad7a26a5f48152fe231a9ca5ac8685a707
[ "MIT" ]
null
null
null
CodeForces/CF1009F.cpp
hardik0899/Competitive_Programming
199039ad7a26a5f48152fe231a9ca5ac8685a707
[ "MIT" ]
1
2021-01-06T04:45:38.000Z
2021-01-06T04:45:38.000Z
#define __USE_MINGW_ANSI_STDIO 0 #include <iostream> #include <iomanip> #include <stdio.h> #include <stdlib.h> #include <vector> #include <algorithm> #include <queue> #include <map> #include <unordered_map> #include <set> #include <unordered_set> #include <stack> #include <deque> #include <string.h> #include <bitset> #...
23.022727
80
0.579467
hardik0899