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
9d0d7e94d62019a219cc2d281bc21e5da19b6856
5,179
cpp
C++
VulkanEngine/src/internal_buffer.cpp
JorgeVirgos/FinalProject
5c239f86b126f6eb9625b8d1b36125eb660c298d
[ "MIT" ]
null
null
null
VulkanEngine/src/internal_buffer.cpp
JorgeVirgos/FinalProject
5c239f86b126f6eb9625b8d1b36125eb660c298d
[ "MIT" ]
null
null
null
VulkanEngine/src/internal_buffer.cpp
JorgeVirgos/FinalProject
5c239f86b126f6eb9625b8d1b36125eb660c298d
[ "MIT" ]
null
null
null
#include "internal_buffer.h" #include "render_context.h" VKE::InternalBuffer& VKE::Buffer::getInternalRsc(VKE::RenderContext* render_ctx) { return render_ctx->getInternalRsc<VKE::Buffer::internal_class>(*this); } VKE::InternalBuffer::InternalBuffer(){ has_been_initialised_ = false; has_been_allocated_ = false; ...
32.36875
126
0.777949
JorgeVirgos
9d0fbd5e941c1d6dbd063972b8c56d822ef1f118
18,668
cpp
C++
coast/wdbase/Context.cpp
zer0infinity/CuteForCoast
37d933c5fe2e0ce9a801f51b2aa27c7a18098511
[ "BSD-3-Clause" ]
null
null
null
coast/wdbase/Context.cpp
zer0infinity/CuteForCoast
37d933c5fe2e0ce9a801f51b2aa27c7a18098511
[ "BSD-3-Clause" ]
null
null
null
coast/wdbase/Context.cpp
zer0infinity/CuteForCoast
37d933c5fe2e0ce9a801f51b2aa27c7a18098511
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright (c) 2005, Peter Sommerlad and IFS Institute for Software at HSR Rapperswil, Switzerland * All rights reserved. * * This library/application is free software; you can redistribute and/or modify it under the terms of * the license that is included with this library/application in the file license.txt....
31.694397
136
0.662953
zer0infinity
9d0fc075e3ff8ae0e68b9d134029148bbde81c92
157
cpp
C++
4rth_Sem_c++_backup/SHIT/fre.cpp
SayanGhoshBDA/code-backup
8b6135facc0e598e9686b2e8eb2d69dd68198b80
[ "MIT" ]
16
2018-11-26T08:39:42.000Z
2019-05-08T10:09:52.000Z
4rth_Sem_c++_backup/SHIT/fre.cpp
SayanGhoshBDA/code-backup
8b6135facc0e598e9686b2e8eb2d69dd68198b80
[ "MIT" ]
8
2020-05-04T06:29:26.000Z
2022-02-12T05:33:16.000Z
4rth_Sem_c++_backup/SHIT/fre.cpp
SayanGhoshBDA/code-backup
8b6135facc0e598e9686b2e8eb2d69dd68198b80
[ "MIT" ]
5
2020-02-11T16:02:21.000Z
2021-02-05T07:48:30.000Z
#include"iostream.h" void main() { int a,b; cout<<"input values"<<endl; cin>>a; cin>>b; if(a>b) cout<<a<<endl; else cout<<b<<endl; }
11.214286
29
0.522293
SayanGhoshBDA
9d11c7129658aaf50641bd59e68aa5240983cb0f
2,819
cpp
C++
src/tests/sys/test_fdm_lead.cpp
fe5084/mscsim
2b0025a9e4bda69b0d83147b1e701375fef437f8
[ "MIT" ]
1
2020-02-11T08:17:23.000Z
2020-02-11T08:17:23.000Z
src/tests/sys/test_fdm_lead.cpp
fe5084/mscsim
2b0025a9e4bda69b0d83147b1e701375fef437f8
[ "MIT" ]
null
null
null
src/tests/sys/test_fdm_lead.cpp
fe5084/mscsim
2b0025a9e4bda69b0d83147b1e701375fef437f8
[ "MIT" ]
null
null
null
#include <iostream> #include <QString> #include <QtTest> #include <fdm/sys/fdm_Lead.h> //////////////////////////////////////////////////////////////////////////////// #define TIME_STEP 0.1 #define TIME_CONSTANT 0.3 //////////////////////////////////////////////////////////////////////////////// using namespace s...
21.037313
84
0.346222
fe5084
9d12c26c9dd7a6697c812fa6a6b0019a8217616a
824
cpp
C++
code/data_structures/src/array/1d/operation/firstDuplicate.cpp
baesparza/dataStructuresAndAlgorithms
3d6e5938f8c25e8e51e845a6e2e87df723e3fa2b
[ "MIT" ]
1
2020-03-15T05:39:45.000Z
2020-03-15T05:39:45.000Z
code/data_structures/src/array/1d/operation/firstDuplicate.cpp
baesparza/dataStructuresAndAlgorithms
3d6e5938f8c25e8e51e845a6e2e87df723e3fa2b
[ "MIT" ]
null
null
null
code/data_structures/src/array/1d/operation/firstDuplicate.cpp
baesparza/dataStructuresAndAlgorithms
3d6e5938f8c25e8e51e845a6e2e87df723e3fa2b
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <unordered_map> void print(std::vector<int> &arr) { std::cout << "Array: {"; for (int j = 0; j < arr.size(); j++) std::cout << arr[j] << ","; std::cout << "}" << std::endl; } int firstDupicate(std::vector<int> a) { // we create an unordered_map, to check...
22.27027
91
0.540049
baesparza
9d1593e244d99917a52f7d753a6430ad85377934
3,123
cpp
C++
src/scheme.cpp
ajacocks/browservice
a4568c8af57d174131290402a248abfea9778109
[ "MIT" ]
742
2020-06-20T15:01:06.000Z
2022-03-28T11:23:39.000Z
src/scheme.cpp
ajacocks/browservice
a4568c8af57d174131290402a248abfea9778109
[ "MIT" ]
70
2020-06-23T00:41:22.000Z
2022-03-28T04:26:12.000Z
src/scheme.cpp
ajacocks/browservice
a4568c8af57d174131290402a248abfea9778109
[ "MIT" ]
25
2020-06-21T22:54:00.000Z
2022-03-12T06:12:01.000Z
#include "scheme.hpp" #include "bookmarks.hpp" namespace browservice { namespace { class StaticResponseResourceHandler : public CefResourceHandler { public: StaticResponseResourceHandler(int status, string statusText, string response) { status_ = status; statusText_ = move(statusText); r...
26.466102
90
0.610631
ajacocks
1dd76dd0a4ed3f1b9bdbd966798bdc6157eff3dc
788
cpp
C++
coding-challenges/books/cracking-the-coding-interview/chapter-1/c++/1-1-all-unique-character.cpp
mcqueenjordan/learning_sandbox
ffe739ba3ad7b62938daaa271e9f738c305f4499
[ "MIT" ]
1
2018-05-12T04:52:21.000Z
2018-05-12T04:52:21.000Z
coding-challenges/books/cracking-the-coding-interview/chapter-1/c++/1-1-all-unique-character.cpp
mcqueenjordan/learning
ffe739ba3ad7b62938daaa271e9f738c305f4499
[ "MIT" ]
1
2016-06-03T00:42:17.000Z
2016-06-07T01:55:33.000Z
coding-challenges/books/cracking-the-coding-interview/chapter-1/c++/1-1-all-unique-character.cpp
mcqueenjordan/learning_sandbox
ffe739ba3ad7b62938daaa271e9f738c305f4499
[ "MIT" ]
null
null
null
/* 1. Implement an algorithm to determine if a string has all unique characters. */ #include <iostream> #include <map> #include <string> bool check_if_unique(std::string& string) { std::map<char, bool> checked; for (char& c : string) { if (checked.find(c) != checked.end()) { re...
17.909091
77
0.56599
mcqueenjordan
1dd88c1c8dfbda9bddbe54970685fccdad9db6e7
1,583
cpp
C++
src/parser/transform/expression/transform_constant.cpp
Longi94/duckdb
2debf14528e408841a4bc6f43eb114275a096d4e
[ "MIT" ]
null
null
null
src/parser/transform/expression/transform_constant.cpp
Longi94/duckdb
2debf14528e408841a4bc6f43eb114275a096d4e
[ "MIT" ]
null
null
null
src/parser/transform/expression/transform_constant.cpp
Longi94/duckdb
2debf14528e408841a4bc6f43eb114275a096d4e
[ "MIT" ]
null
null
null
#include "duckdb/parser/expression/constant_expression.hpp" #include "duckdb/parser/transformer.hpp" #include "duckdb/common/operator/cast_operators.hpp" using namespace duckdb; using namespace std; unique_ptr<ParsedExpression> Transformer::TransformValue(PGValue val) { switch (val.type) { case T_PGInteger: asser...
35.177778
98
0.734049
Longi94
1dd9ac91774a3a9b97470b2ae50168a1e75a4c8a
1,844
cc
C++
testing/variable_storage/OutputTrial.cc
pgmaginot/DARK_ARTS
f04b0a30dcac911ef06fe0916921020826f5c42b
[ "MIT" ]
null
null
null
testing/variable_storage/OutputTrial.cc
pgmaginot/DARK_ARTS
f04b0a30dcac911ef06fe0916921020826f5c42b
[ "MIT" ]
null
null
null
testing/variable_storage/OutputTrial.cc
pgmaginot/DARK_ARTS
f04b0a30dcac911ef06fe0916921020826f5c42b
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <math.h> #include <string> #include "Input_Reader.h" #include "Cell_Data.h" #include "Fem_Quadrature.h" #include "Angular_Quadrature.h" #include "Quadrule_New.h" #include "Materials.h" #include "Intensity_Data.h" #include "Temperature_Data.h" #include "Intens...
29.269841
105
0.707701
pgmaginot
1ddcbfb26479e38b4b32149d302543f4415c393b
8,890
cpp
C++
Nacro/SDK/FN_StatsListItemWIdget_functions.cpp
Milxnor/Nacro
eebabf662bbce6d5af41820ea0342d3567a0aecc
[ "BSD-2-Clause" ]
11
2021-08-08T23:25:10.000Z
2022-02-19T23:07:22.000Z
Nacro/SDK/FN_StatsListItemWIdget_functions.cpp
Milxnor/Nacro
eebabf662bbce6d5af41820ea0342d3567a0aecc
[ "BSD-2-Clause" ]
1
2022-01-01T22:51:59.000Z
2022-01-08T16:14:15.000Z
Nacro/SDK/FN_StatsListItemWIdget_functions.cpp
Milxnor/Nacro
eebabf662bbce6d5af41820ea0342d3567a0aecc
[ "BSD-2-Clause" ]
8
2021-08-09T13:51:54.000Z
2022-01-26T20:33:37.000Z
// Fortnite (1.8) SDK #ifdef _MSC_VER #pragma pack(push, 0x8) #endif #include "../SDK.hpp" namespace SDK { //--------------------------------------------------------------------------- //Functions //--------------------------------------------------------------------------- // Function StatsListItemWIdget.StatsLis...
29.052288
140
0.771429
Milxnor
1ddd60ca8996bfd403ac0bf57c761000b75f66c7
1,034
cpp
C++
source/WinSimu/SimDrawer.cpp
Borrk/Enzyme-labeled-instrument
a7c8f4459511c774f7e0c4fee1fe05baf1ae2a5f
[ "MIT" ]
null
null
null
source/WinSimu/SimDrawer.cpp
Borrk/Enzyme-labeled-instrument
a7c8f4459511c774f7e0c4fee1fe05baf1ae2a5f
[ "MIT" ]
null
null
null
source/WinSimu/SimDrawer.cpp
Borrk/Enzyme-labeled-instrument
a7c8f4459511c774f7e0c4fee1fe05baf1ae2a5f
[ "MIT" ]
null
null
null
// SimDrawer.cpp: implementation of the SimDrawer class. // ////////////////////////////////////////////////////////////////////// #include "stdafx.h" #include "enmark.h" #include "SimDrawer.h" #ifdef _DEBUG #undef THIS_FILE static char THIS_FILE[]=__FILE__; #define new DEBUG_NEW #endif /////////////////////////////...
17.233333
98
0.499033
Borrk
1de0dcbdd721f66a6062de0b20b3b655f3adae9e
1,417
hpp
C++
cu-smallpt/cu-smallpt/src/cuda_tools.hpp
matt77hias/cu-smallpt
797d785b4112203b97bac1a112c70b5c94377bd6
[ "MIT" ]
8
2016-12-15T16:22:32.000Z
2022-03-16T11:59:14.000Z
cu-smallpt/cu-smallpt/src/cuda_tools.hpp
matt77hias/cu-smallpt
797d785b4112203b97bac1a112c70b5c94377bd6
[ "MIT" ]
null
null
null
cu-smallpt/cu-smallpt/src/cuda_tools.hpp
matt77hias/cu-smallpt
797d785b4112203b97bac1a112c70b5c94377bd6
[ "MIT" ]
3
2019-04-09T18:38:41.000Z
2021-06-24T17:00:38.000Z
#pragma once //----------------------------------------------------------------------------- // CUDA Includes //----------------------------------------------------------------------------- #pragma region #include "cuda_runtime.h" #pragma endregion //------------------------------------------------------...
29.520833
80
0.352858
matt77hias
1de45f91923163182ae96433fab67a0f11027076
1,039
cpp
C++
spruce/src/system/assets.cpp
gergoszaszvaradi/spruce-engine
8c6a3d38bc5f120cdfa6dfea0dc2d3b9edd65fcb
[ "MIT" ]
null
null
null
spruce/src/system/assets.cpp
gergoszaszvaradi/spruce-engine
8c6a3d38bc5f120cdfa6dfea0dc2d3b9edd65fcb
[ "MIT" ]
null
null
null
spruce/src/system/assets.cpp
gergoszaszvaradi/spruce-engine
8c6a3d38bc5f120cdfa6dfea0dc2d3b9edd65fcb
[ "MIT" ]
null
null
null
#include "sprpch.h" #include "assets.h" #include "graphics/texture.h" #include "graphics/shader.h" namespace spr { template<> std::unordered_map<std::string, Ref<Shader>> AssetManager<Shader>::assets; std::unordered_map<std::string, Ref<Texture>> AssetManager<Texture>::assets; template<> SPR_API...
28.081081
84
0.595765
gergoszaszvaradi
1de70bc3f4fa01c8da0408e0b97caf8479d3fa09
8,894
cpp
C++
src/VLightCurveWriter.cpp
GernotMaier/Eventdisplay
b244d65856ddc26ea8ef88af53d2b247e8d5936c
[ "BSD-3-Clause" ]
11
2019-12-10T13:34:46.000Z
2021-08-24T15:39:35.000Z
src/VLightCurveWriter.cpp
Eventdisplay/Eventdisplay
01ef380cf53a44f95351960a297a2d4f271a4160
[ "BSD-3-Clause" ]
53
2019-11-19T13:14:36.000Z
2022-02-16T14:22:27.000Z
src/VLightCurveWriter.cpp
pivosb/Eventdisplay
6b299a1d3f77ddb641f98a511a37a5045ddd6b47
[ "BSD-3-Clause" ]
3
2020-05-07T13:52:46.000Z
2021-06-25T09:49:21.000Z
/* \class VLightCurveWriter \brief write / print light curves in different formats */ #include "VLightCurveWriter.h" VLightCurveWriter::VLightCurveWriter() { fDebug = false; } VLightCurveWriter::VLightCurveWriter( vector< VFluxDataPoint > iDataVector ) { fDebug = false; setDataVector( iDa...
31.878136
131
0.557342
GernotMaier
1de7382e867adc85d280d0fe15b2b3b2e6badd67
3,447
hpp
C++
include/lug/Graphics/Node.hpp
Lugdunum3D/Lugdunum3D
b6d6907d034fdba1ffc278b96598eba1d860f0d4
[ "MIT" ]
275
2016-10-08T15:33:17.000Z
2022-03-30T06:11:56.000Z
include/lug/Graphics/Node.hpp
Lugdunum3D/Lugdunum3D
b6d6907d034fdba1ffc278b96598eba1d860f0d4
[ "MIT" ]
24
2016-09-29T20:51:20.000Z
2018-05-09T21:41:36.000Z
include/lug/Graphics/Node.hpp
Lugdunum3D/Lugdunum3D
b6d6907d034fdba1ffc278b96598eba1d860f0d4
[ "MIT" ]
37
2017-02-25T05:03:48.000Z
2021-05-10T19:06:29.000Z
#pragma once #include <memory> #include <vector> #include <lug/Graphics/Export.hpp> #include <lug/Math/Matrix.hpp> #include <lug/Math/Quaternion.hpp> #include <lug/Math/Vector.hpp> namespace lug { namespace Graphics { class LUG_GRAPHICS_API Node { public: enum class TransformSpace : uint8_t { Local, ...
32.214953
184
0.680302
Lugdunum3D
1de74e897b773597531a34711f074e03be9ab494
1,258
cpp
C++
aslam_offline_calibration/kalibr_cpp/src/EuclideanError.cpp
chengfzy/kalibr
fe9705b380b160dc939607135f7d30efa64ea2e9
[ "BSD-4-Clause" ]
null
null
null
aslam_offline_calibration/kalibr_cpp/src/EuclideanError.cpp
chengfzy/kalibr
fe9705b380b160dc939607135f7d30efa64ea2e9
[ "BSD-4-Clause" ]
null
null
null
aslam_offline_calibration/kalibr_cpp/src/EuclideanError.cpp
chengfzy/kalibr
fe9705b380b160dc939607135f7d30efa64ea2e9
[ "BSD-4-Clause" ]
null
null
null
#include <kalibr_errorterms/EuclideanError.hpp> namespace kalibr_errorterms { EuclideanError::EuclideanError(const Eigen::Vector3d& measurement, const Eigen::Matrix3d invR, const aslam::backend::EuclideanExpression& predicted_measurement) : _measurement(measurement), _predictedMeasu...
39.3125
107
0.77504
chengfzy
1de79bcf0ec523a4440cdd50b2845e0cd454843e
546,113
cpp
C++
src/main_4100.cpp
RedBrumbler/virtuoso-codegen
e83f6f0f9b47bec4b6dd976b21edc1d46bf3cfe3
[ "Unlicense" ]
null
null
null
src/main_4100.cpp
RedBrumbler/virtuoso-codegen
e83f6f0f9b47bec4b6dd976b21edc1d46bf3cfe3
[ "Unlicense" ]
null
null
null
src/main_4100.cpp
RedBrumbler/virtuoso-codegen
e83f6f0f9b47bec4b6dd976b21edc1d46bf3cfe3
[ "Unlicense" ]
null
null
null
// Autogenerated from CppSourceCreator // Created by Sc2ad // ========================================================================= // Begin includes // Including type: Oculus.Platform.CAPI/Oculus.Platform.ovrKeyValuePair #include "Oculus/Platform/CAPI.hpp" #include "beatsaber-hook/shared/utils/il2cpp-utils.hpp" #i...
85.812854
397
0.793995
RedBrumbler
1de9dd987a17339e6f578ef51e50b69b9fcaae31
529
hpp
C++
include/jln/mp/smp/functional/eval.hpp
jonathanpoelen/jln.mp
e5f05fc4467f14ac0047e3bdc75a04076e689985
[ "MIT" ]
9
2020-07-04T16:46:13.000Z
2022-01-09T21:59:31.000Z
include/jln/mp/smp/functional/eval.hpp
jonathanpoelen/jln.mp
e5f05fc4467f14ac0047e3bdc75a04076e689985
[ "MIT" ]
null
null
null
include/jln/mp/smp/functional/eval.hpp
jonathanpoelen/jln.mp
e5f05fc4467f14ac0047e3bdc75a04076e689985
[ "MIT" ]
1
2021-05-23T13:37:40.000Z
2021-05-23T13:37:40.000Z
#pragma once #include <jln/mp/smp/contract.hpp> #include <jln/mp/functional/eval.hpp> #ifdef __cpp_nontype_template_parameter_class #if __cpp_nontype_template_parameter_class >= 201806L namespace jln::mp::smp { template <auto F, class C = identity> using eval = try_contract<mp::eval<F, assume_unary<C>>>; } /// ...
19.592593
58
0.705104
jonathanpoelen
1de9e7aad58c391fbbe3ed91f99ca089063c818d
3,640
cpp
C++
apps/Sync/main.cpp
scivis-exhibitions/OpenSpace
5b69cf45f110354ecf3bdbcee8cf9d2c75b07e9e
[ "MIT" ]
489
2015-07-14T22:23:10.000Z
2022-03-30T07:59:47.000Z
apps/Sync/main.cpp
scivis-exhibitions/OpenSpace
5b69cf45f110354ecf3bdbcee8cf9d2c75b07e9e
[ "MIT" ]
1,575
2016-07-12T18:10:22.000Z
2022-03-31T20:12:55.000Z
apps/Sync/main.cpp
scivis-exhibitions/OpenSpace
5b69cf45f110354ecf3bdbcee8cf9d2c75b07e9e
[ "MIT" ]
101
2016-03-01T02:22:01.000Z
2022-02-25T15:36:27.000Z
/***************************************************************************************** * * * OpenSpace * * ...
48.533333
90
0.513187
scivis-exhibitions
1deb7cae452e6fd0b8f53771c9c0147ffae65d09
2,223
cpp
C++
remote/rtRemoteAsyncHandle.cpp
madanwork/pxcore-local
c08e9b7a8b675bab71f6c0771c03f8e416cc9545
[ "Apache-2.0" ]
null
null
null
remote/rtRemoteAsyncHandle.cpp
madanwork/pxcore-local
c08e9b7a8b675bab71f6c0771c03f8e416cc9545
[ "Apache-2.0" ]
null
null
null
remote/rtRemoteAsyncHandle.cpp
madanwork/pxcore-local
c08e9b7a8b675bab71f6c0771c03f8e416cc9545
[ "Apache-2.0" ]
null
null
null
#include "rtRemoteAsyncHandle.h" #include "rtRemoteEnvironment.h" #include "rtRemoteMessage.h" #include "rtRemoteConfig.h" rtRemoteAsyncHandle::rtRemoteAsyncHandle(rtRemoteEnvironment* env, rtRemoteCorrelationKey k) : m_env(env) , m_key(k) , m_error(RT_ERROR_IN_PROGRESS) { RT_ASSERT(m_key != rtGuid::null()); ...
25.848837
107
0.690958
madanwork
1dec21c348f5c571b964a0725e6893a54028da0a
3,549
cpp
C++
Viewports/ImageViewportWidget.cpp
FabricExile/FabricUI
91593eb7ee85ef096dc8b6cede81ae432f33fde9
[ "BSD-3-Clause" ]
3
2017-12-01T21:39:27.000Z
2017-12-04T16:50:54.000Z
Viewports/ImageViewportWidget.cpp
FabricExile/FabricUI
91593eb7ee85ef096dc8b6cede81ae432f33fde9
[ "BSD-3-Clause" ]
null
null
null
Viewports/ImageViewportWidget.cpp
FabricExile/FabricUI
91593eb7ee85ef096dc8b6cede81ae432f33fde9
[ "BSD-3-Clause" ]
2
2017-12-02T00:21:42.000Z
2018-07-10T09:50:23.000Z
#include "ImageViewportWidget.h" #include <stdio.h> #include <stdlib.h> #include <iostream> #include <string> #include <algorithm> #include <iterator> #include <cmath> #include <ostream> #include <fstream> #include <streambuf> #include <memory> using namespace FabricUI::Viewports; ImageViewportWidget::ImageViewportW...
21.773006
108
0.678783
FabricExile
1df36b2d5345df944f888feee0ae3776e1764d7e
3,576
cpp
C++
blades/xbmc/xbmc/guilib/GUIListLabel.cpp
krattai/AEBL
a7b12c97479e1236d5370166b15ca9f29d7d4265
[ "BSD-2-Clause" ]
4
2016-04-26T03:43:54.000Z
2016-11-17T08:09:04.000Z
blades/xbmc/xbmc/guilib/GUIListLabel.cpp
krattai/AEBL
a7b12c97479e1236d5370166b15ca9f29d7d4265
[ "BSD-2-Clause" ]
17
2015-01-05T21:06:22.000Z
2015-12-07T20:45:44.000Z
blades/xbmc/xbmc/guilib/GUIListLabel.cpp
krattai/AEBL
a7b12c97479e1236d5370166b15ca9f29d7d4265
[ "BSD-2-Clause" ]
3
2016-04-26T03:43:55.000Z
2020-11-06T11:02:08.000Z
/* * Copyright (C) 2005-2013 Team XBMC * http://xbmc.org * * This Program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2, or (at your option) * any later version. * * ...
27.9375
200
0.724832
krattai
1df515b9eaed81ac759569276fa08a03c7f2a7ec
5,682
cpp
C++
RegNRecon/jly_main.cpp
MrJia1997/RenderKinect
6cc6d6a56ce6a925920e155db5aa6f5239c563e8
[ "MIT" ]
null
null
null
RegNRecon/jly_main.cpp
MrJia1997/RenderKinect
6cc6d6a56ce6a925920e155db5aa6f5239c563e8
[ "MIT" ]
null
null
null
RegNRecon/jly_main.cpp
MrJia1997/RenderKinect
6cc6d6a56ce6a925920e155db5aa6f5239c563e8
[ "MIT" ]
null
null
null
/******************************************************************** Main Function for point cloud registration with Go-ICP Algorithm Last modified: Feb 13, 2014 "Go-ICP: Solving 3D Registration Efficiently and Globally Optimally" Jiaolong Yang, Hongdong Li, Yunde Jia International Conference on Computer Vision (ICCV...
29.440415
145
0.666491
MrJia1997
1df714549c028f535dae6614b37f8018cef9829f
10,288
cpp
C++
die-tk/linux/ConvertersX11.cpp
thinlizzy/die-tk
eba597d9453318b03e44f15753323be80ecb3a4e
[ "Artistic-2.0" ]
11
2015-11-06T01:35:35.000Z
2021-05-01T18:34:50.000Z
die-tk/linux/ConvertersX11.cpp
thinlizzy/die-tk
eba597d9453318b03e44f15753323be80ecb3a4e
[ "Artistic-2.0" ]
null
null
null
die-tk/linux/ConvertersX11.cpp
thinlizzy/die-tk
eba597d9453318b03e44f15753323be80ecb3a4e
[ "Artistic-2.0" ]
2
2017-07-06T16:05:51.000Z
2019-07-04T01:17:15.000Z
#include "ConvertersX11.h" #include <X11/Xlib.h> #include <X11/cursorfont.h> #include <X11/keysym.h> #include "ResourceManager.h" #define XES(et) case et: return #et namespace tk { std::string xEventToStr(int eventType) { switch(eventType) { case 0: return "error?"; case 1: return "reply?"; XES(KeyPress); XES(K...
25.849246
67
0.679724
thinlizzy
1dffe6ef8b8b801df99225f2fb776e66a44daf9c
1,362
hpp
C++
src/gameworld/gameworld/other/bigchatface/bigchatfaceconfig.hpp
mage-game/metagame-xm-server
193b67389262803fe0eae742800b1e878b5b3087
[ "MIT" ]
3
2021-12-16T13:57:28.000Z
2022-03-26T07:50:08.000Z
src/gameworld/gameworld/other/bigchatface/bigchatfaceconfig.hpp
mage-game/metagame-xm-server
193b67389262803fe0eae742800b1e878b5b3087
[ "MIT" ]
null
null
null
src/gameworld/gameworld/other/bigchatface/bigchatfaceconfig.hpp
mage-game/metagame-xm-server
193b67389262803fe0eae742800b1e878b5b3087
[ "MIT" ]
1
2022-03-26T07:50:11.000Z
2022-03-26T07:50:11.000Z
#ifndef __BIG_CHATFACE_CONFIG_HPP__ #define __BIG_CHATFACE_CONFIG_HPP__ #include "common/tinyxml/tinyxml.h" #include "servercommon/serverdef.h" #include "servercommon/bigchatfacedef.hpp" #include "servercommon/struct/itemlistparam.h" #include "servercommon/configbase.h" #include "servercommon/pugixml/pugixml_adapter....
23.894737
151
0.799559
mage-game
38002cf05f7fff1c6541e2eb60e84a38ae085e2d
9,732
cpp
C++
src/SuperCardPro.cpp
simonowen/samdisk
9b1391dd233015db633cb83b43d62c15a98f4e3a
[ "MIT" ]
52
2016-05-26T19:24:37.000Z
2022-03-24T16:13:48.000Z
src/SuperCardPro.cpp
simonowen/samdisk
9b1391dd233015db633cb83b43d62c15a98f4e3a
[ "MIT" ]
17
2017-02-04T00:10:50.000Z
2022-01-19T09:56:18.000Z
src/SuperCardPro.cpp
simonowen/samdisk
9b1391dd233015db633cb83b43d62c15a98f4e3a
[ "MIT" ]
9
2016-05-13T02:16:05.000Z
2020-08-30T11:34:34.000Z
// SuperCard Pro device base class #include "SAMdisk.h" #include "SuperCardPro.h" #ifdef HAVE_FTD2XX #include "SCP_FTD2XX.h" #endif #ifdef HAVE_FTDI #include "SCP_FTDI.h" #endif #include "SCP_USB.h" #ifdef _WIN32 #include "SCP_Win32.h" #endif // Storage for class statics. const int SuperCardPro::MAX_FLUX_REVS; // S...
25.6781
146
0.633785
simonowen
380060f81bee45d7e224bac9560a8caf169abdcd
1,161
cpp
C++
Contests/_Archived/Old-Dell/Luogu/lg1233.cpp
DCTewi/My-Codes
9904f8057ec96e21cbc8cf9c62a49658a0f6d392
[ "MIT" ]
null
null
null
Contests/_Archived/Old-Dell/Luogu/lg1233.cpp
DCTewi/My-Codes
9904f8057ec96e21cbc8cf9c62a49658a0f6d392
[ "MIT" ]
null
null
null
Contests/_Archived/Old-Dell/Luogu/lg1233.cpp
DCTewi/My-Codes
9904f8057ec96e21cbc8cf9c62a49658a0f6d392
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; const int MAXN = 5e3 + 5; class Wood { public: Wood(){} Wood(int l, int w) { this->l = l; this->w = w; } int l, w; bool operator>(const Wood& other) const { return this->l == other.l? this->w > other.w: this->l > other.l; } }; int n, vis[MAXN], viscont = 0...
17.590909
85
0.534022
DCTewi
3804fa96b4f3f98ebcc7b9ea2b975c0103353172
1,997
cpp
C++
src/openloco/windows/constructionwnd.cpp
SmallJoker/OpenLoco
f42ed80be8fac5c1c5d122352a212585d54aa71f
[ "MIT" ]
1
2018-02-22T06:03:32.000Z
2018-02-22T06:03:32.000Z
src/openloco/windows/constructionwnd.cpp
SmallJoker/OpenLoco
f42ed80be8fac5c1c5d122352a212585d54aa71f
[ "MIT" ]
null
null
null
src/openloco/windows/constructionwnd.cpp
SmallJoker/OpenLoco
f42ed80be8fac5c1c5d122352a212585d54aa71f
[ "MIT" ]
1
2022-03-22T01:46:13.000Z
2022-03-22T01:46:13.000Z
#include "../input.h" #include "../interop/interop.hpp" #include "../ui/WindowManager.h" using namespace openloco::interop; namespace openloco::ui::windows::construction { namespace widget_idx { constexpr uint16_t close = 2; constexpr uint16_t tab_0 = 4; constexpr uint16_t tab_1 = 5; ...
27.356164
64
0.511768
SmallJoker
38053a3602e71fb4898d825d90df9ea1aeec6279
8,552
cpp
C++
src/platform/x86_pc/idt.cpp
KristianJerpetjon/IncludeOS
367a1dcefafd6f9618e5373c9133839f9ee2d675
[ "Apache-2.0" ]
1
2019-09-14T09:58:20.000Z
2019-09-14T09:58:20.000Z
src/platform/x86_pc/idt.cpp
KristianJerpetjon/IncludeOS
367a1dcefafd6f9618e5373c9133839f9ee2d675
[ "Apache-2.0" ]
1
2016-06-28T13:30:26.000Z
2016-06-28T13:30:26.000Z
src/platform/x86_pc/idt.cpp
KristianJerpetjon/IncludeOS
367a1dcefafd6f9618e5373c9133839f9ee2d675
[ "Apache-2.0" ]
1
2019-09-14T09:58:31.000Z
2019-09-14T09:58:31.000Z
#include "idt.hpp" #include <kernel/events.hpp> #include <kernel/syscalls.hpp> #include <kprint> #include <info> #define RING0_CODE_SEG 0x8 extern "C" { extern void unused_interrupt_handler(); extern void modern_interrupt_handler(); extern void spurious_intr(); extern void cpu_enable_panicking(); } #define ...
25.759036
83
0.677268
KristianJerpetjon
3806eb36a37235df76883397348393cb0ce83aae
215
hh
C++
include/AudioClip.hh
carolinavillam/Lucky-Monkey
5ddbadf6c604ea00c3384cc42eda9033d6297e7e
[ "MIT" ]
null
null
null
include/AudioClip.hh
carolinavillam/Lucky-Monkey
5ddbadf6c604ea00c3384cc42eda9033d6297e7e
[ "MIT" ]
null
null
null
include/AudioClip.hh
carolinavillam/Lucky-Monkey
5ddbadf6c604ea00c3384cc42eda9033d6297e7e
[ "MIT" ]
null
null
null
#pragma once #include<SFML/Audio.hpp> class AudioClip { private: sf::SoundBuffer* soundBuffer{}; sf::Sound* sound{}; public: AudioClip(const char* audioUrl, float volume); ~AudioClip(); void Play(); };
13.4375
48
0.67907
carolinavillam
3806f273b7d1a6b41b6ad0f4834e75f61e23ac44
616
hpp
C++
Phoenix3D/PX2Launcher/PX2L_MainFrame.hpp
PheonixFoundation/Phoenix3D
bfb2e3757bf61ac461aeeda9216bf8c8fdf76d99
[ "BSL-1.0" ]
36
2016-04-24T01:40:38.000Z
2022-01-18T07:32:26.000Z
Phoenix3D/PX2Launcher/PX2L_MainFrame.hpp
PheonixFoundation/Phoenix3D
bfb2e3757bf61ac461aeeda9216bf8c8fdf76d99
[ "BSL-1.0" ]
null
null
null
Phoenix3D/PX2Launcher/PX2L_MainFrame.hpp
PheonixFoundation/Phoenix3D
bfb2e3757bf61ac461aeeda9216bf8c8fdf76d99
[ "BSL-1.0" ]
16
2016-06-13T08:43:51.000Z
2020-09-15T13:25:58.000Z
// PX2L_MainFrame.hpp #ifndef PX2L_MAINFRAME_HPP #define PX2L_MAINFRAME_HPP #include "PX2LauncherPre.hpp" #include "PX2EventHandler.hpp" #include "PX2Singleton_NeedNew.hpp" #include "PX2L_MainView.hpp" namespace PX2Launcher { class L_MainFrame : public wxFrame, public PX2::EventHandler, public PX2::Singleton <L_Ma...
17.6
98
0.753247
PheonixFoundation
3807451cc62a5a2a55b6f82d8600fd851a4af2ae
150
cpp
C++
Tests/UnitTests/SImpleTest.cpp
wocks1123/cpp_osp_test
8a8859344ee07d07018393651282fc56aee18557
[ "MIT" ]
null
null
null
Tests/UnitTests/SImpleTest.cpp
wocks1123/cpp_osp_test
8a8859344ee07d07018393651282fc56aee18557
[ "MIT" ]
null
null
null
Tests/UnitTests/SImpleTest.cpp
wocks1123/cpp_osp_test
8a8859344ee07d07018393651282fc56aee18557
[ "MIT" ]
null
null
null
#define DOCTEST_CONFIG_IMPLEMENT_WITH_MAIN #include "doctest.h" #include "Project1/Test.hpp" TEST_CASE("Simple test") { CHECK(Add(2, 3) == 5); }
16.666667
42
0.713333
wocks1123
38083435387161276260f1d0dbfda67030234d40
712
cpp
C++
clang/test/Refactor/Rename/DeclRefExpr.cpp
medismailben/llvm-project
e334a839032fe500c3bba22bf976ab7af13ce1c1
[ "Apache-2.0" ]
793
2015-12-03T16:45:26.000Z
2022-02-12T20:14:20.000Z
clang/test/Refactor/Rename/DeclRefExpr.cpp
medismailben/llvm-project
e334a839032fe500c3bba22bf976ab7af13ce1c1
[ "Apache-2.0" ]
3,180
2019-10-18T01:21:21.000Z
2022-03-31T23:25:41.000Z
clang/test/Refactor/Rename/DeclRefExpr.cpp
medismailben/llvm-project
e334a839032fe500c3bba22bf976ab7af13ce1c1
[ "Apache-2.0" ]
275
2019-10-18T05:27:22.000Z
2022-03-30T09:04:21.000Z
class C { public: static int Foo; /* Test 1 */ // CHECK: rename [[@LINE]]:14 -> [[@LINE]]:17 }; int foo(int x) { return 0; } #define MACRO(a) foo(a) int main() { C::Foo = 1; /* Test 2 */ // CHECK: rename [[@LINE]]:6 -> [[@LINE]]:9 MACRO(C::Foo); // CHECK: rename [[@LINE]]:12 -> [[@LINE]]:15...
32.363636
88
0.557584
medismailben
380aee56336f825f1d0cfeb98929beff4bbfb39f
5,238
cpp
C++
engine/generators/settlements/source/WalledSettlementGenerator.cpp
sidav/shadow-of-the-wyrm
747afdeebed885b1a4f7ab42f04f9f756afd3e52
[ "MIT" ]
1
2020-05-24T22:44:03.000Z
2020-05-24T22:44:03.000Z
engine/generators/settlements/source/WalledSettlementGenerator.cpp
cleancoindev/shadow-of-the-wyrm
51b23e98285ecb8336324bfd41ebf00f67b30389
[ "MIT" ]
null
null
null
engine/generators/settlements/source/WalledSettlementGenerator.cpp
cleancoindev/shadow-of-the-wyrm
51b23e98285ecb8336324bfd41ebf00f67b30389
[ "MIT" ]
null
null
null
#include "BuildingConfigFactory.hpp" #include "WalledSettlementGenerator.hpp" #include "FeatureGenerator.hpp" #include "RNG.hpp" #include "SettlementGeneratorUtils.hpp" #include "TileGenerator.hpp" using namespace std; WalledSettlementGenerator::WalledSettlementGenerator(MapPtr new_base_map) : BaseSettlementGenerator...
30.811765
196
0.729477
sidav
380b371ae97928e13357dcc72565b96bfccc2c1f
224
cpp
C++
solutions/Medium/137. Single Number II/solution4.cpp
BASARANOMO/leetcode-cpp
f779ec46e672f01cec69077e854d6ba15e451d27
[ "MIT" ]
null
null
null
solutions/Medium/137. Single Number II/solution4.cpp
BASARANOMO/leetcode-cpp
f779ec46e672f01cec69077e854d6ba15e451d27
[ "MIT" ]
null
null
null
solutions/Medium/137. Single Number II/solution4.cpp
BASARANOMO/leetcode-cpp
f779ec46e672f01cec69077e854d6ba15e451d27
[ "MIT" ]
null
null
null
class Solution { public: int singleNumber(vector<int>& nums) { int a = 0, b = 0; for (int num: nums) { b = ~a & (b ^ num); a = ~b & (a ^ num); } return b; } };
18.666667
41
0.383929
BASARANOMO
380d949247a4e4cc47110a19087af3b7fa4fea5b
663
cpp
C++
src/vt/util/StringBuilder.cpp
Pikaju/Veletrix
9572f37542e0a14198de6aa8ba4d6a4fddafd433
[ "MIT" ]
null
null
null
src/vt/util/StringBuilder.cpp
Pikaju/Veletrix
9572f37542e0a14198de6aa8ba4d6a4fddafd433
[ "MIT" ]
null
null
null
src/vt/util/StringBuilder.cpp
Pikaju/Veletrix
9572f37542e0a14198de6aa8ba4d6a4fddafd433
[ "MIT" ]
null
null
null
#include "StringBuilder.h" namespace vt { StringBuilder::StringBuilder() : m_main(), m_buffer(), m_bufferSize(1024) { } StringBuilder::~StringBuilder() { } StringBuilder& StringBuilder::append(const String& string) { m_buffer += string; // Append buffer to main, if the maximum buffer size...
19.5
75
0.631976
Pikaju
380eee22a33fb82fa355036c7325f8e4ecbea6a1
6,170
cpp
C++
src/rho.cpp
romz-pl/kohn-sham-atom
f8d87850469097ed39ba855b50df46787b1c3114
[ "MIT" ]
1
2022-02-24T03:48:19.000Z
2022-02-24T03:48:19.000Z
src/rho.cpp
romz-pl/kohn-sham-atom
f8d87850469097ed39ba855b50df46787b1c3114
[ "MIT" ]
null
null
null
src/rho.cpp
romz-pl/kohn-sham-atom
f8d87850469097ed39ba855b50df46787b1c3114
[ "MIT" ]
null
null
null
#include <fstream> #include <sstream> #include "rho.h" #include "rhoinit.h" #include "constants.h" #include "approxsolver.h" #include "gauss.h" #include "paramdb.h" // // Initialization of electron density. // Proper initialization of electron density could have large impact on the // convergence of Self Consisten Fi...
27.918552
104
0.557536
romz-pl
38129f7e8c551cf615552eb79e0bed0a50fbd57c
983
cpp
C++
source/vector/Sort/912sortArray.cpp
Tridu33/myclionarch
d4e41b3465a62a83cbf6c7119401c05009f4b636
[ "MIT" ]
null
null
null
source/vector/Sort/912sortArray.cpp
Tridu33/myclionarch
d4e41b3465a62a83cbf6c7119401c05009f4b636
[ "MIT" ]
null
null
null
source/vector/Sort/912sortArray.cpp
Tridu33/myclionarch
d4e41b3465a62a83cbf6c7119401c05009f4b636
[ "MIT" ]
null
null
null
//quick sort class Solution { int partition(vector<int> &nums,int l ,int r){ int pivot = nums[r]; int i = l - 1; for (int j = l;j<r;j++){ if(nums[j] <= pivot){ i++; swap(nums[i], nums[j]); } } swap(nums[i + 1], nums[r]);...
28.085714
62
0.480163
Tridu33
38147bb11cea0eaf2abd45c5b6e06ad67607a18c
508
cpp
C++
src/telegram/types/pollanswer.cpp
AlexTeos/CustomsForgeBot
7ac473ea88ded526c9edbc9486967a8a839b6fe2
[ "MIT" ]
null
null
null
src/telegram/types/pollanswer.cpp
AlexTeos/CustomsForgeBot
7ac473ea88ded526c9edbc9486967a8a839b6fe2
[ "MIT" ]
null
null
null
src/telegram/types/pollanswer.cpp
AlexTeos/CustomsForgeBot
7ac473ea88ded526c9edbc9486967a8a839b6fe2
[ "MIT" ]
null
null
null
#include "pollanswer.h" namespace Telegram { void readJsonObject(PollAnswer::Ptr& value, const QJsonObject& json, const QString& valueName) { if (json.contains(valueName) && json[valueName].isObject()) { value = PollAnswer::Ptr::create(); QJsonObject object = json[valueName].toObject(); ...
26.736842
94
0.67126
AlexTeos
381498f8076837853e3fccea2eb37d434e91be42
144
cpp
C++
ProgramStudy/Source/Component/Animation/AnimatorController.cpp
trinhlehainam/ASO_3rd_year_StudyProject
89c54e42e97cc47af175f61b26a5871bc2a718a0
[ "MIT" ]
null
null
null
ProgramStudy/Source/Component/Animation/AnimatorController.cpp
trinhlehainam/ASO_3rd_year_StudyProject
89c54e42e97cc47af175f61b26a5871bc2a718a0
[ "MIT" ]
null
null
null
ProgramStudy/Source/Component/Animation/AnimatorController.cpp
trinhlehainam/ASO_3rd_year_StudyProject
89c54e42e97cc47af175f61b26a5871bc2a718a0
[ "MIT" ]
null
null
null
#include "AnimatorController.h" bool AnimatorController::HasParameter(const std::string& paramKey) const { return paramMap.count(paramKey); }
20.571429
72
0.791667
trinhlehainam
381683a50c346f0b08a894db50593b675c4b1d38
8,568
cpp
C++
src/fractal/fractalnft.cpp
cryptostiltskin/Espers
8e5f098f8da47fbf2e207dc0b2ecf0d9b6c3fc13
[ "MIT" ]
74
2016-09-22T02:53:07.000Z
2022-01-12T09:08:39.000Z
src/fractal/fractalnft.cpp
BirduIDO/Espers
f287ed5e2e187653b132142d6e66cbe68e8ad9c7
[ "MIT" ]
32
2016-05-05T12:27:19.000Z
2021-11-07T21:31:23.000Z
src/fractal/fractalnft.cpp
BirduIDO/Espers
f287ed5e2e187653b132142d6e66cbe68e8ad9c7
[ "MIT" ]
56
2016-04-13T01:11:20.000Z
2022-01-03T20:46:01.000Z
// Copyright (c) 2020-2021 The Espers Project/CryptoCoderz Team // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. // NOTICE! // // This is a completely experimental NFT data storage and retrieval written by // CryptoCoderz (Jo...
32.210526
150
0.622549
cryptostiltskin
38190debf42bb9830f46082df81089f50e1a1c00
1,118
cpp
C++
LinearList/1/main.cpp
Xavi1erW/BUPT_DataStructure
c024bbfcae223f74b75712eb7b7f3a95a75e9484
[ "MIT" ]
null
null
null
LinearList/1/main.cpp
Xavi1erW/BUPT_DataStructure
c024bbfcae223f74b75712eb7b7f3a95a75e9484
[ "MIT" ]
null
null
null
LinearList/1/main.cpp
Xavi1erW/BUPT_DataStructure
c024bbfcae223f74b75712eb7b7f3a95a75e9484
[ "MIT" ]
null
null
null
#include "doubleList.h" #include "doubleList.cpp" int main() { int test[5] = {1,2,3,4,5}; doubleList<int> list (test, 5); list.show(); list.insert(3); cout << "Length:" << list.getLength() << endl; list.show(); list.insert(10); list.show(); try{ list.Delete(10); cout ...
20.327273
54
0.449016
Xavi1erW
381b0755b8bfe7c8be2046ffe593a2457b083ad1
6,456
cc
C++
onnxruntime/core/graph/contrib_ops/shape_inference_functions.cc
SiriusKY/onnxruntime
3c5853dcbc9d5dda2476afa8c6105802d2b8e53d
[ "MIT" ]
669
2018-12-03T22:00:31.000Z
2019-05-06T19:42:49.000Z
onnxruntime/core/graph/contrib_ops/shape_inference_functions.cc
SiriusKY/onnxruntime
3c5853dcbc9d5dda2476afa8c6105802d2b8e53d
[ "MIT" ]
440
2018-12-03T21:09:56.000Z
2019-05-06T20:47:23.000Z
onnxruntime/core/graph/contrib_ops/shape_inference_functions.cc
SiriusKY/onnxruntime
3c5853dcbc9d5dda2476afa8c6105802d2b8e53d
[ "MIT" ]
140
2018-12-03T21:15:28.000Z
2019-05-06T18:02:36.000Z
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #include "core/graph/contrib_ops/shape_inference_functions.h" #include <onnx/defs/shape_inference.h> namespace onnxruntime { namespace contrib { void EmbedLayerNormalizationShapeInference(::ONNX_NAMESPACE::InferenceContext...
36.269663
109
0.691914
SiriusKY
381c79ee10ac97e1ba0916c8cf98d9dd5dc4fb9c
2,611
cpp
C++
test-MonitoringAndTypewiseAlert.cpp
clean-code-craft-tcq-2/coverage-in-c-Nivedhithya-Sundarasamy
e76cf07dfd450b617ce74b9aca285151173516f5
[ "MIT" ]
null
null
null
test-MonitoringAndTypewiseAlert.cpp
clean-code-craft-tcq-2/coverage-in-c-Nivedhithya-Sundarasamy
e76cf07dfd450b617ce74b9aca285151173516f5
[ "MIT" ]
1
2022-02-24T11:21:20.000Z
2022-02-24T11:21:20.000Z
test-MonitoringAndTypewiseAlert.cpp
clean-code-craft-tcq-2/coverage-in-c-Nivedhithya-Sundarasamy
e76cf07dfd450b617ce74b9aca285151173516f5
[ "MIT" ]
null
null
null
#define CATCH_CONFIG_MAIN // This tells Catch to provide a main() - only do this in one cpp file #include "test/catch.hpp" #include "MonitoringAndTypewiseAlert.h" int printCallCount = 0; void fakePrint(const char* printStatement) { printf("%s \n", printStatement); printCallCount++; } TEST_CASE("Checks if the va...
31.457831
97
0.756032
clean-code-craft-tcq-2
381e58d0d92f9edf2d1b0632f7bfa42666fd1522
2,647
cpp
C++
src/engine/gui/widgets/checkbox.cpp
Overpeek/Overpeek-Engine
3df11072378ba870033a19cd09fb332bcc4c466d
[ "MIT" ]
13
2020-01-10T16:36:46.000Z
2021-08-09T09:24:47.000Z
src/engine/gui/widgets/checkbox.cpp
Overpeek/Overpeek-Engine
3df11072378ba870033a19cd09fb332bcc4c466d
[ "MIT" ]
1
2020-01-16T11:03:49.000Z
2020-01-16T11:11:15.000Z
src/engine/gui/widgets/checkbox.cpp
Overpeek/Overpeek-Engine
3df11072378ba870033a19cd09fb332bcc4c466d
[ "MIT" ]
1
2020-02-06T21:22:47.000Z
2020-02-06T21:22:47.000Z
#include "checkbox.hpp" #include "engine/gui/gui_manager.hpp" #include "engine/graphics/renderer.hpp" #include "engine/utility/connect_guard_additions.hpp" #include "button.hpp" namespace oe::gui { Checkbox::Checkbox(Widget* parent, GUI& gui_manager, const info_t& _checkbox_info, value_t& value_ref) ...
30.079545
106
0.715527
Overpeek
381f157dae543206090ef93f5aaf2e887102be75
1,562
hpp
C++
boost/range/algorithm/reverse_copy.hpp
jonstewart/boost-svn
7f6dc0c0cb807b28072c7bdd3d77bb01ab290c59
[ "BSL-1.0" ]
1
2017-04-08T10:44:28.000Z
2017-04-08T10:44:28.000Z
boost/range/algorithm/reverse_copy.hpp
jonstewart/boost-svn
7f6dc0c0cb807b28072c7bdd3d77bb01ab290c59
[ "BSL-1.0" ]
null
null
null
boost/range/algorithm/reverse_copy.hpp
jonstewart/boost-svn
7f6dc0c0cb807b28072c7bdd3d77bb01ab290c59
[ "BSL-1.0" ]
null
null
null
// Copyright Neil Groves 2009. 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) // // // For more information, see http://www.boost.org/libs/range/ // #ifndef BOOST_RANGE_ALGORIT...
31.877551
85
0.774008
jonstewart
381f4de1388171bcb62e533b3749d6cb17ba9525
760
cpp
C++
libs/renderer/src/renderer/lock_flags/from_mode.cpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
2
2016-01-27T13:18:14.000Z
2018-05-11T01:11:32.000Z
libs/renderer/src/renderer/lock_flags/from_mode.cpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
null
null
null
libs/renderer/src/renderer/lock_flags/from_mode.cpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
3
2018-05-11T01:11:34.000Z
2021-04-24T19:47:45.000Z
// Copyright Carl Philipp Reh 2006 - 2019. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) #include <sge/renderer/lock_mode.hpp> #include <sge/renderer/lock_flags/from_mode.hpp> #include <sg...
31.666667
74
0.731579
cpreh
3822b1537b3766e69ccaeef0c718774ff40aafef
819
cpp
C++
GameEngine_Prototype/GameEngine_Prototype/AudioListener.cpp
Michaelwolf95/CECS_491_GameEngine_Prototype
d134fa376484d1115bf5af75f062ef44c8e70263
[ "MIT" ]
2
2019-10-14T03:45:55.000Z
2020-07-12T08:08:54.000Z
GameEngine_Prototype/GameEngine_Prototype/AudioListener.cpp
Michaelwolf95/CECS_491_GameEngine_Prototype
d134fa376484d1115bf5af75f062ef44c8e70263
[ "MIT" ]
null
null
null
GameEngine_Prototype/GameEngine_Prototype/AudioListener.cpp
Michaelwolf95/CECS_491_GameEngine_Prototype
d134fa376484d1115bf5af75f062ef44c8e70263
[ "MIT" ]
1
2019-09-02T03:34:28.000Z
2019-09-02T03:34:28.000Z
#include "AudioListener.h" #include "AudioManager.h" #include "AudioEngine.h" REGISTER_COMPONENT(AudioListener, "AudioListener") void AudioListener::Start() { AudioManager::getInstance().sound.Set3dListenerAndOrientation(pos, velocity, forward, up); } void AudioListener::Update() { glm::vec3 p = this->gameObject->...
21.552632
106
0.704518
Michaelwolf95
3823abb31c692d3de500c55478e548dbad00d8b1
2,142
cc
C++
3rdparty/libSDL2pp/examples/audio_wav.cc
TerrySoba/NewGame
015b765fd3686a0501ff254df4cbca5df0e02279
[ "MIT" ]
447
2015-12-29T09:56:33.000Z
2022-03-25T12:43:33.000Z
3rdparty/libSDL2pp/examples/audio_wav.cc
TerrySoba/NewGame
015b765fd3686a0501ff254df4cbca5df0e02279
[ "MIT" ]
68
2015-12-29T12:06:12.000Z
2022-02-02T15:51:19.000Z
3rdparty/libSDL2pp/examples/audio_wav.cc
TerrySoba/NewGame
015b765fd3686a0501ff254df4cbca5df0e02279
[ "MIT" ]
96
2015-12-21T12:01:48.000Z
2022-01-27T13:12:36.000Z
/* libSDL2pp - C++11 bindings/wrapper for SDL2 Copyright (C) 2013-2015 Dmitry Marakasov <amdmi3@amdmi3.ru> This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted t...
29.75
86
0.705882
TerrySoba
3824b7a673d8cd60d403a493bb9cb39611da51fe
679
cpp
C++
util.cpp
MattKD/vector_vs_list
72e10ab5ea092c76d5176aa37f6a2c2b4064385c
[ "MIT" ]
null
null
null
util.cpp
MattKD/vector_vs_list
72e10ab5ea092c76d5176aa37f6a2c2b4064385c
[ "MIT" ]
null
null
null
util.cpp
MattKD/vector_vs_list
72e10ab5ea092c76d5176aa37f6a2c2b4064385c
[ "MIT" ]
null
null
null
#include <random> #include <vector> #include <algorithm> #include <numeric> #include "util.h" TimeResult::TimeResult(const std::vector<double> &times) { min = *std::min_element(times.begin(), times.end()); max = *std::max_element(times.begin(), times.end()); double total = std::accumulate(times.begin(), times.en...
20.575758
66
0.673049
MattKD
3825586ede12ab41659bf3fae2238b5c2d010030
4,710
cpp
C++
ml/bordeaux/learning/multiclass_pa/jni/jni_multiclass_pa.cpp
Keneral/aframeworks
af1d0010bfb88751837fb1afc355705bd8a9ad8b
[ "Unlicense" ]
null
null
null
ml/bordeaux/learning/multiclass_pa/jni/jni_multiclass_pa.cpp
Keneral/aframeworks
af1d0010bfb88751837fb1afc355705bd8a9ad8b
[ "Unlicense" ]
null
null
null
ml/bordeaux/learning/multiclass_pa/jni/jni_multiclass_pa.cpp
Keneral/aframeworks
af1d0010bfb88751837fb1afc355705bd8a9ad8b
[ "Unlicense" ]
null
null
null
/* * Copyright (C) 2011 The Android Open Source Project * * 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 app...
40.25641
94
0.580467
Keneral
38275942cbb79019ccb677484ae260bd1fe4b887
2,955
cpp
C++
src/ShortestDistanceFromAllBuildings.cpp
yanzhe-chen/LeetCode
d82f0b9721ea613ab216c78e7286671d0e9e4187
[ "MIT" ]
43
2015-10-10T12:59:52.000Z
2018-07-11T18:07:00.000Z
src/ShortestDistanceFromAllBuildings.cpp
yanzhe-chen/LeetCode
d82f0b9721ea613ab216c78e7286671d0e9e4187
[ "MIT" ]
null
null
null
src/ShortestDistanceFromAllBuildings.cpp
yanzhe-chen/LeetCode
d82f0b9721ea613ab216c78e7286671d0e9e4187
[ "MIT" ]
11
2015-10-10T14:41:11.000Z
2018-07-28T06:03:16.000Z
#include "ShortestDistanceFromAllBuildings.hpp" #include <queue> #include <climits> using namespace std; int ShortestDistanceFromAllBuildings::shortestDistance(vector<vector<int>> &grid) { if (grid.empty()) return -1; int m = grid.size(); int n = grid[0].size(); if (n == 0) return -1; // accum...
26.150442
103
0.472081
yanzhe-chen
382a435f6606a3ba290dbe9a017cac91767d9403
1,712
cpp
C++
artifact/storm/src/storm/abstraction/ExplicitQualitativeResultMinMax.cpp
glatteis/tacas21-artifact
30b4f522bd3bdb4bebccbfae93f19851084a3db5
[ "MIT" ]
null
null
null
artifact/storm/src/storm/abstraction/ExplicitQualitativeResultMinMax.cpp
glatteis/tacas21-artifact
30b4f522bd3bdb4bebccbfae93f19851084a3db5
[ "MIT" ]
null
null
null
artifact/storm/src/storm/abstraction/ExplicitQualitativeResultMinMax.cpp
glatteis/tacas21-artifact
30b4f522bd3bdb4bebccbfae93f19851084a3db5
[ "MIT" ]
1
2022-02-05T12:39:53.000Z
2022-02-05T12:39:53.000Z
#include "storm/abstraction/ExplicitQualitativeResultMinMax.h" #include "storm/abstraction/ExplicitQualitativeResult.h" namespace storm { namespace abstraction { bool ExplicitQualitativeResultMinMax::isExplicit() const { return true; } ExplicitQualitativeResul...
37.217391
95
0.676402
glatteis
382a4d6954af1e86e2094a0b5a43ac7364587dd5
6,007
cpp
C++
src/tokenizer.cpp
mihaizh/configparser
27bc989388b341f967e1fcd5bea90b5ca9ecc3d9
[ "MIT" ]
null
null
null
src/tokenizer.cpp
mihaizh/configparser
27bc989388b341f967e1fcd5bea90b5ca9ecc3d9
[ "MIT" ]
2
2019-04-20T06:28:28.000Z
2019-04-20T07:32:14.000Z
src/tokenizer.cpp
mihaizh/configparser
27bc989388b341f967e1fcd5bea90b5ca9ecc3d9
[ "MIT" ]
null
null
null
#include "tokenizer.h" #include <cctype> // isalpha, isdigit namespace configparser { namespace detail { char tokenizer::peek() const { return *m_text_ptr; } char tokenizer::peekNext() const { if (eof()) { return 0; } return *(m_text_ptr + 1); } void tokenizer::consume() { ++m_text_...
20.571918
74
0.493258
mihaizh
382d272b6759ddffa178bcdbdcca478211ac18c4
566
cpp
C++
leetcode/270. Closest Binary Search Tree Value/s2.cpp
zhuohuwu0603/leetcode_cpp_lzl124631x
6a579328810ef4651de00fde0505934d3028d9c7
[ "Fair" ]
787
2017-05-12T05:19:57.000Z
2022-03-30T12:19:52.000Z
leetcode/270. Closest Binary Search Tree Value/s2.cpp
aerlokesh494/LeetCode
0f2cbb28d5a9825b51a8d3b3a0ae0c30d7ff155f
[ "Fair" ]
8
2020-03-16T05:55:38.000Z
2022-03-09T17:19:17.000Z
leetcode/270. Closest Binary Search Tree Value/s2.cpp
aerlokesh494/LeetCode
0f2cbb28d5a9825b51a8d3b3a0ae0c30d7ff155f
[ "Fair" ]
247
2017-04-30T15:07:50.000Z
2022-03-30T09:58:57.000Z
// OJ: https://leetcode.com/problems/closest-binary-search-tree-value/ // Author: github.com/lzl124631x // Time: O(N) // Space: O(logN) // Ref: https://leetcode.com/problems/closest-binary-search-tree-value/discuss/70331/Clean-and-concise-java-solution class Solution { public: int closestValue(TreeNode* root, doubl...
35.375
116
0.621908
zhuohuwu0603
382dc7dfb1f5621c2f6f1cb1b08ba5b95220b209
1,660
hxx
C++
src/interfaces/python/opengm/export_typedes.hxx
amueller/opengm
bf2d0c611ade9bbf1d2ae537fee0df4cb6553777
[ "Unlicense" ]
1
2020-03-13T20:56:48.000Z
2020-03-13T20:56:48.000Z
src/interfaces/python/opengm/export_typedes.hxx
amueller/opengm
bf2d0c611ade9bbf1d2ae537fee0df4cb6553777
[ "Unlicense" ]
null
null
null
src/interfaces/python/opengm/export_typedes.hxx
amueller/opengm
bf2d0c611ade9bbf1d2ae537fee0df4cb6553777
[ "Unlicense" ]
null
null
null
#ifndef EXPORT_TYPEDES_HXX #define EXPORT_TYPEDES_HXX #include <opengm/graphicalmodel/graphicalmodel.hxx> #include <opengm/functions/potts.hxx> #include <opengm/utilities/tribool.hxx> template<class V,class I,class O,class F> struct GmGen{ typedef opengm::DiscreteSpace<I,I> SpaceType; typedef opengm::GraphicalM...
21.558442
91
0.693976
amueller
382fe8b502da6b673688e80e4f4fa6accf9e9fa2
14,158
cc
C++
onnxruntime/core/graph/signal_ops/signal_defs.cc
dennyac/onnxruntime
d5175795d2b7f2db18b0390f394a49238f814668
[ "MIT" ]
18
2020-05-19T12:48:07.000Z
2021-04-28T06:41:57.000Z
onnxruntime/core/graph/signal_ops/signal_defs.cc
dennyac/onnxruntime
d5175795d2b7f2db18b0390f394a49238f814668
[ "MIT" ]
61
2021-05-31T05:15:41.000Z
2022-03-29T22:34:33.000Z
onnxruntime/core/graph/signal_ops/signal_defs.cc
dennyac/onnxruntime
d5175795d2b7f2db18b0390f394a49238f814668
[ "MIT" ]
9
2021-05-14T20:17:26.000Z
2022-03-20T11:44:29.000Z
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #ifdef BUILD_MS_EXPERIMENTAL_OPS #include "core/framework/tensorprotoutils.h" #include "core/providers/common.h" #include "core/graph/constants.h" #include "core/graph/signal_ops/signal_defs.h" #include "core/graph/op.h" #...
43.697531
225
0.613575
dennyac
38301ba828a5fc8c151945c7e49464435f482813
3,842
cpp
C++
src/planner/plannodes/create_index_plan_node.cpp
AndiLynn/terrier
6002f8a902d3d0d19bc67998514098f8b41ca264
[ "MIT" ]
null
null
null
src/planner/plannodes/create_index_plan_node.cpp
AndiLynn/terrier
6002f8a902d3d0d19bc67998514098f8b41ca264
[ "MIT" ]
5
2019-04-08T20:47:46.000Z
2019-04-24T22:11:28.000Z
src/planner/plannodes/create_index_plan_node.cpp
AndiLynn/terrier
6002f8a902d3d0d19bc67998514098f8b41ca264
[ "MIT" ]
1
2021-10-08T01:22:25.000Z
2021-10-08T01:22:25.000Z
#include "planner/plannodes/create_index_plan_node.h" #include <memory> #include <string> #include <utility> #include <vector> namespace terrier::planner { common::hash_t CreateIndexPlanNode::Hash() const { auto type = GetPlanNodeType(); common::hash_t hash = common::HashUtil::Hash(&type); // Hash database_oid ...
32.559322
94
0.700937
AndiLynn
38307f0eb8004b1809fbda1c4d40b1d840d175fe
671
cpp
C++
AtCoder/AtcoderBiginnersSelection/ABC087B.cpp
arlechann/atcoder
1af08efa6d3a0e8c75e4eaf13e1eda994820b9e2
[ "CC0-1.0" ]
null
null
null
AtCoder/AtcoderBiginnersSelection/ABC087B.cpp
arlechann/atcoder
1af08efa6d3a0e8c75e4eaf13e1eda994820b9e2
[ "CC0-1.0" ]
null
null
null
AtCoder/AtcoderBiginnersSelection/ABC087B.cpp
arlechann/atcoder
1af08efa6d3a0e8c75e4eaf13e1eda994820b9e2
[ "CC0-1.0" ]
null
null
null
#include <cstdio> int solve(int a, int b, int c, int x); int main(void){ int a, b, c, x; scanf("%d\n", &a); scanf("%d\n", &b); scanf("%d\n", &c); scanf("%d\n", &x); printf("%d\n", solve(a, b, c, x)); return 0; } int solve(int a, int b, int c, int x){ int result = 0; if (x < 0){ return 0; } if (!x){ ...
13.42
41
0.457526
arlechann
38323cb7aff88511800a35a4502e0478b7649173
60
cpp
C++
msvc/modules/objdetect/opencv_test_objdetect_pch.cpp
gajgeospatial/opencv-4.1.0
4b6cf76e12e846bc7fb5dbdce0054faca6963229
[ "BSD-3-Clause" ]
null
null
null
msvc/modules/objdetect/opencv_test_objdetect_pch.cpp
gajgeospatial/opencv-4.1.0
4b6cf76e12e846bc7fb5dbdce0054faca6963229
[ "BSD-3-Clause" ]
null
null
null
msvc/modules/objdetect/opencv_test_objdetect_pch.cpp
gajgeospatial/opencv-4.1.0
4b6cf76e12e846bc7fb5dbdce0054faca6963229
[ "BSD-3-Clause" ]
null
null
null
#include "../../../modules/objdetect/test/test_precomp.hpp"
30
59
0.7
gajgeospatial
38339843c19c44f58e60be5bdeba906a068dd3fc
4,341
cpp
C++
core/log/convergence.cpp
kliegeois/ginkgo
4defcc07f77828393cc5b4a735a00e50da2cbab0
[ "BSD-3-Clause" ]
null
null
null
core/log/convergence.cpp
kliegeois/ginkgo
4defcc07f77828393cc5b4a735a00e50da2cbab0
[ "BSD-3-Clause" ]
null
null
null
core/log/convergence.cpp
kliegeois/ginkgo
4defcc07f77828393cc5b4a735a00e50da2cbab0
[ "BSD-3-Clause" ]
null
null
null
/*******************************<GINKGO LICENSE>****************************** Copyright (c) 2017-2022, the Ginkgo authors All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source co...
40.570093
78
0.696614
kliegeois
3833c750cb0b87ae5d590fe255e6f3d8cf3d8b56
4,054
hpp
C++
include/henson/chai-serialization.hpp
player1537-forks/henson
e6584dd2275b1ab208a5dd759148513f741e8bef
[ "BSD-3-Clause-LBNL" ]
4
2016-12-21T07:45:09.000Z
2021-04-30T18:20:41.000Z
include/henson/chai-serialization.hpp
player1537-forks/henson
e6584dd2275b1ab208a5dd759148513f741e8bef
[ "BSD-3-Clause-LBNL" ]
1
2016-11-01T19:00:39.000Z
2017-03-08T17:24:33.000Z
include/henson/chai-serialization.hpp
mrzv/henson
7b429183d61b2f65f58e1760e0532ef2cda368ee
[ "BSD-3-Clause-LBNL" ]
null
null
null
#ifndef HENSON_CHAI_SERIALIZATION_HPP #define HENSON_CHAI_SERIALIZATION_HPP #include <chaiscript/dispatchkit/boxed_cast.hpp> #include <chaiscript/dispatchkit/boxed_value.hpp> #include <henson/serialization.hpp> #include <henson/data.hpp> namespace henson { namespace detail { template<class T> ...
32.95935
99
0.47188
player1537-forks
3833e4a77938757999c2520d714c90fabbb70fbf
1,535
cpp
C++
modelo/serializables/Arma.cpp
seblaz/Final-Fight
b79677191a4d4239e8793fa0b6e8a8b69870a14d
[ "MIT" ]
1
2020-02-23T21:15:59.000Z
2020-02-23T21:15:59.000Z
modelo/serializables/Arma.cpp
seblaz/Final-Fight
b79677191a4d4239e8793fa0b6e8a8b69870a14d
[ "MIT" ]
1
2020-03-06T21:31:10.000Z
2020-03-06T21:31:10.000Z
modelo/serializables/Arma.cpp
seblaz/Final-Fight
b79677191a4d4239e8793fa0b6e8a8b69870a14d
[ "MIT" ]
1
2020-02-23T21:28:28.000Z
2020-02-23T21:28:28.000Z
// Created by leo on 12/11/19. // #include "Arma.h" #include "../../servicios/Locator.h" string Arma::armaACadena(ARMA arma) { switch (arma){ case ARMA::PUNIOS: return "punios"; case ARMA::CUCHILLO: return "cuchillo"; case ARMA::TUBO: return "tubo"; ...
19.679487
74
0.612378
seblaz
3833e828006f13f696f60ab37d854b796e78d1c7
1,559
cpp
C++
src/pixel_reader.cpp
ufcg-lsd/fast-sebal
93cccb498edf4e25e2b4570c652d61338e66ef60
[ "MIT" ]
2
2019-02-26T23:05:42.000Z
2019-04-15T23:59:35.000Z
src/pixel_reader.cpp
ufcg-lsd/fast-sebal
93cccb498edf4e25e2b4570c652d61338e66ef60
[ "MIT" ]
null
null
null
src/pixel_reader.cpp
ufcg-lsd/fast-sebal
93cccb498edf4e25e2b4570c652d61338e66ef60
[ "MIT" ]
1
2019-07-03T20:37:08.000Z
2019-07-03T20:37:08.000Z
#include "pixel_reader.h" /** * @brief Empty constructor. */ PixelReader::PixelReader() { sampleFormat = 0; byteSize = 0; buffer = NULL; }; /** * @brief Constructor * @param _sampleFormat: Sample format. * @param _byteSize: Byte size. * @param _buffer: Buffer. */ PixelReader::PixelReader(uint16 _sample...
19.734177
81
0.590122
ufcg-lsd
3834ba098f673976f81f3c06666b7b1adfeb3655
38,951
cpp
C++
vmca/certool/certool.cpp
slachiewicz/lightwave
3784a3b14363bcb01dc94848ec3355cc6cffbe4c
[ "BSL-1.0", "Apache-2.0" ]
1
2019-06-27T07:40:49.000Z
2019-06-27T07:40:49.000Z
vmca/certool/certool.cpp
slachiewicz/lightwave
3784a3b14363bcb01dc94848ec3355cc6cffbe4c
[ "BSL-1.0", "Apache-2.0" ]
null
null
null
vmca/certool/certool.cpp
slachiewicz/lightwave
3784a3b14363bcb01dc94848ec3355cc6cffbe4c
[ "BSL-1.0", "Apache-2.0" ]
null
null
null
#ifdef _WIN32 #include <windows.h> #include <conio.h> #include <io.h> #endif #include <boost/program_options.hpp> #include <string> #include <vmcatypes.h> #include <vmca.h> #include <vmca_error.h> #include <iostream> #include <fstream> #ifndef _WIN32 #include <termios.h> #endif #include "certool.h" #ifdef _WIN32 #i...
30.987271
126
0.590896
slachiewicz
38361bc7f6ef0d252245256363ab9c9b0ed244d5
1,607
cpp
C++
src/perf_watcher.cpp
Foomf/Blyss-Server
f6942f740e74a2bc03f305372486aa62d94fb074
[ "Zlib" ]
null
null
null
src/perf_watcher.cpp
Foomf/Blyss-Server
f6942f740e74a2bc03f305372486aa62d94fb074
[ "Zlib" ]
null
null
null
src/perf_watcher.cpp
Foomf/Blyss-Server
f6942f740e74a2bc03f305372486aa62d94fb074
[ "Zlib" ]
null
null
null
#include "perf_watcher.hpp" #include <spdlog/spdlog.h> #include "uv_utils.hpp" namespace blyss::server { const uint64_t frame_leeway = 10; void perf_watcher_timer_callback(uv_timer_t* handle) { const auto self = static_cast<perf_watcher*>(handle->data); self->reset(); } perf_wat...
26.344262
113
0.650902
Foomf
38376fdc1ab51c2d64bd45bbdb89bfa4655b85c3
3,774
cpp
C++
tests/test-suite/callbackTest.cpp
anupam19/mididuino
27c30f586a8d61381309434ed05b4958c7727402
[ "BSD-3-Clause" ]
null
null
null
tests/test-suite/callbackTest.cpp
anupam19/mididuino
27c30f586a8d61381309434ed05b4958c7727402
[ "BSD-3-Clause" ]
null
null
null
tests/test-suite/callbackTest.cpp
anupam19/mididuino
27c30f586a8d61381309434ed05b4958c7727402
[ "BSD-3-Clause" ]
null
null
null
#include <CppUnitLite2.h> #include <TestResultStdErr.h> #include <Callback.hh> class Foobar { public: bool callbackNoneCalled; bool callbackNone2Called; bool callbackIntCalled; int callbackIntValue; bool callbackInt2Called; int callbackInt2Value1; int callbackInt2Value2; Foobar() { reset(); }...
28.164179
63
0.732909
anupam19
3838a484192901c76ee8f5239c4041ff703c4be6
7,104
cxx
C++
PWGLF/FORWARD/analysis2/AliFMDMCCorrector.cxx
maroozm/AliPhysics
22ec256928cfdf8f800e05bfc1a6e124d90b6eaf
[ "BSD-3-Clause" ]
114
2017-03-03T09:12:23.000Z
2022-03-03T20:29:42.000Z
PWGLF/FORWARD/analysis2/AliFMDMCCorrector.cxx
maroozm/AliPhysics
22ec256928cfdf8f800e05bfc1a6e124d90b6eaf
[ "BSD-3-Clause" ]
19,637
2017-01-16T12:34:41.000Z
2022-03-31T22:02:40.000Z
PWGLF/FORWARD/analysis2/AliFMDMCCorrector.cxx
maroozm/AliPhysics
22ec256928cfdf8f800e05bfc1a6e124d90b6eaf
[ "BSD-3-Clause" ]
1,021
2016-07-14T22:41:16.000Z
2022-03-31T05:15:51.000Z
// // This class calculates the exclusive charged particle density // in each for the 5 FMD rings. // // Input: // - 5 RingHistos objects - each with a number of vertex dependent // 2D histograms of the inclusive charge particle density // // Output: // - 5 RingHistos objects - each with a number of vertex ...
25.102473
82
0.625
maroozm
3838da6d708019732df1662610cf9872ba0db48d
4,474
hpp
C++
include/mmf/optimizationSO3.hpp
jstraub/dpMM
538c432d5f98c040d5c1adb072e545e38f97fc69
[ "MIT-feh" ]
11
2015-04-27T15:14:01.000Z
2021-11-18T00:19:18.000Z
include/mmf/optimizationSO3.hpp
jstraub/dpMM
538c432d5f98c040d5c1adb072e545e38f97fc69
[ "MIT-feh" ]
null
null
null
include/mmf/optimizationSO3.hpp
jstraub/dpMM
538c432d5f98c040d5c1adb072e545e38f97fc69
[ "MIT-feh" ]
6
2015-07-02T12:46:20.000Z
2022-03-30T04:39:30.000Z
/* Copyright (c) 2015, Julian Straub <jstraub@csail.mit.edu> Licensed * under the MIT license. See the license file LICENSE. */ #pragma once #include <stdint.h> #include <string> #include <vector> #include <iostream> #include <Eigen/Core> #include <Eigen/Dense> #include <Eigen/QR> #include <unsupported/Eigen/MatrixF...
32.42029
102
0.709879
jstraub
3838ff40388d37125044f329045675cd245ee7bf
8,243
cpp
C++
lib-ltc/src/h3/ltcreader.cpp
vanvught/rpidmx512
b56bb2db406247b4fd4c56aa372952939f4a3290
[ "MIT" ]
328
2015-02-26T09:54:16.000Z
2022-03-31T11:04:00.000Z
lib-ltc/src/h3/ltcreader.cpp
vanvught/rpidmx512
b56bb2db406247b4fd4c56aa372952939f4a3290
[ "MIT" ]
195
2016-07-13T10:43:37.000Z
2022-03-20T19:14:55.000Z
lib-ltc/src/h3/ltcreader.cpp
vanvught/rpidmx512
b56bb2db406247b4fd4c56aa372952939f4a3290
[ "MIT" ]
113
2015-06-08T04:54:23.000Z
2022-02-15T09:06:10.000Z
/** * @file ltcreader.cpp * */ /* Copyright (C) 2019-2021 by Arjan van Vught mailto:info@orangepi-dmx.nl * * 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, includin...
28.522491
161
0.7177
vanvught
3839069263d48f72c2c2355071087f6e8086dbf7
3,103
hpp
C++
RX600/crca.hpp
hirakuni45/RX
3fb91bfc8d5282cde7aa00b8bd37f4aad32582d0
[ "BSD-3-Clause" ]
56
2015-06-04T14:15:38.000Z
2022-03-01T22:58:49.000Z
RX600/crca.hpp
hirakuni45/RX
3fb91bfc8d5282cde7aa00b8bd37f4aad32582d0
[ "BSD-3-Clause" ]
30
2019-07-27T11:03:14.000Z
2021-12-14T09:59:57.000Z
RX600/crca.hpp
hirakuni45/RX
3fb91bfc8d5282cde7aa00b8bd37f4aad32582d0
[ "BSD-3-Clause" ]
15
2017-06-24T11:33:39.000Z
2021-12-07T07:26:58.000Z
#pragma once //=====================================================================// /*! @file @brief RX600 グループ・CRCA 定義 @author 平松邦仁 (hira@rvf-rc45.net) @copyright Copyright (C) 2020 Kunihito Hiramatsu @n Released under the MIT license @n https://github.com/hirakuni45/RX/blob/master/LICENSE */ ...
33.365591
75
0.514663
hirakuni45
384156e73e2b6b3d85cdb4a2645adbc76e1f0504
1,550
cpp
C++
Ch05_Sort/215_Kth_Largest_Element_In_An_Array.cpp
Frodocz/LeetCode101
2dfa3c2749e59d44df892300a720fbe070625351
[ "MIT" ]
null
null
null
Ch05_Sort/215_Kth_Largest_Element_In_An_Array.cpp
Frodocz/LeetCode101
2dfa3c2749e59d44df892300a720fbe070625351
[ "MIT" ]
null
null
null
Ch05_Sort/215_Kth_Largest_Element_In_An_Array.cpp
Frodocz/LeetCode101
2dfa3c2749e59d44df892300a720fbe070625351
[ "MIT" ]
null
null
null
/** * 5.2 Quick Selection * 215. Kth Largest Element in an Array(Medium) * * Given an integer array nums and an integer k, return the kth largest element in the array. * * Note that it is the kth largest element in the sorted order, not the kth distinct element. * * Input: nums = [3,2,1,5,6,4], k = 2, Output...
25
93
0.495484
Frodocz
38423a5734fffc41c486656ddc1339db4ba63e9b
7,827
hpp
C++
Source/CCZ4/CCZ4RHS.impl.hpp
hfinkel/GRChombo
f3f0f0dbcd3368f721eef5d5cea7808f2550d5cf
[ "BSD-3-Clause" ]
null
null
null
Source/CCZ4/CCZ4RHS.impl.hpp
hfinkel/GRChombo
f3f0f0dbcd3368f721eef5d5cea7808f2550d5cf
[ "BSD-3-Clause" ]
null
null
null
Source/CCZ4/CCZ4RHS.impl.hpp
hfinkel/GRChombo
f3f0f0dbcd3368f721eef5d5cea7808f2550d5cf
[ "BSD-3-Clause" ]
null
null
null
/* GRChombo * Copyright 2012 The GRChombo collaboration. * Please refer to LICENSE in GRChombo's root directory. */ #if !defined(CCZ4RHS_HPP_) #error "This file should only be included through CCZ4RHS.hpp" #endif #ifndef CCZ4RHS_IMPL_HPP_ #define CCZ4RHS_IMPL_HPP_ #include "DimensionDefinitions.hpp" #include "GRI...
34.030435
80
0.54082
hfinkel
3845043e7ea7fe041a3f285d61eed2c25469e5bd
782
cpp
C++
code/c++.cpp
zrz1996/ACM-Template
5bd2999480275ad7e1cffc7c1f2c85fa727f0620
[ "MIT" ]
1
2017-05-22T02:51:30.000Z
2017-05-22T02:51:30.000Z
code/c++.cpp
zrz1996/ACM-Template
5bd2999480275ad7e1cffc7c1f2c85fa727f0620
[ "MIT" ]
null
null
null
code/c++.cpp
zrz1996/ACM-Template
5bd2999480275ad7e1cffc7c1f2c85fa727f0620
[ "MIT" ]
null
null
null
C(n,m)奇偶 如果(n & m) == m,那么为奇数,否则为偶数 欧拉线上的四点中,九点圆圆心到垂心和外心的距离相等,而且重心到外心的距离是重心到垂心距离的一半。 定比分点:P, O, M, PM/MO = t; M = (P + t*O) / (1+t) 求因子和 \sum_{t_1=1}^{n_1} \sum_{t_2=1}^{n_2} \cdots \sum_{t_k=1}^{n_k} d(t_1 t_2 \cdots t_k) = \sum_{\substack{1 \leq t_i \leq n_i \ \textbf{for} \ 1 \leq i \leq k \\ (t_i,t_j)=1 \ \textb...
25.225806
268
0.611253
zrz1996
3845c5d9039d58e1bb2995ba5d29922cb8e09ff1
1,109
hpp
C++
cpp/include/gecko/node.hpp
MomsFriendlyRobotCompany/gecko
f340381113bdb423a39d47aaee61e013bb9e002a
[ "MIT" ]
2
2020-03-11T03:53:19.000Z
2020-10-06T03:18:32.000Z
cpp/include/gecko/node.hpp
MomsFriendlyRobotCompany/gecko
f340381113bdb423a39d47aaee61e013bb9e002a
[ "MIT" ]
null
null
null
cpp/include/gecko/node.hpp
MomsFriendlyRobotCompany/gecko
f340381113bdb423a39d47aaee61e013bb9e002a
[ "MIT" ]
null
null
null
/**************************************************\ * The MIT License (MIT) * Copyright (c) 2014 Kevin Walchko * see LICENSE for full details \**************************************************/ #pragma once #include <thread> // #include <mutex> #include <string> // #include <sys/types.h> // pid (type int) // #inclu...
24.644444
53
0.568079
MomsFriendlyRobotCompany
38472c1cdb73cc6fe2bbfd471f11a69feb1d967b
675
cpp
C++
semana-i/D5/A.cpp
moyfdzz/competitive-programming
80861763921e171d1ee557e739bbaf756605798d
[ "MIT" ]
1
2019-11-05T17:02:07.000Z
2019-11-05T17:02:07.000Z
semana-i/D5/A.cpp
moyfdzz/competitive-programming
80861763921e171d1ee557e739bbaf756605798d
[ "MIT" ]
null
null
null
semana-i/D5/A.cpp
moyfdzz/competitive-programming
80861763921e171d1ee557e739bbaf756605798d
[ "MIT" ]
null
null
null
#include <iostream> #include <unordered_set> using namespace std; int l, r, ans = -1; unordered_set<int> numbers; bool checkIfAllUnique(int n) { int unique = true; while (n / 10 > 0) { if (numbers.count(n % 10)) { unique = false; } else { numbers.insert(n % 10)...
15.340909
36
0.447407
moyfdzz
384d8d3c7d44bba5453d7eb64e8bfad9455cde5c
3,206
hpp
C++
stan/math/prim/fun/exp.hpp
detcitty/math
fe99d5f31171edb24bc841a9fa2f082982771d35
[ "BSD-3-Clause" ]
null
null
null
stan/math/prim/fun/exp.hpp
detcitty/math
fe99d5f31171edb24bc841a9fa2f082982771d35
[ "BSD-3-Clause" ]
null
null
null
stan/math/prim/fun/exp.hpp
detcitty/math
fe99d5f31171edb24bc841a9fa2f082982771d35
[ "BSD-3-Clause" ]
null
null
null
#ifndef STAN_MATH_PRIM_FUN_EXP_HPP #define STAN_MATH_PRIM_FUN_EXP_HPP #include <stan/math/prim/meta.hpp> #include <stan/math/prim/fun/Eigen.hpp> #include <stan/math/prim/functor/apply_scalar_unary.hpp> #include <stan/math/prim/functor/apply_vector_unary.hpp> #include <cmath> #include <complex> #include <limits> names...
29.412844
80
0.657517
detcitty
384eb3c472d9864c226eb226b654839263c7abef
1,660
cpp
C++
academic/Advanced Technical Programming/Source Code/HW2/HW2-6.cpp
zzApotheosis/Personal-Projects
1b6144079430d623501dacd7d11d4a28f3e3f343
[ "Apache-2.0" ]
3
2020-08-30T23:14:22.000Z
2020-11-16T05:10:04.000Z
academic/Advanced Technical Programming/Source Code/HW2/HW2-6.cpp
zzApotheosis/Personal-Projects
1b6144079430d623501dacd7d11d4a28f3e3f343
[ "Apache-2.0" ]
3
2021-08-23T04:31:18.000Z
2021-08-24T03:38:41.000Z
academic/Advanced Technical Programming/Source Code/HW2/HW2-6.cpp
zzApotheosis/Personal-Projects
1b6144079430d623501dacd7d11d4a28f3e3f343
[ "Apache-2.0" ]
null
null
null
// Created by Steven Jennings // Date: 16 June 2016 // // Write a program that fills an array with random integers and then // find the position of the smallest element in the array. // It should also print the value of the smallest number. // // Assuming only positive integers. // // Also, I contacted JetBrains and th...
29.122807
105
0.642771
zzApotheosis
3853db83326e61731bef128a87042e71cfdfee7b
442
cc
C++
tests/fuzzer/flexbuffers_verifier_fuzzer.cc
Apotell/flatbuffers
b92bb0584d056cd237fa7059702e49617ee156b7
[ "Apache-2.0" ]
null
null
null
tests/fuzzer/flexbuffers_verifier_fuzzer.cc
Apotell/flatbuffers
b92bb0584d056cd237fa7059702e49617ee156b7
[ "Apache-2.0" ]
null
null
null
tests/fuzzer/flexbuffers_verifier_fuzzer.cc
Apotell/flatbuffers
b92bb0584d056cd237fa7059702e49617ee156b7
[ "Apache-2.0" ]
null
null
null
// Copyright 2015 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include <stddef.h> #include <stdint.h> #include <string> #include "flatbuffers/flexbuffers.h" extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data,...
29.466667
73
0.748869
Apotell
3854a9198c4cbaa63b78c894a6463a96241d0242
7,426
hh
C++
src/systemc/ext/dt/int/sc_nbdefs.hh
mandaltj/gem5_chips
b9c0c602241ffda7851c1afb32fa01f295bb98fd
[ "BSD-3-Clause" ]
135
2016-10-21T03:31:49.000Z
2022-03-25T01:22:20.000Z
src/systemc/ext/dt/int/sc_nbdefs.hh
mandaltj/gem5_chips
b9c0c602241ffda7851c1afb32fa01f295bb98fd
[ "BSD-3-Clause" ]
35
2017-03-10T17:57:46.000Z
2022-02-18T17:34:16.000Z
src/systemc/ext/dt/int/sc_nbdefs.hh
mandaltj/gem5_chips
b9c0c602241ffda7851c1afb32fa01f295bb98fd
[ "BSD-3-Clause" ]
48
2016-12-08T12:03:13.000Z
2022-02-16T09:16:13.000Z
/***************************************************************************** Licensed to Accellera Systems Initiative Inc. (Accellera) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. Accellera licenses...
34.539535
79
0.676677
mandaltj
3856fef9c4accc0591b791dca122fb6b163ac890
10,647
cpp
C++
argCheck/argCheck.cpp
ambiesoft/argCheck
7726c13491dce8ad440690169eb8aa99a08d8486
[ "BSD-2-Clause" ]
null
null
null
argCheck/argCheck.cpp
ambiesoft/argCheck
7726c13491dce8ad440690169eb8aa99a08d8486
[ "BSD-2-Clause" ]
null
null
null
argCheck/argCheck.cpp
ambiesoft/argCheck
7726c13491dce8ad440690169eb8aa99a08d8486
[ "BSD-2-Clause" ]
null
null
null
//BSD 2-Clause License // //Copyright (c) 2017, Ambiesoft //All rights reserved. // //Redistribution and use in source and binary forms, with or without //modification, are permitted provided that the following conditions are met: // //* Redistributions of source code must retain the above copyright notice, th...
24.645833
91
0.6646
ambiesoft
ee2da4a15c7d17cb69f9740fc5387bbf027943ff
13,649
cpp
C++
code/engine.vc2008/xrGame/ui/UIInventoryUpgradeWnd.cpp
Rikoshet-234/xray-oxygen
eaac3fa4780639152684f3251b8b4452abb8e439
[ "Apache-2.0" ]
7
2018-03-27T12:36:07.000Z
2020-06-26T11:31:52.000Z
code/engine.vc2008/xrGame/ui/UIInventoryUpgradeWnd.cpp
Rikoshet-234/xray-oxygen
eaac3fa4780639152684f3251b8b4452abb8e439
[ "Apache-2.0" ]
2
2018-05-26T23:17:14.000Z
2019-04-14T18:33:27.000Z
code/engine.vc2008/xrGame/ui/UIInventoryUpgradeWnd.cpp
Rikoshet-234/xray-oxygen
eaac3fa4780639152684f3251b8b4452abb8e439
[ "Apache-2.0" ]
3
2021-11-01T06:21:26.000Z
2022-01-08T16:13:23.000Z
//////////////////////////////////////////////////////////////////////////// // Module : UIInventoryUpgradeWnd.cpp // Created : 06.10.2007 // Modified : 13.03.2009 // Author : Evgeniy Sokolov, Prishchepa Sergey // Description : inventory upgrade UI window class implementation /////////////////////////////////////...
26.606238
123
0.693604
Rikoshet-234
ee30343c87d9c12ed1924cddfcb6db060a9b8aac
3,200
cpp
C++
WildMagic4/LibFoundation/Intersection/Wm4IntrPlane3Sphere3.cpp
rms80/libgeometry
e60ec7d34968573a9cda3f3bf56d2d4717385dc9
[ "BSL-1.0" ]
23
2015-08-13T07:36:00.000Z
2022-01-24T19:00:04.000Z
WildMagic4/LibFoundation/Intersection/Wm4IntrPlane3Sphere3.cpp
rms80/libgeometry
e60ec7d34968573a9cda3f3bf56d2d4717385dc9
[ "BSL-1.0" ]
null
null
null
WildMagic4/LibFoundation/Intersection/Wm4IntrPlane3Sphere3.cpp
rms80/libgeometry
e60ec7d34968573a9cda3f3bf56d2d4717385dc9
[ "BSL-1.0" ]
6
2015-07-06T21:37:31.000Z
2020-07-01T04:07:50.000Z
// Geometric Tools, LLC // Copyright (c) 1998-2010 // Distributed under the Boost Software License, Version 1.0. // http://www.boost.org/LICENSE_1_0.txt // http://www.geometrictools.com/License/Boost/LICENSE_1_0.txt // // File Version: 4.10.0 (2009/11/18) #include "Wm4FoundationPCH.h" #include "Wm4IntrPlane3S...
35.955056
79
0.504688
rms80
ee34e371b4749df4708520304fd63dda022cf206
15,611
cpp
C++
extras/apps/mason2/mason_tests.cpp
weese/seqan
1acb1688969c7b61497f2328af54b4d11228a484
[ "BSD-3-Clause" ]
1
2015-01-15T16:04:56.000Z
2015-01-15T16:04:56.000Z
extras/apps/mason2/mason_tests.cpp
weese/seqan
1acb1688969c7b61497f2328af54b4d11228a484
[ "BSD-3-Clause" ]
null
null
null
extras/apps/mason2/mason_tests.cpp
weese/seqan
1acb1688969c7b61497f2328af54b4d11228a484
[ "BSD-3-Clause" ]
null
null
null
// ========================================================================== // Mason - A Read Simulator // ========================================================================== // Copyright (c) 2006-2013, Knut Reinert, FU Berlin // All rights reserved. // // Redistribution and use in sour...
36.389277
84
0.642239
weese
ee35296da277f503f788d721cb6a7314fcc5e3b0
720
hpp
C++
cpp/diy-algos/string/tstring.hpp
taseikyo/til
8f703e69a49cbd9854062b102ba307c775d43a56
[ "MIT" ]
1
2021-09-01T14:39:12.000Z
2021-09-01T14:39:12.000Z
cpp/diy-algos/string/tstring.hpp
taseikyo/til
8f703e69a49cbd9854062b102ba307c775d43a56
[ "MIT" ]
null
null
null
cpp/diy-algos/string/tstring.hpp
taseikyo/til
8f703e69a49cbd9854062b102ba307c775d43a56
[ "MIT" ]
null
null
null
/** * @date 2020-09-03 16:24:04 * @authors Lewis Tian (taseikyo@gmail.com) * @link github.com/taseikyo */ class tstring { friend std::ostream& operator<<(std::ostream &out, const tstring &str); public: size_t size() const; const char* c_str() const; // default constructor...
24
53
0.654167
taseikyo
ee365de5456d74600890d50f91a32dfd029451c9
2,258
cc
C++
chrome/browser/nearby_sharing/client/nearby_share_http_notifier.cc
mghgroup/Glide-Browser
6a4c1eaa6632ec55014fee87781c6bbbb92a2af5
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
chrome/browser/nearby_sharing/client/nearby_share_http_notifier.cc
mghgroup/Glide-Browser
6a4c1eaa6632ec55014fee87781c6bbbb92a2af5
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
chrome/browser/nearby_sharing/client/nearby_share_http_notifier.cc
mghgroup/Glide-Browser
6a4c1eaa6632ec55014fee87781c6bbbb92a2af5
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
2
2021-01-05T23:43:46.000Z
2021-01-07T23:36:34.000Z
// Copyright 2020 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/nearby_sharing/client/nearby_share_http_notifier.h" NearbyShareHttpNotifier::NearbyShareHttpNotifier() = default; NearbyShareHt...
34.212121
76
0.798051
mghgroup
ee36e7dd24308244b747baf8f95d63173e4ced88
2,514
hpp
C++
Vitis-AI-Library/xnnpp/include/vitis/ai/nnpp/posedetect.hpp
dendisuhubdy/Vitis-AI
524f65224c52314155dafc011d488ed30e458fcb
[ "Apache-2.0" ]
19
2020-10-26T17:37:22.000Z
2022-01-20T09:32:38.000Z
Vitis-AI-Library/xnnpp/include/vitis/ai/nnpp/posedetect.hpp
dendisuhubdy/Vitis-AI
524f65224c52314155dafc011d488ed30e458fcb
[ "Apache-2.0" ]
20
2020-10-31T03:19:03.000Z
2020-11-02T18:59:49.000Z
Vitis-AI-Library/xnnpp/include/vitis/ai/nnpp/posedetect.hpp
dendisuhubdy/Vitis-AI
524f65224c52314155dafc011d488ed30e458fcb
[ "Apache-2.0" ]
19
2020-10-21T19:15:17.000Z
2022-01-04T08:32:08.000Z
/* * Copyright 2019 Xilinx Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
27.933333
75
0.696897
dendisuhubdy
ee379876a65fb0fb48fc6ff277e16f5dfb0db337
896
cpp
C++
src/Consumer.cpp
cieslarmichal/rabbitmq-chatroom
ab538b6c2c1060e34c097d8a4059d97533c717c1
[ "MIT" ]
null
null
null
src/Consumer.cpp
cieslarmichal/rabbitmq-chatroom
ab538b6c2c1060e34c097d8a4059d97533c717c1
[ "MIT" ]
null
null
null
src/Consumer.cpp
cieslarmichal/rabbitmq-chatroom
ab538b6c2c1060e34c097d8a4059d97533c717c1
[ "MIT" ]
null
null
null
#include "Consumer.h" #include <utility> #include "ConsoleWriter.h" namespace chatroom { Consumer::Consumer(std::unique_ptr<amqp::AmqpClient> amqpClientInit, std::string userIdInit, std::string appIdInit, std::string queueNameInit) : amqpClient{std::move(amqpClientInit)}, userId{std::mo...
24.216216
92
0.606027
cieslarmichal
ee38e8080ebe29f80fb38b78872150c0898af249
2,554
cpp
C++
src/Interfaz/Pantalla.cpp
LeonelAguilera/Deeper-Blue
b8df4ab441fa98abfad12ce63b5e961d5af0c15e
[ "MIT" ]
null
null
null
src/Interfaz/Pantalla.cpp
LeonelAguilera/Deeper-Blue
b8df4ab441fa98abfad12ce63b5e961d5af0c15e
[ "MIT" ]
null
null
null
src/Interfaz/Pantalla.cpp
LeonelAguilera/Deeper-Blue
b8df4ab441fa98abfad12ce63b5e961d5af0c15e
[ "MIT" ]
null
null
null
#include "freeglut.h" #include <math.h> #include <iostream> #include <stdlib.h> #include <ctime> #include "Controles.h" #include "ETSIDI.h" #include "Inicio.h" #include "Pantalla.h" #include "Interfaz.h" using namespace std; pantalla::pantalla() { this->ancho = 35; this->alto = 20; this->rojo = 255...
26.329897
77
0.673453
LeonelAguilera
ee42d13378ce80fa7a323d04cfb42b6343ae787a
8,691
cpp
C++
source/tools/ToolUnitTests/internal_exception_handler_app_lin.cpp
ganboing/pintool
ece4788ffded47124b1c9b203707cc255dbaf20f
[ "Intel" ]
1
2017-06-06T16:02:31.000Z
2017-06-06T16:02:31.000Z
source/tools/ToolUnitTests/internal_exception_handler_app_lin.cpp
ganboing/pintool
ece4788ffded47124b1c9b203707cc255dbaf20f
[ "Intel" ]
null
null
null
source/tools/ToolUnitTests/internal_exception_handler_app_lin.cpp
ganboing/pintool
ece4788ffded47124b1c9b203707cc255dbaf20f
[ "Intel" ]
null
null
null
/*BEGIN_LEGAL Intel Open Source License Copyright (c) 2002-2016 Intel Corporation. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: Redistributions of source code must retain the above copyr...
33.298851
127
0.660338
ganboing
ee4359e3a94a0129cc28d6fee906f4081e9f591e
12,042
cc
C++
platforms/unity/unity.cc
seba10000/resonance-audio
e1923fe6fe733ae4d3c8460ff883c87e2ad05d6b
[ "Apache-2.0" ]
396
2018-03-14T09:55:52.000Z
2022-03-27T14:58:38.000Z
platforms/unity/unity.cc
seba10000/resonance-audio
e1923fe6fe733ae4d3c8460ff883c87e2ad05d6b
[ "Apache-2.0" ]
46
2018-04-18T17:14:29.000Z
2022-02-19T21:35:57.000Z
platforms/unity/unity.cc
seba10000/resonance-audio
e1923fe6fe733ae4d3c8460ff883c87e2ad05d6b
[ "Apache-2.0" ]
96
2018-03-14T17:20:50.000Z
2022-03-03T01:12:37.000Z
/* Copyright 2018 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 applicable law or agreed to in ...
35.627219
80
0.728617
seba10000
ee441a7ff481ecd2eaa1ada8259930d97c4c0e29
1,252
cpp
C++
src/rendering/MeshFactory.cpp
MuniuDev/SpaceRush
5a32ae5ca0ddcc3682a63ef0c0f3c534b921ce36
[ "MIT" ]
null
null
null
src/rendering/MeshFactory.cpp
MuniuDev/SpaceRush
5a32ae5ca0ddcc3682a63ef0c0f3c534b921ce36
[ "MIT" ]
null
null
null
src/rendering/MeshFactory.cpp
MuniuDev/SpaceRush
5a32ae5ca0ddcc3682a63ef0c0f3c534b921ce36
[ "MIT" ]
null
null
null
/* * Copyright by Michal Majczak, 2016 * Licensed under the MIT license: * http://www.opensource.org/licenses/mit-license.php * * Author: Michal Majczak <michal.majczak92@gmail.com> */ #include "rendering/MeshFactory.hpp" #include "rendering/MeshData.hpp" MeshFactory &MeshFactory::GetInstance() { static MeshFactory...
27.217391
80
0.63099
MuniuDev
ee487d40d5949f71594c8685da707df6978c133e
3,166
hpp
C++
include/xul/util/ptime_counter.hpp
hindsights/xul
666ce90742a9919d538ad5c8aad618737171e93b
[ "MIT" ]
2
2018-03-16T07:06:48.000Z
2018-04-02T03:02:14.000Z
include/xul/util/ptime_counter.hpp
hindsights/xul
666ce90742a9919d538ad5c8aad618737171e93b
[ "MIT" ]
null
null
null
include/xul/util/ptime_counter.hpp
hindsights/xul
666ce90742a9919d538ad5c8aad618737171e93b
[ "MIT" ]
1
2019-08-12T05:15:29.000Z
2019-08-12T05:15:29.000Z
#pragma once #include <xul/util/ptime.hpp> #include <xul/std/strings.hpp> #include <boost/config.hpp> #include <boost/static_assert.hpp> #include <stdint.h> namespace xul { class ptime_counter { public: ptime_counter() { sync(); } explicit ptime_counter(const boost::posix_time::ptime& t) : ...
20.037975
79
0.61434
hindsights
ee49a1d806abdaf1b962e4e3c7b1119043e4e7f2
1,240
hpp
C++
src/storage/slice.hpp
steinwurf/storage
80b445cdd56b6a228c6d6ab294dfad5af30a7694
[ "BSD-3-Clause" ]
2
2017-12-09T20:36:05.000Z
2021-02-09T12:37:52.000Z
src/storage/slice.hpp
steinwurf/storage
80b445cdd56b6a228c6d6ab294dfad5af30a7694
[ "BSD-3-Clause" ]
2
2016-05-23T12:28:29.000Z
2018-01-03T13:08:03.000Z
src/storage/slice.hpp
steinwurf/storage
80b445cdd56b6a228c6d6ab294dfad5af30a7694
[ "BSD-3-Clause" ]
1
2017-12-09T20:35:20.000Z
2017-12-09T20:35:20.000Z
// Copyright (c) Steinwurf ApS 2016. // All Rights Reserved // // Distributed under the "BSD License". See the accompanying LICENSE.rst file. #pragma once #include "offset.hpp" #include "shrink.hpp" #include <cstdint> #include <cassert> namespace storage { /// Create a new storage object by slicing the given storag...
29.52381
78
0.682258
steinwurf
ee4a02eda0b482fe77c513baf8e7bc97d0f0fdd2
336
cpp
C++
libs/config/test/fail.cpp
Manu343726/boost-cmake
009c3843b49a56880d988ffdca6d909f881edb3d
[ "BSL-1.0" ]
61
2017-07-03T18:36:45.000Z
2021-09-14T14:57:19.000Z
libs/config/test/fail.cpp
Manu343726/boost-cmake
009c3843b49a56880d988ffdca6d909f881edb3d
[ "BSL-1.0" ]
31
2018-06-24T19:32:19.000Z
2019-04-12T14:27:17.000Z
libs/config/test/fail.cpp
Manu343726/boost-cmake
009c3843b49a56880d988ffdca6d909f881edb3d
[ "BSL-1.0" ]
31
2017-07-04T14:15:34.000Z
2021-09-12T04:50:41.000Z
#ifdef BOOST_ASSERT_CONFIG # undef BOOST_ASSERT_CONFIG #endif #include <boost/config.hpp> #include "test.hpp" @BOOST_CONFIG_TR1_INCLUDE@ @BOOST_CONFIG_IFDEF@ @BOOST_CONFIG_MACRO@ #include "@BOOST_CONFIG_FILE@.ipp" #else #error "this file should not compile" #endif int main( int, char *[] ) { return @BOOST_CONFIG...
17.684211
41
0.75
Manu343726
ee4ae9e5a0c815364b1014fc4ae33d57284ee7b4
451
cpp
C++
Leetcode/Reverse_Bits.cpp
ujjwalgulecha/Coding
d04c19d8f673749a00c85cd5e8935960fb7e8b16
[ "MIT" ]
null
null
null
Leetcode/Reverse_Bits.cpp
ujjwalgulecha/Coding
d04c19d8f673749a00c85cd5e8935960fb7e8b16
[ "MIT" ]
1
2018-02-14T16:00:44.000Z
2021-10-17T16:32:50.000Z
Leetcode/Reverse_Bits.cpp
ujjwalgulecha/Coding
d04c19d8f673749a00c85cd5e8935960fb7e8b16
[ "MIT" ]
null
null
null
class Solution { public: uint32_t reverseBits(uint32_t x){ assert(sizeof(x) == 4); // special case: only works for 4 bytes (32 bits). x = ((x & 0x55555555) << 1) | ((x & 0xAAAAAAAA) >> 1); x = ((x & 0x33333333) << 2) | ((x & 0xCCCCCCCC) >> 2); x = ((x & 0x0F0F0F0F) << 4) | ((x & 0xF0F0F0F0) >> 4); x = (...
30.066667
77
0.509978
ujjwalgulecha
ee4b39be60737b1e44935d1fa414070fbdd5137d
21,539
cpp
C++
libs/libgui/src/nodes/node_base.cpp
mbits-os/JiraDesktop
eb9b66b9c11b2fba1079f03a6f90aea425ce6138
[ "MIT" ]
null
null
null
libs/libgui/src/nodes/node_base.cpp
mbits-os/JiraDesktop
eb9b66b9c11b2fba1079f03a6f90aea425ce6138
[ "MIT" ]
null
null
null
libs/libgui/src/nodes/node_base.cpp
mbits-os/JiraDesktop
eb9b66b9c11b2fba1079f03a6f90aea425ce6138
[ "MIT" ]
null
null
null
/* * Copyright (C) 2015 midnightBITS * * 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, pub...
22.389813
129
0.678351
mbits-os
ee4c54c9194aabeabfb2223ea9c244f4796bbf54
480
cpp
C++
baekjoon/4673.cpp
3-24/Competitive-Programming
8cb3b85bf89db2c173cb0b136de27f2983f335fc
[ "MIT" ]
1
2019-07-15T00:27:37.000Z
2019-07-15T00:27:37.000Z
baekjoon/4673.cpp
3-24/Competitive-Programming
8cb3b85bf89db2c173cb0b136de27f2983f335fc
[ "MIT" ]
null
null
null
baekjoon/4673.cpp
3-24/Competitive-Programming
8cb3b85bf89db2c173cb0b136de27f2983f335fc
[ "MIT" ]
null
null
null
#include<stdio.h> int pow10(int x){ int prod = 1; for (int i=0;i<x;i++){ prod *= 10; } return prod; } int d(int n){ int sum = n; int i = 0; while (1){ if (n >= pow10(i)){ sum += n % pow10(i+1)/pow10(i); i++; } else{ return sum; } } } int main(void){ int arr[200...
12.307692
37
0.427083
3-24
ee4f5d8c9fadc2cd013ffc4a0a6627211de39ba6
815
cpp
C++
cs6378-advanced-operating-systems/program3/program3/globals.cpp
gsteelman/utd
65bf3b81b7a089612f6c7546aa0bbdfbdcdb334e
[ "Apache-2.0" ]
3
2017-03-17T15:15:11.000Z
2020-10-01T16:05:17.000Z
cs6378-advanced-operating-systems/program3/program3/globals.cpp
gsteelman/utd
65bf3b81b7a089612f6c7546aa0bbdfbdcdb334e
[ "Apache-2.0" ]
null
null
null
cs6378-advanced-operating-systems/program3/program3/globals.cpp
gsteelman/utd
65bf3b81b7a089612f6c7546aa0bbdfbdcdb334e
[ "Apache-2.0" ]
7
2016-02-07T22:56:26.000Z
2021-02-26T02:50:28.000Z
#include "RNG.h" #include "network_constructs.h" #include <unistd.h> #include "globals.h" unsigned int NODE_NETWORK_SIZE = 0; unsigned int NODE_SUBNET_SIZE = 0; node_contact_t NODE_INFO; unsigned int NODE_NETWORK_MASTER = 0; // Yup const unsigned int BASE_GROUP = 0; const unsigned int CLIENT_GROUP = 1; const un...
22.027027
60
0.721472
gsteelman
ee50c2cb2a4a4d3e65be388928abdd0388852382
11,028
cpp
C++
research/nlp/textrcnn/infer/mxbase/src/TextrcnnBase.cpp
leelige/mindspore
5199e05ba3888963473f2b07da3f7bca5b9ef6dc
[ "Apache-2.0" ]
77
2021-10-15T08:32:37.000Z
2022-03-30T13:09:11.000Z
research/nlp/textrcnn/infer/mxbase/src/TextrcnnBase.cpp
leelige/mindspore
5199e05ba3888963473f2b07da3f7bca5b9ef6dc
[ "Apache-2.0" ]
3
2021-10-30T14:44:57.000Z
2022-02-14T06:57:57.000Z
research/nlp/textrcnn/infer/mxbase/src/TextrcnnBase.cpp
leelige/mindspore
5199e05ba3888963473f2b07da3f7bca5b9ef6dc
[ "Apache-2.0" ]
24
2021-10-15T08:32:45.000Z
2022-03-24T18:45:20.000Z
/** * Copyright 2021 Huawei Technologies Co., Ltd * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law...
34.788644
118
0.621872
leelige