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
108
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
67k
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
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
80a4990400db649039841ecce7cc738faf606a06
50,359
cc
C++
chromeos/services/device_sync/device_sync_service_unittest.cc
zipated/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
2,151
2020-04-18T07:31:17.000Z
2022-03-31T08:39:18.000Z
chromeos/services/device_sync/device_sync_service_unittest.cc
cangulcan/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
395
2020-04-18T08:22:18.000Z
2021-12-08T13:04:49.000Z
chromeos/services/device_sync/device_sync_service_unittest.cc
cangulcan/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
338
2020-04-18T08:03:10.000Z
2022-03-29T12:33:22.000Z
// Copyright 2018 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include <memory> #include "base/memory/scoped_refptr.h" #include "base/no_destructor.h" #include "base/optional.h" #include "base/run_loop.h" #include "...
39.652756
80
0.751862
zipated
80a49d0b178fd45b17cea7f733fbad3dd6c45773
1,424
hpp
C++
Win32/MMKV/PBEncodeItem.hpp
SimonRHW/MMKV
b5ced7120b542e59ccce8c33e29a101dd93d4298
[ "Apache-2.0" ]
2
2021-10-03T19:29:23.000Z
2021-11-17T10:34:27.000Z
Win32/MMKV/PBEncodeItem.hpp
LuckyPerry/MMKV
01ad79e8031c6700537e412f290c392088de1460
[ "Apache-2.0" ]
null
null
null
Win32/MMKV/PBEncodeItem.hpp
LuckyPerry/MMKV
01ad79e8031c6700537e412f290c392088de1460
[ "Apache-2.0" ]
1
2020-03-06T07:14:57.000Z
2020-03-06T07:14:57.000Z
/* * Tencent is pleased to support the open source community by making * MMKV available. * * Copyright (C) 2018 THL A29 Limited, a Tencent company. * All rights reserved. * * Licensed under the BSD 3-Clause License (the "License"); you may not use * this file except in compliance with the License. You may obtai...
25.890909
81
0.722612
SimonRHW
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
80b100f60c6d0e763ea6b43dcf91ef52b9133aa0
2,376
cpp
C++
samples/View3D/code/view3d.cpp
elementsinteractive/edgelib
dedd72a05af274a5c30c076748c7c6f459fbd040
[ "BSD-3-Clause" ]
14
2017-08-22T22:27:18.000Z
2021-05-04T09:00:09.000Z
samples/View3D/code/view3d.cpp
elementsinteractive/edgelib
dedd72a05af274a5c30c076748c7c6f459fbd040
[ "BSD-3-Clause" ]
1
2018-03-15T06:06:01.000Z
2018-03-20T01:44:44.000Z
samples/View3D/code/view3d.cpp
elementsinteractive/edgelib
dedd72a05af274a5c30c076748c7c6f459fbd040
[ "BSD-3-Clause" ]
4
2018-03-22T17:14:14.000Z
2020-08-02T18:42:55.000Z
// code/view3d.cpp // One of the Edge samples // Shows how to create a 3D model manually and how to load a .3DS // file. Rotate the model based on input. // // Show a 3D model on the screen, rotate it with the d-pad or stylus // // Copyright (c) 2004-2017 Elements Interactive B.V. //////////////////////////////...
29.7
117
0.558923
elementsinteractive
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
80b36556e1621a6cafe80a83abb7340d361e92c2
7,859
cpp
C++
src/Tools/GenerateMap.cpp
Chae4ek/7bits-CG-2020
81cefb5b88ce39751d6bab0c4fe9177bcf5210ee
[ "Apache-2.0" ]
null
null
null
src/Tools/GenerateMap.cpp
Chae4ek/7bits-CG-2020
81cefb5b88ce39751d6bab0c4fe9177bcf5210ee
[ "Apache-2.0" ]
null
null
null
src/Tools/GenerateMap.cpp
Chae4ek/7bits-CG-2020
81cefb5b88ce39751d6bab0c4fe9177bcf5210ee
[ "Apache-2.0" ]
null
null
null
#include "Tools/GenerateMap.h" unsigned int Generate::_SEED_RANDOM = 1; Generate::Generate(MapManager* map_manager, Position* player) : map_manager(map_manager), player(player) {} void Generate::TryGenerateChunk(const chunk_coords_t chunk_coords) { if (!map_manager->ChunkIsEmpty(chunk_coords)) return; map_manage...
38.336585
116
0.641048
Chae4ek
80b794261b24c116f1d8fc931963ea076b4bd6da
238,988
cpp
C++
cisco-ios-xr/ydk/models/cisco_ios_xr/Cisco_IOS_XR_ip_mobileip_cfg.cpp
CiscoDevNet/ydk-cpp
ef7d75970f2ef1154100e0f7b0a2ee823609b481
[ "ECL-2.0", "Apache-2.0" ]
17
2016-12-02T05:45:49.000Z
2022-02-10T19:32:54.000Z
cisco-ios-xr/ydk/models/cisco_ios_xr/Cisco_IOS_XR_ip_mobileip_cfg.cpp
CiscoDevNet/ydk-cpp
ef7d75970f2ef1154100e0f7b0a2ee823609b481
[ "ECL-2.0", "Apache-2.0" ]
2
2017-03-27T15:22:38.000Z
2019-11-05T08:30:16.000Z
cisco-ios-xr/ydk/models/cisco_ios_xr/Cisco_IOS_XR_ip_mobileip_cfg.cpp
CiscoDevNet/ydk-cpp
ef7d75970f2ef1154100e0f7b0a2ee823609b481
[ "ECL-2.0", "Apache-2.0" ]
11
2016-12-02T05:45:52.000Z
2019-11-07T08:28:17.000Z
#include <sstream> #include <iostream> #include <ydk/entity_util.hpp> #include "bundle_info.hpp" #include "generated_entity_lookup.hpp" #include "Cisco_IOS_XR_ip_mobileip_cfg.hpp" using namespace ydk; namespace cisco_ios_xr { namespace Cisco_IOS_XR_ip_mobileip_cfg { MobileIp::MobileIp() : domains(std::make_...
32.400759
708
0.690361
CiscoDevNet
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
01f7518d3da06eca30974d08aed74fc225cbc47f
10,137
cpp
C++
zombie2/zombie2/source/applicationtasktestparticle.cpp
DavidCoenFish/ancient-code-0
243fb47b9302a77f9b9392b6e3f90bba2ef3c228
[ "Unlicense" ]
null
null
null
zombie2/zombie2/source/applicationtasktestparticle.cpp
DavidCoenFish/ancient-code-0
243fb47b9302a77f9b9392b6e3f90bba2ef3c228
[ "Unlicense" ]
null
null
null
zombie2/zombie2/source/applicationtasktestparticle.cpp
DavidCoenFish/ancient-code-0
243fb47b9302a77f9b9392b6e3f90bba2ef3c228
[ "Unlicense" ]
null
null
null
// // applicationtask.cpp // Great Little Shooter // // Created by David Coen on 2011 05 30 // Copyright Pleasure seeking morons 2011. All rights reserved. // #include <vld.h> #include "ApplicationTaskTestParticle.h" #include <gapplicationwindow.h> #include <grender.h> #include <gresourcemanager.h> #include <gfil...
25.534005
181
0.742626
DavidCoenFish
01fb74b0642cf6deb39f72c162891b962fded70f
70
cpp
C++
subprojects/docs/src/samples/native-binaries/google-test/src/operators/cpp/minus.cpp
Vestmark/vestmark-gradle
77078ad580b546410d52e9df34f96d1d57dc51ff
[ "Apache-2.0" ]
158
2015-04-18T23:39:02.000Z
2021-07-01T18:28:29.000Z
subprojects/docs/src/samples/native-binaries/google-test/src/operators/cpp/minus.cpp
Vestmark/vestmark-gradle
77078ad580b546410d52e9df34f96d1d57dc51ff
[ "Apache-2.0" ]
31
2015-04-29T18:52:40.000Z
2020-06-29T19:25:24.000Z
subprojects/docs/src/samples/native-binaries/google-test/src/operators/cpp/minus.cpp
Vestmark/vestmark-gradle
77078ad580b546410d52e9df34f96d1d57dc51ff
[ "Apache-2.0" ]
32
2016-01-05T21:58:24.000Z
2021-06-21T21:56:34.000Z
#include "operators.h" int minus(int a, int b) { return a - b; }
11.666667
25
0.585714
Vestmark
bf02c58e8b0c6d0e8834ed1bb3a49aa6a7c0ec73
5,145
cpp
C++
util/UF-3.2/DTM/ufDataCharacteristics.cpp
mattjr/benthicQT
bd5415d5a18f528b5b2ce4cc1524b7f4f651a1e8
[ "Apache-2.0" ]
9
2016-06-07T09:38:03.000Z
2021-11-25T17:30:59.000Z
util/UF-3.2/DTM/ufDataCharacteristics.cpp
mattjr/benthicQT
bd5415d5a18f528b5b2ce4cc1524b7f4f651a1e8
[ "Apache-2.0" ]
null
null
null
util/UF-3.2/DTM/ufDataCharacteristics.cpp
mattjr/benthicQT
bd5415d5a18f528b5b2ce4cc1524b7f4f651a1e8
[ "Apache-2.0" ]
4
2016-06-16T16:55:33.000Z
2019-04-29T02:34:46.000Z
// // C++ Implementation: DataCharacteristics // // Description: // // // Author: Andrew J. P. Maclean <a.maclean@cas.edu.au>, (C) 2005 // // Copyright: See COPYING file that comes with this distribution // // #include "ufDataCharacteristics.h" #include <iostream> #include <stdexcept> #include <string> #include <fstre...
26.25
92
0.566569
mattjr
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
bf06fc52956ac06fe47bcb450d8fbd43c9604118
1,098
cpp
C++
kernel/src/synch/spinlock.cpp
egranata/puppy
dc8b9bd7620966d94b18cbfaf50c9c5e142b9f6c
[ "Apache-2.0" ]
28
2018-06-01T07:01:55.000Z
2022-01-09T23:30:14.000Z
kernel/src/synch/spinlock.cpp
egranata/puppy
dc8b9bd7620966d94b18cbfaf50c9c5e142b9f6c
[ "Apache-2.0" ]
175
2018-05-30T03:06:15.000Z
2019-02-06T23:54:24.000Z
kernel/src/synch/spinlock.cpp
egranata/puppy
dc8b9bd7620966d94b18cbfaf50c9c5e142b9f6c
[ "Apache-2.0" ]
2
2019-07-16T02:57:27.000Z
2021-06-25T17:01:13.000Z
// Copyright 2018 Google LLC // // 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 ...
26.780488
75
0.697632
egranata
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
bf12d6bfad3f44587af409e992843ca0556392f0
549
cpp
C++
Codes/jxdeng3264/1001-1100/1013.Pairs-of-Songs-With-Total-Durations-Divisible-by-60/tango.cpp
liuxiaohui1221/algorithm
d80e64185ceb4798ac5389bfbd226dc1d406f6b5
[ "Apache-2.0" ]
256
2017-10-25T13:02:15.000Z
2022-02-25T13:47:59.000Z
Codes/jxdeng3264/1001-1100/1013.Pairs-of-Songs-With-Total-Durations-Divisible-by-60/tango.cpp
liuxiaohui1221/algorithm
d80e64185ceb4798ac5389bfbd226dc1d406f6b5
[ "Apache-2.0" ]
56
2017-10-27T01:34:20.000Z
2022-03-01T00:20:55.000Z
Codes/jxdeng3264/1001-1100/1013.Pairs-of-Songs-With-Total-Durations-Divisible-by-60/tango.cpp
liuxiaohui1221/algorithm
d80e64185ceb4798ac5389bfbd226dc1d406f6b5
[ "Apache-2.0" ]
83
2017-10-25T12:51:53.000Z
2022-02-15T08:27:03.000Z
class Solution { public: int numPairsDivisibleBy60(vector<int>& time) { map<int, int> m; for (int i = 0; i<time.size(); ++i) { m[time[i]%60]++; time[i] %= 60; } int cnt = 0; for (int i = 0 ; i <=30; ++i) { if (m.find(i) != m.end()) { int n1 = m[i]; int ii = (60-i)%60;// n1= 0 , n2=...
15.25
47
0.404372
liuxiaohui1221
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
bf19ff78ce13c6a0a25b2beaeb8ceb8f82c6c866
10,008
cxx
C++
inetcore/urlmon/urltrack/util.cxx
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
inetcore/urlmon/urltrack/util.cxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
inetcore/urlmon/urltrack/util.cxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
/*-------------------------------------------------------*/ //Copyright (c) 1997 Microsoft Corporation // // Util.cpp // //Author: // // //Environment: // // User Mode - Win32 // //Revision History: /*-------------------------------------------------------*/ #include "urltrk.h" #include <inetreg...
26.688
115
0.543465
npocmaka
bf1de2f3df0da97ff919eab5836172f884161245
2,852
cpp
C++
MaterialLib/MPL/Properties/ThermalConductivity/CreateSoilThermalConductivitySomerton.cpp
garibay-j/ogs
33340f22e9dbe0b7ccc60f0c828c2a528737c81e
[ "BSD-3-Clause" ]
null
null
null
MaterialLib/MPL/Properties/ThermalConductivity/CreateSoilThermalConductivitySomerton.cpp
garibay-j/ogs
33340f22e9dbe0b7ccc60f0c828c2a528737c81e
[ "BSD-3-Clause" ]
null
null
null
MaterialLib/MPL/Properties/ThermalConductivity/CreateSoilThermalConductivitySomerton.cpp
garibay-j/ogs
33340f22e9dbe0b7ccc60f0c828c2a528737c81e
[ "BSD-3-Clause" ]
null
null
null
/** * \file * \copyright * Copyright (c) 2012-2022, OpenGeoSys Community (http://www.opengeosys.org) * Distributed under a Modified BSD License. * See accompanying file LICENSE.txt or * http://www.opengeosys.org/project/license * * Created on February 17, 2021, 3:47 PM */ ...
37.526316
108
0.736676
garibay-j
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
bf20e580313e9f5c94688e5c207df5d622bc3fff
604
cpp
C++
C++/iLab/Minggu 4/Activity/suhu2.cpp
rafipriatna/Belajar-Bahasa-Pemrograman
e6e1f00526897a9d37065d70f9509cb4db5a61f8
[ "MIT" ]
1
2019-11-26T06:06:34.000Z
2019-11-26T06:06:34.000Z
C++/iLab/Minggu 4/Activity/suhu2.cpp
rafipriatna/Belajar-Bahasa-Pemrograman
e6e1f00526897a9d37065d70f9509cb4db5a61f8
[ "MIT" ]
null
null
null
C++/iLab/Minggu 4/Activity/suhu2.cpp
rafipriatna/Belajar-Bahasa-Pemrograman
e6e1f00526897a9d37065d70f9509cb4db5a61f8
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int main(){ // Deklarasi variabel const int JUM_ELEMEN = 5; float suhu[JUM_ELEMEN], rata_rata, total; // Input cout << "Masukkan " << JUM_ELEMEN << " data suhu" << endl; // Looping input for (int i = 0; i < JUM_ELEMEN; i++){ cout << i ...
20.133333
62
0.521523
rafipriatna
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
bf2272beb17c6a29e36bf0ac51694f94df9d1c9b
3,957
cpp
C++
src/writer/verilog/dataflow_state.cpp
robtaylor/iroha
e7713910ee64ca98f999b98b0c77c02fcfe2da09
[ "BSD-3-Clause" ]
34
2016-02-07T17:43:55.000Z
2021-12-18T12:01:08.000Z
src/writer/verilog/dataflow_state.cpp
robtaylor/iroha
e7713910ee64ca98f999b98b0c77c02fcfe2da09
[ "BSD-3-Clause" ]
5
2016-04-12T09:27:31.000Z
2021-06-29T10:59:18.000Z
src/writer/verilog/dataflow_state.cpp
robtaylor/iroha
e7713910ee64ca98f999b98b0c77c02fcfe2da09
[ "BSD-3-Clause" ]
5
2015-12-26T10:58:46.000Z
2021-06-25T18:58:40.000Z
#include "writer/verilog/dataflow_state.h" #include "design/design_util.h" #include "iroha/i_design.h" #include "iroha/logging.h" #include "iroha/resource_class.h" #include "writer/verilog/dataflow_table.h" #include "writer/verilog/fifo.h" #include "writer/verilog/insn_writer.h" #include "writer/verilog/shared_reg.h" ...
28.883212
90
0.618398
robtaylor
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
bf2b753c4fde73e43ef8bae782b4a7954b1da8b3
106
cpp
C++
tutorials/learncpp.com#1.0#1/inheritance/multiple_inheritance/source3.cpp
officialrafsan/CppDroid
5fb2cc7750fea53b1ea6ff47b5094da6e95e9224
[ "MIT" ]
null
null
null
tutorials/learncpp.com#1.0#1/inheritance/multiple_inheritance/source3.cpp
officialrafsan/CppDroid
5fb2cc7750fea53b1ea6ff47b5094da6e95e9224
[ "MIT" ]
null
null
null
tutorials/learncpp.com#1.0#1/inheritance/multiple_inheritance/source3.cpp
officialrafsan/CppDroid
5fb2cc7750fea53b1ea6ff47b5094da6e95e9224
[ "MIT" ]
null
null
null
int main() { WirelessAdaptor c54G(5442, 181742); cout << c54G.USBDevice::GetID(); return 0; }
15.142857
39
0.613208
officialrafsan
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
bf37847469af68ebbe2355db500c70a8b26dd48b
1,818
hpp
C++
driver/utils/include/ethosn_utils/Span.hpp
ARM-software/npu-driver-stack
1e6b00b21ed4cf39b2df625fa242c6f67c05b19f
[ "Apache-2.0" ]
4
2019-05-31T18:48:24.000Z
2019-06-04T07:59:39.000Z
driver/utils/include/ethosn_utils/Span.hpp
ARM-software/npu-driver-stack
1e6b00b21ed4cf39b2df625fa242c6f67c05b19f
[ "Apache-2.0" ]
null
null
null
driver/utils/include/ethosn_utils/Span.hpp
ARM-software/npu-driver-stack
1e6b00b21ed4cf39b2df625fa242c6f67c05b19f
[ "Apache-2.0" ]
null
null
null
// // Copyright © 2021-2022 Arm Limited. // SPDX-License-Identifier: Apache-2.0 // #pragma once #if (__cplusplus >= 202002L) || (_MSVC_LANG >= 202002L) #include <span> #else #include <array> #include <type_traits> #include <vector> namespace std { template <typename T> class span { public: constexpr span() noe...
19.136842
89
0.590759
ARM-software
bf3a57b050c065e9002d643392f3301a907d5ba3
118,628
cpp
C++
src/mame/drivers/galaxold.cpp
Robbbert/messui
49b756e2140d8831bc81335298ee8c5471045e79
[ "BSD-3-Clause" ]
26
2015-03-31T06:25:51.000Z
2021-12-14T09:29:04.000Z
src/mame/drivers/galaxold.cpp
Robbbert/messui
49b756e2140d8831bc81335298ee8c5471045e79
[ "BSD-3-Clause" ]
null
null
null
src/mame/drivers/galaxold.cpp
Robbbert/messui
49b756e2140d8831bc81335298ee8c5471045e79
[ "BSD-3-Clause" ]
10
2015-03-27T05:45:51.000Z
2022-02-04T06:57:36.000Z
// license:BSD-3-Clause // copyright-holders:Nicola Salmoria,Stephane Humbert /*************************************************************************** Galaxian/Moon Cresta hardware NOTE: Eventually to be merged into GALAXIAN.CPP Main clock: XTAL = 18.432 MHz Z80 Clock: XTAL/6 = 3.072 MHz Horizontal video frequ...
47.130711
338
0.723902
Robbbert
bf3ce54d91f05f168fec944a8115782b462a599b
10,018
cpp
C++
shared/linux/LinuxUtils.cpp
iProgramMC/proton
1c383134b44a22cebab8e8db1afb17afd59dd543
[ "XFree86-1.1" ]
47
2018-07-30T12:05:15.000Z
2022-03-31T04:12:03.000Z
shared/linux/LinuxUtils.cpp
iProgramMC/proton
1c383134b44a22cebab8e8db1afb17afd59dd543
[ "XFree86-1.1" ]
11
2019-03-31T13:05:10.000Z
2021-11-03T11:37:18.000Z
shared/linux/LinuxUtils.cpp
iProgramMC/proton
1c383134b44a22cebab8e8db1afb17afd59dd543
[ "XFree86-1.1" ]
16
2019-07-09T07:59:00.000Z
2022-02-25T15:49:06.000Z
#include "LinuxUtils.h" #include <errno.h> #include <stdio.h> #include <sys/types.h> #include <dirent.h> #include <sys/time.h> #include <cstdlib> #include <cstdarg> #include <cassert> #include "PlatformSetup.h" #include <sys/stat.h> //for mkdir #ifndef _CONSOLE //if console is defined, we might be a lin...
20.197581
130
0.632561
iProgramMC
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
bf42262f17fe893e0a6135815e8120ecd9d29e36
18,889
cpp
C++
modules/newbase/newbase/NFmiGdalArea.cpp
fmidev/smartmet-workstation-vtk
ee1b42f63a9bc54dd5217e5c1a1fa8e672870a99
[ "MIT" ]
null
null
null
modules/newbase/newbase/NFmiGdalArea.cpp
fmidev/smartmet-workstation-vtk
ee1b42f63a9bc54dd5217e5c1a1fa8e672870a99
[ "MIT" ]
null
null
null
modules/newbase/newbase/NFmiGdalArea.cpp
fmidev/smartmet-workstation-vtk
ee1b42f63a9bc54dd5217e5c1a1fa8e672870a99
[ "MIT" ]
null
null
null
// ====================================================================== /*! * \file NFmiGdalArea.cpp * \brief Implementation of class NFmiGdalArea */ // ====================================================================== #ifdef UNIX #include "NFmiGdalArea.h" #include "NFmiString.h" #include "NFmiStringTools.h...
33.196837
137
0.498015
fmidev
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
bf46f1dffc6d8db3ecb94e41062baff97c9016e5
2,058
hpp
C++
src/HookManager.hpp
fengjixuchui/REFramework
131b25ef58064b1c36cdd15072c30f5fbd9a7ad8
[ "MIT" ]
1
2022-03-13T19:55:55.000Z
2022-03-13T19:55:55.000Z
src/HookManager.hpp
fengjixuchui/REFramework
131b25ef58064b1c36cdd15072c30f5fbd9a7ad8
[ "MIT" ]
null
null
null
src/HookManager.hpp
fengjixuchui/REFramework
131b25ef58064b1c36cdd15072c30f5fbd9a7ad8
[ "MIT" ]
null
null
null
#pragma once #include <cstdint> #include <functional> #include <vector> #include <memory> #include <mutex> #include <asmjit/asmjit.h> #include "utility/FunctionHook.hpp" #include "sdk/RETypeDB.hpp" class HookManager { public: enum class PreHookResult : int { CALL_ORIGINAL, SKIP_ORIGINAL, }; ...
30.716418
127
0.662779
fengjixuchui
bf49c45dbf46170f481e40607065e16940e0ddae
1,965
cpp
C++
CommonLib/MainInfo.cpp
chrishoen/Dev_NP_TTA_NewCProc
95a0d59e6079e6f42a11cfe5da5ec41221f67227
[ "MIT" ]
null
null
null
CommonLib/MainInfo.cpp
chrishoen/Dev_NP_TTA_NewCProc
95a0d59e6079e6f42a11cfe5da5ec41221f67227
[ "MIT" ]
null
null
null
CommonLib/MainInfo.cpp
chrishoen/Dev_NP_TTA_NewCProc
95a0d59e6079e6f42a11cfe5da5ec41221f67227
[ "MIT" ]
null
null
null
#include "stdafx.h" #include "BirthCertificate.h" #include "SoftwareVersion.h" #include "FactoryTestRecordCUESS.h" #include "FactoryTestRecordCUSA.h" #include "SysInfo.h" #include "smShare.h" #include "CProcInfo.h" //****************************************************************************** //********************...
40.102041
80
0.378117
chrishoen
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
bf4f0935893509b949163a2a7bedb3372f46c628
1,244
cpp
C++
src/main/cpp/autocommands/AutoCmdTimer.cpp
BlueCrewRobotics/2022-RapidReact
83d5bb57e68cbb5ef5c7f2100e30ce95a023a86b
[ "BSD-3-Clause" ]
null
null
null
src/main/cpp/autocommands/AutoCmdTimer.cpp
BlueCrewRobotics/2022-RapidReact
83d5bb57e68cbb5ef5c7f2100e30ce95a023a86b
[ "BSD-3-Clause" ]
null
null
null
src/main/cpp/autocommands/AutoCmdTimer.cpp
BlueCrewRobotics/2022-RapidReact
83d5bb57e68cbb5ef5c7f2100e30ce95a023a86b
[ "BSD-3-Clause" ]
null
null
null
/*-=+=-=+=-=+=-=+=-=+=-=+=-=+=-=+=-=+=-=+=-=+=-=+=-=+=-=+=-=+=-=+=-=+=-=+=-=+=*/ /* Blue Crew Robotics #6153 */ /* Rapid React 2022 */ /*-=+=-=+=-=+=-=+=-=+=-=+=-=+=-=+=-=+=-=+=-=+=-=+=-=+=-=+=-=+=-=+=-=+=-=+=-=+...
32.736842
91
0.565113
BlueCrewRobotics
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
bf5523e9093395b9240320258c1644e61f65e7ad
2,536
cpp
C++
src/runtime_src/xdp/profile/device/aieTraceS2MM.cpp
mariodruiz/XRT
c2fe15ff3c3b3d329645d40073cf9f71b8222e15
[ "Apache-2.0" ]
null
null
null
src/runtime_src/xdp/profile/device/aieTraceS2MM.cpp
mariodruiz/XRT
c2fe15ff3c3b3d329645d40073cf9f71b8222e15
[ "Apache-2.0" ]
null
null
null
src/runtime_src/xdp/profile/device/aieTraceS2MM.cpp
mariodruiz/XRT
c2fe15ff3c3b3d329645d40073cf9f71b8222e15
[ "Apache-2.0" ]
null
null
null
/** * Copyright (C) 2022 Advanced Micro Devices, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"). You may * not use this file except in compliance with the License. A copy of the * License is located at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable...
31.308642
86
0.701104
mariodruiz
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
bf5e2a27ae9978c1497d32e2e0c953ec5d386fdf
5,198
cc
C++
media/learning/common/target_histogram_unittest.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
14,668
2015-01-01T01:57:10.000Z
2022-03-31T23:33:32.000Z
media/learning/common/target_histogram_unittest.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
113
2015-05-04T09:58:14.000Z
2022-01-31T19:35:03.000Z
media/learning/common/target_histogram_unittest.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
5,941
2015-01-02T11:32:21.000Z
2022-03-31T16:35:46.000Z
// Copyright 2018 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "media/learning/common/target_histogram.h" #include "testing/gtest/include/gtest/gtest.h" namespace media { namespace learning { class Target...
28.718232
79
0.76087
zealoussnow
bf5ed1dff104ce61358cca50b4ea00c49b957dff
3,913
cpp
C++
src/internal/partition_kahip_process_mapping.cpp
cwpearson/tempi
fe16ae7692da83e9cd247782f596a46a1d010699
[ "BSL-1.0" ]
4
2021-03-15T20:21:46.000Z
2021-12-22T09:43:03.000Z
src/internal/partition_kahip_process_mapping.cpp
zhangjie119/tempi
fe16ae7692da83e9cd247782f596a46a1d010699
[ "BSL-1.0" ]
7
2021-02-12T19:38:44.000Z
2022-01-25T18:54:49.000Z
src/internal/partition_kahip_process_mapping.cpp
zhangjie119/tempi
fe16ae7692da83e9cd247782f596a46a1d010699
[ "BSL-1.0" ]
4
2021-02-10T16:11:26.000Z
2022-03-23T16:16:34.000Z
// Copyright Carl Pearson 2020 - 2021. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE or copy at // https://www.boost.org/LICENSE_1_0.txt) #include "partition.hpp" #include "logging.hpp" #include "kaHIP_interface.h" #include <algorithm> #include <casse...
27.556338
95
0.603373
cwpearson
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
bf726d78631657925f855300541b782988ea76b3
2,014
hpp
C++
etl/_functional/invoke.hpp
tobanteAudio/taetl
0aa6365aa156b297745f395882ff366a8626e5e0
[ "BSL-1.0" ]
null
null
null
etl/_functional/invoke.hpp
tobanteAudio/taetl
0aa6365aa156b297745f395882ff366a8626e5e0
[ "BSL-1.0" ]
null
null
null
etl/_functional/invoke.hpp
tobanteAudio/taetl
0aa6365aa156b297745f395882ff366a8626e5e0
[ "BSL-1.0" ]
1
2019-04-29T20:09:19.000Z
2019-04-29T20:09:19.000Z
/// \copyright Tobias Hienzsch 2019-2021 /// Distributed under the Boost Software License, Version 1.0. /// See accompanying file LICENSE or copy at http://boost.org/LICENSE_1_0.txt #ifndef TETL_FUNCTIONAL_INVOKE_HPP #define TETL_FUNCTIONAL_INVOKE_HPP #include "etl/_type_traits/decay.hpp" #include "etl/_type_traits/i...
34.724138
77
0.648461
tobanteAudio
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
bf746556bb6ca8905c14c54009b2b0c27f3b3b38
526
cpp
C++
apps/sequence/values/interval_parameter_controller.cpp
VersiraSec/epsilon-cfw
d12b44c6c6668ecc14b60d8dd098ba5c230b1291
[ "FSFAP" ]
1,442
2017-08-28T19:39:45.000Z
2022-03-30T00:56:14.000Z
apps/sequence/values/interval_parameter_controller.cpp
VersiraSec/epsilon-cfw
d12b44c6c6668ecc14b60d8dd098ba5c230b1291
[ "FSFAP" ]
1,321
2017-08-28T23:03:10.000Z
2022-03-31T19:32:17.000Z
apps/sequence/values/interval_parameter_controller.cpp
VersiraSec/epsilon-cfw
d12b44c6c6668ecc14b60d8dd098ba5c230b1291
[ "FSFAP" ]
421
2017-08-28T22:02:39.000Z
2022-03-28T20:52:21.000Z
#include "interval_parameter_controller.h" #include <cmath> using namespace Shared; namespace Sequence { bool IntervalParameterController::setParameterAtIndex(int parameterIndex, double f) { if (f < 0) { Escher::Container::activeApp()->displayWarning(I18n::Message::ForbiddenValue); return false; } doub...
23.909091
93
0.730038
VersiraSec
bf7645fa5a548be2ddf9ef41cf6268c8cde945b3
995
hpp
C++
CS791x_Fall14/Project02_ConsensusFilter/code/target_field.hpp
T-R0D/Past-Courses
0edc83a7bf09515f0d01d23a26df2ff90c0f458a
[ "MIT" ]
7
2017-03-13T17:32:26.000Z
2021-09-27T16:51:22.000Z
CS791x_Fall14/Project02_ConsensusFilter/code/target_field.hpp
T-R0D/Past-Courses
0edc83a7bf09515f0d01d23a26df2ff90c0f458a
[ "MIT" ]
1
2021-05-29T19:54:02.000Z
2021-05-29T19:54:52.000Z
CS791x_Fall14/Project02_ConsensusFilter/code/target_field.hpp
T-R0D/Past-Courses
0edc83a7bf09515f0d01d23a26df2ff90c0f458a
[ "MIT" ]
25
2016-10-18T03:31:44.000Z
2020-12-29T13:23:10.000Z
#ifndef __TARGET_FIELD_HPP__ #define __TARGET_FIELD_HPP__ 1 #include <list> #include <vector> #include <Eigen/Dense> class TargetField { public: const double ignore = -666.666; class Target { public: Target( const double p_value, const std::pair<double, double> p_coordinates ); ~...
17.767857
51
0.672362
T-R0D
bf7716ed7210313346d7886dde4b744d86b388aa
370
cpp
C++
lib/src/ast/ast_base.cpp
rhysd/rill
cb16e511c6bdd4ea0b2bcbec51bd43724cc7ddcb
[ "BSL-1.0" ]
null
null
null
lib/src/ast/ast_base.cpp
rhysd/rill
cb16e511c6bdd4ea0b2bcbec51bd43724cc7ddcb
[ "BSL-1.0" ]
null
null
null
lib/src/ast/ast_base.cpp
rhysd/rill
cb16e511c6bdd4ea0b2bcbec51bd43724cc7ddcb
[ "BSL-1.0" ]
null
null
null
// // Copyright yutopp 2013 - . // // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) // #include <rill/ast/ast_base.hpp> namespace rill { namespace ast { detail::ast_id_generator ast_base::igen_ ...
18.5
61
0.667568
rhysd
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
bf7bfcad92fac0f3947c948f99e433763fcab4ff
3,986
cpp
C++
wz_strategic_plugin/test/test_transition_table.cpp
adamlm/carma-platform
f6d46274cf6b6e14eddf8715b1a5204050d4c0e2
[ "Apache-2.0", "CC-BY-4.0", "MIT" ]
112
2020-04-27T17:06:46.000Z
2022-03-31T15:27:14.000Z
wz_strategic_plugin/test/test_transition_table.cpp
adamlm/carma-platform
f6d46274cf6b6e14eddf8715b1a5204050d4c0e2
[ "Apache-2.0", "CC-BY-4.0", "MIT" ]
982
2020-04-17T11:28:04.000Z
2022-03-31T21:12:19.000Z
wz_strategic_plugin/test/test_transition_table.cpp
adamlm/carma-platform
f6d46274cf6b6e14eddf8715b1a5204050d4c0e2
[ "Apache-2.0", "CC-BY-4.0", "MIT" ]
57
2020-05-07T15:48:11.000Z
2022-03-09T23:31:45.000Z
/* * Copyright (C) 2021 LEIDOS. * * 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 w...
32.672131
117
0.749624
adamlm
bf7e24e015b068926fc1bf134e00fc8cbfa5d71a
1,379
hpp
C++
Svc/CmdSequencer/test/ut/SequenceFiles/BadDescriptorFile.hpp
SSteve/fprime
12c478bd79c2c4ba2d9f9e634e47f8b6557c54a8
[ "Apache-2.0" ]
5
2019-10-22T03:41:02.000Z
2022-01-16T12:48:31.000Z
Svc/CmdSequencer/test/ut/SequenceFiles/BadDescriptorFile.hpp
SSteve/fprime
12c478bd79c2c4ba2d9f9e634e47f8b6557c54a8
[ "Apache-2.0" ]
42
2021-06-10T23:31:10.000Z
2021-06-25T00:35:31.000Z
Svc/CmdSequencer/test/ut/SequenceFiles/BadDescriptorFile.hpp
SSteve/fprime
12c478bd79c2c4ba2d9f9e634e47f8b6557c54a8
[ "Apache-2.0" ]
3
2020-09-05T18:17:21.000Z
2020-11-15T04:06:24.000Z
// ====================================================================== // \title BadDescriptorFile.hpp // \author Rob Bocchino // \brief BadDescriptorFile interface // // \copyright // Copyright (C) 2018 California Institute of Technology. // ALL RIGHTS RESERVED. United States Government Sponsorship // acknowled...
22.983333
74
0.572879
SSteve
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
bf867f5b556810900c9ef783fdbc96f4ae343e0e
13,265
cpp
C++
test/test_set.cpp
raitechnology/raids
da203e992c03e651f56b282c885db179eb7121fd
[ "Apache-2.0" ]
3
2021-04-27T22:05:35.000Z
2022-01-18T03:19:58.000Z
test/test_set.cpp
raitechnology/raids
da203e992c03e651f56b282c885db179eb7121fd
[ "Apache-2.0" ]
null
null
null
test/test_set.cpp
raitechnology/raids
da203e992c03e651f56b282c885db179eb7121fd
[ "Apache-2.0" ]
null
null
null
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <stdint.h> #include <raids/redis_cmd.h> #include <raids/redis_msg.h> #include <raids/redis_exec.h> #include <raikv/work.h> #include <raikv/key_hash.h> #include <raimd/md_set.h> #include <raids/set_bits.h> static const char * set_status_string[] = { "o...
31.138498
78
0.453675
raitechnology
bf89befe1e73dfacdfc45fa9caac351aca29b8cb
22,099
cpp
C++
Samples/Common/CropResize/CropResize.cpp
huaweiatlasTest/samples
5d1fcd6dc1b25bca3bf0a82f3e40d95d03f6995b
[ "BSD-3-Clause" ]
23
2019-07-29T02:15:20.000Z
2020-01-09T02:20:32.000Z
Samples/Common/CropResize/CropResize.cpp
huaweiatlasTest/samples
5d1fcd6dc1b25bca3bf0a82f3e40d95d03f6995b
[ "BSD-3-Clause" ]
4
2019-09-26T07:50:26.000Z
2019-11-29T06:01:29.000Z
Samples/Common/CropResize/CropResize.cpp
huaweiatlasTest/samples
5d1fcd6dc1b25bca3bf0a82f3e40d95d03f6995b
[ "BSD-3-Clause" ]
14
2019-08-14T07:54:55.000Z
2020-01-14T08:09:21.000Z
/** * ============================================================================ * * Copyright (c) Huawei Technologies Co., Ltd. 2018-2019. All rights reserved. * Description: Atlas Sample * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that th...
46.232218
135
0.686547
huaweiatlasTest
bf8a4cd23f903f7c681349a6193653539c9d956c
575
cpp
C++
tests/numbers-set1-regressions.cpp
davidhofman/dg
cf304a691f7063f638bd4edb66f2d8e65ccad2ec
[ "MIT" ]
1
2020-01-24T20:08:33.000Z
2020-01-24T20:08:33.000Z
tests/numbers-set1-regressions.cpp
davidhofman/dg
cf304a691f7063f638bd4edb66f2d8e65ccad2ec
[ "MIT" ]
null
null
null
tests/numbers-set1-regressions.cpp
davidhofman/dg
cf304a691f7063f638bd4edb66f2d8e65ccad2ec
[ "MIT" ]
null
null
null
#include <fstream> #include <iterator> #include <string> #include <vector> extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size); void runOnInput(const std::string& file) { std::ifstream input(file, std::ios::binary); if (!input.is_open()) abort(); std::vector<unsigned char> dat...
22.115385
72
0.667826
davidhofman
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
bccc1ec4583973230aedc0a4efa5a5436107fd8e
7,337
cpp
C++
old/dpd_cpp/micelle.cpp
brix4dayz/dpd_cpp
6156b9011f7fa529972620a9e949f1ff858f3a28
[ "MIT" ]
null
null
null
old/dpd_cpp/micelle.cpp
brix4dayz/dpd_cpp
6156b9011f7fa529972620a9e949f1ff858f3a28
[ "MIT" ]
7
2015-11-23T19:17:06.000Z
2016-03-02T20:55:29.000Z
old/dpd_cpp/micelle.cpp
brix4dayz/dpd_cpp
6156b9011f7fa529972620a9e949f1ff858f3a28
[ "MIT" ]
null
null
null
#include "micelle.h" Micelle::Micelle( DPDFrame<CopolymerChain>* frame ) { this->frame = frame; this->aggreg_num = 0; this->com = new PosVect(); } Micelle::Micelle(): Micelle( NULL ) {} void Micelle::unlink() { this->frame = NULL; for ( auto core = std::begin( this->coreList ); core != std::end( this->coreLi...
30.570833
136
0.628867
brix4dayz
bccd4fe8c4ee4756a993d42341f2d3f2055306c8
3,200
hpp
C++
rds/src/simulation_marr.hpp
epfl-lasa/rds
574b3881dbaf4fdcd785dd96ba4c451928454b40
[ "MIT" ]
12
2020-08-18T09:01:50.000Z
2022-03-17T19:53:30.000Z
rds/src/simulation_marr.hpp
epfl-lasa/rds
574b3881dbaf4fdcd785dd96ba4c451928454b40
[ "MIT" ]
null
null
null
rds/src/simulation_marr.hpp
epfl-lasa/rds
574b3881dbaf4fdcd785dd96ba4c451928454b40
[ "MIT" ]
1
2021-08-25T13:12:55.000Z
2021-08-25T13:12:55.000Z
#ifndef SIMULATION_MARR_HPP #define SIMULATION_MARR_HPP // simulation MARR (multiple agents reactive robot) #include "geometry.hpp" #include "rds_4_agent.hpp" #include <RVO.h> // external official RVO2 library #include <vector> //struct StateMARR //{ // StateMARR(RVO::Simulator& rvo_sim) : rvo_sim(rvo_sim) { } //p...
29.906542
135
0.756875
epfl-lasa
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
bcdc7c251189be4c60918394336cc2723cf445b1
11,044
cpp
C++
src/editor/properties/TextureProperty.cpp
CounterPillow/tungsten
2428201c44f2910d1984bd40f80b0c275848e9cf
[ "Apache-2.0", "Unlicense" ]
1
2017-11-09T18:53:56.000Z
2017-11-09T18:53:56.000Z
src/editor/properties/TextureProperty.cpp
CounterPillow/tungsten
2428201c44f2910d1984bd40f80b0c275848e9cf
[ "Apache-2.0", "Unlicense" ]
null
null
null
src/editor/properties/TextureProperty.cpp
CounterPillow/tungsten
2428201c44f2910d1984bd40f80b0c275848e9cf
[ "Apache-2.0", "Unlicense" ]
null
null
null
#include "TextureProperty.hpp" #include "PropertySheet.hpp" #include "ListProperty.hpp" #include "materials/ConstantTexture.hpp" #include "materials/CheckerTexture.hpp" #include "materials/BitmapTexture.hpp" #include "materials/BladeTexture.hpp" #include "materials/DiskTexture.hpp" #include "materials/IesTexture.hpp" ...
31.464387
133
0.656465
CounterPillow
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