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
22beb06fd41d6bdf985a1e5f93853dda9cf18408
1,781
cpp
C++
Day_90.cpp
iamakkkhil/DailyCoding
8422ddbcc2a179f3fd449871e2241ad94a845efb
[ "MIT" ]
8
2021-02-07T16:31:28.000Z
2021-06-11T18:53:23.000Z
Day_90.cpp
iamakkkhil/DailyCoding
8422ddbcc2a179f3fd449871e2241ad94a845efb
[ "MIT" ]
null
null
null
Day_90.cpp
iamakkkhil/DailyCoding
8422ddbcc2a179f3fd449871e2241ad94a845efb
[ "MIT" ]
1
2021-05-25T17:17:58.000Z
2021-05-25T17:17:58.000Z
/* DAY 90: Queue using two Stacks. https://www.geeksforgeeks.org/queue-using-stacks/ QUESTION : Implement a Queue using 2 stacks s1 and s2 . A Query Q is of 2 Types (i) 1 x (a query of this type means pushing 'x' into the queue) (ii) 2 (a query of this type means to pop element from queue and print the poped...
20.011236
92
0.590118
iamakkkhil
22bec18cbd71877d96e755c44e00553e11785b18
2,178
cpp
C++
oclint-rules/rules/convention/InvertedLogicRule.cpp
BGU-AiDnD/oclint
484fed44ca0e34532745b3d4f04124cbf5bb42fa
[ "BSD-3-Clause" ]
3,128
2015-01-01T06:00:31.000Z
2022-03-29T23:43:20.000Z
oclint-rules/rules/convention/InvertedLogicRule.cpp
BGU-AiDnD/oclint
484fed44ca0e34532745b3d4f04124cbf5bb42fa
[ "BSD-3-Clause" ]
432
2015-01-03T15:43:08.000Z
2022-03-29T02:32:48.000Z
oclint-rules/rules/convention/InvertedLogicRule.cpp
BGU-AiDnD/oclint
484fed44ca0e34532745b3d4f04124cbf5bb42fa
[ "BSD-3-Clause" ]
454
2015-01-06T03:11:12.000Z
2022-03-22T05:49:38.000Z
#include "oclint/AbstractASTVisitorRule.h" #include "oclint/RuleSet.h" using namespace std; using namespace clang; using namespace oclint; class InvertedLogicRule : public AbstractASTVisitorRule<InvertedLogicRule> { private: bool isInvertedLogic(Expr *condExpr) { BinaryOperator *binaryOperator = dyn_c...
23.934066
84
0.537649
BGU-AiDnD
42ef672c79b79129801f447209221d49f6662d0a
2,263
cpp
C++
src/kpr/TimerTaskManager.cpp
hooligan520/rocketmq-clent4cpp-linux
2f891c979229dfd78707150fa626ca3822f2d006
[ "Apache-2.0" ]
22
2017-02-17T14:28:17.000Z
2021-02-25T10:09:04.000Z
src/kpr/TimerTaskManager.cpp
hooligan520/rocketmq-clent4cpp-linux
2f891c979229dfd78707150fa626ca3822f2d006
[ "Apache-2.0" ]
2
2017-04-29T05:57:38.000Z
2017-11-20T03:49:48.000Z
src/kpr/TimerTaskManager.cpp
hooligan520/rocketmq-clent4cpp-linux
2f891c979229dfd78707150fa626ca3822f2d006
[ "Apache-2.0" ]
10
2017-02-08T03:06:57.000Z
2020-04-18T01:48:53.000Z
/** * Copyright (C) 2013 kangliqiang ,kangliq@163.com * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
24.597826
112
0.695095
hooligan520
42f060a507ace5f9dc44c2790a1b9437d42127ed
1,626
cpp
C++
src/Gui/Settings/SettingsWidget.cpp
AndrzejWoronko/WebPassWare
9af0df61a9279f1ffe8561714656265f4bec7939
[ "MIT" ]
null
null
null
src/Gui/Settings/SettingsWidget.cpp
AndrzejWoronko/WebPassWare
9af0df61a9279f1ffe8561714656265f4bec7939
[ "MIT" ]
null
null
null
src/Gui/Settings/SettingsWidget.cpp
AndrzejWoronko/WebPassWare
9af0df61a9279f1ffe8561714656265f4bec7939
[ "MIT" ]
null
null
null
#include "SettingsWidget.h" SettingsWidget::SettingsWidget(QWidget *parent) : QWidget (parent) { setGraphicElements(); setGraphicSettings(); setConnections(); } SettingsWidget::~SettingsWidget() { safe_delete(m_look_widget) safe_delete(m_database_widget) safe_delete(m_list) safe_delete(m_...
28.526316
122
0.735547
AndrzejWoronko
42f5d1312109441a9d02860cd74c28eed0da86c8
2,960
hpp
C++
ComponentFramework/SystemHandlerTemplate.hpp
autious/kravall_entity_component_framework
a4380ea9135c2ad7aac444c0d52837eb1a43319d
[ "MIT" ]
7
2015-06-21T20:23:12.000Z
2020-01-04T20:20:56.000Z
ComponentFramework/SystemHandlerTemplate.hpp
autious/kravall_entity_component_framework
a4380ea9135c2ad7aac444c0d52837eb1a43319d
[ "MIT" ]
null
null
null
ComponentFramework/SystemHandlerTemplate.hpp
autious/kravall_entity_component_framework
a4380ea9135c2ad7aac444c0d52837eb1a43319d
[ "MIT" ]
null
null
null
#ifndef SRC_CORE_COMPONENTFRAMEWORK_SYSTEMHANDLER_H #define SRC_CORE_COMPONENTFRAMEWORK_SYSTEMHANDLER_H #include "BaseSystem.hpp" #include "PVector.hpp" #include <TemplateUtility/TemplateIndex.hpp> #include <array> #include <utility> #include <vector> #include <Timer.hpp> #define GNAME( name ) #name namespace Co...
25.517241
131
0.556757
autious
42f82baaa8b1c4c175089148c6959535148f32b9
228,601
cpp
C++
GCG_Source.build/module.oauthlib.oauth2.rfc6749.grant_types.refresh_token.cpp
Pckool/GCG
cee786d04ea30f3995e910bca82635f442b2a6a8
[ "MIT" ]
null
null
null
GCG_Source.build/module.oauthlib.oauth2.rfc6749.grant_types.refresh_token.cpp
Pckool/GCG
cee786d04ea30f3995e910bca82635f442b2a6a8
[ "MIT" ]
null
null
null
GCG_Source.build/module.oauthlib.oauth2.rfc6749.grant_types.refresh_token.cpp
Pckool/GCG
cee786d04ea30f3995e910bca82635f442b2a6a8
[ "MIT" ]
null
null
null
/* Generated code for Python source for module 'oauthlib.oauth2.rfc6749.grant_types.refresh_token' * created by Nuitka version 0.5.28.2 * * This code is in part copyright 2017 Kay Hayen. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the L...
33.912031
278
0.708938
Pckool
42fd626ce7e61f29accaa7671597789e8a94f46f
7,529
cpp
C++
SharedUtility/MyOGL/MyOGLDynamicFontRects.cpp
sygh-JP/FbxModelViewer
690387451accd99f63e4385decc4cbbfea1c1603
[ "MIT" ]
12
2017-07-27T10:37:20.000Z
2021-12-12T02:07:44.000Z
SharedUtility/MyOGL/MyOGLDynamicFontRects.cpp
sygh-JP/FbxModelViewer
690387451accd99f63e4385decc4cbbfea1c1603
[ "MIT" ]
1
2018-02-22T20:32:38.000Z
2018-02-22T20:32:38.000Z
SharedUtility/MyOGL/MyOGLDynamicFontRects.cpp
sygh-JP/FbxModelViewer
690387451accd99f63e4385decc4cbbfea1c1603
[ "MIT" ]
4
2018-03-06T15:12:54.000Z
2020-10-01T22:53:47.000Z
#include "stdafx.h" #include "MyOGLDynamicFontRects.hpp" namespace MyOGL { bool MyDynamicManyRectsBase::Create(uint32_t rectCount, uint32_t strideInBytes, const void* pInitialData) { _ASSERTE(m_vertexBuffer.get() == 0); //_ASSERTE(pInitialData != nullptr); // OpenGL では D3D と違って頂点バッファ初期化用データに NULL も一...
41.368132
240
0.703148
sygh-JP
6e0233838b7f37894d460f2bfe5a8566d05f8eba
1,189
hh
C++
include/Attributes/StandardAttribute.hh
aaronbamberger/gerber_rs274x_parser
d2bbd6c66d322ab47715771642255f8302521300
[ "BSD-2-Clause" ]
6
2016-09-28T18:26:42.000Z
2021-04-10T13:19:05.000Z
include/Attributes/StandardAttribute.hh
aaronbamberger/gerber_rs274x_parser
d2bbd6c66d322ab47715771642255f8302521300
[ "BSD-2-Clause" ]
1
2021-02-09T00:24:04.000Z
2021-02-27T22:08:05.000Z
include/Attributes/StandardAttribute.hh
aaronbamberger/gerber_rs274x_parser
d2bbd6c66d322ab47715771642255f8302521300
[ "BSD-2-Clause" ]
5
2017-09-14T09:48:17.000Z
2021-07-19T07:58:34.000Z
/* * Copyright 2021 Aaron Bamberger * Licensed under BSD 2-clause license * See LICENSE file at root of source tree, * or https://opensource.org/licenses/BSD-2-Clause */ #ifndef _STANDARD_ATTRIBUTE_H #define _STANDARD_ATTRIBUTE_H #include "Attributes/Attribute.hh" #include "Util/ValueWithLocation.hh" #include <...
25.297872
84
0.827586
aaronbamberger
6e07ecf0b5b6d597eb132a6ed3f2aede8627d1c6
9,709
cpp
C++
src/mainwindow.cpp
AshBringer47/Graph
0f18f0989edc49e0ca11b16bc6d179e6cb0f4f95
[ "MIT" ]
2
2015-03-07T12:31:29.000Z
2017-08-31T03:15:21.000Z
src/mainwindow.cpp
AshBringer47/Graph
0f18f0989edc49e0ca11b16bc6d179e6cb0f4f95
[ "MIT" ]
null
null
null
src/mainwindow.cpp
AshBringer47/Graph
0f18f0989edc49e0ca11b16bc6d179e6cb0f4f95
[ "MIT" ]
6
2016-10-17T02:04:29.000Z
2019-10-13T21:12:39.000Z
#include "mainwindow.h" #include "ui_mainwindow.h" #include "algorithm/getallvertexlistinordervorker.h" #include "view/settings.h" #include <QFileDialog> #include <QUrl> #include <QMessageBox> #include "util/rand.h" MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), ui(new Ui::MainWindow) { ...
30.152174
132
0.639304
AshBringer47
6e08be03ac82cd7eb5635d5a38622565495d536b
424
cpp
C++
test/ac-library/segtree.min.test.cpp
sash2104/library
ecb52543e4f8a66300ffd8794ea9c13bc74bdb19
[ "Unlicense" ]
null
null
null
test/ac-library/segtree.min.test.cpp
sash2104/library
ecb52543e4f8a66300ffd8794ea9c13bc74bdb19
[ "Unlicense" ]
10
2020-01-27T15:57:45.000Z
2021-12-20T03:26:26.000Z
test/ac-library/segtree.min.test.cpp
sash2104/library
ecb52543e4f8a66300ffd8794ea9c13bc74bdb19
[ "Unlicense" ]
null
null
null
#define PROBLEM "http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=DSL_2_A" #include <iostream> #include "../../atcoder/segtree/min.hpp" using namespace std; // @title セグメント木、min (ac-library) int main() { int n, q; cin >> n >> q; segtree::min::type<int> seg(n); for (int i = 0; i < q; ++i) { int c, x,...
24.941176
82
0.570755
sash2104
6e09fa2515f524b3a4b661b90b8391205cc9dd67
983
cpp
C++
source/entity/Drain.cpp
Tomash667/carpg
7e89d83f51cb55a89baf509915a9a9f8c642825f
[ "MIT" ]
19
2015-05-30T12:14:07.000Z
2021-05-26T19:17:21.000Z
source/entity/Drain.cpp
Tomash667/carpg
7e89d83f51cb55a89baf509915a9a9f8c642825f
[ "MIT" ]
402
2016-02-26T08:39:21.000Z
2021-07-06T16:47:16.000Z
source/entity/Drain.cpp
Tomash667/carpg
7e89d83f51cb55a89baf509915a9a9f8c642825f
[ "MIT" ]
21
2015-07-28T14:11:39.000Z
2020-12-11T07:54:09.000Z
#include "Pch.h" #include "Drain.h" #include "Unit.h" #include <ParticleSystem.h> //================================================================================================= bool Drain::Update(float dt) { t += dt; if(pe->manual_delete == 2) { delete pe; return true; } if(Unit* unit = target) { ...
18.903846
99
0.417091
Tomash667
6e0a177518fa95590055e0ff0956db84506214e0
26,704
cpp
C++
Src/Assets/Mitsuba/MitsubaLoader.cpp
dennis-lynch/GPU-Raytracer
93eb8cfb148ca54d4e5655c63bf32f32d0d3bd9e
[ "MIT" ]
null
null
null
Src/Assets/Mitsuba/MitsubaLoader.cpp
dennis-lynch/GPU-Raytracer
93eb8cfb148ca54d4e5655c63bf32f32d0d3bd9e
[ "MIT" ]
null
null
null
Src/Assets/Mitsuba/MitsubaLoader.cpp
dennis-lynch/GPU-Raytracer
93eb8cfb148ca54d4e5655c63bf32f32d0d3bd9e
[ "MIT" ]
null
null
null
#include "MitsubaLoader.h" #include <string.h> #include <stdio.h> #include <stdlib.h> #include "Core/Array.h" #include "Core/HashMap.h" #include "Core/Format.h" #include "Core/Parser.h" #include "Core/StringView.h" #include "Assets/BVHLoader.h" #include "Assets/OBJLoader.h" #include "Assets/PLYLoader.h" #include "R...
38.645441
191
0.688586
dennis-lynch
6e15f02e9829b9cf7c214485ba63634a9445fd68
45,024
hpp
C++
Libs/jsoncons/include/jsoncons_ext/jsonpath/jsonpath_filter.hpp
Samuel-Harden/SimWorldsBoids
ae560181aa77bde75adc4ab2687952d919b4e988
[ "MIT" ]
null
null
null
Libs/jsoncons/include/jsoncons_ext/jsonpath/jsonpath_filter.hpp
Samuel-Harden/SimWorldsBoids
ae560181aa77bde75adc4ab2687952d919b4e988
[ "MIT" ]
null
null
null
Libs/jsoncons/include/jsoncons_ext/jsonpath/jsonpath_filter.hpp
Samuel-Harden/SimWorldsBoids
ae560181aa77bde75adc4ab2687952d919b4e988
[ "MIT" ]
null
null
null
// Copyright 2013 Daniel Parker // Distributed under the Boost license, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) // See https://github.com/danielaparker/jsoncons for latest version #ifndef JSONCONS_JSONPATH_FILTER_HPP #define JSONCONS_JSONPATH_FILTER_HPP ...
30.076152
128
0.427172
Samuel-Harden
6e15f4a68a455b18d41e30fc01dab5c134fd3a9d
216
cpp
C++
src/rynx/tech/reflection.cpp
Apodus/rynx
3e1babc2f2957702ba2b09d78be3a959f2f4ea18
[ "MIT" ]
11
2019-08-19T08:44:14.000Z
2020-09-22T20:04:46.000Z
src/rynx/tech/reflection.cpp
Apodus/rynx
3e1babc2f2957702ba2b09d78be3a959f2f4ea18
[ "MIT" ]
null
null
null
src/rynx/tech/reflection.cpp
Apodus/rynx
3e1babc2f2957702ba2b09d78be3a959f2f4ea18
[ "MIT" ]
null
null
null
#include <rynx/tech/reflection.hpp> namespace rynx::reflection::internal { registration_object* global_linked_list_initializer_head = nullptr; registration_object* global_linked_list_initializer_tail = nullptr; }
30.857143
68
0.837963
Apodus
6e1636d1ea96946231d627d9212c2f85697003b9
584
cpp
C++
Day-15/Day-15-CodeForces/227-B-EffectiveApproach.cpp
LawranceMichaelite/100-Days-of-Code
de80015c2ab7c94956d4fe39f6e143627cdd7bc9
[ "Apache-2.0" ]
null
null
null
Day-15/Day-15-CodeForces/227-B-EffectiveApproach.cpp
LawranceMichaelite/100-Days-of-Code
de80015c2ab7c94956d4fe39f6e143627cdd7bc9
[ "Apache-2.0" ]
null
null
null
Day-15/Day-15-CodeForces/227-B-EffectiveApproach.cpp
LawranceMichaelite/100-Days-of-Code
de80015c2ab7c94956d4fe39f6e143627cdd7bc9
[ "Apache-2.0" ]
null
null
null
#include<bits/stdc++.h> using namespace std; int main() { unordered_map<int , int>one; unordered_multimap<int,int>two; int num ; cin >> num; int temp ; for(int i= 0 ; i < num ; i++) { cin >> temp ; one.insert(make_pair(temp ,i)); two.insert(make_pair(temp, i)); } int q; ...
18.25
50
0.506849
LawranceMichaelite
6e1922c98d47293a8a4193f5994b49955608852c
10,256
cpp
C++
test/rix/core/helpers/src/Textures.cpp
asuessenbach/pipeline
2e49968cc3b9948a57f7ee6c4cc3258925c92ab2
[ "BSD-3-Clause" ]
217
2015-01-06T09:26:53.000Z
2022-03-23T14:03:18.000Z
test/rix/core/helpers/src/Textures.cpp
asuessenbach/pipeline
2e49968cc3b9948a57f7ee6c4cc3258925c92ab2
[ "BSD-3-Clause" ]
10
2015-01-25T12:42:05.000Z
2017-11-28T16:10:16.000Z
test/rix/core/helpers/src/Textures.cpp
asuessenbach/pipeline
2e49968cc3b9948a57f7ee6c4cc3258925c92ab2
[ "BSD-3-Clause" ]
44
2015-01-13T01:19:41.000Z
2022-02-21T21:35:08.000Z
// Copyright NVIDIA Corporation 2012 // 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 and the following d...
40.698413
161
0.579076
asuessenbach
6e1bfe314c1a6b3c6c098d2846ab7c1476252146
236
hpp
C++
wfc/logger.hpp
mambaru/wfc
170bf87302487c0cedc40b47c84447a765894774
[ "MIT" ]
1
2018-10-18T10:15:53.000Z
2018-10-18T10:15:53.000Z
wfc/logger.hpp
mambaru/wfc
170bf87302487c0cedc40b47c84447a765894774
[ "MIT" ]
7
2019-12-04T23:36:03.000Z
2021-04-21T12:37:07.000Z
wfc/logger.hpp
mambaru/wfc
170bf87302487c0cedc40b47c84447a765894774
[ "MIT" ]
null
null
null
// // Author: Vladimir Migashko <migashko@gmail.com>, (C) 2013-2015 // // Copyright: See COPYING file that comes with this distribution // #pragma once #include <wfc/logger/logger.hpp> namespace wfc { using ::wlog::only_for_log; }
15.733333
64
0.707627
mambaru
6e1e22d26093e587114dd69b7c5c796891fac952
3,352
cpp
C++
hangman.cpp
AfaanBilal/hangman
f1b50e48039a26f25d2046dd8f209b3117e58c35
[ "MIT" ]
1
2020-01-04T19:38:26.000Z
2020-01-04T19:38:26.000Z
hangman.cpp
AfaanBilal/hangman
f1b50e48039a26f25d2046dd8f209b3117e58c35
[ "MIT" ]
null
null
null
hangman.cpp
AfaanBilal/hangman
f1b50e48039a26f25d2046dd8f209b3117e58c35
[ "MIT" ]
null
null
null
/* Hangman (c) Afaan Bilal Play hangman! */ #include <iostream> #include <stdio.h> #include <conio.h> #include <stdlib.h> #include <time.h> #include <string> #include <fstream> using namespace std; const int numWords = 50; string wordlist[numWords]; string input; size_t f; int sel = 0; int maxTries = 10; int...
22.346667
85
0.406026
AfaanBilal
6e24d37d9c5ac8ee13ad5e9a1b113c7fd9b0eedb
8,285
hxx
C++
libbuild2/script/parser.hxx
build2/build2
af662849b756ef2ff0f3d5148a6771acab78fd80
[ "MIT" ]
422
2018-05-30T12:00:00.000Z
2022-03-29T07:29:56.000Z
libbuild2/script/parser.hxx
build2/build2
af662849b756ef2ff0f3d5148a6771acab78fd80
[ "MIT" ]
183
2018-07-02T20:38:30.000Z
2022-03-31T09:54:35.000Z
libbuild2/script/parser.hxx
build2/build2
af662849b756ef2ff0f3d5148a6771acab78fd80
[ "MIT" ]
14
2019-01-09T12:34:02.000Z
2021-03-16T09:10:53.000Z
// file : libbuild2/script/parser.hxx -*- C++ -*- // license : MIT; see accompanying LICENSE file #ifndef LIBBUILD2_SCRIPT_PARSER_HXX #define LIBBUILD2_SCRIPT_PARSER_HXX #include <libbuild2/types.hxx> #include <libbuild2/forward.hxx> #include <libbuild2/utility.hxx> #include <libbuild2/parser.hxx> #include <l...
34.665272
79
0.595413
build2
6e25735d9d1090bac9cc52f7c1ee1d1619a595ac
834
hpp
C++
src/FeatureExtraction.hpp
Trojahn/BackShotCoSS
cf0b996720612ab4bb1b579701f50e8cdd14f2c3
[ "MIT" ]
1
2021-04-01T23:00:10.000Z
2021-04-01T23:00:10.000Z
src/FeatureExtraction.hpp
Trojahn/BackShotCoSS
cf0b996720612ab4bb1b579701f50e8cdd14f2c3
[ "MIT" ]
null
null
null
src/FeatureExtraction.hpp
Trojahn/BackShotCoSS
cf0b996720612ab4bb1b579701f50e8cdd14f2c3
[ "MIT" ]
2
2016-08-27T17:29:27.000Z
2018-11-05T02:10:45.000Z
#ifndef FEATUREEXTRACTION_H #define FEATUREEXTRACTION_H #include "opencv2/core.hpp" #include "opencv2/imgproc.hpp" #include "opencv2/highgui.hpp" #include <iostream> #include <sstream> #include <string> #include <fstream> #include <iomanip> #include <sys/types.h> #include <sys/stat.h> #include <unistd.h> #include <cma...
21.947368
102
0.747002
Trojahn
6e294a0debd6730c77212cc53db0ebf86335b103
2,178
hpp
C++
src/include/randest/ks_test.hpp
renegat96/randest
29449ff61398526cc1b88a1f003ed8fddef14693
[ "MIT" ]
null
null
null
src/include/randest/ks_test.hpp
renegat96/randest
29449ff61398526cc1b88a1f003ed8fddef14693
[ "MIT" ]
null
null
null
src/include/randest/ks_test.hpp
renegat96/randest
29449ff61398526cc1b88a1f003ed8fddef14693
[ "MIT" ]
null
null
null
/* * Kolmogorov-Smirnov goodness-of-fit test. * H_0 the data follow a specified distribution * H_a the data do not follow the specified distribution * D = max (F(Y_i) - * */ #pragma once #include <functional> #include <randest/test.hpp> #include <randest/data_provider.hpp> #include <randest/data_sort.hpp...
27.923077
107
0.556933
renegat96
6e2c5d22fbd5e41daabc748c5eb43e2e1c6679a6
2,310
cpp
C++
backends/graphs/graphs.cpp
srivani/p4c
6891448af6834c0798350f4b2a7c54ad3532148e
[ "Apache-2.0" ]
487
2016-12-22T03:33:27.000Z
2022-03-29T06:36:45.000Z
backends/graphs/graphs.cpp
srivani/p4c
6891448af6834c0798350f4b2a7c54ad3532148e
[ "Apache-2.0" ]
2,114
2016-12-18T11:36:27.000Z
2022-03-31T22:33:23.000Z
backends/graphs/graphs.cpp
srivani/p4c
6891448af6834c0798350f4b2a7c54ad3532148e
[ "Apache-2.0" ]
456
2016-12-20T14:01:11.000Z
2022-03-30T19:26:05.000Z
/* Copyright 2013-present Barefoot Networks, Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in w...
32.535211
87
0.687446
srivani
6e305f319f9aba9b5e4c1ccdb60f56d5fe3f74bc
1,392
cpp
C++
Leetcode Daily Challenge/May-2021/27. Maximum Product of Word Lengths.cpp
Akshad7829/DataStructures-Algorithms
439822c6a374672d1734e2389d3fce581a35007d
[ "MIT" ]
5
2021-08-10T18:47:49.000Z
2021-08-21T15:42:58.000Z
Leetcode Daily Challenge/May-2021/27. Maximum Product of Word Lengths.cpp
Akshad7829/DataStructures-Algorithms
439822c6a374672d1734e2389d3fce581a35007d
[ "MIT" ]
2
2022-02-25T13:36:46.000Z
2022-02-25T14:06:44.000Z
Leetcode Daily Challenge/May-2021/27. Maximum Product of Word Lengths.cpp
Akshad7829/DataStructures-Algorithms
439822c6a374672d1734e2389d3fce581a35007d
[ "MIT" ]
1
2021-08-11T06:36:42.000Z
2021-08-11T06:36:42.000Z
/* Maximum Product of Word Lengths ==================================== Given a string array words, return the maximum value of length(word[i]) * length(word[j]) where the two words do not share common letters. If no such two words exist, return 0. Example 1: Input: words = ["abcw","baz","foo","bar","xtfn","abcdef"] ...
23.2
176
0.538793
Akshad7829
6e36a0342a3c3168b494244b86008946b851782f
4,329
cpp
C++
src/GC/Circuit.cpp
GPikra/python-smpc-wrapper-importer
43a8945e63f7c8996da699dae0a9f9240084214f
[ "BSD-2-Clause" ]
3
2019-08-10T10:03:15.000Z
2020-05-20T03:53:40.000Z
src/GC/Circuit.cpp
GPikra/python-smpc-wrapper-importer
43a8945e63f7c8996da699dae0a9f9240084214f
[ "BSD-2-Clause" ]
6
2019-06-10T13:20:34.000Z
2019-07-10T17:28:52.000Z
src/GC/Circuit.cpp
athenarc/SCALE-MAMBA
18fa886d820bec7e441448357b8f09e2be0e7c9e
[ "BSD-2-Clause" ]
null
null
null
/* Copyright (c) 2017, The University of Bristol, Senate House, Tyndall Avenue, Bristol, BS8 1TH, United Kingdom. Copyright (c) 2018, COSIC-KU Leuven, Kasteelpark Arenberg 10, bus 2452, B-3001 Leuven-Heverlee, Belgium. All rights reserved */ #include "Circuit.h" istream &operator>>(istream &s, Circuit &C) { unsign...
21.325123
110
0.429891
GPikra
6e38645a4bf8350cb46779807f81f4526a749086
15,415
cpp
C++
src/core/tunnel/TunnelPool.cpp
moneromooo-monero/kovri
7532037cd590617c27474112080e4bbc52faf586
[ "BSD-3-Clause" ]
2
2017-10-13T09:22:20.000Z
2018-02-13T16:32:02.000Z
src/core/tunnel/TunnelPool.cpp
Menutra/kovri
7532037cd590617c27474112080e4bbc52faf586
[ "BSD-3-Clause" ]
null
null
null
src/core/tunnel/TunnelPool.cpp
Menutra/kovri
7532037cd590617c27474112080e4bbc52faf586
[ "BSD-3-Clause" ]
2
2017-10-15T08:21:55.000Z
2018-11-29T08:40:06.000Z
/** * Copyright (c) 2013-2016, The Kovri I2P Router 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: * * 1. Redistributions of source code must retain the above copyright notice, ...
32.114583
90
0.684139
moneromooo-monero
6e3881616a89359c3390c471bce95a7a6ea66c36
5,950
cpp
C++
test/cedar_tests.cpp
dominiKoeppl/tudocomp
b5512f85f6b3408fb88e19c08899ec4c2716c642
[ "ECL-2.0", "Apache-2.0" ]
17
2017-03-04T13:04:49.000Z
2021-12-03T06:58:20.000Z
test/cedar_tests.cpp
dominiKoeppl/tudocomp
b5512f85f6b3408fb88e19c08899ec4c2716c642
[ "ECL-2.0", "Apache-2.0" ]
27
2016-01-22T18:31:37.000Z
2021-11-27T10:50:40.000Z
test/cedar_tests.cpp
dominiKoeppl/tudocomp
b5512f85f6b3408fb88e19c08899ec4c2716c642
[ "ECL-2.0", "Apache-2.0" ]
16
2017-03-14T12:46:51.000Z
2021-06-25T18:19:50.000Z
#include "test/util.hpp" #include <gtest/gtest.h> #include <tudocomp/CreateAlgorithm.hpp> #include <tudocomp/Literal.hpp> #include <tudocomp/compressors/LZ78Compressor.hpp> #include <tudocomp/compressors/LZWCompressor.hpp> #include <tudocomp/compressors/lz78/BinaryTrie.hpp> #include <tudocomp/compressors/lz78/TernaryT...
36.956522
95
0.540168
dominiKoeppl
6e3c240f69dbf0efe4f5387bed47dcfb9dff54ab
6,606
cc
C++
src/native/tchmain/TchMainExportWin.cc
dudes-come/tchapp
24844869813edafff277e8c0ca6126d195423134
[ "MIT" ]
8
2016-11-08T08:56:58.000Z
2017-03-30T02:34:00.000Z
src/native/tchmain/TchMainExportWin.cc
dudes-come/tchapp
24844869813edafff277e8c0ca6126d195423134
[ "MIT" ]
32
2016-11-08T10:22:08.000Z
2016-12-19T07:51:55.000Z
src/native/tchmain/TchMainExportWin.cc
dudes-come/tchapp
24844869813edafff277e8c0ca6126d195423134
[ "MIT" ]
5
2016-11-08T08:57:02.000Z
2022-01-29T09:22:46.000Z
#include "TchMainExport.h" #include <Windows.h> #include <iostream> #include <string> #include <locale> #include <cstring> #include <experimental/filesystem> #include "../tch_include/TchVersion.h" #include <io.h> namespace gnu_fs = std::experimental::filesystem; mbstate_t in_cvt_state; mbstate_t out_cvt_state; std...
30.725581
165
0.725401
dudes-come
6e44146463e32b7e0207db0fc807c245742eedf4
865
cpp
C++
Source/Shared/UI/WidgetGameButton.cpp
PsichiX/Unreal-Systems-Architecture
fb2ccb243c8e79b0890736d611db7ba536937a93
[ "Apache-2.0" ]
5
2022-02-09T21:19:03.000Z
2022-03-03T01:53:03.000Z
Source/Shared/UI/WidgetGameButton.cpp
PsichiX/Unreal-Systems-Architecture
fb2ccb243c8e79b0890736d611db7ba536937a93
[ "Apache-2.0" ]
null
null
null
Source/Shared/UI/WidgetGameButton.cpp
PsichiX/Unreal-Systems-Architecture
fb2ccb243c8e79b0890736d611db7ba536937a93
[ "Apache-2.0" ]
null
null
null
#include "Shared/UI/WidgetGameButton.h" #include "Components/Button.h" #include "Components/TextBlock.h" #include "Kismet/GameplayStatics.h" void UWidgetGameButton::NativeConstruct() { Super::NativeConstruct(); if (IsValid(this->Button)) { this->Button->OnClicked.AddUniqueDynamic(this, &ThisClass::OnClicked); ...
19.659091
74
0.734104
PsichiX
6e45f2a66417dc67c04cfc99f03269b9a4486a3f
599
cpp
C++
src/Context.cpp
desktopgame/ofxLua
098cc40277dd00d42aaf191bbf0cc43d3b2349fd
[ "BSL-1.0", "MIT" ]
1
2020-01-28T05:10:19.000Z
2020-01-28T05:10:19.000Z
src/Context.cpp
desktopgame/ofxLua
098cc40277dd00d42aaf191bbf0cc43d3b2349fd
[ "BSL-1.0", "MIT" ]
null
null
null
src/Context.cpp
desktopgame/ofxLua
098cc40277dd00d42aaf191bbf0cc43d3b2349fd
[ "BSL-1.0", "MIT" ]
null
null
null
#include "Context.h" #include <stdexcept> namespace ofxLua { std::stack<Context::Instance> Context::stack; Context::Instance Context::push() { Instance inst = std::shared_ptr<Context>(new Context()); stack.push(inst); return inst; } Context::Instance Context::top() { if (stack.empty()) { throw std::logic_error(...
19.966667
57
0.672788
desktopgame
6e5192c204f0327c507d2eb370e626d5e9d3cda0
67
hpp
C++
tests/src/utils/generate_unique_mock_id.hpp
aahmed-2/telemetry
7e098e93ef0974739459d296f99ddfab54722c23
[ "Apache-2.0" ]
4
2019-11-14T10:41:34.000Z
2021-12-09T23:54:52.000Z
tests/src/utils/generate_unique_mock_id.hpp
aahmed-2/telemetry
7e098e93ef0974739459d296f99ddfab54722c23
[ "Apache-2.0" ]
2
2021-10-04T20:12:53.000Z
2021-12-14T18:13:03.000Z
tests/src/utils/generate_unique_mock_id.hpp
aahmed-2/telemetry
7e098e93ef0974739459d296f99ddfab54722c23
[ "Apache-2.0" ]
2
2021-08-05T11:17:03.000Z
2021-12-13T15:22:48.000Z
#pragma once #include <cstdint> uint64_t generateUniqueMockId();
11.166667
32
0.776119
aahmed-2
6e5296191454b28306a2722dc1d12cfda2fef7b7
1,302
cpp
C++
Enviados/Brinde_Face_2015.cpp
VictorCurti/URI
abc344597682a3099e8b1899c78584f9b762a494
[ "MIT" ]
null
null
null
Enviados/Brinde_Face_2015.cpp
VictorCurti/URI
abc344597682a3099e8b1899c78584f9b762a494
[ "MIT" ]
null
null
null
Enviados/Brinde_Face_2015.cpp
VictorCurti/URI
abc344597682a3099e8b1899c78584f9b762a494
[ "MIT" ]
null
null
null
/* Brinde Face 2015 Data: 25/03/2019 Autor: Victor Curti ex: 4 0 1 2 3 4 (F A C E - E C F A - A C F E - A C E F - F E C A) F A C E E C F A A C F E A C E F F E C A F A C E E C F A A C F E A C E F - F E C A Stack A: F E ...
21
54
0.417819
VictorCurti
6e5b52dd869faa243903a19d3e2f3ae1221c8412
619
cpp
C++
AllCombinationsOfString/combinations.cpp
Electrux/CCPP-Code
3c5e5b866cf050c11bced9651b112eb31dd2465d
[ "BSD-3-Clause" ]
6
2019-08-29T23:31:17.000Z
2021-11-14T20:35:47.000Z
AllCombinationsOfString/combinations.cpp
Electrux/CCPP-Code
3c5e5b866cf050c11bced9651b112eb31dd2465d
[ "BSD-3-Clause" ]
null
null
null
AllCombinationsOfString/combinations.cpp
Electrux/CCPP-Code
3c5e5b866cf050c11bced9651b112eb31dd2465d
[ "BSD-3-Clause" ]
1
2019-09-01T12:22:58.000Z
2019-09-01T12:22:58.000Z
#include <iostream> #include <string> void find_permutations( std::string first, std::string others ) { if( others.size() <= 0 ) { std::cout << first << "\n"; return; } int len = others.size(); for( int i = 0; i < len; ++i ) { std::string sub = others; std::string first_tmp = first; first_tmp += sub[ i ]...
19.967742
63
0.573506
Electrux
6e5bca89d247516231fb68cf075693d455fd0450
422
hpp
C++
src/tree/base/import.hpp
Azer0s/littl
3d2bfd979bdeee74cded9f31b62640b45b86a155
[ "MIT" ]
4
2018-12-30T13:15:55.000Z
2019-05-12T17:39:38.000Z
src/tree/base/import.hpp
Azer0s/littl
3d2bfd979bdeee74cded9f31b62640b45b86a155
[ "MIT" ]
null
null
null
src/tree/base/import.hpp
Azer0s/littl
3d2bfd979bdeee74cded9f31b62640b45b86a155
[ "MIT" ]
1
2018-12-29T19:12:07.000Z
2018-12-29T19:12:07.000Z
#pragma once #include "../syntaxtree.hpp" namespace littl { class Import : public SyntaxTree{ public: Import(SyntaxTree* name){ this->name = name; } virtual ~Import(){ delete name; }; virtual std::string toCode() co...
21.1
47
0.440758
Azer0s
6e5e03b24741ecdc6c83cae97aedd0b7b61eff5e
1,328
cpp
C++
Code/C++/selection_sort.cpp
parthmshah1302/Algo-Tree
451e3d3fde2b841f77bed0dfaa9b83e5d9a7d3dc
[ "MIT" ]
356
2021-01-24T11:34:15.000Z
2022-03-16T08:39:02.000Z
Code/C++/selection_sort.cpp
parthmshah1302/Algo-Tree
451e3d3fde2b841f77bed0dfaa9b83e5d9a7d3dc
[ "MIT" ]
1,778
2021-01-24T10:52:44.000Z
2022-01-30T12:34:05.000Z
Code/C++/selection_sort.cpp
parthmshah1302/Algo-Tree
451e3d3fde2b841f77bed0dfaa9b83e5d9a7d3dc
[ "MIT" ]
782
2021-01-24T10:54:10.000Z
2022-03-23T10:16:04.000Z
/* Selection sort is an algorithm that selects the smallest element from an unsorted list in each iteration and places that element at the beginning of the unsorted list. * Strategy: find the smallest number in the array and exchange it with the value in first position of array. Now, find the seco...
16.395062
124
0.576054
parthmshah1302
6e61a110389e77a76be83f94d795d9465eb0c47f
2,646
hpp
C++
include/stl2/detail/algorithm/swap_ranges.hpp
marehr/cmcstl2
7a7cae1e23beacb18fd786240baef4ae121d813f
[ "MIT" ]
null
null
null
include/stl2/detail/algorithm/swap_ranges.hpp
marehr/cmcstl2
7a7cae1e23beacb18fd786240baef4ae121d813f
[ "MIT" ]
null
null
null
include/stl2/detail/algorithm/swap_ranges.hpp
marehr/cmcstl2
7a7cae1e23beacb18fd786240baef4ae121d813f
[ "MIT" ]
null
null
null
// cmcstl2 - A concept-enabled C++ standard library // // Copyright Casey Carter 2015 // // Use, modification and distribution is 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) // // Project home: https://github.c...
31.5
88
0.688209
marehr
6e637694e3e4aff5c1efb30f44f91330b7b5d80e
1,287
hpp
C++
bunsan/process/include/bunsan/interprocess/sync/file_guard.hpp
bacsorg/bacs
2b52feb9efc805655cdf7829cf77ee028d567969
[ "Apache-2.0" ]
null
null
null
bunsan/process/include/bunsan/interprocess/sync/file_guard.hpp
bacsorg/bacs
2b52feb9efc805655cdf7829cf77ee028d567969
[ "Apache-2.0" ]
10
2018-02-06T14:46:36.000Z
2018-03-20T13:37:20.000Z
bunsan/process/include/bunsan/interprocess/sync/file_guard.hpp
bacsorg/bacs
2b52feb9efc805655cdf7829cf77ee028d567969
[ "Apache-2.0" ]
1
2021-11-26T10:59:09.000Z
2021-11-26T10:59:09.000Z
#pragma once #include <bunsan/error.hpp> #include <boost/filesystem/path.hpp> #include <boost/optional.hpp> namespace bunsan::interprocess { struct file_guard_error : virtual bunsan::error { using lock_path = boost::error_info<struct tag_lock_path, boost::filesystem::path>; }; struct file_guard_create_erro...
23.4
73
0.724165
bacsorg
6e6a804df0c9963523df7aef487638803473235b
7,687
cpp
C++
Source/EditorScriptingTools/Private/EditorScriptingToolsCommon/AssetTypeActions/EditorScriptingAssetTypeActions_Base.cpp
jswigart/UE4-EditorScriptingToolsPlugin
5fa4012bf10c1fc918d2c6ddeab0d1c6bbac85ca
[ "MIT" ]
77
2020-12-04T21:10:16.000Z
2021-09-20T03:47:47.000Z
Source/EditorScriptingTools/Private/EditorScriptingToolsCommon/AssetTypeActions/EditorScriptingAssetTypeActions_Base.cpp
ProjectBorealis/UE4-EditorScriptingToolsPlugin
251b9b4f64bb465e74514fac2cec82a824ea2200
[ "MIT" ]
11
2021-03-03T19:00:05.000Z
2021-06-19T18:11:42.000Z
Source/EditorScriptingTools/Private/EditorScriptingToolsCommon/AssetTypeActions/EditorScriptingAssetTypeActions_Base.cpp
ProjectBorealis/UE4-EditorScriptingToolsPlugin
251b9b4f64bb465e74514fac2cec82a824ea2200
[ "MIT" ]
12
2020-12-09T04:47:41.000Z
2021-09-11T12:19:34.000Z
//==========================================================================// // Copyright Elhoussine Mehnik (ue4resources@gmail.com). All Rights Reserved. //================== http://unrealengineresources.com/ =====================// #include "EditorScriptingAssetTypeActions_Base.h" #include "Framework/MultiBox/Mult...
38.435
160
0.802133
jswigart
6e6c5ded5de564bb58c9911c3dbdb1d927458c82
12,194
cpp
C++
process_data.cpp
skpang/Teensy32_can_fd_to_usb_converter
8717188d059dbfe67185815e7dc223b60355c511
[ "MIT" ]
1
2020-01-13T23:50:15.000Z
2020-01-13T23:50:15.000Z
process_data.cpp
skpang/Teensy32_can_fd_to_usb_converter
8717188d059dbfe67185815e7dc223b60355c511
[ "MIT" ]
1
2018-10-20T21:58:40.000Z
2018-10-20T21:58:40.000Z
process_data.cpp
skpang/Teensy32_can_fd_to_usb_converter
8717188d059dbfe67185815e7dc223b60355c511
[ "MIT" ]
null
null
null
#include "process_data.h" #include "drv_canfdspi_defines.h" #include "drv_canfdspi_api.h" unsigned char timestamping = 0; CAN_BITTIME_SETUP bt; extern CAN_TX_MSGOBJ txObj; extern CAN_RX_MSGOBJ rxObj; extern uint8_t txd[MAX_DATA_BYTES]; extern uint8_t rxd[MAX_DATA_BYTES]; extern uint8_t prompt; extern volatile uint8_t...
27.525959
115
0.454568
skpang
6e6d46d3f098ac9491d606ac53421d7ae2c024ce
13,964
cpp
C++
Nesis/Common/CanUnitInfo/MagSphereCalibration.cpp
jpoirier/x-gauges
8261b19a9678ad27db44eb8c354f5e66bd061693
[ "BSD-3-Clause" ]
3
2015-11-08T07:17:46.000Z
2019-04-05T17:08:05.000Z
Nesis/Common/CanUnitInfo/MagSphereCalibration.cpp
jpoirier/x-gauges
8261b19a9678ad27db44eb8c354f5e66bd061693
[ "BSD-3-Clause" ]
null
null
null
Nesis/Common/CanUnitInfo/MagSphereCalibration.cpp
jpoirier/x-gauges
8261b19a9678ad27db44eb8c354f5e66bd061693
[ "BSD-3-Clause" ]
null
null
null
/*************************************************************************** * * * Copyright (C) 2008 by Kanardia d.o.o. [see www.kanardia.eu] * * Writen by: * * Ales...
27.488189
84
0.533228
jpoirier
6e6e458bc3694dd2c6548bebe2889912422c33d2
143
cpp
C++
examples/polar_plots/ezpolar/ezpolar_1.cpp
solosuper/matplotplusplus
87ff5728b14ad904bc6acaa2bf010c1a03c6cb4a
[ "MIT" ]
2,709
2020-08-29T01:25:40.000Z
2022-03-31T18:35:25.000Z
examples/polar_plots/ezpolar/ezpolar_1.cpp
p-ranav/matplotplusplus
b45015e2be88e3340b400f82637b603d733d45ce
[ "MIT" ]
124
2020-08-29T04:48:17.000Z
2022-03-25T15:45:59.000Z
examples/polar_plots/ezpolar/ezpolar_1.cpp
p-ranav/matplotplusplus
b45015e2be88e3340b400f82637b603d733d45ce
[ "MIT" ]
203
2020-08-29T04:16:22.000Z
2022-03-30T02:08:36.000Z
#include <cmath> #include <matplot/matplot.h> int main() { using namespace matplot; ezpolar("1+cos(t)"); show(); return 0; }
13
28
0.594406
solosuper
6e7672a2b632a5a3c092e701bccec80007eaa4b7
16,329
cpp
C++
vision/blackItem/image_converter.cpp
Eithwa/kymavoid
2cd099021f111aa342c3f655c0eee06f9e2e3f2a
[ "Apache-2.0" ]
null
null
null
vision/blackItem/image_converter.cpp
Eithwa/kymavoid
2cd099021f111aa342c3f655c0eee06f9e2e3f2a
[ "Apache-2.0" ]
null
null
null
vision/blackItem/image_converter.cpp
Eithwa/kymavoid
2cd099021f111aa342c3f655c0eee06f9e2e3f2a
[ "Apache-2.0" ]
1
2020-08-10T03:19:27.000Z
2020-08-10T03:19:27.000Z
#include "image_converter.hpp" #include "math.h" #include "omp.h" using namespace std; using namespace cv; const double ALPHA = 0.5; ImageConverter::ImageConverter(): it_(nh), FrameRate(0.0), obj_filter_size(500) { get_Camera(); get_center(); get_distance(); get_whitedata(); image_sub...
32.334653
172
0.519873
Eithwa
6e797c232267aa24a883602c87355ef60000f3c7
5,818
cc
C++
src/d3d11/d3d11_main.cc
R2Northstar/NorthstarStubs
e60bba45092f7fdb70b60c0e2e920584f78f1b85
[ "Zlib" ]
3
2022-02-17T03:11:52.000Z
2022-02-20T21:20:16.000Z
src/d3d11/d3d11_main.cc
pg9182/NorthstarStubs
e60bba45092f7fdb70b60c0e2e920584f78f1b85
[ "Zlib" ]
null
null
null
src/d3d11/d3d11_main.cc
pg9182/NorthstarStubs
e60bba45092f7fdb70b60c0e2e920584f78f1b85
[ "Zlib" ]
2
2022-02-17T14:04:09.000Z
2022-02-20T17:52:55.000Z
#include "d3d11_device.h" #include "dxgi_factory.h" #include "d3d11_include.h" extern "C" { using namespace dxvk; DLLEXPORT HRESULT __stdcall D3D11CoreCreateDevice( IDXGIFactory* pFactory, IDXGIAdapter* pAdapter, UINT Flags, const D3D_FEATURE_LEVEL* pF...
32.502793
115
0.630113
R2Northstar
6e7acaaeb160f14ee94a4b522c3d80999863bbcf
2,197
cpp
C++
test/unittests/test_parser.cpp
SmaranTum/syrec
7fd0eece4c3376e52c1f5f17add71a49e5826dac
[ "MIT" ]
1
2022-03-19T21:51:58.000Z
2022-03-19T21:51:58.000Z
test/unittests/test_parser.cpp
SmaranTum/syrec
7fd0eece4c3376e52c1f5f17add71a49e5826dac
[ "MIT" ]
9
2022-02-28T17:03:50.000Z
2022-03-25T16:02:39.000Z
test/unittests/test_parser.cpp
cda-tum/syrec
43dcdd997edd02c80304f53f66118f9dd0fc5f68
[ "MIT" ]
2
2022-02-02T10:35:09.000Z
2022-02-02T15:52:24.000Z
#include "core/syrec/program.hpp" #include "gtest/gtest.h" using namespace syrec; class SyrecParserTest: public testing::TestWithParam<std::string> { protected: std::string test_circuits_dir = "./circuits/"; std::string file_name; void SetUp() override { file_name = test_circuits_dir + GetParam(...
38.54386
93
0.383705
SmaranTum
6e7e54b9a9a38df535c5340485638e5c4fe83116
1,820
hpp
C++
include/header.hpp
Skvortsovvv/lab-05-stack-Skvortsovvv
e658a314c8a729dc024daba28dbd585c21987526
[ "MIT" ]
null
null
null
include/header.hpp
Skvortsovvv/lab-05-stack-Skvortsovvv
e658a314c8a729dc024daba28dbd585c21987526
[ "MIT" ]
null
null
null
include/header.hpp
Skvortsovvv/lab-05-stack-Skvortsovvv
e658a314c8a729dc024daba28dbd585c21987526
[ "MIT" ]
null
null
null
// Copyright 2020 Your Name <your_email> #ifndef INCLUDE_HEADER_HPP_ #define INCLUDE_HEADER_HPP_ #include <memory> #include <atomic> #include <type_traits> #include <utility> #include <iostream> #include <stdexcept> template<typename T> class Stack { private: Stack(Stack&) = delete; Stack& operator=(Stack&) = ...
23.947368
56
0.558242
Skvortsovvv
6e7e621088102c1f3a2229315eb53a33bd6452c0
4,501
hpp
C++
include/mserialize/make_template_tag.hpp
linhanwang/binlog
b4da55f2ae9b61c31c34bf307c0937ec515293df
[ "Apache-2.0" ]
248
2019-12-05T20:59:51.000Z
2021-01-19T15:56:12.000Z
include/mserialize/make_template_tag.hpp
Galaxy2416/binlog
14bf705b51602d43403733670d6110f8742b0409
[ "Apache-2.0" ]
57
2019-12-18T07:00:46.000Z
2021-01-04T14:04:16.000Z
include/mserialize/make_template_tag.hpp
Galaxy2416/binlog
14bf705b51602d43403733670d6110f8742b0409
[ "Apache-2.0" ]
22
2021-03-27T20:43:40.000Z
2022-03-31T10:01:38.000Z
#ifndef MSERIALIZE_MAKE_TEMPLATE_TAG_HPP #define MSERIALIZE_MAKE_TEMPLATE_TAG_HPP #include <mserialize/cx_string.hpp> #include <mserialize/detail/foreach.hpp> #include <mserialize/detail/preprocessor.hpp> #include <mserialize/make_struct_tag.hpp> /** * MSERIALIZE_MAKE_TEMPLATE_TAG(TemplateArgs, TypenameWithTemplateA...
40.1875
94
0.582537
linhanwang
6e8026c4eacc4dc6bff492879ed3821c9a2ad587
4,897
cpp
C++
Framework/DrawPass/ShadowMapPass.cpp
kiorisyshen/newbieGameEngine
d1e68fbd75884fdf0f171212396d8bc5fec8ad9e
[ "MIT" ]
3
2019-06-07T15:29:45.000Z
2019-11-11T01:26:12.000Z
Framework/DrawPass/ShadowMapPass.cpp
kiorisyshen/newbieGameEngine
d1e68fbd75884fdf0f171212396d8bc5fec8ad9e
[ "MIT" ]
null
null
null
Framework/DrawPass/ShadowMapPass.cpp
kiorisyshen/newbieGameEngine
d1e68fbd75884fdf0f171212396d8bc5fec8ad9e
[ "MIT" ]
null
null
null
#include "ShadowMapPass.hpp" #include "GraphicsManager.hpp" using namespace std; using namespace newbieGE; void ShadowMapPass::Draw(Frame &frame) { if (frame.frameContext.shadowMapLight.size() > 0 || frame.frameContext.cubeShadowMapLight.size() > 0 || frame.frameContext.globalShadowMapLight.size()...
51.547368
125
0.627731
kiorisyshen
6e819d93aa468191533a76b7b5862970a87b8cb9
2,524
cpp
C++
Shrek2ModdingSDK/Shrek2ModdingSDK/Shrek2Timer.cpp
kevinjpetersen/Shrek2ModdingSDK
1d517fccc4d83b24342e62f80951318fd4f7c707
[ "MIT" ]
1
2022-03-24T21:43:49.000Z
2022-03-24T21:43:49.000Z
Shrek2ModdingSDK/Shrek2ModdingSDK/Shrek2Timer.cpp
kevinjpetersen/Shrek2ModdingSDK
1d517fccc4d83b24342e62f80951318fd4f7c707
[ "MIT" ]
null
null
null
Shrek2ModdingSDK/Shrek2ModdingSDK/Shrek2Timer.cpp
kevinjpetersen/Shrek2ModdingSDK
1d517fccc4d83b24342e62f80951318fd4f7c707
[ "MIT" ]
null
null
null
/* Copyright (c) 2021 Kevin J. Petersen https://github.com/kevinjpetersen/ */ #include "Shrek2ModdingSDK.h" void Shrek2Timer::Start() { try { if (IsRunning) return; IsRunning = true; timer.start(); } catch (std::exception& ex) { Shrek2Logging::LogError("Shrek2Timer::Start", ex.what()); } } void Shrek2T...
18.028571
97
0.650951
kevinjpetersen
6e822a4c8963a206f5724481f638fbf508424e85
1,107
hh
C++
exp.hh
aicodix/dsp
c83add357c695482590825ddd2713dc29fd903d2
[ "0BSD" ]
16
2019-01-25T02:02:21.000Z
2022-02-11T04:05:54.000Z
exp.hh
aicodix/dsp
c83add357c695482590825ddd2713dc29fd903d2
[ "0BSD" ]
2
2020-12-10T05:46:36.000Z
2020-12-15T00:16:25.000Z
exp.hh
aicodix/dsp
c83add357c695482590825ddd2713dc29fd903d2
[ "0BSD" ]
4
2019-01-25T02:02:15.000Z
2021-10-06T13:50:59.000Z
/* Exponentiation approximations Constants below lifted from the Cephes Mathematical Library: https://www.netlib.org/cephes/cmath.tgz Copyright 2018 Ahmet Inan <inan@aicodix.de> */ #pragma once namespace DSP { template <typename TYPE> TYPE ldexp(TYPE x, int n) { int a = n < 0 ? -n : n; int a8 = a / 8; int ar = ...
20.5
60
0.630533
aicodix
6e87cd251d1062079c2f6635787a5405e720e4d7
143
cpp
C++
compiler/useful_visitors.cpp
Bhare8972/Cyth
334194be4b00456ed3fbf279f18bb22458d4ca81
[ "Apache-2.0" ]
null
null
null
compiler/useful_visitors.cpp
Bhare8972/Cyth
334194be4b00456ed3fbf279f18bb22458d4ca81
[ "Apache-2.0" ]
1
2016-01-09T19:00:14.000Z
2016-01-09T19:00:14.000Z
compiler/useful_visitors.cpp
Bhare8972/Cyth
334194be4b00456ed3fbf279f18bb22458d4ca81
[ "Apache-2.0" ]
null
null
null
#include "AST_visitor.hpp" #include "useful_visitors.hpp" #include <string> #include <sstream> using namespace csu; using namespace std;
11
30
0.748252
Bhare8972
6e8a30e159ef58180085f2e1d99af91a543eca85
571
hpp
C++
data_structure/graph/include/edge/readers/EdgeListEdgeReader.hpp
vlad-iancu/alg-lib
706b30253018a8a6f16d353396c8a9ddf2d0b51e
[ "MIT" ]
null
null
null
data_structure/graph/include/edge/readers/EdgeListEdgeReader.hpp
vlad-iancu/alg-lib
706b30253018a8a6f16d353396c8a9ddf2d0b51e
[ "MIT" ]
11
2021-09-04T19:12:23.000Z
2021-09-25T21:13:06.000Z
data_structure/graph/include/edge/readers/EdgeListEdgeReader.hpp
vlad-iancu/libalg
706b30253018a8a6f16d353396c8a9ddf2d0b51e
[ "MIT" ]
null
null
null
#ifndef ALG_LIB_DATA_STRUCTURE_EDGE_EDGE_LIST_READER_H_ #define ALG_LIB_DATA_STRUCTURE_EDGE_EDGE_LIST_READER_H_ #include <graph/EdgeList.hpp> #include <graph/types.hpp> #include <edge/readers/EdgeReader.hpp> namespace graph { class EdgeListEdgeReader : public EdgeReader { private: const EdgeList ...
19.033333
55
0.69352
vlad-iancu
6e8a540e10842778612cec396c18b7549b904169
9,551
cpp
C++
Flw_Piano.cpp
jpcima/Flw_Piano
115ca63d8068c9bedbe40bc5ea8aeec5f1363855
[ "BSL-1.0" ]
1
2019-08-15T13:57:23.000Z
2019-08-15T13:57:23.000Z
Flw_Piano.cpp
jpcima/Flw_Piano
115ca63d8068c9bedbe40bc5ea8aeec5f1363855
[ "BSL-1.0" ]
null
null
null
Flw_Piano.cpp
jpcima/Flw_Piano
115ca63d8068c9bedbe40bc5ea8aeec5f1363855
[ "BSL-1.0" ]
null
null
null
// Copyright Jean Pierre Cimalando 2018. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE or copy at // http://www.boost.org/LICENSE_1_0.txt) #include "Flw_Piano.h" #include <FL/Fl_Button.H> #include <FL/Fl.H> #include <vector> #include <math.h> enum...
24.872396
104
0.564548
jpcima
6e8fd61636a4415133c16e1c79dc719373bfd776
1,299
cpp
C++
UVaOnlineJudge/Contest_Volumes(10000...)/Volume101(10100-10199)/10189/code.cpp
luiscbr92/algorithmic-challenges
bc35729e54e4284e9ade1aa61b51a1c2d72aa62c
[ "MIT" ]
3
2015-10-21T18:56:43.000Z
2017-06-06T10:44:22.000Z
UVaOnlineJudge/Contest_Volumes(10000...)/Volume101(10100-10199)/10189/code.cpp
luiscbr92/algorithmic-challenges
bc35729e54e4284e9ade1aa61b51a1c2d72aa62c
[ "MIT" ]
null
null
null
UVaOnlineJudge/Contest_Volumes(10000...)/Volume101(10100-10199)/10189/code.cpp
luiscbr92/algorithmic-challenges
bc35729e54e4284e9ade1aa61b51a1c2d72aa62c
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int main(){ ios_base::sync_with_stdio (false); int game = 1; char field[100][100]; int rows, columns, i, j, count, ii, jj; string line; cin >> rows >> columns; cin.ignore(); while(rows > 0 && columns > 0){ for(i = 0; i < rows; i++){ ...
25.470588
65
0.345651
luiscbr92
6e96f5995213da096cfa6fade9cccfd43d3c8f5f
3,558
cpp
C++
src/data/resources.cpp
danielnavarrogomez/Anaquin
563dbeb25aff15a55e4309432a967812cbfa0c98
[ "BSD-3-Clause" ]
null
null
null
src/data/resources.cpp
danielnavarrogomez/Anaquin
563dbeb25aff15a55e4309432a967812cbfa0c98
[ "BSD-3-Clause" ]
null
null
null
src/data/resources.cpp
danielnavarrogomez/Anaquin
563dbeb25aff15a55e4309432a967812cbfa0c98
[ "BSD-3-Clause" ]
null
null
null
#include <string> #include <algorithm> #include "resources/VarCopy.txt" #include "resources/anaquin.txt" #include "resources/VarFlip.txt" #include "resources/VarTrim.txt" #include "resources/VarAlign.txt" #include "resources/VarKmer.txt" #include "resources/VarGermline.txt" #include "resources/VarSomatic.txt" #include...
40.896552
79
0.769252
danielnavarrogomez
6e96facabae3ab4a3127b68592fbc7300e284c49
2,610
cpp
C++
src/lib/netlist/devices/nld_7493.cpp
mamedev/netedit
815723fc4772ee7f47558d1a63abc189a65e01b6
[ "BSD-3-Clause" ]
3
2017-04-12T16:13:34.000Z
2021-02-24T03:42:19.000Z
src/lib/netlist/devices/nld_7493.cpp
mamedev/netedit
815723fc4772ee7f47558d1a63abc189a65e01b6
[ "BSD-3-Clause" ]
null
null
null
src/lib/netlist/devices/nld_7493.cpp
mamedev/netedit
815723fc4772ee7f47558d1a63abc189a65e01b6
[ "BSD-3-Clause" ]
7
2017-01-24T23:07:50.000Z
2021-01-28T04:10:59.000Z
// license:GPL-2.0+ // copyright-holders:Couriersud /* * nld_7493.c * */ #include "nld_7493.h" #include "nl_setup.h" namespace netlist { namespace devices { NETLIB_OBJECT(7493ff) { NETLIB_CONSTRUCTOR(7493ff) , m_I(*this, "CLK") , m_Q(*this, "Q") , m_reset(*this, "m_reset", 0) , m_state(*this, "m_stat...
18.913043
56
0.628352
mamedev
6e9ea6e4b61a6d3da6cf48e4f2cf9a035fa43ea1
6,118
hpp
C++
cvlib/include/cvlib.hpp
Pol22/cvclasses18
94c3b398349c739dcbce5e02b0e9a277456cd85b
[ "MIT" ]
null
null
null
cvlib/include/cvlib.hpp
Pol22/cvclasses18
94c3b398349c739dcbce5e02b0e9a277456cd85b
[ "MIT" ]
null
null
null
cvlib/include/cvlib.hpp
Pol22/cvclasses18
94c3b398349c739dcbce5e02b0e9a277456cd85b
[ "MIT" ]
1
2019-12-22T12:51:06.000Z
2019-12-22T12:51:06.000Z
/* Computer Vision Functions. * @file * @date 2018-09-05 * @author Anonymous */ #ifndef __CVLIB_HPP__ #define __CVLIB_HPP__ #include <opencv2/opencv.hpp> namespace cvlib { /// \brief Split and merge algorithm for image segmentation /// \param image, in - input image /// \param stddev, in - threshold to treat reg...
31.374359
143
0.695652
Pol22
6ea1b3c0fb1d8209dbb6367eb49c38c79242a5ff
2,842
cpp
C++
source/playlunky/mod/fix_mod_structure.cpp
C-ffeeStain/Playlunky
c0df8a993712192fb44048c8542776ead110441d
[ "MIT" ]
null
null
null
source/playlunky/mod/fix_mod_structure.cpp
C-ffeeStain/Playlunky
c0df8a993712192fb44048c8542776ead110441d
[ "MIT" ]
null
null
null
source/playlunky/mod/fix_mod_structure.cpp
C-ffeeStain/Playlunky
c0df8a993712192fb44048c8542776ead110441d
[ "MIT" ]
null
null
null
#include "unzip_mod.h" #include "log.h" #include "util/algorithms.h" #include "util/regex.h" static constexpr ctll::fixed_string s_FontRule{ ".*\\.fnb" }; static constexpr std::string_view s_FontTargetPath{ "Data/Fonts" }; static constexpr ctll::fixed_string s_ArenaLevelRule{ "dm.*\\.lvl" }; static constexpr ctll::f...
37.893333
102
0.724138
C-ffeeStain
6ea3c7dba877c577794b2a764d864917f79e3026
631
cpp
C++
Sculptor2_0/putbox.cpp
igorsergioJS/sculptor-2.0
c4224d8485dfb0305bb5ebc8c816c527c8c6f698
[ "MIT" ]
null
null
null
Sculptor2_0/putbox.cpp
igorsergioJS/sculptor-2.0
c4224d8485dfb0305bb5ebc8c816c527c8c6f698
[ "MIT" ]
null
null
null
Sculptor2_0/putbox.cpp
igorsergioJS/sculptor-2.0
c4224d8485dfb0305bb5ebc8c816c527c8c6f698
[ "MIT" ]
null
null
null
#include "putbox.h" PutBox::PutBox(int x0, int x1, int y0, int y1, int z0, int z1, float r, float g, float b, float a) { this->x0 = x0; this->x1 = x1; this->y0 = y0; this->y1 = y1; this->z0 = z0; this->z1 = z1; this->r = r; this->g = g; this->b = b; this->a = a; } PutBox::~PutB...
17.527778
98
0.397781
igorsergioJS
6ea4430ee8412eaa0f0e3d093e9038a3ec51d343
1,118
cpp
C++
src/ServiceDescription.cpp
ruurdadema/dnssd
5c444ed901d177e57dd7f9338cf9466fa12f7794
[ "MIT" ]
null
null
null
src/ServiceDescription.cpp
ruurdadema/dnssd
5c444ed901d177e57dd7f9338cf9466fa12f7794
[ "MIT" ]
1
2022-02-25T19:03:49.000Z
2022-02-25T19:03:49.000Z
src/ServiceDescription.cpp
ruurdadema/dnssd
5c444ed901d177e57dd7f9338cf9466fa12f7794
[ "MIT" ]
null
null
null
#include <dnssd/ServiceDescription.h> #include <sstream> using namespace dnssd; std::string ServiceDescription::description() const noexcept { std::string txtRecordDescription; for (auto& kv : txtRecord) { txtRecordDescription += kv.first; txtRecordDescription += "="; txtRecordDes...
23.787234
64
0.580501
ruurdadema
6ea61efaeacce9a946491e7f090cb47b8d85d3f0
3,576
hpp
C++
src/Client/GUI3/Widgets/Panels/AbstractPanel.hpp
AlexWayfer/RankCheck
cf3005a2ba6f66bd66f27e0e42ca6b0ccb907014
[ "Unlicense", "MIT" ]
10
2018-02-12T16:14:07.000Z
2022-03-19T15:08:29.000Z
src/Client/GUI3/Widgets/Panels/AbstractPanel.hpp
AlexWayfer/RankCheck
cf3005a2ba6f66bd66f27e0e42ca6b0ccb907014
[ "Unlicense", "MIT" ]
11
2018-02-08T16:46:49.000Z
2022-02-03T20:48:12.000Z
src/Client/GUI3/Widgets/Panels/AbstractPanel.hpp
AlexWayfer/RankCheck
cf3005a2ba6f66bd66f27e0e42ca6b0ccb907014
[ "Unlicense", "MIT" ]
3
2018-02-12T22:08:55.000Z
2021-06-24T16:29:17.000Z
#ifndef SRC_CLIENT_GUI3_WIDGETS_ABSTRACTPANEL_HPP_ #define SRC_CLIENT_GUI3_WIDGETS_ABSTRACTPANEL_HPP_ #include <Client/GUI3/Container.hpp> #include <Client/GUI3/Events/Callback.hpp> #include <Client/GUI3/Events/StateEvent.hpp> #include <Client/GUI3/Types.hpp> #include <SFML/System/Vector2.hpp> #include <algorithm> #in...
19.021277
104
0.682606
AlexWayfer
6eaf4b56574eea425bc9c9e89831da13e21e93f2
62,518
cpp
C++
src/Prey/prey_baseweapons.cpp
AMS21/PreyRun
3efc9d70228bcfb8bc18f6ff23a05c8be1e45101
[ "MIT" ]
2
2018-08-30T23:48:22.000Z
2021-04-07T19:16:18.000Z
src/Prey/prey_baseweapons.cpp
AMS21/PreyRun
3efc9d70228bcfb8bc18f6ff23a05c8be1e45101
[ "MIT" ]
null
null
null
src/Prey/prey_baseweapons.cpp
AMS21/PreyRun
3efc9d70228bcfb8bc18f6ff23a05c8be1e45101
[ "MIT" ]
null
null
null
#include "../idlib/precompiled.h" #pragma hdrstop #include "prey_local.h" #define WEAPON_DEBUG if(g_debugWeapon.GetBool()) gameLocal.Warning /*********************************************************************** hhWeapon ***********************************************************************/ const idEventDef...
24.749802
321
0.648869
AMS21
6eb0235879f977d48605c503d1bae02b99905776
1,543
cpp
C++
Centipede/GameComponents/Player.cpp
anunez97/centipede
871bb505c7726dfa4b16caeb0f5b9c2d0e2660f8
[ "MIT" ]
null
null
null
Centipede/GameComponents/Player.cpp
anunez97/centipede
871bb505c7726dfa4b16caeb0f5b9c2d0e2660f8
[ "MIT" ]
null
null
null
Centipede/GameComponents/Player.cpp
anunez97/centipede
871bb505c7726dfa4b16caeb0f5b9c2d0e2660f8
[ "MIT" ]
null
null
null
// Player #include "Player.h" #include "MushroomField.h" #include "BlasterFactory.h" #include "Settings.h" #include "Grid.h" #include "PlayerManager.h" #include "KeyboardController.h" #include "Blaster.h" Player::Player() :lives(3), score(0), pController(0), pBlaster(0), wave(1) { pGrid = new Grid; ...
15.585859
126
0.652625
anunez97
6eb04f751f7d32c88637bc22fb504b39e1237eb9
21,193
cpp
C++
src/UI/Reports/FactoryReport.cpp
gogoprog/OPHD
70604dda83042ef9124728bebeaa70eb57f3dfca
[ "BSD-3-Clause" ]
null
null
null
src/UI/Reports/FactoryReport.cpp
gogoprog/OPHD
70604dda83042ef9124728bebeaa70eb57f3dfca
[ "BSD-3-Clause" ]
null
null
null
src/UI/Reports/FactoryReport.cpp
gogoprog/OPHD
70604dda83042ef9124728bebeaa70eb57f3dfca
[ "BSD-3-Clause" ]
null
null
null
// This is an open source non-commercial project. Dear PVS-Studio, please check it. // PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com #include "FactoryReport.h" #include "../../Constants.h" #include "../../FontManager.h" #include "../../StructureManager.h" #include "../../Things/Structures/...
32.806502
477
0.750106
gogoprog
6eb137bdfbd0fc38213efd55d1944c4146b05242
2,776
hpp
C++
src/parser/symbols/letterlike.hpp
cpp-niel/mfl
d22d698b112b95d102150d5f3a5f35d8eb7fb0f3
[ "MIT" ]
4
2021-04-02T02:52:05.000Z
2021-12-11T00:42:35.000Z
src/parser/symbols/letterlike.hpp
cpp-niel/mfl
d22d698b112b95d102150d5f3a5f35d8eb7fb0f3
[ "MIT" ]
null
null
null
src/parser/symbols/letterlike.hpp
cpp-niel/mfl
d22d698b112b95d102150d5f3a5f35d8eb7fb0f3
[ "MIT" ]
null
null
null
#pragma once #include "mfl/code_point.hpp" #include <array> #include <utility> namespace mfl::parser { constexpr auto letterlike_symbols = std::array<std::pair<const char*, code_point>, 93>{{ {"AA", 0x00c5}, {"AE", 0x00c6}, {"BbbC", 0x2102}, {"BbbN", 0x2115}, {"BbbP", 0x21...
26.188679
92
0.440562
cpp-niel
6eb333ffd0637682d57f8119b1498e63397f860e
2,727
cpp
C++
Plugins/Experimental/Experimentals/SuppressPlayerLoginInfo.cpp
Mefi100/unified
b12a6cc27f291ff779d5ce1226c180ba3f3db800
[ "MIT" ]
1
2021-07-13T19:21:57.000Z
2021-07-13T19:21:57.000Z
Plugins/Experimental/Experimentals/SuppressPlayerLoginInfo.cpp
Mefi100/unified
b12a6cc27f291ff779d5ce1226c180ba3f3db800
[ "MIT" ]
null
null
null
Plugins/Experimental/Experimentals/SuppressPlayerLoginInfo.cpp
Mefi100/unified
b12a6cc27f291ff779d5ce1226c180ba3f3db800
[ "MIT" ]
null
null
null
#include "Experimentals/SuppressPlayerLoginInfo.hpp" #include "API/CNWSPlayer.hpp" #include "API/CNWSMessage.hpp" #include "API/Functions.hpp" #include "API/Globals.hpp" #include "API/Constants.hpp" namespace Experimental { using namespace NWNXLib; using namespace NWNXLib::API; static NWNXLib::Hooks::Hook s_SendSe...
45.45
165
0.807847
Mefi100
6eb6fe112022e783839e132a269c3f48b17ebea5
2,993
hpp
C++
physic.hpp
Bethoth/SComputer
ce3547a0b7065f4422050ca03f3b05c50dee1772
[ "MIT" ]
null
null
null
physic.hpp
Bethoth/SComputer
ce3547a0b7065f4422050ca03f3b05c50dee1772
[ "MIT" ]
null
null
null
physic.hpp
Bethoth/SComputer
ce3547a0b7065f4422050ca03f3b05c50dee1772
[ "MIT" ]
null
null
null
#pragma once #include <array> #include <string> #include <cmath> #include <optional> #include "maths.hpp" using std::stod; namespace physic { const double G = 6.67e-11; std::optional<double> voluminal_mass(const std::string& rho, const std::string& mass, const std::string& volume) { const bool rho_is_searched...
39.906667
149
0.696625
Bethoth
6ebd6a92172b5081434b69543f6a97c823542698
5,565
cpp
C++
Partmod/free_space_manager.cpp
Null665/partmod
11f2b90c745e27bdb47b105e0bf45834c62d3527
[ "BSD-3-Clause" ]
1
2017-02-12T15:10:38.000Z
2017-02-12T15:10:38.000Z
Partmod/free_space_manager.cpp
Null665/partmod
11f2b90c745e27bdb47b105e0bf45834c62d3527
[ "BSD-3-Clause" ]
1
2016-06-03T18:20:16.000Z
2016-10-10T22:22:41.000Z
Partmod/free_space_manager.cpp
Null665/partmod
11f2b90c745e27bdb47b105e0bf45834c62d3527
[ "BSD-3-Clause" ]
null
null
null
#include "free_space_manager.h" #include "disk.h" #include "disk_exception.h" #include <algorithm> using namespace std; bool cmp_frs(FREE_SPACE a,FREE_SPACE b) { return a.begin_sector < b.begin_sector; } void FreeSpaceManager::sort_vectors() { sort(free_space.begin(),free_space.end(),cmp_frs); } FreeSp...
25.527523
116
0.654447
Null665
6ebff0ee1d9f67afa95d19050693d78b9c8d6a70
1,828
cpp
C++
tests/src/Helpers/TestRoutes.cpp
nemu-framework/core
dea0ab4382684d0efc7f387e8a69a51a170c9305
[ "MIT" ]
null
null
null
tests/src/Helpers/TestRoutes.cpp
nemu-framework/core
dea0ab4382684d0efc7f387e8a69a51a170c9305
[ "MIT" ]
3
2022-03-26T12:52:32.000Z
2022-03-28T19:35:21.000Z
tests/src/Helpers/TestRoutes.cpp
nemu-framework/core
dea0ab4382684d0efc7f387e8a69a51a170c9305
[ "MIT" ]
null
null
null
/* Copyright (c) 2019 Xavier Leclercq 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, ...
41.545455
98
0.715536
nemu-framework
6ec84435134d26540a86ea3ea7a58b7de7f6e4dd
1,472
hpp
C++
include/threepp/math/float_view.hpp
maidamai0/threepp
9b50e2c0f2a7bb3ebfd3ffeef61dbefcd54c7071
[ "MIT" ]
null
null
null
include/threepp/math/float_view.hpp
maidamai0/threepp
9b50e2c0f2a7bb3ebfd3ffeef61dbefcd54c7071
[ "MIT" ]
null
null
null
include/threepp/math/float_view.hpp
maidamai0/threepp
9b50e2c0f2a7bb3ebfd3ffeef61dbefcd54c7071
[ "MIT" ]
null
null
null
#ifndef THREEPP_FLOAT_VIEW_HPP #define THREEPP_FLOAT_VIEW_HPP #include <functional> #include <utility> #include <optional> namespace threepp { class float_view { public: float value{}; float operator()() const { return value; } float_view &operator=(float v) {...
18.871795
51
0.44837
maidamai0
6ecd27327e29418e36ffd3b391dc26babac7cdd4
8,330
cpp
C++
hash/appl_hash_test.cpp
fboucher9/appl
bb90398cf9985d4cc0a2a079c4d49d891108e6d1
[ "MIT" ]
null
null
null
hash/appl_hash_test.cpp
fboucher9/appl
bb90398cf9985d4cc0a2a079c4d49d891108e6d1
[ "MIT" ]
null
null
null
hash/appl_hash_test.cpp
fboucher9/appl
bb90398cf9985d4cc0a2a079c4d49d891108e6d1
[ "MIT" ]
null
null
null
/* See LICENSE for license details */ /* */ #include <stdio.h> #include <string.h> #include <appl.h> #include <hash/appl_hash_test.h> #include <misc/appl_unused.h> /* */ struct appl_hash_test_node { struct appl_list o_list; /* -- */ char const * p_string; int i_string...
19.739336
84
0.460384
fboucher9
6ed2838e809f41f084155b727183638f3ee85b12
287
cpp
C++
628.三个数的最大乘积/maximumProduct.cpp
YichengZhong/Top-Interview-Questions
124828d321f482a0eaa30012b3706267487bfd24
[ "MIT" ]
1
2019-10-21T14:40:39.000Z
2019-10-21T14:40:39.000Z
628.三个数的最大乘积/maximumProduct.cpp
YichengZhong/Top-Interview-Questions
124828d321f482a0eaa30012b3706267487bfd24
[ "MIT" ]
null
null
null
628.三个数的最大乘积/maximumProduct.cpp
YichengZhong/Top-Interview-Questions
124828d321f482a0eaa30012b3706267487bfd24
[ "MIT" ]
1
2020-11-04T07:33:34.000Z
2020-11-04T07:33:34.000Z
class Solution { public: int maximumProduct(vector<int>& nums) { sort(nums.begin(),nums.end()); int first=nums[0]*nums[1]*nums[nums.size()-1]; int second=nums[nums.size()-1]*nums[nums.size()-2]*nums[nums.size()-3]; return max(first,second); } };
26.090909
79
0.585366
YichengZhong
6ed3e03729815f12c9f7265a696a4b63af6dbb5b
291
hpp
C++
include/unordered_map/details/align_helper.hpp
Wizermil/unordered_map
4d60bf16384b7ea9db1d43d8b15313f8752490ee
[ "MIT" ]
null
null
null
include/unordered_map/details/align_helper.hpp
Wizermil/unordered_map
4d60bf16384b7ea9db1d43d8b15313f8752490ee
[ "MIT" ]
null
null
null
include/unordered_map/details/align_helper.hpp
Wizermil/unordered_map
4d60bf16384b7ea9db1d43d8b15313f8752490ee
[ "MIT" ]
null
null
null
#pragma once #include "unordered_map/details/config.hpp" #include "unordered_map/details/type.hpp" namespace wiz::details { WIZ_HIDE_FROM_ABI constexpr usize next_aligned(usize sz, usize a_minus_one) noexcept { return (sz + a_minus_one) & ~a_minus_one; } } // namespace wiz::details
26.454545
134
0.762887
Wizermil
6ed439ae01ec6187b401af8f78ee13a8a24300a5
10,283
cpp
C++
src/FealStream.cpp
ruben2020/leaf
2927582ad2f6af0f683ad4e73a80c79f997857fa
[ "Apache-2.0" ]
null
null
null
src/FealStream.cpp
ruben2020/leaf
2927582ad2f6af0f683ad4e73a80c79f997857fa
[ "Apache-2.0" ]
null
null
null
src/FealStream.cpp
ruben2020/leaf
2927582ad2f6af0f683ad4e73a80c79f997857fa
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2021 ruben2020 https://github.com/ruben2020 * * Licensed under the Apache License, Version 2.0 * with LLVM Exceptions (the "License"); * you may not use this file except in compliance with the License. * You can find a copy of the License in the LICENSE file. * * Unless required by applicable law...
27.791892
93
0.664495
ruben2020
6ed43db9683a69209dcd8456a6ebf6cc857b15a7
1,383
cpp
C++
engine/Engine/src/game/parameter/ParameterType.cpp
Kartikeyapan598/Ghurund
bcdc5e1805bf82b3f9a0543a3bbe22681c5605ea
[ "MIT" ]
null
null
null
engine/Engine/src/game/parameter/ParameterType.cpp
Kartikeyapan598/Ghurund
bcdc5e1805bf82b3f9a0543a3bbe22681c5605ea
[ "MIT" ]
10
2018-03-20T21:32:16.000Z
2018-04-23T19:42:59.000Z
engine/Engine/src/game/parameter/ParameterType.cpp
Kartikeyapan598/Ghurund
bcdc5e1805bf82b3f9a0543a3bbe22681c5605ea
[ "MIT" ]
null
null
null
#include "ghpch.h" #include "ParameterType.h" #include "core/Pointer.h" namespace Ghurund { using namespace ::DirectX; const ParameterType ParameterType::INT = ParameterType(ParameterTypeEnum::INT, "int", sizeof(int)); const ParameterType ParameterType::INT2 = ParameterType(ParameterTypeEnum::INT2, "int2...
49.392857
120
0.735358
Kartikeyapan598
6ed6f82f450ae78f18aa2c743cdf90f9bd3435f9
452
hpp
C++
Axis.Mint/foundation/definitions/ElementBlockSyntax.hpp
renato-yuzup/axis-fem
2e8d325eb9c8e99285f513b4c1218ef53eb0ab22
[ "MIT" ]
2
2021-07-23T08:49:54.000Z
2021-07-29T22:07:30.000Z
Axis.Mint/foundation/definitions/ElementBlockSyntax.hpp
renato-yuzup/axis-fem
2e8d325eb9c8e99285f513b4c1218ef53eb0ab22
[ "MIT" ]
null
null
null
Axis.Mint/foundation/definitions/ElementBlockSyntax.hpp
renato-yuzup/axis-fem
2e8d325eb9c8e99285f513b4c1218ef53eb0ab22
[ "MIT" ]
null
null
null
#pragma once #include "foundation/Axis.Mint.hpp" #include "AxisString.hpp" namespace axis { namespace foundation { namespace definitions { class AXISMINT_API ElementBlockSyntax { private: ElementBlockSyntax(void); public: ~ElementBlockSyntax(void); static const axis::String::char_type * BlockName; static const a...
21.52381
63
0.776549
renato-yuzup
6edc886b9560de46f95509370ffe6ef1d84e329f
1,562
hpp
C++
library/felix/maxflow.hpp
fffelix-huang/CP
ed7b481a6643bee1b6d89dec0be89aea205114ca
[ "MIT" ]
1
2021-12-16T13:57:11.000Z
2021-12-16T13:57:11.000Z
library/felix/maxflow.hpp
fffelix-huang/CP
ed7b481a6643bee1b6d89dec0be89aea205114ca
[ "MIT" ]
null
null
null
library/felix/maxflow.hpp
fffelix-huang/CP
ed7b481a6643bee1b6d89dec0be89aea205114ca
[ "MIT" ]
null
null
null
#ifndef FELIX_MAXFLOW_HPP #define FELIX_MAXFLOW_HPP 1 #include <vector> #include <queue> #include <numeric> namespace felix { template<class T> class mf_graph { public: struct Edge { int to; T cap; Edge(int _to, T _cap) : to(_to), cap(_cap) {} }; static constexpr T inf = std::numeric_limits<T>::max() / 3 -...
16.617021
64
0.495519
fffelix-huang
6ede0060d2d169dbf4110b4f333770a7d3a75050
1,905
cpp
C++
numpy_benchmarks/benchmarks/periodic_dist.cpp
adriendelsalle/numpy-benchmarks
5c09448d045726b347e868756f9e1b004d0876ea
[ "BSD-3-Clause" ]
33
2015-03-18T23:16:55.000Z
2021-12-17T11:00:01.000Z
numpy_benchmarks/benchmarks/periodic_dist.cpp
adriendelsalle/numpy-benchmarks
5c09448d045726b347e868756f9e1b004d0876ea
[ "BSD-3-Clause" ]
8
2015-04-17T15:14:15.000Z
2021-02-24T13:34:55.000Z
numpy_benchmarks/benchmarks/periodic_dist.cpp
adriendelsalle/numpy-benchmarks
5c09448d045726b347e868756f9e1b004d0876ea
[ "BSD-3-Clause" ]
12
2015-04-17T12:24:31.000Z
2021-01-27T08:06:01.000Z
#include "xtensor/xnoalias.hpp" #include "xtensor/xtensor.hpp" #include "xtensor/xarray.hpp" #include "xtensor/xrandom.hpp" #include "xtensor/xview.hpp" #include "xtensor/xfixed.hpp" #include "xtensor/xpad.hpp" #include "xtensor/xindex_view.hpp" #define FORCE_IMPORT_ARRAY #include "xtensor-python/pyarray.hpp" #includ...
27.608696
162
0.655118
adriendelsalle
6ee2a7582bd29f96c6ec8838d399081ce4086521
2,170
cpp
C++
test/huge_page_test.cpp
WeipingQu/memkind
f1c4ac9efd17e45b5bd669023a018e8b47bda398
[ "BSD-3-Clause" ]
null
null
null
test/huge_page_test.cpp
WeipingQu/memkind
f1c4ac9efd17e45b5bd669023a018e8b47bda398
[ "BSD-3-Clause" ]
null
null
null
test/huge_page_test.cpp
WeipingQu/memkind
f1c4ac9efd17e45b5bd669023a018e8b47bda398
[ "BSD-3-Clause" ]
null
null
null
// SPDX-License-Identifier: BSD-2-Clause /* Copyright (C) 2016 - 2020 Intel Corporation. */ #include "common.h" #include "allocator_perf_tool/HugePageUnmap.hpp" #include "allocator_perf_tool/HugePageOrganizer.hpp" #include "TimerSysTime.hpp" #include "Thread.hpp" /* * This test was created because of the munmap() fai...
31
87
0.660369
WeipingQu
6ee5312f3b09eac6769a296dcd6b0f44d8eeb5d6
2,461
cpp
C++
dev/spark/Gem/Code/Utils/Filter.cpp
chrisinajar/spark
3c6b30592c00bc38738cc3aaca2144edfc6cc8b2
[ "AML" ]
2
2020-08-20T03:40:24.000Z
2021-02-07T20:31:43.000Z
dev/spark/Gem/Code/Utils/Filter.cpp
chrisinajar/spark
3c6b30592c00bc38738cc3aaca2144edfc6cc8b2
[ "AML" ]
null
null
null
dev/spark/Gem/Code/Utils/Filter.cpp
chrisinajar/spark
3c6b30592c00bc38738cc3aaca2144edfc6cc8b2
[ "AML" ]
5
2020-08-27T20:44:18.000Z
2021-08-21T22:54:11.000Z
#include "spark_precompiled.h" #include "Filter.h" #include <AzCore/Serialization/SerializeContext.h> #include <AzCore/Serialization/EditContext.h> namespace spark { static AZStd::stack<FilterResult*> resultsStack; void FilterResult::FilterResultScriptConstructor(FilterResult* self, AZ::ScriptDataContext& dc) ...
25.371134
121
0.686306
chrisinajar
6ee9f5eff929c9c70575f862fcd112847b4376d9
977
cpp
C++
main_server/src/entities/hourly_rate/hourly_rate.cpp
GrassoMichele/uPark
d96310c165c3efa9b0251c51ababe06639c4570a
[ "MIT" ]
null
null
null
main_server/src/entities/hourly_rate/hourly_rate.cpp
GrassoMichele/uPark
d96310c165c3efa9b0251c51ababe06639c4570a
[ "MIT" ]
null
null
null
main_server/src/entities/hourly_rate/hourly_rate.cpp
GrassoMichele/uPark
d96310c165c3efa9b0251c51ababe06639c4570a
[ "MIT" ]
null
null
null
#include "hourly_rate.hpp" HourlyRate::HourlyRate(){} HourlyRate::HourlyRate(int id) : id(id) {} HourlyRate::HourlyRate(int id, float amount): id(id), amount(amount) {} void HourlyRate::setId(int id){ this->id = id; } void HourlyRate::setAmount(float amount){ this->amount = amount; } int HourlyRate::getId...
20.787234
93
0.651996
GrassoMichele
6eebb790af7bd43fe9d2373147c269e0b47407b7
1,013
cpp
C++
TestExcel/pageMargins.cpp
antonyenergy-dev/QXlsx
865c0de9f8bf019100b90ef2528422d55ee92206
[ "MIT" ]
1
2020-01-03T14:00:29.000Z
2020-01-03T14:00:29.000Z
TestExcel/pageMargins.cpp
antonyenergy-dev/QXlsx
865c0de9f8bf019100b90ef2528422d55ee92206
[ "MIT" ]
null
null
null
TestExcel/pageMargins.cpp
antonyenergy-dev/QXlsx
865c0de9f8bf019100b90ef2528422d55ee92206
[ "MIT" ]
1
2021-04-03T23:11:39.000Z
2021-04-03T23:11:39.000Z
// pageMargins.cpp #include <QtGlobal> #include <QObject> #include <QString> #include <QDebug> #include "xlsxdocument.h" #include "xlsxchartsheet.h" #include "xlsxcellrange.h" #include "xlsxchart.h" #include "xlsxrichstring.h" #include "xlsxworkbook.h" using namespace QXlsx; #include <cstdio> #include <iostream> //...
17.77193
78
0.611056
antonyenergy-dev
6ef036e9eae822b44864ca9595b31fa50868afd6
12,437
cpp
C++
Editor/LevelEditor/DOShuffle.cpp
ixray-team/xray-vss-archive
b245c8601dcefb505b4b51f58142da6769d4dc92
[ "Linux-OpenIB" ]
1
2022-03-26T17:00:19.000Z
2022-03-26T17:00:19.000Z
Editor/LevelEditor/DOShuffle.cpp
ixray-team/xray-vss-archive
b245c8601dcefb505b4b51f58142da6769d4dc92
[ "Linux-OpenIB" ]
null
null
null
Editor/LevelEditor/DOShuffle.cpp
ixray-team/xray-vss-archive
b245c8601dcefb505b4b51f58142da6769d4dc92
[ "Linux-OpenIB" ]
1
2022-03-26T17:00:21.000Z
2022-03-26T17:00:21.000Z
//--------------------------------------------------------------------------- #include "stdafx.h" #pragma hdrstop #include "DOShuffle.h" #include "ChoseForm.h" #include "ImageThumbnail.h" #include "xr_trims.h" #include "Library.h" #include "DOOneColor.h" #include "EditObject.h" #include "Scene.h" #includ...
34.451524
183
0.508
ixray-team
6ef4630fb60252ff3ead8fda9d590727def2f723
5,886
cpp
C++
source/Win32/XCondition.cpp
MultiSight/multisight-xsdk
02268e1aeb1313cfb2f9515d08d131a4389e49f2
[ "BSL-1.0" ]
null
null
null
source/Win32/XCondition.cpp
MultiSight/multisight-xsdk
02268e1aeb1313cfb2f9515d08d131a4389e49f2
[ "BSL-1.0" ]
null
null
null
source/Win32/XCondition.cpp
MultiSight/multisight-xsdk
02268e1aeb1313cfb2f9515d08d131a4389e49f2
[ "BSL-1.0" ]
null
null
null
//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= // // XSDK // Copyright (c) 2015 Schneider Electric // // Use, modification, and distribution is subject to the Boost Software License, // Version 1.0 (See accompanying file LICENSE). // //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-...
33.634286
115
0.666157
MultiSight
6ef4e0df22cae77eefa9664ef8696f04eb88ce9e
722
hpp
C++
include/back_off.hpp
cblauvelt/connection-pool
ea6e6fd1b4bea750fa694e10e36a53a3f0d0456d
[ "MIT" ]
null
null
null
include/back_off.hpp
cblauvelt/connection-pool
ea6e6fd1b4bea750fa694e10e36a53a3f0d0456d
[ "MIT" ]
7
2022-02-02T04:57:24.000Z
2022-03-20T23:07:02.000Z
include/back_off.hpp
cblauvelt/connection-pool
ea6e6fd1b4bea750fa694e10e36a53a3f0d0456d
[ "MIT" ]
1
2021-09-19T17:55:20.000Z
2021-09-19T17:55:20.000Z
#pragma once #include <chrono> #include <random> #include <stdexcept> #include "types.hpp" namespace cpool { inline milliseconds timer_delay(uint8_t num_retries, std::chrono::milliseconds maximum_backoff = 32s) { // prevent int rollover int retries = std::min(num_retries, (uint8_t)29); std:...
24.896552
80
0.693906
cblauvelt
6ef57bddc556034f284838f43f68d0cfdece60b1
4,861
cpp
C++
src/Engine/Platform/Thread.cpp
SapphireEngine/Engine
bf5a621ac45d76a2635b804c0d8b023f1114d8f5
[ "MIT" ]
2
2020-02-03T04:58:17.000Z
2021-03-13T06:03:52.000Z
src/Engine/Platform/Thread.cpp
SapphireEngine/Engine
bf5a621ac45d76a2635b804c0d8b023f1114d8f5
[ "MIT" ]
null
null
null
src/Engine/Platform/Thread.cpp
SapphireEngine/Engine
bf5a621ac45d76a2635b804c0d8b023f1114d8f5
[ "MIT" ]
null
null
null
#include "stdafx.h" #include "Thread.h" //============================================================================= SE_NAMESPACE_BEGIN #if SE_PLATFORM_WINDOWS //----------------------------------------------------------------------------- bool Mutex::Init(uint32_t spinCount, const char *name) { return InitializeC...
33.524138
93
0.424193
SapphireEngine
6ef59d31bba551d565b1b536bdda1656c7381f6b
1,871
cpp
C++
snippets/0x03/d_copyctor.cpp
pblan/fha-cpp
5008f54133cf4913f0ca558a3817b01b10d04494
[ "CECILL-B" ]
null
null
null
snippets/0x03/d_copyctor.cpp
pblan/fha-cpp
5008f54133cf4913f0ca558a3817b01b10d04494
[ "CECILL-B" ]
null
null
null
snippets/0x03/d_copyctor.cpp
pblan/fha-cpp
5008f54133cf4913f0ca558a3817b01b10d04494
[ "CECILL-B" ]
null
null
null
// author: a.voss@fh-aachen.de #include <iostream> using std::cout; using std::endl; class address { int id; public: address() : id{0} { // (A) cout << "-a| ctor(), id=" << id << endl; } address(int id) : id{id} { ...
26.352113
72
0.435061
pblan
6efc04af7e71c2c6aef92cce088b860c1b483427
17,430
cpp
C++
tests/cuda2.2/tests/SobelFilter/SobelFilter.cpp
florianjacob/gpuocelot
fa63920ee7c5f9a86e264cd8acd4264657cbd190
[ "BSD-3-Clause" ]
221
2015-03-29T02:05:49.000Z
2022-03-25T01:45:36.000Z
tests/cuda2.2/tests/SobelFilter/SobelFilter.cpp
mprevot/gpuocelot
d9277ef05a110e941aef77031382d0260ff115ef
[ "BSD-3-Clause" ]
106
2015-03-29T01:28:42.000Z
2022-02-15T19:38:23.000Z
tests/cuda2.2/tests/SobelFilter/SobelFilter.cpp
mprevot/gpuocelot
d9277ef05a110e941aef77031382d0260ff115ef
[ "BSD-3-Clause" ]
83
2015-07-10T23:09:57.000Z
2022-03-25T03:01:00.000Z
/* * Copyright 1993-2009 NVIDIA Corporation. All rights reserved. * * NOTICE TO USER: * * This source code is subject to NVIDIA ownership rights under U.S. and * international Copyright laws. Users and possessors of this source code * are hereby granted a nonexclusive, royalty-free license to use this code * ...
31.014235
114
0.635571
florianjacob
6efc5d7fe01f241b9c0715c28e342bdbc9a6e094
9,872
hpp
C++
Source/Math/Matrix4.hpp
frobro98/Musa
6e7dcd5d828ca123ce8f43d531948a6486428a3d
[ "MIT" ]
null
null
null
Source/Math/Matrix4.hpp
frobro98/Musa
6e7dcd5d828ca123ce8f43d531948a6486428a3d
[ "MIT" ]
null
null
null
Source/Math/Matrix4.hpp
frobro98/Musa
6e7dcd5d828ca123ce8f43d531948a6486428a3d
[ "MIT" ]
null
null
null
// Copyright 2020, Nathan Blane #pragma once #include "Math/Vector4.hpp" #include "Math/MathDefinitions.hpp" #include "Math/MathAPI.hpp" struct Quat; // TODO - Make the set and constructor methods be free floating methods that // return a constructed matrix of that type class MATH_API Matrix4 { public: static con...
19.863179
102
0.718395
frobro98
6efe513761ea1954ddbf39cedcbdab45bba6b1bb
63
hpp
C++
making coffee/coffee.hpp
mattersievers/cpp_basics
53ca6528ef65af55e4dc2c93f7d2f12ccd6747bc
[ "Apache-2.0" ]
null
null
null
making coffee/coffee.hpp
mattersievers/cpp_basics
53ca6528ef65af55e4dc2c93f7d2f12ccd6747bc
[ "Apache-2.0" ]
null
null
null
making coffee/coffee.hpp
mattersievers/cpp_basics
53ca6528ef65af55e4dc2c93f7d2f12ccd6747bc
[ "Apache-2.0" ]
null
null
null
std::string make_coffee(bool milk = false, bool sugar = false);
63
63
0.746032
mattersievers
6efe6a2198b44083901f948149b2f993ef00259b
5,537
cc
C++
mesh_estimate/src/stereo/inverse_depth_meas_model.cc
pangfumin/okvis_depth_mesh
a6c95a723796b3d9f14db7ec925bb7c046c81039
[ "BSD-3-Clause" ]
3
2018-09-20T01:41:27.000Z
2020-06-03T15:13:20.000Z
mesh_estimate/src/stereo/inverse_depth_meas_model.cc
pangfumin/okvis_depth_mesh
a6c95a723796b3d9f14db7ec925bb7c046c81039
[ "BSD-3-Clause" ]
null
null
null
mesh_estimate/src/stereo/inverse_depth_meas_model.cc
pangfumin/okvis_depth_mesh
a6c95a723796b3d9f14db7ec925bb7c046c81039
[ "BSD-3-Clause" ]
null
null
null
/** * This file is part of FLaME. * Copyright (C) 2017 W. Nicholas Greene (wng@csail.mit.edu) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at y...
33.969325
178
0.590392
pangfumin
3e01ac8d1067bf9c01e97f36acbc934061ca3af3
160
hxx
C++
src/Providers/UNIXProviders/SoftwareFeatureSAPImplementation/UNIX_SoftwareFeatureSAPImplementation_TRU64.hxx
brunolauze/openpegasus-providers-old
b00f1aad575bae144b8538bf57ba5fd5582a4ec7
[ "MIT" ]
1
2020-10-12T09:00:09.000Z
2020-10-12T09:00:09.000Z
src/Providers/UNIXProviders/SoftwareFeatureSAPImplementation/UNIX_SoftwareFeatureSAPImplementation_TRU64.hxx
brunolauze/openpegasus-providers-old
b00f1aad575bae144b8538bf57ba5fd5582a4ec7
[ "MIT" ]
null
null
null
src/Providers/UNIXProviders/SoftwareFeatureSAPImplementation/UNIX_SoftwareFeatureSAPImplementation_TRU64.hxx
brunolauze/openpegasus-providers-old
b00f1aad575bae144b8538bf57ba5fd5582a4ec7
[ "MIT" ]
null
null
null
#ifdef PEGASUS_OS_TRU64 #ifndef __UNIX_SOFTWAREFEATURESAPIMPLEMENTATION_PRIVATE_H #define __UNIX_SOFTWAREFEATURESAPIMPLEMENTATION_PRIVATE_H #endif #endif
13.333333
57
0.88125
brunolauze
3e026e598383d4eb052638fb6a25a51b3efd37d1
787
hpp
C++
includes/Graphics/DebugInfoManager.hpp
razerx100/Gaia
4e58cbb00d5f8b5d1c27fae461c6136ff54bee9b
[ "MIT" ]
null
null
null
includes/Graphics/DebugInfoManager.hpp
razerx100/Gaia
4e58cbb00d5f8b5d1c27fae461c6136ff54bee9b
[ "MIT" ]
null
null
null
includes/Graphics/DebugInfoManager.hpp
razerx100/Gaia
4e58cbb00d5f8b5d1c27fae461c6136ff54bee9b
[ "MIT" ]
null
null
null
#ifndef __DXGI_INFO_MANAGER_HPP__ #define __DXGI_INFO_MANAGER_HPP__ #include <CleanWin.hpp> #include <wrl.h> #include <vector> #include <string> #include <d3d12.h> using Microsoft::WRL::ComPtr; class DebugInfoManager { public: DebugInfoManager(); ~DebugInfoManager() = default; DebugInfoManager(const ...
23.147059
66
0.753494
razerx100
3e03d0985df695dacaabfaf01baafb51955e176a
30,372
cpp
C++
SparCraft/bwapidata/include/UpgradeType.cpp
iali17/TheDon
f21cae2357835e7a21ebf351abb6bb175f67540c
[ "MIT" ]
null
null
null
SparCraft/bwapidata/include/UpgradeType.cpp
iali17/TheDon
f21cae2357835e7a21ebf351abb6bb175f67540c
[ "MIT" ]
null
null
null
SparCraft/bwapidata/include/UpgradeType.cpp
iali17/TheDon
f21cae2357835e7a21ebf351abb6bb175f67540c
[ "MIT" ]
null
null
null
#include <string> #include <map> #include <set> #include <BWAPI/UpgradeType.h> #include <BWAPI/Race.h> #include <BWAPI/UnitType.h> #include <Util/Foreach.h> #include "Common.h" namespace BWAPI { bool initializingUpgradeType = true; class UpgradeTypeInternal { public: UpgradeTypeInterna...
72.314286
244
0.690307
iali17
3e086ad85c6c673c77ac740a029a3b6fabc19c7c
3,327
cpp
C++
ImageVis3D/UI/BrowseData.cpp
JensDerKrueger/ImageVis3D
699ab32132c899b7ea227bc87a9de80768ab879f
[ "MIT" ]
null
null
null
ImageVis3D/UI/BrowseData.cpp
JensDerKrueger/ImageVis3D
699ab32132c899b7ea227bc87a9de80768ab879f
[ "MIT" ]
null
null
null
ImageVis3D/UI/BrowseData.cpp
JensDerKrueger/ImageVis3D
699ab32132c899b7ea227bc87a9de80768ab879f
[ "MIT" ]
null
null
null
/* For more information, please see: http://software.sci.utah.edu The MIT License Copyright (c) 2008 Scientific Computing and Imaging Institute, University of Utah. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation ...
31.386792
144
0.701232
JensDerKrueger
3e0932793cd541b17d107d1d47c468a3170b96e2
1,517
cpp
C++
client/UDPClient.cpp
connest/BerkeleySockets
e3facc13150409483ab91ec373609715ac832602
[ "MIT" ]
null
null
null
client/UDPClient.cpp
connest/BerkeleySockets
e3facc13150409483ab91ec373609715ac832602
[ "MIT" ]
null
null
null
client/UDPClient.cpp
connest/BerkeleySockets
e3facc13150409483ab91ec373609715ac832602
[ "MIT" ]
null
null
null
#include "UDPClient.h" #include <iostream> #include <arpa/inet.h> #include <unistd.h> #include <cstring> UDPClient::UDPClient(const std::string &address, short port) : IClient(address, port) { memset(&server_address, 0, sizeof(server_address)); server_address.sin_family = AF_INET; server_address.sin...
19.960526
77
0.607119
connest
3e09e4dd05661b82fafb4fc33c6a746ea5544951
310
cpp
C++
src/xray/shader_compiler/sources/shader_compiler_library_linkage.cpp
ixray-team/ixray-2.0
85c3a544175842323fc82f42efd96c66f0fc5abb
[ "Linux-OpenIB" ]
3
2021-10-30T09:36:14.000Z
2022-03-26T17:00:06.000Z
src/xray/shader_compiler/sources/shader_compiler_library_linkage.cpp
acidicMercury8/ixray-2.0
85c3a544175842323fc82f42efd96c66f0fc5abb
[ "Linux-OpenIB" ]
null
null
null
src/xray/shader_compiler/sources/shader_compiler_library_linkage.cpp
acidicMercury8/ixray-2.0
85c3a544175842323fc82f42efd96c66f0fc5abb
[ "Linux-OpenIB" ]
1
2022-03-26T17:00:08.000Z
2022-03-26T17:00:08.000Z
//////////////////////////////////////////////////////////////////////////// // Created : 18.05.2010 // Author : Armen Abroyan // Copyright (C) GSC Game World - 2010 //////////////////////////////////////////////////////////////////////////// #include "pch.h" #include <xray/core/library_linkage.h>
34.444444
77
0.325806
ixray-team
3e0b7f9e60c94d9507bd52cf0afd05ba81479e02
201
hpp
C++
unicode_back/character_categories/punctuation_dash.hpp
do-m-en/random_regex_string
7ded2dcf7c03122a68e66b5db6f94403e8c9c690
[ "BSL-1.0" ]
null
null
null
unicode_back/character_categories/punctuation_dash.hpp
do-m-en/random_regex_string
7ded2dcf7c03122a68e66b5db6f94403e8c9c690
[ "BSL-1.0" ]
null
null
null
unicode_back/character_categories/punctuation_dash.hpp
do-m-en/random_regex_string
7ded2dcf7c03122a68e66b5db6f94403e8c9c690
[ "BSL-1.0" ]
null
null
null
#ifndef UNICODE_PUNCTUATION_DASH_HPP_INCLUDED #define UNICODE_PUNCTUATION_DASH_HPP_INCLUDED namespace unicode { // Pd class punctuation_dash { }; } #endif // UNICODE_PUNCTUATION_DASH_HPP_INCLUDED
13.4
47
0.830846
do-m-en
3e0debffd5950077536d0e6189e7c788e3474386
15,480
hpp
C++
include/hlsv/hlsv_reflect.hpp
mossseank/HLSV
5725b842ec629536a4156321ac27c926ad063590
[ "MIT" ]
null
null
null
include/hlsv/hlsv_reflect.hpp
mossseank/HLSV
5725b842ec629536a4156321ac27c926ad063590
[ "MIT" ]
null
null
null
include/hlsv/hlsv_reflect.hpp
mossseank/HLSV
5725b842ec629536a4156321ac27c926ad063590
[ "MIT" ]
null
null
null
/* * The HLSV project and all associated files and assets, including this file, are licensed under the MIT license, the * text of which can be found in the LICENSE file at the root of this project, and is available online at * (https://opensource.org/licenses/MIT). In the event of redistribution of this cod...
43
138
0.702261
mossseank
3e137481138fdf09e3991cecdf367f1246be62c3
1,225
cpp
C++
tests/Droplet_tests.cpp
padinadrian/droplet
921415b5fed5a19fa5d7131a79713c2e574ca0d6
[ "Apache-2.0" ]
null
null
null
tests/Droplet_tests.cpp
padinadrian/droplet
921415b5fed5a19fa5d7131a79713c2e574ca0d6
[ "Apache-2.0" ]
null
null
null
tests/Droplet_tests.cpp
padinadrian/droplet
921415b5fed5a19fa5d7131a79713c2e574ca0d6
[ "Apache-2.0" ]
null
null
null
/** * Author: Adrian Padin (padin.adrian@gmail.com) * Date: 2020/03/16 */ /* ===== Includes ===== */ #include <gtest/gtest.h> extern "C" { #include "Droplet.h" #include "BackgroundMap.h" #include "data/maps/droplet_level1_bg.c" } /* ===== Tests ===== */ TEST(Position, DropletCheckMovement) { /...
21.12069
56
0.568163
padinadrian
3e1527f339c5acd7412cd6a7a35cb08a7ecef28a
3,959
cpp
C++
UI/GameHUD/Widget/Widget_PlayerSlowMotion.cpp
Bornsoul/Revenger_JoyContinue
599716970ca87a493bf3a959b36de0b330b318f1
[ "MIT" ]
null
null
null
UI/GameHUD/Widget/Widget_PlayerSlowMotion.cpp
Bornsoul/Revenger_JoyContinue
599716970ca87a493bf3a959b36de0b330b318f1
[ "MIT" ]
null
null
null
UI/GameHUD/Widget/Widget_PlayerSlowMotion.cpp
Bornsoul/Revenger_JoyContinue
599716970ca87a493bf3a959b36de0b330b318f1
[ "MIT" ]
null
null
null
// Fill out your copyright notice in the Description page of Project Settings. #include "Widget_PlayerSlowMotion.h" #include "../../Core/WidgetAni_Mng.h" #include "Runtime/UMG/Public/Animation/WidgetAnimation.h" #include "Kismet/KismetMathLibrary.h" void UWidget_PlayerSlowMotion::NativeConstruct() { Super::NativeCo...
21.994444
115
0.735034
Bornsoul
3e1cd3e9a033fa1b10782747b2d1d830fd9ec04f
1,048
cpp
C++
Editor/Source/Misc/EditorSelection.cpp
jkorn2324/jkornEngine
5822f2a311ed62e6ca495919872f0f436d300733
[ "MIT" ]
null
null
null
Editor/Source/Misc/EditorSelection.cpp
jkorn2324/jkornEngine
5822f2a311ed62e6ca495919872f0f436d300733
[ "MIT" ]
null
null
null
Editor/Source/Misc/EditorSelection.cpp
jkorn2324/jkornEngine
5822f2a311ed62e6ca495919872f0f436d300733
[ "MIT" ]
null
null
null
#include "EditorPCH.h" #include "EditorSelection.h" #include "EditorCamera.h" namespace Editor { static Engine::Entity s_selectedEntity; static bool OnEntityCreated_EditorSelection(Engine::EntityCreatedEvent& event) { return true; } static bool OnEntityDestroyed_EditorSelection(Engine::EntityDestroyedEvent&...
23.288889
83
0.77958
jkorn2324