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
109
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
48.5k
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
4c3d92eacb1af94282bc230c93323753495e4673
671
cpp
C++
LeetCode/198_house_robber/rob.cpp
harveyc95/ProgrammingProblems
d81dc58de0347fa155f5e25f27d3d426ce13cdc6
[ "MIT" ]
null
null
null
LeetCode/198_house_robber/rob.cpp
harveyc95/ProgrammingProblems
d81dc58de0347fa155f5e25f27d3d426ce13cdc6
[ "MIT" ]
null
null
null
LeetCode/198_house_robber/rob.cpp
harveyc95/ProgrammingProblems
d81dc58de0347fa155f5e25f27d3d426ce13cdc6
[ "MIT" ]
null
null
null
class Solution { public: int rob(vector<int>& nums) { if (nums.size() == 0) return 0; if (nums.size() == 1) return nums[0]; std::vector<int> dp (nums.size(), 0); dp[0] = nums[0]; dp[1] = nums[1]; if (nums.size() == 2) return max(dp[0], dp[1]); int maxMon...
33.55
66
0.491803
harveyc95
4c48ce428d67d135060b987cb097f2a7e4f0bf96
3,786
cpp
C++
tests/sort_strings_example.cpp
kurpicz/tlx
a9a8a76c40a734b1f771d6eba482ba7166f1f6b4
[ "BSL-1.0" ]
284
2017-02-26T08:49:15.000Z
2022-03-30T21:55:37.000Z
tests/sort_strings_example.cpp
xiao2mo/tlx
b311126e670753897c1defceeaa75c83d2d9531a
[ "BSL-1.0" ]
24
2017-09-05T21:02:41.000Z
2022-03-07T10:09:59.000Z
tests/sort_strings_example.cpp
xiao2mo/tlx
b311126e670753897c1defceeaa75c83d2d9531a
[ "BSL-1.0" ]
62
2017-02-23T12:29:27.000Z
2022-03-31T07:45:59.000Z
/******************************************************************************* * tests/sort_strings_example.cpp * * Part of tlx - http://panthema.net/tlx * * Copyright (C) 2020 Timo Bingmann <tb@panthema.net> * * All rights reserved. Published under the Boost Software License, Version 1.0 ********************...
28.900763
80
0.51215
kurpicz
4c48f3a0894321dcd250130dd421e2c59419090d
128
hpp
C++
Vendor/GLM/glm/ext/vector_uint4.hpp
wdrDarx/DEngine3
27e2de3b56b6d4c8705e8a0e36f5911d8651caa2
[ "MIT" ]
2
2022-01-11T21:15:31.000Z
2022-02-22T21:14:33.000Z
Vendor/GLM/glm/ext/vector_uint4.hpp
wdrDarx/DEngine3
27e2de3b56b6d4c8705e8a0e36f5911d8651caa2
[ "MIT" ]
null
null
null
Vendor/GLM/glm/ext/vector_uint4.hpp
wdrDarx/DEngine3
27e2de3b56b6d4c8705e8a0e36f5911d8651caa2
[ "MIT" ]
null
null
null
version https://git-lfs.github.com/spec/v1 oid sha256:1afbf32485cf310fb8abd8f9610be2c7fef1fd71a5c4495cad4b942c74832b16 size 417
32
75
0.882813
wdrDarx
4c4be30e3878443d9effb9a9e22ae0838d6e87d2
2,439
hpp
C++
src/mfx/dsp/shape/DistBounce.hpp
mikelange49/pedalevite
a81bd8a6119c5920995ec91b9f70e11e9379580e
[ "WTFPL" ]
null
null
null
src/mfx/dsp/shape/DistBounce.hpp
mikelange49/pedalevite
a81bd8a6119c5920995ec91b9f70e11e9379580e
[ "WTFPL" ]
null
null
null
src/mfx/dsp/shape/DistBounce.hpp
mikelange49/pedalevite
a81bd8a6119c5920995ec91b9f70e11e9379580e
[ "WTFPL" ]
null
null
null
/***************************************************************************** DistBounce.hpp Author: Laurent de Soras, 2018 --- Legal stuff --- This program is free software. It comes without any warranty, to the extent permitted by applicable law. You can redistribute it and/or modify it under the ...
21.584071
78
0.563346
mikelange49
4c53e89752572fe348dd8a7fdc646518d5d98b48
12,660
cc
C++
src/Utilities/iterateIdealH.cc
jmikeowen/Spheral
3e1082a7aefd6b328bd3ae24ca1a477108cfc3c4
[ "BSD-Source-Code", "BSD-3-Clause-LBNL", "FSFAP" ]
22
2018-07-31T21:38:22.000Z
2020-06-29T08:58:33.000Z
src/Utilities/iterateIdealH.cc
jmikeowen/Spheral
3e1082a7aefd6b328bd3ae24ca1a477108cfc3c4
[ "BSD-Source-Code", "BSD-3-Clause-LBNL", "FSFAP" ]
41
2020-09-28T23:14:27.000Z
2022-03-28T17:01:33.000Z
src/Utilities/iterateIdealH.cc
jmikeowen/Spheral
3e1082a7aefd6b328bd3ae24ca1a477108cfc3c4
[ "BSD-Source-Code", "BSD-3-Clause-LBNL", "FSFAP" ]
7
2019-12-01T07:00:06.000Z
2020-09-15T21:12:39.000Z
//------------------------------------------------------------------------------ // Iterate the ideal H algorithm to converge on a new H field. // This routine replaces the H field in place. //------------------------------------------------------------------------------ #include "iterateIdealH.hh" #include "Field/Fiel...
37.455621
105
0.584834
jmikeowen
4c5707c14fa320d7b997f11c6df0b19a42788ebe
3,696
cpp
C++
src/nbl/video/IPhysicalDevice.cpp
deprilula28/Nabla
6b5de216221718191713dcf6de8ed6407182ddf0
[ "Apache-2.0" ]
null
null
null
src/nbl/video/IPhysicalDevice.cpp
deprilula28/Nabla
6b5de216221718191713dcf6de8ed6407182ddf0
[ "Apache-2.0" ]
null
null
null
src/nbl/video/IPhysicalDevice.cpp
deprilula28/Nabla
6b5de216221718191713dcf6de8ed6407182ddf0
[ "Apache-2.0" ]
null
null
null
#include "nbl/video/IPhysicalDevice.h" namespace nbl::video { IPhysicalDevice::IPhysicalDevice(core::smart_refctd_ptr<system::ISystem>&& s, core::smart_refctd_ptr<asset::IGLSLCompiler>&& glslc) : m_system(std::move(s)), m_GLSLCompiler(std::move(glslc)) { } void IPhysicalDevice::addCommonGLSLDefines(std::ostrings...
42.976744
137
0.761093
deprilula28
4c586bbb63dbe59906ec2df3117c23c85a6c9fc1
6,077
hpp
C++
src/core/pin_mesh_base.hpp
tp-ntouran/mocc
77d386cdf341b1a860599ff7c6e4017d46e0b102
[ "Apache-2.0" ]
11
2016-03-31T17:46:15.000Z
2022-02-14T01:07:56.000Z
src/core/pin_mesh_base.hpp
tp-ntouran/mocc
77d386cdf341b1a860599ff7c6e4017d46e0b102
[ "Apache-2.0" ]
3
2016-04-04T16:40:47.000Z
2019-10-16T22:22:54.000Z
src/core/pin_mesh_base.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 ...
30.084158
80
0.648017
tp-ntouran
4c61eb3fc7ad06b5159b7ffb6a1d040791b07154
604
cpp
C++
HDU/5443.cpp
Superdanby/YEE
49a6349dc5644579246623b480777afbf8031fcd
[ "MIT" ]
1
2019-09-07T15:56:05.000Z
2019-09-07T15:56:05.000Z
HDU/5443.cpp
Superdanby/YEE
49a6349dc5644579246623b480777afbf8031fcd
[ "MIT" ]
null
null
null
HDU/5443.cpp
Superdanby/YEE
49a6349dc5644579246623b480777afbf8031fcd
[ "MIT" ]
null
null
null
//httpacm.hdu.edu.cnshowproblem.phppid=5443 #include <iostream> using namespace std; int cases, water, query; int main() { scanf("%d", &cases); while(cases--) { scanf("%d", &water); int W[water]; for(int x=0; x<water; x++) scanf("%d", &W[x]); scanf("%d", &query)...
20.827586
43
0.440397
Superdanby
4c6412b497606b2ef8f4b66092e7ae1d9fb47cca
2,339
cc
C++
src/arch/beos/cbm5x0ui.cc
swingflip/C64_mini_VICE
7a6d9d41ae60409a2bb985bb8d6324a7269a0daa
[ "Apache-2.0" ]
2
2018-11-15T19:52:34.000Z
2022-01-17T19:45:01.000Z
src/arch/beos/cbm5x0ui.cc
Classicmods/C64_mini_VICE
7a6d9d41ae60409a2bb985bb8d6324a7269a0daa
[ "Apache-2.0" ]
null
null
null
src/arch/beos/cbm5x0ui.cc
Classicmods/C64_mini_VICE
7a6d9d41ae60409a2bb985bb8d6324a7269a0daa
[ "Apache-2.0" ]
3
2019-06-30T05:37:04.000Z
2021-12-04T17:12:35.000Z
/* * cbm5x0ui.cc - CBM5x0-specific user interface. * * Written by * Marcus Sutton <loggedoubt@gmail.com> * * This file is part of VICE, the Versatile Commodore Emulator. * See README for copyright notice. * * This program is free software; you can redistribute it and/or modify * it under the terms of the G...
26.280899
72
0.690038
swingflip
4c6bea12759255848c3d87615522d087bb847ad7
11,251
hpp
C++
contrib/TAMM/src/tamm/eigen_utils.hpp
smferdous1/gfcc
e7112c0dd60566266728e4d51ea8d30aea4b775d
[ "MIT" ]
4
2020-10-14T17:43:00.000Z
2021-06-21T08:23:01.000Z
contrib/TAMM/src/tamm/eigen_utils.hpp
smferdous1/gfcc
e7112c0dd60566266728e4d51ea8d30aea4b775d
[ "MIT" ]
3
2020-06-03T19:54:30.000Z
2022-03-10T22:59:30.000Z
contrib/TAMM/src/tamm/eigen_utils.hpp
smferdous1/gfcc
e7112c0dd60566266728e4d51ea8d30aea4b775d
[ "MIT" ]
6
2020-06-08T03:54:16.000Z
2022-03-02T17:47:51.000Z
#ifndef TAMM_EIGEN_UTILS_HPP_ #define TAMM_EIGEN_UTILS_HPP_ // Eigen matrix algebra library #include "tamm/tamm.hpp" #include <Eigen/Dense> #include <unsupported/Eigen/CXX11/Tensor> #undef I using EigenTensorType=double; using Matrix = Eigen::Matrix<EigenTensorType, Eigen::Dynamic, Eigen::Dynamic, Eigen::RowMajor>;...
35.71746
128
0.607413
smferdous1
4c705d4909c13e6b1fad2a89085c029747a42d7c
11,419
cc
C++
quadris/grid.cc
kevinli9094/my_projects
fe38528e0cf3cebf1aba73fb69bca66a9c4d4ed7
[ "MIT" ]
null
null
null
quadris/grid.cc
kevinli9094/my_projects
fe38528e0cf3cebf1aba73fb69bca66a9c4d4ed7
[ "MIT" ]
null
null
null
quadris/grid.cc
kevinli9094/my_projects
fe38528e0cf3cebf1aba73fb69bca66a9c4d4ed7
[ "MIT" ]
null
null
null
#include "grid.h" #include "cell.h" #include "textdisplay.h" #include "block.h" #include <iostream> #include <string> #include <sstream> #include "window.h" using namespace std; Grid::Grid() : score(0), highscore(0), currentLevel(0){ W.fillRectangle(452, 0, 2, 814, Xwindow::Black); W.drawString(470, 10, "Next:", ...
28.334988
118
0.523163
kevinli9094
4c71d8f6475c29e56ba7811deaad7ae3556f5256
5,562
cpp
C++
main/solver/Solver.cpp
JLUCPGROUP/csptest
0475c631a48511dd35e63397a74cbdf1388cf495
[ "MIT" ]
null
null
null
main/solver/Solver.cpp
JLUCPGROUP/csptest
0475c631a48511dd35e63397a74cbdf1388cf495
[ "MIT" ]
null
null
null
main/solver/Solver.cpp
JLUCPGROUP/csptest
0475c631a48511dd35e63397a74cbdf1388cf495
[ "MIT" ]
null
null
null
#include "Solver.h" namespace cudacp { VarEvt::VarEvt(Network* m) : size_(m->vars.size()), cur_size_(0) { vars = m->vars; } IntVar* VarEvt::operator[](const int i) const { return vars[i]; } int VarEvt::size() const { return cur_size_; } IntVar* VarEvt::at(const int i) const { return vars[i]; } void VarEvt::...
23.871245
83
0.634304
JLUCPGROUP
4c72a3bc63829c57f6812d99dc1fd8563948190e
485
hpp
C++
plugins/opengl/include/sge/opengl/vf/color_formats.hpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
2
2016-01-27T13:18:14.000Z
2018-05-11T01:11:32.000Z
plugins/opengl/include/sge/opengl/vf/color_formats.hpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
null
null
null
plugins/opengl/include/sge/opengl/vf/color_formats.hpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
3
2018-05-11T01:11:34.000Z
2021-04-24T19:47:45.000Z
// Copyright Carl Philipp Reh 2006 - 2019. // 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) #ifndef SGE_OPENGL_VF_COLOR_FORMATS_HPP_INCLUDED #define SGE_OPENGL_VF_COLOR_FORMATS_HPP_INCLUDED ...
25.526316
64
0.756701
cpreh
dbc96ef5cb52031d3609435909e9480440bb0cd3
4,465
cc
C++
src/PhysicsListMessenger.cc
phirippu/instrument-simulation
0a7cec84d8945a6f11e0ddca00f1e8fc0d32d7f8
[ "CC-BY-4.0" ]
null
null
null
src/PhysicsListMessenger.cc
phirippu/instrument-simulation
0a7cec84d8945a6f11e0ddca00f1e8fc0d32d7f8
[ "CC-BY-4.0" ]
null
null
null
src/PhysicsListMessenger.cc
phirippu/instrument-simulation
0a7cec84d8945a6f11e0ddca00f1e8fc0d32d7f8
[ "CC-BY-4.0" ]
1
2021-03-08T16:01:14.000Z
2021-03-08T16:01:14.000Z
// // ******************************************************************** // * License and Disclaimer * // * * // * The Geant4 software is copyright of the Copyright Holders of * // * the Geant4 Collaboration...
39.166667
103
0.542889
phirippu
dbcf9fe3ceb5d9de21cb26fedab6a6036cac3475
4,247
cpp
C++
mytunesmodel.cpp
Liz-Davies/2404
a0d9e9c27286eccc9a086290ea223b41edabe248
[ "FSFAP" ]
null
null
null
mytunesmodel.cpp
Liz-Davies/2404
a0d9e9c27286eccc9a086290ea223b41edabe248
[ "FSFAP" ]
null
null
null
mytunesmodel.cpp
Liz-Davies/2404
a0d9e9c27286eccc9a086290ea223b41edabe248
[ "FSFAP" ]
null
null
null
/* * * * * * * * * * * * * * * * * * * * * * * * * * */ /* */ /* Program: MyTunes Music Player */ /* Author: Louis Nel */ /* Sarah Davies - 100828244 */ /* Mike Sayegh - 101029473 */ /* Date: 21-SEP-2017 ...
33.179688
99
0.597598
Liz-Davies
dbd396b0cf7ed94ed6ebcd2d8bff470bfb0937cf
35,218
cpp
C++
test/blocks/electron/testcases_electron.cpp
awietek/hydra
724a101500e308e91186a5cd6c5c520d8b343a6c
[ "Apache-2.0" ]
null
null
null
test/blocks/electron/testcases_electron.cpp
awietek/hydra
724a101500e308e91186a5cd6c5c520d8b343a6c
[ "Apache-2.0" ]
null
null
null
test/blocks/electron/testcases_electron.cpp
awietek/hydra
724a101500e308e91186a5cd6c5c520d8b343a6c
[ "Apache-2.0" ]
null
null
null
#include "testcases_electron.h" namespace hydra::testcases::electron { std::tuple<BondList, Couplings> get_linear_chain(int n_sites, double t, double U) { // Create model BondList bondlist; for (int s = 0; s < n_sites; ++s) bondlist << Bond("HOP", "T", {s, (s...
43.586634
80
0.502158
awietek
dbdb9256aa2526eec206e98330cdfafd568fbafd
32,093
cpp
C++
src/Person.cpp
MasterMenOfficial/CSPSP-Client
d8ab8cc52543ca4cb136aab98c10d3efb61f8ebe
[ "BSD-3-Clause" ]
3
2021-01-20T08:57:23.000Z
2021-11-21T02:10:13.000Z
src/Person.cpp
MasterMenSilver/PSP-CSPSP-Client
d8ab8cc52543ca4cb136aab98c10d3efb61f8ebe
[ "BSD-3-Clause" ]
1
2018-06-26T00:02:20.000Z
2020-10-20T21:07:54.000Z
src/Person.cpp
MasterMenOfficial/CSPSP-1.92-rev9.0-Source-Code
d8ab8cc52543ca4cb136aab98c10d3efb61f8ebe
[ "BSD-3-Clause" ]
null
null
null
#include "Person.h" #include "Globals.h" JRenderer* Person::mRenderer = NULL; JSoundSystem* Person::mSoundSystem = NULL; //------------------------------------------------------------------------------------------------ Person::Person(JQuad* quads[], JQuad* deadquad, std::vector<Bullet*>* bullets, std::vector<GunObje...
25.756822
156
0.601034
MasterMenOfficial
dbdd6d99ee992b4585d632517f4f5fd627ded9f8
1,187
cpp
C++
oled/main.cpp
FaizalSupriadi/IPASS
a5543f5b6ddd5da799148f09d7e59ec14f2b14fa
[ "BSL-1.0" ]
null
null
null
oled/main.cpp
FaizalSupriadi/IPASS
a5543f5b6ddd5da799148f09d7e59ec14f2b14fa
[ "BSL-1.0" ]
null
null
null
oled/main.cpp
FaizalSupriadi/IPASS
a5543f5b6ddd5da799148f09d7e59ec14f2b14fa
[ "BSL-1.0" ]
null
null
null
#include "oled.hpp" #include "ball.hpp" #include <array> int main( void ){ namespace target = hwlib::target; auto scl = target::pin_oc( target::pins::scl ); auto sda = target::pin_oc( target::pins::sda ); auto i2c_bus = hwlib::i2c_bus_bit_banged_scl_sda( scl,sda ); auto display = oled( i2c_bu...
26.377778
74
0.528222
FaizalSupriadi
dbe03d19ea3fb4556459dcbde7ba94c8739445a5
1,895
cpp
C++
main.cpp
nks5117/MyCalc
f2fa2b344da94065239cbd09ca85b1c25f00290d
[ "MIT" ]
null
null
null
main.cpp
nks5117/MyCalc
f2fa2b344da94065239cbd09ca85b1c25f00290d
[ "MIT" ]
null
null
null
main.cpp
nks5117/MyCalc
f2fa2b344da94065239cbd09ca85b1c25f00290d
[ "MIT" ]
null
null
null
// main.cpp // Copyright (c) 2018 Ni Kesu. All rights reserved. #include <iostream> #include <string> #include <vector> #include <ctime> #include "bigint.h" #include "token.h" #include "expression.h" #include "variable.h" #ifdef TIME #include <ctime> #endif using std::cin; using std::cout; using ...
21.055556
79
0.553562
nks5117
dbe457c9850da84925d57176ca89b390a9d32715
376
cpp
C++
dp/longest-increasing-subsequence.cpp
beet-aizu/library-2
51579421d2c695ae298eed3943ca90f5224f768a
[ "Unlicense" ]
null
null
null
dp/longest-increasing-subsequence.cpp
beet-aizu/library-2
51579421d2c695ae298eed3943ca90f5224f768a
[ "Unlicense" ]
null
null
null
dp/longest-increasing-subsequence.cpp
beet-aizu/library-2
51579421d2c695ae298eed3943ca90f5224f768a
[ "Unlicense" ]
1
2020-10-14T20:51:44.000Z
2020-10-14T20:51:44.000Z
template< typename T > size_t longest_increasing_subsequence(const vector< T > &a, bool strict) { vector< T > lis; for(auto &p : a) { typename vector< T >::iterator it; if(strict) it = lower_bound(begin(lis), end(lis), p); else it = upper_bound(begin(lis), end(lis), p); if(end(lis) == it) lis.emplac...
28.923077
74
0.62234
beet-aizu
dbe77bfa29b3acaa6bab9cfc57dfee288b284139
6,127
cpp
C++
src/services/pcn-nat/src/RuleDnatEntry.cpp
mbertrone/polycube
b35a6aa13273c000237d53c5f1bf286f12e4b9bd
[ "ECL-2.0", "Apache-2.0" ]
1
2020-07-16T04:49:29.000Z
2020-07-16T04:49:29.000Z
src/services/pcn-nat/src/RuleDnatEntry.cpp
mbertrone/polycube
b35a6aa13273c000237d53c5f1bf286f12e4b9bd
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
src/services/pcn-nat/src/RuleDnatEntry.cpp
mbertrone/polycube
b35a6aa13273c000237d53c5f1bf286f12e4b9bd
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
/* * Copyright 2018 The Polycube Authors * * 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 agree...
30.944444
80
0.681573
mbertrone
dbebb4e9cbedf7bafba78905508e2ea789ac01fb
1,418
cpp
C++
lib/colortwist_ipp.cpp
ptahmose/colortwist
6234d952d2550ad8d4f1fdd89f351d06fcdc78db
[ "BSD-2-Clause" ]
null
null
null
lib/colortwist_ipp.cpp
ptahmose/colortwist
6234d952d2550ad8d4f1fdd89f351d06fcdc78db
[ "BSD-2-Clause" ]
1
2020-10-25T19:53:38.000Z
2020-10-25T19:53:38.000Z
lib/colortwist_ipp.cpp
ptahmose/colortwist
6234d952d2550ad8d4f1fdd89f351d06fcdc78db
[ "BSD-2-Clause" ]
null
null
null
#include "colortwist.h" #include "colortwist_config.h" #if COLORTWISTLIB_HASIPP #include "utils.h" #include <ipp.h> using namespace colortwist; StatusCode colorTwistRGB48_IPP(const void* pSrc, std::uint32_t width, std::uint32_t height, int strideSrc, void* pDst, std::int32_t strideDst, const float* twistMatrix) { ...
39.388889
177
0.723554
ptahmose
dbed25ed91935f7368b91c880e51a28ea3ba8fba
6,823
cpp
C++
modules/tracktion_engine/model/edit/tracktion_PitchSequence.cpp
jbloit/tracktion_engine
b3fa7d6a3a404f64ae419abdf9c801d672cffb16
[ "MIT", "Unlicense" ]
null
null
null
modules/tracktion_engine/model/edit/tracktion_PitchSequence.cpp
jbloit/tracktion_engine
b3fa7d6a3a404f64ae419abdf9c801d672cffb16
[ "MIT", "Unlicense" ]
null
null
null
modules/tracktion_engine/model/edit/tracktion_PitchSequence.cpp
jbloit/tracktion_engine
b3fa7d6a3a404f64ae419abdf9c801d672cffb16
[ "MIT", "Unlicense" ]
null
null
null
/* ,--. ,--. ,--. ,--. ,-' '-.,--.--.,--,--.,---.| |,-.,-' '-.`--' ,---. ,--,--, Copyright 2018 '-. .-'| .--' ,-. | .--'| /'-. .-',--.| .-. || \ Tracktion Software | | | | \ '-' \ `--.| \ \ | | | |' '-' '| || | Corporation `---' `--' `...
27.623482
120
0.5757
jbloit
dbf0eced071dc9d3cb472b01f0c0649e75d58148
2,709
cpp
C++
Source/Ui/TreeItems/OnexTreeZlibItem.cpp
Pumbaa98/OnexExplorer
eaee2aa9f0e71b9960da586f425f79e628013021
[ "BSL-1.0" ]
14
2019-06-19T18:49:55.000Z
2020-05-30T12:09:12.000Z
Source/Ui/TreeItems/OnexTreeZlibItem.cpp
Pumbaa98/OnexExplorer
eaee2aa9f0e71b9960da586f425f79e628013021
[ "BSL-1.0" ]
34
2019-06-21T20:19:11.000Z
2019-12-10T22:16:54.000Z
Source/Ui/TreeItems/OnexTreeZlibItem.cpp
Pumba98/OnexExplorer
eaee2aa9f0e71b9960da586f425f79e628013021
[ "BSL-1.0" ]
3
2020-08-30T03:09:12.000Z
2021-12-26T18:01:20.000Z
#include "OnexTreeZlibItem.h" #include <QDate> OnexTreeZlibItem::OnexTreeZlibItem(const QString &name, NosZlibOpener *opener, QByteArray content, int id, int creationDate, bool compressed) : OnexTreeItem(name, opener, content), id(id), creationDate(creationDate), compressed(compressed) { if (crea...
34.291139
141
0.647471
Pumbaa98
dbf3ef314931c15334401a0c51b45759e4e63f13
458
hh
C++
include/Bina_RunAction.hh
fenu-exp/BINA.simulation
11c32e5abcd117a9d79d550d8d90028a0cc05835
[ "MIT" ]
null
null
null
include/Bina_RunAction.hh
fenu-exp/BINA.simulation
11c32e5abcd117a9d79d550d8d90028a0cc05835
[ "MIT" ]
null
null
null
include/Bina_RunAction.hh
fenu-exp/BINA.simulation
11c32e5abcd117a9d79d550d8d90028a0cc05835
[ "MIT" ]
null
null
null
#ifndef Bina_RunAction_h #define Bina_RunAction_h 1 #include "G4UserRunAction.hh" #include "globals.hh" #include "time.h" #include "g4root.hh" class G4Run; class Bina_RunAction : public G4UserRunAction { public: Bina_RunAction(bool); virtual ~Bina_RunAction(); virtual void BeginOfRunAction(const G4Run*...
17.615385
49
0.716157
fenu-exp
dbffda099bb561610ccce893764c56a956320804
23,298
hpp
C++
src/metadata.hpp
olivia76/cpp-sas7bdat
1cd22561a13ee3df6bcec0b057f928de2014b81f
[ "Apache-2.0" ]
4
2021-12-23T13:24:03.000Z
2022-02-24T10:20:12.000Z
src/metadata.hpp
olivia76/cpp-sas7bdat
1cd22561a13ee3df6bcec0b057f928de2014b81f
[ "Apache-2.0" ]
6
2022-02-23T14:05:53.000Z
2022-03-17T13:47:46.000Z
src/metadata.hpp
olivia76/cpp-sas7bdat
1cd22561a13ee3df6bcec0b057f928de2014b81f
[ "Apache-2.0" ]
null
null
null
/** * \file src/metadata.hpp * * \brief Metadata reading * * \author Olivia Quinet */ #ifndef _CPP_SAS7BDAT_SRC_METADATA_HPP_ #define _CPP_SAS7BDAT_SRC_METADATA_HPP_ #include "formatters.hpp" #include "page.hpp" namespace cppsas7bdat { namespace INTERNAL { constexpr const std::string_view COLUMN_DATETIME_F...
44.546845
80
0.651687
olivia76
e001a967cddba7e6a3bea2882b635095df873de8
1,846
hpp
C++
include/emr/detail/marked_ptr.hpp
mpoeter/emr
390ee0c3b92b8ad0adb897177202e1dd2c53a1b7
[ "MIT" ]
43
2017-12-07T13:28:02.000Z
2022-03-23T13:51:11.000Z
include/emr/detail/marked_ptr.hpp
mpoeter/emr
390ee0c3b92b8ad0adb897177202e1dd2c53a1b7
[ "MIT" ]
1
2019-07-22T17:08:17.000Z
2019-07-24T04:58:09.000Z
include/emr/detail/marked_ptr.hpp
mpoeter/emr
390ee0c3b92b8ad0adb897177202e1dd2c53a1b7
[ "MIT" ]
2
2019-02-26T08:26:53.000Z
2019-10-17T04:06:16.000Z
#pragma once #include <cassert> #include <cstdint> #include <cstddef> namespace emr { namespace detail { template <class T, std::size_t N> class marked_ptr { public: // Construct a marked ptr marked_ptr(T* p = nullptr, uintptr_t mark = 0) noexcept { assert(mark <= MarkMask && ...
31.827586
103
0.619177
mpoeter
e003be90313c7870a28c28c1b5ce22ea1c04647c
1,730
cpp
C++
Module4/AYonaty_MergeSort/Source.cpp
ariyonaty/ECE3310
845d7204c16e84712fab2e25f79c0f16cb1e7c99
[ "MIT" ]
null
null
null
Module4/AYonaty_MergeSort/Source.cpp
ariyonaty/ECE3310
845d7204c16e84712fab2e25f79c0f16cb1e7c99
[ "MIT" ]
null
null
null
Module4/AYonaty_MergeSort/Source.cpp
ariyonaty/ECE3310
845d7204c16e84712fab2e25f79c0f16cb1e7c99
[ "MIT" ]
1
2021-09-22T04:01:52.000Z
2021-09-22T04:01:52.000Z
/* * Ari Yonaty * ECE3310 * MergeSort */ #include <iostream> #define N 10 void display(double*, int); void mergeSort(double*, double*, int); void bubbleSort(double*, int n); void swap(double* x, double* y); int main() { int x1[N], y1[N], x2[N], y2[N]; double a[N], b[N]; for (int i = 0; i < N; i++) { x1[i] = ...
15.043478
52
0.500578
ariyonaty
e00444a132d9267e92c2dcec29f71e6c7b7a02e3
1,401
cc
C++
src/cut_tree/greedy_treepacking.cc
math314/cut-tree
0332ba0907af9a900e8c0c29c51a66428d9bed4b
[ "MIT" ]
11
2016-09-27T06:49:44.000Z
2021-11-17T01:12:23.000Z
iwiwi/src/agl/cut_tree/greedy_treepacking.cc
imos/icfpc2017
d50c76b1f44e9289a92f564f319750049d952a5d
[ "MIT" ]
null
null
null
iwiwi/src/agl/cut_tree/greedy_treepacking.cc
imos/icfpc2017
d50c76b1f44e9289a92f564f319750049d952a5d
[ "MIT" ]
2
2016-10-01T16:32:44.000Z
2018-10-10T13:41:55.000Z
#include "greedy_treepacking.h" DEFINE_int32(cut_tree_gtp_dfs_edge_max, 1000000000, "greedy tree packing breadth limit"); using namespace std; namespace agl { void greedy_treepacking::dfs(int v) { used_revision_[v] = vertices_revision_; auto& to_edges = edges_[v]; const int rem_edges = min(to_edges.size(), FLA...
28.02
89
0.638116
math314
e0074d5e13c7c6e6017b47a8ff8e2a7a4efd3403
1,756
cpp
C++
server/util/pending_buffer_test.cpp
RickAi/csci5570
2814c0a6bf608c73bf81d015d13e63443470e457
[ "Apache-2.0" ]
7
2019-04-09T16:25:49.000Z
2021-12-07T10:29:52.000Z
server/util/pending_buffer_test.cpp
RickAi/csci5570
2814c0a6bf608c73bf81d015d13e63443470e457
[ "Apache-2.0" ]
null
null
null
server/util/pending_buffer_test.cpp
RickAi/csci5570
2814c0a6bf608c73bf81d015d13e63443470e457
[ "Apache-2.0" ]
4
2019-08-07T07:43:27.000Z
2021-05-21T07:54:14.000Z
#include "glog/logging.h" #include "gtest/gtest.h" #include "server/util/pending_buffer.hpp" namespace minips { namespace { class TestPendingBuffer : public testing::Test { public: TestPendingBuffer() {} ~TestPendingBuffer() {} protected: void SetUp()...
27.4375
78
0.531891
RickAi
e00a4486dab6c5fca623b352aa77483c766abc0d
228
hpp
C++
pythran/pythonic/include/string/digits.hpp
xmar/pythran
dbf2e8b70ed1e4d4ac6b5f26ead4add940a72592
[ "BSD-3-Clause" ]
null
null
null
pythran/pythonic/include/string/digits.hpp
xmar/pythran
dbf2e8b70ed1e4d4ac6b5f26ead4add940a72592
[ "BSD-3-Clause" ]
null
null
null
pythran/pythonic/include/string/digits.hpp
xmar/pythran
dbf2e8b70ed1e4d4ac6b5f26ead4add940a72592
[ "BSD-3-Clause" ]
null
null
null
#ifndef PYTHONIC_INCLUDE_STRING_DIGITS_HPP #define PYTHONIC_INCLUDE_STRING_DIGITS_HPP #include "pythonic/types/str.hpp" namespace pythonic { namespace string { types::str constexpr digits("0123456789"); } } #endif
14.25
46
0.77193
xmar
e00caeb79471fbd2811df2c101ec23e660c1ad7f
1,340
cpp
C++
LeetCode practice/Finite state machine/best-time-to-buy-and-sell-stock-iii.cpp
19hkm/algorithms
6b4494ca9165e77b9c2672d88e8a89838e8eef8f
[ "MIT" ]
null
null
null
LeetCode practice/Finite state machine/best-time-to-buy-and-sell-stock-iii.cpp
19hkm/algorithms
6b4494ca9165e77b9c2672d88e8a89838e8eef8f
[ "MIT" ]
null
null
null
LeetCode practice/Finite state machine/best-time-to-buy-and-sell-stock-iii.cpp
19hkm/algorithms
6b4494ca9165e77b9c2672d88e8a89838e8eef8f
[ "MIT" ]
null
null
null
class Solution { public: inline void prepLeftSell(vector<int> &prices, vector<vector<int>> &dp){ int n = prices.size(), mini =1e5+1, maxi =0, maxP=0; for(int i=0; i<n; i++){ if(prices[i]<mini){ mini = prices[i]; maxi = 0; } else if(prices[...
27.916667
77
0.420149
19hkm
e00e5e489184811fd9226712410bf485eca208fd
410
hpp
C++
libs/core/math/include/bksge/core/math/fwd/color_fwd.hpp
myoukaku/bksge
0f8b60e475a3f1709723906e4796b5e60decf06e
[ "MIT" ]
4
2018-06-10T13:35:32.000Z
2021-06-03T14:27:41.000Z
libs/core/math/include/bksge/core/math/fwd/color_fwd.hpp
myoukaku/bksge
0f8b60e475a3f1709723906e4796b5e60decf06e
[ "MIT" ]
566
2017-01-31T05:36:09.000Z
2022-02-09T05:04:37.000Z
libs/core/math/include/bksge/core/math/fwd/color_fwd.hpp
myoukaku/bksge
0f8b60e475a3f1709723906e4796b5e60decf06e
[ "MIT" ]
1
2018-07-05T04:40:53.000Z
2018-07-05T04:40:53.000Z
/** * @file color_fwd.hpp * * @brief Color の前方宣言 * * @author myoukaku */ #ifndef BKSGE_CORE_MATH_FWD_COLOR_FWD_HPP #define BKSGE_CORE_MATH_FWD_COLOR_FWD_HPP #include <cstddef> namespace bksge { namespace math { template <typename T, std::size_t N> class Color; } // namespace math u...
13.666667
44
0.682927
myoukaku
e01026b722c20138f6ce9f273ec4ed1d1362477e
277
hpp
C++
lib/state/parser.hpp
julienlopez/Aronda-RL
d93602d2ebab0a099f16d316b488f2d4a6713aaf
[ "MIT" ]
null
null
null
lib/state/parser.hpp
julienlopez/Aronda-RL
d93602d2ebab0a099f16d316b488f2d4a6713aaf
[ "MIT" ]
1
2018-04-04T08:45:24.000Z
2018-04-04T08:45:24.000Z
lib/state/parser.hpp
julienlopez/Aronda-RL
d93602d2ebab0a099f16d316b488f2d4a6713aaf
[ "MIT" ]
null
null
null
#pragma once #include "state.hpp" #include <nlohmann_json/json.hpp> namespace Aronda::State { class Parser { public: static GameState parse(const std::string& json_string); static Square parseSquare(const nlohmann::json& square, const Player current_player); }; }
15.388889
89
0.740072
julienlopez
e015742e016dd048e33cb43e397a4e076d9951ef
1,660
cpp
C++
src/netpayload/BinaryNetPayloadBase.cpp
andriyadi/PulseOximeterLib
f93ddea3fdc506a9937c410be147d658e5fed62d
[ "MIT" ]
null
null
null
src/netpayload/BinaryNetPayloadBase.cpp
andriyadi/PulseOximeterLib
f93ddea3fdc506a9937c410be147d658e5fed62d
[ "MIT" ]
null
null
null
src/netpayload/BinaryNetPayloadBase.cpp
andriyadi/PulseOximeterLib
f93ddea3fdc506a9937c410be147d658e5fed62d
[ "MIT" ]
null
null
null
// // Created by Andri Yadi on 1/25/17. // #include "BinaryNetPayloadBase.h" BinaryNetPayloadBase::~BinaryNetPayloadBase() { } void BinaryNetPayloadBase::copyTo(uint8_t* buffer, size_t size) const { if (size < getSize()) { // TODO failed sanity check! return; } memcpy(buffer, getBuffer(...
24.776119
115
0.66988
andriyadi
e017d3db3377c8f32921357f19817e94a0bfda74
2,379
cxx
C++
HallA/THaVDCHit.cxx
chandabindu/analyzer
889be785858769446662ddf9ba250cc9d203bc47
[ "BSD-3-Clause" ]
null
null
null
HallA/THaVDCHit.cxx
chandabindu/analyzer
889be785858769446662ddf9ba250cc9d203bc47
[ "BSD-3-Clause" ]
null
null
null
HallA/THaVDCHit.cxx
chandabindu/analyzer
889be785858769446662ddf9ba250cc9d203bc47
[ "BSD-3-Clause" ]
null
null
null
/////////////////////////////////////////////////////////////////////////////// // // // THaVDCHit // // // ...
33.985714
79
0.570408
chandabindu
e018e31589187c6fc952e9abd3dfc6967b20aa87
25,774
cpp
C++
foedus_code/experiments-core/src/foedus/graphlda/lda.cpp
sam1016yu/cicada-exp-sigmod2017
64e582370076b2923d37b279d1c32730babc15f8
[ "Apache-2.0" ]
null
null
null
foedus_code/experiments-core/src/foedus/graphlda/lda.cpp
sam1016yu/cicada-exp-sigmod2017
64e582370076b2923d37b279d1c32730babc15f8
[ "Apache-2.0" ]
null
null
null
foedus_code/experiments-core/src/foedus/graphlda/lda.cpp
sam1016yu/cicada-exp-sigmod2017
64e582370076b2923d37b279d1c32730babc15f8
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2014-2015, Hewlett-Packard Development Company, LP. * 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 the Free * Software Foundation; either version 2 of the License, or (at your option) * any later versi...
36.767475
100
0.680376
sam1016yu
e0208280f335a12f6264e041e2da3936af6a783e
371
cpp
C++
test/src/access.cpp
mathchq/rapidstring
b9cd820ebe3076797ff82c7a3ca741b4bef74961
[ "MIT" ]
1
2019-11-11T13:02:15.000Z
2019-11-11T13:02:15.000Z
test/src/access.cpp
mathchq/rapidstring
b9cd820ebe3076797ff82c7a3ca741b4bef74961
[ "MIT" ]
null
null
null
test/src/access.cpp
mathchq/rapidstring
b9cd820ebe3076797ff82c7a3ca741b4bef74961
[ "MIT" ]
null
null
null
#include "utility.hpp" #include <string> TEST_CASE("data") { const std::string first{ "Short!" }; const std::string second{ "A very long string to get around SSO!" }; rapidstring s1; rs_init_w(&s1, first.data()); REQUIRE(first == rs_data(&s1)); rapidstring s2; rs_init_w(&s2, second.data()); REQUIRE(second ==...
17.666667
69
0.657682
mathchq
e02082c49cb7e4edd96cf299c82dc2db5227dc98
2,425
cpp
C++
detail/os/reactor/kqueue/events/kqueue_recv_from.cpp
wembikon/baba.io
87bec680c1febb64356af59e7e499c2b2b64d30c
[ "MIT" ]
null
null
null
detail/os/reactor/kqueue/events/kqueue_recv_from.cpp
wembikon/baba.io
87bec680c1febb64356af59e7e499c2b2b64d30c
[ "MIT" ]
1
2020-06-12T10:22:09.000Z
2020-06-12T10:22:09.000Z
detail/os/reactor/kqueue/events/kqueue_recv_from.cpp
wembikon/baba.io
87bec680c1febb64356af59e7e499c2b2b64d30c
[ "MIT" ]
null
null
null
/** * MIT License * Copyright (c) 2020 Adrian T. Visarra **/ #include "os/reactor/kqueue/events/kqueue_recv_from.h" #include "baba/semantics.h" #include "os/common/event_registrar.h" namespace baba::os { kqueue_recv_from::kqueue_recv_from(const lifetime &scope, cons...
39.112903
98
0.641237
wembikon
e025e5f805617de080c45ae6a3949e93a36d99f2
1,879
hpp
C++
inst/include/spress/hilbert.hpp
UFOKN/spress
8073fde53ced4f006634f761e6f90517ccf2f229
[ "MIT" ]
1
2021-12-09T22:16:27.000Z
2021-12-09T22:16:27.000Z
inst/include/spress/hilbert.hpp
UFOKN/spress
8073fde53ced4f006634f761e6f90517ccf2f229
[ "MIT" ]
null
null
null
inst/include/spress/hilbert.hpp
UFOKN/spress
8073fde53ced4f006634f761e6f90517ccf2f229
[ "MIT" ]
null
null
null
#pragma once #ifndef _SPRESS_HILBERT_H_ #define _SPRESS_HILBERT_H_ #include <numeric> using std::size_t; namespace spress { namespace hilbert { /** * Rotate X/Y coordinates based on Hilbert Curve. * @param n Dimensions of n x n grid. Must be a power of 2. * @param x [out] Pointer to the X coordinate variable * @p...
22.638554
72
0.557743
UFOKN
e028ab7a30e55a3b90c8a5fab3112bfa01ca55f0
8,931
cpp
C++
src/utils/fns.cpp
melchor629/node-flac-bindings
584bd52ef12de4562dca0f198220f2c136666ce2
[ "0BSD" ]
13
2017-01-07T07:48:54.000Z
2021-09-29T05:33:38.000Z
src/utils/fns.cpp
melchor629/node-flac-bindings
584bd52ef12de4562dca0f198220f2c136666ce2
[ "0BSD" ]
27
2016-11-24T11:35:22.000Z
2022-02-14T14:38:09.000Z
src/utils/fns.cpp
melchor629/node-flac-bindings
584bd52ef12de4562dca0f198220f2c136666ce2
[ "0BSD" ]
3
2017-10-19T10:12:11.000Z
2019-10-11T16:21:09.000Z
#include "converters.hpp" #include "js_utils.hpp" #include "pointer.hpp" namespace flac_bindings { static int64_t readI32(const void* buff) { return *((const int32_t*) buff); } static void writeI32(void* buff, int64_t value) { *((int32_t*) buff) = value; } static int64_t readI24(const void* buff) ...
34.218391
100
0.616504
melchor629
e03130660378d31649865753bed09d77bdf8fa81
1,530
hh
C++
transformations/interpolation/SegmentWise.hh
gnafit/gna
c1a58dac11783342c97a2da1b19c97b85bce0394
[ "MIT" ]
5
2019-10-14T01:06:57.000Z
2021-02-02T16:33:06.000Z
transformations/interpolation/SegmentWise.hh
gnafit/gna
c1a58dac11783342c97a2da1b19c97b85bce0394
[ "MIT" ]
null
null
null
transformations/interpolation/SegmentWise.hh
gnafit/gna
c1a58dac11783342c97a2da1b19c97b85bce0394
[ "MIT" ]
null
null
null
#pragma once #include "GNAObject.hh" /** * @brief Determines the bins edges indices for a sorted array. * * For a given array of bin edges: * ```python * edges=(e1, e2, ..., eN) * ``` * * And for a given array of points: * ```python * points=(p1, p2, ..., pM) * ``` * * Determines the indices: * ```p...
25.932203
176
0.598039
gnafit
e03a164c52cd7b4b6b1d88566f061dfc8a4c784b
793
hpp
C++
test/node-gdal-async/src/geometry/gdal_multilinestring.hpp
mmomtchev/yatag
37802e760a33939b65ceaa4379634529d0dc0092
[ "0BSD" ]
42
2021-03-26T17:34:52.000Z
2022-03-18T14:15:31.000Z
test/node-gdal-async/src/geometry/gdal_multilinestring.hpp
mmomtchev/yatag
37802e760a33939b65ceaa4379634529d0dc0092
[ "0BSD" ]
29
2021-06-03T14:24:01.000Z
2022-03-23T15:43:58.000Z
test/node-gdal-async/src/geometry/gdal_multilinestring.hpp
mmomtchev/yatag
37802e760a33939b65ceaa4379634529d0dc0092
[ "0BSD" ]
8
2021-05-14T19:26:37.000Z
2022-03-21T13:44:42.000Z
#ifndef __NODE_OGR_MULTILINESTRING_H__ #define __NODE_OGR_MULTILINESTRING_H__ // node #include <node.h> #include <node_object_wrap.h> // nan #include "../nan-wrapper.h" // ogr #include <ogrsf_frmts.h> #include "gdal_geometrycollectionbase.hpp" using namespace v8; using namespace node; namespace node_gdal { class...
22.657143
92
0.796974
mmomtchev
e03ca583974d7223395140a16f5b6579c8fe9d2f
12,762
cpp
C++
SVEngine/src/node/SVSpineNode.cpp
SVEChina/SVEngine
56174f479a3096e57165448142c1822e7db8c02f
[ "MIT" ]
34
2018-09-28T08:28:27.000Z
2022-01-15T10:31:41.000Z
SVEngine/src/node/SVSpineNode.cpp
SVEChina/SVEngine
56174f479a3096e57165448142c1822e7db8c02f
[ "MIT" ]
null
null
null
SVEngine/src/node/SVSpineNode.cpp
SVEChina/SVEngine
56174f479a3096e57165448142c1822e7db8c02f
[ "MIT" ]
8
2018-10-11T13:36:35.000Z
2021-04-01T09:29:34.000Z
// // SVSpineNode.cpp // SVEngine // Copyright 2017-2020 // yizhou Fu,long Yin,longfei Lin,ziyu Xu,xiaofan Li,daming Li // #include <spine/Slot.h> #include <spine/RegionAttachment.h> #include <spine/MeshAttachment.h> #include "SVSpineNode.h" #include "SVCameraNode.h" #include "SVScene.h" #include "../rendercore/SVRend...
29.817757
155
0.609622
SVEChina
e03d76dc57e4aad695c5dd753863e741aefd8046
4,340
cpp
C++
src/lib/navigation/siteicon.cpp
pejakm/qupzilla
c1901cd81d9d3488a7dc1f25b777fb56f67cb39e
[ "BSD-3-Clause" ]
1
2019-05-07T15:00:56.000Z
2019-05-07T15:00:56.000Z
src/lib/navigation/siteicon.cpp
pejakm/qupzilla
c1901cd81d9d3488a7dc1f25b777fb56f67cb39e
[ "BSD-3-Clause" ]
null
null
null
src/lib/navigation/siteicon.cpp
pejakm/qupzilla
c1901cd81d9d3488a7dc1f25b777fb56f67cb39e
[ "BSD-3-Clause" ]
null
null
null
/* ============================================================ * QupZilla - WebKit based browser * Copyright (C) 2010-2014 David Rosca <nowrep@gmail.com> * * 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 * the Free Software ...
24.8
81
0.641705
pejakm
e040071f6af73b3136a24b1d7340c97ae2d81c52
2,970
cpp
C++
Sources/Scenes/Entity.cpp
liuping1997/Acid
0b28d63d03ead41047d5881f08e3b693a4e6e63f
[ "MIT" ]
null
null
null
Sources/Scenes/Entity.cpp
liuping1997/Acid
0b28d63d03ead41047d5881f08e3b693a4e6e63f
[ "MIT" ]
null
null
null
Sources/Scenes/Entity.cpp
liuping1997/Acid
0b28d63d03ead41047d5881f08e3b693a4e6e63f
[ "MIT" ]
null
null
null
#include "Entity.hpp" #include "Files/FileSystem.hpp" #include "Scenes.hpp" #include "EntityPrefab.hpp" namespace acid { Entity::Entity(const Transform &transform) : m_name(""), m_localTransform(transform), m_parent(nullptr), m_removed(false) { } Entity::Entity(const std::string &filename, const Transform &trans...
18.109756
119
0.674747
liuping1997
e042481d0fb9269219e36d3db4b5c63f73c049d7
2,700
cpp
C++
src/AnimatedObject.cpp
ArionasMC/TicTacToe
998585ca415c7d263eeb73e43840fbf98d9a4c99
[ "Apache-2.0" ]
3
2019-02-23T18:20:24.000Z
2019-02-23T18:30:18.000Z
src/AnimatedObject.cpp
ArionasMC/TicTacToe
998585ca415c7d263eeb73e43840fbf98d9a4c99
[ "Apache-2.0" ]
null
null
null
src/AnimatedObject.cpp
ArionasMC/TicTacToe
998585ca415c7d263eeb73e43840fbf98d9a4c99
[ "Apache-2.0" ]
null
null
null
#include "AnimatedObject.h" using namespace std; AnimatedObject::AnimatedObject(const char* textureSheet, SDL_Renderer* ren, double x, double y, vector<SDL_Rect> frameRects, int endFrame, int secondsToNext) : GameObject(textureSheet, ren, x, y) { this->show = true; this->setSimpleTexture(true); this...
28.421053
196
0.554444
ArionasMC
e0447588f79276f223c96a4be21122dcde195285
3,313
cpp
C++
python/sedef.cpp
mateog4712/SEDEF
dc05b661854a96b934ee098bedb970a5040b697b
[ "MIT" ]
21
2018-07-06T06:09:42.000Z
2021-06-28T21:21:01.000Z
python/sedef.cpp
mateog4712/SEDEF
dc05b661854a96b934ee098bedb970a5040b697b
[ "MIT" ]
21
2018-06-29T23:57:33.000Z
2022-03-01T02:37:49.000Z
python/sedef.cpp
mateog4712/SEDEF
dc05b661854a96b934ee098bedb970a5040b697b
[ "MIT" ]
9
2019-10-16T10:14:12.000Z
2021-06-29T17:11:27.000Z
/// 786 #include <string> using namespace std; #include "src/common.h" #include "src/search.h" #include "src/chain.h" #include "src/align.h" class PyHit { public: int qs, qe; int rs, re; Alignment c; // PyHit() = default; int query_start() { return qs; } int query_end() { return qe; } int ref_start() { retu...
25.290076
92
0.638696
mateog4712
e0462028989128bc82fc25982091e8b8a48f3869
355
cpp
C++
Source/Model.cpp
RPKQ/OpenGL_scratchUp
cbe0268d6bb86bc0de49fafdcf078e5b85395964
[ "CC-BY-3.0" ]
null
null
null
Source/Model.cpp
RPKQ/OpenGL_scratchUp
cbe0268d6bb86bc0de49fafdcf078e5b85395964
[ "CC-BY-3.0" ]
null
null
null
Source/Model.cpp
RPKQ/OpenGL_scratchUp
cbe0268d6bb86bc0de49fafdcf078e5b85395964
[ "CC-BY-3.0" ]
null
null
null
#include "Model.h" Model::Model() {} Model::~Model() { for(int i=0; i<meshes.size(); i++) delete meshes[i]; } void Model::draw(Program* program) { for (std::vector<Mesh*>::iterator mesh = this->meshes.begin(); mesh != this->meshes.end(); ++mesh) { (*mesh)->draw(program); } } void Model::addMesh(Mesh* mesh) ...
15.434783
99
0.616901
RPKQ
e046997443b3e543fb43151ef82eb3009d970a81
447
cpp
C++
pgm02_03.cpp
neharkarvishal/Data-Structures-and-Algorithms-with-Object-Oriented-Design-Patterns-in-C-
c9a29d2dd43ad8561e828c25f98de6a8c8f2317a
[ "Unlicense" ]
1
2021-07-13T03:58:36.000Z
2021-07-13T03:58:36.000Z
pgm02_03.cpp
neharkarvishal/Data-Structures-and-Algorithms-with-Object-Oriented-Design-Patterns-in-C-
c9a29d2dd43ad8561e828c25f98de6a8c8f2317a
[ "Unlicense" ]
null
null
null
pgm02_03.cpp
neharkarvishal/Data-Structures-and-Algorithms-with-Object-Oriented-Design-Patterns-in-C-
c9a29d2dd43ad8561e828c25f98de6a8c8f2317a
[ "Unlicense" ]
null
null
null
// // This file contains the C++ code from Program 2.3 of // "Data Structures and Algorithms // with Object-Oriented Design Patterns in C++" // by Bruno R. Preiss. // // Copyright (c) 1998 by Bruno R. Preiss, P.Eng. All rights reserved. // // http://www.pads.uwaterloo.ca/Bruno.Preiss/books/opus4/programs/...
24.833333
80
0.651007
neharkarvishal
e047b1720d51db02c5a4f7efba596675bf572a7a
2,538
cpp
C++
listing_8.1.cpp
renc/CppConcurrencyInAction
e0261af587900c71d7cb2a31b56899e610be320e
[ "BSL-1.0" ]
62
2016-10-14T23:11:14.000Z
2022-03-20T08:32:15.000Z
listing_8.1.cpp
renc/CppConcurrencyInAction
e0261af587900c71d7cb2a31b56899e610be320e
[ "BSL-1.0" ]
2
2017-11-16T08:17:44.000Z
2021-10-14T06:49:41.000Z
listing_8.1.cpp
renc/CppConcurrencyInAction
e0261af587900c71d7cb2a31b56899e610be320e
[ "BSL-1.0" ]
31
2017-01-04T12:32:40.000Z
2022-03-28T12:19:20.000Z
template<typename T> struct sorter { struct chunk_to_sort { std::list<T> data; std::promise<std::list<T> > promise; }; thread_safe_stack<chunk_to_sort> chunks; std::vector<std::thread> threads; unsigned const max_thread_count; std::atomic<bool> end_of_data; sorter(): ...
24.640777
73
0.550827
renc
e04c85a0329210b5e84e7c4166cd0b2d80957b2f
2,590
hpp
C++
pythran/pythonic/utils/numpy_traits.hpp
Pikalchemist/Pythran
17d4108b56b3b365e089a4e1b01a09eb7e12942b
[ "BSD-3-Clause" ]
null
null
null
pythran/pythonic/utils/numpy_traits.hpp
Pikalchemist/Pythran
17d4108b56b3b365e089a4e1b01a09eb7e12942b
[ "BSD-3-Clause" ]
null
null
null
pythran/pythonic/utils/numpy_traits.hpp
Pikalchemist/Pythran
17d4108b56b3b365e089a4e1b01a09eb7e12942b
[ "BSD-3-Clause" ]
1
2017-03-12T20:32:36.000Z
2017-03-12T20:32:36.000Z
#ifndef PYTHONIC_UTILS_NUMPY_TRAITS_HPP #define PYTHONIC_UTILS_NUMPY_TRAITS_HPP namespace pythonic { namespace types { template<class T, size_t N> class ndarray; template<class A> class numpy_iexpr; template<class A, class F> class numpy_fexpr; ...
27.849462
85
0.535521
Pikalchemist
e05062ff88b45be93f2a4832f6fda5fcfea6ea79
1,211
cpp
C++
xfa/fxfa/parser/cxfa_nodelist.cpp
jamespayor/pdfium
07b4727a34d2f4aff851f0dc420faf617caca220
[ "BSD-3-Clause" ]
1
2019-01-12T07:00:46.000Z
2019-01-12T07:00:46.000Z
xfa/fxfa/parser/cxfa_nodelist.cpp
jamespayor/pdfium
07b4727a34d2f4aff851f0dc420faf617caca220
[ "BSD-3-Clause" ]
null
null
null
xfa/fxfa/parser/cxfa_nodelist.cpp
jamespayor/pdfium
07b4727a34d2f4aff851f0dc420faf617caca220
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2016 PDFium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com #include "xfa/fxfa/parser/cxfa_nodelist.h" #include <memory> #include "core/...
31.051282
80
0.695293
jamespayor
e0611582d2ae2383e1455983130a81b56f6bf90f
3,899
cpp
C++
tests/testOpenAddressingHash.cpp
tellproject/tellstore
58fa57b4a62dcfed062aa8c191d3b0e49241ac60
[ "Apache-2.0" ]
49
2015-09-30T13:02:31.000Z
2022-03-23T01:12:42.000Z
tests/testOpenAddressingHash.cpp
ngaut/tellstore
58fa57b4a62dcfed062aa8c191d3b0e49241ac60
[ "Apache-2.0" ]
1
2016-07-18T03:21:56.000Z
2016-07-27T05:07:29.000Z
tests/testOpenAddressingHash.cpp
ngaut/tellstore
58fa57b4a62dcfed062aa8c191d3b0e49241ac60
[ "Apache-2.0" ]
10
2016-02-25T15:46:13.000Z
2020-07-02T10:21:24.000Z
/* * (C) Copyright 2015 ETH Zurich Systems Group (http://www.systems.ethz.ch/) and others. * * 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/LICENS...
28.459854
88
0.710439
tellproject
e068180c7c3841ca885196dbf2f2d2d7fd0b2bac
4,729
cpp
C++
RTC/VolumeAdjust/src/VolumeAdjust.cpp
rsdlab/ConductorSystem
0eff74f570f34f6f9a9d22c40c03c4030db12a4e
[ "MIT" ]
null
null
null
RTC/VolumeAdjust/src/VolumeAdjust.cpp
rsdlab/ConductorSystem
0eff74f570f34f6f9a9d22c40c03c4030db12a4e
[ "MIT" ]
null
null
null
RTC/VolumeAdjust/src/VolumeAdjust.cpp
rsdlab/ConductorSystem
0eff74f570f34f6f9a9d22c40c03c4030db12a4e
[ "MIT" ]
null
null
null
// -*- C++ -*- /*! * @file VolumeAdjust.cpp * @brief ModuleDescription * @date $Date$ * * $Id$ */ #include "VolumeAdjust.h" // Module specification // <rtc-template block="module_spec"> static const char* volumeadjust_spec[] = { "implementation_id", "VolumeAdjust", "type_name", "VolumeAdjust"...
20.383621
70
0.618524
rsdlab
2fda1fbec701c99d237ea4c2bb3ff1f8226e6107
19,329
cpp
C++
sp/src/game/server/hl2/prop_gravity_ball.cpp
ntrf/blamod
d59b5f968264121d013a81ae1ba1f51432030170
[ "Apache-2.0" ]
12
2016-09-24T02:47:18.000Z
2020-12-29T16:16:52.000Z
sp/src/game/server/hl2/prop_gravity_ball.cpp
Margen67/blamod
d59b5f968264121d013a81ae1ba1f51432030170
[ "Apache-2.0" ]
31
2016-11-27T14:38:02.000Z
2020-06-03T11:11:29.000Z
sp/src/game/server/hl2/prop_gravity_ball.cpp
Margen67/blamod
d59b5f968264121d013a81ae1ba1f51432030170
[ "Apache-2.0" ]
3
2016-09-24T16:08:44.000Z
2020-12-30T00:59:58.000Z
//========= Copyright Valve Corporation, All rights reserved. ============// // // Purpose: TE120 combine ball - launched by physconcussion // // //=============================================================================// #include "cbase.h" #include "prop_combine_ball.h" #include "prop_gravity_ball.h" #include "...
31.429268
173
0.62326
ntrf
2fded95ceaec827151e12e1f6f025b3732cd03d4
1,323
cpp
C++
tree/left_view_simple_recusion.cpp
kashyap99saksham/Code
96658d0920eb79c007701d2a3cc9dbf453d78f96
[ "MIT" ]
16
2020-06-02T19:22:45.000Z
2022-02-05T10:35:28.000Z
tree/left_view_simple_recusion.cpp
codezoned/Code
de91ffc7ef06812a31464fb40358e2436734574c
[ "MIT" ]
null
null
null
tree/left_view_simple_recusion.cpp
codezoned/Code
de91ffc7ef06812a31464fb40358e2436734574c
[ "MIT" ]
2
2020-08-27T17:40:06.000Z
2022-02-05T10:33:52.000Z
/* Given a Binary Tree, print left view of it. Left view of a Binary Tree is set of nodes visible when tree is visited from left side. left-view Examples: Input : 1 / \ 2 3 / \ \ 4 5 6 Output : 1 2 4 Input : 1 / \...
16.5375
131
0.535903
kashyap99saksham
2fe43e6569d47f6f433679d35f420ed5e6eac3cd
23,369
cpp
C++
src/widgets/numpad_debug.cpp
milostosic/rapp
5fab06e6fb8e43dda62b4a86b1c4b3e71670b261
[ "BSD-2-Clause" ]
53
2017-11-08T06:23:47.000Z
2022-03-25T20:14:38.000Z
src/widgets/numpad_debug.cpp
milostosic/rapp
5fab06e6fb8e43dda62b4a86b1c4b3e71670b261
[ "BSD-2-Clause" ]
null
null
null
src/widgets/numpad_debug.cpp
milostosic/rapp
5fab06e6fb8e43dda62b4a86b1c4b3e71670b261
[ "BSD-2-Clause" ]
7
2018-09-07T02:27:48.000Z
2022-03-25T20:14:40.000Z
//--------------------------------------------------------------------------// /// Copyright (c) 2010-2016 Milos Tosic. All Rights Reserved. /// /// License: http://www.opensource.org/licenses/BSD-2-Clause /// //--------------------------------------------------------------------------// #in...
34.879104
158
0.690102
milostosic
2fe4a45196ef837f7e4d1c6f4969fd58ed6d0163
1,475
hpp
C++
include/ML/Editor/Editor_MainMenuBar.hpp
Gurman8r/ML
171e7865291f3fd9ea748d59f9d4bdb4e2a6eed1
[ "MIT" ]
3
2019-10-09T19:03:05.000Z
2019-12-15T14:22:38.000Z
include/ML/Editor/Editor_MainMenuBar.hpp
Gurman8r/ML
171e7865291f3fd9ea748d59f9d4bdb4e2a6eed1
[ "MIT" ]
null
null
null
include/ML/Editor/Editor_MainMenuBar.hpp
Gurman8r/ML
171e7865291f3fd9ea748d59f9d4bdb4e2a6eed1
[ "MIT" ]
null
null
null
#ifndef _ML_EDITOR_MAIN_MENU_HPP_ #define _ML_EDITOR_MAIN_MENU_HPP_ #include <ML/Editor/Editor_Widget.hpp> namespace ml { /* * * * * * * * * * * * * * * * * * * * */ class ML_EDITOR_API Editor_MainMenuBar final : public Editor_Widget { /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *...
23.046875
93
0.423051
Gurman8r
2fea1e25f312515fa2c33c3731c88c9339d6d3ee
5,442
hh
C++
AVR/drv_misc_WS2812.hh
artraze/lillib
543f9c511b68c83e9c5c34d4446d20b59e730d8f
[ "MIT" ]
null
null
null
AVR/drv_misc_WS2812.hh
artraze/lillib
543f9c511b68c83e9c5c34d4446d20b59e730d8f
[ "MIT" ]
null
null
null
AVR/drv_misc_WS2812.hh
artraze/lillib
543f9c511b68c83e9c5c34d4446d20b59e730d8f
[ "MIT" ]
null
null
null
#pragma once #include "board_cfg.h" #ifdef DEV_WS2812 #include "device.h" #if BOARD_CFG_FREQ == 16000000 template<uint8_t kIoi> void WS2812_send(uint8_t n, uint8_t *grb) { // 0: 400ns( 6.4) high, 850ns(13.6) low // 1: 800ns(12.8) high, 450ns( 7.2) low // Note that writing a bit to the PIN register toggles the...
71.605263
113
0.212238
artraze
2fef4489639e885cd1ccf3ab83099f1155306d7e
534
cpp
C++
luogu/p1507.cpp
ajidow/Answers_of_OJ
70e0c02d9367c3a154b83a277edbf158f32484a3
[ "MIT" ]
null
null
null
luogu/p1507.cpp
ajidow/Answers_of_OJ
70e0c02d9367c3a154b83a277edbf158f32484a3
[ "MIT" ]
null
null
null
luogu/p1507.cpp
ajidow/Answers_of_OJ
70e0c02d9367c3a154b83a277edbf158f32484a3
[ "MIT" ]
null
null
null
#include <iostream> #include <cstdio> #define maxn 60 #define maxm 410 using namespace std; int Vmax,Mmax; int n; int v[maxn],m[maxn],cal[maxn]; int dp[maxm][maxm]; int main() { scanf("%d %d",&Vmax,&Mmax); scanf("%d",&n); for(int i = 1; i <= n; ++i) { scanf("%d %d %d",&v[i],&m[i],&cal[i]); } for(int i = 1;...
14.432432
55
0.490637
ajidow
2ff11fc42c7206551433943312a819d138d29b8e
1,351
cpp
C++
demo/future.cpp
YuanL12/BATS
35a32facc87e17649b7fc32225c8ffaf0301bbfa
[ "MIT" ]
5
2020-04-24T17:34:54.000Z
2021-04-07T15:56:00.000Z
demo/future.cpp
YuanL12/BATS
35a32facc87e17649b7fc32225c8ffaf0301bbfa
[ "MIT" ]
5
2021-05-13T14:16:35.000Z
2021-08-15T15:11:55.000Z
demo/future.cpp
YuanL12/BATS
35a32facc87e17649b7fc32225c8ffaf0301bbfa
[ "MIT" ]
1
2021-05-09T12:17:30.000Z
2021-05-09T12:17:30.000Z
#include <bats.hpp> #include <iostream> #define FT ModP<int, 3> int main() { bats::future::Matrix A(5,5, FT(1)); A(1,0) = 0; A(2,1) = 2; A(3,2) = 2; A.print(); // auto H1 = HessenbergTransform(A); // H1.print(); // H1.prod().print(); // // std::cout << "hessenberg_to_companion" << std::endl; // // hesse...
17.776316
62
0.541821
YuanL12
2ff9d7d478df79adce264170d405ea95bbfcf349
569
cpp
C++
messagebuilder.cpp
vcato/sockets
61badc4c7b5eb010a213467954d4064baea43116
[ "MIT" ]
null
null
null
messagebuilder.cpp
vcato/sockets
61badc4c7b5eb010a213467954d4064baea43116
[ "MIT" ]
null
null
null
messagebuilder.cpp
vcato/sockets
61badc4c7b5eb010a213467954d4064baea43116
[ "MIT" ]
null
null
null
#include "messagebuilder.hpp" #include <iostream> using std::cerr; void MessageBuilder::addChunk( const char *chunk, size_t chunk_size, const MessageHandler& message_handler ) { size_t i=0; while (i!=chunk_size) { size_t begin = i; while (i!=chunk_size && chunk[i]!='\0') { ++i; ...
14.589744
47
0.602812
vcato
64001866965efbaa045fa902d576df34e221d8fd
990
cpp
C++
LilEngie/Core/src/Entity/SceneManager.cpp
Nordaj/LilEngie
453cee13c45ae33abe2665e1446fc90e67b1117a
[ "MIT" ]
null
null
null
LilEngie/Core/src/Entity/SceneManager.cpp
Nordaj/LilEngie
453cee13c45ae33abe2665e1446fc90e67b1117a
[ "MIT" ]
null
null
null
LilEngie/Core/src/Entity/SceneManager.cpp
Nordaj/LilEngie
453cee13c45ae33abe2665e1446fc90e67b1117a
[ "MIT" ]
null
null
null
#include <vector> #include <Graphics/Renderer.h> #include <Entity/Components/Camera.h> #include <Game/SceneLoader.h> #include "GameObject.h" #include "Scene.h" #include "SceneManager.h" //Properties namespace SceneManager { //Private Scene *scene; } void SceneManager::SetScene(Scene *s) { if (scene != nullptr) s...
14.347826
80
0.694949
Nordaj
64028553177bfa199627de11285bd3d494d40879
1,218
cpp
C++
source/polyvec/curve-tracer/curve_constraints.cpp
dedoardo/polyfit
fea3bb9f28c2a44a55825529198e5c3796ac1fa6
[ "MIT" ]
27
2020-08-17T17:25:59.000Z
2022-03-01T05:49:12.000Z
source/polyvec/curve-tracer/curve_constraints.cpp
dedoardo/polyfit
fea3bb9f28c2a44a55825529198e5c3796ac1fa6
[ "MIT" ]
4
2020-08-26T13:54:59.000Z
2020-09-21T07:19:22.000Z
source/polyvec/curve-tracer/curve_constraints.cpp
dedoardo/polyfit
fea3bb9f28c2a44a55825529198e5c3796ac1fa6
[ "MIT" ]
5
2020-08-26T23:26:48.000Z
2021-01-04T09:06:07.000Z
#include <polyvec/curve-tracer/curve_constraints.hpp> using namespace polyvec; GlobFitConstraint_LineDirection::GlobFitConstraint_LineDirection(GlobFitLineParametrization* line, GlobFitCurveParametrization::ParameterAddress& target) : line(line) { this->source_params.push_back(GlobFitCurveParametrization::Paramete...
39.290323
153
0.759442
dedoardo
64041b31db8531435f261be78200fa5609186602
263
hpp
C++
src/test/CatchFormatters.hpp
frederic-tingaud-sonarsource/xania
0cf7bcbd72a0fc4acb3a9d33ba8f325833aeacc9
[ "BSD-2-Clause" ]
39
2020-07-15T13:36:44.000Z
2022-03-21T00:46:00.000Z
src/test/CatchFormatters.hpp
frederic-tingaud-sonarsource/xania
0cf7bcbd72a0fc4acb3a9d33ba8f325833aeacc9
[ "BSD-2-Clause" ]
255
2020-07-16T17:54:59.000Z
2022-03-27T20:16:51.000Z
src/test/CatchFormatters.hpp
frederic-tingaud-sonarsource/xania
0cf7bcbd72a0fc4acb3a9d33ba8f325833aeacc9
[ "BSD-2-Clause" ]
11
2020-07-15T21:46:48.000Z
2022-03-24T22:19:17.000Z
#pragma once #include <catch2/catch.hpp> #include <fmt/format.h> template <typename T> requires fmt::has_formatter<T, fmt::format_context>::value struct Catch::StringMaker<T> { static std::string convert(const T &value) { return fmt::to_string(value); } };
26.3
89
0.726236
frederic-tingaud-sonarsource
6405f83ca701f14127c5b3f8483e53625a63617b
27,962
cpp
C++
preview/MsixCore/msixmgr/AutoPlay.cpp
rooju/msix-packaging
da46d3b5fbdca03ba4603531bb287d9def9203be
[ "MIT" ]
null
null
null
preview/MsixCore/msixmgr/AutoPlay.cpp
rooju/msix-packaging
da46d3b5fbdca03ba4603531bb287d9def9203be
[ "MIT" ]
null
null
null
preview/MsixCore/msixmgr/AutoPlay.cpp
rooju/msix-packaging
da46d3b5fbdca03ba4603531bb287d9def9203be
[ "MIT" ]
null
null
null
#include <windows.h> #include <iostream> #include <algorithm> #include "RegistryKey.hpp" #include "AutoPlay.hpp" #include "../GeneralUtil.hpp" #include <TraceLoggingProvider.h> #include "../MsixTraceLoggingProvider.hpp" #include "Constants.hpp" #include "CryptoProvider.hpp" #include "Base32Encoding.hpp" #i...
44.954984
171
0.664008
rooju
6408a78f1f877309787a70b763eee146d1036e86
2,573
cc
C++
source/src/Ht1SAction.cc
hiteshvvr/XrayEfficiency
50cccf940f1458e83e6d8e1605e5c96478cad4cf
[ "MIT" ]
null
null
null
source/src/Ht1SAction.cc
hiteshvvr/XrayEfficiency
50cccf940f1458e83e6d8e1605e5c96478cad4cf
[ "MIT" ]
null
null
null
source/src/Ht1SAction.cc
hiteshvvr/XrayEfficiency
50cccf940f1458e83e6d8e1605e5c96478cad4cf
[ "MIT" ]
null
null
null
//--------------------------------------------------------// //----------STEPPING ACTION-------------------------------// //--------------------------------------------------------// #include "Ht1RAction.hh" #include "Ht1SAction.hh" #include "Ht1EAction.hh" #include "Ht1DetectorConstruction.hh" #include "Ht1Run.hh" #...
31
169
0.652546
hiteshvvr
640a5a98c08ee9e54c620c8b4a67b07b596360d5
592
hpp
C++
src/ir_2_llvm.hpp
Sokolmish/coursework_3
3ce0f70f90b7e79b99f212d03ccacf8b370d54f1
[ "MIT" ]
null
null
null
src/ir_2_llvm.hpp
Sokolmish/coursework_3
3ce0f70f90b7e79b99f212d03ccacf8b370d54f1
[ "MIT" ]
null
null
null
src/ir_2_llvm.hpp
Sokolmish/coursework_3
3ce0f70f90b7e79b99f212d03ccacf8b370d54f1
[ "MIT" ]
null
null
null
#ifndef IR_2_LLVM_HPP_INCLUDED__ #define IR_2_LLVM_HPP_INCLUDED__ #include <memory> #include "ir/unit.hpp" class IR2LLVM { public: explicit IR2LLVM(IntermediateUnit const &iunit); IR2LLVM(IR2LLVM const&) = delete; IR2LLVM& operator=(IR2LLVM const&) = delete; [[nodiscard]] std::string getRes() const...
19.096774
59
0.714527
Sokolmish
640bd5b0256ba44923bd2097a770d6cf1bac4799
806
cpp
C++
src/VFXSampleBaseViewer/VFXCommonScene.cpp
wakare/Leviathan
8a488f014d6235c5c6e6422c9f53c82635b7ebf7
[ "MIT" ]
3
2019-03-05T13:05:30.000Z
2019-12-16T05:56:21.000Z
src/VFXSampleBaseViewer/VFXCommonScene.cpp
wakare/Leviathan
8a488f014d6235c5c6e6422c9f53c82635b7ebf7
[ "MIT" ]
null
null
null
src/VFXSampleBaseViewer/VFXCommonScene.cpp
wakare/Leviathan
8a488f014d6235c5c6e6422c9f53c82635b7ebf7
[ "MIT" ]
null
null
null
#include "VFXCommonScene.h" #include "LevSceneData.h" #include "LevSceneNode.h" #include "LevSceneObject.h" #include "LevSceneObjectDescription.h" #include "LevNormalScene.h" #include "LevNumericalUniform.h" #include "LevRAttrUniformManager.h" namespace Leviathan { namespace Viewer { VFXCommonScene::VFXCommonScene...
26
131
0.761787
wakare
640e25a5443bb2adfc95b094ae08051b0c92beac
2,160
cpp
C++
practice/Data structures/Graph/Euler Path.cpp
vkashkumar/Competitive-Programming
c457e745208c0ca3e45b1ffce254a21504533f51
[ "MIT" ]
2
2019-01-30T12:45:18.000Z
2021-05-06T19:02:51.000Z
practice/Data structures/Graph/Euler Path.cpp
vkashkumar/Competitive-Programming
c457e745208c0ca3e45b1ffce254a21504533f51
[ "MIT" ]
null
null
null
practice/Data structures/Graph/Euler Path.cpp
vkashkumar/Competitive-Programming
c457e745208c0ca3e45b1ffce254a21504533f51
[ "MIT" ]
3
2020-10-02T15:42:04.000Z
2022-03-27T15:14:16.000Z
#include<bits/stdc++.h> using namespace std; #define fast ios::sync_with_stdio(false);cin.tie(0) #define pb push_back #define digit(x) floor(log10(x))+1 #define mod 1000000007 #define endl "\n" #define int long long #define matrix vector<vector<int> > #define vi vector<int> #define pii pair<int,int> #define vs vector<s...
22.736842
70
0.522222
vkashkumar
640f9dbc3b4c998391f88f9691a65f12ade5ca26
3,066
hpp
C++
include/dataflow/blocks/impl/GeneratorBlock.hpp
Klirxel/DataFlowFramework
5da51e794a4dac613e1fed96d3e8da68af6d7203
[ "BSL-1.0" ]
null
null
null
include/dataflow/blocks/impl/GeneratorBlock.hpp
Klirxel/DataFlowFramework
5da51e794a4dac613e1fed96d3e8da68af6d7203
[ "BSL-1.0" ]
null
null
null
include/dataflow/blocks/impl/GeneratorBlock.hpp
Klirxel/DataFlowFramework
5da51e794a4dac613e1fed96d3e8da68af6d7203
[ "BSL-1.0" ]
null
null
null
#include <future> #include <utility> #include "../GeneratorBlock.h" namespace dataflow::blocks { template <typename OPERATOR, typename... T_OUT, typename OUTPUT_PREDICATE> GeneratorBlock<OPERATOR, ChannelBundle<T_OUT...>, OUTPUT_PREDICATE>::GeneratorBlock( OPERATOR& op, ChannelBundle<T_OUT...> outputChannels...
32.273684
113
0.722766
Klirxel
64110b5df90cb18944554afc169a8d4d9f33a89a
1,714
cpp
C++
Chapter6-Graph/src/exercise1_zhangming/6-1-13.cpp
caoshenghui/DataStructures
b028bbdb3156537637eed87d634313820b0f295a
[ "MIT" ]
4
2021-03-01T13:24:24.000Z
2022-03-06T10:58:34.000Z
Chapter6-Graph/src/exercise1_zhangming/6-1-13.cpp
caoshenghui/DataStructures
b028bbdb3156537637eed87d634313820b0f295a
[ "MIT" ]
null
null
null
Chapter6-Graph/src/exercise1_zhangming/6-1-13.cpp
caoshenghui/DataStructures
b028bbdb3156537637eed87d634313820b0f295a
[ "MIT" ]
1
2021-03-01T13:24:32.000Z
2021-03-01T13:24:32.000Z
// File: 6-1-13.cpp // Author: csh // Date: 2020/12/26 // =================== // 无向图 void Graph::Apart(){ int i, j; for(i = 0; i < numVertex; i++) Mark[i] = UNVISITED; for(i = 0; i < numVertex; i++){ // 检查所有顶点是否被标记,从未标记顶点开始周游 if(Mark[i] == UNVISITED){ do_travers...
22.25974
60
0.452742
caoshenghui
64139d8a85b21b523f3c202a4ac876b16c35fd4e
581
cpp
C++
kody_projektowe/sieci_tymczasowe_propagacja/sieci_tymczasowe_propagacja/Connections.cpp
sirsz/Elpis
7bb5e77deb98c6b9da5a7c98025d92de9f6e29c2
[ "Unlicense" ]
null
null
null
kody_projektowe/sieci_tymczasowe_propagacja/sieci_tymczasowe_propagacja/Connections.cpp
sirsz/Elpis
7bb5e77deb98c6b9da5a7c98025d92de9f6e29c2
[ "Unlicense" ]
null
null
null
kody_projektowe/sieci_tymczasowe_propagacja/sieci_tymczasowe_propagacja/Connections.cpp
sirsz/Elpis
7bb5e77deb98c6b9da5a7c98025d92de9f6e29c2
[ "Unlicense" ]
null
null
null
#include "StdAfx.h" #include "Connections.h" CConnections::CConnections(void) : NumberConnections(0) , From(NULL) , Target(NULL) { } CConnections::~CConnections(void) { Destroy(); } int CConnections::Create(int N) { Destroy(); if(N>0) { NumberConnections = N; From = new int [N]; Ta...
12.630435
34
0.566265
sirsz
641f0847696f11c80a80a947cad10885eabd3359
7,191
cpp
C++
driver/pwm/imxpwm/file.cpp
pjgorka88/imx-iotcore
c73879479ed026e607bf8ac111c836940a7aca00
[ "MIT" ]
68
2018-12-16T11:03:08.000Z
2021-09-30T19:14:02.000Z
driver/pwm/imxpwm/file.cpp
pjgorka88/imx-iotcore
c73879479ed026e607bf8ac111c836940a7aca00
[ "MIT" ]
72
2018-12-18T01:13:18.000Z
2019-11-08T02:13:07.000Z
driver/pwm/imxpwm/file.cpp
pjgorka88/imx-iotcore
c73879479ed026e607bf8ac111c836940a7aca00
[ "MIT" ]
43
2018-12-14T21:38:49.000Z
2021-10-01T02:17:22.000Z
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // // Module Name: // // file.cpp // // Abstract: // // This module contains methods implementation for the file object create/close // callbacks. // // Environment: // // Kernel mode only // #include "precomp.h" #prag...
30.470339
97
0.624531
pjgorka88
6420821e1c120f18bc426ff2449745f8b9088127
10,826
hpp
C++
softlight/include/softlight/SL_BoundingBox.hpp
Kim-Du-Yeon/SoftLight
26c1c04be5a99167f2cda0c7a992cecdc8259968
[ "MIT" ]
27
2019-04-22T01:51:51.000Z
2022-02-11T06:12:17.000Z
softlight/include/softlight/SL_BoundingBox.hpp
Kim-Du-Yeon/SoftLight
26c1c04be5a99167f2cda0c7a992cecdc8259968
[ "MIT" ]
1
2021-11-12T05:19:52.000Z
2021-11-12T05:19:52.000Z
softlight/include/softlight/SL_BoundingBox.hpp
Kim-Du-Yeon/SoftLight
26c1c04be5a99167f2cda0c7a992cecdc8259968
[ "MIT" ]
2
2020-09-07T03:04:39.000Z
2021-11-09T06:08:37.000Z
#ifndef SL_BOUNDING_BOX_HPP #define SL_BOUNDING_BOX_HPP #include "lightsky/math/vec3.h" #include "lightsky/math/vec4.h" #include "lightsky/math/vec_utils.h" #include "lightsky/math/mat4.h" /** * @brief Bounding Box Class */ class SL_BoundingBox { private: ls::math::vec4 mMaxPoint; ls::math::vec4 mMinP...
26.086747
87
0.554776
Kim-Du-Yeon
64225a6536c7393dd05f0a83d328c12af8b3fda5
459
cpp
C++
level1 pro/p01.cpp
Randle-Github/c2021
f08649b34b2db1fa548c187386e787acdd00de71
[ "MIT" ]
null
null
null
level1 pro/p01.cpp
Randle-Github/c2021
f08649b34b2db1fa548c187386e787acdd00de71
[ "MIT" ]
null
null
null
level1 pro/p01.cpp
Randle-Github/c2021
f08649b34b2db1fa548c187386e787acdd00de71
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> #include<cstring> #include<windows.h> using namespace std; int main() { string s="x"; while(true){ for(int i=1;i<=30;i++){ cout<<s; Sleep(100); system("cls"); string k=" "; s=k.append(s); } for(int i=1;i<=30...
19.125
31
0.411765
Randle-Github
642c4a580020b110e07d7ed3938e43c59fbb95af
2,420
cpp
C++
source/Library.Shared/Utility.cpp
ssshammi/real-time-3d-rendering-with-directx-and-hlsl
05a05c5c26784dafa9a89747276f385252951f2f
[ "MIT" ]
12
2019-08-18T19:28:55.000Z
2022-03-29T12:55:20.000Z
str/wstring_convert/varcholik/Utility.cpp
gusenov/examples-cpp
2cd0abe15bf534c917bcfbca70694daaa19c4612
[ "MIT" ]
null
null
null
str/wstring_convert/varcholik/Utility.cpp
gusenov/examples-cpp
2cd0abe15bf534c917bcfbca70694daaa19c4612
[ "MIT" ]
null
null
null
#include "pch.h" #include "Utility.h" using namespace std; namespace Library { void Utility::GetFileName(const string& inputPath, string& filename) { string fullPath(inputPath); replace(fullPath.begin(), fullPath.end(), '\\', '/'); string::size_type lastSlashIndex = fullPath.find_last_of('/'); if (lastSla...
22.201835
88
0.682645
ssshammi
643470cae896de052f1a6d5c1a9c45654b24b8bb
1,162
hpp
C++
bat/msvc/private/test/cmdbit/msvc2019/tools/find_in.hpp
Kartonagnick/bat_engine-windows
455e4a40c6df16520d5695a75752013b41340a83
[ "MIT" ]
null
null
null
bat/msvc/private/test/cmdbit/msvc2019/tools/find_in.hpp
Kartonagnick/bat_engine-windows
455e4a40c6df16520d5695a75752013b41340a83
[ "MIT" ]
22
2020-12-28T04:36:24.000Z
2021-01-05T04:49:29.000Z
bat/msvc/private/test/garbage/msvc2019/tools/find_in.hpp
Kartonagnick/bat_engine-windows
455e4a40c6df16520d5695a75752013b41340a83
[ "MIT" ]
null
null
null
#pragma once #ifndef dFSYSTEM_FIND_IN_USED_ #define dFSYSTEM_FIND_IN_USED_ 1 #include <functional> #include <string> #include <list> //============================================================================== //============================================================================== namespace fsystem { ...
24.208333
80
0.437177
Kartonagnick
6435dedcd2519942859f49e672df56718525674f
103
cpp
C++
pctg_complex.cpp
julky117/Prota
a9ff73e4db3de4577b5d93cdbf7785a5451a197b
[ "MIT" ]
null
null
null
pctg_complex.cpp
julky117/Prota
a9ff73e4db3de4577b5d93cdbf7785a5451a197b
[ "MIT" ]
null
null
null
pctg_complex.cpp
julky117/Prota
a9ff73e4db3de4577b5d93cdbf7785a5451a197b
[ "MIT" ]
null
null
null
#include "pctg_complex.h" pctg_complex_t::pctg_complex_t(const int position) : position(position) {}
34.333333
74
0.776699
julky117
64371860c2204810ff38d9c47e07233a2c755006
1,599
cpp
C++
pronto/core/components/point_light.cpp
MgBag/pronto
c10827e094726d8dc285c3da68c9c03be42d9a32
[ "MIT" ]
null
null
null
pronto/core/components/point_light.cpp
MgBag/pronto
c10827e094726d8dc285c3da68c9c03be42d9a32
[ "MIT" ]
null
null
null
pronto/core/components/point_light.cpp
MgBag/pronto
c10827e094726d8dc285c3da68c9c03be42d9a32
[ "MIT" ]
null
null
null
#include "point_light.h" #include "platform/resource.h" #include "core/entity.h" #include "core/world.h" #include "core/application.h" #include "platform/renderer.h" namespace pronto { PointLight::PointLight(Entity* ent) : Component(ent), attenuation_(100.f), color_(glm::vec3(1, 1, 1)), intensity_(50...
19.5
76
0.654159
MgBag
6438402a08ef58b7fccd04182984ed6d272e562e
1,945
hpp
C++
mnist_vae_cnn/vae_utils.hpp
akhandait/models
1ec71f34f8a9401825eb2f6f586012761b71584e
[ "BSD-3-Clause" ]
54
2020-03-20T05:40:01.000Z
2022-03-18T13:56:46.000Z
mnist_vae_cnn/vae_utils.hpp
akhandait/models
1ec71f34f8a9401825eb2f6f586012761b71584e
[ "BSD-3-Clause" ]
136
2020-03-19T18:23:18.000Z
2022-03-31T09:08:10.000Z
mnist_vae_cnn/vae_utils.hpp
akhandait/models
1ec71f34f8a9401825eb2f6f586012761b71584e
[ "BSD-3-Clause" ]
47
2020-03-20T11:51:34.000Z
2022-03-23T15:44:10.000Z
/** * @file vae_utils.cpp * @author Atharva Khandait * * Utility function necessary for training and working with VAE models. * * mlpack is free software; you may redistribute it and/or modify it under the * terms of the 3-clause BSD license. You should have received a copy of the * 3-clause BSD license along ...
28.188406
78
0.666324
akhandait
64384b178a8d27d119a2054dcd9134bb5307a8da
2,985
inl
C++
include/Fission/Base/hsv_conversions.inl
lazergenixdev/Fission
da4151c37d81c19a77fe3d78d181da6c16ba4ddd
[ "MIT" ]
1
2021-02-28T10:58:11.000Z
2021-02-28T10:58:11.000Z
include/Fission/Base/hsv_conversions.inl
lazergenixdev/Fission
da4151c37d81c19a77fe3d78d181da6c16ba4ddd
[ "MIT" ]
1
2021-07-06T17:34:48.000Z
2021-09-16T20:41:57.000Z
include/Fission/Base/hsv_conversions.inl
lazergenixdev/Fission
da4151c37d81c19a77fe3d78d181da6c16ba4ddd
[ "MIT" ]
null
null
null
/** * * @file: hsv_conversions.inl * @author: lazergenixdev@gmail.com * * * This file is provided under the MIT License: * * Copyright (c) 2021 Lazergenix Software * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to ...
29.264706
80
0.59263
lazergenixdev
64385ac90f0bb810e26972f831b4f2ba5c967011
174
cpp
C++
Code/structure/structure5.cpp
capacitybuilding/Fundamentals-of-Programming-Source-Code
76d9a70b6b36c7eb1992de3806d1a16584904f76
[ "MIT" ]
null
null
null
Code/structure/structure5.cpp
capacitybuilding/Fundamentals-of-Programming-Source-Code
76d9a70b6b36c7eb1992de3806d1a16584904f76
[ "MIT" ]
null
null
null
Code/structure/structure5.cpp
capacitybuilding/Fundamentals-of-Programming-Source-Code
76d9a70b6b36c7eb1992de3806d1a16584904f76
[ "MIT" ]
null
null
null
#include<iostream> using namespace std; struct Student{ string name; string id; int year; string dep; float gpa; }s2, s3; int main(){ Student s1; }
11.6
20
0.614943
capacitybuilding
643b0da1d1a79b461a9ab287360ad0f77b3f9b18
14,449
cpp
C++
src/RenderSystem/Vulkan/Managers/CDeviceMemoryManager.cpp
przemyslaw-szymanski/vke
1d8fb139e0e995e330db6b8873dfc49463ec312c
[ "MIT" ]
1
2018-01-06T04:44:36.000Z
2018-01-06T04:44:36.000Z
src/RenderSystem/Vulkan/Managers/CDeviceMemoryManager.cpp
przemyslaw-szymanski/vke
1d8fb139e0e995e330db6b8873dfc49463ec312c
[ "MIT" ]
null
null
null
src/RenderSystem/Vulkan/Managers/CDeviceMemoryManager.cpp
przemyslaw-szymanski/vke
1d8fb139e0e995e330db6b8873dfc49463ec312c
[ "MIT" ]
null
null
null
#include "RenderSystem/Vulkan/Managers/CDeviceMemoryManager.h" #if VKE_VULKAN_RENDERER #include "RenderSystem/CDeviceContext.h" #include "RenderSystem/CDDI.h" namespace VKE { namespace RenderSystem { CDeviceMemoryManager::CDeviceMemoryManager(CDeviceContext* pCtx) : m_pCtx{ pCtx } { ...
40.247911
172
0.522181
przemyslaw-szymanski
643b2731e65bb36d7d7cac192ee3a77c4e702308
906
hpp
C++
src/holosuite-lib/holocapture/HoloCaptureOpenNI2Listener.hpp
itsermo/holosuite
16659efec910a4050ddd6548b1310e3ed09636e0
[ "BSD-3-Clause" ]
null
null
null
src/holosuite-lib/holocapture/HoloCaptureOpenNI2Listener.hpp
itsermo/holosuite
16659efec910a4050ddd6548b1310e3ed09636e0
[ "BSD-3-Clause" ]
null
null
null
src/holosuite-lib/holocapture/HoloCaptureOpenNI2Listener.hpp
itsermo/holosuite
16659efec910a4050ddd6548b1310e3ed09636e0
[ "BSD-3-Clause" ]
null
null
null
#pragma once #include "../holocommon/CommonDefs.hpp" #include <log4cxx/log4cxx.h> #include <opencv2/opencv.hpp> #include <OpenNI.h> #include <mutex> #include <condition_variable> #define HOLO_CAPTURE_OPENNI2_MUTEX_TIMEOUT_MS 30 namespace holo { namespace capture { class HoloCaptureOpenNI2Listener : public openni...
20.133333
81
0.756071
itsermo
643bd58227e5fc842f483310d28910448b8f85db
3,207
cpp
C++
Classes/GameScene.cpp
danielgimenes/Frenzy
bf6aef2de3b4f22baef98ce08121fc1fdc3f5c53
[ "MIT" ]
2
2015-09-07T05:15:11.000Z
2019-01-09T02:37:05.000Z
Classes/GameScene.cpp
danielgimenes/Frenzy
bf6aef2de3b4f22baef98ce08121fc1fdc3f5c53
[ "MIT" ]
null
null
null
Classes/GameScene.cpp
danielgimenes/Frenzy
bf6aef2de3b4f22baef98ce08121fc1fdc3f5c53
[ "MIT" ]
null
null
null
#include "GameScene.h" #include "Colors.h" USING_NS_CC; Scene* GameScene::createScene() { // 'scene' is an autorelease object auto scene = Scene::create(); // 'layer' is an autorelease object auto layer = GameScene::create(); // add layer as a child to scene scene->addChild(layer); ...
29.971963
151
0.664484
danielgimenes
64423b92acd78d7636aad9ee0f9d39f4b190b3ed
5,072
cpp
C++
gameOfLife/main.cpp
anAwesomeWave/sfmlGames
6e262b80dbe625451125cc62e65113ca1ced542e
[ "MIT" ]
null
null
null
gameOfLife/main.cpp
anAwesomeWave/sfmlGames
6e262b80dbe625451125cc62e65113ca1ced542e
[ "MIT" ]
null
null
null
gameOfLife/main.cpp
anAwesomeWave/sfmlGames
6e262b80dbe625451125cc62e65113ca1ced542e
[ "MIT" ]
null
null
null
#include <SFML/GRAPHICS.hpp> #include <iostream> using namespace sf; void createCube(int arrOfCubes[62][62]) { for(int i = 1; i < 61; i ++) { for(int j = 1; j < 61; j ++) { if(arrOfCubes[i][j] == 0) { int numberOfCubes = 0; if(arrOfCubes[i-1][j-1] == 1 || arrOfC...
37.57037
125
0.440457
anAwesomeWave
6444adcd77313e5b74b96ba2b1c86d23c302bdd9
9,084
hpp
C++
Generated Files/Scenario5_MatsTexs.g.hpp
hot3dx/RotoDraw3D-DirectX-12
be854c55ce784fe9ce6298ae962aa4eac08aa534
[ "MIT" ]
null
null
null
Generated Files/Scenario5_MatsTexs.g.hpp
hot3dx/RotoDraw3D-DirectX-12
be854c55ce784fe9ce6298ae962aa4eac08aa534
[ "MIT" ]
null
null
null
Generated Files/Scenario5_MatsTexs.g.hpp
hot3dx/RotoDraw3D-DirectX-12
be854c55ce784fe9ce6298ae962aa4eac08aa534
[ "MIT" ]
null
null
null
//------------------------------------------------------------------------------ // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //-----------------------------------------------------------------------------...
36.336
239
0.561867
hot3dx
6446489f3bc7686b13790767d3634e2a0f2f0aa2
754
cpp
C++
src/simulator/vulkan/semaphore.cpp
happydpc/RobotSimulator
0c09d09e802c3118a2beabc7999637ce1fa4e7a7
[ "MIT" ]
1
2021-12-22T18:24:08.000Z
2021-12-22T18:24:08.000Z
src/simulator/vulkan/semaphore.cpp
happydpc/RobotSimulator
0c09d09e802c3118a2beabc7999637ce1fa4e7a7
[ "MIT" ]
null
null
null
src/simulator/vulkan/semaphore.cpp
happydpc/RobotSimulator
0c09d09e802c3118a2beabc7999637ce1fa4e7a7
[ "MIT" ]
null
null
null
//-------------------------------------------------- // Robot Simulator // semaphore.cpp // Date: 24/06/2020 // By Breno Cunha Queiroz //-------------------------------------------------- #include "semaphore.h" Semaphore::Semaphore(Device* device) { _device = device; VkSemaphoreCreateInfo semaphoreInfo{}; semap...
23.5625
112
0.600796
happydpc
644798953569b9ef0bb7edf4ed78e2e4f7a17f15
8,707
tcc
C++
libiop/protocols/encoded/common/rational_linear_combination.tcc
alexander-zw/libiop
a2ed2ec2f3e85f29b6035951553b02cb737c817a
[ "MIT" ]
null
null
null
libiop/protocols/encoded/common/rational_linear_combination.tcc
alexander-zw/libiop
a2ed2ec2f3e85f29b6035951553b02cb737c817a
[ "MIT" ]
null
null
null
libiop/protocols/encoded/common/rational_linear_combination.tcc
alexander-zw/libiop
a2ed2ec2f3e85f29b6035951553b02cb737c817a
[ "MIT" ]
null
null
null
#include "libiop/algebra/utils.hpp" namespace libiop { template<typename FieldT> combined_denominator<FieldT>::combined_denominator(const std::size_t num_rationals) : num_rationals_(num_rationals) { } /* Returns the product of all the denominators */ template<typename FieldT> std::shared_ptr<std::vector<FieldT>>...
36.279167
111
0.683932
alexander-zw
64489282c7c1649226ff6f3dfb5152fa25dd174d
9,447
cpp
C++
BRE/GeometryPass/GeometryPass.cpp
nicolasbertoa/D3D12Base
cdf36d9a6ef8ab3860a03cb250032a0690f89851
[ "BSD-3-Clause" ]
9
2016-07-14T05:43:45.000Z
2016-10-31T15:21:53.000Z
BRE/GeometryPass/GeometryPass.cpp
yang-shuohao/BRE12
cdf36d9a6ef8ab3860a03cb250032a0690f89851
[ "BSD-3-Clause" ]
null
null
null
BRE/GeometryPass/GeometryPass.cpp
yang-shuohao/BRE12
cdf36d9a6ef8ab3860a03cb250032a0690f89851
[ "BSD-3-Clause" ]
null
null
null
#include "GeometryPass.h" #include <d3d12.h> #include <DirectXColors.h> #include <tbb/parallel_for.h> #include <CommandListExecutor/CommandListExecutor.h> #include <DescriptorManager\CbvSrvUavDescriptorManager.h> #include <DescriptorManager\RenderTargetDescriptorManager.h> #include <DirectXManager\DirectXManager.h> #...
41.986667
132
0.659998
nicolasbertoa
64495b0aa5d86ae44570c2d99cb6363e1d63ca9b
526
cpp
C++
Source Code/05_functions_and_random/05_06_random_seed.cpp
rushone2010/CS_A150
0acab19e69c051f67b8dafe904ca77de0431958d
[ "MIT" ]
2
2017-03-18T22:04:47.000Z
2017-03-30T23:24:53.000Z
Source Code/05_functions_and_random/05_06_random_seed.cpp
rushone2010/CS_A150
0acab19e69c051f67b8dafe904ca77de0431958d
[ "MIT" ]
null
null
null
Source Code/05_functions_and_random/05_06_random_seed.cpp
rushone2010/CS_A150
0acab19e69c051f67b8dafe904ca77de0431958d
[ "MIT" ]
null
null
null
/* Random seed. *** Try and execute the program more than once to see results. */ #include <iostream> #include <cstdlib> #include <ctime> using namespace std; int main() { // Sets the seed of the random number generator. srand(static_cast<unsigned int>(time(0))); for (int i = 1; i <= 40; ++i) { //int d1...
15.470588
50
0.551331
rushone2010
644e8d460bfe9f3df6be2050b0aca3fc23bf59a5
10,094
cc
C++
DEM/Src/nebula2/src/gfx2/nd3d9server_resource.cc
moltenguy1/deusexmachina
134f4ca4087fff791ec30562cb250ccd50b69ee1
[ "MIT" ]
2
2017-04-30T20:24:29.000Z
2019-02-12T08:36:26.000Z
DEM/Src/nebula2/src/gfx2/nd3d9server_resource.cc
moltenguy1/deusexmachina
134f4ca4087fff791ec30562cb250ccd50b69ee1
[ "MIT" ]
null
null
null
DEM/Src/nebula2/src/gfx2/nd3d9server_resource.cc
moltenguy1/deusexmachina
134f4ca4087fff791ec30562cb250ccd50b69ee1
[ "MIT" ]
null
null
null
//------------------------------------------------------------------------------ // nd3d9server_resource.cc // (C) 2003 RadonLabs GmbH //------------------------------------------------------------------------------ #include "gfx2/nd3d9server.h" #include "resource/nresourceserver.h" #include "gfx2/nmesh2.h" #i...
38.67433
134
0.518526
moltenguy1
6450ffd44849c9ecceaac140a9e4e85d496b960b
4,721
hpp
C++
include/mmu/api/utils.hpp
RUrlus/ModelMetricUncertainty
f401a25dd196d6e4edf4901fcfee4b56ebd7c10b
[ "Apache-2.0" ]
null
null
null
include/mmu/api/utils.hpp
RUrlus/ModelMetricUncertainty
f401a25dd196d6e4edf4901fcfee4b56ebd7c10b
[ "Apache-2.0" ]
11
2021-12-08T10:34:17.000Z
2022-01-20T13:40:05.000Z
include/mmu/api/utils.hpp
RUrlus/ModelMetricUncertainty
f401a25dd196d6e4edf4901fcfee4b56ebd7c10b
[ "Apache-2.0" ]
null
null
null
/* utils.hpp -- Utility function around type checking of py::array_t * Copyright 2022 Ralph Urlus */ #ifndef INCLUDE_MMU_API_UTILS_HPP_ #define INCLUDE_MMU_API_UTILS_HPP_ #include <pybind11/numpy.h> #include <pybind11/pybind11.h> #include <string> #include <mmu/api/numpy.hpp> #include <mmu/core/common.hpp> namesp...
29.50625
112
0.614912
RUrlus
645d06e94c928595ffdfe90ae8908889e0a7b7e2
15,349
cpp
C++
cocos2d/cocos/cornell/CUCapsuleObstacle.cpp
Mshnik/Pineapple
378917353d22d8497769ed8e45d9a73b40d2717e
[ "MIT" ]
null
null
null
cocos2d/cocos/cornell/CUCapsuleObstacle.cpp
Mshnik/Pineapple
378917353d22d8497769ed8e45d9a73b40d2717e
[ "MIT" ]
null
null
null
cocos2d/cocos/cornell/CUCapsuleObstacle.cpp
Mshnik/Pineapple
378917353d22d8497769ed8e45d9a73b40d2717e
[ "MIT" ]
1
2019-12-25T02:32:13.000Z
2019-12-25T02:32:13.000Z
// // CUCapsuleObstacle.cpp // Cornell Extensions to Cocos2D // // This class implements a capsule physics object. A capsule is a box with semicircular // ends along the major axis. They are a popular physics objects, particularly for // character avatars. The rounded ends means they are less likely to snag, and...
32.727079
114
0.640302
Mshnik
646165866984e4c015898cbcc1d64dd6cdada5b7
7,010
cpp
C++
test/performance/distance.cpp
lf-shaw/operon
09a6ac1932d552b8be505f235318e50e923b0da1
[ "MIT" ]
50
2020-10-14T10:08:21.000Z
2022-03-10T12:55:05.000Z
test/performance/distance.cpp
lf-shaw/operon
09a6ac1932d552b8be505f235318e50e923b0da1
[ "MIT" ]
16
2020-10-26T13:05:47.000Z
2022-02-22T20:24:41.000Z
test/performance/distance.cpp
lf-shaw/operon
09a6ac1932d552b8be505f235318e50e923b0da1
[ "MIT" ]
16
2020-10-26T13:05:38.000Z
2022-01-14T02:52:13.000Z
// SPDX-License-Identifier: MIT // SPDX-FileCopyrightText: Copyright 2019-2021 Heal Research #include <doctest/doctest.h> #include "core/dataset.hpp" #include "core/format.hpp" #include "core/metrics.hpp" #include "core/distance.hpp" #include "core/pset.hpp" #include "analyzers/diversity.hpp" #include "operators/crea...
39.162011
142
0.592297
lf-shaw
646196d8165d1709d1abeb6227ea4bde32c737ae
193
hpp
C++
missions/12_A2CO_COOP_USMC_vs_GUE.lingor/ambience/modules/modules.hpp
amlr/Multi-Session-Operations
ebfa0520a151fb27ff79fa74b17548f8560ed0a9
[ "Apache-2.0" ]
null
null
null
missions/12_A2CO_COOP_USMC_vs_GUE.lingor/ambience/modules/modules.hpp
amlr/Multi-Session-Operations
ebfa0520a151fb27ff79fa74b17548f8560ed0a9
[ "Apache-2.0" ]
null
null
null
missions/12_A2CO_COOP_USMC_vs_GUE.lingor/ambience/modules/modules.hpp
amlr/Multi-Session-Operations
ebfa0520a151fb27ff79fa74b17548f8560ed0a9
[ "Apache-2.0" ]
null
null
null
#define CRB_CIVILIANS //#define CRB_DOGS //#define CRB_EMERGENCY //#define CRB_SHEPHERDS //#define RMM_CTP #define TUP_AIRTRAFFIC #define TUP_SEATRAFFIC //#define CRB_DESTROYCITY //#define AEG
19.3
25
0.797927
amlr
6462b05d02741f58aa4986cbd534e071369dd649
273
cpp
C++
src/GameState.cpp
kurogit/arduino_pong
1f16d8c9b90f5c7e75dbbf5cc1400f1e093208f6
[ "MIT" ]
null
null
null
src/GameState.cpp
kurogit/arduino_pong
1f16d8c9b90f5c7e75dbbf5cc1400f1e093208f6
[ "MIT" ]
null
null
null
src/GameState.cpp
kurogit/arduino_pong
1f16d8c9b90f5c7e75dbbf5cc1400f1e093208f6
[ "MIT" ]
null
null
null
/*! * \file * \details This file is part of https://github.com/kurogit/arduino_pong which is licensed under the MIT License. * \copyright 2016 Patrick Schwartz <kurogit@schwartzm.com> */ #include "GameState.hpp" namespace arduino_pong { } // namespace arduino_pong
21
113
0.736264
kurogit
647285c31cbc3b417b3305e3c8a46ae8e24c48c3
1,467
cpp
C++
2017-08-22/J.cpp
tangjz/Three-Investigators
46dc9b2f0fbb4fe89b075a81feaacc33feeb1b52
[ "MIT" ]
3
2018-04-02T06:00:51.000Z
2018-05-29T04:46:29.000Z
2017-08-22/J.cpp
tangjz/Three-Investigators
46dc9b2f0fbb4fe89b075a81feaacc33feeb1b52
[ "MIT" ]
2
2018-03-31T17:54:30.000Z
2018-05-02T11:31:06.000Z
2017-08-22/J.cpp
tangjz/Three-Investigators
46dc9b2f0fbb4fe89b075a81feaacc33feeb1b52
[ "MIT" ]
2
2018-10-07T00:08:06.000Z
2021-06-28T11:02:59.000Z
#include <cstdio> #include <cstdlib> #include <cstring> #include <algorithm> using namespace std; const int LMAX = 2600; int T, N, M; char A[LMAX], B[LMAX]; bool star[LMAX]; bool f[LMAX][LMAX][2]; bool match(char x, char y) { if(x == '.' || y == '.') return true; return x == y; } int main() { int t, i, j, k; ...
18.111111
93
0.373551
tangjz