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
1cbd40bcb66fa97295d9aa8d00ca9c9fbcd3c811
1,163
hpp
C++
higan/sfc/controller/controller.hpp
ameer-bauer/higan-097
a4a28968173ead8251cfa7cd6b5bf963ee68308f
[ "Info-ZIP" ]
3
2016-03-23T01:17:36.000Z
2019-10-25T06:41:09.000Z
higan/sfc/controller/controller.hpp
ameer-bauer/higan-097
a4a28968173ead8251cfa7cd6b5bf963ee68308f
[ "Info-ZIP" ]
null
null
null
higan/sfc/controller/controller.hpp
ameer-bauer/higan-097
a4a28968173ead8251cfa7cd6b5bf963ee68308f
[ "Info-ZIP" ]
null
null
null
// SNES controller port pinout: // ------------------------------- // | (1) (2) (3) (4) | (5) (6) (7) ) // ------------------------------- // pin name port1 port2 // 1: +5v // 2: clock $4016 read $4017 read // 3: latch $4016.d0 write ...
29.820513
81
0.517627
ameer-bauer
1cc82d801b9f1424e65d621a3e0e8fc020dc0117
882
cpp
C++
C++/problem1464.cpp
1050669722/LeetCode-Answers
c8f4d1ccaac09cda63b60d75144335347b06dc81
[ "MIT" ]
null
null
null
C++/problem1464.cpp
1050669722/LeetCode-Answers
c8f4d1ccaac09cda63b60d75144335347b06dc81
[ "MIT" ]
null
null
null
C++/problem1464.cpp
1050669722/LeetCode-Answers
c8f4d1ccaac09cda63b60d75144335347b06dc81
[ "MIT" ]
null
null
null
// class Solution { // public: // static bool cmp(int a, int b) // { // return a > b; // } // int maxProduct(vector<int>& nums) { // sort(nums.begin(), nums.end(), cmp); // return (nums[0] - 1) * (nums[1] - 1); // } // }; class Solution { public: int maxProduct(vector<i...
25.941176
162
0.441043
1050669722
1cc928e75a74953ba64f61bca33b3fc73614c19f
162
cpp
C++
src/classwork/01_assign/main.cpp
acc-cosc-1337-spring-2020/acc-cosc-1337-spring-2020-ChelliBean
9e2f45a1d9682f5c9391a594e1284c6beffd9f58
[ "MIT" ]
null
null
null
src/classwork/01_assign/main.cpp
acc-cosc-1337-spring-2020/acc-cosc-1337-spring-2020-ChelliBean
9e2f45a1d9682f5c9391a594e1284c6beffd9f58
[ "MIT" ]
null
null
null
src/classwork/01_assign/main.cpp
acc-cosc-1337-spring-2020/acc-cosc-1337-spring-2020-ChelliBean
9e2f45a1d9682f5c9391a594e1284c6beffd9f58
[ "MIT" ]
null
null
null
#include"output.h"//use file code that I created #include<iostream>// use standard library using std::cout; int main() { cout<<"Hello World!"; return 0; }
12.461538
48
0.679012
acc-cosc-1337-spring-2020
1cce7151dbb70ffb24ff24d4371c453a2d454913
3,333
cpp
C++
src/core/Input.cpp
pixelsquare/atom-engine
763ed2446107f4baccb4a652effdd58303852ae4
[ "MIT" ]
null
null
null
src/core/Input.cpp
pixelsquare/atom-engine
763ed2446107f4baccb4a652effdd58303852ae4
[ "MIT" ]
null
null
null
src/core/Input.cpp
pixelsquare/atom-engine
763ed2446107f4baccb4a652effdd58303852ae4
[ "MIT" ]
null
null
null
/* * Copyright (C) 2012 PixelSquareLabs - All Rights Reserved * * Created: 06/05/2018 * Author: Anthony Ganzon * Email: pixelsquarelabs@yahoo.com * pixelsquarelabs@gmail.com */ #include "Input.h" #include "StdC.h" #include "PlatformGL.h" ATOM_BEGIN void (*mousePtr)(int x, int y); void (*m...
18.414365
61
0.563756
pixelsquare
1cd240e2bc97c431a30e18912baccb00632fab33
6,452
cpp
C++
src/ui/WaterfallDialog.cpp
tlmrgvf/drtd
bf31747b963673797239cb11cd45c1c1ee4aeaa6
[ "BSD-2-Clause" ]
6
2020-07-11T11:16:18.000Z
2021-12-17T23:30:36.000Z
src/ui/WaterfallDialog.cpp
tlmrgvf/drtd
bf31747b963673797239cb11cd45c1c1ee4aeaa6
[ "BSD-2-Clause" ]
9
2020-07-03T21:23:50.000Z
2022-02-15T12:56:16.000Z
src/ui/WaterfallDialog.cpp
tlmrgvf/drtd
bf31747b963673797239cb11cd45c1c1ee4aeaa6
[ "BSD-2-Clause" ]
null
null
null
/* BSD 2-Clause License Copyright (c) 2020, Till Mayer All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditio...
44.496552
178
0.734656
tlmrgvf
1cd43a448911fbd04fe83949b42db9d78d125efa
816
cpp
C++
LeetCodeSolutions/LeetCode_0340.cpp
lih627/python-algorithm-templates
a61fd583e33a769b44ab758990625d3381793768
[ "MIT" ]
24
2020-03-28T06:10:25.000Z
2021-11-23T05:01:29.000Z
LeetCodeSolutions/LeetCode_0340.cpp
lih627/python-algorithm-templates
a61fd583e33a769b44ab758990625d3381793768
[ "MIT" ]
null
null
null
LeetCodeSolutions/LeetCode_0340.cpp
lih627/python-algorithm-templates
a61fd583e33a769b44ab758990625d3381793768
[ "MIT" ]
8
2020-05-18T02:43:16.000Z
2021-05-24T18:11:38.000Z
class Solution { public: int lengthOfLongestSubstringKDistinct(string s, int k) { unordered_map<char, int> counter; int ret = 0; int tmp = 0; for(int i = 0; i < s.size(); ++i){ char &c = s[i]; ++counter[c]; ++tmp; if(counter.size() <= k...
28.137931
60
0.344363
lih627
1cde9554045fac17fee74ce98256b8f38e00a5f0
1,779
cpp
C++
src/owlVulkan/core/descriptor_set_layout.cpp
auperes/owl_engine
6da8b48b1caf6cf9f224f1a1d5df59461e83ce9a
[ "MIT" ]
null
null
null
src/owlVulkan/core/descriptor_set_layout.cpp
auperes/owl_engine
6da8b48b1caf6cf9f224f1a1d5df59461e83ce9a
[ "MIT" ]
null
null
null
src/owlVulkan/core/descriptor_set_layout.cpp
auperes/owl_engine
6da8b48b1caf6cf9f224f1a1d5df59461e83ce9a
[ "MIT" ]
null
null
null
#include "descriptor_set_layout.h" #include <array> #include "vulkan_helpers.h" namespace owl::vulkan::core { descriptor_set_layout::descriptor_set_layout(const std::shared_ptr<logical_device>& logical_device) : _logical_device(logical_device) { VkDescriptorSetLayoutBinding uniform_layout_bin...
46.815789
140
0.767285
auperes
1ce1d9e1c2bc974a6eb73a02948038db7a816bfc
842
cpp
C++
UAlbertaBot/Source/strategies/zerg/ThreeHatchScourge.cpp
kant2002/ualbertabot
b4c75be8bf023f289f2e58e49ad600a9bda38fcd
[ "MIT" ]
2
2017-07-06T18:27:41.000Z
2018-03-14T06:19:43.000Z
UAlbertaBot/Source/strategies/zerg/ThreeHatchScourge.cpp
kant2002/ualbertabot
b4c75be8bf023f289f2e58e49ad600a9bda38fcd
[ "MIT" ]
18
2017-10-29T20:37:47.000Z
2019-08-25T16:01:28.000Z
UAlbertaBot/Source/strategies/zerg/ThreeHatchScourge.cpp
kant2002/ualbertabot
b4c75be8bf023f289f2e58e49ad600a9bda38fcd
[ "MIT" ]
1
2017-09-13T07:02:23.000Z
2017-09-13T07:02:23.000Z
#include "ThreeHatchScourge.h" #include "..\..\UnitUtil.h" using UAlbertaBot::MetaPairVector; using UAlbertaBot::MetaPair; using UAlbertaBot::UnitUtil::GetAllUnitCount; AKBot::ThreeHatchScourge::ThreeHatchScourge(BWAPI::Player self): _self(self) { } void AKBot::ThreeHatchScourge::getBuildOrderGoal(MetaPairVector& go...
28.066667
94
0.766033
kant2002
1cec3f6a74dc297e4082b3694dede3711fc066db
2,729
cc
C++
source/common/http/conn_pool_base.cc
jaricftw/envoy
766f3fb8dbdafce402631c43c16fda46ed003462
[ "Apache-2.0" ]
1
2021-12-10T23:58:57.000Z
2021-12-10T23:58:57.000Z
source/common/http/conn_pool_base.cc
jaricftw/envoy
766f3fb8dbdafce402631c43c16fda46ed003462
[ "Apache-2.0" ]
30
2022-02-17T02:28:37.000Z
2022-03-31T02:31:02.000Z
source/common/http/conn_pool_base.cc
jaricftw/envoy
766f3fb8dbdafce402631c43c16fda46ed003462
[ "Apache-2.0" ]
1
2019-11-03T03:46:51.000Z
2019-11-03T03:46:51.000Z
#include "common/http/conn_pool_base.h" namespace Envoy { namespace Http { ConnPoolImplBase::PendingRequest::PendingRequest(ConnPoolImplBase& parent, StreamDecoder& decoder, ConnectionPool::Callbacks& callbacks) : parent_(parent), decoder_(decoder), callbacks_(callb...
46.254237
99
0.751557
jaricftw
1cec87866a9ada7ac611ed3a82cc35c828bd8104
7,002
cpp
C++
YorozuyaGSLib/source/_dh_mission_mgrDetail.cpp
lemkova/Yorozuya
f445d800078d9aba5de28f122cedfa03f26a38e4
[ "MIT" ]
29
2017-07-01T23:08:31.000Z
2022-02-19T10:22:45.000Z
YorozuyaGSLib/source/_dh_mission_mgrDetail.cpp
kotopes/Yorozuya
605c97d3a627a8f6545cc09f2a1b0a8afdedd33a
[ "MIT" ]
90
2017-10-18T21:24:51.000Z
2019-06-06T02:30:33.000Z
YorozuyaGSLib/source/_dh_mission_mgrDetail.cpp
kotopes/Yorozuya
605c97d3a627a8f6545cc09f2a1b0a8afdedd33a
[ "MIT" ]
44
2017-12-19T08:02:59.000Z
2022-02-24T23:15:01.000Z
#include <_dh_mission_mgrDetail.hpp> #include <common/ATFCore.hpp> START_ATF_NAMESPACE namespace Detail { Info::_dh_mission_mgrGetLimMSecTime2_ptr _dh_mission_mgrGetLimMSecTime2_next(nullptr); Info::_dh_mission_mgrGetLimMSecTime2_clbk _dh_mission_mgrGetLimMSecTime2_user(nullptr); ...
54.703125
163
0.699372
lemkova
1ced9b79f8b3dd329e525472b67c8ebea77b2953
32,862
cpp
C++
plugins/CaptureTheFlag.cpp
PsychoLogicAu/GPUSteer
99c23f0e27468b964207d65758612ade7d7c4892
[ "MIT" ]
null
null
null
plugins/CaptureTheFlag.cpp
PsychoLogicAu/GPUSteer
99c23f0e27468b964207d65758612ade7d7c4892
[ "MIT" ]
null
null
null
plugins/CaptureTheFlag.cpp
PsychoLogicAu/GPUSteer
99c23f0e27468b964207d65758612ade7d7c4892
[ "MIT" ]
null
null
null
// ---------------------------------------------------------------------------- // // // OpenSteer -- Steering Behaviors for Autonomous Characters // // Copyright (c) 2002-2003, Sony Computer Entertainment America // Original author: Craig Reynolds <craig_reynolds@playstation.sony.com> // // Permission is hereby grante...
34.124611
121
0.603493
PsychoLogicAu
1cee2ff8ee63ba51aec389c7f3406455fdd7a3e5
892
hpp
C++
SDK/ARKSurvivalEvolved_StructureSettings_BrokenByPlasma_classes.hpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
10
2020-02-17T19:08:46.000Z
2021-07-31T11:07:19.000Z
SDK/ARKSurvivalEvolved_StructureSettings_BrokenByPlasma_classes.hpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
9
2020-02-17T18:15:41.000Z
2021-06-06T19:17:34.000Z
SDK/ARKSurvivalEvolved_StructureSettings_BrokenByPlasma_classes.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_StructureSettings_BrokenByPlasma_structs.hpp" namespace sdk { //--------------------------------------------------------------------------- //Classes //----------------------------------------...
22.871795
134
0.676009
2bite
1cf155d7cd0580a126aa817059e5ad5c89fdbcbd
21,127
cxx
C++
SimModel_Python_API/simmodel_swig/SimModel_Dll_lib/framework/SimRoot.cxx
EnEff-BIM/EnEffBIM-Framework
6328d39b498dc4065a60b5cc9370b8c2a9a1cddf
[ "MIT" ]
3
2016-05-30T15:12:16.000Z
2022-03-22T08:11:13.000Z
SimModel_Python_API/simmodel_swig/SimModel_Dll_lib/framework/SimRoot.cxx
EnEff-BIM/EnEffBIM-Framework
6328d39b498dc4065a60b5cc9370b8c2a9a1cddf
[ "MIT" ]
21
2016-06-13T11:33:45.000Z
2017-05-23T09:46:52.000Z
SimModel_Python_API/simmodel_swig/SimModel_Dll_lib/framework/SimRoot.cxx
EnEff-BIM/EnEffBIM-Framework
6328d39b498dc4065a60b5cc9370b8c2a9a1cddf
[ "MIT" ]
null
null
null
// Copyright (c) 2005-2014 Code Synthesis Tools CC // // This program was generated by CodeSynthesis XSD, an XML Schema to // C++ data binding compiler. // // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License version 2 as // published by the Fre...
26.147277
123
0.558432
EnEff-BIM
1cf2697aa4fa44c82a42f2d8a0aaab20c26c2d3a
10,661
hpp
C++
source/housys/include/hou/sys/pixel.hpp
DavideCorradiDev/houzi-game-engine
d704aa9c5b024300578aafe410b7299c4af4fcec
[ "MIT" ]
2
2018-04-12T20:59:20.000Z
2018-07-26T16:04:07.000Z
source/housys/include/hou/sys/pixel.hpp
DavideCorradiDev/houzi-game-engine
d704aa9c5b024300578aafe410b7299c4af4fcec
[ "MIT" ]
null
null
null
source/housys/include/hou/sys/pixel.hpp
DavideCorradiDev/houzi-game-engine
d704aa9c5b024300578aafe410b7299c4af4fcec
[ "MIT" ]
null
null
null
// Houzi Game Engine // Copyright (c) 2018 Davide Corradi // Licensed under the MIT license. #ifndef HOU_SYS_PIXEL_HPP #define HOU_SYS_PIXEL_HPP #include "hou/sys/color.hpp" #include "hou/sys/pixel_fwd.hpp" #include "hou/sys/sys_config.hpp" #include "hou/cor/pragmas.hpp" #include <array> namespace hou { HOU_PRAG...
24.395881
80
0.658381
DavideCorradiDev
1cf3f12450e1339a4385eab14590f24f95726ca8
1,298
cpp
C++
src/CefView/CefBrowserApp/CefViewBrowserClient_KeyboardHandler.cpp
daiming/CefViewCore
89837575e8d5f50aa16a91ef19b0ad7ddbff205e
[ "MIT" ]
null
null
null
src/CefView/CefBrowserApp/CefViewBrowserClient_KeyboardHandler.cpp
daiming/CefViewCore
89837575e8d5f50aa16a91ef19b0ad7ddbff205e
[ "MIT" ]
null
null
null
src/CefView/CefBrowserApp/CefViewBrowserClient_KeyboardHandler.cpp
daiming/CefViewCore
89837575e8d5f50aa16a91ef19b0ad7ddbff205e
[ "MIT" ]
null
null
null
#include <CefViewBrowserClient.h> #pragma region std_headers #include <sstream> #include <string> #include <algorithm> #pragma endregion std_headers #pragma region cef_headers #include <include/cef_app.h> #pragma endregion cef_headers #include <Common/CefViewCoreLog.h> CefRefPtr<CefKeyboardHandler> CefViewBrowserC...
24.490566
81
0.645609
daiming
1cf7a1559aae83b8a8fd1054dd02842bf6d4b59e
16,956
cpp
C++
jni/events/basesynthevent.cpp
scottmccain/MWEngine
e8aa3e37a7c9d0cc3198081d12e3342fe227af3c
[ "MIT" ]
null
null
null
jni/events/basesynthevent.cpp
scottmccain/MWEngine
e8aa3e37a7c9d0cc3198081d12e3342fe227af3c
[ "MIT" ]
null
null
null
jni/events/basesynthevent.cpp
scottmccain/MWEngine
e8aa3e37a7c9d0cc3198081d12e3342fe227af3c
[ "MIT" ]
null
null
null
/** * The MIT License (MIT) * * Copyright (c) 2013-2014 Igor Zinken - http://www.igorski.nl * * 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 lim...
32.297143
121
0.630573
scottmccain
1cf9552c81aebe439df5d6232a43a2b649d91b46
286
cpp
C++
events/DisconnectPlayerEvent.cpp
deb0ch/R-Type
8bb37cd5ec318efb97119afb87d4996f6bb7644e
[ "WTFPL" ]
5
2016-03-15T20:14:10.000Z
2020-10-30T23:56:24.000Z
events/DisconnectPlayerEvent.cpp
deb0ch/R-Type
8bb37cd5ec318efb97119afb87d4996f6bb7644e
[ "WTFPL" ]
3
2018-12-19T19:12:44.000Z
2020-04-02T13:07:00.000Z
events/DisconnectPlayerEvent.cpp
deb0ch/R-Type
8bb37cd5ec318efb97119afb87d4996f6bb7644e
[ "WTFPL" ]
2
2016-04-11T19:29:28.000Z
2021-11-26T20:53:22.000Z
#include "DisconnectPlayerEvent.hh" DisconnectPlayerEvent::DisconnectPlayerEvent(unsigned int hash) : AEvent("DisconnectPlayerEvent"), _hash(hash) {} DisconnectPlayerEvent::~DisconnectPlayerEvent() {} unsigned int DisconnectPlayerEvent::getRemoteId() const { return this->_hash; }
22
110
0.797203
deb0ch
7f2e9d5841d3e43121f5aa0cadb8d9ff159623bb
788
cpp
C++
src/Server/Ph0enix-Server/Agent.cpp
SKGP/EDR
da4cb02afe164d38014a3616e7cff8e71ce56965
[ "MIT" ]
6
2021-05-23T13:26:23.000Z
2021-07-27T08:11:29.000Z
src/Server/Ph0enix-Server/Agent.cpp
SKGP/EDR
da4cb02afe164d38014a3616e7cff8e71ce56965
[ "MIT" ]
null
null
null
src/Server/Ph0enix-Server/Agent.cpp
SKGP/EDR
da4cb02afe164d38014a3616e7cff8e71ce56965
[ "MIT" ]
1
2021-05-29T06:22:34.000Z
2021-05-29T06:22:34.000Z
#include "Agent.h" Agent::Agent() { } Agent::~Agent() { } std::string Agent::getIp() { return this->ip; } std::string Agent::getMac() { return this->mac; } std::string Agent::getHostName() { return this->hostName; } int Agent::getReputation() { return this->reputation; } SOCKET Agent::getsocket() { return t...
11.257143
45
0.668782
SKGP
7f37d226759fb210eac85a515d9f71aaa5253726
971
cpp
C++
CodeInterviews-SwordOffer/Offer41-Median-of-Dataflow/solution1.cpp
loyio/leetcode
366393c29a434a621592ef6674a45795a3086184
[ "CC0-1.0" ]
null
null
null
CodeInterviews-SwordOffer/Offer41-Median-of-Dataflow/solution1.cpp
loyio/leetcode
366393c29a434a621592ef6674a45795a3086184
[ "CC0-1.0" ]
null
null
null
CodeInterviews-SwordOffer/Offer41-Median-of-Dataflow/solution1.cpp
loyio/leetcode
366393c29a434a621592ef6674a45795a3086184
[ "CC0-1.0" ]
2
2022-01-25T05:31:31.000Z
2022-02-26T07:22:23.000Z
class MedianFinder { public: priority_queue<int, vector<int>, less<int>> maxHeap; priority_queue<int, vector<int>, greater<int>> minHeap; /** initialize your data structure here. */ MedianFinder() { } void addNum(int num) { if(maxHeap.size() == minHeap.size()){ minHeap....
24.897436
68
0.530381
loyio
7f3bbb1b1b870b6214b4494887e9b7170561a50c
833
hpp
C++
genfile/include/genfile/SNPPositionInRangeTest.hpp
gavinband/bingwa
d52e166b3bb6bc32cd32ba63bf8a4a147275eca1
[ "BSL-1.0" ]
3
2021-04-21T05:42:24.000Z
2022-01-26T14:59:43.000Z
genfile/include/genfile/SNPPositionInRangeTest.hpp
gavinband/bingwa
d52e166b3bb6bc32cd32ba63bf8a4a147275eca1
[ "BSL-1.0" ]
2
2020-04-09T16:11:04.000Z
2020-11-10T11:18:56.000Z
genfile/include/genfile/SNPPositionInRangeTest.hpp
gavinband/qctool
8d8adb45151c91f953fe4a9af00498073b1132ba
[ "BSL-1.0" ]
null
null
null
// Copyright Gavin Band 2008 - 2012. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) #ifndef SNPPOSITIONINRANGETEST_HPP #define SNPPOSITIONINRANGETEST_HPP #include <set> #include <string> ...
28.724138
70
0.757503
gavinband
7f4a041a282e53a4b2bf70ace30f418d40c181ab
1,521
cc
C++
src/q_251_300/q0283.cc
vNaonLu/daily-leetcode
2830c2cd413d950abe7c6d9b833c771f784443b0
[ "MIT" ]
2
2021-09-28T18:41:03.000Z
2021-09-28T18:42:57.000Z
src/q_251_300/q0283.cc
vNaonLu/Daily_LeetCode
30024b561611d390931cef1b22afd6a5060cf586
[ "MIT" ]
16
2021-09-26T11:44:20.000Z
2021-11-28T06:44:02.000Z
src/q_251_300/q0283.cc
vNaonLu/daily-leetcode
2830c2cd413d950abe7c6d9b833c771f784443b0
[ "MIT" ]
1
2021-11-22T09:11:36.000Z
2021-11-22T09:11:36.000Z
#include <gtest/gtest.h> #include <iostream> #include <vector> using namespace std; /** * This file is generated by leetcode_add.py v1.0 * * 283. * Move Zeroes * * ––––––––––––––––––––––––––––– Description ––––––––––––––––––––––––––––– * * Given an integer array ‘nums’ , move all ‘0’ 's to the end of i...
23.4
75
0.543064
vNaonLu
7f53e434568b0723e58ecb4111a2a05c383f41be
2,902
cpp
C++
loader.cpp
fuadsaud/objviewer
56d1e427319ac706d80adb6b1675986839b4ccb6
[ "MIT" ]
1
2017-03-09T21:46:37.000Z
2017-03-09T21:46:37.000Z
loader.cpp
fuadsaud/objviewer
56d1e427319ac706d80adb6b1675986839b4ccb6
[ "MIT" ]
null
null
null
loader.cpp
fuadsaud/objviewer
56d1e427319ac706d80adb6b1675986839b4ccb6
[ "MIT" ]
null
null
null
#include "loader.h" obj::loader::loader(std::string p) { path = p.c_str(); } void obj::loader::load(obj::mesh * m) { std::ifstream in(path.c_str()); obj::group * g = new obj::group(); m->push_group(g); obj::vertex * v; obj::vertex2 * t; obj::face * face; std::vector<std::string> f; ...
28.732673
69
0.334941
fuadsaud
7f54503df223b72945a5ec38fb4c399f5d40dc5c
45,452
cpp
C++
src/game/g_script.cpp
jumptohistory/jaymod
92d0a0334ac27da94b12280b0b42b615b8813c23
[ "Apache-2.0" ]
25
2016-05-27T11:53:58.000Z
2021-10-17T00:13:41.000Z
src/game/g_script.cpp
jumptohistory/jaymod
92d0a0334ac27da94b12280b0b42b615b8813c23
[ "Apache-2.0" ]
1
2016-07-09T05:25:03.000Z
2016-07-09T05:25:03.000Z
src/game/g_script.cpp
jumptohistory/jaymod
92d0a0334ac27da94b12280b0b42b615b8813c23
[ "Apache-2.0" ]
16
2016-05-28T23:06:50.000Z
2022-01-26T13:47:12.000Z
//=========================================================================== // // Name: g_script.c // Function: Wolfenstein Entity Scripting // Programmer: Ridah // Tab Size: 4 (real tabs) //=========================================================================== #include <bgame/impl.h> #include <omnibot/et/...
33.543911
272
0.691037
jumptohistory
7f55ee3e5aaeda93228401f6811366967ffaffd7
3,100
cc
C++
source/driver.cc
chinmaygarde/epoxy
17cddb751e25c75b54da66932d2d64722cffc8b8
[ "MIT" ]
4
2020-07-09T04:58:14.000Z
2021-09-11T03:56:22.000Z
source/driver.cc
chinmaygarde/epoxy
17cddb751e25c75b54da66932d2d64722cffc8b8
[ "MIT" ]
null
null
null
source/driver.cc
chinmaygarde/epoxy
17cddb751e25c75b54da66932d2d64722cffc8b8
[ "MIT" ]
null
null
null
// This source file is part of Epoxy licensed under the MIT License. // See LICENSE.md file for details. #include "driver.h" #include "file.h" #include "scanner.h" #include <algorithm> #include <iostream> #include <sstream> #include <string> namespace epoxy { Driver::Driver(std::string advisory_file_name) : ad...
26.271186
78
0.653548
chinmaygarde
7f586f305b5d2239aa813c14cf9ae04586a1a575
642
cpp
C++
tests/uit/setup/InterProcAddress.cpp
perryk12/conduit
3ea055312598353afd465536c8e04cdec1111c8c
[ "MIT" ]
null
null
null
tests/uit/setup/InterProcAddress.cpp
perryk12/conduit
3ea055312598353afd465536c8e04cdec1111c8c
[ "MIT" ]
1
2020-10-22T20:41:05.000Z
2020-10-22T20:41:05.000Z
tests/uit/setup/InterProcAddress.cpp
perryk12/conduit
3ea055312598353afd465536c8e04cdec1111c8c
[ "MIT" ]
null
null
null
#include <set> #define CATCH_CONFIG_MAIN #define CATCH_CONFIG_DEFAULT_REPORTER "multiprocess" #include "Catch/single_include/catch2/catch.hpp" #include "uitsl/debug/MultiprocessReporter.hpp" #include "uitsl/mpi/MpiGuard.hpp" #include "uit/setup/InterProcAddress.hpp" const uitsl::MpiGuard guard; TEST_CASE("Test Int...
24.692308
68
0.744548
perryk12
7f5e9068af284cba93236e3803fe9c4ec8371fe6
8,691
cpp
C++
Source/MIVIBridge/Private/MIVICharacterBase.cpp
DrowningDragons/MIVIBridge
07fe752958b370d649d42ddf9f50cdcf089a31ad
[ "MIT" ]
1
2021-12-30T13:14:06.000Z
2021-12-30T13:14:06.000Z
Source/MIVIBridge/Private/MIVICharacterBase.cpp
DrowningDragons/MIVIBridge
07fe752958b370d649d42ddf9f50cdcf089a31ad
[ "MIT" ]
null
null
null
Source/MIVIBridge/Private/MIVICharacterBase.cpp
DrowningDragons/MIVIBridge
07fe752958b370d649d42ddf9f50cdcf089a31ad
[ "MIT" ]
1
2022-01-04T01:11:04.000Z
2022-01-04T01:11:04.000Z
// Copyright (c) 2019-2021 Drowning Dragons Limited. All Rights Reserved. #include "MIVICharacterBase.h" #include "Net/UnrealNetwork.h" #include "GameFramework/CharacterMovementComponent.h" #include "Pawn/VIPawnVaultComponent.h" #include "VIMotionWarpingComponent.h" #include "Components/CapsuleComponent.h" #include "...
28.035484
191
0.741457
DrowningDragons
7f6e5b03489a33cdc086f784b03c8ca232778bd7
650
hpp
C++
libs/core/include/fcppt/math/matrix/row_type_fwd.hpp
pmiddend/fcppt
9f437acbb10258e6df6982a550213a05815eb2be
[ "BSL-1.0" ]
null
null
null
libs/core/include/fcppt/math/matrix/row_type_fwd.hpp
pmiddend/fcppt
9f437acbb10258e6df6982a550213a05815eb2be
[ "BSL-1.0" ]
null
null
null
libs/core/include/fcppt/math/matrix/row_type_fwd.hpp
pmiddend/fcppt
9f437acbb10258e6df6982a550213a05815eb2be
[ "BSL-1.0" ]
null
null
null
// Copyright Carl Philipp Reh 2009 - 2018. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) #ifndef FCPPT_MATH_MATRIX_ROW_TYPE_FWD_HPP_INCLUDED #define FCPPT_MATH_MATRIX_ROW_TYPE_FWD_HPP_INC...
15.116279
61
0.730769
pmiddend
7f797dcf0d1a76d2e63ebbe386faf815b89f7b12
7,040
hpp
C++
include/UnityEngine/Timeline/ControlPlayableAsset_-GetControlableScripts-d__39.hpp
darknight1050/BeatSaber-Quest-Codegen
a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032
[ "Unlicense" ]
null
null
null
include/UnityEngine/Timeline/ControlPlayableAsset_-GetControlableScripts-d__39.hpp
darknight1050/BeatSaber-Quest-Codegen
a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032
[ "Unlicense" ]
null
null
null
include/UnityEngine/Timeline/ControlPlayableAsset_-GetControlableScripts-d__39.hpp
darknight1050/BeatSaber-Quest-Codegen
a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032
[ "Unlicense" ]
null
null
null
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" // Including type: UnityEngine.Timeline.ControlPlayableAsset #include "UnityEngine/Timeline/Cont...
54.573643
489
0.742898
darknight1050
7f7de4f5b9fb796b3548a3e2ce282d8e0d96279e
1,944
cpp
C++
src/human.cpp
Groogy/derelict
5ca82ae5a5a553e292e388706a27b53840cf3afa
[ "Zlib" ]
null
null
null
src/human.cpp
Groogy/derelict
5ca82ae5a5a553e292e388706a27b53840cf3afa
[ "Zlib" ]
null
null
null
src/human.cpp
Groogy/derelict
5ca82ae5a5a553e292e388706a27b53840cf3afa
[ "Zlib" ]
null
null
null
#include "human.hpp" #include "tile.hpp" #include "terrain.hpp" #include "earth.hpp" #include "tilemap.hpp" #include "settler.hpp" constexpr int TicksPerSettlement = 40; Human::Human(sf::Vector2i settlement) { mySettlements.push_back(settlement); nTimeToGrowth = TicksPerSettlement; } void Human::update(Earth& eart...
21.6
76
0.705761
Groogy
7f7e56d5a52cb4499f999a3994d5b85b07734b44
3,453
cpp
C++
code archive/joi/2019-sp-day3 pC.cpp
brianbbsu/program
c4505f2b8c0b91010e157db914a63c49638516bc
[ "MIT" ]
4
2018-04-08T08:07:58.000Z
2021-06-07T14:55:24.000Z
code archive/joi/2019-sp-day3 pC.cpp
brianbbsu/program
c4505f2b8c0b91010e157db914a63c49638516bc
[ "MIT" ]
null
null
null
code archive/joi/2019-sp-day3 pC.cpp
brianbbsu/program
c4505f2b8c0b91010e157db914a63c49638516bc
[ "MIT" ]
1
2018-10-29T12:37:25.000Z
2018-10-29T12:37:25.000Z
//{ #include<bits/stdc++.h> using namespace std; typedef long long ll; typedef double lf; typedef pair<ll,ll> ii; #define REP(i,n) for(ll i=0;i<n;i++) #define REP1(i,n) for(ll i=1;i<=n;i++) #define FILL(i,n) memset(i,n,sizeof i) #define X first #define Y second #define SZ(_a) (int)_a.size() #define ALL(_a) _a.begin(),_...
25.768657
129
0.504489
brianbbsu
7f856f4c3a4036ac8066fbfdb77d87c861bcaa8f
7,964
cpp
C++
compiler/src/ast/stmt/ast_flow_codegen.cpp
TuplexLanguage/tuplex
fc436c78224522663e40e09d36f83570fd76ba2d
[ "Apache-2.0" ]
15
2017-08-15T20:46:44.000Z
2021-12-15T02:51:13.000Z
compiler/src/ast/stmt/ast_flow_codegen.cpp
TuplexLanguage/tuplex
fc436c78224522663e40e09d36f83570fd76ba2d
[ "Apache-2.0" ]
null
null
null
compiler/src/ast/stmt/ast_flow_codegen.cpp
TuplexLanguage/tuplex
fc436c78224522663e40e09d36f83570fd76ba2d
[ "Apache-2.0" ]
1
2017-09-28T14:48:15.000Z
2017-09-28T14:48:15.000Z
#include "ast_flow.hpp" #include "ast/expr/ast_ref.hpp" #include "llvm_generator.hpp" #include "parsercontext.hpp" using namespace llvm; Value* TxCondClauseNode::code_gen_cond( LlvmGenerationContext& context, GenScope* scope ) const { return this->condExpr->code_gen_expr( context, scope ); } Value* TxIsClauseN...
44
125
0.669513
TuplexLanguage
7f8e15d29a1ba83e5bd1bdf02af3b85368fb2b89
16,297
cc
C++
nugen/EventGeneratorBase/test/EventGeneratorTest_module.cc
nusense/nugen
ee4fefda7f2aa5e5ca8ee9c741f07bd3dbef2ed7
[ "Apache-2.0" ]
null
null
null
nugen/EventGeneratorBase/test/EventGeneratorTest_module.cc
nusense/nugen
ee4fefda7f2aa5e5ca8ee9c741f07bd3dbef2ed7
[ "Apache-2.0" ]
null
null
null
nugen/EventGeneratorBase/test/EventGeneratorTest_module.cc
nusense/nugen
ee4fefda7f2aa5e5ca8ee9c741f07bd3dbef2ed7
[ "Apache-2.0" ]
null
null
null
//////////////////////////////////////////////////////////////////////// // // brebel@fnal.gov // //////////////////////////////////////////////////////////////////////// #ifndef EVGEN_TEST_H #define EVGEN_TEST_H #include <cstdlib> #include <string> #include <sstream> #include <vector> #include <map> #include <unistd....
32.080709
114
0.63932
nusense
7f92e43c34d995bd5d9fc6cbd8abf11bf6e52483
605
hpp
C++
framework/pipeline/StandardLine.hpp
FeiGeChuanShu/TengineFactory
89524b8edc3fb6d00f60f12ebfcfdea985639e03
[ "Apache-2.0" ]
1
2021-09-30T05:44:57.000Z
2021-09-30T05:44:57.000Z
framework/pipeline/StandardLine.hpp
FeiGeChuanShu/TengineFactory
89524b8edc3fb6d00f60f12ebfcfdea985639e03
[ "Apache-2.0" ]
null
null
null
framework/pipeline/StandardLine.hpp
FeiGeChuanShu/TengineFactory
89524b8edc3fb6d00f60f12ebfcfdea985639e03
[ "Apache-2.0" ]
null
null
null
#ifndef STANDARDLINE_HPP #define STANDARDLINE_HPP #include <iostream> #include "LineBase.hpp" #include "Dataset.hpp" #include "ImageDispose.hpp" #include <memory> namespace TFactory { class StandardLine : public LineBase { private: Anchor anchor; public: StandardLine(); void onCreate(); void onPreProc...
20.862069
103
0.700826
FeiGeChuanShu
7f944db347c15c981a63e0a15a596c8313f8c51b
14,703
cpp
C++
rcff/src/RCF/ProxyEndpointService.cpp
DayBreakZhang/CXKJ_Code
c7caab736313f029324f1c95714f5a94b2589076
[ "Apache-2.0" ]
null
null
null
rcff/src/RCF/ProxyEndpointService.cpp
DayBreakZhang/CXKJ_Code
c7caab736313f029324f1c95714f5a94b2589076
[ "Apache-2.0" ]
null
null
null
rcff/src/RCF/ProxyEndpointService.cpp
DayBreakZhang/CXKJ_Code
c7caab736313f029324f1c95714f5a94b2589076
[ "Apache-2.0" ]
null
null
null
//****************************************************************************** // RCF - Remote Call Framework // // Copyright (c) 2005 - 2019, Delta V Software. All rights reserved. // http://www.deltavsoft.com // // RCF is distributed under dual licenses - closed source or GPL. // Consult your particular license fo...
32.172867
129
0.551384
DayBreakZhang
7f9d899b0d084cbeeab5dad71ea423b86ff3edea
22,460
cpp
C++
arch/drisc/ICache.cpp
svp-dev/mgsim
0abd708f3c48723fc233f6c53f3e638129d070fa
[ "MIT" ]
7
2016-03-01T13:16:59.000Z
2021-08-20T07:41:43.000Z
arch/drisc/ICache.cpp
svp-dev/mgsim
0abd708f3c48723fc233f6c53f3e638129d070fa
[ "MIT" ]
null
null
null
arch/drisc/ICache.cpp
svp-dev/mgsim
0abd708f3c48723fc233f6c53f3e638129d070fa
[ "MIT" ]
5
2015-04-20T14:29:38.000Z
2018-12-29T11:09:17.000Z
#include "ICache.h" #include "DRISC.h" #include <sim/log2.h> #include <sim/config.h> #include <sim/sampling.h> #include <cassert> #include <cstring> #include <iomanip> #include <iostream> using namespace std; namespace Simulator { namespace drisc { ICache::ICache(const std::string& name, DRISC& parent, Clock& clock)...
32.17765
127
0.503963
svp-dev
7f9f551fd176d35ea850812106284c034b597292
15,145
cpp
C++
Y-Engine/Renderer & Math/YEMath/YObb.cpp
Yosbi/YEngine
e9a992919b646f8672c16285b776638ac86f96fa
[ "MIT" ]
null
null
null
Y-Engine/Renderer & Math/YEMath/YObb.cpp
Yosbi/YEngine
e9a992919b646f8672c16285b776638ac86f96fa
[ "MIT" ]
null
null
null
Y-Engine/Renderer & Math/YEMath/YObb.cpp
Yosbi/YEngine
e9a992919b646f8672c16285b776638ac86f96fa
[ "MIT" ]
null
null
null
//------------------------------------------------------------------------------- // YObb.cpp // Yosbi Alves // yosbito@gmail.com // Copyright (c) 2011 //----------------------------------------------------------------------- // Desc: In this file is the definition of the clases, and methods // YObb class //--...
30.720081
82
0.4414
Yosbi
7fa0d4420a4f16abe70e04c2980e94259d3fe6c6
6,566
cpp
C++
src/PIDController.cpp
rahulsalvi/PIDController
75a8f3735dda752d57c0fba8a12556914f2e5aa8
[ "MIT" ]
null
null
null
src/PIDController.cpp
rahulsalvi/PIDController
75a8f3735dda752d57c0fba8a12556914f2e5aa8
[ "MIT" ]
null
null
null
src/PIDController.cpp
rahulsalvi/PIDController
75a8f3735dda752d57c0fba8a12556914f2e5aa8
[ "MIT" ]
null
null
null
/* The MIT License (MIT) Copyright (c) 2016 Rahul Salvi Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, p...
22.719723
103
0.634328
rahulsalvi
7fa83bb617e528da05444fc8fffa76d25fafa057
2,521
hpp
C++
game_files/game_engine/game_engine.hpp
sakumo7/zpr
7b9cdbec1ff8d8179a96bb6e1e88f54ee84d138e
[ "MIT" ]
null
null
null
game_files/game_engine/game_engine.hpp
sakumo7/zpr
7b9cdbec1ff8d8179a96bb6e1e88f54ee84d138e
[ "MIT" ]
null
null
null
game_files/game_engine/game_engine.hpp
sakumo7/zpr
7b9cdbec1ff8d8179a96bb6e1e88f54ee84d138e
[ "MIT" ]
null
null
null
#ifndef GAME_ENGINE_HPP #define GAME_ENGINE_HPP #include "../typedefs.hpp" #include "../tcp/tcp.hpp" #include "../game_state/game_state.hpp" #include <string> #include <boost/regex.hpp> #include <iostream> #include <memory> #include <vector> #include <thread> #include <queue> /** * \class GameEngine * * Definicja ...
25.989691
105
0.689409
sakumo7
7fa9e7dbdab74bafeba3d270798ff3c6c1477ea1
6,212
cc
C++
src/pfs_core/pfs_trace.cc
qiuyuhang/PolarDB-FileSystem
a18067ef9294c2f509decd80b2b9231c9f950e21
[ "Apache-2.0" ]
35
2021-11-08T03:24:50.000Z
2022-03-24T12:39:12.000Z
src/pfs_core/pfs_trace.cc
qiuyuhang/PolarDB-FileSystem
a18067ef9294c2f509decd80b2b9231c9f950e21
[ "Apache-2.0" ]
2
2021-11-30T02:29:53.000Z
2022-03-17T06:57:53.000Z
src/pfs_core/pfs_trace.cc
qiuyuhang/PolarDB-FileSystem
a18067ef9294c2f509decd80b2b9231c9f950e21
[ "Apache-2.0" ]
18
2021-11-08T08:43:06.000Z
2022-02-28T09:38:09.000Z
/* * Copyright (c) 2017-2021, Alibaba Group Holding Limited * 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 applica...
22.754579
81
0.678042
qiuyuhang
7faca1396aa5321b9fa33aea232d82d5593a73c0
1,258
cpp
C++
UVaOnlineJudge/Problem_Set_Volumes_(100...1999)/Volume4(400-499)/495/code.cpp
luiscbr92/algorithmic-challenges
bc35729e54e4284e9ade1aa61b51a1c2d72aa62c
[ "MIT" ]
3
2015-10-21T18:56:43.000Z
2017-06-06T10:44:22.000Z
UVaOnlineJudge/Problem_Set_Volumes_(100...1999)/Volume4(400-499)/495/code.cpp
luiscbr92/algorithmic-challenges
bc35729e54e4284e9ade1aa61b51a1c2d72aa62c
[ "MIT" ]
null
null
null
UVaOnlineJudge/Problem_Set_Volumes_(100...1999)/Volume4(400-499)/495/code.cpp
luiscbr92/algorithmic-challenges
bc35729e54e4284e9ade1aa61b51a1c2d72aa62c
[ "MIT" ]
null
null
null
#include <iostream> #include <string> #include <vector> using namespace std; string sum(string a, string b){ string result = ""; int carry_over = 0; int index_a = a.size() -1; int index_b = b.size() -1; int a_digit, b_digit, amount; while(index_a > -1 || index_b > -1 || carry_over != 0){ ...
22.070175
101
0.558029
luiscbr92
7facbde9579211d221d0cdc34e7d6e5ffb7bad3e
657
cpp
C++
Quicksort.cpp
amitsat27/hacktoberfest2021-1
8b11a7f64cab279cda0e13f55853f260b1f24987
[ "CC0-1.0" ]
null
null
null
Quicksort.cpp
amitsat27/hacktoberfest2021-1
8b11a7f64cab279cda0e13f55853f260b1f24987
[ "CC0-1.0" ]
null
null
null
Quicksort.cpp
amitsat27/hacktoberfest2021-1
8b11a7f64cab279cda0e13f55853f260b1f24987
[ "CC0-1.0" ]
null
null
null
//QUICK SORT #include<bits/stdc++.h> using namespace std; int partition(int arr[], int l,int r){ int pivot=arr[r]; int i=l-1; for(int j=l;j<r;j++){ if(arr[j]<pivot){ i++;swap(arr[i],arr[j]); } } swap(arr[i+1],arr[r]); return i+1; } void quicksort(int arr[]...
16.846154
43
0.47032
amitsat27
7fb0d676f768bd4ac6ea7241c2a910be474f5a4a
12,144
cpp
C++
subsetting_strategies.cpp
mikemag/Mastermind
d32a4bbe62600a3dc257b6b692df64f2afbc8575
[ "MIT" ]
null
null
null
subsetting_strategies.cpp
mikemag/Mastermind
d32a4bbe62600a3dc257b6b692df64f2afbc8575
[ "MIT" ]
null
null
null
subsetting_strategies.cpp
mikemag/Mastermind
d32a4bbe62600a3dc257b6b692df64f2afbc8575
[ "MIT" ]
null
null
null
// Copyright (c) Michael M. Magruder (https://github.com/mikemag) // // This source code is licensed under the MIT license found in the // LICENSE file in the root directory of this source tree. #include "utils.hpp" using namespace std; // -----------------------------------------------------------------------------...
40.888889
119
0.637846
mikemag
7fb6379cb36d3266964954e61cbe62c202000f8b
3,889
hpp
C++
sol/state.hpp
a1ien/sol2
358c34e5e978524d7c0dbf3f69987f57dfb30da6
[ "MIT" ]
null
null
null
sol/state.hpp
a1ien/sol2
358c34e5e978524d7c0dbf3f69987f57dfb30da6
[ "MIT" ]
null
null
null
sol/state.hpp
a1ien/sol2
358c34e5e978524d7c0dbf3f69987f57dfb30da6
[ "MIT" ]
null
null
null
// sol2 // The MIT License (MIT) // Copyright (c) 2013-2017 Rapptz, ThePhD and contributors // 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 limit...
36.009259
122
0.732322
a1ien
7fbadb2439d8fa21192433febe174d13f810249a
7,562
cpp
C++
RenderDrivers/GL/src/GLMaterial.cpp
katoun/kg_engine
fdcc6ec01b191d07cedf7a8d6c274166e25401a8
[ "Unlicense" ]
2
2015-04-21T05:36:12.000Z
2017-04-16T19:31:26.000Z
RenderDrivers/GL/src/GLMaterial.cpp
katoun/kg_engine
fdcc6ec01b191d07cedf7a8d6c274166e25401a8
[ "Unlicense" ]
null
null
null
RenderDrivers/GL/src/GLMaterial.cpp
katoun/kg_engine
fdcc6ec01b191d07cedf7a8d6c274166e25401a8
[ "Unlicense" ]
null
null
null
/* ----------------------------------------------------------------------------- KG game engine (http://katoun.github.com/kg_engine) is made available under the MIT License. Copyright (c) 2006-2013 Catalin Alexandru Nastase Permission is hereby granted, free of charge, to any person obtaining a copy of this software ...
28.535849
134
0.720709
katoun
7fc764fc3925bb75b0599800665eb75bbb34afe0
3,374
cpp
C++
Source/Driver/API/SQLSetEnvAttr.cpp
yichenghuang/bigobject-odbc
c6d947ea3d18d79684adfbac1c492282a075d48d
[ "MIT" ]
null
null
null
Source/Driver/API/SQLSetEnvAttr.cpp
yichenghuang/bigobject-odbc
c6d947ea3d18d79684adfbac1c492282a075d48d
[ "MIT" ]
null
null
null
Source/Driver/API/SQLSetEnvAttr.cpp
yichenghuang/bigobject-odbc
c6d947ea3d18d79684adfbac1c492282a075d48d
[ "MIT" ]
null
null
null
/* * ---------------------------------------------------------------------------- * Copyright (c) 2014-2015 BigObject Inc. * All Rights Reserved. * * Use of, copying, modifications to, and distribution of this software * and its documentation without BigObject's written permission can * result in the violation o...
30.125
79
0.681387
yichenghuang
7fca7b67177c2caceae05b66056875ec0885b75e
2,148
hxx
C++
Legolas/Algorithm/ATLASDenseMatrixVectorProduct.hxx
LaurentPlagne/Legolas
fdf533528baf7ab5fcb1db15d95d2387b3e3723c
[ "MIT" ]
null
null
null
Legolas/Algorithm/ATLASDenseMatrixVectorProduct.hxx
LaurentPlagne/Legolas
fdf533528baf7ab5fcb1db15d95d2387b3e3723c
[ "MIT" ]
null
null
null
Legolas/Algorithm/ATLASDenseMatrixVectorProduct.hxx
LaurentPlagne/Legolas
fdf533528baf7ab5fcb1db15d95d2387b3e3723c
[ "MIT" ]
1
2021-02-11T14:43:25.000Z
2021-02-11T14:43:25.000Z
/** * project DESCARTES * * @file ATLASDenseMatrixVectorProduct.hxx * * @author Laurent PLAGNE * @date june 2004 - january 2005 * * @par Modifications * - author date object * * (c) Copyright EDF R&D - CEA 2001-2005 */ #ifndef __LEGOLAS_ATLASDENSEMATRIXVECTORPRODUCT_HXX__ #define __LEGOLAS_ATLASD...
20.653846
89
0.684823
LaurentPlagne
7fcc2a0db0e38216a3a5ccef9bf3ea085aa562e7
620
cpp
C++
ACM-ICPC/16288.cpp
KimBoWoon/ACM-ICPC
146c36999488af9234d73f7b4b0c10d78486604f
[ "MIT" ]
null
null
null
ACM-ICPC/16288.cpp
KimBoWoon/ACM-ICPC
146c36999488af9234d73f7b4b0c10d78486604f
[ "MIT" ]
null
null
null
ACM-ICPC/16288.cpp
KimBoWoon/ACM-ICPC
146c36999488af9234d73f7b4b0c10d78486604f
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int person[101]; stack<int> s[101]; int main() { int n, k; scanf("%d %d", &n, &k); for(int i = 0; i < n; i++) { scanf("%d", &person[i]); } reverse(person, person + n); for(int i = 0; i < 100; i++) { s[i].push(101)...
15.5
33
0.375806
KimBoWoon
7fd092f85796b17743f720381aa2db2a0903e82e
2,569
cpp
C++
src/TableIndexer.cpp
NDelt/Mini-Search-Engine
c7c64a7d365e5112e0a6eb320d3ff3e399bd9e18
[ "Apache-2.0" ]
null
null
null
src/TableIndexer.cpp
NDelt/Mini-Search-Engine
c7c64a7d365e5112e0a6eb320d3ff3e399bd9e18
[ "Apache-2.0" ]
null
null
null
src/TableIndexer.cpp
NDelt/Mini-Search-Engine
c7c64a7d365e5112e0a6eb320d3ff3e399bd9e18
[ "Apache-2.0" ]
1
2019-04-11T03:02:05.000Z
2019-04-11T03:02:05.000Z
#include "TableIndexer.hpp" /** * 역색인 테이블 생성기 * 1) CSV 파싱 * 2) 'BASIC QUALIFICATIONS' 컬럼에 대해 토큰 단위로 문자열 파싱 * 3) 문자열 파싱 후 반환되는 vector를 순회하며 (토큰, ID) 형식으로 해시 테이블에 데이터 추가 */ void TableIndexer::createIndex(const std::string& filePath, HashMap& hashMap) { clock_t start, end, loopStart, loopEnd; double result;...
32.1125
124
0.474114
NDelt
7fd2d7d17449a143010ed5bcd33add9faa85b1bf
11,537
cpp
C++
IccProfLib/IccPcc.cpp
petervwyatt/DemoIccMAX
f07a85a87269a7c0c4507012ea9f547edca723e6
[ "RSA-MD" ]
56
2016-02-24T20:43:57.000Z
2021-02-06T04:31:34.000Z
IccProfLib/IccPcc.cpp
petervwyatt/DemoIccMAX
f07a85a87269a7c0c4507012ea9f547edca723e6
[ "RSA-MD" ]
24
2016-02-01T16:50:58.000Z
2021-01-17T03:51:00.000Z
IccProfLib/IccPcc.cpp
petervwyatt/DemoIccMAX
f07a85a87269a7c0c4507012ea9f547edca723e6
[ "RSA-MD" ]
25
2016-02-02T15:26:09.000Z
2020-10-05T07:21:19.000Z
/** @file File: IccPcc.cpp Contains: Implementation of the IIccProfileConnectionConditions interface class. Version: V1 Copyright: (c) see ICC Software License */ /* * The ICC Software License, Version 0.2 * * * Copyright (c) 2003-2012 The International Color Consortium. All rights ...
28.699005
146
0.698362
petervwyatt
8f16dcdf4469a82484e7ebb4932249d97c61901a
1,860
hpp
C++
src/base/include/scripts/behaviour_script.hpp
N4G170/generic
29c8be184b1420b811e2a3db087f9bd6b76ed8bf
[ "MIT" ]
null
null
null
src/base/include/scripts/behaviour_script.hpp
N4G170/generic
29c8be184b1420b811e2a3db087f9bd6b76ed8bf
[ "MIT" ]
null
null
null
src/base/include/scripts/behaviour_script.hpp
N4G170/generic
29c8be184b1420b811e2a3db087f9bd6b76ed8bf
[ "MIT" ]
null
null
null
#ifndef BEHAVIOUR_SCRIPT_HPP #define BEHAVIOUR_SCRIPT_HPP #include "script.hpp" class BehaviourScript : public Script { public: //<f> Constructors & operator= /** brief Default constructor */ BehaviourScript() : Script{}, m_input_event{} {} /** brief Default destructor */ v...
29.52381
134
0.568817
N4G170
8f1820ee1e7f321c33bc7a0da2708585b1656a87
693
hpp
C++
include/Core/Mathf.hpp
Ursanon/RayTracing
8cc51b9b7845ccd2ef99704d7cfebc301f36b315
[ "MIT" ]
2
2020-01-06T14:31:16.000Z
2020-01-07T08:15:51.000Z
include/Core/Mathf.hpp
Ursanon/RayTracing
8cc51b9b7845ccd2ef99704d7cfebc301f36b315
[ "MIT" ]
null
null
null
include/Core/Mathf.hpp
Ursanon/RayTracing
8cc51b9b7845ccd2ef99704d7cfebc301f36b315
[ "MIT" ]
null
null
null
#ifndef MATHF_HPP_ #define MATHF_HPP_ #include "Core/Vector3.hpp" namespace rt { namespace mathf { static constexpr float PI = 3.14159265358979f; float clamp(const float& value, const float& min, const float& max); float clamp01(const float& value); float lerp(const float& a, const float& b, const...
21.65625
78
0.678211
Ursanon
8f1cd44c1eb759fa35bf34a340e431fe4dc1a4fb
14,367
cpp
C++
matlab/panoContext_code/Toolbox/SketchTokens-master/toolbox/channels/private/gradientMex.cpp
imamik/LayoutNet
f68eb214e793b9786f2582f9244bac4f8f98a816
[ "MIT" ]
380
2018-02-23T02:58:35.000Z
2022-03-21T06:34:33.000Z
matlab/panoContext_code/Toolbox/SketchTokens-master/toolbox/channels/private/gradientMex.cpp
imamik/LayoutNet
f68eb214e793b9786f2582f9244bac4f8f98a816
[ "MIT" ]
36
2018-04-11T03:49:42.000Z
2021-01-21T01:25:47.000Z
matlab/panoContext_code/Toolbox/SketchTokens-master/toolbox/channels/private/gradientMex.cpp
imamik/LayoutNet
f68eb214e793b9786f2582f9244bac4f8f98a816
[ "MIT" ]
94
2018-02-25T05:23:51.000Z
2022-02-11T02:00:47.000Z
/******************************************************************************* * Piotr's Image&Video Toolbox Version 3.00 * Copyright 2012 Piotr Dollar & Ron Appel. [pdollar-at-caltech.edu] * Please email me if you find bugs, or have suggestions or questions! * Licensed under the Simplified BSD License [see...
45.46519
81
0.545347
imamik
8f1e4115eb5239c7700383c1296f7c3df9e55f66
1,543
cpp
C++
Framework/Common/Scene.cpp
lishaojiang/GameEngineFromScratch
7769d3916a9ffabcfdaddeba276fdf964d8a86ee
[ "MIT" ]
1,217
2017-08-18T02:41:11.000Z
2022-03-30T01:48:46.000Z
Framework/Common/Scene.cpp
lishaojiang/GameEngineFromScratch
7769d3916a9ffabcfdaddeba276fdf964d8a86ee
[ "MIT" ]
16
2017-09-05T15:04:37.000Z
2021-09-09T13:59:38.000Z
Framework/Common/Scene.cpp
lishaojiang/GameEngineFromScratch
7769d3916a9ffabcfdaddeba276fdf964d8a86ee
[ "MIT" ]
285
2017-08-18T04:53:55.000Z
2022-03-30T00:02:15.000Z
#include "Scene.hpp" using namespace My; using namespace std; shared_ptr<SceneObjectCamera> Scene::GetCamera(const std::string& key) const { auto i = Cameras.find(key); if (i == Cameras.end()) { return nullptr; } return i->second; } shared_ptr<SceneObjectLight> Scene::GetLight(const std::str...
25.295082
79
0.642255
lishaojiang
8f21f0fcc56d16472b85a71bf04761558672f9d6
1,365
cpp
C++
snap/eclipse-workspace/CMPE320_prototype1/src/CookBook.cpp
ETSnider/PantryPal
8239c37701497195878ec07db37ccca61b23d2bb
[ "MIT" ]
null
null
null
snap/eclipse-workspace/CMPE320_prototype1/src/CookBook.cpp
ETSnider/PantryPal
8239c37701497195878ec07db37ccca61b23d2bb
[ "MIT" ]
null
null
null
snap/eclipse-workspace/CMPE320_prototype1/src/CookBook.cpp
ETSnider/PantryPal
8239c37701497195878ec07db37ccca61b23d2bb
[ "MIT" ]
null
null
null
#include <iostream> #include <string> #include "curl/curl.h" #include "CookBook.h" using namespace std; size_t CookBook::jsonStore(char *data, size_t size, size_t nmemb, std::string *buffer_in) { if (buffer_in != NULL) { // Append the data to the buffer buffer_in->append(data, siz...
30.333333
135
0.627839
ETSnider
8f2681bacb7b8b1a14831f640dd17f67c4523c3b
3,224
cpp
C++
src/vkfw_core/gfx/vk/rt/TopLevelAccelerationStructure.cpp
dasmysh/VulkanFramework_Lib
baeaeb3158d23187f2ffa5044e32d8a5145284aa
[ "MIT" ]
null
null
null
src/vkfw_core/gfx/vk/rt/TopLevelAccelerationStructure.cpp
dasmysh/VulkanFramework_Lib
baeaeb3158d23187f2ffa5044e32d8a5145284aa
[ "MIT" ]
null
null
null
src/vkfw_core/gfx/vk/rt/TopLevelAccelerationStructure.cpp
dasmysh/VulkanFramework_Lib
baeaeb3158d23187f2ffa5044e32d8a5145284aa
[ "MIT" ]
null
null
null
/** * @file TopLevelAccelerationStructure.cpp * @author Sebastian Maisch <sebastian.maisch@googlemail.com> * @date 2020.11.22 * * @brief Implementation of the top level acceleration structure. */ #include "gfx/vk/rt/TopLevelAccelerationStructure.h" namespace vkfw_core::gfx::rt { TopLevelAccelerationSt...
42.986667
117
0.674007
dasmysh
8f2deded733a34983b8dd130499b2a5b23a713d0
3,136
cpp
C++
source/graphics/texture.cpp
TheCandianVendingMachine/TacticalShooter
3ef34a0cb7be3db75e31e19b3ed3e3ff3804f67f
[ "MIT" ]
null
null
null
source/graphics/texture.cpp
TheCandianVendingMachine/TacticalShooter
3ef34a0cb7be3db75e31e19b3ed3e3ff3804f67f
[ "MIT" ]
null
null
null
source/graphics/texture.cpp
TheCandianVendingMachine/TacticalShooter
3ef34a0cb7be3db75e31e19b3ed3e3ff3804f67f
[ "MIT" ]
null
null
null
#include "texture.hpp" #include <stb_image.h> #include <glad/glad.h> #include <utility> void texture::loadFromMemoryInternal(unsigned char *pixels, bool useSRGB) { glGenTextures(1, &m_id); glBindTexture(GL_TEXTURE_2D, m_id); glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_REPEAT); ...
29.866667
117
0.539222
TheCandianVendingMachine
8f30bbcccb1590e21c60c0666869d0ea9baa0d33
19,940
cpp
C++
lib/AFE-APIs/AFE-API-MQTT-Standard.cpp
lukasz-pekala/AFE-Firmware
59e10dd2f9665ba816c22905e63eaa60ec8fda09
[ "MIT" ]
null
null
null
lib/AFE-APIs/AFE-API-MQTT-Standard.cpp
lukasz-pekala/AFE-Firmware
59e10dd2f9665ba816c22905e63eaa60ec8fda09
[ "MIT" ]
null
null
null
lib/AFE-APIs/AFE-API-MQTT-Standard.cpp
lukasz-pekala/AFE-Firmware
59e10dd2f9665ba816c22905e63eaa60ec8fda09
[ "MIT" ]
null
null
null
/* AFE Firmware for smart home devices, Website: https://afe.smartnydom.pl/ */ #include "AFE-API-MQTT-Standard.h" #ifndef AFE_CONFIG_API_DOMOTICZ_ENABLED AFEAPIMQTTStandard::AFEAPIMQTTStandard() : AFEAPI(){}; #ifdef AFE_CONFIG_HARDWARE_LED void AFEAPIMQTTStandard::begin(AFEDataAccess *Data, AFEDevice *Device, ...
30.489297
80
0.683751
lukasz-pekala
8f32b6f0fa3f7058f2ba2296338d8bab8e45641f
1,000
cpp
C++
0155_Min Stack.cpp
RickTseng/Cpp_LeetCode
6a710b8abc268eba767bc17d91d046b90a7e34a9
[ "MIT" ]
1
2021-09-13T00:58:59.000Z
2021-09-13T00:58:59.000Z
0155_Min Stack.cpp
RickTseng/Cpp_LeetCode
6a710b8abc268eba767bc17d91d046b90a7e34a9
[ "MIT" ]
null
null
null
0155_Min Stack.cpp
RickTseng/Cpp_LeetCode
6a710b8abc268eba767bc17d91d046b90a7e34a9
[ "MIT" ]
null
null
null
#include <vector> #include <stdio.h> #include <stdlib.h> #include <string> #include <map> #include <algorithm> #include <stack> using namespace std; class MinStack { public: stack<pair<int,int>> rec; MinStack() { } void push(int val) { if(rec.empty()||rec.top().second>=val){ ...
19.607843
84
0.54
RickTseng
8f366a1d514f1fc6c8f8f1d16e6c6e2e56c1e447
1,177
cpp
C++
codeforces/gym/PSUT Coding Marathon 2019/g.cpp
tysm/cpsols
262212646203e516d1706edf962290de93762611
[ "MIT" ]
4
2020-10-05T19:24:10.000Z
2021-07-15T00:45:43.000Z
codeforces/gym/PSUT Coding Marathon 2019/g.cpp
tysm/cpsols
262212646203e516d1706edf962290de93762611
[ "MIT" ]
null
null
null
codeforces/gym/PSUT Coding Marathon 2019/g.cpp
tysm/cpsols
262212646203e516d1706edf962290de93762611
[ "MIT" ]
null
null
null
#include <cpplib/stdinc.hpp> int32_t main(){ desync(); int n, b; cin >> n >> b; set<int> st; for(int i=0; i<b; ++i) st.insert(i); vi arr(n); int rep = 0; map<int, int> cnt; for(int &i:arr){ cin >> i; st.erase(i); cnt[i]++; if(cnt[i] == 2) ...
18.107692
38
0.373832
tysm
8f3a4296444341957903dddfbc0933a8848de5a0
35
hpp
C++
src/boost_static_assert.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
10
2018-03-17T00:58:42.000Z
2021-07-06T02:48:49.000Z
src/boost_static_assert.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
2
2021-03-26T15:17:35.000Z
2021-05-20T23:55:08.000Z
src/boost_static_assert.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
4
2019-05-28T21:06:37.000Z
2021-07-06T03:06:52.000Z
#include <boost/static_assert.hpp>
17.5
34
0.8
miathedev
8f40a6e2659a5f1ab86b44133b9e11fb73f31649
1,776
cpp
C++
test/type_traits/add_rvalue_reference_test.cpp
nekko1119/nek
be43faf5c541fa067ab1e1bcb7a43ebcfefe34e7
[ "BSD-3-Clause" ]
null
null
null
test/type_traits/add_rvalue_reference_test.cpp
nekko1119/nek
be43faf5c541fa067ab1e1bcb7a43ebcfefe34e7
[ "BSD-3-Clause" ]
null
null
null
test/type_traits/add_rvalue_reference_test.cpp
nekko1119/nek
be43faf5c541fa067ab1e1bcb7a43ebcfefe34e7
[ "BSD-3-Clause" ]
null
null
null
#include <nek/type_traits/add_rvalue_reference.hpp> #include <gtest/gtest.h> #include "static_assert.hpp" TEST(add_rvalue_reference_test, normal) { // non-spec, lref, rref STATIC_ASSERT_EQ(nek::add_rvalue_reference<int>::type, int&&); STATIC_ASSERT_EQ(nek::add_rvalue_reference<int&>::type, int&); STAT...
48
98
0.736486
nekko1119
8f427b7b609e5b6bb7713da937170ccd47daf325
721
cpp
C++
Algorithms/04-MST/MST/main.cpp
Dinlon5566/CS-learning
e83920b761f487af3ca37811497e795ec01077c7
[ "MIT" ]
null
null
null
Algorithms/04-MST/MST/main.cpp
Dinlon5566/CS-learning
e83920b761f487af3ca37811497e795ec01077c7
[ "MIT" ]
null
null
null
Algorithms/04-MST/MST/main.cpp
Dinlon5566/CS-learning
e83920b761f487af3ca37811497e795ec01077c7
[ "MIT" ]
null
null
null
#include <iostream> #include "bits/stdc++.h" using namespace std; struct edge{ int x,y; int cost; }; int cmp(edge e1,edge e2){ return e1.cost<e2.cost; } int findCost(vector<int>& graph,int n){ if(graph[n]==n) return n; return 0; } int main() { int m,n; cin>>m>>n;//m=edge count,n...
15.340426
41
0.51595
Dinlon5566
8f4682ce749e72ae89d9a6d4a8dfea693fb3b0e7
979
cpp
C++
myApps/mylibs/Range.cpp
room7364/EVcalculator
958bd1dd3453ab07939c2783b154181ed2ccdbf7
[ "Zlib", "0BSD" ]
null
null
null
myApps/mylibs/Range.cpp
room7364/EVcalculator
958bd1dd3453ab07939c2783b154181ed2ccdbf7
[ "Zlib", "0BSD" ]
null
null
null
myApps/mylibs/Range.cpp
room7364/EVcalculator
958bd1dd3453ab07939c2783b154181ed2ccdbf7
[ "Zlib", "0BSD" ]
null
null
null
#include "../mylibs/HodlemCalc.h" namespace hc { void Range::gethands(std::string& require) { omp::CardRange range(require); comblist combs = range.combinations(); for (int i = 0; i < combs.size(); i++) { std::string comb = combtostring(combs[i]); addhand(comb, 0.0)...
33.758621
94
0.52809
room7364
8f4a16efa26cfe6874a74b655b2eb0e4287d16a0
12,022
cpp
C++
Nebula-Storm/src/EditorLayer.cpp
GalacticKittenSS/Nebula
1620a1dab815d6721b1ae1e3e390ae16313309da
[ "Apache-2.0" ]
3
2021-11-21T21:05:44.000Z
2021-12-27T20:44:08.000Z
Nebula-Storm/src/EditorLayer.cpp
GalacticKittenSS/Nebula
1620a1dab815d6721b1ae1e3e390ae16313309da
[ "Apache-2.0" ]
null
null
null
Nebula-Storm/src/EditorLayer.cpp
GalacticKittenSS/Nebula
1620a1dab815d6721b1ae1e3e390ae16313309da
[ "Apache-2.0" ]
null
null
null
#include "EditorLayer.h" namespace Nebula { extern const std::filesystem::path s_AssetPath = "assets"; EditorLayer::EditorLayer() : Layer("Editor") { } void EditorLayer::Attach() { NB_PROFILE_FUNCTION(); m_PlayIcon = Texture2D::Create("Resources/Icons/PlayButton.png"); m_StopIcon = Texture2D::Create("Resou...
31.553806
162
0.708451
GalacticKittenSS
8f4afcf80ff9c86669cef010ede171adf81acf63
48,325
hpp
C++
test/unittests/lib/validator/validate_Instr_Control_unittest.hpp
yuhao-kuo/WasmVM
b4dcd4f752f07ba4180dc275d47764c363776301
[ "BSD-3-Clause" ]
125
2018-10-22T19:00:25.000Z
2022-03-14T06:33:25.000Z
test/unittests/lib/validator/validate_Instr_Control_unittest.hpp
yuhao-kuo/WasmVM
b4dcd4f752f07ba4180dc275d47764c363776301
[ "BSD-3-Clause" ]
80
2018-10-18T06:35:07.000Z
2020-04-20T02:40:22.000Z
test/unittests/lib/validator/validate_Instr_Control_unittest.hpp
yuhao-kuo/WasmVM
b4dcd4f752f07ba4180dc275d47764c363776301
[ "BSD-3-Clause" ]
27
2018-11-04T12:05:35.000Z
2021-09-06T05:11:50.000Z
#include <skypat/skypat.h> #define _Bool bool extern "C" { #include <stdint.h> #include <stdlib.h> #include <dataTypes/Value.h> #include <dataTypes/vector_p.h> #include <dataTypes/stack_p.h> #include <dataTypes/FuncType.h> #include <structures/instrs/Control.h> #include <structures/WasmFunc.h> #include <structures/Was...
31.750986
77
0.691278
yuhao-kuo
8f4cfc93e5f38c6b768bad606f7860ce54e1022f
3,311
cpp
C++
src/GVis/RenderTextureTarget.cpp
matthew-reid/Graphtane
3148039993da185cfb328f89b96c9e5a5b384197
[ "MIT" ]
38
2015-01-01T05:55:38.000Z
2022-03-12T23:19:50.000Z
src/GVis/RenderTextureTarget.cpp
matthew-reid/Graphtane
3148039993da185cfb328f89b96c9e5a5b384197
[ "MIT" ]
1
2019-07-29T21:48:40.000Z
2020-01-13T12:08:08.000Z
src/GVis/RenderTextureTarget.cpp
matthew-reid/Graphtane
3148039993da185cfb328f89b96c9e5a5b384197
[ "MIT" ]
8
2016-04-22T06:41:47.000Z
2021-11-23T23:44:22.000Z
// Copyright (c) 2013-2014 Matthew Paul Reid // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, modify, merge, p...
33.11
149
0.783449
matthew-reid
8f4e9848506820c86aaf976a1fd9f58a01caa48d
9,447
cc
C++
src/scripting-v8.cc
h0x91b/redis
76b25a2546ed457265df32bee905006eafbad0e5
[ "BSD-3-Clause" ]
null
null
null
src/scripting-v8.cc
h0x91b/redis
76b25a2546ed457265df32bee905006eafbad0e5
[ "BSD-3-Clause" ]
null
null
null
src/scripting-v8.cc
h0x91b/redis
76b25a2546ed457265df32bee905006eafbad0e5
[ "BSD-3-Clause" ]
null
null
null
#include "scripting-v8.h" extern "C" { #include "server.h" #include "cluster.h" } #include <stdio.h> #include <stdlib.h> #include <string.h> #include "libplatform/libplatform.h" #include "v8.h" #include "../deps/hiredis/hiredis.h" using namespace v8; v8::Platform* platform; sds wrapped_script; Isolate* isol...
33.264085
160
0.614057
h0x91b
8f5043e17e6c193b0aa74680cf975a43c80b2b56
89,815
hpp
C++
Blocks/Game/Assets/bh22.hpp
salindersidhu/Blocks
b36c916717873cf43e61afb4e978d65025953a33
[ "MIT" ]
5
2018-06-16T06:54:59.000Z
2021-12-23T15:24:42.000Z
Blocks/Game/Assets/bh22.hpp
salindersidhu/Blocks
b36c916717873cf43e61afb4e978d65025953a33
[ "MIT" ]
1
2016-01-15T08:04:18.000Z
2016-01-15T08:04:18.000Z
Blocks/Game/Assets/bh22.hpp
SalinderSidhu/Blocks
b36c916717873cf43e61afb4e978d65025953a33
[ "MIT" ]
null
null
null
#ifndef BH22_HPP #define BH22_HPP static const unsigned char bh22[] = { 0x89, 0x50, 0x4E, 0x47, 0x0D, 0x0A, 0x1A, 0x0A, 0x00, 0x00, 0x00, 0x0D, 0x49, 0x48, 0x44, 0x52, 0x00, 0x00, 0x00, 0x83, 0x00, 0x00, 0x00, 0x39, 0x08, 0x06, 0x00, 0x00, 0x00, 0x15, 0xCC, 0x98, 0x75, 0x00, 0x00, 0x00, 0x09, 0x70, 0x48, 0x59, 0x73...
238.236074
241
0.661226
salindersidhu
8f554b17373363848ba03cadd47a7a4c9663306a
111
cpp
C++
source/ashes/renderer/GlRenderer/Core/GlIcdObject.cpp
DragonJoker/Ashes
a6ed950b3fd8fb9626c60b4291fbd52ea75ac66e
[ "MIT" ]
227
2018-09-17T16:03:35.000Z
2022-03-19T02:02:45.000Z
source/ashes/renderer/GlRenderer/Core/GlIcdObject.cpp
DragonJoker/RendererLib
0f8ad8edec1b0929ebd10247d3dd0a9ee8f8c91a
[ "MIT" ]
39
2018-02-06T22:22:24.000Z
2018-08-29T07:11:06.000Z
source/ashes/renderer/GlRenderer/Core/GlIcdObject.cpp
DragonJoker/Ashes
a6ed950b3fd8fb9626c60b4291fbd52ea75ac66e
[ "MIT" ]
8
2019-05-04T10:33:32.000Z
2021-04-05T13:19:27.000Z
/** *\author * Sylvain Doremus */ #include "renderer/GlRenderer/Core/GlIcdObject.hpp" namespace ashes::gl { }
11.1
51
0.711712
DragonJoker
8f5a120f2d8abb9e0329b3b1401a8c971b138b82
3,282
hpp
C++
src/matching.hpp
HE-Xinyu/algorithms
009b8a9786192001dab0ce48bf8088a5ff62556e
[ "MIT" ]
1
2020-06-11T11:44:40.000Z
2020-06-11T11:44:40.000Z
src/matching.hpp
HE-Xinyu/algorithms
009b8a9786192001dab0ce48bf8088a5ff62556e
[ "MIT" ]
null
null
null
src/matching.hpp
HE-Xinyu/algorithms
009b8a9786192001dab0ce48bf8088a5ff62556e
[ "MIT" ]
1
2021-01-28T12:30:08.000Z
2021-01-28T12:30:08.000Z
#include <vector> #include <unordered_set> #include "max_flow.hpp" #pragma once using std::vector; using std::pair; using std::unordered_set; class MaximumBipartiteMatching { public: using Edges = vector<pair<int, int>>; /* * elements are edges (u, v) in E. * * It does not need to be (x, y). (...
29.303571
114
0.462523
HE-Xinyu
8f5c17999d992a1091bb3bf968c1a82f0831db3a
2,496
cpp
C++
AdamAttack/src/utilities.cpp
TheAdamProject/adams
697cf865725229335c860fe034d02637dbb5deb3
[ "MIT" ]
15
2021-02-23T19:47:15.000Z
2022-02-17T17:23:13.000Z
AdamAttack/src/utilities.cpp
TheAdamProject/adams
697cf865725229335c860fe034d02637dbb5deb3
[ "MIT" ]
1
2021-12-13T07:15:13.000Z
2021-12-22T14:38:42.000Z
AdamAttack/src/utilities.cpp
TheAdamProject/adams
697cf865725229335c860fe034d02637dbb5deb3
[ "MIT" ]
2
2022-02-15T07:05:30.000Z
2022-02-17T17:29:59.000Z
#include "utilities.h" void *Malloc(size_t sz, const char *name) { void *ptr; ptr = malloc(sz); if (!ptr) { fprintf(stderr, "Cannot allocate %zu bytes for %s\n\n", sz, name); exit(EXIT_FAILURE); } return ptr; } void *Calloc(size_t nmemb, size_t size, const char *name){ void *...
21.704348
90
0.564904
TheAdamProject
8f64237be4d822ab784aca49bd0ad286d2fc30af
15,434
cpp
C++
export/windows/obj/src/flixel/math/FlxAngle.cpp
seanbashaw/frozenlight
47c540d30d63e946ea2dc787b4bb602cc9347d21
[ "MIT" ]
null
null
null
export/windows/obj/src/flixel/math/FlxAngle.cpp
seanbashaw/frozenlight
47c540d30d63e946ea2dc787b4bb602cc9347d21
[ "MIT" ]
null
null
null
export/windows/obj/src/flixel/math/FlxAngle.cpp
seanbashaw/frozenlight
47c540d30d63e946ea2dc787b4bb602cc9347d21
[ "MIT" ]
null
null
null
// Generated by Haxe 3.4.7 #include <hxcpp.h> #ifndef INCLUDED_95f339a1d026d52c #define INCLUDED_95f339a1d026d52c #include "hxMath.h" #endif #ifndef INCLUDED_flixel_FlxBasic #include <flixel/FlxBasic.h> #endif #ifndef INCLUDED_flixel_FlxCamera #include <flixel/FlxCamera.h> #endif #ifndef INCLUDED_flixel_FlxG #include ...
39.676093
207
0.69308
seanbashaw
8f69113c165724b1a4315ce911c755ebb5908fb5
1,963
hxx
C++
live555/test/h264_subsession.hxx
triminalt/snippets
ced19012a55b0cc8e5fcd33fe3fc4947cb399366
[ "MIT" ]
1
2017-01-29T16:14:23.000Z
2017-01-29T16:14:23.000Z
live555/test/h264_subsession.hxx
triminalt/snippets
ced19012a55b0cc8e5fcd33fe3fc4947cb399366
[ "MIT" ]
null
null
null
live555/test/h264_subsession.hxx
triminalt/snippets
ced19012a55b0cc8e5fcd33fe3fc4947cb399366
[ "MIT" ]
null
null
null
// // @author trimnalt AT gmail DOT com // @version initial // @date 2018-07-03 // #ifndef H264_SUBSESSION_HXX #define H264_SUBSESSION_HXX #include <string> #include <memory> #include <OnDemandServerMediaSubsession.hh> #include <H264VideoStreamFramer.hh> #include <H264VideoRTPSink.hh> #include "./h264_pump.hxx" #in...
29.742424
80
0.501274
triminalt
8f6e259e1c954e447098a4f6fdcc4f7c36370c45
54,502
hpp
C++
Source/Tools/alive_api/AOTlvs.hpp
THEONLYDarkShadow/alive_reversing
680d87088023f2d5f2a40c42d6543809281374fb
[ "MIT" ]
1
2021-04-11T23:44:43.000Z
2021-04-11T23:44:43.000Z
Source/Tools/alive_api/AOTlvs.hpp
THEONLYDarkShadow/alive_reversing
680d87088023f2d5f2a40c42d6543809281374fb
[ "MIT" ]
null
null
null
Source/Tools/alive_api/AOTlvs.hpp
THEONLYDarkShadow/alive_reversing
680d87088023f2d5f2a40c42d6543809281374fb
[ "MIT" ]
null
null
null
#pragma once #include "TlvObjectBase.hpp" #include "../AliveLibAO/HoistRocksEffect.hpp" #include "../AliveLibAO/Abe.hpp" #include "../AliveLibAO/Door.hpp" #include "../AliveLibAO/Switch.hpp" #include "../AliveLibAO/DoorLight.hpp" #include "../AliveLibAO/ElectricWall.hpp" #include "../AliveLibAO/Well.hpp" #include "../...
36.701684
229
0.604253
THEONLYDarkShadow
8f76125695a45a68e86f37957b4ab31a9db03fa4
979
cpp
C++
modules/complex-number/test/test_Andrich_Maria_complex_number.cpp
BalovaElena/devtools-course-practice
f8d5774dbb78ec50200c45fd17665ed40fc8c4c5
[ "CC-BY-4.0" ]
null
null
null
modules/complex-number/test/test_Andrich_Maria_complex_number.cpp
BalovaElena/devtools-course-practice
f8d5774dbb78ec50200c45fd17665ed40fc8c4c5
[ "CC-BY-4.0" ]
null
null
null
modules/complex-number/test/test_Andrich_Maria_complex_number.cpp
BalovaElena/devtools-course-practice
f8d5774dbb78ec50200c45fd17665ed40fc8c4c5
[ "CC-BY-4.0" ]
null
null
null
// Copyright 2022 Andrich Maria #include <gtest/gtest.h> #include "include/complex_number.h" TEST(Andrich_Maria_ComplexNumberTest, addition) { double re = 0.0; double im = 0.0; ComplexNumber num(re, im); EXPECT_EQ(re, num.getRe()); EXPECT_EQ(im, num.getIm()); } TEST(Andrich_Maria_ComplexNumberTest, Sum)...
17.8
55
0.657814
BalovaElena
8f788e2be14f32174830c4b227eab817df0b9861
4,577
cpp
C++
disc-fe/src/Panzer_GlobalEvaluationDataContainer.cpp
hillyuan/Panzer
13ece3ea4c145c4d7b6339e3ad6332a501932ea8
[ "BSD-3-Clause" ]
1
2022-03-22T03:49:50.000Z
2022-03-22T03:49:50.000Z
disc-fe/src/Panzer_GlobalEvaluationDataContainer.cpp
hillyuan/Panzer
13ece3ea4c145c4d7b6339e3ad6332a501932ea8
[ "BSD-3-Clause" ]
null
null
null
disc-fe/src/Panzer_GlobalEvaluationDataContainer.cpp
hillyuan/Panzer
13ece3ea4c145c4d7b6339e3ad6332a501932ea8
[ "BSD-3-Clause" ]
null
null
null
// @HEADER // *********************************************************************** // // Panzer: A partial differential equation assembly // engine for strongly coupled complex multiphysics systems // Copyright (2011) Sandia Corporation // // Under the terms of Contract DE-AC04-94AL85...
36.91129
152
0.678829
hillyuan
8f7b44104365e4e421935f84bf8c342c827d1a1f
702
cpp
C++
.Codeforces/Codeforces Round #571 (Div. 2)/C. Vus the Cossack and Strings/C. Vus the Cossack and Strings/C. Vus the Cossack and Strings.cpp
sxweetlollipop2912/MaCode
661d77a2096e4d772fda2b6a7f80c84113b2cde9
[ "MIT" ]
null
null
null
.Codeforces/Codeforces Round #571 (Div. 2)/C. Vus the Cossack and Strings/C. Vus the Cossack and Strings/C. Vus the Cossack and Strings.cpp
sxweetlollipop2912/MaCode
661d77a2096e4d772fda2b6a7f80c84113b2cde9
[ "MIT" ]
null
null
null
.Codeforces/Codeforces Round #571 (Div. 2)/C. Vus the Cossack and Strings/C. Vus the Cossack and Strings/C. Vus the Cossack and Strings.cpp
sxweetlollipop2912/MaCode
661d77a2096e4d772fda2b6a7f80c84113b2cde9
[ "MIT" ]
null
null
null
#include "pch.h" #include <iostream> #include <algorithm> #include <string> #define maxN 1000001 typedef long maxn; typedef std::string str; maxn na, nb, da[maxN], res; str a, b; bool even; void Prepare() { std::cin >> a >> b; na = a.size(); nb = b.size(); for (maxn i = 1; i < na; i++) { da[i] = da[i - 1] + ...
14.625
47
0.519943
sxweetlollipop2912
8f80c838ff86b3a778f6b22384ef7d21882094b1
688
cpp
C++
20160813_ABC043_Complete/c.cpp
miyalab/AtCoder
a57c8a6195463a9a8edd1c3ddd36cc56f145c60d
[ "MIT" ]
null
null
null
20160813_ABC043_Complete/c.cpp
miyalab/AtCoder
a57c8a6195463a9a8edd1c3ddd36cc56f145c60d
[ "MIT" ]
null
null
null
20160813_ABC043_Complete/c.cpp
miyalab/AtCoder
a57c8a6195463a9a8edd1c3ddd36cc56f145c60d
[ "MIT" ]
null
null
null
// インクルード #include <iostream> #include <vector> #include <string> #include <cmath> #include <algorithm> #include <iomanip> // 名前空間省略 using namespace std; // メイン int main() { // 入出力の高速化 ios::sync_with_stdio(false); cin.tie(nullptr); // 表示精度変更 cout << fixed << setprecision(16); int n; ...
15.636364
38
0.472384
miyalab
8f8383e60bbdfaf947e7ee28a2e9f7032078d580
10,370
cpp
C++
src/ui/widget/SourceCodeLocationWidget.cpp
vitorjna/LoggerClient
b447f36224e98919045138bb08a849df211e5491
[ "MIT" ]
null
null
null
src/ui/widget/SourceCodeLocationWidget.cpp
vitorjna/LoggerClient
b447f36224e98919045138bb08a849df211e5491
[ "MIT" ]
null
null
null
src/ui/widget/SourceCodeLocationWidget.cpp
vitorjna/LoggerClient
b447f36224e98919045138bb08a849df211e5491
[ "MIT" ]
null
null
null
#include "SourceCodeLocationWidget.h" #include "application/AppSettings.h" #include "application/GlobalConstants.h" #include "ui/ToastNotificationWidget.h" #include "util/NetworkUtils.h" #include "view/StandardItemView.h" SourceCodeLocationWidget::SourceCodeLocationWidget(QWidget *parent) : QWidget(parent) { s...
38.265683
177
0.708486
vitorjna
8f8473751b532346aab55db7660f6b0ceecd08a1
24,939
cpp
C++
components/scream/src/share/atm_process/atmosphere_process.cpp
ambrad/scream
52da60f65e870b8a3994bdbf4a6022fdcac7cab5
[ "BSD-3-Clause" ]
null
null
null
components/scream/src/share/atm_process/atmosphere_process.cpp
ambrad/scream
52da60f65e870b8a3994bdbf4a6022fdcac7cab5
[ "BSD-3-Clause" ]
null
null
null
components/scream/src/share/atm_process/atmosphere_process.cpp
ambrad/scream
52da60f65e870b8a3994bdbf4a6022fdcac7cab5
[ "BSD-3-Clause" ]
null
null
null
#include "share/atm_process/atmosphere_process.hpp" #include "share/util/scream_timing.hpp" #include "ekat/ekat_assert.hpp" #include <set> #include <stdexcept> #include <string> namespace scream { AtmosphereProcess:: AtmosphereProcess (const ekat::Comm& comm, const ekat::ParameterList& params) : m_comm (com...
35.475107
102
0.659489
ambrad
8f8f47f9f3162c68e63f7c660aecf8a93df3f47a
1,225
cc
C++
src/utils/simple_http_client.cc
negibokken/toyscopy
f82d7b3e16d2088e74f036aedc7602a84af781e2
[ "MIT" ]
9
2019-12-31T10:33:14.000Z
2021-11-21T00:35:19.000Z
src/utils/simple_http_client.cc
negibokken/toyscopy
f82d7b3e16d2088e74f036aedc7602a84af781e2
[ "MIT" ]
18
2019-11-01T16:08:08.000Z
2021-01-09T10:40:39.000Z
src/utils/simple_http_client.cc
negibokken/toyscopy
f82d7b3e16d2088e74f036aedc7602a84af781e2
[ "MIT" ]
1
2022-03-16T06:22:41.000Z
2022-03-16T06:22:41.000Z
#include "simple_http_client.h" namespace ToyScopyUtil { inline size_t write(void* contents, size_t size, size_t nmemb, std::string* s) { size_t newLength = size * nmemb; try { s->append((char*)contents, newLength); } catch (std::bad_alloc& e) { // handle memory problem return 0; } return newLen...
24.019608
80
0.602449
negibokken
8f9113a54dd64e37202c551bfa14f417142a00f4
3,067
cpp
C++
Src/StateMachine.cpp
Condzi/Engine
10f6acdf33b24b8d0aab9efcec570821a73423a1
[ "MIT" ]
1
2018-07-30T10:51:23.000Z
2018-07-30T10:51:23.000Z
Src/StateMachine.cpp
Condzi/Engine
10f6acdf33b24b8d0aab9efcec570821a73423a1
[ "MIT" ]
null
null
null
Src/StateMachine.cpp
Condzi/Engine
10f6acdf33b24b8d0aab9efcec570821a73423a1
[ "MIT" ]
null
null
null
/* Conrad 'Condzi' Kubacki 2018 https://github.com/condzi */ #include "Engine/EnginePCH.hpp" #include "Engine/StateMachine.hpp" namespace con::priv { std::unique_ptr<State> con::priv::StateFactory::createState( StateID id ) { auto result = functions.find( id ); if ( result != functions.end() ) return result->s...
21.006849
83
0.669384
Condzi
8f981c90f5cfaf6f6d485231292f6cb867dcc33e
5,335
cpp
C++
engine/src/render/PointLight.cpp
Birdy2014/Birdy3d
96421f262ab6ba7448cae8381063aab32ac830fe
[ "MIT" ]
1
2021-11-01T20:22:41.000Z
2021-11-01T20:22:41.000Z
engine/src/render/PointLight.cpp
Birdy2014/Birdy3d
96421f262ab6ba7448cae8381063aab32ac830fe
[ "MIT" ]
1
2021-11-02T12:45:20.000Z
2021-11-02T12:45:20.000Z
engine/src/render/PointLight.cpp
Birdy2014/Birdy3d
96421f262ab6ba7448cae8381063aab32ac830fe
[ "MIT" ]
1
2021-11-02T12:28:58.000Z
2021-11-02T12:28:58.000Z
#include "render/PointLight.hpp" #include "core/ResourceManager.hpp" #include "ecs/Entity.hpp" #include "ecs/Scene.hpp" #include "render/ModelComponent.hpp" #include "render/Shader.hpp" #include <glm/gtc/matrix_transform.hpp> namespace Birdy3d::render { PointLight::PointLight(glm::vec3 ambient, glm::vec3 diffuse...
45.598291
158
0.667104
Birdy2014
8f984605c4290d323c814c4dff1f0b5f4dec7ef6
1,077
cpp
C++
src/autowiring/test/CreationRulesTest.cpp
CaseyCarter/autowiring
48e95a71308318c8ffb7ed1348e034fd9110f70c
[ "Apache-2.0" ]
87
2015-01-18T00:43:06.000Z
2022-02-11T17:40:50.000Z
src/autowiring/test/CreationRulesTest.cpp
CaseyCarter/autowiring
48e95a71308318c8ffb7ed1348e034fd9110f70c
[ "Apache-2.0" ]
274
2015-01-03T04:50:49.000Z
2021-03-08T09:01:09.000Z
src/autowiring/test/CreationRulesTest.cpp
CaseyCarter/autowiring
48e95a71308318c8ffb7ed1348e034fd9110f70c
[ "Apache-2.0" ]
15
2015-09-30T20:58:43.000Z
2020-12-19T21:24:56.000Z
// Copyright (C) 2012-2018 Leap Motion, Inc. All rights reserved. #include "stdafx.h" #include "TestFixtures/Decoration.hpp" #include <autowiring/CreationRules.h> class CreationRulesTest: public testing::Test {}; struct AlignedFreer { void operator()(void* pMem) const { autowiring::aligned_free(pMem); } }; ...
35.9
110
0.732591
CaseyCarter
8fa172122e2e29bdaf5c7175351d35f131a84ab5
69,810
cpp
C++
thrift/gen-cpp/BlockMasterWorkerService.cpp
pspringer/AlluxioWorker
df07f554449c91b1e0f70abe2317b76903f97545
[ "Apache-2.0" ]
null
null
null
thrift/gen-cpp/BlockMasterWorkerService.cpp
pspringer/AlluxioWorker
df07f554449c91b1e0f70abe2317b76903f97545
[ "Apache-2.0" ]
null
null
null
thrift/gen-cpp/BlockMasterWorkerService.cpp
pspringer/AlluxioWorker
df07f554449c91b1e0f70abe2317b76903f97545
[ "Apache-2.0" ]
null
null
null
/** * Autogenerated by Thrift Compiler (0.10.0) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ #include "BlockMasterWorkerService.h" BlockMasterWorkerService_commitBlock_args::~BlockMasterWorkerService_commitBlock_args() throw() { } uint32_t BlockMasterWorkerService_com...
33.354037
330
0.656596
pspringer
8fa1afbc0840585b82c990f9b8dcd8c42a399cba
898
cpp
C++
class 11.cpp
AxlidinovJ/masalalar_C
ca48c0db29155016a729fbe23030d4a638175d9b
[ "MIT" ]
3
2021-12-02T20:28:27.000Z
2021-12-08T10:21:24.000Z
class 11.cpp
AxlidnovJ/masalalar_C
e0643137e115d7b9b26651a0d5acc24bc79f8d4f
[ "MIT" ]
null
null
null
class 11.cpp
AxlidnovJ/masalalar_C
e0643137e115d7b9b26651a0d5acc24bc79f8d4f
[ "MIT" ]
null
null
null
#include <iostream> #include <math.h> using namespace std; class Uchburchak{ private: int a, b, c; public: void setter(int x, int y, int z){ a = x; b = y; c = z; } int per_getter(){ int p; p = a + b + c; return p; } double yuza_getter(){ double s, p; p = ...
16.327273
47
0.45657
AxlidinovJ
8fa3b61e812f9168c39a33e35cc43ccc6921b9ec
8,795
cpp
C++
Cpp/SDK/SortableColumnButton_functions.cpp
MrManiak/Squad-SDK
742feb5991ae43d6f0cedd2d6b32b949923ca4f9
[ "Apache-2.0" ]
1
2020-08-15T08:31:55.000Z
2020-08-15T08:31:55.000Z
Cpp/SDK/SortableColumnButton_functions.cpp
MrManiak/Squad-SDK
742feb5991ae43d6f0cedd2d6b32b949923ca4f9
[ "Apache-2.0" ]
2
2020-08-15T08:43:56.000Z
2021-01-15T05:04:48.000Z
Cpp/SDK/SortableColumnButton_functions.cpp
MrManiak/Squad-SDK
742feb5991ae43d6f0cedd2d6b32b949923ca4f9
[ "Apache-2.0" ]
2
2020-08-10T12:05:42.000Z
2021-02-12T19:56:10.000Z
// Name: S, Version: b #include "../SDK.h" #ifdef _MSC_VER #pragma pack(push, 0x01) #endif /*!!HELPER_DEF!!*/ /*!!DEFINE!!*/ namespace UFT { //--------------------------------------------------------------------------- // Functions //--------------------------------------------------------------------------- // ...
35.18
190
0.758158
MrManiak
8faa21fc4f32d49cb9eaa405dd7554a463191c11
3,628
cc
C++
schemelib/scheme/kinematics/Director.gtest.cc
YaoYinYing/rifdock
cbde6bbeefd29a066273bdf2937cf36b0d2e6335
[ "Apache-2.0" ]
25
2019-07-23T01:03:48.000Z
2022-03-31T04:16:08.000Z
schemelib/scheme/kinematics/Director.gtest.cc
YaoYinYing/rifdock
cbde6bbeefd29a066273bdf2937cf36b0d2e6335
[ "Apache-2.0" ]
13
2018-01-30T17:45:57.000Z
2022-03-28T11:02:44.000Z
schemelib/scheme/kinematics/Director.gtest.cc
YaoYinYing/rifdock
cbde6bbeefd29a066273bdf2937cf36b0d2e6335
[ "Apache-2.0" ]
14
2018-02-08T01:42:28.000Z
2022-03-31T12:56:17.000Z
#include <gtest/gtest.h> #include "scheme/nest/NEST.hh" #include "scheme/nest/pmap/ScaleMap.hh" #include "scheme/kinematics/Director.hh" #include "scheme/numeric/X1dim.hh" #include "scheme/util/Timer.hh" namespace scheme { namespace kinematics { namespace test_director { using std::cout; using std::endl; using nume...
29.258065
109
0.639195
YaoYinYing
2630ec8a3760317999e45c17f64d502b5928e572
1,714
hpp
C++
testing/TestCases.hpp
leighgarbs/toolbox
fd9ceada534916fa8987cfcb5220cece2188b304
[ "MIT" ]
null
null
null
testing/TestCases.hpp
leighgarbs/toolbox
fd9ceada534916fa8987cfcb5220cece2188b304
[ "MIT" ]
null
null
null
testing/TestCases.hpp
leighgarbs/toolbox
fd9ceada534916fa8987cfcb5220cece2188b304
[ "MIT" ]
null
null
null
#if !defined TEST_CASES_HPP #define TEST_CASES_HPP #include <list> #include <string> #include "Test.hpp" // This class allows sets of related Tests to be grouped and executed together. // It does this by storing an internal list of Tests and then implementing the // Test::body() pure virtual member function in such ...
31.163636
80
0.675613
leighgarbs
26355cc569cfa486632991b5be49c6fbc91a4d1e
1,089
cpp
C++
A/1044.cpp
chenjiajia9411/PATest
061c961f5d7bf7b23c3a1b70d3d443cb57263700
[ "Apache-2.0" ]
1
2017-11-24T15:06:29.000Z
2017-11-24T15:06:29.000Z
A/1044.cpp
chenjiajia9411/PAT
061c961f5d7bf7b23c3a1b70d3d443cb57263700
[ "Apache-2.0" ]
null
null
null
A/1044.cpp
chenjiajia9411/PAT
061c961f5d7bf7b23c3a1b70d3d443cb57263700
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include <vector> #include <limits> #include <algorithm> using namespace std; typedef struct { int begin; int end; } result; int main() { int n,m; cin>>n>>m; vector<int> v(n); for(int i = 0; i < n; i++) cin>>v[i]; vector<result> r; int min_difference = numeric_limit...
22.22449
94
0.413223
chenjiajia9411
263d9a3e46d754966994a417afcc6fbfad79b1fa
666
hh
C++
src/include/log.hh
tomblackwhite/alpha-emu
a371f7d094acbf02c83aa3940ff043f033b7cfe8
[ "BSD-2-Clause" ]
null
null
null
src/include/log.hh
tomblackwhite/alpha-emu
a371f7d094acbf02c83aa3940ff043f033b7cfe8
[ "BSD-2-Clause" ]
null
null
null
src/include/log.hh
tomblackwhite/alpha-emu
a371f7d094acbf02c83aa3940ff043f033b7cfe8
[ "BSD-2-Clause" ]
null
null
null
#pragma once #include <filesystem> #include <spdlog/spdlog.h> namespace filesystem = std::filesystem; class Log { public: // using TextSink = sinks::synchronous_sink<sinks::text_ostream_backend>; //初始化log Log(filesystem::path filePath = "") : m_filePath(filePath) {} void info(std::string_view str) const { spdlo...
30.272727
75
0.674174
tomblackwhite
263e68702d09cc979b8659452db449638263da33
9,180
cpp
C++
src/gLists.cpp
xnevs/FocusSearchCpp
65ad71b8de09d879bed5c6f98b5487bdba233e12
[ "MIT" ]
1
2019-01-05T15:35:47.000Z
2019-01-05T15:35:47.000Z
src/gLists.cpp
xnevs/FocusSearchCpp
65ad71b8de09d879bed5c6f98b5487bdba233e12
[ "MIT" ]
null
null
null
src/gLists.cpp
xnevs/FocusSearchCpp
65ad71b8de09d879bed5c6f98b5487bdba233e12
[ "MIT" ]
1
2021-09-16T02:18:08.000Z
2021-09-16T02:18:08.000Z
/* * gLists.cpp * * Created on: Feb 27, 2012 * Author: bovi */ /* Copyright (c) 2013 by Rosalba Giugno FocusSearchC++ is part of the RI Project. FocusSearchC++ is a C++ implementation of the original software developed in Modula2 and provided by the authors of: Ullmann JR: Bit-vector algorithms for binary ...
28.958991
97
0.590087
xnevs
263ed64a680453e1ce31ed1c7336c5bc7b9c56eb
9,971
cpp
C++
Source/Cpp/WfCpp_Statement.cpp
vczh2/Workflow
7ad7d53927ee66ae1df7d68b35e185ce9edcfcf1
[ "RSA-MD" ]
1
2018-10-17T16:00:38.000Z
2018-10-17T16:00:38.000Z
Source/Cpp/WfCpp_Statement.cpp
vczh2/Workflow
7ad7d53927ee66ae1df7d68b35e185ce9edcfcf1
[ "RSA-MD" ]
null
null
null
Source/Cpp/WfCpp_Statement.cpp
vczh2/Workflow
7ad7d53927ee66ae1df7d68b35e185ce9edcfcf1
[ "RSA-MD" ]
null
null
null
#include "WfCpp.h" namespace vl { namespace workflow { namespace cppcodegen { using namespace collections; using namespace reflection; using namespace reflection::description; using namespace analyzer; class WfGenerateStatementVisitor : public Object, public WfStatement::IVisitor { public: ...
30.306991
234
0.64497
vczh2
2642754770705bde48bb61534d60f348c5bdcede
4,290
cpp
C++
AudioDataTag.cpp
luotuo44/FlvExploere
daf15700ec2ab0114d13352d3d395ecd99851720
[ "BSD-3-Clause" ]
1
2019-12-30T03:55:14.000Z
2019-12-30T03:55:14.000Z
AudioDataTag.cpp
luotuo44/FlvExploere
daf15700ec2ab0114d13352d3d395ecd99851720
[ "BSD-3-Clause" ]
null
null
null
AudioDataTag.cpp
luotuo44/FlvExploere
daf15700ec2ab0114d13352d3d395ecd99851720
[ "BSD-3-Clause" ]
null
null
null
//Author: luotuo44@gmail.com //Use of this source code is governed by a BSD-style license #include"AudioDataTag.h" #include<assert.h> #include<fstream> #include<iostream> #include<vector> #include<string> #include"helper.h" using uchar = unsigned char; namespace FLV { AudioDataTag::AudioDataTag(std::ifstrea...
18.177966
153
0.617016
luotuo44
2654b5e3efc5be1d0082f933405667a1ae294b99
1,394
cpp
C++
Engine/Buffer.cpp
vazgriz/VoxelGame
28b85445dc64606aecd840c977fb0557008e37a0
[ "MIT" ]
49
2020-02-12T21:09:07.000Z
2021-11-19T00:43:55.000Z
Engine/Buffer.cpp
vazgriz/VoxelGame
28b85445dc64606aecd840c977fb0557008e37a0
[ "MIT" ]
3
2020-08-11T14:36:00.000Z
2020-08-17T08:50:11.000Z
Engine/Buffer.cpp
vazgriz/VoxelGame
28b85445dc64606aecd840c977fb0557008e37a0
[ "MIT" ]
4
2020-02-18T08:55:16.000Z
2021-05-13T01:50:37.000Z
#include "Engine/Buffer.h" using namespace VoxelEngine; BufferState::BufferState(Engine* engine, vk::Buffer&& buffer, VmaAllocation allocation) : buffer(std::move(buffer)) { this->engine = engine; this->allocation = allocation; } BufferState::BufferState(BufferState&& other) : buffer(std::move(other.buffer))...
30.304348
135
0.716643
vazgriz
26590ee46fa324305d9056a31b982b5229718cb6
2,512
cc
C++
examples/hough_extruder_main.cc
WLChopSticks/vpp
2e17b21c56680bcfa94292ef5117f73572bf277d
[ "MIT" ]
624
2015-01-05T16:40:41.000Z
2022-03-01T03:09:43.000Z
examples/hough_extruder_main.cc
WLChopSticks/vpp
2e17b21c56680bcfa94292ef5117f73572bf277d
[ "MIT" ]
10
2015-01-22T20:50:13.000Z
2018-05-15T10:41:34.000Z
examples/hough_extruder_main.cc
WLChopSticks/vpp
2e17b21c56680bcfa94292ef5117f73572bf277d
[ "MIT" ]
113
2015-01-19T11:58:35.000Z
2022-03-28T05:15:20.000Z
#include <iostream> #include <time.h> #include "hough_extruder_example.hh" #include <chrono> using namespace std; using namespace Eigen; using namespace cv; using namespace vpp; using namespace std::chrono; int main(int argc, char *argv[]) { // Start the computation of the time used by the function to compute ...
47.396226
190
0.678742
WLChopSticks
265e672da87c5a8a88e40c9ae7d868741a0f41d6
2,246
hpp
C++
include/ipmi_to_redfish_hooks.hpp
tohas1986/intel-ipmi-oem
ca99ef5912b9296e09c8f9cb246ce291f9970750
[ "Apache-2.0" ]
null
null
null
include/ipmi_to_redfish_hooks.hpp
tohas1986/intel-ipmi-oem
ca99ef5912b9296e09c8f9cb246ce291f9970750
[ "Apache-2.0" ]
null
null
null
include/ipmi_to_redfish_hooks.hpp
tohas1986/intel-ipmi-oem
ca99ef5912b9296e09c8f9cb246ce291f9970750
[ "Apache-2.0" ]
null
null
null
/* // Copyright (c) 2019 Intel Corporation // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or...
28.43038
80
0.691451
tohas1986
265e76f8f5673089b30487c90c8cee60c9f4dfc2
1,839
cpp
C++
GeeksForGeeks/C Plus Plus/Chocolate_Distribution_Problem.cpp
ankit-sr/Competitive-Programming
3397b313b80a32a47cfe224426a6e9c7cf05dec2
[ "MIT" ]
4
2021-06-19T14:15:34.000Z
2021-06-21T13:53:53.000Z
GeeksForGeeks/C Plus Plus/Chocolate_Distribution_Problem.cpp
ankit-sr/Competitive-Programming
3397b313b80a32a47cfe224426a6e9c7cf05dec2
[ "MIT" ]
2
2021-07-02T12:41:06.000Z
2021-07-12T09:37:50.000Z
GeeksForGeeks/C Plus Plus/Chocolate_Distribution_Problem.cpp
ankit-sr/Competitive-Programming
3397b313b80a32a47cfe224426a6e9c7cf05dec2
[ "MIT" ]
3
2021-06-19T15:19:20.000Z
2021-07-02T17:24:51.000Z
/* Problem Statement: ------------------ Given an array A[ ] of positive integers of size N, where each value represents the number of chocolates in a packet. Each packet can have a variable number of chocolates. There are M students, the task is to distribute chocolate packets among M students such that : 1. Each stu...
36.78
172
0.677542
ankit-sr
265eb2b49680b8932ba23fad9cf73db463c4dc83
7,490
cpp
C++
Path planning visualizer/src/Grid.cpp
wholol/graph-visualizer
d63b20b9b6846ec86face6db131eca56c030f280
[ "MIT" ]
4
2020-10-02T14:34:43.000Z
2021-11-15T11:42:20.000Z
Path planning visualizer/src/Grid.cpp
wholol/graph-visualizer
d63b20b9b6846ec86face6db131eca56c030f280
[ "MIT" ]
null
null
null
Path planning visualizer/src/Grid.cpp
wholol/graph-visualizer
d63b20b9b6846ec86face6db131eca56c030f280
[ "MIT" ]
1
2021-07-09T09:32:26.000Z
2021-07-09T09:32:26.000Z
#include "Grid.h" #include <iostream> #include <thread> Grid::Grid(int screenwidth, int screenheight, const sf::Mouse& mouse, sf::RenderWindow& createwindow) :screenwidth(screenwidth), screenheight(screenheight), mouse(mouse), createwindow(createwindow) { /*compute Number of Tiles*/ NumTilesX = screenwidth / Til...
27.947761
146
0.702403
wholol
265fe908e1cdd09ce0559bedcb32a0d19133feb5
121
cpp
C++
test/NoiseGenerator_test.cpp
leiz86/staircase_code_simulator
bba297c1c1fbb4921855b0e4f43afb505c1235fa
[ "Apache-2.0" ]
null
null
null
test/NoiseGenerator_test.cpp
leiz86/staircase_code_simulator
bba297c1c1fbb4921855b0e4f43afb505c1235fa
[ "Apache-2.0" ]
null
null
null
test/NoiseGenerator_test.cpp
leiz86/staircase_code_simulator
bba297c1c1fbb4921855b0e4f43afb505c1235fa
[ "Apache-2.0" ]
null
null
null
/* * NoiseGenerator_test.cpp * * Created on: Nov 26, 2017 * Author: leizhang */ #include <NoiseGenerator.h>
12.1
28
0.628099
leiz86