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
5d3b5b9e898c695ffefec95c21366cb12b21c662
2,146
cpp
C++
7zFontChange/7zFontChange.cpp
tekkui/7zFontChange
6b004019d9b3dd9597cddbb697cfaacef09a4fc5
[ "MIT" ]
null
null
null
7zFontChange/7zFontChange.cpp
tekkui/7zFontChange
6b004019d9b3dd9597cddbb697cfaacef09a4fc5
[ "MIT" ]
null
null
null
7zFontChange/7zFontChange.cpp
tekkui/7zFontChange
6b004019d9b3dd9597cddbb697cfaacef09a4fc5
[ "MIT" ]
null
null
null
#include <iostream> #include <fstream> #include <conio.h> int main() { char targetFiles[][10] = { {"7zFM.exe"}, {"7zG.exe"}, {"7z.sfx"}, {""} }; char orgFont[] = { 0x08, 0x00, 'M', 0x00, 'S', 0x00, ' ', 0x00, 'S', 0x00, 'h', 0x00, 'e', 0x00, 'l', 0x00, 'l', 0x00, ' ', 0x00, 'D', 0x00, 'l', 0x00, 'g' }; c...
25.247059
160
0.496272
tekkui
5d3c799af8ac2897e4c62cb85742a23d22f98175
5,138
hpp
C++
src/TNL/Solvers/PDE/TimeIndependentPDESolver.hpp
GregTheMadMonk/tnl-noa
d7d57962decf579a89797816e7d564350157cbf2
[ "MIT" ]
null
null
null
src/TNL/Solvers/PDE/TimeIndependentPDESolver.hpp
GregTheMadMonk/tnl-noa
d7d57962decf579a89797816e7d564350157cbf2
[ "MIT" ]
null
null
null
src/TNL/Solvers/PDE/TimeIndependentPDESolver.hpp
GregTheMadMonk/tnl-noa
d7d57962decf579a89797816e7d564350157cbf2
[ "MIT" ]
null
null
null
// Copyright (c) 2004-2022 Tomáš Oberhuber et al. // // This file is part of TNL - Template Numerical Library (https://tnl-project.org/) // // SPDX-License-Identifier: MIT /*************************************************************************** * ...
34.02649
112
0.637602
GregTheMadMonk
5d43c49f8044846a95d6befdd975f812c1f39d1b
2,811
hpp
C++
utility/lip_filter/LIPFilterUtil.hpp
Hacker0912/quickstep-datalog
1de22e7ab787b5efa619861a167a097ff6a4f549
[ "Apache-2.0" ]
82
2016-04-18T03:59:06.000Z
2019-02-04T11:46:08.000Z
utility/lip_filter/LIPFilterUtil.hpp
Hacker0912/quickstep-datalog
1de22e7ab787b5efa619861a167a097ff6a4f549
[ "Apache-2.0" ]
265
2016-04-19T17:52:43.000Z
2018-10-11T17:55:08.000Z
utility/lip_filter/LIPFilterUtil.hpp
Hacker0912/quickstep-datalog
1de22e7ab787b5efa619861a167a097ff6a4f549
[ "Apache-2.0" ]
68
2016-04-18T05:00:34.000Z
2018-10-30T12:41:02.000Z
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
35.1375
87
0.775169
Hacker0912
5d44db36a657480341dc9405b3f7e9bc7964f215
13,940
cpp
C++
DreamDaq/codeBackup/DreamDaq.101104/myFIFO-IO.cpp
ivivarel/DREMTubes
ac768990b4c5e2c23d986284ed10189f31796b38
[ "MIT" ]
3
2021-07-22T12:17:48.000Z
2021-07-27T07:22:54.000Z
DreamDaq/codeBackup/DreamDaq.101104/myFIFO-IO.cpp
ivivarel/DREMTubes
ac768990b4c5e2c23d986284ed10189f31796b38
[ "MIT" ]
38
2021-07-14T15:41:04.000Z
2022-03-29T14:18:20.000Z
DreamDaq/codeBackup/DreamDaq.101104/myFIFO-IO.cpp
ivivarel/DREMTubes
ac768990b4c5e2c23d986284ed10189f31796b38
[ "MIT" ]
7
2021-07-21T12:00:33.000Z
2021-11-13T10:45:30.000Z
//$Id: myFIFO-IO.cpp,v 1.19 2009/07/21 09:14:45 dreamdaq Exp $ /************************************************************************* myIO.c ------ This file contains all related I/O stuff. Version 0.1, A.Cardini 3/6/2001 Version 0.2, D.Raspino 27/7/2005 Data Fro...
26.056075
155
0.489096
ivivarel
5d46bda9b671223a0c6a0c1c66f870a28ab4d76a
3,520
cpp
C++
GameClient/RemoteTank.cpp
SamirAroudj/BaseProject
50ede52bd6fa7b20d6ecb8a11bc1193ef841d91d
[ "BSD-3-Clause" ]
null
null
null
GameClient/RemoteTank.cpp
SamirAroudj/BaseProject
50ede52bd6fa7b20d6ecb8a11bc1193ef841d91d
[ "BSD-3-Clause" ]
1
2019-06-19T15:55:25.000Z
2019-06-27T07:47:27.000Z
GameClient/RemoteTank.cpp
SamirAroudj/BaseProject
50ede52bd6fa7b20d6ecb8a11bc1193ef841d91d
[ "BSD-3-Clause" ]
1
2019-07-07T04:37:56.000Z
2019-07-07T04:37:56.000Z
/* * Copyright (C) 2017 by Author: Aroudj, Samir, born in Suhl, Thueringen, Germany * All rights reserved. * * This software may be modified and distributed under the terms * of the BSD 3-Clause license. See the License.txt file for details. */ #include "ClientTimeManager.h" #include "RemoteTank.h" using namespa...
26.268657
122
0.727273
SamirAroudj
5d4a6a90524e3302bdab72eca42cb24be59f2c5c
1,271
cpp
C++
gift1/gift1.cpp
rknightly/usaco-training
3ba9fc383ef87d32046d6c5f3537b48edf769da2
[ "MIT" ]
null
null
null
gift1/gift1.cpp
rknightly/usaco-training
3ba9fc383ef87d32046d6c5f3537b48edf769da2
[ "MIT" ]
null
null
null
gift1/gift1.cpp
rknightly/usaco-training
3ba9fc383ef87d32046d6c5f3537b48edf769da2
[ "MIT" ]
null
null
null
/* PROB: gift1 LANG: C++11 */ #include <iostream> #include <fstream> using namespace std; struct Friend { string name = ""; int account = 0; }; int main() { ofstream fout ("gift1.out"); ifstream fin ("gift1.in"); int studentCount; fin >> studentCount; // Get friend names Friend friends...
21.183333
67
0.520063
rknightly
5d4c48e33c0a01292d64d460da2f31fa4e91cd61
3,639
cpp
C++
html/parser.cpp
johnor/hastur
d12c92e744da42aed0adc4cb26aed6c1db7d8613
[ "BSD-2-Clause" ]
10
2021-01-26T10:39:14.000Z
2022-03-02T21:19:19.000Z
html/parser.cpp
johnor/hastur
d12c92e744da42aed0adc4cb26aed6c1db7d8613
[ "BSD-2-Clause" ]
71
2021-04-25T19:44:27.000Z
2022-03-27T15:52:51.000Z
html/parser.cpp
johnor/hastur
d12c92e744da42aed0adc4cb26aed6c1db7d8613
[ "BSD-2-Clause" ]
4
2021-03-01T20:14:58.000Z
2021-09-17T10:38:18.000Z
// SPDX-FileCopyrightText: 2021 Robin Lindén <dev@robinlinden.eu> // // SPDX-License-Identifier: BSD-2-Clause #include "html/parser.h" #include <spdlog/spdlog.h> #include <cassert> #include <cctype> #include <string> using namespace std::literals; namespace html { namespace { dom::AttrMap into_dom_attributes(std:...
34.990385
115
0.613905
johnor
5d4d714aa19a5aac1faeb5d0bac074450792bc25
238
cpp
C++
src/scb_fw/EventCollector.cpp
DonTassettitos/AIR
92c93f05d6f15095d403dcbbe7ebe16563198697
[ "BSD-3-Clause" ]
null
null
null
src/scb_fw/EventCollector.cpp
DonTassettitos/AIR
92c93f05d6f15095d403dcbbe7ebe16563198697
[ "BSD-3-Clause" ]
null
null
null
src/scb_fw/EventCollector.cpp
DonTassettitos/AIR
92c93f05d6f15095d403dcbbe7ebe16563198697
[ "BSD-3-Clause" ]
null
null
null
#include "EventCollector.hpp" using namespace scb_fw; /** * Simple constructor. * */ EventCollector::EventCollector(const int tag, const int rank, const int worldSize) : scb::EventCollector(tag, rank, worldSize) { setBaseline('w'); }
21.636364
84
0.731092
DonTassettitos
5d4ffa0775e55fcdaf6a2ccb8f60f5c25167b17d
1,276
cpp
C++
Chapter06/04_hidden_friend__copy_and_swap.cpp
gbellizio/Software-Architecture-with-Cpp
eb0f7a52ef1253d9b0091714eee9c94c156b02bc
[ "MIT" ]
193
2021-03-27T00:46:13.000Z
2022-03-29T07:25:00.000Z
Chapter06/04_hidden_friend__copy_and_swap.cpp
gbellizio/Software-Architecture-with-Cpp
eb0f7a52ef1253d9b0091714eee9c94c156b02bc
[ "MIT" ]
6
2021-03-26T05:48:17.000Z
2022-02-15T12:16:54.000Z
Chapter06/04_hidden_friend__copy_and_swap.cpp
gbellizio/Software-Architecture-with-Cpp
eb0f7a52ef1253d9b0091714eee9c94c156b02bc
[ "MIT" ]
64
2021-04-01T02:18:55.000Z
2022-03-14T12:32:29.000Z
#include <algorithm> #include <cassert> #include <utility> template <typename T> class Array { public: Array(T *array, int size) : array_{array}, size_{size} {} Array(const Array &other) : array_{new T[other.size_]}, size_{other.size_} { std::copy_n(other.array_, size_, array_); } Array(Array &&other) n...
24.075472
78
0.666928
gbellizio
5d5372a47af2e80f89d2df147b085360aa875a83
29,032
hpp
C++
include/lely/coapp/slave.hpp
JoachimDuquesne/lely
cc6bad10ba57e380386622211e603006eeee0fff
[ "Apache-2.0" ]
null
null
null
include/lely/coapp/slave.hpp
JoachimDuquesne/lely
cc6bad10ba57e380386622211e603006eeee0fff
[ "Apache-2.0" ]
null
null
null
include/lely/coapp/slave.hpp
JoachimDuquesne/lely
cc6bad10ba57e380386622211e603006eeee0fff
[ "Apache-2.0" ]
null
null
null
/**@file * This header file is part of the C++ CANopen application library; it contains * the CANopen slave declarations. * * @copyright 2018-2020 Lely Industries N.V. * * @author J. S. Seldenthuis <jseldenthuis@lely.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use thi...
34.155294
108
0.639226
JoachimDuquesne
5d565a736e77f048826dac9cc7d8958172a44042
2,287
cpp
C++
engine/source/mem/source/src/memory_allocator.cpp
mateusgondim/Demos
6aa5da3a6c0e960d10811c9e71e9a0a746e8d6ab
[ "MIT" ]
5
2019-02-12T07:23:55.000Z
2020-06-22T15:03:36.000Z
engine/source/mem/source/src/memory_allocator.cpp
mateusgondim/Demos
6aa5da3a6c0e960d10811c9e71e9a0a746e8d6ab
[ "MIT" ]
null
null
null
engine/source/mem/source/src/memory_allocator.cpp
mateusgondim/Demos
6aa5da3a6c0e960d10811c9e71e9a0a746e8d6ab
[ "MIT" ]
2
2019-06-17T05:04:21.000Z
2020-04-22T09:05:57.000Z
#include "memory_allocator.hpp" #include <iostream> #include <cstddef> #include <cstdlib> #include <cassert> #include <cstdint> namespace mem { /*allocate_unaligned: Attempts to allocate a unaligned block of 'size_bytes' bytes, *returns nullptr in case of failure */ void *allocate_unaligned(const std::size_t s...
31.763889
105
0.739397
mateusgondim
5d580ed68855a5e07b570be2cfd5a0be07093ea5
10,199
cpp
C++
C & C++/Humanoid/Hooman.cpp
ytugba/My-Otiose-Projects
b0703f5e0b18cee186e44d3e40b6b5c3b162d739
[ "MIT" ]
1
2021-12-23T19:05:25.000Z
2021-12-23T19:05:25.000Z
C & C++/Humanoid/Hooman.cpp
ytugba/My-Otiose-Projects
b0703f5e0b18cee186e44d3e40b6b5c3b162d739
[ "MIT" ]
null
null
null
C & C++/Humanoid/Hooman.cpp
ytugba/My-Otiose-Projects
b0703f5e0b18cee186e44d3e40b6b5c3b162d739
[ "MIT" ]
null
null
null
/* GUIDE KOLLAR | ELLER Sol Sag | Sol Sag Q (yukari) E (yukari) | W (yukari) R (yukari) A D | S F BACAKLAR | AYAKLAR Sol Sag | Sol Sag Z (yukari) C (yukari) | G (yukari) B (yukari) X K | H N YATAY DONUS | DIKEY DONUS | CAPRAZ DONUS Sol Sag | Yukari Asagi | Saa...
20.645749
147
0.596137
ytugba
5d5c71c469e3632950c88ad887782d66743ca8ab
3,106
cpp
C++
MSCL/source/mscl/MicroStrain/MIP/Packets/MipFieldParser.cpp
HTLife/MSCL
9d84ed27a176ff20e058b9188a97d6ff81de7604
[ "BSL-1.0", "OpenSSL", "MIT" ]
null
null
null
MSCL/source/mscl/MicroStrain/MIP/Packets/MipFieldParser.cpp
HTLife/MSCL
9d84ed27a176ff20e058b9188a97d6ff81de7604
[ "BSL-1.0", "OpenSSL", "MIT" ]
null
null
null
MSCL/source/mscl/MicroStrain/MIP/Packets/MipFieldParser.cpp
HTLife/MSCL
9d84ed27a176ff20e058b9188a97d6ff81de7604
[ "BSL-1.0", "OpenSSL", "MIT" ]
null
null
null
/******************************************************************************* Copyright(c) 2015-2018 LORD Corporation. All rights reserved. MIT Licensed. See the included LICENSE.txt for a copy of the full MIT License. *******************************************************************************/ #include "stdafx...
34.131868
132
0.631037
HTLife
5d5e4f8baa61d051d2e7338a6a6eedfdcdb9fc06
335
cpp
C++
codeforces/520/A.cpp
Mohammad-Elsharkawy/CompetitiveProgramming
8d052465ff08cb36e66b7e6c6813090ac410bf1d
[ "MIT" ]
null
null
null
codeforces/520/A.cpp
Mohammad-Elsharkawy/CompetitiveProgramming
8d052465ff08cb36e66b7e6c6813090ac410bf1d
[ "MIT" ]
null
null
null
codeforces/520/A.cpp
Mohammad-Elsharkawy/CompetitiveProgramming
8d052465ff08cb36e66b7e6c6813090ac410bf1d
[ "MIT" ]
null
null
null
#include<iostream> using namespace std; char a[100]; int main() { int n;cin>>n; for(int i=0;i<n;i++) { char b; cin>>b; if(b<97) { b+=32; } a[b-'a']++; } bool fd=true; for(int i=0;i<26;i++) { if(a[i]<1){ fd=false; break;} } if(fd) cout<<"YES"; else cout<<"NO"; ...
9.571429
22
0.456716
Mohammad-Elsharkawy
5d61b0804f8300f7441216435805a70a54209db5
3,915
cpp
C++
FEBioSource2.9/FEBioFluid/FEFluidFSI.cpp
wzaylor/FEBio_MCLS
f1052733c31196544fb0921aa55ffa5167a25f98
[ "Intel" ]
1
2021-08-24T08:37:21.000Z
2021-08-24T08:37:21.000Z
FEBioSource2.9/FEBioFluid/FEFluidFSI.cpp
wzaylor/FEBio_MCLS
f1052733c31196544fb0921aa55ffa5167a25f98
[ "Intel" ]
null
null
null
FEBioSource2.9/FEBioFluid/FEFluidFSI.cpp
wzaylor/FEBio_MCLS
f1052733c31196544fb0921aa55ffa5167a25f98
[ "Intel" ]
1
2021-03-15T08:22:06.000Z
2021-03-15T08:22:06.000Z
/*This file is part of the FEBio source code and is licensed under the MIT license listed below. See Copyright-FEBio.txt for details. Copyright (c) 2019 University of Utah, The Trustees of Columbia University in the City of New York, and others. Permission is hereby granted, free of charge, to any person obtaining ...
34.646018
94
0.561175
wzaylor
5d6547775c2cdcc1b32b18db1c787c3b5793479b
16,973
cpp
C++
main.cpp
abhijith0505/ReMorse
b743193a73a9ed318e5d9ea298255ceb199421be
[ "MIT" ]
12
2017-07-26T09:45:55.000Z
2021-07-05T04:13:18.000Z
main.cpp
abhijith0505/ReMorse
b743193a73a9ed318e5d9ea298255ceb199421be
[ "MIT" ]
null
null
null
main.cpp
abhijith0505/ReMorse
b743193a73a9ed318e5d9ea298255ceb199421be
[ "MIT" ]
3
2019-10-02T02:35:27.000Z
2021-07-05T04:13:22.000Z
///////////////////////////////Requires opengl 1.2///////////////////////////// #include <string> #include <sstream> #include "remorse.h" #include "lib/lodepng.h" #include "lib/lodepng.cpp" #include "states.h" #include "keys.h" #include "timer.h" #include "physics.h" // THINK:maybe height and width should b...
31.200368
107
0.608908
abhijith0505
5d66a7445c7593000489b1211239b8f3736be073
253
cpp
C++
Conductor/src/ecs/Entity.cpp
haferflocken/ConductorEngine
4914e419e5a736275e96d76eaa19b7aa56d69345
[ "Zlib", "BSD-2-Clause" ]
null
null
null
Conductor/src/ecs/Entity.cpp
haferflocken/ConductorEngine
4914e419e5a736275e96d76eaa19b7aa56d69345
[ "Zlib", "BSD-2-Clause" ]
null
null
null
Conductor/src/ecs/Entity.cpp
haferflocken/ConductorEngine
4914e419e5a736275e96d76eaa19b7aa56d69345
[ "Zlib", "BSD-2-Clause" ]
null
null
null
#include <ecs/Entity.h> constexpr size_t k_sizeOfEntity = sizeof(ECS::Entity); static_assert(k_sizeOfEntity == 64, "Entity should be the size of a cache line."); const ECS::ComponentType ECS::Entity::k_type{ Util::CalcHash(ECS::Entity::k_typeName) };
36.142857
88
0.750988
haferflocken
5d6a21397617bfdc35c7fa5386620894bd29eec5
627
cpp
C++
HEmpute-Train/src/hmpt_nomenclature.cpp
K-miran/HEmpute
2d55d9665dabdbe5b8b6b33eebe0e3346b02e9da
[ "MIT" ]
null
null
null
HEmpute-Train/src/hmpt_nomenclature.cpp
K-miran/HEmpute
2d55d9665dabdbe5b8b6b33eebe0e3346b02e9da
[ "MIT" ]
null
null
null
HEmpute-Train/src/hmpt_nomenclature.cpp
K-miran/HEmpute
2d55d9665dabdbe5b8b6b33eebe0e3346b02e9da
[ "MIT" ]
1
2020-07-02T04:42:34.000Z
2020-07-02T04:42:34.000Z
#include <stdio.h> #include <stdlib.h> #include <string.h> #include "hmpt_nomenclature.h" #include "hmpt_ansi_string.h" void normalize_chr_id(char* raw_chr_id) { // First replace the characters that are illegal with the underscore. t_string::replace_avoid_list(raw_chr_id, "+-./\\*^$#@!&()~+=?\"`][}{ ", '_'); if(t_...
22.392857
78
0.668262
K-miran
5d6c39265c948adb720c32a011c8f5e8b0c56995
768
cpp
C++
cf/8e_tmp.cpp
LihuaWu/algorithms
ea0f177f3d7b6eca667c7d53e76f590b4f5bf9c5
[ "MIT" ]
null
null
null
cf/8e_tmp.cpp
LihuaWu/algorithms
ea0f177f3d7b6eca667c7d53e76f590b4f5bf9c5
[ "MIT" ]
null
null
null
cf/8e_tmp.cpp
LihuaWu/algorithms
ea0f177f3d7b6eca667c7d53e76f590b4f5bf9c5
[ "MIT" ]
null
null
null
#include<cstdio> #include<cstring> #include<iostream> #define ll long long #define N 55 bool v[N][2][2]; ll res,k,f[N][2][2]; char a[N]; int n; ll cal(int l,int x,int y) { ll &res=f[l][x][y]; if (v[l][x][y]) return res; v[l][x][y]=1,res=0; if (l+l>=n) return res=1; for (int i=0;i<2;i++) if (!a[l] || a[l]==i...
25.6
93
0.464844
LihuaWu
5d738d8620335aa80e1a33673da3e874342a5bcd
388
hpp
C++
winwrap/Handle.hpp
ePi5131/winwrap
de29f34b822f330ed2d13e6a3b2fa35c96f456ee
[ "BSD-1-Clause" ]
null
null
null
winwrap/Handle.hpp
ePi5131/winwrap
de29f34b822f330ed2d13e6a3b2fa35c96f456ee
[ "BSD-1-Clause" ]
null
null
null
winwrap/Handle.hpp
ePi5131/winwrap
de29f34b822f330ed2d13e6a3b2fa35c96f456ee
[ "BSD-1-Clause" ]
null
null
null
#pragma once #include <Windows.h> namespace WinWrap { class Handle; class Handle { public: HANDLE m_handle; constexpr Handle() : m_handle(NULL) {} constexpr Handle(HANDLE handle) : m_handle(handle) {} }; inline constexpr Handle NullHandle{}; inline constexpr...
19.4
64
0.649485
ePi5131
5d7c14dc7ab40e976634e422708bfd16373bae8f
474
cpp
C++
GenVania/src/GenericBullet.cpp
kalsipp/vsxpanse
7887d234312283ce1ace03bed610642b0c6f96b1
[ "MIT" ]
null
null
null
GenVania/src/GenericBullet.cpp
kalsipp/vsxpanse
7887d234312283ce1ace03bed610642b0c6f96b1
[ "MIT" ]
null
null
null
GenVania/src/GenericBullet.cpp
kalsipp/vsxpanse
7887d234312283ce1ace03bed610642b0c6f96b1
[ "MIT" ]
null
null
null
#include "GenericBullet.hpp" #include "FileHandler.hpp" GenericBullet::GenericBullet(GAMEOBJECT_ID id) :GameObject(id) { m_spritecomponent = add_component<SpriteComponent>(); m_spritecomponent->load_sprite_from_image(FileHandler::get_item("Images//resource.png")); m_bulletcomponent = add_component<BulletComponent>...
26.333333
90
0.778481
kalsipp
5d7df08b80231a5aa3bd8bab6ab5dc5d350cb1d1
2,046
cpp
C++
features/editable/cmake/say/src/say.cpp
davidtazy/examples
6eaf6646bd1d321991428dbe016d8ba69c68fc78
[ "MIT" ]
95
2019-03-09T09:34:57.000Z
2022-03-22T05:06:44.000Z
features/editable/cmake/say/src/say.cpp
davidtazy/examples
6eaf6646bd1d321991428dbe016d8ba69c68fc78
[ "MIT" ]
69
2019-03-06T13:18:55.000Z
2021-11-25T18:33:26.000Z
features/editable/cmake/say/src/say.cpp
davidtazy/examples
6eaf6646bd1d321991428dbe016d8ba69c68fc78
[ "MIT" ]
57
2019-03-06T12:34:05.000Z
2022-03-08T19:51:01.000Z
#include <iostream> #include "say.h" void say(){ #ifdef NDEBUG std::cout << "say/0.1: Hello World Release!\n"; #else std::cout << "say/0.1: Hello World Debug!\n"; #endif // ARCHITECTURES #ifdef _M_X64 std::cout << " say/0.1: _M_X64 defined\n"; #endif #ifdef _M_IX86 std::c...
23.25
88
0.569892
davidtazy
5d81453a6d22145988d25660a637ff6eec943d08
15,434
cpp
C++
sample_simulator/src/SvpSampleClassification.cpp
sophia-hxw/hi3559a_sample
506217be4ad13dbed32d0045641c9645472cbe85
[ "MIT" ]
1
2020-12-02T16:22:01.000Z
2020-12-02T16:22:01.000Z
sample_simulator/src/SvpSampleClassification.cpp
sophia-hxw/hi3559a_sample
506217be4ad13dbed32d0045641c9645472cbe85
[ "MIT" ]
null
null
null
sample_simulator/src/SvpSampleClassification.cpp
sophia-hxw/hi3559a_sample
506217be4ad13dbed32d0045641c9645472cbe85
[ "MIT" ]
3
2020-12-21T16:17:54.000Z
2021-09-13T10:00:18.000Z
#include "SvpSampleWk.h" #include "SvpSampleCom.h" #include "mpi_nnie.h" #define SVP_SAMPLE_CLS_TOP_N (5) const HI_CHAR *g_paszPicList_c[][SVP_NNIE_MAX_INPUT_NUM] = { { "../../data/classification/lenet/image_test_list_y.txt" }, { "../../data/classification/imagenet/image_test_list_227.txt" }, { "../...
42.635359
239
0.662174
sophia-hxw
5d84141ab495e45182c73442eddf785260b5e6f8
4,059
cpp
C++
src/portal/game_info.cpp
mokoi/luxengine
965532784c4e6112141313997d040beda4b56d07
[ "MIT" ]
11
2015-03-02T07:43:00.000Z
2021-12-04T04:53:02.000Z
src/portal/game_info.cpp
mokoi/luxengine
965532784c4e6112141313997d040beda4b56d07
[ "MIT" ]
1
2015-03-28T17:17:13.000Z
2016-10-10T05:49:07.000Z
src/portal/game_info.cpp
mokoi/luxengine
965532784c4e6112141313997d040beda4b56d07
[ "MIT" ]
3
2016-11-04T01:14:31.000Z
2020-05-07T23:42:27.000Z
/**************************** Copyright © 2006-2015 Luke Salisbury This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this software for any purpose, includi...
24.75
243
0.665928
mokoi
5d85c0155fbd8d3e9ab9f306a163fdffc1376968
25,101
cpp
C++
GameServer/doFuncExpedition.cpp
openlastchaos/lastchaos-source-server
935b770fa857e67b705717d154b11b717741edeb
[ "Apache-2.0" ]
null
null
null
GameServer/doFuncExpedition.cpp
openlastchaos/lastchaos-source-server
935b770fa857e67b705717d154b11b717741edeb
[ "Apache-2.0" ]
null
null
null
GameServer/doFuncExpedition.cpp
openlastchaos/lastchaos-source-server
935b770fa857e67b705717d154b11b717741edeb
[ "Apache-2.0" ]
1
2022-01-17T09:34:39.000Z
2022-01-17T09:34:39.000Z
#include "stdhdrs.h" #include "Log.h" #include "Character.h" #include "Server.h" #include "CmdMsg.h" #include "doFunc.h" #include "WarCastle.h" ///////////////// // 원정대 관련 함수 void do_Expedition(CPC* ch, CNetMsg::SP& msg) { // 안보이면 무시 if (!ch->m_bVisible) return ; unsigned char subtype; msg->MoveFirst(); Ref...
23.134562
134
0.668181
openlastchaos
5d8715809a52e7adb858b2a4ddd2038afbe1a7f6
2,017
hpp
C++
include/gridtools/tools/icosahedral_fixture.hpp
aurianer/gridtools
5f99471bf36215e2a53317d2c7844bf057231ffa
[ "BSD-3-Clause" ]
null
null
null
include/gridtools/tools/icosahedral_fixture.hpp
aurianer/gridtools
5f99471bf36215e2a53317d2c7844bf057231ffa
[ "BSD-3-Clause" ]
null
null
null
include/gridtools/tools/icosahedral_fixture.hpp
aurianer/gridtools
5f99471bf36215e2a53317d2c7844bf057231ffa
[ "BSD-3-Clause" ]
null
null
null
/* * GridTools * * Copyright (c) 2014-2019, ETH Zurich * All rights reserved. * * Please, refer to the LICENSE file in the root directory. * SPDX-License-Identifier: BSD-3-Clause */ #pragma once #include <type_traits> #include "../storage/builder.hpp" #include "../storage/sid.hpp" #include "backend_select.hpp...
35.385965
91
0.516113
aurianer
5d88c96b80469806450e46a561f8053455f8c35c
410
hpp
C++
src/player/human_player.hpp
portatlas/tictactoe-cpp
2bae6287881f02e8608c5e3cc7d0031724f09dda
[ "MIT" ]
null
null
null
src/player/human_player.hpp
portatlas/tictactoe-cpp
2bae6287881f02e8608c5e3cc7d0031724f09dda
[ "MIT" ]
null
null
null
src/player/human_player.hpp
portatlas/tictactoe-cpp
2bae6287881f02e8608c5e3cc7d0031724f09dda
[ "MIT" ]
null
null
null
#ifndef TICTACTOE_CPP_HUMAN_PLAYER_H #define TICTACTOE_CPP_HUMAN_PLAYER_H #include "player.hpp" #include "../console.hpp" class HumanPlayer : public Player { public: HumanPlayer(Rules &rules, Console &console); int getMove(Board board); private: Rules _rules; Console _console; ...
22.777778
52
0.702439
portatlas
5d8b2401a35f5f855a8f5a5067facbb4f7f3a67f
806
cc
C++
projects/Graphics/code/GraphicsNode.cc
Destinum/S0009D
52d73f774a85da87eb57c34385df8e1ae86b2ec5
[ "MIT" ]
null
null
null
projects/Graphics/code/GraphicsNode.cc
Destinum/S0009D
52d73f774a85da87eb57c34385df8e1ae86b2ec5
[ "MIT" ]
null
null
null
projects/Graphics/code/GraphicsNode.cc
Destinum/S0009D
52d73f774a85da87eb57c34385df8e1ae86b2ec5
[ "MIT" ]
null
null
null
#include "Resources.h" void GraphicsNode::Draw(Matrix3D MVP, Vector3D CameraPosition) { glUseProgram(this->Shaders.program); glUniformMatrix4fv(this->Shaders.MatrixID, 1, GL_FALSE, &(MVP).matris[0][0]); glUniform4f(this->Shaders.CameraID, CameraPosition.vektor[0], CameraPosition.vektor[1], CameraPosition.v...
38.380952
123
0.719603
Destinum
5d8dc781beda24bfd3f4c18d6752b05b1d32fdae
3,583
cpp
C++
source/Pancake.cpp
Dante12129/Pancake
35282814e2f3b2d5e155a539ca5ddee32e240d3e
[ "Zlib" ]
null
null
null
source/Pancake.cpp
Dante12129/Pancake
35282814e2f3b2d5e155a539ca5ddee32e240d3e
[ "Zlib" ]
null
null
null
source/Pancake.cpp
Dante12129/Pancake
35282814e2f3b2d5e155a539ca5ddee32e240d3e
[ "Zlib" ]
null
null
null
#include "include/Pancake/Pancake.hpp" #include <iostream> #include <SDL2/SDL.h> #include <SDL2/SDL_events.h> #include <SDL2/SDL_filesystem.h> #include <SDL2/SDL_video.h> #include <SDL2/SDL_ttf.h> #include <glload/gl_load.h> #include "include/Pancake/Window/Context.hpp" #include "include/Pancake/Window/Window.hpp" ...
27.775194
144
0.619872
Dante12129
5d8e236686a57ad6a0f360675629d40efd52ca18
611
cpp
C++
Challenge-2021-09/19_distinct_subsequences.cpp
qiufengyu/LetsCode
196fae0bf5c78ee20d05798a9439596e702fdb24
[ "MIT" ]
null
null
null
Challenge-2021-09/19_distinct_subsequences.cpp
qiufengyu/LetsCode
196fae0bf5c78ee20d05798a9439596e702fdb24
[ "MIT" ]
null
null
null
Challenge-2021-09/19_distinct_subsequences.cpp
qiufengyu/LetsCode
196fae0bf5c78ee20d05798a9439596e702fdb24
[ "MIT" ]
null
null
null
#include "../header.h" class Solution { public: int numDistinct(string s, string t) { int ss = s.size(), ts = t.size(); vector<vector<unsigned>> dp(ts + 1, vector<unsigned>(ss + 1, 0)); for (int i = 0; i <= ss; ++i) { dp[0][i] = 1; } for (int i = 1; i <= ts; ++i)...
26.565217
81
0.410802
qiufengyu
5d9757086a9a32b7d1f0db9546b1020c3e0ecac7
2,890
cpp
C++
src/cpp/admin.cpp
yesleekm/capstone_xu4
da42dcef3772946bff83cffe98c5d648b212ecae
[ "Beerware" ]
null
null
null
src/cpp/admin.cpp
yesleekm/capstone_xu4
da42dcef3772946bff83cffe98c5d648b212ecae
[ "Beerware" ]
null
null
null
src/cpp/admin.cpp
yesleekm/capstone_xu4
da42dcef3772946bff83cffe98c5d648b212ecae
[ "Beerware" ]
null
null
null
#include "admin.hpp" config_data::config_data () { this->prev_flag = ADMIN_MODE; this->confThreshold = 0.4; this->nmsThreshold = 0.5; this->read_admin_input(); } /* Returns true when the server has to be reset with config data. */ bool config_data::sync (bool is_first_call = false) { ...
28.9
69
0.545329
yesleekm
4b6929bd41bb2a9c19a6dc604b9aa240a9fcbd54
2,505
cc
C++
src/client/client_storage.cc
ProtaX/ptx-chat
810877793136427885ee036c54e7eeea5daee388
[ "BSL-1.0" ]
1
2021-02-13T16:27:01.000Z
2021-02-13T16:27:01.000Z
src/client/client_storage.cc
ProtaX/ptx-chat
810877793136427885ee036c54e7eeea5daee388
[ "BSL-1.0" ]
null
null
null
src/client/client_storage.cc
ProtaX/ptx-chat
810877793136427885ee036c54e7eeea5daee388
[ "BSL-1.0" ]
null
null
null
#include "client_storage.h" #include <cstdint> #include <iostream> #include <vector> #include <bsoncxx/json.hpp> #include <mongocxx/stdx.hpp> #include <mongocxx/uri.hpp> #include <bsoncxx/builder/stream/helpers.hpp> #include <bsoncxx/builder/stream/document.hpp> #include <bsoncxx/builder/stream/array.hpp> using bsonc...
25.561224
94
0.652295
ProtaX
4b69408d9788ff6d9fbcb76d3285d15fb1b608a5
29,355
cc
C++
ogrspatialreference.cc
martinwilkerson-scisys/php5-gdal
99df2fe8182f1711ac742930882c221e2dd5b5e9
[ "MIT" ]
7
2015-01-07T16:39:43.000Z
2022-03-12T19:18:48.000Z
ogrspatialreference.cc
martinwilkerson-scisys/php5-gdal
99df2fe8182f1711ac742930882c221e2dd5b5e9
[ "MIT" ]
2
2015-10-28T03:21:32.000Z
2017-04-06T13:10:33.000Z
ogrspatialreference.cc
martinwilkerson-scisys/php5-gdal
99df2fe8182f1711ac742930882c221e2dd5b5e9
[ "MIT" ]
7
2015-03-23T20:52:46.000Z
2021-03-24T21:41:17.000Z
// // ogrspatialreference.cc // // // Copyright (c) 2011, JF Gigand // // 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 us...
32.400662
91
0.756839
martinwilkerson-scisys
4b6ca55119a28899144310a60accfd1f6d82af20
8,417
hpp
C++
include/elemental/lapack-like/SVD/Thresholded.hpp
ahmadia/Elemental-1
f9a82c76a06728e9e04a4316e41803efbadb5a19
[ "BSD-3-Clause" ]
null
null
null
include/elemental/lapack-like/SVD/Thresholded.hpp
ahmadia/Elemental-1
f9a82c76a06728e9e04a4316e41803efbadb5a19
[ "BSD-3-Clause" ]
null
null
null
include/elemental/lapack-like/SVD/Thresholded.hpp
ahmadia/Elemental-1
f9a82c76a06728e9e04a4316e41803efbadb5a19
[ "BSD-3-Clause" ]
null
null
null
/* Copyright (c) 2009-2013, Jack Poulson All rights reserved. This file is part of Elemental and is under the BSD 2-Clause License, which can be found in the LICENSE file in the root directory, or at http://opensource.org/licenses/BSD-2-Clause */ #pragma once #ifndef LAPACK_SVD_THRESHOLDED_HPP #define...
29.43007
79
0.588808
ahmadia
4b732956a44bf2c1873ecf57b97902d86ce286aa
1,564
cpp
C++
examples/Switch.TUnit/Assert/Assert.cpp
victor-timoshin/Switch
8e8e687a8bdc4f79d482680da3968e9b3e464b8b
[ "MIT" ]
4
2020-02-11T13:22:58.000Z
2022-02-24T00:37:43.000Z
examples/Switch.TUnit/Assert/Assert.cpp
sgf/Switch
8e8e687a8bdc4f79d482680da3968e9b3e464b8b
[ "MIT" ]
null
null
null
examples/Switch.TUnit/Assert/Assert.cpp
sgf/Switch
8e8e687a8bdc4f79d482680da3968e9b3e464b8b
[ "MIT" ]
2
2020-02-01T02:19:01.000Z
2021-12-30T06:44:00.000Z
#include <Switch/Switch> using namespace TUnit; using namespace System; namespace UnitTests { // The class TimeSpanTest must be inherited from TestFixture class TestFixture_(TimeSpanTest) { // Used Assert::AreEqual method to test value void Test_(CreateTimeSpanFromDateTime) { DateTime n = DateTime(2...
33.276596
69
0.709079
victor-timoshin
4b74d6ca9c172eef5c3e403eae466f993f6ddc5f
766
hpp
C++
src/RayTracer.hpp
Acee11/RayTracing
b4d870fe6295a936af7dae0364d4c5b30baeeb31
[ "MIT" ]
null
null
null
src/RayTracer.hpp
Acee11/RayTracing
b4d870fe6295a936af7dae0364d4c5b30baeeb31
[ "MIT" ]
null
null
null
src/RayTracer.hpp
Acee11/RayTracing
b4d870fe6295a936af7dae0364d4c5b30baeeb31
[ "MIT" ]
null
null
null
#pragma once #include <iostream> #include <iomanip> #include <cstdint> #include <fstream> #include <memory> #include <vector> #include <omp.h> #include <chrono> #include "Vector3D.hpp" #include "Sphere.hpp" #include "Ray.hpp" #include "Light.hpp" #include "Surface.hpp" #include "Camera.hpp" #include "Scene.hpp" usi...
20.157895
70
0.745431
Acee11
4b74dafe2fb3159e854575c6bf14586e041e4b2a
2,982
cpp
C++
codechef/long-challenge/easy-fibonacci.cpp
Zenix27/data-structure-and-algorithms
7570a65f40c8fbb8a08845be749f507f58ed773f
[ "MIT" ]
81
2020-05-22T14:22:04.000Z
2021-12-18T10:11:23.000Z
codechef/long-challenge/easy-fibonacci.cpp
Zenix27/data-structure-and-algorithms
7570a65f40c8fbb8a08845be749f507f58ed773f
[ "MIT" ]
4
2020-08-06T21:08:00.000Z
2021-03-31T16:07:50.000Z
codechef/long-challenge/easy-fibonacci.cpp
Zenix27/data-structure-and-algorithms
7570a65f40c8fbb8a08845be749f507f58ed773f
[ "MIT" ]
37
2020-05-22T14:25:21.000Z
2021-12-30T03:13:13.000Z
/* [Easy Fibonacci](https://www.codechef.com/SEPT19B/problems/FIBEASY) Problem Code: FIBEASY The Fibonacci sequence F0,F1,… is a special infinite sequence of non-negative integers, where F0=0, F1=1 and for each integer n≥2, Fn=Fn−1+Fn−2. Consider the sequence D of the last decimal digits of the first N Fibonacci num...
21.453237
163
0.554997
Zenix27
4b763e13c9d2d261b95c3dfb48ee50fdc02f9dff
1,264
cc
C++
tests/src/lp/tuple_traits_test.cc
no111u3/lp_cc_lib
3a8b04da3184870902be4d032fc13b2c6f1a8b52
[ "Apache-2.0" ]
1
2021-01-18T20:49:57.000Z
2021-01-18T20:49:57.000Z
tests/src/lp/tuple_traits_test.cc
no111u3/lp_cc_lib
3a8b04da3184870902be4d032fc13b2c6f1a8b52
[ "Apache-2.0" ]
null
null
null
tests/src/lp/tuple_traits_test.cc
no111u3/lp_cc_lib
3a8b04da3184870902be4d032fc13b2c6f1a8b52
[ "Apache-2.0" ]
null
null
null
/* Copyright 2018 Boris Vinogradov <no111u3@gmail.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 applic...
28.727273
75
0.665348
no111u3
4b7bb12ef9b33d380126acbc84a0c6833d5e5063
22,365
cpp
C++
Motor2D/j1Scene.cpp
marc094/Dev_class5_handout
9cb6d71096c59c6f862e9a68e5621a4ae9d865a6
[ "Unlicense" ]
1
2019-05-28T10:55:32.000Z
2019-05-28T10:55:32.000Z
Motor2D/j1Scene.cpp
marc094/Parallax-Paradox
9cb6d71096c59c6f862e9a68e5621a4ae9d865a6
[ "Unlicense" ]
null
null
null
Motor2D/j1Scene.cpp
marc094/Parallax-Paradox
9cb6d71096c59c6f862e9a68e5621a4ae9d865a6
[ "Unlicense" ]
null
null
null
#include <math.h> #include "p2Defs.h" #include "p2Log.h" #include "j1App.h" #include "j1Input.h" #include "j1Textures.h" #include "j1Audio.h" #include "j1Render.h" #include "j1Window.h" #include "j1Map.h" #include "j1Scene.h" #include "j1Entities.h" #include "Entity.h" #include "Player.h" #include "j1Textures.h" #inclu...
31.588983
220
0.696624
marc094
4b7c2cf7aa529fad0dd18b5bd2e45c389fc14653
2,246
cpp
C++
FRAME/MainGUI.cpp
Mr-Devin/GraphicAlgorithm
58877e6a8dba75ab171b0d89260defaffa22d047
[ "MIT" ]
1
2021-11-16T11:40:04.000Z
2021-11-16T11:40:04.000Z
FRAME/MainGUI.cpp
younha169/GraphicAlgorithm
93287ae4d4171764e788371887c4fd1549304552
[ "MIT" ]
null
null
null
FRAME/MainGUI.cpp
younha169/GraphicAlgorithm
93287ae4d4171764e788371887c4fd1549304552
[ "MIT" ]
null
null
null
//-------------------------------------------------------------------------------------- // Copyright (c) Elay Pu. All rights reserved. //-------------------------------------------------------------------------------------- #include "MainGUI.h" #include <vector> #include <boost/algorithm/string/split.hpp> #include <b...
33.522388
150
0.614426
Mr-Devin
4b7d1435e8747147772c0d225d1b5f49f26946eb
430
hpp
C++
include/FileUtil.hpp
Frostie314159/FrostEngine
bb7781c5c90baf77ca836d69d6c38a4a5381e27f
[ "MIT" ]
null
null
null
include/FileUtil.hpp
Frostie314159/FrostEngine
bb7781c5c90baf77ca836d69d6c38a4a5381e27f
[ "MIT" ]
null
null
null
include/FileUtil.hpp
Frostie314159/FrostEngine
bb7781c5c90baf77ca836d69d6c38a4a5381e27f
[ "MIT" ]
null
null
null
#pragma once #ifndef FILE_UTIL_HPP_ #define FILE_UTIL_HPP_ #include <iostream> #include <fstream> #include <regex> #include <filesystem> class FileUtil { public: static const bool validateFilePath(std::filesystem::path t_filePath); static void correctInvalidFilePath(std::filesystem::path t_filePath); static const ...
25.294118
113
0.797674
Frostie314159
4b7df69700f9980d1d57f6d4603cdeac7ca4b9fe
5,197
cpp
C++
src/kalman_filter/ukf.cpp
pcdangio/ros-kalman_filter
0b5653f0ab88931523f5014940228b62f114790b
[ "MIT" ]
2
2021-01-26T15:48:13.000Z
2021-12-09T13:49:25.000Z
src/kalman_filter/ukf.cpp
pcdangio/ros-kalman_filter
0b5653f0ab88931523f5014940228b62f114790b
[ "MIT" ]
null
null
null
src/kalman_filter/ukf.cpp
pcdangio/ros-kalman_filter
0b5653f0ab88931523f5014940228b62f114790b
[ "MIT" ]
1
2021-03-05T16:44:29.000Z
2021-03-05T16:44:29.000Z
#include <kalman_filter/ukf.hpp> using namespace kalman_filter; // CONSTRUCTORS ukf_t::ukf_t(uint32_t n_variables, uint32_t n_observers) : base_t(n_variables, n_observers) { // Calculate number of sigma points. ukf_t::n_s = 1 + 2*ukf_t::n_x; // Allocate weight vector. ukf_t::wj.setZero(ukf_t::n_s...
34.646667
112
0.593612
pcdangio
4b7e9f40a8790c25b4b9f92894c350de7c51c8a6
2,296
cpp
C++
src/exit.cpp
tsung-wei-huang/DtCraft
80cc9e1195adc0026107814243401a1fc47b5be2
[ "MIT" ]
69
2019-03-16T20:13:26.000Z
2022-03-24T14:12:19.000Z
src/exit.cpp
Tsung-Wei/DtCraft
80cc9e1195adc0026107814243401a1fc47b5be2
[ "MIT" ]
12
2017-12-02T05:38:30.000Z
2019-02-08T11:16:12.000Z
src/exit.cpp
Tsung-Wei/DtCraft
80cc9e1195adc0026107814243401a1fc47b5be2
[ "MIT" ]
12
2019-04-13T16:27:29.000Z
2022-01-07T14:42:46.000Z
/****************************************************************************** * * * Copyright (c) 2018, Tsung-Wei Huang, Chun-Xun Lin, and Martin D. F. Wong, * * University of Illinois at Urbana-Champaign (UIUC), IL, USA. * ...
29.818182
99
0.452962
tsung-wei-huang
4b7fcb485b06402bb384473213e125ab9a1598b9
6,255
cpp
C++
renderdoc/driver/metal/metal_device.cpp
yanjifa/renderdoc
308456535f067df15be78de145440c170c2d8c00
[ "MIT" ]
null
null
null
renderdoc/driver/metal/metal_device.cpp
yanjifa/renderdoc
308456535f067df15be78de145440c170c2d8c00
[ "MIT" ]
null
null
null
renderdoc/driver/metal/metal_device.cpp
yanjifa/renderdoc
308456535f067df15be78de145440c170c2d8c00
[ "MIT" ]
null
null
null
/****************************************************************************** * The MIT License (MIT) * * Copyright (c) 2022 Baldur Karlsson * * 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 ...
39.339623
101
0.660911
yanjifa
4b88766cc5439cafcd78649e59ef0777d9e17ce9
514
cpp
C++
tests/activation/hard_sigmoid.cpp
Catminusminus/scenn
69f09449768deec811acea453f9e081c7c170a56
[ "MIT" ]
4
2019-08-18T10:54:22.000Z
2021-05-08T17:44:52.000Z
tests/activation/hard_sigmoid.cpp
Catminusminus/scenn
69f09449768deec811acea453f9e081c7c170a56
[ "MIT" ]
null
null
null
tests/activation/hard_sigmoid.cpp
Catminusminus/scenn
69f09449768deec811acea453f9e081c7c170a56
[ "MIT" ]
null
null
null
#include <scenn/activation/hard_sigmoid.hpp> #include <scenn/matrix.hpp> int main() { using namespace scenn; constexpr HardSigmoid h; constexpr float arr[3] = {1.0, 2.0, 3.0}; constexpr auto mat1 = make_vector_from_array(arr); constexpr auto mat2 = mat1.fmap([](auto&& x) { return hard_sigmoid(x); }); stati...
32.125
76
0.68677
Catminusminus
4b959102038536543457c8a4257dbd8ab66815bc
5,426
cpp
C++
windows/commng/vsthost/vsteffect.cpp
whitehara/NP2kai
72117d7a5def7e6c735f6780d53322c044e2b1d3
[ "MIT" ]
170
2017-08-15T17:02:36.000Z
2022-03-30T20:02:26.000Z
windows/commng/vsthost/vsteffect.cpp
whitehara/NP2kai
72117d7a5def7e6c735f6780d53322c044e2b1d3
[ "MIT" ]
138
2017-07-09T13:18:51.000Z
2022-03-20T17:53:43.000Z
windows/commng/vsthost/vsteffect.cpp
whitehara/NP2kai
72117d7a5def7e6c735f6780d53322c044e2b1d3
[ "MIT" ]
53
2017-07-17T10:27:42.000Z
2022-03-15T01:09:05.000Z
/** * @file vsteffect.cpp * @brief VST effect クラスの動作の定義を行います */ #include <compiler.h> #include "vsteffect.h" #include "vsteditwndbase.h" #ifdef _WIN32 #include <shlwapi.h> #include <atlbase.h> #pragma comment(lib, "shlwapi.lib") #else // _WIN32 #include <dlfcn.h> #endif // _WIN32 /*! エフェクト ハンドラー ...
18.972028
132
0.630483
whitehara
4b97fc074121f45a5bfd6e76fff22b6824ac9477
253
cpp
C++
Engineers.cpp
Mbedzi346/GeekHubProject
613fdf9d181fa9c5fa0f8a95d4a94c5faed61255
[ "MIT" ]
null
null
null
Engineers.cpp
Mbedzi346/GeekHubProject
613fdf9d181fa9c5fa0f8a95d4a94c5faed61255
[ "MIT" ]
null
null
null
Engineers.cpp
Mbedzi346/GeekHubProject
613fdf9d181fa9c5fa0f8a95d4a94c5faed61255
[ "MIT" ]
null
null
null
// // Created by Orifha Mbedzi on 2019-10-27. // #include "Engineers.h" Engineers::Engineers(int r) : CrewMember(r) { } void Engineers::sendReport(string s) { auto mediator = getMediator(); this->setReport(s); mediator->notify(this); }
14.882353
45
0.656126
Mbedzi346
4b99ae6b65691df5447a53a2aacef224a85b37d5
1,817
cpp
C++
External/FEXCore/Source/Interface/Core/JIT/Arm64/MoveOps.cpp
duck-37/FEX
fbda0e7ba521d151d3448f5d664da6879686cff8
[ "MIT" ]
null
null
null
External/FEXCore/Source/Interface/Core/JIT/Arm64/MoveOps.cpp
duck-37/FEX
fbda0e7ba521d151d3448f5d664da6879686cff8
[ "MIT" ]
null
null
null
External/FEXCore/Source/Interface/Core/JIT/Arm64/MoveOps.cpp
duck-37/FEX
fbda0e7ba521d151d3448f5d664da6879686cff8
[ "MIT" ]
null
null
null
#include "Interface/Core/JIT/Arm64/JITClass.h" namespace FEXCore::CPU { using namespace vixl; using namespace vixl::aarch64; #define DEF_OP(x) void JITCore::Op_##x(FEXCore::IR::IROp_Header *IROp, uint32_t Node) DEF_OP(ExtractElementPair) { auto Op = IROp->C<IR::IROp_ExtractElementPair>(); switch (Op->Header.Size)...
29.786885
85
0.634012
duck-37
4b9c32f7dd8e1427ed5421190152cd5a1bea3627
294
cpp
C++
program3/src/main.cpp
CharlesBarone/datastructures-unh-spring2020
0d3365ede7d4ecd0ea9d76f41966e72d75e1cf48
[ "MIT" ]
null
null
null
program3/src/main.cpp
CharlesBarone/datastructures-unh-spring2020
0d3365ede7d4ecd0ea9d76f41966e72d75e1cf48
[ "MIT" ]
null
null
null
program3/src/main.cpp
CharlesBarone/datastructures-unh-spring2020
0d3365ede7d4ecd0ea9d76f41966e72d75e1cf48
[ "MIT" ]
null
null
null
// // main.cpp // program3 // // Created by Charles Barone on 4/22/20. // Copyright © 2020 Charles Barone. All rights reserved. // #include <iostream> #include "Runner.hpp" int main(int argc, const char * argv[]) { Runner* run = new Runner; run->Begin(); delete run; return 0; }
14
57
0.636054
CharlesBarone
4ba50879ac6a649e43be1f876d555a2f941f6f51
736
hpp
C++
include/gpcxx/util.hpp
Rahul-Nirola/gpcxx
365182b66994f69e8cad6214d4cfa543183d4724
[ "BSL-1.0" ]
21
2015-05-15T08:01:37.000Z
2020-11-12T07:28:54.000Z
include/gpcxx/util.hpp
Rahul-Nirola/gpcxx
365182b66994f69e8cad6214d4cfa543183d4724
[ "BSL-1.0" ]
2
2015-03-26T23:48:04.000Z
2016-02-29T14:16:37.000Z
include/gpcxx/util.hpp
Rahul-Nirola/gpcxx
365182b66994f69e8cad6214d4cfa543183d4724
[ "BSL-1.0" ]
9
2015-02-12T21:39:01.000Z
2020-10-01T05:14:08.000Z
/* * gpcxx/util.hpp * * Author: Karsten Ahnert (karsten.ahnert@gmx.de) * Copyright: Karsten Ahnert * * Distributed under the Boost Software License, Version 1.0. * (See accompanying file LICENSE_1_0.txt or * copy at http://www.boost.org/LICENSE_1_0.txt) */ #ifndef GPCXX_UTIL_HPP_DEFINED #define GPCXX_UTIL_HPP...
25.37931
61
0.763587
Rahul-Nirola
4ba595a87be9a7038ebef767da16a557aab69522
20,506
cpp
C++
src/modules/mavlink/mavlink_ftp.cpp
aresmiao/firmware
6457a9cc60828d8781bed32ae08f4c992ae6e265
[ "BSD-3-Clause" ]
18
2015-06-11T15:39:39.000Z
2022-01-13T03:58:19.000Z
src/modules/mavlink/mavlink_ftp.cpp
aresmiao/firmware
6457a9cc60828d8781bed32ae08f4c992ae6e265
[ "BSD-3-Clause" ]
6
2015-08-20T22:34:34.000Z
2020-04-17T03:21:46.000Z
src/modules/mavlink/mavlink_ftp.cpp
Falcon-in-KAU/PX4-Falcon
a82bcbf1d70c71f0e2b282a86029ad614a02ba6d
[ "BSD-3-Clause" ]
34
2015-06-11T15:39:23.000Z
2021-03-06T09:25:12.000Z
/**************************************************************************** * * Copyright (c) 2014 PX4 Development Team. 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. Redistri...
24.01171
123
0.692578
aresmiao
4ba835e8ff8db46a9a034f8a7a875d813f6291f2
1,497
cpp
C++
数据结构/22.博弈树.cpp
xiabee/BIT-CS
5d8d8331e6b9588773991a872c259e430ef1eae1
[ "Apache-2.0" ]
63
2021-01-10T02:32:17.000Z
2022-03-30T04:08:38.000Z
数据结构/22.博弈树.cpp
xiabee/BIT-CS
5d8d8331e6b9588773991a872c259e430ef1eae1
[ "Apache-2.0" ]
2
2021-06-09T05:38:58.000Z
2021-12-14T13:53:54.000Z
数据结构/22.博弈树.cpp
xiabee/BIT-CS
5d8d8331e6b9588773991a872c259e430ef1eae1
[ "Apache-2.0" ]
20
2021-01-12T11:49:36.000Z
2022-03-26T11:04:58.000Z
#define _CRT_SECURE_NO_WARNINGS #include<stdio.h> #include<string.h> #include<stdlib.h> const char str1[36] = "(a,(b,(x)),(c,(d),(e,(g),(h)),(f)))"; const char str2[76] = "(a,(b,(c,(d),(e)),(f)),(g,(h),(i)),(j,(k,(m),(n),(o),(p,(r))),(x,(y,(z)))))"; const char str3[76] = "(a,(b,(c,(d),(e)),(f)),(g,(h),(i)),(q,(k,(m),(...
78.789474
399
0.626587
xiabee
4bb294c94d7a5f0920171583c13340fce82be993
565
cpp
C++
14-virtualFunc/14-virtualFunc/Student.cpp
jianlong108/grammar-of-C-plus-plus
8eda24baf6bb7c1df9af63287b6c45debf54bc6e
[ "Apache-2.0" ]
null
null
null
14-virtualFunc/14-virtualFunc/Student.cpp
jianlong108/grammar-of-C-plus-plus
8eda24baf6bb7c1df9af63287b6c45debf54bc6e
[ "Apache-2.0" ]
null
null
null
14-virtualFunc/14-virtualFunc/Student.cpp
jianlong108/grammar-of-C-plus-plus
8eda24baf6bb7c1df9af63287b6c45debf54bc6e
[ "Apache-2.0" ]
null
null
null
// // Student.cpp // 12-initializationList // // Created by Wangjianlong on 2018/12/23. // Copyright © 2018 wangjianlong. All rights reserved. // #include "Student.hpp" Student::Student(float score,int age,float height):m_score(score),Person(age,height) { cout << "Student(float score,int age,float height)" <<...
18.833333
84
0.651327
jianlong108
4bb333abd567c73fd738b998f27c099cebdf11b8
5,001
cpp
C++
software/firmware/src/badge/GameOfLife.cpp
mwales/defcon25-badge
40707149a825fe5d7a36ad24db9c9c838f3f9cd0
[ "MIT" ]
19
2017-07-30T23:21:12.000Z
2022-03-10T06:16:41.000Z
software/firmware/src/badge/GameOfLife.cpp
mwales/defcon25-badge
40707149a825fe5d7a36ad24db9c9c838f3f9cd0
[ "MIT" ]
null
null
null
software/firmware/src/badge/GameOfLife.cpp
mwales/defcon25-badge
40707149a825fe5d7a36ad24db9c9c838f3f9cd0
[ "MIT" ]
8
2017-08-07T03:49:00.000Z
2022-03-10T03:09:34.000Z
#include "GameOfLife.h" #include "leddc25.h" #include <stdlib.h> GameOfLife::GameOfLife() : Generations(0), CurrentGeneration(0), Neighborhood(0), InternalState(GameOfLife::GAME), DisplayMessageUntil(0) { } GameOfLife::~GameOfLife() { } //static uint8_t TIMES_SCREEN_SAVER=3; //due to lack of code space to put in ...
31.45283
114
0.594881
mwales
4bb7f119c11c8b7c81583da0f525d7381754b600
3,657
hpp
C++
Engine/EntitySystem/Systems/System.hpp
xubury/FoggyEngine
1af5b814e9c3946da678be3acf93cd4d89f01c80
[ "BSD-3-Clause" ]
null
null
null
Engine/EntitySystem/Systems/System.hpp
xubury/FoggyEngine
1af5b814e9c3946da678be3acf93cd4d89f01c80
[ "BSD-3-Clause" ]
null
null
null
Engine/EntitySystem/Systems/System.hpp
xubury/FoggyEngine
1af5b814e9c3946da678be3acf93cd4d89f01c80
[ "BSD-3-Clause" ]
null
null
null
#ifndef SYSTEM_HPP #define SYSTEM_HPP #include <SFML/System.hpp> #include <cassert> #include <memory> #include <unordered_map> #include "EntitySystem/Defines.hpp" namespace foggy { namespace es { template <typename ENTITY> class EntityManager; template <typename ENTITY> class Entity; template <typename ENTITY> cla...
25.22069
78
0.686628
xubury
4bb858310866db8399724a61603954155e422c5e
12,347
cpp
C++
src/HashTable/HashTable.cpp
DDreher/OpenCL-Sandbox
6baa42a013e2f6de92161f240e97f1ce25d89daa
[ "BSL-1.0" ]
null
null
null
src/HashTable/HashTable.cpp
DDreher/OpenCL-Sandbox
6baa42a013e2f6de92161f240e97f1ce25d89daa
[ "BSL-1.0" ]
null
null
null
src/HashTable/HashTable.cpp
DDreher/OpenCL-Sandbox
6baa42a013e2f6de92161f240e97f1ce25d89daa
[ "BSL-1.0" ]
null
null
null
#include "HashTable/HashTable.h" #include <Base\OpenCLManager.h> #include "assert.h" #include "Base\Definitions.h" #include "Base\Utilities.h" HashTable::HashTable() { // Init random seed srand(random_seed_); } HashTable::~HashTable() { // Release buffers cl_int status = 0; if(table_buffer_ != 0) ...
47.856589
180
0.710618
DDreher
4bb88d7ee18dfb726c52c636d826b100787fa7bd
2,614
hh
C++
StoppingTargetGeom/inc/TargetFoilSupportStructure.hh
bonventre/Offline
77db9d6368f27ab9401c690c2c2a4257ade6c231
[ "Apache-2.0" ]
1
2021-06-25T00:00:12.000Z
2021-06-25T00:00:12.000Z
StoppingTargetGeom/inc/TargetFoilSupportStructure.hh
bonventre/Offline
77db9d6368f27ab9401c690c2c2a4257ade6c231
[ "Apache-2.0" ]
1
2019-11-22T14:45:51.000Z
2019-11-22T14:50:03.000Z
StoppingTargetGeom/inc/TargetFoilSupportStructure.hh
bonventre/Offline
77db9d6368f27ab9401c690c2c2a4257ade6c231
[ "Apache-2.0" ]
2
2019-10-14T17:46:58.000Z
2020-03-30T21:05:15.000Z
#ifndef StoppingTargetGeom_TargetFoilSupportStructure_hh #define StoppingTargetGeom_TargetFoilSupportStructure_hh // // Class to represent one support structure of one target foil. // // $Id: TargetFoilSupportStructure.hh,v 1.1 2013/10/14 23:57:32 roehrken Exp $ // $Author: roehrken $ // $Date: 2013/10/14 23:57:32 $ /...
29.044444
95
0.674445
bonventre
4bb92c8639aa50eda352757ba82670bb823ff970
2,235
cpp
C++
examples/0120-template-classes/exp/example.cpp
satya-das/cib
369333ea58b0530b8789a340e21096ba7d159d0e
[ "MIT" ]
30
2018-03-05T17:35:29.000Z
2022-03-17T18:59:34.000Z
examples/0120-template-classes/exp/example.cpp
satya-das/cib
369333ea58b0530b8789a340e21096ba7d159d0e
[ "MIT" ]
2
2016-05-26T04:47:13.000Z
2019-02-15T05:17:43.000Z
examples/0120-template-classes/exp/example.cpp
satya-das/cib
369333ea58b0530b8789a340e21096ba7d159d0e
[ "MIT" ]
5
2019-02-15T05:09:22.000Z
2021-04-14T12:10:16.000Z
#include "example.h" #include "value.h" namespace Example { Example::A::A(__zz_cib_AbiType h) : __zz_cib_h_(h) {} Example::A::A(A&& rhs) : __zz_cib_h_(rhs.__zz_cib_h_) { rhs.__zz_cib_h_ = nullptr; } Example::A::A() : Example::A(__zz_cib_MyHelper::__zz_cib_New_0()) {} Example::A::A(const ::Example::A& __zz_...
29.025974
97
0.699776
satya-das
4bc1d5e4fa3415db6afe1c4c008ff2dc86b5ca41
1,429
cc
C++
systemc-utils/bca-subset/src/sysc/kernel/sc_module.cc
hhonda68/handy-eda-utils
1ff761d2a30d76681d0047e62663cb42f6622d69
[ "MIT" ]
null
null
null
systemc-utils/bca-subset/src/sysc/kernel/sc_module.cc
hhonda68/handy-eda-utils
1ff761d2a30d76681d0047e62663cb42f6622d69
[ "MIT" ]
null
null
null
systemc-utils/bca-subset/src/sysc/kernel/sc_module.cc
hhonda68/handy-eda-utils
1ff761d2a30d76681d0047e62663cb42f6622d69
[ "MIT" ]
null
null
null
// // Minimal synthesizable BCA subset of SystemC. // // Copyright (c) 2008 the handy-eda-utils developer(s). // Distributed under the MIT License. // (See accompanying file COPYING or copy at // http://www.opensource.org/licenses/mit-license.php.) #include "sc_module.h" #include <string> namespace sc_core { sc_se...
23.048387
104
0.703289
hhonda68
4bc4102582cb459cb8c2e7f212d90938a196d612
943
cpp
C++
wfc/winterface.cpp
mambaru/wfc
170bf87302487c0cedc40b47c84447a765894774
[ "MIT" ]
1
2018-10-18T10:15:53.000Z
2018-10-18T10:15:53.000Z
wfc/winterface.cpp
mambaru/wfc
170bf87302487c0cedc40b47c84447a765894774
[ "MIT" ]
7
2019-12-04T23:36:03.000Z
2021-04-21T12:37:07.000Z
wfc/winterface.cpp
mambaru/wfc
170bf87302487c0cedc40b47c84447a765894774
[ "MIT" ]
null
null
null
#include <wfc/winterface.hpp> namespace wfc{ winterface::winterface(std::weak_ptr<iinterface> target, bool suspend) : _target(target) , _suspend(suspend) {} void winterface::unreg_io(io_id_t id) { auto target = _target.lock(); if ( !_suspend && target!=nullptr ) { target->unreg_io(id); } } void win...
16.54386
72
0.646872
mambaru
4bcd317bc8d66f535e10ccaf61d9f5ae14b1b533
1,679
cpp
C++
Game/Game/src/Game.cpp
ParachanActionGame-Project/KurachanActionGame
af85abcf3c9554f04cacd8686140eb59242463ae
[ "BSD-2-Clause" ]
null
null
null
Game/Game/src/Game.cpp
ParachanActionGame-Project/KurachanActionGame
af85abcf3c9554f04cacd8686140eb59242463ae
[ "BSD-2-Clause" ]
10
2021-09-24T11:40:45.000Z
2021-10-30T04:59:13.000Z
Game/Game/src/Game.cpp
ParachanActionGame-Project/KurachanActionGame
af85abcf3c9554f04cacd8686140eb59242463ae
[ "BSD-2-Clause" ]
null
null
null
 # include "Game.hpp" Game::Game(const InitData& init) : IScene(init) { // 横 (Scene::Width() / blockSize.x) 個、縦 5 個のブロックを配列に追加する for (auto p : step(Size((Scene::Width() / blockSize.x), 5))) { m_blocks << Rect(p.x * blockSize.x, 60 + p.y * blockSize.y, blockSize); } } void Game::update() { // パドルを操作 m_paddle...
19.988095
113
0.628946
ParachanActionGame-Project
4bcf10bc4af2432076c85c4568fb4308e0287f58
628
cpp
C++
AtiRoNya/Bridge/Array/Array.cpp
AtiLion/AtiRoNya
e20e4a8fc47b37834c8284f9e6e937f04a84c510
[ "MIT" ]
25
2019-10-05T17:35:18.000Z
2020-07-01T09:00:30.000Z
AtiRoNya/Bridge/Array/Array.cpp
avail/AtiRoNya
715046515d682a91277c4ef73df29a5e4dbd8004
[ "MIT" ]
null
null
null
AtiRoNya/Bridge/Array/Array.cpp
avail/AtiRoNya
715046515d682a91277c4ef73df29a5e4dbd8004
[ "MIT" ]
5
2019-10-06T07:58:27.000Z
2021-12-05T22:41:32.000Z
#include "Array.h" #pragma region Array void BridgeArray::Initialize(HMODULE hIL2CPP, HMODULE hMono) { // Set variables BridgeArray::hIL2CPP = hIL2CPP; BridgeArray::hMono = hMono; // Set functions mono_array_length = (mono_array_length_t)GetProcAddress(hMono, "mono_array_length"); mono_array_addr_with_size = (...
29.904762
109
0.808917
AtiLion
4bd2210ec0ef2ad47049d0c6cc4168d73b0d2ab9
1,122
hpp
C++
components/esm/loadspel.hpp
Bodillium/openmw
5fdd264d0704e33b44b1ccf17ab4fb721f362e34
[ "Unlicense" ]
null
null
null
components/esm/loadspel.hpp
Bodillium/openmw
5fdd264d0704e33b44b1ccf17ab4fb721f362e34
[ "Unlicense" ]
null
null
null
components/esm/loadspel.hpp
Bodillium/openmw
5fdd264d0704e33b44b1ccf17ab4fb721f362e34
[ "Unlicense" ]
null
null
null
#ifndef OPENMW_ESM_SPEL_H #define OPENMW_ESM_SPEL_H #include <string> #include "effectlist.hpp" namespace ESM { class ESMReader; class ESMWriter; struct Spell { static unsigned int sRecordId; enum SpellType { ST_Spell = 0, // Normal spell, must be cast and costs mana ST_Ability = 1, ...
20.777778
68
0.606952
Bodillium
4bdad270bcbbf3ebd25f0f51a7f6fe95d3c09492
360
hpp
C++
lib/Util/LinuxTools.hpp
hlp2/EnjoLib
6bb69d0b00e367a800b0ef2804808fd1303648f4
[ "BSD-3-Clause" ]
null
null
null
lib/Util/LinuxTools.hpp
hlp2/EnjoLib
6bb69d0b00e367a800b0ef2804808fd1303648f4
[ "BSD-3-Clause" ]
null
null
null
lib/Util/LinuxTools.hpp
hlp2/EnjoLib
6bb69d0b00e367a800b0ef2804808fd1303648f4
[ "BSD-3-Clause" ]
null
null
null
#ifndef LINUXTOOLS_H #define LINUXTOOLS_H #include <Util/Str.hpp> namespace EnjoLib { // echo -n `cat /sys/class/net/eth0/address` | openssl sha256 class LinuxTools { public: LinuxTools(); virtual ~LinuxTools(); EnjoLib::Str HashSHA256(const EnjoLib::Str & data) const; protected: ...
15.652174
65
0.658333
hlp2
4be46fb782b7c7272aab241ac808a3100d847b63
1,611
hpp
C++
source/AsioExpress/MessagePort/SendQueue.hpp
suhao/asioexpress
2f3453465934afdcdf4a575a2d933d86929b23c7
[ "BSL-1.0" ]
null
null
null
source/AsioExpress/MessagePort/SendQueue.hpp
suhao/asioexpress
2f3453465934afdcdf4a575a2d933d86929b23c7
[ "BSL-1.0" ]
null
null
null
source/AsioExpress/MessagePort/SendQueue.hpp
suhao/asioexpress
2f3453465934afdcdf4a575a2d933d86929b23c7
[ "BSL-1.0" ]
null
null
null
// Copyright Ross MacGregor 2013 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) #pragma once #include <deque> #include <boost/shared_ptr.hpp> #include "AsioExpress/Comple...
21.197368
87
0.642458
suhao
4be6f2aa9c047ae88c025cad4694c88aed43ccd4
992
cpp
C++
code/backspace.cpp
matthewReff/Kattis-Problems
848628af630c990fb91bde6256a77afad6a3f5f6
[ "MIT" ]
8
2020-02-21T22:21:01.000Z
2022-02-16T05:30:54.000Z
code/backspace.cpp
matthewReff/Kattis-Problems
848628af630c990fb91bde6256a77afad6a3f5f6
[ "MIT" ]
null
null
null
code/backspace.cpp
matthewReff/Kattis-Problems
848628af630c990fb91bde6256a77afad6a3f5f6
[ "MIT" ]
3
2020-08-05T05:42:35.000Z
2021-08-30T05:39:51.000Z
#define _USE_MATH_DEFINES #include <iostream> #include <stdio.h> #include <cmath> #include <iomanip> #include <vector> #include <string> #include <algorithm> #include <unordered_set> #include <ctype.h> #include <queue> #include <map> #include <set> #include <stack> #include <unordered_map> #define EPSILON 0.00001 type...
17.403509
54
0.587702
matthewReff
4beaa8991b231fd73926bab968c77b0358403a89
4,549
cc
C++
mito/tests/load-mesh/main.cc
mitadel/sandbox
afbab121f7e0aea7c092ca0c0e9088f6f06ad180
[ "BSD-3-Clause" ]
2
2021-05-26T15:18:00.000Z
2022-03-24T06:25:39.000Z
mito/tests/load-mesh/main.cc
mitadel/sandbox
afbab121f7e0aea7c092ca0c0e9088f6f06ad180
[ "BSD-3-Clause" ]
3
2021-04-24T08:53:25.000Z
2021-06-27T10:44:09.000Z
mito/tests/load-mesh/main.cc
mitadel/sandbox
afbab121f7e0aea7c092ca0c0e9088f6f06ad180
[ "BSD-3-Clause" ]
null
null
null
#include "../../mito.h" #include "../../mesh/Simplex.h" #include "../../mesh/Mesh.h" #include <fstream> #include <string> #include <map> #include <time.h> template <int D> bool LoadMesh(std::string fileName) { // open mesh file std::ifstream fileStream; fileStream.open(fileName); assert(fileStream.is_...
28.791139
91
0.579688
mitadel
4beade03c5edc2100e5e896f784b5aee6bfcc536
1,154
cpp
C++
asakatsu/0502d.cpp
KoukiNAGATA/c-
ae51bacb9facb936a151dd777beb6688383a2dcd
[ "MIT" ]
null
null
null
asakatsu/0502d.cpp
KoukiNAGATA/c-
ae51bacb9facb936a151dd777beb6688383a2dcd
[ "MIT" ]
3
2021-03-31T01:39:25.000Z
2021-05-04T10:02:35.000Z
asakatsu/0502d.cpp
KoukiNAGATA/c-
ae51bacb9facb936a151dd777beb6688383a2dcd
[ "MIT" ]
null
null
null
#include<iostream> #include<vector> #include<string> #include<map> #include<utility> #include<algorithm> #include<queue> #include<cmath> #include<iomanip> #define REP(i, n) for(ll i = 0; i < n; i++) #define REPR(i, n) for(ll i = n - 1; i >= 0; i--) #define FOR(i, m, n) for(ll i = m; i <= n; i++) #define FORR(i, m, n) f...
21.773585
62
0.493068
KoukiNAGATA
4beb410b007c7ec41f5f8644ea99e23f152137fd
1,501
hpp
C++
utility/arduino_serial.hpp
charlesmacd/HD6805_Reader
3d9ec7f2530b691db8eba7b9a64bdfb34c989984
[ "Apache-2.0" ]
null
null
null
utility/arduino_serial.hpp
charlesmacd/HD6805_Reader
3d9ec7f2530b691db8eba7b9a64bdfb34c989984
[ "Apache-2.0" ]
null
null
null
utility/arduino_serial.hpp
charlesmacd/HD6805_Reader
3d9ec7f2530b691db8eba7b9a64bdfb34c989984
[ "Apache-2.0" ]
null
null
null
#pragma once #include "winserial.hpp" class ArduinoSerialPort : public SerialPort { public: bool openArduino(int com_port, int com_baud_rate) { if(com_port == -1) { if(!scan(&com_port, NULL)) { printf("Status: Couldn't find a COM port.\n"); ...
23.825397
84
0.536975
charlesmacd
4bec3242ea9cc77af5843a176c233bd9d5480c99
468
hpp
C++
include/AABB.hpp
Kirthos/Aerria
ec9eb6c78690838ba5a3509369e2c4d8428b4dc2
[ "MIT" ]
null
null
null
include/AABB.hpp
Kirthos/Aerria
ec9eb6c78690838ba5a3509369e2c4d8428b4dc2
[ "MIT" ]
null
null
null
include/AABB.hpp
Kirthos/Aerria
ec9eb6c78690838ba5a3509369e2c4d8428b4dc2
[ "MIT" ]
null
null
null
#ifndef AABB_H #define AABB_H #include <SFML/Graphics.hpp> class Entity; class AABB { public: AABB(); void init(Entity* parent,sf::Vector2f taille); void setTaille(sf::Vector2f t_taille); bool testCollision(AABB test); sf::Vector2f getTaille(); sf::Vector2f getPos(...
18.72
54
0.608974
Kirthos
4bec919d4b2a51fd9f03538f25bc5d960add292e
4,035
cpp
C++
AADC/src/aadcUser/AltarReadData/ReadData.cpp
AimiHat/AADC-2018---Team-Altar
857fb79d52a5a428f6fbd96ca11fe6a758cdc780
[ "MIT" ]
1
2020-10-07T08:55:55.000Z
2020-10-07T08:55:55.000Z
AADC/src/aadcUser/AltarReadData/ReadData.cpp
AimiHat/AADC-2018---Team-Altar
857fb79d52a5a428f6fbd96ca11fe6a758cdc780
[ "MIT" ]
null
null
null
AADC/src/aadcUser/AltarReadData/ReadData.cpp
AimiHat/AADC-2018---Team-Altar
857fb79d52a5a428f6fbd96ca11fe6a758cdc780
[ "MIT" ]
null
null
null
/********************************************************************* Copyright (c) 2018 Audi Autonomous Driving Cup. 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 ...
43.387097
726
0.724659
AimiHat
4bee0e18b8b0699a9e959ef54dd8c928b1dcf3b3
9,966
cpp
C++
LIA_RAL_3.0/LIA_SpkDet/TotalVariability/src/TotalVariability.cpp
ibillxia/VoicePrintReco
20bf32f183abcd483fe1da451b4c75cf995b5f26
[ "MIT" ]
83
2015-01-18T01:20:37.000Z
2022-03-02T20:15:27.000Z
LIA_RAL_3.0/LIA_SpkDet/TotalVariability/src/TotalVariability.cpp
Dystopiaz/VoicePrintReco
20bf32f183abcd483fe1da451b4c75cf995b5f26
[ "MIT" ]
4
2016-03-03T08:43:00.000Z
2019-03-08T06:20:56.000Z
LIA_RAL_3.0/LIA_SpkDet/TotalVariability/src/TotalVariability.cpp
Dystopiaz/VoicePrintReco
20bf32f183abcd483fe1da451b4c75cf995b5f26
[ "MIT" ]
59
2015-02-02T03:07:37.000Z
2021-11-22T12:05:42.000Z
/* This file is part of LIA_RAL which is a set of software based on ALIZE toolkit for speaker recognition. ALIZE toolkit is required to use LIA_RAL. LIA_RAL project is a development project was initiated by the computer science laboratory of Avignon / France (Laboratoire Informatique d'Avignon - LIA) [http://lia.univ-...
40.024096
164
0.74122
ibillxia
4bf00fd09d9d6f08e40ef22dcae6cfefcee881f1
1,562
cpp
C++
example/01. Basic Window and Event Loop/Main.cpp
OutOfTheVoid/ProjectRed
801327283f5a302be130c90d593b39957c84cce5
[ "MIT" ]
1
2020-06-14T06:14:50.000Z
2020-06-14T06:14:50.000Z
example/01. Basic Window and Event Loop/Main.cpp
OutOfTheVoid/ProjectRed
801327283f5a302be130c90d593b39957c84cce5
[ "MIT" ]
null
null
null
example/01. Basic Window and Event Loop/Main.cpp
OutOfTheVoid/ProjectRed
801327283f5a302be130c90d593b39957c84cce5
[ "MIT" ]
null
null
null
#include <SDLX/SDLX.h> #include <SDLX/Lib.h> #include <SDLX/Window.h> #include <stdint.h> #include <iostream> // Forward declaration void WindowCloseEvent ( SDL_WindowEvent * Event, SDLX :: Window * Origin, void * Data ); int main ( int argc, const char * argv [] ) { uint32_t Status; // Initialize SDLX/SDL2 SD...
22.970588
98
0.648528
OutOfTheVoid
4bf065faeabdbb3fdb2d93d7b4918bf629e59ffe
338
cpp
C++
src/rmi/rmibase.cpp
mage-game/metagame-server-engine
8b6eb0a258d6dae4330cb3be769de162874841ed
[ "MIT" ]
4
2021-12-16T13:57:26.000Z
2022-03-26T07:49:42.000Z
src/rmi/rmibase.cpp
mage-game/metagame-server-engine
8b6eb0a258d6dae4330cb3be769de162874841ed
[ "MIT" ]
null
null
null
src/rmi/rmibase.cpp
mage-game/metagame-server-engine
8b6eb0a258d6dae4330cb3be769de162874841ed
[ "MIT" ]
1
2022-03-26T07:49:46.000Z
2022-03-26T07:49:46.000Z
#include "rmibase.h" #include "rmidef.h" namespace rmi { int RMIObject::__dispatch(const char *method, TLVUnserializer &in_param, TLVSerializer *out_param) { MethodList::iterator i = m_method_list.find(method); if (i != m_method_list.end()) { return i->second(in_param, out_param); } return DispatchMeth...
18.777778
99
0.715976
mage-game
4bfe39696fce62ae2bf6fcf0f3cf6bfa073f7cfe
961
cpp
C++
jsUnits/jsForcePerUnitLength.cpp
dnv-opensource/Reflection
27effb850e9f0cc6acc2d48630ee6aa5d75fa000
[ "BSL-1.0" ]
null
null
null
jsUnits/jsForcePerUnitLength.cpp
dnv-opensource/Reflection
27effb850e9f0cc6acc2d48630ee6aa5d75fa000
[ "BSL-1.0" ]
null
null
null
jsUnits/jsForcePerUnitLength.cpp
dnv-opensource/Reflection
27effb850e9f0cc6acc2d48630ee6aa5d75fa000
[ "BSL-1.0" ]
null
null
null
// Copyright (c) 2021 DNV AS // // Distributed under the Boost Software License, Version 1.0. // See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt #include <jsUnits/jsForcePerUnitLength.h> #include <jsUnits/jsUnitClass.h> #include <Units/ForcePerUnitLength.h> #include "jsTran...
35.592593
166
0.790843
dnv-opensource
ef03ec7ed241dc6ca1e18d1b3323c6fefbc3ecd2
7,463
cpp
C++
src/caffe/layers/softmax_loss_layer.cpp
noirmist/OpenCL-caffe
41805c86a29de1e7bf1c12bd1d7488a5fed3f997
[ "BSD-2-Clause" ]
616
2015-09-20T14:48:47.000Z
2022-03-25T08:37:10.000Z
src/caffe/layers/softmax_loss_layer.cpp
niclar/OpenCL-caffe
b2c402f7a9828cc8c1970d43950226daa8a1f4b8
[ "BSD-2-Clause" ]
60
2015-09-29T23:25:35.000Z
2019-02-20T04:41:27.000Z
src/caffe/layers/softmax_loss_layer.cpp
niclar/OpenCL-caffe
b2c402f7a9828cc8c1970d43950226daa8a1f4b8
[ "BSD-2-Clause" ]
180
2015-09-20T08:17:53.000Z
2021-12-23T15:47:39.000Z
#include <algorithm> #include <cfloat> #include <vector> #include "caffe/layer.hpp" #include "caffe/layer_factory.hpp" #include "caffe/util/math_functions.hpp" #include "caffe/vision_layers.hpp" namespace caffe { template <typename Dtype> void SoftmaxWithLossLayer<Dtype>::LayerSetUp(const vector<Blob<Dtype>*>& botto...
36.763547
122
0.674394
noirmist
ef069a54d8e4408116e4b88bfe66a1f8b5323864
3,436
cpp
C++
examples/BitonicSortTests/bitonic_sort_tests.cpp
cg-enths/shaderator
825f58f1da0ec0fec1367ca0a1f19796a11f54d4
[ "MIT" ]
31
2018-04-11T17:28:01.000Z
2022-02-22T13:41:26.000Z
examples/BitonicSortTests/bitonic_sort_tests.cpp
cg-enths/shaderator
825f58f1da0ec0fec1367ca0a1f19796a11f54d4
[ "MIT" ]
5
2018-03-15T16:44:18.000Z
2019-04-13T19:17:51.000Z
examples/BitonicSortTests/bitonic_sort_tests.cpp
cezbloch/shaderator
825f58f1da0ec0fec1367ca0a1f19796a11f54d4
[ "MIT" ]
5
2018-11-30T01:14:48.000Z
2021-12-31T10:03:51.000Z
#define _SILENCE_TR1_NAMESPACE_DEPRECATION_WARNING #define TRACE_ACCESS #include "gtest/gtest.h" #include "bitonic_sort_executor.h" #include "shader_types.h" #include <iterator> //std::begin #include <numeric> //std::itoa #include <random> #include <vector> using UINT = unsigned int; const UINT BITONIC_BLOCK_SIZE = ...
32.11215
134
0.718859
cg-enths
ef06cc7913d800d05590c4294ebcef2dcc83755d
1,312
hpp
C++
dumb/struct_type.hpp
Better-Idea/Mix-C
71f34a5fc8c17a516cf99bc397289d046364a82e
[ "Apache-2.0" ]
41
2019-09-24T02:17:34.000Z
2022-01-18T03:14:46.000Z
dumb/struct_type.hpp
Better-Idea/Mix-C
71f34a5fc8c17a516cf99bc397289d046364a82e
[ "Apache-2.0" ]
2
2019-11-04T09:01:40.000Z
2020-06-23T03:03:38.000Z
dumb/struct_type.hpp
Better-Idea/Mix-C
71f34a5fc8c17a516cf99bc397289d046364a82e
[ "Apache-2.0" ]
8
2019-09-24T02:17:35.000Z
2021-09-11T00:21:03.000Z
#ifndef xpack_dumb_struct_type #define xpack_dumb_struct_type #pragma push_macro("xuser") #undef xuser #define xuser mixc::dumb_struct_type::inc #include"meta/is_class.hpp" #include"define/base_type.hpp" #include"macro/xexport.hpp" #include"macro/xstruct.hpp" #pragma pop_macro("xuser") namespace mixc::dumb_struct_typ...
23.017544
91
0.634909
Better-Idea
ef07dd1b817e4792be3d05cbd9db9701b577f7e5
719
cpp
C++
src/Utils.cpp
beyondpie/smmtools
ae23c7aeef171ca676daf5b735cb362b097775bb
[ "MIT" ]
null
null
null
src/Utils.cpp
beyondpie/smmtools
ae23c7aeef171ca676daf5b735cb362b097775bb
[ "MIT" ]
null
null
null
src/Utils.cpp
beyondpie/smmtools
ae23c7aeef171ca676daf5b735cb362b097775bb
[ "MIT" ]
null
null
null
#include <Rcpp.h> using namespace Rcpp; using namespace std; // From ArchR General_Utils.cpp //' @export // [[Rcpp::export]] IntegerMatrix tabulate2dCpp(IntegerVector &x, int xmin, int xmax, IntegerVector &y, int ymin, int ymax){ if(x.size() != y.size()){ stop("width must equal size!"); } int n = x.size(); ...
23.193548
104
0.549374
beyondpie
ef0a259c06d7514e25f75d6c2e539ad8cb532c06
847
hpp
C++
tools/builder/tests/test_unit.hpp
kroschenko/sc-machine
10a9535b3b9151ed683d351f2d222a95fc078e2b
[ "MIT" ]
null
null
null
tools/builder/tests/test_unit.hpp
kroschenko/sc-machine
10a9535b3b9151ed683d351f2d222a95fc078e2b
[ "MIT" ]
null
null
null
tools/builder/tests/test_unit.hpp
kroschenko/sc-machine
10a9535b3b9151ed683d351f2d222a95fc078e2b
[ "MIT" ]
1
2021-12-03T13:20:18.000Z
2021-12-03T13:20:18.000Z
#pragma once #include "sc-memory/sc_memory.hpp" #include "sc-test-framework/sc_test_unit.hpp" class BuilderTestUnit : public test::ScTestUnit { public: BuilderTestUnit(char const * name, char const * filename, void(*fn)()) : test::ScTestUnit(name, filename, fn) { } private: void InitMemory(std::strin...
22.289474
77
0.682409
kroschenko
ef0ef559862657a01afc6f45f44cc0c3b75f121d
669
cc
C++
p1134_Armstrong_Number/p1134.cc
Song1996/Leetcode
ecb0a2de67a57b899a12d0cb18272fb37dbf3ceb
[ "MIT" ]
null
null
null
p1134_Armstrong_Number/p1134.cc
Song1996/Leetcode
ecb0a2de67a57b899a12d0cb18272fb37dbf3ceb
[ "MIT" ]
null
null
null
p1134_Armstrong_Number/p1134.cc
Song1996/Leetcode
ecb0a2de67a57b899a12d0cb18272fb37dbf3ceb
[ "MIT" ]
null
null
null
#include <cstring> using namespace std; class Solution { int mem[10]; public: bool isArmstrong(int N) { memset(mem, 0, sizeof(mem)); int k = 0, tN = N; while(tN) { k++; tN /= 10; } int t = 0; tN = N; while(tN) { int dig...
22.3
48
0.35426
Song1996
ef121b6433466d48f1537461069d45be9e1d1f13
1,547
cpp
C++
src/FalconEngine/Graphics/Renderer/Resource/VertexBufferBinding.cpp
LiuYiZhou95/FalconEngine
b798f20e9dbd01334a4e4cdbbd9a5bec74966418
[ "MIT" ]
null
null
null
src/FalconEngine/Graphics/Renderer/Resource/VertexBufferBinding.cpp
LiuYiZhou95/FalconEngine
b798f20e9dbd01334a4e4cdbbd9a5bec74966418
[ "MIT" ]
null
null
null
src/FalconEngine/Graphics/Renderer/Resource/VertexBufferBinding.cpp
LiuYiZhou95/FalconEngine
b798f20e9dbd01334a4e4cdbbd9a5bec74966418
[ "MIT" ]
1
2021-08-25T07:39:02.000Z
2021-08-25T07:39:02.000Z
#include <FalconEngine/Graphics/Renderer/Resource/VertexBufferBinding.h> namespace FalconEngine { /************************************************************************/ /* Constructors and Destructor */ /*********************************************************************...
21.486111
74
0.49192
LiuYiZhou95
ef144b3773b9e051b1016c5697677a77f0ffa937
1,442
cpp
C++
electricity.cpp
Skywalker-19/SEM_1-2
f8616b750480eb96e538ea452457b3b46d2e6b46
[ "MIT" ]
null
null
null
electricity.cpp
Skywalker-19/SEM_1-2
f8616b750480eb96e538ea452457b3b46d2e6b46
[ "MIT" ]
null
null
null
electricity.cpp
Skywalker-19/SEM_1-2
f8616b750480eb96e538ea452457b3b46d2e6b46
[ "MIT" ]
null
null
null
#include<iostream> using namespace std; class electricity{ protected: float unit; float cost; float calcost; float charge; float diff; float servicecharge; public: electricity() { cost=0.0; calcost=0.0; charge=0.0; diff=0.0; servicecharge=75; } void acceptunits(); void calfinalbill(); void displaybill(); }; void elec...
18.025
54
0.570735
Skywalker-19
ef14c63047e2d556cce90198eab5ef1fd6116c6f
3,726
cpp
C++
BeanDogEngine/GameObject.cpp
RoyFilipchuk56/BeanDogEngine
189ff606b1568b8c2228602b545767bb827d3065
[ "MIT" ]
null
null
null
BeanDogEngine/GameObject.cpp
RoyFilipchuk56/BeanDogEngine
189ff606b1568b8c2228602b545767bb827d3065
[ "MIT" ]
null
null
null
BeanDogEngine/GameObject.cpp
RoyFilipchuk56/BeanDogEngine
189ff606b1568b8c2228602b545767bb827d3065
[ "MIT" ]
null
null
null
#include "GameObject.h" GameObject::GameObject(cMesh* mesh, glm::vec3 transform, glm::vec3 rotation) : mesh(mesh), friendlyName(""), receiver(NULL) { //Set the position to the given position SetPosition(position); //Set both rotations to the given rotations SetRotation(rotation); SetRotationQuat(quaternion::Qua...
21.170455
136
0.718733
RoyFilipchuk56
ef15ada3447744a2f9cc4f4f98e831184f1e39f0
937
cpp
C++
client/include/game/CEntryExitManager.cpp
MayconFelipeA/sampvoiceatt
3fae8a2cf37dfad2e3925d56aebfbbcd4162b0ff
[ "MIT" ]
97
2019-01-13T20:19:19.000Z
2022-02-27T18:47:11.000Z
client/include/game/CEntryExitManager.cpp
MayconFelipeA/sampvoiceatt
3fae8a2cf37dfad2e3925d56aebfbbcd4162b0ff
[ "MIT" ]
92
2019-01-23T23:02:31.000Z
2022-03-23T19:59:40.000Z
client/include/game/CEntryExitManager.cpp
MayconFelipeA/sampvoiceatt
3fae8a2cf37dfad2e3925d56aebfbbcd4162b0ff
[ "MIT" ]
69
2019-01-13T22:01:40.000Z
2022-03-09T00:55:49.000Z
/* Plugin-SDK (Grand Theft Auto San Andreas) source file Authors: GTA Community. See more here https://github.com/DK22Pac/plugin-sdk Do not delete this comment block. Respect others' work! */ #include "CEntryExitManager.h" // US-1.00 @ 0x0096A7D8 // EU-1.00 @ 0x0096A7D8 CPool<CEntryExit> *& CEntryExitM...
26.027778
112
0.708645
MayconFelipeA
ef17dad97c0d73b196cfc8c6ba43cf16d1db97b0
498
cpp
C++
test_constexpr.cpp
zyfjeff/CPP-Class-Study
c6cd84a3c5b406c1c9bf5828f08e587742370457
[ "Apache-2.0" ]
2
2017-02-13T19:26:45.000Z
2017-06-20T14:29:28.000Z
test_constexpr.cpp
zyfjeff/CPP-Class-Study
c6cd84a3c5b406c1c9bf5828f08e587742370457
[ "Apache-2.0" ]
null
null
null
test_constexpr.cpp
zyfjeff/CPP-Class-Study
c6cd84a3c5b406c1c9bf5828f08e587742370457
[ "Apache-2.0" ]
null
null
null
/* ===================================================================================== Filename: test_constexpr.cpp Description: 测试常量表达式 Version: 1.0 Created: 27/02/15 17:44:27 Revision: none Compiler: gcc Author: Jeff (), zyfforlinux@163.com Organiza...
23.714286
86
0.363454
zyfjeff
fa9fa22aaef5cf909ae66ec469f8a5d5c74ab7b4
1,326
cpp
C++
Editor/Sources/o2Editor/AnimationWindow/TrackControls/ITrackControl.cpp
zenkovich/o2
cdbf10271f1bf0f3198c8005b13b66e6ca13a9db
[ "MIT" ]
181
2015-12-09T08:53:36.000Z
2022-03-26T20:48:39.000Z
Editor/Sources/o2Editor/AnimationWindow/TrackControls/ITrackControl.cpp
zenkovich/o2
cdbf10271f1bf0f3198c8005b13b66e6ca13a9db
[ "MIT" ]
29
2016-04-22T08:24:04.000Z
2022-03-06T07:06:28.000Z
Editor/Sources/o2Editor/AnimationWindow/TrackControls/ITrackControl.cpp
zenkovich/o2
cdbf10271f1bf0f3198c8005b13b66e6ca13a9db
[ "MIT" ]
13
2018-04-24T17:12:04.000Z
2021-11-12T23:49:53.000Z
#include "o2Editor/stdafx.h" #include "ITrackControl.h" namespace Editor { void ITrackControl::Initialize(AnimationTimeline* timeline, KeyHandlesSheet* handlesSheet) {} void ITrackControl::SetTrack(IAnimationTrack* track, IAnimationTrack::IPlayer* player, const String& path) {} void ITrackControl::UpdateHandle...
19.791045
112
0.748869
zenkovich
faa40d2ef987922d6e3dc7933060d0e89f4d4c42
854
cpp
C++
test/limits.cpp
meh/paku
f668fb93659853c98ebef87a8d1b58fad60820b6
[ "Unlicense" ]
1
2016-03-03T01:22:43.000Z
2016-03-03T01:22:43.000Z
test/limits.cpp
meh/paku
f668fb93659853c98ebef87a8d1b58fad60820b6
[ "Unlicense" ]
null
null
null
test/limits.cpp
meh/paku
f668fb93659853c98ebef87a8d1b58fad60820b6
[ "Unlicense" ]
null
null
null
#include <cstddef> #include <amirite> #include <paku/packet/limits> using namespace paku; int main (int argc, char* argv[]) { (void) argc; (void) argv; return amirite("packet/limits", { { "ether", []{ amiequal(packet::limits<packet::ether>::max(), 14U); amiequal(packet::limits<packet::ether>::min(), 14U)...
20.829268
55
0.587822
meh
faab41d34ff046d683857ee33a2bc53fb6fdbcaa
1,169
cpp
C++
source/aufgabe5.cpp
Zlobarq/programmiersprachen-aufgabenblatt-3
d803946f06e8e9128909928593b9b590d2d27464
[ "MIT" ]
null
null
null
source/aufgabe5.cpp
Zlobarq/programmiersprachen-aufgabenblatt-3
d803946f06e8e9128909928593b9b590d2d27464
[ "MIT" ]
null
null
null
source/aufgabe5.cpp
Zlobarq/programmiersprachen-aufgabenblatt-3
d803946f06e8e9128909928593b9b590d2d27464
[ "MIT" ]
null
null
null
#define CATCH_CONFIG_RUNNER #include <catch.hpp> #include <cmath> #include <algorithm> #include <vector> //initialize globally std::vector<unsigned int> vector= {}; //function bool is_multiple_of_three(int i){ if (i%3 ==0) { return true; } return false; } bool isnt_multiple_of_three(int i){ if (i%3 !=0) { ret...
17.712121
94
0.644996
Zlobarq
fab41ac4223b7fd3c162b0ed14e376d7389a7be4
201
cpp
C++
src/text/utils.cpp
fizixx/nucleus
a095aa9768c3e330a1ed17bebfd0d72e33033aaa
[ "MIT" ]
1
2018-01-03T17:55:18.000Z
2018-01-03T17:55:18.000Z
src/text/utils.cpp
tiaanl/nucleus
a095aa9768c3e330a1ed17bebfd0d72e33033aaa
[ "MIT" ]
1
2015-06-26T20:27:45.000Z
2015-06-29T07:27:42.000Z
src/text/utils.cpp
tiaanl/nucleus
a095aa9768c3e330a1ed17bebfd0d72e33033aaa
[ "MIT" ]
1
2015-06-26T18:31:05.000Z
2015-06-26T18:31:05.000Z
#include "nucleus/text/utils.h" namespace nu { auto zeroTerminated(StringView source) -> DynamicString { DynamicString result{source}; result.append('\0'); return result; } } // namespace nu
16.75
57
0.711443
fizixx
fab624d49a5e190dd2a75ed084c6245f856f81f1
22,047
cpp
C++
src/elix_rgbabuffer.cpp
lukesalisbury/elix
171aedf7c925513408b785dde24c58bcee74acf3
[ "Zlib" ]
3
2015-04-14T13:14:34.000Z
2020-01-31T04:02:35.000Z
src/elix_rgbabuffer.cpp
lukesalisbury/elix
171aedf7c925513408b785dde24c58bcee74acf3
[ "Zlib" ]
null
null
null
src/elix_rgbabuffer.cpp
lukesalisbury/elix
171aedf7c925513408b785dde24c58bcee74acf3
[ "Zlib" ]
null
null
null
#include "elix_core.h" #include "elix_rgbabuffer.hpp" #include "elix_file.hpp" #include <stdlib.h> #include <string.h> #include <math.h> #define STB_TRUETYPE_IMPLEMENTATION // force following include to generate implementation #include "stb_truetype.h" struct rgbabuffer_edge_type { float ymin, ymax, xval, slope; ...
29.474599
148
0.609017
lukesalisbury
fab8ad10c790cb417271392fc9c50a6562f0e1d8
284
cpp
C++
examples/reference-ASSERT_GE_LABELED.cpp
gcross/Illuminate
862f665ccd4b67411bc332f534e1655585750823
[ "0BSD" ]
null
null
null
examples/reference-ASSERT_GE_LABELED.cpp
gcross/Illuminate
862f665ccd4b67411bc332f534e1655585750823
[ "0BSD" ]
null
null
null
examples/reference-ASSERT_GE_LABELED.cpp
gcross/Illuminate
862f665ccd4b67411bc332f534e1655585750823
[ "0BSD" ]
null
null
null
#include "illuminate.hpp" TEST_CASE(ASSERT_GE_LABELED) { ASSERT_GE_LABELED("first value",1,"second value",0) ASSERT_GE_LABELED("first value",1,"second value",1) ASSERT_GE_LABELED("first value",1,"second value",2) ASSERT_GE_LABELED("first value",1,"second value",3) }
31.555556
55
0.725352
gcross
fabe5037696a8ea875afae5c1715393c78b97a56
3,449
cpp
C++
Source/VoxelEditor/Private/Details/VoxelPaintMaterialCustomization.cpp
brucelevis/VoxelPlugin
eb64fbbdd699ce096d5b3cedbbb76e7b477cfde4
[ "MIT" ]
1
2019-11-16T22:14:23.000Z
2019-11-16T22:14:23.000Z
Source/VoxelEditor/Private/Details/VoxelPaintMaterialCustomization.cpp
getnamo/VoxelPlugin
eb64fbbdd699ce096d5b3cedbbb76e7b477cfde4
[ "MIT" ]
10
2019-11-16T10:35:05.000Z
2020-01-06T09:03:52.000Z
Source/VoxelEditor/Private/Details/VoxelPaintMaterialCustomization.cpp
getnamo/VoxelPlugin
eb64fbbdd699ce096d5b3cedbbb76e7b477cfde4
[ "MIT" ]
1
2020-05-19T03:53:24.000Z
2020-05-19T03:53:24.000Z
// Copyright 2019 Phyronnaz #include "Details/VoxelPaintMaterialCustomization.h" #include "VoxelTools/VoxelPaintMaterial.h" #include "PropertyHandle.h" #include "DetailWidgetRow.h" #include "IDetailChildrenBuilder.h" #include "IPropertyUtilities.h" #include "IDetailGroup.h" #include "Widgets/SBoxPanel.h" #define LO...
40.576471
191
0.823427
brucelevis
fabf827ad477d4e4518c76ba7eace6f49fa23a92
262
hpp
C++
MPAGSCipher/CaesarCipher.hpp
MPAGS-CPP-2019/mpags-day-3-GarethBird96
74a11e90fb8d7b2bf70e9126c47fa17cb48c9990
[ "MIT" ]
null
null
null
MPAGSCipher/CaesarCipher.hpp
MPAGS-CPP-2019/mpags-day-3-GarethBird96
74a11e90fb8d7b2bf70e9126c47fa17cb48c9990
[ "MIT" ]
null
null
null
MPAGSCipher/CaesarCipher.hpp
MPAGS-CPP-2019/mpags-day-3-GarethBird96
74a11e90fb8d7b2bf70e9126c47fa17cb48c9990
[ "MIT" ]
null
null
null
#ifndef MPAGSCIPHER_CEASERCIPHER_HPP #define MPAGSCIPHER_CEASERCIPHER_HPP class CaesarCipher{ public: //Basic Constructor CaesarCipher(size_t key); //Members: size_t caesarKey {0}; }; #endif // MPAGSCIPHER_CEASERCIPHER_HPP
18.714286
38
0.70229
MPAGS-CPP-2019
fac1ec3c74bf7de53d6a4f492ed7db2e3419ec81
1,228
hpp
C++
source/zisc/core/zisc/thread/spin_lock_mutex.hpp
byzin/Zisc
c74f50c51f82c847f39a603607d73179004436bb
[ "MIT" ]
2
2017-10-18T13:24:11.000Z
2018-05-15T00:40:52.000Z
source/zisc/core/zisc/thread/spin_lock_mutex.hpp
byzin/Zisc
c74f50c51f82c847f39a603607d73179004436bb
[ "MIT" ]
9
2016-09-05T11:07:03.000Z
2019-07-05T15:31:04.000Z
source/zisc/core/zisc/thread/spin_lock_mutex.hpp
byzin/Zisc
c74f50c51f82c847f39a603607d73179004436bb
[ "MIT" ]
null
null
null
/*! \file spin_lock_mutex.hpp \author Sho Ikeda \brief No brief description \details No detailed description. \copyright Copyright (c) 2015-2021 Sho Ikeda This software is released under the MIT License. http://opensource.org/licenses/mit-license.php */ #ifndef ZISC_SPIN_LOCK_MUTEX_HPP #define ZI...
19.806452
85
0.721498
byzin
fac58c3933ed9901e6cce3c38c8f7742da7fcdcb
3,675
cpp
C++
plugins/robots/common/twoDModel/src/engine/view/parts/robotItemPopup.cpp
ladaegorova18/trik-studio
f8d9ce50301fd93c948ac774e85c0e6bfff820bc
[ "Apache-2.0" ]
null
null
null
plugins/robots/common/twoDModel/src/engine/view/parts/robotItemPopup.cpp
ladaegorova18/trik-studio
f8d9ce50301fd93c948ac774e85c0e6bfff820bc
[ "Apache-2.0" ]
null
null
null
plugins/robots/common/twoDModel/src/engine/view/parts/robotItemPopup.cpp
ladaegorova18/trik-studio
f8d9ce50301fd93c948ac774e85c0e6bfff820bc
[ "Apache-2.0" ]
null
null
null
/* Copyright 2015 QReal Research Group, Dmitry Mordvinov * * 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 app...
30.625
103
0.75483
ladaegorova18
fad2ab3418642d64f9ea34f4591df334f15d1567
1,901
cpp
C++
engxor.cpp
darksidergod/CompetitiveProgramming
ea0ee53bddd87e41b4586dd30c1d4a6b8ae3a93a
[ "MIT" ]
null
null
null
engxor.cpp
darksidergod/CompetitiveProgramming
ea0ee53bddd87e41b4586dd30c1d4a6b8ae3a93a
[ "MIT" ]
null
null
null
engxor.cpp
darksidergod/CompetitiveProgramming
ea0ee53bddd87e41b4586dd30c1d4a6b8ae3a93a
[ "MIT" ]
1
2020-10-03T19:48:05.000Z
2020-10-03T19:48:05.000Z
#include <bits/stdc++.h> using namespace std; #define mod 1000000007 #define int long long int #define pb push_back #define mk make_pair #define flp(i, k, n) for(int i=k; i<n; i++) #define F first #define S second int power(int a, int b) { int x = 1, y = a; while(b > 0) { if(b%2 == 1) { x=(x*y)...
20.010526
63
0.40768
darksidergod
fad6ffd4672784aac928199895b318f85648e8ec
387
cpp
C++
hackerrank/1/a.cpp
AadityaJ/Spoj
61664c1925ef5bb072a3fe78fb3dac4fb68d77a1
[ "MIT" ]
null
null
null
hackerrank/1/a.cpp
AadityaJ/Spoj
61664c1925ef5bb072a3fe78fb3dac4fb68d77a1
[ "MIT" ]
null
null
null
hackerrank/1/a.cpp
AadityaJ/Spoj
61664c1925ef5bb072a3fe78fb3dac4fb68d77a1
[ "MIT" ]
null
null
null
#include <iostream> #include <string> #include <vector> #include <algorithm> using namespace std; int main(int argc, char const *argv[]) { int n; cin >> n; vector<int> file(n); for(int file_i = 0; file_i < n; file_i++){ cin >> file[file_i]; } int cnt=0,i=0; while(i<n){ int v=file[i]; i+...
16.826087
46
0.552972
AadityaJ
fad8bce899ace732d791a7734cc48dbbdd6dd313
7,644
cc
C++
modules/network/PiiNetworkOperation.cc
topiolli/into
f0a47736f5c93dd32e89e7aad34152ae1afc5583
[ "BSD-3-Clause" ]
14
2015-01-19T22:14:18.000Z
2020-04-13T23:27:20.000Z
modules/network/PiiNetworkOperation.cc
topiolli/into
f0a47736f5c93dd32e89e7aad34152ae1afc5583
[ "BSD-3-Clause" ]
null
null
null
modules/network/PiiNetworkOperation.cc
topiolli/into
f0a47736f5c93dd32e89e7aad34152ae1afc5583
[ "BSD-3-Clause" ]
14
2015-01-16T05:43:15.000Z
2019-01-29T07:57:11.000Z
/* This file is part of Into. * Copyright (C) Intopii 2013. * All rights reserved. * * Licensees holding a commercial Into license may use this file in * accordance with the commercial license agreement. Please see * LICENSE.commercial for commercial licensing terms. * * Alternatively, this file may be used und...
31.586777
111
0.697017
topiolli
fadb76312432b5c2405e05a08a8b8c8efc0a4f82
7,630
cpp
C++
evo-X-Scriptdev2/scripts/kalimdor/caverns_of_time/hyjal/instance_hyjal.cpp
Gigelf-evo-X/evo-X
d0e68294d8cacfc7fb3aed5572f51d09a47136b9
[ "OpenSSL" ]
1
2019-01-19T06:35:40.000Z
2019-01-19T06:35:40.000Z
src/bindings/Scriptdev2/scripts/kalimdor/caverns_of_time/hyjal/instance_hyjal.cpp
mfooo/wow
3e5fad4cfdf0fd1c0a2fd7c9844e6f140a1bb32d
[ "OpenSSL" ]
null
null
null
src/bindings/Scriptdev2/scripts/kalimdor/caverns_of_time/hyjal/instance_hyjal.cpp
mfooo/wow
3e5fad4cfdf0fd1c0a2fd7c9844e6f140a1bb32d
[ "OpenSSL" ]
null
null
null
/* Copyright (C) 2006 - 2010 ScriptDev2 <https://scriptdev2.svn.sourceforge.net/> * 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 2 of the License, or * (at your option) any l...
31.142857
131
0.59017
Gigelf-evo-X