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
2c444b193a34ac9953b2feaeb6e275413fdf9439
1,249
cpp
C++
engine/RenderQueue.cpp
shanysheng/orange3d
9ee081a98e14fdeb3aaafd6bbb49fe027d4cd3c0
[ "BSD-2-Clause" ]
11
2017-06-06T17:22:30.000Z
2022-03-23T11:56:49.000Z
engine/RenderQueue.cpp
shanysheng/orange3d
9ee081a98e14fdeb3aaafd6bbb49fe027d4cd3c0
[ "BSD-2-Clause" ]
null
null
null
engine/RenderQueue.cpp
shanysheng/orange3d
9ee081a98e14fdeb3aaafd6bbb49fe027d4cd3c0
[ "BSD-2-Clause" ]
5
2018-02-07T02:48:59.000Z
2021-08-23T05:16:59.000Z
#include "RenderQueue.h" namespace pipeline{ CRenderQueue::CRenderQueue() { m_Tag = 0; //m_bMatrixAggregated = false; m_pExtension = NULL; } CRenderQueue::~CRenderQueue() { Clear(); } int CRenderQueue::GetRenderQueueTag() { ret...
18.367647
81
0.563651
shanysheng
2c4871ffe36ad93380fd405539af2813e0bd701a
2,510
cpp
C++
tests/crypto.cpp
MonokelPinguin/mtxclient
765bf87636c66db2da8ce583a782bf64f813f3c4
[ "MIT" ]
2
2021-03-23T11:57:49.000Z
2021-05-18T18:52:27.000Z
tests/crypto.cpp
MonokelPinguin/mtxclient
765bf87636c66db2da8ce583a782bf64f813f3c4
[ "MIT" ]
null
null
null
tests/crypto.cpp
MonokelPinguin/mtxclient
765bf87636c66db2da8ce583a782bf64f813f3c4
[ "MIT" ]
null
null
null
#include <gtest/gtest.h> #include <nlohmann/json.hpp> #include <mtx/common.hpp> using json = nlohmann::json; using namespace mtx::crypto; TEST(Crypto, DeviceKeys) { DeviceKeys device1; device1.user_id = "@alice:example.com"; device1.device_id = "JLAFKJWSCS"; device1.keys = {{"curv...
38.615385
124
0.600398
MonokelPinguin
2c494ef6071e79eb886ceb19dc8ab22b35fa1847
11,178
tpp
C++
include/signal/systemmodels/systemmodels.tpp
Bormachine-Learning/embedded
165daf847fe9c2a7bcc17c7aee4c5e28b3cf4055
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
include/signal/systemmodels/systemmodels.tpp
Bormachine-Learning/embedded
165daf847fe9c2a7bcc17c7aee4c5e28b3cf4055
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
include/signal/systemmodels/systemmodels.tpp
Bormachine-Learning/embedded
165daf847fe9c2a7bcc17c7aee4c5e28b3cf4055
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
/** Copyright 2019 Bosch Engineering Center Cluj and BFMC organizers 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 l...
34.393846
183
0.699946
Bormachine-Learning
2c5075cf041e6e688b79119e94be7e73acc9fdc8
7,571
cpp
C++
Source/Vanity.cpp
ArchRobison/Voromoeba
608aeebd03f955a2180d05f310de6097c3df0c69
[ "Apache-2.0" ]
null
null
null
Source/Vanity.cpp
ArchRobison/Voromoeba
608aeebd03f955a2180d05f310de6097c3df0c69
[ "Apache-2.0" ]
1
2021-06-28T16:24:46.000Z
2021-06-29T13:40:23.000Z
Source/Vanity.cpp
ArchRobison/Voromoeba
608aeebd03f955a2180d05f310de6097c3df0c69
[ "Apache-2.0" ]
null
null
null
/* Copyright 2011-2021 Arch D. Robison 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...
32.633621
145
0.564523
ArchRobison
2c55283513cc0c90028dce3732e8eef7361087bd
2,872
cpp
C++
src/Compass.cpp
00steve/Lapster
42c11d7bf96694c36f75d938563031cb08951ff1
[ "Apache-2.0" ]
null
null
null
src/Compass.cpp
00steve/Lapster
42c11d7bf96694c36f75d938563031cb08951ff1
[ "Apache-2.0" ]
null
null
null
src/Compass.cpp
00steve/Lapster
42c11d7bf96694c36f75d938563031cb08951ff1
[ "Apache-2.0" ]
null
null
null
#include "Compass.h" /*define static variables which will pretty much be anything that reads from the compass. There is only one, so it only makes sense to read to the same variables that can be accessed from anywhere.*/ bool Compass::initialized = false; Adafruit_HMC5883_Unified Compass::mag = Adafruit_HMC5883_Unifie...
30.231579
93
0.66539
00steve
2c55bfb456b057200f2a5e2f6cfe043857080fb3
1,528
cpp
C++
libstarlight/source/starlight/ui/DrawLayerProxy.cpp
mothie/libstarlight
91bd6892ccc95ccf255cad73ef659b6cf37ab4a9
[ "MIT" ]
36
2017-01-17T22:58:08.000Z
2021-12-28T00:04:52.000Z
libstarlight/source/starlight/ui/DrawLayerProxy.cpp
mothie/libstarlight
91bd6892ccc95ccf255cad73ef659b6cf37ab4a9
[ "MIT" ]
3
2017-03-26T20:47:25.000Z
2019-12-12T01:50:02.000Z
libstarlight/source/starlight/ui/DrawLayerProxy.cpp
mothie/libstarlight
91bd6892ccc95ccf255cad73ef659b6cf37ab4a9
[ "MIT" ]
9
2017-04-17T19:01:24.000Z
2021-12-01T18:26:01.000Z
#include "DrawLayerProxy.h" #include "starlight/GFXManager.h" #include "starlight/InputManager.h" using starlight::GFXManager; using starlight::gfx::DrawContextCanvas; using starlight::InputManager; using starlight::ui::DrawLayerProxy; void DrawLayerProxy::Refresh() { canvas.reset(); MarkForRedraw(); } vo...
23.875
79
0.627618
mothie
2c5e986cfccbcfbcfc55365638fce5a6aabafa9d
1,596
hpp
C++
src/ChunkManager.hpp
Zenpock/OpenFusion
2af33da4e8174158ac7016b7f381eab6475d39d9
[ "MIT" ]
null
null
null
src/ChunkManager.hpp
Zenpock/OpenFusion
2af33da4e8174158ac7016b7f381eab6475d39d9
[ "MIT" ]
null
null
null
src/ChunkManager.hpp
Zenpock/OpenFusion
2af33da4e8174158ac7016b7f381eab6475d39d9
[ "MIT" ]
null
null
null
#pragma once #include "CNProtocol.hpp" #include <utility> #include <vector> #include <set> #include <map> #include <tuple> class Chunk { public: std::set<CNSocket*> players; std::set<int32_t> NPCs; }; enum { INSTANCE_OVERWORLD, // default instance every player starts in INSTANCE_IZ, // these aren't ...
33.957447
89
0.707393
Zenpock
2c61f0b434ad1e27e13977a9e71c16d853ed41cf
461
cpp
C++
Interpreter_Fase-3/src/Interpreter/Core/Logger.cpp
favo52/Interpreter
229f0658dd91fde050919bc40179af2b857816f5
[ "Apache-2.0" ]
null
null
null
Interpreter_Fase-3/src/Interpreter/Core/Logger.cpp
favo52/Interpreter
229f0658dd91fde050919bc40179af2b857816f5
[ "Apache-2.0" ]
null
null
null
Interpreter_Fase-3/src/Interpreter/Core/Logger.cpp
favo52/Interpreter
229f0658dd91fde050919bc40179af2b857816f5
[ "Apache-2.0" ]
null
null
null
#include "pch.h" #include "Logger.h" #include <spdlog/sinks/stdout_color_sinks.h> namespace Interpreter { std::shared_ptr<spdlog::logger> Logger::s_Logger; void Logger::Init() { try { spdlog::set_pattern("%^%n: %v%$"); s_Logger = spdlog::stdout_color_mt("Interpreter"); s_Logger->set_level(spdlog::le...
18.44
72
0.650759
favo52
2c65af3f3d46b9fe6d111782c2dba8eba61aa677
997
cpp
C++
test_lib.cpp
alexb5/homework04
f352483d5466ec56d96a9c6092aff46ac85d25b0
[ "MIT" ]
null
null
null
test_lib.cpp
alexb5/homework04
f352483d5466ec56d96a9c6092aff46ac85d25b0
[ "MIT" ]
null
null
null
test_lib.cpp
alexb5/homework04
f352483d5466ec56d96a9c6092aff46ac85d25b0
[ "MIT" ]
null
null
null
#include "lib.h" #include <gtest/gtest.h> #include <list> #include <sstream> #include <vector> TEST(version_test_case, version_test) { EXPECT_GT(lib::version_patch(), 0); EXPECT_GT(lib::version_major(), 0); EXPECT_GT(lib::version_minor(), 0); } TEST(print_ip, test_print_integral_types) { std::strings...
21.673913
77
0.631896
alexb5
ef19d102a83257c4e33c02a46bc4b1434cb12dc9
1,071
cpp
C++
程序设计与方法实践/压位.cpp
xiabee/BIT-CS
5d8d8331e6b9588773991a872c259e430ef1eae1
[ "Apache-2.0" ]
63
2021-01-10T02:32:17.000Z
2022-03-30T04:08:38.000Z
程序设计与方法实践/压位.cpp
xiabee/BIT-CS
5d8d8331e6b9588773991a872c259e430ef1eae1
[ "Apache-2.0" ]
2
2021-06-09T05:38:58.000Z
2021-12-14T13:53:54.000Z
程序设计与方法实践/压位.cpp
xiabee/BIT-CS
5d8d8331e6b9588773991a872c259e430ef1eae1
[ "Apache-2.0" ]
20
2021-01-12T11:49:36.000Z
2022-03-26T11:04:58.000Z
#include<bits/stdc++.h> using namespace std; #define w 9 const long long jw = 1e9; const int MAXN = 800005; char s1[MAXN],s2[MAXN]; long long a[MAXN],b[MAXN],ans[MAXN]; int change(char s[],long long n[]) { char temp[MAXN]; int len = strlen(s + 1),now = 0; while(len/w) { strncpy(temp,s+len-w + 1,w); n[++now] =...
15.75
66
0.499533
xiabee
ef202d006ad04429dac71803fa747358dbc4d501
2,963
cpp
C++
project/source/engine/gui/Slider.cpp
ntnt/carpg
f26c43c76d39f2ec2c51bd929f1b85f3c5197337
[ "MIT" ]
1
2016-04-30T15:34:11.000Z
2016-04-30T15:34:11.000Z
project/source/engine/gui/Slider.cpp
ntnt/carpg
f26c43c76d39f2ec2c51bd929f1b85f3c5197337
[ "MIT" ]
null
null
null
project/source/engine/gui/Slider.cpp
ntnt/carpg
f26c43c76d39f2ec2c51bd929f1b85f3c5197337
[ "MIT" ]
1
2018-11-30T23:32:58.000Z
2018-11-30T23:32:58.000Z
#include "Pch.h" #include "EngineCore.h" #include "Slider.h" //================================================================================================= Slider::Slider() : hold(false), minstep(false) { bt[0].text = '<'; bt[0].id = GuiEvent_Custom; bt[0].parent = this; bt[0].size = Int2(32, 32); bt[1].tex...
18.99359
99
0.436045
ntnt
ef20e13a6e1f8e39fe6ea6fd28b1f72634ec2a40
452
cxx
C++
Algorithms/Sorting/big-sorting.cxx
will-crawford/HackerRank
74965480ee6a51603eb320e5982b0943fdaf1302
[ "MIT" ]
null
null
null
Algorithms/Sorting/big-sorting.cxx
will-crawford/HackerRank
74965480ee6a51603eb320e5982b0943fdaf1302
[ "MIT" ]
null
null
null
Algorithms/Sorting/big-sorting.cxx
will-crawford/HackerRank
74965480ee6a51603eb320e5982b0943fdaf1302
[ "MIT" ]
null
null
null
#include <cmath> #include <cstdio> #include <vector> #include <iostream> #include <algorithm> using namespace std; int main() { int n; cin >> n >> ws; vector<string> vs (n); while ( n > 0 ) cin >> vs[--n]; sort ( begin(vs), end(vs), [] ( const string &l, const string &r ) { size_t ll = l.length(),...
25.111111
89
0.524336
will-crawford
ef21fa806bb3d23f14b48118b063b66e24628942
599
cpp
C++
baekjoon/4276/count_zero.cpp
ucyang/AlgoEx
465c88f04b9449c06ee5c9a684ded5aba8ccf399
[ "MIT" ]
null
null
null
baekjoon/4276/count_zero.cpp
ucyang/AlgoEx
465c88f04b9449c06ee5c9a684ded5aba8ccf399
[ "MIT" ]
null
null
null
baekjoon/4276/count_zero.cpp
ucyang/AlgoEx
465c88f04b9449c06ee5c9a684ded5aba8ccf399
[ "MIT" ]
null
null
null
// Problem: https://www.acmicpc.net/problem/4276 #include <iostream> using namespace std; unsigned long long CountZeros(long long n) { unsigned long long count = 1; unsigned long long i = 1; unsigned long long a, b, c; if (n < 0) return 0; while (true) { a = n / i / 10; b = n / i % 10; c = n % i; ...
12.22449
52
0.532554
ucyang
ef2306095b2a2c04de2a0b0e51fcfc42c7803340
3,198
cpp
C++
SDKs/CryCode/3.8.1/CryEngine/CryAction/Network/GenericPlaybackListener.cpp
amrhead/FireNET
34d439aa0157b0c895b20b2b664fddf4f9b84af1
[ "BSD-2-Clause" ]
4
2017-12-18T20:10:16.000Z
2021-02-07T21:21:24.000Z
SDKs/CryCode/3.8.1/CryEngine/CryAction/Network/GenericPlaybackListener.cpp
amrhead/FireNET
34d439aa0157b0c895b20b2b664fddf4f9b84af1
[ "BSD-2-Clause" ]
null
null
null
SDKs/CryCode/3.8.1/CryEngine/CryAction/Network/GenericPlaybackListener.cpp
amrhead/FireNET
34d439aa0157b0c895b20b2b664fddf4f9b84af1
[ "BSD-2-Clause" ]
3
2019-03-11T21:36:15.000Z
2021-02-07T21:21:26.000Z
/************************************************************************* Crytek Source File. Copyright (C), Crytek Studios, 2007. ------------------------------------------------------------------------- $Id$ $DateTime$ Description: network breakability: playback of generic breaking events -------------------...
26.213115
116
0.700438
amrhead
ef23398e57ee29ae97ba2b8561bdcfb8590b4df6
6,918
cpp
C++
tst/prob/uCdfInverse.cpp
transpixel/TPQZcam
b44a97d44b49e9aa76c36efb6e4102091ff36c67
[ "MIT" ]
1
2017-06-01T00:21:16.000Z
2017-06-01T00:21:16.000Z
tst/prob/uCdfInverse.cpp
transpixel/TPQZcam
b44a97d44b49e9aa76c36efb6e4102091ff36c67
[ "MIT" ]
3
2017-06-01T00:26:16.000Z
2020-05-09T21:06:27.000Z
testprob/uCdfInverse.cpp
transpixel/tpqz
2d8400b1be03292d0c5ab74710b87e798ae6c52c
[ "MIT" ]
null
null
null
// // // MIT License // // Copyright (c) 2017 Stellacore Corporation. // // 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...
25.340659
76
0.648453
transpixel
ef290e9d7cbdfafa7c0ce0694bdf2e69b3e6b740
215
cpp
C++
AED/2/2q10.cpp
Iigorsf/AED
2151ef562be8088cd76efe7afb9e73b165027fa1
[ "MIT" ]
null
null
null
AED/2/2q10.cpp
Iigorsf/AED
2151ef562be8088cd76efe7afb9e73b165027fa1
[ "MIT" ]
null
null
null
AED/2/2q10.cpp
Iigorsf/AED
2151ef562be8088cd76efe7afb9e73b165027fa1
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int main(int argc, char **argv) { int v[8]; imp[7]; par[7]; for( int i=0; i<8; i++){ cin>>v[i]<<endl; } for( int i=0; i<8; i++){ if(i%2==0) } return 0; }
11.944444
31
0.511628
Iigorsf
ef323b34185fd570c0f055a3dcf7294ad3724910
4,734
cpp
C++
DeepLearningToolKit/Toolkit/Device/cSanTerminalLogAgent.cpp
zxyinz/DeepLearningForBlueShark
025206aa7450b7ec86ebab9ca2bbcabe4421af91
[ "MIT" ]
null
null
null
DeepLearningToolKit/Toolkit/Device/cSanTerminalLogAgent.cpp
zxyinz/DeepLearningForBlueShark
025206aa7450b7ec86ebab9ca2bbcabe4421af91
[ "MIT" ]
null
null
null
DeepLearningToolKit/Toolkit/Device/cSanTerminalLogAgent.cpp
zxyinz/DeepLearningForBlueShark
025206aa7450b7ec86ebab9ca2bbcabe4421af91
[ "MIT" ]
null
null
null
#include"cSanTerminalLogAgent.h" using namespace std; using namespace San; using namespace San::Device; cSanTerminalLogAgent::cSanTerminalLogAgent(cSanTerminalDevice* pTerminal, const SString &strLogFormat, const SString &strTimeFormat, const SString &strClockFormat) :cSanLogAgent(strLogFormat, strTimeFormat, strClock...
36.415385
200
0.780313
zxyinz
ef35b0f856a99cf84d3194942ef1bc7d6a7f1a32
1,124
cpp
C++
examples/xtd.forms.examples/others/auto_scroll/src/auto_scroll.cpp
BaderEddineOuaich/xtd
6f28634c7949a541d183879d2de18d824ec3c8b1
[ "MIT" ]
1
2022-02-25T16:53:06.000Z
2022-02-25T16:53:06.000Z
examples/xtd.forms.examples/others/auto_scroll/src/auto_scroll.cpp
leanid/xtd
2e1ea6537218788ca08901faf8915d4100990b53
[ "MIT" ]
null
null
null
examples/xtd.forms.examples/others/auto_scroll/src/auto_scroll.cpp
leanid/xtd
2e1ea6537218788ca08901faf8915d4100990b53
[ "MIT" ]
null
null
null
#include <xtd/xtd> using namespace xtd; using namespace xtd::drawing; using namespace xtd::forms; int main() { form form_main; form_main.text("Auto scroll example"); form_main.size({400, 250}); form_main.auto_scroll(true); panel panel1; panel1.parent(form_main); panel1.back_color(color::light_salmon)...
24.977778
50
0.744662
BaderEddineOuaich
ef375ecf7949d6bb30307a017cdb39c1f9ee191a
20,198
cpp
C++
app/src/main/cpp/operators/sprk_exchange_common_measurement_op.cpp
techsoft3d/android_training
16663e03dbc0770d71efc26611d040f04f0e1a31
[ "MIT" ]
null
null
null
app/src/main/cpp/operators/sprk_exchange_common_measurement_op.cpp
techsoft3d/android_training
16663e03dbc0770d71efc26611d040f04f0e1a31
[ "MIT" ]
null
null
null
app/src/main/cpp/operators/sprk_exchange_common_measurement_op.cpp
techsoft3d/android_training
16663e03dbc0770d71efc26611d040f04f0e1a31
[ "MIT" ]
null
null
null
// Copyright (c) Tech Soft 3D, Inc. // // The information contained herein is confidential and proprietary to Tech Soft 3D, Inc., // and considered a trade secret as defined under civil and criminal statutes. // Tech Soft 3D, Inc. shall pursue its civil and criminal remedies in the event of // unauthorized use or misap...
37.682836
170
0.779978
techsoft3d
ef3b99341f83607024989d3fdc204a24de7781ce
1,316
hpp
C++
include/nana/audio/detail/audio_device.hpp
bacusters/nana
1ed7702790e54388f8299b34a8279690ab733b97
[ "BSL-1.0" ]
92
2016-09-18T14:37:22.000Z
2022-01-27T19:55:00.000Z
include/nana/audio/detail/audio_device.hpp
bacusters/nana
1ed7702790e54388f8299b34a8279690ab733b97
[ "BSL-1.0" ]
2
2017-04-16T17:05:20.000Z
2017-04-17T21:18:06.000Z
include/nana/audio/detail/audio_device.hpp
bacusters/nana
1ed7702790e54388f8299b34a8279690ab733b97
[ "BSL-1.0" ]
10
2016-09-23T02:32:01.000Z
2021-12-20T11:43:48.000Z
#ifndef NANA_AUDIO_DETAIL_AUDIO_DEVICE_HPP #define NANA_AUDIO_DETAIL_AUDIO_DEVICE_HPP #include <nana/deploy.hpp> #ifdef NANA_ENABLE_AUDIO #include <nana/audio/detail/buffer_preparation.hpp> #include <vector> #if defined(NANA_WINDOWS) #include <windows.h> #elif defined(NANA_LINUX) #include <alsa/asoundlib.h> #endi...
23.087719
111
0.74924
bacusters
ef3d1d96e177faf6e9f88c1caa261f53d8445765
433
hpp
C++
visual_studio/visual_studio/oxi/scene/object/gate_factory.hpp
collus-corn/oxi
93e00c51c00f78cb3d09aa9c890e98c1a572af3a
[ "MIT" ]
null
null
null
visual_studio/visual_studio/oxi/scene/object/gate_factory.hpp
collus-corn/oxi
93e00c51c00f78cb3d09aa9c890e98c1a572af3a
[ "MIT" ]
null
null
null
visual_studio/visual_studio/oxi/scene/object/gate_factory.hpp
collus-corn/oxi
93e00c51c00f78cb3d09aa9c890e98c1a572af3a
[ "MIT" ]
null
null
null
#pragma once #include "../i_gate_factory.hpp" namespace oxi { class IController; namespace scene { namespace object { class GateFactory :public IGateFactory { private: std::shared_ptr<IController> controller_; public: explicit GateFactory(std::shared_ptr<IController> controller) :controlle...
18.826087
93
0.709007
collus-corn
ef3f708f23f6259f3b3fc8473a82c1443bfc43df
7,675
cpp
C++
FilterImage.cpp
DanielMoya123/DFT
52769c7488c79743872ec2136a54e286580830c2
[ "MIT" ]
null
null
null
FilterImage.cpp
DanielMoya123/DFT
52769c7488c79743872ec2136a54e286580830c2
[ "MIT" ]
null
null
null
FilterImage.cpp
DanielMoya123/DFT
52769c7488c79743872ec2136a54e286580830c2
[ "MIT" ]
null
null
null
#include "FilterImage.h" /***************************** * * NameSpaces * * ****************************/ using namespace std; /****************************************************** * * Constructor of the class * * **********************************************/ FilterImage::FilterImage(void) {} /*****...
24.442675
128
0.546971
DanielMoya123
ef4294816014a417d42069f0b78948700a94b39b
13,512
cpp
C++
test/test_swarm_master.cpp
Rishabh96M/Swarm-Automation-for-Warehouses
904b8edba394cde65a68059648c1727cc2c70190
[ "MIT" ]
null
null
null
test/test_swarm_master.cpp
Rishabh96M/Swarm-Automation-for-Warehouses
904b8edba394cde65a68059648c1727cc2c70190
[ "MIT" ]
null
null
null
test/test_swarm_master.cpp
Rishabh96M/Swarm-Automation-for-Warehouses
904b8edba394cde65a68059648c1727cc2c70190
[ "MIT" ]
2
2021-12-03T19:55:22.000Z
2021-12-11T15:20:22.000Z
/** * @file test_swarm_master.cpp * @author Dani Lerner (dalerner@umd.edu) * @brief Tests for the swarm master * @version 0.1 * @date 2021-12-05 * * @copyright Copyright (c) 2021 TBD * */ #include <iostream> #include <array> #include <gtest/gtest.h> #include "../include/structs/task.hpp" #include "../includ...
43.728155
101
0.695752
Rishabh96M
ef446128ea4cfa7c68888c8fe5ae20616dce99a9
15,534
cc
C++
src/lnav_config.cc
emilianobonassi/lnav
37f46af7a691192fba4a889e4e4da6cbfcaac8e4
[ "BSD-2-Clause" ]
null
null
null
src/lnav_config.cc
emilianobonassi/lnav
37f46af7a691192fba4a889e4e4da6cbfcaac8e4
[ "BSD-2-Clause" ]
null
null
null
src/lnav_config.cc
emilianobonassi/lnav
37f46af7a691192fba4a889e4e4da6cbfcaac8e4
[ "BSD-2-Clause" ]
null
null
null
/** * Copyright (c) 2013, Timothy Stack * * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * * Redistributions of source code must retain the above copyright notice, this * list of condi...
31.318548
120
0.604094
emilianobonassi
ef5239b8da270f13ec2e6cbbe3fe961b3a642826
1,782
hh
C++
sdf/include/ignition/physics/sdf/ConstructModel.hh
diegoferigo/ign-physics
8f0d8ce3229f53fbf4e05cb0273530169e6d9fef
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
sdf/include/ignition/physics/sdf/ConstructModel.hh
diegoferigo/ign-physics
8f0d8ce3229f53fbf4e05cb0273530169e6d9fef
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
sdf/include/ignition/physics/sdf/ConstructModel.hh
diegoferigo/ign-physics
8f0d8ce3229f53fbf4e05cb0273530169e6d9fef
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
/* * Copyright (C) 2018 Open Source Robotics Foundation * * 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...
28.741935
75
0.718294
diegoferigo
ef5590bd8a78f98a555517dd3bb0d7fc0fa5ffdd
9,397
hpp
C++
minimal_sdk/public/istudiorender.hpp
vocweb/cso2-launcher
abc144acaa3dfb5b0c9acd61cd75970cac012617
[ "MIT" ]
55
2018-09-01T17:52:17.000Z
2019-09-23T10:30:49.000Z
minimal_sdk/public/istudiorender.hpp
RedheatWei/cso2-launcher
4cebbb98d51d33bd24c9a86a1d3fc311686d5011
[ "MIT" ]
70
2018-08-22T05:53:34.000Z
2019-09-23T15:11:39.000Z
minimal_sdk/public/istudiorender.hpp
RedheatWei/cso2-launcher
4cebbb98d51d33bd24c9a86a1d3fc311686d5011
[ "MIT" ]
39
2018-09-01T21:42:50.000Z
2019-09-23T18:38:07.000Z
#pragma once #include "appframework/iappsystem.hpp" #include "datacache/imdlcache.hpp" class CUtlBuffer; class IMaterial; class IMaterialSystem; class ITexture; class Vector; class Vector4D; class VMatrix; struct FlashlightState_t; struct LightDesc_t; struct Ray_t; struct studiohdr_t; struct studiohwdata_t; struct m...
39.317992
80
0.663403
vocweb
ef5c883a19f150c37e50bc0362fdaa740982e9a2
3,805
cpp
C++
src/examples/exampleVectorProcessor.cpp
elinjammal/opensmile
0ae2da44e61744ff1aaa9bae2b95d747febb08de
[ "W3C" ]
245
2020-10-24T16:27:13.000Z
2022-03-31T03:01:11.000Z
src/examples/exampleVectorProcessor.cpp
elinjammal/opensmile
0ae2da44e61744ff1aaa9bae2b95d747febb08de
[ "W3C" ]
41
2021-01-13T11:30:42.000Z
2022-01-14T14:36:11.000Z
src/examples/exampleVectorProcessor.cpp
elinjammal/opensmile
0ae2da44e61744ff1aaa9bae2b95d747febb08de
[ "W3C" ]
43
2020-12-11T15:28:19.000Z
2022-03-20T11:55:58.000Z
/*F*************************************************************************** * This file is part of openSMILE. * * Copyright (c) audEERING GmbH. All rights reserved. * See the file COPYING for details on license terms. ***************************************************************************E*/ /* openSMIL...
25.709459
145
0.708279
elinjammal
ef5dc8eff51fa298192f4e9d541f7214aa0063dc
11,929
cpp
C++
lib/TextInput.cpp
idigdoug/TextTools
3cc9b5867b938eebf78bd85f794d3ce8feaae4f3
[ "MIT" ]
null
null
null
lib/TextInput.cpp
idigdoug/TextTools
3cc9b5867b938eebf78bd85f794d3ce8feaae4f3
[ "MIT" ]
null
null
null
lib/TextInput.cpp
idigdoug/TextTools
3cc9b5867b938eebf78bd85f794d3ce8feaae4f3
[ "MIT" ]
null
null
null
// Copyright (c) Doug Cook. // Licensed under the MIT License. #include "pch.h" #include <TextInput.h> #include <CodePageInfo.h> #include "ByteOrderMark.h" #include "Utility.h" #include <stdexcept> #include <assert.h> #include <stdio.h> using namespace TextToolsImpl; static constexpr unsigned ReadMax...
25.598712
107
0.568614
idigdoug
ef61c26742b4568325930bfe82517150ccbc08e4
5,265
hh
C++
src/game/resources.hh
nilium/snow
296466e49fd5ebd8d4d40dbf96b14903daa705a8
[ "Zlib", "BSD-2-Clause" ]
4
2015-10-01T20:10:20.000Z
2021-08-28T23:43:33.000Z
src/game/resources.hh
nilium/snow
296466e49fd5ebd8d4d40dbf96b14903daa705a8
[ "Zlib", "BSD-2-Clause" ]
null
null
null
src/game/resources.hh
nilium/snow
296466e49fd5ebd8d4d40dbf96b14903daa705a8
[ "Zlib", "BSD-2-Clause" ]
null
null
null
/* resources.hh -- Copyright (c) 2013 Noel Cower. All rights reserved. See COPYING under the project root for the source code license. If this file is not present, refer to <https://raw.github.com/nilium/snow/master/COPYING>. */ #ifndef __SNOW__RESOURCES_HH__ #define __SNOW__RESOURCES_HH__ #include "../config.hh...
28.928571
192
0.7415
nilium
ef639f485d0d520752c3987ea610f6d946308660
153
cpp
C++
level-editor/Config.cpp
lukas-vaiciunas/haterminator
7f42e5a4ed4c5dee21368859989b74ba6c80898b
[ "MIT" ]
null
null
null
level-editor/Config.cpp
lukas-vaiciunas/haterminator
7f42e5a4ed4c5dee21368859989b74ba6c80898b
[ "MIT" ]
null
null
null
level-editor/Config.cpp
lukas-vaiciunas/haterminator
7f42e5a4ed4c5dee21368859989b74ba6c80898b
[ "MIT" ]
null
null
null
#include "Config.h" namespace Config { const unsigned int displayWidth = 1600; const unsigned int displayHeight = 900; const unsigned int fps = 60; }
19.125
40
0.745098
lukas-vaiciunas
ef69d5b09b740143ea36afd4a84bd5dd06162b43
771
hh
C++
pegtl/analysis/grammar_info.hh
InspectorWidget/PEGTL
1f2c5bb8d43a9412fa7eeeb76a945fc5229500bc
[ "MIT" ]
9
2017-05-09T14:22:57.000Z
2018-04-25T11:48:54.000Z
ChatAssistant_iOS/Carthage/Checkouts/realm-cocoa/Realm/ObjectStore/external/pegtl/pegtl/analysis/grammar_info.hh
RickeyBoy/HACKxSJTU_ChatAssistant
12768c8b6710adb582aec6c3b40613eedc3dfeb2
[ "Apache-2.0" ]
null
null
null
ChatAssistant_iOS/Carthage/Checkouts/realm-cocoa/Realm/ObjectStore/external/pegtl/pegtl/analysis/grammar_info.hh
RickeyBoy/HACKxSJTU_ChatAssistant
12768c8b6710adb582aec6c3b40613eedc3dfeb2
[ "Apache-2.0" ]
1
2019-02-11T20:59:42.000Z
2019-02-11T20:59:42.000Z
// Copyright (c) 2014-2015 Dr. Colin Hirsch and Daniel Frey // Please see LICENSE for license or visit https://github.com/ColinH/PEGTL/ #ifndef PEGTL_ANALYSIS_GRAMMAR_INFO_HH #define PEGTL_ANALYSIS_GRAMMAR_INFO_HH #include <map> #include <string> #include <utility> #include "../internal/demangle.hh" #include "rule_...
21.416667
102
0.640726
InspectorWidget
ef72a0d4da9b7cf331cbc7b131ca387edeaf25a8
33,713
cpp
C++
src/validate/chain_cache.cpp
eveybcd/BitcoinDiamond
ad08a18a13fb29cbf6d7b5a17c1632c5528a5f58
[ "MIT" ]
126
2017-12-21T07:17:47.000Z
2021-06-05T03:46:52.000Z
src/validate/chain_cache.cpp
Matthelonianxl/BitcoinDiamond
ad08a18a13fb29cbf6d7b5a17c1632c5528a5f58
[ "MIT" ]
63
2017-12-21T14:43:04.000Z
2021-11-18T03:43:35.000Z
src/validate/chain_cache.cpp
Matthelonianxl/BitcoinDiamond
ad08a18a13fb29cbf6d7b5a17c1632c5528a5f58
[ "MIT" ]
87
2017-12-21T07:17:50.000Z
2021-06-18T23:39:16.000Z
// Copyright (c) 2019 The BCD Core developers #include <validate/chain_cache.h> #include <validate/cchain_state.h> bool fRequireStandard = true; CFeeRate minRelayTxFee = CFeeRate(DEFAULT_MIN_RELAY_TX_FEE); // Used to avoid mempool polluting consensus critical paths if CCoinsViewMempool // were somehow broken and r...
49.432551
173
0.620473
eveybcd
ef73c47429c754ba759c2c5df0e3ff807e0c50b2
391
hpp
C++
src/textureholder.hpp
alexandre-janniaux/ludumdare_radonnykoteam
3f79bf4fab46eb5d380640714cfd341bbd37bc9b
[ "MIT" ]
null
null
null
src/textureholder.hpp
alexandre-janniaux/ludumdare_radonnykoteam
3f79bf4fab46eb5d380640714cfd341bbd37bc9b
[ "MIT" ]
null
null
null
src/textureholder.hpp
alexandre-janniaux/ludumdare_radonnykoteam
3f79bf4fab46eb5d380640714cfd341bbd37bc9b
[ "MIT" ]
null
null
null
#pragma once #include "ressourceholder.hpp" #include <SFML/Graphics.hpp> namespace Texture { enum ID { Branch , OffensiveLadybug , DefensiveLadybug , NormalLadybug , Aphid , Background , RegularFlower , AphidFlower , LadybugFlower , NodeFlower , None }; } class TextureHolder: public ResourceHolder<...
14.481481
68
0.693095
alexandre-janniaux
ef7b6c12f9ad25567d48e150becab924d3b11f8a
3,187
cpp
C++
source/EterLib/GrpVertexBuffer.cpp
beetle2k/Metin2Client
114f492b71fcc90e8f5010c5b35b9fddb51639ca
[ "MIT" ]
13
2018-08-27T19:06:54.000Z
2021-11-12T05:44:04.000Z
source/EterLib/GrpVertexBuffer.cpp
stempomzeskas/Metin2Client
114f492b71fcc90e8f5010c5b35b9fddb51639ca
[ "MIT" ]
null
null
null
source/EterLib/GrpVertexBuffer.cpp
stempomzeskas/Metin2Client
114f492b71fcc90e8f5010c5b35b9fddb51639ca
[ "MIT" ]
15
2018-10-25T14:28:10.000Z
2022-03-25T14:05:09.000Z
#include "StdAfx.h" #include "../eterBase/Stl.h" #include "GrpVertexBuffer.h" #include "StateManager.h" int CGraphicVertexBuffer::GetVertexStride() const { int retSize = D3DXGetFVFVertexSize(m_dwFVF); return retSize; } DWORD CGraphicVertexBuffer::GetFlexibleVertexFormat() const { return m_dwFVF; } int CGraphicVer...
17.705556
88
0.73235
beetle2k
ef7dcd436bf751f598b613884290cc141a6cda56
1,054
cpp
C++
Shoot/src/OpenGL/OpenGLExtensionHandler.cpp
franticsoftware/starports
d723404b20383949874868c251c60cfa06120fde
[ "MIT" ]
5
2016-11-13T08:13:57.000Z
2019-03-31T10:22:38.000Z
Shoot/src/OpenGL/OpenGLExtensionHandler.cpp
franticsoftware/starports
d723404b20383949874868c251c60cfa06120fde
[ "MIT" ]
null
null
null
Shoot/src/OpenGL/OpenGLExtensionHandler.cpp
franticsoftware/starports
d723404b20383949874868c251c60cfa06120fde
[ "MIT" ]
1
2016-12-23T11:25:35.000Z
2016-12-23T11:25:35.000Z
/* Amine Rehioui Created: August 15th 2010 Uses code from the Irrlicht engine extension handler */ #include "Shoot.h" #include "OpenGLExtensionHandler.h" namespace shoot { //! Constructor OpenGLExtensionHandler::OpenGLExtensionHandler(const char* const strExtensionStrings[E_Count]) { const char* strExtensi...
17
96
0.617647
franticsoftware
ef7fff08c24ba7f32e0206dd6c1ac9873f9b4f7c
1,577
cpp
C++
src/mpieventdistributor.cpp
j0r1/EATk
4ce34a030e21925532d2725cbb9460b19442424c
[ "MIT" ]
null
null
null
src/mpieventdistributor.cpp
j0r1/EATk
4ce34a030e21925532d2725cbb9460b19442424c
[ "MIT" ]
null
null
null
src/mpieventdistributor.cpp
j0r1/EATk
4ce34a030e21925532d2725cbb9460b19442424c
[ "MIT" ]
null
null
null
#include "mpieventdistributor.h" #ifdef EATKCONFIG_MPISUPPORT #include <string> using namespace errut; using namespace std; namespace eatk { MPIEventDistributor::MPIEventDistributor(int root, MPI_Comm communicator) : m_comm(communicator), m_root(root) { m_handlers.resize(MPIEventHandler::MaxEvent); } MPIEventDi...
23.191176
96
0.707039
j0r1
ef84cf069f894f9989aa63193e4df94b42644b57
2,532
cpp
C++
Engine/src/Engine/Core/IMGUI/IMGUI.cpp
rogerbusquets97/OpenGL_RayMarcher
d1b37ebed66baa56a50441f0e41299064ac16249
[ "Apache-2.0" ]
null
null
null
Engine/src/Engine/Core/IMGUI/IMGUI.cpp
rogerbusquets97/OpenGL_RayMarcher
d1b37ebed66baa56a50441f0e41299064ac16249
[ "Apache-2.0" ]
4
2020-06-09T14:16:43.000Z
2020-06-09T14:18:07.000Z
Engine/src/Engine/Core/IMGUI/IMGUI.cpp
rogerbusquets97/RubEngine
d1b37ebed66baa56a50441f0e41299064ac16249
[ "Apache-2.0" ]
null
null
null
#include "IMGUI.h" #include <Renderer/RenderAPI.h> #include <Window/ModuleWindow.h> namespace rubEngine { std::shared_ptr<ImGuiPlatformHandler> IMGUI::mHandler = nullptr; int IMGUI::mWindowFlags = 0; bool IMGUI::mFrameClosed = true; void rubEngine::IMGUI::Init() { mHandler = ImGuiPlatformHandler::Create(); m...
23.663551
130
0.727093
rogerbusquets97
ef888e845da652b0207a751f7a86762c67c50348
2,097
cpp
C++
src/Pass/Passes/LocateASTNodes.cpp
schwarzschild-radius/spmdfy
9b5543e3446347277f15b9fe2aee3c7f8311bc78
[ "MIT" ]
6
2019-07-26T12:37:32.000Z
2021-03-13T06:18:07.000Z
src/Pass/Passes/LocateASTNodes.cpp
schwarzschild-radius/spmdfy
9b5543e3446347277f15b9fe2aee3c7f8311bc78
[ "MIT" ]
6
2019-06-19T06:04:01.000Z
2019-08-23T11:12:31.000Z
src/Pass/Passes/LocateASTNodes.cpp
schwarzschild-radius/spmdfy
9b5543e3446347277f15b9fe2aee3c7f8311bc78
[ "MIT" ]
1
2020-05-28T06:43:12.000Z
2020-05-28T06:43:12.000Z
#include <spmdfy/Pass/Passes/LocateASTNodes.hpp> namespace spmdfy { namespace pass { #define CFGNODE_DEF_VISITOR(NODE, NAME) \ auto LocateASTNodes::Visit##NODE##Node(cfg::NODE##Node *NAME)->bool #define CASTAS(TYPE, NODE) dynamic_cast<TYPE>(NODE) bool locateASTNodes(SpmdT...
36.155172
80
0.632809
schwarzschild-radius
ef89a0bc9b7a02957c4fc4ce270166259f2b0899
9,309
cpp
C++
examples/boxbash/BoxCommands.cpp
slashdotted/dropboxQt
63d43fa882cec8fb980a2aab2464a2d7260b8089
[ "MIT" ]
17
2016-12-03T09:12:29.000Z
2020-06-20T22:08:44.000Z
examples/boxbash/BoxCommands.cpp
slashdotted/dropboxQt
63d43fa882cec8fb980a2aab2464a2d7260b8089
[ "MIT" ]
8
2017-01-05T17:50:16.000Z
2021-08-06T18:56:29.000Z
examples/boxbash/BoxCommands.cpp
slashdotted/dropboxQt
63d43fa882cec8fb980a2aab2464a2d7260b8089
[ "MIT" ]
8
2017-09-13T17:28:40.000Z
2020-07-27T00:41:44.000Z
#include <iostream> #include <functional> #include <QBuffer> #include <QFile> #include <QFileInfo> #include "BoxCommands.h" #include "dropbox/DropboxClient.h" #include "dropbox/files/FilesRoutes.h" #include "dropbox/users/UsersRoutes.h" using namespace dropboxQt; BoxCommands::BoxCommands(DropboxClient& c):m_c(c) { ...
29.741214
160
0.486948
slashdotted
ef8ae52f7f3e079105846a97a40d5663f0fd20e8
1,957
cpp
C++
ScheduleOptimisation/LayoutPlanning/LayoutPlanningCP/LayoutPlanningCP/Rectangle.cpp
encosoftware/ifps
f246abb8c4c9e0aa700c2dfb657f639410b5e861
[ "MIT" ]
null
null
null
ScheduleOptimisation/LayoutPlanning/LayoutPlanningCP/LayoutPlanningCP/Rectangle.cpp
encosoftware/ifps
f246abb8c4c9e0aa700c2dfb657f639410b5e861
[ "MIT" ]
null
null
null
ScheduleOptimisation/LayoutPlanning/LayoutPlanningCP/LayoutPlanningCP/Rectangle.cpp
encosoftware/ifps
f246abb8c4c9e0aa700c2dfb657f639410b5e861
[ "MIT" ]
null
null
null
#include "Rectangle.hpp" namespace operations_research { bool Rectangle::DescArea(const Rectangle &a, const Rectangle &b) { return a.Area > b.Area; } bool Rectangle::AscOrder(const Rectangle &a, const Rectangle &b) { // TODO - by deadline! return a.OrderGuid < b.OrderGuid; } void Rectangle::Print(std::of...
29.208955
151
0.638222
encosoftware
ef90a0129a6ee2140f0d1e45375aa5bc0a6f51fc
4,188
cc
C++
src/xzero/JsonWriter.cc
pjsaksa/x0
96b69e5a54b006e3d929b9934c2708f7967371bb
[ "MIT" ]
24
2016-07-10T08:05:11.000Z
2021-11-16T10:53:48.000Z
src/xzero/JsonWriter.cc
pjsaksa/x0
96b69e5a54b006e3d929b9934c2708f7967371bb
[ "MIT" ]
14
2015-04-12T10:45:26.000Z
2016-06-28T22:27:50.000Z
src/xzero/JsonWriter.cc
pjsaksa/x0
96b69e5a54b006e3d929b9934c2708f7967371bb
[ "MIT" ]
4
2016-10-05T17:51:38.000Z
2020-04-20T07:45:23.000Z
// This file is part of the "x0" project, http://github.com/christianparpart/x0> // (c) 2009-2018 Christian Parpart <christian@parpart.family> // // Licensed under the MIT License (the "License"); you may not use this // file except in compliance with the License. You may obtain a copy of // the License at: http://op...
18.208696
80
0.594317
pjsaksa
ef91ec9db472e83f4768cc030a08a16dac4cab4d
289
cpp
C++
ListV2/List.cpp
Tientuine/mccs-cpp-lists
580d965c7a95b7c30c570a2133ba8d07b98b356d
[ "MIT" ]
null
null
null
ListV2/List.cpp
Tientuine/mccs-cpp-lists
580d965c7a95b7c30c570a2133ba8d07b98b356d
[ "MIT" ]
null
null
null
ListV2/List.cpp
Tientuine/mccs-cpp-lists
580d965c7a95b7c30c570a2133ba8d07b98b356d
[ "MIT" ]
null
null
null
#ifndef HPP_PRELUDE_LIST #define HPP_PRELUDE_LIST #include <tuple> #include <memory> /** * Implementation of Haskell-like, functional programming idioms, particularly recursive Lists. */ namespace prelude { template <typename T> using List = std::pair<T,std::shared_ptr<List<T>>; }
17
95
0.750865
Tientuine
ef92cb44e5e6bfdf027572e46c182958765f0894
873
cpp
C++
61-70/61. Rotate List.cpp
zzuliLL/Leetcode-
a14fe1188da008a39d7aaf4e142ee582493b7c60
[ "MIT" ]
null
null
null
61-70/61. Rotate List.cpp
zzuliLL/Leetcode-
a14fe1188da008a39d7aaf4e142ee582493b7c60
[ "MIT" ]
null
null
null
61-70/61. Rotate List.cpp
zzuliLL/Leetcode-
a14fe1188da008a39d7aaf4e142ee582493b7c60
[ "MIT" ]
null
null
null
//如果k大于链表长度时,应该旋转 k%len //一个快指针,一个慢指针,快的指针比慢的先走k个,这样当快的指针走到NULL时,慢的刚好是倒数第k个 /** * Definition for singly-linked list. * struct ListNode { * int val; * ListNode *next; * ListNode(int x) : val(x), next(NULL) {} * }; */ class Solution { public: ListNode* rotateRight(ListNode* head, int k) { i...
21.292683
51
0.43299
zzuliLL
ef92cc7777eb61a431d69abde8fbd4c3f6d262fb
2,009
hpp
C++
include/srutil/event/event.hpp
Offirmo/impossibly-fast-delegates
ca81204601ef7aef030bd6b8d52bb9fe06676575
[ "MIT" ]
9
2015-08-31T02:28:27.000Z
2021-06-22T16:13:32.000Z
include/srutil/event/event.hpp
Offirmo/impossibly-fast-delegates
ca81204601ef7aef030bd6b8d52bb9fe06676575
[ "MIT" ]
7
2015-11-27T16:34:42.000Z
2016-05-07T18:29:24.000Z
include/srutil/event/event.hpp
Offirmo/impossibly-fast-delegates
ca81204601ef7aef030bd6b8d52bb9fe06676575
[ "MIT" ]
1
2016-12-31T03:59:46.000Z
2016-12-31T03:59:46.000Z
/* (c) Sergey Ryazanov (http://home.onego.ru/~ryazanov) Fast delegate compatible with C++ Standard. */ #ifndef SRUTIL_EVENT_INCLUDED #define SRUTIL_EVENT_INCLUDED namespace srutil { template <typename TSink> class event_source; template <typename TSink> class event_binder; template <typename TSink> class event_...
21.37234
103
0.699353
Offirmo
ef978feccc4c5c1a0d45253580712810a59e3e6f
64
cpp
C++
kernel/cpuid.cpp
leakingmemory/jeokernel
7c2413921cc2d30eef2b340de4efed66d41afeb1
[ "MIT" ]
null
null
null
kernel/cpuid.cpp
leakingmemory/jeokernel
7c2413921cc2d30eef2b340de4efed66d41afeb1
[ "MIT" ]
null
null
null
kernel/cpuid.cpp
leakingmemory/jeokernel
7c2413921cc2d30eef2b340de4efed66d41afeb1
[ "MIT" ]
null
null
null
// // Created by sigsegv on 26.04.2021. // #include <cpuid.h>
9.142857
36
0.609375
leakingmemory
aab74e9706bc8e4278c879ea789dd97b0c413a4c
1,132
cpp
C++
D01/ex05/Human.cpp
amoinier/piscine-cpp
43d4806d993eb712f49a32e54646d8c058a569ea
[ "MIT" ]
null
null
null
D01/ex05/Human.cpp
amoinier/piscine-cpp
43d4806d993eb712f49a32e54646d8c058a569ea
[ "MIT" ]
null
null
null
D01/ex05/Human.cpp
amoinier/piscine-cpp
43d4806d993eb712f49a32e54646d8c058a569ea
[ "MIT" ]
null
null
null
/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* Human.cpp :+: :+: :+: ...
33.294118
80
0.225265
amoinier
aabf91638663ae968b12400a15a1232138299afc
9,824
cpp
C++
PyMieSim/includes/LMT/Cylinder.cpp
MartinPdS/PyMieSim
2560c7f4009df5d05bcb0ce8e929aa7baa7be8de
[ "MIT" ]
6
2021-02-11T17:53:40.000Z
2021-12-11T20:20:01.000Z
PyMieSim/includes/LMT/Cylinder.cpp
MartinPdS/PyMieSim
2560c7f4009df5d05bcb0ce8e929aa7baa7be8de
[ "MIT" ]
6
2021-05-12T04:33:26.000Z
2021-11-14T05:25:19.000Z
PyMieSim/includes/LMT/Cylinder.cpp
MartinPdS/PyMieSim
2560c7f4009df5d05bcb0ce8e929aa7baa7be8de
[ "MIT" ]
3
2021-05-10T19:46:42.000Z
2021-06-01T19:52:14.000Z
#ifndef CYLINDER_H #define CYLINDER_H #include "includes/SpecialFunc.h" #include "includes/utils.h" #include "includes/BaseScatterer.hpp" #include "includes/States.hpp" namespace CYLINDER { struct State : public BaseState { State(){}; State(const double &Wavelength, cons...
26.408602
102
0.531963
MartinPdS
aabfc00c49b8c600b1620723baa6f732709f2338
11,463
cpp
C++
exodus/libexodus/exodus/naturalorder.cpp
rdmenezes/exodusdb
f732e366b74ff4697890ec0682bc3697b8cb0bfb
[ "MIT" ]
null
null
null
exodus/libexodus/exodus/naturalorder.cpp
rdmenezes/exodusdb
f732e366b74ff4697890ec0682bc3697b8cb0bfb
[ "MIT" ]
null
null
null
exodus/libexodus/exodus/naturalorder.cpp
rdmenezes/exodusdb
f732e366b74ff4697890ec0682bc3697b8cb0bfb
[ "MIT" ]
null
null
null
//copied in pgexodus and exodus - please keep in sync 1 #include <cstring> #include <sstream> #include <cassert> namespace exodus { //select exodus_extract_text(data,1,0,0), exodus_extract_sort(data,1,0,0) //from test_alphanum order by exodus_extract_sort(data,1,0,0) /* lexicographical sorting of numbers...
38.083056
268
0.71299
rdmenezes
aac43fc55e1c4910fbb5cd63f4bcf17af02c5156
1,085
hpp
C++
hiro/core/widget/table-view-item.hpp
13824125580/higan
fbdd3f980b65412c362096579869ae76730e4118
[ "Intel", "ISC" ]
10
2019-12-19T01:19:41.000Z
2021-02-18T16:30:29.000Z
hiro/core/widget/table-view-item.hpp
13824125580/higan
fbdd3f980b65412c362096579869ae76730e4118
[ "Intel", "ISC" ]
null
null
null
hiro/core/widget/table-view-item.hpp
13824125580/higan
fbdd3f980b65412c362096579869ae76730e4118
[ "Intel", "ISC" ]
1
2021-03-22T16:15:30.000Z
2021-03-22T16:15:30.000Z
#if defined(Hiro_TableView) struct mTableViewItem : mObject { Declare(TableViewItem) auto alignment() const -> Alignment; auto append(sTableViewCell cell) -> type&; auto backgroundColor() const -> Color; auto cell(uint position) const -> TableViewCell; auto cellCount() const -> uint; auto cells() const -...
31
79
0.687558
13824125580
aacc5c6302bffe27680b2bcb522a23b5a0ea2fae
933
cpp
C++
PAT_B/PAT_B1077.cpp
EnhydraGod/PATCode
ff38ea33ba319af78b3aeba8aa6c385cc5e8329f
[ "BSD-2-Clause" ]
3
2019-07-08T05:20:28.000Z
2021-09-22T10:53:26.000Z
PAT_B/PAT_B1077.cpp
EnhydraGod/PATCode
ff38ea33ba319af78b3aeba8aa6c385cc5e8329f
[ "BSD-2-Clause" ]
null
null
null
PAT_B/PAT_B1077.cpp
EnhydraGod/PATCode
ff38ea33ba319af78b3aeba8aa6c385cc5e8329f
[ "BSD-2-Clause" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int n, m, teaScore, tempScore, minScore, maxScore, tempCount; double totalScore, tempTotScore; int main() { scanf("%d%d", &n, &m); for (int i = 0; i < n; i++) { totalScore = tempTotScore = 0; minScore = m + 1; maxScore = -1; temp...
30.096774
82
0.524116
EnhydraGod
aacd921b6225bd8a4b1afd90df409a741d71d261
473
cpp
C++
worker/src/Master/Loop.cpp
idarkblue/mediasoup
f77bbd3680c122a2a4f15836b746e53e4b8571d0
[ "0BSD" ]
null
null
null
worker/src/Master/Loop.cpp
idarkblue/mediasoup
f77bbd3680c122a2a4f15836b746e53e4b8571d0
[ "0BSD" ]
null
null
null
worker/src/Master/Loop.cpp
idarkblue/mediasoup
f77bbd3680c122a2a4f15836b746e53e4b8571d0
[ "0BSD" ]
null
null
null
#include "Master/Log.hpp" #include "Master/Loop.hpp" #define PMS_CLASS "pingos::Loop" namespace pingos { uv_loop_t *Loop::loop = nullptr; void Loop::ClassInit() { DepLibUV::ClassInit(); } uv_loop_t* Loop::FetchLoop() { loop = DepLibUV::GetLoop(); if (loop == nullptr || uWS::Loop::get(loop) == nullptr) ...
15.258065
61
0.610994
idarkblue
aad1c3e786cbc4bdbf9bf9f53c65661c73f0520d
6,401
cpp
C++
lib/libcpp/Alat/vectoronevariable.cpp
beckerrh/simfemsrc
d857eb6f6f8627412d4f9d89a871834c756537db
[ "MIT" ]
null
null
null
lib/libcpp/Alat/vectoronevariable.cpp
beckerrh/simfemsrc
d857eb6f6f8627412d4f9d89a871834c756537db
[ "MIT" ]
1
2019-01-31T10:59:11.000Z
2019-01-31T10:59:11.000Z
lib/libcpp/Alat/vectoronevariable.cpp
beckerrh/simfemsrc
d857eb6f6f8627412d4f9d89a871834c756537db
[ "MIT" ]
null
null
null
#include "Alat/stringvector.hpp" #include "Alat/vectoronevariable.hpp" #include <cassert> #include <cmath> #include <iomanip> #include <iostream> #include <limits> #include <sstream> using namespace alat; /*----------------------------------------------------------*/ VectorOneVariable::~VectorOneVariable() {}...
34.229947
150
0.58897
beckerrh
aad2068f75904af86573124bf2f2383785a43872
4,508
cpp
C++
src/airmap/rest/authenticator.cpp
thopiekar/airmap-platform-sdk
254aef58adc63fdda080222ba2f42e26c9a6ed03
[ "Apache-2.0" ]
13
2018-09-05T14:35:01.000Z
2021-03-04T07:17:40.000Z
src/airmap/rest/authenticator.cpp
thopiekar/airmap-platform-sdk
254aef58adc63fdda080222ba2f42e26c9a6ed03
[ "Apache-2.0" ]
31
2018-09-06T13:04:03.000Z
2021-11-15T22:46:50.000Z
src/airmap/rest/authenticator.cpp
thopiekar/airmap-platform-sdk
254aef58adc63fdda080222ba2f42e26c9a6ed03
[ "Apache-2.0" ]
12
2018-11-09T10:09:21.000Z
2021-10-08T05:28:12.000Z
// AirMap Platform SDK // Copyright © 2018 AirMap, Inc. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the License); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // Unless requir...
39.54386
108
0.629769
thopiekar
aad4530bbc8626962c48e14e6ba01ced49373a0d
2,299
cpp
C++
src/plugins/azoth/plugins/xoox/mediacall.cpp
Maledictus/leechcraft
79ec64824de11780b8e8bdfd5d8a2f3514158b12
[ "BSL-1.0" ]
120
2015-01-22T14:10:39.000Z
2021-11-25T12:57:16.000Z
src/plugins/azoth/plugins/xoox/mediacall.cpp
Maledictus/leechcraft
79ec64824de11780b8e8bdfd5d8a2f3514158b12
[ "BSL-1.0" ]
8
2015-02-07T19:38:19.000Z
2017-11-30T20:18:28.000Z
src/plugins/azoth/plugins/xoox/mediacall.cpp
Maledictus/leechcraft
79ec64824de11780b8e8bdfd5d8a2f3514158b12
[ "BSL-1.0" ]
33
2015-02-07T16:59:55.000Z
2021-10-12T00:36:40.000Z
/********************************************************************** * LeechCraft - modular cross-platform feature rich internet client. * Copyright (C) 2006-2014 Georg Rudoy * * Distributed under the Boost Software License, Version 1.0. * (See accompanying file LICENSE or copy at https://www.boost.org/LICENSE...
23.701031
90
0.647673
Maledictus
aae054fa11632b5b3b076aee56d282bee92dfdb7
531
cpp
C++
1300/50/1354a.cpp
actium/cf
d7be128c3a9adb014a231a399f1c5f19e1ab2a38
[ "Unlicense" ]
1
2020-07-03T15:55:52.000Z
2020-07-03T15:55:52.000Z
1300/50/1354a.cpp
actium/cf
d7be128c3a9adb014a231a399f1c5f19e1ab2a38
[ "Unlicense" ]
null
null
null
1300/50/1354a.cpp
actium/cf
d7be128c3a9adb014a231a399f1c5f19e1ab2a38
[ "Unlicense" ]
3
2020-10-01T14:55:28.000Z
2021-07-11T11:33:58.000Z
#include <iostream> void answer(long long v) { std::cout << v << '\n'; } void solve(size_t a, size_t b, size_t c, size_t d) { if (a <= b) return answer(b); if (c <= d) return answer(-1); const long long r = c - d; const long long k = (a - b + r - 1) / r; answer(b + k * c); }...
12.95122
50
0.45951
actium
aae0acafa99293414b423b4697996875b280a897
783
cpp
C++
src/plugins/playback/nsf/xgm/devices/Memory/ram64k.cpp
emoon/HippoPlayer
a3145f9797a5ef7dd1b79ee8ccd3476c8c5310a6
[ "Apache-2.0", "MIT" ]
67
2018-01-17T17:18:37.000Z
2020-08-24T23:45:56.000Z
src/plugins/playback/nsf/xgm/devices/Memory/ram64k.cpp
emoon/HippoPlayer
a3145f9797a5ef7dd1b79ee8ccd3476c8c5310a6
[ "Apache-2.0", "MIT" ]
132
2018-01-17T17:43:25.000Z
2020-09-01T07:41:17.000Z
src/plugins/playback/nsf/xgm/devices/Memory/ram64k.cpp
HippoPlayer/HippoPlayer
a3145f9797a5ef7dd1b79ee8ccd3476c8c5310a6
[ "Apache-2.0", "MIT" ]
5
2021-02-12T15:23:31.000Z
2022-01-09T15:16:21.000Z
#include <assert.h> #include <cstring> #include "ram64k.h" namespace xgm { ///////////////////////////////////////////////////////////////////////////// RAM64K::RAM64K() { } RAM64K::~RAM64K() { } void RAM64K::Reset () { memset (image, 0, 0x10000); } bool RAM64K::SetImage (UINT8 * data, UINT32 offset, UINT32 size...
15.979592
77
0.512133
emoon
aae50735cdd514c849864e616abd2f229d99eee8
11,341
cpp
C++
sources/ui/components/SpectrumView.cpp
jpcima/spectacle
540d98ac381400bbf58084e3434cb4f300ad7232
[ "0BSD" ]
44
2020-04-16T19:20:00.000Z
2022-02-27T00:10:13.000Z
sources/ui/components/SpectrumView.cpp
jpcima/spectacle
540d98ac381400bbf58084e3434cb4f300ad7232
[ "0BSD" ]
18
2020-04-16T03:28:55.000Z
2021-11-15T19:49:12.000Z
sources/ui/components/SpectrumView.cpp
jpcima/spectral
540d98ac381400bbf58084e3434cb4f300ad7232
[ "0BSD" ]
3
2020-04-16T01:22:48.000Z
2021-08-10T20:34:30.000Z
#include "SpectrumView.h" #include "ui/FontEngine.h" #include "plugin/ColorPalette.h" #include "Color.hpp" #include "Window.hpp" #include <algorithm> #include <cassert> #if defined(_WIN32) #undef near #endif /// static double mtof(double m) { return 440.0 * std::exp2((m - 69.0) * (1.0 / 12.0)); } static double ft...
25.951945
134
0.586633
jpcima
aae8d354801e511865422b188140376f4c90575e
249
cpp
C++
Source/Portals/Portals.cpp
FreetimeStudio/PortalPlugin
5eac85839f9411cb6a0a04ec2f1686d30eda893e
[ "MIT" ]
73
2017-05-29T17:13:30.000Z
2021-09-06T08:24:41.000Z
Source/Portals/Portals.cpp
getnamo/PortalPlugin
8296ccc167f0a864ac6b42e91244f533599beab3
[ "MIT" ]
12
2017-05-29T11:11:55.000Z
2021-02-11T22:14:27.000Z
Source/Portals/Portals.cpp
getnamo/PortalPlugin
8296ccc167f0a864ac6b42e91244f533599beab3
[ "MIT" ]
19
2017-07-16T17:13:03.000Z
2021-04-10T15:24:48.000Z
// Released under MIT License // Copyright (c) Pascal Krabbe 2017 #include "Portals.h" #include "Modules/ModuleManager.h" IMPLEMENT_PRIMARY_GAME_MODULE( FDefaultGameModuleImpl, Portals, "Portals" ); //Dummy file for host project to compile plugin
27.666667
76
0.783133
FreetimeStudio
aaec661a85fd6e8809dd875e739f3c85a1d2a871
56
cpp
C++
SIF_CONSOLE/Model/DAOCliente.cpp
VitorDiToro/EC206-EngenhariaDeSoftware2
bbe9b1d8fe9fcaa9f8eb4cd7b588a2df4665612c
[ "MIT" ]
null
null
null
SIF_CONSOLE/Model/DAOCliente.cpp
VitorDiToro/EC206-EngenhariaDeSoftware2
bbe9b1d8fe9fcaa9f8eb4cd7b588a2df4665612c
[ "MIT" ]
null
null
null
SIF_CONSOLE/Model/DAOCliente.cpp
VitorDiToro/EC206-EngenhariaDeSoftware2
bbe9b1d8fe9fcaa9f8eb4cd7b588a2df4665612c
[ "MIT" ]
1
2019-11-12T12:47:13.000Z
2019-11-12T12:47:13.000Z
#include "DAOCliente.h" DAOCliente::DAOCliente() { }
7
24
0.678571
VitorDiToro
aaed7e582c2760fdda986bb171bd7551cba883a7
4,439
cpp
C++
sem_2/course_dedinskiy/hashtable/src/un_opt/hashtable.cpp
KingCakeTheFruity/mipt
e32cfe5e53236cdd2933d8b666ca995508300f0f
[ "MIT" ]
null
null
null
sem_2/course_dedinskiy/hashtable/src/un_opt/hashtable.cpp
KingCakeTheFruity/mipt
e32cfe5e53236cdd2933d8b666ca995508300f0f
[ "MIT" ]
null
null
null
sem_2/course_dedinskiy/hashtable/src/un_opt/hashtable.cpp
KingCakeTheFruity/mipt
e32cfe5e53236cdd2933d8b666ca995508300f0f
[ "MIT" ]
null
null
null
#include "hashtable.h" Hashtable::Hashtable() {} Hashtable::~Hashtable() {} RETURN_CODE Hashtable::ctor(const size_t capacity_, const size_t bucket_size_, const float max_loadrate_) { size = 0; capacity = capacity_; bucket_size = bucket_size_; loadrate = 0; max_loadrate = max_loadrate_; overall_data_size = ca...
20.456221
145
0.645641
KingCakeTheFruity
aaef5317b08aa2cde82397230d26d329a75bcff1
6,171
cpp
C++
src/cbag/layout/via_info.cpp
ayan-biswas/cbag
0d08394cf39e90bc3acb4a94fd7b5a6560cf103c
[ "BSD-3-Clause" ]
1
2020-01-07T04:44:17.000Z
2020-01-07T04:44:17.000Z
src/cbag/layout/via_info.cpp
skyworksinc/cbag
0d08394cf39e90bc3acb4a94fd7b5a6560cf103c
[ "BSD-3-Clause" ]
null
null
null
src/cbag/layout/via_info.cpp
skyworksinc/cbag
0d08394cf39e90bc3acb4a94fd7b5a6560cf103c
[ "BSD-3-Clause" ]
1
2020-01-07T04:45:13.000Z
2020-01-07T04:45:13.000Z
#include <algorithm> #include <boost/container_hash/hash.hpp> #include <cbag/layout/via_info.h> #include <cbag/layout/via_param.h> #include <cbag/util/unique_heap.h> namespace cbag { namespace layout { constexpr offset_t MAX_INT = std::numeric_limits<offset_t>::max(); venc_data::venc_data() = default; via_info::v...
33.538043
100
0.548371
ayan-biswas
aaf016f32ce3906c2fa2fce3b6566591d934c872
634
cpp
C++
libtes3/RecordTypes/STAT.cpp
btdavis/libtes3
d10e4adabaf53e3cbd48e8228aa9986fd12480b2
[ "MIT" ]
null
null
null
libtes3/RecordTypes/STAT.cpp
btdavis/libtes3
d10e4adabaf53e3cbd48e8228aa9986fd12480b2
[ "MIT" ]
null
null
null
libtes3/RecordTypes/STAT.cpp
btdavis/libtes3
d10e4adabaf53e3cbd48e8228aa9986fd12480b2
[ "MIT" ]
null
null
null
#include "STAT.h" namespace libtes3 { STAT::STAT(const TES3Record& from) : TES3Record(from) { for (const auto& subrecord : from) { auto reader = subrecord.subrecordData(); if (subrecord.subrecordType() == MakeRecordType('NAME')) { reader.readString(m_name); } else if (subre...
15.85
65
0.596215
btdavis
aaf819927a553c204e0ad1807bbfe5dbb9672f02
61
cpp
C++
Engine/Source/Render/Image/Image.cpp
TzuChieh/XenoGameEngine
69d7524ee05491c8e6f8c45fdb6a12bfcecb4731
[ "MIT" ]
4
2016-09-04T12:58:44.000Z
2020-11-11T15:48:41.000Z
Engine/Source/Render/Image/Image.cpp
TzuChieh/VirtualGameEngine
69d7524ee05491c8e6f8c45fdb6a12bfcecb4731
[ "MIT" ]
1
2016-07-16T15:46:32.000Z
2016-08-05T11:01:16.000Z
Engine/Source/Render/Image/Image.cpp
TzuChieh/VirtualGameEngine
69d7524ee05491c8e6f8c45fdb6a12bfcecb4731
[ "MIT" ]
null
null
null
#include "Image.h" using namespace ve; Image::~Image() { }
7.625
19
0.639344
TzuChieh
aafc1a15e06b2f74f0902b9baf76e3c6fa96f6f4
144
hpp
C++
include/interfaces/ComponentInterface.hpp
Reesy/sdl-tridents-of-ardeus
4e806d6ae64177949b24c5f31ecdffee9588c1d0
[ "MIT" ]
null
null
null
include/interfaces/ComponentInterface.hpp
Reesy/sdl-tridents-of-ardeus
4e806d6ae64177949b24c5f31ecdffee9588c1d0
[ "MIT" ]
null
null
null
include/interfaces/ComponentInterface.hpp
Reesy/sdl-tridents-of-ardeus
4e806d6ae64177949b24c5f31ecdffee9588c1d0
[ "MIT" ]
null
null
null
#pragma once class ComponentInterface { public: virtual ~ComponentInterface() {}; virtual void receive(int message) = 0; };
18
46
0.645833
Reesy
aafdeb64033d6a39c91ea7267f139767ff41a460
468
cpp
C++
pg_answer/c3643232f6924f86abbb2b8d2ce44455.cpp
Guyutongxue/Introduction_to_Computation
062f688fe3ffb8e29cfaf139223e4994edbf64d6
[ "WTFPL" ]
8
2019-10-09T14:33:42.000Z
2020-12-03T00:49:29.000Z
pg_answer/c3643232f6924f86abbb2b8d2ce44455.cpp
Guyutongxue/Introduction_to_Computation
062f688fe3ffb8e29cfaf139223e4994edbf64d6
[ "WTFPL" ]
null
null
null
pg_answer/c3643232f6924f86abbb2b8d2ce44455.cpp
Guyutongxue/Introduction_to_Computation
062f688fe3ffb8e29cfaf139223e4994edbf64d6
[ "WTFPL" ]
null
null
null
#include <iostream> #include <queue> int main() { std::priority_queue<int, std::vector<int>, std::greater<int>> pq; int n; std::cin >> n; for (int i{0}; i < n; i++) { int x; std::cin >> x; pq.push(x); } int total{0}; while (pq.size() > 1) { int a, b; ...
21.272727
69
0.433761
Guyutongxue
c903683a11550250c1beb1a5f92dbded7b7b5d94
6,464
cpp
C++
src/forms/credits/credits.cpp
pooki3bear/ashirt
2ef41fe7b3e6c418d8a83c894d5bc7b23b000811
[ "MIT" ]
32
2020-05-21T16:21:04.000Z
2022-03-17T18:29:41.000Z
src/forms/credits/credits.cpp
pooki3bear/ashirt
2ef41fe7b3e6c418d8a83c894d5bc7b23b000811
[ "MIT" ]
60
2020-06-08T22:02:11.000Z
2022-03-30T12:04:01.000Z
src/forms/credits/credits.cpp
pooki3bear/ashirt
2ef41fe7b3e6c418d8a83c894d5bc7b23b000811
[ "MIT" ]
6
2020-07-07T11:18:52.000Z
2021-10-09T23:39:22.000Z
// Copyright 2020, Verizon Media // Licensed under the terms of MIT. See LICENSE file in project root for terms. #include "credits.h" #include <QDateTime> #include <QKeySequence> #include "helpers/netman.h" #include "helpers/constants.h" struct Attribution { std::string library; std::string libraryUrl; std::s...
32.32
113
0.618502
pooki3bear
c907a7d8abb0aa419f55a16dd67acf2c7bb2f2ef
2,776
hpp
C++
plugin/jsbindings/auto/jsb_pluginx_umeng_auto.hpp
CocosRobot/cocos2d-x
1a527ea331363cfe108b5e2f0ac04a61f8883527
[ "Zlib", "libtiff", "BSD-2-Clause", "Apache-2.0", "MIT", "Libpng", "curl", "BSD-3-Clause" ]
1
2017-09-20T12:16:06.000Z
2017-09-20T12:16:06.000Z
plugin/jsbindings/auto/jsb_pluginx_umeng_auto.hpp
umeng/cocos2d-x
fa85e33b657e5234c1e27beb4acc5f8394b903be
[ "Zlib", "libtiff", "BSD-2-Clause", "Apache-2.0", "MIT", "Libpng", "curl", "BSD-3-Clause" ]
null
null
null
plugin/jsbindings/auto/jsb_pluginx_umeng_auto.hpp
umeng/cocos2d-x
fa85e33b657e5234c1e27beb4acc5f8394b903be
[ "Zlib", "libtiff", "BSD-2-Clause", "Apache-2.0", "MIT", "Libpng", "curl", "BSD-3-Clause" ]
null
null
null
#ifndef __pluginx_umeng_h__ #define __pluginx_umeng_h__ #include "jsapi.h" #include "jsfriendapi.h" extern JSClass *jsb_AnalyticsUmeng_class; extern JSObject *jsb_AnalyticsUmeng_prototype; JSBool js_pluginx_umeng_AnalyticsUmeng_constructor(JSContext *cx, uint32_t argc, jsval *vp); void js_pluginx_umeng_AnalyticsUm...
69.4
108
0.854107
CocosRobot
c90a5ffd07483f58d5fa725b2b391e7f7836ed31
1,716
cpp
C++
src/Screen.cpp
jhonrocha/gradius
985870642c5a9cdafe0664be6ebd1e7265124126
[ "MIT" ]
null
null
null
src/Screen.cpp
jhonrocha/gradius
985870642c5a9cdafe0664be6ebd1e7265124126
[ "MIT" ]
null
null
null
src/Screen.cpp
jhonrocha/gradius
985870642c5a9cdafe0664be6ebd1e7265124126
[ "MIT" ]
null
null
null
/* * Screen.cpp * * Created on: 27/05/2013 * Author: jhonantans */ #include "Screen.h" Screen::Screen(string path, string title):background(path,3),text(title){ cout << "Screen!" << endl; screen = NULL; screen_width = background.getwidth(); screen_height = background.getheight(); screen = SDL_SetVideo...
25.235294
114
0.700466
jhonrocha
c90ecc854d83290814e4caec5372f49b44d8eb8a
1,511
hpp
C++
Tests/Performance/Logger.hpp
ulisesten/xalanc
a722de08e61ce66965c4a828242f7d1250950621
[ "Apache-2.0" ]
24
2015-07-29T22:49:17.000Z
2022-03-25T10:14:17.000Z
Tests/Performance/Logger.hpp
ulisesten/xalanc
a722de08e61ce66965c4a828242f7d1250950621
[ "Apache-2.0" ]
14
2019-05-10T16:25:50.000Z
2021-11-24T18:04:47.000Z
Tests/Performance/Logger.hpp
ulisesten/xalanc
a722de08e61ce66965c4a828242f7d1250950621
[ "Apache-2.0" ]
28
2015-04-20T15:50:51.000Z
2022-01-26T14:56:55.000Z
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the "License"); * you m...
20.418919
75
0.70086
ulisesten
c91187fb0741abb8e7b069a4b17f476b64ee2d4a
52
cpp
C++
source/segment/extrusion_move.cpp
ameisen/gcgg
6ee9a841ddd88182c235a688e6b7d8894f7af1fe
[ "Apache-2.0" ]
null
null
null
source/segment/extrusion_move.cpp
ameisen/gcgg
6ee9a841ddd88182c235a688e6b7d8894f7af1fe
[ "Apache-2.0" ]
null
null
null
source/segment/extrusion_move.cpp
ameisen/gcgg
6ee9a841ddd88182c235a688e6b7d8894f7af1fe
[ "Apache-2.0" ]
null
null
null
#include "gcgg.hpp" #include "extrusion_move.hpp"
17.333333
30
0.730769
ameisen
c911911f658ff36a426a010d4c7b03b72bc5c297
727
cc
C++
Dates/src/dates.cc
ULL-ESIT-IB-2020-2021/ib-practica11-oop-cmake-SergioPerera
58b6d9fac4667fead018dc94ccbfbefa1c59a8c2
[ "MIT" ]
null
null
null
Dates/src/dates.cc
ULL-ESIT-IB-2020-2021/ib-practica11-oop-cmake-SergioPerera
58b6d9fac4667fead018dc94ccbfbefa1c59a8c2
[ "MIT" ]
null
null
null
Dates/src/dates.cc
ULL-ESIT-IB-2020-2021/ib-practica11-oop-cmake-SergioPerera
58b6d9fac4667fead018dc94ccbfbefa1c59a8c2
[ "MIT" ]
null
null
null
#pragma once #include <iostream> #include <dates.h> #include <tools.h> #include <string> #include <fstream> #include <cstdlib> int main (int argc,char *argv[]){ Usage (argc, argv); int day_ {std::stoi(argv[1])}; int month_ {std::stoi(argv[2])}; int year_ {std::stoi(argv[3])}; int later_dates_number_ {std::...
21.382353
62
0.669876
ULL-ESIT-IB-2020-2021
c914a0a9d9869b59dba292c162610b6119e83235
1,724
cpp
C++
implementation/cpl_guiapplication/cpl_guiengine/cpl_wxguiobjects/cpl_wxmaintoolbar.cpp
cayprogram/cpl_main
9cc8f4c8cf33465506bdb18ddc84340992b16494
[ "MIT" ]
null
null
null
implementation/cpl_guiapplication/cpl_guiengine/cpl_wxguiobjects/cpl_wxmaintoolbar.cpp
cayprogram/cpl_main
9cc8f4c8cf33465506bdb18ddc84340992b16494
[ "MIT" ]
null
null
null
implementation/cpl_guiapplication/cpl_guiengine/cpl_wxguiobjects/cpl_wxmaintoolbar.cpp
cayprogram/cpl_main
9cc8f4c8cf33465506bdb18ddc84340992b16494
[ "MIT" ]
null
null
null
#include "cpl_wxguiobjectincludes.h" //local includes. #include "cpl_wxmaintoolbar.h" #include "cpl_wxmaintoolbarnormal.h" //----------------------------------------------------------------------------- // class cpl_wxMainToolbar //----------------------------------------------------------------------------- // //-...
32.528302
101
0.519722
cayprogram
c918a9b74eb7f53ed9d5b4d0d1adcc5515bb8282
4,852
cpp
C++
src/SimpleEngine/Resource/ResourceManager.cpp
SlavaGrasiuk/SiberianLynx
2047802c5b7b79ecddbb45dc193f553e7da522f5
[ "MIT" ]
null
null
null
src/SimpleEngine/Resource/ResourceManager.cpp
SlavaGrasiuk/SiberianLynx
2047802c5b7b79ecddbb45dc193f553e7da522f5
[ "MIT" ]
null
null
null
src/SimpleEngine/Resource/ResourceManager.cpp
SlavaGrasiuk/SiberianLynx
2047802c5b7b79ecddbb45dc193f553e7da522f5
[ "MIT" ]
null
null
null
#include "../include/Resource/ResourceManager.hpp" #include "ZipFile.hpp" #include "../Utilities/String.hpp" #include <cstring> /* ================== ResourceZipFile::~ResourceZipFile ================== */ ResourceZipFile::~ResourceZipFile() { if (m_zipFile) { delete m_zipFile; } } /* ================== Resource...
20.646809
145
0.622836
SlavaGrasiuk
c91a6b78c055a07b257c33294d2a9da329f318ee
16,184
cpp
C++
src/core/game.cpp
andrerogers/Enjin
ba9fd8be66b5dcac312d6887edb1ba12d3d3e48c
[ "MIT" ]
null
null
null
src/core/game.cpp
andrerogers/Enjin
ba9fd8be66b5dcac312d6887edb1ba12d3d3e48c
[ "MIT" ]
null
null
null
src/core/game.cpp
andrerogers/Enjin
ba9fd8be66b5dcac312d6887edb1ba12d3d3e48c
[ "MIT" ]
null
null
null
#include "game.h" // Default Constructor Game::Game() { } // Parameter Constructor Game::Game(const GLfloat& width, const GLfloat& height) : m_width(width), m_height(height) { m_mainCamera = Camera(m_width, m_height); m_lastXPos = 400.0f; m_lastYPos = 300.0f; m_firstMouse = true; Initialize(); } // Destruc...
35.569231
199
0.703967
andrerogers
c91c97e4d17744ac9f703cc3d5bb8993b3d3a40a
1,560
hh
C++
app/src/main/include/JobDrawLine.hh
tanxiang/stbox
1ade839dc2630c94075067ce8948d04a239988be
[ "Apache-2.0" ]
null
null
null
app/src/main/include/JobDrawLine.hh
tanxiang/stbox
1ade839dc2630c94075067ce8948d04a239988be
[ "Apache-2.0" ]
null
null
null
app/src/main/include/JobDrawLine.hh
tanxiang/stbox
1ade839dc2630c94075067ce8948d04a239988be
[ "Apache-2.0" ]
null
null
null
// // Created by ttand on 19-11-11. // #pragma once #include "util.hh" //#include "Device.hh" #include "PipelineResource.hh" #include "thread.hh" #include "JobBase.hh" #include "Window.hh" namespace tt { struct JobDrawLine : public JobBase{ vk::UniqueRenderPass renderPass; //vk::UniqueRenderPass createRenderpas...
28.888889
109
0.734615
tanxiang
c91e8246ed57f4fae75c9db9aebe169f099d6e58
636
cpp
C++
abcdef.cpp
pv2k/my_spoj
c763b1797dd5c7c78fd2255b3ba1e20e67e27c52
[ "MIT" ]
null
null
null
abcdef.cpp
pv2k/my_spoj
c763b1797dd5c7c78fd2255b3ba1e20e67e27c52
[ "MIT" ]
null
null
null
abcdef.cpp
pv2k/my_spoj
c763b1797dd5c7c78fd2255b3ba1e20e67e27c52
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; #define ll long long int int main() { ios::sync_with_stdio(false); unordered_map<ll,int>mp; int n,i,j,k,res=0,tmp1,tmp2,tmp3; ll var; scanf("%d",&n); int a[n]; for(i=0;i<n;i++) scanf("%d",&a[i]); for(i=0;i<n;i++) { for(j=0;j<n;j++) { for(k=0;k<n;k++) {...
15.142857
34
0.498428
pv2k
c92b9da382f6f945082f32e3a99d6e06338b77b7
455
cpp
C++
Bridge/Cpp/curse_spell.cpp
john29917958/Design-Patterns
86b0139d67769552a9b97d1d436b9915a513871c
[ "MIT" ]
null
null
null
Bridge/Cpp/curse_spell.cpp
john29917958/Design-Patterns
86b0139d67769552a9b97d1d436b9915a513871c
[ "MIT" ]
null
null
null
Bridge/Cpp/curse_spell.cpp
john29917958/Design-Patterns
86b0139d67769552a9b97d1d436b9915a513871c
[ "MIT" ]
null
null
null
#include <iostream> #include <string> #include "spell.h" curse_spell::curse_spell(int power, int speed, int cost) : spell(power, speed, cost) { } void curse_spell::cast() { std::cout << "Casts a curse spell with power " + std::to_string(power) + " and speed " + std::to_string(speed) + ". Shows dark flame effect and...
35
277
0.712088
john29917958
c92ca85c115814d18b07b0f2c305766cdebacab8
32,494
cpp
C++
sunvox_engine/psynth/psynths_spectravoice.cpp
Sound-Linux-More/sunvox
7376fbe9f9bca92be1e17aefaac2e68b558d8357
[ "BSD-3-Clause" ]
100
2016-01-15T02:43:07.000Z
2022-03-16T14:02:38.000Z
sunvox_engine/psynth/psynths_spectravoice.cpp
Sound-Linux-More/sunvox
7376fbe9f9bca92be1e17aefaac2e68b558d8357
[ "BSD-3-Clause" ]
2
2018-01-10T18:21:37.000Z
2021-12-05T01:48:08.000Z
sunvox_engine/psynth/psynths_spectravoice.cpp
Sound-Linux-More/sunvox
7376fbe9f9bca92be1e17aefaac2e68b558d8357
[ "BSD-3-Clause" ]
17
2016-05-16T19:48:19.000Z
2022-03-23T10:59:42.000Z
/* psynths_spectravoice.cpp. This file is part of the SunVox engine. Copyright (C) 2002 - 2008 Alex Zolotov <nightradio@gmail.com> */ #include "psynth.h" #include "utils/utils.h" #include "core/debug.h" #include "sound/sound.h" #ifdef SUNVOX_GUI #include "window_manager/wmanager.h" #endif //Unique...
30.741722
140
0.559457
Sound-Linux-More
c938512f8112dbdf24166605b8e3ea9feca2a137
1,014
cpp
C++
tools/loader/syslinux/systhread.cpp
ikysil/ikforth
165e049fc007003cd05f59332dc856d553d8aac8
[ "Unlicense" ]
8
2017-08-03T08:49:06.000Z
2021-12-17T12:02:19.000Z
tools/loader/syslinux/systhread.cpp
clstrfsck/ikforth
165e049fc007003cd05f59332dc856d553d8aac8
[ "Unlicense" ]
58
2016-04-21T20:03:54.000Z
2022-01-16T00:40:50.000Z
tools/loader/syslinux/systhread.cpp
clstrfsck/ikforth
165e049fc007003cd05f59332dc856d553d8aac8
[ "Unlicense" ]
1
2018-07-25T21:07:00.000Z
2018-07-25T21:07:00.000Z
#include <stdlib.h> #include <stdio.h> #include <pthread.h> #include <string.h> #include "../IKFCommon.hpp" #include "../IKFunc.hpp" void * fThreadFunc(void * lpParameter) { ForthThreadParams * ftp = (ForthThreadParams *) lpParameter; IHeader.LinuxThreadProcAddr(ftp->UserDataAreaAddr, ftp->ExecutionToken); ...
32.709677
95
0.696252
ikysil
c9394b7a7b93959e7d485c5a3b780841039f54e6
2,571
cpp
C++
Punto3/caos.cpp
santiagohenao/SantiagoHenao_Taller5
cdabc8d764b2890a54cdb45199b990c33a3a603f
[ "MIT" ]
null
null
null
Punto3/caos.cpp
santiagohenao/SantiagoHenao_Taller5
cdabc8d764b2890a54cdb45199b990c33a3a603f
[ "MIT" ]
null
null
null
Punto3/caos.cpp
santiagohenao/SantiagoHenao_Taller5
cdabc8d764b2890a54cdb45199b990c33a3a603f
[ "MIT" ]
null
null
null
#include <SFML/Graphics.hpp> #include <SFML/Keyboard.hpp> #include <iostream> #include <vector> #include <cmath> #include <fstream> #include <math.h> using namespace std; //constante de resolución temporal double step=6*10e-4; // constante de las ecuaciones, tiempo máximo #define epsilon 0.8 #define t_max 3000 // c...
23.372727
122
0.606379
santiagohenao
c9396cd159b09ff1cf5c6ba2bdd7d340394606c0
2,520
cpp
C++
src/ui/login/LoginPanel.cpp
igorglotov/tizen-vk-client
de213ede7185818285f78abad36592bc864f76cc
[ "Unlicense" ]
null
null
null
src/ui/login/LoginPanel.cpp
igorglotov/tizen-vk-client
de213ede7185818285f78abad36592bc864f76cc
[ "Unlicense" ]
null
null
null
src/ui/login/LoginPanel.cpp
igorglotov/tizen-vk-client
de213ede7185818285f78abad36592bc864f76cc
[ "Unlicense" ]
null
null
null
/* * LoginPanel.cpp * * Created on: Nov 14, 2013 * Author: igorglotov */ #include "LoginPanel.h" #include "AppResourceId.h" #include "VKUAuthConfig.h" #include "SceneRegister.h" #include "ObjectCounter.h" static const int ACTION_LOGIN = 101; static const int ACTION_SIGNUP = 102; using namespace Tizen::Ui;...
25.714286
138
0.745238
igorglotov
c93ba268b597112217aa21d95fcea26edd159e54
1,820
cpp
C++
gko-tracker-src/minihttpd/src/monitor_helper.cpp
JohnnyFang0515/gingko
33f289b36d6d8176fa7be67275dda93d40efbfd7
[ "BSD-2-Clause" ]
11
2018-01-31T12:31:56.000Z
2022-01-06T04:45:03.000Z
gko-tracker-src/minihttpd/src/monitor_helper.cpp
jaewon713/gingko
33f289b36d6d8176fa7be67275dda93d40efbfd7
[ "BSD-2-Clause" ]
null
null
null
gko-tracker-src/minihttpd/src/monitor_helper.cpp
jaewon713/gingko
33f289b36d6d8176fa7be67275dda93d40efbfd7
[ "BSD-2-Clause" ]
9
2017-10-31T06:51:24.000Z
2020-02-10T09:21:00.000Z
#include <stdio.h> #include "minihttpd/monitor_helper.h" namespace argus { namespace common { void DataContainer::setKeyVal(string key, string val) { SpinLockGuard lock(lock_); strMap_[key] = val; } void DataContainer::setKeyVal(string key, int64_t val) { SpinLockGuard lock(lock_); intMap_[key] = val; } voi...
21.411765
74
0.642308
JohnnyFang0515
c93bff340887d5b33200e55eb13b348b08c32033
17,252
cpp
C++
Engine/Source/GraphicsEngine/src/BaseControl.cpp
AnkurSheel/RoutePlanner
a50b6ccb735db42ff4e5b2f4c87e710819c4564b
[ "CC-BY-4.0" ]
null
null
null
Engine/Source/GraphicsEngine/src/BaseControl.cpp
AnkurSheel/RoutePlanner
a50b6ccb735db42ff4e5b2f4c87e710819c4564b
[ "CC-BY-4.0" ]
null
null
null
Engine/Source/GraphicsEngine/src/BaseControl.cpp
AnkurSheel/RoutePlanner
a50b6ccb735db42ff4e5b2f4c87e710819c4564b
[ "CC-BY-4.0" ]
null
null
null
// ******************************************************************************************************************* // BaseControl version: 1.0 Ankur Sheel date: 2011/07/21 // ******************************************************************************************************************* // purpose: //...
29.092749
123
0.497681
AnkurSheel
c93c3106b0bc662877789a2b3973f11cf1d15861
2,671
cc
C++
source/detector/KBTpc.cc
KUNPL/KEBII
7feba36bb2ac2812c0dec21f5e3f3a0dcc1c8e39
[ "MIT" ]
null
null
null
source/detector/KBTpc.cc
KUNPL/KEBII
7feba36bb2ac2812c0dec21f5e3f3a0dcc1c8e39
[ "MIT" ]
null
null
null
source/detector/KBTpc.cc
KUNPL/KEBII
7feba36bb2ac2812c0dec21f5e3f3a0dcc1c8e39
[ "MIT" ]
null
null
null
#include "KBTpc.hh" #include <iostream> using namespace std; ClassImp(KBTpc) KBTpc::KBTpc(const char *name, const char *title) :KBDetector(name, title) { } bool KBTpc::Init() { TString axis = fPar -> GetParString("tpcEFieldAxis"); axis.ToLower(); if (axis == "x") fEFieldAxis = 0; if (axis == "y") fEFieldAx...
25.438095
95
0.570198
KUNPL
c946d97bb2dd61bf3db869dfcd93492eed1d9923
1,696
cpp
C++
TiroCertoServidor/ClientSockTest.cpp
enzoam/game-lab-c-multiplayer-TiroCerto
5ea9d1b0a2264077a43887af7a0f38a99310e40f
[ "MIT" ]
1
2021-05-15T06:53:50.000Z
2021-05-15T06:53:50.000Z
TiroCertoServidor/ClientSockTest.cpp
enzoam/game-lab-c-multiplayer-TiroCerto
5ea9d1b0a2264077a43887af7a0f38a99310e40f
[ "MIT" ]
null
null
null
TiroCertoServidor/ClientSockTest.cpp
enzoam/game-lab-c-multiplayer-TiroCerto
5ea9d1b0a2264077a43887af7a0f38a99310e40f
[ "MIT" ]
null
null
null
// ClientSockTest.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include <stdio.h> #include <WinSock2.h> #include "protocolo\ProtocoloPartida.h" int _tmain(int argc, _TCHAR* argv[]) { //ConnServidor AutenticacaoHeader autenticacaoHeader; AutenticacaoReque...
37.688889
154
0.712264
enzoam
c94821f57008f131f50248355c78a915cd1aca08
3,869
cpp
C++
src/openms/source/FORMAT/IndexedMzMLFileLoader.cpp
vmusch/OpenMS
3c4a078ad4687677393c138d4acb91bb444a7c7b
[ "BSL-1.0", "Zlib", "Apache-2.0" ]
2
2017-06-27T04:21:37.000Z
2022-03-23T11:20:11.000Z
src/openms/source/FORMAT/IndexedMzMLFileLoader.cpp
vmusch/OpenMS
3c4a078ad4687677393c138d4acb91bb444a7c7b
[ "BSL-1.0", "Zlib", "Apache-2.0" ]
36
2018-03-23T15:00:23.000Z
2022-02-18T16:04:58.000Z
src/openms/source/FORMAT/IndexedMzMLFileLoader.cpp
vmusch/OpenMS
3c4a078ad4687677393c138d4acb91bb444a7c7b
[ "BSL-1.0", "Zlib", "Apache-2.0" ]
4
2018-03-22T09:53:58.000Z
2018-09-11T09:07:21.000Z
// -------------------------------------------------------------------------- // OpenMS -- Open-Source Mass Spectrometry // -------------------------------------------------------------------------- // Copyright The OpenMS Team -- Eberhard Karls University Tuebingen, // ETH Zurich, and Freie Universit...
38.69
87
0.660636
vmusch
c9487f57f9e19b1438ed8c1bf7a7a6db497ef6bf
210
hpp
C++
old/Net.Http.Server/inc/net/CRequest.hpp
raduionita/project-hermes
7935a1486d7b0f3c05208d2c7a2e36552581a23b
[ "MIT" ]
null
null
null
old/Net.Http.Server/inc/net/CRequest.hpp
raduionita/project-hermes
7935a1486d7b0f3c05208d2c7a2e36552581a23b
[ "MIT" ]
null
null
null
old/Net.Http.Server/inc/net/CRequest.hpp
raduionita/project-hermes
7935a1486d7b0f3c05208d2c7a2e36552581a23b
[ "MIT" ]
null
null
null
#ifndef __net_CREQUEST_HPP__ #define __net_CREQUEST_HPP__ #include <net\CMessage.hpp> namespace net { class CRequest : public CMessage { public: CRequest(); }; } #endif // __net_CREQUEST_HPP__
13.125
34
0.719048
raduionita
c9497d6156376874d098a91e1feed621577d870f
8,336
cpp
C++
casablanca/Release/src/pplx/windows/pplxwin.cpp
fpelliccioni/Tao
d23655bdf1ff521dc0c7e3fb2f101d1156fea4d9
[ "BSL-1.0" ]
1
2015-12-30T16:02:12.000Z
2015-12-30T16:02:12.000Z
casablanca/Release/src/pplx/windows/pplxwin.cpp
fpelliccioni/Tao
d23655bdf1ff521dc0c7e3fb2f101d1156fea4d9
[ "BSL-1.0" ]
null
null
null
casablanca/Release/src/pplx/windows/pplxwin.cpp
fpelliccioni/Tao
d23655bdf1ff521dc0c7e3fb2f101d1156fea4d9
[ "BSL-1.0" ]
null
null
null
/*** * ==++== * * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by...
27.694352
141
0.604367
fpelliccioni
c94a45efcb827e009bf3a483ab85223fe81ecb9f
499
cpp
C++
Sorting/Bubble Sort.cpp
kavya98527/Data-Structures
e654bc3d8304b04bc2dc933d025fdddaa95be8d1
[ "Unlicense" ]
null
null
null
Sorting/Bubble Sort.cpp
kavya98527/Data-Structures
e654bc3d8304b04bc2dc933d025fdddaa95be8d1
[ "Unlicense" ]
null
null
null
Sorting/Bubble Sort.cpp
kavya98527/Data-Structures
e654bc3d8304b04bc2dc933d025fdddaa95be8d1
[ "Unlicense" ]
null
null
null
//Bubble Sort #include<iostream> using namespace std; int main() { int n; cin >> n; int Array[n]; cout<<"\nEnter any 6 Numbers for Unsorted Array : "; //Input for(int i=0; i<n; i++) { cin>>Array[i]; } //Bubble Sorting for(int i=0; i<n; i++) { for(int j=0; j<n-1; j++) { if(Array[j]>Array[j+1]) ...
12.475
53
0.521042
kavya98527
c94a5ae80dad357fd8a79c545c52888f575dac73
407
cpp
C++
C++/Algorithms/DynamicPrograming/Stairs problem.cpp
m-payal/AlgorithmsAndDataStructure
db53da00cefa3b681b4fcebfc0d22ee91cd489f9
[ "MIT" ]
195
2020-05-09T02:26:13.000Z
2022-03-30T06:12:07.000Z
C++/Algorithms/DynamicPrograming/Stairs problem.cpp
m-payal/AlgorithmsAndDataStructure
db53da00cefa3b681b4fcebfc0d22ee91cd489f9
[ "MIT" ]
31
2021-06-15T19:00:57.000Z
2022-02-02T15:51:25.000Z
C++/Algorithms/DynamicPrograming/Stairs problem.cpp
m-payal/AlgorithmsAndDataStructure
db53da00cefa3b681b4fcebfc0d22ee91cd489f9
[ "MIT" ]
64
2020-05-09T02:26:15.000Z
2022-02-23T16:02:01.000Z
#include <bits/stdc++.h> using namespace std; int main() { int n; //n represents the nth stair where a person wants to go cin>>n; int i; vector<int>A(n+1,0); A[0]=1; for(i=1;i<=n;i++) { A[i]+=A[i-1]; //number of ways from the previous step if(i>1) A[i]+=A[i-2]; // nu...
21.421053
74
0.535627
m-payal
c94ac6fabc48970ca0b67cd449a6340f3ab32cbc
1,571
cpp
C++
codeforces/A - Shifts/Accepted.cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
1
2022-02-11T16:55:36.000Z
2022-02-11T16:55:36.000Z
codeforces/A - Shifts/Accepted.cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
null
null
null
codeforces/A - Shifts/Accepted.cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
null
null
null
/**************************************************************************************** * @author: kzvd4729 created: Nov/24/2020 14:05 * solution_verdict: Accepted language: GNU C++14 * run...
28.053571
111
0.484405
kzvd4729
c94c7c17c9e198b42b11834322606f625e91202f
1,238
cpp
C++
server/World/Packets/GWTeamLeaveHandler.cpp
viticm/web-pap
7c9b1f49d9ba8d8e40f8fddae829c2e414ccfeca
[ "BSD-3-Clause" ]
3
2018-06-19T21:37:38.000Z
2021-07-31T21:51:40.000Z
server/World/Packets/GWTeamLeaveHandler.cpp
viticm/web-pap
7c9b1f49d9ba8d8e40f8fddae829c2e414ccfeca
[ "BSD-3-Clause" ]
null
null
null
server/World/Packets/GWTeamLeaveHandler.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 "GWTeamLeave.h" #include "Log.h" #include "OnlineUser.h" #include "ServerPlayer.h" #include "WGTeamError.h" #include "Team.h" #include "WGTeamResult.h" #include "ServerManager.h" UINT GWTeamLeaveHandler::Execute( GWTeamLeave* pPacket, Player* pPlayer ) { __ENTER_FUNCTION ServerPla...
22.107143
99
0.635703
viticm
c94fed8ffe323e48cde4cb84d40af16faf39e764
1,400
cpp
C++
2019/0609_ABC129/past/E.cpp
kazunetakahashi/atcoder
16ce65829ccc180260b19316e276c2fcf6606c53
[ "MIT" ]
7
2019-03-24T14:06:29.000Z
2020-09-17T21:16:36.000Z
2019/0609_ABC129/past/E.cpp
kazunetakahashi/atcoder
16ce65829ccc180260b19316e276c2fcf6606c53
[ "MIT" ]
null
null
null
2019/0609_ABC129/past/E.cpp
kazunetakahashi/atcoder
16ce65829ccc180260b19316e276c2fcf6606c53
[ "MIT" ]
1
2020-07-22T17:27:09.000Z
2020-07-22T17:27:09.000Z
#define DEBUG 1 /** * File : E.cpp * Author : Kazune Takahashi * Created : 6/9/2019, 9:16:59 PM * Powered by Visual Studio Code */ #include <iostream> #include <iomanip> #include <algorithm> #include <vector> #include <string> #include <complex> #include <tuple> #include <queue> #include <stack> #include <ma...
16.666667
74
0.48
kazunetakahashi
c9509f47f77b0612d3e71f3e5042c9ffd9a350ca
22,085
cpp
C++
wpd/WpdServiceSampleDriver/WpdObjectProperties.cpp
ixjf/Windows-driver-samples
38985ba91feb685095754775e101389ad90c2aa6
[ "MS-PL" ]
3,084
2015-03-18T04:40:32.000Z
2019-05-06T17:14:33.000Z
wpd/WpdServiceSampleDriver/WpdObjectProperties.cpp
ixjf/Windows-driver-samples
38985ba91feb685095754775e101389ad90c2aa6
[ "MS-PL" ]
275
2015-03-19T18:44:41.000Z
2019-05-06T14:13:26.000Z
wpd/WpdServiceSampleDriver/WpdObjectProperties.cpp
ixjf/Windows-driver-samples
38985ba91feb685095754775e101389ad90c2aa6
[ "MS-PL" ]
3,091
2015-03-19T00:08:54.000Z
2019-05-06T16:42:01.000Z
#include "stdafx.h" #include "WpdObjectProperties.tmh" WpdObjectProperties::WpdObjectProperties() : m_pDevice(NULL) { } WpdObjectProperties::~WpdObjectProperties() { } HRESULT WpdObjectProperties::Initialize(_In_ FakeDevice* pDevice) { if (pDevice == NULL) { return E_POINTER; ...
40.597426
158
0.662576
ixjf
c95697ff3619b484d0173158a9e7645bb0049706
217
cpp
C++
RPG/GameTexture.cpp
JulesG10/Cube-RPG
183f9ed9ac2eb66de5b8c4192b2934a2314d1702
[ "MIT" ]
1
2021-05-15T13:43:43.000Z
2021-05-15T13:43:43.000Z
RPG/GameTexture.cpp
JulesG10/Cube
183f9ed9ac2eb66de5b8c4192b2934a2314d1702
[ "MIT" ]
null
null
null
RPG/GameTexture.cpp
JulesG10/Cube
183f9ed9ac2eb66de5b8c4192b2934a2314d1702
[ "MIT" ]
null
null
null
#include "GameTexture.h" GameTexture::GameTexture() { } GameTexture::~GameTexture() { this->block_textures.clear(); this->enemies_textures.clear(); this->items_textures.clear(); this->players_textures.clear(); }
16.692308
32
0.732719
JulesG10
c958cc49f87aeb1feb06aa37e28e27d3464c7fdb
115,838
cxx
C++
osprey/be/com/dep_graph.cxx
sharugupta/OpenUH
daddd76858a53035f5d713f648d13373c22506e8
[ "BSD-2-Clause" ]
null
null
null
osprey/be/com/dep_graph.cxx
sharugupta/OpenUH
daddd76858a53035f5d713f648d13373c22506e8
[ "BSD-2-Clause" ]
null
null
null
osprey/be/com/dep_graph.cxx
sharugupta/OpenUH
daddd76858a53035f5d713f648d13373c22506e8
[ "BSD-2-Clause" ]
null
null
null
/* * Copyright (C) 2008-2011 Advanced Micro Devices, Inc. All Rights Reserved. */ /* * Copyright 2004, 2005, 2006 PathScale, Inc. All Rights Reserved. */ /* Copyright (C) 2000, 2001 Silicon Graphics, Inc. All Rights Reserved. This program is free software; you can redistribute it and/or modify it under...
31.290654
111
0.605829
sharugupta
c95bf755b9e1954aa7076a214c45120bf5d71875
621
cpp
C++
src/geometry/mesh/implementation/component/CupCfdAoSMeshVertex.cpp
thorbenlouw/CUP-CFD
d06f7673a1ed12bef24de4f1b828ef864fa45958
[ "MIT" ]
3
2021-06-24T10:20:12.000Z
2021-07-18T14:43:19.000Z
src/geometry/mesh/implementation/component/CupCfdAoSMeshVertex.cpp
thorbenlouw/CUP-CFD
d06f7673a1ed12bef24de4f1b828ef864fa45958
[ "MIT" ]
2
2021-07-22T15:31:03.000Z
2021-07-28T14:27:28.000Z
src/geometry/mesh/implementation/component/CupCfdAoSMeshVertex.cpp
thorbenlouw/CUP-CFD
d06f7673a1ed12bef24de4f1b828ef864fa45958
[ "MIT" ]
1
2021-07-22T15:24:24.000Z
2021-07-22T15:24:24.000Z
/* * @file * @author University of Warwick * @version 1.0 * * @section LICENSE * * @section DESCRIPTION * */ #include "CupCfdAoSMeshVertex.h" namespace cupcfd { namespace geometry { namespace mesh { template <class T> CupCfdAoSMeshVertex<T>::CupCfdAoSMeshVertex() { // === Default values se...
15.146341
49
0.639291
thorbenlouw
c95fc57fa3de1dca43d51700a7f6c7bacc6bdcaa
1,264
hpp
C++
RX24T/rx24t_LOGGER/setup.hpp
hirakuni45/RX
3fb91bfc8d5282cde7aa00b8bd37f4aad32582d0
[ "BSD-3-Clause" ]
56
2015-06-04T14:15:38.000Z
2022-03-01T22:58:49.000Z
rx24t_LOGGER/setup.hpp
duybang140494/RX
7fed06a9d8295f4504e8a08fa589d4a52792095f
[ "BSD-3-Clause" ]
30
2019-07-27T11:03:14.000Z
2021-12-14T09:59:57.000Z
rx24t_LOGGER/setup.hpp
duybang140494/RX
7fed06a9d8295f4504e8a08fa589d4a52792095f
[ "BSD-3-Clause" ]
15
2017-06-24T11:33:39.000Z
2021-12-07T07:26:58.000Z
#pragma once //=====================================================================// /*! @file @brief セットアップ・クラス Copyright 2017 Kunihito Hiramatsu @author 平松邦仁 (hira@rvf-rc45.net) */ //=====================================================================// #include "main.hpp" namespace app { //+++...
22.175439
74
0.221519
hirakuni45
e92aca0c24c190987fc86e3ac07c15d8dc636bb6
718
cpp
C++
BST/searchInBST.cpp
PranavDherange/Data_Structures
9962b5145f6b42d9317e2c328c2b3124f028ca70
[ "MIT" ]
2
2021-02-25T11:54:50.000Z
2021-02-25T11:54:54.000Z
BST/searchInBST.cpp
PranavDherange/Data_Structures
9962b5145f6b42d9317e2c328c2b3124f028ca70
[ "MIT" ]
null
null
null
BST/searchInBST.cpp
PranavDherange/Data_Structures
9962b5145f6b42d9317e2c328c2b3124f028ca70
[ "MIT" ]
1
2021-10-03T17:39:10.000Z
2021-10-03T17:39:10.000Z
/*Code: Search in BST Given a BST and an integer k. Find if the integer k is present in given BST or not. Return the node with data k if it is present, return null otherwise. Assume that BST contains all unique elements. Sample Input : 8 5 10 2 6 -1 -1 -1 -1 -1 7 -1 -1 6 10 Sample Output : 6 7 8 10 */ #include <bits/s...
21.757576
152
0.604457
PranavDherange
e92b389be4d84499dc33a9f4757881f9d364f393
4,009
hpp
C++
dart/utils/amc/Skeleton.hpp
jyf588/nimblephysics
6c09228f0abcf7aa3526a8dd65cd2541aff32c4a
[ "BSD-2-Clause" ]
2
2021-09-30T06:23:29.000Z
2022-03-09T09:59:09.000Z
dart/utils/amc/Skeleton.hpp
jyf588/nimblephysics
6c09228f0abcf7aa3526a8dd65cd2541aff32c4a
[ "BSD-2-Clause" ]
null
null
null
dart/utils/amc/Skeleton.hpp
jyf588/nimblephysics
6c09228f0abcf7aa3526a8dd65cd2541aff32c4a
[ "BSD-2-Clause" ]
1
2021-08-20T13:56:14.000Z
2021-08-20T13:56:14.000Z
#ifndef AMC_SKELETON_HPP #define AMC_SKELETON_HPP #include <iostream> #include <string> #include <vector> #include "dart/utils/amc/Quat.hpp" #include "dart/utils/amc/Vector.hpp" namespace Library { using std::cerr; using std::endl; using std::string; using std::vector; // collection of joint angles, offset matrice...
24.150602
80
0.616114
jyf588