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
3a8fd0cf7349d21a042a8622032db2163ad3ee3e
3,101
cpp
C++
bbp/src/uwsr/FEM/TimeSeries.cpp
alborzgh/bbp
bc0cce2378aa071a5537d25c1a738e58ef610561
[ "Apache-2.0" ]
null
null
null
bbp/src/uwsr/FEM/TimeSeries.cpp
alborzgh/bbp
bc0cce2378aa071a5537d25c1a738e58ef610561
[ "Apache-2.0" ]
null
null
null
bbp/src/uwsr/FEM/TimeSeries.cpp
alborzgh/bbp
bc0cce2378aa071a5537d25c1a738e58ef610561
[ "Apache-2.0" ]
1
2018-11-12T23:10:02.000Z
2018-11-12T23:10:02.000Z
/* ****************************************************************** ** ** OpenSees - Open System for Earthquake Engineering Simulation ** ** Pacific Earthquake Engineering Research Center ** ** ** ** ...
36.916667
92
0.484682
alborzgh
3a9236fec512c775525916ff8d95ec714093a84a
1,415
cc
C++
src/lib/Support/PrintAST.cc
rawatamit/eval
3de940e4cd7acae6a4b29c1723bf68518373067f
[ "MIT" ]
null
null
null
src/lib/Support/PrintAST.cc
rawatamit/eval
3de940e4cd7acae6a4b29c1723bf68518373067f
[ "MIT" ]
null
null
null
src/lib/Support/PrintAST.cc
rawatamit/eval
3de940e4cd7acae6a4b29c1723bf68518373067f
[ "MIT" ]
null
null
null
#include "Support/PrintAST.h" PrintAST::PrintAST(AST* ast, std::ostream& out) : ast_(ast), out_(out), indent_(0) { } PrintAST::~PrintAST() { } void PrintAST::print() { ast_->accept(this); out_ << '\n'; } void PrintAST::visit(IntegerLiteral* il) { out_ << std::string(indent_, ' ') << "<integ...
25.727273
66
0.534982
rawatamit
3a976ba4840c293424d9a199d7aaa6b55dd81fe6
2,241
cpp
C++
Matrix/Matrix Multiplication/matrix_multiplication.cpp
nehalgupta8501/Ultimate-Logic
901ba37ec3b02568b23c678aec289b7b3c928bd4
[ "MIT" ]
1
2020-10-11T07:09:28.000Z
2020-10-11T07:09:28.000Z
Matrix/Matrix Multiplication/matrix_multiplication.cpp
nehalgupta8501/Ultimate-Logic
901ba37ec3b02568b23c678aec289b7b3c928bd4
[ "MIT" ]
null
null
null
Matrix/Matrix Multiplication/matrix_multiplication.cpp
nehalgupta8501/Ultimate-Logic
901ba37ec3b02568b23c678aec289b7b3c928bd4
[ "MIT" ]
1
2020-10-11T15:51:50.000Z
2020-10-11T15:51:50.000Z
/** * This is a C++ program to multiply two matrices. * * Author: samkit96 **/ #include <iostream> using namespace std; bool isValidInput(int total_columns1, int total_rows2) { return (total_columns1 == total_rows2); } int main() { int total_rows1, total_columns1, total_rows2, total_columns2; ...
23.103093
126
0.535475
nehalgupta8501
3a9db2362767048759bde2e3046e82bf6987a58e
706
hpp
C++
tests/node_uptr.hpp
p-groarke/fea_flat_recurse
3d4545c233d0557d9a0ceeba0f0f3301f055976f
[ "BSD-3-Clause" ]
4
2021-01-23T03:35:33.000Z
2022-03-19T03:04:28.000Z
tests_cpp14/flat_recurse/node_uptr.hpp
p-groarke/fea_libs
b7ddec06be807efb0eba51cf52bedf1cd800ef52
[ "BSD-3-Clause" ]
null
null
null
tests_cpp14/flat_recurse/node_uptr.hpp
p-groarke/fea_libs
b7ddec06be807efb0eba51cf52bedf1cd800ef52
[ "BSD-3-Clause" ]
null
null
null
#pragma once #include <limits> #include <memory> #include <random> #include <utility> struct node_uptr { node_uptr(node_uptr* parent); void create_graph(const size_t max_depth, const size_t num_children, const size_t depth = 0); const std::vector<std::unique_ptr<node_uptr>>& children() const; std::vector<std:...
23.533333
69
0.733711
p-groarke
3a9f6a73eb313f9f055ef6b4243e9d029dcc05fb
14,477
cc
C++
mediapipe/calculators/tensorflow/object_detection_tensors_to_detections_calculator_test.cc
Ensteinjun/mediapipe
38be2ec58f2a1687f4ffca287094c7bbd7791f58
[ "Apache-2.0" ]
47
2019-12-29T02:52:48.000Z
2022-02-21T08:39:14.000Z
mediapipe/calculators/tensorflow/object_detection_tensors_to_detections_calculator_test.cc
Ensteinjun/mediapipe
38be2ec58f2a1687f4ffca287094c7bbd7791f58
[ "Apache-2.0" ]
5
2020-07-28T14:11:21.000Z
2021-05-02T10:11:29.000Z
mediapipe/calculators/tensorflow/object_detection_tensors_to_detections_calculator_test.cc
Ensteinjun/mediapipe
38be2ec58f2a1687f4ffca287094c7bbd7791f58
[ "Apache-2.0" ]
41
2020-01-27T00:30:43.000Z
2022-03-24T01:35:19.000Z
// Copyright 2018 The MediaPipe 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 a...
40.66573
80
0.670097
Ensteinjun
3aa023e22e452ff23eaf29b7ea2b2e1a888a31b7
332
cpp
C++
C++/uri1018.cpp
AugustoDipNiloy/Uri-Solution
7f455395bbbe55edce8d12afd80fa5ebd03d17a1
[ "MIT" ]
1
2020-11-09T17:06:43.000Z
2020-11-09T17:06:43.000Z
C++/uri1018.cpp
AugustoDipNiloy/Uri-Solution
7f455395bbbe55edce8d12afd80fa5ebd03d17a1
[ "MIT" ]
null
null
null
C++/uri1018.cpp
AugustoDipNiloy/Uri-Solution
7f455395bbbe55edce8d12afd80fa5ebd03d17a1
[ "MIT" ]
2
2020-07-29T09:33:29.000Z
2020-08-02T08:44:36.000Z
#include <bits/stdc++.h> using namespace std; int main(void) { int arr[] = {100, 50, 20, 10, 5, 2, 1}; int n; cin >> n; cout << n << endl; for(int i = 0; i < 7; i++){ int a = n / arr[i]; cout << a << " nota(s) de R$ " << arr[i] << ",00" << endl; n -= a * arr[i]; } ...
17.473684
66
0.406627
AugustoDipNiloy
3aa0efd5584cec2c30c5249b28a7afca6a2b8d58
259
cpp
C++
abc031_a.cpp
Lockdef/kyopro-code
2d943a87987af05122c556e173e5108a0c1c77c8
[ "MIT" ]
null
null
null
abc031_a.cpp
Lockdef/kyopro-code
2d943a87987af05122c556e173e5108a0c1c77c8
[ "MIT" ]
null
null
null
abc031_a.cpp
Lockdef/kyopro-code
2d943a87987af05122c556e173e5108a0c1c77c8
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; #define print(x) cout << x << endl; #define input(x) cin >> x; int main() { int A, D; input(A); input(D); cout << ((A + 1) * D > A * (D + 1) ? (A + 1) * D : A * (D + 1)) << endl; return 0; }
17.266667
76
0.467181
Lockdef
3aa2373e8cb224e1acd2f973063e1ac36a281a88
5,227
cpp
C++
mem-benches-oneshot.cpp
mfleming/uarch-bench
a87790f76e02913fdafa2723fb0c99c485c93822
[ "MIT" ]
1
2021-07-07T04:23:34.000Z
2021-07-07T04:23:34.000Z
mem-benches-oneshot.cpp
mfleming/uarch-bench
a87790f76e02913fdafa2723fb0c99c485c93822
[ "MIT" ]
null
null
null
mem-benches-oneshot.cpp
mfleming/uarch-bench
a87790f76e02913fdafa2723fb0c99c485c93822
[ "MIT" ]
null
null
null
/* * default_benches.cpp * * Various "default" benchmarks. */ #include "benchmark.hpp" #include "oneshot.hpp" #include "libpfc-raw-helpers.hpp" #include "util.hpp" #include <emmintrin.h> #include <random> extern "C" { bench2_f oneshot_try1; bench2_f oneshot_try2; bench2_f oneshot_try2_4; bench2_f oneshot_try2_1...
32.465839
151
0.674766
mfleming
3aa325370b1fbe87f45a9c3f52024915a0926ec9
7,447
cc
C++
src/core/pinned_memory_manager.cc
sinaure/server
e214447ae534a472bf8aaeff0e8024a3dc936ad2
[ "BSD-3-Clause" ]
1
2021-03-15T07:15:50.000Z
2021-03-15T07:15:50.000Z
src/core/pinned_memory_manager.cc
sinaure/server
e214447ae534a472bf8aaeff0e8024a3dc936ad2
[ "BSD-3-Clause" ]
null
null
null
src/core/pinned_memory_manager.cc
sinaure/server
e214447ae534a472bf8aaeff0e8024a3dc936ad2
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2019, NVIDIA CORPORATION. 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 of condi...
30.900415
79
0.66604
sinaure
3aa6bbb8f79d95dff5c4fff248e4bbfc2c149a8c
5,401
hpp
C++
src/PDE/PDEFactory.hpp
franjgonzalez/Quinoa
411eb8815e92618c563881b784e287e2dd916f89
[ "RSA-MD" ]
null
null
null
src/PDE/PDEFactory.hpp
franjgonzalez/Quinoa
411eb8815e92618c563881b784e287e2dd916f89
[ "RSA-MD" ]
null
null
null
src/PDE/PDEFactory.hpp
franjgonzalez/Quinoa
411eb8815e92618c563881b784e287e2dd916f89
[ "RSA-MD" ]
null
null
null
// ***************************************************************************** /*! \file src/PDE/PDEFactory.hpp \copyright 2012-2015 J. Bakosi, 2016-2018 Los Alamos National Security, LLC., 2019 Triad National Security, LLC. All rights reserved. See the LICENSE file for...
43.208
80
0.66821
franjgonzalez
3aa81df4c9d6cf059f1a8eaa6a66d78719fd0527
4,715
cpp
C++
Light Engine/src/Platform/Opengl/glGraphicsContext.cpp
Light3039/Old-LightEngine
3a8c920bdc9b2468b2ab11215d6938de19cee394
[ "MIT" ]
10
2019-12-23T12:20:44.000Z
2020-06-03T09:50:04.000Z
Light Engine/src/Platform/Opengl/glGraphicsContext.cpp
Light3039/Old-LightEngine
3a8c920bdc9b2468b2ab11215d6938de19cee394
[ "MIT" ]
2
2020-01-21T21:26:06.000Z
2020-03-04T15:56:43.000Z
Light Engine/src/Platform/Opengl/glGraphicsContext.cpp
Verodicia/LightEngine
3a8c920bdc9b2468b2ab11215d6938de19cee394
[ "MIT" ]
null
null
null
#include "ltpch.h" #include "glGraphicsContext.h" #include "Core/Monitor.h" #include "Core/Window.h" #include "Debug/Exceptions.h" #include "glDebug/glToString.h" #include <glad/glad.h> #include <glfw/glfw3.h> namespace Light { glGraphicsContext::glGraphicsContext(const GraphicsConfigurations& configurations) ...
29.841772
122
0.706045
Light3039
3aa86ab52c071a902d55c2bff7e14dce79ce34a7
675
cpp
C++
soluciones/RPC/2020-4/C-long_long_long_is_too_long.cpp
AxlKings/ProgramacionCompetitivaUSM
a6711f93ce819e4a91751d19e1d1bfcae545fc9a
[ "MIT" ]
4
2020-03-30T18:29:50.000Z
2020-10-02T03:09:23.000Z
soluciones/RPC/2020-4/C-long_long_long_is_too_long.cpp
AxlKings/ProgramacionCompetitivaUSM
a6711f93ce819e4a91751d19e1d1bfcae545fc9a
[ "MIT" ]
1
2020-06-16T07:35:38.000Z
2020-06-16T07:35:38.000Z
soluciones/RPC/2020-4/C-long_long_long_is_too_long.cpp
AxlKings/ProgramacionCompetitivaUSM
a6711f93ce819e4a91751d19e1d1bfcae545fc9a
[ "MIT" ]
4
2020-03-29T02:19:23.000Z
2021-04-29T15:34:21.000Z
#include <bits/stdc++.h> using namespace std; typedef pair<int,int> pii; int main () { int n; cin >> n; int m; cin >> m; vector < vector <int> > graph (n); for (int i = 0; i < m; i++){ int a, b; cin >> a >> b; a--; b--; graph[a].push_back(b); graph[b].push_back(a); } queue <pii> q; q.pu...
18.75
36
0.493333
AxlKings
3aaac8b3083fca4d6b4cf07780822cc8b528dc01
3,377
cc
C++
examples/cpp/linear_programming.cc
dimitarpg13/or-tools
8aa80ec3f010db609fc95508278f84eddad8c9a8
[ "Apache-2.0" ]
null
null
null
examples/cpp/linear_programming.cc
dimitarpg13/or-tools
8aa80ec3f010db609fc95508278f84eddad8c9a8
[ "Apache-2.0" ]
null
null
null
examples/cpp/linear_programming.cc
dimitarpg13/or-tools
8aa80ec3f010db609fc95508278f84eddad8c9a8
[ "Apache-2.0" ]
null
null
null
// Copyright 2010-2018 Google LLC // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in...
39.267442
78
0.672786
dimitarpg13
3ab94a3c1c23fd4b0e79aa0191ee42049a72a17f
636
cpp
C++
CPP/Functions/pascalsTriangle.cpp
nileshpatva/dataStructureAndAlgo
4ddec6b728dedf1242c099c06dc98a8d0b0c4215
[ "MIT" ]
null
null
null
CPP/Functions/pascalsTriangle.cpp
nileshpatva/dataStructureAndAlgo
4ddec6b728dedf1242c099c06dc98a8d0b0c4215
[ "MIT" ]
null
null
null
CPP/Functions/pascalsTriangle.cpp
nileshpatva/dataStructureAndAlgo
4ddec6b728dedf1242c099c06dc98a8d0b0c4215
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int fact(int n) { if (n <= 1) return 1; return n * fact(n - 1); } int nCr(int n, int r) { return fact(n) / (fact (n - r) * fact(r)); } /* Pascal's Triangle (n=5) 1 1 1 1 2 1 1 3 3 1 1 4 6 4 1 1 1 1 1 2 1 1 3 3 1 1 4 6 4 1 */ int main() ...
15.142857
62
0.454403
nileshpatva
3aba29bffdfb110b6f519ad739df1ac2474b7f8a
1,327
cpp
C++
src/client/render/TileSet.cpp
Kuga23/Projet-M2
85c879b8fd1ed4fdf89eedd9f89841cbd7a1e433
[ "MIT" ]
null
null
null
src/client/render/TileSet.cpp
Kuga23/Projet-M2
85c879b8fd1ed4fdf89eedd9f89841cbd7a1e433
[ "MIT" ]
null
null
null
src/client/render/TileSet.cpp
Kuga23/Projet-M2
85c879b8fd1ed4fdf89eedd9f89841cbd7a1e433
[ "MIT" ]
null
null
null
#include <string> #include "../render.h" using namespace render; // Constructor TileSet::TileSet(TileSetID ID,std::string mode){ id = ID; switch(id){ case MAPTILESET: cellWidth=32; cellHeight=32; if(mode=="test") resFile="../../../res/...
22.116667
71
0.527506
Kuga23
3abac8596e87ee89ad99c5f8fab008734f9fed1d
1,261
cpp
C++
Lib/QtOakModel/QNodeDefBuilderData.cpp
vilaversoftware/OakModelView
c24d30b711fe0f2fdc336f2623dd9bc555867a9d
[ "Apache-2.0" ]
null
null
null
Lib/QtOakModel/QNodeDefBuilderData.cpp
vilaversoftware/OakModelView
c24d30b711fe0f2fdc336f2623dd9bc555867a9d
[ "Apache-2.0" ]
null
null
null
Lib/QtOakModel/QNodeDefBuilderData.cpp
vilaversoftware/OakModelView
c24d30b711fe0f2fdc336f2623dd9bc555867a9d
[ "Apache-2.0" ]
null
null
null
/* * OakModelView (http://oakmodelview.com/) * Author: Mikkel Nøhr Løvgreen (mikkel@oakmodelview.com) * ------------------------------------------------------------------------ * Licensed to Vilaversoftware IVS who licenses this file to you under the * Apache License, Version 2.0 (the "License"); you may not use t...
36.028571
80
0.648692
vilaversoftware
3abcef2340c662727284ef9d23cfee5dfaf03007
579
cpp
C++
source/Ch18/drill/ch18_2_drill.cpp
Vada200/UDProg-Introduction
c424b2676d6e5bfc4d53d61c5d0deded566c1c84
[ "CC0-1.0" ]
null
null
null
source/Ch18/drill/ch18_2_drill.cpp
Vada200/UDProg-Introduction
c424b2676d6e5bfc4d53d61c5d0deded566c1c84
[ "CC0-1.0" ]
null
null
null
source/Ch18/drill/ch18_2_drill.cpp
Vada200/UDProg-Introduction
c424b2676d6e5bfc4d53d61c5d0deded566c1c84
[ "CC0-1.0" ]
null
null
null
#include "std_lib_facilities.h" vector<int> gv = {1, 2, 4, 8, 16, 32, 64, 128, 256, 512}; void f (vector<int> v) { vector<int> lv(v.size()); for (int i = 0; i < gv.size(); i++) { lv[i] = gv[i]; cout << lv[i]<< " "; } cout << endl; vector<int> lv2 = v; for (int i = 0; i < lv2.size(); ...
13.785714
58
0.423143
Vada200
3abf44e14528b0e24ba16bf8370e3efa1796aaf2
671
cpp
C++
sort/quick_sort.cpp
cosmicray001/My-My-Code-Library-
85430e5367c0b0384d66385e0cf9eff513642e79
[ "Apache-2.0" ]
2
2019-01-08T15:35:44.000Z
2021-03-03T01:08:47.000Z
sort/quick_sort.cpp
cosmicray001/My-My-Code-Library-
85430e5367c0b0384d66385e0cf9eff513642e79
[ "Apache-2.0" ]
null
null
null
sort/quick_sort.cpp
cosmicray001/My-My-Code-Library-
85430e5367c0b0384d66385e0cf9eff513642e79
[ "Apache-2.0" ]
1
2020-08-13T18:07:56.000Z
2020-08-13T18:07:56.000Z
#include <bits/stdc++.h> #define le 1003 using namespace std; int len; int arr[le]; int part(int lo, int hi){ int pi = arr[hi], i = lo - 1; for(int j = lo; j < hi; j++){ if(arr[j] < pi) { i++; swap(arr[i], arr[j]); } } i++; swap(arr[i], arr[hi]); return i;...
20.96875
55
0.466468
cosmicray001
3ac06b617f454716f53ba1676a9cc999756a5146
2,362
cpp
C++
Solar System 2D/Source/Transformations.cpp
igortakeo/Computer-graphics
b2b3e47e539b96c40e78fc9916c023627303e2a6
[ "MIT" ]
null
null
null
Solar System 2D/Source/Transformations.cpp
igortakeo/Computer-graphics
b2b3e47e539b96c40e78fc9916c023627303e2a6
[ "MIT" ]
5
2021-06-25T02:57:09.000Z
2021-07-25T06:18:47.000Z
Solar System 2D/Source/Transformations.cpp
igortakeo/Computer-graphics
b2b3e47e539b96c40e78fc9916c023627303e2a6
[ "MIT" ]
null
null
null
#include "../Headers/Transformations.hpp" #include <GL/glew.h> #include <GLFW/glfw3.h> #include <math.h> #include <iostream> #include <vector> using namespace std; vector<float> CreateMatrixTranslation(float t_x, float t_y){ vector<float> MatTranslation { 1.0, 0.0, 0.0, t_x, 0.0, 1.0, 0.0, t_...
21.669725
90
0.460203
igortakeo
3ac08d4a61b26a80ad090b4bbe9d63a5eaebf1db
5,451
cpp
C++
src/modules/hip/kernel/noise.cpp
Reza-Najafi/rpp
26b21762d4fbc4971b03f939fe00ae8bcf49fef9
[ "MIT" ]
null
null
null
src/modules/hip/kernel/noise.cpp
Reza-Najafi/rpp
26b21762d4fbc4971b03f939fe00ae8bcf49fef9
[ "MIT" ]
null
null
null
src/modules/hip/kernel/noise.cpp
Reza-Najafi/rpp
26b21762d4fbc4971b03f939fe00ae8bcf49fef9
[ "MIT" ]
null
null
null
#include <hip/hip_runtime.h> #define saturate_8u(value) ( (value) > 255 ? 255 : ((value) < 0 ? 0 : (value) )) __device__ unsigned int xorshift(int pixid) { unsigned int x = 123456789; unsigned int w = 88675123; unsigned int seed = x + pixid; unsigned int t = seed ^ (seed << 11); unsigned int res = w...
38.118881
125
0.510182
Reza-Najafi
3ac18c1dd6a07f21902382cb690135cb7757bcec
2,417
hpp
C++
em_unet/src/PyGreentea/evaluation/src_cython/zi/utility/is_printable.hpp
VCG/psc
4826c495b89ff77b68a3c0d5c6e3af805db25386
[ "MIT" ]
10
2018-09-13T17:37:22.000Z
2020-05-08T16:20:42.000Z
em_unet/src/PyGreentea/evaluation/src_cython/zi/utility/is_printable.hpp
VCG/psc
4826c495b89ff77b68a3c0d5c6e3af805db25386
[ "MIT" ]
1
2018-12-02T14:17:39.000Z
2018-12-02T20:59:26.000Z
em_unet/src/PyGreentea/evaluation/src_cython/zi/utility/is_printable.hpp
VCG/psc
4826c495b89ff77b68a3c0d5c6e3af805db25386
[ "MIT" ]
2
2019-03-03T12:06:10.000Z
2020-04-12T13:23:02.000Z
// // Copyright (C) 2010 Aleksandar Zlateski <zlateski@mit.edu> // ---------------------------------------------------------- // // 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 versio...
24.917526
90
0.710799
VCG
3ac2e13be633044378e909b565e9f4397516033f
1,436
cpp
C++
cryptools/tools/basicpermutationgroupwidget.cpp
CrypTools/Software
f5e1989d72f4322db26a51fe01276ab37690b69b
[ "MIT" ]
1
2019-02-24T02:01:55.000Z
2019-02-24T02:01:55.000Z
cryptools/tools/basicpermutationgroupwidget.cpp
CrypTools/Software
f5e1989d72f4322db26a51fe01276ab37690b69b
[ "MIT" ]
null
null
null
cryptools/tools/basicpermutationgroupwidget.cpp
CrypTools/Software
f5e1989d72f4322db26a51fe01276ab37690b69b
[ "MIT" ]
null
null
null
#include "basicpermutationgroupwidget.h" #include "ui_basicpermutationgroupwidget.h" BasicPermutationGroupWidget::BasicPermutationGroupWidget(QWidget *parent) : QGroupBox(parent), ui(new Ui::BasicPermutationGroupWidget) { ui->setupUi(this); } BasicPermutationGroupWidget::~BasicPermutationGroupWidget() { ...
31.217391
118
0.711003
CrypTools
3ac7aa62526c7a61277d06eeb4908129a0fb0d41
3,351
hpp
C++
src/registration/include/registration/utils_registration.hpp
MaxLarsson2/bathymetric_slam
7c563760f8888183bf59207319aa1cb0b594129e
[ "BSD-3-Clause" ]
14
2020-02-28T11:35:43.000Z
2022-03-07T10:07:12.000Z
src/registration/include/registration/utils_registration.hpp
MaxLarsson2/bathymetric_slam
7c563760f8888183bf59207319aa1cb0b594129e
[ "BSD-3-Clause" ]
4
2019-04-05T08:38:27.000Z
2021-10-19T08:58:53.000Z
src/registration/include/registration/utils_registration.hpp
MaxLarsson2/bathymetric_slam
7c563760f8888183bf59207319aa1cb0b594129e
[ "BSD-3-Clause" ]
10
2019-03-07T14:26:25.000Z
2021-07-14T01:41:50.000Z
/* Copyright 2019 Ignacio Torroba (torroba@kth.se) * * Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the followin...
39.892857
758
0.770218
MaxLarsson2
3acb0bf70e9ff539c9fb9ba71d68df56735bb3da
1,988
cpp
C++
Module/zlib128/TestEngine/TestEngine.cpp
arkiny/OSwithMSVC
90cd62ce9bbe8301942e024404f32b04874e7906
[ "MIT" ]
1
2021-05-09T01:24:05.000Z
2021-05-09T01:24:05.000Z
Module/zlib128/TestEngine/TestEngine.cpp
arkiny/OSwithMSVC
90cd62ce9bbe8301942e024404f32b04874e7906
[ "MIT" ]
null
null
null
Module/zlib128/TestEngine/TestEngine.cpp
arkiny/OSwithMSVC
90cd62ce9bbe8301942e024404f32b04874e7906
[ "MIT" ]
null
null
null
// TestEngine.cpp : 콘솔 응용 프로그램에 대한 진입점을 정의합니다. // #include "stdafx.h" #include <stdio.h> #include <windows.h> #include "SkyMockInterface.h" #include "I_Compress.h" #include <iostream> extern SKY_FILE_Interface g_FileInterface; extern SKY_ALLOC_Interface g_allocInterface; extern SKY_Print_Interface g_printInterface;...
28.811594
118
0.741449
arkiny
3ad4c73cce07dc4663e6536c4f26548a67078f4f
2,025
cpp
C++
UI/JKVirtualTreeAdapter.cpp
kenylerich/StockTool
04da77d9be6633a66bef2d4f15c2b23f9ef522da
[ "Apache-2.0" ]
3
2018-09-25T04:06:17.000Z
2020-10-07T08:49:29.000Z
UI/JKVirtualTreeAdapter.cpp
kenylerich/StockTool
04da77d9be6633a66bef2d4f15c2b23f9ef522da
[ "Apache-2.0" ]
null
null
null
UI/JKVirtualTreeAdapter.cpp
kenylerich/StockTool
04da77d9be6633a66bef2d4f15c2b23f9ef522da
[ "Apache-2.0" ]
1
2020-12-29T00:27:09.000Z
2020-12-29T00:27:09.000Z
#include "stdafx.h" #include "JKVirtualTreeAdapter.h" #include "BLL/JKProjectBLL.h" #include "BLL/JKStockCodeBLL.h" #include <QModelIndex> JKVirtualModelAdapter::JKVirtualModelAdapter(BaseObjectConstRefPtr _root) { this->setRoot(_root); } JKVirtualModelAdapter::~JKVirtualModelAdapter() { } QVariant JKVirtualModelA...
19.852941
116
0.756543
kenylerich
3ad8b02158f4b23e3730699f0bc2b331ea1e3280
1,113
cpp
C++
42_Qt514MarkDown/qtWidgetsMD/widget.cpp
ayaromenok/test
02bc6d3b214871e096c31d0987fd55fe12b3a555
[ "MIT" ]
2
2021-03-02T19:04:29.000Z
2021-07-22T04:03:40.000Z
42_Qt514MarkDown/qtWidgetsMD/widget.cpp
ayaromenok/test
02bc6d3b214871e096c31d0987fd55fe12b3a555
[ "MIT" ]
64
2018-10-19T06:06:12.000Z
2021-11-23T19:29:31.000Z
42_Qt514MarkDown/qtWidgetsMD/widget.cpp
ayaromenok/test
02bc6d3b214871e096c31d0987fd55fe12b3a555
[ "MIT" ]
1
2019-11-19T23:50:08.000Z
2019-11-19T23:50:08.000Z
//Copyrigth (C) 2019 Andrey Yaromenok #include <QtWidgets> #include <QtGui> #include "widget.h" Widget::Widget(QWidget *parent) : QWidget(parent) { setGeometry(100,100,640,400); QVBoxLayout *lt = new QVBoxLayout(this); QTextDocument *td = new QTextDocument("text"); QTextEdit *te = new QTextEdit(); ...
30.081081
91
0.571429
ayaromenok
3adee62ee15bf0731b9748d28bf35244cee0e832
2,998
cc
C++
src/solv_smurf/features/interface.cc
nerdling/SBSAT
6328c6aa105b75693d06bf0dae4a3b5ca220318b
[ "Unlicense" ]
4
2015-03-08T07:56:29.000Z
2017-10-12T04:19:27.000Z
src/solv_smurf/features/interface.cc
nerdling/SBSAT
6328c6aa105b75693d06bf0dae4a3b5ca220318b
[ "Unlicense" ]
null
null
null
src/solv_smurf/features/interface.cc
nerdling/SBSAT
6328c6aa105b75693d06bf0dae4a3b5ca220318b
[ "Unlicense" ]
null
null
null
/* =========FOR INTERNAL USE ONLY. NO DISTRIBUTION PLEASE ========== */ /********************************************************************* Copyright 1999-2007, University of Cincinnati. All rights reserved. By using this software the USER indicates that he or she has read, understood and will comply with the f...
29.98
79
0.727485
nerdling
3ae2770c0731e0e598371deff3fde1707d1aa216
1,880
cpp
C++
quicksort/quicksort2.cpp
MinTimmy/C
b70a657747abc78748b3bc943733fec156fcd967
[ "MIT" ]
null
null
null
quicksort/quicksort2.cpp
MinTimmy/C
b70a657747abc78748b3bc943733fec156fcd967
[ "MIT" ]
null
null
null
quicksort/quicksort2.cpp
MinTimmy/C
b70a657747abc78748b3bc943733fec156fcd967
[ "MIT" ]
null
null
null
#include <iostream> #include <stdlib.h> #include <time.h> class quicksort { public: quicksort(int * , int ,int , int); int Partition(int * , int ,int ); int Sort(int * , int ,int ); void SWAP(int * , int *); void print(); private: int *num; int right; ...
16.347826
121
0.504255
MinTimmy
3ae2973798740223f104e5051cf10f48d5d18751
1,086
cpp
C++
src/+cv/segmentMotion.cpp
schloegl/mexopencv
b7a34df8f844ceb5bebb93f439eb35135e9c074d
[ "BSD-3-Clause" ]
87
2016-10-28T18:36:43.000Z
2022-02-03T08:34:45.000Z
src/+cv/segmentMotion.cpp
schloegl/mexopencv
b7a34df8f844ceb5bebb93f439eb35135e9c074d
[ "BSD-3-Clause" ]
17
2016-11-06T10:36:35.000Z
2021-07-15T11:37:14.000Z
src/+cv/segmentMotion.cpp
schloegl/mexopencv
b7a34df8f844ceb5bebb93f439eb35135e9c074d
[ "BSD-3-Clause" ]
23
2016-10-30T11:48:55.000Z
2021-03-22T10:33:27.000Z
/** * @file segmentMotion.cpp * @brief mex interface for segmentMotion * @author Kota Yamaguchi * @date 2012 */ #include "mexopencv.hpp" using namespace std; using namespace cv; /** * Main entry called from Matlab * @param nlhs number of left-hand-side arguments * @param plhs pointers to mxArrays in the left-h...
28.578947
73
0.67035
schloegl
3ae3b9fec0e14be424246fcac09f5fab11ae3bb7
21,182
hpp
C++
modules/features2d/include/litiv/features2d/LBSP.hpp
ln1equals0/litiv-a
4a82fbc570b7abecb40a03d9e08cf42920f07fce
[ "Apache-2.0" ]
null
null
null
modules/features2d/include/litiv/features2d/LBSP.hpp
ln1equals0/litiv-a
4a82fbc570b7abecb40a03d9e08cf42920f07fce
[ "Apache-2.0" ]
null
null
null
modules/features2d/include/litiv/features2d/LBSP.hpp
ln1equals0/litiv-a
4a82fbc570b7abecb40a03d9e08cf42920f07fce
[ "Apache-2.0" ]
null
null
null
// This file is part of the LITIV framework; visit the original repository at // https://github.com/plstcharles/litiv for more information. // // Copyright 2015 Pierre-Luc St-Charles; pierre-luc.st-charles<at>polymtl.ca // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file ...
71.319865
226
0.710651
ln1equals0
3ae8c88cbb083049207b82ad3be71ee1edc45df5
739
hpp
C++
include/RED4ext/Scripting/Natives/Generated/anim/LipsyncMapping.hpp
jackhumbert/RED4ext.SDK
2c55eccb83beabbbe02abae7945af8efce638fca
[ "MIT" ]
42
2020-12-25T08:33:00.000Z
2022-03-22T14:47:07.000Z
include/RED4ext/Scripting/Natives/Generated/anim/LipsyncMapping.hpp
jackhumbert/RED4ext.SDK
2c55eccb83beabbbe02abae7945af8efce638fca
[ "MIT" ]
38
2020-12-28T22:36:06.000Z
2022-02-16T11:25:47.000Z
include/RED4ext/Scripting/Natives/Generated/anim/LipsyncMapping.hpp
jackhumbert/RED4ext.SDK
2c55eccb83beabbbe02abae7945af8efce638fca
[ "MIT" ]
20
2020-12-28T22:17:38.000Z
2022-03-22T17:19:01.000Z
#pragma once // This file is generated from the Game's Reflection data #include <cstdint> #include <RED4ext/Common.hpp> #include <RED4ext/CName.hpp> #include <RED4ext/DynArray.hpp> #include <RED4ext/Scripting/Natives/Generated/CResource.hpp> #include <RED4ext/Scripting/Natives/Generated/anim/LipsyncMappingSceneEntry....
27.37037
80
0.763194
jackhumbert
3aeac422fd3a4fcbfe5d1dd1691b04810852f25c
1,831
cc
C++
game-server/games/tictactwo/action_move_piece.cc
Towerism/morphling
cdfcb5949ca23417b5c6df9046f3a1924ba74771
[ "MIT" ]
4
2017-05-04T01:53:14.000Z
2017-05-09T05:55:57.000Z
game-server/games/tictactwo/action_move_piece.cc
Towerism/morphling
cdfcb5949ca23417b5c6df9046f3a1924ba74771
[ "MIT" ]
null
null
null
game-server/games/tictactwo/action_move_piece.cc
Towerism/morphling
cdfcb5949ca23417b5c6df9046f3a1924ba74771
[ "MIT" ]
null
null
null
#include "action_move_piece.h" #include "tictactwo_model.h" #include "tictactwo_player.h" namespace Morphling::Gamelogic::Tictactwo { bool Action_move_piece::is_legal(Model* model) { auto tictactwo_model = dynamic_cast<Tictactwo_model*>(model); if (tictactwo_model != nullptr) { return verify_turn_and_...
33.290909
91
0.729656
Towerism
3aeba7a9730fc1f54cfc535f6fec25a406519704
2,775
cc
C++
src/ds++/Endian.cc
keadyk/Draco
129fbff1d74a3f5498670e952b7d4142f37b2aac
[ "BSD-3-Clause-Open-MPI" ]
null
null
null
src/ds++/Endian.cc
keadyk/Draco
129fbff1d74a3f5498670e952b7d4142f37b2aac
[ "BSD-3-Clause-Open-MPI" ]
null
null
null
src/ds++/Endian.cc
keadyk/Draco
129fbff1d74a3f5498670e952b7d4142f37b2aac
[ "BSD-3-Clause-Open-MPI" ]
null
null
null
//----------------------------------*-C++-*-----------------------------------// /*! * \file ds++/Endian.cc * \author Kelly Thompson * \date Wed Nov 09 14:15:14 2011 * \brief Function declarations for endian conversions * \note Copyright (C) 2016-2020 Triad National Security, LLC. * All rights rese...
28.608247
80
0.558559
keadyk
3af5b4a85ee53ad2c726fa565d4d5b27d8b6725f
5,718
cpp
C++
MNE/disp/helpers/filterdatadelegate.cpp
13grife37/mne-cpp-swpold
9b89b3d7fe273d9f4ffd69b504e17f284eaba263
[ "BSD-3-Clause" ]
2
2017-04-20T20:21:16.000Z
2017-04-26T16:30:25.000Z
MNE/disp/helpers/filterdatadelegate.cpp
13grife37/mne-cpp-swpold
9b89b3d7fe273d9f4ffd69b504e17f284eaba263
[ "BSD-3-Clause" ]
null
null
null
MNE/disp/helpers/filterdatadelegate.cpp
13grife37/mne-cpp-swpold
9b89b3d7fe273d9f4ffd69b504e17f284eaba263
[ "BSD-3-Clause" ]
1
2017-04-23T15:55:31.000Z
2017-04-23T15:55:31.000Z
//============================================================================================================= /** * @file filterdatadelegate.cpp * @author Lorenz Esch <Lorenz.Esch@tu-ilmenau.de>; * Matti Hamalainen <msh@nmr.mgh.harvard.edu> * @version 1.0 * @date April, 2015 * * @section ...
39.986014
134
0.485659
13grife37
d70551660085d73ba9c09710512ac79e972a351a
1,708
cpp
C++
VtuneProfiler/matrix_multiply/src/util.cpp
daniellephillips/BaseKit-code-samples
5a56803d536ba2e6e90b3735e8a6c1b5c6e74546
[ "MIT" ]
null
null
null
VtuneProfiler/matrix_multiply/src/util.cpp
daniellephillips/BaseKit-code-samples
5a56803d536ba2e6e90b3735e8a6c1b5c6e74546
[ "MIT" ]
null
null
null
VtuneProfiler/matrix_multiply/src/util.cpp
daniellephillips/BaseKit-code-samples
5a56803d536ba2e6e90b3735e8a6c1b5c6e74546
[ "MIT" ]
null
null
null
//============================================================== // Copyright 2019 Intel Corporation // // SPDX-License-Identifier: MIT // ============================================================= #include <stdio.h> #include <stdlib.h> #include <string.h> #include <time.h> #ifdef WIN32 #include <windows.h> int ...
24.4
94
0.552108
daniellephillips
d7055c4f814d377f777fbb448a3538245c6bec7f
1,104
cpp
C++
pointers/functions.cpp
MePriyanshuHoo/cpp-DSA-100-days-log
23c101c980b01afbc687e75290e46118728414e9
[ "MIT" ]
null
null
null
pointers/functions.cpp
MePriyanshuHoo/cpp-DSA-100-days-log
23c101c980b01afbc687e75290e46118728414e9
[ "MIT" ]
null
null
null
pointers/functions.cpp
MePriyanshuHoo/cpp-DSA-100-days-log
23c101c980b01afbc687e75290e46118728414e9
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int pointerprint(int *P) { cout << P << endl; return 0; } int addonepointer(int *p) { cout << p << endl; p++; cout << p << endl; return 0; } int arraytofunction(int *array) { cout << array << endl; for (int c = 0; c < 3; c++) { cou...
17.52381
120
0.577899
MePriyanshuHoo
d7068cfb4c9f7db074b78324d66c75ef89b74648
25,819
inl
C++
include/IECore/DespatchTypedData.inl
eshokrgo/cortex
199fa25426ad39ac6c10ce9d6046c9157cba3fae
[ "BSD-3-Clause" ]
null
null
null
include/IECore/DespatchTypedData.inl
eshokrgo/cortex
199fa25426ad39ac6c10ce9d6046c9157cba3fae
[ "BSD-3-Clause" ]
null
null
null
include/IECore/DespatchTypedData.inl
eshokrgo/cortex
199fa25426ad39ac6c10ce9d6046c9157cba3fae
[ "BSD-3-Clause" ]
1
2019-11-29T12:34:11.000Z
2019-11-29T12:34:11.000Z
////////////////////////////////////////////////////////////////////////// // // Copyright (c) 2007-2012, Image Engine Design Inc. All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: // // ...
41.178628
232
0.750959
eshokrgo
d70a4655a121d52e53b8ed9f1fa88ded2ae6bccc
2,541
cc
C++
atom/browser/ui/views/menu_layout.cc
joaomoreno/electron
9547ff135f3f14d4bad31ae446b0a2e7a0f0ea3d
[ "MIT" ]
1
2019-05-21T13:38:22.000Z
2019-05-21T13:38:22.000Z
atom/browser/ui/views/menu_layout.cc
joaomoreno/electron
9547ff135f3f14d4bad31ae446b0a2e7a0f0ea3d
[ "MIT" ]
null
null
null
atom/browser/ui/views/menu_layout.cc
joaomoreno/electron
9547ff135f3f14d4bad31ae446b0a2e7a0f0ea3d
[ "MIT" ]
1
2019-05-21T13:38:22.000Z
2019-05-21T13:38:22.000Z
// Copyright (c) 2014 GitHub, Inc. // Use of this source code is governed by the MIT license that can be // found in the LICENSE file. #include "atom/browser/ui/views/menu_layout.h" #if defined(OS_WIN) #include "atom/browser/native_window_views.h" #include "ui/display/win/screen_win.h" #endif namespace atom { names...
27.619565
77
0.703266
joaomoreno
d70de6985e9e98ad5d4a501adf7709a6dba80baa
5,383
cpp
C++
modules/core/base/unit/utility/as_index.cpp
psiha/nt2
5e829807f6b57b339ca1be918a6b60a2507c54d0
[ "BSL-1.0" ]
34
2017-05-19T18:10:17.000Z
2022-01-04T02:18:13.000Z
modules/core/base/unit/utility/as_index.cpp
psiha/nt2
5e829807f6b57b339ca1be918a6b60a2507c54d0
[ "BSL-1.0" ]
null
null
null
modules/core/base/unit/utility/as_index.cpp
psiha/nt2
5e829807f6b57b339ca1be918a6b60a2507c54d0
[ "BSL-1.0" ]
7
2017-12-02T12:59:17.000Z
2021-07-31T12:46:14.000Z
//============================================================================== // Copyright 2003 - 2012 LASMEA UMR 6602 CNRS/Univ. Clermont II // Copyright 2009 - 2012 LRI UMR 8623 CNRS/Univ Paris Sud XI // // Distributed under the Boost Software License, Version 1.0. // ...
39.874074
80
0.662456
psiha
d70ee62bddbec255bef6baf9502a4a90482fa176
1,982
cc
C++
dcmjpeg/apps/dcmmkdir.cc
trice-imaging/dcmtk-fork
74c7dc92a48bb7a9be72a6becaa76d43b624c80c
[ "Apache-2.0" ]
null
null
null
dcmjpeg/apps/dcmmkdir.cc
trice-imaging/dcmtk-fork
74c7dc92a48bb7a9be72a6becaa76d43b624c80c
[ "Apache-2.0" ]
null
null
null
dcmjpeg/apps/dcmmkdir.cc
trice-imaging/dcmtk-fork
74c7dc92a48bb7a9be72a6becaa76d43b624c80c
[ "Apache-2.0" ]
null
null
null
/* * * Copyright (C) 2001-2010, OFFIS e.V. * All rights reserved. See COPYRIGHT file for details. * * This software and supporting documentation were developed by * * OFFIS e.V. * R&D Division Health * Escherweg 2 * D-26121 Oldenburg, Germany * * * Module: dcmjpeg * * Authors: Joerg Ri...
40.44898
104
0.714934
trice-imaging
d715b42abc2b99cbd179401cbfaa7cc123630cc9
2,187
cpp
C++
Final Src/Common/CrusadeVertexTypes.cpp
vdwtanner/Crusade
f6531de9bc85c98283d34b68f20b52d49339d98c
[ "MIT" ]
1
2019-02-09T08:19:23.000Z
2019-02-09T08:19:23.000Z
Final Src/Common/CrusadeVertexTypes.cpp
vdwtanner/Crusade
f6531de9bc85c98283d34b68f20b52d49339d98c
[ "MIT" ]
null
null
null
Final Src/Common/CrusadeVertexTypes.cpp
vdwtanner/Crusade
f6531de9bc85c98283d34b68f20b52d49339d98c
[ "MIT" ]
null
null
null
#include "pch.h" #include "CrusadeVertexTypes.h" #include "CrusadeEffects.h" #include "d3dx11effect.h" #include "VertexTypes.h" const D3D11_INPUT_ELEMENT_DESC InputLayouts::TexturedVertexDesc[5] = { {"POSITION", 0, DXGI_FORMAT_R32G32B32_FLOAT, 0, 0, D3D11_INPUT_PER_VERTEX_DATA, 0}, {"SIZE", 0, DXGI_FORMAT_...
48.6
166
0.770919
vdwtanner
d71ae82477abf1f7265b8c1779dea7c8a264df62
821
hpp
C++
pmemds/tests/test_common.hpp
huangvincent170/cyclone
737af617ab1472dfb16e6c20a079e88dccf85850
[ "Apache-2.0" ]
2
2019-04-16T01:33:36.000Z
2021-02-23T08:34:38.000Z
pmemds/tests/test_common.hpp
huangvincent170/cyclone
737af617ab1472dfb16e6c20a079e88dccf85850
[ "Apache-2.0" ]
null
null
null
pmemds/tests/test_common.hpp
huangvincent170/cyclone
737af617ab1472dfb16e6c20a079e88dccf85850
[ "Apache-2.0" ]
4
2020-03-27T18:06:33.000Z
2021-03-24T09:56:17.000Z
#ifndef PMEMDS_TEST_COMMON_HPP #define PMEMDS_TEST_COMMON_HPP #include <dirent.h> #include "boost/filesystem.hpp" const std::string pmem_path = "/dev/shm/pmemds_test"; static void setup_pmem(std::string path){ boost::filesystem::path dir(path); if(!boost::filesystem::exists(path)) { if (boost::file...
28.310345
91
0.627284
huangvincent170
d71b48a3b0cf7392d10c79bc686b14d0601f2fad
2,635
cpp
C++
src/gateway/ctp/ctp_gateway.cpp
liutongwei/ft
c75c1ea6b4e53128248113f9810b997d2f7ff236
[ "MIT" ]
null
null
null
src/gateway/ctp/ctp_gateway.cpp
liutongwei/ft
c75c1ea6b4e53128248113f9810b997d2f7ff236
[ "MIT" ]
null
null
null
src/gateway/ctp/ctp_gateway.cpp
liutongwei/ft
c75c1ea6b4e53128248113f9810b997d2f7ff236
[ "MIT" ]
null
null
null
// Copyright [2020] <Copyright Kevin, kevin.lau.gd@gmail.com> #include "gateway/ctp/ctp_gateway.h" #include "ThostFtdcMdApi.h" #include "ThostFtdcTraderApi.h" #include "ft/base/contract_table.h" #include "spdlog/spdlog.h" namespace ft { CtpGateway::CtpGateway() {} CtpGateway::~CtpGateway() {} bool CtpGateway::Log...
29.943182
95
0.72296
liutongwei
d71bcce751337eaf0342b5bdfab0794f9d259256
1,312
cpp
C++
SYCL/SpecConstants/2020/non_native/aot_w_kernel_handler_wo_spec_consts.cpp
AerialMantis/llvm-test-suite
c28d0d3b7a26f069f904d652a974968c5e40e994
[ "Apache-2.0" ]
10
2020-08-04T04:29:03.000Z
2022-02-23T21:43:56.000Z
SYCL/SpecConstants/2020/non_native/aot_w_kernel_handler_wo_spec_consts.cpp
AerialMantis/llvm-test-suite
c28d0d3b7a26f069f904d652a974968c5e40e994
[ "Apache-2.0" ]
519
2020-09-15T07:40:51.000Z
2022-03-31T20:51:15.000Z
SYCL/SpecConstants/2020/non_native/aot_w_kernel_handler_wo_spec_consts.cpp
AerialMantis/llvm-test-suite
c28d0d3b7a26f069f904d652a974968c5e40e994
[ "Apache-2.0" ]
117
2020-06-24T13:11:04.000Z
2022-03-23T15:44:23.000Z
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out // RUN: %CPU_RUN_PLACEHOLDER %t.out // // Hits an assert in the Lower Work Group Scope Code pass on AMD: // XFAIL: hip_amd // This test checks correctness of compiling and running of application with // kernel lambdas containing kernel_handler arguments ...
34.526316
76
0.657774
AerialMantis
d71e236f61e0357f3b856bb6b5852aa179f154a3
3,871
hpp
C++
include/NUnit/Framework/Constraints/ConstraintBuilder_ConstraintStack.hpp
Fernthedev/BeatSaber-Quest-Codegen
716e4ff3f8608f7ed5b83e2af3be805f69e26d9e
[ "Unlicense" ]
null
null
null
include/NUnit/Framework/Constraints/ConstraintBuilder_ConstraintStack.hpp
Fernthedev/BeatSaber-Quest-Codegen
716e4ff3f8608f7ed5b83e2af3be805f69e26d9e
[ "Unlicense" ]
null
null
null
include/NUnit/Framework/Constraints/ConstraintBuilder_ConstraintStack.hpp
Fernthedev/BeatSaber-Quest-Codegen
716e4ff3f8608f7ed5b83e2af3be805f69e26d9e
[ "Unlicense" ]
null
null
null
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" #include "extern/beatsaber-hook/shared/utils/byref.hpp" // Including type: NUnit.Framewor...
59.553846
263
0.748644
Fernthedev
d7231c8a82c552f98744b4166e964aa4d895ad67
484
hpp
C++
src/include/framework/types.hpp
achreto/fm-translation-framework
a46afcc43f94c8a224f32fcad988a830689a9256
[ "MIT" ]
null
null
null
src/include/framework/types.hpp
achreto/fm-translation-framework
a46afcc43f94c8a224f32fcad988a830689a9256
[ "MIT" ]
null
null
null
src/include/framework/types.hpp
achreto/fm-translation-framework
a46afcc43f94c8a224f32fcad988a830689a9256
[ "MIT" ]
null
null
null
/** * Type Definitions * * SPDX-License-Identifier: MIT * * Copyright (C) 2022, Reto Achermann (The University of British Columbia) */ #ifndef _TYPES_H_ #define _TYPES_H_ 1 #include <stdint.h> /** * defines the local virtual address of the translation unit (input) */ typedef uint64_t lvaddr_t; /** * define...
17.285714
74
0.706612
achreto
d7232b3a369f01a68735a8222070688cea56ea33
2,077
cpp
C++
src/MultiframeIntegration.cpp
FantasyChen/Point-Cloud-Handler
821f2a1c751a2d8d1f1519e1a503f58fe7f52070
[ "MIT" ]
3
2018-10-24T01:28:16.000Z
2021-12-15T01:51:33.000Z
src/MultiframeIntegration.cpp
FantasyChen/Point-Cloud-Handler
821f2a1c751a2d8d1f1519e1a503f58fe7f52070
[ "MIT" ]
null
null
null
src/MultiframeIntegration.cpp
FantasyChen/Point-Cloud-Handler
821f2a1c751a2d8d1f1519e1a503f58fe7f52070
[ "MIT" ]
3
2018-08-06T03:51:00.000Z
2021-12-26T12:04:51.000Z
// // Created by lifan on 3/3/17. // #include "utils.h" using namespace std; typedef pcl::PointCloud<pcl::PointXYZ>::Ptr CloudPointer; int main() { long start = 148830671549; const int buffer = 5; const int integrationSize = 5; for (int i = 0; i < 200; i++) { long startString = start + 5 ...
34.616667
92
0.524795
FantasyChen
d72844fa2c00faafcf9601b0182eec898dd63471
2,208
hpp
C++
src/client/client_tui.hpp
marcuscastelo/socket-messenger
af2d6ce5209d9915fcffba72d2fd89e8ed162f63
[ "MIT" ]
null
null
null
src/client/client_tui.hpp
marcuscastelo/socket-messenger
af2d6ce5209d9915fcffba72d2fd89e8ed162f63
[ "MIT" ]
null
null
null
src/client/client_tui.hpp
marcuscastelo/socket-messenger
af2d6ce5209d9915fcffba72d2fd89e8ed162f63
[ "MIT" ]
null
null
null
/** * Header criado para facilitar a organização das funções responsáveis * por printar na interface do usuário */ #pragma once #include "client.hpp" #include "tui.hpp" #include <termios.h> #include <functional> //Using operators ms, ns, etc.. #include <chrono> using namespace std::chrono_literals; using namespace...
24.263736
110
0.696558
marcuscastelo
c011cf8132ea7e211aeac8455ae62ce6145c1387
392
cpp
C++
tst/TrueColor_test.cpp
antenous/image
7743a31d87bae1b76efdd4023f21d0f861093057
[ "BSD-3-Clause" ]
null
null
null
tst/TrueColor_test.cpp
antenous/image
7743a31d87bae1b76efdd4023f21d0f861093057
[ "BSD-3-Clause" ]
null
null
null
tst/TrueColor_test.cpp
antenous/image
7743a31d87bae1b76efdd4023f21d0f861093057
[ "BSD-3-Clause" ]
null
null
null
/* * TrueColor_test.cpp * * Created on: Dec 30, 2018 * Author: Antero Nousiainen */ #include "TrueColor.hpp" #include <gtest/gtest.h> using namespace image; namespace { TEST(TrueColorTets, Bits) { EXPECT_EQ(24, TrueColor::bits); } TEST(TrueColorTest, Format) { EXPECT_E...
15.68
79
0.591837
antenous
c0154e1d37e5ecf1a82ae98577d15c069a25cc66
436
cpp
C++
38-count-and-say/38-count-and-say.cpp
SouvikChan/-Leetcode_Souvik
cc4b72cb4a14a1c6b8be8bd8390de047443fe008
[ "MIT" ]
null
null
null
38-count-and-say/38-count-and-say.cpp
SouvikChan/-Leetcode_Souvik
cc4b72cb4a14a1c6b8be8bd8390de047443fe008
[ "MIT" ]
null
null
null
38-count-and-say/38-count-and-say.cpp
SouvikChan/-Leetcode_Souvik
cc4b72cb4a14a1c6b8be8bd8390de047443fe008
[ "MIT" ]
null
null
null
class Solution { public: string countAndSay(int n) { if(n==1) return "1"; string str=countAndSay(n-1); string str1=""; int cnt=1; for(int i=0;i<str.size();i++){ if(i+1<str.size() and str[i]==str[i+1]) cnt++; else{ str1+=to_string(cnt); ...
24.222222
58
0.422018
SouvikChan
c017002e189f52b1621d848c2e3b0ecc02f73522
168
cpp
C++
tiny_cnn/lc_tests/Fullconnect_LayerQL_Test.cpp
6clc/tiny_cnn
53b1af3f4ee8765ebc4f5853b87b221c42102786
[ "MIT" ]
null
null
null
tiny_cnn/lc_tests/Fullconnect_LayerQL_Test.cpp
6clc/tiny_cnn
53b1af3f4ee8765ebc4f5853b87b221c42102786
[ "MIT" ]
null
null
null
tiny_cnn/lc_tests/Fullconnect_LayerQL_Test.cpp
6clc/tiny_cnn
53b1af3f4ee8765ebc4f5853b87b221c42102786
[ "MIT" ]
null
null
null
#include "Fullconnect_LayerQL.h" using namespace tinyDNN; int main(){ Fullconnect_LayerQL<float> full_connect_layer(LayerType::Fullconnect_Layer, 3, 3); return 0; }
28
84
0.785714
6clc
c0195621ae5b75332c5a21e85121d73e626bafb6
3,391
hpp
C++
MPAGSCipher/PlayfairCipher.hpp
MPAGS-CPP-2019/mpags-day-4-richard-lane
0b3c8988756c029942e702b9c566521965ddee2e
[ "MIT" ]
null
null
null
MPAGSCipher/PlayfairCipher.hpp
MPAGS-CPP-2019/mpags-day-4-richard-lane
0b3c8988756c029942e702b9c566521965ddee2e
[ "MIT" ]
null
null
null
MPAGSCipher/PlayfairCipher.hpp
MPAGS-CPP-2019/mpags-day-4-richard-lane
0b3c8988756c029942e702b9c566521965ddee2e
[ "MIT" ]
null
null
null
#ifndef MPAGSCIPHER_PLAYFAIRCIPHER_HPP #define MPAGSCIPHER_PLAYFAIRCIPHER_HPP #include <map> #include <string> #include <vector> #include "CipherMode.hpp" /** * \file CaesarCipher.hpp * \brief Contains the declaration of the PlayfairCipherclass */ /** * \class PlayfairCipher * \brief Encrypt or decrypt text us...
33.91
129
0.643468
MPAGS-CPP-2019
c019a4e10bb212405cc021192a00ffd42cd8ae28
2,410
cpp
C++
examples/study.cases/CUP2D/windmills/eval-vracer-windmill.cpp
JonathanLehner/korali
90f97d8e2fed2311f988f39cfe014f23ba7dd6cf
[ "MIT" ]
43
2018-07-26T07:20:42.000Z
2022-03-02T10:23:12.000Z
examples/study.cases/CUP2D/windmills/eval-vracer-windmill.cpp
JonathanLehner/korali
90f97d8e2fed2311f988f39cfe014f23ba7dd6cf
[ "MIT" ]
212
2018-09-21T10:44:07.000Z
2022-03-22T14:33:05.000Z
examples/study.cases/CUP2D/windmills/eval-vracer-windmill.cpp
JonathanLehner/korali
90f97d8e2fed2311f988f39cfe014f23ba7dd6cf
[ "MIT" ]
16
2018-07-25T15:00:36.000Z
2022-03-22T14:19:46.000Z
// Select which environment to use #include "_model/windmillEnvironment.hpp" #include "korali.hpp" int main(int argc, char *argv[]) { // Gathering actual arguments from MPI int provided; MPI_Init_thread(&argc, &argv, MPI_THREAD_FUNNELED, &provided); if (provided != MPI_THREAD_FUNNELED) { printf("Error in...
33.943662
123
0.677593
JonathanLehner
c01fca23cae9ac1e834559598abc35fe6a07d771
5,122
cpp
C++
modules/python3/bindings/src/inviwopy.cpp
ayubatif/inviwo
7cfd00ba2c844983622185b2293848db22a32043
[ "BSD-2-Clause" ]
4
2018-01-21T20:38:47.000Z
2021-01-10T03:16:16.000Z
modules/python3/bindings/src/inviwopy.cpp
ayubatif/inviwo
7cfd00ba2c844983622185b2293848db22a32043
[ "BSD-2-Clause" ]
null
null
null
modules/python3/bindings/src/inviwopy.cpp
ayubatif/inviwo
7cfd00ba2c844983622185b2293848db22a32043
[ "BSD-2-Clause" ]
19
2018-09-09T19:43:30.000Z
2022-02-01T07:59:30.000Z
/********************************************************************************* * * Inviwo - Interactive Visualization Workshop * * Copyright (c) 2017-2021 Inviwo Foundation * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided th...
38.223881
100
0.692503
ayubatif
c020a7b38f168c4b28fab94499973fc777b0409f
392
hpp
C++
include/pastel/particle/meta/scalar_of.hpp
naoki-yoshioka/pastel
b443dcc6ae86ff3e94ec9c2e7085b5d6521214e8
[ "MIT" ]
null
null
null
include/pastel/particle/meta/scalar_of.hpp
naoki-yoshioka/pastel
b443dcc6ae86ff3e94ec9c2e7085b5d6521214e8
[ "MIT" ]
24
2017-12-23T07:39:58.000Z
2019-09-20T10:16:37.000Z
include/pastel/particle/meta/scalar_of.hpp
naoki-yoshioka/pastel
b443dcc6ae86ff3e94ec9c2e7085b5d6521214e8
[ "MIT" ]
null
null
null
#ifndef PASTEL_PARTICLE_META_SCALAR_OF_HPP # define PASTEL_PARTICLE_META_SCALAR_OF_HPP namespace pastel { namespace particle { namespace meta { template <typename Particle> struct scalar_of { using type = typename Particle::scalar_type; }; } // namespace meta } // namespace particl...
18.666667
55
0.72449
naoki-yoshioka
c022fc0227f60b3692dcd30aa9a40f44c96ca21d
1,573
cpp
C++
log/handlers.cpp
alexen/using_boost
3573c90ba7b170e4232064ff1455b1a5c565d927
[ "MIT" ]
null
null
null
log/handlers.cpp
alexen/using_boost
3573c90ba7b170e4232064ff1455b1a5c565d927
[ "MIT" ]
18
2021-11-24T13:59:42.000Z
2022-01-02T19:42:33.000Z
log/handlers.cpp
alexen/using_boost
3573c90ba7b170e4232064ff1455b1a5c565d927
[ "MIT" ]
null
null
null
/// @file /// @brief #include <log/handlers.h> #include <boost/thread.hpp> #include <boost/date_time/posix_time/posix_time_duration.hpp> #include <boost/thread.hpp> #include <boost/bind.hpp> #include <log/logger/logger.h> namespace using_boost { namespace log { namespace handler { namespace starter...
22.797101
79
0.585505
alexen
c02f8d53c23f8cf16c7a3da7b594d678bc9dee54
935
cpp
C++
Mewtle/src/Mewtle/UI/Label.cpp
TinSlam/Mewtle
3d178c4523a6a70fd362f781b7a92847f6bac559
[ "Apache-2.0" ]
null
null
null
Mewtle/src/Mewtle/UI/Label.cpp
TinSlam/Mewtle
3d178c4523a6a70fd362f781b7a92847f6bac559
[ "Apache-2.0" ]
null
null
null
Mewtle/src/Mewtle/UI/Label.cpp
TinSlam/Mewtle
3d178c4523a6a70fd362f781b7a92847f6bac559
[ "Apache-2.0" ]
null
null
null
#include <PrecompiledHeaders.h> #include "Label.h" #include "Mewtle/Core/MyGLRenderer.h" #include "Mewtle/ResourceManager/Model/ModelPremade.h" namespace Mewtle{ Label::Label(int id, Texture* texture, float x, float y, float width, float height, float rot) : Entity(id, Model3D::getModel(ModelPremade::MODEL_SQUARE),...
27.5
203
0.634225
TinSlam
c02fc7e91fb77cba6725c5dc4c68f34e0b8f8f12
1,735
hpp
C++
Axis.Physalis/application/output/ResultBucketConcrete.hpp
renato-yuzup/axis-fem
2e8d325eb9c8e99285f513b4c1218ef53eb0ab22
[ "MIT" ]
2
2021-07-23T08:49:54.000Z
2021-07-29T22:07:30.000Z
Axis.Physalis/application/output/ResultBucketConcrete.hpp
renato-yuzup/axis-fem
2e8d325eb9c8e99285f513b4c1218ef53eb0ab22
[ "MIT" ]
null
null
null
Axis.Physalis/application/output/ResultBucketConcrete.hpp
renato-yuzup/axis-fem
2e8d325eb9c8e99285f513b4c1218ef53eb0ab22
[ "MIT" ]
null
null
null
#pragma once #include "application/output/ResultBucket.hpp" namespace axis { namespace application { namespace output { class ResultDatabase; /**********************************************************************************************//** * @class ResultBucketConcrete * * @brief Manages result recording operat...
25.514706
100
0.602305
renato-yuzup
c035d81b8d7c6276b9f73b85e8d7dcf557daaba7
11,679
cpp
C++
PwnAdventure3/GeneratedFiles/Release/moc_CFramelessWindow.cpp
vm-enter/PwnAdventure3
579956d935bb8adc802281dd6df2050c3b4afb28
[ "MIT" ]
1
2021-02-24T03:52:56.000Z
2021-02-24T03:52:56.000Z
PwnAdventure3/GeneratedFiles/Release/moc_CFramelessWindow.cpp
vm-enter/PwnAdventure3
579956d935bb8adc802281dd6df2050c3b4afb28
[ "MIT" ]
null
null
null
PwnAdventure3/GeneratedFiles/Release/moc_CFramelessWindow.cpp
vm-enter/PwnAdventure3
579956d935bb8adc802281dd6df2050c3b4afb28
[ "MIT" ]
null
null
null
/**************************************************************************** ** Meta object code from reading C++ file 'CFramelessWindow.hpp' ** ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.9.0) ** ** WARNING! All changes made in this file will be lost! **************************************************...
34.553254
141
0.623255
vm-enter
c0393bb32540541e7fcd7c8c8e30038df2c8cac9
2,354
cc
C++
src/Listener.cc
blaugold/couchbase-lite-C
08d30377087bda06ed806bda4a5ff28182e0f472
[ "Apache-2.0" ]
66
2019-05-02T12:03:19.000Z
2021-06-28T21:16:32.000Z
src/Listener.cc
blaugold/couchbase-lite-C
08d30377087bda06ed806bda4a5ff28182e0f472
[ "Apache-2.0" ]
97
2019-05-28T15:46:00.000Z
2021-07-03T18:47:52.000Z
src/Listener.cc
blaugold/couchbase-lite-C
08d30377087bda06ed806bda4a5ff28182e0f472
[ "Apache-2.0" ]
28
2019-05-07T21:57:36.000Z
2021-06-24T11:09:38.000Z
// // Listener.cc // // Copyright © 2019 Couchbase. 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 requ...
26.75
92
0.642311
blaugold
c03a5d5b014c9d8766f1d7c8d8df6b0a928a71d3
3,339
cpp
C++
server/src/db_proxy_server/business/FileAction.cpp
leafsand/TeamTalk
d45d85a0cf712253c483abb4467b1cdbbea6c1ec
[ "Apache-2.0" ]
5
2021-09-23T08:26:28.000Z
2022-03-22T00:22:46.000Z
server/src/db_proxy_server/business/FileAction.cpp
leafsand/TeamTalk
d45d85a0cf712253c483abb4467b1cdbbea6c1ec
[ "Apache-2.0" ]
null
null
null
server/src/db_proxy_server/business/FileAction.cpp
leafsand/TeamTalk
d45d85a0cf712253c483abb4467b1cdbbea6c1ec
[ "Apache-2.0" ]
3
2022-01-06T10:09:44.000Z
2022-03-16T06:14:56.000Z
/*================================================================ * Copyright (c) 2014年 lanhu. All rights reserved. * * 文件名称:FileAction.cpp * 创 建 者:Zhang Yuanhao * 邮 箱:bluefoxah@gmail.com * 创建日期:2014年12月31日 * 描 述: * ================================================================*/ #include "Fil...
38.37931
142
0.55885
leafsand
c041733ef3c304b3b19b80cf15921d8738ea6d8d
993
cpp
C++
Operating system/CPU Scheduling/Shortest Job First.cpp
Shourov1702040/Algorithms-in-Cpp
8c9e8cdde3f2e038a97e489701da59bae5d44aed
[ "MIT" ]
2
2021-12-20T15:29:29.000Z
2021-12-20T17:35:07.000Z
Operating system/CPU Scheduling/Shortest Job First.cpp
Shourov1702040/Algorithms
8c9e8cdde3f2e038a97e489701da59bae5d44aed
[ "MIT" ]
null
null
null
Operating system/CPU Scheduling/Shortest Job First.cpp
Shourov1702040/Algorithms
8c9e8cdde3f2e038a97e489701da59bae5d44aed
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; int main(){ int n, i, j, index[20]; float bt[20], wt[20], tat[20], avwt=0, avtat=0; cout<<"Enter Number of Processes: "; cin>>n; cout<<"Enter Process Burst Time:"<<endl; for(i=0;i<n;i++){ cout<<"P["<<i+1<<"]:"; cin>>bt[i]; in...
23.093023
84
0.445116
Shourov1702040
c0429809d39d9eeed377e5fd0b70b2acd467294e
631
cpp
C++
sydney-2017-03-29/solution2.cpp
cjdb/cpp-conferences
bafe69cf11ca38451367553460e956cb52df3dd2
[ "Apache-2.0" ]
3
2017-09-15T00:10:25.000Z
2018-09-22T12:50:18.000Z
sydney-2017-03-29/solution2.cpp
cjdb/cppcon
bafe69cf11ca38451367553460e956cb52df3dd2
[ "Apache-2.0" ]
1
2017-12-04T22:12:16.000Z
2017-12-04T22:12:16.000Z
sydney-2017-03-29/solution2.cpp
cjdb/cppcon
bafe69cf11ca38451367553460e956cb52df3dd2
[ "Apache-2.0" ]
1
2017-12-04T10:50:54.000Z
2017-12-04T10:50:54.000Z
#include <experimental/ranges/algorithm> #include <experimental/ranges/iterator> #include <iostream> #include <forward_list> #include "make_crowd.hpp" #include <vector> int main() { using Container = std::forward_list<int>; auto c = make_crowd<Container>(5, 5, 5); ranges::BidirectionalIterator first = ranges...
28.681818
76
0.678288
cjdb
c046314562567e6b0b4497988a8184754b5a5528
154,715
cpp
C++
UScientificGraph.cpp
p-j-miller/csvgraph
32cc5bdbddd23056df9ed0e771a4356b8476b02e
[ "MIT" ]
null
null
null
UScientificGraph.cpp
p-j-miller/csvgraph
32cc5bdbddd23056df9ed0e771a4356b8476b02e
[ "MIT" ]
null
null
null
UScientificGraph.cpp
p-j-miller/csvgraph
32cc5bdbddd23056df9ed0e771a4356b8476b02e
[ "MIT" ]
null
null
null
//--------------------------------------------------------------------------- // TScientificGraph -- an object for scientific plots // This version by Peter Miller 18/7/2019 as csv file grapher // // Loosely based on an original public domain version by Frank heinrich, mail@frank-heinrich.de // Major tidy up 1/...
43.76662
254
0.585729
p-j-miller
c046b6d1b40f36f64bd3876c7b772002f2480eb0
3,528
cpp
C++
QtnProperty/Config.cpp
SolarCpp/QtnProperty
6711a7436865f14d3a4398f0745de9f0de32c7b7
[ "Apache-2.0" ]
null
null
null
QtnProperty/Config.cpp
SolarCpp/QtnProperty
6711a7436865f14d3a4398f0745de9f0de32c7b7
[ "Apache-2.0" ]
null
null
null
QtnProperty/Config.cpp
SolarCpp/QtnProperty
6711a7436865f14d3a4398f0745de9f0de32c7b7
[ "Apache-2.0" ]
null
null
null
/******************************************************************************* Copyright 2015-2017 Alexandra Cherdantseva <neluhus.vagus@gmail.com> 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...
34.930693
81
0.730442
SolarCpp
c0532030a968cc418d0cfaa0a9088c5a5d98163f
1,819
cpp
C++
src/scheduler/scheduler_test_thread.cpp
ppearson/sitemon2
22b5eaa03e9036c32b08a485917a3477078e6a57
[ "Apache-2.0" ]
null
null
null
src/scheduler/scheduler_test_thread.cpp
ppearson/sitemon2
22b5eaa03e9036c32b08a485917a3477078e6a57
[ "Apache-2.0" ]
null
null
null
src/scheduler/scheduler_test_thread.cpp
ppearson/sitemon2
22b5eaa03e9036c32b08a485917a3477078e6a57
[ "Apache-2.0" ]
null
null
null
/* Sitemon Copyright 2010 Peter Pearson. Licensed under the Apache License, Version 2.0 (the "License"); You may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writ...
20.908046
98
0.697636
ppearson
c05a7d662431a1898938f792bf2e46141ae5321a
2,790
cc
C++
buildin-plugin/ApplicationEventMonitor/file_operation_monitor.cc
hyl946/Dobby
277de270f93736b22934e591625a0f9cb532415d
[ "Apache-2.0" ]
1
2020-07-10T03:31:55.000Z
2020-07-10T03:31:55.000Z
buildin-plugin/ApplicationEventMonitor/file_operation_monitor.cc
hyl946/Dobby
277de270f93736b22934e591625a0f9cb532415d
[ "Apache-2.0" ]
1
2021-02-03T09:29:51.000Z
2021-02-03T09:29:51.000Z
buildin-plugin/ApplicationEventMonitor/file_operation_monitor.cc
hyl946/Dobby
277de270f93736b22934e591625a0f9cb532415d
[ "Apache-2.0" ]
6
2020-06-05T16:56:45.000Z
2021-01-19T07:41:45.000Z
#include <stdlib.h> /* getenv */ #include <stdio.h> #include <string.h> #include <iostream> #include <fstream> #include <set> #include <unordered_map> #include <sys/param.h> #include "./dobby_monitor.h" std::unordered_map<FILE *, const char *> *TracedFopenFileList; FILE *(*orig_fopen)(const char *filename, const ...
28.469388
80
0.664516
hyl946
c064ca24830b812942bfe5f3ed16c4ed75d2cd21
2,400
hpp
C++
NetKet/Stats/obs_manager.hpp
GTorlai/netket
0c35bfaadeb1253f611f8052b53c9b3d3d9aec9f
[ "Apache-2.0" ]
null
null
null
NetKet/Stats/obs_manager.hpp
GTorlai/netket
0c35bfaadeb1253f611f8052b53c9b3d3d9aec9f
[ "Apache-2.0" ]
null
null
null
NetKet/Stats/obs_manager.hpp
GTorlai/netket
0c35bfaadeb1253f611f8052b53c9b3d3d9aec9f
[ "Apache-2.0" ]
null
null
null
// Copyright 2018 The Simons Foundation, 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 at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless requi...
26.373626
75
0.673333
GTorlai
c065ce4e7a5f6edc6935b14dc6aecbc9b18c9e88
369
cpp
C++
TestSuite/TestApplicationBuilder.cpp
osakahq/OsakaEngine
47dd0ec5b67a176c552441a25168ecb48b52e14b
[ "Zlib", "MIT" ]
2
2016-04-04T06:00:28.000Z
2016-04-18T15:39:38.000Z
TestSuite/TestApplicationBuilder.cpp
osakahq/OsakaEngine
47dd0ec5b67a176c552441a25168ecb48b52e14b
[ "Zlib", "MIT" ]
null
null
null
TestSuite/TestApplicationBuilder.cpp
osakahq/OsakaEngine
47dd0ec5b67a176c552441a25168ecb48b52e14b
[ "Zlib", "MIT" ]
null
null
null
#include "stdafx.h" #include "SceneTestFactory.h" #include "TestApplicationBuilder.h" namespace Osaka{ namespace TestSuite{ RPGLib::SceneFactory* TestApplicationBuilder::CreateSceneFactory(RPGLib::Factory& factory, RPGLib::RPGApplication& app, RPGLib::TextureManager& texturem){ return new SceneTest...
26.357143
157
0.737127
osakahq
c070fe5fd0466cb835570873e96243f3bde8a764
2,692
cpp
C++
src/xr_3da/xrGame/ui/UISubLine.cpp
ixray-team/ixray-b2939
d9dc2359c0177cd3b58c310e015a1f390af2d8a1
[ "Linux-OpenIB" ]
null
null
null
src/xr_3da/xrGame/ui/UISubLine.cpp
ixray-team/ixray-b2939
d9dc2359c0177cd3b58c310e015a1f390af2d8a1
[ "Linux-OpenIB" ]
null
null
null
src/xr_3da/xrGame/ui/UISubLine.cpp
ixray-team/ixray-b2939
d9dc2359c0177cd3b58c310e015a1f390af2d8a1
[ "Linux-OpenIB" ]
null
null
null
// File: UISubLine.cpp // Description: Text line. Owns color attribute // Created: 04.04.2005 // Author: Serge Vynnycheko // Mail: narrator@gsc-game.kiev.ua // // Copyright 2005 GSC Game World #include "StdAfx.h" #include "UISubLine.h" #include "uilinestd.h" #include "../ui_base.h" //#define LOG_ALL_...
24.697248
86
0.681278
ixray-team
c076138d2323b4dccec17e952e3d44cc812ce357
899
cpp
C++
Fibonacchi/Fibonacchi/Fibonacchi.cpp
Orelik11/learning
a50ab2873ceb04bd86c9a0a20d3e6037e2ec8aba
[ "Apache-2.0" ]
null
null
null
Fibonacchi/Fibonacchi/Fibonacchi.cpp
Orelik11/learning
a50ab2873ceb04bd86c9a0a20d3e6037e2ec8aba
[ "Apache-2.0" ]
null
null
null
Fibonacchi/Fibonacchi/Fibonacchi.cpp
Orelik11/learning
a50ab2873ceb04bd86c9a0a20d3e6037e2ec8aba
[ "Apache-2.0" ]
null
null
null
// Fibonacchi.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include <iostream> #include <iomanip> //library for formatting output using namespace std; unsigned long int factorial(unsigned long int); //prototype of factorial int i = 1; //counter of calling recurcive function unsi...
23.051282
73
0.622914
Orelik11
c0769803cdbbd8cc75adf1d195661d0fdbdb0b9b
3,000
hpp
C++
include/dr_eigen/average.hpp
delftrobotics/dr_eigen
47022c2e1648c1b514ff493b25b3ebe54a7ddc7d
[ "Apache-2.0" ]
1
2017-06-02T14:14:37.000Z
2017-06-02T14:14:37.000Z
include/dr_eigen/average.hpp
delftrobotics/dr_eigen
47022c2e1648c1b514ff493b25b3ebe54a7ddc7d
[ "Apache-2.0" ]
null
null
null
include/dr_eigen/average.hpp
delftrobotics/dr_eigen
47022c2e1648c1b514ff493b25b3ebe54a7ddc7d
[ "Apache-2.0" ]
null
null
null
#pragma once #include <Eigen/Dense> #include <Eigen/Geometry> #include <Eigen/Eigenvalues> namespace dr { /// Calculate average orientation using quaternions template<typename DataType, typename ForwardIterator> Eigen::Quaternion<DataType> averageQuaternions(ForwardIterator const & begin, ForwardIterator const & end...
31.914894
126
0.715333
delftrobotics
c080b0878b86253a03685983c244e2a4bbbfca86
2,494
cpp
C++
sp/src/game/shared/gstring/clensflare_base.cpp
ChampionCynthia/g-string_2013
cae02cf5128be8a2469f242cff079a5f98e45427
[ "Unlicense" ]
28
2015-08-16T16:43:27.000Z
2022-02-19T23:37:08.000Z
sp/src/game/shared/gstring/clensflare_base.cpp
ChampionCynthia/g-string_2013
cae02cf5128be8a2469f242cff079a5f98e45427
[ "Unlicense" ]
null
null
null
sp/src/game/shared/gstring/clensflare_base.cpp
ChampionCynthia/g-string_2013
cae02cf5128be8a2469f242cff079a5f98e45427
[ "Unlicense" ]
6
2015-10-02T21:34:38.000Z
2019-09-20T11:09:41.000Z
#include "cbase.h" #include "gstring/clensflare_base.h" #include "tier1/KeyValues.h" #ifdef CLIENT_DLL #include "filesystem.h" #include "cdll_client_int.h" #include "hud.h" #include "gstring/vgui/hud_lensflarefx.h" #include "gstring/vgui/vlensflare.h" #endif #ifdef GAME_DLL BEGIN_DATADESC( CLensflareBase ) DEFIN...
19.637795
96
0.751403
ChampionCynthia
c081651947599791e0c42b76ce87d407101291b6
9,717
cpp
C++
MonoNative.Tests/mscorlib/System/Reflection/mscorlib_System_Reflection_CustomAttributeExtensions_Fixture.cpp
brunolauze/MonoNative
959fb52c2c1ffe87476ab0d6e4fcce0ad9ce1e66
[ "BSD-2-Clause" ]
7
2015-03-10T03:36:16.000Z
2021-11-05T01:16:58.000Z
MonoNative.Tests/mscorlib/System/Reflection/mscorlib_System_Reflection_CustomAttributeExtensions_Fixture.cpp
brunolauze/MonoNative
959fb52c2c1ffe87476ab0d6e4fcce0ad9ce1e66
[ "BSD-2-Clause" ]
1
2020-06-23T10:02:33.000Z
2020-06-24T02:05:47.000Z
MonoNative.Tests/mscorlib/System/Reflection/mscorlib_System_Reflection_CustomAttributeExtensions_Fixture.cpp
brunolauze/MonoNative
959fb52c2c1ffe87476ab0d6e4fcce0ad9ce1e66
[ "BSD-2-Clause" ]
null
null
null
// Mono Native Fixture // Assembly: mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 // Namespace: System.Reflection // Name: CustomAttributeExtensions // C++ Typed Name: mscorlib::System::Reflection::CustomAttributeExtensions #include <gtest/gtest.h> #include <mscorlib/System/Reflection/ms...
30.460815
142
0.766389
brunolauze
c0826f8d9e2a06ee79921eeafc5a8eea56d01a8f
397
cpp
C++
src/bin2asm.cpp
DosWorld/zrdx
18acbf115d150a96809c42799f496b94f903545f
[ "CC0-1.0" ]
12
2021-11-04T14:52:39.000Z
2022-03-17T10:13:23.000Z
src/bin2asm.cpp
DosWorld/zrdx
18acbf115d150a96809c42799f496b94f903545f
[ "CC0-1.0" ]
1
2021-11-10T00:11:31.000Z
2021-11-10T00:11:31.000Z
src/bin2asm.cpp
DosWorld/zrdx
18acbf115d150a96809c42799f496b94f903545f
[ "CC0-1.0" ]
null
null
null
#include <stdio.h> int main(int argc, char *argv[]){ if(argc<3)return 2; FILE * in, *out, *inc; in = fopen(argv[1], "rb"); out = fopen(argv[2], "wb"); if(in==NULL||out==NULL)return 1; long count = 0; for(;;){ int c=fgetc(in); if(c==EOF)break; fprintf(out, "%s%u%s", (count%32) ? ","...
23.352941
84
0.483627
DosWorld
c0863c0ffc54df706ad142a0bd81e41b79ab482a
6,223
cpp
C++
ToyBox/imgui/ImNodesEz.cpp
RIPmr/MoonEngine
b6d8464cdf87c2045b5d4ecce348dc76815b7ff1
[ "MIT" ]
13
2020-04-04T15:34:14.000Z
2022-03-28T01:45:27.000Z
ToyBox/imgui/ImNodesEz.cpp
RIPmr/MoonEngine
b6d8464cdf87c2045b5d4ecce348dc76815b7ff1
[ "MIT" ]
null
null
null
ToyBox/imgui/ImNodesEz.cpp
RIPmr/MoonEngine
b6d8464cdf87c2045b5d4ecce348dc76815b7ff1
[ "MIT" ]
2
2020-09-21T07:26:20.000Z
2021-07-05T08:07:31.000Z
// // Copyright (c) 2019 Rokas Kupstys. // // 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, modify, merge, publ...
38.41358
137
0.711554
RIPmr
c088dc13fd3d0a9ccace2b9b1d7a7ec9a3771d42
9,365
cc
C++
mysql-server/sql/mysqlbinlog.cc
xuefengedu/database
3952a411a3a17cc0cdbd98d6235e6f5caad2133a
[ "MIT" ]
1
2020-03-31T15:03:51.000Z
2020-03-31T15:03:51.000Z
mysql-server/sql/mysqlbinlog.cc
xuefengedu/database
3952a411a3a17cc0cdbd98d6235e6f5caad2133a
[ "MIT" ]
1
2020-03-31T15:04:54.000Z
2020-03-31T15:04:54.000Z
mysql-server/sql/mysqlbinlog.cc
xuefengedu/database
3952a411a3a17cc0cdbd98d6235e6f5caad2133a
[ "MIT" ]
null
null
null
/* Copyright (C) 2000 MySQL AB & MySQL Finland AB & TCX DataKonsult AB 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 later ve...
24.709763
90
0.644955
xuefengedu
c08a70b588934d6eaa78290512cce8b4fcf564a5
2,432
cpp
C++
src/Edge.cpp
RobertStivanson/CPP-Graph
07a0d8cb3860986c3257285ee02e184352ca5bfe
[ "MIT" ]
null
null
null
src/Edge.cpp
RobertStivanson/CPP-Graph
07a0d8cb3860986c3257285ee02e184352ca5bfe
[ "MIT" ]
null
null
null
src/Edge.cpp
RobertStivanson/CPP-Graph
07a0d8cb3860986c3257285ee02e184352ca5bfe
[ "MIT" ]
null
null
null
#include <iostream> #include "Edge.h" // Default constructor Edge::Edge() { return; } // Parameterized Constructor // params: // endID: This is the id associated with the node at the end of the LinkedList // weight: This is the weight for the given link Edge::Edge(NodeID startID, NodeID endID, float weight) : startID...
26.434783
105
0.687911
RobertStivanson
c08d6a9c637ed5a4b68ae30ba75676c1f4fc3ac9
2,757
cpp
C++
src/ofxJWT.cpp
naus3a/ofxJWT
a9e3d14182325767995d0d829ca8356d313786fc
[ "MIT" ]
null
null
null
src/ofxJWT.cpp
naus3a/ofxJWT
a9e3d14182325767995d0d829ca8356d313786fc
[ "MIT" ]
null
null
null
src/ofxJWT.cpp
naus3a/ofxJWT
a9e3d14182325767995d0d829ca8356d313786fc
[ "MIT" ]
null
null
null
// // ofxJWT.cpp // ofJWT // an addon for JSON Web Tokens https://jwt.io/ // // Created by enrico<nausea>viola on 6/29/16. // // #include "ofxJWT.h" ofxJWT::ofxJWT(){ http = NULL; } ofxJWT::~ofxJWT(){ http = NULL; } void ofxJWT::setup(ofxHttpUtils * _http, string _user, string _pass, string _url, string...
25.063636
115
0.594487
naus3a
c08eaebf7c319208e9a638bf848e977a45d11ec2
5,172
cpp
C++
src/ppc/ppc_reader.cpp
FlyingChickens64/GCDecompiler
182272a8b90360b636e8963c74a7e2f1e14301f0
[ "MIT" ]
25
2018-02-23T22:36:13.000Z
2022-01-23T07:45:48.000Z
src/ppc/ppc_reader.cpp
FlyingChickens64/GCDecompiler
182272a8b90360b636e8963c74a7e2f1e14301f0
[ "MIT" ]
5
2018-02-27T18:19:56.000Z
2021-11-15T22:21:53.000Z
src/ppc/ppc_reader.cpp
FlyingChickens64/GCDecompiler
182272a8b90360b636e8963c74a7e2f1e14301f0
[ "MIT" ]
10
2018-02-24T00:18:53.000Z
2022-03-24T20:06:33.000Z
#include <vector> #include <string> #include <fstream> #include <sstream> #include <iomanip> #include <cmath> #include <set> #include <unordered_map> #include "at_logging" #include "at_utils" #include "types.h" #include "filetypes/rel.h" #include "ppc/register.h" #include "ppc/instruction.h" #include "ppc/symbol.h" ...
34.026316
130
0.53635
FlyingChickens64
6a4d2b4ad2456393378410a9dac121e6786308ea
2,802
cpp
C++
src/main/cpp/ColorSensor.cpp
sdbiggs/SwerveDrive2_2022
5b19da6eb3829007453497906944095599982a7e
[ "BSD-3-Clause" ]
null
null
null
src/main/cpp/ColorSensor.cpp
sdbiggs/SwerveDrive2_2022
5b19da6eb3829007453497906944095599982a7e
[ "BSD-3-Clause" ]
null
null
null
src/main/cpp/ColorSensor.cpp
sdbiggs/SwerveDrive2_2022
5b19da6eb3829007453497906944095599982a7e
[ "BSD-3-Clause" ]
null
null
null
// #include "rev/ColorSensorV3.h" // // #include "rev/ColorMatch.h" // // #include "frc/smartdashboard/SmartDashboard.h" // #include "ColorSensor.hpp" // #include "Enums.hpp" // static constexpr auto i2cPort = frc::I2C::Port::kOnboard; // std::string colorString; // rev::ColorSensorV3 m_colorSensor{i2cPort}; // rev::C...
41.820896
93
0.616345
sdbiggs
6a51e57a5bbc9eb136356a8c184945d638bfdf16
1,744
cpp
C++
Piscines/CPP/day01/ex10/main.cpp
SpeedFireSho/42-1
5d7ce17910794a28ca44d937651b961feadcff11
[ "MIT" ]
84
2020-10-13T14:50:11.000Z
2022-01-11T11:19:36.000Z
Piscines/CPP/day01/ex10/main.cpp
SpeedFireSho/42-1
5d7ce17910794a28ca44d937651b961feadcff11
[ "MIT" ]
null
null
null
Piscines/CPP/day01/ex10/main.cpp
SpeedFireSho/42-1
5d7ce17910794a28ca44d937651b961feadcff11
[ "MIT" ]
43
2020-09-10T19:26:37.000Z
2021-12-28T13:53:55.000Z
/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* main.cpp :+: :+: :+: ...
32.90566
80
0.241972
SpeedFireSho
6a52c19926b63da78cdabedd7b10adc2c4a544f2
4,974
cpp
C++
src/scene/objects/joint.cpp
vi3itor/Blunted2
318af452e51174a3a4634f3fe19b314385838992
[ "Unlicense" ]
56
2020-07-22T22:11:06.000Z
2022-03-09T08:11:43.000Z
GameplayFootball/src/scene/objects/joint.cpp
ElsevierSoftwareX/SOFTX-D-20-00016
48c28adb72aa167a251636bc92111b3c43c0be67
[ "MIT" ]
9
2021-04-22T07:06:25.000Z
2022-01-22T12:54:52.000Z
GameplayFootball/src/scene/objects/joint.cpp
ElsevierSoftwareX/SOFTX-D-20-00016
48c28adb72aa167a251636bc92111b3c43c0be67
[ "MIT" ]
20
2017-11-07T16:52:32.000Z
2022-01-25T02:42:48.000Z
// written by bastiaan konings schuiling 2008 - 2014 // this work is public domain. the code is undocumented, scruffy, untested, and should generally not be used for anything important. // i do not offer support, so don't ask. to be used for inspiration :) #include "joint.hpp" #include "geometry.hpp" #include "syste...
31.0875
170
0.689184
vi3itor
6a56bc0348f8e25bcf55c96ecdf4205ab11efde1
697
cpp
C++
libs/core/src/narrow_locale.cpp
freundlich/fcppt
17df1b1ad08bf2435f6902d5465e3bc3fe5e3022
[ "BSL-1.0" ]
13
2015-02-21T18:35:14.000Z
2019-12-29T14:08:29.000Z
libs/core/src/narrow_locale.cpp
cpreh/fcppt
17df1b1ad08bf2435f6902d5465e3bc3fe5e3022
[ "BSL-1.0" ]
5
2016-08-27T07:35:47.000Z
2019-04-21T10:55:34.000Z
libs/core/src/narrow_locale.cpp
freundlich/fcppt
17df1b1ad08bf2435f6902d5465e3bc3fe5e3022
[ "BSL-1.0" ]
8
2015-01-10T09:22:37.000Z
2019-12-01T08:31:12.000Z
// Copyright Carl Philipp Reh 2009 - 2021. // 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 <fcppt/narrow_locale.hpp> #include <fcppt/optional_std_string.hpp> #include <fcppt/impl/co...
34.85
87
0.747489
freundlich
6a57073cddb133cd269d9423e936f975eef3a9c0
4,300
cpp
C++
arangod/MMFiles/mmfiles-replication-common.cpp
specimen151/arangodb
1a3a31dace16293426a19364eb4d93c8f17c0d68
[ "BSL-1.0", "Zlib", "Apache-2.0" ]
null
null
null
arangod/MMFiles/mmfiles-replication-common.cpp
specimen151/arangodb
1a3a31dace16293426a19364eb4d93c8f17c0d68
[ "BSL-1.0", "Zlib", "Apache-2.0" ]
null
null
null
arangod/MMFiles/mmfiles-replication-common.cpp
specimen151/arangodb
1a3a31dace16293426a19364eb4d93c8f17c0d68
[ "BSL-1.0", "Zlib", "Apache-2.0" ]
1
2021-07-12T06:29:34.000Z
2021-07-12T06:29:34.000Z
//////////////////////////////////////////////////////////////////////////////// /// DISCLAIMER /// /// Copyright 2014-2017 ArangoDB GmbH, Cologne, Germany /// Copyright 2004-2014 triAGENS GmbH, Cologne, Germany /// /// Licensed under the Apache License, Version 2.0 (the "License"); /// you may not use this file except...
40.566038
83
0.718372
specimen151
6a5ab3bafb5d12be7a5d94b9255e3ab024f8eae5
3,133
cpp
C++
stira/imagetools/testDrawing/testDrawing.cpp
frooms/stira
60b419f3e478397a8ab43ce9315a259567d94a26
[ "MIT" ]
8
2016-03-23T08:12:33.000Z
2022-01-25T14:07:03.000Z
stira/imagetools/testDrawing/testDrawing.cpp
frooms/stira
60b419f3e478397a8ab43ce9315a259567d94a26
[ "MIT" ]
null
null
null
stira/imagetools/testDrawing/testDrawing.cpp
frooms/stira
60b419f3e478397a8ab43ce9315a259567d94a26
[ "MIT" ]
8
2015-06-29T12:00:06.000Z
2019-09-03T12:40:47.000Z
/*********************************************************************************** * Copyright (C) 2008 by Filip Rooms * * * * Terms and conditions for using this software in any form ar...
34.054348
90
0.525694
frooms
6a646875ae4bf9abd9e1aff6867a8fde92a6203c
1,154
cpp
C++
library/src/main/jni/cge/filters/cgeQuadFilter.cpp
iigacon/gpuimage
7a9b748556c81c6c7b69b4187ea60a77b1485b37
[ "MIT" ]
null
null
null
library/src/main/jni/cge/filters/cgeQuadFilter.cpp
iigacon/gpuimage
7a9b748556c81c6c7b69b4187ea60a77b1485b37
[ "MIT" ]
null
null
null
library/src/main/jni/cge/filters/cgeQuadFilter.cpp
iigacon/gpuimage
7a9b748556c81c6c7b69b4187ea60a77b1485b37
[ "MIT" ]
null
null
null
/* * cgeBrightnessAdjust.cpp * * Created on: 2013-12-26 * Author: Wang Yang */ #include "cgeQuadFilter.h" #include <cmath> const static char* const s_fshSquare = CGE_SHADER_STRING_PRECISION_H ( precision highp float; uniform sampler2D inputImageTexture; varying vec2 textureCoordinate; void main(){ vec2 dstP...
21.37037
115
0.676776
iigacon
6a7a45311bc75474b0e816bf0890c239cdec3cb7
1,537
cpp
C++
software/firmware/components/http/put_handlers.cpp
openesper/esper
5a75659c6963d1c51d92d1bbbd43b7827775aa06
[ "MIT" ]
68
2021-04-13T16:02:16.000Z
2022-02-20T05:34:34.000Z
software/firmware/components/http/put_handlers.cpp
openesper/esper
5a75659c6963d1c51d92d1bbbd43b7827775aa06
[ "MIT" ]
1
2021-04-24T23:22:35.000Z
2021-04-28T20:54:11.000Z
software/firmware/components/http/put_handlers.cpp
openesper/esper
5a75659c6963d1c51d92d1bbbd43b7827775aa06
[ "MIT" ]
13
2021-04-16T05:11:59.000Z
2022-02-19T21:46:51.000Z
#include "put_handlers.h" #include "error.h" #include "events.h" #include "lists.h" #ifdef CONFIG_LOCAL_LOG_LEVEL #define LOG_LOCAL_LEVEL ESP_LOG_INFO #endif #include "esp_log.h" static const char* TAG = "HTTP"; esp_err_t blacklist_put_handler(httpd_req_t *req) { ESP_LOGI(TAG, "PUT Request for %s", req->uri); ...
23.646154
77
0.657775
openesper
6a7e14f0ae7b43622d43fb7d8833c4963e2c95ad
6,434
cc
C++
arc/vm/mojo_proxy/local_file.cc
dgreid/platform2
9b8b30df70623c94f1c8aa634dba94195343f37b
[ "BSD-3-Clause" ]
4
2020-07-24T06:54:16.000Z
2021-06-16T17:13:53.000Z
arc/vm/mojo_proxy/local_file.cc
dgreid/platform2
9b8b30df70623c94f1c8aa634dba94195343f37b
[ "BSD-3-Clause" ]
1
2021-04-02T17:35:07.000Z
2021-04-02T17:35:07.000Z
arc/vm/mojo_proxy/local_file.cc
dgreid/platform2
9b8b30df70623c94f1c8aa634dba94195343f37b
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2018 The Chromium OS 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 "arc/vm/mojo_proxy/local_file.h" #include <errno.h> #include <fcntl.h> #include <sys/ioctl.h> #include <sys/stat.h> #include <unistd.h> #inc...
35.944134
80
0.557973
dgreid
6a84e9184df837cd90ac7485b88ae7f47e12537b
14,896
cpp
C++
src/authentication/cram_md5/authenticator.cpp
ankurcha/mesos
46dc9979e9cc38d36dc7300db13af39bdfbfd52e
[ "Apache-2.0" ]
null
null
null
src/authentication/cram_md5/authenticator.cpp
ankurcha/mesos
46dc9979e9cc38d36dc7300db13af39bdfbfd52e
[ "Apache-2.0" ]
2
2015-09-29T12:09:44.000Z
2016-01-06T05:12:29.000Z
src/authentication/cram_md5/authenticator.cpp
ankurcha/mesos
46dc9979e9cc38d36dc7300db13af39bdfbfd52e
[ "Apache-2.0" ]
4
2015-08-05T21:47:37.000Z
2018-08-31T23:40:03.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...
26.695341
79
0.6538
ankurcha
6a852bc409200e8b63d6e0229b372471987d0c6f
1,028
hpp
C++
source/Rendering/OpenGL/OpenGL21/TextureCube_OpenGL21.hpp
mackron/GTGameEngine
380d1e01774fe6bc2940979e4e5983deef0bf082
[ "BSD-3-Clause" ]
31
2015-03-19T08:44:48.000Z
2021-12-15T20:52:31.000Z
source/Rendering/OpenGL/OpenGL21/TextureCube_OpenGL21.hpp
mackron/GTGameEngine
380d1e01774fe6bc2940979e4e5983deef0bf082
[ "BSD-3-Clause" ]
19
2015-07-09T09:02:44.000Z
2016-06-09T03:51:03.000Z
source/Rendering/OpenGL/OpenGL21/TextureCube_OpenGL21.hpp
mackron/GTGameEngine
380d1e01774fe6bc2940979e4e5983deef0bf082
[ "BSD-3-Clause" ]
3
2017-10-04T23:38:18.000Z
2022-03-07T08:27:13.000Z
// Copyright (C) 2011 - 2014 David Reid. See included LICENCE. #ifndef GT_Rendering_TextureCube_OpenGL21 #define GT_Rendering_TextureCube_OpenGL21 #include <GTGE/Rendering/TextureCube.hpp> #include <gtgl/gtgl.h> #include "TextureState_OpenGL21.hpp" namespace GT { class TextureCube_OpenGL21 : public TextureCube...
24.47619
195
0.695525
mackron
6a861f74d017790b4bba65d36e5a572ffa4f5a0d
6,979
cpp
C++
src/Input.cpp
Daivuk/onut
b02c5969b36897813de9c574a26d9437b67f189e
[ "MIT" ]
50
2015-06-01T19:23:24.000Z
2021-12-22T02:14:23.000Z
src/Input.cpp
Daivuk/onut
b02c5969b36897813de9c574a26d9437b67f189e
[ "MIT" ]
109
2015-07-20T07:43:03.000Z
2021-01-31T21:52:36.000Z
src/Input.cpp
Daivuk/onut
b02c5969b36897813de9c574a26d9437b67f189e
[ "MIT" ]
9
2015-07-02T21:36:20.000Z
2019-10-19T04:18:02.000Z
// Onut #include <onut/GamePad.h> #include <onut/Input.h> #include <onut/Joystick.h> #include <onut/Renderer.h> // Private #include "InputDevice.h" // STL #include <cassert> OInputRef oInput; namespace onut { OInputRef Input::create(const OWindowRef& pWindow) { return std::make_shared<OInput>(pWindo...
27.694444
121
0.606534
Daivuk
6a86a0ae5093146ebfad7c6f8032ca617a5ac278
431
hh
C++
UI/player.hh
saarioka/Saaripeli
28145e49b4708e22fb7cb051c1ccddfa4a6a24f9
[ "MIT" ]
null
null
null
UI/player.hh
saarioka/Saaripeli
28145e49b4708e22fb7cb051c1ccddfa4a6a24f9
[ "MIT" ]
null
null
null
UI/player.hh
saarioka/Saaripeli
28145e49b4708e22fb7cb051c1ccddfa4a6a24f9
[ "MIT" ]
null
null
null
#ifndef PLAYER_HH #define PLAYER_HH #include "iplayer.hh" namespace Student{ class Player : public Common::IPlayer { public: Player(int id); ~Player(); virtual int getPlayerId() const; virtual void setActionsLeft(unsigned int actionsLeft); virtual unsigned int getActionsLeft() const; private: ...
15.392857
58
0.703016
saarioka
6a87a9316a01c746e324be64b016a7a5349578f8
1,597
hpp
C++
src/translator.hpp
lnceballosz/vg
82d8ba2f38299525c0b0a6b19dcb785d2c439cfa
[ "MIT" ]
null
null
null
src/translator.hpp
lnceballosz/vg
82d8ba2f38299525c0b0a6b19dcb785d2c439cfa
[ "MIT" ]
null
null
null
src/translator.hpp
lnceballosz/vg
82d8ba2f38299525c0b0a6b19dcb785d2c439cfa
[ "MIT" ]
null
null
null
// SPDX-FileCopyrightText: 2014 Erik Garrison // // SPDX-License-Identifier: MIT #ifndef VG_TRANSLATOR_HPP_INCLUDED #define VG_TRANSLATOR_HPP_INCLUDED /// \file translator.hpp /// Defines the Translator, which maps paths on an augmented graph into the base /// graph defined by a set of Translations from the augmented ...
26.616667
81
0.743895
lnceballosz
6a8a4bd6c047452ad4e63a009b009d35b57bfbca
1,897
cpp
C++
fucapi2Bimestre/curvaParametrica.cpp
taynarodrigues/OpenGL
c1309835313f2a00b07668cfddbea21a26c5b21f
[ "MIT" ]
2
2020-04-05T02:38:14.000Z
2020-04-05T02:48:18.000Z
fucapi2Bimestre/curvaParametrica.cpp
taynarodrigues/OpenGL--Computacao-Grafica
c1309835313f2a00b07668cfddbea21a26c5b21f
[ "MIT" ]
null
null
null
fucapi2Bimestre/curvaParametrica.cpp
taynarodrigues/OpenGL--Computacao-Grafica
c1309835313f2a00b07668cfddbea21a26c5b21f
[ "MIT" ]
null
null
null
//Desenhar duas curvas, uma usando uma representação analítica paramétrica #include <GL/glut.h> #include <stdlib.h> void init(void); void display(void); void keyboard(unsigned char key, int x, int y); //função principal int main(int argc, char** argv){ glutInit(&argc, argv); //inic...
30.596774
106
0.567211
taynarodrigues
6a8cc6a67cebf68128d02a15f99310de392379ea
1,780
cxx
C++
src/screens/colors.cxx
RafaelOstertag/yellowfish
d37cae59559a001e4febdb96e70c9da078d30269
[ "BSD-2-Clause" ]
null
null
null
src/screens/colors.cxx
RafaelOstertag/yellowfish
d37cae59559a001e4febdb96e70c9da078d30269
[ "BSD-2-Clause" ]
null
null
null
src/screens/colors.cxx
RafaelOstertag/yellowfish
d37cae59559a001e4febdb96e70c9da078d30269
[ "BSD-2-Clause" ]
null
null
null
#include "colors.hh" using namespace screens; Colors::Colors(Sint32 x, Sint32 y, Sint32 width, Sint32 height) : rect{x, y, width, height} {} void Colors::render(const sdl::Renderer& renderer) { SDL_SetRenderDrawColor(renderer.get(), color.red(), color.green(), color.blue(), color.a...
19.139785
70
0.475281
RafaelOstertag
6a8e585d3d1aabbdd82e05ae0ad98fd4e30a4f00
329
cpp
C++
positivo negativo nulo.cpp
jcvasconcelos/praticando-exercicios-simples-git-c
24e7328ff6c6cb452acf2fad1e7a1789e2daaf42
[ "MIT" ]
null
null
null
positivo negativo nulo.cpp
jcvasconcelos/praticando-exercicios-simples-git-c
24e7328ff6c6cb452acf2fad1e7a1789e2daaf42
[ "MIT" ]
null
null
null
positivo negativo nulo.cpp
jcvasconcelos/praticando-exercicios-simples-git-c
24e7328ff6c6cb452acf2fad1e7a1789e2daaf42
[ "MIT" ]
null
null
null
#include <stdio.h> #include <stdlib.h> int main() { int n; printf("Digite o numero: "); /* mostra mensagem na tela */ scanf("%d", &n); /* le informacao do teclado */ if (n>0) printf("o numero e positivo "); else if(n<0) printf("o numero e negativo"); else printf("o numero e nulo"); system("PAUSE"); ret...
17.315789
58
0.610942
jcvasconcelos
6a9371005dfe3de6f4b1e6e8167003b97d8123ea
2,299
cpp
C++
arrays/sliding_window_miximum&minimum_sum_of_all_subarrays_using_deque.cpp
sanathvernekar/Routine_codes
a898ca7e79cf39c289cb2fefaf764c9f8e0eb331
[ "MIT" ]
null
null
null
arrays/sliding_window_miximum&minimum_sum_of_all_subarrays_using_deque.cpp
sanathvernekar/Routine_codes
a898ca7e79cf39c289cb2fefaf764c9f8e0eb331
[ "MIT" ]
null
null
null
arrays/sliding_window_miximum&minimum_sum_of_all_subarrays_using_deque.cpp
sanathvernekar/Routine_codes
a898ca7e79cf39c289cb2fefaf764c9f8e0eb331
[ "MIT" ]
null
null
null
// C++ program to find sum of all minimum and maximum // elements Of Sub-array Size k. //reference :-https://www.geeksforgeeks.org/sum-minimum-maximum-elements-subarrays-size-k/ #include<bits/stdc++.h> using namespace std; // Returns sum of min and max element of all subarrays // of size k int SumOfKsubArray(int...
26.732558
91
0.605916
sanathvernekar
6a94b21b753654d882f63845656db1c3973d37bb
352
cpp
C++
Leetcode/1672_richest.cpp
prameetu/CP_codes
41f8cfc188d2e08a8091bc5134247d05ba8a78f5
[ "MIT" ]
null
null
null
Leetcode/1672_richest.cpp
prameetu/CP_codes
41f8cfc188d2e08a8091bc5134247d05ba8a78f5
[ "MIT" ]
null
null
null
Leetcode/1672_richest.cpp
prameetu/CP_codes
41f8cfc188d2e08a8091bc5134247d05ba8a78f5
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; int maximumWealth(vector<vector<int>>& accounts) { int max_sum(0); int intial_sum(0); for(int i=0;i<accounts.size();i++) { max_sum = max(max_sum,accumulate(accounts[i].begin(),accounts[i].end(),intial_sum)); } return m...
17.6
93
0.573864
prameetu
6a95d41391d637818ec10faa4a61b8223a4bec53
7,042
cpp
C++
SDKs/CryCode/3.8.1/CryEngine/CryAction/RangeSignalingSystem/RangeSignaling.cpp
amrhead/FireNET
34d439aa0157b0c895b20b2b664fddf4f9b84af1
[ "BSD-2-Clause" ]
4
2017-12-18T20:10:16.000Z
2021-02-07T21:21:24.000Z
SDKs/CryCode/3.8.1/CryEngine/CryAction/RangeSignalingSystem/RangeSignaling.cpp
amrhead/FireNET
34d439aa0157b0c895b20b2b664fddf4f9b84af1
[ "BSD-2-Clause" ]
null
null
null
SDKs/CryCode/3.8.1/CryEngine/CryAction/RangeSignalingSystem/RangeSignaling.cpp
amrhead/FireNET
34d439aa0157b0c895b20b2b664fddf4f9b84af1
[ "BSD-2-Clause" ]
3
2019-03-11T21:36:15.000Z
2021-02-07T21:21:26.000Z
/******************************************************************** Crytek Source File. Copyright (C), Crytek Studios, 2006-2007. --------------------------------------------------------------------- File name: RangeSignaling.cpp $Id$ $DateTime$ Description: Signal entities based on ranges from other entities -----...
18.531579
173
0.633769
amrhead