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
20b9d8e3091fee27330b126e52011b5b9a2901d2
16,248
cpp
C++
packages/monte_carlo/estimator/native/src/MonteCarlo_EstimatorHDF5FileHandler.cpp
lkersting/SCR-2123
06ae3d92998664a520dc6a271809a5aeffe18f72
[ "BSD-3-Clause" ]
null
null
null
packages/monte_carlo/estimator/native/src/MonteCarlo_EstimatorHDF5FileHandler.cpp
lkersting/SCR-2123
06ae3d92998664a520dc6a271809a5aeffe18f72
[ "BSD-3-Clause" ]
null
null
null
packages/monte_carlo/estimator/native/src/MonteCarlo_EstimatorHDF5FileHandler.cpp
lkersting/SCR-2123
06ae3d92998664a520dc6a271809a5aeffe18f72
[ "BSD-3-Clause" ]
null
null
null
//---------------------------------------------------------------------------// //! //! \file MonteCarlo_EstimatorHDF5FileHandler.hpp //! \author Alex Robinson //! \brief Estimator hdf5 file handler class definition //! //---------------------------------------------------------------------------// // Std Lib Inclu...
30.948571
79
0.71615
lkersting
20c0826702128042dc8dba2e627adbe1a1ed9f9c
21,115
cc
C++
zetasql/compliance/functions_testlib_string_1.cc
borjavb/zetasql
4fae9217f4e3ab0053926d4aa5799439849bc3f6
[ "Apache-2.0" ]
null
null
null
zetasql/compliance/functions_testlib_string_1.cc
borjavb/zetasql
4fae9217f4e3ab0053926d4aa5799439849bc3f6
[ "Apache-2.0" ]
null
null
null
zetasql/compliance/functions_testlib_string_1.cc
borjavb/zetasql
4fae9217f4e3ab0053926d4aa5799439849bc3f6
[ "Apache-2.0" ]
1
2020-12-31T12:24:15.000Z
2020-12-31T12:24:15.000Z
// // Copyright 2019 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 ...
41.079767
88
0.580156
borjavb
20c0a365d7a3e6a4daf5658a6ec61d76faca7cec
3,141
cpp
C++
Chapter08/Chapter08-2/mainwindow.cpp
DominionSoftware/Hands-On-Mobile-and-Embedded-Development-with-Qt-5
0c85f62d52d570ca1983c2720bb099f2abadb0d1
[ "MIT" ]
28
2019-05-13T02:02:47.000Z
2022-03-27T22:53:50.000Z
Chapter08/Chapter08-2/mainwindow.cpp
DominionSoftware/Hands-On-Mobile-and-Embedded-Development-with-Qt-5
0c85f62d52d570ca1983c2720bb099f2abadb0d1
[ "MIT" ]
null
null
null
Chapter08/Chapter08-2/mainwindow.cpp
DominionSoftware/Hands-On-Mobile-and-Embedded-Development-with-Qt-5
0c85f62d52d570ca1983c2720bb099f2abadb0d1
[ "MIT" ]
19
2019-01-26T10:00:44.000Z
2021-12-26T04:18:37.000Z
#include "mainwindow.h" #include "ui_mainwindow.h" #include <QGeoPositionInfoSource> #include <QDebug> MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), ui(new Ui::MainWindow) { ui->setupUi(this); QGeoPositionInfoSource *geoSource = QGeoPositionInfoSource::createDefaultSource(this); i...
34.141304
135
0.688634
DominionSoftware
20c4b5bedfb46a3992c876887feb15d693884daf
38,267
cpp
C++
src/RemindersDialog.cpp
a1exkos/OutCALL
d84e929d81edf9cad89ff33f4ad3053687bfe4d2
[ "BSD-3-Clause" ]
2
2021-11-24T18:47:31.000Z
2021-12-10T14:50:06.000Z
src/RemindersDialog.cpp
a1exkos/outcall2-master
d84e929d81edf9cad89ff33f4ad3053687bfe4d2
[ "BSD-3-Clause" ]
null
null
null
src/RemindersDialog.cpp
a1exkos/outcall2-master
d84e929d81edf9cad89ff33f4ad3053687bfe4d2
[ "BSD-3-Clause" ]
1
2021-12-09T18:34:01.000Z
2021-12-09T18:34:01.000Z
/* * Класс служит для просмотра и взаимодейстия с напоминаниями. */ #include "RemindersDialog.h" #include "ui_RemindersDialog.h" #include "PopupReminder.h" #include "PopupNotification.h" #include "Global.h" #include "QSqlQueryModelReminders.h" #include "QCustomWidget.h" #include <QDebug> #include <QThread> #includ...
31.809643
252
0.626127
a1exkos
20c77792525804dc9861b5d160a3ba2f2e933aad
14,495
cpp
C++
plugin/bullet/src/minko/component/bullet/Collider.cpp
aerys/minko
edc3806a4e01570c5cb21f3402223ca695d08d22
[ "BSD-3-Clause" ]
478
2015-01-04T16:59:53.000Z
2022-03-07T20:28:07.000Z
plugin/bullet/src/minko/component/bullet/Collider.cpp
aerys/minko
edc3806a4e01570c5cb21f3402223ca695d08d22
[ "BSD-3-Clause" ]
83
2015-01-15T21:45:06.000Z
2021-11-08T11:01:48.000Z
plugin/bullet/src/minko/component/bullet/Collider.cpp
aerys/minko
edc3806a4e01570c5cb21f3402223ca695d08d22
[ "BSD-3-Clause" ]
175
2015-01-04T03:30:39.000Z
2020-01-27T17:08:14.000Z
/* Copyright (c) 2014 Aerys 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, publish, distribute, sublicens...
31.10515
138
0.69831
aerys
20cf32562eeecc13a8d1119c0a73783689932f30
897
hpp
C++
Sort/Bubblesort.hpp
A200K/Sort
fdeff6fd237dd1fe0e9259606ff2f7e23d7a075d
[ "MIT" ]
null
null
null
Sort/Bubblesort.hpp
A200K/Sort
fdeff6fd237dd1fe0e9259606ff2f7e23d7a075d
[ "MIT" ]
null
null
null
Sort/Bubblesort.hpp
A200K/Sort
fdeff6fd237dd1fe0e9259606ff2f7e23d7a075d
[ "MIT" ]
1
2021-08-09T03:46:17.000Z
2021-08-09T03:46:17.000Z
#ifndef BUBBLESORT_H #define BUBBLESORT_H #include "Sort.hpp" /* Bubblesort Best-Case Perf: O( n² ) ( n for optimized version ) Average Perf: O( n² ) Worst-Case Perf: O( n² ) Worst-Case Space: O( n ) */ template<typename T> class Bubblesort : public SortBase<T> { public: Bubblesort( ) {} virtual wchar_t *Get...
16.309091
66
0.54738
A200K
20d55a131d8af3ca6fb8f8d68a3cbeb1cdd44703
1,770
cpp
C++
compiler/circle2circle/src/Model.cpp
toomuchsalt/ONE-1
92898a1e9e738b9fc70933e64d1000df73c6b31b
[ "Apache-2.0" ]
1
2020-05-22T13:53:40.000Z
2020-05-22T13:53:40.000Z
compiler/circle2circle/src/Model.cpp
toomuchsalt/ONE-1
92898a1e9e738b9fc70933e64d1000df73c6b31b
[ "Apache-2.0" ]
null
null
null
compiler/circle2circle/src/Model.cpp
toomuchsalt/ONE-1
92898a1e9e738b9fc70933e64d1000df73c6b31b
[ "Apache-2.0" ]
1
2021-07-22T11:02:43.000Z
2021-07-22T11:02:43.000Z
/* * 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...
22.405063
75
0.684181
toomuchsalt
20d7019578cace5a3b218b09ebd07d87a37fdf79
4,706
hpp
C++
ql/instruments/compositeinstrument.hpp
markxio/Quantuccia
ebe71a1b9c2a9ee7fc4ea918a9602f100316869d
[ "BSD-3-Clause" ]
29
2017-03-20T14:17:39.000Z
2021-12-22T08:00:52.000Z
ql/instruments/compositeinstrument.hpp
markxio/Quantuccia
ebe71a1b9c2a9ee7fc4ea918a9602f100316869d
[ "BSD-3-Clause" ]
10
2017-04-02T14:34:07.000Z
2021-01-13T05:31:12.000Z
ql/instruments/compositeinstrument.hpp
markxio/Quantuccia
ebe71a1b9c2a9ee7fc4ea918a9602f100316869d
[ "BSD-3-Clause" ]
22
2017-03-19T05:56:19.000Z
2022-03-16T13:30:20.000Z
/* -*- mode: c++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* Copyright (C) 2006 StatPro Italia srl This file is part of QuantLib, a free-software/open-source library for financial quantitative analysts and developers - http://quantlib.org/ QuantLib is free software: you can redistribute it ...
35.383459
79
0.675733
markxio
20d903c9579e738676a1fdb2d947c11586544ad4
280
hpp
C++
RubetekIOS-CPP.framework/Versions/A/Headers/libnet/msw/zzz/position/construct_decl.hpp
yklishevich/RubetekIOS-CPP-releases
7dfbbb45b8de7dbb6fa995ff5dcbca4ec06c2bdb
[ "MIT" ]
null
null
null
RubetekIOS-CPP.framework/Versions/A/Headers/libnet/msw/zzz/position/construct_decl.hpp
yklishevich/RubetekIOS-CPP-releases
7dfbbb45b8de7dbb6fa995ff5dcbca4ec06c2bdb
[ "MIT" ]
null
null
null
RubetekIOS-CPP.framework/Versions/A/Headers/libnet/msw/zzz/position/construct_decl.hpp
yklishevich/RubetekIOS-CPP-releases
7dfbbb45b8de7dbb6fa995ff5dcbca4ec06c2bdb
[ "MIT" ]
null
null
null
#pragma once #include <msw/on_debug.hpp> #include <msw/zzz/position/fwd.hpp> namespace msw { namespace zzz { template <typename Pointer MSW_ON_DEBUG(, typename Validator)> position<typename Pointer::value_type> construct_position(Pointer MSW_ON_DEBUG(, Validator&&)); }}
21.538462
162
0.760714
yklishevich
20dabef488b5fe2e92c48f3a1ea3c48dafaaa30f
2,711
hpp
C++
persist/tests/include/persist/test/mocks/log_manager.hpp
ketgo/persist
623a5c32a9a0fd3e43987421aa1f91ab8284d356
[ "MIT" ]
null
null
null
persist/tests/include/persist/test/mocks/log_manager.hpp
ketgo/persist
623a5c32a9a0fd3e43987421aa1f91ab8284d356
[ "MIT" ]
11
2020-09-30T07:33:10.000Z
2021-05-01T05:59:13.000Z
persist/tests/include/persist/test/mocks/log_manager.hpp
ketgo/persist
623a5c32a9a0fd3e43987421aa1f91ab8284d356
[ "MIT" ]
null
null
null
/** * log_manager.hpp - Persist * * Copyright 2021 Ketan Goyal * * 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,...
29.791209
80
0.71339
ketgo
20db4e544ba86a2357d0732e1d253be224c9c83d
8,934
hpp
C++
compilation-benchmarks/fmt_compile_args_shuffle.hpp
robhz786/strf-benchmarks
e783700317ef1fea0d9e7217c8c42884c3c0371e
[ "BSL-1.0" ]
1
2021-07-19T11:07:24.000Z
2021-07-19T11:07:24.000Z
compilation-benchmarks/fmt_compile_args_shuffle.hpp
robhz786/strf-benchmarks
e783700317ef1fea0d9e7217c8c42884c3c0371e
[ "BSL-1.0" ]
null
null
null
compilation-benchmarks/fmt_compile_args_shuffle.hpp
robhz786/strf-benchmarks
e783700317ef1fea0d9e7217c8c42884c3c0371e
[ "BSL-1.0" ]
null
null
null
#ifndef FMT_COMPILE_ARGS_SHUFFLE_HPP #define FMT_COMPILE_ARGS_SHUFFLE_HPP // Distributed under the Boost Software License, Version 1.0. // ( See accompanying file LICENSE or copy at // http://www.boost.org/LICENSE_1_0.txt ) #ifndef SRC_ID #define SRC_ID 0 #endif #if (SRC_ID % 19) == 0 # define I0 0 # define I1 ...
17.975855
94
0.615626
robhz786
22191f233e8cc430fb2698a3080493f1e6262ae4
825
hpp
C++
securenn-public/util/utils.hpp
Rosefield/IDASH2019Submission
3db74c1d79f8ed95153d2a3f2293afa1ca277c86
[ "FSFULLR", "FSFUL" ]
null
null
null
securenn-public/util/utils.hpp
Rosefield/IDASH2019Submission
3db74c1d79f8ed95153d2a3f2293afa1ca277c86
[ "FSFULLR", "FSFUL" ]
null
null
null
securenn-public/util/utils.hpp
Rosefield/IDASH2019Submission
3db74c1d79f8ed95153d2a3f2293afa1ca277c86
[ "FSFULLR", "FSFUL" ]
null
null
null
#ifndef HEADER_UTILS_H_ #define HEADER_UTILS_H_ #include <math.h> #include <string> #include <iostream> #include <vector> using namespace std; #define LOG_DEBUG_UTILS 0 double calculateSD(vector<double> data); int printingFunction(); /*******************************************************...
17.1875
77
0.551515
Rosefield
221da64a340ad36ff499b885b93f86865a1eb815
2,427
cpp
C++
C++/LeetCode/0707.cpp
Nimesh-Srivastava/DSA
db33aa138f0df8ab6015d2e8ec3ddde1c6838848
[ "MIT" ]
4
2021-08-28T19:16:50.000Z
2022-03-04T19:46:31.000Z
C++/LeetCode/0707.cpp
Nimesh-Srivastava/DSA
db33aa138f0df8ab6015d2e8ec3ddde1c6838848
[ "MIT" ]
8
2021-10-29T19:10:51.000Z
2021-11-03T12:38:00.000Z
C++/LeetCode/0707.cpp
Nimesh-Srivastava/DSA
db33aa138f0df8ab6015d2e8ec3ddde1c6838848
[ "MIT" ]
4
2021-09-06T05:53:07.000Z
2021-12-24T10:31:40.000Z
class MyLinkedList { int data; MyLinkedList* head; MyLinkedList* next; public: MyLinkedList() { head = NULL; next = NULL; } int get(int index) { MyLinkedList* curr = head; int countNodes = 0; while(curr){ if(countNo...
20.394958
49
0.391842
Nimesh-Srivastava
221ddb34aa17ae49fa55de5b008cc99f21f122c4
1,448
cpp
C++
Teste e exercicios/Evento/main.cpp
Lu1zReis/exercicios-cpp
81fabe4080d75ad88e25f4d3cda9fd5df31cbfa0
[ "MIT" ]
null
null
null
Teste e exercicios/Evento/main.cpp
Lu1zReis/exercicios-cpp
81fabe4080d75ad88e25f4d3cda9fd5df31cbfa0
[ "MIT" ]
null
null
null
Teste e exercicios/Evento/main.cpp
Lu1zReis/exercicios-cpp
81fabe4080d75ad88e25f4d3cda9fd5df31cbfa0
[ "MIT" ]
null
null
null
#include <iostream> #include <stdio.h> #include <stdlib.h> using namespace std; int main() { int contaDia, contaHora, contaMinu, contaSeg; int diaInicial, diaFinal, horaIni, horaFin, minuIni, minuFin, segIni, segFin; cout << "Dia "; cin >> diaInicial; scanf("%d : %d : %d", &horaIni, &minuIni, &seg...
22.984127
81
0.520718
Lu1zReis
222072023de13b41f023ed9144064c5a15113186
323
hpp
C++
include/InputPort.hpp
AhmedHumais/flight_controller_temp
2836b4f99b76e856ef0ba0e7ee673669c1c3db7b
[ "BSD-3-Clause" ]
null
null
null
include/InputPort.hpp
AhmedHumais/flight_controller_temp
2836b4f99b76e856ef0ba0e7ee673669c1c3db7b
[ "BSD-3-Clause" ]
null
null
null
include/InputPort.hpp
AhmedHumais/flight_controller_temp
2836b4f99b76e856ef0ba0e7ee673669c1c3db7b
[ "BSD-3-Clause" ]
null
null
null
#pragma once #include "common_srv/Port.hpp" class InputPort : public Port{ private: DataMessage* _data; int _id; Block* _block; public: void receiveMsgData(DataMessage* t_msg); void receiveMsgData(DataMessage* t_msg, int channel_id); InputPort(int t_id, Block* t_block); ~InputPort();...
19
60
0.687307
AhmedHumais
2222a7916d89493ce7c3eae3b23f08dc7873586f
305
cpp
C++
the one with area of circle(function).cpp
chinmoyee-A/C-Language
a5d985e84c953c8dcc4074dfd3e96d1539cb1d3e
[ "MIT" ]
null
null
null
the one with area of circle(function).cpp
chinmoyee-A/C-Language
a5d985e84c953c8dcc4074dfd3e96d1539cb1d3e
[ "MIT" ]
null
null
null
the one with area of circle(function).cpp
chinmoyee-A/C-Language
a5d985e84c953c8dcc4074dfd3e96d1539cb1d3e
[ "MIT" ]
null
null
null
//area of circle using function #include<stdio.h> #include<math.h> float aoc(float radius) { return 3.14*radius*radius; } int main() { float radius,area; printf("\n Enter the radius:"); scanf("%f",&radius); area=aoc(radius); printf("\n area of the circle is: %f",area); return 0; }
17.941176
46
0.636066
chinmoyee-A
2223710d37301a053d8ac094b3b2e10e1c64df71
3,054
cpp
C++
module_05/ex01/Form.cpp
paulahemsi/piscine_cpp
f98feefd8e70308f77442f9b4cb64758676349a7
[ "MIT" ]
4
2021-12-14T18:02:53.000Z
2022-03-24T01:12:38.000Z
module_05/ex01/Form.cpp
paulahemsi/piscine_cpp
f98feefd8e70308f77442f9b4cb64758676349a7
[ "MIT" ]
null
null
null
module_05/ex01/Form.cpp
paulahemsi/piscine_cpp
f98feefd8e70308f77442f9b4cb64758676349a7
[ "MIT" ]
3
2021-11-01T00:34:50.000Z
2022-01-29T19:57:30.000Z
/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* Form.cpp :+: :+: :+: ...
29.365385
158
0.502292
paulahemsi
222a9929c37641ff8146097682c686dadf213a5c
1,227
hpp
C++
plugins/opengl/include/sge/opengl/visual/rgb_triple.hpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
2
2016-01-27T13:18:14.000Z
2018-05-11T01:11:32.000Z
plugins/opengl/include/sge/opengl/visual/rgb_triple.hpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
null
null
null
plugins/opengl/include/sge/opengl/visual/rgb_triple.hpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
3
2018-05-11T01:11:34.000Z
2021-04-24T19:47:45.000Z
// Copyright Carl Philipp Reh 2006 - 2019. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) #ifndef SGE_OPENGL_VISUAL_RGB_TRIPLE_HPP_INCLUDED #define SGE_OPENGL_VISUAL_RGB_TRIPLE_HPP_INCLUDED...
26.106383
74
0.741646
cpreh
222ccb6e4fbf38fa60ea9c020d3ed284cf63eea2
4,255
hh
C++
neb/inc/com/centreon/engine/macros/grab.hh
joe4568/centreon-broker
daf454371520989573c810be1f6dfca40979a75d
[ "Apache-2.0" ]
null
null
null
neb/inc/com/centreon/engine/macros/grab.hh
joe4568/centreon-broker
daf454371520989573c810be1f6dfca40979a75d
[ "Apache-2.0" ]
null
null
null
neb/inc/com/centreon/engine/macros/grab.hh
joe4568/centreon-broker
daf454371520989573c810be1f6dfca40979a75d
[ "Apache-2.0" ]
null
null
null
/* ** Copyright 1999-2010 Ethan Galstad ** Copyright 2011-2013 Merethis ** ** This file is part of Centreon Engine. ** ** Centreon Engine is free software: you can redistribute it and/or ** modify it under the terms of the GNU General Public License version 2 ** as published by the Free Software Foundation. ** ** Centr...
25.327381
72
0.614806
joe4568
222d5012139ae4566370a3d69bf51b7fc3ffcf15
3,234
tpp
C++
libs/visitor/Visitable.tpp
cesiumsolutions/dynamic_generic_visitor
da8fe928bf77270e1a64beae0051bfadba7ea256
[ "MIT" ]
null
null
null
libs/visitor/Visitable.tpp
cesiumsolutions/dynamic_generic_visitor
da8fe928bf77270e1a64beae0051bfadba7ea256
[ "MIT" ]
null
null
null
libs/visitor/Visitable.tpp
cesiumsolutions/dynamic_generic_visitor
da8fe928bf77270e1a64beae0051bfadba7ea256
[ "MIT" ]
null
null
null
#ifndef Visitable_tpp #define Visitable_tpp // ---------------------------------------------------------------------------- // Visitable // ---------------------------------------------------------------------------- template<typename VisiteeType, typename VisitorType, typename ReturnType, ...
36.75
81
0.656772
cesiumsolutions
223207bdf6e9c464046cb7444d4c04c14cdf6375
7,370
cpp
C++
src/unittest/conversion/test_conversion_bearing.cpp
JonasToth/depth-conversions
5c8338276565d846c07673e83f94f6841006872b
[ "BSD-3-Clause" ]
2
2021-09-30T07:09:49.000Z
2022-03-14T09:14:35.000Z
src/unittest/conversion/test_conversion_bearing.cpp
JonasToth/depth-conversions
5c8338276565d846c07673e83f94f6841006872b
[ "BSD-3-Clause" ]
null
null
null
src/unittest/conversion/test_conversion_bearing.cpp
JonasToth/depth-conversions
5c8338276565d846c07673e83f94f6841006872b
[ "BSD-3-Clause" ]
null
null
null
#define DOCTEST_CONFIG_IMPLEMENT_WITH_MAIN #include "intrinsic.h" #include <doctest/doctest.h> #include <sens_loc/conversion/depth_to_bearing.h> #include <sens_loc/conversion/depth_to_laserscan.h> #include <sens_loc/io/image.h> #include <sens_loc/util/correctness_util.h> using namespace sens_loc; using namespace sen...
37.411168
80
0.622659
JonasToth
223343737aa11b7dbc2651a92bd9588e6b90cd8c
2,331
hpp
C++
contracts/token.proton/include/token.proton/token.proton.hpp
phoenixwade/proton.contracts
0df6396b4bbbc401122366b3d6fd519ac0562f60
[ "MIT" ]
5
2020-08-24T22:25:34.000Z
2022-03-21T09:18:11.000Z
contracts/token.proton/include/token.proton/token.proton.hpp
phoenixwade/proton.contracts
0df6396b4bbbc401122366b3d6fd519ac0562f60
[ "MIT" ]
null
null
null
contracts/token.proton/include/token.proton/token.proton.hpp
phoenixwade/proton.contracts
0df6396b4bbbc401122366b3d6fd519ac0562f60
[ "MIT" ]
6
2020-04-08T08:59:07.000Z
2022-03-31T13:43:43.000Z
/*##################################*\ # # # Created by CryptoLions.io # # \*##################################*/ #pragma once #include <eosio/eosio.hpp> #include <eosio/asset.hpp> #include <eosio/singleton.hpp> using namespace eosio; using namespace std; namespace eosiosystem { class system_contract; } namespa...
23.545455
116
0.644359
phoenixwade
22363ade6423cb884c11664fe6837c3271d02fd1
1,125
cpp
C++
data/dailyCodingProblem282.cpp
vidit1999/daily_coding_problem
b90319cb4ddce11149f54010ba36c4bd6fa0a787
[ "MIT" ]
2
2020-09-04T20:56:23.000Z
2021-06-11T07:42:26.000Z
data/dailyCodingProblem282.cpp
vidit1999/daily_coding_problem
b90319cb4ddce11149f54010ba36c4bd6fa0a787
[ "MIT" ]
null
null
null
data/dailyCodingProblem282.cpp
vidit1999/daily_coding_problem
b90319cb4ddce11149f54010ba36c4bd6fa0a787
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; /* Given an array of integers, determine whether it contains a Pythagorean triplet. Recall that a Pythogorean triplet (a, b, c) is defined by the equation a2+ b2= c2. */ // O(n^2) time | O(n) space bool containPythagirian(int arr[], int n){ sort(arr, arr+n, greater<int>(...
21.634615
82
0.588444
vidit1999
223c56ae9cb5048ec2b73452c1c8cf904392b178
1,079
cc
C++
src/scheduler/gradientdescent.cc
ncic-sugon/blitz
ea9a06dc78ef15d772e36d5d47ffac8d3f46034d
[ "BSD-2-Clause" ]
149
2020-07-14T08:59:59.000Z
2021-12-16T03:06:41.000Z
src/scheduler/gradientdescent.cc
ten1123love/blitz
ea9a06dc78ef15d772e36d5d47ffac8d3f46034d
[ "BSD-2-Clause" ]
null
null
null
src/scheduler/gradientdescent.cc
ten1123love/blitz
ea9a06dc78ef15d772e36d5d47ffac8d3f46034d
[ "BSD-2-Clause" ]
130
2020-07-14T09:00:21.000Z
2021-12-16T03:06:42.000Z
#include "scheduler/gradientdescent.h" #include "blitz.h" namespace blitz { template<template <typename> class TensorType, typename DType> void Gradientdescent<TensorType, DType>::OptimizeImpl( const size_t epoch, const size_t batch_size, const DType learning_rate, LayerParamIterator layer_param_it) { #ifdef BLI...
31.735294
66
0.746061
ncic-sugon
2248749a03d3b75d4a70e7537818433e71f76921
348
hpp
C++
src/builtin/BuiltInFunctionExpressionBuilder.hpp
jprendes/arrow
b966bf298525a8e153d7002fcca56135e6b13bd6
[ "MIT" ]
19
2019-12-10T07:35:08.000Z
2021-09-27T11:49:37.000Z
src/builtin/BuiltInFunctionExpressionBuilder.hpp
jprendes/arrow
b966bf298525a8e153d7002fcca56135e6b13bd6
[ "MIT" ]
22
2020-02-09T15:39:53.000Z
2020-03-02T19:04:40.000Z
src/builtin/BuiltInFunctionExpressionBuilder.hpp
jprendes/arrow
b966bf298525a8e153d7002fcca56135e6b13bd6
[ "MIT" ]
2
2020-02-17T21:20:43.000Z
2020-03-02T00:42:08.000Z
/// (c) Ben Jones 2019 - present #pragma once #include "expressions/Expression.hpp" #include <string> #include <memory> namespace arrow { class BuiltInFunctionExpressionBuilder { public: virtual std::string getName() const = 0; virtual std::shared_ptr<Expression> build(long const lin...
20.470588
82
0.66954
jprendes
2249c3d8f7419754409d53e719c7f922d81a6015
2,319
cpp
C++
src/engine_core/wme_base/BResourceFile.cpp
segafan/wme1_jankavan_tlc_edition-repo
72163931f348d5a2132577930362d297cc375a26
[ "MIT" ]
3
2021-03-28T00:11:48.000Z
2022-01-12T13:10:52.000Z
src/engine_core/wme_base/BResourceFile.cpp
segafan/wme1_jankavan_tlc_edition-repo
72163931f348d5a2132577930362d297cc375a26
[ "MIT" ]
null
null
null
src/engine_core/wme_base/BResourceFile.cpp
segafan/wme1_jankavan_tlc_edition-repo
72163931f348d5a2132577930362d297cc375a26
[ "MIT" ]
null
null
null
// This file is part of Wintermute Engine // For conditions of distribution and use, see copyright notice in license.txt // http://dead-code.org/redir.php?target=wme #include "dcgf.h" #include "BResourceFile.h" ////////////////////////////////////////////////////////////////////////// CBResourceFile::CBRe...
22.960396
79
0.504959
segafan
2252f524739993996b3d5c5451f8c11b28207f28
902
inl
C++
Sources/Engine/Core/Reflection/FieldInfo.inl
jdelezenne/Sonata
fb1b1b64a78874a0ab2809995be4b6f14f9e4d56
[ "MIT" ]
null
null
null
Sources/Engine/Core/Reflection/FieldInfo.inl
jdelezenne/Sonata
fb1b1b64a78874a0ab2809995be4b6f14f9e4d56
[ "MIT" ]
null
null
null
Sources/Engine/Core/Reflection/FieldInfo.inl
jdelezenne/Sonata
fb1b1b64a78874a0ab2809995be4b6f14f9e4d56
[ "MIT" ]
null
null
null
/*============================================================================= FieldInfo.inl Project: Sonata Engine Author: Julien Delezenne =============================================================================*/ SE_INLINE MemberTypes FieldInfo::GetMemberType() const { return MemberTypes_Field; } SE_INLINE ...
21.47619
79
0.604213
jdelezenne
2259de8b52fc386f960d86221ea6b12ed36cb139
16,823
cpp
C++
src/frontends/havannah.cpp
RememberOfLife/mirabel
4ff62d6b9dbb0bde6a9755e9e2b1fca88baed8af
[ "MIT" ]
2
2022-03-29T08:39:24.000Z
2022-03-30T09:22:18.000Z
src/frontends/havannah.cpp
RememberOfLife/mirabel
4ff62d6b9dbb0bde6a9755e9e2b1fca88baed8af
[ "MIT" ]
null
null
null
src/frontends/havannah.cpp
RememberOfLife/mirabel
4ff62d6b9dbb0bde6a9755e9e2b1fca88baed8af
[ "MIT" ]
null
null
null
#include <algorithm> #include <cmath> #include <cstdint> #include <SDL2/SDL.h> #include <SDL2/SDL_opengl.h> #include "nanovg_gl.h" #include "imgui.h" #include "surena/games/havannah.h" #include "surena/game.h" #include "control/client.hpp" #include "control/event_queue.hpp" #include "control/event.hpp" #include "game...
41.435961
152
0.465256
RememberOfLife
2264fc1eab45336fe936d8c924ce9962520f3ad5
39,231
cpp
C++
Lua_Irrlicht_Game/Lua_Irrlicht_Game/Game.cpp
nfginola/Tower_Defense
186c63e3cddccde69bd02d2085cf031e09b6c492
[ "MIT" ]
null
null
null
Lua_Irrlicht_Game/Lua_Irrlicht_Game/Game.cpp
nfginola/Tower_Defense
186c63e3cddccde69bd02d2085cf031e09b6c492
[ "MIT" ]
null
null
null
Lua_Irrlicht_Game/Lua_Irrlicht_Game/Game.cpp
nfginola/Tower_Defense
186c63e3cddccde69bd02d2085cf031e09b6c492
[ "MIT" ]
null
null
null
#include "Game.h" std::wstring s2ws(const std::string& s) { int len; int stringlength = (int)s.length() + 1; len = MultiByteToWideChar(CP_ACP, 0, s.c_str(), stringlength, 0, 0); wchar_t* buf = new wchar_t[len]; MultiByteToWideChar(CP_ACP, 0, s.c_str(), stringlength, buf, len); std::wstring r(...
26.925875
132
0.546405
nfginola
22663302d55913bd4227ed6c9992db246f5c14e7
7,209
cpp
C++
src/devices/gsound/gsound.cpp
RandomAmbersky/zemu
c212c79bf3fd9fb20faa2f6e1861d1195d360303
[ "MIT" ]
7
2016-04-08T04:11:31.000Z
2022-01-26T08:20:38.000Z
src/devices/gsound/gsound.cpp
RandomAmbersky/zemu
c212c79bf3fd9fb20faa2f6e1861d1195d360303
[ "MIT" ]
1
2019-07-10T11:06:52.000Z
2019-07-10T11:06:52.000Z
src/devices/gsound/gsound.cpp
RandomAmbersky/zemu
c212c79bf3fd9fb20faa2f6e1861d1195d360303
[ "MIT" ]
2
2015-09-26T20:32:49.000Z
2020-08-27T20:03:04.000Z
// This is an open source non-commercial project. Dear PVS-Studio, please check it. // PVS-Studio Static Code Analyzer for C, C++, C#, and Java: http://www.viva64.com #include <string> #include <stdexcept> #include "gsound.h" #include "../mmanager/mmanager.h" C_SndRenderer C_GSound::sndRenderer; bool C_GSound::enable...
25.294737
106
0.582605
RandomAmbersky
2267534e34d63891f44b645b369b0d3e6338c8ec
5,375
cpp
C++
application_kit/Pulse/CPUButton.cpp
return/BeOSSampleCode
ca5a319fecf425a69e944f3c928a85011563a932
[ "BSD-3-Clause" ]
5
2018-09-09T21:01:57.000Z
2022-03-27T10:01:27.000Z
application_kit/Pulse/CPUButton.cpp
return/BeOSSampleCode
ca5a319fecf425a69e944f3c928a85011563a932
[ "BSD-3-Clause" ]
null
null
null
application_kit/Pulse/CPUButton.cpp
return/BeOSSampleCode
ca5a319fecf425a69e944f3c928a85011563a932
[ "BSD-3-Clause" ]
5
2018-04-03T01:45:23.000Z
2021-05-14T08:23:01.000Z
//**************************************************************************************** // // File: CPUButton.cpp // // Written by: Daniel Switkin // // Copyright 1999, Be Incorporated // //**************************************************************************************** #include "CPUButton.h" #include "Pul...
26.875
118
0.674047
return
2269d8058ae221ea5b6ecb45445b5d120fc8466d
12,267
hpp
C++
snark-logic/libs-source/marshalling/include/nil/marshalling/types/adapter/sequence_elem_fixed_ser_length_field_prefix.hpp
idealatom/podlodkin-freeton-year-control
6aa96e855fe065c9a75c76da976a87fe2d1668e6
[ "MIT" ]
1
2021-09-14T18:09:38.000Z
2021-09-14T18:09:38.000Z
include/nil/marshalling/types/adapter/sequence_elem_fixed_ser_length_field_prefix.hpp
tonlabs/marshalling
b50ad116f652cc1d9132bc45a27ab4136dee6109
[ "MIT" ]
16
2020-12-16T15:46:53.000Z
2021-12-13T14:49:49.000Z
include/nil/marshalling/types/adapter/sequence_elem_fixed_ser_length_field_prefix.hpp
tonlabs/marshalling
b50ad116f652cc1d9132bc45a27ab4136dee6109
[ "MIT" ]
1
2022-01-12T10:53:21.000Z
2022-01-12T10:53:21.000Z
//---------------------------------------------------------------------------// // Copyright (c) 2017-2021 Mikhail Komarov <nemo@nil.foundation> // Copyright (c) 2020-2021 Nikita Kaskov <nbering@nil.foundation> // // MIT License // // Permission is hereby granted, free of charge, to any person obtaining a copy // of th...
45.265683
119
0.494987
idealatom
226b4a512e525eef70063a4620218c32dbcd0403
2,070
cpp
C++
src/base/base.cpp
salamanderrake/skeleton
1b7a5366be6bd6cfd31a0e3b3bd94fede6bfb547
[ "MIT" ]
2
2019-11-13T05:56:38.000Z
2019-12-20T05:43:18.000Z
src/base/base.cpp
ericwomer/skeleton
1b7a5366be6bd6cfd31a0e3b3bd94fede6bfb547
[ "MIT" ]
null
null
null
src/base/base.cpp
ericwomer/skeleton
1b7a5366be6bd6cfd31a0e3b3bd94fede6bfb547
[ "MIT" ]
1
2019-09-06T08:18:23.000Z
2019-09-06T08:18:23.000Z
#include "base.h" #include "config.h" #include <iostream> #include <string> using std::cerr; using std::cout; using std::exception; using std::string; using std::vector; namespace Base { Application::Application() : app_name(project_name) , version_number({Major, Minor, Patch, Compile}) { log_init("Appl...
26.538462
131
0.637681
salamanderrake
22704c1e14540aefdb497919830b6bc84f15b266
12,624
cpp
C++
ufs/ufsd/src/apfs/apfshash.cpp
hekkihek/paragon_apfs_sdk_ce
d1ea911e20247b349da2701d8db5f80803eb4e4e
[ "BSD-3-Clause-Clear" ]
82
2019-07-01T17:50:01.000Z
2022-03-27T14:27:08.000Z
ufs/ufsd/src/apfs/apfshash.cpp
cheech790/paragon_apfs_sdk_ce
f91e2b65967cbc2b4ded7c78925cc995cb37c8a0
[ "BSD-3-Clause-Clear" ]
2
2019-07-01T22:26:43.000Z
2020-01-09T14:42:45.000Z
ufs/ufsd/src/apfs/apfshash.cpp
cheech790/paragon_apfs_sdk_ce
f91e2b65967cbc2b4ded7c78925cc995cb37c8a0
[ "BSD-3-Clause-Clear" ]
22
2019-07-21T11:29:05.000Z
2022-02-09T17:00:32.000Z
// <copyright file="apfshash.cpp" company="Paragon Software Group"> // // Copyright (c) 2002-2019 Paragon Software Group, All rights reserved. // // The license for this file is defined in a separate document "LICENSE.txt" // located at the root of the project. // // </copyright> ///////////////////////////////...
26.354906
184
0.51212
hekkihek
227646ac9489a9c4a9cf517de63fd4c49d9e964d
3,432
cpp
C++
Grbl_Esp32/src/WebUI/InputBuffer.cpp
ghjklzx/ESP32-E-support
03e081d3f6df613ff1f215ba311bec3fb7baa8ed
[ "MIT" ]
49
2021-12-15T12:57:20.000Z
2022-02-07T12:22:10.000Z
Firmware/Grbl_Esp32-main/Grbl_Esp32/src/WebUI/InputBuffer.cpp
pspadale/Onyx-Stepper-Motherboard
e94e6cc2e40869f6ee395a3f6e52c81307373971
[ "MIT" ]
null
null
null
Firmware/Grbl_Esp32-main/Grbl_Esp32/src/WebUI/InputBuffer.cpp
pspadale/Onyx-Stepper-Motherboard
e94e6cc2e40869f6ee395a3f6e52c81307373971
[ "MIT" ]
10
2021-12-15T12:57:24.000Z
2022-01-17T22:47:33.000Z
/* InputBuffer.cpp - inputbuffer functions class Copyright (c) 2014 Luc Lebosse. All rights reserved. This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the Li...
27.902439
81
0.562354
ghjklzx
22773d4c8c48b40b7975e3734befeeddea72fbfe
2,876
hpp
C++
c++/include/objmgr/impl/tse_loadlock.hpp
OpenHero/gblastn
a0d6c1c288fe916ab85fc637a44cdd6e79ebd2a8
[ "MIT" ]
31
2016-12-09T04:56:59.000Z
2021-12-31T17:19:10.000Z
c++/include/objmgr/impl/tse_loadlock.hpp
OpenHero/gblastn
a0d6c1c288fe916ab85fc637a44cdd6e79ebd2a8
[ "MIT" ]
6
2017-03-10T17:25:13.000Z
2021-09-22T15:49:49.000Z
c++/include/objmgr/impl/tse_loadlock.hpp
OpenHero/gblastn
a0d6c1c288fe916ab85fc637a44cdd6e79ebd2a8
[ "MIT" ]
20
2015-01-04T02:15:17.000Z
2021-12-03T02:31:43.000Z
#ifndef OBJECTS_OBJMGR_IMPL___TSE_LOADLOCK__HPP #define OBJECTS_OBJMGR_IMPL___TSE_LOADLOCK__HPP /* $Id: tse_loadlock.hpp 103491 2007-05-04 17:18:18Z kazimird $ * =========================================================================== * * PUBLIC DOMAIN NOTICE * National Cen...
27.390476
77
0.617177
OpenHero
227b92cac071ce407074f2298d4af170ba53864b
6,344
cc
C++
core/PiiVersionNumber.cc
topiolli/into
f0a47736f5c93dd32e89e7aad34152ae1afc5583
[ "BSD-3-Clause" ]
14
2015-01-19T22:14:18.000Z
2020-04-13T23:27:20.000Z
core/PiiVersionNumber.cc
topiolli/into
f0a47736f5c93dd32e89e7aad34152ae1afc5583
[ "BSD-3-Clause" ]
null
null
null
core/PiiVersionNumber.cc
topiolli/into
f0a47736f5c93dd32e89e7aad34152ae1afc5583
[ "BSD-3-Clause" ]
14
2015-01-16T05:43:15.000Z
2019-01-29T07:57:11.000Z
/* This file is part of Into. * Copyright (C) Intopii 2013. * All rights reserved. * * Licensees holding a commercial Into license may use this file in * accordance with the commercial license agreement. Please see * LICENSE.commercial for commercial licensing terms. * * Alternatively, this file may be used und...
27.111111
94
0.623581
topiolli
2280d9dd7af452d7e0dd043f706041cc4bd7e89a
1,312
cpp
C++
src/sensors/imu.cpp
germanespinosa/BirdFC
45cce791a55f5a4ae88f941038a50ce6935130ba
[ "Apache-2.0" ]
null
null
null
src/sensors/imu.cpp
germanespinosa/BirdFC
45cce791a55f5a4ae88f941038a50ce6935130ba
[ "Apache-2.0" ]
null
null
null
src/sensors/imu.cpp
germanespinosa/BirdFC
45cce791a55f5a4ae88f941038a50ce6935130ba
[ "Apache-2.0" ]
null
null
null
#include"imu.h" namespace bird { Imu::Imu() { sensor_set_.roll.update(); sensor_set_.pitch.update(); sensor_set_.yaw.update(); } bool Imu::update() { Imu::Imu_Data accelerometer = read_accelerometer(); Imu::Imu_Data gyroscope = read_gyroscope(); ...
42.322581
197
0.671494
germanespinosa
2284c5de85fb1567382eb20b7e249d6ef8267cd2
4,668
hpp
C++
include/tone_mapping/ferwerda_tmo.hpp
ecarpita93/HPC_projet_1
a2c00e056c03227711c43cf2ad23d75c6afbe698
[ "Xnet", "X11" ]
null
null
null
include/tone_mapping/ferwerda_tmo.hpp
ecarpita93/HPC_projet_1
a2c00e056c03227711c43cf2ad23d75c6afbe698
[ "Xnet", "X11" ]
null
null
null
include/tone_mapping/ferwerda_tmo.hpp
ecarpita93/HPC_projet_1
a2c00e056c03227711c43cf2ad23d75c6afbe698
[ "Xnet", "X11" ]
null
null
null
/* PICCANTE The hottest HDR imaging library! http://vcg.isti.cnr.it/piccante Copyright (C) 2014 Visual Computing Laboratory - ISTI CNR http://vcg.isti.cnr.it First author: Francesco Banterle This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed ...
22.660194
102
0.511782
ecarpita93
228c50c8f9af5170a098c7d33955aa6405b8a61e
869
cpp
C++
codeforces/659/d.cpp
udayan14/Competitive_Coding
79e23fdeb909b4161a193d88697a4fe5f4fbbdce
[ "MIT" ]
null
null
null
codeforces/659/d.cpp
udayan14/Competitive_Coding
79e23fdeb909b4161a193d88697a4fe5f4fbbdce
[ "MIT" ]
null
null
null
codeforces/659/d.cpp
udayan14/Competitive_Coding
79e23fdeb909b4161a193d88697a4fe5f4fbbdce
[ "MIT" ]
null
null
null
#include <iostream> #include <cassert> #include <cstring> #include <vector> using namespace std; long long int msb(long long int n){ n |= n >> 1; n |= n >> 2; n |= n >> 4; n |= n >> 8; n |= n >> 16; n |= n >> 32; n++; return (n>>1); } int main(){ ios_base::sync_with_stdio(false); ...
17.734694
37
0.416571
udayan14
22925f5af9616b90feb587053c0d4369570f1072
189
cpp
C++
Source/Runtime/Math/Private/Rectangle.cpp
bbagwang/SoftRendererBook
b38f94e14562ea1ad2a1382278509028be9f08d3
[ "MIT" ]
null
null
null
Source/Runtime/Math/Private/Rectangle.cpp
bbagwang/SoftRendererBook
b38f94e14562ea1ad2a1382278509028be9f08d3
[ "MIT" ]
null
null
null
Source/Runtime/Math/Private/Rectangle.cpp
bbagwang/SoftRendererBook
b38f94e14562ea1ad2a1382278509028be9f08d3
[ "MIT" ]
1
2022-02-25T07:17:38.000Z
2022-02-25T07:17:38.000Z
#include "Precompiled.h" #include "Rectangle.h" Rectangle::Rectangle(const Vector2* InVertices, size_t InCount) { for (int vi = 0; vi < InCount; ++vi) { *this += InVertices[vi]; } }
15.75
63
0.661376
bbagwang
229ca15d98e7599df3fae1311935e31789bd76d5
516
cpp
C++
Code full house/buoi22 nguyen dinh trung duc/New folder/bai 4.cpp
ducyb2001/CbyTrungDuc
0e93394dce600876a098b90ae969575bac3788e1
[ "Apache-2.0" ]
null
null
null
Code full house/buoi22 nguyen dinh trung duc/New folder/bai 4.cpp
ducyb2001/CbyTrungDuc
0e93394dce600876a098b90ae969575bac3788e1
[ "Apache-2.0" ]
null
null
null
Code full house/buoi22 nguyen dinh trung duc/New folder/bai 4.cpp
ducyb2001/CbyTrungDuc
0e93394dce600876a098b90ae969575bac3788e1
[ "Apache-2.0" ]
null
null
null
#include<stdio.h> #include<string.h> int n,a[100],ok; // cau hinh ban dau, n so 0 void init(){ for(int i=1;i<=n;i++){ a[i]=0; } } // ham sinh xau ke tiep void next(){ int i=n; while(i>=1 && a[i]==1){ a[i]=0; i--; } if(i==0){ ok=0; // cau hinh cuoi cung } else{ a[i]=1; } } void in(){ for(int i=1;...
10.530612
29
0.46124
ducyb2001
229e12fe80b163c1147b0d280fdce7a5e7cc409f
1,523
hpp
C++
solver/include/statetransitionmodel/StateTransitionModel.hpp
laurimi/multiagent-prediction-reward
b89fa52f78bb49447fc0049a7314a87b2b3e903e
[ "MIT" ]
9
2020-10-24T06:14:08.000Z
2021-07-13T13:08:30.000Z
solver/include/statetransitionmodel/StateTransitionModel.hpp
laurimi/multiagent-prediction-reward
b89fa52f78bb49447fc0049a7314a87b2b3e903e
[ "MIT" ]
null
null
null
solver/include/statetransitionmodel/StateTransitionModel.hpp
laurimi/multiagent-prediction-reward
b89fa52f78bb49447fc0049a7314a87b2b3e903e
[ "MIT" ]
null
null
null
#ifndef STATETRANSITIONMODEL_HPP #define STATETRANSITIONMODEL_HPP #include "core/CRTPHelper.hpp" namespace npgi { template <typename Derived> struct state_transition_model_traits; template <typename Derived> struct StateTransitionModel : crtp_helper<Derived> { using state_type = typename state_transition_mode...
36.261905
77
0.680893
laurimi
229f69b49bd21a746fbff435533495fa49a4baff
495
hpp
C++
src/pi/arg.hpp
cppcoder123/led-server
8ebac31e1241bb203d2cedfd644fe52619007cd6
[ "MIT" ]
1
2021-12-23T13:50:53.000Z
2021-12-23T13:50:53.000Z
src/pi/arg.hpp
cppcoder123/led-server
8ebac31e1241bb203d2cedfd644fe52619007cd6
[ "MIT" ]
null
null
null
src/pi/arg.hpp
cppcoder123/led-server
8ebac31e1241bb203d2cedfd644fe52619007cd6
[ "MIT" ]
null
null
null
// // // #ifndef LED_D_ARG_HPP #define LED_D_ARG_HPP #include <list> #include <string> #include <utility> namespace led_d { class arg_t { public: arg_t (); arg_t (const arg_t&) = default; ~arg_t () = default; static bool init (arg_t &arg, int argc, char **argv); // bool kill; ...
15.46875
66
0.593939
cppcoder123
22a1d95175f1a85853a691acf8398af6bc98e49e
192
cpp
C++
viewify/src/main/Factory/ComponentFactory.cpp
ii887522/viewify
2bd8ef48a63abeaeca73f7f532992ffb6122c76e
[ "MIT" ]
1
2021-07-13T00:56:09.000Z
2021-07-13T00:56:09.000Z
viewify/src/main/Factory/ComponentFactory.cpp
ii887522/viewify
2bd8ef48a63abeaeca73f7f532992ffb6122c76e
[ "MIT" ]
null
null
null
viewify/src/main/Factory/ComponentFactory.cpp
ii887522/viewify
2bd8ef48a63abeaeca73f7f532992ffb6122c76e
[ "MIT" ]
null
null
null
// Copyright ii887522 #ifndef CONSOLE_TEST #include "ComponentFactory.h" namespace ii887522::viewify { ComponentFactory::~ComponentFactory() { } } // namespace ii887522::viewify #endif
13.714286
41
0.75
ii887522
22a7cea72c68cf2c89ee9ed278861b3855e127a5
5,268
cpp
C++
inference-engine/src/vpu/common/src/ngraph/operations/static_shape_topk.cpp
dbudniko/openvino
6666e5fed3434637e538cf9d3219077c320c3c16
[ "Apache-2.0" ]
1
2021-01-17T03:24:52.000Z
2021-01-17T03:24:52.000Z
inference-engine/src/vpu/common/src/ngraph/operations/static_shape_topk.cpp
dbudniko/openvino
6666e5fed3434637e538cf9d3219077c320c3c16
[ "Apache-2.0" ]
30
2020-11-13T11:44:07.000Z
2022-02-21T13:03:16.000Z
inference-engine/src/vpu/common/src/ngraph/operations/static_shape_topk.cpp
dorloff/openvino
1c3848a96fdd325b044babe6d5cd26db341cf85b
[ "Apache-2.0" ]
1
2020-12-18T15:47:45.000Z
2020-12-18T15:47:45.000Z
// Copyright (C) 2018-2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include <vpu/ngraph/operations/static_shape_topk.hpp> #include <ngraph/validation_util.hpp> constexpr ngraph::NodeTypeInfo ngraph::vpu::op::StaticShapeTopK::type_info; static const std::uint64_t UNKNOWN_NORMALIZED_AXIS = std::num...
38.452555
123
0.633257
dbudniko
22b6f695c34603987dc4720773008d0bd7644d03
3,140
hpp
C++
Daxa/src/gpu/Queue.hpp
Ipotrick/Daxa
07f3f9717f43b32cbe60761602fc16b3a2789b5a
[ "MIT" ]
3
2021-03-24T21:26:59.000Z
2021-12-28T01:54:17.000Z
Daxa/src/gpu/Queue.hpp
Ipotrick/Daxa
07f3f9717f43b32cbe60761602fc16b3a2789b5a
[ "MIT" ]
1
2021-12-10T01:08:15.000Z
2021-12-15T23:38:33.000Z
Daxa/src/gpu/Queue.hpp
Ipotrick/Daxa
07f3f9717f43b32cbe60761602fc16b3a2789b5a
[ "MIT" ]
1
2022-02-18T16:07:19.000Z
2022-02-18T16:07:19.000Z
#pragma once #pragma once #include "../DaxaCore.hpp" #include <memory> #include <mutex> #include <vector> #include <vulkan/vulkan.h> #include "CommandList.hpp" #include "TimelineSemaphore.hpp" #include "Swapchain.hpp" #include "Signal.hpp" namespace daxa { namespace gpu { struct SubmitInfo { std::vector<...
29.622642
152
0.682803
Ipotrick
42f469b905828fb90c3598f7e0a9da3484794bb7
6,605
cc
C++
examples/core_usage.cc
jacobmerson/model-traits
e336cd653c91797fcfa9edb018d65b76c271fb54
[ "BSD-3-Clause" ]
2
2021-06-18T22:51:17.000Z
2021-11-20T23:25:34.000Z
examples/core_usage.cc
jacobmerson/boundary-conditions
e336cd653c91797fcfa9edb018d65b76c271fb54
[ "BSD-3-Clause" ]
4
2021-05-13T07:58:49.000Z
2021-08-09T11:47:20.000Z
examples/core_usage.cc
jacobmerson/boundary-conditions
e336cd653c91797fcfa9edb018d65b76c271fb54
[ "BSD-3-Clause" ]
2
2021-08-07T20:07:44.000Z
2021-08-24T20:02:56.000Z
#include "fmt/format.h" #include "model_traits/AssociatedModelTraits.h" #include "model_traits/GeometrySet.h" #include "model_traits/ModelTrait.h" #include "model_traits/ModelTraits.h" #include <cassert> #include <fmt/format.h> struct FunctorPlus { double operator()(double a, double b) const noexcept { return a + b;...
45.868056
80
0.709614
jacobmerson
42fc0515d78be0ed537fce7b9b9958782c07a0a3
2,656
cpp
C++
code/engine.vc2008/xrEngine/NvGPUTransferee.cpp
icetorch2001/xray-oxygen
8c210ac2824f794cea69266048fe12d584ee3f04
[ "Apache-2.0" ]
1
2021-09-14T14:28:56.000Z
2021-09-14T14:28:56.000Z
code/engine.vc2008/xrEngine/NvGPUTransferee.cpp
ArtemGen/xray-oxygen
f62d3e1f4e211986c057fd37e97fd03c98b5e275
[ "Apache-2.0" ]
null
null
null
code/engine.vc2008/xrEngine/NvGPUTransferee.cpp
ArtemGen/xray-oxygen
f62d3e1f4e211986c057fd37e97fd03c98b5e275
[ "Apache-2.0" ]
3
2021-11-01T06:21:26.000Z
2022-01-08T16:13:23.000Z
////////////////////////////////////////// // Desc: GPU Info // Model: NVIDIA // Author: ForserX, Mortan ////////////////////////////////////////// // Oxygen Engine (2016-2019) ////////////////////////////////////////// #include "stdafx.h" #include "NvGPUTransferee.h" bool CNvReader::bSupport = false; CNvReader::C...
23.095652
99
0.667922
icetorch2001
42fc52e4b2bcca4bbc219ef1a3c508b94bce0813
524
hpp
C++
lib/inc/internal/facts/bsd/uptime_resolver.hpp
mihaibuzgau/facter
451ee4288c61c6185295b454339801b84b8242ef
[ "Apache-2.0" ]
1
2015-03-27T10:33:40.000Z
2015-03-27T10:33:40.000Z
lib/inc/internal/facts/bsd/uptime_resolver.hpp
mihaibuzgau/facter
451ee4288c61c6185295b454339801b84b8242ef
[ "Apache-2.0" ]
null
null
null
lib/inc/internal/facts/bsd/uptime_resolver.hpp
mihaibuzgau/facter
451ee4288c61c6185295b454339801b84b8242ef
[ "Apache-2.0" ]
null
null
null
/** * @file * Declares the BSD uptime fact resolver. */ #pragma once #include "../posix/uptime_resolver.hpp" namespace facter { namespace facts { namespace bsd { /** * Responsible for resolving uptime facts. */ struct uptime_resolver : posix::uptime_resolver { protected: /** ...
20.96
56
0.612595
mihaibuzgau
6e00136138a45b67361e01765696080a7b6cf3f5
244
cpp
C++
threepp/util/impl/utils.cpp
Graphics-Physics-Libraries/three.cpp-imported
788b4202e15fa245a4b60e2da0b91f7d4d0592e1
[ "MIT" ]
76
2017-12-20T05:09:04.000Z
2022-01-24T10:20:15.000Z
threepp/util/impl/utils.cpp
melMass/three.cpp
5a328b40036e359598baec8b3fcddae4f33e410a
[ "MIT" ]
5
2018-06-06T15:41:01.000Z
2019-11-30T15:10:25.000Z
threepp/util/impl/utils.cpp
melMass/three.cpp
5a328b40036e359598baec8b3fcddae4f33e410a
[ "MIT" ]
23
2017-10-12T16:46:33.000Z
2022-03-16T06:16:03.000Z
// // Created by byter on 5/13/18. // #include <threepp/extras/PointsWalker.h> #include <threepp/util/Types.h> namespace three { no_delete DLX _no_delete; namespace extras { namespace points_walker { always_true always_true::empty; } } }
12.2
40
0.729508
Graphics-Physics-Libraries
6e026b06115549223188862ce3d07bbce07995af
1,488
cpp
C++
test/test_binary_tree.cpp
buptlxb/leetcode-utility
49417b7c5f65be60212a89bd4e435f20d277e353
[ "BSD-3-Clause" ]
null
null
null
test/test_binary_tree.cpp
buptlxb/leetcode-utility
49417b7c5f65be60212a89bd4e435f20d277e353
[ "BSD-3-Clause" ]
null
null
null
test/test_binary_tree.cpp
buptlxb/leetcode-utility
49417b7c5f65be60212a89bd4e435f20d277e353
[ "BSD-3-Clause" ]
null
null
null
#include "binary_tree.h" #include <vector> #include <iostream> template <typename T> void access(typename leetcode::Tree<T>::link_type node) { std::cout << std::hex << node << ":" << std::dec << "(" << node->val << "," << std::hex << node->left << ", " << node->right << std::dec << ")" << std::endl; } int main(vo...
33.066667
161
0.585349
buptlxb
6e0305bae9eef5fdad9cb96de53f00433d25745f
4,363
cpp
C++
GLTFSDK/Source/AnimationUtils.cpp
ninerdelta/glTF-SDK
db5c8dfd02f1a027cea63194a6472574cfe8d723
[ "MIT" ]
243
2019-05-22T04:35:22.000Z
2022-03-30T21:04:37.000Z
GLTFSDK/Source/AnimationUtils.cpp
ninerdelta/glTF-SDK
db5c8dfd02f1a027cea63194a6472574cfe8d723
[ "MIT" ]
43
2019-05-07T17:37:13.000Z
2022-03-17T12:47:30.000Z
GLTFSDK/Source/AnimationUtils.cpp
ninerdelta/glTF-SDK
db5c8dfd02f1a027cea63194a6472574cfe8d723
[ "MIT" ]
64
2019-05-24T14:09:28.000Z
2022-03-13T02:24:27.000Z
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #include <GLTFSDK/AnimationUtils.h> #include <GLTFSDK/GLTF.h> #include <GLTFSDK/GLTFResourceReader.h> using namespace Microsoft::glTF; std::vector<float> AnimationUtils::GetKeyframeTimes(const Document& doc, const GLTFRe...
34.626984
139
0.738024
ninerdelta
6e0665db59df1b046d730cc17a8279724264d7c9
3,186
cc
C++
src/ring_pb.cc
mbruker/jspec2-python
c82b41cf0a314f15eb84ab15b0de96ac2992bf9c
[ "Unlicense" ]
null
null
null
src/ring_pb.cc
mbruker/jspec2-python
c82b41cf0a314f15eb84ab15b0de96ac2992bf9c
[ "Unlicense" ]
null
null
null
src/ring_pb.cc
mbruker/jspec2-python
c82b41cf0a314f15eb84ab15b0de96ac2992bf9c
[ "Unlicense" ]
null
null
null
#include <pybind11/pybind11.h> #include <pybind11/operators.h> #include <pybind11/stl.h> #include <functional> #include <tuple> #include <vector> #include "jspec2/ring.h" #include "jspec2/twiss.h" #include "jspec2/ion_beam.h" namespace py=pybind11; using namespace pybind11::literals; using std::vector; void init_rin...
40.329114
110
0.548023
mbruker
6e08c166f71e46b1affa5f50ca77480817907f40
1,124
cpp
C++
SerialPrograms/Source/PokemonLA/Resources/PokemonLA_AvailablePokemon.cpp
Gin890/Arduino-Source
9047ff584010d8ddc3558068874f16fb3c7bb46d
[ "MIT" ]
null
null
null
SerialPrograms/Source/PokemonLA/Resources/PokemonLA_AvailablePokemon.cpp
Gin890/Arduino-Source
9047ff584010d8ddc3558068874f16fb3c7bb46d
[ "MIT" ]
null
null
null
SerialPrograms/Source/PokemonLA/Resources/PokemonLA_AvailablePokemon.cpp
Gin890/Arduino-Source
9047ff584010d8ddc3558068874f16fb3c7bb46d
[ "MIT" ]
null
null
null
/* Available Pokemon * * From: https://github.com/PokemonAutomation/Arduino-Source * */ #include "Common/Cpp/Exceptions.h" #include "Common/Qt/QtJsonTools.h" #include "CommonFramework/Globals.h" #include "PokemonLA_AvailablePokemon.h" namespace PokemonAutomation{ namespace NintendoSwitch{ namespace...
23.914894
75
0.624555
Gin890
6e0f4a8a917a62a459a0ef2ea226408a78db0566
2,150
hpp
C++
libs/core/render/include/bksge/core/render/d3d12/detail/inl/blend_state_inl.hpp
myoukaku/bksge
0f8b60e475a3f1709723906e4796b5e60decf06e
[ "MIT" ]
4
2018-06-10T13:35:32.000Z
2021-06-03T14:27:41.000Z
libs/core/render/include/bksge/core/render/d3d12/detail/inl/blend_state_inl.hpp
myoukaku/bksge
0f8b60e475a3f1709723906e4796b5e60decf06e
[ "MIT" ]
566
2017-01-31T05:36:09.000Z
2022-02-09T05:04:37.000Z
libs/core/render/include/bksge/core/render/d3d12/detail/inl/blend_state_inl.hpp
myoukaku/bksge
0f8b60e475a3f1709723906e4796b5e60decf06e
[ "MIT" ]
1
2018-07-05T04:40:53.000Z
2018-07-05T04:40:53.000Z
/** * @file blend_state_inl.hpp * * @brief BlendState クラスの実装 * * @author myoukaku */ #ifndef BKSGE_CORE_RENDER_D3D12_DETAIL_INL_BLEND_STATE_INL_HPP #define BKSGE_CORE_RENDER_D3D12_DETAIL_INL_BLEND_STATE_INL_HPP #include <bksge/core/render/config.hpp> #if BKSGE_CORE_RENDER_HAS_D3D12_RENDERER #inc...
31.15942
84
0.730233
myoukaku
6e0f72fa79799f18a927e699ae691a668e44dd3e
9,593
cpp
C++
19_4_audio_async_capture/main.cpp
aconstlink/natus_examples
2716ce7481172bcd14035b18d09b44b74ec78a7e
[ "MIT" ]
null
null
null
19_4_audio_async_capture/main.cpp
aconstlink/natus_examples
2716ce7481172bcd14035b18d09b44b74ec78a7e
[ "MIT" ]
null
null
null
19_4_audio_async_capture/main.cpp
aconstlink/natus_examples
2716ce7481172bcd14035b18d09b44b74ec78a7e
[ "MIT" ]
null
null
null
#include "main.h" #include <natus/application/global.h> #include <natus/application/app.h> #include <natus/gfx/camera/pinhole_camera.h> #include <natus/tool/imgui/imgui.h> #include <natus/graphics/variable/variable_set.hpp> #include <natus/math/vector/vector3.hpp> #include <natus/math/vector/vector4.hpp> #include <na...
35.398524
180
0.545293
aconstlink
6e0fcaf4754d944fd5d1a6768fbf9702c5a04573
1,315
cpp
C++
rete-reasoner/RuleParserAST.cpp
sempr-tk/rete
a6fd29f50f9e6a259d40ac0850acff7874ccdba0
[ "BSD-3-Clause" ]
1
2021-12-04T21:29:04.000Z
2021-12-04T21:29:04.000Z
rete-reasoner/RuleParserAST.cpp
sempr-tk/rete
a6fd29f50f9e6a259d40ac0850acff7874ccdba0
[ "BSD-3-Clause" ]
null
null
null
rete-reasoner/RuleParserAST.cpp
sempr-tk/rete
a6fd29f50f9e6a259d40ac0850acff7874ccdba0
[ "BSD-3-Clause" ]
null
null
null
#include "RuleParserAST.hpp" #include <ostream> #include <string> #include <algorithm> #include <iostream> namespace rete { namespace ast { std::ostream& operator << (std::ostream& s, Precondition& p) { if (p.name_) s << *p.name_; s << "( "; for (auto& arg : p.args_) { s << *arg << " "; ...
20.546875
80
0.524715
sempr-tk
6e1004408c254b3cb7185cdf436fc0b21d3e2fd4
2,289
cpp
C++
Optix Code/Optix7.3.0LightFIeldViewer/SDK/lib/DemandLoading/Textures/ImageReader.cpp
hamiltonmj/LF-Render
405faa0b94b5914a94c59152be1a7c6964a0fc7f
[ "MIT" ]
null
null
null
Optix Code/Optix7.3.0LightFIeldViewer/SDK/lib/DemandLoading/Textures/ImageReader.cpp
hamiltonmj/LF-Render
405faa0b94b5914a94c59152be1a7c6964a0fc7f
[ "MIT" ]
null
null
null
Optix Code/Optix7.3.0LightFIeldViewer/SDK/lib/DemandLoading/Textures/ImageReader.cpp
hamiltonmj/LF-Render
405faa0b94b5914a94c59152be1a7c6964a0fc7f
[ "MIT" ]
null
null
null
// // Copyright (c) 2021, 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 co...
43.188679
167
0.737003
hamiltonmj
6e14bf5c8a2d011b97bc28d9a1d18fa6575ce710
528
cpp
C++
7DRL 2017/Item.cpp
marukrap/woozoolike
ca16b67bce61828dded707f1c529558646daf0b3
[ "MIT" ]
37
2017-03-26T00:20:49.000Z
2021-02-11T18:23:22.000Z
7DRL 2017/Item.cpp
marukrap/woozoolike
ca16b67bce61828dded707f1c529558646daf0b3
[ "MIT" ]
null
null
null
7DRL 2017/Item.cpp
marukrap/woozoolike
ca16b67bce61828dded707f1c529558646daf0b3
[ "MIT" ]
9
2017-03-24T04:38:35.000Z
2021-08-22T00:02:43.000Z
#include "Item.hpp" #include "Renderer.hpp" #include "World.hpp" EntityType Item::getEntityType() const { return EntityType::Item; } void Item::draw(Renderer& renderer) { if (renderer.getType() == Renderer::Ascii) renderer.setChar(position.x, position.y, glyph, color); else // Renderer::Tile {...
20.307692
67
0.657197
marukrap
6e1b59f0f796ff1ab0eddfd809b837a7c547d6c7
3,532
cpp
C++
src/main.cpp
Turpaz/Dig
84270c44bfd783eae15f7231de45f29747274ccd
[ "MIT" ]
null
null
null
src/main.cpp
Turpaz/Dig
84270c44bfd783eae15f7231de45f29747274ccd
[ "MIT" ]
null
null
null
src/main.cpp
Turpaz/Dig
84270c44bfd783eae15f7231de45f29747274ccd
[ "MIT" ]
null
null
null
#include "lexer/lexer.hpp" #include "parser/parser.hpp" #include "codegen/codegen.hpp" #include "preprocessor/preprocessor.hpp" #include <string> #include <fstream> #include <streambuf> #include <string.h> #include <getopt.h> using std::string; string getfile(string name); inline bool does_file_exist(string path); i...
24.527778
132
0.643545
Turpaz
6e1fe96c035f4d0bc61f9b487973085b626d6784
1,787
hpp
C++
Axis.SystemBase/services/messaging/EventTag.hpp
renato-yuzup/axis-fem
2e8d325eb9c8e99285f513b4c1218ef53eb0ab22
[ "MIT" ]
2
2021-07-23T08:49:54.000Z
2021-07-29T22:07:30.000Z
Axis.SystemBase/services/messaging/EventTag.hpp
renato-yuzup/axis-fem
2e8d325eb9c8e99285f513b4c1218ef53eb0ab22
[ "MIT" ]
null
null
null
Axis.SystemBase/services/messaging/EventTag.hpp
renato-yuzup/axis-fem
2e8d325eb9c8e99285f513b4c1218ef53eb0ab22
[ "MIT" ]
null
null
null
#pragma once #include "foundation/Axis.SystemBase.hpp" #include "foundation/collections/Collectible.hpp" namespace axis { namespace services { namespace messaging { /**********************************************************************************************//** * @brief Represents any tag attached to a...
33.716981
104
0.338556
renato-yuzup
6e235bbd18852f6d50b94c9aafef1bec5cb64a22
325
hpp
C++
Raytracer/include/Raytracer/Model/Model.hpp
YousifKako/Raytracer
78599f7170893b8bd37c12fc15e4cc6995625018
[ "MIT" ]
null
null
null
Raytracer/include/Raytracer/Model/Model.hpp
YousifKako/Raytracer
78599f7170893b8bd37c12fc15e4cc6995625018
[ "MIT" ]
null
null
null
Raytracer/include/Raytracer/Model/Model.hpp
YousifKako/Raytracer
78599f7170893b8bd37c12fc15e4cc6995625018
[ "MIT" ]
null
null
null
#pragma once #include <vector> #include <Model/Mesh.hpp> class Model { private: std::string model_name = ""; std::vector<Mesh*>* model = new std::vector<Mesh*>(); std::uint32_t num_objs = 0; public: Model(const std::string_view& model_name); void load(); const std::vector<Mesh*>* const get(...
17.105263
57
0.633846
YousifKako
6e29a5e02246a187972d422250ac24200079d6e8
394
cpp
C++
src/allegro_flare/appearance2d.cpp
MarkOates/allegro_flare
b454cb85eb5e43d19c23c0c6fd2dc11b96666ce7
[ "MIT" ]
25
2015-03-30T02:02:43.000Z
2019-03-04T22:29:12.000Z
src/allegro_flare/appearance2d.cpp
MarkOates/allegro_flare
b454cb85eb5e43d19c23c0c6fd2dc11b96666ce7
[ "MIT" ]
122
2015-04-01T08:15:26.000Z
2019-10-16T20:31:22.000Z
src/allegro_flare/appearance2d.cpp
MarkOates/allegro_flare
b454cb85eb5e43d19c23c0c6fd2dc11b96666ce7
[ "MIT" ]
4
2016-09-02T12:14:09.000Z
2018-11-23T20:38:49.000Z
#include <allegro_flare/appearance2d.h> #include <AllegroFlare/Useful.hpp> // for tostring() namespace allegro_flare { appearance2d::appearance2d() : color(al_map_rgba_f(1,1,1,1)) , blender(BLENDER_NORMAL) , opacity(1) { } void appearance2d::clear() { color = al_map_rgba...
11.939394
52
0.611675
MarkOates
6e2a17c8d7a0870676aa8afddb4bfce21e89f404
4,314
hpp
C++
animake/GUIManager.hpp
KoreanGinseng/AniMake
509599c778c46d9d19d7cfa0acbfe9e4a6590ca6
[ "MIT" ]
null
null
null
animake/GUIManager.hpp
KoreanGinseng/AniMake
509599c778c46d9d19d7cfa0acbfe9e4a6590ca6
[ "MIT" ]
null
null
null
animake/GUIManager.hpp
KoreanGinseng/AniMake
509599c778c46d9d19d7cfa0acbfe9e4a6590ca6
[ "MIT" ]
null
null
null
#pragma once #include <Siv3D.hpp> #include "Define.hpp" namespace s3d { namespace SasaGUI { class GUIManager; } } namespace siapp { struct AnimationPattern { double wait = 1.0; int no = 0; int step = 0; AnimationPatte...
24.372881
81
0.556328
KoreanGinseng
6e331c1a185f5ff33ac7ac4f1ff750160129e46e
494
cpp
C++
lib/Rudder/Rudder.cpp
andyrobinson/ard-nav
8162b2c9b882393ffd44e42d3f0816d7b1090760
[ "MIT" ]
null
null
null
lib/Rudder/Rudder.cpp
andyrobinson/ard-nav
8162b2c9b882393ffd44e42d3f0816d7b1090760
[ "MIT" ]
null
null
null
lib/Rudder/Rudder.cpp
andyrobinson/ard-nav
8162b2c9b882393ffd44e42d3f0816d7b1090760
[ "MIT" ]
null
null
null
#include "Rudder.h" #include "Angle.h" using namespace Angle; Rudder::Rudder() {} Rudder::Rudder(VSServoSamd *servo) { rudder_servo = servo; } void Rudder::set_position(angle position) { if (position > RUDDER_MAX_DISPLACEMENT) { position = RUDDER_MAX_DISPLACEMENT; } else if (position < -RUDDER_MAX_DISP...
20.583333
58
0.734818
andyrobinson
6e3869a618c4739067546fa0cb505b76efd69953
2,404
cpp
C++
core/connections/wim/packets/set_avatar.cpp
mail-ru-im/im-desktop
d6bb606650ad84b31046fe39b81db1fec4e6050b
[ "Apache-2.0" ]
81
2019-09-18T13:53:17.000Z
2022-03-19T00:44:20.000Z
core/connections/wim/packets/set_avatar.cpp
mail-ru-im/im-desktop
d6bb606650ad84b31046fe39b81db1fec4e6050b
[ "Apache-2.0" ]
4
2019-10-03T15:17:00.000Z
2019-11-03T01:05:41.000Z
core/connections/wim/packets/set_avatar.cpp
mail-ru-im/im-desktop
d6bb606650ad84b31046fe39b81db1fec4e6050b
[ "Apache-2.0" ]
25
2019-09-27T16:56:02.000Z
2022-03-14T07:11:14.000Z
#include "stdafx.h" #include "set_avatar.h" #include "../../../http_request.h" #include "../../../tools/system.h" #include "../../../../common.shared/json_helper.h" #include "../../urls_cache.h" using namespace core; using namespace wim; set_avatar::set_avatar(wim_packet_params _params, tools::binary_stream _image, ...
26.711111
123
0.680532
mail-ru-im
6e3e86b41db938a5f01dd3b1834882a5526fae2e
524
cpp
C++
cppdot/chainspec.cpp
sanblch/prototypes
f8e17041062211c05e861bcb8ed395d9fa1c0080
[ "MIT" ]
null
null
null
cppdot/chainspec.cpp
sanblch/prototypes
f8e17041062211c05e861bcb8ed395d9fa1c0080
[ "MIT" ]
null
null
null
cppdot/chainspec.cpp
sanblch/prototypes
f8e17041062211c05e861bcb8ed395d9fa1c0080
[ "MIT" ]
1
2021-05-25T10:49:57.000Z
2021-05-25T10:49:57.000Z
#include "chainspec.hpp" OUTCOME_CPP_DEFINE_CATEGORY(chainspec, ChainSpecError, e) { using E = chainspec::ChainSpecError; switch (e) { case E::MISSING_ENTRY: return "A required entry is missing in the config file"; case E::MISSING_PEER_ID: return "Peer id is missing in a multiaddress provided in the co...
30.823529
78
0.729008
sanblch
6e4753d0099246f7270e415f26e14955771f702f
129
cc
C++
echo_srv/main.cc
anton4o123/websocket-library
fe1a4b9d8721fe06e10229aff1cd7859015a1672
[ "BSD-2-Clause" ]
null
null
null
echo_srv/main.cc
anton4o123/websocket-library
fe1a4b9d8721fe06e10229aff1cd7859015a1672
[ "BSD-2-Clause" ]
null
null
null
echo_srv/main.cc
anton4o123/websocket-library
fe1a4b9d8721fe06e10229aff1cd7859015a1672
[ "BSD-2-Clause" ]
null
null
null
#include "server.hh" int main(){ WebSock_Server ws("127.0.0.1",80,5); ws.start(); int i = ws.accept_conn(); return 0; }
10.75
37
0.604651
anton4o123
6e48163d0e24cf2676971c9b04a76dcb8ff07b2a
617
cpp
C++
LeetCode/Array/MinimumValuetoGetPositiveStepbyStepSum.cpp
a4org/Angorithm4
d2227d36608491bed270375bcea67fbde134209a
[ "MIT" ]
3
2021-07-26T15:58:45.000Z
2021-09-08T14:55:11.000Z
LeetCode/Array/MinimumValuetoGetPositiveStepbyStepSum.cpp
a4org/Angorithm4
d2227d36608491bed270375bcea67fbde134209a
[ "MIT" ]
null
null
null
LeetCode/Array/MinimumValuetoGetPositiveStepbyStepSum.cpp
a4org/Angorithm4
d2227d36608491bed270375bcea67fbde134209a
[ "MIT" ]
2
2021-05-31T11:27:59.000Z
2021-10-03T13:26:00.000Z
/* * LeetCode 1413 Minimum Value to Get Positive Step by Step Sum * Easy * Shuo Feng * 2021.11.11 */ #include<iostream> #include<vector> using namespace std; /* * Solution: Brute Force. */ class Solution { public: int minStartValue(vector<int>& nums) { int res = 1; while (1) { ...
18.147059
63
0.435981
a4org
6e48aee306cacd93641abd6cb59f878b258cf385
6,683
hpp
C++
src/PluginSegmentation/Gui/SegmentationWidget.hpp
voxie-viewer/voxie
d2b5e6760519782e9ef2e51f5322a3baa0cb1198
[ "MIT" ]
4
2016-06-03T18:41:43.000Z
2020-04-17T20:28:58.000Z
src/PluginSegmentation/Gui/SegmentationWidget.hpp
voxie-viewer/voxie
d2b5e6760519782e9ef2e51f5322a3baa0cb1198
[ "MIT" ]
null
null
null
src/PluginSegmentation/Gui/SegmentationWidget.hpp
voxie-viewer/voxie
d2b5e6760519782e9ef2e51f5322a3baa0cb1198
[ "MIT" ]
null
null
null
/* * Copyright (c) 2014-2022 The Voxie Authors * * 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, mer...
29.311404
80
0.723477
voxie-viewer
6e49d4112d815f19dff10f0a20256342e47fb172
1,817
cpp
C++
workshop/SettingsPage.cpp
Zackmon/SeventhUmbral
25580111b361d2fdc2c15fd2cd150e4c763ca774
[ "BSD-2-Clause" ]
92
2015-01-30T01:57:18.000Z
2022-02-14T00:05:30.000Z
workshop/SettingsPage.cpp
Zackmon/SeventhUmbral
25580111b361d2fdc2c15fd2cd150e4c763ca774
[ "BSD-2-Clause" ]
6
2015-08-18T19:57:17.000Z
2022-01-31T14:48:33.000Z
workshop/SettingsPage.cpp
Zackmon/SeventhUmbral
25580111b361d2fdc2c15fd2cd150e4c763ca774
[ "BSD-2-Clause" ]
44
2015-01-03T13:01:21.000Z
2022-01-31T14:24:40.000Z
#include "SettingsPage.h" #include "resource.h" #include "Utf8.h" #include "AppConfig.h" #include "AppPreferences.h" #include "string_cast.h" CSettingsPage::CSettingsPage(HWND parentWnd) : CDialog(MAKEINTRESOURCE(IDD_SETTINGSPAGE), parentWnd) { SetClassPtr(); m_gameLocationEdit = Framework::Win32::CEdit(G...
24.226667
127
0.735828
Zackmon
6e50e918cba38564ef86b76d22b8a56601b65a53
1,862
cc
C++
algo/stack/stack_queue.cc
liuheng/recipes
6f3759ab4e4fa64d9fd83a60ee6b6846510d910b
[ "MIT" ]
null
null
null
algo/stack/stack_queue.cc
liuheng/recipes
6f3759ab4e4fa64d9fd83a60ee6b6846510d910b
[ "MIT" ]
null
null
null
algo/stack/stack_queue.cc
liuheng/recipes
6f3759ab4e4fa64d9fd83a60ee6b6846510d910b
[ "MIT" ]
null
null
null
//Implement a MyQueue class which implements a queue using two stacks. #include <cassert> #include "stack.hpp" using namespace std; class MyQueue { public: MyQueue() : m_len(0) {} int Enqueue(int value) { if (m_len >= MAX_STACK_SIZE) { return -1; } else { m_s1.Push(val...
20.23913
70
0.392052
liuheng
6e51b55da014c4cc0ad06e790640f4a32edc231c
6,538
cpp
C++
src/Modules/Helpers/Helpers/libhelpers/TypeConverter.cpp
sssr33/LuaModules
357a8c9445a237f2c98685000f6c7da668ea0e72
[ "MIT" ]
1
2020-02-24T22:21:04.000Z
2020-02-24T22:21:04.000Z
src/Modules/Helpers/Helpers/libhelpers/TypeConverter.cpp
sssr33/LuaModules
357a8c9445a237f2c98685000f6c7da668ea0e72
[ "MIT" ]
null
null
null
src/Modules/Helpers/Helpers/libhelpers/TypeConverter.cpp
sssr33/LuaModules
357a8c9445a237f2c98685000f6c7da668ea0e72
[ "MIT" ]
1
2019-10-11T12:48:44.000Z
2019-10-11T12:48:44.000Z
#include "TypeConverter.h" #include "HMath.h" #include "HText.h" std::wstring TypeConverter<std::wstring, std::string>::Convert(const std::string &v) { std::wstring tmp(v.begin(), v.end()); return tmp; } std::string TypeConverter<std::string, std::wstring>::Convert(const std::wstring &v) { std::string tmp...
32.366337
112
0.665035
sssr33
6e54655695d344678c8c867f95a45e069fa0aa09
18,193
cpp
C++
thcrap_configure/src/winconsole.cpp
zero318/thcrap
dff0f66d486aae9e19f0237527a0c3d5163fb34c
[ "Unlicense" ]
null
null
null
thcrap_configure/src/winconsole.cpp
zero318/thcrap
dff0f66d486aae9e19f0237527a0c3d5163fb34c
[ "Unlicense" ]
null
null
null
thcrap_configure/src/winconsole.cpp
zero318/thcrap
dff0f66d486aae9e19f0237527a0c3d5163fb34c
[ "Unlicense" ]
null
null
null
#include <thcrap.h> #include <windows.h> #include <windowsx.h> #include "console.h" #include "resource.h" #include <string.h> #include <CommCtrl.h> #include <queue> #include <mutex> #include <future> #include <memory> #include <thread> template<typename T> using EventPtr = const std::shared_ptr<std::promise<T>>*; #de...
29.82459
186
0.687352
zero318
6e5557f2582c6890a47cf2648c7406d58276d3db
9,826
cpp
C++
NWNXLib/Platform/Assembly.cpp
chaoticplanes/nwnx-ee-unified
bea7c70609842850ca37825ff4c7e121fbbec72c
[ "MIT" ]
null
null
null
NWNXLib/Platform/Assembly.cpp
chaoticplanes/nwnx-ee-unified
bea7c70609842850ca37825ff4c7e121fbbec72c
[ "MIT" ]
null
null
null
NWNXLib/Platform/Assembly.cpp
chaoticplanes/nwnx-ee-unified
bea7c70609842850ca37825ff4c7e121fbbec72c
[ "MIT" ]
null
null
null
#include "Platform/Assembly.hpp" #include "API/Version.hpp" #include "Assert.hpp" #include "Platform/ASLR.hpp" #include "External/BeaEngine/include/BeaEngine.h" #include <cstring> #include <unordered_map> namespace { uintptr_t CalculateRelativeAddress(const uintptr_t from, const uintptr_t to, const uintptr_t instSize...
31.292994
120
0.658355
chaoticplanes
6e5625f12d0419824f07e98f36e4ac0bdb0c350e
1,678
cpp
C++
cpp/src/competition/double_20/e5323.cpp
ajz34/LeetCodeLearn
70ff8a3c17199a100819b356735cd9b13ff166a7
[ "MIT" ]
null
null
null
cpp/src/competition/double_20/e5323.cpp
ajz34/LeetCodeLearn
70ff8a3c17199a100819b356735cd9b13ff166a7
[ "MIT" ]
null
null
null
cpp/src/competition/double_20/e5323.cpp
ajz34/LeetCodeLearn
70ff8a3c17199a100819b356735cd9b13ff166a7
[ "MIT" ]
null
null
null
// https://leetcode-cn.com/problems/sort-integers-by-the-number-of-1-bits/ #include "extern.h" class Solution { struct BitsCompare { inline bool operator()(pair<int, int>& p1, pair<int, int>& p2) { if (p2.second != p1.second) return p1.second < p2.second; else return p1.first < p2....
34.244898
74
0.553635
ajz34
6e5757c435675bb2425892ada4ac8d1b357f3d4d
2,632
cpp
C++
program2/src/Reel.cpp
CharlesBarone/datastructures-unh-spring2020
0d3365ede7d4ecd0ea9d76f41966e72d75e1cf48
[ "MIT" ]
null
null
null
program2/src/Reel.cpp
CharlesBarone/datastructures-unh-spring2020
0d3365ede7d4ecd0ea9d76f41966e72d75e1cf48
[ "MIT" ]
null
null
null
program2/src/Reel.cpp
CharlesBarone/datastructures-unh-spring2020
0d3365ede7d4ecd0ea9d76f41966e72d75e1cf48
[ "MIT" ]
null
null
null
// // Reel.cpp // program2 // // Created by Charles Barone on 3/21/20. // Copyright © 2020 Charles Barone. All rights reserved. // #include "Reel.hpp" #include <iostream> void Reel::MakeEmpty(){ ReelNode* temp = nullptr; ReelNode* temp2 = head; while(head->next != nullptr){ temp = head; ...
20.888889
76
0.50152
CharlesBarone
6e5e8b61b3f4dff3ab440678c160c9c7fe5522d4
889
cpp
C++
tst/algorithms_data_structs/zip_test.cpp
LesnyRumcajs/ModernCppChallenge
175601d4c3d3ae88240c190c891261696f777ef1
[ "MIT" ]
5
2021-05-28T22:40:49.000Z
2022-03-11T20:48:38.000Z
tst/algorithms_data_structs/zip_test.cpp
LesnyRumcajs/ModernCppChallenge
175601d4c3d3ae88240c190c891261696f777ef1
[ "MIT" ]
3
2018-10-29T21:56:12.000Z
2019-10-13T17:04:06.000Z
tst/algorithms_data_structs/zip_test.cpp
LesnyRumcajs/ModernCppChallenge
175601d4c3d3ae88240c190c891261696f777ef1
[ "MIT" ]
null
null
null
#include <gtest/gtest.h> #include <gmock/gmock.h> #include "../../src/algorithms_data_structs/zip.h" namespace { using namespace testing; using cppchallenge::algorithms_data_structs::zip; TEST(ZipTest, NoDataShouldReturnEmpty) { auto result = zip(std::vector<int>{}, std::vector<std::string>{}); ...
34.192308
86
0.620922
LesnyRumcajs
6e5eacfc47b9f1c88d2fe00331b6dc1295b779fe
1,100
hpp
C++
module_01/ex04/replace.hpp
paulahemsi/piscine_cpp
f98feefd8e70308f77442f9b4cb64758676349a7
[ "MIT" ]
4
2021-12-14T18:02:53.000Z
2022-03-24T01:12:38.000Z
module_01/ex04/replace.hpp
paulahemsi/piscine_cpp
f98feefd8e70308f77442f9b4cb64758676349a7
[ "MIT" ]
null
null
null
module_01/ex04/replace.hpp
paulahemsi/piscine_cpp
f98feefd8e70308f77442f9b4cb64758676349a7
[ "MIT" ]
3
2021-11-01T00:34:50.000Z
2022-01-29T19:57:30.000Z
/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* replace.hpp :+: :+: :+: ...
50
80
0.234545
paulahemsi
6e623f47047a5d46aea09b78f95ccc878f77d232
1,132
cpp
C++
Interface/Register/using_axi_lite_with_user_defined_offset/example.cpp
ramanan-radhakrishnan/Vitis-HLS-Introductory-Examples
689ccbf41af440d5851c1ff1bc994dd9e69ba20a
[ "Apache-2.0" ]
188
2019-11-05T01:09:15.000Z
2021-09-08T16:10:26.000Z
Interface/Register/using_axi_lite_with_user_defined_offset/example.cpp
HITECHNOTACH/Vitis-HLS-Introductory-Examples
6ec6726a43c96e48a4ee3d6cb1e6ff6c5723d488
[ "Apache-2.0" ]
2
2020-09-08T04:55:52.000Z
2021-04-14T11:19:32.000Z
Interface/Register/using_axi_lite_with_user_defined_offset/example.cpp
HITECHNOTACH/Vitis-HLS-Introductory-Examples
6ec6726a43c96e48a4ee3d6cb1e6ff6c5723d488
[ "Apache-2.0" ]
73
2019-11-04T21:24:02.000Z
2021-09-14T23:33:43.000Z
/* * Copyright 2021 Xilinx, 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 applicable law or agreed to i...
36.516129
87
0.748233
ramanan-radhakrishnan
6e67ae48ef5734a028699861c650e736f8425218
8,006
cpp
C++
Plugins/PLSoundOpenAL/src/StreamWav.cpp
ktotheoz/pixellight
43a661e762034054b47766d7e38d94baf22d2038
[ "MIT" ]
83
2015-01-08T15:06:14.000Z
2021-07-20T17:07:00.000Z
Plugins/PLSoundOpenAL/src/StreamWav.cpp
PixelLightFoundation/pixellight
43a661e762034054b47766d7e38d94baf22d2038
[ "MIT" ]
27
2019-06-18T06:46:07.000Z
2020-02-02T11:11:28.000Z
Plugins/PLSoundOpenAL/src/StreamWav.cpp
naetherm/PixelLight
d7666f5b49020334cbb5debbee11030f34cced56
[ "MIT" ]
40
2015-02-25T18:24:34.000Z
2021-03-06T09:01:48.000Z
/*********************************************************\ * File: StreamWav.cpp * * * Copyright (C) 2002-2013 The PixelLight Team (http://www.pixellight.org/) * * This file is part of PixelLight. * * Permission is hereby granted, free of charge, to any person obtaining a co...
25.825806
140
0.581689
ktotheoz
6e6d3e6f9c81ee2ade4785555e1ef15b500de373
5,464
cpp
C++
unimodularity-library-1.2c/src/determinant.cpp
vios-fish/CompetitiveProgramming
6953f024e4769791225c57ed852cb5efc03eb94b
[ "MIT" ]
2
2016-07-05T21:14:40.000Z
2020-03-08T01:33:12.000Z
src/determinant.cpp
vbraun/unimodularity-library
d329571908a84ed98713721a2fe873ad534901c8
[ "BSL-1.0" ]
null
null
null
src/determinant.cpp
vbraun/unimodularity-library
d329571908a84ed98713721a2fe873ad534901c8
[ "BSL-1.0" ]
null
null
null
/** * Copyright Matthias Walter 2010. * 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 "../config.h" #include <map> #include <vector> #include <boost/numeric/ublas/lu.hpp> #in...
31.583815
132
0.650439
vios-fish
6e6f84fa9058aa5cb6808bf27abba8f7c3614776
1,590
cpp
C++
co-op/TmpProjectArea.cpp
BartoszMilewski/CodeCoop
7d29f53ccf65b0d29ea7d6781a74507b52c08d0d
[ "MIT" ]
67
2018-03-02T10:50:02.000Z
2022-03-23T18:20:29.000Z
co-op/TmpProjectArea.cpp
BartoszMilewski/CodeCoop
7d29f53ccf65b0d29ea7d6781a74507b52c08d0d
[ "MIT" ]
null
null
null
co-op/TmpProjectArea.cpp
BartoszMilewski/CodeCoop
7d29f53ccf65b0d29ea7d6781a74507b52c08d0d
[ "MIT" ]
9
2018-03-01T16:38:28.000Z
2021-03-02T16:17:09.000Z
//------------------------------------------- // TmpProjectArea.cpp // (c) Reliable Software, 1998 -- 2002 //------------------------------------------- #include "precompiled.h" #include "TmpProjectArea.h" #include "PathFind.h" #include <File/File.h> void TmpProjectArea::RememberVersion (std::string const & commen...
28.392857
94
0.677358
BartoszMilewski
6e7ce97142cbb4e3c32a5ae5b786374730b45109
2,568
hpp
C++
testspr/header_all.hpp
EzoeRyou/Sprout
12e12373d0f70543eac5f2ecfbec8f5112765f98
[ "BSL-1.0" ]
1
2016-09-29T21:55:58.000Z
2016-09-29T21:55:58.000Z
testspr/header_all.hpp
EzoeRyou/Sprout
12e12373d0f70543eac5f2ecfbec8f5112765f98
[ "BSL-1.0" ]
null
null
null
testspr/header_all.hpp
EzoeRyou/Sprout
12e12373d0f70543eac5f2ecfbec8f5112765f98
[ "BSL-1.0" ]
null
null
null
/*============================================================================= Copyright (c) 2011-2014 Bolero MURAKAMI https://github.com/bolero-MURAKAMI/Sprout 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.tx...
33.789474
80
0.70366
EzoeRyou
6e82b50896cd82df5c1ab03e4618d24dfba94e4c
9,890
hh
C++
cxx/include/ora/lib/math.hh
alexhsamuel/ora
89358d9193d86fbc7752270f1e35ee6ddcdcd206
[ "BSD-3-Clause" ]
10
2018-03-03T02:02:19.000Z
2020-04-02T22:47:55.000Z
cxx/include/ora/lib/math.hh
alexhsamuel/ora
89358d9193d86fbc7752270f1e35ee6ddcdcd206
[ "BSD-3-Clause" ]
13
2018-01-28T15:20:55.000Z
2022-01-27T23:32:41.000Z
cxx/include/ora/lib/math.hh
alexhsamuel/ora
89358d9193d86fbc7752270f1e35ee6ddcdcd206
[ "BSD-3-Clause" ]
null
null
null
#pragma once #include <cassert> #include <limits> #include <iostream> namespace ora { namespace lib { //------------------------------------------------------------------------------ using float32_t = float; using float64_t = double; static_assert(sizeof(float32_t) == 4, "float32_t isn't 32 bits"); static_assert(s...
25.165394
139
0.596057
alexhsamuel
6e83ac5072636167774570914efd395e58fc2ab1
6,027
hpp
C++
src/sdl/form.hpp
circled-square/helium
97b2f3079ca435554b86a235ff3ff2b4ae8a880c
[ "Apache-2.0" ]
1
2021-05-24T19:58:13.000Z
2021-05-24T19:58:13.000Z
src/sdl/form.hpp
circled-square/helium
97b2f3079ca435554b86a235ff3ff2b4ae8a880c
[ "Apache-2.0" ]
null
null
null
src/sdl/form.hpp
circled-square/helium
97b2f3079ca435554b86a235ff3ff2b4ae8a880c
[ "Apache-2.0" ]
null
null
null
#ifndef sdl_FORM_HPP #define sdl_FORM_HPP #include <SDL2/SDL_blendmode.h> #include <SDL2/SDL.h> #include <SDL2/SDL_events.h> #include <SDL2/SDL_render.h> #include <SDL2/SDL_video.h> #include <SDL2/SDL_ttf.h> #include <ostream> #include <string> #include <functional> #include <vector> #include <optional> #include <sclu...
33.115385
217
0.622034
circled-square
6e8421f55784486b76494a15bbc185e4a31870b5
1,003
hpp
C++
libcaf_core/caf/flow/op/fail.hpp
seewpx/actor-framework
65ecf35317b81d7a211848d59e734f43483fe410
[ "BSD-3-Clause" ]
null
null
null
libcaf_core/caf/flow/op/fail.hpp
seewpx/actor-framework
65ecf35317b81d7a211848d59e734f43483fe410
[ "BSD-3-Clause" ]
null
null
null
libcaf_core/caf/flow/op/fail.hpp
seewpx/actor-framework
65ecf35317b81d7a211848d59e734f43483fe410
[ "BSD-3-Clause" ]
null
null
null
// This file is part of CAF, the C++ Actor Framework. See the file LICENSE in // the main distribution directory for license terms and copyright or visit // https://github.com/actor-framework/actor-framework/blob/master/LICENSE. #pragma once #include "caf/error.hpp" #include "caf/flow/observable.hpp" #include "caf/fl...
25.075
80
0.613161
seewpx
6e85914a7de9150147db797b84a5aeba4f6ba8a0
615
cpp
C++
black-f407ve/zhello/src/main.cpp
Paolo-Maffei/stm32x
790aa03a365952c8a3cf8fd334ae307c2130fedb
[ "Unlicense" ]
2
2021-03-11T10:33:37.000Z
2022-02-12T19:35:55.000Z
black-f407ve/zhello/src/main.cpp
Paolo-Maffei/stm32x
790aa03a365952c8a3cf8fd334ae307c2130fedb
[ "Unlicense" ]
null
null
null
black-f407ve/zhello/src/main.cpp
Paolo-Maffei/stm32x
790aa03a365952c8a3cf8fd334ae307c2130fedb
[ "Unlicense" ]
null
null
null
// Minimal "hello" example with z80 emu, loaded directly into RAM. #include <jee.h> #include <string.h> extern "C" { #include "zextest.h" #include "z80emu.h" } const uint8_t rom [] = { #include "hello.h"; }; UartDev< PinA<9>, PinA<10> > console; ZEXTEST zex; void SystemCall (ZEXTEST*) { for (int i = zex.state...
17.571429
77
0.613008
Paolo-Maffei
6e87e427988c601afdae3926243a067d400e2626
2,444
hpp
C++
include/eepp/ui/uipushbutton.hpp
jayrulez/eepp
09c5c1b6b4c0306bb0a188474778c6949b5df3a7
[ "MIT" ]
37
2020-01-20T06:21:24.000Z
2022-03-21T17:44:50.000Z
include/eepp/ui/uipushbutton.hpp
jayrulez/eepp
09c5c1b6b4c0306bb0a188474778c6949b5df3a7
[ "MIT" ]
null
null
null
include/eepp/ui/uipushbutton.hpp
jayrulez/eepp
09c5c1b6b4c0306bb0a188474778c6949b5df3a7
[ "MIT" ]
9
2019-03-22T00:33:07.000Z
2022-03-01T01:35:59.000Z
#ifndef EE_UICUIPUSHBUTTON_HPP #define EE_UICUIPUSHBUTTON_HPP #include <eepp/ui/uiimage.hpp> #include <eepp/ui/uitextview.hpp> #include <eepp/ui/uiwidget.hpp> namespace EE { namespace UI { enum class InnerWidgetOrientation { Left, Right, Center }; class EE_API UIPushButton : public UIWidget { public: static UIPu...
23.960784
94
0.755319
jayrulez
6e920e21a7f353b7d733f45f75c6ff605a72a2ec
842
cpp
C++
Command Prototype Steve 02142017/src/Commands/geardown.cpp
SteelRidgeRobotics/Steamworks
395c88294da0bd3426b0c886e7fbbb887ffdce8c
[ "BSD-2-Clause" ]
null
null
null
Command Prototype Steve 02142017/src/Commands/geardown.cpp
SteelRidgeRobotics/Steamworks
395c88294da0bd3426b0c886e7fbbb887ffdce8c
[ "BSD-2-Clause" ]
null
null
null
Command Prototype Steve 02142017/src/Commands/geardown.cpp
SteelRidgeRobotics/Steamworks
395c88294da0bd3426b0c886e7fbbb887ffdce8c
[ "BSD-2-Clause" ]
null
null
null
#include "geardown.h" //Call on the commands from the constructor of the header file. geardown::geardown(): Command() { // Declare what subsystem the command depends on. Requires(Robot::gears.get()); } // Called just before this Command runs the first time void geardown::Initialize() { } // Called repe...
21.589744
78
0.724466
SteelRidgeRobotics
6e95453db731ae34e8f79777e1b9917239a6651c
503
cpp
C++
SVEngine/src/file/SVParseParticles.cpp
SVEChina/SVEngine
56174f479a3096e57165448142c1822e7db8c02f
[ "MIT" ]
34
2018-09-28T08:28:27.000Z
2022-01-15T10:31:41.000Z
SVEngine/src/file/SVParseParticles.cpp
SVEChina/SVEngine
56174f479a3096e57165448142c1822e7db8c02f
[ "MIT" ]
null
null
null
SVEngine/src/file/SVParseParticles.cpp
SVEChina/SVEngine
56174f479a3096e57165448142c1822e7db8c02f
[ "MIT" ]
8
2018-10-11T13:36:35.000Z
2021-04-01T09:29:34.000Z
// // SVParseParticles.cpp // SVEngine // Copyright 2017-2020 // yizhou Fu,long Yin,longfei Lin,ziyu Xu,xiaofan Li,daming Li // #include "SVParseParticles.h" #include "../node/SVParticlesNode.h" SVNodePtr SVParseParticles::parseParticles(SVInst *_app, RAPIDJSON_NAMESPACE::Value &item, s32 _resid, cptr8 _path) { SV...
26.473684
107
0.759443
SVEChina
6e96e9642af1e5691358739ac3a65fc37293902f
633
cpp
C++
leetcode.com/0703 Kth Largest Element in a Stream/main2.cpp
sky-bro/AC
29bfa3f13994612887e18065fa6e854b9a29633d
[ "MIT" ]
1
2020-08-20T11:02:49.000Z
2020-08-20T11:02:49.000Z
leetcode.com/0703 Kth Largest Element in a Stream/main2.cpp
sky-bro/AC
29bfa3f13994612887e18065fa6e854b9a29633d
[ "MIT" ]
null
null
null
leetcode.com/0703 Kth Largest Element in a Stream/main2.cpp
sky-bro/AC
29bfa3f13994612887e18065fa6e854b9a29633d
[ "MIT" ]
1
2022-01-01T23:23:13.000Z
2022-01-01T23:23:13.000Z
#include <iostream> #include <queue> #include <vector> using namespace std; // just use priority_queue class KthLargest { private: priority_queue<int, vector<int>, greater<int>> pq; int size; public: KthLargest(int k, vector<int> nums) { size = k; for (int i = 0; i < nums.size(); i++) { pq.push...
19.181818
66
0.597156
sky-bro
6e9b17bd71b7edbae4e50f3ed0152d040cd252f5
1,706
cpp
C++
P2422.cpp
Thomitics/MyOI
72f75b61b79230835a65ca313896031ba9d4665f
[ "MIT" ]
140
2021-02-14T02:41:48.000Z
2021-07-08T02:59:13.000Z
P2422.cpp
LikiBlaze/MyOI
72f75b61b79230835a65ca313896031ba9d4665f
[ "MIT" ]
1
2021-02-16T02:46:45.000Z
2021-02-16T02:46:45.000Z
P2422.cpp
Thomitics/MyOI
72f75b61b79230835a65ca313896031ba9d4665f
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> #define INF 999999999 using namespace std; inline long long read() { long long x = 0; int f = 1; char ch = getchar(); while (ch < '0' || ch > '9') { if (ch == '-') f = -1; ch = getchar(); } while (ch >= '0' && ch <= '9') { x ...
17.06
61
0.407386
Thomitics
6e9bdd825ab6720d3b428c47266e48d4d9c5684a
834
hpp
C++
ActiveCampaignCpp/include/Tasks.hpp
icarus3/ActiveCampaignCpp
c2389b4c9469251e6f3adb6b574402eca2e353ac
[ "MIT" ]
null
null
null
ActiveCampaignCpp/include/Tasks.hpp
icarus3/ActiveCampaignCpp
c2389b4c9469251e6f3adb6b574402eca2e353ac
[ "MIT" ]
null
null
null
ActiveCampaignCpp/include/Tasks.hpp
icarus3/ActiveCampaignCpp
c2389b4c9469251e6f3adb6b574402eca2e353ac
[ "MIT" ]
null
null
null
#ifndef TASKS_HPP #define TASKS_HPP #include <iostream> #include <string> #include <functional> #include "json.hpp" #include "Config.hpp" #include "ActiveCampaign.hpp" #include "AutoRegister.hpp" using json = nlohmann::json; class Tasks : public ActiveCampaign, public AutoRegister<Tasks> { public: Tasks(const st...
17.744681
92
0.701439
icarus3
6e9f28b33c1f55b12007f53a5c305eb03c5dffad
4,006
hpp
C++
cpp/godot-cpp/include/gen/Theme.hpp
GDNative-Gradle/proof-of-concept
162f467430760cf959f68f1638adc663fd05c5fd
[ "MIT" ]
1
2021-03-16T09:51:00.000Z
2021-03-16T09:51:00.000Z
cpp/godot-cpp/include/gen/Theme.hpp
GDNative-Gradle/proof-of-concept
162f467430760cf959f68f1638adc663fd05c5fd
[ "MIT" ]
null
null
null
cpp/godot-cpp/include/gen/Theme.hpp
GDNative-Gradle/proof-of-concept
162f467430760cf959f68f1638adc663fd05c5fd
[ "MIT" ]
null
null
null
#ifndef GODOT_CPP_THEME_HPP #define GODOT_CPP_THEME_HPP #include <gdnative_api_struct.gen.h> #include <stdint.h> #include <core/CoreTypes.hpp> #include <core/Ref.hpp> #include "Resource.hpp" namespace godot { class Theme; class Font; class Texture; class StyleBox; class Theme : public Resource { struct ___method...
36.752294
245
0.801548
GDNative-Gradle
6ea2e47a17339d79bdc13d9e5ba14e4fa0adb8c1
2,371
cpp
C++
Old/Source/Animation.cpp
TinoTano/Games_Factory_2D
116ec94f05eb805654f3d30735134e81eb873c60
[ "MIT" ]
1
2020-02-07T04:50:57.000Z
2020-02-07T04:50:57.000Z
Old/Source/Animation.cpp
TinoTano/Games_Factory_2D
116ec94f05eb805654f3d30735134e81eb873c60
[ "MIT" ]
null
null
null
Old/Source/Animation.cpp
TinoTano/Games_Factory_2D
116ec94f05eb805654f3d30735134e81eb873c60
[ "MIT" ]
1
2020-02-07T04:51:00.000Z
2020-02-07T04:51:00.000Z
#include "Animation.h" #include "Texture.h" #include "Data.h" #include "Application.h" #include "FileSystemModule.h" #include "ResourceManagerModule.h" Animation::Animation(std::string name, std::string assetsPath, std::string fullPath) : Resource(name, assetsPath, fullPath, Resource::RESOURCE_ANIM) { speed = 1.0f;...
20.09322
90
0.705609
TinoTano
6ea54776c20ecee4d964c09656bcdbd7eca1e89b
1,986
cpp
C++
Week3-Greedy Algorithms/Fractional_Knapsack/fract_knap.cpp
Godcreatebugs/Algorithm_Toolbox
1dcfb09af7f806cf5d6835f244f8f6c2064396f8
[ "Apache-2.0" ]
null
null
null
Week3-Greedy Algorithms/Fractional_Knapsack/fract_knap.cpp
Godcreatebugs/Algorithm_Toolbox
1dcfb09af7f806cf5d6835f244f8f6c2064396f8
[ "Apache-2.0" ]
null
null
null
Week3-Greedy Algorithms/Fractional_Knapsack/fract_knap.cpp
Godcreatebugs/Algorithm_Toolbox
1dcfb09af7f806cf5d6835f244f8f6c2064396f8
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include <vector> //#include <algorithm> using std::vector; /*----->>>TRIAL AND NOT USEFUL TO USE POP METHODS WHICH IS TAKEN CARE OF BY get_index FUNCTION. std::vector<double> ratio(vector<int> weights, vector<int> values){ int size_weights=weights.size(); std::vector<double> ratio_arr; for(i...
24.825
133
0.655086
Godcreatebugs
6ea617d6fd75731fadecc311d7c71b804421a457
2,952
cpp
C++
src/game/client/tf/vgui/panels/tf_pausemenupanel.cpp
mastercoms/TF2Classic
012960d85c6782aeb79b7dff4fe878cc8161008b
[ "Unlicense" ]
9
2019-07-18T15:01:29.000Z
2020-09-15T22:10:08.000Z
src/game/client/tf/vgui/panels/tf_pausemenupanel.cpp
mastercoms/TF2Classic
012960d85c6782aeb79b7dff4fe878cc8161008b
[ "Unlicense" ]
null
null
null
src/game/client/tf/vgui/panels/tf_pausemenupanel.cpp
mastercoms/TF2Classic
012960d85c6782aeb79b7dff4fe878cc8161008b
[ "Unlicense" ]
9
2019-08-14T15:05:18.000Z
2022-03-06T16:35:47.000Z
#include "cbase.h" #include "tf_pausemenupanel.h" #include "controls/tf_advbutton.h" #include "tf_notificationmanager.h" using namespace vgui; // memdbgon must be the last include file in a .cpp file!!! #include "tier0/memdbgon.h" //----------------------------------------------------------------------------- // Purp...
21.705882
139
0.658537
mastercoms
6eacc50808057f83294a34bca27dfccdadd74491
4,327
cpp
C++
src/servo.cpp
Leon0402/Project-Hexapod
98aebd80282560fb7ac86d72b78a798e78f86ab1
[ "MIT" ]
6
2018-08-10T14:29:16.000Z
2022-03-31T12:53:28.000Z
src/servo.cpp
Leon0402/Project-Hexapod
98aebd80282560fb7ac86d72b78a798e78f86ab1
[ "MIT" ]
null
null
null
src/servo.cpp
Leon0402/Project-Hexapod
98aebd80282560fb7ac86d72b78a798e78f86ab1
[ "MIT" ]
1
2020-06-18T17:23:14.000Z
2020-06-18T17:23:14.000Z
#include "Servo.h" #ifndef X86_64 #include <time.h> #include <math.h> #else #include <cmath> #endif /******************************************************************************************************************************************************/ // public /**********************************************...
35.178862
152
0.56159
Leon0402