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
55dae1a01cdd017f36227863375e21aff2332ee6
482
hpp
C++
include/Thread.hpp
Kiloris/Complot_Game
81247c6c13d7921a9cc01b765ab3a4a5924c2391
[ "MIT" ]
null
null
null
include/Thread.hpp
Kiloris/Complot_Game
81247c6c13d7921a9cc01b765ab3a4a5924c2391
[ "MIT" ]
null
null
null
include/Thread.hpp
Kiloris/Complot_Game
81247c6c13d7921a9cc01b765ab3a4a5924c2391
[ "MIT" ]
null
null
null
/* ** COMPLOT PROJECT ** AUTHOR: ** Zacharie ABIDAT */ #ifndef THREAD_HPP_ #define THREAD_HPP_ #include <pthread.h> class IThread { public: virtual ~IThread() {} virtual void run() = 0; }; class Thread : public IThread{ public: Thread(); ~Thread(); virtual void launchThread...
15.548387
44
0.60166
Kiloris
55dbc9b949953d785ad81490982842118873a7e2
1,802
hpp
C++
libraries/chain/include/blurt/chain/steem_evaluator.hpp
Blurt-Blockchain/steem
fbffd373cdb0f6192aa8806d07e8671e219c3767
[ "MIT" ]
2
2020-04-21T03:10:06.000Z
2020-04-21T05:49:46.000Z
libraries/chain/include/blurt/chain/steem_evaluator.hpp
Blurt-Blockchain/steem
fbffd373cdb0f6192aa8806d07e8671e219c3767
[ "MIT" ]
4
2020-04-22T05:14:18.000Z
2020-04-22T07:59:20.000Z
libraries/chain/include/blurt/chain/steem_evaluator.hpp
Blurt-Blockchain/steem
fbffd373cdb0f6192aa8806d07e8671e219c3767
[ "MIT" ]
2
2020-04-22T05:04:29.000Z
2020-10-23T13:58:19.000Z
#pragma once #include <blurt/protocol/blurt_operations.hpp> #include <blurt/chain/evaluator.hpp> namespace blurt { namespace chain { using namespace blurt::protocol; BLURT_DEFINE_EVALUATOR( account_create ) BLURT_DEFINE_EVALUATOR( account_update ) BLURT_DEFINE_EVALUATOR( transfer ) BLURT_DEFINE_EVALUATOR( transfer...
36.04
54
0.870144
Blurt-Blockchain
55dbcf7336d1b63c59e5a4a5caca1dca31f253f4
5,482
cpp
C++
src/low-level/syscall/syscall.cpp
LittleCodingFox/ToastOS
28475cbde3bd358460e070575e91496bf211f1d5
[ "BSD-2-Clause" ]
5
2021-12-21T19:17:00.000Z
2022-03-10T17:56:59.000Z
src/low-level/syscall/syscall.cpp
LittleCodingFox/ToastOS
28475cbde3bd358460e070575e91496bf211f1d5
[ "BSD-2-Clause" ]
null
null
null
src/low-level/syscall/syscall.cpp
LittleCodingFox/ToastOS
28475cbde3bd358460e070575e91496bf211f1d5
[ "BSD-2-Clause" ]
null
null
null
#include "syscall.hpp" #include "process/Process.hpp" #include "registers/Registers.hpp" #include "gdt/gdt.hpp" #include "debug.hpp" #include "threading/lock.hpp" typedef int64_t (*SyscallPointer)(InterruptStack *stack); int64_t KNotImplemented(InterruptStack *stack); int64_t SyscallWrite(InterruptStack *stack); int6...
42.828125
109
0.78931
LittleCodingFox
55ddbd54e78e8734201e4035a2672efa301a7b0f
4,420
cpp
C++
test/vector3d_unittest.cpp
sslnjz/geodesy
c7acc47903a22b12c0fca65fd0e7e8fea122af25
[ "MIT" ]
2
2021-11-23T05:39:48.000Z
2021-12-06T02:53:53.000Z
test/vector3d_unittest.cpp
sslnjz/geodesy
c7acc47903a22b12c0fca65fd0e7e8fea122af25
[ "MIT" ]
null
null
null
test/vector3d_unittest.cpp
sslnjz/geodesy
c7acc47903a22b12c0fca65fd0e7e8fea122af25
[ "MIT" ]
null
null
null
/********************************************************************************** * MIT License * * * * Copyright (c) 2021 Binbin Song <ssln.jzs@gmail.com> ...
58.933333
104
0.53371
sslnjz
55e7a3f929e1be27d2d46879189b9939b1b1937a
4,381
cpp
C++
Vic2ToHoI4Tests/HoI4WorldTests/Diplomacy/Hoi4WarTests.cpp
gawquon/Vic2ToHoI4
8371cfb1fd57cf81d854077963135d8037e754eb
[ "MIT" ]
25
2018-12-10T03:41:49.000Z
2021-10-04T10:42:36.000Z
Vic2ToHoI4Tests/HoI4WorldTests/Diplomacy/Hoi4WarTests.cpp
gawquon/Vic2ToHoI4
8371cfb1fd57cf81d854077963135d8037e754eb
[ "MIT" ]
739
2018-12-13T02:01:20.000Z
2022-03-28T02:57:13.000Z
Vic2ToHoI4Tests/HoI4WorldTests/Diplomacy/Hoi4WarTests.cpp
Osariusz/Vic2ToHoI4
9738b52c7602b1fe187c3820660c58a8d010d87e
[ "MIT" ]
43
2018-12-10T03:41:58.000Z
2022-03-22T23:55:41.000Z
#include "HOI4World/Diplomacy/HoI4War.h" #include "Mappers/Country/CountryMapperBuilder.h" #include "Mappers/Provinces/ProvinceMapperBuilder.h" #include "gtest/gtest.h" #include <sstream> TEST(HoI4World_Diplomacy_WarTests, allItemsDefaultToEmpty) { const HoI4::War war(Vic2::War({}), *Mappers::CountryMapper::Buil...
29.402685
104
0.681123
gawquon
55ec3815bfbac09f5c488feb8a4071b06ee75204
191
cpp
C++
src/LevelSetSeg.cpp
Bas94/SegmentationMethodsForMedicalImageAnalysis
c14514e76ca89eb6fc08374177809518d7762d64
[ "MIT" ]
1
2020-12-14T07:52:10.000Z
2020-12-14T07:52:10.000Z
src/LevelSetSeg.cpp
Bas94/SegmentationMethodsForMedicalImageAnalysis
c14514e76ca89eb6fc08374177809518d7762d64
[ "MIT" ]
10
2017-10-18T14:27:29.000Z
2017-11-29T15:18:30.000Z
src/LevelSetSeg.cpp
Bas94/SegmentationMethodsForMedicalImageAnalysis
c14514e76ca89eb6fc08374177809518d7762d64
[ "MIT" ]
null
null
null
#include "LevelSetSeg.h" #include "itkGeodesicActiveContourLevelSetImageFilter.h" #include "itkSigmoidImageFilter.h" #include "itkBinaryThresholdImageFilter.h" namespace LevelSetSeg { }
17.363636
56
0.816754
Bas94
55ee723a422e0db480a58c922697178bd51523bb
970
cpp
C++
atcoder/others/code_festival/2017/final/a.cpp
yu3mars/proconVSCodeGcc
fcf36165bb14fb6f555664355e05dd08d12e426b
[ "MIT" ]
null
null
null
atcoder/others/code_festival/2017/final/a.cpp
yu3mars/proconVSCodeGcc
fcf36165bb14fb6f555664355e05dd08d12e426b
[ "MIT" ]
null
null
null
atcoder/others/code_festival/2017/final/a.cpp
yu3mars/proconVSCodeGcc
fcf36165bb14fb6f555664355e05dd08d12e426b
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; using ll = long long; using ld = long double; using pii = pair<int, int>; #define REP(i,n) for(int i=0, i##_len=(n); i<i##_len; ++i) #define all(x) (x).begin(),(x).end() #define m0(x) memset(x,0,sizeof(x)) int dx4[4] = {1,0,-1,0}, dy4[4] = {0,1,0,-1}; int main() { s...
18.301887
58
0.380412
yu3mars
55ef18a71e9fbb2aadafc4d81253e75721ea77d6
6,460
cpp
C++
Source/Memory.cpp
EzraIII/witness-randomizer
8f3973faf182edc90c88a9e76b8bf3cf158819cf
[ "MIT" ]
null
null
null
Source/Memory.cpp
EzraIII/witness-randomizer
8f3973faf182edc90c88a9e76b8bf3cf158819cf
[ "MIT" ]
null
null
null
Source/Memory.cpp
EzraIII/witness-randomizer
8f3973faf182edc90c88a9e76b8bf3cf158819cf
[ "MIT" ]
null
null
null
#include "Memory.h" #include <psapi.h> #include <tlhelp32.h> #include <iostream> #include <string> #include <cassert> #undef PROCESSENTRY32 #undef Process32Next Memory::Memory(const std::wstring& processName) : _processName(processName) {} Memory::~Memory() { if (_threadActive) { _threadAct...
33.128205
149
0.606811
EzraIII
55f0ac2acb4d8bb638cdcbb11613c91d8837daae
328
cpp
C++
lib/qos/qos_one_handler.cpp
pmqtt/pmq
49f4b87c6c6dc5adfe7feab4ef3b2b73e0c435fb
[ "Apache-2.0" ]
2
2019-09-08T11:59:05.000Z
2019-12-04T09:29:43.000Z
lib/qos/qos_one_handler.cpp
pmqtt/pmq
49f4b87c6c6dc5adfe7feab4ef3b2b73e0c435fb
[ "Apache-2.0" ]
11
2019-06-08T20:13:58.000Z
2019-12-17T12:03:01.000Z
lib/qos/qos_one_handler.cpp
pmqtt/pmq
49f4b87c6c6dc5adfe7feab4ef3b2b73e0c435fb
[ "Apache-2.0" ]
2
2019-12-04T08:06:27.000Z
2021-06-03T21:24:40.000Z
// // Created by pmqtt on 2019-07-06. // #include <lib/mqtt/mqtt_static_package.hpp> #include "qos_one_handler.hpp" void pmq::qos_one_handler::handle(std::shared_ptr<pmq::storage> & storage,pmq::mqtt_publish *msg) { auto socket = msg->get_socket(); pmq::mqtt_puback ack(socket); ack.send(msg->get_message_i...
25.230769
99
0.704268
pmqtt
55f24d1462553c75a09cc9f8dfa2e3082db86827
596
cpp
C++
labs/3/lab2/CodeFromLab/PlanetStruct.cpp
triffon/oop-2019-20
db199631d59ddefdcc0c8eb3d689de0095618f92
[ "MIT" ]
19
2020-02-21T16:46:50.000Z
2022-01-26T19:59:49.000Z
labs/3/lab2/CodeFromLab/PlanetStruct.cpp
triffon/oop-2019-20
db199631d59ddefdcc0c8eb3d689de0095618f92
[ "MIT" ]
1
2020-03-14T08:09:45.000Z
2020-03-14T08:09:45.000Z
labs/3/lab2/CodeFromLab/PlanetStruct.cpp
triffon/oop-2019-20
db199631d59ddefdcc0c8eb3d689de0095618f92
[ "MIT" ]
11
2020-02-23T12:29:58.000Z
2021-04-11T08:30:12.000Z
#include "PlanetStruct.h" #include <string.h> #include <iostream> PlanetStruct getPlanet(const char *name, unsigned long long dist, unsigned long long diam, unsigned long long mass) { PlanetStruct result; strcpy(result.name, name); result.distan...
22.923077
42
0.525168
triffon
55f92b7b8fe7e0c134cc7035905d65c5d8cbdc73
1,158
cc
C++
lib/src/test_connection_parameters.cc
MikaelSmith/pcp-test
7f830e0dc0d7128a5db3c660503f719cf80a5345
[ "Apache-2.0" ]
null
null
null
lib/src/test_connection_parameters.cc
MikaelSmith/pcp-test
7f830e0dc0d7128a5db3c660503f719cf80a5345
[ "Apache-2.0" ]
1
2016-09-09T10:56:21.000Z
2016-09-09T13:43:24.000Z
lib/src/test_connection_parameters.cc
MikaelSmith/pcp-test
7f830e0dc0d7128a5db3c660503f719cf80a5345
[ "Apache-2.0" ]
4
2016-08-25T10:18:46.000Z
2021-03-26T11:47:21.000Z
#include <pcp-test/test_connection_parameters.hpp> namespace pcp_test{ namespace connection_test_parameters { const std::string NUM_RUNS {"num-runs"}; const std::string INTER_RUN_PAUSE_MS {"inter-run-pause-ms"}; const std::string NUM_ENDPOINTS {"num-endpoints"}; const std::string INTER_ENDPOINT_PAUSE_MS {"inter-endpo...
48.25
84
0.801382
MikaelSmith
55fb962e26ea473cdcfb19eec98b40f639cd3a49
1,223
hpp
C++
Dev/stringbuilder.hpp
Joseph-Heetel/StringCppTemplateLib_Dev
dd9a9a3e4b23f4af21c7dda1e5423c66362885bc
[ "MIT" ]
null
null
null
Dev/stringbuilder.hpp
Joseph-Heetel/StringCppTemplateLib_Dev
dd9a9a3e4b23f4af21c7dda1e5423c66362885bc
[ "MIT" ]
null
null
null
Dev/stringbuilder.hpp
Joseph-Heetel/StringCppTemplateLib_Dev
dd9a9a3e4b23f4af21c7dda1e5423c66362885bc
[ "MIT" ]
null
null
null
#pragma once #include <vector> #include "string.hpp" namespace jht { /// @brief Provides functionality to conveniently and efficiently chain strings together class StringBuilder { private: static const size_t BUFFERSIZE = 128; static const size_t SINGLETHRESHHOLD = BUFFERSIZE / 4; std::vector<String> m_Sect...
26.021277
114
0.713818
Joseph-Heetel
55fe1a21fdf4657aa0ea6064b0c3a3502809458a
9,966
hpp
C++
include/geometry/visualizeRviz.hpp
waterben/LineExtraction
d247de45417a1512a3bf5d0ffcd630d40ffb8798
[ "MIT" ]
1
2020-06-12T13:30:56.000Z
2020-06-12T13:30:56.000Z
include/geometry/visualizeRviz.hpp
waterben/LineExtraction
d247de45417a1512a3bf5d0ffcd630d40ffb8798
[ "MIT" ]
null
null
null
include/geometry/visualizeRviz.hpp
waterben/LineExtraction
d247de45417a1512a3bf5d0ffcd630d40ffb8798
[ "MIT" ]
null
null
null
#ifndef _VISUALIZE_RVIZ_HPP_ #define _VISUALIZE_RVIZ_HPP_ #ifdef __cplusplus #include <string> #include <visualization_msgs/Marker.h> #include <visualization_msgs/MarkerArray.h> namespace lsfm { template < class MyLine3Dsegment, class FT> void visualizeLinesRviz(const std::vector<MyLine3Dsegment> line3Se...
32.462541
200
0.536825
waterben
360a4e0c443d4b1e1bed41cd51426a1b6a4a762a
4,134
cpp
C++
ige/src/asset/Texture.cpp
Arcahub/ige
b9f61209c924c7b683d2429a07e76251e6eb7b1b
[ "MIT" ]
3
2021-06-05T00:36:50.000Z
2022-02-27T10:23:53.000Z
ige/src/asset/Texture.cpp
Arcahub/ige
b9f61209c924c7b683d2429a07e76251e6eb7b1b
[ "MIT" ]
11
2021-05-08T22:00:24.000Z
2021-11-11T22:33:43.000Z
ige/src/asset/Texture.cpp
Arcahub/ige
b9f61209c924c7b683d2429a07e76251e6eb7b1b
[ "MIT" ]
4
2021-05-20T12:41:23.000Z
2021-11-09T14:19:18.000Z
#include "igepch.hpp" #include "ige/asset/Texture.hpp" #define STB_IMAGE_IMPLEMENTATION #define STBI_FAILURE_USERMSG #include "stb_image.h" #include <cerrno> #include <cstddef> #include <cstring> #include <filesystem> #include <fstream> using ige::asset::Texture; Texture::Texture(Format format, std::size_t width, st...
19.971014
78
0.619981
Arcahub
361029e1cb1172698f778e4766c21af6648e6cae
4,000
cc
C++
lib/jflags_deprecated.cc
jaydee-io/jflags
2c4e6387345faf502f8048f749d0c850276ec1a7
[ "BSD-3-Clause" ]
null
null
null
lib/jflags_deprecated.cc
jaydee-io/jflags
2c4e6387345faf502f8048f749d0c850276ec1a7
[ "BSD-3-Clause" ]
null
null
null
lib/jflags_deprecated.cc
jaydee-io/jflags
2c4e6387345faf502f8048f749d0c850276ec1a7
[ "BSD-3-Clause" ]
null
null
null
//////////////////////////////////////////////////////////////////////////////// // jflags // // This file is distributed under the 3-clause Berkeley Software Distribution // License. See LICENSE.txt for details. ////////////////////////////////////////////////////////////////////////...
32.258065
98
0.612
jaydee-io
3610661d48e0e9a68747c83923327db3e5d7de84
1,031
cpp
C++
server/Server/Packets/WGRetSceneDataHandler.cpp
viticm/web-pap
7c9b1f49d9ba8d8e40f8fddae829c2e414ccfeca
[ "BSD-3-Clause" ]
3
2018-06-19T21:37:38.000Z
2021-07-31T21:51:40.000Z
server/Server/Packets/WGRetSceneDataHandler.cpp
viticm/web-pap
7c9b1f49d9ba8d8e40f8fddae829c2e414ccfeca
[ "BSD-3-Clause" ]
null
null
null
server/Server/Packets/WGRetSceneDataHandler.cpp
viticm/web-pap
7c9b1f49d9ba8d8e40f8fddae829c2e414ccfeca
[ "BSD-3-Clause" ]
13
2015-01-30T17:45:06.000Z
2022-01-06T02:29:34.000Z
#include "stdafx.h" #include "WGRetSceneData.h" #include "Log.h" #include "ServerManager.h" #include "Scene.h" #include "SceneManager.h" UINT WGRetSceneDataHandler::Execute( WGRetSceneData* pPacket, Player* pPlayer ) { __ENTER_FUNCTION if( pPlayer->IsServerPlayer() ) {//服务器收到世界服务器发来的数据 Assert( MyG...
21.93617
79
0.632396
viticm
36108101864ac34d81ba74b20544631749d40515
4,059
cpp
C++
cpp/chinesePostman/chinesePostman.cpp
indy256/codelibrary-sandbox
fd49b2de1cf578084f222a087a472f0760a4fa4d
[ "Unlicense" ]
6
2018-04-20T22:58:22.000Z
2021-03-25T13:09:57.000Z
cpp/chinesePostman/chinesePostman.cpp
indy256/codelibrary-sandbox
fd49b2de1cf578084f222a087a472f0760a4fa4d
[ "Unlicense" ]
null
null
null
cpp/chinesePostman/chinesePostman.cpp
indy256/codelibrary-sandbox
fd49b2de1cf578084f222a087a472f0760a4fa4d
[ "Unlicense" ]
2
2018-06-05T18:30:17.000Z
2018-11-14T16:56:19.000Z
#include <cmath> #include <string> #include <vector> #include <map> #include <set> #include <cstring> #include <iostream> #include <cstdio> #include <cmath> #include <algorithm> #include <utility> #include <queue> #include <functional> #include <cstdlib> #include <climits> #include <sstream> #include <c...
27.80137
91
0.476472
indy256
361562e0e8986078bfb3d2ab5006396b2e907940
279
cpp
C++
src/Z/Z119.cpp
wlhcode/lscct
7fd112a9d1851ddcf41886d3084381a52e84a3ce
[ "MIT" ]
null
null
null
src/Z/Z119.cpp
wlhcode/lscct
7fd112a9d1851ddcf41886d3084381a52e84a3ce
[ "MIT" ]
null
null
null
src/Z/Z119.cpp
wlhcode/lscct
7fd112a9d1851ddcf41886d3084381a52e84a3ce
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> #define ll long long using namespace std; int main(){ ios::sync_with_stdio(false); cin.tie(0); long double c,d,e,f,g; cin>>c>>d>>e>>f>>g; cout<<setprecision(0)<<fixed<<(0.75+0.25*(c+d+e+f+g))*(2000*c+2500*d+3000*e+3500*f+4000*g)<<endl; return 0; }
21.461538
98
0.637993
wlhcode
36182b2be400f2c21efb859ed5c4b448c3cd8acb
5,551
cpp
C++
src/utils.cpp
typcn/LeanClub
a10b8adc927e7977ac89fe09223d34d7a7a6ac33
[ "MIT" ]
263
2015-05-07T16:26:18.000Z
2022-03-14T13:34:25.000Z
src/utils.cpp
UnreliableBuilder/C-LeanClub
a10b8adc927e7977ac89fe09223d34d7a7a6ac33
[ "MIT" ]
16
2015-05-28T10:53:24.000Z
2016-01-27T08:54:30.000Z
src/utils.cpp
UnreliableBuilder/C-LeanClub
a10b8adc927e7977ac89fe09223d34d7a7a6ac33
[ "MIT" ]
61
2015-05-21T07:51:08.000Z
2022-01-28T11:52:42.000Z
// // utils.cpp // leanclub // // Created by TYPCN on 2015/5/1. // // #include "utils.h" #include "config.h" #include "restclient/restclient.h" #include "oauth/md5.h" #include "redis3m/include/redis3m/redis3m.hpp" #include <fstream> #include <boost/filesystem.hpp> #include <boost/thread/thread.hpp> #include <boos...
30.168478
163
0.615925
typcn
361c596d6d29a03461adeb08507ad930003bf0c4
2,729
hpp
C++
source/modus_core/scene/SceneTree.hpp
Gurman8r/modus
5c97a89f77c1c5733793dddc20c5ce4afe1fd134
[ "MIT" ]
null
null
null
source/modus_core/scene/SceneTree.hpp
Gurman8r/modus
5c97a89f77c1c5733793dddc20c5ce4afe1fd134
[ "MIT" ]
null
null
null
source/modus_core/scene/SceneTree.hpp
Gurman8r/modus
5c97a89f77c1c5733793dddc20c5ce4afe1fd134
[ "MIT" ]
null
null
null
#ifndef _ML_SCENE_TREE_HPP_ #define _ML_SCENE_TREE_HPP_ #include <modus_core/detail/Duration.hpp> #include <modus_core/detail/Matrix.hpp> #include <modus_core/scene/Node.hpp> #include <modus_core/system/EventSystem.hpp> #include <entt/entt.hpp> namespace ml { struct entity; struct ML_CORE_API scene_tree : non_copy...
26.495146
88
0.532063
Gurman8r
361ec44caafd0e83f64d1e20577f767f9476eeab
1,249
cxx
C++
Applications/ColadaApp/StylePlugins/qColadaStylePlugin.cxx
TierraColada/Colada
c9d7ca30bfb5ec523722b35921c1e9e6a11a7914
[ "MIT" ]
null
null
null
Applications/ColadaApp/StylePlugins/qColadaStylePlugin.cxx
TierraColada/Colada
c9d7ca30bfb5ec523722b35921c1e9e6a11a7914
[ "MIT" ]
null
null
null
Applications/ColadaApp/StylePlugins/qColadaStylePlugin.cxx
TierraColada/Colada
c9d7ca30bfb5ec523722b35921c1e9e6a11a7914
[ "MIT" ]
null
null
null
// Colada includes #include "qColadaStylePlugin.h" #include "qColadaStyle.h" #include "qColadaDarkStyle.h" #include "qColadaLightStyle.h" // Qt includes #include <QStringList> #include <QStyle> // -------------------------------------------------------------------------- // qColadaStylePlugin methods //------------...
27.755556
79
0.472378
TierraColada
36215f8da755f7b074b410a6aa1ec73d18ffeef9
1,946
cc
C++
routines/test/latms.cc
luiscarbonell/nlapack
99d17f92f8f9bada17a89f72e8cc55486d848102
[ "MIT" ]
1
2019-05-24T21:31:59.000Z
2019-05-24T21:31:59.000Z
routines/test/latms.cc
luiscarbonell/nlapack
99d17f92f8f9bada17a89f72e8cc55486d848102
[ "MIT" ]
null
null
null
routines/test/latms.cc
luiscarbonell/nlapack
99d17f92f8f9bada17a89f72e8cc55486d848102
[ "MIT" ]
null
null
null
#include "routines.h" void dlatms(const v8::FunctionCallbackInfo<v8::Value>& info) { lapack_int m = info[0]->Uint32Value(); lapack_int n = info[1]->Uint32Value(); char dist = info[2]->Uint32Value(); lapack_int *iseed = reinterpret_cast<lapack_int*>(GET_CONTENTS(info[3].As<v8::Int32Array>())); char sym = info[4]...
40.541667
116
0.690647
luiscarbonell
362923b666a155565d1ac1073f28e047f628ff76
729
cpp
C++
class/friend_2clases.cpp
AAI1234S/cpp
b0037406694712e647ad55c01f5d73764e5a54b3
[ "MIT" ]
null
null
null
class/friend_2clases.cpp
AAI1234S/cpp
b0037406694712e647ad55c01f5d73764e5a54b3
[ "MIT" ]
null
null
null
class/friend_2clases.cpp
AAI1234S/cpp
b0037406694712e647ad55c01f5d73764e5a54b3
[ "MIT" ]
null
null
null
#include<iostream> class NUM2; //class forward declaration class NUM1 { int num1; public: void add_data() { std::cout<<"Enter the num:"<<std::endl; std::cin>>num1; } private: friend void sum(NUM1 , NUM2); //friend function declration to communicate with another class }; class NUM2 { int num2; public:...
15.510638
96
0.654321
AAI1234S
3629ad56b2919990b6ddd86188e3f75626c2c7e8
659
hpp
C++
SDK/ARKSurvivalEvolved_E_EnforcerClimbingState_structs.hpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
10
2020-02-17T19:08:46.000Z
2021-07-31T11:07:19.000Z
SDK/ARKSurvivalEvolved_E_EnforcerClimbingState_structs.hpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
9
2020-02-17T18:15:41.000Z
2021-06-06T19:17:34.000Z
SDK/ARKSurvivalEvolved_E_EnforcerClimbingState_structs.hpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
3
2020-07-22T17:42:07.000Z
2021-06-19T17:16:13.000Z
#pragma once // ARKSurvivalEvolved (329.9) SDK #ifdef _MSC_VER #pragma pack(push, 0x8) #endif #include "ARKSurvivalEvolved_Basic.hpp" namespace sdk { //--------------------------------------------------------------------------- //Enums //--------------------------------------------------------------------------- ...
19.969697
77
0.611533
2bite
362a30c2e786ff27c2b5e78f710402d6ef090f93
1,437
hpp
C++
src/continuousfusion.hpp
jhultman/continuous-fusion
1df1cc1488965fd5f101d66d1ca916a430d1dfd6
[ "MIT" ]
25
2019-06-19T11:55:53.000Z
2022-02-28T07:56:38.000Z
src/continuousfusion.hpp
jhultman/continuous-fusion
1df1cc1488965fd5f101d66d1ca916a430d1dfd6
[ "MIT" ]
1
2020-11-17T06:46:26.000Z
2021-11-04T11:49:38.000Z
src/continuousfusion.hpp
jhultman/continuous-fusion
1df1cc1488965fd5f101d66d1ca916a430d1dfd6
[ "MIT" ]
4
2020-07-16T01:59:47.000Z
2022-02-28T06:41:14.000Z
#ifndef CONTINUOUSFUSION_HPP #define CONTINUOUSFUSION_HPP #include <vector> #include <sensor_msgs/Image.h> #include <pcl_ros/point_cloud.h> #include <pcl/point_types.h> #include <image_transport/image_transport.h> #include <message_filters/synchronizer.h> #include <message_filters/subscriber.h> #include <message_filte...
35.925
118
0.746695
jhultman
1566dfe1662d7236050250c509af08ad25e2522f
863
cpp
C++
QtMario_Youtube-master/Mario_Updated/notebox.cpp
Rossterrrr/Qt
3e5c2934ce19675390d2ad6d513a14964d8cbe50
[ "MIT" ]
3
2019-09-02T05:17:08.000Z
2021-01-07T11:21:34.000Z
notebox.cpp
hadimousavi79/Super_Mario
89e0656de26b561d3713c6265c8a4f8695e25d9b
[ "MIT" ]
null
null
null
notebox.cpp
hadimousavi79/Super_Mario
89e0656de26b561d3713c6265c8a4f8695e25d9b
[ "MIT" ]
null
null
null
/* * Author: equati0n * Date: December 2016 */ #include "notebox.h" #include <QPainter> NoteBox::NoteBox(int length,QGraphicsItem *parent): QGraphicsItem(parent) ,mCurrentFrame(), mLength(length) { setFlag(ItemClipsToShape); mPixmap10 = QPixmap(":images/notebox.png"); } void NoteBox::nextFrame(){ ...
19.177778
97
0.658169
Rossterrrr
15784a63fedae043b1001697730c2da316722d26
2,549
cpp
C++
include/lookup.cpp
jermp/sshash
480f1da593e4550422ce8ead6540b24485897641
[ "MIT" ]
44
2022-01-13T18:53:51.000Z
2022-03-03T12:38:16.000Z
include/lookup.cpp
jermp/sshash
480f1da593e4550422ce8ead6540b24485897641
[ "MIT" ]
2
2022-01-19T22:48:36.000Z
2022-03-10T14:32:57.000Z
include/lookup.cpp
jermp/sshash
480f1da593e4550422ce8ead6540b24485897641
[ "MIT" ]
2
2022-01-14T13:35:14.000Z
2022-03-03T12:38:19.000Z
#pragma once namespace sshash { uint64_t dictionary::lookup_uint64_regular_parsing(uint64_t uint64_kmer) const { uint64_t minimizer = util::compute_minimizer(uint64_kmer, m_k, m_m, m_seed); uint64_t bucket_id = m_minimizers.lookup(minimizer); if (m_skew_index.empty()) return m_buckets.lookup(bucket_id, u...
45.517857
98
0.717144
jermp
1578c32fefb79e85a0c5c7168be7b33053392c90
731
cpp
C++
src/YesNoAskerDialog.cpp
timre13/list-maker
ebedbfcefa626af98f746c16fd46f6dafa81d70b
[ "BSD-2-Clause" ]
null
null
null
src/YesNoAskerDialog.cpp
timre13/list-maker
ebedbfcefa626af98f746c16fd46f6dafa81d70b
[ "BSD-2-Clause" ]
null
null
null
src/YesNoAskerDialog.cpp
timre13/list-maker
ebedbfcefa626af98f746c16fd46f6dafa81d70b
[ "BSD-2-Clause" ]
null
null
null
#include "YesNoAskerDialog.h" YesNoAskerDialog::YesNoAskerDialog(const Glib::ustring &question, Gtk::ResponseType defaultButton/*=Gtk::ResponseType::RESPONSE_YES*/) : m_textLabel{std::make_unique<Gtk::Label>()} { get_vbox()->add(*m_textLabel); m_textLabel->set_text(question); add_button("Yes", Gtk::R...
31.782609
134
0.737346
timre13
157978a127f42892396c050c73c757c334608391
11,926
cpp
C++
Qt-GL-Simple-Scene-master/libgizmo/save/GizmoTransformRenderDX9.cpp
nacsa/Retopology
03c009462db3d73dbb73ea543952d421ecc1416e
[ "Apache-2.0" ]
107
2015-04-24T08:09:32.000Z
2022-02-21T16:57:18.000Z
Qt-GL-Simple-Scene-master/libgizmo/save/GizmoTransformRenderDX9.cpp
nacsa/Retopology
03c009462db3d73dbb73ea543952d421ecc1416e
[ "Apache-2.0" ]
1
2019-04-24T07:44:27.000Z
2019-05-14T09:18:53.000Z
Qt-GL-Simple-Scene-master/libgizmo/save/GizmoTransformRenderDX9.cpp
nacsa/Retopology
03c009462db3d73dbb73ea543952d421ecc1416e
[ "Apache-2.0" ]
34
2015-03-15T14:50:12.000Z
2022-01-23T07:18:05.000Z
/////////////////////////////////////////////////////////////////////////////////////////////////// // Zenith Engine // File Name : GizmoTransform.h // Creation : 12/07/2007 // Author : Cedric Guillemet // Description : // ////////////////////////////////////////////////////////////////////////////////////////////////...
34.368876
165
0.633909
nacsa
1579fe0fefe2671a307901bd63be785d42e902e0
18,664
cpp
C++
src/ui/qt5/mainwindow.cpp
chenyvehtung/Agenda
9e35c67b692bfcc9c4af31a5a4d43ba97e6f0f7a
[ "MIT" ]
3
2016-10-20T08:19:45.000Z
2017-06-18T04:34:53.000Z
src/ui/qt5/mainwindow.cpp
donydchen/Agenda
9e35c67b692bfcc9c4af31a5a4d43ba97e6f0f7a
[ "MIT" ]
null
null
null
src/ui/qt5/mainwindow.cpp
donydchen/Agenda
9e35c67b692bfcc9c4af31a5a4d43ba97e6f0f7a
[ "MIT" ]
null
null
null
#include "mainwindow.h" #include "ui_mainwindow.h" #include "loginwindow.h" #include <QMessageBox> #include <QStandardItemModel> #include <Qt> #include <QAction> #include <QIcon> using std::string; using std::list; MainWindow::MainWindow(QWidget *parent) : ui(new Ui::MainWindow), QMainWindow(parent) { ui->set...
35.686424
140
0.635502
chenyvehtung
157a2b6659db6262f316bce087c4dc65ac464e90
107
cpp
C++
SerPrunesALot/SerPrunesALot/Move.cpp
DennisSoemers/SerPrunesALot
34f0277fec58cf1f837df8f31ed14c62a945811c
[ "MIT" ]
null
null
null
SerPrunesALot/SerPrunesALot/Move.cpp
DennisSoemers/SerPrunesALot
34f0277fec58cf1f837df8f31ed14c62a945811c
[ "MIT" ]
null
null
null
SerPrunesALot/SerPrunesALot/Move.cpp
DennisSoemers/SerPrunesALot
34f0277fec58cf1f837df8f31ed14c62a945811c
[ "MIT" ]
null
null
null
#include "Move.h" Move::Move(int from, int to, bool captured) : from(from), to(to), captured(captured) {}
21.4
43
0.672897
DennisSoemers
157d5b03d796cd7fa1e41784e4274ff88acedb5b
4,954
cpp
C++
src/Sense.cpp
danielkaldheim/sense-library
25e2786618d0ed5171d283e66e4bad25a2295570
[ "MIT" ]
null
null
null
src/Sense.cpp
danielkaldheim/sense-library
25e2786618d0ed5171d283e66e4bad25a2295570
[ "MIT" ]
null
null
null
src/Sense.cpp
danielkaldheim/sense-library
25e2786618d0ed5171d283e66e4bad25a2295570
[ "MIT" ]
null
null
null
#include "Sense.h" Preferences preferences; Sense::~Sense() { // preferences.end(); } Sense::Sense() { preferences.begin(PREFERENCES_KEY, false); } bool Sense::begin(void) { preferences.begin(PREFERENCES_KEY, false); return true; } String Sense::getChipName() { uint64_t chipid = ESP.getEfuseMac...
18.69434
69
0.690553
danielkaldheim
157d5dd525cb3f4b5f98390236e2a121add34777
685
cc
C++
P9 Data Structure (tuples)/P84786.cc
miquelt9/Problemes-PRO1
1bd5214ce75129e9a027728b93ad8354ec993e41
[ "Apache-2.0" ]
2
2021-09-01T10:52:32.000Z
2021-11-09T09:19:57.000Z
P9 Data Structure (tuples)/P84786.cc
miquelt9/Problemes-PRO1
1bd5214ce75129e9a027728b93ad8354ec993e41
[ "Apache-2.0" ]
null
null
null
P9 Data Structure (tuples)/P84786.cc
miquelt9/Problemes-PRO1
1bd5214ce75129e9a027728b93ad8354ec993e41
[ "Apache-2.0" ]
1
2021-09-24T20:00:41.000Z
2021-09-24T20:00:41.000Z
#include <typeinfo> #include <iostream> #include <string> #include <cmath> using namespace std; struct Punt { double x, y; }; struct Cercle { Punt centre; double radi; }; double distancia(const Punt& a, const Punt& b){ double x = abs(a.x - b.x); double y = abs(a.y - b.y); double dist = sqrt(pow(x, 2) + ...
17.564103
50
0.620438
miquelt9
157dedc0ab16822309615dede51157455c5f3fd2
11,995
cc
C++
src/iocontrollers/pcie_controller.cc
werneazc/mcpat
fcd4d650709423f24bdad8d3cc302001e10e1f7d
[ "Intel" ]
1
2020-05-25T00:34:01.000Z
2020-05-25T00:34:01.000Z
src/iocontrollers/pcie_controller.cc
werneazc/mcpat
fcd4d650709423f24bdad8d3cc302001e10e1f7d
[ "Intel" ]
15
2020-05-24T23:33:03.000Z
2020-06-24T17:54:59.000Z
src/iocontrollers/pcie_controller.cc
werneazc/mcpat
fcd4d650709423f24bdad8d3cc302001e10e1f7d
[ "Intel" ]
2
2021-01-26T02:02:27.000Z
2021-03-07T12:24:56.000Z
/***************************************************************************** * McPAT * SOFTWARE LICENSE AGREEMENT * Copyright 2012 Hewlett-Packard Development Company, L.P. * All Rights Reserved * * Redistribution and use in...
36.681957
85
0.647853
werneazc
15819bd3a1465c23d9bef99abfece6f69e9ebb11
883
cpp
C++
src/Router/lookup_service/src/thread_safe_map.cpp
JungyeonYoon/MicroSuite
acc75468a3568bb9504841978b887a337eba889c
[ "BSD-3-Clause" ]
12
2019-03-06T13:17:50.000Z
2022-02-20T21:27:25.000Z
src/Router/lookup_service/src/thread_safe_map.cpp
DCchico/MicroSuite
b8651e0f5b74461393140135b917243a2e853f3d
[ "BSD-3-Clause" ]
null
null
null
src/Router/lookup_service/src/thread_safe_map.cpp
DCchico/MicroSuite
b8651e0f5b74461393140135b917243a2e853f3d
[ "BSD-3-Clause" ]
3
2019-06-08T01:46:55.000Z
2020-05-18T01:40:38.000Z
#include <iostream> #include <mutex> // For std::unique_lock #include <shared_mutex> #include <thread> #include <map> class ThreadSafeMap { public: ThreadSafeMap() = default; // Multiple threads/readers can read the counter's value at the same time. std::string Get(std::string key) { ...
26.757576
82
0.554926
JungyeonYoon
158acf182a8f6192a76ac708da7f2064ff8e228b
922
cpp
C++
emulator/ibusdevice.cpp
vcato/qt-quick-6502-emulator
6202e546efddc612f229da078238f829dd756e12
[ "Unlicense" ]
null
null
null
emulator/ibusdevice.cpp
vcato/qt-quick-6502-emulator
6202e546efddc612f229da078238f829dd756e12
[ "Unlicense" ]
3
2019-09-14T02:46:26.000Z
2020-12-22T01:07:08.000Z
emulator/ibusdevice.cpp
vcato/qt-quick-6502-emulator
6202e546efddc612f229da078238f829dd756e12
[ "Unlicense" ]
null
null
null
#include "ibusdevice.hpp" IBusDevice::IBusDevice(uint16_t lower_address, uint16_t upper_address, bool writable, bool readable, QObject *parent) : QObject(parent), _lower_address_range(lower_address), ...
23.641026
82
0.646421
vcato
159be018d59e57473754590ad73ca61354607c8f
188
cpp
C++
281A_22.cpp
tihorygit/codeforces
0b60531dd3faa3e4fccf95847457ef823f803d1b
[ "Unlicense" ]
null
null
null
281A_22.cpp
tihorygit/codeforces
0b60531dd3faa3e4fccf95847457ef823f803d1b
[ "Unlicense" ]
null
null
null
281A_22.cpp
tihorygit/codeforces
0b60531dd3faa3e4fccf95847457ef823f803d1b
[ "Unlicense" ]
null
null
null
#include <iostream> using namespace std; int main() { string s; cin >> s; if(s[0]>='a' && s[0]<='z') s[0]=(char)(s[0]-'a'+'A'); cout << s << endl; return 0; }
14.461538
34
0.446809
tihorygit
159cc110d8281cdbb00f79d34d0b09b95ba3c8e0
7,080
hpp
C++
general_decimal_arithmetic/libgdatest/test_file.hpp
GaryHughes/stddecimal
ebec00e6cdad29a978ee5b0d4998e8b484d8dce1
[ "MIT" ]
5
2020-08-08T07:01:00.000Z
2022-03-05T02:45:05.000Z
general_decimal_arithmetic/libgdatest/test_file.hpp
GaryHughes/stddecimal
ebec00e6cdad29a978ee5b0d4998e8b484d8dce1
[ "MIT" ]
6
2020-06-28T02:22:07.000Z
2021-04-01T20:14:29.000Z
general_decimal_arithmetic/libgdatest/test_file.hpp
GaryHughes/stddecimal
ebec00e6cdad29a978ee5b0d4998e8b484d8dce1
[ "MIT" ]
1
2021-02-05T08:59:49.000Z
2021-02-05T08:59:49.000Z
#ifndef stddecimal_general_decimal_arithmetic_test_runner_test_file_hpp #define stddecimal_general_decimal_arithmetic_test_runner_test_file_hpp #include <string> #include <vector> #include <fstream> #include "test_context.hpp" #include "test_line.hpp" #include "test_results.hpp" #include "tests.hpp" #include <iostream...
30.649351
129
0.491667
GaryHughes
159e64a6a9f23aa921f7ae181010b6a6f2b64219
2,025
hpp
C++
src/ngraph/frontend/onnx_import/core/model.hpp
srinivasputta/ngraph
7506133fff4a8e5c25914a8370a567c4da5b53be
[ "Apache-2.0" ]
null
null
null
src/ngraph/frontend/onnx_import/core/model.hpp
srinivasputta/ngraph
7506133fff4a8e5c25914a8370a567c4da5b53be
[ "Apache-2.0" ]
null
null
null
src/ngraph/frontend/onnx_import/core/model.hpp
srinivasputta/ngraph
7506133fff4a8e5c25914a8370a567c4da5b53be
[ "Apache-2.0" ]
null
null
null
//***************************************************************************** // Copyright 2017-2018 Intel Corporation // // 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://w...
33.196721
99
0.568395
srinivasputta
159ee5cbf8ba53e95889d129e7d791cb43500182
1,514
cpp
C++
examples/miscellaneous/zelikovsky_11_per_6_example.cpp
Kommeren/AA
e537b58d50e93d4a72709821b9ea413008970c6b
[ "BSL-1.0" ]
null
null
null
examples/miscellaneous/zelikovsky_11_per_6_example.cpp
Kommeren/AA
e537b58d50e93d4a72709821b9ea413008970c6b
[ "BSL-1.0" ]
null
null
null
examples/miscellaneous/zelikovsky_11_per_6_example.cpp
Kommeren/AA
e537b58d50e93d4a72709821b9ea413008970c6b
[ "BSL-1.0" ]
1
2021-02-24T06:23:56.000Z
2021-02-24T06:23:56.000Z
//======================================================================= // Copyright (c) // // 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) //====================================================================...
31.541667
77
0.616248
Kommeren
15a74f451822d2b1bdc3817204c5eae613421d84
18,956
cc
C++
CMC040/cmcfun/outp_line.cc
khandy21yo/aplus
3b4024a2a8315f5dcc78479a24100efa3c4a6504
[ "MIT" ]
1
2018-10-17T08:53:17.000Z
2018-10-17T08:53:17.000Z
CMC040/cmcfun/outp_line.cc
khandy21yo/aplus
3b4024a2a8315f5dcc78479a24100efa3c4a6504
[ "MIT" ]
null
null
null
CMC040/cmcfun/outp_line.cc
khandy21yo/aplus
3b4024a2a8315f5dcc78479a24100efa3c4a6504
[ "MIT" ]
null
null
null
//! \file //! \brief Handle Paging on Reports // %SBTTL "OUTP_LINE" // %IDENT "V3.6a Calico" // // Source: ../../CMC030/cmcfun/source/outp_line.bas // Translated from Basic to C++ using btran // on Wednesday, December 20, 2017 at 17:16:51 // #include <iostream> #include <cstdlib> #include <cstring> #include <unistd.h...
24.811518
175
0.605982
khandy21yo
15c08ce7c071ba50f4fa54b97c35a5e00807fa14
2,423
cpp
C++
src/umpire/util/Backtrace.cpp
bmhan12/Umpire
de82bcd066f153958aff2f68091cac2125d9c5bc
[ "MIT-0", "MIT" ]
null
null
null
src/umpire/util/Backtrace.cpp
bmhan12/Umpire
de82bcd066f153958aff2f68091cac2125d9c5bc
[ "MIT-0", "MIT" ]
null
null
null
src/umpire/util/Backtrace.cpp
bmhan12/Umpire
de82bcd066f153958aff2f68091cac2125d9c5bc
[ "MIT-0", "MIT" ]
null
null
null
////////////////////////////////////////////////////////////////////////////// // Copyright (c) 2016-20, Lawrence Livermore National Security, LLC and Umpire // project contributors. See the COPYRIGHT file for details. // // SPDX-License-Identifier: (MIT) ////////////////////////////////////////////////////////////////...
28.505882
110
0.606686
bmhan12
15c264868451a5d330f1bb6c9f8feb459bcce78f
2,823
cpp
C++
QtPredict/PredictKeyHandleUI.cpp
Kay01010101/PredictVersion
adde9de5dd39b2f22e103f3294d1beab4f327d62
[ "MIT" ]
null
null
null
QtPredict/PredictKeyHandleUI.cpp
Kay01010101/PredictVersion
adde9de5dd39b2f22e103f3294d1beab4f327d62
[ "MIT" ]
null
null
null
QtPredict/PredictKeyHandleUI.cpp
Kay01010101/PredictVersion
adde9de5dd39b2f22e103f3294d1beab4f327d62
[ "MIT" ]
null
null
null
/* Time : 2016/06/13 Author: Kay Yang (1025115216@qq.com) */ #ifndef CONSOLE #include "PredictKeyHandleUI.h" #include "PredictGeneratorKey.h" #include "PredictMainWindow.h" #include "QDebug" #include "PredictCheck.h" TextEditorThread::TextEditorThread() : mStopped(false) { } TextEditorThread::~TextEditorThread() { ...
20.911111
124
0.72051
Kay01010101
15c8014894e74be47912df906b2ec46574c05460
969
cpp
C++
lib/libCFG/src/EventManager.cpp
cyber-itl/citl-static-analysis
32ef8e519dac1c6a49ff41d902a62df8f5a8e948
[ "MIT" ]
14
2021-05-03T16:03:22.000Z
2022-02-14T23:42:39.000Z
lib/libCFG/src/EventManager.cpp
cyber-itl/citl-static-analysis
32ef8e519dac1c6a49ff41d902a62df8f5a8e948
[ "MIT" ]
1
2021-09-27T12:01:33.000Z
2021-09-27T12:01:33.000Z
lib/libCFG/src/EventManager.cpp
cyber-itl/citl-static-analysis
32ef8e519dac1c6a49ff41d902a62df8f5a8e948
[ "MIT" ]
null
null
null
#include <vector> #include <memory> #include "capstone/capstone.h" #include "glog/logging.h" #include "EventManager.hpp" class CpuState; struct Block; struct Symbol; void EventManager::register_event(std::unique_ptr<AnalyzerEvent> event) { m_events.push_back(std::move(event)); } void EventManager::run_events(e...
25.5
111
0.661507
cyber-itl
15c86cc428860a4cb7b800b221c2f84e7ff73eb2
329
cpp
C++
Ejercicios/Ejercicio2-mensaje/mensajes.cpp
Maldanar201/LenguajeProgramacion1
5a53c51077c0e41deff8daf40dbe6f0778b41f9c
[ "MIT" ]
null
null
null
Ejercicios/Ejercicio2-mensaje/mensajes.cpp
Maldanar201/LenguajeProgramacion1
5a53c51077c0e41deff8daf40dbe6f0778b41f9c
[ "MIT" ]
null
null
null
Ejercicios/Ejercicio2-mensaje/mensajes.cpp
Maldanar201/LenguajeProgramacion1
5a53c51077c0e41deff8daf40dbe6f0778b41f9c
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int main(int argc, char const *argv[]) { string nombre; cout << " ingrese su nombre: "; cin >> nombre; cout <<"\n Hola mi nombre es " << nombre <<endl; cout << " Hola "<<nombre<<" Bienvenido a la Clase de Lenguaje de Programacion I "<< endl; ret...
19.352941
93
0.595745
Maldanar201
15ccd0fc98b06c5e61c55537bbc9f61e1f002480
68,063
cpp
C++
modules/tracktion_engine/3rd_party/airwindows/Monitoring/MonitoringProc.cpp
jbloit/tracktion_engine
b3fa7d6a3a404f64ae419abdf9c801d672cffb16
[ "MIT", "Unlicense" ]
734
2018-11-16T09:39:40.000Z
2022-03-30T16:56:14.000Z
modules/tracktion_engine/3rd_party/airwindows/Monitoring/MonitoringProc.cpp
jbloit/tracktion_engine
b3fa7d6a3a404f64ae419abdf9c801d672cffb16
[ "MIT", "Unlicense" ]
100
2018-11-16T18:04:08.000Z
2022-03-31T17:47:53.000Z
modules/tracktion_engine/3rd_party/airwindows/Monitoring/MonitoringProc.cpp
jbloit/tracktion_engine
b3fa7d6a3a404f64ae419abdf9c801d672cffb16
[ "MIT", "Unlicense" ]
123
2018-11-16T15:51:50.000Z
2022-03-29T12:21:27.000Z
/* ======================================== * Monitoring - Monitoring.h * Copyright (c) 2016 airwindows, All rights reserved * ======================================== */ #ifndef __Monitoring_H #include "Monitoring.h" #endif void Monitoring::processReplacing(float **inputs, float **outputs, VstInt32 sampleFrames...
65.256951
140
0.569516
jbloit
15d676c6180ce90376b5d3c6186a56672ded86c5
2,928
hpp
C++
filterbuf.hpp
hmito/hmLib
0f2515ba9c99c06d02e2fa633eeae73bcd793983
[ "MIT" ]
null
null
null
filterbuf.hpp
hmito/hmLib
0f2515ba9c99c06d02e2fa633eeae73bcd793983
[ "MIT" ]
null
null
null
filterbuf.hpp
hmito/hmLib
0f2515ba9c99c06d02e2fa633eeae73bcd793983
[ "MIT" ]
1
2015-09-22T03:32:11.000Z
2015-09-22T03:32:11.000Z
#ifndef HMLIB_FILTERBUF_INC #define HMLIB_FILTERBUF_INC 102 # /*===filterbuf=== filterbuf_v1_02/130101 hmIto iostreamに対応 */ #include<streambuf> #include<iostream> namespace hmLib{ template<class _Elem,class _Traits=std::char_traits<_Elem>> class basic_filterbuf{ protected: typedef std::basic_istream<_Elem,_Trait...
24.198347
64
0.682377
hmito
15db7a855b9baf11ffae5ba8058a1179edf08491
143
cpp
C++
hello-world/hello_world.cpp
akilram/exercism-cpp-answers
88d1247beb6ad003640efd5af87a05ad1a0d3a88
[ "MIT" ]
null
null
null
hello-world/hello_world.cpp
akilram/exercism-cpp-answers
88d1247beb6ad003640efd5af87a05ad1a0d3a88
[ "MIT" ]
null
null
null
hello-world/hello_world.cpp
akilram/exercism-cpp-answers
88d1247beb6ad003640efd5af87a05ad1a0d3a88
[ "MIT" ]
null
null
null
#include "hello_world.h" using namespace std; namespace hello_world { string hello() { return string("Hello, World!"); } }
11
34
0.622378
akilram
15e88fd4d0070e0407162c0b14b44d71cf3ce069
6,917
cpp
C++
build/moc/moc_CameraSpec.cpp
UNIST-ESCL/UNIST_GCS
f61f0c12bbb028869e4494f507ea8ab52c8c79c2
[ "Apache-2.0" ]
1
2018-11-07T06:10:53.000Z
2018-11-07T06:10:53.000Z
build/moc/moc_CameraSpec.cpp
UNIST-ESCL/UNIST_GCS
f61f0c12bbb028869e4494f507ea8ab52c8c79c2
[ "Apache-2.0" ]
null
null
null
build/moc/moc_CameraSpec.cpp
UNIST-ESCL/UNIST_GCS
f61f0c12bbb028869e4494f507ea8ab52c8c79c2
[ "Apache-2.0" ]
1
2018-11-07T06:10:47.000Z
2018-11-07T06:10:47.000Z
/**************************************************************************** ** Meta object code from reading C++ file 'CameraSpec.h' ** ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.9.3) ** ** WARNING! All changes made in this file will be lost! **********************************************************...
33.741463
97
0.609802
UNIST-ESCL
15ebccd1e10788efac79dca03c3613f9be828fd4
6,866
cpp
C++
FPSLighting/Dependencies/DIRECTX/Samples/C++/Misc/DxDiagOutput/DxDiagOutput.cpp
billionare/FPSLighting
c7d646f51cf4dee360dcc7c8e2fd2821b421b418
[ "MIT" ]
null
null
null
FPSLighting/Dependencies/DIRECTX/Samples/C++/Misc/DxDiagOutput/DxDiagOutput.cpp
billionare/FPSLighting
c7d646f51cf4dee360dcc7c8e2fd2821b421b418
[ "MIT" ]
null
null
null
FPSLighting/Dependencies/DIRECTX/Samples/C++/Misc/DxDiagOutput/DxDiagOutput.cpp
billionare/FPSLighting
c7d646f51cf4dee360dcc7c8e2fd2821b421b418
[ "MIT" ]
null
null
null
//---------------------------------------------------------------------------- // File: DxDiagOutput.cpp // // Desc: Sample app to read info from dxdiagn.dll by enumeration // // Copyright (c) Microsoft Corp. All rights reserved. //----------------------------------------------------------------------------- #define IN...
35.760417
105
0.498689
billionare
15f216ea7dba8896a70c427afb4ac7620c65a7f2
2,491
hpp
C++
include/codegen/include/Valve/VR/IVRExtendedDisplay__GetEyeOutputViewport.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
1
2021-11-12T09:29:31.000Z
2021-11-12T09:29:31.000Z
include/codegen/include/Valve/VR/IVRExtendedDisplay__GetEyeOutputViewport.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
null
null
null
include/codegen/include/Valve/VR/IVRExtendedDisplay__GetEyeOutputViewport.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
2
2021-10-03T02:14:20.000Z
2021-11-12T09:29:36.000Z
// Autogenerated from CppHeaderCreator on 7/27/2020 3:10:12 PM // Created by Sc2ad // ========================================================================= #pragma once #pragma pack(push, 8) // Begin includes #include "utils/typedefs.h" // Including type: System.MulticastDelegate #include "System/MulticastDelegate....
49.82
205
0.741871
Futuremappermydud
15f99663419b68e51365c7952c1b5cbce2603ae7
2,846
cpp
C++
jetson/carControl/src/0.3/peripheral_driver/uart/test_uart1.cpp
thanhwins/DriveCarLessChallenge
716304f3e25b383781ade5f1560ef0d538fc634e
[ "MIT" ]
1
2017-12-19T15:53:55.000Z
2017-12-19T15:53:55.000Z
jetson/carControl/src/0.3/peripheral_driver/uart/test_uart1.cpp
thanhwins/DriveCarLessChallenge
716304f3e25b383781ade5f1560ef0d538fc634e
[ "MIT" ]
null
null
null
jetson/carControl/src/0.3/peripheral_driver/uart/test_uart1.cpp
thanhwins/DriveCarLessChallenge
716304f3e25b383781ade5f1560ef0d538fc634e
[ "MIT" ]
1
2019-11-27T03:01:55.000Z
2019-11-27T03:01:55.000Z
#include <string.h> #include <stdlib.h> #include <stdio.h> #include <unistd.h> #include <fcntl.h> #include <termios.h> int main(int argc,char** argv) { struct termios tio; struct termios stdio; struct termios old_stdio; int tty_fd; unsigned char c='D'; tcgetattr(STDOUT_...
26.110092
90
0.457484
thanhwins
15fa858fc057c4c095ab3813186fba42856993a2
824
cpp
C++
libs/filesystem/src/filesystem/file_size.cpp
pmiddend/fcppt
9f437acbb10258e6df6982a550213a05815eb2be
[ "BSL-1.0" ]
null
null
null
libs/filesystem/src/filesystem/file_size.cpp
pmiddend/fcppt
9f437acbb10258e6df6982a550213a05815eb2be
[ "BSL-1.0" ]
null
null
null
libs/filesystem/src/filesystem/file_size.cpp
pmiddend/fcppt
9f437acbb10258e6df6982a550213a05815eb2be
[ "BSL-1.0" ]
null
null
null
// Copyright Carl Philipp Reh 2009 - 2018. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) #include <fcppt/const.hpp> #include <fcppt/filesystem/file_size.hpp> #include <fcppt/filesystem/op...
19.619048
61
0.686893
pmiddend
15fead12ef5fd9b20de544e14e9babeb934ae2ad
866
hpp
C++
Web-Server/include/Server.hpp
marmal95/Web-Server
6f1fc5fe75d7ca516697a93149880a9c67933a2c
[ "MIT" ]
null
null
null
Web-Server/include/Server.hpp
marmal95/Web-Server
6f1fc5fe75d7ca516697a93149880a9c67933a2c
[ "MIT" ]
null
null
null
Web-Server/include/Server.hpp
marmal95/Web-Server
6f1fc5fe75d7ca516697a93149880a9c67933a2c
[ "MIT" ]
null
null
null
#pragma once #include "IServer.hpp" #include "RequestHandler.hpp" #include "ConnectionManager.hpp" #include "ResponseBuilder.hpp" #include "RequestParser.hpp" #include <string> #include <boost/asio/io_service.hpp> #include <boost/asio/ip/tcp.hpp> namespace web { using namespace boost::asio; using namespace boost::...
20.619048
77
0.748268
marmal95
c6008a802c6d22a4acb6acef6e2bf8db635ca5dc
400
cpp
C++
sum_values.cpp
lionkor/cpp-examples
6458ab8b1ae383215e4a2148e427bccbf7e27e41
[ "MIT" ]
null
null
null
sum_values.cpp
lionkor/cpp-examples
6458ab8b1ae383215e4a2148e427bccbf7e27e41
[ "MIT" ]
null
null
null
sum_values.cpp
lionkor/cpp-examples
6458ab8b1ae383215e4a2148e427bccbf7e27e41
[ "MIT" ]
null
null
null
#include <iostream> int main() { int numbers[10]; for (int i = 0; i < 10; ++i) { // i + 1 so that it's 1-10 instead of 0-9 std::cout << "Enter number (" << i + 1 << "/10): "; std::cin >> numbers[i]; } // now sum them up int sum = 0; for (int i = 0; i < 10; ++i) { ...
23.529412
59
0.435
lionkor
c6078ef854ae11e3009b24840b26c3d4d4277f1c
1,542
cpp
C++
Pener SDK/FEATURES/Fakewalk.cpp
younasiqw/Thulium-Beta
968591340449e65824458142a40c1f35ce17f3ac
[ "Apache-2.0" ]
null
null
null
Pener SDK/FEATURES/Fakewalk.cpp
younasiqw/Thulium-Beta
968591340449e65824458142a40c1f35ce17f3ac
[ "Apache-2.0" ]
null
null
null
Pener SDK/FEATURES/Fakewalk.cpp
younasiqw/Thulium-Beta
968591340449e65824458142a40c1f35ce17f3ac
[ "Apache-2.0" ]
1
2019-04-02T17:36:55.000Z
2019-04-02T17:36:55.000Z
#include "../includes.h" #include "../UTILS/interfaces.h" #include "../SDK/IEngine.h" #include "../SDK/CUserCmd.h" #include "../SDK/CBaseEntity.h" #include "../SDK/CClientEntityList.h" #include "../SDK/CTrace.h" #include "../SDK/CBaseWeapon.h" #include "../SDK/CGlobalVars.h" #include "../SDK/NetChannel.h" #include "../...
30.84
123
0.681582
younasiqw
c60aa953d8aabd149415ea1f7cbea98518ee6427
241
hpp
C++
src/game_window_opt_opengl.hpp
bggd/game_window
da9474472dd4988f4926fa2b50734b0ffa3b10af
[ "MIT" ]
null
null
null
src/game_window_opt_opengl.hpp
bggd/game_window
da9474472dd4988f4926fa2b50734b0ffa3b10af
[ "MIT" ]
null
null
null
src/game_window_opt_opengl.hpp
bggd/game_window
da9474472dd4988f4926fa2b50734b0ffa3b10af
[ "MIT" ]
null
null
null
namespace gwin { struct GameWindowOptionOpenGL { bool fullscreen; bool resizable; bool set_pos; int32_t x, y; uint32_t w, h; bool gles; uint8_t major; uint8_t minor; bool debug_ctx; bool vsync; }; } // namespace gwin
12.684211
31
0.684647
bggd
c60b0bcfdfdd3c00b24091dd02708ea8a1ba4d7c
2,410
hpp
C++
raygun/ui/text.hpp
maggo007/Raygun
f6be537c835976a9d6cc356ebe187feba6592847
[ "MIT" ]
null
null
null
raygun/ui/text.hpp
maggo007/Raygun
f6be537c835976a9d6cc356ebe187feba6592847
[ "MIT" ]
null
null
null
raygun/ui/text.hpp
maggo007/Raygun
f6be537c835976a9d6cc356ebe187feba6592847
[ "MIT" ]
null
null
null
// The MIT License (MIT) // // Copyright (c) 2019,2020 The Raygun 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 // right...
33.943662
139
0.729461
maggo007
c60f924d37abe13cbd69c6b69256a0274790d738
944
cc
C++
greedy/fractional_knapsack.cc
knguyenc/algorithms
4f61d692c986f6200eb1a52de022366a172aaa6f
[ "MIT" ]
null
null
null
greedy/fractional_knapsack.cc
knguyenc/algorithms
4f61d692c986f6200eb1a52de022366a172aaa6f
[ "MIT" ]
null
null
null
greedy/fractional_knapsack.cc
knguyenc/algorithms
4f61d692c986f6200eb1a52de022366a172aaa6f
[ "MIT" ]
null
null
null
#include "fractional_knapsack.h" #include <algorithm> namespace algorithm { namespace greedy { bool FractionalKnapsackItemComparator( const std::tuple<unsigned int, unsigned int> a, const std::tuple<unsigned int, unsigned int> b) { return (std::get<1>(a) / std::get<0>(a)) > (std::get<1>(b) / std::get<0>(b)...
26.222222
79
0.629237
knguyenc
c6116c08f89617369f47b91304b38eb94548fe56
1,021
cpp
C++
src/Engine/Material/GGX.cpp
trygas/CGHomework
2dfff76f407b8a7ba87c5ba9d12a4428708ffbbe
[ "MIT" ]
594
2019-02-19T01:09:27.000Z
2022-03-31T07:47:11.000Z
src/Engine/Material/GGX.cpp
Ricahrd-Li/ASAP_ARAP_Parameterization
c12d83605ce9ea9cac29efbd991d21e2b363e375
[ "MIT" ]
12
2020-02-19T07:11:14.000Z
2021-08-07T06:41:27.000Z
src/Engine/Material/GGX.cpp
Ricahrd-Li/ASAP_ARAP_Parameterization
c12d83605ce9ea9cac29efbd991d21e2b363e375
[ "MIT" ]
249
2020-02-01T08:14:36.000Z
2022-03-30T14:52:58.000Z
#include <Engine/Material/GGX.h> #include <Engine/Material/SurfCoord.h> using namespace Ubpa; float GGX::D(const normalf & wh) const { if (SurfCoord::CosTheta(wh) < 0) return 0.f; float alpha2 = alpha * alpha; float cos2Theta = SurfCoord::Cos2Theta(wh); float t = (alpha2 - 1) * cos2Theta + 1; return alpha...
23.204545
70
0.666993
trygas
c615c427ac9dc4d4f6623732fccd9c00da134b8d
3,580
cpp
C++
examples/primitives/shuffle.cpp
JackAKirk/oneDNN
432c3f0c1c265a0fa96aa46c256d150ea670eb5a
[ "Apache-2.0" ]
1,327
2018-01-25T21:23:47.000Z
2020-04-03T09:39:30.000Z
examples/primitives/shuffle.cpp
JackAKirk/oneDNN
432c3f0c1c265a0fa96aa46c256d150ea670eb5a
[ "Apache-2.0" ]
583
2020-04-04T02:37:25.000Z
2022-03-31T00:12:03.000Z
examples/primitives/shuffle.cpp
JackAKirk/oneDNN
432c3f0c1c265a0fa96aa46c256d150ea670eb5a
[ "Apache-2.0" ]
365
2018-01-29T16:12:36.000Z
2020-04-03T08:32:27.000Z
/******************************************************************************* * Copyright 2020 Intel Corporation * * 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.o...
30.862069
80
0.659218
JackAKirk
c616ac7c50c630e1ec3184bb0247c6e7e6ee704e
768
cpp
C++
engine/calculators/source/unit_tests/TertiaryUnarmedCalculator_test.cpp
sidav/shadow-of-the-wyrm
747afdeebed885b1a4f7ab42f04f9f756afd3e52
[ "MIT" ]
1
2020-05-24T22:44:03.000Z
2020-05-24T22:44:03.000Z
engine/calculators/source/unit_tests/TertiaryUnarmedCalculator_test.cpp
cleancoindev/shadow-of-the-wyrm
51b23e98285ecb8336324bfd41ebf00f67b30389
[ "MIT" ]
null
null
null
engine/calculators/source/unit_tests/TertiaryUnarmedCalculator_test.cpp
cleancoindev/shadow-of-the-wyrm
51b23e98285ecb8336324bfd41ebf00f67b30389
[ "MIT" ]
null
null
null
#include "gtest/gtest.h" TEST(SW_Engine_Calculators_TertiaryUnarmedCalculator, calculate_knock_back_pct_chance) { CreaturePtr creature; TertiaryUnarmedCalculator tuc; EXPECT_EQ(0, tuc.calculate_knock_back_pct_chance(creature)); creature = CreaturePtr(new Creature()); Statistic str(1); creature->set_stren...
24.774194
86
0.78776
sidav
723fb724e670b01b7142fb4ae0730ced229aa59a
343
cpp
C++
Exec/AMR-zoom/Nyx_error.cpp
Gosenca/axionyx_1.0
7e2a723e00e6287717d6d81b23db32bcf6c3521a
[ "BSD-3-Clause-LBNL" ]
6
2021-02-18T09:13:17.000Z
2022-03-22T21:27:46.000Z
Exec/AMR-zoom/Nyx_error.cpp
Gosenca/axionyx_1.0
7e2a723e00e6287717d6d81b23db32bcf6c3521a
[ "BSD-3-Clause-LBNL" ]
1
2020-10-12T08:54:31.000Z
2020-10-12T08:54:31.000Z
Exec/AMR-zoom/Nyx_error.cpp
Gosenca/axionyx_1.0
7e2a723e00e6287717d6d81b23db32bcf6c3521a
[ "BSD-3-Clause-LBNL" ]
3
2020-09-04T10:26:25.000Z
2022-03-14T23:51:51.000Z
#include "Nyx.H" #include "Nyx_error_F.H" using namespace amrex; void Nyx::error_setup() { err_list.add("total_density",1,ErrorRec::UseAverage, BL_FORT_PROC_CALL(TAG_OVERDENSITY, tag_overdensity)); } void Nyx::manual_tags_placement (TagBoxArray& tags, const Vector...
18.052632
70
0.653061
Gosenca
7244c846c394c7c8464423375111a5a45874fa10
4,229
cpp
C++
src/goto-symex/slice.cpp
shmarovfedor/esbmc
3226a3d68b009d44b9535a993ac0f25e1a1fbedd
[ "BSD-3-Clause" ]
143
2015-06-22T12:30:01.000Z
2022-03-21T08:41:17.000Z
src/goto-symex/slice.cpp
shmarovfedor/esbmc
3226a3d68b009d44b9535a993ac0f25e1a1fbedd
[ "BSD-3-Clause" ]
542
2017-06-02T13:46:26.000Z
2022-03-31T16:35:17.000Z
src/goto-symex/slice.cpp
shmarovfedor/esbmc
3226a3d68b009d44b9535a993ac0f25e1a1fbedd
[ "BSD-3-Clause" ]
81
2015-10-21T22:21:59.000Z
2022-03-24T14:07:55.000Z
/*******************************************************************\ Module: Slicer for symex traces Author: Daniel Kroening, kroening@kroening.com \*******************************************************************/ #include <goto-symex/slice.h> symex_slicet::symex_slicet(bool assume) : ignored(0), slice_...
23.364641
80
0.659021
shmarovfedor
7245d5fa565d541d564a68836ad54cd451038cde
3,556
cpp
C++
Example/Pods/librlottie/rlottie/src/vector/vdrawable.cpp
dotlottie/dotlottieR-ios
0531aaa427c969f5d89fea79f2dc6294414ba379
[ "MIT" ]
null
null
null
Example/Pods/librlottie/rlottie/src/vector/vdrawable.cpp
dotlottie/dotlottieR-ios
0531aaa427c969f5d89fea79f2dc6294414ba379
[ "MIT" ]
null
null
null
Example/Pods/librlottie/rlottie/src/vector/vdrawable.cpp
dotlottie/dotlottieR-ios
0531aaa427c969f5d89fea79f2dc6294414ba379
[ "MIT" ]
null
null
null
/* * Copyright (c) 2018 Samsung Electronics Co., Ltd. All rights reserved. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option)...
28
88
0.622328
dotlottie
7245e0d24c7d374058be5a7a3c5aa28bdb7ab7a9
3,667
hpp
C++
CmnIP/module/transform/inc/transform/color_normalization.hpp
Khoronus/CmnUniverse
9cf9b4297f2fcb49330126aa1047b422144045e1
[ "MIT" ]
null
null
null
CmnIP/module/transform/inc/transform/color_normalization.hpp
Khoronus/CmnUniverse
9cf9b4297f2fcb49330126aa1047b422144045e1
[ "MIT" ]
null
null
null
CmnIP/module/transform/inc/transform/color_normalization.hpp
Khoronus/CmnUniverse
9cf9b4297f2fcb49330126aa1047b422144045e1
[ "MIT" ]
null
null
null
/* @file color_normalization.hpp * @brief Class to perform the color normalization of a source of data. * * @section LICENSE * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE * IMPLIED WARRANTIES OF MERCHANT...
29.336
93
0.620125
Khoronus
724c28ac4ffde7a6f6317182b5ba921c15074c2f
524
cpp
C++
GraphicsScene/Camera.cpp
Melody6149/Graphics-for-games-tutorial
8ad1ed15ab774c0bd93e87f5c937f1597d55509e
[ "MIT" ]
null
null
null
GraphicsScene/Camera.cpp
Melody6149/Graphics-for-games-tutorial
8ad1ed15ab774c0bd93e87f5c937f1597d55509e
[ "MIT" ]
null
null
null
GraphicsScene/Camera.cpp
Melody6149/Graphics-for-games-tutorial
8ad1ed15ab774c0bd93e87f5c937f1597d55509e
[ "MIT" ]
null
null
null
#include "Camera.h" #include <glm/ext.hpp> glm::mat4 Camera::getViewMatrix() { float yawRadians = glm::radians(m_yaw); float pitchRadians = glm::radians(m_pitch); glm::vec3 forward( cos(pitchRadians) * cos(yawRadians), sin(pitchRadians), cos(pitchRadians) * sin(yawRadians)); return glm::lookAt(m_position, m...
26.2
83
0.70229
Melody6149
724f398fa14240dc814292ba0df5538bc14020f5
638
cpp
C++
Week_3/02 Programming Assignment/Example.cpp
Animart/basics-of-c-plus-plus-development-white-belt
9ad0aec57a54e505955ad4a93a0636903ba92822
[ "Unlicense" ]
1
2018-11-22T17:33:45.000Z
2018-11-22T17:33:45.000Z
Week_3/02 Programming Assignment/Example.cpp
Animart/basics-of-c-plus-plus-development-white-belt
9ad0aec57a54e505955ad4a93a0636903ba92822
[ "Unlicense" ]
null
null
null
Week_3/02 Programming Assignment/Example.cpp
Animart/basics-of-c-plus-plus-development-white-belt
9ad0aec57a54e505955ad4a93a0636903ba92822
[ "Unlicense" ]
1
2021-03-09T05:26:37.000Z
2021-03-09T05:26:37.000Z
#include <algorithm> #include <iostream> #include <string> #include <vector> using namespace std; void PrintVector(const vector<string>& v) { for (const auto i : v) { cout << i << " "; } } string Transform(string& s) { string temp = ""; for (int i = 0; i < s.size(); ++i) { temp ...
13.869565
42
0.518809
Animart
7251e9c9b6bde9f5987953ad532a5bbd4bdb7e1e
77,592
cpp
C++
sdk/cpp/core/src/network_topology.cpp
YDK-Solutions/ydk
7ab961284cdc82de8828e53fa4870d3204d7730e
[ "ECL-2.0", "Apache-2.0" ]
125
2016-03-15T17:04:13.000Z
2022-03-22T02:46:17.000Z
sdk/cpp/core/src/network_topology.cpp
YDK-Solutions/ydk
7ab961284cdc82de8828e53fa4870d3204d7730e
[ "ECL-2.0", "Apache-2.0" ]
818
2016-03-17T17:06:00.000Z
2022-03-28T03:56:17.000Z
sdk/cpp/core/src/network_topology.cpp
YDK-Solutions/ydk
7ab961284cdc82de8828e53fa4870d3204d7730e
[ "ECL-2.0", "Apache-2.0" ]
93
2016-03-15T19:18:55.000Z
2022-02-24T13:55:07.000Z
#include <sstream> #include <iostream> #include "entity_util.hpp" #include "network_topology.hpp" using namespace ydk; namespace opendaylight { namespace network_topology { NetworkTopology::NetworkTopology() { yang_name = "network-topology"; yang_parent_name = "network-topology"; } NetworkTopology::~NetworkTop...
30.98722
809
0.695884
YDK-Solutions
7252b4cf8166909fdca015773c08d681d5ab6a3c
2,643
cc
C++
src/ufo/marine/adt/ObsADTTLAD.cc
fmahebert/ufo
2af9b91433553ca473c72fcd131400a01c3aabdb
[ "Apache-2.0" ]
1
2021-10-08T16:37:25.000Z
2021-10-08T16:37:25.000Z
src/ufo/marine/adt/ObsADTTLAD.cc
fmahebert/ufo
2af9b91433553ca473c72fcd131400a01c3aabdb
[ "Apache-2.0" ]
9
2021-06-25T17:18:06.000Z
2021-10-08T17:40:31.000Z
src/ufo/marine/adt/ObsADTTLAD.cc
fmahebert/ufo
2af9b91433553ca473c72fcd131400a01c3aabdb
[ "Apache-2.0" ]
31
2021-06-24T18:07:53.000Z
2021-10-08T15:40:39.000Z
/* * (C) Copyright 2017-2018 UCAR * * This software is licensed under the terms of the Apache Licence Version 2.0 * which can be obtained at http://www.apache.org/licenses/LICENSE-2.0. */ #include "ufo/marine/adt/ObsADTTLAD.h" #include <ostream> #include <string> #include <vector> #include "ioda/ObsSpace.h" #in...
35.716216
98
0.535376
fmahebert
7253d6553eb568b1cf7dacc4b6979c7572e9aac9
1,625
cpp
C++
library/source/lexicon_tests/terminal_tester.cpp
spiretrading/darcel
a9c32989ad9c1571edaa41c7c3a86b276b782c0d
[ "MIT" ]
null
null
null
library/source/lexicon_tests/terminal_tester.cpp
spiretrading/darcel
a9c32989ad9c1571edaa41c7c3a86b276b782c0d
[ "MIT" ]
null
null
null
library/source/lexicon_tests/terminal_tester.cpp
spiretrading/darcel
a9c32989ad9c1571edaa41c7c3a86b276b782c0d
[ "MIT" ]
1
2020-04-17T13:25:25.000Z
2020-04-17T13:25:25.000Z
#include <sstream> #include <catch.hpp> #include "darcel/lexicon/terminal.hpp" using namespace darcel; using namespace std; TEST_CASE("test_terminal_stream", "[Terminal]") { SECTION("New line") { Terminal t(Terminal::Type::NEW_LINE); stringstream ss; ss << t; REQUIRE(ss.str() == "\n"); } SECTION...
27.083333
62
0.635692
spiretrading
7254dab5c34ed42970c7312394b0ca3c4c543331
3,701
cpp
C++
Enemies/EnemyTank.cpp
JTuthill01/Hell-on-Treads
a89c939c3f1d0bd47d075d5b02d589637548ca31
[ "MIT" ]
null
null
null
Enemies/EnemyTank.cpp
JTuthill01/Hell-on-Treads
a89c939c3f1d0bd47d075d5b02d589637548ca31
[ "MIT" ]
null
null
null
Enemies/EnemyTank.cpp
JTuthill01/Hell-on-Treads
a89c939c3f1d0bd47d075d5b02d589637548ca31
[ "MIT" ]
null
null
null
#include "stdafx.hpp" #include "EnemyTank.hpp" std::vector<sf::Texture> EnemyTank::mEnemyProjectileTextures; EnemyTank::EnemyTank() : mShootTimer(mShootTimerMax), mShootTimerMax(50.F) { this->createMovementComponent(350.f, 16.f, 6.f); this->createAnimationComponent(this->mEnemyTankTexture); this->pAnima...
28.689922
118
0.705755
JTuthill01
7257004ed1c670e39b57325874d884a14e951af7
12,376
cpp
C++
cpp/ast/LILRootNode.cpp
veosotano/lil
da2d0774615827d521362ffb731e8abfa3887507
[ "MIT" ]
6
2021-01-02T16:36:28.000Z
2022-01-23T21:50:29.000Z
cpp/ast/LILRootNode.cpp
veosotano/lil
27ef338e7e21403acf2b0202f7db8ef662425d44
[ "MIT" ]
null
null
null
cpp/ast/LILRootNode.cpp
veosotano/lil
27ef338e7e21403acf2b0202f7db8ef662425d44
[ "MIT" ]
null
null
null
/******************************************************************** * * LIL Is a Language * * AUTHORS: Miro Keller * * COPYRIGHT: ©2020-today: All Rights Reserved * * LICENSE: see LICENSE file * * This is a node that participates in local variables * *****************************...
27.380531
111
0.563995
veosotano
725c845dc80289814cd01786bf1351fed338c375
270
cpp
C++
with_python/extensions/pickling/main.cpp
MengqiYe/Test_Cpp_Standards
3acf52bd4457be007534b2b481f01a3bdfda0813
[ "MIT" ]
null
null
null
with_python/extensions/pickling/main.cpp
MengqiYe/Test_Cpp_Standards
3acf52bd4457be007534b2b481f01a3bdfda0813
[ "MIT" ]
null
null
null
with_python/extensions/pickling/main.cpp
MengqiYe/Test_Cpp_Standards
3acf52bd4457be007534b2b481f01a3bdfda0813
[ "MIT" ]
null
null
null
// // Created by mqye on 2020/12/7. // #include "p.h" namespace py = pybind11; int main() { std::vector<float> float_vector; float_vector.push_back(.1); float_vector.push_back(.2); float_vector.push_back(.3); auto a_tuple = py::make_tuple(float_vector); }
15.882353
46
0.681481
MengqiYe
725fa44d04ba00d9e9cf81419465ba9ff93feb8d
1,985
hpp
C++
shadow/algorithm/detect_mtcnn.hpp
junluan/shadow
067d1c51d7c38bc1c985008a2e2e1599bbf11a8c
[ "Apache-2.0" ]
20
2017-07-04T11:22:47.000Z
2022-01-16T03:58:32.000Z
shadow/algorithm/detect_mtcnn.hpp
junluan/shadow
067d1c51d7c38bc1c985008a2e2e1599bbf11a8c
[ "Apache-2.0" ]
2
2017-12-03T13:07:39.000Z
2021-01-13T11:11:52.000Z
shadow/algorithm/detect_mtcnn.hpp
junluan/shadow
067d1c51d7c38bc1c985008a2e2e1599bbf11a8c
[ "Apache-2.0" ]
10
2017-09-30T05:06:30.000Z
2020-11-13T05:43:44.000Z
#ifndef SHADOW_ALGORITHM_DETECT_MTCNN_HPP_ #define SHADOW_ALGORITHM_DETECT_MTCNN_HPP_ #include "method.hpp" #include "core/network.hpp" namespace Shadow { struct BoxInfo { BoxF box; float box_reg[4], landmark[10]; }; using VecBoxInfo = std::vector<BoxInfo>; class DetectMTCNN final : public Method { public: ...
34.224138
80
0.741058
junluan
726927b926bc4174acea00bd8f90d18b7fb02ad8
4,669
cpp
C++
common/src/keyfile/LicenceeInfo.cpp
waddlesplash/WonderBrush-v2
df20b6a43115d02e4606c71f27d0712ac2aebb62
[ "MIT" ]
null
null
null
common/src/keyfile/LicenceeInfo.cpp
waddlesplash/WonderBrush-v2
df20b6a43115d02e4606c71f27d0712ac2aebb62
[ "MIT" ]
null
null
null
common/src/keyfile/LicenceeInfo.cpp
waddlesplash/WonderBrush-v2
df20b6a43115d02e4606c71f27d0712ac2aebb62
[ "MIT" ]
null
null
null
// LicenceeInfo.cpp #include <cstdio> #include <Message.h> #include "TimeSupport.h" #include "LicenceeInfo.h" // constants for default values const char* const kDefaultName = "no name"; const char* const kDefaultApplicationID = "no application"; const uint32 kDefaultApplicationVersion = 0; const bigtime_t kD...
22.665049
73
0.74063
waddlesplash
7269f9fc8966cc916d265529063cd86484078d22
1,499
hpp
C++
src/rdf4cpp/rdf/storage/node/BackendNodeHandle.hpp
rdf4cpp/rdf4cpp
559bf3742871fdf5c2f9dad634193f97e1198c9b
[ "MIT" ]
3
2022-01-10T10:35:44.000Z
2022-02-18T00:38:38.000Z
src/rdf4cpp/rdf/storage/node/BackendNodeHandle.hpp
rdf4cpp/rdf4cpp
559bf3742871fdf5c2f9dad634193f97e1198c9b
[ "MIT" ]
8
2021-06-06T17:45:14.000Z
2022-02-06T17:45:45.000Z
src/rdf4cpp/rdf/storage/node/BackendNodeHandle.hpp
rdf4cpp/rdf4cpp
559bf3742871fdf5c2f9dad634193f97e1198c9b
[ "MIT" ]
4
2021-09-16T12:49:09.000Z
2022-02-18T01:58:57.000Z
#ifndef RDF4CPP_BACKENDNODEHANDLE_HPP #define RDF4CPP_BACKENDNODEHANDLE_HPP #include <rdf4cpp/rdf/storage/node/NodeStorage.hpp> #include <compare> #include <cstddef> namespace rdf4cpp::rdf::storage::node { class BackendNodeHandle { NodeID node_id_; public: BackendNodeHandle() = default; explicit Backen...
28.826923
102
0.717145
rdf4cpp
726c2b7c94a78617c6f2d8025c5a0acc3f44059c
1,214
cpp
C++
test/widgets/form.cpp
mattwood-microchip/egt
6cf491008684feb200585ad1e323a9a02085d9bf
[ "Apache-2.0" ]
36
2019-08-06T06:29:18.000Z
2022-03-31T09:26:28.000Z
test/widgets/form.cpp
mattwood-microchip/egt
6cf491008684feb200585ad1e323a9a02085d9bf
[ "Apache-2.0" ]
19
2019-12-06T00:25:35.000Z
2022-03-28T00:22:27.000Z
test/widgets/form.cpp
mattwood-microchip/egt
6cf491008684feb200585ad1e323a9a02085d9bf
[ "Apache-2.0" ]
14
2019-08-09T07:23:25.000Z
2021-09-22T20:08:12.000Z
/* * Copyright (C) 2018 Microchip Technology Inc. All rights reserved. * * SPDX-License-Identifier: Apache-2.0 */ #include <egt/ui> #include <gtest/gtest.h> using ::testing::Combine; using ::testing::TestWithParam; using ::testing::Values; using ::testing::Range; class FormTest : public testing::TestWithParam<in...
25.291667
89
0.640033
mattwood-microchip
726dc1830a34c721af79b6dbd64d07966894f077
2,830
hpp
C++
node_modules/node-lemmer/include/turglem/morph_compiler.hpp
noduslabs/un1v3r53
7684f57721dc16b01f4776f37301e0e1913b60ba
[ "MIT" ]
2
2019-04-17T04:41:00.000Z
2021-04-01T15:37:04.000Z
node_modules/node-lemmer/include/turglem/morph_compiler.hpp
noduslabs/un1v3r53
7684f57721dc16b01f4776f37301e0e1913b60ba
[ "MIT" ]
null
null
null
node_modules/node-lemmer/include/turglem/morph_compiler.hpp
noduslabs/un1v3r53
7684f57721dc16b01f4776f37301e0e1913b60ba
[ "MIT" ]
null
null
null
/* * Copyright (C) 2007, libturglem development team. * * This file is released under the LGPL. */ #ifndef __MORPH_COMPILER___ #define __MORPH_COMPILER___ #include <txml/txml.hpp> #include <MAFSA/daciuk.hpp> namespace MAFSA { typedef std::basic_string<MAFSA_letter> l_string; } namespace turglem { template<typ...
21.278195
87
0.671025
noduslabs
726f0fc9a56bfd2cfa2b5de400c7489d4451af3e
626
hpp
C++
include/threepp/lights/light_interfaces.hpp
maidamai0/threepp
9b50e2c0f2a7bb3ebfd3ffeef61dbefcd54c7071
[ "MIT" ]
null
null
null
include/threepp/lights/light_interfaces.hpp
maidamai0/threepp
9b50e2c0f2a7bb3ebfd3ffeef61dbefcd54c7071
[ "MIT" ]
null
null
null
include/threepp/lights/light_interfaces.hpp
maidamai0/threepp
9b50e2c0f2a7bb3ebfd3ffeef61dbefcd54c7071
[ "MIT" ]
null
null
null
#ifndef THREEPP_LIGHT_INTERFACES_HPP #define THREEPP_LIGHT_INTERFACES_HPP #include "LightShadow.hpp" namespace threepp { template <class LightShadowType> class LightWithShadow { public: std::shared_ptr<LightShadowType> shadow; virtual ~LightWithShadow() = default; protected: ...
17.388889
100
0.693291
maidamai0
727f7dd484bf398f797c732ccc6ae43ed8ec1ccb
1,680
cpp
C++
PPP/drill8/drill82.cpp
siddheshpai/hello-world
291456962d46c6ce857d75be86bc23634625925f
[ "Apache-2.0" ]
null
null
null
PPP/drill8/drill82.cpp
siddheshpai/hello-world
291456962d46c6ce857d75be86bc23634625925f
[ "Apache-2.0" ]
null
null
null
PPP/drill8/drill82.cpp
siddheshpai/hello-world
291456962d46c6ce857d75be86bc23634625925f
[ "Apache-2.0" ]
null
null
null
#include <iostream> using namespace std; void swap_v(int a, int b) { int temp; temp = a; a = b; b = temp; return; } void swap_r(int & a, int & b) { int temp; temp = a; a = b; b = temp; return; } /* This will not compile since we are trying to change constant references void swap_cr(const int & a, cons...
22.4
95
0.523214
siddheshpai
72810e77c91b08e79a4f0165c72a1f1ae8c4102f
3,231
cxx
C++
src/atxmega256a3u/device.cxx
DX-MON/dragonUSB
e3b43d786f767577822ba5e777d01328cd92a80d
[ "BSD-3-Clause" ]
4
2021-06-20T02:20:03.000Z
2021-12-30T01:43:02.000Z
src/atxmega256a3u/device.cxx
DX-MON/dragonUSB
e3b43d786f767577822ba5e777d01328cd92a80d
[ "BSD-3-Clause" ]
null
null
null
src/atxmega256a3u/device.cxx
DX-MON/dragonUSB
e3b43d786f767577822ba5e777d01328cd92a80d
[ "BSD-3-Clause" ]
null
null
null
// SPDX-License-Identifier: BSD-3-Clause #include "usb/platform.hxx" #include "usb/internal/core.hxx" #include "usb/platforms/atxmega256a3u/core.hxx" #include "usb/internal/device.hxx" using namespace usb::constants; using namespace usb::types; using namespace usb::core; using namespace usb::core::internal; using name...
26.483607
114
0.717425
DX-MON
7284539a6a216c96d9fa222abb84fce41f73cd2d
6,285
cpp
C++
guacservice/src/GuacLogger.cpp
ofiriluz/guacamole-server-windows
6f0230f3053e13536433bbd5fb728c248bab41fd
[ "Apache-2.0" ]
2
2020-10-27T03:50:42.000Z
2022-01-14T06:01:40.000Z
guacservice/src/GuacLogger.cpp
ofiriluz/guacamole-server-windows
6f0230f3053e13536433bbd5fb728c248bab41fd
[ "Apache-2.0" ]
2
2018-10-12T15:45:24.000Z
2020-06-16T10:08:26.000Z
guacservice/src/GuacLogger.cpp
ofiriluz/guacamole-server-windows
6f0230f3053e13536433bbd5fb728c248bab41fd
[ "Apache-2.0" ]
2
2021-05-21T11:53:43.000Z
2021-11-07T18:36:32.000Z
// // Created by oiluz on 9/5/2017. // #include <guacservice/GuacLogger.h> GuacLogger::GuacLogger() : m_Initialized(false), m_IgnoreLogs(false), m_WithConsole(false) { } boost::shared_ptr<GuacLogger> GuacLogger::GetInstance() { static boost::shared_ptr<GuacLogger> logger(new GuacLogger()); return logger; } v...
26.297071
118
0.669212
ofiriluz
7288b15e6b0d0caf1465360225709e3a5227ed68
17,020
hpp
C++
src/Infrastructure/Mesh/src/Moab/moab/GeomTopoTool.hpp
Formatted/esmf
94561c6a1d539917da5595a8de867e43f43bcafe
[ "NCSA" ]
null
null
null
src/Infrastructure/Mesh/src/Moab/moab/GeomTopoTool.hpp
Formatted/esmf
94561c6a1d539917da5595a8de867e43f43bcafe
[ "NCSA" ]
null
null
null
src/Infrastructure/Mesh/src/Moab/moab/GeomTopoTool.hpp
Formatted/esmf
94561c6a1d539917da5595a8de867e43f43bcafe
[ "NCSA" ]
null
null
null
/** * MOAB, a Mesh-Oriented datABase, is a software component for creating, * storing and accessing finite element mesh data. * * Copyright 2004 Sandia Corporation. Under the terms of Contract * DE-AC04-94AL85000 with Sandia Corporation, the U.S. Government * retains certain rights in this software. * * This...
42.763819
109
0.710693
Formatted
728ca92ed223acacb3019ef7a297546a24aa050f
3,630
cpp
C++
5_GraphTheory/6_BinaryMatch/4_kuhn_munkres.cpp
JasongLee/Way-to-Algorithm-1
249a320845a960d942ae742cb5bd273e814a9e85
[ "MIT" ]
1
2017-04-16T15:23:29.000Z
2017-04-16T15:23:29.000Z
5_GraphTheory/6_BinaryMatch/4_kuhn_munkres.cpp
JasongLee/Way-to-Algorithm-1
249a320845a960d942ae742cb5bd273e814a9e85
[ "MIT" ]
null
null
null
5_GraphTheory/6_BinaryMatch/4_kuhn_munkres.cpp
JasongLee/Way-to-Algorithm-1
249a320845a960d942ae742cb5bd273e814a9e85
[ "MIT" ]
1
2018-07-19T00:52:39.000Z
2018-07-19T00:52:39.000Z
//Kuhn-Munkres算法 //kuhn_munkres.cpp //二分图B中的每条边都拥有一个正权值,为了方便该权值为正整数 //求二分带权图的具有最大权的完备匹配(也称最优匹配,最佳匹配) //1)基础概念 //二分带权图的最大权完备匹配问题是应用Kuhn-Munkres(简称KM)算法的典型场景 //顶点标号技术: //对于二分图B=<X,Y,E>的X集合中节点设置顶点标号A,Y集合中节点设置顶点标号B //即设置数组a_label和b_label,a_label[i](b_label[i])指代X(Y)集合中节点i的标号 //可行顶点标号: //对于二分图B中的每条边e,一个端点i属于X集合,另一个端点j属于Y集...
29.04
65
0.696694
JasongLee
728f19ff5d8f3f0b8ff62a652f2e6f83528db037
431
hpp
C++
obs-studio/UI/double-slider.hpp
noelemahcz/libobspp
029472b973e5a1985f883242f249848385df83a3
[ "MIT" ]
null
null
null
obs-studio/UI/double-slider.hpp
noelemahcz/libobspp
029472b973e5a1985f883242f249848385df83a3
[ "MIT" ]
null
null
null
obs-studio/UI/double-slider.hpp
noelemahcz/libobspp
029472b973e5a1985f883242f249848385df83a3
[ "MIT" ]
null
null
null
#pragma once #include <QSlider> #include "slider-ignorewheel.hpp" class DoubleSlider : public SliderIgnoreScroll { Q_OBJECT double minVal, maxVal, minStep; public: DoubleSlider(QWidget *parent = nullptr); void setDoubleConstraints(double newMin, double newMax, double newStep, double val); signals: void...
17.958333
72
0.761021
noelemahcz
7291f9692107375003ce88c72589d9623cbf9d47
725
hpp
C++
src/runner_options.hpp
dholmes215/adventofcode-cpp
2a0ce43c51ec3beccc56fb48bf91de070e6ca136
[ "BSL-1.0" ]
null
null
null
src/runner_options.hpp
dholmes215/adventofcode-cpp
2a0ce43c51ec3beccc56fb48bf91de070e6ca136
[ "BSL-1.0" ]
null
null
null
src/runner_options.hpp
dholmes215/adventofcode-cpp
2a0ce43c51ec3beccc56fb48bf91de070e6ca136
[ "BSL-1.0" ]
null
null
null
// // Copyright (c) 2020-2021 David Holmes (dholmes at dholmes dot us) // // 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 RUNNER_OPTIONS_HPP #define RUNNER_OPTIONS_HPP #include <filesystem> #include <op...
21.969697
79
0.713103
dholmes215
729c8bd7858f55b9933cf7bb0fabdadc9a2eb4b8
3,780
cpp
C++
disk/DiskAsyncResult.cpp
zukisoft/storage
a8b6ac184377c4a6c25624260d16e7f42f082395
[ "MIT" ]
1
2016-05-28T04:19:26.000Z
2016-05-28T04:19:26.000Z
disk/DiskAsyncResult.cpp
zukisoft/storage-legacy
a8b6ac184377c4a6c25624260d16e7f42f082395
[ "MIT" ]
null
null
null
disk/DiskAsyncResult.cpp
zukisoft/storage-legacy
a8b6ac184377c4a6c25624260d16e7f42f082395
[ "MIT" ]
null
null
null
//----------------------------------------------------------------------------- // Copyright (c) 2014 Michael G. Brehm // // 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 restricti...
35.660377
111
0.648413
zukisoft
72a11eadc3dd83ebd43b738669fdc317af80e726
1,838
cpp
C++
src/viennautils/filesystem/filesystem.cpp
viennautils/viennautils-dev
38ef9a088f8df2a59215d27fd38bed8a4effd012
[ "MIT" ]
1
2015-09-13T03:50:52.000Z
2015-09-13T03:50:52.000Z
src/viennautils/filesystem/filesystem.cpp
viennautils/viennautils-dev
38ef9a088f8df2a59215d27fd38bed8a4effd012
[ "MIT" ]
null
null
null
src/viennautils/filesystem/filesystem.cpp
viennautils/viennautils-dev
38ef9a088f8df2a59215d27fd38bed8a4effd012
[ "MIT" ]
2
2017-01-12T09:02:43.000Z
2021-05-12T07:29:57.000Z
#include "viennautils/filesystem/filesystem.hpp" namespace viennautils { namespace filesystem { namespace { std::string const path_delimiters = "\\/"; std::string::size_type find_last_path_delimiter(std::string const & path) { return path.find_last_of(path_delimiters); } std::string::size_type find_extension_deli...
32.245614
122
0.735038
viennautils
72a44e346584e77c1d9722c2a1426f459cb1a86c
1,341
cpp
C++
Week9/Fractional_Knapsack.cpp
SukalpVishnoi/DAA-PRACTICL
fee6b3f42a90d96de01ccf6af417d7ed29dc30f5
[ "MIT" ]
null
null
null
Week9/Fractional_Knapsack.cpp
SukalpVishnoi/DAA-PRACTICL
fee6b3f42a90d96de01ccf6af417d7ed29dc30f5
[ "MIT" ]
null
null
null
Week9/Fractional_Knapsack.cpp
SukalpVishnoi/DAA-PRACTICL
fee6b3f42a90d96de01ccf6af417d7ed29dc30f5
[ "MIT" ]
1
2021-09-22T18:22:08.000Z
2021-09-22T18:22:08.000Z
#include <bits/stdc++.h> using namespace std; bool compare(pair<pair<int, int>, int> a, pair<pair<int, int>, int> b) { return a.first.second * 1.0 / a.first.first > b.first.second * 1.0 / b.first.first; } int main() { #ifndef ONLINE_JUDGE freopen("input.txt", "r", stdin); freopen("output.txt", "w", stdou...
26.294118
87
0.480239
SukalpVishnoi
72a4db9cdce58e0e49216b312758cd8ca6afbc9d
14,532
cpp
C++
src/mrilucpp/Ifpack_MRILU.cpp
jthies/i-emic
8bc351e2e6e31ac6a4c14a16fadfa65c0e04b6a7
[ "Apache-2.0" ]
2
2020-11-30T08:37:53.000Z
2021-01-18T09:53:59.000Z
src/mrilucpp/Ifpack_MRILU.cpp
jthies/i-emic
8bc351e2e6e31ac6a4c14a16fadfa65c0e04b6a7
[ "Apache-2.0" ]
83
2019-03-04T10:07:02.000Z
2022-01-20T10:45:40.000Z
src/mrilucpp/Ifpack_MRILU.cpp
jthies/i-emic
8bc351e2e6e31ac6a4c14a16fadfa65c0e04b6a7
[ "Apache-2.0" ]
4
2019-02-18T10:17:59.000Z
2019-03-27T12:24:57.000Z
/********************************************************************** * Copyright by Jonas Thies, Univ. of Groningen 2006/7/8. * * Permission to use, copy, modify, redistribute is granted * * as long as this header remains intact. * * contact: jonas@math.rug.nl ...
28.217476
99
0.595789
jthies
72a7799234f20ef47ac4bbce25b728ce18f55df6
19,959
cpp
C++
Base/PLRenderer/src/Texture/TextureAniLoaderPL.cpp
ktotheoz/pixellight
43a661e762034054b47766d7e38d94baf22d2038
[ "MIT" ]
83
2015-01-08T15:06:14.000Z
2021-07-20T17:07:00.000Z
Base/PLRenderer/src/Texture/TextureAniLoaderPL.cpp
PixelLightFoundation/pixellight
43a661e762034054b47766d7e38d94baf22d2038
[ "MIT" ]
19
2018-08-24T08:10:13.000Z
2018-11-29T06:39:08.000Z
Base/PLRenderer/src/Texture/TextureAniLoaderPL.cpp
ktotheoz/pixellight
43a661e762034054b47766d7e38d94baf22d2038
[ "MIT" ]
40
2015-02-25T18:24:34.000Z
2021-03-06T09:01:48.000Z
/*********************************************************\ * File: TextureAniLoaderPL.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...
33.488255
130
0.66346
ktotheoz
72a77e4b706945954b782607100be05740d3aa8e
553
cpp
C++
src/world/particles/systems/blueorbparticlesystem.cpp
Eae02/tank-game
0c526b177ccc15dd49e3228489163f13335040db
[ "Zlib" ]
null
null
null
src/world/particles/systems/blueorbparticlesystem.cpp
Eae02/tank-game
0c526b177ccc15dd49e3228489163f13335040db
[ "Zlib" ]
null
null
null
src/world/particles/systems/blueorbparticlesystem.cpp
Eae02/tank-game
0c526b177ccc15dd49e3228489163f13335040db
[ "Zlib" ]
null
null
null
#include "blueorbparticlesystem.h" namespace TankGame { BlueOrbParticleSystem::BlueOrbParticleSystem(ParticlesManager& particlesManager) : m_blueOrbEmitter(particlesManager) { } ParticleEmitter* BlueOrbParticleSystem::GetEmitter(size_t n) { return &m_blueOrbEmitter; } size_t BlueOrbParticleSystem:...
21.269231
109
0.802893
Eae02
72a9ebb06e37ccf9dca67a53cab90886c7b724f0
34,270
cpp
C++
src/rrgenerator.cpp
sischkg/nxnsattack
c20896e40187bbcacb5c0255ff8f3cc7d0592126
[ "MIT" ]
5
2020-05-22T10:01:51.000Z
2022-01-01T04:45:14.000Z
src/rrgenerator.cpp
sischkg/dns-fuzz-server
6f45079014e745537c2f564fdad069974e727da1
[ "MIT" ]
1
2020-06-07T14:09:44.000Z
2020-06-07T14:09:44.000Z
src/rrgenerator.cpp
sischkg/dns-fuzz-server
6f45079014e745537c2f564fdad069974e727da1
[ "MIT" ]
2
2020-03-10T03:06:20.000Z
2021-07-25T15:07:45.000Z
#include "rrgenerator.hpp" #include <boost/noncopyable.hpp> #include <sys/types.h> #include <unistd.h> #include <cstdlib> #include <sstream> namespace dns { /********************************************************** * RandomGenarator **********************************************************/ Ra...
37.008639
127
0.512372
sischkg
72b4ba9b6c2f3d52b44c645fc8761d3545940fa2
9,688
cpp
C++
src/nfagraph/ng_utf8.cpp
a16bitsysop/hyperscan
2819dc3d1b796e28d23140cb135077a709b7d28a
[ "BSD-2-Clause", "BSD-3-Clause" ]
146
2021-02-15T14:13:57.000Z
2022-03-30T19:06:13.000Z
src/nfagraph/ng_utf8.cpp
a16bitsysop/hyperscan
2819dc3d1b796e28d23140cb135077a709b7d28a
[ "BSD-2-Clause", "BSD-3-Clause" ]
35
2021-01-26T10:21:21.000Z
2022-03-23T09:50:20.000Z
src/nfagraph/ng_utf8.cpp
a16bitsysop/hyperscan
2819dc3d1b796e28d23140cb135077a709b7d28a
[ "BSD-2-Clause", "BSD-3-Clause" ]
12
2021-03-26T15:02:20.000Z
2022-03-10T13:14:32.000Z
/* * Copyright (c) 2015-2017, Intel Corporation * * 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 conditions and the f...
31.868421
79
0.59486
a16bitsysop
72b58cadd71b2de20d04c1c89d78434cc0c4fbb3
14,605
hpp
C++
toolkits/test_getdepneighbor_gpu.hpp
Sanzo00/NeutronStarLite
57d92d1f7f6cd55c55a83ca086096a710185d531
[ "Apache-2.0" ]
1
2022-03-10T07:41:55.000Z
2022-03-10T07:41:55.000Z
toolkits/test_getdepneighbor_gpu.hpp
Sanzo00/NeutronStarLite
57d92d1f7f6cd55c55a83ca086096a710185d531
[ "Apache-2.0" ]
null
null
null
toolkits/test_getdepneighbor_gpu.hpp
Sanzo00/NeutronStarLite
57d92d1f7f6cd55c55a83ca086096a710185d531
[ "Apache-2.0" ]
null
null
null
#include "core/neutronstar.hpp" class test_get_neighbor_gpu { public: int iterations; ValueType learn_rate; ValueType weight_decay; ValueType drop_rate; ValueType alpha; ValueType beta1; ValueType beta2; ValueType epsilon; ValueType decay_rate; ValueType decay_epoch; // graph VertexSubset *activ...
40.796089
127
0.618624
Sanzo00
72b7d6bd60fa0c0510d3dd698c0d4bed63131ce0
3,151
cpp
C++
src/unittest/AlgorithmsTest.cpp
szekizoli/graphlib
2be4790024c20f2e2ad3b96010efa1e8aa35907c
[ "MIT" ]
null
null
null
src/unittest/AlgorithmsTest.cpp
szekizoli/graphlib
2be4790024c20f2e2ad3b96010efa1e8aa35907c
[ "MIT" ]
null
null
null
src/unittest/AlgorithmsTest.cpp
szekizoli/graphlib
2be4790024c20f2e2ad3b96010efa1e8aa35907c
[ "MIT" ]
null
null
null
#include "GraphLibTestUtils.h" #include <iostream> #include "GraphTestHelper.h" #include "graph\Algorithms.h" #include "graph\Graph.h" #include "graph\GraphBuilder.h" #include "graph\Node.h" #include "graph\function\Function.h" namespace GraphLibraryTest { using namespace graphlib::graph; using namespace graphlib...
30.592233
99
0.715011
szekizoli
72bbfc2087c1d269c123beda08d082c88453644f
3,034
hh
C++
benchmarks/solvers/minizinc/include/minizinc/chain_compressor.hh
95A31/MDD-LNS
9b78143e13ce8b3916bf3cc9662d9cbfe63fd7c7
[ "MIT" ]
null
null
null
benchmarks/solvers/minizinc/include/minizinc/chain_compressor.hh
95A31/MDD-LNS
9b78143e13ce8b3916bf3cc9662d9cbfe63fd7c7
[ "MIT" ]
null
null
null
benchmarks/solvers/minizinc/include/minizinc/chain_compressor.hh
95A31/MDD-LNS
9b78143e13ce8b3916bf3cc9662d9cbfe63fd7c7
[ "MIT" ]
null
null
null
/* -*- mode: C++; c-basic-offset: 2; indent-tabs-mode: nil -*- */ /* * Main authors: * Jip J. Dekker <jip.dekker@monash.edu> */ /* 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 http://mo...
30.039604
99
0.689519
95A31
72c0c072422b271b0c872612a60d713b4384cbb8
757
hpp
C++
Firmware/modules/InputSense.hpp
jimkoeh/ActiveLoad
77ad16cd16365efc226c3384b1ad5ba39d782c83
[ "MIT" ]
2
2017-12-25T10:00:39.000Z
2020-05-25T09:03:12.000Z
Firmware/modules/InputSense.hpp
jimkoeh/ActiveLoad
77ad16cd16365efc226c3384b1ad5ba39d782c83
[ "MIT" ]
null
null
null
Firmware/modules/InputSense.hpp
jimkoeh/ActiveLoad
77ad16cd16365efc226c3384b1ad5ba39d782c83
[ "MIT" ]
3
2019-08-25T05:32:01.000Z
2021-01-18T00:29:03.000Z
/** * @file InputSense.hpp * * @date 19.12.2015 * @author Andre * @description */ #ifndef INPUTSENSE_HPP_ #define INPUTSENSE_HPP_ #include "SystemState.hpp" #include "SystemCommand.hpp" #include "driver/DS18B20.hpp" #include <stdint.h> #include "tools/EMAFilter.hpp" class InputSense { public: InputSense(); ...
18.463415
71
0.746367
jimkoeh
72c0d8fa9db6dc30caa52837c4ea4a02024ee7b6
4,812
cpp
C++
src/dustfluids/dustfluids_noCs_solver.cpp
PinghuiHuang/athena-pp-dustfluids
fce21992cc107aa553e83dd76b8d03ae90e990c7
[ "BSD-3-Clause" ]
2
2020-07-02T09:48:49.000Z
2020-08-25T02:37:21.000Z
src/dustfluids/dustfluids_noCs_solver.cpp
PinghuiHuang/athena-pp-dustfluids
fce21992cc107aa553e83dd76b8d03ae90e990c7
[ "BSD-3-Clause" ]
null
null
null
src/dustfluids/dustfluids_noCs_solver.cpp
PinghuiHuang/athena-pp-dustfluids
fce21992cc107aa553e83dd76b8d03ae90e990c7
[ "BSD-3-Clause" ]
1
2021-11-12T13:39:48.000Z
2021-11-12T13:39:48.000Z
//======================================================================================== // Athena++ astrophysical MHD code // Copyright(C) 2014 James M. Stone <jmstone@princeton.edu> and other code contributors // Licensed under the 3-clause BSD License, see LICENSE file for details //===============================...
42.584071
102
0.593932
PinghuiHuang