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
418538508afbad96d6b3d8b78948b62d222ae7f7
671
cpp
C++
source/src/gdutil.cpp
hlfstr/gdutil
eb1db9a0cb381bd9c3ef7b359c1413655f0dddec
[ "MIT" ]
null
null
null
source/src/gdutil.cpp
hlfstr/gdutil
eb1db9a0cb381bd9c3ef7b359c1413655f0dddec
[ "MIT" ]
null
null
null
source/src/gdutil.cpp
hlfstr/gdutil
eb1db9a0cb381bd9c3ef7b359c1413655f0dddec
[ "MIT" ]
null
null
null
#include "gdutil.hpp" namespace godot { void Assert(const bool &test, const String &message, const String &function, const String &file, const int &line) { if (test) { return; } Godot::print_error(message, function, file, line); #ifdef _DEBUG std::abort(); #endif } real_t clamp(const real_t &n, const real_t...
20.96875
65
0.681073
hlfstr
418865362bec1963c25a61de588171ac9b6c9954
119
cpp
C++
__template.cpp
rostislav-nikitin/edu.cpp.functional
e83cc07c56d1f308cc578886bbfa7806a5ffa932
[ "MIT" ]
null
null
null
__template.cpp
rostislav-nikitin/edu.cpp.functional
e83cc07c56d1f308cc578886bbfa7806a5ffa932
[ "MIT" ]
null
null
null
__template.cpp
rostislav-nikitin/edu.cpp.functional
e83cc07c56d1f308cc578886bbfa7806a5ffa932
[ "MIT" ]
null
null
null
#include <iostream> #include <fplus/fplus.hpp> using namespace std; using namespace fplus; int main() { return 0; }
10.818182
26
0.714286
rostislav-nikitin
418a1de3c597c4f8d32c36a6aaf6ca645faeba8e
15,735
cc
C++
src/Modules/Fields/EditMeshBoundingBox.cc
mckees/SCIRun
40c2c5b17925181bd2581ab8e11b325d58618165
[ "MIT" ]
null
null
null
src/Modules/Fields/EditMeshBoundingBox.cc
mckees/SCIRun
40c2c5b17925181bd2581ab8e11b325d58618165
[ "MIT" ]
null
null
null
src/Modules/Fields/EditMeshBoundingBox.cc
mckees/SCIRun
40c2c5b17925181bd2581ab8e11b325d58618165
[ "MIT" ]
null
null
null
/* For more information, please see: http://software.sci.utah.edu The MIT License Copyright (c) 2020 Scientific Computing and Imaging Institute, University of Utah. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the ...
35.924658
121
0.756022
mckees
418a8c318a6c421a1bc4b0d208468d7cabdad136
1,874
cpp
C++
src/gameworld/gameworld/config/spaceconfig.cpp
mage-game/metagame-xm-server
193b67389262803fe0eae742800b1e878b5b3087
[ "MIT" ]
3
2021-12-16T13:57:28.000Z
2022-03-26T07:50:08.000Z
src/gameworld/gameworld/config/spaceconfig.cpp
mage-game/metagame-xm-server
193b67389262803fe0eae742800b1e878b5b3087
[ "MIT" ]
null
null
null
src/gameworld/gameworld/config/spaceconfig.cpp
mage-game/metagame-xm-server
193b67389262803fe0eae742800b1e878b5b3087
[ "MIT" ]
1
2022-03-26T07:50:11.000Z
2022-03-26T07:50:11.000Z
#include "spaceconfig.hpp" #include "item/itempool.h" #include <set> #include "item/itembase.h" SpaceConfig::SpaceConfig() : m_cai_addrenqi(0), m_cai_addhuoli(0), m_cai_dayhuoli_limit(0), m_gift_addrenqi(0), m_gift_addhuoli(0), m_gift_cost(0) { } SpaceConfig::~SpaceConfig() { } bool SpaceConfig::Init(const std:...
20.150538
120
0.692102
mage-game
418baedaae6ee210569b6fac0bb5ac6aaf902707
2,909
hpp
C++
src/dto/DTOs.hpp
aogaki/WebApiELIADE
acea9dbe4e98a2b4ead670ca51c037c7c8bddf65
[ "Apache-2.0" ]
null
null
null
src/dto/DTOs.hpp
aogaki/WebApiELIADE
acea9dbe4e98a2b4ead670ca51c037c7c8bddf65
[ "Apache-2.0" ]
null
null
null
src/dto/DTOs.hpp
aogaki/WebApiELIADE
acea9dbe4e98a2b4ead670ca51c037c7c8bddf65
[ "Apache-2.0" ]
null
null
null
#ifndef example_oatpp_mongo_DTOs_hpp #define example_oatpp_mongo_DTOs_hpp #include "oatpp/core/Types.hpp" #include "oatpp/core/macro/codegen.hpp" #include OATPP_CODEGEN_BEGIN(DTO) class RunLogDto : public oatpp::DTO { DTO_INIT(RunLogDto, DTO) DTO_FIELD(String, id); DTO_FIELD(Int32, runNumber); DTO_FIELD(In...
28.80198
57
0.702303
aogaki
419329e02d31bbb43402612bb6de5c22cba12739
823
cpp
C++
third_party/libosmium/test/t/thread/test_util.cpp
antoinegiret/osrm-backend-1
c4eff6cd656b49e3cb5fc841e868031e12a97465
[ "BSD-2-Clause" ]
13
2018-03-09T14:37:31.000Z
2021-07-27T06:56:35.000Z
third_party/libosmium/test/t/thread/test_util.cpp
antoinegiret/osrm-backend-1
c4eff6cd656b49e3cb5fc841e868031e12a97465
[ "BSD-2-Clause" ]
null
null
null
third_party/libosmium/test/t/thread/test_util.cpp
antoinegiret/osrm-backend-1
c4eff6cd656b49e3cb5fc841e868031e12a97465
[ "BSD-2-Clause" ]
10
2018-04-14T02:27:32.000Z
2021-06-13T23:30:44.000Z
#include <catch.hpp> #include <stdexcept> #include <osmium/thread/util.hpp> TEST_CASE("check_for_exception") { std::promise<int> p; auto f = p.get_future(); SECTION("not ready") { osmium::thread::check_for_exception(f); } SECTION("ready") { p.set_value(3); osmium::thread:...
21.657895
89
0.607533
antoinegiret
41947baeac8c5e9884c9517b12ace802a2faeb90
11,566
cc
C++
src/util.cc
antbryan/nghttp2
3d211e1cfd5308a5e23fdd510eac53de2c4ed501
[ "MIT" ]
null
null
null
src/util.cc
antbryan/nghttp2
3d211e1cfd5308a5e23fdd510eac53de2c4ed501
[ "MIT" ]
null
null
null
src/util.cc
antbryan/nghttp2
3d211e1cfd5308a5e23fdd510eac53de2c4ed501
[ "MIT" ]
null
null
null
/* * nghttp2 - HTTP/2.0 C Library * * Copyright (c) 2012 Tatsuhiro Tsujikawa * * 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 ...
24.349474
78
0.569773
antbryan
419488bd121fabc3c2a18596975f83f3f48e44bf
9,967
cpp
C++
Assignment 8/Assignment 8.cpp
Tony21312/CS-2
f52e9a74fbafc44d61f58e1b283fd42256595968
[ "MIT" ]
null
null
null
Assignment 8/Assignment 8.cpp
Tony21312/CS-2
f52e9a74fbafc44d61f58e1b283fd42256595968
[ "MIT" ]
null
null
null
Assignment 8/Assignment 8.cpp
Tony21312/CS-2
f52e9a74fbafc44d61f58e1b283fd42256595968
[ "MIT" ]
null
null
null
#include <iostream> using std::cout; using std::endl; #include <deque> #include "deque.h" void testCopyConstructor(); void testDeque1( size_t size ); void testDeque2( size_t size ); void testDeque3( size_t size ); void testDeque4( size_t size ); void testDeque5(); bool equal( std::deque< int > &deque1,...
23.507075
71
0.459817
Tony21312
419999e0593419b5d60df6290f184c118d2a4bc1
1,655
cc
C++
public/meta/log/common/event/validator/monetized_click/event_validator_mclick_hotel_profile_featured.cc
room77/77up
736806fbf52a5e722e8e57ef5c248823b067175d
[ "MIT" ]
3
2015-05-18T14:52:47.000Z
2018-11-12T07:51:00.000Z
public/meta/log/common/event/validator/monetized_click/event_validator_mclick_hotel_profile_featured.cc
room77/77up
736806fbf52a5e722e8e57ef5c248823b067175d
[ "MIT" ]
null
null
null
public/meta/log/common/event/validator/monetized_click/event_validator_mclick_hotel_profile_featured.cc
room77/77up
736806fbf52a5e722e8e57ef5c248823b067175d
[ "MIT" ]
3
2015-08-04T05:58:18.000Z
2018-11-12T07:51:01.000Z
// Copyright 2013 Room77, Inc. // Author: otasevic@room77.com (Nikola Otasevic) #include "meta/log/common/event/validator/event_validator.h" #include "util/init/init.h" #include "meta/log/common/event/datatypes/event_monetized_click.h" #include "meta/log/common/event/validator/canonical_objects/canonical_objects_vali...
39.404762
108
0.726888
room77
419e3bf7ecc8e81ac539a32adcc9732a63fe0629
15,401
hpp
C++
ql/math/interpolations/loginterpolation.hpp
tlapfai/My-Quantlib
9e24dafd8c849659d3a9b4b432abf854441ab825
[ "BSD-3-Clause" ]
null
null
null
ql/math/interpolations/loginterpolation.hpp
tlapfai/My-Quantlib
9e24dafd8c849659d3a9b4b432abf854441ab825
[ "BSD-3-Clause" ]
null
null
null
ql/math/interpolations/loginterpolation.hpp
tlapfai/My-Quantlib
9e24dafd8c849659d3a9b4b432abf854441ab825
[ "BSD-3-Clause" ]
null
null
null
/* -*- mode: c++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* Copyright (C) 2002, 2003, 2008, 2009 Ferdinando Ametrano Copyright (C) 2004, 2007, 2008 StatPro Italia srl This file is part of QuantLib, a free-software/open-source library for financial quantitative analysts and developers - http...
44.770349
91
0.536329
tlapfai
41a163e10a8b7dc159914cbdc4e2062224e25267
1,523
hpp
C++
include/detail/Exception.hpp
GPMueller/mwe-cpp-exception
79836bf9a5d895f92051a8ce9d4f484bff600b35
[ "MIT" ]
21
2017-10-25T20:41:14.000Z
2022-01-20T10:11:43.000Z
include/detail/Exception.hpp
GPMueller/mwe-cpp-exception
79836bf9a5d895f92051a8ce9d4f484bff600b35
[ "MIT" ]
1
2018-09-18T07:44:16.000Z
2019-12-12T12:30:32.000Z
include/detail/Exception.hpp
GPMueller/mwe-cpp-exception
79836bf9a5d895f92051a8ce9d4f484bff600b35
[ "MIT" ]
3
2021-06-24T06:26:22.000Z
2021-11-09T20:43:46.000Z
#pragma once #include <stdexcept> #include <string> namespace mylib { namespace detail { namespace exception { // Custom exception class to be used for more practical throwing class Exception : public std::runtime_error { public: Exception(const std::string & message, const char * file, unsig...
28.735849
88
0.680236
GPMueller
41a6783fa08c4acbe29cb8ca2076d8da3359effd
1,708
cc
C++
src/bin/fstpush.cc
PhdDone/openfst
c729e89c8a48bd3844a5c379e379169fa657c9d8
[ "Apache-2.0" ]
111
2020-08-31T04:58:54.000Z
2022-03-29T15:44:18.000Z
src/bin/fstpush.cc
PhdDone/openfst
c729e89c8a48bd3844a5c379e379169fa657c9d8
[ "Apache-2.0" ]
14
2020-12-16T07:27:22.000Z
2022-03-15T17:39:01.000Z
src/bin/fstpush.cc
PhdDone/openfst
c729e89c8a48bd3844a5c379e379169fa657c9d8
[ "Apache-2.0" ]
29
2021-02-09T08:57:15.000Z
2022-03-12T14:09:19.000Z
// See www.openfst.org for extensive documentation on this weighted // finite-state transducer library. // // Pushes weights and/or output labels in an FST toward the initial or final // states. #include <cstring> #include <memory> #include <string> #include <fst/script/getters.h> #include <fst/script/push.h> DEFIN...
29.964912
79
0.685597
PhdDone
41a8fdf99aba452812c7c660dcb3b871adcd7c53
8,746
cpp
C++
c_wrapper/src/player.cpp
ZhengfengRao/ZLMediaKit
3addd5452de4e8ab99766f482c9c89208ce6b5ad
[ "MIT" ]
2
2020-02-27T11:57:45.000Z
2020-02-27T11:57:47.000Z
c_wrapper/src/player.cpp
vdncloud-dev/ZLMediaKit
1262c4c51dec21eaee2e775b4b73d0929ce6b4a3
[ "MIT" ]
null
null
null
c_wrapper/src/player.cpp
vdncloud-dev/ZLMediaKit
1262c4c51dec21eaee2e775b4b73d0929ce6b4a3
[ "MIT" ]
1
2018-07-20T08:57:32.000Z
2018-07-20T08:57:32.000Z
/* * MIT License * * Copyright (c) 2016 xiongziliang <771730766@qq.com> * * This file is part of ZLMediaKit(https://github.com/xiongziliang/ZLMediaKit). * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to dea...
24.988571
110
0.686828
ZhengfengRao
41ab3c80da50c98bd335565f9484e3b9dc2dfd50
507
cpp
C++
Common/ShaderBase.cpp
GeordieGinge/Games-Technologies
9fcd6af507bd4e206a2b388841f0ea103f906911
[ "Apache-2.0" ]
null
null
null
Common/ShaderBase.cpp
GeordieGinge/Games-Technologies
9fcd6af507bd4e206a2b388841f0ea103f906911
[ "Apache-2.0" ]
3
2019-12-08T19:39:27.000Z
2020-01-23T11:49:00.000Z
Common/ShaderBase.cpp
GeordieGinge/Games-Technologies
9fcd6af507bd4e206a2b388841f0ea103f906911
[ "Apache-2.0" ]
1
2021-12-16T14:52:46.000Z
2021-12-16T14:52:46.000Z
#include "ShaderBase.h" using namespace NCL; using namespace Rendering; ShaderBase::ShaderBase(const string& vertex, const string& fragment, const string& geometry, const string& domain, const string& hull) { shaderFiles[ShaderStages::SHADER_VERTEX] = vertex; shaderFiles[ShaderStages::SHADER_FRAGMENT] = fragment; s...
31.6875
134
0.786982
GeordieGinge
41ad2c1564ebb27288f3e5d7eb1a81d525ea9681
4,208
cpp
C++
src/lcao_wavefunction/lcao_wavefunction__build_matrices.cpp
violador/catalyst
40d5c1dd04269a0764a9804711354a474bc43c15
[ "Unlicense" ]
null
null
null
src/lcao_wavefunction/lcao_wavefunction__build_matrices.cpp
violador/catalyst
40d5c1dd04269a0764a9804711354a474bc43c15
[ "Unlicense" ]
null
null
null
src/lcao_wavefunction/lcao_wavefunction__build_matrices.cpp
violador/catalyst
40d5c1dd04269a0764a9804711354a474bc43c15
[ "Unlicense" ]
null
null
null
#include "lcao_wavefunction.hpp" // // // void lcao_wavefunction::build_matrices(array &type, array &x, array &y, array &z, const unsigned int given_theory_level) {...
37.238938
106
0.428232
violador
41ad475c67132857d98dd969bd5c6289472f75ce
918
cpp
C++
test/unittests/test_operator_argmax.cpp
ONNC/ONNC-runtime
5111cd005c690020c1aa220889034fa66e0a6415
[ "BSD-3-Clause" ]
3
2019-04-15T01:25:44.000Z
2020-04-21T12:38:00.000Z
test/unittests/test_operator_argmax.cpp
ONNC/ONNC-runtime
5111cd005c690020c1aa220889034fa66e0a6415
[ "BSD-3-Clause" ]
152
2018-07-17T15:56:43.000Z
2020-07-24T09:14:34.000Z
test/unittests/test_operator_argmax.cpp
ONNC/ONNC-runtime
5111cd005c690020c1aa220889034fa66e0a6415
[ "BSD-3-Clause" ]
4
2018-07-26T05:51:10.000Z
2021-09-15T14:52:59.000Z
#include <skypat/skypat.h> #include <cstdlib> #include <ctime> #include <cmath> #define restrict __restrict__ extern "C"{ #include <operator/argmax.h> } #undef restrict SKYPAT_F(Operator_ArgMax, non_broadcast){ // Prepare srand(time(NULL)); int32_t ndim = 2; int32_t dims[2] = { 3, 3 }; ...
18.734694
99
0.513072
ONNC
41afa879e61e501086d4d8cc9173abbc7fde6b31
33
cc
C++
infrt/common/shared.cc
hp03/CINN
2a162037b1665877ce005750691415ddd859d446
[ "Apache-2.0" ]
1
2022-03-05T09:30:02.000Z
2022-03-05T09:30:02.000Z
infrt/common/shared.cc
hp03/CINN
2a162037b1665877ce005750691415ddd859d446
[ "Apache-2.0" ]
null
null
null
infrt/common/shared.cc
hp03/CINN
2a162037b1665877ce005750691415ddd859d446
[ "Apache-2.0" ]
null
null
null
#include "infrt/common/shared.h"
16.5
32
0.757576
hp03
41b907428f23179a46d9478bff8282dbd42e34d5
23,418
hpp
C++
boost/graph/agm/algorithms/cc.hpp
thejkane/AGM
4d5cfe9522461d207ceaef7d90c1cd10ce9b469c
[ "BSL-1.0" ]
1
2021-09-03T10:22:04.000Z
2021-09-03T10:22:04.000Z
boost/graph/agm/algorithms/cc.hpp
thejkane/AGM
4d5cfe9522461d207ceaef7d90c1cd10ce9b469c
[ "BSL-1.0" ]
null
null
null
boost/graph/agm/algorithms/cc.hpp
thejkane/AGM
4d5cfe9522461d207ceaef7d90c1cd10ce9b469c
[ "BSL-1.0" ]
null
null
null
// Copyright (C) 2018 Thejaka Amila Kanewala, Marcin Zalewski, Andrew Lumsdaine. // Boost Software License - Version 1.0 - August 17th, 2003 // Permission is hereby granted, free of charge, to any person or organization // obtaining a copy of the software and accompanying documentation covered by // this license (the...
29.530895
113
0.59988
thejkane
41ba581634be577648214c94d2db464b911c8183
584
cpp
C++
codeforces/codeforcesGlobalRound2/A.cpp
xenowits/cp
963b3c7df65b5328d5ce5ef894a46691afefb98c
[ "MIT" ]
null
null
null
codeforces/codeforcesGlobalRound2/A.cpp
xenowits/cp
963b3c7df65b5328d5ce5ef894a46691afefb98c
[ "MIT" ]
null
null
null
codeforces/codeforcesGlobalRound2/A.cpp
xenowits/cp
963b3c7df65b5328d5ce5ef894a46691afefb98c
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; #define fori(i,a,b) for (int i = a; i <= b ; ++i) #define ford(i,a,b) for(int i = a;i >= b ; --i) #define mk make_pair #define mod 1000000007 #define pb push_back int main() { ios_base::sync_with_stdio(false); cin.tie(NULL); int n; cin >> n; int arr[n+1] = {-1}; ...
14.243902
49
0.482877
xenowits
41bb503b9e14e1fa214d937a50c0c09a99cc6bd2
1,505
cc
C++
db/chunklog_test.cc
Meggie4/hotness_aware_leveldb
9aaa30245f28e68f31bd9399678b3aa546d3816a
[ "BSD-3-Clause" ]
null
null
null
db/chunklog_test.cc
Meggie4/hotness_aware_leveldb
9aaa30245f28e68f31bd9399678b3aa546d3816a
[ "BSD-3-Clause" ]
null
null
null
db/chunklog_test.cc
Meggie4/hotness_aware_leveldb
9aaa30245f28e68f31bd9399678b3aa546d3816a
[ "BSD-3-Clause" ]
null
null
null
/////unit test for chunklog.cc #include "db/chunklog.h" #include <string> #include <stdio.h> #include <iostream> #include "leveldb/env.h" #include "db/filename.h" #include "util/testharness.h" namespace leveldb{ class chunkLogTest { }; TEST(chunkLogTest, Insert) { Env* env = Env::Default(); ...
30.1
103
0.622591
Meggie4
41be75cb777a58224ffdfb1759f4fb9866eac72b
2,053
cpp
C++
MPI/heatEquation3d_domainDecomp1d/main.cpp
wme7/Matlab2CPP
b4a865fbcb006a342fb76acab12bd1a5d80a5339
[ "MIT" ]
6
2017-10-20T02:27:45.000Z
2021-06-20T18:40:06.000Z
MPI/heatEquation3d_domainDecomp1d/main.cpp
wme7/Matlab2CPP
b4a865fbcb006a342fb76acab12bd1a5d80a5339
[ "MIT" ]
null
null
null
MPI/heatEquation3d_domainDecomp1d/main.cpp
wme7/Matlab2CPP
b4a865fbcb006a342fb76acab12bd1a5d80a5339
[ "MIT" ]
4
2016-08-04T14:41:39.000Z
2019-11-01T16:10:11.000Z
#include "heat3d.h" #include <time.h> /****************/ /* Main program */ /****************/ int main ( int argc, char *argv[] ) { // Auxiliary variables int rank; int npcs; int step; dmn domain; double wtime; // Solution arrays double *g_u; /* will be allocated in ROOT only */ double *t_u; ...
25.987342
102
0.655139
wme7
41becc748ddc3841a2128391add9574c1d724e7b
392
cpp
C++
test/fps_exp.test.cpp
habara-k/ac-library
c48e576430c335d7037fa88e9fa5f6a61858e68a
[ "Unlicense" ]
null
null
null
test/fps_exp.test.cpp
habara-k/ac-library
c48e576430c335d7037fa88e9fa5f6a61858e68a
[ "Unlicense" ]
null
null
null
test/fps_exp.test.cpp
habara-k/ac-library
c48e576430c335d7037fa88e9fa5f6a61858e68a
[ "Unlicense" ]
null
null
null
#define PROBLEM "https://judge.yosupo.jp/problem/exp_of_formal_power_series" #include <atcoder/fps> #include <iostream> using namespace atcoder; using namespace std; int main() { int n; cin >> n; fps a(n); for (int i = 0; i < n; i++) { int x; cin >> x; a[i] = x; } for (auto x : a....
17.818182
76
0.548469
habara-k
41beda00421bf38b9012d2e9e0c043641325a611
234
cpp
C++
src/Light/Light.cpp
DorianBDev/Raytracing
53268ebf621d09773826b2e6948b8e4000b9ef7c
[ "MIT" ]
6
2021-02-18T16:43:20.000Z
2022-03-11T15:14:09.000Z
src/Light/Light.cpp
SMBDFather/Raytracing
53268ebf621d09773826b2e6948b8e4000b9ef7c
[ "MIT" ]
null
null
null
src/Light/Light.cpp
SMBDFather/Raytracing
53268ebf621d09773826b2e6948b8e4000b9ef7c
[ "MIT" ]
null
null
null
#include "Light.h" Light::Light(double intensity, const Color& color) : m_intensity(intensity), m_color(color) { } double Light::getIntensity() const { return m_intensity; } Color Light::getColor() const { return m_color; }
15.6
91
0.709402
DorianBDev
41c13ba33187158da9444b45869ed9019f55f609
1,666
cpp
C++
Communication/DBClientReply.cpp
Dudi119/SearchYA
a3468dedcd3fc8d63350a2c79b16b6949fdc7e41
[ "MIT" ]
5
2017-08-29T15:33:16.000Z
2020-12-09T08:34:02.000Z
Communication/DBClientReply.cpp
Dudi119/MesosBenchMark
a3468dedcd3fc8d63350a2c79b16b6949fdc7e41
[ "MIT" ]
1
2017-09-26T11:44:01.000Z
2017-09-27T06:40:01.000Z
Communication/DBClientReply.cpp
Dudi119/MesosBenchMark
a3468dedcd3fc8d63350a2c79b16b6949fdc7e41
[ "MIT" ]
2
2017-08-19T04:41:16.000Z
2020-07-21T17:38:16.000Z
#include "DBClientReply.h" #include "Core/src/Assert.h" using namespace std; DBClientReply::DBClientReply(const char *rawBuffer, int length, int typeID) : m_typeID(typeID){ static_assert(REDIS_REPLY_STRING == VerifyHelper<GeneralReturnTypesCollection>::GetTypeID<string>(), "Mismatch between redis reply ty...
55.533333
185
0.752701
Dudi119
41c16a4d49026d3f9a0211139730909ff13fc667
3,753
hpp
C++
sol/inheritance.hpp
a1ien/sol2
358c34e5e978524d7c0dbf3f69987f57dfb30da6
[ "MIT" ]
null
null
null
sol/inheritance.hpp
a1ien/sol2
358c34e5e978524d7c0dbf3f69987f57dfb30da6
[ "MIT" ]
null
null
null
sol/inheritance.hpp
a1ien/sol2
358c34e5e978524d7c0dbf3f69987f57dfb30da6
[ "MIT" ]
null
null
null
// sol2 // The MIT License (MIT) // Copyright (c) 2013-2017 Rapptz, ThePhD and contributors // 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 limit...
31.275
130
0.706368
a1ien
41c777b436be9d56f72fac90595f63a97247b725
48
cxx
C++
generator/includes/delay.cxx
deafbeed/sid-cosim-model-generator
6c69b1fc5f3cdb9f01247420ca8ed2b5121b72fb
[ "MIT" ]
1
2018-03-13T21:02:42.000Z
2018-03-13T21:02:42.000Z
generator/includes/delay.cxx
deafbeed/sid-cosim-model-generator
6c69b1fc5f3cdb9f01247420ca8ed2b5121b72fb
[ "MIT" ]
null
null
null
generator/includes/delay.cxx
deafbeed/sid-cosim-model-generator
6c69b1fc5f3cdb9f01247420ca8ed2b5121b72fb
[ "MIT" ]
null
null
null
##lead_string##advance_half_cycles(##delay##);
24
47
0.729167
deafbeed
41c930585c9d38e8469257f2f482dd035e769120
5,500
cpp
C++
remoteconsole/src/main.cpp
schulzch/megamol
c440ad06f388f151c13833d5d1a7653131bda2be
[ "BSD-3-Clause" ]
null
null
null
remoteconsole/src/main.cpp
schulzch/megamol
c440ad06f388f151c13833d5d1a7653131bda2be
[ "BSD-3-Clause" ]
null
null
null
remoteconsole/src/main.cpp
schulzch/megamol
c440ad06f388f151c13833d5d1a7653131bda2be
[ "BSD-3-Clause" ]
null
null
null
/** * MegaMol * Copyright (c) 2017, MegaMol Dev Team * All rights reserved. */ #include <fstream> #include <iostream> #include <regex> #include <sstream> #include <string> #include <thread> #include <cxxopts.hpp> #include "Connection.h" #include "ConnectionFactory.h" std::string setHammerIndex(std::string const...
34.375
120
0.512364
schulzch
41c9ad23b2efa6762ee6a799b659cd5d81502d35
4,175
cc
C++
src/interface/deserialisation.cc
ThomasPak/pakman
8d74f3b7162d04a1c72fbda9517ed19063f1a246
[ "BSD-3-Clause" ]
14
2019-11-09T15:07:47.000Z
2021-04-06T14:46:20.000Z
src/interface/deserialisation.cc
ThomasPak/pakman
8d74f3b7162d04a1c72fbda9517ed19063f1a246
[ "BSD-3-Clause" ]
1
2020-09-16T18:12:52.000Z
2020-10-31T19:00:09.000Z
src/interface/deserialisation.cc
ThomasPak/pakman
8d74f3b7162d04a1c72fbda9517ed19063f1a246
[ "BSD-3-Clause" ]
3
2019-12-25T06:11:06.000Z
2020-03-12T19:02:32.000Z
#include <stdexcept> #include <sstream> #include "deserialisation.h" void read_key(const LineString& key, std::istream& in) { // Read until ':' std::string read_key; std::getline(in, read_key, ':'); // Check input stream if (!in) { std::string error_msg("deserialisation failed, "); ...
23.587571
79
0.622515
ThomasPak
41d18b9c23ab69b84c75b69f1aad99e3f84f8bb7
372
cpp
C++
graph/scc/verifier.cpp
tko919/library-checker-problems
007a3ef79d1a1824e68545ab326d1523d9c05262
[ "Apache-2.0" ]
290
2019-06-06T22:20:36.000Z
2022-03-27T12:45:04.000Z
graph/scc/verifier.cpp
tko919/library-checker-problems
007a3ef79d1a1824e68545ab326d1523d9c05262
[ "Apache-2.0" ]
536
2019-06-06T18:25:36.000Z
2022-03-29T11:46:36.000Z
graph/scc/verifier.cpp
tko919/library-checker-problems
007a3ef79d1a1824e68545ab326d1523d9c05262
[ "Apache-2.0" ]
82
2019-06-06T18:17:55.000Z
2022-03-21T07:40:31.000Z
#include "testlib.h" int main() { registerValidation(); int n = inf.readInt(1, 500'000); inf.readSpace(); int m = inf.readInt(1, 500'000); inf.readChar('\n'); for (int i = 0; i < m; i++) { inf.readInt(0, n - 1); inf.readSpace(); inf.readInt(0, n - 1); inf.readC...
18.6
36
0.494624
tko919
41d6bd25eeadc1deb47a7ab0bb04c5228a3855fb
680
cpp
C++
DSA/C++/Best_time_to_buy_and_sell_stock.cpp
letswinoff/DSA-Code-Snippet
8f7d418a503650195c6eaa128475c7fc1a4435f7
[ "MIT" ]
2
2021-10-16T19:18:35.000Z
2021-10-16T19:24:27.000Z
DSA/C++/Best_time_to_buy_and_sell_stock.cpp
letswinoff/DSA-Code-Snippet
8f7d418a503650195c6eaa128475c7fc1a4435f7
[ "MIT" ]
19
2021-10-06T12:35:40.000Z
2021-12-04T15:40:47.000Z
DSA/C++/Best_time_to_buy_and_sell_stock.cpp
letswinoff/DSA-Code-Snippet
8f7d418a503650195c6eaa128475c7fc1a4435f7
[ "MIT" ]
10
2021-10-06T15:41:18.000Z
2021-10-29T20:28:34.000Z
class Solution { public: int maxProfit(vector<int>& prices) { // For each i from [1, n], find j such that i < j <= n and prices[j] - prices[i] is maximum // So we reverse the vector and iterate with i. To maximize prices[j] - prices[i], find max(prices[j]) // for all i < j <= n and subtract...
40
111
0.530882
letswinoff
41da4fe9b70c7f9ab78b756e015cece76dce9d30
1,521
hpp
C++
src/core/model/PaletteModel.hpp
stoneface86/trackerboy
68cbb4c56ec4bbccfd1fe172a57451bdaba91561
[ "MIT" ]
60
2019-11-30T00:30:33.000Z
2022-03-26T03:44:53.000Z
src/core/model/PaletteModel.hpp
stoneface86/trackerboy
68cbb4c56ec4bbccfd1fe172a57451bdaba91561
[ "MIT" ]
8
2019-12-16T07:55:54.000Z
2022-03-09T21:01:02.000Z
src/core/model/PaletteModel.hpp
stoneface86/trackerboy
68cbb4c56ec4bbccfd1fe172a57451bdaba91561
[ "MIT" ]
3
2021-08-06T07:17:15.000Z
2022-03-08T03:39:06.000Z
#pragma once #include "core/Palette.hpp" #include <QAbstractItemModel> #include <optional> // // Model class for editing a Palette. Used only by the AppearanceConfigTab // class PaletteModel : public QAbstractItemModel { Q_OBJECT public: explicit PaletteModel(QObject *parent = nullptr); Palette cons...
26.224138
117
0.74622
stoneface86
41dc61ce835eb6e7aeb57525ed4904752aabfdaa
40,562
cpp
C++
src/Compiler/ComObjectBrowser.cpp
HonzaMD/Krkal2
e53e9b096d89d1441ec472deb6d695c45bcae41f
[ "OLDAP-2.5" ]
1
2018-04-01T16:47:52.000Z
2018-04-01T16:47:52.000Z
src/Compiler/ComObjectBrowser.cpp
HonzaMD/Krkal2
e53e9b096d89d1441ec472deb6d695c45bcae41f
[ "OLDAP-2.5" ]
null
null
null
src/Compiler/ComObjectBrowser.cpp
HonzaMD/Krkal2
e53e9b096d89d1441ec472deb6d695c45bcae41f
[ "OLDAP-2.5" ]
null
null
null
///////////////////////////////////////////////////////////////////////////// // // ComObjectBrowser.cpp // // Implementace CComObjectBrowser a mnoha dalsich // - hierarchicky usporadane tridy, ktere dohromady tvori objectBrowser // // A: Jiri Margaritov // ///////////////////////////////////////////////////...
25.240821
208
0.609906
HonzaMD
41dcf4013ae33ac8dfb2beccc2b82eec4f138ce6
635
hpp
C++
MinecraftC++/Headers/shaderProgram.hpp
camolezi/MinecraftCpp-OpenGL
81a457755dd9945e35d08854b9a19590e3bff74a
[ "MIT" ]
null
null
null
MinecraftC++/Headers/shaderProgram.hpp
camolezi/MinecraftCpp-OpenGL
81a457755dd9945e35d08854b9a19590e3bff74a
[ "MIT" ]
null
null
null
MinecraftC++/Headers/shaderProgram.hpp
camolezi/MinecraftCpp-OpenGL
81a457755dd9945e35d08854b9a19590e3bff74a
[ "MIT" ]
null
null
null
#ifndef SHADERPROGRAM #define SHADERPROGRAM #include <list> #include <string> #include "shaderClass.hpp" class shaderProgram{ public: shaderProgram(); ~shaderProgram(); bool adicionarShader( unsigned int shaderType , string shaderSrc ); bool link(); void runShader(); void setUniform(string uniformName...
19.242424
75
0.732283
camolezi
41e2308f5bc6e45b4ed05149e9befa4ec6921cd8
1,941
cpp
C++
SUU-Runtime/source/Runtime/Remote/RuntimeCapture.cpp
SUU-Lab/SUU-Studio
164c2805f9feeeb7f77c7a34e083c0cb9d4fab30
[ "MIT" ]
null
null
null
SUU-Runtime/source/Runtime/Remote/RuntimeCapture.cpp
SUU-Lab/SUU-Studio
164c2805f9feeeb7f77c7a34e083c0cb9d4fab30
[ "MIT" ]
null
null
null
SUU-Runtime/source/Runtime/Remote/RuntimeCapture.cpp
SUU-Lab/SUU-Studio
164c2805f9feeeb7f77c7a34e083c0cb9d4fab30
[ "MIT" ]
null
null
null
#include <SUU-Runtime/Remote/RuntimeCapture.hpp> #include <grpc++/grpc++.h> #include "Runtime/Remote/Generated/RuntimeCapture.grpc.pb.h" using grpc::Channel; using grpc::ClientContext; using grpc::Status; namespace remote { class RuntimeCapture::Impl { public: Impl() : m_channel(grpc::CreateChannel("192...
24.56962
98
0.623905
SUU-Lab
41e2d73521e9cf8bb32aab1a7cb42554d40456b6
4,973
cc
C++
tests/domains/test6.cc
aziem/crab
e150afd53d6fe49cefaade389542b3f3cfe9dbe5
[ "Apache-2.0" ]
null
null
null
tests/domains/test6.cc
aziem/crab
e150afd53d6fe49cefaade389542b3f3cfe9dbe5
[ "Apache-2.0" ]
null
null
null
tests/domains/test6.cc
aziem/crab
e150afd53d6fe49cefaade389542b3f3cfe9dbe5
[ "Apache-2.0" ]
null
null
null
#include "../program_options.hpp" #include "../common.hpp" using namespace std; using namespace crab::analyzer; using namespace crab::cfg; using namespace crab::cfg_impl; using namespace crab::domain_impl; /* Example of how to build a CFG */ z_cfg_t* prog1 (variable_factory_t &vfac) { // Defining program variable...
29.60119
72
0.626181
aziem
41e56d776675be3cea064c74a9f38a2f9a89e815
19,061
cpp
C++
games/butano-fighter/src/bf_game_hero.cpp
taellinglin/butano
13b93c1296970262e047b728496908c036f7e789
[ "Zlib" ]
571
2020-11-09T10:23:43.000Z
2022-03-29T05:03:53.000Z
games/butano-fighter/src/bf_game_hero.cpp
OQUENDOMAN/butano
01a0f3a57d60b44b402095eb5a04707b33437a81
[ "Zlib" ]
18
2020-11-12T03:17:48.000Z
2022-02-16T12:25:14.000Z
games/butano-fighter/src/bf_game_hero.cpp
OQUENDOMAN/butano
01a0f3a57d60b44b402095eb5a04707b33437a81
[ "Zlib" ]
23
2020-11-12T01:23:02.000Z
2022-02-06T11:24:15.000Z
/* * Copyright (c) 2020-2021 Gustavo Valiente gustavo.valiente@protonmail.com * zlib License, see LICENSE file. */ #include "bf_game_hero.h" #include "bn_keypad.h" #include "bn_colors.h" #include "bn_fixed_rect.h" #include "bn_sound_items.h" #include "bn_sprite_builder.h" #include "bn_sprite_items_hero_death.h" #i...
32.920553
119
0.633283
taellinglin
41e5705543871e3434cc6ef5d69863c09606e0b8
2,441
hpp
C++
src/DWARF/Block.hpp
Deukhoofd/ELF_Reader
92b732ea3a351f88d9612293f8b9aa8349c7ec49
[ "MIT" ]
null
null
null
src/DWARF/Block.hpp
Deukhoofd/ELF_Reader
92b732ea3a351f88d9612293f8b9aa8349c7ec49
[ "MIT" ]
null
null
null
src/DWARF/Block.hpp
Deukhoofd/ELF_Reader
92b732ea3a351f88d9612293f8b9aa8349c7ec49
[ "MIT" ]
null
null
null
#ifndef ELF_EXPORTER_BLOCK_HPP #define ELF_EXPORTER_BLOCK_HPP #include <cstdint> #include <iostream> #include <regex> #include "TagType.hpp" class Block { private: uint8_t _level; TagType _type; Block* _next = nullptr; std::string _name = ""; uint32_t _atType = 0; bool _external = false; u...
33.438356
93
0.578861
Deukhoofd
41e5b153d8e7c674ad3e8d0f8334dee8f35028aa
27,609
cpp
C++
Dots/geometries/Greetings/Hemoroids.cpp
xjorma/HoloGrail
678db2a5f98261b0d8d6c3cdaffe481a42802845
[ "MIT" ]
6
2021-04-05T05:57:59.000Z
2022-02-20T00:14:15.000Z
Dots/geometries/Greetings/Hemoroids.cpp
xjorma/HoloGrail
678db2a5f98261b0d8d6c3cdaffe481a42802845
[ "MIT" ]
null
null
null
Dots/geometries/Greetings/Hemoroids.cpp
xjorma/HoloGrail
678db2a5f98261b0d8d6c3cdaffe481a42802845
[ "MIT" ]
null
null
null
#include "demopch.h" #include "./headers/geometries.h" Geometry Hemoroids = Geometry ( { {-0.799656331539, -0.0500000007451, 0.0327712148428}, {-0.799656331539, 0.0500000007451, 0.0327712148428}, {-0.799656331539, -0.0500000007451, -0.0368313640356}, {-0.799656331539, 0.0500000007451, -0.0368313640356}, {-0.8215037...
353.961538
444
0.70372
xjorma
41ee60729493d1a4447511174aa6c3e7240f2eaf
2,123
cpp
C++
examples/DynamicRegisterAndUnregister.cpp
dbpotato/sacs
70d2c45a6529e58ba8c216460c0d1e9d55b16040
[ "MIT" ]
null
null
null
examples/DynamicRegisterAndUnregister.cpp
dbpotato/sacs
70d2c45a6529e58ba8c216460c0d1e9d55b16040
[ "MIT" ]
null
null
null
examples/DynamicRegisterAndUnregister.cpp
dbpotato/sacs
70d2c45a6529e58ba8c216460c0d1e9d55b16040
[ "MIT" ]
null
null
null
/* Copyright (c) 2020 Adam Kaniewski 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, ...
33.698413
101
0.736693
dbpotato
41f9216ec52ad6d48cc251f1a5543076dd63b89a
566
cpp
C++
Part I The Basics/4. Computation/Try This/Try This 6.cpp
furkanicer/Programming-Principles-and-Practice-Using-Cpp-
25f7228892e73684e1d558eaf0ff2a222d48f614
[ "MIT" ]
1
2019-03-06T21:04:57.000Z
2019-03-06T21:04:57.000Z
Part I The Basics/4. Computation/Try This/Try This 6.cpp
furkanicer/Programming-Principles-and-Practice-Using-Cpp-
25f7228892e73684e1d558eaf0ff2a222d48f614
[ "MIT" ]
null
null
null
Part I The Basics/4. Computation/Try This/Try This 6.cpp
furkanicer/Programming-Principles-and-Practice-Using-Cpp-
25f7228892e73684e1d558eaf0ff2a222d48f614
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int square(int x) { int result = { 0 }; int *ptr = &result; for (int i = 0; i < x; i++) { *ptr = *ptr + x; } return *ptr; } int main() { cout << square(10) << endl; system("pause"); return 0; } /* Implement square() without using the multiplication operator; t...
15.297297
81
0.613074
furkanicer
41f9c8f25f1b4a6feacc688a601ed6c8a92705c2
6,060
cxx
C++
PWGLF/SPECTRA/ChargedHadrons/dNdPt/AliAnalysisTaskBaseWeights.cxx
jgcn/AliPhysics
56f13c8b18213dcdc5242625e1bf79404e0ab0da
[ "BSD-3-Clause" ]
null
null
null
PWGLF/SPECTRA/ChargedHadrons/dNdPt/AliAnalysisTaskBaseWeights.cxx
jgcn/AliPhysics
56f13c8b18213dcdc5242625e1bf79404e0ab0da
[ "BSD-3-Clause" ]
null
null
null
PWGLF/SPECTRA/ChargedHadrons/dNdPt/AliAnalysisTaskBaseWeights.cxx
jgcn/AliPhysics
56f13c8b18213dcdc5242625e1bf79404e0ab0da
[ "BSD-3-Clause" ]
null
null
null
#include <iostream> #include "TChain.h" #include "TH1F.h" #include "TList.h" #include "TRandom3.h" #include "TGeoGlobalMagField.h" #include "AliAnalysisTask.h" #include "AliAnalysisManager.h" #include "AliESDEvent.h" #include "AliESDInputHandler.h" #include "AliESDtrack.h" #include "AliAODEvent.h" #include "AliHeader.h...
33.666667
129
0.631353
jgcn
41fc486db9130853434b2e5c65615a84cfd29fe0
7,130
cpp
C++
src/llvmir2hll/ir/call_expr.cpp
Andrik-555/retdec
1ac63a520da02912daf836b924f41d95b1b5fa10
[ "MIT", "BSD-3-Clause" ]
521
2019-03-29T15:44:08.000Z
2022-03-22T09:46:19.000Z
src/llvmir2hll/ir/call_expr.cpp
Andrik-555/retdec
1ac63a520da02912daf836b924f41d95b1b5fa10
[ "MIT", "BSD-3-Clause" ]
30
2019-06-04T17:00:49.000Z
2021-09-08T20:44:19.000Z
src/llvmir2hll/ir/call_expr.cpp
Andrik-555/retdec
1ac63a520da02912daf836b924f41d95b1b5fa10
[ "MIT", "BSD-3-Clause" ]
99
2019-03-29T16:04:13.000Z
2022-03-28T16:59:34.000Z
/** * @file src/llvmir2hll/ir/call_expr.cpp * @brief Implementation of CallExpr. * @copyright (c) 2017 Avast Software, licensed under the MIT license */ #include "retdec/llvmir2hll/ir/call_expr.h" #include "retdec/llvmir2hll/ir/variable.h" #include "retdec/llvmir2hll/support/debug.h" #include "retdec/llvmir2hll/suppor...
24.169492
83
0.691865
Andrik-555
41fd90bf127fbaa33a6a8091145cd31f89c54f11
2,423
cpp
C++
Includes/findXBE.cpp
jcn509/OG-Xbox-FTP
bc278277b7a6ab7b682d7cfe76227e3f0389f975
[ "MIT" ]
2
2021-06-17T21:37:27.000Z
2021-06-29T11:13:14.000Z
Includes/findXBE.cpp
jcn509/OG-Xbox-FTP
bc278277b7a6ab7b682d7cfe76227e3f0389f975
[ "MIT" ]
null
null
null
Includes/findXBE.cpp
jcn509/OG-Xbox-FTP
bc278277b7a6ab7b682d7cfe76227e3f0389f975
[ "MIT" ]
null
null
null
#include "findXBE.h" #include <algorithm> #include <cstdio> #ifdef NXDK #include <windows.h> #include "xbe.h" #endif #define SECTORSIZE 0x1000 int findXBE(std::string const& path, MenuXbe *list) { std::string workPath = path; if (workPath.back() != '\\') { workPath += '\\'; } #ifdef NXDK std::string sear...
30.670886
97
0.573669
jcn509
51026168924d5350dd582743410147d5aa83fd3a
13,671
cpp
C++
app/peer.cpp
UCLA-IRL/dledger
535795247eb0c935814193a7dd059256d05e7769
[ "Apache-2.0" ]
5
2020-04-14T22:30:49.000Z
2022-01-01T22:01:26.000Z
app/peer.cpp
Zhiyi-Zhang/dledger
535795247eb0c935814193a7dd059256d05e7769
[ "Apache-2.0" ]
null
null
null
app/peer.cpp
Zhiyi-Zhang/dledger
535795247eb0c935814193a7dd059256d05e7769
[ "Apache-2.0" ]
2
2019-04-16T23:46:22.000Z
2019-11-18T06:29:04.000Z
#include "peer.hpp" #include <chrono> #include <ndn-cxx/util/logger.hpp> #include <ndn-cxx/util/scheduler.hpp> #include <boost/asio.hpp> #include <ndn-cxx/util/sha256.hpp> using namespace ndn; namespace DLedger { NDN_LOG_INIT(DLedger); Peer::Peer(const Name& mcPrefix, const Name& routablePrefix, int gene...
34.263158
128
0.637773
UCLA-IRL
eeddab9c882c9a79cc9a7f6c6c65480102dcc98c
8,211
cc
C++
art/Framework/IO/ClosingCriteria.cc
gaponenko/art
63bae591711903fdc611a8ecbd4bfa54347c711a
[ "BSD-3-Clause" ]
null
null
null
art/Framework/IO/ClosingCriteria.cc
gaponenko/art
63bae591711903fdc611a8ecbd4bfa54347c711a
[ "BSD-3-Clause" ]
16
2021-11-05T14:29:41.000Z
2022-03-24T15:43:39.000Z
art/Framework/IO/ClosingCriteria.cc
gaponenko/art
63bae591711903fdc611a8ecbd4bfa54347c711a
[ "BSD-3-Clause" ]
1
2022-01-19T20:13:53.000Z
2022-01-19T20:13:53.000Z
#include "art/Framework/IO/ClosingCriteria.h" #include "canvas/Utilities/Exception.h" // vim: set sw=2 expandtab : using namespace std; using EntryNumber_t = art::FileIndex::EntryNumber_t; namespace { void config_require(bool const cond, string const& msg) { if (!cond) throw art::Exception(art::error...
28.70979
76
0.651443
gaponenko
eef5b621f4d5985df9dd01a79219e15b9af2034d
2,118
cc
C++
src/ppl/nn/engines/cuda/optimizer/ops/onnx/tile_op.cc
wolf15/ppl.nn
ac23e5eb518039536f1ef39b43c63d6bda900e77
[ "Apache-2.0" ]
1
2021-06-30T14:07:37.000Z
2021-06-30T14:07:37.000Z
src/ppl/nn/engines/cuda/optimizer/ops/onnx/tile_op.cc
wolf15/ppl.nn
ac23e5eb518039536f1ef39b43c63d6bda900e77
[ "Apache-2.0" ]
null
null
null
src/ppl/nn/engines/cuda/optimizer/ops/onnx/tile_op.cc
wolf15/ppl.nn
ac23e5eb518039536f1ef39b43c63d6bda900e77
[ "Apache-2.0" ]
null
null
null
#include "ppl/nn/engines/cuda/optimizer/ops/onnx/tile_op.h" #include "ppl/nn/common/logger.h" #include "ppl/nn/engines/cuda/kernels/onnx/tile_kernel.h" #include "ppl/nn/oputils/onnx/reshape_tile.h" using namespace std; using namespace ppl::common; using namespace ppl::nn::common; namespace ppl { namespace nn { names...
34.721311
105
0.657696
wolf15
eefcb5896e367692e78e5a54d8c15af1ff8d82ac
488
cpp
C++
src/lib/utils/timer.cpp
nilsthamm/hyrise
75a701f281bb7dc1636832012c43005ec3c66384
[ "MIT" ]
583
2015-01-10T00:55:32.000Z
2022-03-25T12:24:30.000Z
src/lib/utils/timer.cpp
nilsthamm/hyrise
75a701f281bb7dc1636832012c43005ec3c66384
[ "MIT" ]
1,573
2015-01-07T15:47:22.000Z
2022-03-31T11:48:03.000Z
src/lib/utils/timer.cpp
nilsthamm/hyrise
75a701f281bb7dc1636832012c43005ec3c66384
[ "MIT" ]
145
2015-03-09T16:26:07.000Z
2022-02-15T12:53:23.000Z
#include "timer.hpp" #include "utils/format_duration.hpp" namespace opossum { Timer::Timer() { _begin = std::chrono::high_resolution_clock::now(); } std::chrono::nanoseconds Timer::lap() { const auto now = std::chrono::high_resolution_clock::now(); const auto lap_duration = std::chrono::duration_cast<std::chron...
25.684211
95
0.715164
nilsthamm
e10003cb9d6350f23f744eb475f86fbac97341bc
1,203
cpp
C++
opencv_contrib/src/+cv/estimatePoseSingleMarkers.cpp
zsj0577/mexopencv
678ced73615f3581a0fe09823758446ff4ca3197
[ "BSD-3-Clause" ]
null
null
null
opencv_contrib/src/+cv/estimatePoseSingleMarkers.cpp
zsj0577/mexopencv
678ced73615f3581a0fe09823758446ff4ca3197
[ "BSD-3-Clause" ]
null
null
null
opencv_contrib/src/+cv/estimatePoseSingleMarkers.cpp
zsj0577/mexopencv
678ced73615f3581a0fe09823758446ff4ca3197
[ "BSD-3-Clause" ]
null
null
null
/** * @file estimatePoseSingleMarkers.cpp * @brief mex interface for cv::aruco::estimatePoseSingleMarkers * @ingroup aruco * @author Amro * @date 2016 */ #include "mexopencv.hpp" #include "mexopencv_aruco.hpp" using namespace std; using namespace cv; using namespace cv::aruco; /** * Main entry called from Matla...
29.341463
80
0.691604
zsj0577
e105589d69309b7b2ba6fc00689d47823293faf5
937
cxx
C++
Applications/ColadaApp/qCheckableHHeaderView.cxx
TierraColada/Colada
c9d7ca30bfb5ec523722b35921c1e9e6a11a7914
[ "MIT" ]
null
null
null
Applications/ColadaApp/qCheckableHHeaderView.cxx
TierraColada/Colada
c9d7ca30bfb5ec523722b35921c1e9e6a11a7914
[ "MIT" ]
null
null
null
Applications/ColadaApp/qCheckableHHeaderView.cxx
TierraColada/Colada
c9d7ca30bfb5ec523722b35921c1e9e6a11a7914
[ "MIT" ]
null
null
null
// Colada includes #include "qCheckableHHeaderView.h" #include "qCheckableHHeaderView_p.h" qCheckableHHeaderViewPrivate::qCheckableHHeaderViewPrivate( qCheckableHHeaderView &q) : q_ptr(&q) {} qCheckableHHeaderViewPrivate::~qCheckableHHeaderViewPrivate() {} void qCheckableHHeaderViewPrivate::init() { Q_Q(qChe...
31.233333
81
0.781217
TierraColada
e10d222746b9115448d4f0e333a0364f5301f346
4,002
cpp
C++
test/functional/gfal_test_qos.cpp
dynamic-entropy/gfal2
90bc0a58587b986a0d7335f244fd4cfe3079b72f
[ "Apache-2.0" ]
6
2018-08-28T15:20:24.000Z
2021-09-14T13:03:15.000Z
test/functional/gfal_test_qos.cpp
dynamic-entropy/gfal2
90bc0a58587b986a0d7335f244fd4cfe3079b72f
[ "Apache-2.0" ]
10
2020-06-16T09:21:04.000Z
2022-03-04T13:41:00.000Z
test/functional/gfal_test_qos.cpp
dynamic-entropy/gfal2
90bc0a58587b986a0d7335f244fd4cfe3079b72f
[ "Apache-2.0" ]
6
2020-06-13T18:06:41.000Z
2022-02-21T09:47:56.000Z
/* * Copyright (c) CERN 2013-2017 * * Copyright (c) Members of the EMI Collaboration. 2010-2013 * See http://www.eu-emi.eu/partners for details on the copyright * holders. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. *...
25.329114
96
0.667416
dynamic-entropy
e112fe86eb7171ae523ef04a7e09e994354a7348
52,260
cc
C++
src/cxx/libsparse/libsparse3d/Mr3d_FewEvent.cc
jstarck/cosmostat
f686efe4c00073272487417da15e207a529f07e7
[ "MIT" ]
null
null
null
src/cxx/libsparse/libsparse3d/Mr3d_FewEvent.cc
jstarck/cosmostat
f686efe4c00073272487417da15e207a529f07e7
[ "MIT" ]
null
null
null
src/cxx/libsparse/libsparse3d/Mr3d_FewEvent.cc
jstarck/cosmostat
f686efe4c00073272487417da15e207a529f07e7
[ "MIT" ]
null
null
null
//****************************************************************************** //** //** DESCRIPTION Few Event Poisson Thresholding //** ----------- //** //****************************************************************************** #include "Mr3d_FewEvent.h" //***********************...
33.096897
105
0.574531
jstarck
e1131903f5c7fbc6700c5a439278302806c3dd39
1,506
hpp
C++
proxima/proxima_comm.hpp
Entityless/ProximaComm
06df2012863911f82f629bc67a8bd1d19e04d185
[ "MIT" ]
null
null
null
proxima/proxima_comm.hpp
Entityless/ProximaComm
06df2012863911f82f629bc67a8bd1d19e04d185
[ "MIT" ]
null
null
null
proxima/proxima_comm.hpp
Entityless/ProximaComm
06df2012863911f82f629bc67a8bd1d19e04d185
[ "MIT" ]
null
null
null
/* Copyright 2019 Husky Data Lab, CUHK Author: Created by Entityless (entityless@gmail.com) */ #pragma once #include <assert.h> #include <mpi.h> #include <thread> #include <vector> #include <atomic> template<class Locker> class ProximaComm { public: typedef void (*ComputeFP)(ProximaComm<Locker>*, int a); ...
23.169231
118
0.695219
Entityless
e11878861f0dcf8b4fd52d1d538412de45b10e64
1,028
cc
C++
leetcode/merge-intervals.cc
Waywrong/leetcode-solution
55115aeab4040f5ff84bdce6ffcfe4a98f879616
[ "MIT" ]
null
null
null
leetcode/merge-intervals.cc
Waywrong/leetcode-solution
55115aeab4040f5ff84bdce6ffcfe4a98f879616
[ "MIT" ]
null
null
null
leetcode/merge-intervals.cc
Waywrong/leetcode-solution
55115aeab4040f5ff84bdce6ffcfe4a98f879616
[ "MIT" ]
null
null
null
// Merge Intervals /** * Definition for an interval. * struct Interval { * int start; * int end; * Interval() : start(0), end(0) {} * Interval(int s, int e) : start(s), end(e) {} * }; */ class Solution { public: vector<Interval> merge(vector<Interval>& intervals) { vector<Interval>...
27.783784
70
0.515564
Waywrong
e11880e1627aa6580e011783508be9ab91652c58
1,458
cc
C++
src/variables/variations/count.cc
Peercraft/deb-modsecurity
6d608c3ea5d762b370bf682ba24e2febffd4f382
[ "Apache-2.0" ]
null
null
null
src/variables/variations/count.cc
Peercraft/deb-modsecurity
6d608c3ea5d762b370bf682ba24e2febffd4f382
[ "Apache-2.0" ]
null
null
null
src/variables/variations/count.cc
Peercraft/deb-modsecurity
6d608c3ea5d762b370bf682ba24e2febffd4f382
[ "Apache-2.0" ]
null
null
null
/* * ModSecurity, http://www.modsecurity.org/ * Copyright (c) 2015 Trustwave Holdings, Inc. (http://www.trustwave.com/) * * 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 * * If any of the files rela...
23.516129
79
0.675583
Peercraft
e11bf4b1049f94ec6599ba062d015c02ea130823
4,212
cpp
C++
test/test_common.cpp
kinveone/BaikalDB
9ea9b58edfab98a6679c6b912b79dfdd21a990de
[ "Apache-2.0" ]
1
2018-12-18T05:20:42.000Z
2018-12-18T05:20:42.000Z
test/test_common.cpp
lilithliu1/BaikalDB
9ea9b58edfab98a6679c6b912b79dfdd21a990de
[ "Apache-2.0" ]
null
null
null
test/test_common.cpp
lilithliu1/BaikalDB
9ea9b58edfab98a6679c6b912b79dfdd21a990de
[ "Apache-2.0" ]
null
null
null
// Copyright (c) 2018 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 by applic...
27.350649
106
0.580484
kinveone
e11c11f127b1779ebb2a1739110a7ed043156520
1,916
cpp
C++
examples/channels.cpp
antoine-bussy/qpp
d5f12c4fa17bada1c6f2e7ea0cb81b430e7aea63
[ "MIT" ]
2
2021-08-28T20:12:17.000Z
2021-11-17T10:50:24.000Z
examples/channels.cpp
Alex-Kolar/qpp
82096807508ed2c3f7a3c127d792b594cc296e8f
[ "MIT" ]
null
null
null
examples/channels.cpp
Alex-Kolar/qpp
82096807508ed2c3f7a3c127d792b594cc296e8f
[ "MIT" ]
null
null
null
// Quantum channels // Source: ./examples/channels.cpp #include <complex> #include <iostream> #include <vector> #include "qpp.h" int main() { using namespace qpp; idx D = 3; // dimension idx nk = 5; // nk Kraus operators on a D-dimensional system std::cout << ">> Generating a random channel with " <...
33.614035
78
0.570459
antoine-bussy
e11c37dc8de03be0dceab36d7c5043e5d2241962
447
cpp
C++
Cpp/806.number-of-lines-to-write-string.cpp
zszyellow/leetcode
2ef6be04c3008068f8116bf28d70586e613a48c2
[ "MIT" ]
1
2015-12-19T23:05:35.000Z
2015-12-19T23:05:35.000Z
Cpp/806.number-of-lines-to-write-string.cpp
zszyellow/leetcode
2ef6be04c3008068f8116bf28d70586e613a48c2
[ "MIT" ]
null
null
null
Cpp/806.number-of-lines-to-write-string.cpp
zszyellow/leetcode
2ef6be04c3008068f8116bf28d70586e613a48c2
[ "MIT" ]
null
null
null
class Solution { public: vector<int> numberOfLines(vector<int>& widths, string S) { const int max_length = 100; vector<int> res{1, 0}; int cur_length = 0; for (char c : S) { cur_length += widths[c-'a']; if (cur_length > max_length) { res[0] ++;...
26.294118
62
0.46085
zszyellow
e11ea260a2ef6e8c9659f36e8e79e968be035509
11,750
cpp
C++
frameworks/cocos2d-x/cocos/renderer/renderer/Technique.cpp
rockleis/rocknative
8618820d4cf3da562029b6c94b0b87c1659d759b
[ "Apache-2.0" ]
null
null
null
frameworks/cocos2d-x/cocos/renderer/renderer/Technique.cpp
rockleis/rocknative
8618820d4cf3da562029b6c94b0b87c1659d759b
[ "Apache-2.0" ]
null
null
null
frameworks/cocos2d-x/cocos/renderer/renderer/Technique.cpp
rockleis/rocknative
8618820d4cf3da562029b6c94b0b87c1659d759b
[ "Apache-2.0" ]
null
null
null
/**************************************************************************** Copyright (c) 2018 Xiamen Yaji Software Co., Ltd. http://www.cocos2d-x.org 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 t...
23.594378
117
0.54834
rockleis
e12aba81825a2982d52aa26d168c5aca03625d08
15,922
cpp
C++
tests/Unit/PointwiseFunctions/GeneralRelativity/TestHelpers.cpp
marissawalker/spectre
afc8205e2f697de5e8e4f05e881499e05c9fd8a0
[ "MIT" ]
null
null
null
tests/Unit/PointwiseFunctions/GeneralRelativity/TestHelpers.cpp
marissawalker/spectre
afc8205e2f697de5e8e4f05e881499e05c9fd8a0
[ "MIT" ]
null
null
null
tests/Unit/PointwiseFunctions/GeneralRelativity/TestHelpers.cpp
marissawalker/spectre
afc8205e2f697de5e8e4f05e881499e05c9fd8a0
[ "MIT" ]
null
null
null
// Distributed under the MIT License. // See LICENSE.txt for details. #include "tests/Unit/PointwiseFunctions/GeneralRelativity/TestHelpers.hpp" #include "DataStructures/Tensor/Tensor.hpp" // IWYU pragma: keep #include "Utilities/GenerateInstantiations.hpp" #include "Utilities/MakeWithValue.hpp" template <typename ...
40.513995
80
0.625675
marissawalker
e1345f16b34ac0a46594788b462a66733a045e9e
1,290
cpp
C++
12/echo-server.cpp
Sun-CX/socket-programming
f8b515f4397ef2085e1375fcf9cfd975bad94d62
[ "Apache-2.0" ]
null
null
null
12/echo-server.cpp
Sun-CX/socket-programming
f8b515f4397ef2085e1375fcf9cfd975bad94d62
[ "Apache-2.0" ]
null
null
null
12/echo-server.cpp
Sun-CX/socket-programming
f8b515f4397ef2085e1375fcf9cfd975bad94d62
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include <sys/socket.h> #include <sys/un.h> #include <unistd.h> using namespace std; int main(int argc, char *argv[]) { int listen_fd; if ((listen_fd = socket(PF_UNIX, SOCK_STREAM, 0)) < 0) { cerr << "socket error." << endl; return -1; } unlink("unix-socket"); ...
23.454545
78
0.554264
Sun-CX
e1362e7d2e8b15e50da6790c388256a7a5f0f042
142,239
hpp
C++
include/crab/domains/wrapped_interval_domain.hpp
bishoksan/crab-latest
204762a5fc44318e3f9bc2ba23bb9f58348778e6
[ "Apache-2.0" ]
null
null
null
include/crab/domains/wrapped_interval_domain.hpp
bishoksan/crab-latest
204762a5fc44318e3f9bc2ba23bb9f58348778e6
[ "Apache-2.0" ]
null
null
null
include/crab/domains/wrapped_interval_domain.hpp
bishoksan/crab-latest
204762a5fc44318e3f9bc2ba23bb9f58348778e6
[ "Apache-2.0" ]
null
null
null
#pragma once /** ** Machine arithmetic interval domain based on the paper ** "Signedness-Agnostic Program Analysis: Precise Integer Bounds for ** Low-Level Code" by J.A.Navas, P.Schachte, H.Sondergaard, and ** P.J.Stuckey published in APLAS'12. **/ /* var overflow check has been disabled */ #include <crab/com...
41.871946
119
0.46675
bishoksan
e1391023250d41678bc4e795e0718c9bbedcf514
47,479
hpp
C++
ecl/hqlcpp/hqlcerrors.hpp
davidarcher/HPCC-Platform
fa817ab9ea7d8154ac08bc780ce9ce673f3e51e3
[ "Apache-2.0" ]
null
null
null
ecl/hqlcpp/hqlcerrors.hpp
davidarcher/HPCC-Platform
fa817ab9ea7d8154ac08bc780ce9ce673f3e51e3
[ "Apache-2.0" ]
null
null
null
ecl/hqlcpp/hqlcerrors.hpp
davidarcher/HPCC-Platform
fa817ab9ea7d8154ac08bc780ce9ce673f3e51e3
[ "Apache-2.0" ]
3
2021-05-02T17:01:57.000Z
2021-05-02T17:02:28.000Z
/*############################################################################## HPCC SYSTEMS software Copyright (C) 2012 HPCC Systems®. 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...
74.770079
209
0.755408
davidarcher
e13a7e8ec29e862eaaa5aa5969e0ccf26f675dea
1,547
cpp
C++
src/lib/src/cli/commands/download-images-cli-command.cpp
Penguin-Guru/imgbrd-grabber
69bdd5566dc2b2cb3a67456bf1a159d544699bc9
[ "Apache-2.0" ]
1,449
2015-03-16T02:21:41.000Z
2022-03-31T22:49:10.000Z
src/lib/src/cli/commands/download-images-cli-command.cpp
sisco0/imgbrd-grabber
89bf97ccab3df62286784baac242f00bf006d562
[ "Apache-2.0" ]
2,325
2015-03-16T02:23:30.000Z
2022-03-31T21:38:26.000Z
src/lib/src/cli/commands/download-images-cli-command.cpp
evanjs/imgbrd-grabber
491f8f3c05be3fc02bc10007735c5afa19d47449
[ "Apache-2.0" ]
242
2015-03-22T11:00:54.000Z
2022-03-31T12:37:15.000Z
#include "download-images-cli-command.h" #include <QEventLoop> #include <QList> #include <utility> #include "downloader/image-downloader.h" #include "downloader/printers/printer.h" #include "logger.h" DownloadImagesCliCommand::DownloadImagesCliCommand(Profile *profile, Printer *printer, QStringList tags, QStringList ...
32.229167
313
0.751131
Penguin-Guru
e13ed0ba7157b3ba2f4149c524aafde788455ae4
1,267
hpp
C++
include/smallcxx/common.hpp
cxw42/smallcxx
27b71e4519966189aab6d90e08f4edacddb98c8b
[ "BSD-3-Clause" ]
null
null
null
include/smallcxx/common.hpp
cxw42/smallcxx
27b71e4519966189aab6d90e08f4edacddb98c8b
[ "BSD-3-Clause" ]
12
2021-08-03T02:54:46.000Z
2021-11-26T22:30:46.000Z
include/smallcxx/common.hpp
cxw42/smallcxx
27b71e4519966189aab6d90e08f4edacddb98c8b
[ "BSD-3-Clause" ]
null
null
null
/// @file smallcxx/common.hpp /// @brief Common definitions for smallcxx /// @author Christopher White <cxwembedded@gmail.com> /// @copyright Copyright (c) 2021 Christopher White #ifndef SMALLCXX_COMMON_HPP_ #define SMALLCXX_COMMON_HPP_ #include <stdexcept> #include <string.h> #define ARRAY_SIZE(x) \ (sizeof(x) ...
24.843137
76
0.614838
cxw42
e144131c14fba3084c0e1d6c5e81084ed6670310
3,883
cpp
C++
Plugins/org.blueberry.core.runtime/src/internal/berryRegistryContribution.cpp
zhaomengxiao/MITK
a09fd849a4328276806008bfa92487f83a9e2437
[ "BSD-3-Clause" ]
1
2022-03-03T12:03:32.000Z
2022-03-03T12:03:32.000Z
Plugins/org.blueberry.core.runtime/src/internal/berryRegistryContribution.cpp
zhaomengxiao/MITK
a09fd849a4328276806008bfa92487f83a9e2437
[ "BSD-3-Clause" ]
1
2021-12-22T10:19:02.000Z
2021-12-22T10:19:02.000Z
Plugins/org.blueberry.core.runtime/src/internal/berryRegistryContribution.cpp
zhaomengxiao/MITK_lancet
a09fd849a4328276806008bfa92487f83a9e2437
[ "BSD-3-Clause" ]
1
2020-11-27T09:41:18.000Z
2020-11-27T09:41:18.000Z
/*============================================================================ The Medical Imaging Interaction Toolkit (MITK) Copyright (c) German Cancer Research Center (DKFZ) All rights reserved. Use of this source code is governed by a 3-clause BSD license that can be found in the LICENSE file. =================...
25.379085
115
0.703322
zhaomengxiao
e148f28e4dabfa98f9f2cee4143d75e57efc9888
2,782
cpp
C++
KmsLib/OpenCL/Context.cpp
martindubois/KmsBase
b8138c4b332eaf9aa4110e41114e9939093aed95
[ "Apache-2.0" ]
null
null
null
KmsLib/OpenCL/Context.cpp
martindubois/KmsBase
b8138c4b332eaf9aa4110e41114e9939093aed95
[ "Apache-2.0" ]
null
null
null
KmsLib/OpenCL/Context.cpp
martindubois/KmsBase
b8138c4b332eaf9aa4110e41114e9939093aed95
[ "Apache-2.0" ]
null
null
null
// Author / Auteur : KMS - Martin Dubois, ing. // Product / Produit : KmsBase // File / Fichier : KmsLib/OpenCL/Context.cpp // Includes ///////////////////////////////////////////////////////////////////////////// #include <KmsBase.h> // ===== C ================================================================== #...
29.284211
186
0.58555
martindubois
e149cfa81eff9b1949d07733d966fbb8efe21a49
578
cc
C++
test/neper.cc
cwsmith/core
840fbf6ec49a63aeaa3945f11ddb224f6055ac9f
[ "BSD-3-Clause" ]
1
2021-12-02T09:25:32.000Z
2021-12-02T09:25:32.000Z
test/neper.cc
cwsmith/core
840fbf6ec49a63aeaa3945f11ddb224f6055ac9f
[ "BSD-3-Clause" ]
null
null
null
test/neper.cc
cwsmith/core
840fbf6ec49a63aeaa3945f11ddb224f6055ac9f
[ "BSD-3-Clause" ]
null
null
null
#include <apf.h> #include <gmi_mesh.h> #include <apfMDS.h> #include <apfMesh2.h> #include <PCU.h> #include <cstdlib> int main(int argc, char** argv) { MPI_Init(&argc,&argv); PCU_Comm_Init(); if ( argc != 4 ) { if ( !PCU_Comm_Self() ) printf("Usage: %s <model> <in .msh> <out .smb>\n", argv[0]); MPI_...
20.642857
67
0.617647
cwsmith
e14b40729d026225e2911b0b6b733d6df054dd0d
3,004
cpp
C++
src/identity.cpp
clemenshug/morgancpp
7657f8ae2cf5c851ed790376b28cdbb213662cdc
[ "MIT" ]
2
2020-08-04T16:43:16.000Z
2020-10-06T16:50:24.000Z
src/identity.cpp
clemenshug/morgancpp
7657f8ae2cf5c851ed790376b28cdbb213662cdc
[ "MIT" ]
1
2019-12-16T20:57:56.000Z
2019-12-16T20:57:56.000Z
src/identity.cpp
clemenshug/morgancpp
7657f8ae2cf5c851ed790376b28cdbb213662cdc
[ "MIT" ]
2
2019-12-09T18:41:15.000Z
2019-12-09T19:36:47.000Z
#include <Rcpp.h> #include <vector> #include <unordered_map> #include "utils.hpp" using namespace Rcpp; //' @name MorganMap //' @title Morgan fingerprint collection for identity checking //' @description Efficient structure for checking identity of Morgan fingerprints //' @field new Construct new fingerprint dataset...
31.621053
97
0.661119
clemenshug
e14baf5df2b181a0766662bcc9c5a866a9380dc1
818
cpp
C++
8PRO128-TP1/Segment.cpp
Hexzhe/8PRO128-TP1
a1085297da3e4de35952d91cb44f6604862d2d6e
[ "MIT" ]
null
null
null
8PRO128-TP1/Segment.cpp
Hexzhe/8PRO128-TP1
a1085297da3e4de35952d91cb44f6604862d2d6e
[ "MIT" ]
null
null
null
8PRO128-TP1/Segment.cpp
Hexzhe/8PRO128-TP1
a1085297da3e4de35952d91cb44f6604862d2d6e
[ "MIT" ]
null
null
null
#include "Segment.h" Segment::Segment(Point a, Point b) { this->PointA = a; this->PointB = b; } Segment Segment::MoveAbsolute(Point newA, Point newB) { this->PointA.MoveAbsolute(newA.GetX(), newA.GetY()); this->PointB.MoveAbsolute(newB.GetX(), newB.GetY()); return *this; } Segment Segment::MoveRelative(double ...
22.722222
131
0.667482
Hexzhe
e1528c69915d2ca568b84141970599c3f331b9ac
6,008
cpp
C++
examples/c++/opengl/opengl_egl_es3/emscripten_opengl_egl_es3.cpp
Rabbid76/WasmExamples
3290bd7ea44c4cd03688c2c1935f9b986a9c8e52
[ "MIT" ]
null
null
null
examples/c++/opengl/opengl_egl_es3/emscripten_opengl_egl_es3.cpp
Rabbid76/WasmExamples
3290bd7ea44c4cd03688c2c1935f9b986a9c8e52
[ "MIT" ]
null
null
null
examples/c++/opengl/opengl_egl_es3/emscripten_opengl_egl_es3.cpp
Rabbid76/WasmExamples
3290bd7ea44c4cd03688c2c1935f9b986a9c8e52
[ "MIT" ]
null
null
null
#ifndef __EMSCRIPTEN__ #define USE_GLEW 0 #endif #if USE_GLEW #include "GL/glew.h" #endif #include <EGL/egl.h> #include <EGL/eglext.h> #if !USE_GLEW #include <GLES3/gl3.h> #endif #ifdef __EMSCRIPTEN__ #include <emscripten.h> #include <emscripten/html5.h> #endif #include <assert.h> #include <iostream> #include <str...
28.074766
109
0.682923
Rabbid76
e152de83bd496d98c364a83514ecb933835f3c91
883
cpp
C++
settings/MainApp.cpp
asjadenet/videoplayer
551ff1f3122c479a3e4f0c6db73cc50d98a12d50
[ "MIT" ]
1
2019-01-24T01:06:35.000Z
2019-01-24T01:06:35.000Z
settings/MainApp.cpp
asjadenet/videoplayer
551ff1f3122c479a3e4f0c6db73cc50d98a12d50
[ "MIT" ]
null
null
null
settings/MainApp.cpp
asjadenet/videoplayer
551ff1f3122c479a3e4f0c6db73cc50d98a12d50
[ "MIT" ]
null
null
null
#include "MainApp.h" #include "FormMainDerived.h" std::string Config::config_file; map<string, string> Config::setting; bool Config::fileExists; HttpConf Config::httpConf; IMPLEMENT_APP(MainApp) // This is executed upon startup, like 'main()' in non-wxWidgets programs. bool MainApp::OnInit() { m_checker = new wx...
27.59375
86
0.669309
asjadenet
e154080a5d246288fec0dcaa7acd4a7cf3ac0ac2
1,922
hpp
C++
include/stl2/detail/algorithm/replace_copy_if.hpp
marehr/cmcstl2
7a7cae1e23beacb18fd786240baef4ae121d813f
[ "MIT" ]
null
null
null
include/stl2/detail/algorithm/replace_copy_if.hpp
marehr/cmcstl2
7a7cae1e23beacb18fd786240baef4ae121d813f
[ "MIT" ]
null
null
null
include/stl2/detail/algorithm/replace_copy_if.hpp
marehr/cmcstl2
7a7cae1e23beacb18fd786240baef4ae121d813f
[ "MIT" ]
null
null
null
// cmcstl2 - A concept-enabled C++ standard library // // Copyright Casey Carter 2015 // // Use, modification and distribution is subject to the // Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) // // Project home: https://github.c...
31.508197
78
0.675858
marehr
e1562e0646d77037f448619cd919afcc4bd10479
741
hpp
C++
src/common/include/socket_utils.hpp
shimojo-lab/sbc-tdw-streamer
8989659c3711176174fb62bc0e2669ede1a6e94e
[ "MIT" ]
null
null
null
src/common/include/socket_utils.hpp
shimojo-lab/sbc-tdw-streamer
8989659c3711176174fb62bc0e2669ede1a6e94e
[ "MIT" ]
null
null
null
src/common/include/socket_utils.hpp
shimojo-lab/sbc-tdw-streamer
8989659c3711176174fb62bc0e2669ede1a6e94e
[ "MIT" ]
null
null
null
/************************************ * socket_utils.hpp * * (utilities to use a TCP socket) * ************************************/ #ifndef SOCKET_UTILS_HPP #define SOCKET_UTILS_HPP #include <memory> #include <boost/asio.hpp> #include <boost/bind.hpp> namespace _asio = boost::asio; namespace _ip ...
28.5
87
0.634278
shimojo-lab
e157baa9df1e4dc77dc0272c20d79e3ea98509a8
11,508
hpp
C++
Nacro/SDK/FN_AthenaCustomizationTab_classes.hpp
Milxnor/Nacro
eebabf662bbce6d5af41820ea0342d3567a0aecc
[ "BSD-2-Clause" ]
11
2021-08-08T23:25:10.000Z
2022-02-19T23:07:22.000Z
Nacro/SDK/FN_AthenaCustomizationTab_classes.hpp
Milxnor/Nacro
eebabf662bbce6d5af41820ea0342d3567a0aecc
[ "BSD-2-Clause" ]
1
2022-01-01T22:51:59.000Z
2022-01-08T16:14:15.000Z
Nacro/SDK/FN_AthenaCustomizationTab_classes.hpp
Milxnor/Nacro
eebabf662bbce6d5af41820ea0342d3567a0aecc
[ "BSD-2-Clause" ]
8
2021-08-09T13:51:54.000Z
2022-01-26T20:33:37.000Z
#pragma once // Fortnite (1.8) SDK #ifdef _MSC_VER #pragma pack(push, 0x8) #endif namespace SDK { //--------------------------------------------------------------------------- //Classes //--------------------------------------------------------------------------- // WidgetBlueprintGeneratedClass AthenaCustomizatio...
153.44
663
0.761123
Milxnor
e15bcce1ac3af1fbaec1a86677fdafb62f1bf38f
5,699
cpp
C++
Source/Common/Output_Captions_Scc.cpp
ablwr/dvrescue
9882b1d1d8416e39d51eb39cb2622f0a1d256e6b
[ "BSD-3-Clause" ]
null
null
null
Source/Common/Output_Captions_Scc.cpp
ablwr/dvrescue
9882b1d1d8416e39d51eb39cb2622f0a1d256e6b
[ "BSD-3-Clause" ]
null
null
null
Source/Common/Output_Captions_Scc.cpp
ablwr/dvrescue
9882b1d1d8416e39d51eb39cb2622f0a1d256e6b
[ "BSD-3-Clause" ]
null
null
null
/* Copyright (c) MIPoPS. All Rights Reserved. * * Use of this source code is governed by a BSD-3-Clause license that can * be found in the LICENSE.txt file in the root of the source tree. */ //--------------------------------------------------------------------------- #include "Common/Output.h" #include "Common...
39.034247
197
0.495701
ablwr
ff20f0abcced3e09aef0f84657a5d2397af191d1
5,159
cpp
C++
Plugins/MediaPipe/Source/MediaPipe/Private/MediaPipePipelineComponent.cpp
sixtolink/ue4-mediapipe-plugin
f9423faa38fedc614499b2b97ec145711cac55e8
[ "Apache-2.0" ]
null
null
null
Plugins/MediaPipe/Source/MediaPipe/Private/MediaPipePipelineComponent.cpp
sixtolink/ue4-mediapipe-plugin
f9423faa38fedc614499b2b97ec145711cac55e8
[ "Apache-2.0" ]
null
null
null
Plugins/MediaPipe/Source/MediaPipe/Private/MediaPipePipelineComponent.cpp
sixtolink/ue4-mediapipe-plugin
f9423faa38fedc614499b2b97ec145711cac55e8
[ "Apache-2.0" ]
null
null
null
#include "MediaPipePipelineComponent.h" #include "MediaPipeObserverComponent.h" #include "MediaPipeModule.h" #include "MediaPipeShared.h" #include "GameFramework/Actor.h" #include "Async/Async.h" // const FObjectInitializer& ObjectInitializer UMediaPipePipelineComponent::UMediaPipePipelineComponent() { PLUGIN_LOG_INF...
21.860169
132
0.738709
sixtolink
ff228425b991dfb85729c8c24588c9b66680837d
1,344
hpp
C++
src/lib/storage/fixed_string_dictionary_column/fixed_string_vector_iterator.hpp
IanJamesMcKay/InMemoryDB
a267d9522926eca9add2ad4512f8ce352daac879
[ "MIT" ]
1
2021-04-14T11:16:52.000Z
2021-04-14T11:16:52.000Z
src/lib/storage/fixed_string_dictionary_column/fixed_string_vector_iterator.hpp
IanJamesMcKay/InMemoryDB
a267d9522926eca9add2ad4512f8ce352daac879
[ "MIT" ]
null
null
null
src/lib/storage/fixed_string_dictionary_column/fixed_string_vector_iterator.hpp
IanJamesMcKay/InMemoryDB
a267d9522926eca9add2ad4512f8ce352daac879
[ "MIT" ]
1
2020-11-30T13:11:04.000Z
2020-11-30T13:11:04.000Z
#pragma once #include <memory> #include <string> #include <utility> #include <vector> #include "fixed_string.hpp" #include "type_cast.hpp" #include "types.hpp" #include "utils/assert.hpp" namespace opossum { // We need a custom iterator for this vector, since we have to perform jumps when iterating over the vector....
28.595745
120
0.764137
IanJamesMcKay
ff25c195c1a18afbaceaf3d03fca800e82088b4a
257
hpp
C++
addons/main/CfgModuleCategories.hpp
ZHANGTIANYAO1/H-60
4c6764f74190dbe7d81ddeae746cf78d8b7dff92
[ "Naumen", "Condor-1.1", "MS-PL" ]
14
2021-02-11T23:23:21.000Z
2021-09-08T05:36:47.000Z
addons/main/CfgModuleCategories.hpp
ZHANGTIANYAO1/H-60
4c6764f74190dbe7d81ddeae746cf78d8b7dff92
[ "Naumen", "Condor-1.1", "MS-PL" ]
130
2021-09-09T21:43:16.000Z
2022-03-30T09:00:37.000Z
addons/main/CfgModuleCategories.hpp
ZHANGTIANYAO1/H-60
4c6764f74190dbe7d81ddeae746cf78d8b7dff92
[ "Naumen", "Condor-1.1", "MS-PL" ]
11
2021-02-18T19:55:51.000Z
2021-09-01T17:08:47.000Z
class CfgFactionClasses { class NO_CATEGORY; class VTX: NO_CATEGORY { displayName = "VTX"; priority = 2; side = 7; }; }; class CfgVehicleClasses { class VTX_Vehicles { displayName = "VTX Vehicles"; }; };
17.133333
37
0.568093
ZHANGTIANYAO1
ff269e32b3c39f1beaec0b6023526bc0ea826039
2,676
hpp
C++
src/common/exceptions.hpp
farleyknight/PotatoDB
cf8e39a76caf8a66a0182310509756737c624cfa
[ "MIT" ]
3
2021-06-24T01:05:42.000Z
2021-07-23T07:24:16.000Z
src/common/exceptions.hpp
farleyknight/PotatoDB
cf8e39a76caf8a66a0182310509756737c624cfa
[ "MIT" ]
5
2021-06-25T00:13:51.000Z
2021-07-23T14:26:01.000Z
src/common/exceptions.hpp
farleyknight/PotatoDB
cf8e39a76caf8a66a0182310509756737c624cfa
[ "MIT" ]
null
null
null
#pragma once #include <iostream> #include <stdexcept> #include <string> #include "common/types.hpp" enum class ExceptionType { /** Invalid exception type.*/ INVALID = 0, /** Value out of range. */ OUT_OF_RANGE = 1, /** Conversion/casting error. */ CONVERSION = 2, /** Unknown type in the type subsystem....
23.681416
83
0.689462
farleyknight
ff2a9d52325299efb6220c96029ebd9ff6405bef
1,873
cpp
C++
normal_gpu/few.cpp
hust512/Homomorphic_Matrix_Completion_Multiple_GPU
2a64c6a1779e0748013084fd3ca4dbcc55a65310
[ "MIT" ]
null
null
null
normal_gpu/few.cpp
hust512/Homomorphic_Matrix_Completion_Multiple_GPU
2a64c6a1779e0748013084fd3ca4dbcc55a65310
[ "MIT" ]
null
null
null
normal_gpu/few.cpp
hust512/Homomorphic_Matrix_Completion_Multiple_GPU
2a64c6a1779e0748013084fd3ca4dbcc55a65310
[ "MIT" ]
1
2020-03-28T14:46:36.000Z
2020-03-28T14:46:36.000Z
/************************************************************************* > File Name: trust.cpp > Author: hanlu > Mail: hanlu@shu.edu.cn > Created Time: 2018年12月10日 星期一 21时13分39秒 ************************************************************************/ #include "head.h" int main(int argc,char *argv[]){ int m...
18.919192
74
0.445809
hust512
ff2c00884f0670940a729e361a04f797c84f2df2
1,420
cpp
C++
src/graphics/opengl/GLDepthTest.cpp
bigplayszn/nCine
43f5fe8e82e9daa21e4d1feea9ca41ed4cce7454
[ "MIT" ]
675
2019-05-28T19:00:55.000Z
2022-03-31T16:44:28.000Z
src/graphics/opengl/GLDepthTest.cpp
bigplayszn/nCine
43f5fe8e82e9daa21e4d1feea9ca41ed4cce7454
[ "MIT" ]
13
2020-03-29T06:46:32.000Z
2022-01-29T03:19:30.000Z
src/graphics/opengl/GLDepthTest.cpp
bigplayszn/nCine
43f5fe8e82e9daa21e4d1feea9ca41ed4cce7454
[ "MIT" ]
53
2019-06-02T03:04:10.000Z
2022-03-11T06:17:50.000Z
#include "common_macros.h" #include "GLDepthTest.h" namespace ncine { /////////////////////////////////////////////////////////// // STATIC DEFINITIONS /////////////////////////////////////////////////////////// bool GLDepthTest::enabled_ = false; bool GLDepthTest::depthMaskEnabled_ = true; bool GLDepthTest::stateS...
16.705882
59
0.593662
bigplayszn
ff2db74b971e958e259f247f68ea7192578ea934
4,110
hpp
C++
Siv3D/include/Siv3D/KDTree.hpp
tas9n/OpenSiv3D
c561cba1d88eb9cd9606ba983fcc1120192d5615
[ "MIT" ]
2
2021-11-22T00:52:48.000Z
2021-12-24T09:33:55.000Z
Siv3D/include/Siv3D/KDTree.hpp
tas9n/OpenSiv3D
c561cba1d88eb9cd9606ba983fcc1120192d5615
[ "MIT" ]
32
2021-10-09T10:04:11.000Z
2022-02-25T06:10:13.000Z
Siv3D/include/Siv3D/KDTree.hpp
tas9n/OpenSiv3D
c561cba1d88eb9cd9606ba983fcc1120192d5615
[ "MIT" ]
1
2021-12-31T05:08:00.000Z
2021-12-31T05:08:00.000Z
//----------------------------------------------- // // This file is part of the Siv3D Engine. // // Copyright (c) 2008-2022 Ryo Suzuki // Copyright (c) 2016-2022 OpenSiv3D Project // // Licensed under the MIT License. // //----------------------------------------------- # pragma once # include "Common.hpp" # include...
27.583893
154
0.714842
tas9n
ff314cd16ca6458ccdf9f0aaf2df7f41c0bc1196
289
cpp
C++
prime number finding/prime number finding.cpp
hazratali-bit/30-lines-code.cpp
64016a2124d73d83b15e645651d85d66e90dc9d1
[ "MIT" ]
null
null
null
prime number finding/prime number finding.cpp
hazratali-bit/30-lines-code.cpp
64016a2124d73d83b15e645651d85d66e90dc9d1
[ "MIT" ]
null
null
null
prime number finding/prime number finding.cpp
hazratali-bit/30-lines-code.cpp
64016a2124d73d83b15e645651d85d66e90dc9d1
[ "MIT" ]
null
null
null
#include <iostream> #include <conio.h> using namespace std; int main () { int i,n; int count =0; cout <<"enter a number="; cin >>n; for (i=1;i<=n;i++) { if (n%i==0) count++; } if (count==2) cout<<n<<" is prime number."; else cout <<n<<" is not prime number."; return 0; }
13.761905
35
0.560554
hazratali-bit
ff35e56f2012dd823b38f825901fe9ea3bcc58f9
6,848
cpp
C++
JFEngine/RenderObject.cpp
jeffery1994/JFEngine
76222e0c34f40088577506322a361cc822cf2591
[ "MIT" ]
null
null
null
JFEngine/RenderObject.cpp
jeffery1994/JFEngine
76222e0c34f40088577506322a361cc822cf2591
[ "MIT" ]
null
null
null
JFEngine/RenderObject.cpp
jeffery1994/JFEngine
76222e0c34f40088577506322a361cc822cf2591
[ "MIT" ]
null
null
null
/////////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////// #include "RenderObject.h" #include "Shader.h" #include <glm/gtc/matrix_transform.hpp> #include "Texture.h" ////////////////////////////////////////////////////...
29.140426
134
0.622079
jeffery1994
ff36ae5cdf1ce21723cd98753d3d453835b121d8
7,232
cxx
C++
STEER/ESD/AliTriggerBCMask.cxx
AllaMaevskaya/AliRoot
c53712645bf1c7d5f565b0d3228e3a6b9b09011a
[ "BSD-3-Clause" ]
52
2016-12-11T13:04:01.000Z
2022-03-11T11:49:35.000Z
STEER/ESD/AliTriggerBCMask.cxx
AllaMaevskaya/AliRoot
c53712645bf1c7d5f565b0d3228e3a6b9b09011a
[ "BSD-3-Clause" ]
1,388
2016-11-01T10:27:36.000Z
2022-03-30T15:26:09.000Z
STEER/ESD/AliTriggerBCMask.cxx
AllaMaevskaya/AliRoot
c53712645bf1c7d5f565b0d3228e3a6b9b09011a
[ "BSD-3-Clause" ]
275
2016-06-21T20:24:05.000Z
2022-03-31T13:06:19.000Z
/************************************************************************** * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * * * * Author: The ALICE Off-line Project. * * Contributors ...
29.279352
112
0.612694
AllaMaevskaya
ff3a9289fbc77e427e52357974d10492de9e5313
4,935
cpp
C++
src/test/lib/operators/export_test.cpp
PeterTsayun/hyrise
40ed5e570a0ee2cb259f43607aa1d90dc52d77b8
[ "MIT" ]
null
null
null
src/test/lib/operators/export_test.cpp
PeterTsayun/hyrise
40ed5e570a0ee2cb259f43607aa1d90dc52d77b8
[ "MIT" ]
null
null
null
src/test/lib/operators/export_test.cpp
PeterTsayun/hyrise
40ed5e570a0ee2cb259f43607aa1d90dc52d77b8
[ "MIT" ]
null
null
null
#include <cstdio> #include <memory> #include <string> #include <utility> #include "base_test.hpp" #include "constant_mappings.hpp" #include "import_export/csv/csv_meta.hpp" #include "operators/export.hpp" #include "operators/table_scan.hpp" #include "operators/table_wrapper.hpp" #include "storage/chunk_encoder.hpp" #...
36.021898
119
0.724417
PeterTsayun
ff3c94c05ca8571e45c031997d720682ba68d5c5
87,186
cc
C++
src/OpenVolumeMesh/Core/TopologyKernel.cc
Rupemgera/VtkMeshFrame
abcaf84639d186756c06de73f1d6b4664566da14
[ "MIT" ]
null
null
null
src/OpenVolumeMesh/Core/TopologyKernel.cc
Rupemgera/VtkMeshFrame
abcaf84639d186756c06de73f1d6b4664566da14
[ "MIT" ]
null
null
null
src/OpenVolumeMesh/Core/TopologyKernel.cc
Rupemgera/VtkMeshFrame
abcaf84639d186756c06de73f1d6b4664566da14
[ "MIT" ]
null
null
null
/*===========================================================================*\ * * * OpenVolumeMesh * * Copyright (C) 2011 by Computer Graphics Group, RWTH Aachen * * ...
35.908567
159
0.548425
Rupemgera
ff3cc12609b5b5add9edd2700c8b5c6b83e1c43b
848
cxx
C++
source/code/icelib/private/output/elements/variable.cxx
iceshard-engine/code-emitter
b86eda2bc0cbdc4302fb4b03ce012ca2a0f3aeea
[ "BSD-3-Clause-Clear" ]
null
null
null
source/code/icelib/private/output/elements/variable.cxx
iceshard-engine/code-emitter
b86eda2bc0cbdc4302fb4b03ce012ca2a0f3aeea
[ "BSD-3-Clause-Clear" ]
2
2019-09-30T05:20:37.000Z
2019-10-10T19:18:59.000Z
source/code/icelib/private/output/elements/variable.cxx
iceshard-engine/code-emitter
b86eda2bc0cbdc4302fb4b03ce012ca2a0f3aeea
[ "BSD-3-Clause-Clear" ]
null
null
null
#include <ice/output/elements/variable.hxx> namespace ice::output { template<> auto ice::output::identifier(Variable const& data) noexcept -> std::string { static int lineid = 0; std::string unique_value{ "" }; if (!data.is_declaration) { if (data.unique.value....
24.228571
78
0.525943
iceshard-engine
ff3cfed995a8c065f5e14e011ee5fca5ec966a80
265
cc
C++
src/logging.cc
reiase/libmsg
69d61b5b6494db85b1623083f2bf3190fbe73380
[ "MIT" ]
null
null
null
src/logging.cc
reiase/libmsg
69d61b5b6494db85b1623083f2bf3190fbe73380
[ "MIT" ]
null
null
null
src/logging.cc
reiase/libmsg
69d61b5b6494db85b1623083f2bf3190fbe73380
[ "MIT" ]
null
null
null
#include "logging.h" namespace msg { int& loglevel() { static int value = LOG_INFO; return value; } } // namespace msg extern "C" { int current_loglevel() { return msg::loglevel(); } void set_current_loglevel(int log_level) { msg::loglevel() = log_level; } }
20.384615
73
0.686792
reiase
ff45e8fbc86ef27ebf276c1026097fc095672d41
7,390
cpp
C++
src/mongo/tools/mongoshim_options.cpp
amyvmiwei/mongo
b2ea63e14f6e382c42409c8bf6326115fca94888
[ "Apache-2.0" ]
1
2015-11-06T03:40:01.000Z
2015-11-06T03:40:01.000Z
src/mongo/tools/mongoshim_options.cpp
amyvmiwei/mongo
b2ea63e14f6e382c42409c8bf6326115fca94888
[ "Apache-2.0" ]
null
null
null
src/mongo/tools/mongoshim_options.cpp
amyvmiwei/mongo
b2ea63e14f6e382c42409c8bf6326115fca94888
[ "Apache-2.0" ]
null
null
null
// mongoshim_options.cpp /* * Copyright (C) 2014 MongoDB Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License, version 3, * as published by the Free Software Foundation. * * This program is distributed in the ...
37.704082
95
0.582273
amyvmiwei
ff4ddd4aed8bad4cfde8d225fd999213f45e601d
4,671
cpp
C++
ext/stub/java/util/zip/DeflaterOutputStream-stub.cpp
pebble2015/cpoi
6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6
[ "Apache-2.0" ]
null
null
null
ext/stub/java/util/zip/DeflaterOutputStream-stub.cpp
pebble2015/cpoi
6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6
[ "Apache-2.0" ]
null
null
null
ext/stub/java/util/zip/DeflaterOutputStream-stub.cpp
pebble2015/cpoi
6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6
[ "Apache-2.0" ]
null
null
null
// Generated from /Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre/lib/rt.jar #include <java/util/zip/DeflaterOutputStream.hpp> extern void unimplemented_(const char16_t* name); java::util::zip::DeflaterOutputStream::DeflaterOutputStream(const ::default_init_tag&) : super(*static_cast< ::defaul...
35.386364
150
0.696211
pebble2015
ff511f42f5169c97eba200140096ee4f3c1bb7d4
1,735
cpp
C++
tests/tests.cpp
pmaciel/delaunay-triangulation
e591c850e1f159c5a96160a544761db98f4c628c
[ "MIT" ]
null
null
null
tests/tests.cpp
pmaciel/delaunay-triangulation
e591c850e1f159c5a96160a544761db98f4c628c
[ "MIT" ]
null
null
null
tests/tests.cpp
pmaciel/delaunay-triangulation
e591c850e1f159c5a96160a544761db98f4c628c
[ "MIT" ]
null
null
null
#define CATCH_CONFIG_MAIN #include <random> #include <catch2/catch.hpp> #include "delaunay.h" TEST_CASE( "Delaunay triangulation should be able to triangulate 3 points as double", "[DelaunayTest]" ) { std::vector<Vector2> points; points.push_back(Vector2{0.0, 0.0}); points.push_back(Vector2{1.0, 0.0}); ...
37.717391
110
0.688761
pmaciel
ff51b067b2d7e04025b00b7f587afbb66e335764
4,554
cc
C++
src/lafun.cc
mortie/lafun-language
342e0780e3db28cdcf5339a1389674c55a1f8bec
[ "MIT" ]
7
2021-08-22T14:00:31.000Z
2022-01-08T01:58:06.000Z
src/lafun.cc
mortie/lafun-language
342e0780e3db28cdcf5339a1389674c55a1f8bec
[ "MIT" ]
null
null
null
src/lafun.cc
mortie/lafun-language
342e0780e3db28cdcf5339a1389674c55a1f8bec
[ "MIT" ]
null
null
null
#include "lafun/parse.h" #include "lafun/resolve.h" #include "lafun/codegen.h" #include "lafun/print.h" #include "lafun/prelude.h" #include "fun/IdentResolver.h" #include "fun/prelude.h" #include "fun/Codegen.h" #include "fun/print.h" #include "Reader.h" #include <fstream> #include <iostream> #include <sstream> #inclu...
24.616216
78
0.592446
mortie
ff58803be05bd1ddebf4418a6928056fb127d70c
457
cpp
C++
01. Array ADT/LinearSearch.cpp
IjlalAhmad845/DSA-Programs
0d6c585e40a8d8e55f5e4a42727efd68026151c9
[ "MIT" ]
8
2021-10-02T16:44:39.000Z
2022-03-13T18:32:07.000Z
01. Array ADT/LinearSearch.cpp
IjlalAhmad845/DSA-Programs
0d6c585e40a8d8e55f5e4a42727efd68026151c9
[ "MIT" ]
null
null
null
01. Array ADT/LinearSearch.cpp
IjlalAhmad845/DSA-Programs
0d6c585e40a8d8e55f5e4a42727efd68026151c9
[ "MIT" ]
1
2021-10-05T14:14:25.000Z
2021-10-05T14:14:25.000Z
#include<iostream>> using namespace std; int linearSearch(int element, int arr[], int size){ bool found=false; int i; for (i = 0; i < size;i++) if(element==arr[i]){ found = true; break; } if(found) return i; else return -1; } in...
17.576923
51
0.477024
IjlalAhmad845
ff5f6d16305e52067fd76782c663a8290231a98f
1,207
hpp
C++
xr3core/h/xr/functions/ReturnSelf.hpp
zyndor/xrhodes
15017c2ba6499b19e1dd327608ffb44dbaba7a4e
[ "BSD-2-Clause" ]
7
2018-11-13T09:44:56.000Z
2022-01-12T02:22:41.000Z
xr3core/h/xr/functions/ReturnSelf.hpp
zyndor/xrhodes
15017c2ba6499b19e1dd327608ffb44dbaba7a4e
[ "BSD-2-Clause" ]
2
2018-10-30T08:19:02.000Z
2018-12-31T18:48:13.000Z
xr3core/h/xr/functions/ReturnSelf.hpp
zyndor/xrhodes
15017c2ba6499b19e1dd327608ffb44dbaba7a4e
[ "BSD-2-Clause" ]
null
null
null
#ifndef XR_RETURNSELF_HPP #define XR_RETURNSELF_HPP //============================================================================== // // XRhodes // // copyright (c) Gyorgy Straub. All rights reserved. // // License: https://github.com/zyndor/xrhodes#License-bsd-2-clause // //==========================================...
21.553571
81
0.557581
zyndor
ff5ff37d6f00ce011a83d2998ebc2b0967e92761
4,650
hpp
C++
src/centurion/video/system_cursor.hpp
tiduslaugh/centurion
9a8720badb2f05ada9c4940b9b331f38df4d7545
[ "MIT" ]
null
null
null
src/centurion/video/system_cursor.hpp
tiduslaugh/centurion
9a8720badb2f05ada9c4940b9b331f38df4d7545
[ "MIT" ]
null
null
null
src/centurion/video/system_cursor.hpp
tiduslaugh/centurion
9a8720badb2f05ada9c4940b9b331f38df4d7545
[ "MIT" ]
null
null
null
#ifndef CENTURION_SYSTEM_CURSOR_HEADER #define CENTURION_SYSTEM_CURSOR_HEADER #include <SDL2/SDL.h> #include <ostream> // ostream #include <string_view> // string_view #include "../core/exception.hpp" namespace cen { /// \addtogroup video /// \{ /** * \enum system_cursor * * \brief Represents the various...
23.72449
89
0.676344
tiduslaugh
ff60b1dc561fec02768ba2e5c7d4e4361716adea
1,034
cpp
C++
src/merge_two_sorted_array.cpp
Redouane64/Introduction-to-programming
15ea6d6255409600b5367b25cfaac8b1f63b53d6
[ "MIT" ]
null
null
null
src/merge_two_sorted_array.cpp
Redouane64/Introduction-to-programming
15ea6d6255409600b5367b25cfaac8b1f63b53d6
[ "MIT" ]
null
null
null
src/merge_two_sorted_array.cpp
Redouane64/Introduction-to-programming
15ea6d6255409600b5367b25cfaac8b1f63b53d6
[ "MIT" ]
null
null
null
// Merge.cpp : This file contains the 'main' function. Program execution begins and ends there. // #include <iostream> using namespace std; int *merge(int *a, int n, int *b, int m) { int i = 0, j = 0, k = 0; int *c = new int[n + m]; while (i < n && j < m) { if (a[i] < b[j]) { ...
16.15625
95
0.403288
Redouane64
ff62896d29b31db4ed46f289a2eada15a1943620
7,457
cpp
C++
WireBond_FOPEM/DlgKeyInputPad.cpp
ZHAOZhengyi-tgx/WB-FoPMD
b538cb230b19cabb73784dafbde047e89e921d4e
[ "MIT" ]
null
null
null
WireBond_FOPEM/DlgKeyInputPad.cpp
ZHAOZhengyi-tgx/WB-FoPMD
b538cb230b19cabb73784dafbde047e89e921d4e
[ "MIT" ]
null
null
null
WireBond_FOPEM/DlgKeyInputPad.cpp
ZHAOZhengyi-tgx/WB-FoPMD
b538cb230b19cabb73784dafbde047e89e921d4e
[ "MIT" ]
null
null
null
//The MIT License (MIT) // //Copyright (c) 2016 ZHAOZhengyi-tgx // //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...
34.050228
100
0.78262
ZHAOZhengyi-tgx
ff6444a83ef2f30d78f7b1bb73bed121984aff2d
1,364
hpp
C++
src/sn_Builtin/crtdbg.hpp
Airtnp/SuperNaiveCppLib
0745aa79dc5060cd0f7025658164374b991c698e
[ "MIT" ]
4
2017-04-01T08:09:09.000Z
2017-05-20T11:35:58.000Z
src/sn_Builtin/crtdbg.hpp
Airtnp/ACppLib
0745aa79dc5060cd0f7025658164374b991c698e
[ "MIT" ]
null
null
null
src/sn_Builtin/crtdbg.hpp
Airtnp/ACppLib
0745aa79dc5060cd0f7025658164374b991c698e
[ "MIT" ]
null
null
null
#ifndef SN_BUILTIN_CRTDBG_H #define SN_BUILTIN_CRTDBG_H #include "../sn_Config.hpp" #if defined(SN_CONFIG_COMPILER_MSVC) #include <stdlib.h> #include <crtdbg.h> #define _CRTDBG_MAP_ALLOC #ifdef _DEBUG #define SN_BUILTIN_CRTDBG_NEW new(_NORMAL_BLOCK, __FILE__, __LINE__) #define new SN_BUILTIN_CRTDBG_NEW #end...
25.735849
107
0.631232
Airtnp
ff6c7fd6401f75baef245e66a86b52e90297885c
2,774
cpp
C++
Source/AccelByteUe4Sdk/Private/Blueprints/AccelByteCategoryBlueprints.cpp
leowind/accelbyte-unreal-sdk-plugin
73a7bf289abbba8141767eb16005aaf8293f8a63
[ "MIT" ]
null
null
null
Source/AccelByteUe4Sdk/Private/Blueprints/AccelByteCategoryBlueprints.cpp
leowind/accelbyte-unreal-sdk-plugin
73a7bf289abbba8141767eb16005aaf8293f8a63
[ "MIT" ]
null
null
null
Source/AccelByteUe4Sdk/Private/Blueprints/AccelByteCategoryBlueprints.cpp
leowind/accelbyte-unreal-sdk-plugin
73a7bf289abbba8141767eb16005aaf8293f8a63
[ "MIT" ]
null
null
null
// Copyright (c) 2018-2019 AccelByte Inc. All Rights Reserved. // This is licensed software from AccelByte Inc, for limitations // and restrictions contact your company contract manager. #include "Blueprints/AccelByteCategoryBlueprints.h" #include "Api/AccelByteCategoryApi.h" #include "Core/AccelByteSettings.h" #inclu...
43.34375
201
0.81651
leowind