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
1f7c0a8ced1eccd462c038010e1daf21f7f60a6c
1,078
hpp
C++
include/celerygame_vulkan_instance.hpp
Chlorophytus/CeleryGame
884d6982f56cedc59c931101dab972ae61c3bf8a
[ "Apache-2.0" ]
null
null
null
include/celerygame_vulkan_instance.hpp
Chlorophytus/CeleryGame
884d6982f56cedc59c931101dab972ae61c3bf8a
[ "Apache-2.0" ]
null
null
null
include/celerygame_vulkan_instance.hpp
Chlorophytus/CeleryGame
884d6982f56cedc59c931101dab972ae61c3bf8a
[ "Apache-2.0" ]
null
null
null
// Celerygame Vulkan instance singleton // // Copyright 2021 Roland Metivier <metivier.roland@chlorophyt.us> // // 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/...
34.774194
75
0.739332
Chlorophytus
1f83fe27e9718d1d783c19cbad5fb873dc451042
409
cpp
C++
Hackerearth/Count_Divisors.cpp
phileinSophos/programming
3d88de265f9ed087ce11347d53dc373edca75ac4
[ "MIT" ]
null
null
null
Hackerearth/Count_Divisors.cpp
phileinSophos/programming
3d88de265f9ed087ce11347d53dc373edca75ac4
[ "MIT" ]
null
null
null
Hackerearth/Count_Divisors.cpp
phileinSophos/programming
3d88de265f9ed087ce11347d53dc373edca75ac4
[ "MIT" ]
null
null
null
/* Problem Statement : Count Divisors Link : https://www.hackerearth.com/practice/basic-programming/input-output/basics-of-input-output/practice-problems/algorithm/count-divisors/ Score : accepted */ #include<iostream> using namespace std; int main() { int l,r,k; cin>>l>>r>>k; int count = 0; for(in...
17.041667
144
0.630807
phileinSophos
1f92d9176d391a146b56dadcd4d3ca0ca02cfa35
1,174
cpp
C++
univ/knapsack.cpp
rjs1197/iceamericano
d2830473ad911fe6beded2ef7d7b627b71a8a2b1
[ "MIT" ]
null
null
null
univ/knapsack.cpp
rjs1197/iceamericano
d2830473ad911fe6beded2ef7d7b627b71a8a2b1
[ "MIT" ]
null
null
null
univ/knapsack.cpp
rjs1197/iceamericano
d2830473ad911fe6beded2ef7d7b627b71a8a2b1
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; #define W 17 const int n = 4; void knapsack(int i, int profit, int weight); bool promising(int i, int profit, int weight); char including[n] = {0, }; char bestset[n] = {0, }; int p[n] = {40, 30, 50, 10}; int w[n] = {2, 5, 10, 5}; int numbest = 0; int maxprofit = 0; int mai...
17.264706
62
0.563884
rjs1197
1f9316f6ac1b9df993cab02b0097f14879bb76a3
1,551
cpp
C++
src/EQL/src/gen/svg/_ini.cpp
Vladimir-Lin/QtLISP
865043f877d2a20f4418830018a278a384af7bbd
[ "MIT" ]
2
2017-01-25T20:40:58.000Z
2021-01-11T17:59:52.000Z
src/gen/svg/_ini.cpp
GitoriousLispBackup/eql
5b5bc2495697cf91ee16ac358e880bd5327337cc
[ "BSD-2-Clause", "MIT" ]
null
null
null
src/gen/svg/_ini.cpp
GitoriousLispBackup/eql
5b5bc2495697cf91ee16ac358e880bd5327337cc
[ "BSD-2-Clause", "MIT" ]
null
null
null
// THIS FILE IS GENERATED (see helper/) #include "_q_methods.h" #include "_n_methods.h" #include "_ini2.h" QT_BEGIN_NAMESPACE NumList LGraphicsSvgItem::overrideIds = NumList() << 240 << 211 << 213; NumList LSvgRenderer::overrideIds = NumList(); NumList LSvgWidget::overrideIds = NumList() << 26 << 22; NumList LSvgGen...
31.653061
91
0.629271
Vladimir-Lin
1f9608df660aa40f9c65650ad1fcdb3863275cc6
1,231
cpp
C++
lib/src/models/filtering/tag-filter.cpp
TarekJor/imgbrd-grabber
a35b805a0423e9f3d264b873893533b0aea488c2
[ "Apache-2.0" ]
1
2021-09-24T09:13:40.000Z
2021-09-24T09:13:40.000Z
lib/src/models/filtering/tag-filter.cpp
TarekJor/imgbrd-grabber
a35b805a0423e9f3d264b873893533b0aea488c2
[ "Apache-2.0" ]
null
null
null
lib/src/models/filtering/tag-filter.cpp
TarekJor/imgbrd-grabber
a35b805a0423e9f3d264b873893533b0aea488c2
[ "Apache-2.0" ]
null
null
null
#include "tag-filter.h" #include <QRegExp> #include <QStringBuilder> #include "functions.h" TagFilter::TagFilter(QString tag, bool invert) : Filter(invert), m_tag(std::move(tag)) { if (m_tag.contains('*')) { m_regexp.reset(new QRegExp(m_tag, Qt::CaseInsensitive, QRegExp::Wildcard)); } } QString TagFilter::toStrin...
22.796296
90
0.670999
TarekJor
1f96c4c2fc1436f3b17e77d9510c549048572c47
212
cpp
C++
interviewbit/8_easy_nestedcmpl2.cpp
Meenal-27/auto_leetcode_stats
a98ae165471b1523670a164c718583f4ce9dd64f
[ "MIT" ]
null
null
null
interviewbit/8_easy_nestedcmpl2.cpp
Meenal-27/auto_leetcode_stats
a98ae165471b1523670a164c718583f4ce9dd64f
[ "MIT" ]
null
null
null
interviewbit/8_easy_nestedcmpl2.cpp
Meenal-27/auto_leetcode_stats
a98ae165471b1523670a164c718583f4ce9dd64f
[ "MIT" ]
null
null
null
// What is the time complexity of the following code : // int a = 0; // for (i = 0; i < N; i++) { // for (j = N; j > i; j--) { // a = a + i + j; // } // } // O(N*N)
19.272727
54
0.325472
Meenal-27
1f97611000f28bf5ed3006eb30182d3b5d929496
523
cpp
C++
main.cpp
luchenqun/MyDoubanFM
f7315bb983f77cf09513ef26ba71e8e43e060442
[ "Apache-2.0" ]
1
2016-10-12T14:46:30.000Z
2016-10-12T14:46:30.000Z
main.cpp
luchenqun/MyDoubanFM
f7315bb983f77cf09513ef26ba71e8e43e060442
[ "Apache-2.0" ]
null
null
null
main.cpp
luchenqun/MyDoubanFM
f7315bb983f77cf09513ef26ba71e8e43e060442
[ "Apache-2.0" ]
null
null
null
#include "WidgetMain.h" #include <QApplication> #include <QFile> #include <QFont> int main(int argc, char *argv[]) { QApplication a(argc, argv); // NOTICE:加载QSS样式表(相当于Web开发里面的CSS样式表),请将所有一致的样式设置写入DownloadTool.qss文件 QFile qss(":/qss/style"); qss.open(QFile::ReadOnly); a.setStyleSheet(qss.readAll())...
19.37037
73
0.652008
luchenqun
1f9927e43cee45d64139868634738706c02fc140
309
hpp
C++
include/voxel/async_generator.hpp
InjectorGames/VoxelLibrary
be8cc4ec179e9d86eb1bd25b1c7f8adfe8ad4198
[ "BSD-3-Clause" ]
1
2021-09-16T12:30:49.000Z
2021-09-16T12:30:49.000Z
include/voxel/async_generator.hpp
InjectorGames/VoxelSpaceCPP
be8cc4ec179e9d86eb1bd25b1c7f8adfe8ad4198
[ "BSD-3-Clause" ]
1
2020-05-27T11:41:16.000Z
2020-05-27T11:41:17.000Z
include/voxel/async_generator.hpp
InjectorGames/Voxel
be8cc4ec179e9d86eb1bd25b1c7f8adfe8ad4198
[ "BSD-3-Clause" ]
null
null
null
#pragma once #include <voxel/generator.hpp> #include <thread> namespace VOXEL_NAMESPACE { class AsyncGenerator : public Generator { protected: std::thread generatorThread; public: AsyncGenerator() { } virtual ~AsyncGenerator() {} AsyncStructure(const AsyncStructure<T>&) = delete; }; }
13.434783
52
0.708738
InjectorGames
1f9af66f3610705034521b403cf82993c47203bd
5,880
cpp
C++
src/P2p/NetNodeConfig.cpp
ElSamaritan/blockchain-OLD
ca3422c8873613226db99b7e6735c5ea1fac9f1a
[ "Apache-2.0" ]
null
null
null
src/P2p/NetNodeConfig.cpp
ElSamaritan/blockchain-OLD
ca3422c8873613226db99b7e6735c5ea1fac9f1a
[ "Apache-2.0" ]
null
null
null
src/P2p/NetNodeConfig.cpp
ElSamaritan/blockchain-OLD
ca3422c8873613226db99b7e6735c5ea1fac9f1a
[ "Apache-2.0" ]
null
null
null
// Copyright (c) 2012-2017, The CryptoNote developers, The Bytecoin developers // Copyright (c) 2018, The TurtleCoin Developers // Copyright (c) 2018, The Calex Developers // // Please see the included LICENSE file for more information. #include "NetNodeConfig.h" #include <limits> #include <sstream> #include <Xi/Co...
25.565217
120
0.711565
ElSamaritan
1f9f2ca8dfa0032ff413432bb3aa55abcdf666a7
711
cpp
C++
snippets/cpp/VS_Snippets_Winforms/Classic InputLanguage.Handle Example/CPP/source.cpp
BohdanMosiyuk/samples
59d435ba9e61e0fc19f5176c96b1cdbd53596142
[ "CC-BY-4.0", "MIT" ]
834
2017-06-24T10:40:36.000Z
2022-03-31T19:48:51.000Z
snippets/cpp/VS_Snippets_Winforms/Classic InputLanguage.Handle Example/CPP/source.cpp
BohdanMosiyuk/samples
59d435ba9e61e0fc19f5176c96b1cdbd53596142
[ "CC-BY-4.0", "MIT" ]
7,042
2017-06-23T22:34:47.000Z
2022-03-31T23:05:23.000Z
snippets/cpp/VS_Snippets_Winforms/Classic InputLanguage.Handle Example/CPP/source.cpp
BohdanMosiyuk/samples
59d435ba9e61e0fc19f5176c96b1cdbd53596142
[ "CC-BY-4.0", "MIT" ]
1,640
2017-06-23T22:31:39.000Z
2022-03-31T02:45:37.000Z
#using <System.Windows.Forms.dll> #using <System.Drawing.dll> #using <System.dll> #using <System.Data.dll> using namespace System; using namespace System::Data; using namespace System::ComponentModel; using namespace System::Windows::Forms; public ref class Form1: public Form { protected: TextBox^ textBox1; //...
24.517241
79
0.697609
BohdanMosiyuk
1fa3af013756de7a71eace305a41374006657bf3
5,417
cpp
C++
protocol/TeepAgentLib/SuitParser.cpp
dthaler/TEEP
d97a4dc0106ba9d6b58a76b135cebf07daa24e40
[ "MIT" ]
9
2019-03-12T06:09:35.000Z
2020-11-05T04:05:23.000Z
protocol/TeepAgentLib/SuitParser.cpp
dthaler/TEEP
d97a4dc0106ba9d6b58a76b135cebf07daa24e40
[ "MIT" ]
10
2021-07-22T03:34:39.000Z
2021-11-04T20:02:10.000Z
protocol/TeepAgentLib/SuitParser.cpp
dthaler/teep
d97a4dc0106ba9d6b58a76b135cebf07daa24e40
[ "MIT" ]
6
2019-03-12T06:09:10.000Z
2020-03-24T04:14:20.000Z
// Copyright (c) Microsoft Corporation // SPDX-License-Identifier: MIT #ifdef OE_BUILD_ENCLAVE #include <openenclave/enclave.h> #endif #include <stdlib.h> extern "C" { #include "jansson.h" #include "teep_protocol.h" #include "suit_manifest.h" }; #include "common.h" #include "qcbor/qcbor_decode.h" #include "SuitParser.h...
38.147887
109
0.674912
dthaler
1fa3e48fd0ac762bf132eaa9a9e90f4f8667a74f
369
cpp
C++
src/BaseObject.cpp
ambi-robotics/EIPScanner
e474de47aee9ef1128de7fbefa5d9dfd751c32fe
[ "MIT" ]
94
2019-12-11T01:47:53.000Z
2022-03-31T09:23:52.000Z
src/BaseObject.cpp
ambi-robotics/EIPScanner
e474de47aee9ef1128de7fbefa5d9dfd751c32fe
[ "MIT" ]
53
2019-12-09T17:59:35.000Z
2022-03-18T22:43:28.000Z
src/BaseObject.cpp
ambi-robotics/EIPScanner
e474de47aee9ef1128de7fbefa5d9dfd751c32fe
[ "MIT" ]
47
2020-01-14T13:15:36.000Z
2022-03-23T15:22:48.000Z
// // Created by Aleksey Timin on 12/9/19. // #include "BaseObject.h" namespace eipScanner { BaseObject::BaseObject(cip::CipUint classId, cip::CipUint instanceId) : _classId(classId) , _instanceId(instanceId) { } cip::CipUint BaseObject::getClassId() const { return _classId; } cip::CipUint BaseObject::g...
17.571429
70
0.710027
ambi-robotics
1fa447177764e10ee02c4ef4cd1de4f3cc07f1f8
864
hpp
C++
keyboard.hpp
VokunGahrotLaas/fractals
69f87b2dbdb5953ce04c8d1806f4e7477807dde1
[ "MIT" ]
null
null
null
keyboard.hpp
VokunGahrotLaas/fractals
69f87b2dbdb5953ce04c8d1806f4e7477807dde1
[ "MIT" ]
null
null
null
keyboard.hpp
VokunGahrotLaas/fractals
69f87b2dbdb5953ce04c8d1806f4e7477807dde1
[ "MIT" ]
null
null
null
#ifndef FRACTALS_KEYBOARD_H #define FRACTALS_KEYBOARD_H // stdlib #include <iostream> // libc #include <err.h> // SDL2 #include <SDL2/SDL.h> #include <SDL2/SDL_image.h> // fractals #include "macros.hpp" namespace fractals { class Keyboard { public: Keyboard(void); virtual ~Keyboard(void); bool is_key_pressed(SDL...
17.632653
64
0.755787
VokunGahrotLaas
1fa49d6b1f92c8015abf53e9dbad8fbafcf47db6
10,408
cpp
C++
tracker.cpp
motokimura/AsteroidTracker
5ce590316315db24e46ee448b477c8801d0d39eb
[ "MIT" ]
3
2015-02-25T07:55:39.000Z
2021-02-20T16:14:54.000Z
tracker.cpp
motokimura/AsteroidTracker
5ce590316315db24e46ee448b477c8801d0d39eb
[ "MIT" ]
null
null
null
tracker.cpp
motokimura/AsteroidTracker
5ce590316315db24e46ee448b477c8801d0d39eb
[ "MIT" ]
null
null
null
#include "tracker.h" const double SpaceObjectTracker:: EarthObliquity_ = -23.44 * M_PI / 180.0; const double SpaceObjectTracker:: EarthOblatness_ = 1.0 / 298.257223563; const double SpaceObjectTracker:: EarthRadius_ = 6.378137e6f; const double SpaceObjectTracker:: EarthSpinRate_ = 2.0 * M_PI / 23.9345 / 3600.0; ...
25.140097
127
0.677556
motokimura
1fa5d2d704520a61909fa719f20964a560da8032
262
cpp
C++
old/MyGraphicsItem.cpp
daviddoria/InteractiveBestPatches
876c9c3b0e083fde42bda325fe10f351f1b908c7
[ "Apache-2.0" ]
1
2015-12-04T10:25:07.000Z
2015-12-04T10:25:07.000Z
old/MyGraphicsItem.cpp
daviddoria/InteractiveBestPatches
876c9c3b0e083fde42bda325fe10f351f1b908c7
[ "Apache-2.0" ]
null
null
null
old/MyGraphicsItem.cpp
daviddoria/InteractiveBestPatches
876c9c3b0e083fde42bda325fe10f351f1b908c7
[ "Apache-2.0" ]
null
null
null
#include "MyGraphicsItem.h" #include <QGraphicsSceneMouseEvent> #include <iostream> void MyGraphicsItem::mousePressEvent(QGraphicsSceneMouseEvent* pMouseEvent) { //std::cout << "mousePressEvent: " << this->Id << std::endl; emit ClickedSignal(this->Id); }
21.833333
75
0.740458
daviddoria
1fa81c1c6450e5b7d0a6e7782963091db2a8e611
4,980
cpp
C++
src/cameras/perspective.cpp
peng00bo00/PBRender
393ef8d80877e26ef7fc405fac7e734637e64580
[ "MIT" ]
null
null
null
src/cameras/perspective.cpp
peng00bo00/PBRender
393ef8d80877e26ef7fc405fac7e734637e64580
[ "MIT" ]
null
null
null
src/cameras/perspective.cpp
peng00bo00/PBRender
393ef8d80877e26ef7fc405fac7e734637e64580
[ "MIT" ]
null
null
null
#include "cameras/perspective.h" #include "sampling.h" namespace PBRender { // PerspectiveCamera Method Definitions PerspectiveCamera::PerspectiveCamera(const Transform &CameraToWorld, const Bounds2f &screenWindow, const Vector2f &fullResolutio...
38.015267
112
0.609639
peng00bo00
1fab1ac8fc99a24828215f6436600139e3d07d79
2,015
hpp
C++
include/codegen/include/GlobalNamespace/MenuTransitionsHelper_--c__DisplayClass17_0.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
1
2021-11-12T09:29:31.000Z
2021-11-12T09:29:31.000Z
include/codegen/include/GlobalNamespace/MenuTransitionsHelper_--c__DisplayClass17_0.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
null
null
null
include/codegen/include/GlobalNamespace/MenuTransitionsHelper_--c__DisplayClass17_0.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
2
2021-10-03T02:14:20.000Z
2021-11-12T09:29:36.000Z
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once #pragma pack(push, 8) // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" // Including type: MenuTransitionsHelper #include "GlobalNamespace/MenuTra...
42.87234
138
0.758313
Futuremappermydud
1fac52d2aa88aab81e681498a65c9606cfaa84ee
303
cpp
C++
Project 3.2 - Trees/ProductCatalogue2/ProductCatalogue2/Tree.cpp
nbstrong/Data-Structures
81aeafb99e4e1eb92fb0d1aff630aed44cf55e0a
[ "MIT" ]
1
2022-02-05T05:26:32.000Z
2022-02-05T05:26:32.000Z
Project 3.2 - Trees/ProductCatalogue2/ProductCatalogue2/Tree.cpp
nbstrong/Data-Structures
81aeafb99e4e1eb92fb0d1aff630aed44cf55e0a
[ "MIT" ]
null
null
null
Project 3.2 - Trees/ProductCatalogue2/ProductCatalogue2/Tree.cpp
nbstrong/Data-Structures
81aeafb99e4e1eb92fb0d1aff630aed44cf55e0a
[ "MIT" ]
null
null
null
// This is the tree class implementation file #include "Tree.h" // Constructor Tree::Tree() { root = NULL; } // Destructor Tree::~Tree() { freeNode(root); } // Free the node void Tree::freeNode(Node* node) { if (node != NULL) { freeNode(node->left); freeNode(node->right); delete node; } }
13.772727
45
0.636964
nbstrong
1fb2810ce5cb3606f92ce6fa109c1951153afd49
1,299
cpp
C++
Data_Structures/C++/binary_search_tree.cpp
manasa-rajeshwari/DS_with_hacktoberfest
1b09203b2e85a9b95e2cf4b17c5650ef78d33be7
[ "Apache-2.0" ]
16
2019-09-30T18:33:03.000Z
2020-11-16T10:29:51.000Z
Data_Structures/C++/binary_search_tree.cpp
manasa-rajeshwari/DS_with_hacktoberfest
1b09203b2e85a9b95e2cf4b17c5650ef78d33be7
[ "Apache-2.0" ]
43
2019-09-30T13:37:57.000Z
2020-10-30T06:13:20.000Z
Data_Structures/C++/binary_search_tree.cpp
manasa-rajeshwari/DS_with_hacktoberfest
1b09203b2e85a9b95e2cf4b17c5650ef78d33be7
[ "Apache-2.0" ]
142
2019-09-30T16:47:07.000Z
2021-10-30T16:29:17.000Z
/* Name-Divya Gupta Algorithm-Binary Search Tree(insertion,search,inorder-traversal) */ #include<bits/stdc++.h> using namespace std; struct node{ int value; struct node *left,*right; }; struct node *newn(int val) { struct node *temp=new(node); temp->value=val; temp->left=temp->right=NULL; return temp; } st...
19.38806
64
0.617398
manasa-rajeshwari
1fb813f2d11ff5518cf3f8b40c4ca5e08ea1f166
588
cc
C++
src/Plugin.cc
dopheide-esnet/bro-plugin-roca
37216adf50b4401f8ec2c10d3ea43fd2127aaeac
[ "BSD-3-Clause" ]
2
2017-10-25T06:27:07.000Z
2017-10-25T08:30:59.000Z
src/Plugin.cc
dopheide-esnet/bro-plugin-roca
37216adf50b4401f8ec2c10d3ea43fd2127aaeac
[ "BSD-3-Clause" ]
3
2018-06-26T14:57:17.000Z
2018-11-07T03:36:49.000Z
src/Plugin.cc
dopheide-esnet/bro-plugin-roca
37216adf50b4401f8ec2c10d3ea43fd2127aaeac
[ "BSD-3-Clause" ]
1
2018-11-14T18:58:15.000Z
2018-11-14T18:58:15.000Z
// See the file "COPYING" in the main distribution directory for copyright. #include "Plugin.h" extern "C" { void init_roca(); } namespace plugin { namespace Johanna_ROCA { Plugin plugin; } } using namespace plugin::Johanna_ROCA; plugin::Configuration Plugin::Configure() { plugin::Configuration config; config....
21
84
0.722789
dopheide-esnet
1fc31cc14cb566d610be8fa59147aae90e802b33
12,001
cpp
C++
Nacro/SDK/FN_Results_BadgeLootBar_functions.cpp
Milxnor/Nacro
eebabf662bbce6d5af41820ea0342d3567a0aecc
[ "BSD-2-Clause" ]
11
2021-08-08T23:25:10.000Z
2022-02-19T23:07:22.000Z
Nacro/SDK/FN_Results_BadgeLootBar_functions.cpp
Milxnor/Nacro
eebabf662bbce6d5af41820ea0342d3567a0aecc
[ "BSD-2-Clause" ]
1
2022-01-01T22:51:59.000Z
2022-01-08T16:14:15.000Z
Nacro/SDK/FN_Results_BadgeLootBar_functions.cpp
Milxnor/Nacro
eebabf662bbce6d5af41820ea0342d3567a0aecc
[ "BSD-2-Clause" ]
8
2021-08-09T13:51:54.000Z
2022-01-26T20:33:37.000Z
// Fortnite (1.8) SDK #ifdef _MSC_VER #pragma pack(push, 0x8) #endif #include "../SDK.hpp" namespace SDK { //--------------------------------------------------------------------------- //Functions //--------------------------------------------------------------------------- // Function Results_BadgeLootBar.Results...
32.260753
222
0.795767
Milxnor
1fc67f6c4ec7390e8ec89f0dade5a5ae842d37b8
10,739
cpp
C++
Ko-Fi Engine/Source/M_FileSystem.cpp
Chamfer-Studios/Ko-Fi-Engine
cdc7fd9fd8c30803ac2e3fe0ecaf1923bbd7532e
[ "MIT" ]
2
2022-02-26T23:35:53.000Z
2022-03-04T16:25:18.000Z
Ko-Fi Engine/Source/M_FileSystem.cpp
Chamfer-Studios/Ko-Fi-Engine
cdc7fd9fd8c30803ac2e3fe0ecaf1923bbd7532e
[ "MIT" ]
2
2022-02-23T09:41:09.000Z
2022-03-08T08:46:21.000Z
Ko-Fi Engine/Source/M_FileSystem.cpp
Chamfer-Studios/Ko-Fi-Engine
cdc7fd9fd8c30803ac2e3fe0ecaf1923bbd7532e
[ "MIT" ]
1
2022-03-03T18:41:32.000Z
2022-03-03T18:41:32.000Z
#include "M_FileSystem.h" #include "GameObject.h" #include "Engine.h" #include "SceneIntro.h" #include "Log.h" #include "ImGuiAppLog.h" #include "SDL_assert.h" #include "SDL.h" #include <fstream> #include <filesystem> #include "JsonHandler.h" #include "md5.h" #include "optick.h" M_FileSystem::M_FileSystem(KoFiEngin...
20.812016
160
0.684794
Chamfer-Studios
1fc75c6b1a0b4d5c66fc2a8ef8ed08f11d61c00e
2,780
hpp
C++
include/geode/core/meta/tuple.hpp
geode-sdk/core
25dc195eafd7169ef9696bae081ff38c7bb2d47f
[ "MIT" ]
1
2022-01-21T08:44:41.000Z
2022-01-21T08:44:41.000Z
include/geode/core/meta/tuple.hpp
geode-sdk/core
25dc195eafd7169ef9696bae081ff38c7bb2d47f
[ "MIT" ]
1
2022-01-23T17:08:28.000Z
2022-01-23T17:08:40.000Z
include/geode/core/meta/tuple.hpp
geode-sdk/core
25dc195eafd7169ef9696bae081ff38c7bb2d47f
[ "MIT" ]
null
null
null
#ifndef GEODE_CORE_META_TUPLE_HPP #define GEODE_CORE_META_TUPLE_HPP #include "common.hpp" #include <type_traits> #include <utility> namespace geode::core::meta { /* The Tuple class presents a nicer way to interact with parameter packs. * While this container is technically usable in other code, this is most...
28.367347
93
0.584532
geode-sdk
1fc9a65d87e789d1af1554b27149beaaab6fc9b5
18,657
cpp
C++
src/acl_device_binary.cpp
sherry-yuan/fpga-runtime-for-opencl
df4be1924268cdb7841da2a6b0618b7bb8a47628
[ "BSD-3-Clause" ]
null
null
null
src/acl_device_binary.cpp
sherry-yuan/fpga-runtime-for-opencl
df4be1924268cdb7841da2a6b0618b7bb8a47628
[ "BSD-3-Clause" ]
null
null
null
src/acl_device_binary.cpp
sherry-yuan/fpga-runtime-for-opencl
df4be1924268cdb7841da2a6b0618b7bb8a47628
[ "BSD-3-Clause" ]
null
null
null
// Copyright (C) 2019-2021 Intel Corporation // SPDX-License-Identifier: BSD-3-Clause // System headers. // To determine endianness of Linux host system #ifdef __linux__ #include <endian.h> #endif #include <fstream> #include <sstream> // External library headers. #include <pkg_editor/pkg_editor.h> // Internal header...
41.645089
80
0.646406
sherry-yuan
1fca67779ee71ba8514bedb12bb1d60e6105679e
46
hpp
C++
libraries/chain/include/lcscs/chain/protocol.hpp
lcscs/scs
88c38a2e207c87107f6bf7f8b8b1682cf54c5543
[ "MIT" ]
null
null
null
libraries/chain/include/lcscs/chain/protocol.hpp
lcscs/scs
88c38a2e207c87107f6bf7f8b8b1682cf54c5543
[ "MIT" ]
null
null
null
libraries/chain/include/lcscs/chain/protocol.hpp
lcscs/scs
88c38a2e207c87107f6bf7f8b8b1682cf54c5543
[ "MIT" ]
1
2021-06-24T14:50:48.000Z
2021-06-24T14:50:48.000Z
#pragma once #include <lcscs/chain/block.hpp>
15.333333
32
0.76087
lcscs
1fcc66946e89a7968061c7e2aa8b2ca0c46dca65
36,660
cc
C++
unit_tests/nb_object_test.cc
rk0jima/baas-sdk-embedded
2481a43ab114008e37966964d2032970cda2a1bf
[ "Apache-2.0" ]
null
null
null
unit_tests/nb_object_test.cc
rk0jima/baas-sdk-embedded
2481a43ab114008e37966964d2032970cda2a1bf
[ "Apache-2.0" ]
null
null
null
unit_tests/nb_object_test.cc
rk0jima/baas-sdk-embedded
2481a43ab114008e37966964d2032970cda2a1bf
[ "Apache-2.0" ]
1
2022-01-31T23:30:04.000Z
2022-01-31T23:30:04.000Z
#include "gmock/gmock.h" #include "gtest/gtest.h" #include "necbaas/nb_object.h" #include "necbaas/internal/nb_utility.h" #include "rest_api_mock.h" namespace necbaas { using std::string; using std::vector; using std::shared_ptr; using ::testing::Return; using ::testing::Invoke; using ::testing::_; static const stri...
38.834746
130
0.711293
rk0jima
1fcde8913ee936ff7183503ff7307644d38856f3
583
cpp
C++
microbench/idlePower.cpp
DanieleDeSensi/Nornir
60587824d6b0a6e61b8fc75bdea37c9fc69199c7
[ "MIT" ]
2
2018-10-31T08:09:03.000Z
2021-01-18T19:23:54.000Z
microbench/idlePower.cpp
DanieleDeSensi/Nornir
60587824d6b0a6e61b8fc75bdea37c9fc69199c7
[ "MIT" ]
1
2020-02-02T11:58:22.000Z
2020-02-02T11:58:22.000Z
microbench/idlePower.cpp
DanieleDeSensi/Nornir
60587824d6b0a6e61b8fc75bdea37c9fc69199c7
[ "MIT" ]
1
2019-04-13T09:54:49.000Z
2019-04-13T09:54:49.000Z
#include <mammut/mammut.hpp> #include <cassert> #include <iostream> #include <unistd.h> #define PERIOD 10 using namespace mammut; using namespace mammut::energy; using namespace std; int main(int argc, char** argv){ Mammut m; Energy* energy = m.getInstanceEnergy(); Joules j; /** Gets the energy cou...
20.103448
75
0.622642
DanieleDeSensi
1fce923c7a4960e21073f52e03d394396f197553
481
cpp
C++
41A_9.cpp
tihorygit/codeforces
0b60531dd3faa3e4fccf95847457ef823f803d1b
[ "Unlicense" ]
null
null
null
41A_9.cpp
tihorygit/codeforces
0b60531dd3faa3e4fccf95847457ef823f803d1b
[ "Unlicense" ]
null
null
null
41A_9.cpp
tihorygit/codeforces
0b60531dd3faa3e4fccf95847457ef823f803d1b
[ "Unlicense" ]
null
null
null
#include <cstdlib> #include <iostream> #include <math.h> #include <string.h> using namespace std; /* * */ int main() { char s[101],t[101]; cin >> s >> t; int sl=strlen(s),tl=strlen(t); if (sl!=tl){ cout << "NO" << endl; return 0; } //cout << sl << " " << tl; for (int i...
14.575758
34
0.424116
tihorygit
1fcfec1f30e3b8ce0635642362ab717cb4e56741
9,015
cpp
C++
algo/BOAStar.cpp
Peltorator/BIOA-Project
7da0299af1430ebf7f60b4c6ee1af8e77110c7dc
[ "MIT" ]
1
2021-05-25T08:11:36.000Z
2021-05-25T08:11:36.000Z
algo/BOAStar.cpp
Peltorator/BOA-Project
7da0299af1430ebf7f60b4c6ee1af8e77110c7dc
[ "MIT" ]
null
null
null
algo/BOAStar.cpp
Peltorator/BOA-Project
7da0299af1430ebf7f60b4c6ee1af8e77110c7dc
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> struct Distance { long long g1; long long h1; long long f1; long long g2; long long h2; long long f2; Distance(const long long g1, const long long h1, const long long g2, const long long h2): g1(g1), h1(h1), f1(g1 + h1), g2(g2), h2(h2), f2(g2 + h2) {} Distance...
36.350806
287
0.574931
Peltorator
1fd1f9935388ac87982adc6ce9267b947a6fdfbe
4,383
cpp
C++
popi_software/popi/popi_code/cpp/miscellaneous.cpp
T2honda/popi_project
36901454c58b8200a0d67c780b57835e7dc786d2
[ "BSD-3-Clause" ]
83
2020-04-17T09:17:05.000Z
2022-03-03T11:42:23.000Z
popi_software/popi/popi_code/cpp/miscellaneous.cpp
T2honda/popi_project
36901454c58b8200a0d67c780b57835e7dc786d2
[ "BSD-3-Clause" ]
4
2020-05-13T08:51:20.000Z
2021-08-09T13:07:30.000Z
popi_software/popi/popi_code/cpp/miscellaneous.cpp
T2honda/popi_project
36901454c58b8200a0d67c780b57835e7dc786d2
[ "BSD-3-Clause" ]
23
2020-04-24T11:11:45.000Z
2022-02-28T07:53:27.000Z
#include <iit/rbd/utils.h> #include "miscellaneous.h" using namespace iit::popi; using namespace iit::popi::dyn; Vector3 iit::popi::getWholeBodyCOM( const InertiaProperties& inertiaProps, const HomogeneousTransforms& ht) { Vector3 tmpSum(Vector3::Zero()); tmpSum += inertiaProps.getCOM_base() * inerti...
45.65625
102
0.748802
T2honda
1fd2070bc56b25e94e90295609b27c837897ccf0
1,361
cpp
C++
lib/main/graph/main-strongly-connected-components.cpp
xirc/cp-algorithm
89c67cff2f00459c5bb020ab44bff5ae419a1728
[ "Apache-2.0" ]
8
2020-12-23T07:54:53.000Z
2021-11-23T02:46:35.000Z
lib/main/graph/main-strongly-connected-components.cpp
xirc/cp-algorithm
89c67cff2f00459c5bb020ab44bff5ae419a1728
[ "Apache-2.0" ]
1
2020-11-07T13:22:29.000Z
2020-12-20T12:54:00.000Z
lib/main/graph/main-strongly-connected-components.cpp
xirc/cp-algorithm
89c67cff2f00459c5bb020ab44bff5ae419a1728
[ "Apache-2.0" ]
1
2021-01-16T03:40:10.000Z
2021-01-16T03:40:10.000Z
#include <iostream> #include <iomanip> #include <algorithm> #include <cmath> #include "template/template-main.hpp" #include "cpalgo/graph/strongly-connected-components.hpp" using namespace std; SCC solver; void action_init() { int size; cin >> size; if (size < 0) { cout << "false" << endl; ...
21.603175
59
0.515797
xirc
1fd6fc8b5c248150892fba0280aa1cd6fbcb96ee
2,134
hpp
C++
Spike/Backend/CUDA/Plasticity/WeightNormSpikingPlasticity.hpp
rauwuckl/Spike
2fa591a3c9cc0e1952d2e5bc4f7330d3b11f3795
[ "MIT" ]
null
null
null
Spike/Backend/CUDA/Plasticity/WeightNormSpikingPlasticity.hpp
rauwuckl/Spike
2fa591a3c9cc0e1952d2e5bc4f7330d3b11f3795
[ "MIT" ]
null
null
null
Spike/Backend/CUDA/Plasticity/WeightNormSpikingPlasticity.hpp
rauwuckl/Spike
2fa591a3c9cc0e1952d2e5bc4f7330d3b11f3795
[ "MIT" ]
null
null
null
#pragma once #include "Spike/Plasticity/WeightNormSpikingPlasticity.hpp" #include "Plasticity.hpp" #include "Spike/Backend/CUDA/Neurons/SpikingNeurons.hpp" #include "Spike/Backend/CUDA/Synapses/SpikingSynapses.hpp" #include "Spike/Backend/CUDA/CUDABackend.hpp" #include <cuda.h> #include <vector_types.h> #include <cu...
28.837838
83
0.755389
rauwuckl
1fd916925ac2d917e81ef38ba482839af29a8aa2
426
cpp
C++
src/renderer/uniforms/uniformsShadows.cpp
fantasiorona/LRender
5fb6f29c323df53986e39b4350ee8494e4642452
[ "MIT" ]
5
2019-11-22T05:31:33.000Z
2021-11-18T19:15:21.000Z
src/renderer/uniforms/uniformsShadows.cpp
fantasiorona/LRender
5fb6f29c323df53986e39b4350ee8494e4642452
[ "MIT" ]
7
2019-02-21T11:26:38.000Z
2019-03-29T10:28:58.000Z
src/renderer/uniforms/uniformsShadows.cpp
fantasiorona/LRender
5fb6f29c323df53986e39b4350ee8494e4642452
[ "MIT" ]
1
2021-04-22T17:03:04.000Z
2021-04-22T17:03:04.000Z
#include "uniformsShadows.h" using namespace LRender; const Matrix UniformsShadows::MAP_TO_UV = Matrix().translate(1).scale(0.5f); UniformsShadows::UniformsShadows() : Uniforms(INDEX) { } void UniformsShadows::update() const { updateBuffer(sizeof(payload), &payload); } void UniformsShadows::setProjection(const ...
21.3
76
0.765258
fantasiorona
1fdd6ae06ce8f7c61f4d93c742b6947f07416473
719
cpp
C++
id1025_Democracy_in_Danger/main.cpp
adogadaev/timus
eeadeb3ac60b7259988fe579422d386b95c4ca9d
[ "Apache-2.0" ]
null
null
null
id1025_Democracy_in_Danger/main.cpp
adogadaev/timus
eeadeb3ac60b7259988fe579422d386b95c4ca9d
[ "Apache-2.0" ]
null
null
null
id1025_Democracy_in_Danger/main.cpp
adogadaev/timus
eeadeb3ac60b7259988fe579422d386b95c4ca9d
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include <vector> #include <algorithm> using namespace std; int main() { unsigned int uiGroupNum; vector<unsigned int> vGroups; unsigned int uiCurGroup; unsigned int uiSum; cin >> uiGroupNum; for (unsigned int i = 0; i < uiGroupNum; i++){ cin >> uiCurGroup; vGroups.push_b...
16.72093
53
0.568846
adogadaev
1fe2389a60d359a619933ca8b857a6d6e0777d57
334
cpp
C++
03-console-gtest/App/App/Out.cpp
kelfan/cpp-examples
1c4fb7538a234f3cadaca209b9267e1d2964f05b
[ "Apache-2.0" ]
null
null
null
03-console-gtest/App/App/Out.cpp
kelfan/cpp-examples
1c4fb7538a234f3cadaca209b9267e1d2964f05b
[ "Apache-2.0" ]
null
null
null
03-console-gtest/App/App/Out.cpp
kelfan/cpp-examples
1c4fb7538a234f3cadaca209b9267e1d2964f05b
[ "Apache-2.0" ]
null
null
null
#include "pch.h" #include "Out.h" #include <iostream> using namespace std; Out::Out() { std::cout << "the Out object will be constructed" << std::endl; } Out::~Out() { std::cout << "the Out object will be destroyed" << std::endl; } void Out::setId(int num) { id = num; cout << num << endl; } int Out::getId() { ...
12.37037
64
0.607784
kelfan
1fed3f696161b2ae2115d98fc559ba068c3e564c
2,592
cpp
C++
P3Lab1_MiguelBlanco.cpp
miguelblanco784/P3Lab1_MiguelBlanco
fc3f194bfdad4b22b7f29b3088a8f090f2f8a4f4
[ "MIT" ]
null
null
null
P3Lab1_MiguelBlanco.cpp
miguelblanco784/P3Lab1_MiguelBlanco
fc3f194bfdad4b22b7f29b3088a8f090f2f8a4f4
[ "MIT" ]
null
null
null
P3Lab1_MiguelBlanco.cpp
miguelblanco784/P3Lab1_MiguelBlanco
fc3f194bfdad4b22b7f29b3088a8f090f2f8a4f4
[ "MIT" ]
null
null
null
#include<iostream> #include<string.h> #include <vector> #include <algorithm> using namespace std; int factorial(int x); int main(){ int opcion; while(true){ cout<<"0- Salir\n1- Ejercicio 1\n2- Ejercicio 2\n3- Ejercicio 3\n"; cin>>opcion; switch(opcion){ case 0: exit(0); break; case 1: int **...
19.78626
74
0.482253
miguelblanco784
1ff11467fab876b239ac3d995899b39a0792ef29
2,798
cpp
C++
ASSETS/KROSS/src_weird/GFXAPI/OpenGL/GLContext.cpp
WillianKoessler/KROSS-ENGINE
0e680b455ffd071565fe8b99343805ad16ca1e91
[ "Apache-2.0" ]
null
null
null
ASSETS/KROSS/src_weird/GFXAPI/OpenGL/GLContext.cpp
WillianKoessler/KROSS-ENGINE
0e680b455ffd071565fe8b99343805ad16ca1e91
[ "Apache-2.0" ]
null
null
null
ASSETS/KROSS/src_weird/GFXAPI/OpenGL/GLContext.cpp
WillianKoessler/KROSS-ENGINE
0e680b455ffd071565fe8b99343805ad16ca1e91
[ "Apache-2.0" ]
null
null
null
#include "Kross_pch.h" #include "GLContext.h" #include <GLFW/glfw3.h> namespace Kross::OpenGL { bool Context::initialized = false; Context::Context(Window* window) : m_Window(window) { KROSS_PROFILE_FUNC(); if (!m_Window) { KROSS_MSGBOX("Window pointer is NULL!", "[Kross::OpenGL::Context]", _FATAL_); ...
25.907407
108
0.692638
WillianKoessler
1ff4505fb8c753be39c8255ed549adc33817edc3
858
cpp
C++
P2_EvenFibonacciNumbers.cpp
Rushell-max/Project_Euler
7afd222b2a18b30ad9c20375f64baa40c661cb70
[ "MIT" ]
null
null
null
P2_EvenFibonacciNumbers.cpp
Rushell-max/Project_Euler
7afd222b2a18b30ad9c20375f64baa40c661cb70
[ "MIT" ]
null
null
null
P2_EvenFibonacciNumbers.cpp
Rushell-max/Project_Euler
7afd222b2a18b30ad9c20375f64baa40c661cb70
[ "MIT" ]
null
null
null
// 2 /////////////////////// /* Each new term in the Fibonacci sequence is generated by adding the previous two terms. By starting with 1 and 2, the first 10 terms will be: 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, ... By considering the terms in the Fibonacci sequ...
26.8125
77
0.555944
Rushell-max
1ff778ce96d8d148bcd74a362a2e32aca5553a54
3,430
cpp
C++
src/Simulation/Native/codegen/codegen_test.cpp
Bradben/qsharp-runtime
72f7e963077c4cebea641ecc50b1ce4417048453
[ "MIT" ]
260
2019-07-11T16:40:17.000Z
2022-03-23T17:46:59.000Z
src/Simulation/Native/codegen/codegen_test.cpp
Bradben/qsharp-runtime
72f7e963077c4cebea641ecc50b1ce4417048453
[ "MIT" ]
507
2019-07-11T17:14:48.000Z
2022-03-29T01:17:07.000Z
src/Simulation/Native/codegen/codegen_test.cpp
Bradben/qsharp-runtime
72f7e963077c4cebea641ecc50b1ce4417048453
[ "MIT" ]
89
2019-07-11T18:02:27.000Z
2022-03-25T09:06:58.000Z
#include <cassert> #include <iostream> #include <vector> #include <complex> #include <cstdlib> #include <omp.h> #include "alignedalloc.hpp" //#include "timing.hpp" #include "cintrin.hpp" #include <algorithm> #include <functional> #include "util/par_for.hpp" using namespace std; #define LOOP_COLLAPSE1 2 // (C) 2018 ETH...
26.796875
112
0.574927
Bradben
1ffdf54f7e09b17f27aabb0742f244210e475ce6
3,363
cpp
C++
src/ui95/cmovie.cpp
Terebinth/freefalcon-central
c28d807183ab447ef6a801068aa3769527d55deb
[ "BSD-2-Clause" ]
117
2015-01-13T14:48:49.000Z
2022-03-16T01:38:19.000Z
src/ui95/cmovie.cpp
darongE/freefalcon-central
c28d807183ab447ef6a801068aa3769527d55deb
[ "BSD-2-Clause" ]
4
2015-05-01T13:09:53.000Z
2017-07-22T09:11:06.000Z
src/ui95/cmovie.cpp
darongE/freefalcon-central
c28d807183ab447ef6a801068aa3769527d55deb
[ "BSD-2-Clause" ]
78
2015-01-13T09:27:47.000Z
2022-03-18T14:39:09.000Z
#include <windows.h> #include <ddraw.h> #include "debuggr.h" #include "dxutil/ddutil.h" #include "ui/include/targa.h" #include "chandler.h" #ifdef _UI95_PARSER_ enum { CMOV_NOTHING = 0, CMOV_ADDMOVIE, CMOV_ADDSUBTITLE, }; char *C_Mov_Tokens[] = { "[NOTHING]", "[MOVIE]", "[SUBTITLE]", 0, }...
14.946667
88
0.508475
Terebinth
95029468973222b0d6896d6f61700c1e97c415c0
6,174
cpp
C++
src/proofnetwork/httpdownloader.cpp
dkormalev/proofbase
0b45c190e53fe71bfdd22670e89c97ba90b006c8
[ "BSD-3-Clause" ]
null
null
null
src/proofnetwork/httpdownloader.cpp
dkormalev/proofbase
0b45c190e53fe71bfdd22670e89c97ba90b006c8
[ "BSD-3-Clause" ]
null
null
null
src/proofnetwork/httpdownloader.cpp
dkormalev/proofbase
0b45c190e53fe71bfdd22670e89c97ba90b006c8
[ "BSD-3-Clause" ]
null
null
null
/* Copyright 2018, OpenSoft Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions are met: * * * Redistributions of source code must retain the above copyright notice, this list of * conditions a...
46.074627
121
0.606738
dkormalev
9502b53a0ca5331211820f53c300e7e5849c9a4b
1,666
cpp
C++
src/xml_event.cpp
incoder1/libio
fbfd83fe31ca59a69670e5269f5847b2b4c6c553
[ "BSL-1.0" ]
14
2018-06-12T15:42:43.000Z
2022-02-28T16:19:20.000Z
src/xml_event.cpp
incoder1/libio
fbfd83fe31ca59a69670e5269f5847b2b4c6c553
[ "BSL-1.0" ]
null
null
null
src/xml_event.cpp
incoder1/libio
fbfd83fe31ca59a69670e5269f5847b2b4c6c553
[ "BSL-1.0" ]
null
null
null
/* * * Copyright (c) 2016-2019 * Viktor Gubin * * Use, modification and distribution are subject to the * Boost Software License, Version 1.0. (See accompanying file * LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) * */ #include "stdafx.hpp" #include "xml_event.hpp" namespace io { namespace...
23.8
117
0.72389
incoder1
95077dc71366c9503298ce36a63539ce92b77e59
120
cpp
C++
3_operatorPlus/Mail.cpp
Aaron-labo/Cpp_StudyNotes
afff37736468b26dad87e9b5cda90f1e5f1efb06
[ "Unlicense" ]
1
2021-06-17T11:37:42.000Z
2021-06-17T11:37:42.000Z
3_operatorPlus/Mail.cpp
Aaron-labo/Cpp_StudyNotes
afff37736468b26dad87e9b5cda90f1e5f1efb06
[ "Unlicense" ]
null
null
null
3_operatorPlus/Mail.cpp
Aaron-labo/Cpp_StudyNotes
afff37736468b26dad87e9b5cda90f1e5f1efb06
[ "Unlicense" ]
null
null
null
#include "Mail.h" Mail::Mail(string title, string contents, string t) :_title(title), _contents(contents), _time(t) {}
30
51
0.716667
Aaron-labo
9507edc82e7ae0d8fd044c233f032ec66b1fb9db
1,672
cpp
C++
Game/Game/src/BattleScene/ShotManager.cpp
tikisi/Dangomushi
037d55f6ab9c7a0d99e0cf29382e7cb4891d679a
[ "MIT" ]
1
2021-12-02T13:22:05.000Z
2021-12-02T13:22:05.000Z
Game/Game/src/BattleScene/ShotManager.cpp
tikisi/Dangomushi
037d55f6ab9c7a0d99e0cf29382e7cb4891d679a
[ "MIT" ]
2
2020-10-10T19:19:23.000Z
2020-10-11T04:28:46.000Z
Game/Game/src/BattleScene/ShotManager.cpp
tikisi/Dangomushi
037d55f6ab9c7a0d99e0cf29382e7cb4891d679a
[ "MIT" ]
null
null
null
#include "ShotManager.hpp" #include "ShotGenerator.hpp" void ShotManager::genRadial(const Vec2& center, const double accAbs) { shotGenerators.push_back(new RadialGenerator(this, center, accAbs)); } void ShotManager::genRasen(const Vec2& center) { shotGenerators.push_back(new RasenGenerator(this, center)); } void...
32.784314
165
0.582536
tikisi
950972aa12c8c7997c5f7fe4fd9483f48e1cb9cf
2,269
cpp
C++
src/src/KContentType.cpp
jcleng/nix-kangle-3.5.13.2
cc7bbaa429ada9a7eb7a023a152b6e2fc5defe3f
[ "MIT" ]
null
null
null
src/src/KContentType.cpp
jcleng/nix-kangle-3.5.13.2
cc7bbaa429ada9a7eb7a023a152b6e2fc5defe3f
[ "MIT" ]
null
null
null
src/src/KContentType.cpp
jcleng/nix-kangle-3.5.13.2
cc7bbaa429ada9a7eb7a023a152b6e2fc5defe3f
[ "MIT" ]
null
null
null
/* * Copyright (c) 2010, NanChang BangTeng Inc * All Rights Reserved. * * You may use the Software for free for non-commercial use * under the License Restrictions. * * You may modify the source code(if being provieded) or interface * of the Software under the License Restrictions. * * You may use t...
27.670732
144
0.677832
jcleng
950a13148f739a0196210ef842a0b940c0eafae6
1,710
cpp
C++
csapex_vision/src/filter/filter_static_mask_adapter.cpp
AdrianZw/csapex_core_plugins
1b23c90af7e552c3fc37c7dda589d751d2aae97f
[ "BSD-3-Clause" ]
2
2016-09-02T15:33:22.000Z
2019-05-06T22:09:33.000Z
csapex_vision/src/filter/filter_static_mask_adapter.cpp
AdrianZw/csapex_core_plugins
1b23c90af7e552c3fc37c7dda589d751d2aae97f
[ "BSD-3-Clause" ]
1
2021-02-14T19:53:30.000Z
2021-02-14T19:53:30.000Z
csapex_vision/src/filter/filter_static_mask_adapter.cpp
AdrianZw/csapex_core_plugins
1b23c90af7e552c3fc37c7dda589d751d2aae97f
[ "BSD-3-Clause" ]
6
2016-10-12T00:55:23.000Z
2021-02-10T17:49:25.000Z
/// HEADER #include "filter_static_mask_adapter.h" /// COMPONENT #include "filter_static_mask_painter.h" /// PROJECT #include <csapex/model/node_facade_impl.h> #include <csapex/msg/io.h> #include <csapex/view/utility/register_node_adapter.h> /// SYSTEM #include <QCheckBox> #include <QGraphicsPixmapItem> #include <QG...
26.71875
192
0.727485
AdrianZw
950d107bd73e8e4f3340ce8fa5aa4ad4e6332536
1,483
cpp
C++
src/coreclr/tests/src/Interop/PInvoke/Generics/GenericsNative.Point4L.cpp
abock/runtime
b3346807be96f6089fc1538946b3611f607389e2
[ "MIT" ]
6
2020-01-04T14:02:35.000Z
2020-01-05T15:28:09.000Z
src/coreclr/tests/src/Interop/PInvoke/Generics/GenericsNative.Point4L.cpp
abock/runtime
b3346807be96f6089fc1538946b3611f607389e2
[ "MIT" ]
2
2020-06-06T09:07:48.000Z
2020-06-06T09:13:07.000Z
src/coreclr/tests/src/Interop/PInvoke/Generics/GenericsNative.Point4L.cpp
abock/runtime
b3346807be96f6089fc1538946b3611f607389e2
[ "MIT" ]
3
2021-02-10T16:20:05.000Z
2021-03-12T07:55:36.000Z
// Licensed to the .NET Doundation under one or more agreements. // The .NET Doundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. #include <stdio.h> #include <stdint.h> #include <xplatform.h> #include <platformdefines.h> struct Point4L { int...
24.716667
127
0.671612
abock
950defc5f4d0b6e2e6f0ea6996a07ea8507ec92b
21,111
hpp
C++
example/math/include/math_vmf.hpp
zhouyan/MCKL
1d03eb5a879e47e268efc73b1d433611e64307b3
[ "BSD-2-Clause" ]
12
2016-08-02T17:01:13.000Z
2021-03-04T12:11:33.000Z
example/math/include/math_vmf.hpp
zhouyan/MCKL
1d03eb5a879e47e268efc73b1d433611e64307b3
[ "BSD-2-Clause" ]
5
2017-05-09T12:05:06.000Z
2021-03-16T10:39:23.000Z
example/math/include/math_vmf.hpp
zhouyan/MCKL
1d03eb5a879e47e268efc73b1d433611e64307b3
[ "BSD-2-Clause" ]
2
2016-08-25T13:10:29.000Z
2019-05-01T01:54:29.000Z
//============================================================================ // MCKL/example/math/include/math_vmf.hpp //---------------------------------------------------------------------------- // MCKL: Monte Carlo Kernel Library //---------------------------------------------------------------------------- // Co...
57.056757
79
0.439771
zhouyan
951486287e649760281a4ac0127c4819469f662f
1,855
cpp
C++
crystal/serializer/record/Record.cpp
crystal-dataop/crystal
128e1dcde1ef68cabadab9b16d45f5199f0afe5c
[ "Apache-2.0" ]
2
2020-10-02T03:31:50.000Z
2020-12-31T09:41:48.000Z
crystal/serializer/record/Record.cpp
crystal-dataop/crystal
128e1dcde1ef68cabadab9b16d45f5199f0afe5c
[ "Apache-2.0" ]
null
null
null
crystal/serializer/record/Record.cpp
crystal-dataop/crystal
128e1dcde1ef68cabadab9b16d45f5199f0afe5c
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2017-present Yeolar * * 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...
26.5
78
0.642588
crystal-dataop
951584cce5602411cf4224bca3fbab336edbc08a
7,912
hpp
C++
library/datastructure/binary_trie.hpp
suisen-cp/cp-library-cpp
8fbbdcdbceb60f5adc56ff4740549ce3c1a1ea43
[ "CC0-1.0" ]
2
2021-10-04T15:46:56.000Z
2022-01-14T19:28:43.000Z
library/datastructure/binary_trie.hpp
suisen-cp/cp-library-cpp
8fbbdcdbceb60f5adc56ff4740549ce3c1a1ea43
[ "CC0-1.0" ]
null
null
null
library/datastructure/binary_trie.hpp
suisen-cp/cp-library-cpp
8fbbdcdbceb60f5adc56ff4740549ce3c1a1ea43
[ "CC0-1.0" ]
null
null
null
#ifndef SUISEN_BINARY_TRIE #define SUISEN_BINARY_TRIE #include <cassert> #include <limits> #include <optional> #include <string> #include <vector> namespace suisen { template <typename T, int bit_length = std::numeric_limits<std::make_unsigned_t<T>>::digits> class BinaryTrie { using U = std::make_unsigned_t<T>; ...
45.211429
128
0.528059
suisen-cp
95159edb6644b9d46be9c3eb38180133deb365f6
1,584
hpp
C++
rmf_fleet_adapter_python/include/rmf_fleet_adapter_python/graph/PyEvent.hpp
Capstone-S13/rmf_ros2
66721dd2ab5a458c050bad154c6a17d8e4b5c8f4
[ "Apache-2.0" ]
18
2021-03-30T03:03:16.000Z
2022-03-21T13:48:41.000Z
rmf_fleet_adapter_python/include/rmf_fleet_adapter_python/graph/PyEvent.hpp
Capstone-S13/rmf_ros2
66721dd2ab5a458c050bad154c6a17d8e4b5c8f4
[ "Apache-2.0" ]
147
2021-03-09T09:16:27.000Z
2022-03-25T11:26:58.000Z
rmf_fleet_adapter_python/include/rmf_fleet_adapter_python/graph/PyEvent.hpp
Capstone-S13/rmf_ros2
66721dd2ab5a458c050bad154c6a17d8e4b5c8f4
[ "Apache-2.0" ]
20
2021-05-21T06:54:58.000Z
2022-03-18T10:43:01.000Z
/* * Copyright (C) 2020 Open Source Robotics Foundation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
24.369231
75
0.698864
Capstone-S13
9517988ec949c46546fa1566016058583fe4b509
889
cpp
C++
C++/the-number-of-full-rounds-you-have-played.cpp
Priyansh2/LeetCode-Solutions
d613da1881ec2416ccbe15f20b8000e36ddf1291
[ "MIT" ]
3,269
2018-10-12T01:29:40.000Z
2022-03-31T17:58:41.000Z
C++/the-number-of-full-rounds-you-have-played.cpp
Priyansh2/LeetCode-Solutions
d613da1881ec2416ccbe15f20b8000e36ddf1291
[ "MIT" ]
53
2018-12-16T22:54:20.000Z
2022-02-25T08:31:20.000Z
C++/the-number-of-full-rounds-you-have-played.cpp
Priyansh2/LeetCode-Solutions
d613da1881ec2416ccbe15f20b8000e36ddf1291
[ "MIT" ]
1,236
2018-10-12T02:51:40.000Z
2022-03-30T13:30:37.000Z
// Time: O(1) // Space: O(1) class Solution { public: int numberOfRounds(string startTime, string finishTime) { int start = stoi(startTime.substr(0, 2)) * 60 + stoi(startTime.substr(3)); int finish = stoi(finishTime.substr(0, 2)) * 60 + stoi(finishTime.substr(3)); if (start > finish) { ...
26.939394
85
0.52081
Priyansh2
952132e294f3ddb4e25108b5b94f4a6776e1e3b9
344
cpp
C++
CodeChef/Begenner/lucky_four.cpp
mushahadur/Competitive-Programming-Problem-Solving-Online-Judge
66b49ee2564b85d7b42d91a977f3d57d437e43d5
[ "Apache-2.0" ]
1
2021-08-25T06:49:16.000Z
2021-08-25T06:49:16.000Z
CodeChef/Begenner/lucky_four.cpp
mushahadur/Competitive-Programming-Problem-Solving-Online-Judge
66b49ee2564b85d7b42d91a977f3d57d437e43d5
[ "Apache-2.0" ]
null
null
null
CodeChef/Begenner/lucky_four.cpp
mushahadur/Competitive-Programming-Problem-Solving-Online-Judge
66b49ee2564b85d7b42d91a977f3d57d437e43d5
[ "Apache-2.0" ]
null
null
null
#include<bits/stdc++.h> using namespace std; int main() { int t,n,r,i=0; cin >> t; while(t--) { cin >> n; while(n !=0) { r = n%10; if(r== 4) { i++; } n = n/10; } cout<<i<<endl; i=0...
14.333333
23
0.290698
mushahadur
95219f4721a1ebeb69342c5cf50815d8a2bd3b25
7,685
cpp
C++
portbroker.cpp
hello-adam/wooten
f8cc11de542c2c7a2c9821ee7a469fcbe02a480a
[ "MIT" ]
3
2022-01-07T18:02:13.000Z
2022-02-14T17:52:38.000Z
portbroker.cpp
smr-llc/wooten
3c1a86a3c31192d094e511c953892d261de5d816
[ "MIT" ]
8
2021-05-29T17:24:46.000Z
2022-01-04T05:38:03.000Z
portbroker.cpp
smr-llc/wooten
3c1a86a3c31192d094e511c953892d261de5d816
[ "MIT" ]
1
2021-03-29T20:18:35.000Z
2021-03-29T20:18:35.000Z
#include "portbroker.h" #include <Bela.h> #include <sys/time.h> #include <string.h> #include <errno.h> #define BROKER_PORT 8314 #define STARTING_PORT 42000 #define MAX_PORTS 50 #define MAGIC_1 0xbe #define MAGIC_2 0x1a PortAssignment localReservations[MAX_PORTS]; PortAssignment remoteReservations[MAX_PORTS]; ty...
24.63141
94
0.68419
hello-adam
9525c4b37efc96182002d5615369dd5b4bf8fae6
900
cc
C++
src/fix.cc
xypron/gitlog_analzyer
a012db8894b65d1f623671bc7f7e2ce95c4026e6
[ "Unlicense" ]
null
null
null
src/fix.cc
xypron/gitlog_analzyer
a012db8894b65d1f623671bc7f7e2ce95c4026e6
[ "Unlicense" ]
null
null
null
src/fix.cc
xypron/gitlog_analzyer
a012db8894b65d1f623671bc7f7e2ce95c4026e6
[ "Unlicense" ]
null
null
null
/* SPDX-License-Identifier: MIT */ #include <regex> #include "fix.h" /** * Fix::Fix() - construct a 'Fixes:' information * * @line: 'Fixes:' line from the commit message */ Fix::Fix(std::string line) { std::smatch match; /* * Select the hash of the fixed commit. This should be at least a 12 * character hexa...
19.565217
80
0.618889
xypron
952ee79b7231b20ae67dd2375bb8c776d77aed9d
8,326
cpp
C++
src/SudokuSolvercpp.cpp
harborn/LeetCode
8488c0bcf306b8672492fd6220e496e335e2b9fe
[ "MIT" ]
null
null
null
src/SudokuSolvercpp.cpp
harborn/LeetCode
8488c0bcf306b8672492fd6220e496e335e2b9fe
[ "MIT" ]
1
2021-12-14T15:56:11.000Z
2021-12-14T15:56:11.000Z
src/SudokuSolvercpp.cpp
harborn/LeetCode
8488c0bcf306b8672492fd6220e496e335e2b9fe
[ "MIT" ]
null
null
null
#include <iostream> #include <string> #include <vector> #include <unordered_map> using namespace std; struct pos { int x; int y; pos(int a, int b) : x(a), y(b) {} }; struct posVal { int x; int y; char val; posVal(int a, int b, char c) : x(a), y(b), val(c) {} }; vector<posVal> getRowColumnBlock(vector<vector...
19.871122
138
0.504084
harborn
9530651ebf14b808929d6fab88537f0a52a207c2
3,291
cpp
C++
evoNik/nMaze.cpp
nikhiljjoshi/evoNik
b0be7202bbb07da75b0b6d686556e7464e176717
[ "BSD-2-Clause" ]
null
null
null
evoNik/nMaze.cpp
nikhiljjoshi/evoNik
b0be7202bbb07da75b0b6d686556e7464e176717
[ "BSD-2-Clause" ]
null
null
null
evoNik/nMaze.cpp
nikhiljjoshi/evoNik
b0be7202bbb07da75b0b6d686556e7464e176717
[ "BSD-2-Clause" ]
null
null
null
// // nMaze.cpp // evoNik // // Created by Nikhil Joshi on 3/21/12. // Copyright (c) 2012 California Institute of Technology. All rights reserved. // // maze dimensions are // 0(left) to m_x (right) // 0 (top) to m_y (bottom) // 0 is a wall // 1 is a door #include "nMaze.hpp" bool nMaze::isValid(){ //...
27.198347
156
0.522637
nikhiljjoshi
953186d16ec46ebc0fdf73006ecaa7382c2e5cb7
2,640
cc
C++
Codeforces/Manthan 2016/Problem E/E.cc
VastoLorde95/Competitive-Programming
6c990656178fb0cd33354cbe5508164207012f24
[ "MIT" ]
170
2017-07-25T14:47:29.000Z
2022-01-26T19:16:31.000Z
Codeforces/Manthan 2016/Problem E/E.cc
navodit15/Competitive-Programming
6c990656178fb0cd33354cbe5508164207012f24
[ "MIT" ]
null
null
null
Codeforces/Manthan 2016/Problem E/E.cc
navodit15/Competitive-Programming
6c990656178fb0cd33354cbe5508164207012f24
[ "MIT" ]
55
2017-07-28T06:17:33.000Z
2021-10-31T03:06:22.000Z
#include <bits/stdc++.h> #define sd(x) scanf("%d",&x) #define sd2(x,y) scanf("%d%d",&x,&y) #define sd3(x,y,z) scanf("%d%d%d",&x,&y,&z) #define fi first #define se second #define pb push_back #define mp make_pair #define foreach(it, v) for(__typeof((v).begin()) it=(v).begin(); it != (v).end(); ++it) #define meta __FUN...
20
97
0.521591
VastoLorde95
9531c0ca790c1e8bb8551e9e9de78c333c85cb57
2,036
cc
C++
linux/dart_discord_rpc_plugin.cc
nathanfranke/dart_discord_rpc
0bfb28aa50fa8bac0c0a254000492d9328132fa0
[ "MIT" ]
11
2021-08-19T14:49:40.000Z
2022-02-08T20:47:21.000Z
linux/dart_discord_rpc_plugin.cc
nathanfranke/dart_discord_rpc
0bfb28aa50fa8bac0c0a254000492d9328132fa0
[ "MIT" ]
3
2021-09-13T13:33:38.000Z
2022-03-20T14:57:00.000Z
linux/dart_discord_rpc_plugin.cc
nathanfranke/dart_discord_rpc
0bfb28aa50fa8bac0c0a254000492d9328132fa0
[ "MIT" ]
2
2021-10-30T04:45:44.000Z
2022-03-14T16:58:40.000Z
#include "include/dart_discord_rpc/dart_discord_rpc_plugin.h" #include <flutter_linux/flutter_linux.h> #include <gtk/gtk.h> #include <sys/utsname.h> #include <cstring> #define DART_DISCORD_RPC_PLUGIN(obj) \ (G_TYPE_CHECK_INSTANCE_CAST((obj), dart_discord_rpc_plugin_get_type(), \...
35.103448
80
0.766699
nathanfranke
953791f01789f461592bf2c75a00bf8accfa745c
2,977
cpp
C++
Bomb Manual/main.cpp
alex-vorhies/sample-projects
4fec8fb3a28535dfa4ce71f6319cab959c0367ef
[ "Apache-2.0" ]
null
null
null
Bomb Manual/main.cpp
alex-vorhies/sample-projects
4fec8fb3a28535dfa4ce71f6319cab959c0367ef
[ "Apache-2.0" ]
null
null
null
Bomb Manual/main.cpp
alex-vorhies/sample-projects
4fec8fb3a28535dfa4ce71f6319cab959c0367ef
[ "Apache-2.0" ]
null
null
null
//verification code: 241 #include "BombManual.h" #include <algorithm> #include <iostream> #include <fstream> #include <map> #include <vector> using namespace std; int main() { BombManual b; short modules, battery, buttonNumber = 0, simonNumber = 0; string subject, color, text, addToVector, trash; char serial, in...
31.336842
107
0.638562
alex-vorhies
95383b894fbc57c805dd0a9ab041fd597fa2c36a
509
cc
C++
src/optimizer/sgd.cc
xlmentx/Parallel-Computing
0785f18afaabd5daf2efd89607f643845a07b3c0
[ "MIT" ]
16
2019-02-09T15:25:26.000Z
2022-01-18T00:58:22.000Z
src/optimizer/sgd.cc
xlmentx/Parallel-Computing
0785f18afaabd5daf2efd89607f643845a07b3c0
[ "MIT" ]
1
2020-07-11T16:57:14.000Z
2020-09-09T00:21:22.000Z
src/optimizer/sgd.cc
xlmentx/Parallel-Computing
0785f18afaabd5daf2efd89607f643845a07b3c0
[ "MIT" ]
5
2019-10-21T13:23:54.000Z
2020-10-23T05:30:04.000Z
#include "./sgd.h" void SGD::update(Vector::AlignedMapType& w, Vector::ConstAlignedMapType& dw) { // refer to SGD in PyTorch: // https://github.com/pytorch/pytorch/blob/master/torch/optim/sgd.py // If v is zero, initialize it Vector& v = v_map[dw.data()]; if (v.size() == 0) { v.resize(dw...
24.238095
70
0.554028
xlmentx
953a4afe55a51de3a74eb335357c7ce3765a91d6
2,490
tpp
C++
include/Sirius/Math/Vector/transforms.tpp
xam4lor/Sirius
f05a89538ab2bc79a8d46f482fbb060271adce0a
[ "MIT" ]
1
2021-07-12T11:53:06.000Z
2021-07-12T11:53:06.000Z
include/Sirius/Math/Vector/transforms.tpp
xam4lor/Sirius
f05a89538ab2bc79a8d46f482fbb060271adce0a
[ "MIT" ]
null
null
null
include/Sirius/Math/Vector/transforms.tpp
xam4lor/Sirius
f05a89538ab2bc79a8d46f482fbb060271adce0a
[ "MIT" ]
1
2021-07-12T11:51:53.000Z
2021-07-12T11:51:53.000Z
#include "transforms.hpp" #include "Sirius/Math/Matrix/Matrix.hpp" namespace Sirius { template<unsigned dim, typename T> constexpr T dot(const Vector<dim, T>& v1, const Vector<dim, T>& v2) { T result = static_cast<T>(0); for (int i = 0; i < dim; ++i) { result += v1[i]...
26.774194
93
0.541365
xam4lor
953b524644513ae3af3d1dc931b3245d94b7a260
1,265
cpp
C++
src/test/cpp/hanal/hanal_api_test.cpp
krikit/hanal
e99a3632c244444bec52478fb836590570c409f3
[ "Unlicense" ]
25
2015-01-26T01:08:26.000Z
2021-07-27T08:07:48.000Z
src/test/cpp/hanal/hanal_api_test.cpp
krikit/hanal
e99a3632c244444bec52478fb836590570c409f3
[ "Unlicense" ]
null
null
null
src/test/cpp/hanal/hanal_api_test.cpp
krikit/hanal
e99a3632c244444bec52478fb836590570c409f3
[ "Unlicense" ]
5
2016-06-19T06:45:13.000Z
2019-02-17T10:59:48.000Z
/** * @author krikit(krikit@naver.com) * @copyright Copyright (C) 2014-2015, krikit. All rights reserved. BSD 2-Clause License */ ////////////// // includes // ////////////// #include <map> #include <string> #include "gtest/gtest.h" #include "hanal/hanal_api.h" extern std::map<std::string, std::string> pro...
25.816327
92
0.652174
krikit
953cfd5fc8568104db511f7a72a104e56148dfad
1,040
cpp
C++
src/Engine/Util/Json.cpp
Chainsawkitten/HymnToBeauty
b0c431869fee4314eca2aee65d93e78f7e707f10
[ "MIT" ]
10
2019-01-13T05:51:54.000Z
2022-02-02T14:34:47.000Z
src/Engine/Util/Json.cpp
Chainsawkitten/HymnToBeauty
b0c431869fee4314eca2aee65d93e78f7e707f10
[ "MIT" ]
46
2016-12-30T11:14:25.000Z
2021-09-04T12:50:40.000Z
src/Engine/Util/Json.cpp
Chainsawkitten/HymnToBeauty
b0c431869fee4314eca2aee65d93e78f7e707f10
[ "MIT" ]
4
2017-09-28T09:00:58.000Z
2019-10-22T05:28:32.000Z
#include "Json.hpp" #include <glm/gtc/quaternion.hpp> namespace Json { Value SaveVec2(const glm::vec2& value) { Value node; node["x"] = value.x; node["y"] = value.y; return node; } glm::vec2 LoadVec2(const Value& value) { return glm::vec2(value.get("x", 0.f).asFloat(), value.get("y", 0.f).asFloat(...
25.365854
149
0.595192
Chainsawkitten
953ed9485c936357e9f5ae4db8c748a6c0939707
2,225
cpp
C++
src/Row.cpp
wolfv6/keybrd
a4a5ab7ca12f17bb3f7f041a97619f456a35d1d5
[ "MIT" ]
71
2015-05-13T16:24:16.000Z
2022-02-22T01:30:18.000Z
src/Row.cpp
wolfv6/keybrd
a4a5ab7ca12f17bb3f7f041a97619f456a35d1d5
[ "MIT" ]
1
2018-07-19T20:46:16.000Z
2018-07-23T01:46:55.000Z
src/Row.cpp
wolfv6/keybrd
a4a5ab7ca12f17bb3f7f041a97619f456a35d1d5
[ "MIT" ]
16
2015-11-18T08:02:07.000Z
2021-04-02T21:27:17.000Z
#include "Row.h" /* constructor init() is called once for each row, to set scanner's uC strobePin to output. */ Row::Row(ScannerInterface& refScanner, const uint8_t strobePin, Key* const ptrsKeys[], const uint8_t keyCount) : refScanner(refScanner), strobePin(strobePin), ptrsKeys(ptrsKeys), k...
34.765625
98
0.624719
wolfv6
95485fcee652f86568cc40542dc5439b0a531fe3
754
cpp
C++
GolmanSachs/5.cpp
aabhas-sao/6Companies30Days
0c07f62b05e18c36fc5262cd51c251b8a6301a2f
[ "MIT" ]
null
null
null
GolmanSachs/5.cpp
aabhas-sao/6Companies30Days
0c07f62b05e18c36fc5262cd51c251b8a6301a2f
[ "MIT" ]
null
null
null
GolmanSachs/5.cpp
aabhas-sao/6Companies30Days
0c07f62b05e18c36fc5262cd51c251b8a6301a2f
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; #define ull unsigned long long int class Solution { public: // #define ull unsigned long long /* Function to get the nth ugly number*/ ull getNthUglyNo(int n) { if (n == 0) return 0; if (n == 1) return 1; vector<ull> v(n); v[0] = 1; int t2 = 0, ...
19.842105
52
0.505305
aabhas-sao
954ca6b04c6fddb2ac246b7b8b4ee8affc8e4f17
11,505
cpp
C++
sources/planner/planner.cpp
arxarian/shiftplanner
53cf12ae240ce65357fdf5da5c65014504998102
[ "MIT" ]
null
null
null
sources/planner/planner.cpp
arxarian/shiftplanner
53cf12ae240ce65357fdf5da5c65014504998102
[ "MIT" ]
null
null
null
sources/planner/planner.cpp
arxarian/shiftplanner
53cf12ae240ce65357fdf5da5c65014504998102
[ "MIT" ]
null
null
null
#include "planner.h" #include "../global.h" #include <absl/strings/str_format.h> #include <ortools/sat/cp_model.h> #include <ortools/sat/model.h> #include <ortools/sat/sat_parameters.pb.h> #include <ortools/util/time_limit.h> #include <QDebug> bool available(const QString& availabitilty, const bool morning) { i...
33.251445
136
0.539591
arxarian
954f5b1c281b2cb7b9135d61a692aaebe8c6fec5
912
cpp
C++
src/Observer/LoggingObserver.cpp
shushengfuqin/comp335_p
c5783dfa3080610d67d35e3c81600b9fce411349
[ "MIT" ]
null
null
null
src/Observer/LoggingObserver.cpp
shushengfuqin/comp335_p
c5783dfa3080610d67d35e3c81600b9fce411349
[ "MIT" ]
null
null
null
src/Observer/LoggingObserver.cpp
shushengfuqin/comp335_p
c5783dfa3080610d67d35e3c81600b9fce411349
[ "MIT" ]
2
2022-02-09T03:03:08.000Z
2022-03-30T03:00:26.000Z
// // Created by Gin on 2022-03-06. // #include "LoggingObserver.h" using namespace std; Subject::Subject() { new LogObserver(this); } Subject::~Subject() {} void Subject::Attach(Observer *obs){ _observers.push_back(obs); } void Subject::Detach(Observer *obs) { _observers.remove(obs); } void Subject...
15.2
43
0.648026
shushengfuqin
95502c77a5186573ad49150bc2a62af7c8acbcb2
13,173
cpp
C++
Plain/src/AssetPipeline/ModelImport.cpp
Gaukler/PlainRenderer
cf0f41a2300bee9f29a886230c061776cb29ba5e
[ "MIT" ]
9
2021-04-09T14:07:45.000Z
2022-03-06T07:51:14.000Z
Plain/src/AssetPipeline/ModelImport.cpp
Gaukler/PlainRenderer
cf0f41a2300bee9f29a886230c061776cb29ba5e
[ "MIT" ]
14
2021-04-10T11:06:06.000Z
2021-05-07T14:20:34.000Z
Plain/src/AssetPipeline/ModelImport.cpp
Gaukler/PlainRenderer
cf0f41a2300bee9f29a886230c061776cb29ba5e
[ "MIT" ]
null
null
null
#include "pch.h" #include "ModelImport.h" #define TINYOBJLOADER_IMPLEMENTATION #include <tiny_obj_loader.h> #define TINYGLTF_IMPLEMENTATION //#define TINYGLTF_NO_EXTERNAL_IMAGE #define TINYGLTF_NO_STB_IMAGE_WRITE #include "tiny_gltf.h" #include "Utilities/DirectoryUtils.h" #include "Common/MeshProcessing.h" //---- ...
41.424528
173
0.61292
Gaukler
95527518a0530d1555c318b62f280ed07ef208bf
2,021
hpp
C++
src/client/abstractclient.hpp
dmitritt/lb
936f2a7c7546b7d74cdf6a552012deed87e4ab79
[ "MIT" ]
null
null
null
src/client/abstractclient.hpp
dmitritt/lb
936f2a7c7546b7d74cdf6a552012deed87e4ab79
[ "MIT" ]
4
2015-11-27T11:03:37.000Z
2015-12-10T15:55:02.000Z
src/client/abstractclient.hpp
dmitritt/qlb
936f2a7c7546b7d74cdf6a552012deed87e4ab79
[ "MIT" ]
null
null
null
/* * Copyright (c) 2016 Dmitri * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, publish, di...
34.844828
80
0.754082
dmitritt
955d53d6a4c3c962ea35fe836c97d38427eaa7ac
16,269
cpp
C++
Src/Layouts/MXMainWindowLayout.cpp
L-Spiro/MhsX
9cc71fbbac93ba54a01839db129cd9b47a68f29e
[ "BSD-2-Clause" ]
19
2016-09-07T18:22:09.000Z
2022-03-25T23:05:39.000Z
Src/Layouts/MXMainWindowLayout.cpp
L-Spiro/MhsX
9cc71fbbac93ba54a01839db129cd9b47a68f29e
[ "BSD-2-Clause" ]
1
2021-09-30T14:24:54.000Z
2021-11-13T14:58:02.000Z
Src/Layouts/MXMainWindowLayout.cpp
L-Spiro/MhsX
9cc71fbbac93ba54a01839db129cd9b47a68f29e
[ "BSD-2-Clause" ]
5
2018-04-10T16:52:25.000Z
2021-05-11T02:40:17.000Z
#include "MXMainWindowLayout.h" #include "../MemHack/MXMemHack.h" #include "../Strings/MXStringDecoder.h" #include "../System/MXSystem.h" #include "../Utilities/MXUtilities.h" #include "MXLayoutMacros.h" #include "MXLayoutManager.h" #include <Base/LSWBase.h> #include <Base/LSWWndClassEx.h> #include <Layout/LSWLayoutMa...
36.724605
209
0.632799
L-Spiro
956f8a312e7fc6a0b26b5d354da50e35cdde5979
1,968
cpp
C++
HoloTek/3D/Entities/GUI/Menus/MainMenu.cpp
Oxydros/HoloTek
99afc96491bf63ca662235cf7805ac0dba6efdbd
[ "Apache-2.0" ]
1
2019-04-09T09:30:32.000Z
2019-04-09T09:30:32.000Z
HoloTek/3D/Entities/GUI/Menus/MainMenu.cpp
Oxydros/HoloTek
99afc96491bf63ca662235cf7805ac0dba6efdbd
[ "Apache-2.0" ]
null
null
null
HoloTek/3D/Entities/GUI/Menus/MainMenu.cpp
Oxydros/HoloTek
99afc96491bf63ca662235cf7805ac0dba6efdbd
[ "Apache-2.0" ]
null
null
null
#include "pch.h" #include <3D\Entities\GUI\Menus\MainMenu.h> #include <3D\Entities\GUI\Widgets\Panel.h> #include <3D\Entities\GUI\Widgets\Button2D.h> #include "3D\Scene\HolographicScene.h" using namespace winrt::Windows::UI::Input; HoloTek::MainMenu::MainMenu(std::shared_ptr<DX::DeviceResources> devicesResources, ...
37.132075
147
0.758638
Oxydros
9574dd8b383ee45df115115a29d62758ae8a1bda
1,748
hpp
C++
location/src/cslocation.hpp
lucyhancock3533/CRISPR-search
4ed4544589ae941af787d09880817b77a413a3b1
[ "Unlicense" ]
null
null
null
location/src/cslocation.hpp
lucyhancock3533/CRISPR-search
4ed4544589ae941af787d09880817b77a413a3b1
[ "Unlicense" ]
null
null
null
location/src/cslocation.hpp
lucyhancock3533/CRISPR-search
4ed4544589ae941af787d09880817b77a413a3b1
[ "Unlicense" ]
null
null
null
#ifndef CRISPR_SEARCH_LOCATION_CSLOCATION_HPP #define CRISPR_SEARCH_LOCATION_CSLOCATION_HPP #include <string> #include <memory> #include <utility> #include <algorithm> #include <cstring> #include <iostream> #include <fstream> #include <exception> #include <sstream> #include <vector> #include <cctype> #include <boost/...
23.306667
76
0.745995
lucyhancock3533
957cb5a5dc26945630d9c3108e8e2e990eb2dc36
65
cpp
C++
libs/ph/testing/src/test.cpp
phiwen96/MyLibs
33b8b4db196040e91eb1c3596634ba73c72a494b
[ "MIT" ]
null
null
null
libs/ph/testing/src/test.cpp
phiwen96/MyLibs
33b8b4db196040e91eb1c3596634ba73c72a494b
[ "MIT" ]
null
null
null
libs/ph/testing/src/test.cpp
phiwen96/MyLibs
33b8b4db196040e91eb1c3596634ba73c72a494b
[ "MIT" ]
null
null
null
#include <ph/testing/test.hpp> namespace ph::testing { }
5
30
0.630769
phiwen96
9590d5003ffca5c924908df6262e6e3d7e49aa2f
2,085
cpp
C++
cpp_play/Factory_CPP11.cpp
IgorHersht/proxygen_ih
616a8eb899196d2a130e14c0fabcae1944e34b7d
[ "MIT" ]
7
2017-11-10T05:18:30.000Z
2021-04-29T15:38:25.000Z
templates/Factory_CPP11.cpp
IgorHersht/proxygen_ih
616a8eb899196d2a130e14c0fabcae1944e34b7d
[ "MIT" ]
null
null
null
templates/Factory_CPP11.cpp
IgorHersht/proxygen_ih
616a8eb899196d2a130e14c0fabcae1944e34b7d
[ "MIT" ]
null
null
null
#include <iostream> #include <type_traits> #include<memory> #include<string> #include<vector> struct Base { virtual ~Base() {}; virtual void run() = 0; virtual void close() = 0; }; struct Impl1 : public Base { explicit Impl1(int data) :Base(), m_data(data) { std::cout << " Impl1()" << std::endl; } virtual ~...
22.912088
98
0.623981
IgorHersht
d2e51ba2401f65762ac55c6c353bb57e7664cb93
692
cpp
C++
Bullet Hell/Text.cpp
PotatoesBasket/Bullet-Hell
0d6c12f4a73d37567afbf885278848cff315a62e
[ "MIT" ]
null
null
null
Bullet Hell/Text.cpp
PotatoesBasket/Bullet-Hell
0d6c12f4a73d37567afbf885278848cff315a62e
[ "MIT" ]
null
null
null
Bullet Hell/Text.cpp
PotatoesBasket/Bullet-Hell
0d6c12f4a73d37567afbf885278848cff315a62e
[ "MIT" ]
null
null
null
#include "Text.h" Text::Text(FontType font, const char* text) : m_text(text) { m_font = ResourceManager::getInstance().loadFont(font.filename, font.size); m_colour = font.colour; } float Text::getHalfWidth() { return m_font->as<aie::Font>()->getStringWidth(m_text.c_str()) / 2; } float Text::getHalfHeight() { ret...
27.68
77
0.715318
PotatoesBasket
d2e6b1e3c705995b04327d8d9b816ee922465249
18,645
cpp
C++
src/Backends/DirectX12/src/pipeline_layout.cpp
jayrulez/LiteFX
482480fee96dd80c73356cd6898ea0e0544ac09d
[ "MIT" ]
8
2021-06-23T09:04:10.000Z
2022-02-06T19:01:21.000Z
src/Backends/DirectX12/src/pipeline_layout.cpp
jayrulez/LiteFX
482480fee96dd80c73356cd6898ea0e0544ac09d
[ "MIT" ]
29
2021-06-23T13:59:54.000Z
2021-08-03T14:12:59.000Z
src/Backends/DirectX12/src/pipeline_layout.cpp
jayrulez/LiteFX
482480fee96dd80c73356cd6898ea0e0544ac09d
[ "MIT" ]
1
2021-10-30T18:44:02.000Z
2021-10-30T18:44:02.000Z
#include <litefx/backends/dx12.hpp> using namespace LiteFX::Rendering::Backends; // ------------------------------------------------------------------------------------------------ // Implementation. // ------------------------------------------------------------------------------------------------ class DirectX12Pi...
53.119658
315
0.708769
jayrulez
d2e80fe77b848fe7bdb89d88b275930c077f790d
5,681
cpp
C++
lib/src/BoxTools/MergeBoxesOnLines.cpp
rmrsk/Chombo-3.3
f2119e396460c1bb19638effd55eb71c2b35119e
[ "BSD-3-Clause-LBNL" ]
10
2018-02-01T20:57:36.000Z
2022-03-17T02:57:49.000Z
lib/src/BoxTools/MergeBoxesOnLines.cpp
rmrsk/Chombo-3.3
f2119e396460c1bb19638effd55eb71c2b35119e
[ "BSD-3-Clause-LBNL" ]
19
2018-10-04T21:37:18.000Z
2022-02-25T16:20:11.000Z
lib/src/BoxTools/MergeBoxesOnLines.cpp
rmrsk/Chombo-3.3
f2119e396460c1bb19638effd55eb71c2b35119e
[ "BSD-3-Clause-LBNL" ]
11
2019-01-12T23:33:32.000Z
2021-08-09T15:19:50.000Z
#ifdef CH_LANG_CC /* * _______ __ * / ___/ / ___ __ _ / / ___ * / /__/ _ \/ _ \/ V \/ _ \/ _ \ * \___/_//_/\___/_/_/_/_.__/\___/ * Please refer to Copyright.txt, in Chombo's root directory. */ #endif // Merge boxes on lines class // this is used for line solves with AMR // ---...
36.184713
107
0.400458
rmrsk
d2e81e109e75901802a4e630a4032e89a93539ce
252
cpp
C++
CodeChef/NSIT13.cpp
raghavdubey/CP-Guide
57458ed3ec5339defa2796ce0be2da707f66c1ec
[ "MIT" ]
3
2017-10-09T08:50:54.000Z
2017-11-01T02:28:15.000Z
CodeChef/NSIT13.cpp
raghavdubey/CP-Guide
57458ed3ec5339defa2796ce0be2da707f66c1ec
[ "MIT" ]
7
2017-10-09T08:39:06.000Z
2017-10-20T22:25:00.000Z
CodeChef/NSIT13.cpp
raghavdubey/CP-Guide
57458ed3ec5339defa2796ce0be2da707f66c1ec
[ "MIT" ]
8
2017-10-09T08:51:44.000Z
2018-10-01T11:01:07.000Z
#include<iostream> using namespace std; int main(){ for(int k=0;k<10;k++){ int a; int h[42]={0},i=0,c=0; do{ cin>>a; h[a%42]=1; i++; }while(i<10); for(int j=0;j<42;j++){ if(h[j]==1) c++; } cout<<c<<endl; } return 0; }
12
26
0.47619
raghavdubey
d2eb14b88dbc2911119175373208cf8499dcd149
594
cpp
C++
Common/Packets/CGPackUpPacket.cpp
hackerlank/SourceCode
b702c9e0a9ca5d86933f3c827abb02a18ffc9a59
[ "MIT" ]
4
2021-07-31T13:56:01.000Z
2021-11-13T02:55:10.000Z
Common/Packets/CGPackUpPacket.cpp
shacojx/SourceCodeGameTLBB
e3cea615b06761c2098a05427a5f41c236b71bf7
[ "MIT" ]
null
null
null
Common/Packets/CGPackUpPacket.cpp
shacojx/SourceCodeGameTLBB
e3cea615b06761c2098a05427a5f41c236b71bf7
[ "MIT" ]
7
2021-08-31T14:34:23.000Z
2022-01-19T08:25:58.000Z
#include "stdafx.h" #include "CGPackUpPacket.h" BOOL CGPackUpPacket::Read( SocketInputStream& iStream ) { __ENTER_FUNCTION iStream.Read( (CHAR*)(&m_nConIndex), sizeof(INT) ) ; return TRUE ; __LEAVE_FUNCTION return FALSE ; } BOOL CGPackUpPacket::Write( SocketOutputStream& oStream )const { __ENTER_FUNCTION ...
13.2
62
0.737374
hackerlank
d2eb89ab00482a44b4817fe525a86c84403127ad
108
cpp
C++
contest/AtCoder/abc020/A.cpp
not522/Competitive-Programming
be4a7d25caf5acbb70783b12899474a56c34dedb
[ "Unlicense" ]
7
2018-04-14T14:55:51.000Z
2022-01-31T10:49:49.000Z
contest/AtCoder/abc020/A.cpp
not522/Competitive-Programming
be4a7d25caf5acbb70783b12899474a56c34dedb
[ "Unlicense" ]
5
2018-04-14T14:28:49.000Z
2019-05-11T02:22:10.000Z
contest/AtCoder/abc020/A.cpp
not522/Competitive-Programming
be4a7d25caf5acbb70783b12899474a56c34dedb
[ "Unlicense" ]
null
null
null
#include "template.hpp" int main() { setBoolName("ABC", "chokudai"); cout << (int(in) == 1) << endl; }
15.428571
33
0.564815
not522
d2edb5fbe164c0eafa22f083d1780ed9cb64d639
3,566
cpp
C++
runtime/collections/sets.cpp
Tarnyko/llvm-backend
96a81b5909f925d286ceb64def3ff9b4bcc5a97e
[ "BSD-3-Clause" ]
25
2018-08-01T16:45:58.000Z
2021-12-13T07:37:50.000Z
runtime/collections/sets.cpp
Tarnyko/llvm-backend
96a81b5909f925d286ceb64def3ff9b4bcc5a97e
[ "BSD-3-Clause" ]
165
2018-07-26T19:55:58.000Z
2022-02-09T16:39:32.000Z
runtime/collections/sets.cpp
Tarnyko/llvm-backend
96a81b5909f925d286ceb64def3ff9b4bcc5a97e
[ "BSD-3-Clause" ]
18
2018-08-18T06:00:53.000Z
2021-12-13T00:19:46.000Z
#include "runtime/header.h" #include "immer/flex_vector_transient.hpp" extern "C" { setiter set_iterator(set *set) { return setiter{set->begin(), set}; } block *set_iterator_next(setiter *iter) { if (iter->curr == iter->set->end()) { return nullptr; } return *(iter->curr++); } set hook_SET_element(SortK...
21.481928
66
0.59226
Tarnyko
d2ede1e10d5b4ca7d6e00b82596d334fc08c69ed
4,096
cc
C++
src/utils/data_source.cc
RReverser/libwebp2
c90b5b476004c9a98731ae1c175cebab5de50fbf
[ "Apache-2.0" ]
4
2020-11-10T17:46:57.000Z
2022-03-22T06:24:17.000Z
src/utils/data_source.cc
RReverser/libwebp2
c90b5b476004c9a98731ae1c175cebab5de50fbf
[ "Apache-2.0" ]
null
null
null
src/utils/data_source.cc
RReverser/libwebp2
c90b5b476004c9a98731ae1c175cebab5de50fbf
[ "Apache-2.0" ]
null
null
null
// Copyright 2019 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 ...
31.030303
80
0.662598
RReverser
d2f03a70d1da0765557ebb1b87b7658aea5768f3
1,973
cpp
C++
src/cond_comp_nominal.cpp
vitorcapdeville/fatcat
8b2998b340b12b859763cbbbf00d52b59031640d
[ "MIT" ]
null
null
null
src/cond_comp_nominal.cpp
vitorcapdeville/fatcat
8b2998b340b12b859763cbbbf00d52b59031640d
[ "MIT" ]
null
null
null
src/cond_comp_nominal.cpp
vitorcapdeville/fatcat
8b2998b340b12b859763cbbbf00d52b59031640d
[ "MIT" ]
null
null
null
// #include <Rcpp.h> // using namespace Rcpp; // // // This is a simple example of exporting a C++ function to R. You can // // source this function into an R session using the Rcpp::sourceCpp // // function (or via the Source button on the editor toolbar). Learn // // more about Rcpp at: // // // // http://www.rcpp....
27.788732
101
0.521034
vitorcapdeville
d2fa8a552fed0c757764fed0ff3c6bbf5d6dbec8
777
cpp
C++
Architecture/Component.cpp
RLst/Minity
8b4701e5cc343f2c86786c403c4775089de430a9
[ "Apache-2.0" ]
null
null
null
Architecture/Component.cpp
RLst/Minity
8b4701e5cc343f2c86786c403c4775089de430a9
[ "Apache-2.0" ]
null
null
null
Architecture/Component.cpp
RLst/Minity
8b4701e5cc343f2c86786c403c4775089de430a9
[ "Apache-2.0" ]
null
null
null
namespace Minity { class GameObject; class Component : public Object { protected: GameObject* m_gameObject; //The game object this component is attached to. A component is always attached to a game object. Should be set when the component is created Transform* m_transform; //Cached transform component that i...
21
169
0.684685
RLst
d2fb482d02608e1fa444ea47c8638df20ef573a5
416
cpp
C++
codeforces/800/431A-BlackSquare.cpp
thesaravanakumar/competative-programming
828b9973bbd90945d6edf3719dc2d29213acc3a5
[ "MIT" ]
null
null
null
codeforces/800/431A-BlackSquare.cpp
thesaravanakumar/competative-programming
828b9973bbd90945d6edf3719dc2d29213acc3a5
[ "MIT" ]
null
null
null
codeforces/800/431A-BlackSquare.cpp
thesaravanakumar/competative-programming
828b9973bbd90945d6edf3719dc2d29213acc3a5
[ "MIT" ]
null
null
null
/*●▬▬▬▬▬๑۩۩๑▬▬▬▬●●▬▬▬▬▬๑۩۩๑▬▬▬▬●🆀🆄🅰🅺🅴●▬▬▬▬▬๑۩۩๑▬▬▬▬●●▬▬▬▬▬๑۩۩๑▬▬▬▬●*/ #include <bits/stdc++.h> using namespace std; int main() { int a[5], sum = 0; for (int i = 1; i < 5; i++) cin >> a[i]; string s; cin >> s; for (int i = 0; i < s.size(); i++) { sum += a[s[i] - '0']; } ...
23.111111
69
0.307692
thesaravanakumar
d2fc6e6ce0dd7194e3ad94df3b72398e9329454d
1,329
hpp
C++
src/cld/Frontend/Compiler/CustomDiag.hpp
zero9178/cld
2899ade8045074c5ee939253d2d7f8067c46e72d
[ "MIT" ]
14
2020-10-16T08:29:32.000Z
2021-12-21T10:37:05.000Z
src/cld/Frontend/Compiler/CustomDiag.hpp
zero9178/cld
2899ade8045074c5ee939253d2d7f8067c46e72d
[ "MIT" ]
null
null
null
src/cld/Frontend/Compiler/CustomDiag.hpp
zero9178/cld
2899ade8045074c5ee939253d2d7f8067c46e72d
[ "MIT" ]
null
null
null
#pragma once #include <cld/Support/IntrVarValue.hpp> #include <cld/Support/Text.hpp> #include <type_traits> namespace cld { class SourceInterface; namespace diag { template <class T> struct StringConverter { static std::string inFormat(const T& arg, const SourceInterface*) { return cld::to_string(ar...
21.435484
101
0.65839
zero9178
d2fc8cfb4fefb9f30c446b9f6fc7e1e0c8df2b70
1,954
hpp
C++
src/CGameEntity.hpp
gwtjxyz/bomberman
4ff91e6f1843623a1d71f2e42650845d1bcb0e0b
[ "MIT" ]
null
null
null
src/CGameEntity.hpp
gwtjxyz/bomberman
4ff91e6f1843623a1d71f2e42650845d1bcb0e0b
[ "MIT" ]
null
null
null
src/CGameEntity.hpp
gwtjxyz/bomberman
4ff91e6f1843623a1d71f2e42650845d1bcb0e0b
[ "MIT" ]
null
null
null
#pragma once #include <utility> #include "CConstants.hpp" /** * base entity class; has position and display character as attributes * * */ class CGameEntity { public: /** * default constructor */ CGameEntity() = default; /** * default destructor */ virtual ~CGameEntity() = defa...
26.053333
107
0.59826
gwtjxyz
d2fe9a9393c180bbc42a2f09f3cb65456653d915
1,861
hpp
C++
include/DynamicSystems/DynamicSystem.hpp
e2e4b6b7/dynsys
152a56c23ad4df6273cb961dd57a2247ca385390
[ "MIT" ]
35
2020-09-04T18:37:53.000Z
2022-03-05T10:33:01.000Z
include/DynamicSystems/DynamicSystem.hpp
e2e4b6b7/dynsys
152a56c23ad4df6273cb961dd57a2247ca385390
[ "MIT" ]
1
2020-03-08T16:54:07.000Z
2020-03-08T16:54:07.000Z
include/DynamicSystems/DynamicSystem.hpp
e2e4b6b7/dynsys
152a56c23ad4df6273cb961dd57a2247ca385390
[ "MIT" ]
4
2020-09-08T04:46:18.000Z
2022-02-21T00:52:14.000Z
#pragma once #include <vector> #include <string> #include <array> #include <functional> #include "Model/Model.hpp" #include "DynamicSystems/Impl/DynamicSystemInternal.hpp" namespace DynamicSystems { template<typename LambdaNewPointAction> class DynamicSystem; template<typename LambdaNewPointAction> std::vector<...
30.508197
105
0.695325
e2e4b6b7
960b960c34d64a6d1a11332a1168110101e96cf4
33,830
cpp
C++
src/compiler.cpp
giag3/peng-utils
f0883ffbf3b422de2e0ea326861114b1f5809037
[ "MIT" ]
1
2022-03-28T11:20:50.000Z
2022-03-28T11:20:50.000Z
src/compiler.cpp
giag3/peng-utils
f0883ffbf3b422de2e0ea326861114b1f5809037
[ "MIT" ]
null
null
null
src/compiler.cpp
giag3/peng-utils
f0883ffbf3b422de2e0ea326861114b1f5809037
[ "MIT" ]
null
null
null
#include "vars.hpp" #include "error_handler/error_handler.hpp" #include "compiler/compiler.hpp" #include "compiler/nclass.hpp" #include "compiler/method.hpp" #include "compiler/variable.hpp" #include "compiler/assembly_shortcuts.hpp" // The externed object files needed (library) std::vector<std::string> object_files; ...
33.628231
265
0.563051
giag3
96131821fc3d8aae7c9b35d6e2a86a54091ade06
1,486
cpp
C++
ICPC/PrimeraFecha2021/pf21/C.cpp
CaDe27/Co-digos
9eea1dbf6ed06fd115391328c0a2481029c83fc0
[ "MIT" ]
null
null
null
ICPC/PrimeraFecha2021/pf21/C.cpp
CaDe27/Co-digos
9eea1dbf6ed06fd115391328c0a2481029c83fc0
[ "MIT" ]
null
null
null
ICPC/PrimeraFecha2021/pf21/C.cpp
CaDe27/Co-digos
9eea1dbf6ed06fd115391328c0a2481029c83fc0
[ "MIT" ]
null
null
null
#include <iostream> #include <algorithm> #include <stdio.h> #include <string> #include <vector> #include <map> #include <math.h> #include <numeric> #include <queue> #include <stack> #include <utility> #include <queue> #include <set> #include <iomanip> using namespace std; typedef int64_t ll; typedef pair<int,ll> pil...
18.810127
71
0.553836
CaDe27
9615822e02423d94b2c102dfa6e7551c59fee3cc
699
hpp
C++
include/RED4ext/Types/generated/quest/ObjectDistance.hpp
Cyberpunk-Extended-Development-Team/RED4ext.SDK
2dc828c761d87a1b4235ce9ca4fbdf9fb4312fae
[ "MIT" ]
1
2021-02-01T23:07:50.000Z
2021-02-01T23:07:50.000Z
include/RED4ext/Types/generated/quest/ObjectDistance.hpp
Cyberpunk-Extended-Development-Team/RED4ext.SDK
2dc828c761d87a1b4235ce9ca4fbdf9fb4312fae
[ "MIT" ]
null
null
null
include/RED4ext/Types/generated/quest/ObjectDistance.hpp
Cyberpunk-Extended-Development-Team/RED4ext.SDK
2dc828c761d87a1b4235ce9ca4fbdf9fb4312fae
[ "MIT" ]
null
null
null
#pragma once // This file is generated from the Game's Reflection data #include <cstdint> #include <RED4ext/Common.hpp> #include <RED4ext/REDhash.hpp> #include <RED4ext/Types/generated/game/EntityReference.hpp> #include <RED4ext/Types/generated/quest/IDistance.hpp> namespace RED4ext { namespace quest { struct Objec...
25.888889
62
0.738197
Cyberpunk-Extended-Development-Team
96159aaf3bd5dfe6dc4062408eba8ff4b953fc4e
655
cpp
C++
Wilsonville/src/Subsystems/Gears.cpp
SteelRidgeRobotics/Steamworks
395c88294da0bd3426b0c886e7fbbb887ffdce8c
[ "BSD-2-Clause" ]
null
null
null
Wilsonville/src/Subsystems/Gears.cpp
SteelRidgeRobotics/Steamworks
395c88294da0bd3426b0c886e7fbbb887ffdce8c
[ "BSD-2-Clause" ]
null
null
null
Wilsonville/src/Subsystems/Gears.cpp
SteelRidgeRobotics/Steamworks
395c88294da0bd3426b0c886e7fbbb887ffdce8c
[ "BSD-2-Clause" ]
null
null
null
#include "Gears.h" #include "LiveWindow/LiveWindow.h" Gears::Gears() : frc::Subsystem("Gears") { // DECLARATIONS LiveWindow::GetInstance()->AddActuator("Gears", "gearactuator", &gearactuator); } void Gears::InitDefaultCommand() { // Set the default command for a subsystem here. // SetDefaultCommand(...
19.848485
80
0.720611
SteelRidgeRobotics
9616d0c980755d0161245e8e6ceb091dacbb8681
59
hpp
C++
src/boost_mpl_aux__preprocessed_msvc60_equal_to.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
10
2018-03-17T00:58:42.000Z
2021-07-06T02:48:49.000Z
src/boost_mpl_aux__preprocessed_msvc60_equal_to.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
2
2021-03-26T15:17:35.000Z
2021-05-20T23:55:08.000Z
src/boost_mpl_aux__preprocessed_msvc60_equal_to.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
4
2019-05-28T21:06:37.000Z
2021-07-06T03:06:52.000Z
#include <boost/mpl/aux_/preprocessed/msvc60/equal_to.hpp>
29.5
58
0.813559
miathedev
961bff6a2e87dcc17a07dcaed9d6108b41605f5a
5,326
cpp
C++
src/codeviewtab.cpp
mundak/gede
5f175dffbeba3edd2d19a645e45d194d706616a4
[ "BSD-2-Clause" ]
null
null
null
src/codeviewtab.cpp
mundak/gede
5f175dffbeba3edd2d19a645e45d194d706616a4
[ "BSD-2-Clause" ]
null
null
null
src/codeviewtab.cpp
mundak/gede
5f175dffbeba3edd2d19a645e45d194d706616a4
[ "BSD-2-Clause" ]
null
null
null
/* * Copyright (C) 2014-2017 Johan Henriksson. * All rights reserved. * * This software may be modified and distributed under the terms * of the BSD license. See the LICENSE file for details. */ #include "codeviewtab.h" #include "config.h" #include "log.h" #include "util.h" #include <QFile> #include <QScrollB...
24.88785
105
0.668795
mundak
96200301391c8ca7a0e18dbc50c0e3ca06ab92fe
11,796
cpp
C++
OpenGL/Camera Part3/Source/Main.cpp
Allenjonesing/tutorials
c729fdd655130b021ec7ca9b619e147ae636cfa5
[ "MIT" ]
367
2015-01-12T22:43:04.000Z
2022-03-31T02:03:27.000Z
OpenGL/Camera Part3/Source/Main.cpp
uag515/tutorials
c729fdd655130b021ec7ca9b619e147ae636cfa5
[ "MIT" ]
3
2016-04-17T06:02:01.000Z
2019-01-20T16:07:53.000Z
OpenGL/Camera Part3/Source/Main.cpp
uag515/tutorials
c729fdd655130b021ec7ca9b619e147ae636cfa5
[ "MIT" ]
212
2015-01-14T14:13:34.000Z
2022-03-04T01:08:41.000Z
//***********************************************************************// // // // - "Talk to me like I'm a 3 year old!" Programming Lessons - // // // // $Program: Camera Part 3 // // // // $Desc...
44.014925
123
0.670905
Allenjonesing
9626945d7bf0723056afd6689df284a7b26f9d0f
21,824
cpp
C++
Crop source/gas_exchange.cpp
ARS-CSGCL-DT/MAIZSIM
87384982398595f711874a5f4a2b53ee3257b2cd
[ "Unlicense" ]
9
2015-11-10T05:23:35.000Z
2021-01-27T20:02:03.000Z
Crop source/gas_exchange.cpp
ARS-CSGCL-DT/MAIZSIM
87384982398595f711874a5f4a2b53ee3257b2cd
[ "Unlicense" ]
6
2016-02-11T18:22:32.000Z
2022-03-30T19:42:00.000Z
Crop source/gas_exchange.cpp
ARS-CSGCL-DT/MAIZSIM
87384982398595f711874a5f4a2b53ee3257b2cd
[ "Unlicense" ]
7
2015-11-10T05:23:36.000Z
2022-02-17T06:39:40.000Z
//Coupled model of photosynthesis-stomatal conductance-energy balance for a maize leaf // this unit simulates Maize leaf gas-exchange characteristics // including photosynthesis, traspiration, boundary and stomatal conductances, // and leaf temperature based on von Caemmerer (2000) C4 model, BWB stomatal // conductance...
37.954783
233
0.681956
ARS-CSGCL-DT
962b58969d2d4872bec86909616968cafbb420ec
1,661
cpp
C++
src/neo/inflate.cpp
vector-of-bool/neo-compress
2bb629da7aefb968d9f169e06e30558251cddd1b
[ "BSL-1.0" ]
7
2020-09-03T13:49:00.000Z
2020-10-28T08:29:49.000Z
src/neo/inflate.cpp
vector-of-bool/neo-compress
2bb629da7aefb968d9f169e06e30558251cddd1b
[ "BSL-1.0" ]
null
null
null
src/neo/inflate.cpp
vector-of-bool/neo-compress
2bb629da7aefb968d9f169e06e30558251cddd1b
[ "BSL-1.0" ]
1
2021-02-25T19:57:11.000Z
2021-02-25T19:57:11.000Z
#include "./inflate.hpp" #include <zlib.h> using namespace std::literals; using namespace neo; #define MY_Z_STATE (*static_cast<::z_stream*>(_z_stream_ptr)) /** * Initialize the state for tinfl. */ neo::inflate_decompressor::inflate_decompressor(inflate_decompressor::allocator_type alloc) noexcept : compressi...
32.568627
100
0.608669
vector-of-bool
962e92f1268786fca6118fd639e943b854e5e9b9
758
hpp
C++
lib/evmone/vm.hpp
vorot93/evmone
0c1685e17e38f092fd24b101e7a1c47b4da0f14b
[ "Apache-2.0" ]
364
2019-06-15T22:47:08.000Z
2022-03-31T10:28:03.000Z
evmwrap/evmone.release/vm.hpp
1Crazymoney/moeingevm
4e2cc934577ce5b3db1d4b79b206ab214c58be9a
[ "Apache-2.0" ]
318
2019-06-10T08:20:39.000Z
2022-03-31T13:13:50.000Z
evmwrap/evmone.release/vm.hpp
1Crazymoney/moeingevm
4e2cc934577ce5b3db1d4b79b206ab214c58be9a
[ "Apache-2.0" ]
118
2019-07-11T11:06:32.000Z
2022-03-29T20:51:53.000Z
// evmone: Fast Ethereum Virtual Machine implementation // Copyright 2021 The evmone Authors. // SPDX-License-Identifier: Apache-2.0 #pragma once #include "tracing.hpp" #include <evmc/evmc.h> namespace evmone { /// The evmone EVMC instance. class VM : public evmc_vm { std::unique_ptr<Tracer> m_first_tracer; publ...
24.451613
86
0.667546
vorot93
962f22a56ade20ac7ed7aacc75f40e4b1f238cf1
4,045
cpp
C++
src/test/bitcoin_main_tests.cpp
gabriel-eiger/bitcredit
4f8306d98116420e7e80008426006e9fd23ee7db
[ "MIT" ]
1
2015-04-23T04:45:46.000Z
2015-04-23T04:45:46.000Z
src/test/bitcoin_main_tests.cpp
gabriel-eiger/bitcredit
4f8306d98116420e7e80008426006e9fd23ee7db
[ "MIT" ]
null
null
null
src/test/bitcoin_main_tests.cpp
gabriel-eiger/bitcredit
4f8306d98116420e7e80008426006e9fd23ee7db
[ "MIT" ]
null
null
null
// Copyright (c) 2014 The Bitcoin Core developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "bitcoin_core.h" #include "bitcoin_main.h" #include <boost/test/unit_test.hpp> BOOST_AUTO_TEST_SUITE(bitcoin_main_t...
52.532468
229
0.797775
gabriel-eiger