hexsha
stringlengths
40
40
size
int64
7
1.05M
ext
stringclasses
13 values
lang
stringclasses
1 value
max_stars_repo_path
stringlengths
4
269
max_stars_repo_name
stringlengths
5
108
max_stars_repo_head_hexsha
stringlengths
40
40
max_stars_repo_licenses
listlengths
1
9
max_stars_count
int64
1
191k
max_stars_repo_stars_event_min_datetime
stringlengths
24
24
max_stars_repo_stars_event_max_datetime
stringlengths
24
24
max_issues_repo_path
stringlengths
4
269
max_issues_repo_name
stringlengths
5
116
max_issues_repo_head_hexsha
stringlengths
40
40
max_issues_repo_licenses
listlengths
1
9
max_issues_count
int64
1
67k
max_issues_repo_issues_event_min_datetime
stringlengths
24
24
max_issues_repo_issues_event_max_datetime
stringlengths
24
24
max_forks_repo_path
stringlengths
4
269
max_forks_repo_name
stringlengths
5
116
max_forks_repo_head_hexsha
stringlengths
40
40
max_forks_repo_licenses
listlengths
1
9
max_forks_count
int64
1
105k
max_forks_repo_forks_event_min_datetime
stringlengths
24
24
max_forks_repo_forks_event_max_datetime
stringlengths
24
24
content
stringlengths
7
1.05M
avg_line_length
float64
1.21
330k
max_line_length
int64
6
990k
alphanum_fraction
float64
0.01
0.99
author_id
stringlengths
2
40
b5c92843a0d72d7cdca11975ef2eae41d2837779
392
cpp
C++
_site/Competitive Programming/Codeforces/1073B.cpp
anujkyadav07/anuj-k-yadav.github.io
ac5cccc8cdada000ba559538cd84921437b3c5e6
[ "MIT" ]
1
2019-06-10T04:39:49.000Z
2019-06-10T04:39:49.000Z
_site/Competitive Programming/Codeforces/1073B.cpp
anujkyadav07/anuj-k-yadav.github.io
ac5cccc8cdada000ba559538cd84921437b3c5e6
[ "MIT" ]
2
2021-09-27T23:34:07.000Z
2022-02-26T05:54:27.000Z
_site/Competitive Programming/Codeforces/1073B.cpp
anujkyadav07/anuj-k-yadav.github.io
ac5cccc8cdada000ba559538cd84921437b3c5e6
[ "MIT" ]
3
2019-06-23T14:15:08.000Z
2019-07-09T20:40:58.000Z
#include <bits/stdc++.h> typedef long long ll; using namespace std; int main(){ ios::sync_with_stdio(0); cin.tie(0); ll n; cin>>n; ll a, b; map<ll,ll> idx; for (ll i = 0; i < n; ++i) { cin>>a; idx[a] = i; } ll cur = 0; for (ll i = 0; i < n; ++i) { cin>>b; if(idx[b] < cur){ cout<<0<<" "; }el...
13.517241
27
0.47449
anujkyadav07
b5ccaa2f9a33cb8c936ac147ce175c04020f496b
4,877
hpp
C++
lib/CUDA/kernel/matrix_ops.hpp
Bensuperpc/BenLib
1708a27e272a54f437cda50b2ca98ed92f03d721
[ "MIT" ]
5
2020-12-02T21:17:14.000Z
2021-05-24T19:57:42.000Z
lib/CUDA/kernel/matrix_ops.hpp
bensuperpc/BenLib
1708a27e272a54f437cda50b2ca98ed92f03d721
[ "MIT" ]
null
null
null
lib/CUDA/kernel/matrix_ops.hpp
bensuperpc/BenLib
1708a27e272a54f437cda50b2ca98ed92f03d721
[ "MIT" ]
1
2021-02-28T08:43:46.000Z
2021-02-28T08:43:46.000Z
////////////////////////////////////////////////////////////// // ____ // // | __ ) ___ _ __ ___ _ _ _ __ ___ _ __ _ __ ___ // // | _ \ / _ \ '_ \/ __| | | | '_ \ / _ \ '__| '_ \ / __| // // | |_) | __/ | | \__ \ |_| | |_) | __/ | | |_) | (__ // // ...
50.278351
160
0.521427
Bensuperpc
b5cd0a9b7919aec5878eef3ead8378d4cac039d7
572
cpp
C++
ork.core/src/math/line_imp.cpp
tweakoz/orkid
e3f78dfb3375853fd512a9d0828b009075a18345
[ "BSL-1.0" ]
25
2015-02-21T04:21:21.000Z
2022-01-20T05:19:27.000Z
ork.core/src/math/line_imp.cpp
tweakoz/orkid
e3f78dfb3375853fd512a9d0828b009075a18345
[ "BSL-1.0" ]
113
2019-08-23T04:52:14.000Z
2021-09-13T04:04:11.000Z
ork.core/src/math/line_imp.cpp
tweakoz/orkid
e3f78dfb3375853fd512a9d0828b009075a18345
[ "BSL-1.0" ]
4
2017-02-20T18:17:55.000Z
2020-06-28T03:47:55.000Z
//////////////////////////////////////////////////////////////// // Orkid Media Engine // Copyright 1996-2020, Michael T. Mayers. // Distributed under the Boost Software License - Version 1.0 - August 17, 2003 // see http://www.boost.org/LICENSE_1_0.txt //////////////////////////////////////////////////////////////// ...
19.724138
79
0.554196
tweakoz
b5cdd4e66fd35f6fb2e8954df4a72b43fb412ed7
133
cpp
C++
TAO/tests/CSD_Strategy_Tests/Broken/server_main.cpp
cflowe/ACE
5ff60b41adbe1772372d1a43bcc1f2726ff8f810
[ "DOC" ]
36
2015-01-10T07:27:33.000Z
2022-03-07T03:32:08.000Z
TAO/tests/CSD_Strategy_Tests/Broken/server_main.cpp
cflowe/ACE
5ff60b41adbe1772372d1a43bcc1f2726ff8f810
[ "DOC" ]
2
2018-08-13T07:30:51.000Z
2019-02-25T03:04:31.000Z
TAO/tests/CSD_Strategy_Tests/Broken/server_main.cpp
cflowe/ACE
5ff60b41adbe1772372d1a43bcc1f2726ff8f810
[ "DOC" ]
38
2015-01-08T14:12:06.000Z
2022-01-19T08:33:00.000Z
// $Id: server_main.cpp 68931 2005-10-23 18:07:03Z dai_y $ #include "ServerApp.h" #include "TestAppMain.h" TEST_APP_MAIN(ServerApp)
22.166667
58
0.744361
cflowe
b5ce9d05e3d53360728dd4f430615c09187a37c0
6,293
cc
C++
common/dstage/client_response_handler.cc
PeterVondras/DAS
72dd5223280ec121f998b4932cc6bf7e83187d46
[ "MIT" ]
null
null
null
common/dstage/client_response_handler.cc
PeterVondras/DAS
72dd5223280ec121f998b4932cc6bf7e83187d46
[ "MIT" ]
null
null
null
common/dstage/client_response_handler.cc
PeterVondras/DAS
72dd5223280ec121f998b4932cc6bf7e83187d46
[ "MIT" ]
null
null
null
#include <sys/socket.h> #include <sys/types.h> #include <memory> #include <string> #include "common/dstage/client_response_handler.h" #include "glog/logging.h" namespace { using CallBack2 = dans::CommunicationHandlerInterface::CallBack2; using ReadyFor = dans::CommunicationHandlerInterface::ReadyFor; const int kMByt...
35.755682
79
0.589385
PeterVondras
b5d104afaa493b0e8ee8fdfd81701b70431f0ffd
475
hpp
C++
include/resources/Tools.hpp
yinyangcoding/chess
50acfda16e65a1ab2427caa5e083a698c67375ef
[ "MIT" ]
1
2020-07-11T06:28:58.000Z
2020-07-11T06:28:58.000Z
include/resources/Tools.hpp
yinyangcoding/chess
50acfda16e65a1ab2427caa5e083a698c67375ef
[ "MIT" ]
8
2020-06-28T19:41:07.000Z
2020-07-13T17:06:50.000Z
include/resources/Tools.hpp
yinyangcoding/chess
50acfda16e65a1ab2427caa5e083a698c67375ef
[ "MIT" ]
null
null
null
#ifndef TOOLS_GUARD #define TOOLS_GUARD #include <iostream> #include <vector> #include "BlandTools.hpp" #include "../objects/Piece.hpp" #include "../objects/Coordinate.hpp" // Contains tools that are needed universally throughout code namespace Tools { // Checks if a Piece vector contains a piece static bool...
22.619048
61
0.715789
yinyangcoding
b5d10b45f66473a5800fa5ef08b154861d46dd76
24,761
cc
C++
src/cxx/libsparse/libtools/MatrixOper.cc
jstarck/cosmostat
f686efe4c00073272487417da15e207a529f07e7
[ "MIT" ]
null
null
null
src/cxx/libsparse/libtools/MatrixOper.cc
jstarck/cosmostat
f686efe4c00073272487417da15e207a529f07e7
[ "MIT" ]
null
null
null
src/cxx/libsparse/libtools/MatrixOper.cc
jstarck/cosmostat
f686efe4c00073272487417da15e207a529f07e7
[ "MIT" ]
null
null
null
/****************************************************************************** ** Copyright (C) 1999 by CEA ******************************************************************************* ** ** UNIT ** ** Version: 1.0 ** ** Author: J.L. Starck ** ** Date: 18/02/99 ** ** F...
25.659067
118
0.509592
jstarck
b5d4f3154ae656d16ccc5c21a3bb5fcb86f888bc
295
hpp
C++
Source/Exporter.hpp
Myles-Trevino/Frustum
b5faea151d68996378eb485dc6a5bbd788b0fd22
[ "Apache-2.0" ]
2
2020-08-10T23:26:24.000Z
2020-08-20T02:10:47.000Z
Source/Exporter.hpp
Myles-Trevino/Frustum
b5faea151d68996378eb485dc6a5bbd788b0fd22
[ "Apache-2.0" ]
1
2021-03-10T15:39:44.000Z
2021-03-11T15:44:43.000Z
Source/Exporter.hpp
Myles-Trevino/Frustum
b5faea151d68996378eb485dc6a5bbd788b0fd22
[ "Apache-2.0" ]
null
null
null
/* Copyright Myles Trevino Licensed under the Apache License, Version 2.0 https://www.apache.org/licenses/LICENSE-2.0 */ #pragma once #include <string> namespace LV::Exporter { void export_frustum(const std::string& name, const std::string& format, const std::string& orientation); }
16.388889
72
0.732203
Myles-Trevino
b5d76ba632dbea11caf13c414dc59c1ecea8ec55
3,831
cpp
C++
Hackerrank-Solutions/Hackerrank-C++-Solutions/Other Concepts/Attending Workshops.cpp
HetDaftary/Competitive-Coding-Solutions
a683fa11895410c6eef07b1a68054f3e90aa596b
[ "MIT" ]
null
null
null
Hackerrank-Solutions/Hackerrank-C++-Solutions/Other Concepts/Attending Workshops.cpp
HetDaftary/Competitive-Coding-Solutions
a683fa11895410c6eef07b1a68054f3e90aa596b
[ "MIT" ]
null
null
null
Hackerrank-Solutions/Hackerrank-C++-Solutions/Other Concepts/Attending Workshops.cpp
HetDaftary/Competitive-Coding-Solutions
a683fa11895410c6eef07b1a68054f3e90aa596b
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; //Define the structs Workshops and Available_Workshops. //Implement the functions initialize and CalculateMaxWorkshops const unsigned int N = 100001; struct Workshop{ int start, end, duration; ...
49.753247
134
0.293135
HetDaftary
b5d87d60c14c8d9f2619f30439678c8b8a216505
5,594
hpp
C++
include/NUnit/Framework/Constraints/MessageWriter.hpp
darknight1050/BeatSaber-Quest-Codegen
a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032
[ "Unlicense" ]
null
null
null
include/NUnit/Framework/Constraints/MessageWriter.hpp
darknight1050/BeatSaber-Quest-Codegen
a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032
[ "Unlicense" ]
null
null
null
include/NUnit/Framework/Constraints/MessageWriter.hpp
darknight1050/BeatSaber-Quest-Codegen
a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032
[ "Unlicense" ]
null
null
null
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" #include <initializer_list> // Including type: System.IO.StringWriter #include "System/I...
57.081633
172
0.728459
darknight1050
b5db09b4d94ff65af99aa56d9fce77be3f2d5f8d
4,859
cpp
C++
hetero/simulations_random.cpp
tehora/phd-sourcecodes
b8c9be03b6de012b886e3d3f43c9d179ec2d701b
[ "MIT" ]
null
null
null
hetero/simulations_random.cpp
tehora/phd-sourcecodes
b8c9be03b6de012b886e3d3f43c9d179ec2d701b
[ "MIT" ]
null
null
null
hetero/simulations_random.cpp
tehora/phd-sourcecodes
b8c9be03b6de012b886e3d3f43c9d179ec2d701b
[ "MIT" ]
null
null
null
#include <ghutils.h> #include <set> #include <vector> #include <unordered_map> #include <algorithm> #include <iomanip> #include <math.h> int number = 100; set <pair <int, int>> edges; set <pair <int, int>> random_net; unordered_map <string, int> nodes; //for simulations related to kohonen map <int, int> neuron_cla...
26.551913
221
0.477053
tehora
b5dbca83b4cc74bf177d749d008d9d7bb5fbb2c2
3,030
cpp
C++
SolarSystemSim/PhysicsProject/Vector2D.cpp
mattstruble/PhysicSimulations
29e6b4c07a9faed5997a0023e953bf345f2e7323
[ "MIT" ]
null
null
null
SolarSystemSim/PhysicsProject/Vector2D.cpp
mattstruble/PhysicSimulations
29e6b4c07a9faed5997a0023e953bf345f2e7323
[ "MIT" ]
null
null
null
SolarSystemSim/PhysicsProject/Vector2D.cpp
mattstruble/PhysicSimulations
29e6b4c07a9faed5997a0023e953bf345f2e7323
[ "MIT" ]
null
null
null
//====================================================================== //File: Vector2D.h //Author: Matt Struble //====================================================================== #include "Vector2D.h" #include <cmath> //====================================================================== Vector2D::Vector2D()...
28.317757
89
0.319472
mattstruble
b5dc152a3bf08c09438463cd636a53e706a17dd3
454,489
cpp
C++
WRK-V1.2/clr/src/vm/class.cpp
intj-t/openvmsft
0d17fbce8607ab2b880be976c2e86d8cfc3e83bb
[ "Intel" ]
null
null
null
WRK-V1.2/clr/src/vm/class.cpp
intj-t/openvmsft
0d17fbce8607ab2b880be976c2e86d8cfc3e83bb
[ "Intel" ]
null
null
null
WRK-V1.2/clr/src/vm/class.cpp
intj-t/openvmsft
0d17fbce8607ab2b880be976c2e86d8cfc3e83bb
[ "Intel" ]
null
null
null
// ==++== // // // Copyright (c) 2006 Microsoft Corporation. All rights reserved. // // The use and distribution terms for this software are contained in the file // named license.txt, which can be found in the root of this distribution. // By using this software in any fashion, you are agreeing to b...
37.89303
229
0.560832
intj-t
b5e14825564f8f01c7ff1ab23134bab817e44cd1
314
cpp
C++
tests_old/test_array_enumerator.cpp
EthanTLee/Go-Sheep-Go
9536eed84074627ae4ed8bb848be1b7fdaf54486
[ "MIT" ]
null
null
null
tests_old/test_array_enumerator.cpp
EthanTLee/Go-Sheep-Go
9536eed84074627ae4ed8bb848be1b7fdaf54486
[ "MIT" ]
null
null
null
tests_old/test_array_enumerator.cpp
EthanTLee/Go-Sheep-Go
9536eed84074627ae4ed8bb848be1b7fdaf54486
[ "MIT" ]
null
null
null
#include "catch.hpp" #include <array> #include <extern/array_enumerator.hh> #include <iostream> TEST_CASE("array enumerator test") { std::array<std::array<int, 30>, 10> my_array1; for (auto [c, d] : array_helpers::enumarate(my_array1)) { std::cout << "c " << c << ", d " << d << "\n"; } }
19.625
61
0.589172
EthanTLee
b5e3311a6b077c2c153a44622faf076fd48b6a72
53,153
cc
C++
tensorflow/compiler/xla/service/plaidml/tests/plaidml_i3d_3b_test.cc
dgkutnic/tensorflow
527268ff7f5eaeec5b0d074670a4d9d8ce5cbc73
[ "Apache-2.0" ]
null
null
null
tensorflow/compiler/xla/service/plaidml/tests/plaidml_i3d_3b_test.cc
dgkutnic/tensorflow
527268ff7f5eaeec5b0d074670a4d9d8ce5cbc73
[ "Apache-2.0" ]
5
2020-07-17T17:36:44.000Z
2020-08-05T20:18:02.000Z
tensorflow/compiler/xla/service/plaidml/tests/plaidml_i3d_3b_test.cc
dgkutnic/tensorflow
527268ff7f5eaeec5b0d074670a4d9d8ce5cbc73
[ "Apache-2.0" ]
null
null
null
// Tests that show HLO Module conversion to PlaidML Program. #include <algorithm> #include <string> #include <gtest/gtest.h> #include "absl/strings/str_cat.h" #include "tensorflow/compiler/xla/service/plaidml/compiler.h" #include "tensorflow/compiler/xla/service/plaidml/tests/plaidml_codegen_test.h" #include "tensor...
123.039352
357
0.737569
dgkutnic
b5e46365b309ed9438691a9b2a6d439b3838732d
1,429
cpp
C++
1160.cpp
oyiadin/hdoj
b7451101b37e05d7a86462e76f112584ecc540dc
[ "MIT" ]
null
null
null
1160.cpp
oyiadin/hdoj
b7451101b37e05d7a86462e76f112584ecc540dc
[ "MIT" ]
null
null
null
1160.cpp
oyiadin/hdoj
b7451101b37e05d7a86462e76f112584ecc540dc
[ "MIT" ]
null
null
null
#include <stdio.h> #include <stdlib.h> #include <stack> // emmm, sorry for using cpp and c in the meantime #define _memset(dest, data, type) \ for (int i = 0; i < sizeof(dest)/sizeof(type); ++i) \ dest[i] = data; typedef struct mouse { int weight; int speed; int ID; } mouse; mouse mouses[1001...
23.42623
91
0.470959
oyiadin
b5e80b79e563ad815406eecfdc779dc136fc80e6
4,275
cpp
C++
3rdparty/g2o/g2o/apps/g2o_simulator/simutils.cpp
Refstop/VSLAM_Example
060b9419f79f035d1c9ebfa75ad46e2e9a53e992
[ "MIT" ]
null
null
null
3rdparty/g2o/g2o/apps/g2o_simulator/simutils.cpp
Refstop/VSLAM_Example
060b9419f79f035d1c9ebfa75ad46e2e9a53e992
[ "MIT" ]
null
null
null
3rdparty/g2o/g2o/apps/g2o_simulator/simutils.cpp
Refstop/VSLAM_Example
060b9419f79f035d1c9ebfa75ad46e2e9a53e992
[ "MIT" ]
null
null
null
// g2o - General Graph Optimization // Copyright (C) 2011 R. Kuemmerle, G. Grisetti, H. Strasdat, W. Burgard // 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 sourc...
27.056962
75
0.61731
Refstop
b5ead38bc228f2c217a8badfdeffb3ca9fc326ee
5,598
cpp
C++
SDK/Extras/VRML Reader/Source/VRML 1/VRML1 node handlers/CylinderV1ToObject.cpp
seanm/Quesa
b7bd607a5d04e7d90d3434208437ea392667c339
[ "BSD-3-Clause" ]
null
null
null
SDK/Extras/VRML Reader/Source/VRML 1/VRML1 node handlers/CylinderV1ToObject.cpp
seanm/Quesa
b7bd607a5d04e7d90d3434208437ea392667c339
[ "BSD-3-Clause" ]
null
null
null
SDK/Extras/VRML Reader/Source/VRML 1/VRML1 node handlers/CylinderV1ToObject.cpp
seanm/Quesa
b7bd607a5d04e7d90d3434208437ea392667c339
[ "BSD-3-Clause" ]
null
null
null
/* NAME: CylinderV1ToObject.cp DESCRIPTION: VRML 1 node handler. COPYRIGHT: Copyright (c) 2005, Quesa Developers. All rights reserved. For the current release of Quesa, please see: <https://github.com/jwwalker/Quesa> Redistribution and use in sou...
27.712871
80
0.672919
seanm
b5f63598edde874bad9db420f22abd1f41df73ca
3,148
cc
C++
stapl_release/test/containers/graph/test_arbitrary_mesh_decomposition_3D.cc
parasol-ppl/PPL_utils
92728bb89692fda1705a0dee436592d97922a6cb
[ "BSD-3-Clause" ]
null
null
null
stapl_release/test/containers/graph/test_arbitrary_mesh_decomposition_3D.cc
parasol-ppl/PPL_utils
92728bb89692fda1705a0dee436592d97922a6cb
[ "BSD-3-Clause" ]
null
null
null
stapl_release/test/containers/graph/test_arbitrary_mesh_decomposition_3D.cc
parasol-ppl/PPL_utils
92728bb89692fda1705a0dee436592d97922a6cb
[ "BSD-3-Clause" ]
null
null
null
/* // Copyright (c) 2000-2011, Texas Engineering Experiment Station (TEES), a // component of the Texas A&M University System. // All rights reserved. // The information and source code contained herein is the exclusive // property of TEES and may not be disclosed, examined or reproduced // in whole or in part withou...
32.122449
79
0.716645
parasol-ppl
b5f689f7b6ffc9c9c60ca8842526aeb36040e5e8
481
cpp
C++
hdu/1000/1859.cpp
TheBadZhang/OJ
b5407f2483aa630068343b412ecaf3a9e3303f7e
[ "Apache-2.0" ]
1
2020-07-22T16:54:07.000Z
2020-07-22T16:54:07.000Z
hdu/1000/1859.cpp
TheBadZhang/OJ
b5407f2483aa630068343b412ecaf3a9e3303f7e
[ "Apache-2.0" ]
1
2018-05-12T12:53:06.000Z
2018-05-12T12:53:06.000Z
hdu/1000/1859.cpp
TheBadZhang/OJ
b5407f2483aa630068343b412ecaf3a9e3303f7e
[ "Apache-2.0" ]
null
null
null
#include <stdio.h> #include <algorithm> using namespace std; int x[1000], y[1000]; int i = 0; int main() { int flag; flag = 0; while (scanf("%d %d", &x[i], &y[i])) { if (x[i] == 0 && y[i] == 0 && flag == 0) break; if (x[i] != 0 || y[i] != 0) { i++; flag = 1; continue; } else if (x[i] == 0 && y[i] ...
17.814815
59
0.432432
TheBadZhang
b5f75f4906652a7e5377488a829d028935a45a5a
1,892
cpp
C++
src/Scene/EntityComponent.cpp
Strife-AI/Strife.Engine
6b83e762f28acb3f4440d5b7763beccfd08dfc8f
[ "NCSA" ]
12
2020-12-27T22:13:58.000Z
2021-03-14T09:03:02.000Z
src/Scene/EntityComponent.cpp
Strife-AI/Strife.Engine
6b83e762f28acb3f4440d5b7763beccfd08dfc8f
[ "NCSA" ]
10
2021-01-14T15:14:31.000Z
2021-05-24T22:01:09.000Z
src/Scene/EntityComponent.cpp
Strife-AI/Strife.Engine
6b83e762f28acb3f4440d5b7763beccfd08dfc8f
[ "NCSA" ]
null
null
null
#include "EntityComponent.hpp" #include "Entity.hpp" #include "Scene.hpp" Scene* IEntityComponent::GetScene() const { return owner->scene; } void IEntityComponent::Render(Renderer* renderer) { componentFlags.ResetFlag(EntityComponentFlags::EnableRender); FlagsChanged(); } void IEntityComponent::FlagsChanged() ...
24.571429
134
0.805497
Strife-AI
b5fbd0561418ba437ba1a6d33b1d75f1656c6626
66
hpp
C++
module/buff/abstract_buff.hpp
PaPaPR/WolfVision
4092a313491349397106e3c050a332b2a5c6e611
[ "MIT" ]
null
null
null
module/buff/abstract_buff.hpp
PaPaPR/WolfVision
4092a313491349397106e3c050a332b2a5c6e611
[ "MIT" ]
null
null
null
module/buff/abstract_buff.hpp
PaPaPR/WolfVision
4092a313491349397106e3c050a332b2a5c6e611
[ "MIT" ]
null
null
null
#pragma once #include <fmt/core.h> namespace abstract_buff { }
8.25
25
0.712121
PaPaPR
b5fe23bea0248f24d30fc40d0d27832fbc9af81c
832,013
cpp
C++
src/main_1100.cpp
v0idp/virtuoso-codegen
6f560f04822c67f092d438a3f484249072c1d21d
[ "Unlicense" ]
null
null
null
src/main_1100.cpp
v0idp/virtuoso-codegen
6f560f04822c67f092d438a3f484249072c1d21d
[ "Unlicense" ]
null
null
null
src/main_1100.cpp
v0idp/virtuoso-codegen
6f560f04822c67f092d438a3f484249072c1d21d
[ "Unlicense" ]
1
2022-03-30T21:07:35.000Z
2022-03-30T21:07:35.000Z
// Autogenerated from CppSourceCreator // Created by Sc2ad // ========================================================================= // Begin includes // Including type: VROSC.UIButton #include "VROSC/UIButton.hpp" // Including type: UnityEngine.TextMesh #include "UnityEngine/TextMesh.hpp" // Including type: TMPro.T...
75.507124
593
0.777489
v0idp
bd042340e98f74265e35d8846b034aed6372ad54
7,592
cpp
C++
libgramtools/src/prg/linearised_prg.cpp
bricoletc/gramtools
1ce06178b7b26f42d72e47d3d7b8a7a606e6f256
[ "MIT" ]
null
null
null
libgramtools/src/prg/linearised_prg.cpp
bricoletc/gramtools
1ce06178b7b26f42d72e47d3d7b8a7a606e6f256
[ "MIT" ]
null
null
null
libgramtools/src/prg/linearised_prg.cpp
bricoletc/gramtools
1ce06178b7b26f42d72e47d3d7b8a7a606e6f256
[ "MIT" ]
null
null
null
#include "prg/linearised_prg.hpp" #include "common/parameters.hpp" #include "common/utils.hpp" /********************** * Supporting nesting** **********************/ PRG_String::PRG_String(std::string const &file_in, endianness en) : odd_site_end_found(false), en(en) { std::fstream input(file_in, std::ios::in ...
28.541353
79
0.606428
bricoletc
bd05341bc5e37f80491a38b980e4432afcefe246
1,607
cpp
C++
tests/TestRunner.cpp
copasi/copasi-api
3e09ad8b33f602981471104b553ebaf14e9ae4b1
[ "Artistic-2.0" ]
1
2021-04-08T12:39:39.000Z
2021-04-08T12:39:39.000Z
tests/TestRunner.cpp
copasi/copasi-api
3e09ad8b33f602981471104b553ebaf14e9ae4b1
[ "Artistic-2.0" ]
1
2021-05-17T15:33:13.000Z
2021-08-30T21:26:04.000Z
tests/TestRunner.cpp
copasi/copasi-api
3e09ad8b33f602981471104b553ebaf14e9ae4b1
[ "Artistic-2.0" ]
1
2021-08-13T09:47:49.000Z
2021-08-13T09:47:49.000Z
// BEGIN: Copyright // Copyright (C) 2021 by Pedro Mendes, Rector and Visitors of the // University of Virginia, University of Heidelberg, and University // of Connecticut School of Medicine. // All rights reserved // END: Copyright // BEGIN: License // Licensed under the Artistic License 2.0 (the "License"); ...
23.632353
69
0.692595
copasi
bd05f6e3d79d14594bc8a4a647fb8ac034a2e6fb
16,355
cpp
C++
src/mlpack/core/util/cli.cpp
17minutes/mlpack
8f4af1ec454a662dd7c990cf2146bfeb1bd0cb3a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
2
2021-09-22T18:12:40.000Z
2021-11-17T10:39:58.000Z
src/mlpack/core/util/cli.cpp
kosmaz/Mlpack
62100ddca45880a57e7abb0432df72d285e5728b
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
src/mlpack/core/util/cli.cpp
kosmaz/Mlpack
62100ddca45880a57e7abb0432df72d285e5728b
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
/** * @file cli.cpp * @author Matthew Amidon * * Implementation of the CLI module for parsing parameters. * * 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 with mlpack. If not...
31.757282
80
0.612901
17minutes
bd060b66a878f0e261a255c0bf551440b10985d7
9,928
cxx
C++
src/primitive.cxx
DaWelter/NaiveTrace
a904785a0e13c394b2c221bc918cddb41bc8b175
[ "FSFAP" ]
16
2018-04-25T08:14:14.000Z
2022-01-29T06:19:16.000Z
src/primitive.cxx
DaWelter/NaiveTrace
a904785a0e13c394b2c221bc918cddb41bc8b175
[ "FSFAP" ]
null
null
null
src/primitive.cxx
DaWelter/NaiveTrace
a904785a0e13c394b2c221bc918cddb41bc8b175
[ "FSFAP" ]
null
null
null
#include "primitive.hxx" #include "sampler.hxx" #include "ray.hxx" #include "scene.hxx" Mesh::Mesh(index_t num_triangles, index_t num_vertices) : Geometry{Geometry::PRIMITIVES_TRIANGLES} { // Using Eigen::NoChange because number of columns is fixed by compile time constant. vertices.resize(num_vertices, Eigen::...
29.286136
173
0.649778
DaWelter
bd08ee047e2e975e725dba8ba4780be5c5532372
131
cpp
C++
slides/index_cache/html/unnamed-chunk-2_sourceCpp/sourceCpp-x86_64-pc-linux-gnu-1.0.5/fileacd03ef60123.cpp
gomesfellipe/202011-rcpp
fe1145e4096dc12c42c3a5cc663e41fdcace2d25
[ "MIT" ]
2
2020-11-22T08:48:25.000Z
2020-11-28T12:06:01.000Z
slides/index_cache/html/unnamed-chunk-2_sourceCpp/sourceCpp-x86_64-pc-linux-gnu-1.0.5/fileacd03ef60123.cpp
gomesfellipe/202011-rcpp
fe1145e4096dc12c42c3a5cc663e41fdcace2d25
[ "MIT" ]
null
null
null
slides/index_cache/html/unnamed-chunk-2_sourceCpp/sourceCpp-x86_64-pc-linux-gnu-1.0.5/fileacd03ef60123.cpp
gomesfellipe/202011-rcpp
fe1145e4096dc12c42c3a5cc663e41fdcace2d25
[ "MIT" ]
2
2020-11-21T11:57:16.000Z
2020-11-28T12:06:04.000Z
#include <Rcpp.h> // [[Rcpp::export]] void hello (std::string name) { Rcpp::Rcout << "hello " + name << std::endl; }
14.555556
29
0.526718
gomesfellipe
bd0bca7183f6ec03c832d85dbe10e9596870066e
2,643
cpp
C++
test/json_test_suite_array_failures.cpp
kercl/JsonStream
273ae5d0354d70eb39e38ebe4b7570fbf9a840b9
[ "MIT" ]
1
2021-06-01T00:29:30.000Z
2021-06-01T00:29:30.000Z
test/json_test_suite_array_failures.cpp
kercl/JsonStreamReader
273ae5d0354d70eb39e38ebe4b7570fbf9a840b9
[ "MIT" ]
null
null
null
test/json_test_suite_array_failures.cpp
kercl/JsonStreamReader
273ae5d0354d70eb39e38ebe4b7570fbf9a840b9
[ "MIT" ]
null
null
null
#define BOOST_TEST_DYN_LINK #define BOOST_TEST_MODULE JSON_TEST_SUITE_ARRAY_FAILURES #include <boost/test/unit_test.hpp> #include "TestParser.h" JSON_PARSER_EXPECT_FAILURE(n_array_1_true_without_comma, R"json( [1 true] )json") JSON_PARSER_EXPECT_FAILURE(n_array_a_invalid_utf8, R"json( [a...
80.090909
95
0.649641
kercl
bd0d0d0a43a309fa891cab1fcfc4bf2a31bc9e24
1,131
cpp
C++
data/dailyCodingProblem55.cpp
vidit1999/daily_coding_problem
b90319cb4ddce11149f54010ba36c4bd6fa0a787
[ "MIT" ]
2
2020-09-04T20:56:23.000Z
2021-06-11T07:42:26.000Z
data/dailyCodingProblem55.cpp
vidit1999/daily_coding_problem
b90319cb4ddce11149f54010ba36c4bd6fa0a787
[ "MIT" ]
null
null
null
data/dailyCodingProblem55.cpp
vidit1999/daily_coding_problem
b90319cb4ddce11149f54010ba36c4bd6fa0a787
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; const string ALL_CHARS = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789"; /* Implement a URL shortener with the following methods: shorten(url), which shortens the url into a six-character alphanumeric string, such as zLg6wl. restore(short), which expa...
19.5
94
0.603006
vidit1999
bd0e8102a83e724c54b9c3796f1ae6d126b15405
8,831
cpp
C++
MonoNative.Tests/mscorlib/System/Security/AccessControl/mscorlib_System_Security_AccessControl_DiscretionaryAcl_Fixture.cpp
brunolauze/MonoNative
959fb52c2c1ffe87476ab0d6e4fcce0ad9ce1e66
[ "BSD-2-Clause" ]
7
2015-03-10T03:36:16.000Z
2021-11-05T01:16:58.000Z
MonoNative.Tests/mscorlib/System/Security/AccessControl/mscorlib_System_Security_AccessControl_DiscretionaryAcl_Fixture.cpp
brunolauze/MonoNative
959fb52c2c1ffe87476ab0d6e4fcce0ad9ce1e66
[ "BSD-2-Clause" ]
1
2020-06-23T10:02:33.000Z
2020-06-24T02:05:47.000Z
MonoNative.Tests/mscorlib/System/Security/AccessControl/mscorlib_System_Security_AccessControl_DiscretionaryAcl_Fixture.cpp
brunolauze/MonoNative
959fb52c2c1ffe87476ab0d6e4fcce0ad9ce1e66
[ "BSD-2-Clause" ]
null
null
null
// Mono Native Fixture // Assembly: mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 // Namespace: System.Security.AccessControl // Name: DiscretionaryAcl // C++ Typed Name: mscorlib::System::Security::AccessControl::DiscretionaryAcl #include <gtest/gtest.h> #include <mscorlib/System/Securi...
40.884259
535
0.760956
brunolauze
bd0f068063ce6bb091e72722a8fab3d36c3eba1f
226
cpp
C++
lib/net/cmd/mgcommand.cpp
matheopit/yayasensor
000ef90529858fcca2658f49114b1e659968e66c
[ "MIT" ]
null
null
null
lib/net/cmd/mgcommand.cpp
matheopit/yayasensor
000ef90529858fcca2658f49114b1e659968e66c
[ "MIT" ]
null
null
null
lib/net/cmd/mgcommand.cpp
matheopit/yayasensor
000ef90529858fcca2658f49114b1e659968e66c
[ "MIT" ]
null
null
null
#include "mgcommand.h" BaseCommand::BaseCommand(const std::string& name,const json_t*/*jdata*/) :m_cmdname(name) { } BaseCommand::~BaseCommand() { } std::string BaseCommand::commandName() { return m_cmdname; }
10.761905
72
0.681416
matheopit
bd1330a1edd7bf565eb65453e4d0ce4a7f558ace
9,269
cpp
C++
src/twofish.cpp
vster/OpenCL
fb29aead4e6345e23f3f7ba5fb038fa1fd217e10
[ "BSD-2-Clause" ]
46
2015-12-04T17:12:58.000Z
2022-03-11T04:30:49.000Z
src/twofish.cpp
vster/OpenCL
fb29aead4e6345e23f3f7ba5fb038fa1fd217e10
[ "BSD-2-Clause" ]
null
null
null
src/twofish.cpp
vster/OpenCL
fb29aead4e6345e23f3f7ba5fb038fa1fd217e10
[ "BSD-2-Clause" ]
23
2016-10-24T09:18:14.000Z
2022-02-25T02:11:35.000Z
/************************************************* * Twofish Source File * * (C) 1999-2001 The OpenCL Project * *************************************************/ #include <opencl/twofish.h> namespace OpenCL { /************************************************* * Twofish Encry...
44.777778
79
0.437696
vster
bd145dff28bf70a1d90988d52fe83103377ae43b
1,990
hpp
C++
Contrib-Intel/RSD-PSME-RMM/common/agent-framework/include/agent-framework/registration/heartbeat_response.hpp
opencomputeproject/Rack-Manager
e1a61d3eeeba0ff655fe9c1301e8b510d9b2122a
[ "MIT" ]
5
2019-11-11T07:57:26.000Z
2022-03-28T08:26:53.000Z
Contrib-Intel/RSD-PSME-RMM/common/agent-framework/include/agent-framework/registration/heartbeat_response.hpp
opencomputeproject/Rack-Manager
e1a61d3eeeba0ff655fe9c1301e8b510d9b2122a
[ "MIT" ]
3
2019-09-05T21:47:07.000Z
2019-09-17T18:10:45.000Z
Contrib-Intel/RSD-PSME-RMM/common/agent-framework/include/agent-framework/registration/heartbeat_response.hpp
opencomputeproject/Rack-Manager
e1a61d3eeeba0ff655fe9c1301e8b510d9b2122a
[ "MIT" ]
11
2019-07-20T00:16:32.000Z
2022-01-11T14:17:48.000Z
/*! * @copyright * Copyright (c) 2015-2019 Intel Corporation * * @copyright * 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 * * @copyright * http://www.apache.org/licenses/LICENSE-...
27.638889
85
0.69598
opencomputeproject
bd1861711f9e08e0f2fbcd54a6bb1dac3804dbc6
6,095
cpp
C++
svd/src/main.cpp
rusheniii/ppmi-svd
bb9eb27712228f7c4f5e329809643d00bf0bf906
[ "BSD-2-Clause" ]
null
null
null
svd/src/main.cpp
rusheniii/ppmi-svd
bb9eb27712228f7c4f5e329809643d00bf0bf906
[ "BSD-2-Clause" ]
null
null
null
svd/src/main.cpp
rusheniii/ppmi-svd
bb9eb27712228f7c4f5e329809643d00bf0bf906
[ "BSD-2-Clause" ]
null
null
null
#include <iostream> #include "ppmisvd.hpp" static char help[] = "Singular value decomposition of a matrix.\n"; int main(int argc, char** argv) { using std::cout; using std::string; std::vector<IJPair> pairs; PetscErrorCode ierr=0; ierr = SlepcInitialize(&argc,&argv,(char*)0,help); if (ierr){ ...
42.622378
150
0.597375
rusheniii
bd18acca2a9ae003d62a9db6c8b19d111ab9f40b
23,121
hh
C++
handc/cfg/gc/rtgc/rtgc/colorset.hh
bitwize/rscheme
1c933d3418205038df0f90e7bffdcfa2bff75951
[ "TCL" ]
21
2015-07-27T06:14:35.000Z
2022-01-27T01:50:27.000Z
stage0/cfg/gc/rtgc/rtgc/colorset.hh
ecraven/rscheme
f7de3a1e2367b1828135d3c613877865f57f04da
[ "TCL" ]
1
2019-08-21T12:47:11.000Z
2019-08-21T12:47:11.000Z
stage0/cfg/gc/rtgc/rtgc/colorset.hh
ecraven/rscheme
f7de3a1e2367b1828135d3c613877865f57f04da
[ "TCL" ]
7
2016-06-03T02:03:17.000Z
2021-05-06T15:05:39.000Z
#ifndef COLORSET_HH #define COLORSET_HH // Revised: 16 Nov 1993 Mike Hewett // // Added: color_set data members: // unsigned int number_of_objects_per_snarf // unsigned int number_of_snarfed_objects_allocated // char * local_high_water_mark // // color_...
32.518987
91
0.688854
bitwize
bd18eded4e952a05b4b4237e69d3ca35651c3592
526
hpp
C++
Azathothpp/include/system/AzVfs.hpp
Genkinger/azathoth
9d96d4668dbcaa958bd4a4f21094f7da9a87a07d
[ "BSD-2-Clause" ]
null
null
null
Azathothpp/include/system/AzVfs.hpp
Genkinger/azathoth
9d96d4668dbcaa958bd4a4f21094f7da9a87a07d
[ "BSD-2-Clause" ]
null
null
null
Azathothpp/include/system/AzVfs.hpp
Genkinger/azathoth
9d96d4668dbcaa958bd4a4f21094f7da9a87a07d
[ "BSD-2-Clause" ]
null
null
null
#pragma once #include <map> #include <vector> #include <string> #include <algorithm> #include "AzFilesystem.hpp" namespace Az{ class Vfs{ std::map<std::string, std::vector<std::string> > mMountPoints; public: void Mount(const std::string& fslocation, const std::string& mountpoint); ...
27.684211
85
0.63308
Genkinger
bd19136fae224d3d60ca4f609e5a0a2bfab1d3ee
360
cc
C++
modules/Living/Hero/Warrior.cc
tech-gian/OOPproj_2021
89e438b558be03f5a6aa80f802d19db166aa74b8
[ "MIT" ]
1
2021-04-14T18:08:30.000Z
2021-04-14T18:08:30.000Z
modules/Living/Hero/Warrior.cc
dejvidB/OOPproj_2021
89e438b558be03f5a6aa80f802d19db166aa74b8
[ "MIT" ]
null
null
null
modules/Living/Hero/Warrior.cc
dejvidB/OOPproj_2021
89e438b558be03f5a6aa80f802d19db166aa74b8
[ "MIT" ]
1
2021-04-13T15:41:55.000Z
2021-04-13T15:41:55.000Z
#include "../../../include/Living/Hero/Warrior.h" void Warrior::levelUp(){ this->strength *= 1.3; this->agility *= 1.3; this->dexterity *= 1.2; this->level++; } void Warrior::print() const{ cout << "\t -----------------------------" << endl; cout << "\t > Warrior Name : " << this...
24
61
0.466667
tech-gian
bd1a53c30989c1954cf158cc1a21e7a56486b7b2
1,067
hpp
C++
dune/xt/data/quadratures/fekete/triangle_fekete_rule.hpp
dune-community/dune-xt-data
32593bbcd52ed69b0a11963400a9173740089a75
[ "BSD-2-Clause" ]
1
2020-02-08T04:09:11.000Z
2020-02-08T04:09:11.000Z
dune/xt/data/quadratures/fekete/triangle_fekete_rule.hpp
dune-community/dune-xt-data
32593bbcd52ed69b0a11963400a9173740089a75
[ "BSD-2-Clause" ]
40
2018-08-26T08:34:34.000Z
2021-09-28T13:01:55.000Z
dune/xt/data/quadratures/fekete/triangle_fekete_rule.hpp
dune-community/dune-xt-data
32593bbcd52ed69b0a11963400a9173740089a75
[ "BSD-2-Clause" ]
1
2020-02-08T04:10:14.000Z
2020-02-08T04:10:14.000Z
// This file is taken from // http://people.sc.fsu.edu/~jburkardt%20/cpp_src/triangle_fekete_rule/triangle_fekete_rule.html // License: LGPL int fekete_degree(int rule); int fekete_order_num(int rule); void fekete_rule(int rule, int order_num, double xy[], double w[]); int fekete_rule_num(); int* fekete_suborder(int r...
56.157895
96
0.7985
dune-community
bd20e520291378569d3e2d402de30c33d5ea967c
5,380
cpp
C++
Ver/ServerExample/server/source/server.cpp
vsevolod-oparin/RestaurantBES
9ffc8983a09d523295528db3513402cf86d6d10c
[ "MIT" ]
null
null
null
Ver/ServerExample/server/source/server.cpp
vsevolod-oparin/RestaurantBES
9ffc8983a09d523295528db3513402cf86d6d10c
[ "MIT" ]
null
null
null
Ver/ServerExample/server/source/server.cpp
vsevolod-oparin/RestaurantBES
9ffc8983a09d523295528db3513402cf86d6d10c
[ "MIT" ]
null
null
null
#include "server.h" #include "user.h" #include <utility> namespace restbes::server_structure { Server::Server() : service(new restbed::Service()) {} Server::UserCollection Server::getUsers() const { return *(users.rlock()); } std::shared_ptr<User> Server::getUser(const std::string &name) const { if (users....
36.849315
99
0.596283
vsevolod-oparin
bd2177605b52efa17b0e895278e83f9c2fd133a1
352
cc
C++
src/core/identifier.cc
giovgiac/cassio
b673c8fe082609057904befce9a099fa64077986
[ "Apache-2.0" ]
null
null
null
src/core/identifier.cc
giovgiac/cassio
b673c8fe082609057904befce9a099fa64077986
[ "Apache-2.0" ]
null
null
null
src/core/identifier.cc
giovgiac/cassio
b673c8fe082609057904befce9a099fa64077986
[ "Apache-2.0" ]
null
null
null
/** * @file identifier.cc * @brief * * @copyright Copyright (c) 2018 All Rights Reserved. * */ #include <core/identifier.h> namespace cassio { std::unique_ptr<Identifier> Identifier::Construct(std::string identifier) { std::unique_ptr<Identifier> result{new Identifier}; result->identifier_ = std::move(ide...
16.761905
75
0.701705
giovgiac
bd21d818dc1d6b4440daa10aeace4d3dd82a2fd8
2,088
cpp
C++
FruitNinjaGL/FruitNinjaGL.cpp
CncGpp/FruitNinjaGL
90435c9e19733aece4a334c2d889ae5975f7706e
[ "Apache-2.0" ]
null
null
null
FruitNinjaGL/FruitNinjaGL.cpp
CncGpp/FruitNinjaGL
90435c9e19733aece4a334c2d889ae5975f7706e
[ "Apache-2.0" ]
null
null
null
FruitNinjaGL/FruitNinjaGL.cpp
CncGpp/FruitNinjaGL
90435c9e19733aece4a334c2d889ae5975f7706e
[ "Apache-2.0" ]
null
null
null
// FruitNinjaGL.cpp : This file contains the 'main' function. Program execution begins and ends there. // #include <iostream> #include "src/fn/ecs/ecs.hpp" struct Position : public fn::Component<Position>{ Position() = default; Position(int x, int y) : x(x), y(y) {} int x, y; void print() { s...
30.705882
120
0.527778
CncGpp
bd228d806fd734560832970d7336ebd18fbaa7de
2,573
cpp
C++
UniEngine/src/PrivateComponentStorage.cpp
edisonlee0212/UniEngine-deprecated
4b899980c280ac501c3b5fa2746cf1e71cfedd28
[ "MIT" ]
null
null
null
UniEngine/src/PrivateComponentStorage.cpp
edisonlee0212/UniEngine-deprecated
4b899980c280ac501c3b5fa2746cf1e71cfedd28
[ "MIT" ]
null
null
null
UniEngine/src/PrivateComponentStorage.cpp
edisonlee0212/UniEngine-deprecated
4b899980c280ac501c3b5fa2746cf1e71cfedd28
[ "MIT" ]
1
2021-09-06T08:07:37.000Z
2021-09-06T08:07:37.000Z
#include "pch.h" #include "EntityManager.h" #include "PrivateComponentStorage.h" void UniEngine::PrivateComponentStorage::RemovePrivateComponent(Entity entity, size_t typeID) { const auto search = m_pOwnersCollectionsMap.find(typeID); if (search != m_pOwnersCollectionsMap.end()) { auto& collection = m_pOwnersColl...
37.838235
153
0.757482
edisonlee0212
bd24a6bf123c538c13cb943fdfd8124ea7425135
792
cpp
C++
example/has_member_type/has_member_type/main.cpp
leico/cpp_utility
28c2900836c66b05d90e3eeb7a2ffaed2b630b89
[ "MIT" ]
null
null
null
example/has_member_type/has_member_type/main.cpp
leico/cpp_utility
28c2900836c66b05d90e3eeb7a2ffaed2b630b89
[ "MIT" ]
null
null
null
example/has_member_type/has_member_type/main.cpp
leico/cpp_utility
28c2900836c66b05d90e3eeb7a2ffaed2b630b89
[ "MIT" ]
null
null
null
// // main.cpp // has_member_type // // Created by leico_studio on 2019/08/15. // Copyright © 2019 leico_studio. All rights reserved. // #include <iostream> #include <vector> #include <list> #include "has_member_type.h" struct dummy{}; void print( const bool value ){ std :: cout << std :: boolalpha << value ...
24
82
0.630051
leico
bd26996650e270a499ebcc8d3d9e94fa2a433bb0
50
cpp
C++
cpp/new-operator/a.cpp
lijiansong/lang
e255709da2b12e09dea45f86d54f77a19b96f13b
[ "WTFPL" ]
1
2020-01-09T03:22:09.000Z
2020-01-09T03:22:09.000Z
cpp/new-operator/a.cpp
lijiansong/lang
e255709da2b12e09dea45f86d54f77a19b96f13b
[ "WTFPL" ]
null
null
null
cpp/new-operator/a.cpp
lijiansong/lang
e255709da2b12e09dea45f86d54f77a19b96f13b
[ "WTFPL" ]
null
null
null
int main() { int *p = new int[2]; return 0; }
10
22
0.5
lijiansong
bd292c73d06aa564202e5eeb62cdd6d64dfaf951
4,194
cpp
C++
catboost/private/libs/embedding_features/embedding_feature_calcer.cpp
notimesea/catboost
1d3e0744f1d6c6d74d724878dc9fe92076c8b1ce
[ "Apache-2.0" ]
1
2021-10-30T05:50:36.000Z
2021-10-30T05:50:36.000Z
catboost/private/libs/embedding_features/embedding_feature_calcer.cpp
notimesea/catboost
1d3e0744f1d6c6d74d724878dc9fe92076c8b1ce
[ "Apache-2.0" ]
null
null
null
catboost/private/libs/embedding_features/embedding_feature_calcer.cpp
notimesea/catboost
1d3e0744f1d6c6d74d724878dc9fe92076c8b1ce
[ "Apache-2.0" ]
null
null
null
#include "embedding_feature_calcer.h" namespace NCB { void TEmbeddingFeatureCalcer::TrimFeatures(TConstArrayRef<ui32> featureIndices) { const ui32 featureCount = FeatureCount(); CB_ENSURE( featureIndices.size() <= featureCount && featureIndices.back() < featureCount, "Specif...
38.127273
153
0.676443
notimesea
bd29ce166ee28da8658cec9c0e248950e6a69170
130
cpp
C++
HW_3/bye.cpp
niki999922/Homework_cpp_3_term
73dd28144b603e97f0d573c1d9d69e93388ac1ae
[ "BSD-2-Clause" ]
2
2018-12-14T17:08:15.000Z
2019-01-20T18:05:45.000Z
HW_3/bye.cpp
niki999922/Homework_cpp_3_term
73dd28144b603e97f0d573c1d9d69e93388ac1ae
[ "BSD-2-Clause" ]
null
null
null
HW_3/bye.cpp
niki999922/Homework_cpp_3_term
73dd28144b603e97f0d573c1d9d69e93388ac1ae
[ "BSD-2-Clause" ]
null
null
null
#include <iostream> #include "mylib.h" using std::cout; using std::endl; void printByeBye() { cout << "Bye bye!" << endl; }
13
31
0.623077
niki999922
bd2b406506bf4d1a34d1b8d31dc723f74d4d9f22
2,850
cpp
C++
redBox/Classes/RedNode.cpp
RyukieSama/RYC2X
3142d0b1081c681c40cab32c5cfbfbbcb40a6c26
[ "MIT" ]
null
null
null
redBox/Classes/RedNode.cpp
RyukieSama/RYC2X
3142d0b1081c681c40cab32c5cfbfbbcb40a6c26
[ "MIT" ]
null
null
null
redBox/Classes/RedNode.cpp
RyukieSama/RYC2X
3142d0b1081c681c40cab32c5cfbfbbcb40a6c26
[ "MIT" ]
null
null
null
// // RedNode.cpp // redBox-mobile // // Created by 王荣庆 on 2017/7/23. // #include "RedNode.hpp" std::vector<std::string> contextRed = {"百万大奖", "五毛", "再来一次"}; bool RedNode::init() { if (!Node::init()) { return false; } backImage = Sprite::create("res/default.png"); backImage->setAnchor...
23.360656
113
0.600351
RyukieSama
bd2f1af5ac344d84bbe2dd56ba236aa05c8a254f
673
cpp
C++
CienciaDaComputacao/Capitulo01/Exercicios/Ex01.cpp
pedro-filho-81/C_Mais_Mais
d55105f62c626de3245697095532281c8254a9bd
[ "MIT" ]
null
null
null
CienciaDaComputacao/Capitulo01/Exercicios/Ex01.cpp
pedro-filho-81/C_Mais_Mais
d55105f62c626de3245697095532281c8254a9bd
[ "MIT" ]
null
null
null
CienciaDaComputacao/Capitulo01/Exercicios/Ex01.cpp
pedro-filho-81/C_Mais_Mais
d55105f62c626de3245697095532281c8254a9bd
[ "MIT" ]
null
null
null
/* Exercícios 1.2.1 Suponha que aeb são variáveis ​​inteiras. O que a seguinte sequência de afirmações faz? int t = a; b = t; a = b; Autor: Pedro,10/11/2021 */ #include <iostream> #include <locale> using namespace std; // função principal int main() { // localização geográfica setlocale( LC_AL...
18.189189
62
0.542348
pedro-filho-81
bd2ff77dd5c1152d76a65cad0cc11cfd7ca60108
5,259
cpp
C++
book.cpp
farinc/book-tracker
a96b81dffba44af081907425b1b755d2bfc1fd66
[ "MIT" ]
null
null
null
book.cpp
farinc/book-tracker
a96b81dffba44af081907425b1b755d2bfc1fd66
[ "MIT" ]
null
null
null
book.cpp
farinc/book-tracker
a96b81dffba44af081907425b1b755d2bfc1fd66
[ "MIT" ]
null
null
null
#include "book.h" #include <cmath> #include <nlohmann/json.hpp> #include <QDebug> using json = nlohmann::json; namespace bookdata { CostConstants constants = CostConstants(); Book::Book(int bookID) { this->bookID = bookID; this->coverDim = {0, 0}; this->pageDim = {0,0}; this->status = Status::nosta...
27.390625
184
0.651264
farinc
bd31337c283b5ca8434bf1bad1462b79f485aaf8
902
cpp
C++
LeetcodeProblems/415E_Add_Strings.cpp
dimabreeze/Interview
72959c660c242dd22f456b24d8426c448bd1d5e9
[ "MIT" ]
null
null
null
LeetcodeProblems/415E_Add_Strings.cpp
dimabreeze/Interview
72959c660c242dd22f456b24d8426c448bd1d5e9
[ "MIT" ]
null
null
null
LeetcodeProblems/415E_Add_Strings.cpp
dimabreeze/Interview
72959c660c242dd22f456b24d8426c448bd1d5e9
[ "MIT" ]
null
null
null
#include "pch.h" #include "415E_Add_Strings.h" using namespace Leetcode::LC451E; using namespace std; string Solution::addStrings( string s1, string s2 ) { const auto& minS = s1.size() < s2.size() ? s1 : s2; auto& maxS = s1.size() < s2.size() ? s2 : s1; int carry = 0; auto iMin = minS.rbegin(); auto iMax = maxS...
19.191489
58
0.542129
dimabreeze
bd313bd8128bb8c8526f2139b05e58d3921f0c8a
1,079
cpp
C++
plugins/mmvtkm_gl/src/mmvtkm_gl.cpp
xge/megamol
1e298dd3d8b153d7468ed446f6b2ed3ac49f0d5b
[ "BSD-3-Clause" ]
49
2017-08-23T13:24:24.000Z
2022-03-16T09:10:58.000Z
plugins/mmvtkm_gl/src/mmvtkm_gl.cpp
xge/megamol
1e298dd3d8b153d7468ed446f6b2ed3ac49f0d5b
[ "BSD-3-Clause" ]
200
2018-07-20T15:18:26.000Z
2022-03-31T11:01:44.000Z
plugins/mmvtkm_gl/src/mmvtkm_gl.cpp
xge/megamol
1e298dd3d8b153d7468ed446f6b2ed3ac49f0d5b
[ "BSD-3-Clause" ]
31
2017-07-31T16:19:29.000Z
2022-02-14T23:41:03.000Z
/** * MegaMol * Copyright (c) 2019-2021, MegaMol Dev Team * All rights reserved. */ #include "mmcore/utility/plugins/AbstractPluginInstance.h" #include "mmcore/utility/plugins/PluginRegister.h" #include "mmvtkm_gl/mmvtkmMeshRenderTasks.h" //#include "mmvtkm_gl/mmvtkmRenderer.h" namespace megamol::mmvtkm_gl { cl...
29.162162
103
0.722892
xge
bd3562be8660e9eb07434f956c88fd2d4472e3e5
491
cpp
C++
source/MenuItemEvent.cpp
iSLC/vaca
c9bc3284c2a1325f7056f455fd5ff1e47e7673bc
[ "MIT" ]
null
null
null
source/MenuItemEvent.cpp
iSLC/vaca
c9bc3284c2a1325f7056f455fd5ff1e47e7673bc
[ "MIT" ]
null
null
null
source/MenuItemEvent.cpp
iSLC/vaca
c9bc3284c2a1325f7056f455fd5ff1e47e7673bc
[ "MIT" ]
null
null
null
// Vaca - Visual Application Components Abstraction // Copyright (c) 2005-2010 David Capello // // This file is distributed under the terms of the MIT license, // please read LICENSE.txt for more information. #include "Wg/MenuItemEvent.hpp" #include "Wg/Menu.hpp" using namespace Wg; MenuItemEvent::MenuItemEvent(Menu...
20.458333
63
0.747454
iSLC
bd35b513a5f64716a1c122fa8fe0b9c5aac13fc6
2,099
cpp
C++
book/aoj/07/ALDS1_6_C/main.cpp
515hikaru/solutions
9fb3e4600f9a97b78211a5736c98354d4cbebc38
[ "MIT" ]
null
null
null
book/aoj/07/ALDS1_6_C/main.cpp
515hikaru/solutions
9fb3e4600f9a97b78211a5736c98354d4cbebc38
[ "MIT" ]
9
2019-12-29T17:57:39.000Z
2020-02-16T16:36:04.000Z
book/aoj/07/ALDS1_6_C/main.cpp
515hikaru/solutions
9fb3e4600f9a97b78211a5736c98354d4cbebc38
[ "MIT" ]
null
null
null
#include <cstdio> #include <string> const int N = 100005; const long MAX = 2000000000; struct Card { char name[10]; int number; }; void merge(struct Card *A, int left, int mid, int right) { int n1 = mid - left; int n2 = right - mid; struct Card L[N / 2 + 3], R[N / 2 + 3]; for (int i = 0; i <...
22.329787
58
0.443545
515hikaru
bd37bde2bd601f0e5355828de7d68159ef5489ad
616
cpp
C++
codeforces/contests/1350/A.cpp
wingkwong/competitive-programming
e8bf7aa32e87b3a020b63acac20e740728764649
[ "MIT" ]
18
2020-08-27T05:27:50.000Z
2022-03-08T02:56:48.000Z
codeforces/contests/1350/A.cpp
wingkwong/competitive-programming
e8bf7aa32e87b3a020b63acac20e740728764649
[ "MIT" ]
null
null
null
codeforces/contests/1350/A.cpp
wingkwong/competitive-programming
e8bf7aa32e87b3a020b63acac20e740728764649
[ "MIT" ]
1
2020-10-13T05:23:58.000Z
2020-10-13T05:23:58.000Z
/* A. Orac and Factors https://codeforces.com/contest/1350/problem/A */ #include <bits/stdc++.h> using namespace std; #define FAST_INP ios_base::sync_with_stdio(false);cin.tie(NULL) int main() { FAST_INP; int t,n,k; cin >> t; while(t--){ cin >> n >> k; // n is even: n+2k ...
18.117647
64
0.420455
wingkwong
bd3c935c2bf89dd674fa7ba96d8a0b3211fa61d9
11,380
cpp
C++
raptor/core/mpi_types.cpp
lukeolson/raptor
526c88d0801634e6fb41375ae077f2d4aa3241a4
[ "BSD-2-Clause" ]
25
2017-11-20T21:45:43.000Z
2019-01-27T15:03:25.000Z
raptor/core/mpi_types.cpp
haoxiangmiao/raptor
866977b8166e39675a6a1fb883c57b7b9395d32f
[ "BSD-2-Clause" ]
3
2019-12-04T18:18:59.000Z
2022-03-22T08:27:14.000Z
raptor/core/mpi_types.cpp
haoxiangmiao/raptor
866977b8166e39675a6a1fb883c57b7b9395d32f
[ "BSD-2-Clause" ]
5
2017-11-20T22:03:57.000Z
2018-12-05T10:30:22.000Z
bool profile = false; double collective_t = 0.0; double p2p_t = 0.0; double* current_t; double mat_t = 0.0; double vec_t = 0.0; double total_t = 0.0; double new_comm_t = 0.0; #include <mpi.h> #include "mpi_types.hpp" void init_profile() { profile = true; reset_profile(); } void reset_profile() { collectiv...
34.277108
112
0.700527
lukeolson
bd3ef12872228aae6f2f9f623bfa90f2798ec14f
2,194
cpp
C++
PAT-Advanced/PAT1062-TalentAndVirtue.cpp
Ad147/LeetCode-Solutions
2ddbaef7387887f030825616cafde87db7d2022e
[ "MIT" ]
null
null
null
PAT-Advanced/PAT1062-TalentAndVirtue.cpp
Ad147/LeetCode-Solutions
2ddbaef7387887f030825616cafde87db7d2022e
[ "MIT" ]
null
null
null
PAT-Advanced/PAT1062-TalentAndVirtue.cpp
Ad147/LeetCode-Solutions
2ddbaef7387887f030825616cafde87db7d2022e
[ "MIT" ]
null
null
null
// PAT1062-TalentAndVirtue.cpp // Ad // Init: 19Aug31 // Score: OSK/25 // Time: 30' // Runtime: 293 ms #include <algorithm> #include <iostream> #include <string> #include <vector> using namespace std; // Class ----------------------------------------------------------------------- struct Person { string id; ...
27.772152
86
0.507748
Ad147
bd417828d00a2349cb5552f64136d93462f78bb0
2,233
cpp
C++
master_slave.cpp
volatilflerovium/3D-Multithread
a25ad952a57f4268bf56cd83d3d39f26ea16557b
[ "MIT" ]
null
null
null
master_slave.cpp
volatilflerovium/3D-Multithread
a25ad952a57f4268bf56cd83d3d39f26ea16557b
[ "MIT" ]
null
null
null
master_slave.cpp
volatilflerovium/3D-Multithread
a25ad952a57f4268bf56cd83d3d39f26ea16557b
[ "MIT" ]
null
null
null
#include "master_slave.h" //==================================================================== std::mutex Master::m_controlMutex; std::mutex Master::m_mtx; std::unique_lock<mutex> Master::m_ulock=unique_lock<mutex>(m_mtx); std::condition_variable Master::m_cv; std::vector<Slave*> Master::m_slaves; std::vector<std::...
22.785714
72
0.461711
volatilflerovium
bd41ed1a21043aed77d7e94d916a50591a2d58a9
1,641
cpp
C++
vezba05/tutorijal/primer 5/SumReducer/sum.cpp
ljmocic/SPPuRV
601e55c4bafb144ffa230441fb997f8ce8524359
[ "MIT" ]
null
null
null
vezba05/tutorijal/primer 5/SumReducer/sum.cpp
ljmocic/SPPuRV
601e55c4bafb144ffa230441fb997f8ce8524359
[ "MIT" ]
null
null
null
vezba05/tutorijal/primer 5/SumReducer/sum.cpp
ljmocic/SPPuRV
601e55c4bafb144ffa230441fb997f8ce8524359
[ "MIT" ]
5
2018-10-19T18:06:08.000Z
2020-04-12T13:51:21.000Z
#include <iostream> #include <cilk/cilk.h> #include <cilk/reducer_opadd.h> #include <cilk/reducer.h> template <typename Type> class SumReducer { public: struct Monoid : cilk::monoid_base<Type> { // reduce function does summation static void reduce (Type* left, Type* right) { *left += *right; } }; // ...
20.012195
98
0.632541
ljmocic
bd455a7b7d36778b9a9352ed2206e6b9a60d52ac
684
hpp
C++
src/skew_tent_generator1.hpp
botezatumihaicatalin/ChaoticImageCrypto
b8f41b159b21a618cec794584ca67a604bdf98ec
[ "MIT" ]
1
2017-06-23T01:52:23.000Z
2017-06-23T01:52:23.000Z
src/skew_tent_generator1.hpp
botezatumihaicatalin/ChaoticImageCrypto
b8f41b159b21a618cec794584ca67a604bdf98ec
[ "MIT" ]
null
null
null
src/skew_tent_generator1.hpp
botezatumihaicatalin/ChaoticImageCrypto
b8f41b159b21a618cec794584ca67a604bdf98ec
[ "MIT" ]
null
null
null
#pragma once #pragma once #include "generator1.hpp" class skew_tent_generator1 : public generator1 { protected: double exponent_; public: skew_tent_generator1(const double& start, const double& exponent) : generator1(start), exponent_(exponent) {} const double& next() override; const double& exponent()...
21.375
67
0.697368
botezatumihaicatalin
bd466ac6cf09ccc0d2150287d2ad03fb261a5558
28,669
cpp
C++
test/systems/plonk/placeholder/placeholder.cpp
NilFoundation/zk
60c63ba8e719620e9fe68d68621c84afded2a809
[ "MIT" ]
null
null
null
test/systems/plonk/placeholder/placeholder.cpp
NilFoundation/zk
60c63ba8e719620e9fe68d68621c84afded2a809
[ "MIT" ]
null
null
null
test/systems/plonk/placeholder/placeholder.cpp
NilFoundation/zk
60c63ba8e719620e9fe68d68621c84afded2a809
[ "MIT" ]
null
null
null
//---------------------------------------------------------------------------// // Copyright (c) 2022 Mikhail Komarov <nemo@nil.foundation> // Copyright (c) 2022 Nikita Kaskov <nbering@nil.foundation> // Copyright (c) 2022 Ilia Shirobokov <i.shirobokov@nil.foundation> // Copyright (c) 2022 Alisa Cherniaeva <a.cherniaev...
49.85913
120
0.727929
NilFoundation
bd46707c24371583acbf60a14238cc4e34e1e0ce
427
hpp
C++
interpreter/stack.hpp
XenotriX1337/TRPL-Interpreter
976962090b2c2d0ade9d02567b83bd643e4ab9d2
[ "MIT" ]
null
null
null
interpreter/stack.hpp
XenotriX1337/TRPL-Interpreter
976962090b2c2d0ade9d02567b83bd643e4ab9d2
[ "MIT" ]
null
null
null
interpreter/stack.hpp
XenotriX1337/TRPL-Interpreter
976962090b2c2d0ade9d02567b83bd643e4ab9d2
[ "MIT" ]
null
null
null
#pragma once #include <map> #include <stack> #include "./ast.hpp" using Frame = std::map<std::string, ast::Expression*>; using Stack = std::stack<Frame>; class Storage { public: Storage(); ast::Expression* Get(const std::string& name) const; void Put(const std::string& name, ast::Expression*); void Update(co...
19.409091
57
0.679157
XenotriX1337
bd46e8f0fe5b418fe751843c4c56768934423d85
3,700
cpp
C++
src/src/Filters.cpp
AydinyanNarek/OpenCV
202551bd10cbd66f77e8dc008808cb499be21cc3
[ "MIT" ]
1
2020-06-22T08:48:51.000Z
2020-06-22T08:48:51.000Z
src/src/Filters.cpp
AydinyanNarek/OpenCV
202551bd10cbd66f77e8dc008808cb499be21cc3
[ "MIT" ]
null
null
null
src/src/Filters.cpp
AydinyanNarek/OpenCV
202551bd10cbd66f77e8dc008808cb499be21cc3
[ "MIT" ]
null
null
null
#include "../include/Filters.h" std::vector<cv::Mat> Filters::overlay(const std::vector<cv::Mat>& background, const std::vector<cv::Mat>& moving, const std::vector<cv::Mat>& mask) { auto frameNum = std::min(background.size(), moving.size()); std::vector<cv::Mat> output(frameNum); cv::Mat temp1; cv::Mat...
29.6
149
0.577027
AydinyanNarek
bd47cbd87bfc5caf9dd439a90d149e9e2b70c08f
632
cpp
C++
SingletonPattern/main.cpp
coologic/CppDesignPattern
f958610cded28264d0a6f90067e1d2ff3dc70eae
[ "MIT" ]
63
2020-02-21T05:34:04.000Z
2022-03-18T05:39:53.000Z
SingletonPattern/main.cpp
jhonconal/CppDesignPattern
79b55b20ffab670d2197be7ee66b4044c5dc965b
[ "MIT" ]
null
null
null
SingletonPattern/main.cpp
jhonconal/CppDesignPattern
79b55b20ffab670d2197be7ee66b4044c5dc965b
[ "MIT" ]
26
2020-04-01T06:17:29.000Z
2022-01-11T03:42:26.000Z
#include <cpp11_sigleton.h> #include <thread> int main(int argc, char *argv[]) { std::thread t1(Cpp11Sigleton<TestCpp11Sigleton>::GetInstance); t1.detach(); std::thread t2(Cpp11Sigleton<TestCpp11Sigleton>::GetInstance); t2.detach(); std::thread t3(Cpp11Sigleton<TestCpp11Sigleton>::GetInstance); ...
37.176471
66
0.72943
coologic
bd4a6235402b88e3d97e7297d4dca409875bbb7e
1,298
cpp
C++
src/base/utils/HandleMap.cpp
ysbing/voo
329d6a72ede6dd5903ca4d824bb3c49a5502f5c3
[ "Apache-2.0" ]
56
2022-01-29T04:52:27.000Z
2022-03-31T06:52:15.000Z
src/base/utils/HandleMap.cpp
jumpingfrog0/VOO
af191ece986f997cf98f85016aa7288c323210c3
[ "Apache-2.0" ]
null
null
null
src/base/utils/HandleMap.cpp
jumpingfrog0/VOO
af191ece986f997cf98f85016aa7288c323210c3
[ "Apache-2.0" ]
16
2022-01-29T04:52:39.000Z
2022-03-31T07:48:53.000Z
#include "HandleMap.h" #include <cassert> int64_t HandleMap::allocHandle(void *value) { assert(value != nullptr); std::lock_guard<std::mutex> locker(m_mutex); m_nextHandle++; int64_t handle = m_nextHandle; assert(handle != 0); m_map0[value] = handle; m_map1[handle] = value; return han...
23.178571
51
0.600154
ysbing
bd4ad8dd12486df8755c5e838cff0515b5743778
471
cpp
C++
1877/main.cpp
exaw/timustasks
d0c4cb797e6063d35f25842712a8417fdfd8f4d4
[ "MIT" ]
null
null
null
1877/main.cpp
exaw/timustasks
d0c4cb797e6063d35f25842712a8417fdfd8f4d4
[ "MIT" ]
null
null
null
1877/main.cpp
exaw/timustasks
d0c4cb797e6063d35f25842712a8417fdfd8f4d4
[ "MIT" ]
null
null
null
#include <cstdio> #include <cmath> #include <algorithm> #include <iostream> #include <map> #include <numeric> #include <set> #include <string> #include <vector> #include <unordered_map> #include <unordered_set> #include <bitset> using namespace std; int main () { ios_base::sync_with_stdio (false); int k1 ...
13.083333
38
0.592357
exaw
bd4c88fc07fc54030e8fdb491e4e92333d27d6db
5,124
cc
C++
src/test/test-mysql.cc
lujingwei002/coord
cb5e5723293d8529663ca89e0c1d6b8c348fffff
[ "MIT" ]
null
null
null
src/test/test-mysql.cc
lujingwei002/coord
cb5e5723293d8529663ca89e0c1d6b8c348fffff
[ "MIT" ]
null
null
null
src/test/test-mysql.cc
lujingwei002/coord
cb5e5723293d8529663ca89e0c1d6b8c348fffff
[ "MIT" ]
null
null
null
#include "coord/coord.h" #include "gtest/gtest.h" #include "coord/builtin/slice.h" #include "coord/sql/init.h" #include "coord/sql/mysql/init.h" #include "coord/config/config.h" #include <stdio.h> #include <string.h> #include <iostream> #include <cstdlib> class TestMySQL : public testing::Test { public: static voi...
37.40146
143
0.607143
lujingwei002
bd4d2132e05e6ca55063ad9d7d23f5134d47d30e
506
cc
C++
arc/vm/libvda/decode/test/decode_unittest_common.cc
strassek/chromiumos-platform2
12c953f41f48b8a6b0bd1c181d09bdb1de38325c
[ "BSD-3-Clause" ]
4
2020-07-24T06:54:16.000Z
2021-06-16T17:13:53.000Z
arc/vm/libvda/decode/test/decode_unittest_common.cc
strassek/chromiumos-platform2
12c953f41f48b8a6b0bd1c181d09bdb1de38325c
[ "BSD-3-Clause" ]
1
2021-04-02T17:35:07.000Z
2021-04-02T17:35:07.000Z
arc/vm/libvda/decode/test/decode_unittest_common.cc
strassek/chromiumos-platform2
12c953f41f48b8a6b0bd1c181d09bdb1de38325c
[ "BSD-3-Clause" ]
1
2020-11-04T22:31:45.000Z
2020-11-04T22:31:45.000Z
// Copyright 2019 The Chromium OS Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "arc/vm/libvda/decode/test/decode_unittest_common.h" ImplPtr SetupImpl(vda_impl_type_t impl_type) { return ImplPtr(initialize(impl_type)); ...
33.733333
73
0.747036
strassek
bd4fac1aad8eedc82407c52dac94f031cdffced2
464
hpp
C++
include/uitsl/polyfill/filesystem.hpp
mmore500/pipe-profile
861babd819909d1bda5e933269e7bc64018272d6
[ "MIT" ]
15
2020-07-31T23:06:09.000Z
2022-01-13T18:05:33.000Z
include/uitsl/polyfill/filesystem.hpp
mmore500/pipe-profile
861babd819909d1bda5e933269e7bc64018272d6
[ "MIT" ]
137
2020-08-13T23:32:17.000Z
2021-10-16T04:00:40.000Z
include/uitsl/polyfill/filesystem.hpp
mmore500/pipe-profile
861babd819909d1bda5e933269e7bc64018272d6
[ "MIT" ]
3
2020-08-09T01:52:03.000Z
2020-10-02T02:13:47.000Z
#pragma once #ifndef UITSL_POLYFILL_FILESYSTEM_HPP_INCLUDE #define UITSL_POLYFILL_FILESYSTEM_HPP_INCLUDE #if defined(__EMSCRIPTEN__) \ && __EMSCRIPTEN_major__ == 1 && __EMSCRIPTEN_minor__ <= 38 #include <experimental/filesystem> namespace std { namespace filesystem { using namespace std::experimental::filesyste...
18.56
60
0.788793
mmore500
bd4ff33907f456a6d566c8012e96165c2566cbae
1,402
cpp
C++
instanceedr.cpp
slist/cbapi-qt-demo
b44e31824a5b9973aa0ccff39c15ff7805902b8b
[ "MIT" ]
3
2020-09-14T19:39:53.000Z
2021-01-19T11:58:27.000Z
instanceedr.cpp
slist/cbapi-qt-demo
b44e31824a5b9973aa0ccff39c15ff7805902b8b
[ "MIT" ]
null
null
null
instanceedr.cpp
slist/cbapi-qt-demo
b44e31824a5b9973aa0ccff39c15ff7805902b8b
[ "MIT" ]
null
null
null
// Copyright 2020 VMware, Inc. // SPDX-License-Identifier: MIT #include "instanceedr.h" #include "ui_instanceedr.h" InstanceEdr::InstanceEdr(QWidget *parent) : QWidget(parent), ui(new Ui::InstanceEdr) { ui->setupUi(this); } InstanceEdr::~InstanceEdr() { delete ui; } void InstanceEdr::set_name(const ...
17.308642
75
0.664051
slist
bd54b467c25f3b14a6178edd3ef1d5130470ef69
703
cc
C++
test/Airflow/readfile.cc
fstudio/Phoenix
28a7c6a3932fd7d6fea12770d0aa1e20bc70db7d
[ "MIT" ]
8
2015-01-23T05:41:46.000Z
2019-11-20T05:10:27.000Z
test/Airflow/readfile.cc
fstudio/Phoenix
28a7c6a3932fd7d6fea12770d0aa1e20bc70db7d
[ "MIT" ]
null
null
null
test/Airflow/readfile.cc
fstudio/Phoenix
28a7c6a3932fd7d6fea12770d0aa1e20bc70db7d
[ "MIT" ]
4
2015-05-05T05:15:43.000Z
2020-03-07T11:10:56.000Z
#include <stdio.h> #include <stdlib.h> int main(int argc,char **argv) { char buffer[20]={0}; FILE *fp=nullptr; if(fopen_s(&fp,argv[1],"rb")!=0) return -1; if(fread_s(buffer,20,1,20,fp)<0) { fclose(fp); return -2; } fclose(fp); printf("%02X-%02X-%02X-%02X-%02X-%...
22.677419
63
0.540541
fstudio
bd554be511e64a23f37feb066bc4ffc856d41c26
4,002
cpp
C++
enhanced/buildtest/tests/vts/vm/src/test/vm/jvmti/funcs/GetPhase/GetPhase0101/GetPhase0101.cpp
qinFamily/freeVM
9caa0256b4089d74186f84b8fb2afc95a0afc7bc
[ "Apache-2.0" ]
5
2017-03-08T20:32:39.000Z
2021-07-10T10:12:38.000Z
enhanced/buildtest/tests/vts/vm/src/test/vm/jvmti/funcs/GetPhase/GetPhase0101/GetPhase0101.cpp
qinFamily/freeVM
9caa0256b4089d74186f84b8fb2afc95a0afc7bc
[ "Apache-2.0" ]
null
null
null
enhanced/buildtest/tests/vts/vm/src/test/vm/jvmti/funcs/GetPhase/GetPhase0101/GetPhase0101.cpp
qinFamily/freeVM
9caa0256b4089d74186f84b8fb2afc95a0afc7bc
[ "Apache-2.0" ]
4
2015-07-07T07:06:59.000Z
2018-06-19T22:38:04.000Z
/* Copyright 2005-2006 The Apache Software Foundation or its licensors, as applicable 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...
32.016
99
0.651924
qinFamily
32e3cc4e727858a1b23d68c676147a1712e8d336
392
cpp
C++
C++/if/01 Password .cpp
Noob-coder-07/DeepAlgo
b7f5f8eacefff561648b476946d80948b3f69f51
[ "Apache-2.0" ]
null
null
null
C++/if/01 Password .cpp
Noob-coder-07/DeepAlgo
b7f5f8eacefff561648b476946d80948b3f69f51
[ "Apache-2.0" ]
null
null
null
C++/if/01 Password .cpp
Noob-coder-07/DeepAlgo
b7f5f8eacefff561648b476946d80948b3f69f51
[ "Apache-2.0" ]
1
2021-09-07T03:12:49.000Z
2021-09-07T03:12:49.000Z
#include<iostream> #include<conio.h> using namespace std; int main() { string Password = "Hello"; cout << "Enter a Password => " << flush; string input; cin >> input; if(Password == input) { cout << "Password Accepted....." << endl; } if(Password != input) { cout...
13.517241
49
0.507653
Noob-coder-07
32e6f9d88e0a2d6b0f315308cf4cd752786b05c5
1,903
cpp
C++
data/transcoder_evaluation_gfg/cpp/FIND_A_TRIPLET_THAT_SUM_TO_A_GIVEN_VALUE.cpp
mxl1n/CodeGen
e5101dd5c5e9c3720c70c80f78b18f13e118335a
[ "MIT" ]
241
2021-07-20T08:35:20.000Z
2022-03-31T02:39:08.000Z
data/transcoder_evaluation_gfg/cpp/FIND_A_TRIPLET_THAT_SUM_TO_A_GIVEN_VALUE.cpp
mxl1n/CodeGen
e5101dd5c5e9c3720c70c80f78b18f13e118335a
[ "MIT" ]
49
2021-07-22T23:18:42.000Z
2022-03-24T09:15:26.000Z
data/transcoder_evaluation_gfg/cpp/FIND_A_TRIPLET_THAT_SUM_TO_A_GIVEN_VALUE.cpp
mxl1n/CodeGen
e5101dd5c5e9c3720c70c80f78b18f13e118335a
[ "MIT" ]
71
2021-07-21T05:17:52.000Z
2022-03-29T23:49:28.000Z
// Copyright (c) 2019-present, Facebook, Inc. // All rights reserved. // // This source code is licensed under the license found in the // LICENSE file in the root directory of this source tree. // #include <iostream> #include <cstdlib> #include <string> #include <vector> #include <fstream> #include <iomanip> #include...
35.240741
656
0.52391
mxl1n
32e9035bece31b37ed27ed859bd066a1d7ae64f2
1,768
cpp
C++
mvp_tips/CPUID/CPUID/ExtendedCPU0.cpp
allen7575/The-CPUID-Explorer
77d0feef70482b2e36cff300ea24271384329f60
[ "Naumen", "Condor-1.1", "MS-PL" ]
9
2017-08-31T06:03:18.000Z
2019-01-06T05:07:26.000Z
mvp_tips/CPUID/CPUID/ExtendedCPU0.cpp
allen7575/The-CPUID-Explorer
77d0feef70482b2e36cff300ea24271384329f60
[ "Naumen", "Condor-1.1", "MS-PL" ]
null
null
null
mvp_tips/CPUID/CPUID/ExtendedCPU0.cpp
allen7575/The-CPUID-Explorer
77d0feef70482b2e36cff300ea24271384329f60
[ "Naumen", "Condor-1.1", "MS-PL" ]
8
2017-08-31T06:23:22.000Z
2022-01-24T06:47:19.000Z
// ExtendedCPU0.cpp : implementation file // #include "stdafx.h" #include "resource.h" #include "ExtendedCPU0.h" #include "CPUIDx86.h" #include "ReportRegs.h" #include "CurrentProcessor.h" // CExtendedCPU0 dialog IMPLEMENT_DYNCREATE(CExtendedCPU0, CLeaves) CExtendedCPU0::CExtendedCPU0() : CLeaves(CExtendedCP...
22.961039
77
0.557127
allen7575
32f91bccb96b86a022267acb0fa41e009dc08275
8,913
hpp
C++
jdu_source_collection/jsc/bioinfo/psl.hpp
gersteinlab/LESSeq
bfc0a9aae081682a176e26d9804b980999595f16
[ "MIT" ]
7
2016-06-19T21:14:55.000Z
2020-09-15T03:04:41.000Z
jdu_source_collection/jsc/bioinfo/psl.hpp
gersteinlab/LESSeq
bfc0a9aae081682a176e26d9804b980999595f16
[ "MIT" ]
3
2015-02-12T21:17:00.000Z
2020-03-20T13:50:38.000Z
jdu_source_collection/jsc/bioinfo/psl.hpp
gersteinlab/LESSeq
bfc0a9aae081682a176e26d9804b980999595f16
[ "MIT" ]
null
null
null
#ifndef _jsc_bioinfo_psl_hpp_included_ #define _jsc_bioinfo_psl_hpp_included_ #include <boost/config.hpp> #include <math.h> #include <iostream> #include <map> #include <set> #include <sstream> #include <vector> #include <boost/lambda/bind.hpp> #include <boost/lambda/lambda.hpp> #include <boost/lexical_cast.hpp> #in...
26.292035
115
0.638393
gersteinlab
32f9da81fc1b47d01e67640f41095fe53770a14f
1,600
cpp
C++
programManager.cpp
mircodezorzi/cli-password-manager
1c47fd2317495159b7b3b7df2a2c7dfd265fad27
[ "MIT" ]
1
2019-06-18T18:47:25.000Z
2019-06-18T18:47:25.000Z
programManager.cpp
mircodezorzi/cli-password-manager
1c47fd2317495159b7b3b7df2a2c7dfd265fad27
[ "MIT" ]
null
null
null
programManager.cpp
mircodezorzi/cli-password-manager
1c47fd2317495159b7b3b7df2a2c7dfd265fad27
[ "MIT" ]
null
null
null
#include "programManager.h" ProgramManager::ProgramManager(std::string dbFilepath) : DatabaseSystemManagment() , DisplayManager(){ mDbFilepath = dbFilepath; } void ProgramManager::start(){ mSelected = 0; mState = Running; import(mDbFilepath); loop(); } void ProgramManager::loop(){ ...
18.823529
89
0.62125
mircodezorzi
32fe35711a448776c1f557ab7439386b0df423da
7,680
cpp
C++
external/activemq-cpp-library-3.4.1/src/main/decaf/net/InetAddress.cpp
framos-gemini/giapi-glue-cc
f59e1ce572494b57aad6985f3233f0e51167bb42
[ "BSD-3-Clause" ]
null
null
null
external/activemq-cpp-library-3.4.1/src/main/decaf/net/InetAddress.cpp
framos-gemini/giapi-glue-cc
f59e1ce572494b57aad6985f3233f0e51167bb42
[ "BSD-3-Clause" ]
3
2017-06-14T15:21:50.000Z
2020-08-03T19:51:57.000Z
external/activemq-cpp-library-3.4.1/src/main/decaf/net/InetAddress.cpp
framos-gemini/giapi-glue-cc
f59e1ce572494b57aad6985f3233f0e51167bb42
[ "BSD-3-Clause" ]
3
2017-06-13T13:59:36.000Z
2021-02-09T02:01:14.000Z
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
35.229358
113
0.546094
framos-gemini
32fe586ac7e10e7d2ffd43b1d75d5faa54be0fdf
13,241
cpp
C++
src/prompt.cpp
aparks5/synthcastle
ebb542d014c87a11a83b9e212668eca75a333fbf
[ "MIT" ]
2
2021-12-20T03:20:05.000Z
2021-12-28T16:15:20.000Z
src/prompt.cpp
aparks5/synthcastle
ebb542d014c87a11a83b9e212668eca75a333fbf
[ "MIT" ]
69
2021-08-30T13:09:01.000Z
2022-01-15T17:41:40.000Z
src/prompt.cpp
aparks5/synthcastle
ebb542d014c87a11a83b9e212668eca75a333fbf
[ "MIT" ]
null
null
null
#include "prompt.h" #include "util.h" #include "windows.h" #include <deque> #include "spdlog/spdlog.h" #include "spdlog/sinks/stdout_color_sinks.h" #include "spdlog/sinks/rotating_file_sink.h" static void logVoiceParams(VoiceParams params) { spdlog::info("voice params updated"); spdlog::info("bpm: {}", params.bpm...
27.357438
140
0.61083
aparks5
32fe5c733afef97b59aa68bebecf411d6038ac13
13,835
cc
C++
Source/Plugins/GraphicsPlugins/BladeImageFI/source/ETC2EAC.cc
OscarGame/blade
6987708cb011813eb38e5c262c7a83888635f002
[ "MIT" ]
146
2018-12-03T08:08:17.000Z
2022-03-21T06:04:06.000Z
Source/Plugins/GraphicsPlugins/BladeImageFI/source/ETC2EAC.cc
huangx916/blade
3fa398f4d32215bbc7e292d61e38bb92aad1ee1c
[ "MIT" ]
1
2019-01-18T03:35:49.000Z
2019-01-18T03:36:08.000Z
Source/Plugins/GraphicsPlugins/BladeImageFI/source/ETC2EAC.cc
huangx916/blade
3fa398f4d32215bbc7e292d61e38bb92aad1ee1c
[ "MIT" ]
31
2018-12-03T10:32:43.000Z
2021-10-04T06:31:44.000Z
/******************************************************************** created: 2015/01/28 filename: ETC2EAC.cc author: Crazii purpose: ETC2/EAC block compression reference: *********************************************************************/ #include <BladePCH.h> #include "ETC2EAC.h" #include "ETC2EACCommon...
32.78436
127
0.622551
OscarGame
32ff64c1d17f46a71a1c44627d62f6b5911a16f4
618
hpp
C++
src/widgets/PlayerFrame.hpp
filipdjordjevic/music_player
a0d66005a2fe0b8f277662a37d8d1c2912196536
[ "MIT" ]
null
null
null
src/widgets/PlayerFrame.hpp
filipdjordjevic/music_player
a0d66005a2fe0b8f277662a37d8d1c2912196536
[ "MIT" ]
null
null
null
src/widgets/PlayerFrame.hpp
filipdjordjevic/music_player
a0d66005a2fe0b8f277662a37d8d1c2912196536
[ "MIT" ]
null
null
null
#pragma once #include <QtWidgets> #include "VolumeSlider.hpp" #include "SeekBar.hpp" #include "LcdLabel.hpp" #include "CircleButton.hpp" namespace ui { class PlayerFrame : public QFrame { Q_OBJECT private: CircleButton *playBtn_; CircleButton *soundBtn_; VolumeSlider *vol...
19.3125
44
0.627832
filipdjordjevic
fd065cb4c52b896a29c94642cf6a8389f0e88c7b
1,663
cpp
C++
src/uMOOSArduinoLib/NetClientComm.cpp
mandad/moos-ivp-manda
6bc81d14aba7c537b7932d6135eed7a5b39c3c52
[ "MIT" ]
9
2016-02-25T03:25:53.000Z
2022-03-27T09:47:50.000Z
src/uMOOSArduinoLib/NetClientComm.cpp
mandad/moos-ivp-manda
6bc81d14aba7c537b7932d6135eed7a5b39c3c52
[ "MIT" ]
null
null
null
src/uMOOSArduinoLib/NetClientComm.cpp
mandad/moos-ivp-manda
6bc81d14aba7c537b7932d6135eed7a5b39c3c52
[ "MIT" ]
4
2016-06-02T17:42:42.000Z
2021-12-15T09:37:55.000Z
/************************************************************/ /* NAME: Mike Bogochow, Jeff Masucci, Cody Noel */ /* ORGN: UNH */ /* FILE: NetClientComm.cpp */ /* DATE: April 2014 */ /****...
24.820896
70
0.542995
mandad
fd0a820283e8bfe74856d5e202860089b96f9e70
1,984
cpp
C++
std-regex/id-scanners/AdvancedIdScanner.cpp
PS-Group/compiler-theory-samples
c916af50eb42020024257ecd17f9be1580db7bf0
[ "MIT" ]
null
null
null
std-regex/id-scanners/AdvancedIdScanner.cpp
PS-Group/compiler-theory-samples
c916af50eb42020024257ecd17f9be1580db7bf0
[ "MIT" ]
null
null
null
std-regex/id-scanners/AdvancedIdScanner.cpp
PS-Group/compiler-theory-samples
c916af50eb42020024257ecd17f9be1580db7bf0
[ "MIT" ]
null
null
null
#include "stdafx.h" #include "AdvancedIdScanner.h" CAdvancedIdScanner::CAdvancedIdScanner() : m_pattern("[a-zA-Z_][a-zA-Z0-9_]*") , m_commentBegin("/\\*") , m_commentEnd("\\*/") { } void CAdvancedIdScanner::ScanLine(std::string const& text) { // У функции regex_search есть вариант, принимающий 2 итера...
25.766234
85
0.645161
PS-Group
fd0cff23ba42c34f86a8fad3935131911e52ff77
24,793
cpp
C++
src/idl_parser.cpp
waderly/flatbuffers
59043114ac2931e4b77c3c5b2c2022cda809c6d4
[ "Apache-2.0" ]
1
2015-11-05T18:38:14.000Z
2015-11-05T18:38:14.000Z
src/idl_parser.cpp
waderly/flatbuffers
59043114ac2931e4b77c3c5b2c2022cda809c6d4
[ "Apache-2.0" ]
null
null
null
src/idl_parser.cpp
waderly/flatbuffers
59043114ac2931e4b77c3c5b2c2022cda809c6d4
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2014 Google Inc. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
34.197241
80
0.600895
waderly
fd0f037b8fb5ccdf8bf6d7801765eefd56de0437
664
cpp
C++
src/system/Logger.cpp
hugomarquez/cpp-toolkit
83797f34313b04a4dad931ee1648dcb37b50f64c
[ "MIT" ]
null
null
null
src/system/Logger.cpp
hugomarquez/cpp-toolkit
83797f34313b04a4dad931ee1648dcb37b50f64c
[ "MIT" ]
null
null
null
src/system/Logger.cpp
hugomarquez/cpp-toolkit
83797f34313b04a4dad931ee1648dcb37b50f64c
[ "MIT" ]
null
null
null
#include "include/hm/system/Logger.h" #include <spdlog/spdlog.h> #include "spdlog/sinks/stdout_color_sinks.h" namespace hm { Logger* Logger::instance = 0; void Logger::setLevel(int level) { switch (level) { case 1: spdlog::set_level(spdlog::level::debug); break; default: spdlog::set_level(spdlo...
30.181818
66
0.671687
hugomarquez
fd1153f488fedb3836584591952e31cc4f041863
4,444
cpp
C++
plugins/community/repos/bsp/src/DownSampler.cpp
guillaume-plantevin/VeeSeeVSTRack
76fafc8e721613669d6f5ae82a0f58ce923a91e1
[ "Zlib", "BSD-3-Clause" ]
233
2018-07-02T16:49:36.000Z
2022-02-27T21:45:39.000Z
plugins/community/repos/bsp/src/DownSampler.cpp
guillaume-plantevin/VeeSeeVSTRack
76fafc8e721613669d6f5ae82a0f58ce923a91e1
[ "Zlib", "BSD-3-Clause" ]
24
2018-07-09T11:32:15.000Z
2022-01-07T01:45:43.000Z
plugins/community/repos/bsp/src/DownSampler.cpp
guillaume-plantevin/VeeSeeVSTRack
76fafc8e721613669d6f5ae82a0f58ce923a91e1
[ "Zlib", "BSD-3-Clause" ]
24
2018-07-14T21:55:30.000Z
2021-05-04T04:20:34.000Z
/* Copyright (c) 2018 bsp Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense,...
26.610778
125
0.70432
guillaume-plantevin
fd145a50b7e69bfd7dd569504eddd393c15c56b7
130
hpp
C++
include/chasm/chasm.hpp
Ostoic/chasm
9ffab5686cac79158699d704368c67ec29551327
[ "MIT" ]
null
null
null
include/chasm/chasm.hpp
Ostoic/chasm
9ffab5686cac79158699d704368c67ec29551327
[ "MIT" ]
null
null
null
include/chasm/chasm.hpp
Ostoic/chasm
9ffab5686cac79158699d704368c67ec29551327
[ "MIT" ]
null
null
null
#pragma once #include "lex/split.hpp" #include "parser/parser.hpp" namespace chasm { using lex::split; using parse::parser; }
11.818182
28
0.715385
Ostoic
fd15c01332fe13368019c7f5b5945fbdc679a301
498
cpp
C++
sdk/boost_1_30_0/tools/build/test/v1-testing/c.cpp
acidicMercury8/xray-1.0
65e85c0e31e82d612c793d980dc4b73fa186c76c
[ "Linux-OpenIB" ]
2
2020-01-30T12:51:49.000Z
2020-08-31T08:36:49.000Z
sdk/boost_1_30_0/tools/build/test/v1-testing/c.cpp
acidicMercury8/xray-1.0
65e85c0e31e82d612c793d980dc4b73fa186c76c
[ "Linux-OpenIB" ]
null
null
null
sdk/boost_1_30_0/tools/build/test/v1-testing/c.cpp
acidicMercury8/xray-1.0
65e85c0e31e82d612c793d980dc4b73fa186c76c
[ "Linux-OpenIB" ]
null
null
null
// Copyright David Abrahams 2002. Permission to copy, use, // modify, sell and distribute this software is granted provided this // copyright notice appears in all copies. This software is provided // "as is" without express or implied warranty, and with no claim as // to its suitability for any purpose. #include ...
27.666667
70
0.704819
acidicMercury8
fd1983cc538893f22cd20591540994a3599c69de
399
cpp
C++
Dummy_device/create_Dummy_device.cpp
dekieras/GLEANApp
3cae6aa53f90f0c950f3097edcda5193b6b89fe8
[ "MIT" ]
3
2017-04-06T21:37:22.000Z
2020-10-05T12:46:50.000Z
Dummy_device/create_Dummy_device.cpp
dekieras/GLEANApp
3cae6aa53f90f0c950f3097edcda5193b6b89fe8
[ "MIT" ]
null
null
null
Dummy_device/create_Dummy_device.cpp
dekieras/GLEANApp
3cae6aa53f90f0c950f3097edcda5193b6b89fe8
[ "MIT" ]
null
null
null
#include "GLEANKernel/Output_tee_globals.h" #include "Dummy_device.h" // for use in non-dynamically loaded models Device_base * create_Dummy_device() { return new Dummy_device(Normal_out); } // the class factory functions to be accessed with dlsym extern "C" Device_base * create_device() { return create_Dummy_d...
19.95
56
0.744361
dekieras
fd1a68499337a52e0a2e7a47af158b2f45aa6ffe
604
hpp
C++
library/ATF/CPtrList.hpp
lemkova/Yorozuya
f445d800078d9aba5de28f122cedfa03f26a38e4
[ "MIT" ]
29
2017-07-01T23:08:31.000Z
2022-02-19T10:22:45.000Z
library/ATF/CPtrList.hpp
kotopes/Yorozuya
605c97d3a627a8f6545cc09f2a1b0a8afdedd33a
[ "MIT" ]
90
2017-10-18T21:24:51.000Z
2019-06-06T02:30:33.000Z
library/ATF/CPtrList.hpp
kotopes/Yorozuya
605c97d3a627a8f6545cc09f2a1b0a8afdedd33a
[ "MIT" ]
44
2017-12-19T08:02:59.000Z
2022-02-24T23:15:01.000Z
// This file auto generated by plugin for ida pro. Generated code only for x64. Please, dont change manually #pragma once #include <common/common.h> #include <CObject.hpp> #include <CPlex.hpp> START_ATF_NAMESPACE struct CPtrList : CObject { struct CNode { struct CNode *pNext; ...
23.230769
108
0.620861
lemkova
fd1ea221aea7ee6bfe58b94a66dbb17d3877794c
5,201
cpp
C++
FDRV/src/DFXML_creator.cpp
AlexXandreE/Autopsy-Plugin-2017
a3027e7c431b23b3e9a5144a6e2cc89d0da331ce
[ "BSL-1.0" ]
2
2018-05-01T14:09:21.000Z
2018-06-27T11:49:41.000Z
FDRV/src/DFXML_creator.cpp
AlexXandreE/Autopsy-Plugin-2017
a3027e7c431b23b3e9a5144a6e2cc89d0da331ce
[ "BSL-1.0" ]
1
2020-04-18T00:11:54.000Z
2020-04-18T00:11:54.000Z
FDRV/src/DFXML_creator.cpp
AlexXandreE/Autopsy-Plugin-2017-FaceDetection
a3027e7c431b23b3e9a5144a6e2cc89d0da331ce
[ "BSL-1.0" ]
null
null
null
#include <chrono> #include <ctime> #include <Lmcons.h> #include <boost/filesystem.hpp> #include <boost/version.hpp> #include <boost/format.hpp> #include <dlib/image_processing.h> #include <dlib/gui_widgets.h> #include <dlib/string.h> #include <dlib/image_io.h> #include <openssl/sha.h> #include <FDRV/DFXML_creato...
27.812834
107
0.698135
AlexXandreE
fd2410d646360c792463ce53d98290865390a08b
9,868
cc
C++
src/delay_escape.cc
DouglasRMiles/QuProlog
798d86f87fb4372b8918ef582ef2f0fc0181af2d
[ "Apache-2.0" ]
5
2019-11-20T02:05:31.000Z
2022-01-06T18:59:16.000Z
src/delay_escape.cc
logicmoo/QuProlog
798d86f87fb4372b8918ef582ef2f0fc0181af2d
[ "Apache-2.0" ]
null
null
null
src/delay_escape.cc
logicmoo/QuProlog
798d86f87fb4372b8918ef582ef2f0fc0181af2d
[ "Apache-2.0" ]
2
2022-01-08T13:52:24.000Z
2022-03-07T17:41:37.000Z
// delay_escape.cc - General delay mechanism. // // ##Copyright## // // Copyright 2000-2016 Peter Robinson (pjr@itee.uq.edu.au) // // 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 // // ...
26.67027
119
0.654439
DouglasRMiles
fd24130091c95702bdddbf67f6066a6b29613804
5,098
cc
C++
src/lib/tools/main-rewrite-ids.cc
oslab-swrc/cytom
c4952843cc11cac64b421b7d47706d534b566208
[ "MIT" ]
null
null
null
src/lib/tools/main-rewrite-ids.cc
oslab-swrc/cytom
c4952843cc11cac64b421b7d47706d534b566208
[ "MIT" ]
null
null
null
src/lib/tools/main-rewrite-ids.cc
oslab-swrc/cytom
c4952843cc11cac64b421b7d47706d534b566208
[ "MIT" ]
null
null
null
#include <cmath> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <string> #include <time.h> #include <sys/mman.h> #include <pthread.h> #include <getopt.h> #include <errno.h> #include <unistd.h> #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> #include <unordered_map> #include "util/d...
28.480447
95
0.680071
oslab-swrc
fd2800700bc7399c059178e0cf7a11648c28c198
6,819
hpp
C++
mainframe/simd.hpp
tedmiddleton/mainframe
0d0537e8936d60c30573f08506f92bd6e8455fcf
[ "BSL-1.0" ]
null
null
null
mainframe/simd.hpp
tedmiddleton/mainframe
0d0537e8936d60c30573f08506f92bd6e8455fcf
[ "BSL-1.0" ]
null
null
null
mainframe/simd.hpp
tedmiddleton/mainframe
0d0537e8936d60c30573f08506f92bd6e8455fcf
[ "BSL-1.0" ]
null
null
null
// Copyright Ted Middleton 2022. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) #ifndef INCLUDED_mainframe_simd_h #define INCLUDED_mainframe_simd_h #include <iostream> #if __AVX__ #incl...
32.317536
86
0.504326
tedmiddleton
fd2a77db46def7cf2708c55c3f3ec58c70354ea2
8,404
cpp
C++
src/Spells/SpellCreator.cpp
tizian/Cendric2
5b0438c73a751bcc0d63c3af839af04ab0fb21a3
[ "MIT" ]
279
2015-05-06T19:04:07.000Z
2022-03-21T21:33:38.000Z
src/Spells/SpellCreator.cpp
tizian/Cendric2
5b0438c73a751bcc0d63c3af839af04ab0fb21a3
[ "MIT" ]
222
2016-10-26T15:56:25.000Z
2021-10-03T15:30:18.000Z
src/Spells/SpellCreator.cpp
tizian/Cendric2
5b0438c73a751bcc0d63c3af839af04ab0fb21a3
[ "MIT" ]
49
2015-10-01T21:23:03.000Z
2022-03-19T20:11:31.000Z
#include "Spells/SpellCreator.h" #include "Screens/LevelScreen.h" SpellCreator::SpellCreator(const SpellData& spellData, LevelMovableGameObject* owner) { m_owner = owner; if (m_owner != nullptr) m_level = owner->getLevel(); if (m_owner != nullptr) m_attributeData = owner->getAttributes(); if (m_owner != nullptr &&...
31.241636
136
0.732151
tizian
fd2c00958ee0c29a9372d7d291a87f62e06360d7
608
cpp
C++
programa25.cpp
sclip/sis110-02-2020
a4ef1ece3e9ed08058c829e421a54d38e210cdba
[ "MIT" ]
null
null
null
programa25.cpp
sclip/sis110-02-2020
a4ef1ece3e9ed08058c829e421a54d38e210cdba
[ "MIT" ]
null
null
null
programa25.cpp
sclip/sis110-02-2020
a4ef1ece3e9ed08058c829e421a54d38e210cdba
[ "MIT" ]
null
null
null
#include <iostream> #include <iomanip> using namespace std; /** Escribir un programa para leer un numero entero por teclado y mostrar por pantalla la siguiente figura: * ** *** Ej. Entrada 3 4 Salida * ** *** * ** *** **** */ int main() { int n; cin>>n; /*for(int i=0;i<n;i++) { for(int j=0;j<i+...
14.139535
59
0.481908
sclip
fd2cda45ca6cffd6827ca5976551252252ded072
836
hpp
C++
src/gpu/metal.hpp
DveloperY0115/FirstRayTracer
9487bbf4a3c7ac0ad2343fdaca6b5d8548f1e332
[ "MIT" ]
1
2021-02-18T08:38:21.000Z
2021-02-18T08:38:21.000Z
src/gpu/metal.hpp
DveloperY0115/RTFoundation
9487bbf4a3c7ac0ad2343fdaca6b5d8548f1e332
[ "MIT" ]
1
2020-05-15T16:42:33.000Z
2020-05-17T07:23:43.000Z
src/gpu/metal.hpp
DveloperY0115/ray-tracing-in-one-weekend-cpp
4a293f8db7eefd1d62e6be46a53d65ff348eaa52
[ "MIT" ]
null
null
null
// // Created by dveloperY0115 on 1/28/2021. // #ifndef RAY_TRACING_IN_CPP_METAL_H #define RAY_TRACING_IN_CPP_METAL_H #include "material.hpp" class metal : public material { public: __device__ metal(const vector3& a, float f) : albedo(a) { if (f < 1) fuzz = f; else fuzz = 1; } __device__ virtual bool scatter...
33.44
104
0.671053
DveloperY0115
fd2d436eb0a749e2aff868b3752eb523aeca493c
127
cpp
C++
AtCoder/ABC053/A/abc053_a.cpp
object-oriented-human/competitive
9e761020e887d8980a39a64eeaeaa39af0ecd777
[ "MIT" ]
2
2021-07-27T10:46:47.000Z
2021-07-27T10:47:57.000Z
AtCoder/ABC053/A/abc053_a.cpp
foooop/competitive
9e761020e887d8980a39a64eeaeaa39af0ecd777
[ "MIT" ]
null
null
null
AtCoder/ABC053/A/abc053_a.cpp
foooop/competitive
9e761020e887d8980a39a64eeaeaa39af0ecd777
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int main() { int x; cin >> x; x < 1200 ? cout << "ABC" : cout << "ARC"; }
21.166667
45
0.527559
object-oriented-human
fd2fca42ac4233c6c7f31c5f4b012afe20f3aa79
10,173
cpp
C++
Source/AllProjects/Tests2/TestCIDMData/TestCIDMData_AttrData.cpp
MarkStega/CIDLib
82014e064eef51cad998bf2c694ed9c1c8cceac6
[ "MIT" ]
216
2019-03-09T06:41:28.000Z
2022-02-25T16:27:19.000Z
Source/AllProjects/Tests2/TestCIDMData/TestCIDMData_AttrData.cpp
MarkStega/CIDLib
82014e064eef51cad998bf2c694ed9c1c8cceac6
[ "MIT" ]
9
2020-09-27T08:00:52.000Z
2021-07-02T14:27:31.000Z
Source/AllProjects/Tests2/TestCIDMData/TestCIDMData_AttrData.cpp
MarkStega/CIDLib
82014e064eef51cad998bf2c694ed9c1c8cceac6
[ "MIT" ]
29
2019-03-09T10:12:24.000Z
2021-03-03T22:25:29.000Z
// // FILE NAME: TestMData_AttrData.cpp // // AUTHOR: Dean Roddey // // CREATED: 08/07/2018 // // COPYRIGHT: Charmed Quark Systems, Ltd @ 2019 // // This software is copyrighted by 'Charmed Quark Systems, Ltd' and // the author (Dean Roddey.) It is licensed under the MIT Open Source // license: // // https://openso...
30.276786
89
0.433009
MarkStega
fd308e43d5783a3a00f7b1922d8f468429a6f363
5,015
cpp
C++
City/City/Testing/CCityTest.cpp
NicholsTyler/cse_335
b8a46522c15a9881cb681ae94b4a5f737817b05e
[ "MIT" ]
null
null
null
City/City/Testing/CCityTest.cpp
NicholsTyler/cse_335
b8a46522c15a9881cb681ae94b4a5f737817b05e
[ "MIT" ]
null
null
null
City/City/Testing/CCityTest.cpp
NicholsTyler/cse_335
b8a46522c15a9881cb681ae94b4a5f737817b05e
[ "MIT" ]
null
null
null
#include "pch.h" #include "CppUnitTest.h" #include "City.h" #include "TileRoad.h" #include "TileLandscape.h" #include "TileCoalmine.h" #include "TileBuilding.h" using namespace std; using namespace Microsoft::VisualStudio::CppUnitTestFramework; namespace Testing { class CTestVisitor : public CTileVisitor { ...
31.740506
97
0.554935
NicholsTyler