hexsha
stringlengths
40
40
size
int64
7
1.05M
ext
stringclasses
13 values
lang
stringclasses
1 value
max_stars_repo_path
stringlengths
4
269
max_stars_repo_name
stringlengths
5
109
max_stars_repo_head_hexsha
stringlengths
40
40
max_stars_repo_licenses
listlengths
1
9
max_stars_count
int64
1
191k
⌀
max_stars_repo_stars_event_min_datetime
stringlengths
24
24
⌀
max_stars_repo_stars_event_max_datetime
stringlengths
24
24
⌀
max_issues_repo_path
stringlengths
4
269
max_issues_repo_name
stringlengths
5
116
max_issues_repo_head_hexsha
stringlengths
40
40
max_issues_repo_licenses
listlengths
1
9
max_issues_count
int64
1
48.5k
⌀
max_issues_repo_issues_event_min_datetime
stringlengths
24
24
⌀
max_issues_repo_issues_event_max_datetime
stringlengths
24
24
⌀
max_forks_repo_path
stringlengths
4
269
max_forks_repo_name
stringlengths
5
116
max_forks_repo_head_hexsha
stringlengths
40
40
max_forks_repo_licenses
listlengths
1
9
max_forks_count
int64
1
105k
⌀
max_forks_repo_forks_event_min_datetime
stringlengths
24
24
⌀
max_forks_repo_forks_event_max_datetime
stringlengths
24
24
⌀
content
stringlengths
7
1.05M
avg_line_length
float64
1.21
330k
max_line_length
int64
6
990k
alphanum_fraction
float64
0.01
0.99
author_id
stringlengths
2
40
3bec147d170aed9321184b4315bdd2f8e9a899a5
5,439
cpp
C++
tools/PsfPlayer/Source/PsfVm.cpp
literalmente-game/Play-
c7cb9b12c751aadf105c6e05f36dbd647e7f9d2c
[ "BSD-2-Clause" ]
2
2019-05-08T15:14:51.000Z
2019-05-08T15:14:55.000Z
tools/PsfPlayer/Source/PsfVm.cpp
jeremybris/Play-
0363398aad50976fe9f91bd10f27a8aeb50044e2
[ "BSD-2-Clause" ]
null
null
null
tools/PsfPlayer/Source/PsfVm.cpp
jeremybris/Play-
0363398aad50976fe9f91bd10f27a8aeb50044e2
[ "BSD-2-Clause" ]
null
null
null
#include <stdexcept> #include <assert.h> #include <boost/filesystem/path.hpp> #include <boost/filesystem/operations.hpp> #include "PsfVm.h" #include "Log.h" #include "MA_MIPSIV.h" #include "xml/Writer.h" #include "xml/Parser.h" #define LOG_NAME ("psfvm") using namespace Iop; namespace filesystem = boost:...
23.443966
143
0.70638
literalmente-game
3bed279623cbaef26341e652b8a1a37663ee893b
210
cpp
C++
asteria/src/abstract_opaque.cpp
MaskRay/asteria
56a9251f5bb80b92e5aff25eac145f8cd2495096
[ "BSD-3-Clause" ]
null
null
null
asteria/src/abstract_opaque.cpp
MaskRay/asteria
56a9251f5bb80b92e5aff25eac145f8cd2495096
[ "BSD-3-Clause" ]
null
null
null
asteria/src/abstract_opaque.cpp
MaskRay/asteria
56a9251f5bb80b92e5aff25eac145f8cd2495096
[ "BSD-3-Clause" ]
null
null
null
// This file is part of Asteria. // Copyleft 2018, LH_Mouse. All wrongs reserved. #include "precompiled.hpp" #include "abstract_opaque.hpp" namespace Asteria { Abstract_opaque::~Abstract_opaque() { } }
15
48
0.72381
MaskRay
3bed5081f92fab39d85165f9d652ddf57d928cb1
1,554
hpp
C++
toolkits/common.hpp
bin70/Toolkit
ef47b0bd97334a2ceca415f01570886bfbb11e4a
[ "MIT" ]
null
null
null
toolkits/common.hpp
bin70/Toolkit
ef47b0bd97334a2ceca415f01570886bfbb11e4a
[ "MIT" ]
null
null
null
toolkits/common.hpp
bin70/Toolkit
ef47b0bd97334a2ceca415f01570886bfbb11e4a
[ "MIT" ]
1
2021-06-30T08:03:44.000Z
2021-06-30T08:03:44.000Z
#pragma once #define LINUX 1 //----------system operation---------- #ifdef LINUX #include <unistd.h> #include <sys/types.h> #include <sys/stat.h> #include <dirent.h> #endif #ifdef WIN32 #include <io.h> #include <direct.h> #endif //-----------stl headers------------------------- #include <iostream> #include <string> ...
20.72
109
0.543758
bin70
3bf1634517e1bf03f9b7155af6dfe7eef4c1d51d
1,877
hpp
C++
src/reyes/SyntaxNodeType.hpp
cwbaker/sweet_render
259830adba09fabe4de2eef3537f4a95828965d3
[ "MIT" ]
null
null
null
src/reyes/SyntaxNodeType.hpp
cwbaker/sweet_render
259830adba09fabe4de2eef3537f4a95828965d3
[ "MIT" ]
null
null
null
src/reyes/SyntaxNodeType.hpp
cwbaker/sweet_render
259830adba09fabe4de2eef3537f4a95828965d3
[ "MIT" ]
null
null
null
#pragma once namespace reyes { enum SyntaxNodeType { SHADER_NODE_NULL, SHADER_NODE_LIST, SHADER_NODE_LIGHT_SHADER, SHADER_NODE_SURFACE_SHADER, SHADER_NODE_VOLUME_SHADER, SHADER_NODE_DISPLACEMENT_SHADER, SHADER_NODE_IMAGER_SHADER, SHADER_NODE_FLOAT_TYPE, SHADER_NODE_S...
24.064103
37
0.733085
cwbaker
3bf1857a55de4136a93f25a42e1bb708ac420ae2
49,948
cpp
C++
test/rocprim/test_hip_block_scan.cpp
arsenm/rocPRIM
02d6006a7951c53ecfd245200d58809d3eee0b48
[ "MIT" ]
null
null
null
test/rocprim/test_hip_block_scan.cpp
arsenm/rocPRIM
02d6006a7951c53ecfd245200d58809d3eee0b48
[ "MIT" ]
null
null
null
test/rocprim/test_hip_block_scan.cpp
arsenm/rocPRIM
02d6006a7951c53ecfd245200d58809d3eee0b48
[ "MIT" ]
null
null
null
// MIT License // // Copyright (c) 2017 Advanced Micro Devices, Inc. All rights reserved. // // 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 limitati...
29.837515
105
0.626872
arsenm
3bf3ee20f9e14865335d041e5d1bdc88d7dc9319
2,444
cpp
C++
testbacktrack.cpp
SunyangLi/leetcode_test
4dfe1aae906ee63ec80fc5d19f98e20c939e7beb
[ "BSD-2-Clause" ]
null
null
null
testbacktrack.cpp
SunyangLi/leetcode_test
4dfe1aae906ee63ec80fc5d19f98e20c939e7beb
[ "BSD-2-Clause" ]
null
null
null
testbacktrack.cpp
SunyangLi/leetcode_test
4dfe1aae906ee63ec80fc5d19f98e20c939e7beb
[ "BSD-2-Clause" ]
null
null
null
#include "include.h" class Subsets { public: // result = [] // def backtrack(路径, 选择列表): // if 满足结束条件: // result.add(路径) // return // for 选择 in 选择列表: // 做选择 // backtrack(路径, 选择列表) // 撤销选择 vector<vector<int>> subsets(vect...
22.841121
74
0.390753
SunyangLi
3bf7076e1670b107ad4862b553b5719d475531f7
1,403
cpp
C++
src/Log.cpp
adan830/BillingTLBB
004029b309e0f2afde1c08954df8710cda6f3f9b
[ "MIT" ]
1
2019-12-21T02:41:02.000Z
2019-12-21T02:41:02.000Z
src/Log.cpp
odasm/BillingTLBB
004029b309e0f2afde1c08954df8710cda6f3f9b
[ "MIT" ]
null
null
null
src/Log.cpp
odasm/BillingTLBB
004029b309e0f2afde1c08954df8710cda6f3f9b
[ "MIT" ]
2
2020-05-11T13:29:41.000Z
2021-09-22T03:33:16.000Z
#include "billing/Log.hpp" #include <spdlog/spdlog.h> #include <iostream> #if defined(__WIN32) || defined(WIN32) # include <Windows.h> #else # include <sys/stat.h> #endif Log::Log() : m_folderName("logs") { std::srand(std::time(nullptr)); m_fileName = std::to_string(std::rand()); std::cout << "Log system i...
23
80
0.674982
adan830
3bf796953da3a409ef8c89d9f4faaa2076752589
445
cpp
C++
src/task/urgent.cpp
SameAsMuli/todo
75b6380b2e8c9a0696f97f43b103de7d12fbd840
[ "MIT" ]
null
null
null
src/task/urgent.cpp
SameAsMuli/todo
75b6380b2e8c9a0696f97f43b103de7d12fbd840
[ "MIT" ]
null
null
null
src/task/urgent.cpp
SameAsMuli/todo
75b6380b2e8c9a0696f97f43b103de7d12fbd840
[ "MIT" ]
null
null
null
#include <sstream> // std::stringstream #include "task/urgent.hpp" #include "util/ansi.hpp" namespace todo { namespace task { Urgent::Urgent() : OutstandingAbstract("urgent", '#') {} std::string Urgent::format(const Task &task) { std::stringstream ss; ss << util::ansi::foreground_red << util::ansi::bold <<...
20.227273
64
0.640449
SameAsMuli
0ec4a170efc9535449dad843f803f04703903432
824
cpp
C++
AtCoder/ABC178/f.cpp
Takumi1122/data-structure-algorithm
6b9f26e4dbba981f034518a972ecfc698b86d837
[ "MIT" ]
null
null
null
AtCoder/ABC178/f.cpp
Takumi1122/data-structure-algorithm
6b9f26e4dbba981f034518a972ecfc698b86d837
[ "MIT" ]
null
null
null
AtCoder/ABC178/f.cpp
Takumi1122/data-structure-algorithm
6b9f26e4dbba981f034518a972ecfc698b86d837
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> #define rep(i, n) for (int i = 0; i < (n); ++i) using namespace std; using ll = long long; using P = pair<int, int>; /* 参考リンク ABC 178 F - Contrast https://atcoder.jp/contests/abc178/tasks/abc178_f */ int main() { int n; cin >> n; vector<int> a(n), b(n); rep(i, n) cin >> ...
19.619048
55
0.455097
Takumi1122
0ec7ae7e6617ca0672c9a8ed99ffa2f96338a8f6
43
hpp
C++
src/boost_metaparse_v1_alphanum.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
10
2018-03-17T00:58:42.000Z
2021-07-06T02:48:49.000Z
src/boost_metaparse_v1_alphanum.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
2
2021-03-26T15:17:35.000Z
2021-05-20T23:55:08.000Z
src/boost_metaparse_v1_alphanum.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
4
2019-05-28T21:06:37.000Z
2021-07-06T03:06:52.000Z
#include <boost/metaparse/v1/alphanum.hpp>
21.5
42
0.790698
miathedev
0eca2324c6fa2e70e64d65ce337aaf96da85476c
2,079
cpp
C++
src/check_legal.cpp
jamiely/cpp_chess_bot
aa1cc6c83bcc1ebc47c60664fa8ee4a9511a9f0f
[ "MIT" ]
null
null
null
src/check_legal.cpp
jamiely/cpp_chess_bot
aa1cc6c83bcc1ebc47c60664fa8ee4a9511a9f0f
[ "MIT" ]
null
null
null
src/check_legal.cpp
jamiely/cpp_chess_bot
aa1cc6c83bcc1ebc47c60664fa8ee4a9511a9f0f
[ "MIT" ]
null
null
null
#include "board.h" #include "move_generation.h" #include "set_attacking.h" bool king_check(Board board, bool isWhite) { if (isWhite) { if ((board.kingW & board.attackB).none() == false) {return true;} } else { if ((board.kingB & board.attackW).none() == false) {return true;} } return fa...
28.094595
83
0.597884
jamiely
0ed0a61d854404185e2ce1fd3745c7c80150c671
6,934
cpp
C++
tests/unit/assembly/test_grid_function.cpp
mdavezac/bempp
bc573062405bda107d1514e40b6153a8350d5ab5
[ "BSL-1.0" ]
null
null
null
tests/unit/assembly/test_grid_function.cpp
mdavezac/bempp
bc573062405bda107d1514e40b6153a8350d5ab5
[ "BSL-1.0" ]
null
null
null
tests/unit/assembly/test_grid_function.cpp
mdavezac/bempp
bc573062405bda107d1514e40b6153a8350d5ab5
[ "BSL-1.0" ]
null
null
null
// Copyright (C) 2011 by the BEM++ Authors // // 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, p...
36.303665
126
0.719498
mdavezac
0ed161fa163bcdce6fa16ab8b3e1bf6d08f50ca1
6,043
cpp
C++
dataset/test/modification/1490_rename/3/transformation_1.cpp
Karina5005/Plagiarism
ce11f72ba21a754ca84a27e5f26a31a19d6cb6fb
[ "MIT" ]
3
2022-02-15T00:29:39.000Z
2022-03-15T08:36:44.000Z
dataset/test/modification/1490_rename/3/transformation_1.cpp
Kira5005-code/Plagiarism
ce11f72ba21a754ca84a27e5f26a31a19d6cb6fb
[ "MIT" ]
null
null
null
dataset/test/modification/1490_rename/3/transformation_1.cpp
Kira5005-code/Plagiarism
ce11f72ba21a754ca84a27e5f26a31a19d6cb6fb
[ "MIT" ]
null
null
null
#pragma GCC optimize ("O3") #pragma GCC target ("sse4") #include<bits/stdc++.h> #include <ext/pb_ds/assoc_container.hpp> #include <ext/pb_ds/tree_policy.hpp> using namespace __gnu_pbds; using namespace std; #define fo(i,n) for(int i=0;i<n;i++) #define nl "\n" #define ff ...
26.857778
144
0.509515
Karina5005
0ed520a620ed090b3b4f3035f912123d3fecab79
10,141
cpp
C++
Source/SystemQOR/SanOS/SanQL/SanQLProcessBootstrap.cpp
mfaithfull/QOR
0fa51789344da482e8c2726309265d56e7271971
[ "BSL-1.0" ]
9
2016-05-27T01:00:39.000Z
2021-04-01T08:54:46.000Z
Source/SystemQOR/SanOS/SanQL/SanQLProcessBootstrap.cpp
mfaithfull/QOR
0fa51789344da482e8c2726309265d56e7271971
[ "BSL-1.0" ]
1
2016-03-03T22:54:08.000Z
2016-03-03T22:54:08.000Z
Source/SystemQOR/SanOS/SanQL/SanQLProcessBootstrap.cpp
mfaithfull/QOR
0fa51789344da482e8c2726309265d56e7271971
[ "BSL-1.0" ]
4
2016-05-27T01:00:43.000Z
2018-08-19T08:47:49.000Z
//SanQLProcessBootStrap.cpp // Copyright Querysoft Limited 2013 // // Permission is hereby granted, free of charge, to any person or organization // obtaining a copy of the software and accompanying documentation covered by // this license (the "Software") to use, reproduce, display, distribute, // execute, and transm...
34.968966
169
0.62627
mfaithfull
0ed5363e6d9b39805c435019ba17854883634493
1,383
cpp
C++
gui/controls/LineEditEx.cpp
ERPShuen/ICQ1
f319a72ad60aae4809eef0e4eb362f4d69292296
[ "Apache-2.0" ]
1
2019-12-02T08:37:10.000Z
2019-12-02T08:37:10.000Z
gui/controls/LineEditEx.cpp
ERPShuen/ICQ1
f319a72ad60aae4809eef0e4eb362f4d69292296
[ "Apache-2.0" ]
null
null
null
gui/controls/LineEditEx.cpp
ERPShuen/ICQ1
f319a72ad60aae4809eef0e4eb362f4d69292296
[ "Apache-2.0" ]
null
null
null
#include "stdafx.h" #include "LineEditEx.h" #include "ContextMenu.h" #include "../utils/utils.h" namespace Ui { LineEditEx::LineEditEx(QWidget* _parent) : QLineEdit(_parent) { } void LineEditEx::focusInEvent(QFocusEvent* _event) { emit focusIn(); QLineEdit::focusInEvent(_event); } ...
21.276923
94
0.621837
ERPShuen
0eda52a4ad5b6e5dfaa8f5879b52c8b99212514d
9,452
cpp
C++
openstudiocore/src/energyplus/ReverseTranslator/ReverseTranslateZoneHVACIdealLoadsAirSystem.cpp
hellok-coder/OS-Testing
e9e18ad9e99f709a3f992601ed8d2e0662175af4
[ "blessing" ]
1
2019-11-12T02:07:03.000Z
2019-11-12T02:07:03.000Z
openstudiocore/src/energyplus/ReverseTranslator/ReverseTranslateZoneHVACIdealLoadsAirSystem.cpp
hellok-coder/OS-Testing
e9e18ad9e99f709a3f992601ed8d2e0662175af4
[ "blessing" ]
1
2019-02-04T23:30:45.000Z
2019-02-04T23:30:45.000Z
openstudiocore/src/energyplus/ReverseTranslator/ReverseTranslateZoneHVACIdealLoadsAirSystem.cpp
hellok-coder/OS-Testing
e9e18ad9e99f709a3f992601ed8d2e0662175af4
[ "blessing" ]
null
null
null
/*********************************************************************************************************************** * OpenStudio(R), Copyright (c) 2008-2019, Alliance for Sustainable Energy, LLC, and other contributors. All rights reserved. * * Redistribution and use in source and binary forms, with or without m...
42.963636
166
0.775497
hellok-coder
0eda55896ec4079cd103dbf9b0a3cba32d57f6ad
16,853
hpp
C++
Source/AllProjects/Drivers/CQCGenDrv/Server/CQCGenDrvS_AppCtrl_.hpp
MarkStega/CQC
c1d0e01ec2abcaa5b8eb1899b9f0522fecee4b07
[ "MIT" ]
null
null
null
Source/AllProjects/Drivers/CQCGenDrv/Server/CQCGenDrvS_AppCtrl_.hpp
MarkStega/CQC
c1d0e01ec2abcaa5b8eb1899b9f0522fecee4b07
[ "MIT" ]
null
null
null
Source/AllProjects/Drivers/CQCGenDrv/Server/CQCGenDrvS_AppCtrl_.hpp
MarkStega/CQC
c1d0e01ec2abcaa5b8eb1899b9f0522fecee4b07
[ "MIT" ]
null
null
null
// // FILE NAME: CQCGenDrvS_AppCtrl_.hpp // // AUTHOR: Dean Roddey // // CREATED: 03/13/2004 // // COPYRIGHT: Charmed Quark Systems, Ltd @ 2020 // // This software is copyrighted by 'Charmed Quark Systems, Ltd' and // the author (Dean Roddey.) It is licensed under the MIT Open Source // license: // // https://opens...
34.89234
78
0.463182
MarkStega
0eda99d67c497c10ab9c0422ae88c35e3b552936
5,040
cpp
C++
src/ripple/protocol/impl/STVar.cpp
yinchengtsinghua/RippleCPPChinese
a32a38a374547bdc5eb0fddcd657f45048aaad6a
[ "BSL-1.0" ]
5
2019-01-23T04:36:03.000Z
2020-02-04T07:10:39.000Z
src/ripple/protocol/impl/STVar.cpp
yinchengtsinghua/RippleCPPChinese
a32a38a374547bdc5eb0fddcd657f45048aaad6a
[ "BSL-1.0" ]
null
null
null
src/ripple/protocol/impl/STVar.cpp
yinchengtsinghua/RippleCPPChinese
a32a38a374547bdc5eb0fddcd657f45048aaad6a
[ "BSL-1.0" ]
2
2019-05-14T07:26:59.000Z
2020-06-15T07:25:01.000Z
//此源码被清华学神尹成大魔王专业翻译分析并修改 //尹成QQ77025077 //尹成微信18510341407 //尹成所在QQ群721929980 //尹成邮箱 yinc13@mails.tsinghua.edu.cn //尹成毕业于清华大学,微软区块链领域全球最有价值专家 //https://mvp.microsoft.com/zh-cn/PublicProfile/4033620 //———————————————————————————————————————————————————————————————————————————————————————————————————————————————— /* ...
27.540984
114
0.596032
yinchengtsinghua
0edc180d852c127a552e40b2964d3ce42f089929
12,673
cpp
C++
Source/Samples/10_RenderToTexture/RenderToTexture.cpp
practicing01/Urho3D
2f67cdbdd3f616a5156de430fa619ccf7c2fc9ca
[ "Apache-2.0" ]
5
2017-10-20T18:54:23.000Z
2020-11-23T12:33:06.000Z
Source/Samples/10_RenderToTexture/RenderToTexture.cpp
rifai/Urho3D-Dolanan
da3a82979b37c8d41218b7ee4e5cb33db4771421
[ "Apache-2.0" ]
null
null
null
Source/Samples/10_RenderToTexture/RenderToTexture.cpp
rifai/Urho3D-Dolanan
da3a82979b37c8d41218b7ee4e5cb33db4771421
[ "Apache-2.0" ]
2
2017-12-24T05:28:16.000Z
2020-07-01T02:27:43.000Z
// // Copyright (c) 2008-2015 the Urho3D project. // // 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, mod...
44.623239
132
0.662432
practicing01
0edd765bdf2a28178373e655c5e59ecf3ee72a71
2,607
cpp
C++
test/rtos/esp32/rotating-cube/main/rotating-cube-demo.cpp
malachi-iot/ugfx-drivers
48a43e8ee698183ae1798d5e33b930f073ac760b
[ "MIT" ]
3
2017-07-23T21:59:00.000Z
2021-05-19T23:03:28.000Z
test/rtos/esp32/rotating-cube/main/rotating-cube-demo.cpp
malachi-iot/ugfx-drivers
48a43e8ee698183ae1798d5e33b930f073ac760b
[ "MIT" ]
1
2017-07-23T22:58:31.000Z
2017-07-25T03:58:22.000Z
test/rtos/esp32/rotating-cube/main/rotating-cube-demo.cpp
malachi-iot/ugfx-drivers
48a43e8ee698183ae1798d5e33b930f073ac760b
[ "MIT" ]
1
2019-01-18T06:05:11.000Z
2019-01-18T06:05:11.000Z
// Adapted from Tony Weston's post on facebook ESP8266 page extern "C" { #include <string.h> #include <math.h> } #include "gfx.hpp" #define FRAME_DELAY 10 /* The interframe delay in milliseconds */ float px[8],py[8],pz[8]; float tmp; float xa,ya,za; int mapx[8],mapy[8]; extern "C" void demo(void* pvParamete...
25.558824
74
0.534331
malachi-iot
0eddee1a0af1bfa6de9dc0a38e6c29c3a002d639
5,271
cpp
C++
Warcraft II/Warcraft II/TrollLumberMill.cpp
DevCrumbs/Warcraft-II
fd4fab4c629783d6acc18c34bdaac15fcfb54dd1
[ "MIT" ]
9
2019-07-02T06:24:03.000Z
2022-03-18T20:07:02.000Z
Warcraft II/Warcraft II/TrollLumberMill.cpp
DevCrumbs/Warcraft-II
fd4fab4c629783d6acc18c34bdaac15fcfb54dd1
[ "MIT" ]
109
2018-02-21T23:40:29.000Z
2020-04-25T18:26:41.000Z
Warcraft II/Warcraft II/TrollLumberMill.cpp
DevCrumbs/Warcraft-II
fd4fab4c629783d6acc18c34bdaac15fcfb54dd1
[ "MIT" ]
6
2018-06-27T07:30:10.000Z
2020-03-09T19:18:41.000Z
#include "Defs.h" #include "p2Log.h" #include "TrollLumberMill.h" #include "j1Collision.h" #include "j1Map.h" #include "j1Scene.h" #include "j1Movement.h" #include "j1Particles.h" #include "j1FadeToBlack.h" TrollLumberMill::TrollLumberMill(fPoint pos, iPoint size, int currLife, uint maxLife, const TrollLumberMillInf...
33.788462
249
0.735724
DevCrumbs
0edf36fbd7c782682a69967a0f38f8ba309fa197
3,817
cpp
C++
firmware/library/L1_Drivers/gpio_test.cpp
2721Aperez/SJSU-Dev2
87052080d2754803dbd1dae2864bd9024d123086
[ "Apache-2.0" ]
1
2018-07-07T01:41:34.000Z
2018-07-07T01:41:34.000Z
firmware/library/L1_Drivers/gpio_test.cpp
2721Aperez/SJSU-Dev2
87052080d2754803dbd1dae2864bd9024d123086
[ "Apache-2.0" ]
null
null
null
firmware/library/L1_Drivers/gpio_test.cpp
2721Aperez/SJSU-Dev2
87052080d2754803dbd1dae2864bd9024d123086
[ "Apache-2.0" ]
1
2018-09-19T01:58:48.000Z
2018-09-19T01:58:48.000Z
#include "L0_LowLevel/LPC40xx.h" #include "L1_Drivers/gpio.hpp" #include "L5_Testing/testing_frameworks.hpp" TEST_CASE("Testing Gpio", "[gpio]") { // Declared constants that are to be used within the different sections // of this unit test constexpr uint8_t kPin0 = 0; constexpr uint8_t kPin7 = 7; ...
35.672897
80
0.60021
2721Aperez
0edf6f49b5c64636381cf10f385e2da88a084a14
34,334
cpp
C++
isis/src/cassini/apps/vimscal/main.cpp
gknorman/ISIS3
4800a8047626a864e163cc74055ba60008c105f7
[ "CC0-1.0" ]
1
2022-02-17T01:07:03.000Z
2022-02-17T01:07:03.000Z
isis/src/cassini/apps/vimscal/main.cpp
gknorman/ISIS3
4800a8047626a864e163cc74055ba60008c105f7
[ "CC0-1.0" ]
null
null
null
isis/src/cassini/apps/vimscal/main.cpp
gknorman/ISIS3
4800a8047626a864e163cc74055ba60008c105f7
[ "CC0-1.0" ]
null
null
null
/** This is free and unencumbered software released into the public domain. The authors of ISIS do not claim copyright on the contents of this file. For more details about the LICENSE terms and the AUTHORS, you will find files of those names at the top level of this repository. **/ /* SPDX-License-Identifier: CC0-1.0...
30.276896
100
0.666919
gknorman
0ee72362d3395953da5f3b0f209d6177eb5e3c35
5,306
cpp
C++
tests/Widgets/Group.cpp
bebu/TGUI
7a518aa74853c0a2f8b03a31f60e8a2d10f6d5fb
[ "Zlib" ]
1
2021-02-19T08:33:03.000Z
2021-02-19T08:33:03.000Z
tests/Widgets/Group.cpp
rubenwardy/TGUI
6149e73e4f3b6833ca7081ccdc749139e7a0bc6f
[ "Zlib" ]
null
null
null
tests/Widgets/Group.cpp
rubenwardy/TGUI
6149e73e4f3b6833ca7081ccdc749139e7a0bc6f
[ "Zlib" ]
null
null
null
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // // TGUI - Texus' Graphical User Interface // Copyright (C) 2012-2019 Bruno Van de Velde (vdv_b@tgui.eu) // // This software is provided 'as-is', without any express or implied warranty. /...
34.907895
129
0.570109
bebu
0eece1b7b2bb3d33e75e0be07b91d347a4574502
13,873
cpp
C++
sys/mem/kmem.cpp
apexrtos/apex
9538ab2f5b974035ca30ca8750479bdefe153047
[ "0BSD" ]
15
2020-05-08T06:21:58.000Z
2021-12-11T18:10:43.000Z
sys/mem/kmem.cpp
apexrtos/apex
9538ab2f5b974035ca30ca8750479bdefe153047
[ "0BSD" ]
11
2020-05-08T06:46:37.000Z
2021-03-30T05:46:03.000Z
sys/mem/kmem.cpp
apexrtos/apex
9538ab2f5b974035ca30ca8750479bdefe153047
[ "0BSD" ]
5
2020-08-31T17:05:03.000Z
2021-12-08T07:09:00.000Z
/*- * Copyright (c) 2005-2006, Kohsuke Ohtani * 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 o...
25.930841
93
0.663303
apexrtos
0eedb48d5f6dcd72eeef408df5fc5352561017c4
7,931
cpp
C++
src/saiga/vision/util/Optimizer.cpp
SimonMederer/saiga
ff167e60c50b1cead4d19eb5ab2e93acce8c42a3
[ "MIT" ]
null
null
null
src/saiga/vision/util/Optimizer.cpp
SimonMederer/saiga
ff167e60c50b1cead4d19eb5ab2e93acce8c42a3
[ "MIT" ]
null
null
null
src/saiga/vision/util/Optimizer.cpp
SimonMederer/saiga
ff167e60c50b1cead4d19eb5ab2e93acce8c42a3
[ "MIT" ]
null
null
null
/** * Copyright (c) 2017 Darius Rückert * Licensed under the MIT License. * See LICENSE file for more information. */ #include "Optimizer.h" #include "saiga/core/imgui/imgui.h" #include "saiga/core/util/Thread/omp.h" #include <iostream> #include <memory> namespace Saiga { std::ostream& operator<<(std::ostream&...
27.538194
119
0.497793
SimonMederer
0ef11f80b51c7920e02a77cf43e41b4015687fcf
372
cpp
C++
New_Year_and_Hurry.cpp
De-Fau-Lt/Solutions
2539f815ab5c77769b3e3cc00fe0e7a7ec940ad5
[ "MIT" ]
null
null
null
New_Year_and_Hurry.cpp
De-Fau-Lt/Solutions
2539f815ab5c77769b3e3cc00fe0e7a7ec940ad5
[ "MIT" ]
null
null
null
New_Year_and_Hurry.cpp
De-Fau-Lt/Solutions
2539f815ab5c77769b3e3cc00fe0e7a7ec940ad5
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int main() { int n, k; cin >> n >> k; int i = 1; int c = 0; while (k + (5 * i) <= 240) { k += 5 * i; if (i == n) { c = 1; break; } i++; } if (c == 1) ...
14.307692
31
0.282258
De-Fau-Lt
0ef34c5c69e728ba99a265339ef990c5beb38630
3,369
cpp
C++
src/components/arp.cpp
jan-van-bergen/Synth
cc6fee6376974a3cc2e86899ab2859a5f1fb7e33
[ "MIT" ]
17
2021-03-22T14:17:16.000Z
2022-02-22T20:58:27.000Z
src/components/arp.cpp
jan-van-bergen/Synth
cc6fee6376974a3cc2e86899ab2859a5f1fb7e33
[ "MIT" ]
null
null
null
src/components/arp.cpp
jan-van-bergen/Synth
cc6fee6376974a3cc2e86899ab2859a5f1fb7e33
[ "MIT" ]
1
2021-11-17T18:00:55.000Z
2021-11-17T18:00:55.000Z
#include "arp.h" #include "synth/synth.h" void ArpComponent::update(Synth const & synth) { auto note_events = inputs[0].get_events(); auto first_note = false; auto start_time = synth.time + BLOCK_SIZE; // Handle MIDI inputs for (auto const & note_event : note_events) { // Try to find existing entry of the sa...
24.955556
119
0.635797
jan-van-bergen
0ef381fe1d513cf6b814c3c0b9b50d3c213736fd
15,400
cc
C++
libtransport/src/protocols/rtc/rtc_ldr.cc
muscariello/hicn-test
dba9cb958219d042e0a01f6758feb2c1ffabbf05
[ "Apache-2.0" ]
null
null
null
libtransport/src/protocols/rtc/rtc_ldr.cc
muscariello/hicn-test
dba9cb958219d042e0a01f6758feb2c1ffabbf05
[ "Apache-2.0" ]
null
null
null
libtransport/src/protocols/rtc/rtc_ldr.cc
muscariello/hicn-test
dba9cb958219d042e0a01f6758feb2c1ffabbf05
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2017-2021 Cisco and/or 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 appl...
35.981308
89
0.664481
muscariello
0ef737e397b66604ff4a0797de4b491bf6e96e9c
1,600
cpp
C++
source/gui/imgui_controler.cpp
zeplaz/s_liz_rz
612ebd97be4d0624b967b1968c45f092ea1c8ddb
[ "MIT" ]
null
null
null
source/gui/imgui_controler.cpp
zeplaz/s_liz_rz
612ebd97be4d0624b967b1968c45f092ea1c8ddb
[ "MIT" ]
null
null
null
source/gui/imgui_controler.cpp
zeplaz/s_liz_rz
612ebd97be4d0624b967b1968c45f092ea1c8ddb
[ "MIT" ]
null
null
null
#include "imgui_controler.hpp" #include <SDL2/SDL.h> imgui_controler::~imgui_controler(){} void imgui_controler::process_SDL(SDL_Event* in_e) { ImGui_ImplSDL2_ProcessEvent(in_e); } void imgui_controler::io_gui_config() { ImGuiIO& gui_io = ImGui::GetIO(); (void)gui_io; gui_io.Co...
21.917808
97
0.723125
zeplaz
0eff9f804ed3963820e0fdc10dce5ea29902a02d
442
cpp
C++
src/WBF_BASE/FileCtrlManager.cpp
jhs0215/google-test
5dd6357bd1d45e11e29f51f0ecc006e5e3577bcd
[ "MIT" ]
null
null
null
src/WBF_BASE/FileCtrlManager.cpp
jhs0215/google-test
5dd6357bd1d45e11e29f51f0ecc006e5e3577bcd
[ "MIT" ]
null
null
null
src/WBF_BASE/FileCtrlManager.cpp
jhs0215/google-test
5dd6357bd1d45e11e29f51f0ecc006e5e3577bcd
[ "MIT" ]
1
2019-11-25T02:03:08.000Z
2019-11-25T02:03:08.000Z
#include "stdafx.h" #include "FileCtrlManager.h" #include "AssimpManager.h" #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif CFileCtrlManager::CFileCtrlManager(CDocBase* pDoc) : m_pDoc(pDoc) { m_pFileManager = new CAssimpManager(pDoc); } CFileCtrlManager::~CFileCtrlMa...
17
50
0.773756
jhs0215
1601a1cca09d528ee6767941bc2f9c5e3bba0d59
1,479
hh
C++
EvtGenBase/EvtDiracParticle.hh
brownd1978/FastSim
05f590d72d8e7f71856fd833114a38b84fc7fd48
[ "Apache-2.0" ]
null
null
null
EvtGenBase/EvtDiracParticle.hh
brownd1978/FastSim
05f590d72d8e7f71856fd833114a38b84fc7fd48
[ "Apache-2.0" ]
null
null
null
EvtGenBase/EvtDiracParticle.hh
brownd1978/FastSim
05f590d72d8e7f71856fd833114a38b84fc7fd48
[ "Apache-2.0" ]
null
null
null
//-------------------------------------------------------------------------- // // Environment: // This software is part of the EvtGen package developed jointly // for the BaBar and CLEO collaborations. If you use all or part // of it, please give an appropriate acknowledgement. // // Copyright Informat...
26.890909
76
0.654496
brownd1978
160271e62fe5dea992ab3b99a46410dff2e70d1f
286
cpp
C++
src/sequencer/Step.cpp
MarcelGehrig2/eeros-vt1
c1a8fa5329c98a89b97af2738bb6a674b6890704
[ "Apache-2.0" ]
null
null
null
src/sequencer/Step.cpp
MarcelGehrig2/eeros-vt1
c1a8fa5329c98a89b97af2738bb6a674b6890704
[ "Apache-2.0" ]
null
null
null
src/sequencer/Step.cpp
MarcelGehrig2/eeros-vt1
c1a8fa5329c98a89b97af2738bb6a674b6890704
[ "Apache-2.0" ]
null
null
null
#include <eeros/sequencer/Step.hpp> using namespace eeros; using namespace eeros::sequencer; Step::Step(Sequencer& S, BaseSequence* caller): BaseSequence(S, caller) { } bool Step::isStep() const { return true; } int Step::start() { resetTimeout(); actionFramework(); return 0; }
15.052632
71
0.716783
MarcelGehrig2
160472480e7ffbf256f9f68069270f3a817d9f3f
2,300
cc
C++
udemy/modern_cpp/04-gtest-deepdive/e03/test/UtilsTest1.cc
e-dnx/courses
d21742a51447496f541dc8ec32b0df79d709dbff
[ "MIT" ]
null
null
null
udemy/modern_cpp/04-gtest-deepdive/e03/test/UtilsTest1.cc
e-dnx/courses
d21742a51447496f541dc8ec32b0df79d709dbff
[ "MIT" ]
null
null
null
udemy/modern_cpp/04-gtest-deepdive/e03/test/UtilsTest1.cc
e-dnx/courses
d21742a51447496f541dc8ec32b0df79d709dbff
[ "MIT" ]
null
null
null
#include "Utils.h" #include <gtest/gtest.h> #include <tuple> #include <vector> using ::testing::tuple; using ::testing::Bool; using ::testing::Combine; using ::testing::Range; using ::testing::Values; using ::testing::ValuesIn; using ::testing::internal::ParamGenerator; TEST(SumFrom1To, RangeParams) { // Range(...
29.487179
86
0.586957
e-dnx
1608a85707048bbb67b3bf95a7da7e18ce6bb215
1,959
hpp
C++
ReactNativeFrontend/ios/Pods/boost/boost/geometry/formulas/eccentricity_sqr.hpp
Harshitha91/Tmdb-react-native-node
e06e3f25a7ee6946ef07a1f524fdf62e48424293
[ "Apache-2.0" ]
12,278
2015-01-29T17:11:33.000Z
2022-03-31T21:12:00.000Z
ReactNativeFrontend/ios/Pods/boost/boost/geometry/formulas/eccentricity_sqr.hpp
Harshitha91/Tmdb-react-native-node
e06e3f25a7ee6946ef07a1f524fdf62e48424293
[ "Apache-2.0" ]
9,469
2015-01-30T05:33:07.000Z
2022-03-31T16:17:21.000Z
ReactNativeFrontend/ios/Pods/boost/boost/geometry/formulas/eccentricity_sqr.hpp
Harshitha91/Tmdb-react-native-node
e06e3f25a7ee6946ef07a1f524fdf62e48424293
[ "Apache-2.0" ]
892
2015-01-29T16:26:19.000Z
2022-03-20T07:44:30.000Z
// Boost.Geometry // Copyright (c) 2016, 2018 Oracle and/or its affiliates. // Contributed and/or modified by Adam Wulkiewicz, on behalf of Oracle // 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/...
26.835616
94
0.751404
Harshitha91
160ac5a851dcaebe8c0f53d5015ee613da0a3ba9
11,513
cpp
C++
packages/kokkos/core/src/impl/Kokkos_HBWSpace.cpp
npe9/seacas
7dffa14be815ff2797053b1476a085bda3c4b328
[ "MIT", "NetCDF", "Zlib", "BSD-3-Clause" ]
null
null
null
packages/kokkos/core/src/impl/Kokkos_HBWSpace.cpp
npe9/seacas
7dffa14be815ff2797053b1476a085bda3c4b328
[ "MIT", "NetCDF", "Zlib", "BSD-3-Clause" ]
null
null
null
packages/kokkos/core/src/impl/Kokkos_HBWSpace.cpp
npe9/seacas
7dffa14be815ff2797053b1476a085bda3c4b328
[ "MIT", "NetCDF", "Zlib", "BSD-3-Clause" ]
null
null
null
/* //@HEADER // ************************************************************************ // // Kokkos v. 2.0 // Copyright (2014) Sandia Corporation // // Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, // the U.S. Government retains certain rights in this softw...
33.861765
157
0.643447
npe9
160ba4aebadc147b6146a7dc6f0525623837face
2,309
cpp
C++
dali/internal/canvas-renderer/common/gradient-impl.cpp
dalihub/dali-adaptor
b7943ae5aeb7ddd069be7496a1c1cee186b740c5
[ "Apache-2.0", "BSD-3-Clause" ]
6
2016-11-18T10:26:46.000Z
2021-11-01T12:29:05.000Z
dali/internal/canvas-renderer/common/gradient-impl.cpp
dalihub/dali-adaptor
b7943ae5aeb7ddd069be7496a1c1cee186b740c5
[ "Apache-2.0", "BSD-3-Clause" ]
5
2020-07-15T11:30:49.000Z
2020-12-11T19:13:46.000Z
dali/internal/canvas-renderer/common/gradient-impl.cpp
dalihub/dali-adaptor
b7943ae5aeb7ddd069be7496a1c1cee186b740c5
[ "Apache-2.0", "BSD-3-Clause" ]
7
2019-05-17T07:14:40.000Z
2021-05-24T07:25:26.000Z
/* * Copyright (c) 2021 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...
18.039063
84
0.692074
dalihub
160fa2a029e869ca5156efae4c893dee3547f223
989
hpp
C++
src/stan/lang/generator/constants.hpp
drezap/stan
9b319ed125e2a7d14d0c9c246d2f462dad668537
[ "BSD-3-Clause" ]
1
2019-07-05T01:40:40.000Z
2019-07-05T01:40:40.000Z
src/stan/lang/generator/constants.hpp
drezap/stan
9b319ed125e2a7d14d0c9c246d2f462dad668537
[ "BSD-3-Clause" ]
null
null
null
src/stan/lang/generator/constants.hpp
drezap/stan
9b319ed125e2a7d14d0c9c246d2f462dad668537
[ "BSD-3-Clause" ]
1
2020-07-14T11:36:09.000Z
2020-07-14T11:36:09.000Z
#ifndef STAN_LANG_GENERATOR_CONSTANTS_HPP #define STAN_LANG_GENERATOR_CONSTANTS_HPP #include <stan/lang/ast.hpp> #include <string> #include <vector> namespace stan { namespace lang { /** * End-of-line marker. */ const std::string EOL("\n"); /** * Sequence of two end-of-line markers. ...
18.660377
68
0.577351
drezap
161020b48f4cd46e28089b6c9cd691788e336ae5
6,908
cpp
C++
ATK/Adaptive/BlockLMSFilter.cpp
AudioTK/AudioTK
dba42eea68534501efe74692b74edf4792cca231
[ "BSD-3-Clause" ]
23
2021-02-04T10:47:46.000Z
2022-03-25T03:45:00.000Z
ATK/Adaptive/BlockLMSFilter.cpp
AudioTK/AudioTK
dba42eea68534501efe74692b74edf4792cca231
[ "BSD-3-Clause" ]
2
2021-02-01T15:45:06.000Z
2021-09-13T19:39:05.000Z
ATK/Adaptive/BlockLMSFilter.cpp
AudioTK/AudioTK
dba42eea68534501efe74692b74edf4792cca231
[ "BSD-3-Clause" ]
2
2021-04-12T03:28:12.000Z
2021-12-17T00:47:11.000Z
/** * \file BlockLMSFilter.cpp */ #include "BlockLMSFilter.h" #include <ATK/Core/TypeTraits.h> #include <ATK/Core/Utilities.h> #include <ATK/Utility/FFT.h> #include <Eigen/Core> #include <complex> #include <cstdint> #include <stdexcept> namespace ATK { template<typename DataType_> class BlockLMSFilter<DataTyp...
28.427984
133
0.648958
AudioTK
1610f2c156a4413fac590d81cddf7ead478d593a
8,377
cpp
C++
src/xray/render/dx9/sources/stage_skybox.cpp
ixray-team/ixray-2.0
85c3a544175842323fc82f42efd96c66f0fc5abb
[ "Linux-OpenIB" ]
3
2021-10-30T09:36:14.000Z
2022-03-26T17:00:06.000Z
src/xray/render/dx9/sources/stage_skybox.cpp
acidicMercury8/ixray-2.0
85c3a544175842323fc82f42efd96c66f0fc5abb
[ "Linux-OpenIB" ]
null
null
null
src/xray/render/dx9/sources/stage_skybox.cpp
acidicMercury8/ixray-2.0
85c3a544175842323fc82f42efd96c66f0fc5abb
[ "Linux-OpenIB" ]
1
2022-03-26T17:00:08.000Z
2022-03-26T17:00:08.000Z
//////////////////////////////////////////////////////////////////////////// // Created : 15.04.2009 // Author : Mykhailo Parfeniuk // Copyright (C) GSC Game World - 2009 //////////////////////////////////////////////////////////////////////////// #include "pch.h" #include "stage_skybox.h" #include <xray/ren...
31.374532
217
0.617644
ixray-team
161169abe0e94bad5366c59a153e299542facde3
3,469
cpp
C++
RocketPlugin/cave/RocketCaveAdvancedEditViewWidget.cpp
Adminotech/meshmoon-plugins
32043ef783bdf137860d7d01eb22de564628e572
[ "Apache-2.0" ]
4
2018-05-09T01:55:14.000Z
2021-12-19T17:46:29.000Z
RocketPlugin/cave/RocketCaveAdvancedEditViewWidget.cpp
Adminotech/meshmoon-plugins
32043ef783bdf137860d7d01eb22de564628e572
[ "Apache-2.0" ]
null
null
null
RocketPlugin/cave/RocketCaveAdvancedEditViewWidget.cpp
Adminotech/meshmoon-plugins
32043ef783bdf137860d7d01eb22de564628e572
[ "Apache-2.0" ]
2
2016-03-15T06:12:05.000Z
2021-06-06T00:18:38.000Z
/** @author Adminotech Ltd. Copyright Adminotech Ltd. All rights reserved. @file @brief */ #include "StableHeaders.h" #include "DebugOperatorNew.h" #include "RocketCaveAdvancedEditViewWidget.h" #include "UiAPI.h" #include "MemoryLeakCheck.h" RocketCaveAdvancedEditViewWidget::RocketCaveAdv...
30.699115
95
0.673105
Adminotech
1615fc7836b4fdddcc54591ee8d75e51aa098207
801
hpp
C++
code/gamert/inc/logic/lnode.hpp
TankleL/gamert
61aa36270347515b51c4b6a8dedb0707ac5e49cd
[ "MIT" ]
null
null
null
code/gamert/inc/logic/lnode.hpp
TankleL/gamert
61aa36270347515b51c4b6a8dedb0707ac5e49cd
[ "MIT" ]
null
null
null
code/gamert/inc/logic/lnode.hpp
TankleL/gamert
61aa36270347515b51c4b6a8dedb0707ac5e49cd
[ "MIT" ]
null
null
null
#pragma once #include "pre-req.hpp" /** * @class LNode * @brief Logic node. */ class LNode { public: typedef struct _struct_tick_param { float elapsed; // millisecond uint32_t ticks; // logic tick } tick_param_t; public: LNode(); virtual ~LNode(); public: virtual void on_managed() {}; virtual void o...
17.413043
52
0.686642
TankleL
161713ade2b910a0c8d0189a6888012d392b0f15
915
cpp
C++
Source/Urho3D/EffekseerUrho3D/EffekseerResource.cpp
aimoonchen/rbfx
de4f1fd795f4f42009693a71b6f887a221aa19db
[ "MIT" ]
null
null
null
Source/Urho3D/EffekseerUrho3D/EffekseerResource.cpp
aimoonchen/rbfx
de4f1fd795f4f42009693a71b6f887a221aa19db
[ "MIT" ]
null
null
null
Source/Urho3D/EffekseerUrho3D/EffekseerResource.cpp
aimoonchen/rbfx
de4f1fd795f4f42009693a71b6f887a221aa19db
[ "MIT" ]
null
null
null
// #include <File.hpp> // #include "EffekseerSystem.h" // #include "EffekseerResource.h" // // namespace Urho3D { // // void EffekseerResource::_register_methods() // { // register_method("_init", &EffekseerResource::_init); // register_method("load", &EffekseerResource::load); // register_property<EffekseerResour...
22.875
81
0.639344
aimoonchen
161cfdab5d905dedb6bcbc3f3935568c7c2c7fbf
508
hpp
C++
qubus/include/qubus/IR/parsing.hpp
qubusproject/Qubus
0feb8d6df00459c5af402545dbe7c82ee3ec4b7c
[ "BSL-1.0" ]
null
null
null
qubus/include/qubus/IR/parsing.hpp
qubusproject/Qubus
0feb8d6df00459c5af402545dbe7c82ee3ec4b7c
[ "BSL-1.0" ]
null
null
null
qubus/include/qubus/IR/parsing.hpp
qubusproject/Qubus
0feb8d6df00459c5af402545dbe7c82ee3ec4b7c
[ "BSL-1.0" ]
null
null
null
#ifndef QUBUS_IR_PARSING_HPP #define QUBUS_IR_PARSING_HPP #include <qubus/exception.hpp> #include <memory> #include <stdexcept> #include <string> #include <utility> namespace qubus { class parsing_error : public virtual exception, public virtual std::runtime_error { public: explicit parsing_error(std::string re...
17.517241
81
0.73622
qubusproject
161d44a1793daec93d9f0c43589a029708fbac51
2,682
cpp
C++
Sort/853. Car Fleet.cpp
beckswu/Leetcode
480e8dc276b1f65961166d66efa5497d7ff0bdfd
[ "MIT" ]
138
2020-02-08T05:25:26.000Z
2021-11-04T11:59:28.000Z
Sort/853. Car Fleet.cpp
beckswu/Leetcode
480e8dc276b1f65961166d66efa5497d7ff0bdfd
[ "MIT" ]
null
null
null
Sort/853. Car Fleet.cpp
beckswu/Leetcode
480e8dc276b1f65961166d66efa5497d7ff0bdfd
[ "MIT" ]
24
2021-01-02T07:18:43.000Z
2022-03-20T08:17:54.000Z
/* 853. Car Fleet N cars are going to the same destination along a one lane road. The destination is target miles away. Each car i has a constant speed speed[i] (in miles per hour), and initial position position[i] miles towards the target along the road. A car can never pass another car ahead of it, but i...
31.552941
136
0.615585
beckswu
1620d1e18d0bf1fe13f7f7457b4beb98935e962c
3,487
cc
C++
multibody/visualization_utils.cc
Brian-Acosta/dairlib
88da55d6e4378b93a787f3587d08b8a60f2f03f0
[ "BSD-3-Clause" ]
32
2019-04-15T03:10:26.000Z
2022-03-28T17:27:03.000Z
multibody/visualization_utils.cc
Brian-Acosta/dairlib
88da55d6e4378b93a787f3587d08b8a60f2f03f0
[ "BSD-3-Clause" ]
157
2019-02-21T03:13:57.000Z
2022-03-09T19:13:59.000Z
multibody/visualization_utils.cc
Brian-Acosta/dairlib
88da55d6e4378b93a787f3587d08b8a60f2f03f0
[ "BSD-3-Clause" ]
22
2019-03-02T22:31:42.000Z
2022-03-10T21:28:50.000Z
#include "multibody/visualization_utils.h" #include "common/find_resource.h" #include "multibody/com_pose_system.h" #include "systems/primitives/subvector_pass_through.h" #include "drake/geometry/drake_visualizer.h" #include "drake/multibody/parsing/parser.h" #include "drake/systems/primitives/trajectory_source.h" na...
39.179775
80
0.73731
Brian-Acosta
1620e839538fd02d0d835646c6efaade48b444aa
23,250
cc
C++
lite/kernels/opencl/matmul_image_compute.cc
xiaoxiaohehe001/Paddle-Lite
530851f2228fed8c70adfb7aa5a5bf2ce55a2a65
[ "Apache-2.0" ]
1
2022-01-14T11:10:22.000Z
2022-01-14T11:10:22.000Z
lite/kernels/opencl/matmul_image_compute.cc
xiaoxiaohehe001/Paddle-Lite
530851f2228fed8c70adfb7aa5a5bf2ce55a2a65
[ "Apache-2.0" ]
null
null
null
lite/kernels/opencl/matmul_image_compute.cc
xiaoxiaohehe001/Paddle-Lite
530851f2228fed8c70adfb7aa5a5bf2ce55a2a65
[ "Apache-2.0" ]
null
null
null
// Copyright (c) 2021 PaddlePaddle Authors. 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...
39.273649
80
0.562194
xiaoxiaohehe001
16228a543b7c3fb4a3f6d6ec5be868cd99546993
8,592
hpp
C++
rai/node/peer.hpp
lannuary12/Raicoin
b5d10726f79e233b46e14e6ec064fa20ece1bb15
[ "MIT" ]
1
2021-02-01T22:44:32.000Z
2021-02-01T22:44:32.000Z
rai/node/peer.hpp
lannuary12/Raicoin
b5d10726f79e233b46e14e6ec064fa20ece1bb15
[ "MIT" ]
null
null
null
rai/node/peer.hpp
lannuary12/Raicoin
b5d10726f79e233b46e14e6ec064fa20ece1bb15
[ "MIT" ]
null
null
null
#pragma once #include <chrono> #include <unordered_set> #include <boost/multi_index/hashed_index.hpp> #include <boost/multi_index/member.hpp> #include <boost/multi_index/ordered_index.hpp> #include <boost/multi_index/random_access_index.hpp> #include <boost/multi_index_container.hpp> #include <boost/multi_index/mem_fun...
35.651452
78
0.638617
lannuary12
16231ef9cb255a757110cb73a5fe2b2039e2c6e4
4,420
cc
C++
asylo/examples/secure_grpc/grpc_client_enclave.cc
mosl-dku/asylo
39b40984bfeadad86663d50b77cb12e186337436
[ "Apache-2.0" ]
1
2020-09-23T07:30:01.000Z
2020-09-23T07:30:01.000Z
asylo/examples/secure_grpc/grpc_client_enclave.cc
mosl-dku/asylo
39b40984bfeadad86663d50b77cb12e186337436
[ "Apache-2.0" ]
null
null
null
asylo/examples/secure_grpc/grpc_client_enclave.cc
mosl-dku/asylo
39b40984bfeadad86663d50b77cb12e186337436
[ "Apache-2.0" ]
5
2019-09-30T03:36:43.000Z
2020-08-28T07:31:17.000Z
/* * * Copyright 2019 Asylo authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
35.934959
80
0.732805
mosl-dku
16289ec3ca0ad9f1bad9e0ab59b2e7b39bfe4bf0
852
cpp
C++
src/test/unit/unit_at.cpp
johnzupin/robin-hood-hashing
f7aa87e65e6e3bac0dd92df14f192ca882b54d74
[ "MIT" ]
1,142
2016-10-01T07:09:37.000Z
2022-03-29T18:33:22.000Z
src/test/unit/unit_at.cpp
johnzupin/robin-hood-hashing
f7aa87e65e6e3bac0dd92df14f192ca882b54d74
[ "MIT" ]
135
2019-01-10T07:17:32.000Z
2022-03-31T19:05:54.000Z
src/test/unit/unit_at.cpp
johnzupin/robin-hood-hashing
f7aa87e65e6e3bac0dd92df14f192ca882b54d74
[ "MIT" ]
128
2017-04-28T07:28:36.000Z
2022-03-25T08:15:19.000Z
#include <robin_hood.h> #include <app/doctest.h> TYPE_TO_STRING(robin_hood::unordered_flat_map<int, int>); TYPE_TO_STRING(robin_hood::unordered_node_map<int, int>); TEST_CASE_TEMPLATE("at", Map, robin_hood::unordered_flat_map<int, int>, robin_hood::unordered_node_map<int, int>) { Map map; ...
38.727273
74
0.704225
johnzupin
1629e19f80f7c1533d86e0c3e1a827eb826292b5
728
cpp
C++
UVA Solved Problem/568 - Just the Facts/568 - Just the Facts.cpp
ahmed-dinar/UVA
5cb43864744475ed7ac94e6cb6cae50ad80603c7
[ "MIT" ]
null
null
null
UVA Solved Problem/568 - Just the Facts/568 - Just the Facts.cpp
ahmed-dinar/UVA
5cb43864744475ed7ac94e6cb6cae50ad80603c7
[ "MIT" ]
null
null
null
UVA Solved Problem/568 - Just the Facts/568 - Just the Facts.cpp
ahmed-dinar/UVA
5cb43864744475ed7ac94e6cb6cae50ad80603c7
[ "MIT" ]
null
null
null
#include<cstdio> #include<sstream> #include<cstdlib> #include<cctype> #include<cmath> #include<algorithm> #include<set> #include<queue> #include<stack> #include<list> #include<iostream> #include<fstream> #include<numeric> #include<string> #include<vector> #include<cstring> #include<map> #include<iterator> using namesp...
16.930233
70
0.622253
ahmed-dinar
162c64afc5f5abff5f9bcd253bfab1d69fea54f6
22,013
cxx
C++
VTK/plugins/vtkPOSUFlow.cxx
chunmingchen/OSUFlow
6a5bbb15a43b7f66b58e51705b946f728e98961b
[ "mpich2" ]
7
2019-03-03T18:27:13.000Z
2021-12-12T07:39:07.000Z
VTK/plugins/vtkPOSUFlow.cxx
chunmingchen/OSUFlow
6a5bbb15a43b7f66b58e51705b946f728e98961b
[ "mpich2" ]
null
null
null
VTK/plugins/vtkPOSUFlow.cxx
chunmingchen/OSUFlow
6a5bbb15a43b7f66b58e51705b946f728e98961b
[ "mpich2" ]
7
2015-01-27T04:26:42.000Z
2020-06-18T21:29:14.000Z
// code reference: vtkStreamLine.cxx #include <iostream> #include "vtkCellArray.h" #include "vtkLine.h" #include "vtkInformation.h" #include "vtkInformationVector.h" #include "vtkObjectFactory.h" #include "vtkTimerLog.h" #include "vtkMultiProcessController.h" #include "vtkStreamingDemandDrivenPipeline.h" #include "vtk...
27.379353
145
0.679235
chunmingchen
1632ecdc49884636643ab6c910cb4b30d6c5b5e2
2,275
cc
C++
src/Core/ConsoleApplication/ConsoleApplication.cc
Haydelj/SCIRun
f7ee04d85349b946224dbff183438663e54b9413
[ "MIT" ]
null
null
null
src/Core/ConsoleApplication/ConsoleApplication.cc
Haydelj/SCIRun
f7ee04d85349b946224dbff183438663e54b9413
[ "MIT" ]
null
null
null
src/Core/ConsoleApplication/ConsoleApplication.cc
Haydelj/SCIRun
f7ee04d85349b946224dbff183438663e54b9413
[ "MIT" ]
null
null
null
/* For more information, please see: http://software.sci.utah.edu The MIT License Copyright (c) 2020 Scientific Computing and Imaging Institute, University of Utah. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the ...
35.546875
97
0.74989
Haydelj
1635bec8433c6d9db2cf2a8459c4881c525f1c8d
5,669
cpp
C++
MIC/CoUGrandISO/PSBInfo.cpp
hnordquist/MIC
18528ce80790925f05a409b0d08995576555298e
[ "Unlicense" ]
null
null
null
MIC/CoUGrandISO/PSBInfo.cpp
hnordquist/MIC
18528ce80790925f05a409b0d08995576555298e
[ "Unlicense" ]
1
2017-09-14T15:23:39.000Z
2017-09-14T15:23:39.000Z
MIC/CoUGrandISO/PSBInfo.cpp
hnordquist/MIC
18528ce80790925f05a409b0d08995576555298e
[ "Unlicense" ]
null
null
null
/* This work was supported by the United States Member State Support Program to IAEA Safeguards; the U.S. Department of Energy, Office of Nonproliferation and National Security, International Safeguards Division; and the U.S. Department of Energy, Office of Safeguards and Security. LA-CC-14-089. This software was...
31.320442
98
0.722526
hnordquist
16362ee6487c091c3964da70869308fde4d5e7d0
3,776
cpp
C++
montecarlo/src/main.cpp
li779/DECaNT
8fe0faedd372a8214f1bd475eb7451d2eee1ca56
[ "MIT" ]
8
2020-10-21T19:21:57.000Z
2021-12-30T16:41:21.000Z
montecarlo/src/main.cpp
li779/DECaNT
8fe0faedd372a8214f1bd475eb7451d2eee1ca56
[ "MIT" ]
null
null
null
montecarlo/src/main.cpp
li779/DECaNT
8fe0faedd372a8214f1bd475eb7451d2eee1ca56
[ "MIT" ]
1
2020-10-22T15:02:52.000Z
2020-10-22T15:02:52.000Z
// main file defining the monte carlo simulation #include <stdio.h> #include <chrono> #include <ctime> #include <omp.h> #include <thread> #include <experimental/filesystem> #include "../lib/json.hpp" #include "./monte_carlo/monte_carlo.h" #include "./helper/utility.h" #include "./exciton_transfer/cnt....
30.95082
106
0.603549
li779
16373b36d0d2ec45817dbab556403993b4ce1e38
19,370
cpp
C++
Code/EnginePlugins/KrautPlugin/Components/KrautTreeComponent.cpp
katehuratakeshi220/ezEngine
19fe98b5850172e67c37490ab0cee1b2d96fd220
[ "MIT" ]
null
null
null
Code/EnginePlugins/KrautPlugin/Components/KrautTreeComponent.cpp
katehuratakeshi220/ezEngine
19fe98b5850172e67c37490ab0cee1b2d96fd220
[ "MIT" ]
null
null
null
Code/EnginePlugins/KrautPlugin/Components/KrautTreeComponent.cpp
katehuratakeshi220/ezEngine
19fe98b5850172e67c37490ab0cee1b2d96fd220
[ "MIT" ]
null
null
null
#include <KrautPlugin/KrautPluginPCH.h> #include <Core/Graphics/Geometry.h> #include <Core/Interfaces/PhysicsWorldModule.h> #include <Core/Interfaces/WindWorldModule.h> #include <Core/ResourceManager/ResourceManager.h> #include <Core/WorldSerializer/WorldReader.h> #include <Core/WorldSerializer/WorldWriter.h> ...
32.391304
208
0.716314
katehuratakeshi220
1637a097a853286fa65ac8b39895b8c72cc2e2e0
1,102
cpp
C++
src/VideoWidget.cpp
fovtran/QtIPCam
573ebc6406f5bbc7b24d8c4b94c3ef192694caae
[ "MIT" ]
null
null
null
src/VideoWidget.cpp
fovtran/QtIPCam
573ebc6406f5bbc7b24d8c4b94c3ef192694caae
[ "MIT" ]
null
null
null
src/VideoWidget.cpp
fovtran/QtIPCam
573ebc6406f5bbc7b24d8c4b94c3ef192694caae
[ "MIT" ]
null
null
null
#include <stdlib.h> #include <math.h> #include <QDateTime> #include <QDebug> #include <QImage> #include <QPainter> #include <QObject> #include <QThread> #include <QEventLoop> #include <QVBoxLayout> #include <qendian.h> #include "VideoWidget.h" VideoWidget::VideoWidget(QObject *parent) : m_canvas(nullp...
23.956522
101
0.684211
fovtran
1638dff0fe1b3d8fdee1c261bbfe684f16708508
11,206
cc
C++
tests/testapp/testapp_client_test.cc
hrajput89/kv_engine
33fb1ab2c9787f55555e5f7edea38807b3dbc371
[ "BSD-3-Clause" ]
null
null
null
tests/testapp/testapp_client_test.cc
hrajput89/kv_engine
33fb1ab2c9787f55555e5f7edea38807b3dbc371
[ "BSD-3-Clause" ]
null
null
null
tests/testapp/testapp_client_test.cc
hrajput89/kv_engine
33fb1ab2c9787f55555e5f7edea38807b3dbc371
[ "BSD-3-Clause" ]
1
2020-01-15T16:52:37.000Z
2020-01-15T16:52:37.000Z
/* -*- Mode: C++; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */ /* * Copyright 2015 Couchbase, 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 * * ...
36.983498
80
0.616812
hrajput89
163c2d732589dca73891e9ca574a90139cdbb682
7,966
cpp
C++
libs/hwdrivers/src/CGPSInterface_parser_NOVATEL_OEM6.cpp
feroze/mrpt-shivang
95bf524c5e10ed2e622bd199f1b0597951b45370
[ "BSD-3-Clause" ]
2
2017-03-25T18:09:17.000Z
2017-05-22T08:14:48.000Z
libs/hwdrivers/src/CGPSInterface_parser_NOVATEL_OEM6.cpp
feroze/mrpt-shivang
95bf524c5e10ed2e622bd199f1b0597951b45370
[ "BSD-3-Clause" ]
null
null
null
libs/hwdrivers/src/CGPSInterface_parser_NOVATEL_OEM6.cpp
feroze/mrpt-shivang
95bf524c5e10ed2e622bd199f1b0597951b45370
[ "BSD-3-Clause" ]
1
2018-07-29T09:40:46.000Z
2018-07-29T09:40:46.000Z
/* +---------------------------------------------------------------------------+ | Mobile Robot Programming Toolkit (MRPT) | | http://www.mrpt.org/ | | ...
42.148148
129
0.704117
feroze
164004b6684bcf44b4487034fa1cf786ccf7b82f
31
cpp
C++
atcoder/abc/abc_158/tempCodeRunnerFile.cpp
hsmtknj/programming-contest
b0d7f8a2d12fb031d3a802e6a4769cd6d2defcab
[ "MIT" ]
null
null
null
atcoder/abc/abc_158/tempCodeRunnerFile.cpp
hsmtknj/programming-contest
b0d7f8a2d12fb031d3a802e6a4769cd6d2defcab
[ "MIT" ]
null
null
null
atcoder/abc/abc_158/tempCodeRunnerFile.cpp
hsmtknj/programming-contest
b0d7f8a2d12fb031d3a802e6a4769cd6d2defcab
[ "MIT" ]
null
null
null
if (tgt2 == 1)
15.5
30
0.225806
hsmtknj
f37f2f66459b2dae68f493755d1d1f964c8f1dda
1,592
cpp
C++
rEFIt_UEFI/PlatformEFI/posix/posix_additions.cpp
harperse/CloverBootloader
8d1baad2a62c66aae776cfd45d832399632c299e
[ "BSD-2-Clause" ]
null
null
null
rEFIt_UEFI/PlatformEFI/posix/posix_additions.cpp
harperse/CloverBootloader
8d1baad2a62c66aae776cfd45d832399632c299e
[ "BSD-2-Clause" ]
null
null
null
rEFIt_UEFI/PlatformEFI/posix/posix_additions.cpp
harperse/CloverBootloader
8d1baad2a62c66aae776cfd45d832399632c299e
[ "BSD-2-Clause" ]
null
null
null
/* * posix_additions.cpp * * Created on: Feb 5, 2021 * Author: jief */ #include "posix_additions.h" #include "stdio.h" #include "stddef.h" /* * We need to use AsciiSPrint to be able to use %r and %g */ extern "C" { //# include <Library/UefiLib.h> # include <Library/PrintLib.h> // ...
26.983051
226
0.616834
harperse
f38065ee87ac58c2e393d415c96a47f31e288f45
10,335
hpp
C++
include/range/v3/view/any_range.hpp
anders-sjogren/range-v3
a7583aaf4e446d435867e54d58575d40c0575312
[ "MIT" ]
null
null
null
include/range/v3/view/any_range.hpp
anders-sjogren/range-v3
a7583aaf4e446d435867e54d58575d40c0575312
[ "MIT" ]
null
null
null
include/range/v3/view/any_range.hpp
anders-sjogren/range-v3
a7583aaf4e446d435867e54d58575d40c0575312
[ "MIT" ]
null
null
null
/// \file // Range v3 library // // Copyright Eric Niebler 2014 // // Use, modification and distribution is subject to the // Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) // // Project home: https://github.com/ericniebler/range-v...
37.043011
109
0.504596
anders-sjogren
f3832a9ad1ba0ddf77caf66ead1d537815474584
413
cpp
C++
3 - Branches/3.9 - String modify operations/activity/string_mod.cpp
aTonyXiao/Zybook
36cd05a436c6ca007cdd14638cf5ee2a7724b889
[ "MIT" ]
11
2017-11-17T07:31:44.000Z
2020-12-05T14:46:56.000Z
3 - Branches/3.9 - String modify operations/activity/string_mod.cpp
aTonyXiao/Zybook
36cd05a436c6ca007cdd14638cf5ee2a7724b889
[ "MIT" ]
null
null
null
3 - Branches/3.9 - String modify operations/activity/string_mod.cpp
aTonyXiao/Zybook
36cd05a436c6ca007cdd14638cf5ee2a7724b889
[ "MIT" ]
1
2019-10-15T20:58:51.000Z
2019-10-15T20:58:51.000Z
#include <iostream> #include <string> using namespace std; int main(int argc, char const *argv[]) { //variables string uname = "?"; //uname.push_back('?'); //uname.append("t"); //uname.insert(0, "test"); //uname.clear(); //uname.replace(0, 1, "Hello"); //uname.resize(3); uname = uname + "Hello"; int unum ...
15.884615
40
0.600484
aTonyXiao
f3834ef0b1da0ff9931513eb91e0d4df4566c1e4
6,142
hh
C++
dune/xt/grid/parallel/partitioning/ranged-internal.hh
dune-community/dune-xt-grid
3453f6619fabc016beaf32409627fec8712f3ef9
[ "BSD-2-Clause" ]
2
2016-04-04T08:06:07.000Z
2020-02-08T04:10:38.000Z
dune/xt/grid/parallel/partitioning/ranged-internal.hh
dune-community/dune-xt-grid
3453f6619fabc016beaf32409627fec8712f3ef9
[ "BSD-2-Clause" ]
77
2016-01-24T22:11:21.000Z
2020-03-25T08:30:31.000Z
dune/xt/grid/parallel/partitioning/ranged-internal.hh
dune-community/dune-xt-grid
3453f6619fabc016beaf32409627fec8712f3ef9
[ "BSD-2-Clause" ]
4
2016-11-08T10:12:44.000Z
2020-02-08T04:10:41.000Z
// This file is part of the dune-xt-grid project: // https://github.com/dune-community/dune-xt-grid // Copyright 2009-2018 dune-xt-grid developers and contributors. All rights reserved. // License: Dual licensed as BSD 2-Clause License (http://opensource.org/licenses/BSD-2-Clause) // or GPL-2.0+ (http://opensou...
33.747253
114
0.65565
dune-community
f38e6a5fe121f06e2d1c2eaeeb5bc85ade1ea4af
2,379
hh
C++
server/modules/routing/smartrouter/smartrouter.hh
DatabasKarlsson/MaxScale
ccf90f2e5d28f589eecd54bcb3fb20dfec5b14ff
[ "BSD-3-Clause" ]
null
null
null
server/modules/routing/smartrouter/smartrouter.hh
DatabasKarlsson/MaxScale
ccf90f2e5d28f589eecd54bcb3fb20dfec5b14ff
[ "BSD-3-Clause" ]
1
2021-02-12T10:08:58.000Z
2021-02-18T02:57:57.000Z
server/modules/routing/smartrouter/smartrouter.hh
ThomasDai/MaxScale
766afedbada386b4402b8dbb21805e7eaba52323
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright (c) 2019 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. * * Change Date: 2024-11-26 * * On the date above, in accordance with the Business Source License, use * of this software will be g...
24.27551
91
0.680538
DatabasKarlsson
f395ebb967483ea4de4a16f9f0a9fb6ea9394619
2,393
cpp
C++
ZEngine/src/CubeGeometry.cpp
JeanPhilippeKernel/RendererEngine
e594f8a6534d4b10e46317ba821699b4d3f7be0c
[ "MIT" ]
18
2020-08-20T14:32:30.000Z
2022-03-23T20:38:36.000Z
ZEngine/src/CubeGeometry.cpp
JeanPhilippeKernel/RendererEngine
e594f8a6534d4b10e46317ba821699b4d3f7be0c
[ "MIT" ]
99
2020-08-07T00:54:18.000Z
2022-03-26T18:55:55.000Z
ZEngine/src/CubeGeometry.cpp
JeanPhilippeKernel/RendererEngine
e594f8a6534d4b10e46317ba821699b4d3f7be0c
[ "MIT" ]
5
2020-10-21T23:10:45.000Z
2022-03-23T21:10:17.000Z
#include <Rendering/Geometries/CubeGeometry.h> using namespace ZEngine::Rendering::Renderers::Storages; namespace ZEngine::Rendering::Geometries { CubeGeometry::CubeGeometry() : IGeometry( { GraphicVertex({-0.75f, -0.75f, -0.75f}, {0.0f, 0.0f}), GraphicVertex({0.75f, -0.75f, -0.75f}, {1.0f, 0.0f}), ...
43.509091
61
0.530715
JeanPhilippeKernel
f395f376dc25b623194d17e1d303e2f79b1200ce
10,012
cpp
C++
specialchess/movements.cpp
Thiago-SMerces/cg-projeto3
2c8fb0087b932acfc98c0af1f1e837105b5b7fc3
[ "MIT" ]
null
null
null
specialchess/movements.cpp
Thiago-SMerces/cg-projeto3
2c8fb0087b932acfc98c0af1f1e837105b5b7fc3
[ "MIT" ]
null
null
null
specialchess/movements.cpp
Thiago-SMerces/cg-projeto3
2c8fb0087b932acfc98c0af1f1e837105b5b7fc3
[ "MIT" ]
null
null
null
#include "movements.hpp" #include <cppitertools/itertools.hpp> #include <iostream> std::vector<Piece> Movements::drawMove(Piece& piece, std::vector<Piece> pieces, int playerTurn, int p1PiecesCount) { player = playerTurn; playersPieces = pieces; p1PiecesSize = p1PiecesCount; if (player == 1) { ...
25.870801
116
0.610368
Thiago-SMerces
f395fb1b3a54c4c7cf6e322f78dc02b27e3cf088
22,107
cpp
C++
src/terark/zbs/zip_offset_blob_store.cpp
rockeet/terark-zip
3235373d04b7cf5d584259111b3a057c45cc1708
[ "BSD-3-Clause" ]
11
2021-11-19T04:57:42.000Z
2022-03-27T12:44:17.000Z
src/terark/zbs/zip_offset_blob_store.cpp
rockeet/terark-zip
3235373d04b7cf5d584259111b3a057c45cc1708
[ "BSD-3-Clause" ]
null
null
null
src/terark/zbs/zip_offset_blob_store.cpp
rockeet/terark-zip
3235373d04b7cf5d584259111b3a057c45cc1708
[ "BSD-3-Clause" ]
1
2022-02-17T10:17:01.000Z
2022-02-17T10:17:01.000Z
/* * zip_offset_blob_store.cpp * * Created on: 2017-06-01 * Author: leipeng */ #include "zip_offset_blob_store.hpp" #include "blob_store_file_header.hpp" #include "zip_reorder_map.hpp" #include <terark/io/FileStream.hpp> #include <terark/io/MemStream.hpp> #include <terark/io/IStreamWrapper.hpp> #include <te...
37.789744
118
0.62686
rockeet
f39930643e425433ed0d4739a9016da2b009b5a7
371
cpp
C++
module02/EX03/IFT3100H21_DrawZone/src/main.cpp
philvoyer/IFT3100H21
9f5e45d7b9d1ea0e7a883e5569d05e682b360925
[ "MIT" ]
2
2021-01-16T03:29:39.000Z
2021-01-28T18:04:56.000Z
module02/EX03/IFT3100H21_DrawZone/src/main.cpp
philvoyer/IFT3100H21
9f5e45d7b9d1ea0e7a883e5569d05e682b360925
[ "MIT" ]
null
null
null
module02/EX03/IFT3100H21_DrawZone/src/main.cpp
philvoyer/IFT3100H21
9f5e45d7b9d1ea0e7a883e5569d05e682b360925
[ "MIT" ]
5
2021-01-31T15:46:23.000Z
2021-04-08T16:42:48.000Z
// IFT3100H21_DrawZone/main.cpp // Dessiner une zone rectangulaire en fonction de la position où un des boutons du périphérique de pointage a été appuyé // et de la position courante du curseur, tout en restant dans les limites du canevas. #include "ofMain.h" #include "application.h" int main() { ofSetupOpenGL(512,...
28.538462
120
0.757412
philvoyer
f3995432b2e662d94b7d2b545f0218e78cddc4b7
1,077
cpp
C++
gym/102134/H.cpp
albexl/codeforces-gym-submissions
2a51905c50fcf5d7f417af81c4c49ca5217d0753
[ "MIT" ]
1
2021-07-16T19:59:39.000Z
2021-07-16T19:59:39.000Z
gym/102134/H.cpp
albexl/codeforces-gym-submissions
2a51905c50fcf5d7f417af81c4c49ca5217d0753
[ "MIT" ]
null
null
null
gym/102134/H.cpp
albexl/codeforces-gym-submissions
2a51905c50fcf5d7f417af81c4c49ca5217d0753
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> #include <ext/pb_ds/assoc_container.hpp> #include <ext/pb_ds/tree_policy.hpp> #include <random> #include <chrono> using namespace std; using namespace __gnu_pbds; #define endl '\n' typedef long long ll; typedef pair<int, int> pii; //typedef tree<int,null_type,less<int>,rb_tree_tag, tree_orde...
20.711538
99
0.556175
albexl
f39969405ed59bdb82708dda6f96ed566091900c
1,297
cpp
C++
C++/09-binary-search-lower-and-upper-bound.cpp
ni30kp/sorting-algorithms
5d7a87bb377aad387980b71f97c2c80035a37152
[ "MIT" ]
null
null
null
C++/09-binary-search-lower-and-upper-bound.cpp
ni30kp/sorting-algorithms
5d7a87bb377aad387980b71f97c2c80035a37152
[ "MIT" ]
null
null
null
C++/09-binary-search-lower-and-upper-bound.cpp
ni30kp/sorting-algorithms
5d7a87bb377aad387980b71f97c2c80035a37152
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int binary_search_lower_bound(int arr[], int n, int key){ int left, right, mid ,result; left = 0; right = n-1; result = -1; while(left<=right){ mid = (right + left)/2; // n/2 if(arr[mid] == key){ result = mid; right = mid -1; //search in left part } else if(a...
19.358209
69
0.636083
ni30kp
f39dd6bc6d781ed4a4bc9b2113a88b2d14f09381
829
cpp
C++
Old Files/SingleRoad_Square/add_sq.cpp
karenl7/stlhj
c3f35aefe81e2f6c721e4723ba4d07930b2661e7
[ "MIT" ]
6
2019-01-30T00:11:55.000Z
2022-03-09T02:44:51.000Z
Old Files/SingleRoad_Square/add_sq.cpp
StanfordASL/stlhj
c3f35aefe81e2f6c721e4723ba4d07930b2661e7
[ "MIT" ]
null
null
null
Old Files/SingleRoad_Square/add_sq.cpp
StanfordASL/stlhj
c3f35aefe81e2f6c721e4723ba4d07930b2661e7
[ "MIT" ]
4
2018-09-08T00:16:55.000Z
2022-03-09T02:44:54.000Z
void add_sq( beacls::FloatVec& lane, beacls::FloatVec xs, FLOAT_TYPE sq_offset, FLOAT_TYPE length, FLOAT_TYPE dim, const size_t numel){ if (dim == 0){ std::transform(xs.cbegin(), xs.cend(), lane.begin(), [lane_offset, length](const auto &xs_i) { return 1- std::pow(...
30.703704
84
0.59228
karenl7
f3a08ded61783f12c11754adbc66c00b13753b1e
49,705
cc
C++
hybridse/src/passes/physical/batch_request_optimize.cc
xinjustin/OpenMLDB
555e3af6b1eb4cc469c3639e75c4cf6410b1b9a1
[ "Apache-2.0" ]
2,659
2021-06-07T12:59:15.000Z
2022-03-30T15:29:37.000Z
hybridse/src/passes/physical/batch_request_optimize.cc
wei20024/OpenMLDB
16b426bcba18f70e083179f82db51e71e65d1bf6
[ "Apache-2.0" ]
1,396
2021-05-28T09:50:13.000Z
2022-03-31T16:37:49.000Z
hybridse/src/passes/physical/batch_request_optimize.cc
wei20024/OpenMLDB
16b426bcba18f70e083179f82db51e71e65d1bf6
[ "Apache-2.0" ]
499
2021-05-31T07:36:48.000Z
2022-03-31T15:10:12.000Z
/* * Copyright 2021 4Paradigm * * 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...
41.010726
116
0.614445
xinjustin
f3a5ed8d86dbf92be1fb27121d707dc350146dcf
1,620
cpp
C++
sentinel/reve/chat.cpp
surrealwaffle/thesurrealwaffle
6937d8e2604628a5c9141feef837d89e81f68165
[ "BSL-1.0" ]
3
2018-07-20T23:04:45.000Z
2021-07-09T04:16:42.000Z
sentinel/reve/chat.cpp
surrealwaffle/thesurrealwaffle
6937d8e2604628a5c9141feef837d89e81f68165
[ "BSL-1.0" ]
null
null
null
sentinel/reve/chat.cpp
surrealwaffle/thesurrealwaffle
6937d8e2604628a5c9141feef837d89e81f68165
[ "BSL-1.0" ]
1
2018-07-21T06:32:13.000Z
2018-07-21T06:32:13.000Z
// Copyright surrealwaffle 2018 - 2020. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) #include "chat.hpp" #include <sentinel/config.hpp> #include <utility> // std::move na...
27.457627
77
0.656173
surrealwaffle
f3a5ee795ce68a954d4b3676d4c73a2b5298bd1f
3,307
cpp
C++
examples/synchronous_web_socket/src/main.cpp
HungMingWu/concurrencpp
eb4ed8fb6cd8510925738868cf57bed882005b4b
[ "MIT" ]
null
null
null
examples/synchronous_web_socket/src/main.cpp
HungMingWu/concurrencpp
eb4ed8fb6cd8510925738868cf57bed882005b4b
[ "MIT" ]
null
null
null
examples/synchronous_web_socket/src/main.cpp
HungMingWu/concurrencpp
eb4ed8fb6cd8510925738868cf57bed882005b4b
[ "MIT" ]
null
null
null
/* A company develops a desktop application for weather updates and reports. The software uses a synchronous web-socket library to communicate with the weather server. Since connecting and reading from the websocket may block for a long time (up to hours and days, if no update is available), and in an un-predictab...
38.905882
125
0.759903
HungMingWu
f3a880d42ebab63806df9c39e6e4465951c88ecc
1,491
cpp
C++
ql/currencies/africa.cpp
sfondi/QuantLib
8a2449d2fb470a7d47a55d3e99c5dace749709c9
[ "BSD-3-Clause" ]
41
2016-03-19T02:31:54.000Z
2022-01-20T13:23:20.000Z
ql/currencies/africa.cpp
sfondi/QuantLib
8a2449d2fb470a7d47a55d3e99c5dace749709c9
[ "BSD-3-Clause" ]
1
2020-07-17T18:49:22.000Z
2020-07-17T18:49:22.000Z
ql/currencies/africa.cpp
sfondi/QuantLib
8a2449d2fb470a7d47a55d3e99c5dace749709c9
[ "BSD-3-Clause" ]
22
2016-03-17T14:14:36.000Z
2022-03-28T10:33:19.000Z
/* -*- mode: c++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* Copyright (C) 2004, 2005 StatPro Italia srl This file is part of QuantLib, a free-software/open-source library for financial quantitative analysts and developers - http://quantlib.org/ QuantLib is free software: you can redistribu...
34.674419
79
0.633132
sfondi
f3a897ee1a819c2e2e7d6733c12f626e3ac8a19f
5,533
hpp
C++
heart/test/monodomain/TestMonodomainFitzHughNagumo.hpp
mdp19pn/Chaste
f7b6bafa64287d567125b587b29af6d8bd7aeb90
[ "Apache-2.0", "BSD-3-Clause" ]
100
2015-02-23T08:32:23.000Z
2022-02-25T11:39:26.000Z
heart/test/monodomain/TestMonodomainFitzHughNagumo.hpp
mdp19pn/Chaste
f7b6bafa64287d567125b587b29af6d8bd7aeb90
[ "Apache-2.0", "BSD-3-Clause" ]
11
2017-06-14T13:48:43.000Z
2022-03-10T10:42:07.000Z
heart/test/monodomain/TestMonodomainFitzHughNagumo.hpp
mdp19pn/Chaste
f7b6bafa64287d567125b587b29af6d8bd7aeb90
[ "Apache-2.0", "BSD-3-Clause" ]
53
2015-02-23T13:52:44.000Z
2022-02-28T18:57:35.000Z
/* Copyright (c) 2005-2021, University of Oxford. All rights reserved. University of Oxford means the Chancellor, Masters and Scholars of the University of Oxford, having an administrative office at Wellington Square, Oxford OX1 2JD, UK. This file is part of Chaste. Redistribution and use in source and binary forms...
36.642384
95
0.683174
mdp19pn
f3ada4fc23f86580fd1670a7e20c7e3f2f9dce38
5,639
cpp
C++
src/invariant/CacheIsConsistentWithDatabaseTests.cpp
SuperNodeLibs/supernode-core
4b0c840db70707bc92bcb69f184b99cafcabe2e6
[ "Apache-2.0", "BSD-2-Clause", "MIT", "ECL-2.0", "BSL-1.0", "BSD-3-Clause" ]
null
null
null
src/invariant/CacheIsConsistentWithDatabaseTests.cpp
SuperNodeLibs/supernode-core
4b0c840db70707bc92bcb69f184b99cafcabe2e6
[ "Apache-2.0", "BSD-2-Clause", "MIT", "ECL-2.0", "BSL-1.0", "BSD-3-Clause" ]
null
null
null
src/invariant/CacheIsConsistentWithDatabaseTests.cpp
SuperNodeLibs/supernode-core
4b0c840db70707bc92bcb69f184b99cafcabe2e6
[ "Apache-2.0", "BSD-2-Clause", "MIT", "ECL-2.0", "BSL-1.0", "BSD-3-Clause" ]
null
null
null
// Copyright 2017 SuperNode Development Foundation and contributors. Licensed // under the Apache License, Version 2.0. See the COPYING file at the root // of this distribution or at http://www.apache.org/licenses/LICENSE-2.0 #include "database/Database.h" #include "invariant/CacheIsConsistentWithDatabase.h" #include ...
32.222857
80
0.592836
SuperNodeLibs
f3b822bc71aa6a7386649a6ef19384903f319b58
15,250
cpp
C++
editor/src/GuiElements/ViewportWindow.cpp
MajesticShekel/Strontium
e672e4f7ee0338ef4e29ac61dad3f10905e8d105
[ "MIT" ]
null
null
null
editor/src/GuiElements/ViewportWindow.cpp
MajesticShekel/Strontium
e672e4f7ee0338ef4e29ac61dad3f10905e8d105
[ "MIT" ]
null
null
null
editor/src/GuiElements/ViewportWindow.cpp
MajesticShekel/Strontium
e672e4f7ee0338ef4e29ac61dad3f10905e8d105
[ "MIT" ]
null
null
null
#include "GuiElements/ViewportWindow.h" // Project includes. #include "Core/Application.h" #include "Core/AppStatus.h" #include "EditorLayer.h" #include "Scenes/Components.h" #include "GuiElements/Styles.h" #include "Serialization/YamlSerialization.h" #include "Utils/AsyncAssetLoading.h" // Some math for decomposing ...
34.040179
138
0.654361
MajesticShekel
f3bab255bab4da8cb4ba92de57b88002b55b2c92
1,668
cpp
C++
VolumeControldB/JuceLibraryCode/modules/juce_gui_basics/keyboard/juce_ModifierKeys.cpp
deepakantony/audio_plugins
356d3b204fa5b98768e0d2832f6eaee27825b724
[ "MIT" ]
30
2015-02-18T14:07:00.000Z
2021-12-11T15:19:01.000Z
VolumeControldB/JuceLibraryCode/modules/juce_gui_basics/keyboard/juce_ModifierKeys.cpp
deepakantony/audio_plugins
356d3b204fa5b98768e0d2832f6eaee27825b724
[ "MIT" ]
16
2015-01-01T23:17:24.000Z
2015-04-18T23:49:27.000Z
VolumeControldB/JuceLibraryCode/modules/juce_gui_basics/keyboard/juce_ModifierKeys.cpp
deepakantony/audio_plugins
356d3b204fa5b98768e0d2832f6eaee27825b724
[ "MIT" ]
31
2015-03-11T20:04:07.000Z
2020-11-02T13:56:59.000Z
/* ============================================================================== This file is part of the JUCE library. Copyright (c) 2013 - Raw Material Software Ltd. Permission is granted to use this software under the terms of either: a) the GPL v2 (or any later version) b) the Affero GPL...
32.076923
90
0.598921
deepakantony
f3bb209f5ec18b4c710993965a23b3fc9432d793
1,589
cc
C++
src/Mesh/copy2polytope.cc
markguozhiming/spheral
bbb982102e61edb8a1d00cf780bfa571835e1b61
[ "BSD-Source-Code", "BSD-3-Clause-LBNL", "FSFAP" ]
1
2020-10-21T01:56:55.000Z
2020-10-21T01:56:55.000Z
src/Mesh/copy2polytope.cc
markguozhiming/spheral
bbb982102e61edb8a1d00cf780bfa571835e1b61
[ "BSD-Source-Code", "BSD-3-Clause-LBNL", "FSFAP" ]
null
null
null
src/Mesh/copy2polytope.cc
markguozhiming/spheral
bbb982102e61edb8a1d00cf780bfa571835e1b61
[ "BSD-Source-Code", "BSD-3-Clause-LBNL", "FSFAP" ]
null
null
null
//---------------------------------Spheral++----------------------------------// // copy2polytope // // Helper method to copy a set of Spheral polyhedra to a polytope tessellation. // // Created by JMO, Wed Jan 9 16:25:28 PST 2019 //----------------------------------------------------------------------------// #includ...
35.311111
88
0.550661
markguozhiming
f3bd01166991ec11fec6ae68cec2e76bf0b159ea
4,276
cpp
C++
src/LeuchtAPI.cpp
wichern/leucht
403fc613e06241978696fb15f34fa64f2732549d
[ "MIT" ]
null
null
null
src/LeuchtAPI.cpp
wichern/leucht
403fc613e06241978696fb15f34fa64f2732549d
[ "MIT" ]
null
null
null
src/LeuchtAPI.cpp
wichern/leucht
403fc613e06241978696fb15f34fa64f2732549d
[ "MIT" ]
null
null
null
/* * The MIT License (MIT) * * Copyright (c) 2019 Paul Wichern * * 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,...
35.338843
102
0.681244
wichern
f3bda95e1bd156281034d16e8fd0285168aaad22
4,969
cpp
C++
Gesture detection watch/src/source/mpu.cpp
Neutrino-1/Gesture_Detection_Esp8266
c18b881e4de21fcd3a1a891651f70fa3632ddeb5
[ "CC0-1.0" ]
2
2022-01-18T06:32:54.000Z
2022-02-21T10:04:50.000Z
Gesture detection watch/src/source/mpu.cpp
Neutrino-1/Gesture_Detection_Esp9266
c18b881e4de21fcd3a1a891651f70fa3632ddeb5
[ "CC0-1.0" ]
null
null
null
Gesture detection watch/src/source/mpu.cpp
Neutrino-1/Gesture_Detection_Esp9266
c18b881e4de21fcd3a1a891651f70fa3632ddeb5
[ "CC0-1.0" ]
1
2021-06-29T22:14:18.000Z
2021-06-29T22:14:18.000Z
#include "../include/mpu.h" Adafruit_MPU6050 mpu; float features[NUM_AXES * NUM_SAMPLES]; //stores the gesture (before detection) double baseline[NUM_AXES]; // Used for callibration Eloquent::ML::Port::RandomForest classifier; //This class is inside the model.h file // REPLACE WITH RECEIVER MAC Address (84:CC:A8:83:...
28.722543
124
0.625075
Neutrino-1
f3c0e73cec754c9f9af15a7613c106b74127f9d7
1,272
cpp
C++
Algorithms/Gragh_Theory/Breadth_First_Search:_Shortest_Reach.cpp
chenyuxiaodhr/hacker_rank_solutions
2839be53b0cac75516f39ef1a3731e3d3a43a6be
[ "MIT" ]
2
2016-03-25T02:56:46.000Z
2017-04-01T08:10:11.000Z
Algorithms/Gragh_Theory/Breadth_First_Search:_Shortest_Reach.cpp
chenyuxiaodhr/hacker_rank_solutions
2839be53b0cac75516f39ef1a3731e3d3a43a6be
[ "MIT" ]
null
null
null
Algorithms/Gragh_Theory/Breadth_First_Search:_Shortest_Reach.cpp
chenyuxiaodhr/hacker_rank_solutions
2839be53b0cac75516f39ef1a3731e3d3a43a6be
[ "MIT" ]
null
null
null
#include <cmath> #include <cstdio> #include <vector> #include <iostream> #include <algorithm> #include <unordered_map> #include <queue> using namespace std; vector<int> g_a[1001]; vector<int> g_r(1001, -1); queue<int> g_q; int main() { /* Enter your code here. Read input from STDIN. Print output to STDOUT */ ...
19.272727
77
0.381289
chenyuxiaodhr
f3c4c7a25b9261f6e9d9c1bc8bbdcf3bd84f1f77
669
cpp
C++
dmoj/uncategorized/battle-positions.cpp
ruar18/competitive-programming
f264675fab92bf27dce184dd65eb81e302381f96
[ "MIT" ]
null
null
null
dmoj/uncategorized/battle-positions.cpp
ruar18/competitive-programming
f264675fab92bf27dce184dd65eb81e302381f96
[ "MIT" ]
null
null
null
dmoj/uncategorized/battle-positions.cpp
ruar18/competitive-programming
f264675fab92bf27dce184dd65eb81e302381f96
[ "MIT" ]
null
null
null
#include <vector> #include <iostream> using namespace std; vector<int> A(100000); vector<int> DA(100000); int main() { cin.sync_with_stdio(0); cin.tie(0); // Number of stations, min troops at each station, num of waves int I, N, J; cin >> I >> N >> J; for (int i = 0; i < J; i++){ // Lower and upper bounds,...
17.153846
64
0.536622
ruar18
f3cd0b5e9276193380bbf4bed63e2dd7ec7c57db
8,847
hpp
C++
src/asset.hpp
hyt589/PositionBasedFluid-OpenGL
be772a4577bc32e621d0ae9a95f6ee636bf8bf10
[ "MIT" ]
null
null
null
src/asset.hpp
hyt589/PositionBasedFluid-OpenGL
be772a4577bc32e621d0ae9a95f6ee636bf8bf10
[ "MIT" ]
null
null
null
src/asset.hpp
hyt589/PositionBasedFluid-OpenGL
be772a4577bc32e621d0ae9a95f6ee636bf8bf10
[ "MIT" ]
null
null
null
#pragma once #include "global.hpp" #include <assimp/Importer.hpp> #include <assimp/scene.h> #include <assimp/postprocess.h> #include <assimp/pbrmaterial.h> #include "ShaderProgram.hpp" // #define STB_IMAGE_IMPLEMENTATION #include <stb_image.h> static uint TextureFromFile(std::string filename, std::string &dir); stru...
30.091837
113
0.565615
hyt589
f3d25f215e3938cec0325b4aaf9be1e3ecb2a681
498
cpp
C++
beginner_tutorials/src/talkerInt.cpp
Algoraphics/simpleSim
8b2bce75ea49f6bced5924736f1caa1a928a0470
[ "BSD-3-Clause-Clear" ]
1
2019-09-11T17:20:14.000Z
2019-09-11T17:20:14.000Z
beginner_tutorials/src/talkerInt.cpp
Algoraphics/simpleSim
8b2bce75ea49f6bced5924736f1caa1a928a0470
[ "BSD-3-Clause-Clear" ]
null
null
null
beginner_tutorials/src/talkerInt.cpp
Algoraphics/simpleSim
8b2bce75ea49f6bced5924736f1caa1a928a0470
[ "BSD-3-Clause-Clear" ]
null
null
null
#include "ros/ros.h" #include "std_msgs/Int32.h" #include <sstream> int main(int argc, char **argv) { ros::init(argc, argv, "talker"); ros::NodeHandle n; ros::Publisher chatter_pub = n.advertise<std_msgs::Int32>("chatter", 1000); ros::Rate loop_rate(10); int count = 0; while (ros::ok()) { std_m...
14.228571
77
0.606426
Algoraphics
f3d8dff5704ae42f059d4b555799712aee5fd0db
1,254
cpp
C++
src/bin/network/client_handling.cpp
EIRNf/twizzler
794383026ce605789c6cfc62093d79f0b01fe1d5
[ "BSD-3-Clause" ]
23
2021-07-09T22:11:58.000Z
2022-03-24T04:19:44.000Z
src/bin/network/client_handling.cpp
EIRNf/twizzler
794383026ce605789c6cfc62093d79f0b01fe1d5
[ "BSD-3-Clause" ]
38
2021-07-10T02:50:30.000Z
2022-03-16T01:22:46.000Z
src/bin/network/client_handling.cpp
EIRNf/twizzler
794383026ce605789c6cfc62093d79f0b01fe1d5
[ "BSD-3-Clause" ]
6
2021-07-03T04:15:06.000Z
2022-03-15T00:33:32.000Z
#include "client.h" void net_client::enqueue_cmd(struct nstack_queue_entry *nqe) { /* TODO: handle error, non-blocking (?) */ queue_submit(&rxq_obj, (struct queue_entry *)nqe, 0); } void submit_command(std::shared_ptr<net_client> client, struct nstack_queue_entry *nqe) { uint32_t id = client->outstanding_idalloc.g...
27.26087
93
0.713716
EIRNf
f3ddea159b744f21a26ef685b5811115f2cf1f1f
927
hpp
C++
src/transporttype.hpp
dns-stats/dns-stats-compactor
8f4c9b8614e5da40f51f028de40f113ec4bcb27f
[ "BSD-3-Clause" ]
26
2017-06-21T04:15:31.000Z
2022-03-07T10:46:09.000Z
src/transporttype.hpp
Acidburn0zzz/compactor
47e649064652525e0eebc188f092589bb1594c1e
[ "BSD-3-Clause" ]
45
2017-06-15T17:44:15.000Z
2022-03-23T16:27:07.000Z
src/transporttype.hpp
Acidburn0zzz/compactor
47e649064652525e0eebc188f092589bb1594c1e
[ "BSD-3-Clause" ]
11
2017-06-23T10:14:18.000Z
2021-11-12T10:34:16.000Z
/* * Copyright 2021 Internet Corporation for Assigned Names and Numbers. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, you can obtain one at https://mozilla.org/MPL/2.0/. */ /* * Developed by Sinodun IT (www....
18.176471
70
0.674218
dns-stats
f3dfb132e87dc9454ab0b626a635e36bdea7f9dc
1,531
hpp
C++
packages/arb-avm-cpp/avm_values/include/avm_values/pool.hpp
EazyReal/arbitrum
858284c776b6b385b81ecf010c3caa33deddfee0
[ "Apache-2.0" ]
null
null
null
packages/arb-avm-cpp/avm_values/include/avm_values/pool.hpp
EazyReal/arbitrum
858284c776b6b385b81ecf010c3caa33deddfee0
[ "Apache-2.0" ]
4
2022-02-18T21:35:24.000Z
2022-03-31T07:15:09.000Z
packages/arb-avm-cpp/avm_values/include/avm_values/pool.hpp
EazyReal/arbitrum
858284c776b6b385b81ecf010c3caa33deddfee0
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2019, Offchain Labs, 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 ag...
25.098361
75
0.693664
EazyReal
f3e08c608b20c568e8cc624760df2a0cf9968ce1
3,318
cpp
C++
main/src/jumpnrun/mover/enemy/Goblin.cpp
wonderhorn/mkfj
18d2dd290811662d87abefe2fe2e338ba9caf8a5
[ "MIT" ]
null
null
null
main/src/jumpnrun/mover/enemy/Goblin.cpp
wonderhorn/mkfj
18d2dd290811662d87abefe2fe2e338ba9caf8a5
[ "MIT" ]
null
null
null
main/src/jumpnrun/mover/enemy/Goblin.cpp
wonderhorn/mkfj
18d2dd290811662d87abefe2fe2e338ba9caf8a5
[ "MIT" ]
null
null
null
#pragma once #define _USE_MATH_DEFINES #include"jumpnrun/mover/enemy/Enemy.h" #include"jumpnrun/mover/effect/Effect.h" #include"jumpnrun/mover/Barrier.h" #include"jumpnrun/GRAPHICS.h" #include"jumpnrun/system/Parmanent.h" #include"jumpnrun/MoverUtilities.h" #include"utils/MyCppUtil.h" #include<cmath> #include<functiona...
20.481481
93
0.617541
wonderhorn
f3e2f3afa0c75b1bc60a8f607a3f71bfd8e55309
906
hpp
C++
src/inc/internal/MsixFeatureSelector.hpp
bfourie/msix-packaging
c30aa5218cc7e2f80b96e27ee60c4eca8e3c2f0a
[ "MIT" ]
486
2018-03-07T17:15:03.000Z
2019-05-06T20:05:44.000Z
src/inc/internal/MsixFeatureSelector.hpp
bfourie/msix-packaging
c30aa5218cc7e2f80b96e27ee60c4eca8e3c2f0a
[ "MIT" ]
172
2019-05-14T18:56:36.000Z
2022-03-30T16:35:24.000Z
src/inc/internal/MsixFeatureSelector.hpp
bfourie/msix-packaging
c30aa5218cc7e2f80b96e27ee60c4eca8e3c2f0a
[ "MIT" ]
83
2019-05-29T18:38:36.000Z
2022-03-17T07:34:16.000Z
// // Copyright (C) 2017 Microsoft. All rights reserved. // See LICENSE file in the project root for full license information. // // Helper macros for flow control. Throws Error::NotSupported when a feature // is not enabled. #include "Exceptions.hpp" #ifndef THROW_IF_BUNDLE_NOT_ENABLED #ifdef BUNDLE_SU...
37.75
157
0.773731
bfourie
f3e37e54bf266f97940344da918fefd3d32b38c0
5,076
cpp
C++
src/ext/openexr/IlmBase/ImathTest/testQuatSlerp.cpp
tomoya5296/pbrt-cv
f5078db1e42bb8305aa386bda1ba26c528dec489
[ "BSD-2-Clause" ]
21
2016-12-14T09:46:27.000Z
2021-12-28T10:05:04.000Z
src/ext/openexr/IlmBase/ImathTest/testQuatSlerp.cpp
tomoya5296/pbrt-cv
f5078db1e42bb8305aa386bda1ba26c528dec489
[ "BSD-2-Clause" ]
2
2015-10-09T19:13:25.000Z
2018-12-25T17:16:54.000Z
src/ext/openexr/IlmBase/ImathTest/testQuatSlerp.cpp
tomoya5296/pbrt-cv
f5078db1e42bb8305aa386bda1ba26c528dec489
[ "BSD-2-Clause" ]
15
2015-02-23T16:35:28.000Z
2022-03-25T13:40:33.000Z
/////////////////////////////////////////////////////////////////////////// // // Copyright (c) 2006, Industrial Light & Magic, a division of Lucas // Digital Ltd. LLC // // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the f...
25.253731
78
0.610126
tomoya5296
f3e7f6960e3052d94a759f88f663520653c5938a
670
cpp
C++
acmicpcnet/1256.cpp
irresi/algostudy
489739d641d6e36bbedf86be6391d1db27456585
[ "MIT" ]
null
null
null
acmicpcnet/1256.cpp
irresi/algostudy
489739d641d6e36bbedf86be6391d1db27456585
[ "MIT" ]
null
null
null
acmicpcnet/1256.cpp
irresi/algostudy
489739d641d6e36bbedf86be6391d1db27456585
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; using pii = pair<int, int>; const int inf=1e9+3; #define all(x) (x).begin(),(x).end() #define sync() {ios_base::sync_with_stdio(0); cin.tie(0);cout.tie(0);} //do not use int n,m,k; long long C[203][203]; string str; int main() { int i,j; C[0][0]=1; cin>>n>>m>>k; ...
19.142857
84
0.461194
irresi
f3e87858a6b50d758a78b3ed70bb245e5aa36d9c
17,352
cpp
C++
Vic2ToHoI3/Source/V2toHOI3Converter.cpp
Zemurin/Vic2ToHoI3
68cbd64047169905bf4767ea1da19e47a06eaae9
[ "MIT" ]
1
2022-01-11T01:15:25.000Z
2022-01-11T01:15:25.000Z
Vic2ToHoI3/Source/V2toHOI3Converter.cpp
Zemurin/Vic2ToHoI3
68cbd64047169905bf4767ea1da19e47a06eaae9
[ "MIT" ]
null
null
null
Vic2ToHoI3/Source/V2toHOI3Converter.cpp
Zemurin/Vic2ToHoI3
68cbd64047169905bf4767ea1da19e47a06eaae9
[ "MIT" ]
2
2020-03-29T13:45:16.000Z
2022-01-11T00:03:34.000Z
/*Copyright (c) 2019 The Paradox Game Converters Project 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, mer...
35.268293
242
0.691217
Zemurin
f3ec40ea79db3662f2513afe91573d9c8c424f0a
1,922
hpp
C++
tests/common/include/coherence/tests/IncrementorInvocable.hpp
chpatel3/coherence-cpp-extend-client
4ea5267eae32064dff1e73339aa3fbc9347ef0f6
[ "UPL-1.0", "Apache-2.0" ]
6
2020-07-01T21:38:30.000Z
2021-11-03T01:35:11.000Z
tests/common/include/coherence/tests/IncrementorInvocable.hpp
chpatel3/coherence-cpp-extend-client
4ea5267eae32064dff1e73339aa3fbc9347ef0f6
[ "UPL-1.0", "Apache-2.0" ]
1
2020-07-24T17:29:22.000Z
2020-07-24T18:29:04.000Z
tests/common/include/coherence/tests/IncrementorInvocable.hpp
chpatel3/coherence-cpp-extend-client
4ea5267eae32064dff1e73339aa3fbc9347ef0f6
[ "UPL-1.0", "Apache-2.0" ]
6
2020-07-10T18:40:58.000Z
2022-02-18T01:23:40.000Z
/* * Copyright (c) 2000, 2020, Oracle and/or its affiliates. * * Licensed under the Universal Permissive License v 1.0 as shown at * http://oss.oracle.com/licenses/upl. */ #ifndef COH_INCREMENTOR_INVOCABLE_HPP #define COH_INCREMENTOR_INVOCABLE_HPP #include "coherence/lang.ns" #include "coherence/io/pof/PofReader...
24.961039
77
0.60718
chpatel3
f3edaee4536b19db6ab242b3281cfb4b474db03b
13,431
cpp
C++
src/compiler.cpp
davidwed/sqlrelay_rudiments
6ccffdfc5fa29f8c0226f3edc2aa888aa1008347
[ "BSD-2-Clause-NetBSD" ]
null
null
null
src/compiler.cpp
davidwed/sqlrelay_rudiments
6ccffdfc5fa29f8c0226f3edc2aa888aa1008347
[ "BSD-2-Clause-NetBSD" ]
null
null
null
src/compiler.cpp
davidwed/sqlrelay_rudiments
6ccffdfc5fa29f8c0226f3edc2aa888aa1008347
[ "BSD-2-Clause-NetBSD" ]
null
null
null
// Copyright (c) 2015 David Muse // See the COPYING file for more information. #include <rudiments/compiler.h> #include <rudiments/character.h> #include <rudiments/sys.h> #if (defined(_MSC_VER) && (_MSC_VER <= 1300)) || \ (defined(__USLC__) && !defined(__GNUC__)) || \ defined(__VMS) // degenerate debug macros fo...
23.196891
125
0.676346
davidwed
f3ef88190c72b7649691a4a66f922b63c7d223cf
49
hpp
C++
src/parsium/common.hpp
the-last-willy/parsium
7fb672770787cfe41f7d0b56ae7c4de756908583
[ "MIT" ]
null
null
null
src/parsium/common.hpp
the-last-willy/parsium
7fb672770787cfe41f7d0b56ae7c4de756908583
[ "MIT" ]
null
null
null
src/parsium/common.hpp
the-last-willy/parsium
7fb672770787cfe41f7d0b56ae7c4de756908583
[ "MIT" ]
null
null
null
#pragma once #include "common/input_stream.hpp"
12.25
34
0.77551
the-last-willy
f3efe736b2df0c6b3074d2e12287f5fe705c5061
2,406
cc
C++
tests/unit/fs_seastarfs_test.cc
rokinsky/seastar
e935bc197c1acf81e7e0c3c6e78b735a95e8f2fa
[ "Apache-2.0" ]
null
null
null
tests/unit/fs_seastarfs_test.cc
rokinsky/seastar
e935bc197c1acf81e7e0c3c6e78b735a95e8f2fa
[ "Apache-2.0" ]
2
2020-04-19T14:39:20.000Z
2020-04-19T14:47:49.000Z
tests/unit/fs_seastarfs_test.cc
rokinsky/seastar
e935bc197c1acf81e7e0c3c6e78b735a95e8f2fa
[ "Apache-2.0" ]
null
null
null
/* * This file is open source software, licensed to you under the terms * of the Apache License, Version 2.0 (the "License"). See the NOTICE file * distributed with this work for additional information regarding copyright * ownership. You may not use this file except in compliance with the License. * * You may ...
38.190476
98
0.662095
rokinsky
f3f2dcd333a727cfc91afa9945e43115ca00be0a
986
cpp
C++
franka_spacenav/src/nodes/spacenav_test.cpp
amaroUC/TOOLING4G
d25d43c0e14798617b7c4be60fd9eed2df25aa17
[ "Apache-2.0" ]
2
2020-11-18T09:01:49.000Z
2021-09-24T10:31:14.000Z
franka_spacenav/src/nodes/spacenav_test.cpp
amaroUC/TOOLING4G
d25d43c0e14798617b7c4be60fd9eed2df25aa17
[ "Apache-2.0" ]
1
2021-11-12T12:19:15.000Z
2021-11-16T12:17:01.000Z
franka_spacenav/src/nodes/spacenav_test.cpp
amaroUC/TOOLING4G
d25d43c0e14798617b7c4be60fd9eed2df25aa17
[ "Apache-2.0" ]
2
2020-07-25T07:38:20.000Z
2021-11-08T15:19:08.000Z
#include <franka_spacenav/spacenav.h> // global variables Eigen::Matrix4d F_T_EE; void franka_state_callback(const franka_msgs::FrankaState::ConstPtr &msg){ int k = 0; for(int i = 0; i < 4; i++){ for(int j = 0; j < 4; j++){ F_T_EE(j,i) = msg->F_T_EE[k]; k++; } } } int main(int argc, char...
20.978723
104
0.523327
amaroUC