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
805a8feb74fbb10cdec4830e3f48c8f810f690ba
11,466
cpp
C++
src/lib/operators/insert.cpp
cmfcmf/hyrise
d3465dfc83039876c1800bf245e73874947da114
[ "MIT" ]
2
2019-01-22T19:44:32.000Z
2019-01-22T19:52:33.000Z
src/lib/operators/insert.cpp
tom-lichtenstein/hyrise
a11b5bdf6be726fd88b16c6e6284a238f5ec7873
[ "MIT" ]
33
2019-02-02T09:52:50.000Z
2019-03-07T13:14:40.000Z
src/lib/operators/insert.cpp
tom-lichtenstein/hyrise
a11b5bdf6be726fd88b16c6e6284a238f5ec7873
[ "MIT" ]
null
null
null
#include "insert.hpp" #include <algorithm> #include <memory> #include <string> #include <vector> #include "concurrency/transaction_context.hpp" #include "resolve_type.hpp" #include "storage/base_encoded_segment.hpp" #include "storage/storage_manager.hpp" #include "storage/value_segment.hpp" #include "type_cast.hpp" #...
45.5
120
0.720129
cmfcmf
805ea71dabf146f76d987af60fe31fc1d9cb9102
11,863
hpp
C++
src/game_api/state.hpp
iojon/overlunky
096902bf8f0de28522ab140d900d64354ce536ac
[ "MIT" ]
null
null
null
src/game_api/state.hpp
iojon/overlunky
096902bf8f0de28522ab140d900d64354ce536ac
[ "MIT" ]
null
null
null
src/game_api/state.hpp
iojon/overlunky
096902bf8f0de28522ab140d900d64354ce536ac
[ "MIT" ]
1
2020-11-14T14:45:16.000Z
2020-11-14T14:45:16.000Z
#pragma once #include "items.hpp" #include "layer.hpp" #include "memory.hpp" #include "savedata.hpp" #include "screen.hpp" #include "screen_arena.hpp" #include "state_structs.hpp" #include "thread_utils.hpp" const float ZF = 0.737f; struct Layer; struct LevelGenSystem; struct StateMemory { siz...
31.634667
159
0.610975
iojon
80629117d2c79ecfb56e7211afef34ff974ecfd5
18,248
cpp
C++
tags/20090801_v0.2.0/src/singlePlayer/wh/CSelectTeamWindowHandler.cpp
dividio/projectfootball
3c0b94937de2e3cd6e7daf9d3b4942fda974f20c
[ "Zlib" ]
null
null
null
tags/20090801_v0.2.0/src/singlePlayer/wh/CSelectTeamWindowHandler.cpp
dividio/projectfootball
3c0b94937de2e3cd6e7daf9d3b4942fda974f20c
[ "Zlib" ]
null
null
null
tags/20090801_v0.2.0/src/singlePlayer/wh/CSelectTeamWindowHandler.cpp
dividio/projectfootball
3c0b94937de2e3cd6e7daf9d3b4942fda974f20c
[ "Zlib" ]
null
null
null
/****************************************************************************** * Copyright (C) 2008 - Ikaro Games www.ikarogames.com * * * * This program is free software; you can redistribute it and/or * ...
46.43257
218
0.678431
dividio
8063c264cbd2bfa952a1ee4fb10a3a7a290bac0b
1,171
cc
C++
patches/process-kill_posix.cc
bolthole/solaris-chromium-patches
5ed86010096ace6e50bfa97bb8ca0237b0f834ee
[ "Apache-2.0" ]
null
null
null
patches/process-kill_posix.cc
bolthole/solaris-chromium-patches
5ed86010096ace6e50bfa97bb8ca0237b0f834ee
[ "Apache-2.0" ]
null
null
null
patches/process-kill_posix.cc
bolthole/solaris-chromium-patches
5ed86010096ace6e50bfa97bb8ca0237b0f834ee
[ "Apache-2.0" ]
1
2018-11-12T09:01:36.000Z
2018-11-12T09:01:36.000Z
diff --git a/base/process/kill_posix.cc b/base/process/kill_posix.cc index bff7be4..544b9a3 100644 --- a/base/process/kill_posix.cc +++ b/base/process/kill_posix.cc @@ -248,6 +248,17 @@ bool WaitForExitCodeWithTimeout(ProcessHandle handle, bool WaitForProcessesToExit(const FilePath::StringType& executable_name, ...
37.774194
92
0.687447
bolthole
8067adad0aa629091a19ffd2ada16175fbdd5d4b
1,924
inl
C++
dependencies/2dmapping/UnitSquareToTriangle.inl
jaredhoberock/gotham
e3551cc355646530574d086d7cc2b82e41e8f798
[ "Apache-2.0" ]
6
2015-12-29T07:21:01.000Z
2020-05-29T10:47:38.000Z
dependencies/2dmapping/UnitSquareToTriangle.inl
jaredhoberock/gotham
e3551cc355646530574d086d7cc2b82e41e8f798
[ "Apache-2.0" ]
null
null
null
dependencies/2dmapping/UnitSquareToTriangle.inl
jaredhoberock/gotham
e3551cc355646530574d086d7cc2b82e41e8f798
[ "Apache-2.0" ]
null
null
null
/*! \file UnitSquareToTriangle.inl * \author Jared Hoberock * \brief Inline file for UnitSquareToTriangle.h. */ #include "UnitSquareToTriangle.h" #include "UnitSquareToIsoscelesRightTriangle.h" template<typename Real, typename Point> void UnitSquareToTriangle ::evaluate(const Real &u, const Real ...
30.0625
93
0.601871
jaredhoberock
806898e6e74ed2387d1eec075d58469555b53dc6
817
cpp
C++
LD20 - Acid/imagemgr.cpp
milo-brandt/milos-ludum-dare-entries
6b4907463395ee99720386bca48726a798af14d2
[ "MIT" ]
null
null
null
LD20 - Acid/imagemgr.cpp
milo-brandt/milos-ludum-dare-entries
6b4907463395ee99720386bca48726a798af14d2
[ "MIT" ]
null
null
null
LD20 - Acid/imagemgr.cpp
milo-brandt/milos-ludum-dare-entries
6b4907463395ee99720386bca48726a798af14d2
[ "MIT" ]
null
null
null
/* * imagemgr.cpp * Acid * * Created by Milo Brandt on 4/30/11. * Copyright 2011 Apple Inc. All rights reserved. * */ #include "imagemgr.h" imageManager::imageManager(){ x[plyr_sprite].LoadFromFile("player.png"); x[goal_sprite].LoadFromFile("Goal.png"); x[complete_sprite].LoadFromFile("complete.png"); ...
30.259259
50
0.724602
milo-brandt
8068ab1c95f7f3b86016674e48db57c8b904aa89
109
hpp
C++
include/rua/sched.hpp
yulon/rua
acb14aa0e60b68f09e88c726965552f7f4f5ace0
[ "MIT" ]
null
null
null
include/rua/sched.hpp
yulon/rua
acb14aa0e60b68f09e88c726965552f7f4f5ace0
[ "MIT" ]
null
null
null
include/rua/sched.hpp
yulon/rua
acb14aa0e60b68f09e88c726965552f7f4f5ace0
[ "MIT" ]
null
null
null
#ifndef _RUA_SCHED_HPP #define _RUA_SCHED_HPP #include "sched/await.hpp" #include "sched/dozer.hpp" #endif
13.625
26
0.779817
yulon
8069c0f0f5b6082614643f71af872753d87ad731
1,008
cpp
C++
atcoder-dp/lcs.cpp
rranjan14/cp-solutions
9614508efbed1e4ee8b970b5eed535d782a5783f
[ "MIT" ]
null
null
null
atcoder-dp/lcs.cpp
rranjan14/cp-solutions
9614508efbed1e4ee8b970b5eed535d782a5783f
[ "MIT" ]
null
null
null
atcoder-dp/lcs.cpp
rranjan14/cp-solutions
9614508efbed1e4ee8b970b5eed535d782a5783f
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int main() { string X, Y; cin >> X; cin >> Y; int m = X.length(); int n = Y.length(); vector<vector<int>> dp(m + 1, vector<int>(n + 1, 0)); for (int i = 0; i <= m; i++) { for (int j = 0; j <= n; j++) { if (i == 0 ...
21
63
0.284722
rranjan14
80715f67f775881f9ab4b28a5ffd43db8f167f49
839
cpp
C++
main/PISupervisor/src/PIDiskSize.cpp
sim1st/endpointdlp
f5203f23e93b00c8242c45fa85c26d9b7419e50c
[ "Apache-2.0" ]
null
null
null
main/PISupervisor/src/PIDiskSize.cpp
sim1st/endpointdlp
f5203f23e93b00c8242c45fa85c26d9b7419e50c
[ "Apache-2.0" ]
null
null
null
main/PISupervisor/src/PIDiskSize.cpp
sim1st/endpointdlp
f5203f23e93b00c8242c45fa85c26d9b7419e50c
[ "Apache-2.0" ]
null
null
null
#ifndef _PIDISKSIZE_CPP #define _PIDISKSIZE_CPP #include "PIDiskSize.h" #include "include_system.h" #include <sys/statvfs.h> //////////////////////////////////////// // CPIDiskSize CPIDiskSize::CPIDiskSize() { clear(); } CPIDiskSize::~CPIDiskSize() { } void CPIDiskSize::clear(void) { totalBytes ...
19.511628
51
0.622169
sim1st
807aa7f5dd3ef3255444c00cf2901498e3b89131
1,496
cc
C++
src/triangle.cc
interval1066/quetest
68958adaae845ce1132a21da3955af56f74228bb
[ "BSD-2-Clause" ]
null
null
null
src/triangle.cc
interval1066/quetest
68958adaae845ce1132a21da3955af56f74228bb
[ "BSD-2-Clause" ]
null
null
null
src/triangle.cc
interval1066/quetest
68958adaae845ce1132a21da3955af56f74228bb
[ "BSD-2-Clause" ]
null
null
null
#include <triangle.h> #include <segment.h> #include <algorithm> #include <iostream> using namespace std; using namespace slicer; Triangle::Triangle(Vertex v1, Vertex v2, Vertex v3) : v1(v1), v2(v2), v3(v3) {} float Triangle::x_min() const { return min(v1.x, min(v2.x, v3.x)); } float Triangle::x_max() const { retu...
16.622222
80
0.637032
interval1066
80842a0a5b8365f8e37d3b4c3514392abc363945
1,612
hpp
C++
code/jalog/Scope.hpp
iboB/jalog
d89a5bb4ef8b0ea701a7cd3ea0229de3fbb3ecd9
[ "MIT" ]
3
2021-12-07T06:16:31.000Z
2021-12-22T14:12:36.000Z
code/jalog/Scope.hpp
iboB/jalog
d89a5bb4ef8b0ea701a7cd3ea0229de3fbb3ecd9
[ "MIT" ]
null
null
null
code/jalog/Scope.hpp
iboB/jalog
d89a5bb4ef8b0ea701a7cd3ea0229de3fbb3ecd9
[ "MIT" ]
null
null
null
// jalog // Copyright (c) 2021-2022 Borislav Stanimirov // // Distributed under the MIT Software License // See accompanying file LICENSE.txt or copy at // https://opensource.org/licenses/MIT // #pragma once #include "API.h" #include "Level.hpp" #include "ScopeDesc.hpp" #include <atomic> #include <vector> #include <s...
23.705882
103
0.684243
iboB
808bc2b68f3917e36970e82b72836aa2f5d18f30
1,672
cpp
C++
RealityCore/Source/GUI/Login.cpp
Intro-Ventors/Re-Co-Desktop
8547cca9230069a36973ec836426d4610f30f8bb
[ "MIT" ]
null
null
null
RealityCore/Source/GUI/Login.cpp
Intro-Ventors/Re-Co-Desktop
8547cca9230069a36973ec836426d4610f30f8bb
[ "MIT" ]
null
null
null
RealityCore/Source/GUI/Login.cpp
Intro-Ventors/Re-Co-Desktop
8547cca9230069a36973ec836426d4610f30f8bb
[ "MIT" ]
null
null
null
// Copyright (c) 2022 Intro-Ventors #include "Login.hpp" #include "../../ui_Login.h" #include <QMovie> #include <QCryptographicHash> namespace GUI { Login::Login(QWidget* pParent) : QDialog(pParent, Qt::FramelessWindowHint) , m_pLogin(new Ui::Login()) { // Setup the UI. m_pLogin->setupUi(this); // Creat...
20.641975
106
0.68122
Intro-Ventors
80926846273cfea668bdebae73a235d443533e22
1,150
cpp
C++
src/largest-divisible-subset.cpp
amoudgl/leetcode-solutions
dc6570bb06b82c2c70d6f387b3486897035cc995
[ "MIT" ]
null
null
null
src/largest-divisible-subset.cpp
amoudgl/leetcode-solutions
dc6570bb06b82c2c70d6f387b3486897035cc995
[ "MIT" ]
null
null
null
src/largest-divisible-subset.cpp
amoudgl/leetcode-solutions
dc6570bb06b82c2c70d6f387b3486897035cc995
[ "MIT" ]
null
null
null
// Author: Abhinav Moudgil [ https://leetcode.com/amoudgl/ ] class Solution { public: vector<int> largestDivisibleSubset(vector<int>& nums) { int i, j, n = nums.size(), prev, max = 0, ind, maxind, ans = 0; vector<int> largestSet; if (n == 0) return largestSet; sort(nums.begin(), nu...
28.75
73
0.395652
amoudgl
809a93ee2b6e537001737479389c09c46d51dc92
3,244
cpp
C++
main/controller.cpp
lucasnunes/tcc_source
695610ec134d946694080fd2efae3f1dc41c2fa2
[ "Apache-2.0" ]
2
2019-01-08T12:51:04.000Z
2019-01-08T12:51:04.000Z
main/controller.cpp
lucasnunes/tcc_source
695610ec134d946694080fd2efae3f1dc41c2fa2
[ "Apache-2.0" ]
null
null
null
main/controller.cpp
lucasnunes/tcc_source
695610ec134d946694080fd2efae3f1dc41c2fa2
[ "Apache-2.0" ]
null
null
null
/** * Copyright 2014 Lucas Nunes de Lima * * 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 a...
25.543307
80
0.460543
lucasnunes
809c004dab8f2e13b058b94afeb1ddfa6c95b8e1
1,601
cpp
C++
fw/src/util.cpp
cednik/one-wire_sniffer
bfa8e38e6310c8a20ac48eaa711be53b3454806b
[ "MIT" ]
null
null
null
fw/src/util.cpp
cednik/one-wire_sniffer
bfa8e38e6310c8a20ac48eaa711be53b3454806b
[ "MIT" ]
null
null
null
fw/src/util.cpp
cednik/one-wire_sniffer
bfa8e38e6310c8a20ac48eaa711be53b3454806b
[ "MIT" ]
null
null
null
#include "util.hpp" #include "print.hpp" #include "esp_system.h" #include "FreeRTOS.h" void checkReset() { esp_reset_reason_t resetReason = esp_reset_reason(); switch (resetReason) { case ESP_RST_UNKNOWN: print("\tUnknown reset - strange\n"); break; case ESP_RST_POWERON: prin...
27.603448
93
0.632105
cednik
809df21ef9969a171e4b2592b26fb7645d008cdc
32,988
tcc
C++
libraries/math/test/tcc/Tensor_test.tcc
siddu1998/ELL
993d5370f0f7a274e8dfd8f43220c792be46f314
[ "MIT" ]
1
2018-11-08T06:19:31.000Z
2018-11-08T06:19:31.000Z
libraries/math/test/tcc/Tensor_test.tcc
vishnoitanuj/ELL
993d5370f0f7a274e8dfd8f43220c792be46f314
[ "MIT" ]
null
null
null
libraries/math/test/tcc/Tensor_test.tcc
vishnoitanuj/ELL
993d5370f0f7a274e8dfd8f43220c792be46f314
[ "MIT" ]
1
2019-12-19T10:02:48.000Z
2019-12-19T10:02:48.000Z
//////////////////////////////////////////////////////////////////////////////////////////////////// // // Project: Embedded Learning Library (ELL) // File: Tensor_test.tcc (math_test) // Authors: Ofer Dekel, Kern Handa // ////////////////////////////////////////////////////////////////////////////////////////...
37.743707
175
0.563084
siddu1998
80a01ec5d4887398844160006ac6f8eb80bb30ce
18,036
cpp
C++
libraries/plugins/apis/sig_by_key_api/sig_by_key_api.cpp
sityck/steem_paper
9490b7ec929282a63d342a2364d03b268e51d756
[ "MIT" ]
null
null
null
libraries/plugins/apis/sig_by_key_api/sig_by_key_api.cpp
sityck/steem_paper
9490b7ec929282a63d342a2364d03b268e51d756
[ "MIT" ]
null
null
null
libraries/plugins/apis/sig_by_key_api/sig_by_key_api.cpp
sityck/steem_paper
9490b7ec929282a63d342a2364d03b268e51d756
[ "MIT" ]
null
null
null
#include <steem/plugins/sig_by_key_api/sig_by_key_api.hpp> #include <steem/plugins/sig_by_key_api/sig_by_key_api_plugin.hpp> #include <steem/plugins/sig_by_key_api/HibeGS.hpp> #include <iostream> using namespace relicxx; using namespace forwardsec; namespace steem { namespace plugins { namespace sig_by_key { namespace...
36.144289
786
0.672599
sityck
80b0f3e0ba55bd103b47a0208fe1c079d70a15d7
19,155
cpp
C++
src/corehost/cli/deps_resolver.cpp
krytarowski/cli
e4d7fa5bc4841f55662804c6999ff29e2b7075b0
[ "MIT" ]
null
null
null
src/corehost/cli/deps_resolver.cpp
krytarowski/cli
e4d7fa5bc4841f55662804c6999ff29e2b7075b0
[ "MIT" ]
null
null
null
src/corehost/cli/deps_resolver.cpp
krytarowski/cli
e4d7fa5bc4841f55662804c6999ff29e2b7075b0
[ "MIT" ]
7
2017-04-11T14:01:50.000Z
2022-03-30T21:52:56.000Z
// Copyright (c) .NET Foundation and contributors. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. #include <set> #include <functional> #include <cassert> #include "trace.h" #include "deps_entry.h" #include "deps_format.h" #include "deps_resol...
35.472222
194
0.612895
krytarowski
80b2d3a6805b8fade32a858d5ffeec00f33b0fac
869
cpp
C++
Engine/Flora/Application/Window.cpp
chgalante/flora
17db42ce92925c5e9e5e3a9084747553a27cfa96
[ "MIT" ]
1
2021-07-09T03:32:51.000Z
2021-07-09T03:32:51.000Z
Engine/Flora/Application/Window.cpp
chgalante/flora
17db42ce92925c5e9e5e3a9084747553a27cfa96
[ "MIT" ]
1
2021-08-21T19:13:15.000Z
2021-08-21T19:13:15.000Z
Engine/Flora/Application/Window.cpp
chgalante/flora
17db42ce92925c5e9e5e3a9084747553a27cfa96
[ "MIT" ]
null
null
null
#include "Window.hpp" #include "Flora/Base.hpp" #include "Flora/Utilities/Log.hpp" namespace FloraEngine { Window::Window() { glfwWindowHint(GLFW_CONTEXT_VERSION_MAJOR, 3); glfwWindowHint(GLFW_CONTEXT_VERSION_MINOR, 3); glfwWindowHint(GLFW_OPENGL_PROFILE, GLFW_OPENGL_CORE_PROFILE); glfwInit(); pWindow = g...
24.828571
74
0.742232
chgalante
80b8280507d0875ee79783a046e73a5fcc256e4d
9,436
cpp
C++
Source/AllProjects/CQCDrvDev/CQCDrvDev_ThisFacility.cpp
MarkStega/CQC
c1d0e01ec2abcaa5b8eb1899b9f0522fecee4b07
[ "MIT" ]
51
2020-12-26T18:17:16.000Z
2022-03-15T04:29:35.000Z
Source/AllProjects/CQCDrvDev/CQCDrvDev_ThisFacility.cpp
MarkStega/CQC
c1d0e01ec2abcaa5b8eb1899b9f0522fecee4b07
[ "MIT" ]
null
null
null
Source/AllProjects/CQCDrvDev/CQCDrvDev_ThisFacility.cpp
MarkStega/CQC
c1d0e01ec2abcaa5b8eb1899b9f0522fecee4b07
[ "MIT" ]
4
2020-12-28T07:24:39.000Z
2021-12-29T12:09:37.000Z
// // FILE NAME: CQCDrvDev_ThisFacility.cpp // // AUTHOR: Dean Roddey // // CREATED: 02/14/2003 // // COPYRIGHT: Charmed Quark Systems, Ltd @ 2020 // // This software is copyrighted by 'Charmed Quark Systems, Ltd' and // the author (Dean Roddey.) It is licensed under the MIT Open Source // license: // // https://...
29.033846
95
0.54769
MarkStega
01eafe7fbc1f18a52ae6170123916fadc06473b2
1,983
cpp
C++
src/shaders/shader_loader.cpp
sardok/minecraft-challenge
709fe9ca887cf492fd48d49f84af0029fa996781
[ "MIT" ]
null
null
null
src/shaders/shader_loader.cpp
sardok/minecraft-challenge
709fe9ca887cf492fd48d49f84af0029fa996781
[ "MIT" ]
null
null
null
src/shaders/shader_loader.cpp
sardok/minecraft-challenge
709fe9ca887cf492fd48d49f84af0029fa996781
[ "MIT" ]
null
null
null
#include <stdexcept> #include <iostream> #include <shaders/shader_loader.hpp> #include <utils/file_utils.hpp> namespace { GLuint compile_shader(const GLchar *source, GLenum shader_type) { auto shader_id = glCreateShader(shader_type); glShaderSource(shader_id, 1, &source, nullptr); glCompileShader(shader_i...
27.164384
90
0.723651
sardok
01f18891798599673655af558f6b7d1308d60d8d
701
cpp
C++
Problems/Timus/2056_Scholarship/main.cpp
grand87/timus
8edcae276ab74b68fff18da3722460f492534a8a
[ "MIT" ]
null
null
null
Problems/Timus/2056_Scholarship/main.cpp
grand87/timus
8edcae276ab74b68fff18da3722460f492534a8a
[ "MIT" ]
1
2019-05-09T19:17:00.000Z
2019-05-09T19:17:00.000Z
Problems/Timus/2056_Scholarship/main.cpp
grand87/timus
8edcae276ab74b68fff18da3722460f492534a8a
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int main() { #ifndef ONLINE_JUDGE freopen("input.txt", "rt", stdin); // freopen("output.txt", "wt", stdout); #endif int marks; cin >> marks; bool has3 = false; bool only5 = true; float total = 0; for (int i = 0; i < marks; ++i) { int...
16.302326
41
0.415121
grand87
01f2ce88c0667647af9032d4fc99a3b7a10f8a78
1,352
cpp
C++
Lab_3/DllStringReplacement/StringReplacer.cpp
BSUIR-SFIT-Labs/OSaSP-Labs-Windows
d32278525e1301ae61debb3d185495cf6130cdb6
[ "MIT" ]
4
2020-09-06T14:56:03.000Z
2022-03-11T10:42:06.000Z
Lab_3/DllStringReplacement/StringReplacer.cpp
BSUIR-SFIT-Labs/OSaSP-Labs-Windows
d32278525e1301ae61debb3d185495cf6130cdb6
[ "MIT" ]
null
null
null
Lab_3/DllStringReplacement/StringReplacer.cpp
BSUIR-SFIT-Labs/OSaSP-Labs-Windows
d32278525e1301ae61debb3d185495cf6130cdb6
[ "MIT" ]
null
null
null
#include <Windows.h> #include <vector> extern "C" void __declspec(dllexport) __stdcall ReplaceString( DWORD pid, const char* srcString, const char* resString) { HANDLE hProcess = OpenProcess( PROCESS_VM_READ | PROCESS_VM_WRITE | PROCESS_QUERY_INFORMATION, FALSE, pid); if (hProcess) { SYSTEM_INFO systemI...
21.806452
90
0.611686
BSUIR-SFIT-Labs
01f456ad347704771c52dc7f8d669f1b52702892
534
cpp
C++
Cpp/1657.determine-if-two-strings-are-close.cpp
zszyellow/leetcode
2ef6be04c3008068f8116bf28d70586e613a48c2
[ "MIT" ]
1
2015-12-19T23:05:35.000Z
2015-12-19T23:05:35.000Z
Cpp/1657.determine-if-two-strings-are-close.cpp
zszyellow/leetcode
2ef6be04c3008068f8116bf28d70586e613a48c2
[ "MIT" ]
null
null
null
Cpp/1657.determine-if-two-strings-are-close.cpp
zszyellow/leetcode
2ef6be04c3008068f8116bf28d70586e613a48c2
[ "MIT" ]
null
null
null
class Solution { public: bool closeStrings(string word1, string word2) { int mask1 = 0, mask2 = 0; for (char &c : word1) mask1 |= (1 << (c - 'a')); for (char &c : word2) mask2 |= (1 << (c - 'a')); if (mask1 != mask2) return false; vector<int> cnt1(26), cnt2(26); ...
31.411765
56
0.468165
zszyellow
bf058fcac6e12ef075732a6a8ae062e58600d10a
813
cpp
C++
Graphs/Floyd Warshall Algo.cpp
ans-coder-human/Java
f82a380d4f02a084f1ddf4b03d7317254dca39b8
[ "MIT" ]
null
null
null
Graphs/Floyd Warshall Algo.cpp
ans-coder-human/Java
f82a380d4f02a084f1ddf4b03d7317254dca39b8
[ "MIT" ]
10
2021-10-04T08:04:42.000Z
2021-10-13T08:27:56.000Z
Graphs/Floyd Warshall Algo.cpp
ans-coder-human/Java
f82a380d4f02a084f1ddf4b03d7317254dca39b8
[ "MIT" ]
5
2020-10-14T10:38:08.000Z
2021-10-30T11:08:40.000Z
void shortest_distance(vector<vector<int>>&matrix){ int n = matrix.size(); for(int i =0;i<n;i++) { for(int j=0;j<n;j++) { if(matrix[i][j]==-1) matrix[i][j]=INT_MAX/2; } } for(int k=0;k<n;k++) { for(int i =0;i<n;i++)...
20.846154
72
0.360394
ans-coder-human
bf0709420a565f5212755dec90126cf26c00b536
17,928
cpp
C++
sourceCode/application/logic/model/core/InputFilesCheckerForComputation.cpp
lp-rep/stackprof-1
62d9cb96ad7dcdaa26b6383559f542cadc1c7af2
[ "CECILL-B" ]
2
2022-02-27T20:08:04.000Z
2022-03-03T13:45:40.000Z
sourceCode/application/logic/model/core/InputFilesCheckerForComputation.cpp
lp-rep/stackprof-1
62d9cb96ad7dcdaa26b6383559f542cadc1c7af2
[ "CECILL-B" ]
1
2021-06-07T17:09:04.000Z
2021-06-11T11:48:23.000Z
sourceCode/application/logic/model/core/InputFilesCheckerForComputation.cpp
lp-rep/stackprof-1
62d9cb96ad7dcdaa26b6383559f542cadc1c7af2
[ "CECILL-B" ]
1
2021-06-03T21:06:55.000Z
2021-06-03T21:06:55.000Z
#include <OpenImageIO/imageio.h> using namespace OIIO; #include <QDebug> #include "InputFilesCheckerForComputation.h" #include "../../io/InputImageFormatChecker.h" #include "../../toolbox/toolbox_pathAndFile.h" InputFilesForComputationMatchWithRequierement::InputFilesForComputationMatchWithRequierement( co...
50.644068
167
0.71564
lp-rep
bf0d3e10e5cb760e4c8222263f045e241fa4a11c
493
cpp
C++
src/UserInterface/uiTitle.cpp
KURUJISU/Top_P
d218656e13cbe05b01926366e114b34b8d430035
[ "MIT" ]
null
null
null
src/UserInterface/uiTitle.cpp
KURUJISU/Top_P
d218656e13cbe05b01926366e114b34b8d430035
[ "MIT" ]
null
null
null
src/UserInterface/uiTitle.cpp
KURUJISU/Top_P
d218656e13cbe05b01926366e114b34b8d430035
[ "MIT" ]
null
null
null
#include "precompiled.h" uiTitle::uiTitle() {} void uiTitle::setup(){ shared_ptr<uiInformation> uiInfo = make_shared<uiInformation>(); uiInfo->setPos(ofVec2f(0, g_local->HalfHeight())); AddUI(uiInfo); wp_uiInfo_ = uiInfo; shared_ptr<uiScoreRank> uiScore = make_shared<uiScoreRank>(); uiScore->disableDrawCurre...
20.541667
65
0.730223
KURUJISU
bf0f7c93ae7f1cece7cf59cbdea79bb10f563f13
345
hpp
C++
Source/Runtime/Engine/Public/Components/SkyLightComponent.hpp
Othereum/NoEngineGame
e3c9c9a330ba8e724cd96f98355b556d24e73d9d
[ "MIT" ]
23
2020-05-21T06:25:29.000Z
2021-04-06T03:37:28.000Z
Source/Runtime/Engine/Public/Components/SkyLightComponent.hpp
Othereum/NoEngineGame
e3c9c9a330ba8e724cd96f98355b556d24e73d9d
[ "MIT" ]
72
2020-06-09T04:46:27.000Z
2020-12-07T03:20:51.000Z
Source/Runtime/Engine/Public/Components/SkyLightComponent.hpp
Othereum/NoEngineGame
e3c9c9a330ba8e724cd96f98355b556d24e73d9d
[ "MIT" ]
4
2020-06-10T02:23:54.000Z
2022-03-28T07:22:08.000Z
#pragma once #include "SceneComponent.hpp" namespace oeng { inline namespace engine { class ENGINE_API SkyLightComponent : public SceneComponent { CLASS_BODY(SkyLightComponent) public: Vec3 color{All{}, 0.2}; protected: void OnBeginPlay() override; void OnEndPlay() override; }; } // namespace en...
15.681818
58
0.718841
Othereum
bf10d1e469dde07c463b53135f98489f29947b1f
6,241
cpp
C++
srcs/molenet/mysqldataprovider.cpp
FLynnGame/moleserver
d79e84f4afc4017c983deb4d6bfe0f5851eccedd
[ "Apache-2.0" ]
37
2020-05-15T08:29:39.000Z
2022-03-21T05:18:35.000Z
srcs/molenet/mysqldataprovider.cpp
FLynnGame/moleserver
d79e84f4afc4017c983deb4d6bfe0f5851eccedd
[ "Apache-2.0" ]
null
null
null
srcs/molenet/mysqldataprovider.cpp
FLynnGame/moleserver
d79e84f4afc4017c983deb4d6bfe0f5851eccedd
[ "Apache-2.0" ]
23
2020-07-06T08:55:07.000Z
2022-03-31T06:38:31.000Z
#include "../../include/molnet/mysqldataprovider.h" #include "../../include/molnet/common.h" #include "../../include/molnet/dalexcept.h" /** * 构造函数 */ MySqlDataProvider::MySqlDataProvider(void) throw() { } /** * 析构函数 */ MySqlDataProvider::~MySqlDataProvider(void) throw() { if(mIsConnected...
20.59736
92
0.670405
FLynnGame
bf15d382e043c444c2e0254fb449fa91241b0f00
2,131
hpp
C++
NetworkLib/src/Float.hpp
Bousk/Net
bb77d61f870a28752fdf7509c111d446819aff31
[ "MIT" ]
2
2021-12-29T16:29:13.000Z
2022-03-27T15:48:20.000Z
NetworkLib/src/Float.hpp
Bousk/Net
bb77d61f870a28752fdf7509c111d446819aff31
[ "MIT" ]
null
null
null
NetworkLib/src/Float.hpp
Bousk/Net
bb77d61f870a28752fdf7509c111d446819aff31
[ "MIT" ]
1
2020-10-31T23:50:23.000Z
2020-10-31T23:50:23.000Z
#pragma once #include <RangedInteger.hpp> #include <Serialization/Serialization.hpp> #include <Serialization/Serializer.hpp> #include <Serialization/Deserializer.hpp> namespace Bousk { template<class FLOATTYPE, int32 MIN, int32 MAX, uint8 NBDECIMALS, uint8 STEP = 1 > class Float : public Serialization::Serializable...
38.745455
140
0.727358
Bousk
bf19a050a9d17181e6ef289ba3c576590fae4e9e
4,062
cpp
C++
src/prod/src/ServiceModel/PagingStatus.cpp
vishnuk007/service-fabric
d0afdea185ae932cc3c9eacf179692e6fddbc630
[ "MIT" ]
2,542
2018-03-14T21:56:12.000Z
2019-05-06T01:18:20.000Z
src/prod/src/ServiceModel/PagingStatus.cpp
vishnuk007/service-fabric
d0afdea185ae932cc3c9eacf179692e6fddbc630
[ "MIT" ]
994
2019-05-07T02:39:30.000Z
2022-03-31T13:23:04.000Z
src/prod/src/ServiceModel/PagingStatus.cpp
vishnuk007/service-fabric
d0afdea185ae932cc3c9eacf179692e6fddbc630
[ "MIT" ]
300
2018-03-14T21:57:17.000Z
2019-05-06T20:07:00.000Z
// ------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See License.txt in the repo root for license information. // ------------------------------------------------------------ #include "stdafx.h" using nam...
28.405594
180
0.70384
vishnuk007
bf1f059e5368aebbc9e23f9c3aea0a796b21d911
4,328
cpp
C++
Libraries/Resources/Hcsr501/Hcsr501.cpp
automacaoiot/ESP8266-SDK
ee8028a9dce00dab7dee13afdc3b7a7c51af6d03
[ "MIT" ]
null
null
null
Libraries/Resources/Hcsr501/Hcsr501.cpp
automacaoiot/ESP8266-SDK
ee8028a9dce00dab7dee13afdc3b7a7c51af6d03
[ "MIT" ]
null
null
null
Libraries/Resources/Hcsr501/Hcsr501.cpp
automacaoiot/ESP8266-SDK
ee8028a9dce00dab7dee13afdc3b7a7c51af6d03
[ "MIT" ]
null
null
null
/** *MIT License * * Copyright (c) 2017 Automa��o-IOT * 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, modi...
34.903226
138
0.658965
automacaoiot
bf213da706fcc816c12313ec662a8e583798c00d
2,375
hpp
C++
math/geometry.hpp
quyse/inanity
a39225c5a41f879abe5aa492bb22b500dbe77433
[ "MIT" ]
26
2015-04-22T05:25:25.000Z
2020-11-15T11:07:56.000Z
math/geometry.hpp
quyse/inanity
a39225c5a41f879abe5aa492bb22b500dbe77433
[ "MIT" ]
2
2015-01-05T10:41:27.000Z
2015-01-06T20:46:11.000Z
math/geometry.hpp
quyse/inanity
a39225c5a41f879abe5aa492bb22b500dbe77433
[ "MIT" ]
5
2016-08-02T11:13:57.000Z
2018-10-26T11:19:27.000Z
#ifndef ___INANITY_MATH_GEOMETRY_HPP___ #define ___INANITY_MATH_GEOMETRY_HPP___ #include "basic.hpp" BEGIN_INANITY_MATH template <typename T> xmat<T, 4, 4> CreateTranslationMatrix(const xvec<T, 3>& translation) { xmat<T, 4, 4> r = identity_mat<T, 4>(); r(0, 3) = translation(0); r(1, 3) = translation(1); r(2, 3) ...
20.299145
103
0.532211
quyse
bf222b8459571e85368deec0c2b8d337de4c5ddd
10,280
cpp
C++
mcrng/mcrng.cpp
tectrolabs/microrng
586576107d510374d0a5b8536da45b4743dcadbf
[ "MIT" ]
null
null
null
mcrng/mcrng.cpp
tectrolabs/microrng
586576107d510374d0a5b8536da45b4743dcadbf
[ "MIT" ]
null
null
null
mcrng/mcrng.cpp
tectrolabs/microrng
586576107d510374d0a5b8536da45b4743dcadbf
[ "MIT" ]
1
2020-04-21T20:43:01.000Z
2020-04-21T20:43:01.000Z
/** * Copyright (C) 2014-2022 TectroLabs LLC, https://tectrolabs.com * * 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 * ...
30.146628
142
0.580156
tectrolabs
bf2278af946938a3377b419a537b09a9254a8cda
34,726
cpp
C++
src/plzma_path.cpp
readdle/PLzmaSDK
9587bbbb507249c66b90209e115bf0edd8d88274
[ "MIT" ]
null
null
null
src/plzma_path.cpp
readdle/PLzmaSDK
9587bbbb507249c66b90209e115bf0edd8d88274
[ "MIT" ]
null
null
null
src/plzma_path.cpp
readdle/PLzmaSDK
9587bbbb507249c66b90209e115bf0edd8d88274
[ "MIT" ]
null
null
null
// // By using this Software, you are accepting original [LZMA SDK] and MIT license below: // // The MIT License (MIT) // // Copyright (c) 2015 - 2021 Oleh Kulykov <olehkulykov@gmail.com> // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation ...
38.076754
170
0.607384
readdle
bf28e1de4bb0ce3a2e2cc31e0877d1c8cb2f539a
120
hpp
C++
libs/shared/itsuptoyou.hpp
zepadovani/generic-makefile-withlibs
5c8da8f87a23c414700013efd569339f3fb798e6
[ "Unlicense" ]
null
null
null
libs/shared/itsuptoyou.hpp
zepadovani/generic-makefile-withlibs
5c8da8f87a23c414700013efd569339f3fb798e6
[ "Unlicense" ]
null
null
null
libs/shared/itsuptoyou.hpp
zepadovani/generic-makefile-withlibs
5c8da8f87a23c414700013efd569339f3fb798e6
[ "Unlicense" ]
null
null
null
#ifndef ITSUPTOYOU_HPP_INCLUDED #define ITSUPTOYOU_HPP_INCLUDED void itsuptoyou( ); #endif // ITSUPTOYOU_HPP_INCLUDED
17.142857
33
0.833333
zepadovani
bf294b7bfce9d40ebb6da5882bfb8327b03fed87
10,021
cpp
C++
src/chip8.cpp
Akaito/csaru-chip8
b30d2de2fac5493d5da13d38571936dd21a25e36
[ "Zlib" ]
null
null
null
src/chip8.cpp
Akaito/csaru-chip8
b30d2de2fac5493d5da13d38571936dd21a25e36
[ "Zlib" ]
null
null
null
src/chip8.cpp
Akaito/csaru-chip8
b30d2de2fac5493d5da13d38571936dd21a25e36
[ "Zlib" ]
null
null
null
// This is *heavily* based on Laurence Muller's tutorial at // http://www.multigesture.net/articles/how-to-write-an-emulator-chip-8-interpreter/ #include <cstdlib> #include <cstdio> #include <cstring> #include "../include/chip8.hpp" //===================================================================== // // Stati...
29.130814
86
0.518312
Akaito
bf2c8bf4bc92893840806d84d0309123ed0e9d69
7,977
cpp
C++
src/renderer/resource_managers/model_manager.cpp
JakubLukas/NewEngine
38ea585a37347ec0630673b9d4a7f948e4dc1477
[ "MIT" ]
4
2017-10-04T11:38:48.000Z
2021-11-16T20:35:37.000Z
src/renderer/resource_managers/model_manager.cpp
JakubLukas/NewEngine
38ea585a37347ec0630673b9d4a7f948e4dc1477
[ "MIT" ]
4
2018-06-07T23:27:02.000Z
2018-10-18T12:19:57.000Z
src/renderer/resource_managers/model_manager.cpp
JakubLukas/NewEngine
38ea585a37347ec0630673b9d4a7f948e4dc1477
[ "MIT" ]
null
null
null
#include "model_manager.h" #include "core/file/blob.h" #include "core/parsing/json.h" #include "../renderer.h" namespace Veng { ResourceType Model::RESOURCE_TYPE("model"); static ResourceType MATERIAL_TYPE("material"); ModelManager::ModelManager(Allocator& allocator, FileSystem& fileSystem, DependencyManager* d...
28.694245
104
0.701642
JakubLukas
bf2d73bf2b9cc2c1f7a96fdecad2f840fbd3ddb2
421
hpp
C++
source/ashes/renderer/TestRenderer/Command/Commands/TestBeginQueryCommand.hpp
DragonJoker/Ashes
a6ed950b3fd8fb9626c60b4291fbd52ea75ac66e
[ "MIT" ]
227
2018-09-17T16:03:35.000Z
2022-03-19T02:02:45.000Z
source/ashes/renderer/TestRenderer/Command/Commands/TestBeginQueryCommand.hpp
DragonJoker/RendererLib
0f8ad8edec1b0929ebd10247d3dd0a9ee8f8c91a
[ "MIT" ]
39
2018-02-06T22:22:24.000Z
2018-08-29T07:11:06.000Z
source/ashes/renderer/TestRenderer/Command/Commands/TestBeginQueryCommand.hpp
DragonJoker/Ashes
a6ed950b3fd8fb9626c60b4291fbd52ea75ac66e
[ "MIT" ]
8
2019-05-04T10:33:32.000Z
2021-04-05T13:19:27.000Z
/* This file belongs to Ashes. See LICENSE file in root folder */ #pragma once #include "renderer/TestRenderer/Command/Commands/TestCommandBase.hpp" namespace ashes::test { class BeginQueryCommand : public CommandBase { public: BeginQueryCommand( VkDevice device , VkQueryPool pool , uint32_t query , V...
17.541667
69
0.745843
DragonJoker
bf3166d2389ca3917d2b6707c9142288ae7209a1
9,289
inl
C++
Base/PLCore/include/PLCore/Container/HashMapKeyIterator.inl
ktotheoz/pixellight
43a661e762034054b47766d7e38d94baf22d2038
[ "MIT" ]
83
2015-01-08T15:06:14.000Z
2021-07-20T17:07:00.000Z
Base/PLCore/include/PLCore/Container/HashMapKeyIterator.inl
PixelLightFoundation/pixellight
43a661e762034054b47766d7e38d94baf22d2038
[ "MIT" ]
27
2019-06-18T06:46:07.000Z
2020-02-02T11:11:28.000Z
Base/PLCore/include/PLCore/Container/HashMapKeyIterator.inl
naetherm/PixelLight
d7666f5b49020334cbb5debbee11030f34cced56
[ "MIT" ]
40
2015-02-25T18:24:34.000Z
2021-03-06T09:01:48.000Z
/*********************************************************\ * File: HashMapKeyIterator.inl * * Hash map iterator template implementation * * Copyright (C) 2002-2013 The PixelLight Team (http://www.pixellight.org/) * * This file is part of PixelLight. * * Permission is hereby gra...
37.760163
172
0.659705
ktotheoz
bf336c1c43956c888f5aec54109deeec9b052c61
4,196
cpp
C++
box2dweldjoint.cpp
folibis/qml-box2d
b564712492a2c5c9e8bdfbe2ba09a6e8cbbe7d54
[ "Zlib" ]
null
null
null
box2dweldjoint.cpp
folibis/qml-box2d
b564712492a2c5c9e8bdfbe2ba09a6e8cbbe7d54
[ "Zlib" ]
null
null
null
box2dweldjoint.cpp
folibis/qml-box2d
b564712492a2c5c9e8bdfbe2ba09a6e8cbbe7d54
[ "Zlib" ]
null
null
null
/* * box2dweldjoint.cpp * Copyright (c) 2011 Joonas Erkinheimo <joonas.erkinheimo@nokia.com> * * This file is part of the Box2D QML plugin. * * 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...
27.070968
102
0.709009
folibis
bf342d66f2b1af88dfd27c9857a3b310ee6f330c
780
cpp
C++
Raven.CppClient.Tests/CanGetBuildNumberTest.cpp
mlawsonca/ravendb-cpp-client
c3a3d4960c8b810156547f62fa7aeb14a121bf74
[ "MIT" ]
3
2019-04-24T02:34:53.000Z
2019-08-01T08:22:26.000Z
Raven.CppClient.Tests/CanGetBuildNumberTest.cpp
mlawsonca/ravendb-cpp-client
c3a3d4960c8b810156547f62fa7aeb14a121bf74
[ "MIT" ]
2
2019-03-21T09:00:02.000Z
2021-02-28T23:49:26.000Z
Raven.CppClient.Tests/CanGetBuildNumberTest.cpp
mlawsonca/ravendb-cpp-client
c3a3d4960c8b810156547f62fa7aeb14a121bf74
[ "MIT" ]
3
2019-03-04T11:58:54.000Z
2021-03-01T00:25:49.000Z
#include "pch.h" #include "RavenTestDriver.h" #include "raven_test_definitions.h" #include "MaintenanceOperationExecutor.h" #include "GetBuildNumberOperation.h" namespace ravendb::client::tests::client::documents::commands { class CanGetBuildNumberTest : public driver::RavenTestDriver { protected: void customise_...
27.857143
110
0.778205
mlawsonca
bf3d26bbed40fcdc015a95d6113f6f6785b9e6b6
574
cpp
C++
src/bug_01.cpp
happanda/advent_2017
9e705f3088d79dac0caa471154ae88ed5106b2d2
[ "MIT" ]
null
null
null
src/bug_01.cpp
happanda/advent_2017
9e705f3088d79dac0caa471154ae88ed5106b2d2
[ "MIT" ]
null
null
null
src/bug_01.cpp
happanda/advent_2017
9e705f3088d79dac0caa471154ae88ed5106b2d2
[ "MIT" ]
null
null
null
#include "advent.h" void BugFix<1>::solve1st() { std::string input; std::getline(*mIn, input); int repeatsSum = 0; for (size_t i = 0; i <= input.size(); ++i) { if (input[i] == input[(i + 1) % input.size()]) repeatsSum += input[i] - '0'; } *mOut << repeatsSum << std::endl; } void BugFix<1>::solve2nd() { ...
18.516129
63
0.559233
happanda
bf440988370b8e4e7597f6cc29eadafaad586aa7
1,100
cpp
C++
virtual-base-class.cpp
rsds8540/cpp-solved-problems
cbd63e0743d7653d8e06401026c16aa1dd5f775b
[ "Apache-2.0" ]
1
2021-04-27T18:23:05.000Z
2021-04-27T18:23:05.000Z
virtual-base-class.cpp
rsds8540/cpp-solved-problems
cbd63e0743d7653d8e06401026c16aa1dd5f775b
[ "Apache-2.0" ]
null
null
null
virtual-base-class.cpp
rsds8540/cpp-solved-problems
cbd63e0743d7653d8e06401026c16aa1dd5f775b
[ "Apache-2.0" ]
null
null
null
#include <bits/stdc++.h> using namespace std; class student { protected: int roll; public: void setroll(int r) { roll = r; } void getroll() { cout << "Roll No." << roll << endl; } }; class test : virtual public student { protected: float che, phy; public: void setm...
14.285714
67
0.519091
rsds8540
bf44380203645d8829ff51d0c1aaa496b20ab063
257
cpp
C++
examples/03_module/06_value_and_reference_params/sample_value_ref.cpp
acc-cosc-1337-spring-2019/acc-cosc-1337-spring-2019-MahdevGiri
91322930bedf6897b6244c778c707231560ccb15
[ "MIT" ]
null
null
null
examples/03_module/06_value_and_reference_params/sample_value_ref.cpp
acc-cosc-1337-spring-2019/acc-cosc-1337-spring-2019-MahdevGiri
91322930bedf6897b6244c778c707231560ccb15
[ "MIT" ]
null
null
null
examples/03_module/06_value_and_reference_params/sample_value_ref.cpp
acc-cosc-1337-spring-2019/acc-cosc-1337-spring-2019-MahdevGiri
91322930bedf6897b6244c778c707231560ccb15
[ "MIT" ]
null
null
null
#include "sample_value_ref.h" // void pass_by_val_and_ref(int num1, int & num2, const int & num3) { num1 = 20; // modifying this value is local to function num2 = 50; // modifying this value will change caller variable //num3 = 100; can't be modified }
25.7
64
0.712062
acc-cosc-1337-spring-2019
bf44bc72b3fd86735b662c04470c43fabd94984a
5,271
hpp
C++
Query/GpDbQueryRes.hpp
ITBear/GpDbClient
877f1fba2816509d06c8c798fbc788a706859644
[ "Apache-2.0" ]
null
null
null
Query/GpDbQueryRes.hpp
ITBear/GpDbClient
877f1fba2816509d06c8c798fbc788a706859644
[ "Apache-2.0" ]
null
null
null
Query/GpDbQueryRes.hpp
ITBear/GpDbClient
877f1fba2816509d06c8c798fbc788a706859644
[ "Apache-2.0" ]
null
null
null
#pragma once #include "GpDbQueryResState.hpp" namespace GPlatform { class GPDBCLIENT_API GpDbQueryRes { public: CLASS_REMOVE_CTRS_MOVE_COPY(GpDbQueryRes) CLASS_DECLARE_DEFAULTS(GpDbQueryRes) using StateTE = GpDbQueryResState::EnumT; public: GpDbQueryRe...
46.646018
113
0.393474
ITBear
bf49f09b76323dfb7f009f5a507f3ac43b6365e5
2,650
hpp
C++
include/kmeans/InitializeRandom.hpp
LTLA/CppKmeans
924ea37c55edbfbd2aacd3c55954d167f15a7922
[ "MIT" ]
2
2021-07-22T03:01:49.000Z
2021-11-11T11:07:30.000Z
include/kmeans/InitializeRandom.hpp
LTLA/CppKmeans
924ea37c55edbfbd2aacd3c55954d167f15a7922
[ "MIT" ]
3
2021-07-21T07:37:16.000Z
2022-02-15T06:55:38.000Z
vendor/kmeans/InitializeRandom.hpp
kojix2/umap
92404e3afe312393fb849227e0d6e91ad4355d8d
[ "MIT" ]
1
2021-11-12T22:02:46.000Z
2021-11-12T22:02:46.000Z
#ifndef KMEANS_INITIALIZE_RANDOM_HPP #define KMEANS_INITIALIZE_RANDOM_HPP #include <algorithm> #include <cstdint> #include <random> #include "Base.hpp" #include "random.hpp" /** * @file InitializeRandom.hpp * * @brief Class for random initialization. */ namespace kmeans { /** * @cond */ template<class V, ty...
28.804348
126
0.663019
LTLA
bf4ba4442addcd0775e1ac38a7f2bde3cee63fb7
10,521
cpp
C++
dsr_emeraldenvysrc/src/intro.cpp
mudlord/demos
359bada56a27ddbd4fcb846c0ff34bc474cb7f05
[ "Unlicense" ]
20
2017-12-12T16:37:25.000Z
2022-02-19T10:35:46.000Z
dsr_emeraldenvysrc/src/intro.cpp
mudlord/demos
359bada56a27ddbd4fcb846c0ff34bc474cb7f05
[ "Unlicense" ]
null
null
null
dsr_emeraldenvysrc/src/intro.cpp
mudlord/demos
359bada56a27ddbd4fcb846c0ff34bc474cb7f05
[ "Unlicense" ]
7
2017-12-29T23:19:18.000Z
2021-08-17T09:53:15.000Z
//--------------------------------------------------------------------------// // iq / rgba . tiny codes . 2008 // //--------------------------------------------------------------------------// #define WIN32_LEAN_AND_MEAN #define WIN32_EXTRA_LEAN #include <windows.h> #include...
34.495082
160
0.690999
mudlord
bf4c4c29603944e5e62b8379a721ae33c6959824
2,017
cpp
C++
Solutions/Ch7/7-16 Vector Modification.cpp
menarus/C-Course
ac56ec4215a69f6a755e766b9d113e4a4e08b087
[ "MIT" ]
1
2017-09-14T01:07:44.000Z
2017-09-14T01:07:44.000Z
Solutions/Ch7/7-16 Vector Modification.cpp
menarus/C-Course
ac56ec4215a69f6a755e766b9d113e4a4e08b087
[ "MIT" ]
null
null
null
Solutions/Ch7/7-16 Vector Modification.cpp
menarus/C-Course
ac56ec4215a69f6a755e766b9d113e4a4e08b087
[ "MIT" ]
null
null
null
/* Project : 7-16 Vector Modification Author : Mohammad Al-Husseini Description : Change pin1, pin2, and pin3 to be Vectors. And modify testPin to accept Vectors. */ /////////////////////////////////////////////////////////////////////////////////////////////////// // This program is a driver that tests a ...
36.017857
100
0.563213
menarus
bf4d029035b1315d7732082d299580db2ee936cc
3,477
cpp
C++
tests/string/tao/hello.cpp
ClausKlein/taox11
669cfd2d0be258722c7ee32b23f2e5cb83e4520f
[ "MIT" ]
20
2019-11-13T12:31:20.000Z
2022-02-27T12:30:39.000Z
tests/string/tao/hello.cpp
ClausKlein/taox11
669cfd2d0be258722c7ee32b23f2e5cb83e4520f
[ "MIT" ]
46
2019-11-15T20:40:18.000Z
2022-03-31T19:04:36.000Z
tests/string/tao/hello.cpp
ClausKlein/taox11
669cfd2d0be258722c7ee32b23f2e5cb83e4520f
[ "MIT" ]
5
2019-11-12T15:00:50.000Z
2022-01-17T17:33:05.000Z
/** * @file hello.cpp * @author Mark Drijver * * @brief CORBA C++ server application * * @copyright Copyright (c) Remedy IT Expertise BV */ #include "hello.h" #include <iostream> #include "testdata.h" Hello::Hello(CORBA::ORB_ptr orb, int& result) : orb_(CORBA::ORB::_duplicate(orb)), result_(result) { }...
21.596273
101
0.626977
ClausKlein
bf50eb991a1b263fb8e6b6d17d78f2f86c1abbec
250
cpp
C++
R113-edu/b.cpp
patwadeepak/codeforces
5da8c79ad6f27a4a2436d19fc8cbf274ecd452e2
[ "Apache-2.0" ]
null
null
null
R113-edu/b.cpp
patwadeepak/codeforces
5da8c79ad6f27a4a2436d19fc8cbf274ecd452e2
[ "Apache-2.0" ]
null
null
null
R113-edu/b.cpp
patwadeepak/codeforces
5da8c79ad6f27a4a2436d19fc8cbf274ecd452e2
[ "Apache-2.0" ]
null
null
null
#include <bits/stdc++.h> using namespace std; void solve() { int n; cin >> n; string s; cin >> s; vector<vector<char>> table(n, vector<char>(n, 'X')); } int main() { int t; cin >> t; while(t--) solve(); }
13.157895
56
0.484
patwadeepak
bf5208b3e9ea852dcc52d95d52c359331585fdf2
5,550
cpp
C++
src/Accelerators/NNPA/Dialect/ZHigh/ZHighHelper.cpp
philass/onnx-mlir
09965003137f82d8891676c986ec6403faa9c3cb
[ "Apache-2.0" ]
1
2022-03-23T06:41:14.000Z
2022-03-23T06:41:14.000Z
src/Accelerators/NNPA/Dialect/ZHigh/ZHighHelper.cpp
philass/onnx-mlir
09965003137f82d8891676c986ec6403faa9c3cb
[ "Apache-2.0" ]
1
2022-03-31T23:58:31.000Z
2022-03-31T23:58:31.000Z
src/Accelerators/NNPA/Dialect/ZHigh/ZHighHelper.cpp
philass/onnx-mlir
09965003137f82d8891676c986ec6403faa9c3cb
[ "Apache-2.0" ]
1
2022-01-11T09:39:03.000Z
2022-01-11T09:39:03.000Z
/* * SPDX-License-Identifier: Apache-2.0 */ //===-------- ZHighHelper.cpp - NNPA ZHigh Helper Functions ---------------===// // // Copyright 2019-2022 The IBM Research Authors. // // ============================================================================= // //===------------------------------------------------...
34.90566
80
0.706847
philass
bf587f5647fa6585f26b6e88da7b178c3c8a2324
1,348
cpp
C++
Projects/Skylicht/Audio/Source/Decoder/CAudioDecoderRawWav.cpp
tsukoyumi/skylicht-engine
3b88d9718e87e552152633ef60e3f889869b71de
[ "MIT" ]
null
null
null
Projects/Skylicht/Audio/Source/Decoder/CAudioDecoderRawWav.cpp
tsukoyumi/skylicht-engine
3b88d9718e87e552152633ef60e3f889869b71de
[ "MIT" ]
null
null
null
Projects/Skylicht/Audio/Source/Decoder/CAudioDecoderRawWav.cpp
tsukoyumi/skylicht-engine
3b88d9718e87e552152633ef60e3f889869b71de
[ "MIT" ]
null
null
null
#include "stdafx.h" #include "CAudioDecoderRawWav.h" namespace SkylichtAudio { CAudioDecoderRawWav::CAudioDecoderRawWav(IStream* stream) :IAudioDecoder(stream) { m_streamCursor = stream->createCursor(); } CAudioDecoderRawWav::~CAudioDecoderRawWav() { delete m_streamCursor; } EStatus CAudioDecoderRawWav:...
20.119403
72
0.727003
tsukoyumi
bf58ef26a145e3d12e63966e16a9725a4257cb68
777
cpp
C++
src/greeter/tests/greeter_api_tests.cpp
tstraus/cpp_starter
519c30945ac752ce95974df7826eeaec5949bd96
[ "MIT" ]
null
null
null
src/greeter/tests/greeter_api_tests.cpp
tstraus/cpp_starter
519c30945ac752ce95974df7826eeaec5949bd96
[ "MIT" ]
null
null
null
src/greeter/tests/greeter_api_tests.cpp
tstraus/cpp_starter
519c30945ac752ce95974df7826eeaec5949bd96
[ "MIT" ]
null
null
null
#include "greeter_api.h" #include "gtest/gtest.h" #define TEST_NAME "Margot" TEST(GreeterApiTests, Greet) { auto* g = greeter_new(); ASSERT_NE(g, nullptr); EXPECT_GT(greeter_greet(g, TEST_NAME), 0); auto* gc = g; greeter_free(g); ASSERT_EQ(g, gc); } TEST(GreeterApiTests, Length) { auto...
17.659091
52
0.655084
tstraus
bf5f3ddbf3c5107ba81a536e295076fb4bd4fbfd
3,622
cpp
C++
src/cic-plan/src/cic/plan/Target.cpp
Mezozoysky/cic
103a623db2b9d14c212867bd3319fb577cbcae1d
[ "Zlib" ]
null
null
null
src/cic-plan/src/cic/plan/Target.cpp
Mezozoysky/cic
103a623db2b9d14c212867bd3319fb577cbcae1d
[ "Zlib" ]
null
null
null
src/cic-plan/src/cic/plan/Target.cpp
Mezozoysky/cic
103a623db2b9d14c212867bd3319fb577cbcae1d
[ "Zlib" ]
null
null
null
// cic // // cic - Copyright (C) 2017-2018 Stanislav Demyanovich <mezozoysky@gmail.com> // // 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 t...
26.437956
128
0.647156
Mezozoysky
bf607d50afdfd91d2462cc8c984bad9f5e3b0c3f
3,914
cpp
C++
library/celestia/source/catalogxref.cpp
Sphinkie/LongForgottenEarth
9008e4381091579e38feee03c56c5e3435419474
[ "MIT" ]
null
null
null
library/celestia/source/catalogxref.cpp
Sphinkie/LongForgottenEarth
9008e4381091579e38feee03c56c5e3435419474
[ "MIT" ]
null
null
null
library/celestia/source/catalogxref.cpp
Sphinkie/LongForgottenEarth
9008e4381091579e38feee03c56c5e3435419474
[ "MIT" ]
null
null
null
// catalogxref.cpp // // Copyright (C) 2001, Chris Laurel <claurel@shatters.net> // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License // as published by the Free Software Foundation; either version 2 // of the License, or (at your option) any...
22.112994
77
0.628769
Sphinkie
bf69ca037c6ce7c337383dd06ea19a5b82da1e85
9,938
cpp
C++
Musical_Instruments_2017_2018/Musical_Glove/OLD CODE/gloves/Gloves_R/teensy/avr/libraries/Audio/control_ak4558.cpp
Pocketart/typhoonclawvex
eb4b523c13541b2b9136d32259bd0399b46a289e
[ "MIT" ]
4
2017-10-06T05:48:30.000Z
2018-03-30T06:20:22.000Z
Musical_Instruments_2017_2018/Musical_Glove/OLD CODE/gloves/Gloves_R/teensy/avr/libraries/Audio/control_ak4558.cpp
Pocketart/typhoonclawvex
eb4b523c13541b2b9136d32259bd0399b46a289e
[ "MIT" ]
null
null
null
Musical_Instruments_2017_2018/Musical_Glove/OLD CODE/gloves/Gloves_R/teensy/avr/libraries/Audio/control_ak4558.cpp
Pocketart/typhoonclawvex
eb4b523c13541b2b9136d32259bd0399b46a289e
[ "MIT" ]
3
2017-10-06T06:01:44.000Z
2018-05-25T06:37:19.000Z
/* * HiFi Audio Codec Module support library for Teensy 3.x * * Copyright 2015, Michele Perla * */ #include "control_ak4558.h" #include "Wire.h" void AudioControlAK4558::initConfig(void) { // puts all default registers values inside an array // this allows us to modify registers locally using annotation like ...
33.016611
114
0.732642
Pocketart
bf6b647a11daff2589ffce149e9cad4eb08677be
4,914
cpp
C++
src/lib/pubkey/rw/rw.cpp
el-forkorama/botan
4ad555977b03cb92dfac0b87a00febe4d8e7ff5e
[ "BSD-2-Clause" ]
null
null
null
src/lib/pubkey/rw/rw.cpp
el-forkorama/botan
4ad555977b03cb92dfac0b87a00febe4d8e7ff5e
[ "BSD-2-Clause" ]
null
null
null
src/lib/pubkey/rw/rw.cpp
el-forkorama/botan
4ad555977b03cb92dfac0b87a00febe4d8e7ff5e
[ "BSD-2-Clause" ]
null
null
null
/* * Rabin-Williams * (C) 1999-2008 Jack Lloyd * * Botan is released under the Simplified BSD License (see license.txt) */ #include <botan/internal/pk_utils.h> #include <botan/rw.h> #include <botan/keypair.h> #include <botan/parsing.h> #include <botan/reducer.h> #include <botan/blinding.h> #include <algorithm> #includ...
26.852459
87
0.614774
el-forkorama
bf6dad0efa8f4b117237b4443ee57524dfcbf432
4,213
hpp
C++
zen/bones/framework/bones_framework_accessor.hpp
shauncroton/sg14
3e4932375ac0bcec3b38b8a7686589c888722830
[ "Apache-2.0" ]
1
2016-12-10T07:21:17.000Z
2016-12-10T07:21:17.000Z
zen/bones/framework/bones_framework_accessor.hpp
shauncroton/sg14
3e4932375ac0bcec3b38b8a7686589c888722830
[ "Apache-2.0" ]
null
null
null
zen/bones/framework/bones_framework_accessor.hpp
shauncroton/sg14
3e4932375ac0bcec3b38b8a7686589c888722830
[ "Apache-2.0" ]
null
null
null
#ifndef __ZEN__BONES_FRAMEWORK_ACCESSOR__HPP #define __ZEN__BONES_FRAMEWORK_ACCESSOR__HPP /// /////////////////////////////////////////////////////////////////////////////////////////////////// /// #include <zen/bones/bones_framework.h> #include <zen/bones/framework/bones_framework_dispatcher.hpp> #include <unordered_...
25.533333
99
0.631379
shauncroton
bf73c8565bb825a44bedfc152cb1df858b7db48b
1,208
cpp
C++
prog-lab-I/VE2019/ve_17029_Q1.cpp
hsnavarro/CompIME
b4f285826d001b6f818d94636a6294782f1cedf2
[ "MIT" ]
null
null
null
prog-lab-I/VE2019/ve_17029_Q1.cpp
hsnavarro/CompIME
b4f285826d001b6f818d94636a6294782f1cedf2
[ "MIT" ]
null
null
null
prog-lab-I/VE2019/ve_17029_Q1.cpp
hsnavarro/CompIME
b4f285826d001b6f818d94636a6294782f1cedf2
[ "MIT" ]
null
null
null
// Feito por Henrique Navarro - 17029 #include<bits/stdc++.h> using namespace std; // usando funcionalidades do C++11 class burrowsWheeler{ string palavra; string modificarEntrada(){ return '^' + palavra + '|'; } vector<string> rotacoes(string modificada){ vector<string> resposta; resposta.push_bac...
23.686275
56
0.638245
hsnavarro
bf78ce060d8b93791d53aaf5d3cdc29b4743d110
1,465
cc
C++
LeetCode/Medium/GenerateParanthesis.cc
ChakreshSinghUC/CPPCodes
d82a3f467303566afbfcc927b660b0f7bf7c0432
[ "MIT" ]
null
null
null
LeetCode/Medium/GenerateParanthesis.cc
ChakreshSinghUC/CPPCodes
d82a3f467303566afbfcc927b660b0f7bf7c0432
[ "MIT" ]
null
null
null
LeetCode/Medium/GenerateParanthesis.cc
ChakreshSinghUC/CPPCodes
d82a3f467303566afbfcc927b660b0f7bf7c0432
[ "MIT" ]
null
null
null
// https://leetcode.com/problems/generate-parentheses/description/ /*Given n pairs of parentheses, write a function to generate all combinations of well-formed parentheses. For example, given n = 3, a solution set is: [ "((()))", "(()())", "(())()", "()(())", "()()()" ] */ #include <iostream> #include <algo...
20.347222
105
0.43959
ChakreshSinghUC
bf7aa0fff25188cfa7e25e89e340e723447887d0
3,982
cc
C++
src/iohal/translators/vm_i386_pae.cc
MarkMankins/libosi
2d67ed8066098bc798a53c06dffb5ba257d89bde
[ "BSD-3-Clause" ]
3
2021-02-23T09:13:07.000Z
2021-08-13T14:15:06.000Z
src/iohal/translators/vm_i386_pae.cc
MarkMankins/libosi
2d67ed8066098bc798a53c06dffb5ba257d89bde
[ "BSD-3-Clause" ]
3
2021-12-02T17:51:48.000Z
2022-03-04T20:02:32.000Z
src/iohal/translators/vm_i386_pae.cc
MarkMankins/libosi
2d67ed8066098bc798a53c06dffb5ba257d89bde
[ "BSD-3-Clause" ]
2
2021-12-07T00:42:31.000Z
2022-03-04T15:42:12.000Z
#include <cstdio> #include <cstdlib> #include "iohal/memory/physical_memory.h" #include "iohal/memory/virtual_memory.h" #include "vm_i386_pae.h" namespace i386_pae_translator { #define HW_PTE_MASK 0xFFFFFFFFFF000 static inline pm_addr_t get_page_directory_pointer_index(vm_addr_t vaddr) { uint64_t pdpimask = 0xC...
30.630769
89
0.67328
MarkMankins
bf81a58df9838c786792dbb2904cf32b7cf74f85
1,314
cpp
C++
vr/vr_rt/src/vr/market/books/execution_order_book.cpp
vladium/vrt
57394a630c306b7529dbe4574036ea71420d00cf
[ "MIT" ]
4
2019-09-09T22:08:40.000Z
2021-05-17T13:43:31.000Z
vr/vr_rt/src/vr/market/books/execution_order_book.cpp
vladium/vrt
57394a630c306b7529dbe4574036ea71420d00cf
[ "MIT" ]
null
null
null
vr/vr_rt/src/vr/market/books/execution_order_book.cpp
vladium/vrt
57394a630c306b7529dbe4574036ea71420d00cf
[ "MIT" ]
1
2019-09-09T15:46:20.000Z
2019-09-09T15:46:20.000Z
#include "vr/market/books/execution_order_book.h" #include "vr/util/ops_int.h" //---------------------------------------------------------------------------- namespace vr { namespace market { namespace ex { //............................................................................ std::ostream & operator<< (std...
22.271186
96
0.376712
vladium
bf907e9f5e5f84062729562f279fa88c83c05377
4,232
cpp
C++
src/game/game_state_phase1.cpp
FredTheDino/SpaceCat
e0ac174af72f92994b91480ba20f8d3a6688c29f
[ "MIT" ]
null
null
null
src/game/game_state_phase1.cpp
FredTheDino/SpaceCat
e0ac174af72f92994b91480ba20f8d3a6688c29f
[ "MIT" ]
null
null
null
src/game/game_state_phase1.cpp
FredTheDino/SpaceCat
e0ac174af72f92994b91480ba20f8d3a6688c29f
[ "MIT" ]
null
null
null
namespace Phase1 { Logic::EntityID player_id; Physics::Body bordere_rect_container[4]; f32 progess; f32 saddness; f32 saddness_target; Vec4 START_COLOR = V4(0.1, 0.05, 0.05, 1.0); Vec4 END_COLOR = V4(0.3, 0.3, 0.3, 1.0); void setup(); void enter(); void update(f32 now, f32 delta); void draw(); void exit(); Mixer::...
30.666667
153
0.615312
FredTheDino
bf95036bb06e29cfa2fd68d72ecebe00fe1ebe46
3,032
hpp
C++
include/rectojump/game/main_menu/background_main_menu.hpp
Malekblubb/rectojump
66c04e9a081bd1b830205bb0c515a42eeb4befb6
[ "MIT" ]
null
null
null
include/rectojump/game/main_menu/background_main_menu.hpp
Malekblubb/rectojump
66c04e9a081bd1b830205bb0c515a42eeb4befb6
[ "MIT" ]
null
null
null
include/rectojump/game/main_menu/background_main_menu.hpp
Malekblubb/rectojump
66c04e9a081bd1b830205bb0c515a42eeb4befb6
[ "MIT" ]
null
null
null
// // Copyright (c) 2013-2021 Christoph Malek // See LICENSE for more information. // #ifndef RJ_GAME_MAIN_MENU_BACKGROUND_MAIN_MENU_HPP #define RJ_GAME_MAIN_MENU_BACKGROUND_MAIN_MENU_HPP #include <rectojump/core/game_window.hpp> #include <rectojump/core/render.hpp> #include <rectojump/game/background/background_mana...
27.816514
70
0.681728
Malekblubb
bf98fc7753949724cf8bfd66501702e6b1e1e137
710
cpp
C++
OpenGL_Triangle/src/TextureLoader.cpp
HeyIAmDave/OpenGL-Moving-Triangle
b820bdacc7bc8ff2ce8f0398663753b9761c1f4b
[ "MIT", "BSD-3-Clause" ]
null
null
null
OpenGL_Triangle/src/TextureLoader.cpp
HeyIAmDave/OpenGL-Moving-Triangle
b820bdacc7bc8ff2ce8f0398663753b9761c1f4b
[ "MIT", "BSD-3-Clause" ]
null
null
null
OpenGL_Triangle/src/TextureLoader.cpp
HeyIAmDave/OpenGL-Moving-Triangle
b820bdacc7bc8ff2ce8f0398663753b9761c1f4b
[ "MIT", "BSD-3-Clause" ]
1
2021-09-12T16:18:47.000Z
2021-09-12T16:18:47.000Z
#include "TextureLoader.h" #define STB_IMAGE_IMPLEMENTATION #include <stb_image.h> TextureLoader::TextureLoader() { } Texture & TextureLoader::Load(const std::string & filePath) { if (m_textures.find(filePath) == m_textures.end()) { int w, h; unsigned char* data = stbi_load(("./data/" + filePath).c_str(), &w, ...
21.515152
80
0.68169
HeyIAmDave
bcc62a9abe019a1a84db55076b145ba228cb17f3
36,947
cpp
C++
DecompressLogo/DecompressLogo.cpp
clandrew/nhl94e
65faad66965f65f0f3a5080f9a38f5458b978849
[ "MIT" ]
2
2021-11-10T15:36:56.000Z
2021-11-10T16:16:40.000Z
DecompressLogo/DecompressLogo.cpp
clandrew/nhl94e
65faad66965f65f0f3a5080f9a38f5458b978849
[ "MIT" ]
null
null
null
DecompressLogo/DecompressLogo.cpp
clandrew/nhl94e
65faad66965f65f0f3a5080f9a38f5458b978849
[ "MIT" ]
null
null
null
// DecompressLogo.cpp : This file contains the 'main' function. Program execution begins and ends there. // #include <iostream> #include <iomanip> #include <vector> #include <assert.h> std::vector<unsigned char> romData; std::vector<unsigned char> out; // Bootstrap // 1. Break-on-write 7FA671 // 2. Step...
48.614474
13,873
0.598235
clandrew
bccad925333905252f09ea9d654acc9f88ac598b
4,090
cpp
C++
code archive/CF/1079G.cpp
brianbbsu/program
c4505f2b8c0b91010e157db914a63c49638516bc
[ "MIT" ]
4
2018-04-08T08:07:58.000Z
2021-06-07T14:55:24.000Z
code archive/CF/1079G.cpp
brianbbsu/program
c4505f2b8c0b91010e157db914a63c49638516bc
[ "MIT" ]
null
null
null
code archive/CF/1079G.cpp
brianbbsu/program
c4505f2b8c0b91010e157db914a63c49638516bc
[ "MIT" ]
1
2018-10-29T12:37:25.000Z
2018-10-29T12:37:25.000Z
//{ #include<bits/stdc++.h> using namespace std; typedef int ll; typedef double lf; typedef pair<ll,ll> ii; #define REP(i,n) for(ll i=0;i<n;i++) #define REP1(i,n) for(ll i=1;i<=n;i++) #define FILL(i,n) memset(i,n,sizeof i) #define X first #define Y second #define SZ(_a) (int)_a.size() #define ALL(_a) _a.begin(),_a.end(...
25.5625
129
0.476528
brianbbsu
bccbb768c15017dd2a04701b65a8bfead74a8802
12,924
hpp
C++
Engine/Code/Engine/Core/App.hpp
cugone/Abrams2019
0b94c43275069275bbbeadfa773c336fa1947882
[ "MIT" ]
1
2020-07-14T06:58:50.000Z
2020-07-14T06:58:50.000Z
Engine/Code/Engine/Core/App.hpp
cugone/Abrams2019
0b94c43275069275bbbeadfa773c336fa1947882
[ "MIT" ]
1
2020-04-06T06:52:11.000Z
2020-04-06T06:52:19.000Z
Engine/Code/Engine/Core/App.hpp
cugone/Abrams2019
0b94c43275069275bbbeadfa773c336fa1947882
[ "MIT" ]
2
2019-05-01T21:49:33.000Z
2021-04-01T08:22:21.000Z
#pragma once #include "Engine/Audio/AudioSystem.hpp" #include "Engine/Core/Config.hpp" #include "Engine/Core/Console.hpp" #include "Engine/Core/EngineConfig.hpp" #include "Engine/Core/EngineCommon.hpp" #include "Engine/Core/EngineSubsystem.hpp" #include "Engine/Core/FileLogger.hpp" #include "Engine/Core/JobSystem.hpp...
30.553191
191
0.692587
cugone
bccbcfe71904fbe1fb6874b5f9cccc537f7c6b8a
189
hpp
C++
CSGOSimple/features/nosmoke.hpp
alerion921/krilu92-csgo
aa18bff83ff48b2c9c52655424db39a9b9655e86
[ "MIT" ]
null
null
null
CSGOSimple/features/nosmoke.hpp
alerion921/krilu92-csgo
aa18bff83ff48b2c9c52655424db39a9b9655e86
[ "MIT" ]
1
2022-03-07T21:32:36.000Z
2022-03-07T21:32:36.000Z
CSGOSimple/features/nosmoke.hpp
alerion921/krilu92-csgo
aa18bff83ff48b2c9c52655424db39a9b9655e86
[ "MIT" ]
null
null
null
#pragma once #include "../Singleton.hpp" #include "../options.hpp" #include "../valve_sdk/csgostructs.hpp" class NoSmoke : public Singleton<NoSmoke> { public: void RemoveSmoke(); };
14.538462
41
0.693122
alerion921
bccc0128518c88978b4044c4442b8713be10a5fc
884
cpp
C++
src/Process/TextureGL.cpp
ThiagoLuizNunes/CG-TerrorProject
ec373bdadb1340703a5c5881d900c7648842864a
[ "MIT" ]
2
2017-12-17T05:02:58.000Z
2019-04-17T20:59:42.000Z
src/Process/TextureGL.cpp
ThiagoLuizNunes/TerrorOnTheHouse
ec373bdadb1340703a5c5881d900c7648842864a
[ "MIT" ]
1
2017-08-04T19:39:23.000Z
2017-08-21T04:12:13.000Z
src/Process/TextureGL.cpp
ThiagoLuizNunes/CG-TerrorProject
ec373bdadb1340703a5c5881d900c7648842864a
[ "MIT" ]
null
null
null
#include "TextureGL.hpp" TextureGL::TextureGL(int w, int h, int ch ,unsigned char* img) { this->width = w; this->height = h; this->channels = ch; this->data = img; } TextureGL::~TextureGL() {} int TextureGL::getWidth(void){ return this->width; } int TextureGL::getHeight(void){ return this->height; } int Texture...
25.257143
74
0.647059
ThiagoLuizNunes
bccf11d17f62a85a9166f4894ffa358e13b755b9
10,126
cpp
C++
MadLibs.cpp
quorten/madlibs-hist
1b217cca5001b27aba29f914dea234f1c757287b
[ "Unlicense" ]
null
null
null
MadLibs.cpp
quorten/madlibs-hist
1b217cca5001b27aba29f914dea234f1c757287b
[ "Unlicense" ]
null
null
null
MadLibs.cpp
quorten/madlibs-hist
1b217cca5001b27aba29f914dea234f1c757287b
[ "Unlicense" ]
null
null
null
//A simple Mad Libs game which loads a random story from a file. //Later a configuration pannel may be added. #ifdef MSVC #include <io.h> #else #include <dirent.h> //POSIX compliant code #endif #include <iostream> #include <vector> #include <string> #include <algorithm> #include <cstdio> #include <cstdl...
26.301299
118
0.613767
quorten
bcd5e56e3950bb5a15fd853fdc9f0eef5676b254
1,414
hpp
C++
src/mge/behaviours/AbstractBehaviour.hpp
mtesseracttech/CustomEngine
1a9ed564408ae29fe49681a810b851403d71f486
[ "Apache-2.0" ]
null
null
null
src/mge/behaviours/AbstractBehaviour.hpp
mtesseracttech/CustomEngine
1a9ed564408ae29fe49681a810b851403d71f486
[ "Apache-2.0" ]
null
null
null
src/mge/behaviours/AbstractBehaviour.hpp
mtesseracttech/CustomEngine
1a9ed564408ae29fe49681a810b851403d71f486
[ "Apache-2.0" ]
null
null
null
#ifndef ABSTRACTBEHAVIOUR_H #define ABSTRACTBEHAVIOUR_H #include "Physics/RigidBody.h" class GameObject; /** * An AbstractBehaviour allows you to attach reusable behaviours to GameObjects (Steering, rotating, billboarding, etc). * A Behaviour is set on a GameObject, which in turn passes in a reference to itself th...
31.422222
120
0.730552
mtesseracttech
bcd8f37017ce4bf5caf3939556e80374a792fc27
13,273
cpp
C++
library/ltbl/LightDirectionEmission.cpp
NeroGames/Nero-Game-Engine
8543b8bb142738aa28bc20e929b342d3e6df066e
[ "MIT" ]
26
2020-09-02T18:14:36.000Z
2022-02-08T18:28:36.000Z
library/ltbl/LightDirectionEmission.cpp
sk-landry/Nero-Game-Engine
8543b8bb142738aa28bc20e929b342d3e6df066e
[ "MIT" ]
14
2020-08-30T01:37:04.000Z
2021-07-19T20:47:29.000Z
library/ltbl/LightDirectionEmission.cpp
sk-landry/Nero-Game-Engine
8543b8bb142738aa28bc20e929b342d3e6df066e
[ "MIT" ]
6
2020-09-02T18:14:57.000Z
2021-12-31T00:32:09.000Z
#include <ltbl/LightDirectionEmission.hpp> namespace ltbl { LightDirectionEmission::LightDirectionEmission() : BaseLight() , mShape() , mCastDirection(0.f, 1.f) , mCastAngle(90.f) , mSourceRadius(5.0f) , mSourceDistance(100.0f) { } void LightDirectionEmission::setColor(const sf::Color& color) { mShape.setFill...
36.265027
293
0.736533
NeroGames
bcd971f123367cb08b61f06a14ece77ff5adea14
7,716
cpp
C++
src/Game.cpp
johnhues/ae-asteroids
6d47c1e794b060718b21230ab59b04e62633f8fb
[ "MIT" ]
null
null
null
src/Game.cpp
johnhues/ae-asteroids
6d47c1e794b060718b21230ab59b04e62633f8fb
[ "MIT" ]
null
null
null
src/Game.cpp
johnhues/ae-asteroids
6d47c1e794b060718b21230ab59b04e62633f8fb
[ "MIT" ]
null
null
null
#include "Game.h" #include "Components.h" ae::DebugLines*& GetDebugLines() { static ae::DebugLines* g_debugLines = nullptr; return g_debugLines; } void Game::Initialize() { window.Initialize( 800, 600, false, true ); window.SetTitle( "AE-Asteroids" ); render.Initialize( &window ); debugLines.Initialize( 256 ); ...
26.424658
131
0.649171
johnhues
bcda1b04a810ad7ad4182e38ffe1f791e1979b1e
238
cpp
C++
AlgorithmCpp/Leetcode题解/L017.cpp
PusenYang/OoAlgorithm
3e34517894f5c84f49a17c42bccb09004dd92ba4
[ "MIT" ]
null
null
null
AlgorithmCpp/Leetcode题解/L017.cpp
PusenYang/OoAlgorithm
3e34517894f5c84f49a17c42bccb09004dd92ba4
[ "MIT" ]
null
null
null
AlgorithmCpp/Leetcode题解/L017.cpp
PusenYang/OoAlgorithm
3e34517894f5c84f49a17c42bccb09004dd92ba4
[ "MIT" ]
null
null
null
// 根据九宫格布局输出电话号码的可能组合 // 回溯法递归求解,接收两个参数:1.当前数字已经组成的对应字符串,2.剩余的数字字符串;返回条件:剩余的字符串为空,即所有的数字都匹配完;定义一个全局list存放可能的结果,当一个分支完整地遍历之后记录结果 #include<iostream> #include<vector> #include<map> using namespace std; int main() { return 0; }
14
105
0.752101
PusenYang
bce1fe7197d317fbf312a52f653dfad6f5e5b112
737
cpp
C++
codility/07_Brackets.cpp
longztian/cpp
59203f41162f40a46badf69093d287250e5cbab6
[ "MIT" ]
null
null
null
codility/07_Brackets.cpp
longztian/cpp
59203f41162f40a46badf69093d287250e5cbab6
[ "MIT" ]
null
null
null
codility/07_Brackets.cpp
longztian/cpp
59203f41162f40a46badf69093d287250e5cbab6
[ "MIT" ]
null
null
null
// you can use includes, for example: // #include <algorithm> // you can write to stdout for debugging purposes, e.g. // cout << "this is a debug message" << endl; int solution(string &S) { // write your code in C++11 (g++ 4.8.2) int N = S.size(); if (N == 0) return 1; if (N % 2 == 1) return 0; s...
27.296296
60
0.428765
longztian
bce3d1f9ce7a835ef9367f925e156817c9809789
4,644
hpp
C++
include/boost/hana/ext/std/ratio.hpp
qicosmos/hana
b0f8cf2bf19d491b7b739dcb7b8d7497b0e5829f
[ "BSL-1.0" ]
2
2015-12-06T05:10:14.000Z
2021-09-05T21:48:27.000Z
include/boost/hana/ext/std/ratio.hpp
qicosmos/hana
b0f8cf2bf19d491b7b739dcb7b8d7497b0e5829f
[ "BSL-1.0" ]
null
null
null
include/boost/hana/ext/std/ratio.hpp
qicosmos/hana
b0f8cf2bf19d491b7b739dcb7b8d7497b0e5829f
[ "BSL-1.0" ]
1
2017-06-06T10:50:17.000Z
2017-06-06T10:50:17.000Z
/*! @file Adapts `std::ratio` for use with Hana. @copyright Louis Dionne 2015 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ #ifndef BOOST_HANA_EXT_STD_RATIO_HPP #define BOOST_HANA_EXT_STD_RATIO_HPP #include <boost/hana/bo...
34.4
80
0.48385
qicosmos
bce3ea10273c30077254035d26981fee66346d94
1,273
cpp
C++
Programs/21 Stack/linkedListImplementation.cpp
Lord-Lava/DSA-CPP-Apna-College
077350c2aa900bb0cdb137ece2b95be58ccd76a8
[ "MIT" ]
5
2021-04-04T18:39:14.000Z
2021-12-18T09:31:55.000Z
Programs/21 Stack/linkedListImplementation.cpp
Lord-Lava/DSA-CPP-Apna-College
077350c2aa900bb0cdb137ece2b95be58ccd76a8
[ "MIT" ]
null
null
null
Programs/21 Stack/linkedListImplementation.cpp
Lord-Lava/DSA-CPP-Apna-College
077350c2aa900bb0cdb137ece2b95be58ccd76a8
[ "MIT" ]
1
2021-09-26T11:01:26.000Z
2021-09-26T11:01:26.000Z
//implementation using single ll //top <-node4 <-node3 <-node2 <-node1 #include <iostream> using namespace std; class node{ public: int data; node* next; // node* prev; node(int val){ data = val; next = NULL; // prev = NULL; } }; class stack{ node* top; publ...
15.337349
49
0.451689
Lord-Lava
bce4c58ee69b751be22d58a1a61db3dcde96d3c3
1,183
hpp
C++
libs/modelmd3/impl/include/sge/model/md3/impl/frame.hpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
2
2016-01-27T13:18:14.000Z
2018-05-11T01:11:32.000Z
libs/modelmd3/impl/include/sge/model/md3/impl/frame.hpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
null
null
null
libs/modelmd3/impl/include/sge/model/md3/impl/frame.hpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
3
2018-05-11T01:11:34.000Z
2021-04-24T19:47:45.000Z
// Copyright Carl Philipp Reh 2006 - 2019. // 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 SGE_MODEL_MD3_IMPL_FRAME_HPP_INCLUDED #define SGE_MODEL_MD3_IMPL_FRAME_HPP_INCLUDED #inclu...
24.142857
72
0.705833
cpreh
bcf0e815b7d797a4eb99a6de118174a97048d0f3
4,315
cpp
C++
source/rendering/pipes/MirrorPipe.cpp
RaygenEngine/Raygen
2e61afd35f594d06186c16397b536412ebf4298d
[ "MIT" ]
2
2021-01-27T15:49:04.000Z
2021-01-28T07:40:30.000Z
source/rendering/pipes/MirrorPipe.cpp
RaygenEngine/Raygen
2e61afd35f594d06186c16397b536412ebf4298d
[ "MIT" ]
null
null
null
source/rendering/pipes/MirrorPipe.cpp
RaygenEngine/Raygen
2e61afd35f594d06186c16397b536412ebf4298d
[ "MIT" ]
1
2021-03-07T23:17:31.000Z
2021-03-07T23:17:31.000Z
#include "MirrorPipe.h" #include "rendering/assets/GpuAssetManager.h" #include "rendering/assets/GpuShader.h" #include "rendering/assets/GpuShaderStage.h" #include "rendering/pipes/StaticPipes.h" #include "rendering/scene/Scene.h" #include "rendering/scene/SceneCamera.h" namespace { struct PushConstant { int32 dept...
37.198276
117
0.756431
RaygenEngine
bcf8c8fec0ebf865e37923634ced910583cb65e8
3,082
hpp
C++
inc/streamDumper.hpp
WMFO/Silence-Detector
af932c13e6e121b094038ad08e7d2e667c67351c
[ "MIT" ]
18
2015-07-18T11:44:41.000Z
2021-03-27T17:23:48.000Z
inc/streamDumper.hpp
WMFO/Silence-Detector
af932c13e6e121b094038ad08e7d2e667c67351c
[ "MIT" ]
null
null
null
inc/streamDumper.hpp
WMFO/Silence-Detector
af932c13e6e121b094038ad08e7d2e667c67351c
[ "MIT" ]
6
2017-05-26T08:55:05.000Z
2021-10-08T01:56:41.000Z
#ifndef STREAMDUMPER_H #define STREAMDUMPER_H #include <exception> #include <string> #include <iostream> #include <list> class streamDumper { public: streamDumper(); streamDumper(const std::string &bindAddr, const std::string &ipaddr, int portNumber); void openMulticastStream(const std::s...
28.803738
105
0.544452
WMFO
bcfbc46ae8d61352d53dac09f9d91c2d8c3b3f7d
9,319
cpp
C++
src/theory/sets/theory_sets_rewriter.cpp
HasibShakur/CVC4
7a303390a65fd395a53085833d504acc312dc6a6
[ "BSL-1.0" ]
null
null
null
src/theory/sets/theory_sets_rewriter.cpp
HasibShakur/CVC4
7a303390a65fd395a53085833d504acc312dc6a6
[ "BSL-1.0" ]
null
null
null
src/theory/sets/theory_sets_rewriter.cpp
HasibShakur/CVC4
7a303390a65fd395a53085833d504acc312dc6a6
[ "BSL-1.0" ]
null
null
null
/********************* */ /*! \file theory_sets_rewriter.cpp ** \verbatim ** Original author: Kshitij Bansal ** Major contributors: none ** Minor contributors (to current version): none ** This file is part of the CVC4 project. ** Copyright (c) 2013-2014 New...
35.568702
114
0.620882
HasibShakur
bcfdc549ffe55591888e2088498b9f43fa364212
37,103
cpp
C++
RenderSystems/Vulkan/src/OgreVulkanTextureGpu.cpp
dawlane/ogre
7bae21738c99b117ef2eab3fcb1412891b8c2025
[ "MIT" ]
null
null
null
RenderSystems/Vulkan/src/OgreVulkanTextureGpu.cpp
dawlane/ogre
7bae21738c99b117ef2eab3fcb1412891b8c2025
[ "MIT" ]
null
null
null
RenderSystems/Vulkan/src/OgreVulkanTextureGpu.cpp
dawlane/ogre
7bae21738c99b117ef2eab3fcb1412891b8c2025
[ "MIT" ]
null
null
null
/* ----------------------------------------------------------------------------- This source file is part of OGRE (Object-oriented Graphics Rendering Engine) For the latest info, see http://www.ogre3d.org/ Copyright (c) 2000-2017 Torus Knot Software Ltd Permission is hereby granted, free of charge, to any person ...
46.436796
122
0.630488
dawlane
4c010613929393f758a5955fe16d392919f02e27
4,419
hpp
C++
include/codegen/include/UnityEngine/UI/Mask.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
1
2021-11-12T09:29:31.000Z
2021-11-12T09:29:31.000Z
include/codegen/include/UnityEngine/UI/Mask.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
null
null
null
include/codegen/include/UnityEngine/UI/Mask.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
2
2021-10-03T02:14:20.000Z
2021-11-12T09:29:36.000Z
// Autogenerated from CppHeaderCreator on 7/27/2020 3:10:38 PM // Created by Sc2ad // ========================================================================= #pragma once #pragma pack(push, 8) // Begin includes // Including type: UnityEngine.EventSystems.UIBehaviour #include "UnityEngine/EventSystems/UIBehaviour.hpp"...
42.085714
147
0.732519
Futuremappermydud
4c08f1f1a28af24ed904991632ed5e0570289d4a
9,988
cpp
C++
IdClient/Platform/Windows/PWindows.cpp
skrishnasantosh/id-desktop-lite
1bc9c056ec7fa50e02cf360552e794e22f74e501
[ "MIT" ]
null
null
null
IdClient/Platform/Windows/PWindows.cpp
skrishnasantosh/id-desktop-lite
1bc9c056ec7fa50e02cf360552e794e22f74e501
[ "MIT" ]
null
null
null
IdClient/Platform/Windows/PWindows.cpp
skrishnasantosh/id-desktop-lite
1bc9c056ec7fa50e02cf360552e794e22f74e501
[ "MIT" ]
null
null
null
#ifdef _WIN32 #define _CRT_SECURE_NO_WARNINGS #define WIN32_LEAN_AND_MEAN #define _SILENCE_CXX17_CODECVT_HEADER_DEPRECATION_WARNING #include <Windows.h> #include <Shlwapi.h> #include <wincrypt.h> #include <WinInet.h> #include <codecvt> #include <string> #include <vector> #pragma comment(lib, "Shlwapi.lib") #pragma ...
25.414758
154
0.721165
skrishnasantosh
4c098427f2899cb8e91f687a7475d165dbc55687
152
cpp
C++
service/src/exo/hexcode.cpp
BOBBYWY/exodusdb
cfe8a3452480af90071dd10cefeed58299eed4e7
[ "MIT" ]
4
2021-01-23T14:36:34.000Z
2021-06-07T10:02:28.000Z
service/src/exo/hexcode.cpp
BOBBYWY/exodusdb
cfe8a3452480af90071dd10cefeed58299eed4e7
[ "MIT" ]
1
2019-08-04T19:15:56.000Z
2019-08-04T19:15:56.000Z
service/src/exo/hexcode.cpp
BOBBYWY/exodusdb
cfe8a3452480af90071dd10cefeed58299eed4e7
[ "MIT" ]
1
2022-01-29T22:41:01.000Z
2022-01-29T22:41:01.000Z
#include <exodus/library.h> libraryinit() function main(in /*mode*/, io /*text*/) { //called from listen but only in DOS return 0; } libraryexit()
13.818182
41
0.671053
BOBBYWY
4c0d770609dfe91d96ff21ce4991fa78831cad15
4,455
cpp
C++
src/game/client/tf/c_entity_bird.cpp
cstom4994/SourceEngineRebuild
edfd7f8ce8af13e9d23586318350319a2e193c08
[ "MIT" ]
6
2022-01-23T09:40:33.000Z
2022-03-20T20:53:25.000Z
src/game/client/tf/c_entity_bird.cpp
cstom4994/SourceEngineRebuild
edfd7f8ce8af13e9d23586318350319a2e193c08
[ "MIT" ]
null
null
null
src/game/client/tf/c_entity_bird.cpp
cstom4994/SourceEngineRebuild
edfd7f8ce8af13e9d23586318350319a2e193c08
[ "MIT" ]
1
2022-02-06T21:05:23.000Z
2022-02-06T21:05:23.000Z
//========= Copyright Valve Corporation, All rights reserved. ============// // // Purpose: Dove entity for the Meet the Medic tease. // //=============================================================================// #include "cbase.h" #include "tf_gamerules.h" #include "c_baseanimating.h" #define ENTITY_FLYING_BI...
26.052632
131
0.557351
cstom4994
4c110491426056fb34ad624b6aeb08532da44def
2,239
cpp
C++
src/Entry.cpp
teaglu/timeoutd
855d93cc291c1744abcb1fd901beb639b1ed51ce
[ "Apache-2.0" ]
null
null
null
src/Entry.cpp
teaglu/timeoutd
855d93cc291c1744abcb1fd901beb639b1ed51ce
[ "Apache-2.0" ]
null
null
null
src/Entry.cpp
teaglu/timeoutd
855d93cc291c1744abcb1fd901beb639b1ed51ce
[ "Apache-2.0" ]
null
null
null
#include "system.h" #include "Entry.h" #include "Log.h" std::string Entry::notifyScript= SCRIPTDIR "/timeoutd-notify"; Entry::Entry(char const *key, struct timeval & expires, char const *address) { this->key= key; this->expires= expires; this->lastAddress= address; } Entry::~Entry() { } void Entry::notify() { ...
22.39
76
0.634658
teaglu
4c16165059184f7eb584fa5775deed9b746cd94e
900
hpp
C++
Solution/Crosshair/Source/Crosshair.hpp
c-m-w/Crosshair-Overlay
8fbefbbf9fed35a08b2a0a6a65fd816c97e05355
[ "MIT" ]
6
2019-01-27T20:42:43.000Z
2021-06-09T07:36:15.000Z
Solution/Crosshair/Source/Crosshair.hpp
c-m-w/Crosshair-Overlay
8fbefbbf9fed35a08b2a0a6a65fd816c97e05355
[ "MIT" ]
null
null
null
Solution/Crosshair/Source/Crosshair.hpp
c-m-w/Crosshair-Overlay
8fbefbbf9fed35a08b2a0a6a65fd816c97e05355
[ "MIT" ]
1
2020-01-14T08:25:35.000Z
2020-01-14T08:25:35.000Z
/// Crosshair.hpp #pragma once #if not defined UNICODE or defined _MBCS #error Unicode must be used for this project. #endif #if not defined WIN32 #error This project must be built in 32 bit mode. #endif #define _CRT_SECURE_NO_WARNINGS #include <Windows.h> #include <cstdio> #include <cassert> #include <string> #in...
20.930233
109
0.753333
c-m-w
4c1b3ec1782a85f5a76811c000e4bcc0992dc1c9
2,225
cpp
C++
D2hackIt/toolhelp.cpp
inrg/D2HackIt-backup
2f1e81f5ea29168ef780c8a957b02611954db3af
[ "Unlicense" ]
24
2016-10-09T08:53:35.000Z
2022-02-07T11:34:37.000Z
D2hackIt/toolhelp.cpp
bethington/D2HackIt
2f1e81f5ea29168ef780c8a957b02611954db3af
[ "Unlicense" ]
null
null
null
D2hackIt/toolhelp.cpp
bethington/D2HackIt
2f1e81f5ea29168ef780c8a957b02611954db3af
[ "Unlicense" ]
33
2016-08-30T08:35:22.000Z
2022-02-07T11:34:40.000Z
////////////////////////////////////////////////////////////////////// // toolhelp.cpp // ------------------------------------------------------------------- // // <thohell@home.se> ////////////////////////////////////////////////////////////////////// #define THIS_IS_SERVER #include "..\D2HackIt.h" /////////...
35.887097
96
0.439551
inrg
4c1fc073a965e88346a3f3f17d6326318d51cc3d
1,056
cpp
C++
set_power_series/test/subset_log.test.cpp
ankit6776/cplib-cpp
b9f8927a6c7301374c470856828aa1f5667d967b
[ "MIT" ]
20
2021-06-21T00:18:54.000Z
2022-03-17T17:45:44.000Z
set_power_series/test/subset_log.test.cpp
ankit6776/cplib-cpp
b9f8927a6c7301374c470856828aa1f5667d967b
[ "MIT" ]
56
2021-06-03T14:42:13.000Z
2022-03-26T14:15:30.000Z
set_power_series/test/subset_log.test.cpp
ankit6776/cplib-cpp
b9f8927a6c7301374c470856828aa1f5667d967b
[ "MIT" ]
3
2019-12-11T06:45:45.000Z
2020-09-07T13:45:32.000Z
#define PROBLEM "https://atcoder.jp/contests/arc105/tasks/arc105_f" #include "../../modint.hpp" #include "../subset_convolution.hpp" #include <iostream> using namespace std; using mint = ModInt<998244353>; // https://codeforces.com/blog/entry/83535?#comment-709269 int main() { int N, M; cin >> N >> M; vect...
29.333333
99
0.485795
ankit6776
4c220997bc1e1284fabf6b2232df796f81e904cb
2,880
cpp
C++
test/parsed.cpp
olanmatt/orq
0e85e547cdc78cfd37681b8addfa0f4507e9516a
[ "MIT" ]
35
2015-01-07T05:06:50.000Z
2022-01-15T13:59:35.000Z
test/parsed.cpp
olanmatt/orq
0e85e547cdc78cfd37681b8addfa0f4507e9516a
[ "MIT" ]
null
null
null
test/parsed.cpp
olanmatt/orq
0e85e547cdc78cfd37681b8addfa0f4507e9516a
[ "MIT" ]
11
2015-01-27T09:29:22.000Z
2021-10-21T10:47:11.000Z
/* * The MIT License (MIT) * * Copyright (c) 2014 Matt Olan, Prajjwal Bhandari * * 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 r...
33.103448
81
0.642014
olanmatt
4c24d15d97e70ebf71d7ae7fa2c94192251dcc5d
1,925
hh
C++
src/Utilities/nodeBoundingBoxes.hh
jmikeowen/Spheral
3e1082a7aefd6b328bd3ae24ca1a477108cfc3c4
[ "BSD-Source-Code", "BSD-3-Clause-LBNL", "FSFAP" ]
22
2018-07-31T21:38:22.000Z
2020-06-29T08:58:33.000Z
src/Utilities/nodeBoundingBoxes.hh
markguozhiming/spheral
bbb982102e61edb8a1d00cf780bfa571835e1b61
[ "BSD-Source-Code", "BSD-3-Clause-LBNL", "FSFAP" ]
41
2020-09-28T23:14:27.000Z
2022-03-28T17:01:33.000Z
src/Utilities/nodeBoundingBoxes.hh
markguozhiming/spheral
bbb982102e61edb8a1d00cf780bfa571835e1b61
[ "BSD-Source-Code", "BSD-3-Clause-LBNL", "FSFAP" ]
7
2019-12-01T07:00:06.000Z
2020-09-15T21:12:39.000Z
//---------------------------------Spheral++----------------------------------// // nodeBoundingBoxes // // Compute minimum volume bounding boxes for nodes and their extent. // // Created by JMO, Sun Jan 24 16:13:16 PST 2010 //----------------------------------------------------------------------------// #ifndef __Sphe...
39.285714
88
0.523117
jmikeowen
4c2bc806ac09ad7825ab0d94b335e4437584cf16
330
hpp
C++
Delauney/Sorting.hpp
tod91/Delauney
946419312e3e2d789c2203a40de4084c4d1bbe5f
[ "MIT" ]
2
2020-03-03T17:05:54.000Z
2020-05-11T14:15:55.000Z
Delauney/Sorting.hpp
tod91/Delauney
946419312e3e2d789c2203a40de4084c4d1bbe5f
[ "MIT" ]
null
null
null
Delauney/Sorting.hpp
tod91/Delauney
946419312e3e2d789c2203a40de4084c4d1bbe5f
[ "MIT" ]
null
null
null
// // Sorting.hpp // PojectDelone // // Created by Todor Ivanov on 5/25/17. // Copyright © 2017 Todor Ivanov. All rights reserved. // #ifndef Sorting_hpp #define Sorting_hpp struct Vertex3D; // sorts points by their x coord bool BottomUpMergeSort(Vertex3D* points, const unsigned numOfPoints); #endif /* Sorti...
16.5
70
0.718182
tod91
4c2ec4e004efcb973644ef859f80a39e89310592
4,261
ipp
C++
xs/src/boost/test/utils/runtime/cla/named_parameter.ipp
born2b/Slic3r
589a0b3ac1a50f84de694b89cc10abcac45c0ae6
[ "CC-BY-3.0" ]
460
2016-01-13T12:49:34.000Z
2022-02-20T04:10:40.000Z
xs/src/boost/test/utils/runtime/cla/named_parameter.ipp
born2b/Slic3r
589a0b3ac1a50f84de694b89cc10abcac45c0ae6
[ "CC-BY-3.0" ]
197
2017-07-06T16:53:59.000Z
2019-05-31T17:57:51.000Z
xs/src/boost/test/utils/runtime/cla/named_parameter.ipp
born2b/Slic3r
589a0b3ac1a50f84de694b89cc10abcac45c0ae6
[ "CC-BY-3.0" ]
148
2016-01-17T03:16:43.000Z
2022-03-17T12:20:36.000Z
// (C) Copyright Gennadiy Rozental 2005-2008. // Use, modification, and distribution are subject to the // Boost Software License, Version 1.0. (See accompanying file // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) // See http://www.boost.org/libs/test for the library home page. // //...
32.776923
122
0.619808
born2b
4c33abdbf9b3217e0cec1aa5d43de2bec595a6a8
2,010
cpp
C++
src/plugins/anim/nodes/frame/edit.cpp
martin-pr/possumwood
0ee3e0fe13ef27cf14795a79fb497e4d700bef63
[ "MIT" ]
232
2017-10-09T11:45:28.000Z
2022-03-28T11:14:46.000Z
src/plugins/anim/nodes/frame/edit.cpp
LIUJUN-liujun/possumwood
745e48eb44450b0b7f078ece81548812ab1ccc63
[ "MIT" ]
26
2019-01-20T21:38:25.000Z
2021-10-16T03:57:17.000Z
src/plugins/anim/nodes/frame/edit.cpp
LIUJUN-liujun/possumwood
745e48eb44450b0b7f078ece81548812ab1ccc63
[ "MIT" ]
33
2017-10-26T19:20:38.000Z
2022-03-16T11:21:43.000Z
#include <OpenEXR/ImathEuler.h> #include <OpenEXR/ImathMatrix.h> #include <OpenEXR/ImathVec.h> #include <possumwood_sdk/node_implementation.h> #include "datatypes/animation.h" #include "datatypes/frame_editor_data.h" #include "maths/io/vec3.h" namespace { dependency_graph::InAttr<anim::Skeleton> a_inFrame; dependenc...
30.923077
96
0.743781
martin-pr
4c353b39db60349f67cc8f036962b5dda0d59d63
296
hpp
C++
UnitTests/GXLayerUnitTest.hpp
manu88/GX
1eaeb0361db4edfb9c0764b4c47817ed77d4159c
[ "Apache-2.0" ]
2
2017-07-12T02:25:23.000Z
2017-08-30T23:46:32.000Z
UnitTests/GXLayerUnitTest.hpp
manu88/GX
1eaeb0361db4edfb9c0764b4c47817ed77d4159c
[ "Apache-2.0" ]
null
null
null
UnitTests/GXLayerUnitTest.hpp
manu88/GX
1eaeb0361db4edfb9c0764b4c47817ed77d4159c
[ "Apache-2.0" ]
null
null
null
// // GXLayerUnitTest.hpp // GX // // Created by Manuel Deneu on 22/06/2017. // Copyright © 2017 Unlimited Development. All rights reserved. // #ifndef GXLayerUnitTest_hpp #define GXLayerUnitTest_hpp class GXLayerUnitTest { public: bool run(); }; #endif /* GXLayerUnitTest_hpp */
14.8
64
0.699324
manu88
4c36b0fc84fa3d97c04c8876df4c6efeeca7d707
778
hpp
C++
src/include/test.hpp
jmorken/loda
99c09d2641e858b074f6344a352d13bc55601571
[ "Apache-2.0" ]
1
2021-03-15T11:38:20.000Z
2021-03-15T11:38:20.000Z
src/include/test.hpp
jmorken/loda
99c09d2641e858b074f6344a352d13bc55601571
[ "Apache-2.0" ]
null
null
null
src/include/test.hpp
jmorken/loda
99c09d2641e858b074f6344a352d13bc55601571
[ "Apache-2.0" ]
null
null
null
#pragma once #include "matcher.hpp" #include "number.hpp" #include "util.hpp" class Test { public: Test() { } void all(); void semantics(); void memory(); void knownPrograms(); void ackermann(); void collatz(); void optimizer(); void minimizer( size_t tests ); void linearMatcher(); ...
14.679245
74
0.66581
jmorken
4c392489a357dfbf7e556482c2d7587cff3b2500
1,234
cpp
C++
LeetCode/Two Sum.cpp
zombiecry/AlgorithmPractice
f42933883bd62a86aeef9740356f5010c6c9bebf
[ "MIT" ]
null
null
null
LeetCode/Two Sum.cpp
zombiecry/AlgorithmPractice
f42933883bd62a86aeef9740356f5010c6c9bebf
[ "MIT" ]
null
null
null
LeetCode/Two Sum.cpp
zombiecry/AlgorithmPractice
f42933883bd62a86aeef9740356f5010c6c9bebf
[ "MIT" ]
null
null
null
#include <vector> #include <list> #include <map> #include <set> #include <deque> #include<queue> #include <stack> #include <bitset> #include <algorithm> #include <functional> #include <numeric> #include <utility> #include <sstream> #include <iostream> #include <iomanip> #include <cstdio> #include <cmath> #include <cstd...
20.566667
72
0.63128
zombiecry