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
5ed29c382d98564dad2286e3dd59965355ad1006
606
cpp
C++
src/0236.cpp
downdemo/LeetCode-Solutions-in-Cpp17
e6ad1bd56ecea08fc418a9b50e78bdac23860e9f
[ "MIT" ]
38
2020-03-05T06:38:32.000Z
2022-03-11T02:32:14.000Z
src/0236.cpp
downdemo/LeetCode-Solutions-in-Cpp17
e6ad1bd56ecea08fc418a9b50e78bdac23860e9f
[ "MIT" ]
null
null
null
src/0236.cpp
downdemo/LeetCode-Solutions-in-Cpp17
e6ad1bd56ecea08fc418a9b50e78bdac23860e9f
[ "MIT" ]
16
2020-04-02T15:13:20.000Z
2022-02-25T07:34:35.000Z
/** * Definition for a binary tree node. * struct TreeNode { * int val; * TreeNode *left; * TreeNode *right; * TreeNode(int x) : val(x), left(NULL), right(NULL) {} * }; */ class Solution { public: TreeNode* lowestCommonAncestor(TreeNode* root, TreeNode* p, TreeNode* q) { if (!root || root...
25.25
76
0.529703
downdemo
5ed9c13625e30b8afd61b73db543fd29cab00f50
3,385
cpp
C++
third_party/misc/def/defdiff/differDef.cpp
milad621/livehd
370b4274809ef95f880da07a603245bffcadf05e
[ "BSD-3-Clause" ]
74
2017-10-19T03:10:52.000Z
2022-03-28T17:51:54.000Z
third_party/misc/def/defdiff/differDef.cpp
milad621/livehd
370b4274809ef95f880da07a603245bffcadf05e
[ "BSD-3-Clause" ]
25
2019-08-08T19:49:01.000Z
2021-01-01T13:41:42.000Z
third_party/misc/def/defdiff/differDef.cpp
milad621/livehd
370b4274809ef95f880da07a603245bffcadf05e
[ "BSD-3-Clause" ]
26
2017-11-07T10:32:54.000Z
2021-10-02T02:22:37.000Z
// ***************************************************************************** // ***************************************************************************** // Copyright 2012 - 2016, Cadence Design Systems // // This file is part of the Cadence LEF/DEF Open Source // Distribution, Product Version 5.8. ...
33.85
83
0.602363
milad621
5ede7fd1e445d4d3b0b5dcf43f7f25fc0f8c99c6
4,280
cpp
C++
bot/src/cpp/strategy/ScoutStrategy.cpp
Bots-United/whichbot
c5db2a6cc3f90930139503b344074376a9cdaabb
[ "BSD-2-Clause" ]
null
null
null
bot/src/cpp/strategy/ScoutStrategy.cpp
Bots-United/whichbot
c5db2a6cc3f90930139503b344074376a9cdaabb
[ "BSD-2-Clause" ]
null
null
null
bot/src/cpp/strategy/ScoutStrategy.cpp
Bots-United/whichbot
c5db2a6cc3f90930139503b344074376a9cdaabb
[ "BSD-2-Clause" ]
1
2020-04-06T02:02:28.000Z
2020-04-06T02:02:28.000Z
// // $Id: ScoutStrategy.cpp,v 1.22 2004/06/06 21:28:23 clamatius Exp $ // Copyright (c) 2003, WhichBot Project // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: // // * Redistributions ...
36.581197
190
0.689252
Bots-United
5ee406a85d530f4137188626a73e2ee73a6613f3
2,027
cpp
C++
src/eepp/physics/constraints/cpinjoint.cpp
dogtwelve/eepp
dd672ff0e108ae1e08449ca918dc144018fb4ba4
[ "MIT" ]
null
null
null
src/eepp/physics/constraints/cpinjoint.cpp
dogtwelve/eepp
dd672ff0e108ae1e08449ca918dc144018fb4ba4
[ "MIT" ]
null
null
null
src/eepp/physics/constraints/cpinjoint.cpp
dogtwelve/eepp
dd672ff0e108ae1e08449ca918dc144018fb4ba4
[ "MIT" ]
null
null
null
#include <eepp/physics/constraints/cpinjoint.hpp> #ifdef PHYSICS_RENDERER_ENABLED #include <eepp/graphics/cglobalbatchrenderer.hpp> using namespace EE::Graphics; #endif CP_NAMESPACE_BEGIN cPinJoint::cPinJoint( cBody * a, cBody * b, cVect anchr1, cVect anchr2 ) #ifdef PHYSICS_RENDERER_ENABLED : mDrawPointSize( 5.f )...
24.130952
87
0.704983
dogtwelve
5ee4bd2bbd33f25a11fcdcaa5b27554ddbd2a852
1,693
cpp
C++
codeforces/CF679/B_A_New_Technique.cpp
anandj123/gcpdemo
96ef4c64047b16f397369c71ace74daa7d43acec
[ "MIT" ]
null
null
null
codeforces/CF679/B_A_New_Technique.cpp
anandj123/gcpdemo
96ef4c64047b16f397369c71ace74daa7d43acec
[ "MIT" ]
null
null
null
codeforces/CF679/B_A_New_Technique.cpp
anandj123/gcpdemo
96ef4c64047b16f397369c71ace74daa7d43acec
[ "MIT" ]
null
null
null
#include<iostream> #include<string> #include<vector> #include<algorithm> using namespace std; #define debug(x) cerr << #x << " : " << x << "\n" #define REP(i,a,b) for(int i=a; i<b;++i) typedef vector<int> vi; typedef vector< vector<int> > vvi; void calculate(vvi a, vvi b){ /* for (int i = 0; i < a.size(); i++){...
21.705128
55
0.333727
anandj123
5ee4f2ff341d19f18ac438a31315a6ad9dae8c2e
2,252
cpp
C++
Source/Urho3D/EffekseerUrho3D/EffekseerEffectImporter.cpp
aimoonchen/rbfx
de4f1fd795f4f42009693a71b6f887a221aa19db
[ "MIT" ]
null
null
null
Source/Urho3D/EffekseerUrho3D/EffekseerEffectImporter.cpp
aimoonchen/rbfx
de4f1fd795f4f42009693a71b6f887a221aa19db
[ "MIT" ]
null
null
null
Source/Urho3D/EffekseerUrho3D/EffekseerEffectImporter.cpp
aimoonchen/rbfx
de4f1fd795f4f42009693a71b6f887a221aa19db
[ "MIT" ]
null
null
null
// #include <File.hpp> // #include <ResourceSaver.hpp> // #include <SpatialMaterial.hpp> // #include "EffekseerEffect.h" // #include "EffekseerEffectImporter.h" // #include "EffekseerEmitter.h" // // namespace Urho3D { // // void EffekseerEffectImporter::_register_methods() // { // register_method("_init", &Effeksee...
28.15
172
0.699822
aimoonchen
5ee7602412332ab73b8f205faa47354565ed4294
1,421
cpp
C++
3RVX/OSD/BrightnessOSD.cpp
grtamm/3RVX
7607cf95e132c07aa31982b2f0901dea31e86a99
[ "BSD-2-Clause" ]
null
null
null
3RVX/OSD/BrightnessOSD.cpp
grtamm/3RVX
7607cf95e132c07aa31982b2f0901dea31e86a99
[ "BSD-2-Clause" ]
null
null
null
3RVX/OSD/BrightnessOSD.cpp
grtamm/3RVX
7607cf95e132c07aa31982b2f0901dea31e86a99
[ "BSD-2-Clause" ]
null
null
null
// Copyright (c) 2015, Matthew Malensek. // Distributed under the BSD 2-Clause License (see LICENSE.txt for details) #include "BrightnessOSD.h" #include "../Controllers/Brightness/BrightnessController.h" #include "../DisplayManager.h" #include "../HotkeyInfo.h" #include "../Skin/OSDComponent.h" #include "../Skin/Skin...
21.861538
79
0.70373
grtamm
5eedb212c761091bf92c90962581ab56b5ac7cbd
2,018
cpp
C++
Source/Foundation/bsfUtility/Utility/BsMessageHandler.cpp
bsf2dev/bsf
b318cd4eb1b0299773d625e6c870b8d503cf539e
[ "MIT" ]
1,745
2018-03-16T02:10:28.000Z
2022-03-26T17:34:21.000Z
Source/Foundation/bsfUtility/Utility/BsMessageHandler.cpp
bsf2dev/bsf
b318cd4eb1b0299773d625e6c870b8d503cf539e
[ "MIT" ]
395
2018-03-16T10:18:20.000Z
2021-08-04T16:52:08.000Z
Source/Foundation/bsfUtility/Utility/BsMessageHandler.cpp
bsf2dev/bsf
b318cd4eb1b0299773d625e6c870b8d503cf539e
[ "MIT" ]
267
2018-03-17T19:32:54.000Z
2022-02-17T16:55:50.000Z
//************************************ bs::framework - Copyright 2018 Marko Pintera **************************************// //*********** Licensed under the MIT license. See LICENSE.md for full terms. This notice is not to be removed. ***********// #include "Utility/BsMessageHandler.h" namespace bs { Map<String, UIN...
23.741176
124
0.676908
bsf2dev
5eef5ab38c702fc13cf8e44e9a61959b7b063dc6
1,056
cpp
C++
CodeVS/1074/code.cpp
sjj118/OI-Code
964ea6e799d14010f305c7e4aee269d860a781f7
[ "MIT" ]
null
null
null
CodeVS/1074/code.cpp
sjj118/OI-Code
964ea6e799d14010f305c7e4aee269d860a781f7
[ "MIT" ]
null
null
null
CodeVS/1074/code.cpp
sjj118/OI-Code
964ea6e799d14010f305c7e4aee269d860a781f7
[ "MIT" ]
null
null
null
#include<iostream> #include<cstdio> #define rg register #define rep(i,x,y) for(rg int i=(x);i<=(y);++i) #define per(i,x,y) for(rg int i=(x);i>=(y);--i) using namespace std; const int maxn=5e4+10; int n,k,eat[maxn],eaten[maxn]; struct UFS{ int pa[maxn],rank[maxn],mark[maxn]; void clear(){rep(i,1,n)pa[i]=i;} int find(...
22.956522
56
0.549242
sjj118
5ef04447160eebf07018b027d7486255ec965ff3
4,124
cpp
C++
ScopeGuard/ScopeGuardTest2.cpp
jramos-br/ScopeGuard
96148818529d4ff6dce1d37a09ee0b2c914a1ec5
[ "MIT" ]
null
null
null
ScopeGuard/ScopeGuardTest2.cpp
jramos-br/ScopeGuard
96148818529d4ff6dce1d37a09ee0b2c914a1ec5
[ "MIT" ]
null
null
null
ScopeGuard/ScopeGuardTest2.cpp
jramos-br/ScopeGuard
96148818529d4ff6dce1d37a09ee0b2c914a1ec5
[ "MIT" ]
null
null
null
#if 1 #define TEST_SCOPE_GUARD #endif #if 1 #define TEST_SCOPEGUARD #endif #ifdef TEST_SCOPE_GUARD #include "scope_guard.hpp" #endif #ifdef TEST_SCOPEGUARD #include "ScopeGuard.h" #endif #include "ScopeGuardTest2.h" #include "TestBase.h" static void Callback1() { std::cout << "Callback1" << std::endl; } stati...
25.300613
97
0.490058
jramos-br
d674d8e9f17e6ccb5b37c26279ba1b6669d8669c
334
inl
C++
engine/src/common/pixelboost/resource/resourceSet.inl
pixelballoon/pixelboost
085873310050ce62493df61142b7d4393795bdc2
[ "MIT" ]
6
2015-04-21T11:30:52.000Z
2020-04-29T00:10:04.000Z
engine/src/common/pixelboost/resource/resourceSet.inl
pixelballoon/pixelboost
085873310050ce62493df61142b7d4393795bdc2
[ "MIT" ]
null
null
null
engine/src/common/pixelboost/resource/resourceSet.inl
pixelballoon/pixelboost
085873310050ce62493df61142b7d4393795bdc2
[ "MIT" ]
null
null
null
#include "pixelboost/resource/resourceManager.h" namespace pb { template <class T> std::shared_ptr<T> ResourceSet::AddResource(const std::string& resource) { _Resources[resource] = ResourceManager::Instance()->GetPool("default")->GetResource<T>(resource); return std::static_pointer_cast<T>(_Resources[res...
23.857143
101
0.736527
pixelballoon
d6759d4d1dacacd590a239b07d622bcd8f8ab26b
426
cpp
C++
wheels/cpp/poj/poj1852_ant.cpp
jimhs/snippets
fd4e52aa063dc7e07f1ac252c62b1783f4b2d959
[ "Apache-2.0" ]
null
null
null
wheels/cpp/poj/poj1852_ant.cpp
jimhs/snippets
fd4e52aa063dc7e07f1ac252c62b1783f4b2d959
[ "Apache-2.0" ]
null
null
null
wheels/cpp/poj/poj1852_ant.cpp
jimhs/snippets
fd4e52aa063dc7e07f1ac252c62b1783f4b2d959
[ "Apache-2.0" ]
null
null
null
#include <cstdio> #include <algorithm> using namespace std; const int MAX_N=50; int L,n; int x[MAX_N]; void input(){ printf("leading vals(L n):\n"); scanf("%d %d",&L,&n); printf("array vals(x1 x2 ... xn 0):\n"); for(int i=0;i<n;i++) scanf("%d ",&x[i]); } void solve(){ int minT=0; for(int i=0;i<n;i++) m...
12.909091
41
0.558685
jimhs
d675a9bf73e6276da66c8ada8917c2037b3d9973
2,312
cpp
C++
source/game/Sprite.cpp
WarzesProject/2dgame
7c398505bd02f9c519f2968bceb3ba87ac26a6a5
[ "MIT" ]
null
null
null
source/game/Sprite.cpp
WarzesProject/2dgame
7c398505bd02f9c519f2968bceb3ba87ac26a6a5
[ "MIT" ]
null
null
null
source/game/Sprite.cpp
WarzesProject/2dgame
7c398505bd02f9c519f2968bceb3ba87ac26a6a5
[ "MIT" ]
null
null
null
#include "stdafx.h" #include "Sprite.h" #include "ResourceManager.h" //----------------------------------------------------------------------------- Sprite::~Sprite() { if ( m_vboID != 0 ) glDeleteBuffers(1, &m_vboID); } //----------------------------------------------------------------------------- void Sprite::Ini...
29.265823
108
0.62327
WarzesProject
d676696e42fa13ad0f98ef6e89443a5cf623a1e1
1,003
cc
C++
test/test_implode.cc
menonfled/menon_cpp_lib
729bb581023e7558360fd17ac0866e20b2d7ec40
[ "BSL-1.0" ]
1
2020-09-10T16:47:09.000Z
2020-09-10T16:47:09.000Z
test/test_implode.cc
menonfled/menon_cpp_lib
729bb581023e7558360fd17ac0866e20b2d7ec40
[ "BSL-1.0" ]
null
null
null
test/test_implode.cc
menonfled/menon_cpp_lib
729bb581023e7558360fd17ac0866e20b2d7ec40
[ "BSL-1.0" ]
null
null
null
// test_implode.cc #include "menon/string.hh" #include <boost/core/lightweight_test.hpp> #include <vector> #include <list> int main() { using namespace std::literals::string_view_literals; using namespace std::literals::string_literals; { // string_viewのvectorをナル終端文字列で連結 std::vector t = { "abc"s, "def"s, "...
31.34375
84
0.644068
menonfled
d6794c29857e82b07bf53727dec0116b85d8276a
800
cpp
C++
TimothE/Health.cpp
Timothy-Needs-to-Die/TimothE
d4f458c166c15f8cb22095ade9c198bd30729f65
[ "Apache-2.0" ]
null
null
null
TimothE/Health.cpp
Timothy-Needs-to-Die/TimothE
d4f458c166c15f8cb22095ade9c198bd30729f65
[ "Apache-2.0" ]
5
2022-01-17T13:05:42.000Z
2022-01-28T12:40:00.000Z
TimothE/Health.cpp
Timothy-Needs-to-Die/TimothE
d4f458c166c15f8cb22095ade9c198bd30729f65
[ "Apache-2.0" ]
null
null
null
#include "pch.h" #include "Health.h" #include "SceneManager.h" #include "Scene.h" #include "AudioSource.h" void Health::TakeDamage(int val, GameObject* instigator) { if (_isDead) return; _currentHealth -= val; std::cout << "Current Health: " << _currentHealth << std::endl; if (_currentHealth <= 0) { OnDeath(in...
15.384615
80
0.6775
Timothy-Needs-to-Die
d67b1721260be7a1d505e8b6320f591acad50b48
1,828
hpp
C++
android-28/android/icu/text/PluralRules.hpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
12
2020-03-26T02:38:56.000Z
2022-03-14T08:17:26.000Z
android-28/android/icu/text/PluralRules.hpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
1
2021-01-27T06:07:45.000Z
2021-11-13T19:19:43.000Z
android-30/android/icu/text/PluralRules.hpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
3
2021-02-02T12:34:55.000Z
2022-03-08T07:45:57.000Z
#pragma once #include "../../../JObject.hpp" namespace android::icu::text { class PluralRules_PluralType; } namespace android::icu::util { class ULocale; } class JObject; class JString; namespace java::util { class Locale; } namespace android::icu::text { class PluralRules : public JObject { public: // Field...
30.466667
152
0.7407
YJBeetle
d67d3d6ea2b62f7f720f1e6041dda06952d16df9
25
cpp
C++
BasicWeapon.cpp
timmyew/Prototype_Millit-ry
79abfedea361f5528c1885883459246da36eabec
[ "MIT" ]
null
null
null
BasicWeapon.cpp
timmyew/Prototype_Millit-ry
79abfedea361f5528c1885883459246da36eabec
[ "MIT" ]
null
null
null
BasicWeapon.cpp
timmyew/Prototype_Millit-ry
79abfedea361f5528c1885883459246da36eabec
[ "MIT" ]
null
null
null
#include "BasicWeapon.h"
12.5
24
0.76
timmyew
d67f2ec3baafbcc5411054eadd56aba9170e835e
476
cpp
C++
Source/Parsers/Company/HeadquartersParser.cpp
AzuxDario/Marsy
d7fb746250566377cd18a9651d6b74c2bef6c342
[ "MIT" ]
3
2020-06-23T20:08:48.000Z
2020-10-03T11:08:32.000Z
Source/Parsers/Company/HeadquartersParser.cpp
AzuxDario/Marsy
d7fb746250566377cd18a9651d6b74c2bef6c342
[ "MIT" ]
null
null
null
Source/Parsers/Company/HeadquartersParser.cpp
AzuxDario/Marsy
d7fb746250566377cd18a9651d6b74c2bef6c342
[ "MIT" ]
null
null
null
#include "HeadquartersParser.h" namespace Marsy { HeadquartersParser::HeadquartersParser() { } HeadquartersModel HeadquartersParser::parseHeadquarters(const json &input) { HeadquartersModel headquarters; headquarters.address = parseStringNullable(input, strAddress); headqu...
23.8
78
0.710084
AzuxDario
d67f9eb09f0f49a3ab7c7c77729ab74884a67883
391
cpp
C++
src/vt/graphics/window/Window.cpp
Pikaju/Veletrix
9572f37542e0a14198de6aa8ba4d6a4fddafd433
[ "MIT" ]
null
null
null
src/vt/graphics/window/Window.cpp
Pikaju/Veletrix
9572f37542e0a14198de6aa8ba4d6a4fddafd433
[ "MIT" ]
null
null
null
src/vt/graphics/window/Window.cpp
Pikaju/Veletrix
9572f37542e0a14198de6aa8ba4d6a4fddafd433
[ "MIT" ]
null
null
null
#include "Window.h" #include "GLFWWindow.h" #include "SDLWindow.h" #include "../GraphicsAPI.h" namespace vt { Window* Window::create() { switch (graphics::getAPI()) { #ifdef VT_GRAPHICS_GLFW case GRAPHICS_GLFW: return new GLFWWindow(); break; #endif #ifdef VT_GRAPHICS_SDL case GRAPHICS_SDL: ...
17
54
0.667519
Pikaju
d67ffda878139c47b8f165c737f54bc94be7b8b5
2,702
hpp
C++
cppcache/src/ThinClientHARegion.hpp
vaijira/geode-native
5a46b659b86ecc4890df59c1b7abe727192e5d06
[ "Apache-2.0" ]
null
null
null
cppcache/src/ThinClientHARegion.hpp
vaijira/geode-native
5a46b659b86ecc4890df59c1b7abe727192e5d06
[ "Apache-2.0" ]
null
null
null
cppcache/src/ThinClientHARegion.hpp
vaijira/geode-native
5a46b659b86ecc4890df59c1b7abe727192e5d06
[ "Apache-2.0" ]
null
null
null
#pragma once #ifndef GEODE_THINCLIENTHAREGION_H_ #define GEODE_THINCLIENTHAREGION_H_ /* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licen...
29.369565
79
0.733531
vaijira
d68787f27462616dc22d8467227faa5a294982a6
352
hpp
C++
libadb/include/libadb/api/channel/data/video-quality-mode.hpp
faserg1/adb
65507dc17589ac6ec00caf2ecd80f6dbc4026ad4
[ "MIT" ]
1
2022-03-10T15:14:13.000Z
2022-03-10T15:14:13.000Z
libadb/include/libadb/api/channel/data/video-quality-mode.hpp
faserg1/adb
65507dc17589ac6ec00caf2ecd80f6dbc4026ad4
[ "MIT" ]
9
2022-03-07T21:00:08.000Z
2022-03-15T23:14:52.000Z
libadb/include/libadb/api/channel/data/video-quality-mode.hpp
faserg1/adb
65507dc17589ac6ec00caf2ecd80f6dbc4026ad4
[ "MIT" ]
null
null
null
#pragma once namespace adb::api { /** * @brief Video Quality Mode * @details https://discord.com/developers/docs/resources/channel#channel-object-video-quality-modes */ enum class VideoQualityMode { /// Discord chooses the quality for optimal performance AUTO = 1, ///...
22
104
0.602273
faserg1
d68ac345cd81075390cadbb92875a6b4f9bd313d
7,241
cpp
C++
src/types.cpp
moutend/CoreNode
3fa6f4c19240b5c415d1877a4572f13f53c4f47b
[ "MIT" ]
null
null
null
src/types.cpp
moutend/CoreNode
3fa6f4c19240b5c415d1877a4572f13f53c4f47b
[ "MIT" ]
null
null
null
src/types.cpp
moutend/CoreNode
3fa6f4c19240b5c415d1877a4572f13f53c4f47b
[ "MIT" ]
null
null
null
#include <cpplogger/cpplogger.h> #include <cstring> #include <cwchar> #include <windows.h> #include <Commctrl.h> #include <oleauto.h> #include <strsafe.h> #include "types.h" #include "util.h" extern Logger::Logger *Log; HRESULT RawElementFromIUIAutomationElement(IUIAutomationElement *pElement, ...
25.677305
80
0.655434
moutend
d68b3fcb452b6a4f88c223dafb9d583f080ebe74
269
hpp
C++
algorithms/numbers/fibo-sequence/aim.hpp
dubzzz/various-algorithms
16af4c05acfcb23d199df0851402b0da3ebba91c
[ "MIT" ]
1
2017-04-17T18:32:46.000Z
2017-04-17T18:32:46.000Z
algorithms/numbers/fibo-sequence/aim.hpp
dubzzz/various-algorithms
16af4c05acfcb23d199df0851402b0da3ebba91c
[ "MIT" ]
10
2016-12-25T04:42:56.000Z
2017-03-30T20:42:25.000Z
algorithms/numbers/fibo-sequence/aim.hpp
dubzzz/various-algorithms
16af4c05acfcb23d199df0851402b0da3ebba91c
[ "MIT" ]
1
2022-03-25T17:39:05.000Z
2022-03-25T17:39:05.000Z
/* The aim of this topic is: Build a std::vector<unsigned> containing the N first fibonacci values. for input 10: 1 1 2 3 5 8 13 21 34 55 */ #pragma once #include <vector> // Algorithm to be tested std::vector<unsigned long long> build_fibos(unsigned N);
19.214286
74
0.695167
dubzzz
d68de3336cf4e7b27a90bbad76e1c17c7b803aef
12,920
cpp
C++
Game/Client/WXCore/Core/TerrainTileEditable.cpp
hackerlank/SourceCode
b702c9e0a9ca5d86933f3c827abb02a18ffc9a59
[ "MIT" ]
4
2021-07-31T13:56:01.000Z
2021-11-13T02:55:10.000Z
Game/Client/WXCore/Core/TerrainTileEditable.cpp
shacojx/SourceCodeGameTLBB
e3cea615b06761c2098a05427a5f41c236b71bf7
[ "MIT" ]
null
null
null
Game/Client/WXCore/Core/TerrainTileEditable.cpp
shacojx/SourceCodeGameTLBB
e3cea615b06761c2098a05427a5f41c236b71bf7
[ "MIT" ]
7
2021-08-31T14:34:23.000Z
2022-01-19T08:25:58.000Z
#include "TerrainTileEditable.h" #include "Terrain.h" #include "TerrainTileRenderable.h" #include <OgreSceneManager.h> #include <OgreSceneNode.h> namespace WX { class TerrainTileEditableRenderable : public TerrainTileRenderable { protected: size_t layerIndex; public: TerrainTileEditableRenderable(TerrainTil...
30.688836
111
0.614009
hackerlank
d68fe15705f72c9be3d8a71637af36c977dbfbc9
1,640
cpp
C++
aws-cpp-sdk-codeguruprofiler/source/model/PutPermissionRequest.cpp
orinem/aws-sdk-cpp
f38413cc1f278689ef14e9ebdd74a489a48776be
[ "Apache-2.0" ]
1
2020-07-16T19:02:58.000Z
2020-07-16T19:02:58.000Z
aws-cpp-sdk-codeguruprofiler/source/model/PutPermissionRequest.cpp
novaquark/aws-sdk-cpp
a0969508545bec9ae2864c9e1e2bb9aff109f90c
[ "Apache-2.0" ]
null
null
null
aws-cpp-sdk-codeguruprofiler/source/model/PutPermissionRequest.cpp
novaquark/aws-sdk-cpp
a0969508545bec9ae2864c9e1e2bb9aff109f90c
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2010-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" fil...
26.885246
105
0.756707
orinem
d691adc5b2c9a8ab4962977a40e5cdf7497e8734
161
hpp
C++
flashlog.hpp
spookysys/telemetrics-code
b49e98227af0b302d16398bafa55aad8ee7b63d3
[ "Apache-2.0" ]
2
2017-01-24T20:35:46.000Z
2019-09-26T15:31:01.000Z
flashlog.hpp
spookysys/telemetrics-code
b49e98227af0b302d16398bafa55aad8ee7b63d3
[ "Apache-2.0" ]
null
null
null
flashlog.hpp
spookysys/telemetrics-code
b49e98227af0b302d16398bafa55aad8ee7b63d3
[ "Apache-2.0" ]
2
2017-01-24T20:35:54.000Z
2019-09-26T15:31:05.000Z
#include "common.hpp" #include "SD.h" namespace flashlog { void begin(); File* logFile(); File* sensorFile(); File* gpsFile(); void flush(); }
10.0625
21
0.602484
spookysys
d6921ea706abcda1ff6914b9d1fab2f98751c53c
18,692
cpp
C++
hyperUI/source/Animation/BezierAnimController.cpp
sadcatsoft/hyperui
f26242a9034ad1e0abf54bd7691fe48809262f5b
[ "MIT" ]
2
2019-05-17T16:16:21.000Z
2019-08-21T20:18:22.000Z
hyperUI/source/Animation/BezierAnimController.cpp
sadcatsoft/hyperui
f26242a9034ad1e0abf54bd7691fe48809262f5b
[ "MIT" ]
1
2018-10-18T22:05:12.000Z
2018-10-18T22:05:12.000Z
hyperUI/source/Animation/BezierAnimController.cpp
sadcatsoft/hyperui
f26242a9034ad1e0abf54bd7691fe48809262f5b
[ "MIT" ]
null
null
null
#include "stdafx.h" namespace HyperUI { /*****************************************************************************/ BezierAnimController::BezierAnimController() { myTotalLength = -1; setStartTime(0); } /*****************************************************************************/ BezierAnimController...
32.96649
185
0.644982
sadcatsoft
d6931a7f21daedb9aa8d9419b30b2afac0866dca
8,807
cpp
C++
modules/fs/library.cpp
BerryMathDevelopmentTeam/BerryMath
c975de7541a41436402fd42fa36081f9999c278d
[ "Apache-2.0" ]
22
2018-08-29T09:57:06.000Z
2021-10-01T08:56:43.000Z
modules/fs/library.cpp
BerryMathDevelopmentTeam/BerryMath
c975de7541a41436402fd42fa36081f9999c278d
[ "Apache-2.0" ]
2
2019-04-18T14:16:43.000Z
2021-01-23T07:07:51.000Z
modules/fs/library.cpp
BerryMathDevelopmentTeam/BerryMath
c975de7541a41436402fd42fa36081f9999c278d
[ "Apache-2.0" ]
11
2018-08-24T09:46:12.000Z
2021-10-01T08:57:05.000Z
#include <string> #include <cstdlib> #include <sys/stat.h> #include <sys/types.h> #include <fstream> #include "library.h" Object *FileCtor(BM::Scope *scope, vector<Object *> unknowns) { auto self = new Object; auto path = (String *) scope->get("path")->value(); self->set("path", path); auto file = ne...
31.341637
138
0.583854
BerryMathDevelopmentTeam
d693227d50e59f1e4260f45b03e1f43b336008a0
5,375
cpp
C++
src/gl/scene/gl_vertex.cpp
351ELEC/lzdoom
2ee3ea91bc9c052b3143f44c96d85df22851426f
[ "RSA-MD" ]
2
2018-01-18T21:30:20.000Z
2018-01-19T02:24:46.000Z
src/gl/scene/gl_vertex.cpp
351ELEC/lzdoom
2ee3ea91bc9c052b3143f44c96d85df22851426f
[ "RSA-MD" ]
4
2021-09-02T00:05:17.000Z
2021-09-07T14:56:12.000Z
src/gl/scene/gl_vertex.cpp
351ELEC/lzdoom
2ee3ea91bc9c052b3143f44c96d85df22851426f
[ "RSA-MD" ]
1
2021-09-28T19:03:39.000Z
2021-09-28T19:03:39.000Z
// //--------------------------------------------------------------------------- // // Copyright(C) 2006-2016 Christoph Oelckers // All rights reserved. // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free ...
29.696133
120
0.543442
351ELEC
d695b3c0af8bd4771745c11d6a5bd8d788092ff7
3,520
cpp
C++
src/Plugins/JavaScript/CoreBindings/ConfigAPIBindings.cpp
realXtend/tundra-urho3d
436d41c3e3dd1a9b629703ee76fd0ef2ee212ef8
[ "Apache-2.0" ]
13
2015-02-25T02:42:38.000Z
2018-07-31T11:40:56.000Z
src/Plugins/JavaScript/CoreBindings/ConfigAPIBindings.cpp
realXtend/tundra-urho3d
436d41c3e3dd1a9b629703ee76fd0ef2ee212ef8
[ "Apache-2.0" ]
8
2015-02-12T22:27:05.000Z
2017-01-21T15:59:17.000Z
src/Plugins/JavaScript/CoreBindings/ConfigAPIBindings.cpp
realXtend/tundra-urho3d
436d41c3e3dd1a9b629703ee76fd0ef2ee212ef8
[ "Apache-2.0" ]
12
2015-03-25T21:10:50.000Z
2019-04-10T09:03:10.000Z
// For conditions of distribution and use, see copyright notice in LICENSE // This file has been autogenerated with BindingsGenerator #include "StableHeaders.h" #include "CoreTypes.h" #include "JavaScriptInstance.h" #include "LoggingFunctions.h" #include "Framework/ConfigAPI.h" #ifdef _MSC_VER #pragma warni...
31.711712
89
0.715909
realXtend
d696c46b0db16bf0d043ebb7327cb72a4a067f27
715
hpp
C++
include/engine/plugins/nearest.hpp
asaveljevs/osrm-backend
15f0ca8ddaa35c5b4d93c25afa72e81e1fb40c3e
[ "BSD-2-Clause" ]
13
2019-02-21T02:02:41.000Z
2021-09-09T13:49:31.000Z
include/engine/plugins/nearest.hpp
asaveljevs/osrm-backend
15f0ca8ddaa35c5b4d93c25afa72e81e1fb40c3e
[ "BSD-2-Clause" ]
288
2019-02-21T01:34:04.000Z
2021-03-27T12:19:10.000Z
include/engine/plugins/nearest.hpp
asaveljevs/osrm-backend
15f0ca8ddaa35c5b4d93c25afa72e81e1fb40c3e
[ "BSD-2-Clause" ]
4
2019-06-21T20:51:59.000Z
2021-01-13T09:22:24.000Z
#ifndef NEAREST_HPP #define NEAREST_HPP #include "engine/api/nearest_parameters.hpp" #include "engine/datafacade/contiguous_internalmem_datafacade.hpp" #include "engine/plugins/plugin_base.hpp" #include "engine/routing_algorithms.hpp" #include "osrm/json_container.hpp" namespace osrm { namespace engine { namespace pl...
21.029412
70
0.725874
asaveljevs
d696eecb4895881f1557d92805fc84ac3122d197
6,564
cpp
C++
Plugins/VoxelPlugin-master/Source/Voxel/Private/VoxelShaders/VoxelDistanceFieldShader.cpp
drakelinglabs/breakup
04cc209605082a61399f52a174057eda56b797f2
[ "MIT" ]
3
2020-10-05T18:52:08.000Z
2020-12-01T15:14:36.000Z
Plugins/VoxelPlugin-master/Source/Voxel/Private/VoxelShaders/VoxelDistanceFieldShader.cpp
Bluedrake42/breakup
04cc209605082a61399f52a174057eda56b797f2
[ "MIT" ]
null
null
null
Plugins/VoxelPlugin-master/Source/Voxel/Private/VoxelShaders/VoxelDistanceFieldShader.cpp
Bluedrake42/breakup
04cc209605082a61399f52a174057eda56b797f2
[ "MIT" ]
2
2020-10-10T20:16:12.000Z
2020-11-01T13:11:40.000Z
// Copyright 2020 Phyronnaz #include "VoxelShaders/VoxelDistanceFieldShader.h" #include "VoxelUtilities/VoxelIntVectorUtilities.h" #include "ShaderParameterUtils.h" IMPLEMENT_GLOBAL_SHADER_PARAMETER_STRUCT(FVoxelDistanceFieldParameters, "VoxelDistanceFieldParameters"); FVoxelDistanceFieldBaseCS::FVoxelDistanceField...
37.724138
187
0.709019
drakelinglabs
d69a2a886eac10dbfdb2fbcc9042933e1c2668ca
1,925
cpp
C++
src/Controller/TextureManager.cpp
MajorArkwolf/Project-Blue-Engine
e5fc6416d0a41a1251f1b369047e0ea1097775da
[ "MIT" ]
1
2021-04-18T09:49:38.000Z
2021-04-18T09:49:38.000Z
src/Controller/TextureManager.cpp
MajorArkwolf/ICT397-Project-Blue
e5fc6416d0a41a1251f1b369047e0ea1097775da
[ "MIT" ]
null
null
null
src/Controller/TextureManager.cpp
MajorArkwolf/ICT397-Project-Blue
e5fc6416d0a41a1251f1b369047e0ea1097775da
[ "MIT" ]
2
2020-06-13T15:24:01.000Z
2021-04-15T20:25:49.000Z
#include "TextureManager.hpp" #include <iostream> #include "Controller/Engine/Engine.hpp" bool TextureManager::loadTextureFromFile(const std::string& filePath, const std::string& texName) { auto &basePath = BlueEngine::Engine::get().basepath; auto path = basePath + filePath; unsigned int textureID; ...
31.048387
99
0.653506
MajorArkwolf
d69e825beddd2c8ea982ddd75b4f2979d783df82
3,306
cpp
C++
vpc/src/v2/model/CreateVpcPeeringOption.cpp
yangzhaofeng/huaweicloud-sdk-cpp-v3
4f3caac5ba9a9b75b4e5fd61683d1c4d57ec1c23
[ "Apache-2.0" ]
5
2021-03-03T08:23:43.000Z
2022-02-16T02:16:39.000Z
vpc/src/v2/model/CreateVpcPeeringOption.cpp
yangzhaofeng/huaweicloud-sdk-cpp-v3
4f3caac5ba9a9b75b4e5fd61683d1c4d57ec1c23
[ "Apache-2.0" ]
null
null
null
vpc/src/v2/model/CreateVpcPeeringOption.cpp
yangzhaofeng/huaweicloud-sdk-cpp-v3
4f3caac5ba9a9b75b4e5fd61683d1c4d57ec1c23
[ "Apache-2.0" ]
7
2021-02-26T13:53:35.000Z
2022-03-18T02:36:43.000Z
#include "huaweicloud/vpc/v2/model/CreateVpcPeeringOption.h" namespace HuaweiCloud { namespace Sdk { namespace Vpc { namespace V2 { namespace Model { CreateVpcPeeringOption::CreateVpcPeeringOption() { name_ = ""; nameIsSet_ = false; requestVpcInfoIsSet_ = false; acceptVpcInfoIsSet_ = false; } Cr...
22.04
107
0.682396
yangzhaofeng
d6a2d83f858b52b9926921ae3f5420e8c55a172b
102,162
cpp
C++
node_modules/restler/node_modules/nodeunit/deps/ejs/node_modules/expresso/deps/jscoverage/js/jsarray.cpp
shopibuild/node-springboard
5ea63ddbebb65395de29244facbbb5a6adf3405a
[ "MIT" ]
21
2020-03-01T15:17:02.000Z
2022-03-31T05:26:06.000Z
node_modules/sqlite3/node_modules/expresso/deps/jscoverage/js/jsarray.cpp
birdsarah/appjs-browserhistory
4eb88fc07b486709264eb3b701f5174f4bccb4e8
[ "MIT" ]
216
2020-03-19T10:40:50.000Z
2021-11-30T14:28:03.000Z
node_modules/sqlite3/node_modules/expresso/deps/jscoverage/js/jsarray.cpp
birdsarah/appjs-browserhistory
4eb88fc07b486709264eb3b701f5174f4bccb4e8
[ "MIT" ]
10
2015-04-16T17:47:34.000Z
2019-09-08T00:51:43.000Z
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- * vim: set sw=4 ts=8 et tw=78: * * ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (the "License"); you may not use this file except...
29.810913
99
0.566561
shopibuild
d6a4b40e8b8e944fb69e9eae90c7e56377d3ece2
16,414
cpp
C++
src/musycl_synth.cpp
keryell/muSYCL
130e4b29c3a4daf4c908b08263b53910acb13787
[ "Apache-2.0" ]
16
2021-05-07T11:33:59.000Z
2022-03-05T02:36:06.000Z
src/musycl_synth.cpp
keryell/muSYCL
130e4b29c3a4daf4c908b08263b53910acb13787
[ "Apache-2.0" ]
null
null
null
src/musycl_synth.cpp
keryell/muSYCL
130e4b29c3a4daf4c908b08263b53910acb13787
[ "Apache-2.0" ]
null
null
null
/** \file Example of a music synthesizer written in SYCL Rely on some triSYCL extensions (kernel I/O) and muSYCL extensions (MIDI and audio input/output) */ #include <algorithm> #include <array> #include <cmath> #include <iostream> #include <map> #include <variant> #include <sycl/sycl.hpp> #include <sycl/vend...
36.720358
80
0.612404
keryell
d6a71e36640361ea8bc91ed09a2495866571a1a5
2,987
hpp
C++
src/astra_core/astra_stream_backend.hpp
Delicode/astra
2654b99102b999a15d3221b0e5a11bb5291f7689
[ "Apache-2.0" ]
170
2015-10-20T08:31:16.000Z
2021-12-01T01:47:32.000Z
src/astra_core/astra_stream_backend.hpp
Delicode/astra
2654b99102b999a15d3221b0e5a11bb5291f7689
[ "Apache-2.0" ]
42
2015-10-20T23:20:17.000Z
2022-03-18T05:47:08.000Z
src/astra_core/astra_stream_backend.hpp
Delicode/astra
2654b99102b999a15d3221b0e5a11bb5291f7689
[ "Apache-2.0" ]
83
2015-10-22T14:53:00.000Z
2021-11-04T03:09:48.000Z
// This file is part of the Orbbec Astra SDK [https://orbbec3d.com] // Copyright (c) 2015 Orbbec 3D // // 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/LI...
33.561798
91
0.671242
Delicode
d6aaf074f09ff7a022764fbd2cb312aa03c0d4f2
4,234
cpp
C++
examples and tools/cntor-chopped-071111/QTransportPETSc/QTransportPETSc/src/cntor-chopped.cpp
mjgrav2001/XSEDE-Project-2016
1e7edbebeeb7e4710c7ddfc187cd4608d62ffa3a
[ "MIT" ]
null
null
null
examples and tools/cntor-chopped-071111/QTransportPETSc/QTransportPETSc/src/cntor-chopped.cpp
mjgrav2001/XSEDE-Project-2016
1e7edbebeeb7e4710c7ddfc187cd4608d62ffa3a
[ "MIT" ]
null
null
null
examples and tools/cntor-chopped-071111/QTransportPETSc/QTransportPETSc/src/cntor-chopped.cpp
mjgrav2001/XSEDE-Project-2016
1e7edbebeeb7e4710c7ddfc187cd4608d62ffa3a
[ "MIT" ]
null
null
null
/* * cntor-chopped * Adapted to C++ by Leon Durivage * Original Fortran code written by Mario Encinosa and Mark Jack * * For the specifics behind the science behind this code, please refer to either the old fortran code * or the papers written by Dr. Jack and Dr. Encinosa. * * This code aims to perform the same...
31.834586
144
0.68257
mjgrav2001
d6b328cfab7ce453133ff3e0ceaa5e186246a0b0
624
cpp
C++
passwordVerifier.cpp
umanggoel2001/Hacktoberfest2021-1
8dc2338df89db68b03d89dc2052b6f5166a5a413
[ "MIT" ]
null
null
null
passwordVerifier.cpp
umanggoel2001/Hacktoberfest2021-1
8dc2338df89db68b03d89dc2052b6f5166a5a413
[ "MIT" ]
null
null
null
passwordVerifier.cpp
umanggoel2001/Hacktoberfest2021-1
8dc2338df89db68b03d89dc2052b6f5166a5a413
[ "MIT" ]
1
2021-10-08T06:17:40.000Z
2021-10-08T06:17:40.000Z
#include<iostream> using namespace std; int main() { string pass; getline(cin,pass); int lower=0, upper =0, number =0, special =0; int size = pass.length(); for(int i =0; i<size; i++) { if(pass[i]>= 'A' && pass[i] <= 'Z') {upper++;} else if(pass[i]>= 'a' && pass[i] <= '...
18.352941
51
0.44391
umanggoel2001
d6b594867781598474268d77bccc8100d3cc45d3
5,073
cc
C++
newweb/utility/old/myevent.cc
cauthu/shadow-browser-plugin
e1eb930b1bdf71cb3cdcbb1d70467e6e6203c298
[ "BSD-3-Clause" ]
null
null
null
newweb/utility/old/myevent.cc
cauthu/shadow-browser-plugin
e1eb930b1bdf71cb3cdcbb1d70467e6e6203c298
[ "BSD-3-Clause" ]
null
null
null
newweb/utility/old/myevent.cc
cauthu/shadow-browser-plugin
e1eb930b1bdf71cb3cdcbb1d70467e6e6203c298
[ "BSD-3-Clause" ]
null
null
null
#include <errno.h> #include <sys/types.h> #include <sys/socket.h> #include <strings.h> #include "myassert.h" #include <unistd.h> #include "common.hpp" #include "myevent.hpp" #ifdef ENABLE_MY_LOG_MACROS #define mylogDEBUG(fmt, ...) \ do { ...
24.157143
82
0.575991
cauthu
d6b6d1a1f7f1dbb2d1feee23745c4a23eaefc601
632
hpp
C++
library/tests/test_GatedNeuron.hpp
Wittmaxi/ZENeural
05bf98f94c1a032406f353c94486b626b8c8dd6a
[ "MIT" ]
10
2018-08-15T00:36:51.000Z
2019-10-27T20:59:18.000Z
library/tests/test_GatedNeuron.hpp
MaximilianJugendForscht/ZENeural
05bf98f94c1a032406f353c94486b626b8c8dd6a
[ "MIT" ]
1
2018-08-15T01:06:29.000Z
2018-08-15T16:44:52.000Z
library/tests/test_GatedNeuron.hpp
MaximilianJugendForscht/ZENeural
05bf98f94c1a032406f353c94486b626b8c8dd6a
[ "MIT" ]
4
2018-08-09T16:27:03.000Z
2018-11-17T07:49:32.000Z
/* 2018 Maximilian Wittmer wittmaxi@linux.pizza https://github.com/Wittmaxi/ZENeural/blob/master/LICENSE */ TEST_CASE("GatedNeuron.hpp") { SECTION ("Gate") { SECTION ("constructor") { ZNN::Gate<double> g(100); REQUIRE (g.layer.inputSize == 101); REQUIRE (g.layer.normal...
24.307692
102
0.553797
Wittmaxi
d6b7a44d8a68df5bff286ce92f520562311cb768
43,807
cpp
C++
USCO/usaco 2.3.cpp
Ali-Mahmoodi/Usaco
bf32f0a81c924d7185ee6bed46c31228f52e41e8
[ "MIT" ]
2
2018-08-17T10:01:08.000Z
2018-08-18T12:44:11.000Z
USCO/usaco 2.3.cpp
Ali-Mahmoodi/Usaco
bf32f0a81c924d7185ee6bed46c31228f52e41e8
[ "MIT" ]
null
null
null
USCO/usaco 2.3.cpp
Ali-Mahmoodi/Usaco
bf32f0a81c924d7185ee6bed46c31228f52e41e8
[ "MIT" ]
null
null
null
/* Use the slash-star style comments or the system won't see your identification information */ /* ID: becomin2 TASK: namenum LANG: C++ */ #include <iostream> #include <fstream> #include <string> #include <math.h> using namespace std; //ifstream fin ("namenum.txt"); //ofstream fout ("na...
230.563158
39,945
0.6341
Ali-Mahmoodi
d6bb9f32f534b956705b455fd3f1d784f2db2b04
465
cpp
C++
tidyup_state_creators/src/StateAccessException.cpp
GKIFreiburg/gki_pr2_symbolic_planning
28035f782e3253e76d93bbbbba3c7d8dc883ad72
[ "BSD-3-Clause" ]
null
null
null
tidyup_state_creators/src/StateAccessException.cpp
GKIFreiburg/gki_pr2_symbolic_planning
28035f782e3253e76d93bbbbba3c7d8dc883ad72
[ "BSD-3-Clause" ]
null
null
null
tidyup_state_creators/src/StateAccessException.cpp
GKIFreiburg/gki_pr2_symbolic_planning
28035f782e3253e76d93bbbbba3c7d8dc883ad72
[ "BSD-3-Clause" ]
null
null
null
/* * StateAccessException.cpp * * Created on: Oct 29, 2014 * Author: andreas */ #include <tidyup_state_creators/StateAccessException.h> namespace tidyup_state_creators { StateAccessException::StateAccessException(std::string error_msg):error_msg(error_msg) { } StateAccessException::~StateAccessException(...
17.222222
86
0.746237
GKIFreiburg
d6bdf014d4a1d9bf8c8f99203b1eed409c85856c
12,643
cpp
C++
src/libs/gapi_dx12/D3DUtils/DXGIFormatsUtils.cpp
JKot-Coder/OpenDemo
8b9554914f5bab08df47e032486ca668a560c97c
[ "BSD-3-Clause" ]
null
null
null
src/libs/gapi_dx12/D3DUtils/DXGIFormatsUtils.cpp
JKot-Coder/OpenDemo
8b9554914f5bab08df47e032486ca668a560c97c
[ "BSD-3-Clause" ]
null
null
null
src/libs/gapi_dx12/D3DUtils/DXGIFormatsUtils.cpp
JKot-Coder/OpenDemo
8b9554914f5bab08df47e032486ca668a560c97c
[ "BSD-3-Clause" ]
null
null
null
#include "DXGIFormatsUtils.hpp" #include "gapi/GpuResource.hpp" namespace RR { namespace GAPI { namespace DX12 { namespace D3DUtils { struct GpuResourceFormatConversion { GpuResourceFormat from; DXG...
83.177632
139
0.57779
JKot-Coder
d6bf5c55e68a20d7580ae53a9bf3dca36bd0fe8a
1,214
hpp
C++
src/Evolution/DiscontinuousGalerkin/Initialization/QuadratureTag.hpp
macedo22/spectre
97b2b7ae356cf86830258cb5f689f1191fdb6ddd
[ "MIT" ]
2
2021-04-11T04:07:42.000Z
2021-04-11T05:07:54.000Z
src/Evolution/DiscontinuousGalerkin/Initialization/QuadratureTag.hpp
macedo22/spectre
97b2b7ae356cf86830258cb5f689f1191fdb6ddd
[ "MIT" ]
4
2018-06-04T20:26:40.000Z
2018-07-27T14:54:55.000Z
src/Evolution/DiscontinuousGalerkin/Initialization/QuadratureTag.hpp
macedo22/spectre
97b2b7ae356cf86830258cb5f689f1191fdb6ddd
[ "MIT" ]
1
2019-01-03T21:47:04.000Z
2019-01-03T21:47:04.000Z
// Distributed under the MIT License. // See LICENSE.txt for details. #pragma once #include "DataStructures/DataBox/Tag.hpp" #include "NumericalAlgorithms/DiscontinuousGalerkin/Tags/OptionsGroup.hpp" #include "NumericalAlgorithms/Spectral/Spectral.hpp" #include "Options/Options.hpp" #include "Utilities/TMPL.hpp" nam...
30.35
80
0.752883
macedo22
d6c3fc110dde2c9231b52d5b40614a11f51c6b2e
6,443
cpp
C++
src/server/plugins/fastcgi/errortypes.cpp
jvirkki/heliod
efdf2d105e342317bd092bab2d727713da546174
[ "BSD-3-Clause" ]
13
2015-10-09T05:59:20.000Z
2021-11-12T10:38:51.000Z
src/server/plugins/fastcgi/errortypes.cpp
JamesLinus/heliod
efdf2d105e342317bd092bab2d727713da546174
[ "BSD-3-Clause" ]
null
null
null
src/server/plugins/fastcgi/errortypes.cpp
JamesLinus/heliod
efdf2d105e342317bd092bab2d727713da546174
[ "BSD-3-Clause" ]
6
2016-05-23T10:53:29.000Z
2019-12-13T17:57:32.000Z
/* * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. * * Copyright 2008 Sun Microsystems, Inc. All rights reserved. * * THE BSD LICENSE * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistribut...
35.596685
81
0.680118
jvirkki
d6c7d4b1d0b1b8ed3151c7900a661be979d9bb84
1,721
hpp
C++
src/ttauri/GUI/theme_book.hpp
PinkFlufflyLlama/ttauri
7badcfbe792932ebb912d54d1062d8fc820c40a7
[ "BSL-1.0" ]
null
null
null
src/ttauri/GUI/theme_book.hpp
PinkFlufflyLlama/ttauri
7badcfbe792932ebb912d54d1062d8fc820c40a7
[ "BSL-1.0" ]
null
null
null
src/ttauri/GUI/theme_book.hpp
PinkFlufflyLlama/ttauri
7badcfbe792932ebb912d54d1062d8fc820c40a7
[ "BSL-1.0" ]
null
null
null
// Copyright Take Vos 2020. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at https://www.boost.org/LICENSE_1_0.txt) #pragma once #include "theme_mode.hpp" #include "theme.hpp" #include <limits> #include <vector> #include <new> namespace tt { /** the...
27.31746
97
0.719349
PinkFlufflyLlama
d6cbbcaa4ba1c37f249bf87dbb4e4a0c8fb8a96f
492
hpp
C++
Blocks/Engine/EngineException.hpp
salindersidhu/Blocks
b36c916717873cf43e61afb4e978d65025953a33
[ "MIT" ]
5
2018-06-16T06:54:59.000Z
2021-12-23T15:24:42.000Z
Blocks/Engine/EngineException.hpp
salindersidhu/Blocks
b36c916717873cf43e61afb4e978d65025953a33
[ "MIT" ]
1
2016-01-15T08:04:18.000Z
2016-01-15T08:04:18.000Z
Blocks/Engine/EngineException.hpp
SalinderSidhu/Blocks
b36c916717873cf43e61afb4e978d65025953a33
[ "MIT" ]
null
null
null
#ifndef ENGINEEXCEPTION_HPP #define ENGINEEXCEPTION_HPP #include <string> #include <exception> using namespace std; class EngineException : public exception { public: // Constructor and destructor EngineException(string _message) {message = _message + "!";}; virtual ~EngineException() throw() {}; // EngineExcepti...
23.428571
62
0.756098
salindersidhu
d6cc50e6372ea8fa6526f70d6f2af71157f3b595
10,636
cpp
C++
src/test/core/Stoppable_test.cpp
DEEPSPACE007/DsDeFi-Exchange
777486b799bae42a4297f9524f3ff30e0b149ef7
[ "Unlicense" ]
null
null
null
src/test/core/Stoppable_test.cpp
DEEPSPACE007/DsDeFi-Exchange
777486b799bae42a4297f9524f3ff30e0b149ef7
[ "Unlicense" ]
null
null
null
src/test/core/Stoppable_test.cpp
DEEPSPACE007/DsDeFi-Exchange
777486b799bae42a4297f9524f3ff30e0b149ef7
[ "Unlicense" ]
null
null
null
#include <ripple/core/Stoppable.h> #include <ripple/beast/unit_test.h> #include <test/unit_test/SuiteJournal.h> #include <thread> namespace ripple { namespace test { class Stoppable_test : public beast::unit_test::suite { unsigned count = 0; class D : public Stoppable { Stoppable_t...
22.922414
92
0.486367
DEEPSPACE007
d6ccaaba454d61376f66e98ca3180c8a82c98c7a
2,675
cpp
C++
aws-cpp-sdk-medialive/source/model/HlsInputSettings.cpp
perfectrecall/aws-sdk-cpp
fb8cbebf2fd62720b65aeff841ad2950e73d8ebd
[ "Apache-2.0" ]
1
2022-02-10T08:06:54.000Z
2022-02-10T08:06:54.000Z
aws-cpp-sdk-medialive/source/model/HlsInputSettings.cpp
perfectrecall/aws-sdk-cpp
fb8cbebf2fd62720b65aeff841ad2950e73d8ebd
[ "Apache-2.0" ]
1
2022-01-03T23:59:37.000Z
2022-01-03T23:59:37.000Z
aws-cpp-sdk-medialive/source/model/HlsInputSettings.cpp
ravindra-wagh/aws-sdk-cpp
7d5ff01b3c3b872f31ca98fb4ce868cd01e97696
[ "Apache-2.0" ]
1
2021-12-30T04:25:33.000Z
2021-12-30T04:25:33.000Z
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/medialive/model/HlsInputSettings.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::Utils::Json; using namespace Aws::Utils; namespace Aws { na...
20.736434
115
0.734206
perfectrecall
d6cd4faedce1f1387bdfacff02d70b18fa8a2927
636
cxx
C++
Algorithms/Strings/hackerrank-in-a-string.cxx
will-crawford/HackerRank
74965480ee6a51603eb320e5982b0943fdaf1302
[ "MIT" ]
null
null
null
Algorithms/Strings/hackerrank-in-a-string.cxx
will-crawford/HackerRank
74965480ee6a51603eb320e5982b0943fdaf1302
[ "MIT" ]
null
null
null
Algorithms/Strings/hackerrank-in-a-string.cxx
will-crawford/HackerRank
74965480ee6a51603eb320e5982b0943fdaf1302
[ "MIT" ]
null
null
null
#include <cmath> #include <cstdio> #include <vector> #include <iostream> #include <algorithm> using namespace std; bool check ( const string &haystack, const char *needles ) { for ( auto p = begin(haystack), q = end(haystack); *needles; ++p, ++needles ) { if ( p == q ) return false; if ( ( p = find...
26.5
91
0.545597
will-crawford
d6d18090610530e22e7fc57395c32355580ae09b
1,233
cpp
C++
node_modules/lzz-gyp/lzz-source/smtc_ClassDefn.cpp
SuperDizor/dizornator
9f57dbb3f6af80283b4d977612c95190a3d47900
[ "ISC" ]
3
2019-09-18T16:44:33.000Z
2021-03-29T13:45:27.000Z
node_modules/lzz-gyp/lzz-source/smtc_ClassDefn.cpp
SuperDizor/dizornator
9f57dbb3f6af80283b4d977612c95190a3d47900
[ "ISC" ]
null
null
null
node_modules/lzz-gyp/lzz-source/smtc_ClassDefn.cpp
SuperDizor/dizornator
9f57dbb3f6af80283b4d977612c95190a3d47900
[ "ISC" ]
2
2019-03-29T01:06:38.000Z
2019-09-18T16:44:34.000Z
// smtc_ClassDefn.cpp // #include "smtc_ClassDefn.h" #ifndef LZZ_ENABLE_INLINE #include "smtc_ClassDefn.inl" #endif #define LZZ_INLINE inline namespace smtc { ClassDefn::ClassDefn (ClassKey key, NamePtr const & name, bool is_dll_api, BaseSpecPtrVector const & base_spec_set) : ClassDecl (key, name, is_dll_api), m...
17.614286
117
0.672344
SuperDizor
d6d36db9515ab8f88e031f536f7d86ad93597eb0
8,116
cpp
C++
Engine/source/T3D/examples/renderObjectExample.cpp
fr1tz/alux3d
249a3b51751ce3184d52879b481f83eabe89e7e3
[ "MIT" ]
46
2015-01-05T17:34:43.000Z
2022-01-04T04:03:09.000Z
Engine/source/T3D/examples/renderObjectExample.cpp
fr1tz/alux3d
249a3b51751ce3184d52879b481f83eabe89e7e3
[ "MIT" ]
10
2015-01-20T23:14:46.000Z
2019-04-05T22:04:15.000Z
Engine/source/T3D/examples/renderObjectExample.cpp
fr1tz/terminal-overload
85f0689a40022e5eb7e54dcb6ddfb5ddd82a0a60
[ "CC-BY-4.0" ]
9
2015-08-08T18:46:06.000Z
2021-02-01T13:53:20.000Z
// Copyright information can be found in the file named COPYING // located in the root directory of this distribution. #include "T3D/examples/renderObjectExample.h" #include "math/mathIO.h" #include "scene/sceneRenderState.h" #include "core/stream/bitStream.h" #include "materials/sceneData.h" #include "gfx/gfxDebugEv...
31.095785
111
0.611138
fr1tz
d6d6ba7733aff801e747a7101d7ae26e503834b5
4,128
cpp
C++
romsel_dsimenutheme/arm9/source/graphics/Texture.cpp
rootyElf/TWiLightMenu
9637eca43d0963123eceef56359de18b83d6fb70
[ "MIT" ]
2
2019-05-09T01:44:15.000Z
2021-01-26T16:08:15.000Z
romsel_dsimenutheme/arm9/source/graphics/Texture.cpp
rootyElf/TWiLightMenu
9637eca43d0963123eceef56359de18b83d6fb70
[ "MIT" ]
null
null
null
romsel_dsimenutheme/arm9/source/graphics/Texture.cpp
rootyElf/TWiLightMenu
9637eca43d0963123eceef56359de18b83d6fb70
[ "MIT" ]
1
2019-12-25T23:23:09.000Z
2019-12-25T23:23:09.000Z
#include "Texture.h" Texture::Texture(const std::string &filePath, const std::string &fallback) : _paletteLength(0), _texLength(0), _texCmpLength(0), _texHeight(0), _texWidth(0), _type(TextureType::Unknown) { FILE *file = fopen(filePath.c_str(), "rb"); if (!file) { file = fopen(fallback.c_str(), "rb"); } ...
25.8
116
0.667151
rootyElf
d6dad659cdb7a132d8393562af23c0e2d9ae182c
527
hpp
C++
libs/core/render/include/bksge/core/render/vulkan/detail/fwd/fence_fwd.hpp
myoukaku/bksge
0f8b60e475a3f1709723906e4796b5e60decf06e
[ "MIT" ]
4
2018-06-10T13:35:32.000Z
2021-06-03T14:27:41.000Z
libs/core/render/include/bksge/core/render/vulkan/detail/fwd/fence_fwd.hpp
myoukaku/bksge
0f8b60e475a3f1709723906e4796b5e60decf06e
[ "MIT" ]
566
2017-01-31T05:36:09.000Z
2022-02-09T05:04:37.000Z
libs/core/render/include/bksge/core/render/vulkan/detail/fwd/fence_fwd.hpp
myoukaku/bksge
0f8b60e475a3f1709723906e4796b5e60decf06e
[ "MIT" ]
1
2018-07-05T04:40:53.000Z
2018-07-05T04:40:53.000Z
/** * @file fence_fwd.hpp * * @brief Fence クラスの前方宣言 * * @author myoukaku */ #ifndef BKSGE_CORE_RENDER_VULKAN_DETAIL_FWD_FENCE_FWD_HPP #define BKSGE_CORE_RENDER_VULKAN_DETAIL_FWD_FENCE_FWD_HPP #include <bksge/fnd/memory/unique_ptr.hpp> namespace bksge { namespace render { namespace vulkan ...
15.969697
60
0.726755
myoukaku
d6db35d0fcd03deb737bf02b9b7482a5e56e4c18
361
cpp
C++
src/Interpreter/RuntimeError.cpp
Morphlng/cploxplox
f7f64c535b76bdaab90d7ea7fd0377bf44595c71
[ "MIT" ]
null
null
null
src/Interpreter/RuntimeError.cpp
Morphlng/cploxplox
f7f64c535b76bdaab90d7ea7fd0377bf44595c71
[ "MIT" ]
null
null
null
src/Interpreter/RuntimeError.cpp
Morphlng/cploxplox
f7f64c535b76bdaab90d7ea7fd0377bf44595c71
[ "MIT" ]
null
null
null
#include "Interpreter/RuntimeError.h" namespace CXX { RuntimeError::RuntimeError(const Position& start, const Position& end, std::string details) : Error(start, end, "Runtime Error", std::move(details)) {} RuntimeError::RuntimeError(Position* start, Position* end, std::string details) : Error(*start, *end, "R...
27.769231
94
0.717452
Morphlng
d6dd73b27ed3e718a60e5f8a6e2800e0d4eb5786
11,081
cpp
C++
test/threads.cpp
AerialMantis/enzen
4ebcdb9903d3cf6d8d1f2cdc2576f6017d6bf8b0
[ "Apache-2.0" ]
3
2019-05-24T01:10:24.000Z
2019-06-24T18:01:17.000Z
test/threads.cpp
AerialMantis/enzen
4ebcdb9903d3cf6d8d1f2cdc2576f6017d6bf8b0
[ "Apache-2.0" ]
null
null
null
test/threads.cpp
AerialMantis/enzen
4ebcdb9903d3cf6d8d1f2cdc2576f6017d6bf8b0
[ "Apache-2.0" ]
null
null
null
/* Copyright 2018 - 2019 Gordon Brown 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, software...
28.856771
79
0.712842
AerialMantis
d6de14543adce95783a0e1ee7ebe43ab2e116ebf
2,281
hpp
C++
third_party/uri/src/detail/algorithm_split.hpp
vectorgraphics/LspCpp
19411f6ca65b24964f421024035a3d7ec36dc8b1
[ "MIT" ]
106
2015-02-19T09:29:06.000Z
2022-02-28T07:49:43.000Z
third_party/uri/src/detail/algorithm_split.hpp
vectorgraphics/LspCpp
19411f6ca65b24964f421024035a3d7ec36dc8b1
[ "MIT" ]
82
2015-01-02T10:29:34.000Z
2020-08-25T13:46:05.000Z
third_party/uri/src/detail/algorithm_split.hpp
vectorgraphics/LspCpp
19411f6ca65b24964f421024035a3d7ec36dc8b1
[ "MIT" ]
62
2015-01-28T22:14:14.000Z
2022-03-14T01:24:47.000Z
/** * Search algorithms * @author Lobaskin Vasily * @data 31 March 2020 * @copyright Boost Software License, Version 1.0 */ #include <type_traits> namespace network { namespace algorithm { template <typename ContainerT, class SequenceT, typename SplitterT, typename std::enable_if<std::is_fundamental<S...
30.013158
79
0.638317
vectorgraphics
d6e24f2347736fbf61fdc1f583419c43b53d4109
27,666
cpp
C++
Fire_Engine/Engine/Source/Editor.cpp
JandroK/Fire-Engine
371f4ae5e6d1a3fc6c8c59e77f18314fa45f214c
[ "MIT" ]
null
null
null
Fire_Engine/Engine/Source/Editor.cpp
JandroK/Fire-Engine
371f4ae5e6d1a3fc6c8c59e77f18314fa45f214c
[ "MIT" ]
null
null
null
Fire_Engine/Engine/Source/Editor.cpp
JandroK/Fire-Engine
371f4ae5e6d1a3fc6c8c59e77f18314fa45f214c
[ "MIT" ]
null
null
null
#include "Application.h" #include "Editor.h" // Modules #include "Scene.h" #include "GameObject.h" #include "Window.h" #include "Input.h" #include "Camera3D.h" #include "ResourceManager.h" // Tabs #include "Tab.h" #include "Configuration.h" #include "ConsoleTab.h" #include "AboutTab.h" #include "Inspector.h" #include...
30.071739
229
0.695113
JandroK
d6edf1b4a830fc5e3f95c8d6efefe77acb94dc3e
419
hpp
C++
include/uthread/detail/asan.hpp
andreimaximov/uthread
236d820d3730f9552afbd4cb574bbc7a941c3eb4
[ "MIT" ]
null
null
null
include/uthread/detail/asan.hpp
andreimaximov/uthread
236d820d3730f9552afbd4cb574bbc7a941c3eb4
[ "MIT" ]
1
2018-07-07T21:58:33.000Z
2018-07-07T21:58:34.000Z
include/uthread/detail/asan.hpp
andreimaximov/uthread
236d820d3730f9552afbd4cb574bbc7a941c3eb4
[ "MIT" ]
null
null
null
#pragma once // clang #if defined(__has_feature) #if ((__has_feature(address_sanitizer))) #define UTHREAD_ASAN 1 #endif #endif // gcc #if defined(__SANITIZE_ADDRESS__) #if __SANITIZE_ADDRESS__ #define UTHREAD_ASAN 1 #endif #endif namespace uthread { namespace detail { #if defined(UTHREAD_ASAN) constexpr bool kAsan ...
14.964286
40
0.75895
andreimaximov
d6f178e136bbd20f5cc0bc97a008f71b756d0e19
892
cpp
C++
competitive/c++/z.aio/2020/beach umberellas/sub1.cpp
HackintoshwithUbuntu/BigRepo
70746ddf7edc1ec9f13fe5f53a40eb4c3ebd2874
[ "MIT" ]
null
null
null
competitive/c++/z.aio/2020/beach umberellas/sub1.cpp
HackintoshwithUbuntu/BigRepo
70746ddf7edc1ec9f13fe5f53a40eb4c3ebd2874
[ "MIT" ]
null
null
null
competitive/c++/z.aio/2020/beach umberellas/sub1.cpp
HackintoshwithUbuntu/BigRepo
70746ddf7edc1ec9f13fe5f53a40eb4c3ebd2874
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int main() { // Setting IO files freopen("beachin.txt", "r", stdin); freopen("beachout.txt", "w", stdout); // Variables int n, u, k, x; cin >> n >> u >> k >> x; vector<bool> beacht(n,false); // Populating beach for(int i = 0; i < n; i...
20.272727
60
0.391256
HackintoshwithUbuntu
d6f601ecbc36508d03563253047f8f48139283f7
906
cc
C++
RecoDataProducts/src/StrawDigiFlag.cc
bonventre/Offline
77db9d6368f27ab9401c690c2c2a4257ade6c231
[ "Apache-2.0" ]
1
2021-06-25T00:00:12.000Z
2021-06-25T00:00:12.000Z
RecoDataProducts/src/StrawDigiFlag.cc
bonventre/Offline
77db9d6368f27ab9401c690c2c2a4257ade6c231
[ "Apache-2.0" ]
1
2019-11-22T14:45:51.000Z
2019-11-22T14:50:03.000Z
RecoDataProducts/src/StrawDigiFlag.cc
bonventre/Offline
77db9d6368f27ab9401c690c2c2a4257ade6c231
[ "Apache-2.0" ]
2
2019-10-14T17:46:58.000Z
2020-03-30T21:05:15.000Z
// // Class to describe flag bits for StrawDigis // // $Id: StrawDigiFlag.cc,v 1.4 2013/04/04 01:08:20 brownd Exp $ // $Author: brownd $ // $Date: 2013/04/04 01:08:20 $ // // Original author David Brown // // Mu2e includes #include "RecoDataProducts/inc/StrawDigiFlag.hh" #include <stdexcept> #include <iostream> #includ...
28.3125
95
0.675497
bonventre
d6fac640784e5748587448034322a1f4496de027
309
hpp
C++
tests/execution/execution_full.hpp
olegpublicprofile/stdfwd
19671bcc8e53bd4c008f07656eaf25a22495e093
[ "MIT" ]
11
2021-03-15T07:06:21.000Z
2021-09-27T13:54:25.000Z
tests/execution/execution_full.hpp
olegpublicprofile/stdfwd
19671bcc8e53bd4c008f07656eaf25a22495e093
[ "MIT" ]
null
null
null
tests/execution/execution_full.hpp
olegpublicprofile/stdfwd
19671bcc8e53bd4c008f07656eaf25a22495e093
[ "MIT" ]
1
2021-06-24T10:46:46.000Z
2021-06-24T10:46:46.000Z
#pragma once //------------------------------------------------------------------------------ namespace execution_tests { //------------------------------------------------------------------------------ void run_full(); //------------------------------------------------------------------------------ }
22.071429
80
0.148867
olegpublicprofile
d6ff91f88358b627eee3adfe02db41c56ded9259
340
cpp
C++
src/ncurses/curs_scr_dump.cpp
NPS-TECH/luacxx
e5ba2a1be7c54538a0d8ee86c875f05b015b0990
[ "MIT" ]
128
2015-01-07T19:47:09.000Z
2022-01-22T19:42:14.000Z
src/ncurses/curs_scr_dump.cpp
NPS-TECH/luacxx
e5ba2a1be7c54538a0d8ee86c875f05b015b0990
[ "MIT" ]
null
null
null
src/ncurses/curs_scr_dump.cpp
NPS-TECH/luacxx
e5ba2a1be7c54538a0d8ee86c875f05b015b0990
[ "MIT" ]
24
2015-01-07T19:47:10.000Z
2022-01-25T17:42:37.000Z
#include "../ncurses.hpp" #include "../thread.hpp" // http://invisible-island.net/ncurses/man/curs_scr_dump.3x.html void lua::ncurses_curs_scr_dump(lua_State* const state) { lua::thread env(state); env["scr_dump"] = scr_dump; env["scr_restore"] = scr_restore; env["scr_init"] = scr_init; env["scr...
21.25
64
0.670588
NPS-TECH
d900a2966ef7c2330683bde1be5cc837a24f7a12
8,636
cpp
C++
library/common/pkix/cipher-helper.cpp
specinfo-ua/UAPKI
2b6d376442d6dd42e5108c31e0f6a71775863979
[ "BSD-2-Clause" ]
17
2021-11-17T20:20:00.000Z
2022-01-25T11:32:54.000Z
library/common/pkix/cipher-helper.cpp
specinfo-ua/UAPKI
2b6d376442d6dd42e5108c31e0f6a71775863979
[ "BSD-2-Clause" ]
null
null
null
library/common/pkix/cipher-helper.cpp
specinfo-ua/UAPKI
2b6d376442d6dd42e5108c31e0f6a71775863979
[ "BSD-2-Clause" ]
3
2021-11-18T20:37:01.000Z
2022-02-17T17:18:52.000Z
/* * Copyright (c) 2022, The UAPKI Project Authors. * * 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 conditions and t...
31.518248
177
0.697661
specinfo-ua
d9014c0db0530ee4cbcb358f3de8bd42e96f3f6a
596
cpp
C++
UBC-ACM-Practice/2015-May-16/b.cpp
raunakkmr/Competitive-Programming
1e4583f893df2a465ad6f08ed2e78ba6966ed96a
[ "MIT" ]
null
null
null
UBC-ACM-Practice/2015-May-16/b.cpp
raunakkmr/Competitive-Programming
1e4583f893df2a465ad6f08ed2e78ba6966ed96a
[ "MIT" ]
null
null
null
UBC-ACM-Practice/2015-May-16/b.cpp
raunakkmr/Competitive-Programming
1e4583f893df2a465ad6f08ed2e78ba6966ed96a
[ "MIT" ]
null
null
null
#include<bits/stdtr1c++.h> using namespace std; int n; int arr[101][101]; int minx, miny, maxx, maxy; int solve() { if (maxx-minx > maxy-miny) return pow(maxx-minx,2); else return pow(maxy-miny,2); } int main() { memset(arr, -1, sizeof arr); cin >> n; minx = 1000, miny = 1000; ...
17.028571
31
0.483221
raunakkmr
d9057201c2b979c651600d90d6876004fa0cfd94
1,300
cpp
C++
src/config.cpp
mkkelley/autogrp
9804a796f39f011b82c45ca67191aeb815818f19
[ "BSD-3-Clause" ]
null
null
null
src/config.cpp
mkkelley/autogrp
9804a796f39f011b82c45ca67191aeb815818f19
[ "BSD-3-Clause" ]
null
null
null
src/config.cpp
mkkelley/autogrp
9804a796f39f011b82c45ca67191aeb815818f19
[ "BSD-3-Clause" ]
null
null
null
#include "config.h" #include <cstdlib> #include "INIReader.h" #define MISSING_GAMES_DIR 1 #define MISSING_TEMP_SGF_PATH 2 #define MISSING_PYTHON_PATH 3 Config::Config(INIReader* inireader) : ogs_id(inireader->Get("core", "ogs_id", "")), games_dir(inireader->Get("core", "games_dir", "")), start_page(inire...
32.5
78
0.666923
mkkelley
d90841cbe962349dc6008e6bc627774a94b4286e
1,786
cpp
C++
framework/CoreAnimation/Sources/CoreAction.cpp
assoria/kigs
53136685a23e5552a94fb72a794275c7abbfe7f4
[ "MIT" ]
26
2019-11-14T19:02:52.000Z
2020-04-20T06:08:34.000Z
framework/CoreAnimation/Sources/CoreAction.cpp
assoria/kigs
53136685a23e5552a94fb72a794275c7abbfe7f4
[ "MIT" ]
null
null
null
framework/CoreAnimation/Sources/CoreAction.cpp
assoria/kigs
53136685a23e5552a94fb72a794275c7abbfe7f4
[ "MIT" ]
6
2020-02-03T12:38:23.000Z
2020-04-16T10:55:41.000Z
#include "PrecompiledHeaders.h" #include "CoreAction.h" #include "CoreValue.h" #include "ModuleCoreAnimation.h" CoreAction::~CoreAction() { } // if paramstring contains -> then extract param name part and return real target (son on current target) CMSP CoreAction::checkSubTarget(kstl::string& paramstring) { size_t...
19.413043
105
0.68645
assoria
d90b8fcfd4e64c2b0cf8a7f765f074bb84abfcb5
6,402
cpp
C++
main.cpp
wille-io/fast-ca
9ed80bbf878dbfd850d034d526949cc168b4fd50
[ "MIT" ]
null
null
null
main.cpp
wille-io/fast-ca
9ed80bbf878dbfd850d034d526949cc168b4fd50
[ "MIT" ]
null
null
null
main.cpp
wille-io/fast-ca
9ed80bbf878dbfd850d034d526949cc168b4fd50
[ "MIT" ]
3
2020-01-23T10:07:36.000Z
2020-10-16T15:33:48.000Z
#include <botan/x509_ca.h> #include <botan/x509cert.h> #include <botan/x509self.h> #include <botan/rsa.h> #include <botan/pk_keys.h> #include <botan/bigint.h> #include <botan/auto_rng.h> #include <botan/pubkey.h> // bug: botan 2.12.1 does a sizeof for (undefined) PK_Signer when using X509CA #include <botan/pkcs8.h> #i...
23.88806
162
0.606529
wille-io
d90ef7f9853ba02688e91be9ded4ca40cce5fc97
7,447
hpp
C++
library/devices/sensors/distance/time_of_flight/tfmini.hpp
SarahS16/SJSU-Dev2
47f9ddb7d3c3743f839b57f381bf979dd61d49ab
[ "Apache-2.0" ]
6
2020-06-20T23:56:42.000Z
2021-12-18T08:13:54.000Z
library/devices/sensors/distance/time_of_flight/tfmini.hpp
SarahS16/SJSU-Dev2
47f9ddb7d3c3743f839b57f381bf979dd61d49ab
[ "Apache-2.0" ]
153
2020-06-09T14:49:29.000Z
2022-01-31T16:39:39.000Z
library/devices/sensors/distance/time_of_flight/tfmini.hpp
SarahS16/SJSU-Dev2
47f9ddb7d3c3743f839b57f381bf979dd61d49ab
[ "Apache-2.0" ]
10
2020-08-02T00:55:38.000Z
2022-01-24T23:06:51.000Z
// @ingroup SJSU-Dev2 // @defgroup TFMini driver // @brief This driver provides the software to use the TFMini, a time of flight // sensor // @{ #pragma once #include <array> #include <cstdint> #include <limits> #include <numeric> #include <span> #include "peripherals/uart.hpp" #include "devices/sensors/distance/dist...
33.85
80
0.691419
SarahS16
d9128b94f965cb5efc95db7e7a55f7f11100aa79
7,193
cpp
C++
src/game/client/tf/c_tf_stickybolt.cpp
cstom4994/SourceEngineRebuild
edfd7f8ce8af13e9d23586318350319a2e193c08
[ "MIT" ]
6
2022-01-23T09:40:33.000Z
2022-03-20T20:53:25.000Z
src/game/client/tf/c_tf_stickybolt.cpp
cstom4994/SourceEngineRebuild
edfd7f8ce8af13e9d23586318350319a2e193c08
[ "MIT" ]
null
null
null
src/game/client/tf/c_tf_stickybolt.cpp
cstom4994/SourceEngineRebuild
edfd7f8ce8af13e9d23586318350319a2e193c08
[ "MIT" ]
1
2022-02-06T21:05:23.000Z
2022-02-06T21:05:23.000Z
//========= Copyright Valve Corporation, All rights reserved. ============// // // Purpose: TF version of the stickybolt code. // I broke off our own version because I didn't want to accidentally break HL2. // $Workfile: $ // $Date: $ // //-----------------------------------------------------------------...
29.970833
154
0.666064
cstom4994
d914d3c1644e6a18e11ed7d1f1529c1758cbf073
3,555
cpp
C++
tests/numerical/fpbench/log_exp.cpp
hypercubestart/universal
a183ae390b5178299a5cbda7b830b7a6cbf332e2
[ "MIT" ]
1
2021-12-08T06:32:18.000Z
2021-12-08T06:32:18.000Z
tests/numerical/fpbench/log_exp.cpp
hypercubestart/universal
a183ae390b5178299a5cbda7b830b7a6cbf332e2
[ "MIT" ]
null
null
null
tests/numerical/fpbench/log_exp.cpp
hypercubestart/universal
a183ae390b5178299a5cbda7b830b7a6cbf332e2
[ "MIT" ]
1
2021-07-02T12:40:39.000Z
2021-07-02T12:40:39.000Z
// log_exp.cpp: numerical test programs for fpbench tests for functions constructed with log and exp // // Copyright (C) 2017-2020 Stillwater Supercomputing, Inc. // // This file is part of the universal project, which is released under an MIT Open Source license. #include <iostream> #include <random> #include <algori...
29.625
101
0.699578
hypercubestart
d914fbe80f8f5d8c41db5d789cc21a1b5be3ea90
3,797
cpp
C++
code/preprocess_robotics_3d_main.cpp
Ihaa21/PointCloud
c7ae8fe8ba72f8345dc30b9ad2c366de34f8a989
[ "MIT" ]
null
null
null
code/preprocess_robotics_3d_main.cpp
Ihaa21/PointCloud
c7ae8fe8ba72f8345dc30b9ad2c366de34f8a989
[ "MIT" ]
null
null
null
code/preprocess_robotics_3d_main.cpp
Ihaa21/PointCloud
c7ae8fe8ba72f8345dc30b9ad2c366de34f8a989
[ "MIT" ]
null
null
null
#ifdef _MSC_VER #define _CRT_SECURE_NO_WARNINGS #endif #include <stdio.h> #include <windows.h> #include "math\math.h" #include "memory\memory.h" #include "preprocess_robotics_3d_main.h" int main(int argc, char** argv) { // NOTE: Give the file names here char* PcFileNames[] = { "wue_cit...
32.732759
157
0.518041
Ihaa21
d914fca8bc6c6ce39bf5a790f8421b35723121c2
4,566
cc
C++
code/render/coregraphics/d3d11/d3d11depthstenciltarget.cc
gscept/nebula-trifid
e7c0a0acb05eedad9ed37a72c1bdf2d658511b42
[ "BSD-2-Clause" ]
67
2015-03-30T19:56:16.000Z
2022-03-11T13:52:17.000Z
code/render/coregraphics/d3d11/d3d11depthstenciltarget.cc
gscept/nebula-trifid
e7c0a0acb05eedad9ed37a72c1bdf2d658511b42
[ "BSD-2-Clause" ]
5
2015-04-15T17:17:33.000Z
2016-02-11T00:40:17.000Z
code/render/coregraphics/d3d11/d3d11depthstenciltarget.cc
gscept/nebula-trifid
e7c0a0acb05eedad9ed37a72c1bdf2d658511b42
[ "BSD-2-Clause" ]
34
2015-03-30T15:08:00.000Z
2021-09-23T05:55:10.000Z
//------------------------------------------------------------------------------ // d3d11depthstenciltarget.cc // (C) 2013 Gustav Sterbrant //------------------------------------------------------------------------------ #include "stdneb.h" #include "d3d11depthstenciltarget.h" #include "d3d11renderdevice.h" #include ...
27.017751
111
0.615637
gscept
d9191cfa24c69cf5d0dcc6a6c3c94d660d258f63
2,216
cpp
C++
Algorithms/Other Classic Problems/Meet In The Middle.cpp
purhan/mindsport
d14fe8917c64b475589f494d98b74e99c9e064e5
[ "MIT" ]
null
null
null
Algorithms/Other Classic Problems/Meet In The Middle.cpp
purhan/mindsport
d14fe8917c64b475589f494d98b74e99c9e064e5
[ "MIT" ]
null
null
null
Algorithms/Other Classic Problems/Meet In The Middle.cpp
purhan/mindsport
d14fe8917c64b475589f494d98b74e99c9e064e5
[ "MIT" ]
1
2021-07-19T08:39:38.000Z
2021-07-19T08:39:38.000Z
/* Meet in the middle Problem: Given an array of n numbers (n <= 40), count the number of subsets with sum x (x <= 10^9) Link: https://cses.fi/problemset/task/1628/ Analysis: Normally, if (n, x <= 10^6), we can do a DP knapsack with O(nx) time complexity But as x <= 10^9, we cannot hold such a huge array, so DP is not...
33.575758
134
0.579874
purhan
d91d5fc3e8146cc40adcb44ec7a1190937bb90a6
3,453
cpp
C++
code/src/asg/smac/graph_matching_SMAC/cpp/spmtimesd.cpp
mk2510/jointGraphMatchingAndClustering
52f579a07d106cb241d21dbc29a2ec9e9c77b254
[ "Unlicense" ]
78
2017-08-31T19:29:21.000Z
2022-01-15T10:57:38.000Z
code/src/asg/smac/graph_matching_SMAC/cpp/spmtimesd.cpp
mk2510/jointGraphMatchingAndClustering
52f579a07d106cb241d21dbc29a2ec9e9c77b254
[ "Unlicense" ]
8
2017-09-20T09:03:36.000Z
2021-08-13T02:29:28.000Z
retrieval-src/fgm-master/src/asg/smac/graph_matching_SMAC/cpp/spmtimesd.cpp
ISCAS007/sketch-parse
7f944fd46df66640a56b8af51ddd88b553ea3de7
[ "MIT" ]
17
2017-09-06T05:34:00.000Z
2021-12-12T09:39:51.000Z
/*================================================================ * Stella X. Yu's first MEX function, Nov 9, 2001. * spmtimesd.c * This routine computes a sparse matrix times a diagonal matrix * whose diagonal entries are stored in a full vector. * * Examples: * spmtimesd(m,d,[]) = diag(d) * m, * spmtimesd(m...
24.316901
68
0.4234
mk2510
0baba09e8432249da6aff3934cd488180cb6c0ee
15,259
cpp
C++
source/hardware/armv7m/hardware.cpp
t4th/rtos
247b4a366dbb3de59ea7877079e2bf5eb2113883
[ "MIT" ]
null
null
null
source/hardware/armv7m/hardware.cpp
t4th/rtos
247b4a366dbb3de59ea7877079e2bf5eb2113883
[ "MIT" ]
null
null
null
source/hardware/armv7m/hardware.cpp
t4th/rtos
247b4a366dbb3de59ea7877079e2bf5eb2113883
[ "MIT" ]
null
null
null
#include "hardware/hardware.hpp" #include <stm32f10x.h> #include <cassert> // This file contain hardware specific implementation. // In current case its stm32f103ze clocked at 72MHz. // TODO: Make this somehow private to kernel::hardware or nameless namespace. // This is workaround to use C++ variables symbols in i...
36.073286
149
0.601022
t4th
0bad314ec7631bc1dd929eda4fa3c25e51e043c5
10,678
cpp
C++
Interpretator/src/Interpreter.cpp
dimitarkyurtov/Interpretator
61bbe21a6475dd81a5187a41c0bf7039eb80803d
[ "MIT" ]
null
null
null
Interpretator/src/Interpreter.cpp
dimitarkyurtov/Interpretator
61bbe21a6475dd81a5187a41c0bf7039eb80803d
[ "MIT" ]
null
null
null
Interpretator/src/Interpreter.cpp
dimitarkyurtov/Interpretator
61bbe21a6475dd81a5187a41c0bf7039eb80803d
[ "MIT" ]
null
null
null
#include "Interpreter.h" Interpreter::Interpreter(){ paramsPtr = Variables::getInstance(); funcsPtr = Functions::getInstance(); } Interpreter* Interpreter::getInstance() { if (!instance){ instance = new Interpreter; } return instance; } void Interpreter::persistParam(const std::string& ...
31.591716
125
0.328526
dimitarkyurtov
0bb4e4e1bc501d4989c90016e78d92df29326b0c
2,298
cpp
C++
SimpleRoguelike/Game/Entities/Warrior.cpp
DmitryFrolov/roguelikeKD
e55944039415e557a804c11093bf9f7de9775b16
[ "MIT" ]
1
2017-09-05T11:07:03.000Z
2017-09-05T11:07:03.000Z
SimpleRoguelike/Game/Entities/Warrior.cpp
DmitryFrolov/roguelikeKD
e55944039415e557a804c11093bf9f7de9775b16
[ "MIT" ]
null
null
null
SimpleRoguelike/Game/Entities/Warrior.cpp
DmitryFrolov/roguelikeKD
e55944039415e557a804c11093bf9f7de9775b16
[ "MIT" ]
1
2019-04-14T18:44:32.000Z
2019-04-14T18:44:32.000Z
#include <Core/GlobalDefines.h> #include <Managers/Keeper.h> #include "Warrior.h" void Warrior::gainExperience(int exp) { experience += exp; switch (level) { case 1: if (experience >= WARRIOR_EXP_TO_2) { level++; maxHits = WARRIOR_HITS_2; hits = WARRIOR_HITS_2; attack = WARRIOR_ATTACK_2; defen...
21.277778
118
0.705396
DmitryFrolov
0bb8fb37bb68aa0621408ec528a034ed37f7e6fd
2,201
cpp
C++
misc/NSDevice.cpp
szk/reprize
a827aa0247f7954f9f36ae573f97db1397645bf5
[ "BSD-2-Clause" ]
null
null
null
misc/NSDevice.cpp
szk/reprize
a827aa0247f7954f9f36ae573f97db1397645bf5
[ "BSD-2-Clause" ]
null
null
null
misc/NSDevice.cpp
szk/reprize
a827aa0247f7954f9f36ae573f97db1397645bf5
[ "BSD-2-Clause" ]
1
2019-03-11T20:58:41.000Z
2019-03-11T20:58:41.000Z
#include "Common.hpp" #include "misc/NSDepInfo.hpp" #include "video/VidFactory.hpp" #include "video/GLNSFactory.hpp" #include "video/GLNSScreen.hpp" #include "video/GLRenderer.hpp" #include "input/InputFactory.hpp" #include "input/NSEvFactory.hpp" //#include "input/NSEvBase.hpp" //#include "input/NSEvKeyboard.hpp" ...
24.455556
94
0.702408
szk
0bbba81f356ce2e3276592fc389719d1629460b9
2,329
cpp
C++
test/libkmap_test.cpp
widberg/libkmap
fb5ab5ad17da24e3d355014b6cee97f34e6db93c
[ "MIT" ]
null
null
null
test/libkmap_test.cpp
widberg/libkmap
fb5ab5ad17da24e3d355014b6cee97f34e6db93c
[ "MIT" ]
null
null
null
test/libkmap_test.cpp
widberg/libkmap
fb5ab5ad17da24e3d355014b6cee97f34e6db93c
[ "MIT" ]
null
null
null
#include <gtest/gtest.h> #include <libkmap/libkmap.hpp> using namespace libkmap; TEST(libkmap, Empty) { KMap<4, SolutionType::SUM_OF_PRODUCTS> kmap; auto solution = kmap.optimal_solution(); ASSERT_EQ("0", solution.to_string()); } TEST(libkmap, Full) { KMap<4, SolutionType::SUM_OF_PRODUCTS> kmap; kmap.fill(Ce...
28.753086
78
0.700301
widberg
0bbd1cb102171d62a2d38260fe63087d4a788a69
352
cpp
C++
26.Remove Duplicates from Sorted Array/test.cpp
ReZeroS/LeetCode
807ae800437e0b6224bd4672f28007388625437b
[ "MIT" ]
2
2018-10-24T03:34:44.000Z
2020-07-16T15:34:44.000Z
26.Remove Duplicates from Sorted Array/test.cpp
ReZeroS/LeetCode
807ae800437e0b6224bd4672f28007388625437b
[ "MIT" ]
null
null
null
26.Remove Duplicates from Sorted Array/test.cpp
ReZeroS/LeetCode
807ae800437e0b6224bd4672f28007388625437b
[ "MIT" ]
null
null
null
class Solution { public: int removeDuplicates(vector<int>& nums) { if(nums.size() == 0){ return 0; } for(auto iter = nums.begin() + 1; iter != nums.end(); ++iter){ if( *iter == *(iter-1) ){ iter = nums.erase(iter) - 1; } } ...
23.466667
70
0.420455
ReZeroS
0bbe93f0dad9c7f69bb74eebf127a19d02493cad
1,255
cpp
C++
src/Robot.cpp
Overture-7421/InsertRobotNameCode
70bbaa5f15c32e263da27f9e02f429b3de9c1958
[ "BSD-3-Clause" ]
null
null
null
src/Robot.cpp
Overture-7421/InsertRobotNameCode
70bbaa5f15c32e263da27f9e02f429b3de9c1958
[ "BSD-3-Clause" ]
null
null
null
src/Robot.cpp
Overture-7421/InsertRobotNameCode
70bbaa5f15c32e263da27f9e02f429b3de9c1958
[ "BSD-3-Clause" ]
null
null
null
/* ____ __ ____ __ __ _ __ / _/___ ________ _____/ /_ / __ \____ / /_ ____ / /_ / | / /___ _____ ___ ___ / // __ \/ ___/ _ \/ ___/ __/ / /_/ / __ \/ __ \/ __ \/ __/ / |/ / __ `/ __ `__ \/ _ \ _/ // / / (__ ) __/ / / /_ / _, ...
24.134615
138
0.537052
Overture-7421
0bc3d4252c55f36a119d81091e046922923b341d
629
cpp
C++
Searching/04. FirstIndexOfNumberRecursive.cpp
sohamnandi77/Cpp-Data-Structures-And-Algorithm
f29a14760964103a5b58cfff925cd8f7ed5aa6c1
[ "MIT" ]
2
2021-05-21T17:10:02.000Z
2021-05-29T05:13:06.000Z
Searching/04. FirstIndexOfNumberRecursive.cpp
sohamnandi77/Cpp-Data-Structures-And-Algorithm
f29a14760964103a5b58cfff925cd8f7ed5aa6c1
[ "MIT" ]
null
null
null
Searching/04. FirstIndexOfNumberRecursive.cpp
sohamnandi77/Cpp-Data-Structures-And-Algorithm
f29a14760964103a5b58cfff925cd8f7ed5aa6c1
[ "MIT" ]
null
null
null
#include <iostream> #define ll long long using namespace std; ll FirstIndex(ll arr[], ll low, ll high, ll x) { if (low > high) return -1; ll mid = (low + high) / 2; if (x > arr[mid]) return FirstIndex(arr, mid + 1, high, x); else if (x < arr[mid]) return FirstIndex(arr, low, mid - 1, x); else ...
19.060606
50
0.524642
sohamnandi77
0bcb274aefa3d9d6e16cb93bb67ec33d809933e6
1,356
cpp
C++
RectanglePacker/Benchmarking.cpp
sci-t/RectanglePacker
beef065b7803e9d2b44eda8c240f5e0b13d78e2c
[ "MIT" ]
null
null
null
RectanglePacker/Benchmarking.cpp
sci-t/RectanglePacker
beef065b7803e9d2b44eda8c240f5e0b13d78e2c
[ "MIT" ]
null
null
null
RectanglePacker/Benchmarking.cpp
sci-t/RectanglePacker
beef065b7803e9d2b44eda8c240f5e0b13d78e2c
[ "MIT" ]
null
null
null
/****************************************************************************************************************************************** * File: Benchmarking.h * Author: Lunev Arseniy (c) 2022 * Email: lunars@mail.ru *************************************************************************************...
38.742857
139
0.522124
sci-t
0bcd2094f9225c92f65d29ff7a96590a75234dab
328
cpp
C++
Meteor/Source/Utils/Time/ScopedTimer.cpp
96aman96/Meteor
17e7fdc91244cf952b2db40de97f7b05f12f22e0
[ "MIT" ]
null
null
null
Meteor/Source/Utils/Time/ScopedTimer.cpp
96aman96/Meteor
17e7fdc91244cf952b2db40de97f7b05f12f22e0
[ "MIT" ]
null
null
null
Meteor/Source/Utils/Time/ScopedTimer.cpp
96aman96/Meteor
17e7fdc91244cf952b2db40de97f7b05f12f22e0
[ "MIT" ]
null
null
null
#include "acpch.h" #include "ScopedTimer.h" #include "Utils/StringUtils/StringUtils.h" #include "Utils/Logger/Logger.h" namespace meteor { ScopedTimer::ScopedTimer(string timerTag) :m_timer(timerTag) { m_timer.Start(); } ScopedTimer::~ScopedTimer() { m_timer.Stop(); ...
16.4
45
0.618902
96aman96
0bd0590474df4a9ebe8a9698bd09e7edf722edbb
4,531
cpp
C++
examples/gl/skybox.cpp
gui-works/circe
c126a8f9521dca1eb23ac47c8f2e8081f2102f17
[ "MIT" ]
1
2021-09-17T18:12:47.000Z
2021-09-17T18:12:47.000Z
examples/gl/skybox.cpp
gui-works/circe
c126a8f9521dca1eb23ac47c8f2e8081f2102f17
[ "MIT" ]
null
null
null
examples/gl/skybox.cpp
gui-works/circe
c126a8f9521dca1eb23ac47c8f2e8081f2102f17
[ "MIT" ]
2
2021-09-17T18:13:02.000Z
2021-09-17T18:16:21.000Z
/// Copyright (c) 2021, FilipeCN. /// /// The MIT License (MIT) /// /// 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 u...
42.345794
113
0.639594
gui-works
0bd1d338be08a0a37c72428cfe250af534628ba2
6,610
cpp
C++
tests/allocation-size-test.cpp
solidpixel/perfdoc
05afbb8b6a7360abbf645eb14fc060b86f7d3105
[ "MIT" ]
122
2017-10-18T14:01:48.000Z
2022-02-20T11:58:02.000Z
tests/allocation-size-test.cpp
solidpixel/perfdoc
05afbb8b6a7360abbf645eb14fc060b86f7d3105
[ "MIT" ]
2
2018-01-18T06:50:46.000Z
2022-03-20T08:47:31.000Z
tests/allocation-size-test.cpp
solidpixel/perfdoc
05afbb8b6a7360abbf645eb14fc060b86f7d3105
[ "MIT" ]
20
2018-03-03T16:26:16.000Z
2021-11-19T02:00:09.000Z
/* Copyright (c) 2017, ARM Limited and Contributors * * SPDX-License-Identifier: MIT * * 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 ...
28.73913
129
0.760817
solidpixel
0bd638c89d3bdd5977ea8f574739051db0d59736
891
cpp
C++
src/engine/script.cpp
mtribiere/Pixel-dungeon-CPP
ed930aaeefd1f08eed73ced928acae6e1fe34fa4
[ "MIT" ]
null
null
null
src/engine/script.cpp
mtribiere/Pixel-dungeon-CPP
ed930aaeefd1f08eed73ced928acae6e1fe34fa4
[ "MIT" ]
null
null
null
src/engine/script.cpp
mtribiere/Pixel-dungeon-CPP
ed930aaeefd1f08eed73ced928acae6e1fe34fa4
[ "MIT" ]
null
null
null
#include "stdafx.h" #include "script.h" std::map<std::string, Script*> Script::_all; Script* Script::_curScript; std::string Script::_curScriptClass; //Script* Script::get(const std::string& c) //{ // if (c.compare(_curScriptClass) != 0) // { // std::map<std::string, Script*>::iterator itr = _all.find(c...
18.5625
67
0.551066
mtribiere
0bd8bc16a9edb8cd53c5638db9731bd8c1c378ce
3,794
cc
C++
literate/layers/07_no_infix/020lookup.cc
akkartik/wart
789671d7f760039e7596c23b978692ef81def8a1
[ "Artistic-1.0-Perl" ]
76
2015-04-18T14:13:03.000Z
2021-11-29T17:13:09.000Z
literate/layers/11_no_coerce/020lookup.cc
DougThompson1976/wart
789671d7f760039e7596c23b978692ef81def8a1
[ "Artistic-1.0-Perl" ]
3
2017-08-12T14:15:31.000Z
2018-04-23T21:33:49.000Z
literate/layers/11_no_coerce/020lookup.cc
DougThompson1976/wart
789671d7f760039e7596c23b978692ef81def8a1
[ "Artistic-1.0-Perl" ]
14
2015-04-14T22:52:07.000Z
2021-11-29T17:13:23.000Z
//// symbol bindings // Dynamic scopes are for rebinding global variables, and for undoing bindings. map<cell*, stack<cell*> > Dynamics; // The current lexical scope is a first-class dynamic variable, usually bound // to a table of bindings. // // Entering lexical scopes modifies the current dynamic binding of // Cur...
24.636364
86
0.690828
akkartik
0bdc5b4a1f5952057f4ce9b54f845020edbdf420
19,575
cxx
C++
old/src/database.cxx
WovenTales/agora
1c6d16ddcc160347ca6a42e24d26bd67595e9fb2
[ "MIT" ]
null
null
null
old/src/database.cxx
WovenTales/agora
1c6d16ddcc160347ca6a42e24d26bd67595e9fb2
[ "MIT" ]
null
null
null
old/src/database.cxx
WovenTales/agora
1c6d16ddcc160347ca6a42e24d26bd67595e9fb2
[ "MIT" ]
null
null
null
#include <database.hxx> #include <article.hxx> #include <feed.hxx> #include <iostream> #include <regex> #include <string.h> using namespace agora; using namespace pugi; using namespace std; /*! Note that Meta columns are not updated, and so that column has no effect. */ const Database::Table Database::table("met...
27.301255
173
0.610421
WovenTales
0bdd93e0cdde9beedb08aec5638ba4702848f44a
473
cc
C++
test/test_common/thread_factory_for_test.cc
albertdb/envoy
8f57f7d765939552a999721e8dac9b5a9a5cbb8b
[ "Apache-2.0" ]
17
2018-04-17T04:04:30.000Z
2020-01-24T22:12:01.000Z
test/test_common/thread_factory_for_test.cc
albertdb/envoy
8f57f7d765939552a999721e8dac9b5a9a5cbb8b
[ "Apache-2.0" ]
12
2021-07-06T08:09:04.000Z
2021-07-06T08:09:25.000Z
test/test_common/thread_factory_for_test.cc
albertdb/envoy
8f57f7d765939552a999721e8dac9b5a9a5cbb8b
[ "Apache-2.0" ]
3
2018-04-18T21:13:49.000Z
2019-05-15T01:49:26.000Z
#include "common/common/thread_impl.h" namespace Envoy { namespace Thread { // TODO(sesmith177) Tests should get the ThreadFactory from the same location as the main code ThreadFactory& threadFactoryForTest() { #ifdef WIN32 static ThreadFactoryImplWin32* thread_factory = new ThreadFactoryImplWin32(); #else stati...
23.65
94
0.784355
albertdb
0be6e1aa8d9d5b7c266cad03b6e2e9d2a5c3a2ce
640
hpp
C++
GameFramework/include/Framework/BehaviourTrees/Actions/FindPath.hpp
lcomstive/AIE_AIForGames
4128b9984a86111871864c904a34da04c12c3293
[ "MIT" ]
null
null
null
GameFramework/include/Framework/BehaviourTrees/Actions/FindPath.hpp
lcomstive/AIE_AIForGames
4128b9984a86111871864c904a34da04c12c3293
[ "MIT" ]
null
null
null
GameFramework/include/Framework/BehaviourTrees/Actions/FindPath.hpp
lcomstive/AIE_AIForGames
4128b9984a86111871864c904a34da04c12c3293
[ "MIT" ]
null
null
null
#pragma once #include <memory> #include <Framework/Pathfinding/AStar.hpp> #include <Framework/Pathfinding/PathFindingGrid.hpp> #include <Framework/BehaviourTrees/BehaviourTreeNodes.hpp> using SquareGrid = Framework::Pathfinding::Grid<Framework::Pathfinding::SquareGridNode>; namespace Framework::BT { class FindPath :...
24.615385
88
0.767188
lcomstive
0bed27c25f5d0f9e9a1a54cdebf767363691c2d0
3,211
cpp
C++
src/sibling_individual.cpp
ou-real/nevil-sibling
d25189ff52bc41a05e0edc6b12178db4b195af8a
[ "MIT" ]
null
null
null
src/sibling_individual.cpp
ou-real/nevil-sibling
d25189ff52bc41a05e0edc6b12178db4b195af8a
[ "MIT" ]
null
null
null
src/sibling_individual.cpp
ou-real/nevil-sibling
d25189ff52bc41a05e0edc6b12178db4b195af8a
[ "MIT" ]
null
null
null
#include "nevil/sibling_individual.hpp" nevil::sibling_individual::sibling_individual() {} nevil::sibling_individual::sibling_individual(size_t chromo_size, bool is_sibling_a) : _is_sibling_a(is_sibling_a) , _parent_uuid("NONE") , _light_first(false) , _turned_on_switch(false) { _fitness = 0; // Assign va...
25.085938
103
0.736531
ou-real
0befc29860983d1378260c3cd2a60de0fea31429
946
hpp
C++
fqlzt/src/aux/lzt.hpp
lisp-rbi/sfq
93855f63e15561ea36644fa6bcf7d72266974f4d
[ "Apache-2.0" ]
null
null
null
fqlzt/src/aux/lzt.hpp
lisp-rbi/sfq
93855f63e15561ea36644fa6bcf7d72266974f4d
[ "Apache-2.0" ]
null
null
null
fqlzt/src/aux/lzt.hpp
lisp-rbi/sfq
93855f63e15561ea36644fa6bcf7d72266974f4d
[ "Apache-2.0" ]
null
null
null
#ifndef LZT_HPP #define LZT_HPP #include "lzt-interface.h" #include <iostream> #include <cstddef> extern "C" using namespace std; class Lzt { public: Lzt(); ~Lzt(); /** * Creates compressed trie from a sorted list of words * assumes dict does not exist and overwrites it */ ...
22
88
0.600423
lisp-rbi
0bf7ce501e124c1414d0911d93b372489f374fc0
1,023
cpp
C++
Gemastik/FotograferWisuda/FotograferWisuda-dewnan98.cpp
ajisubarkah/Programming-Event
6cb645ec24cb5c826b41c11334270fd3d0ece474
[ "MIT" ]
1
2018-09-18T06:28:45.000Z
2018-09-18T06:28:45.000Z
Gemastik/FotograferWisuda/FotograferWisuda-dewnan98.cpp
ajisubarkah/Programming-Event
6cb645ec24cb5c826b41c11334270fd3d0ece474
[ "MIT" ]
null
null
null
Gemastik/FotograferWisuda/FotograferWisuda-dewnan98.cpp
ajisubarkah/Programming-Event
6cb645ec24cb5c826b41c11334270fd3d0ece474
[ "MIT" ]
1
2018-09-05T06:34:04.000Z
2018-09-05T06:34:04.000Z
#include <iostream> #include <math.h> using namespace std; string fotograferWisuda(float a, float b, float k) { string hasil = ""; float lakiMaksimalDempet = ceil(a / (b + 1)); float perempuanMaksimalDempet = ceil(b / (a + 1)); if (lakiMaksimalDempet > 2 || perempuanMaksimalDempet > k) return...
19.301887
80
0.470186
ajisubarkah
0bfba7d06fdf98636df8b81c0b4c01f305c884e7
1,924
cpp
C++
itkMultiscaleVolumeToDepthMapFilter/tests/itkMultiscaleVolumeToDepthMapFilterTest.cpp
StRigaud/Epiproj
4b04abd71a237bb011d4c2d8969c3f4c583dc794
[ "Apache-2.0" ]
2
2020-12-01T19:24:00.000Z
2022-03-14T15:05:21.000Z
itkMultiscaleVolumeToDepthMapFilter/tests/itkMultiscaleVolumeToDepthMapFilterTest.cpp
StRigaud/Epiproj
4b04abd71a237bb011d4c2d8969c3f4c583dc794
[ "Apache-2.0" ]
1
2020-06-08T10:29:43.000Z
2020-06-09T09:13:28.000Z
itkMultiscaleVolumeToDepthMapFilter/tests/itkMultiscaleVolumeToDepthMapFilterTest.cpp
StRigaud/Epiproj
4b04abd71a237bb011d4c2d8969c3f4c583dc794
[ "Apache-2.0" ]
null
null
null
#include <chrono> #include "itkImageFileReader.h" #include "itkImageFileWriter.h" #include "itkMultiscaleVolumeToDepthMapFilter.h" int main(int argc, char **argv) { if (argc < 4) { std::cerr << "Missing Parameters " << std::endl; std::cerr << "Usage: " << argv[0]; std::cerr << " InputImage OutputIma...
26
98
0.64657
StRigaud
0bfbea89ead925784caf89de1655c7047daa6617
7,630
cc
C++
lang_id/common/file/mmap.cc
yangzhigang1999/libtextclassifier
4c965f1c12b3c7a37f6126cef737a8fe33f4677c
[ "Apache-2.0" ]
null
null
null
lang_id/common/file/mmap.cc
yangzhigang1999/libtextclassifier
4c965f1c12b3c7a37f6126cef737a8fe33f4677c
[ "Apache-2.0" ]
null
null
null
lang_id/common/file/mmap.cc
yangzhigang1999/libtextclassifier
4c965f1c12b3c7a37f6126cef737a8fe33f4677c
[ "Apache-2.0" ]
1
2021-03-20T03:40:21.000Z
2021-03-20T03:40:21.000Z
// Copyright 2020 Google LLC // // 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
30.890688
80
0.680603
yangzhigang1999
040266dcdfc9c22d7be07d50c3055286986bb3e9
1,167
cpp
C++
contests/WeeklyContest253/minimumNumberOfSwapsToMakeTheStringBalanced.cpp
archit-1997/LeetCode
7c0f74da0836d3b0855f09bae8960f81a384f3f3
[ "MIT" ]
1
2021-01-27T16:37:36.000Z
2021-01-27T16:37:36.000Z
contests/WeeklyContest253/minimumNumberOfSwapsToMakeTheStringBalanced.cpp
archit-1997/LeetCode
7c0f74da0836d3b0855f09bae8960f81a384f3f3
[ "MIT" ]
null
null
null
contests/WeeklyContest253/minimumNumberOfSwapsToMakeTheStringBalanced.cpp
archit-1997/LeetCode
7c0f74da0836d3b0855f09bae8960f81a384f3f3
[ "MIT" ]
null
null
null
/** * @author : archit * @GitHub : archit-1997 * @Email : architsingh456@gmail.com * @file : minimumNumberOfSwapsToMakeTheStringBalanced.cpp * @created : Sunday Aug 08, 2021 08:33:36 IST */ #include <bits/stdc++.h> using namespace std; class Solution { public: int countMinSwaps(s...
22.018868
65
0.439589
archit-1997
0402d02c5a523e4be31779b02a0e95861dc42961
1,137
hpp
C++
src/distance_sensor.hpp
R2D2-2018/OBSTACLE_DETECTION
74d830d4ecba4e9c9e2fca7a3dec7d304a66620a
[ "MIT" ]
null
null
null
src/distance_sensor.hpp
R2D2-2018/OBSTACLE_DETECTION
74d830d4ecba4e9c9e2fca7a3dec7d304a66620a
[ "MIT" ]
2
2018-05-21T23:06:14.000Z
2018-06-01T09:04:58.000Z
src/distance_sensor.hpp
R2D2-2018/OBSTACLE_DETECTION
74d830d4ecba4e9c9e2fca7a3dec7d304a66620a
[ "MIT" ]
null
null
null
#ifndef DISTANCE_SENSOR_HPP #define DISTANCE_SENSOR_HPP #include "wrap-hwlib.hpp" /** * @file distance_sensor.hpp * @brief Hpp file for the class DistanceSensor which will contain functions to control a distance sensor * @author Wouter Dijksta * @date 17-6-2018 * @license MIT */ /** * @class...
28.425
109
0.684257
R2D2-2018