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
238abc8dd6f4da245d254d61a20a3fa92318a2d3
424
cpp
C++
Limux/src/Platform/OpenGL/OpenGLBuffer.cpp
silvertakana/Lumix
35a6c0d35229a71dc4445369bb400c4e5adca1af
[ "MIT" ]
2
2021-09-25T05:22:50.000Z
2021-09-30T21:04:11.000Z
Limux/src/Platform/OpenGL/OpenGLBuffer.cpp
silvertakana/Lumix
35a6c0d35229a71dc4445369bb400c4e5adca1af
[ "MIT" ]
null
null
null
Limux/src/Platform/OpenGL/OpenGLBuffer.cpp
silvertakana/Lumix
35a6c0d35229a71dc4445369bb400c4e5adca1af
[ "MIT" ]
null
null
null
#include "lmxpch.h" #include "OpenGLBuffer.h" namespace LMX { OpenGLBuffer::OpenGLBuffer(void* data, uint32_t size) { glCreateBuffers(1, &ID); glNamedBufferData(ID, size, data, GL_STATIC_DRAW); } void OpenGLBuffer::Bind(GLenum type) const { glBindBuffer(type, ID); } void OpenGLBuffer::UnBind(GLenum type...
16.96
54
0.70283
silvertakana
238c7c7060740ddfea2fbc286d12b26f16424aca
3,370
cpp
C++
src/service/utils/string/StringUtils.cpp
devslm/quik-connector
1785ad2936fca41a5b20420b43f19afb56bb84ff
[ "Apache-2.0" ]
1
2021-11-16T20:36:48.000Z
2021-11-16T20:36:48.000Z
src/service/utils/string/StringUtils.cpp
devslm/quik-connector
1785ad2936fca41a5b20420b43f19afb56bb84ff
[ "Apache-2.0" ]
null
null
null
src/service/utils/string/StringUtils.cpp
devslm/quik-connector
1785ad2936fca41a5b20420b43f19afb56bb84ff
[ "Apache-2.0" ]
2
2021-09-24T21:12:30.000Z
2021-11-08T08:24:44.000Z
// // Copyright (c) 2021 SLM Dev <https://slm-dev.com/quik-connector/>. All rights reserved. // #include "StringUtils.h" static const int VALUE_SIZE = 256; static const short UTF_CHARS_TABLE[256] = { 0,1,2,3,4,5,6,7,8,9,0xa,0xb,0xc,0xd,0xe,0xf,0x10,0x11,0x12,0x13,0x14,0x15,0x16, 0x17,0x18,0x19,0x1a,0x1b,0x1c,...
36.236559
91
0.679228
devslm
238dca0057b6ce883051786807ee1eb9f032f726
13,571
cpp
C++
samples/common/cns_openpose/postprocess_body_pose.cpp
HFauto/CNStream
1d4847327fff83eedbc8de6911855c5f7bb2bf22
[ "Apache-2.0" ]
172
2019-08-24T10:05:14.000Z
2022-03-29T07:45:18.000Z
samples/common/cns_openpose/postprocess_body_pose.cpp
HFauto/CNStream
1d4847327fff83eedbc8de6911855c5f7bb2bf22
[ "Apache-2.0" ]
27
2019-09-01T11:04:45.000Z
2022-01-17T09:27:07.000Z
samples/common/cns_openpose/postprocess_body_pose.cpp
HFauto/CNStream
1d4847327fff83eedbc8de6911855c5f7bb2bf22
[ "Apache-2.0" ]
72
2019-08-24T10:13:06.000Z
2022-03-28T08:26:05.000Z
/************************************************************************* * Copyright (C) [2021] by Cambricon, Inc. All rights reserved * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License a...
44.061688
116
0.658905
HFauto
2391b76a3b21df73fc82d4bd351a1c50c20f30a4
482
cpp
C++
Aula03/usoScanf.cpp
renancosta/ProgramacaoI20221
3bff0c2d39d97ba442683e66ea1551d3777f79ba
[ "MIT" ]
null
null
null
Aula03/usoScanf.cpp
renancosta/ProgramacaoI20221
3bff0c2d39d97ba442683e66ea1551d3777f79ba
[ "MIT" ]
null
null
null
Aula03/usoScanf.cpp
renancosta/ProgramacaoI20221
3bff0c2d39d97ba442683e66ea1551d3777f79ba
[ "MIT" ]
null
null
null
#include<stdlib.h> #include<stdio.h> main(){ int idade1,idade2; float altura1,altura2; printf("Pessoa 1\n"); printf("Informe sua idade: "); scanf("%d",&idade1); printf("Informe sua altura: "); scanf("%f",&altura1); printf("\nPessoa 2\n"); printf("Informe sua idade: "); scanf("%d",&idade2); printf("Informe s...
24.1
61
0.653527
renancosta
23926c104d34bbe4441171984d5ee3425037264e
689
cpp
C++
P1516.cpp
AndrewWayne/OI_Learning
0fe8580066704c8d120a131f6186fd7985924dd4
[ "MIT" ]
null
null
null
P1516.cpp
AndrewWayne/OI_Learning
0fe8580066704c8d120a131f6186fd7985924dd4
[ "MIT" ]
null
null
null
P1516.cpp
AndrewWayne/OI_Learning
0fe8580066704c8d120a131f6186fd7985924dd4
[ "MIT" ]
null
null
null
#include <cstdio> #include <iostream> using namespace std; long long x, y, m, n, L, d, a, b; void exgcd(long long a, long long b, long long &d, long long &x, long long &y){ if(b) exgcd(b, a%b, d, y, x), y -= x*(a/b); else d = a, x = 1, y = 0; } long long gcd(int u, int v){ return v ...
19.138889
79
0.404935
AndrewWayne
2392982e76eb752ea3fe78ed3b5511ca2d3ee45a
194
cpp
C++
leetcode/Algorithms/FactorialTrailingZeroes/solution.cpp
hxdone/puzzles
b729bce8a61f77ad7cbb70957e00c5ade9a0a35f
[ "Apache-2.0" ]
2
2015-07-03T03:05:30.000Z
2015-07-03T03:05:31.000Z
leetcode/Algorithms/FactorialTrailingZeroes/solution.cpp
hxdone/puzzles
b729bce8a61f77ad7cbb70957e00c5ade9a0a35f
[ "Apache-2.0" ]
null
null
null
leetcode/Algorithms/FactorialTrailingZeroes/solution.cpp
hxdone/puzzles
b729bce8a61f77ad7cbb70957e00c5ade9a0a35f
[ "Apache-2.0" ]
null
null
null
// by hxdone class Solution { public: int trailingZeroes(int n) { int sum = 0; while (n) { n /= 5; sum += n; } return sum; } };
13.857143
31
0.391753
hxdone
2392b9ff0d760abf1b51e422e79c34c4265b3734
11,475
hpp
C++
vendor/bela/include/bela/semver.hpp
rdp-studio/baulk
39feb4914dc1b7a572b9a80cac13a906d637046e
[ "MIT" ]
3
2019-03-19T09:24:09.000Z
2021-05-17T11:21:24.000Z
vendor/bela/include/bela/semver.hpp
rdp-studio/Privexec
472c05b808965d82151828a0ec5ee846b5ca86db
[ "MIT" ]
null
null
null
vendor/bela/include/bela/semver.hpp
rdp-studio/Privexec
472c05b808965d82151828a0ec5ee846b5ca86db
[ "MIT" ]
1
2019-11-20T05:11:30.000Z
2019-11-20T05:11:30.000Z
// Thanks Neargye/semver // origin code see // https://github.com/Neargye/semver/blob/master/include/semver.hpp // support wchar_t #ifndef BELA_SENVER_HPP #define BELA_SENVER_HPP #include <cstdint> #include <cstddef> #include <limits> #include <optional> #include <string> #include <string_view> #include <system_error>...
34.984756
120
0.639913
rdp-studio
2393edef020fbe0b95563bb6486cda2d0ac05229
3,938
cpp
C++
src/quadtree.cpp
JamesBremner/quadtree
5200978410006b67c67e64659c98fb3cb20c7669
[ "BSD-2-Clause" ]
null
null
null
src/quadtree.cpp
JamesBremner/quadtree
5200978410006b67c67e64659c98fb3cb20c7669
[ "BSD-2-Clause" ]
null
null
null
src/quadtree.cpp
JamesBremner/quadtree
5200978410006b67c67e64659c98fb3cb20c7669
[ "BSD-2-Clause" ]
null
null
null
#include <iostream> #include <sstream> #include <vector> #include "cRunWatch.h" #include "quadtree.h" namespace quad { std::vector<cPoint *> cCell::myPointsFound; cCell::cCell(const cPoint &p, float d) : center(p), dim(d / 2), nw(0) { } cCell::~cCell() { if (nw) { ...
24.308642
70
0.452514
JamesBremner
2398bd105adbd18003b0438e8c48ee3f9ac5d738
531
cc
C++
src/FileIO/datastruct.cc
tech-pi/BBSLMIRP
21bd8780c0e7df255a7dd4a6967d8fabc882ef42
[ "MIT" ]
4
2019-07-18T03:14:32.000Z
2021-07-07T18:15:49.000Z
src/FileIO/datastruct.cc
chengaoyu/BBSLMIRP
21bd8780c0e7df255a7dd4a6967d8fabc882ef42
[ "MIT" ]
null
null
null
src/FileIO/datastruct.cc
chengaoyu/BBSLMIRP
21bd8780c0e7df255a7dd4a6967d8fabc882ef42
[ "MIT" ]
1
2019-11-28T02:52:45.000Z
2019-11-28T02:52:45.000Z
/* @brief: the definition of @auther: chengaoyu2013@gmail.com @date: 2017/10/19 */ #include "datastruct.h" #include "ray.h" namespace BBSLMIRP { //const double kLightSpeed = 3e11; //TOF event Event::Event(const Point3D& p1, const Point3D& p2, float tof_distance){ ray = new Ray(p1,p2); this->set_tof...
16.090909
74
0.666667
tech-pi
2398c81e98139b368926645cda7a8894d157327e
14,975
cc
C++
Cassie_Example/opt_two_step/gen/opt/J_u_leftToeHeight_cassie.cc
prem-chand/Cassie_CFROST
da4bd51442f86e852cbb630cc91c9a380a10b66d
[ "BSD-3-Clause" ]
null
null
null
Cassie_Example/opt_two_step/gen/opt/J_u_leftToeHeight_cassie.cc
prem-chand/Cassie_CFROST
da4bd51442f86e852cbb630cc91c9a380a10b66d
[ "BSD-3-Clause" ]
null
null
null
Cassie_Example/opt_two_step/gen/opt/J_u_leftToeHeight_cassie.cc
prem-chand/Cassie_CFROST
da4bd51442f86e852cbb630cc91c9a380a10b66d
[ "BSD-3-Clause" ]
null
null
null
/* * Automatically Generated from Mathematica. * Thu 14 Oct 2021 09:55:24 GMT-04:00 */ #ifdef MATLAB_MEX_FILE #include <stdexcept> #include <cmath> #include<math.h> /** * Copied from Wolfram Mathematica C Definitions file mdefs.hpp * Changed marcos to inline functions (Eric Cousineau) */ inline double Power(doub...
23.96
352
0.649883
prem-chand
239b0ddb886654e47144937ff5d86f1fcc753438
527
cpp
C++
platform/android/src/style/functions/identity_stops.cpp
kravtsun/mapbox-gl-native
ea8ec38df156c6683c886253dbb1f6bc828686ff
[ "BSL-1.0", "Apache-2.0" ]
3
2020-02-22T04:04:42.000Z
2022-01-25T08:34:16.000Z
platform/android/src/style/functions/identity_stops.cpp
leejing397/GeoMap
d94d3f275234ad4434858e08a6b42e72c44dc6db
[ "BSL-1.0", "Apache-2.0" ]
null
null
null
platform/android/src/style/functions/identity_stops.cpp
leejing397/GeoMap
d94d3f275234ad4434858e08a6b42e72c44dc6db
[ "BSL-1.0", "Apache-2.0" ]
3
2019-04-10T03:37:12.000Z
2019-05-28T08:59:00.000Z
#include "identity_stops.hpp" namespace mbgl { namespace android { jni::Object<IdentityStops> IdentityStops::New(jni::JNIEnv& env) { static auto constructor = IdentityStops::javaClass.GetConstructor<>(env); return IdentityStops::javaClass.New(env, constructor); } jni::Class<IdentityStops> IdentityStops::java...
27.736842
97
0.749526
kravtsun
23a17c940723af5070680aa544da0361eea08087
1,355
cpp
C++
walrus_widget/src/camera_display.cpp
OAkyildiz/walrus-expansion
9b387eef89644659c01f85ad86c72a0be9bc1ebc
[ "MIT" ]
1
2017-02-28T22:47:31.000Z
2017-02-28T22:47:31.000Z
walrus_widget/src/camera_display.cpp
OAkyildiz/walrus-expansion
9b387eef89644659c01f85ad86c72a0be9bc1ebc
[ "MIT" ]
null
null
null
walrus_widget/src/camera_display.cpp
OAkyildiz/walrus-expansion
9b387eef89644659c01f85ad86c72a0be9bc1ebc
[ "MIT" ]
null
null
null
#include "walrus_widget/camera_display.h" #include<QPainter> //#include<QElapsedTimer> CameraDisplay::CameraDisplay(QWidget *parent) : QWidget(parent), large_(false) { image_ = 0; setSizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed); title_ = new QLabel("title",this); title_->resize(120,15...
16.52439
59
0.633948
OAkyildiz
23a3994cd45bce582d2b4dd466dbc45dec978069
3,636
cpp
C++
src/support.cpp
TehSnappy/lib_lunar_ex
a4cd4a3cdec44c2adaefbf1791b8863db568cbbd
[ "MIT" ]
null
null
null
src/support.cpp
TehSnappy/lib_lunar_ex
a4cd4a3cdec44c2adaefbf1791b8863db568cbbd
[ "MIT" ]
null
null
null
src/support.cpp
TehSnappy/lib_lunar_ex
a4cd4a3cdec44c2adaefbf1791b8863db568cbbd
[ "MIT" ]
1
2019-10-12T03:23:41.000Z
2019-10-12T03:23:41.000Z
#include <stdio.h> #include <math.h> #include <stdlib.h> #include <assert.h> #include <string.h> #include <ctype.h> #include "lunar-master/watdefs.h" #include "lunar-master/afuncs.h" #include "lunar-master/date.h" static const long double j2000 = 2451545.0; static void my_remove_char( char *buff, const char removed)...
27.338346
116
0.578108
TehSnappy
23a45b95b47247058e456d91d1788e4c113ec446
5,559
cpp
C++
stdlib/caffe/openpose_kernel.cpp
photoszzt/scanner
712796dffed7411791499b9226a57410b4ce216c
[ "Apache-2.0" ]
1
2021-06-27T08:00:04.000Z
2021-06-27T08:00:04.000Z
stdlib/caffe/openpose_kernel.cpp
photoszzt/scanner
712796dffed7411791499b9226a57410b4ce216c
[ "Apache-2.0" ]
1
2017-10-26T03:22:56.000Z
2017-10-26T03:22:56.000Z
stdlib/caffe/openpose_kernel.cpp
qinglan233/scanner
61ce0d35e49c92cab265b746bd55ae75ab57fb42
[ "Apache-2.0" ]
1
2019-05-10T19:44:44.000Z
2019-05-10T19:44:44.000Z
#include <iostream> #include <opencv2/core/cuda.hpp> #include <openpose/headers.hpp> #include "scanner/api/kernel.h" #include "scanner/api/op.h" #include "scanner/util/cuda.h" #include "scanner/util/opencv.h" #include "stdlib/stdlib.pb.h" namespace scanner { const int POSE_KEYPOINTS = 18; const int FACE_KEYPOINTS = ...
40.875
80
0.487858
photoszzt
23a774772ee590924cdfcae682006f5b4aa0d1e1
2,532
cc
C++
components/ukm/debug_page/debug_page.cc
metux/chromium-deb
3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
components/ukm/debug_page/debug_page.cc
metux/chromium-deb
3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
components/ukm/debug_page/debug_page.cc
metux/chromium-deb
3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2017 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 "components/ukm/debug_page/debug_page.h" #include <inttypes.h> #include "base/memory/ref_counted_memory.h" #include "base/strings/stringpri...
29.44186
80
0.624408
metux
23aba06def38ed356bd95f00a6e1c3d411261bfa
2,701
cpp
C++
lootman/lootman/main.cpp
clayne/Lootman
248befd3e1775a0eb9ca6dcbe261937d9641ef1c
[ "MIT" ]
1
2020-05-12T16:32:46.000Z
2020-05-12T16:32:46.000Z
lootman/lootman/main.cpp
clayne/Lootman
248befd3e1775a0eb9ca6dcbe261937d9641ef1c
[ "MIT" ]
null
null
null
lootman/lootman/main.cpp
clayne/Lootman
248befd3e1775a0eb9ca6dcbe261937d9641ef1c
[ "MIT" ]
1
2020-05-12T16:32:48.000Z
2020-05-12T16:32:48.000Z
#include <shlobj.h> #include "f4se/PluginAPI.h" #include "f4se_common/f4se_version.h" #include "FormIDCache.h" #include "InjectionData.h" #include "PapyrusLootman.h" IDebugLog gLog; PluginHandle pluginHandle = kPluginHandle_Invalid; F4SEPapyrusInterface * papyrus = nullptr; F4SEMessagingInterface * messaging = nul...
28.431579
94
0.607923
clayne
23aec974649df6b1ddb184478d165c1ff9c72a40
1,104
hpp
C++
src/heuristics/acceptCritTemperature.hpp
lucasmpavelski/Adaptive-IG
cf48ffae80597a6fd1738da6b4871fe98a3b5189
[ "Unlicense" ]
null
null
null
src/heuristics/acceptCritTemperature.hpp
lucasmpavelski/Adaptive-IG
cf48ffae80597a6fd1738da6b4871fe98a3b5189
[ "Unlicense" ]
null
null
null
src/heuristics/acceptCritTemperature.hpp
lucasmpavelski/Adaptive-IG
cf48ffae80597a6fd1738da6b4871fe98a3b5189
[ "Unlicense" ]
null
null
null
#pragma once #include <cmath> #include <paradiseo/eo/eo> #include <paradiseo/mo/mo> /** * Acceptance Criterion for extreme intensification : accept if the new solution * is better than previous one */ template <class Neighbor> class acceptCritTemperature : public moAcceptanceCriterion<Neighbor>, ...
27.6
80
0.679348
lucasmpavelski
23b0aedf3506240106fbfcca4defb72bae6c8ced
4,264
cpp
C++
ProjectLunarFront/Main.cpp
Edgaru089/ProjectLunarFront
bf59c6dec36e0576082acf3c72abf3c82bc92241
[ "MIT" ]
null
null
null
ProjectLunarFront/Main.cpp
Edgaru089/ProjectLunarFront
bf59c6dec36e0576082acf3c72abf3c82bc92241
[ "MIT" ]
null
null
null
ProjectLunarFront/Main.cpp
Edgaru089/ProjectLunarFront
bf59c6dec36e0576082acf3c72abf3c82bc92241
[ "MIT" ]
null
null
null
#include "Main.hpp" #include "Instance.hpp" #include "JudgeWorker.hpp" #include "JudgeRecord.hpp" #include "StringDatabase.hpp" #include "Problem.hpp" #include "Page.hpp" #include "PageStatus.hpp" #include "PageStatusDetail.hpp" Log dlog; ofstream logout; atomic_bool running, stopped; #ifdef _WIN32 //Platform-Deped...
26.987342
122
0.671435
Edgaru089
23b187f51001f310c967d69273a87e4e95f13eaa
984
cpp
C++
experiments/vector_num.cpp
Zilleplus/PANOCPP
f228afec92e0fdff557f85cb27b0b368fea585ae
[ "MIT" ]
3
2018-09-12T06:12:48.000Z
2022-01-31T12:47:47.000Z
experiments/vector_num.cpp
Zilleplus/PANOCPP
f228afec92e0fdff557f85cb27b0b368fea585ae
[ "MIT" ]
21
2020-05-21T17:26:13.000Z
2021-12-19T19:49:09.000Z
experiments/vector_num.cpp
Zilleplus/PANOCPP
f228afec92e0fdff557f85cb27b0b368fea585ae
[ "MIT" ]
1
2018-09-09T07:43:49.000Z
2018-09-09T07:43:49.000Z
// Seems like this is not possible: // https://bugsdb.com/_en/debug/15a3b904c2e060eb02477ceb7535e519 #include <iostream> template <typename TData> class Vector { public: using data_type = TData; }; template <typename TVector, typename TMaybeData> struct IsDataOfVectorKind { static constexpr bool value = std:...
22.363636
95
0.681911
Zilleplus
23b4ad9cdb20903326df1a29a1593c58bd7812cd
2,406
cpp
C++
raygame/MyColor.cpp
BlueJayAtAIE/RaylibCPP
74dcf59f4c469a21f439344dca14dfba53ee3969
[ "MIT" ]
1
2020-09-09T15:44:45.000Z
2020-09-09T15:44:45.000Z
raygame/MyColor.cpp
BlueJayAtAIE/RaylibCPP
74dcf59f4c469a21f439344dca14dfba53ee3969
[ "MIT" ]
null
null
null
raygame/MyColor.cpp
BlueJayAtAIE/RaylibCPP
74dcf59f4c469a21f439344dca14dfba53ee3969
[ "MIT" ]
null
null
null
#include "MyColor.h" MyColor::MyColor() { } MyColor::MyColor(int red, int green, int blue, int alpha) { r = red; g = green; b = blue; a = alpha; clamp(); } void MyColor::clamp() { if (r > 255) r = 255; if (r < 0) r = 0; if (g > 255) g = 255; if (g < 0) g = 0; if (b > 255) b = 255; if (b < 0)...
16.367347
68
0.549875
BlueJayAtAIE
23b901b1ddd924dc75e5064f41c6b706958bf029
3,171
cc
C++
examples/distributed_grid.cc
mpi-advance/Exhanced-MPL-tiny-
9585fdc337a69c207a7c771d850b5ad7542666fa
[ "BSD-3-Clause" ]
2
2021-10-13T03:55:48.000Z
2022-01-28T15:33:54.000Z
examples/distributed_grid.cc
mpi-advance/mpl-subset
9585fdc337a69c207a7c771d850b5ad7542666fa
[ "BSD-3-Clause" ]
null
null
null
examples/distributed_grid.cc
mpi-advance/mpl-subset
9585fdc337a69c207a7c771d850b5ad7542666fa
[ "BSD-3-Clause" ]
null
null
null
#include <cstdlib> #include <iostream> #include <mpl/mpl.hpp> template<std::size_t dim, typename T, typename A> void update_overlap(const mpl::cart_communicator &C, mpl::distributed_grid<dim, T, A> &G, mpl::tag tag = mpl::tag()) { mpl::shift_ranks ranks; for (std::size_t i = 0; i < dim; ++i) { ...
41.181818
91
0.613371
mpi-advance
23bd94d5e5ce23c6580393b45a8a267c1e885e99
1,110
cpp
C++
64.cpp
machinecc/leetcode
32bbf6c1f9124049c046a235c85b14ca9168daa8
[ "MIT" ]
null
null
null
64.cpp
machinecc/leetcode
32bbf6c1f9124049c046a235c85b14ca9168daa8
[ "MIT" ]
null
null
null
64.cpp
machinecc/leetcode
32bbf6c1f9124049c046a235c85b14ca9168daa8
[ "MIT" ]
null
null
null
#include <iostream> #include <cstdlib> #include <string> #include <unordered_set> #include <vector> #include <algorithm> #include <climits> #include <stack> #include <sstream> #include <numeric> #include <unordered_map> using namespace std; class Solution { public: int minPathSum(vector<vector<int>>& grid) { ...
15.416667
57
0.445045
machinecc
23bec30b8dedd40fd60e7c39d8c2b4066e60d237
750
cpp
C++
string/165 Compare Version Numbers.cpp
CoderQuinnYoung/leetcode
6ea15c68124b16824bab9ed2e0e5a40c72eb3db1
[ "BSD-3-Clause" ]
null
null
null
string/165 Compare Version Numbers.cpp
CoderQuinnYoung/leetcode
6ea15c68124b16824bab9ed2e0e5a40c72eb3db1
[ "BSD-3-Clause" ]
null
null
null
string/165 Compare Version Numbers.cpp
CoderQuinnYoung/leetcode
6ea15c68124b16824bab9ed2e0e5a40c72eb3db1
[ "BSD-3-Clause" ]
null
null
null
// // 165 Compare Version Numbers.cpp // Leetcode // // Created by Quinn on 2020/12/15. // Copyright © 2020 Quinn. All rights reserved. // #include <stdio.h> #include <string> using namespace std; class Solution { public: int compareVersion(string v1, string v2) { for(int i = 0, j = 0; i < v1.size() |...
22.058824
64
0.441333
CoderQuinnYoung
23c2037b617b9fd8fe3f9b2460d65e2150ae595b
405
hpp
C++
sources/SoundEffect.hpp
PawelWorwa/SFMLris
525c29eefee2ec68512d3d320fb0e9aae95b9549
[ "MIT" ]
null
null
null
sources/SoundEffect.hpp
PawelWorwa/SFMLris
525c29eefee2ec68512d3d320fb0e9aae95b9549
[ "MIT" ]
4
2018-01-10T19:17:00.000Z
2018-01-10T20:21:27.000Z
sources/SoundEffect.hpp
PawelWorwa/SFMLris
525c29eefee2ec68512d3d320fb0e9aae95b9549
[ "MIT" ]
null
null
null
#ifndef SFMLRIS_SOUNDEFFECT_HPP #define SFMLRIS_SOUNDEFFECT_HPP #include <SFML/Audio/Sound.hpp> #include <SFML/Audio/SoundBuffer.hpp> class SoundEffect { public: explicit SoundEffect(const std::string &filePath); void play(); void playOnce(); private: sf::SoundBuffer buffer; ...
17.608696
58
0.669136
PawelWorwa
23c30b55262d57a68d23442ac3d2d2776ab1a006
670
cpp
C++
CCC/ccc11s3.cpp
crackersamdjam/DMOJ-Solutions
97992566595e2c7bf41b5da9217d8ef61bdd1d71
[ "MIT" ]
null
null
null
CCC/ccc11s3.cpp
crackersamdjam/DMOJ-Solutions
97992566595e2c7bf41b5da9217d8ef61bdd1d71
[ "MIT" ]
null
null
null
CCC/ccc11s3.cpp
crackersamdjam/DMOJ-Solutions
97992566595e2c7bf41b5da9217d8ef61bdd1d71
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int T, M, X, Y, p, arr[5][5] = {{0,2,2,2,0},{0,1,2,1,0},{0,0,1,0,0},{0,0,0,0,0},{0,0,0,0,0}}; inline void go(int m, int x, int y){ p = (int)pow(5,m-1); switch(arr[x/p][y/p]){ case 0: printf("empty\n"); break; case...
22.333333
94
0.365672
crackersamdjam
23c526ab0e7ce0125042d98e6c6846a1b295e8d9
895
hpp
C++
LD46 - Square Loves Circle/Source/Transitions.hpp
milo-brandt/milos-ludum-dare-entries
6b4907463395ee99720386bca48726a798af14d2
[ "MIT" ]
null
null
null
LD46 - Square Loves Circle/Source/Transitions.hpp
milo-brandt/milos-ludum-dare-entries
6b4907463395ee99720386bca48726a798af14d2
[ "MIT" ]
null
null
null
LD46 - Square Loves Circle/Source/Transitions.hpp
milo-brandt/milos-ludum-dare-entries
6b4907463395ee99720386bca48726a798af14d2
[ "MIT" ]
null
null
null
// // Transitions.hpp // Dummy // // Created by Milo Brandt on 4/18/20. // Copyright © 2020 Milo Brandt. All rights reserved. // #ifndef Transitions_hpp #define Transitions_hpp #include "Common/Window.h" #include "Game/ImmediateData.h" #include <variant> namespace RenderEffects{ struct LoveFade{ Vect...
23.552632
80
0.653631
milo-brandt
23cad238c3f9af3f1e6f8a8a1bfdbf5a76cb2ed9
205
hpp
C++
project/Ekiis/body/Circle.hpp
Krozark/Ekiis
7588f89b0758d2b53d237fe1a270b7c559783e96
[ "BSD-2-Clause" ]
9
2015-01-23T06:09:30.000Z
2021-02-11T17:17:08.000Z
project/Ekiis/body/Circle.hpp
Krozark/Ekiis
7588f89b0758d2b53d237fe1a270b7c559783e96
[ "BSD-2-Clause" ]
1
2015-03-12T10:44:28.000Z
2015-03-12T10:44:28.000Z
project/Ekiis/body/Circle.hpp
Krozark/Ekiis
7588f89b0758d2b53d237fe1a270b7c559783e96
[ "BSD-2-Clause" ]
1
2019-04-01T19:08:24.000Z
2019-04-01T19:08:24.000Z
#ifndef CIRCLE_HPP #define CIRCLE_HPP #include "body.hpp" class CircleBody : public Body { public: CircleBody (float posx,float posy,float rayon,b2BodyType type = b2_dynamicBody); }; #endif
15.769231
88
0.721951
Krozark
23ce6f7b8b7eb697fe5e919e76be54fb05aabb02
12,601
hpp
C++
opentrack/options.hpp
asarnow/opentrack
aed80a837d79eb6997435e062e5fbda0a140a715
[ "ISC" ]
null
null
null
opentrack/options.hpp
asarnow/opentrack
aed80a837d79eb6997435e062e5fbda0a140a715
[ "ISC" ]
null
null
null
opentrack/options.hpp
asarnow/opentrack
aed80a837d79eb6997435e062e5fbda0a140a715
[ "ISC" ]
null
null
null
/* Copyright (c) 2013-2014 Stanislaw Halik * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. */ #pragma once #include <memory> #include <tuple> #...
29.168981
117
0.5594
asarnow
23ceaf9cb955071e61169f036d3a4fe377f8a6b5
30,751
cpp
C++
artifact/storm/src/storm/modelchecker/helper/infinitehorizon/SparseDeterministicInfiniteHorizonHelper.cpp
glatteis/tacas21-artifact
30b4f522bd3bdb4bebccbfae93f19851084a3db5
[ "MIT" ]
null
null
null
artifact/storm/src/storm/modelchecker/helper/infinitehorizon/SparseDeterministicInfiniteHorizonHelper.cpp
glatteis/tacas21-artifact
30b4f522bd3bdb4bebccbfae93f19851084a3db5
[ "MIT" ]
null
null
null
artifact/storm/src/storm/modelchecker/helper/infinitehorizon/SparseDeterministicInfiniteHorizonHelper.cpp
glatteis/tacas21-artifact
30b4f522bd3bdb4bebccbfae93f19851084a3db5
[ "MIT" ]
1
2022-02-05T12:39:53.000Z
2022-02-05T12:39:53.000Z
#include "SparseDeterministicInfiniteHorizonHelper.h" #include "storm/modelchecker/helper/infinitehorizon/internal/ComponentUtility.h" #include "storm/modelchecker/helper/infinitehorizon/internal/LraViHelper.h" #include "storm/storage/SparseMatrix.h" #include "storm/storage/StronglyConnectedComponentDecomposition.h"...
71.018476
340
0.605997
glatteis
23d26327a7db8bc2b8610e9dccd146ef0101ed3e
14,772
cpp
C++
src/bindings/Scriptdev2/scripts/northrend/icecrown_citadel/icecrown_citadel/boss_lord_marrowgar.cpp
mfooo/wow
3e5fad4cfdf0fd1c0a2fd7c9844e6f140a1bb32d
[ "OpenSSL" ]
1
2017-11-16T19:04:07.000Z
2017-11-16T19:04:07.000Z
src/bindings/Scriptdev2/scripts/northrend/icecrown_citadel/icecrown_citadel/boss_lord_marrowgar.cpp
mfooo/wow
3e5fad4cfdf0fd1c0a2fd7c9844e6f140a1bb32d
[ "OpenSSL" ]
null
null
null
src/bindings/Scriptdev2/scripts/northrend/icecrown_citadel/icecrown_citadel/boss_lord_marrowgar.cpp
mfooo/wow
3e5fad4cfdf0fd1c0a2fd7c9844e6f140a1bb32d
[ "OpenSSL" ]
null
null
null
/* Copyright (C) 2006 - 2010 ScriptDev2 <https://scriptdev2.svn.sourceforge.net/> * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any l...
34.115473
139
0.546845
mfooo
23d5d0fe82a7157b45cd3e14aaeecdbb5842c18e
1,782
cpp
C++
source/tvision/tapplica.cpp
ebelin/tvision
bf09d50c30a58298894cd478125c43b91a6e7c79
[ "MIT" ]
null
null
null
source/tvision/tapplica.cpp
ebelin/tvision
bf09d50c30a58298894cd478125c43b91a6e7c79
[ "MIT" ]
1
2020-10-12T22:41:38.000Z
2020-11-05T22:35:39.000Z
source/tvision/tapplica.cpp
jvprat/tvision
394febdb490ce962930db173274a81e10fac82f8
[ "MIT" ]
null
null
null
/*-------------------------------------------------------------------*/ /* filename - tapplica.cpp */ /* */ /* function(s) */ /* TApplication mem...
26.597015
77
0.522447
ebelin
23da388b5a166cf2e3c5c63bc2ef412d32d348d6
896
cpp
C++
src/flower/layer/dropout.cpp
Fs02/Flower
b2a91c78fc6a72766abcf1cac620e22233899d99
[ "MIT" ]
1
2016-12-02T14:33:16.000Z
2016-12-02T14:33:16.000Z
src/flower/layer/dropout.cpp
Fs02/Flower
b2a91c78fc6a72766abcf1cac620e22233899d99
[ "MIT" ]
null
null
null
src/flower/layer/dropout.cpp
Fs02/Flower
b2a91c78fc6a72766abcf1cac620e22233899d99
[ "MIT" ]
null
null
null
#include <flower/layer/dropout.h> #include <cmath> using namespace flower; Dropout::Dropout(double probabilty) : ILayerDef(), probability_(probabilty) {} layer_ptr Dropout::create(Net *net) const { return std::make_shared<DropoutLayer>(net, *this); } DropoutLayer::DropoutLayer(Net *net, const Dropout &defin...
22.974359
96
0.678571
Fs02
23da4c60992b779b19b86e9c2838dcb8cd53f88a
398
hpp
C++
src/Utils.hpp
robifr/snake
611c6cc0460a92cca7e033108be13510aeba6b69
[ "MIT" ]
null
null
null
src/Utils.hpp
robifr/snake
611c6cc0460a92cca7e033108be13510aeba6b69
[ "MIT" ]
null
null
null
src/Utils.hpp
robifr/snake
611c6cc0460a92cca7e033108be13510aeba6b69
[ "MIT" ]
null
null
null
#pragma once #include <SDL.h> #include <SDL_ttf.h> struct My_SDL_Deleter { void operator()(SDL_Window* p) const { SDL_DestroyWindow(p); } void operator()(SDL_Renderer* p) const { SDL_DestroyRenderer(p); } void operator()(SDL_Texture* p) const { SDL_DestroyTexture(p); } void operator()(SDL_Surface* p) const { SDL_...
33.166667
67
0.71608
robifr
23da4f11060e930c31d6fed9e4ad7de50db33474
686
cpp
C++
plugins/gdifont/src/get_text_metrics.cpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
2
2016-01-27T13:18:14.000Z
2018-05-11T01:11:32.000Z
plugins/gdifont/src/get_text_metrics.cpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
null
null
null
plugins/gdifont/src/get_text_metrics.cpp
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) #include <sge/font/exception.hpp> #include <sge/gdifont/device_context.hpp> #include <sge/gdifont/g...
32.666667
100
0.734694
cpreh
23db41847375c135f27605b198c71aba58e9244d
2,894
cpp
C++
code/src/engine/task/scheduler_dummy.cpp
shossjer/fimbulwinter
d894e4bddb5d2e6dc31a8112d245c6a1828604e3
[ "0BSD" ]
3
2020-04-29T14:55:58.000Z
2020-08-20T08:43:24.000Z
code/src/engine/task/scheduler_dummy.cpp
shossjer/fimbulwinter
d894e4bddb5d2e6dc31a8112d245c6a1828604e3
[ "0BSD" ]
1
2022-03-12T11:37:46.000Z
2022-03-12T20:17:38.000Z
code/src/engine/task/scheduler_dummy.cpp
shossjer/fimbulwinter
d894e4bddb5d2e6dc31a8112d245c6a1828604e3
[ "0BSD" ]
null
null
null
#include "config.h" #if TASK_USE_DUMMY #include "core/async/Thread.hpp" #include "core/container/Queue.hpp" #include "core/sync/Event.hpp" #include "engine/task/scheduler.hpp" #include "utility/any.hpp" #include "utility/optional.hpp" #include "utility/variant.hpp" namespace { struct Work { engine::Hash strand...
17.754601
115
0.671389
shossjer
23e2cf346822e124d7474943c2e1bf9f7a2d5db3
8,024
cpp
C++
gui/src/SearchWindow.cpp
eosswedenorg/eosio-keygen
a73689e275a893b719608fe3808eddc030833cf1
[ "MIT" ]
1
2020-04-23T09:23:30.000Z
2020-04-23T09:23:30.000Z
gui/src/SearchWindow.cpp
eosswedenorg/eosio-keygen
a73689e275a893b719608fe3808eddc030833cf1
[ "MIT" ]
16
2019-12-20T14:02:01.000Z
2021-05-07T11:59:52.000Z
gui/src/SearchWindow.cpp
eosswedenorg/eosio-keygen
a73689e275a893b719608fe3808eddc030833cf1
[ "MIT" ]
3
2020-02-14T04:04:45.000Z
2020-04-23T09:23:44.000Z
/** * MIT License * * Copyright (c) 2020-2021 EOS Sw/eden * * 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...
28.154386
126
0.709621
eosswedenorg
23e937c0481d5c9fc19d66de45f00e03d74891bb
3,482
cpp
C++
cpp/logger.cpp
s-bear/miscellanea
6f1398289e3c73057aa89ebcf926a57139ead380
[ "Unlicense" ]
null
null
null
cpp/logger.cpp
s-bear/miscellanea
6f1398289e3c73057aa89ebcf926a57139ead380
[ "Unlicense" ]
null
null
null
cpp/logger.cpp
s-bear/miscellanea
6f1398289e3c73057aa89ebcf926a57139ead380
[ "Unlicense" ]
null
null
null
// This is free and unencumbered software released into the public domain. #include "logger.hpp" #include <sstream> #include <cstdio> #include <functional> namespace logging { logger_t logger; level_t str_to_level(const std::string& str) { if(str == "debug") return logging::debug; else if(str...
20.850299
79
0.601091
s-bear
23eb150e93023a0bf2eea82377684efb921bc2cc
1,224
cpp
C++
361/a.cpp
vladshablinsky/algo
815392708d00dc8d3159b4866599de64fa9d34fa
[ "MIT" ]
1
2021-10-24T00:46:37.000Z
2021-10-24T00:46:37.000Z
361/a.cpp
vladshablinsky/algo
815392708d00dc8d3159b4866599de64fa9d34fa
[ "MIT" ]
null
null
null
361/a.cpp
vladshablinsky/algo
815392708d00dc8d3159b4866599de64fa9d34fa
[ "MIT" ]
null
null
null
#include <iostream> #include <cstdio> #include <algorithm> #include <vector> using namespace std; vector<int> v; bool can_right(int x) { return x != 3 && x != 9 && x != 6 && x != 0; } bool can_left(int x) { return x != 1 && x != 4 && x != 7 && x != 0; } bool can_down(int x) { return x != 7 && x != 0 && x != ...
14.926829
46
0.430556
vladshablinsky
23ed8b868f27f5f6e73a2d09a277025f0bb0464c
6,158
cc
C++
tests/inter/inter.cc
DavidFarago/crab
c5fba9a132afea11c10f2790d232d192b2d0ae9c
[ "Apache-2.0" ]
null
null
null
tests/inter/inter.cc
DavidFarago/crab
c5fba9a132afea11c10f2790d232d192b2d0ae9c
[ "Apache-2.0" ]
null
null
null
tests/inter/inter.cc
DavidFarago/crab
c5fba9a132afea11c10f2790d232d192b2d0ae9c
[ "Apache-2.0" ]
1
2020-03-01T12:33:53.000Z
2020-03-01T12:33:53.000Z
#include "../program_options.hpp" #include "../common.hpp" #include <crab/cg/cg_bgl.hpp> #include <crab/analysis/graphs/sccg_bgl.hpp> using namespace std; using namespace crab::analyzer; using namespace crab::cfg; using namespace crab::cfg_impl; using namespace crab::domain_impl; using namespace crab::cg; z_cfg_t* f...
32.582011
98
0.655083
DavidFarago
23f23405a1b5eb52cc77c99528980fa9a84b5abd
4,267
cc
C++
chats.cc
cadencorontzos/statsAndChats
aa402ce6215011f8d0ddf39d8426c6edf78705c9
[ "Apache-2.0" ]
null
null
null
chats.cc
cadencorontzos/statsAndChats
aa402ce6215011f8d0ddf39d8426c6edf78705c9
[ "Apache-2.0" ]
null
null
null
chats.cc
cadencorontzos/statsAndChats
aa402ce6215011f8d0ddf39d8426c6edf78705c9
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include "gram.hh" // next_word_in(line): // // Process the characters of the std::string object 'line', seeking // the next contiguous sequence of letters within that string. // // Once it has processed that next word, it modifies 'line' to exclude // the prefix of processed characters from it, an...
26.018293
92
0.599719
cadencorontzos
23f3020afbf26cceb61b8468bb5824130f9571b9
1,929
cpp
C++
etc/config/src/STATIC_CONST_MEMBER_INIT.cpp
isabella232/stdcxx
b0b0cab391b7b1f2d17ef4342aeee6b792bde63c
[ "Apache-2.0" ]
53
2015-01-13T05:46:43.000Z
2022-02-24T23:46:04.000Z
etc/config/src/STATIC_CONST_MEMBER_INIT.cpp
mann-patel/stdcxx
a22c5192f4b2a8b0b27d3588ea8f6d1faf8b037a
[ "Apache-2.0" ]
1
2021-11-04T12:35:39.000Z
2021-11-04T12:35:39.000Z
etc/config/src/STATIC_CONST_MEMBER_INIT.cpp
isabella232/stdcxx
b0b0cab391b7b1f2d17ef4342aeee6b792bde63c
[ "Apache-2.0" ]
33
2015-07-09T13:31:00.000Z
2021-11-04T12:12:20.000Z
// checking for const member initializer /*************************************************************************** * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed * with this work for additional information regard...
22.430233
76
0.557802
isabella232
23f42bcd82ba15dd177936e603dc1fef8a9d69c2
955
cc
C++
PTA/PAT_A/Cpp11/A1063_AC.cc
StrayDragon/OJ-Solutions
b31b11c01507544aded2302923da080b39cf2ba8
[ "MIT" ]
1
2019-05-13T10:09:55.000Z
2019-05-13T10:09:55.000Z
PTA/PAT_A/Cpp11/A1063_AC.cc
StrayDragon/OJ-Solutions
b31b11c01507544aded2302923da080b39cf2ba8
[ "MIT" ]
null
null
null
PTA/PAT_A/Cpp11/A1063_AC.cc
StrayDragon/OJ-Solutions
b31b11c01507544aded2302923da080b39cf2ba8
[ "MIT" ]
null
null
null
// --- // id : 1063 // title : Set Similarity // difficulty : Medium // score : 25 // tag : TODO // keyword : TODO // status : AC // from : PAT (Advanced Level) Practice // --- #include <algorithm> #include <iostream> #include <iterator> #include <set> #include <vector> #define A...
20.319149
70
0.518325
StrayDragon
23f56c0a7a123cab77a16e0a4285ce1e2710f82f
2,917
cpp
C++
sequoia-engine/test/unittest/sequoia-engine/Render/TestVertex.cpp
thfabian/sequoia
ed7a17452ac946e8208ff60a30fc10298d3939db
[ "MIT" ]
2
2018-01-31T07:44:59.000Z
2018-01-31T20:34:37.000Z
sequoia-engine/test/unittest/sequoia-engine/Render/TestVertex.cpp
thfabian/sequoia
ed7a17452ac946e8208ff60a30fc10298d3939db
[ "MIT" ]
null
null
null
sequoia-engine/test/unittest/sequoia-engine/Render/TestVertex.cpp
thfabian/sequoia
ed7a17452ac946e8208ff60a30fc10298d3939db
[ "MIT" ]
null
null
null
//===--------------------------------------------------------------------------------*- C++ -*-===// // _____ _ // / ____| (_) // | (___ ___ __ _ _ _ ___ _ __ _ // \___ \ / _ \...
36.4625
100
0.608845
thfabian
23f779c2899c0ad952c77c7e27bc35d025ab0160
270
hpp
C++
libs/core/include/tone/core/variant_helpers.hpp
zfzackfrost/tone-lang
928ac09dc061da2fb076fdc201ed2d4409fdcd96
[ "MIT" ]
null
null
null
libs/core/include/tone/core/variant_helpers.hpp
zfzackfrost/tone-lang
928ac09dc061da2fb076fdc201ed2d4409fdcd96
[ "MIT" ]
null
null
null
libs/core/include/tone/core/variant_helpers.hpp
zfzackfrost/tone-lang
928ac09dc061da2fb076fdc201ed2d4409fdcd96
[ "MIT" ]
null
null
null
#pragma once namespace tone::core { // Credit: https://en.cppreference.com/w/cpp/utility/variant/visit template <class... Ts> struct overloaded : Ts... { using Ts::operator()...; }; template<class... Ts> overloaded(Ts...) -> overloaded<Ts...>; }
30
70
0.611111
zfzackfrost
23f7d04300b60e6c921ec28016db99d865bb3ebc
48,395
cpp
C++
shared/test/unit_test/os_interface/linux/drm_engine_info_prelim_tests.cpp
mattcarter2017/compute-runtime
1f52802aac02c78c19d5493dd3a2402830bbe438
[ "Intel", "MIT" ]
null
null
null
shared/test/unit_test/os_interface/linux/drm_engine_info_prelim_tests.cpp
mattcarter2017/compute-runtime
1f52802aac02c78c19d5493dd3a2402830bbe438
[ "Intel", "MIT" ]
null
null
null
shared/test/unit_test/os_interface/linux/drm_engine_info_prelim_tests.cpp
mattcarter2017/compute-runtime
1f52802aac02c78c19d5493dd3a2402830bbe438
[ "Intel", "MIT" ]
null
null
null
/* * Copyright (C) 2022 Intel Corporation * * SPDX-License-Identifier: MIT * */ #include "shared/source/helpers/engine_node_helper.h" #include "shared/source/helpers/hw_info.h" #include "shared/source/memory_manager/memory_banks.h" #include "shared/source/os_interface/linux/engine_info.h" #include "shared/test/co...
56.207898
217
0.765265
mattcarter2017
23f7fb8f2ec913449bfb9d11f847d345d0e4eca8
1,993
cpp
C++
pg2/TutorialsVSB/Viewer/demo2.cpp
jsimck/uni
42ea184ccf3d9ecbffdea19b74ed13f3bc583137
[ "MIT" ]
null
null
null
pg2/TutorialsVSB/Viewer/demo2.cpp
jsimck/uni
42ea184ccf3d9ecbffdea19b74ed13f3bc583137
[ "MIT" ]
null
null
null
pg2/TutorialsVSB/Viewer/demo2.cpp
jsimck/uni
42ea184ccf3d9ecbffdea19b74ed13f3bc583137
[ "MIT" ]
null
null
null
#include "demo2.h" #include "vao_SceneOrigin.h" #include "vao_GridXY.h" #include "vao_CubeV3C4.h" #include "vao_TetraV3C4.h" #include "entity_SceneOrigin.h" #include "entity_GridXY.h" #include "entity_Cube_Simple.h" #include "entity_Tetra_Simple.h" void Demo2::initShaders() { addResPath("shaders/"); initShaderProg...
23.72619
89
0.731059
jsimck
6710adf81590af4e04f6f45e029718d10467d1db
1,554
hh
C++
include/cursed/Application.hh
brunexgeek/cursed
553e4c22b54a0df6536804d3439a7a5ca6fa5e7e
[ "Apache-2.0" ]
11
2019-05-16T20:12:33.000Z
2022-03-03T01:10:49.000Z
include/cursed/Application.hh
brunexgeek/cursed
553e4c22b54a0df6536804d3439a7a5ca6fa5e7e
[ "Apache-2.0" ]
1
2017-08-26T23:56:52.000Z
2017-08-27T03:39:41.000Z
include/cursed/Application.hh
brunexgeek/cursed
553e4c22b54a0df6536804d3439a7a5ca6fa5e7e
[ "Apache-2.0" ]
1
2021-04-21T22:49:38.000Z
2021-04-21T22:49:38.000Z
/* * Copyright 2017 Bruno Ribeiro * * 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 ...
17.862069
75
0.715573
brunexgeek
671387e41a1459fa690a29216fb91c5abdb61996
2,669
cpp
C++
src/mainwindow/searchwidget/searchwidget.cpp
fengleyl/NetEase
1dbcea741bd294da633233c766b24113c293f94e
[ "MIT" ]
35
2015-06-18T14:11:46.000Z
2020-12-01T10:06:17.000Z
src/mainwindow/searchwidget/searchwidget.cpp
StevennyZhang/NetEase
1dbcea741bd294da633233c766b24113c293f94e
[ "MIT" ]
1
2015-09-15T13:09:58.000Z
2016-05-09T05:47:24.000Z
src/mainwindow/searchwidget/searchwidget.cpp
StevennyZhang/NetEase
1dbcea741bd294da633233c766b24113c293f94e
[ "MIT" ]
10
2015-05-28T15:19:18.000Z
2018-06-26T17:54:31.000Z
#include "searchwidget.h" #include "../../toolwidgets/funcbutton.h" #include "../../configure/configure.h" #include "../../toolwidgets/titlewidget.h" #include <QLineEdit> #include <QHBoxLayout> #include <QCheckBox> #include <QLabel> SearchWidget::SearchWidget(QWidget *parent) : BasedWidget(parent) { setFixedSize(sea...
26.959596
82
0.736231
fengleyl
671469a337c114745eed61415549e82732f8f9f0
2,016
hpp
C++
app/ui/GLCanvas.hpp
modelflat/fractalexplorer
b2799362851b830ab8e9f69d9c3178785a9757c6
[ "MIT" ]
null
null
null
app/ui/GLCanvas.hpp
modelflat/fractalexplorer
b2799362851b830ab8e9f69d9c3178785a9757c6
[ "MIT" ]
null
null
null
app/ui/GLCanvas.hpp
modelflat/fractalexplorer
b2799362851b830ab8e9f69d9c3178785a9757c6
[ "MIT" ]
null
null
null
#ifndef FRACTALEXPLORER_GLCANVAS_HPP #define FRACTALEXPLORER_GLCANVAS_HPP #include <QOpenGLWidget> #include <QOpenGLContext> #include <QOpenGLFunctions> #include <QOpenGLTexture> #include <CL/cl.hpp> class OpenCLBackend { public: cl::Context currentContext(); bool interoperableWith(QOpenGLContext* context...
18.841121
68
0.68006
modelflat
671cdb0e8ef7012a5b0c07e299801c047b1d50cc
1,129
cpp
C++
c++/0124-binary-tree-maximum-path-sum.cpp
aafulei/leetcode
e3a0ef9c912abf99a1d6e56eff8802ba44b0057d
[ "MIT" ]
2
2019-04-13T09:55:04.000Z
2019-05-16T12:47:40.000Z
c++/0124-binary-tree-maximum-path-sum.cpp
aafulei/leetcode
e3a0ef9c912abf99a1d6e56eff8802ba44b0057d
[ "MIT" ]
null
null
null
c++/0124-binary-tree-maximum-path-sum.cpp
aafulei/leetcode
e3a0ef9c912abf99a1d6e56eff8802ba44b0057d
[ "MIT" ]
null
null
null
// 124. Binary Tree Maximum Path Sum [Hard] // Given a non-empty binary tree, find the maximum path sum. // For this problem, a path is defined as any sequence of nodes from some starting node // to any node in the tree along the parent-child connections. // The path must contain at least one node and does not need to...
25.088889
87
0.574845
aafulei
671ea385c2c5126f4431115cc0ae6dc31637162f
351
hpp
C++
include/hit.hpp
core-exe/NonEuclideanRayTracing
4316fa118af6b29c86c99bd4d863dfba1f089c7c
[ "MIT" ]
1
2021-12-02T06:25:54.000Z
2021-12-02T06:25:54.000Z
include/hit.hpp
core-exe/NonEuclideanRayTracing
4316fa118af6b29c86c99bd4d863dfba1f089c7c
[ "MIT" ]
null
null
null
include/hit.hpp
core-exe/NonEuclideanRayTracing
4316fa118af6b29c86c99bd4d863dfba1f089c7c
[ "MIT" ]
null
null
null
# pragma once # include <vecmath.h> # include <vector> using namespace std; class Texture; class Ray4; class Hit4 { public: float t; vector<Ray4> ray_out; Vector3f hit_pos_texture, normal; float in_cosine; float importance; vector<float> out_cosine, out_importance; Texture* hit_textur...
17.55
45
0.663818
core-exe
672261b07327a8154e56225ac3937413a9ece764
606
cpp
C++
project2D/main.cpp
Jeffrey-W23/AIE-CodeFolio
c1820d0a228a6111011b2d10daf885753e6d302d
[ "MIT" ]
null
null
null
project2D/main.cpp
Jeffrey-W23/AIE-CodeFolio
c1820d0a228a6111011b2d10daf885753e6d302d
[ "MIT" ]
null
null
null
project2D/main.cpp
Jeffrey-W23/AIE-CodeFolio
c1820d0a228a6111011b2d10daf885753e6d302d
[ "MIT" ]
null
null
null
#include "Application2D.h" #include <crtdbg.h> #include <iostream> #include "FunctionPointerExampleClass.h" using namespace std; // Function pointer example //void Cat(float cat) //{ // cout << "Your number is: " << cat << endl; //} int main() { // Function pointer example /*FunctionPointerExampleClass tc; ...
18.363636
62
0.691419
Jeffrey-W23
6724a7c1abb8283e5b0b2f8e7ab9f19db08ed470
1,285
cc
C++
code/addons/ui/ceui/ceuirendertarget.cc
gscept/nebula-trifid
e7c0a0acb05eedad9ed37a72c1bdf2d658511b42
[ "BSD-2-Clause" ]
67
2015-03-30T19:56:16.000Z
2022-03-11T13:52:17.000Z
code/addons/ui/ceui/ceuirendertarget.cc
gscept/nebula-trifid
e7c0a0acb05eedad9ed37a72c1bdf2d658511b42
[ "BSD-2-Clause" ]
5
2015-04-15T17:17:33.000Z
2016-02-11T00:40:17.000Z
code/addons/ui/ceui/ceuirendertarget.cc
gscept/nebula-trifid
e7c0a0acb05eedad9ed37a72c1bdf2d658511b42
[ "BSD-2-Clause" ]
34
2015-03-30T15:08:00.000Z
2021-09-23T05:55:10.000Z
//------------------------------------------------------------------------------ // ceuirendertarget.cc // (C) 2009 Radon Labs GmbH //------------------------------------------------------------------------------ #include "stdneb.h" #include "sui/ceui/ceuirendertarget.h" namespace CEUI { //--------------------------...
22.54386
124
0.368872
gscept
672aade328ca6be76011b6b3350f98dae51fb708
29,967
cpp
C++
smt/sat_core.cpp
pstlab/oRatio
0ec136fc60240e6cf090c8a6ba5055f84a215ac1
[ "Apache-2.0" ]
6
2020-02-20T14:52:01.000Z
2020-10-08T19:52:41.000Z
smt/sat_core.cpp
pstlab/oRatio
0ec136fc60240e6cf090c8a6ba5055f84a215ac1
[ "Apache-2.0" ]
15
2018-01-25T12:37:51.000Z
2021-03-22T14:03:43.000Z
smt/sat_core.cpp
pstlab/oRatio
0ec136fc60240e6cf090c8a6ba5055f84a215ac1
[ "Apache-2.0" ]
1
2019-04-29T23:16:57.000Z
2019-04-29T23:16:57.000Z
#include "sat_core.h" #include "clause.h" #include "sat_value_listener.h" #include <algorithm> #include <cmath> #include <cassert> namespace smt { sat_core::sat_core() { var c_false = new_var(); // the false constant.. var c_true = new_var(); // the true constant.. assert(c_false == FALSE_var); asser...
35.802867
240
0.524477
pstlab
67310c8e9d82d6c1af1ab0467aef425e2cc0ccf0
2,567
cpp
C++
modules/svg/src/SkSVGFeMorphology.cpp
borodust/skia
bbbf1a7f50a303bd76163793bd5968c72f5f4432
[ "BSD-3-Clause" ]
1
2022-03-10T08:41:28.000Z
2022-03-10T08:41:28.000Z
modules/svg/src/SkSVGFeMorphology.cpp
borodust/skia
bbbf1a7f50a303bd76163793bd5968c72f5f4432
[ "BSD-3-Clause" ]
null
null
null
modules/svg/src/SkSVGFeMorphology.cpp
borodust/skia
bbbf1a7f50a303bd76163793bd5968c72f5f4432
[ "BSD-3-Clause" ]
1
2021-06-06T21:31:52.000Z
2021-06-06T21:31:52.000Z
/* * Copyright 2020 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "include/effects/SkImageFilters.h" #include "modules/svg/include/SkSVGAttributeParser.h" #include "modules/svg/include/SkSVGFeMorphology.h" #include "modules/svg/incl...
37.202899
97
0.671601
borodust
673493eb248cbe351efa4f6732b81c04baf27ceb
220
cpp
C++
qt_arduino_qwt_testBASE/main.cpp
stephaneAG/Qt_tests
6e705524b7864956f29425392946152b3c123c91
[ "MIT" ]
null
null
null
qt_arduino_qwt_testBASE/main.cpp
stephaneAG/Qt_tests
6e705524b7864956f29425392946152b3c123c91
[ "MIT" ]
null
null
null
qt_arduino_qwt_testBASE/main.cpp
stephaneAG/Qt_tests
6e705524b7864956f29425392946152b3c123c91
[ "MIT" ]
null
null
null
#include <QtGui/QApplication> #include "widget.h" #include <QtGui> //here you have nothing to add int main(int argc, char *argv[]) { QApplication a(argc, argv); Widget w; w.show(); return a.exec(); }
13.75
32
0.631818
stephaneAG
67387605a1294603125aacc297fc5aa5a4f5f963
2,199
cpp
C++
#23_merge-k-sorted-lists/merge-k-sorted-lists.cpp
o-oppang/lets-solve-algorithm
9983a112736ce48bbd309a9af16d1fd68b9420da
[ "MIT" ]
null
null
null
#23_merge-k-sorted-lists/merge-k-sorted-lists.cpp
o-oppang/lets-solve-algorithm
9983a112736ce48bbd309a9af16d1fd68b9420da
[ "MIT" ]
null
null
null
#23_merge-k-sorted-lists/merge-k-sorted-lists.cpp
o-oppang/lets-solve-algorithm
9983a112736ce48bbd309a9af16d1fd68b9420da
[ "MIT" ]
null
null
null
/** * 23. Merge k Sorted Lists ( Hard ) * You are given an array of k linked-lists lists, each linked-list is sorted in ascending order. * Merge all the linked-lists into one sorted linked-list and return it. */ /** * Definition for singly-linked list. * struct ListNode { * int val; * ListNode *next; ...
35.467742
97
0.541155
o-oppang
6745e62d2c0f6a26b23a91ac31737e22b5800fc9
2,906
cpp
C++
internet-protocols/websocket.cpp
mobius-software-ltd/iotbroker.cloud-cpp-client
c970b72d2fe4eb83859df902ae8e76d13941cf5e
[ "RSA-MD" ]
null
null
null
internet-protocols/websocket.cpp
mobius-software-ltd/iotbroker.cloud-cpp-client
c970b72d2fe4eb83859df902ae8e76d13941cf5e
[ "RSA-MD" ]
null
null
null
internet-protocols/websocket.cpp
mobius-software-ltd/iotbroker.cloud-cpp-client
c970b72d2fe4eb83859df902ae8e76d13941cf5e
[ "RSA-MD" ]
null
null
null
#include "websocket.h" WebSocket::WebSocket() : InternetProtocol() { this->socket = new QWebSocket(); QObject::connect(this->socket, SIGNAL(binaryMessageReceived(QByteArray)), this, SLOT(receivedByteArray(QByteArray))); QObject::connect(this->socket, SIGNAL(textMessageReceived(QString)), ...
27.67619
151
0.658293
mobius-software-ltd
6746207e4c2949611f3fe85db7b038171125f1c0
149
cpp
C++
src/outputs/Output.cpp
neogenie/iqlogger
7a3866046dd30282a35ce954dc4fd301452aa924
[ "Apache-2.0" ]
1
2020-08-17T12:22:36.000Z
2020-08-17T12:22:36.000Z
src/outputs/Output.cpp
neogenie/iqlogger
7a3866046dd30282a35ce954dc4fd301452aa924
[ "Apache-2.0" ]
null
null
null
src/outputs/Output.cpp
neogenie/iqlogger
7a3866046dd30282a35ce954dc4fd301452aa924
[ "Apache-2.0" ]
null
null
null
// // Output.cpp // ~~~~~~~~~~~~~~~~ // // Copyright (C) 2018 IQOption Software, Inc. // // #include "Output.h" using namespace iqlogger::outputs;
12.416667
45
0.57047
neogenie
674b3b445625ab828e7b8af450647a8457648ba2
821
cpp
C++
src/force/framework/force_test.cpp
HSRobot/hiropV3
3f094035229708302aec976cfb252f7bcdb7cd3f
[ "BSD-3-Clause" ]
null
null
null
src/force/framework/force_test.cpp
HSRobot/hiropV3
3f094035229708302aec976cfb252f7bcdb7cd3f
[ "BSD-3-Clause" ]
null
null
null
src/force/framework/force_test.cpp
HSRobot/hiropV3
3f094035229708302aec976cfb252f7bcdb7cd3f
[ "BSD-3-Clause" ]
null
null
null
#include <iostream> //#include <hirop/force/forcePluginAggre.h> using namespace std; int emain(int args, char** argv){ // forcePluginAggre plugin; // plugin.setForcePlugin("hsImpenderrForce","1", "/home/fshs/work/hirop/src/force/config/parmtemplate.yaml"); // std::vector<std::string> forceList; // plugin...
27.366667
112
0.599269
HSRobot
674b82f51d84863a53698d0a632de779dd14587a
1,791
cpp
C++
k4x/timed_task_manager.cpp
Kazade/K4X
49c43458615a307e482000e4d1eb674ac4b82adf
[ "BSD-2-Clause-FreeBSD" ]
2
2018-10-16T18:42:42.000Z
2022-03-03T17:28:32.000Z
k4x/timed_task_manager.cpp
Kazade/K4X
49c43458615a307e482000e4d1eb674ac4b82adf
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
k4x/timed_task_manager.cpp
Kazade/K4X
49c43458615a307e482000e4d1eb674ac4b82adf
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
#include <algorithm> #include <functional> #include "timed_task_manager.h" namespace k4x { static ConnectionID connection_counter = 0; ConnectionID TimedTaskManager::add(std::tr1::function<bool ()> callback, uint32_t milliseconds) { TimedTask new_task; new_task.connection_id = ++connection_counter; new_...
26.731343
126
0.679509
Kazade
674c6a7e978bc8f90e4e22f47f33e960b4dc893a
3,279
cpp
C++
lib/Transforms/Loop/AffineLoopUnrollAndPipeline.cpp
yangkeping/scalehls
ad2bf8b7c6801a83042a3fdbe0fc3e39521c13ab
[ "Apache-2.0" ]
1
2022-03-04T14:29:49.000Z
2022-03-04T14:29:49.000Z
lib/Transforms/Loop/AffineLoopUnrollAndPipeline.cpp
TimJZ/scalehls
ad2bf8b7c6801a83042a3fdbe0fc3e39521c13ab
[ "Apache-2.0" ]
null
null
null
lib/Transforms/Loop/AffineLoopUnrollAndPipeline.cpp
TimJZ/scalehls
ad2bf8b7c6801a83042a3fdbe0fc3e39521c13ab
[ "Apache-2.0" ]
null
null
null
//===----------------------------------------------------------------------===// // // Copyright 2020-2021 The ScaleHLS Authors. // //===----------------------------------------------------------------------===// #include "mlir/Dialect/Affine/Analysis/LoopAnalysis.h" #include "mlir/Dialect/Affine/LoopUtils.h" #include...
31.228571
80
0.653858
yangkeping
674dc8116d8a470cf0dae834acec6864b1a3d5f1
16,668
cc
C++
ash/app_list/model/app_list_model.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2021-11-16T13:10:29.000Z
2021-11-16T13:10:29.000Z
ash/app_list/model/app_list_model.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
ash/app_list/model/app_list_model.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2012 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 "ash/app_list/model/app_list_model.h" #include <string> #include <utility> #include "ash/app_list/model/app_list_folder_item.h" #include "a...
34.797495
80
0.691025
zealoussnow
67538b3be230df90eab6dc178121b3ea773f0e37
10,534
cpp
C++
development/Common/Utility/source/sqlite/SQLite.cpp
eglowacki/zloty
9c864ae0beb1ac64137a096795261768b7fc6710
[ "MIT" ]
null
null
null
development/Common/Utility/source/sqlite/SQLite.cpp
eglowacki/zloty
9c864ae0beb1ac64137a096795261768b7fc6710
[ "MIT" ]
44
2018-06-28T03:01:44.000Z
2022-03-20T19:53:00.000Z
development/Common/Utility/source/sqlite/SQLite.cpp
eglowacki/zloty
9c864ae0beb1ac64137a096795261768b7fc6710
[ "MIT" ]
null
null
null
#include "sqlite/SQLite.h" #include "sqlite/sqlite3.h" #include "App/AppUtilities.h" #include "App/FileUtilities.h" #include "Fmt/format.h" #include "Logger/YLog.h" #include "Streams/Guid.h" namespace { int SqlQueryCallback(void *userData, int argc, char **argv, char **columnNames) { if (userData) ...
34.424837
185
0.652459
eglowacki
6755552a13c79f2dbe55e83976f2454a2a579638
219
cpp
C++
docs/atl-mfc-shared/codesnippet/CPP/cstringt-class_27.cpp
bobbrow/cpp-docs
769b186399141c4ea93400863a7d8463987bf667
[ "CC-BY-4.0", "MIT" ]
965
2017-06-25T23:57:11.000Z
2022-03-31T14:17:32.000Z
docs/atl-mfc-shared/codesnippet/CPP/cstringt-class_27.cpp
bobbrow/cpp-docs
769b186399141c4ea93400863a7d8463987bf667
[ "CC-BY-4.0", "MIT" ]
3,272
2017-06-24T00:26:34.000Z
2022-03-31T22:14:07.000Z
docs/atl-mfc-shared/codesnippet/CPP/cstringt-class_27.cpp
bobbrow/cpp-docs
769b186399141c4ea93400863a7d8463987bf667
[ "CC-BY-4.0", "MIT" ]
951
2017-06-25T12:36:14.000Z
2022-03-26T22:49:06.000Z
// typedef CStringT<TCHAR, StrTraitATL<TCHAR, ChTraitsCRT<TCHAR>>> CAtlString; CAtlString s1(_T("cat")), s2(_T("f")), s3(_T("horse")); ASSERT(s1 != _T("dog")); ASSERT(s2 != _T('t')); ASSERT(s1 != s2);
36.5
81
0.579909
bobbrow
67561eeaccc5d103bc473b244e68bbc0291d3bd2
1,254
cpp
C++
src/roseExtensions/qtWidgets/AstBrowserWidget/AstBrowserWidget.cpp
maurizioabba/rose
7597292cf14da292bdb9a4ef573001b6c5b9b6c0
[ "BSD-3-Clause" ]
488
2015-01-09T08:54:48.000Z
2022-03-30T07:15:46.000Z
src/roseExtensions/qtWidgets/AstBrowserWidget/AstBrowserWidget.cpp
sujankh/rose-matlab
7435d4fa1941826c784ba97296c0ec55fa7d7c7e
[ "BSD-3-Clause" ]
174
2015-01-28T18:41:32.000Z
2022-03-31T16:51:05.000Z
src/roseExtensions/qtWidgets/AstBrowserWidget/AstBrowserWidget.cpp
sujankh/rose-matlab
7435d4fa1941826c784ba97296c0ec55fa7d7c7e
[ "BSD-3-Clause" ]
146
2015-04-27T02:48:34.000Z
2022-03-04T07:32:53.000Z
#include "sage3basic.h" #include "AstBrowserWidget.h" #include "QtAstModel.h" #include "AstFilters.h" #include <QDebug> AstBrowserWidget::AstBrowserWidget(QWidget*par) : RoseTreeView(par) { model=new QtAstModel(NULL); setModel(model); connect(this,SIGNAL(nodeDropped(SgNode *, const Q...
22.8
113
0.660287
maurizioabba
675f0b1a1f57042d2a99d259dec721a6f27bea9c
1,577
cpp
C++
src/main.cpp
mrc-ide/PlasmoSim
0126a8e2f80be86523282c5eeea8127b265bf618
[ "MIT" ]
1
2021-10-01T13:15:33.000Z
2021-10-01T13:15:33.000Z
src/main.cpp
mrc-ide/PlasmoSim
0126a8e2f80be86523282c5eeea8127b265bf618
[ "MIT" ]
null
null
null
src/main.cpp
mrc-ide/PlasmoSim
0126a8e2f80be86523282c5eeea8127b265bf618
[ "MIT" ]
null
null
null
#include "main.h" #include "Parameters.h" #include "Dispatcher.h" #include "probability_v11.h" using namespace std; //------------------------------------------------ // simulate from simple individual-based model Rcpp::List sim_falciparum_cpp(Rcpp::List args, Rcpp::List args_functions, Rcpp::List args_progr...
39.425
102
0.655041
mrc-ide
675ffdb41a930477058ac8772f50e43697f1f2c4
610
cpp
C++
test/rrt_test.cpp
mxgrey/ccrrt
28680511e8f212ad8a771ea3b1af8214027b765c
[ "BSD-3-Clause" ]
3
2019-03-13T09:54:04.000Z
2019-08-04T17:40:08.000Z
test/rrt_test.cpp
mxgrey/ccrrt
28680511e8f212ad8a771ea3b1af8214027b765c
[ "BSD-3-Clause" ]
null
null
null
test/rrt_test.cpp
mxgrey/ccrrt
28680511e8f212ad8a771ea3b1af8214027b765c
[ "BSD-3-Clause" ]
null
null
null
#include "../ccrrt/RRTManager.h" #include "../ccrrt/Drawer.h" using namespace ccrrt; int main(int argc, char* argv[]) { RRTManager rrt; Eigen::VectorXd limits(2); limits << 5, 5; rrt.setDomain(-limits,limits); Eigen::VectorXd p(2); p << -3, 0; rrt.addStartTree(p); p << 3, -1...
17.428571
43
0.555738
mxgrey
67676117e12d8cb226bc4886ca81a51d9f5386c1
1,468
hpp
C++
libs/python/include/python/network/py_tcp_client.hpp
devjsc/ledger-1
2aa68e05b9f9c10a9971fc8ddf4848695511af3c
[ "Apache-2.0" ]
3
2019-07-11T08:49:27.000Z
2021-09-07T16:49:15.000Z
libs/python/include/python/network/py_tcp_client.hpp
devjsc/ledger-1
2aa68e05b9f9c10a9971fc8ddf4848695511af3c
[ "Apache-2.0" ]
null
null
null
libs/python/include/python/network/py_tcp_client.hpp
devjsc/ledger-1
2aa68e05b9f9c10a9971fc8ddf4848695511af3c
[ "Apache-2.0" ]
2
2019-07-13T12:45:22.000Z
2021-03-12T08:48:57.000Z
#pragma once //------------------------------------------------------------------------------ // // Copyright 2018-2019 Fetch.AI Limited // // 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 Licen...
35.804878
80
0.604905
devjsc
676afc7bf136f0770c816ad9f7537d4669d1688c
383
cpp
C++
cpp03/cpp03_set_get_data.cpp
ValentinoVizner/CPP_OpenCV_Playground
809fa501e056cddeb9e0af3cb7f0ba0925f389d0
[ "MIT" ]
null
null
null
cpp03/cpp03_set_get_data.cpp
ValentinoVizner/CPP_OpenCV_Playground
809fa501e056cddeb9e0af3cb7f0ba0925f389d0
[ "MIT" ]
null
null
null
cpp03/cpp03_set_get_data.cpp
ValentinoVizner/CPP_OpenCV_Playground
809fa501e056cddeb9e0af3cb7f0ba0925f389d0
[ "MIT" ]
null
null
null
#include <string> class Student { public: Student(int id, std::string name) : id_{id}, name_{name} {} // This is initializer list int id() const { return id_; } const std::string & name() const // whatever you do after this const all private variables will be // interpreted as const { ...
22.529412
80
0.629243
ValentinoVizner
676d789ff76dba0c7526723b3d58fc42d1a90c2c
8,756
cpp
C++
methods/mexDenseSIFT/Matrix.cpp
jjcharles/personalizedpose
227086992f198c04f30923f21b1e74a807f261f0
[ "CC-BY-4.0" ]
null
null
null
methods/mexDenseSIFT/Matrix.cpp
jjcharles/personalizedpose
227086992f198c04f30923f21b1e74a807f261f0
[ "CC-BY-4.0" ]
null
null
null
methods/mexDenseSIFT/Matrix.cpp
jjcharles/personalizedpose
227086992f198c04f30923f21b1e74a807f261f0
[ "CC-BY-4.0" ]
null
null
null
#include "Matrix.h" #include "memory.h" #include <iostream> using namespace std; bool Matrix::IsDispInfo=false; Matrix::Matrix(void) { nRow=nCol=0; pData=NULL; } Matrix::Matrix(int nrow,int ncol,double* data) { nRow=nrow; nCol=ncol; pData=new double[nRow*nCol]; if(data==NULL) memset(pDat...
20.897375
101
0.578917
jjcharles
67704a83d1179d9c9b142d0448c1cf3198edae79
3,251
hpp
C++
source/modus_core/window/ContextSettings.hpp
Gurman8r/modus
5c97a89f77c1c5733793dddc20c5ce4afe1fd134
[ "MIT" ]
null
null
null
source/modus_core/window/ContextSettings.hpp
Gurman8r/modus
5c97a89f77c1c5733793dddc20c5ce4afe1fd134
[ "MIT" ]
null
null
null
source/modus_core/window/ContextSettings.hpp
Gurman8r/modus
5c97a89f77c1c5733793dddc20c5ce4afe1fd134
[ "MIT" ]
null
null
null
#ifndef _ML_CONTEXT_SETTINGS_HPP_ #define _ML_CONTEXT_SETTINGS_HPP_ #include <modus_core/detail/Debug.hpp> // CONTEXT API namespace ml { // context api enum context_api_ : int32 { context_api_unknown , // unknown context_api_opengl , // opengl context_api_vulkan , // vulkan context_api_directx , // dir...
26.008
70
0.659797
Gurman8r
677a2d50890cdde17dce8eaf6cd7d93cc3c139bd
313
cpp
C++
codeforces/contest2_ppc/i.cpp
guilacerda/playground
109960ffefc611fcda7354d7058d3256971ebfb9
[ "MIT" ]
null
null
null
codeforces/contest2_ppc/i.cpp
guilacerda/playground
109960ffefc611fcda7354d7058d3256971ebfb9
[ "MIT" ]
null
null
null
codeforces/contest2_ppc/i.cpp
guilacerda/playground
109960ffefc611fcda7354d7058d3256971ebfb9
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int main(){ int i, passagers, sum = 0, enter, exit, highest = 0; cin >> passagers; for(i = 0; i < passagers; i++){ cin >> exit >> enter; sum += enter - exit; if(sum > highest) highest = sum; } cout << highest << endl; return 0; }
14.227273
54
0.543131
guilacerda
677a85a7f83c594935cf29dff0bbcbab8cb97771
1,521
cpp
C++
variant_stuff/test/probably_callable.cpp
SuperV1234/Experiments
572c94d1afb367c241645b479019f6cb3883f98f
[ "AFL-3.0" ]
12
2015-10-10T16:27:28.000Z
2019-11-28T17:48:32.000Z
variant_stuff/test/probably_callable.cpp
vittorioromeo/Experiments
572c94d1afb367c241645b479019f6cb3883f98f
[ "AFL-3.0" ]
3
2016-11-20T21:17:19.000Z
2018-05-25T16:52:32.000Z
variant_stuff/test/probably_callable.cpp
vittorioromeo/Experiments
572c94d1afb367c241645b479019f6cb3883f98f
[ "AFL-3.0" ]
2
2016-11-20T21:02:49.000Z
2020-01-09T18:11:29.000Z
#include "../probably_callable.hpp" #include "./test_utils.hpp" void f0(int); void f1(int, int); inline auto l0 = [](int) {}; inline auto l1 = [](int, int) {}; TEST_MAIN() { using namespace vr; static_assert(is_probably_unary_callable<decltype(&f0)>{}); static_assert(!is_probably_binary_callable<decltyp...
31.6875
68
0.69428
SuperV1234
677c04cae633e9411c2f70475228865b36925f76
104
cpp
C++
src/Aurora/Logger/Logger.cpp
sjuhyeon/Aurora
9a6249bcac9beb0ac9792137b522160156e1dd71
[ "MIT" ]
1
2022-02-23T17:42:51.000Z
2022-02-23T17:42:51.000Z
src/Aurora/Logger/Logger.cpp
sjuhyeon/Aurora
9a6249bcac9beb0ac9792137b522160156e1dd71
[ "MIT" ]
null
null
null
src/Aurora/Logger/Logger.cpp
sjuhyeon/Aurora
9a6249bcac9beb0ac9792137b522160156e1dd71
[ "MIT" ]
null
null
null
#include "Logger.hpp" namespace Aurora { std::vector<std::shared_ptr<Logger::Sink>> Logger::m_Sinks; }
17.333333
60
0.730769
sjuhyeon
677c767e7b81159817a8e8fe88d0d995ccd9da9e
151
cpp
C++
src/graph/graph.cpp
mangosroom/cv-graph
6c02cf196b2b05ddc55d6b3285f471d4cd0146ab
[ "Apache-2.0" ]
null
null
null
src/graph/graph.cpp
mangosroom/cv-graph
6c02cf196b2b05ddc55d6b3285f471d4cd0146ab
[ "Apache-2.0" ]
null
null
null
src/graph/graph.cpp
mangosroom/cv-graph
6c02cf196b2b05ddc55d6b3285f471d4cd0146ab
[ "Apache-2.0" ]
null
null
null
/** * @file graph.cpp * @author mango (2321544362@qq.com) * @brief * @version 0.1 * @date 2021-12-08 * * @copyright Copyright (c) 2021 * */
15.1
36
0.576159
mangosroom
677dba2650a90000d0fd125cb56e8a9ff536dfc3
1,887
cpp
C++
testqt4/test/build/moc_dialogimpl.cpp
quchunguang/test
dd1dde14a69d9e8b2c9ed3efbf536df7840f0487
[ "MIT" ]
1
2021-05-06T02:02:59.000Z
2021-05-06T02:02:59.000Z
testqt4/test/build/moc_dialogimpl.cpp
SrikanthParsha14/test
8cee69e09c8557d53d8d30382cec8ea5c1f82f6e
[ "MIT" ]
null
null
null
testqt4/test/build/moc_dialogimpl.cpp
SrikanthParsha14/test
8cee69e09c8557d53d8d30382cec8ea5c1f82f6e
[ "MIT" ]
1
2019-06-17T13:20:39.000Z
2019-06-17T13:20:39.000Z
/**************************************************************************** ** Meta object code from reading C++ file 'dialogimpl.h' ** ** Created: Wed Apr 29 08:30:50 2009 ** by: The Qt Meta Object Compiler version 59 (Qt 4.4.3) ** ** WARNING! All changes made in this file will be lost! ************************...
29.030769
78
0.608903
quchunguang
6784f28ecd14de5c41038861fbd16307438f3fa1
2,925
hpp
C++
lib/atlas/server/async/SecureSession.hpp
aphenriques/atlas
9967f58005015a39ece8f7dfdfa91d45759dd042
[ "MIT" ]
null
null
null
lib/atlas/server/async/SecureSession.hpp
aphenriques/atlas
9967f58005015a39ece8f7dfdfa91d45759dd042
[ "MIT" ]
null
null
null
lib/atlas/server/async/SecureSession.hpp
aphenriques/atlas
9967f58005015a39ece8f7dfdfa91d45759dd042
[ "MIT" ]
null
null
null
// // server/async/SecureSession.hpp // atlas // // MIT License // // Copyright (c) 2021 André Pereira Henriques (aphenriques (at) outlook (dot) 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 // i...
37.987013
113
0.689573
aphenriques
67853a5e455da0af12919054f2014ff743505860
442
cpp
C++
acmicpc/9084.cpp
juseongkr/BOJ
8f10a2bf9a7d695455493fbe7423347a8b648416
[ "Apache-2.0" ]
7
2020-02-03T10:00:19.000Z
2021-11-16T11:03:57.000Z
acmicpc/9084.cpp
juseongkr/Algorithm-training
8f10a2bf9a7d695455493fbe7423347a8b648416
[ "Apache-2.0" ]
1
2021-01-03T06:58:24.000Z
2021-01-03T06:58:24.000Z
acmicpc/9084.cpp
juseongkr/Algorithm-training
8f10a2bf9a7d695455493fbe7423347a8b648416
[ "Apache-2.0" ]
1
2020-01-22T14:34:03.000Z
2020-01-22T14:34:03.000Z
#include <iostream> #include <string.h> using namespace std; int dp[10001], coin[10001]; int main() { int num, n, m; scanf("%d", &num); for (int k=0; k<num; ++k) { scanf("%d", &n); memset(dp, 0, sizeof(dp)); dp[0] = 1; for (int i=1; i<=n; ++i) scanf("%d", &coin[i]); scanf("%d", &m); for (int i...
13.393939
33
0.477376
juseongkr
6785490ffa3d8ed95f0c05c6bfe7a74b3c19f822
8,348
cpp
C++
src/krnl/term.cpp
maximsmol/nos
386b4166b3fd1701b734bfcd50ace1b9e1ea38ee
[ "MIT" ]
1
2019-04-29T05:10:52.000Z
2019-04-29T05:10:52.000Z
src/krnl/term.cpp
maximsmol/nos
386b4166b3fd1701b734bfcd50ace1b9e1ea38ee
[ "MIT" ]
null
null
null
src/krnl/term.cpp
maximsmol/nos
386b4166b3fd1701b734bfcd50ace1b9e1ea38ee
[ "MIT" ]
1
2021-12-06T23:49:27.000Z
2021-12-06T23:49:27.000Z
#include "hpp/term.hpp" #include <stdarg.h> #include "hpp/typ.hpp" namespace term { static int posX; static int posY; static volatile char* vmem_woffset; void clear() { vmem_woffset = vmem_base; for (int x = 0; x < width; ++x) for (int y = 0; y < height; ++y) { *vmem_woffset++ = ' '; ...
27.016181
113
0.498563
maximsmol
678f2dcfdcc062ed0f0d9152bab8dc86e52edaa4
4,107
hpp
C++
yumi_control/controllers/include/controllers/joint_trajectory_controller.hpp
SebastianGrans/yumi
14fa92585105d29fbff9c633f93919513a526c79
[ "Apache-2.0" ]
4
2020-04-04T14:18:12.000Z
2020-08-05T11:24:03.000Z
yumi_control/controllers/include/controllers/joint_trajectory_controller.hpp
SebastianGrans/yumi
14fa92585105d29fbff9c633f93919513a526c79
[ "Apache-2.0" ]
1
2021-10-10T19:35:36.000Z
2022-01-01T23:26:55.000Z
yumi_control/controllers/include/controllers/joint_trajectory_controller.hpp
SebastianGrans/yumi
14fa92585105d29fbff9c633f93919513a526c79
[ "Apache-2.0" ]
2
2020-08-27T11:02:12.000Z
2021-08-08T16:53:57.000Z
// Copyright 2020 Markus Bjønnes and Marius Nilsen. // // 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 applicabl...
39.114286
118
0.807645
SebastianGrans
678fc6ca24a705fa9c66b7e1b3966b4b0584e0ed
1,168
cpp
C++
lib/main.cpp
NathanHoekstra/NRF24L01
ba7e0ed5afec3cfd0dfd0baf49ac552c1efc3b9f
[ "BSL-1.0" ]
null
null
null
lib/main.cpp
NathanHoekstra/NRF24L01
ba7e0ed5afec3cfd0dfd0baf49ac552c1efc3b9f
[ "BSL-1.0" ]
null
null
null
lib/main.cpp
NathanHoekstra/NRF24L01
ba7e0ed5afec3cfd0dfd0baf49ac552c1efc3b9f
[ "BSL-1.0" ]
null
null
null
#include "hwlib.hpp" #include "rf24.hpp" #include "nrf24l01.hpp" #include "rf_test.hpp" int main( void ){ // kill the watchdog WDT->WDT_MR = WDT_MR_WDDIS; namespace target = hwlib::target; // NRF24L01+ Chip 1 definition auto MISO = target::pin_in(target::pins::miso); auto MOSI = target::pin_out(t...
29.2
82
0.702911
NathanHoekstra
67900f269c094414e4519d436d27f87188db08d7
11,065
cc
C++
sdl_core/src/components/media_manager/src/socket_streamer_adapter.cc
APCVSRepo/android_packet
5d4237234656b777cd9b0cae4731afea51986582
[ "BSD-3-Clause" ]
4
2016-09-21T12:36:24.000Z
2020-10-29T01:45:03.000Z
sdl_core/src/components/media_manager/src/socket_streamer_adapter.cc
APCVSRepo/android_packet
5d4237234656b777cd9b0cae4731afea51986582
[ "BSD-3-Clause" ]
7
2016-06-01T01:21:44.000Z
2017-11-03T08:18:23.000Z
sdl_core/src/components/media_manager/src/socket_streamer_adapter.cc
APCVSRepo/android_packet
5d4237234656b777cd9b0cae4731afea51986582
[ "BSD-3-Clause" ]
8
2017-08-29T10:51:50.000Z
2021-03-24T10:19:11.000Z
/** * Copyright (c) 2013, Ford Motor Company * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyright notice, this * list ...
28.815104
109
0.655219
APCVSRepo
679225042c54be15b5bc349683ab032fd15461b2
13,597
cpp
C++
src/drivers/arEventUtilities.cpp
IllinoisSimulatorLab/szg
b9f9a2380107450c2f181ac6372427a0112b5ffe
[ "BSD-3-Clause" ]
2
2017-01-07T23:43:03.000Z
2017-09-29T14:31:09.000Z
src/drivers/arEventUtilities.cpp
IllinoisSimulatorLab/szg
b9f9a2380107450c2f181ac6372427a0112b5ffe
[ "BSD-3-Clause" ]
null
null
null
src/drivers/arEventUtilities.cpp
IllinoisSimulatorLab/szg
b9f9a2380107450c2f181ac6372427a0112b5ffe
[ "BSD-3-Clause" ]
null
null
null
//******************************************************** // Syzygy is licensed under the BSD license v2 // see the file SZG_CREDITS for details //******************************************************** #include "arPrecompiled.h" #include "arEventUtilities.h" static inline int maxint(const int a, const int ...
36.162234
116
0.639921
IllinoisSimulatorLab
096175132cc77778e576ee0e88c6de9dd5b5a14d
7,542
cpp
C++
src/dslang-scheme-context.cpp
ryanvbissell/dslang
65379ca7bbefff0161d11343b742ac58452d37e7
[ "BSD-2-Clause" ]
null
null
null
src/dslang-scheme-context.cpp
ryanvbissell/dslang
65379ca7bbefff0161d11343b742ac58452d37e7
[ "BSD-2-Clause" ]
null
null
null
src/dslang-scheme-context.cpp
ryanvbissell/dslang
65379ca7bbefff0161d11343b742ac58452d37e7
[ "BSD-2-Clause" ]
null
null
null
// vim: set tabstop=2 softtabstop=2 shiftwidth=2 expandtab : /* * Copyright (c) 2014-2017, Ryan V. Bissell * All rights reserved. * * SPDX-License-Identifier: BSD-2-Clause * See the enclosed "LICENSE" file for exact license terms. */ #define CX_TRACE_SECTION "dslang" #include "dslang-scheme-context.hpp" #inclu...
23.206154
90
0.591355
ryanvbissell
096260af45aaf431d272c0ac6666bb0436d78428
11,385
hpp
C++
Sources/ECS/Components/Math/Transform.hpp
n8vm/InteractiveComputerGraphics
022d1b7b5ca81846bf5f310b30fde9beda54ff22
[ "MIT" ]
null
null
null
Sources/ECS/Components/Math/Transform.hpp
n8vm/InteractiveComputerGraphics
022d1b7b5ca81846bf5f310b30fde9beda54ff22
[ "MIT" ]
null
null
null
Sources/ECS/Components/Math/Transform.hpp
n8vm/InteractiveComputerGraphics
022d1b7b5ca81846bf5f310b30fde9beda54ff22
[ "MIT" ]
1
2019-01-29T10:44:58.000Z
2019-01-29T10:44:58.000Z
#pragma once #ifndef GLM_ENABLE_EXPERIMENTAL #define GLM_ENABLE_EXPERIMENTAL #endif #ifndef GLM_FORCE_DEPTH_ZERO_TO_ONE #define GLM_FORCE_DEPTH_ZERO_TO_ONE #endif #include <glm/glm.hpp> #include <glm/gtc/quaternion.hpp> #include <glm/common.hpp> #include <atomic> #include <glm/gtc/matrix_access.hpp> #include <glm/g...
31.713092
180
0.71401
n8vm
09636513f6e465d3766e61cf2f74fab1a6205df1
535
cpp
C++
AtCoder/abc124/c/main.cpp
H-Tatsuhiro/Com_Pro-Cpp
fd79f7821a76b11f4a6f83bbb26a034db577a877
[ "MIT" ]
null
null
null
AtCoder/abc124/c/main.cpp
H-Tatsuhiro/Com_Pro-Cpp
fd79f7821a76b11f4a6f83bbb26a034db577a877
[ "MIT" ]
1
2021-10-19T08:47:23.000Z
2022-03-07T05:23:56.000Z
AtCoder/abc124/c/main.cpp
H-Tatsuhiro/Com_Pro-Cpp
fd79f7821a76b11f4a6f83bbb26a034db577a877
[ "MIT" ]
null
null
null
#include <iostream> #include <cmath> #include <algorithm> #include <vector> using namespace std; int main() { string S; cin >> S; int N = S.length(); string a = "", b = ""; for (int i = 0; i < N; i++) { if (i % 2 == 0) a += '1'; else a += '0'; } for (int i = 0; i < N; i++) { ...
22.291667
33
0.379439
H-Tatsuhiro
096c70805639663c1213492faaa136d00331aa8b
681
cpp
C++
Expriments/LearningOpenCV3/Example2_3/main.cpp
weixi2008/lab
d42143ddbd0b9ce8ec17716ea6745e59b278f29e
[ "MIT" ]
null
null
null
Expriments/LearningOpenCV3/Example2_3/main.cpp
weixi2008/lab
d42143ddbd0b9ce8ec17716ea6745e59b278f29e
[ "MIT" ]
null
null
null
Expriments/LearningOpenCV3/Example2_3/main.cpp
weixi2008/lab
d42143ddbd0b9ce8ec17716ea6745e59b278f29e
[ "MIT" ]
null
null
null
#include <opencv2/highgui/highgui.hpp> #include <opencv2/imgproc/imgproc.hpp> #include <iostream> using namespace cv; using namespace std; const char EXAMPLE_WINDOW[] = "Example2_3"; int main(int argc, char** argv) { namedWindow(EXAMPLE_WINDOW, cv::WINDOW_AUTOSIZE); VideoCapture cap; cap.open("C:\\...
23.482759
74
0.676946
weixi2008
096df220a1f6bd9c11bff0464549a75065dfd75d
3,321
cpp
C++
vktrace/vktrace_common/compression/compressor.cpp
luopan007/vktrace-arm
0b44f2ad599bff3707ca748179275085b8241a03
[ "Apache-2.0" ]
8
2019-07-17T13:57:15.000Z
2022-01-21T03:49:27.000Z
vktrace/vktrace_common/compression/compressor.cpp
QPC-database/vktrace-arm
50300888e0254eaf2c3f35cc31fa9893d1628730
[ "Apache-2.0" ]
2
2022-01-22T06:49:59.000Z
2022-01-22T06:56:35.000Z
vktrace/vktrace_common/compression/compressor.cpp
luopan007/vktrace-arm
0b44f2ad599bff3707ca748179275085b8241a03
[ "Apache-2.0" ]
10
2019-10-31T12:02:43.000Z
2021-08-06T04:57:23.000Z
/* * (C) COPYRIGHT 2020 ARM Limited * ALL RIGHTS RESERVED * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
45.493151
207
0.752484
luopan007
09724199617cefe173bb672383c3c0bdc49bac7d
1,563
cpp
C++
Ejercicios LP1/Proyecto/menu.cpp
IrisVH/cpp
2abeca0df70cfdc6e95e8b07160062b66e4b2799
[ "MIT" ]
null
null
null
Ejercicios LP1/Proyecto/menu.cpp
IrisVH/cpp
2abeca0df70cfdc6e95e8b07160062b66e4b2799
[ "MIT" ]
null
null
null
Ejercicios LP1/Proyecto/menu.cpp
IrisVH/cpp
2abeca0df70cfdc6e95e8b07160062b66e4b2799
[ "MIT" ]
null
null
null
#include <iostream> #include "clientes.h" using namespace std; void menu(){ bool salir=false; while(salir==false){ int opcion=0; cout<<"MENU PRINCIPAL"<<endl; cout<<"***********************"<<endl; cout<<"1-Clientes"<<endl; cout<<"2-libro diario"<<endl; cout<<"3-libro...
15.63
45
0.333333
IrisVH
0973147d02225f20ac6728b22a146bf3dcb0203e
1,104
cpp
C++
PATA1039.cpp
Geeks-Z/PAT-Advanced-Level-Practice
6b25d07ae602310215e46c951638b93080b382bf
[ "MIT" ]
null
null
null
PATA1039.cpp
Geeks-Z/PAT-Advanced-Level-Practice
6b25d07ae602310215e46c951638b93080b382bf
[ "MIT" ]
null
null
null
PATA1039.cpp
Geeks-Z/PAT-Advanced-Level-Practice
6b25d07ae602310215e46c951638b93080b382bf
[ "MIT" ]
null
null
null
/* * @Descripttion: https://www.liuchuo.net/archives/2145 * @version: 1.0 * @Author: Geeks_Z * @Date: 2021-05-31 10:50:24 * @LastEditors: Geeks_Z * @LastEditTime: 2021-05-31 10:50:56 */ //string、cin、cout会超时,可以使用hash(26*26*26*10+10) //将学生姓名变为int型,然后存储在vector里面 #include <cstdio> #include <vector> #include <algorit...
21.230769
55
0.511775
Geeks-Z
09739731a0e897786307acc69a6738ae05a54c4b
2,162
cpp
C++
main.cpp
Ivan-Sandro/Fire_Doom_Algorithm
f33af2826f8d16cd8b8cc6086f8ba8b3ba21733f
[ "MIT" ]
null
null
null
main.cpp
Ivan-Sandro/Fire_Doom_Algorithm
f33af2826f8d16cd8b8cc6086f8ba8b3ba21733f
[ "MIT" ]
null
null
null
main.cpp
Ivan-Sandro/Fire_Doom_Algorithm
f33af2826f8d16cd8b8cc6086f8ba8b3ba21733f
[ "MIT" ]
null
null
null
#include <ctime> #include <iostream> #include <string> #include "Sistema_Allegro5.0.h" #include "Fogo.h" #include "Painel.h" using namespace std; constexpr short int Largura_Tela = 1080 ; constexpr short int Altura_Tela = 720 ; int main() { srand(time(NULL)); bool EXIT_PROGRAM = fa...
24.568182
84
0.592044
Ivan-Sandro
0973bb8c3d5a2b04aec2c1b573ec412a9a030b74
742
hpp
C++
H3D/Graphics/Drawable.hpp
heinhel/H3D-Engine
5e638683486f9b083aaaf1a433d5eed361adfa79
[ "MIT" ]
null
null
null
H3D/Graphics/Drawable.hpp
heinhel/H3D-Engine
5e638683486f9b083aaaf1a433d5eed361adfa79
[ "MIT" ]
null
null
null
H3D/Graphics/Drawable.hpp
heinhel/H3D-Engine
5e638683486f9b083aaaf1a433d5eed361adfa79
[ "MIT" ]
null
null
null
#pragma once #if defined DLL_EXPORT #define H3D_API __declspec(dllexport) #else #define H3D_API __declspec(dllimport) #endif #include "../../H3D/MemoryMng/pool_alloc.hpp" #include "../../H3D/Math/Vector.hpp" #include "Texture.hpp" #include "../../H3D/Model/3DModel.hpp" #include "../../H3D/System/Window.hpp" /////////...
19.526316
65
0.551213
heinhel
0974c627e603a100666c7fcefed84a6affcf7790
3,805
cpp
C++
SpatialGDK/Source/SpatialGDKFunctionalTests/SpatialGDK/SpatialTestPossession/NoneCrossServerPossessionTest.cpp
cyberbibby/UnrealGDK
9502a1ba11d21b3cb64978ba7ea178c63371cdd0
[ "MIT" ]
null
null
null
SpatialGDK/Source/SpatialGDKFunctionalTests/SpatialGDK/SpatialTestPossession/NoneCrossServerPossessionTest.cpp
cyberbibby/UnrealGDK
9502a1ba11d21b3cb64978ba7ea178c63371cdd0
[ "MIT" ]
null
null
null
SpatialGDK/Source/SpatialGDKFunctionalTests/SpatialGDK/SpatialTestPossession/NoneCrossServerPossessionTest.cpp
cyberbibby/UnrealGDK
9502a1ba11d21b3cb64978ba7ea178c63371cdd0
[ "MIT" ]
null
null
null
// Copyright (c) Improbable Worlds Ltd, All Rights Reserved #include "NoneCrossServerPossessionTest.h" #include "Containers/Array.h" #include "CrossServerPossessionGameMode.h" #include "EngineClasses/SpatialNetDriver.h" #include "GameFramework/PlayerController.h" #include "SpatialFunctionalTestFlowController.h" #incl...
39.635417
123
0.762681
cyberbibby
09750d7f7f7ba76aa8202596c3aa63a96a4f181e
13,891
tpp
C++
core/src/field_variable/unstructured/component.tpp
maierbn/opendihu
577650e2f6b36a7306766b0f4176f8124458cbf0
[ "MIT" ]
17
2018-11-25T19:29:34.000Z
2021-09-20T04:46:22.000Z
core/src/field_variable/unstructured/component.tpp
maierbn/opendihu
577650e2f6b36a7306766b0f4176f8124458cbf0
[ "MIT" ]
1
2020-11-12T15:15:58.000Z
2020-12-29T15:29:24.000Z
core/src/field_variable/unstructured/component.tpp
maierbn/opendihu
577650e2f6b36a7306766b0f4176f8124458cbf0
[ "MIT" ]
4
2018-10-17T12:18:10.000Z
2021-05-28T13:24:20.000Z
#include "field_variable/unstructured/component.h" #include <petscvec.h> #include "utility/string_utility.h" namespace FieldVariable { using namespace StringUtility; template<typename FunctionSpaceType,int nComponents> void Component<FunctionSpaceType,nComponents>:: initialize(std::shared_ptr<PartitionedPetscVec<Fu...
35.617949
169
0.738104
maierbn
0979a6c4fde8b3f3573e11d63d6ab1a4608c183e
2,170
cpp
C++
provant_simulator_utils/provant_simulator_sdf_parser/src/sdf_status.cpp
Guiraffo/ProVANT_Simulator
ef2260204b13f39a9f83ad2ab88a9552a0699bff
[ "MIT" ]
null
null
null
provant_simulator_utils/provant_simulator_sdf_parser/src/sdf_status.cpp
Guiraffo/ProVANT_Simulator
ef2260204b13f39a9f83ad2ab88a9552a0699bff
[ "MIT" ]
null
null
null
provant_simulator_utils/provant_simulator_sdf_parser/src/sdf_status.cpp
Guiraffo/ProVANT_Simulator
ef2260204b13f39a9f83ad2ab88a9552a0699bff
[ "MIT" ]
null
null
null
/* * This file is part of the ProVANT simulator project. * Licensed under the terms of the MIT open source license. More details at * https://github.com/Guiraffo/ProVANT-Simulator/blob/master/LICENSE.md */ /** * @file sdf_status.cpp * @brief This file contains the implementation of the SDFStatus classes. * * @a...
25.833333
108
0.680645
Guiraffo
098367871119dd1867604845a2008ad262bb999a
72,386
cpp
C++
src/masterx-evolution.cpp
redux-project/redux
55101ab1f6776ff50014bebb36f5d78e2ffa1edb
[ "MIT" ]
null
null
null
src/masterx-evolution.cpp
redux-project/redux
55101ab1f6776ff50014bebb36f5d78e2ffa1edb
[ "MIT" ]
null
null
null
src/masterx-evolution.cpp
redux-project/redux
55101ab1f6776ff50014bebb36f5d78e2ffa1edb
[ "MIT" ]
null
null
null
// Copyright (c) 2015-2016 The Redux developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "main.h" #include "init.h" #include "masterx-evolution.h" #include "masterx.h" #include "stealthx.h" #include "masterx...
35.379277
207
0.660722
redux-project
09885103cfdc6946b74cb6407bebb8425f3fd270
5,891
cpp
C++
src/cpp3ds/Window/GlContext.cpp
cpp3ds/cpp3ds
7813714776e2134bd75b9f3869ed142c1d4eeaaf
[ "MIT" ]
98
2015-08-26T16:49:29.000Z
2022-03-03T10:15:43.000Z
src/cpp3ds/Window/GlContext.cpp
Naxann/cpp3ds
1932e798306ec6d910c6a5b9e85e9d8f02fb815f
[ "MIT" ]
10
2016-02-26T21:30:51.000Z
2020-07-12T20:48:09.000Z
src/cpp3ds/Window/GlContext.cpp
Naxann/cpp3ds
1932e798306ec6d910c6a5b9e85e9d8f02fb815f
[ "MIT" ]
15
2015-10-16T06:22:37.000Z
2020-10-01T08:52:48.000Z
//////////////////////////////////////////////////////////// // // SFML - Simple and Fast Multimedia Library // Copyright (C) 2007-2015 Laurent Gomila (laurent@sfml-dev.org) // // This software is provided 'as-is', without any express or implied warranty. // In no event will the authors be held liable for any damages a...
26.899543
172
0.531489
cpp3ds
098b203ed47ea2f83904ec142e8243af2693b5c2
425
hpp
C++
src/uml/src_gen/uml/TransitionKind.hpp
dataliz9r/MDE4CPP
9c5ce01c800fb754c371f1a67f648366eeabae49
[ "MIT" ]
12
2017-02-17T10:33:51.000Z
2022-03-01T02:48:10.000Z
src/uml/src_gen/uml/TransitionKind.hpp
dataliz9r/MDE4CPP
9c5ce01c800fb754c371f1a67f648366eeabae49
[ "MIT" ]
28
2017-10-17T20:23:52.000Z
2021-03-04T16:07:13.000Z
src/uml/src_gen/uml/TransitionKind.hpp
vallesch/MDE4CPP
7f8a01dd6642820913b2214d255bef2ea76be309
[ "MIT" ]
22
2017-03-24T19:03:58.000Z
2022-03-31T12:10:07.000Z
//******************************************************************** //* //* Warning: This file was generated by ecore4CPP Generator //* //******************************************************************** #ifndef UML_TRANSITIONKIND_HPP #define UML_TRANSITIONKIND_HPP namespace uml { enum TransitionKind { ...
20.238095
70
0.463529
dataliz9r
098d0d075e24859e52042f141f9e2d6da5bcc857
2,342
cpp
C++
src/core/commandstep.cpp
setvisible/cnc-manual-controller
83252f42cb0e0f6560de50bb55578059281b2358
[ "MIT" ]
null
null
null
src/core/commandstep.cpp
setvisible/cnc-manual-controller
83252f42cb0e0f6560de50bb55578059281b2358
[ "MIT" ]
null
null
null
src/core/commandstep.cpp
setvisible/cnc-manual-controller
83252f42cb0e0f6560de50bb55578059281b2358
[ "MIT" ]
null
null
null
/* - CNC Manual Controller - Copyright (C) 2018 Sebastien Vavassori * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) an...
36.030769
100
0.6345
setvisible