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
0a3ca601ce0b54efde7d014701b01a91881f2edd
468
hpp
C++
experimental/Pomdog.Experimental/Skeletal2D/AnimationTimeInterval.hpp
bis83/pomdog
133a9262958d539ae6d93664e6cb2207b5b6c7ff
[ "MIT" ]
null
null
null
experimental/Pomdog.Experimental/Skeletal2D/AnimationTimeInterval.hpp
bis83/pomdog
133a9262958d539ae6d93664e6cb2207b5b6c7ff
[ "MIT" ]
null
null
null
experimental/Pomdog.Experimental/Skeletal2D/AnimationTimeInterval.hpp
bis83/pomdog
133a9262958d539ae6d93664e6cb2207b5b6c7ff
[ "MIT" ]
null
null
null
// Copyright (c) 2013-2015 mogemimi. // Distributed under the MIT license. See LICENSE.md file for details. #ifndef POMDOG_ANIMATIONTIMEINTERVAL_DEA1AD60_HPP #define POMDOG_ANIMATIONTIMEINTERVAL_DEA1AD60_HPP #include <chrono> namespace Pomdog { using AnimationTimeInterval = std::chrono::duration<float, std::ratio<1...
26
74
0.794872
bis83
0a3e53f06aaac98c9ef4c85f5069a14b30c576fb
327
cpp
C++
Brickjoon_Src/Bronze2/17608.cpp
waixxt3213/Brickjoon
66b38d7026febb090d47db1c8c56793ff1e54617
[ "MIT" ]
null
null
null
Brickjoon_Src/Bronze2/17608.cpp
waixxt3213/Brickjoon
66b38d7026febb090d47db1c8c56793ff1e54617
[ "MIT" ]
null
null
null
Brickjoon_Src/Bronze2/17608.cpp
waixxt3213/Brickjoon
66b38d7026febb090d47db1c8c56793ff1e54617
[ "MIT" ]
1
2020-10-10T14:35:59.000Z
2020-10-10T14:35:59.000Z
#include <bits/stdc++.h> using namespace std; int main() { ios_base::sync_with_stdio(0); cin.tie(nullptr); int n,max{},i,r{}; cin >> n; stack<int> num; while(n--) { cin >> i; num.push(i); } while(num.empty()!=1) { if (max < num.top()) { max = num.top(); r++; } num.pop(); } cout << r; } /...
11.678571
30
0.519878
waixxt3213
0a3f1d8d0c88247761e9cade374036be2a17fa3a
4,762
cc
C++
servlib/prophet/Dictionary.cc
delay-tolerant-networking/DTN2
1c12a9dea32c5cbae8c46db105012a2031f4161e
[ "Apache-2.0" ]
14
2016-06-27T19:28:23.000Z
2021-06-28T20:41:17.000Z
servlib/prophet/Dictionary.cc
delay-tolerant-networking/DTN2
1c12a9dea32c5cbae8c46db105012a2031f4161e
[ "Apache-2.0" ]
null
null
null
servlib/prophet/Dictionary.cc
delay-tolerant-networking/DTN2
1c12a9dea32c5cbae8c46db105012a2031f4161e
[ "Apache-2.0" ]
5
2019-09-23T11:07:39.000Z
2021-06-28T20:41:24.000Z
/* * Copyright 2007 Baylor University * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
26.752809
78
0.609198
delay-tolerant-networking
0a401f23e819ff14a8ea53f85dfc66cd5dcaba64
899
hpp
C++
framework/frontend/parser/packrat/packrat_parser.hpp
aamshukov/frontend
6be5fea43b7776691034f3b4f56d318d7cdf18f8
[ "MIT" ]
2
2018-12-21T17:08:55.000Z
2018-12-21T17:08:57.000Z
framework/frontend/parser/packrat/packrat_parser.hpp
aamshukov/frontend
6be5fea43b7776691034f3b4f56d318d7cdf18f8
[ "MIT" ]
null
null
null
framework/frontend/parser/packrat/packrat_parser.hpp
aamshukov/frontend
6be5fea43b7776691034f3b4f56d318d7cdf18f8
[ "MIT" ]
null
null
null
//.............................. // UI Lab Inc. Arthur Amshukov . //.............................. #ifndef __PACKRAT_PARSER_H__ #define __PACKRAT_PARSER_H__ #pragma once BEGIN_NAMESPACE(frontend) USINGNAMESPACE(core) template <typename Token, typename TreeTraits> class packrat_parser : private recursive_descent_par...
29.966667
107
0.675195
aamshukov
0a455562cf02c6bdcea96a96beb45063a758632d
2,417
cpp
C++
ProvinceMapper/Source/Localization/LocalizationMapper.cpp
Idhrendur/provinceMapper
909baf41926263be9d844c69c85da04af34b19b3
[ "MIT" ]
10
2018-12-22T03:59:24.000Z
2021-03-20T02:11:05.000Z
ProvinceMapper/Source/Localization/LocalizationMapper.cpp
cetvrtak/provinceMapper
9e05003c5b11c7d252aa74cb6ef4bf9a953dd13b
[ "MIT" ]
24
2018-12-04T04:43:32.000Z
2021-10-16T16:23:06.000Z
ProvinceMapper/Source/Localization/LocalizationMapper.cpp
cetvrtak/provinceMapper
9e05003c5b11c7d252aa74cb6ef4bf9a953dd13b
[ "MIT" ]
14
2019-01-09T06:00:09.000Z
2021-09-02T10:26:55.000Z
#include "LocalizationMapper.h" #include "CsvScraper.h" #include "OSCompatibilityLayer.h" #include "YmlScraper.h" #include <fstream> void LocalizationMapper::scrapeSourceDir(const std::string& dirPath) { std::string actualPath; // our dirpath is a path to the map folder. locs are elsewhere. if (commonItems::DoesFol...
34.528571
95
0.724452
Idhrendur
0a489e288698d1d9f1cd35d2b001d9a9930d9c41
322
cpp
C++
QEverCloud/EventLoopFinisher.cpp
mgsxx/QEverCloud
3b031507d1ef03c994f35ff9b1e52849caadc01f
[ "MIT" ]
10
2015-01-25T16:46:58.000Z
2022-01-29T19:46:45.000Z
QEverCloud/EventLoopFinisher.cpp
mgsxx/QEverCloud
3b031507d1ef03c994f35ff9b1e52849caadc01f
[ "MIT" ]
1
2015-08-31T18:24:01.000Z
2015-09-05T18:12:06.000Z
QEverCloud/EventLoopFinisher.cpp
mgsxx/QEverCloud
3b031507d1ef03c994f35ff9b1e52849caadc01f
[ "MIT" ]
null
null
null
#include "EventLoopFinisher.h" /** @cond HIDDEN_SYMBOLS */ qevercloud::EventLoopFinisher::EventLoopFinisher(QEventLoop* loop, int exitCode, QObject *parent) : QObject(parent), loop_(loop), exitCode_(exitCode) { } void qevercloud::EventLoopFinisher::stopEventLoop() { loop_->exit(exitCode_); } /** @endcond *...
20.125
99
0.723602
mgsxx
aea72851e869f096646664dfaec92a39999596cf
1,479
cpp
C++
Engine/src/Common/Manager.cpp
Proyecto03/Motor
9e7f379f1f64bc911293434fdfb8aa18bb8f99ab
[ "MIT" ]
1
2021-07-24T03:10:38.000Z
2021-07-24T03:10:38.000Z
Engine/src/Common/Manager.cpp
Proyecto03/Motor
9e7f379f1f64bc911293434fdfb8aa18bb8f99ab
[ "MIT" ]
null
null
null
Engine/src/Common/Manager.cpp
Proyecto03/Motor
9e7f379f1f64bc911293434fdfb8aa18bb8f99ab
[ "MIT" ]
2
2021-05-11T10:47:37.000Z
2021-07-24T03:10:39.000Z
#include "Manager.h" #include "Component.h" #include "Entity.h" Manager::Manager(ManID id) : _manId(id) { } Manager::~Manager() { destroyAllComponents(); } int Manager::getCompID(const std::string& s) { auto e = enum_map_.find(s); if (e != enum_map_.end()) return e->second; return -1; } const std::list<Compo...
19.460526
105
0.665314
Proyecto03
aeb397536b73870e71e8a1314c1503e197e0c49c
3,029
cpp
C++
RX64M/rx64m_DMAC_sample/main.cpp
hirakuni45/RX
3fb91bfc8d5282cde7aa00b8bd37f4aad32582d0
[ "BSD-3-Clause" ]
56
2015-06-04T14:15:38.000Z
2022-03-01T22:58:49.000Z
RX64M/rx64m_DMAC_sample/main.cpp
hirakuni45/RX
3fb91bfc8d5282cde7aa00b8bd37f4aad32582d0
[ "BSD-3-Clause" ]
30
2019-07-27T11:03:14.000Z
2021-12-14T09:59:57.000Z
RX64M/rx64m_DMAC_sample/main.cpp
hirakuni45/RX
3fb91bfc8d5282cde7aa00b8bd37f4aad32582d0
[ "BSD-3-Clause" ]
15
2017-06-24T11:33:39.000Z
2021-12-07T07:26:58.000Z
//=====================================================================// /*! @file @brief RX64M DMAC サンプル @n ・P07(176) ピンに赤色LED(VF:1.9V)を吸い込みで接続する @n @author 平松邦仁 (hira@rvf-rc45.net) @copyright Copyright (C) 2018 Kunihito Hiramatsu @n Released under the MIT license @n https://github.com/hirakuni45...
20.193333
73
0.610432
hirakuni45
aeb5802c328f0b8dbad33a35390b174a120c77cd
8,450
cpp
C++
src/fonts/SkTestScalerContext.cpp
Crawping/skia_custom
a7fd773196f844c1345a876bd14847c5992d27a3
[ "BSD-3-Clause" ]
null
null
null
src/fonts/SkTestScalerContext.cpp
Crawping/skia_custom
a7fd773196f844c1345a876bd14847c5992d27a3
[ "BSD-3-Clause" ]
null
null
null
src/fonts/SkTestScalerContext.cpp
Crawping/skia_custom
a7fd773196f844c1345a876bd14847c5992d27a3
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright 2014 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "SkBitmap.h" #include "SkCanvas.h" #include "SkDescriptor.h" #include "SkGlyph.h" #include "SkMask.h" // #include "SkOTUtils.h" #include "SkScalerContext.h" #include ...
33.665339
97
0.612189
Crawping
aec07d963f89313f25e3aa77fc735d723287fffe
2,419
hh
C++
src/solvers/mg/SpectrumGS.hh
baklanovp/libdetran
820efab9d03ae425ccefb9520bdb6c086fdbf939
[ "MIT" ]
4
2015-03-07T16:20:23.000Z
2020-02-10T13:40:16.000Z
src/solvers/mg/SpectrumGS.hh
baklanovp/libdetran
820efab9d03ae425ccefb9520bdb6c086fdbf939
[ "MIT" ]
3
2018-02-27T21:24:22.000Z
2020-12-16T00:56:44.000Z
src/solvers/mg/SpectrumGS.hh
baklanovp/libdetran
820efab9d03ae425ccefb9520bdb6c086fdbf939
[ "MIT" ]
9
2015-03-07T16:20:26.000Z
2022-01-29T00:14:23.000Z
//----------------------------------*-C++-*-----------------------------------// /** * @file SpectrumGS.hh * @brief SpectrumGS class definition * @note Copyright (C) 2013 Jeremy Roberts */ //----------------------------------------------------------------------------// #ifndef detran_SPECTRUMGS_HH_ #define de...
32.253333
80
0.465068
baklanovp
aec0f3682ad0636eb87525d8697add36b54f56d4
7,982
cpp
C++
d3d11/setup/src/demo.cpp
tocchan/sd3_samples
1dcb4d7917629c910e1e36dd6c99b836fa03c4f8
[ "MIT" ]
3
2017-01-09T20:27:07.000Z
2017-01-18T23:03:13.000Z
d3d11/setup/src/demo.cpp
tocchan/guildhall_samples
1dcb4d7917629c910e1e36dd6c99b836fa03c4f8
[ "MIT" ]
null
null
null
d3d11/setup/src/demo.cpp
tocchan/guildhall_samples
1dcb4d7917629c910e1e36dd6c99b836fa03c4f8
[ "MIT" ]
null
null
null
#include "demo.h" #include "window.h" // D3D Stuff //------------------------------------------------------------------------ // DEFINES //------------------------------------------------------------------------ #define WINDOW_TITLE "D3D11 SETUP" #define WINDOW_RES_X (1280) #define WINDOW_RES_Y (720) #defi...
36.78341
140
0.527311
tocchan
aec1b457b24fa103552f0d01402ddcb71222f4ad
11,427
cpp
C++
CodeGeneration/concrete/PackCPP/impl/SimpleMDGenerator.cpp
tedi21/SisypheReview
f7c05bad1ccc036f45870535149d9685e1120c2c
[ "Unlicense" ]
null
null
null
CodeGeneration/concrete/PackCPP/impl/SimpleMDGenerator.cpp
tedi21/SisypheReview
f7c05bad1ccc036f45870535149d9685e1120c2c
[ "Unlicense" ]
null
null
null
CodeGeneration/concrete/PackCPP/impl/SimpleMDGenerator.cpp
tedi21/SisypheReview
f7c05bad1ccc036f45870535149d9685e1120c2c
[ "Unlicense" ]
null
null
null
#include "SimpleMDGenerator.hpp" namespace dsg { namespace generator { SimpleMDGenerator::SimpleMDGenerator() { Source_R2 = CreateFile_R2; CreateFile_R2 = (CreateClassDescription << line_g(1) << CreateClassReference) [ent0, entN]; CreateClas...
47.6125
133
0.403693
tedi21
aed9c56612c4cfc6625a62898aa11cd4807e4ede
6,129
cpp
C++
Engine/dragwidget.cpp
vadkasevas/BAS
657f62794451c564c77d6f92b2afa9f5daf2f517
[ "MIT" ]
302
2016-05-20T12:55:23.000Z
2022-03-29T02:26:14.000Z
Engine/dragwidget.cpp
chulakshana/BAS
955f5a41bd004bcdd7d19725df6ab229b911c09f
[ "MIT" ]
9
2016-07-21T09:04:50.000Z
2021-05-16T07:34:42.000Z
Engine/dragwidget.cpp
chulakshana/BAS
955f5a41bd004bcdd7d19725df6ab229b911c09f
[ "MIT" ]
113
2016-05-18T07:48:37.000Z
2022-02-26T12:59:39.000Z
#if QT_VERSION >= 0x050000 #include <QtWidgets> #endif #include <QLabel> #include <QDragEnterEvent> #include <QPainter> #include <QMimeData> #include <QDrag> #include "every_cpp.h" #include <QScrollArea> #include "dragwidget.h" DragWidget::DragWidget(QWidget *parent) : QFrame(parent) { this->setContentsM...
24.225296
122
0.566161
vadkasevas
aedbb0e0fe99e4a60d0c5df59e4e10ba624b067b
2,172
cpp
C++
src/Video/LowLevelRenderer/OpenGL/OpenGLBuffer.cpp
Chainsawkitten/HymnToBeauty
b0c431869fee4314eca2aee65d93e78f7e707f10
[ "MIT" ]
10
2019-01-13T05:51:54.000Z
2022-02-02T14:34:47.000Z
src/Video/LowLevelRenderer/OpenGL/OpenGLBuffer.cpp
Chainsawkitten/HymnToBeauty
b0c431869fee4314eca2aee65d93e78f7e707f10
[ "MIT" ]
46
2016-12-30T11:14:25.000Z
2021-09-04T12:50:40.000Z
src/Video/LowLevelRenderer/OpenGL/OpenGLBuffer.cpp
Chainsawkitten/HymnToBeauty
b0c431869fee4314eca2aee65d93e78f7e707f10
[ "MIT" ]
4
2017-09-28T09:00:58.000Z
2019-10-22T05:28:32.000Z
#include "OpenGLBuffer.hpp" #include <assert.h> #include <cstddef> namespace Video { OpenGLBuffer::OpenGLBuffer(Buffer::BufferUsage bufferUsage, unsigned int size, const void* data) : Buffer(bufferUsage) { assert(size > 0); this->size = size; // Map high-level buffer usage to OpenGL buffer type and usa...
27.15
226
0.677716
Chainsawkitten
aedc429bf82edd33067c4288ddd0c251b9e4a389
653
cpp
C++
Cpp/DSA-gfg/arrays/maxSumOfK-consectiveEle.cpp
uday256071/DataStructures-and-Algorithms
d5740a27a8e4141616307ec3771bc7ad95ff9f72
[ "MIT" ]
null
null
null
Cpp/DSA-gfg/arrays/maxSumOfK-consectiveEle.cpp
uday256071/DataStructures-and-Algorithms
d5740a27a8e4141616307ec3771bc7ad95ff9f72
[ "MIT" ]
null
null
null
Cpp/DSA-gfg/arrays/maxSumOfK-consectiveEle.cpp
uday256071/DataStructures-and-Algorithms
d5740a27a8e4141616307ec3771bc7ad95ff9f72
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> using namespace std; //Sliding window technique int maxSumKconsecutiveEle(vector<int> v,int k){ int p1,p2,maxSum=0,sum =0; int n= v.size(); if(n<k || k==0) return 0; for(int i=0;i<k;i++){ sum+= v.at(i); } for(int i=1;i<n-k;i++){ sum= sum ...
23.321429
82
0.548239
uday256071
aedcb6f7071bfbfd16a56143c004f9da3a479b6c
3,757
cpp
C++
src/atta/fileSystem/fileManager.cpp
Brenocq/Atta
e29e01067e06b97bc58165bca7351723174c6fc4
[ "MIT" ]
1
2021-06-18T00:48:13.000Z
2021-06-18T00:48:13.000Z
src/atta/fileSystem/fileManager.cpp
Brenocq/Atta
e29e01067e06b97bc58165bca7351723174c6fc4
[ "MIT" ]
6
2021-03-11T21:01:27.000Z
2021-09-06T19:41:46.000Z
src/atta/fileSystem/fileManager.cpp
Brenocq/Atta
e29e01067e06b97bc58165bca7351723174c6fc4
[ "MIT" ]
1
2021-09-04T19:54:41.000Z
2021-09-04T19:54:41.000Z
//-------------------------------------------------- // Atta File System // fileManager.cpp // Date: 2021-09-05 // By Breno Cunha Queiroz //-------------------------------------------------- #include <atta/fileSystem/fileManager.h> #include <atta/fileSystem/watchers/nullFileWatcher.h> #include <atta/fileSystem/watchers...
28.037313
113
0.602875
Brenocq
aedecdbaf6d76b8b02e9d9444950b32f54717522
974
hpp
C++
include/DirectDrawSurfaceWriter.hpp
antenous/image
7743a31d87bae1b76efdd4023f21d0f861093057
[ "BSD-3-Clause" ]
null
null
null
include/DirectDrawSurfaceWriter.hpp
antenous/image
7743a31d87bae1b76efdd4023f21d0f861093057
[ "BSD-3-Clause" ]
null
null
null
include/DirectDrawSurfaceWriter.hpp
antenous/image
7743a31d87bae1b76efdd4023f21d0f861093057
[ "BSD-3-Clause" ]
null
null
null
/* * @file include/DirectDrawSurfaceWriter.hpp * DirectDrawSurfaceWriter.hpp * * Created on: Dec 17, 2017 * Author: Antero Nousiainen */ #ifndef DIRECTDRAWSURFACEWRITER_HPP_ #define DIRECTDRAWSURFACEWRITER_HPP_ #include <ostream> #include "DirectDrawSurface.hpp" namespace image { class DirectDrawSur...
19.48
84
0.654004
antenous
aee2d6ed45a3c7ca1f414163797a051feb912b59
255
cpp
C++
smile-clinic/src/enum/PessoaTipoEnum.cpp
hjCostaBR/hjcostabr_smile-clinic
bb74f77f5a4b6a8ad648dc8a752306351e5de01f
[ "MIT" ]
null
null
null
smile-clinic/src/enum/PessoaTipoEnum.cpp
hjCostaBR/hjcostabr_smile-clinic
bb74f77f5a4b6a8ad648dc8a752306351e5de01f
[ "MIT" ]
null
null
null
smile-clinic/src/enum/PessoaTipoEnum.cpp
hjCostaBR/hjcostabr_smile-clinic
bb74f77f5a4b6a8ad648dc8a752306351e5de01f
[ "MIT" ]
null
null
null
/** * File: PessoaTipoEnum.cpp * Enum: PessoaTipoEnum * Author: hjCostaBR * * Enum de tipos de pessoa, no sistema * Smile Clinic */ #ifndef PESSOA_TIPO_CPP #define PESSOA_TIPO_CPP enum PessoaTipoEnum { FUNCIONARIO = 0, PACIENTE }; #endif
15
38
0.698039
hjCostaBR
aee6f103908d0dc64aea3c668d6a5515358c484a
1,131
cpp
C++
3. Algorithms on Graphs/Programming assignment 2/acyclicity/acyclicity.cpp
theyashmhatre/coursera-ds-algorithms
99e08921c0c0271e66a9aea42e7d38b7df494007
[ "MIT" ]
58
2017-12-24T05:08:58.000Z
2022-01-09T01:00:30.000Z
3. Algorithms on Graphs/Programming assignment 2/acyclicity/acyclicity.cpp
theyashmhatre/coursera-ds-algorithms
99e08921c0c0271e66a9aea42e7d38b7df494007
[ "MIT" ]
null
null
null
3. Algorithms on Graphs/Programming assignment 2/acyclicity/acyclicity.cpp
theyashmhatre/coursera-ds-algorithms
99e08921c0c0271e66a9aea42e7d38b7df494007
[ "MIT" ]
49
2017-12-07T02:52:46.000Z
2022-02-08T02:49:09.000Z
#include <iostream> #include <vector> using namespace std; vector<bool> visited, rec_stack; bool _acyclic(vector<vector<int> > &adj, int i) { if (!visited[i]) { // put in recursive stack and mark visited visited[i] = true; rec_stack[i] = true; for (int j = 0; j < adj[i].size(); j...
22.62
64
0.50221
theyashmhatre
aeee0eb9c4675aa56be42fec6103e8c8688fc094
6,121
cpp
C++
src/m_user.cpp
DreamHacks/dd3d
4665cc6e55b415c48385c6b6279bb3fd5f8e4bc9
[ "MIT" ]
null
null
null
src/m_user.cpp
DreamHacks/dd3d
4665cc6e55b415c48385c6b6279bb3fd5f8e4bc9
[ "MIT" ]
null
null
null
src/m_user.cpp
DreamHacks/dd3d
4665cc6e55b415c48385c6b6279bb3fd5f8e4bc9
[ "MIT" ]
5
2017-07-09T12:03:19.000Z
2022-02-09T09:37:36.000Z
#include "dd3d.h" #include "log.h" #include <time.h> #include "m_user.h" #include "utils.h" const char* TABLE_USER = "vip_user"; const char* TABLE_SESSION = "vip_session"; static mysqlpp::Connection* Conn; void m_user_init(void) { Conn = database_conn(); } void m_user_cleanup(void) { Conn = NULL; } bool m_u...
28.602804
139
0.622937
DreamHacks
aef07315a50b644c549da3a9d299dd76c5d33cd0
4,496
cpp
C++
src/Platforms/OpenGL/GLStandardRenderer.cpp
merphous/LavaEngine
33fc8cab9b31a93426f5ad430ca355dd4456197a
[ "MIT" ]
1
2021-08-07T21:20:19.000Z
2021-08-07T21:20:19.000Z
src/Platforms/OpenGL/GLStandardRenderer.cpp
merphous/LavaEngine
33fc8cab9b31a93426f5ad430ca355dd4456197a
[ "MIT" ]
null
null
null
src/Platforms/OpenGL/GLStandardRenderer.cpp
merphous/LavaEngine
33fc8cab9b31a93426f5ad430ca355dd4456197a
[ "MIT" ]
1
2021-07-31T21:54:33.000Z
2021-07-31T21:54:33.000Z
#include "GLStandardRenderer.h" #include "GLShaderBank.h" namespace Lava { namespace OpenGL { GLStandardRenderer::GLStandardRenderer(Scene* scene, std::vector<GLShader*> shader_list) : EntityRenderer(scene) { m_bank = new GLShaderBank(); if (shader_list.empty()) LoadDefaultShader(shader_list); fo...
34.852713
131
0.715525
merphous
aef1f4448cefe4926fecfce99b728f893ba5f66e
337
cpp
C++
src/modules/commands/power_command.cpp
molayab/bobot-car-iot
978a7ce279b894619f3b03ceb6d7675d8a414e2b
[ "MIT" ]
null
null
null
src/modules/commands/power_command.cpp
molayab/bobot-car-iot
978a7ce279b894619f3b03ceb6d7675d8a414e2b
[ "MIT" ]
null
null
null
src/modules/commands/power_command.cpp
molayab/bobot-car-iot
978a7ce279b894619f3b03ceb6d7675d8a414e2b
[ "MIT" ]
null
null
null
#include "modules/commands/power_command.h" PowerCommand::PowerCommand(Engine* engine, Engine::motor_descriptor_r motor, uint8_t power) { this->engine = engine; this->motor = motor; this->power = power; } void PowerCommand::execute() { engine->set_power...
25.923077
58
0.608309
molayab
aef93c965911a85823ced57d8213df001299ae21
636
cpp
C++
0187 Repeated DNA Sequences/solution.cpp
Aden-Tao/LeetCode
c34019520b5808c4251cb76f69ca2befa820401d
[ "MIT" ]
1
2019-12-19T04:13:15.000Z
2019-12-19T04:13:15.000Z
0187 Repeated DNA Sequences/solution.cpp
Aden-Tao/LeetCode
c34019520b5808c4251cb76f69ca2befa820401d
[ "MIT" ]
null
null
null
0187 Repeated DNA Sequences/solution.cpp
Aden-Tao/LeetCode
c34019520b5808c4251cb76f69ca2befa820401d
[ "MIT" ]
null
null
null
#include "bits/stdc++.h" using namespace std; class Solution { public: vector<string> findRepeatedDnaSequences(string s) { unordered_map<string, int> hash; vector<string> res; for (int i = 0; i + 10 <= s.size(); i ++) { string str = s.substr(i, 10); ...
22.714286
64
0.518868
Aden-Tao
aef99b08d481b7a0b5c2709a4b6869d9effb9b2c
2,106
cpp
C++
bindings/python/crocoddyl/core/activations/smooth-2norm.cpp
spykspeigel/crocoddyl
0500e398861564b6986d99206a1e0ccec0d66a33
[ "BSD-3-Clause" ]
322
2019-06-04T12:04:00.000Z
2022-03-28T14:37:44.000Z
bindings/python/crocoddyl/core/activations/smooth-2norm.cpp
spykspeigel/crocoddyl
0500e398861564b6986d99206a1e0ccec0d66a33
[ "BSD-3-Clause" ]
954
2019-09-02T10:07:27.000Z
2022-03-31T16:14:25.000Z
bindings/python/crocoddyl/core/activations/smooth-2norm.cpp
spykspeigel/crocoddyl
0500e398861564b6986d99206a1e0ccec0d66a33
[ "BSD-3-Clause" ]
89
2019-08-13T13:37:52.000Z
2022-03-31T15:55:07.000Z
/////////////////////////////////////////////////////////////////////////////// // BSD 3-Clause License // // Copyright (C) 2020-2021, LAAS-CNRS, University of Edinburgh // Copyright note valid unless otherwise stated in individual files. // All rights reserved. /////////////////////////////////////////////////////////...
47.863636
100
0.58547
spykspeigel
aefa99702dd6d6210dbf98b0cab762d5201865c3
265
cpp
C++
C++/1_EntradaSalidaDeDatos/potenciaCuadrada.cpp
JoseVcode/learn-programming
829457010d3ec439a2a164efb0e69b64ec56eeb7
[ "MIT" ]
null
null
null
C++/1_EntradaSalidaDeDatos/potenciaCuadrada.cpp
JoseVcode/learn-programming
829457010d3ec439a2a164efb0e69b64ec56eeb7
[ "MIT" ]
null
null
null
C++/1_EntradaSalidaDeDatos/potenciaCuadrada.cpp
JoseVcode/learn-programming
829457010d3ec439a2a164efb0e69b64ec56eeb7
[ "MIT" ]
null
null
null
/* Programa que muestra la potencia cuadrada de un numero entero */ #include <iostream> int main() { int numero; std::cout << "Ingrese un numero: "; std::cin >> numero; std::cout << "La potencia es '" << numero*numero << "'" << std::endl; return 0; }
18.928571
71
0.611321
JoseVcode
4e0cfb5c9fb2f01ae170b6ff65dc3a6aca49d607
1,314
cpp
C++
Lab-7/Coin_Change_DP.cpp
Hitesh1309/DAA-Lab-Submissions
acaa495628ea3755a7602cf9d8ee35874bddbe88
[ "MIT" ]
1
2022-03-15T07:09:37.000Z
2022-03-15T07:09:37.000Z
Lab-7/Coin_Change_DP.cpp
Hitesh1309/DAA-Lab-Submissions
acaa495628ea3755a7602cf9d8ee35874bddbe88
[ "MIT" ]
null
null
null
Lab-7/Coin_Change_DP.cpp
Hitesh1309/DAA-Lab-Submissions
acaa495628ea3755a7602cf9d8ee35874bddbe88
[ "MIT" ]
1
2022-03-15T07:09:58.000Z
2022-03-15T07:09:58.000Z
#include<bits/stdc++.h> using namespace std; int main() { int n,t; cout<<"\nEnter no. of denominations (where 1 would be auto added): "; cin>>n; vector<int> change; //vector of denominations map<int,int> record; // map of amount - minimum number of denominations cout<<"\nInserted a base d...
19.61194
93
0.479452
Hitesh1309
4e0f57b4d78d3f708bad3239aabc0957e7d874a9
2,956
cpp
C++
src/settingsdialog.cpp
jubnzv/qtask
f67c7034ff9576c123b885acbb942638bf85de48
[ "MIT" ]
11
2020-11-29T18:24:28.000Z
2022-03-19T17:34:08.000Z
src/settingsdialog.cpp
jubnzv/jtask
f67c7034ff9576c123b885acbb942638bf85de48
[ "MIT" ]
3
2020-11-29T18:26:36.000Z
2021-07-16T14:18:58.000Z
src/settingsdialog.cpp
jubnzv/jtask
f67c7034ff9576c123b885acbb942638bf85de48
[ "MIT" ]
1
2022-02-14T17:25:04.000Z
2022-02-14T17:25:04.000Z
#include "settingsdialog.hpp" #include <QAbstractButton> #include <QCoreApplication> #include <QDialog> #include <QDialogButtonBox> #include <QGridLayout> #include <QIcon> #include <QLabel> #include <QLineEdit> #include "configmanager.hpp" SettingsDialog::SettingsDialog(QWidget *parent) : QDialog(parent) { i...
31.115789
79
0.701286
jubnzv
4e107da15c1367fa17e0ac049fba015a572b8cf1
2,869
hpp
C++
Renderers/OpenGL3/CubismOpenGL3.hpp
akoylasar/cubism
3e1e26ccc6de87dd574bab4c2be396650fd5af45
[ "MIT" ]
null
null
null
Renderers/OpenGL3/CubismOpenGL3.hpp
akoylasar/cubism
3e1e26ccc6de87dd574bab4c2be396650fd5af45
[ "MIT" ]
null
null
null
Renderers/OpenGL3/CubismOpenGL3.hpp
akoylasar/cubism
3e1e26ccc6de87dd574bab4c2be396650fd5af45
[ "MIT" ]
null
null
null
// This is a modified version of imgui_impl_opengl3.h found under https://github.com/ocornut/imgui/tree/master/examples /* The MIT License (MIT) Copyright (c) 2014-2020 Omar Cornut Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "S...
37.25974
119
0.767863
akoylasar
4e197cf1898ba1c2f3807c803eaec70505207b66
265
cpp
C++
school1/3A/10Awk.cpp
momomeomo/School
d004bf6ed6fa3a5cec4fa067b61e5842acbaa3f6
[ "Unlicense" ]
null
null
null
school1/3A/10Awk.cpp
momomeomo/School
d004bf6ed6fa3a5cec4fa067b61e5842acbaa3f6
[ "Unlicense" ]
null
null
null
school1/3A/10Awk.cpp
momomeomo/School
d004bf6ed6fa3a5cec4fa067b61e5842acbaa3f6
[ "Unlicense" ]
null
null
null
#include <iostream> using namespace std; void CountUp(int start, int stop, int step); int main() { CountUp(10,100,2); return 0; } void CountUp(int start, int stop, int step) { for (int x = start; x <= stop; x = x + step) cout << x << endl; }
15.588235
48
0.592453
momomeomo
4e1d29c1c2f74923230b0e38e85adb175853ae1c
355
hpp
C++
include/rxcpp/rx-fsm.hpp
i94matjo/rxcpp-fsm
4706b3111065c078d55a3fc0089110d0772f3427
[ "Apache-2.0" ]
1
2020-08-05T04:21:04.000Z
2020-08-05T04:21:04.000Z
include/rxcpp/rx-fsm.hpp
i94matjo/rxcpp-fsm
4706b3111065c078d55a3fc0089110d0772f3427
[ "Apache-2.0" ]
null
null
null
include/rxcpp/rx-fsm.hpp
i94matjo/rxcpp-fsm
4706b3111065c078d55a3fc0089110d0772f3427
[ "Apache-2.0" ]
1
2020-08-05T04:21:09.000Z
2020-08-05T04:21:09.000Z
/*! \file rx-fsm.hpp \copyright Copyright (c) 2019, emJay Software Consulting AB. All rights reserved. Use of this source code is governed by the Apache-2.0 license, that can be found in the LICENSE.md file. \author Mattias Johansson */ #pragma once #if !defined(RX_FSM_HPP) #define RX_FSM_HPP #include...
23.666667
191
0.721127
i94matjo
4e1d48788690a4cedea6c37b5415d151b1bc3a6f
957
cpp
C++
solutions/number_of_coins.cpp
spythrone/gfg-solutions
7bb5198a1a8c7a06d7f81eea78dfa9451252c6b2
[ "MIT" ]
null
null
null
solutions/number_of_coins.cpp
spythrone/gfg-solutions
7bb5198a1a8c7a06d7f81eea78dfa9451252c6b2
[ "MIT" ]
null
null
null
solutions/number_of_coins.cpp
spythrone/gfg-solutions
7bb5198a1a8c7a06d7f81eea78dfa9451252c6b2
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; class Solution{ public: int getsol(int coins[], int M, int V, vector<int> &v){ if(V==0) return 0; if(V<0) return INT_MAX; if(v[V]>0) return v[V]; int x = INT_MAX; for(int i=0; i<M; i++){ int t = getsol(coin...
15.95
55
0.416928
spythrone
4e1fd934435cc72a12d13cbe2f93077ad6e730a9
575
cpp
C++
math/fps/eulerian.cpp
neal2018/library
a19f3b29f3355e32f7e5f6768a7943db48fcdff7
[ "Unlicense" ]
127
2019-07-22T03:52:01.000Z
2022-03-11T07:20:21.000Z
math/fps/eulerian.cpp
neal2018/library
a19f3b29f3355e32f7e5f6768a7943db48fcdff7
[ "Unlicense" ]
39
2019-09-16T12:04:53.000Z
2022-03-29T15:43:35.000Z
math/fps/eulerian.cpp
neal2018/library
a19f3b29f3355e32f7e5f6768a7943db48fcdff7
[ "Unlicense" ]
29
2019-08-10T11:27:06.000Z
2022-03-11T07:02:43.000Z
/** * @brief Eulerian(オイラー数) */ template< template< typename > class FPS, typename Mint > FPS< Mint > eulerian(int N) { vector< Mint > fact(N + 2), rfact(N + 2); fact[0] = rfact[N + 1] = 1; for(int i = 1; i <= N + 1; i++) fact[i] = fact[i - 1] * Mint(i); rfact[N + 1] /= fact[N + 1]; for(int i = N; i >= 0; i...
30.263158
68
0.462609
neal2018
4e1ff634ac99980cea3ed37b57505a8a3174df57
2,410
cpp
C++
MedicalCenterConsole/ConsoleMenu.cpp
vm2mv/bsuir_kp_okp_medical_center
0a555293d1e50506d7e9a4aff533a45c45e46117
[ "MIT" ]
8
2017-01-13T10:11:42.000Z
2022-03-15T18:27:14.000Z
MedicalCenterConsole/ConsoleMenu.cpp
vm2mv/bsuir_kp_okp_medical_center
0a555293d1e50506d7e9a4aff533a45c45e46117
[ "MIT" ]
null
null
null
MedicalCenterConsole/ConsoleMenu.cpp
vm2mv/bsuir_kp_okp_medical_center
0a555293d1e50506d7e9a4aff533a45c45e46117
[ "MIT" ]
null
null
null
#include "stdafx.h" #include "ConsoleMenu.h" #include "Console.h" #include "Language.h" ConsoleMenu::ConsoleMenu(Console& console, const Language& language) : m_language(language), m_console(console) { } ConsoleMenu::~ConsoleMenu() { } void ConsoleMenu::AddItem(const std::string& itemName, std::function<void()>...
18.682171
94
0.720747
vm2mv
4e2026c498bea5332d4de04ee95f03eb040a1408
831
hpp
C++
include/h3api/H3GzWrapper.hpp
Patrulek/H3API
91f10de37c6b86f3160706c1fdf4792f927e9952
[ "MIT" ]
14
2020-09-07T21:49:26.000Z
2021-11-29T18:09:41.000Z
include/h3api/H3GzWrapper.hpp
Day-of-Reckoning/H3API
a82d3069ec7d5127b13528608d5350d2b80d57be
[ "MIT" ]
2
2021-02-12T15:52:31.000Z
2021-02-12T16:21:24.000Z
include/h3api/H3GzWrapper.hpp
Day-of-Reckoning/H3API
a82d3069ec7d5127b13528608d5350d2b80d57be
[ "MIT" ]
8
2021-02-12T15:52:41.000Z
2022-01-31T15:28:10.000Z
////////////////////////////////////////////////////////////////////// // // // Created by RoseKavalier: // // rosekavalierhc@gmail.com // // Created or last upda...
48.882353
70
0.357401
Patrulek
4e236865b611e3c2ec1acedac0115ec2b1946382
7,130
hh
C++
src/callow/matrix/Matrix.hh
RLReed/libdetran
77637c788823e0a14aae7e40e476a291f6f3184b
[ "MIT" ]
null
null
null
src/callow/matrix/Matrix.hh
RLReed/libdetran
77637c788823e0a14aae7e40e476a291f6f3184b
[ "MIT" ]
null
null
null
src/callow/matrix/Matrix.hh
RLReed/libdetran
77637c788823e0a14aae7e40e476a291f6f3184b
[ "MIT" ]
null
null
null
//----------------------------------*-C++-*----------------------------------// /** * @file Matrix.hh * @author robertsj * @date Sep 13, 2012 * @brief Matrix class definition. */ //---------------------------------------------------------------------------// #ifndef callow_MATRIX_HH_ #define callow_MATRI...
32.262443
81
0.556522
RLReed
4e25206edc6a95ad9851b555064f6086d560e772
1,134
cpp
C++
src/core/threading.cpp
hrxcodes/cbftp
bf2784007dcc4cc42775a2d40157c51b80383f81
[ "MIT" ]
8
2019-04-30T00:37:00.000Z
2022-02-03T13:35:31.000Z
src/core/threading.cpp
Xtravaganz/cbftp
31a3465e2cd539f6cf35a5d9a0bb9c5c2f639cd5
[ "MIT" ]
2
2019-11-19T12:46:13.000Z
2019-12-20T22:13:57.000Z
src/core/threading.cpp
Xtravaganz/cbftp
31a3465e2cd539f6cf35a5d9a0bb9c5c2f639cd5
[ "MIT" ]
9
2020-01-15T02:38:36.000Z
2022-02-15T20:05:20.000Z
#include "threading.h" #include <cassert> #include "signal.h" namespace Core { namespace Threading { namespace { struct ThreadFunc { void (*func)(void*); void* arg; }; void* runDetached(void* vtf) { blockAllRegisteredSignals(); ThreadFunc* tf = reinterpret_cast<ThreadFunc*>(vtf); tf->func(tf->arg); de...
20.25
70
0.710758
hrxcodes
89efe1429b0fbffeb40ee7ec06e0c30f04edc8db
33,897
cpp
C++
src/gdnative_text_server.cpp
bruvzg/gdnative_text_server_template
cdbc4eefef7ba7ebf472a608ceaba24deb807704
[ "MIT" ]
1
2021-11-08T02:49:46.000Z
2021-11-08T02:49:46.000Z
src/gdnative_text_server.cpp
bruvzg/gdnative_text_server_template
cdbc4eefef7ba7ebf472a608ceaba24deb807704
[ "MIT" ]
null
null
null
src/gdnative_text_server.cpp
bruvzg/gdnative_text_server_template
cdbc4eefef7ba7ebf472a608ceaba24deb807704
[ "MIT" ]
null
null
null
/*************************************************************************/ /* gdnative_text_server.cpp */ /*************************************************************************/ #include "gdnative_text_server.h" static int features = 0; void *godot_text_server_constr...
42.37125
220
0.789244
bruvzg
89f402ef38b6778d425ba5d152b2d4114472b980
624
hpp
C++
src/Verde/audio/AudioSfx.hpp
Cannedfood/Verde2D
3a09e2ecc6b62281e5190183faef55c8f0447d27
[ "CC0-1.0" ]
null
null
null
src/Verde/audio/AudioSfx.hpp
Cannedfood/Verde2D
3a09e2ecc6b62281e5190183faef55c8f0447d27
[ "CC0-1.0" ]
null
null
null
src/Verde/audio/AudioSfx.hpp
Cannedfood/Verde2D
3a09e2ecc6b62281e5190183faef55c8f0447d27
[ "CC0-1.0" ]
null
null
null
#pragma once #include "AudioData.hpp" #include <glm/vec2.hpp> #include <memory> #include <vector> #include <mutex> class AudioSfx { struct Source { unsigned source; std::shared_ptr<AudioData> data; }; unsigned mNextSource; std::vector<Source> mSources; std::mutex mMutex; // Requires ...
19.5
104
0.68109
Cannedfood
89f777f0bd2de0b4f9a49ceaec83cc03e05e032f
2,995
hpp
C++
plugindev/exampleGuipluginSink.hpp
elinjammal/opensmile
0ae2da44e61744ff1aaa9bae2b95d747febb08de
[ "W3C" ]
245
2020-10-24T16:27:13.000Z
2022-03-31T03:01:11.000Z
plugindev/exampleGuipluginSink.hpp
elinjammal/opensmile
0ae2da44e61744ff1aaa9bae2b95d747febb08de
[ "W3C" ]
41
2021-01-13T11:30:42.000Z
2022-01-14T14:36:11.000Z
plugindev/exampleGuipluginSink.hpp
elinjammal/opensmile
0ae2da44e61744ff1aaa9bae2b95d747febb08de
[ "W3C" ]
43
2020-12-11T15:28:19.000Z
2022-03-20T11:55:58.000Z
/*F*************************************************************************** * This file is part of openSMILE. * * Copyright (c) audEERING GmbH. All rights reserved. * See the file COPYING for details on license terms. ***************************************************************************E*/ /* openSMIL...
22.350746
221
0.644741
elinjammal
89fd6fa89e947f387464f62ff992561bb592573a
1,660
cpp
C++
chapter18/purrForAllMammal13.cpp
not-sponsored/Sams-Cpp-in-24hrs-Exercises
2e63e2ca31f5309cc1d593f29c8b47037be150fb
[ "Fair" ]
2
2022-01-08T03:31:25.000Z
2022-03-09T01:21:54.000Z
chapter18/purrForAllMammal13.cpp
not-sponsored/Sams-Cpp-in-24hrs-Exercises
2e63e2ca31f5309cc1d593f29c8b47037be150fb
[ "Fair" ]
null
null
null
chapter18/purrForAllMammal13.cpp
not-sponsored/Sams-Cpp-in-24hrs-Exercises
2e63e2ca31f5309cc1d593f29c8b47037be150fb
[ "Fair" ]
1
2022-03-09T01:26:01.000Z
2022-03-09T01:26:01.000Z
/********************************************************* * * Answer to exercise 1 in chapter 18 * * Modified 18.5 Sams Teach Yourself C++ in 24 Hours by Rogers Cadenhead * and Jesse Liberty * * Somehow, the dynamic cast appears to work and purr() is called regardless * if the Mammal is actually a Cat. So it fails ...
19.761905
75
0.54759
not-sponsored
d600dea9b75219920534179fafb08bd200957a2a
859
cpp
C++
src/modules/lib/WindowPreferencesType.cpp
Thorsten-Geppert/Warehouse
b064e5b422d0b484ca702cc4433cbda90f40e009
[ "BSD-3-Clause" ]
null
null
null
src/modules/lib/WindowPreferencesType.cpp
Thorsten-Geppert/Warehouse
b064e5b422d0b484ca702cc4433cbda90f40e009
[ "BSD-3-Clause" ]
null
null
null
src/modules/lib/WindowPreferencesType.cpp
Thorsten-Geppert/Warehouse
b064e5b422d0b484ca702cc4433cbda90f40e009
[ "BSD-3-Clause" ]
null
null
null
#include "WindowPreferencesType.h" void WindowPreferencesType::SetSize(const wxSize &size) { this->size = size; } void WindowPreferencesType::SetSize(const int width, const int height) { this->size = wxSize(width, height); } wxSize WindowPreferencesType::GetSize() const { return size; } void WindowPreferencesTy...
22.605263
72
0.724098
Thorsten-Geppert
d605ce279eafa590152236ce7bc86eaccd9f24a0
4,831
cpp
C++
Src/sound/SoundPlayerPool.cpp
ericblade/luna-sysmgr
82d5d7ced4ba21d3802eb2c8ae063236b6562331
[ "Apache-2.0" ]
3
2018-11-16T14:51:17.000Z
2019-11-21T10:55:24.000Z
Src/sound/SoundPlayerPool.cpp
penk/luna-sysmgr
60c7056a734cdb55a718507f3a739839c9d74edf
[ "Apache-2.0" ]
1
2021-02-20T13:12:15.000Z
2021-02-20T13:12:15.000Z
Src/sound/SoundPlayerPool.cpp
ericblade/luna-sysmgr
82d5d7ced4ba21d3802eb2c8ae063236b6562331
[ "Apache-2.0" ]
null
null
null
/* @@@LICENSE * * Copyright (c) 2008-2012 Hewlett-Packard Development Company, L.P. * * 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 * * Unl...
23.004762
95
0.700683
ericblade
d60a28e235d70c4e0ba79013915aed2e71dca6dc
3,077
cxx
C++
examples/particle_advection/ParticleAdvection.cxx
yisyuanliou/VTK-m
cc483c8c2319a78b58b3ab849da8ca448e896220
[ "BSD-3-Clause" ]
1
2021-07-21T07:15:44.000Z
2021-07-21T07:15:44.000Z
examples/particle_advection/ParticleAdvection.cxx
yisyuanliou/VTK-m
cc483c8c2319a78b58b3ab849da8ca448e896220
[ "BSD-3-Clause" ]
null
null
null
examples/particle_advection/ParticleAdvection.cxx
yisyuanliou/VTK-m
cc483c8c2319a78b58b3ab849da8ca448e896220
[ "BSD-3-Clause" ]
null
null
null
//============================================================================ // Copyright (c) Kitware, Inc. // All rights reserved. // See LICENSE.txt for details. // // This software is distributed WITHOUT ANY WARRANTY; without even // the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR // PURP...
33.813187
97
0.648684
yisyuanliou
d611412ad071de87aa25b1aebe142691e723a33d
64
cpp
C++
src/cxxperfcounter/MetricRegistry.cpp
bigc2000/cxxperfcounter
827fbf87a5fb594c1b3f0dbc9bdde215e8627350
[ "MIT" ]
null
null
null
src/cxxperfcounter/MetricRegistry.cpp
bigc2000/cxxperfcounter
827fbf87a5fb594c1b3f0dbc9bdde215e8627350
[ "MIT" ]
null
null
null
src/cxxperfcounter/MetricRegistry.cpp
bigc2000/cxxperfcounter
827fbf87a5fb594c1b3f0dbc9bdde215e8627350
[ "MIT" ]
null
null
null
// // Created by wx on 18-8-11. // #include "MetricRegistry.h"
10.666667
28
0.625
bigc2000
d625f5723d65d8618f7c6e03d980b741ecdd84ea
9,344
cpp
C++
raytracer.cpp
ShadowMitia/raytracer-upsud
4ac6ee21959438b5ee84612777b97ec6b7749820
[ "MIT" ]
1
2022-01-19T07:03:05.000Z
2022-01-19T07:03:05.000Z
raytracer.cpp
ShadowMitia/raytracer-upsud
4ac6ee21959438b5ee84612777b97ec6b7749820
[ "MIT" ]
null
null
null
raytracer.cpp
ShadowMitia/raytracer-upsud
4ac6ee21959438b5ee84612777b97ec6b7749820
[ "MIT" ]
null
null
null
// // Framework for a raytracer // File: raytracer.cpp // // Created for the Computer Science course "Introduction Computer Graphics" // taught at the University of Groningen by Tobias Isenberg. // // Author: Maarten Everts // // This framework is inspired by and uses code of the raytracer framework of // Bert F...
25.955556
116
0.583369
ShadowMitia
d62ff8a071bd1e679752ca42bd679f9e57ec8a70
3,985
cpp
C++
Level.cpp
georgelam6/TinyRoguelike
ce7592851b8b39ae598799a7bad742e49bd8e125
[ "MIT" ]
null
null
null
Level.cpp
georgelam6/TinyRoguelike
ce7592851b8b39ae598799a7bad742e49bd8e125
[ "MIT" ]
null
null
null
Level.cpp
georgelam6/TinyRoguelike
ce7592851b8b39ae598799a7bad742e49bd8e125
[ "MIT" ]
null
null
null
#include "Level.h" #include "globals.h" #include <iostream> #include <ctime> #include <cstdlib> Level::Level() {} Level::Level(SDL_Texture* spritesheet) { this->CreateLevel(); this->image = spritesheet; this->wallSrcRect = { 16, 0, 8, 8 }; this->enemySrcRect = { 8, 0, 8, 8 }; this->stairSrcRect = { 25, 0, 8, 8...
22.26257
139
0.597742
georgelam6
d6304268ad92ff3b0d548318336ee52ef9d7b19e
18,011
cpp
C++
master/core/third/cxxtools/src/string.cpp
importlib/klib
a59837857689d0e60d3df6d2ebd12c3160efa794
[ "MIT" ]
4
2017-12-04T08:22:48.000Z
2019-10-26T21:44:59.000Z
master/core/third/cxxtools/src/string.cpp
isuhao/klib
a59837857689d0e60d3df6d2ebd12c3160efa794
[ "MIT" ]
null
null
null
master/core/third/cxxtools/src/string.cpp
isuhao/klib
a59837857689d0e60d3df6d2ebd12c3160efa794
[ "MIT" ]
4
2017-12-04T08:22:49.000Z
2018-12-27T03:20:31.000Z
/* * Copyright (C) 2004-2007 Marc Boris Duerner * Copyright (C) 2011 Tommi Maekitalo * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at ...
23.855629
136
0.589251
importlib
d636df85302e5055264d14e6483465a79af74bb6
1,600
cpp
C++
02 Arrays and Vectors/Advanced/pairSum.cpp
akritisneh/OnAndOn
a14f964c14d6a7a5fbef43db99f61a357b1f52f8
[ "MIT" ]
13
2021-10-05T15:50:21.000Z
2022-03-04T19:43:18.000Z
02 Arrays and Vectors/Advanced/pairSum.cpp
akritisneh/OnAndOn
a14f964c14d6a7a5fbef43db99f61a357b1f52f8
[ "MIT" ]
18
2021-10-05T14:43:14.000Z
2021-10-21T04:19:34.000Z
02 Arrays and Vectors/Advanced/pairSum.cpp
akritisneh/OnAndOn
a14f964c14d6a7a5fbef43db99f61a357b1f52f8
[ "MIT" ]
21
2021-10-05T14:34:25.000Z
2021-10-17T09:07:46.000Z
/*Given an array containing N integers and a number S denoting a target sum. Find two distinct integers that can pair up to form target sum. Let us assume there will be only one such pair. Input: array = [10,5,2,3,-6,9,11] Output [10,-6] Approach 1 - Brute Force Comparing every digit from all other digits Time Complexi...
23.529412
99
0.678125
akritisneh
d637eb51ebfb6c7e4cfab281c3819a07637f9fc8
3,361
cpp
C++
src/source/data structures/MeshStructures.cpp
Gregjksmith/Global-Illumination
c8a2c98f3f9b810df18c49956e723a2df9b27a40
[ "MIT" ]
null
null
null
src/source/data structures/MeshStructures.cpp
Gregjksmith/Global-Illumination
c8a2c98f3f9b810df18c49956e723a2df9b27a40
[ "MIT" ]
null
null
null
src/source/data structures/MeshStructures.cpp
Gregjksmith/Global-Illumination
c8a2c98f3f9b810df18c49956e723a2df9b27a40
[ "MIT" ]
null
null
null
#include "data structures\MeshStructures.h" #include <cstdlib> #include <typeinfo> #include <cmath> #include <GL\glew.h> #include <stdio.h> #include <ctime> Vertex::Vertex() { } Vertex::Vertex(GLfloat x, GLfloat y, GLfloat z) { pos[0] = x; pos[1] = y; pos[2] = z; } TexCoord::TexCoord() { } ...
22.557047
135
0.545968
Gregjksmith
d6418fb95bc1813c5927848aa5e5a8c71a7d427e
313
hpp
C++
include/partition.hpp
justcppdev/rb_tree
353ab0c0e07043df8e90d7cd0ae45ff753a461e5
[ "MIT" ]
null
null
null
include/partition.hpp
justcppdev/rb_tree
353ab0c0e07043df8e90d7cd0ae45ff753a461e5
[ "MIT" ]
null
null
null
include/partition.hpp
justcppdev/rb_tree
353ab0c0e07043df8e90d7cd0ae45ff753a461e5
[ "MIT" ]
null
null
null
#ifndef PARTITION_HPP #define PARTITION_HPP template <typename _Iterator> struct range_t { _Iterator begin; typename _Iterator::difference_type size; }; template <typename _Iterator> struct parition_t { range_t<_Iterator> less; range_t<_Iterator> equal; range_t<_Iterator> great; }; #endif
15.65
45
0.747604
justcppdev
d643f59f5c8410069c11f0d38683a32959f60473
3,853
cpp
C++
src/Source Code/MO_Sound.cpp
MayKoder/TFG-Miquel_Suau_Gonzalez
c0d0a7a71a709ec3514c9ff20be272ac9e66d1e2
[ "Apache-2.0" ]
null
null
null
src/Source Code/MO_Sound.cpp
MayKoder/TFG-Miquel_Suau_Gonzalez
c0d0a7a71a709ec3514c9ff20be272ac9e66d1e2
[ "Apache-2.0" ]
null
null
null
src/Source Code/MO_Sound.cpp
MayKoder/TFG-Miquel_Suau_Gonzalez
c0d0a7a71a709ec3514c9ff20be272ac9e66d1e2
[ "Apache-2.0" ]
null
null
null
#include "MO_Sound.h" #include <stdlib.h> #include <assert.h> #include <inttypes.h> #include <limits.h> #include <stdio.h> #include "sndfile/include/sndfile.h" #include "OpenAL/include/AL/al.h" #include "OpenAL/include/AL/alc.h" #include "OpenAL/include/AL/alext.h" #include "alhelpers.h" #pragma comment (lib, "sndf...
23.493902
129
0.680768
MayKoder
d644f2dee9d259e974a61dc08a263f55590836ea
1,633
cpp
C++
src/main.cpp
dniklaus/lights-on
329f003e2f7a1ef0f24468b63985bf7d4f1bb107
[ "MIT" ]
null
null
null
src/main.cpp
dniklaus/lights-on
329f003e2f7a1ef0f24468b63985bf7d4f1bb107
[ "MIT" ]
1
2021-03-11T23:41:51.000Z
2021-03-11T23:41:51.000Z
src/main.cpp
dniklaus/lights-on
329f003e2f7a1ef0f24468b63985bf7d4f1bb107
[ "MIT" ]
null
null
null
/* * main.cpp * * Created on: 19.01.2021 * Author: Dieter Niklaus */ #include <Arduino.h> // PlatformIO libraries #include <SerialCommand.h> // pio lib install 173, lib details see https://github.com/kroimon/Arduino-SerialCommand #include <SpinTimer.h> // pio lib install 11599, lib details see https:...
24.373134
116
0.679118
dniklaus
d64bfe1c0bba8db3668deffe4eb0586fea84229c
4,832
cpp
C++
src/daemon/security/ldapplugin/LdapGroup.cpp
HanixNicolas/app-mesh
8ee77a6adb1091b3a0afcbc34d271b4b9508840e
[ "MIT" ]
90
2020-06-06T12:11:33.000Z
2022-01-04T11:30:24.000Z
src/daemon/security/ldapplugin/LdapGroup.cpp
HanixNicolas/app-mesh
8ee77a6adb1091b3a0afcbc34d271b4b9508840e
[ "MIT" ]
80
2020-05-19T14:33:34.000Z
2022-03-25T08:00:54.000Z
src/daemon/security/ldapplugin/LdapGroup.cpp
HanixNicolas/app-mesh
8ee77a6adb1091b3a0afcbc34d271b4b9508840e
[ "MIT" ]
14
2020-07-16T11:35:47.000Z
2022-01-04T03:10:44.000Z
#include <map> #include <memory> #include <mutex> #include <set> #include <string> #include <cpprest/json.h> #include "../../../common/Utility.h" #include "../Role.h" #include "LdapGroup.h" ////////////////////////////////////////////////////////////////////////// /// LDAP Group /////////////////////////////////////...
31.376623
157
0.596854
HanixNicolas
d64c5872a5203290a2859dc01a6c7f3cbf771ad8
2,308
cpp
C++
Algorithm/TSP_problem.cpp
Kenshin-Y/competitive
9035b86d772e4a48973309dbe45c3355ac18dbcb
[ "MIT" ]
null
null
null
Algorithm/TSP_problem.cpp
Kenshin-Y/competitive
9035b86d772e4a48973309dbe45c3355ac18dbcb
[ "MIT" ]
null
null
null
Algorithm/TSP_problem.cpp
Kenshin-Y/competitive
9035b86d772e4a48973309dbe45c3355ac18dbcb
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; // あとで整備する #define ll long long #define ALL(a) (a).begin(),(a).end() #define rep(i,n) for(int i=0;i<(n);i++) #define rrep(i,n) for(int i=n-1;i>=0;i--) //有向グラフ上巡回セールスマン問題 //verified //どこから始めても一緒なので、今回は0から始める。 const ll INF=1e18; signed main(){ int n,m; cin >> n >> m; ...
23.793814
67
0.40078
Kenshin-Y
d6503925dffc6637f7422b6c49203558f3cc464e
250
cpp
C++
c++/forRoop/breakTest.cpp
taku-xhift/labo
89dc28fdb602c7992c6f31920714225f83a11218
[ "MIT" ]
null
null
null
c++/forRoop/breakTest.cpp
taku-xhift/labo
89dc28fdb602c7992c6f31920714225f83a11218
[ "MIT" ]
null
null
null
c++/forRoop/breakTest.cpp
taku-xhift/labo
89dc28fdb602c7992c6f31920714225f83a11218
[ "MIT" ]
null
null
null
#include <iostream> int main() { for (int i = 0; i < 10; ++i) { for (int j = 0; j < 10; ++j) { std::cout << "(i, j) = (" << i << ", " << j << ")" << std::endl; if (j >= 2) { break; } } } return 0; }
10.869565
68
0.32
taku-xhift
d650f71c471d525127c95fdadfe92418c66cdab0
925
cpp
C++
poj/2551/main.cpp
nimitz871016/acm
a59aba6333e48473f9ef3c3702965b5ba2c4d741
[ "MIT" ]
null
null
null
poj/2551/main.cpp
nimitz871016/acm
a59aba6333e48473f9ef3c3702965b5ba2c4d741
[ "MIT" ]
null
null
null
poj/2551/main.cpp
nimitz871016/acm
a59aba6333e48473f9ef3c3702965b5ba2c4d741
[ "MIT" ]
null
null
null
// // main.cpp // 2551 // 水题,找到规律就很简单啦。分解 11111 = 10*1111 + 1,递进搜索,避免高精度运算 // Created by Nimitz_007 on 16/7/31. // Copyright © 2016年 Fujian Ruijie Networks Co., Ltd. All rights reserved. // #include <iostream> #include <math.h> int digitOfNum(long num){ int count = 1; while(num >= pow(10.0,count)){ ...
19.270833
75
0.460541
nimitz871016
d651a7d057fe78b9c18ef1ab0096efc59e9dd2e0
1,256
hpp
C++
program/program/dx.hpp
agehama/graphics_experiments
f79bc33d306017ab928d2c7bbcbcfc884f2b5f98
[ "Unlicense" ]
null
null
null
program/program/dx.hpp
agehama/graphics_experiments
f79bc33d306017ab928d2c7bbcbcfc884f2b5f98
[ "Unlicense" ]
null
null
null
program/program/dx.hpp
agehama/graphics_experiments
f79bc33d306017ab928d2c7bbcbcfc884f2b5f98
[ "Unlicense" ]
null
null
null
#pragma once #include <array> #include <optional> #include <Windows.h> #include <d3d12.h> #include <dxgi1_6.h> class Mesh; class ShaderPipeline; class Dx { public: static Dx& instance() { static Dx i; return i; } bool init(HWND hwnd, int width, int height); bool frameBegin();...
18.470588
87
0.691083
agehama
d653c263a4664572df582d9ffb1d4e48452d346c
1,224
cpp
C++
Scription/src/Scription/Layer/LayerHandler.cpp
MJTodge/Scription
530e4055ca4689f0b0ff80356b377ef9008f5f7c
[ "Apache-2.0" ]
null
null
null
Scription/src/Scription/Layer/LayerHandler.cpp
MJTodge/Scription
530e4055ca4689f0b0ff80356b377ef9008f5f7c
[ "Apache-2.0" ]
null
null
null
Scription/src/Scription/Layer/LayerHandler.cpp
MJTodge/Scription
530e4055ca4689f0b0ff80356b377ef9008f5f7c
[ "Apache-2.0" ]
null
null
null
#include "scrpch.h" #include "Scription/Layer/LayerHandler.h" namespace SCR { LayerHandler::~LayerHandler() { for (auto layer : _Layers) delete layer; } void LayerHandler::AttachLayer(Layer* layer) { _Layers.emplace(_Layers.begin() + _Insert, layer); _Insert++; layer->OnAttach(); } ...
19.741935
64
0.591503
MJTodge
d65952e4209c3725add87b31272269e9f8cba3b7
3,943
cpp
C++
msj_archives/code/MSJApr97.src/Tips on Tooltips/TTDemo/TitleTip.cpp
sarangbaheti/misc-code
d47a8d1cc41f19701ce628c9f15976bb5baa239d
[ "Unlicense" ]
1
2020-10-22T12:58:55.000Z
2020-10-22T12:58:55.000Z
msj_archives/code/MSJApr97.src/Tips on Tooltips/TTDemo/TitleTip.cpp
sarangbaheti/misc-code
d47a8d1cc41f19701ce628c9f15976bb5baa239d
[ "Unlicense" ]
null
null
null
msj_archives/code/MSJApr97.src/Tips on Tooltips/TTDemo/TitleTip.cpp
sarangbaheti/misc-code
d47a8d1cc41f19701ce628c9f15976bb5baa239d
[ "Unlicense" ]
2
2020-10-19T23:36:26.000Z
2020-10-22T12:59:37.000Z
// TitleTip.cpp : implementation file // #include "stdafx.h" #include "TitleTip.h" #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif ///////////////////////////////////////////////////////////////////////////// // CTitleTip LPCSTR CTitleTip::m_pszWndClass = NULL; CTitl...
22.531429
87
0.696424
sarangbaheti
d65fa3f00bc8b2e83bc0944fe4881783ed59ccd7
109
cpp
C++
test/src/BreakIntoDebugger.test.cpp
AMS21/CppBase
a6ec5542682bcebf5958d54557af1e03752a132f
[ "CC0-1.0" ]
null
null
null
test/src/BreakIntoDebugger.test.cpp
AMS21/CppBase
a6ec5542682bcebf5958d54557af1e03752a132f
[ "CC0-1.0" ]
1
2020-05-12T19:48:20.000Z
2020-05-12T19:48:20.000Z
test/src/BreakIntoDebugger.test.cpp
AMS21/CppBase
a6ec5542682bcebf5958d54557af1e03752a132f
[ "CC0-1.0" ]
null
null
null
#include <cpp/BreakIntoDebugger.hpp> void BreakIntoDebuggerCompileTest() { CPP_BREAK_INTO_DEBUGGER(); }
15.571429
36
0.779817
AMS21
d6679901ea9a336fb3ff448834f30bc2ccc5ca13
2,355
cpp
C++
code/310.cpp
Nightwish-cn/my_leetcode
40f206e346f3f734fb28f52b9cde0e0041436973
[ "MIT" ]
23
2020-03-30T05:44:56.000Z
2021-09-04T16:00:57.000Z
code/310.cpp
Nightwish-cn/my_leetcode
40f206e346f3f734fb28f52b9cde0e0041436973
[ "MIT" ]
1
2020-05-10T15:04:05.000Z
2020-06-14T01:21:44.000Z
code/310.cpp
Nightwish-cn/my_leetcode
40f206e346f3f734fb28f52b9cde0e0041436973
[ "MIT" ]
6
2020-03-30T05:45:04.000Z
2020-08-13T10:01:39.000Z
#include <bits/stdc++.h> #define INF 2000000000 using namespace std; typedef long long ll; int read(){ int f = 1, x = 0; char c = getchar(); while(c < '0' || c > '9'){if(c == '-') f = -f; c = getchar();} while(c >= '0' && c <= '9')x = x * 10 + c - '0', c = getchar(); return f * x; } int to[100005], nxt[100005], ...
27.705882
71
0.385563
Nightwish-cn
d66d864e74946714748d755613cdbab36218cd0f
59,264
cpp
C++
src/ff_eam_dmd.cpp
sinamoeini/mapp4py
923ef57ee5bdb6231bec2885c09a58993b6c0f1f
[ "MIT" ]
3
2018-06-06T05:43:36.000Z
2020-07-18T14:31:37.000Z
src/ff_eam_dmd.cpp
sinamoeini/mapp4py
923ef57ee5bdb6231bec2885c09a58993b6c0f1f
[ "MIT" ]
null
null
null
src/ff_eam_dmd.cpp
sinamoeini/mapp4py
923ef57ee5bdb6231bec2885c09a58993b6c0f1f
[ "MIT" ]
7
2018-01-16T03:21:20.000Z
2020-07-20T19:36:13.000Z
#include "ff_eam_dmd.h" #include <stdlib.h> #include "neighbor_dmd.h" #include "elements.h" #include "memory.h" #include "xmath.h" #include "atoms_dmd.h" #include "MAPP.h" #include "dynamic_dmd.h" #include "import_eam.h" #include <limits> #define PI_IN_SQ 0.564189583547756286948079451561 using namespace MAPP_NS; /*----...
30.564208
440
0.507846
sinamoeini
699094516198e04a858eeb1077c196ac5ae92b09
251
cc
C++
BOJ/17175.cc
Yaminyam/Algorithm
fe49b37b4b310f03273864bcd193fe88139f1c01
[ "MIT" ]
1
2019-05-18T00:02:12.000Z
2019-05-18T00:02:12.000Z
BOJ/17175.cc
siontama/Algorithm
bb419e0d4dd09682bd4542f90038b492ee232bd2
[ "MIT" ]
null
null
null
BOJ/17175.cc
siontama/Algorithm
bb419e0d4dd09682bd4542f90038b492ee232bd2
[ "MIT" ]
null
null
null
#include<iostream> using namespace std; int main() { int t; int a; long long p[51]; p[0] = 1; p[1] = 1; for (int i = 2; i < 51; i++) { p[i] = p[i - 1] + p[i - 2] + 1; } scanf("%d", &a); printf("%d", p[a]%1000000007); }
13.210526
34
0.442231
Yaminyam
6991505e8b288b910acb427d5a3dab68419f9922
3,764
cpp
C++
src/tsp/symmetric/lagrangean.cpp
Alexander-Ignatyev/optimer
fc0fb8ffd35e6326f60d77c144cfe7635a6edaa7
[ "BSD-3-Clause" ]
null
null
null
src/tsp/symmetric/lagrangean.cpp
Alexander-Ignatyev/optimer
fc0fb8ffd35e6326f60d77c144cfe7635a6edaa7
[ "BSD-3-Clause" ]
null
null
null
src/tsp/symmetric/lagrangean.cpp
Alexander-Ignatyev/optimer
fc0fb8ffd35e6326f60d77c144cfe7635a6edaa7
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2013-2014 Alexander Ignatyev. All rights reserved. #include "lagrangean.h" #include <cstring> #include <cmath> #include <numeric> namespace stsp { std::pair<MSOneTree::Solution<value_type>, size_t> LagrangeanRelaxation::solve( const std::vector<value_type> &initial_matrix , size_t d...
33.607143
79
0.559511
Alexander-Ignatyev
6992f67ae9ef3036cb0c38773280ea32c27a75d3
1,236
cpp
C++
BOJ_solve/16026.cpp
python-programmer1512/Code_of_gunwookim
e72e6724fb9ee6ccf2e1064583956fa954ba0282
[ "MIT" ]
4
2021-01-27T11:51:30.000Z
2021-01-30T17:02:55.000Z
BOJ_solve/16026.cpp
python-programmer1512/Code_of_gunwookim
e72e6724fb9ee6ccf2e1064583956fa954ba0282
[ "MIT" ]
null
null
null
BOJ_solve/16026.cpp
python-programmer1512/Code_of_gunwookim
e72e6724fb9ee6ccf2e1064583956fa954ba0282
[ "MIT" ]
5
2021-01-27T11:46:12.000Z
2021-05-06T05:37:47.000Z
#include <bits/stdc++.h> #define x first #define y second #define pb push_back #define all(v) v.begin(),v.end() #pragma gcc optimize("O3") #pragma gcc optimize("Ofast") #pragma gcc optimize("unroll-loops") using namespace std; const int INF = 1e9; const long long llINF = 1e18; long long mod = 1e9+7; typedef long long ...
25.22449
79
0.559871
python-programmer1512
6993ebffba140bb41fdcd09482cfa1b21db37b0e
484
cpp
C++
Ch 12/12.11.cpp
Felon03/CppPrimer
7dc2daf59f0ae7ec5670def15cb5fab174fe9780
[ "Apache-2.0" ]
null
null
null
Ch 12/12.11.cpp
Felon03/CppPrimer
7dc2daf59f0ae7ec5670def15cb5fab174fe9780
[ "Apache-2.0" ]
null
null
null
Ch 12/12.11.cpp
Felon03/CppPrimer
7dc2daf59f0ae7ec5670def15cb5fab174fe9780
[ "Apache-2.0" ]
null
null
null
/*如果像下面这样调用process,会发生什么?*/ // 报错,当p被销毁时,p指向的内存会被第二次delete #include<iostream> #include<memory> using namespace std; void process(shared_ptr<int> ptr) { cout << "inside the process function: " << ptr.use_count() << endl; } int main() { shared_ptr<int> p(new int(42)); process(shared_ptr<int>(p.get())); // shared...
18.615385
68
0.714876
Felon03
69a1e7e66e16df70151ef057986ee0e05be7b6e7
2,454
hpp
C++
src/Main/Help/HelpPage.hpp
voxie-viewer/voxie
d2b5e6760519782e9ef2e51f5322a3baa0cb1198
[ "MIT" ]
4
2016-06-03T18:41:43.000Z
2020-04-17T20:28:58.000Z
src/Main/Help/HelpPage.hpp
voxie-viewer/voxie
d2b5e6760519782e9ef2e51f5322a3baa0cb1198
[ "MIT" ]
null
null
null
src/Main/Help/HelpPage.hpp
voxie-viewer/voxie
d2b5e6760519782e9ef2e51f5322a3baa0cb1198
[ "MIT" ]
null
null
null
/* * Copyright (c) 2014-2022 The Voxie Authors * * 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, mer...
31.87013
80
0.734311
voxie-viewer
69a2c00ff1dbf9c1ba8e1a8486bd7d0df9989c6d
2,616
cpp
C++
gui/GUIWindowsComponents.cpp
grumat/urbackup_frontend_wx
a5d086f6c1a0544965ac7d9a3db94363ab2b936b
[ "RSA-MD" ]
65
2015-07-29T13:45:31.000Z
2022-03-30T15:42:33.000Z
gui/GUIWindowsComponents.cpp
grumat/urbackup_frontend_wx
a5d086f6c1a0544965ac7d9a3db94363ab2b936b
[ "RSA-MD" ]
7
2016-06-13T11:41:22.000Z
2020-07-11T14:21:21.000Z
gui/GUIWindowsComponents.cpp
grumat/urbackup_frontend_wx
a5d086f6c1a0544965ac7d9a3db94363ab2b936b
[ "RSA-MD" ]
39
2015-02-03T20:44:00.000Z
2022-03-30T15:42:34.000Z
/////////////////////////////////////////////////////////////////////////// // C++ code generated with wxFormBuilder (version Jun 17 2015) // http://www.wxformbuilder.org/ // // PLEASE DO "NOT" EDIT THIS FILE! /////////////////////////////////////////////////////////////////////////// #include "GUIWindowsCompon...
44.338983
203
0.686162
grumat
69afe8dba0ec5da8a79ec509ac76e4dfb9ee812e
2,305
hpp
C++
src/Environment.hpp
KipHamiltons/NUClear
1c6147b3fda26c3796f133881f0bf626261db574
[ "MIT" ]
6
2015-04-09T04:23:58.000Z
2020-12-10T04:35:13.000Z
src/Environment.hpp
KipHamiltons/NUClear
1c6147b3fda26c3796f133881f0bf626261db574
[ "MIT" ]
12
2015-01-21T16:42:43.000Z
2021-09-29T10:06:45.000Z
src/Environment.hpp
KipHamiltons/NUClear
1c6147b3fda26c3796f133881f0bf626261db574
[ "MIT" ]
15
2015-04-10T00:33:38.000Z
2021-09-24T23:42:55.000Z
/* * Copyright (C) 2013 Trent Houliston <trent@houliston.me>, Jake Woods <jake.f.woods@gmail.com> * 2014-2017 Trent Houliston <trent@houliston.me> * * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated * documentation files (the "Software...
37.786885
120
0.748373
KipHamiltons
69b5ebba04f8850e8349c058f453f4aea7dc685a
458
cpp
C++
regression/esbmc-cpp/vector/vector3/main.cpp
shmarovfedor/esbmc
3226a3d68b009d44b9535a993ac0f25e1a1fbedd
[ "BSD-3-Clause" ]
143
2015-06-22T12:30:01.000Z
2022-03-21T08:41:17.000Z
regression/esbmc-cpp/vector/vector3/main.cpp
shmarovfedor/esbmc
3226a3d68b009d44b9535a993ac0f25e1a1fbedd
[ "BSD-3-Clause" ]
542
2017-06-02T13:46:26.000Z
2022-03-31T16:35:17.000Z
regression/esbmc-cpp/vector/vector3/main.cpp
shmarovfedor/esbmc
3226a3d68b009d44b9535a993ac0f25e1a1fbedd
[ "BSD-3-Clause" ]
81
2015-10-21T22:21:59.000Z
2022-03-24T14:07:55.000Z
#include <iostream> #include <vector> using namespace std; int main() { vector<double> student_marks; double mark; char answer; cout << "Enter marks (y/n)? " << endl; cin >> answer; while (answer == 'y' || answer == 'Y') { cout << "Enter value: " << endl; cin >> mark; ...
16.962963
48
0.510917
shmarovfedor
69b67ca7d032f3175af516a931ae53a0258e218e
358
cpp
C++
projects/codility/max_profit/src/MaxProfit.cpp
antaljanosbenjamin/miscellaneous
56d2f0030d1d8ff0dd6dd077c3d1ec981f6c2747
[ "MIT" ]
2
2021-06-24T21:46:56.000Z
2021-09-24T07:51:04.000Z
projects/codility/max_profit/src/MaxProfit.cpp
antaljanosbenjamin/miscellaneous
56d2f0030d1d8ff0dd6dd077c3d1ec981f6c2747
[ "MIT" ]
null
null
null
projects/codility/max_profit/src/MaxProfit.cpp
antaljanosbenjamin/miscellaneous
56d2f0030d1d8ff0dd6dd077c3d1ec981f6c2747
[ "MIT" ]
null
null
null
#include "MaxProfit.hpp" #include <algorithm> namespace MaxProfit { int solution(std::vector<int> &A) { if (A.empty()) { return 0; } auto minValue = A[0]; auto maxProfit = 0; for (const auto &a: A) { maxProfit = std::max(maxProfit, a - minValue); minValue = std::min(minValue, a); } return m...
17.047619
50
0.622905
antaljanosbenjamin
69e193f1ab4a32437a72bde3ae316e8d27297faa
1,405
hpp
C++
check/core/matrix/dense/dense_vector/test.hpp
emfomy/mcnla
9f9717f4d6449bbd467c186651856d6212035667
[ "MIT" ]
null
null
null
check/core/matrix/dense/dense_vector/test.hpp
emfomy/mcnla
9f9717f4d6449bbd467c186651856d6212035667
[ "MIT" ]
null
null
null
check/core/matrix/dense/dense_vector/test.hpp
emfomy/mcnla
9f9717f4d6449bbd467c186651856d6212035667
[ "MIT" ]
null
null
null
#pragma once #include <gtest/gtest.h> #include <mcnla/core/matrix.hpp> #include <mcnla/core/la.hpp> using MyTypes = testing::Types<float, double, std::complex<float>, std::complex<double>>; template <typename _Val, mcnla::index_t _len, mcnla::index_t _stride, mcnla::index_t _memsize, mcnla::index_t _offset> class De...
29.270833
118
0.733096
emfomy
69e5d04ca0261fa98c8b3a2a198fd81ea7ed0b87
6,524
cpp
C++
src/network/oni-network-peer.cpp
sina-/granite
95b873bc545cd4925b5cea8c632a82f2d815be6e
[ "MIT" ]
2
2019-08-01T09:18:49.000Z
2020-03-26T05:59:52.000Z
src/network/oni-network-peer.cpp
sina-/granite
95b873bc545cd4925b5cea8c632a82f2d815be6e
[ "MIT" ]
null
null
null
src/network/oni-network-peer.cpp
sina-/granite
95b873bc545cd4925b5cea8c632a82f2d815be6e
[ "MIT" ]
1
2020-03-26T05:59:53.000Z
2020-03-26T05:59:53.000Z
#include <oni-core/network/oni-network-peer.h> #include <enet/enet.h> namespace oni { Peer::Peer() = default; Peer::Peer(const Address *address, u8 peerCount, u8 channelLimit, u32 incomingBandwidth, u32 outgoingBandwidth) { auto result = e...
31.365385
115
0.520999
sina-
69e7f5d3e4fe2eed406a3c36d313894971371e64
631
hpp
C++
external/boost_1_60_0/qsboost/type_traits/add_lvalue_reference.hpp
wouterboomsma/quickstep
a33447562eca1350c626883f21c68125bd9f776c
[ "MIT" ]
1
2019-06-27T17:54:13.000Z
2019-06-27T17:54:13.000Z
external/boost_1_60_0/qsboost/type_traits/add_lvalue_reference.hpp
wouterboomsma/quickstep
a33447562eca1350c626883f21c68125bd9f776c
[ "MIT" ]
null
null
null
external/boost_1_60_0/qsboost/type_traits/add_lvalue_reference.hpp
wouterboomsma/quickstep
a33447562eca1350c626883f21c68125bd9f776c
[ "MIT" ]
null
null
null
// Copyright 2010 John Maddock // Distributed under the Boost Software License, Version 1.0. // See http://www.boost.org/LICENSE_1_0.txt #ifndef QSBOOST_TYPE_TRAITS_EXT_ADD_LVALUE_REFERENCE__HPP #define QSBOOST_TYPE_TRAITS_EXT_ADD_LVALUE_REFERENCE__HPP #include <qsboost/type_traits/add_reference.hpp> namespace q...
22.535714
62
0.800317
wouterboomsma
69f69cddcb5faf4dfe3b61999f7a0dbe16902631
19,074
cpp
C++
source/UI/Automap.cpp
BodbDearg/phoenix_doom
9648b1cc742634d5aefc18cd3699cd7cb2c0e21c
[ "MIT" ]
29
2019-09-25T06:29:07.000Z
2022-02-20T23:52:36.000Z
source/UI/Automap.cpp
monyarm/phoenix_doom
78c75f985803b94b981469ac32764169ed56aee4
[ "MIT" ]
4
2019-09-25T03:24:31.000Z
2020-09-07T18:38:32.000Z
source/UI/Automap.cpp
monyarm/phoenix_doom
78c75f985803b94b981469ac32764169ed56aee4
[ "MIT" ]
4
2019-09-26T06:43:12.000Z
2020-09-05T16:25:03.000Z
#include "Automap.h" #include "Base/Tables.h" #include "Game/Controls.h" #include "Game/Data.h" #include "Game/Tick.h" #include "GFX/Blit.h" #include "GFX/Video.h" #include "Map/MapData.h" #include "Things/MapObj.h" static constexpr Fixed STEPVALUE = (2 << FRACBITS); // Speed to move around in the map (Fixed)...
44.88
141
0.520185
BodbDearg
69f98c91379842f52a50ae79070751d206bcdc88
1,714
cpp
C++
tests/transpose.cpp
marwage/alzheimer
b58688ea91f9b2ca4ae5457858b0fcc2a6e3e041
[ "CC0-1.0" ]
null
null
null
tests/transpose.cpp
marwage/alzheimer
b58688ea91f9b2ca4ae5457858b0fcc2a6e3e041
[ "CC0-1.0" ]
null
null
null
tests/transpose.cpp
marwage/alzheimer
b58688ea91f9b2ca4ae5457858b0fcc2a6e3e041
[ "CC0-1.0" ]
null
null
null
// Copyright 2020 Marcel Wagenländer #include "helper.hpp" #include "tensors.hpp" #include "catch2/catch.hpp" #include <string> int test_transpose(long rows, long columns, bool to_col_major) { std::string home = std::getenv("HOME"); std::string dir_path = home + "/gpu_memory_reduction/alzheimer/data"; s...
29.050847
145
0.673862
marwage
69ffe1a6db4e8c4b33c3af64023f90e647acf975
2,248
hpp
C++
src/Conversion/KrnlToAffine/ConvertKrnlToAffine.hpp
redbopo/onnx-mlir
3305a13ddcdfa73ddd6c241b64c8d856e78b9455
[ "Apache-2.0" ]
null
null
null
src/Conversion/KrnlToAffine/ConvertKrnlToAffine.hpp
redbopo/onnx-mlir
3305a13ddcdfa73ddd6c241b64c8d856e78b9455
[ "Apache-2.0" ]
null
null
null
src/Conversion/KrnlToAffine/ConvertKrnlToAffine.hpp
redbopo/onnx-mlir
3305a13ddcdfa73ddd6c241b64c8d856e78b9455
[ "Apache-2.0" ]
null
null
null
/* * SPDX-License-Identifier: Apache-2.0 */ //====------ ConvertKrnlToAffine.hpp - Krnl Dialect Lowering --------------===// // // Copyright 2019-2022 The IBM Research Authors. // // ============================================================================= // // This file declares the lowering of Krnl operations...
36.852459
80
0.733541
redbopo
0e0851bb50aa5cc6aa0046a0e2911c66c4e7b8bd
1,207
cpp
C++
src/htsettings.cpp
hualet/NeteaseMusicForLinux
f0662203658add8c48f474cc67a19da88fe12339
[ "MIT" ]
15
2015-04-19T13:43:11.000Z
2020-08-13T08:17:31.000Z
src/htsettings.cpp
hualet/NeteaseMusicForLinux
f0662203658add8c48f474cc67a19da88fe12339
[ "MIT" ]
3
2015-05-13T14:14:32.000Z
2018-08-29T10:17:24.000Z
src/htsettings.cpp
hualet/NeteaseMusicForLinux
f0662203658add8c48f474cc67a19da88fe12339
[ "MIT" ]
8
2015-04-27T14:20:17.000Z
2021-05-12T10:17:43.000Z
#include "htsettings.h" #include <QDebug> HTSettings::HTSettings(QObject *parent) : QSettings(parent) { } double HTSettings::volume() { return value("General/volume").toDouble(); } void HTSettings::setVolume(double volume) { setValue("General/volume", QVariant(volume)); } QString HTSettings::lastSong() ...
19.786885
61
0.724938
hualet
0e1034acc2ba7bffa4a982ba7f1679b401540955
3,369
cpp
C++
common/actiongroup.cpp
pastillilabs/situations-symbian
909da8a2067ad33ab8d290a6420a9e8f0abd96e6
[ "Unlicense" ]
4
2016-06-04T20:56:27.000Z
2016-10-11T11:39:27.000Z
common/actiongroup.cpp
pastillilabs/situations-symbian
909da8a2067ad33ab8d290a6420a9e8f0abd96e6
[ "Unlicense" ]
null
null
null
common/actiongroup.cpp
pastillilabs/situations-symbian
909da8a2067ad33ab8d290a6420a9e8f0abd96e6
[ "Unlicense" ]
null
null
null
#include "actiongroup.h" #include "action.h" #include "identifiers.h" ActionGroup::ActionGroup(ActionPlugin& plugin, QObject* parent) : QAbstractListModel(parent) , mPlugin(plugin) , mRunning(false) { QHash<int, QByteArray> roles; roles[ActionRole] = "action"; setRoleNames(roles); } ActionGrou...
21.458599
89
0.629267
pastillilabs
97bbc93df9b0d4d29fb4a3bd79c7ee98bfdc2078
2,087
cc
C++
tests/neuron_rng_uniform/neuron_rng_uniform_CODE/init.cc
9inpachi/genn-opencl
33231225a72611c7b629ef1d13f325f35d4ae2f7
[ "MIT" ]
1
2020-06-28T19:48:48.000Z
2020-06-28T19:48:48.000Z
tests/neuron_rng_uniform/neuron_rng_uniform_CODE/init.cc
9inpachi/genn-opencl
33231225a72611c7b629ef1d13f325f35d4ae2f7
[ "MIT" ]
1
2020-02-10T15:26:29.000Z
2020-02-10T15:26:29.000Z
tests/neuron_rng_uniform/neuron_rng_uniform_CODE/init.cc
9inpachi/genn-opencl
33231225a72611c7b629ef1d13f325f35d4ae2f7
[ "MIT" ]
1
2020-02-10T10:47:12.000Z
2020-02-10T10:47:12.000Z
#include "definitionsInternal.h" extern "C" const char* initProgramSrc = R"(typedef float scalar; #define fmodf fmod #define TIME_MIN 1.175494351e-38f #define TIME_MAX 3.402823466e+38f __kernel void initializeKernel(__global unsigned int* d_glbSpkCntPop, __global unsigned int* d_glbSpkPop, __global scalar* d_xPop, ...
31.621212
160
0.586488
9inpachi
97bfd6b1afa3c9b4e7424549c0c9a5b3504573fc
3,152
cpp
C++
Proj_Android/app/src/main/cpp/FAssetResolutionConfigurator.cpp
nraptis/Metal_OpenGL_MobileGameEngine
cc36682676a9797df8b3a7ee235b99be3ae2f666
[ "MIT" ]
3
2019-10-10T19:25:42.000Z
2019-12-17T10:51:23.000Z
Framework/[C++ Core]/FAssetResolutionConfigurator.cpp
nraptis/Metal_OpenGL_MobileGameEngine
cc36682676a9797df8b3a7ee235b99be3ae2f666
[ "MIT" ]
null
null
null
Framework/[C++ Core]/FAssetResolutionConfigurator.cpp
nraptis/Metal_OpenGL_MobileGameEngine
cc36682676a9797df8b3a7ee235b99be3ae2f666
[ "MIT" ]
1
2021-11-16T15:29:40.000Z
2021-11-16T15:29:40.000Z
// // FAssetResolutionConfigurator.cpp // Crazy Darts 2 Mac // // Created by Nicholas Raptis on 8/24/19. // Copyright © 2019 Froggy Studios. All rights reserved. // #include "FAssetResolutionConfigurator.hpp" #include "core_includes.h" FAssetResolutionConfigurator::FAssetResolutionConfigurator() { mAssetScale...
26.711864
138
0.618338
nraptis
97c00ffe046fd1a28516d261c40f835d364d2472
4,754
cpp
C++
lib/Transform/Mixed/DILoopRetriever.cpp
yukatan1701/tsar
a6f95cdaeb117ccd5fcb775b471b1aa17c45f4e8
[ "Apache-2.0" ]
14
2019-11-04T15:03:40.000Z
2021-09-07T17:29:40.000Z
lib/Transform/Mixed/DILoopRetriever.cpp
yukatan1701/tsar
a6f95cdaeb117ccd5fcb775b471b1aa17c45f4e8
[ "Apache-2.0" ]
11
2019-11-29T21:18:12.000Z
2021-12-22T21:36:40.000Z
lib/Transform/Mixed/DILoopRetriever.cpp
yukatan1701/tsar
a6f95cdaeb117ccd5fcb775b471b1aa17c45f4e8
[ "Apache-2.0" ]
17
2019-10-15T13:56:35.000Z
2021-10-20T17:21:14.000Z
//===- DILoopRetriever.cpp - Loop Debug Info Retriever ----------*- C++ -*-===// // // Traits Static Analyzer (SAPFOR) // // Copyright 2018 DVM System Group // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // ...
35.214815
80
0.657131
yukatan1701
97c3f9f388f29a31d560c68312af51bfb687b671
1,632
cpp
C++
source/Libraries/AES/MyAES.cpp
febrihendra88/whatsapp-viewer
2b4e727dfba3ad7847a13588854364ca97e4725b
[ "MIT" ]
3
2018-12-21T14:46:32.000Z
2019-02-03T14:12:26.000Z
source/Libraries/AES/MyAES.cpp
febrihendra88/whatsapp-viewer
2b4e727dfba3ad7847a13588854364ca97e4725b
[ "MIT" ]
null
null
null
source/Libraries/AES/MyAES.cpp
febrihendra88/whatsapp-viewer
2b4e727dfba3ad7847a13588854364ca97e4725b
[ "MIT" ]
3
2018-10-27T13:28:29.000Z
2021-04-05T15:35:50.000Z
#include "mbedtls/aes.h" #include "mbedtls/gcm.h" #include "../../Exceptions/Exception.h" int aesBlocksize = 16; void decrypt_aes_cbc_192(const unsigned char *input, unsigned char *output, int length, const unsigned char *key, unsigned char *initVector) { mbedtls_aes_context context; mbedtls_aes_setkey_dec(&contex...
32.64
140
0.753676
febrihendra88
97c671b04ca89750abeaa38411289ce93a02a286
6,388
cpp
C++
kernel/pager.cpp
shockkolate/shockk-os
1cbe2e14be6a8dd4bbe808e199284b6979dacdff
[ "Apache-2.0" ]
2
2015-11-16T07:30:38.000Z
2016-03-26T21:14:42.000Z
kernel/pager.cpp
shockkolate/shockk-os
1cbe2e14be6a8dd4bbe808e199284b6979dacdff
[ "Apache-2.0" ]
null
null
null
kernel/pager.cpp
shockkolate/shockk-os
1cbe2e14be6a8dd4bbe808e199284b6979dacdff
[ "Apache-2.0" ]
null
null
null
#include <kernel/pager.h> //////////////////// // Pager::Context // //////////////////// Pager::Context::Context(Pager *parent, Directory *dir, bool copy_kernel_pages) : parent(parent), directory(dir) { // initialize directory for(unsigned int table = 0; table < 1024; ++table) { directory->t...
28.391111
94
0.673294
shockkolate
97ca1c91bc78f5044677d73567326e1b39acfedc
507
cpp
C++
llistTests.cpp
iankronquist/llist
b04b2af49e5104426b457358bdae2c96540fa27c
[ "MIT" ]
1
2019-04-08T05:16:56.000Z
2019-04-08T05:16:56.000Z
llistTests.cpp
iankronquist/llist
b04b2af49e5104426b457358bdae2c96540fa27c
[ "MIT" ]
null
null
null
llistTests.cpp
iankronquist/llist
b04b2af49e5104426b457358bdae2c96540fa27c
[ "MIT" ]
null
null
null
#include "llist.hpp" #include <cstdio> #include <cassert> bool testllistCreationAndDestruction(); int main() { bool passed = true; passed = testllistCreationAndDestruction(); return 0; } bool testllistCreationAndDestruction() { int array[10] = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9}; //struct llist* arr = llistCreate...
19.5
52
0.690335
iankronquist
97d94fea5abee56700846d38dcc06c4c5aeec400
3,751
cpp
C++
src/newuser.cpp
dmakian/FlashcardPro
0537e7483015cd0c0ec6bc01875f9d592a9f284d
[ "MIT" ]
null
null
null
src/newuser.cpp
dmakian/FlashcardPro
0537e7483015cd0c0ec6bc01875f9d592a9f284d
[ "MIT" ]
null
null
null
src/newuser.cpp
dmakian/FlashcardPro
0537e7483015cd0c0ec6bc01875f9d592a9f284d
[ "MIT" ]
null
null
null
#include "newuser.h" #include <QtWidgets> NewUser::NewUser(QStackedWidget* pages_in, LogIn* parent_in, UserSelect* select_parent) { QFrame(); pages = pages_in; parent = parent_in; select = select_parent; //qDebug() << "making new user "; QLabel* title = new QLabel("Create New User"); QFont ...
25.868966
103
0.642229
dmakian
97da700cc22468835e5f39229270fa1bf8071776
173
hpp
C++
events/teleport.hpp
ErikBehar/randballs
ae29c22ba46a22f6ee11902043f7fce37c600bcc
[ "MIT" ]
29
2018-05-17T14:08:16.000Z
2021-12-01T08:15:03.000Z
events/teleport.hpp
ErikBehar/randballs
ae29c22ba46a22f6ee11902043f7fce37c600bcc
[ "MIT" ]
4
2018-09-04T13:46:19.000Z
2020-05-15T16:05:35.000Z
events/teleport.hpp
ErikBehar/randballs
ae29c22ba46a22f6ee11902043f7fce37c600bcc
[ "MIT" ]
2
2020-03-30T05:19:37.000Z
2020-04-24T03:02:25.000Z
#pragma once namespace GameEvent { struct Teleport { Teleport(unsigned int who, unsigned int where) : who(who), where(where) { } unsigned int who, where; }; };
12.357143
73
0.66474
ErikBehar
97dcf41ab942e4beb8c620ced8ca785e6143dfcb
127
hpp
C++
source/color.hpp
Lucius-sama/programmiersprachen-aufgabenblatt-2
35c98e73aece7c490269db35d0bfd595086a473a
[ "MIT" ]
null
null
null
source/color.hpp
Lucius-sama/programmiersprachen-aufgabenblatt-2
35c98e73aece7c490269db35d0bfd595086a473a
[ "MIT" ]
null
null
null
source/color.hpp
Lucius-sama/programmiersprachen-aufgabenblatt-2
35c98e73aece7c490269db35d0bfd595086a473a
[ "MIT" ]
null
null
null
#ifndef COLOR_HPP #define COLOR_HPP struct Color { float r = 0.5f; float g = 0.5f; float b = 0.5f; }; #endif // !COLOR_HPP
11.545455
20
0.645669
Lucius-sama
97e24797d4aef427bd2d45913ac1933b8419f4e8
5,276
cpp
C++
Nacro/SDK/FN_ItemUIFunctionLibrary_functions.cpp
Milxnor/Nacro
eebabf662bbce6d5af41820ea0342d3567a0aecc
[ "BSD-2-Clause" ]
11
2021-08-08T23:25:10.000Z
2022-02-19T23:07:22.000Z
Nacro/SDK/FN_ItemUIFunctionLibrary_functions.cpp
Milxnor/Nacro
eebabf662bbce6d5af41820ea0342d3567a0aecc
[ "BSD-2-Clause" ]
1
2021-08-11T18:40:26.000Z
2021-08-11T18:40:26.000Z
Nacro/SDK/FN_ItemUIFunctionLibrary_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 ItemUIFunctionLibrary.ItemUI...
40.584615
190
0.692381
Milxnor
97f02180ee282f87987d33bfc3d249fcbc045da8
352
cpp
C++
tutorial/expl-19.cpp
qPCR4vir/sdsl-lite
3ae7ac30c3837553cf20243cc3df8ee658b9f00f
[ "BSD-3-Clause" ]
20
2017-12-26T16:04:18.000Z
2022-02-09T03:30:13.000Z
tutorial/expl-19.cpp
Irallia/sdsl-lite
9a0d5676fd09fb8b52af214eca2d5809c9a32dbe
[ "BSD-3-Clause" ]
6
2018-11-12T15:14:24.000Z
2021-04-29T14:07:13.000Z
tutorial/expl-19.cpp
Irallia/sdsl-lite
9a0d5676fd09fb8b52af214eca2d5809c9a32dbe
[ "BSD-3-Clause" ]
4
2018-11-12T14:36:34.000Z
2021-01-26T22:16:32.000Z
#include <sdsl/suffix_arrays.hpp> #include <iostream> #include <algorithm> using namespace std; using namespace sdsl; int main() { csa_wt<wt_int<rrr_vector<63>>> csa; construct_im(csa, "1 8 15 23 1 8 23 11 8", 'd'); cout << " i SA ISA PSI LF BWT T[SA[i]..SA[i]-1]" << endl; csXprintf(cout, "%2I %2S %...
23.466667
63
0.613636
qPCR4vir
97f5a8bae7fb3e4b5b36b837b4d4ee34bd3a9fed
1,109
hpp
C++
library/include/darcel/reactors/none_reactor.hpp
spiretrading/darcel
a9c32989ad9c1571edaa41c7c3a86b276b782c0d
[ "MIT" ]
null
null
null
library/include/darcel/reactors/none_reactor.hpp
spiretrading/darcel
a9c32989ad9c1571edaa41c7c3a86b276b782c0d
[ "MIT" ]
null
null
null
library/include/darcel/reactors/none_reactor.hpp
spiretrading/darcel
a9c32989ad9c1571edaa41c7c3a86b276b782c0d
[ "MIT" ]
1
2020-04-17T13:25:25.000Z
2020-04-17T13:25:25.000Z
#ifndef DARCEL_NONE_REACTOR_HPP #define DARCEL_NONE_REACTOR_HPP #include <memory> #include "darcel/reactors/reactor.hpp" #include "darcel/reactors/reactor_unavailable_exception.hpp" #include "darcel/reactors/reactors.hpp" namespace darcel { //! A reactor that never produces an evaluation. template<typename T> c...
23.104167
62
0.704238
spiretrading
3f03a4c58a3b54235c29b6398a4a68ca05bf86de
5,580
cpp
C++
testogl.cpp
twareintor/Spaceship-simulator
9b960eebbf86d36bad908e822f481a87247424c1
[ "MIT" ]
null
null
null
testogl.cpp
twareintor/Spaceship-simulator
9b960eebbf86d36bad908e822f481a87247424c1
[ "MIT" ]
null
null
null
testogl.cpp
twareintor/Spaceship-simulator
9b960eebbf86d36bad908e822f481a87247424c1
[ "MIT" ]
null
null
null
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////...
46.115702
130
0.3
twareintor
3f04d3a1ab1a2e4a2d80d90cb77aae08ffd5f12c
28,768
cpp
C++
8 Puzzle/Main.cpp
CaiGwatkin/CPP_AI8Puzzle
8c98a48eb6aa75d8da8254d57297039101833122
[ "MIT" ]
null
null
null
8 Puzzle/Main.cpp
CaiGwatkin/CPP_AI8Puzzle
8c98a48eb6aa75d8da8254d57297039101833122
[ "MIT" ]
null
null
null
8 Puzzle/Main.cpp
CaiGwatkin/CPP_AI8Puzzle
8c98a48eb6aa75d8da8254d57297039101833122
[ "MIT" ]
null
null
null
////////////////////////////////////////////////////////////////////////// // 8-PUZZLE PROBLEM // // Start-up codes by n.h.reyes@massey.ac.nz // // Name(s): Cai Gwatkin - 15146508 // Date: // ////////////////////////////////////////////////////////////////////////// #include <windows.h> #include <stdio.h> #incl...
57.767068
308
0.459017
CaiGwatkin
3f053570b45d96020f9f006c691383e5311de321
12,093
cpp
C++
src/bkGL/texture/TextureCubeMap.cpp
BenKoehler/bk
53d9ce99cf54fe01dbb3b22ff2418cd102e20ee3
[ "MIT" ]
4
2018-12-08T15:35:38.000Z
2021-08-06T03:23:06.000Z
src/bkGL/texture/TextureCubeMap.cpp
BenKoehler/bk
53d9ce99cf54fe01dbb3b22ff2418cd102e20ee3
[ "MIT" ]
null
null
null
src/bkGL/texture/TextureCubeMap.cpp
BenKoehler/bk
53d9ce99cf54fe01dbb3b22ff2418cd102e20ee3
[ "MIT" ]
null
null
null
/* * MIT License * * Copyright (c) 2018-2019 Benjamin Köhler * * 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, c...
42.135889
669
0.563797
BenKoehler
3f0614fd6f1a11896a3da3d7a2b660f8d238fdaf
1,009
cpp
C++
xfa/fxfa/parser/cxfa_binditemsdata.cpp
jamespayor/pdfium
07b4727a34d2f4aff851f0dc420faf617caca220
[ "BSD-3-Clause" ]
1
2019-01-12T07:00:46.000Z
2019-01-12T07:00:46.000Z
xfa/fxfa/parser/cxfa_binditemsdata.cpp
jamespayor/pdfium
07b4727a34d2f4aff851f0dc420faf617caca220
[ "BSD-3-Clause" ]
null
null
null
xfa/fxfa/parser/cxfa_binditemsdata.cpp
jamespayor/pdfium
07b4727a34d2f4aff851f0dc420faf617caca220
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2016 PDFium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com #include "xfa/fxfa/parser/cxfa_binditemsdata.h" #include "xfa/fxfa/parser/cxf...
33.633333
80
0.74331
jamespayor
3f0a346f1e8c71b57165a44ba8b6bce9c754fabb
2,768
cc
C++
gcc-gcc-7_3_0-release/libvtv/testsuite/other-tests/so.cc
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
7
2020-05-02T17:34:05.000Z
2021-10-17T10:15:18.000Z
gcc-gcc-7_3_0-release/libvtv/testsuite/other-tests/so.cc
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
null
null
null
gcc-gcc-7_3_0-release/libvtv/testsuite/other-tests/so.cc
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
2
2020-07-27T00:22:36.000Z
2021-04-01T09:41:02.000Z
#include <dlfcn.h> #include <assert.h> #include <unistd.h> #include <vtv_fail.h> extern "C" int printf(const char *, ...); extern "C" int sprintf(char *, const char*, ...); static int counter = 0; extern int failures; template <int i> struct base { virtual char * whoami() { static char sl[100]; sprintf(sl,...
29.446809
124
0.670882
best08618
3f0d1a425429c90e344871374fe4209ff80c2548
4,756
hpp
C++
game/game_objects/editor/object_selector.hpp
antonkanin/potatoengine
9c8cfe03381ddc2b266c2320bb9c87fabf9d11dd
[ "MIT" ]
null
null
null
game/game_objects/editor/object_selector.hpp
antonkanin/potatoengine
9c8cfe03381ddc2b266c2320bb9c87fabf9d11dd
[ "MIT" ]
null
null
null
game/game_objects/editor/object_selector.hpp
antonkanin/potatoengine
9c8cfe03381ddc2b266c2320bb9c87fabf9d11dd
[ "MIT" ]
1
2020-01-29T10:18:23.000Z
2020-01-29T10:18:23.000Z
#include <engine.hpp> #include <game_object.hpp> #include <input_manager.hpp> #include <movable_object.hpp> #include "../space_ship.hpp" #include <SDL2/SDL_mouse.h> // TODO hide this in the engine #include <glm/gtc/matrix_transform.hpp> #include <ptm/glm_to_ptm.hpp> #include <ptm/math.hpp> #include <ptm/vec4.hpp> #i...
30.101266
80
0.555929
antonkanin
3f10a9f03e514238269127ed9e390d21a12099a4
2,614
hpp
C++
src/Modules/EffectsModule/Entity/FreeFrameEffect.hpp
danielfilipealmeida/Orange
e0118a7d1391e74c15c707e64a2e0458d51d318f
[ "MIT" ]
null
null
null
src/Modules/EffectsModule/Entity/FreeFrameEffect.hpp
danielfilipealmeida/Orange
e0118a7d1391e74c15c707e64a2e0458d51d318f
[ "MIT" ]
null
null
null
src/Modules/EffectsModule/Entity/FreeFrameEffect.hpp
danielfilipealmeida/Orange
e0118a7d1391e74c15c707e64a2e0458d51d318f
[ "MIT" ]
null
null
null
// // FreeFrameEffect.hpp // orange // // Created by Daniel Almeida on 13/01/2019. // // IMPORTANT: // FreeFrame filters are currently considered incompatible with GLSL filters. // This is because FreeFrame filters require ArbTex to be disabled while // GLSL requires the oposite. // Also, the used ofxFreeFrame is tw...
27.808511
96
0.555853
danielfilipealmeida
3f162437b1807c63d856305b661308be325dc922
20,620
cc
C++
libport-core/src/main/native/server/manager.cc
jerryz920/portlib
72c6534e8f064b5507a5c79766a13114478d3ffa
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
libport-core/src/main/native/server/manager.cc
jerryz920/portlib
72c6534e8f064b5507a5c79766a13114478d3ffa
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
libport-core/src/main/native/server/manager.cc
jerryz920/portlib
72c6534e8f064b5507a5c79766a13114478d3ffa
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
#include <unordered_map> #include "proto/config.h" #include "proto/statement.pb.h" #include "proto/utils.h" #include "proto/traits.h" #include "manager.h" #include "pplx/threadpool.h" #include "pplx/pplxtasks.h" #include "metadata.h" #include "utils.h" #include <jutils/config/simple.h> #include "config.h" namespace...
40.273438
106
0.651164
jerryz920
3f16a85da2f2141d66168faf3a23dbc0a795b747
12,253
cpp
C++
src/seeds.gratitude.cpp
shakhruz/seeds-smart-contracts
14423aa5901379f7a273536db4a93bf1da996f21
[ "MIT" ]
13
2020-04-05T15:26:58.000Z
2022-03-24T07:29:45.000Z
src/seeds.gratitude.cpp
shakhruz/seeds-smart-contracts
14423aa5901379f7a273536db4a93bf1da996f21
[ "MIT" ]
318
2020-03-09T14:56:45.000Z
2022-03-29T18:26:24.000Z
src/seeds.gratitude.cpp
chuck-h/seeds-smart-contracts
98f8279c52c607e0e3f697f125fcf43980402f27
[ "MIT" ]
3
2021-04-03T04:44:55.000Z
2021-12-15T16:22:03.000Z
#include <seeds.gratitude.hpp> ACTION gratitude::reset () { require_auth(get_self()); auto bitr = balances.begin(); while (bitr != balances.end()) { bitr = balances.erase(bitr); } auto actr = acks.begin(); while (actr != acks.end()) { actr = acks.erase(actr); } auto sitr = sizes.begin(); ...
26.293991
105
0.635028
shakhruz