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
f1c4fb0cc2981c28751ffb928d48cb8dec47d8f9
180
cpp
C++
chapter-04/recipe-01/cxx-example/test.cpp
istupsm/cmake-cookbook
342d0171802153619ea124c5b8e792ce45178895
[ "MIT" ]
1,600
2018-05-24T01:32:44.000Z
2022-03-31T09:24:11.000Z
chapter-04/recipe-01/cxx-example/test.cpp
istupsm/cmake-cookbook
342d0171802153619ea124c5b8e792ce45178895
[ "MIT" ]
280
2017-08-27T13:10:51.000Z
2018-05-23T15:09:58.000Z
chapter-04/recipe-01/cxx-example/test.cpp
istupsm/cmake-cookbook
342d0171802153619ea124c5b8e792ce45178895
[ "MIT" ]
475
2018-05-23T15:26:27.000Z
2022-03-31T07:28:19.000Z
#include "sum_integers.hpp" #include <vector> int main() { auto integers = {1, 2, 3, 4, 5}; if (sum_integers(integers) == 15) { return 0; } else { return 1; } }
12.857143
37
0.561111
istupsm
f1c7013995cc7c140d693bf45d299634baa971a0
19,718
cpp
C++
source/LibFgBase/src/FgTopology.cpp
SingularInversions/FaceGenBaseLibrary
e928b482fa78597cfcf3923f7252f7902ec0dfa9
[ "MIT" ]
41
2016-04-09T07:48:10.000Z
2022-03-01T15:46:08.000Z
source/LibFgBase/src/FgTopology.cpp
SingularInversions/FaceGenBaseLibrary
e928b482fa78597cfcf3923f7252f7902ec0dfa9
[ "MIT" ]
9
2015-09-23T10:54:50.000Z
2020-01-04T21:16:57.000Z
source/LibFgBase/src/FgTopology.cpp
SingularInversions/FaceGenBaseLibrary
e928b482fa78597cfcf3923f7252f7902ec0dfa9
[ "MIT" ]
29
2015-10-01T14:44:42.000Z
2022-01-05T01:28:43.000Z
// // Coypright (c) 2021 Singular Inversions Inc. (facegen.com) // Use, modification and distribution is subject to the MIT License, // see accompanying file LICENSE.txt or facegen.com/base_library_license.txt // #include "stdafx.h" #include "FgStdSet.hpp" #include "FgTopology.hpp" #include "FgOpt.hpp" #in...
33.534014
110
0.522822
SingularInversions
f1c9d4d9e0a0cf0f02ce00b588e2cdbd1cd424e7
7,333
cpp
C++
apps/mtcnn/test/detect_alignment.cpp
fireae/caffe_latte
a28559481c2864c79d4b393e91869eb77c0a75fe
[ "Intel", "BSD-2-Clause" ]
7
2018-02-06T13:48:17.000Z
2019-04-08T13:56:22.000Z
apps/mtcnn/test/detect_alignment.cpp
fireae/caffe_latte
a28559481c2864c79d4b393e91869eb77c0a75fe
[ "Intel", "BSD-2-Clause" ]
null
null
null
apps/mtcnn/test/detect_alignment.cpp
fireae/caffe_latte
a28559481c2864c79d4b393e91869eb77c0a75fe
[ "Intel", "BSD-2-Clause" ]
null
null
null
// caffe #include "mtcnn.h" //#include "LBFRegressor.h" #include "lbf/lbf.hpp" using namespace cv; using namespace std; using namespace lbf; // // parameters // Params global_params; // string modelPath ="../model/"; // string dataPath = "./../../Datasets/"; // string cascadeName = "../model/haarcascade_frontalface_al...
33.484018
106
0.586527
fireae
f1cb5b1626768011a4584d1cbb285257a1230516
242
cpp
C++
Source/FSD/Private/CarvedResourceData.cpp
trumank/DRG-Mods
2febc879f2ffe83498ac913c114d0e933427e93e
[ "MIT" ]
8
2021-07-10T20:06:05.000Z
2022-03-04T19:03:50.000Z
Source/FSD/Private/CarvedResourceData.cpp
trumank/DRG-Mods
2febc879f2ffe83498ac913c114d0e933427e93e
[ "MIT" ]
9
2022-01-13T20:49:44.000Z
2022-03-27T22:56:48.000Z
Source/FSD/Private/CarvedResourceData.cpp
trumank/DRG-Mods
2febc879f2ffe83498ac913c114d0e933427e93e
[ "MIT" ]
2
2021-07-10T20:05:42.000Z
2022-03-14T17:05:35.000Z
#include "CarvedResourceData.h" class UCarvedResourceCreator; UCarvedResourceCreator* UCarvedResourceData::LoadResourceCreator() const { return NULL; } UCarvedResourceData::UCarvedResourceData() { this->UnitsPerCarver = 10.00f; }
18.615385
74
0.780992
trumank
f1cc621494fd23264216a95089079289bf867b7e
2,741
cpp
C++
BlackVision/Applications/LibBVLogic/Source/EndUserAPI/EventHandlers/GizmoEventsHandlers.cpp
black-vision-engine/bv-engine
85089d41bb22afeaa9de070646e12aa1777ecedf
[ "MIT" ]
1
2022-01-28T11:43:47.000Z
2022-01-28T11:43:47.000Z
BlackVision/Applications/LibBVLogic/Source/EndUserAPI/EventHandlers/GizmoEventsHandlers.cpp
black-vision-engine/bv-engine
85089d41bb22afeaa9de070646e12aa1777ecedf
[ "MIT" ]
null
null
null
BlackVision/Applications/LibBVLogic/Source/EndUserAPI/EventHandlers/GizmoEventsHandlers.cpp
black-vision-engine/bv-engine
85089d41bb22afeaa9de070646e12aa1777ecedf
[ "MIT" ]
null
null
null
#include "stdafxBVApp.h" #include "GizmoEventsHandlers.h" #include "Engine/Editors/BVProjectEditor.h" #include "BVAppLogic.h" namespace bv { // *********************** // GizmoHandlers::GizmoHandlers( BVAppLogic * logic ) : m_appLogic( logic ) {} // *********************** // GizmoHandl...
26.61165
190
0.590296
black-vision-engine
f1ce0e7856384222730a9ca3d4ea779478b2460c
1,872
cpp
C++
src/_leetcode/leet_740.cpp
turesnake/leetPractice
a87b9b90eb8016038d7e5d3ad8e50e4ceb54d69b
[ "MIT" ]
null
null
null
src/_leetcode/leet_740.cpp
turesnake/leetPractice
a87b9b90eb8016038d7e5d3ad8e50e4ceb54d69b
[ "MIT" ]
null
null
null
src/_leetcode/leet_740.cpp
turesnake/leetPractice
a87b9b90eb8016038d7e5d3ad8e50e4ceb54d69b
[ "MIT" ]
null
null
null
/* * ====================== leet_740.cpp ========================== * -- tpr -- * CREATE -- 2020.06.29 * MODIFY -- * ---------------------------------------------------------- * 740. 删除与获得点数 */ #include "innLe...
23.4
68
0.350427
turesnake
f1cf8fc105c5da9f00cf2059bff4bf5b0abb3815
2,293
hpp
C++
test/svscan/mock_service.hpp
taylorb-microsoft/winss
ede93f84a5d9585502db5190f2ec6365858f695a
[ "Apache-2.0" ]
52
2017-01-05T23:39:38.000Z
2020-06-04T03:00:11.000Z
test/svscan/mock_service.hpp
morganstanley/winss
ede93f84a5d9585502db5190f2ec6365858f695a
[ "Apache-2.0" ]
24
2017-01-05T05:07:34.000Z
2018-03-09T00:50:58.000Z
test/svscan/mock_service.hpp
morganstanley/winss
ede93f84a5d9585502db5190f2ec6365858f695a
[ "Apache-2.0" ]
7
2016-12-27T20:55:20.000Z
2018-03-09T00:32:19.000Z
/* * Copyright 2016-2017 Morgan Stanley * * 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 i...
27.963415
74
0.703009
taylorb-microsoft
f1d011a2fe42fefb77af20b866d9d3c4a7caa75c
1,705
cpp
C++
euryale/src/org/cracs/euryale/qos/medusa/medusa.cpp
rolandomar/stheno
6b41f56f25be1e7d56c8be4973203bf943e4f041
[ "Apache-2.0" ]
7
2015-08-17T16:24:22.000Z
2022-03-16T15:54:19.000Z
euryale/src/org/cracs/euryale/qos/medusa/medusa.cpp
rolandomar/stheno
6b41f56f25be1e7d56c8be4973203bf943e4f041
[ "Apache-2.0" ]
null
null
null
euryale/src/org/cracs/euryale/qos/medusa/medusa.cpp
rolandomar/stheno
6b41f56f25be1e7d56c8be4973203bf943e4f041
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2012 Rolando Martins, CRACS & INESC-TEC, DCC/FCUP * * 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 * * Unle...
32.788462
153
0.588856
rolandomar
f1d2a4ec75071259ebd008038add87d789a82d5b
66
hpp
C++
libs/output.hpp
smagill/go-libsass
b93b53d9b499fcc367be848c279c9be54ac59598
[ "Apache-2.0" ]
196
2015-04-20T17:55:29.000Z
2022-01-28T09:33:33.000Z
libs/output.hpp
wellington/libsass
90bbc073a203841de40b17109cf6e47b87b91a6e
[ "Apache-2.0" ]
60
2015-05-06T13:27:28.000Z
2020-10-23T17:42:36.000Z
libs/output.hpp
wellington/libsass
90bbc073a203841de40b17109cf6e47b87b91a6e
[ "Apache-2.0" ]
39
2015-04-27T18:15:56.000Z
2021-12-01T22:00:39.000Z
#ifndef USE_LIBSASS #include "../libsass-build/output.hpp" #endif
16.5
38
0.757576
smagill
f1d2d99b83907db95eec04464c88c92e8df9f47b
3,146
cpp
C++
ros/src/cam/src/capture_image/node.cpp
whymatter/albatross
9e5455c8186d2cba9d5a5afdbb234c695200a5b4
[ "Unlicense" ]
1
2021-06-11T08:01:23.000Z
2021-06-11T08:01:23.000Z
ros/src/cam/src/capture_image/node.cpp
whymatter/albatross
9e5455c8186d2cba9d5a5afdbb234c695200a5b4
[ "Unlicense" ]
null
null
null
ros/src/cam/src/capture_image/node.cpp
whymatter/albatross
9e5455c8186d2cba9d5a5afdbb234c695200a5b4
[ "Unlicense" ]
null
null
null
// // Created by whymatter on 15.09.18. // #include "opencv2/opencv.hpp" #include <iostream> #include <stdio.h> #include <stdlib.h> #include <sys/stat.h> #include <unistd.h> #include <sys/types.h> using namespace cv; int main(int argc, char **argv) { int opt_w = 640; int opt_h = 480; int opt_z = 100; ...
28.342342
102
0.4911
whymatter
f1d46f6d7bfaaa38d694a6603570339e00480468
638
cpp
C++
3rdparty/GPSTk/core/lib/NavFilter/LNavParityFilter.cpp
mfkiwl/ICE
e660d031bb1bcea664db1de4946fd8781be5b627
[ "MIT" ]
50
2019-10-12T01:22:20.000Z
2022-02-15T23:28:26.000Z
3rdparty/GPSTk/core/lib/NavFilter/LNavParityFilter.cpp
wuyou33/Enabling-Robust-State-Estimation-through-Measurement-Error-Covariance-Adaptation
2f1ff054b7c5059da80bb3b2f80c05861a02cc36
[ "MIT" ]
null
null
null
3rdparty/GPSTk/core/lib/NavFilter/LNavParityFilter.cpp
wuyou33/Enabling-Robust-State-Estimation-through-Measurement-Error-Covariance-Adaptation
2f1ff054b7c5059da80bb3b2f80c05861a02cc36
[ "MIT" ]
14
2019-11-05T01:50:29.000Z
2021-08-06T06:23:44.000Z
#include "LNavParityFilter.hpp" #include "LNavFilterData.hpp" #include "EngNav.hpp" namespace gpstk { LNavParityFilter :: LNavParityFilter() { } void LNavParityFilter :: validate(NavMsgList& msgBitsIn, NavMsgList& msgBitsOut) { NavMsgList::iterator i; // check parity of each subfr...
22
67
0.592476
mfkiwl
f1da495c55dca34d529f8248b1990f02491ea1c7
3,330
hpp
C++
source/include/coffee/http/HttpResponse.hpp
ciscoruiz/wepa
e6d922157543c91b6804f11073424a0a9c6e8f51
[ "MIT" ]
2
2018-02-03T06:56:29.000Z
2021-04-20T10:28:32.000Z
source/include/coffee/http/HttpResponse.hpp
ciscoruiz/wepa
e6d922157543c91b6804f11073424a0a9c6e8f51
[ "MIT" ]
8
2018-02-18T21:00:07.000Z
2018-02-20T15:31:24.000Z
source/include/coffee/http/HttpResponse.hpp
ciscoruiz/wepa
e6d922157543c91b6804f11073424a0a9c6e8f51
[ "MIT" ]
1
2018-02-09T07:09:26.000Z
2018-02-09T07:09:26.000Z
// MIT License // // Copyright (c) 2018 Francisco Ruiz (francisco.ruiz.rayo@gmail.com) // // 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 ...
35.052632
168
0.751351
ciscoruiz
f1dadbf93397efe46ebd99f83d1ef7e58722b6cb
718
cpp
C++
src/output/ArduinoSerialLogging.cpp
Sapfir0/meteostation
efd97d36cea44c926cda6302064b1e684cf1102c
[ "MIT" ]
null
null
null
src/output/ArduinoSerialLogging.cpp
Sapfir0/meteostation
efd97d36cea44c926cda6302064b1e684cf1102c
[ "MIT" ]
9
2019-03-27T15:01:23.000Z
2019-11-30T14:22:07.000Z
src/output/ArduinoSerialLogging.cpp
Sapfir0/meteostation
efd97d36cea44c926cda6302064b1e684cf1102c
[ "MIT" ]
1
2019-08-06T09:30:34.000Z
2019-08-06T09:30:34.000Z
// // Created by avdosev on 05.09.2019. // #include "ArduinoSerialLogging.h" #include <Arduino.h> void arduinoOutput(Logger::MsgType msgType, String msg) { switch (msgType) { case Logger::MsgType::DebugMsg: Serial.print(""); break; case Logger::MsgType::InfoMsg: ...
23.933333
57
0.551532
Sapfir0
f1dcfc71d8f2c95c9c6ea60ffe75c4ce9f0d5254
1,206
cpp
C++
CSipSimple/jni/csipsimple-wrapper/src/zrtp_android_callback.cpp
dmfr/CSipSimple-mirror
f2f2b8efcb739090a45b205690a0fb5b74bce343
[ "OpenSSL", "Unlicense" ]
4
2016-09-29T00:04:31.000Z
2021-12-02T08:39:51.000Z
CSipSimple/jni/csipsimple-wrapper/src/zrtp_android_callback.cpp
dmfr/CSipSimple-mirror
f2f2b8efcb739090a45b205690a0fb5b74bce343
[ "OpenSSL", "Unlicense" ]
null
null
null
CSipSimple/jni/csipsimple-wrapper/src/zrtp_android_callback.cpp
dmfr/CSipSimple-mirror
f2f2b8efcb739090a45b205690a0fb5b74bce343
[ "OpenSSL", "Unlicense" ]
null
null
null
/** * Copyright (C) 2010 Regis Montoya (aka r3gis - www.r3gis.fr) * This file is part of pjsip_android. * * 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/...
30.923077
79
0.760365
dmfr
f1de45a3fbe4bbbbc6097c1095eb0a2c14f47b53
2,305
cpp
C++
POJ/10 - 13/poj1185.cpp
bilibiliShen/CodeBank
49a69b2b2c3603bf105140a9d924946ed3193457
[ "MIT" ]
1
2017-08-19T16:02:15.000Z
2017-08-19T16:02:15.000Z
POJ/10 - 13/poj1185.cpp
bilibiliShen/CodeBank
49a69b2b2c3603bf105140a9d924946ed3193457
[ "MIT" ]
null
null
null
POJ/10 - 13/poj1185.cpp
bilibiliShen/CodeBank
49a69b2b2c3603bf105140a9d924946ed3193457
[ "MIT" ]
1
2018-01-05T23:37:23.000Z
2018-01-05T23:37:23.000Z
#include <iostream> #include <string> #include <cstring> #include <cstdio> #include <cmath> #include <vector> #include <algorithm> using namespace std; typedef long long int64; template<class T>inline bool updateMin(T& a, T b){ return a > b ? a = b, 1: 0; } template<class T>inline bool updateMax(T& a, T b){ return a <...
23.282828
80
0.390889
bilibiliShen
f1e07af3cb00c29e622d43fef704df02a835263e
821
cpp
C++
src/classwork/03_assign/main.cpp
IrvinBeltranACC/acc-cosc-1337-spring-2021-IrvinBeltranACC
379a48eb330bd00b307a67fca182d588a13b00ff
[ "MIT" ]
null
null
null
src/classwork/03_assign/main.cpp
IrvinBeltranACC/acc-cosc-1337-spring-2021-IrvinBeltranACC
379a48eb330bd00b307a67fca182d588a13b00ff
[ "MIT" ]
null
null
null
src/classwork/03_assign/main.cpp
IrvinBeltranACC/acc-cosc-1337-spring-2021-IrvinBeltranACC
379a48eb330bd00b307a67fca182d588a13b00ff
[ "MIT" ]
1
2021-02-05T03:03:49.000Z
2021-02-05T03:03:49.000Z
//Write the include statement for decisions.h here #include <iostream> #include "decision.h" //Write namespace using statements for cout and cin using std:: cout; using std::cin ; int main() { int grade; std::string letter_grade_if; std::string letter_grade_switch; cout<<"\nEnter a numerical grade between 0-1...
22.805556
186
0.711328
IrvinBeltranACC
f1e536af449a94bfcb37487fbb4d120d8c96090c
848
cpp
C++
Group-Video/OpenVideoCall-Linux/sample/OpenVideoCall/OpenVideoCallApp.cpp
635342478/Basic-Video-Call
d4013342e176df268c7b5030bf8168f95cf664c2
[ "MIT" ]
666
2018-10-03T19:51:47.000Z
2022-03-29T04:27:02.000Z
Group-Video/OpenVideoCall-Linux/sample/OpenVideoCall/OpenVideoCallApp.cpp
635342478/Basic-Video-Call
d4013342e176df268c7b5030bf8168f95cf664c2
[ "MIT" ]
180
2018-10-09T23:17:10.000Z
2022-03-31T13:21:42.000Z
Group-Video/OpenVideoCall-Linux/sample/OpenVideoCall/OpenVideoCallApp.cpp
635342478/Basic-Video-Call
d4013342e176df268c7b5030bf8168f95cf664c2
[ "MIT" ]
1,128
2018-10-01T05:50:12.000Z
2022-03-24T09:13:33.000Z
#include "AgoraDefs.h" #include "OpenVideoCallApp.h" #include "View/CommandLineView.h" #include "Controller/EngineController.h" #include "EngineModel/AGEngineModel.h" OpenVideoCallApp::OpenVideoCallApp() { m_view = new CommandLineView(); m_controller = new EngineController(); m_controller->setView(m_vi...
21.74359
57
0.676887
635342478
f1effaa9a7ee21e4822ea94125ca78227be51f4c
1,125
cpp
C++
Actions/SaveByTypeAction.cpp
D4rk1n/Project
c2dcfd0fc52cb0c7d755e5fc387171fc09bc3aae
[ "Apache-2.0" ]
2
2019-06-15T21:46:56.000Z
2019-06-22T02:20:28.000Z
Actions/SaveByTypeAction.cpp
D4rk1n/Project
c2dcfd0fc52cb0c7d755e5fc387171fc09bc3aae
[ "Apache-2.0" ]
1
2019-06-22T03:31:52.000Z
2019-06-22T03:44:14.000Z
Actions/SaveByTypeAction.cpp
D4rk1n/Paint-For-Kids-Project
c2dcfd0fc52cb0c7d755e5fc387171fc09bc3aae
[ "Apache-2.0" ]
1
2018-12-30T09:47:25.000Z
2018-12-30T09:47:25.000Z
#include "SaveByTypeAction.h" #include "..\ApplicationManager.h" #include "..\Figures\CElipse.h" #include "..\Figures\CRectangle.h" #include "..\Figures\CTriangle.h" #include "..\Figures\CRhombus.h" #include "..\Figures\CLine.h" #include "..\GUI\UI_Info.h" #include "..\GUI\input.h" #include "..\GUI\Output.h" #include "...
19.396552
73
0.68
D4rk1n
f1f0988903330c50b3fb1741fb200cce3e243f83
2,171
hpp
C++
Support/Modules/PointCloud/IPointCloudRenderer.hpp
graphisoft-python/TextEngine
20c2ff53877b20fdfe2cd51ce7abdab1ff676a70
[ "Apache-2.0" ]
3
2019-07-15T10:54:54.000Z
2020-01-25T08:24:51.000Z
Support/Modules/PointCloud/IPointCloudRenderer.hpp
graphisoft-python/GSRoot
008fac2c6bf601ca96e7096705e25b10ba4d3e75
[ "Apache-2.0" ]
null
null
null
Support/Modules/PointCloud/IPointCloudRenderer.hpp
graphisoft-python/GSRoot
008fac2c6bf601ca96e7096705e25b10ba4d3e75
[ "Apache-2.0" ]
1
2020-09-26T03:17:22.000Z
2020-09-26T03:17:22.000Z
// ***************************************************************************** // File: IPointCloudRenderer.hpp // // Description: Pointcloud renderer object interface // Conditionally threadsafe (no per instance threadsafety) // // Project: GRAPHISOFT PointCloud // // Contact person: DG // // SG compatible ...
29.739726
113
0.614924
graphisoft-python
f1f226b7679f8e35dd4ad10646256f600e1a1c0f
5,101
cpp
C++
rdf3x/src/rts/GroupBy.cpp
dkw-aau/trident-clone
18f896db2be05870069ae7b3aa6b4837c74fff0f
[ "Apache-2.0" ]
20
2018-10-17T21:39:40.000Z
2021-11-10T11:07:23.000Z
rdf3x/src/rts/GroupBy.cpp
dkw-aau/trident-clone
18f896db2be05870069ae7b3aa6b4837c74fff0f
[ "Apache-2.0" ]
5
2020-07-06T22:50:04.000Z
2022-03-17T10:34:15.000Z
rdf3x/src/rts/GroupBy.cpp
dkw-aau/trident-clone
18f896db2be05870069ae7b3aa6b4837c74fff0f
[ "Apache-2.0" ]
9
2018-09-18T11:37:35.000Z
2022-03-29T07:46:41.000Z
#include <algorithm> #include <rts/operator/GroupBy.hpp> #include <rts/operator/PlanPrinter.hpp> #include <algorithm> GroupBy::GroupBy(Operator* child, std::map<unsigned, Register*> bindings, std::vector<unsigned> regs, bool distinct, double expectedOutputCardinality) : Operator(expect...
29.148571
147
0.576162
dkw-aau
f1f352db6ab0c500449329784bba26c1366981f4
1,689
hpp
C++
Platform.hpp
ceerRep/cRsToolkit
db66ff291c5f9ac3a1cec03c9da710a15c9e45d7
[ "MIT" ]
null
null
null
Platform.hpp
ceerRep/cRsToolkit
db66ff291c5f9ac3a1cec03c9da710a15c9e45d7
[ "MIT" ]
null
null
null
Platform.hpp
ceerRep/cRsToolkit
db66ff291c5f9ac3a1cec03c9da710a15c9e45d7
[ "MIT" ]
null
null
null
#ifndef PLATFORM_HPP #define PLATFORM_HPP #include <exception> #include <QUrl> #include <QEventLoop> #include <QNetworkReply> #include <QNetworkAccessManager> #include <QMessageBox> #include <Broadcaster.hpp> class Platform { public: virtual QString getName() const = 0; virtual QString getLiveURL(const Bro...
28.15
124
0.590882
ceerRep
f1f648541f3a019381e4b8b0d6c122f60d994379
2,645
hpp
C++
se_core/include/se/io/point_cloud_io.hpp
hexagon-geo-surv/supereight-public
29a978956d2b169a3f34eed9bc374e325551c10b
[ "MIT" ]
null
null
null
se_core/include/se/io/point_cloud_io.hpp
hexagon-geo-surv/supereight-public
29a978956d2b169a3f34eed9bc374e325551c10b
[ "MIT" ]
null
null
null
se_core/include/se/io/point_cloud_io.hpp
hexagon-geo-surv/supereight-public
29a978956d2b169a3f34eed9bc374e325551c10b
[ "MIT" ]
null
null
null
// SPDX-FileCopyrightText: 2018-2020 Smart Robotics Lab, Imperial College London // SPDX-FileCopyrightText: 2016 Emanuele Vespa, ETH Zürich // SPDX-FileCopyrightText: 2019-2020 Nils Funk, Imperial College London // SPDX-FileCopyrightText: 2019-2020 Sotiris Papatheodorou, Imperial College London // SPDX-License-Identifi...
37.253521
111
0.645369
hexagon-geo-surv
f1f95ab7ceac4f70a394d48d6d8be9dcbcd6ccd6
2,668
cpp
C++
source/language/scope.cpp
ThatGuyMike7/masonc
43a3a69cd64f52fda8a629360c52a222549d6368
[ "BSL-1.0" ]
3
2020-08-10T13:37:48.000Z
2021-07-06T10:14:39.000Z
source/language/scope.cpp
ThatGuyMike7/masonc
43a3a69cd64f52fda8a629360c52a222549d6368
[ "BSL-1.0" ]
null
null
null
source/language/scope.cpp
ThatGuyMike7/masonc
43a3a69cd64f52fda8a629360c52a222549d6368
[ "BSL-1.0" ]
null
null
null
#include <scope.hpp> #include <logger.hpp> #include <common.hpp> #include <mod.hpp> #include <iostream> #include <optional> namespace masonc { scope_index scope::index() { return m_index; } const mod& scope::get_module() { return *m_module; } const char* scope::name() ...
24.036036
91
0.583958
ThatGuyMike7
f1fadb7d0fdf8d7f5326fda99653732f2199563c
5,795
cpp
C++
src/animation_runner/animation_runner.cpp
Mercotui/truncated-cube-lamp
0fbccd0f5189b0c6aed530569c77e22cdfec92cd
[ "MIT" ]
1
2021-11-30T16:20:29.000Z
2021-11-30T16:20:29.000Z
src/animation_runner/animation_runner.cpp
Mercotui/truncated-cube-lamp
0fbccd0f5189b0c6aed530569c77e22cdfec92cd
[ "MIT" ]
1
2022-02-27T13:27:44.000Z
2022-02-27T13:27:44.000Z
src/animation_runner/animation_runner.cpp
Mercotui/truncated-cube-lamp
0fbccd0f5189b0c6aed530569c77e22cdfec92cd
[ "MIT" ]
null
null
null
#include "animation_runner.hpp" #include <QtCore/QCoreApplication> #include <QtCore/QDir> #include <QtCore/QDirIterator> #include <QtCore/QLoggingCategory> #include <QtCore/QThread> #include <algorithm> #include <utility> Q_LOGGING_CATEGORY(AnimationRunnerLog, "animation.runner", QtInfoMsg) namespace { constexpr int...
34.909639
79
0.679034
Mercotui
f1fd08670f58b9ec04eaa0c75e096215f8ad1993
1,773
hpp
C++
libs/network/include/network/generics/callbacks.hpp
devjsc/ledger-1
2aa68e05b9f9c10a9971fc8ddf4848695511af3c
[ "Apache-2.0" ]
3
2019-07-11T08:49:27.000Z
2021-09-07T16:49:15.000Z
libs/network/include/network/generics/callbacks.hpp
devjsc/ledger-1
2aa68e05b9f9c10a9971fc8ddf4848695511af3c
[ "Apache-2.0" ]
null
null
null
libs/network/include/network/generics/callbacks.hpp
devjsc/ledger-1
2aa68e05b9f9c10a9971fc8ddf4848695511af3c
[ "Apache-2.0" ]
2
2019-11-13T10:55:24.000Z
2019-11-13T11:37:09.000Z
#pragma once //------------------------------------------------------------------------------ // // Copyright 2018-2019 Fetch.AI Limited // // 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 Licen...
24.625
80
0.601241
devjsc
f1fd13a93c76aceb08367dc6c847f907e4153722
4,197
cc
C++
components/services/leveldb/leveldb_service_impl.cc
zipated/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
2,151
2020-04-18T07:31:17.000Z
2022-03-31T08:39:18.000Z
components/services/leveldb/leveldb_service_impl.cc
cangulcan/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
395
2020-04-18T08:22:18.000Z
2021-12-08T13:04:49.000Z
components/services/leveldb/leveldb_service_impl.cc
cangulcan/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
338
2020-04-18T08:03:10.000Z
2022-03-29T12:33:22.000Z
// Copyright 2016 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 "components/services/leveldb/leveldb_service_impl.h" #include <memory> #include <utility> #include "base/sequenced_task_runner.h" #include "com...
36.495652
78
0.722659
zipated
f1fd9de1155d653a44ccb0e04cf7767249e9a536
2,493
cpp
C++
src/LG/lg-P1175.cpp
krishukr/cpp-code
1c94401682227bd86c0d9295134d43582247794e
[ "MIT" ]
1
2021-08-13T14:27:39.000Z
2021-08-13T14:27:39.000Z
src/LG/lg-P1175.cpp
krishukr/cpp-code
1c94401682227bd86c0d9295134d43582247794e
[ "MIT" ]
null
null
null
src/LG/lg-P1175.cpp
krishukr/cpp-code
1c94401682227bd86c0d9295134d43582247794e
[ "MIT" ]
null
null
null
#include <cmath> #include <cstdio> #include <cstring> #include <iostream> #include <list> #include <stack> void out(std::string s); int pri(char x); int num(int a, int b, char op); std::string trans(std::string s); void calc(std::string s); int main() { std::ios::sync_with_stdio(false); std::string s; ...
19.629921
63
0.384276
krishukr
f1ff1dd453499abb5396b20b59f4a38318c663a1
419
cpp
C++
Chapter01/philosophy/time/good_time.cpp
gbellizio/Software-Architecture-with-Cpp
eb0f7a52ef1253d9b0091714eee9c94c156b02bc
[ "MIT" ]
193
2021-03-27T00:46:13.000Z
2022-03-29T07:25:00.000Z
Chapter01/philosophy/time/good_time.cpp
gbellizio/Software-Architecture-with-Cpp
eb0f7a52ef1253d9b0091714eee9c94c156b02bc
[ "MIT" ]
6
2021-03-26T05:48:17.000Z
2022-02-15T12:16:54.000Z
Chapter01/philosophy/time/good_time.cpp
gbellizio/Software-Architecture-with-Cpp
eb0f7a52ef1253d9b0091714eee9c94c156b02bc
[ "MIT" ]
64
2021-04-01T02:18:55.000Z
2022-03-14T12:32:29.000Z
#include <chrono> using namespace std::literals::chrono_literals; struct Duration { std::chrono::milliseconds millis_; }; void example() { auto d = Duration{}; // d.millis_ = 100; // compilation error, as 100 could mean anything d.millis_ = 100ms; // okay auto timeout = 1s; // or std::chrono::seconds(1)...
23.277778
80
0.680191
gbellizio
7b010d971fe81aec02fecae2fe71b65978b4a14f
3,150
cpp
C++
test-validationtool.cpp
clean-code-craft-tcq-1/ms1snippet-cpp-akashbhasker
b80133d9f36dc44aed8cb2a78b77cd62bf57f1d3
[ "MIT" ]
null
null
null
test-validationtool.cpp
clean-code-craft-tcq-1/ms1snippet-cpp-akashbhasker
b80133d9f36dc44aed8cb2a78b77cd62bf57f1d3
[ "MIT" ]
null
null
null
test-validationtool.cpp
clean-code-craft-tcq-1/ms1snippet-cpp-akashbhasker
b80133d9f36dc44aed8cb2a78b77cd62bf57f1d3
[ "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 "sensor-validate.h" /*---------------------------------------------------------------------------------- * SoC Sensor Tests */ TEST_CASE("Reports ERROR when SoC readings JUMP ABRUPBT...
28.636364
97
0.694921
clean-code-craft-tcq-1
7b02d0cfd49fa5a663c0e2ba782f3ead058c2813
2,116
cpp
C++
library/cpp/coroutine/engine/stack/ut/stack_ut.cpp
wikman/catboost
984989d556a92f4978df193b835dfe98afa77bc2
[ "Apache-2.0" ]
null
null
null
library/cpp/coroutine/engine/stack/ut/stack_ut.cpp
wikman/catboost
984989d556a92f4978df193b835dfe98afa77bc2
[ "Apache-2.0" ]
null
null
null
library/cpp/coroutine/engine/stack/ut/stack_ut.cpp
wikman/catboost
984989d556a92f4978df193b835dfe98afa77bc2
[ "Apache-2.0" ]
null
null
null
#include <library/cpp/coroutine/engine/stack/stack.h> #include <library/cpp/coroutine/engine/stack/stack_common.h> #include <library/cpp/coroutine/engine/stack/stack_guards.h> #include <library/cpp/coroutine/engine/stack/stack_utils.h> #include <library/cpp/testing/gtest/gtest.h> using namespace testing; namespace N...
34.688525
110
0.657372
wikman
7b07547ad7b4180dfbaa511d588ca12b4486c2a5
1,204
inl
C++
components/system/include/syslib/platform/detail/android.inl
untgames/funner
c91614cda55fd00f5631d2bd11c4ab91f53573a3
[ "MIT" ]
7
2016-03-30T17:00:39.000Z
2017-03-27T16:04:04.000Z
components/system/include/syslib/platform/detail/android.inl
untgames/Funner
c91614cda55fd00f5631d2bd11c4ab91f53573a3
[ "MIT" ]
4
2017-11-21T11:25:49.000Z
2018-09-20T17:59:27.000Z
components/system/include/syslib/platform/detail/android.inl
untgames/Funner
c91614cda55fd00f5631d2bd11c4ab91f53573a3
[ "MIT" ]
4
2016-11-29T15:18:40.000Z
2017-03-27T16:04:08.000Z
/* Поиск методов и полей */ inline jmethodID find_static_method (JNIEnv* env, jclass class_, const char* name, const char* signature) { jmethodID result = env->GetStaticMethodID (class_, name, signature); if (!result) { if (env->ExceptionOccurred ()) env->ExceptionClear (); throw xtl::format_...
24.571429
124
0.678571
untgames
7b0894ccc6c79bd4a7ccce8881253bc547da3658
4,223
cc
C++
garbage_collector.cc
jkominek/fdbfs
0a347cc63f99428ff37348486a29b11ea13d9292
[ "0BSD" ]
12
2019-09-11T09:32:31.000Z
2022-01-14T05:26:38.000Z
garbage_collector.cc
jkominek/fdbfs
0a347cc63f99428ff37348486a29b11ea13d9292
[ "0BSD" ]
18
2019-12-17T22:32:01.000Z
2022-03-14T06:03:15.000Z
garbage_collector.cc
jkominek/fdbfs
0a347cc63f99428ff37348486a29b11ea13d9292
[ "0BSD" ]
null
null
null
#define FUSE_USE_VERSION 26 #include <fuse_lowlevel.h> #define FDB_API_VERSION 630 #include <foundationdb/fdb_c.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <errno.h> #include <fcntl.h> #include <assert.h> #include <time.h> #include "util.h" #include "inflight.h" /************************...
27.966887
73
0.621596
jkominek
7b09f0886cd8473cc9d9089adf2fb616e3ade3d4
2,926
cpp
C++
source/interactables/nodeController.cpp
theKlanc/Z3
97c28f31483d1d5c8c7d1aa61155b256b3d4094a
[ "MIT" ]
4
2020-08-09T20:34:28.000Z
2021-07-22T23:30:40.000Z
source/interactables/nodeController.cpp
theKlanc/Z3
97c28f31483d1d5c8c7d1aa61155b256b3d4094a
[ "MIT" ]
5
2020-02-18T23:19:14.000Z
2020-02-18T23:26:24.000Z
source/interactables/nodeController.cpp
theKlanc/Z3
97c28f31483d1d5c8c7d1aa61155b256b3d4094a
[ "MIT" ]
null
null
null
#include "interactables/nodeController.hpp" #include "services.hpp" #include "components/brain.hpp" #include "jsonTools.hpp" #include "universeNode.hpp" #include "icecream.hpp" #include "components/velocity.hpp" nodeController::nodeController() { _thrustViewer = std::make_shared<fddDisplay>(fddDisplay({},240,{},{-1,-...
29.26
165
0.692413
theKlanc
7b12d455de1f5d8b472347b620a284b77b4de2b2
1,359
cpp
C++
boboleetcode/Play-Leetcode-master/0987-Vertical-Order-Traversal-of-a-Binary-Tree/cpp-0987/main.cpp
yaominzh/CodeLrn2019
adc727d92904c5c5d445a2621813dfa99474206d
[ "Apache-2.0" ]
2
2021-03-25T05:26:55.000Z
2021-04-20T03:33:24.000Z
boboleetcode/Play-Leetcode-master/0987-Vertical-Order-Traversal-of-a-Binary-Tree/cpp-0987/main.cpp
mcuallen/CodeLrn2019
adc727d92904c5c5d445a2621813dfa99474206d
[ "Apache-2.0" ]
6
2019-12-04T06:08:32.000Z
2021-05-10T20:22:47.000Z
boboleetcode/Play-Leetcode-master/0987-Vertical-Order-Traversal-of-a-Binary-Tree/cpp-0987/main.cpp
mcuallen/CodeLrn2019
adc727d92904c5c5d445a2621813dfa99474206d
[ "Apache-2.0" ]
null
null
null
/// Source : https://leetcode.com/problems/vertical-order-traversal-of-a-binary-tree/ /// Author : liuyubobobo /// Time : 2019-02-02 #include <iostream> #include <vector> #include <map> using namespace std; /// DFS /// Time Complexity: O(nlogn) /// Space Complexity: O(n) /// Definition for a binary tree node. st...
22.278689
85
0.550405
yaominzh
7b137d262e1112bb8b7e846f8c61bacc10b28aec
2,480
cpp
C++
ProceduralTerrainGen/Plugins/RuntimeMeshComponent/Intermediate/Build/Win64/UE4/Shipping/RuntimeMeshComponent/Module.RuntimeMeshComponent.gen.3_of_4.cpp
RFornalik/ProceduralTerrain
017b8df6606eef242a399192518dcd9ebd3bbcc9
[ "MIT" ]
null
null
null
ProceduralTerrainGen/Plugins/RuntimeMeshComponent/Intermediate/Build/Win64/UE4/Shipping/RuntimeMeshComponent/Module.RuntimeMeshComponent.gen.3_of_4.cpp
RFornalik/ProceduralTerrain
017b8df6606eef242a399192518dcd9ebd3bbcc9
[ "MIT" ]
null
null
null
ProceduralTerrainGen/Plugins/RuntimeMeshComponent/Intermediate/Build/Win64/UE4/Shipping/RuntimeMeshComponent/Module.RuntimeMeshComponent.gen.3_of_4.cpp
RFornalik/ProceduralTerrain
017b8df6606eef242a399192518dcd9ebd3bbcc9
[ "MIT" ]
null
null
null
// This file is automatically generated at compile-time to include some subset of the user-created cpp files. #include "C:/Users/rufus/Documents/ProceduralTerrainDemo/ProceduralTerrainGen/Plugins/RuntimeMeshComponent/Intermediate/Build/Win64/UE4/Inc/RuntimeMeshComponent/RuntimeMeshModifierAdjacency.gen.cpp" #include "C...
177.142857
204
0.884677
RFornalik
7b18a5b9cab88caa641aeac19317067a14e6b57e
6,523
cpp
C++
Source/exercise35/PlusITK/ITK-MFCDlg.cpp
InsightSoftwareConsortium/ITKTutorialExercises
9047c3d51f62ce7c486f88810cf1e071a0922a4e
[ "Apache-2.0" ]
3
2016-01-06T00:03:44.000Z
2021-06-16T12:32:29.000Z
Source/exercise35/PlusITK/ITK-MFCDlg.cpp
wangjun456/ITKTutorialExercises
9047c3d51f62ce7c486f88810cf1e071a0922a4e
[ "Apache-2.0" ]
null
null
null
Source/exercise35/PlusITK/ITK-MFCDlg.cpp
wangjun456/ITKTutorialExercises
9047c3d51f62ce7c486f88810cf1e071a0922a4e
[ "Apache-2.0" ]
4
2016-05-02T06:02:49.000Z
2021-01-28T09:01:09.000Z
// ITK-MFCDlg.cpp : implementation file // #include "stdafx.h" #include "ITK-MFC.h" #include "ITK-MFCDlg.h" #ifdef _DEBUG #define new DEBUG_NEW #endif // CAboutDlg dialog used for App About class CAboutDlg : public CDialog { public: CAboutDlg(); // Dialog Data enum { IDD = IDD_ABOUTBOX }; protected: virt...
22.262799
86
0.683888
InsightSoftwareConsortium
7b1b5667e6390299e7c6ddc1399ff49ab1e52527
338
hpp
C++
src/utility/test_coroutine.hpp
RamchandraApte/OmniTemplate
f150f451871b0ab43ac39a798186278106da1527
[ "MIT" ]
14
2019-04-23T21:44:12.000Z
2022-03-04T22:48:59.000Z
src/utility/test_coroutine.hpp
RamchandraApte/OmniTemplate
f150f451871b0ab43ac39a798186278106da1527
[ "MIT" ]
3
2019-04-25T10:45:32.000Z
2020-08-05T22:40:39.000Z
src/utility/test_coroutine.hpp
RamchandraApte/OmniTemplate
f150f451871b0ab43ac39a798186278106da1527
[ "MIT" ]
1
2020-07-16T22:16:33.000Z
2020-07-16T22:16:33.000Z
#pragma once #include "coroutine.hpp" namespace coroutine::test { void test_coroutine() { const ll a = 4; vector<ll> v; try { while (true) { v.push_back(coro(a)); } } catch (out_of_range &) { } assert((v == vector<ll>{404, 0 * 0, 1 * 1, 2 * 2, 3 * 3, 505})); } } // namespace coroutine::test using namespace...
19.882353
65
0.618343
RamchandraApte
7b1c3682fec0d8ff87ee6b8c1783386a0af01b4b
12,390
cc
C++
solvers/test/scs_solver_test.cc
RobotLocomotion/drake-python3.7
ae397a4c6985262d23e9675b9bf3927c08d027f5
[ "BSD-3-Clause" ]
2
2021-02-25T02:01:02.000Z
2021-03-17T04:52:04.000Z
solvers/test/scs_solver_test.cc
RobotLocomotion/drake-python3.7
ae397a4c6985262d23e9675b9bf3927c08d027f5
[ "BSD-3-Clause" ]
null
null
null
solvers/test/scs_solver_test.cc
RobotLocomotion/drake-python3.7
ae397a4c6985262d23e9675b9bf3927c08d027f5
[ "BSD-3-Clause" ]
1
2021-06-13T12:05:39.000Z
2021-06-13T12:05:39.000Z
#include "drake/solvers/scs_solver.h" #include <gtest/gtest.h> #include "drake/common/test_utilities/eigen_matrix_compare.h" #include "drake/solvers/mathematical_program.h" #include "drake/solvers/test/exponential_cone_program_examples.h" #include "drake/solvers/test/linear_program_examples.h" #include "drake/solvers...
31.052632
80
0.670299
RobotLocomotion
7b1cb9a6cdf4f2590e1b54256b90137a810d8242
1,091
hpp
C++
saga/saga/replica.hpp
saga-project/saga-cpp
7376c0de0529e7d7b80cf08b94ec484c2e56d38e
[ "BSL-1.0" ]
5
2015-09-15T16:24:14.000Z
2021-08-12T11:05:55.000Z
saga/saga/replica.hpp
saga-project/saga-cpp
7376c0de0529e7d7b80cf08b94ec484c2e56d38e
[ "BSL-1.0" ]
null
null
null
saga/saga/replica.hpp
saga-project/saga-cpp
7376c0de0529e7d7b80cf08b94ec484c2e56d38e
[ "BSL-1.0" ]
3
2016-11-17T04:38:38.000Z
2021-04-10T17:23:52.000Z
// Copyright (c) 2005-2008 Hartmut Kaiser // // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) #ifndef SAGA_SAGA_REPLICA_HPP #define SAGA_SAGA_REPLICA_HPP #include <saga/saga-defs.hpp> # ifdef SAGA_HAVE_PACKAG...
32.088235
96
0.780018
saga-project
7b1f6d4d45b0f4b1131204d17f536ded7e9d97c1
493,240
cc
C++
protobufs/dota_gcmessages_client_tournament.pb.cc
devilesk/dota-replay-parser
e83b96ee513a7193e6703615df4f676e27b1b8a0
[ "0BSD" ]
2
2017-02-03T16:57:17.000Z
2020-10-28T21:13:12.000Z
protobufs/dota_gcmessages_client_tournament.pb.cc
invokr/dota-replay-parser
6260aa834fb47f0f1a8c713f4edada6baeb9dcfa
[ "0BSD" ]
1
2017-02-03T22:44:17.000Z
2017-02-04T08:58:13.000Z
protobufs/dota_gcmessages_client_tournament.pb.cc
invokr/dota-replay-parser
6260aa834fb47f0f1a8c713f4edada6baeb9dcfa
[ "0BSD" ]
2
2017-02-03T17:51:57.000Z
2021-05-22T02:40:00.000Z
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: dota_gcmessages_client_tournament.proto #define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION #include "dota_gcmessages_client_tournament.pb.h" #include <algorithm> #include <google/protobuf/stubs/common.h> #include <google/protobuf/stubs/once.h> ...
37.253776
169
0.704239
devilesk
7b2001aacb01d0b26889271774c177ab0c2a1d50
2,969
cc
C++
gnuradio-3.7.13.4/gr-dtv/lib/atsc/atsc_deinterleaver_impl.cc
v1259397/cosmic-gnuradio
64c149520ac6a7d44179c3f4a38f38add45dd5dc
[ "BSD-3-Clause" ]
1
2021-03-09T07:32:37.000Z
2021-03-09T07:32:37.000Z
gnuradio-3.7.13.4/gr-dtv/lib/atsc/atsc_deinterleaver_impl.cc
v1259397/cosmic-gnuradio
64c149520ac6a7d44179c3f4a38f38add45dd5dc
[ "BSD-3-Clause" ]
null
null
null
gnuradio-3.7.13.4/gr-dtv/lib/atsc/atsc_deinterleaver_impl.cc
v1259397/cosmic-gnuradio
64c149520ac6a7d44179c3f4a38f38add45dd5dc
[ "BSD-3-Clause" ]
null
null
null
/* -*- c++ -*- */ /* * Copyright 2014 Free Software Foundation, Inc. * * This file is part of GNU Radio * * GNU Radio 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 3, or (at your option...
30.295918
98
0.633547
v1259397
7b23219fe75d1827b0eabdad7f5136eb52a067cb
12,913
cpp
C++
sfizz/Synth.cpp
falkTX/sfizz
7f26b53cb3878065e83f424001be8b2ded3c5306
[ "BSD-2-Clause" ]
1
2020-01-06T20:56:21.000Z
2020-01-06T20:56:21.000Z
sfizz/Synth.cpp
falkTX/sfizz
7f26b53cb3878065e83f424001be8b2ded3c5306
[ "BSD-2-Clause" ]
null
null
null
sfizz/Synth.cpp
falkTX/sfizz
7f26b53cb3878065e83f424001be8b2ded3c5306
[ "BSD-2-Clause" ]
null
null
null
// Copyright (c) 2019, Paul Ferrand // 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 code must retain the above copyright notice, this // list of conditions an...
34.251989
134
0.634167
falkTX
7b2469274eda5b2588c614afb4a3ab43384b1721
1,940
cpp
C++
third_party/WebKit/Source/core/paint/FloatClipRecorder.cpp
wenfeifei/miniblink49
2ed562ff70130485148d94b0e5f4c343da0c2ba4
[ "Apache-2.0" ]
5,964
2016-09-27T03:46:29.000Z
2022-03-31T16:25:27.000Z
third_party/WebKit/Source/core/paint/FloatClipRecorder.cpp
w4454962/miniblink49
b294b6eacb3333659bf7b94d670d96edeeba14c0
[ "Apache-2.0" ]
459
2016-09-29T00:51:38.000Z
2022-03-07T14:37:46.000Z
third_party/WebKit/Source/core/paint/FloatClipRecorder.cpp
w4454962/miniblink49
b294b6eacb3333659bf7b94d670d96edeeba14c0
[ "Apache-2.0" ]
1,006
2016-09-27T05:17:27.000Z
2022-03-30T02:46:51.000Z
// Copyright 2014 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 "config.h" #include "core/paint/FloatClipRecorder.h" #include "platform/RuntimeEnabledFeatures.h" #include "platform/graphics/GraphicsContext.h"...
39.591837
152
0.737629
wenfeifei
7b26e3280f8242fbe9f3651b430ff51416aa3468
599
cpp
C++
CodeForces/Complete/400-499/429D-TrickyFunction.cpp
Ashwanigupta9125/code-DS-ALGO
49f6cf7d0c682da669db23619aef3f80697b352b
[ "MIT" ]
36
2019-12-27T08:23:08.000Z
2022-01-24T20:35:47.000Z
CodeForces/Complete/400-499/429D-TrickyFunction.cpp
Ashwanigupta9125/code-DS-ALGO
49f6cf7d0c682da669db23619aef3f80697b352b
[ "MIT" ]
10
2019-11-13T02:55:18.000Z
2021-10-13T23:28:09.000Z
CodeForces/Complete/400-499/429D-TrickyFunction.cpp
Ashwanigupta9125/code-DS-ALGO
49f6cf7d0c682da669db23619aef3f80697b352b
[ "MIT" ]
53
2020-08-15T11:08:40.000Z
2021-10-09T15:51:38.000Z
#include <cstdio> #include <vector> #include <algorithm> int main() { const long M = 1002; long n; scanf("%ld", &n); std::vector<long> s(n + 1); std::vector<long> b(M + 1, 10000); for(long p = 1; p <= n; p++) { long a; scanf("%ld", &a); s[p] = s[p - 1] + a; for(long q = 1; q < p && q <= M; q++){ ...
22.185185
90
0.440735
Ashwanigupta9125
7b26f763bba7afe41dc842e3779820c4dc3feff7
391
cpp
C++
GameObject/Component/componentRenderer.cpp
XZelnar/GameEngine
cb28f6046249e77e30d5e3526f9f0a1fe7f3ef8f
[ "MIT" ]
1
2016-10-05T13:58:54.000Z
2016-10-05T13:58:54.000Z
GameObject/Component/componentRenderer.cpp
XZelnar/GameEngine
cb28f6046249e77e30d5e3526f9f0a1fe7f3ef8f
[ "MIT" ]
null
null
null
GameObject/Component/componentRenderer.cpp
XZelnar/GameEngine
cb28f6046249e77e30d5e3526f9f0a1fe7f3ef8f
[ "MIT" ]
null
null
null
#include "componentRenderer.h" #include "../gameObject.h" #include "transformation.h" void ComponentRenderer::Initialize(GameObject* _parent) { parent = _parent; transform = parent->GetTransformation(); } void ComponentRenderer::Render() { Render(transform->GetTransformationMatrix()); } void Comp...
19.55
56
0.721228
XZelnar
7b289c94ccbe9a02a16951a9cf476bef736b457d
8,936
cc
C++
psdaq/psdaq/dti/PVStats.cc
JBlaschke/lcls2
30523ef069e823535475d68fa283c6387bcf817b
[ "BSD-3-Clause-LBNL" ]
16
2017-11-09T17:10:56.000Z
2022-03-09T23:03:10.000Z
psdaq/psdaq/dti/PVStats.cc
JBlaschke/lcls2
30523ef069e823535475d68fa283c6387bcf817b
[ "BSD-3-Clause-LBNL" ]
6
2017-12-12T19:30:05.000Z
2020-07-09T00:28:33.000Z
psdaq/psdaq/dti/PVStats.cc
JBlaschke/lcls2
30523ef069e823535475d68fa283c6387bcf817b
[ "BSD-3-Clause-LBNL" ]
25
2017-09-18T20:02:43.000Z
2022-03-27T22:27:42.000Z
#include "psdaq/dti/PVStats.hh" #include "psdaq/dti/Module.hh" #include "psdaq/epicstools/EpicsPVA.hh" #include <sstream> #include <string> #include <vector> #include <stdio.h> using Pds_Epics::EpicsPVA; enum { _TimLinkUp, _TimRefClk, _TimFrRate, _UsLinkUp, _BpLinkUp, _DsLinkUp, ...
33.977186
109
0.550806
JBlaschke
7b29d70114567f4906d9f32e01b10f63a4a8f971
1,393
hpp
C++
command/rakp34.hpp
openbmc/phosphor-net-ipmid
af23add2a2cf73226cdc72af4793fde6357e8932
[ "Apache-2.0" ]
12
2017-12-01T19:14:38.000Z
2021-08-20T06:07:07.000Z
command/rakp34.hpp
openbmc/phosphor-net-ipmid
af23add2a2cf73226cdc72af4793fde6357e8932
[ "Apache-2.0" ]
19
2019-02-02T11:50:05.000Z
2021-08-17T19:05:49.000Z
command/rakp34.hpp
openbmc/phosphor-net-ipmid
af23add2a2cf73226cdc72af4793fde6357e8932
[ "Apache-2.0" ]
11
2016-12-21T00:37:49.000Z
2019-10-21T02:28:58.000Z
#pragma once #include "comm_module.hpp" #include "message_handler.hpp" #include <vector> namespace command { /** * @struct RAKP3request * * IPMI Payload for RAKP Message 3 */ struct RAKP3request { uint8_t messageTag; uint8_t rmcpStatusCode; uint16_t reserved; uint32_t managedSystemSessionID; } _...
24.875
80
0.722182
openbmc
7b32a25bf67fb77fa18c115825f2556b98464d20
664
hpp
C++
lib/Croissant/Tags.hpp
Baduit/Croissant
913ed121f6605314178dd231b5678f974993f99e
[ "MIT" ]
4
2020-12-04T06:46:09.000Z
2020-12-10T21:37:59.000Z
lib/Croissant/Tags.hpp
Baduit/Croissant
913ed121f6605314178dd231b5678f974993f99e
[ "MIT" ]
null
null
null
lib/Croissant/Tags.hpp
Baduit/Croissant
913ed121f6605314178dd231b5678f974993f99e
[ "MIT" ]
null
null
null
#pragma once #include <concepts> #include <type_traits> #include <utility> namespace Croissant { struct EqualityTag {}; struct LessTag {}; struct MoreTag {}; template <typename T> concept ComparisonTag = std::same_as<T, EqualityTag> || std::same_as<T, LessTag> || std::same_as<T, MoreTag>; struct ResultTag {}; tem...
19.529412
109
0.721386
Baduit
7b33a7a0b9e4cd7a2ac9d4a216d250c57e2895cb
2,270
hpp
C++
rectilinear_grid.hpp
RaphaelPoncet/2016-macs2-projet-hpc
1ae8936113ee24f0b49a303627d4fd5bc045f78d
[ "Apache-2.0" ]
2
2017-07-19T09:14:20.000Z
2017-09-17T11:39:52.000Z
rectilinear_grid.hpp
RaphaelPoncet/2016-macs2-projet-hpc
1ae8936113ee24f0b49a303627d4fd5bc045f78d
[ "Apache-2.0" ]
null
null
null
rectilinear_grid.hpp
RaphaelPoncet/2016-macs2-projet-hpc
1ae8936113ee24f0b49a303627d4fd5bc045f78d
[ "Apache-2.0" ]
null
null
null
// Copyright 2016 Raphael Poncet. // 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 w...
36.612903
77
0.748018
RaphaelPoncet
7b360adfe7ca4a74e1e03533a59b7d42467e4c75
1,813
cpp
C++
RenSharp/RenSharpHostControl.cpp
mpforums/RenSharp
5b3fb8bff2a1772a82a4148bcf3e1265a11aa097
[ "Apache-2.0" ]
1
2021-10-04T02:34:33.000Z
2021-10-04T02:34:33.000Z
RenSharp/RenSharpHostControl.cpp
TheUnstoppable/RenSharp
2a123c6018c18f3fc73501737d600e291ac3afa7
[ "Apache-2.0" ]
9
2019-07-03T19:19:59.000Z
2020-03-02T22:00:21.000Z
RenSharp/RenSharpHostControl.cpp
TheUnstoppable/RenSharp
2a123c6018c18f3fc73501737d600e291ac3afa7
[ "Apache-2.0" ]
2
2019-08-14T08:37:36.000Z
2020-09-29T06:44:26.000Z
/* Copyright 2020 Neijwiert 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 writing, software distr...
20.83908
130
0.766133
mpforums
7b3660a00916f4938b3cf90c5f2ddc6acd1da73e
4,008
cpp
C++
Map.cpp
aleksha/electronic-signal
158b09a4bd9cc9760f94110042c0405a11795e98
[ "MIT" ]
null
null
null
Map.cpp
aleksha/electronic-signal
158b09a4bd9cc9760f94110042c0405a11795e98
[ "MIT" ]
null
null
null
Map.cpp
aleksha/electronic-signal
158b09a4bd9cc9760f94110042c0405a11795e98
[ "MIT" ]
null
null
null
// function to calculate induced charge at a ring (radius r) with // step_size width induced by an electron placed at a distance h from anode. double sigma(double h, double r){ double sigma = 0.; double term = 1.; int k=Nsum; if(h<0.2) k = 10*Nsum; for(int n=1;n<k;n++){ term = 1.; term *= TMath::Be...
28.834532
91
0.601796
aleksha
7b3721b60bb3eafd820c518daab7e36b1002edd0
5,781
cpp
C++
native/cocos/base/StringUtil.cpp
SteveLau-GameDeveloper/engine
159e5acd0f5115a878d59ed59f924ce7627a5466
[ "Apache-2.0", "MIT" ]
null
null
null
native/cocos/base/StringUtil.cpp
SteveLau-GameDeveloper/engine
159e5acd0f5115a878d59ed59f924ce7627a5466
[ "Apache-2.0", "MIT" ]
null
null
null
native/cocos/base/StringUtil.cpp
SteveLau-GameDeveloper/engine
159e5acd0f5115a878d59ed59f924ce7627a5466
[ "Apache-2.0", "MIT" ]
null
null
null
/**************************************************************************** Copyright (c) 2021-2022 Xiamen Yaji Software Co., Ltd. http://www.cocos.com Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated engine source code (the "Software"), a limited, wo...
32.296089
122
0.621346
SteveLau-GameDeveloper
7b399e639c1bd498deb946063aadbe56aafbd97e
1,570
cpp
C++
encoder/vaapiencoder_host.cpp
zhongcong/libyami
0118c0c78cd5a0208da67024cb9c26b61af67851
[ "Intel" ]
null
null
null
encoder/vaapiencoder_host.cpp
zhongcong/libyami
0118c0c78cd5a0208da67024cb9c26b61af67851
[ "Intel" ]
null
null
null
encoder/vaapiencoder_host.cpp
zhongcong/libyami
0118c0c78cd5a0208da67024cb9c26b61af67851
[ "Intel" ]
null
null
null
/* * vaapiencoder_host.cpp - create specific type of video encoder * * Copyright (C) 2013-2014 Intel Corporation * Author: Xu Guangxin <guangxin.xu@intel.com> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * as publi...
29.074074
74
0.703822
zhongcong
7b39b29f96a2e4e7d48ab934b8e4691fc66f23a4
1,865
cpp
C++
src/circle_midpoint.cpp
MangoMaster/raster_graphics
b40b2731b295ed2d743b59ff2872c81a9faf5130
[ "MIT" ]
null
null
null
src/circle_midpoint.cpp
MangoMaster/raster_graphics
b40b2731b295ed2d743b59ff2872c81a9faf5130
[ "MIT" ]
null
null
null
src/circle_midpoint.cpp
MangoMaster/raster_graphics
b40b2731b295ed2d743b59ff2872c81a9faf5130
[ "MIT" ]
null
null
null
// encoding: utf-8 #include <opencv2/opencv.hpp> #include "main.h" // 利用圆的八对称性并平移,一次显示圆上8个点 // (x, y)为以原点为圆心、半径为radius的圆弧上一点的坐标 void circle8Translation(cv::Mat &image, int x, int y, cv::Point center, const cv::Scalar &color) { drawPixel(image, center.x + x, center.y + y, color); drawPixel(image, center.x + y, ...
32.719298
96
0.549062
MangoMaster
7b3b0128a18e4243161b60398afdbb5c4f922abf
2,998
hpp
C++
mc/rtm.hpp
Juelin-Liu/GraphSetIntersection
359fc0a377d9b760a5198e2f7a14eab814e48961
[ "MIT" ]
null
null
null
mc/rtm.hpp
Juelin-Liu/GraphSetIntersection
359fc0a377d9b760a5198e2f7a14eab814e48961
[ "MIT" ]
null
null
null
mc/rtm.hpp
Juelin-Liu/GraphSetIntersection
359fc0a377d9b760a5198e2f7a14eab814e48961
[ "MIT" ]
null
null
null
#ifndef _RTM_H_ #define _RTM_H_ #include "util.hpp" #include "table.h" namespace RTM_AVX2 { typedef uint8_t Bitmap; const Bitmap BITMASK = 0xff; using namespace AVX2_DECODE_TABLE; /** * @param deg number of neighbors * @return size of the bitmap vector (bytes) * */ int get_vector_size(int deg);...
31.893617
142
0.700467
Juelin-Liu
7b3bc756304ab7549d628e655f6ab6c917217949
10,245
hpp
C++
src/percept/mesh/geometry/volume/sierra_only/FiniteVolumeMesh.hpp
jrood-nrel/percept
363cdd0050443760d54162f140b2fb54ed9decf0
[ "BSD-2-Clause" ]
3
2017-08-08T21:06:02.000Z
2020-01-08T13:23:36.000Z
src/percept/mesh/geometry/volume/sierra_only/FiniteVolumeMesh.hpp
jrood-nrel/percept
363cdd0050443760d54162f140b2fb54ed9decf0
[ "BSD-2-Clause" ]
2
2016-12-17T00:18:56.000Z
2019-08-09T15:29:25.000Z
src/percept/mesh/geometry/volume/sierra_only/FiniteVolumeMesh.hpp
jrood-nrel/percept
363cdd0050443760d54162f140b2fb54ed9decf0
[ "BSD-2-Clause" ]
2
2017-11-30T07:02:41.000Z
2019-08-05T17:07:04.000Z
// Copyright 2002 - 2008, 2010, 2011 National Technology Engineering // Solutions of Sandia, LLC (NTESS). Under the terms of Contract // DE-NA0003525 with NTESS, the U.S. Government retains certain rights // in this software. // // Use of this source code is governed by a BSD-style // license that can be found in the L...
28.617318
116
0.562909
jrood-nrel
7b3f8627923ce5ae183f137280f13dd556e8e217
2,408
cpp
C++
engine/src/Scripting/Transformation.cpp
BigETI/NoLifeNoCry
70ac2498b5e740b2b348771ef9617dea1eed7f9c
[ "MIT" ]
5
2020-11-07T23:38:48.000Z
2021-12-07T11:03:22.000Z
engine/src/Scripting/Transformation.cpp
BigETI/NoLifeNoCry
70ac2498b5e740b2b348771ef9617dea1eed7f9c
[ "MIT" ]
null
null
null
engine/src/Scripting/Transformation.cpp
BigETI/NoLifeNoCry
70ac2498b5e740b2b348771ef9617dea1eed7f9c
[ "MIT" ]
null
null
null
#include <glm/gtx/matrix_decompose.hpp> #include <Scripting/Transformation.hpp> DirtMachine::Scripting::Transformation::Transformation(DirtMachine::Scripting::Transformation* parent) : DirtMachine::Scripting::Behaviour(false), parent(parent), transformation() { // ... } DirtMachine::Scripting::Transformation::~Tr...
25.347368
110
0.775332
BigETI
7b3fef06175087c36a514c0e64aa6e4c24cc12c5
11,232
cc
C++
simulation/exampleB1.cc
rlalik/mapt2-framework
8c63c643e38c215ea0e02b6396b229e2391e46c2
[ "MIT" ]
null
null
null
simulation/exampleB1.cc
rlalik/mapt2-framework
8c63c643e38c215ea0e02b6396b229e2391e46c2
[ "MIT" ]
null
null
null
simulation/exampleB1.cc
rlalik/mapt2-framework
8c63c643e38c215ea0e02b6396b229e2391e46c2
[ "MIT" ]
1
2020-02-20T12:37:41.000Z
2020-02-20T12:37:41.000Z
// // ******************************************************************** // * License and Disclaimer * // * * // * The Geant4 software is copyright of the Copyright Holders of * // * the Geant4 Collaboration...
32.651163
109
0.553241
rlalik
7b444d9256199464c7999447ece2d312b6752943
264
cpp
C++
Source/IVoxel/Private/WorldGenerator/FlatWorldGenerator.cpp
kpqi5858/IVoxel
421324dd840fcf27f9da668e1c4d4e7af9c2a983
[ "MIT" ]
1
2018-03-11T12:26:58.000Z
2018-03-11T12:26:58.000Z
Source/IVoxel/Private/WorldGenerator/FlatWorldGenerator.cpp
kpqi5858/IVoxel
421324dd840fcf27f9da668e1c4d4e7af9c2a983
[ "MIT" ]
null
null
null
Source/IVoxel/Private/WorldGenerator/FlatWorldGenerator.cpp
kpqi5858/IVoxel
421324dd840fcf27f9da668e1c4d4e7af9c2a983
[ "MIT" ]
1
2021-11-13T17:55:49.000Z
2021-11-13T17:55:49.000Z
#include "FlatWorldGenerator.h" UFlatWorldGenerator::UFlatWorldGenerator() { } void UFlatWorldGenerator::GetValueAndColor(FIntVector Location, bool &Value, FColor &Color) { if (Location.Z < 10) { Value = true; Color = FColor(1, 0, 0, 1); } else { } }
14.666667
91
0.689394
kpqi5858
7b452e06138221a3af923eb35fd936814eddee65
2,026
cpp
C++
Developments/solidity-develop/test/boostTest.cpp
jansenbarabona/NFT-Game-Development
49bf6593925123f0212dac13badd609be3866561
[ "MIT" ]
null
null
null
Developments/solidity-develop/test/boostTest.cpp
jansenbarabona/NFT-Game-Development
49bf6593925123f0212dac13badd609be3866561
[ "MIT" ]
null
null
null
Developments/solidity-develop/test/boostTest.cpp
jansenbarabona/NFT-Game-Development
49bf6593925123f0212dac13badd609be3866561
[ "MIT" ]
null
null
null
/* This file is part of solidity. solidity 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 3 of the License, or (at your option) any later version. solidity is distributed in the hope that i...
25.974359
73
0.740375
jansenbarabona
0da1d46ca7b890eb03bb0a30d554c087f5ab9995
9,558
cc
C++
test/unit/core/grid_test.cc
geektoni/biodynamo
09e3673043a7b1888b8e8a47c7b98a393b9d9d29
[ "Apache-2.0" ]
null
null
null
test/unit/core/grid_test.cc
geektoni/biodynamo
09e3673043a7b1888b8e8a47c7b98a393b9d9d29
[ "Apache-2.0" ]
null
null
null
test/unit/core/grid_test.cc
geektoni/biodynamo
09e3673043a7b1888b8e8a47c7b98a393b9d9d29
[ "Apache-2.0" ]
null
null
null
// ----------------------------------------------------------------------------- // // Copyright (C) The BioDynaMo Project. // 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. // // See the LICENSE file distrib...
29.5
80
0.628165
geektoni
0da55752e6a110c78d40f596f41d7fa00bfbb951
342
cpp
C++
lib/scopy.cpp
langou/latl
df838fb44a1ef5c77b57bf60bd46eaeff8db3492
[ "BSD-3-Clause-Open-MPI" ]
6
2015-12-13T09:10:11.000Z
2022-02-09T23:18:22.000Z
lib/scopy.cpp
langou/latl
df838fb44a1ef5c77b57bf60bd46eaeff8db3492
[ "BSD-3-Clause-Open-MPI" ]
null
null
null
lib/scopy.cpp
langou/latl
df838fb44a1ef5c77b57bf60bd46eaeff8db3492
[ "BSD-3-Clause-Open-MPI" ]
2
2019-02-01T06:46:36.000Z
2022-02-09T23:18:24.000Z
// // scopy.cpp // Linear Algebra Template Library // // Created by Rodney James on 1/1/13. // Copyright (c) 2013 University of Colorado Denver. All rights reserved. // #include "blas.h" #include "copy.h" using LATL::COPY; int scopy_(int &n, float *x, int& incx, float *y, int& incy) { COPY<float>(n,x,incx,y,i...
17.1
74
0.649123
langou
0da794c492fd771ae15daadded850a6c0ddb4975
3,665
hpp
C++
tapl/common/ringBuffer.hpp
towardsautonomy/TAPL
4d065b2250483bf2ea118bafa312ca893a25ca87
[ "MIT" ]
1
2021-01-05T12:53:17.000Z
2021-01-05T12:53:17.000Z
tapl/common/ringBuffer.hpp
towardsautonomy/TAPL
4d065b2250483bf2ea118bafa312ca893a25ca87
[ "MIT" ]
null
null
null
tapl/common/ringBuffer.hpp
towardsautonomy/TAPL
4d065b2250483bf2ea118bafa312ca893a25ca87
[ "MIT" ]
null
null
null
/** * @file ringBuffer.hpp * @brief This file provides an implementation of a ring buffer * @author Shubham Shrivastava */ #ifndef RING_BUFFER_H_ #define RING_BUFFER_H_ #include <iostream> #include <algorithm> #include "tapl/common/taplLog.hpp" namespace tapl { /** * @brief Ring Buffer */ ...
26.366906
73
0.454843
towardsautonomy
0dabe41d911e9a7765ced4e33458313dc54e23cf
5,038
cpp
C++
samples/cpp/mpeg1as/main.cpp
sergeyrachev/flavor
40e141bd78a5882b1240cb0d7ac324312e3228e3
[ "Artistic-1.0" ]
5
2016-11-25T08:43:00.000Z
2021-06-20T19:30:35.000Z
samples/cpp/mpeg1as/main.cpp
sergeyrachev/flavor
40e141bd78a5882b1240cb0d7ac324312e3228e3
[ "Artistic-1.0" ]
3
2017-02-13T21:22:16.000Z
2017-09-25T20:42:12.000Z
samples/cpp/mpeg1as/main.cpp
sergeyrachev/flavor
40e141bd78a5882b1240cb0d7ac324312e3228e3
[ "Artistic-1.0" ]
1
2019-12-03T05:15:01.000Z
2019-12-03T05:15:01.000Z
/* * Copyright (c) 1997-2004 Alexandros Eleftheriadis, Danny Hong and * Yuntai Kyong. * * This file is part of Flavor, developed at Columbia University * (http://flavor.sourceforge.net). * * Flavor is free software; you can redistribute it and/or modify * it under the terms of the Flavor Artistic License as de...
35.478873
163
0.506153
sergeyrachev
0daf07099af730edd6bd0fb722f9b7548bd27815
19,141
cpp
C++
examples/new-window/new-window-example.cpp
tizenorg/platform.core.uifw.dali-demo
0d87f90af43262533fed3a39dfac5e197c634f00
[ "Apache-2.0" ]
null
null
null
examples/new-window/new-window-example.cpp
tizenorg/platform.core.uifw.dali-demo
0d87f90af43262533fed3a39dfac5e197c634f00
[ "Apache-2.0" ]
null
null
null
examples/new-window/new-window-example.cpp
tizenorg/platform.core.uifw.dali-demo
0d87f90af43262533fed3a39dfac5e197c634f00
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2016 Samsung Electronics 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...
33.818021
179
0.725667
tizenorg
0db1fb3968b40f77ea6baae37e0e7695221d3e8b
1,747
cpp
C++
CsUserInterface/Source/CsUIEditor/Public/GraphEditor/EnumStruct/UserWidget/SCsGraphPin_ECsUserWidgetPooled.cpp
closedsum/core
c3cae44a177b9684585043a275130f9c7b67fef0
[ "Unlicense" ]
2
2019-03-17T10:43:53.000Z
2021-04-20T21:24:19.000Z
CsUserInterface/Source/CsUIEditor/Public/GraphEditor/EnumStruct/UserWidget/SCsGraphPin_ECsUserWidgetPooled.cpp
closedsum/core
c3cae44a177b9684585043a275130f9c7b67fef0
[ "Unlicense" ]
null
null
null
CsUserInterface/Source/CsUIEditor/Public/GraphEditor/EnumStruct/UserWidget/SCsGraphPin_ECsUserWidgetPooled.cpp
closedsum/core
c3cae44a177b9684585043a275130f9c7b67fef0
[ "Unlicense" ]
null
null
null
// Copyright 2017-2021 Closed Sum Games, LLC. All Rights Reserved. #include "GraphEditor/EnumStruct/UserWidget/SCsGraphPin_ECsUserWidgetPooled.h" #include "CsUIEditor.h" #include "Managers/UserWidget/CsTypes_UserWidget.h" // Cached #pragma region namespace NCsGraphPinUserWidgetPooledCached { namespace Str { cons...
30.649123
124
0.846594
closedsum
0db2edf1d6ff302406ae69048ccd85208a5f1378
590
hpp
C++
include/dna_library.hpp
dyigitpolat/relaxase
bb183197b48ca448afe71cb801c9cdafb8d418a1
[ "MIT" ]
1
2020-10-22T11:27:51.000Z
2020-10-22T11:27:51.000Z
include/dna_library.hpp
dyigitpolat/relaxase
bb183197b48ca448afe71cb801c9cdafb8d418a1
[ "MIT" ]
null
null
null
include/dna_library.hpp
dyigitpolat/relaxase
bb183197b48ca448afe71cb801c9cdafb8d418a1
[ "MIT" ]
null
null
null
#pragma once #include <vector> #include <string> #include "dna_pool.hpp" #include "dna_strand.hpp" struct FileAttributes { int pool_id; LogicalAttributes logical_attributes; }; class DNALibrary { public: DNALibrary(); // default constructor FileAttributes add_file(const std::vector<DNAStrand> &stran...
21.071429
107
0.730508
dyigitpolat
0db5c77ff02f34844ca8838241ee77099fc80d4c
64,007
cpp
C++
trick_source/data_products/DPX/APPS/GXPLOT/gp_colors.cpp
gilbertguoze/trick
f0537efb0fa3cb5c0c84e36b60f055c1d1c60d21
[ "NASA-1.3" ]
647
2015-05-07T16:08:16.000Z
2022-03-30T02:33:21.000Z
trick_source/data_products/DPX/APPS/GXPLOT/gp_colors.cpp
gilbertguoze/trick
f0537efb0fa3cb5c0c84e36b60f055c1d1c60d21
[ "NASA-1.3" ]
995
2015-04-30T19:44:31.000Z
2022-03-31T20:14:44.000Z
trick_source/data_products/DPX/APPS/GXPLOT/gp_colors.cpp
gilbertguoze/trick
f0537efb0fa3cb5c0c84e36b60f055c1d1c60d21
[ "NASA-1.3" ]
251
2015-05-15T09:24:34.000Z
2022-03-22T20:39:05.000Z
#include <stdio.h> #include <string> #include <iostream> #include <sstream> #include <fstream> #include <stdlib.h> #include <string.h> #include "gp_colors.hh" #include "gp_version.hh" using namespace std; const COLOR_TRANS color_trans[] = { {"AliceBlue" , "xf0f8ff" , 0.941176 , 0.972549 , 1.000000...
68.750806
88
0.479573
gilbertguoze
0db610941a9dfa0de06b5ff4ce6426bc8133915d
4,854
hpp
C++
Lexer/Parser.hpp
Pyxxil/LC3
7a2b201745846cd0f188648bfcc93f35d7ac711b
[ "MIT" ]
2
2020-08-18T01:04:58.000Z
2022-02-21T19:46:59.000Z
Lexer/Parser.hpp
Pyxxil/LC3
7a2b201745846cd0f188648bfcc93f35d7ac711b
[ "MIT" ]
null
null
null
Lexer/Parser.hpp
Pyxxil/LC3
7a2b201745846cd0f188648bfcc93f35d7ac711b
[ "MIT" ]
null
null
null
#ifndef PARSER_HPP #define PARSER_HPP #include <map> #include "Lexer.hpp" #include "Tokens.hpp" namespace Parser { class Parser { public: explicit Parser(std::vector<std::unique_ptr<Lexer::Token::Token>> tokens) : m_tokens(std::move(tokens)) {} void parse() { uint16_t current_address{0}; bool orig...
35.691176
79
0.542851
Pyxxil
0db6eb55ac05d670df2bea07aff74e1b57852f19
6,491
ipp
C++
include/detail/system_state.ipp
twesterhout/percolation
f82358ce628c2b48cf7f8435673af17eab08c527
[ "BSD-3-Clause" ]
null
null
null
include/detail/system_state.ipp
twesterhout/percolation
f82358ce628c2b48cf7f8435673af17eab08c527
[ "BSD-3-Clause" ]
null
null
null
include/detail/system_state.ipp
twesterhout/percolation
f82358ce628c2b48cf7f8435673af17eab08c527
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2019, Tom Westerhout // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // // * Redistributions of source code must retain the above copyright notice, this // list of condition...
31.509709
81
0.717917
twesterhout
0dba848b3567e0dd938cb7c6cee647f7df7ccd04
304
hh
C++
src/client/human/human.hh
TheBenPerson/Game
824b2240e95529b735b4d8055a541c77102bb5dc
[ "MIT" ]
null
null
null
src/client/human/human.hh
TheBenPerson/Game
824b2240e95529b735b4d8055a541c77102bb5dc
[ "MIT" ]
null
null
null
src/client/human/human.hh
TheBenPerson/Game
824b2240e95529b735b4d8055a541c77102bb5dc
[ "MIT" ]
null
null
null
#ifndef GAME_CLIENT_HUMAN #define GAME_CLIENT_HUMAN #include <stdint.h> #include "entity.hh" class Human: public Entity { public: Human(uint8_t *datat); ~Human(); void draw(); private: typedef enum {LEFT, DOWN, RIGHT, UP} direction; direction lastDir = UP; char *name; }; #endif
11.259259
49
0.677632
TheBenPerson
0dbfa5cbb4e323a24bc19ea294c57c248621219f
10,749
cpp
C++
rack/main/products.cpp
fmidev/rack
95c39ef610637e8068253efc36aab40177caff03
[ "MIT" ]
20
2018-03-21T10:58:00.000Z
2022-02-11T14:43:03.000Z
rack/main/products.cpp
fmidev/rack
95c39ef610637e8068253efc36aab40177caff03
[ "MIT" ]
null
null
null
rack/main/products.cpp
fmidev/rack
95c39ef610637e8068253efc36aab40177caff03
[ "MIT" ]
6
2018-07-04T04:55:56.000Z
2021-04-15T19:25:13.000Z
/* MIT License Copyright (c) 2017 FMI Open Development / Markus Peura, first.last@fmi.fi 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 rig...
27.420918
119
0.703879
fmidev
0dc2420ad4ac54d89a0fefe26df9221255024c8c
6,227
cpp
C++
Base/PLPhysics/src/SceneNodes/RagdollBody.cpp
ktotheoz/pixellight
43a661e762034054b47766d7e38d94baf22d2038
[ "MIT" ]
83
2015-01-08T15:06:14.000Z
2021-07-20T17:07:00.000Z
Base/PLPhysics/src/SceneNodes/RagdollBody.cpp
PixelLightFoundation/pixellight
43a661e762034054b47766d7e38d94baf22d2038
[ "MIT" ]
27
2019-06-18T06:46:07.000Z
2020-02-02T11:11:28.000Z
Base/PLPhysics/src/SceneNodes/RagdollBody.cpp
naetherm/PixelLight
d7666f5b49020334cbb5debbee11030f34cced56
[ "MIT" ]
40
2015-02-25T18:24:34.000Z
2021-03-06T09:01:48.000Z
/*********************************************************\ * File: RagdollBody.cpp * * * Copyright (C) 2002-2013 The PixelLight Team (http://www.pixellight.org/) * * This file is part of PixelLight. * * Permission is hereby granted, free of charge, to any person obtaining a co...
29.372642
97
0.629517
ktotheoz
0dc8dfe6616447b40d9c0cfb0eaefd51633cfc31
15,238
cc
C++
lib/wam_ntiles.cc
fbsamples/wamquery
d772b10adb5ff7979212b0b2d6197c06c4553478
[ "Apache-2.0" ]
1
2021-09-12T13:28:40.000Z
2021-09-12T13:28:40.000Z
lib/wam_ntiles.cc
fbsamples/wamquery
d772b10adb5ff7979212b0b2d6197c06c4553478
[ "Apache-2.0" ]
null
null
null
lib/wam_ntiles.cc
fbsamples/wamquery
d772b10adb5ff7979212b0b2d6197c06c4553478
[ "Apache-2.0" ]
1
2021-09-12T12:36:55.000Z
2021-09-12T12:36:55.000Z
/* * Copyright (c) Facebook, Inc. and its affiliates. * * 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...
35.029885
145
0.669445
fbsamples
0dcd62c4eac3d1cec80ba7690df119bc9d4dfa46
3,595
cpp
C++
Practical_5_Pacman/components/cmp_ghost_movement.cpp
CarlosMiraGarcia/Pong_Practical-2
ba26587fb2b538b9c3cceec98f1026112b2c6413
[ "MIT" ]
null
null
null
Practical_5_Pacman/components/cmp_ghost_movement.cpp
CarlosMiraGarcia/Pong_Practical-2
ba26587fb2b538b9c3cceec98f1026112b2c6413
[ "MIT" ]
null
null
null
Practical_5_Pacman/components/cmp_ghost_movement.cpp
CarlosMiraGarcia/Pong_Practical-2
ba26587fb2b538b9c3cceec98f1026112b2c6413
[ "MIT" ]
null
null
null
#include "cmp_ghost_movement.h" #include "cmp_player_movement.h" #include "..\game.h" #include <deque> #include "../Pacman.h" using namespace std; using namespace sf; static const Vector2i directions[] = { {1, 0}, {0, 1}, {0, -1}, {-1, 0} }; GhostMovementComponent::GhostMovementComponent(Entity* p) : ActorMovementCo...
30.466102
115
0.680111
CarlosMiraGarcia
0dd06ac6c8470055e16435adce6c34910f1a20e5
147
cpp
C++
fArco.cpp
mikymaione/KCammini
50c3c3601fa937c340effa675847f54d3f31f83b
[ "MIT" ]
1
2019-10-28T13:53:28.000Z
2019-10-28T13:53:28.000Z
fArco.cpp
mikymaione/KCammini
50c3c3601fa937c340effa675847f54d3f31f83b
[ "MIT" ]
null
null
null
fArco.cpp
mikymaione/KCammini
50c3c3601fa937c340effa675847f54d3f31f83b
[ "MIT" ]
null
null
null
/* * File: fArco.cpp * Author: Michele * * Created on 27 luglio 2015, 15.07 */ #include "fArco.h" fArco::fArco() { ui.setupUi(this); }
11.307692
35
0.585034
mikymaione
0dd3affa561d35d1136c891171c922d1c3c29fb2
3,370
cc
C++
src/application/singlestream/Application.cc
nicmcd/slimsupersim
f73ce6b01fb7723e835665c55d45b8e582a6ba4e
[ "Apache-2.0" ]
null
null
null
src/application/singlestream/Application.cc
nicmcd/slimsupersim
f73ce6b01fb7723e835665c55d45b8e582a6ba4e
[ "Apache-2.0" ]
null
null
null
src/application/singlestream/Application.cc
nicmcd/slimsupersim
f73ce6b01fb7723e835665c55d45b8e582a6ba4e
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2016 Hewlett Packard Enterprise Development LP * * 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 a...
30.636364
76
0.689911
nicmcd
0dd83497440071a37d3959b721008b3782f0b2dd
631
hpp
C++
include/Keyboard.hpp
EmilyEclipse/Breakout
9a5ef518464e02d6cb1f39e4c3011d52ec62fef2
[ "MIT" ]
null
null
null
include/Keyboard.hpp
EmilyEclipse/Breakout
9a5ef518464e02d6cb1f39e4c3011d52ec62fef2
[ "MIT" ]
2
2020-12-26T10:46:31.000Z
2021-01-28T19:25:22.000Z
include/Keyboard.hpp
EmilyEclipse/Breakout
9a5ef518464e02d6cb1f39e4c3011d52ec62fef2
[ "MIT" ]
null
null
null
#ifndef KEYBOARD_HPP #define KEYBOARD_HPP #include <SDL2/SDL.h> #include "Paddle.hpp" class Keyboard { public: static void handleInput(); static void setPaddle(Paddle* paddle); class Key{ public: Key(int inputScancode){ scancode = inputScancode; state_p...
19.71875
51
0.561014
EmilyEclipse
0dd8fa7ef4bf829f60fe332290190cad11a36a76
32,717
hpp
C++
include/nil/crypto3/zk/snark/schemes/ppzksnark/r1cs_gg_ppzksnark/ipp2/prove.hpp
NoamDev/crypto3-zk
5f03e49b737994a3cecf673b029a4e32a2a8aaa5
[ "MIT" ]
null
null
null
include/nil/crypto3/zk/snark/schemes/ppzksnark/r1cs_gg_ppzksnark/ipp2/prove.hpp
NoamDev/crypto3-zk
5f03e49b737994a3cecf673b029a4e32a2a8aaa5
[ "MIT" ]
null
null
null
include/nil/crypto3/zk/snark/schemes/ppzksnark/r1cs_gg_ppzksnark/ipp2/prove.hpp
NoamDev/crypto3-zk
5f03e49b737994a3cecf673b029a4e32a2a8aaa5
[ "MIT" ]
null
null
null
//---------------------------------------------------------------------------// // Copyright (c) 2018-2020 Mikhail Komarov <nemo@nil.foundation> // Copyright (c) 2020 Nikita Kaskov <nbering@nil.foundation> // // MIT License // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this so...
62.917308
120
0.511783
NoamDev
0dda6b731d1eea56fa30cfc06950916b486e0106
4,095
cpp
C++
homework4/rb-tree/rb-tree.cpp
hermesespinola/algorithms
903328171af2e909dd1f5e33712e442c5d74567a
[ "Apache-2.0" ]
null
null
null
homework4/rb-tree/rb-tree.cpp
hermesespinola/algorithms
903328171af2e909dd1f5e33712e442c5d74567a
[ "Apache-2.0" ]
null
null
null
homework4/rb-tree/rb-tree.cpp
hermesespinola/algorithms
903328171af2e909dd1f5e33712e442c5d74567a
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include <random> #include <limits.h> #include <cmath> #include <time.h> using namespace std; bool RED = 0; bool BLACK = 1; struct rbnode { int key; rbnode *p; rbnode *left; rbnode *right; bool color; rbnode(int k) { key = k; left = right = p = NULL; color = RED; } r...
18.784404
81
0.445421
hermesespinola
0ddb91d059af2569ad63df072bd714533dad8a2a
7,913
cpp
C++
blades/xbmc/xbmc/cores/dvdplayer/DVDClock.cpp
krattai/AEBL
a7b12c97479e1236d5370166b15ca9f29d7d4265
[ "BSD-2-Clause" ]
4
2016-04-26T03:43:54.000Z
2016-11-17T08:09:04.000Z
blades/xbmc/xbmc/cores/dvdplayer/DVDClock.cpp
krattai/AEBL
a7b12c97479e1236d5370166b15ca9f29d7d4265
[ "BSD-2-Clause" ]
17
2015-01-05T21:06:22.000Z
2015-12-07T20:45:44.000Z
blades/xbmc/xbmc/cores/dvdplayer/DVDClock.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. * * ...
25.200637
145
0.717553
krattai
0de062257aa3611530a2176aae174d21b43e255c
13,401
cpp
C++
source/OLD_EACopyRsync.cpp
electronicarts/EACopy
74e061abdaaa128cb20120ed452c27752689dfc5
[ "BSD-3-Clause" ]
186
2019-07-23T21:48:25.000Z
2022-03-22T07:11:31.000Z
source/OLD_EACopyRsync.cpp
electronicarts/EACopy
74e061abdaaa128cb20120ed452c27752689dfc5
[ "BSD-3-Clause" ]
3
2020-01-09T21:57:42.000Z
2021-09-29T16:33:10.000Z
source/OLD_EACopyRsync.cpp
electronicarts/EACopy
74e061abdaaa128cb20120ed452c27752689dfc5
[ "BSD-3-Clause" ]
28
2019-08-03T16:24:18.000Z
2021-10-31T02:49:54.000Z
// (c) Electronic Arts. All Rights Reserved. #include <EACopyRsync.h> #include "librsync/src/librsync.h" #include "librsync/src/fileutil.h" #include "librsync/src/util.h" #include "librsync/src/buf.h" #include "librsync/src/job.h" #include "librsync/src/sumset.h" #include <assert.h> struct rs_filebuf { FILE *f; ...
27.293279
173
0.66204
electronicarts
0de75e396b14fa9292bd65c2d7066cdb73a0fda7
30,576
cpp
C++
Tools/BtnST.cpp
vanch3d/DEMIST
f49e3409cf5eca8df6b03f1a1bbc0f9f4ca44521
[ "MIT" ]
null
null
null
Tools/BtnST.cpp
vanch3d/DEMIST
f49e3409cf5eca8df6b03f1a1bbc0f9f4ca44521
[ "MIT" ]
null
null
null
Tools/BtnST.cpp
vanch3d/DEMIST
f49e3409cf5eca8df6b03f1a1bbc0f9f4ca44521
[ "MIT" ]
1
2021-01-11T09:52:21.000Z
2021-01-11T09:52:21.000Z
#include "stdafx.h" #include "BtnST.h" #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif ///////////////////////////////////////////////////////////////////////////// // CButtonST CButtonST::CButtonST() { m_bIsPressed = FALSE; m_bIsFocused = FALSE; m_bIsDisabled = ...
24.441247
142
0.691098
vanch3d
0de877a75279b08ba679f88aae91e54295c876f8
4,254
cpp
C++
Source/ChilliSource/UI/Base/UIComponentFactory.cpp
angelahnicole/ChilliSource_ParticleOpt
6bee7e091c7635384d6aefbf730a69bbb5b55721
[ "MIT" ]
null
null
null
Source/ChilliSource/UI/Base/UIComponentFactory.cpp
angelahnicole/ChilliSource_ParticleOpt
6bee7e091c7635384d6aefbf730a69bbb5b55721
[ "MIT" ]
null
null
null
Source/ChilliSource/UI/Base/UIComponentFactory.cpp
angelahnicole/ChilliSource_ParticleOpt
6bee7e091c7635384d6aefbf730a69bbb5b55721
[ "MIT" ]
null
null
null
// // UIComponentFactory.cpp // Chilli Source // Created by Ian Copland on 14/11/2014. // // The MIT License (MIT) // // Copyright (c) 2014 Tag Games Limited // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"),...
47.266667
165
0.588622
angelahnicole
0de8ebf64a3432db25b61a81fce305efc09195b8
2,325
cpp
C++
mmcv/ops/csrc/pytorch/scatter_points.cpp
BIGWangYuDong/mmcv
c46deb0576edaff5cd5a7d384c617478c7a73a70
[ "Apache-2.0" ]
1
2021-08-22T14:47:13.000Z
2021-08-22T14:47:13.000Z
mmcv/ops/csrc/pytorch/scatter_points.cpp
BIGWangYuDong/mmcv
c46deb0576edaff5cd5a7d384c617478c7a73a70
[ "Apache-2.0" ]
2
2021-04-26T08:32:50.000Z
2021-05-10T06:42:57.000Z
mmcv/ops/csrc/pytorch/scatter_points.cpp
BIGWangYuDong/mmcv
c46deb0576edaff5cd5a7d384c617478c7a73a70
[ "Apache-2.0" ]
1
2020-12-10T08:35:35.000Z
2020-12-10T08:35:35.000Z
// Copyright (c) OpenMMLab. All rights reserved. #include "pytorch_cpp_helper.hpp" #include "pytorch_device_registry.hpp" typedef enum { SUM = 0, MEAN = 1, MAX = 2 } reduce_t; std::vector<torch::Tensor> dynamic_point_to_voxel_forward_impl( const torch::Tensor &feats, const torch::Tensor &coors, const reduce_t...
43.055556
80
0.633978
BIGWangYuDong
0ded6b82ae3a7dfb659211f8157be0a0defcf1c9
3,060
cpp
C++
17_gpsanta.cpp
risteon/IEEE_SB_Passau_advent_2016
138bc4b90e55cc444e4c740d1641281bfe058e31
[ "MIT" ]
null
null
null
17_gpsanta.cpp
risteon/IEEE_SB_Passau_advent_2016
138bc4b90e55cc444e4c740d1641281bfe058e31
[ "MIT" ]
null
null
null
17_gpsanta.cpp
risteon/IEEE_SB_Passau_advent_2016
138bc4b90e55cc444e4c740d1641281bfe058e31
[ "MIT" ]
null
null
null
// this is for emacs file handling -*- mode: c++; indent-tabs-mode: nil -*- // -- BEGIN LICENSE BLOCK ---------------------------------------------- // -- END LICENSE BLOCK ------------------------------------------------ //---------------------------------------------------------------------- /*!\file * * \author C...
20.264901
75
0.508497
risteon
0df18d37a458cb900cf31f5bb56826ded09b2262
3,993
cpp
C++
tests/integral_tests.cpp
gridem/ReplobPrototype
8c1f7ac46c9c46e7f02b402b8bbc5febaa152c90
[ "Apache-2.0" ]
3
2016-01-11T11:42:02.000Z
2016-12-21T14:54:44.000Z
tests/integral_tests.cpp
gridem/ReplobPrototype
8c1f7ac46c9c46e7f02b402b8bbc5febaa152c90
[ "Apache-2.0" ]
null
null
null
tests/integral_tests.cpp
gridem/ReplobPrototype
8c1f7ac46c9c46e7f02b402b8bbc5febaa152c90
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2015 Grigory Demchenko (aka gridem) * * 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 applicabl...
23.91018
92
0.506136
gridem
0df1d1da1b576bcf10fcc2dcf1458ec893232fc5
1,844
hpp
C++
src/app/AuxGpios.hpp
uwmisl/purpledrop-stm32
7e40314f244e27fed04379774f00b4659ece3381
[ "MIT" ]
1
2022-03-27T02:32:01.000Z
2022-03-27T02:32:01.000Z
src/app/AuxGpios.hpp
uwmisl/purpledrop-stm32
7e40314f244e27fed04379774f00b4659ece3381
[ "MIT" ]
null
null
null
src/app/AuxGpios.hpp
uwmisl/purpledrop-stm32
7e40314f244e27fed04379774f00b4659ece3381
[ "MIT" ]
null
null
null
#include <tuple> #include "Events.hpp" /** Run-time accessible list of Gpio types */ template<typename... Gpios> class GpioArray { public: static void setOutput(uint32_t n, bool value) { if(n >= size) { return; } setOutputTable[n](value); } static void setInput(uint32...
24.586667
83
0.58026
uwmisl
0df5c58634006e4f202d4d1db66b584a36c8ee69
2,735
hpp
C++
TurbulentArena/Map.hpp
doodlemeat/Turbulent-Arena
9030f291693e670f7751e23538e649cc24dc929f
[ "MIT" ]
2
2017-02-03T04:30:29.000Z
2017-03-27T19:33:38.000Z
TurbulentArena/Map.hpp
doodlemeat/Turbulent-Arena
9030f291693e670f7751e23538e649cc24dc929f
[ "MIT" ]
null
null
null
TurbulentArena/Map.hpp
doodlemeat/Turbulent-Arena
9030f291693e670f7751e23538e649cc24dc929f
[ "MIT" ]
null
null
null
#pragma once #include "Physics.hpp" namespace bjoernligan { class Map : public sf::Drawable { public: enum Orientation { ORIENTATION_ORTHOGONAL, ORIENTATION_ISOMETRIC, ORIENTATION_STAGGERED }; enum RenderOrder { RENDERORDER_RIGHT_DOWN, RENDERORDER_RIGHT_UP, RENDERORDER_LEFT_DOWN, RE...
21.367188
129
0.702742
doodlemeat
0df7b7d2c4de9228714f1fb13aca90ccdbae12fb
5,674
cpp
C++
blast/src/objtools/blast/seqdb_writer/seqidlist_writer.cpp
mycolab/ncbi-blast
e59746cec78044d2bf6d65de644717c42f80b098
[ "Apache-2.0" ]
null
null
null
blast/src/objtools/blast/seqdb_writer/seqidlist_writer.cpp
mycolab/ncbi-blast
e59746cec78044d2bf6d65de644717c42f80b098
[ "Apache-2.0" ]
null
null
null
blast/src/objtools/blast/seqdb_writer/seqidlist_writer.cpp
mycolab/ncbi-blast
e59746cec78044d2bf6d65de644717c42f80b098
[ "Apache-2.0" ]
null
null
null
/* * =========================================================================== * * PUBLIC DOMAIN NOTICE * National Center for Biotechnology Information * * This software/database is a "United States Government Work" under the * terms of the United States Copyright Act. It w...
29.863158
121
0.641699
mycolab
0dfc6de979a1680ac026f288ea4ac1f5eaa6e42c
1,942
hpp
C++
modules/boost/simd/base/include/boost/simd/arithmetic/functions/min.hpp
feelpp/nt2
4d121e2c7450f24b735d6cff03720f07b4b2146c
[ "BSL-1.0" ]
34
2017-05-19T18:10:17.000Z
2022-01-04T02:18:13.000Z
modules/boost/simd/base/include/boost/simd/arithmetic/functions/min.hpp
feelpp/nt2
4d121e2c7450f24b735d6cff03720f07b4b2146c
[ "BSL-1.0" ]
null
null
null
modules/boost/simd/base/include/boost/simd/arithmetic/functions/min.hpp
feelpp/nt2
4d121e2c7450f24b735d6cff03720f07b4b2146c
[ "BSL-1.0" ]
7
2017-12-02T12:59:17.000Z
2021-07-31T12:46:14.000Z
//============================================================================== // Copyright 2003 - 2012 LASMEA UMR 6602 CNRS/Univ. Clermont II // Copyright 2009 - 2012 LRI UMR 8623 CNRS/Univ Paris Sud XI // // Distributed under the Boost Software License, Version 1.0. // ...
27.352113
129
0.593718
feelpp
0dfcc7e07a50dfe95fa699c7a27836233ef39a85
1,886
cpp
C++
Hacker Blocks/Smart Keypad - Advanced.cpp
Shubhrmcf07/Competitive-Coding-and-Interview-Problems
7281ea3163c0cf6938a3af7b54a8a14f97c97c0e
[ "MIT" ]
51
2020-02-24T11:14:00.000Z
2022-03-24T09:32:18.000Z
Hacker Blocks/Smart Keypad - Advanced.cpp
Shubhrmcf07/Competitive-Coding-and-Interview-Problems
7281ea3163c0cf6938a3af7b54a8a14f97c97c0e
[ "MIT" ]
3
2020-10-02T08:16:09.000Z
2021-04-17T16:32:38.000Z
Hacker Blocks/Smart Keypad - Advanced.cpp
Shubhrmcf07/Competitive-Coding-and-Interview-Problems
7281ea3163c0cf6938a3af7b54a8a14f97c97c0e
[ "MIT" ]
18
2020-04-24T15:33:36.000Z
2022-03-24T09:32:20.000Z
/* Hacker Blocks */ /* Title - Smart Keypad - Advanced */ /* Created By - Akash Modak */ /* Date - 14/07/2020 */ // Given a long vector of strings, print the strings that contain the strings generated by numeric string str. // string searchIn [] = { // "prateek", "sneha", "deepak", "arnav", "shikh...
24.815789
144
0.560976
Shubhrmcf07
0dff851ffc028fc2eebcad183e10ebac4f183a78
676
hpp
C++
Source/Generator.hpp
Myles-Trevino/Resonance
47ff7c51caa8fc15862818f56a232c3e71dd7e0a
[ "Apache-2.0" ]
1
2020-09-07T13:03:34.000Z
2020-09-07T13:03:34.000Z
Source/Generator.hpp
Myles-Trevino/Resonance
47ff7c51caa8fc15862818f56a232c3e71dd7e0a
[ "Apache-2.0" ]
null
null
null
Source/Generator.hpp
Myles-Trevino/Resonance
47ff7c51caa8fc15862818f56a232c3e71dd7e0a
[ "Apache-2.0" ]
null
null
null
/* Copyright 2020 Myles Trevino Licensed under the Apache License, Version 2.0 https://www.apache.org/licenses/LICENSE-2.0 */ #pragma once #include <string> #include <vector> #include <glm/glm.hpp> namespace LV { struct Mesh { std::vector<glm::fvec3> vertices; std::vector<unsigned> indices; }; } namesp...
16.095238
65
0.732249
Myles-Trevino
0dff8a9ca53b74b92f0c31b57917793ef5887015
6,838
cc
C++
fastcap/fc_accs/lstpack.cc
wrcad/xictools
f46ba6d42801426739cc8b2940a809b74f1641e2
[ "Apache-2.0" ]
73
2017-10-26T12:40:24.000Z
2022-03-02T16:59:43.000Z
fastcap/fc_accs/lstpack.cc
chris-ayala/xictools
4ea72c118679caed700dab3d49a8d36445acaec3
[ "Apache-2.0" ]
12
2017-11-01T10:18:22.000Z
2022-03-20T19:35:36.000Z
fastcap/fc_accs/lstpack.cc
chris-ayala/xictools
4ea72c118679caed700dab3d49a8d36445acaec3
[ "Apache-2.0" ]
34
2017-10-06T17:04:21.000Z
2022-02-18T16:22:03.000Z
/*========================================================================* * * * Distributed by Whiteley Research Inc., Sunnyvale, California, USA * * http://wrcad.com * * Copyright (...
37.163043
78
0.463001
wrcad
df0029871f28b104ec97d43c21f17eacb65bacf3
2,295
cpp
C++
middleware/domain/source/discovery/main.cpp
casualcore/casual
047a4eaabbba52ad3ce63dc698a9325ad5fcec6d
[ "MIT" ]
null
null
null
middleware/domain/source/discovery/main.cpp
casualcore/casual
047a4eaabbba52ad3ce63dc698a9325ad5fcec6d
[ "MIT" ]
null
null
null
middleware/domain/source/discovery/main.cpp
casualcore/casual
047a4eaabbba52ad3ce63dc698a9325ad5fcec6d
[ "MIT" ]
1
2022-02-21T18:30:25.000Z
2022-02-21T18:30:25.000Z
//! //! Copyright (c) 2021, The casual project //! //! This software is licensed under the MIT license, https://opensource.org/licenses/MIT //! #include "domain/discovery/state.h" #include "domain/discovery/instance.h" #include "domain/discovery/handle.h" #include "domain/discovery/common.h" #include "common/exceptio...
26.686047
99
0.518954
casualcore
df05ee58525d29d1927e3eeb1764f72b1fca9ad9
286
cpp
C++
test/quantity_test.cpp
horance-liu/cquantity
27c0e60087cd9650e154eb527c20be4d7114228a
[ "Apache-2.0" ]
null
null
null
test/quantity_test.cpp
horance-liu/cquantity
27c0e60087cd9650e154eb527c20be4d7114228a
[ "Apache-2.0" ]
null
null
null
test/quantity_test.cpp
horance-liu/cquantity
27c0e60087cd9650e154eb527c20be4d7114228a
[ "Apache-2.0" ]
null
null
null
#include "quantity.h" #include <gtest/gtest.h> struct QuantityTest : testing::Test { }; TEST_F(QuantityTest, 3_mile_not_equals_4_mile) { Length mile3 = {.amount = 3, .unit = MILE}; Length mile4 = {.amount = 4, .unit = MILE}; ASSERT_FALSE(length_equals(&mile3, &mile4)); }
22
48
0.671329
horance-liu
df061b7261a8d87f2dde5e73691dab6a086bf953
46,492
hpp
C++
DemoFramework/FslGraphics/include/FslGraphics/Render/GenericBatch2D_fwd.hpp
alexvonduar/gtec-demo-framework
6f8a7e429d0e15242ba64eb4cb41bfc2dd7dc749
[ "MIT", "BSD-3-Clause" ]
null
null
null
DemoFramework/FslGraphics/include/FslGraphics/Render/GenericBatch2D_fwd.hpp
alexvonduar/gtec-demo-framework
6f8a7e429d0e15242ba64eb4cb41bfc2dd7dc749
[ "MIT", "BSD-3-Clause" ]
null
null
null
DemoFramework/FslGraphics/include/FslGraphics/Render/GenericBatch2D_fwd.hpp
alexvonduar/gtec-demo-framework
6f8a7e429d0e15242ba64eb4cb41bfc2dd7dc749
[ "MIT", "BSD-3-Clause" ]
null
null
null
#ifndef FSLGRAPHICS_RENDER_GENERICBATCH2D_FWD_HPP #define FSLGRAPHICS_RENDER_GENERICBATCH2D_FWD_HPP /**************************************************************************************************************************************************** * Copyright (c) 2014 Freescale Semiconductor, Inc. * All rights rese...
55.545998
150
0.716424
alexvonduar
df098c755169d774bd5b99ca5f24b74652fc9420
2,656
cpp
C++
HackerRank Solutions/Data Structures/Heap/QHEAP1.cpp
UtkarshPathrabe/Competitive-Coding
ba322fbb1b88682d56a9b80bdd92a853f1caa84e
[ "MIT" ]
13
2021-09-02T07:30:02.000Z
2022-03-22T19:32:03.000Z
HackerRank Solutions/Data Structures/Heap/QHEAP1.cpp
UtkarshPathrabe/Competitive-Coding
ba322fbb1b88682d56a9b80bdd92a853f1caa84e
[ "MIT" ]
null
null
null
HackerRank Solutions/Data Structures/Heap/QHEAP1.cpp
UtkarshPathrabe/Competitive-Coding
ba322fbb1b88682d56a9b80bdd92a853f1caa84e
[ "MIT" ]
3
2021-08-24T16:06:22.000Z
2021-09-17T15:39:53.000Z
#include <iostream> #include <vector> #include <map> using namespace std; // Map to maintain the index of values in the heap. map<int, int> value_index; int heap[500002], heap_size = 0; void insert_val(int val) { if(heap_size == 0) { heap[++heap_size] = val; value_index[val] = heap_size; ...
24.592593
100
0.444654
UtkarshPathrabe
df0a4d213b83bd03be598b741c04d96ec3d371ae
3,378
cpp
C++
examples/calculator/src/calculator/Calculator.cpp
amirbawab/EasyCCC-
2bba922715d442ad250997bed6116d98fa1418bc
[ "MIT" ]
20
2017-08-26T19:35:29.000Z
2022-03-28T12:41:46.000Z
examples/calculator/src/calculator/Calculator.cpp
amirbawab/EasyCCC-
2bba922715d442ad250997bed6116d98fa1418bc
[ "MIT" ]
4
2017-09-09T18:56:05.000Z
2018-01-29T20:13:45.000Z
examples/calculator/src/calculator/Calculator.cpp
amirbawab/EasyCCC-
2bba922715d442ad250997bed6116d98fa1418bc
[ "MIT" ]
2
2018-12-27T06:42:05.000Z
2020-03-31T01:52:48.000Z
#include <calculator/Calculator.h> int Calculator::compile(std::vector<std::string> inputFiles, std::string outputFile) { // Initialize semantic action handlers initHandlers(); // Set output file m_output.open(outputFile); // Configure easycc m_easyCC->setParsingPhase(0); m_easyCC->setSi...
31.867925
99
0.618709
amirbawab
df0def27e73116f8cbf74dd8a719697919a52ffa
747
hpp
C++
inc/kos/boot/efi/filesystem.hpp
EmilGedda/kOS
86d9e3ae377b6d7f003feb1c6ce584e427ed0563
[ "MIT" ]
5
2018-07-24T02:57:20.000Z
2020-06-02T04:23:09.000Z
inc/kos/boot/efi/filesystem.hpp
EmilGedda/kOS
86d9e3ae377b6d7f003feb1c6ce584e427ed0563
[ "MIT" ]
null
null
null
inc/kos/boot/efi/filesystem.hpp
EmilGedda/kOS
86d9e3ae377b6d7f003feb1c6ce584e427ed0563
[ "MIT" ]
1
2018-08-27T15:47:21.000Z
2018-08-27T15:47:21.000Z
#pragma once #include <kos/view.hpp> #include <kos/types.hpp> #include <Uefi/UefiBaseType.h> #include <Uefi/UefiSpec.h> #include <Guid/FileInfo.h> #include <Protocol/SimpleFileSystem.h> namespace kos::boot::efi { struct file_metadata { u64 size = 0; }; struct file { u8* data = 0; u64 size = 0; ...
21.342857
71
0.686747
EmilGedda