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
0b1885911f242e60c4263bfaf22d2f8c47cff746
12,088
cpp
C++
examples/DynamicControlDemo/MotorDemo.cpp
frk2/bullet3
225d823e4dc3f952c6c39920c3f87390383e0602
[ "Zlib" ]
26
2019-10-11T11:54:48.000Z
2022-03-04T19:49:18.000Z
examples/DynamicControlDemo/MotorDemo.cpp
frk2/bullet3
225d823e4dc3f952c6c39920c3f87390383e0602
[ "Zlib" ]
1
2018-11-19T19:07:47.000Z
2018-11-19T19:07:47.000Z
examples/DynamicControlDemo/MotorDemo.cpp
frk2/bullet3
225d823e4dc3f952c6c39920c3f87390383e0602
[ "Zlib" ]
4
2021-06-03T10:09:40.000Z
2022-01-12T09:54:10.000Z
/* Bullet Continuous Collision Detection and Physics Library Copyright (c) 2007 Erwin Coumans Motor Demo This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use ...
27.981481
243
0.717158
frk2
0b1a22c034a428f434ddd4bf173b5f6915edd535
530
cpp
C++
Array/02. ReverseTheArray.cpp
sohamnandi77/Cpp-Data-Structures-And-Algorithm
f29a14760964103a5b58cfff925cd8f7ed5aa6c1
[ "MIT" ]
2
2021-05-21T17:10:02.000Z
2021-05-29T05:13:06.000Z
Array/02. ReverseTheArray.cpp
sohamnandi77/Cpp-Data-Structures-And-Algorithm
f29a14760964103a5b58cfff925cd8f7ed5aa6c1
[ "MIT" ]
null
null
null
Array/02. ReverseTheArray.cpp
sohamnandi77/Cpp-Data-Structures-And-Algorithm
f29a14760964103a5b58cfff925cd8f7ed5aa6c1
[ "MIT" ]
null
null
null
// ? Reverse the Array #include <iostream> using namespace std; void reverse(int arr[], int n) { int low = 0, high = n - 1; while (low < high) swap(arr[low++], arr[high--]); } int main() { int arr[] = {10, 5, 7, 30}, n = 4; cout << "Before Reverse" << endl; for (int i = 0; i < n; i++) ...
16.060606
38
0.445283
sohamnandi77
0b1deba262300c5eafdfdb5ba756458872f13ce3
15,232
cpp
C++
IvmpDotNet.Proxy/SDK/Shared/CSettings.cpp
purm/IvmpDotNet
8ec3b7819aba9d806f9a95b2b87e4375fdfdefe2
[ "MIT" ]
1
2021-01-26T05:52:04.000Z
2021-01-26T05:52:04.000Z
IvmpDotNet.Proxy/SDK/Shared/CSettings.cpp
purm/IvmpDotNet
8ec3b7819aba9d806f9a95b2b87e4375fdfdefe2
[ "MIT" ]
null
null
null
IvmpDotNet.Proxy/SDK/Shared/CSettings.cpp
purm/IvmpDotNet
8ec3b7819aba9d806f9a95b2b87e4375fdfdefe2
[ "MIT" ]
null
null
null
//============== IV: Multiplayer - http://code.iv-multiplayer.com ============== // // File: CSettings.cpp // Project: Shared // Author(s): jenksta // mabako // License: See LICENSE in root directory // //============================================================================== #include "CSettings.h" #...
22.269006
129
0.672532
purm
0b2051112760609d5343b2c0c725d2dad8076f12
2,714
hpp
C++
event_camera_simulator/imp/imp_unrealcv_renderer/include/esim/imp_unrealcv_renderer/utils.hpp
Louis-Jin/rpg_esim
eea20b84e2bb788431f93b8aace82b0f98606982
[ "MIT" ]
371
2018-11-02T10:09:22.000Z
2022-03-31T05:09:39.000Z
event_camera_simulator/imp/imp_unrealcv_renderer/include/esim/imp_unrealcv_renderer/utils.hpp
Louis-Jin/rpg_esim
eea20b84e2bb788431f93b8aace82b0f98606982
[ "MIT" ]
97
2018-11-06T11:47:53.000Z
2022-03-10T16:25:59.000Z
event_camera_simulator/imp/imp_unrealcv_renderer/include/esim/imp_unrealcv_renderer/utils.hpp
Louis-Jin/rpg_esim
eea20b84e2bb788431f93b8aace82b0f98606982
[ "MIT" ]
101
2018-11-05T12:33:43.000Z
2022-03-24T17:40:50.000Z
#pragma once #include <esim/common/types.hpp> namespace event_camera_simulator { /** * https://github.com/EpicGames/UnrealEngine/blob/dbced2dd59f9f5dfef1d7786fd67ad2970adf95f/Engine/Source/Runtime/Core/Public/Math/Rotator.h#L580 * Helper function for eulerFromQuatSingularityTest, angles are expected to be given in...
30.494382
151
0.701548
Louis-Jin
0b21689bf454bb127eb423865300009db13c4fbf
568
cc
C++
samples/language/src/InputMethod/AbstractInputMethod.cc
gongo/Tython
a2bf95a15123606fbbd5a1cf1186ff1defe4c752
[ "MIT" ]
5
2017-05-20T12:58:49.000Z
2021-05-21T12:34:36.000Z
samples/language/src/InputMethod/AbstractInputMethod.cc
gongo/Tython
a2bf95a15123606fbbd5a1cf1186ff1defe4c752
[ "MIT" ]
null
null
null
samples/language/src/InputMethod/AbstractInputMethod.cc
gongo/Tython
a2bf95a15123606fbbd5a1cf1186ff1defe4c752
[ "MIT" ]
null
null
null
#include "AbstractInputMethod.h" AbstractInputMethod::AbstractInputMethod(void) { } AbstractInputMethod::~AbstractInputMethod(void) { IMmap::iterator ip = inputList.begin(); IMquit::iterator qu = quitList.end(); // while (ip != inputList.end()) { // delete ip->second; // ++ip; // } ...
17.75
47
0.610915
gongo
0b2273c658e543a5400da4c1729f347895bbdac6
9,068
hpp
C++
addons/uh60_ui/uiConfig/MELB_GUI.hpp
ZHANGTIANYAO1/H-60
4c6764f74190dbe7d81ddeae746cf78d8b7dff92
[ "Naumen", "Condor-1.1", "MS-PL" ]
14
2021-02-11T23:23:21.000Z
2021-09-08T05:36:47.000Z
addons/uh60_ui/uiConfig/MELB_GUI.hpp
ZHANGTIANYAO1/H-60
4c6764f74190dbe7d81ddeae746cf78d8b7dff92
[ "Naumen", "Condor-1.1", "MS-PL" ]
130
2021-09-09T21:43:16.000Z
2022-03-30T09:00:37.000Z
addons/uh60_ui/uiConfig/MELB_GUI.hpp
ZHANGTIANYAO1/H-60
4c6764f74190dbe7d81ddeae746cf78d8b7dff92
[ "Naumen", "Condor-1.1", "MS-PL" ]
11
2021-02-18T19:55:51.000Z
2021-09-01T17:08:47.000Z
class MELB_GUI: RscControlsGroup { idc = 170; class VScrollbar: VScrollbar { width = 0; }; class HScrollbar: HScrollbar { height = 0; }; x = "0 * (0.01875 * SafezoneH) + (SafezoneX + ((SafezoneW - SafezoneH) / 2))"; y = "0 * (0.025 * SafezoneH) + (SafezoneY)";...
32.618705
86
0.379687
ZHANGTIANYAO1
0b2bf6318d53ae09c85190fe55afd45ace1b82f4
4,946
cpp
C++
source/solution_zoo/xstream/methods/fasterrcnnmethod/example/test_model_info.cpp
HorizonRobotics-Platform/AI-EXPRESS
413206d88dae1fbd465ced4d60b2a1769d15c171
[ "BSD-2-Clause" ]
98
2020-09-11T13:52:44.000Z
2022-03-23T11:52:02.000Z
source/solution_zoo/xstream/methods/fasterrcnnmethod/example/test_model_info.cpp
HorizonRobotics-Platform/ai-express
413206d88dae1fbd465ced4d60b2a1769d15c171
[ "BSD-2-Clause" ]
8
2020-10-19T14:23:30.000Z
2022-03-16T01:00:07.000Z
source/solution_zoo/xstream/methods/fasterrcnnmethod/example/test_model_info.cpp
HorizonRobotics-Platform/AI-EXPRESS
413206d88dae1fbd465ced4d60b2a1769d15c171
[ "BSD-2-Clause" ]
28
2020-09-17T14:20:35.000Z
2022-01-10T16:26:00.000Z
/** * Copyright (c) 2019 Horizon Robotics. All rights reserved. * @author yaoyao.sun * @date 2019.04.12 */ #include <chrono> #include <iostream> #include <thread> #include <string> #include <vector> #include "bpu_predict/bpu_predict.h" #include "./hb_vio_interface.h" #include "./plat_cnn.h" static void U...
31.106918
80
0.604327
HorizonRobotics-Platform
0b31c4a702f1518920931546d18b58e1b4cf3843
968
cpp
C++
tests/EnjoLibTest/src/CentroidTest.cpp
EnjoMitch/EnjoLib
321167146657cba1497a9d3b4ffd71430f9b24b3
[ "BSD-3-Clause" ]
3
2021-06-14T15:36:46.000Z
2022-02-28T15:16:08.000Z
tests/EnjoLibTest/src/CentroidTest.cpp
EnjoMitch/EnjoLib
321167146657cba1497a9d3b4ffd71430f9b24b3
[ "BSD-3-Clause" ]
1
2021-07-17T07:52:15.000Z
2021-07-17T07:52:15.000Z
tests/EnjoLibTest/src/CentroidTest.cpp
EnjoMitch/EnjoLib
321167146657cba1497a9d3b4ffd71430f9b24b3
[ "BSD-3-Clause" ]
3
2021-07-12T14:52:38.000Z
2021-11-28T17:10:33.000Z
#include "CentroidTest.h" #include <Statistical/Centroid.hpp> #include <Statistical/VectorD.hpp> #include <Template/Array.hpp> #include <Math/RandomMath.hpp> #include <Ios/Osstream.hpp> #include <Util/CoutBuf.hpp> using namespace EnjoLib; using namespace std; CentroidTest::CentroidTest() { ELO Centroid<Vecto...
20.595745
53
0.603306
EnjoMitch
0b35997bbbdc79cf929bd4d1866d695b6d67e471
1,130
cc
C++
src/15.cc
o-olll/shuati
64a031a5218670afd4bdbba5d3af3c428757b3fd
[ "Apache-2.0" ]
null
null
null
src/15.cc
o-olll/shuati
64a031a5218670afd4bdbba5d3af3c428757b3fd
[ "Apache-2.0" ]
null
null
null
src/15.cc
o-olll/shuati
64a031a5218670afd4bdbba5d3af3c428757b3fd
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include <vector> #include <unordered_map> #include <string> #include "utils.h" using namespace std; vector<vector<int>> threeSum(vector<int>& nums) { if (nums.size() < 3) return {}; vector<vector<int>> res; int l, r, s, k; sort(nums.begin(), nums.end()); for (int i=0...
20.925926
59
0.423009
o-olll
0b36a345f95fafb1213f1e8482735e0ed4ed5a09
3,595
cpp
C++
csapex_core_plugins/src/tools/unix_signal_emitter.cpp
AdrianZw/csapex_core_plugins
1b23c90af7e552c3fc37c7dda589d751d2aae97f
[ "BSD-3-Clause" ]
2
2016-09-02T15:33:22.000Z
2019-05-06T22:09:33.000Z
csapex_core_plugins/src/tools/unix_signal_emitter.cpp
AdrianZw/csapex_core_plugins
1b23c90af7e552c3fc37c7dda589d751d2aae97f
[ "BSD-3-Clause" ]
1
2021-02-14T19:53:30.000Z
2021-02-14T19:53:30.000Z
csapex_core_plugins/src/tools/unix_signal_emitter.cpp
AdrianZw/csapex_core_plugins
1b23c90af7e552c3fc37c7dda589d751d2aae97f
[ "BSD-3-Clause" ]
6
2016-10-12T00:55:23.000Z
2021-02-10T17:49:25.000Z
/// PROJECT #include <csapex/model/node.h> #include <csapex/model/node_modifier.h> #include <csapex/msg/any_message.h> #include <csapex/msg/io.h> #include <csapex/param/parameter_factory.h> #include <csapex/utility/register_apex_plugin.h> /// SYSTEM #include <map> #include <signal.h> using namespace csapex; using na...
37.842105
101
0.512935
AdrianZw
0b43c689a0074b1ba70ed2b69cb0986a5629883d
2,779
hpp
C++
Versionen/2021_06_15/rmf_ws/install/rmf_traffic_msgs/include/rmf_traffic_msgs/msg/detail/schedule_query_spacetime__builder.hpp
flitzmo-hso/flitzmo_agv_control_system
99e8006920c03afbd93e4c7d38b4efff514c7069
[ "MIT" ]
null
null
null
Versionen/2021_06_15/rmf_ws/install/rmf_traffic_msgs/include/rmf_traffic_msgs/msg/detail/schedule_query_spacetime__builder.hpp
flitzmo-hso/flitzmo_agv_control_system
99e8006920c03afbd93e4c7d38b4efff514c7069
[ "MIT" ]
null
null
null
Versionen/2021_06_15/rmf_ws/install/rmf_traffic_msgs/include/rmf_traffic_msgs/msg/detail/schedule_query_spacetime__builder.hpp
flitzmo-hso/flitzmo_agv_control_system
99e8006920c03afbd93e4c7d38b4efff514c7069
[ "MIT" ]
2
2021-06-21T07:32:09.000Z
2021-08-17T03:05:38.000Z
// generated from rosidl_generator_cpp/resource/idl__builder.hpp.em // with input from rmf_traffic_msgs:msg/ScheduleQuerySpacetime.idl // generated code does not contain a copyright notice #ifndef RMF_TRAFFIC_MSGS__MSG__DETAIL__SCHEDULE_QUERY_SPACETIME__BUILDER_HPP_ #define RMF_TRAFFIC_MSGS__MSG__DETAIL__SCHEDULE_QUER...
26.721154
127
0.801367
flitzmo-hso
0b48bd349894bdaa7e8fe767deefd7efffcdac8d
9,705
cpp
C++
src/verifier/tree_compress.cpp
jre233kei/slim
13764ed193cc49a6008e1fdb28575e66165b045d
[ "BSD-3-Clause" ]
18
2015-02-11T13:52:46.000Z
2021-07-05T10:50:22.000Z
src/verifier/tree_compress.cpp
jre233kei/slim
13764ed193cc49a6008e1fdb28575e66165b045d
[ "BSD-3-Clause" ]
58
2015-01-02T11:31:12.000Z
2022-03-23T07:16:47.000Z
src/verifier/tree_compress.cpp
jre233kei/slim
13764ed193cc49a6008e1fdb28575e66165b045d
[ "BSD-3-Clause" ]
17
2015-04-02T03:52:48.000Z
2021-02-07T02:29:38.000Z
/* * tree_compress.cpp * * Copyright (c) 2008, Ueda Laboratory LMNtal Group * <lmntal@ueda.info.waseda.ac.jp> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following co...
30.615142
80
0.625245
jre233kei
0b50fcf134a195c21be92cde7a900ef0bce6b5fc
1,758
hh
C++
examples/ScatteringExample/include/SEGasHit.hh
QTNM/Electron-Tracking
b9dff0232af5a99fd795fd504dbddde71f4dd31c
[ "MIT" ]
2
2022-03-16T22:30:19.000Z
2022-03-16T22:30:26.000Z
examples/ScatteringExample/include/SEGasHit.hh
QTNM/Electron-Tracking
b9dff0232af5a99fd795fd504dbddde71f4dd31c
[ "MIT" ]
18
2021-03-02T15:14:11.000Z
2022-02-14T08:12:20.000Z
examples/ScatteringExample/include/SEGasHit.hh
QTNM/Electron-Tracking
b9dff0232af5a99fd795fd504dbddde71f4dd31c
[ "MIT" ]
null
null
null
#ifndef SEGasHit_h #define SEGasHit_h 1 #include "G4VHit.hh" #include "G4THitsCollection.hh" #include "G4Allocator.hh" /// Gas hit class /// /// It defines data members to store the energy deposit, /// and position in a selected volume: class SEGasHit : public G4VHit { public: SEGasHit(); SEGasHit(const SE...
24.416667
62
0.642207
QTNM
0b5bfabcfc61d89cb379480f58302b0b1a278f28
12,810
cpp
C++
Server/sq_functions.cpp
LHMPTeam/lhmp-old
84dd379ab8ae59418135c940e700f3022339e136
[ "Apache-2.0" ]
8
2017-02-13T13:29:39.000Z
2022-01-12T17:12:04.000Z
Server/sq_functions.cpp
LHMPTeam/lhmp-old
84dd379ab8ae59418135c940e700f3022339e136
[ "Apache-2.0" ]
null
null
null
Server/sq_functions.cpp
LHMPTeam/lhmp-old
84dd379ab8ae59418135c940e700f3022339e136
[ "Apache-2.0" ]
10
2017-01-14T09:41:06.000Z
2021-10-10T00:02:32.000Z
// (C) LHMP Team 2013-2016; Licensed under Apache 2; See LICENSE;; #include "sq_funcdef.h" #include "sq_functions.h" int Init(SQVM* vM) { //RegisterFunction(vM, "testfunc", (SQFUNCTION)sq_dopice, 0, ""); RegisterFunction(vM, "banIP", (SQFUNCTION)sq_banIP, 4, ".sns"); RegisterFunction(vM, "banPlayer", (SQFUNCTION...
62.794118
109
0.741374
LHMPTeam
0b5f9783b85e3ec6525bc0aa7206c1ae717754ff
2,084
cpp
C++
ares/msx/cartridge/cartridge.cpp
CasualPokePlayer/ares
58690cd5fc7bb6566c22935c5b80504a158cca29
[ "BSD-3-Clause" ]
153
2020-07-25T17:55:29.000Z
2021-10-01T23:45:01.000Z
ares/msx/cartridge/cartridge.cpp
CasualPokePlayer/ares
58690cd5fc7bb6566c22935c5b80504a158cca29
[ "BSD-3-Clause" ]
176
2020-07-25T19:11:23.000Z
2021-10-04T17:11:32.000Z
ares/msx/cartridge/cartridge.cpp
CasualPokePlayer/ares
58690cd5fc7bb6566c22935c5b80504a158cca29
[ "BSD-3-Clause" ]
44
2020-07-25T08:51:55.000Z
2021-09-25T16:09:01.000Z
#include <msx/msx.hpp> namespace ares::MSX { Cartridge& cartridge = cartridgeSlot.cartridge; Cartridge& expansion = expansionSlot.cartridge; #include "board/board.cpp" #include "slot.cpp" #include "serialization.cpp" auto Cartridge::allocate(Node::Port parent) -> Node::Peripheral { return node = parent->append<Nod...
27.421053
87
0.673225
CasualPokePlayer
0b643f365fd20266794b8fb47d56be53142bb3cf
2,108
cpp
C++
OcularCore/src/Events/AEvent.cpp
ssell/OcularEngine
c80cc4fcdb7dd7ce48d3af330bd33d05312076b1
[ "Apache-2.0" ]
8
2017-01-27T01:06:06.000Z
2020-11-05T20:23:19.000Z
OcularCore/src/Events/AEvent.cpp
ssell/OcularEngine
c80cc4fcdb7dd7ce48d3af330bd33d05312076b1
[ "Apache-2.0" ]
39
2016-06-03T02:00:36.000Z
2017-03-19T17:47:39.000Z
OcularCore/src/Events/AEvent.cpp
ssell/OcularEngine
c80cc4fcdb7dd7ce48d3af330bd33d05312076b1
[ "Apache-2.0" ]
4
2019-05-22T09:13:36.000Z
2020-12-01T03:17:45.000Z
/** * Copyright 2014-2015 Steven T Sell (ssell@vertexfragment.com) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
33.460317
92
0.376186
ssell
0b657a515b38bfd09b7ad8088e605a51df6e69b3
7,857
cpp
C++
client/src/bindings/WebView.cpp
Marvisak/altv-js-module
8b7c0b600a4444596805a8872788f051a50609d2
[ "MIT" ]
null
null
null
client/src/bindings/WebView.cpp
Marvisak/altv-js-module
8b7c0b600a4444596805a8872788f051a50609d2
[ "MIT" ]
null
null
null
client/src/bindings/WebView.cpp
Marvisak/altv-js-module
8b7c0b600a4444596805a8872788f051a50609d2
[ "MIT" ]
null
null
null
#include "V8Helpers.h" #include "helpers/BindHelpers.h" #include "V8Class.h" #include "V8Entity.h" #include "V8ResourceImpl.h" #include "../CV8Resource.h" #include "cpp-sdk/script-objects/IWebView.h" using namespace alt; static void ToString(const v8::FunctionCallbackInfo<v8::Value>& info) { V8_GET_ISOLATE_CONTE...
31.809717
146
0.683467
Marvisak
0b6d3e92e8a0ab793faec23dcc650a963a747529
3,773
cpp
C++
c++/src/objtools/readers/read_util.cpp
OpenHero/gblastn
a0d6c1c288fe916ab85fc637a44cdd6e79ebd2a8
[ "MIT" ]
31
2016-12-09T04:56:59.000Z
2021-12-31T17:19:10.000Z
c++/src/objtools/readers/read_util.cpp
OpenHero/gblastn
a0d6c1c288fe916ab85fc637a44cdd6e79ebd2a8
[ "MIT" ]
6
2017-03-10T17:25:13.000Z
2021-09-22T15:49:49.000Z
c++/src/objtools/readers/read_util.cpp
OpenHero/gblastn
a0d6c1c288fe916ab85fc637a44cdd6e79ebd2a8
[ "MIT" ]
20
2015-01-04T02:15:17.000Z
2021-12-03T02:31:43.000Z
/* $Id: read_util.cpp 352696 2012-02-08 19:35:14Z ludwigf $ * =========================================================================== * * PUBLIC DOMAIN NOTICE * National Center for Biotechnology Information * * This software/database is a "United States Government Wo...
31.181818
80
0.51471
OpenHero
0b7186333a770ddc1ef104c54ee3461e978c1d40
10,771
cpp
C++
Code/lib/AspenSIM800/src/atcmds/general.cpp
johannes51/Telefon
751ff691b184f5fc456e5b978ebe39aecb1d3961
[ "MIT" ]
null
null
null
Code/lib/AspenSIM800/src/atcmds/general.cpp
johannes51/Telefon
751ff691b184f5fc456e5b978ebe39aecb1d3961
[ "MIT" ]
null
null
null
Code/lib/AspenSIM800/src/atcmds/general.cpp
johannes51/Telefon
751ff691b184f5fc456e5b978ebe39aecb1d3961
[ "MIT" ]
null
null
null
// "Aspen SIM800" is a comprehensive SIM800 library for simplified and in-depth chip access. // Copyright (C) 2016 Mattias Aabmets (https://github.com/aspenforest) // // This API library is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as p...
30.774286
94
0.444156
johannes51
0b71dfdcb29fb90cbe22dda32a3c935d6bbec326
25,326
cpp
C++
libraries/VAL/src/graphconstruct.cpp
teyssieuman/VAL
15320d3988bb6ed633babe6c7bd663a97c23a393
[ "BSD-3-Clause" ]
65
2015-01-08T09:58:01.000Z
2021-11-16T11:08:31.000Z
libraries/VAL/src/graphconstruct.cpp
teyssieuman/VAL
15320d3988bb6ed633babe6c7bd663a97c23a393
[ "BSD-3-Clause" ]
48
2015-01-19T01:07:16.000Z
2021-07-29T18:26:54.000Z
libraries/VAL/src/graphconstruct.cpp
teyssieuman/VAL
15320d3988bb6ed633babe6c7bd663a97c23a393
[ "BSD-3-Clause" ]
45
2016-01-08T01:57:01.000Z
2022-03-07T04:00:36.000Z
// Copyright 2019 - University of Strathclyde, King's College London and Schlumberger Ltd // This source code is licensed under the BSD license found in the LICENSE file in the root directory of this source tree. #include "graphconstruct.h" #include "Evaluator.h" #include "FuncAnalysis.h" #include "InstPropLinker.h" #...
29.621053
122
0.535142
teyssieuman
0b7280055691a15afa962c7c470639c63a20a9c9
2,943
cpp
C++
code_blocks/checking_statistics/main.cpp
rafald/xtechnical_analysis
7686c16241e9e53fb5a5548354531b533f983b54
[ "MIT" ]
12
2020-01-20T14:22:18.000Z
2022-01-26T04:41:36.000Z
code_blocks/checking_statistics/main.cpp
rafald/xtechnical_analysis
7686c16241e9e53fb5a5548354531b533f983b54
[ "MIT" ]
1
2020-05-23T07:35:03.000Z
2020-05-23T07:35:03.000Z
code_blocks/checking_statistics/main.cpp
rafald/xtechnical_analysis
7686c16241e9e53fb5a5548354531b533f983b54
[ "MIT" ]
9
2019-11-02T19:01:55.000Z
2021-07-08T21:51:44.000Z
#include <iostream> #include "xtechnical_statistics.hpp" #include <array> #include <vector> int main() { std::cout << "Hello world!" << std::endl; std::array<double,6> test_data = {3,8,10,17,24,27}; double median_absolute_deviation_value = xtechnical_statistics::calc_median_absolute_deviation<double>(test...
44.590909
118
0.684336
rafald
0b7292b705f65f8ad3e92805d9232cea1c4d9624
458
cpp
C++
p/videojoiner/cv.cpp
jose-lp/docker-ie0521
e2c471bdc79fd94cb6dca4fe0cecc3ab2a649d7d
[ "MIT" ]
null
null
null
p/videojoiner/cv.cpp
jose-lp/docker-ie0521
e2c471bdc79fd94cb6dca4fe0cecc3ab2a649d7d
[ "MIT" ]
null
null
null
p/videojoiner/cv.cpp
jose-lp/docker-ie0521
e2c471bdc79fd94cb6dca4fe0cecc3ab2a649d7d
[ "MIT" ]
null
null
null
#include "cv.h" #include <opencv2/opencv.hpp> void cvWindow(const char *name, int x, int y, int w, int h) { namedWindow(name, CV_WINDOW_NORMAL | CV_GUI_NORMAL); moveWindow(name, x, y); resizeWindow(name, w, h); } void msgBox(const char *msg) { Mat win = Mat::zeros(200, 1200, CV_8UC1); putText(win, msg, Point(50...
24.105263
66
0.683406
jose-lp
0b795796369fa5c52e057bc4e67e18c8c0111f7c
404
cpp
C++
source/PyMaterialX/PyMaterialXGenOgsXml/PyModule.cpp
muenstc/MaterialX
b8365086a738fddae683065d78f65410aacd0dc4
[ "BSD-3-Clause" ]
101
2017-08-08T12:08:01.000Z
2022-03-17T06:37:58.000Z
source/PyMaterialX/PyMaterialXGenOgsXml/PyModule.cpp
testpassword/MaterialX
7c69782196b11fa43c67aee0707801983bb81e6c
[ "BSD-3-Clause" ]
1,002
2018-01-09T10:33:07.000Z
2022-03-31T18:35:04.000Z
source/PyMaterialX/PyMaterialXGenOgsXml/PyModule.cpp
testpassword/MaterialX
7c69782196b11fa43c67aee0707801983bb81e6c
[ "BSD-3-Clause" ]
24
2018-01-05T20:16:36.000Z
2022-02-03T15:40:14.000Z
// // TM & (c) 2017 Lucasfilm Entertainment Company Ltd. and Lucasfilm Ltd. // All rights reserved. See LICENSE.txt for license. // #include <PyMaterialX/PyMaterialX.h> namespace py = pybind11; void bindPyOgsFragment(py::module& mod); PYBIND11_MODULE(PyMaterialXGenOgsXml, mod) { mod.doc() = "Module containing ...
22.444444
87
0.742574
muenstc
0b7a364391459c9607fb675102d570ae65003254
8,254
cpp
C++
Test.cpp
dolevsaadia/wargame
a9fecab767337fe8b42d3712becdcfcf4c9507b2
[ "MIT" ]
null
null
null
Test.cpp
dolevsaadia/wargame
a9fecab767337fe8b42d3712becdcfcf4c9507b2
[ "MIT" ]
null
null
null
Test.cpp
dolevsaadia/wargame
a9fecab767337fe8b42d3712becdcfcf4c9507b2
[ "MIT" ]
null
null
null
#include "doctest.h" #include "FootSoldier.hpp" #include "FootCommander.hpp" #include"Paramedic.hpp" #include"ParamedicCommander.hpp" #include"Sniper.hpp" #include"SniperCommander.hpp" #include "Board.hpp" #include <iostream> using namespace std; namespace WarGame{ TEST_CASE("Test-1-soldiers") { Board board(8,...
32.242188
57
0.577417
dolevsaadia
0b7c14cb211d72dc1d324f42da9f1712af30bea4
1,447
cpp
C++
TreeSection.cpp
Scaarj/HappyNewYear
38a373e939c8aed400001914e283cc918c4cfa44
[ "MIT" ]
null
null
null
TreeSection.cpp
Scaarj/HappyNewYear
38a373e939c8aed400001914e283cc918c4cfa44
[ "MIT" ]
null
null
null
TreeSection.cpp
Scaarj/HappyNewYear
38a373e939c8aed400001914e283cc918c4cfa44
[ "MIT" ]
null
null
null
#include "TreeSection.h" #include <boost/range/adaptors.hpp> #include <cmath> #include "Pattern.h" #include "TreeLine.h" TreeSection::TreeSection(int offset, int maxWidth, int start) { for (int i = start; i < ceil(maxWidth / 2) + 1; ++i) { int treeItemCount = i * 2 + 1; _lines.push_back( std::make_...
24.948276
79
0.658604
Scaarj
0b7d2ea70f3ff9682b259ef39f6d40831309d6cf
8,502
cc
C++
comm/leader_election.cc
wahidHarb/rdp-1
73a0813d9a08f0aad34b56ba678167e6387b5e74
[ "Apache-2.0" ]
112
2018-12-05T07:45:42.000Z
2022-01-24T11:28:11.000Z
comm/leader_election.cc
wahidHarb/rdp-1
73a0813d9a08f0aad34b56ba678167e6387b5e74
[ "Apache-2.0" ]
2
2020-02-29T02:34:59.000Z
2020-05-12T06:34:29.000Z
comm/leader_election.cc
wahidHarb/rdp-1
73a0813d9a08f0aad34b56ba678167e6387b5e74
[ "Apache-2.0" ]
88
2018-12-16T07:35:10.000Z
2022-03-09T17:41:16.000Z
// //Copyright 2018 vip.com. // //Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with //the License. You may obtain a copy of the License at // //http://www.apache.org/licenses/LICENSE-2.0 // //Unless required by applicable law or agreed to in writing, sof...
29.418685
117
0.626441
wahidHarb
0b7da4117c08905aaa6b33469d0846a312083e4c
4,397
cpp
C++
BlendNode.cpp
IvarJonsson/Project-Unknown
4675b41bbb5e90135c7bf3aded2c2e262b50f351
[ "BSL-1.0" ]
null
null
null
BlendNode.cpp
IvarJonsson/Project-Unknown
4675b41bbb5e90135c7bf3aded2c2e262b50f351
[ "BSL-1.0" ]
null
null
null
BlendNode.cpp
IvarJonsson/Project-Unknown
4675b41bbb5e90135c7bf3aded2c2e262b50f351
[ "BSL-1.0" ]
null
null
null
// Copyright 2001-2016 Crytek GmbH / Crytek Group. All rights reserved. /************************************************************************* ------------------------------------------------------------------------- $Id$ $DateTime$ Description: BlendNodes and BlendGroups for ScreenEffects ---------------...
21.553922
129
0.556516
IvarJonsson
0b7e723f086bb4bfa9946d3dc14ab87dad3e87d8
581
cpp
C++
leetcode/medianSortedMatrix.cpp
vkashkumar/Competitive-Programming
c457e745208c0ca3e45b1ffce254a21504533f51
[ "MIT" ]
2
2019-01-30T12:45:18.000Z
2021-05-06T19:02:51.000Z
leetcode/medianSortedMatrix.cpp
vkashkumar/Competitive-Programming
c457e745208c0ca3e45b1ffce254a21504533f51
[ "MIT" ]
null
null
null
leetcode/medianSortedMatrix.cpp
vkashkumar/Competitive-Programming
c457e745208c0ca3e45b1ffce254a21504533f51
[ "MIT" ]
3
2020-10-02T15:42:04.000Z
2022-03-27T15:14:16.000Z
int Solution::findMedian(vector<vector<int> > &A) { int r=A.size(),c=A[0].size(); int req=(r*c+1)/2; int minm=INT_MAX,maxm=INT_MIN; //finding min and max elemnt in whole matrix for(int i=0;i<r;i++) { minm=min(minm,A[i][0]); maxm=max(maxm,A[i][c-1]); } while(minm...
24.208333
70
0.502582
vkashkumar
0b7f21f3201d1d09574c61cdcafaa81fd38e5ba9
917
hpp
C++
include/SSVOpenHexagon/Utils/Match.hpp
kiwec/SSVOpenHexagon
a421694146117e6457aadab22358c6be05a71c13
[ "AFL-3.0" ]
null
null
null
include/SSVOpenHexagon/Utils/Match.hpp
kiwec/SSVOpenHexagon
a421694146117e6457aadab22358c6be05a71c13
[ "AFL-3.0" ]
null
null
null
include/SSVOpenHexagon/Utils/Match.hpp
kiwec/SSVOpenHexagon
a421694146117e6457aadab22358c6be05a71c13
[ "AFL-3.0" ]
null
null
null
// Copyright (c) 2013-2020 Vittorio Romeo // License: Academic Free License ("AFL") v. 3.0 // AFL License page: http://opensource.org/licenses/AFL-3.0 #pragma once #include <type_traits> #include <variant> #include <utility> namespace hg::Utils { template <typename... Fs> struct overload_set : Fs... { template ...
21.833333
80
0.652126
kiwec
0b7f7ab32a28370dd95bb868670c9cb65fea0dba
8,442
cpp
C++
test/backend/batch_mat_mul.in.cpp
XReyRobert-IBM/ngraph
8cd9b5da9591f3e096b07ff21d8eaa2d2f0fb06f
[ "Apache-2.0" ]
null
null
null
test/backend/batch_mat_mul.in.cpp
XReyRobert-IBM/ngraph
8cd9b5da9591f3e096b07ff21d8eaa2d2f0fb06f
[ "Apache-2.0" ]
null
null
null
test/backend/batch_mat_mul.in.cpp
XReyRobert-IBM/ngraph
8cd9b5da9591f3e096b07ff21d8eaa2d2f0fb06f
[ "Apache-2.0" ]
null
null
null
//***************************************************************************** // Copyright 2017-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://w...
38.547945
98
0.675788
XReyRobert-IBM
0b81ac862e4da9817195d15bd80330bd552b38cc
1,458
cpp
C++
UVA/735.cpp
DT3264/ProgrammingContestsSolutions
a297f2da654c2ca2815b9aa375c2b4ca0052269d
[ "MIT" ]
null
null
null
UVA/735.cpp
DT3264/ProgrammingContestsSolutions
a297f2da654c2ca2815b9aa375c2b4ca0052269d
[ "MIT" ]
null
null
null
UVA/735.cpp
DT3264/ProgrammingContestsSolutions
a297f2da654c2ca2815b9aa375c2b4ca0052269d
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> #define f first #define s second #define ll long long #define vi vector<int> #define pii pair<int, int> #define si set<int> #define y1 yy #define debug if(printDebug) using namespace std; bool printDebug=false; int main(){ //printDebug=true; /*freopen("in.txt", "r", stdin); freopen("...
23.142857
85
0.500686
DT3264
0b81bf1a8f15c6dd3c8546e8d0505dad5c3e3db3
711
hpp
C++
include/lol/def/RosterItemDto.hpp
Maufeat/LeagueAPI
be7cb5093aab3f27d95b3c0e1d5700aa50126c47
[ "BSD-3-Clause" ]
1
2020-07-22T11:14:55.000Z
2020-07-22T11:14:55.000Z
include/lol/def/RosterItemDto.hpp
Maufeat/LeagueAPI
be7cb5093aab3f27d95b3c0e1d5700aa50126c47
[ "BSD-3-Clause" ]
null
null
null
include/lol/def/RosterItemDto.hpp
Maufeat/LeagueAPI
be7cb5093aab3f27d95b3c0e1d5700aa50126c47
[ "BSD-3-Clause" ]
4
2018-12-01T22:48:21.000Z
2020-07-22T11:14:56.000Z
#pragma once #include "../base_def.hpp" namespace lol { struct RosterItemDto { uint64_t accountId; std::string summonerName; int32_t summonerIconId; std::string clubRole; }; inline void to_json(json& j, const RosterItemDto& v) { j["accountId"] = v.accountId; j["summonerName"] = v.summo...
32.318182
62
0.646976
Maufeat
0b82b4a677f754329da71f3ca9f361fad8c91abc
1,020
hpp
C++
source/framework/core/include/lue/framework/core/serialize/shared_buffer.hpp
computationalgeography/lue
71993169bae67a9863d7bd7646d207405dc6f767
[ "MIT" ]
2
2021-02-26T22:45:56.000Z
2021-05-02T10:28:48.000Z
source/framework/core/include/lue/framework/core/serialize/shared_buffer.hpp
pcraster/lue
e64c18f78a8b6d8a602b7578a2572e9740969202
[ "MIT" ]
262
2016-08-11T10:12:02.000Z
2020-10-13T18:09:16.000Z
source/framework/core/include/lue/framework/core/serialize/shared_buffer.hpp
computationalgeography/lue
71993169bae67a9863d7bd7646d207405dc6f767
[ "MIT" ]
1
2020-03-11T09:49:41.000Z
2020-03-11T09:49:41.000Z
#pragma once #include "lue/framework/core/shared_buffer.hpp" #include <hpx/serialization/array.hpp> namespace hpx { namespace serialization { template< typename Element> void serialize( input_archive& archive, lue::SharedBuffer<Element>& buffer, unsigned int const /* version */) { // Read buffer ...
21.25
77
0.670588
computationalgeography
0b85d0e46281e9184082f5cc2e856186bf03ea19
1,112
cpp
C++
src/ProjectsCpp/ImageStiching/Sticher/im_stitching.cpp
ShawnZhang31/OpenCV_Tutorials_ZH
fe151158291cb282539e969c38d47af38c37fd45
[ "MIT" ]
2
2020-02-21T19:16:41.000Z
2021-06-30T07:09:44.000Z
src/ProjectsCpp/ImageStiching/Sticher/im_stitching.cpp
ShawnZhang31/OpenCV_Tutorials_ZH
fe151158291cb282539e969c38d47af38c37fd45
[ "MIT" ]
null
null
null
src/ProjectsCpp/ImageStiching/Sticher/im_stitching.cpp
ShawnZhang31/OpenCV_Tutorials_ZH
fe151158291cb282539e969c38d47af38c37fd45
[ "MIT" ]
1
2021-04-16T05:17:27.000Z
2021-04-16T05:17:27.000Z
// // Created by 张晓民 on 2020/3/20. // #include <opencv2/imgcodecs.hpp> #include <opencv2/highgui.hpp> #include <opencv2/stitching.hpp> #include <iostream> using namespace std; using namespace cv; bool divide_images = false; Stitcher::Mode mode = Stitcher::PANORAMA; vector<Mat> imgs; string result_name = "result.jp...
21.803922
59
0.602518
ShawnZhang31
0b8cf1e6294370b9912415e2cf4fce02a0161b05
2,124
cpp
C++
DecoderSDK/ISampleDecoder.cpp
MartinPulec/cineform-sdk
8fd6bbaf87a9ff99c13bc7978318a32b1549ba13
[ "Apache-2.0", "MIT-0", "MIT" ]
248
2017-10-25T16:14:07.000Z
2022-03-26T10:53:34.000Z
DecoderSDK/ISampleDecoder.cpp
MartinPulec/cineform-sdk
8fd6bbaf87a9ff99c13bc7978318a32b1549ba13
[ "Apache-2.0", "MIT-0", "MIT" ]
48
2017-10-25T21:48:39.000Z
2021-11-29T15:37:44.000Z
DecoderSDK/ISampleDecoder.cpp
MartinPulec/cineform-sdk
8fd6bbaf87a9ff99c13bc7978318a32b1549ba13
[ "Apache-2.0", "MIT-0", "MIT" ]
62
2017-10-25T21:45:36.000Z
2022-03-26T10:53:50.000Z
/*! @file ISampleDecoder.cpp @brief Interface for the sample decoder class. This class is used internally by CineForm software and is not currently mentioned in the documentation provided to customers. Modify this comment and add tags for Doxygen to publish this interface in customer documentation. The...
28.702703
120
0.749529
MartinPulec
0b98701c5eb7abef8fb946ddf60dcc4ae7f5ea53
1,896
cpp
C++
source/profile/ReadClassification.cpp
a7420174/ExpansionHunterDenovo
cbe1306aa8ad7c4b33cdf981d64b3415aa057f91
[ "Apache-2.0", "BSD-3-Clause" ]
50
2019-09-20T18:37:38.000Z
2022-03-10T08:55:42.000Z
source/profile/ReadClassification.cpp
mfbennett/ExpansionHunterDenovo
abf1cc78535f572ec49d38a65f6e84f4104fae2a
[ "Apache-2.0", "BSD-3-Clause" ]
35
2019-09-20T18:38:20.000Z
2022-03-29T22:50:55.000Z
source/profile/ReadClassification.cpp
mfbennett/ExpansionHunterDenovo
abf1cc78535f572ec49d38a65f6e84f4104fae2a
[ "Apache-2.0", "BSD-3-Clause" ]
21
2019-09-20T20:54:43.000Z
2022-03-30T13:18:25.000Z
// // ExpansionHunter Denovo // Copyright 2016-2019 Illumina, Inc. // All rights reserved. // // Author: Egor Dolzhenko <edolzhenko@illumina.com>, // Michael Eberle <meberle@illumina.com> // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with...
30.580645
117
0.699367
a7420174
0ba2eee16e686b8029b5c9a5846e07f51f8e673e
601
cpp
C++
P/1030.cpp
langonginc/cfile
46458897b8a4a8d58a2bc63ecb6ef84f76bdb61f
[ "MIT" ]
1
2020-09-13T02:51:25.000Z
2020-09-13T02:51:25.000Z
P/1030.cpp
langonginc/cfile
46458897b8a4a8d58a2bc63ecb6ef84f76bdb61f
[ "MIT" ]
null
null
null
P/1030.cpp
langonginc/cfile
46458897b8a4a8d58a2bc63ecb6ef84f76bdb61f
[ "MIT" ]
1
2021-06-05T03:37:57.000Z
2021-06-05T03:37:57.000Z
#include <iostream> #include <cstdio> #include <cstring> using namespace std; char mid[55], aft[55]; void dfs (int midl, int midr, int aftl, int aftr) { if (midl > midr || aftl > aftr) { return; } printf ("%c", aft[aftr]); for (int i = midl; i <= midr; i ++) { if (mid[i] == aft...
19.387097
57
0.464226
langonginc
0ba4785770d1c2710060909c83f81e8b0287ceb1
694
hpp
C++
Sources/Part12/Game.hpp
marukrap/RoguelikeTutorial2020
6fbed9068dff6279f1e3a885329cc2dfaec1ad4a
[ "MIT" ]
25
2020-06-25T03:08:31.000Z
2022-01-30T15:38:48.000Z
Sources/Part12/Game.hpp
marukrap/RoguelikeTutorial2020
6fbed9068dff6279f1e3a885329cc2dfaec1ad4a
[ "MIT" ]
2
2020-08-10T17:52:45.000Z
2020-08-18T04:02:00.000Z
Sources/Part12/Game.hpp
marukrap/RoguelikeTutorial2020
6fbed9068dff6279f1e3a885329cc2dfaec1ad4a
[ "MIT" ]
2
2020-07-01T05:09:04.000Z
2020-08-04T02:19:04.000Z
#pragma once #include "Engine/Renderer.hpp" #include "World.hpp" class Console; class Game { public: Game(SDL_Window& window, Console& console); bool isRunning() const; void tick(); World* getWorld(); void createWorld(); void loadSavefile(); void closeMenu(); void openMenu(std::unique_ptr<Menu> menu); vo...
16.139535
44
0.71902
marukrap
2437fb635dfce2a779dfe830f1c189e321c0d80a
10,224
hpp
C++
WICWIU_src/Optimizer.hpp
ChanhyoLee/TextDataset
397571f476a89ad42ef3ed77b82c76fc19ac3e33
[ "Apache-2.0" ]
null
null
null
WICWIU_src/Optimizer.hpp
ChanhyoLee/TextDataset
397571f476a89ad42ef3ed77b82c76fc19ac3e33
[ "Apache-2.0" ]
null
null
null
WICWIU_src/Optimizer.hpp
ChanhyoLee/TextDataset
397571f476a89ad42ef3ed77b82c76fc19ac3e33
[ "Apache-2.0" ]
null
null
null
#ifndef OPTIMIZER_H_ #define OPTIMIZER_H_ value #include "LossFunction_utils.hpp" enum OptimizeDirection { MAXIMIZE, MINIMIZE }; template<typename DTYPE> class Optimizer { private: float m_LearningRate; int m_OptimizeDirection; // 1 or -1 float m_weightDecayRate; Container<Operator<DTYPE...
36.776978
180
0.702758
ChanhyoLee
24390a5d58651a882fcc4dae39937bf58154c46c
9,140
cpp
C++
libfastcgipp/request.cpp
xujintao/ratel
a1c3409872816510cca96a0e866c47260a315341
[ "MIT" ]
1
2018-01-08T02:13:04.000Z
2018-01-08T02:13:04.000Z
libfastcgipp/request.cpp
xujintao/ratel
a1c3409872816510cca96a0e866c47260a315341
[ "MIT" ]
null
null
null
libfastcgipp/request.cpp
xujintao/ratel
a1c3409872816510cca96a0e866c47260a315341
[ "MIT" ]
null
null
null
/*! * @file request.cpp * @brief Defines the Request class * @author Eddie Carle &lt;eddie@isatec.ca&gt; * @date May 20, 2017 * @copyright Copyright &copy; 2017 Eddie Carle. This project is released under * the GNU Lesser General Public License Version 3. */ /******************...
31.958042
111
0.475274
xujintao
24395a7adb27e736c0472ad08e352db343f3e6c2
2,832
cpp
C++
stdshader_vulkan/src/shaders/ShaderParamNext.cpp
melvyn2/TF2Vulkan
a8cd1c49ecfe9d4dc31af0a50ba7690c61c255c4
[ "MIT" ]
null
null
null
stdshader_vulkan/src/shaders/ShaderParamNext.cpp
melvyn2/TF2Vulkan
a8cd1c49ecfe9d4dc31af0a50ba7690c61c255c4
[ "MIT" ]
null
null
null
stdshader_vulkan/src/shaders/ShaderParamNext.cpp
melvyn2/TF2Vulkan
a8cd1c49ecfe9d4dc31af0a50ba7690c61c255c4
[ "MIT" ]
null
null
null
#include "ShaderParamNext.h" using namespace TF2Vulkan; using namespace TF2Vulkan::Shaders; ShaderParamNext::ShaderParamNext(const char* name, ShaderParamType_t type, const char* defaultVal, const char* help, int flags) { m_Info.m_pName = name; m_Info.m_Type = type; m_Info.m_pDefaultValue = defaultVal; m_Info.m_...
23.6
139
0.759181
melvyn2
243d3825608d2ab307f4e99b9aa3b143963e9c5c
7,997
cpp
C++
Attic/AtomicEditorReference/Source/AEEditor.cpp
honigbeutler123/AtomicGameEngine
c53425f19b216eb21ecd3bda85052aaa1a6f2aaa
[ "Apache-2.0", "MIT" ]
null
null
null
Attic/AtomicEditorReference/Source/AEEditor.cpp
honigbeutler123/AtomicGameEngine
c53425f19b216eb21ecd3bda85052aaa1a6f2aaa
[ "Apache-2.0", "MIT" ]
null
null
null
Attic/AtomicEditorReference/Source/AEEditor.cpp
honigbeutler123/AtomicGameEngine
c53425f19b216eb21ecd3bda85052aaa1a6f2aaa
[ "Apache-2.0", "MIT" ]
null
null
null
// Copyright (c) 2014-2015, THUNDERBEAST GAMES LLC All rights reserved // Please see LICENSE.md in repository root for license information // https://github.com/AtomicGameEngine/AtomicGameEngine #include "AtomicEditor.h" #include <Atomic/Engine/Engine.h> #include <Atomic/IO/FileSystem.h> #include <Atomic/Resource/Res...
23.112717
121
0.709516
honigbeutler123
244524dd3e5144860de38298b12ea2eacbb36b4e
3,200
cpp
C++
1project/story.cpp
rianders/2016IntroToProgramming
0e24b2b58c5be2e4d40d3b31b83518c48df5804e
[ "Apache-2.0" ]
3
2016-01-27T18:12:40.000Z
2016-02-03T20:27:19.000Z
1project/story.cpp
rianders/2016IntroToProgramming
0e24b2b58c5be2e4d40d3b31b83518c48df5804e
[ "Apache-2.0" ]
3
2016-03-21T02:18:52.000Z
2016-03-21T03:02:51.000Z
1project/story.cpp
rianders/2016IntroToProgramming
0e24b2b58c5be2e4d40d3b31b83518c48df5804e
[ "Apache-2.0" ]
16
2016-01-27T18:12:41.000Z
2019-09-15T01:42:28.000Z
/* * Hellow World Story. Modified from http://www.cplusplus.com/ * g++ story.cpp -o story.out * ./story.out */ #include <iostream> #include <string> #include <stdlib.h> using namespace std; int main () { int sentenceNumber; string story; string sent1; //sent1 stands for sentence1 string sent2; string sen...
22.535211
94
0.5575
rianders
24564f013a7c3797901041ff9ab50bf31168d7b0
2,334
hpp
C++
aagent/src/strategies/include/PerfDynamicsAnalysis.hpp
robert-mijakovic/readex-ptf
5514b0545721ef27de0426a7fa0116d2e0bb5eef
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2022-03-10T09:59:37.000Z
2022-03-10T09:59:37.000Z
aagent/src/strategies/include/PerfDynamicsAnalysis.hpp
robert-mijakovic/readex-ptf
5514b0545721ef27de0426a7fa0116d2e0bb5eef
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
3
2020-04-21T07:57:32.000Z
2020-10-14T08:05:41.000Z
aagent/src/strategies/include/PerfDynamicsAnalysis.hpp
robert-mijakovic/readex-ptf
5514b0545721ef27de0426a7fa0116d2e0bb5eef
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2020-11-20T03:04:32.000Z
2020-11-20T03:04:32.000Z
/** @file PerfDynamicsAnalysis.hpp @ingroup PerfDynamicsAnalysis @brief Performance Dynamics Analysis strategy header @author Yury Oleynik @verbatim Revision: $Revision$ Revision date: Dec 10, 2013 Committed by: $Author$ This file is part of the Periscope performance measu...
25.648352
108
0.67138
robert-mijakovic
2456904637077b7beca5a33258ddebda06368bb7
3,662
cpp
C++
Samples/WindowsAudioSession/cpp/Scenario1.xaml.cpp
dujianxin/Windows-universal-samples
d4e95ff0ac408c5d4d980bb18d53fb2c6556a273
[ "MIT" ]
2,504
2019-05-07T06:56:42.000Z
2022-03-31T19:37:59.000Z
Samples/WindowsAudioSession/cpp/Scenario1.xaml.cpp
dujianxin/Windows-universal-samples
d4e95ff0ac408c5d4d980bb18d53fb2c6556a273
[ "MIT" ]
314
2019-05-08T16:56:30.000Z
2022-03-21T07:13:45.000Z
Samples/WindowsAudioSession/cpp/Scenario1.xaml.cpp
dujianxin/Windows-universal-samples
d4e95ff0ac408c5d4d980bb18d53fb2c6556a273
[ "MIT" ]
2,219
2019-05-07T00:47:26.000Z
2022-03-30T21:12:31.000Z
//********************************************************* // // Copyright (c) Microsoft. All rights reserved. // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY // IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR // PURPOSE, MERCHANTABILITY, OR NON-INFRINGE...
31.299145
130
0.676406
dujianxin
245be162126af321cd1856d8ec3b2f29f4825d6c
6,020
cpp
C++
src/fuselage/CCPACSPressureBulkheadAssemblyPosition.cpp
pputin/tigl
886b723bdd753c0ebe05d22b44c2c5a4c8d323bb
[ "Apache-2.0" ]
null
null
null
src/fuselage/CCPACSPressureBulkheadAssemblyPosition.cpp
pputin/tigl
886b723bdd753c0ebe05d22b44c2c5a4c8d323bb
[ "Apache-2.0" ]
null
null
null
src/fuselage/CCPACSPressureBulkheadAssemblyPosition.cpp
pputin/tigl
886b723bdd753c0ebe05d22b44c2c5a4c8d323bb
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2018 Airbus Defence and Space and RISC Software GmbH * * 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 ...
35.833333
131
0.699169
pputin
245fa41b101f0d31bfc3d67c8369825cba367b7f
6,393
cpp
C++
src/VulkanCommandManager.cpp
saucisse-royale/kudasai
fadf6786ad28a15a93dcae6228bc352ce46ffc0c
[ "MIT" ]
null
null
null
src/VulkanCommandManager.cpp
saucisse-royale/kudasai
fadf6786ad28a15a93dcae6228bc352ce46ffc0c
[ "MIT" ]
null
null
null
src/VulkanCommandManager.cpp
saucisse-royale/kudasai
fadf6786ad28a15a93dcae6228bc352ce46ffc0c
[ "MIT" ]
null
null
null
#include "VulkanCommandManager.hpp" #include "VulkanContext.hpp" #include "VulkanHelper.hpp" #include <iostream> #include <limits> namespace kds { VulkanCommandManager::VulkanCommandManager(VulkanContext* vulkanContext) noexcept : _vulkanContext{ vulkanContext } , _graphicsCommandPool{ vkDestroyCommandPool, ...
46.326087
203
0.785547
saucisse-royale
24600d0163aff7ae167f27437ee6f71e84f9e2e8
6,244
cxx
C++
sprokit/processes/core/initialize_object_tracks_process.cxx
judajake/kwiver
303a11ebb43c020ab8e48b6ef70407b460dba46b
[ "BSD-3-Clause" ]
null
null
null
sprokit/processes/core/initialize_object_tracks_process.cxx
judajake/kwiver
303a11ebb43c020ab8e48b6ef70407b460dba46b
[ "BSD-3-Clause" ]
null
null
null
sprokit/processes/core/initialize_object_tracks_process.cxx
judajake/kwiver
303a11ebb43c020ab8e48b6ef70407b460dba46b
[ "BSD-3-Clause" ]
null
null
null
/*ckwg +29 * Copyright 2017 by Kitware, Inc. * 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...
29.45283
81
0.675048
judajake
2462042105e2b409c1d976277adff3a67ab5dbd4
974
cpp
C++
src/init_handler.cpp
nikbsf/foo_tag_sync
4f4b2b0bad2d6b97f2d645f6a2b823e59e6a7bfc
[ "MIT" ]
3
2017-02-14T16:03:18.000Z
2021-06-07T16:43:33.000Z
src/init_handler.cpp
nikbsf/foo_tag_sync
4f4b2b0bad2d6b97f2d645f6a2b823e59e6a7bfc
[ "MIT" ]
null
null
null
src/init_handler.cpp
nikbsf/foo_tag_sync
4f4b2b0bad2d6b97f2d645f6a2b823e59e6a7bfc
[ "MIT" ]
null
null
null
#include "stdafx.h" #include "service_container.h" extern service_ptr_t<service_container> g_service_container; extern advconfig_integer_factory cfg_fetch_interval_seconds; class updates_check_timer : public system_time_callback_impl { public: void on_time_changed(t_filetimestamp newVal) override { g_service_cont...
27.055556
88
0.814168
nikbsf
2471540756dfb3a47a09ce9f51f0235130ff086a
2,508
cpp
C++
examples/planner_scene_1.cpp
a20r/Dodger
6e2525f4701031d4e946fcd04c508655fa67c8ea
[ "Apache-2.0" ]
1
2021-11-30T11:19:56.000Z
2021-11-30T11:19:56.000Z
examples/planner_scene_1.cpp
a20r/Dodger
6e2525f4701031d4e946fcd04c508655fa67c8ea
[ "Apache-2.0" ]
null
null
null
examples/planner_scene_1.cpp
a20r/Dodger
6e2525f4701031d4e946fcd04c508655fa67c8ea
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include <iterator> #include <list> #include <stdlib.h> #include <time.h> #include "point.hpp" #include "roadmap.hpp" #include "rmgenerator.hpp" #include "model.hpp" #include "agent.hpp" #include "path.hpp" #include "search.hpp" #include "planner.hpp" int main() { srand(time(NULL)); doub...
29.162791
67
0.630781
a20r
2471d87ebb86d0daff966f7b2b1af0a2468660b3
24,465
cpp
C++
lib/tlrQWidget/TimelineControls.cpp
darbyjohnston/tlRender
0bdb8aa3795a0098811a7c3ed6add3023bcfd55a
[ "BSD-3-Clause" ]
59
2021-04-26T23:38:35.000Z
2022-03-23T15:21:44.000Z
lib/tlrQWidget/TimelineControls.cpp
darbyjohnston/tlRender
0bdb8aa3795a0098811a7c3ed6add3023bcfd55a
[ "BSD-3-Clause" ]
17
2021-04-30T02:03:08.000Z
2022-01-11T19:54:47.000Z
lib/tlrQWidget/TimelineControls.cpp
darbyjohnston/tlRender
0bdb8aa3795a0098811a7c3ed6add3023bcfd55a
[ "BSD-3-Clause" ]
5
2021-06-07T16:11:53.000Z
2021-12-10T23:29:45.000Z
// SPDX-License-Identifier: BSD-3-Clause // Copyright (c) 2021-2022 Darby Johnston // All rights reserved. #include <tlrQWidget/TimelineControls.h> #include <tlrQWidget/SpeedLabel.h> #include <tlrQWidget/TimeLabel.h> #include <tlrQWidget/TimeSpinBox.h> #include <tlrCore/StringFormat.h> #include <QButtonGroup> #incl...
39.019139
109
0.545637
darbyjohnston
2471e6e5cb99e204fe3c765ea7845e16b30f578f
4,110
cpp
C++
Wind.cpp
tebrown/wxpro
5c2765f024b1b6c8aae714a2b972366fd4c14878
[ "BSD-2-Clause" ]
1
2016-06-11T11:22:55.000Z
2016-06-11T11:22:55.000Z
Wind.cpp
tebrown/wxpro
5c2765f024b1b6c8aae714a2b972366fd4c14878
[ "BSD-2-Clause" ]
null
null
null
Wind.cpp
tebrown/wxpro
5c2765f024b1b6c8aae714a2b972366fd4c14878
[ "BSD-2-Clause" ]
null
null
null
#include "Wind.h" #include "units.h" #include "math.h" using namespace std; Wind::Wind( Now *_now, Database &_db ): now(_now), dbg("Wind"), db( _db ) { restore(); } Wind::~Wind() { dump(); } void Wind::restore() { dbResult result = db.query("select * from windData;"); for ( dbResult::iterator ...
22.707182
130
0.544769
tebrown
24721130d28ada5b33e3cedf3f2e47f38ec47a10
350
cpp
C++
test/mocked-tests/concurrency/semaphore_test.cpp
Creeperface01/centurion
e3b674c11849367a18c2d976ce94071108e1590d
[ "MIT" ]
14
2020-05-17T21:38:03.000Z
2020-11-21T00:16:25.000Z
test/mocked-tests/concurrency/semaphore_test.cpp
Creeperface01/centurion
e3b674c11849367a18c2d976ce94071108e1590d
[ "MIT" ]
70
2020-04-26T17:08:52.000Z
2020-11-21T17:34:03.000Z
test/mocked-tests/concurrency/semaphore_test.cpp
Creeperface01/centurion
e3b674c11849367a18c2d976ce94071108e1590d
[ "MIT" ]
null
null
null
#include <gtest/gtest.h> #include "centurion/concurrency.hpp" #include "core_mocks.hpp" #include "thread_mocks.hpp" class SemaphoreTest : public testing::Test { public: void SetUp() override { mocks::reset_core(); mocks::reset_thread(); } }; TEST_F(SemaphoreTest, Constructor) { ASSERT_THROW(cen::sem...
17.5
50
0.705714
Creeperface01
2478559a5a9bb1a4c828ae4d2016317eeecc5827
2,308
hpp
C++
include/CoreUtil.hpp
xiaohongchen1991/clang-xform
bd0cf899760b53b24e10ca4baab3c4e281535b97
[ "MIT" ]
2
2020-02-18T18:09:45.000Z
2020-05-10T18:38:38.000Z
include/CoreUtil.hpp
xiaohongchen1991/clang-xform
bd0cf899760b53b24e10ca4baab3c4e281535b97
[ "MIT" ]
null
null
null
include/CoreUtil.hpp
xiaohongchen1991/clang-xform
bd0cf899760b53b24e10ca4baab3c4e281535b97
[ "MIT" ]
1
2020-02-18T18:09:48.000Z
2020-02-18T18:09:48.000Z
/* MIT License Copyright (c) 2019 Xiaohong Chen Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merg...
34.969697
94
0.740035
xiaohongchen1991
24794ac3440dc966dc176068098a4f30d80794ff
1,370
cpp
C++
Codes/13.cpp
khosravipasha/ProjectEuler
f5509b85365c8d9ef213448d8e37bb1b7cfa2385
[ "MIT" ]
null
null
null
Codes/13.cpp
khosravipasha/ProjectEuler
f5509b85365c8d9ef213448d8e37bb1b7cfa2385
[ "MIT" ]
null
null
null
Codes/13.cpp
khosravipasha/ProjectEuler
f5509b85365c8d9ef213448d8e37bb1b7cfa2385
[ "MIT" ]
null
null
null
// Project Euler9 // Problem 13 // TODO: Find the better and more complete bignum I wrote before and use it #include<fstream> #include<iostream> #include<algorithm> #include<string> using namespace std; const int digits = 100; struct Bignum{ int a[digits]; int n = 1; void reset(){ for (int i = 0; i < digits; ...
15.393258
75
0.506569
khosravipasha
247dda218bacecd2193979147fa360942e545a74
1,141
inl
C++
src/ECS/systemsQueue.inl
SPC-Some-Polish-Coders/PopHead
2bce21b1a6b3d16a2ccecf0d15faeebf6a486c81
[ "MIT" ]
117
2019-03-18T20:09:54.000Z
2022-03-27T22:40:52.000Z
src/ECS/systemsQueue.inl
SPC-Some-Polish-Coders/PopHead
2bce21b1a6b3d16a2ccecf0d15faeebf6a486c81
[ "MIT" ]
443
2019-04-07T19:59:56.000Z
2020-05-23T12:25:28.000Z
src/ECS/systemsQueue.inl
SPC-Some-Polish-Coders/PopHead
2bce21b1a6b3d16a2ccecf0d15faeebf6a486c81
[ "MIT" ]
19
2019-03-20T19:57:34.000Z
2020-11-21T15:35:02.000Z
#include "systemsQueue.hpp" namespace ph { template<typename SystemType, typename... Args> void SystemsQueue::appendSystem(Args... arguments) { if (mSystemsArray.empty()) mSystemsArray.emplace_back(std::unique_ptr<SystemType>(new SystemType(mRegistry, arguments...)), 0); else mSystemsArray.emplace_back(s...
29.25641
132
0.728309
SPC-Some-Polish-Coders
247f1bc7b78a101eb6b724dc6e0dd0d0938c91f1
5,011
hpp
C++
source/rs-tl/uuid.hpp
CaptainCrowbar/rs-tl
fe9e3f072683f638a427d44d132e27435af5bd40
[ "BSL-1.0" ]
null
null
null
source/rs-tl/uuid.hpp
CaptainCrowbar/rs-tl
fe9e3f072683f638a427d44d132e27435af5bd40
[ "BSL-1.0" ]
null
null
null
source/rs-tl/uuid.hpp
CaptainCrowbar/rs-tl
fe9e3f072683f638a427d44d132e27435af5bd40
[ "BSL-1.0" ]
null
null
null
#pragma once #include "rs-tl/types.hpp" #include <algorithm> #include <array> #include <ostream> #include <stdexcept> #include <string> namespace RS::TL { namespace Detail { constexpr uint32_t bernstein_hash(const void* ptr, size_t len) noexcept { auto bptr = static_cast<const uint8_t*>(ptr)...
32.967105
143
0.437238
CaptainCrowbar
2480146dcf0c9b67b692609dc86599e6205875ee
2,391
cpp
C++
solved/i-k/internet-bandwidth/uva/bandwidth.cpp
abuasifkhan/pc-code
77ce51d692acf6edcb9e47aeb7b7f06bf56e4e90
[ "Unlicense" ]
13
2015-09-30T19:18:04.000Z
2021-06-26T21:11:30.000Z
solved/i-k/internet-bandwidth/uva/bandwidth.cpp
sbmaruf/pc-code
77ce51d692acf6edcb9e47aeb7b7f06bf56e4e90
[ "Unlicense" ]
null
null
null
solved/i-k/internet-bandwidth/uva/bandwidth.cpp
sbmaruf/pc-code
77ce51d692acf6edcb9e47aeb7b7f06bf56e4e90
[ "Unlicense" ]
13
2015-01-04T09:49:54.000Z
2021-06-03T13:18:44.000Z
#include <algorithm> #include <cstdio> #include <cstring> #include <vector> using namespace std; #define MAXN 100 #define Neg(v) memset((v), -1, sizeof(v)) #define Zero(v) memset((v), 0, sizeof(v)) const int INF = 1000 * 5000 + 100; int n; int s, t, c; struct Edge { int v, c, f; Edge() {} Edge(int ...
21.348214
73
0.437056
abuasifkhan
24829bdba0a8dc629252b05cf5553d43923ee9eb
1,509
cpp
C++
tests/Tezos/AddressTests.cpp
keefertaylor/wallet-core
0024e5df4f54bd5c602524a8ddae7670b76cb5e4
[ "MIT" ]
null
null
null
tests/Tezos/AddressTests.cpp
keefertaylor/wallet-core
0024e5df4f54bd5c602524a8ddae7670b76cb5e4
[ "MIT" ]
3
2019-03-05T07:09:47.000Z
2019-03-07T21:16:36.000Z
tests/Tezos/AddressTests.cpp
keefertaylor/wallet-core
0024e5df4f54bd5c602524a8ddae7670b76cb5e4
[ "MIT" ]
null
null
null
// Copyright © 2017-2019 Trust Wallet. // // This file is part of Trust. The full Trust copyright notice, including // terms governing use, modification, and redistribution, is contained in the // file LICENSE at the root of the source code distribution tree. #include "Tezos/Address.h" #include "Tezos/BinaryCoding.h" ...
26.017241
77
0.760769
keefertaylor
24839c94b5b143e0ddba11a953cb5251fa7f8b46
1,833
hpp
C++
include/GL/Math/Vec4.hpp
CalebHeydon/OOGL
18a9c0264929737f755ad5a24fff80851e58bbd1
[ "BSL-1.0" ]
315
2015-01-14T20:49:10.000Z
2022-03-31T19:39:19.000Z
include/GL/Math/Vec4.hpp
CalebHeydon/OOGL
18a9c0264929737f755ad5a24fff80851e58bbd1
[ "BSL-1.0" ]
11
2015-04-24T18:57:18.000Z
2022-03-29T16:39:04.000Z
include/GL/Math/Vec4.hpp
CalebHeydon/OOGL
18a9c0264929737f755ad5a24fff80851e58bbd1
[ "BSL-1.0" ]
55
2015-01-12T06:17:06.000Z
2022-03-18T00:19:36.000Z
/* Copyright (C) 2012 Alexander Overvoorde Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, d...
32.732143
108
0.709765
CalebHeydon
2487e24bc6959b4b69bff429d92386b1f80e6d82
1,276
cpp
C++
src/CommonControls/Button/Button.cpp
ericfont/Examples_wxWidgets
5cd123eff9a5f9971413ec2f8effc15b76622987
[ "MIT" ]
70
2019-11-18T15:04:23.000Z
2022-03-28T22:42:16.000Z
src/CommonControls/Button/Button.cpp
gammasoft71/Examples.wxWidgets
c710f31c29d502fee699f044014a5eae4ce6ef22
[ "MIT" ]
10
2020-11-18T02:37:11.000Z
2021-09-16T17:05:29.000Z
src/CommonControls/Button/Button.cpp
gammasoft71/Examples.wxWidgets
c710f31c29d502fee699f044014a5eae4ce6ef22
[ "MIT" ]
10
2021-05-14T11:41:42.000Z
2022-03-20T00:38:17.000Z
#include <wx/app.h> #include <wx/button.h> #include <wx/frame.h> #include <wx/panel.h> #include <wx/stattext.h> namespace Examples { class Frame : public wxFrame { public: Frame() : wxFrame(nullptr, wxID_ANY, wxEmptyString) { button1->Bind(wxEVT_BUTTON, [&](wxCommandEvent& event) { staticText1->S...
32.717949
115
0.652821
ericfont
248a95a365dee85d1f8c5748becbb54113d1f8ae
892
cpp
C++
libs/context/example/ecv1/fibonacci.cpp
lijgame/boost
ec2214a19cdddd1048058321a8105dd0231dac47
[ "BSL-1.0" ]
null
null
null
libs/context/example/ecv1/fibonacci.cpp
lijgame/boost
ec2214a19cdddd1048058321a8105dd0231dac47
[ "BSL-1.0" ]
null
null
null
libs/context/example/ecv1/fibonacci.cpp
lijgame/boost
ec2214a19cdddd1048058321a8105dd0231dac47
[ "BSL-1.0" ]
null
null
null
// Copyright Oliver Kowalke 2014. // 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 <cstdlib> #include <iostream> #include <memory> #include <boost/context/execution_conte...
27.030303
92
0.522422
lijgame
248a97954b987c0a5f5acb9d9fc54611254b1721
837
hpp
C++
src/_2DIterativePoissonSolver.hpp
luigidisotto/poisson-solver
ba4213e4f098b5bcdaf9b89f39ccd9b1759d2f0d
[ "MIT" ]
null
null
null
src/_2DIterativePoissonSolver.hpp
luigidisotto/poisson-solver
ba4213e4f098b5bcdaf9b89f39ccd9b1759d2f0d
[ "MIT" ]
null
null
null
src/_2DIterativePoissonSolver.hpp
luigidisotto/poisson-solver
ba4213e4f098b5bcdaf9b89f39ccd9b1759d2f0d
[ "MIT" ]
null
null
null
#ifndef _2DITERATIVEPOISSONSOLVER_HPP #define _2DITERATIVEPOISSONSOLVER_HPP #include "_2DPoissonSolver.hpp" class _2DIterativePoissonSolver : public _2DPoissonSolver { public: double tolerance; int maxNumberOfIterations, actualNumberOfIterations; public: virtual void operator()(_2DPoissonEquation *eq){}; _2...
16.74
68
0.74552
luigidisotto
2491e60f0ed20b59545ee3693c9e5ca2cea7f0c7
5,032
cpp
C++
src/robot_event.cpp
cognicept-admin/rosrect-listener-agent-ros2
2e98a825ea2043fb01b05b1ef270c5b9744f62a9
[ "BSD-3-Clause" ]
1
2021-03-04T02:34:17.000Z
2021-03-04T02:34:17.000Z
src/robot_event.cpp
cognicept-admin/rosrect-listener-agent-ros2
2e98a825ea2043fb01b05b1ef270c5b9744f62a9
[ "BSD-3-Clause" ]
null
null
null
src/robot_event.cpp
cognicept-admin/rosrect-listener-agent-ros2
2e98a825ea2043fb01b05b1ef270c5b9744f62a9
[ "BSD-3-Clause" ]
1
2020-09-23T03:55:17.000Z
2020-09-23T03:55:17.000Z
#include <error_resolution_diagnoser_ros2/robot_event.h> using namespace web::json; // JSON features using namespace web; // Common features like URIs. RobotEvent::RobotEvent() { this->event_id_str = ""; } void RobotEvent::update_log(const rcl_interfaces::msg::Log::SharedPtr data, json::value msg_info, js...
31.061728
144
0.619237
cognicept-admin
2492191ff9be1e76d229a0471d31233bc7a0c3ad
8,191
cpp
C++
src/DE405Ephemeris.cpp
aoighost/niek-ephem
e5d53a7674d624af17da587683915a76ba833cac
[ "BSD-3-Clause" ]
7
2016-06-05T23:25:41.000Z
2020-01-24T07:46:31.000Z
extlibs/src/niek-ephem/DE405Ephemeris.cpp
Jmbryan/OTL
7ffb7fa77e55a2eb7373e41fa345c90d344a9c44
[ "Zlib", "MIT" ]
null
null
null
extlibs/src/niek-ephem/DE405Ephemeris.cpp
Jmbryan/OTL
7ffb7fa77e55a2eb7373e41fa345c90d344a9c44
[ "Zlib", "MIT" ]
null
null
null
/* * Copyright (c) 2007, Niek Sanders * * 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 li...
36.896396
80
0.633012
aoighost
24929df583660b7a001382b85e1ea4aad83d0659
2,381
cpp
C++
graph.cpp
matanb1238/NumberWithUnits-A
70b48a5b257aefbc9ee54b0cd1b6351ca2f02693
[ "MIT" ]
null
null
null
graph.cpp
matanb1238/NumberWithUnits-A
70b48a5b257aefbc9ee54b0cd1b6351ca2f02693
[ "MIT" ]
null
null
null
graph.cpp
matanb1238/NumberWithUnits-A
70b48a5b257aefbc9ee54b0cd1b6351ca2f02693
[ "MIT" ]
1
2021-05-04T05:03:43.000Z
2021-05-04T05:03:43.000Z
#include <iostream> #include <string> #include <iterator> #include <map> #include <queue> #include <set> #include <list> #include <stack> using namespace std; class graph{ protected: map<string, map<string, double>> the_graph; set<string> nodes; map<string,set<string>> edges_from; publ...
27.686047
74
0.417892
matanb1238
2493c05d396cecee428e8ef1d8f0597a0287ec6f
2,319
cpp
C++
hw2/pro/process.cpp
Dreamerryao/DIP
9e07d9344260e420dde6c821c8d3726f23a876dd
[ "MIT" ]
null
null
null
hw2/pro/process.cpp
Dreamerryao/DIP
9e07d9344260e420dde6c821c8d3726f23a876dd
[ "MIT" ]
null
null
null
hw2/pro/process.cpp
Dreamerryao/DIP
9e07d9344260e420dde6c821c8d3726f23a876dd
[ "MIT" ]
null
null
null
#include "bmp.h" BMPDATA* process(const char *filepath){ BMPDATA* bmp = NULL; BITMAPFILEHEADER bf; BITMAPINFOHEADER bi; unsigned char pixVal='\0'; int width = 0; int height = 0; int offset = 0; RGB* quad; WORD type; int now=0; bmp = (BMPDATA*)malloc(sizeof(BMPDATA)); FILE* fp = fopen(filepath,"rb"); if...
25.766667
71
0.561449
Dreamerryao
24942e389e07cd3fd80f7eb460bbf7838bd29c75
182
cpp
C++
samples/Windows/PSIM_AppDemo/KHB/Data.cpp
kingsunc/WX_Mars
dfdc4d3ce9833837b91647df2fbbc231661ef400
[ "Apache-2.0" ]
2
2018-12-15T06:51:33.000Z
2020-02-20T09:32:52.000Z
samples/Windows/PSIM_AppDemo/KHB/Data.cpp
kingsunc/WX_Mars
dfdc4d3ce9833837b91647df2fbbc231661ef400
[ "Apache-2.0" ]
null
null
null
samples/Windows/PSIM_AppDemo/KHB/Data.cpp
kingsunc/WX_Mars
dfdc4d3ce9833837b91647df2fbbc231661ef400
[ "Apache-2.0" ]
7
2018-10-24T11:06:51.000Z
2022-01-14T09:41:16.000Z
#include "Data.h" CData::CData() { } CData::~CData() { } void CData::Clear() { m_loginInfo.Clear(); } CUserInfo* CData::GetUserInfo() { return &m_loginInfo; }
9.578947
32
0.571429
kingsunc
2497c6a247579da536a982edd61a13a4b9660c57
365,333
cpp
C++
src/plugProjectKandoU/naviState.cpp
projectPiki/pikmin2
a431d992acde856d092889a515ecca0e07a3ea7c
[ "Unlicense" ]
33
2021-12-08T11:10:59.000Z
2022-03-26T19:59:37.000Z
src/plugProjectKandoU/naviState.cpp
projectPiki/pikmin2
a431d992acde856d092889a515ecca0e07a3ea7c
[ "Unlicense" ]
6
2021-12-22T17:54:31.000Z
2022-01-07T21:43:18.000Z
src/plugProjectKandoU/naviState.cpp
projectPiki/pikmin2
a431d992acde856d092889a515ecca0e07a3ea7c
[ "Unlicense" ]
2
2022-01-04T06:00:49.000Z
2022-01-26T07:27:28.000Z
#include "types.h" /* Generated from dpostproc .section .ctors, "wa" # 0x80472F00 - 0x804732C0 .4byte __sinit_naviState_cpp .section .rodata # 0x804732E0 - 0x8049E220 .global lbl_8047EAC8 lbl_8047EAC8: .4byte 0x00000000 .4byte 0x00000000 .4byte 0x00000000 .4b...
21.475018
105
0.59039
projectPiki
249ed2cae6cb0decea397c6809860defc329fec7
3,750
cpp
C++
VC2010Samples/MFC/controls/cmnctrl/SplitButtonCtrlPage.cpp
alonmm/VCSamples
6aff0b4902f5027164d593540fcaa6601a0407c3
[ "MIT" ]
300
2019-05-09T05:32:33.000Z
2022-03-31T20:23:24.000Z
VC2010Samples/MFC/controls/cmnctrl/SplitButtonCtrlPage.cpp
JaydenChou/VCSamples
9e1d4475555b76a17a3568369867f1d7b6cc6126
[ "MIT" ]
9
2016-09-19T18:44:26.000Z
2018-10-26T10:20:05.000Z
VC2010Samples/MFC/controls/cmnctrl/SplitButtonCtrlPage.cpp
JaydenChou/VCSamples
9e1d4475555b76a17a3568369867f1d7b6cc6126
[ "MIT" ]
633
2019-05-08T07:34:12.000Z
2022-03-30T04:38:28.000Z
// SplitButtonCtrlPage.cpp : implementation file // #include "stdafx.h" #include "CmnCtrl3.h" #include "SplitButtonCtrlPage.h" static const struct { UINT nStyle; LPCTSTR lpszDisplay; } styles[] = { {BCSS_NOSPLIT, _T("BCSS_NOSPLIT")}, {BCSS_STRETCH, _T("BCSS_STRETCH")}, {BCSS_ALIGNLEFT, _T("BCSS_ALIGNLEFT"...
24.834437
81
0.772533
alonmm
24a3b4a649a4c4ad0a7cfeeb75a2017b101c5b7f
516
hpp
C++
src/l_kampf.hpp
benzap/Kampf
9cf4fb0d6ec22bc35ade9b476d29df34902c6689
[ "Zlib" ]
2
2018-05-13T05:27:29.000Z
2018-05-29T06:35:57.000Z
src/l_kampf.hpp
benzap/Kampf
9cf4fb0d6ec22bc35ade9b476d29df34902c6689
[ "Zlib" ]
null
null
null
src/l_kampf.hpp
benzap/Kampf
9cf4fb0d6ec22bc35ade9b476d29df34902c6689
[ "Zlib" ]
null
null
null
#ifndef L_KAMPF__HPP #define L_KAMPF__HPP //DESCRIPTION /* Lua wrapper for the entry to kampf engine */ //CLASSES //INCLUDES #include "KF_globals.hpp" #include "KF_utilities.hpp" #include "LuaScript.hpp" #include "kampf.hpp" //DEFINITIONS #define LUA_REGISTRY_KAMPF "l_kf.kampf" //MACROS //TYPEDEFS //FUNCTIONS ...
15.636364
45
0.751938
benzap
24a94ee43b1304c6f8721b9f14b4ffd937814fd8
708
cpp
C++
Timus Online Judge/Volume 05/1496. Spammer.cpp
sreejonK19/online-judge-solutions
da65d635cc488c8f305e48b49727ad62649f5671
[ "MIT" ]
null
null
null
Timus Online Judge/Volume 05/1496. Spammer.cpp
sreejonK19/online-judge-solutions
da65d635cc488c8f305e48b49727ad62649f5671
[ "MIT" ]
null
null
null
Timus Online Judge/Volume 05/1496. Spammer.cpp
sreejonK19/online-judge-solutions
da65d635cc488c8f305e48b49727ad62649f5671
[ "MIT" ]
2
2018-11-06T19:37:56.000Z
2018-11-09T19:05:46.000Z
#include <bits/stdc++.h> using namespace std; string name; map< string, int > m; vector< pair< int, string > > ans; int main() { #ifndef ONLINE_JUDGE freopen("in.txt", "r", stdin); freopen("out.txt", "w", stdout); #endif // ONLINE_JUDGE ios_base::sync_with_stdio(false); cin.tie(NULL); co...
20.823529
76
0.555085
sreejonK19
24ad9b29ae349d2421155663715ea6605b777607
4,645
cpp
C++
src/dns_service/dns_service_porkbun.cpp
wzkres/pve-ddns-client
c90ada7da3a3b2a131e4486f14157163ccf299c9
[ "BSD-2-Clause" ]
1
2021-09-05T08:09:42.000Z
2021-09-05T08:09:42.000Z
src/dns_service/dns_service_porkbun.cpp
wzkres/pve-ddns-client
c90ada7da3a3b2a131e4486f14157163ccf299c9
[ "BSD-2-Clause" ]
null
null
null
src/dns_service/dns_service_porkbun.cpp
wzkres/pve-ddns-client
c90ada7da3a3b2a131e4486f14157163ccf299c9
[ "BSD-2-Clause" ]
null
null
null
#include "dns_service_porkbun.h" #include "fmt/format.h" #include "glog/logging.h" #include "rapidjson/document.h" #include "rapidjson/error/en.h" #include "../utils.h" #include "../config.h" static const char * API_HOST = "https://porkbun.com/api/json/v3/"; static const char * API_RETRIEVE = "dns/retrieveByNameType...
31.598639
118
0.58902
wzkres
24b1659d8bd917598b07702f7e13fef2c35753c7
10,062
cpp
C++
FEBioStudio/PublicationWidget.cpp
chunkeey/FEBioStudio
f342d4ac2bc3581db792373c4265454109af92b3
[ "MIT" ]
27
2020-06-25T06:34:52.000Z
2022-03-11T08:58:57.000Z
FEBioStudio/PublicationWidget.cpp
chunkeey/FEBioStudio
f342d4ac2bc3581db792373c4265454109af92b3
[ "MIT" ]
42
2020-06-15T18:40:57.000Z
2022-03-24T05:38:54.000Z
FEBioStudio/PublicationWidget.cpp
chunkeey/FEBioStudio
f342d4ac2bc3581db792373c4265454109af92b3
[ "MIT" ]
12
2020-06-27T13:58:57.000Z
2022-03-24T05:39:10.000Z
/*This file is part of the FEBio Studio source code and is licensed under the MIT license listed below. See Copyright-FEBio-Studio.txt for details. Copyright (c) 2020 University of Utah, The Trustees of Columbia University in the City of New York, and others. Permission is hereby granted, free of charge, to any per...
25.866324
179
0.741105
chunkeey
24b9daee4fa0a329a77849a270146612fe345cf7
3,825
cpp
C++
VectorEngineSite.buildv1.1.15/windows_release_mx/src/VectorEngineSite_Forms_2TextBoxForm.cpp
AntDevUnity/VectorCMS
4ff7a69b4a92733ea75d9d48a845ea9548cfa34c
[ "MIT" ]
null
null
null
VectorEngineSite.buildv1.1.15/windows_release_mx/src/VectorEngineSite_Forms_2TextBoxForm.cpp
AntDevUnity/VectorCMS
4ff7a69b4a92733ea75d9d48a845ea9548cfa34c
[ "MIT" ]
null
null
null
VectorEngineSite.buildv1.1.15/windows_release_mx/src/VectorEngineSite_Forms_2TextBoxForm.cpp
AntDevUnity/VectorCMS
4ff7a69b4a92733ea75d9d48a845ea9548cfa34c
[ "MIT" ]
null
null
null
#include "VectorEngineSite.buildv1.1.15/windows_release_mx/include/VectorEngineSite_Forms_2TextBoxForm.h" #include "mojo/mojo.buildv1.1.15/windows_release_mx/include/mojo_graphics_2image.h" #include "monkey/monkey.buildv1.1.15/windows_release_mx/include/monkey_types.h" #include "std/std.buildv1.1.15/windows_release_m...
39.030612
683
0.706928
AntDevUnity
24ba81f53ab3a86a4caccf94714da84a3ac7a7a7
2,208
cpp
C++
tests/mock_test_digest.cpp
cmanszew/yaca
36606ee58acabc5236a3de00845ec5345deb094a
[ "Apache-2.0" ]
null
null
null
tests/mock_test_digest.cpp
cmanszew/yaca
36606ee58acabc5236a3de00845ec5345deb094a
[ "Apache-2.0" ]
5
2020-11-03T15:04:23.000Z
2021-12-29T19:01:21.000Z
tests/mock_test_digest.cpp
cmanszew/yaca
36606ee58acabc5236a3de00845ec5345deb094a
[ "Apache-2.0" ]
1
2021-04-19T09:23:47.000Z
2021-04-19T09:23:47.000Z
/* * Copyright (c) 2020 Samsung Electronics Co., Ltd All Rights Reserved * * Contact: Lukasz Pawelczyk <l.pawelczyk@samsung.com> * * 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 *...
26.285714
76
0.713768
cmanszew
24baeb67a17808898a482ccacb8eeebd8104e440
1,908
cpp
C++
src/pancake/SeedHit.cpp
ahehn-nv/pancake
273a035d3b858256d0847f773f6fa4560c2d37f8
[ "BSD-3-Clause-Clear", "BSL-1.0", "BSD-3-Clause", "MIT" ]
null
null
null
src/pancake/SeedHit.cpp
ahehn-nv/pancake
273a035d3b858256d0847f773f6fa4560c2d37f8
[ "BSD-3-Clause-Clear", "BSL-1.0", "BSD-3-Clause", "MIT" ]
null
null
null
src/pancake/SeedHit.cpp
ahehn-nv/pancake
273a035d3b858256d0847f773f6fa4560c2d37f8
[ "BSD-3-Clause-Clear", "BSL-1.0", "BSD-3-Clause", "MIT" ]
null
null
null
// Authors: Ivan Sovic #include <pacbio/pancake/SeedHit.h> #include <sstream> namespace PacBio { namespace Pancake { void CalcHitCoverage(const std::vector<SeedHit>& hits, int32_t hitsBegin, int32_t hitsEnd, int32_t& coveredBasesQuery, int32_t& coveredBasesTarget) { /* Expects the seed...
38.938776
100
0.557652
ahehn-nv
24be9fa1b8910519325f96970c58a2032c63f600
1,021
cpp
C++
Deitel/Chapter06/exercises/6.32/ex_632.cpp
SebastianTirado/Cpp-Learning-Archive
fb83379d0cc3f9b2390cef00119464ec946753f4
[ "MIT" ]
19
2019-09-15T12:23:51.000Z
2020-06-18T08:31:26.000Z
Deitel/Chapter06/exercises/6.32/ex_632.cpp
eirichan/CppLearingArchive
07a4baf63f0765d41eb0cc6d32a4c9d2ae1d5bac
[ "MIT" ]
15
2021-12-07T06:46:03.000Z
2022-01-31T07:55:32.000Z
Deitel/Chapter06/exercises/6.32/ex_632.cpp
eirichan/CppLearingArchive
07a4baf63f0765d41eb0cc6d32a4c9d2ae1d5bac
[ "MIT" ]
13
2019-06-29T02:58:27.000Z
2020-05-07T08:52:22.000Z
/* * ===================================================================================== * * Filename: * * Description: * * Version: 1.0 * Created: Thanks to github you know it * Revision: none * Compiler: g++ * * Author: Mahmut Erdem ÖZGEN m.erdemozgen...
22.195652
88
0.437806
SebastianTirado
24c3b3869f13c3271b03a5b63dd3b3114013a9b1
1,743
cpp
C++
test/io/network_reader.cpp
ElderDelp/fiction
f16bf67bbfd94e5a3d5b6b5cd9cbce5275e44ce8
[ "MIT" ]
null
null
null
test/io/network_reader.cpp
ElderDelp/fiction
f16bf67bbfd94e5a3d5b6b5cd9cbce5275e44ce8
[ "MIT" ]
null
null
null
test/io/network_reader.cpp
ElderDelp/fiction
f16bf67bbfd94e5a3d5b6b5cd9cbce5275e44ce8
[ "MIT" ]
null
null
null
// // Created by marcel on 27.09.21. // #include "catch.hpp" #include "utils/blueprints/network_blueprints.hpp" #include "utils/equivalence_checking_utils.hpp" #include <fiction/io/network_reader.hpp> #include <fiction/types.hpp> #include <sstream> #include <string> using namespace fiction; // adapted from https:/...
26.409091
101
0.641423
ElderDelp
24c66e54c17f65425d200c05ebe487bc9b8dcda3
1,688
cpp
C++
apps/test_shared_cv.cpp
jonathanherbst/shmbus
b777cefbbccaa35b1980622929548ad78bc7a21c
[ "MIT" ]
1
2017-11-02T05:16:06.000Z
2017-11-02T05:16:06.000Z
apps/test_shared_cv.cpp
jonathanherbst/shmbus
b777cefbbccaa35b1980622929548ad78bc7a21c
[ "MIT" ]
null
null
null
apps/test_shared_cv.cpp
jonathanherbst/shmbus
b777cefbbccaa35b1980622929548ad78bc7a21c
[ "MIT" ]
2
2018-02-25T11:18:23.000Z
2022-01-01T10:17:29.000Z
#include <boost/interprocess/sync/named_condition_any.hpp> #include <boost/interprocess/sync/named_condition.hpp> #include <boost/interprocess/sync/named_mutex.hpp> #include <boost/thread/thread_time.hpp> #include <unistd.h> #include <chrono> #include <thread> #include <iostream> namespace ip = boost::interprocess; ...
28.610169
73
0.60782
jonathanherbst
24cbfc1cae7cc11c1947e81b4bf8426089bf32d0
6,216
hxx
C++
include/moneta/algorithm/for_each_member.hxx
madera/Moneta
4c0da911bceb511d7d1133699b0d85216bb63d74
[ "BSL-1.0" ]
2
2015-10-09T12:11:54.000Z
2016-01-20T15:34:33.000Z
include/moneta/algorithm/for_each_member.hxx
madera/Moneta
4c0da911bceb511d7d1133699b0d85216bb63d74
[ "BSL-1.0" ]
5
2015-07-04T20:31:32.000Z
2015-07-04T20:44:58.000Z
include/moneta/algorithm/for_each_member.hxx
madera/Moneta
4c0da911bceb511d7d1133699b0d85216bb63d74
[ "BSL-1.0" ]
null
null
null
// [===========================================================================] // [ M o n e t a ] // [---------------------------------------------------------------------------] // [ ...
35.118644
111
0.595399
madera
24cccbd4518014eb21364b9b31d14505a15132b7
22,251
cpp
C++
src/JSystem/JAI/JAIObject.cpp
projectPiki/pikmin2
a431d992acde856d092889a515ecca0e07a3ea7c
[ "Unlicense" ]
33
2021-12-08T11:10:59.000Z
2022-03-26T19:59:37.000Z
src/JSystem/JAI/JAIObject.cpp
projectPiki/pikmin2
a431d992acde856d092889a515ecca0e07a3ea7c
[ "Unlicense" ]
6
2021-12-22T17:54:31.000Z
2022-01-07T21:43:18.000Z
src/JSystem/JAI/JAIObject.cpp
projectPiki/pikmin2
a431d992acde856d092889a515ecca0e07a3ea7c
[ "Unlicense" ]
2
2022-01-04T06:00:49.000Z
2022-01-26T07:27:28.000Z
#include "JSystem/JAI/JAInter.h" #include "types.h" /* Generated from dpostproc .section .data, "wa" # 0x8049E220 - 0x804EFC20 .global __vt__Q27JAInter6Object __vt__Q27JAInter6Object: .4byte 0 .4byte 0 .4byte __dt__Q27JAInter6ObjectFv .4byte startSound__Q27JAInter6Obje...
18.85678
81
0.568694
projectPiki
24cd43fea4dedb228cb7d9dffe8bb9254ee18bb8
11,351
cpp
C++
swizzle/engine_src/gfx/gfxvk/VulkanTexture.cpp
deathcleaver/swizzle
1a1cc114841ea7de486cf94c6cafd9108963b4da
[ "MIT" ]
2
2020-02-10T07:58:21.000Z
2022-03-15T19:13:28.000Z
swizzle/engine_src/gfx/gfxvk/VulkanTexture.cpp
deathcleaver/swizzle
1a1cc114841ea7de486cf94c6cafd9108963b4da
[ "MIT" ]
null
null
null
swizzle/engine_src/gfx/gfxvk/VulkanTexture.cpp
deathcleaver/swizzle
1a1cc114841ea7de486cf94c6cafd9108963b4da
[ "MIT" ]
null
null
null
#include "VulkanDevice.hpp" #include "VulkanTexture.hpp" #include "backend/VulkanMemory.hpp" #include <cstring> namespace swizzle::gfx { VulkanTexture::VulkanTexture(const VkContainer vkObjects, U32 width, U32 height, U32 channels, const U8* pixelData) : mVkObjects(vkObjects) , mImage(VK_NULL_HAND...
39.276817
216
0.6906
deathcleaver
24cf1057e4b1d5fcced549d7f9a471e4c62ec008
6,136
cpp
C++
src/graphics/graphics.cpp
demurzasty/rabb
f980fd18332f7846cd22b502f1075d224938379c
[ "MIT" ]
8
2020-11-21T17:59:09.000Z
2022-02-13T05:14:40.000Z
src/graphics/graphics.cpp
demurzasty/rabb
f980fd18332f7846cd22b502f1075d224938379c
[ "MIT" ]
null
null
null
src/graphics/graphics.cpp
demurzasty/rabb
f980fd18332f7846cd22b502f1075d224938379c
[ "MIT" ]
1
2020-11-23T23:01:14.000Z
2020-11-23T23:01:14.000Z
#include <rabbit/graphics/graphics.hpp> #include <rabbit/core/settings.hpp> #if RB_VULKAN # include "../drivers/vulkan/graphics_vulkan.hpp" #endif using namespace rb; std::shared_ptr<graphics_impl> graphics::_impl; void graphics::init() { #if RB_VULKAN if (settings::graphics_backend == graphics_backen...
30.989899
199
0.741362
demurzasty
24db60bff994d96184454149e1ea7c48ab053722
13,631
cpp
C++
_vscp_common/register.cpp
benys/vscpworks
755a1733d0c55c8dd22d65e0e1ed1598311ef999
[ "MIT" ]
1
2022-01-24T20:21:09.000Z
2022-01-24T20:21:09.000Z
_vscp_common/register.cpp
benys/vscpworks
755a1733d0c55c8dd22d65e0e1ed1598311ef999
[ "MIT" ]
1
2020-05-05T18:40:57.000Z
2020-05-05T18:40:57.000Z
_vscp_common/register.cpp
benys/vscpworks
755a1733d0c55c8dd22d65e0e1ed1598311ef999
[ "MIT" ]
1
2020-05-05T08:07:32.000Z
2020-05-05T08:07:32.000Z
// FILE: register.h // // This file is part of the VSCP (http://www.vscp.org) // // The MIT License (MIT) // // Copyright (c) 2000-2018 Ake Hedman, Grodans Paradis AB <info@grodansparadis.com> // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated docume...
24.297683
93
0.472379
benys
24dbcfe1d63e31670fcd620e8a0e9d555e1c1318
330
cpp
C++
leetcode/arrays/sde sheet/169.majority-element.cpp
saurabhraj042/dsaPrep
0973a03bc565a2850003c7e48d99b97ff83b1d01
[ "MIT" ]
23
2021-10-30T04:11:52.000Z
2021-11-27T09:16:18.000Z
leetcode/arrays/sde sheet/169.majority-element.cpp
Pawanupadhyay10/placement-prep
0449fa7cbc56e7933e6b090936ab7c15ca5f290f
[ "MIT" ]
null
null
null
leetcode/arrays/sde sheet/169.majority-element.cpp
Pawanupadhyay10/placement-prep
0449fa7cbc56e7933e6b090936ab7c15ca5f290f
[ "MIT" ]
4
2021-10-30T03:26:05.000Z
2021-11-14T12:15:04.000Z
class Solution { public: int majorityElement(vector<int>& nums) { int count =0; int candidate; for(auto x:nums){ if(count==0) candidate=x; if(x!=candidate) count--; if(x==candidate) count++; } return candidate...
20.625
44
0.454545
saurabhraj042
24dd9dbb2783f89ca90c926be0405af8868883d9
789
hpp
C++
tests/core/util.hpp
errata-c/ez-geo
9d45a411dd226d016d9475df380de9cf80a130de
[ "MIT" ]
null
null
null
tests/core/util.hpp
errata-c/ez-geo
9d45a411dd226d016d9475df380de9cf80a130de
[ "MIT" ]
null
null
null
tests/core/util.hpp
errata-c/ez-geo
9d45a411dd226d016d9475df380de9cf80a130de
[ "MIT" ]
null
null
null
#pragma once #include <cmath> #include <fmt/core.h> static constexpr float epsf = 1e-4f; static constexpr double eps = 1e-6; inline bool approxEq(float a, float b) { return std::abs(a - b) <= epsf; } inline bool approxEq(double a, double b) { return std::abs(a - b) <= eps; } inline bool approxEq(const glm::vec2& a...
29.222222
71
0.65019
errata-c
24dfb4db35e22a7f2033254cdc339bd151d563e4
447
cpp
C++
src/api/two/node/two_node.cpp
kalgoop/cpp-client
4c9057c15782c83cfc2fde04cb52e896702e0f05
[ "MIT" ]
null
null
null
src/api/two/node/two_node.cpp
kalgoop/cpp-client
4c9057c15782c83cfc2fde04cb52e896702e0f05
[ "MIT" ]
null
null
null
src/api/two/node/two_node.cpp
kalgoop/cpp-client
4c9057c15782c83cfc2fde04cb52e896702e0f05
[ "MIT" ]
null
null
null
#include "api/two/node/two_node.h" std::string Ark::Client::API::TWO::Node::configuration() { return this->http->get(Ark::Client::API::TWO::Paths::Node::configuration); } /***/ std::string Ark::Client::API::TWO::Node::status() { return this->http->get(Ark::Client::API::TWO::Paths::Node::status); } /***/ s...
20.318182
78
0.635347
kalgoop
24e0b8c42837f0705b1cc77cdc31f7539d2b4792
9,384
hpp
C++
compendium/DeclarativeServices/test/TestFixture.hpp
Burgch/CppMicroServices
b1791e333e69a544454b946f71295009a58b772f
[ "Apache-2.0" ]
588
2015-10-07T15:55:08.000Z
2022-03-29T00:35:44.000Z
compendium/DeclarativeServices/test/TestFixture.hpp
myjeffxie/CppMicroServices
530fd3be032d468de69fb0a764ef42aed69f2bc0
[ "Apache-2.0" ]
459
2015-10-05T23:29:59.000Z
2022-03-29T14:13:37.000Z
compendium/DeclarativeServices/test/TestFixture.hpp
myjeffxie/CppMicroServices
530fd3be032d468de69fb0a764ef42aed69f2bc0
[ "Apache-2.0" ]
218
2015-11-04T08:19:48.000Z
2022-03-24T02:17:08.000Z
/*============================================================================= Library: CppMicroServices Copyright (c) The CppMicroServices developers. See the COPYRIGHT file at the top-level directory of this distribution and at https://github.com/CppMicroServices/CppMicroServices/COPYRIGHT . Licensed un...
33.276596
91
0.71558
Burgch
24e149f11264c7df2bb4d4a14eec1b4f8ef2a0c3
6,948
cpp
C++
dart/trajectory/IPOptOptimizer.cpp
jyf588/nimblephysics
6c09228f0abcf7aa3526a8dd65cd2541aff32c4a
[ "BSD-2-Clause" ]
2
2021-09-30T06:23:29.000Z
2022-03-09T09:59:09.000Z
dart/trajectory/IPOptOptimizer.cpp
jyf588/nimblephysics
6c09228f0abcf7aa3526a8dd65cd2541aff32c4a
[ "BSD-2-Clause" ]
null
null
null
dart/trajectory/IPOptOptimizer.cpp
jyf588/nimblephysics
6c09228f0abcf7aa3526a8dd65cd2541aff32c4a
[ "BSD-2-Clause" ]
1
2021-08-20T13:56:14.000Z
2021-08-20T13:56:14.000Z
#include "dart/trajectory/IPOptOptimizer.hpp" #include <vector> #include <coin/IpIpoptApplication.hpp> #include <coin/IpSolveStatistics.hpp> #include <coin/IpTNLP.hpp> #include "dart/performance/PerformanceLog.hpp" #include "dart/trajectory/IPOptShotWrapper.hpp" #define LOG_PERFORMANCE_IPOPT using namespace dart; ...
30.340611
80
0.595135
jyf588
24e29cc310f33f5c753002d96faa1b799f466548
938
cpp
C++
src/libmeasurement_kit/nettests/dash.cpp
elevenfive/measurement-kit
ba8ce691d880fdec4917fa6020f52365c61a9de5
[ "BSD-2-Clause" ]
null
null
null
src/libmeasurement_kit/nettests/dash.cpp
elevenfive/measurement-kit
ba8ce691d880fdec4917fa6020f52365c61a9de5
[ "BSD-2-Clause" ]
null
null
null
src/libmeasurement_kit/nettests/dash.cpp
elevenfive/measurement-kit
ba8ce691d880fdec4917fa6020f52365c61a9de5
[ "BSD-2-Clause" ]
null
null
null
// Part of Measurement Kit <https://measurement-kit.github.io/>. // Measurement Kit is free software under the BSD license. See AUTHORS // and LICENSE for more information on the copying conditions. #include "src/libmeasurement_kit/nettests/runnable.hpp" #include "src/libmeasurement_kit/neubot/dash.hpp" namespace mk ...
29.3125
79
0.640725
elevenfive
0086c7c6b787c89f9634d3e111a7433c122a0c6c
2,243
hpp
C++
APCall.hpp
asrivast28/apsdk-cpp
38f9db47d5e49f1b2b09f46f8538531fce1df8b1
[ "Apache-2.0" ]
null
null
null
APCall.hpp
asrivast28/apsdk-cpp
38f9db47d5e49f1b2b09f46f8538531fce1df8b1
[ "Apache-2.0" ]
null
null
null
APCall.hpp
asrivast28/apsdk-cpp
38f9db47d5e49f1b2b09f46f8538531fce1df8b1
[ "Apache-2.0" ]
null
null
null
/** * @file APCall.hpp * @brief Functionality for error checking calls to C API. * @author Ankit Srivastava <asrivast@gatech.edu> * * Copyright 2018 Georgia Institute of Technology * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the Licen...
34.507692
113
0.705305
asrivast28
00877b11c59c7bb62e4026b389bbaf2b36cd6eb1
650
cc
C++
shared/gpm_metrics.cc
hoffmannjordan/Crumpling
c5a434f9bb19a061f2372472e7c6fdb5363d38a4
[ "MIT" ]
12
2018-07-11T17:40:38.000Z
2021-09-30T15:27:14.000Z
shared/gpm_metrics.cc
nerdsscoremore/Crumpling
c5a434f9bb19a061f2372472e7c6fdb5363d38a4
[ "MIT" ]
null
null
null
shared/gpm_metrics.cc
nerdsscoremore/Crumpling
c5a434f9bb19a061f2372472e7c6fdb5363d38a4
[ "MIT" ]
2
2021-08-20T18:41:18.000Z
2022-01-07T04:41:50.000Z
#include <cstdio> #include <cstdlib> #include <cstring> #include <limits> #include "gp_matrix.hh" int main(int argc,char **argv) { // Check for the correct number of command-line arguments if(argc!=2) { fputs("Usage: ./gpm_metrics <input_field>\n\n" "Reads in a gnuplot matrix file and calculates the grid...
27.083333
84
0.673846
hoffmannjordan
00885130e0a24201466e69662d68ca2cb9001021
1,473
cpp
C++
Offer/Offer-41-shu-ju-liu-zhong-de-zhong-wei-shu-lcof.cpp
wandsX/LeetCodeExperience
8502e6e8ce911045f45f0075bcf3ee751a4558c7
[ "MIT" ]
null
null
null
Offer/Offer-41-shu-ju-liu-zhong-de-zhong-wei-shu-lcof.cpp
wandsX/LeetCodeExperience
8502e6e8ce911045f45f0075bcf3ee751a4558c7
[ "MIT" ]
null
null
null
Offer/Offer-41-shu-ju-liu-zhong-de-zhong-wei-shu-lcof.cpp
wandsX/LeetCodeExperience
8502e6e8ce911045f45f0075bcf3ee751a4558c7
[ "MIT" ]
null
null
null
//如何得到一个数据流中的中位数?如果从数据流中读出奇数个数值,那么中位数就是所有数值排序之后位于中间的数值。如果从数据流中读出偶数个数值,那么中位数就是所有数 //值排序之后中间两个数的平均值。 // // 例如, // // [2,3,4] 的中位数是 3 // // [2,3] 的中位数是 (2 + 3) / 2 = 2.5 // // 设计一个支持以下两种操作的数据结构: // // // void addNum(int num) - 从数据流中添加一个整数到数据结构中。 // double findMedian() - 返回目前所有元素的中位数。 // // // 示例 1: // // 输入: //[...
18.4125
80
0.611677
wandsX
008a3b72d2c28200e31c4aac4772ae0bb7c3c95c
3,117
cpp
C++
estl/containers/playground/sort_map_s_playground.cpp
mlutken/playground
88b0fc457ae8f028b9a1f8f959b8361a645468be
[ "Unlicense" ]
null
null
null
estl/containers/playground/sort_map_s_playground.cpp
mlutken/playground
88b0fc457ae8f028b9a1f8f959b8361a645468be
[ "Unlicense" ]
null
null
null
estl/containers/playground/sort_map_s_playground.cpp
mlutken/playground
88b0fc457ae8f028b9a1f8f959b8361a645468be
[ "Unlicense" ]
null
null
null
#include <iostream> #include <vector> #include <array> #include <string> #include <containers/sort_map_s.hpp> struct MyClass { MyClass () { std::cout << "MyClass DEFAULT CONSTRUCTOR: " << val_ << " this: " << this << std::endl; // = default; TODO: We should not need this } MyClass (const...
27.104348
112
0.517806
mlutken
008c4202f0a812d3ba86a6b7b89ffd33f3d1a976
3,362
cpp
C++
test/unittests/math/vector.cpp
ukoeln-vis/ctpperf
2d896c4e8f4a46a6aee198ed6492e7571361e00b
[ "MIT" ]
5
2017-08-11T00:11:45.000Z
2022-01-24T14:47:47.000Z
test/unittests/math/vector.cpp
ukoeln-vis/ctpperf
2d896c4e8f4a46a6aee198ed6492e7571361e00b
[ "MIT" ]
null
null
null
test/unittests/math/vector.cpp
ukoeln-vis/ctpperf
2d896c4e8f4a46a6aee198ed6492e7571361e00b
[ "MIT" ]
null
null
null
// This file is distributed under the MIT license. // See the LICENSE file for details. #include <visionaray/math/math.h> #include <gtest/gtest.h> using namespace visionaray; TEST(Vector, Ctor) { // Test constructability from vectors with different // sizes to define a higher-dimensional vector vector...
27.785124
62
0.615407
ukoeln-vis
008d10b54b5e4291b781cebfa761f5010c71ad9b
3,410
cpp
C++
chapter_06/CurrentDateAndTime.cpp
Kevin-Oudai/my_cpp_solutions
a0f5f533ee4825f5b2d88cacc936d80276062ca4
[ "MIT" ]
null
null
null
chapter_06/CurrentDateAndTime.cpp
Kevin-Oudai/my_cpp_solutions
a0f5f533ee4825f5b2d88cacc936d80276062ca4
[ "MIT" ]
31
2021-05-14T03:37:24.000Z
2022-03-13T17:38:32.000Z
chapter_06/CurrentDateAndTime.cpp
Kevin-Oudai/my_cpp_solutions
a0f5f533ee4825f5b2d88cacc936d80276062ca4
[ "MIT" ]
null
null
null
// Exercise 6.34 - Current date and time #include <iostream> #include <string> #include <ctime> int getCurrentSec(int &totalMilliseconds); int getCurrentMinute(int &totalSeconds); int getCurrentHour(int &totalMinutes); int getCurrentYear(int &totalDays); std::string getCurrentMonth(int &totalDays, int year); void dis...
17.668394
97
0.506745
Kevin-Oudai
008e8666830e4347a69c13e8e5498d36445d810d
228,531
hpp
C++
ReactNativeFrontend/ios/Pods/boost/boost/preprocessor/list/detail/edg/limits/fold_right_1024.hpp
Harshitha91/Tmdb-react-native-node
e06e3f25a7ee6946ef07a1f524fdf62e48424293
[ "Apache-2.0" ]
2,728
2015-01-01T10:06:45.000Z
2022-03-30T18:12:58.000Z
ReactNativeFrontend/ios/Pods/boost/boost/preprocessor/list/detail/edg/limits/fold_right_1024.hpp
Harshitha91/Tmdb-react-native-node
e06e3f25a7ee6946ef07a1f524fdf62e48424293
[ "Apache-2.0" ]
1,192
2015-01-01T06:03:19.000Z
2022-03-31T09:14:36.000Z
ReactNativeFrontend/ios/Pods/boost/boost/preprocessor/list/detail/edg/limits/fold_right_1024.hpp
Harshitha91/Tmdb-react-native-node
e06e3f25a7ee6946ef07a1f524fdf62e48424293
[ "Apache-2.0" ]
334
2015-01-08T20:47:03.000Z
2022-02-18T07:07:01.000Z
# /* Copyright (C) 2001 # * Housemarque Oy # * http://www.housemarque.com # * # * 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) # */ # # /* Revised by Paul Mensonides (2002) */ # /* Revised by Edward Dien...
146.682285
280
0.83576
Harshitha91
008ecb52f827463fdb2a6c734f60d692d7cadb89
474
cpp
C++
tests/request.cpp
alsenz/caf-net
c1b87b5ff6d00488f1558556ee89269fadee30a0
[ "MIT" ]
null
null
null
tests/request.cpp
alsenz/caf-net
c1b87b5ff6d00488f1558556ee89269fadee30a0
[ "MIT" ]
null
null
null
tests/request.cpp
alsenz/caf-net
c1b87b5ff6d00488f1558556ee89269fadee30a0
[ "MIT" ]
null
null
null
#include "dandelion/request.hpp" #include "gtest/gtest.h" TEST(RequestTests, TestURLParse) { as::net::request my_req; my_req.url("https://martechtoday.com/conductor-ceo-besmertnik-discusses-vision-of-ethical-marketing-225249?utm_source=marketo&utm_medium=email&utm_campaign=newsletter&utm_content=mttoday"); ...
43.090909
193
0.772152
alsenz
0090dcaabbc668df2e90beb3bd9c49b458e0984c
21,067
cpp
C++
tests/Unit/Utilities/Test_PrettyType.cpp
nilsvu/spectre
1455b9a8d7e92db8ad600c66f54795c29c3052ee
[ "MIT" ]
1
2022-01-11T00:17:33.000Z
2022-01-11T00:17:33.000Z
tests/Unit/Utilities/Test_PrettyType.cpp
nilsvu/spectre
1455b9a8d7e92db8ad600c66f54795c29c3052ee
[ "MIT" ]
null
null
null
tests/Unit/Utilities/Test_PrettyType.cpp
nilsvu/spectre
1455b9a8d7e92db8ad600c66f54795c29c3052ee
[ "MIT" ]
null
null
null
// Distributed under the MIT License. // See LICENSE.txt for details. #include "Framework/TestingFramework.hpp" #include <array> #include <deque> #include <forward_list> #include <istream> #include <list> #include <map> #include <memory> #include <queue> #include <set> #include <stack> #include <string> #include <typ...
44.445148
80
0.683818
nilsvu