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
676cf44474187e23905f3c314e7aa45ab39bc54d
8,697
cpp
C++
surena4/src/trajectory_generation/src/CheckPoint.cpp
amin-amani/humanoid
7493fc566064ff903deb130376eb67e684c6a303
[ "MIT" ]
1
2021-11-16T08:51:26.000Z
2021-11-16T08:51:26.000Z
surena4/src/trajectory_generation/src/CheckPoint.cpp
amin-amani/humanoid
7493fc566064ff903deb130376eb67e684c6a303
[ "MIT" ]
1
2018-10-27T13:34:18.000Z
2018-10-27T13:34:18.000Z
surena4/src/trajectory_generation/src/CheckPoint.cpp
amin-amani/humanoid
7493fc566064ff903deb130376eb67e684c6a303
[ "MIT" ]
null
null
null
#include "ros/ros.h" #include "std_msgs/String.h" #include"Eigen/Dense" #include <vector> #include <iostream> #include <QString> #include <QList> #include "Robot.h" #include"TaskSpace.h" #include"taskspaceoffline.h" #include <qmath.h> #include <cstring> #include<qdebug.h> #include <Eigen/Geometry> #include <cstdlib> //...
31.857143
119
0.710245
amin-amani
678223f0c397395cfb7f48d878f5c7781e30fa92
15,579
inl
C++
src/fonts/stb_font_times_6_latin1.inl
stetre/moonfonts
5c8010c02ea62edcf42902e09478b0cd14af56ea
[ "MIT" ]
3
2018-03-13T12:51:57.000Z
2021-10-11T11:32:17.000Z
src/fonts/stb_font_times_6_latin1.inl
stetre/moonfonts
5c8010c02ea62edcf42902e09478b0cd14af56ea
[ "MIT" ]
null
null
null
src/fonts/stb_font_times_6_latin1.inl
stetre/moonfonts
5c8010c02ea62edcf42902e09478b0cd14af56ea
[ "MIT" ]
null
null
null
// Font generated by stb_font_inl_generator.c (4/1 bpp) // // Following instructions show how to use the only included font, whatever it is, in // a generic way so you can replace it with any other font by changing the include. // To use multiple fonts, replace STB_SOMEFONT_* below with STB_FONT_times_6_latin1_*, ...
53.72069
113
0.674562
stetre
6783108c408e24dafd6b34fc6a660212d2247ab0
662
cpp
C++
graph-source-code/368-E/5807461.cpp
AmrARaouf/algorithm-detection
59f3028d2298804870b32729415d71eec6116557
[ "MIT" ]
null
null
null
graph-source-code/368-E/5807461.cpp
AmrARaouf/algorithm-detection
59f3028d2298804870b32729415d71eec6116557
[ "MIT" ]
null
null
null
graph-source-code/368-E/5807461.cpp
AmrARaouf/algorithm-detection
59f3028d2298804870b32729415d71eec6116557
[ "MIT" ]
null
null
null
//Language: GNU C++ #include <iostream> #include <stdio.h> #include <algorithm> #include <vector> #define pb push_back using namespace std; long long n, m, ans; vector<int> vec; int q, w; void read() { cin >> n >> m; for(int i = 0; i < m; i ++) { scanf("%d %d", &q, &w); vec.pb(w); } } long long calc(long ...
13.24
42
0.528701
AmrARaouf
67904c1f0beb35d6a854139c40e4663d591fb405
1,104
hpp
C++
gearoenix/render/pipeline/gx-rnd-pip-skybox-cube-resource-set.hpp
Hossein-Noroozpour/gearoenix
c8fa8b8946c03c013dad568d6d7a97d81097c051
[ "BSD-Source-Code" ]
35
2018-01-07T02:34:38.000Z
2022-02-09T05:19:03.000Z
gearoenix/render/pipeline/gx-rnd-pip-skybox-cube-resource-set.hpp
Hossein-Noroozpour/gearoenix
c8fa8b8946c03c013dad568d6d7a97d81097c051
[ "BSD-Source-Code" ]
111
2017-09-20T09:12:36.000Z
2020-12-27T12:52:03.000Z
gearoenix/render/pipeline/gx-rnd-pip-skybox-cube-resource-set.hpp
Hossein-Noroozpour/gearoenix
c8fa8b8946c03c013dad568d6d7a97d81097c051
[ "BSD-Source-Code" ]
5
2020-02-11T11:17:37.000Z
2021-01-08T17:55:43.000Z
#ifndef GEAROENIX_RENDER_PIPELINE_SKYBOX_CUBE_RESOURCE_SET_HPP #define GEAROENIX_RENDER_PIPELINE_SKYBOX_CUBE_RESOURCE_SET_HPP #include "gx-rnd-pip-resource-set.hpp" namespace gearoenix::render::material { class SkyboxCube; } namespace gearoenix::render::pipeline { class SkyboxCube; class SkyboxCubeResourceSet : publi...
32.470588
83
0.774457
Hossein-Noroozpour
09623607cc339eeb27a521c9ea5884304d9c62f9
221
cpp
C++
src/leaps/state/init.cpp
cubic1271/leaps
492cdcddfc0b3f63b657da94fc4a4303980dd07f
[ "Zlib", "CC0-1.0", "MIT" ]
null
null
null
src/leaps/state/init.cpp
cubic1271/leaps
492cdcddfc0b3f63b657da94fc4a4303980dd07f
[ "Zlib", "CC0-1.0", "MIT" ]
null
null
null
src/leaps/state/init.cpp
cubic1271/leaps
492cdcddfc0b3f63b657da94fc4a4303980dd07f
[ "Zlib", "CC0-1.0", "MIT" ]
null
null
null
#include "leaps/state.h" namespace twilight { void LeapsStateInit() { StateManager* manager = StateManager::instance(); LeapsTitle* title = new LeapsTitle(); manager->addState(title); } }
22.1
57
0.633484
cubic1271
09642a133a0c8247d15333c899d77120fabbc293
361
cpp
C++
codeforces/1256/A/1256A.cpp
freedomDR/coding
310a68077de93ef445ccd2929e90ba9c22a9b8eb
[ "MIT" ]
null
null
null
codeforces/1256/A/1256A.cpp
freedomDR/coding
310a68077de93ef445ccd2929e90ba9c22a9b8eb
[ "MIT" ]
null
null
null
codeforces/1256/A/1256A.cpp
freedomDR/coding
310a68077de93ef445ccd2929e90ba9c22a9b8eb
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; int main() { int t; cin >> t; while(t--) { long long a,b,n,s; cin >> a >> b >> n >> s; if(a*n + b < s) cout << "NO" << endl; else if(a*n <= s) cout << "YES" << endl; else if(s%n <= b) cout << "YES" << endl; else cou...
21.235294
48
0.415512
freedomDR
0966ac6cc1ad8d92b97baa5ffababa3e1c7f749f
275
cpp
C++
problems/acmicpc_14491.cpp
qawbecrdtey/BOJ-sol
e3f410e8f4e3a6ade51b68ce2024529870edac64
[ "MIT" ]
null
null
null
problems/acmicpc_14491.cpp
qawbecrdtey/BOJ-sol
e3f410e8f4e3a6ade51b68ce2024529870edac64
[ "MIT" ]
null
null
null
problems/acmicpc_14491.cpp
qawbecrdtey/BOJ-sol
e3f410e8f4e3a6ade51b68ce2024529870edac64
[ "MIT" ]
null
null
null
#include <stdio.h> #include <vector> using namespace std; int main() { int n; scanf("%d", &n); vector<int> v; while(n) { v.push_back(n % 9); n /= 9; } for(auto it = v.rbegin(); it != v.rend(); ++it) { printf("%d", *it); } }
18.333333
53
0.454545
qawbecrdtey
0969574d8c5bf644825b85518c35bd7e91e61d2d
1,857
cpp
C++
examples/asio/main.cpp
umogSlayer/portable_concurrency
56be81d719fd73c38607c44d38066cd8e6b7a87d
[ "CC0-1.0" ]
59
2017-12-08T16:24:01.000Z
2022-03-27T12:11:29.000Z
examples/asio/main.cpp
umogSlayer/portable_concurrency
56be81d719fd73c38607c44d38066cd8e6b7a87d
[ "CC0-1.0" ]
18
2017-05-30T05:59:17.000Z
2021-09-06T14:22:40.000Z
examples/asio/main.cpp
umogSlayer/portable_concurrency
56be81d719fd73c38607c44d38066cd8e6b7a87d
[ "CC0-1.0" ]
10
2017-02-21T05:34:59.000Z
2021-02-01T12:01:02.000Z
#include <algorithm> #include <iostream> #include <iterator> #include <sstream> #include <string> #include <string_view> #include <portable_concurrency/future> #include <asio/io_context.hpp> #include <asio/read_until.hpp> #include <asio/streambuf.hpp> #include <asio/write.hpp> #include <asio/ip/address.hpp> #include...
35.037736
116
0.671513
umogSlayer
096f848b2e112d626a6046ba1436ee11d171cf91
518
cpp
C++
server/sessions/session.cpp
5cript/factorem
5e8bb9a9633990fd0db23a060af2e6914ced9600
[ "MIT" ]
1
2016-06-15T14:46:27.000Z
2016-06-15T14:46:27.000Z
server/sessions/session.cpp
5cript/factorem
5e8bb9a9633990fd0db23a060af2e6914ced9600
[ "MIT" ]
null
null
null
server/sessions/session.cpp
5cript/factorem
5e8bb9a9633990fd0db23a060af2e6914ced9600
[ "MIT" ]
null
null
null
#include "session.hpp" namespace Carbonide { namespace Server { //##################################################################################################################### Session::Session(std::string id) : attender::session{id} { } //------------------------------------------------...
34.533333
120
0.177606
5cript
09724eed7c586b68976d25741924486033a2d958
2,062
hpp
C++
module-apps/application-clock/ApplicationClock.hpp
SP2FET/MuditaOS-1
2906bb8a2fb3cdd39b167e600f6cc6d9ce1327bd
[ "BSL-1.0" ]
1
2021-11-11T22:56:43.000Z
2021-11-11T22:56:43.000Z
module-apps/application-clock/ApplicationClock.hpp
SP2FET/MuditaOS-1
2906bb8a2fb3cdd39b167e600f6cc6d9ce1327bd
[ "BSL-1.0" ]
null
null
null
module-apps/application-clock/ApplicationClock.hpp
SP2FET/MuditaOS-1
2906bb8a2fb3cdd39b167e600f6cc6d9ce1327bd
[ "BSL-1.0" ]
null
null
null
// Copyright (c) 2017-2021, Mudita Sp. z.o.o. All rights reserved. // For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md #pragma once #include "Application.hpp" #include "Service/Message.hpp" #include "gui/widgets/Label.hpp" #include "gui/widgets/Image.hpp" #include "gui/widgets/ProgressBar.hpp" #include...
39.653846
120
0.595053
SP2FET
097578fd2ee5199b09b74729c2e84dd4ad576bac
3,613
cpp
C++
opengl/shader.cpp
mwkpe/apeiron
23f283ca466b828e1b36da6b32c74bf95dd9bd70
[ "MIT" ]
3
2018-11-07T19:59:20.000Z
2020-12-20T14:35:21.000Z
opengl/shader.cpp
mwkpe/apeiron
23f283ca466b828e1b36da6b32c74bf95dd9bd70
[ "MIT" ]
null
null
null
opengl/shader.cpp
mwkpe/apeiron
23f283ca466b828e1b36da6b32c74bf95dd9bd70
[ "MIT" ]
1
2019-11-07T07:40:21.000Z
2019-11-07T07:40:21.000Z
#include "shader.h" #include <fstream> #include <sstream> #include <glad/glad.h> #include "engine/error.h" namespace { std::string read_file(std::string_view file) { if (std::ifstream fs{std::string{file}}; fs.is_open()) { std::stringstream ss; ss << fs.rdbuf(); return ss.str(); } else { thr...
24.578231
98
0.721838
mwkpe
0977e098afbff452d8614e89e28ab5ca675683c8
9,596
cpp
C++
plugin_sa/game_sa/CGame.cpp
gta-chaos-mod/plugin-sdk
e3bf176337774a2afc797a47825f81adde78e899
[ "Zlib" ]
368
2015-01-01T21:42:00.000Z
2022-03-29T06:22:22.000Z
plugin_sa/game_sa/CGame.cpp
SteepCheat/plugin-sdk
a17c5d933cb8b06e4959b370092828a6a7aa00ef
[ "Zlib" ]
89
2016-05-08T06:42:36.000Z
2022-03-29T06:49:09.000Z
plugin_sa/game_sa/CGame.cpp
SteepCheat/plugin-sdk
a17c5d933cb8b06e4959b370092828a6a7aa00ef
[ "Zlib" ]
179
2015-02-03T23:41:17.000Z
2022-03-26T08:27:16.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 "CGame.h" PLUGIN_SOURCE_FILE char(&CGame::aDatFile)[32] = *reinterpret_cast<char(*)[32]>(GLOBAL_ADDRE...
43.420814
128
0.749271
gta-chaos-mod
097a6d521a2aedb002e2f1de80ba832cfd173c1b
9,385
cpp
C++
lib/src/core/ConstructSet.cpp
jplehr/InstRO
62a27e2c0cd24abc615e102c53bad08225aa8c0d
[ "BSD-3-Clause" ]
3
2016-03-30T06:37:59.000Z
2021-08-06T01:39:10.000Z
lib/src/core/ConstructSet.cpp
jplehr/InstRO
62a27e2c0cd24abc615e102c53bad08225aa8c0d
[ "BSD-3-Clause" ]
13
2016-04-13T16:11:12.000Z
2018-04-16T11:06:45.000Z
lib/src/core/ConstructSet.cpp
jplehr/InstRO
62a27e2c0cd24abc615e102c53bad08225aa8c0d
[ "BSD-3-Clause" ]
1
2019-01-28T17:57:09.000Z
2019-01-28T17:57:09.000Z
#include "instro/core/ConstructSet.h" #include "instro/utility/Logger.h" #include <assert.h> #include <vector> #include <unordered_map> #include <algorithm> #include <iterator> namespace InstRO { namespace Core { std::string Construct::specificConstructTraitToString() const { using CTLvl = InstRO::Core::ConstructTr...
32.474048
119
0.72456
jplehr
09867b3c7d2640f0700f6d4cec7948501b4d3fa3
613
cpp
C++
Array/RepeatingElement.cpp
VanshMaheshwari30/DS-Algo
d47710387d78ed418a229b3a021ce37c9fcd949a
[ "MIT" ]
1
2020-10-21T07:53:54.000Z
2020-10-21T07:53:54.000Z
Array/RepeatingElement.cpp
VanshMaheshwari30/DS-Algo
d47710387d78ed418a229b3a021ce37c9fcd949a
[ "MIT" ]
null
null
null
Array/RepeatingElement.cpp
VanshMaheshwari30/DS-Algo
d47710387d78ed418a229b3a021ce37c9fcd949a
[ "MIT" ]
1
2020-10-20T09:11:34.000Z
2020-10-20T09:11:34.000Z
#include<iostream> using namespace std; int findRepeating (int arr[],int n) { int slow = arr[0], fast = arr[0]; do { slow = arr[slow]; fast = arr[arr[fast]]; } while(slow != fast); slow = arr[0]; while (slow != fast) { slow = arr[slow]; fast = arr[fast]; ...
19.15625
71
0.508972
VanshMaheshwari30
098755a7c8e2dd1e35de0c0cae44c38fd5bef7fb
6,248
cpp
C++
source/lib/cpu/instruction/instruction_builder.cpp
olduf/gb-emu
37a2195fa67a2656cc11541eb75b1f7a548057b2
[ "Unlicense" ]
null
null
null
source/lib/cpu/instruction/instruction_builder.cpp
olduf/gb-emu
37a2195fa67a2656cc11541eb75b1f7a548057b2
[ "Unlicense" ]
null
null
null
source/lib/cpu/instruction/instruction_builder.cpp
olduf/gb-emu
37a2195fa67a2656cc11541eb75b1f7a548057b2
[ "Unlicense" ]
null
null
null
#include "lib/cpu/instruction/instruction_builder.hpp" namespace gb_lib { InstructionBuilder::InstructionBuilder(uint32_t code, uint32_t cpuCycle, uint32_t lengthInBytes, std::string label) { this->code = code; this->cpuCycle = cpuCycle; this->cpuCycleOverride = 0; this->label = label; this->lengt...
22.156028
150
0.721511
olduf
098782f6545c061bb25fe34ffc0423e20c7228b4
4,998
cpp
C++
mmkDebugStackTest/stacks.cpp
MaulingMonkey/libMmkDebugStack
b0d79b736327f3c3beea5d9c49a922186ff14d27
[ "Apache-2.0" ]
null
null
null
mmkDebugStackTest/stacks.cpp
MaulingMonkey/libMmkDebugStack
b0d79b736327f3c3beea5d9c49a922186ff14d27
[ "Apache-2.0" ]
null
null
null
mmkDebugStackTest/stacks.cpp
MaulingMonkey/libMmkDebugStack
b0d79b736327f3c3beea5d9c49a922186ff14d27
[ "Apache-2.0" ]
null
null
null
/* Copyright 2017 MaulingMonkey 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 writ...
58.8
206
0.736495
MaulingMonkey
098bd81b2d54ea03dedc294882a621df49910b90
1,806
cpp
C++
src/entity_systems/ffi_mask.cpp
mokoi/luxengine
965532784c4e6112141313997d040beda4b56d07
[ "MIT" ]
11
2015-03-02T07:43:00.000Z
2021-12-04T04:53:02.000Z
src/entity_systems/ffi_mask.cpp
mokoi/luxengine
965532784c4e6112141313997d040beda4b56d07
[ "MIT" ]
1
2015-03-28T17:17:13.000Z
2016-10-10T05:49:07.000Z
src/entity_systems/ffi_mask.cpp
mokoi/luxengine
965532784c4e6112141313997d040beda4b56d07
[ "MIT" ]
3
2016-11-04T01:14:31.000Z
2020-05-07T23:42:27.000Z
/**************************** Copyright © 2014 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, including co...
28.21875
243
0.709302
mokoi
09928d166d0274ada476430ebb19b4537036965b
15,650
cpp
C++
src/command.cpp
allenh1/hsh
9ed8dc3ebcc1d7f4a8d236cb389b8e823c831fdd
[ "Apache-2.0" ]
9
2016-09-12T00:21:30.000Z
2019-04-25T23:39:13.000Z
src/command.cpp
allenh1/hsh
9ed8dc3ebcc1d7f4a8d236cb389b8e823c831fdd
[ "Apache-2.0" ]
14
2017-10-01T20:27:48.000Z
2019-10-04T01:04:04.000Z
src/command.cpp
allenh1/hsh
9ed8dc3ebcc1d7f4a8d236cb389b8e823c831fdd
[ "Apache-2.0" ]
2
2016-10-20T18:36:03.000Z
2017-03-01T15:18:47.000Z
// Copyright 2016 Hunter L. Allen // // 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...
30.038388
99
0.591885
allenh1
0993096e3eebd8e203105f82c64c94e7507102cc
2,214
cpp
C++
animation/animation.cpp
canuc/meow-engine
25f5396136d90691e4a4451f382a45da9fdcebc0
[ "BSD-3-Clause" ]
1
2020-01-24T01:14:04.000Z
2020-01-24T01:14:04.000Z
animation/animation.cpp
canuc/meow-engine
25f5396136d90691e4a4451f382a45da9fdcebc0
[ "BSD-3-Clause" ]
null
null
null
animation/animation.cpp
canuc/meow-engine
25f5396136d90691e4a4451f382a45da9fdcebc0
[ "BSD-3-Clause" ]
1
2020-06-05T07:00:16.000Z
2020-06-05T07:00:16.000Z
#include "animation/animation.h" Animation::Animation(meow_time_t start_time, meow_time_t end_time, InterpolatorType type) { startTime = start_time; if (end_time != 0 && end_time < startTime ) { endTime = startTime + end_time; } else { endTime = end_time; } interpolator = createIn...
26.674699
91
0.651762
canuc
09934f2151b8b7dca256141a60d6f2890e2a23aa
4,062
cpp
C++
examples/get-started/Vegg_BLE_DW/components/arduino/libraries/IOTMasterBoard/src/memory.cpp
Techtesh/dwranging
3233947d7b91a8bf1b9d17417d0ae4e22689a865
[ "Apache-2.0" ]
null
null
null
examples/get-started/Vegg_BLE_DW/components/arduino/libraries/IOTMasterBoard/src/memory.cpp
Techtesh/dwranging
3233947d7b91a8bf1b9d17417d0ae4e22689a865
[ "Apache-2.0" ]
null
null
null
examples/get-started/Vegg_BLE_DW/components/arduino/libraries/IOTMasterBoard/src/memory.cpp
Techtesh/dwranging
3233947d7b91a8bf1b9d17417d0ae4e22689a865
[ "Apache-2.0" ]
null
null
null
#include "memory.h" #include <string> extern core cor; extern tasks tsk; extern com com; memory mem; extern debug dbg; bool memory::initSPIFFS(void) { if(!SPIFFS.begin(true)) { dbg.print(ERRORR,"SPIFFS Mount Failed\r\n"); SPIFFS.format(); dbg.print(GENERALL,"SPIFFS Formated\r\n"); return 0; } SPIFFS.beg...
19.528846
88
0.608813
Techtesh
099d0bd398a44e821a239fe61410554fadacd429
727
cpp
C++
bit_operator/swap_bits.cpp
ja-ho/swfc
1aad671199f14c69228430228b161b4f7a09c4f7
[ "MIT" ]
null
null
null
bit_operator/swap_bits.cpp
ja-ho/swfc
1aad671199f14c69228430228b161b4f7a09c4f7
[ "MIT" ]
null
null
null
bit_operator/swap_bits.cpp
ja-ho/swfc
1aad671199f14c69228430228b161b4f7a09c4f7
[ "MIT" ]
null
null
null
#include<stdio.h> int swapBits(unsigned int x, unsigned int p1, unsigned int p2, unsigned int n) { /* Move all bits of first set to rightmost side */ unsigned int set1 = (x >> p1) & ((0x1 << n) - 1); /* Move all bits of second set to rightmost side */ unsigned int set2 = (x >> p2) & ((0x1 << n) - 1); /* XOR the...
24.233333
78
0.623109
ja-ho
09a865dee12f3618487a09868dd8ea85965ab404
3,773
cpp
C++
MobaJuiceEngine/Engine/src/core/GameObjectManager.cpp
JohnHonkanen/mobajuiceengine
43a6b0311bb4893958535d10f6fd997557825fb8
[ "Unlicense" ]
null
null
null
MobaJuiceEngine/Engine/src/core/GameObjectManager.cpp
JohnHonkanen/mobajuiceengine
43a6b0311bb4893958535d10f6fd997557825fb8
[ "Unlicense" ]
null
null
null
MobaJuiceEngine/Engine/src/core/GameObjectManager.cpp
JohnHonkanen/mobajuiceengine
43a6b0311bb4893958535d10f6fd997557825fb8
[ "Unlicense" ]
null
null
null
#include "core/GameObjectManager.h" #include <cereal/archives/xml.hpp> #include <cereal\types\memory.hpp> #include <iostream> #include <fstream> #include "core\GameEngine.h" namespace Engine { GameObjectManager::GameObjectManager() { } GameObjectManager::~GameObjectManager() { } void GameObjectManager::OnLoad...
22.325444
121
0.710575
JohnHonkanen
09a8f9e497daedcfc0546eb222896cb06f739aa2
521
hpp
C++
core/crypto/twox/twox.hpp
FlorianFranzen/kagome
27ee11c78767e72f0ecd2c515c77bebc2ff5758d
[ "Apache-2.0" ]
110
2019-04-03T13:39:39.000Z
2022-03-09T11:54:42.000Z
core/crypto/twox/twox.hpp
FlorianFranzen/kagome
27ee11c78767e72f0ecd2c515c77bebc2ff5758d
[ "Apache-2.0" ]
890
2019-03-22T21:33:30.000Z
2022-03-31T14:31:22.000Z
core/crypto/twox/twox.hpp
FlorianFranzen/kagome
27ee11c78767e72f0ecd2c515c77bebc2ff5758d
[ "Apache-2.0" ]
27
2019-06-25T06:21:47.000Z
2021-11-01T14:12:10.000Z
/** * Copyright Soramitsu Co., Ltd. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0 */ #ifndef KAGOME_CRYPTO_TWOX_HPP #define KAGOME_CRYPTO_TWOX_HPP #include "common/blob.hpp" namespace kagome::crypto { // TODO(warchant): PRE-357 refactor to span common::Hash64 make_twox64(gsl::span<const uint8_t...
21.708333
61
0.738964
FlorianFranzen
09abba876f6100c5c2081e2423f96ce2307bcd9b
2,683
hpp
C++
src/spp3.hpp
rxnew/spp
9d3996bbaa52b5cd527b5409d13d6d657151c3a0
[ "MIT" ]
null
null
null
src/spp3.hpp
rxnew/spp
9d3996bbaa52b5cd527b5409d13d6d657151c3a0
[ "MIT" ]
null
null
null
src/spp3.hpp
rxnew/spp
9d3996bbaa52b5cd527b5409d13d6d657151c3a0
[ "MIT" ]
null
null
null
#pragma once #include <cassert> #include <limits> #include <memory> #include <unordered_map> #include <unordered_set> #include <vector> #include "mathutils/vector.hpp" #include "util/priority_container.hpp" namespace spp { // 3次元ストリップパッキング問題 (3D SPP) ソルバ template <class Real = int> class Spp3 { public: using Box...
27.947917
74
0.673873
rxnew
09b2a5f2503a53a261d02828187a7984a4ab86b0
2,370
hxx
C++
arm9/source/emucore/MediaSrc.hxx
wavemotion-dave/StellaDS
8aa9954c9294c3d567b156619472a31ff6863da0
[ "MIT" ]
13
2020-11-25T20:58:44.000Z
2022-02-01T19:10:27.000Z
arm9/source/emucore/MediaSrc.hxx
wavemotion-dave/StellaDS
8aa9954c9294c3d567b156619472a31ff6863da0
[ "MIT" ]
null
null
null
arm9/source/emucore/MediaSrc.hxx
wavemotion-dave/StellaDS
8aa9954c9294c3d567b156619472a31ff6863da0
[ "MIT" ]
3
2021-07-29T10:05:51.000Z
2022-01-10T02:14:58.000Z
//============================================================================ // // SSSS tt lll lll // SS SS tt ll ll // SS tttttt eeee ll ll aaaa // SSSS tt ee ee ll ll aa // SS tt eeeeee ll ll aaaaa -- "An Atari 2600 VCS Emula...
24.6875
78
0.579747
wavemotion-dave
09b2a8f47265c904d03ca20056a11d05b3f9e234
3,781
hpp
C++
source/Graphics/Scene.hpp
hadryansalles/Luz
a262b809cb7e2e9e6ca033afcab300cbafc689f4
[ "MIT" ]
43
2021-07-27T19:22:35.000Z
2022-03-19T19:11:06.000Z
source/Graphics/Scene.hpp
hadryansalles/Luz
a262b809cb7e2e9e6ca033afcab300cbafc689f4
[ "MIT" ]
null
null
null
source/Graphics/Scene.hpp
hadryansalles/Luz
a262b809cb7e2e9e6ca033afcab300cbafc689f4
[ "MIT" ]
3
2021-09-26T13:32:10.000Z
2021-12-08T10:18:15.000Z
#pragma once #include <string> #include "Transform.hpp" #include "Camera.hpp" #include "BufferManager.hpp" #define MAX_TEXTURES 4096 #define MAX_MODELS 4096 #define MAX_LIGHTS 16 #define MAX_MESHES 2048 #define SCENE_BUFFER_INDEX 0 #define MODELS_BUFFER_INDEX 1 struct LightBlock { glm::vec3 color = glm::vec3(1...
22.915152
63
0.667019
hadryansalles
09b7cb82560372e81778ac6a6f588f8e8b812de7
886
cpp
C++
cpp/src/ow/fizzBuzz.cpp
dacozai/algorithm-diary
8ed5e119e4450e92e63276047ef19bbf422c2770
[ "MIT" ]
1
2019-10-17T08:34:55.000Z
2019-10-17T08:34:55.000Z
cpp/src/ow/fizzBuzz.cpp
dacozai/algorithm-diary
8ed5e119e4450e92e63276047ef19bbf422c2770
[ "MIT" ]
1
2020-05-24T08:32:13.000Z
2020-05-24T08:32:13.000Z
cpp/src/ow/fizzBuzz.cpp
dacozai/algorithm-diary
8ed5e119e4450e92e63276047ef19bbf422c2770
[ "MIT" ]
null
null
null
#include "test.h" #include <cstring> /** Question no.412 Hard * Author : Li-Han, Chen; 陳立瀚 * Date : 29th, December, 2019 * Source : https://leetcode.com/problems/fizz-buzz/ * Write a program that outputs the string representation of numbers from 1 to n. * * But for multiples of three it should output “Fizz” i...
26.058824
81
0.626411
dacozai
09b96dbebe097766c80d1f12eca128b3d169c7df
554
cpp
C++
host-transport-extensions/pldm/default/pldm_interface.cpp
dhruvibm/phosphor-debug-collector
124d31f09cbb0eebd0f14aceade5c2fd290520fe
[ "Apache-2.0" ]
4
2017-12-01T19:36:26.000Z
2021-03-30T16:44:11.000Z
host-transport-extensions/pldm/default/pldm_interface.cpp
dhruvibm/phosphor-debug-collector
124d31f09cbb0eebd0f14aceade5c2fd290520fe
[ "Apache-2.0" ]
17
2017-10-05T11:28:56.000Z
2022-02-21T05:27:31.000Z
host-transport-extensions/pldm/default/pldm_interface.cpp
dhruvibm/phosphor-debug-collector
124d31f09cbb0eebd0f14aceade5c2fd290520fe
[ "Apache-2.0" ]
25
2021-09-03T19:04:36.000Z
2022-03-31T13:09:18.000Z
// SPDX-License-Identifier: Apache-2.0 #include <stdint.h> #include <stdexcept> namespace phosphor { namespace dump { namespace host { /** * @brief Initiate offload of the dump with provided dump source ID * * @param[in] id - The Dump Source ID. * */ void requestOffload(uint32_t) { throw std::runtime_error(...
17.870968
76
0.714801
dhruvibm
09ba6491e6e7b9402e1bdd5c115cd9093ce664e2
1,053
cpp
C++
BZOJ/3810/std.cpp
sjj118/OI-Code
964ea6e799d14010f305c7e4aee269d860a781f7
[ "MIT" ]
null
null
null
BZOJ/3810/std.cpp
sjj118/OI-Code
964ea6e799d14010f305c7e4aee269d860a781f7
[ "MIT" ]
null
null
null
BZOJ/3810/std.cpp
sjj118/OI-Code
964ea6e799d14010f305c7e4aee269d860a781f7
[ "MIT" ]
null
null
null
#include<iostream> #include<cstdio> #include<cstring> #include<cmath> #include<algorithm> #define LL long long #define GET (ch>='0'&&ch<='9') using namespace std; const LL MAXLL=1ll<<62; template<class classname> inline void in(classname &x) { char ch=getchar();x=0; while (!GET) ch=getchar(); while (GET)...
29.25
100
0.54226
sjj118
09bce65cbcddedcf5d05a722a485758f0e91c3eb
47,934
cpp
C++
src/prx/utilities/heuristics/heuristic_map.cpp
aravindsiv/ML4KP
064015a7545e1713cbcad3e79807b5cec0849f54
[ "MIT" ]
3
2021-05-31T11:28:03.000Z
2021-05-31T13:49:30.000Z
src/prx/utilities/heuristics/heuristic_map.cpp
aravindsiv/ML4KP
064015a7545e1713cbcad3e79807b5cec0849f54
[ "MIT" ]
1
2021-09-03T09:39:32.000Z
2021-12-10T22:17:56.000Z
src/prx/utilities/heuristics/heuristic_map.cpp
aravindsiv/ML4KP
064015a7545e1713cbcad3e79807b5cec0849f54
[ "MIT" ]
2
2021-09-03T09:17:45.000Z
2021-10-04T15:52:58.000Z
#include "prx/utilities/heuristics/heuristic_map.hpp" #include "prx/simulation/plants/cell_plant.hpp" #include "prx/simulation/playback/trajectory.hpp" #include <iostream> #include <cmath> #include <algorithm> #include <limits> #include <vector> #include <random> #include <ctime> #include <queue> #include <fstream> n...
32.47561
193
0.584888
aravindsiv
09c33cfc1a5217c9bdaa70c59b5e3799396b9a9b
1,759
hpp
C++
cpp/src/kokkos/fom/fom_stress_update.hpp
fnrizzi/ElasticShearWaves
b09cde0711562412c6bc24de0d18ad3a972b7289
[ "BSD-3-Clause" ]
null
null
null
cpp/src/kokkos/fom/fom_stress_update.hpp
fnrizzi/ElasticShearWaves
b09cde0711562412c6bc24de0d18ad3a972b7289
[ "BSD-3-Clause" ]
null
null
null
cpp/src/kokkos/fom/fom_stress_update.hpp
fnrizzi/ElasticShearWaves
b09cde0711562412c6bc24de0d18ad3a972b7289
[ "BSD-3-Clause" ]
null
null
null
#ifndef LEAP_FROG_FOM_STRESS_UPDATE_HPP_ #define LEAP_FROG_FOM_STRESS_UPDATE_HPP_ #include "KokkosSparse_spmv.hpp" #include "KokkosBlas1_mult.hpp" namespace kokkosapp{ template <typename sc_t, typename state_d_t, typename jac_d_t, typename shear_mod_d_t> typename std::enable_if< is_accessible_on_host<state_d_t>::...
28.836066
86
0.714611
fnrizzi
09c68164c1b889f1fabfa7f81fb2a572e292bcfe
2,246
cpp
C++
lumino/LuminoEngine/src/Audio/Backend/ALAudioDevice.cpp
GameDevery/Lumino
abce2ddca4b7678b04dbfd0ae5348e196c3c9379
[ "MIT" ]
113
2020-03-05T01:27:59.000Z
2022-03-28T13:20:51.000Z
lumino/LuminoEngine/src/Audio/Backend/ALAudioDevice.cpp
GameDevery/Lumino
abce2ddca4b7678b04dbfd0ae5348e196c3c9379
[ "MIT" ]
35
2016-04-18T06:14:08.000Z
2020-02-09T15:51:58.000Z
lumino/LuminoEngine/src/Audio/Backend/ALAudioDevice.cpp
GameDevery/Lumino
abce2ddca4b7678b04dbfd0ae5348e196c3c9379
[ "MIT" ]
12
2020-12-21T12:03:59.000Z
2021-12-15T02:07:49.000Z
 #ifdef LN_USE_OPENAL #include "Internal.hpp" #include "ALAudioDevice.hpp" #include "../ARIs/ARINode.hpp" namespace ln { namespace detail { //============================================================================== // ALAudioDevice ALAudioDevice::ALAudioDevice() : m_alDevice(nullptr) , m_alContext(nullptr) ...
21.596154
155
0.717275
GameDevery
09cac71c56b4ce1376007361d505e56ecbd45fc7
54,184
cc
C++
tests/crypto.cc
everard/libecstk-crypto
2b6539ed349fc437e867115e07a0c9eb286c873d
[ "BSL-1.0" ]
null
null
null
tests/crypto.cc
everard/libecstk-crypto
2b6539ed349fc437e867115e07a0c9eb286c873d
[ "BSL-1.0" ]
null
null
null
tests/crypto.cc
everard/libecstk-crypto
2b6539ed349fc437e867115e07a0c9eb286c873d
[ "BSL-1.0" ]
null
null
null
// Copyright(c) 2021 Nezametdinov E. Ildus. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // #include "../src/crypto_algorithm.hh" #include "../src/crypto_stream_salsa.hh" #include "../src/crypto_stream_xsalsa...
35.670836
80
0.404806
everard
09cb5cdb9b08bae050f168be7ee20275b2b01f17
21,373
cp
C++
Text/Mod/Mappers.cp
romiras/Blackbox-fw-playground
6de94dc65513e657a9b86c1772e2c07742b608a8
[ "BSD-2-Clause" ]
1
2018-03-15T00:25:25.000Z
2018-03-15T00:25:25.000Z
Text/Mod/Mappers.cps
Spirit-of-Oberon/LightBox
8a45ed11dcc02ae97e86f264dcee3e07c910ff9d
[ "BSD-2-Clause" ]
null
null
null
Text/Mod/Mappers.cps
Spirit-of-Oberon/LightBox
8a45ed11dcc02ae97e86f264dcee3e07c910ff9d
[ "BSD-2-Clause" ]
1
2018-03-14T17:53:27.000Z
2018-03-14T17:53:27.000Z
MODULE TextMappers; (** project = "BlackBox" organization = "www.oberon.ch" contributors = "Oberon microsystems" version = "System/Rsrc/About" copyright = "System/Rsrc/About" license = "Docu/BB-License" changes = "" issues = "" **) IMPORT Strings, Views, Di...
35.327273
119
0.463997
romiras
09d31e664956fce118959c3037cc4c0b4d5c72b0
1,637
cpp
C++
solutions/c++/problems/[0227_Medium] Basic Calculator II.cpp
RageBill/leetcode
a11d411f4e38b5c3f05ca506a193f50b25294497
[ "MIT" ]
6
2021-02-20T14:00:22.000Z
2022-03-31T15:26:44.000Z
solutions/c++/problems/[0227_Medium] Basic Calculator II.cpp
RageBill/leetcode
a11d411f4e38b5c3f05ca506a193f50b25294497
[ "MIT" ]
null
null
null
solutions/c++/problems/[0227_Medium] Basic Calculator II.cpp
RageBill/leetcode
a11d411f4e38b5c3f05ca506a193f50b25294497
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; class Solution { public: void handleTemp(string &temp, vector<int> &nums, vector<char> &operators) { if (!temp.empty()) { int curr = stoi(temp); temp = ""; if (!operators.empty() && !nums.empty()) { char opt ...
27.283333
79
0.3989
RageBill
09dc7fb04bfdd6d42a52e39a909e849bb32fce8d
3,836
cpp
C++
src/plugins/lmp/plugins/fradj/eqconfigurator.cpp
MellonQ/leechcraft
71cbb238d2dade56b3865278a6a8e6a58c217fc5
[ "BSL-1.0" ]
1
2017-01-12T07:05:45.000Z
2017-01-12T07:05:45.000Z
src/plugins/lmp/plugins/fradj/eqconfigurator.cpp
MellonQ/leechcraft
71cbb238d2dade56b3865278a6a8e6a58c217fc5
[ "BSL-1.0" ]
null
null
null
src/plugins/lmp/plugins/fradj/eqconfigurator.cpp
MellonQ/leechcraft
71cbb238d2dade56b3865278a6a8e6a58c217fc5
[ "BSL-1.0" ]
null
null
null
/********************************************************************** * LeechCraft - modular cross-platform feature rich internet client. * Copyright (C) 2006-2014 Georg Rudoy * * Boost Software License - Version 1.0 - August 17th, 2003 * * Permission is hereby granted, free of charge, to any person or organiz...
30.688
97
0.688478
MellonQ
09e1d02889e897e35e5b95c1bf7c21a205482cea
247
cpp
C++
Codeforces/problems/0950/A/950A.cpp
object-oriented-human/competitive
9e761020e887d8980a39a64eeaeaa39af0ecd777
[ "MIT" ]
2
2021-07-27T10:46:47.000Z
2021-07-27T10:47:57.000Z
Codeforces/problems/0950/A/950A.cpp
foooop/competitive
9e761020e887d8980a39a64eeaeaa39af0ecd777
[ "MIT" ]
null
null
null
Codeforces/problems/0950/A/950A.cpp
foooop/competitive
9e761020e887d8980a39a64eeaeaa39af0ecd777
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int main() { int l, r, a; cin >> l >> r >> a; while (a > 0) { if (l > r) { r++; } else { l++; } a--; } cout << min(l, r) * 2; }
15.4375
36
0.323887
object-oriented-human
09e4456f9f9670ba881fedb1e4d921f1b0b11f5c
432
cpp
C++
LeetCode/My Calendar I/main.cpp
Code-With-Aagam/competitive-programming
610520cc396fb13a03c606b5fb6739cfd68cc444
[ "MIT" ]
2
2022-02-08T12:37:41.000Z
2022-03-09T03:48:56.000Z
LeetCode/My Calendar I/main.cpp
Code-With-Aagam/competitive-programming
610520cc396fb13a03c606b5fb6739cfd68cc444
[ "MIT" ]
null
null
null
LeetCode/My Calendar I/main.cpp
Code-With-Aagam/competitive-programming
610520cc396fb13a03c606b5fb6739cfd68cc444
[ "MIT" ]
null
null
null
class MyCalendar { private: vector<pair<int, int>> bookings; public: MyCalendar() { bookings.clear(); } bool book(int start, int end) { for (const auto &booking : bookings) { if (booking.first < end && start < booking.second) { return false...
22.736842
65
0.49537
Code-With-Aagam
09e67544acbb858638e364da265629f14432de7f
8,730
hpp
C++
library/ATF/AutoMineMachineInfo.hpp
lemkova/Yorozuya
f445d800078d9aba5de28f122cedfa03f26a38e4
[ "MIT" ]
29
2017-07-01T23:08:31.000Z
2022-02-19T10:22:45.000Z
library/ATF/AutoMineMachineInfo.hpp
kotopes/Yorozuya
605c97d3a627a8f6545cc09f2a1b0a8afdedd33a
[ "MIT" ]
90
2017-10-18T21:24:51.000Z
2019-06-06T02:30:33.000Z
library/ATF/AutoMineMachineInfo.hpp
kotopes/Yorozuya
605c97d3a627a8f6545cc09f2a1b0a8afdedd33a
[ "MIT" ]
44
2017-12-19T08:02:59.000Z
2022-02-24T23:15:01.000Z
// This file auto generated by plugin for ida pro. Generated code only for x64. Please, dont change manually #pragma once #include <common/common.h> #include <AutoMineMachine.hpp> START_ATF_NAMESPACE namespace Info { using AutoMineMachinector_AutoMineMachine2_ptr = void (WINAPIV*)(struct Aut...
105.180723
195
0.783505
lemkova
09ed599a370b79513bc3edd9e6917c0ef354b991
3,850
cpp
C++
MovieClass_wpr/MovieClass_wpr/MovieClass_wpr.cpp
nolivaldeziii/advanced_csharp-movie-search-engine
b89a202898b9b081d9c30e9aa19088c8f1466bfb
[ "MIT" ]
null
null
null
MovieClass_wpr/MovieClass_wpr/MovieClass_wpr.cpp
nolivaldeziii/advanced_csharp-movie-search-engine
b89a202898b9b081d9c30e9aa19088c8f1466bfb
[ "MIT" ]
null
null
null
MovieClass_wpr/MovieClass_wpr/MovieClass_wpr.cpp
nolivaldeziii/advanced_csharp-movie-search-engine
b89a202898b9b081d9c30e9aa19088c8f1466bfb
[ "MIT" ]
null
null
null
// This is the main DLL file. #include "stdafx.h" #include "MovieClass_wpr.h" #include "C:\Users\Noli\Dropbox\Programming\Projects\Movie Search Engine\MovieClass\MovieClass\Movie_Class.h" #include "C:\Users\Noli\Dropbox\Programming\Projects\Movie Search Engine\MovieClass\MovieClass\LinkedList.h" void MovieClass_wpr...
21.388889
109
0.683636
nolivaldeziii
09f2dc40531eb338452ce283d40d845e7c15d178
2,215
cc
C++
cc/old/mongo-find.cc
acorg/acmacs-api
17aa618661748ad3959c5df61fc63b25b4f67904
[ "MIT" ]
null
null
null
cc/old/mongo-find.cc
acorg/acmacs-api
17aa618661748ad3959c5df61fc63b25b4f67904
[ "MIT" ]
null
null
null
cc/old/mongo-find.cc
acorg/acmacs-api
17aa618661748ad3959c5df61fc63b25b4f67904
[ "MIT" ]
null
null
null
#include <iostream> #include <string> #pragma GCC diagnostic push #include "mongo-diagnostics.hh" #include <bsoncxx/builder/stream/document.hpp> #include <bsoncxx/json.hpp> #include <mongocxx/client.hpp> #include <mongocxx/instance.hpp> #include <mongocxx/pool.hpp> #pragma GCC diagnostic pop #include "acmacs-base/str...
40.272727
202
0.589616
acorg
09f54cdadd52858043aaed1474ea62e5f0a1f655
2,776
cpp
C++
smtlib/ast/stack/ast_symbol_table.cpp
cristina-serban/smtlib-parser
35906488715f3defad8eeed6ac53998093abaa5e
[ "Apache-2.0" ]
null
null
null
smtlib/ast/stack/ast_symbol_table.cpp
cristina-serban/smtlib-parser
35906488715f3defad8eeed6ac53998093abaa5e
[ "Apache-2.0" ]
1
2018-06-20T16:51:27.000Z
2018-06-24T00:12:19.000Z
smtlib/ast/stack/ast_symbol_table.cpp
cristina-serban/smtlib-parser
35906488715f3defad8eeed6ac53998093abaa5e
[ "Apache-2.0" ]
null
null
null
#include "ast_symbol_table.h" #include "ast/ast_command.h" #include "ast/ast_symbol_decl.h" using namespace std; using namespace smtlib; using namespace smtlib::ast; unordered_map<string, sptr_t<SortInfo>>& SymbolTable::getSorts() { return sorts; } unordered_map<string, sptr_v<FunInfo>>& SymbolTable::getFuns() ...
25.46789
92
0.599424
cristina-serban
09f7e5722fcefa648f048895e48135330ee12010
2,853
cpp
C++
Stack/celebrity_prob_stack.cpp
verma-tanishq/placement-essentials
515135f417f002db5e59317cce7660f29b8e902a
[ "MIT" ]
1
2021-04-04T16:23:15.000Z
2021-04-04T16:23:15.000Z
Stack/celebrity_prob_stack.cpp
verma-tanishq/placement-essentials
515135f417f002db5e59317cce7660f29b8e902a
[ "MIT" ]
null
null
null
Stack/celebrity_prob_stack.cpp
verma-tanishq/placement-essentials
515135f417f002db5e59317cce7660f29b8e902a
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; class Solution { public: //Function to find if there is a celebrity in the party or not. int celebrity(vector<vector<int> >& c, int n) { // code here // int a = 0; // int b = n - 1; // //we keep moving t...
27.171429
84
0.38591
verma-tanishq
09fc99740932074bcf1d1f6db0242c87bc220c8e
266
cpp
C++
libs/core/render/src/gl/detail/bksge_core_render_gl_detail_frame_buffer.cpp
myoukaku/bksge
0f8b60e475a3f1709723906e4796b5e60decf06e
[ "MIT" ]
4
2018-06-10T13:35:32.000Z
2021-06-03T14:27:41.000Z
libs/core/render/src/gl/detail/bksge_core_render_gl_detail_frame_buffer.cpp
myoukaku/bksge
0f8b60e475a3f1709723906e4796b5e60decf06e
[ "MIT" ]
566
2017-01-31T05:36:09.000Z
2022-02-09T05:04:37.000Z
libs/core/render/src/gl/detail/bksge_core_render_gl_detail_frame_buffer.cpp
myoukaku/bksge
0f8b60e475a3f1709723906e4796b5e60decf06e
[ "MIT" ]
1
2018-07-05T04:40:53.000Z
2018-07-05T04:40:53.000Z
/** * @file bksge_core_render_gl_detail_frame_buffer.cpp * * @brief FrameBuffer クラスの定義 * * @author myoukaku */ #include <bksge/fnd/config.hpp> #if !defined(BKSGE_HEADER_ONLY) #include <bksge/core/render/gl/detail/inl/frame_buffer_inl.hpp> #endif
20.461538
64
0.714286
myoukaku
67078c11ae9f2feb67cb5ab32f853ef21decf81e
21,474
cpp
C++
Doremi/Core/Source/ScreenSpaceDrawer.cpp
meraz/doremi
452d08ebd10db50d9563c1cf97699571889ab18f
[ "MIT" ]
1
2020-03-23T15:42:05.000Z
2020-03-23T15:42:05.000Z
Doremi/Core/Source/ScreenSpaceDrawer.cpp
Meraz/ssp15
452d08ebd10db50d9563c1cf97699571889ab18f
[ "MIT" ]
null
null
null
Doremi/Core/Source/ScreenSpaceDrawer.cpp
Meraz/ssp15
452d08ebd10db50d9563c1cf97699571889ab18f
[ "MIT" ]
1
2020-03-23T15:42:06.000Z
2020-03-23T15:42:06.000Z
/// Project #include <ScreenSpaceDrawer.hpp> #include <Handler/StateHandler.hpp> #include <MenuClasses/MainMenuHandler.hpp> /// Engine #include <DoremiEngine/Core/Include/SharedContext.hpp> // Graphic #include <DoremiEngine/Graphic/Include/GraphicModule.hpp> #include <DoremiEngine/Graphic/Include/Interface/Manager/SubM...
41.535783
157
0.593834
meraz
6708f7634cf7f066561e0e26d0d348c281c94e51
1,212
cpp
C++
test/utility/string/replace.cpp
heiseish/DawnCpp
6bcde05109bce67cc6d44c23d57e0c4348439196
[ "Apache-2.0" ]
3
2020-08-11T07:55:16.000Z
2022-01-14T16:05:39.000Z
test/utility/string/replace.cpp
heiseish/DawnCpp
6bcde05109bce67cc6d44c23d57e0c4348439196
[ "Apache-2.0" ]
null
null
null
test/utility/string/replace.cpp
heiseish/DawnCpp
6bcde05109bce67cc6d44c23d57e0c4348439196
[ "Apache-2.0" ]
null
null
null
#include "utility/string/replace.hpp" #include <string> #include "gtest/gtest.h" namespace Dawn::Utility { class StringReplaceTest : public ::testing::Test { }; TEST_F(StringReplaceTest, ReplaceWithDefaultOffsset) { std::string test_str = "news vietnam news about me"; auto res = Replace(test_str, "news", "hel...
27.545455
56
0.69967
heiseish
670a410d67cf2018ca9361c8d85770512ef06098
437
cpp
C++
VR Engine/src/GUIText.cpp
jeroennelis/VR_engine
80a8cfd26181b8060c6a36f107beaa160c370a23
[ "Apache-2.0" ]
null
null
null
VR Engine/src/GUIText.cpp
jeroennelis/VR_engine
80a8cfd26181b8060c6a36f107beaa160c370a23
[ "Apache-2.0" ]
null
null
null
VR Engine/src/GUIText.cpp
jeroennelis/VR_engine
80a8cfd26181b8060c6a36f107beaa160c370a23
[ "Apache-2.0" ]
null
null
null
#include "GUIText.h" #include "FontType.h" GUIText::GUIText(std::string text, float fontSize, FontType font, glm::vec2 position, float maxLineLength, bool centered) :TextString(text), FontSize(FontSize), Font(font), Position(position), LineMaxSize(maxLineLength), CenterText(centered) { } void GUIText::SetMeshInfo(i...
24.277778
121
0.736842
jeroennelis
e2505635e866b5e809d715e1b1d7af5ce5dbea6e
224
cpp
C++
katas/old-attempts/LcdScreenCpp/test.cpp
KyleMcMaster/kata-catalog-attempts
1bb2fad7e6ee56743460488a9022354bdeb942cb
[ "MIT" ]
null
null
null
katas/old-attempts/LcdScreenCpp/test.cpp
KyleMcMaster/kata-catalog-attempts
1bb2fad7e6ee56743460488a9022354bdeb942cb
[ "MIT" ]
14
2021-10-30T18:29:36.000Z
2021-10-30T18:29:52.000Z
katas/old-attempts/LcdScreenCpp/test.cpp
KyleMcMaster/kata-catalog-attempts
1bb2fad7e6ee56743460488a9022354bdeb942cb
[ "MIT" ]
null
null
null
#include "pch.h" #include "Digit.h" //TEST(TestCaseName, TestName) { // EXPECT_EQ(1, 1); // EXPECT_TRUE(true); //} TEST(CONSTRUCTOR_RETURNS_VALID_INSTANCE, LCD_DIGIT_TESTS) { auto digit = Digit(0); EXPECT_EQ(1, 1); }
18.666667
59
0.683036
KyleMcMaster
e2535ee40c07613290686b49a272af0b28e593fc
537
cpp
C++
Source/Graphics/Mesh/Mesh.cpp
Olaren15/flex-engine
1fef1b6342c69c18d63d51578711cf3ee1915646
[ "MIT" ]
5
2020-11-26T04:59:08.000Z
2022-03-28T14:41:58.000Z
Source/Graphics/Mesh/Mesh.cpp
Olaren15/Cobblestone
1fef1b6342c69c18d63d51578711cf3ee1915646
[ "MIT" ]
null
null
null
Source/Graphics/Mesh/Mesh.cpp
Olaren15/Cobblestone
1fef1b6342c69c18d63d51578711cf3ee1915646
[ "MIT" ]
null
null
null
#include "Mesh.hpp" #include "Graphics/Memory/MemoryManager/MemoryManager.hpp" namespace cbl::gfx { Mesh::Mesh(std::vector<uint32_t> const &indices, std::vector<Vertex> const &vertices) { this->indices = indices; this->vertices = vertices; } size_t Mesh::getIndicesSize() const { return sizeof(indices[0]) * indic...
33.5625
91
0.728119
Olaren15
e25a1e1f866a5893d99b586e9d8b974600e0014b
4,536
cpp
C++
CoreTests/STL/Test_Containers_Array.cpp
azhirnov/GraphicsGenFramework-modular
348be601f1991f102defa0c99250529f5e44c4d3
[ "BSD-2-Clause" ]
12
2017-12-23T14:24:57.000Z
2020-10-02T19:52:12.000Z
CoreTests/STL/Test_Containers_Array.cpp
azhirnov/ModularGraphicsFramework
348be601f1991f102defa0c99250529f5e44c4d3
[ "BSD-2-Clause" ]
null
null
null
CoreTests/STL/Test_Containers_Array.cpp
azhirnov/ModularGraphicsFramework
348be601f1991f102defa0c99250529f5e44c4d3
[ "BSD-2-Clause" ]
null
null
null
// Copyright (c) Zhirnov Andrey. For more information see 'LICENSE.txt' #include "CoreTests/STL/Common.h" #include "Debug.h" using namespace GX_STL; using namespace GX_STL::GXTypes; using namespace GX_STL::GXMath; typedef TDebugInstCounter<1> Elem_t; typedef TDebugInstCounter<2> VElem_t; typedef TDebugInstCou...
22.126829
86
0.641093
azhirnov
e25b1ff73fdcd06ce78f0e07a2eb3325839a7b44
694
hh
C++
Examples/QtScriptExample/QtScriptPluginExample/qtscriptplugin.hh
PerttuP/ScriptEmbedder
98f39da5f176af830aa0310023afdcc4c61f3e0d
[ "MIT" ]
null
null
null
Examples/QtScriptExample/QtScriptPluginExample/qtscriptplugin.hh
PerttuP/ScriptEmbedder
98f39da5f176af830aa0310023afdcc4c61f3e0d
[ "MIT" ]
null
null
null
Examples/QtScriptExample/QtScriptPluginExample/qtscriptplugin.hh
PerttuP/ScriptEmbedder
98f39da5f176af830aa0310023afdcc4c61f3e0d
[ "MIT" ]
null
null
null
/** * @file * @brief Defines example plugin for QtScript. Used in QtScriptExample. * @author Perttu Paarlahti 2016. */ #ifndef QTSCRIPTPLUGIN_HH #define QTSCRIPTPLUGIN_HH #include <QObject> #include "interpreterplugin.hh" /** * @brief Implements the InterpreterPlugin interface. Language: QtScript. */ class Q...
21.6875
74
0.755043
PerttuP
e25b4df7bdb4358db7403b096377a6fbd21b40f7
128
cpp
C++
genetics/shared/geometry/GeometryConfigSingleton.cpp
crest01/ShapeGenetics
7321f6484be668317ad763c0ca5e4d6cbfef8cd1
[ "MIT" ]
18
2017-04-26T13:53:43.000Z
2021-05-29T03:55:27.000Z
genetics/shared/geometry/GeometryConfigSingleton.cpp
crest01/ShapeGenetics
7321f6484be668317ad763c0ca5e4d6cbfef8cd1
[ "MIT" ]
null
null
null
genetics/shared/geometry/GeometryConfigSingleton.cpp
crest01/ShapeGenetics
7321f6484be668317ad763c0ca5e4d6cbfef8cd1
[ "MIT" ]
2
2017-10-17T10:32:01.000Z
2019-11-11T07:23:54.000Z
#include "GeometryConfigSingleton.h" namespace PGA { GeometryConfigSingleton* GeometryConfigSingleton::instance = nullptr; }
16
69
0.8125
crest01
e260e5d01b8ffcc76b93486457b5a5edb6ea43cb
661
cpp
C++
codeforces/115/A.cpp
amitdu6ey/Online-Judge-Submissions
9585aec29228211454bca5cf1d5738f49fb0aa8f
[ "MIT" ]
5
2020-06-30T12:44:25.000Z
2021-07-14T06:35:57.000Z
codeforces/115/A.cpp
amitdu6ey/Online-Judge-Submissions
9585aec29228211454bca5cf1d5738f49fb0aa8f
[ "MIT" ]
null
null
null
codeforces/115/A.cpp
amitdu6ey/Online-Judge-Submissions
9585aec29228211454bca5cf1d5738f49fb0aa8f
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> #define ll long long using namespace std; vector<int> d; vector<int> p; vector<vector<int>> adj; void bfs(int n){ queue<ll> q; q.push(n); d[n]=0; while(!q.empty()){ ll s = q.front(); q.pop(); for(int u : adj[s]){ d[u]=d[s]+1; q.push(u); } } } int main(){ int n; cin>>n;...
14.369565
30
0.485628
amitdu6ey
e26590763f8d7477f0bfe37458d4fb291f581153
469
cpp
C++
Engine/EngineProject/AttackComponent.cpp
joshuaRMS/BoardChampions-
b1146f721dd4e49b3fecba8243182efce64249f9
[ "MIT" ]
1
2019-12-09T13:53:40.000Z
2019-12-09T13:53:40.000Z
Engine/EngineProject/AttackComponent.cpp
joshuaRMS/BoardChampions-
b1146f721dd4e49b3fecba8243182efce64249f9
[ "MIT" ]
null
null
null
Engine/EngineProject/AttackComponent.cpp
joshuaRMS/BoardChampions-
b1146f721dd4e49b3fecba8243182efce64249f9
[ "MIT" ]
null
null
null
#include "AttackComponent.h" AttackComponent::AttackComponent(DiceComponent & dice, int basePoints) { attackPoints = basePoints; DiceComponent attackDice = dice; int attackDiceTrow = attackDice.trowDice(); int TotalAttackPoints = attackPoints + attackDiceTrow; std::cout << "attackDice result is : " << attackDic...
26.055556
85
0.739872
joshuaRMS
e26a73b474a9fd855eda4fc67d92e808e5d1a452
3,509
cpp
C++
SandBox/src/Application.cpp
TheMathy/RocketEngine
2affdf68226d90e511a37a38d65ec998cf4b7ad0
[ "Apache-2.0" ]
null
null
null
SandBox/src/Application.cpp
TheMathy/RocketEngine
2affdf68226d90e511a37a38d65ec998cf4b7ad0
[ "Apache-2.0" ]
null
null
null
SandBox/src/Application.cpp
TheMathy/RocketEngine
2affdf68226d90e511a37a38d65ec998cf4b7ad0
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include "RocketEngine/Core/Window/Window.h" #include "RocketEngine/Core/MasterRenderer/MasterRenderer.h" #include "RocketEngine/Core/Loaders/Loaders.h" #include "RocketEngine/Core/Input/Input.h" #include "RocketEngine/Terrain/Terrain.h" int main() { // "using namespace RocketEngine" is poss...
43.320988
189
0.671131
TheMathy
e26a8eff257f7100aaeb55f9ac0d6654b1b8391f
166
cpp
C++
src/weiss/fig1-9.cpp
msu-csc232-fa20/lectures
194a93cef456e29099c99147fbb1f645df07fc69
[ "MIT" ]
null
null
null
src/weiss/fig1-9.cpp
msu-csc232-fa20/lectures
194a93cef456e29099c99147fbb1f645df07fc69
[ "MIT" ]
null
null
null
src/weiss/fig1-9.cpp
msu-csc232-fa20/lectures
194a93cef456e29099c99147fbb1f645df07fc69
[ "MIT" ]
null
null
null
#include <iostream> #include "fig1-7.h" int main() { IntCell m; m.write( 5 ); std::cout << "Cell contents: " << m.read() << std::endl; return 0; }
12.769231
60
0.53012
msu-csc232-fa20
e26aa3305c3ff51166b96700cf5bf6563a660e03
310
hpp
C++
src/Syntax/parse stat.hpp
Kerndog73/STELA
11449b4bb440494f3ec4b1172b2688b5ec1bcd0a
[ "MIT" ]
10
2018-06-20T05:12:59.000Z
2021-11-23T02:56:04.000Z
src/Syntax/parse stat.hpp
Kerndog73/STELA
11449b4bb440494f3ec4b1172b2688b5ec1bcd0a
[ "MIT" ]
null
null
null
src/Syntax/parse stat.hpp
Kerndog73/STELA
11449b4bb440494f3ec4b1172b2688b5ec1bcd0a
[ "MIT" ]
null
null
null
// // parse stat.hpp // STELA // // Created by Indi Kernick on 1/7/18. // Copyright © 2018 Indi Kernick. All rights reserved. // #ifndef stela_parse_stat_hpp #define stela_parse_stat_hpp #include "ast.hpp" #include "parse tokens.hpp" namespace stela { ast::StatPtr parseStat(ParseTokens &); } #endif
14.090909
55
0.706452
Kerndog73
e26f49a8df0603bbbd1cf3e5039baeea8d1224e5
2,921
hpp
C++
src/metaSMT/backend/PicoSAT.hpp
voertler/metaSMT
726a78e0a18e0c06faa4483e7d7af34cee055529
[ "MIT" ]
33
2015-04-09T14:14:25.000Z
2022-03-27T08:55:58.000Z
src/metaSMT/backend/PicoSAT.hpp
voertler/metaSMT
726a78e0a18e0c06faa4483e7d7af34cee055529
[ "MIT" ]
28
2015-03-13T14:21:33.000Z
2019-04-02T07:59:34.000Z
src/metaSMT/backend/PicoSAT.hpp
voertler/metaSMT
726a78e0a18e0c06faa4483e7d7af34cee055529
[ "MIT" ]
9
2015-04-22T18:10:51.000Z
2021-08-06T12:44:12.000Z
#pragma once #include "../tags/SAT.hpp" #include "../result_wrapper.hpp" #include "../Features.hpp" extern "C" { #include <picosat.h> } #include <vector> #include <exception> #include <iostream> #include <boost/fusion/sequence/intrinsic.hpp> #include <boost/fusion/support/is_sequence.hpp> #include <boost/variant.hpp...
23
110
0.503595
voertler
e2884fd15b25da9471c65597084680efb18656ec
463
hpp
C++
include/display/menu_display.hpp
tanacchi/rogue_game
fd8f655f95932513f6aa63e0c413bbe110a4418a
[ "MIT" ]
10
2018-09-13T14:47:07.000Z
2022-01-10T11:46:12.000Z
include/display/menu_display.hpp
tanacchi/rogue_game
fd8f655f95932513f6aa63e0c413bbe110a4418a
[ "MIT" ]
13
2018-09-18T19:36:32.000Z
2020-11-12T16:26:22.000Z
include/display/menu_display.hpp
tanacchi/rogue_game
fd8f655f95932513f6aa63e0c413bbe110a4418a
[ "MIT" ]
null
null
null
#ifndef INCLUDED_NEW_MENU_DISPLAY #define INCLUDED_NEW_MENU_DISPLAY #include <display/display_panel.hpp> class Menu; class MenuDisplay : public DisplayPanel { public: MenuDisplay(std::size_t x, std::size_t y, std::size_t width = 10ul, std::size_t height = 10ul); void show(const Menu& menu, ...
22.047619
69
0.714903
tanacchi
e298374920b41c42ffd3edb42de512f20a4ed571
1,566
cc
C++
gcc-gcc-7_3_0-release/libstdc++-v3/testsuite/18_support/headers/limits/synopsis.cc
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
7
2020-05-02T17:34:05.000Z
2021-10-17T10:15:18.000Z
gcc-gcc-7_3_0-release/libstdc++-v3/testsuite/18_support/headers/limits/synopsis.cc
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
null
null
null
gcc-gcc-7_3_0-release/libstdc++-v3/testsuite/18_support/headers/limits/synopsis.cc
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
2
2020-07-27T00:22:36.000Z
2021-04-01T09:41:02.000Z
// { dg-do compile } // Copyright (C) 2007-2017 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library 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 ver...
32.625
74
0.748404
best08618
e29a065b4411560a31c1854ef88dadce1bfc9c2a
9,216
cpp
C++
openr/config/Config.cpp
butjar/openr
b42d1d2ba30e2e14f6b4e8e592aa88cff16b87c5
[ "MIT" ]
null
null
null
openr/config/Config.cpp
butjar/openr
b42d1d2ba30e2e14f6b4e8e592aa88cff16b87c5
[ "MIT" ]
null
null
null
openr/config/Config.cpp
butjar/openr
b42d1d2ba30e2e14f6b4e8e592aa88cff16b87c5
[ "MIT" ]
null
null
null
// Copyright 2004-present Facebook. All Rights Reserved. #include <folly/FileUtil.h> #include <glog/logging.h> #include <openr/if/gen-cpp2/KvStore_constants.h> #include <thrift/lib/cpp/util/EnumUtils.h> #include <thrift/lib/cpp2/protocol/Serializer.h> #include "Config.h" using apache::thrift::util::enumName; using o...
32.450704
110
0.687391
butjar
e29e86924200ec22d3b3fe2e083f79b3cb66914e
19,095
cpp
C++
dlls/world.cpp
hammermaps/halflife-op4-updated
2463ad7e5446149eb67a8cea531a46e88a8368db
[ "Unlicense" ]
null
null
null
dlls/world.cpp
hammermaps/halflife-op4-updated
2463ad7e5446149eb67a8cea531a46e88a8368db
[ "Unlicense" ]
null
null
null
dlls/world.cpp
hammermaps/halflife-op4-updated
2463ad7e5446149eb67a8cea531a46e88a8368db
[ "Unlicense" ]
null
null
null
/*** * * Copyright (c) 1996-2001, Valve LLC. All rights reserved. * * This product contains software technology licensed from Id * Software, Inc. ("Id Technology"). Id Technology (c) 1996 Id Software, Inc. * All Rights Reserved. * * Use, distribution, and modification of this source code and/or resulting * object ...
24.960784
113
0.697879
hammermaps
e2a3121aec769d49b3b6328be8f7226046fa8e20
7,394
cc
C++
src/offset.cc
hackjealousy/layer1_usrp
a0648f0c54ea840ed1a0a91614b0f6dc84f237f4
[ "BSD-2-Clause" ]
null
null
null
src/offset.cc
hackjealousy/layer1_usrp
a0648f0c54ea840ed1a0a91614b0f6dc84f237f4
[ "BSD-2-Clause" ]
null
null
null
src/offset.cc
hackjealousy/layer1_usrp
a0648f0c54ea840ed1a0a91614b0f6dc84f237f4
[ "BSD-2-Clause" ]
null
null
null
/* * Copyright (c) 2011, Joshua Lackey * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * * Redistributions of source code must retain the above copyright * notice, this lis...
25.763066
154
0.651068
hackjealousy
e2a63a178629ba5e8ac6ecb8113a6266c2ecbaad
230
cpp
C++
Example-Inheritance/Example-Inheritance/Members.cpp
sudoes/Data-Structure
7751b2627e85b238f691bd97099620a253f3abd4
[ "Unlicense" ]
null
null
null
Example-Inheritance/Example-Inheritance/Members.cpp
sudoes/Data-Structure
7751b2627e85b238f691bd97099620a253f3abd4
[ "Unlicense" ]
null
null
null
Example-Inheritance/Example-Inheritance/Members.cpp
sudoes/Data-Structure
7751b2627e85b238f691bd97099620a253f3abd4
[ "Unlicense" ]
null
null
null
#include "Members.h" #include <iostream> Members::Members() {} Members::Members(int d) { regID = d; } Members::~Members() {} void Members::printID() const { std::cout << "User info : " << regID << std::endl; }
14.375
52
0.573913
sudoes
e2a66343e2f10bf46c2d2c3eff3c4d4027423252
215
cpp
C++
CppIDL/source/main.cpp
obivan43/cppidl
843e0ca012145cd79e111ba9d51185c2780b35ac
[ "MIT" ]
null
null
null
CppIDL/source/main.cpp
obivan43/cppidl
843e0ca012145cd79e111ba9d51185c2780b35ac
[ "MIT" ]
null
null
null
CppIDL/source/main.cpp
obivan43/cppidl
843e0ca012145cd79e111ba9d51185c2780b35ac
[ "MIT" ]
null
null
null
#include "cppidlparser.h" int main(int argc, char* argv[]) { std::string inputFile = "data/test.cppidl"; cppidl::CppIDLParser parser; parser.Parse(inputFile.c_str()); system("pause"); return 0; }
17.916667
45
0.655814
obivan43
e2a85d3e66b9a9aacdfde08544540c6c7a124169
5,226
cpp
C++
spoki/libspoki/src/net/icmp_type_strings.cpp
inetrg/spoki
599a19366e4cea70e2391471de6f6b745935cddf
[ "MIT" ]
1
2022-02-03T15:35:16.000Z
2022-02-03T15:35:16.000Z
spoki/libspoki/src/net/icmp_type_strings.cpp
inetrg/spoki
599a19366e4cea70e2391471de6f6b745935cddf
[ "MIT" ]
null
null
null
spoki/libspoki/src/net/icmp_type_strings.cpp
inetrg/spoki
599a19366e4cea70e2391471de6f6b745935cddf
[ "MIT" ]
null
null
null
// clang-format off // DO NOT EDIT: this file is auto-generated by generate-enum-strings. // Run the target update-enum-strings if this file is out of sync. #include "spoki/config.hpp" #include "caf/string_view.hpp" SPOKI_PUSH_DEPRECATED_WARNING #include "spoki/net/icmp_type.hpp" #include <string> namespace spoki::...
34.84
69
0.688481
inetrg
e2ae1a13c2f469b06467789c77c51c38b50e262e
9,544
hpp
C++
source/library/winapi/gui/Displayable_window.hpp
alf-p-steinbach/winapi
866a3bcf5eddf4237db56790559bb0310f183abc
[ "MIT" ]
1
2021-11-21T18:55:34.000Z
2021-11-21T18:55:34.000Z
source/library/winapi/gui/Displayable_window.hpp
alf-p-steinbach/winapi
866a3bcf5eddf4237db56790559bb0310f183abc
[ "MIT" ]
null
null
null
source/library/winapi/gui/Displayable_window.hpp
alf-p-steinbach/winapi
866a3bcf5eddf4237db56790559bb0310f183abc
[ "MIT" ]
null
null
null
#pragma once // Source encoding: UTF-8 with BOM (π is a lowercase Greek "pi"). #include <c/stdint.hpp> // intptr_t #include <winapi/graphics/the_default_gui_font.hpp> #include <winapi/gui/Subclassed_window.hpp> #include <winapi/gui/windowing-support/Windowclass_id.hpp> #include <winapi/gui/windowing-suppo...
33.487719
111
0.489837
alf-p-steinbach
e2b3a49a1571a2ddcad3e50e10b78d7764919eca
10,248
hpp
C++
include/mckl/random/internal/aes_aesni_common.hpp
zhouyan/MCKL
1d03eb5a879e47e268efc73b1d433611e64307b3
[ "BSD-2-Clause" ]
12
2016-08-02T17:01:13.000Z
2021-03-04T12:11:33.000Z
include/mckl/random/internal/aes_aesni_common.hpp
zhouyan/MCKL
1d03eb5a879e47e268efc73b1d433611e64307b3
[ "BSD-2-Clause" ]
5
2017-05-09T12:05:06.000Z
2021-03-16T10:39:23.000Z
include/mckl/random/internal/aes_aesni_common.hpp
zhouyan/MCKL
1d03eb5a879e47e268efc73b1d433611e64307b3
[ "BSD-2-Clause" ]
2
2016-08-25T13:10:29.000Z
2019-05-01T01:54:29.000Z
//============================================================================ // MCKL/include/mckl/random/internal/aes_aesni_common.hpp //---------------------------------------------------------------------------- // MCKL: Monte Carlo Kernel Library //------------------------------------------------------------------...
66.545455
79
0.3629
zhouyan
e2bfe8067f27c20707be33b8d02368960788cec8
18,322
hpp
C++
svm_common/svm_utils/svm_utils.hpp
FelixWinterstein/FPGA-shared-mem
7b2a93f62196ffd0964cfc7c6f9d991e917908e6
[ "Apache-2.0" ]
13
2017-12-24T12:11:12.000Z
2022-01-31T17:45:46.000Z
svm_common/svm_utils/svm_utils.hpp
FelixWinterstein/FPGA-shared-mem
7b2a93f62196ffd0964cfc7c6f9d991e917908e6
[ "Apache-2.0" ]
null
null
null
svm_common/svm_utils/svm_utils.hpp
FelixWinterstein/FPGA-shared-mem
7b2a93f62196ffd0964cfc7c6f9d991e917908e6
[ "Apache-2.0" ]
6
2017-12-07T09:22:15.000Z
2021-06-25T04:07:29.000Z
/********************************************************************** * Felix Winterstein, Imperial College London, 2016 * * File: svm_utils.hpp * * Revision 1.01 * Additional Comments: distributed under a Apache-2.0 license, see LICENSE * **********************************************************************/ #ifnd...
28.318393
198
0.577339
FelixWinterstein
e2c3de297f26c5c3863a01f9a96ea6c0a7596514
897
hpp
C++
src/core/common/tasklet.hpp
darkostack/openvc
a2aff21eed7668dc78281a0223060bb8e35ad7dc
[ "BSD-3-Clause" ]
null
null
null
src/core/common/tasklet.hpp
darkostack/openvc
a2aff21eed7668dc78281a0223060bb8e35ad7dc
[ "BSD-3-Clause" ]
null
null
null
src/core/common/tasklet.hpp
darkostack/openvc
a2aff21eed7668dc78281a0223060bb8e35ad7dc
[ "BSD-3-Clause" ]
null
null
null
#ifndef TASKLET_HPP_ #define TASKLET_HPP_ #include "openvc-core-config.h" #include <stdio.h> #include <openvc/error.h> #include <openvc/tasklet.h> #include "common/locator.hpp" namespace vc { class TaskletScheduler; class Tasklet : public InstanceLocator, public OwnerLocator { friend class TaskletScheduler; ...
16.309091
65
0.705686
darkostack
e2c4ead51deae44b2cbd1f5f8a6d955adcefdf28
2,576
cpp
C++
boj/p17135/main.cpp
suhwanhwang/problem-solving
9421488fb97c4628bea831ac59ad5c5d9b8131d4
[ "MIT" ]
null
null
null
boj/p17135/main.cpp
suhwanhwang/problem-solving
9421488fb97c4628bea831ac59ad5c5d9b8131d4
[ "MIT" ]
null
null
null
boj/p17135/main.cpp
suhwanhwang/problem-solving
9421488fb97c4628bea831ac59ad5c5d9b8131d4
[ "MIT" ]
null
null
null
// from bits/stdc++.h // C #include <climits> #include <cmath> #include <cstdio> #include <cstdlib> #include <cstring> #include <ctime> // C++ #include <algorithm> #include <bitset> #include <complex> #include <deque> #include <fstream> #include <functional> #include <iostream> #include <istream> #include <iterator> #...
19.815385
59
0.541149
suhwanhwang
e2c6da0180dfd0bde724e425aaa61d39eb6a2296
1,643
hpp
C++
TabGraph/include/Surface/Mesh.hpp
Gpinchon/TabGraph
29eae2d9982b6ce3e4ff43c707c87c2f57ab39bb
[ "Apache-2.0" ]
1
2020-08-28T09:35:18.000Z
2020-08-28T09:35:18.000Z
TabGraph/include/Surface/Mesh.hpp
Gpinchon/TabGraph
29eae2d9982b6ce3e4ff43c707c87c2f57ab39bb
[ "Apache-2.0" ]
null
null
null
TabGraph/include/Surface/Mesh.hpp
Gpinchon/TabGraph
29eae2d9982b6ce3e4ff43c707c87c2f57ab39bb
[ "Apache-2.0" ]
1
2020-10-08T11:21:13.000Z
2020-10-08T11:21:13.000Z
/* * @Author: gpinchon * @Date: 2019-02-22 16:19:03 * @Last Modified by: gpinchon * @Last Modified time: 2021-05-12 14:14:44 */ #pragma once #include "Surface/Surface.hpp" #include <Property.hpp> // for PROPERTY, READONLYPROPERTY #include <glm/ext/matrix_float4x4.hpp> // for mat4 #include <map> #include <memory>...
28.824561
101
0.716372
Gpinchon
e2cf364b3725363dd4895e72780d83d70d2a0109
2,271
cpp
C++
graphs/boruvka.cpp
prince776/CodeBook
874fc7f94011ad1d25a55bcd91fecd2a11eb5a9b
[ "CC0-1.0" ]
null
null
null
graphs/boruvka.cpp
prince776/CodeBook
874fc7f94011ad1d25a55bcd91fecd2a11eb5a9b
[ "CC0-1.0" ]
null
null
null
graphs/boruvka.cpp
prince776/CodeBook
874fc7f94011ad1d25a55bcd91fecd2a11eb5a9b
[ "CC0-1.0" ]
1
2021-11-20T10:14:08.000Z
2021-11-20T10:14:08.000Z
#pragma GCC optimize("Ofast") #pragma GCC target("avx") #pragma GCC optimize("unroll-loops") #include <bits/stdc++.h> using namespace std; void setIO(string name = "") { ios_base::sync_with_stdio(0); cin.tie(0); cout.tie(0); if (name.size() == 0) return; FILE *fin = freopen((name + ".in").c_str()...
20.097345
79
0.451343
prince776
e2e115e7718b012835c03aced7535dd094841742
2,906
hpp
C++
libdqmc/la/modify.hpp
pebroecker/DQMC
c4a96cb20347ef722b6ae68c415233d464c89e93
[ "BSD-3-Clause" ]
null
null
null
libdqmc/la/modify.hpp
pebroecker/DQMC
c4a96cb20347ef722b6ae68c415233d464c89e93
[ "BSD-3-Clause" ]
null
null
null
libdqmc/la/modify.hpp
pebroecker/DQMC
c4a96cb20347ef722b6ae68c415233d464c89e93
[ "BSD-3-Clause" ]
null
null
null
#ifndef MODIFY_HPP #define MODIFY_HPP namespace dqmc { namespace la { template<typename T> inline void resize(const int&__restrict__ rows, const int&__restrict__ cols, T& M) { M.resize(rows, cols); // M.zeros(); // zeros(rows, cols, M); } template<typename T> inli...
24.216667
96
0.463868
pebroecker
e2e125e4b1dbec60655f9d50cbeb79afa6746868
2,491
hpp
C++
src/lib/model/FavoriteModel.hpp
gerickson/openhlx
f23a825ca56ee226db393da14d81a7d4e9ae0b33
[ "Apache-2.0" ]
1
2021-05-21T21:10:09.000Z
2021-05-21T21:10:09.000Z
src/lib/model/FavoriteModel.hpp
gerickson/openhlx
f23a825ca56ee226db393da14d81a7d4e9ae0b33
[ "Apache-2.0" ]
12
2021-06-12T16:42:30.000Z
2022-02-01T18:44:42.000Z
src/lib/model/FavoriteModel.hpp
gerickson/openhlx
f23a825ca56ee226db393da14d81a7d4e9ae0b33
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2019-2021 Grant Erickson * 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...
25.947917
105
0.711762
gerickson
e2e207699a7de7b21e9631d96aedf08d8ca0a7bf
7,800
cpp
C++
main_source/L2/tests/gelinearsolver/examples/ScalableProblems/LuksanVlcek2.cpp
ox-computing/solver-acceleration
c57b1f2f95b01e3e9c1cbf7a5a301878a0cccce5
[ "Apache-2.0" ]
1
2021-09-16T23:13:44.000Z
2021-09-16T23:13:44.000Z
main_source/L2/tests/gelinearsolver/examples/ScalableProblems/LuksanVlcek2.cpp
ox-computing/solver-acceleration
c57b1f2f95b01e3e9c1cbf7a5a301878a0cccce5
[ "Apache-2.0" ]
null
null
null
main_source/L2/tests/gelinearsolver/examples/ScalableProblems/LuksanVlcek2.cpp
ox-computing/solver-acceleration
c57b1f2f95b01e3e9c1cbf7a5a301878a0cccce5
[ "Apache-2.0" ]
null
null
null
// Copyright (C) 2005, 2006 International Business Machines and others. // All Rights Reserved. // This code is published under the Eclipse Public License. // // Authors: Andreas Waechter IBM 2005-10-127 #include "LuksanVlcek2.hpp" #include <cmath> #include <cstdio> using namespace Ipopt; LuksanVlc...
23.636364
120
0.446154
ox-computing
e2e2169ad54f331a13d1dcbfac2dfe213c9b93fc
5,691
cpp
C++
moai/src/uslscore/STLString.cpp
jjimenezg93/ai-pathfinding
e32ae8be30d3df21c7e64be987134049b585f1e6
[ "MIT" ]
null
null
null
moai/src/uslscore/STLString.cpp
jjimenezg93/ai-pathfinding
e32ae8be30d3df21c7e64be987134049b585f1e6
[ "MIT" ]
null
null
null
moai/src/uslscore/STLString.cpp
jjimenezg93/ai-pathfinding
e32ae8be30d3df21c7e64be987134049b585f1e6
[ "MIT" ]
null
null
null
// Copyright (c) 2010-2011 Zipline Games, Inc. All Rights Reserved. // http://getmoai.com #include "pch.h" #include <uslscore/STLString.h> #include <algorithm> #include <cctype> #include <iostream> #include <uslscore/USBase64Reader.h> #include <uslscore/USBase64Writer.h> #include <uslscore/USByteStream.h> #include <u...
24.320513
91
0.455105
jjimenezg93
e2e2d471aa036e52a497e6f746ec597502055459
513
cpp
C++
Ch 04/4.22.cpp
Felon03/CppPrimer
7dc2daf59f0ae7ec5670def15cb5fab174fe9780
[ "Apache-2.0" ]
null
null
null
Ch 04/4.22.cpp
Felon03/CppPrimer
7dc2daf59f0ae7ec5670def15cb5fab174fe9780
[ "Apache-2.0" ]
null
null
null
Ch 04/4.22.cpp
Felon03/CppPrimer
7dc2daf59f0ae7ec5670def15cb5fab174fe9780
[ "Apache-2.0" ]
null
null
null
/*将60分到75分之间的成绩设定为low pass*/ #include<iostream> using namespace std; int main() { int grade; cout << "Please input the grade" << endl; cin >> grade; /*使用条件运算符*/ cout << ((grade > 90) ? "high pass" : (grade <= 75 && grade >= 60) ? "low pass" : (grade < 60) ? "fail" : "pass") << endl; /*使用if语句*/ if (grade > 90)...
20.52
123
0.555556
Felon03
e2e8fa2a833d563b724e00109a92779895b0e1dd
3,759
hxx
C++
source/code/icelib/public/ice/output/elements/type.hxx
iceshard-engine/code-emitter
b86eda2bc0cbdc4302fb4b03ce012ca2a0f3aeea
[ "BSD-3-Clause-Clear" ]
null
null
null
source/code/icelib/public/ice/output/elements/type.hxx
iceshard-engine/code-emitter
b86eda2bc0cbdc4302fb4b03ce012ca2a0f3aeea
[ "BSD-3-Clause-Clear" ]
2
2019-09-30T05:20:37.000Z
2019-10-10T19:18:59.000Z
source/code/icelib/public/ice/output/elements/type.hxx
iceshard-engine/code-emitter
b86eda2bc0cbdc4302fb4b03ce012ca2a0f3aeea
[ "BSD-3-Clause-Clear" ]
null
null
null
#pragma once #include <ice/output/element.hxx> #include <unordered_map> #include <set> namespace ice::output { //! Defines a type object, which holds a given type and may be nested. class Type { public: //! Possible type properties. enum class Property { CONSTANT, ...
33.265487
102
0.615855
iceshard-engine
e2ef9923abdfc3557881782471eb90244bfa959a
853
cpp
C++
game/src/physics/MotionState.cpp
kparkins/peon
2dd8922b88d57416b51e9aa9ff1564b4a9e81f8b
[ "MIT" ]
null
null
null
game/src/physics/MotionState.cpp
kparkins/peon
2dd8922b88d57416b51e9aa9ff1564b4a9e81f8b
[ "MIT" ]
null
null
null
game/src/physics/MotionState.cpp
kparkins/peon
2dd8922b88d57416b51e9aa9ff1564b4a9e81f8b
[ "MIT" ]
null
null
null
#include "MotionState.h" MotionState::MotionState(const btTransform& startTrans, const btTransform& centerOfMassOffset) : m_graphicsWorldTrans(startTrans), m_centerOfMassOffset(centerOfMassOffset), m_startWorldTrans(startTrans), m_userPointer(0) {} void MotionState::getW...
38.772727
80
0.763189
kparkins
c3afa8b337052f84f5953af6f95e9906d68c4aa8
979
cpp
C++
spoj/Diehard/diehard (copy).cpp
Abhinavlamba/competitive-programming
fdf26f55e5559cde32651ef91f1927b1137442f9
[ "MIT" ]
1
2020-05-12T04:28:55.000Z
2020-05-12T04:28:55.000Z
spoj/Diehard/diehard (copy).cpp
devkant/competitive-programming
fdf26f55e5559cde32651ef91f1927b1137442f9
[ "MIT" ]
null
null
null
spoj/Diehard/diehard (copy).cpp
devkant/competitive-programming
fdf26f55e5559cde32651ef91f1927b1137442f9
[ "MIT" ]
5
2017-10-22T06:04:17.000Z
2020-08-04T11:08:47.000Z
#include <bits/stdc++.h> using namespace std; int dp[1005][1005]; int diehard(int h,int a,int air){ if(dp[h][a]!=-1){ cout<<"111"; return dp[h][a]; } if(air){ dp[h][a]=1+diehard(h+3,a+2,0); cout<<"222"; return dp[h][a]; }else{ int maxi=max(diehard(h-20,...
18.12963
63
0.344229
Abhinavlamba
c3b2990440a575c1e5255bec44bc85235d36565d
1,088
cpp
C++
src/engine/core/MTJD/worker_thread.cpp
galek/LumixEngine
d7d1738f7fc2bc7f6cf08d1217330a591b370ed9
[ "MIT" ]
8
2015-09-06T20:05:27.000Z
2021-07-14T11:12:33.000Z
src/engine/core/MTJD/worker_thread.cpp
gamedevforks/LumixEngine
d7d1738f7fc2bc7f6cf08d1217330a591b370ed9
[ "MIT" ]
null
null
null
src/engine/core/MTJD/worker_thread.cpp
gamedevforks/LumixEngine
d7d1738f7fc2bc7f6cf08d1217330a591b370ed9
[ "MIT" ]
null
null
null
#include "lumix.h" #include "core/MTJD/worker_thread.h" #include "core/MTJD/manager.h" #include "core/MTJD/job.h" #define PROFILE_START #define PROFILE_STOP namespace Lumix { namespace MTJD { #if TYPE == MULTI_THREAD WorkerTask::WorkerTask(IAllocator& allocator) : Task(allocator) { } WorkerTask::~Work...
17.548387
98
0.661765
galek
c3b4e5fb8bc8590967ddc906f06e0c6d64452d8c
10,589
cpp
C++
Midas/src/c-compiler/region/common/defaultlayout/structsrouter.cpp
Ivo-Balbaert/Vale
8df47e5d953b5c623a25ae4e8e494202fb736dab
[ "Apache-2.0" ]
null
null
null
Midas/src/c-compiler/region/common/defaultlayout/structsrouter.cpp
Ivo-Balbaert/Vale
8df47e5d953b5c623a25ae4e8e494202fb736dab
[ "Apache-2.0" ]
null
null
null
Midas/src/c-compiler/region/common/defaultlayout/structsrouter.cpp
Ivo-Balbaert/Vale
8df47e5d953b5c623a25ae4e8e494202fb736dab
[ "Apache-2.0" ]
null
null
null
#include <region/common/defaultimmutables/defaultimmutables.h> #include "structsrouter.h" ReferendStructsRouter::ReferendStructsRouter( GlobalState* globalState_, GetReferendStructsSource getReferendStructsSource_) : globalState(globalState_), getReferendStructsSource(getReferendStructsSource_) {} Cont...
45.446352
147
0.82784
Ivo-Balbaert
c3bb8196d743eb2a90c38a0157cf62cbc756af45
45,953
cpp
C++
software/swkernels/xi_norm_top.cpp
yhyoung/CHaiDNN
1877a81e0d1b44773af455b0eab4399636bbc181
[ "Apache-2.0" ]
288
2018-03-23T01:41:40.000Z
2022-03-03T08:52:54.000Z
software/swkernels/xi_norm_top.cpp
yhyoung/CHaiDNN
1877a81e0d1b44773af455b0eab4399636bbc181
[ "Apache-2.0" ]
171
2018-03-25T11:03:23.000Z
2022-01-29T14:16:59.000Z
software/swkernels/xi_norm_top.cpp
yhyoung/CHaiDNN
1877a81e0d1b44773af455b0eab4399636bbc181
[ "Apache-2.0" ]
154
2018-03-23T01:31:33.000Z
2022-03-04T14:26:40.000Z
/*---------------------------------------------------- Copyright 2017 Xilinx, 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 app...
29.362939
152
0.668226
yhyoung
c3beacd7ed17750fb755c24165e94b793ac84b13
695
hpp
C++
includes/Entities/rock.hpp
adi-g15/worldLineSim
f1c03a5a23cf74c6b1ad8547b9ae512b8fbbbf75
[ "MIT" ]
7
2021-02-05T22:44:42.000Z
2022-03-09T10:04:08.000Z
includes/Entities/rock.hpp
adi-g15/worldLineSim
f1c03a5a23cf74c6b1ad8547b9ae512b8fbbbf75
[ "MIT" ]
3
2020-12-13T18:02:26.000Z
2021-08-30T17:32:27.000Z
includes/Entities/rock.hpp
adi-g15/worldLineSim
f1c03a5a23cf74c6b1ad8547b9ae512b8fbbbf75
[ "MIT" ]
5
2021-02-10T04:36:31.000Z
2022-02-14T15:46:59.000Z
#pragma once #include "entity.hpp" class World; // forward-declaration class Rock; // forward-decl for RockState struct RockState : public EntityState { const coord location; RockState(const Rock*); }; class Rock: public Entity { typedef World* World_Ptr; public: const Entity_Point location; ...
22.419355
91
0.713669
adi-g15
c3c2a44bd05c22e32fac6725d66f1584289f9a62
2,977
hpp
C++
include/veriblock/state_manager.hpp
overcookedpanda/alt-integration-cpp
7932e79a77d9514ca0e0354636e77fba1845d707
[ "MIT" ]
null
null
null
include/veriblock/state_manager.hpp
overcookedpanda/alt-integration-cpp
7932e79a77d9514ca0e0354636e77fba1845d707
[ "MIT" ]
null
null
null
include/veriblock/state_manager.hpp
overcookedpanda/alt-integration-cpp
7932e79a77d9514ca0e0354636e77fba1845d707
[ "MIT" ]
null
null
null
// Copyright (c) 2019-2020 Xenios SEZC // https://www.veriblock.org // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef ALT_INTEGRATION_VERIBLOCK_STATE_MANAGER_H #define ALT_INTEGRATION_VERIBLOCK_STATE_MANAGER_H #include <m...
28.625
80
0.752435
overcookedpanda
c3c7471054b092d59b24ea631e5fa5c146ccce20
1,328
cpp
C++
src/tests/notes.cpp
scottiealexander/RaViNE
094143490d65ff636ef5474dc4275cd6e947a1d8
[ "MIT" ]
null
null
null
src/tests/notes.cpp
scottiealexander/RaViNE
094143490d65ff636ef5474dc4275cd6e947a1d8
[ "MIT" ]
null
null
null
src/tests/notes.cpp
scottiealexander/RaViNE
094143490d65ff636ef5474dc4275cd6e947a1d8
[ "MIT" ]
null
null
null
template <class T> class Packet { public: Packet(T data) : _data(data) {} Packet() = default; T data() { return _data; } protected: T _data; }; template <class PacketType> class Sink { public: virtual bool open_stream() = 0; virtual bool close_stream() = 0; virtual void process(PacketType& ...
15.623529
64
0.637801
scottiealexander
c3c75b5ae77033100bfc9df19f72988410f08ac0
7,002
cpp
C++
moai/src/moaicore/MOAIFont_bmfont.cpp
jjimenezg93/ai-pathfinding
e32ae8be30d3df21c7e64be987134049b585f1e6
[ "MIT" ]
null
null
null
moai/src/moaicore/MOAIFont_bmfont.cpp
jjimenezg93/ai-pathfinding
e32ae8be30d3df21c7e64be987134049b585f1e6
[ "MIT" ]
null
null
null
moai/src/moaicore/MOAIFont_bmfont.cpp
jjimenezg93/ai-pathfinding
e32ae8be30d3df21c7e64be987134049b585f1e6
[ "MIT" ]
null
null
null
// Copyright (c) 2010-2011 Zipline Games, Inc. All Rights Reserved. // http://getmoai.com #include "pch.h" #include <contrib/utf8.h> #include <moaicore/MOAIFont.h> #include <moaicore/MOAIFontReader.h> #include <moaicore/MOAIGlyphSet.h> #include <moaicore/MOAIStaticGlyphCache.h> #include <moaicore/MOAITexture.h> #if d...
27.245136
124
0.496287
jjimenezg93
c3cf32d6f1238d1e824c0a9f483bdbdb913b8132
861
cpp
C++
src/main.cpp
ramas008/MeshDissolver
de5953a009e9b199c414289e93b5076c341569fc
[ "MIT" ]
null
null
null
src/main.cpp
ramas008/MeshDissolver
de5953a009e9b199c414289e93b5076c341569fc
[ "MIT" ]
null
null
null
src/main.cpp
ramas008/MeshDissolver
de5953a009e9b199c414289e93b5076c341569fc
[ "MIT" ]
null
null
null
#include "GenerateParticleCommand.h" #include "ExtractFaceCommand.h" #include <maya/MFnPlugin.h> MStatus initializePlugin(MObject obj) { MFnPlugin plugin(obj, "August Ek & Ramin Assadi", "1.0", "Any"); MStatus status = plugin.registerCommand("extract", ExtractFaceCommand::creator); CHECK_MSTATUS_AND_RETU...
27.774194
88
0.727062
ramas008
c3d5eb31ab278ce0cc9eabe70854298affcd1963
1,283
cpp
C++
Visual Studio 2010/Projects/bjarneStroustrupC++PartII/bjarneStroustrupCFLTK/Chapter12Exercise2.cpp
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
6fd64801863e883508f15d16398744405f4f9e34
[ "Unlicense" ]
9
2018-10-24T15:16:47.000Z
2021-12-14T13:53:50.000Z
Visual Studio 2010/Projects/bjarneStroustrupC++PartII/bjarneStroustrupCFLTK/Chapter12Exercise2.cpp
ChrisBKirov/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
6fd64801863e883508f15d16398744405f4f9e34
[ "Unlicense" ]
null
null
null
Visual Studio 2010/Projects/bjarneStroustrupC++PartII/bjarneStroustrupCFLTK/Chapter12Exercise2.cpp
ChrisBKirov/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
6fd64801863e883508f15d16398744405f4f9e34
[ "Unlicense" ]
7
2018-10-29T15:30:37.000Z
2021-01-18T15:15:09.000Z
/* TITLE Rectangle and Text Chapter12Exercise2.cpp Bjarne Stroustrup "Programming: Principles and Practice Using C++" COMMENT Objective: Draw a rectangle using and place text within it. Input: - Output: Graph on screen. Author: Chris B. Kirov Date: 17. 08. 2015 */ #include <iost...
27.297872
105
0.650039
Ziezi
c3d685c18a6ca7b1398ee4f8036aa49c3ea4e68a
19,376
cpp
C++
crypto-algorithms/aes.cpp
Helios-vmg/cpp-crypto-algorithms
4696fb0c80dabd36e293cd346f6dc28818d98718
[ "Unlicense" ]
null
null
null
crypto-algorithms/aes.cpp
Helios-vmg/cpp-crypto-algorithms
4696fb0c80dabd36e293cd346f6dc28818d98718
[ "Unlicense" ]
null
null
null
crypto-algorithms/aes.cpp
Helios-vmg/cpp-crypto-algorithms
4696fb0c80dabd36e293cd346f6dc28818d98718
[ "Unlicense" ]
null
null
null
#include "aes.hpp" namespace symmetric{ namespace { const std::uint8_t sbox[] = { 0x63, 0x7C, 0x77, 0x7B, 0xF2, 0x6B, 0x6F, 0xC5, 0x30, 0x01, 0x67, 0x2B, 0xFE, 0xD7, 0xAB, 0x76, 0xCA, 0x82, 0xC9, 0x7D, 0xFA, 0x59, 0x47, 0xF0, 0xAD, 0xD4, 0xA2, 0xAF, 0x9C, 0xA4, 0x72, 0xC0, 0xB7, 0xFD, 0x93, 0x26, 0x36, 0x3...
36.627599
97
0.582215
Helios-vmg
c3d6a5e30870c9d28b2c9a9c1150d22a4d3b867d
1,785
cpp
C++
AnorEngine/Source/Math/vec2.cpp
useronuralp/GameEngineTest
cf11b1099a50d26eebaea6dcae02d3815c2bdd76
[ "Apache-2.0" ]
1
2021-05-25T13:38:15.000Z
2021-05-25T13:38:15.000Z
AnorEngine/Source/Math/vec2.cpp
useronuralp/GameEngineTest
cf11b1099a50d26eebaea6dcae02d3815c2bdd76
[ "Apache-2.0" ]
null
null
null
AnorEngine/Source/Math/vec2.cpp
useronuralp/GameEngineTest
cf11b1099a50d26eebaea6dcae02d3815c2bdd76
[ "Apache-2.0" ]
1
2021-06-08T14:12:58.000Z
2021-06-08T14:12:58.000Z
#include "pch.h" #include "vec2.h" namespace AnorEngine { namespace Math{ vec2& vec2::add(const vec2 &other) { this->x += other.x; this->y += other.y; return *this; } vec2& vec2::subtract(const vec2& other) { this->x -= other.x; this->y -= other.y; return *this; } vec2& vec2::multiply...
19.615385
70
0.563025
useronuralp
c3d7e689617106e050bc222a1c1903a9de1c09a5
232
cpp
C++
_site/Competitive Programming/UVa/UVa10055.cpp
anujkyadav07/anuj-k-yadav.github.io
ac5cccc8cdada000ba559538cd84921437b3c5e6
[ "MIT" ]
1
2019-06-10T04:39:49.000Z
2019-06-10T04:39:49.000Z
_site/Competitive Programming/UVa/UVa10055.cpp
anujkyadav07/anuj-k-yadav.github.io
ac5cccc8cdada000ba559538cd84921437b3c5e6
[ "MIT" ]
2
2021-09-27T23:34:07.000Z
2022-02-26T05:54:27.000Z
_site/Competitive Programming/UVa/UVa10055.cpp
anujkyadav07/anuj-k-yadav.github.io
ac5cccc8cdada000ba559538cd84921437b3c5e6
[ "MIT" ]
3
2019-06-23T14:15:08.000Z
2019-07-09T20:40:58.000Z
#include <bits/stdc++.h> #define MOD 1000000007 #define pb emplace_back typedef long long ll; using namespace std; typedef vector<ll> vi; typedef vector<vi> vvi; int main(){ ll a, b; while(cin>>a>>b){ cout<<abs(b-a)<<"\n"; } }
16.571429
24
0.668103
anujkyadav07
c3e479e99df883be787c58cba47268d7f32b6ca2
966
cc
C++
find_all_sum_combinations.cc
warfish/kata
4afe2306692767353e634000185a57b4189512a6
[ "MIT" ]
null
null
null
find_all_sum_combinations.cc
warfish/kata
4afe2306692767353e634000185a57b4189512a6
[ "MIT" ]
null
null
null
find_all_sum_combinations.cc
warfish/kata
4afe2306692767353e634000185a57b4189512a6
[ "MIT" ]
null
null
null
/** * Find all sum combinations * * Given a positive integer, target, print all possible combinations of positive integers that sum up to the target number. */ #include <vector> void reduce_sum(int target, int start, std::vector<int>& partial, std::vector<std::vector<int>>& all_sums) { if (target == 0 && part...
22.465116
123
0.598344
warfish
c3e89443082b3f64fae00123e775dca044e8b5f5
450
cpp
C++
Stp/Base/System/Library.cpp
markazmierczak/Polonite
240f099cafc5c38dc1ae1cc6fc5773e13f65e9de
[ "MIT" ]
1
2019-07-11T12:47:52.000Z
2019-07-11T12:47:52.000Z
Stp/Base/System/Library.cpp
Polonite/Polonite
240f099cafc5c38dc1ae1cc6fc5773e13f65e9de
[ "MIT" ]
null
null
null
Stp/Base/System/Library.cpp
Polonite/Polonite
240f099cafc5c38dc1ae1cc6fc5773e13f65e9de
[ "MIT" ]
1
2019-07-11T12:47:53.000Z
2019-07-11T12:47:53.000Z
// Copyright 2017 Polonite Authors. All rights reserved. // Distributed under MIT license that can be found in the LICENSE file. #include "Base/System/Library.h" namespace stp { bool Library::TryLoad(const FilePath& path, LibraryLoadError* out_error) { Reset(); NativeLibrary native = TryLoadNative(toNullTermina...
23.684211
74
0.74
markazmierczak
c3f712a7d1f7fd22b9c5bdfe21e63cee76fbda9e
1,331
hpp
C++
snow/math-constants.hpp
Biyorne/learningcpp
bcf963990800ed939fa4cc1b30fadccaf098155b
[ "MIT" ]
null
null
null
snow/math-constants.hpp
Biyorne/learningcpp
bcf963990800ed939fa4cc1b30fadccaf098155b
[ "MIT" ]
null
null
null
snow/math-constants.hpp
Biyorne/learningcpp
bcf963990800ed939fa4cc1b30fadccaf098155b
[ "MIT" ]
null
null
null
// ---------------------------------------------------------------------------- // "THE BEER-WARE LICENSE" (Revision 42): // <ztn@zurreal.com> wrote this file. As long as you retain this notice you // can do whatever you want with this stuff. If we meet some day, and you think // this stuff is worth it, you can buy me...
35.972973
126
0.623591
Biyorne
c3f88e2c2d405803dd431505e6c8c2661f9c0249
7,317
cpp
C++
src-qt5/core-utils/lumina-config/pages/getPage.cpp
q5sys/lumina
d3654eb6a83d7f8aad5530ba10816a245c9f55b3
[ "BSD-3-Clause" ]
246
2018-04-13T20:07:34.000Z
2022-03-29T01:33:37.000Z
src-qt5/core-utils/lumina-config/pages/getPage.cpp
q5sys/lumina
d3654eb6a83d7f8aad5530ba10816a245c9f55b3
[ "BSD-3-Clause" ]
332
2016-06-21T13:37:10.000Z
2018-04-06T13:06:41.000Z
src-qt5/core-utils/lumina-config/pages/getPage.cpp
q5sys/lumina
d3654eb6a83d7f8aad5530ba10816a245c9f55b3
[ "BSD-3-Clause" ]
69
2018-04-12T15:46:09.000Z
2022-03-20T21:21:45.000Z
//=========================================== // Lumina Desktop Source Code // Copyright (c) 2016, Ken Moore // Available under the 3-clause BSD license // See the LICENSE file for full details //=========================================== #include "getPage.h" //Add any sub-pages here #include "page_main.h" #inclu...
86.082353
332
0.692634
q5sys
c3fc74e3fda58932d8bb2da7399d893d20ca0598
394
hpp
C++
GenericSimulator/GenericSimulatorTemplates/core/ENTITY_CONCEPT.hpp
ducis/pile-of-cpp
af5a123ec67cff589f27bf20d435b2db29a0a7c8
[ "MIT" ]
null
null
null
GenericSimulator/GenericSimulatorTemplates/core/ENTITY_CONCEPT.hpp
ducis/pile-of-cpp
af5a123ec67cff589f27bf20d435b2db29a0a7c8
[ "MIT" ]
null
null
null
GenericSimulator/GenericSimulatorTemplates/core/ENTITY_CONCEPT.hpp
ducis/pile-of-cpp
af5a123ec67cff589f27bf20d435b2db29a0a7c8
[ "MIT" ]
null
null
null
#pragma once #define GENSIM_ENTITY_CONCEPT( conceptname, ... ) \ struct conceptname{ \ enum Labels{ \ __VA_ARGS__ , \ NDIM \ }; \ }; #if 0// example GENSIM_ENTITY_CONCEPT( RigidBody, Position, Orientation ) struct RigidBody...
14.071429
53
0.51269
ducis
7f0040fa182534356ef55cca516ffcf5e04bcf2f
2,469
cpp
C++
src/nodes/geometry/color.cpp
tjayrush/vraniml
62d78d5ea5eb34ffacc08c22e92fa86a02096ccb
[ "MIT" ]
1
2021-03-05T17:35:20.000Z
2021-03-05T17:35:20.000Z
src/nodes/geometry/color.cpp
tjayrush/vraniml
62d78d5ea5eb34ffacc08c22e92fa86a02096ccb
[ "MIT" ]
null
null
null
src/nodes/geometry/color.cpp
tjayrush/vraniml
62d78d5ea5eb34ffacc08c22e92fa86a02096ccb
[ "MIT" ]
1
2021-03-05T17:35:35.000Z
2021-03-05T17:35:35.000Z
//------------------------------------------------------------------------- // Copyright (c) 1997-1998 Great Hill Corporation // All Rights Reserved. //------------------------------------------------------------------------- // WARNING: THIS FILE WAS CREATED AUTOMATICALLY //---------------------------------------...
24.939394
76
0.504658
tjayrush
7f0e477b291987d5e243ab9c12501b1f5c4e1d2b
360
hpp
C++
src/widgets/settingspages/ModerationPage.hpp
NilsIrl/chatterino2
b7e86a8de66e53876d7a71376c43529597ee6c12
[ "MIT" ]
7
2017-08-02T21:07:41.000Z
2021-08-30T20:50:00.000Z
src/widgets/settingspages/ModerationPage.hpp
NilsIrl/chatterino2
b7e86a8de66e53876d7a71376c43529597ee6c12
[ "MIT" ]
null
null
null
src/widgets/settingspages/ModerationPage.hpp
NilsIrl/chatterino2
b7e86a8de66e53876d7a71376c43529597ee6c12
[ "MIT" ]
1
2020-02-11T21:10:49.000Z
2020-02-11T21:10:49.000Z
#pragma once #include <QTimer> #include "widgets/settingspages/SettingsPage.hpp" class QTabWidget; class QPushButton; namespace chatterino { class ModerationPage : public SettingsPage { public: ModerationPage(); void selectModerationActions(); private: QTimer itemsChangedTimer_; QTabWidget *tabWi...
14.4
49
0.747222
NilsIrl