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
c336ad5ddfea4ebd9a85a629cdf94c9c4a61e99b
421
hpp
C++
src/settingspage.hpp
Chepik/SpaceInvaders1
8547cfaaa33d7ccddd8c58391d92dd97864d9e5f
[ "MIT" ]
null
null
null
src/settingspage.hpp
Chepik/SpaceInvaders1
8547cfaaa33d7ccddd8c58391d92dd97864d9e5f
[ "MIT" ]
null
null
null
src/settingspage.hpp
Chepik/SpaceInvaders1
8547cfaaa33d7ccddd8c58391d92dd97864d9e5f
[ "MIT" ]
null
null
null
#pragma once #include <QWidget> #include <string> namespace Ui { class SettingsPage; } class SettingsPage : public QWidget { Q_OBJECT public: explicit SettingsPage(QWidget *parent = 0); ~SettingsPage(); private slots: void on_menuButton_clicked(); /// /// It stores setting data into a file. /// v...
12.757576
45
0.695962
Chepik
c337a0816a0f36567cbccc2405a833339cfd7830
11,150
cpp
C++
Enclave/src/enclave_forward.cpp
yy738686337/sgx_project_v2
20a8db8a2aecac0aead50e00d3f8515c46b9af9a
[ "Apache-2.0" ]
null
null
null
Enclave/src/enclave_forward.cpp
yy738686337/sgx_project_v2
20a8db8a2aecac0aead50e00d3f8515c46b9af9a
[ "Apache-2.0" ]
null
null
null
Enclave/src/enclave_forward.cpp
yy738686337/sgx_project_v2
20a8db8a2aecac0aead50e00d3f8515c46b9af9a
[ "Apache-2.0" ]
null
null
null
#include "enclave.h" extern "C" { #include "ecall_batchnorm_layer.h" } #include "types.h" // void ecall_gemm(int TA, int TB, int M, int N, int K, float ALPHA, // float *A, int lda, // float *B, int ldb, // float BETA, // float *C, int ldc, int a_size, int b_size, int c_size) { // ...
39.964158
139
0.530314
yy738686337
c33aa15e40f13b90ecbc39f24e23d934fd8e17db
1,817
cpp
C++
Source code/Game/Source files/Graphics/Texture.cpp
Ansoulom/cat-rush
e99b18d7bf7b72f0e4918f0cc24a190dd55747e6
[ "MIT" ]
null
null
null
Source code/Game/Source files/Graphics/Texture.cpp
Ansoulom/cat-rush
e99b18d7bf7b72f0e4918f0cc24a190dd55747e6
[ "MIT" ]
null
null
null
Source code/Game/Source files/Graphics/Texture.cpp
Ansoulom/cat-rush
e99b18d7bf7b72f0e4918f0cc24a190dd55747e6
[ "MIT" ]
null
null
null
#include "Texture.h" #include "Game_core.h" #include <SDL_image.h> #include <SDL_ttf.h> #include "Colors.h" namespace Game { namespace Graphics { Texture::Texture(Renderer& renderer, const std::filesystem::path& file_path) : Texture{ std::unique_ptr<SDL_Surface, Sdl_deleter>{IMG_Load(file_path.string().c_s...
23
105
0.672537
Ansoulom
c33da97875df8f8a499fb3c743b29be6118380bc
2,950
cpp
C++
lib/Error.cpp
OMAS-IIIF/cserve
8932ed36fa6f1935b3db97ed556f876e2e459c4b
[ "MIT" ]
1
2021-06-24T06:10:07.000Z
2021-06-24T06:10:07.000Z
lib/Error.cpp
OMAS-IIIF/cserve
8932ed36fa6f1935b3db97ed556f876e2e459c4b
[ "MIT" ]
null
null
null
lib/Error.cpp
OMAS-IIIF/cserve
8932ed36fa6f1935b3db97ed556f876e2e459c4b
[ "MIT" ]
null
null
null
/* * Copyright © 2016 Lukas Rosenthaler, Andrea Bianco, Benjamin Geer, * Ivan Subotic, Tobias Schweizer, André Kilchenmann, and André Fatton. * This file is part of Sipi. * Sipi is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published * by ...
42.753623
108
0.581695
OMAS-IIIF
c3400e35727d8d10b38cbfff47efe2051869ec33
22,148
cpp
C++
Engine/source/platformX86UNIX.alt/x86UNIXWindow.client.cpp
fr1tz/terminal-overload
85f0689a40022e5eb7e54dcb6ddfb5ddd82a0a60
[ "CC-BY-4.0" ]
46
2015-01-05T17:34:43.000Z
2022-01-04T04:03:09.000Z
Engine/source/platformX86UNIX.alt/x86UNIXWindow.client.cpp
fr1tz/terminal-overload
85f0689a40022e5eb7e54dcb6ddfb5ddd82a0a60
[ "CC-BY-4.0" ]
10
2015-01-20T23:14:46.000Z
2019-04-05T22:04:15.000Z
Engine/source/platformX86UNIX.alt/x86UNIXWindow.client.cpp
fr1tz/terminal-overload
85f0689a40022e5eb7e54dcb6ddfb5ddd82a0a60
[ "CC-BY-4.0" ]
9
2015-08-08T18:46:06.000Z
2021-02-01T13:53:20.000Z
// Copyright information can be found in the file named COPYING // located in the root directory of this distribution. #include "windowManager/x11/x11WindowMgr.h" #include "console/console.h" #include "core/stream/fileStream.h" //#include "game/resource.h" //#include "game/version.h" #include "math/mRandom.h" #inclu...
29.530667
109
0.580865
fr1tz
c34cd3a6f09c34be5a627b7d7a66f5c422434241
3,044
hpp
C++
Pods/OpenVPNAdapter/Sources/OpenVPN3/openvpn/frame/frame_init.hpp
TiagoPedroByterev/openvpnclient-ios
a9dafb2a481cc72a3e408535fb7f0aba9f5cfa76
[ "MIT" ]
10
2021-03-29T13:52:06.000Z
2022-03-10T02:24:25.000Z
Pods/OpenVPNAdapter/Sources/OpenVPN3/openvpn/frame/frame_init.hpp
TiagoPedroByterev/openvpnclient-ios
a9dafb2a481cc72a3e408535fb7f0aba9f5cfa76
[ "MIT" ]
1
2019-07-19T02:40:32.000Z
2019-07-19T02:40:32.000Z
Pods/OpenVPNAdapter/Sources/OpenVPN3/openvpn/frame/frame_init.hpp
TiagoPedroByterev/openvpnclient-ios
a9dafb2a481cc72a3e408535fb7f0aba9f5cfa76
[ "MIT" ]
7
2018-07-11T10:37:02.000Z
2019-08-03T10:34:08.000Z
// OpenVPN -- An application to securely tunnel IP networks // over a single port, with support for SSL/TLS-based // session authentication and key exchange, // packet encryption, packet authentication, and // packet compression. // // Copyright (C) 2012-201...
37.580247
126
0.698095
TiagoPedroByterev
c34db1d2b727bafb6be96b212497109fe9458ee2
280
cpp
C++
CodeForces/CF742-D2-A.cpp
amraboelkher/CompetitiveProgramming
624ca5c3e5044eae2800d14b3dbb961c85494b85
[ "MIT" ]
2
2017-12-06T01:17:21.000Z
2018-05-02T04:49:44.000Z
CodeForces/CF742-D2-A.cpp
amraboelkher/CompetitiveProgramming
624ca5c3e5044eae2800d14b3dbb961c85494b85
[ "MIT" ]
null
null
null
CodeForces/CF742-D2-A.cpp
amraboelkher/CompetitiveProgramming
624ca5c3e5044eae2800d14b3dbb961c85494b85
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; int get(int a , int b){ if(b == 0) return 1; if(b == 1)return a % 10; int x = get(a , b / 2) % 10; x = x * x % 10; if(b & 1) x = (x * a) % 10; return x; } int main(){ int n ; cin >> n; cout << get(1378 , n) << endl; }
13.333333
32
0.482143
amraboelkher
c3531b198c7bb2f9265dae8567fa54f4391b28e7
2,296
cpp
C++
DEM/Game/src/AI/Memory/MemSystem.cpp
niello/deusexmachina
2f698054fe82d8b40a0a0e58b86d64ffed0de06c
[ "MIT" ]
15
2019-05-07T11:26:13.000Z
2022-01-12T18:26:45.000Z
DEM/Game/src/AI/Memory/MemSystem.cpp
niello/deusexmachina
2f698054fe82d8b40a0a0e58b86d64ffed0de06c
[ "MIT" ]
16
2021-10-04T17:15:31.000Z
2022-03-20T09:34:29.000Z
DEM/Game/src/AI/Memory/MemSystem.cpp
niello/deusexmachina
2f698054fe82d8b40a0a0e58b86d64ffed0de06c
[ "MIT" ]
2
2019-04-28T23:27:48.000Z
2019-05-07T11:26:18.000Z
#include "MemSystem.h" #include <AI/PropActorBrain.h> namespace AI { void CMemSystem::Update() { float Now = 0.f;//(float)GameSrv->GetTime(); CArray<CSensor*> ValidationSensors; // Here we validate facts that reside in memory but weren't updated by the last // sensor activity session. Facts will be accepted or...
26.697674
93
0.619338
niello
c354055e941357c284944c6b60ed479af608b87c
34,574
cpp
C++
src/QtPhonemes/Phonemes/nSpeechTune.cpp
Vladimir-Lin/QtPhonemes
1c1b4f4aa99bbadab5ca25dce1fc64c8ee70202d
[ "MIT" ]
null
null
null
src/QtPhonemes/Phonemes/nSpeechTune.cpp
Vladimir-Lin/QtPhonemes
1c1b4f4aa99bbadab5ca25dce1fc64c8ee70202d
[ "MIT" ]
null
null
null
src/QtPhonemes/Phonemes/nSpeechTune.cpp
Vladimir-Lin/QtPhonemes
1c1b4f4aa99bbadab5ca25dce1fc64c8ee70202d
[ "MIT" ]
null
null
null
#include <qtphonemes.h> #define SYL_RISE 1 #define SYL_EMPHASIS 2 #define SYL_END_CLAUSE 4 #define PITCHfall 0 #define PITCHrise 2 #define PITCHfrise 4 // and 3 must be for the variant preceded by 'r' #define PITCHfrise2 6 // and 5 must be the 'r' variant #define PITCHrisefall 8 #define N_TONE_H...
53.853583
122
0.37398
Vladimir-Lin
c357b32535eb58b0741bde301a38f6e29ed2125f
405
hpp
C++
include/Nen/Component/CircleComponent.hpp
Astomih/NenEngine
669fcbaa7a26cbdeb764315d8c9c17370075611e
[ "MIT" ]
2
2021-03-16T15:59:41.000Z
2021-12-01T12:30:30.000Z
include/Nen/Component/CircleComponent.hpp
Astomih/NenEngine
669fcbaa7a26cbdeb764315d8c9c17370075611e
[ "MIT" ]
1
2021-09-05T05:08:48.000Z
2021-09-05T05:08:48.000Z
include/Nen/Component/CircleComponent.hpp
Astomih/NenEngine
669fcbaa7a26cbdeb764315d8c9c17370075611e
[ "MIT" ]
null
null
null
#pragma once #include "Component.hpp" namespace nen { class circle_component : public base_component { public: circle_component(class base_actor &owner); void SetRadius(float radius) noexcept { mRadius = radius; } vector3 GetRadius() const; const vector3 &GetCenter() const; bool Intersect(const circle_compon...
23.823529
71
0.750617
Astomih
c35a7d175749453b2ba1a1d63890b00162cd038e
628
hpp
C++
src/gameworld/gameworld/scene/speciallogic/personspecial/specialfbguide.hpp
mage-game/metagame-xm-server
193b67389262803fe0eae742800b1e878b5b3087
[ "MIT" ]
3
2021-12-16T13:57:28.000Z
2022-03-26T07:50:08.000Z
src/gameworld/gameworld/scene/speciallogic/personspecial/specialfbguide.hpp
mage-game/metagame-xm-server
193b67389262803fe0eae742800b1e878b5b3087
[ "MIT" ]
null
null
null
src/gameworld/gameworld/scene/speciallogic/personspecial/specialfbguide.hpp
mage-game/metagame-xm-server
193b67389262803fe0eae742800b1e878b5b3087
[ "MIT" ]
1
2022-03-26T07:50:11.000Z
2022-03-26T07:50:11.000Z
#ifndef __SPECIAL_FB_GUIDE_H__ #define __SPECIAL_FB_GUIDE_H__ #include "scene/speciallogic/speciallogic.hpp" #include "other/fb/fbguideconfig.hpp" #include "protocal/msgfb.h" class SpecialFbGuide: public SpecialLogic { public: SpecialFbGuide(Scene *scene); virtual ~SpecialFbGuide(); virtual void OnRoleLeaveScene...
25.12
93
0.786624
mage-game
c365a0cc958dc5ad3e5a502c3ac833300430ba49
760
cpp
C++
src/Event.cpp
zetef/calviewer
d08654051b5b6de214bf6cfc3b39afac2ab752c6
[ "MIT" ]
null
null
null
src/Event.cpp
zetef/calviewer
d08654051b5b6de214bf6cfc3b39afac2ab752c6
[ "MIT" ]
1
2019-04-21T22:31:24.000Z
2019-04-22T09:01:01.000Z
src/Event.cpp
zetef/kalendar
d08654051b5b6de214bf6cfc3b39afac2ab752c6
[ "MIT" ]
null
null
null
#include "../include/Event.h" //////////////////////////////// /// Public Member Functions //// //////////////////////////////// Event::Event() { init(); } void Event::init(){ m_exist = false; m_title = "No Event"; m_day = 1; m_month = 1; m_year = 1900; } void Event::set_title(std::string t_title) { m_titl...
12.881356
44
0.534211
zetef
c379a50ee71309d9e765e9d9241fcac798ad588c
3,201
cpp
C++
src/Source Code/Mesh.cpp
MayKoder/Advanced-GL-Shader
3a73c5c112f9cc245b6353734eed572b96f95af2
[ "MIT" ]
null
null
null
src/Source Code/Mesh.cpp
MayKoder/Advanced-GL-Shader
3a73c5c112f9cc245b6353734eed572b96f95af2
[ "MIT" ]
null
null
null
src/Source Code/Mesh.cpp
MayKoder/Advanced-GL-Shader
3a73c5c112f9cc245b6353734eed572b96f95af2
[ "MIT" ]
null
null
null
#include "Mesh.h" #include <vector> void Mesh::init(Vertex* vertices, unsigned int numVertices, unsigned int* indices, unsigned int numIndices) { IndexedModel model; for (unsigned int i = 0; i < numVertices; i++) { model.positions.push_back(*vertices[i].GetPos()); model.texCoords.push_back(*vertices[i].GetTex...
40.0125
273
0.759763
MayKoder
c37bee8a2868aaf01d2cbab804d52a1d98a34b1f
2,287
cpp
C++
src/main.cpp
horvatm/misaligned_roche_critical
8e302b468c8b23ce012407250292e5fdf806ef4f
[ "MIT" ]
null
null
null
src/main.cpp
horvatm/misaligned_roche_critical
8e302b468c8b23ce012407250292e5fdf806ef4f
[ "MIT" ]
null
null
null
src/main.cpp
horvatm/misaligned_roche_critical
8e302b468c8b23ce012407250292e5fdf806ef4f
[ "MIT" ]
null
null
null
/* Searching for critical points of the Kopal potential Omega of the misaligned binary star: Omega(x,y,z,params) = 1/r1 + q(1/r2 - x/delta^2) + 1/2 (1 + q) F^2 [(x cos theta' - z sin theta')^2 + y^2] r1 = sqrt(x^2 + y^2 + z^2) r2 = sqrt((x-delta)^2 + y^2 + z^2) The critical poin...
23.336735
109
0.452995
horvatm
c39615e0b35dee60bd22cf92c60d9aeeffaabf7c
839
cpp
C++
프로그래머스/동적계획법/정수삼각형.cpp
woorimlee/cpp_CTCI_6E_APSS
ff1d42e871ba853ac3de726df0c609885ba07573
[ "MIT" ]
2
2020-12-30T03:35:51.000Z
2021-02-28T20:39:09.000Z
프로그래머스/동적계획법/정수삼각형.cpp
woorimlee/cpp_CTCI_6E_APSS
ff1d42e871ba853ac3de726df0c609885ba07573
[ "MIT" ]
1
2020-12-08T08:48:40.000Z
2021-04-09T04:58:57.000Z
프로그래머스/동적계획법/정수삼각형.cpp
woorimlee/Algorithm-Repository
ff1d42e871ba853ac3de726df0c609885ba07573
[ "MIT" ]
null
null
null
#include <string> #include <vector> #include <algorithm> #include <iostream> using namespace std; int cache[501][501]; int search_path(vector<vector<int>>& tri, int y, int x) { if (y == tri.size()) return 0; int& ret = cache[y][x]; if (ret != -1) return ret; ret = 0; ret = max(re...
23.305556
88
0.517282
woorimlee
c3a838b1b9a20f49df4a644f22c3613dd2e42bcb
158
cpp
C++
testcase/while_loop.cpp
ryanorz/srun
00080749fc7c1bff9c2ebb506bbbda23a893bf7c
[ "Apache-2.0" ]
7
2017-01-17T07:21:24.000Z
2017-02-26T17:24:02.000Z
testcase/while_loop.cpp
ryanorz/srun
00080749fc7c1bff9c2ebb506bbbda23a893bf7c
[ "Apache-2.0" ]
null
null
null
testcase/while_loop.cpp
ryanorz/srun
00080749fc7c1bff9c2ebb506bbbda23a893bf7c
[ "Apache-2.0" ]
null
null
null
#include <unistd.h> #include <stdio.h> int main() { int n = 0; while (1) { sleep(1); printf("while_loop %d\n", ++n); fflush(stdout); } return 0; }
11.285714
33
0.563291
ryanorz
c3ac79593d612a9c9e6ad4eb3e97686fe7dce256
17,552
hpp
C++
filter/cuckoo_filter.hpp
yuchen1024/Kunlun
f1a4a6a1efcb81905df4f0c3ffe5e863fa0dfacf
[ "MIT" ]
33
2021-08-29T00:19:14.000Z
2022-03-30T02:40:36.000Z
filter/cuckoo_filter.hpp
yuchen1024/Kunlun
f1a4a6a1efcb81905df4f0c3ffe5e863fa0dfacf
[ "MIT" ]
null
null
null
filter/cuckoo_filter.hpp
yuchen1024/Kunlun
f1a4a6a1efcb81905df4f0c3ffe5e863fa0dfacf
[ "MIT" ]
3
2021-09-09T11:34:35.000Z
2022-01-12T11:10:05.000Z
/* ** Modified from https://github.com/efficient/cuckoofilter ** (1) simplify the design ** (2) add serialize/deserialize interfaces ** Thanks discussions with Minglang Dong */ #ifndef KUNLUN_CUCKOO_FILTER_HPP #define KUNLUN_CUCKOO_FILTER_HPP #include "../include/std.inc" #include "../utility/murmurhash3.hpp" #includ...
35.387097
129
0.610529
yuchen1024
ce82ed132259bd302bb4bbcde281dff59033a932
1,230
cpp
C++
URI Online Judge/1367 - Ajude!/uri-1367.cpp
MarcoRhayden/Uri-Online-Judge
92bed9fd0e5455686d54500f8e36588d6518f1b3
[ "MIT" ]
1
2019-03-29T11:52:44.000Z
2019-03-29T11:52:44.000Z
URI Online Judge/1367 - Ajude!/uri-1367.cpp
MarcoRhayden/Uri-Online-Judge
92bed9fd0e5455686d54500f8e36588d6518f1b3
[ "MIT" ]
null
null
null
URI Online Judge/1367 - Ajude!/uri-1367.cpp
MarcoRhayden/Uri-Online-Judge
92bed9fd0e5455686d54500f8e36588d6518f1b3
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; void resultData(vector<string> identifier, vector<int> timeSbm, vector<string> result, int sbm) { vector<string> crt, inctr; int s = 0; int p = 0; for (int i = 0; i < sbm; ++i) { if (result[i].compare("correct") == 0) { s++; ...
24.117647
66
0.469919
MarcoRhayden
ce91ae694d0a886127026a86bae29615f735482a
3,447
inl
C++
20191112/perm_gen/perm_gen_base.inl
Goreli/DKMCPPM
a12401f6df8e3c0281d2efec18dcf4e330712023
[ "MIT" ]
3
2019-11-12T01:55:33.000Z
2021-05-07T14:58:22.000Z
20191112/perm_gen/perm_gen_base.inl
Goreli/DKMCPPM
a12401f6df8e3c0281d2efec18dcf4e330712023
[ "MIT" ]
null
null
null
20191112/perm_gen/perm_gen_base.inl
Goreli/DKMCPPM
a12401f6df8e3c0281d2efec18dcf4e330712023
[ "MIT" ]
null
null
null
/* perm_gen_base.inl This header file defines the PermutationGeneratorBase template class. Copyright(c) 2019 David Krikheli Modification history: 14/Nov/2019 - David Krikheli created the module. */ #include <algorithm> namespace dk { template <class T> PermutationGeneratorBase<T>::PermutationGeneratorBase() ...
27.576
121
0.680012
Goreli
ce91e6b161b565ceae74631230feb116cb1681a1
3,515
cpp
C++
src/libsocket/event.cpp
publiqnet/belt.pp
837112652885284cd0f8245b1c9cf31dcfad17e1
[ "MIT" ]
4
2017-11-24T09:47:18.000Z
2019-02-18T14:43:05.000Z
src/libsocket/event.cpp
publiqnet/belt.pp
837112652885284cd0f8245b1c9cf31dcfad17e1
[ "MIT" ]
1
2018-04-11T12:42:25.000Z
2018-04-11T12:42:25.000Z
src/libsocket/event.cpp
publiqnet/belt.pp
837112652885284cd0f8245b1c9cf31dcfad17e1
[ "MIT" ]
2
2019-01-10T14:11:28.000Z
2021-05-31T11:14:46.000Z
#include "event.hpp" #include <mutex> #include <unordered_set> namespace beltpp_socket_impl { using namespace beltpp; using std::unordered_set; event_handler_ex::event_handler_ex() : m_impl() { } event_handler_ex::~event_handler_ex() = default; event_handler_ex::wait_result event_handler_ex::wait(std::unorder...
23.75
102
0.609388
publiqnet
ce955d4bcc6bd15db19b0f8269338eda4c626d55
2,310
cpp
C++
src/iksdl/Renderer.cpp
InternationalKoder/iksdl
066a60b405bab5310a500132b0bd4d82c6476f24
[ "Zlib" ]
null
null
null
src/iksdl/Renderer.cpp
InternationalKoder/iksdl
066a60b405bab5310a500132b0bd4d82c6476f24
[ "Zlib" ]
null
null
null
src/iksdl/Renderer.cpp
InternationalKoder/iksdl
066a60b405bab5310a500132b0bd4d82c6476f24
[ "Zlib" ]
null
null
null
/* * IKSDL - C++ wrapper for SDL * Copyright (C) 2021 InternationalKoder * * 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 softwar...
30.8
82
0.709524
InternationalKoder
ce957028c1714864476a0912d2af3718adf7e764
1,203
cpp
C++
src/phase_cong/ipermute.cpp
waterben/LineExtraction
d247de45417a1512a3bf5d0ffcd630d40ffb8798
[ "MIT" ]
1
2020-06-12T13:30:56.000Z
2020-06-12T13:30:56.000Z
src/phase_cong/ipermute.cpp
waterben/LineExtraction
d247de45417a1512a3bf5d0ffcd630d40ffb8798
[ "MIT" ]
null
null
null
src/phase_cong/ipermute.cpp
waterben/LineExtraction
d247de45417a1512a3bf5d0ffcd630d40ffb8798
[ "MIT" ]
null
null
null
// // Academic License - for use in teaching, academic research, and meeting // course requirements at degree granting institutions only. Not for // government, commercial, or other organizational use. // File: ipermute.cpp // // MATLAB Coder version : 3.0 // C/C++ source code generated on : 27-Jan-...
24.55102
74
0.600998
waterben
ce95ef89b50c5889cf42c95d259cca39f19c101a
1,394
cpp
C++
platform-io/lib/zeromq/src/zeromq/ZeroMQWriter.cpp
darvik80/rover-cpp
8da7b7f07efe7096843ae17536603277f55debea
[ "Apache-2.0" ]
2
2020-01-13T07:32:50.000Z
2020-03-03T14:32:25.000Z
platform-io/lib/zeromq/src/zeromq/ZeroMQWriter.cpp
darvik80/rover-cpp
8da7b7f07efe7096843ae17536603277f55debea
[ "Apache-2.0" ]
16
2019-06-16T05:51:02.000Z
2020-02-03T01:59:23.000Z
platform-io/lib/zeromq/src/zeromq/ZeroMQWriter.cpp
darvik80/rover-cpp
8da7b7f07efe7096843ae17536603277f55debea
[ "Apache-2.0" ]
1
2020-03-03T14:32:27.000Z
2020-03-03T14:32:27.000Z
// // Created by Ivan Kishchenko on 05.09.2021. // #include "ZeroMQWriter.h" #include "ZeroMQFlag.h" std::error_code ZeroMQWriter::writeData(const void *data, std::size_t size) { write((const char*)data, size); if (!(*this)) { return std::make_error_code(std::errc::message_size); } return {};...
23.627119
78
0.637016
darvik80
ce96d8634af00facb457d9d8755a1fd50f15cb05
2,575
cpp
C++
aws-cpp-sdk-awstransfer/source/model/WorkflowStep.cpp
perfectrecall/aws-sdk-cpp
fb8cbebf2fd62720b65aeff841ad2950e73d8ebd
[ "Apache-2.0" ]
1
2022-02-12T08:09:30.000Z
2022-02-12T08:09:30.000Z
aws-cpp-sdk-awstransfer/source/model/WorkflowStep.cpp
perfectrecall/aws-sdk-cpp
fb8cbebf2fd62720b65aeff841ad2950e73d8ebd
[ "Apache-2.0" ]
1
2022-01-03T23:59:37.000Z
2022-01-03T23:59:37.000Z
aws-cpp-sdk-awstransfer/source/model/WorkflowStep.cpp
ravindra-wagh/aws-sdk-cpp
7d5ff01b3c3b872f31ca98fb4ce868cd01e97696
[ "Apache-2.0" ]
1
2021-12-30T04:25:33.000Z
2021-12-30T04:25:33.000Z
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/awstransfer/model/WorkflowStep.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::Utils::Json; using namespace Aws::Utils; namespace Aws { name...
21.280992
93
0.744078
perfectrecall
ce97384dc5744247b8b1dab531cfa7e46c727497
1,079
cc
C++
mime1836_sigmaic256_bg00/species_advance/advance_p_efield.cc
laofei177/vpic_reconnection_tutorial
7ba13578fe34615a118f3d98446ea94ad2b3d188
[ "MIT" ]
1
2021-03-31T11:44:29.000Z
2021-03-31T11:44:29.000Z
mime1836_sigmaic256_bg00/species_advance/advance_p_efield.cc
xiaocanli/vpic_reconnection_tutorial
05ff2372404717a548066f4a5fd8bbeb1407b30a
[ "MIT" ]
null
null
null
mime1836_sigmaic256_bg00/species_advance/advance_p_efield.cc
xiaocanli/vpic_reconnection_tutorial
05ff2372404717a548066f4a5fd8bbeb1407b30a
[ "MIT" ]
1
2021-03-31T11:48:43.000Z
2021-03-31T11:48:43.000Z
/* #define IN_spa */ #include "species_advance_efield.h" //----------------------------------------------------------------------------// // Top level function to select and call particle advance function using the // desired particle advance abstraction. Currently, the only abstraction // available is the pipeline a...
43.16
80
0.623726
laofei177
ce9965984c806989b9fa18c73cf2a5cdaf84e800
2,297
cpp
C++
demo/saxpy/scalar/saxpy_scalar.cpp
psiha/nt2
5e829807f6b57b339ca1be918a6b60a2507c54d0
[ "BSL-1.0" ]
34
2017-05-19T18:10:17.000Z
2022-01-04T02:18:13.000Z
demo/saxpy/scalar/saxpy_scalar.cpp
psiha/nt2
5e829807f6b57b339ca1be918a6b60a2507c54d0
[ "BSL-1.0" ]
null
null
null
demo/saxpy/scalar/saxpy_scalar.cpp
psiha/nt2
5e829807f6b57b339ca1be918a6b60a2507c54d0
[ "BSL-1.0" ]
7
2017-12-02T12:59:17.000Z
2021-07-31T12:46:14.000Z
//============================================================================== // Copyright 2003 - 2011 LASMEA UMR 6602 CNRS/Univ. Clermont II // Copyright 2009 - 2011 LRI UMR 8623 CNRS/Univ Paris Sud XI // Copyright 2012 - 2014 MetaScale SAS // // Distributed under the Boost...
31.902778
82
0.538964
psiha
ce9bc8e8548eae2f6a3c556434c93481db45e62e
15,716
cpp
C++
src/hash.cpp
eval-apply/digamma
fbab05bdcb7019ff005ee84ed8f737ff3d44b38e
[ "BSD-2-Clause" ]
null
null
null
src/hash.cpp
eval-apply/digamma
fbab05bdcb7019ff005ee84ed8f737ff3d44b38e
[ "BSD-2-Clause" ]
null
null
null
src/hash.cpp
eval-apply/digamma
fbab05bdcb7019ff005ee84ed8f737ff3d44b38e
[ "BSD-2-Clause" ]
null
null
null
// Copyright (c) 2004-2022 Yoshikatsu Fujita / LittleWing Company Limited. // See LICENSE file for terms and conditions of use. #include "core.h" #include "hash.h" #include "arith.h" #include "equiv.h" #include "utf8.h" #define EQUAL_HASH_DEPTH_LIMIT 100 uint32_t address_hash1(void* adrs, uint32_t bound) { return ((...
36.548837
141
0.627704
eval-apply
ce9f8023b431fcf053b7b590b0c8ea901848a5dd
30,969
cpp
C++
examples/test/main.cpp
pkholland/anon
c9fbe49e505eb4d100da58058e9f51508b06635d
[ "MIT" ]
1
2015-03-12T01:05:52.000Z
2015-03-12T01:05:52.000Z
examples/test/main.cpp
pkholland/anon
c9fbe49e505eb4d100da58058e9f51508b06635d
[ "MIT" ]
null
null
null
examples/test/main.cpp
pkholland/anon
c9fbe49e505eb4d100da58058e9f51508b06635d
[ "MIT" ]
null
null
null
/* Copyright (c) 2015 Anon authors, see AUTHORS file. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge...
39.908505
272
0.502406
pkholland
ce9fb266d61bf3c485015eabe0377a3c85b44d2d
37,377
cpp
C++
vnext/Desktop.IntegrationTests/HttpOriginPolicyIntegrationTest.cpp
iahmadwaqar/react-native-windows
2d128d8d3e51e4cba8f94965053c6b679602c87d
[ "MIT" ]
4,873
2017-03-09T22:58:40.000Z
2019-05-06T21:03:20.000Z
vnext/Desktop.IntegrationTests/HttpOriginPolicyIntegrationTest.cpp
iahmadwaqar/react-native-windows
2d128d8d3e51e4cba8f94965053c6b679602c87d
[ "MIT" ]
1,293
2017-03-09T15:57:29.000Z
2019-05-06T20:35:22.000Z
vnext/Desktop.IntegrationTests/HttpOriginPolicyIntegrationTest.cpp
iahmadwaqar/react-native-windows
2d128d8d3e51e4cba8f94965053c6b679602c87d
[ "MIT" ]
477
2017-03-10T06:39:32.000Z
2019-05-06T20:33:00.000Z
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. #include <CppUnitTest.h> #include <CppRuntimeOptions.h> #include <Networking/IHttpResource.h> #include <Networking/OriginPolicy.h> #include <Test/HttpServer.h> // Standard Library #include <future> using namespace Microsoft::Vis...
44.655914
160
0.731439
iahmadwaqar
cea8b31c3435b2438bb81c8fba50ef1024968b54
753
cpp
C++
src/ECS/Detail/SystemHolder.cpp
Ethan13310/ECS
63aae52624b6468a7db078fdf7c32dd4caecaa70
[ "MIT" ]
12
2018-12-06T12:51:57.000Z
2022-03-20T14:31:28.000Z
src/ECS/Detail/SystemHolder.cpp
Ethan13310/ECS
63aae52624b6468a7db078fdf7c32dd4caecaa70
[ "MIT" ]
1
2021-07-15T08:33:16.000Z
2021-07-15T08:33:16.000Z
src/ECS/Detail/SystemHolder.cpp
Ethan13310/ECS
63aae52624b6468a7db078fdf7c32dd4caecaa70
[ "MIT" ]
3
2019-08-10T22:34:28.000Z
2021-07-14T09:19:36.000Z
// Copyright (c) 2021 Ethan Margaillan <contact@ethan.jp>. // Licensed under the MIT License - https://raw.githubusercontent.com/Ethan13310/ECS/master/LICENSE #include <ECS/Detail/SystemHolder.hpp> ecs::detail::SystemHolder::~SystemHolder() { removeAllSystems(); } void ecs::detail::SystemHolder::removeAllSystems() ...
18.825
99
0.670651
Ethan13310
ceb30aa972be3cfb975cfbeb5fb41bbebe710e08
337
hpp
C++
Vesper/Vesper/Textures/UVTexture.hpp
FallenShard/Crisp
d4cf22c0f9af73a6c4ba2b7d67696f1a188fd423
[ "MIT" ]
6
2017-09-14T03:26:49.000Z
2021-09-18T05:40:59.000Z
Vesper/Vesper/Textures/UVTexture.hpp
FallenShard/Crisp
d4cf22c0f9af73a6c4ba2b7d67696f1a188fd423
[ "MIT" ]
null
null
null
Vesper/Vesper/Textures/UVTexture.hpp
FallenShard/Crisp
d4cf22c0f9af73a6c4ba2b7d67696f1a188fd423
[ "MIT" ]
null
null
null
#pragma once #include <memory> #include <string> #include <functional> #include <cmath> #include "Texture.hpp" namespace crisp { class UVTexture : public Texture<Spectrum> { public: UVTexture(const VariantMap& variantMap = VariantMap()); virtual Spectrum eval(const glm::vec2& uv) const o...
17.736842
66
0.673591
FallenShard
cebefcfa86ed528de60b9fc78e36968ef9615386
8,855
cpp
C++
tests/is_base_of/overview.cpp
connojd/bsl
9adebf89bf34ac14d92b26007cb19d5508de54ac
[ "MIT" ]
null
null
null
tests/is_base_of/overview.cpp
connojd/bsl
9adebf89bf34ac14d92b26007cb19d5508de54ac
[ "MIT" ]
null
null
null
tests/is_base_of/overview.cpp
connojd/bsl
9adebf89bf34ac14d92b26007cb19d5508de54ac
[ "MIT" ]
null
null
null
/// @copyright /// Copyright (C) 2020 Assured Information Security, Inc. /// /// @copyright /// 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 limita...
53.993902
87
0.74026
connojd
cebf3cf1108f22fd2fd3cb3140f720d05ef77d67
974
hpp
C++
include/Vnavbar.hpp
LeandreBl/sfml-scene
3fb0d1167f1585c0c82775a23b44df46ec7378d5
[ "Apache-2.0" ]
2
2020-12-10T20:22:17.000Z
2020-12-10T20:23:35.000Z
include/Vnavbar.hpp
LeandreBl/sfml-scene
3fb0d1167f1585c0c82775a23b44df46ec7378d5
[ "Apache-2.0" ]
null
null
null
include/Vnavbar.hpp
LeandreBl/sfml-scene
3fb0d1167f1585c0c82775a23b44df46ec7378d5
[ "Apache-2.0" ]
null
null
null
#pragma once #include "UI.hpp" #include "BasicShape.hpp" namespace sfs { class Vnavbar : public UI { public: Vnavbar(Scene &scene, const sf::Vector2f &position = sf::Vector2f(0, 0), const sf::Vector2f &size = sf::Vector2f(30, 100), const sf::Color &color = sf::Color::White) noexcept; Vnavbar(const Vnavbar...
28.647059
73
0.726899
LeandreBl
cec715d578e6c654d9056e2632f77b75d882218c
2,932
cpp
C++
quicksort_vs_insertion_sort/main.cpp
saarioka/CPP-snippets
e8f07d76ee0b532f2c90b7360d666342ab7c8291
[ "Apache-2.0" ]
null
null
null
quicksort_vs_insertion_sort/main.cpp
saarioka/CPP-snippets
e8f07d76ee0b532f2c90b7360d666342ab7c8291
[ "Apache-2.0" ]
null
null
null
quicksort_vs_insertion_sort/main.cpp
saarioka/CPP-snippets
e8f07d76ee0b532f2c90b7360d666342ab7c8291
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include <ctime> #include <algorithm> // random_shuffle #include <vector> #include <ctime> #include <stdio.h> #include <chrono> using namespace std; // quicksort template <class T> void quicksort(T &A, int a1, int y1){ if(a1 >= y1) return; int x = A[(a1+y1)/2]; int a = a1-1; int y ...
22.212121
87
0.518076
saarioka
cecbf5d970405fb691fc28bfc30c0d42b0211690
13,051
hpp
C++
src/centurion/opengl.hpp
Creeperface01/centurion
e3b674c11849367a18c2d976ce94071108e1590d
[ "MIT" ]
14
2020-05-17T21:38:03.000Z
2020-11-21T00:16:25.000Z
src/centurion/opengl.hpp
Creeperface01/centurion
e3b674c11849367a18c2d976ce94071108e1590d
[ "MIT" ]
70
2020-04-26T17:08:52.000Z
2020-11-21T17:34:03.000Z
src/centurion/opengl.hpp
Creeperface01/centurion
e3b674c11849367a18c2d976ce94071108e1590d
[ "MIT" ]
null
null
null
/* * MIT License * * Copyright (c) 2019-2022 Albin Johansson * * 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...
25.391051
95
0.718489
Creeperface01
ced556d24274a10ce37286ca3de032c6b4258690
1,432
cpp
C++
src/ParamsLog.cpp
quekyuyang/stitch-cpp
9158d03d4fe2b09d4672b38d0762426178cb646c
[ "MIT" ]
null
null
null
src/ParamsLog.cpp
quekyuyang/stitch-cpp
9158d03d4fe2b09d4672b38d0762426178cb646c
[ "MIT" ]
null
null
null
src/ParamsLog.cpp
quekyuyang/stitch-cpp
9158d03d4fe2b09d4672b38d0762426178cb646c
[ "MIT" ]
null
null
null
#include <vector> #include <fstream> #include "ParamsLog.hpp" #include <nlohmann/json.hpp> using json = nlohmann::json; void ParamsLogManager::addNodeData(std::vector<Node> &nodes) { for (const auto &node : nodes) { std::string ID_pair(node.getID() + "-" + node.getBestLink().getTargetID()); const cv::Mat...
27.018868
92
0.713687
quekyuyang
ced7b79c6ed690d3423fe8550ea3e244b6efa1de
1,084
cpp
C++
BZOJ/3261/code.cpp
sjj118/OI-Code
964ea6e799d14010f305c7e4aee269d860a781f7
[ "MIT" ]
null
null
null
BZOJ/3261/code.cpp
sjj118/OI-Code
964ea6e799d14010f305c7e4aee269d860a781f7
[ "MIT" ]
null
null
null
BZOJ/3261/code.cpp
sjj118/OI-Code
964ea6e799d14010f305c7e4aee269d860a781f7
[ "MIT" ]
null
null
null
#include<iostream> #include<cstdio> #define rg register #define rep(i,x,y) for(rg int i=(x);i<=(y);++i) #define per(i,x,y) for(rg int i=(x);i>=(y);--i) using namespace std; const int maxn=6e5+10,maxp=3e7; int root[maxn],n,m,xn; struct Trie{ int tot,son[maxp][2],val[maxp]; int modify(int v,int&k,int d){ int t=++tot;...
27.1
82
0.550738
sjj118
cedf1d3f2815230f1c11aa68733ec3f2f0a2643b
2,098
cc
C++
core/network/PiiMimeTypeMap.cc
topiolli/into
f0a47736f5c93dd32e89e7aad34152ae1afc5583
[ "BSD-3-Clause" ]
14
2015-01-19T22:14:18.000Z
2020-04-13T23:27:20.000Z
core/network/PiiMimeTypeMap.cc
topiolli/into
f0a47736f5c93dd32e89e7aad34152ae1afc5583
[ "BSD-3-Clause" ]
null
null
null
core/network/PiiMimeTypeMap.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...
27.605263
84
0.693518
topiolli
cee247b8ed4ea3a5e334a00a920cc167c35f4971
1,626
cpp
C++
src/knapsack/dynamic.cpp
ThermalSpan/cpp-knapsack
dcc577a3ef9f9da1f2a85400465f488d91fdd8cf
[ "MIT" ]
null
null
null
src/knapsack/dynamic.cpp
ThermalSpan/cpp-knapsack
dcc577a3ef9f9da1f2a85400465f488d91fdd8cf
[ "MIT" ]
null
null
null
src/knapsack/dynamic.cpp
ThermalSpan/cpp-knapsack
dcc577a3ef9f9da1f2a85400465f488d91fdd8cf
[ "MIT" ]
null
null
null
// // dynamic.cpp // knapsack // // Created by Russell Wilhelm Bentley on 1/26/16. // Copyright (c) 2015 Russell Wilhelm Bentley. // Distributed under the MIT license // #include <iostream> #include "dynamic.h" using namespace std; void dynamicSolve (ItemVec &vec, int capacity) { int x, y, index, doNotTake, doTa...
26.655738
97
0.50123
ThermalSpan
cee4def62b0375fe1890a48a8be5ce80e75f12e7
2,636
cpp
C++
lib/thornhill/src/kernel.cpp
andr3h3nriqu3s11/thornhill
ec31eb06dd914bcb7fd22ff31386b40996656d94
[ "MIT" ]
6
2021-11-06T08:42:41.000Z
2022-01-06T11:42:18.000Z
lib/thornhill/src/kernel.cpp
andr3h3nriqu3s11/thornhill
ec31eb06dd914bcb7fd22ff31386b40996656d94
[ "MIT" ]
1
2022-01-09T18:09:57.000Z
2022-01-09T18:09:57.000Z
lib/thornhill/src/kernel.cpp
andr3h3nriqu3s11/thornhill
ec31eb06dd914bcb7fd22ff31386b40996656d94
[ "MIT" ]
1
2022-01-09T18:07:42.000Z
2022-01-09T18:07:42.000Z
#include <cstring> #include <thornhill> #include "drivers/hardware/serial.hpp" using namespace std; using namespace Thornhill; namespace Thornhill::Kernel { void printChar(char c) { ThornhillSerial::writeCharacter(c); } void print(const char* message, bool appendNewline) { ThornhillSerial::write(mes...
28.344086
69
0.371017
andr3h3nriqu3s11
ceef16b8847785459e6d10d1411ba662812cfd15
3,488
hpp
C++
src/assembler/LinearElasticity.hpp
danielepanozzo/polyfem
34a7719c2a3874b7ecc865c28d8b3d9bbdf7d0ba
[ "MIT" ]
228
2018-11-23T19:32:42.000Z
2022-03-25T10:30:51.000Z
src/assembler/LinearElasticity.hpp
danielepanozzo/polyfem
34a7719c2a3874b7ecc865c28d8b3d9bbdf7d0ba
[ "MIT" ]
14
2019-03-11T22:44:14.000Z
2022-03-16T14:50:35.000Z
src/assembler/LinearElasticity.hpp
danielepanozzo/polyfem
34a7719c2a3874b7ecc865c28d8b3d9bbdf7d0ba
[ "MIT" ]
45
2018-12-31T02:04:57.000Z
2022-03-08T02:42:01.000Z
#pragma once #include <polyfem/Common.hpp> #include <polyfem/ElementAssemblyValues.hpp> #include <polyfem/ElementBases.hpp> #include <polyfem/ElasticityUtils.hpp> #include <polyfem/AutodiffTypes.hpp> #include <Eigen/Dense> #include <functional> //local assembler for linear elasticity namespace polyfem { class Lin...
47.780822
281
0.770069
danielepanozzo
cef7d285a9c0e707d21f972b609644e5a3683a3b
66,737
cpp
C++
test/examples/conc_queue_examples.cpp
giucamp/density
b6a9653b36ec0c37c26f879574295a56e6345a7b
[ "BSL-1.0" ]
18
2016-05-24T11:46:43.000Z
2020-11-03T17:11:27.000Z
test/examples/conc_queue_examples.cpp
giucamp/density
b6a9653b36ec0c37c26f879574295a56e6345a7b
[ "BSL-1.0" ]
13
2017-11-04T17:41:30.000Z
2018-09-05T11:32:22.000Z
test/examples/conc_queue_examples.cpp
giucamp/density
b6a9653b36ec0c37c26f879574295a56e6345a7b
[ "BSL-1.0" ]
1
2018-09-27T21:00:20.000Z
2018-09-27T21:00:20.000Z
// Copyright Giuseppe Campana (giu.campana@gmail.com) 2016-2018. // 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 "../test_framework/density_test_common.h" // #include "test_framework/pro...
41.272109
125
0.574943
giucamp
300045ee0e2efaeecde3a8fb9d02197701b34471
2,962
cpp
C++
leveldb_rest.cpp
nucleati/leveldb_rest
921116a58bfed934d25b06675ed51c98fa3ea903
[ "MIT" ]
null
null
null
leveldb_rest.cpp
nucleati/leveldb_rest
921116a58bfed934d25b06675ed51c98fa3ea903
[ "MIT" ]
null
null
null
leveldb_rest.cpp
nucleati/leveldb_rest
921116a58bfed934d25b06675ed51c98fa3ea903
[ "MIT" ]
null
null
null
#include </Simple-Web-Server/client_http.hpp> #include </Simple-Web-Server/server_http.hpp> #include <future> // Added for the json-example #define BOOST_SPIRIT_THREADSAFE #include <boost/property_tree/json_parser.hpp> #include <boost/property_tree/ptree.hpp> #include <algorithm> #include <boost/filesystem.hpp> #inclu...
29.62
114
0.664416
nucleati
30066a5ff92dc6432fa71d3d12d9d629e0e896bc
3,912
cpp
C++
src/cpp/server.cpp
MayaPosch/NymphMQTT
10707ba763606424ab2b81e310cb53a38fa66687
[ "BSD-3-Clause" ]
14
2019-11-15T18:19:35.000Z
2022-02-03T12:09:14.000Z
src/cpp/server.cpp
MayaPosch/NymphMQTT
10707ba763606424ab2b81e310cb53a38fa66687
[ "BSD-3-Clause" ]
null
null
null
src/cpp/server.cpp
MayaPosch/NymphMQTT
10707ba763606424ab2b81e310cb53a38fa66687
[ "BSD-3-Clause" ]
1
2020-03-20T22:45:14.000Z
2020-03-20T22:45:14.000Z
/* server.cpp - Definition of the NymphMQTT server class. Revision 0. Features: - Provides public API for NymphMQTT server. Notes: - 2021/01/03, Maya Posch */ #include "server.h" #include "dispatcher.h" #include "nymph_logger.h" #include "session.h" #include "server_connections.h" #include <...
25.23871
103
0.712168
MayaPosch
30086c6c23c601d124f5c797085d4214e774e3a8
921
cpp
C++
A_Little_Elephant_and_Rozdil.cpp
ar1936/CPP
4c76c2bf5308d8d3b6e295482e3ce4284fbeaf13
[ "MIT" ]
1
2021-04-20T13:49:56.000Z
2021-04-20T13:49:56.000Z
A_Little_Elephant_and_Rozdil.cpp
ar1936/cpp
4c76c2bf5308d8d3b6e295482e3ce4284fbeaf13
[ "MIT" ]
null
null
null
A_Little_Elephant_and_Rozdil.cpp
ar1936/cpp
4c76c2bf5308d8d3b6e295482e3ce4284fbeaf13
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> #include <iomanip> using namespace std; typedef long long ll; typedef double db; #define pb push_back #define ppb pop_back #define mpll map<ll, ll> #define vll vector<ll> #define str string #define si size() #define vs vector<string> #define vc vector<char> #define sll set<ll> #de...
19.595745
59
0.560261
ar1936
30151745d9266c4dc1312469e78003bc6e110386
1,989
cpp
C++
libstarlight/source/starlight/ui/Button.cpp
mothie/libstarlight
91bd6892ccc95ccf255cad73ef659b6cf37ab4a9
[ "MIT" ]
36
2017-01-17T22:58:08.000Z
2021-12-28T00:04:52.000Z
libstarlight/source/starlight/ui/Button.cpp
mothie/libstarlight
91bd6892ccc95ccf255cad73ef659b6cf37ab4a9
[ "MIT" ]
3
2017-03-26T20:47:25.000Z
2019-12-12T01:50:02.000Z
libstarlight/source/starlight/ui/Button.cpp
mothie/libstarlight
91bd6892ccc95ccf255cad73ef659b6cf37ab4a9
[ "MIT" ]
9
2017-04-17T19:01:24.000Z
2021-12-01T18:26:01.000Z
#include "Button.h" #include "starlight/_incLib/json.hpp" #include "starlight/InputManager.h" #include "starlight/GFXManager.h" #include "starlight/ThemeManager.h" using starlight::Vector2; using starlight::Color; using starlight::gfx::Font; using starlight::InputManager; using starlight::GFXManager; using starlig...
24.8625
92
0.659628
mothie
30188d28702d70d3aaf829bc7ee178ce28093cc4
641
cpp
C++
03-Making Decisions/Program_4-23.cpp
ringosimonchen0820/How-to-C--
69b0310e6aeab25a7e2eed41e4d6cff85a034e00
[ "MIT" ]
null
null
null
03-Making Decisions/Program_4-23.cpp
ringosimonchen0820/How-to-C--
69b0310e6aeab25a7e2eed41e4d6cff85a034e00
[ "MIT" ]
1
2020-10-11T18:39:08.000Z
2020-10-11T18:39:17.000Z
03-Making Decisions/Program_4-23.cpp
ringosimonchen0820/How-to-C--
69b0310e6aeab25a7e2eed41e4d6cff85a034e00
[ "MIT" ]
2
2020-10-12T20:33:32.000Z
2020-10-12T20:34:00.000Z
// The switch statement in this program tells the user something // he or she already knows: the data just entered! #include <iostream> using namespace std; int main() { char choice; cout << "Enter A, B, or C: "; cin >> choice; switch (choice) { case 'A' : cout << "You entered A.\n";...
22.892857
65
0.517941
ringosimonchen0820
6f72df799e5a12e1e05ecad1356ee41387923580
1,327
cpp
C++
src/population/reproducer/PassionateReproducer.cpp
jansvoboda11/gram
62e5b525ea648b4d452cb2153bcca90dfbee9de5
[ "MIT" ]
7
2017-05-03T11:47:42.000Z
2021-10-12T02:46:16.000Z
src/population/reproducer/PassionateReproducer.cpp
jansvoboda11/gram
62e5b525ea648b4d452cb2153bcca90dfbee9de5
[ "MIT" ]
3
2021-02-22T19:14:05.000Z
2021-06-14T20:36:47.000Z
src/population/reproducer/PassionateReproducer.cpp
jansvoboda11/gram
62e5b525ea648b4d452cb2153bcca90dfbee9de5
[ "MIT" ]
2
2020-01-29T05:37:00.000Z
2022-01-17T06:03:48.000Z
#include "gram/population/reproducer/PassionateReproducer.h" #include <algorithm> #include <memory> #include "gram/individual/Individual.h" #include "gram/operator/crossover/Crossover.h" #include "gram/operator/mutation/Mutation.h" #include "gram/operator/selector/IndividualSelector.h" #include "gram/population/Indiv...
28.234043
116
0.74529
jansvoboda11
6f807d0caccd5ee9fa9f6be4d17bcabca111da1b
15,170
cpp
C++
demos/fractal/fractal_demo.cpp
a-n-t-h-o-n-y/MCurses
c9184a0fefbdc4eb9a044f815ee2270e6b8f202c
[ "MIT" ]
284
2017-11-07T10:06:48.000Z
2021-01-12T15:32:51.000Z
demos/fractal/fractal_demo.cpp
a-n-t-h-o-n-y/MCurses
c9184a0fefbdc4eb9a044f815ee2270e6b8f202c
[ "MIT" ]
38
2018-01-14T12:34:54.000Z
2020-09-26T15:32:43.000Z
demos/fractal/fractal_demo.cpp
a-n-t-h-o-n-y/MCurses
c9184a0fefbdc4eb9a044f815ee2270e6b8f202c
[ "MIT" ]
31
2017-11-30T11:22:21.000Z
2020-11-03T05:27:47.000Z
#include "fractal_demo.hpp" #include <cassert> #include <cmath> #include <future> #include <thread> #include <utility> #include <vector> #include <termox/termox.hpp> #include "float_t.hpp" #include "julia.hpp" #include "mandelbrot.hpp" namespace { using fractal::Float_t; auto constexpr zoom_scale = 0.05; auto co...
34.873563
80
0.572841
a-n-t-h-o-n-y
6f86e37e18f7a6957282ae6811afe60b5ced4665
7,071
cpp
C++
billing/src/v20180709/model/PayModeSummaryOverviewItem.cpp
datalliance88/tencentcloud-sdk-cpp
fbb8ea8e385620ac41b0a9ceb5abf1405b8aac8c
[ "Apache-2.0" ]
null
null
null
billing/src/v20180709/model/PayModeSummaryOverviewItem.cpp
datalliance88/tencentcloud-sdk-cpp
fbb8ea8e385620ac41b0a9ceb5abf1405b8aac8c
[ "Apache-2.0" ]
null
null
null
billing/src/v20180709/model/PayModeSummaryOverviewItem.cpp
datalliance88/tencentcloud-sdk-cpp
fbb8ea8e385620ac41b0a9ceb5abf1405b8aac8c
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 ...
30.089362
157
0.694103
datalliance88
6f890288d684594be9ab41a64e1ea24be9669ee1
1,681
cpp
C++
src/SLEngine.Shared/graphics/texture2D.cpp
SergioMasson/SimpleLittleEngine
10a0a43d7f4abae3574e902505b457455f0cb61b
[ "MIT" ]
null
null
null
src/SLEngine.Shared/graphics/texture2D.cpp
SergioMasson/SimpleLittleEngine
10a0a43d7f4abae3574e902505b457455f0cb61b
[ "MIT" ]
null
null
null
src/SLEngine.Shared/graphics/texture2D.cpp
SergioMasson/SimpleLittleEngine
10a0a43d7f4abae3574e902505b457455f0cb61b
[ "MIT" ]
null
null
null
#include "pch.h" #include "coreGraphics.h" #include <fstream> #include <iterator> #include <vector> #include "texture2D.h" #include "dds.h" using namespace sle; graphics::Texture2D::Texture2D(const wchar_t* filePath) { std::ifstream input(filePath, std::ios::binary); std::vector<char> bytes( (std::istreambuf_ite...
32.326923
106
0.767995
SergioMasson
6f8cd43d044cfbac72e83f9a89554c2eea13fff7
2,409
hpp
C++
libs/core/include/fcppt/math/matrix/detail/determinant.hpp
pmiddend/fcppt
9f437acbb10258e6df6982a550213a05815eb2be
[ "BSL-1.0" ]
null
null
null
libs/core/include/fcppt/math/matrix/detail/determinant.hpp
pmiddend/fcppt
9f437acbb10258e6df6982a550213a05815eb2be
[ "BSL-1.0" ]
null
null
null
libs/core/include/fcppt/math/matrix/detail/determinant.hpp
pmiddend/fcppt
9f437acbb10258e6df6982a550213a05815eb2be
[ "BSL-1.0" ]
null
null
null
// Copyright Carl Philipp Reh 2009 - 2018. // 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 FCPPT_MATH_MATRIX_DETAIL_DETERMINANT_HPP_INCLUDED #define FCPPT_MATH_MATRIX_DETAIL_DETERMI...
13.844828
61
0.576588
pmiddend
6f8d7eae3e515934fa4bd754d6f749babaaa2380
46
hpp
C++
src/boost_log_utility_manipulators.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
10
2018-03-17T00:58:42.000Z
2021-07-06T02:48:49.000Z
src/boost_log_utility_manipulators.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
2
2021-03-26T15:17:35.000Z
2021-05-20T23:55:08.000Z
src/boost_log_utility_manipulators.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
4
2019-05-28T21:06:37.000Z
2021-07-06T03:06:52.000Z
#include <boost/log/utility/manipulators.hpp>
23
45
0.804348
miathedev
6f8ecb75e93f4737e55b506c0d42046a0034f092
13,172
cpp
C++
src/core/type/typemanager.cpp
eXl-Nic/eXl
a5a0f77f47db3179365c107a184bb38b80280279
[ "MIT" ]
null
null
null
src/core/type/typemanager.cpp
eXl-Nic/eXl
a5a0f77f47db3179365c107a184bb38b80280279
[ "MIT" ]
null
null
null
src/core/type/typemanager.cpp
eXl-Nic/eXl
a5a0f77f47db3179365c107a184bb38b80280279
[ "MIT" ]
null
null
null
/* Copyright 2009-2021 Nicolas Colombe Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute...
29.077263
460
0.601124
eXl-Nic
6f91fe545d655a91ce5e6bbcaaff9de6252f4ed0
9,157
hpp
C++
tau/TauUtils/include/TUMaths.hpp
hyfloac/TauEngine
1559b2a6e6d1887b8ee02932fe0aa6e5b9d5652c
[ "MIT" ]
1
2020-04-22T04:07:01.000Z
2020-04-22T04:07:01.000Z
tau/TauUtils/include/TUMaths.hpp
hyfloac/TauEngine
1559b2a6e6d1887b8ee02932fe0aa6e5b9d5652c
[ "MIT" ]
null
null
null
tau/TauUtils/include/TUMaths.hpp
hyfloac/TauEngine
1559b2a6e6d1887b8ee02932fe0aa6e5b9d5652c
[ "MIT" ]
null
null
null
// ReSharper disable CppClangTidyClangDiagnosticSignCompare #pragma once #include "NumTypes.hpp" /** * Equal to pi/180. */ #define RADIANS_TO_DEGREES_CONVERTER_VAL 57.29577951308232087679815481410517 /** * Equal to 180/pi */ #define DEGREES_TO_RADIANS_CONVERTER_VAL 0.0174532925199432957692369076848...
28.262346
101
0.611663
hyfloac
6f934bf0f862e239e196e4ed20105ed5bcadbaf7
4,638
cpp
C++
paxos++/detail/tcp_connection.cpp
armos-db/libpaxos-cpp
31e8a3f9664e3e6563d26dbc1323457f596b8eef
[ "BSD-3-Clause" ]
54
2015-02-09T11:46:30.000Z
2021-08-13T14:08:52.000Z
paxos++/detail/tcp_connection.cpp
armos-db/libpaxos-cpp
31e8a3f9664e3e6563d26dbc1323457f596b8eef
[ "BSD-3-Clause" ]
null
null
null
paxos++/detail/tcp_connection.cpp
armos-db/libpaxos-cpp
31e8a3f9664e3e6563d26dbc1323457f596b8eef
[ "BSD-3-Clause" ]
17
2015-01-13T03:18:49.000Z
2022-03-23T02:20:57.000Z
#include <iostream> #include <functional> #include <assert.h> #include <boost/asio/write.hpp> #include <boost/asio/placeholders.hpp> #include "util/debug.hpp" #include "parser.hpp" #include "command_dispatcher.hpp" #include "tcp_connection.hpp" namespace paxos { namespace detail { tcp_connection:...
24.670213
102
0.55994
armos-db
6f958355910429a3c5ab6590c7d0f0d3ba96cfa4
276
hpp
C++
src/color.hpp
adamhutchings/chirpc
70d190fa79fa9f968b8de14ca41a8f50bae0019b
[ "MIT" ]
1
2021-06-02T13:24:13.000Z
2021-06-02T13:24:13.000Z
src/color.hpp
dekrain/chirpc
93a6230da746d1e6e16230d79b151dee0d3f4a09
[ "MIT" ]
null
null
null
src/color.hpp
dekrain/chirpc
93a6230da746d1e6e16230d79b151dee0d3f4a09
[ "MIT" ]
null
null
null
/* Command-Line coloring, currently works only on linux VT100-based terminals.. This should be overhaul, rn this is very hacky. */ #pragma once #include <iostream> enum class color { red, blue, green, yellow, }; std::string write_color(std::string, color);
16.235294
77
0.692029
adamhutchings
6f9821aac5c9809f3b37c5ad13ae5ed5bacf5b2d
529
cpp
C++
C++/product-of-the-last-k-numbers.cpp
jaiskid/LeetCode-Solutions
a8075fd69087c5463f02d74e6cea2488fdd4efd1
[ "MIT" ]
3,269
2018-10-12T01:29:40.000Z
2022-03-31T17:58:41.000Z
C++/product-of-the-last-k-numbers.cpp
jaiskid/LeetCode-Solutions
a8075fd69087c5463f02d74e6cea2488fdd4efd1
[ "MIT" ]
53
2018-12-16T22:54:20.000Z
2022-02-25T08:31:20.000Z
C++/product-of-the-last-k-numbers.cpp
jaiskid/LeetCode-Solutions
a8075fd69087c5463f02d74e6cea2488fdd4efd1
[ "MIT" ]
1,236
2018-10-12T02:51:40.000Z
2022-03-30T13:30:37.000Z
// Time: ctor: O(1) // add : O(1) // get : O(1) // Space: O(n) class ProductOfNumbers { public: ProductOfNumbers() : accu_(1, 1) { } void add(int num) { if (!num) { accu_ = {1}; return; } accu_.emplace_back(accu_.back() * nu...
17.064516
58
0.42344
jaiskid
6fa2d4f12b5516aaec0d7d3d08a9842cd5423925
1,309
hpp
C++
includes/Transaction.hpp
moguchev/Wallet
ddc38f49b3f563e9a68b784bf315206d21631116
[ "MIT" ]
null
null
null
includes/Transaction.hpp
moguchev/Wallet
ddc38f49b3f563e9a68b784bf315206d21631116
[ "MIT" ]
null
null
null
includes/Transaction.hpp
moguchev/Wallet
ddc38f49b3f563e9a68b784bf315206d21631116
[ "MIT" ]
null
null
null
#ifndef TRANSACTION_HPP #define TRANSACTION_HPP #include <algorithm> #include <fstream> #include <includes/Script.hpp> #include <includes/TxIn.hpp> #include <includes/TxOut.hpp> #include <string> using outputs = std::vector<TxOut>; using inputs = std::vector<TxIn>; class Transaction { public: Transaction() = defa...
18.7
57
0.70741
moguchev
6fa73f82aaf4c72123eb26e2a0d5365e0d31cd44
1,764
cpp
C++
src/mixer/mixer.editableObject_PolygonDuplicate.cpp
3dhater/mixer
52dca419de53abf3b61acd020c2fc9a52bce2255
[ "libpng-2.0" ]
null
null
null
src/mixer/mixer.editableObject_PolygonDuplicate.cpp
3dhater/mixer
52dca419de53abf3b61acd020c2fc9a52bce2255
[ "libpng-2.0" ]
null
null
null
src/mixer/mixer.editableObject_PolygonDuplicate.cpp
3dhater/mixer
52dca419de53abf3b61acd020c2fc9a52bce2255
[ "libpng-2.0" ]
null
null
null
#include "mixer.sdkImpl.h" #include "mixer.application.h" #include "mixer.viewportCamera.h" #include "mixer.pluginGUIImpl.h" #include "mixer.editableObject.h" #include "containers/mixer.BST.h" #include <set> extern miApplication * g_app; void miEditableObject::PolygonDuplicate() { miArray<miPolygon*> newPolygons; ...
23.52
112
0.681406
3dhater
6fa958e87f8361094f5b5fadb9ad561a6ae1039e
1,954
hpp
C++
boiled-plates/bop-utility/Benchmark.hpp
Lokidottir/boiled-plates
2ada3a86f5ea9a12a3244f9f6de54ce8329dbe38
[ "MIT" ]
null
null
null
boiled-plates/bop-utility/Benchmark.hpp
Lokidottir/boiled-plates
2ada3a86f5ea9a12a3244f9f6de54ce8329dbe38
[ "MIT" ]
null
null
null
boiled-plates/bop-utility/Benchmark.hpp
Lokidottir/boiled-plates
2ada3a86f5ea9a12a3244f9f6de54ce8329dbe38
[ "MIT" ]
null
null
null
#ifndef BOP_BENCHMARK_HPP #define BOP_BENCHMARK_HPP #include <chrono> namespace bop { namespace util { #ifndef BOP_UTIL_DEFAULT_TYPES #define BOP_UTIL_DEFAULT_TYPES typedef double prec_type; typedef uint64_t uint_type; #endif template<typename ...params> void...
36.867925
161
0.562948
Lokidottir
6faa0e34657af00fdaf827230b44506650038fa7
1,767
cpp
C++
C++/form-largest-integer-with-digits-that-add-up-to-target.cpp
Akhil-Kashyap/LeetCode-Solutions
c671a588f96f4e4bbde4512727322ff9b1c8ae6a
[ "MIT" ]
3,269
2018-10-12T01:29:40.000Z
2022-03-31T17:58:41.000Z
C++/form-largest-integer-with-digits-that-add-up-to-target.cpp
Akhil-Kashyap/LeetCode-Solutions
c671a588f96f4e4bbde4512727322ff9b1c8ae6a
[ "MIT" ]
53
2018-12-16T22:54:20.000Z
2022-02-25T08:31:20.000Z
C++/form-largest-integer-with-digits-that-add-up-to-target.cpp
Akhil-Kashyap/LeetCode-Solutions
c671a588f96f4e4bbde4512727322ff9b1c8ae6a
[ "MIT" ]
1,236
2018-10-12T02:51:40.000Z
2022-03-30T13:30:37.000Z
// Time: O(t) // Space: O(t) class Solution { public: string largestNumber(vector<int>& cost, int target) { vector<int> dp(1); dp[0] = 0; for (int t = 1; t <= target; ++t) { dp.emplace_back(-1); for (int i = 0; i < 9; ++i) { if (t < cost[i] || dp[t -...
27.609375
81
0.370119
Akhil-Kashyap
6fabb7217734c99c79c1b9c076e29efd63650c74
1,865
cpp
C++
Fudl/easy/solved/Equivalent Resistance, Circuit Building.cpp
AhmedMostafa7474/Codingame-Solutions
da696a095c143c5d216bc06f6689ad1c0e25d0e0
[ "MIT" ]
1
2022-03-16T08:56:31.000Z
2022-03-16T08:56:31.000Z
Fudl/easy/solved/Equivalent Resistance, Circuit Building.cpp
AhmedMostafa7474/Codingame-Solutions
da696a095c143c5d216bc06f6689ad1c0e25d0e0
[ "MIT" ]
2
2022-03-17T11:27:14.000Z
2022-03-18T07:41:00.000Z
Fudl/easy/solved/Equivalent Resistance, Circuit Building.cpp
AhmedMostafa7474/Codingame-Solutions
da696a095c143c5d216bc06f6689ad1c0e25d0e0
[ "MIT" ]
6
2022-03-13T19:56:11.000Z
2022-03-17T12:08:22.000Z
#include <ctype.h> #include <iomanip> #include <cstdio> #include <ios> #include <iostream> #include <string> #include <vector> #include <algorithm> #include <map> #include <stack> using namespace std; /** * Auto-generated code below aims at helping you parse * the standard input according to the problem statement. ...
21.193182
59
0.472386
AhmedMostafa7474
6faef9985d7c2a365462673f37a33686614a73a8
258
cpp
C++
classes/RandomUtility.cpp
dstratossong/CC3K
026c2de810a7174a001427e2b9c3499b5ef1444f
[ "Apache-2.0" ]
null
null
null
classes/RandomUtility.cpp
dstratossong/CC3K
026c2de810a7174a001427e2b9c3499b5ef1444f
[ "Apache-2.0" ]
null
null
null
classes/RandomUtility.cpp
dstratossong/CC3K
026c2de810a7174a001427e2b9c3499b5ef1444f
[ "Apache-2.0" ]
null
null
null
// // Created by glados on 4/11/15. // #include <stdlib.h> #include <iostream> #include "RandomUtility.h" int RandomUtility::get_random_integer(int range) { return rand() % range; } void RandomUtility::seed() { srand((unsigned int) time(NULL)); }
16.125
50
0.674419
dstratossong
6fb11542c6ea9c59dd65ca5c48c30dee2c65cb43
1,215
cpp
C++
KTLT_doan1/file.cpp
ipupro2/KTLTr-Project-1
1ee29823a75b9518d6cc4d0b94edebc2a46ec63c
[ "MIT" ]
null
null
null
KTLT_doan1/file.cpp
ipupro2/KTLTr-Project-1
1ee29823a75b9518d6cc4d0b94edebc2a46ec63c
[ "MIT" ]
null
null
null
KTLT_doan1/file.cpp
ipupro2/KTLTr-Project-1
1ee29823a75b9518d6cc4d0b94edebc2a46ec63c
[ "MIT" ]
null
null
null
#include "file.h" void LoadScore(saveData data[]) { ifstream inNameScore; inNameScore.open("save.sav"); if (!inNameScore) { inNameScore.close(); ofstream outNameScore; outNameScore.open("save.sav"); for (int i = 0; i < 10; i++) outNameScore << "Noname 0" << endl; outNameScore.close(); ...
20.25
58
0.548971
ipupro2
6fb33bf4fabc61bc75f4dd6f0059b84b3f4cc796
4,765
cpp
C++
src/render/Shader.cpp
Yousazoe/Solar
349c75f7a61b1727aa0c6d581cf75124b2502a57
[ "Apache-2.0" ]
1
2021-08-07T13:02:01.000Z
2021-08-07T13:02:01.000Z
src/render/Shader.cpp
Yousazoe/Solar
349c75f7a61b1727aa0c6d581cf75124b2502a57
[ "Apache-2.0" ]
null
null
null
src/render/Shader.cpp
Yousazoe/Solar
349c75f7a61b1727aa0c6d581cf75124b2502a57
[ "Apache-2.0" ]
null
null
null
#include<render/Shader.hpp> #include<render/ShaderInstanceLoader.hpp> #include<fs/Path.hpp> #include<fs/FileSystem.hpp> #include<sstream> namespace tutorial::graphics { bool Shader::_has_shader_cachae = true; using ShaderCompiler = std::string; struct CompileStrategy { std::string version; std::string shader_...
28.878788
95
0.684995
Yousazoe
6fb57f0384bd58536feaec3aec330c5773f1e535
1,738
cpp
C++
engine/graphics/src/graphics_glfw_wrappers.cpp
hapass/defold
fd3602f27a2596a2ad62bf9a70ae9d7acda24ad8
[ "Apache-2.0" ]
1
2020-05-19T15:47:07.000Z
2020-05-19T15:47:07.000Z
engine/graphics/src/graphics_glfw_wrappers.cpp
CagdasErturk/defold
28e5eb635042d37e17cda4d33e47fce2b569cab8
[ "Apache-2.0" ]
null
null
null
engine/graphics/src/graphics_glfw_wrappers.cpp
CagdasErturk/defold
28e5eb635042d37e17cda4d33e47fce2b569cab8
[ "Apache-2.0" ]
null
null
null
// Copyright 2020 The Defold Foundation // Licensed under the Defold License version 1.0 (the "License"); you may not use // this file except in compliance with the License. // // You may obtain a copy of the License, together with FAQs at // https://www.defold.com/license // // Unless required by applicable law or a...
44.564103
129
0.794016
hapass
6fb976ab82764e96e51eca155329457c4d7d3694
2,449
cpp
C++
src/edit-row/treeview_enable_edit_next_field.cpp
rasmusbonnedal/gtk-snippets
54bd00e295c5701002bd5c9b42383d584120def0
[ "MIT" ]
1
2019-11-25T03:11:45.000Z
2019-11-25T03:11:45.000Z
src/edit-row/treeview_enable_edit_next_field.cpp
rasmusbonnedal/gtk-snippets
54bd00e295c5701002bd5c9b42383d584120def0
[ "MIT" ]
null
null
null
src/edit-row/treeview_enable_edit_next_field.cpp
rasmusbonnedal/gtk-snippets
54bd00e295c5701002bd5c9b42383d584120def0
[ "MIT" ]
1
2020-06-19T18:32:04.000Z
2020-06-19T18:32:04.000Z
// // Copyright (C) 2019 Rasmus Bonnedal // #include "treeview_enable_edit_next_field.h" namespace { void setCursorNextFieldHandler(const Glib::ustring& path_string, const Glib::ustring& new_text, Gtk::TreeViewColumn* column, ...
38.265625
119
0.633728
rasmusbonnedal
6fc1200e6c8493970730ac8160e71cfede239788
1,592
cpp
C++
sem_2/course_algorithms/contest_5/B.cpp
KingCakeTheFruity/mipt
e32cfe5e53236cdd2933d8b666ca995508300f0f
[ "MIT" ]
null
null
null
sem_2/course_algorithms/contest_5/B.cpp
KingCakeTheFruity/mipt
e32cfe5e53236cdd2933d8b666ca995508300f0f
[ "MIT" ]
null
null
null
sem_2/course_algorithms/contest_5/B.cpp
KingCakeTheFruity/mipt
e32cfe5e53236cdd2933d8b666ca995508300f0f
[ "MIT" ]
null
null
null
/* Пишем Крускалу, делая вид, что что-то может быть приятнее dsu */ #include <cstdio> #include <cstdlib> #include <vector> #include <algorithm> #include <set> using std::vector; using std::reverse; using std::find; using std::set; using std::min; vector<long long> dsu; vector<long long> dsu_size; struct Pair { lon...
15.607843
61
0.568467
KingCakeTheFruity
6fc5a3f2f96a6118da72cb714d115c6548375138
3,929
hpp
C++
snmp_fetch/api/types.hpp
higherorderfunctor/snmp-fetch
c95e9f60d38901c500456dc6f07af343b36b4938
[ "CC0-1.0" ]
null
null
null
snmp_fetch/api/types.hpp
higherorderfunctor/snmp-fetch
c95e9f60d38901c500456dc6f07af343b36b4938
[ "CC0-1.0" ]
32
2019-09-19T05:25:07.000Z
2019-12-05T20:28:17.000Z
snmp_fetch/api/types.hpp
higherorderfunctor/snmp-fetch
c95e9f60d38901c500456dc6f07af343b36b4938
[ "CC0-1.0" ]
null
null
null
/** * type.hpp - Common type definitions. */ #ifndef SNMP_FETCH__TYPES_H #define SNMP_FETCH__TYPES_H #include <iostream> #include <boost/format.hpp> extern "C" { #include <net-snmp/net-snmp-config.h> #include <net-snmp/net-snmp-includes.h> } #include "utils.hpp" namespace snmp_fetch { // default values #define...
22.58046
94
0.71494
higherorderfunctor
6fc610be415c6d6c19d1b53b773bdf0b10c1ac3c
2,513
cpp
C++
Test/Math/Test_MathCore.cpp
XenonicDev/Red
fcd12416bdf7fe4d2372161e67edc585f75887e4
[ "MIT" ]
1
2018-01-29T02:49:05.000Z
2018-01-29T02:49:05.000Z
Test/Math/Test_MathCore.cpp
XenonicDev/Red
fcd12416bdf7fe4d2372161e67edc585f75887e4
[ "MIT" ]
26
2017-05-08T22:57:14.000Z
2018-05-15T20:55:26.000Z
Test/Math/Test_MathCore.cpp
XenonicDev/Red
fcd12416bdf7fe4d2372161e67edc585f75887e4
[ "MIT" ]
null
null
null
/* Copyright (c) 2017-2018 Andrew Depke */ #include "gtest/gtest.h" #include "../../Red/Math/MathCore.h" using namespace Red; TEST(MathCoreSuite, AbsGeneralInt) { EXPECT_EQ(3, Abs(3)); EXPECT_EQ(3, Abs(-3)); EXPECT_EQ(0, Abs(0)); } TEST(MathCoreSuite, AbsGeneralFloat) { EXPECT_FLOAT_EQ(3.0f, Abs(3.0f)); EXPEC...
23.485981
97
0.68842
XenonicDev
6fc6e4cfb9f36f5eb8fa56104d1872f9014380dd
8,655
cpp
C++
src/server/safs/filtersafs.cpp
jvirkki/heliod
efdf2d105e342317bd092bab2d727713da546174
[ "BSD-3-Clause" ]
13
2015-10-09T05:59:20.000Z
2021-11-12T10:38:51.000Z
src/server/safs/filtersafs.cpp
JamesLinus/heliod
efdf2d105e342317bd092bab2d727713da546174
[ "BSD-3-Clause" ]
null
null
null
src/server/safs/filtersafs.cpp
JamesLinus/heliod
efdf2d105e342317bd092bab2d727713da546174
[ "BSD-3-Clause" ]
6
2016-05-23T10:53:29.000Z
2019-12-13T17:57:32.000Z
/* * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. * * Copyright 2008 Sun Microsystems, Inc. All rights reserved. * * THE BSD LICENSE * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistribut...
33.677043
109
0.570422
jvirkki
6fd4f9df67eaaae02c4bad0b328741e36348eb7c
291
cpp
C++
src/agent.cpp
kaidokert/MosquitoBorneDisease
b3584f12a9c3be2907360152c04032b213f19cd1
[ "BSD-3-Clause" ]
null
null
null
src/agent.cpp
kaidokert/MosquitoBorneDisease
b3584f12a9c3be2907360152c04032b213f19cd1
[ "BSD-3-Clause" ]
8
2018-11-13T14:33:26.000Z
2018-11-23T18:01:38.000Z
src/agent.cpp
kaidokert/MosquitoBorneDisease
b3584f12a9c3be2907360152c04032b213f19cd1
[ "BSD-3-Clause" ]
2
2019-08-05T07:21:28.000Z
2019-08-23T06:24:23.000Z
/* # Sub-module containing agent functions # # This file is part of SMosMod. # Copyright (c) 2017-2018, Imperial College London # For licensing information, see the LICENSE file distributed with the SMosMod # software package. */ #include "agent.hpp" Agent::Agent(double a) : age(a) {}
22.384615
79
0.725086
kaidokert
6fd6ece4a9cbb2847937978c423e9211904afbd8
2,976
hpp
C++
apps/openmw/mwgui/inventorywindow.hpp
Bodillium/openmw
5fdd264d0704e33b44b1ccf17ab4fb721f362e34
[ "Unlicense" ]
null
null
null
apps/openmw/mwgui/inventorywindow.hpp
Bodillium/openmw
5fdd264d0704e33b44b1ccf17ab4fb721f362e34
[ "Unlicense" ]
null
null
null
apps/openmw/mwgui/inventorywindow.hpp
Bodillium/openmw
5fdd264d0704e33b44b1ccf17ab4fb721f362e34
[ "Unlicense" ]
null
null
null
#ifndef MGUI_Inventory_H #define MGUI_Inventory_H #include "../mwrender/characterpreview.hpp" #include "windowpinnablebase.hpp" #include "widgets.hpp" #include "mode.hpp" namespace MWGui { class ItemView; class SortFilterItemModel; class TradeItemModel; class DragAndDrop; class ItemModel; cl...
25.878261
115
0.589718
Bodillium
6fdc5403627b016de97575f7b628f60fa2c16412
1,486
cpp
C++
src/ImageWriter.cpp
iaddis/milkdrop2020
9354242ccf17909be7e9ab2f140d8508030bc3b1
[ "MIT" ]
13
2021-03-07T01:57:37.000Z
2022-03-08T05:45:06.000Z
src/ImageWriter.cpp
iaddis/milkdrop2020
9354242ccf17909be7e9ab2f140d8508030bc3b1
[ "MIT" ]
1
2021-02-13T20:16:06.000Z
2021-03-22T18:42:58.000Z
src/ImageWriter.cpp
iaddis/milkdrop2020
9354242ccf17909be7e9ab2f140d8508030bc3b1
[ "MIT" ]
4
2021-03-27T03:23:31.000Z
2022-01-24T00:38:07.000Z
//#define STB_IMAGE_WRITE_STATIC #define STB_IMAGE_WRITE_IMPLEMENTATION #include "../external/stb/stb_image_write.h" #include "ImageWriter.h" #include <string> #include "path.h" bool ImageWriteToPNG(const std::string &path, const uint32_t *data, int width, int height) { int pitch = width * sizeof(data[0]); /...
24.766667
91
0.662853
iaddis
6fe23e0207021da283b5b2934bcc1f0f5b52de59
988
cpp
C++
src/vnx_keyvalue_server.cpp
madMAx43v3r/vnx-keyvalue
dbb28a2494c12741ba6ce14c579bc5973981d5ac
[ "MIT" ]
1
2021-09-11T04:07:29.000Z
2021-09-11T04:07:29.000Z
src/vnx_keyvalue_server.cpp
vashil211/vnx-keyvalue
dbb28a2494c12741ba6ce14c579bc5973981d5ac
[ "MIT" ]
1
2021-06-13T16:13:54.000Z
2021-06-13T16:13:54.000Z
src/vnx_keyvalue_server.cpp
madMAx43v3r/vnx-keyvalue
dbb28a2494c12741ba6ce14c579bc5973981d5ac
[ "MIT" ]
2
2021-06-10T18:10:03.000Z
2021-06-12T05:46:00.000Z
/* * vnx_keyvalue_server.cpp * * Created on: Mar 22, 2020 * Author: mad */ #include <vnx/keyvalue/Server.h> #include <vnx/vnx.h> #include <vnx/Terminal.h> #include <vnx/Server.h> int main(int argc, char** argv) { std::map<std::string, std::string> options; options["s"] = "server"; options["server"] = ...
21.478261
116
0.663968
madMAx43v3r
6fe36be835bebb48bbae0b9c8e24bf76d2cdca23
1,177
cpp
C++
9.File Handling/i-Design/2/User.cpp
Concept-Team/e-box-UTA018
a6caf487c9f27a5ca30a00847ed49a163049f67e
[ "MIT" ]
26
2021-03-17T03:15:22.000Z
2021-06-09T13:29:41.000Z
9.File Handling/i-Design/2/User.cpp
Servatom/e-box-UTA018
a6caf487c9f27a5ca30a00847ed49a163049f67e
[ "MIT" ]
6
2021-03-16T19:04:05.000Z
2021-06-03T13:41:04.000Z
9.File Handling/i-Design/2/User.cpp
Concept-Team/e-box-UTA018
a6caf487c9f27a5ca30a00847ed49a163049f67e
[ "MIT" ]
42
2021-03-17T03:16:22.000Z
2021-06-14T21:11:20.000Z
#include<iostream> #include<string> #include<stdio.h> #include<fstream> #include<list> #include<iterator> #include<sstream> using namespace std; class User{ private: string name; string username; string password; string contactnumber; public: User(){} User(string ...
24.520833
82
0.540357
Concept-Team
6fe38eaf77b861677540d0680f3905e2307a1ef7
801
cpp
C++
src/index/ranker/ranker_factory.cpp
saq7/MeTA
0392964c1cdc073ae5123f7d64affdc4105acc4f
[ "MIT" ]
null
null
null
src/index/ranker/ranker_factory.cpp
saq7/MeTA
0392964c1cdc073ae5123f7d64affdc4105acc4f
[ "MIT" ]
null
null
null
src/index/ranker/ranker_factory.cpp
saq7/MeTA
0392964c1cdc073ae5123f7d64affdc4105acc4f
[ "MIT" ]
1
2021-09-06T06:08:38.000Z
2021-09-06T06:08:38.000Z
/** * @file ranker_factory.cpp * @author Chase Geigle */ #include "cpptoml.h" #include "index/ranker/all.h" #include "index/ranker/ranker_factory.h" namespace meta { namespace index { template <class Ranker> void ranker_factory::reg() { add(Ranker::id, make_ranker<Ranker>); } ranker_factory::ranker_factory()...
19.536585
65
0.679151
saq7
6fe831bce94053dac21d5d4c5d9aaa44fd35b756
278
cpp
C++
Programmers/MidWord.cpp
YEAjiJUNG/AlgorithmPractice
720abd9bb3bf1eeadf57402379fdf30921f7c333
[ "Apache-2.0" ]
1
2021-05-21T02:23:38.000Z
2021-05-21T02:23:38.000Z
Programmers/MidWord.cpp
YEAjiJUNG/AlgorithmPractice
720abd9bb3bf1eeadf57402379fdf30921f7c333
[ "Apache-2.0" ]
null
null
null
Programmers/MidWord.cpp
YEAjiJUNG/AlgorithmPractice
720abd9bb3bf1eeadf57402379fdf30921f7c333
[ "Apache-2.0" ]
null
null
null
#include <string> #include <vector> using namespace std; string solution(string s) { string answer = ""; if(s.size() % 2 == 0){ answer += s[s.size()/2 -1]; answer += s[s.size()/2]; } else{ answer = s[s.size()/2]; } return answer; }
16.352941
35
0.507194
YEAjiJUNG
6fec4faf907996fac4d71b4ecf1a61147969ef04
4,863
cpp
C++
osal/mpp_platform.cpp
Fruit-Pi/mpp
dd7097fbab86eeed807e177620212847a9bc8f70
[ "Apache-2.0" ]
312
2016-12-26T12:32:03.000Z
2022-03-29T13:37:59.000Z
osal/mpp_platform.cpp
Fruit-Pi/mpp
dd7097fbab86eeed807e177620212847a9bc8f70
[ "Apache-2.0" ]
271
2017-01-12T03:59:31.000Z
2022-03-31T02:26:45.000Z
osal/mpp_platform.cpp
Fruit-Pi/mpp
dd7097fbab86eeed807e177620212847a9bc8f70
[ "Apache-2.0" ]
195
2016-12-01T07:22:01.000Z
2022-03-30T23:09:00.000Z
/* * Copyright 2015 Rockchip Electronics Co. LTD * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable...
27.788571
84
0.644047
Fruit-Pi
6ff5413513d9f236e76309c83167a7ae1242665a
1,503
hpp
C++
HW05/hw05.hpp
MetalheadKen/NTUST-Parallel-Course
4a4e726a5220eaf7403375b61cf6ce8a7cd9cbb9
[ "MIT" ]
null
null
null
HW05/hw05.hpp
MetalheadKen/NTUST-Parallel-Course
4a4e726a5220eaf7403375b61cf6ce8a7cd9cbb9
[ "MIT" ]
null
null
null
HW05/hw05.hpp
MetalheadKen/NTUST-Parallel-Course
4a4e726a5220eaf7403375b61cf6ce8a7cd9cbb9
[ "MIT" ]
null
null
null
#pragma once #include <cstring> #include <cmath> #include "YoUtil.hpp" struct mygpu { YoUtil::GPU *gpu; cl::CommandQueue cmdQueue; cl::Device device; cl::Context context; cl::Program *program; cl::Buffer point_buf; cl::Buffer accum_buf; }; void prepareGPU(mygpu& gpu); vo...
24.241935
141
0.698603
MetalheadKen
b5008194f9a06527ecf6fe1cf98b96de0345d8a6
2,782
cpp
C++
app/src/main/jni/jniCalls/gestureClass.cpp
smkang99/openGL
321edc6b473cfdb33ad448fdf83fabb35707858f
[ "Apache-2.0" ]
null
null
null
app/src/main/jni/jniCalls/gestureClass.cpp
smkang99/openGL
321edc6b473cfdb33ad448fdf83fabb35707858f
[ "Apache-2.0" ]
null
null
null
app/src/main/jni/jniCalls/gestureClass.cpp
smkang99/openGL
321edc6b473cfdb33ad448fdf83fabb35707858f
[ "Apache-2.0" ]
null
null
null
// // Created by 15102 on 3/9/2020. // #include <jni.h> //#include "modelAssimp.h" #include <myJNIHelper.h> #include <modelAssimp.h> #ifdef __cplusplus extern "C" { #endif extern ModelAssimp *gAssimpObject; JNIEXPORT void JNICALL Java_com_example_hellojni_GestureClass_DoubleTapNative(JNIEnv *env, jobject instance) {...
28.387755
89
0.670022
smkang99
b501c34433a2e60198711749c6b60b82f2520efc
471
cpp
C++
lintcode/besttimetobuyandsellstock.cpp
WIZARD-CXY/pl
22b7f5d81804f4e333d3cff6433364ba1a0ac7ef
[ "Apache-2.0" ]
1
2016-01-20T08:26:34.000Z
2016-01-20T08:26:34.000Z
lintcode/besttimetobuyandsellstock.cpp
WIZARD-CXY/pl
22b7f5d81804f4e333d3cff6433364ba1a0ac7ef
[ "Apache-2.0" ]
1
2015-10-21T05:38:17.000Z
2015-11-02T07:42:55.000Z
lintcode/besttimetobuyandsellstock.cpp
WIZARD-CXY/pl
22b7f5d81804f4e333d3cff6433364ba1a0ac7ef
[ "Apache-2.0" ]
null
null
null
class Solution { public: /** * @param prices: Given an integer array * @return: Maximum profit */ int maxProfit(vector<int> &prices) { // write your code here int minprice=INT_MAX; int res=0; for(auto price : prices){ minprice=min(minprice,pric...
19.625
44
0.477707
WIZARD-CXY
b504a01594dae37b8379ab8d0546b9ba5b066487
2,858
hh
C++
src/ggl/MR_ApplyRule.hh
michaelapeterka/GGL
99e585b773ad8f33e39160d2cbd71c00e036fa37
[ "MIT" ]
20
2017-05-09T15:37:04.000Z
2021-11-24T10:51:02.000Z
src/ggl/MR_ApplyRule.hh
michaelapeterka/GGL
99e585b773ad8f33e39160d2cbd71c00e036fa37
[ "MIT" ]
2
2017-05-24T08:00:25.000Z
2017-05-24T08:01:01.000Z
src/ggl/MR_ApplyRule.hh
michaelapeterka/GGL
99e585b773ad8f33e39160d2cbd71c00e036fa37
[ "MIT" ]
7
2017-05-29T10:55:18.000Z
2020-12-04T14:24:51.000Z
#ifndef GGL_MR_APPLYRULE_HH_ #define GGL_MR_APPLYRULE_HH_ #include "sgm/Match_Reporter.hh" #include "ggl/Graph_Storage.hh" #include "ggl/Graph.hh" #include "ggl/RuleGraph.hh" #include <climits> namespace ggl { /*! @brief Graph Grammar Rule application for each reported match * * A ...
32.11236
83
0.644507
michaelapeterka
b505660d07d2b5c52b2dc66d597edda14aa7df49
842
cpp
C++
main.cpp
MCLEANS/STM32F4_FreeRTOS_TEMPLATE
b7ca381938baed6eb3295d7ec3511e15a9c06706
[ "MIT" ]
1
2021-08-21T03:48:09.000Z
2021-08-21T03:48:09.000Z
main.cpp
MCLEANS/STM32F4_FreeRTOS_TEMPLATE
b7ca381938baed6eb3295d7ec3511e15a9c06706
[ "MIT" ]
null
null
null
main.cpp
MCLEANS/STM32F4_FreeRTOS_TEMPLATE
b7ca381938baed6eb3295d7ec3511e15a9c06706
[ "MIT" ]
null
null
null
#include "stm32f4xx.h" #include "clockconfig.h" #include <FreeRTOS.h> #include <task.h> #include <portmacro.h> custom_libraries::clock_config system_clock; extern "C" void led1_task(void* pvParameter){ while(1){ for(volatile int i = 0; i < 2000000; i++){} GPIOD->ODR ^= (1<<12); } } extern "C" void led2_t...
21.05
60
0.665083
MCLEANS
b508fbfdd518f36bd26fcf04dcd37df520ef145f
3,829
cpp
C++
src/model/io/yuv420rgbbuffer.cpp
fanghaocong/GitlHEVCAnalyzer
1dbf3adca4822b0a55af03c7a7f49c92798c91d6
[ "Apache-2.0" ]
null
null
null
src/model/io/yuv420rgbbuffer.cpp
fanghaocong/GitlHEVCAnalyzer
1dbf3adca4822b0a55af03c7a7f49c92798c91d6
[ "Apache-2.0" ]
null
null
null
src/model/io/yuv420rgbbuffer.cpp
fanghaocong/GitlHEVCAnalyzer
1dbf3adca4822b0a55af03c7a7f49c92798c91d6
[ "Apache-2.0" ]
null
null
null
#include "yuv420rgbbuffer.h" #include <QFile> #include <QDebug> extern "C" { #include "libswscale/swscale.h" #include "libavutil/imgutils.h" #include "libavutil/frame.h" } static enum AVPixelFormat bitDepth2PixelFormat( int iBitDepth ) { enum AVPixelFormat pixelFormat; if ( iBitDepth == 8 ) { pixe...
26.776224
135
0.680595
fanghaocong
b517ad009d89ba9a9df95013f0dab81716a2a52f
1,077
cpp
C++
code/clock_real/mts_clock_real.cpp
mtsquant/MTS
ab7ecab0f88c844289b5c81e5627326fe36e682f
[ "Apache-2.0" ]
8
2019-03-28T04:15:59.000Z
2021-03-23T14:29:43.000Z
code/clock_real/mts_clock_real.cpp
mtsquant/MTS
ab7ecab0f88c844289b5c81e5627326fe36e682f
[ "Apache-2.0" ]
null
null
null
code/clock_real/mts_clock_real.cpp
mtsquant/MTS
ab7ecab0f88c844289b5c81e5627326fe36e682f
[ "Apache-2.0" ]
5
2019-11-06T12:39:21.000Z
2021-01-28T19:14:14.000Z
/***************************************************************************** * Copyright [2017-2019] [MTSQuant] * * 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/lic...
34.741935
78
0.629526
mtsquant
b518e4b42c4ca9a8a5577f4ff97282c4bdab6f52
13,542
cpp
C++
main.cpp
Joel714/GameProject
417b0f65d2f2c9dde2d2bf68f6ac092501dfcabc
[ "MIT" ]
null
null
null
main.cpp
Joel714/GameProject
417b0f65d2f2c9dde2d2bf68f6ac092501dfcabc
[ "MIT" ]
null
null
null
main.cpp
Joel714/GameProject
417b0f65d2f2c9dde2d2bf68f6ac092501dfcabc
[ "MIT" ]
null
null
null
#include <cstdlib> #include <cstdio> #include <cassert> #include <GL/gl.h> #include <GL/glut.h> #ifdef FREEGLUT #include <GL/freeglut_ext.h> #endif #ifndef NDEBUG #define msglError( ) _msglError( stderr, __FILE__, __LINE__ ) #else #define msglError( ) #endif #include <FreeImage.h> #include "keys.h" #include "pla...
28.812766
127
0.603604
Joel714
b519402bd985faa4b8e0961fa74cd224cdcf84ff
555
cpp
C++
cpp/evenOddQuery.cpp
Rohit-RA-2020/hackerrank-math
466a9b25311c8ba9d457720d618d8930667e498f
[ "MIT" ]
null
null
null
cpp/evenOddQuery.cpp
Rohit-RA-2020/hackerrank-math
466a9b25311c8ba9d457720d618d8930667e498f
[ "MIT" ]
null
null
null
cpp/evenOddQuery.cpp
Rohit-RA-2020/hackerrank-math
466a9b25311c8ba9d457720d618d8930667e498f
[ "MIT" ]
null
null
null
// https://www.hackerrank.com/challenges/even-odd-query #include <iostream> using namespace std; int A[100008], N; int find(int x, int y) { if (A[x] % 2) return 1; if (x == y) return 0; if (A[x + 1] == 0) return 1; return 0; } int main() { int x, y, Q; cin >> N; f...
16.323529
55
0.421622
Rohit-RA-2020
b51c26cf9fa26a79b625b701c31623f4b175f203
16,938
cpp
C++
franka_polishing/src/nodes/nflat_surfaces_node.cpp
amaroUC/TOOLING4G
d25d43c0e14798617b7c4be60fd9eed2df25aa17
[ "Apache-2.0" ]
2
2020-11-18T09:01:49.000Z
2021-09-24T10:31:14.000Z
franka_polishing/src/nodes/nflat_surfaces_node.cpp
amaroUC/TOOLING4G
d25d43c0e14798617b7c4be60fd9eed2df25aa17
[ "Apache-2.0" ]
1
2021-11-12T12:19:15.000Z
2021-11-16T12:17:01.000Z
franka_polishing/src/nodes/nflat_surfaces_node.cpp
amaroUC/TOOLING4G
d25d43c0e14798617b7c4be60fd9eed2df25aa17
[ "Apache-2.0" ]
2
2020-07-25T07:38:20.000Z
2021-11-08T15:19:08.000Z
// ============================================================================= // Name : nflat_surfaces_node.cpp // Author : Hélio Ochoa // Description : // ============================================================================= #include <franka_polishing/spacenav.h> #include <visualization_msgs/Mar...
33.146771
141
0.483115
amaroUC
b52316be55163b26ceef1181b10414f4fa4b8a9f
400
cpp
C++
Codeforces 915B.cpp
Jvillegasd/Codeforces
ffdd2d5db1dabc7ff76f8f92270c79233a77b933
[ "MIT" ]
null
null
null
Codeforces 915B.cpp
Jvillegasd/Codeforces
ffdd2d5db1dabc7ff76f8f92270c79233a77b933
[ "MIT" ]
null
null
null
Codeforces 915B.cpp
Jvillegasd/Codeforces
ffdd2d5db1dabc7ff76f8f92270c79233a77b933
[ "MIT" ]
null
null
null
#include <stdio.h> #include <math.h> #include <algorithm> using namespace std; int main(){ int n, p, l, r; scanf("%d %d %d %d", &n, &p, &l, &r); if(l == 1 && r == n) printf("0\n"); else if(l == 1 && r != n) printf("%d\n", abs(p - r) + 1); else if(r == n && l != 1) printf("%d\n", abs(p - l) + 1); ...
26.666667
65
0.455
Jvillegasd
dde249bfdafe6afef31f10f3bf6464b7719a2bcf
40,247
cpp
C++
export/windows/obj/src/lime/text/Font.cpp
arturspon/zombie-killer
07848c5006916e9079537a3d703ffe3740afaa5a
[ "MIT" ]
null
null
null
export/windows/obj/src/lime/text/Font.cpp
arturspon/zombie-killer
07848c5006916e9079537a3d703ffe3740afaa5a
[ "MIT" ]
null
null
null
export/windows/obj/src/lime/text/Font.cpp
arturspon/zombie-killer
07848c5006916e9079537a3d703ffe3740afaa5a
[ "MIT" ]
1
2021-07-16T22:57:01.000Z
2021-07-16T22:57:01.000Z
// Generated by Haxe 4.0.0-rc.2+77068e10c #include <hxcpp.h> #ifndef INCLUDED_Std #include <Std.h> #endif #ifndef INCLUDED_haxe_IMap #include <haxe/IMap.h> #endif #ifndef INCLUDED_haxe_ds_IntMap #include <haxe/ds/IntMap.h> #endif #ifndef INCLUDED_haxe_io_Bytes #include <haxe/io/Bytes.h> #endif #ifndef INCLUDED_haxe_io...
47.970203
248
0.682014
arturspon
dde40449f8455a3781147ccc19987bfef51bcdaf
73
cpp
C++
LearningOpenGL/Source/Core/Material/Material.cpp
zhengweifu/LearningOpenGL
0d73b035ffa11112d62f0af974f4a8622eef6598
[ "MIT" ]
null
null
null
LearningOpenGL/Source/Core/Material/Material.cpp
zhengweifu/LearningOpenGL
0d73b035ffa11112d62f0af974f4a8622eef6598
[ "MIT" ]
null
null
null
LearningOpenGL/Source/Core/Material/Material.cpp
zhengweifu/LearningOpenGL
0d73b035ffa11112d62f0af974f4a8622eef6598
[ "MIT" ]
null
null
null
#include "Core/Material/Material.h" LEARN_OPENGL_BEGIN LEARN_OPENGL_END
14.6
35
0.849315
zhengweifu
ddeb3b3e963ca7fc1ade5249914d8461ee1b7e69
5,219
cpp
C++
hyperUI/source/StandardUI/UIRoundProgressElement.cpp
sadcatsoft/hyperui
f26242a9034ad1e0abf54bd7691fe48809262f5b
[ "MIT" ]
2
2019-05-17T16:16:21.000Z
2019-08-21T20:18:22.000Z
hyperUI/source/StandardUI/UIRoundProgressElement.cpp
sadcatsoft/hyperui
f26242a9034ad1e0abf54bd7691fe48809262f5b
[ "MIT" ]
1
2018-10-18T22:05:12.000Z
2018-10-18T22:05:12.000Z
hyperUI/source/StandardUI/UIRoundProgressElement.cpp
sadcatsoft/hyperui
f26242a9034ad1e0abf54bd7691fe48809262f5b
[ "MIT" ]
null
null
null
/***************************************************************************** Disclaimer: This software is supplied to you by Sad Cat Software ("Sad Cat") in consideration of your agreement to the following terms, and your use, installation, modification or redistribution of this Sad Cat software constitutes ac...
45.780702
183
0.659513
sadcatsoft
ddebca10b021a7199efef6f9a0c6c75f07d7e582
1,201
hpp
C++
gui/myscene.hpp
mguludag/QTextRecognizer
29dd7b746be831c01b6260ab20ca926f7ff835ca
[ "MIT" ]
25
2020-05-01T01:20:03.000Z
2022-01-19T02:48:12.000Z
gui/myscene.hpp
mguludag/QTextRecognizer
29dd7b746be831c01b6260ab20ca926f7ff835ca
[ "MIT" ]
null
null
null
gui/myscene.hpp
mguludag/QTextRecognizer
29dd7b746be831c01b6260ab20ca926f7ff835ca
[ "MIT" ]
7
2020-07-20T12:02:34.000Z
2022-01-06T03:09:31.000Z
#ifndef MYSCENE_HPP #define MYSCENE_HPP #include <QGraphicsScene> #include <QGraphicsSceneMouseEvent> #include <QMimeData> #include <QObject> #include <QUrl> #include <QWidget> class MyScene : public QGraphicsScene { Q_OBJECT struct Props { QPointF m_pos, m_topleft, m_bottomright; } Props; pu...
21.836364
62
0.68443
mguludag
ddf16c028182f525afa574368bb95a15376b0483
2,551
cpp
C++
Data Structures/Arrays/Dynamic Array.cpp
VaibhavDS19/Hackerrankchallenges
5207c4145547ad6707bb86f71c692be23445b56a
[ "MIT" ]
null
null
null
Data Structures/Arrays/Dynamic Array.cpp
VaibhavDS19/Hackerrankchallenges
5207c4145547ad6707bb86f71c692be23445b56a
[ "MIT" ]
null
null
null
Data Structures/Arrays/Dynamic Array.cpp
VaibhavDS19/Hackerrankchallenges
5207c4145547ad6707bb86f71c692be23445b56a
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; string ltrim(const string &); string rtrim(const string &); vector<string> split(const string &); /* * Complete the 'dynamicArray' function below. * * The function is expected to return an INTEGER_ARRAY. * The function accepts following parameters: * 1. INTEGER n ...
20.909836
82
0.577813
VaibhavDS19
ddf38c23944d3160b61f3fbc21fc437d746fc983
6,836
cpp
C++
src/CoreGenPortal/PortalCore/CoreRegClassInfoWin.cpp
opensocsysarch/CoreGenPortal
b6c8c9ca13fa8add969511f153331cad83953799
[ "Apache-2.0" ]
1
2019-06-25T13:06:14.000Z
2019-06-25T13:06:14.000Z
src/CoreGenPortal/PortalCore/CoreRegClassInfoWin.cpp
opensocsysarch/CoreGenPortal
b6c8c9ca13fa8add969511f153331cad83953799
[ "Apache-2.0" ]
128
2018-10-23T12:45:15.000Z
2021-12-28T13:09:39.000Z
src/CoreGenPortal/PortalCore/CoreRegClassInfoWin.cpp
opensocsysarch/CoreGenPortal
b6c8c9ca13fa8add969511f153331cad83953799
[ "Apache-2.0" ]
1
2021-01-20T23:17:34.000Z
2021-01-20T23:17:34.000Z
// // _COREREGCLASSINFOWIN_CPP_ // // Copyright (C) 2017-2020 Tactical Computing Laboratories, LLC // All Rights Reserved // contact@tactcomplabs.com // // See LICENSE in the top level directory for licensing details // #include "CoreGenPortal/PortalCore/CoreRegClassInfoWin.h" // Event Table wxBEGIN_EVENT_TABLE(CoreR...
37.355191
101
0.521065
opensocsysarch
fb04460a52eaf8025e256f7b7a5bdc70ab6f86ef
7,202
cpp
C++
SDK/PUBG_Niagara_functions.cpp
realrespecter/PUBG-FULL-SDK
5e2b0f103c74c95d2329c4c9dfbfab48aa0da737
[ "MIT" ]
7
2019-03-06T11:04:52.000Z
2019-07-10T20:00:51.000Z
SDK/PUBG_Niagara_functions.cpp
realrespecter/PUBG-FULL-SDK
5e2b0f103c74c95d2329c4c9dfbfab48aa0da737
[ "MIT" ]
null
null
null
SDK/PUBG_Niagara_functions.cpp
realrespecter/PUBG-FULL-SDK
5e2b0f103c74c95d2329c4c9dfbfab48aa0da737
[ "MIT" ]
10
2019-03-06T11:53:46.000Z
2021-02-18T14:01:11.000Z
// PUBG FULL SDK - Generated By Respecter (5.3.4.11 [06/03/2019]) SDK #ifdef _MSC_VER #pragma pack(push, 0x8) #endif #include "PUBG_Niagara_parameters.hpp" namespace SDK { //--------------------------------------------------------------------------- //Functions //----------------------------------------------------...
30.260504
125
0.711469
realrespecter
fb063781520cb0a4cca149aafebc08d9057c0538
2,161
cpp
C++
src/vkex/QueryPool.cpp
apazylbe/PorQue4K
209ba90a35f05df0be68df586c9e184183ed8263
[ "Apache-2.0" ]
15
2020-06-12T01:40:34.000Z
2022-03-16T21:52:46.000Z
src/vkex/QueryPool.cpp
apazylbe/PorQue4K
209ba90a35f05df0be68df586c9e184183ed8263
[ "Apache-2.0" ]
4
2020-06-12T23:57:52.000Z
2020-06-24T19:19:16.000Z
src/vkex/QueryPool.cpp
apazylbe/PorQue4K
209ba90a35f05df0be68df586c9e184183ed8263
[ "Apache-2.0" ]
3
2020-06-12T15:02:13.000Z
2020-07-05T17:34:20.000Z
/* Copyright 2018-2019 Google Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, so...
27.0125
100
0.648774
apazylbe
fb0918f6b14b61ff1c285851a2d06dc0989cd7fc
5,709
cpp
C++
engine/Ecs/Systems/CheckCollisionsSystem.cpp
ledocool/snail_engine
0114a62dbecbbe58348fbe7083d9182bc1bd8c3c
[ "Apache-2.0" ]
null
null
null
engine/Ecs/Systems/CheckCollisionsSystem.cpp
ledocool/snail_engine
0114a62dbecbbe58348fbe7083d9182bc1bd8c3c
[ "Apache-2.0" ]
null
null
null
engine/Ecs/Systems/CheckCollisionsSystem.cpp
ledocool/snail_engine
0114a62dbecbbe58348fbe7083d9182bc1bd8c3c
[ "Apache-2.0" ]
1
2018-08-11T14:31:27.000Z
2018-08-11T14:31:27.000Z
/* * Copyright 2018 LedoCool. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to i...
39.372414
140
0.600981
ledocool