hexsha
stringlengths
40
40
size
int64
7
1.05M
ext
stringclasses
13 values
lang
stringclasses
1 value
max_stars_repo_path
stringlengths
4
269
max_stars_repo_name
stringlengths
5
108
max_stars_repo_head_hexsha
stringlengths
40
40
max_stars_repo_licenses
listlengths
1
9
max_stars_count
int64
1
191k
max_stars_repo_stars_event_min_datetime
stringlengths
24
24
max_stars_repo_stars_event_max_datetime
stringlengths
24
24
max_issues_repo_path
stringlengths
4
269
max_issues_repo_name
stringlengths
5
116
max_issues_repo_head_hexsha
stringlengths
40
40
max_issues_repo_licenses
listlengths
1
9
max_issues_count
int64
1
67k
max_issues_repo_issues_event_min_datetime
stringlengths
24
24
max_issues_repo_issues_event_max_datetime
stringlengths
24
24
max_forks_repo_path
stringlengths
4
269
max_forks_repo_name
stringlengths
5
116
max_forks_repo_head_hexsha
stringlengths
40
40
max_forks_repo_licenses
listlengths
1
9
max_forks_count
int64
1
105k
max_forks_repo_forks_event_min_datetime
stringlengths
24
24
max_forks_repo_forks_event_max_datetime
stringlengths
24
24
content
stringlengths
7
1.05M
avg_line_length
float64
1.21
330k
max_line_length
int64
6
990k
alphanum_fraction
float64
0.01
0.99
author_id
stringlengths
2
40
ca4ed8dfef3c1c1a2b6bc60b5eb09456ddc1867d
677
hpp
C++
CocoaPhoenix/include/PHXCocoaClassDefs.hpp
phoenix-engine/phoenix
c3285482ee507b566a1c38da071439dab507a877
[ "MIT" ]
2
2019-05-04T19:33:26.000Z
2019-06-29T13:19:33.000Z
CocoaPhoenix/include/PHXCocoaClassDefs.hpp
phoenix-engine/phoenix
c3285482ee507b566a1c38da071439dab507a877
[ "MIT" ]
13
2019-05-05T12:40:54.000Z
2020-02-29T20:32:11.000Z
CocoaPhoenix/include/PHXCocoaClassDefs.hpp
phoenix-engine/phoenix
c3285482ee507b566a1c38da071439dab507a877
[ "MIT" ]
4
2018-09-15T21:59:08.000Z
2019-05-04T20:19:07.000Z
// // PHXCocoaClassDefns.h // CocoaPhoenix // // PHXCocoaClassDefns includes the necessary internal headers defining // CocoaPhoenix components, such as view delegates, view controllers, and // responders. The actual implementations vary by target platform. // // Created by Bodie Solomon on 4/8/19. // #ifndef PHXC...
28.208333
73
0.790251
phoenix-engine
ca4f2d44dbcd0d709ea0bc53249e7246cd1fc25f
3,979
cxx
C++
Servers/ServerManager/vtkSMChartViewProxy.cxx
utkarshayachit/ParaView
7bbb2aa16fdef9cfbcf4a3786cad905d6770771b
[ "BSD-3-Clause" ]
null
null
null
Servers/ServerManager/vtkSMChartViewProxy.cxx
utkarshayachit/ParaView
7bbb2aa16fdef9cfbcf4a3786cad905d6770771b
[ "BSD-3-Clause" ]
null
null
null
Servers/ServerManager/vtkSMChartViewProxy.cxx
utkarshayachit/ParaView
7bbb2aa16fdef9cfbcf4a3786cad905d6770771b
[ "BSD-3-Clause" ]
null
null
null
/*========================================================================= Program: ParaView Module: vtkSMChartViewProxy.cxx Copyright (c) Kitware, Inc. All rights reserved. See Copyright.txt or http://www.paraview.org/HTML/Copyright.html for details. This software is distributed WITHOUT ANY WAR...
31.085938
79
0.585826
utkarshayachit
ca5010870a7e75bd4772c7a85701207f3effc5f4
724
cpp
C++
BASIC/1061.cpp
sonaspy/PAT-PTA
dc7d7c64e66a844cc199bfe845bc2873d4435732
[ "Unlicense" ]
1
2018-11-28T09:38:23.000Z
2018-11-28T09:38:23.000Z
BASIC/1061.cpp
NewGuonx/PAT-PTA
dc7d7c64e66a844cc199bfe845bc2873d4435732
[ "Unlicense" ]
null
null
null
BASIC/1061.cpp
NewGuonx/PAT-PTA
dc7d7c64e66a844cc199bfe845bc2873d4435732
[ "Unlicense" ]
null
null
null
// author - sonaspy@outlook.com // coding - utf_8 #include <iostream> #define test() freopen("in", "r", stdin) using namespace std; int main(int argc, char const *argv[]) { /* code */ //test(); int s_n, q_n; cin >> s_n >> q_n; int point[q_n], ans[q_n]; for (int i = 0; i < q_n; i++) c...
21.939394
41
0.400552
sonaspy
ca53907e2fcb003dff4f612891b4ee7c42bde0d9
593
hpp
C++
include/Utility.hpp
Yunxiang-Li/SFML_Space-Shooter-Game
f6bf9753d2109e1a206efb7dc5a0b1b6e421ce52
[ "MIT" ]
null
null
null
include/Utility.hpp
Yunxiang-Li/SFML_Space-Shooter-Game
f6bf9753d2109e1a206efb7dc5a0b1b6e421ce52
[ "MIT" ]
null
null
null
include/Utility.hpp
Yunxiang-Li/SFML_Space-Shooter-Game
f6bf9753d2109e1a206efb7dc5a0b1b6e421ce52
[ "MIT" ]
null
null
null
#ifndef UTILITY_HPP #define UTILITY_HPP // Include standard library C++ libraries. #include <sstream> // Forward declaration of sf::Sprite class and sf::Text class. namespace sf { class Sprite; class Text; } // Since std::to_string doesn't work on MinGW we have to implement // our own to support all platforms. templ...
23.72
66
0.745363
Yunxiang-Li
ca547177c2aeb395793ee233c33b6a7779ff043f
902
hpp
C++
src/fhmdot/include/utils.hpp
nokx5/fhmdot
53a92804a18c98537964cd7cb09a60896d5d3744
[ "MIT" ]
null
null
null
src/fhmdot/include/utils.hpp
nokx5/fhmdot
53a92804a18c98537964cd7cb09a60896d5d3744
[ "MIT" ]
null
null
null
src/fhmdot/include/utils.hpp
nokx5/fhmdot
53a92804a18c98537964cd7cb09a60896d5d3744
[ "MIT" ]
null
null
null
#include <boost/type_traits/is_complex.hpp> #include <complex> #ifndef FLOAT_PRECISION using data_t = double; #else using data_t = float; #endif namespace fhmdot { namespace utils { template <typename T> constexpr bool is_complex() { return boost::is_complex<T>::value; } template <typename T> constexpr bool is_fl...
21.47619
69
0.651885
nokx5
ca54c3245dd4c4ae395b7697343d6ed728c24ac2
3,439
hpp
C++
viz/SurfaceGeode.hpp
skasperski/slam-maps
916c2ab77573162a17df2567cf6df16c300538bc
[ "BSD-2-Clause" ]
null
null
null
viz/SurfaceGeode.hpp
skasperski/slam-maps
916c2ab77573162a17df2567cf6df16c300538bc
[ "BSD-2-Clause" ]
null
null
null
viz/SurfaceGeode.hpp
skasperski/slam-maps
916c2ab77573162a17df2567cf6df16c300538bc
[ "BSD-2-Clause" ]
null
null
null
// // Copyright (c) 2015-2017, Deutsches Forschungszentrum für Künstliche Intelligenz GmbH. // Copyright (c) 2015-2017, University of Bremen // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // ...
35.091837
133
0.701076
skasperski
ca55e88543c640a25adf7ee12b247b8dd1948e7d
858
cpp
C++
libraries/tests/net/cellular/sms/common/smstest.cpp
hakehuang/mbed
04b488dcc418f0317cdee1781b27a59295909c77
[ "Apache-2.0" ]
1
2019-05-07T15:01:19.000Z
2019-05-07T15:01:19.000Z
libraries/tests/net/cellular/sms/common/smstest.cpp
suparit/mbed
49df530ae72ce97ccc773d1f2c13b38e868e6abd
[ "Apache-2.0" ]
null
null
null
libraries/tests/net/cellular/sms/common/smstest.cpp
suparit/mbed
49df530ae72ce97ccc773d1f2c13b38e868e6abd
[ "Apache-2.0" ]
null
null
null
#include "CellularModem.h" #include "smstest.h" void smstest(CellularModem& modem) { modem.power(true); Thread::wait(1000); #ifdef DESTINATION_NUMBER modem.sendSM(DESINATION_NUMBER, "Hello from mbed:)"); #endif while(true) { char num[17]; char msg[64]; size_t count; ...
20.428571
57
0.481352
hakehuang
ca583476bd54c47392209ea474030d4180cafa27
2,660
cpp
C++
src/utilities.cpp
KerryL/SystemID
d1d4ff61db06ed79c1e1e5f7fd05ab2d1b879498
[ "MIT" ]
1
2019-12-08T03:07:02.000Z
2019-12-08T03:07:02.000Z
src/utilities.cpp
KerryL/SystemID
d1d4ff61db06ed79c1e1e5f7fd05ab2d1b879498
[ "MIT" ]
1
2021-12-02T01:23:27.000Z
2021-12-02T01:23:27.000Z
src/utilities.cpp
KerryL/SystemID
d1d4ff61db06ed79c1e1e5f7fd05ab2d1b879498
[ "MIT" ]
null
null
null
// File: utilities.cpp // Date: 8/4/2016 // Auth: K. Loux // Desc: Tire data modeling utilities. // Standard C++ headers #include <limits> #include <sstream> #include <iomanip> // Local headers #include "utilities.h" //========================================================================== // Namespace: Util...
27.42268
96
0.62218
KerryL
3ed35e570fbcb03fd0c1985284a9011f20702b1f
866
cpp
C++
ZOJ/4014/implementation.cpp
codgician/ACM
391f3ce9b89b0a4bbbe3ff60eb2369fef57460d4
[ "MIT" ]
2
2018-02-14T01:59:31.000Z
2018-03-28T03:30:45.000Z
ZOJ/4014/implementation.cpp
codgician/ACM
391f3ce9b89b0a4bbbe3ff60eb2369fef57460d4
[ "MIT" ]
null
null
null
ZOJ/4014/implementation.cpp
codgician/ACM
391f3ce9b89b0a4bbbe3ff60eb2369fef57460d4
[ "MIT" ]
2
2017-12-30T02:46:35.000Z
2018-03-28T03:30:49.000Z
#include <iostream> #include <cstdio> #include <algorithm> #include <cmath> #include <string> #include <cstring> #include <iomanip> #include <climits> #include <vector> #include <queue> #include <set> #include <map> #include <functional> #include <iterator> using namespace std; int main() { ios::sync_with_stdio(fa...
18.826087
44
0.461894
codgician
3ed66912d664ac4cdc51e4d44ff3b6e1b78f3024
4,257
hpp
C++
src/vec/func/trig.hpp
Thhethssmuz/mmm
ee91a990fba3849db1fc2b6df0e89004e2df466f
[ "MIT" ]
1
2017-03-14T20:45:54.000Z
2017-03-14T20:45:54.000Z
src/vec/func/trig.hpp
Thhethssmuz/mmm
ee91a990fba3849db1fc2b6df0e89004e2df466f
[ "MIT" ]
1
2017-03-08T17:14:03.000Z
2017-03-08T23:40:35.000Z
src/vec/func/trig.hpp
Thhethssmuz/mmm
ee91a990fba3849db1fc2b6df0e89004e2df466f
[ "MIT" ]
null
null
null
#pragma once // all trigonometric functions are only defined for floating point types and // floating vector types. template <typename T, typename = typefu::for_arithmetic<T>> constexpr typefu::promotef<T> radians(T degrees); template <typename T, size_t N, typename = typefu::for_floating<T>> constexpr tvec<T, N> ra...
37.342105
80
0.709655
Thhethssmuz
3ed75ac2540d9a81cdd0d224888fdfd86366de14
444
c++
C++
xp_comm_proj/rd_vrml/vrml2geo/qv/src/QvWWWInline.c++
avs/express-community
c699a68330d3b678b7e6bcea823e0891b874049c
[ "Apache-2.0" ]
3
2020-08-03T08:52:20.000Z
2021-04-10T11:55:49.000Z
xp_comm_proj/rd_vrml/vrml2geo/qv/src/QvWWWInline.c++
avs/express-community
c699a68330d3b678b7e6bcea823e0891b874049c
[ "Apache-2.0" ]
null
null
null
xp_comm_proj/rd_vrml/vrml2geo/qv/src/QvWWWInline.c++
avs/express-community
c699a68330d3b678b7e6bcea823e0891b874049c
[ "Apache-2.0" ]
1
2021-06-08T18:16:45.000Z
2021-06-08T18:16:45.000Z
#include <QvWWWInline.h> QV_NODE_SOURCE(QvWWWInline); QvWWWInline::QvWWWInline() { QV_NODE_CONSTRUCTOR(QvWWWInline); isBuiltIn = TRUE; QV_NODE_ADD_FIELD(name); QV_NODE_ADD_FIELD(bboxSize); QV_NODE_ADD_FIELD(bboxCenter); name.value = ""; bboxSize.value[0] = bboxSize.value[0] = bboxSize.va...
20.181818
74
0.691441
avs
3ed9d61e7928f8f10a762f9161ed9b2ba354d31b
7,663
cpp
C++
src/common/expression/PredicateExpression.cpp
linkensphere201/nebula-common-personal
e31b7e88326195a08ac0460fd469326455df6417
[ "Apache-2.0" ]
null
null
null
src/common/expression/PredicateExpression.cpp
linkensphere201/nebula-common-personal
e31b7e88326195a08ac0460fd469326455df6417
[ "Apache-2.0" ]
null
null
null
src/common/expression/PredicateExpression.cpp
linkensphere201/nebula-common-personal
e31b7e88326195a08ac0460fd469326455df6417
[ "Apache-2.0" ]
null
null
null
/* Copyright (c) 2020 vesoft inc. All rights reserved. * * This source code is licensed under Apache 2.0 License, * attached with Common Clause Condition 1.0, found in the LICENSES directory. */ #include "common/expression/PredicateExpression.h" #include "common/expression/ExprVisitor.h" namespace nebula { std::...
28.381481
92
0.517813
linkensphere201
3edb23a8859aa4f922f741373da9a0a04c10eb93
388
hpp
C++
Dialogs/AboutDialog.hpp
rafaelgc/EasyReceipt
c4dae474fff0bba14f0f64ff485e3e3e19a9f399
[ "MIT" ]
1
2021-07-12T06:36:10.000Z
2021-07-12T06:36:10.000Z
Dialogs/AboutDialog.hpp
rafaelgc/SplitQt
c4dae474fff0bba14f0f64ff485e3e3e19a9f399
[ "MIT" ]
null
null
null
Dialogs/AboutDialog.hpp
rafaelgc/SplitQt
c4dae474fff0bba14f0f64ff485e3e3e19a9f399
[ "MIT" ]
null
null
null
#ifndef ABOUTDIALOG_HPP #define ABOUTDIALOG_HPP #include <QDialog> #include <QDebug> #include "Version.hpp" #include "Config.hpp" #include "ui_aboutform.h" class AboutDialog : public QDialog { Q_OBJECT private: Ui::AboutForm *ui; public: explicit AboutDialog(Config *config, QWidget *parent = 0); ~Ab...
14.37037
62
0.719072
rafaelgc
3edf3e17b9792f3d5c121c17738c73d53346999f
1,778
cpp
C++
programs/C++/infix_to_postfix.cpp
siddhantgore/hacktoberfest
d9b2e0483414d0b124e2c8c7c347aef46683d968
[ "Apache-2.0" ]
3
2021-10-03T17:03:41.000Z
2022-02-15T15:18:32.000Z
programs/C++/infix_to_postfix.cpp
siddhantgore/hacktoberfest
d9b2e0483414d0b124e2c8c7c347aef46683d968
[ "Apache-2.0" ]
8
2021-10-02T14:09:31.000Z
2021-10-08T07:54:15.000Z
programs/C++/infix_to_postfix.cpp
siddhantgore/hacktoberfest
d9b2e0483414d0b124e2c8c7c347aef46683d968
[ "Apache-2.0" ]
25
2021-10-02T10:30:12.000Z
2021-10-10T04:01:56.000Z
#include<iostream> #define n 100 using namespace std; class stack { public: char stack_arr[n+1]; int top; stack(){ top=-1; } bool overflow(int top){ if(top==n){ return 1; } return 0; } bool underflow(){ if(top==-1){ return 1; } return 0; } void push(char value){ if(overflow(top)){ cout<<"Stack is...
15.067797
76
0.591676
siddhantgore
3ee1f4a1030a49307036c3c9967498f36f837073
980
hpp
C++
QFsm/Front/Operations.hpp
krzysztof-jusiak/qfsm
b339f8bdb7f4d2c65dc943cc84e0e0038552190c
[ "BSL-1.0" ]
1
2020-12-18T20:43:20.000Z
2020-12-18T20:43:20.000Z
QFsm/Front/Operations.hpp
krzysztof-jusiak/qfsm
b339f8bdb7f4d2c65dc943cc84e0e0038552190c
[ "BSL-1.0" ]
null
null
null
QFsm/Front/Operations.hpp
krzysztof-jusiak/qfsm
b339f8bdb7f4d2c65dc943cc84e0e0038552190c
[ "BSL-1.0" ]
null
null
null
// // Copyright (c) 2011-2012 Krzysztof Jusiak (krzysztof at jusiak dot net) // // 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 QFSM_FRONT_OPERATIONS_HPP #define QFSM_FRONT_OPERATIONS_HPP #include "QFsm/...
35
90
0.787755
krzysztof-jusiak
3ee2dd0f7a2e43e7858553a1c968c1d5b302cb85
1,179
hpp
C++
Libraries/Widget/Utility.hpp
RyanTylerRae/WelderEngineRevamp
3efdad59dd1821ddb1c09b59520e8e2d7023bb10
[ "MIT" ]
1
2019-07-13T03:36:11.000Z
2019-07-13T03:36:11.000Z
Libraries/Widget/Utility.hpp
RyanTylerRae/WelderEngineRevamp
3efdad59dd1821ddb1c09b59520e8e2d7023bb10
[ "MIT" ]
null
null
null
Libraries/Widget/Utility.hpp
RyanTylerRae/WelderEngineRevamp
3efdad59dd1821ddb1c09b59520e8e2d7023bb10
[ "MIT" ]
null
null
null
// MIT Licensed (see LICENSE.md). #pragma once namespace Zero { class ColorBlock : public Widget { public: ColorBlock(Composite* parent, AttachType::Enum attachType = AttachType::Normal) : Widget(parent, attachType) { } void RenderUpdate( ViewBlock& viewBlock, FrameBlock& frameBlock, Mat4Param parentTx...
26.2
116
0.703986
RyanTylerRae
3ee37edb73684a536091234b68cba7c93d402561
34,130
cpp
C++
src/gromacs/mdrun/rerun.cpp
gromacs/gromacs
6cea3ac02b633e99167ce572f563368516853349
[ "BSD-2-Clause" ]
384
2015-01-02T19:44:15.000Z
2022-03-27T15:13:15.000Z
src/gromacs/mdrun/rerun.cpp
gromacs/gromacs
6cea3ac02b633e99167ce572f563368516853349
[ "BSD-2-Clause" ]
9
2015-04-07T20:48:00.000Z
2022-01-24T21:29:26.000Z
src/gromacs/mdrun/rerun.cpp
gromacs/gromacs
6cea3ac02b633e99167ce572f563368516853349
[ "BSD-2-Clause" ]
258
2015-01-19T11:19:57.000Z
2022-03-18T08:59:52.000Z
/* * This file is part of the GROMACS molecular simulation package. * * Copyright (c) 2018,2019,2020,2021, by the GROMACS development team, led by * Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl, * and including many others, as listed in the AUTHORS file in the * top-level source directory and at...
37.629548
120
0.48995
gromacs
3ee3a709218539929cfdca64e5c12cb8997f0fae
9,360
cpp
C++
src/cpp/DatasetBuilder.cpp
aflorio81/Amazon-MIT-RoutingChallenge
cbacc7b62a41b81c3e4b9ffde0f8dea0f81d3f5a
[ "Apache-2.0" ]
3
2022-03-24T20:56:52.000Z
2022-03-28T22:55:18.000Z
src/cpp/DatasetBuilder.cpp
aflorio81/Amazon-MIT-RoutingChallenge
cbacc7b62a41b81c3e4b9ffde0f8dea0f81d3f5a
[ "Apache-2.0" ]
null
null
null
src/cpp/DatasetBuilder.cpp
aflorio81/Amazon-MIT-RoutingChallenge
cbacc7b62a41b81c3e4b9ffde0f8dea0f81d3f5a
[ "Apache-2.0" ]
null
null
null
#include <algorithm> #include <iostream> #include <random> #include "DatasetBuilder.h" #include "JSONParser.h" using namespace std; using namespace rapidjson; DatasetBuilder::DatasetBuilder(const string& actualseqs, const string& invalidseqscrs, const string& packagedata, const string& routedata, cons...
40.171674
80
0.657799
aflorio81
3ee711a20d9dd57fb9dbbd2ae7eae06fe1442ca5
30,557
cpp
C++
services/distributeddataservice/libs/distributeddb/test/unittest/common/interfaces/distributeddb_interfaces_nb_publish_test.cpp
openharmony-gitee-mirror/distributeddatamgr_datamgr
3f17e1a6a6e0f83f3a346e87073b39dd949b0c9e
[ "Apache-2.0" ]
null
null
null
services/distributeddataservice/libs/distributeddb/test/unittest/common/interfaces/distributeddb_interfaces_nb_publish_test.cpp
openharmony-gitee-mirror/distributeddatamgr_datamgr
3f17e1a6a6e0f83f3a346e87073b39dd949b0c9e
[ "Apache-2.0" ]
null
null
null
services/distributeddataservice/libs/distributeddb/test/unittest/common/interfaces/distributeddb_interfaces_nb_publish_test.cpp
openharmony-gitee-mirror/distributeddatamgr_datamgr
3f17e1a6a6e0f83f3a346e87073b39dd949b0c9e
[ "Apache-2.0" ]
1
2021-09-13T12:07:54.000Z
2021-09-13T12:07:54.000Z
/* * Copyright (c) 2021 Huawei Device Co., Ltd. * 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 ...
38.533417
113
0.714664
openharmony-gitee-mirror
3ee869b274282adb31f33f1a282f12f8dcae73b9
10,844
cpp
C++
src/gausskernel/optimizer/util/learn/plan_tree_model.cpp
opengauss-mirror/openGauss-graph
6beb138fd00abdbfddc999919f90371522118008
[ "MulanPSL-1.0" ]
360
2020-06-30T14:47:34.000Z
2022-03-31T15:21:53.000Z
src/gausskernel/optimizer/util/learn/plan_tree_model.cpp
opengauss-mirror/openGauss-graph
6beb138fd00abdbfddc999919f90371522118008
[ "MulanPSL-1.0" ]
4
2020-06-30T15:09:16.000Z
2020-07-14T06:20:03.000Z
src/gausskernel/optimizer/util/learn/plan_tree_model.cpp
opengauss-mirror/openGauss-graph
6beb138fd00abdbfddc999919f90371522118008
[ "MulanPSL-1.0" ]
133
2020-06-30T14:47:36.000Z
2022-03-25T15:29:00.000Z
/* * Copyright (c) 2020 Huawei Technologies Co.,Ltd. * * openGauss is licensed under Mulan PSL v2. * You can use this software according to the terms and conditions of the Mulan PSL v2. * You may obtain a copy of Mulan PSL v2 at: * * http://license.coscl.org.cn/MulanPSL2 * * THIS SOFTWARE IS ...
37.783972
119
0.61232
opengauss-mirror
3ee8adbd50ddb5ad2ef4b81a7f715c3fee353540
44,101
cpp
C++
glib-adv/nmobj.cpp
ksemer/snap
0084126c30ad49a4437bc8ea30be78484f8c58d7
[ "BSD-3-Clause" ]
1,805
2015-01-06T20:01:35.000Z
2022-03-29T16:12:51.000Z
glib-adv/nmobj.cpp
lizhaoqing/snap
907c34aac6bcddc7c2f8efb64be76e87dd7e4ea5
[ "BSD-3-Clause" ]
168
2015-01-07T22:57:29.000Z
2022-03-15T01:20:24.000Z
glib-adv/nmobj.cpp
lizhaoqing/snap
907c34aac6bcddc7c2f8efb64be76e87dd7e4ea5
[ "BSD-3-Clause" ]
768
2015-01-09T02:28:45.000Z
2022-03-30T00:53:46.000Z
///////////////////////////////////////////////// // Includes #include "nmobj.h" ///////////////////////////////////////////////// // Named-Objects TNmObjBs::TNmObjBs( const TSwSetType& SwSetType, const PSIn& CustSwSetSIn, const PSIn& NrWordBsSIn, const PSIn& WordTypeBsSIn, const TStr& MteFNm): ChDef(), ...
37.278952
125
0.64062
ksemer
3eea6f49d3e2b50c293ec293c83b6d1f96f7b5f9
463
cpp
C++
BOJ_problem/2588.cpp
Geol2/PSCode
adaa6d3c7712caa8cc0ce9b00711e5d866907ddc
[ "MIT" ]
null
null
null
BOJ_problem/2588.cpp
Geol2/PSCode
adaa6d3c7712caa8cc0ce9b00711e5d866907ddc
[ "MIT" ]
null
null
null
BOJ_problem/2588.cpp
Geol2/PSCode
adaa6d3c7712caa8cc0ce9b00711e5d866907ddc
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int main() { int a, b; int a_first, a_twice, a_third; int result_first, result_twice, result_third; cin >> a >> b; int b_first = b % 10; int b_twice = (b % 100) / 10; int b_third = (b / 100); result_first = a * b_first; result_twice = a * b_twice; result_third = a ...
18.52
46
0.63067
Geol2
3eeae9b0cd211ccec05d48cc18791723593f9628
6,867
cpp
C++
ui/viewmodel/wallet/info_view.cpp
Webonnix/beam-ui
65b6120e0d013db84d6bd863295f074830cae96c
[ "Apache-2.0" ]
null
null
null
ui/viewmodel/wallet/info_view.cpp
Webonnix/beam-ui
65b6120e0d013db84d6bd863295f074830cae96c
[ "Apache-2.0" ]
null
null
null
ui/viewmodel/wallet/info_view.cpp
Webonnix/beam-ui
65b6120e0d013db84d6bd863295f074830cae96c
[ "Apache-2.0" ]
null
null
null
// Copyright 2018 The Beam Team // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in...
34.681818
147
0.659968
Webonnix
3eeb92f32f748efc4895b2271aca660e3d674cbc
1,454
cpp
C++
C++/0045_jump_gamp.cpp
lazybing/leetcode
f12e593cfdebe357887e8b6f169d573e273e27a2
[ "BSD-2-Clause" ]
1
2020-07-07T14:06:27.000Z
2020-07-07T14:06:27.000Z
C++/0045_jump_gamp.cpp
lazybing/leetcode
f12e593cfdebe357887e8b6f169d573e273e27a2
[ "BSD-2-Clause" ]
null
null
null
C++/0045_jump_gamp.cpp
lazybing/leetcode
f12e593cfdebe357887e8b6f169d573e273e27a2
[ "BSD-2-Clause" ]
null
null
null
/* * Given an array of non-negative integers, you are initially positioned at the first index of the array. * Each element in the array represents your maximum jump length at that position. * Your goal is to reach the last index in the minimum number of jumps. * * Example: * Input:[2, 3, 1, 1, 4] * Output:...
30.291667
106
0.450481
lazybing
3eedb0568560b7ebaa2030eff541a4186b71104e
1,784
cpp
C++
test/src/init.cpp
beroso/godot-cpp
eafe6d96226da5ebf02ec35ca1599a45dd794cfc
[ "MIT" ]
17
2021-02-01T21:00:19.000Z
2021-11-08T09:41:00.000Z
test/src/init.cpp
beroso/godot-cpp
eafe6d96226da5ebf02ec35ca1599a45dd794cfc
[ "MIT" ]
29
2021-04-07T07:24:52.000Z
2022-03-03T21:22:22.000Z
test/src/init.cpp
beroso/godot-cpp
eafe6d96226da5ebf02ec35ca1599a45dd794cfc
[ "MIT" ]
1
2021-08-28T14:14:20.000Z
2021-08-28T14:14:20.000Z
#include <Godot.hpp> #include <Reference.hpp> using namespace godot; class SimpleClass : public Reference { GODOT_CLASS(SimpleClass, Reference); public: SimpleClass() {} /** `_init` must exist as it is called by Godot. */ void _init() { _name = String("SimpleClass"); _value = 0; } void test_void_method()...
24.108108
136
0.71861
beroso
3eeee3aa150cfd347545a6d7a9b570b26f26fd84
4,568
cc
C++
spec/image_expand_spec.cc
fweiss/mcu-gif
aefe64ffcfe6e5c5ff80524c0f131cbc0e24fb49
[ "MIT" ]
null
null
null
spec/image_expand_spec.cc
fweiss/mcu-gif
aefe64ffcfe6e5c5ff80524c0f131cbc0e24fb49
[ "MIT" ]
null
null
null
spec/image_expand_spec.cc
fweiss/mcu-gif
aefe64ffcfe6e5c5ff80524c0f131cbc0e24fb49
[ "MIT" ]
null
null
null
#include "ccspec/core.h" #include "ccspec/expectation.h" #include "ccspec/matchers.h" using ccspec::core::describe; using ccspec::core::before; using ccspec::core::it; using ccspec::expect; using ccspec::matchers::eq; #include "helpers/fake_file.h" #include "helpers/pack.h" extern "C" { #include "gd.h" #include "...
30.453333
164
0.468695
fweiss
3eef36b856da4184d01a4502ebbbdcb6983d6282
1,507
cpp
C++
foo_dotnet_component_host/ui/ui_preferences.cpp
TheQwertiest/foo_dotnet_component_host
f849849b591a5d85b4bc12790123dc40aaf24f93
[ "MIT" ]
4
2021-12-01T18:54:26.000Z
2022-03-30T13:16:17.000Z
foo_dotnet_component_host/ui/ui_preferences.cpp
TheQwertiest/foo_dotnet_component_host
f849849b591a5d85b4bc12790123dc40aaf24f93
[ "MIT" ]
1
2021-11-29T13:25:14.000Z
2022-01-16T22:54:57.000Z
foo_dotnet_component_host/ui/ui_preferences.cpp
TheQwertiest/foo_dotnet_component_host
f849849b591a5d85b4bc12790123dc40aaf24f93
[ "MIT" ]
null
null
null
#include <stdafx.h> #include "ui_preferences.h" #include <convert/to_net.h> #include <ui/ui_preferences_form.h> namespace Qwr::DotnetHost { ComponentInterface::PreferencesPageInfo Preferences::GetInfo() { PreferencesPageInfo info; info.Name = DNET_NAME; info.Guid = Convert::ToNet::ToValue( Guids::ui_pre...
22.161765
108
0.713338
TheQwertiest
3eefa692eaf66833c6752afa9285ad9067ae3210
943
ipp
C++
Siv3D/include/Siv3D/detail/UnicodeConverter.ipp
tas9n/OpenSiv3D
c561cba1d88eb9cd9606ba983fcc1120192d5615
[ "MIT" ]
2
2021-11-22T00:52:48.000Z
2021-12-24T09:33:55.000Z
Siv3D/include/Siv3D/detail/UnicodeConverter.ipp
tas9n/OpenSiv3D
c561cba1d88eb9cd9606ba983fcc1120192d5615
[ "MIT" ]
32
2021-10-09T10:04:11.000Z
2022-02-25T06:10:13.000Z
Siv3D/include/Siv3D/detail/UnicodeConverter.ipp
tas9n/OpenSiv3D
c561cba1d88eb9cd9606ba983fcc1120192d5615
[ "MIT" ]
1
2021-12-31T05:08:00.000Z
2021-12-31T05:08:00.000Z
//----------------------------------------------- // // This file is part of the Siv3D Engine. // // Copyright (c) 2008-2022 Ryo Suzuki // Copyright (c) 2016-2022 OpenSiv3D Project // // Licensed under the MIT License. // //----------------------------------------------- # pragma once namespace s3d { inline char32 ...
20.5
92
0.64263
tas9n
3eefd783206a7c71fbf5b0e8d6ff0536274b617b
1,141
cpp
C++
projects/TileK/lib/klt-tilek-generator-basic.cpp
ouankou/rose
76f2a004bd6d8036bc24be2c566a14e33ba4f825
[ "BSD-3-Clause" ]
488
2015-01-09T08:54:48.000Z
2022-03-30T07:15:46.000Z
projects/TileK/lib/klt-tilek-generator-basic.cpp
sujankh/rose-matlab
7435d4fa1941826c784ba97296c0ec55fa7d7c7e
[ "BSD-3-Clause" ]
174
2015-01-28T18:41:32.000Z
2022-03-31T16:51:05.000Z
projects/TileK/lib/klt-tilek-generator-basic.cpp
sujankh/rose-matlab
7435d4fa1941826c784ba97296c0ec55fa7d7c7e
[ "BSD-3-Clause" ]
146
2015-04-27T02:48:34.000Z
2022-03-04T07:32:53.000Z
#include "sage3basic.h" #include "DLX/TileK/language.hpp" #include "KLT/TileK/generator-basic.hpp" namespace KLT { namespace TileK { void Generator::addUserStaticData( MFB::Driver<MFB::Sage> & driver, const std::string & klt_rtl_path, const std::string & user_rtl_path, const std::string & static_file_name...
30.026316
173
0.737949
ouankou
3ef08b68456eb0d9b1bb3a17df25f057246f652f
1,246
cpp
C++
Onboard-SDK-ROS/dji_sdk_demo/src/stereo_utility/point_cloud_viewer.cpp
NMMI/aerial-alter-ego
ba6517ecc1986e4808f6c17df3348dc5637d9cf7
[ "BSD-3-Clause" ]
6
2020-08-16T07:31:14.000Z
2022-02-17T06:24:47.000Z
src/Onboard-SDK-ROS-3.6/dji_sdk_demo/src/stereo_utility/point_cloud_viewer.cpp
isuran/droneautomation
c53017f8c8d4c03e3095ec7b6269d5a2659489e5
[ "MIT" ]
1
2021-08-18T08:14:19.000Z
2021-08-18T08:14:19.000Z
src/Onboard-SDK-ROS-3.6/dji_sdk_demo/src/stereo_utility/point_cloud_viewer.cpp
isuran/droneautomation
c53017f8c8d4c03e3095ec7b6269d5a2659489e5
[ "MIT" ]
2
2021-05-18T07:04:23.000Z
2021-05-23T13:22:13.000Z
#include "stereo_utility/point_cloud_viewer.hpp" PointCloudViewer* PointCloudViewer::single_instance_ = new PointCloudViewer("Point Cloud Viewer"); PointCloudViewer::PointCloudViewer(const std::string &name) : viewer_(name) , view_pos_(-1.0, -2.0, -3.0) , view_point_(0, 0, 0) , view_y_dir_(0, 1, 0) , world_...
25.958333
98
0.691011
NMMI
3ef4634a87d56a63505c5087fa95fb7743c7ac5c
283
cpp
C++
src/skyboxes/SkyboxFlat_t.cpp
guillaumetousignant/another_path_tracer
2738b32f91443ce15d1e7ab8ab77903bdfca695b
[ "MIT" ]
1
2019-08-08T12:19:45.000Z
2019-08-08T12:19:45.000Z
src/skyboxes/SkyboxFlat_t.cpp
guillaumetousignant/another_path_tracer
2738b32f91443ce15d1e7ab8ab77903bdfca695b
[ "MIT" ]
38
2019-07-11T16:18:00.000Z
2021-09-16T14:54:36.000Z
src/skyboxes/SkyboxFlat_t.cpp
guillaumetousignant/another_path_tracer
2738b32f91443ce15d1e7ab8ab77903bdfca695b
[ "MIT" ]
null
null
null
#include "skyboxes/SkyboxFlat_t.h" using APTracer::Entities::Vec3f; APTracer::Skyboxes::SkyboxFlat_t::SkyboxFlat_t(const Vec3f &background) : background_(background) {} auto APTracer::Skyboxes::SkyboxFlat_t::get(const Vec3f &xyz) const -> Vec3f { return background_; }
31.444444
101
0.742049
guillaumetousignant
3ef704a8ccc630c6be19a38ce324ce0b7e5df022
2,978
cpp
C++
orcm/mca/sensor/snmp/sensor_snmp.cpp
intel-ctrlsys/sensys-releases
080c0b8b55eecc18b0edea76386923fee3a73f57
[ "BSD-3-Clause-Open-MPI" ]
1
2016-12-17T17:17:15.000Z
2016-12-17T17:17:15.000Z
orcm/mca/sensor/snmp/sensor_snmp.cpp
intel-ctrlsys/sensys-releases
080c0b8b55eecc18b0edea76386923fee3a73f57
[ "BSD-3-Clause-Open-MPI" ]
null
null
null
orcm/mca/sensor/snmp/sensor_snmp.cpp
intel-ctrlsys/sensys-releases
080c0b8b55eecc18b0edea76386923fee3a73f57
[ "BSD-3-Clause-Open-MPI" ]
null
null
null
/* * Copyright (c) 2015 Intel, Inc. All rights reserved. * $COPYRIGHT$ * * Additional copyrights may follow * * $HEADER$ */ #include "orcm/mca/sensor/snmp/sensor_snmp.h" #include "orcm/mca/sensor/snmp/snmp.h" BEGIN_C_DECLS // Instance of plugin snmp_impl* impl = NULL; int snmp_init_relay(void) { if(NULL...
20.680556
74
0.648422
intel-ctrlsys
3ef89c6d8023cad4347a80cceb00b2842e18c870
45,101
cpp
C++
Source/MaestroMakeFlux.cpp
XinlongSBU/MAESTROeX
bda189af39390fc09bb0ebb8321971b9d7688fd7
[ "BSD-3-Clause" ]
null
null
null
Source/MaestroMakeFlux.cpp
XinlongSBU/MAESTROeX
bda189af39390fc09bb0ebb8321971b9d7688fd7
[ "BSD-3-Clause" ]
null
null
null
Source/MaestroMakeFlux.cpp
XinlongSBU/MAESTROeX
bda189af39390fc09bb0ebb8321971b9d7688fd7
[ "BSD-3-Clause" ]
null
null
null
#include <Maestro.H> using namespace amrex; const int pred_rhoh = 0; const int pred_rhohprime = 1; const int pred_h = 2; const int pred_T_then_rhohprime = 3; const int pred_T_then_h = 4; const int pred_hprime = 5; const int pred_Tprime_then_h = 6; const int pre...
47.979787
123
0.473271
XinlongSBU
3ef9c8e4e0b641fdbbcea3006950837a1fd633e2
714
cpp
C++
codes/c++/101.cpp
YuanweiZHANG/Leetcode
14a083528431bc65ada8f8265a5ef9d0fae40ecd
[ "MIT" ]
null
null
null
codes/c++/101.cpp
YuanweiZHANG/Leetcode
14a083528431bc65ada8f8265a5ef9d0fae40ecd
[ "MIT" ]
null
null
null
codes/c++/101.cpp
YuanweiZHANG/Leetcode
14a083528431bc65ada8f8265a5ef9d0fae40ecd
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <stack> using namespace std; /** * 2020-04-16 * Veronica */ struct TreeNode { int val; TreeNode *left; TreeNode *right; TreeNode(int x) : val(x), left(NULL), right(NULL) {} }; class Solution { public: bool isSymmetric(TreeNode* root) { if (!root) return true; ...
17.85
82
0.644258
YuanweiZHANG
3efa10943c81f4447f04105d52d7aec854c6dfda
454
cpp
C++
freq/data_loadFromFileToVector.cpp
rnsavinelli/aed
747f784b28a4891e329d7045f36c59681bcbb5e7
[ "MIT" ]
null
null
null
freq/data_loadFromFileToVector.cpp
rnsavinelli/aed
747f784b28a4891e329d7045f36c59681bcbb5e7
[ "MIT" ]
null
null
null
freq/data_loadFromFileToVector.cpp
rnsavinelli/aed
747f784b28a4891e329d7045f36c59681bcbb5e7
[ "MIT" ]
null
null
null
/* See ../LICENSE for license details. */ #include <iostream> #include <fstream> #include <vector> #define ERROR -1 using namespace std; int data_loadFromFile(vector<double> &data, string src) { ifstream file; double carry; file.open(src); if (!file.is_open()) { return ERROR; } fil...
13.757576
51
0.5837
rnsavinelli
3efb3db8b26dd7996775b41fd5b90ad4b5583cbf
4,538
cpp
C++
modules/vectorfieldvisualization/src/processors/discardshortlines.cpp
NissimHadar/inviwo
35777ba90439d7e79c884f12df7dfef4ada4861d
[ "BSD-2-Clause" ]
null
null
null
modules/vectorfieldvisualization/src/processors/discardshortlines.cpp
NissimHadar/inviwo
35777ba90439d7e79c884f12df7dfef4ada4861d
[ "BSD-2-Clause" ]
null
null
null
modules/vectorfieldvisualization/src/processors/discardshortlines.cpp
NissimHadar/inviwo
35777ba90439d7e79c884f12df7dfef4ada4861d
[ "BSD-2-Clause" ]
null
null
null
/********************************************************************************* * * Inviwo - Interactive Visualization Workshop * * Copyright (c) 2017-2019 Inviwo Foundation * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided th...
38.457627
100
0.653151
NissimHadar
3efd0008e39dcd09fc950063827e81e2a3cfd2df
1,674
cpp
C++
ace/tao/tao/PICurrent_ORBInitializer.cpp
tharindusathis/sourcecodes-of-CodeReadingTheOpenSourcePerspective
1b0172cdb78757fd17898503aaf6ce03d940ef28
[ "Apache-1.1" ]
46
2015-12-04T17:12:58.000Z
2022-03-11T04:30:49.000Z
ace/tao/tao/PICurrent_ORBInitializer.cpp
tharindusathis/sourcecodes-of-CodeReadingTheOpenSourcePerspective
1b0172cdb78757fd17898503aaf6ce03d940ef28
[ "Apache-1.1" ]
null
null
null
ace/tao/tao/PICurrent_ORBInitializer.cpp
tharindusathis/sourcecodes-of-CodeReadingTheOpenSourcePerspective
1b0172cdb78757fd17898503aaf6ce03d940ef28
[ "Apache-1.1" ]
23
2016-10-24T09:18:14.000Z
2022-02-25T02:11:35.000Z
// -*- C++ -*- #include "PICurrent_ORBInitializer.h" #if TAO_HAS_INTERCEPTORS == 1 #include "ORB_Core.h" #include "PICurrent.h" #include "ORBInitInfo.h" ACE_RCSID (TAO, PICurrent_ORBInitializer, "PICurrent_ORBInitializer.cpp,v 1.2 2001/09/24 18:15:23 othman Exp") void TAO_P...
26.15625
80
0.627838
tharindusathis
3efde3c8db6c1cb3585032ec6868c4d7163730f4
3,682
cpp
C++
server/src/slog/slog_api.cpp
cuiguanghui/Team-Talk
829eaa9293c17bb12b177a5fa5b1c1072c0b183e
[ "Apache-2.0" ]
368
2019-05-07T08:25:00.000Z
2022-03-31T07:23:55.000Z
server/src/slog/slog_api.cpp
cuiguanghui/Team-Talk
829eaa9293c17bb12b177a5fa5b1c1072c0b183e
[ "Apache-2.0" ]
46
2018-07-04T08:21:42.000Z
2018-07-21T08:59:03.000Z
server/src/slog/slog_api.cpp
cuiguanghui/Team-Talk
829eaa9293c17bb12b177a5fa5b1c1072c0b183e
[ "Apache-2.0" ]
256
2019-05-08T04:14:59.000Z
2022-03-28T07:02:30.000Z
// // slog_api.cpp // slog // // Created by luoning on 15-1-6. // Copyright (c) 2015年 luoning. All rights reserved. // #include "slog_api.h" #include "log4cxx/logger.h" #include "log4cxx/basicconfigurator.h" #include "log4cxx/propertyconfigurator.h" #include "log4cxx/helpers/exception.h" #include <stdarg.h> using ...
20.569832
88
0.665942
cuiguanghui
41017fb2f376efeecdc4633c5b85a459ea5687d9
9,873
cpp
C++
3rdparty/etl/src/ETIndexHandler.cpp
Osumi-Akari/energytycoon
25d18a0ee4a9f8833e678af297734602918a92e9
[ "Unlicense" ]
null
null
null
3rdparty/etl/src/ETIndexHandler.cpp
Osumi-Akari/energytycoon
25d18a0ee4a9f8833e678af297734602918a92e9
[ "Unlicense" ]
null
null
null
3rdparty/etl/src/ETIndexHandler.cpp
Osumi-Akari/energytycoon
25d18a0ee4a9f8833e678af297734602918a92e9
[ "Unlicense" ]
null
null
null
/******************************************************************************** EDITABLE TERRAIN LIBRARY v3 for Ogre Copyright (c) 2008 Holger Frydrych <frydrych@oddbeat.de> This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arisin...
30.472222
115
0.599514
Osumi-Akari
4102fab03bd88530e38bf7a60c1dcace162208ae
205
cc
C++
external/hacked_packages/pytest-cpp-0.4/tests/acceptance/googletest-samples/main.cc
willsheffler/rosette
199fdbf18e9fceb5324cd7bae9b47c3feb47af73
[ "Apache-2.0" ]
null
null
null
external/hacked_packages/pytest-cpp-0.4/tests/acceptance/googletest-samples/main.cc
willsheffler/rosette
199fdbf18e9fceb5324cd7bae9b47c3feb47af73
[ "Apache-2.0" ]
1
2015-02-24T13:15:29.000Z
2015-02-26T23:45:19.000Z
external/hacked_packages/pytest-cpp-0.4/tests/acceptance/googletest-samples/main.cc
willsheffler/rosette
199fdbf18e9fceb5324cd7bae9b47c3feb47af73
[ "Apache-2.0" ]
null
null
null
// compiled with samples which don't declare their own main() function #include "gtest/gtest.h" int main(int argc, char **argv) { ::testing::InitGoogleTest(&argc, argv); return RUN_ALL_TESTS(); }
25.625
70
0.697561
willsheffler
4103417d514d4e5f5245d77094c8b1622d8288fc
10,508
cpp
C++
afj-assignment-04/lib/grammar.cpp
Kyslik/afj-assignment-04
026c8408bb1284c535f04bed91fe32d894ca6ef1
[ "MIT" ]
null
null
null
afj-assignment-04/lib/grammar.cpp
Kyslik/afj-assignment-04
026c8408bb1284c535f04bed91fe32d894ca6ef1
[ "MIT" ]
null
null
null
afj-assignment-04/lib/grammar.cpp
Kyslik/afj-assignment-04
026c8408bb1284c535f04bed91fe32d894ca6ef1
[ "MIT" ]
null
null
null
// // grammar.cpp // afj-assignment-04 // // Created by Martin Kiesel on 08/05/16. // Copyright © 2016 Martin Kiesel. All rights reserved. // #include <iostream> #include <fstream> #include <sstream> #include "grammar.hpp" namespace afj_4 { namespace grammar { void Grammar::addTerminal(const std::string &term...
36.234483
168
0.501808
Kyslik
41034f208c4e9edf30b1918e51eed0132f53fd42
1,275
cpp
C++
sdf-net/lib/submodules/libigl/tutorial/604_Triangle/main.cpp
hardikk13/nglod
6c6c66ce1b39c5a3515cafc290ec903ae90b506e
[ "MIT" ]
null
null
null
sdf-net/lib/submodules/libigl/tutorial/604_Triangle/main.cpp
hardikk13/nglod
6c6c66ce1b39c5a3515cafc290ec903ae90b506e
[ "MIT" ]
null
null
null
sdf-net/lib/submodules/libigl/tutorial/604_Triangle/main.cpp
hardikk13/nglod
6c6c66ce1b39c5a3515cafc290ec903ae90b506e
[ "MIT" ]
null
null
null
#include <igl/opengl/glfw/Viewer.h> #include <igl/triangle/triangulate.h> // Input polygon Eigen::MatrixXd V; Eigen::MatrixXi E; Eigen::MatrixXd H; // Triangulated interior Eigen::MatrixXd V2; Eigen::MatrixXi F2; int main(int argc, char *argv[]) { using namespace Eigen; using namespace std; // ...
26.020408
60
0.627451
hardikk13
4105e6b6718b235b9d597ee392f076af3ff10654
922
cpp
C++
src/ctap/reset.cpp
uru-card/uru-card
0d20f8dd3bd5db3781ac0c6535744f77af6dfda2
[ "Apache-2.0" ]
98
2020-06-29T11:01:45.000Z
2022-02-20T06:50:31.000Z
src/ctap/reset.cpp
uru-card/uru-card
0d20f8dd3bd5db3781ac0c6535744f77af6dfda2
[ "Apache-2.0" ]
9
2020-06-29T11:22:19.000Z
2022-03-16T11:06:12.000Z
src/ctap/reset.cpp
uru-card/uru-card
0d20f8dd3bd5db3781ac0c6535744f77af6dfda2
[ "Apache-2.0" ]
1
2021-07-29T16:12:54.000Z
2021-07-29T16:12:54.000Z
#include <Arduino.h> #include <YACL.h> #include "fido2/ctap/ctap.h" #include "util/util.h" namespace FIDO2 { namespace CTAP { namespace Request { CommandCode Reset::getCommandCode() const { return authenticatorReset; } Status pa...
22.487805
82
0.509761
uru-card
41079802f0d2475af1d1f8335f14cd7058fc1922
14,728
hpp
C++
Coda/src/nlp-stack/SyntaxParser/Rus/EdgeCalculator/EdgeFeatureCalculatorRus.hpp
Samsung/veles.nlp
972fde27203cb04d301e34274b57435ed58372c4
[ "Apache-2.0" ]
8
2016-02-16T10:15:39.000Z
2020-03-12T21:14:36.000Z
Coda/src/nlp-stack/SyntaxParser/Rus/EdgeCalculator/EdgeFeatureCalculatorRus.hpp
Samsung/veles.nlp
972fde27203cb04d301e34274b57435ed58372c4
[ "Apache-2.0" ]
null
null
null
Coda/src/nlp-stack/SyntaxParser/Rus/EdgeCalculator/EdgeFeatureCalculatorRus.hpp
Samsung/veles.nlp
972fde27203cb04d301e34274b57435ed58372c4
[ "Apache-2.0" ]
6
2016-02-16T10:15:47.000Z
2020-01-20T20:33:25.000Z
/** * @file EdgeFeatureCalculator.h * @brief header file for class calculating features between two nodes in syntax tree * * .. invisible: * _ _ _____ _ _____ _____ * * | | | | ___| | | ___/ ___| * * | | | | |__ | | | |__ \ `--. * * | | | | __|| | | __| `--. \ * * \ \_/ / |...
35.921951
148
0.626969
Samsung
4108eb22a65ef908199fdba979c870b54251f16f
304
cpp
C++
10- Recursion & Backtracking/LinearSearch.cpp
ShreyashRoyzada/C-plus-plus-Algorithms
9db89faf0a9b9e636aece3e7289f21ab6a1e3748
[ "MIT" ]
21
2020-10-03T03:57:19.000Z
2022-03-25T22:41:05.000Z
10- Recursion & Backtracking/LinearSearch.cpp
ShreyashRoyzada/C-plus-plus-Algorithms
9db89faf0a9b9e636aece3e7289f21ab6a1e3748
[ "MIT" ]
40
2020-10-02T07:02:34.000Z
2021-10-30T16:00:07.000Z
10- Recursion & Backtracking/LinearSearch.cpp
ShreyashRoyzada/C-plus-plus-Algorithms
9db89faf0a9b9e636aece3e7289f21ab6a1e3748
[ "MIT" ]
90
2020-10-02T07:06:22.000Z
2022-03-25T22:41:17.000Z
#include<iostream> using namespace std; int linearSearch(int *a, int i, int key, int n){ if(i==n){ return -1; } if(i==key){ return i; } return linearSearch(a, i+1, key,n); } int main() { int a[]= {1,2,3,5,4,8}; int n= sizeof(a)/sizeof(int); int key;cin>>key; cout<<linearSearch(a,0,key,n); }
16.888889
48
0.608553
ShreyashRoyzada
41091b4aba93067dd40604f0481e010bd0005d7e
2,298
cpp
C++
Path_Planning/src/Error_Checking.cpp
Team-Swinburne/autonoumous-tsar22
c648893ca01b8f97cfd78026d694743b35e097d9
[ "MIT" ]
null
null
null
Path_Planning/src/Error_Checking.cpp
Team-Swinburne/autonoumous-tsar22
c648893ca01b8f97cfd78026d694743b35e097d9
[ "MIT" ]
null
null
null
Path_Planning/src/Error_Checking.cpp
Team-Swinburne/autonoumous-tsar22
c648893ca01b8f97cfd78026d694743b35e097d9
[ "MIT" ]
null
null
null
#include <memory> #include "rclcpp/rclcpp.hpp" #include "rclcpp/qos.hpp" #include "geometry_msgs/msg/twist.hpp" #include "nav_msgs/msg/odometry.hpp" #include <iostream> #include <string.h> // to run this build the package and enter "ros2 run SEPB_Project_34 Error_Checking" using namespace std::placeholders; //global...
28.02439
102
0.681897
Team-Swinburne
41098bd3b922147e0b075bba069846dcba4d6dfc
1,563
hpp
C++
src/netspeak/model/SearchResult.hpp
netspeak/netspeak4-application-cpp
b322c19e22c71f39be95b37b14f43daab1cb9024
[ "MIT" ]
null
null
null
src/netspeak/model/SearchResult.hpp
netspeak/netspeak4-application-cpp
b322c19e22c71f39be95b37b14f43daab1cb9024
[ "MIT" ]
7
2020-06-02T18:37:02.000Z
2021-02-17T11:04:22.000Z
src/netspeak/model/SearchResult.hpp
netspeak/netspeak4-application-ngrams
b322c19e22c71f39be95b37b14f43daab1cb9024
[ "MIT" ]
null
null
null
#ifndef NETSPEAK_MODEL_SEARCH_RESULT_HPP #define NETSPEAK_MODEL_SEARCH_RESULT_HPP #include <memory> #include <vector> #include "netspeak/model/NormQuery.hpp" #include "netspeak/model/Phrase.hpp" namespace netspeak { namespace model { class SearchResult { public: struct Item { std::shared_ptr<const NormQuery...
21.121622
77
0.662828
netspeak
410a553ad77a884c1abfc37a101149b024b185a5
4,393
cc
C++
Code/Components/Services/ingest/current/configuration/FeedConfig.cc
steve-ord/askapsoft
21b9df1b393b973ec312591efad7ee2b8c974811
[ "BSL-1.0", "Apache-2.0", "OpenSSL" ]
1
2020-06-18T08:37:43.000Z
2020-06-18T08:37:43.000Z
Code/Components/Services/ingest/current/configuration/FeedConfig.cc
ATNF/askapsoft
d839c052d5c62ad8a511e58cd4b6548491a6006f
[ "BSL-1.0", "Apache-2.0", "OpenSSL" ]
null
null
null
Code/Components/Services/ingest/current/configuration/FeedConfig.cc
ATNF/askapsoft
d839c052d5c62ad8a511e58cd4b6548491a6006f
[ "BSL-1.0", "Apache-2.0", "OpenSSL" ]
null
null
null
/// @file FeedConfig.cc /// /// @copyright (c) 2011 CSIRO /// Australia Telescope National Facility (ATNF) /// Commonwealth Scientific and Industrial Research Organisation (CSIRO) /// PO Box 76, Epping NSW 1710, Australia /// atnf-enquiries@csiro.au /// /// This file is part of the ASKAP software distribution. /// /// ...
33.280303
119
0.686547
steve-ord
410d1fd34142e08ac378f424bfaa92ae24488562
10,161
cpp
C++
OpenEXR/IlmImfUtil/ImfFlatImageIO.cpp
Lord-Kamina/openexr
cb16232387a8dabf75797ff8d3015594a7a87abe
[ "BSD-3-Clause" ]
107
2015-01-27T22:01:49.000Z
2021-12-27T07:44:25.000Z
OpenEXR/IlmImfUtil/ImfFlatImageIO.cpp
Lord-Kamina/openexr
cb16232387a8dabf75797ff8d3015594a7a87abe
[ "BSD-3-Clause" ]
2
2015-10-09T19:13:25.000Z
2018-12-25T17:16:54.000Z
OpenEXR/IlmImfUtil/ImfFlatImageIO.cpp
Lord-Kamina/openexr
cb16232387a8dabf75797ff8d3015594a7a87abe
[ "BSD-3-Clause" ]
17
2015-03-12T19:11:30.000Z
2020-11-30T15:51:23.000Z
/////////////////////////////////////////////////////////////////////////// // // Copyright (c) 2014, Industrial Light & Magic, a division of Lucas // Digital Ltd. LLC // // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the f...
24.782927
80
0.586655
Lord-Kamina
411194daf2146fd369a4aed89fbb7d3044a055d6
3,281
cpp
C++
src-plugins/undoRedoRegistration/undoRedoRegistration.cpp
ocommowi/medInria-public
9074e40c886881666e7a52c53309d8d28e35c0e6
[ "BSD-4-Clause" ]
null
null
null
src-plugins/undoRedoRegistration/undoRedoRegistration.cpp
ocommowi/medInria-public
9074e40c886881666e7a52c53309d8d28e35c0e6
[ "BSD-4-Clause" ]
null
null
null
src-plugins/undoRedoRegistration/undoRedoRegistration.cpp
ocommowi/medInria-public
9074e40c886881666e7a52c53309d8d28e35c0e6
[ "BSD-4-Clause" ]
null
null
null
// ///////////////////////////////////////////////////////////////// // Generated by medPluginGenerator // ///////////////////////////////////////////////////////////////// #include "undoRedoRegistration.h" #include <dtkCore/dtkAbstractData.h> #include <dtkCore/dtkAbstractDataFactory.h> #include <dtkCore/dtkAbstractP...
38.6
130
0.629077
ocommowi
4117908e59bd2f5b87794ddf0e858896f13a9532
335
hpp
C++
common/Stopwatch.hpp
CltKitakami/MyLib
d2dc4fb06ea5c3379a1818b49b0ecf13f8cd2b36
[ "MIT" ]
null
null
null
common/Stopwatch.hpp
CltKitakami/MyLib
d2dc4fb06ea5c3379a1818b49b0ecf13f8cd2b36
[ "MIT" ]
null
null
null
common/Stopwatch.hpp
CltKitakami/MyLib
d2dc4fb06ea5c3379a1818b49b0ecf13f8cd2b36
[ "MIT" ]
null
null
null
#ifndef _STOPWATCH_HPP_ #define _STOPWATCH_HPP_ #include <cstdint> #ifndef _MSC_VER #include <sys/time.h> #else #include <windows.h> #endif class Stopwatch { public: void start(); void stop(); uint32_t getMillis(); uint32_t getMicros(); private: struct timeval begin, end; struct timeval getElapsedTime...
11.964286
36
0.716418
CltKitakami
4118f9e840af92b4b8c3503526ce307eb9bcd371
9,940
cpp
C++
carto/CartoImageProc.cpp
mpthomas/Draw-Bot
83bb7d755f805ae7f1a7b2fa9053c0882bc20b35
[ "Apache-2.0" ]
null
null
null
carto/CartoImageProc.cpp
mpthomas/Draw-Bot
83bb7d755f805ae7f1a7b2fa9053c0882bc20b35
[ "Apache-2.0" ]
null
null
null
carto/CartoImageProc.cpp
mpthomas/Draw-Bot
83bb7d755f805ae7f1a7b2fa9053c0882bc20b35
[ "Apache-2.0" ]
null
null
null
#include "CartoImageProc.hpp" #include <iostream> #include <sys/stat.h> #include "PerlinNoise.hpp" #include "CartoPath.hpp" #include "CartoNode.hpp" #include "CartoSimulator.hpp" #include <gsl/gsl_errno.h> #include <gsl/gsl_spline.h> #include <cmath> namespace Carto { using namespace cv; using namespace std;...
34.634146
123
0.512173
mpthomas
411a9ce24f4b50aa0d0d68f202125a90d57e98ec
2,364
cpp
C++
test/qt/card/pace/test_EcdhKeyAgreement.cpp
Governikus/AusweisApp2-Omapi
0d563e61cb385492cef96c2542d50a467e003259
[ "Apache-2.0" ]
1
2019-06-06T11:58:51.000Z
2019-06-06T11:58:51.000Z
test/qt/card/pace/test_EcdhKeyAgreement.cpp
ckahlo/AusweisApp2-Omapi
5141b82599f9f11ae32ff7221b6de3b885e6e5f9
[ "Apache-2.0" ]
1
2022-01-28T11:08:59.000Z
2022-01-28T12:05:33.000Z
test/qt/card/pace/test_EcdhKeyAgreement.cpp
ckahlo/AusweisApp2-Omapi
5141b82599f9f11ae32ff7221b6de3b885e6e5f9
[ "Apache-2.0" ]
3
2019-06-06T11:58:14.000Z
2021-11-15T23:32:04.000Z
/*! * \brief Tests for the EcdhKeyAgreement * * \copyright Copyright (c) 2014-2019 Governikus GmbH & Co. KG, Germany */ #include "pace/ec/EcdhKeyAgreement.h" #include "asn1/PaceInfo.h" #include "MockReader.h" #include "pace/ec/EcUtil.h" #include "pace/ec/EllipticCurveFactory.h" #include "TestFileHelper.h" #inclu...
29.924051
183
0.752115
Governikus
411e3928579a66b19248021cbaad0d936655f227
2,774
cpp
C++
QuoteGeneration/qcnl/win/os_version.cpp
dpuzikox/SGXDataCenterAttestationPrimitives
88c8bb619db0945623256138a980f950139e6013
[ "BSD-3-Clause" ]
156
2018-09-06T07:19:23.000Z
2022-03-30T19:01:40.000Z
QuoteGeneration/qcnl/win/os_version.cpp
dpuzikox/SGXDataCenterAttestationPrimitives
88c8bb619db0945623256138a980f950139e6013
[ "BSD-3-Clause" ]
136
2018-10-02T00:58:26.000Z
2022-03-21T08:45:25.000Z
QuoteGeneration/qcnl/win/os_version.cpp
dpuzikox/SGXDataCenterAttestationPrimitives
88c8bb619db0945623256138a980f950139e6013
[ "BSD-3-Clause" ]
109
2018-10-01T19:09:58.000Z
2022-03-29T13:33:51.000Z
/* * Copyright (C) 2011-2021 Intel 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 li...
43.34375
97
0.693944
dpuzikox
411e477533f25450adf67fe60d3afe2af5c413b7
1,313
hpp
C++
include/codegen/include/Microsoft/Win32/Win32Native.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
1
2021-11-12T09:29:31.000Z
2021-11-12T09:29:31.000Z
include/codegen/include/Microsoft/Win32/Win32Native.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
null
null
null
include/codegen/include/Microsoft/Win32/Win32Native.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
2
2021-10-03T02:14:20.000Z
2021-11-12T09:29:36.000Z
// Autogenerated from CppHeaderCreator on 7/27/2020 3:09:38 PM // Created by Sc2ad // ========================================================================= #pragma once #pragma pack(push, 8) // Begin includes #include "utils/typedefs.h" // Including type: System.Object #include "System/Object.hpp" #include "utils/i...
35.486486
89
0.70297
Futuremappermydud
411ea7ece86feb1f905b89ec99e03b8ae5a51e3b
1,193
hpp
C++
inference-engine/src/low_precision_transformations/include/low_precision_transformations/concat_multi_channels.hpp
fujunwei/dldt
09497b7724de4be92629f7799b8538b483d809a2
[ "Apache-2.0" ]
null
null
null
inference-engine/src/low_precision_transformations/include/low_precision_transformations/concat_multi_channels.hpp
fujunwei/dldt
09497b7724de4be92629f7799b8538b483d809a2
[ "Apache-2.0" ]
null
null
null
inference-engine/src/low_precision_transformations/include/low_precision_transformations/concat_multi_channels.hpp
fujunwei/dldt
09497b7724de4be92629f7799b8538b483d809a2
[ "Apache-2.0" ]
null
null
null
// Copyright (C) 2018-2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #pragma once #include <string> #include <vector> #include <algorithm> #include <ie_common.h> #include "low_precision_transformations/concat.hpp" namespace InferenceEngine { namespace details { IE_SUPPRESS_DEPRECATED_START class ...
30.589744
99
0.756915
fujunwei
4120be19df7ad622995954f4c55b74b7f4d512eb
8,118
cpp
C++
core/Core/Utilities/SerialPort.cpp
esayui/mworks
0522e5afc1e30fdbf1e67cedd196ee50f7924499
[ "MIT" ]
null
null
null
core/Core/Utilities/SerialPort.cpp
esayui/mworks
0522e5afc1e30fdbf1e67cedd196ee50f7924499
[ "MIT" ]
null
null
null
core/Core/Utilities/SerialPort.cpp
esayui/mworks
0522e5afc1e30fdbf1e67cedd196ee50f7924499
[ "MIT" ]
null
null
null
// // SerialPort.cpp // MWorksCore // // Created by Christopher Stawarz on 6/30/16. // Copyright © 2016 The MWorks Project. All rights reserved. // // // NOTE: The methods used here to discover, connect to, and communicate with serial ports come from Apple's // "Performing Serial I/O" sample code, which is availab...
29.736264
135
0.585489
esayui
4125e18bafbb9123ac2be809b10081f45b9b6138
8,747
cpp
C++
hospitalB.cpp
suki-sahota/Hospital_Scheduler_Infrastructure
4c023bbe83897651f9599f30984a67d82df69f36
[ "MIT" ]
null
null
null
hospitalB.cpp
suki-sahota/Hospital_Scheduler_Infrastructure
4c023bbe83897651f9599f30984a67d82df69f36
[ "MIT" ]
null
null
null
hospitalB.cpp
suki-sahota/Hospital_Scheduler_Infrastructure
4c023bbe83897651f9599f30984a67d82df69f36
[ "MIT" ]
null
null
null
/** * Author: Suki Sahota */ #include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <errno.h> #include <string.h> #include <sys/types.h> #include <sys/socket.h> #include <signal.h> #include <sys/wait.h> #include <netinet/in.h> #include <arpa/inet.h> #include <netdb.h> #include <bits/stdc++.h> #include <...
26.267267
80
0.625014
suki-sahota
4125f00274076c92bf3ee475c0ab613fc31398b3
716
cpp
C++
uva/12100.cpp
cosmicray001/Online_judge_Solutions-
5dc6f90d3848eb192e6edea8e8c731f41a1761dd
[ "MIT" ]
3
2018-01-08T02:52:51.000Z
2021-03-03T01:08:44.000Z
uva/12100.cpp
cosmicray001/Online_judge_Solutions-
5dc6f90d3848eb192e6edea8e8c731f41a1761dd
[ "MIT" ]
null
null
null
uva/12100.cpp
cosmicray001/Online_judge_Solutions-
5dc6f90d3848eb192e6edea8e8c731f41a1761dd
[ "MIT" ]
1
2020-08-13T18:07:35.000Z
2020-08-13T18:07:35.000Z
#include <bits/stdc++.h> using namespace std; int main(){ freopen("input.txt", "r", stdin); freopen("output.txt", "w", stdout); int t, n, p, a; for(scanf("%d", &t); t--; ){ priority_queue<int> pq; queue<pair<int, int> > q; scanf("%d %d", &n, &p); for(int i = 0; i < n; i++){ scanf("%d", &a)...
19.351351
37
0.417598
cosmicray001
4127a65110d23cd66e7ca0685175d39cc1cd647c
14,798
cpp
C++
B2G/gecko/webapprt/win/webapprt.cpp
wilebeast/FireFox-OS
43067f28711d78c429a1d6d58c77130f6899135f
[ "Apache-2.0" ]
3
2015-08-31T15:24:31.000Z
2020-04-24T20:31:29.000Z
B2G/gecko/webapprt/win/webapprt.cpp
wilebeast/FireFox-OS
43067f28711d78c429a1d6d58c77130f6899135f
[ "Apache-2.0" ]
null
null
null
B2G/gecko/webapprt/win/webapprt.cpp
wilebeast/FireFox-OS
43067f28711d78c429a1d6d58c77130f6899135f
[ "Apache-2.0" ]
3
2015-07-29T07:17:15.000Z
2020-11-04T06:55:37.000Z
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* 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 with this file, * You can obtain one at http://mozilla.org/MPL/2.0/. */ // System headers (alphabetical) ...
28.026515
89
0.569739
wilebeast
4129cff2db6483d1505edbdba302e552114b9dd1
8,775
cpp
C++
src/libamp_common/buckets/bucket_type_hash.cpp
AmpScm/AmpScm
a7cc2010a6d7d59c5b26f88154b38c6c8775d9d8
[ "Apache-2.0" ]
null
null
null
src/libamp_common/buckets/bucket_type_hash.cpp
AmpScm/AmpScm
a7cc2010a6d7d59c5b26f88154b38c6c8775d9d8
[ "Apache-2.0" ]
null
null
null
src/libamp_common/buckets/bucket_type_hash.cpp
AmpScm/AmpScm
a7cc2010a6d7d59c5b26f88154b38c6c8775d9d8
[ "Apache-2.0" ]
1
2022-02-01T13:05:25.000Z
2022-02-01T13:05:25.000Z
#ifdef _WIN32 #include <Windows.h> #include <bcrypt.h> #else // TODO: Add OPENSSL variant #endif #include <zlib.h> #include "amp_buckets.hpp" using namespace amp; static amp::amp_bucket::amp_bucket_type hash_bucket_type("amp.hash"); amp_hash_result_t* amp_hash_result_create( amp_hash_algorithm_t algorithm, amp_po...
21.774194
141
0.713048
AmpScm
412cfaa5912f3d6646070ae80db849ea33685966
2,763
cpp
C++
kmp.cpp
albertcheu/snippets
bba723b18c347e735bcdc72e61dcdf1c220f4885
[ "MIT" ]
null
null
null
kmp.cpp
albertcheu/snippets
bba723b18c347e735bcdc72e61dcdf1c220f4885
[ "MIT" ]
null
null
null
kmp.cpp
albertcheu/snippets
bba723b18c347e735bcdc72e61dcdf1c220f4885
[ "MIT" ]
1
2022-03-17T17:32:48.000Z
2022-03-17T17:32:48.000Z
/*Knuth-Morris-Pratt*/ //Fast DFA-based string matching //"border" = prefix which is also a proper suffix //len[i] = length of longest border of pattern up to but not including ith char //len has size pattern.size+1 void kmp_build(const string& pattern, vi& len){ for (int i = 2; i <= pattern.size(); i++) { int ...
23.218487
79
0.578719
albertcheu
4131ee6904af3d62779879f497210aba6d49b554
187
cpp
C++
C++/szkolne2/C++/Zadania z C++/Zadanie Czas.cpp
Kwandes/highschool-code
ffaf7aea78236cec709ec7c70886df5427005332
[ "MIT" ]
null
null
null
C++/szkolne2/C++/Zadania z C++/Zadanie Czas.cpp
Kwandes/highschool-code
ffaf7aea78236cec709ec7c70886df5427005332
[ "MIT" ]
null
null
null
C++/szkolne2/C++/Zadania z C++/Zadanie Czas.cpp
Kwandes/highschool-code
ffaf7aea78236cec709ec7c70886df5427005332
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int main(){ int t, lg, lm, ls; cin>>t; lg=t%(24*60*60)/(60*60); lm=t%(60*60)/60; ls=t%60; cout<<lg<<"g"<<lm<<"m"<<ls<<"s"; return 0; }
17
33
0.534759
Kwandes
41343ba0e0e71ba9e52b5436e81bd97952965791
8,026
cpp
C++
5/Code/Sandbox/Main.cpp
Zakhar-V/Prototypes
413a7ce9fdb2a6f3ba97a041f798c71351efc855
[ "MIT" ]
null
null
null
5/Code/Sandbox/Main.cpp
Zakhar-V/Prototypes
413a7ce9fdb2a6f3ba97a041f798c71351efc855
[ "MIT" ]
null
null
null
5/Code/Sandbox/Main.cpp
Zakhar-V/Prototypes
413a7ce9fdb2a6f3ba97a041f798c71351efc855
[ "MIT" ]
null
null
null
#include "Sandbox.hpp" #include <SDL2\include\SDL.h> #include <Windows.h> #include <io.h> #include <sys/stat.h> #ifdef _MSC_VER # include <direct.h> #else # include <dirent.h> #endif #include <zlib\zlib.h> #include <zlib\unzip.h> using namespace Engine; #define PRINT_SIZEOF(T) printf("sizeof(%s) = %d\n",...
21.459893
82
0.387989
Zakhar-V
413470d4462f8ea91c9a2652577649d59aa18795
4,875
cpp
C++
Library/Sources/Stroika/Frameworks/WebServer/Request.cpp
SophistSolutions/Stroika
f4e5d84767903a054fba0a6b9c7c4bd1aaefd105
[ "MIT" ]
28
2015-09-22T21:43:32.000Z
2022-02-28T01:35:01.000Z
Library/Sources/Stroika/Frameworks/WebServer/Request.cpp
SophistSolutions/Stroika
f4e5d84767903a054fba0a6b9c7c4bd1aaefd105
[ "MIT" ]
98
2015-01-22T03:21:27.000Z
2022-03-02T01:47:00.000Z
Library/Sources/Stroika/Frameworks/WebServer/Request.cpp
SophistSolutions/Stroika
f4e5d84767903a054fba0a6b9c7c4bd1aaefd105
[ "MIT" ]
4
2019-02-21T16:45:25.000Z
2022-02-18T13:40:04.000Z
/* * Copyright(c) Sophist Solutions, Inc. 1990-2021. All rights reserved */ #include "../StroikaPreComp.h" #include <algorithm> #include <cstdlib> #include "../../Foundation/Characters/StringBuilder.h" #include "../../Foundation/Characters/ToString.h" #include "../../Foundation/Containers/Common.h" #include "../.....
40.966387
159
0.636718
SophistSolutions
41358e5b95d36929c63033f907563ae3ae5f41d7
432
cpp
C++
kvasir/src/world/position.cpp
CallumMackenzie/kvasir
5db7465ef17d8186b8439a8b72ecf131489d3f2a
[ "MIT" ]
1
2022-01-01T04:08:02.000Z
2022-01-01T04:08:02.000Z
kvasir/src/world/position.cpp
CallumMackenzie/kvasir
5db7465ef17d8186b8439a8b72ecf131489d3f2a
[ "MIT" ]
null
null
null
kvasir/src/world/position.cpp
CallumMackenzie/kvasir
5db7465ef17d8186b8439a8b72ecf131489d3f2a
[ "MIT" ]
null
null
null
#include "position.h" using namespace kvasir; vec3f &position3d::get_pos() { return pos; } quaternionf &position3d::get_rot() { return rot; } vec3f &position3d::get_scale() { return scale; } vec3f &position3d::get_rot_pt() { return rot_pt; } vec2f &position2d::get_pos() { return pos; } float &position2d::get_rot() { r...
39.272727
50
0.717593
CallumMackenzie
41387832924404c6034ba2e77fe0246bca5752bd
2,493
cpp
C++
LudensVR_Project_01/Source/LudensVR_Project_01/Private/VR_Template/TP_PlayerMovableArea.cpp
kruore/VRGame_LudensVR
93c236a01dc767228f1ded59922d4ea3d53cc6ee
[ "BSD-3-Clause" ]
null
null
null
LudensVR_Project_01/Source/LudensVR_Project_01/Private/VR_Template/TP_PlayerMovableArea.cpp
kruore/VRGame_LudensVR
93c236a01dc767228f1ded59922d4ea3d53cc6ee
[ "BSD-3-Clause" ]
null
null
null
LudensVR_Project_01/Source/LudensVR_Project_01/Private/VR_Template/TP_PlayerMovableArea.cpp
kruore/VRGame_LudensVR
93c236a01dc767228f1ded59922d4ea3d53cc6ee
[ "BSD-3-Clause" ]
null
null
null
//======================================================================================================================================= // The named class sources like 'TP_...' are the Unreal Engine 4.20 full C++ VR template sources written by Sang-bin, Jeon (Ludens VR) | // This VR Template Copyright (C) 2018, Sang...
40.868852
210
0.694344
kruore
413c24c6637c4ab565a61a7760ac193602db667c
1,089
cpp
C++
3rdParty/boost/1.71.0/libs/hana/example/permutations.cpp
rajeev02101987/arangodb
817e6c04cb82777d266f3b444494140676da98e2
[ "Apache-2.0" ]
12,278
2015-01-29T17:11:33.000Z
2022-03-31T21:12:00.000Z
3rdParty/boost/1.71.0/libs/hana/example/permutations.cpp
rajeev02101987/arangodb
817e6c04cb82777d266f3b444494140676da98e2
[ "Apache-2.0" ]
9,469
2015-01-30T05:33:07.000Z
2022-03-31T16:17:21.000Z
3rdParty/boost/1.71.0/libs/hana/example/permutations.cpp
rajeev02101987/arangodb
817e6c04cb82777d266f3b444494140676da98e2
[ "Apache-2.0" ]
1,343
2017-12-08T19:47:19.000Z
2022-03-26T11:31:36.000Z
// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) #include <boost/hana/all_of.hpp> #include <boost/hana/assert.hpp> #include <boost/hana/config.hpp> #include <boost/hana/contains.hpp> #incl...
32.029412
92
0.608815
rajeev02101987
413f80b5a56e6d6560487b5b68cc655683eba109
1,579
cpp
C++
25/src/readSeaSurfaceTemperatureFile.cpp
johnoel/tagest
be0a6b164683c448c90f0c3952343f5963eece3d
[ "BSD-2-Clause" ]
3
2015-08-26T17:14:02.000Z
2015-11-17T04:18:56.000Z
25/src/readSeaSurfaceTemperatureFile.cpp
johnoel/tagest
be0a6b164683c448c90f0c3952343f5963eece3d
[ "BSD-2-Clause" ]
10
2015-08-20T00:51:05.000Z
2016-11-16T19:14:48.000Z
25/src/readSeaSurfaceTemperatureFile.cpp
johnoel/tagest
be0a6b164683c448c90f0c3952343f5963eece3d
[ "BSD-2-Clause" ]
3
2016-11-16T00:52:23.000Z
2021-09-10T02:17:40.000Z
//$Id: readSeaSurfaceTemperatureFile.cpp 3127 2013-12-05 22:40:36Z jsibert $ #include <iostream> #include <string> //#include <strstream> #include <sstream> #include <fvar.hpp> #include <adstring.hpp> int readSeaSurfaceTemperatureFile(const adstring sstfile, const int year, const int month, const int originLongitude, ...
18.797619
157
0.593414
johnoel
4140ad20511d23f3843525847d500bed977022ec
681
cpp
C++
implementation/others/kmp.cpp
Layomiiety/Algorithmic-thinking
fc280717db051a26d19a583f3206402215d05c0a
[ "CC0-1.0" ]
null
null
null
implementation/others/kmp.cpp
Layomiiety/Algorithmic-thinking
fc280717db051a26d19a583f3206402215d05c0a
[ "CC0-1.0" ]
null
null
null
implementation/others/kmp.cpp
Layomiiety/Algorithmic-thinking
fc280717db051a26d19a583f3206402215d05c0a
[ "CC0-1.0" ]
null
null
null
#include <bits/stdc++.h> using namespace std; #define ll long long #define ull unsigned long long #define il inline #define re register const int maxn=1e6+5; char a[maxn],b[maxn]; int bor[maxn],sa,sb,cur=0; int main(){ scanf("%s%s",a+1,b+1); sa=strlen(a+1); sb=strlen(b+1); for(re int i=2,j=0;i<=sb;i++){...
23.482759
47
0.480176
Layomiiety
4144034fa14e72a028b60f0eeaaeb7e4995ba1c5
3,923
cc
C++
CondFormats/SiPhase2TrackerObjects/src/TrackerDetToDTCELinkCablingMap.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
852
2015-01-11T21:03:51.000Z
2022-03-25T21:14:00.000Z
CondFormats/SiPhase2TrackerObjects/src/TrackerDetToDTCELinkCablingMap.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
30,371
2015-01-02T00:14:40.000Z
2022-03-31T23:26:05.000Z
CondFormats/SiPhase2TrackerObjects/src/TrackerDetToDTCELinkCablingMap.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
3,240
2015-01-02T05:53:18.000Z
2022-03-31T17:24:21.000Z
#include "CondFormats/SiPhase2TrackerObjects/interface/TrackerDetToDTCELinkCablingMap.h" #include "FWCore/Utilities/interface/Exception.h" #include <utility> #include <algorithm> #include <iostream> TrackerDetToDTCELinkCablingMap::TrackerDetToDTCELinkCablingMap() {} TrackerDetToDTCELinkCablingMap::~TrackerDetToDTCEL...
41.734043
120
0.749681
ckamtsikis
414b9771ac50dda3de6a514687ffc28eb58737c6
778
cpp
C++
src/main.cpp
cod-sushi/QCodScreenShot
9dbedc61fa71dc0e62bb48b012685bdf04a05844
[ "MIT" ]
3
2019-06-15T14:55:37.000Z
2021-12-21T10:47:23.000Z
src/main.cpp
cod-sushi/QCodScreenShot
9dbedc61fa71dc0e62bb48b012685bdf04a05844
[ "MIT" ]
null
null
null
src/main.cpp
cod-sushi/QCodScreenShot
9dbedc61fa71dc0e62bb48b012685bdf04a05844
[ "MIT" ]
null
null
null
#include "mainwindow.h" #include "settings.h" #include <QApplication> #include <QDesktopWidget> #include <QTranslator> int main(int argc, char *argv[]) { QApplication a(argc, argv); // translate QTranslator translator; QString lang = Settings::value(Settings::Language); translator.load(QString(...
24.3125
65
0.660668
cod-sushi
414ba201de631621a5579a81c832f2b611a37f27
3,038
cpp
C++
emitter/aarch64/aarch64emitter.cpp
nandor/genm-opt
b3347d508fff707837d1dc8232487ebfe157fe2a
[ "MIT" ]
2
2019-03-02T20:48:18.000Z
2019-05-08T21:18:00.000Z
emitter/aarch64/aarch64emitter.cpp
nandor/genm-opt
b3347d508fff707837d1dc8232487ebfe157fe2a
[ "MIT" ]
null
null
null
emitter/aarch64/aarch64emitter.cpp
nandor/genm-opt
b3347d508fff707837d1dc8232487ebfe157fe2a
[ "MIT" ]
1
2019-11-18T20:20:34.000Z
2019-11-18T20:20:34.000Z
// This file if part of the llir-opt project. // Licensing information can be found in the LICENSE file. // (C) 2018 Nandor Licker. All rights reserved. #include <llvm/CodeGen/MachineFunctionPass.h> #include <llvm/CodeGen/Passes.h> #include <llvm/Support/FileSystem.h> #include <llvm/Support/Host.h> #include <llvm/Supp...
26.649123
80
0.595128
nandor
414dbb731e16bdbeda7ffe290ecb33ff6d11346c
3,757
cpp
C++
export/release/windows/obj/src/openfl/events/ActivityEvent.cpp
bobisdabbing/Vs-The-United-Lands-stable
0807e58b6d8ad1440bdd350bf006b37a1b7ca9b5
[ "MIT" ]
null
null
null
export/release/windows/obj/src/openfl/events/ActivityEvent.cpp
bobisdabbing/Vs-The-United-Lands-stable
0807e58b6d8ad1440bdd350bf006b37a1b7ca9b5
[ "MIT" ]
null
null
null
export/release/windows/obj/src/openfl/events/ActivityEvent.cpp
bobisdabbing/Vs-The-United-Lands-stable
0807e58b6d8ad1440bdd350bf006b37a1b7ca9b5
[ "MIT" ]
null
null
null
// Generated by Haxe 4.1.5 #include <hxcpp.h> #ifndef INCLUDED_openfl_events_ActivityEvent #include <openfl/events/ActivityEvent.h> #endif #ifndef INCLUDED_openfl_events_Event #include <openfl/events/Event.h> #endif HX_DEFINE_STACK_FRAME(_hx_pos_07ba67a8dcdbfa28_63_new,"openfl.events.ActivityEvent","new",0x259c5826,"...
33.846847
182
0.745275
bobisdabbing
414eb811a3f0233b982a0ed55de01ba9913101a8
1,343
cpp
C++
src/bin/units_access/TpcchQueryTest.cpp
EvilMcJerkface/hyrise-v1
d97fa0df5b9e2b9aaa78865c010e93173404086d
[ "MIT" ]
7
2017-11-13T11:02:59.000Z
2022-02-05T11:49:35.000Z
src/bin/units_access/TpcchQueryTest.cpp
EvilMcJerkface/hyrise-v1
d97fa0df5b9e2b9aaa78865c010e93173404086d
[ "MIT" ]
null
null
null
src/bin/units_access/TpcchQueryTest.cpp
EvilMcJerkface/hyrise-v1
d97fa0df5b9e2b9aaa78865c010e93173404086d
[ "MIT" ]
6
2017-10-19T13:34:08.000Z
2020-11-30T13:14:47.000Z
// Copyright (c) 2012 Hasso-Plattner-Institut fuer Softwaresystemtechnik GmbH. All rights reserved. #include "testing/TableEqualityTest.h" #include "io/StorageManager.h" #include "helper.h" namespace hyrise { namespace access { class TpcchQueryTest : public ::testing::TestWithParam<const char*> { protected: virtua...
29.195652
115
0.709605
EvilMcJerkface
4150e609379d49487bc8d87db12fe556f036f16d
12,178
cc
C++
o3d/core/cross/param.cc
rwatson/chromium-capsicum
b03da8e897f897c6ad2cda03ceda217b760fd528
[ "BSD-3-Clause" ]
11
2015-03-20T04:08:08.000Z
2021-11-15T15:51:36.000Z
o3d/core/cross/param.cc
rwatson/chromium-capsicum
b03da8e897f897c6ad2cda03ceda217b760fd528
[ "BSD-3-Clause" ]
null
null
null
o3d/core/cross/param.cc
rwatson/chromium-capsicum
b03da8e897f897c6ad2cda03ceda217b760fd528
[ "BSD-3-Clause" ]
1
2020-04-13T05:45:10.000Z
2020-04-13T05:45:10.000Z
/* * Copyright 2009, Google Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redistributions of source code must retain the above copyright * notice, this list of conditio...
31.963255
80
0.698062
rwatson
a991a8de3f49a29e83eeaf761abe371e1d7450cc
1,013
cpp
C++
PRATICA3/FigGeometricasSemPolimorfismo/ImpPerimArea.cpp
JP-Clemente/INF213_UFV
8d6b3afd02212a0ba58ddaec04df5bb87aef9f5d
[ "MIT" ]
2
2020-11-29T08:06:31.000Z
2020-12-04T13:35:17.000Z
PRATICA3/FigGeometricasSemPolimorfismo/ImpPerimArea.cpp
JP-Clemente/INF213_UFV
8d6b3afd02212a0ba58ddaec04df5bb87aef9f5d
[ "MIT" ]
null
null
null
PRATICA3/FigGeometricasSemPolimorfismo/ImpPerimArea.cpp
JP-Clemente/INF213_UFV
8d6b3afd02212a0ba58ddaec04df5bb87aef9f5d
[ "MIT" ]
null
null
null
#include <iostream> #include <typeinfo> using namespace std; #include "FigBase.h" #include "Retangulo.h" #include "Circulo.h" #include "Segmento.h" int main() { Retangulo r(13, 7, 2, 4, 1, 1, 1); Circulo c(5, 2, 4, 2, 2, 2); Segmento s(3, 7, 8, 5, 3, 3, 3); FigBase *p[5];...
19.113208
89
0.394867
JP-Clemente
a99243b89f2bfa037d035c59fa6944755040f91d
10,563
cpp
C++
GAMES/Bomberboy/Bomberboy/Menu.cpp
prashantkamdar/ESPboy_Arduboy2_lib
ee0483c84c21a235e6930597f7839be30fd7a7b1
[ "MIT" ]
16
2020-03-03T12:58:41.000Z
2022-03-21T06:56:48.000Z
GAMES/Bomberboy/Bomberboy/Menu.cpp
prashantkamdar/ESPboy_Arduboy2_lib
ee0483c84c21a235e6930597f7839be30fd7a7b1
[ "MIT" ]
1
2021-04-25T19:38:21.000Z
2021-04-25T19:38:21.000Z
GAMES/Bomberboy/Bomberboy/Menu.cpp
prashantkamdar/ESPboy_Arduboy2_lib
ee0483c84c21a235e6930597f7839be30fd7a7b1
[ "MIT" ]
5
2020-03-18T13:56:02.000Z
2021-11-23T08:16:02.000Z
#include "Menu.h" #include "assets.h" #include "Game.h" #include "Map.h" #include "Unit.h" #include "Audio.h" namespace Bomberboy { int16_t Menu::m_bomb_speed; int16_t Menu::m_bomb_pos; uint8_t Menu::m_logo_pos; uint8_t Menu::m_button_filter; uint16_t Menu::m_present_time; uint8_t Menu::m_difficult_l...
26.276119
118
0.588753
prashantkamdar
a99328d132759bf00d36b80c9546db8318024d29
3,238
hpp
C++
Viewer/ecflowUI/src/OutputBrowser.hpp
ecmwf/ecflow
2498d0401d3d1133613d600d5c0e0a8a30b7b8eb
[ "Apache-2.0" ]
11
2020-08-07T14:42:45.000Z
2021-10-21T01:59:59.000Z
Viewer/ecflowUI/src/OutputBrowser.hpp
CoollRock/ecflow
db61dddc84d3d2c7dd6af95fd799d717c6bc2a6d
[ "Apache-2.0" ]
10
2020-08-07T14:36:27.000Z
2022-02-22T06:51:24.000Z
Viewer/ecflowUI/src/OutputBrowser.hpp
CoollRock/ecflow
db61dddc84d3d2c7dd6af95fd799d717c6bc2a6d
[ "Apache-2.0" ]
6
2020-08-07T14:34:38.000Z
2022-01-10T12:06:27.000Z
//============================================================================ // Copyright 2009-2020 ECMWF. // This software is licensed under the terms of the Apache Licence version 2.0 // which can be obtained at http://www.apache.org/licenses/LICENSE-2.0. // In applying this licence, ECMWF does not waive the privil...
28.156522
86
0.73008
ecmwf
a9960bc71672ba9ec3b0054870bf2b5f194b1571
3,342
cpp
C++
src/tests/InterpreterTypesTests.cpp
gtirloni/procdraw
34ddb1b96f0f47af7304914e938f53d10ca5478d
[ "Apache-2.0" ]
null
null
null
src/tests/InterpreterTypesTests.cpp
gtirloni/procdraw
34ddb1b96f0f47af7304914e938f53d10ca5478d
[ "Apache-2.0" ]
null
null
null
src/tests/InterpreterTypesTests.cpp
gtirloni/procdraw
34ddb1b96f0f47af7304914e938f53d10ca5478d
[ "Apache-2.0" ]
null
null
null
// Copyright 2020 Simon Bates // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agree...
31.233645
80
0.608019
gtirloni
a996da30dbb9f3932e0418a3cd2e9b5ec9bafd19
1,313
hpp
C++
irohad/ametsuchi/tx_presence_cache_utils.hpp
akshatkarani/iroha
5acef9dd74720c6185360d951e9b11be4ef73260
[ "Apache-2.0" ]
1,467
2016-10-25T12:27:19.000Z
2022-03-28T04:32:05.000Z
irohad/ametsuchi/tx_presence_cache_utils.hpp
akshatkarani/iroha
5acef9dd74720c6185360d951e9b11be4ef73260
[ "Apache-2.0" ]
2,366
2016-10-25T10:07:57.000Z
2022-03-31T22:03:24.000Z
irohad/ametsuchi/tx_presence_cache_utils.hpp
akshatkarani/iroha
5acef9dd74720c6185360d951e9b11be4ef73260
[ "Apache-2.0" ]
662
2016-10-26T04:41:22.000Z
2022-03-31T04:15:02.000Z
/** * Copyright Soramitsu Co., Ltd. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0 */ #ifndef IROHA_TX_PRESENCE_CACHE_UTILS_HPP #define IROHA_TX_PRESENCE_CACHE_UTILS_HPP #include "ametsuchi/tx_cache_response.hpp" #include "common/visitor.hpp" namespace iroha { namespace ametsuchi { /** * De...
29.840909
80
0.657273
akshatkarani
a9997731f37d60997320cd13eef36124e0da00f6
5,206
cpp
C++
src/TravelingSalesman/TravelingSalesmanGui.cpp
Person-93/aima-cpp
08d062dcb971edeaddb9a10083cf6da5a1b869f7
[ "MIT" ]
null
null
null
src/TravelingSalesman/TravelingSalesmanGui.cpp
Person-93/aima-cpp
08d062dcb971edeaddb9a10083cf6da5a1b869f7
[ "MIT" ]
null
null
null
src/TravelingSalesman/TravelingSalesmanGui.cpp
Person-93/aima-cpp
08d062dcb971edeaddb9a10083cf6da5a1b869f7
[ "MIT" ]
null
null
null
#include "TravelingSalesmanGui.hpp" #include <sstream> #include "util/AssetManager.hpp" #include "util/random_string.hpp" #include "util/define_logger.hpp" #include "core/Exception.hpp" #include "IterativeLengtheningAgent.hpp" #include "util/parseTitle.hpp" using namespace aima::traveling_salesman; DEFINE_LOGGER( Tra...
44.87931
118
0.567806
Person-93
a999d1650cbc88f3fea1f2a06d03cbb505c9b939
1,746
cpp
C++
libs/core---stm32/platform.cpp
xmeow/pxt-common-packages
2139799ac3a233addf27798825d3e3dc8c593993
[ "MIT" ]
null
null
null
libs/core---stm32/platform.cpp
xmeow/pxt-common-packages
2139799ac3a233addf27798825d3e3dc8c593993
[ "MIT" ]
null
null
null
libs/core---stm32/platform.cpp
xmeow/pxt-common-packages
2139799ac3a233addf27798825d3e3dc8c593993
[ "MIT" ]
null
null
null
#include "pxt.h" #include "STMLowLevelTimer.h" #include "Accelerometer.h" namespace pxt { STMLowLevelTimer tim5(TIM5, TIM5_IRQn); CODAL_TIMER devTimer(tim5); void initAccelRandom(); static void initRandomSeed() { if (getConfig(CFG_ACCELEROMETER_TYPE, -1) != -1) { initAccelRandom(); } } void platfor...
21.825
70
0.596793
xmeow
a99c2f0094db2c6470a5cf8f2190000e2c45e7be
1,505
cpp
C++
Hubie/src/Hubie/Core/OS/MemoryManager.cpp
realjf/hubie
f4701eea2696e21f975103707ed1b1bf698f9cf2
[ "Apache-2.0" ]
1
2021-10-03T09:38:36.000Z
2021-10-03T09:38:36.000Z
Hubie/src/Hubie/Core/OS/MemoryManager.cpp
realjf/hubie
f4701eea2696e21f975103707ed1b1bf698f9cf2
[ "Apache-2.0" ]
null
null
null
Hubie/src/Hubie/Core/OS/MemoryManager.cpp
realjf/hubie
f4701eea2696e21f975103707ed1b1bf698f9cf2
[ "Apache-2.0" ]
null
null
null
#include "hbpch.h" #include "MemoryManager.h" #include <iomanip> namespace Hubie { MemoryManager* MemoryManager::s_Instance = nullptr; MemoryManager::MemoryManager() { } void MemoryManager::OnInit() { } void MemoryManager::OnShutdown() { if (s_Instance) delete s_Instance; } MemoryManager* MemoryMan...
23.153846
78
0.660465
realjf
a9a06d6bc46edb45f71efd7a6970cfcb59eb061f
1,966
hpp
C++
engine/magic/include/BeamShapeProcessor.hpp
prolog/shadow-of-the-wyrm
a1312c3e9bb74473f73c4e7639e8bd537f10b488
[ "MIT" ]
60
2019-08-21T04:08:41.000Z
2022-03-10T13:48:04.000Z
engine/magic/include/BeamShapeProcessor.hpp
prolog/shadow-of-the-wyrm
a1312c3e9bb74473f73c4e7639e8bd537f10b488
[ "MIT" ]
3
2021-03-18T15:11:14.000Z
2021-10-20T12:13:07.000Z
engine/magic/include/BeamShapeProcessor.hpp
prolog/shadow-of-the-wyrm
a1312c3e9bb74473f73c4e7639e8bd537f10b488
[ "MIT" ]
8
2019-11-16T06:29:05.000Z
2022-01-23T17:33:43.000Z
#pragma once #include <map> #include <vector> #include "SpellShapeProcessor.hpp" // A class for processing beam-type spells. class BeamShapeProcessor : public SpellShapeProcessor { public: BeamShapeProcessor(); protected: virtual std::pair<std::vector<std::pair<Coordinate, TilePtr>>, Animation> get_affected_t...
57.823529
296
0.788911
prolog
a9a14a7133029f95f81b820a9b1cb05e16e8faf3
21,633
cxx
C++
opal-3.16.2/src/codec/rfc4175.cxx
wwl33695/myopal
d302113c8ad8156b3392ce514cde491cf42d51af
[ "MIT" ]
null
null
null
opal-3.16.2/src/codec/rfc4175.cxx
wwl33695/myopal
d302113c8ad8156b3392ce514cde491cf42d51af
[ "MIT" ]
null
null
null
opal-3.16.2/src/codec/rfc4175.cxx
wwl33695/myopal
d302113c8ad8156b3392ce514cde491cf42d51af
[ "MIT" ]
null
null
null
/* * rfc4175.cxx * * RFC4175 transport for uncompressed video * * Open Phone Abstraction Library * * Copyright (C) 2007 Post Increment * * The contents of this file are subject to the Mozilla Public License * Version 1.0 (the "License"); you may not use this file except in * compliance with the License. You ...
31.581022
155
0.661767
wwl33695
a9a29d3146c3ecccba5b43b432a880b39461c87f
363
hpp
C++
testing_utilities/actions.hpp
tnuvoletta/Principia
25cf2fb70c512cf86a842ed525f6ab10e57f937c
[ "MIT" ]
2
2015-02-23T19:32:16.000Z
2015-04-07T03:55:53.000Z
testing_utilities/actions.hpp
tnuvoletta/Principia
25cf2fb70c512cf86a842ed525f6ab10e57f937c
[ "MIT" ]
null
null
null
testing_utilities/actions.hpp
tnuvoletta/Principia
25cf2fb70c512cf86a842ed525f6ab10e57f937c
[ "MIT" ]
null
null
null
#pragma once #include "gmock/gmock.h" namespace principia { namespace testing_utilities { ACTION_TEMPLATE(FillUniquePtr, // Note the comma between int and k: HAS_1_TEMPLATE_PARAMS(int, k), AND_1_VALUE_PARAMS(ptr)) { std::get<k>(args)->reset(ptr); } } // namespace t...
21.352941
52
0.647383
tnuvoletta
a9a3b1a23deb812a131a63e4c77703e2712977ea
22,891
cpp
C++
Samples/54RendererRTT/src/SPRTTShaders.cpp
naetherm/PixelLight
d7666f5b49020334cbb5debbee11030f34cced56
[ "MIT" ]
1
2019-11-09T16:54:04.000Z
2019-11-09T16:54:04.000Z
Samples/54RendererRTT/src/SPRTTShaders.cpp
naetherm/pixelligh
d7666f5b49020334cbb5debbee11030f34cced56
[ "MIT" ]
27
2019-06-18T06:46:07.000Z
2020-02-02T11:11:28.000Z
Samples/54RendererRTT/src/SPRTTShaders.cpp
naetherm/PixelLight
d7666f5b49020334cbb5debbee11030f34cced56
[ "MIT" ]
null
null
null
/*********************************************************\ * File: SPRTTShaders.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...
44.276596
219
0.711153
naetherm
a9aa5767f9ea55455b1231a890f0d75882d03d6d
66,010
cpp
C++
llvm/unittests/Support/CSKYTargetParserTest.cpp
lxbndr/llvm-project
2b715b15f5f4c6dd60f05d1b62f9c404e8b56e34
[ "Apache-2.0" ]
null
null
null
llvm/unittests/Support/CSKYTargetParserTest.cpp
lxbndr/llvm-project
2b715b15f5f4c6dd60f05d1b62f9c404e8b56e34
[ "Apache-2.0" ]
null
null
null
llvm/unittests/Support/CSKYTargetParserTest.cpp
lxbndr/llvm-project
2b715b15f5f4c6dd60f05d1b62f9c404e8b56e34
[ "Apache-2.0" ]
null
null
null
//===-------- CSKYTargetParser.cpp - CSKY Target Parser -------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
57.300347
80
0.486093
lxbndr
a9aa909e724c86ce177eaf1a0c1d27af97f54cb9
31,608
cpp
C++
pass/semantic/tests/lnast_semantic_test.cpp
pbonh/livehd
7aba179a03ebe5f2705e0071c3247fe0a9c5c031
[ "BSD-3-Clause" ]
115
2019-09-28T13:39:41.000Z
2022-03-24T11:08:53.000Z
pass/semantic/tests/lnast_semantic_test.cpp
pbonh/livehd
7aba179a03ebe5f2705e0071c3247fe0a9c5c031
[ "BSD-3-Clause" ]
120
2018-05-16T23:11:09.000Z
2019-09-25T18:52:49.000Z
pass/semantic/tests/lnast_semantic_test.cpp
pbonh/livehd
7aba179a03ebe5f2705e0071c3247fe0a9c5c031
[ "BSD-3-Clause" ]
44
2019-09-28T07:53:21.000Z
2022-02-13T23:21:12.000Z
#include <cstdlib> #include <iostream> #include "fmt/color.h" #include "fmt/core.h" #include "fmt/format.h" #include "fmt/printf.h" #include "lnast.hpp" #include "semantic_check.hpp" int main(void) { int line_num = 33; int pos1 = 103; int pos2 = 130; { Lnast* lnast = new Lnast(); Sem...
52.244628
118
0.705834
pbonh
a9ac2c51d3b38ceed06eda19a04b8fa0fedd25e9
943
cpp
C++
levelRecord.cpp
nflorez89/MushroomGame
717293dee8a9ba5ac71f3b604f17a78d72ddce1d
[ "CC-BY-3.0" ]
null
null
null
levelRecord.cpp
nflorez89/MushroomGame
717293dee8a9ba5ac71f3b604f17a78d72ddce1d
[ "CC-BY-3.0" ]
null
null
null
levelRecord.cpp
nflorez89/MushroomGame
717293dee8a9ba5ac71f3b604f17a78d72ddce1d
[ "CC-BY-3.0" ]
null
null
null
#include "levelRecord.h" //============================================================================= // constructor //============================================================================= LevelRecord::LevelRecord(float l_unitHp, float l_unitAccuracy, float l_unitEvasion, float l_unitDamage, int l_unitMvmtR...
33.678571
224
0.528102
nflorez89
a9ad6de45db08c78be5a44b41d8857a7ffad7248
2,085
cpp
C++
codeforces/F - Guess Divisors Count/Accepted.cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
1
2022-02-11T16:55:36.000Z
2022-02-11T16:55:36.000Z
codeforces/F - Guess Divisors Count/Accepted.cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
null
null
null
codeforces/F - Guess Divisors Count/Accepted.cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
null
null
null
/**************************************************************************************** * @author: kzvd4729 created: May/17/2020 12:25 * solution_verdict: Accepted language: GNU C++14 * run...
25.120482
111
0.469065
kzvd4729
a9ade8d0947a81467183f9cac761079280ea6cc9
7,680
cpp
C++
uebung_8/AStarPlanner.cpp
jWeb94/kit_robotics_1_ws1819
8400cb3484e38092cf87b42945e85bdfa3a3a3db
[ "WTFPL" ]
null
null
null
uebung_8/AStarPlanner.cpp
jWeb94/kit_robotics_1_ws1819
8400cb3484e38092cf87b42945e85bdfa3a3a3db
[ "WTFPL" ]
null
null
null
uebung_8/AStarPlanner.cpp
jWeb94/kit_robotics_1_ws1819
8400cb3484e38092cf87b42945e85bdfa3a3a3db
[ "WTFPL" ]
null
null
null
#include "AStarPlanner.h" using namespace std; AStarPlanner::AStarPlanner(VirtualRobot::RobotPtr robot, VirtualRobot::SceneObjectSetPtr obstacles, float cellSize) : Planner2D(robot, obstacles), cellSize(cellSize) { // Standart-Konstruktor } void AStarPlanner::createUniformGrid() { //+1 for explicit rounding u...
36.571429
199
0.582552
jWeb94
a9ae914c2c06c3b8770e6915e857e5e30954fd66
28,799
cpp
C++
src/mongo/db/pipeline/document_source_merge.cpp
benety/mongo
203430ac9559f82ca01e3cbb3b0e09149fec0835
[ "Apache-2.0" ]
null
null
null
src/mongo/db/pipeline/document_source_merge.cpp
benety/mongo
203430ac9559f82ca01e3cbb3b0e09149fec0835
[ "Apache-2.0" ]
null
null
null
src/mongo/db/pipeline/document_source_merge.cpp
benety/mongo
203430ac9559f82ca01e3cbb3b0e09149fec0835
[ "Apache-2.0" ]
null
null
null
/** * Copyright (C) 2019-present MongoDB, Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the Server Side Public License, version 1, * as published by MongoDB, Inc. * * This program is distributed in the hope that it will be useful, * but W...
48.401681
100
0.668183
benety
a9aff25e65c9977c6ba5a96d517b0ee81d144ffb
1,350
cc
C++
src/mesytec-mvlc/util/protected.test.cc
flueke/mesytec-mvlc
48086db8f7b63fd8adb6215a5d3fdbeaa56d567d
[ "BSL-1.0" ]
null
null
null
src/mesytec-mvlc/util/protected.test.cc
flueke/mesytec-mvlc
48086db8f7b63fd8adb6215a5d3fdbeaa56d567d
[ "BSL-1.0" ]
3
2021-07-15T10:10:19.000Z
2021-08-05T13:47:36.000Z
src/mesytec-mvlc/util/protected.test.cc
flueke/mesytec-mvlc
48086db8f7b63fd8adb6215a5d3fdbeaa56d567d
[ "BSL-1.0" ]
5
2020-09-22T10:21:25.000Z
2022-02-17T15:06:14.000Z
#include "gtest/gtest.h" #include <chrono> #include <future> #include <thread> #include "mesytec-mvlc/util/protected.h" using namespace mesytec::mvlc; struct Object { int value = 0u; }; TEST(util_protected, ProtectedWaitableNotify) { // unlimited wait, immedate async modification of the object { ...
22.131148
78
0.491852
flueke
a9b06cf2fa50457f77fffbe1a7154f5e14f788bd
2,245
hxx
C++
opencascade/MeshVS_TwoNodes.hxx
valgur/OCP
2f7d9da73a08e4ffe80883614aedacb27351134f
[ "Apache-2.0" ]
117
2020-03-07T12:07:05.000Z
2022-03-27T07:35:22.000Z
opencascade/MeshVS_TwoNodes.hxx
CadQuery/cpp-py-bindgen
66e7376d3a27444393fc99acbdbef40bbc7031ae
[ "Apache-2.0" ]
66
2019-12-20T16:07:36.000Z
2022-03-15T21:56:10.000Z
opencascade/MeshVS_TwoNodes.hxx
CadQuery/cpp-py-bindgen
66e7376d3a27444393fc99acbdbef40bbc7031ae
[ "Apache-2.0" ]
76
2020-03-16T01:47:46.000Z
2022-03-21T16:37:07.000Z
// Copyright (c) 1999-2014 OPEN CASCADE SAS // // This file is part of Open CASCADE Technology software library. // // This library is free software; you can redistribute it and/or modify it under // the terms of the GNU Lesser General Public License version 2.1 as published // by the Free Software Foundation, with spe...
38.050847
107
0.699332
valgur
a9b7f18d49684be41eac28923e1d68882bd391dc
1,724
cpp
C++
ERP/inventorycontent.cpp
DSP-Automation/ERP
90626c3f13af2b49884f500568dc909a31fe3751
[ "Apache-2.0" ]
null
null
null
ERP/inventorycontent.cpp
DSP-Automation/ERP
90626c3f13af2b49884f500568dc909a31fe3751
[ "Apache-2.0" ]
null
null
null
ERP/inventorycontent.cpp
DSP-Automation/ERP
90626c3f13af2b49884f500568dc909a31fe3751
[ "Apache-2.0" ]
null
null
null
#include "inventorycontent.h" inventoryContent::inventoryContent(QWidget *parent) : QWidget(parent) { } inventoryContent::~inventoryContent() { } int inventoryContent::readItemsFromDatabase(QString server, QString username, QString password, QString database) { db = QSqlDatabase::addDatabase("QMYSQL"); db.set...
34.48
246
0.662413
DSP-Automation
a9b8f0dd1244cd7717a0ae2194cb5cbbc5a1005e
6,523
cc
C++
lang_id/common/flatbuffers/model-utils.cc
yangzhigang1999/libtextclassifier
4c965f1c12b3c7a37f6126cef737a8fe33f4677c
[ "Apache-2.0" ]
null
null
null
lang_id/common/flatbuffers/model-utils.cc
yangzhigang1999/libtextclassifier
4c965f1c12b3c7a37f6126cef737a8fe33f4677c
[ "Apache-2.0" ]
null
null
null
lang_id/common/flatbuffers/model-utils.cc
yangzhigang1999/libtextclassifier
4c965f1c12b3c7a37f6126cef737a8fe33f4677c
[ "Apache-2.0" ]
1
2021-03-20T03:40:21.000Z
2021-03-20T03:40:21.000Z
// Copyright 2020 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
32.452736
80
0.649394
yangzhigang1999
a9bce2b9aa4174df1695768a22fe3c3b51b2547b
15,058
cpp
C++
Source/ComponentCollider.cpp
Project-3-UPC-DDV-BCN/Project3
3fb345ce49485ccbc7d03fb320623df6114b210c
[ "MIT" ]
10
2018-01-16T16:18:42.000Z
2019-02-19T19:51:45.000Z
Source/ComponentCollider.cpp
Project-3-UPC-DDV-BCN/Project3
3fb345ce49485ccbc7d03fb320623df6114b210c
[ "MIT" ]
136
2018-05-10T08:47:58.000Z
2018-06-15T09:38:10.000Z
Source/ComponentCollider.cpp
Project-3-UPC-DDV-BCN/Project3
3fb345ce49485ccbc7d03fb320623df6114b210c
[ "MIT" ]
1
2018-06-04T17:18:40.000Z
2018-06-04T17:18:40.000Z
#include "ComponentCollider.h" #include "GameObject.h" #include "ComponentRigidBody.h" #include "Application.h" #include "ModulePhysics.h" #include "ComponentMeshRenderer.h" #include "MathGeoLib/AABB.h" #include "Mesh.h" #include "MathGeoLib/Quat.h" #include "PhysicsMaterial.h" #include "ModuleResources.h" #include "Co...
24.564437
137
0.724001
Project-3-UPC-DDV-BCN
a9bd7f6a88642fb8751375cca71e3d3ffb1a960d
14,807
cpp
C++
edge_impulse/ingestion-sdk-platform/sony-spresense/ei_sony_spresense_fs_commands.cpp
AnshumanFauzdar/firmware-sony-spresense
2ccd58a8285b7e8d410fcde144a42237f4c214e1
[ "Apache-2.0" ]
1
2021-11-18T08:04:16.000Z
2021-11-18T08:04:16.000Z
edge_impulse/ingestion-sdk-platform/sony-spresense/ei_sony_spresense_fs_commands.cpp
AnshumanFauzdar/firmware-sony-spresense
2ccd58a8285b7e8d410fcde144a42237f4c214e1
[ "Apache-2.0" ]
1
2022-01-11T15:56:56.000Z
2022-01-11T15:56:56.000Z
edge_impulse/ingestion-sdk-platform/sony-spresense/ei_sony_spresense_fs_commands.cpp
AnshumanFauzdar/firmware-sony-spresense
2ccd58a8285b7e8d410fcde144a42237f4c214e1
[ "Apache-2.0" ]
1
2021-12-30T13:07:44.000Z
2021-12-30T13:07:44.000Z
/* Include ----------------------------------------------------------------- */ #include "ei_sony_spresense_fs_commands.h" #include "ei_device_sony_spresense.h" #define SERIAL_FLASH 0 #define MICRO_SD 1 #define RAM 2 #define SAMPLE_MEMORY MICRO_SD #define SIZE_RAM_BUFFER 0x10000//(0x20000) #define RAM_...
26.921818
115
0.654893
AnshumanFauzdar