hexsha
stringlengths
40
40
size
int64
7
1.05M
ext
stringclasses
13 values
lang
stringclasses
1 value
max_stars_repo_path
stringlengths
4
269
max_stars_repo_name
stringlengths
5
109
max_stars_repo_head_hexsha
stringlengths
40
40
max_stars_repo_licenses
listlengths
1
9
max_stars_count
int64
1
191k
max_stars_repo_stars_event_min_datetime
stringlengths
24
24
max_stars_repo_stars_event_max_datetime
stringlengths
24
24
max_issues_repo_path
stringlengths
4
269
max_issues_repo_name
stringlengths
5
116
max_issues_repo_head_hexsha
stringlengths
40
40
max_issues_repo_licenses
listlengths
1
9
max_issues_count
int64
1
48.5k
max_issues_repo_issues_event_min_datetime
stringlengths
24
24
max_issues_repo_issues_event_max_datetime
stringlengths
24
24
max_forks_repo_path
stringlengths
4
269
max_forks_repo_name
stringlengths
5
116
max_forks_repo_head_hexsha
stringlengths
40
40
max_forks_repo_licenses
listlengths
1
9
max_forks_count
int64
1
105k
max_forks_repo_forks_event_min_datetime
stringlengths
24
24
max_forks_repo_forks_event_max_datetime
stringlengths
24
24
content
stringlengths
7
1.05M
avg_line_length
float64
1.21
330k
max_line_length
int64
6
990k
alphanum_fraction
float64
0.01
0.99
author_id
stringlengths
2
40
c5b039ee0234f54312d283c1d27949f21872e054
3,607
cpp
C++
src/core_math.cpp
thechrisyoon08/NeuralNetworks
b47eb6425341c0d0e8278431aaf8b64143ce921f
[ "MIT" ]
1
2018-12-30T05:11:59.000Z
2018-12-30T05:11:59.000Z
src/core_math.cpp
thechrisyoon08/sANNity
b47eb6425341c0d0e8278431aaf8b64143ce921f
[ "MIT" ]
null
null
null
src/core_math.cpp
thechrisyoon08/sANNity
b47eb6425341c0d0e8278431aaf8b64143ce921f
[ "MIT" ]
null
null
null
#include "../include/core_math.h" #include <cstdlib> #include <iostream> #include <vector> #include <random> #include <math.h> #include <assert.h> namespace tensor{ void Tensor::fill_weights(const std::string initializer){ this->tensor.resize(this->m * this->n); if(initializer== "zero"){ for(size_t e...
26.137681
101
0.535071
thechrisyoon08
c5b3694027671c2a0d6653bc51150967a242c5f9
1,034
cpp
C++
src/arguments/src/ArgumentsException.cpp
xgallom/eset_file_system
3816a8e3ae3c36d5771b900251345d08c76f8a0e
[ "MIT" ]
null
null
null
src/arguments/src/ArgumentsException.cpp
xgallom/eset_file_system
3816a8e3ae3c36d5771b900251345d08c76f8a0e
[ "MIT" ]
null
null
null
src/arguments/src/ArgumentsException.cpp
xgallom/eset_file_system
3816a8e3ae3c36d5771b900251345d08c76f8a0e
[ "MIT" ]
null
null
null
// // Created by xgallom on 4/4/19. // #include "ArgumentsException.h" #include "ArgumentsConfig.h" #include <sstream> namespace Arguments { Exception::Exception(const std::string &a_what) : std::runtime_error(a_what) {} Exception Exception::InvalidArgCount(int argCount) { std::stringstream stream; // c...
22.478261
109
0.659574
xgallom
c5b8b2e00fb51bbfd63c63fbf4c6369b0eda6d02
764
cpp
C++
editor/ui/windows/sceneview/light.cpp
chokomancarr/chokoengine2
2825f2b95d24689f4731b096c8be39cc9a0f759a
[ "Apache-2.0" ]
null
null
null
editor/ui/windows/sceneview/light.cpp
chokomancarr/chokoengine2
2825f2b95d24689f4731b096c8be39cc9a0f759a
[ "Apache-2.0" ]
null
null
null
editor/ui/windows/sceneview/light.cpp
chokomancarr/chokoengine2
2825f2b95d24689f4731b096c8be39cc9a0f759a
[ "Apache-2.0" ]
null
null
null
#include "chokoeditor.hpp" CE_BEGIN_ED_NAMESPACE void EW_S_Light::Init() { EW_S_DrawCompList::funcs[(int)ComponentType::Light] = &Draw; EW_S_DrawCompList::activeFuncs[(int)ComponentType::Light] = &DrawActive; } void EW_S_Light::Draw(const Component& c, const Mat4x4& p) { } void EW_S_Light::DrawActive(const Compo...
21.222222
82
0.676702
chokomancarr
c5bb650b6b79f65a7f578b14a57e6aa4af27d794
2,350
cpp
C++
CppMisc/SrcOld/002-fibonacci.cpp
Ginkgo-Biloba/Cpp-Repo1-VS
231c68a055e6bf69a3f7c224e7c0182b67ce5b67
[ "Apache-2.0" ]
null
null
null
CppMisc/SrcOld/002-fibonacci.cpp
Ginkgo-Biloba/Cpp-Repo1-VS
231c68a055e6bf69a3f7c224e7c0182b67ce5b67
[ "Apache-2.0" ]
null
null
null
CppMisc/SrcOld/002-fibonacci.cpp
Ginkgo-Biloba/Cpp-Repo1-VS
231c68a055e6bf69a3f7c224e7c0182b67ce5b67
[ "Apache-2.0" ]
null
null
null
#include <ctime> #include <cstdio> typedef unsigned long long ullong; void timeit(ullong(*func)(ullong), char const* info) { clock_t start = clock(); ullong r, s = 0ull; // n 纯粹为了计时故意调大,反正溢出了结果也肯定一样 ullong n = 0xffffull; unsigned it = 0xffffu; // += 是防止直接赋值循环被优化掉;后面的输出是为了防止优化掉 s for (unsigned u = 0u; u < it; ...
22.169811
78
0.488511
Ginkgo-Biloba
c5bf3d264367627720709b6232fc1980890a8aa5
1,045
cpp
C++
Data Structures/TRIE.cpp
FreeJ99/Algorithms
d8364e1107e702aec0b4055b0d52130e64ddc386
[ "MIT" ]
null
null
null
Data Structures/TRIE.cpp
FreeJ99/Algorithms
d8364e1107e702aec0b4055b0d52130e64ddc386
[ "MIT" ]
null
null
null
Data Structures/TRIE.cpp
FreeJ99/Algorithms
d8364e1107e702aec0b4055b0d52130e64ddc386
[ "MIT" ]
null
null
null
#include<iostream> #include<string> #include<unordered_map> using namespace std; struct Node{ bool leaf; unordered_map<char, Node*> chd; Node(): leaf(false){} }; void insert(Node* root, string s, int idx){ if(idx == s.size()){ root->leaf = true; } else{ if(root->chd[s[idx]] ==...
22.234043
45
0.522488
FreeJ99
c5c035dee395ffffc3b65c7d297f7df0d532c2fd
12,042
hpp
C++
src/mechanics_model.hpp
StopkaKris/ExaConstit
fecf8b5d0d97946e29244360c3bc538c3efb433a
[ "BSD-3-Clause" ]
16
2019-10-11T17:03:20.000Z
2021-11-17T14:09:47.000Z
src/mechanics_model.hpp
Leonidas-Z/ExaConstit
0ab293cb6543b97eabde99e3ab43c1e921258ae4
[ "BSD-3-Clause" ]
41
2020-01-29T04:40:16.000Z
2022-03-11T16:59:31.000Z
src/mechanics_model.hpp
Leonidas-Z/ExaConstit
0ab293cb6543b97eabde99e3ab43c1e921258ae4
[ "BSD-3-Clause" ]
7
2019-10-12T02:00:58.000Z
2022-03-10T04:09:35.000Z
#ifndef MECHANICS_MODEL #define MECHANICS_MODEL #include "mfem.hpp" #include <utility> #include <unordered_map> #include <string> /// free function to compute the beginning step deformation gradient to store /// on a quadrature function void computeDefGrad(mfem::QuadratureFunction *qf, mfem::ParFiniteElementSpace *f...
46.674419
122
0.66102
StopkaKris
c5c31a6215118d04f3e7655eadd9e8229e66be39
2,424
cpp
C++
Practice/2018/2018.11.2/Luogu3962.cpp
SYCstudio/OI
6e9bfc17dbd4b43467af9b19aa2aed41e28972fa
[ "MIT" ]
4
2017-10-31T14:25:18.000Z
2018-06-10T16:10:17.000Z
Practice/2018/2018.11.2/Luogu3962.cpp
SYCstudio/OI
6e9bfc17dbd4b43467af9b19aa2aed41e28972fa
[ "MIT" ]
null
null
null
Practice/2018/2018.11.2/Luogu3962.cpp
SYCstudio/OI
6e9bfc17dbd4b43467af9b19aa2aed41e28972fa
[ "MIT" ]
null
null
null
#include<iostream> #include<cstdio> #include<cstdlib> #include<cstring> #include<algorithm> using namespace std; #define ll long long #define mem(Arr,x) memset(Arr,x,sizeof(Arr)) #define lson (now<<1) #define rson (lson|1) const int maxN=101000; const int SS=(1<<10)-1; const int inf=2147483647; class SegmentData { p...
24.989691
179
0.560644
SYCstudio
c5c5ed2eebcc56d6b9c04051215eb73a824b79ae
762
cpp
C++
dumb_kernel.cpp
rioyokotalab/scala20-artifact
2a438f1fec4f9963d44181578f87c703a5bd4016
[ "BSD-3-Clause" ]
1
2021-06-10T01:11:55.000Z
2021-06-10T01:11:55.000Z
dumb_kernel.cpp
rioyokotalab/scala20-artifact
2a438f1fec4f9963d44181578f87c703a5bd4016
[ "BSD-3-Clause" ]
null
null
null
dumb_kernel.cpp
rioyokotalab/scala20-artifact
2a438f1fec4f9963d44181578f87c703a5bd4016
[ "BSD-3-Clause" ]
null
null
null
#include "utils.hpp" void dumb_kernel(double *GXYb, int mc, int nc, int xc, int yc, int mb, int nb, double * packA_V, double * packB_S, double *packB_U, double *packA_S) { double cmn, exn; for (int mi = 0; mi < B_SIZE; ++mi) { for (int ni = 0; ni < B_SIZE; ++ni) { for (int ki = 0; ki < ...
34.636364
96
0.472441
rioyokotalab
c5c7b40f5fc1e12a15e2b359e6552cfa5cae6088
10,416
cpp
C++
xlib/Drawing.cpp
X547/xlibe
fbab795ad8a86503174ecfcb8603ec868537d069
[ "MIT" ]
1
2022-01-02T16:10:26.000Z
2022-01-02T16:10:26.000Z
xlib/Drawing.cpp
X547/xlibe
fbab795ad8a86503174ecfcb8603ec868537d069
[ "MIT" ]
null
null
null
xlib/Drawing.cpp
X547/xlibe
fbab795ad8a86503174ecfcb8603ec868537d069
[ "MIT" ]
null
null
null
/* * Copyright 2003, Shibukawa Yoshiki. All rights reserved. * Copyright 2003, kazuyakt. All rights reserved. * Copyright 2021, Haiku, Inc. All rights reserved. * Distributed under the terms of the MIT license. */ #include "Drawing.h" #include <interface/Bitmap.h> #include <interface/Polygon.h> #include "Drawabl...
24.223256
106
0.66225
X547
c5c83e5489bc07df68ab6b618831b6c3ad512abc
188
cpp
C++
src/backends/windows/has_last_error.cpp
freundlich/libawl
0d51f388a6b662373058cb51a24ef25ed826fa0f
[ "BSL-1.0" ]
null
null
null
src/backends/windows/has_last_error.cpp
freundlich/libawl
0d51f388a6b662373058cb51a24ef25ed826fa0f
[ "BSL-1.0" ]
null
null
null
src/backends/windows/has_last_error.cpp
freundlich/libawl
0d51f388a6b662373058cb51a24ef25ed826fa0f
[ "BSL-1.0" ]
null
null
null
#include <awl/backends/windows/has_last_error.hpp> #include <awl/backends/windows/windows.hpp> bool awl::backends::windows::has_last_error() { return ::GetLastError() != ERROR_SUCCESS; }
37.6
91
0.765957
freundlich
c5ca729a61faf3428f30752fc18548673c8ddfdd
18,824
cc
C++
src/buffers.cc
klantz81/feature-detection
1ed289711128a30648e198b085534fe9a9610984
[ "MIT" ]
null
null
null
src/buffers.cc
klantz81/feature-detection
1ed289711128a30648e198b085534fe9a9610984
[ "MIT" ]
null
null
null
src/buffers.cc
klantz81/feature-detection
1ed289711128a30648e198b085534fe9a9610984
[ "MIT" ]
null
null
null
#include "buffers.h" // cFloatBuffer ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// cFloatBuffer::cFloatBuffer() : width(0), height(0), buffer(0) { } cFloatBuffer::cFloatBuffer(int width, int height) ...
41.462555
259
0.562208
klantz81
c5cadfbc305bb5d1e535e8f8fcaa60d267412bdb
2,763
cpp
C++
overhead-detect/src/modules/view/ImageGridWindow.cpp
cn0512/PokeDetective
b2785350010a00391c1349046a78f7e27c3af564
[ "Apache-2.0" ]
null
null
null
overhead-detect/src/modules/view/ImageGridWindow.cpp
cn0512/PokeDetective
b2785350010a00391c1349046a78f7e27c3af564
[ "Apache-2.0" ]
null
null
null
overhead-detect/src/modules/view/ImageGridWindow.cpp
cn0512/PokeDetective
b2785350010a00391c1349046a78f7e27c3af564
[ "Apache-2.0" ]
null
null
null
#ifndef IMAGE_GRID_WINDOW_CPP #define IMAGE_GRID_WINDOW_CPP #include <assert.h> #include <string> #include <opencv2/opencv.hpp> #include "ImageGridCell.cpp" using namespace cv; class ImageGridWindow { private: String title; Size size; bool isVisible; int rows; int cols; vector<ImageGridCel...
26.314286
203
0.564604
cn0512
c5daa273dd4ab20759832968146f7077fee9c58b
439
cc
C++
MWP2_1E.cc
hkktr/POLSKI-SPOJ
59f7e0be99fca6532681c2ca01c8a7d97c6b5eed
[ "Unlicense" ]
1
2021-02-01T11:21:56.000Z
2021-02-01T11:21:56.000Z
MWP2_1E.cc
hkktr/POLSKI-SPOJ
59f7e0be99fca6532681c2ca01c8a7d97c6b5eed
[ "Unlicense" ]
null
null
null
MWP2_1E.cc
hkktr/POLSKI-SPOJ
59f7e0be99fca6532681c2ca01c8a7d97c6b5eed
[ "Unlicense" ]
1
2022-01-28T15:25:45.000Z
2022-01-28T15:25:45.000Z
// C++14 (gcc 8.3) #include <algorithm> #include <iostream> #include <string> #include <vector> int main() { std::ios_base::sync_with_stdio(false); std::cin.tie(nullptr); std::vector<std::string> words; std::string word; while (std::cin >> word) { words.push_back(word); } std::sort(words.begin(), w...
19.086957
57
0.594533
hkktr
c5db24648dcb994cc0671d991851bedc79c33fac
232
hpp
C++
src/actor/ActorId.hpp
patrikpihlstrom/nn-c-
8b5df5f2c62a3dbefc9ded4908daffdf989c771b
[ "MIT" ]
null
null
null
src/actor/ActorId.hpp
patrikpihlstrom/nn-c-
8b5df5f2c62a3dbefc9ded4908daffdf989c771b
[ "MIT" ]
null
null
null
src/actor/ActorId.hpp
patrikpihlstrom/nn-c-
8b5df5f2c62a3dbefc9ded4908daffdf989c771b
[ "MIT" ]
null
null
null
#pragma once #include <cstdint> struct ActorId { uint64_t id; bool operator== (const ActorId& compare) const { return id == compare.id; } bool operator< (const ActorId& compare) const { return id < compare.id; } };
11.047619
47
0.659483
patrikpihlstrom
c5dba36aad008efc0858fcd21d747c9d17b5b30e
4,458
hpp
C++
src/klass/layer.hpp
burncode/py-skp
2e022fc7ef54bc77454bd368f3b512ad3cb5b0f2
[ "MIT" ]
1
2021-02-28T16:33:38.000Z
2021-02-28T16:33:38.000Z
src/klass/layer.hpp
burncode/py-skp
2e022fc7ef54bc77454bd368f3b512ad3cb5b0f2
[ "MIT" ]
null
null
null
src/klass/layer.hpp
burncode/py-skp
2e022fc7ef54bc77454bd368f3b512ad3cb5b0f2
[ "MIT" ]
null
null
null
#ifndef SKP_LAYER_HPP #define SKP_LAYER_HPP #include "common.hpp" #include <SketchUpAPI/model/layer.h> #include "entity.hpp" typedef struct { SkpEntity skp_entilty; SULayerRef _su_layer; } SkpLayer; static void SkpLayer_dealloc(SkpLayer* self) { Py_TYPE(self)->tp_free((PyObject*)self); } static SUEntityRef ...
40.162162
84
0.401301
burncode
c5e35d17fb6c91295662f366518c972975b69bed
2,389
cpp
C++
google/gcj/2019/1b/a.cpp
yu3mars/proconVSCodeGcc
fcf36165bb14fb6f555664355e05dd08d12e426b
[ "MIT" ]
null
null
null
google/gcj/2019/1b/a.cpp
yu3mars/proconVSCodeGcc
fcf36165bb14fb6f555664355e05dd08d12e426b
[ "MIT" ]
null
null
null
google/gcj/2019/1b/a.cpp
yu3mars/proconVSCodeGcc
fcf36165bb14fb6f555664355e05dd08d12e426b
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; using ll = long long; using ld = long double; using pii = pair<int, int>; #define REP(i, n) for (int i = 0, i##_len = (n); i < i##_len; ++i) #define all(x) (x).begin(), (x).end() #define m0(x) memset(x, 0, sizeof(x)) int dx4[4] = {1, 0, -1, 0}, dy4[4] = {0, 1, 0, -1}; c...
20.594828
66
0.321892
yu3mars
c5e3b634fe1e1449283eaaf536e62babbcf04933
3,184
cc
C++
lib/io/disk_manager.cc
DibiBase/dibibase
46020a1052f16d8225a06a5a5b5dd43dd62e5c26
[ "Apache-2.0" ]
1
2021-12-14T12:22:32.000Z
2021-12-14T12:22:32.000Z
lib/io/disk_manager.cc
DibiBase/dibibase
46020a1052f16d8225a06a5a5b5dd43dd62e5c26
[ "Apache-2.0" ]
5
2021-11-16T15:21:11.000Z
2022-03-30T13:01:44.000Z
lib/io/disk_manager.cc
DibiBase/dibibase
46020a1052f16d8225a06a5a5b5dd43dd62e5c26
[ "Apache-2.0" ]
null
null
null
#include "io/disk_manager.hh" #include <cerrno> #include <fcntl.h> #include <memory> #include <string> #include <unistd.h> #include "catalog/record.hh" #include "catalog/schema.hh" #include "db/index_page.hh" #include "mem/summary.hh" #include "util/buffer.hh" #include "util/logger.hh" using namespace dibibase; std...
31.524752
80
0.629083
DibiBase
c5e6003b9f5e7d70abdf6fe2e66e6568cfc80184
650
cpp
C++
Semester_2/Lab_14/main.cpp
DenCoder618/SUAI-Labs
4785f5888257a7da79bc7ab681cde670ab3cf586
[ "MIT" ]
1
2021-09-20T23:58:34.000Z
2021-09-20T23:58:34.000Z
Semester_2/Lab_14/main.cpp
DenCoder618/SUAI-Labs
4785f5888257a7da79bc7ab681cde670ab3cf586
[ "MIT" ]
9
2021-09-22T22:47:47.000Z
2021-10-23T00:34:36.000Z
Semester_2/Lab_14/main.cpp
DenCoder618/SUAI-Labs
4785f5888257a7da79bc7ab681cde670ab3cf586
[ "MIT" ]
null
null
null
// Программа должна хранить схему в виде заданной в задании // структуры данных, где хранятся геометрические фигуры. // Каждая фигура характеризуется уникальным идентификатором // (int) id, координатами на экране (x, y), а также своими параметрами // Программа должна уметь работать с фигурами, указанными в задании. //...
50
70
0.783077
DenCoder618
c5e7778713b803c63fc46728bf635fff4d5826f4
10,667
cpp
C++
Test/test_buffer.cpp
Grandbrain/StdEx
e79c37ea77f67ae44e4cc4db4a9e90965c2fbf97
[ "MIT" ]
null
null
null
Test/test_buffer.cpp
Grandbrain/StdEx
e79c37ea77f67ae44e4cc4db4a9e90965c2fbf97
[ "MIT" ]
null
null
null
Test/test_buffer.cpp
Grandbrain/StdEx
e79c37ea77f67ae44e4cc4db4a9e90965c2fbf97
[ "MIT" ]
null
null
null
#include <catch.hpp> #include <buffer.hpp> // Testing of buffer. TEST_CASE("Testing of buffer") { // Testing of buffer constructors. SECTION("Constructors") { SECTION("Constructor without parameters") { stdex::buffer<int> a; REQUIRE(a.data() == nullptr); REQUIRE(a....
31.190058
73
0.431612
Grandbrain
c5ec745eb47bce7dd5d8dec897432173e866d91b
30
cc
C++
deps/gettext/gettext-tools/woe32dll/c++msgfilter.cc
kimpel70/poedit
9114258b6421c530f6516258635e730d8d3f6b26
[ "MIT" ]
3
2021-05-04T17:09:06.000Z
2021-10-04T07:19:26.000Z
deps/gettext/gettext-tools/woe32dll/c++msgfilter.cc
kimpel70/poedit
9114258b6421c530f6516258635e730d8d3f6b26
[ "MIT" ]
null
null
null
deps/gettext/gettext-tools/woe32dll/c++msgfilter.cc
kimpel70/poedit
9114258b6421c530f6516258635e730d8d3f6b26
[ "MIT" ]
null
null
null
#include "../src/msgfilter.c"
15
29
0.666667
kimpel70
c5eef785114172af92a644f2c971a510e55dac8d
131,233
cpp
C++
disabled_modules/visual_script/visual_script_nodes.cpp
ZopharShinta/SegsEngine
86d52c5b805e05e107594efd3358cabd694365f0
[ "CC-BY-3.0", "Apache-2.0", "MIT" ]
null
null
null
disabled_modules/visual_script/visual_script_nodes.cpp
ZopharShinta/SegsEngine
86d52c5b805e05e107594efd3358cabd694365f0
[ "CC-BY-3.0", "Apache-2.0", "MIT" ]
null
null
null
disabled_modules/visual_script/visual_script_nodes.cpp
ZopharShinta/SegsEngine
86d52c5b805e05e107594efd3358cabd694365f0
[ "CC-BY-3.0", "Apache-2.0", "MIT" ]
null
null
null
/*************************************************************************/ /* visual_script_nodes.cpp */ /*************************************************************************/ /* This file is part of: */ /* ...
30.791412
209
0.686116
ZopharShinta
c5f9411338a09e257face1d14db19a463987269b
3,679
cpp
C++
errors/errorhandler.cpp
buelowp/aquarium
6d379469fbfe2a8c12631bc5571c76d3c0d9d84a
[ "MIT" ]
3
2017-05-04T08:14:46.000Z
2020-04-21T12:17:08.000Z
errors/errorhandler.cpp
buelowp/aquarium
6d379469fbfe2a8c12631bc5571c76d3c0d9d84a
[ "MIT" ]
12
2019-08-17T20:49:35.000Z
2020-04-22T00:46:17.000Z
errors/errorhandler.cpp
buelowp/aquarium
6d379469fbfe2a8c12631bc5571c76d3c0d9d84a
[ "MIT" ]
null
null
null
/* * Copyright (c) 2020 <copyright holder> <email> * * 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...
27.251852
105
0.654797
buelowp
c5f99647d63a209ee39e8ffd30f8ef6eaf2acb46
1,177
cpp
C++
learncpp_com/6-arr_string_pointer_references/142-array_loops/main.cpp
mitsiu-carreno/cpp_tutorial
71f9083884ae6aa23774c044c3d08be273b6bb8e
[ "MIT" ]
null
null
null
learncpp_com/6-arr_string_pointer_references/142-array_loops/main.cpp
mitsiu-carreno/cpp_tutorial
71f9083884ae6aa23774c044c3d08be273b6bb8e
[ "MIT" ]
null
null
null
learncpp_com/6-arr_string_pointer_references/142-array_loops/main.cpp
mitsiu-carreno/cpp_tutorial
71f9083884ae6aa23774c044c3d08be273b6bb8e
[ "MIT" ]
null
null
null
#include <iostream> int main() { int testScore[] ={88, 75, 98, 80, 93}; // Get the average score without loops double noLoopTotalScore = testScore[0] + testScore[1] + testScore[2] + testScore[3] + testScore[4]; double noLoopAverageScore = noLoopTotalScore / (sizeof(testScore) / sizeof(testScore[0])); std...
31.810811
101
0.638063
mitsiu-carreno
68019d9f9622a364965e0e7bf99327e5a7522a96
21,223
cpp
C++
src/game/client/tf2/c_env_meteor.cpp
cstom4994/SourceEngineRebuild
edfd7f8ce8af13e9d23586318350319a2e193c08
[ "MIT" ]
6
2022-01-23T09:40:33.000Z
2022-03-20T20:53:25.000Z
src/game/client/tf2/c_env_meteor.cpp
cstom4994/SourceEngineRebuild
edfd7f8ce8af13e9d23586318350319a2e193c08
[ "MIT" ]
null
null
null
src/game/client/tf2/c_env_meteor.cpp
cstom4994/SourceEngineRebuild
edfd7f8ce8af13e9d23586318350319a2e193c08
[ "MIT" ]
1
2022-02-06T21:05:23.000Z
2022-02-06T21:05:23.000Z
//========= Copyright Valve Corporation, All rights reserved. ============// // // Purpose: // // $NoKeywords: $ //=============================================================================// #include "cbase.h" #include "C_Env_Meteor.h" #include "fx_explosion.h" #include "tempentity.h" #include "c_tracer.h" //====...
32.550613
136
0.569429
cstom4994
68042b93b117990dfebcf29a5579fbdd97c0e06b
224
hpp
C++
graphics/shaders/Type.hpp
quyse/inanity
a39225c5a41f879abe5aa492bb22b500dbe77433
[ "MIT" ]
26
2015-04-22T05:25:25.000Z
2020-11-15T11:07:56.000Z
graphics/shaders/Type.hpp
quyse/inanity
a39225c5a41f879abe5aa492bb22b500dbe77433
[ "MIT" ]
2
2015-01-05T10:41:27.000Z
2015-01-06T20:46:11.000Z
graphics/shaders/Type.hpp
quyse/inanity
a39225c5a41f879abe5aa492bb22b500dbe77433
[ "MIT" ]
5
2016-08-02T11:13:57.000Z
2018-10-26T11:19:27.000Z
#ifndef ___INANITY_SHADERS_TYPE_HPP___ #define ___INANITY_SHADERS_TYPE_HPP___ #include "shaders.hpp" BEGIN_INANITY_SHADERS /// Базовый класс типов данных для шейдеров. class Type { public: }; END_INANITY_SHADERS #endif
13.176471
44
0.816964
quyse
680662dc4b4e7bab5d390e481ae866021c4f9eae
2,465
cpp
C++
src/OpenGL/entrypoints/GL3.0/gl_get_booleani_v.cpp
kbiElude/VKGL
fffabf412723a3612ba1c5bfeafe1da38062bd18
[ "MIT" ]
114
2018-08-05T16:26:53.000Z
2021-12-30T07:28:35.000Z
src/OpenGL/entrypoints/GL3.0/gl_get_booleani_v.cpp
kbiElude/VKGL
fffabf412723a3612ba1c5bfeafe1da38062bd18
[ "MIT" ]
5
2018-08-18T21:16:58.000Z
2018-11-22T21:50:48.000Z
src/OpenGL/entrypoints/GL3.0/gl_get_booleani_v.cpp
kbiElude/VKGL
fffabf412723a3612ba1c5bfeafe1da38062bd18
[ "MIT" ]
6
2018-08-05T22:32:28.000Z
2021-10-04T15:39:53.000Z
/* VKGL (c) 2018 Dominik Witczak * * This code is licensed under MIT license (see LICENSE.txt for details) */ #include "OpenGL/entrypoints/GL3.0/gl_get_booleani_v.h" #include "OpenGL/context.h" #include "OpenGL/globals.h" #include "OpenGL/utils_enum.h" static bool validate(OpenGL::Context* in_context_ptr, ...
35.724638
107
0.486815
kbiElude
6810d2e317cbd7d391bd49bdb16675f913db7b8b
1,833
hpp
C++
Engine/src/Render/Primitive.hpp
MilkyStorm3/SplashyEngine
2c321395da04b524938390c74a45340d7c3c1e2a
[ "MIT" ]
null
null
null
Engine/src/Render/Primitive.hpp
MilkyStorm3/SplashyEngine
2c321395da04b524938390c74a45340d7c3c1e2a
[ "MIT" ]
null
null
null
Engine/src/Render/Primitive.hpp
MilkyStorm3/SplashyEngine
2c321395da04b524938390c74a45340d7c3c1e2a
[ "MIT" ]
null
null
null
#pragma once #include "Graphics/Buffer.hpp" #include "Render/Transform.hpp" #include "Graphics/Texture.hpp" namespace ant { struct Vertex { glm::vec4 position; glm::vec4 color; glm::vec2 textureCoordinate; float textureId = 0; static VertexBufferLayout layout; o...
26.955882
164
0.604474
MilkyStorm3
681626199cecf9f91bc68e243da86c518fc934f5
315
cpp
C++
lib/geometry/distance_between_two_points.cpp
mdstoy/atcoder-cpp
5dfe4db5558dfa1faaf10f19c1a99fee1b4104e7
[ "Unlicense" ]
null
null
null
lib/geometry/distance_between_two_points.cpp
mdstoy/atcoder-cpp
5dfe4db5558dfa1faaf10f19c1a99fee1b4104e7
[ "Unlicense" ]
null
null
null
lib/geometry/distance_between_two_points.cpp
mdstoy/atcoder-cpp
5dfe4db5558dfa1faaf10f19c1a99fee1b4104e7
[ "Unlicense" ]
null
null
null
#include <bits/stdc++.h> using namespace std; // verifing: https://atcoder.jp/contests/math-and-algorithm/submissions/30698630 // *** CAUTION *** : Return value is square. double distance_between_two_points(double x1, double y1, double x2, double y2) { return (x1 - x2) * (x1 - x2) + (y1 - y2) * (y1 - y2); }
31.5
80
0.669841
mdstoy
681846559edf0e4b5d0f15a30d826a03e68a29a6
313
cpp
C++
Contest 1005/D.cpp
PC-DOS/SEUCPP-OJ-KEYS
073f97fb29a659abd25554330382f0a7149c2511
[ "MIT" ]
null
null
null
Contest 1005/D.cpp
PC-DOS/SEUCPP-OJ-KEYS
073f97fb29a659abd25554330382f0a7149c2511
[ "MIT" ]
null
null
null
Contest 1005/D.cpp
PC-DOS/SEUCPP-OJ-KEYS
073f97fb29a659abd25554330382f0a7149c2511
[ "MIT" ]
null
null
null
#include <iostream> #include <cmath> using namespace std; int main(){ int a,b,c,n; n = 0; for (c = 1; c <= 100; ++c){ for (a = 1; a <= c; ++a){ b = sqrt(c*c - a*a); if (a <= b && ((a*a + b*b) == (c*c))) ++n; } } cout << n; //system("pause > nul"); }
20.866667
54
0.373802
PC-DOS
681af677f93b2046ecf12a3ced4e35528cef662f
17,280
cpp
C++
src/bpftrace.cpp
ajor/bpftrace
691e1264b526b9179a610c3ae706e439efd132d3
[ "Apache-2.0" ]
278
2016-12-28T00:51:17.000Z
2022-02-09T10:32:31.000Z
src/bpftrace.cpp
brendangregg/bpftrace
4cc2e864a9bbbcb97a508bfc5a3db1cd0b5d7f95
[ "Apache-2.0" ]
48
2017-07-10T20:17:55.000Z
2020-01-20T23:41:51.000Z
src/bpftrace.cpp
ajor/bpftrace
691e1264b526b9179a610c3ae706e439efd132d3
[ "Apache-2.0" ]
19
2017-07-28T05:49:00.000Z
2022-02-22T22:05:37.000Z
#include <assert.h> #include <fstream> #include <iomanip> #include <iostream> #include <regex> #include <sstream> #include <sys/epoll.h> #include "bcc_syms.h" #include "perf_reader.h" #include "bpforc.h" #include "bpftrace.h" #include "attached_probe.h" #include "triggers.h" namespace bpftrace { int BPFtrace::add_p...
25.300146
135
0.599653
ajor
681da69852f2e04e8ec972ea255dc83edc65a06a
1,632
cc
C++
ETI06F3.cc
hkktr/POLSKI-SPOJ
59f7e0be99fca6532681c2ca01c8a7d97c6b5eed
[ "Unlicense" ]
1
2021-02-01T11:21:56.000Z
2021-02-01T11:21:56.000Z
ETI06F3.cc
hkktr/POLSKI-SPOJ
59f7e0be99fca6532681c2ca01c8a7d97c6b5eed
[ "Unlicense" ]
null
null
null
ETI06F3.cc
hkktr/POLSKI-SPOJ
59f7e0be99fca6532681c2ca01c8a7d97c6b5eed
[ "Unlicense" ]
1
2022-01-28T15:25:45.000Z
2022-01-28T15:25:45.000Z
// C++14 (gcc 8.3) #include <algorithm> #include <iostream> #include <vector> class Graph { public: Graph(int vertices) : vertices_{vertices} { adjacency_list_.resize(vertices_); } void AddEdge(int a, int b) { adjacency_list_[a].push_back(b); } std::vector<int> ConnectedComponents() { std::vector<ch...
22.356164
72
0.58701
hkktr
68217ed14129fd41ec911faa7874ca14d18ae343
995
hpp
C++
src/Luddite/Utilities/YamlParsers.hpp
Aquaticholic/Luddite-Engine
66584fa31ee75b0cdebabe88cdfa2431d0e0ac2f
[ "Apache-2.0" ]
1
2021-06-03T05:46:46.000Z
2021-06-03T05:46:46.000Z
src/Luddite/Utilities/YamlParsers.hpp
Aquaticholic/Luddite-Engine
66584fa31ee75b0cdebabe88cdfa2431d0e0ac2f
[ "Apache-2.0" ]
null
null
null
src/Luddite/Utilities/YamlParsers.hpp
Aquaticholic/Luddite-Engine
66584fa31ee75b0cdebabe88cdfa2431d0e0ac2f
[ "Apache-2.0" ]
null
null
null
#pragma once #include "Luddite/Core/pch.hpp" #include "Luddite/Graphics/Color.hpp" void operator >>(const YAML::Node& node, float& f); void operator >>(const YAML::Node& node, int32_t& i); void operator >>(const YAML::Node& node, uint32_t& u); void operator >>(const YAML::Node& node, glm::vec2& v); void operator >>(con...
49.75
64
0.681407
Aquaticholic
6822d1a77aa7f6e4f374c36b11d3bd13fa35b860
4,484
cpp
C++
src/QtFuzzy/nFuzzyVariable.cpp
Vladimir-Lin/QtFuzzy
185869384f3ce9d3a801080b675bae8ed6c5fb12
[ "MIT" ]
null
null
null
src/QtFuzzy/nFuzzyVariable.cpp
Vladimir-Lin/QtFuzzy
185869384f3ce9d3a801080b675bae8ed6c5fb12
[ "MIT" ]
null
null
null
src/QtFuzzy/nFuzzyVariable.cpp
Vladimir-Lin/QtFuzzy
185869384f3ce9d3a801080b675bae8ed6c5fb12
[ "MIT" ]
null
null
null
#include <qtfuzzy.h> N::Fuzzy::Variable:: Variable ( const QString & name , double minimum , double maximum ) : Object ( 0 , None ) , _name ( name ) ...
27.012048
88
0.432649
Vladimir-Lin
68280ca358bc4ed9c6da4e3744c99967dd88af84
3,065
cpp
C++
test/CpuOperations/BCHGTest.cpp
PaulTrampert/GenieSys
637e7f764bc7faac8d0b5afcf22646e200562f6a
[ "MIT" ]
null
null
null
test/CpuOperations/BCHGTest.cpp
PaulTrampert/GenieSys
637e7f764bc7faac8d0b5afcf22646e200562f6a
[ "MIT" ]
82
2020-12-17T04:03:10.000Z
2022-03-24T17:54:28.000Z
test/CpuOperations/BCHGTest.cpp
PaulTrampert/GenieSys
637e7f764bc7faac8d0b5afcf22646e200562f6a
[ "MIT" ]
null
null
null
// // Created by paul.trampert on 4/4/2021. // #include <gtest/gtest.h> #include <GenieSys/CpuOperations/BCHG.h> #include <GenieSys/Bus.h> struct BCHGTest : testing::Test { GenieSys::M68kCpu* cpu; GenieSys::Bus bus; GenieSys::BCHG* subject; BCHGTest() { cpu = bus.getCpu(); subject =...
34.055556
151
0.72398
PaulTrampert
68292e8a8ea099595f63a41b270e1210d757bda9
2,210
cpp
C++
omp1.cpp
jrengdahl/bmomp
3c00f0e599c127504e47a0b35fdb8dbd85f9ebc4
[ "BSD-3-Clause" ]
null
null
null
omp1.cpp
jrengdahl/bmomp
3c00f0e599c127504e47a0b35fdb8dbd85f9ebc4
[ "BSD-3-Clause" ]
null
null
null
omp1.cpp
jrengdahl/bmomp
3c00f0e599c127504e47a0b35fdb8dbd85f9ebc4
[ "BSD-3-Clause" ]
null
null
null
// A test program for experiments with OpenMP. // omp1.cpp tests // "#pragma omp parallel for" #include <stdint.h> #include <stdio.h> #include "exports.hpp" #include "thread.hpp" #include "threadFIFO.hpp" #include "libgomp.hpp" #include "omp.h" // The DeferFIFO used by yield, for rudimentary time-slicing. // Note...
27.625
141
0.589593
jrengdahl
6829bd8c63bcfd90ba5752091106328991fa11b0
404
hpp
C++
hw3/tmpl/src-cpp/include/AST/UnaryOperator.hpp
idoleat/P-Language-Compiler-CourseProject
57db735b349a0a3a30d78b927953e2d44b7c7d53
[ "MIT" ]
7
2020-09-10T16:54:49.000Z
2022-03-15T12:39:23.000Z
hw3/tmpl/src-cpp/include/AST/UnaryOperator.hpp
idoleat/simple-P-compiler
57db735b349a0a3a30d78b927953e2d44b7c7d53
[ "MIT" ]
null
null
null
hw3/tmpl/src-cpp/include/AST/UnaryOperator.hpp
idoleat/simple-P-compiler
57db735b349a0a3a30d78b927953e2d44b7c7d53
[ "MIT" ]
null
null
null
#ifndef __AST_UNARY_OPERATOR_NODE_H #define __AST_UNARY_OPERATOR_NODE_H #include "AST/expression.hpp" class UnaryOperatorNode : public ExpressionNode { public: UnaryOperatorNode(const uint32_t line, const uint32_t col /* TODO: operator, expression */); ~UnaryOperatorNode() = default; ...
21.263158
61
0.70297
idoleat
682aeb16d6533e5bff7e1bbd3aa5831f4aa8dd4d
1,290
cpp
C++
math/kth_root_mod/gen/safe_prime.cpp
tko919/library-checker-problems
007a3ef79d1a1824e68545ab326d1523d9c05262
[ "Apache-2.0" ]
290
2019-06-06T22:20:36.000Z
2022-03-27T12:45:04.000Z
math/kth_root_mod/gen/safe_prime.cpp
tko919/library-checker-problems
007a3ef79d1a1824e68545ab326d1523d9c05262
[ "Apache-2.0" ]
536
2019-06-06T18:25:36.000Z
2022-03-29T11:46:36.000Z
math/kth_root_mod/gen/safe_prime.cpp
tko919/library-checker-problems
007a3ef79d1a1824e68545ab326d1523d9c05262
[ "Apache-2.0" ]
82
2019-06-06T18:17:55.000Z
2022-03-21T07:40:31.000Z
#include "random.h" #include <iostream> #include <vector> #include <cassert> #include "../params.h" using namespace std; using ll = long long; vector<ll> enum_prime(ll l, ll r) { vector<int> is_prime(r - l + 1, true); for (ll i = 2; i * i <= r; i++) { for (ll j = max(2 * i, (l + i - 1) / i * i); j <= ...
23.454545
85
0.494574
tko919
682eba30c768c3fd3dcaaef271ea4e7c5c664ea1
871
hpp
C++
include/daqi/utilities/file_utilities.hpp
hl4/da4qi4
9dfb8902427d40b392977b4fd706048ce3ee8828
[ "Apache-2.0" ]
166
2019-04-15T03:19:31.000Z
2022-03-26T05:41:12.000Z
include/daqi/utilities/file_utilities.hpp
YangKefan/da4qi4
9dfb8902427d40b392977b4fd706048ce3ee8828
[ "Apache-2.0" ]
9
2019-07-18T06:09:59.000Z
2021-01-27T04:19:04.000Z
include/daqi/utilities/file_utilities.hpp
YangKefan/da4qi4
9dfb8902427d40b392977b4fd706048ce3ee8828
[ "Apache-2.0" ]
43
2019-07-03T05:41:57.000Z
2022-02-24T14:16:09.000Z
#ifndef DAQI_FILE_UTILITIES_HPP #define DAQI_FILE_UTILITIES_HPP #include <string> #include "daqi/def/boost_def.hpp" namespace da4qi4 { namespace Utilities { bool SaveDataToFile(std::string const& data, std::string const& filename_with_path, std::string& err); bool SaveDataToFile(std::string const& data, fs::path con...
24.885714
102
0.75775
hl4
682fc5812863d852f26231283fd91b4c75e0515f
613
cpp
C++
leetcode/Algorithms/reverse-vowels-of-a-string.cpp
Doarakko/competitive-programming
5ae78c501664af08a3f16c81dbd54c68310adec8
[ "MIT" ]
1
2017-07-11T16:47:29.000Z
2017-07-11T16:47:29.000Z
leetcode/Algorithms/reverse-vowels-of-a-string.cpp
Doarakko/Competitive-Programming
10642a4bd7266c828dd2fc6e311284e86bdf2968
[ "MIT" ]
1
2021-02-07T09:10:26.000Z
2021-02-07T09:10:26.000Z
leetcode/Algorithms/reverse-vowels-of-a-string.cpp
Doarakko/Competitive-Programming
10642a4bd7266c828dd2fc6e311284e86bdf2968
[ "MIT" ]
null
null
null
class Solution { public: string reverseVowels(string s) { vector<int> v; for (int i = 0; i < s.length(); i++) { switch (s[i]) { case 'a': case 'i': case 'u': case 'e': case 'o': case 'A': ...
19.15625
53
0.298532
Doarakko
682fce5ba95dadeb2a1ba215388d6142c832646d
583
hpp
C++
Include/SA/Input/Base/Axis/Bindings/InputAxisRange.hpp
SapphireSuite/Engine
f29821853aec6118508f31d3e063e83e603f52dd
[ "MIT" ]
1
2022-01-20T23:17:18.000Z
2022-01-20T23:17:18.000Z
Include/SA/Input/Base/Axis/Bindings/InputAxisRange.hpp
SapphireSuite/Engine
f29821853aec6118508f31d3e063e83e603f52dd
[ "MIT" ]
null
null
null
Include/SA/Input/Base/Axis/Bindings/InputAxisRange.hpp
SapphireSuite/Engine
f29821853aec6118508f31d3e063e83e603f52dd
[ "MIT" ]
null
null
null
// Copyright (c) 2021 Sapphire's Suite. All Rights Reserved. #pragma once #ifndef SAPPHIRE_INPUT_INPUT_AXIS_RANGE_GUARD #define SAPPHIRE_INPUT_INPUT_AXIS_RANGE_GUARD #include <SA/Input/Base/Bindings/InputRangeBase.hpp> #include <SA/Input/Base/Axis/Bindings/InputAxisBinding.hpp> namespace Sa { class InputAxisRange ...
20.821429
63
0.7753
SapphireSuite
6830046466209c71aafc249d502ff69efbc46f64
373
cpp
C++
Math/168. Excel Sheet Column Title.cpp
YuPeize/LeetCode-
b01d00f28e1eedcb04aee9eca984685bd9d52791
[ "MIT" ]
2
2019-10-28T06:40:09.000Z
2022-03-09T10:50:06.000Z
Math/168. Excel Sheet Column Title.cpp
sumiya-NJU/LeetCode
8e6065e160da3db423a51aaf3ae53b2023068d05
[ "MIT" ]
null
null
null
Math/168. Excel Sheet Column Title.cpp
sumiya-NJU/LeetCode
8e6065e160da3db423a51aaf3ae53b2023068d05
[ "MIT" ]
1
2018-12-09T13:46:06.000Z
2018-12-09T13:46:06.000Z
/* author: ypz */ class Solution { public: string convertToTitle(int n) { string ans; while(n != 0) { char temp; if(n%26 == 0) { temp = 'Z'; n -= 1; } else temp = 'A' + n%26 - 1; ans = temp + ans; ...
16.954545
39
0.335121
YuPeize
6834eaa61ab72647f1f8a23f2265d6a14a8ae59a
2,459
cpp
C++
luogu/p1042.cpp
ajidow/Answers_of_OJ
70e0c02d9367c3a154b83a277edbf158f32484a3
[ "MIT" ]
null
null
null
luogu/p1042.cpp
ajidow/Answers_of_OJ
70e0c02d9367c3a154b83a277edbf158f32484a3
[ "MIT" ]
null
null
null
luogu/p1042.cpp
ajidow/Answers_of_OJ
70e0c02d9367c3a154b83a277edbf158f32484a3
[ "MIT" ]
null
null
null
#include <iostream> #include <cstdio> using namespace std; char c; // int hua,sb; // int huawin,sbwin; int tmphua,tmpsb; int cnt = 0; int get[100000]; int main(int argc, char const *argv[]) { // cout << "11:0" << endl; while(1) { c = getchar(); if (c == 'E') { cout << tmphua << ":" << tmpsb << endl; b...
19.362205
60
0.395283
ajidow
6835e1f3603467bf8ff17f87fc84f97f267c2969
1,997
cpp
C++
SerialPrograms/Source/NintendoSwitch/Framework/NintendoSwitch_SingleSwitchProgramWidget.cpp
Gin890/Arduino-Source
9047ff584010d8ddc3558068874f16fb3c7bb46d
[ "MIT" ]
1
2022-03-29T18:51:49.000Z
2022-03-29T18:51:49.000Z
SerialPrograms/Source/NintendoSwitch/Framework/NintendoSwitch_SingleSwitchProgramWidget.cpp
Gin890/Arduino-Source
9047ff584010d8ddc3558068874f16fb3c7bb46d
[ "MIT" ]
null
null
null
SerialPrograms/Source/NintendoSwitch/Framework/NintendoSwitch_SingleSwitchProgramWidget.cpp
Gin890/Arduino-Source
9047ff584010d8ddc3558068874f16fb3c7bb46d
[ "MIT" ]
null
null
null
/* Single Switch Program Template * * From: https://github.com/PokemonAutomation/Arduino-Source * */ #include "CommonFramework/Tools/BlackBorderCheck.h" #include "NintendoSwitch_SingleSwitchProgramWidget.h" #include <iostream> using std::cout; using std::endl; namespace PokemonAutomation{ namespa...
26.626667
99
0.657987
Gin890
68383cad3387296c9c36cca5935b428b4f51c87f
9,038
cpp
C++
Grbl_Esp32/src/Spindles/YL620Spindle.cpp
ghjklzx/ESP32-E-support
03e081d3f6df613ff1f215ba311bec3fb7baa8ed
[ "MIT" ]
49
2021-12-15T12:57:20.000Z
2022-02-07T12:22:10.000Z
Firmware/Grbl_Esp32-main/Grbl_Esp32/src/Spindles/YL620Spindle.cpp
pspadale/Onyx-Stepper-Motherboard
e94e6cc2e40869f6ee395a3f6e52c81307373971
[ "MIT" ]
null
null
null
Firmware/Grbl_Esp32-main/Grbl_Esp32/src/Spindles/YL620Spindle.cpp
pspadale/Onyx-Stepper-Motherboard
e94e6cc2e40869f6ee395a3f6e52c81307373971
[ "MIT" ]
10
2021-12-15T12:57:24.000Z
2022-01-17T22:47:33.000Z
#include "YL620Spindle.h" /* YL620Spindle.cpp This is for a Yalang YL620/YL620-A VFD based spindle to be controlled via RS485 Modbus RTU. Part of Grbl_ESP32 2021 - Marco Wagner Grbl is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License ...
38.7897
136
0.501881
ghjklzx
683ba4119670f9dbd36d441fbe7e90e150be3690
5,495
cpp
C++
crystal/foundation/http/Crypto.cpp
crystal-dataop/crystal
128e1dcde1ef68cabadab9b16d45f5199f0afe5c
[ "Apache-2.0" ]
2
2020-10-02T03:31:50.000Z
2020-12-31T09:41:48.000Z
crystal/foundation/http/Crypto.cpp
crystal-dataop/crystal
128e1dcde1ef68cabadab9b16d45f5199f0afe5c
[ "Apache-2.0" ]
null
null
null
crystal/foundation/http/Crypto.cpp
crystal-dataop/crystal
128e1dcde1ef68cabadab9b16d45f5199f0afe5c
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2020 Yeolar */ #include "crystal/foundation/http/Crypto.h" #include <iomanip> #include <vector> #include <openssl/evp.h> #include <openssl/md5.h> #include <openssl/sha.h> namespace crystal { std::string Crypto::to_hex_string(const std::string& input) { std::stringstream hex_stream; hex_stream ...
33.919753
78
0.647134
crystal-dataop
683f82e4ea5d0c5966b1ad32dd95cfea784541a8
25,099
cpp
C++
octomap/src/testing/test_set_tree_values.cpp
BadgerTechnologies/octomap
cf470ad72aaf7783b6eeef82331f52146557fc09
[ "BSD-3-Clause" ]
null
null
null
octomap/src/testing/test_set_tree_values.cpp
BadgerTechnologies/octomap
cf470ad72aaf7783b6eeef82331f52146557fc09
[ "BSD-3-Clause" ]
null
null
null
octomap/src/testing/test_set_tree_values.cpp
BadgerTechnologies/octomap
cf470ad72aaf7783b6eeef82331f52146557fc09
[ "BSD-3-Clause" ]
null
null
null
#include <memory> #include <octomap/octomap.h> #include "testing.h" using namespace std; using namespace octomap; using namespace octomath; int main(int /*argc*/, char** /*argv*/) { double res = 0.01; OcTree value_tree(res); OcTree value_tree2(res); OcTree bounds_tree(res); OcTree tree(res); O...
40.287319
130
0.61616
BadgerTechnologies
683f877debdbab79a8362817d237a71245f32022
546
cpp
C++
c++/10611.cpp
AkashChandrakar/UVA
b90535c998ecdffe0f30e56fec89411f456b16a5
[ "Apache-2.0" ]
2
2016-10-23T14:35:13.000Z
2018-09-16T05:38:47.000Z
c++/10611.cpp
AkashChandrakar/UVA
b90535c998ecdffe0f30e56fec89411f456b16a5
[ "Apache-2.0" ]
null
null
null
c++/10611.cpp
AkashChandrakar/UVA
b90535c998ecdffe0f30e56fec89411f456b16a5
[ "Apache-2.0" ]
null
null
null
#include<bits/stdc++.h> using namespace std; int arr[50001]; int main() { int n, q, x, y, h; scanf("%d", &n); for (int i = 0; i < n; i++) scanf("%d", &arr[i]); scanf("%d", &q); for (int i = 0; i < q; i++) { scanf("%d", &h); x = lower_bound(arr, arr + n, h) - arr; if (arr[x] >= h && x > 0) { printf("...
17.612903
41
0.456044
AkashChandrakar
9697f68859d4396524f960cc99eaf724a97aa2d6
1,588
cc
C++
src/pineapple/app.cc
tomocy/pineapple
bc9c901a521616c4f47d079c6945359eac947ca2
[ "MIT" ]
null
null
null
src/pineapple/app.cc
tomocy/pineapple
bc9c901a521616c4f47d079c6945359eac947ca2
[ "MIT" ]
null
null
null
src/pineapple/app.cc
tomocy/pineapple
bc9c901a521616c4f47d079c6945359eac947ca2
[ "MIT" ]
null
null
null
#include "src/pineapple/app.h" #include <iostream> #include <map> #include <string> #include <vector> #include "external/flags/src/flags/flags.h" #include "src/pineapple/command.h" #include "src/pineapple/context.h" #include "src/pineapple/exceptions.h" namespace pineapple { App::App(const std::string& name) : Comma...
26.466667
80
0.630353
tomocy
9698ff51d7f20ca0b8a25b150ddb419aaa7e01c8
2,860
cpp
C++
crogine/src/network/NetPeer.cpp
fallahn/crogine
f6cf3ade1f4e5de610d52e562bf43e852344bca0
[ "FTL", "Zlib" ]
41
2017-08-29T12:14:36.000Z
2022-02-04T23:49:48.000Z
crogine/src/network/NetPeer.cpp
fallahn/crogine
f6cf3ade1f4e5de610d52e562bf43e852344bca0
[ "FTL", "Zlib" ]
11
2017-09-02T15:32:45.000Z
2021-12-27T13:34:56.000Z
crogine/src/network/NetPeer.cpp
fallahn/crogine
f6cf3ade1f4e5de610d52e562bf43e852344bca0
[ "FTL", "Zlib" ]
5
2020-01-25T17:51:45.000Z
2022-03-01T05:20:30.000Z
/*----------------------------------------------------------------------- Matt Marchant 2017 - 2020 http://trederia.blogspot.com crogine - Zlib license. 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 ...
28.316832
73
0.683217
fallahn
969e5fbeb80508aa303a4023e918e6af5a213024
955
cpp
C++
Cpp/CpTemplate.cpp
aminPial/Competitive-Programming-Library
c77373bf9f0dd212369a383ec3165d345f2a0cc7
[ "MIT" ]
4
2020-03-21T04:32:09.000Z
2021-07-14T13:49:00.000Z
Cpp/CpTemplate.cpp
aminPial/Competitive-Programming-Library
c77373bf9f0dd212369a383ec3165d345f2a0cc7
[ "MIT" ]
null
null
null
Cpp/CpTemplate.cpp
aminPial/Competitive-Programming-Library
c77373bf9f0dd212369a383ec3165d345f2a0cc7
[ "MIT" ]
1
2020-12-11T06:06:06.000Z
2020-12-11T06:06:06.000Z
#pragma GCC optimize("O3","unroll-loops","omit-frame-pointer","inline","fast-math","no-stack-protector") //Optimization flags #pragma GCC target("sse,sse2,sse3,ssse3,popcnt,abm,mmx,tune=native") // #include <x86intrin.h> //AVX/SSE Extensions /* 만든 사람 <xrssa> */ /* 불타오르네, 불타오르네, 불타오르네 */ #include <bits/stdc++.h> using...
27.285714
125
0.584293
aminPial
96a0e1fecb2c7f6e7286af9704399ff11e621035
6,614
hpp
C++
Simple++/Graphic/Texture.hpp
Oriode/Simpleplusplus
2ba44eeab5078d6dab66bdefdf73617696b8cb2e
[ "Apache-2.0" ]
null
null
null
Simple++/Graphic/Texture.hpp
Oriode/Simpleplusplus
2ba44eeab5078d6dab66bdefdf73617696b8cb2e
[ "Apache-2.0" ]
null
null
null
Simple++/Graphic/Texture.hpp
Oriode/Simpleplusplus
2ba44eeab5078d6dab66bdefdf73617696b8cb2e
[ "Apache-2.0" ]
null
null
null
namespace Graphic { template<typename T> Texture<T>::Texture( typename Format format ) { this -> datas.push( new ImageT<T>( format ) ); } template<typename T> Graphic::Texture<T>::Texture( const Math::Vec2<Size> & size, typename Format format ) { this -> datas.push( new ImageT<T>( size, format ) ); } ...
25.05303
166
0.63033
Oriode
96aa0c6d5cbc789bf926bffea3256127799d74b4
2,237
cpp
C++
DOS_Boat_Source/EnemySpace.cpp
michaelslewis/DOS_Boat
1c25f352d75555fa81bbd0f99c89aaed43739646
[ "MIT" ]
null
null
null
DOS_Boat_Source/EnemySpace.cpp
michaelslewis/DOS_Boat
1c25f352d75555fa81bbd0f99c89aaed43739646
[ "MIT" ]
null
null
null
DOS_Boat_Source/EnemySpace.cpp
michaelslewis/DOS_Boat
1c25f352d75555fa81bbd0f99c89aaed43739646
[ "MIT" ]
null
null
null
/**************************************************************************** * Author: Michael S. Lewis * * Date: 6/3/2016 * * Description: EnemySpace.cpp is the EnemySpace class function * * implementation file (for Final Project "DOS Boat"). * * An Enem...
38.568966
78
0.453286
michaelslewis
96ad39b2a5385f3be8906cdd2fd7048b6aeda733
3,703
cpp
C++
lib/regi/sim_metrics_2d/xregImgSimMetric2DGradNCCOCL.cpp
rg2/xreg
c06440d7995f8a441420e311bb7b6524452843d3
[ "MIT" ]
30
2020-09-29T18:36:13.000Z
2022-03-28T09:25:13.000Z
lib/regi/sim_metrics_2d/xregImgSimMetric2DGradNCCOCL.cpp
gaocong13/Orthopedic-Robot-Navigation
bf36f7de116c1c99b86c9ba50f111c3796336af0
[ "MIT" ]
3
2020-10-09T01:21:27.000Z
2020-12-10T15:39:44.000Z
lib/regi/sim_metrics_2d/xregImgSimMetric2DGradNCCOCL.cpp
rg2/xreg
c06440d7995f8a441420e311bb7b6524452843d3
[ "MIT" ]
8
2021-05-25T05:14:48.000Z
2022-02-26T12:29:50.000Z
/* * MIT License * * Copyright (c) 2020 Robert Grupp * * 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, mod...
37.40404
99
0.766946
rg2
96bba7b9ab561f38e4598dc669f60b9304497550
1,609
cpp
C++
Libraries/RobsJuceModules/jura_framework/gui/misc/jura_DescribedComponent.cpp
elanhickler/RS-MET
c04cbe660ea426ddf659dfda3eb9cba890de5468
[ "FTL" ]
null
null
null
Libraries/RobsJuceModules/jura_framework/gui/misc/jura_DescribedComponent.cpp
elanhickler/RS-MET
c04cbe660ea426ddf659dfda3eb9cba890de5468
[ "FTL" ]
null
null
null
Libraries/RobsJuceModules/jura_framework/gui/misc/jura_DescribedComponent.cpp
elanhickler/RS-MET
c04cbe660ea426ddf659dfda3eb9cba890de5468
[ "FTL" ]
1
2017-10-15T07:25:41.000Z
2017-10-15T07:25:41.000Z
// construction/destruction: DescribedItem::DescribedItem(const String& newDescription) { description = newDescription; descriptionField = NULL; } DescribedItem::~DescribedItem() { } // setup: void DescribedItem::setDescription(const String &newDescription) { description = newDescription; if( descr...
22.985714
99
0.675575
elanhickler
96bc18f49667ca4c8c31f5167020e62a49ba064a
939
cpp
C++
Nacro/SDK/FN_ActiveModifierItemHUD_functions.cpp
Milxnor/Nacro
eebabf662bbce6d5af41820ea0342d3567a0aecc
[ "BSD-2-Clause" ]
11
2021-08-08T23:25:10.000Z
2022-02-19T23:07:22.000Z
Nacro/SDK/FN_ActiveModifierItemHUD_functions.cpp
Milxnor/Nacro
eebabf662bbce6d5af41820ea0342d3567a0aecc
[ "BSD-2-Clause" ]
1
2022-01-01T22:51:59.000Z
2022-01-08T16:14:15.000Z
Nacro/SDK/FN_ActiveModifierItemHUD_functions.cpp
Milxnor/Nacro
eebabf662bbce6d5af41820ea0342d3567a0aecc
[ "BSD-2-Clause" ]
8
2021-08-09T13:51:54.000Z
2022-01-26T20:33:37.000Z
// Fortnite (1.8) SDK #ifdef _MSC_VER #pragma pack(push, 0x8) #endif #include "../SDK.hpp" namespace SDK { //--------------------------------------------------------------------------- //Functions //--------------------------------------------------------------------------- // Function ActiveModifierItemHUD.Active...
23.475
118
0.630458
Milxnor
96beef18081b7735ce5c4d9cf42b4db3184df2e3
553
cpp
C++
atcoder/Educational DP Contest/C.cpp
ApocalypseMac/CP
b2db9aa5392a362dc0d979411788267ed9a5ff1d
[ "MIT" ]
null
null
null
atcoder/Educational DP Contest/C.cpp
ApocalypseMac/CP
b2db9aa5392a362dc0d979411788267ed9a5ff1d
[ "MIT" ]
null
null
null
atcoder/Educational DP Contest/C.cpp
ApocalypseMac/CP
b2db9aa5392a362dc0d979411788267ed9a5ff1d
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> const int maxn = 100005; int N, h[maxn][3], dp[maxn][3]; int main(){ std::cin >> N; memset(dp, 0, sizeof(dp)); for (int i = 1; i <= N; i++) std::cin >> h[i][0] >> h[i][1] >> h[i][2]; for (int i = 1; i <= N; i++){ dp[i][0] = h[i][0] + std::max(dp[i-1][1], dp[...
34.5625
71
0.426763
ApocalypseMac
96bf34023f5eda6a9b69bfbc5b8ca83db5ea852b
1,089
cpp
C++
Algorithms on Graphs/week1_decomposition1/1_reachability/reachability.cpp
18Pranjul/Data-Structures-and-Algorithms-Specialization-Coursera
1d2f3a4ee390f0297de29de84205ef5f2a40f31d
[ "MIT" ]
null
null
null
Algorithms on Graphs/week1_decomposition1/1_reachability/reachability.cpp
18Pranjul/Data-Structures-and-Algorithms-Specialization-Coursera
1d2f3a4ee390f0297de29de84205ef5f2a40f31d
[ "MIT" ]
null
null
null
Algorithms on Graphs/week1_decomposition1/1_reachability/reachability.cpp
18Pranjul/Data-Structures-and-Algorithms-Specialization-Coursera
1d2f3a4ee390f0297de29de84205ef5f2a40f31d
[ "MIT" ]
null
null
null
#include <iostream> #include <algorithm> #include <vector> #include <math.h> #include <cstring> #include <string> #include <stack> #include <queue> #include <deque> #include <map> #include <set> #include <utility> #include <iomanip> #include <climits> using namespace std; #define ll long long #define MO...
17.852459
64
0.56933
18Pranjul
96c360efe5ceec388a286236c77b3ed67a4b1eeb
478
cpp
C++
smart_ptr_test.cpp
hnqiu/cpp-test
ec3eafd3126be8468ba4f2d6a26c5863659aa8e3
[ "MIT" ]
1
2019-03-21T04:06:13.000Z
2019-03-21T04:06:13.000Z
smart_ptr_test.cpp
hnqiu/cpp-test
ec3eafd3126be8468ba4f2d6a26c5863659aa8e3
[ "MIT" ]
null
null
null
smart_ptr_test.cpp
hnqiu/cpp-test
ec3eafd3126be8468ba4f2d6a26c5863659aa8e3
[ "MIT" ]
null
null
null
/* Copyright (C) 2019 hnqiu. All rights reserved. * Licensed under the MIT License. See LICENSE for details. */ #include <iostream> #include <memory> #include <vector> #include "class_test.h" int smart_ptr_test() { std::shared_ptr<Agent> agt = std::make_shared<Agent>(1); std::vector<decltype(agt)> agents; ...
22.761905
74
0.658996
hnqiu
96c85c75575dc9b33ecabf72f8e2b8f699068fd8
1,629
cpp
C++
Arrays/DesignStackIncrementOps.cpp
karan2808/Cpp
595f536e33505c5fd079b709d6370bf888043fb3
[ "MIT" ]
1
2021-01-31T03:43:59.000Z
2021-01-31T03:43:59.000Z
Arrays/DesignStackIncrementOps.cpp
karan2808/Cpp
595f536e33505c5fd079b709d6370bf888043fb3
[ "MIT" ]
null
null
null
Arrays/DesignStackIncrementOps.cpp
karan2808/Cpp
595f536e33505c5fd079b709d6370bf888043fb3
[ "MIT" ]
1
2021-01-25T14:27:08.000Z
2021-01-25T14:27:08.000Z
#include <iostream> using namespace std; class CustomStack_Array { int *stkArr; int stkSize; // keep a track of number of elements or top position int stkTop; public: // constructor CustomStack_Array(int maxSize) { stkArr = new int[maxSize]; stkTop = 0; stkSize = m...
19.626506
81
0.493554
karan2808
96ccf681f5512d65eee912482db5800a9f1ff0c3
13,223
cpp
C++
Code/Sumo_RTOS/FREERTOS_SHELL/Source/lib/serial/rs232int.cpp
ryanforsberg/me507
5a9fd25e2062fec3c9d0cb141d360ad67709488b
[ "MIT" ]
null
null
null
Code/Sumo_RTOS/FREERTOS_SHELL/Source/lib/serial/rs232int.cpp
ryanforsberg/me507
5a9fd25e2062fec3c9d0cb141d360ad67709488b
[ "MIT" ]
null
null
null
Code/Sumo_RTOS/FREERTOS_SHELL/Source/lib/serial/rs232int.cpp
ryanforsberg/me507
5a9fd25e2062fec3c9d0cb141d360ad67709488b
[ "MIT" ]
null
null
null
//************************************************************************************* /** \file rs232int.cpp * This file contains a class which allows the use of a serial port on an AVR * microcontroller. This version of the class uses the serial port receiver * interrupt and a buffer to allow character...
35.641509
90
0.703547
ryanforsberg
96cddc003fed9b2b7e4054d6b2ba569b08966190
1,618
cpp
C++
call_thunk.cpp
znone/call_thunk
f4b16151f15a27bbc5ac939ee9053ebc4bf71790
[ "Apache-2.0" ]
23
2018-08-15T13:25:23.000Z
2022-02-24T15:17:28.000Z
call_thunk.cpp
znone/call_thunk
f4b16151f15a27bbc5ac939ee9053ebc4bf71790
[ "Apache-2.0" ]
3
2020-03-07T04:07:08.000Z
2022-01-05T08:10:40.000Z
call_thunk.cpp
znone/call_thunk
f4b16151f15a27bbc5ac939ee9053ebc4bf71790
[ "Apache-2.0" ]
6
2019-08-07T13:47:50.000Z
2021-08-01T08:13:06.000Z
#include "call_thunk.h" #ifdef _WIN32 #include <windows.h> #else #include <sys/mman.h> #ifndef offsetof #define offsetof(s,m) ((size_t)&reinterpret_cast<char const volatile&>((((s*)0)->m))) #endif //offsetof #ifndef _countof #define _countof(_Array) (sizeof(_Array) / sizeof(_Array[0])) #endif //_countof #endif //...
21.012987
128
0.729913
znone
96d3c5189455bae96243c9cfdbd58238cbdb2b53
4,997
cpp
C++
app/perfclient.cpp
HarryKBD/raperf
0a2d3876dd5923722bffa3dce5f7ee1e83253b00
[ "BSD-3-Clause" ]
null
null
null
app/perfclient.cpp
HarryKBD/raperf
0a2d3876dd5923722bffa3dce5f7ee1e83253b00
[ "BSD-3-Clause" ]
null
null
null
app/perfclient.cpp
HarryKBD/raperf
0a2d3876dd5923722bffa3dce5f7ee1e83253b00
[ "BSD-3-Clause" ]
null
null
null
#include <unistd.h> #include <cstdlib> #include <cstring> #include <netdb.h> #include <iostream> #include <udt.h> #include "cc.h" #include "test_util.h" #include <sys/time.h> using namespace std; //#define SEND_BUF_SIZE 50000 #define SEND_BUF_SIZE 8000 int64_t SEND_FILE_SIZE = 1024*1024*1024; //5GB void * monito...
27.010811
191
0.571743
HarryKBD
96d59dc54e46397f6fafa6dcadce847d7560dbc0
2,665
cpp
C++
fon9/FileRevRead_UT.cpp
fonwin/Plan
3bfa9407ab04a26293ba8d23c2208bbececb430e
[ "Apache-2.0" ]
21
2019-01-29T14:41:46.000Z
2022-03-11T00:22:56.000Z
fon9/FileRevRead_UT.cpp
fonwin/Plan
3bfa9407ab04a26293ba8d23c2208bbececb430e
[ "Apache-2.0" ]
null
null
null
fon9/FileRevRead_UT.cpp
fonwin/Plan
3bfa9407ab04a26293ba8d23c2208bbececb430e
[ "Apache-2.0" ]
9
2019-01-27T14:19:33.000Z
2022-03-11T06:18:24.000Z
/// \file fon9/FileRevRead_UT.cpp /// \author fonwinz@gmail.com #include "fon9/FileRevRead.hpp" #include "fon9/RevPrint.hpp" //--------------------------------------------------------------------------// bool OpenFile(const char* info, fon9::File& fd, const char* fname, fon9::FileMode fm) { printf("%s %s\n", info...
37.535211
135
0.586867
fonwin
96d5be95ce9e37030eb3c39a32acfe308746443f
2,668
cpp
C++
src/renderer.cpp
kacejot/ray-tracer-se
8543826db12bda41e99bf37a6beef7a4acd79cff
[ "MIT" ]
null
null
null
src/renderer.cpp
kacejot/ray-tracer-se
8543826db12bda41e99bf37a6beef7a4acd79cff
[ "MIT" ]
null
null
null
src/renderer.cpp
kacejot/ray-tracer-se
8543826db12bda41e99bf37a6beef7a4acd79cff
[ "MIT" ]
null
null
null
#include <algorithm> #include <future> #include <thread> #include "renderer.h" #include "utils.h" #include "vec3.h" #include "ray.h" std::vector<vec3*> divide_vector_to_chunks(std::vector<vec3>& vector, size_t chunk_size) { std::vector<vec3*> result{}; size_t current_chunk = 0; for (; current_chunk < vec...
31.388235
121
0.574588
kacejot
96d71c62e8c5eb74a046150c71861d615e84d54c
3,137
hpp
C++
Source/Common/Delegate.hpp
gunstarpl/Perim-Game-07-2015
58efdee1857f5cccad909d5c2a76f2d6871657e6
[ "Unlicense", "MIT" ]
null
null
null
Source/Common/Delegate.hpp
gunstarpl/Perim-Game-07-2015
58efdee1857f5cccad909d5c2a76f2d6871657e6
[ "Unlicense", "MIT" ]
null
null
null
Source/Common/Delegate.hpp
gunstarpl/Perim-Game-07-2015
58efdee1857f5cccad909d5c2a76f2d6871657e6
[ "Unlicense", "MIT" ]
null
null
null
#pragma once #include "Precompiled.hpp" // // Delegate // Implementation based on: http://molecularmusings.wordpress.com/2011/09/19/generic-type-safe-delegates-and-events-in-c/ // Be careful not to invoke a delagate to a method of an instance that no longer exists. // // Binding and invoking a function: // bo...
28.518182
122
0.64329
gunstarpl
96d85fed9c2efee4fbd53b3c8b07ef38e8e6abb6
3,365
cpp
C++
Demo App/Demos/BlackHoleDemo.cpp
aderussell/ARPhysics
2669db7cd9e31918d8573e5a6bde654b443b0961
[ "MIT" ]
null
null
null
Demo App/Demos/BlackHoleDemo.cpp
aderussell/ARPhysics
2669db7cd9e31918d8573e5a6bde654b443b0961
[ "MIT" ]
null
null
null
Demo App/Demos/BlackHoleDemo.cpp
aderussell/ARPhysics
2669db7cd9e31918d8573e5a6bde654b443b0961
[ "MIT" ]
null
null
null
// // BlackHoleDemo.cpp // Drawing // // Created by Adrian Russell on 16/12/2013. // Copyright (c) 2013 Adrian Russell. All rights reserved. // #include "BlackHoleDemo.h" //#include "TestingIndexing.h" #define NUMBER_OF_PARTICLES 90 #define COLLISION_LEVEL 1 // TODO: add ball bounce demo, roll down hill then fal...
29.008621
119
0.645468
aderussell
96dbe09ef61a26a313e8873b00859c7873396fe1
55,122
cpp
C++
qws/src/gui/QProgressDialog.cpp
keera-studios/hsQt
8aa71a585cbec40005354d0ee43bce9794a55a9a
[ "BSD-2-Clause" ]
42
2015-02-16T19:29:16.000Z
2021-07-25T11:09:03.000Z
qws/src/gui/QProgressDialog.cpp
keera-studios/hsQt
8aa71a585cbec40005354d0ee43bce9794a55a9a
[ "BSD-2-Clause" ]
1
2017-11-23T12:49:25.000Z
2017-11-23T12:49:25.000Z
qws/src/gui/QProgressDialog.cpp
keera-studios/hsQt
8aa71a585cbec40005354d0ee43bce9794a55a9a
[ "BSD-2-Clause" ]
5
2015-10-15T21:25:30.000Z
2017-11-22T13:18:24.000Z
///////////////////////////////////////////////////////////////////////////// // // File : QProgressDialog.cpp // Copyright : (c) David Harley 2010 // Project : qtHaskell // Version : 1.1.4 // Modified : 2010-09-02 17:02:01 // // Warning : this file is machine gener...
48.267951
135
0.67971
keera-studios
96e926f31d8751147f189670acb00d398d85fe05
3,743
inl
C++
libgpos/include/gpos/common/CSyncList.inl
bhuvnesh2703/gpos
bce4ed761ef35e2852691a86b8099d820844a3e8
[ "ECL-2.0", "Apache-2.0" ]
28
2016-01-29T08:27:42.000Z
2021-03-11T01:42:33.000Z
libgpos/include/gpos/common/CSyncList.inl
bhuvnesh2703/gpos
bce4ed761ef35e2852691a86b8099d820844a3e8
[ "ECL-2.0", "Apache-2.0" ]
22
2016-02-01T16:31:50.000Z
2017-07-13T13:25:53.000Z
libgpos/include/gpos/common/CSyncList.inl
bhuvnesh2703/gpos
bce4ed761ef35e2852691a86b8099d820844a3e8
[ "ECL-2.0", "Apache-2.0" ]
23
2016-01-28T03:19:24.000Z
2021-05-28T07:32:51.000Z
//--------------------------------------------------------------------------- // Greenplum Database // Copyright (C) 2011 EMC Corp. // // @filename: // CSyncList.inl // // @doc: // Implementation of template-based synchronized stack class with // minimum synchronization overhead; it provides a minimal set of // thr...
22.413174
86
0.517499
bhuvnesh2703
96f36a536c81d16403e31c0e0626bcdedbbc42f9
70,589
cpp
C++
SOMTRANSIT/MAXTRANSIT/samples/objects/particles/sflectrs/monoflector.cpp
SOM-Firmwide/SOMTRANSIT
a83879c3b60bd24c45bcf4c01fcd11632e799973
[ "MIT" ]
null
null
null
SOMTRANSIT/MAXTRANSIT/samples/objects/particles/sflectrs/monoflector.cpp
SOM-Firmwide/SOMTRANSIT
a83879c3b60bd24c45bcf4c01fcd11632e799973
[ "MIT" ]
null
null
null
SOMTRANSIT/MAXTRANSIT/samples/objects/particles/sflectrs/monoflector.cpp
SOM-Firmwide/SOMTRANSIT
a83879c3b60bd24c45bcf4c01fcd11632e799973
[ "MIT" ]
null
null
null
#include "MonoflectDialog.h" #include "sflectr.h" #include "MouseCursors.h" #define PLANAR 0 #define SPHERE 1 #define MESH 2 #define MONODEF_CUSTNAME_CHUNK 0x0100 static TriObject *IsUseable(Object *pobj,TimeValue t) { if (pobj->SuperClassID()==GEOMOBJECT_CLASS_ID) { if (pobj->IsSubClassOf(triObjectClassID)) ...
26.962949
183
0.674638
SOM-Firmwide
96f88728b851258c268edfef31d14199305c1a94
114
hpp
C++
src/events/event_data_main_menu.hpp
sfod/quoridor
a82b045fcf26ada34b802895f097c955103fbc14
[ "MIT" ]
null
null
null
src/events/event_data_main_menu.hpp
sfod/quoridor
a82b045fcf26ada34b802895f097c955103fbc14
[ "MIT" ]
31
2015-03-24T10:07:37.000Z
2016-04-20T15:11:18.000Z
src/events/event_data_main_menu.hpp
sfod/quoridor
a82b045fcf26ada34b802895f097c955103fbc14
[ "MIT" ]
null
null
null
#pragma once #include "event_data.hpp" class EventData_MainMenu : public EventDataCRTP<EventData_MainMenu> { };
16.285714
69
0.789474
sfod
96fce3f353f8351594637a8bee987e5bd6d13d02
2,628
cpp
C++
WholesomeEngine/WholesomeEngine/ModuleRender.cpp
HeladodePistacho/WholesomeEngine
e85b512f749d2f506cf5eb5603d2791e3221ccd5
[ "MIT" ]
null
null
null
WholesomeEngine/WholesomeEngine/ModuleRender.cpp
HeladodePistacho/WholesomeEngine
e85b512f749d2f506cf5eb5603d2791e3221ccd5
[ "MIT" ]
null
null
null
WholesomeEngine/WholesomeEngine/ModuleRender.cpp
HeladodePistacho/WholesomeEngine
e85b512f749d2f506cf5eb5603d2791e3221ccd5
[ "MIT" ]
null
null
null
#include "ModuleRender.h" #include "VulkanLogicalDevice.h" #include <SDL2/SDL_vulkan.h> ModuleRender::ModuleRender() : Module(), vulkan_logic_device(std::make_unique<VulkanLogicalDevice>()) { DEBUG::LOG("CREATING MODULE RENDER", nullptr); } ModuleRender::~ModuleRender() { } ENGINE_STATUS ModuleRender::Init() { EN...
27.663158
151
0.741248
HeladodePistacho
8c014f51a2cab44ee6711e258b41c8dcac4991fb
8,596
hpp
C++
src/control/modules/motion-control/PidMotionController.hpp
CollinAvidano/robocup-firmware
847900af9a4a4b3aef4b9aab494b75723b3e10a4
[ "Apache-2.0" ]
null
null
null
src/control/modules/motion-control/PidMotionController.hpp
CollinAvidano/robocup-firmware
847900af9a4a4b3aef4b9aab494b75723b3e10a4
[ "Apache-2.0" ]
null
null
null
src/control/modules/motion-control/PidMotionController.hpp
CollinAvidano/robocup-firmware
847900af9a4a4b3aef4b9aab494b75723b3e10a4
[ "Apache-2.0" ]
null
null
null
#pragma once #include <array> #include <rc-fshare/pid.hpp> #include <rc-fshare/robot_model.hpp> #include "FPGA.hpp" #include "MPU6050.h" #include "RobotDevices.hpp" /** * Robot controller that runs a PID loop on each of the four wheels. */ class PidMotionController { public: PidMotionController() : imu...
32.315789
80
0.57201
CollinAvidano
8c04536827b6cd7253ac2c9620a3e66ef580ce61
743
cpp
C++
modules/engine/src/Render/Shape/Cuboid.cpp
litty-studios/randar
95daae57b1ec7d87194cdbcf6e3946b4ed9fc79b
[ "MIT" ]
1
2016-11-12T02:43:29.000Z
2016-11-12T02:43:29.000Z
modules/engine/src/Render/Shape/Cuboid.cpp
litty-studios/randar
95daae57b1ec7d87194cdbcf6e3946b4ed9fc79b
[ "MIT" ]
null
null
null
modules/engine/src/Render/Shape/Cuboid.cpp
litty-studios/randar
95daae57b1ec7d87194cdbcf6e3946b4ed9fc79b
[ "MIT" ]
null
null
null
#include <randar/Render/Shape.hpp> randar::Geometry randar::cuboid( float width, float height, float depth, const randar::Palette& palette) { randar::Geometry geo; Vertex vert; float rw = width / 2.0f; float rh = height / 2.0f; float rd = depth / 2.0f; // Front faces. vert...
19.051282
37
0.585464
litty-studios
8c076bb1dcc30a6ef07be1b58b7d4608d8839627
26,180
cpp
C++
TommyGun/Plugins/Common/ZXPlugin.cpp
tonyt73/TommyGun
2c2ffae3dcd5dc25fd64d68a9f4cc96d99a1cd36
[ "BSD-3-Clause" ]
34
2017-05-08T18:39:13.000Z
2022-02-13T05:05:33.000Z
TommyGun/Plugins/Common/ZXPlugin.cpp
tonyt73/TommyGun
2c2ffae3dcd5dc25fd64d68a9f4cc96d99a1cd36
[ "BSD-3-Clause" ]
null
null
null
TommyGun/Plugins/Common/ZXPlugin.cpp
tonyt73/TommyGun
2c2ffae3dcd5dc25fd64d68a9f4cc96d99a1cd36
[ "BSD-3-Clause" ]
6
2017-05-27T01:14:20.000Z
2020-01-20T14:54:30.000Z
/*--------------------------------------------------------------------------- (c) 2004 Scorpio Software 19 Wittama Drive Glenmore Park Sydney NSW 2745 Australia ----------------------------------------------------------------------------- $Workfile:: ...
40.463679
270
0.48793
tonyt73
8c0f4a16c4ad021c7425668ee79e817ec0537b17
4,186
hpp
C++
TBDAnnotation/src/Model/CustomPermutation.hpp
marcorighini/tbdannotation
f22d395fce5c6c1007177623b0a0c60f7fcb9d4f
[ "Apache-2.0" ]
1
2021-06-13T10:49:43.000Z
2021-06-13T10:49:43.000Z
TBDAnnotation/src/Model/CustomPermutation.hpp
marcorighini/tbdannotation
f22d395fce5c6c1007177623b0a0c60f7fcb9d4f
[ "Apache-2.0" ]
null
null
null
TBDAnnotation/src/Model/CustomPermutation.hpp
marcorighini/tbdannotation
f22d395fce5c6c1007177623b0a0c60f7fcb9d4f
[ "Apache-2.0" ]
null
null
null
/* * CustomPermutation.hpp * * Created on: 16/mag/2013 * Author: alessandro */ #ifndef CUSTOMPERMUTATION_HPP_ #define CUSTOMPERMUTATION_HPP_ #include <vector> #include <algorithm> #include <numeric> namespace cp { /* * Custom next combination generator */ template<typename T> class NextCombinationGener...
23.649718
119
0.685141
marcorighini
8c110ee1d74b8c5c653df52a16a392ac74ba6d7c
3,697
cpp
C++
x_track/Application/X-Track.cpp
liushiwei/lv_port_linux_frame_buffer
17b822a68f8390df1e3b2c09319899c9c61dd72d
[ "MIT" ]
null
null
null
x_track/Application/X-Track.cpp
liushiwei/lv_port_linux_frame_buffer
17b822a68f8390df1e3b2c09319899c9c61dd72d
[ "MIT" ]
null
null
null
x_track/Application/X-Track.cpp
liushiwei/lv_port_linux_frame_buffer
17b822a68f8390df1e3b2c09319899c9c61dd72d
[ "MIT" ]
null
null
null
/* * PROJECT: LVGL ported to Linux * FILE: X-Track.cpp * PURPOSE: Implementation for LVGL ported to Linux * * LICENSE: The MIT License * * DEVELOPER: AlgoIdeas */ #include "App.h" #include "Common/HAL/HAL.h" #include <stdio.h> #include <errno.h> #include <unistd.h> #include <stdlib.h> #include <un...
24.163399
84
0.660536
liushiwei
8c15797d0b5214691dd3a7baf2b83c5bab34cf0e
854
cpp
C++
snippets/cpp/VS_Snippets_Data/Classic WebData XmlDocumentFragment.OwnerDocument Example/CPP/source.cpp
BohdanMosiyuk/samples
59d435ba9e61e0fc19f5176c96b1cdbd53596142
[ "CC-BY-4.0", "MIT" ]
2
2020-03-12T19:26:36.000Z
2022-01-10T21:45:33.000Z
snippets/cpp/VS_Snippets_Data/Classic WebData XmlDocumentFragment.OwnerDocument Example/CPP/source.cpp
BohdanMosiyuk/samples
59d435ba9e61e0fc19f5176c96b1cdbd53596142
[ "CC-BY-4.0", "MIT" ]
555
2019-09-23T22:22:58.000Z
2021-07-15T18:51:12.000Z
snippets/cpp/VS_Snippets_Data/Classic WebData XmlDocumentFragment.OwnerDocument Example/CPP/source.cpp
BohdanMosiyuk/samples
59d435ba9e61e0fc19f5176c96b1cdbd53596142
[ "CC-BY-4.0", "MIT" ]
3
2020-01-29T16:31:15.000Z
2021-08-24T07:00:15.000Z
// <Snippet1> #using <System.Xml.dll> using namespace System; using namespace System::IO; using namespace System::Xml; int main() { // Create the XmlDocument. XmlDocument^ doc = gcnew XmlDocument; doc->LoadXml( "<items/>" ); // Create a document fragment. XmlDocumentFragment^ docFrag = doc->Cr...
25.878788
64
0.68267
BohdanMosiyuk
22c5954e42da3d4b70d11c6e28f6facac8537e77
874
cpp
C++
modules/task_2/yashin_k_topology_star/topology_star.cpp
Stepakrap/pp_2021_autumn
716803a14183172337d51712fb28fe8e86891a3d
[ "BSD-3-Clause" ]
1
2021-12-09T17:20:25.000Z
2021-12-09T17:20:25.000Z
modules/task_2/yashin_k_topology_star/topology_star.cpp
Stepakrap/pp_2021_autumn
716803a14183172337d51712fb28fe8e86891a3d
[ "BSD-3-Clause" ]
null
null
null
modules/task_2/yashin_k_topology_star/topology_star.cpp
Stepakrap/pp_2021_autumn
716803a14183172337d51712fb28fe8e86891a3d
[ "BSD-3-Clause" ]
3
2022-02-23T14:20:50.000Z
2022-03-30T09:00:02.000Z
// Copyright 2021 Yashin Kirill #include <mpi.h> #include <algorithm> #include <random> #include "../../../modules/task_2/yashin_k_topology_star/topology_star.h" int getRand(int min, int max) { if (min == max) { return max; } else { std::mt19937 gen; std::uniform_int_distribution<> distr{m...
21.317073
74
0.543478
Stepakrap
22c6082b118ca58824432a9561c72c53a5c49d74
10,452
cpp
C++
lib/libstereo/src/stereo_sgmp.cpp
knicos/voltu
70b39da7069f8ffd7e33aeb5bdacc84fe4a78f01
[ "MIT" ]
4
2020-12-28T15:29:15.000Z
2021-06-27T12:37:15.000Z
lib/libstereo/src/stereo_sgmp.cpp
knicos/voltu
70b39da7069f8ffd7e33aeb5bdacc84fe4a78f01
[ "MIT" ]
null
null
null
lib/libstereo/src/stereo_sgmp.cpp
knicos/voltu
70b39da7069f8ffd7e33aeb5bdacc84fe4a78f01
[ "MIT" ]
2
2021-01-13T05:28:39.000Z
2021-05-04T03:37:11.000Z
#include <opencv2/core.hpp> #include <opencv2/imgproc.hpp> #include "stereo.hpp" #include "matching_cost.hpp" #include "stereo_common.hpp" #include "dsi.hpp" #include "cost_aggregation.hpp" #ifdef __GNUG__ #include <chrono> #include <iostream> /* static std::chrono::time_point<std::chrono::system_clock> start; sta...
26.460759
110
0.658821
knicos
22d62a307f51a45b8905990dacdfc65973ff971f
6,313
cpp
C++
engine/source/kernel/storage/pack/storage_pack.cpp
skarab/coffee-master
6c3ff71b7f15735e41c9859b6db981b94414c783
[ "MIT" ]
null
null
null
engine/source/kernel/storage/pack/storage_pack.cpp
skarab/coffee-master
6c3ff71b7f15735e41c9859b6db981b94414c783
[ "MIT" ]
null
null
null
engine/source/kernel/storage/pack/storage_pack.cpp
skarab/coffee-master
6c3ff71b7f15735e41c9859b6db981b94414c783
[ "MIT" ]
null
null
null
#include "kernel/storage/pack/storage_pack.h" #include "kernel/core/core.h" #include "kernel/storage/logical/storage_system.h" namespace coffee { namespace storage { //-CONSTRUCTORS-------------------------------------------------------------------------------// Pack::Pack() : _FileAccess(NULL), ...
30.795122
100
0.456994
skarab
22e9d3b20d72b678ea7e97fcb5e007aa1610185d
256
cpp
C++
c++/day14/16.cpp
msoild/sword-to-offer
6c15c78ad773da0b66cb76c9e01292851aca45c5
[ "MIT" ]
null
null
null
c++/day14/16.cpp
msoild/sword-to-offer
6c15c78ad773da0b66cb76c9e01292851aca45c5
[ "MIT" ]
null
null
null
c++/day14/16.cpp
msoild/sword-to-offer
6c15c78ad773da0b66cb76c9e01292851aca45c5
[ "MIT" ]
null
null
null
class Solution { public: //notite size string replaceSpaces(string &str) { string retStr; for(auto&x : str) { if(x == ' ') retStr += "%20"; else retStr += x; } return retStr; } };
19.692308
41
0.445313
msoild
22f8b342aba95d8164beb293b3881536556a0fda
2,251
cpp
C++
day3/2.cpp
gian21391/advent_of_code-2021
2aa55a96e73cf7bb5ad152677e2136ca4eca1552
[ "MIT" ]
null
null
null
day3/2.cpp
gian21391/advent_of_code-2021
2aa55a96e73cf7bb5ad152677e2136ca4eca1552
[ "MIT" ]
null
null
null
day3/2.cpp
gian21391/advent_of_code-2021
2aa55a96e73cf7bb5ad152677e2136ca4eca1552
[ "MIT" ]
null
null
null
// // Created by Gianluca on 03/12/2021. // SPDX-License-Identifier: MIT // #include <utility/enumerate.hpp> #include <fstream> #include <cassert> #include <vector> #include <iostream> struct bit_values { int zeros = 0; int ones = 0; }; int main() { auto file = std::ifstream("../day3/input"); assert(file.is...
26.797619
92
0.625944
gian21391
22f92505909979895d6ff6045bbe2e6634e2477a
2,313
cpp
C++
thirdparty/threadpool/util.cpp
lynex/nnfusion
6332697c71b6614ca6f04c0dac8614636882630d
[ "MIT" ]
639
2020-09-05T10:00:59.000Z
2022-03-30T08:42:39.000Z
thirdparty/threadpool/util.cpp
QPC-database/nnfusion
99ada47c50f355ca278001f11bc752d1c7abcee2
[ "MIT" ]
252
2020-09-09T05:35:36.000Z
2022-03-29T04:58:41.000Z
thirdparty/threadpool/util.cpp
QPC-database/nnfusion
99ada47c50f355ca278001f11bc752d1c7abcee2
[ "MIT" ]
104
2020-09-05T10:01:08.000Z
2022-03-23T10:59:13.000Z
#define NOMINMAX #include "util.h" #include "hwloc.h" #include <algorithm> namespace concurrency { static hwloc_topology_t hwloc_topology_handle; bool HaveHWLocTopology() { // One time initialization static bool init = []() { if (hwloc_topology_init(&hwloc_topology_handle)) { //LOG(ERROR) << "Call to hw...
28.207317
80
0.675746
lynex
22f9a3ef4f2362a80ba6c70ed0535f554d603db7
987
cc
C++
src/leetcode/leetcode226_invert_binary_tree.cc
zhaozigu/algs-multi-langs
65ef5fc6df6236064a5c81e5bb7e99c4bae044a7
[ "CNRI-Python" ]
null
null
null
src/leetcode/leetcode226_invert_binary_tree.cc
zhaozigu/algs-multi-langs
65ef5fc6df6236064a5c81e5bb7e99c4bae044a7
[ "CNRI-Python" ]
null
null
null
src/leetcode/leetcode226_invert_binary_tree.cc
zhaozigu/algs-multi-langs
65ef5fc6df6236064a5c81e5bb7e99c4bae044a7
[ "CNRI-Python" ]
null
null
null
// https://leetcode-cn.com/problems/Invert-Binary-Tree/ #include <algorithm> using namespace std; #include "treenode.hpp" class Solution { public: TreeNode *invertTree(TreeNode *root) { if (root == nullptr) { return nullptr; } TreeNode *right_tree = root->right; root->right = invertTree(r...
25.973684
93
0.676798
zhaozigu
fe083697651f5529af34a59b39b2229678d9ad23
1,479
cpp
C++
Conta/src/conta.cpp
Italo1994/LAB03
6a0137690174c15f64cf54df9c4ceec7f05c2c19
[ "MIT" ]
null
null
null
Conta/src/conta.cpp
Italo1994/LAB03
6a0137690174c15f64cf54df9c4ceec7f05c2c19
[ "MIT" ]
null
null
null
Conta/src/conta.cpp
Italo1994/LAB03
6a0137690174c15f64cf54df9c4ceec7f05c2c19
[ "MIT" ]
null
null
null
#include <string> #include "conta.h" using std::string; Conta::Conta(string m_agencia, int m_numero, double m_saldo, string m_status, double m_limite, double m_limiteDisponivel, int m_movimentacao, int m_numMovimentacoes) : agencia(m_agencia), numero(m_numero), saldo(m_saldo), status(m_status), limite(m_limite), ...
17.4
198
0.716024
Italo1994
fe0911dcb842e5ffe140d34cc914a5fbd5fc8d6b
1,295
cc
C++
file_position.cc
codedumper1/mysql-ripple
bb9e3656519597c97d2c67ace918022c9b669d58
[ "Apache-2.0" ]
358
2019-01-25T22:47:12.000Z
2022-03-25T09:35:03.000Z
file_position.cc
codedumper1/mysql-ripple
bb9e3656519597c97d2c67ace918022c9b669d58
[ "Apache-2.0" ]
30
2019-01-29T22:13:30.000Z
2022-01-07T01:50:33.000Z
file_position.cc
codedumper1/mysql-ripple
bb9e3656519597c97d2c67ace918022c9b669d58
[ "Apache-2.0" ]
44
2019-01-28T06:34:45.000Z
2022-01-15T09:36:58.000Z
// Copyright 2018 The Ripple Authors // // 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 agree...
26.979167
75
0.648649
codedumper1
fe09186af8bdb23aa48d1b950473fe8d7e26f176
230
cpp
C++
SculptEngine/CppLib/src/Collisions/Ray.cpp
ErwanLeGoffic/Tectrid
81eb17410339c683905c0f7f16dc4f1dd6b6ddeb
[ "MIT" ]
2
2019-12-14T02:06:52.000Z
2022-01-12T19:25:03.000Z
SculptEngine/CppLib/src/Collisions/Ray.cpp
ErwanLeGoffic/Tectrid
81eb17410339c683905c0f7f16dc4f1dd6b6ddeb
[ "MIT" ]
1
2020-02-08T07:34:49.000Z
2020-02-08T07:34:49.000Z
SculptEngine/CppLib/src/Collisions/Ray.cpp
ErwanLeGoffic/Tectrid
81eb17410339c683905c0f7f16dc4f1dd6b6ddeb
[ "MIT" ]
1
2019-01-27T22:32:49.000Z
2019-01-27T22:32:49.000Z
#include "Ray.h" #ifdef __EMSCRIPTEN__ #include <emscripten/bind.h> using namespace emscripten; EMSCRIPTEN_BINDINGS(Ray) { class_<Ray>("Ray") .constructor<Vector3 const&, Vector3 const&, float>(); } #endif // __EMSCRIPTEN__
17.692308
56
0.734783
ErwanLeGoffic
fe0af7278502ff2500ff9a70862a33d3c134cb55
2,177
hpp
C++
Lab2/Lab2/CircularQueue.hpp
erickque/mte-140
d6d48a72b51c8223fa95655be132fe5b18bd8e7d
[ "BSD-4-Clause-UC" ]
null
null
null
Lab2/Lab2/CircularQueue.hpp
erickque/mte-140
d6d48a72b51c8223fa95655be132fe5b18bd8e7d
[ "BSD-4-Clause-UC" ]
null
null
null
Lab2/Lab2/CircularQueue.hpp
erickque/mte-140
d6d48a72b51c8223fa95655be132fe5b18bd8e7d
[ "BSD-4-Clause-UC" ]
null
null
null
// CircularQueue implements a queue using an array as a circular track. #ifndef CIRCULAR_QUEUE_HPP #define CIRCULAR_QUEUE_HPP class CircularQueue { friend class CircularQueueTest; public: // Can be seen outside as CircularQueue::QueueItem typedef int QueueItem; // Used as an indicator...
31.550725
82
0.663757
erickque
fe107a95debad2e1e40da444af800d98800874c2
524
cpp
C++
Plugins/GeometryCache/Source/GeometryCache/Private/GeometryCacheModule.cpp
greenrainstudios/AlembicUtilities
3970988065aef6861898a5185495e784a0c43ecb
[ "MIT" ]
null
null
null
Plugins/GeometryCache/Source/GeometryCache/Private/GeometryCacheModule.cpp
greenrainstudios/AlembicUtilities
3970988065aef6861898a5185495e784a0c43ecb
[ "MIT" ]
null
null
null
Plugins/GeometryCache/Source/GeometryCache/Private/GeometryCacheModule.cpp
greenrainstudios/AlembicUtilities
3970988065aef6861898a5185495e784a0c43ecb
[ "MIT" ]
1
2021-01-22T09:11:51.000Z
2021-01-22T09:11:51.000Z
// Copyright Epic Games, Inc. All Rights Reserved. #include "GeometryCacheModule.h" #if WITH_EDITOR #include "GeometryCacheEdModule.h" #endif // WITH_EDITOR #include "CodecV1.h" IMPLEMENT_MODULE(FGeometryCacheModule, GeometryCache) void FGeometryCacheModule::StartupModule() { #if WITH_EDITOR FGeometryC...
22.782609
118
0.767176
greenrainstudios
fe1773f4e57c483aeb5dd5e7c9771ca215ff0e08
4,298
cpp
C++
expressions/aggregation/AggregationHandleMax.cpp
Hacker0912/quickstep-datalog
1de22e7ab787b5efa619861a167a097ff6a4f549
[ "Apache-2.0" ]
82
2016-04-18T03:59:06.000Z
2019-02-04T11:46:08.000Z
expressions/aggregation/AggregationHandleMax.cpp
Hacker0912/quickstep-datalog
1de22e7ab787b5efa619861a167a097ff6a4f549
[ "Apache-2.0" ]
265
2016-04-19T17:52:43.000Z
2018-10-11T17:55:08.000Z
expressions/aggregation/AggregationHandleMax.cpp
Hacker0912/quickstep-datalog
1de22e7ab787b5efa619861a167a097ff6a4f549
[ "Apache-2.0" ]
68
2016-04-18T05:00:34.000Z
2018-10-30T12:41:02.000Z
/** * 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 * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
38.035398
81
0.769195
Hacker0912
fe2243b3722b197b9f5544425a57ac2fb289dfc5
14,942
cpp
C++
Rendering/Renderer.cpp
CakeWithSteak/fpf
e3a48478215a5b8623f0df76f730534b545ae9c3
[ "MIT" ]
null
null
null
Rendering/Renderer.cpp
CakeWithSteak/fpf
e3a48478215a5b8623f0df76f730534b545ae9c3
[ "MIT" ]
null
null
null
Rendering/Renderer.cpp
CakeWithSteak/fpf
e3a48478215a5b8623f0df76f730534b545ae9c3
[ "MIT" ]
null
null
null
#include "glad/glad.h" #include "Renderer.h" #include <vector> #include <stdexcept> #include <cuda_runtime.h> #include <cuda_gl_interop.h> #include <driver_types.h> #include <algorithm> #include "../Computation/safeCall.h" #include "utils.h" #include "../Computation/shared_types.h" float data[] = { //XY position a...
37.923858
240
0.715433
CakeWithSteak
fe2616d15d918ea2abc95cd86f753a5351b1eb7a
5,200
cpp
C++
example/offscreen.cpp
UsiTarek/vkfw
ed25b204146ce4013597706ccce3e72f49ae3462
[ "Apache-2.0" ]
33
2021-01-20T17:10:26.000Z
2022-03-27T03:32:21.000Z
example/offscreen.cpp
UsiTarek/vkfw
ed25b204146ce4013597706ccce3e72f49ae3462
[ "Apache-2.0" ]
1
2022-03-25T22:55:27.000Z
2022-03-26T06:55:29.000Z
example/offscreen.cpp
UsiTarek/vkfw
ed25b204146ce4013597706ccce3e72f49ae3462
[ "Apache-2.0" ]
5
2021-06-29T03:30:06.000Z
2022-03-25T22:57:02.000Z
//======================================================================== // Offscreen rendering example // Copyright (c) Camilla Löwy <elmindreda@glfw.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 // arising from t...
29.885057
77
0.693846
UsiTarek
fe2838a58a50c1f33922597e95e8dbd43e86961e
2,850
cpp
C++
day2/placement/data/data_maker/6/std.cpp
DiamondJack/CTSC2018
a3a6ed27d61915ce08bcce4160970a9aeea39a0c
[ "Apache-2.0" ]
2
2019-03-22T11:13:53.000Z
2020-08-28T03:05:02.000Z
day2/placement/data/data_maker/6/std.cpp
DiamondJack/CTSC2018
a3a6ed27d61915ce08bcce4160970a9aeea39a0c
[ "Apache-2.0" ]
null
null
null
day2/placement/data/data_maker/6/std.cpp
DiamondJack/CTSC2018
a3a6ed27d61915ce08bcce4160970a9aeea39a0c
[ "Apache-2.0" ]
null
null
null
#include<cstdio> #include<cstdlib> #include<cstring> #include<algorithm> using namespace std; const int maxn=2010; int n,m,k,en; int t[maxn][maxn],r[maxn][maxn],in[maxn]; int res[maxn]; bool use[maxn][maxn]; char args[100][100]; char djm[1000]; int ans=0x3f3f3f3f; struct edge { int e,f; edge *next,*op; }*v[...
15.405405
56
0.521754
DiamondJack
fe2a8e7b53edce67e0b7e90a6ec41f4a104a6f01
1,866
cpp
C++
classes/input/pointer.cpp
Patriccollu/smooth
8673d4702c55b1008bbcabddf7907da0e50505e4
[ "Artistic-2.0" ]
24
2017-08-22T15:55:34.000Z
2022-03-06T11:41:31.000Z
classes/input/pointer.cpp
Patriccollu/smooth
8673d4702c55b1008bbcabddf7907da0e50505e4
[ "Artistic-2.0" ]
6
2018-07-21T12:17:55.000Z
2021-08-12T11:27:27.000Z
classes/input/pointer.cpp
Patriccollu/smooth
8673d4702c55b1008bbcabddf7907da0e50505e4
[ "Artistic-2.0" ]
9
2017-09-13T02:32:18.000Z
2022-03-06T11:41:32.000Z
/* The smooth Class Library * Copyright (C) 1998-2013 Robert Kausch <robert.kausch@gmx.net> * * This library is free software; you can redistribute it and/or * modify it under the terms of "The Artistic License, Version 2.0". * * THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR * IMPLIED WARRA...
24.552632
87
0.706324
Patriccollu
fe2d3154917901af60089b6e1e1fe7d232382fd4
17,861
cpp
C++
src/universe/vehicle/plumbing/VehiclePlumbing.cpp
TheOpenSpaceProgram/new-ospgl
646ee5229ce4c35856aae0d41b514c86c33791a2
[ "MIT" ]
22
2019-11-15T22:07:17.000Z
2022-01-13T16:40:01.000Z
src/universe/vehicle/plumbing/VehiclePlumbing.cpp
TheOpenSpaceProgram/new-ospgl
646ee5229ce4c35856aae0d41b514c86c33791a2
[ "MIT" ]
25
2020-03-03T00:54:21.000Z
2021-12-30T16:24:22.000Z
src/universe/vehicle/plumbing/VehiclePlumbing.cpp
TheOpenSpaceProgram/new-ospgl
646ee5229ce4c35856aae0d41b514c86c33791a2
[ "MIT" ]
3
2020-03-04T00:36:13.000Z
2020-06-01T20:53:51.000Z
#include "VehiclePlumbing.h" #include "../Vehicle.h" // A reasonable multiplier to prevent extreme flow velocities // I don't know enough fluid mechanics as to determine a reasonable value // so it's arbitrary, chosen to approximate real life rocket values #define FLOW_MULTIPLIER 0.0002 void VehiclePlumbing::update_p...
21.339307
125
0.649516
TheOpenSpaceProgram
fe3125c25dd4ac57df2898f8d0bf16aefc42bcfb
502
hpp
C++
owl/scene/light.hpp
soerenkoenig/owl
ab10054514a7a5b12a6b81665b3b264cfe37b0f3
[ "MIT" ]
null
null
null
owl/scene/light.hpp
soerenkoenig/owl
ab10054514a7a5b12a6b81665b3b264cfe37b0f3
[ "MIT" ]
null
null
null
owl/scene/light.hpp
soerenkoenig/owl
ab10054514a7a5b12a6b81665b3b264cfe37b0f3
[ "MIT" ]
null
null
null
// // .___. // {o,o} // ./)_) // owl --"-"--- // // Copyright © 2018 Sören König. All rights reserved. // #pragma once #include <chrono> namespace owl { namespace scene { enum class light_type { ambient, directional, spot, point }; template<typename Sca...
12.55
54
0.5
soerenkoenig
fe33d099e9167369f55f319dc61a9bd1e9d9adf7
1,498
hpp
C++
SDK/ARKSurvivalEvolved_Buff_Radiation_Sickness_classes.hpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
10
2020-02-17T19:08:46.000Z
2021-07-31T11:07:19.000Z
SDK/ARKSurvivalEvolved_Buff_Radiation_Sickness_classes.hpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
9
2020-02-17T18:15:41.000Z
2021-06-06T19:17:34.000Z
SDK/ARKSurvivalEvolved_Buff_Radiation_Sickness_classes.hpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
3
2020-07-22T17:42:07.000Z
2021-06-19T17:16:13.000Z
#pragma once // ARKSurvivalEvolved (329.9) SDK #ifdef _MSC_VER #pragma pack(push, 0x8) #endif #include "ARKSurvivalEvolved_Buff_Radiation_Sickness_structs.hpp" namespace sdk { //--------------------------------------------------------------------------- //Classes //-------------------------------------------------...
34.045455
208
0.59012
2bite
fe3abe9f69d4ccbbdf68b5b27e766cafa3958e47
1,937
cpp
C++
tests/LpmSphereVoronoiMeshUnitTests.cpp
pbosler/lpmKokkos
c8b4a8478c08957ce70a6fbd7da00481c53414b9
[ "BSD-3-Clause" ]
null
null
null
tests/LpmSphereVoronoiMeshUnitTests.cpp
pbosler/lpmKokkos
c8b4a8478c08957ce70a6fbd7da00481c53414b9
[ "BSD-3-Clause" ]
18
2021-06-27T17:59:03.000Z
2022-02-22T03:41:27.000Z
tests/LpmSphereVoronoiMeshUnitTests.cpp
pbosler/lpmKokkos
c8b4a8478c08957ce70a6fbd7da00481c53414b9
[ "BSD-3-Clause" ]
null
null
null
#include "LpmConfig.h" #include "LpmDefs.hpp" #include "Kokkos_Core.hpp" #include "LpmMeshSeed.hpp" #include "LpmSphereVoronoiPrimitives.hpp" #include "LpmSphereVoronoiMesh.hpp" #include "LpmVtkIO.hpp" #include <iostream> #include <iomanip> #include <string> #include <exception> using namespace Lpm; using namespace V...
24.2125
101
0.603511
pbosler
fe3f3a182ade1097886de34a2afef91e94945431
4,877
cpp
C++
sources/Base/spVertexFormatUniversal.cpp
rontrek/softpixel
73a13a67e044c93f5c3da9066eedbaf3805d6807
[ "Zlib" ]
14
2015-08-16T21:05:20.000Z
2019-08-21T17:22:01.000Z
sources/Base/spVertexFormatUniversal.cpp
rontrek/softpixel
73a13a67e044c93f5c3da9066eedbaf3805d6807
[ "Zlib" ]
null
null
null
sources/Base/spVertexFormatUniversal.cpp
rontrek/softpixel
73a13a67e044c93f5c3da9066eedbaf3805d6807
[ "Zlib" ]
3
2016-10-31T06:08:44.000Z
2019-08-02T16:12:33.000Z
/* * Universal vertex format file * * This file is part of the "SoftPixel Engine" (Copyright (c) 2008 by Lukas Hermanns) * See "SoftPixelEngine.hpp" for license information. */ #include "Base/spVertexFormatUniversal.hpp" #include "RenderSystem/spRenderSystem.hpp" namespace sp { extern video::RenderSystem* Glb...
28.688235
137
0.67316
rontrek
fe414fd5ca9e82c15c166379487841e8f3ede12f
1,841
hpp
C++
GenericSimulator/GenericSimulatorTemplates/core/EntityFreeFunc.hpp
ducis/pile-of-cpp
af5a123ec67cff589f27bf20d435b2db29a0a7c8
[ "MIT" ]
null
null
null
GenericSimulator/GenericSimulatorTemplates/core/EntityFreeFunc.hpp
ducis/pile-of-cpp
af5a123ec67cff589f27bf20d435b2db29a0a7c8
[ "MIT" ]
null
null
null
GenericSimulator/GenericSimulatorTemplates/core/EntityFreeFunc.hpp
ducis/pile-of-cpp
af5a123ec67cff589f27bf20d435b2db29a0a7c8
[ "MIT" ]
null
null
null
//#pragma once // //#include <Meta/entity.hpp> //#include <entity_as_boost_fusion_sequence.hpp> // //namespace GenericSim{ // namespace Entities{ // template < // typename GenericSim::Meta::GetEntityLabels<_Entity>::Type N0, // typename _Entity // > // typename GenericSim::Meta::GetEntityAtResultType...
36.82
97
0.674633
ducis