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
1442b14371f5f8d677168fb506b959a1f0018aac
1,078
hpp
C++
Drivers/MiddleDriver/Inc/STP_RTC.hpp
savent404/AttendanceMachine
065cb5acadd15908697bbd6466f98138a020c034
[ "MIT" ]
null
null
null
Drivers/MiddleDriver/Inc/STP_RTC.hpp
savent404/AttendanceMachine
065cb5acadd15908697bbd6466f98138a020c034
[ "MIT" ]
1
2018-01-02T16:12:24.000Z
2018-01-02T16:12:24.000Z
Drivers/MiddleDriver/Inc/STP_RTC.hpp
savent404/AttendanceMachine
065cb5acadd15908697bbd6466f98138a020c034
[ "MIT" ]
1
2019-12-10T10:29:02.000Z
2019-12-10T10:29:02.000Z
#pragma once #include "rtc.h" class STP_RTC { public: STP_RTC(RTC_HandleTypeDef* rtc) : handle(rtc) { } ~STP_RTC() {} HAL_StatusTypeDef getTime(uint8_t& hour, uint8_t& min, uint8_t& sec) { static RTC_TimeTypeDef time; RTC_DateTypeDef date; HAL_StatusTypeDef res...
22.93617
90
0.56679
savent404
144492cd3b49b2bc548f3ad6c2089dcceae35605
615
hpp
C++
develop/future/Ngen.Drawing/include/Ngen.Drawing.RenderTarget.hpp
archendian/ngensdk
0d8b8e21e00ba71f0596e228dd073017e1c785ed
[ "MIT" ]
1
2017-01-29T09:27:32.000Z
2017-01-29T09:27:32.000Z
develop/future/Ngen.Drawing/include/Ngen.Drawing.RenderTarget.hpp
archendian/ngensdk
0d8b8e21e00ba71f0596e228dd073017e1c785ed
[ "MIT" ]
15
2017-01-29T05:49:51.000Z
2018-08-12T22:17:04.000Z
develop/future/Ngen.Drawing/include/Ngen.Drawing.RenderTarget.hpp
archendian/ngensdk
0d8b8e21e00ba71f0596e228dd073017e1c785ed
[ "MIT" ]
null
null
null
#ifndef _NGEN_DRAWING_RENDERTARGET #define _NGEN_DRAWING_RENDERTARGET namespace Ngen { namespace Drawing { class RenderTarget { public: RenderTarget() mGLId(0), mWidth(0), mHeight(0) {} RenderTarget(uwhole width, uwhole height) : mGLId(0), mWidth(width), mHeight(height) {} uwhole Id() const { return ...
21.206897
90
0.692683
archendian
14538e3aafbffbff6160ed77f28b501471264a22
5,069
hh
C++
src/commands/Completer.hh
sdsnatcher73/openMSX
6de09386ff674668325ddf700b0b16334ad1d2ef
[ "Naumen", "Condor-1.1", "MS-PL" ]
320
2015-06-16T20:32:33.000Z
2022-03-26T17:03:27.000Z
src/commands/Completer.hh
sdsnatcher73/openMSX
6de09386ff674668325ddf700b0b16334ad1d2ef
[ "Naumen", "Condor-1.1", "MS-PL" ]
2,592
2015-05-30T12:12:21.000Z
2022-03-31T17:16:15.000Z
src/commands/Completer.hh
sdsnatcher73/openMSX
6de09386ff674668325ddf700b0b16334ad1d2ef
[ "Naumen", "Condor-1.1", "MS-PL" ]
74
2015-06-18T19:51:15.000Z
2022-03-24T15:09:33.000Z
#ifndef COMPLETER_HH #define COMPLETER_HH #include "inline.hh" #include "span.hh" #include <string> #include <string_view> #include <vector> namespace openmsx { class FileContext; class Interpreter; class InterpreterOutput; class TclObject; class Completer { public: Completer(const Completer&) = delete; Completer...
32.082278
112
0.691852
sdsnatcher73
1458f63a9fc1546597ee3890675f5a4ed70edc30
1,679
cpp
C++
volume_I/acm_1026.cpp
raidenluikang/acm.timus.ru
9b7c99eb03959acff9dd96326eec642a2c31ed04
[ "MIT" ]
null
null
null
volume_I/acm_1026.cpp
raidenluikang/acm.timus.ru
9b7c99eb03959acff9dd96326eec642a2c31ed04
[ "MIT" ]
null
null
null
volume_I/acm_1026.cpp
raidenluikang/acm.timus.ru
9b7c99eb03959acff9dd96326eec642a2c31ed04
[ "MIT" ]
null
null
null
//1026. Questions and Answers #include <cstdio> char buffer[ (1 << 19) + ( 1 << 16 ) ]; char const * o ; char * w ; unsigned frequence[5005] = {}; void initRead() { unsigned n; n = fread(buffer, 1, sizeof(buffer ) - 2, stdin); buffer[n] = '\0'; o = buffer; } void initWriter() { w = buffer; } unsigned readI...
15.990476
77
0.507445
raidenluikang
145da0563b3e52d3232837d2e1359500cb98c7af
752
hpp
C++
firmware/metadata.hpp
mikerr/32blit-beta
38ceca02226ec405d2de6883fc75376242a61778
[ "MIT" ]
null
null
null
firmware/metadata.hpp
mikerr/32blit-beta
38ceca02226ec405d2de6883fc75376242a61778
[ "MIT" ]
null
null
null
firmware/metadata.hpp
mikerr/32blit-beta
38ceca02226ec405d2de6883fc75376242a61778
[ "MIT" ]
null
null
null
#pragma once #include <cstdint> #include <string> #include "graphics/surface.hpp" struct BlitGameMetadata { uint16_t length = 0; uint32_t crc32 = 0; std::string title, description, version, author; blit::Surface *icon = nullptr, *splash = nullptr; void free_surfaces() { if(icon) { delete[] icon-...
23.5
110
0.670213
mikerr
145dae5d9636f68d97ff0fc5aab7b4e629671134
1,058
hpp
C++
libraries/fc/include/fc/smart_ref_fwd.hpp
EOTSIO/EOT
d48e22c392a8a74abe8b5761a5fee50d3f75e956
[ "MIT" ]
2,189
2016-04-02T21:49:13.000Z
2022-03-31T23:31:07.000Z
libraries/fc/include/fc/smart_ref_fwd.hpp
EOTSIO/EOT
d48e22c392a8a74abe8b5761a5fee50d3f75e956
[ "MIT" ]
2,798
2016-04-11T18:01:05.000Z
2022-01-15T23:05:39.000Z
libraries/fc/include/fc/smart_ref_fwd.hpp
EOTSIO/EOT
d48e22c392a8a74abe8b5761a5fee50d3f75e956
[ "MIT" ]
908
2016-03-23T18:26:20.000Z
2022-03-07T21:43:27.000Z
#pragma once namespace fc { /** * @brief Used to forward declare value types and break circular dependencies or use heap allocation * * A smart reference is heap allocated, move-aware, and is gauranteed to never be null (except after a move) */ template<typename T> class smart_ref { pub...
25.190476
112
0.561437
EOTSIO
14656fe9b74d50ac9d22356721248c7be6256495
3,819
cpp
C++
free_gait_ros/src/StateRosPublisher.cpp
HeroWithL/free_gaitc
ac4bc0ced56d0619d2fde105d2712fdf2507e245
[ "BSD-3-Clause" ]
330
2016-10-25T14:04:02.000Z
2022-03-30T12:31:41.000Z
free_gait_ros/src/StateRosPublisher.cpp
HeroWithL/free_gaitc
ac4bc0ced56d0619d2fde105d2712fdf2507e245
[ "BSD-3-Clause" ]
47
2016-08-25T14:10:23.000Z
2020-09-21T17:25:05.000Z
free_gait_ros/src/StateRosPublisher.cpp
HeroWithL/free_gaitc
ac4bc0ced56d0619d2fde105d2712fdf2507e245
[ "BSD-3-Clause" ]
122
2016-10-25T14:04:16.000Z
2022-03-26T21:32:51.000Z
/* * StateRosPublisher.cpp * * Created on: Dec 6, 2016 * Author: Péter Fankhauser * Institute: ETH Zurich, Autonomous Systems Lab */ #include <free_gait_ros/StateRosPublisher.hpp> // KDL #include <kdl_parser/kdl_parser.hpp> // Kindr #include <kindr_ros/kindr_ros.hpp> // STD #include <string> #include ...
30.070866
116
0.749411
HeroWithL
146b4b9e728252b898ea846cb21593526668702f
1,241
hpp
C++
include/boost/simd/function/is_flint.hpp
yaeldarmon/boost.simd
561316cc54bdc6353ca78f3b6d7e9120acd11144
[ "BSL-1.0" ]
null
null
null
include/boost/simd/function/is_flint.hpp
yaeldarmon/boost.simd
561316cc54bdc6353ca78f3b6d7e9120acd11144
[ "BSL-1.0" ]
null
null
null
include/boost/simd/function/is_flint.hpp
yaeldarmon/boost.simd
561316cc54bdc6353ca78f3b6d7e9120acd11144
[ "BSL-1.0" ]
null
null
null
//================================================================================================== /*! @file @copyright 2016 NumScale SAS @copyright 2016 J.T. Lapreste Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) ...
25.326531
100
0.609186
yaeldarmon
146d50025db9237847688682595984ff9c2405fd
1,638
cpp
C++
tests/src/test_serialcom.cpp
lPrimemaster/DCScan-ModulesAPI
69f2e517db88d814e564a3c9109bde003b5840b4
[ "MIT" ]
null
null
null
tests/src/test_serialcom.cpp
lPrimemaster/DCScan-ModulesAPI
69f2e517db88d814e564a3c9109bde003b5840b4
[ "MIT" ]
null
null
null
tests/src/test_serialcom.cpp
lPrimemaster/DCScan-ModulesAPI
69f2e517db88d814e564a3c9109bde003b5840b4
[ "MIT" ]
null
null
null
#include "../../DCS_Utils/include/DCS_ModuleUtils.h" #include "../../DCS_EngineControl/include/internal.h" #include "../../DCS_Network/include/DCS_ModuleNetwork.h" #include "../include/DCS_Assert.h" int main() { DCS_START_TEST; using namespace DCS::Control; using namespace DCS::Network; //StartServices(); //...
25.59375
83
0.689255
lPrimemaster
146f8d133e0e0c1572727a5f2c007be4fcf62692
121
cpp
C++
src/VideoDataManager.cpp
tonyconstantinides/librtp
919c3fa4b339a7fabd0a9efebff44e1e652a64b7
[ "ISC" ]
null
null
null
src/VideoDataManager.cpp
tonyconstantinides/librtp
919c3fa4b339a7fabd0a9efebff44e1e652a64b7
[ "ISC" ]
null
null
null
src/VideoDataManager.cpp
tonyconstantinides/librtp
919c3fa4b339a7fabd0a9efebff44e1e652a64b7
[ "ISC" ]
1
2021-11-30T07:10:11.000Z
2021-11-30T07:10:11.000Z
#include "VideoDataManager.hpp" VideoDataManager::VideoDataManager() { } VideoDataManager::~VideoDataManager() { }
10.083333
37
0.743802
tonyconstantinides
147064ba05edab0bccb67793d3afa3d574a26024
2,088
cpp
C++
benchmarks/benchSimulationContactSensor.in.cpp
SaeidSamadi/mc_rtc
fed695d7458da5231ae887506134c0e783556780
[ "BSD-2-Clause" ]
1
2020-05-15T15:15:26.000Z
2020-05-15T15:15:26.000Z
benchmarks/benchSimulationContactSensor.in.cpp
SaeidSamadi/mc_rtc
fed695d7458da5231ae887506134c0e783556780
[ "BSD-2-Clause" ]
3
2021-05-06T03:11:13.000Z
2021-05-31T02:53:26.000Z
benchmarks/benchSimulationContactSensor.in.cpp
SaeidSamadi/mc_rtc
fed695d7458da5231ae887506134c0e783556780
[ "BSD-2-Clause" ]
null
null
null
/* * Copyright 2015-2019 CNRS-UM LIRMM, CNRS-AIST JRL */ #include <mc_control/SimulationContactSensor.h> #include <mc_rbdyn/RobotLoader.h> #include <mc_rbdyn/Robots.h> #include "benchmark/benchmark.h" #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wpedantic" #pragma GCC diagnostic ignored "-Wconversi...
31.164179
109
0.699234
SaeidSamadi
14767ec3f5b20d505f0782487f034c46645f27da
603
hpp
C++
include/mpark/patterns/config.hpp
mpark/match
b3270e0dd7b6312f7a4fe8647e2333dbb86e355e
[ "BSL-1.0" ]
580
2017-04-13T18:18:11.000Z
2022-03-30T17:34:18.000Z
include/mpark/patterns/config.hpp
mpark/match
b3270e0dd7b6312f7a4fe8647e2333dbb86e355e
[ "BSL-1.0" ]
11
2017-04-17T06:39:52.000Z
2020-12-17T02:43:50.000Z
include/mpark/patterns/config.hpp
mpark/match
b3270e0dd7b6312f7a4fe8647e2333dbb86e355e
[ "BSL-1.0" ]
33
2017-04-16T09:36:40.000Z
2021-12-07T04:04:39.000Z
// MPark.Patterns // // Copyright Michael Park, 2017 // // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) #ifndef MPARK_PATTERNS_CONFIG_HPP #define MPARK_PATTERNS_CONFIG_HPP #if __cplusplus < 201703L #error "MPark.Patterns r...
24.12
81
0.771144
mpark
147753bc47b5fb8958f45be9f9b5528eee892fab
2,189
cpp
C++
widgets/LVGLWindow.cpp
mrQzs/LVGLBuilder
41dbfbd6d9d6f624e0ae1b7c542eef5f681ca4b5
[ "MIT" ]
null
null
null
widgets/LVGLWindow.cpp
mrQzs/LVGLBuilder
41dbfbd6d9d6f624e0ae1b7c542eef5f681ca4b5
[ "MIT" ]
null
null
null
widgets/LVGLWindow.cpp
mrQzs/LVGLBuilder
41dbfbd6d9d6f624e0ae1b7c542eef5f681ca4b5
[ "MIT" ]
null
null
null
#include "LVGLWindow.h" #include <QIcon> #include "LVGLObject.h" LVGLWindow::LVGLWindow() { initStateStyles(); m_parts << LV_WIN_PART_BG << LV_WIN_PART_HEADER << LV_WIN_PART_CONTENT_SCROLLABLE << LV_WIN_PART_SCROLLBAR; m_editableStyles << LVGL::Background; // LV_WIN_PART_BG m_editableStyles << LV...
29.581081
77
0.677021
mrQzs
1479939c4cf2f08ba33577006a8ee0435a93ff4c
1,152
cpp
C++
Sources/Interview/reverseWords.cpp
ChengwenY/LeetCode
25deccfaf2f661ff29e970c44a67719d51f5656f
[ "MIT" ]
null
null
null
Sources/Interview/reverseWords.cpp
ChengwenY/LeetCode
25deccfaf2f661ff29e970c44a67719d51f5656f
[ "MIT" ]
null
null
null
Sources/Interview/reverseWords.cpp
ChengwenY/LeetCode
25deccfaf2f661ff29e970c44a67719d51f5656f
[ "MIT" ]
null
null
null
/** 给定一个字符串,逐个翻转字符串中的每个单词。   示例 1: 输入: "the sky is blue" 输出: "blue is sky the" 示例 2: 输入: "  hello world!  " 输出: "world! hello" 解释: 输入字符串可以在前面或者后面包含多余的空格,但是反转后的字符不能包括。 // 分析:首先整体翻转,找到收尾字符的index,然后逐个单词翻转,最后将单词中间的不符合空格清空,最后截取字符串 时间、空间复杂度O(N) 写代码时注意 赋值与比较写的是否正确,== 和 = 是个坑 */ class Solution { public: string rever...
23.510204
73
0.482639
ChengwenY
147aebb433ecf99044d6e2da53523336339b7732
610
hpp
C++
include/keyboard.hpp
drofnas/EdiZon
1312d411251690d3303f74ccb60c99f9bba925bf
[ "MIT" ]
1
2018-08-01T16:13:12.000Z
2018-08-01T16:13:12.000Z
include/keyboard.hpp
drofnas/EdiZon
1312d411251690d3303f74ccb60c99f9bba925bf
[ "MIT" ]
null
null
null
include/keyboard.hpp
drofnas/EdiZon
1312d411251690d3303f74ccb60c99f9bba925bf
[ "MIT" ]
null
null
null
#pragma once #include <string> #include <functional> #include <switch.h> class Gui; class Keyboard { public: Keyboard(std::string title, u8 maxInputLength); ~Keyboard(); void show(); void hide(); void update(); void draw(Gui *gui); void onInput(u32 kdown); Keyboard* setInputFinishedAction(std::fu...
16.944444
89
0.714754
drofnas
1482441093810b61a2e96ceb184a0f97ef04673d
4,613
hpp
C++
src/perception/filters/point_cloud_filter_transform_nodes/include/point_cloud_filter_transform_nodes/point_cloud_filter_transform_node.hpp
11Takanori/AutowareAuto_
c27e87453e9ea1f757b8690d022e0086f1a9087a
[ "Apache-2.0" ]
1
2021-07-27T08:22:19.000Z
2021-07-27T08:22:19.000Z
src/perception/filters/point_cloud_filter_transform_nodes/include/point_cloud_filter_transform_nodes/point_cloud_filter_transform_node.hpp
11Takanori/AutowareAuto_
c27e87453e9ea1f757b8690d022e0086f1a9087a
[ "Apache-2.0" ]
1
2021-05-23T16:45:11.000Z
2021-08-03T16:59:40.000Z
src/perception/filters/point_cloud_filter_transform_nodes/include/point_cloud_filter_transform_nodes/point_cloud_filter_transform_node.hpp
11Takanori/AutowareAuto_
c27e87453e9ea1f757b8690d022e0086f1a9087a
[ "Apache-2.0" ]
2
2021-09-27T06:19:07.000Z
2021-09-28T08:18:09.000Z
// Copyright 2017-2020 the Autoware 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 applicable law...
37.504065
95
0.778669
11Takanori
1487c1731c9859535160e3ade304d55cced15108
1,683
cpp
C++
ea/inorder_expression_to_binary_tree.cpp
yekesit/OA-or-Interview-Questions
89c0a4db10c4ffde6d49835c0621f9ec2e04f141
[ "MIT" ]
null
null
null
ea/inorder_expression_to_binary_tree.cpp
yekesit/OA-or-Interview-Questions
89c0a4db10c4ffde6d49835c0621f9ec2e04f141
[ "MIT" ]
null
null
null
ea/inorder_expression_to_binary_tree.cpp
yekesit/OA-or-Interview-Questions
89c0a4db10c4ffde6d49835c0621f9ec2e04f141
[ "MIT" ]
null
null
null
// // Created by Ke Ye on 2019-06-18. // #include <iostream> #include <stack> #include <deque> using namespace std; // 2 * 3 + 5 - 4 / 2 // - // + / // * 5 4 2 // 2 3 struct TreeNode{ string val; TreeNode *left; TreeNode *right; TreeNode(string val) : val(val), left(nullptr), right(nu...
25.892308
71
0.465241
yekesit
148cb7ea3c6c1abd7b300641753732ddb35e12a5
147
cpp
C++
bit_operator/6.cpp
ja-ho/swfc
1aad671199f14c69228430228b161b4f7a09c4f7
[ "MIT" ]
null
null
null
bit_operator/6.cpp
ja-ho/swfc
1aad671199f14c69228430228b161b4f7a09c4f7
[ "MIT" ]
null
null
null
bit_operator/6.cpp
ja-ho/swfc
1aad671199f14c69228430228b161b4f7a09c4f7
[ "MIT" ]
null
null
null
#include <stdio.h> int main() { int n, d; scanf("%d %d", &n, &d); int mask = 1; int cnt = 0; n &= (d - 1); printf("%d\n", n); return 0; }
12.25
24
0.462585
ja-ho
148cd8cb3ee681b3eb6ab167bd85779b03636864
5,251
cpp
C++
src/api/cpp/lib/ClusterManager.cpp
jpherbst/qot-stack
19ffb67eb12a5118df79a7daa58bd0f4d01fea2d
[ "Unlicense" ]
null
null
null
src/api/cpp/lib/ClusterManager.cpp
jpherbst/qot-stack
19ffb67eb12a5118df79a7daa58bd0f4d01fea2d
[ "Unlicense" ]
null
null
null
src/api/cpp/lib/ClusterManager.cpp
jpherbst/qot-stack
19ffb67eb12a5118df79a7daa58bd0f4d01fea2d
[ "Unlicense" ]
null
null
null
/* * @file ClusterManager.cpp * @brief Library Implementation for Cluster Management * @author Sandeep D'souza * * Copyright (c) Carnegie Mellon University, 2016. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the followi...
35.47973
147
0.70996
jpherbst
149236b5f34fe92184994d0c760ce0cf83838b54
1,028
cpp
C++
Sid's Levels/InterviewBit/Dynamic Programming/Binomial Coefficient.cpp
Tiger-Team-01/DSA-A-Z-Practice
e08284ffdb1409c08158dd4e90dc75dc3a3c5b18
[ "MIT" ]
14
2021-08-22T18:21:14.000Z
2022-03-08T12:04:23.000Z
Sid's Levels/InterviewBit/Dynamic Programming/Binomial Coefficient.cpp
Tiger-Team-01/DSA-A-Z-Practice
e08284ffdb1409c08158dd4e90dc75dc3a3c5b18
[ "MIT" ]
1
2021-10-17T18:47:17.000Z
2021-10-17T18:47:17.000Z
Sid's Levels/InterviewBit/Dynamic Programming/Binomial Coefficient.cpp
Tiger-Team-01/DSA-A-Z-Practice
e08284ffdb1409c08158dd4e90dc75dc3a3c5b18
[ "MIT" ]
5
2021-09-01T08:21:12.000Z
2022-03-09T12:13:39.000Z
//Recursive solution class Solution{ public: //OM GAN GANAPATHAYE NAMO NAMAH //JAI SHRI RAM //JAI BAJRANGBALI //AMME NARAYANA, DEVI NARAYANA, LASKHMI NARAYANA, BHADRE NARAYANA int nCr(int n, int r){ // code here if(r > n) return 0; if(n == 0 || r == 0) ret...
23.363636
70
0.456226
Tiger-Team-01
14926d0e7ddf3a6743e1103f019d5084c181f15a
2,228
cpp
C++
Modules/Annotation/src/mitkManualPlacementAnnotationRenderer.cpp
ZP-Hust/MITK
ca11353183c5ed4bc30f938eae8bde43a0689bf6
[ "BSD-3-Clause" ]
1
2021-11-20T08:19:27.000Z
2021-11-20T08:19:27.000Z
Modules/Annotation/src/mitkManualPlacementAnnotationRenderer.cpp
wyyrepo/MITK
d0837f3d0d44f477b888ec498e9a2ed407e79f20
[ "BSD-3-Clause" ]
null
null
null
Modules/Annotation/src/mitkManualPlacementAnnotationRenderer.cpp
wyyrepo/MITK
d0837f3d0d44f477b888ec498e9a2ed407e79f20
[ "BSD-3-Clause" ]
1
2019-01-09T08:20:18.000Z
2019-01-09T08:20:18.000Z
/*=================================================================== The Medical Imaging Interaction Toolkit (MITK) Copyright (c) German Cancer Research Center, Division of Medical and Biological Informatics. All rights reserved. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty o...
36.52459
124
0.749102
ZP-Hust
14926f27f7ed197ac2069da2cfa848861dce1d68
542
cpp
C++
src/CeilingEnemyGraphicsComponent.cpp
filipecaixeta/NeonEdgeGame
7dbc825507d731d60a96b4a82975a70e6aa68d7e
[ "MIT" ]
6
2017-05-10T19:25:23.000Z
2021-04-08T23:55:17.000Z
src/CeilingEnemyGraphicsComponent.cpp
filipecaixeta/NeonEdgeGame
7dbc825507d731d60a96b4a82975a70e6aa68d7e
[ "MIT" ]
1
2017-11-10T12:17:26.000Z
2017-11-10T12:17:26.000Z
src/CeilingEnemyGraphicsComponent.cpp
filipecaixeta/NeonEdgeGame
7dbc825507d731d60a96b4a82975a70e6aa68d7e
[ "MIT" ]
5
2017-05-30T01:07:46.000Z
2021-04-08T23:55:19.000Z
// Copyright (c) 2017 Neon Edge Game. #include "CeilingEnemyGraphicsComponent.h" CeilingEnemyGraphicsComponent::CeilingEnemyGraphicsComponent(std::string baseNameParam): GraphicsComponent(baseNameParam) { AddSprite(baseName, "Idle", 6, 80); sprite = sprites["Idle"]; surface = surfaces["Idle"]; } Ceil...
28.526316
88
0.758303
filipecaixeta
1492a980b81db9dadef3fa0fb39ba8f8b634ae62
113
hpp
C++
src/_dot_product/serial/dprod.hpp
gkonto/openmp
05bf60a600da15379fda7d0a46abbcaf0d1b9c55
[ "Apache-2.0" ]
null
null
null
src/_dot_product/serial/dprod.hpp
gkonto/openmp
05bf60a600da15379fda7d0a46abbcaf0d1b9c55
[ "Apache-2.0" ]
1
2020-05-07T04:46:47.000Z
2020-05-07T16:10:49.000Z
src/_dot_product/serial/dprod.hpp
gkonto/openmp
05bf60a600da15379fda7d0a46abbcaf0d1b9c55
[ "Apache-2.0" ]
null
null
null
#ifndef DPROD_HPP #define DPROD_HPP #include <stddef.h> double dprod(size_t num, double *a, double *b); #endif
14.125
47
0.734513
gkonto
1492f9135a57a73d38c91742c38a9176e2b5767b
1,699
cpp
C++
data structures/queue.cpp
JayeshPadhiar/Algorithms
da0ed0d60a96a0baa63d73a2493d18f6d8ca2ee9
[ "MIT" ]
1
2021-05-19T14:25:42.000Z
2021-05-19T14:25:42.000Z
data structures/queue.cpp
JayeshPadhiar/DataStructuresAlgorithms
da0ed0d60a96a0baa63d73a2493d18f6d8ca2ee9
[ "MIT" ]
null
null
null
data structures/queue.cpp
JayeshPadhiar/DataStructuresAlgorithms
da0ed0d60a96a0baa63d73a2493d18f6d8ca2ee9
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; class Node { public: int data; Node *next; Node() { this->data = 0; this->next = NULL; } Node(int data) { this->data = data; this->next = NULL; } }; class Queue { public: Node *front, *rear; Queue() { front = rear = NULL; } bool e...
13.273438
47
0.516186
JayeshPadhiar
1495ad4a9d5378e150974db9d628cc9675bda866
2,826
cpp
C++
interface_kit/pot/testview.cpp
return/BeOSSampleCode
ca5a319fecf425a69e944f3c928a85011563a932
[ "BSD-3-Clause" ]
5
2018-09-09T21:01:57.000Z
2022-03-27T10:01:27.000Z
interface_kit/pot/testview.cpp
return/BeOSSampleCode
ca5a319fecf425a69e944f3c928a85011563a932
[ "BSD-3-Clause" ]
null
null
null
interface_kit/pot/testview.cpp
return/BeOSSampleCode
ca5a319fecf425a69e944f3c928a85011563a932
[ "BSD-3-Clause" ]
5
2018-04-03T01:45:23.000Z
2021-05-14T08:23:01.000Z
/* Copyright 1999, Be Incorporated. All Rights Reserved. This file may be used under the terms of the Be Sample Code License. */ #include <stdio.h> #include <Bitmap.h> #include <Message.h> #include <ScrollBar.h> #include <StopWatch.h> #include "colorutils.h" #include "constants.h" #include "offscreenview.h" #incl...
19.625
80
0.677636
return
1496f8c4bb2bf1c5be476d233b456d9bc8fad2f7
1,734
cpp
C++
Source/GameOptions.cpp
sizlo/TimGameLib
b70605c4b043a928645f063a2bb3b267fa91f2c6
[ "MIT" ]
null
null
null
Source/GameOptions.cpp
sizlo/TimGameLib
b70605c4b043a928645f063a2bb3b267fa91f2c6
[ "MIT" ]
null
null
null
Source/GameOptions.cpp
sizlo/TimGameLib
b70605c4b043a928645f063a2bb3b267fa91f2c6
[ "MIT" ]
null
null
null
// // GameOptions.cpp // TimGameLib // // Created by Tim Brier on 05/10/2014. // Copyright (c) 2014 tbrier. All rights reserved. // // ============================================================================= // Include Files // ----------------------------------------------------------------------------- #inc...
30.964286
80
0.355825
sizlo
149a17dc86ba22fe833950c0acf59b7af71f8bf0
1,358
cpp
C++
src/demo_menu.cpp
dyigitpolat/komposto.ai
ee610053730d59207d073da18f645c9e27725189
[ "MIT" ]
1
2021-05-11T13:42:18.000Z
2021-05-11T13:42:18.000Z
src/demo_menu.cpp
dyigitpolat/komposto.ai
ee610053730d59207d073da18f645c9e27725189
[ "MIT" ]
13
2021-05-16T19:56:32.000Z
2022-02-09T23:46:12.000Z
src/demo_menu.cpp
dyigitpolat/komposto.ai
ee610053730d59207d073da18f645c9e27725189
[ "MIT" ]
null
null
null
#include "demo_menu.hpp" //std headers #include <iostream> DemoMenu::DemoMenu(const std::string &title) : m_title{title} { } void DemoMenu::add_menu_item(const Demo &demo) { m_demos.push_back(demo); } void DemoMenu::show() const { print_menu(); int user_input{}; do { handle_stdin_error(...
18.60274
78
0.541973
dyigitpolat
14a2abb94b74c2391f25c75df9f2c6ba40cca314
1,548
hpp
C++
galaxy/src/galaxy/graphics/text/FreeType.hpp
DomRe/galaxy
dbffcbe3ff1ea0f1cb1f23a554b13be0eb681a57
[ "Apache-2.0" ]
19
2020-02-02T16:36:46.000Z
2021-12-25T07:02:28.000Z
galaxy/src/galaxy/graphics/text/FreeType.hpp
DomRe/galaxy
dbffcbe3ff1ea0f1cb1f23a554b13be0eb681a57
[ "Apache-2.0" ]
103
2020-10-13T09:03:42.000Z
2022-03-26T03:41:50.000Z
galaxy/src/galaxy/graphics/text/FreeType.hpp
DomRe/galaxy
dbffcbe3ff1ea0f1cb1f23a554b13be0eb681a57
[ "Apache-2.0" ]
5
2020-03-13T06:14:37.000Z
2021-12-12T02:13:46.000Z
/// /// FreeType.hpp /// galaxy /// /// Refer to LICENSE.txt for more details. /// #ifndef GALAXY_GRAPHICS_TEXT_FREETYPE_HPP_ #define GALAXY_GRAPHICS_TEXT_FREETYPE_HPP_ #include <ft2build.h> #include FT_FREETYPE_H /// /// Shortcut Macro. /// #define FT_HANDLE galaxy::graphics::FreeTypeLib::handle() /// /// OK retur...
15.795918
57
0.598837
DomRe
14a30b4c5fac21c13ad240a73c49c315f468bb27
849
cpp
C++
luogu/cxx/src/P1618.cpp
HoshinoTented/Solutions
96fb200c7eb5bce17938aec5ae6efdc43b3fe494
[ "WTFPL" ]
1
2019-09-13T13:06:27.000Z
2019-09-13T13:06:27.000Z
luogu/cxx/src/P1618.cpp
HoshinoTented/Solutions
96fb200c7eb5bce17938aec5ae6efdc43b3fe494
[ "WTFPL" ]
null
null
null
luogu/cxx/src/P1618.cpp
HoshinoTented/Solutions
96fb200c7eb5bce17938aec5ae6efdc43b3fe494
[ "WTFPL" ]
null
null
null
#include <iostream> #include <string> auto check_(bool *arr, int i) -> bool { std::string str = std::to_string(i); if (str.size() != 3) return false; for (char &c : str) { if (c == '0') return false; if (arr[c - '0']) { arr[c - '0'] = false; } else return false; } return true; } auto check(int a, int...
18.06383
68
0.518257
HoshinoTented
14a56b10914578c63e55001186092da1d8ece04e
2,144
cpp
C++
deps/metamod/vdate.cpp
andrewlindberg/AmxxCurl
a5f22d325848f6b3234f9898911aeb14b9cf2824
[ "MIT" ]
35
2016-07-27T18:58:07.000Z
2022-01-31T07:00:59.000Z
dep/metamod/vdate.cpp
Psycrow101/AmxxEasyHttp
afac8d79deaab7cd054607e19883e02a663ee655
[ "MIT" ]
10
2018-10-03T14:16:09.000Z
2021-11-10T18:38:08.000Z
dep/metamod/vdate.cpp
Psycrow101/AmxxEasyHttp
afac8d79deaab7cd054607e19883e02a663ee655
[ "MIT" ]
12
2016-08-13T09:08:32.000Z
2021-05-29T16:54:15.000Z
// vi: set ts=4 sw=4 : // vim: set tw=75 : // vdate.cpp - compile-time version date /* * Copyright (c) 2001-2003 Will Day <willday@hpgx.net> * * This file is part of Metamod. * * Metamod is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as pu...
36.965517
89
0.696828
andrewlindberg
14a6e3764892037485457beec668bf2b99ee17f7
13,948
hh
C++
cc/chart-base.hh
acorg/acmacs-chart
1a701e05b463a72751cfa71e892b733fe54684bd
[ "MIT" ]
null
null
null
cc/chart-base.hh
acorg/acmacs-chart
1a701e05b463a72751cfa71e892b733fe54684bd
[ "MIT" ]
null
null
null
cc/chart-base.hh
acorg/acmacs-chart
1a701e05b463a72751cfa71e892b733fe54684bd
[ "MIT" ]
null
null
null
#pragma once #include <string> #include "acmacs-base/range.hh" #include "acmacs-base/string-target.hh" #include "acmacs-chart-1/layout-base.hh" #include "acmacs-chart-1/antigen-serum-match.hh" class LocDb; // ---------------------------------------------------------------------- class AntigenSerumBase { public: ...
43.724138
171
0.633066
acorg
14aadc62c9175fbc1ee373bc61aacd97ad73422e
6,884
cpp
C++
runtime/wrappers.cpp
btwooton/logo
fb55611a7e42606da7fe0fdc4a501741e1d29552
[ "MIT" ]
2
2019-04-09T03:50:37.000Z
2019-11-17T12:37:44.000Z
runtime/wrappers.cpp
btwooton/logo
fb55611a7e42606da7fe0fdc4a501741e1d29552
[ "MIT" ]
1
2019-04-23T21:54:36.000Z
2019-04-23T21:54:36.000Z
runtime/wrappers.cpp
btwooton/logo
fb55611a7e42606da7fe0fdc4a501741e1d29552
[ "MIT" ]
1
2019-04-09T03:54:20.000Z
2019-04-09T03:54:20.000Z
#include <cassert> #include <cstdlib> #include <cstring> #include "wrappers.hpp" #include "../turtle/turtle.hpp" #include "../init/init_turtle.hpp" #include "../lang/args.hpp" #include "../lang/arg.hpp" #include "../rendering/render_turtle.hpp" Args wforward_impl(Args a) { Arg amount = a.get_arg(0); if (__turtle__...
25.496296
64
0.634805
btwooton
14ac7efdb8c71222989dbdca3bd8f59ca37fd630
10,054
cpp
C++
LeetCode/PriorityExpiryCache.cpp
zamansabbir/DataStructure
4df8961b2726dfdff835c111fa48b45ff2c82831
[ "MIT" ]
1
2020-08-24T19:38:10.000Z
2020-08-24T19:38:10.000Z
LeetCode/PriorityExpiryCache.cpp
zamansabbir/DataStructure
4df8961b2726dfdff835c111fa48b45ff2c82831
[ "MIT" ]
null
null
null
LeetCode/PriorityExpiryCache.cpp
zamansabbir/DataStructure
4df8961b2726dfdff835c111fa48b45ff2c82831
[ "MIT" ]
null
null
null
#include<iostream> #include<string> #include<unordered_map> #include<queue> #include<list> using namespace std; volatile int timer=0; // a global timer value to represent timer for code, originally // a timer.sleep() was supposed to be used. //It is a structure to contain necessary node information with key, valu...
33.401993
195
0.635966
zamansabbir
14ae252d6163009d49eb6baa77de16235633cbe1
38
hpp
C++
src/boost_msm_event_traits.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
10
2018-03-17T00:58:42.000Z
2021-07-06T02:48:49.000Z
src/boost_msm_event_traits.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
2
2021-03-26T15:17:35.000Z
2021-05-20T23:55:08.000Z
src/boost_msm_event_traits.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
4
2019-05-28T21:06:37.000Z
2021-07-06T03:06:52.000Z
#include <boost/msm/event_traits.hpp>
19
37
0.789474
miathedev
14b4bec4ed787656b216fa28dbb6059204e4b4b0
885
cpp
C++
Data_Container/src/exception.cpp
Silmaen/ArduinoLibraries
c702234b0e11978977cf8f6fc7454452d67afa33
[ "BSD-3-Clause" ]
null
null
null
Data_Container/src/exception.cpp
Silmaen/ArduinoLibraries
c702234b0e11978977cf8f6fc7454452d67afa33
[ "BSD-3-Clause" ]
null
null
null
Data_Container/src/exception.cpp
Silmaen/ArduinoLibraries
c702234b0e11978977cf8f6fc7454452d67afa33
[ "BSD-3-Clause" ]
null
null
null
/** * \author argawaen * \date 20/01/2021 * */ #include "exception" // We can't do this yet because gcc is too stupid to be able to handle // different implementations of exception class. #undef ASTD_EXCEPTION_SUPPORT #ifdef ASTD_EXCEPTION_SUPPORT namespace astd { static char *__std_exception_what_value = ...
21.071429
96
0.725424
Silmaen
14ba5a201d3f39ff18c992f175ab495f4471b215
194
cxx
C++
detectors/OSOSCAR/OSOSCARStrip.cxx
dellaquilamaster/OSCAR-tool
2171a3507aedb0795640f1375d2fcdf1aee666c5
[ "Unlicense" ]
null
null
null
detectors/OSOSCAR/OSOSCARStrip.cxx
dellaquilamaster/OSCAR-tool
2171a3507aedb0795640f1375d2fcdf1aee666c5
[ "Unlicense" ]
null
null
null
detectors/OSOSCAR/OSOSCARStrip.cxx
dellaquilamaster/OSCAR-tool
2171a3507aedb0795640f1375d2fcdf1aee666c5
[ "Unlicense" ]
null
null
null
#include <OSOSCARStrip.h> //________________________________________________ OSOSCARStrip::OSOSCARStrip() {} //________________________________________________ OSOSCARStrip::~OSOSCARStrip() {}
21.555556
50
0.845361
dellaquilamaster
14bb9b2ac23be6738c17a1bf38c7f5d2dfe8805f
318
cpp
C++
src/libs/widgets/widgetChessBoard/widgetChessBoard.cpp
hoquangnam45/animal_chess
02ebe0f023c98b4c056f866f82cbcac353c98a3c
[ "MIT" ]
null
null
null
src/libs/widgets/widgetChessBoard/widgetChessBoard.cpp
hoquangnam45/animal_chess
02ebe0f023c98b4c056f866f82cbcac353c98a3c
[ "MIT" ]
null
null
null
src/libs/widgets/widgetChessBoard/widgetChessBoard.cpp
hoquangnam45/animal_chess
02ebe0f023c98b4c056f866f82cbcac353c98a3c
[ "MIT" ]
null
null
null
#include "widgetChessBoard.h" WidgetChessBoard::WidgetChessBoard(QWidget* parent) : QWidget(parent) { this->chessBoardController = ConfigurationParser::constructChessBoard( QDir(":/config/defaultChessConfig")); }; void WidgetChessBoard::viewChessBoard() { return; } WidgetChessBoard::~WidgetChessBoard() {}
28.909091
72
0.767296
hoquangnam45
14be09e7cf2b48ca42b00d0cef2c5a67ecd16733
5,646
cpp
C++
Interesting Problems/aPPrep/Tree_new.cpp
TiwariAnil/Algorithmic_Puzzles
13a6b2ed8e8fd0176b9b58c073b2e9847e7ba774
[ "MIT" ]
null
null
null
Interesting Problems/aPPrep/Tree_new.cpp
TiwariAnil/Algorithmic_Puzzles
13a6b2ed8e8fd0176b9b58c073b2e9847e7ba774
[ "MIT" ]
null
null
null
Interesting Problems/aPPrep/Tree_new.cpp
TiwariAnil/Algorithmic_Puzzles
13a6b2ed8e8fd0176b9b58c073b2e9847e7ba774
[ "MIT" ]
null
null
null
//Data Structure includes #include<vector> #include<stack> #include<set> #include<map> #include<queue> #include<deque> #include<string> //Other Includes #include<iostream> #include<algorithm> #include<cstring> #include<cassert> #include<cstdlib> #include<cstdio> #include<cmath> #include<sstream> //some common functionn...
22.141176
77
0.4791
TiwariAnil
14be4489d358301c7626b28ba1f2840b15d6a1d9
734
hpp
C++
posu/units/system/angle.hpp
zhu48/posu
4872bd7572485c1c352aaf5db7a99d578a682113
[ "MIT" ]
null
null
null
posu/units/system/angle.hpp
zhu48/posu
4872bd7572485c1c352aaf5db7a99d578a682113
[ "MIT" ]
33
2020-12-14T02:50:22.000Z
2022-03-08T03:20:15.000Z
posu/units/system/angle.hpp
zhu48/posu
4872bd7572485c1c352aaf5db7a99d578a682113
[ "MIT" ]
null
null
null
#ifndef POSU_UNITS_SYSTEM_ANGLE_HPP #define POSU_UNITS_SYSTEM_ANGLE_HPP #include "posu/units/derived_unit.hpp" #include "posu/units/system/length.hpp" namespace posu::units { struct angle { using type = angle; using value_type = std::string_view; using dimensions = dimension_divide...
27.185185
91
0.689373
zhu48
14c5a9eb6a568887f504df34b4dcc139464f51ab
2,047
hpp
C++
src/classes/class_destructor.hpp
iamantony/CppNotes
2707db6560ad80b0e5e286a04b2d46e5c0280b3f
[ "MIT" ]
2
2020-07-31T14:13:56.000Z
2021-02-03T09:51:43.000Z
src/classes/class_destructor.hpp
iamantony/CppNotes
2707db6560ad80b0e5e286a04b2d46e5c0280b3f
[ "MIT" ]
28
2015-09-22T07:38:21.000Z
2018-10-02T11:00:58.000Z
src/classes/class_destructor.hpp
iamantony/CppNotes
2707db6560ad80b0e5e286a04b2d46e5c0280b3f
[ "MIT" ]
2
2018-10-11T14:10:50.000Z
2021-02-27T08:53:50.000Z
#ifndef CLASS_DESTRUCTOR_HPP #define CLASS_DESTRUCTOR_HPP #include <iostream> // ==== 1. Function and object destruction // https://www.geeksforgeeks.org/playing-with-destructors-in-c/ int globalVariable; class DestructingClass { public: ~DestructingClass() { std::cout << "Destructor of DestructingClass...
24.662651
77
0.707865
iamantony
14cb2f4d3184db74c4ee0081a812ef302c8af35d
7,650
hpp
C++
core/include/pipepp/options.hpp
pxscope-swkang/pipepp
e149c9b2d43b649a7771a5ad43b25c67a57b7fa3
[ "Apache-2.0" ]
null
null
null
core/include/pipepp/options.hpp
pxscope-swkang/pipepp
e149c9b2d43b649a7771a5ad43b25c67a57b7fa3
[ "Apache-2.0" ]
1
2021-06-15T01:05:40.000Z
2021-07-01T14:05:22.000Z
core/include/pipepp/options.hpp
pxscope-swkang/pipepp
e149c9b2d43b649a7771a5ad43b25c67a57b7fa3
[ "Apache-2.0" ]
1
2021-06-07T01:55:29.000Z
2021-06-07T01:55:29.000Z
#pragma once #include <memory> #include <set> #include <shared_mutex> #include <span> #include <unordered_set> #include <variant> #include "kangsw/helpers/misc.hxx" #include "kangsw/thread/spinlock.hxx" #include "nlohmann/json.hpp" namespace pipepp { namespace detail { template <typename Exec_, typename Ty_> struct _o...
28.228782
118
0.622614
pxscope-swkang
14cd9778573d47dbf6d2e8846a324baeb378dca2
4,297
cpp
C++
src/Base64.cpp
Jonas4420/Crypto
4fda1854c838407e6cbfb0ffaf862609eaac203a
[ "MIT" ]
null
null
null
src/Base64.cpp
Jonas4420/Crypto
4fda1854c838407e6cbfb0ffaf862609eaac203a
[ "MIT" ]
null
null
null
src/Base64.cpp
Jonas4420/Crypto
4fda1854c838407e6cbfb0ffaf862609eaac203a
[ "MIT" ]
null
null
null
#include "crypto/Base64.hpp" namespace Crypto { int Base64::encode(const uint8_t *input, std::size_t input_sz, std::string &output) { std::size_t n = (input_sz / 3) * 3; output = ""; // Encode until padding part for ( std::size_t i = 0 ; i < n ; i += 3 ) { output += encode_map[ (input[i] & 0xFC) >> 2]; out...
26.20122
81
0.532465
Jonas4420
14d0f5e137442914a9d27b8d8fab320e4377e8c6
13,013
cpp
C++
export/release/windows/obj/src/TimingStruct.cpp
bobisdabbing/Vs-The-United-Lands-stable
0807e58b6d8ad1440bdd350bf006b37a1b7ca9b5
[ "MIT" ]
null
null
null
export/release/windows/obj/src/TimingStruct.cpp
bobisdabbing/Vs-The-United-Lands-stable
0807e58b6d8ad1440bdd350bf006b37a1b7ca9b5
[ "MIT" ]
null
null
null
export/release/windows/obj/src/TimingStruct.cpp
bobisdabbing/Vs-The-United-Lands-stable
0807e58b6d8ad1440bdd350bf006b37a1b7ca9b5
[ "MIT" ]
null
null
null
// Generated by Haxe 4.1.5 #include <hxcpp.h> #ifndef INCLUDED_95f339a1d026d52c #define INCLUDED_95f339a1d026d52c #include "hxMath.h" #endif #ifndef INCLUDED_TimingStruct #include <TimingStruct.h> #endif HX_DEFINE_STACK_FRAME(_hx_pos_2bef5994c8f2a111_3_new,"TimingStruct","new",0xf65a6d11,"TimingStruct.new","TimingStr...
38.961078
187
0.707523
bobisdabbing
14d19027a22ec49dc4f3dcbb83648082fad160c0
2,067
cpp
C++
extraWork/HashFunction/main.cpp
hamzakhalidchouhdary/MyCompilerProject
f39a82a0fd404639936954eba1a90c200a1a0de3
[ "MIT" ]
1
2022-02-01T06:00:01.000Z
2022-02-01T06:00:01.000Z
extraWork/HashFunction/main.cpp
hamzakhalidchouhdary/MyCompilerProject
f39a82a0fd404639936954eba1a90c200a1a0de3
[ "MIT" ]
null
null
null
extraWork/HashFunction/main.cpp
hamzakhalidchouhdary/MyCompilerProject
f39a82a0fd404639936954eba1a90c200a1a0de3
[ "MIT" ]
null
null
null
#include <iostream> #include <conio.h> #include <fstream> #include <cstring> using namespace std; class Hashing { char HT[25][15]; int hashCode(char*); public: void intilizeHashTable(); Hashing(); bool isInTable(char*); }; void Hashing::intilizeHashTable() { /*00*/strcpy(HT[0...
25.8375
75
0.420416
hamzakhalidchouhdary
14d3e37d5706aa7c484c98790d22d461d8bb8662
4,345
cpp
C++
rs232_test.cpp
iceignatius/rs232
84119337bf42e7da91911992cf2f6fd74a6db25a
[ "Zlib" ]
9
2016-12-09T06:53:15.000Z
2021-06-05T11:38:01.000Z
rs232_test.cpp
iceignatius/rs232
84119337bf42e7da91911992cf2f6fd74a6db25a
[ "Zlib" ]
null
null
null
rs232_test.cpp
iceignatius/rs232
84119337bf42e7da91911992cf2f6fd74a6db25a
[ "Zlib" ]
1
2018-02-25T06:41:23.000Z
2018-02-25T06:41:23.000Z
#include <assert.h> #include <string.h> #include <stdio.h> #ifdef __linux__ #include <unistd.h> #endif #ifdef _WIN32 #include <windows.h> #endif #ifdef NDEBUG #error This test program must work with macro "ASSERT" enabled! #endif #include "rs232.h" void sleep_awhile(void) { #if defined(__linux__) usleep(...
33.167939
92
0.563636
iceignatius
14d8e7788dc1ca09c9daaa53e68c01db28f08de3
1,190
cpp
C++
algorithms/selection_sort.cpp
oishikm12/cpp-collection
4a454a6ed5b24570c7df0d4f0b692ae98c1ffa97
[ "MIT" ]
5
2021-05-17T12:32:42.000Z
2021-12-12T21:09:55.000Z
algorithms/selection_sort.cpp
oishikm12/cpp-collection
4a454a6ed5b24570c7df0d4f0b692ae98c1ffa97
[ "MIT" ]
null
null
null
algorithms/selection_sort.cpp
oishikm12/cpp-collection
4a454a6ed5b24570c7df0d4f0b692ae98c1ffa97
[ "MIT" ]
1
2021-05-13T20:29:57.000Z
2021-05-13T20:29:57.000Z
#include <iostream> #include <vector> using namespace std; void selection(vector<int>&, int); int main() { /** * Selection Sort works in n^2 time, by swapping elements with desired position */ cout << "\nThis program sorts a given array via selection sort.\n" << endl; int len; cout << "Ente...
23.8
83
0.504202
oishikm12
14d8fb0b3471c34ccfba0348244b3134a36f8ce9
6,663
cpp
C++
src/core/WebAppManagerService.cpp
jdapena/webosose-wam
91a98e8ed267fa8b28f6223b9b540141eb675bb5
[ "Apache-2.0" ]
null
null
null
src/core/WebAppManagerService.cpp
jdapena/webosose-wam
91a98e8ed267fa8b28f6223b9b540141eb675bb5
[ "Apache-2.0" ]
7
2018-10-18T14:08:39.000Z
2022-03-31T08:34:07.000Z
src/core/WebAppManagerService.cpp
jdapena/webosose-wam
91a98e8ed267fa8b28f6223b9b540141eb675bb5
[ "Apache-2.0" ]
8
2018-10-17T11:33:09.000Z
2021-11-04T18:15:24.000Z
// Copyright (c) 2008-2018 LG Electronics, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or...
29.223684
153
0.750563
jdapena
14da9acd16c335bf9c6945889d5b01e32a75f8f5
1,545
cpp
C++
rai/ry/ry.cpp
Zwoelf12/rai
b4e7082f3b7e8be5a0490f37e57d442047aaa020
[ "MIT" ]
52
2018-05-25T07:26:18.000Z
2022-03-27T07:37:44.000Z
rai/ry/ry.cpp
Zwoelf12/rai
b4e7082f3b7e8be5a0490f37e57d442047aaa020
[ "MIT" ]
4
2019-04-09T19:10:27.000Z
2021-12-09T11:11:22.000Z
rai/ry/ry.cpp
Zwoelf12/rai
b4e7082f3b7e8be5a0490f37e57d442047aaa020
[ "MIT" ]
32
2018-06-22T20:47:47.000Z
2022-03-07T00:19:54.000Z
/* ------------------------------------------------------------------ Copyright (c) 2011-2020 Marc Toussaint email: toussaint@tu-berlin.de This code is distributed under the MIT License. Please see <root-path>/LICENSE for details. -------------------------------------------------------------- */ ...
20.328947
70
0.603883
Zwoelf12
14dddf15eeb291ee0fdf31313aa9a7b6671874ee
299
cpp
C++
judges/codeforces/tep_contests/first_semester/3_contest/bits.cpp
eduardonunes2525/competitive-programming
0f6bdc573b4d03d1ed20a2b77ec5388dca1ee47b
[ "MIT" ]
null
null
null
judges/codeforces/tep_contests/first_semester/3_contest/bits.cpp
eduardonunes2525/competitive-programming
0f6bdc573b4d03d1ed20a2b77ec5388dca1ee47b
[ "MIT" ]
1
2018-10-17T11:53:02.000Z
2018-10-17T11:54:42.000Z
judges/codeforces/tep_contests/first_semester/3_contest/bits.cpp
eduardonunes2525/competitive-programming
0f6bdc573b4d03d1ed20a2b77ec5388dca1ee47b
[ "MIT" ]
1
2018-10-17T12:14:04.000Z
2018-10-17T12:14:04.000Z
#include <bits/stdc++.h> using namespace std; int main(){ string s, x, y; cin >> s >> x; for(int i = 0, size = s.size(); i < size; i++) { ((s[i]=='0' and x[i] == '1') or (s[i]=='1' and x[i] == '0')) ? y+='1' : y+='0'; } cout << y << endl; return 0; }
17.588235
87
0.391304
eduardonunes2525
14e85f49084950ca67e712b46cb07707b79da0e4
86
cpp
C++
clear_console.cpp
Alynva/Gerenciador-de-Registros
f3d6739b2b8937ad951f1e0eee4d404577ed8ce5
[ "MIT" ]
null
null
null
clear_console.cpp
Alynva/Gerenciador-de-Registros
f3d6739b2b8937ad951f1e0eee4d404577ed8ce5
[ "MIT" ]
null
null
null
clear_console.cpp
Alynva/Gerenciador-de-Registros
f3d6739b2b8937ad951f1e0eee4d404577ed8ce5
[ "MIT" ]
null
null
null
#ifdef _WIN32 #define CLEAR "cls" #else //In any other OS #define CLEAR "clear" #endif
17.2
23
0.72093
Alynva
14ee2145b52bd3923c891422db0082c72a636d19
2,814
hpp
C++
benchmark/visitor_pikus.hpp
ldrozdz93/cpp-visitor-pattern
542dd041178be665c94b9364a3595ff7cb60e40a
[ "MIT" ]
1
2022-01-13T07:04:41.000Z
2022-01-13T07:04:41.000Z
benchmark/visitor_pikus.hpp
ldrozdz93/cpp-visitor-pattern
542dd041178be665c94b9364a3595ff7cb60e40a
[ "MIT" ]
null
null
null
benchmark/visitor_pikus.hpp
ldrozdz93/cpp-visitor-pattern
542dd041178be665c94b9364a3595ff7cb60e40a
[ "MIT" ]
null
null
null
/** * Source code copied under MIT license from: * https://github.com/PacktPublishing/Hands-On-Design-Patterns-with-CPP/blob/master/Chapter18/04b_visitor_template * MIT License Copyright (c) 2018 Packt Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated docu...
33.105882
114
0.667377
ldrozdz93
14f04dc3d15f529e2e4bf6ca8f8b1568d182ff10
840
cpp
C++
lib/rest/client.cpp
FiniteReality/disccord
1b89cde8031a1d6f9d43fa8f39dbc0959c8639ff
[ "MIT" ]
44
2016-09-19T15:28:25.000Z
2018-08-09T13:17:40.000Z
lib/rest/client.cpp
FiniteReality/disccord
1b89cde8031a1d6f9d43fa8f39dbc0959c8639ff
[ "MIT" ]
44
2016-11-03T17:27:30.000Z
2017-12-10T16:17:31.000Z
lib/rest/client.cpp
FiniteReality/disccord
1b89cde8031a1d6f9d43fa8f39dbc0959c8639ff
[ "MIT" ]
13
2016-11-01T00:17:20.000Z
2018-08-03T19:51:16.000Z
#include <disccord/rest.hpp> namespace disccord { namespace rest { discord_rest_client::discord_rest_client() : api_client(web::uri(DISCORD_BASE_URL), "", disccord::token_type::Bot) { } discord_rest_client::discord_rest_client(std::string token) : api_client(web::uri(DI...
27.096774
79
0.578571
FiniteReality
14f27a2db19a9169895107ac290f3f7cfd46b3c2
20,779
cpp
C++
CZetScript.cpp
jespa007/zg_script
540257ca0b1ae3494461d6373de1291b380b514f
[ "MIT" ]
11
2018-04-27T09:27:35.000Z
2021-07-22T15:51:57.000Z
CZetScript.cpp
jespa007/zg_script
540257ca0b1ae3494461d6373de1291b380b514f
[ "MIT" ]
267
2018-05-17T09:27:09.000Z
2022-03-03T22:38:40.000Z
CZetScript.cpp
jespa007/zg_script
540257ca0b1ae3494461d6373de1291b380b514f
[ "MIT" ]
4
2018-05-13T11:51:14.000Z
2018-11-06T00:33:34.000Z
#include "CZetScript.h" namespace zetscript{ CZetScript * CZetScript::m_instance = NULL; char CZetScript::str_error[MAX_BUFFER_STR_ERROR] = { 0 }; vector<tInfoParsedSource> * CZetScript::m_parsedSource = NULL; int CZetScript::getIdxParsedFilenameSource(const char *file){ if(file == NULL) return 0; ...
28.004043
201
0.634727
jespa007
14fed8d41c3505030a3a85d68ede5702e0fdedf7
1,466
cc
C++
pop_shots/src/source/engine.cc
onqtam/old-stuff
6ee0fbb36463525977caad8b66192292a73ac4d1
[ "MIT" ]
4
2016-10-12T15:53:58.000Z
2020-12-22T16:28:23.000Z
pop_shots/src/source/engine.cc
onqtam/fun-stuff
6ee0fbb36463525977caad8b66192292a73ac4d1
[ "MIT" ]
1
2016-01-26T13:14:40.000Z
2016-01-26T13:14:40.000Z
pop_shots/src/source/engine.cc
onqtam/fun-stuff
6ee0fbb36463525977caad8b66192292a73ac4d1
[ "MIT" ]
2
2019-02-08T12:59:54.000Z
2019-10-11T10:40:24.000Z
/****************************************************************************** * * * POP SHOTS. * * ...
28.192308
81
0.340382
onqtam
09011056ea118cabba7b48b3d66713347c8dd68d
2,576
cpp
C++
deformable/RigidBody.cpp
Spiros-Dimitriou/deformable-objects
323b4158fdeeee1671ec8504f20f863f2957089f
[ "MIT" ]
null
null
null
deformable/RigidBody.cpp
Spiros-Dimitriou/deformable-objects
323b4158fdeeee1671ec8504f20f863f2957089f
[ "MIT" ]
null
null
null
deformable/RigidBody.cpp
Spiros-Dimitriou/deformable-objects
323b4158fdeeee1671ec8504f20f863f2957089f
[ "MIT" ]
null
null
null
#include "RigidBody.h" #include <vector> #include <functional> #include <map> using namespace glm; RigidBody::RigidBody() { m = 1; x = v = P = vec3(0, 0, 0); } RigidBody::~RigidBody() { } std::vector<float> RigidBody::getY() { std::vector<float> state(STATES); int k = 0; state[k++] = x.x; s...
22.206897
92
0.496894
Spiros-Dimitriou
09014114551666796320b199850892aeafcceb6d
4,564
cpp
C++
mqtt/testsuite/src/DecoderFixture.cpp
darvik80/rover-cpp
8da7b7f07efe7096843ae17536603277f55debea
[ "Apache-2.0" ]
2
2020-01-13T07:32:50.000Z
2020-03-03T14:32:25.000Z
mqtt/testsuite/src/DecoderFixture.cpp
darvik80/rover-cpp
8da7b7f07efe7096843ae17536603277f55debea
[ "Apache-2.0" ]
16
2019-06-16T05:51:02.000Z
2020-02-03T01:59:23.000Z
mqtt/testsuite/src/DecoderFixture.cpp
darvik80/rover-cpp
8da7b7f07efe7096843ae17536603277f55debea
[ "Apache-2.0" ]
1
2020-03-03T14:32:27.000Z
2020-03-03T14:32:27.000Z
// // Created by Kishchenko, Ivan on 9/16/20. // #include "DecoderFixture.h" using namespace mqtt; using namespace mqtt::message; BOOST_FIXTURE_TEST_SUITE(DecoderTest, DecoderFixture) BOOST_AUTO_TEST_CASE(decodeConnect) { uint8_t packet[] = { 0x10, 0x25, 0x00, 0x06, 0x4d, 0x51, 0x49, 0x7...
36.222222
84
0.608019
darvik80
090357769fd269f6c2ed5c8f342cf391fbe43620
4,820
cpp
C++
hstream-store/cbits/hs_logdevice.cpp
s12f/hstream
3709d280cbb372994c5c4d8fbb299ccfe41abfb6
[ "BSD-3-Clause" ]
485
2020-09-08T10:53:12.000Z
2022-03-31T09:00:20.000Z
hstream-store/cbits/hs_logdevice.cpp
s12f/hstream
3709d280cbb372994c5c4d8fbb299ccfe41abfb6
[ "BSD-3-Clause" ]
165
2020-09-08T10:16:46.000Z
2022-03-31T10:21:01.000Z
hstream-store/cbits/hs_logdevice.cpp
s12f/hstream
3709d280cbb372994c5c4d8fbb299ccfe41abfb6
[ "BSD-3-Clause" ]
71
2020-09-01T06:19:20.000Z
2022-03-02T02:10:39.000Z
#include "hs_logdevice.h" extern "C" { // ---------------------------------------------------------------------------- void set_dbg_level(c_logdevice_dbg_level level) { facebook::logdevice::dbg::currentLevel = facebook::logdevice::dbg::Level(level); } int dbg_use_fd(int fd) { return facebook::logdevice::dbg:...
34.428571
79
0.604357
s12f
090653cbfcc019f598f29ce9f069f6c539028076
2,105
hpp
C++
SDK/ARKSurvivalEvolved_Shapeshifter_Large_Character_BP_Summoned_parameters.hpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
10
2020-02-17T19:08:46.000Z
2021-07-31T11:07:19.000Z
SDK/ARKSurvivalEvolved_Shapeshifter_Large_Character_BP_Summoned_parameters.hpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
9
2020-02-17T18:15:41.000Z
2021-06-06T19:17:34.000Z
SDK/ARKSurvivalEvolved_Shapeshifter_Large_Character_BP_Summoned_parameters.hpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
3
2020-07-22T17:42:07.000Z
2021-06-19T17:16:13.000Z
#pragma once // ARKSurvivalEvolved (329.9) SDK #ifdef _MSC_VER #pragma pack(push, 0x8) #endif #include "ARKSurvivalEvolved_Shapeshifter_Large_Character_BP_Summoned_classes.hpp" namespace sdk { //--------------------------------------------------------------------------- //Parameters //-----------------------------...
41.27451
157
0.667933
2bite
090c10248c65ba3dc0f30d9eb526f278a827f802
3,230
hpp
C++
libraries/vulkan_renderer/public/VulkanModelPipeline.hpp
jcelerier/scop_vulkan
9b91c0ccd5027c9641ccacfb5043bb1bc2f51ad0
[ "MIT" ]
132
2021-04-04T21:19:46.000Z
2022-03-13T13:47:00.000Z
libraries/vulkan_renderer/public/VulkanModelPipeline.hpp
jcelerier/scop_vulkan
9b91c0ccd5027c9641ccacfb5043bb1bc2f51ad0
[ "MIT" ]
null
null
null
libraries/vulkan_renderer/public/VulkanModelPipeline.hpp
jcelerier/scop_vulkan
9b91c0ccd5027c9641ccacfb5043bb1bc2f51ad0
[ "MIT" ]
7
2021-04-04T21:19:48.000Z
2021-04-09T09:16:34.000Z
#ifndef SCOP_VULKAN_VULKANMODELPIPELINE_HPP #define SCOP_VULKAN_VULKANMODELPIPELINE_HPP #include <vector> #include <unordered_map> #include <vulkan/vulkan.h> #include "glm/glm.hpp" #include "Model.hpp" #include "VulkanInstance.hpp" #include "VulkanSwapChain.hpp" #include "VulkanModelRenderPass.hpp" #include "Vulkan...
36.292135
79
0.711146
jcelerier
0912f0668c2a8b124bbb6397c65bebaaa3773ba3
1,157
cpp
C++
tests/gtests/test_param_init_vector.cpp
johnrsibert/admb
063ec863a9f23f6c6afbc7d481af0476b8d63645
[ "BSD-3-Clause" ]
null
null
null
tests/gtests/test_param_init_vector.cpp
johnrsibert/admb
063ec863a9f23f6c6afbc7d481af0476b8d63645
[ "BSD-3-Clause" ]
null
null
null
tests/gtests/test_param_init_vector.cpp
johnrsibert/admb
063ec863a9f23f6c6afbc7d481af0476b8d63645
[ "BSD-3-Clause" ]
null
null
null
#include <gtest/gtest.h> #include <admodel.h> #include <climits> class test_param_init_vector: public ::testing::Test {}; TEST_F(test_param_init_vector, constructor) { param_init_vector p; ASSERT_EQ(0, p.indexmin()); ASSERT_EQ(-1, p.indexmax()); } TEST_F(test_param_init_vector, allocate_phase_start) { gradien...
21.036364
61
0.662921
johnrsibert
091317495b44f550ff8775678c9a5ff2916f9fd6
319
cpp
C++
src/main/sos_odeint.cpp
Tomaqa/sos
1f6bff67cc0b130f7bd61d8a36964a259108914b
[ "MIT" ]
null
null
null
src/main/sos_odeint.cpp
Tomaqa/sos
1f6bff67cc0b130f7bd61d8a36964a259108914b
[ "MIT" ]
null
null
null
src/main/sos_odeint.cpp
Tomaqa/sos
1f6bff67cc0b130f7bd61d8a36964a259108914b
[ "MIT" ]
1
2019-11-24T23:36:10.000Z
2019-11-24T23:36:10.000Z
#include "solver/run.hpp" #include "ode/odeint.hpp" #ifdef PROFILE #include <omp.h> double wall_time; double check_sat_time = 0; double other_smt_time = 0; double ode_time = 0; #endif //< PROFILE using namespace SOS; int main(int argc, const char* argv[]) { return Solver<ODE::Odeint>::Run(argc, argv).run(); }
16.789474
54
0.702194
Tomaqa
091592027d5aab9532316cc773468fc7e0772586
1,307
cpp
C++
src/ngengine/network/connection/tcp/server/server.cpp
nativgames/ngengine-network
3816a42bcb766c95578dcfe998b112b7a23f50a7
[ "MIT" ]
null
null
null
src/ngengine/network/connection/tcp/server/server.cpp
nativgames/ngengine-network
3816a42bcb766c95578dcfe998b112b7a23f50a7
[ "MIT" ]
null
null
null
src/ngengine/network/connection/tcp/server/server.cpp
nativgames/ngengine-network
3816a42bcb766c95578dcfe998b112b7a23f50a7
[ "MIT" ]
null
null
null
#include <ngengine/network/connection/tcp/server/server.h> #include <string.h> #include <stdlib.h> #include <stdio.h> #include <unistd.h> using namespace nge::network; using namespace nge::network::connection::tcp::server; Server::Server(unsigned short port) { _port = port; memset(&_sockaddr, 0, sizeof(_sockaddr...
21.080645
86
0.65264
nativgames
09169361c7b840d2e6435f08f693456d705a5c1e
677
hpp
C++
include/RED4ext/Types/generated/game/SceneTier2Data.hpp
Cyberpunk-Extended-Development-Team/RED4ext.SDK
2dc828c761d87a1b4235ce9ca4fbdf9fb4312fae
[ "MIT" ]
1
2021-02-01T23:07:50.000Z
2021-02-01T23:07:50.000Z
include/RED4ext/Types/generated/game/SceneTier2Data.hpp
Cyberpunk-Extended-Development-Team/RED4ext.SDK
2dc828c761d87a1b4235ce9ca4fbdf9fb4312fae
[ "MIT" ]
null
null
null
include/RED4ext/Types/generated/game/SceneTier2Data.hpp
Cyberpunk-Extended-Development-Team/RED4ext.SDK
2dc828c761d87a1b4235ce9ca4fbdf9fb4312fae
[ "MIT" ]
null
null
null
#pragma once // This file is generated from the Game's Reflection data #include <cstdint> #include <RED4ext/Common.hpp> #include <RED4ext/REDhash.hpp> #include <RED4ext/Types/generated/Tier2WalkType.hpp> #include <RED4ext/Types/generated/game/SceneTierData.hpp> namespace RED4ext { namespace game { struct SceneTier2...
26.038462
61
0.754801
Cyberpunk-Extended-Development-Team
09178d4f0447e5e74eec69323b2bc596c88dcd04
51,509
cpp
C++
src/burn/drv/psikyo/d_psikyosh.cpp
tt-arcade/fba-pi
10407847a98f0d315b05e44f0ecf01824f4558aa
[ "Apache-2.0" ]
null
null
null
src/burn/drv/psikyo/d_psikyosh.cpp
tt-arcade/fba-pi
10407847a98f0d315b05e44f0ecf01824f4558aa
[ "Apache-2.0" ]
null
null
null
src/burn/drv/psikyo/d_psikyosh.cpp
tt-arcade/fba-pi
10407847a98f0d315b05e44f0ecf01824f4558aa
[ "Apache-2.0" ]
null
null
null
// FB Alpha Psikyo Sh2-based hardware driver module // Based on MAME driver by David Haywood // To do! // implement background zooming update. #include "tiles_generic.h" #include "psikyosh_render.h" #include "burn_ymf278b.h" #include "eeprom.h" #include "sh2_intf.h" static UINT8 *AllMem; static UINT8 *MemEnd; stati...
32.072852
93
0.638102
tt-arcade
091c07a243e5a5587bc6eaed98d71289861b703b
7,392
cpp
C++
chapter13/ch13_tools.cpp
ClassAteam/stroustrup-ppp
ea9e85d4ea9890038eb5611c3bc82734c8706ce7
[ "MIT" ]
124
2018-06-23T10:16:56.000Z
2022-03-19T15:16:12.000Z
chapter13/ch13_tools.cpp
therootfolder/stroustrup-ppp
b1e936c9a67b9205fdc9712c42496b45200514e2
[ "MIT" ]
23
2018-02-08T20:57:46.000Z
2021-10-08T13:58:29.000Z
chapter13/ch13_tools.cpp
ClassAteam/stroustrup-ppp
ea9e85d4ea9890038eb5611c3bc82734c8706ce7
[ "MIT" ]
65
2019-05-27T03:05:56.000Z
2022-03-26T03:43:05.000Z
#include "./ch13_tools.h" #include <iostream> using namespace Graph_lib; // Ex 1 - Arc Arc::Arc(Point p, int rr, double s, double e) : r{rr}, start{s}, end{e} { add(Point{p.x-r, p.y-r}); } void Arc::draw_lines() const { if (color().visibility()) fl_arc(point(0).x, point(0).y, r+r, r+r, start, en...
21.12
77
0.524351
ClassAteam
0926b78b9af239882d05516c3ea673ce511182d0
911
cpp
C++
src/minesweeper/test.cpp
schien/practices
b248813e51314095c21cf9dc6193d0e1e48550d3
[ "MIT" ]
null
null
null
src/minesweeper/test.cpp
schien/practices
b248813e51314095c21cf9dc6193d0e1e48550d3
[ "MIT" ]
null
null
null
src/minesweeper/test.cpp
schien/practices
b248813e51314095c21cf9dc6193d0e1e48550d3
[ "MIT" ]
null
null
null
#include "gtest/gtest.h" #include "solution.cpp" namespace { TEST(MinesweeperTest, small) { Solution solution; vector<string> input { "*...", "....", ".*..", "....", }; solution.resolveField(input); vector<string> expect { "*100", "2210", "1*10", "1110", }; EXPECT_EQ(ex...
12.146667
31
0.385291
schien
092b38cb845d3adec1a79b2b890916dc09e4cc04
12,359
hpp
C++
include/Library/Core/FileSystem/PermissionSet.hpp
cowlicks/library-core
9a872ab7aa6bc4aba22734705b72dc22ea35ee77
[ "Apache-2.0" ]
null
null
null
include/Library/Core/FileSystem/PermissionSet.hpp
cowlicks/library-core
9a872ab7aa6bc4aba22734705b72dc22ea35ee77
[ "Apache-2.0" ]
null
null
null
include/Library/Core/FileSystem/PermissionSet.hpp
cowlicks/library-core
9a872ab7aa6bc4aba22734705b72dc22ea35ee77
[ "Apache-2.0" ]
1
2020-12-01T14:50:50.000Z
2020-12-01T14:50:50.000Z
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// /// @project Library ▸ Core /// @file Library/Core/FileSystem/PermissionSet.hpp /// @author Lucas Brémond <lucas@loftorbital.com>...
42.325342
170
0.329315
cowlicks
092dde6da88f4f94f9b9a973c06118be809d0528
3,770
cpp
C++
test/network/udp_stream_test.cpp
mogemimi/pomdog
6dc6244d018f70d42e61c6118535cf94a9ee0618
[ "MIT" ]
163
2015-03-16T08:42:32.000Z
2022-01-11T21:40:22.000Z
test/network/udp_stream_test.cpp
mogemimi/pomdog
6dc6244d018f70d42e61c6118535cf94a9ee0618
[ "MIT" ]
17
2015-04-12T20:57:50.000Z
2020-10-10T10:51:45.000Z
test/network/udp_stream_test.cpp
mogemimi/pomdog
6dc6244d018f70d42e61c6118535cf94a9ee0618
[ "MIT" ]
21
2015-04-12T20:45:11.000Z
2022-01-14T20:50:16.000Z
// Copyright mogemimi. Distributed under the MIT license. #include "executor.hpp" #include "pomdog/chrono/game_clock.hpp" #include "pomdog/network/array_view.hpp" #include "pomdog/network/io_service.hpp" #include "pomdog/network/udp_stream.hpp" #include "pomdog/signals/connection_list.hpp" #include "pomdog/utility/err...
32.782609
135
0.615119
mogemimi
092df553904bcb018efcd625943ae90cc301bc6e
9,149
cpp
C++
src/cooldowns.cpp
Nakeib/RonClient
9e816c580ec2a6f1b15fdefd8e15ad62647ca29f
[ "MIT" ]
11
2020-11-07T19:35:24.000Z
2021-08-19T12:25:27.000Z
src/cooldowns.cpp
Nakeib/RonClient
9e816c580ec2a6f1b15fdefd8e15ad62647ca29f
[ "MIT" ]
null
null
null
src/cooldowns.cpp
Nakeib/RonClient
9e816c580ec2a6f1b15fdefd8e15ad62647ca29f
[ "MIT" ]
5
2020-11-06T20:52:11.000Z
2021-02-25T11:02:31.000Z
/* -------------------------------------------------------------------------- */ /* ------------- RonClient --- Oficial client for RonOTS servers ------------ */ /* -------------------------------------------------------------------------- */ #include "cooldowns.h" #include "allocator.h" #include "icons.h" #include "...
23.763636
83
0.702918
Nakeib
09301c62bb7d7183ddfcb99d19e9a595c366726a
5,330
cpp
C++
examples/benchgates.cpp
wh5a/intel-qs
b625e1fb09c5aa3c146cb7129a2a29cdb6ff186a
[ "Apache-2.0" ]
1
2021-04-15T11:41:57.000Z
2021-04-15T11:41:57.000Z
examples/benchgates.cpp
wh5a/intel-qs
b625e1fb09c5aa3c146cb7129a2a29cdb6ff186a
[ "Apache-2.0" ]
null
null
null
examples/benchgates.cpp
wh5a/intel-qs
b625e1fb09c5aa3c146cb7129a2a29cdb6ff186a
[ "Apache-2.0" ]
null
null
null
//------------------------------------------------------------------------------ // Copyright (C) 2017 Intel Corporation // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www....
30.457143
109
0.522889
wh5a
0932c37080b79657bd39018dc0bf8cb587fe3022
2,331
cpp
C++
018.cpp
zawa-tin/practice90
cbd3378920958727df6ccbf4f1b5f116f0e2ad24
[ "MIT" ]
null
null
null
018.cpp
zawa-tin/practice90
cbd3378920958727df6ccbf4f1b5f116f0e2ad24
[ "MIT" ]
null
null
null
018.cpp
zawa-tin/practice90
cbd3378920958727df6ccbf4f1b5f116f0e2ad24
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> // clang-format off // 018 using namespace std; #define all(a) a.begin(), a.end() #define int long long #define over_load_(_1, _2, _3, _4, NAME, ...) NAME #define rep(...) over_load_(__VA_ARGS__, rep4, rep3, rep2)(__VA_ARGS__) #define rep2(i, r) for (int i = 0; i < static_cast<int>(r); (i) +...
31.08
111
0.564565
zawa-tin
094bcfa33699c472e4c557c59ff655f0b5114310
6,145
cpp
C++
D3D9 ESP/D3D9 ESP/dllmain.cpp
vlodapostol/gh-tutorials
ce288da4f17e9260795ee6d84b84822ce617a802
[ "MIT" ]
1
2021-09-01T09:50:34.000Z
2021-09-01T09:50:34.000Z
D3D9 ESP/D3D9 ESP/dllmain.cpp
vlodapostol/gh-tutorials
ce288da4f17e9260795ee6d84b84822ce617a802
[ "MIT" ]
null
null
null
D3D9 ESP/D3D9 ESP/dllmain.cpp
vlodapostol/gh-tutorials
ce288da4f17e9260795ee6d84b84822ce617a802
[ "MIT" ]
null
null
null
#include "includes.h" #include <sstream> #include <string.h> //data void* d3d9Device[119]; BYTE EndSceneBytes[7]{ 0 }; tEndScene originalEndScene = nullptr; extern LPDIRECT3DDEVICE9 pDevice = nullptr; Hack* hack; //hook function void APIENTRY hkEndScene(LPDIRECT3DDEVICE9 o_pDevice) { if (!pDevice) { pDevice = o_p...
29.830097
115
0.663141
vlodapostol
0953a204d5fca02faea459b9e5c919d7ff0ecabc
13,990
cpp
C++
mainwindow.cpp
dnalorp/Tachyon-IDE
21f446bfcf458214777286ab6c12ac5b56712209
[ "MIT" ]
1
2021-07-04T14:17:52.000Z
2021-07-04T14:17:52.000Z
mainwindow.cpp
dnalorp/Tachyon-IDE
21f446bfcf458214777286ab6c12ac5b56712209
[ "MIT" ]
3
2017-10-18T06:32:58.000Z
2021-09-24T02:36:42.000Z
mainwindow.cpp
dnalorp/Tachyon-IDE
21f446bfcf458214777286ab6c12ac5b56712209
[ "MIT" ]
2
2021-06-02T19:55:31.000Z
2021-06-06T08:46:50.000Z
// ****************************************************** // * copyright (C) 2017 by Reinhardt Behm/rbehm@hushmail.com // * All Rights reserved // * created 1/24/2017 by behm // ****************************************************** #include "mainwindow.h" #include "config.h" #include "toolbarspacer.h" #include "inter...
27.868526
132
0.675911
dnalorp
09545d1356da4c6085f385e478148d161caf959b
9,069
cpp
C++
src/pdf/SkPDFGraphicState.cpp
Igalia/skia
db873d8677a2d4ecfe38a794a5d868301bdeeabe
[ "BSD-3-Clause" ]
2
2019-05-09T17:06:47.000Z
2020-07-06T16:14:13.000Z
src/pdf/SkPDFGraphicState.cpp
Igalia/skia
db873d8677a2d4ecfe38a794a5d868301bdeeabe
[ "BSD-3-Clause" ]
null
null
null
src/pdf/SkPDFGraphicState.cpp
Igalia/skia
db873d8677a2d4ecfe38a794a5d868301bdeeabe
[ "BSD-3-Clause" ]
3
2015-03-13T14:30:30.000Z
2020-07-06T16:13:36.000Z
/* * Copyright 2011 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "SkData.h" #include "SkLazyPtr.h" #include "SkPDFCanon.h" #include "SkPDFFormXObject.h" #include "SkPDFGraphicState.h" #include "SkPDFUtils.h" #include "SkTypes.h" s...
35.84585
80
0.666446
Igalia
095c6ca840eac3279d10a8aa7a4e4951850dc200
5,920
cpp
C++
src/fred2/shipspecialdamage.cpp
ptitSeb/freespace2
500ee249f7033aac9b389436b1737a404277259c
[ "Linux-OpenIB" ]
1
2020-07-14T07:29:18.000Z
2020-07-14T07:29:18.000Z
src/fred2/shipspecialdamage.cpp
ptitSeb/freespace2
500ee249f7033aac9b389436b1737a404277259c
[ "Linux-OpenIB" ]
2
2019-01-01T22:35:56.000Z
2022-03-14T07:34:00.000Z
src/fred2/shipspecialdamage.cpp
ptitSeb/freespace2
500ee249f7033aac9b389436b1737a404277259c
[ "Linux-OpenIB" ]
2
2021-03-07T11:40:42.000Z
2021-12-26T21:40:39.000Z
/* * Copyright (C) Volition, Inc. 1999. All rights reserved. * * All source code herein is the property of Volition, Inc. You may not sell * or otherwise commercially exploit the source or things you created based on * the source. */ // ShipSpecialDamage.cpp : implementation file // #include "stdafx.h" #inclu...
27.663551
140
0.716554
ptitSeb
095ced2fd1bc3d2eff550b37346106e023e5eba2
332
cpp
C++
path_control/src/controller_node.cpp
sunarditay/gerona
7ca6bb169571d498c4a2d627faddc8cbe590d2c9
[ "BSD-3-Clause" ]
296
2017-06-19T07:06:58.000Z
2022-03-09T01:27:44.000Z
path_control/src/controller_node.cpp
sunarditay/gerona
7ca6bb169571d498c4a2d627faddc8cbe590d2c9
[ "BSD-3-Clause" ]
29
2017-11-07T08:49:12.000Z
2021-09-21T22:18:28.000Z
path_control/src/controller_node.cpp
sunarditay/gerona
7ca6bb169571d498c4a2d627faddc8cbe590d2c9
[ "BSD-3-Clause" ]
117
2017-05-30T10:50:36.000Z
2022-03-09T01:27:23.000Z
#include <ros/ros.h> #include "pathcontroller.h" int main(int argc, char** argv) { ros::init(argc, argv, "path_control_node", ros::init_options::NoSigintHandler); ros::NodeHandle nh; PathController pc(nh); ros::Rate r(60); while(ros::ok()) { ros::spinOnce(); r.sleep(); } r...
18.444444
83
0.593373
sunarditay
095da79c6ac4119461a4de6bfa9c12d58a722415
3,684
cpp
C++
src/test_problems/sod/exact_sod.cpp
srinivasyadav18/octotiger
4d93c50fe345a081b7985ecb4cb698d16c121565
[ "BSL-1.0" ]
35
2016-11-17T22:35:11.000Z
2022-01-24T19:07:36.000Z
src/test_problems/sod/exact_sod.cpp
srinivasyadav18/octotiger
4d93c50fe345a081b7985ecb4cb698d16c121565
[ "BSL-1.0" ]
123
2016-11-17T21:29:25.000Z
2022-03-03T21:40:04.000Z
src/test_problems/sod/exact_sod.cpp
srinivasyadav18/octotiger
4d93c50fe345a081b7985ecb4cb698d16c121565
[ "BSL-1.0" ]
10
2018-11-28T18:17:42.000Z
2022-01-25T12:52:37.000Z
// Copyright (c) 2019 AUTHORS // // 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) /**************************************************************************************************************/ /* This C code wa...
27.288889
112
0.457112
srinivasyadav18
096051363a6c00c18483dcb09cf1067f673de530
829
cpp
C++
sources/cards/creatures/greens/Giant.cpp
angeluriot/Magic_royal
a337ce4ad6c3215bbdec8c376d6e88fe97f48f94
[ "MIT" ]
1
2022-02-02T21:41:59.000Z
2022-02-02T21:41:59.000Z
sources/cards/creatures/greens/Giant.cpp
angeluriot/Magic_royal
a337ce4ad6c3215bbdec8c376d6e88fe97f48f94
[ "MIT" ]
null
null
null
sources/cards/creatures/greens/Giant.cpp
angeluriot/Magic_royal
a337ce4ad6c3215bbdec8c376d6e88fe97f48f94
[ "MIT" ]
2
2022-02-01T12:59:57.000Z
2022-03-05T12:50:27.000Z
#include "cards/creatures/greens/Giant.hpp" Giant::Giant(): Creature(get_full_power(), get_full_toughness(), get_capacities()) {} Giant::~Giant() {} std::string Giant::get_full_type() const { return Creature::get_full_type() + " - Giant"; } Card::Color Giant::get_color() const { return Color::Green; } std::strin...
14.293103
85
0.674306
angeluriot
823225ca114b09bb956d4253dc08f365f2c7645d
170
cpp
C++
examples/register/main.cpp
andi-makes/ZeroOverheadCPP
31c0d774a5ee700b5223f4092cd8b00046ab3765
[ "MIT" ]
2
2020-10-05T08:37:09.000Z
2020-12-20T19:59:38.000Z
examples/register/main.cpp
DragonCoder01/ZeroOverheadCPP
31c0d774a5ee700b5223f4092cd8b00046ab3765
[ "MIT" ]
null
null
null
examples/register/main.cpp
DragonCoder01/ZeroOverheadCPP
31c0d774a5ee700b5223f4092cd8b00046ab3765
[ "MIT" ]
null
null
null
#include "zol.h" #include <util/delay.h> void setup() { Register<uint8_t, 0x24>::set_bit(5); } void loop() { Register<uint8_t, 0x23>::set_bit(5); _delay_ms(500); }
13.076923
37
0.652941
andi-makes
8232e2656702db78b15d88bf3f3fb27846fb1d91
797
hpp
C++
win32/thread.hpp
afmenez/xfspp
202c8b819d6fe9e1a669f6042e9724ad7415cedd
[ "MIT" ]
25
2017-03-30T04:58:10.000Z
2022-01-26T22:34:03.000Z
win32/thread.hpp
afmenez/xfspp
202c8b819d6fe9e1a669f6042e9724ad7415cedd
[ "MIT" ]
4
2019-08-26T06:14:47.000Z
2022-02-23T18:48:11.000Z
win32/thread.hpp
afmenez/xfspp
202c8b819d6fe9e1a669f6042e9724ad7415cedd
[ "MIT" ]
10
2017-04-10T09:52:58.000Z
2021-09-30T13:42:22.000Z
/* win32/thread.hpp * * Copyright (C) 2007 Antonio Di Monaco * * This software may be modified and distributed under the terms * of the MIT license. See the LICENSE file for details. */ #pragma once #ifndef __WIN32_THREAD_HPP__ #define __WIN32_THREAD_HPP__ #include <functional> #include <exception> #include "...
17.711111
64
0.675031
afmenez
82337fea25522a96bd0ac93e18351ed0c1117bdc
5,176
cpp
C++
Code/Tools/Animation/GraphEditor/EditorGraph/Nodes/Animation_EditorGraphNode_ConstValues.cpp
JuanluMorales/KRG
f3a11de469586a4ef0db835af4bc4589e6b70779
[ "MIT" ]
419
2022-01-27T19:37:43.000Z
2022-03-31T06:14:22.000Z
Code/Tools/Animation/GraphEditor/EditorGraph/Nodes/Animation_EditorGraphNode_ConstValues.cpp
jagt/KRG
ba20cd8798997b0450491b0cc04dc817c4a4bc76
[ "MIT" ]
2
2022-01-28T20:35:33.000Z
2022-03-13T17:42:52.000Z
Code/Tools/Animation/GraphEditor/EditorGraph/Nodes/Animation_EditorGraphNode_ConstValues.cpp
jagt/KRG
ba20cd8798997b0450491b0cc04dc817c4a4bc76
[ "MIT" ]
20
2022-01-27T20:41:02.000Z
2022-03-26T16:16:57.000Z
#include "Animation_EditorGraphNode_ConstValues.h" #include "Engine/Animation/Graph/Nodes/Animation_RuntimeGraphNode_ConstValues.h" #include "Tools/Animation/GraphEditor/EditorGraph/Animation_EditorGraph_Compilation.h" //------------------------------------------------------------------------- namespace KRG::Animatio...
35.696552
112
0.606839
JuanluMorales
82368672a2e943612a60af14accc8b048cc27db2
1,574
cpp
C++
src/mongo/s/default_version.cpp
sayfullah/MongoPi
8205c77e634a2db210938ae97dbe09fdaaa43736
[ "Apache-2.0" ]
5
2015-02-02T04:51:58.000Z
2019-01-22T03:01:38.000Z
src/mongo/s/default_version.cpp
sayfullah/MongoPi
8205c77e634a2db210938ae97dbe09fdaaa43736
[ "Apache-2.0" ]
null
null
null
src/mongo/s/default_version.cpp
sayfullah/MongoPi
8205c77e634a2db210938ae97dbe09fdaaa43736
[ "Apache-2.0" ]
1
2021-02-28T12:03:02.000Z
2021-02-28T12:03:02.000Z
// @file default_version.cpp /** * Copyright (C) 2010 10gen Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License, version 3, * as published by the Free Software Foundation. * * This program is distributed in the hope...
29.698113
127
0.698221
sayfullah
823cbdb5c55235efddbdd3693fd650c920f9b9a6
3,766
cpp
C++
devinfo/redeviceinfo.cpp
N7DR/drantscope
bedb9cfa23d324313ffaa968a55bebafd48f905c
[ "MIT" ]
null
null
null
devinfo/redeviceinfo.cpp
N7DR/drantscope
bedb9cfa23d324313ffaa968a55bebafd48f905c
[ "MIT" ]
null
null
null
devinfo/redeviceinfo.cpp
N7DR/drantscope
bedb9cfa23d324313ffaa968a55bebafd48f905c
[ "MIT" ]
null
null
null
#include "redeviceinfo.h" const quint16 ReDeviceInfo::m_bootVid = 0x0483; const quint16 ReDeviceInfo::m_bootPid = 0xA1DA; const quint16 ReDeviceInfo::m_devVid = 0x0483; const quint16 ReDeviceInfo::m_devPid = 0xA1DE; ReDeviceInfo::ReDeviceInfo(): m_vid(0), m_pid(0) { } ReDeviceInfo::ReDeviceInfo(Interface...
19.312821
94
0.626394
N7DR
823ffbedb94abd65722bea7be81841880094f4bb
2,248
cpp
C++
src/GLKinectWidget.cpp
diegomazala/QtKinect
c51819980af92b857d87a417d19c5f01d8fada77
[ "MIT" ]
5
2016-08-04T14:14:11.000Z
2018-05-27T13:46:13.000Z
src/GLKinectWidget.cpp
diegomazala/QtKinect
c51819980af92b857d87a417d19c5f01d8fada77
[ "MIT" ]
null
null
null
src/GLKinectWidget.cpp
diegomazala/QtKinect
c51819980af92b857d87a417d19c5f01d8fada77
[ "MIT" ]
4
2015-12-08T06:22:46.000Z
2022-03-15T10:29:17.000Z
#include "GLKinectWidget.h" #include <QMouseEvent> #include <QTimer> #include <math.h> GLKinectWidget::GLKinectWidget(QWidget *parent) : QOpenGLTrackballWidget(parent) { QTimer* updateTimer = new QTimer(this); connect(updateTimer, SIGNAL(timeout()), this, SLOT(update())); updateTimer->start(33); } GLKinectWidg...
20.252252
98
0.699733
diegomazala
824126c907a7827b0b42420e8037e2eac7093f72
1,362
cpp
C++
graph/cut_point.cpp
MottoX/CP-STL
96465b8804b4913ceff5dbdfb2dee87ec26782f7
[ "MIT" ]
null
null
null
graph/cut_point.cpp
MottoX/CP-STL
96465b8804b4913ceff5dbdfb2dee87ec26782f7
[ "MIT" ]
null
null
null
graph/cut_point.cpp
MottoX/CP-STL
96465b8804b4913ceff5dbdfb2dee87ec26782f7
[ "MIT" ]
null
null
null
const int N = 5111; const int M = 1000010; struct Edge { int to, next; Edge() {} Edge(int _to, int _nxt) : to(_to), next(_nxt) {} } edge[M]; int idx = 1, head[N]; void addEdge(int u, int v) { edge[++idx] = Edge(v, head[u]); head[u] = idx; edge[++idx] = Edge(u, head[v]); head[v] = idx; }...
22.327869
74
0.431718
MottoX
82420efdb8bf3fc8a94a404edd9a7d6dddcb2c62
4,718
hpp
C++
include/core/ShaderProgram.hpp
Guarneri1743/SoftRasterizer
d7a7344e43d91ce575724cc1d121551e6008dc01
[ "MIT" ]
4
2020-12-14T10:58:35.000Z
2020-12-14T16:38:18.000Z
include/core/ShaderProgram.hpp
J-Mat/CPU-Rasterizer
d7a7344e43d91ce575724cc1d121551e6008dc01
[ "MIT" ]
null
null
null
include/core/ShaderProgram.hpp
J-Mat/CPU-Rasterizer
d7a7344e43d91ce575724cc1d121551e6008dc01
[ "MIT" ]
null
null
null
#pragma once #include <string> #include "Singleton.hpp" #include "GlobalShaderParams.hpp" #include "Light.hpp" #include "tinymath.h" #include "Texture.hpp" #include "ShaderPropertyMap.hpp" #include "RasterAttributes.hpp" #undef near #undef far namespace CpuRasterizer { static tinymath::Color mip_colors[kMaxMip] = {...
26.806818
105
0.715557
Guarneri1743
8243c008b8acfd00092fd54e4933304daab3fb3e
24,499
cpp
C++
sparse/src/magma_s_precond_wrapper.cpp
klast/magma
cfb849621be6f697288e995831ec3c9e84530d9d
[ "BSD-3-Clause" ]
4
2020-12-04T13:31:18.000Z
2021-12-10T11:41:23.000Z
sparse/src/magma_s_precond_wrapper.cpp
klast/magma
cfb849621be6f697288e995831ec3c9e84530d9d
[ "BSD-3-Clause" ]
1
2021-03-27T20:00:25.000Z
2021-03-28T06:19:59.000Z
sparse/src/magma_s_precond_wrapper.cpp
klast/magma
cfb849621be6f697288e995831ec3c9e84530d9d
[ "BSD-3-Clause" ]
2
2020-12-04T13:23:36.000Z
2021-03-27T00:50:27.000Z
/* -- MAGMA (version 2.5.4) -- Univ. of Tennessee, Knoxville Univ. of California, Berkeley Univ. of Colorado, Denver @date October 2020 @generated from sparse/src/magma_z_precond_wrapper.cpp, normal z -> s, Thu Oct 8 23:05:56 2020 @author Hartwig Anzt */ #include "magmas...
34.948645
102
0.540267
klast
824a9d9b0c8a8e829b8308e17d13638e8a0adc24
3,460
hpp
C++
math/rectangle.hpp
reverendhomer/OpenGTA
addd5e219314c32ecd7103a66f5dc4f5a6324182
[ "MIT" ]
32
2016-11-11T13:11:53.000Z
2022-03-10T22:45:43.000Z
math/rectangle.hpp
reverendhomer/OpenGTA
addd5e219314c32ecd7103a66f5dc4f5a6324182
[ "MIT" ]
1
2021-06-02T20:36:23.000Z
2021-06-15T12:35:56.000Z
math/rectangle.hpp
reverendhomer/OpenGTA
addd5e219314c32ecd7103a66f5dc4f5a6324182
[ "MIT" ]
7
2018-09-18T12:27:56.000Z
2022-02-05T00:00:28.000Z
#ifndef RECTANGLE_2D_H #define RECTANGLE_2D_H #include <list> namespace Math { template <typename U> struct Rectangle { U x; U y; U w; U h; Rectangle() : x(0), y(0), w(0), h(0) {} Rectangle(U _x, U _y, U _w, U _h) : x(_x), y(_y), w(_w), h(_h) {} Rectangle(const Rectangle<U> & o...
31.743119
86
0.571387
reverendhomer
824e6413462877d16f53eca33c0dd84afa8cd018
502
cpp
C++
codeforces/contests/4/A.cpp
wingkwong/competitive-programming
e8bf7aa32e87b3a020b63acac20e740728764649
[ "MIT" ]
18
2020-08-27T05:27:50.000Z
2022-03-08T02:56:48.000Z
codeforces/contests/4/A.cpp
wingkwong/competitive-programming
e8bf7aa32e87b3a020b63acac20e740728764649
[ "MIT" ]
null
null
null
codeforces/contests/4/A.cpp
wingkwong/competitive-programming
e8bf7aa32e87b3a020b63acac20e740728764649
[ "MIT" ]
1
2020-10-13T05:23:58.000Z
2020-10-13T05:23:58.000Z
/* Codeforces Beta Round #4 (Div. 2 Only) - A. Watermelon https://codeforces.com/problemset/problem/4/A */ #include <bits/stdc++.h> using namespace std; #define FAST_INP ios_base::sync_with_stdio(false);cin.tie(NULL) int main() { FAST_INP; int w; cin >> w; // Print YES, if the boys can divide the...
23.904762
79
0.641434
wingkwong
824e7e3e68ca1ea31c9446355664699eeae4f0ce
4,006
hpp
C++
src/gui/rendering/GLStars.hpp
ddj116/gmat
39673be967d856f14616462fb6473b27b21b149f
[ "NASA-1.3" ]
1
2020-05-16T16:58:21.000Z
2020-05-16T16:58:21.000Z
src/gui/rendering/GLStars.hpp
ddj116/gmat
39673be967d856f14616462fb6473b27b21b149f
[ "NASA-1.3" ]
null
null
null
src/gui/rendering/GLStars.hpp
ddj116/gmat
39673be967d856f14616462fb6473b27b21b149f
[ "NASA-1.3" ]
null
null
null
//$Id$ //------------------------------------------------------------------------------ // Stars.hpp //------------------------------------------------------------------------------ // GMAT: General Mission Analysis Tool // // Copyright (c) 2002-2011 United States Government as represented ...
42.168421
140
0.568897
ddj116
825376e16f320e1c33089d9d1ef42540e6d9fb24
366
cpp
C++
engine/src/graphics/renderer.cpp
jodelahithit/Diamond
d4620b7c38e4639acf06f6aa9ca692bbd22c0a28
[ "Apache-2.0" ]
null
null
null
engine/src/graphics/renderer.cpp
jodelahithit/Diamond
d4620b7c38e4639acf06f6aa9ca692bbd22c0a28
[ "Apache-2.0" ]
null
null
null
engine/src/graphics/renderer.cpp
jodelahithit/Diamond
d4620b7c38e4639acf06f6aa9ca692bbd22c0a28
[ "Apache-2.0" ]
null
null
null
#include "stdafx.h" #include "renderer.h" void Diamond::Renderer::initialize() { } void Diamond::Renderer::cleanup() { } void Diamond::Renderer::beginFrame() { } void Diamond::Renderer::endFrame() { } void Diamond::Renderer::beginRenderpass(Renderpass* renderpass) { } void Diamond::Renderer::endRenderpass() ...
11.806452
65
0.693989
jodelahithit
8258765da4ffab10646cc0d42dddea8e2317b656
1,150
hpp
C++
kernel/include/text_console.hpp
ArdenyUser/ArdenWareOS
e09261093ba469d2291554c026037351bba28ab0
[ "MIT" ]
1,574
2015-01-15T16:35:30.000Z
2022-03-29T07:27:49.000Z
kernel/include/text_console.hpp
bgwilf/thor-os
2dc0fef72595598aff7e5f950809042104f29b48
[ "MIT" ]
43
2016-08-23T16:22:29.000Z
2022-03-09T10:28:05.000Z
kernel/include/text_console.hpp
bgwilf/thor-os
2dc0fef72595598aff7e5f950809042104f29b48
[ "MIT" ]
196
2016-02-17T10:52:24.000Z
2022-03-28T17:41:29.000Z
//======================================================================= // Copyright Baptiste Wicht 2013-2018. // Distributed under the terms of the MIT License. // (See accompanying file LICENSE or copy at // http://www.opensource.org/licenses/MIT) //=================================================================...
22.115385
73
0.533913
ArdenyUser
825df943630af5e758e809df2d955c1ae2c96d3a
1,382
cpp
C++
ui/controls/ray_visibility_control.cpp
ppearson/ImaginePartial
9871b052f2edeb023e2845578ad69c25c5baf7d2
[ "Apache-2.0" ]
1
2018-07-10T13:36:38.000Z
2018-07-10T13:36:38.000Z
ui/controls/ray_visibility_control.cpp
ppearson/ImaginePartial
9871b052f2edeb023e2845578ad69c25c5baf7d2
[ "Apache-2.0" ]
null
null
null
ui/controls/ray_visibility_control.cpp
ppearson/ImaginePartial
9871b052f2edeb023e2845578ad69c25c5baf7d2
[ "Apache-2.0" ]
null
null
null
/* Imagine Copyright 2013 Peter Pearson. 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...
24.678571
121
0.785818
ppearson
825e31ca21b98cc121dbb05bf18f2f45b7625bb3
1,416
hpp
C++
src/topfd/msreader/raw_ms_reader.hpp
toppic-suite/toppic-suite
b5f0851f437dde053ddc646f45f9f592c16503ec
[ "Apache-2.0" ]
8
2018-05-23T14:37:31.000Z
2022-02-04T23:48:38.000Z
src/topfd/msreader/raw_ms_reader.hpp
toppic-suite/toppic-suite
b5f0851f437dde053ddc646f45f9f592c16503ec
[ "Apache-2.0" ]
9
2019-08-31T08:17:45.000Z
2022-02-11T20:58:06.000Z
src/topfd/msreader/raw_ms_reader.hpp
toppic-suite/toppic-suite
b5f0851f437dde053ddc646f45f9f592c16503ec
[ "Apache-2.0" ]
4
2018-04-25T01:39:38.000Z
2020-05-20T19:25:07.000Z
//Copyright (c) 2014 - 2020, The Trustees of Indiana University. // //Licensed under the Apache License, Version 2.0 (the "License"); //you may not use this file except in compliance with the License. //You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // //Unless required by a...
28.32
77
0.759181
toppic-suite
8266d7fb90cab0ebbe008d41c447a4108edfd242
920
hpp
C++
src/dynamics/dynamics_3dof_onlauncher.hpp
sus304/ForRocket
10fdcd0ce5a30fbbb4fec6315bcd64314bec6c12
[ "MIT" ]
21
2015-12-17T14:19:24.000Z
2021-09-09T07:17:17.000Z
src/dynamics/dynamics_3dof_onlauncher.hpp
sus304/ForRocket
10fdcd0ce5a30fbbb4fec6315bcd64314bec6c12
[ "MIT" ]
2
2015-12-17T19:45:50.000Z
2021-02-07T05:28:34.000Z
src/dynamics/dynamics_3dof_onlauncher.hpp
sus304/ForRocket
10fdcd0ce5a30fbbb4fec6315bcd64314bec6c12
[ "MIT" ]
10
2015-12-17T19:13:51.000Z
2021-09-27T01:14:14.000Z
// ****************************************************** // Project Name : ForRocket // File Name : dynamics_3dof_onlauncher.hpp // Creation Date : 2020/02/01 // // Copyright (c) 2020 Susumu Tanaka. All rights reserved. // ****************************************************** #ifndef DYNAMICS3DOFO...
27.878788
74
0.561957
sus304
826b53193bd3946651b22a0471828b3a1c32cdaa
2,058
cpp
C++
Level-2/19. LinkedList-2/Segregate 012 Node Of Linkedlist Over Swapping Nodes.cpp
anubhvshrma18/PepCoding
1d5ebd43e768ad923bf007c8dd584e217df1f017
[ "Apache-2.0" ]
22
2021-06-02T04:25:55.000Z
2022-01-30T06:25:07.000Z
Level-2/19. LinkedList-2/Segregate 012 Node Of Linkedlist Over Swapping Nodes.cpp
amitdubey6261/PepCoding
1d5ebd43e768ad923bf007c8dd584e217df1f017
[ "Apache-2.0" ]
2
2021-10-17T19:26:10.000Z
2022-01-14T18:18:12.000Z
Level-2/19. LinkedList-2/Segregate 012 Node Of Linkedlist Over Swapping Nodes.cpp
amitdubey6261/PepCoding
1d5ebd43e768ad923bf007c8dd584e217df1f017
[ "Apache-2.0" ]
8
2021-07-21T09:55:15.000Z
2022-01-31T10:32:51.000Z
#include <iostream> using namespace std; class ListNode { public: int val = 0; ListNode *next = nullptr; ListNode(int val) { this->val = val; } }; ListNode *segregate012(ListNode *head) { ListNode* zeroH=NULL,*zeroT=NULL,*oneH=NULL,*oneT=NULL,*twoH=NULL,*twoT=NULL; ListNode* curr=...
17.895652
81
0.427114
anubhvshrma18
8273ecfb4ea1827835e85f99301c4d9f11155716
3,916
cc
C++
src/cartographer_generic/tf_bridge.cc
GMahmoud/cartographer_android
65ea4c5cace9397cc8d16d2e9ff8477c222b2b4a
[ "Apache-2.0" ]
1
2018-09-07T08:16:42.000Z
2018-09-07T08:16:42.000Z
src/cartographer_generic/tf_bridge.cc
GMahmoud/cartographer_android
65ea4c5cace9397cc8d16d2e9ff8477c222b2b4a
[ "Apache-2.0" ]
null
null
null
src/cartographer_generic/tf_bridge.cc
GMahmoud/cartographer_android
65ea4c5cace9397cc8d16d2e9ff8477c222b2b4a
[ "Apache-2.0" ]
1
2021-06-04T04:46:08.000Z
2021-06-04T04:46:08.000Z
/* * Copyright 2016 The Cartographer Authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law...
49.56962
193
0.662411
GMahmoud
8279781c1c623925094233539d3d920b9c873f64
7,260
hpp
C++
Source/AllProjects/WndUtils/CIDCtrls/CIDCtrls_MColListBoxImpl_.hpp
MarkStega/CIDLib
82014e064eef51cad998bf2c694ed9c1c8cceac6
[ "MIT" ]
216
2019-03-09T06:41:28.000Z
2022-02-25T16:27:19.000Z
Source/AllProjects/WndUtils/CIDCtrls/CIDCtrls_MColListBoxImpl_.hpp
MarkStega/CIDLib
82014e064eef51cad998bf2c694ed9c1c8cceac6
[ "MIT" ]
9
2020-09-27T08:00:52.000Z
2021-07-02T14:27:31.000Z
Source/AllProjects/WndUtils/CIDCtrls/CIDCtrls_MColListBoxImpl_.hpp
MarkStega/CIDLib
82014e064eef51cad998bf2c694ed9c1c8cceac6
[ "MIT" ]
29
2019-03-09T10:12:24.000Z
2021-03-03T22:25:29.000Z
// // FILE NAME: CIDCtrls_MCColListBoxImpl_.hpp // // AUTHOR: Dean Roddey // // CREATED: 12/07/2017 // // COPYRIGHT: Charmed Quark Systems, Ltd @ 2019 // // This software is copyrighted by 'Charmed Quark Systems, Ltd' and // the author (Dean Roddey.) It is licensed under the MIT Open Source // license: // // https:...
34.736842
92
0.407989
MarkStega
827b4a4ee5b0bc1404a76315291956f7b4bfde8b
2,322
cpp
C++
dlls/Func/CFuncTankLaser.cpp
BlueNightHawk4906/HL-ADM-Custom
7cd3925de819d4f5a2a808e5c0b34bb03a51c991
[ "Unlicense" ]
1
2020-12-11T17:52:33.000Z
2020-12-11T17:52:33.000Z
dlls/Func/CFuncTankLaser.cpp
BlueNightHawk4906/HL-ADM-Custom
7cd3925de819d4f5a2a808e5c0b34bb03a51c991
[ "Unlicense" ]
7
2021-07-09T09:19:14.000Z
2021-07-20T19:35:21.000Z
dlls/Func/CFuncTankLaser.cpp
phoenixprojectsoftware/phoenixADM
5f170a34739e64111dbe161d9ab9e0baa219512b
[ "Unlicense" ]
null
null
null
#include "Base/ExtDLL.h" #include "Util.h" #include "Base/CBase.h" #include "Env/CSprite.h" #include "Env/CBeam.h" #include "Env/CLaser.h" #include "Weapons/Weapons.h" #include "player.h" #include "CFuncTank.h" #include "CFuncTankLaser.h" LINK_ENTITY_TO_CLASS( func_tanklaser, CFuncTankLaser ); TYPEDESCRIPTION CFunc...
20.918919
99
0.678725
BlueNightHawk4906
827bf0a4713814dca3f0e5565d10a4d788573cc4
10,683
cpp
C++
tests/unit/plugins/booleans/unary_not_operation.cpp
NK-Nikunj/phylanx
6898992513a122c49d26947d877f329365486665
[ "BSL-1.0" ]
null
null
null
tests/unit/plugins/booleans/unary_not_operation.cpp
NK-Nikunj/phylanx
6898992513a122c49d26947d877f329365486665
[ "BSL-1.0" ]
null
null
null
tests/unit/plugins/booleans/unary_not_operation.cpp
NK-Nikunj/phylanx
6898992513a122c49d26947d877f329365486665
[ "BSL-1.0" ]
null
null
null
// Copyright (c) 2017-2018 Hartmut Kaiser // Copyright (c) 2018 Shahrzad Shirzad // // 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 <phylanx/phylanx.hpp> #include <hpx/hpx_main.hpp> #include <hpx/...
35.969697
81
0.677244
NK-Nikunj