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
a7f1bb691a74cb7a47e0e0fe8076658cdb0b8887
40,903
cpp
C++
toonz/sources/tnztools/plastictool_meshedit.cpp
wofogen/tahoma2d
ce5a89a7b1027b2c1769accb91184a2ee6442b4d
[ "BSD-3-Clause" ]
3,710
2016-03-26T00:40:48.000Z
2022-03-31T21:35:12.000Z
toonz/sources/tnztools/plastictool_meshedit.cpp
wofogen/tahoma2d
ce5a89a7b1027b2c1769accb91184a2ee6442b4d
[ "BSD-3-Clause" ]
4,246
2016-03-26T01:21:45.000Z
2022-03-31T23:10:47.000Z
toonz/sources/tnztools/plastictool_meshedit.cpp
wofogen/tahoma2d
ce5a89a7b1027b2c1769accb91184a2ee6442b4d
[ "BSD-3-Clause" ]
633
2016-03-26T00:42:25.000Z
2022-03-17T02:55:13.000Z
// TnzCore includes #include "tmeshimage.h" #include "tgl.h" #include "tundo.h" // TnzExt includes #include "ext/plasticdeformerstorage.h" // tcg includes #include "tcg/tcg_macros.h" #include "tcg/tcg_point_ops.h" #include <unordered_set> #include <unordered_map> using namespace tcg::bgl; #include <boost/graph/b...
30.479136
90
0.580202
wofogen
a7f814f7ebc4bed353133b5972952fb54527b965
886
cpp
C++
test/tests/SimpleHashTesterOneI1.cpp
asidorov95/momo
ebede4ba210ac1fa614bb2571a526e7591a92b56
[ "MIT" ]
null
null
null
test/tests/SimpleHashTesterOneI1.cpp
asidorov95/momo
ebede4ba210ac1fa614bb2571a526e7591a92b56
[ "MIT" ]
null
null
null
test/tests/SimpleHashTesterOneI1.cpp
asidorov95/momo
ebede4ba210ac1fa614bb2571a526e7591a92b56
[ "MIT" ]
null
null
null
/**********************************************************\ This file is distributed under the MIT License. See https://github.com/morzhovets/momo/blob/master/LICENSE for details. tests/SimpleHashTesterOneI1.cpp \**********************************************************/ #include "pch.h" #inclu...
25.314286
91
0.630926
asidorov95
a7f965c884f9128c82b4a7ae6c6cb4f2e574a753
819
hpp
C++
fileid/document/excel/structures/formulas/PtgRange.hpp
DBHeise/fileid
3e3bacf859445020999d0fc30301ac86973c3737
[ "MIT" ]
13
2016-03-13T17:57:46.000Z
2021-12-21T12:11:41.000Z
fileid/document/excel/structures/formulas/PtgRange.hpp
DBHeise/fileid
3e3bacf859445020999d0fc30301ac86973c3737
[ "MIT" ]
9
2016-04-07T13:07:58.000Z
2020-05-30T13:31:59.000Z
fileid/document/excel/structures/formulas/PtgRange.hpp
DBHeise/fileid
3e3bacf859445020999d0fc30301ac86973c3737
[ "MIT" ]
5
2017-04-20T14:47:55.000Z
2021-03-08T03:27:17.000Z
#pragma once #include "../../../../common.hpp" #include "../../MSExcel.common.hpp" #include "../../IParsable.hpp" #include "Ptg.hpp" namespace oless { namespace excel { namespace structures { namespace formulas { // see: https://docs.microsoft.com/en-us/openspecs/office_file_formats/ms-xls/f5ef334a-bc47-...
25.59375
161
0.665446
DBHeise
a7f98fccc20b4653c7ece5a6a83abcc8f605d9b6
1,173
cpp
C++
procrender/src/GeneticAlgoScene.cpp
crest01/ShapeGenetics
7321f6484be668317ad763c0ca5e4d6cbfef8cd1
[ "MIT" ]
18
2017-04-26T13:53:43.000Z
2021-05-29T03:55:27.000Z
procrender/src/GeneticAlgoScene.cpp
crest01/ShapeGenetics
7321f6484be668317ad763c0ca5e4d6cbfef8cd1
[ "MIT" ]
null
null
null
procrender/src/GeneticAlgoScene.cpp
crest01/ShapeGenetics
7321f6484be668317ad763c0ca5e4d6cbfef8cd1
[ "MIT" ]
2
2017-10-17T10:32:01.000Z
2019-11-11T07:23:54.000Z
/* * GeneticAlgoScene.cpp * * Created on: Nov 2, 2015 * Author: Karl Haubenwallner */ #include "GeneticAlgoScene.h" GeneticAlgoScene::GeneticAlgoScene(const std::string& filename): seed(217197128u), genetic_algo(PGA::ProceduralAlgorithm_impl::createFromConfig(filename)), _current_generation(0) { } doub...
20.946429
111
0.746803
crest01
a7fcbc13f768c0c5354f6726fd7981b1a478f5b7
3,691
cpp
C++
src/projects/base/sequential/test_BASE_assembly.cpp
rserban/chrono
bee5e30b2ce3b4ac62324799d1366b6db295830e
[ "BSD-3-Clause" ]
1
2020-03-05T13:00:41.000Z
2020-03-05T13:00:41.000Z
src/projects/base/sequential/test_BASE_assembly.cpp
rserban/chrono
bee5e30b2ce3b4ac62324799d1366b6db295830e
[ "BSD-3-Clause" ]
null
null
null
src/projects/base/sequential/test_BASE_assembly.cpp
rserban/chrono
bee5e30b2ce3b4ac62324799d1366b6db295830e
[ "BSD-3-Clause" ]
1
2022-03-27T15:12:24.000Z
2022-03-27T15:12:24.000Z
/// shaft, connected to the bround by revolute joint at the point <100, 0, 0> /// initial linear speed is (0, 0, 300.); /// initial angular speed angularVelAbs = (0, 3., 0); #include <cmath> #include "chrono/physics/ChSystemNSC.h" #include "chrono/solver/ChIterativeSolverLS.h" #include "chrono/solver/ChDirectSolverLS...
31.016807
117
0.68518
rserban
a7fd1450863825a11a3c7bcf2dfbedd72780e8e1
2,735
cpp
C++
src/main/cpp/autonomous/AutoRightSideShootSix.cpp
frc3512/Robot-2020
c6811155900ccffba93ea9ba131192dcb9fcb1bd
[ "BSD-3-Clause" ]
10
2020-02-07T04:13:15.000Z
2022-02-26T00:13:39.000Z
src/main/cpp/autonomous/AutoRightSideShootSix.cpp
frc3512/Robot-2020
c6811155900ccffba93ea9ba131192dcb9fcb1bd
[ "BSD-3-Clause" ]
82
2020-02-12T03:05:15.000Z
2022-02-18T02:14:38.000Z
src/main/cpp/autonomous/AutoRightSideShootSix.cpp
frc3512/Robot-2020
c6811155900ccffba93ea9ba131192dcb9fcb1bd
[ "BSD-3-Clause" ]
5
2020-02-14T16:24:01.000Z
2022-03-31T09:10:01.000Z
// Copyright (c) 2020-2021 FRC Team 3512. All Rights Reserved. #include <frc/trajectory/constraint/MaxVelocityConstraint.h> #include <frc/trajectory/constraint/RectangularRegionConstraint.h> #include <wpi/numbers> #include "Robot.hpp" namespace frc3512 { void Robot::AutoRightSideShootSix() { // Initial Pose - R...
28.789474
74
0.590859
frc3512
c501489c7a798216d51283dbb79d1fb6e7d56421
524
cpp
C++
code/misc/knapsack_bounded_cost.cpp
VerasThiago/icpc-notebook
e09e4f1cb34a21ae52a246c463f2130ee83c87d6
[ "MIT" ]
13
2019-04-28T14:18:10.000Z
2021-08-19T12:13:26.000Z
code/misc/knapsack_bounded_cost.cpp
raphasramos/competitive-programming
749b6726bd9d517d9143af7e9236d3e5e8cef49b
[ "MIT" ]
null
null
null
code/misc/knapsack_bounded_cost.cpp
raphasramos/competitive-programming
749b6726bd9d517d9143af7e9236d3e5e8cef49b
[ "MIT" ]
6
2019-07-31T02:47:36.000Z
2020-10-12T01:46:23.000Z
// menor custo para conseguir peso ate M usando N tipos diferentes de elementos, sendo que o i-esimo elemento pode ser usado b[i] vezes, tem peso w[i] e custo c[i] // O(N * M) int b[N], w[N], c[N]; MinQueue Q[M] int d[M] //d[i] = custo minimo para conseguir peso i for(int i = 0; i <= M; i++) d[i] = i ? oo : 0; for(in...
26.2
163
0.530534
VerasThiago
c502952e8ad6370cd472f841ccb12d33af00855b
2,093
cpp
C++
exec/brownian/advance.cpp
ckim103/FHDeX
9182d7589db7e7ee318ca2a0f343c378d9c120a0
[ "BSD-3-Clause-LBNL" ]
null
null
null
exec/brownian/advance.cpp
ckim103/FHDeX
9182d7589db7e7ee318ca2a0f343c378d9c120a0
[ "BSD-3-Clause-LBNL" ]
null
null
null
exec/brownian/advance.cpp
ckim103/FHDeX
9182d7589db7e7ee318ca2a0f343c378d9c120a0
[ "BSD-3-Clause-LBNL" ]
null
null
null
#include "hydro_functions.H" #include "hydro_functions_F.H" #include "common_functions.H" #include "common_functions_F.H" #include "common_namespace.H" #include "gmres_functions.H" #include "gmres_functions_F.H" #include "gmres_namespace.H" #include <AMReX_ParallelDescriptor.H> #include <AMReX_MultiFabUtil.H> us...
27.539474
101
0.651218
ckim103
c50fa8b7268b2dfdf292e46b1237323b9eade999
317
hpp
C++
src/shell/command/world/add_state_object_SG_command.hpp
MarkieMark/fastrl
e4f0b9b60a7ecb6f13bbb79936ea82acb8adae0e
[ "Apache-2.0" ]
4
2019-04-19T00:11:36.000Z
2020-04-08T09:50:37.000Z
src/shell/command/world/add_state_object_SG_command.hpp
MarkieMark/fastrl
e4f0b9b60a7ecb6f13bbb79936ea82acb8adae0e
[ "Apache-2.0" ]
null
null
null
src/shell/command/world/add_state_object_SG_command.hpp
MarkieMark/fastrl
e4f0b9b60a7ecb6f13bbb79936ea82acb8adae0e
[ "Apache-2.0" ]
null
null
null
/* * Mark Benjamin 6th March 2019 * Copyright (c) 2019 Mark Benjamin */ #ifndef FASTRL_SHELL_COMMAND_WORLD_ADD_STATE_OBJECT_SG_COMMAND_HPP #define FASTRL_SHELL_COMMAND_WORLD_ADD_STATE_OBJECT_SG_COMMAND_HPP class AddStateObjectSGCommand { }; #endif //FASTRL_SHELL_COMMAND_WORLD_ADD_STATE_OBJECT_SG_COMMAND_HPP
21.133333
67
0.84858
MarkieMark
c51092f9095edf8eae106ce1cffbc5758265a410
4,661
cpp
C++
Source/Shared/dependencies/d3dxaffinity/CD3DX12AffinityDescriptorHeap.cpp
JJoosten/IndirectOcclusionCulling
0376da0f9bdb14e67238a5b54e928e50ee33aef6
[ "MIT" ]
19
2016-08-16T10:19:07.000Z
2018-12-04T01:00:00.000Z
Source/Shared/dependencies/d3dxaffinity/CD3DX12AffinityDescriptorHeap.cpp
JJoosten/IndirectOcclusionCulling
0376da0f9bdb14e67238a5b54e928e50ee33aef6
[ "MIT" ]
1
2016-08-18T04:23:19.000Z
2017-01-26T22:46:44.000Z
Source/Shared/dependencies/d3dxaffinity/CD3DX12AffinityDescriptorHeap.cpp
JJoosten/IndirectOcclusionCulling
0376da0f9bdb14e67238a5b54e928e50ee33aef6
[ "MIT" ]
1
2019-09-23T10:49:36.000Z
2019-09-23T10:49:36.000Z
//********************************************************* // // Copyright (c) Microsoft. All rights reserved. // This code is licensed under the MIT License (MIT). // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY // IMPLIED WARRANTIES OF FITNESS FOR A PARTICUL...
35.310606
152
0.705428
JJoosten
78a506c0257b7eab139f53474adf266a447cc617
64,498
cpp
C++
Engine/source/afx/afxConstraint.cpp
John3/faustlogic_Torque3D-plus-AFX
45ea3c81707c944792cd785f87e86bc8085f654a
[ "Unlicense" ]
13
2015-04-13T21:46:01.000Z
2017-11-20T22:12:04.000Z
Engine/source/afx/afxConstraint.cpp
John3/faustlogic_Torque3D-plus-AFX
45ea3c81707c944792cd785f87e86bc8085f654a
[ "Unlicense" ]
1
2015-11-16T23:57:12.000Z
2015-12-01T03:24:08.000Z
Engine/source/afx/afxConstraint.cpp
John3/faustlogic_Torque3D-plus-AFX
45ea3c81707c944792cd785f87e86bc8085f654a
[ "Unlicense" ]
7
2015-04-14T23:27:16.000Z
2022-03-29T00:45:37.000Z
//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~~// // Arcane-FX for MIT Licensed Open Source version of Torque 3D from GarageGames // Copyright (C) 2015 Faust Logic, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and ...
24.674063
127
0.63771
John3
78a81ca3d1a317cf93b23974abb97ea9f8cf617a
4,105
hpp
C++
Box2D/Common/BlockAllocator.hpp
louis-langholtz/Box2D
7c74792bf177cf36640d735de2bba0225bf7f852
[ "Zlib" ]
32
2016-10-20T05:55:04.000Z
2021-11-25T16:34:41.000Z
Box2D/Common/BlockAllocator.hpp
louis-langholtz/Box2D
7c74792bf177cf36640d735de2bba0225bf7f852
[ "Zlib" ]
50
2017-01-07T21:40:16.000Z
2018-01-31T10:04:05.000Z
Box2D/Common/BlockAllocator.hpp
louis-langholtz/Box2D
7c74792bf177cf36640d735de2bba0225bf7f852
[ "Zlib" ]
7
2017-02-09T10:02:02.000Z
2020-07-23T22:49:04.000Z
/* * Original work Copyright (c) 2006-2009 Erin Catto http://www.box2d.org * Modified work Copyright (c) 2017 Louis Langholtz https://github.com/louis-langholtz/Box2D * * This software is provided 'as-is', without any express or implied * warranty. In no event will the authors be held liable for any damages * ar...
33.373984
115
0.629963
louis-langholtz
78abb23a44370079bef4f9395a04f4df1b52bac4
8,070
cpp
C++
APPENDIX_A_EXAMPLES/LINUX_VERSIONS/append_example8/append_example_a8.cpp
cp-shen/interactive_computer_graphics
786f53d752f7b213b60a5508917e7c7f6e188c6e
[ "MIT" ]
36
2015-12-10T03:33:56.000Z
2022-02-02T04:50:51.000Z
APPENDIX_A_EXAMPLES/LINUX_VERSIONS/append_example8/append_example_a8.cpp
cp-shen/interactive_computer_graphics
786f53d752f7b213b60a5508917e7c7f6e188c6e
[ "MIT" ]
2
2016-01-21T16:51:22.000Z
2018-12-04T16:02:01.000Z
APPENDIX_A_EXAMPLES/LINUX_VERSIONS/append_example8/append_example_a8.cpp
cp-shen/interactive_computer_graphics
786f53d752f7b213b60a5508917e7c7f6e188c6e
[ "MIT" ]
14
2015-12-14T01:10:01.000Z
2022-01-25T22:19:55.000Z
// rotating cube with texture object #include "Angel.h" const int NumTriangles = 12; // (6 faces)(2 triangles/face) const int NumVertices = 3 * NumTriangles; const int TextureSize = 64; typedef Angel::vec4 point4; typedef Angel::vec4 color4; // Texture objects and storage for texture image GLuint textures[2]; ...
28.118467
79
0.576084
cp-shen
78ba49fb5527bde70419b9a25b5327acf2c9bff9
2,296
cpp
C++
src/Geno/C++/GUI/Modals/DiscordRPCSettingsModal.cpp
Starkshat/Geno
64e52e802eda97c48d90080b774bd51b4d873321
[ "Zlib" ]
33
2021-06-14T15:40:38.000Z
2022-03-16T01:23:40.000Z
src/Geno/C++/GUI/Modals/DiscordRPCSettingsModal.cpp
Starkshat/Geno
64e52e802eda97c48d90080b774bd51b4d873321
[ "Zlib" ]
9
2021-06-18T13:15:05.000Z
2022-01-05T11:48:28.000Z
src/Geno/C++/GUI/Modals/DiscordRPCSettingsModal.cpp
Starkshat/Geno
64e52e802eda97c48d90080b774bd51b4d873321
[ "Zlib" ]
11
2021-06-14T17:01:00.000Z
2022-03-16T01:44:42.000Z
/* * Copyright (c) 2021 Sebastian Kylander https://gaztin.com/ * * This software is provided 'as-is', without any express or implied warranty. In no event will * the authors be held liable for any damages arising from the use of this software. * * Permission is granted to anyone to use this software for any purpo...
38.266667
143
0.618031
Starkshat
78bb3a501f7728c1ffc728dc987ac5a91a28865f
261
cpp
C++
ABC/ABC051/A.cpp
rajyan/AtCoder
2c1187994016d4c19b95489d2f2d2c0eab43dd8e
[ "MIT" ]
1
2021-06-01T17:13:44.000Z
2021-06-01T17:13:44.000Z
ABC/ABC051/A.cpp
rajyan/AtCoder
2c1187994016d4c19b95489d2f2d2c0eab43dd8e
[ "MIT" ]
null
null
null
ABC/ABC051/A.cpp
rajyan/AtCoder
2c1187994016d4c19b95489d2f2d2c0eab43dd8e
[ "MIT" ]
null
null
null
//#include <iostream> //#include <sstream> //#include <vector> // //using namespace std; // //int main() { // // stringstream ss; // string tmp; // // cin >> tmp; // // ss.str(tmp); // // while (getline(ss, tmp, ',')) cout << tmp << " "; // // return 0; // //}
13.05
52
0.51341
rajyan
78be2e2a5497984a90ff54d16a9d800c0b12bb50
5,165
cpp
C++
Real-Time Corruptor/BizHawk_RTC/psx/octoshock/cdrom/recover-raw.cpp
redscientistlabs/Bizhawk50X-Vanguard
96e0f5f87671a1230784c8faf935fe70baadfe48
[ "MIT" ]
1,414
2015-06-28T09:57:51.000Z
2021-10-14T03:51:10.000Z
Real-Time Corruptor/BizHawk_RTC/psx/octoshock/cdrom/recover-raw.cpp
redscientistlabs/Bizhawk50X-Vanguard
96e0f5f87671a1230784c8faf935fe70baadfe48
[ "MIT" ]
2,369
2015-06-25T01:45:44.000Z
2021-10-16T08:44:18.000Z
Real-Time Corruptor/BizHawk_RTC/psx/octoshock/cdrom/recover-raw.cpp
redscientistlabs/Bizhawk50X-Vanguard
96e0f5f87671a1230784c8faf935fe70baadfe48
[ "MIT" ]
430
2015-06-29T04:28:58.000Z
2021-10-05T18:24:17.000Z
/* dvdisaster: Additional error correction for optical media. * Copyright (C) 2004-2007 Carsten Gnoerlich. * Project home page: http://www.dvdisaster.com * Email: carsten@dvdisaster.com -or- cgnoerlich@fsfe.org * * This program is free software; you can redistribute it and/or modify * it under the terms o...
25.318627
90
0.652469
redscientistlabs
78be585c4c5873cbcf8cd10f9407e9a837dbb30c
5,082
cc
C++
src/compiler/typecheck/capability_predicate.cc
lbk2kgithub1/verona
5be07d3b71e5a4fa8da1493cf4c6248d75642f85
[ "MIT" ]
1
2020-01-21T05:04:26.000Z
2020-01-21T05:04:26.000Z
src/compiler/typecheck/capability_predicate.cc
lbk2kgithub1/verona
5be07d3b71e5a4fa8da1493cf4c6248d75642f85
[ "MIT" ]
null
null
null
src/compiler/typecheck/capability_predicate.cc
lbk2kgithub1/verona
5be07d3b71e5a4fa8da1493cf4c6248d75642f85
[ "MIT" ]
null
null
null
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #include "compiler/typecheck/capability_predicate.h" #include "compiler/printing.h" #include <fmt/ostream.h> namespace verona::compiler { PredicateSet::PredicateSet(CapabilityPredicate predicate) : values_(static_cast...
29.375723
80
0.684179
lbk2kgithub1
78bf20c265bb89e9eeabe2c3147a211d1c6ec48a
719
hpp
C++
irohad/ametsuchi/os_persistent_state_factory.hpp
coderintherye/iroha
68509282851130c9818f21acef1ef28e53622315
[ "Apache-2.0" ]
null
null
null
irohad/ametsuchi/os_persistent_state_factory.hpp
coderintherye/iroha
68509282851130c9818f21acef1ef28e53622315
[ "Apache-2.0" ]
null
null
null
irohad/ametsuchi/os_persistent_state_factory.hpp
coderintherye/iroha
68509282851130c9818f21acef1ef28e53622315
[ "Apache-2.0" ]
null
null
null
/** * Copyright Soramitsu Co., Ltd. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0 */ #ifndef IROHA_OS_PERSISTENT_STATE_FACTORY_HPP #define IROHA_OS_PERSISTENT_STATE_FACTORY_HPP #include <memory> #include "ametsuchi/ordering_service_persistent_state.hpp" namespace iroha { namespace ametsuchi { ...
25.678571
78
0.732962
coderintherye
78bf5064764a470dd8f59faa4da3faf9f61339b6
2,418
cpp
C++
EvtGen1_06_00/src/EvtGenBase/EvtStringParticle.cpp
klendathu2k/StarGenerator
7dd407c41d4eea059ca96ded80d30bda0bc014a4
[ "MIT" ]
2
2018-12-24T19:37:00.000Z
2022-02-28T06:57:20.000Z
EvtGen1_06_00/src/EvtGenBase/EvtStringParticle.cpp
klendathu2k/StarGenerator
7dd407c41d4eea059ca96ded80d30bda0bc014a4
[ "MIT" ]
null
null
null
EvtGen1_06_00/src/EvtGenBase/EvtStringParticle.cpp
klendathu2k/StarGenerator
7dd407c41d4eea059ca96ded80d30bda0bc014a4
[ "MIT" ]
null
null
null
//-------------------------------------------------------------------------- // // Environment: // This software is part of the EvtGen package developed jointly // for the BaBar and CLEO collaborations. If you use all or part // of it, please give an appropriate acknowledgement. // // Copyright Informat...
19.344
121
0.658395
klendathu2k
78c00353f51ac86580d30cf317101e96ae3914bb
281
cpp
C++
YorozuyaGSLib/source/_character_disconnect_result_wrac.cpp
lemkova/Yorozuya
f445d800078d9aba5de28f122cedfa03f26a38e4
[ "MIT" ]
29
2017-07-01T23:08:31.000Z
2022-02-19T10:22:45.000Z
YorozuyaGSLib/source/_character_disconnect_result_wrac.cpp
kotopes/Yorozuya
605c97d3a627a8f6545cc09f2a1b0a8afdedd33a
[ "MIT" ]
90
2017-10-18T21:24:51.000Z
2019-06-06T02:30:33.000Z
YorozuyaGSLib/source/_character_disconnect_result_wrac.cpp
kotopes/Yorozuya
605c97d3a627a8f6545cc09f2a1b0a8afdedd33a
[ "MIT" ]
44
2017-12-19T08:02:59.000Z
2022-02-24T23:15:01.000Z
#include <_character_disconnect_result_wrac.hpp> START_ATF_NAMESPACE int _character_disconnect_result_wrac::size() { using org_ptr = int (WINAPIV*)(struct _character_disconnect_result_wrac*); return (org_ptr(0x1401d24e0L))(this); }; END_ATF_NAMESPACE
25.545455
82
0.743772
lemkova
78c398cbed79a4a3b5c940505645a9000c83495e
464
hpp
C++
native/shared/path_creator.hpp
Utsav2/battle-bots
d3c35f03d81bc38bdeb850ecb2c999794771e5d9
[ "MIT" ]
null
null
null
native/shared/path_creator.hpp
Utsav2/battle-bots
d3c35f03d81bc38bdeb850ecb2c999794771e5d9
[ "MIT" ]
null
null
null
native/shared/path_creator.hpp
Utsav2/battle-bots
d3c35f03d81bc38bdeb850ecb2c999794771e5d9
[ "MIT" ]
null
null
null
#ifndef PATH_H #define PATH_H #include <vector> #include <map> #include "coordinate.hpp" class Path { private: std::vector<Coordinate> coords; public: Path(std::vector<Coordinate> coords); Path(int, int); void add_coords(int x, int y); void add_coords(Coordinate coord); size_t size(); ...
19.333333
45
0.663793
Utsav2
78c5f944369980e1bd875d83fb1f0edc137e6204
57,177
cpp
C++
media/mm-video/qdsp6/vdec/src/H264_Utils.cpp
Zuli/device_sony_lt28
216082da1732986ca5218e9ac1c33c758334f64e
[ "Apache-2.0" ]
null
null
null
media/mm-video/qdsp6/vdec/src/H264_Utils.cpp
Zuli/device_sony_lt28
216082da1732986ca5218e9ac1c33c758334f64e
[ "Apache-2.0" ]
null
null
null
media/mm-video/qdsp6/vdec/src/H264_Utils.cpp
Zuli/device_sony_lt28
216082da1732986ca5218e9ac1c33c758334f64e
[ "Apache-2.0" ]
null
null
null
/*-------------------------------------------------------------------------- Copyright (c) 2009, Code Aurora Forum. 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 mu...
36.23384
159
0.482974
Zuli
78c8234b9f8b1270d9a14bab448f53cbe95e1d77
2,196
hpp
C++
Ponce/include_IDA6.8/ints.hpp
ZhuHuiBeiShaDiao/Ponce
fc25268592027af0c71c898f87a347418c5ad475
[ "BSL-1.0" ]
1
2019-08-01T03:43:28.000Z
2019-08-01T03:43:28.000Z
Ponce/include_IDA6.8/ints.hpp
ZhuHuiBeiShaDiao/Ponce
fc25268592027af0c71c898f87a347418c5ad475
[ "BSL-1.0" ]
null
null
null
Ponce/include_IDA6.8/ints.hpp
ZhuHuiBeiShaDiao/Ponce
fc25268592027af0c71c898f87a347418c5ad475
[ "BSL-1.0" ]
null
null
null
/* * Interactive disassembler (IDA). * Copyright (c) 1990-2015 Hex-Rays * ALL RIGHTS RESERVED. * */ #ifndef _INTS_HPP #define _INTS_HPP #pragma pack(push, 1) // IDA uses 1 byte alignments! /*! \file ints.hpp \brief Functions that deal with the predefined comments */ class insn_t; c...
26.457831
80
0.54827
ZhuHuiBeiShaDiao
78cea65154305a9c303ce88d6ef546511ff59376
1,940
cpp
C++
examples/dispatch/dispatch.cpp
jstaursky/libviface
67bc973e369869df5c24aa654541c6295e49f889
[ "Apache-2.0" ]
38
2016-11-21T08:05:11.000Z
2022-03-24T14:27:05.000Z
examples/dispatch/dispatch.cpp
jstaursky/libviface
67bc973e369869df5c24aa654541c6295e49f889
[ "Apache-2.0" ]
7
2018-03-12T02:25:04.000Z
2022-03-23T08:22:19.000Z
examples/dispatch/dispatch.cpp
jstaursky/libviface
67bc973e369869df5c24aa654541c6295e49f889
[ "Apache-2.0" ]
21
2016-01-20T04:20:40.000Z
2022-03-29T08:16:49.000Z
#include <iostream> #include <viface/viface.hpp> #include <viface/utils.hpp> using namespace std; class MyDispatcher { private: int count = 0; public: bool handler(string const& name, uint id, vector<uint8_t>& packet) { cout << "+++ Received packet " << dec << count; ...
28.115942
80
0.554124
jstaursky
78cff282ce4f82341a4f076bea8b95b1b02a3902
7,218
cpp
C++
hermit/cfgscr.cpp
ancientlore/hermit
0b6b5b3e364fe9a7080517a7f3ddb8cdb03f5b14
[ "MIT" ]
1
2020-07-15T19:39:49.000Z
2020-07-15T19:39:49.000Z
hermit/cfgscr.cpp
ancientlore/hermit
0b6b5b3e364fe9a7080517a7f3ddb8cdb03f5b14
[ "MIT" ]
null
null
null
hermit/cfgscr.cpp
ancientlore/hermit
0b6b5b3e364fe9a7080517a7f3ddb8cdb03f5b14
[ "MIT" ]
null
null
null
// Config Scroller class // Copyright (C) 1996 Michael D. Lore All Rights Reserved #include <stdio.h> #include <io.h> #include "cfgscr.h" #include "registry.h" #include "console/colors.h" #include "cfgdlg.h" #include "console/inputdlg.h" #include "ptr.h" #define COMMAND_SIZE 1024 ConfigScroller::C...
24.140468
98
0.578969
ancientlore
78d07c65fff7db1019b418e82aa156c9ff68734d
3,901
cpp
C++
core-uv/uv-signal-handler.cpp
plok/katla
aaaeb8baf041bba7259275beefc71c8452a16223
[ "Apache-2.0" ]
null
null
null
core-uv/uv-signal-handler.cpp
plok/katla
aaaeb8baf041bba7259275beefc71c8452a16223
[ "Apache-2.0" ]
3
2021-03-25T14:33:22.000Z
2021-11-16T14:21:56.000Z
core-uv/uv-signal-handler.cpp
plok/katla
aaaeb8baf041bba7259275beefc71c8452a16223
[ "Apache-2.0" ]
1
2020-08-26T13:32:36.000Z
2020-08-26T13:32:36.000Z
/*** * Copyright 2019 The Katla 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 agr...
27.090278
130
0.683927
plok
78d18f73dd6a139fd48edcde91c18e54d4d28be1
49,898
cpp
C++
bin/windows/cpp/obj/src/openfl/Assets.cpp
DrSkipper/twogames
916e8af6cd45cf85fbca4a6ea8ee12e24dd6689b
[ "MIT" ]
null
null
null
bin/windows/cpp/obj/src/openfl/Assets.cpp
DrSkipper/twogames
916e8af6cd45cf85fbca4a6ea8ee12e24dd6689b
[ "MIT" ]
null
null
null
bin/windows/cpp/obj/src/openfl/Assets.cpp
DrSkipper/twogames
916e8af6cd45cf85fbca4a6ea8ee12e24dd6689b
[ "MIT" ]
null
null
null
#include <hxcpp.h> #ifndef INCLUDED_DefaultAssetLibrary #include <DefaultAssetLibrary.h> #endif #ifndef INCLUDED_IMap #include <IMap.h> #endif #ifndef INCLUDED_Type #include <Type.h> #endif #ifndef INCLUDED_flash_display_BitmapData #include <flash/display/BitmapData.h> #endif #ifndef INCLUDED_flash_display_DisplayObje...
37.265123
249
0.698846
DrSkipper
78d3b7b5ced8d20e58ed950c2bc7bdb888d2bd1d
2,296
cpp
C++
src/goto-instrument/show_locations.cpp
dan-blank/yogar-cbmc
05b4f056b585b65828acf39546c866379dca6549
[ "MIT" ]
1
2017-07-25T02:44:56.000Z
2017-07-25T02:44:56.000Z
src/goto-instrument/show_locations.cpp
dan-blank/yogar-cbmc
05b4f056b585b65828acf39546c866379dca6549
[ "MIT" ]
1
2017-02-22T14:35:19.000Z
2017-02-27T08:49:58.000Z
src/goto-instrument/show_locations.cpp
dan-blank/yogar-cbmc
05b4f056b585b65828acf39546c866379dca6549
[ "MIT" ]
4
2019-01-19T03:32:21.000Z
2021-12-20T14:25:19.000Z
/*******************************************************************\ Module: Show program locations Author: Daniel Kroening, kroening@kroening.com \*******************************************************************/ #include <iostream> #include <util/xml.h> #include <util/i2string.h> #include <util/xml_irep.h> ...
23.916667
81
0.533101
dan-blank
78d7b2a7f0b748358776c03a9b2b14c2327b889e
1,283
cpp
C++
src/editor/windows/material_properties.cpp
tksuoran/erhe
07d1ea014e1675f6b09bff0d9d4f3568f187e0d8
[ "Apache-2.0" ]
36
2021-05-03T10:47:49.000Z
2022-03-19T12:54:03.000Z
src/editor/windows/material_properties.cpp
tksuoran/erhe
07d1ea014e1675f6b09bff0d9d4f3568f187e0d8
[ "Apache-2.0" ]
29
2020-05-17T08:26:31.000Z
2022-03-27T08:52:47.000Z
src/editor/windows/material_properties.cpp
tksuoran/erhe
07d1ea014e1675f6b09bff0d9d4f3568f187e0d8
[ "Apache-2.0" ]
2
2022-01-24T09:24:37.000Z
2022-01-31T20:45:36.000Z
#include "windows/material_properties.hpp" #include "editor_tools.hpp" #include "windows/materials.hpp" #include "erhe/primitive/material.hpp" #include <imgui.h> #include <imgui/misc/cpp/imgui_stdlib.h> namespace editor { Material_properties::Material_properties() : erhe::components::Component{c_name} , Im...
24.207547
106
0.667186
tksuoran
78e125fb8e7f6eaeebe16d607e63a24ea6e7d400
884
hpp
C++
src/engine/graphics/opengl/gl_framebuffer.hpp
Overpeek/Overpeek-Engine
3df11072378ba870033a19cd09fb332bcc4c466d
[ "MIT" ]
13
2020-01-10T16:36:46.000Z
2021-08-09T09:24:47.000Z
src/engine/graphics/opengl/gl_framebuffer.hpp
Overpeek/Overpeek-Engine
3df11072378ba870033a19cd09fb332bcc4c466d
[ "MIT" ]
1
2020-01-16T11:03:49.000Z
2020-01-16T11:11:15.000Z
src/engine/graphics/opengl/gl_framebuffer.hpp
Overpeek/Overpeek-Engine
3df11072378ba870033a19cd09fb332bcc4c466d
[ "MIT" ]
1
2020-02-06T21:22:47.000Z
2020-02-06T21:22:47.000Z
#pragma once #include "engine/graphics/interface/framebuffer.hpp" #include "engine/graphics/opengl/gl_texture.hpp" #include "engine/internal_libs.hpp" namespace oe::graphics { class GLFrameBuffer : public IFrameBuffer { private: // uint32_t m_rbo; uint32_t m_id; Texture m_texture; pub...
22.666667
69
0.713801
Overpeek
78e29276d916c0660539ffc9eed806e18eed0da3
547
cpp
C++
cozybirdFX/PhysicsSystem.cpp
HenryLoo/cozybirdFX
0ef522d9a8304c190c8a586a4de6452c6bc9edfe
[ "BSD-3-Clause" ]
null
null
null
cozybirdFX/PhysicsSystem.cpp
HenryLoo/cozybirdFX
0ef522d9a8304c190c8a586a4de6452c6bc9edfe
[ "BSD-3-Clause" ]
null
null
null
cozybirdFX/PhysicsSystem.cpp
HenryLoo/cozybirdFX
0ef522d9a8304c190c8a586a4de6452c6bc9edfe
[ "BSD-3-Clause" ]
null
null
null
#include "PhysicsSystem.h" namespace { const unsigned long COMPONENTS_MASK { ECSComponent::COMPONENT_POSITION | ECSComponent::COMPONENT_VELOCITY }; } PhysicsSystem::PhysicsSystem(EntityManager &manager, std::vector<ECSComponent::Position> &positions, std::vector<ECSComponent::Velocity> &velocities) : ECS...
21.88
69
0.778793
HenryLoo
78e37417d11be59453acc52ad910dac5136c603e
4,257
cpp
C++
Game/GameConfig.cpp
michalzaw/vbcpp
911896898d2cbf6a223e3552801c5207e0c2aef2
[ "MIT" ]
9
2020-06-09T20:43:35.000Z
2022-02-23T17:45:44.000Z
Game/GameConfig.cpp
michalzaw/vbcpp-fork
8b972e8debf825173c001f99fe43f92e9b548384
[ "MIT" ]
null
null
null
Game/GameConfig.cpp
michalzaw/vbcpp-fork
8b972e8debf825173c001f99fe43f92e9b548384
[ "MIT" ]
1
2021-01-04T14:01:12.000Z
2021-01-04T14:01:12.000Z
#include "GameConfig.h" #include "../Utils/Strings.h" void GameConfig::loadGameConfig(const char* filename) { XMLDocument doc; doc.LoadFile(filename); XMLElement* objElement = doc.FirstChildElement("Game"); for (XMLElement* child = objElement->FirstChildElement(); child != NULL; child = child->Next...
30.407143
148
0.554851
michalzaw
78e4fc875cf757a4ccb9ccb3d300ecd051d72e3d
2,654
hpp
C++
inference-engine/thirdparty/clDNN/api/topology.hpp
ElenaGvozdeva/openvino
084aa4e5916fa2ed3e353dcd45d081ab11d9c75a
[ "Apache-2.0" ]
1
2022-02-10T08:05:09.000Z
2022-02-10T08:05:09.000Z
inference-engine/thirdparty/clDNN/api/topology.hpp
ElenaGvozdeva/openvino
084aa4e5916fa2ed3e353dcd45d081ab11d9c75a
[ "Apache-2.0" ]
40
2020-12-04T07:46:57.000Z
2022-02-21T13:04:40.000Z
inference-engine/thirdparty/clDNN/api/topology.hpp
ElenaGvozdeva/openvino
084aa4e5916fa2ed3e353dcd45d081ab11d9c75a
[ "Apache-2.0" ]
1
2020-07-22T15:53:40.000Z
2020-07-22T15:53:40.000Z
// Copyright (C) 2018-2021 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // /////////////////////////////////////////////////////////////////////////////////////////////////// #pragma once #include <cstdint> #include "cldnn.hpp" #include "compounds.h" #include "primitive.hpp" #include <vector> #include <mem...
27.360825
103
0.621326
ElenaGvozdeva
78e750c3d49ef9e408e0d33a1cadfbf2226d4852
8,256
cpp
C++
src/jit-dynamic.cpp
eponymous/libjit-python
ded363a1ceaee60b622946a34769f70cd434b694
[ "BSD-2-Clause" ]
1
2019-04-25T03:24:56.000Z
2019-04-25T03:24:56.000Z
src/jit-dynamic.cpp
eponymous/libjit-python
ded363a1ceaee60b622946a34769f70cd434b694
[ "BSD-2-Clause" ]
null
null
null
src/jit-dynamic.cpp
eponymous/libjit-python
ded363a1ceaee60b622946a34769f70cd434b694
[ "BSD-2-Clause" ]
null
null
null
/* Copyright (c) 2016, Dan Eicher 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...
40.273171
107
0.518653
eponymous
78e96470c9e43a2889e44f7dcb6ccff4520e904d
4,798
cpp
C++
modules/spaint/src/sampling/cpu/PerLabelVoxelSampler_CPU.cpp
GucciPrada/spaint
b09ff1ec0d9e123cf316f2737e1b70b5ecc0beea
[ "Unlicense" ]
1
2019-05-16T06:39:21.000Z
2019-05-16T06:39:21.000Z
modules/spaint/src/sampling/cpu/PerLabelVoxelSampler_CPU.cpp
GucciPrada/spaint
b09ff1ec0d9e123cf316f2737e1b70b5ecc0beea
[ "Unlicense" ]
null
null
null
modules/spaint/src/sampling/cpu/PerLabelVoxelSampler_CPU.cpp
GucciPrada/spaint
b09ff1ec0d9e123cf316f2737e1b70b5ecc0beea
[ "Unlicense" ]
null
null
null
/** * spaint: PerLabelVoxelSampler_CPU.cpp * Copyright (c) Torr Vision Group, University of Oxford, 2015. All rights reserved. */ #include "sampling/cpu/PerLabelVoxelSampler_CPU.h" #include "sampling/shared/PerLabelVoxelSampler_Shared.h" namespace spaint { //#################### CONSTRUCTORS ####################...
35.540741
140
0.717799
GucciPrada
78ef66820933b7e1972d9596aee1bcf05a0fe1a3
1,401
cpp
C++
src/position.cpp
aalin/synthz0r
ecf35b3fec39020e46732a15874b66f07a3e48e9
[ "MIT" ]
1
2021-12-23T21:14:37.000Z
2021-12-23T21:14:37.000Z
src/position.cpp
aalin/synthz0r
ecf35b3fec39020e46732a15874b66f07a3e48e9
[ "MIT" ]
null
null
null
src/position.cpp
aalin/synthz0r
ecf35b3fec39020e46732a15874b66f07a3e48e9
[ "MIT" ]
null
null
null
#include "position.hpp" #include <iostream> #include <regex> uint32_t Position::parse(const std::string &str) { const std::regex re("^(\\d+)\\.(\\d+)\\.(\\d+)\\.(\\d+)$"); std::smatch match; if (!std::regex_match(str, match, re)) { throw std::runtime_error("Could not parse string"); } const uint32_t bar = ato...
23.35
72
0.656674
aalin
78efe81c282f4300c9109b8c858f8dc8676ec289
12,888
cpp
C++
src/main.cpp
hporro/Tarea2GPU
68d7a4b01c00710e9c6094dcd627840e93178220
[ "MIT" ]
null
null
null
src/main.cpp
hporro/Tarea2GPU
68d7a4b01c00710e9c6094dcd627840e93178220
[ "MIT" ]
null
null
null
src/main.cpp
hporro/Tarea2GPU
68d7a4b01c00710e9c6094dcd627840e93178220
[ "MIT" ]
null
null
null
#include <GL/glew.h> #include <GLFW/glfw3.h> #include <glm/glm.hpp> #include <glm/gtc/matrix_transform.hpp> #include <glm/gtc/type_ptr.hpp> #include <iostream> #include "Core/Shader.h" #include "Camera/CenteredCamera.h" #include "Model.h" #include "Light.h" #include "Models/Lamp.h" #include "Models/Cube.h" #include...
33.216495
125
0.661468
hporro
78f1537e3a3f56bbfc817d479e86baa8e2e3738c
2,501
cpp
C++
unit_test/xyaml.cpp
UndefeatedSunny/sc-platform
5897c460bf7a4b9694324f09d2492f5e157a3955
[ "Apache-2.0" ]
8
2021-06-03T15:22:26.000Z
2022-03-18T19:09:10.000Z
unit_test/xyaml.cpp
UndefeatedSunny/sc-platform
5897c460bf7a4b9694324f09d2492f5e157a3955
[ "Apache-2.0" ]
null
null
null
unit_test/xyaml.cpp
UndefeatedSunny/sc-platform
5897c460bf7a4b9694324f09d2492f5e157a3955
[ "Apache-2.0" ]
1
2021-11-17T15:01:44.000Z
2021-11-17T15:01:44.000Z
#include "report/report.hpp" #include "report/summary.hpp" #include "common/common.hpp" #include "yaml-cpp/yaml.h" #include <string> using namespace std; using namespace sc_core; namespace { const char * const MSGID{ "/Doulos/Example/yaml" }; } string nodeType( const YAML::Node& node ) { string result; switch (...
28.747126
80
0.55058
UndefeatedSunny
78f17b1e168022855a965c270de352807887f8a6
3,606
hpp
C++
include/engine/api/table_parameters.hpp
jhermsmeier/osrm-backend
7b11cd3a11c939c957eeff71af7feddaa86e7f82
[ "BSD-2-Clause" ]
1
2017-04-15T22:58:23.000Z
2017-04-15T22:58:23.000Z
include/engine/api/table_parameters.hpp
jhermsmeier/osrm-backend
7b11cd3a11c939c957eeff71af7feddaa86e7f82
[ "BSD-2-Clause" ]
1
2019-11-21T09:59:27.000Z
2019-11-21T09:59:27.000Z
include/engine/api/table_parameters.hpp
jhermsmeier/osrm-backend
7b11cd3a11c939c957eeff71af7feddaa86e7f82
[ "BSD-2-Clause" ]
1
2020-11-19T08:51:11.000Z
2020-11-19T08:51:11.000Z
/* Copyright (c) 2016, Project OSRM contributors 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 f...
33.388889
98
0.710483
jhermsmeier
78f1aec8a73f7eae04a5955e832f42c3944231a6
523
cpp
C++
landscaper/src/quad_3D.cpp
llGuy/landscaper
7b9874c73bd7f5f07a340b9043fdeace032b6c49
[ "MIT" ]
null
null
null
landscaper/src/quad_3D.cpp
llGuy/landscaper
7b9874c73bd7f5f07a340b9043fdeace032b6c49
[ "MIT" ]
null
null
null
landscaper/src/quad_3D.cpp
llGuy/landscaper
7b9874c73bd7f5f07a340b9043fdeace032b6c49
[ "MIT" ]
null
null
null
#include "quad_3D.h" quad_3D::quad_3D(glm::vec3 const & p1, glm::vec3 const & p2, glm::vec3 const & p3, glm::vec3 const & p4) : verts { p1, p2, p3, p4 } { } auto quad_3D::create(resource_handler & rh) -> void { vertex_buffer.create(); vertex_buffer.fill(verts.size() * sizeof(glm::vec3), verts.data(), GL_STATIC_D...
23.772727
101
0.680688
llGuy
78f1bc6faa242b41e71cd36bb5c129ef3b959a56
1,115
cpp
C++
Source/Ilum/Graphics/Model/SubMesh.cpp
LavenSun/IlumEngine
94841e56af3c5214f04e7a94cb7369f4935c5788
[ "MIT" ]
1
2021-11-20T15:39:09.000Z
2021-11-20T15:39:09.000Z
Source/Ilum/Graphics/Model/SubMesh.cpp
LavenSun/IlumEngine
94841e56af3c5214f04e7a94cb7369f4935c5788
[ "MIT" ]
null
null
null
Source/Ilum/Graphics/Model/SubMesh.cpp
LavenSun/IlumEngine
94841e56af3c5214f04e7a94cb7369f4935c5788
[ "MIT" ]
null
null
null
#include "SubMesh.hpp" namespace Ilum { SubMesh::SubMesh(std::vector<Vertex> &&vertices, std::vector<uint32_t> &&indices, uint32_t index_offset, scope<material::DisneyPBR> &&material) : vertices(std::move(vertices)), indices(std::move(indices)), index_offset(index_offset), material(*material) { for (a...
25.930233
145
0.686996
LavenSun
78f216fc904d76cba43b81d75e42fe4e7e38b1f7
461
cpp
C++
luogu/cxx/src/P3372.cpp
HoshinoTented/Solutions
96fb200c7eb5bce17938aec5ae6efdc43b3fe494
[ "WTFPL" ]
1
2019-09-13T13:06:27.000Z
2019-09-13T13:06:27.000Z
luogu/cxx/src/P3372.cpp
HoshinoTented/Solutions
96fb200c7eb5bce17938aec5ae6efdc43b3fe494
[ "WTFPL" ]
null
null
null
luogu/cxx/src/P3372.cpp
HoshinoTented/Solutions
96fb200c7eb5bce17938aec5ae6efdc43b3fe494
[ "WTFPL" ]
null
null
null
#include <iostream> #include <cmath> #define N 100000 typedef long long value_type; int n, m, chunkLen; value_type values[N], chunk[400]; auto rangeAdd(int begin, int end, value_type value) -> void { for (int i = 0; i < n; ++ i) { values[i] += value; } for (int i = begin / chunkLen + 0.5; i < end / chunkLen +...
15.896552
71
0.563991
HoshinoTented
78f941228a50b58a8ea72601e56cc361e899e31d
2,486
cpp
C++
src/exercises/7/cannypoints.cpp
neumanf/pdi
b9ac18f79dad331f874405c57eaedf5157b0648b
[ "MIT" ]
null
null
null
src/exercises/7/cannypoints.cpp
neumanf/pdi
b9ac18f79dad331f874405c57eaedf5157b0648b
[ "MIT" ]
null
null
null
src/exercises/7/cannypoints.cpp
neumanf/pdi
b9ac18f79dad331f874405c57eaedf5157b0648b
[ "MIT" ]
null
null
null
#include <algorithm> #include <cstdlib> #include <ctime> #include <fstream> #include <iomanip> #include <iostream> #include <numeric> #include <opencv2/core/matx.hpp> #include <opencv2/imgcodecs.hpp> #include <opencv2/opencv.hpp> #include <vector> using namespace std; using namespace cv; #define STEP 5 #define JITTER...
25.111111
79
0.522526
neumanf
78fac89b0ba64af914b83ce5e202dd61d3eb0572
2,131
cc
C++
src/flyMS/src/ready_check.cc
msardonini/Robotics_Cape
5a1e7c25f6051f75a176a13d17dd6419731a72a5
[ "MIT" ]
3
2017-08-04T01:04:42.000Z
2017-11-21T17:56:28.000Z
src/flyMS/src/ready_check.cc
msardonini/Robotics_Cape
5a1e7c25f6051f75a176a13d17dd6419731a72a5
[ "MIT" ]
null
null
null
src/flyMS/src/ready_check.cc
msardonini/Robotics_Cape
5a1e7c25f6051f75a176a13d17dd6419731a72a5
[ "MIT" ]
null
null
null
#include "flyMS/ready_check.h" #include <chrono> #include "rc/dsm.h" #include "rc/start_stop.h" #include "rc/led.h" // Default Constructor ReadyCheck::ReadyCheck() { is_running_.store(true); } // Desctuctor ReadyCheck::~ReadyCheck() { is_running_.store(false); rc_dsm_cleanup(); } int ReadyCheck::WaitForSta...
26.974684
83
0.628813
msardonini
78fae6fe7970874345f18ecc5d6303ced3a896d4
5,270
cpp
C++
src/mpi/contention/cuda/CUDADriver.cpp
Knutakir/shoc
85a7f5d4c1fe19be970f2fc97b0113bad9a2358a
[ "BSD-3-Clause-Clear", "BSD-3-Clause" ]
162
2015-01-25T23:22:48.000Z
2022-03-19T12:36:05.000Z
src/mpi/contention/cuda/CUDADriver.cpp
Knutakir/shoc
85a7f5d4c1fe19be970f2fc97b0113bad9a2358a
[ "BSD-3-Clause-Clear", "BSD-3-Clause" ]
20
2016-01-08T21:54:33.000Z
2021-11-05T13:36:30.000Z
src/mpi/contention/cuda/CUDADriver.cpp
Knutakir/shoc
85a7f5d4c1fe19be970f2fc97b0113bad9a2358a
[ "BSD-3-Clause-Clear", "BSD-3-Clause" ]
85
2015-01-06T15:27:13.000Z
2022-01-24T16:49:09.000Z
#include <iostream> #include <stdlib.h> #include "ResultDatabase.h" #include "OptionParser.h" #include "Utility.h" using namespace std; //using namespace SHOC; #include <cuda.h> #include <cuda_runtime.h> void addBenchmarkSpecOptions(OptionParser &op); void RunBenchmark(ResultDatabase &resultDB, ...
31
149
0.560911
Knutakir
78fb123b6855472cb7ed340cca1e06396cd66234
156,823
cpp
C++
game/pt3_tunes.cpp
vladpower/Gamebox
9491675ee37ed852e533c22e2ce7331d0d7b33c6
[ "Apache-2.0" ]
9
2017-08-31T08:59:06.000Z
2020-07-17T04:04:04.000Z
game/pt3_tunes.cpp
vladpower/Gamebox
9491675ee37ed852e533c22e2ce7331d0d7b33c6
[ "Apache-2.0" ]
1
2019-08-04T15:24:39.000Z
2019-08-04T15:24:39.000Z
game/pt3_tunes.cpp
vladpower/Gamebox
9491675ee37ed852e533c22e2ce7331d0d7b33c6
[ "Apache-2.0" ]
7
2017-08-31T10:12:12.000Z
2019-04-17T18:37:18.000Z
#include <Arduino.h> #include "music.h" #include "tunes.h" const uint8_t mario[] MUSICMEM = { 0x50, 0x72, 0x6f, 0x54, 0x72, 0x61, 0x63, 0x6b, 0x65, 0x72, 0x20, 0x33, 0x2e, 0x35, 0x20, 0x63, 0x6f, 0x6d, 0x70, 0x69, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x6f, 0x66, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0...
94.814389
96
0.659648
vladpower
78fe5dc45140196b07ed73f2a3ba4ecf3f36982f
714
cpp
C++
Uva/424.cpp
w181496/OJ
67d1d32770376865eba8a9dd1767e97dae68989a
[ "MIT" ]
9
2017-10-08T16:22:03.000Z
2021-08-20T09:32:17.000Z
Uva/424.cpp
w181496/OJ
67d1d32770376865eba8a9dd1767e97dae68989a
[ "MIT" ]
null
null
null
Uva/424.cpp
w181496/OJ
67d1d32770376865eba8a9dd1767e97dae68989a
[ "MIT" ]
2
2018-01-15T16:35:44.000Z
2019-03-21T18:30:04.000Z
#include <iostream> #include <string> #include <vector> #include <algorithm> using namespace std; int main() { vector<int>n; string s; cin>>s; for(int i=s.size()-1;i>=0;--i) n.push_back(s[i]-'0'); while(cin>>s) { if(s=="0")break; for(int i=s.size()-1;i>=0;i--) {...
18.789474
48
0.390756
w181496
60039da5e680b3e77af3afc12497ffdf28fd121b
3,765
hpp
C++
ui_view.hpp
m-shibata/jfbview-dpkg
ddca68777bf60da01da8bbeb14f1d4ac5a6e4cf9
[ "Apache-1.1" ]
1
2016-08-05T21:13:57.000Z
2016-08-05T21:13:57.000Z
ui_view.hpp
m-shibata/jfbview-dpkg
ddca68777bf60da01da8bbeb14f1d4ac5a6e4cf9
[ "Apache-1.1" ]
null
null
null
ui_view.hpp
m-shibata/jfbview-dpkg
ddca68777bf60da01da8bbeb14f1d4ac5a6e4cf9
[ "Apache-1.1" ]
null
null
null
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * Copyright (C) 2012-2014 Chuan Ji <ji@chu4n.com> * * * * ...
43.275862
80
0.603984
m-shibata
6010b95bdec321da7a9fbc8d679a0a737118615b
913
cpp
C++
LeetCode/Longest String Chain/main.cpp
Code-With-Aagam/competitive-programming
610520cc396fb13a03c606b5fb6739cfd68cc444
[ "MIT" ]
2
2022-02-08T12:37:41.000Z
2022-03-09T03:48:56.000Z
LeetCode/Longest String Chain/main.cpp
ShubhamJagtap2000/competitive-programming-1
3a9a2e3dd08f8fa8ab823f295cd020d08d3bff84
[ "MIT" ]
null
null
null
LeetCode/Longest String Chain/main.cpp
ShubhamJagtap2000/competitive-programming-1
3a9a2e3dd08f8fa8ab823f295cd020d08d3bff84
[ "MIT" ]
null
null
null
class Solution { private: bool isPredecessor(const string &x, const string &y) { if (y.size() - x.size() != 1) return false; if (y.substr(1) == x || y.substr(0, x.size()) == x) return true; for (int i = 0; i < y.size() - 1; ++i) { if (y.substr(0, i) + y.substr(i + 1) == x) ret...
35.115385
85
0.468784
Code-With-Aagam
60113973edf1f923a1db67a452b8f660b0ed3979
30,780
hpp
C++
lsdtt_xtensor/include/liblas/index.hpp
LSDtopotools/lsdtopytools
9809cbd368fe46b5e483085fa55f3206e4d85183
[ "MIT" ]
2
2020-05-04T14:32:34.000Z
2021-06-29T10:59:03.000Z
lsdtt_xtensor/include/liblas/index.hpp
LSDtopotools/lsdtopytools
9809cbd368fe46b5e483085fa55f3206e4d85183
[ "MIT" ]
1
2020-01-30T14:03:00.000Z
2020-02-06T16:32:56.000Z
include/liblas/index.hpp
libLAS/libLAS-1.6
92b4c1370785481f212cc7fec9623637233c1418
[ "BSD-3-Clause" ]
2
2021-05-17T02:09:16.000Z
2021-06-21T12:15:52.000Z
/****************************************************************************** * $Id$ * * Project: libLAS - http://liblas.org - A BSD library for LAS format data. * Purpose: LAS index class * Author: Gary Huber, gary@garyhuberart.com * ***********************************************************************...
53.811189
206
0.752177
LSDtopotools
601188630d64a9e6b2cfa4bc770f0ffe10961168
14,615
hpp
C++
pecos/core/utils/scipy_loader.hpp
xeisberg/pecos
c9cf209676205dd000479861667351e724f0ba1c
[ "Apache-2.0" ]
288
2021-04-26T21:34:12.000Z
2022-03-29T19:50:06.000Z
pecos/core/utils/scipy_loader.hpp
xeisberg/pecos
c9cf209676205dd000479861667351e724f0ba1c
[ "Apache-2.0" ]
32
2021-04-29T23:58:23.000Z
2022-03-28T17:23:04.000Z
pecos/core/utils/scipy_loader.hpp
xeisberg/pecos
c9cf209676205dd000479861667351e724f0ba1c
[ "Apache-2.0" ]
63
2021-04-28T20:12:59.000Z
2022-03-29T14:10:36.000Z
/* * Copyright 2021 Amazon.com, Inc. or its affiliates. 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. A copy of the License is located at * * http://aws.amazon.com/apache2.0/ * * or in the "license" fil...
38.766578
156
0.602395
xeisberg
6011f71730c5a91c5493b77d80c6e949dd86942f
996
cpp
C++
ChCppLibrary/CPP/ChModelLoader/ChModelLoader.cpp
Chronoss0518/GameLibrary
e6edcd1381be94c237c4527bfd8454ed9d6e8b52
[ "Zlib", "MIT" ]
null
null
null
ChCppLibrary/CPP/ChModelLoader/ChModelLoader.cpp
Chronoss0518/GameLibrary
e6edcd1381be94c237c4527bfd8454ed9d6e8b52
[ "Zlib", "MIT" ]
7
2022-01-13T11:00:30.000Z
2022-02-06T15:50:18.000Z
ChCppLibrary/CPP/ChModelLoader/ChModelLoader.cpp
Chronoss0518/GameLibrary
e6edcd1381be94c237c4527bfd8454ed9d6e8b52
[ "Zlib", "MIT" ]
null
null
null
#include"../../BaseIncluder/ChBase.h" #include"../ChTextObject/ChTextObject.h" #include"../ChModel/ChModelObject.h" #include"ChModelLoader.h" /////////////////////////////////////////////////////////////////////////////////////// //ChModelLoader Method// //////////////////////////////////////////////////////////////...
26.210526
87
0.451807
Chronoss0518
601a43e8358bedf2ded7d654ed0974f2480b3fca
394
hpp
C++
RoboMan/CMD.hpp
paullohs/RoboMan
28014822766a558fa94127120142d081742c507a
[ "Unlicense" ]
null
null
null
RoboMan/CMD.hpp
paullohs/RoboMan
28014822766a558fa94127120142d081742c507a
[ "Unlicense" ]
null
null
null
RoboMan/CMD.hpp
paullohs/RoboMan
28014822766a558fa94127120142d081742c507a
[ "Unlicense" ]
null
null
null
#pragma once #include "VEC.hpp" #include <deque> class CMD; typedef std::deque<CMD> CMD_DEQUE; typedef int BOOL; enum CMD_ENUM { MOVE, LASER, WAIT }; class __declspec(dllexport) CMD { public: CMD(); CMD(CMD &cpy); CMD(CMD_ENUM &e, BOOL &b); CMD(CMD_ENUM &e, VEC &v); CMD(CMD_ENUM &e, NUM &n); ~CMD()...
13.133333
34
0.639594
paullohs
601e39460d06a52934eede4b385fbbd9af244c81
25,384
hpp
C++
routing_algorithms/shortest_path.hpp
aaronbenz/osrm-backend
758d4023050d1f49971f919cea872a2276dafe14
[ "BSD-2-Clause" ]
1
2021-03-06T05:07:44.000Z
2021-03-06T05:07:44.000Z
routing_algorithms/shortest_path.hpp
aaronbenz/osrm-backend
758d4023050d1f49971f919cea872a2276dafe14
[ "BSD-2-Clause" ]
null
null
null
routing_algorithms/shortest_path.hpp
aaronbenz/osrm-backend
758d4023050d1f49971f919cea872a2276dafe14
[ "BSD-2-Clause" ]
null
null
null
/* Copyright (c) 2015, Project OSRM contributors 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 f...
47.270019
122
0.612315
aaronbenz
e74563771f853c4874b8543f4ba8f99ba76c31cf
398
cpp
C++
src/img-processing/utils/matrix-ops.cpp
mdziekon/eiti-pobr-logo-recognition
02a20b2a8427249ac318f1865fa824ad1f28b46c
[ "MIT" ]
1
2022-01-22T10:30:56.000Z
2022-01-22T10:30:56.000Z
src/img-processing/utils/matrix-ops.cpp
mdziekon/eiti-pobr-logo-recognition
02a20b2a8427249ac318f1865fa824ad1f28b46c
[ "MIT" ]
null
null
null
src/img-processing/utils/matrix-ops.cpp
mdziekon/eiti-pobr-logo-recognition
02a20b2a8427249ac318f1865fa824ad1f28b46c
[ "MIT" ]
null
null
null
#include "./matrix-ops.hpp" namespace matrixOps = pobr::imgProcessing::utils::matrixOps; const cv::Mat& matrixOps::forEachPixel( const cv::Mat& img, const std::function<void(const uint64_t& x, const uint64_t& y)>& operation ) { for (uint64_t x = 0; x < img.cols; x++) { for (uint64_t y = 0; y < img...
20.947368
78
0.585427
mdziekon
e74850526a8d4da267370724dccabf5e807bce8a
4,849
cpp
C++
EXAMPLES/WebSnap/PhotoGallery/uploadpicturespg.cpp
earthsiege2/borland-cpp-ide
09bcecc811841444338e81b9c9930c0e686f9530
[ "Unlicense", "FSFAP", "Apache-1.1" ]
1
2022-01-13T01:03:55.000Z
2022-01-13T01:03:55.000Z
EXAMPLES/WebSnap/PhotoGallery/uploadpicturespg.cpp
earthsiege2/borland-cpp-ide
09bcecc811841444338e81b9c9930c0e686f9530
[ "Unlicense", "FSFAP", "Apache-1.1" ]
null
null
null
EXAMPLES/WebSnap/PhotoGallery/uploadpicturespg.cpp
earthsiege2/borland-cpp-ide
09bcecc811841444338e81b9c9930c0e686f9530
[ "Unlicense", "FSFAP", "Apache-1.1" ]
null
null
null
//--------------------------------------------------------------------------- #include <vcl.h> #pragma hdrstop #include "UploadPicturesPg.h" #include "PhotoDataPg.h" #include <WebInit.h> #include <WebReq.hpp> #include <WebCntxt.hpp> #include <WebFact.hpp> #include <Jpeg.hpp> #include <IBQuery.hpp> //----...
35.918519
95
0.593524
earthsiege2
e749d1b3f9bfa835077078b06a42e982f9da4f6f
28,347
cpp
C++
main/gamewindow.cpp
jerrykeung666/20-21-zju-OOP-Project
22b9ee7fcdde969b676d4ffd48fcc71dfeb93fa5
[ "MIT" ]
1
2021-09-16T05:17:52.000Z
2021-09-16T05:17:52.000Z
main/gamewindow.cpp
jerrykeung666/20-21-zju-OOP-Project
22b9ee7fcdde969b676d4ffd48fcc71dfeb93fa5
[ "MIT" ]
null
null
null
main/gamewindow.cpp
jerrykeung666/20-21-zju-OOP-Project
22b9ee7fcdde969b676d4ffd48fcc71dfeb93fa5
[ "MIT" ]
null
null
null
#include "gamewindow.h" #include "cardgroups.h" #include <algorithm> #include <QPainter> #include <QDebug> #include <QPalette> #include <QMessageBox> const QSize GameWindow::gameWindowSize = QSize(1200, 800); const int GameWindow::cardWidthSpace = 35; const int GameWindow::cardHeightSpace = 20; //TODO c...
32.175936
133
0.606166
jerrykeung666
e74f5c452100786449b981bb7a60d8fe5217811b
18,918
cpp
C++
src/Utils/WebUtils.cpp
Christoffyw/beatleader-qmod
3a1747f0a582281f78ac4a2390349add0bfe22b6
[ "MIT" ]
null
null
null
src/Utils/WebUtils.cpp
Christoffyw/beatleader-qmod
3a1747f0a582281f78ac4a2390349add0bfe22b6
[ "MIT" ]
null
null
null
src/Utils/WebUtils.cpp
Christoffyw/beatleader-qmod
3a1747f0a582281f78ac4a2390349add0bfe22b6
[ "MIT" ]
null
null
null
#include "main.hpp" #include "Utils/WebUtils.hpp" #include "libcurl/shared/curl.h" #include "libcurl/shared/easy.h" #include <filesystem> #include <sstream> #define TIMEOUT 10 #define USER_AGENT std::string(ID "/" VERSION " (BeatSaber/" + GameVersion + ") (Oculus)").c_str() #define X_BSSB "X-BSSB: ✔" namespace WebU...
40.683871
172
0.540332
Christoffyw
e750331b1784db31cfa7d7ab6f03ac4554927de1
1,384
cpp
C++
Loong/LoongEditor/src/widget/LoongEditorTreeNodeWidget.cpp
carlcc/Loong
577e89b436eb0e5899295c95ee4587c0270cea94
[ "Apache-2.0" ]
9
2020-08-14T02:01:02.000Z
2022-01-28T08:51:12.000Z
Loong/LoongEditor/src/widget/LoongEditorTreeNodeWidget.cpp
carlcc/Loong
577e89b436eb0e5899295c95ee4587c0270cea94
[ "Apache-2.0" ]
null
null
null
Loong/LoongEditor/src/widget/LoongEditorTreeNodeWidget.cpp
carlcc/Loong
577e89b436eb0e5899295c95ee4587c0270cea94
[ "Apache-2.0" ]
null
null
null
// // Copyright (c) 2020 Carl Chen. All rights reserved. // #include "LoongEditorTreeNodeWidget.h" #include <imgui.h> namespace Loong::Editor { void EditorTreeNodeWidget::DrawImpl() { bool prevOpened = isOpened_; if (shouldOpen_) { ImGui::SetNextTreeNodeOpen(true); shouldOpen_...
24.714286
127
0.580202
carlcc
e7533f623c7a03304bfcc47ea6355f12169c5b37
17,227
cpp
C++
src/modules/processes/Global/ColorManagementSetupInstance.cpp
fmeschia/pixinsight-class-library
11b956e27d6eee3e119a7b1c337d090d7a03f436
[ "JasPer-2.0", "libtiff" ]
null
null
null
src/modules/processes/Global/ColorManagementSetupInstance.cpp
fmeschia/pixinsight-class-library
11b956e27d6eee3e119a7b1c337d090d7a03f436
[ "JasPer-2.0", "libtiff" ]
null
null
null
src/modules/processes/Global/ColorManagementSetupInstance.cpp
fmeschia/pixinsight-class-library
11b956e27d6eee3e119a7b1c337d090d7a03f436
[ "JasPer-2.0", "libtiff" ]
null
null
null
// ____ ______ __ // / __ \ / ____// / // / /_/ // / / / // / ____// /___ / /___ PixInsight Class Library // /_/ \____//_____/ PCL 2.4.9 // ---------------------------------------------------------------------------- // Standard Global Process Module Version 1.3.0 // -----------------------------...
46.8125
142
0.66477
fmeschia
e755ab2b68d7b1cb169e62ed490f9cbc0275fbbe
4,850
cpp
C++
src/LightBulbApp/TrainingPlans/Preferences/PredefinedPreferenceGroups/Supervised/GradientDescentLearningRulePreferenceGroup.cpp
domin1101/ANNHelper
50acb5746d6dad6777532e4c7da4983a7683efe0
[ "Zlib" ]
5
2016-02-04T06:14:42.000Z
2017-02-06T02:21:43.000Z
src/LightBulbApp/TrainingPlans/Preferences/PredefinedPreferenceGroups/Supervised/GradientDescentLearningRulePreferenceGroup.cpp
domin1101/ANNHelper
50acb5746d6dad6777532e4c7da4983a7683efe0
[ "Zlib" ]
41
2015-04-15T21:05:45.000Z
2015-07-09T12:59:02.000Z
src/LightBulbApp/TrainingPlans/Preferences/PredefinedPreferenceGroups/Supervised/GradientDescentLearningRulePreferenceGroup.cpp
domin1101/LightBulb
50acb5746d6dad6777532e4c7da4983a7683efe0
[ "Zlib" ]
null
null
null
// Includes #include "LightBulbApp/TrainingPlans/Preferences/PredefinedPreferenceGroups/Supervised/GradientDescentLearningRulePreferenceGroup.hpp" #include "LightBulbApp/TrainingPlans/Preferences/ChoicePreference.hpp" #include "LightBulbApp/TrainingPlans/Preferences/PredefinedPreferenceGroups/Supervised/GradientDescen...
55.113636
295
0.869897
domin1101
e757974594b2b11a430eb98e498866af6074b5df
157
hpp
C++
Engine/Src/Runtime/Core/Public/Core/Serialization/ISerializable.hpp
Septus10/Fade-Engine
285a2a1cf14a4e9c3eb8f6d30785d1239cef10b6
[ "MIT" ]
null
null
null
Engine/Src/Runtime/Core/Public/Core/Serialization/ISerializable.hpp
Septus10/Fade-Engine
285a2a1cf14a4e9c3eb8f6d30785d1239cef10b6
[ "MIT" ]
null
null
null
Engine/Src/Runtime/Core/Public/Core/Serialization/ISerializable.hpp
Septus10/Fade-Engine
285a2a1cf14a4e9c3eb8f6d30785d1239cef10b6
[ "MIT" ]
null
null
null
#pragma once namespace Fade { class ISerializable { //virtual void Deserialize(FArchive& a_Archive); //virtual void Serialize(FArchive& a_Archive); }; }
14.272727
49
0.745223
Septus10
e75ee56a20761b1c08724a624b28db3f0864eb6d
2,976
cpp
C++
SPOJ/MIXTURES - Mixtures.cpp
ravirathee/Competitive-Programming
20a0bfda9f04ed186e2f475644e44f14f934b533
[ "Unlicense" ]
6
2018-11-26T02:38:07.000Z
2021-07-28T00:16:41.000Z
SPOJ/MIXTURES - Mixtures.cpp
ravirathee/Competitive-Programming
20a0bfda9f04ed186e2f475644e44f14f934b533
[ "Unlicense" ]
1
2021-05-30T09:25:53.000Z
2021-06-05T08:33:56.000Z
SPOJ/MIXTURES - Mixtures.cpp
ravirathee/Competitive-Programming
20a0bfda9f04ed186e2f475644e44f14f934b533
[ "Unlicense" ]
4
2020-04-16T07:15:01.000Z
2020-12-04T06:26:07.000Z
/*MIXTURES - Mixtures #dynamic-programming Harry Potter has n mixtures in front of him, arranged in a row. Each mixture has one of 100 different colors (colors have numbers from 0 to 99). He wants to mix all these mixtures together. At each step, he is going to take two mixtures that stand next to each other and mix ...
29.465347
190
0.569556
ravirathee
e765bf4fd1639e118830c141a0ffb5137baf28e3
732
hpp
C++
Framework/Common/MemoryManager.hpp
lishaojiang/GameEngineFromScratch
7769d3916a9ffabcfdaddeba276fdf964d8a86ee
[ "MIT" ]
1,217
2017-08-18T02:41:11.000Z
2022-03-30T01:48:46.000Z
Framework/Common/MemoryManager.hpp
lishaojiang/GameEngineFromScratch
7769d3916a9ffabcfdaddeba276fdf964d8a86ee
[ "MIT" ]
16
2017-09-05T15:04:37.000Z
2021-09-09T13:59:38.000Z
Framework/Common/MemoryManager.hpp
lishaojiang/GameEngineFromScratch
7769d3916a9ffabcfdaddeba276fdf964d8a86ee
[ "MIT" ]
285
2017-08-18T04:53:55.000Z
2022-03-30T00:02:15.000Z
#pragma once #include <map> #include <new> #include <ostream> #include "IMemoryManager.hpp" #include "portable.hpp" namespace My { ENUM(MemoryType){CPU = "CPU"_i32, GPU = "GPU"_i32}; std::ostream& operator<<(std::ostream& out, MemoryType type); class MemoryManager : _implements_ IMemoryManager { public: ~Mem...
22.181818
68
0.695355
lishaojiang
e76c507453a5e146bbc868a0816ff3dffce74df2
10,074
cpp
C++
source/Irrlicht/CGUIWindow.cpp
arch-jslin/Irrlicht
56121a167cacf1131182616b6d9a41ce825f9402
[ "IJG" ]
2
2018-06-18T16:49:10.000Z
2021-03-10T11:10:47.000Z
source/Irrlicht/CGUIWindow.cpp
arch-jslin/Irrlicht
56121a167cacf1131182616b6d9a41ce825f9402
[ "IJG" ]
null
null
null
source/Irrlicht/CGUIWindow.cpp
arch-jslin/Irrlicht
56121a167cacf1131182616b6d9a41ce825f9402
[ "IJG" ]
null
null
null
// Copyright (C) 2002-2009 Nikolaus Gebhardt // This file is part of the "Irrlicht Engine". // For conditions of distribution and use, see copyright notice in irrlicht.h #include "CGUIWindow.h" #ifdef _IRR_COMPILE_WITH_GUI_ #include "IGUISkin.h" #include "IGUIEnvironment.h" #include "IVideoDriver.h" #include "IGUIBut...
25.69898
143
0.718384
arch-jslin
e76e562b84f64be22a59d1196ea88f2202d21bf2
2,900
hpp
C++
common/Options.hpp
MartinMetaksov/diku.OptionsPricing
1734801dddf7faa9e7c6ed1a46acb6ef8492e33c
[ "ISC" ]
3
2019-01-11T11:13:13.000Z
2020-06-16T10:20:46.000Z
common/Options.hpp
MartinMetaksov/diku.OptionsPricing
1734801dddf7faa9e7c6ed1a46acb6ef8492e33c
[ "ISC" ]
null
null
null
common/Options.hpp
MartinMetaksov/diku.OptionsPricing
1734801dddf7faa9e7c6ed1a46acb6ef8492e33c
[ "ISC" ]
1
2019-01-09T21:47:46.000Z
2019-01-09T21:47:46.000Z
#ifndef OPTIONS_HPP #define OPTIONS_HPP #include <cinttypes> #include <fstream> #include <stdexcept> #include <vector> #include "Arrays.hpp" #include "Real.hpp" namespace trinom { enum class SortType : char { WIDTH_DESC = 'W', WIDTH_ASC = 'w', HEIGHT_DESC = 'H', HEIGHT_ASC = 'h', NONE = '-' }; ...
22.65625
83
0.591034
MartinMetaksov
e770921b9fe4c70049212ece9cfdbd42d8745619
203
hpp
C++
NWNXLib/API/Mac/API/ZSTD_optimal_t.hpp
Qowyn/unified
149d0b7670a9d156e64555fe0bd7715423db4c2a
[ "MIT" ]
null
null
null
NWNXLib/API/Mac/API/ZSTD_optimal_t.hpp
Qowyn/unified
149d0b7670a9d156e64555fe0bd7715423db4c2a
[ "MIT" ]
null
null
null
NWNXLib/API/Mac/API/ZSTD_optimal_t.hpp
Qowyn/unified
149d0b7670a9d156e64555fe0bd7715423db4c2a
[ "MIT" ]
null
null
null
#pragma once #include <cstdint> namespace NWNXLib { namespace API { struct ZSTD_optimal_t { int32_t price; uint32_t off; uint32_t mlen; uint32_t litlen; uint32_t rep[3]; }; } }
9.666667
21
0.655172
Qowyn
e7718931c7603c0a13a9f82cce8c46501ba41d49
2,006
hpp
C++
modules/wechat_qrcode/src/zxing/qrcode/decoder/qrcode_decoder_metadata.hpp
ptelang/opencv_contrib
dd68e396c76f1db4d82e5aa7a6545580939f9b9d
[ "Apache-2.0" ]
7,158
2016-07-04T22:19:27.000Z
2022-03-31T07:54:32.000Z
modules/wechat_qrcode/src/zxing/qrcode/decoder/qrcode_decoder_metadata.hpp
ptelang/opencv_contrib
dd68e396c76f1db4d82e5aa7a6545580939f9b9d
[ "Apache-2.0" ]
2,184
2016-07-05T12:04:14.000Z
2022-03-30T19:10:12.000Z
modules/wechat_qrcode/src/zxing/qrcode/decoder/qrcode_decoder_metadata.hpp
ptelang/opencv_contrib
dd68e396c76f1db4d82e5aa7a6545580939f9b9d
[ "Apache-2.0" ]
5,535
2016-07-06T12:01:10.000Z
2022-03-31T03:13:24.000Z
// This file is part of OpenCV project. // It is subject to the license terms in the LICENSE file found in the top-level directory // of this distribution and at http://opencv.org/license.html. // // Tencent is pleased to support the open source community by making WeChat QRCode available. // Copyright (C) 2020 THL A29...
30.861538
93
0.699402
ptelang
e7734fb36b4dc0a8e8a6182b63aceab7658aa031
210
cpp
C++
src/Gui.cpp
gw2-addon-loader/example_addon
fe363ac31f174ca87ff1f93c74107c95d95f2acf
[ "MIT" ]
2
2020-08-17T17:33:23.000Z
2021-02-23T01:35:28.000Z
src/Gui.cpp
gw2-addon-loader/example_addon
fe363ac31f174ca87ff1f93c74107c95d95f2acf
[ "MIT" ]
null
null
null
src/Gui.cpp
gw2-addon-loader/example_addon
fe363ac31f174ca87ff1f93c74107c95d95f2acf
[ "MIT" ]
1
2021-02-07T06:59:45.000Z
2021-02-07T06:59:45.000Z
#include "stdafx.h" void Gui::init() { //CHANGE ME } void Gui::draw() { //CHANGE ME ImGui::Begin("Hello world window"); ImGui::Text("Hello world!"); ImGui::End(); } void Gui::deinit() { //CHANGE ME }
10
36
0.6
gw2-addon-loader
e77a18b8dec6bc29bf8852e6ccd3dc02905ad0eb
2,977
cpp
C++
OfficeAutomation/OfficeDoc.cpp
anboto/Anboto
fc40730e87b85bba4d9387724fcece7e98069843
[ "Apache-2.0" ]
8
2021-02-28T12:07:43.000Z
2021-11-14T19:40:45.000Z
OfficeAutomation/OfficeDoc.cpp
anboto/Anboto
fc40730e87b85bba4d9387724fcece7e98069843
[ "Apache-2.0" ]
8
2021-03-20T10:46:58.000Z
2022-01-27T19:50:32.000Z
OfficeAutomation/OfficeDoc.cpp
anboto/Anboto
fc40730e87b85bba4d9387724fcece7e98069843
[ "Apache-2.0" ]
1
2021-08-20T09:15:18.000Z
2021-08-20T09:15:18.000Z
// SPDX-License-Identifier: Apache-2.0 // Copyright 2021 - 2021, the Anboto author and contributors #ifdef _WIN32 #include <Core/Core.h> using namespace Upp; #include <Functions4U/Functions4U.h> #include "OfficeAutomation.h" #include "OfficeAutomationBase.h" OfficeDoc::OfficeDoc() { Ole::Init(); } OfficeDoc::~O...
36.753086
130
0.723547
anboto
e77c084654c918417dd4ed9fcde9b95cc2e98347
1,203
hpp
C++
framework/Shape.hpp
Snoopyxxel/programmiersprachen-raytracer
243765de0e5814cb20930046f6fc14a9faf87e49
[ "MIT" ]
null
null
null
framework/Shape.hpp
Snoopyxxel/programmiersprachen-raytracer
243765de0e5814cb20930046f6fc14a9faf87e49
[ "MIT" ]
null
null
null
framework/Shape.hpp
Snoopyxxel/programmiersprachen-raytracer
243765de0e5814cb20930046f6fc14a9faf87e49
[ "MIT" ]
null
null
null
#ifndef RAYTRACER_SHAPE_HPP #define RAYTRACER_SHAPE_HPP #include <string> #include <ostream> #include "color.hpp" #include "ray.hpp" #include "hitpoint.hpp" #include <glm/vec3.hpp> #include <glm/glm.hpp> #include <memory> class Shape { public: Shape(); Shape(std::string const &name, std::shared_ptr<Material>...
22.277778
94
0.689111
Snoopyxxel
e782f9f1e521157b6ee1fde87099d877ac318ba0
2,433
cpp
C++
src/fileinfo/file_information/file_information_types/relocation_table/relocation.cpp
lukasdurfina/retdec
7d6b8882690ff73c2bd7f209db10c5c091fa0359
[ "MIT", "Zlib", "BSD-3-Clause" ]
1
2020-03-28T02:38:53.000Z
2020-03-28T02:38:53.000Z
src/fileinfo/file_information/file_information_types/relocation_table/relocation.cpp
lukasdurfina/retdec
7d6b8882690ff73c2bd7f209db10c5c091fa0359
[ "MIT", "Zlib", "BSD-3-Clause" ]
null
null
null
src/fileinfo/file_information/file_information_types/relocation_table/relocation.cpp
lukasdurfina/retdec
7d6b8882690ff73c2bd7f209db10c5c091fa0359
[ "MIT", "Zlib", "BSD-3-Clause" ]
null
null
null
/** * @file src/fileinfo/file_information/file_information_types/relocation_table/relocation.cpp * @brief Class for one relocation. * @copyright (c) 2017 Avast Software, licensed under the MIT license */ #include "fileinfo/file_information/file_information_types/relocation_table/relocation.h" #include "fileinfo/fi...
19.942623
93
0.738594
lukasdurfina
e787c3be6020b2f1bf44daf0bdeec433ebfce663
497
cpp
C++
Answer/ans_code_and_note/chapter3/test.cpp
seanleecn/EssentialCPP
a2cfbd054888a3d07cb0ac22230c34f6ce90bef5
[ "MIT" ]
null
null
null
Answer/ans_code_and_note/chapter3/test.cpp
seanleecn/EssentialCPP
a2cfbd054888a3d07cb0ac22230c34f6ce90bef5
[ "MIT" ]
null
null
null
Answer/ans_code_and_note/chapter3/test.cpp
seanleecn/EssentialCPP
a2cfbd054888a3d07cb0ac22230c34f6ce90bef5
[ "MIT" ]
null
null
null
#include <iostream> #include <algorithm> #include <vector> #include <string> using namespace std; bool myfunction(string i, string j) { return (i.length() < j.length()); } int main(void) { string myints[] = {"hello", "world", "i", "love"}; vector<string> myvec(myints, myints + 4); sort(myvec.begin(),...
19.88
80
0.583501
seanleecn
e788b039eddcd475e3c855784a2810e79f4ca023
1,088
cpp
C++
LeetCode Problem-Set/42. Trapping Rain Water (Hard)/Solution1.cpp
ankuralld5999/LeetCode-Problems
2f9a767a0effbb2a50672e102925fbbb65034083
[ "FSFAP" ]
2
2021-01-06T20:43:59.000Z
2021-01-11T15:42:59.000Z
LeetCode Problem-Set/42. Trapping Rain Water (Hard)/Solution1.cpp
ankuralld5999/LeetCode-Problems
2f9a767a0effbb2a50672e102925fbbb65034083
[ "FSFAP" ]
null
null
null
LeetCode Problem-Set/42. Trapping Rain Water (Hard)/Solution1.cpp
ankuralld5999/LeetCode-Problems
2f9a767a0effbb2a50672e102925fbbb65034083
[ "FSFAP" ]
null
null
null
// OJ: https://leetcode.com/problems/trapping-rain-water/ // Author: github.com/lzl124631x // Time: O(N) // Space: O(N) class Solution { public: int trap(vector<int>& A) { int N = A.size(), ans = 0; vector<int> left(N, 0), right(N, 0); for (int i = 1; i < N; ++i) left[i] = max(l...
27.897436
80
0.463235
ankuralld5999
e788ea11cc54794e66f0671dad22a3a6197f3711
29,399
cpp
C++
src/VkRenderer/SceneObject.cpp
WubiCookie/VkRenderer
87cc5d858591fc976c197ab2834e1ac9a418becd
[ "MIT" ]
2
2020-05-31T19:54:19.000Z
2021-09-14T12:00:12.000Z
src/VkRenderer/SceneObject.cpp
WubiCookie/VkRenderer
87cc5d858591fc976c197ab2834e1ac9a418becd
[ "MIT" ]
null
null
null
src/VkRenderer/SceneObject.cpp
WubiCookie/VkRenderer
87cc5d858591fc976c197ab2834e1ac9a418becd
[ "MIT" ]
null
null
null
#include "SceneObject.hpp" #include "CommandBuffer.hpp" #include "Material.hpp" #include "RenderWindow.hpp" #include "Scene.hpp" #include "StandardMesh.hpp" #include <iostream> namespace cdm { SceneObject::Pipeline::Pipeline(Scene& s, StandardMesh& mesh, MaterialInterface...
36.250308
80
0.734379
WubiCookie
e78a81ecc6bce9fb6fd3c3a29b1da0dd0dec9615
33,645
cpp
C++
src/utilities/QuadratureUtil.cpp
chennachaos/stabfem
b3d1f44c45e354dc930203bda22efc800c377c6f
[ "MIT" ]
null
null
null
src/utilities/QuadratureUtil.cpp
chennachaos/stabfem
b3d1f44c45e354dc930203bda22efc800c377c6f
[ "MIT" ]
null
null
null
src/utilities/QuadratureUtil.cpp
chennachaos/stabfem
b3d1f44c45e354dc930203bda22efc800c377c6f
[ "MIT" ]
null
null
null
#include "QuadratureUtil.h" #include <iostream> #include <math.h> #include <assert.h> using namespace std; void getGaussPoints1D(int ngp, vector<double>& gausspoints, vector<double>& gaussweights) { //cout << " ngp = " << ngp << endl; gausspoints.resize(ngp); gaussweights.resize(ngp); switch(ngp) { ...
38.407534
123
0.580205
chennachaos
e78a973ae6efaf290a7a8194e5fc183ed541bc7f
7,155
cpp
C++
src/IntaRNA/InteractionEnergyVrna.cpp
fabio-gut/IntaRNA
034bb1427673eda5b611dffdba37f464e1bb2835
[ "MIT" ]
null
null
null
src/IntaRNA/InteractionEnergyVrna.cpp
fabio-gut/IntaRNA
034bb1427673eda5b611dffdba37f464e1bb2835
[ "MIT" ]
1
2019-06-27T07:39:05.000Z
2019-06-27T11:10:52.000Z
src/IntaRNA/InteractionEnergyVrna.cpp
fabio-gut/IntaRNA
034bb1427673eda5b611dffdba37f464e1bb2835
[ "MIT" ]
null
null
null
#include "IntaRNA/InteractionEnergyVrna.h" #include <cassert> #include <set> // ES computation extern "C" { #include <ViennaRNA/fold_vars.h> #include <ViennaRNA/fold.h> #include <ViennaRNA/part_func.h> #include <ViennaRNA/structure_utils.h> #include <ViennaRNA/utils.h> } namespace IntaRNA { //////////////////...
29.085366
118
0.647939
fabio-gut
e78da99d3ff6a31a9e2a9cb5a3caf8571c98626c
1,050
cpp
C++
core/connection.cpp
shakthi-prashanth-m/DroneCore
63f204beab14d3305068db17b8f7968bfddf39aa
[ "BSD-3-Clause" ]
1
2019-06-16T23:50:37.000Z
2019-06-16T23:50:37.000Z
core/connection.cpp
peterbarker/DroneCore
d0c47bb3c749738feb9d04db807e9fba93c7688e
[ "BSD-3-Clause" ]
null
null
null
core/connection.cpp
peterbarker/DroneCore
d0c47bb3c749738feb9d04db807e9fba93c7688e
[ "BSD-3-Clause" ]
null
null
null
#include "connection.h" #include "dronecore_impl.h" #include "mavlink_channels.h" #include "global_include.h" namespace dronecore { Connection::Connection(DroneCoreImpl &parent) : _parent(parent), _mavlink_receiver() {} Connection::~Connection() { // Just in case a specific connection didn't call it alre...
22.826087
71
0.72
shakthi-prashanth-m
e790c329036965309267d731546bf41618e035ee
1,115
cc
C++
example/user_profile_request_handler.cc
chao-he/tictac
13b4b0289e8ac8e1d1764f99152ad0327ffa93d4
[ "Apache-2.0" ]
null
null
null
example/user_profile_request_handler.cc
chao-he/tictac
13b4b0289e8ac8e1d1764f99152ad0327ffa93d4
[ "Apache-2.0" ]
null
null
null
example/user_profile_request_handler.cc
chao-he/tictac
13b4b0289e8ac8e1d1764f99152ad0327ffa93d4
[ "Apache-2.0" ]
null
null
null
#include "core/connection.h" #include "user_profile_request_handler.h" #include "index_service.h" #include "query_service.h" #include "userprofile.pb.h" void UserProfileRequestHandler::DoGet(RedisRequest* request, Connection* conn) { auto& uid = request->arguments(0); auto& qs = QueryService::Instance(); RecoUs...
30.972222
90
0.687892
chao-he
e796b0390eee58d6c4eb9c4b6343d1740e85f708
606
hpp
C++
src/dynamics/object.hpp
brysonjones/dynamics_sim
201bdf0a93d00addc585ffa47f280cffacebb9b3
[ "MIT" ]
null
null
null
src/dynamics/object.hpp
brysonjones/dynamics_sim
201bdf0a93d00addc585ffa47f280cffacebb9b3
[ "MIT" ]
null
null
null
src/dynamics/object.hpp
brysonjones/dynamics_sim
201bdf0a93d00addc585ffa47f280cffacebb9b3
[ "MIT" ]
null
null
null
#include <iostream> #include <autodiff/forward/real.hpp> #include <autodiff/forward/real/eigen.hpp> #include <Eigen/Dense> #include <Eigen/Core> #include "rotation.hpp" // using namespace autodiff; using namespace Eigen; class Object { public: Object(); virtual autodiff::real U(const autodiff::...
22.444444
96
0.643564
brysonjones
e79a0ac49e4b01e4d92fd1ac5a33564b41985387
3,027
cpp
C++
src/qt/tokentransactionrecord.cpp
rlinxy/fcore
652288940bd27ecbad69c0366bba20ad0f7515b6
[ "MIT" ]
1
2021-04-29T16:38:46.000Z
2021-04-29T16:38:46.000Z
src/qt/tokentransactionrecord.cpp
rlinxy/fcore
652288940bd27ecbad69c0366bba20ad0f7515b6
[ "MIT" ]
null
null
null
src/qt/tokentransactionrecord.cpp
rlinxy/fcore
652288940bd27ecbad69c0366bba20ad0f7515b6
[ "MIT" ]
1
2019-10-22T08:16:36.000Z
2019-10-22T08:16:36.000Z
#include <tokentransactionrecord.h> #include <base58.h> #include <consensus/consensus.h> #include <validation.h> #include <timedata.h> #include <wallet/wallet.h> #include <stdint.h> /* * Decompose CWallet transaction to model transaction records. */ QList<TokenTransactionRecord> TokenTransactionRecord::decomposeTr...
25.436975
134
0.61447
rlinxy
e79a8850483827fe6ef96d843e5a14b076bbd40b
2,124
hpp
C++
src/mlpack/core/tree/rectangle_tree/r_tree_descent_heuristic.hpp
RMaron/mlpack
a179a2708d9555ab7ee4b1e90e0c290092edad2e
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
675
2019-02-07T01:23:19.000Z
2022-03-28T05:45:10.000Z
src/mlpack/core/tree/rectangle_tree/r_tree_descent_heuristic.hpp
RMaron/mlpack
a179a2708d9555ab7ee4b1e90e0c290092edad2e
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
843
2019-01-25T01:06:46.000Z
2022-03-16T11:15:53.000Z
src/mlpack/core/tree/rectangle_tree/r_tree_descent_heuristic.hpp
RMaron/mlpack
a179a2708d9555ab7ee4b1e90e0c290092edad2e
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
83
2019-02-20T06:18:46.000Z
2022-03-20T09:36:09.000Z
/** * @file r_tree_descent_heuristic.hpp * @author Andrew Wells * * Definition of RTreeDescentHeuristic, a class that chooses the best child of a * node in an R tree when inserting a new point. * * mlpack is free software; you may redistribute it and/or modify it under the * terms of the 3-clause BSD license. ...
33.1875
80
0.718456
RMaron
e79bb907214e7600470605f83640d05da78da46f
27,585
cpp
C++
core/run/jobs/SimulationJobs.cpp
pavelsevecek/OpenSPH
d547c0af6270a739d772a4dcba8a70dc01775367
[ "MIT" ]
20
2021-04-02T04:30:08.000Z
2022-03-01T09:52:01.000Z
core/run/jobs/SimulationJobs.cpp
pavelsevecek/OpenSPH
d547c0af6270a739d772a4dcba8a70dc01775367
[ "MIT" ]
null
null
null
core/run/jobs/SimulationJobs.cpp
pavelsevecek/OpenSPH
d547c0af6270a739d772a4dcba8a70dc01775367
[ "MIT" ]
1
2022-01-22T11:44:52.000Z
2022-01-22T11:44:52.000Z
#include "run/jobs/SimulationJobs.h" #include "gravity/AggregateSolver.h" #include "io/LogWriter.h" #include "io/Logger.h" #include "io/Output.h" #include "run/IRun.h" #include "run/SpecialEntries.h" #include "sph/solvers/StabilizationSolver.h" NAMESPACE_SPH_BEGIN /// \todo generailize, add generic triggers to UI cla...
49.702703
110
0.701939
pavelsevecek
e7a5d630bb54dff331aabbf8fa33f0f3ac2f5094
1,453
cpp
C++
test/ci_app_tests/ci_test_macros.cpp
daboehme/Caliper
38e2fc9a703601801ea8223a0bbd53795b6a0a3a
[ "BSD-3-Clause" ]
null
null
null
test/ci_app_tests/ci_test_macros.cpp
daboehme/Caliper
38e2fc9a703601801ea8223a0bbd53795b6a0a3a
[ "BSD-3-Clause" ]
null
null
null
test/ci_app_tests/ci_test_macros.cpp
daboehme/Caliper
38e2fc9a703601801ea8223a0bbd53795b6a0a3a
[ "BSD-3-Clause" ]
null
null
null
// --- Caliper continuous integration test app for basic trace test #define _XOPEN_SOURCE #include <unistd.h> /* usleep */ #include "caliper/cali.h" #include "caliper/cali-manager.h" #include <string> // test C and C++ macros void foo(int count, int sleep_usec) { CALI_CXX_MARK_FUNCTION; CALI_MARK_BEGIN("p...
19.90411
67
0.600826
daboehme
e7a94c5246962d4e68054e4b3d933b461ecbfd0f
242
cpp
C++
busplan/time_line.cpp
gonmator/busplan
5845b63b16741dd0472cbba1ba028bdfdcfe0e3f
[ "MIT" ]
null
null
null
busplan/time_line.cpp
gonmator/busplan
5845b63b16741dd0472cbba1ba028bdfdcfe0e3f
[ "MIT" ]
null
null
null
busplan/time_line.cpp
gonmator/busplan
5845b63b16741dd0472cbba1ba028bdfdcfe0e3f
[ "MIT" ]
null
null
null
#include "time_line.hpp" TimeLine applyDurations(const DifTimeLine& dtline, Time start) { TimeLine rv{start}; for (auto duration: dtline.durations) { start += duration; rv.push_back(start); } return rv; }
20.166667
64
0.636364
gonmator
e7ac4f836e9d104a170b2a09124fd497d5fc4d26
1,224
cpp
C++
2017-08-04 Formatting-Exercise-Cout-Iomanip/formatting-ex-cout.cpp
gnanakeethan/cpp
51f779d9981eb4644f6a5e6e923ba68585be7988
[ "CC0-1.0" ]
null
null
null
2017-08-04 Formatting-Exercise-Cout-Iomanip/formatting-ex-cout.cpp
gnanakeethan/cpp
51f779d9981eb4644f6a5e6e923ba68585be7988
[ "CC0-1.0" ]
null
null
null
2017-08-04 Formatting-Exercise-Cout-Iomanip/formatting-ex-cout.cpp
gnanakeethan/cpp
51f779d9981eb4644f6a5e6e923ba68585be7988
[ "CC0-1.0" ]
null
null
null
#include <iostream> using namespace std; int main (void){ double up,qty,discr,total,disct,payable; int width =20; cout.width(width); cout.setf(ios::left); return 0; cout << "Enter Unit Price" << ": "; cin >> up; cout.width(width); cout.setf(ios::left); cout << "Enter Quantity" << ":...
20.065574
100
0.553922
gnanakeethan
e7afbd5ed6f7ffe5bbdcaee1b8696d62c798252c
31,985
cpp
C++
src/expr/internal_functions.cpp
raptium/BaikalDB
cbc306bf3a1c709a93f191fdd389fb14eac0952f
[ "Apache-2.0" ]
null
null
null
src/expr/internal_functions.cpp
raptium/BaikalDB
cbc306bf3a1c709a93f191fdd389fb14eac0952f
[ "Apache-2.0" ]
null
null
null
src/expr/internal_functions.cpp
raptium/BaikalDB
cbc306bf3a1c709a93f191fdd389fb14eac0952f
[ "Apache-2.0" ]
null
null
null
// Copyright (c) 2018-present Baidu, 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 b...
27.175021
92
0.565421
raptium
e7b17965c6952e8f46fb8925e54fe64ff7be608e
202
cpp
C++
Problems_Beginner1/Problem_1002.cpp
gustavocabralsouza/Programacao_Competitiva
9b568cf968e6543ddeb12d626303cd53845a9ded
[ "MIT" ]
null
null
null
Problems_Beginner1/Problem_1002.cpp
gustavocabralsouza/Programacao_Competitiva
9b568cf968e6543ddeb12d626303cd53845a9ded
[ "MIT" ]
null
null
null
Problems_Beginner1/Problem_1002.cpp
gustavocabralsouza/Programacao_Competitiva
9b568cf968e6543ddeb12d626303cd53845a9ded
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; int main(){ double raio, pi, area; pi = 3.14159; scanf("%lf",&raio); area = pi * raio * raio; printf("A=%.4lf\n", area); return 0; }
12.625
28
0.549505
gustavocabralsouza
e7b2b7a86807ffa7b4c969eca45f7ee1f3217271
15,520
hpp
C++
osmi/ConnectionLinePreprocessor.hpp
johsin18/osmi-addresses
374f9a1d435ee7fe0ea6abb235fe4a8237e149d1
[ "BSL-1.0" ]
null
null
null
osmi/ConnectionLinePreprocessor.hpp
johsin18/osmi-addresses
374f9a1d435ee7fe0ea6abb235fe4a8237e149d1
[ "BSL-1.0" ]
null
null
null
osmi/ConnectionLinePreprocessor.hpp
johsin18/osmi-addresses
374f9a1d435ee7fe0ea6abb235fe4a8237e149d1
[ "BSL-1.0" ]
null
null
null
#ifndef CONNECTIONLINEPREPROCESSOR_HPP_ #define CONNECTIONLINEPREPROCESSOR_HPP_ #include <math.h> constexpr osmium::object_id_type DUMMY_ID = 0; // maximum length of a connection line (given in degrees) // the given value is not a strict limit: some connection lines may be longer (up to a factor of maybe 1.5) // ap...
36.690307
165
0.712436
johsin18
e7b3c87f107652f570bf0e8cced87e2e713d55c6
3,357
cpp
C++
test/gl/test_context.cpp
galaxysoftware/galaxy
b05af4aa071e32a0b0b067bfb80a236a90c87dde
[ "MIT" ]
null
null
null
test/gl/test_context.cpp
galaxysoftware/galaxy
b05af4aa071e32a0b0b067bfb80a236a90c87dde
[ "MIT" ]
null
null
null
test/gl/test_context.cpp
galaxysoftware/galaxy
b05af4aa071e32a0b0b067bfb80a236a90c87dde
[ "MIT" ]
null
null
null
#include "gl/context.h" #include "gl/environment.h" #include "gl/mockglfw.h" #include "gl/mockglxw.h" #include <gmock/gmock.h> using namespace gxy; using testing::_; using testing::InSequence; using testing::NiceMock; using testing::Return; struct Fixture : public testing::Test { const int width{42}; const int...
21.519231
85
0.725052
galaxysoftware
e7b4b2d5aab6e9ec84745e940accc37779f2f3d5
5,904
cpp
C++
examples/machine_learning/logistic_regression.cpp
JuliaComputing/arrayfire
93427f09ff928f97df29c0e358c3fcf6b478bec6
[ "BSD-3-Clause" ]
1
2018-06-14T23:49:18.000Z
2018-06-14T23:49:18.000Z
examples/machine_learning/logistic_regression.cpp
JuliaComputing/arrayfire
93427f09ff928f97df29c0e358c3fcf6b478bec6
[ "BSD-3-Clause" ]
1
2015-07-02T15:53:02.000Z
2015-07-02T15:53:02.000Z
examples/machine_learning/logistic_regression.cpp
JuliaComputing/arrayfire
93427f09ff928f97df29c0e358c3fcf6b478bec6
[ "BSD-3-Clause" ]
1
2018-02-26T17:11:03.000Z
2018-02-26T17:11:03.000Z
/******************************************************* * Copyright (c) 2014, ArrayFire * All rights reserved. * * This file is distributed under 3-clause BSD license. * The complete license agreement can be obtained at: * http://arrayfire.com/licenses/BSD-3-Clause **********************************************...
28.521739
89
0.581809
JuliaComputing
e7b6bace6b9662be476cf3b3c48f18776742bf57
325
cpp
C++
Arrays/staticdynamic.cpp
sans712/SDE-Interview-Questions
44f5bda60b9ed301b93a944e1c333d833c9b054b
[ "MIT" ]
null
null
null
Arrays/staticdynamic.cpp
sans712/SDE-Interview-Questions
44f5bda60b9ed301b93a944e1c333d833c9b054b
[ "MIT" ]
null
null
null
Arrays/staticdynamic.cpp
sans712/SDE-Interview-Questions
44f5bda60b9ed301b93a944e1c333d833c9b054b
[ "MIT" ]
null
null
null
#include<iostream> using namespace std; int main(){ int n; cin>>n; int b[100]; //static cout<<sizeof(b)<<endl; cout<<b<<endl; //symbol table int * a=new int[n]; //dynamic cout<<sizeof(a)<<endl; cout<<a<<endl; for(int i=0;i<n;i++){ cin>>a[i]; cout<<a[i]<<" "; } cout<<endl; delete []...
18.055556
41
0.535385
sans712
e7b7ddf12ac03a01ce7a57b655968d326ddc4310
7,355
cpp
C++
lib/src/AMRTools/CoarseAverageFace.cpp
rmrsk/Chombo-3.3
f2119e396460c1bb19638effd55eb71c2b35119e
[ "BSD-3-Clause-LBNL" ]
10
2018-02-01T20:57:36.000Z
2022-03-17T02:57:49.000Z
lib/src/AMRTools/CoarseAverageFace.cpp
rmrsk/Chombo-3.3
f2119e396460c1bb19638effd55eb71c2b35119e
[ "BSD-3-Clause-LBNL" ]
19
2018-10-04T21:37:18.000Z
2022-02-25T16:20:11.000Z
lib/src/AMRTools/CoarseAverageFace.cpp
rmrsk/Chombo-3.3
f2119e396460c1bb19638effd55eb71c2b35119e
[ "BSD-3-Clause-LBNL" ]
11
2019-01-12T23:33:32.000Z
2021-08-09T15:19:50.000Z
#ifdef CH_LANG_CC /* * _______ __ * / ___/ / ___ __ _ / / ___ * / /__/ _ \/ _ \/ V \/ _ \/ _ \ * \___/_//_/\___/_/_/_/_.__/\___/ * Please refer to Copyright.txt, in Chombo's root directory. */ #endif #include "CoarseAverageFace.H" #include "AverageFaceF_F.H" #include "Namespac...
31.978261
142
0.531883
rmrsk
e7bb392669b2859123df05d58f95d1cdbd470862
3,420
cpp
C++
test/TestSpecializationConstant.cpp
dSandley20/KomputeParticles
099073c6db4b5345e80eaaebe97d97e0f8256849
[ "Apache-2.0" ]
389
2021-07-23T23:24:18.000Z
2022-03-31T12:16:47.000Z
test/TestSpecializationConstant.cpp
dSandley20/KomputeParticles
099073c6db4b5345e80eaaebe97d97e0f8256849
[ "Apache-2.0" ]
54
2020-08-28T14:33:52.000Z
2020-09-13T10:59:42.000Z
test/TestSpecializationConstant.cpp
dSandley20/KomputeParticles
099073c6db4b5345e80eaaebe97d97e0f8256849
[ "Apache-2.0" ]
31
2021-07-27T14:32:24.000Z
2022-03-19T07:57:01.000Z
// SPDX-License-Identifier: Apache-2.0 #include "gtest/gtest.h" #include "kompute/Kompute.hpp" #include "kompute_test/Shader.hpp" TEST(TestSpecializationConstants, TestTwoConstants) { { std::string shader(R"( #version 450 layout (constant_id = 0) const float cOne = 1; layou...
32.884615
80
0.490643
dSandley20
e7bc27d00fa4fafc791cc685ff02c186e5c0c86a
4,859
hpp
C++
Source/KEngine/include/KEngine/Common/JSONReader.hpp
yxbh/KEngine
04d2aced738984f53bf1b2b84b49fbbabfbe6587
[ "Zlib" ]
1
2020-05-29T03:30:08.000Z
2020-05-29T03:30:08.000Z
Source/KEngine/include/KEngine/Common/JSONReader.hpp
yxbh/KEngine
04d2aced738984f53bf1b2b84b49fbbabfbe6587
[ "Zlib" ]
null
null
null
Source/KEngine/include/KEngine/Common/JSONReader.hpp
yxbh/KEngine
04d2aced738984f53bf1b2b84b49fbbabfbe6587
[ "Zlib" ]
null
null
null
#pragma once // libJSON lib #ifdef _MSC_VER #pragma warning(push) #pragma warning(disable : 4100) // unreferenced formal parameter. #pragma warning(disable : 4127) // conditional expression is constant. #endif #include "libjson_7.6.1/libjson.h" #ifdef _MSC_VER #pragma warning(pop) #endif #include <string> #include <sta...
42.622807
119
0.685326
yxbh
e7bffcd83db49941b0963aaf988354586bba3f38
1,005
cpp
C++
src/grbl/parsers/response_message/ResponseMessageParser.test.cpp
jgert/grblController
e5026b1e5d972f3e67b07c3fb80dad276bae2c17
[ "MIT" ]
2
2021-12-19T19:15:28.000Z
2022-01-03T10:29:32.000Z
src/grbl/parsers/response_message/ResponseMessageParser.test.cpp
jgert/grblController
e5026b1e5d972f3e67b07c3fb80dad276bae2c17
[ "MIT" ]
12
2020-06-09T21:10:10.000Z
2022-02-25T14:11:17.000Z
src/grbl/parsers/response_message/ResponseMessageParser.test.cpp
jgert/grblController
e5026b1e5d972f3e67b07c3fb80dad276bae2c17
[ "MIT" ]
1
2020-08-13T04:00:55.000Z
2020-08-13T04:00:55.000Z
// // Created by Jakub Gert on 20/06/2020. // #include <QObject> #include <QTest> #include "tests/TestSuite.h" #include "ResponseMessageParser.h" class ResponseMessageParserTests : public TestSuite { Q_OBJECT private slots: void testInvalid() { ResponseMessageParser parser; auto result = parser....
21.847826
63
0.637811
jgert
e7c1f1f9191098c0b0f356bbe11abb8af4409b7a
619
hpp
C++
source/native/encoder.hpp
giovannicalo/node-webp
d841ccd4316bb73d58c2d5e3a5f844d7435fb088
[ "MIT" ]
null
null
null
source/native/encoder.hpp
giovannicalo/node-webp
d841ccd4316bb73d58c2d5e3a5f844d7435fb088
[ "MIT" ]
null
null
null
source/native/encoder.hpp
giovannicalo/node-webp
d841ccd4316bb73d58c2d5e3a5f844d7435fb088
[ "MIT" ]
null
null
null
#pragma once #include <math.h> #include <napi.h> #include <webp/encode.h> #include "format.hpp" #include "image.hpp" namespace nodeWebp { class Encoder : public Napi::AsyncWorker { private: uint8_t* buffer = nullptr; Napi::Promise::Deferred promise; float_t quality = 0; uint64_t size = 0; ...
12.632653
51
0.647819
giovannicalo
b10f837bda4759c001e18beff0616cb05865e361
3,252
hpp
C++
plugins/EstimationPlugin/src/base/measurement/TDRSSTwoWayRange.hpp
Randl/GMAT
d6a5b1fed68c33b0c4b1cfbd1e25a71cdfb8f8f5
[ "Apache-2.0" ]
2
2020-01-01T13:14:57.000Z
2020-12-09T07:05:07.000Z
plugins/EstimationPlugin/src/base/measurement/TDRSSTwoWayRange.hpp
rdadan/GMAT-R2016a
d6a5b1fed68c33b0c4b1cfbd1e25a71cdfb8f8f5
[ "Apache-2.0" ]
1
2018-03-15T08:58:37.000Z
2018-03-20T20:11:26.000Z
plugins/EstimationPlugin/src/base/measurement/TDRSSTwoWayRange.hpp
rdadan/GMAT-R2016a
d6a5b1fed68c33b0c4b1cfbd1e25a71cdfb8f8f5
[ "Apache-2.0" ]
3
2019-10-13T10:26:49.000Z
2020-12-09T07:06:55.000Z
//$Id: TDRSSTwoWayRange.hpp 1398 2011-04-21 20:39:37Z $ //------------------------------------------------------------------------------ // TDRSSTwoWayRange //------------------------------------------------------------------------------ // GMAT: General Mission Analysis Tool // // Copyright (c...
34.967742
80
0.646986
Randl
b10fd8ec331ec6aa27ddc9f37789e1e88583a0b3
14,017
cc
C++
ee/group.cc
flipfrog/xee
2586ed5bc0b9f99d8b314e363e0e8f76f46575ba
[ "MIT" ]
null
null
null
ee/group.cc
flipfrog/xee
2586ed5bc0b9f99d8b314e363e0e8f76f46575ba
[ "MIT" ]
null
null
null
ee/group.cc
flipfrog/xee
2586ed5bc0b9f99d8b314e363e0e8f76f46575ba
[ "MIT" ]
null
null
null
// // group.cc: // #include <stdio.h> #include <stdlib.h> #include <math.h> #include <limits.h> #include <X11/Xlib.h> #include <local_types.h> #include <list.h> #include <eedefs.h> #include <shape.h> #include <shapeset.h> #include <frame.h> #include <xcontext.h> #include <board.h> #include <group.h> #include <misc....
27.323587
76
0.565528
flipfrog
b117206c49426f5c8b2342a2d5174b9b4f49ee5b
14,895
cpp
C++
src/ADBSCEditDLL/src/WinClass/ToolBar/ToolBar.cpp
ClnViewer/ADB-Android-Viewer
c619fe626ab390b656893974700a0b6379159c03
[ "MIT" ]
9
2019-05-20T12:06:36.000Z
2022-03-24T19:11:06.000Z
src/ADBSCEditDLL/src/WinClass/ToolBar/ToolBar.cpp
ClnViewer/ADB-Android-Viewer
c619fe626ab390b656893974700a0b6379159c03
[ "MIT" ]
null
null
null
src/ADBSCEditDLL/src/WinClass/ToolBar/ToolBar.cpp
ClnViewer/ADB-Android-Viewer
c619fe626ab390b656893974700a0b6379159c03
[ "MIT" ]
3
2020-07-06T04:51:33.000Z
2021-07-26T20:08:02.000Z
/* MIT License Android remote Viewer, GUI ADB tools Android Viewer developed to view and control your android device from a PC. ADB exchange Android Viewer, support scale view, input tap from mouse, input swipe from keyboard, save/copy screenshot, etc.. Copyright (c) 2016-2019 PS GitHub: ...
35.891566
131
0.471031
ClnViewer