hexsha
stringlengths
40
40
size
int64
7
1.05M
ext
stringclasses
13 values
lang
stringclasses
1 value
max_stars_repo_path
stringlengths
4
269
max_stars_repo_name
stringlengths
5
108
max_stars_repo_head_hexsha
stringlengths
40
40
max_stars_repo_licenses
listlengths
1
9
max_stars_count
float64
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
float64
1
77k
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
float64
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
653k
max_line_length
int64
6
990k
alphanum_fraction
float64
0.01
1
198afa841e2b4b299cfac1ee12484b0c5f49e1f8
7,593
cpp
C++
editor/mainwindow.cpp
ErrrOrrr503/DOORkaEngine
90084cc622b1bcc021d9c3de5ccb52b349d4217e
[ "WTFPL" ]
null
null
null
editor/mainwindow.cpp
ErrrOrrr503/DOORkaEngine
90084cc622b1bcc021d9c3de5ccb52b349d4217e
[ "WTFPL" ]
null
null
null
editor/mainwindow.cpp
ErrrOrrr503/DOORkaEngine
90084cc622b1bcc021d9c3de5ccb52b349d4217e
[ "WTFPL" ]
null
null
null
#include "mainwindow.h" #include "ui_mainwindow.h" MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), ui(new Ui::MainWindow) { ui->setupUi(this); ui->console->setReadOnly(true); ui->texture_label->clear(); ogl_layout = new QHBoxLayout(ui->frame_ogl); ogl_layout->setContentsMargins(0, 0...
28.226766
129
0.613591
198d0718efc73c0de5a00ae19fa727d5b91c2511
466
cpp
C++
cpp1st/week08/taehwan/example_regex_error.cpp
th4inquiry/PentaDevs
aa379d24494a485ad5e7fdcc385c6ccfb02cf307
[ "Apache-2.0" ]
2
2022-03-10T10:18:23.000Z
2022-03-16T15:37:22.000Z
cpp1st/week08/taehwan/example_regex_error.cpp
th4inquiry/PentaDevs
aa379d24494a485ad5e7fdcc385c6ccfb02cf307
[ "Apache-2.0" ]
8
2022-03-09T16:14:47.000Z
2022-03-28T15:35:17.000Z
cpp1st/week08/taehwan/example_regex_error.cpp
th4inquiry/PentaDevs
aa379d24494a485ad5e7fdcc385c6ccfb02cf307
[ "Apache-2.0" ]
4
2022-03-08T00:22:29.000Z
2022-03-12T13:22:43.000Z
/// /// Copyright 2022 PentaDevs /// Author: Taehwan Kim /// Contents: Examples of regex_error (referenced from CppReference) #include <regex> #include <iostream> int main() { try { std::regex re("[a-b][a"); } catch (const std::regex_error& e) { std::cout << "regex_error caught: " << e.wha...
23.3
68
0.564378
198f28e392557799ceb6a4a19f49e5e08e2c58a7
7,134
cpp
C++
src/rc_utils.cpp
mjdousti/therminator
d706ab43ac97a4266ce19618b1e35d4e0245cd5b
[ "Xnet", "X11", "RSA-MD" ]
3
2019-09-26T00:09:50.000Z
2021-08-09T03:19:38.000Z
src/rc_utils.cpp
mjdousti/therminator
d706ab43ac97a4266ce19618b1e35d4e0245cd5b
[ "Xnet", "X11", "RSA-MD" ]
null
null
null
src/rc_utils.cpp
mjdousti/therminator
d706ab43ac97a4266ce19618b1e35d4e0245cd5b
[ "Xnet", "X11", "RSA-MD" ]
5
2015-08-03T01:41:39.000Z
2021-01-06T18:14:11.000Z
/** * * Copyright (C) 2021 Mohammad Javad Dousti, Qing Xie, Mahdi Nazemi, * and Massoud Pedram. All rights reserved. * * Please refer to the LICENSE file for terms of use. * */ #include "headers/rc_utils.hpp" #include <omp.h> VALUE RCutils::calcThermalConductivity(VALUE k, VALUE thickness, ...
35.492537
80
0.624895
199034cd2c78220b6d27610356901fd7f2406bb0
1,685
cpp
C++
G53GRA.Framework/Code/Sky.cpp
baisebaoma/COMP3069CW
731627a4d5d961435f3c4064e2c789db6a70423a
[ "MIT" ]
null
null
null
G53GRA.Framework/Code/Sky.cpp
baisebaoma/COMP3069CW
731627a4d5d961435f3c4064e2c789db6a70423a
[ "MIT" ]
null
null
null
G53GRA.Framework/Code/Sky.cpp
baisebaoma/COMP3069CW
731627a4d5d961435f3c4064e2c789db6a70423a
[ "MIT" ]
null
null
null
#include "Sky.hpp" #include <iostream> #include <cmath> // TODO: 现在是全写在Sky里,到时候得分开成各个东西。(refactor) #include <stdio.h> #include <stdlib.h> // MAKE SURE WE INITIALISE OUR VARIABLES Sky::Sky() : keyframe(-1), animateTime(0.0), animateRotation(0.0), animateTranslation(0.0), interpA(0.0), interpB(0.0), interpTime(0.0){...
24.42029
95
0.659347
19963cc8374e09c591274312c5cda381f5d7e39d
12,753
cc
C++
src/core/user_interface.cc
juliomarcelopicardo/Wolfy2D
34cf5afca05e1f1cf57ad7899152efe09391ac7b
[ "MIT" ]
null
null
null
src/core/user_interface.cc
juliomarcelopicardo/Wolfy2D
34cf5afca05e1f1cf57ad7899152efe09391ac7b
[ "MIT" ]
null
null
null
src/core/user_interface.cc
juliomarcelopicardo/Wolfy2D
34cf5afca05e1f1cf57ad7899152efe09391ac7b
[ "MIT" ]
null
null
null
/** Copyright Julio Marcelo Picardo 2017-18, all rights reserved. * * @project Wolfy2D - Including JMP scripting language. * @author Julio Marcelo Picardo <juliomarcelopicardo@gmail.com> */ #include "core/user_interface.h" #include "GLFW/glfw3.h" #include "imgui.h" #include "imgui_dock.h" #include "core/core.h" #i...
35.035714
140
0.632165
199b46ae2e5d531d246a12762b8d9930fa3aafba
7,620
cpp
C++
Data Structures/Heaps/Fibonacci Heap.cpp
Rand0mUsername/Algorithms
05ec0d7ed7f0a4d13000d9d77d743812ac9a27e0
[ "MIT" ]
2
2020-01-10T14:12:03.000Z
2020-05-28T19:12:21.000Z
Data Structures/Heaps/Fibonacci Heap.cpp
Rand0mUsername/algorithms
05ec0d7ed7f0a4d13000d9d77d743812ac9a27e0
[ "MIT" ]
null
null
null
Data Structures/Heaps/Fibonacci Heap.cpp
Rand0mUsername/algorithms
05ec0d7ed7f0a4d13000d9d77d743812ac9a27e0
[ "MIT" ]
1
2022-01-11T03:14:48.000Z
2022-01-11T03:14:48.000Z
// RandomUsername (Nikola Jovanovic) // Fibonacci Heap // Source: CLRS, Third Edition #include <algorithm> #include <cstdlib> #include <fstream> #include <iostream> #include <string> struct Node { Node* left; Node* right; Node* parent; Node* first_child; int key; int degree; bool marked; explicit Node...
25.065789
74
0.56168
19a273935ae0662816c7a68f7d39f79db444aea3
7,301
hpp
C++
src/byl_avl_tree.hpp
superboy0712/toy_template_library
4b62a52bf0789472807206997253b0cc7cdd8102
[ "MIT" ]
null
null
null
src/byl_avl_tree.hpp
superboy0712/toy_template_library
4b62a52bf0789472807206997253b0cc7cdd8102
[ "MIT" ]
null
null
null
src/byl_avl_tree.hpp
superboy0712/toy_template_library
4b62a52bf0789472807206997253b0cc7cdd8102
[ "MIT" ]
null
null
null
// // Created by yulong on 3/31/17. // #ifndef BYL_TEMPLATE_LIBRARY_AVL_TREE_H #define BYL_TEMPLATE_LIBRARY_AVL_TREE_H #include "byl_bst.hpp" #include <cstddef> namespace byl { template<typename T> struct avl_tree; template<typename T> struct avl_node { typedef T value_type; typedef size_t size_type;; fri...
31.200855
108
0.506506
19ac69b353212e5cb772c9447e2512f70e77bf4a
243
cpp
C++
24_qstackedwidget/src/pessoa.cpp
josersi/qt_cppmaster
62e8499c1f17463bd4209ac61ae4fc8d49da69e4
[ "MIT" ]
1
2018-09-01T05:57:29.000Z
2018-09-01T05:57:29.000Z
24_qstackedwidget/src/pessoa.cpp
josersi/qt_cppmaster
62e8499c1f17463bd4209ac61ae4fc8d49da69e4
[ "MIT" ]
null
null
null
24_qstackedwidget/src/pessoa.cpp
josersi/qt_cppmaster
62e8499c1f17463bd4209ac61ae4fc8d49da69e4
[ "MIT" ]
1
2019-09-26T01:45:10.000Z
2019-09-26T01:45:10.000Z
#include "pessoa.h" Pessoa::Pessoa(QObject *parent) : QObject(parent) { } QString Pessoa::getNome() const { return nome; } void Pessoa::setNome(const QString &value) { nome = value; emit nomeChanged(nome); }
12.789474
50
0.613169
30abe44edfcc28fa640af9703d47dcf0c8fc614e
600
cpp
C++
3D-TV/PerfTimer.cpp
TheByteKitchen/Kinect_client_server
47bd066199f5b112b476e4d34ad333a535baa314
[ "MS-PL" ]
null
null
null
3D-TV/PerfTimer.cpp
TheByteKitchen/Kinect_client_server
47bd066199f5b112b476e4d34ad333a535baa314
[ "MS-PL" ]
null
null
null
3D-TV/PerfTimer.cpp
TheByteKitchen/Kinect_client_server
47bd066199f5b112b476e4d34ad333a535baa314
[ "MS-PL" ]
null
null
null
//// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF //// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO //// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A //// PARTICULAR PURPOSE. //// //// Copyright (c) Microsoft Corporation. All rights reserved #include "pch.h...
37.5
77
0.743333
30acddda17fe21c4369a615ea1200d62f0b10f6d
2,174
cpp
C++
Engine/Platforms/Public/Tools/GPUThreadHelper.cpp
azhirnov/GraphicsGenFramework-modular
348be601f1991f102defa0c99250529f5e44c4d3
[ "BSD-2-Clause" ]
12
2017-12-23T14:24:57.000Z
2020-10-02T19:52:12.000Z
Engine/Platforms/Public/Tools/GPUThreadHelper.cpp
azhirnov/ModularGraphicsFramework
348be601f1991f102defa0c99250529f5e44c4d3
[ "BSD-2-Clause" ]
null
null
null
Engine/Platforms/Public/Tools/GPUThreadHelper.cpp
azhirnov/ModularGraphicsFramework
348be601f1991f102defa0c99250529f5e44c4d3
[ "BSD-2-Clause" ]
null
null
null
// Copyright (c) Zhirnov Andrey. For more information see 'LICENSE.txt' #include "Engine/Platforms/Public/Tools/GPUThreadHelper.h" namespace Engine { namespace PlatformTools { /* ================================================= FindGraphicsThread ================================================= */ ModulePtr GP...
27.175
77
0.589236
30b4715024c575a744b186b209157ca94722c5af
456
cpp
C++
cpp/inifile/test.cpp
0382/util
b8163f52352341ae7872d95b7f18542f17a94633
[ "MIT" ]
null
null
null
cpp/inifile/test.cpp
0382/util
b8163f52352341ae7872d95b7f18542f17a94633
[ "MIT" ]
null
null
null
cpp/inifile/test.cpp
0382/util
b8163f52352341ae7872d95b7f18542f17a94633
[ "MIT" ]
null
null
null
#include "inifile.hpp" int main() { auto ini = util::inifile("test.ini"); if (!ini.good()) { std::cerr << ini.error() << std::endl; exit(-1); } std::cout << "default section: name = " << ini.get_string("name") << '\n'; ini.set_string("set", "string"); std::cout << "section1...
25.333333
88
0.497807
30bef042a86014e87ff42405dc8b3b8c1eb84f9c
974
hpp
C++
admin/dcpromo/exe/configurednsclientpage.hpp
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
admin/dcpromo/exe/configurednsclientpage.hpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
admin/dcpromo/exe/configurednsclientpage.hpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
// Copyright (C) 1997 Microsoft Corporation // // dns client configuration page // // 12-22-97 sburns #ifndef CONFIGUREDNSCLIENTPAGE_HPP_INCLUDED #define CONFIGUREDNSCLIENTPAGE_HPP_INCLUDED class ConfigureDnsClientPage : public DCPromoWizardPage { public: ConfigureDnsClientPage(); pr...
16.508475
75
0.664271
30c2cccfa2f3c1e5f3de472b340de4aafaedccca
22
cpp
C++
src/mjast_and.cpp
lucasalj/mjcompiler
4404e4ce25f009c60d9f93d0118f33bb1d56b2cf
[ "MIT" ]
null
null
null
src/mjast_and.cpp
lucasalj/mjcompiler
4404e4ce25f009c60d9f93d0118f33bb1d56b2cf
[ "MIT" ]
null
null
null
src/mjast_and.cpp
lucasalj/mjcompiler
4404e4ce25f009c60d9f93d0118f33bb1d56b2cf
[ "MIT" ]
null
null
null
#include <mjast_and.h>
22
22
0.772727
30c8bdffa3d58ca082d8be23f1bc689bfba89220
412
cpp
C++
compiler/crtp/foo/crtp.cpp
lijiansong/deep-learning
7c78061775e47785dfcc4088e93dc4368d16334f
[ "WTFPL" ]
4
2018-05-19T00:55:36.000Z
2020-08-30T23:31:26.000Z
compiler/crtp/foo/crtp.cpp
lijiansong/deep-learning
7c78061775e47785dfcc4088e93dc4368d16334f
[ "WTFPL" ]
null
null
null
compiler/crtp/foo/crtp.cpp
lijiansong/deep-learning
7c78061775e47785dfcc4088e93dc4368d16334f
[ "WTFPL" ]
null
null
null
// Curiously Recurring Template Pattern // static polymorphism #include <iostream> using namespace std; template <typename Child> struct Base { void interface() { static_cast<Child *>(this)->implementation(); } }; struct Derived : Base<Derived> { void implementation() { cerr << "Derived implementation\...
17.166667
51
0.682039
30cf79f21e82a1d1ae95a5e7baa57f4321c29b03
17,711
cpp
C++
src/ringmesh/geomodel/tools/mesh_quality.cpp
ringmesh/RINGMesh
82a0a0fb0a119492c6747265de6ec24006c4741f
[ "BSD-3-Clause" ]
74
2017-10-26T15:40:23.000Z
2022-03-22T09:27:39.000Z
src/ringmesh/geomodel/tools/mesh_quality.cpp
ringmesh/ringmesh
82a0a0fb0a119492c6747265de6ec24006c4741f
[ "BSD-3-Clause" ]
45
2017-10-26T15:54:01.000Z
2021-01-27T10:16:34.000Z
src/ringmesh/geomodel/tools/mesh_quality.cpp
ringmesh/ringmesh
82a0a0fb0a119492c6747265de6ec24006c4741f
[ "BSD-3-Clause" ]
17
2018-03-27T11:31:24.000Z
2022-03-06T18:41:52.000Z
/* * Copyright (c) 2012-2018, Association Scientifique pour la Geologie et ses * Applications (ASGA). 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 mus...
41.575117
97
0.611484
30cf9a1e4c280de211c6f47e1da4bb8d58ea336d
2,835
cpp
C++
primitive_roots_tests.cpp
Mirraz/number-theory
30f444f8b61cc5946d4615bafe237994d7836cbf
[ "MIT" ]
null
null
null
primitive_roots_tests.cpp
Mirraz/number-theory
30f444f8b61cc5946d4615bafe237994d7836cbf
[ "MIT" ]
null
null
null
primitive_roots_tests.cpp
Mirraz/number-theory
30f444f8b61cc5946d4615bafe237994d7836cbf
[ "MIT" ]
null
null
null
#include <assert.h> #include <stdio.h> #include <stdint.h> #include <inttypes.h> #include <math.h> #include "primitive_roots.h" #define main HIDE_main #define tests_suite HIDE_tests_suite #define test_max_primitive_root HIDE_test_max_primitive_root #include "mul_group_mod_tests.cpp" #undef main #undef tests_suite #und...
29.53125
81
0.722751
30d0ce1ea78572de8c984a5eaa443dd2aadc4520
4,446
cc
C++
stapl_release/benchmarks/kernels/jacobi_1d/jacobi_1d_mpi_omp.cc
parasol-ppl/PPL_utils
92728bb89692fda1705a0dee436592d97922a6cb
[ "BSD-3-Clause" ]
null
null
null
stapl_release/benchmarks/kernels/jacobi_1d/jacobi_1d_mpi_omp.cc
parasol-ppl/PPL_utils
92728bb89692fda1705a0dee436592d97922a6cb
[ "BSD-3-Clause" ]
null
null
null
stapl_release/benchmarks/kernels/jacobi_1d/jacobi_1d_mpi_omp.cc
parasol-ppl/PPL_utils
92728bb89692fda1705a0dee436592d97922a6cb
[ "BSD-3-Clause" ]
null
null
null
/* // Copyright (c) 2000-2009, Texas Engineering Experiment Station (TEES), a // component of the Texas A&M University System. // All rights reserved. // The information and source code contained herein is the exclusive // property of TEES and may not be disclosed, examined or reproduced // in whole or in part withou...
28.318471
125
0.573324
30d264b409b79ef46efb5821f7ccf8183efb324c
3,943
cpp
C++
Source/Workbenches/PartDesign/feature_line.cpp
neonkingfr/wildogcad
6d9798daa672d3ab293579439f38bb279fa376c7
[ "BSD-3-Clause" ]
null
null
null
Source/Workbenches/PartDesign/feature_line.cpp
neonkingfr/wildogcad
6d9798daa672d3ab293579439f38bb279fa376c7
[ "BSD-3-Clause" ]
null
null
null
Source/Workbenches/PartDesign/feature_line.cpp
neonkingfr/wildogcad
6d9798daa672d3ab293579439f38bb279fa376c7
[ "BSD-3-Clause" ]
null
null
null
/*** Included Header Files ***/ #include <feature_line.h> #include <document.h> #include <feature_point.h> #include <tree_view.h> #include <line_layer.h> #include <feature_line_action.h> #include <feature_line_controller.h> /***********************************************~********************************************...
27.964539
138
0.652042
30d3f168dd50e3f6162768d0f9b6d9bfcf56fc02
447
cpp
C++
Course 201809/homework/4/B2.cpp
Seizzzz/DailyCodes
9a617fb64ee27b9f254be161850e9c9a61747cb1
[ "MIT" ]
null
null
null
Course 201809/homework/4/B2.cpp
Seizzzz/DailyCodes
9a617fb64ee27b9f254be161850e9c9a61747cb1
[ "MIT" ]
null
null
null
Course 201809/homework/4/B2.cpp
Seizzzz/DailyCodes
9a617fb64ee27b9f254be161850e9c9a61747cb1
[ "MIT" ]
null
null
null
#include <stdio.h> #include <math.h> int main() { int n1,n2,n,i; scanf("%d",&n); for (n1=2;n1<=n/2;n1++) { for (i=2;i<=sqrt(n1);i++) { if (n1%i==0) break; } if (i==(int)sqrt(n1)+1) { for (i=2,n2=n-n1;i<=sqrt(n2);i++) { if (n2%i==0) break; } ...
13.96875
41
0.378076
30d4c2054b988f10e08e7936105ba79a20ce2dfd
9,263
cpp
C++
maya/Workshop2017/src/BBoxCubeCmd.cpp
smoi23/sandbox
4d02a509c82b2ec3712f91bbc86cc5df37174396
[ "MIT" ]
null
null
null
maya/Workshop2017/src/BBoxCubeCmd.cpp
smoi23/sandbox
4d02a509c82b2ec3712f91bbc86cc5df37174396
[ "MIT" ]
null
null
null
maya/Workshop2017/src/BBoxCubeCmd.cpp
smoi23/sandbox
4d02a509c82b2ec3712f91bbc86cc5df37174396
[ "MIT" ]
null
null
null
/* * WorkshopCmd3.cpp * * Created on: May 15, 2017 * Author: Andreas Schuster * */ #include <stdio.h> #include <iostream> #include <maya/MPxCommand.h> #include <maya/MArgList.h> #include <maya/MStatus.h> #include <maya/MSyntax.h> #include <maya/MStringArray.h> #include <maya/MGlobal.h> #include <maya/MArgDatab...
24.967655
136
0.703768
30d61e145e98bb61d3e96be726741974debf1d6d
602
cpp
C++
replace_character.cpp
chandan9369/Recursion-backtracking-problems
360e5de72e23dfd4e3f343baa1e1abdfb801ccc3
[ "MIT" ]
null
null
null
replace_character.cpp
chandan9369/Recursion-backtracking-problems
360e5de72e23dfd4e3f343baa1e1abdfb801ccc3
[ "MIT" ]
null
null
null
replace_character.cpp
chandan9369/Recursion-backtracking-problems
360e5de72e23dfd4e3f343baa1e1abdfb801ccc3
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; void replace(char s[], char c1, char c2) { //base case if (s[0] == '\0') { return; } if (s[0] == c1) { s[0] = c2; } replace(s + 1, c1, c2); } int main() { char s[100]; cin >> s; char c1, c2; cout << "Enter char...
21.5
121
0.501661
30d6d8f00f7fdc97dab807313fc63d794818aa5a
16,614
cpp
C++
modules/src/projectors/standardpipeline.cpp
phernst/ctl
f2369cf3141ff6a696219f99b09fd60c0ea12eac
[ "MIT" ]
null
null
null
modules/src/projectors/standardpipeline.cpp
phernst/ctl
f2369cf3141ff6a696219f99b09fd60c0ea12eac
[ "MIT" ]
null
null
null
modules/src/projectors/standardpipeline.cpp
phernst/ctl
f2369cf3141ff6a696219f99b09fd60c0ea12eac
[ "MIT" ]
null
null
null
#include "standardpipeline.h" #include "arealfocalspotextension.h" #include "detectorsaturationextension.h" #include "poissonnoiseextension.h" #include "raycasterprojector.h" #include "spectraleffectsextension.h" namespace CTL { DECLARE_SERIALIZABLE_TYPE(StandardPipeline) /*! * Constructs a StandardPi...
36.117391
101
0.726255
30d8ff7f806b8df3c1432089cc2fa984b9b9120e
2,508
cpp
C++
Count_test.cpp
som-dev/Count
68caf6014ce067ac0e0129454db2c6b131f3380d
[ "MIT" ]
null
null
null
Count_test.cpp
som-dev/Count
68caf6014ce067ac0e0129454db2c6b131f3380d
[ "MIT" ]
null
null
null
Count_test.cpp
som-dev/Count
68caf6014ce067ac0e0129454db2c6b131f3380d
[ "MIT" ]
null
null
null
#include "DefineCounters.hpp" #include "gtest/gtest.h" namespace // anonymous { template <typename T> class CounterTest : public ::testing::Test { public: typedef Count::Counter<T> Counter; }; using CounterTestTypes = ::testing::Types< char, unsigned char, short, unsigned short, int, unsigned int, ...
26.680851
81
0.689793
30dd8562f1660168b8dfe9e37926033955f4dcb3
1,448
hpp
C++
test/include/nuschl/unittests/vector_printer.hpp
behlec/nuschl
35dbdd6dca8e59387623cc8a23f71324e07ea98c
[ "MIT" ]
null
null
null
test/include/nuschl/unittests/vector_printer.hpp
behlec/nuschl
35dbdd6dca8e59387623cc8a23f71324e07ea98c
[ "MIT" ]
null
null
null
test/include/nuschl/unittests/vector_printer.hpp
behlec/nuschl
35dbdd6dca8e59387623cc8a23f71324e07ea98c
[ "MIT" ]
null
null
null
#pragma once // clang-format off #include <boost/test/unit_test.hpp> #include <boost/test/test_tools.hpp> // clang-format on #include <nuschl/s_exp.hpp> #include <iostream> #include <vector> std::ostream &operator<<(std::ostream &os, const std::vector<int> &vec); std::ostream &operator<<(std::ostream &os, const std...
27.846154
80
0.61326
30e4366ca4acaeb0c34139660604e0b0fb006729
354
hh
C++
app/jni/live/BasicUsageEnvironment/include/BasicUsageEnvironment_version.hh
8kEatRadish/Live555OnAndroid
255df615f251ac7827d379a679b2b60e7af6be51
[ "Apache-2.0" ]
3
2021-03-30T13:24:22.000Z
2021-12-15T04:11:34.000Z
app/jni/live/BasicUsageEnvironment/include/BasicUsageEnvironment_version.hh
8kEatRadish/Live555OnAndroid
255df615f251ac7827d379a679b2b60e7af6be51
[ "Apache-2.0" ]
null
null
null
app/jni/live/BasicUsageEnvironment/include/BasicUsageEnvironment_version.hh
8kEatRadish/Live555OnAndroid
255df615f251ac7827d379a679b2b60e7af6be51
[ "Apache-2.0" ]
2
2022-01-20T09:39:16.000Z
2022-03-25T08:38:39.000Z
// Version information for the "BasicUsageEnvironment" library // Copyright (c) 1996-2015 Live Networks, Inc. All rights reserved. #ifndef _BASICUSAGEENVIRONMENT_VERSION_HH #define _BASICUSAGEENVIRONMENT_VERSION_HH #define BASICUSAGEENVIRONMENT_LIBRARY_VERSION_STRING "2015.01.04" #define BASICUSAGEENVIRONMENT_LIBRAR...
32.181818
68
0.847458
30e549f21dcaeb32f35b09eac05118becd16f41b
1,842
cpp
C++
COCI/PATULJCI.cpp
zzh8829/CompetitiveProgramming
36f36b10269b4648ca8be0b08c2c49e96abede25
[ "MIT" ]
1
2017-10-01T00:51:39.000Z
2017-10-01T00:51:39.000Z
COCI/PATULJCI.cpp
zzh8829/CompetitiveProgramming
36f36b10269b4648ca8be0b08c2c49e96abede25
[ "MIT" ]
null
null
null
COCI/PATULJCI.cpp
zzh8829/CompetitiveProgramming
36f36b10269b4648ca8be0b08c2c49e96abede25
[ "MIT" ]
null
null
null
#include <algorithm> #include <iostream> #include <fstream> #include <cstdlib> #include <cstring> #include <cstdio> #include <string> #include <vector> #include <cmath> #include <queue> #include <map> #include <set> using namespace std; int N,C,M; int cs[300001]; vector<int> cis[10001]; int cunt(i...
19.1875
95
0.505972
30e7d2e53190c7233c9b8b7e6a1b419d84210a71
7,271
cpp
C++
src/tests/gmath.cpp
Pnikanti/gmath
4e2de0546b3ca19d2571ec30784a482e90b57382
[ "MIT" ]
null
null
null
src/tests/gmath.cpp
Pnikanti/gmath
4e2de0546b3ca19d2571ec30784a482e90b57382
[ "MIT" ]
null
null
null
src/tests/gmath.cpp
Pnikanti/gmath
4e2de0546b3ca19d2571ec30784a482e90b57382
[ "MIT" ]
null
null
null
#define CATCH_CONFIG_MAIN #include <catch2.h> #include "gmath.h" TEST_CASE("vector2 calculations", "[!mayfail]") { SECTION("Sum of two vectors should provide correct output") { vec2f a = vec2f(2.0f, 1.0f) + vec2f(3.0f, 4.2f); REQUIRE(a == vec2f(5.0f, 5.2f)); } SECTION("Difference of two vectors should provi...
24.986254
79
0.590978
30eed884d544b2307a3ba04a3e865cfebe277d50
1,028
cpp
C++
ui/logview.cpp
VITObelgium/cpp-infra
2a95a112439b21ff9125c2e6e29810a418b94a4d
[ "MIT" ]
1
2022-02-23T03:15:54.000Z
2022-02-23T03:15:54.000Z
ui/logview.cpp
VITObelgium/cpp-infra
2a95a112439b21ff9125c2e6e29810a418b94a4d
[ "MIT" ]
null
null
null
ui/logview.cpp
VITObelgium/cpp-infra
2a95a112439b21ff9125c2e6e29810a418b94a4d
[ "MIT" ]
null
null
null
#include "uiinfra/logview.h" #include "ui_logview.h" #include <qevent.h> #include <qtimer.h> namespace inf::ui { static auto s_maxUpdateInterval = std::chrono::milliseconds(200); LogView::LogView(QWidget* parent) : QWidget(parent) , _ui(std::make_unique<Ui::LogView>()) , _timer(new QTimer(this)) { _ui->setupUi(...
20.56
80
0.654669
30f0492c13b7d0c77afdb5ff14fd3b37c0725986
32,079
cpp
C++
esl/economics/markets/walras/tatonnement.cpp
vishalbelsare/ESL
cea6feda1e588d5f441742dbb1e4c5479b47d357
[ "Apache-2.0" ]
37
2019-10-13T12:23:32.000Z
2022-03-19T10:40:29.000Z
esl/economics/markets/walras/tatonnement.cpp
vishalbelsare/ESL
cea6feda1e588d5f441742dbb1e4c5479b47d357
[ "Apache-2.0" ]
3
2020-03-20T04:44:06.000Z
2021-01-12T06:18:33.000Z
esl/economics/markets/walras/tatonnement.cpp
vishalbelsare/ESL
cea6feda1e588d5f441742dbb1e4c5479b47d357
[ "Apache-2.0" ]
10
2019-11-06T15:59:06.000Z
2021-08-09T17:28:24.000Z
/// \file tatonnement.hpp /// /// \brief Implements the tâtonnement process (hill climbing), implemented as a /// numerical optimisation. /// /// \authors Maarten P. Scholl /// \date 2018-02-02 /// \copyright Copyright 2017-2019 The Institute for New Economic Thinking, /// Oxford Martin...
39.948941
120
0.547056
30f08690e448df39c2889d227793a0054a3f0339
842
cpp
C++
Depth-first Search/max-area-of-island.cpp
PrakharPipersania/LeetCode-Solutions
ea74534bbdcf1ca3ea4d88a1081582e0e15f50c7
[ "MIT" ]
2
2021-03-05T22:32:23.000Z
2021-03-05T22:32:29.000Z
Questions Level-Wise/Medium/max-area-of-island.cpp
PrakharPipersania/LeetCode-Solutions
ea74534bbdcf1ca3ea4d88a1081582e0e15f50c7
[ "MIT" ]
null
null
null
Questions Level-Wise/Medium/max-area-of-island.cpp
PrakharPipersania/LeetCode-Solutions
ea74534bbdcf1ca3ea4d88a1081582e0e15f50c7
[ "MIT" ]
null
null
null
class Solution { public: void findarea(vector<vector<int>>& grid,int r,int c,int &t) { grid[r][c]=0,t++; if(r+1<grid.size()&&grid[r+1][c]) findarea(grid,r+1,c,t); if(r-1>=0&&grid[r-1][c]) findarea(grid,r-1,c,t); if(c+1<grid[0].size()&&grid[r][c+1]) ...
26.3125
63
0.388361
30f14197cb37bf8e3010ef847f96019be218d229
3,258
cpp
C++
src/tools/boot/src/reader/reader.cpp
firebolt-ai/robotos
e506eb79ea0ebf004558d0154ea3e323a634d3cc
[ "MIT" ]
null
null
null
src/tools/boot/src/reader/reader.cpp
firebolt-ai/robotos
e506eb79ea0ebf004558d0154ea3e323a634d3cc
[ "MIT" ]
null
null
null
src/tools/boot/src/reader/reader.cpp
firebolt-ai/robotos
e506eb79ea0ebf004558d0154ea3e323a634d3cc
[ "MIT" ]
1
2020-03-06T03:11:38.000Z
2020-03-06T03:11:38.000Z
#include "reader.h" #include "../../../math/geometry/coordinates/vol/vol.h" #include "../../../tcp/Socket.h" #include <rec/robotino/api2/Com.h> #include <stdlib.h> #include <math.h> #include <unistd.h> #include <string> #include <cstring> #include <iostream> int KinectReader::readPosition(unsigned int average) { ...
22.468966
100
0.550338
30f193a757d6a35bd19a711a276b02e2fcbfbcba
174
cpp
C++
address1.cpp
Biteliuying/address
d2ef3a79b214d5282e8307cde741a8938830d6b2
[ "Apache-2.0" ]
null
null
null
address1.cpp
Biteliuying/address
d2ef3a79b214d5282e8307cde741a8938830d6b2
[ "Apache-2.0" ]
1
2022-02-10T15:28:30.000Z
2022-02-10T15:28:30.000Z
address1.cpp
Biteliuying/address
d2ef3a79b214d5282e8307cde741a8938830d6b2
[ "Apache-2.0" ]
null
null
null
#define _CRT_SECURE_NO_WARNINGS #include<stdio.h> int main() { char a,b; a = 'a'; b = 'b'; putchar(a); putchar('\n'); putchar(b); printf("\n%c\n%c", a,b); }
14.5
32
0.545977
30f54b4f48d2376297310dd98ca85d87ff9407b5
1,359
tcc
C++
include/bits/sqlite_iterator.tcc
vashman/data_pattern_sqlite
8ed3d1fe3e86ea7165d43277feb05d84189f696e
[ "BSL-1.0" ]
null
null
null
include/bits/sqlite_iterator.tcc
vashman/data_pattern_sqlite
8ed3d1fe3e86ea7165d43277feb05d84189f696e
[ "BSL-1.0" ]
null
null
null
include/bits/sqlite_iterator.tcc
vashman/data_pattern_sqlite
8ed3d1fe3e86ea7165d43277feb05d84189f696e
[ "BSL-1.0" ]
null
null
null
// // Copyright Sundeep S. Sangha 2013 - 2017. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) #ifndef DATA_PATTERN_SQLITE_SQLITE_ITERATOR_TCC #define DATA_PATTERN_SQLITE_SQLITE_ITERATOR_TC...
18.875
61
0.721854
30f6a483bbbcea158e3a1f7db24adebe272959f3
584
cpp
C++
KM/03code/book/Thinking-In-C-resource-master/C09/c0905.cpp
wangcy6/weekly.github.io
f249bed5cf5a2b14d798ac33086cea0c1efe432e
[ "Apache-2.0" ]
10
2019-03-17T10:13:04.000Z
2021-03-03T03:23:34.000Z
KM/03code/book/Thinking-In-C-resource-master/C09/c0905.cpp
wangcy6/weekly.github.io
f249bed5cf5a2b14d798ac33086cea0c1efe432e
[ "Apache-2.0" ]
44
2018-12-14T02:35:47.000Z
2021-02-06T09:12:10.000Z
KM/03code/book/Thinking-In-C-resource-master/C09/c0905.cpp
wangcy6/weekly
f249bed5cf5a2b14d798ac33086cea0c1efe432e
[ "Apache-2.0" ]
null
null
null
#include <cstdio> #include <ctime> inline int f1(int a, int b) { a++; a += b; b += a; return a + b; } int f2(int a, int b) { a++; a += b; b += a; return a + b; } int main(void) { clock_t t1, t2; printf("Calculating time...\n"); t1 = clock(); for (int i = 0; i < 10000000; i++) f1(100, 100); t1 = clock...
15.368421
76
0.55137
30fce0782844fc8a96e20fe088fe8cc794d2812c
3,890
cpp
C++
darkness-engine/src/tools/Process.cpp
Karmiska/Darkness
c87eaf067a2707a0141909125ff461f69a3812e0
[ "MIT" ]
6
2019-10-17T11:31:55.000Z
2022-02-11T08:51:20.000Z
darkness-engine/src/tools/Process.cpp
Karmiska/Darkness
c87eaf067a2707a0141909125ff461f69a3812e0
[ "MIT" ]
1
2020-08-11T09:01:29.000Z
2020-08-11T09:01:29.000Z
darkness-engine/src/tools/Process.cpp
Karmiska/Darkness
c87eaf067a2707a0141909125ff461f69a3812e0
[ "MIT" ]
1
2020-06-02T15:48:20.000Z
2020-06-02T15:48:20.000Z
#include "tools/Process.h" #include "tools/Debug.h" #include "tools/PathTools.h" #include "platform/Platform.h" #include <vector> namespace engine { Process::Process( const std::string& executable, const std::string& arguments, const std::string& workingDirectory, OnProcessMessage o...
32.689076
96
0.568638
a50234b69510521939af84a4e1bde78580e5c823
1,118
cpp
C++
DBServer/Main.cpp
Addision/EventServer
2fd13eb5440769da6fb19c6540fb25db09b8cc75
[ "MIT" ]
15
2020-04-22T04:32:12.000Z
2022-01-06T12:40:44.000Z
DBServer/Main.cpp
Addision/EventServer
2fd13eb5440769da6fb19c6540fb25db09b8cc75
[ "MIT" ]
1
2020-11-30T07:20:17.000Z
2020-11-30T07:20:17.000Z
DBServer/Main.cpp
Addision/EventServer
2fd13eb5440769da6fb19c6540fb25db09b8cc75
[ "MIT" ]
8
2020-04-21T02:15:04.000Z
2021-12-31T17:34:02.000Z
#include "DB.h" #include "JsonConfig.h" #include "Util.h" #include "LogUtil.h" #include "SePlatForm.h" #include <signal.h> bool bStopServer = false; void OnSignal(int sig) { switch (sig) { case SIGINT: case SIGTERM: #ifdef SF_PLATFORM_WIN case SIGBREAK: #else case SIGPIPE: #endif { CLOG_ERR << "Master Serve...
15.971429
74
0.678891
a502a181be3839ebda6aad9ff55c19e4a4eb8099
1,337
cpp
C++
shaders/src/sib_vector_switch.cpp
caron/sitoa
52a0a4b35f51bccb6223a8206d04b40edc80071c
[ "Apache-2.0" ]
34
2018-02-01T16:13:48.000Z
2021-07-16T07:37:47.000Z
shaders/src/sib_vector_switch.cpp
625002974/sitoa
46b7de8e3cf2e2c4cbc6bc391f11181cbac1a589
[ "Apache-2.0" ]
72
2018-02-16T17:30:41.000Z
2021-11-22T11:41:45.000Z
shaders/src/sib_vector_switch.cpp
625002974/sitoa
46b7de8e3cf2e2c4cbc6bc391f11181cbac1a589
[ "Apache-2.0" ]
15
2018-02-15T15:36:58.000Z
2021-04-14T03:54:25.000Z
/************************************************************************************************************************************ Copyright 2017 Autodesk, 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 ...
34.282051
134
0.60359
a50d463ed9da3f14cd8ee894f64c8461bb2cb32e
4,983
cpp
C++
Project/Main/build-Onket-Desktop_Qt_5_14_0_MinGW_32_bit-Debug/moc_basketview.cpp
IsfahanUniversityOfTechnology-CE2019-23/Onket
403d982f7c80d522ca28bb5f757a295eb02b3807
[ "MIT" ]
1
2021-01-03T21:33:26.000Z
2021-01-03T21:33:26.000Z
Project/Main/build-Onket-Desktop_Qt_5_14_0_MinGW_32_bit-Debug/moc_basketview.cpp
IsfahanUniversityOfTechnology-CE2019-23/Onket
403d982f7c80d522ca28bb5f757a295eb02b3807
[ "MIT" ]
null
null
null
Project/Main/build-Onket-Desktop_Qt_5_14_0_MinGW_32_bit-Debug/moc_basketview.cpp
IsfahanUniversityOfTechnology-CE2019-23/Onket
403d982f7c80d522ca28bb5f757a295eb02b3807
[ "MIT" ]
1
2020-07-22T14:48:58.000Z
2020-07-22T14:48:58.000Z
/**************************************************************************** ** Meta object code from reading C++ file 'basketview.h' ** ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.14.0) ** ** WARNING! All changes made in this file will be lost! *********************************************************...
30.950311
101
0.609874
a50d528cc0ce030f6198e6d87f6ff351af11526d
898
hpp
C++
Examples/PuzzleGenerator/Generator.hpp
jamesfer/Pathfinder
c1e770624a3b163f2dd173f38228e93d7eb80367
[ "MIT" ]
null
null
null
Examples/PuzzleGenerator/Generator.hpp
jamesfer/Pathfinder
c1e770624a3b163f2dd173f38228e93d7eb80367
[ "MIT" ]
null
null
null
Examples/PuzzleGenerator/Generator.hpp
jamesfer/Pathfinder
c1e770624a3b163f2dd173f38228e93d7eb80367
[ "MIT" ]
null
null
null
#ifndef Generator_hpp #define Generator_hpp #include "BFSSearcher.hpp" #include "DFSSearcher.hpp" #include <sstream> #include "Puzzle.hpp" /** * Success functor that checks if the node has the required depth */ struct BranchDepthCheck { private: int goalDepth; public: BranchDepthCheck(int goalDepth) : goalDept...
17.607843
77
0.72049
a50e20287e54709ed9a8da4dc392d83a61834f4c
1,661
cpp
C++
GUI/test/alta_participante.cpp
bertilxi/Pegaso
41ddde19f203424d68e8ede3e47450bb22bee0f6
[ "MIT" ]
null
null
null
GUI/test/alta_participante.cpp
bertilxi/Pegaso
41ddde19f203424d68e8ede3e47450bb22bee0f6
[ "MIT" ]
null
null
null
GUI/test/alta_participante.cpp
bertilxi/Pegaso
41ddde19f203424d68e8ede3e47450bb22bee0f6
[ "MIT" ]
null
null
null
#include "alta_participante.h" #include "ui_alta_participante.h" #include "qpixmap.h" alta_participante::alta_participante(GUI *guiP, QWidget *parent) : QDialog(parent), ui(new Ui::alta_participante), gui(guiP) { ui->setupUi(this); QPixmap pix(":/images/Heros64.png"); ui->label_logo->setPixmap(pix...
21.571429
73
0.680915
a50e40c4d1c9fa60a110e1332f774ae56811c795
1,253
cc
C++
leetcode/leetcode_199.cc
math715/arts
ff73ccb7d67f7f7c87150204e15aeb46047f0e02
[ "MIT" ]
null
null
null
leetcode/leetcode_199.cc
math715/arts
ff73ccb7d67f7f7c87150204e15aeb46047f0e02
[ "MIT" ]
null
null
null
leetcode/leetcode_199.cc
math715/arts
ff73ccb7d67f7f7c87150204e15aeb46047f0e02
[ "MIT" ]
null
null
null
#include <iostream> #include <algorithm> #include <vector> using namespace std; struct TreeNode { int val; TreeNode *left; TreeNode *right; TreeNode(int x) : val(x), left(NULL), right(NULL) {} }; void rightTree( TreeNode *root, int &depth, int cur_depth, vector<int> &result){ if (root) { if (depth...
21.982456
80
0.581804
a5115bd910e444bdcc0eac1e882e56b4acc3158c
541
cpp
C++
redfish-core/ut/stl_utils_test.cpp
cjcain/bmcweb
80badf7ceff486ef2bcb912309563919fc5326ea
[ "Apache-2.0" ]
96
2018-01-23T10:17:55.000Z
2022-03-22T08:49:41.000Z
redfish-core/ut/stl_utils_test.cpp
cjcain/bmcweb
80badf7ceff486ef2bcb912309563919fc5326ea
[ "Apache-2.0" ]
233
2018-08-06T05:55:44.000Z
2022-02-23T08:19:04.000Z
redfish-core/ut/stl_utils_test.cpp
cjcain/bmcweb
80badf7ceff486ef2bcb912309563919fc5326ea
[ "Apache-2.0" ]
97
2018-03-23T07:56:55.000Z
2022-03-16T15:51:48.000Z
#include "utils/stl_utils.hpp" #include <gmock/gmock.h> TEST(STLUtilesTest, RemoveDuplicates) { std::vector<std::string> strVec = {"s1", "s4", "s1", "s2", "", "s3", "s3"}; auto iter = redfish::stl_utils::firstDuplicate(strVec.begin(), strVec.end()); EXPECT_EQ(*iter, "s3"); redfish::stl_utils...
24.590909
79
0.608133
a511af29e5823b82098463c7e263ab70f8e134a3
380
cpp
C++
UVA/11172-Relational Operator.cpp
alielsokary/Competitive-programming
7dffaa334e18c61c8a7985f5bbb64e3613d1008b
[ "MIT" ]
null
null
null
UVA/11172-Relational Operator.cpp
alielsokary/Competitive-programming
7dffaa334e18c61c8a7985f5bbb64e3613d1008b
[ "MIT" ]
null
null
null
UVA/11172-Relational Operator.cpp
alielsokary/Competitive-programming
7dffaa334e18c61c8a7985f5bbb64e3613d1008b
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int participants,budget,hotles,weeks; int price, bed; int finalCost; bool isAvail = false; long long n,a,b; int main(int argc, char *argv[]) { scanf("%lld", &n); for (int i = 0; i<n; i++) { scanf("%lld%lld", &a,&b); if (a > b) { printf(">\n"); } else if (a < b...
16.521739
37
0.544737
a51239ead5eda370a34e6c7386b21e83b4e009ea
1,402
cpp
C++
Lydsy/P1483 [HNOI2009]梦幻布丁/P1483.cpp
Wycers/Codelib
86d83787aa577b8f2d66b5410e73102411c45e46
[ "MIT" ]
22
2018-08-07T06:55:10.000Z
2021-06-12T02:12:19.000Z
Lydsy/P1483 [HNOI2009]梦幻布丁/P1483.cpp
Wycers/Codelib
86d83787aa577b8f2d66b5410e73102411c45e46
[ "MIT" ]
28
2020-03-04T23:47:22.000Z
2022-02-26T18:50:00.000Z
Lydsy/P1483 [HNOI2009]梦幻布丁/P1483.cpp
Wycers/Codelib
86d83787aa577b8f2d66b5410e73102411c45e46
[ "MIT" ]
4
2019-11-09T15:41:26.000Z
2021-10-10T08:56:57.000Z
#include <cstdio> #include <algorithm> const int N = 100000 + 10; const int M = 1000000 + 10; using namespace std; int Read() { int x = 0;char ch = getchar(); while (ch < '0' || '9' < ch) ch = getchar(); while ('0' <= ch && ch <= '9') x = x * 10 + ch - 48,ch = getchar(); return x; } int c[N],next[N],f[...
19.746479
71
0.373752
a5135f2bffbefb3b6ff81037e622c3307d690ae3
206
cpp
C++
lio/message.cpp
liuyuan185442111/misc
26920202198658c21784d25ab33e1b245d28ca12
[ "Apache-2.0" ]
1
2021-01-23T09:24:35.000Z
2021-01-23T09:24:35.000Z
lio/message.cpp
liuyuan185442111/misc
26920202198658c21784d25ab33e1b245d28ca12
[ "Apache-2.0" ]
null
null
null
lio/message.cpp
liuyuan185442111/misc
26920202198658c21784d25ab33e1b245d28ca12
[ "Apache-2.0" ]
null
null
null
#include "message.h" #include "gmatrix.h" void MsgQueue::Send() { MSGQUEUE::iterator it = _queue.begin(); for(; it != _queue.end(); ++it) gmatrix::HandleMessage(*it); _queue.clear(); }
18.727273
43
0.601942
a513c5c220b84956647261ac91202c4978e7b58f
280
cpp
C++
act_map_exp/src/planner_base_node.cpp
debugCVML/rpg_information_field
56f9ffba83aaee796502116e1cf651c5bc405bf6
[ "MIT" ]
149
2020-06-23T12:08:47.000Z
2022-03-31T08:18:52.000Z
act_map_exp/src/planner_base_node.cpp
debugCVML/rpg_information_field
56f9ffba83aaee796502116e1cf651c5bc405bf6
[ "MIT" ]
4
2020-08-28T07:51:15.000Z
2021-04-09T13:18:49.000Z
act_map_exp/src/planner_base_node.cpp
debugCVML/rpg_information_field
56f9ffba83aaee796502116e1cf651c5bc405bf6
[ "MIT" ]
34
2020-06-26T14:50:34.000Z
2022-03-04T06:45:55.000Z
#include "act_map_exp/planner_base.h" #include <rpg_common/main.h> RPG_COMMON_MAIN { ros::init(argc, argv, "planner_base"); ros::NodeHandle nh; ros::NodeHandle pnh("~"); act_map_exp::PlannerBase<act_map::GPTraceVoxel> planner(nh, pnh); ros::spin(); return 0; }
14.736842
67
0.689286
a5177f9b1d3d7b1d6c09f3b5c9e71a2a6adec0ca
486
hpp
C++
tinyraytracing/src/graphX/geometry/shapes/shpere.hpp
nicolaszordan/tinygrafX
5460b98459ec5e050ae6c0fb53de2f31c80243a9
[ "Unlicense" ]
null
null
null
tinyraytracing/src/graphX/geometry/shapes/shpere.hpp
nicolaszordan/tinygrafX
5460b98459ec5e050ae6c0fb53de2f31c80243a9
[ "Unlicense" ]
null
null
null
tinyraytracing/src/graphX/geometry/shapes/shpere.hpp
nicolaszordan/tinygrafX
5460b98459ec5e050ae6c0fb53de2f31c80243a9
[ "Unlicense" ]
null
null
null
// // graphX - geometry - shapes - sphere.hpp // #pragma once #include "Ishape.hpp" namespace graphX::geometry { struct Sphere : IShape { public: Sphere(const vec3f& center_, float radius_) : center{center_}, radius{radius_} { } public: bool ray_intersect(const vec3f&...
20.25
104
0.604938
a51a2cc5253a0e0355c9a1693576d8eb80a9f8bf
160
hxx
C++
code/temunt/interface/TemUnt/Direction.hxx
Angew/temple-untrap
bec2a9b73f8b0bbcd5ea9b2b04e4b3da113906fc
[ "MIT" ]
1
2021-08-20T08:22:18.000Z
2021-08-20T08:22:18.000Z
code/temunt/interface/TemUnt/Direction.hxx
Angew/temple-untrap
bec2a9b73f8b0bbcd5ea9b2b04e4b3da113906fc
[ "MIT" ]
null
null
null
code/temunt/interface/TemUnt/Direction.hxx
Angew/temple-untrap
bec2a9b73f8b0bbcd5ea9b2b04e4b3da113906fc
[ "MIT" ]
null
null
null
#pragma once #include "TemUnt/Direction.hh" namespace TemUnt { enum class Direction { North = 0, South = 1, East = 2, West = 3 }; } //namespace TemUnt
9.411765
30
0.65
a51fb1c6f5dd006fdbb28730c2e30292906dfe38
32,750
cc
C++
physicalrobots/player/server/drivers/blobfinder/searchpattern/searchpattern.cc
parasol-ppl/PPL_utils
92728bb89692fda1705a0dee436592d97922a6cb
[ "BSD-3-Clause" ]
null
null
null
physicalrobots/player/server/drivers/blobfinder/searchpattern/searchpattern.cc
parasol-ppl/PPL_utils
92728bb89692fda1705a0dee436592d97922a6cb
[ "BSD-3-Clause" ]
null
null
null
physicalrobots/player/server/drivers/blobfinder/searchpattern/searchpattern.cc
parasol-ppl/PPL_utils
92728bb89692fda1705a0dee436592d97922a6cb
[ "BSD-3-Clause" ]
null
null
null
/* * Player - One Hell of a Robot Server * Copyright (C) 2000 Brian Gerkey et al. * * 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 o...
29.881387
208
0.543939
a526c90cfd414f0b7e8e693779b6674323672347
920
cc
C++
flecsi/utils/test/reflection.cc
manopapad/flecsi
8bb06e4375f454a0680564c76df2c60ffe49c770
[ "Unlicense" ]
null
null
null
flecsi/utils/test/reflection.cc
manopapad/flecsi
8bb06e4375f454a0680564c76df2c60ffe49c770
[ "Unlicense" ]
null
null
null
flecsi/utils/test/reflection.cc
manopapad/flecsi
8bb06e4375f454a0680564c76df2c60ffe49c770
[ "Unlicense" ]
null
null
null
/*~-------------------------------------------------------------------------~~* * Copyright (c) 2014 Los Alamos National Security, LLC * All rights reserved. *~-------------------------------------------------------------------------~~*/ #include <cinchdevel.h> #include <flecsi/utils/reflection.h> struct test_typ...
27.058824
80
0.43913
a528599a53644c4700efa428c3f8c495bb6285a4
44
cpp
C++
PolygonTriangulationC/Vertex.cpp
sbrodehl/cg-lab-1516
fc4a09679bbce502f59f66a581077417b39edb15
[ "MIT" ]
null
null
null
PolygonTriangulationC/Vertex.cpp
sbrodehl/cg-lab-1516
fc4a09679bbce502f59f66a581077417b39edb15
[ "MIT" ]
5
2016-03-16T09:43:19.000Z
2016-03-25T12:11:19.000Z
PolygonTriangulationC/Vertex.cpp
sbrodehl/cg-lab-1516
fc4a09679bbce502f59f66a581077417b39edb15
[ "MIT" ]
null
null
null
// // Created by clamber on 21.03.2016. //
8.8
36
0.590909
a52f7fe7b8ba648cfe89fbb8bc15dd779ba0f115
5,779
cpp
C++
tests/test_file.cpp
adamelliot/stitch
e2a7f4cfb0f8171f8d01e1f1c41b30f3c03be5f3
[ "MIT" ]
4
2017-11-28T17:22:46.000Z
2022-03-17T07:47:19.000Z
tests/test_file.cpp
adamelliot/stitch
e2a7f4cfb0f8171f8d01e1f1c41b30f3c03be5f3
[ "MIT" ]
10
2017-10-04T01:20:25.000Z
2017-11-23T06:15:23.000Z
tests/test_file.cpp
adamelliot/stitch
e2a7f4cfb0f8171f8d01e1f1c41b30f3c03be5f3
[ "MIT" ]
1
2019-06-13T23:05:49.000Z
2019-06-13T23:05:49.000Z
#include "../stitch/file.h" #include "../testing/testing.h" #include <thread> #include <chrono> #include <iostream> #include <sstream> #include <cstring> #include <sys/types.h> #include <sys/stat.h> using namespace Stitch; using namespace std; using namespace Testing; static bool test_basic() { Test test; ...
19.791096
90
0.477072
a531999941aba44ec04c231ab80f563fbf87b381
6,732
cpp
C++
clients/cpp-qt5-qhttpengine-server/generated/server/src/models/OAIPipelineBranchesitem.cpp
PankTrue/swaggy-jenkins
aca35a7cca6e1fcc08bd399e05148942ac2f514b
[ "MIT" ]
23
2017-08-01T12:25:26.000Z
2022-01-25T03:44:11.000Z
clients/cpp-qt5-qhttpengine-server/generated/server/src/models/OAIPipelineBranchesitem.cpp
PankTrue/swaggy-jenkins
aca35a7cca6e1fcc08bd399e05148942ac2f514b
[ "MIT" ]
35
2017-06-14T03:28:15.000Z
2022-02-14T10:25:54.000Z
clients/cpp-qt5-qhttpengine-server/generated/server/src/models/OAIPipelineBranchesitem.cpp
PankTrue/swaggy-jenkins
aca35a7cca6e1fcc08bd399e05148942ac2f514b
[ "MIT" ]
11
2017-08-31T19:00:20.000Z
2021-12-19T12:04:12.000Z
/** * Swaggy Jenkins * Jenkins API clients generated from Swagger / Open API specification * * OpenAPI spec version: 1.1.1 * Contact: blah@cliffano.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually...
28.167364
112
0.738562
a531f88b830fa58c47ddcc7d015872bf18c81664
55,115
cc
C++
raft_impl.cc
dengoswei/craft
16c4d403c0b1819dc21258cc4cbff6ffb8bf6457
[ "Apache-2.0" ]
5
2015-12-10T02:28:33.000Z
2019-06-02T18:20:53.000Z
raft_impl.cc
dengoswei/craft
16c4d403c0b1819dc21258cc4cbff6ffb8bf6457
[ "Apache-2.0" ]
null
null
null
raft_impl.cc
dengoswei/craft
16c4d403c0b1819dc21258cc4cbff6ffb8bf6457
[ "Apache-2.0" ]
null
null
null
#include <algorithm> #include <sstream> #include "raft_impl.h" #include "replicate_tracker.h" #include "time_utils.h" #include "hassert.h" #include "mem_utils.h" using namespace std; namespace { using namespace raft; inline void assert_role(const RaftImpl& raft_impl, RaftRole expected_role) { hassert(raft_impl....
31.015757
82
0.589749
a53314e22a638de0302a218fb6db0734a3235269
364
cpp
C++
headers/main/bw_encode.cpp
SamBuckberry/readslam
47c5cd0e407f17db08a70488913905f86cffe054
[ "CC-BY-3.0" ]
null
null
null
headers/main/bw_encode.cpp
SamBuckberry/readslam
47c5cd0e407f17db08a70488913905f86cffe054
[ "CC-BY-3.0" ]
null
null
null
headers/main/bw_encode.cpp
SamBuckberry/readslam
47c5cd0e407f17db08a70488913905f86cffe054
[ "CC-BY-3.0" ]
null
null
null
#include "../algorithms/sorting.h" #include "../tools/_fasta.h" int main (int argc, char * const argv[]) { if (argc != 3) { cout << "Encode a genome's fasta sequences using the Burrows-Wheeler algorithm." << endl; cout << "Usage: ./burrows_wheeler /infile.fa /outfile.fa" << endl; exit(0); } ReadSlam::FastA::...
24.266667
91
0.645604
a53361e4645143c7ce4a6fb44ce50adbc3a85dd6
2,148
cpp
C++
apps/xcomp/src/XCConfig.cpp
gugenstudio/Xcomp
b8c572ec618fa157c4ed07845b87d0ced21b2dd5
[ "MIT" ]
1
2022-02-18T11:55:57.000Z
2022-02-18T11:55:57.000Z
apps/xcomp/src/XCConfig.cpp
gugenstudio/xComp
b8c572ec618fa157c4ed07845b87d0ced21b2dd5
[ "MIT" ]
null
null
null
apps/xcomp/src/XCConfig.cpp
gugenstudio/xComp
b8c572ec618fa157c4ed07845b87d0ced21b2dd5
[ "MIT" ]
null
null
null
//================================================================== /// XCConfig.cpp /// /// Created by Davide Pasca - 2022/01/21 /// See the file "license.txt" that comes with this project for /// copyright info. //================================================================== #include "GTVersions.h" #include "X...
33.5625
71
0.533985
a5341057111530e24eeb851aa8f9fe420ae62ddd
16,339
cpp
C++
libcsvsqldb/sql_lexer.cpp
fuersten/csvsqldb
1b766ddf253805e31f9840cd3081cba559018a06
[ "BSD-3-Clause" ]
5
2015-09-10T08:53:41.000Z
2020-05-30T18:42:20.000Z
libcsvsqldb/sql_lexer.cpp
fuersten/csvsqldb
1b766ddf253805e31f9840cd3081cba559018a06
[ "BSD-3-Clause" ]
20
2015-09-29T16:16:07.000Z
2021-06-13T08:08:05.000Z
libcsvsqldb/sql_lexer.cpp
fuersten/csvsqldb
1b766ddf253805e31f9840cd3081cba559018a06
[ "BSD-3-Clause" ]
3
2015-09-09T22:51:44.000Z
2020-11-11T13:19:42.000Z
// // sql_lexer.h // csv db // // BSD 3-Clause License // Copyright (c) 2015, Lars-Christian Fürstenberg // All rights reserved. // // Redistribution and use in source and binary forms, with or without modification, are permitted // provided that the following conditions are met: // // 1. Redistributions of sou...
37.134091
98
0.53461
a536ed610414892db435e13ee5d94da23e0df509
3,828
hpp
C++
rosidl_typesupport_introspection_tests/include/rosidl_typesupport_introspection_tests/libraries.hpp
tsungchent/rosidl
caef9b8f820dfcb16e6a2df9118c5669cc816642
[ "Apache-2.0" ]
1
2022-02-28T21:29:46.000Z
2022-02-28T21:29:46.000Z
rosidl_typesupport_introspection_tests/include/rosidl_typesupport_introspection_tests/libraries.hpp
tsungchent/rosidl
caef9b8f820dfcb16e6a2df9118c5669cc816642
[ "Apache-2.0" ]
null
null
null
rosidl_typesupport_introspection_tests/include/rosidl_typesupport_introspection_tests/libraries.hpp
tsungchent/rosidl
caef9b8f820dfcb16e6a2df9118c5669cc816642
[ "Apache-2.0" ]
null
null
null
// Copyright 2022 Open Source Robotics Foundation, Inc. // // 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 appli...
39.463918
75
0.785005
a536f2d5e320c70a40fa940527f46bc4c9407327
10,256
cpp
C++
11_learning_materials/stanford_self_driving_car/driving/imagery/src/textureCache.cpp
EatAllBugs/autonomous_learning
02ff7b0fa7b131a2f2203505ef5cc7e43b40bc47
[ "MIT" ]
14
2021-09-01T14:25:45.000Z
2022-02-21T08:49:57.000Z
11_learning_materials/stanford_self_driving_car/driving/imagery/src/textureCache.cpp
yinflight/autonomous_learning
02ff7b0fa7b131a2f2203505ef5cc7e43b40bc47
[ "MIT" ]
null
null
null
11_learning_materials/stanford_self_driving_car/driving/imagery/src/textureCache.cpp
yinflight/autonomous_learning
02ff7b0fa7b131a2f2203505ef5cc7e43b40bc47
[ "MIT" ]
3
2021-10-10T00:58:29.000Z
2022-01-23T13:16:09.000Z
/******************************************************** Stanford Driving Software Copyright (c) 2011 Stanford University 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...
30.984894
158
0.621002
a537453ebe8afbcecef93c2edf6967138dd7c11d
1,899
hxx
C++
session/KAutoLogon.hxx
Peter2121/kts
fb1a9d67dc5ef22ad8ec3bf445525c8d8b1b9a3a
[ "BSD-3-Clause" ]
null
null
null
session/KAutoLogon.hxx
Peter2121/kts
fb1a9d67dc5ef22ad8ec3bf445525c8d8b1b9a3a
[ "BSD-3-Clause" ]
null
null
null
session/KAutoLogon.hxx
Peter2121/kts
fb1a9d67dc5ef22ad8ec3bf445525c8d8b1b9a3a
[ "BSD-3-Clause" ]
null
null
null
#pragma once #include <algorithm> #include "..\shared\KTrace.hxx" #include "..\shared\Kini.hxx" #include "..\shared\KSlre.hxx" class KAutoLogon { private: /*============================================================================== * var *============================================================...
23.7375
124
0.460242
a539d799a6c38157168ce01558691874c43f1187
1,216
cpp
C++
src/engine/shader/text/SingnedDistanceOutlineTextShader.cpp
Armanimani/Game-Engine
8087cd999f7264488d24a5dc5571b659347a49dd
[ "MIT" ]
null
null
null
src/engine/shader/text/SingnedDistanceOutlineTextShader.cpp
Armanimani/Game-Engine
8087cd999f7264488d24a5dc5571b659347a49dd
[ "MIT" ]
1
2017-04-05T01:40:02.000Z
2017-04-05T07:36:55.000Z
src/engine/shader/text/SingnedDistanceOutlineTextShader.cpp
Armanimani/Game-Engine
8087cd999f7264488d24a5dc5571b659347a49dd
[ "MIT" ]
null
null
null
#include "SingnedDistanceOutlineTextShader.h" void SignedDistanceOutlineTextShader::loadAllToUniform(const std::shared_ptr<GUITextModel> model) { SignedDistanceTextShader::loadAllToUniform(model); loadToUniform(location_outlineColor, model->getMaterial()->getProperties().color2); loadToUniform(location_outlineWidt...
34.742857
98
0.817434
a53a645d257e0e8c8f80c93d96c20b152697713a
4,263
hpp
C++
src/graph/include/graph/breadth_first_search.hpp
SkyterX/rpclass
5e80ec4e0b876eb498351bcf7d6f5983fe5c7934
[ "Apache-2.0" ]
null
null
null
src/graph/include/graph/breadth_first_search.hpp
SkyterX/rpclass
5e80ec4e0b876eb498351bcf7d6f5983fe5c7934
[ "Apache-2.0" ]
null
null
null
src/graph/include/graph/breadth_first_search.hpp
SkyterX/rpclass
5e80ec4e0b876eb498351bcf7d6f5983fe5c7934
[ "Apache-2.0" ]
null
null
null
#pragma once #include <queue> #include <graph/graph.hpp> #include <graph/properties.hpp> #include <graph/static_graph.hpp> namespace graph { template <typename ColorMapTag, typename V, typename E> struct GenerateBFSGraph {}; template <typename ColorMapTag, typename... P1s, typename... P2s> struct GenerateBFSGra...
36.435897
96
0.703964
a53bcff7875e40227554a2f5c083863f61245ec9
6,622
cpp
C++
test/unittest/step_tileset_test.cpp
albin-johansson/step
f3e71ebd2d54ebbb7fcfa40002b1e4fde3779aab
[ "MIT" ]
4
2020-06-05T11:56:11.000Z
2020-11-13T14:49:06.000Z
test/unittest/step_tileset_test.cpp
albin-johansson/step
f3e71ebd2d54ebbb7fcfa40002b1e4fde3779aab
[ "MIT" ]
8
2020-05-23T09:35:03.000Z
2020-06-20T22:15:02.000Z
test/unittest/step_tileset_test.cpp
albin-johansson/step
f3e71ebd2d54ebbb7fcfa40002b1e4fde3779aab
[ "MIT" ]
null
null
null
#include "step_tileset.hpp" #include <doctest.h> #include <string_view> #include "step_exception.hpp" #include "step_test_utils.h" using namespace step; inline static constexpr std::string_view prefix = "resource/tileset/"; TEST_SUITE("Tileset") { TEST_CASE("Parsing external tileset") { const auto tileset...
31.836538
77
0.609333
a53d3078d6e68e6aca1bc30353ac37d5efc991bf
1,410
cpp
C++
sxaccelerate/src/parserkit/examples/04_include_files/SxDemo4Parser.cpp
ashtonmv/sphinx_vdw
5896fee0d92c06e883b72725cb859d732b8b801f
[ "Apache-2.0" ]
1
2020-02-29T03:26:32.000Z
2020-02-29T03:26:32.000Z
sxaccelerate/src/parserkit/examples/04_include_files/SxDemo4Parser.cpp
ashtonmv/sphinx_vdw
5896fee0d92c06e883b72725cb859d732b8b801f
[ "Apache-2.0" ]
null
null
null
sxaccelerate/src/parserkit/examples/04_include_files/SxDemo4Parser.cpp
ashtonmv/sphinx_vdw
5896fee0d92c06e883b72725cb859d732b8b801f
[ "Apache-2.0" ]
null
null
null
// --------------------------------------------------------------------------- // // The general purpose cross platform C/C++ framework // // S x A c c e l e r a t e // // Home: https://www.sxlib.de // License: Apache 2 // Authors: see src/AUTHOR...
21.363636
78
0.521986
a53d6c0c94a22872150b79b2baf203f7c9f35780
2,582
hpp
C++
openbmc_modules/phosphor-ipmi-blobs/example/example.hpp
Eyerunmyden/HWMgmt-MegaRAC-OpenEdition
72b03e9fc6e2a13184f1c57b8045b616db9b0a6d
[ "Apache-2.0", "MIT" ]
14
2021-11-04T07:47:37.000Z
2022-03-21T10:10:30.000Z
openbmc_modules/phosphor-ipmi-blobs/example/example.hpp
Eyerunmyden/HWMgmt-MegaRAC-OpenEdition
72b03e9fc6e2a13184f1c57b8045b616db9b0a6d
[ "Apache-2.0", "MIT" ]
null
null
null
openbmc_modules/phosphor-ipmi-blobs/example/example.hpp
Eyerunmyden/HWMgmt-MegaRAC-OpenEdition
72b03e9fc6e2a13184f1c57b8045b616db9b0a6d
[ "Apache-2.0", "MIT" ]
6
2021-11-02T10:56:19.000Z
2022-03-06T11:58:20.000Z
#pragma once #include <blobs-ipmid/blobs.hpp> #include <memory> #include <string> #include <unordered_map> #include <vector> #ifdef __cplusplus extern "C" { #endif /** * This method must be declared as extern C for blob manager to lookup the * symbol. */ std::unique_ptr<blobs::GenericBlobInterface> createHandler(...
28.065217
77
0.691712
a53da97f92c9b880a510e5ab6779e4f1cb5b9316
2,706
cc
C++
src/third_party/abseil-cpp/absl/base/internal/strerror_test.cc
rhencke/engine
1016db292c4e73374a0a11536b18303c9522a224
[ "BSD-3-Clause" ]
6
2020-02-12T20:46:41.000Z
2021-04-14T17:48:54.000Z
src/third_party/abseil-cpp/absl/base/internal/strerror_test.cc
rhencke/engine
1016db292c4e73374a0a11536b18303c9522a224
[ "BSD-3-Clause" ]
54
2020-06-23T17:34:04.000Z
2022-03-31T02:04:06.000Z
src/third_party/abseil-cpp/absl/base/internal/strerror_test.cc
rhencke/engine
1016db292c4e73374a0a11536b18303c9522a224
[ "BSD-3-Clause" ]
12
2020-07-14T23:59:57.000Z
2022-03-22T09:59:18.000Z
// Copyright 2020 The Abseil 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agr...
31.103448
79
0.684405
a53ea9be9c6f82a33b219a687dcdb2d0d3cb7486
1,435
hh
C++
src/transform/vector/vector4.hh
CompaqDisc/libtransform
db9dcbc39cd7d3af904c1bc2131544c1908522e1
[ "MIT" ]
null
null
null
src/transform/vector/vector4.hh
CompaqDisc/libtransform
db9dcbc39cd7d3af904c1bc2131544c1908522e1
[ "MIT" ]
null
null
null
src/transform/vector/vector4.hh
CompaqDisc/libtransform
db9dcbc39cd7d3af904c1bc2131544c1908522e1
[ "MIT" ]
null
null
null
#pragma once #include <memory> #include "vector.hh" namespace transform { template <class T> class Vector4 : public Vector<4, T> { private: typedef Vector<4, T> super; public: Vector4() : super() {} // default construct Vector4(const T x, const T y, const T z, const T w); // member construct Ve...
19.133333
82
0.552613
a54038616b95c435f358914cdf01cdeeee72e878
22,450
cpp
C++
platform/mt6592/hardware/audio/aud_drv/AudioPlatformDevice.cpp
touxiong88/92_mediatek
5e96a7bb778fd9d9b335825584664e0c8b5ff2c7
[ "Apache-2.0" ]
1
2022-01-07T01:53:19.000Z
2022-01-07T01:53:19.000Z
platform/mt6592/hardware/audio/aud_drv/AudioPlatformDevice.cpp
touxiong88/92_mediatek
5e96a7bb778fd9d9b335825584664e0c8b5ff2c7
[ "Apache-2.0" ]
null
null
null
platform/mt6592/hardware/audio/aud_drv/AudioPlatformDevice.cpp
touxiong88/92_mediatek
5e96a7bb778fd9d9b335825584664e0c8b5ff2c7
[ "Apache-2.0" ]
1
2020-02-28T02:48:42.000Z
2020-02-28T02:48:42.000Z
#include "AudioPlatformDevice.h" #include "AudioAnalogType.h" #include "audio_custom_exp.h" #define LOG_TAG "AudioPlatformDevice" #ifndef ANDROID_DEFAULT_CODE #include <cutils/xlog.h> #ifdef ALOGE #undef ALOGE #endif #ifdef ALOGW #undef ALOGW #endif ALOGI #undef ALOGI #ifdef ALOGD #undef ALOGD #endif #ifdef ALOGV #und...
36.863711
197
0.671448
a54540bdad511b2641bac5b0129de33591cace4e
4,347
cpp
C++
ProtoTcpClient/CmdLineExec.cpp
EvanGertis/Dev_RisLib
1aa185d1092bd703a0867bcc36106886baea3454
[ "MIT" ]
null
null
null
ProtoTcpClient/CmdLineExec.cpp
EvanGertis/Dev_RisLib
1aa185d1092bd703a0867bcc36106886baea3454
[ "MIT" ]
null
null
null
ProtoTcpClient/CmdLineExec.cpp
EvanGertis/Dev_RisLib
1aa185d1092bd703a0867bcc36106886baea3454
[ "MIT" ]
1
2019-03-28T15:09:48.000Z
2019-03-28T15:09:48.000Z
#include "stdafx.h" #include "procoTcpSettings.h" #include "procoMsg.h" #include "procoMsgHelper.h" #include "procoClientThread.h" #include "CmdLineExec.h" using namespace ProtoComm; //****************************************************************************** //************************************************...
34.228346
80
0.296526
a54d3255d9b64c01987dcbf06a6bf5a4e3af694a
2,205
cpp
C++
src/DashboardLayout.cpp
00steve/Lapster
42c11d7bf96694c36f75d938563031cb08951ff1
[ "Apache-2.0" ]
null
null
null
src/DashboardLayout.cpp
00steve/Lapster
42c11d7bf96694c36f75d938563031cb08951ff1
[ "Apache-2.0" ]
null
null
null
src/DashboardLayout.cpp
00steve/Lapster
42c11d7bf96694c36f75d938563031cb08951ff1
[ "Apache-2.0" ]
null
null
null
#include "DashboardLayout.h" void DashboardLayout::Setup(){ switch(layoutID){ case LAYOUT_SINGLE: Serial.println("use default single widget dashboard"); widget[0] = new DashboardWidget(Int2(10,10),Int2(470,310),GAUGE_TYPE_BAR,INPUT_ANALOG1); widgetCount = 1; break; case LAY...
25.639535
100
0.623583
a5547fdf56655ca4bf73afa96bd8cb653764d9c2
598
cpp
C++
pointer_main.cpp
zhichengMLE/Cplusplus
525d80550c2460b0504926a26beaa67ca91bb848
[ "MIT" ]
1
2019-03-29T21:07:37.000Z
2019-03-29T21:07:37.000Z
pointer_main.cpp
zhichengMLE/Cplusplus
525d80550c2460b0504926a26beaa67ca91bb848
[ "MIT" ]
null
null
null
pointer_main.cpp
zhichengMLE/Cplusplus
525d80550c2460b0504926a26beaa67ca91bb848
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; bool printArray(string* arr, int length){ if(arr == NULL){ return false; } for(int i = 0; i < length; i++){ cout << arr[i] << endl; } return true; } int main() { string arrMonth[12] = {"Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Au...
13
111
0.560201
a559a8d25755123fb6296d027efb72d08bb91b83
9,590
hpp
C++
src/Serialize.hpp
Mercerenies/latitude
29b1697f1f615d52480197a52e20ff8c1872f07d
[ "MIT" ]
3
2021-09-02T18:19:25.000Z
2021-12-26T23:33:32.000Z
src/Serialize.hpp
Mercerenies/latitude
29b1697f1f615d52480197a52e20ff8c1872f07d
[ "MIT" ]
45
2017-11-28T15:13:59.000Z
2022-02-19T18:45:46.000Z
src/Serialize.hpp
Mercerenies/proto-lang
29b1697f1f615d52480197a52e20ff8c1872f07d
[ "MIT" ]
null
null
null
//// Copyright (c) 2018 Silvio Mayolo //// See LICENSE.txt for licensing details #ifndef SERIALIZE_HPP #define SERIALIZE_HPP #include "Instructions.hpp" #include "Assembler.hpp" /// \file /// /// \brief Serialization structures and helpers. /// serialize_t, on its own, is an incomplete type. Any type which is /// s...
26.862745
99
0.665485
a55a285e827647b249f13c23efeff1dc550898ef
3,208
cpp
C++
CCC/ccc04s5.cpp
crackersamdjam/DMOJ-Solutions
97992566595e2c7bf41b5da9217d8ef61bdd1d71
[ "MIT" ]
null
null
null
CCC/ccc04s5.cpp
crackersamdjam/DMOJ-Solutions
97992566595e2c7bf41b5da9217d8ef61bdd1d71
[ "MIT" ]
null
null
null
CCC/ccc04s5.cpp
crackersamdjam/DMOJ-Solutions
97992566595e2c7bf41b5da9217d8ef61bdd1d71
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; #define MM 102 int dp[MM][MM][3],arr[MM][MM]; //moved up, down, right char c; int main(){ while(1){ int m,n; scanf("%d%d",&m,&n); if(m == 0) break; for(int i = m; i > 0; i--){ scanf("%c",&c); //nl ...
36.873563
79
0.275561
a222d9ab01460056f957119aaeb4bd94ebf3684e
29,324
cpp
C++
src/Image.cpp
i-saint/glSpriteFont
8552bbbe664e8841dd497b8a1a5cdc6dbdfc5fe1
[ "Unlicense" ]
2
2015-11-07T11:31:55.000Z
2021-04-16T15:20:44.000Z
src/Image.cpp
i-saint/glSpriteFont
8552bbbe664e8841dd497b8a1a5cdc6dbdfc5fe1
[ "Unlicense" ]
null
null
null
src/Image.cpp
i-saint/glSpriteFont
8552bbbe664e8841dd497b8a1a5cdc6dbdfc5fe1
[ "Unlicense" ]
1
2020-06-09T10:45:28.000Z
2020-06-09T10:45:28.000Z
#include "stdafx.h" #include "Image.h" #ifdef __ist_with_gli__ #include "gli/gli.hpp" #include "gli/gtx/loader.hpp" #endif // __ist_with_gli__ namespace ist { struct BMPHEAD { char B; char M; int32 file_size; int16 reserve1; int16 reserve2; int32 offset; BMPHEAD() ...
28.805501
139
0.572228
a226d7a69e226236adfc97177d46fabe4d53b894
1,793
cpp
C++
CompetitiveCodingTemplates/cpp_template.cpp
niranjan09/DataStructures_Algorithms
df2801f7ea48a39a55a6d79fd66ad200a2de0145
[ "MIT" ]
null
null
null
CompetitiveCodingTemplates/cpp_template.cpp
niranjan09/DataStructures_Algorithms
df2801f7ea48a39a55a6d79fd66ad200a2de0145
[ "MIT" ]
null
null
null
CompetitiveCodingTemplates/cpp_template.cpp
niranjan09/DataStructures_Algorithms
df2801f7ea48a39a55a6d79fd66ad200a2de0145
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; /* Start of commonly used datatypes and constructs*/ using L = long long; #define FOR(i, s, e) for(L i = s; i<e; ++i) #define RFOR(i, s, e) for(L i = s; i>e; --i) #define F first #define S second #define SZ(container) ((int)container.size()) #define ALL(container) containe...
23.285714
185
0.577245
a22992aa915dd06e962163704b713c016925eb26
2,215
cpp
C++
tests/stl-dependency-test/library/cib/__zz_cib_StlDependencyTest-gateway.cpp
satya-das/cib
369333ea58b0530b8789a340e21096ba7d159d0e
[ "MIT" ]
30
2018-03-05T17:35:29.000Z
2022-03-17T18:59:34.000Z
tests/stl-dependency-test/library/cib/__zz_cib_StlDependencyTest-gateway.cpp
satya-das/cib
369333ea58b0530b8789a340e21096ba7d159d0e
[ "MIT" ]
2
2016-05-26T04:47:13.000Z
2019-02-15T05:17:43.000Z
tests/stl-dependency-test/library/cib/__zz_cib_StlDependencyTest-gateway.cpp
satya-das/cib
369333ea58b0530b8789a340e21096ba7d159d0e
[ "MIT" ]
5
2019-02-15T05:09:22.000Z
2021-04-14T12:10:16.000Z
#include "__zz_cib_StlDependencyTest-decl.h" #include "__zz_cib_StlDependencyTest-export.h" #include "__zz_cib_StlDependencyTest-ids.h" #include "__zz_cib_StlDependencyTest-mtable.h" namespace __zz_cib_ { namespace __zz_cib_Class263 { const __zz_cib_MethodTable* __zz_cib_GetMethodTable(); }} namespace __zz_cib_ { name...
67.121212
140
0.832957
a22ae189aaa5767f514c0572455824bc70973c43
3,128
cc
C++
Pulse/src/InputStream.cc
frankencode/CoreComponents
4c66d7ff9fc5be19222906ba89ba0e98951179de
[ "Zlib" ]
1
2019-07-29T04:07:29.000Z
2019-07-29T04:07:29.000Z
Pulse/src/InputStream.cc
frankencode/CoreComponents
4c66d7ff9fc5be19222906ba89ba0e98951179de
[ "Zlib" ]
null
null
null
Pulse/src/InputStream.cc
frankencode/CoreComponents
4c66d7ff9fc5be19222906ba89ba0e98951179de
[ "Zlib" ]
1
2020-03-04T17:13:04.000Z
2020-03-04T17:13:04.000Z
/* * Copyright (C) 2021 Frank Mertens. * * Distribution and use is allowed under the terms of the zlib license * (see cc/LICENSE-zlib). * */ #include <cc/pulse/InputStream> #include <cc/Format> #include <cc/DEBUG> #include <pulse/stream.h> #include <cassert> namespace cc::pulse { struct InputStream::State: pub...
24.4375
88
0.609655
a22d4c1cc7f16d757453e4eb88c8537cf9153bef
224
hpp
C++
cpp/include/mh/concurrency/main_thread.hpp
PazerOP/stuff
8ef31153dce1c9593d59fe7fb731fca4d15f3fa6
[ "MIT" ]
null
null
null
cpp/include/mh/concurrency/main_thread.hpp
PazerOP/stuff
8ef31153dce1c9593d59fe7fb731fca4d15f3fa6
[ "MIT" ]
4
2020-01-04T02:26:00.000Z
2020-04-19T10:46:50.000Z
cpp/include/mh/concurrency/main_thread.hpp
PazerOP/stuff
8ef31153dce1c9593d59fe7fb731fca4d15f3fa6
[ "MIT" ]
null
null
null
#pragma once #include <thread> namespace mh { inline static const std::thread::id main_thread_id = std::this_thread::get_id(); inline bool is_main_thread() { return main_thread_id == std::this_thread::get_id(); } }
16
81
0.714286
a2344908796c529df62a337119c9aae152cbd0ea
751
cc
C++
c-deps/libroach/cache.cc
benlong-transloc/cockroach
9a38931424b4b84116da606820d3cde699c90879
[ "MIT", "BSD-3-Clause" ]
2
2020-02-28T02:40:42.000Z
2020-02-28T04:08:48.000Z
c-deps/libroach/cache.cc
benlong-transloc/cockroach
9a38931424b4b84116da606820d3cde699c90879
[ "MIT", "BSD-3-Clause" ]
10
2020-09-06T14:29:19.000Z
2022-03-02T04:56:13.000Z
c-deps/libroach/cache.cc
rohany/cockroach
12c640b74f8a16a27eb5ba03df9628cec4c99400
[ "MIT", "BSD-3-Clause" ]
2
2019-11-12T13:38:48.000Z
2020-02-02T09:38:19.000Z
// Copyright 2018 The Cockroach Authors. // // Use of this software is governed by the Business Source License // included in the file licenses/BSL.txt. // // As of the Change Date specified in that file, in accordance with // the Business Source License, use of this software will be governed // by the Apache License, ...
27.814815
69
0.729694
a2384a8034b31e628d6bcb624278352b1066ef01
835
cpp
C++
projects/client/visual/scenery/test/source/tests/donut_test.cpp
silentorb/mythic-cpp
97319d158800d77e1a944c47c13523662bc07e08
[ "MIT" ]
null
null
null
projects/client/visual/scenery/test/source/tests/donut_test.cpp
silentorb/mythic-cpp
97319d158800d77e1a944c47c13523662bc07e08
[ "MIT" ]
null
null
null
projects/client/visual/scenery/test/source/tests/donut_test.cpp
silentorb/mythic-cpp
97319d158800d77e1a944c47c13523662bc07e08
[ "MIT" ]
null
null
null
#include "gtest/gtest.h" #include <glaze/definition/Material.h> #include <glaze/brushes/GL_Desktop_Brush.h> #include "glaze_test/utility.h" using namespace std; using namespace glaze::definition; using namespace glaze; TEST(Box_Test, test_test) { auto code = load_shader("colored.vertex"); Materia...
23.857143
52
0.631138
a23b954d4f083885e3d2212f014d11bba31dab9e
7,356
cpp
C++
Src/widget.cpp
BastiaanOlij/omnis.xcomp.widget
629b203f4bd6d1e1e408f1b2ed3de4eaf45d0e1a
[ "MIT" ]
1
2018-08-09T23:44:54.000Z
2018-08-09T23:44:54.000Z
Src/widget.cpp
BastiaanOlij/omnis.xcomp.widget
629b203f4bd6d1e1e408f1b2ed3de4eaf45d0e1a
[ "MIT" ]
2
2015-01-20T03:51:53.000Z
2020-03-27T04:45:38.000Z
Src/widget.cpp
BastiaanOlij/omnis.xcomp.widget
629b203f4bd6d1e1e408f1b2ed3de4eaf45d0e1a
[ "MIT" ]
1
2018-09-13T05:07:08.000Z
2018-09-13T05:07:08.000Z
/* * omnis.xcomp.widget * =================== * * widget.cpp * Widget library implementation * * Bastiaan Olij */ #include "widget.h" #ifdef iswin32 /* not yet supported */ #else #include "monitor_mac.h" #endif qshort mainlib::major() { return OMNISSDK; }; qshort mainlib::minor() { return 124; }; E...
31.302128
87
0.660821
a23c10157cbcccec5e57087d42760495ea114d95
1,008
cc
C++
zircon/system/ulib/storage/buffer/test/vmoid_registry_test.cc
allansrc/fuchsia
a2c235b33fc4305044d496354a08775f30cdcf37
[ "BSD-2-Clause" ]
210
2019-02-05T12:45:09.000Z
2022-03-28T07:59:06.000Z
zircon/system/ulib/storage/buffer/test/vmoid_registry_test.cc
allansrc/fuchsia
a2c235b33fc4305044d496354a08775f30cdcf37
[ "BSD-2-Clause" ]
56
2021-06-03T03:16:25.000Z
2022-03-20T01:07:44.000Z
zircon/system/ulib/storage/buffer/test/vmoid_registry_test.cc
allansrc/fuchsia
a2c235b33fc4305044d496354a08775f30cdcf37
[ "BSD-2-Clause" ]
73
2019-03-06T18:55:23.000Z
2022-03-26T12:04:51.000Z
// Copyright 2020 The Fuchsia 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 "storage/buffer/vmoid_registry.h" #include <gmock/gmock.h> #include <gtest/gtest.h> namespace storage { namespace { using ::testing::_; TEST(V...
21
73
0.690476
a24577b30f05e6f83b580fe4ce44fbce0ab7c8da
1,834
cpp
C++
collection/cp/Algorithm_Collection-master/firstMissingPositive.cpp
daemonslayer/Notebook
a9880be9bd86955afd6b8f7352822bc18673eda3
[ "Apache-2.0" ]
1
2019-03-24T13:12:01.000Z
2019-03-24T13:12:01.000Z
collection/cp/Algorithm_Collection-master/firstMissingPositive.cpp
daemonslayer/Notebook
a9880be9bd86955afd6b8f7352822bc18673eda3
[ "Apache-2.0" ]
null
null
null
collection/cp/Algorithm_Collection-master/firstMissingPositive.cpp
daemonslayer/Notebook
a9880be9bd86955afd6b8f7352822bc18673eda3
[ "Apache-2.0" ]
null
null
null
/*Given an unsorted integer array, find the first missing positive integer. For example, Given [1,2,0] return 3, and [3,4,-1,1] return 2. Your algorithm should run in O(n) time and uses constant space. Analysis: If we can use another array flag, we can assign flag[A[i]-1] = A[i] to present its occurrence.And get the...
37.428571
238
0.531625
a245b10013ce2468db678e9bc23521ab7c66b945
3,684
cc
C++
algorithms/forculus/forculus_decrypter.cc
reMarkable/cobalt
3feead337a6bdf620df7a62abb72c910a566a38c
[ "BSD-3-Clause" ]
null
null
null
algorithms/forculus/forculus_decrypter.cc
reMarkable/cobalt
3feead337a6bdf620df7a62abb72c910a566a38c
[ "BSD-3-Clause" ]
null
null
null
algorithms/forculus/forculus_decrypter.cc
reMarkable/cobalt
3feead337a6bdf620df7a62abb72c910a566a38c
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2016 The Fuchsia 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 agreed...
35.085714
80
0.711183
a24bbd680103c5e0bd7054b3e95aa6a8eb8d8e3e
3,303
cpp
C++
compiler/luci/pass/src/RemoveUnnecessarySplitPass.test.cpp
chunseoklee/ONE-1
f45d579eb78e7e3cd1d878b4137ed23ab569081b
[ "Apache-2.0" ]
null
null
null
compiler/luci/pass/src/RemoveUnnecessarySplitPass.test.cpp
chunseoklee/ONE-1
f45d579eb78e7e3cd1d878b4137ed23ab569081b
[ "Apache-2.0" ]
null
null
null
compiler/luci/pass/src/RemoveUnnecessarySplitPass.test.cpp
chunseoklee/ONE-1
f45d579eb78e7e3cd1d878b4137ed23ab569081b
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2020 Samsung Electronics Co., Ltd. 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...
27.991525
75
0.696942
a24bfb0a5c845c9ca80feb2549a6fff554012fcd
5,151
hpp
C++
src/helics/cpp98/Endpoint.hpp
dnadeau4/HELICS-src
cad21acaac68d25b50e08b185d4fe5a1ae054241
[ "BSD-3-Clause" ]
null
null
null
src/helics/cpp98/Endpoint.hpp
dnadeau4/HELICS-src
cad21acaac68d25b50e08b185d4fe5a1ae054241
[ "BSD-3-Clause" ]
null
null
null
src/helics/cpp98/Endpoint.hpp
dnadeau4/HELICS-src
cad21acaac68d25b50e08b185d4fe5a1ae054241
[ "BSD-3-Clause" ]
null
null
null
/* Copyright © 2017-2019, Battelle Memorial Institute; Lawrence Livermore National Security, LLC; Alliance for Sustainable Energy, LLC. See the top-level NOTICE for additional details. All rights reserved. SPDX-License-Identifier: BSD-3-Clause */ #ifndef HELICS_CPP98_ENDPOINT_HPP_ #define HELICS_CPP98_ENDPOINT_HPP_ #p...
36.531915
115
0.635411
a2500101143a610b8c7fa14d6da625291270a722
22,104
cpp
C++
thirdparty/ULib/src/ulib/ldap/ldap.cpp
liftchampion/nativejson-benchmark
6d575ffa4359a5c4230f74b07d994602a8016fb5
[ "MIT" ]
null
null
null
thirdparty/ULib/src/ulib/ldap/ldap.cpp
liftchampion/nativejson-benchmark
6d575ffa4359a5c4230f74b07d994602a8016fb5
[ "MIT" ]
null
null
null
thirdparty/ULib/src/ulib/ldap/ldap.cpp
liftchampion/nativejson-benchmark
6d575ffa4359a5c4230f74b07d994602a8016fb5
[ "MIT" ]
null
null
null
// ============================================================================ // // = LIBRARY // ULib - c++ library // // = FILENAME // ldap.cpp // // = AUTHOR // Stefano Casazza // // ============================================================================ #include <ulib/url.h> #include <ulib/ldap/ldap...
30.530387
161
0.497647
a2525c82eb57edaf137e876962602c448c65bbc4
3,334
cpp
C++
gmsh/Geo/discreteRegion.cpp
Poofee/fastFEM
14eb626df973e2123604041451912c867ab7188c
[ "MIT" ]
4
2019-05-06T09:35:08.000Z
2021-05-14T16:26:45.000Z
gmsh/Geo/discreteRegion.cpp
Poofee/fastFEM
14eb626df973e2123604041451912c867ab7188c
[ "MIT" ]
null
null
null
gmsh/Geo/discreteRegion.cpp
Poofee/fastFEM
14eb626df973e2123604041451912c867ab7188c
[ "MIT" ]
1
2019-06-28T09:23:43.000Z
2019-06-28T09:23:43.000Z
// Gmsh - Copyright (C) 1997-2019 C. Geuzaine, J.-F. Remacle // // See the LICENSE.txt file for license information. Please report all // issues on https://gitlab.onelab.info/gmsh/gmsh/issues. #include "GmshConfig.h" #include "discreteRegion.h" #include "MVertex.h" #include "GModelIO_GEO.h" #include "Geo.h" #include "...
28.495726
80
0.632873
a252ec135691e83d5217af10e0e71a2280678bd1
8,114
cpp
C++
Classic DLL Injection/DLLInj.cpp
Aporlorxl23/Windows-Process-Injection
a63a24286aca6ec761904c8900976e6ddfb600d9
[ "MIT" ]
2
2021-07-15T23:57:45.000Z
2021-07-16T01:04:01.000Z
Classic DLL Injection/DLLInj.cpp
Aporlorxl23/Windows-Process-Injection
a63a24286aca6ec761904c8900976e6ddfb600d9
[ "MIT" ]
null
null
null
Classic DLL Injection/DLLInj.cpp
Aporlorxl23/Windows-Process-Injection
a63a24286aca6ec761904c8900976e6ddfb600d9
[ "MIT" ]
null
null
null
#undef UNICODE #include <iostream> #include <Windows.h> #include <TlHelp32.h> LPCSTR Banner = \ "Usage>\n DLLInj.exe name notepad.exe DLLInj.dll\n DLLInj.exe pid 2323 DLLInj.dll"; DWORD FindProcess(DWORD PID, LPCSTR ProcessName, LPCSTR Mode) { HANDLE Snapshot = CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS, FALSE); ...
42.481675
268
0.733547
a25812c405b0455b36c0084c8766f1fffafe2b9d
6,616
cpp
C++
src/Node.cpp
caitp/TimedText
7fa0724b3ba99539d17cd0c8be59922676f7114c
[ "Unlicense" ]
2
2017-08-01T11:17:43.000Z
2022-03-19T21:26:45.000Z
src/Node.cpp
caitp/TimedText
7fa0724b3ba99539d17cd0c8be59922676f7114c
[ "Unlicense" ]
null
null
null
src/Node.cpp
caitp/TimedText
7fa0724b3ba99539d17cd0c8be59922676f7114c
[ "Unlicense" ]
null
null
null
// // Copyright (c) 2013 Caitlin Potter and Contributors // 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, t...
19.011494
74
0.667322
a25927d2398bfb6687a194c53b94670436c395d0
19,351
cpp
C++
src/ofApp.cpp
Pitchless/taAsteroids
b041e4ff57ec314a230fcb6b89d39a30e029dfc7
[ "MIT" ]
null
null
null
src/ofApp.cpp
Pitchless/taAsteroids
b041e4ff57ec314a230fcb6b89d39a30e029dfc7
[ "MIT" ]
1
2017-03-03T16:38:42.000Z
2017-03-04T21:16:21.000Z
src/ofApp.cpp
Pitchless/taAsteroids
b041e4ff57ec314a230fcb6b89d39a30e029dfc7
[ "MIT" ]
null
null
null
#include "ofApp.h" #include "photon.h" //-------------------------------------------------------------- void ofApp::setup() { ofSetWindowTitle("Annoianoids"); //ofSetLogLevel(OF_LOG_VERBOSE); ofSetFrameRate(60); ofEnableAlphaBlending(); ofEnableSmoothing(); ofSetWindowShape(1280, 960); mas...
30.522082
96
0.561056
a25d5c53b29e80e096b16da7437b5840896c5bae
2,684
cpp
C++
examples/file_loader/file_loader.cpp
torbjoernk/CTML
0eb16c35c591f990db32d41c58bce71d41817b8c
[ "MIT" ]
1
2018-08-07T15:07:26.000Z
2018-08-07T15:07:26.000Z
examples/file_loader/file_loader.cpp
torbjoernk/CTML
0eb16c35c591f990db32d41c58bce71d41817b8c
[ "MIT" ]
null
null
null
examples/file_loader/file_loader.cpp
torbjoernk/CTML
0eb16c35c591f990db32d41c58bce71d41817b8c
[ "MIT" ]
null
null
null
#include "CTML.h" #include "dirent.h" bool add_files_to_doc(std::string folderPath, CTML::Node* containerNode) { DIR *directory = NULL; // open the folder path directory = opendir(folderPath.c_str()); // return false if it doesn't exist if (directory == NULL) { std::cout << "Directory not found!\n"; return fa...
33.55
84
0.69076
a25dfa61654baf386d71959105626bfe2049567e
57
cpp
C++
algorithms/des/info.cpp
playahammer/crypto
27db00a5e1c58bd78dae34164fad4c719ff7f2cf
[ "MIT" ]
null
null
null
algorithms/des/info.cpp
playahammer/crypto
27db00a5e1c58bd78dae34164fad4c719ff7f2cf
[ "MIT" ]
null
null
null
algorithms/des/info.cpp
playahammer/crypto
27db00a5e1c58bd78dae34164fad4c719ff7f2cf
[ "MIT" ]
1
2019-04-26T02:23:44.000Z
2019-04-26T02:23:44.000Z
#include "log.h" Info::Info() { } QString Info::Info
5.7
18
0.596491
a262f7b192a34e3efee1f74fc4223861f275b0fd
4,487
cpp
C++
src/server/protocol/ServerProtocol.cpp
zminor/Zony_CPP
311c75a3d6acebb7f4265b63813b19eeaa9d8926
[ "MIT" ]
null
null
null
src/server/protocol/ServerProtocol.cpp
zminor/Zony_CPP
311c75a3d6acebb7f4265b63813b19eeaa9d8926
[ "MIT" ]
null
null
null
src/server/protocol/ServerProtocol.cpp
zminor/Zony_CPP
311c75a3d6acebb7f4265b63813b19eeaa9d8926
[ "MIT" ]
null
null
null
#include "ServerProtocol.h" #include "../../utils/Utils.h" namespace HttpServer { ServerProtocol::ServerProtocol( Socket::Adapter &sock, const ServerSettings &settings, ServerControls &controls ) noexcept : sock(sock), settings(settings), controls(controls) { } ServerProtocol::ServerPro...
23.615789
86
0.640517
a264baaa6da8b663d483dfc76c2506d201409a6f
2,434
hpp
C++
include/domain/structure/field/svector_center.hpp
hyperpower/Nablla
5a9be9f3b064a235572a1a2c9c5c2c19118697c5
[ "MIT" ]
null
null
null
include/domain/structure/field/svector_center.hpp
hyperpower/Nablla
5a9be9f3b064a235572a1a2c9c5c2c19118697c5
[ "MIT" ]
null
null
null
include/domain/structure/field/svector_center.hpp
hyperpower/Nablla
5a9be9f3b064a235572a1a2c9c5c2c19118697c5
[ "MIT" ]
null
null
null
#ifndef _S_VECTOR_CENTER_HPP_ #define _S_VECTOR_CENTER_HPP_ #include "sfield.hpp" #include "utility/tinyformat.hpp" #include "algebra/array/multi_array.hpp" #include <limits> namespace carpio{ template<St DIM, class FIELD> class SVectorCenter_{ public: typedef SIndex_<DIM> Index; typedef SGrid_<DIM> GridB...
21.927928
68
0.554232
a26caffc313c3585b461573217a412f2b87ff712
3,139
cpp
C++
computer_vision/video_audio/video_decode_ffmpeg/rtsp_ffmpeg_test/src/test.cpp
magic428/subjects_notes
6930adbb3f445c11ca9d024abb12a53d6aca19e7
[ "MIT" ]
2
2020-03-18T17:13:00.000Z
2020-03-25T02:34:03.000Z
computer_vision/video_audio/video_decode_ffmpeg/rtsp_ffmpeg_test/src/test.cpp
magic428/subjects_notes
6930adbb3f445c11ca9d024abb12a53d6aca19e7
[ "MIT" ]
null
null
null
computer_vision/video_audio/video_decode_ffmpeg/rtsp_ffmpeg_test/src/test.cpp
magic428/subjects_notes
6930adbb3f445c11ca9d024abb12a53d6aca19e7
[ "MIT" ]
null
null
null
/******************************************************************************* * Video encoding example *******************************************************************************/ int main(int argc, char** argv) { AVCodec *codec = NULL; AVCodecContext *codecCtx= NULL; AVFormatContext *pFor...
30.182692
82
0.566104
a2700571f7e9bf2d6a9e6a83e91970a8e058ad46
1,442
cpp
C++
src/code-examples/chapter-10/functors-optional/main.cpp
nhatvu148/helpers
1a6875017cf39790dfe40ecec9dcee4410b1d89e
[ "MIT" ]
null
null
null
src/code-examples/chapter-10/functors-optional/main.cpp
nhatvu148/helpers
1a6875017cf39790dfe40ecec9dcee4410b1d89e
[ "MIT" ]
null
null
null
src/code-examples/chapter-10/functors-optional/main.cpp
nhatvu148/helpers
1a6875017cf39790dfe40ecec9dcee4410b1d89e
[ "MIT" ]
null
null
null
#include <optional> #include <string> #include <iostream> #include <vector> #include <algorithm> #include <range/v3/view/transform.hpp> #include <range/v3/view/filter.hpp> // We can define a range facade that allows using std::optional // as if it was a proper range (as in range-v3 library). // If the optional is emp...
22.888889
64
0.653259
a27073b60d9cad11e32d5c469bca677e37901975
3,951
cpp
C++
src_test/test_utils/TestCase.cpp
alinous-core/codable-cash
32a86a152a146c592bcfd8cc712f4e8cb38ee1a0
[ "MIT" ]
6
2019-01-06T05:02:39.000Z
2020-10-01T11:45:32.000Z
src_test/test_utils/TestCase.cpp
Codablecash/codablecash
8816b69db69ff2f5da6cdb6af09b8fb21d3df1d9
[ "MIT" ]
209
2018-05-18T03:07:02.000Z
2022-03-26T11:42:41.000Z
src_test/test_utils/TestCase.cpp
Codablecash/codablecash
8816b69db69ff2f5da6cdb6af09b8fb21d3df1d9
[ "MIT" ]
3
2019-07-06T09:16:36.000Z
2020-10-15T08:23:28.000Z
/* * TestCase.cpp * * Created on: 2018/05/06 * Author: iizuka */ #include "test_utils/TestCase.h" #include "test_utils/TestGroup.h" #include "test_utils/TestGroupActions.h" #include "test_utils/Check.h" #include "test_utils/TestEnv.h" #include "test_utils/TestParams.h" #include "base/UnicodeString.h" #incl...
21.95
146
0.647684
a2746799b5f0e0552105b05d98da248b16a6d79b
6,463
cpp
C++
lib/dirac_domain_wall.cpp
Marcogarofalo/quda
7dd7ba316d5f872d1a332bdf55a2204a1a4a7dda
[ "MIT" ]
null
null
null
lib/dirac_domain_wall.cpp
Marcogarofalo/quda
7dd7ba316d5f872d1a332bdf55a2204a1a4a7dda
[ "MIT" ]
null
null
null
lib/dirac_domain_wall.cpp
Marcogarofalo/quda
7dd7ba316d5f872d1a332bdf55a2204a1a4a7dda
[ "MIT" ]
null
null
null
#include <iostream> #include <dirac_quda.h> #include <dslash_quda.h> #include <blas_quda.h> namespace quda { DiracDomainWall::DiracDomainWall(const DiracParam &param) : DiracWilson(param, 5), m5(param.m5), kappa5(0.5 / (5.0 + m5)), Ls(param.Ls) { } DiracDomainWall::DiracDomainWall(con...
28.852679
111
0.63763
a275d83966ec6be72dd542828a1ce98022ac2fe0
7,914
cpp
C++
Source/CoverSystem/Private/CoverSystem/CoverSubsystem.cpp
DavidRadobenko/CoverSystem
6c5826a53da9817743b82b4904aa006f697e9afb
[ "MIT" ]
null
null
null
Source/CoverSystem/Private/CoverSystem/CoverSubsystem.cpp
DavidRadobenko/CoverSystem
6c5826a53da9817743b82b4904aa006f697e9afb
[ "MIT" ]
null
null
null
Source/CoverSystem/Private/CoverSystem/CoverSubsystem.cpp
DavidRadobenko/CoverSystem
6c5826a53da9817743b82b4904aa006f697e9afb
[ "MIT" ]
null
null
null
// Copyright (c) 2018 David Nadaski. All Rights Reserved. #include "CoverSystem/CoverSubsystem.h" #include "EngineUtils.h" #include "Tasks/NavmeshCoverPointGeneratorTask.h" #if DEBUG_RENDERING #include "DrawDebugHelpers.h" #endif // PROFILER INTEGRATION // DEFINE_STAT(STAT_GenerateCover); DEFINE_STAT(STAT_GenerateC...
28.989011
161
0.776219