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
9636ead876eafc91de59b207332d0fc9cc022aa8
687
hpp
C++
GraphFactory.hpp
mjoc/MPIGraphs
a3b23e38ffd41108833d7d1b87570d298b4fc127
[ "MIT" ]
1
2017-05-17T21:31:30.000Z
2017-05-17T21:31:30.000Z
GraphFactory.hpp
mjoc/MPIGraphs
a3b23e38ffd41108833d7d1b87570d298b4fc127
[ "MIT" ]
null
null
null
GraphFactory.hpp
mjoc/MPIGraphs
a3b23e38ffd41108833d7d1b87570d298b4fc127
[ "MIT" ]
null
null
null
#ifndef __MOC_GRAPH_FACTORY_ #define __MOC_GRAPH_FACTORY_ #include "Graph.hpp" #include <stdexcept> class GraphFactory{ //Graph* createAdjList(){ // return new AdjListGraph(); //} //Graph* createAdjMat(){ // return new AdjMatGraph(); //} Graph* createAdjSMat(){ return new AdjSMatGraph(); } pub...
19.628571
107
0.612809
mjoc
963d7cb137a076704bde412e201620291f918955
5,392
cpp
C++
src/check_particle.cpp
dozzes/open-pic
017b6c07e0020e984175c1e04a9f2d51eefd482c
[ "MIT" ]
8
2015-02-22T15:48:34.000Z
2021-04-25T03:15:47.000Z
src/check_particle.cpp
dozzes/open-pic
017b6c07e0020e984175c1e04a9f2d51eefd482c
[ "MIT" ]
null
null
null
src/check_particle.cpp
dozzes/open-pic
017b6c07e0020e984175c1e04a9f2d51eefd482c
[ "MIT" ]
2
2019-12-12T10:15:18.000Z
2020-01-17T05:15:49.000Z
#include "check_particle.h" #include "opic_fwd.h" #include "config.h" #include "io_utilities.h" #include "grid.h" #include "particles.h" #include "gather_scatter.h" #include "call_lua_function.h" #include <boost/format.hpp> #include <omp.h> #include <stdexcept> /*****************************************...
45.694915
121
0.466432
dozzes
963e6cb9bcbe967bb67aa7a75fa5f9dd122ea074
1,419
cpp
C++
server.cpp
Salamander321/de-poker
7ca89b813940e64df50323468ac6903fb1bb75ac
[ "MIT" ]
null
null
null
server.cpp
Salamander321/de-poker
7ca89b813940e64df50323468ac6903fb1bb75ac
[ "MIT" ]
null
null
null
server.cpp
Salamander321/de-poker
7ca89b813940e64df50323468ac6903fb1bb75ac
[ "MIT" ]
null
null
null
// // Created by salamander on 3/1/19. // #include "Network.h" #include "poker.h" #include <thread> #include <iostream> using namespace std::literals::chrono_literals; int main() { Network Server("Host"); std::thread broadcastMessage(Network::MessageBroadcast); std::thread serverloop(Network::serverLoop);...
22.887097
97
0.615222
Salamander321
96411ca805e6fc7e0b3460c2f08b155d1875cdd7
500
cpp
C++
src/coherence/component/net/extend/protocol/nameservice/NameServiceRequest.cpp
chpatel3/coherence-cpp-extend-client
4ea5267eae32064dff1e73339aa3fbc9347ef0f6
[ "UPL-1.0", "Apache-2.0" ]
6
2020-07-01T21:38:30.000Z
2021-11-03T01:35:11.000Z
src/coherence/component/net/extend/protocol/nameservice/NameServiceRequest.cpp
chpatel3/coherence-cpp-extend-client
4ea5267eae32064dff1e73339aa3fbc9347ef0f6
[ "UPL-1.0", "Apache-2.0" ]
1
2020-07-24T17:29:22.000Z
2020-07-24T18:29:04.000Z
src/coherence/component/net/extend/protocol/nameservice/NameServiceRequest.cpp
chpatel3/coherence-cpp-extend-client
4ea5267eae32064dff1e73339aa3fbc9347ef0f6
[ "UPL-1.0", "Apache-2.0" ]
6
2020-07-10T18:40:58.000Z
2022-02-18T01:23:40.000Z
/* * Copyright (c) 2000, 2020, Oracle and/or its affiliates. * * Licensed under the Universal Permissive License v 1.0 as shown at * http://oss.oracle.com/licenses/upl. */ #include "private/coherence/component/net/extend/protocol/nameservice/NameServiceRequest.hpp" COH_OPEN_NAMESPACE6(coherence,component,net,exte...
27.777778
93
0.674
chpatel3
96426331ed98d0c12d12230606ffbe2e22d927e1
1,215
cpp
C++
project/OFEC_sc2/instance/problem/continuous/multi_modal/CEC2013/f6_shubert.cpp
BaiChunhui-9803/bch_sc2_OFEC
d50211b27df5a51a953a2475b6c292d00cbfeff6
[ "MIT" ]
null
null
null
project/OFEC_sc2/instance/problem/continuous/multi_modal/CEC2013/f6_shubert.cpp
BaiChunhui-9803/bch_sc2_OFEC
d50211b27df5a51a953a2475b6c292d00cbfeff6
[ "MIT" ]
null
null
null
project/OFEC_sc2/instance/problem/continuous/multi_modal/CEC2013/f6_shubert.cpp
BaiChunhui-9803/bch_sc2_OFEC
d50211b27df5a51a953a2475b6c292d00cbfeff6
[ "MIT" ]
null
null
null
#include "f6_shubert.h" #include "../../../../../core/instance_manager.h" namespace OFEC::CEC2013 { void Shubert::initialize_() { Function::initialize_(); auto &v = GET_PARAM(m_id_param); resizeVariable(std::get<int>(v.at("number of variables"))); if (m_num_vars != 2 && m_num_vars != 3) throw MyExcept("nu...
28.928571
124
0.622222
BaiChunhui-9803
9645ef59a229a3210ac7debd916669d850749412
6,222
cpp
C++
src/Plugins/GOAPPlugin/Tasks/TaskPickerableMouseEnter.cpp
Terryhata6/Mengine
dfe36fdc84d7398fbbbd199feffc46c6f157f1d4
[ "MIT" ]
null
null
null
src/Plugins/GOAPPlugin/Tasks/TaskPickerableMouseEnter.cpp
Terryhata6/Mengine
dfe36fdc84d7398fbbbd199feffc46c6f157f1d4
[ "MIT" ]
null
null
null
src/Plugins/GOAPPlugin/Tasks/TaskPickerableMouseEnter.cpp
Terryhata6/Mengine
dfe36fdc84d7398fbbbd199feffc46c6f157f1d4
[ "MIT" ]
null
null
null
#include "TaskPickerableMouseEnter.h" #include "Interface/PickerInterface.h" #include "Engine/HotSpotEventReceiverInterface.h" #include "Kernel/FactorableUnique.h" #include "Kernel/DocumentHelper.h" #include "Kernel/Eventable.h" #include "Kernel/Assertion.h" #include "GOAP/NodeInterface.h" namespace Mengine { ...
28.939535
192
0.516233
Terryhata6
964f65e6b29430467651ac5856ab10e635b4a04d
1,014
hpp
C++
output_widget.hpp
manjunkoh/plotscript
7e4fff5f33ec82a884d211e10d586b1c69e2e5d9
[ "MIT" ]
null
null
null
output_widget.hpp
manjunkoh/plotscript
7e4fff5f33ec82a884d211e10d586b1c69e2e5d9
[ "MIT" ]
null
null
null
output_widget.hpp
manjunkoh/plotscript
7e4fff5f33ec82a884d211e10d586b1c69e2e5d9
[ "MIT" ]
null
null
null
#ifndef OUTPUTWIDGET_H #define OUTPUTWIDGET_H #include <QWidget> #include <QGraphicsView> #include <QGraphicsScene> #include <QLayout> #include <QDebug> #include <QGraphicsTextItem> #include <QFont> #include <QGraphicsItem> #include <QGraphicsEllipseItem> #include <QGraphicsLineItem> #include <QPainter> ...
18.777778
74
0.719921
manjunkoh
965331ef0f31f64b7f0017f1e71c48a99e731221
885
hpp
C++
android-28/android/graphics/drawable/TransitionDrawable.hpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
12
2020-03-26T02:38:56.000Z
2022-03-14T08:17:26.000Z
android-28/android/graphics/drawable/TransitionDrawable.hpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
1
2021-01-27T06:07:45.000Z
2021-11-13T19:19:43.000Z
android-30/android/graphics/drawable/TransitionDrawable.hpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
3
2021-02-02T12:34:55.000Z
2022-03-08T07:45:57.000Z
#pragma once #include "./LayerDrawable.hpp" class JArray; namespace android::graphics { class Canvas; } namespace android::graphics::drawable { class TransitionDrawable : public android::graphics::drawable::LayerDrawable { public: // Fields // QJniObject forward template<typename ...Ts> explicit Transit...
25.285714
194
0.741243
YJBeetle
9657c6920072988dd3ee48b476629d14eb77c7be
1,221
cpp
C++
1631-path-with-minimum-effort/1631-path-with-minimum-effort.cpp
Demesaikiran/LeetCode
4e7903ef012c5da978610de599facfbd821e09ad
[ "MIT" ]
null
null
null
1631-path-with-minimum-effort/1631-path-with-minimum-effort.cpp
Demesaikiran/LeetCode
4e7903ef012c5da978610de599facfbd821e09ad
[ "MIT" ]
null
null
null
1631-path-with-minimum-effort/1631-path-with-minimum-effort.cpp
Demesaikiran/LeetCode
4e7903ef012c5da978610de599facfbd821e09ad
[ "MIT" ]
null
null
null
class Solution { public: int minimumEffortPath(vector<vector<int>>& heights) { const vector<int> directions{0, -1, 0, 1, 0}; const int rows = heights.size(); const int cols = heights[0].size(); using Node = pair<int, int>; priority_queue<Node, vector<Node>, ...
32.131579
71
0.412776
Demesaikiran
96595353bcfc75d3f5e70a89561a0324795a3aab
3,459
cpp
C++
db/src/MySQLConnection.cpp
gavinband/bingwa
d52e166b3bb6bc32cd32ba63bf8a4a147275eca1
[ "BSL-1.0" ]
null
null
null
db/src/MySQLConnection.cpp
gavinband/bingwa
d52e166b3bb6bc32cd32ba63bf8a4a147275eca1
[ "BSL-1.0" ]
null
null
null
db/src/MySQLConnection.cpp
gavinband/bingwa
d52e166b3bb6bc32cd32ba63bf8a4a147275eca1
[ "BSL-1.0" ]
null
null
null
// Copyright Gavin Band 2008 - 2012. // 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) #if 0 #include <iostream> #include <stdint.h> #include <boost/date_time/posix_time/posix_time_types.hpp>...
31.733945
122
0.727089
gavinband
965bd464a3235b546b420b75db1a9282d399e1fa
438
cpp
C++
src/nodes.cpp
justinvanwinkle/suffix_array
ab1f9f17533673f9ece00cf06df69bdc8b7912d7
[ "MIT" ]
null
null
null
src/nodes.cpp
justinvanwinkle/suffix_array
ab1f9f17533673f9ece00cf06df69bdc8b7912d7
[ "MIT" ]
null
null
null
src/nodes.cpp
justinvanwinkle/suffix_array
ab1f9f17533673f9ece00cf06df69bdc8b7912d7
[ "MIT" ]
null
null
null
#include "nodes.hpp" #include "estl.hpp" #include "repeats.hpp" using namespace RepeatFinding; using namespace estl; int main() { strings contents = read_files(glob("~/scratch/target_products_50/*", true)); RepeatFinder rf(contents); // rf.print_repeats(); auto repeats = rf.expanded_repeats(content...
21.9
80
0.664384
justinvanwinkle
96600b55f87e26dcf54301a99979d80f27c7672c
6,094
cpp
C++
cubicvr/source/ParticleSystem.cpp
cjcliffe/CubicVR
2f833c61eb045ff845d2b3b001a02a258337f15c
[ "MIT" ]
48
2015-02-04T09:43:20.000Z
2021-09-29T00:45:28.000Z
cubicvr/source/ParticleSystem.cpp
mcanthony/CubicVR
2f833c61eb045ff845d2b3b001a02a258337f15c
[ "MIT" ]
2
2016-06-08T09:03:52.000Z
2021-04-09T01:01:47.000Z
cubicvr/source/ParticleSystem.cpp
mcanthony/CubicVR
2f833c61eb045ff845d2b3b001a02a258337f15c
[ "MIT" ]
17
2015-07-24T08:28:44.000Z
2021-04-09T02:14:21.000Z
/* This file is part of CubicVR. Copyright (C) 2003 by Charles J. Cliffe 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...
25.078189
101
0.681162
cjcliffe
9660adc9ee84d6732dd2d31a326a101373d7554d
282,976
hpp
C++
Lattices/10_3_d_4x4x4_periodic_10flux_Jz_0.3333333333333333.hpp
timeschmann/Kitaev_QMC_KPM
6dbeceadf93c6319a746fa69e6e780f7570f72d3
[ "MIT" ]
null
null
null
Lattices/10_3_d_4x4x4_periodic_10flux_Jz_0.3333333333333333.hpp
timeschmann/Kitaev_QMC_KPM
6dbeceadf93c6319a746fa69e6e780f7570f72d3
[ "MIT" ]
null
null
null
Lattices/10_3_d_4x4x4_periodic_10flux_Jz_0.3333333333333333.hpp
timeschmann/Kitaev_QMC_KPM
6dbeceadf93c6319a746fa69e6e780f7570f72d3
[ "MIT" ]
null
null
null
#include <armadillo> #include <complex> using namespace arma; sp_cx_mat def_matrix() { sp_cx_mat A(512,512); A(0, 1) = std::complex<double>(0.0, 2.0*-0.3333333333333333); A(1, 0) = -std::complex<double>(0.0, 2.0*-0.3333333333333333); A(0, 5) = std::complex<double>(0.0, 2.0*-0.3333333333333333); A(5, 0)...
34.437873
69
0.548184
timeschmann
966344da13f24f9ae0a040644bd8c0d4eeea302e
3,888
cc
C++
src/server.cc
cbodley/nexus
6e5b19b6c6c74007a0643c55eb0775eb86e38f9b
[ "BSL-1.0" ]
6
2021-10-31T10:33:30.000Z
2022-03-25T20:54:58.000Z
src/server.cc
cbodley/nexus
6e5b19b6c6c74007a0643c55eb0775eb86e38f9b
[ "BSL-1.0" ]
null
null
null
src/server.cc
cbodley/nexus
6e5b19b6c6c74007a0643c55eb0775eb86e38f9b
[ "BSL-1.0" ]
null
null
null
#include <nexus/h3/server.hpp> #include <nexus/h3/stream.hpp> #include <nexus/quic/connection.hpp> #include <nexus/udp.hpp> #include <lsquic.h> namespace nexus { namespace quic { server::server(const executor_type& ex) : engine(ex, nullptr, nullptr, LSENG_SERVER) {} server::server(const executor_type& ex, const ...
17.753425
70
0.677726
cbodley
966d2cff5e3ba0449f9a8ef59fc0a9912c7eb9ed
2,405
hpp
C++
src/Math/XForm/SmoothStartSine.hpp
epicbrownie/Epic
c54159616b899bb24c6d59325d582e73f2803ab6
[ "MIT" ]
null
null
null
src/Math/XForm/SmoothStartSine.hpp
epicbrownie/Epic
c54159616b899bb24c6d59325d582e73f2803ab6
[ "MIT" ]
29
2016-08-01T14:50:12.000Z
2017-12-17T20:28:27.000Z
src/Math/XForm/SmoothStartSine.hpp
epicbrownie/Epic
c54159616b899bb24c6d59325d582e73f2803ab6
[ "MIT" ]
null
null
null
////////////////////////////////////////////////////////////////////////////// // // Copyright (c) 2018 Ronnie Brohn (EpicBrownie) // // Distributed under The MIT License (MIT). // (See accompanying file License.txt or copy at // https://opensource.org/licens...
30.833333
101
0.550104
epicbrownie
9673aa96ac020bff368fc5752d22be3459b55560
4,388
cpp
C++
Includes/sntpClient.cpp
dracc/NevolutionX
a1a9495282cc5516ff17521cd57dc46dfa52b85d
[ "MIT" ]
72
2019-03-28T19:23:52.000Z
2022-03-12T05:58:19.000Z
Includes/sntpClient.cpp
dracc/NevolutionX
a1a9495282cc5516ff17521cd57dc46dfa52b85d
[ "MIT" ]
94
2019-04-30T06:59:43.000Z
2022-02-20T23:06:25.000Z
Includes/sntpClient.cpp
dracc/NevolutionX
a1a9495282cc5516ff17521cd57dc46dfa52b85d
[ "MIT" ]
26
2019-04-27T14:11:11.000Z
2022-03-27T03:18:47.000Z
#include "sntpClient.h" #include <utility> #include "infoLog.h" // clang-format off #ifdef NXDK #include <lwip/netdb.h> static int sntpConnect(std::string const& sntpHost, uint32_t port, struct sockaddr& saddr); #endif // clang-format on // Delta between 1/1/1970 and 1/1/1900. static const uint64_t unixToNTPOffsetSe...
30.054795
92
0.708751
dracc
967775ae7967653b24b01676a4ca24a3e597f5a1
2,031
hpp
C++
SamSrc/sam/Identity.hpp
dirkcgrunwald/SAM
0478925c506ad38fd405954cc4415a3e96e77d90
[ "MIT" ]
null
null
null
SamSrc/sam/Identity.hpp
dirkcgrunwald/SAM
0478925c506ad38fd405954cc4415a3e96e77d90
[ "MIT" ]
null
null
null
SamSrc/sam/Identity.hpp
dirkcgrunwald/SAM
0478925c506ad38fd405954cc4415a3e96e77d90
[ "MIT" ]
null
null
null
#ifndef IDENTITY_HPP #define IDENTITY_HPP /** * Operator that does nothing to the input. */ #include <iostream> #include <map> #include <sam/AbstractConsumer.hpp> #include <sam/BaseComputation.hpp> #include <sam/ExponentialHistogram.hpp> #include <sam/Features.hpp> #include <sam/Util.hpp> #include <sam/FeaturePro...
24.178571
77
0.634663
dirkcgrunwald
967e151f8d970f7afefe61345cd22c7f43ea5e35
2,109
hpp
C++
db/detail/meta_ops.hpp
storm-ptr/bark
e4cd481183aba72ec6cf996eff3ac144c88b79b6
[ "MIT" ]
3
2019-11-05T10:27:35.000Z
2019-12-02T06:25:53.000Z
db/detail/meta_ops.hpp
storm-ptr/bark
e4cd481183aba72ec6cf996eff3ac144c88b79b6
[ "MIT" ]
null
null
null
db/detail/meta_ops.hpp
storm-ptr/bark
e4cd481183aba72ec6cf996eff3ac144c88b79b6
[ "MIT" ]
2
2019-12-01T18:01:02.000Z
2021-04-07T08:34:04.000Z
// Andrew Naplavkov #ifndef BARK_DB_META_OPS_HPP #define BARK_DB_META_OPS_HPP #include <bark/db/meta.hpp> #include <bark/detail/grid.hpp> #include <boost/algorithm/cxx11/any_of.hpp> #include <boost/range/algorithm/find_if.hpp> #include <boost/range/algorithm/search.hpp> #include <cmath> namespace bark::db { inline ...
27.038462
80
0.604552
storm-ptr
967fa9b0029ec233e6ba575294343cb20589ca3a
2,136
cc
C++
curv/arg.cc
iplayfast/curv
e14ff67ba269c630b78be4708454fefcdbfc4378
[ "Apache-2.0" ]
null
null
null
curv/arg.cc
iplayfast/curv
e14ff67ba269c630b78be4708454fefcdbfc4378
[ "Apache-2.0" ]
null
null
null
curv/arg.cc
iplayfast/curv
e14ff67ba269c630b78be4708454fefcdbfc4378
[ "Apache-2.0" ]
null
null
null
// Copyright 2016-2018 Doug Moen // Licensed under the Apache License, version 2.0 // See accompanying file LICENSE or https://www.apache.org/licenses/LICENSE-2.0 #include <cmath> #include <curv/arg.h> #include <curv/exception.h> #include <curv/phrase.h> namespace curv { void At_Arg::get_locations(std::list<Location...
27.384615
79
0.662453
iplayfast
9680614da1b73cd0beb467e5cccd7c16243e521d
18,478
cpp
C++
plugin/hdCycles/attributeSource.cpp
bareya/hdcycles
9ac7be3f53a0a180b4c05460b0ff039e6dc1fb92
[ "Apache-2.0", "BSD-3-Clause" ]
213
2020-08-17T18:55:32.000Z
2021-04-27T02:56:55.000Z
plugin/hdCycles/attributeSource.cpp
MaxSteven/hdBlackbird
e77ca61afc78c376f82abfa4f63ebbba2a4ca8bc
[ "Apache-2.0", "BSD-3-Clause" ]
80
2020-08-18T15:25:07.000Z
2021-05-04T18:20:09.000Z
plugin/hdCycles/attributeSource.cpp
MaxSteven/hdBlackbird
e77ca61afc78c376f82abfa4f63ebbba2a4ca8bc
[ "Apache-2.0", "BSD-3-Clause" ]
22
2020-08-17T21:05:55.000Z
2021-04-16T20:59:58.000Z
// Copyright 2020 Tangent Animation // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or a...
30.045528
176
0.680106
bareya
968382266b6188c2868fc6b70ac732f5c63072af
1,237
cpp
C++
qt/Basis/BasisConsole/containers/sequence/astack.cpp
ArboreusSystems/arboreus_examples
17d39e18f4b2511c19f97d4e6c07ec9d7087fae8
[ "BSD-3-Clause" ]
17
2019-02-19T21:29:22.000Z
2022-01-29T11:03:45.000Z
qt/Basis/BasisConsole/containers/sequence/astack.cpp
MbohBless/arboreus_examples
97f0e25182bbc4b5ffab37c6157514332002aeee
[ "BSD-3-Clause" ]
null
null
null
qt/Basis/BasisConsole/containers/sequence/astack.cpp
MbohBless/arboreus_examples
97f0e25182bbc4b5ffab37c6157514332002aeee
[ "BSD-3-Clause" ]
9
2021-02-21T05:32:23.000Z
2022-02-26T07:51:52.000Z
// ---------------------------------------------------------- /*! \class aStack \title \brief Template file classes/cpp/file.cpp \list \li @notice Template file classes/file.h \li @copyright Arboreus (http://arboreus.systems) \li @author Alexandr Kirilov (http://alexandr.kirilov.me) \li @created 02/08/2019...
16.064935
93
0.564268
ArboreusSystems
96875a1927d0c5a95428675c9641569452b37e9c
1,955
cpp
C++
ql/currencies/africa.cpp
kkirchhoff01/QuantLib
6d1815642d2cdfa37a561d3e23de2c9f375f2f5b
[ "BSD-3-Clause" ]
10
2018-06-15T12:33:31.000Z
2022-01-16T11:33:16.000Z
ql/currencies/africa.cpp
kkirchhoff01/QuantLib
6d1815642d2cdfa37a561d3e23de2c9f375f2f5b
[ "BSD-3-Clause" ]
17
2020-11-23T07:24:16.000Z
2022-03-28T10:29:06.000Z
ql/currencies/africa.cpp
fabianfh/QuantLib
44230ddeb91629015ff6ff9aa079b07912dd2002
[ "BSD-3-Clause" ]
9
2016-03-12T18:11:39.000Z
2022-01-16T11:33:27.000Z
/* -*- mode: c++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* Copyright (C) 2004, 2005 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 redistribu...
33.706897
98
0.598465
kkirchhoff01
96884eddefeafefc634234fd94d0e85bdb24d10d
2,987
cpp
C++
src/gl_test/test_Texture.cpp
russkev/opengl
73417d1697d1964cfa001efc8e54eb90da95ed6e
[ "MIT" ]
5
2020-03-26T11:55:55.000Z
2021-07-30T04:14:21.000Z
src/gl_test/test_Texture.cpp
russkev/opengl
73417d1697d1964cfa001efc8e54eb90da95ed6e
[ "MIT" ]
3
2020-12-05T06:02:07.000Z
2021-06-02T03:42:34.000Z
src/gl_test/test_Texture.cpp
russkev/opengl
73417d1697d1964cfa001efc8e54eb90da95ed6e
[ "MIT" ]
null
null
null
#include "pch.h" #include "CppUnitTest.h" #include "shading/Texture.h" #include "render/Window.h" #include "material/Material.h" using namespace Microsoft::VisualStudio::CppUnitTestFramework; namespace gl_test { TEST_CLASS(Texture) { static GLint check_texture_binding(const GLuint id) { glBindTexture(GL_TEX...
27.40367
89
0.688986
russkev
f7b3e1674473d9a03a5771fd8349712093c071b3
585
cpp
C++
Hackerrank/Sock Merchant.cpp
SurgicalSteel/Competitive-Programming
3662b676de94796f717b25dc8d1b93c6851fb274
[ "MIT" ]
14
2016-02-11T09:26:13.000Z
2022-03-27T01:14:29.000Z
Hackerrank/Sock Merchant.cpp
SurgicalSteel/Competitive-Programming
3662b676de94796f717b25dc8d1b93c6851fb274
[ "MIT" ]
null
null
null
Hackerrank/Sock Merchant.cpp
SurgicalSteel/Competitive-Programming
3662b676de94796f717b25dc8d1b93c6851fb274
[ "MIT" ]
7
2016-10-25T19:29:35.000Z
2021-12-05T18:31:39.000Z
#include <bits/stdc++.h> using namespace std; #define psb push_back int main() { int n,x,c=0; scanf("%d",&n); vector<int> idx,ctr; vector<int>::iterator iter; int ar[n]; while(n--) { scanf("%d",&ar[c]); iter = find(idx.begin(),idx.end(),ar[c]); if(iter==idx.end()) ...
20.892857
49
0.459829
SurgicalSteel
f7b624594e637ac530d652e206c645a646f40e60
861
cpp
C++
object oriented programming/comparisonoperatoroverloading.cpp
ayaankhan98/C-Progamming_basics
0aba46dfe91986e30151bed54eaa7f66d0486c5e
[ "MIT" ]
null
null
null
object oriented programming/comparisonoperatoroverloading.cpp
ayaankhan98/C-Progamming_basics
0aba46dfe91986e30151bed54eaa7f66d0486c5e
[ "MIT" ]
null
null
null
object oriented programming/comparisonoperatoroverloading.cpp
ayaankhan98/C-Progamming_basics
0aba46dfe91986e30151bed54eaa7f66d0486c5e
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; class Distance { private: int feet; float inches; public: Distance(): feet(0), inches(0.0) // NO argument constructor {} Distance(int f, float i): feet(f), inches(i) // two argument constructor {} void get_dist() { cout<<endl<<"======...
19.568182
77
0.562137
ayaankhan98
f7bd599817a2b1e5da6114faf3f1f18f04ee0180
1,036
cpp
C++
Milestone1 - Goldman Sachs/c. Subarray_Product.cpp
hariketsheth/6Companies30Days
57b5935445dbbb778f0b7022174f16828fe33f98
[ "MIT" ]
17
2022-01-01T19:51:10.000Z
2022-01-21T11:27:23.000Z
Milestone1 - Goldman Sachs/c. Subarray_Product.cpp
hariketsheth/6Companies30Days
57b5935445dbbb778f0b7022174f16828fe33f98
[ "MIT" ]
null
null
null
Milestone1 - Goldman Sachs/c. Subarray_Product.cpp
hariketsheth/6Companies30Days
57b5935445dbbb778f0b7022174f16828fe33f98
[ "MIT" ]
5
2022-01-04T08:52:28.000Z
2022-01-28T18:36:37.000Z
/* Problem Link: https://practice.geeksforgeeks.org/problems/count-the-subarrays-having-product-less-than-k1708/1/ Title: Count the subarrays having product less than k Difficulty: Hard Author: Hariket Sukesh Kumar Sheth Language: C++ */ #include <bits/stdc++.h> using namespace std; class Solution{ public: int ...
23.022222
111
0.513514
hariketsheth
f7bdaae2a0e5b342c573faf96219922312cd72f7
2,799
hpp
C++
SDK/ARKSurvivalEvolved_Task_StunIceKaiju_classes.hpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
10
2020-02-17T19:08:46.000Z
2021-07-31T11:07:19.000Z
SDK/ARKSurvivalEvolved_Task_StunIceKaiju_classes.hpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
9
2020-02-17T18:15:41.000Z
2021-06-06T19:17:34.000Z
SDK/ARKSurvivalEvolved_Task_StunIceKaiju_classes.hpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
3
2020-07-22T17:42:07.000Z
2021-06-19T17:16:13.000Z
#pragma once // ARKSurvivalEvolved (329.9) SDK #ifdef _MSC_VER #pragma pack(push, 0x8) #endif #include "ARKSurvivalEvolved_Task_StunIceKaiju_structs.hpp" namespace sdk { //--------------------------------------------------------------------------- //Classes //-------------------------------------------------------...
54.882353
192
0.58378
2bite
f7c1d0c530a69571a57504b67b365960d42ccae1
3,070
cc
C++
code/foundation/http/httpnzstream.cc
gscept/nebula-trifid
e7c0a0acb05eedad9ed37a72c1bdf2d658511b42
[ "BSD-2-Clause" ]
67
2015-03-30T19:56:16.000Z
2022-03-11T13:52:17.000Z
code/foundation/http/httpnzstream.cc
gscept/nebula-trifid
e7c0a0acb05eedad9ed37a72c1bdf2d658511b42
[ "BSD-2-Clause" ]
5
2015-04-15T17:17:33.000Z
2016-02-11T00:40:17.000Z
code/foundation/http/httpnzstream.cc
gscept/nebula-trifid
e7c0a0acb05eedad9ed37a72c1bdf2d658511b42
[ "BSD-2-Clause" ]
34
2015-03-30T15:08:00.000Z
2021-09-23T05:55:10.000Z
//------------------------------------------------------------------------------ // httpnzstream.cc // (C) 2009 Radon Labs GmbH // (C) 2013-2016 Individual contributors, see AUTHORS file //------------------------------------------------------------------------------ #include "stdneb.h" #include "http/httpnzstream.h...
29.238095
107
0.509446
gscept
f7c2f2737807cd621de64f1de546cdb1bf61685b
33,627
cpp
C++
OpenGLEngine/Include/React3D/constraint/HingeJoint.cpp
sh960440/Reality-Game-Engine
9a079a9b32e8c739e5dae9c33c9924fb84ccc8a5
[ "MIT" ]
3
2021-02-21T02:59:28.000Z
2022-03-21T22:32:22.000Z
OpenGLEngine/Include/React3D/constraint/HingeJoint.cpp
sh960440/Reality-Game-Engine
9a079a9b32e8c739e5dae9c33c9924fb84ccc8a5
[ "MIT" ]
1
2020-03-01T20:31:05.000Z
2020-03-01T20:31:05.000Z
OpenGLEngine/Include/React3D/constraint/HingeJoint.cpp
sh960440/Reality-Game-Engine
9a079a9b32e8c739e5dae9c33c9924fb84ccc8a5
[ "MIT" ]
13
2020-01-17T09:30:37.000Z
2020-02-27T01:10:10.000Z
/******************************************************************************** * ReactPhysics3D physics library, http://www.reactphysics3d.com * * Copyright (c) 2010-2019 Daniel Chappuis * **************************************************************************...
42.086358
107
0.661641
sh960440
f7c8b850cf3fb97342c36f66df6c6f33d281519b
964
hpp
C++
src/core/stores/player_weight.hpp
svendcsvendsen/judoassistant
453211bff86d940c2b2de6f9eea2aabcdab830fa
[ "MIT" ]
3
2019-04-26T17:48:24.000Z
2021-11-08T20:21:51.000Z
src/core/stores/player_weight.hpp
svendcsvendsen/judoassistant
453211bff86d940c2b2de6f9eea2aabcdab830fa
[ "MIT" ]
90
2019-04-25T17:23:10.000Z
2022-02-12T19:49:55.000Z
src/core/stores/player_weight.hpp
judoassistant/judoassistant
3b200d3e35d9aff16ba224e6071ee9d888a5a03c
[ "MIT" ]
null
null
null
#pragma once #include "core/core.hpp" #include "core/serialize.hpp" class PlayerWeight { public: PlayerWeight() {} PlayerWeight(const PlayerWeight &other) = default; PlayerWeight(float weight); PlayerWeight(const std::string &str); std::string toString() const; float toFloat() const; boo...
20.510638
73
0.639004
svendcsvendsen
f7cbf80d9f6dfd584905473b73bb81a52817a3f5
1,521
cpp
C++
4.Dynamic-Programming/20.Building-Up/UVa 11404 - Palindromic Subsequence.cpp
mograby3500/psolving-paradigms
073aa13bc9ee1eb2bf77dd7054388f93bd98d8da
[ "MIT" ]
22
2021-07-01T00:27:15.000Z
2021-08-10T11:20:22.000Z
4.dynamic-programming/20.building-up/UVa 11404 - Palindromic Subsequence.cpp
AHR9N/Solving-Paradigms
d1baa51df262170c9b7cc802ea2f9f1ccfc6a427
[ "MIT" ]
null
null
null
4.dynamic-programming/20.building-up/UVa 11404 - Palindromic Subsequence.cpp
AHR9N/Solving-Paradigms
d1baa51df262170c9b7cc802ea2f9f1ccfc6a427
[ "MIT" ]
2
2022-01-30T23:25:17.000Z
2022-02-05T14:47:51.000Z
#include "bits/stdc++.h" #pragma GCC optimize("Ofast") #pragma GCC optimize("-O2") using namespace std; using ll = long long; using ld = long double; int dx[] = {1, -1, 0, 0, -1, -1, 1, 1}; int dy[] = {0, 0, 1, -1, -1, 1, -1, 1}; const int N = 1e3 + 5, M = 2e6 + 10, MOD = 1e9 + 7, OO = 0x3f3f3f3f; string s, t; int ...
21.125
78
0.487179
mograby3500
f7d07b07ee94bbbffab122b606e567b22aaa95d0
6,124
cc
C++
toolbox/src/acme_line.cc
StoccoDavide/ddd
673a96628dc0aa606e86252f1daf4611d9a83486
[ "BSD-2-Clause" ]
1
2021-04-16T09:17:10.000Z
2021-04-16T09:17:10.000Z
toolbox/src/acme_line.cc
StoccoDavide/ddd
673a96628dc0aa606e86252f1daf4611d9a83486
[ "BSD-2-Clause" ]
null
null
null
toolbox/src/acme_line.cc
StoccoDavide/ddd
673a96628dc0aa606e86252f1daf4611d9a83486
[ "BSD-2-Clause" ]
1
2021-11-24T08:06:28.000Z
2021-11-24T08:06:28.000Z
/* (***********************************************************************) (* *) (* The ACME project *) (* *) (* Copyright (c) 2020...
24.301587
118
0.319236
StoccoDavide
f7d4968e6e0a765620df22777a145a7a6f71a7db
13,972
cpp
C++
mpp/legacy/vpu_api_mlvec.cpp
Fruit-Pi/mpp
dd7097fbab86eeed807e177620212847a9bc8f70
[ "Apache-2.0" ]
312
2016-12-26T12:32:03.000Z
2022-03-29T13:37:59.000Z
mpp/legacy/vpu_api_mlvec.cpp
Fruit-Pi/mpp
dd7097fbab86eeed807e177620212847a9bc8f70
[ "Apache-2.0" ]
271
2017-01-12T03:59:31.000Z
2022-03-31T02:26:45.000Z
mpp/legacy/vpu_api_mlvec.cpp
Fruit-Pi/mpp
dd7097fbab86eeed807e177620212847a9bc8f70
[ "Apache-2.0" ]
195
2016-12-01T07:22:01.000Z
2022-03-30T23:09:00.000Z
/* * Copyright 2020 Rockchip Electronics 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...
31.257271
94
0.580518
Fruit-Pi
f7d5574781c899f9b9704edde577eaed87346c8f
2,850
cpp
C++
src/filesystem/FileSystem.cpp
ErnestasJa/TheEngine2
a16778e18b844c2044cf3bab31f661c1fb3da840
[ "MIT" ]
2
2015-12-16T22:02:53.000Z
2018-04-10T14:43:26.000Z
src/filesystem/FileSystem.cpp
ErnestasJa/TheEngine2
a16778e18b844c2044cf3bab31f661c1fb3da840
[ "MIT" ]
48
2015-12-20T14:23:49.000Z
2016-07-18T12:15:37.000Z
src/filesystem/FileSystem.cpp
ErnestasJa/TheEngine2
a16778e18b844c2044cf3bab31f661c1fb3da840
[ "MIT" ]
1
2015-12-20T14:30:26.000Z
2015-12-20T14:30:26.000Z
#include "FileSystem.h" #include "FileReader.h" #include "FileWriter.h" #include "filesystem/Path.h" #include "physfs/src/physfs.h" namespace io { core::UniquePtr<IFileSystem> CreateFileSystem(const Path& argv0) { auto fs = new FileSystem(); auto fsPtr = core::UniquePtr<IFileSystem>(fs); if (fs->Init(argv0))...
20.357143
99
0.696842
ErnestasJa
f7da95c50926633aa8691d2a9ca0963497737dba
2,305
cpp
C++
BachelorAlgorithmsBenchmark/bidirectional-dijkstra/BidirectionalDijkstra.cpp
Naitoreivun/bachelor
3a77b52cd3581ac31bbbc41c76352e02b33545df
[ "Apache-2.0" ]
null
null
null
BachelorAlgorithmsBenchmark/bidirectional-dijkstra/BidirectionalDijkstra.cpp
Naitoreivun/bachelor
3a77b52cd3581ac31bbbc41c76352e02b33545df
[ "Apache-2.0" ]
null
null
null
BachelorAlgorithmsBenchmark/bidirectional-dijkstra/BidirectionalDijkstra.cpp
Naitoreivun/bachelor
3a77b52cd3581ac31bbbc41c76352e02b33545df
[ "Apache-2.0" ]
null
null
null
#include "BidirectionalDijkstra.h" #include <set> LL bidirectionalDijkstra(vector<BidiVertex *> &graph, BidiVertex *source, BidiVertex *target) { if (source == target) { return 0ll; } set<BidiVertex *, BidiVertexDijkstraForwardComparator> forwardQueue; set<BidiVertex *, BidiVertexDijkstraBackw...
31.575342
106
0.566594
Naitoreivun
f7db7eb3d5dc2ef9dbd871bc6f8f6b1bf8d61575
772
hpp
C++
include/rpipicosdkal/core/definitions/fwd.hpp
bkozdras/picosdkal
1830a2b0296510a5d40a69d22d9a21618d664528
[ "MIT" ]
null
null
null
include/rpipicosdkal/core/definitions/fwd.hpp
bkozdras/picosdkal
1830a2b0296510a5d40a69d22d9a21618d664528
[ "MIT" ]
null
null
null
include/rpipicosdkal/core/definitions/fwd.hpp
bkozdras/picosdkal
1830a2b0296510a5d40a69d22d9a21618d664528
[ "MIT" ]
null
null
null
/**********************************************************************************/ /* Copyright by @bkozdras <b.kozdras@gmail.com> */ /* Version: 1.0 */ /* Licence: MIT ...
30.88
84
0.439119
bkozdras
f7dce1e5447054e98e45015b73dd6bae3b7dc925
1,585
cpp
C++
Maximum Product Subarray/maxProduct.cpp
somnusfish/leetcode
eae387efd76159bc63948235fd1cb7d56f45335e
[ "MIT" ]
3
2015-07-29T08:28:33.000Z
2016-04-23T11:35:33.000Z
Maximum Product Subarray/maxProduct.cpp
somnusfish/leetcode
eae387efd76159bc63948235fd1cb7d56f45335e
[ "MIT" ]
null
null
null
Maximum Product Subarray/maxProduct.cpp
somnusfish/leetcode
eae387efd76159bc63948235fd1cb7d56f45335e
[ "MIT" ]
null
null
null
class Solution { public: int myMax(int a, int b, int c){ if(a > b){ if(a >c){ return a; } else{ return c; } } else{ if(b > c){ return b; } else{ ...
21.418919
76
0.295899
somnusfish
f7e26c07eb46a3af86d5b1399ac7b30e5024f6ac
27,642
cpp
C++
coreLibrary_200/source/core/dgSphere.cpp
rastullahs-lockenpracht/newton
99b82478f3de9ee7c8d17c8ebefe62e46283d857
[ "Zlib" ]
null
null
null
coreLibrary_200/source/core/dgSphere.cpp
rastullahs-lockenpracht/newton
99b82478f3de9ee7c8d17c8ebefe62e46283d857
[ "Zlib" ]
null
null
null
coreLibrary_200/source/core/dgSphere.cpp
rastullahs-lockenpracht/newton
99b82478f3de9ee7c8d17c8ebefe62e46283d857
[ "Zlib" ]
null
null
null
/* Copyright (c) <2003-2011> <Julio Jerez, Newton Game Dynamics> * * This software is provided 'as-is', without any express or implied * warranty. In no event will the authors be held liable for any damages * arising from the use of this software. * * Permission is granted to anyone to use this software f...
29.005247
131
0.621771
rastullahs-lockenpracht
f7e3450757123bdf8bf03596278cfa9ed2d82653
1,098
hpp
C++
include/doxygen.hpp
antenous/image
7743a31d87bae1b76efdd4023f21d0f861093057
[ "BSD-3-Clause" ]
null
null
null
include/doxygen.hpp
antenous/image
7743a31d87bae1b76efdd4023f21d0f861093057
[ "BSD-3-Clause" ]
null
null
null
include/doxygen.hpp
antenous/image
7743a31d87bae1b76efdd4023f21d0f861093057
[ "BSD-3-Clause" ]
null
null
null
/** * @mainpage * * @section introdunction_sec Introduction * * <b>image</b> is a project for running conversions between <i>bitmap</i> (BMP) * and <i>direct draw surface</i> (DDS) file formats. * * @section running_sec Running * * Running the conversions is simply done by giving the name of the file to * co...
36.6
80
0.724954
antenous
f7e5a54c24ad59a1414b58ab74350d42e5bb1ca2
30,697
cpp
C++
src/prod/src/Reliability/Replication/SecondaryReplicationReceiver.cpp
AnthonyM/service-fabric
c396ea918714ea52eab9c94fd62e018cc2e09a68
[ "MIT" ]
2,542
2018-03-14T21:56:12.000Z
2019-05-06T01:18:20.000Z
src/prod/src/Reliability/Replication/SecondaryReplicationReceiver.cpp
AnthonyM/service-fabric
c396ea918714ea52eab9c94fd62e018cc2e09a68
[ "MIT" ]
994
2019-05-07T02:39:30.000Z
2022-03-31T13:23:04.000Z
src/prod/src/Reliability/Replication/SecondaryReplicationReceiver.cpp
AnthonyM/service-fabric
c396ea918714ea52eab9c94fd62e018cc2e09a68
[ "MIT" ]
300
2018-03-14T21:57:17.000Z
2019-05-06T20:07:00.000Z
// ------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See License.txt in the repo root for license information. // ------------------------------------------------------------ #include "stdafx.h" namespace...
37.618873
271
0.681141
AnthonyM
f7f7d8613ca02570cb1119e1a03c663609f1a874
11,943
cc
C++
core/dtx/dtx_check_rw.cc
minghust/ford
7c5506dc58bc2defb542ab194c9ac8663e042ed5
[ "Apache-2.0" ]
29
2022-01-10T02:02:41.000Z
2022-03-27T13:02:27.000Z
core/dtx/dtx_check_rw.cc
minghust/ford
7c5506dc58bc2defb542ab194c9ac8663e042ed5
[ "Apache-2.0" ]
null
null
null
core/dtx/dtx_check_rw.cc
minghust/ford
7c5506dc58bc2defb542ab194c9ac8663e042ed5
[ "Apache-2.0" ]
4
2022-02-21T14:18:01.000Z
2022-03-30T11:13:34.000Z
// Author: Ming Zhang // Copyright (c) 2022 #include "dtx/dtx.h" #include "util/timer.h" /*-------------------------------------------------------------------------------------------*/ bool DTX::CheckCasRW(std::vector<CasRead>& pending_cas_rw, std::list<HashRead>& pending_next_hash_rw, std::list<InsertOffRead>& pend...
42.501779
188
0.638282
minghust
f7f88bcbb4b92e4e8d6ff394521d3f710c983bc8
17,965
cc
C++
wrspice/devlib/jfet/jfetload.cc
wrcad/xictools
f46ba6d42801426739cc8b2940a809b74f1641e2
[ "Apache-2.0" ]
73
2017-10-26T12:40:24.000Z
2022-03-02T16:59:43.000Z
wrspice/devlib/jfet/jfetload.cc
chris-ayala/xictools
4ea72c118679caed700dab3d49a8d36445acaec3
[ "Apache-2.0" ]
12
2017-11-01T10:18:22.000Z
2022-03-20T19:35:36.000Z
wrspice/devlib/jfet/jfetload.cc
chris-ayala/xictools
4ea72c118679caed700dab3d49a8d36445acaec3
[ "Apache-2.0" ]
34
2017-10-06T17:04:21.000Z
2022-02-18T16:22:03.000Z
/*========================================================================* * * * Distributed by Whiteley Research Inc., Sunnyvale, California, USA * * http://wrcad.com * * Copyright (...
40.736961
77
0.473142
wrcad
7902e2c2b8dfc9fdfcc99186045f3aee24e69611
299
cpp
C++
MetaheuristicsCLI.Evaluations/RealConstraints.cpp
kommar/metaheuristics-lab
6fce305b1f347eae44ac615a474d96b497264141
[ "MIT" ]
null
null
null
MetaheuristicsCLI.Evaluations/RealConstraints.cpp
kommar/metaheuristics-lab
6fce305b1f347eae44ac615a474d96b497264141
[ "MIT" ]
null
null
null
MetaheuristicsCLI.Evaluations/RealConstraints.cpp
kommar/metaheuristics-lab
6fce305b1f347eae44ac615a474d96b497264141
[ "MIT" ]
null
null
null
#include "RealConstraints.h" using namespace ConstraintsCLI; CRealConstraint::CRealConstraint(Constraints::IConstraint<double> &cNativeRealConstraint) : c_native_real_constraint(cNativeRealConstraint) { }//CRealConstraint::CRealConstraint(Constraints::IConstraint<double> &cNativeRealConstraint)
33.222222
92
0.849498
kommar
790aa1115f4c60a4e0816ef1bc5a6d7cdad14ddc
358
cpp
C++
opencl/source/dll/linux/allocator_helper.cpp
lukaszgotszaldintel/compute-runtime
9b12dc43904806db07616ffb8b1c4495aa7d610f
[ "MIT" ]
1
2019-03-01T13:54:45.000Z
2019-03-01T13:54:45.000Z
opencl/source/dll/linux/allocator_helper.cpp
lukaszgotszaldintel/compute-runtime
9b12dc43904806db07616ffb8b1c4495aa7d610f
[ "MIT" ]
5
2019-03-26T17:26:07.000Z
2021-03-30T12:17:10.000Z
opencl/source/dll/linux/allocator_helper.cpp
lukaszgotszaldintel/compute-runtime
9b12dc43904806db07616ffb8b1c4495aa7d610f
[ "MIT" ]
4
2018-05-09T10:04:27.000Z
2018-07-12T13:33:31.000Z
/* * Copyright (C) 2018-2020 Intel Corporation * * SPDX-License-Identifier: MIT * */ #include "shared/source/os_interface/linux/allocator_helper.h" #include "shared/source/helpers/aligned_memory.h" #include "shared/source/helpers/basic_math.h" namespace NEO { size_t getSizeToReserve() { return (maxNBitValu...
17.9
62
0.717877
lukaszgotszaldintel
790e830a8100109a1e8c866e38c5892f0183fea5
2,188
hpp
C++
sci/libsci/routerproc.hpp
hongsenliu/cloudland
81a9394f6e74658141ee66557731985f80a9f6ab
[ "Apache-2.0" ]
69
2019-04-17T04:03:31.000Z
2021-11-08T10:29:54.000Z
sci/libsci/routerproc.hpp
hongsenliu/cloudland
81a9394f6e74658141ee66557731985f80a9f6ab
[ "Apache-2.0" ]
113
2019-04-13T06:46:32.000Z
2021-11-02T01:45:06.000Z
sci/libsci/routerproc.hpp
hongsenliu/cloudland
81a9394f6e74658141ee66557731985f80a9f6ab
[ "Apache-2.0" ]
46
2019-04-17T04:03:36.000Z
2021-09-26T13:11:37.000Z
#ifndef _PRAGMA_COPYRIGHT_ #define _PRAGMA_COPYRIGHT_ #pragma comment(copyright, "%Z% %I% %W% %D% %T%\0") #endif /* _PRAGMA_COPYRIGHT_ */ /**************************************************************************** * Copyright (c) 2008, 2010 IBM Corporation. * All rights reserved. This program and the accompanying ma...
26.682927
77
0.597349
hongsenliu
79111b85f1cbcef958ae6416e143ca18cc1422a3
961
hpp
C++
libs/core/include/fcppt/algorithm/loop_break_tuple.hpp
freundlich/fcppt
17df1b1ad08bf2435f6902d5465e3bc3fe5e3022
[ "BSL-1.0" ]
13
2015-02-21T18:35:14.000Z
2019-12-29T14:08:29.000Z
libs/core/include/fcppt/algorithm/loop_break_tuple.hpp
cpreh/fcppt
17df1b1ad08bf2435f6902d5465e3bc3fe5e3022
[ "BSL-1.0" ]
5
2016-08-27T07:35:47.000Z
2019-04-21T10:55:34.000Z
libs/core/include/fcppt/algorithm/loop_break_tuple.hpp
freundlich/fcppt
17df1b1ad08bf2435f6902d5465e3bc3fe5e3022
[ "BSL-1.0" ]
8
2015-01-10T09:22:37.000Z
2019-12-01T08:31:12.000Z
// Copyright Carl Philipp Reh 2009 - 2021. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) #ifndef FCPPT_ALGORITHM_LOOP_BREAK_TUPLE_HPP_INCLUDED #define FCPPT_ALGORITHM_LOOP_BREAK_TUPLE_HPP_...
30.03125
87
0.761707
freundlich
7911444a614d420aed6d95ab89a05150f8ef8ac7
545
cpp
C++
Learning/Relevant learning 1 (v1).cpp
AG-Systems/ComplexBrute
10576677592674d01955e29e1c59d7b654e4df23
[ "MIT", "Unlicense" ]
null
null
null
Learning/Relevant learning 1 (v1).cpp
AG-Systems/ComplexBrute
10576677592674d01955e29e1c59d7b654e4df23
[ "MIT", "Unlicense" ]
null
null
null
Learning/Relevant learning 1 (v1).cpp
AG-Systems/ComplexBrute
10576677592674d01955e29e1c59d7b654e4df23
[ "MIT", "Unlicense" ]
null
null
null
#include <iostream> using namespace std; int main () { int y, n; int result; std::cout << "Do you want to see meepo dance?" << endl; cin >> result; std::cout << result << std::endl; //cin >> type; if (result == 'y') std::cout << "SANDSTORM DUDUDUDUDUDUDUDUDUDUDUDUDUDUDUDUDUDUDUDUDUDUDUDUDUDUDUDUDUDUDUDUDUDUD"...
21.8
104
0.616514
AG-Systems
7912fc3bec8f42e060e50be4aa50e4a410186bf2
438
hpp
C++
Source/xsite_ue/include/interface.hpp
bnlrnz/xsite_ue
574e9336a3bdc031543d74d3b74c4b5ac37f4300
[ "MIT" ]
1
2021-10-20T22:55:12.000Z
2021-10-20T22:55:12.000Z
vrpn/python/include/interface.hpp
deakinshaun/UniCAVE-Deakin
8dc184d7dd598d4554627b8564cae99975ef3dc2
[ "MIT" ]
null
null
null
vrpn/python/include/interface.hpp
deakinshaun/UniCAVE-Deakin
8dc184d7dd598d4554627b8564cae99975ef3dc2
[ "MIT" ]
null
null
null
#ifndef __VRPN_PYTHON_INTERFACE_HPP__ #define __VRPN_PYTHON_INTERFACE_HPP__ #include <Python.h> namespace vrpn_python { namespace receiver { bool init_types(); void add_types(PyObject* module); } namespace sender { bool init_types(); void add_types(PyObject* module); } namespace quaternion...
18.25
46
0.723744
bnlrnz
79144c8c50af9403fdd3ebada2dd89b3bfff7801
2,253
cpp
C++
Redneck/ReInputStream.cpp
MurielSoftware/Muriel
169ab5a96e1cf70b47f7892906a3dca2d6481ae3
[ "Apache-2.0" ]
1
2017-03-01T12:15:27.000Z
2017-03-01T12:15:27.000Z
Redneck/ReInputStream.cpp
MurielSoftware/Muriel
169ab5a96e1cf70b47f7892906a3dca2d6481ae3
[ "Apache-2.0" ]
1
2017-03-01T12:19:17.000Z
2017-03-01T12:19:52.000Z
Redneck/ReInputStream.cpp
MurielSoftware/Muriel
169ab5a96e1cf70b47f7892906a3dca2d6481ae3
[ "Apache-2.0" ]
null
null
null
#include "stdafx.h" #include "ReInputStream.h" #include <fstream> using namespace std; namespace Redneck { InputStream::InputStream() { } InputStream::InputStream(const string& path) { ifstream input(path); if (!input.is_open()) { return; } _source = string((istreambuf_iterat...
17.068182
103
0.51842
MurielSoftware
79159e49090c0ab02d8e6f02b460bc6158d2de50
1,193
hpp
C++
scratch/accelerated_pi_cam/camera_settings.hpp
2535Rover/RoverSystem
300dd4d754bac2e4caff25ed1da244c109d289be
[ "Apache-2.0" ]
1
2018-10-16T02:32:49.000Z
2018-10-16T02:32:49.000Z
scratch/accelerated_pi_cam/camera_settings.hpp
2535Rover/RoverSystem
300dd4d754bac2e4caff25ed1da244c109d289be
[ "Apache-2.0" ]
13
2018-10-23T20:35:10.000Z
2018-11-23T22:44:32.000Z
scratch/accelerated_pi_cam/camera_settings.hpp
2535Rover/RoverSystem
300dd4d754bac2e4caff25ed1da244c109d289be
[ "Apache-2.0" ]
1
2018-10-16T03:11:39.000Z
2018-10-16T03:11:39.000Z
#ifndef CAMERA_SETTINGS_H #define CAMERA_SETTINGS_H #include <IL/OMX_Broadcom.h> class CameraSettings { public: OMX_U32 width = 1920; OMX_U32 height = 1080; OMX_U32 framerate = 30; OMX_U32 bitrate = 17000000; OMX_S32 sharpness = 0; OMX_S32 contrast = 0; OMX_S32 saturation = 0; OMX_U32 brightness = 50; OMX_ME...
26.511111
70
0.7829
2535Rover
791a2e524f52b1d3c7a3ee699d5309d2a9d26d12
331
cc
C++
src/disk.cc
lollek/Rogue14
f730fc4fcad56fdabf5e0a257e371b437e2c789d
[ "BSD-3-Clause" ]
1
2016-10-12T20:55:49.000Z
2016-10-12T20:55:49.000Z
src/disk.cc
lollek/Rogue14
f730fc4fcad56fdabf5e0a257e371b437e2c789d
[ "BSD-3-Clause" ]
99
2015-04-22T18:46:52.000Z
2016-02-07T14:59:49.000Z
src/disk.cc
lollek/Misty-Mountains
f730fc4fcad56fdabf5e0a257e371b437e2c789d
[ "BSD-3-Clause" ]
null
null
null
#include "disk.h" using namespace std; void Disk::save_tag(tag_type tag, ofstream& data) { data.write(reinterpret_cast<char*>(&tag), sizeof(tag)); } bool Disk::load_tag(tag_type tag, ifstream& data) { tag_type loaded_tag; data.read(reinterpret_cast<char*>(&loaded_tag), sizeof(loaded_tag)); return loaded_tag ...
22.066667
70
0.722054
lollek
791a5854a10465fe7c81bc5bba0fa7bdd2543c71
40,580
hpp
C++
include/bsl/span.hpp
Bareflank/dynarray
6509cfff948fa34b98585512d7be33a36e2f9522
[ "MIT" ]
52
2019-10-28T19:05:52.000Z
2022-03-31T18:04:47.000Z
include/bsl/span.hpp
Bareflank/dynarray
6509cfff948fa34b98585512d7be33a36e2f9522
[ "MIT" ]
44
2019-11-01T16:53:36.000Z
2022-02-24T07:52:08.000Z
include/bsl/span.hpp
Bareflank/dynarray
6509cfff948fa34b98585512d7be33a36e2f9522
[ "MIT" ]
5
2019-10-28T19:05:53.000Z
2021-07-28T20:20:42.000Z
/// @copyright /// Copyright (C) 2020 Assured Information Security, Inc. /// /// @copyright /// 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 limita...
38.721374
95
0.55308
Bareflank
791c89168cdbf0e8559f186c4f78d7614cea7bd1
1,424
cpp
C++
Code/ControlGUI/serial_test.cpp
nathandunk/RobotControl
b356e8e3d4ac4232c230b8e7546d2448647f6387
[ "MIT" ]
null
null
null
Code/ControlGUI/serial_test.cpp
nathandunk/RobotControl
b356e8e3d4ac4232c230b8e7546d2448647f6387
[ "MIT" ]
null
null
null
Code/ControlGUI/serial_test.cpp
nathandunk/RobotControl
b356e8e3d4ac4232c230b8e7546d2448647f6387
[ "MIT" ]
null
null
null
#include "Windows.h" #include <tchar.h> #include <iostream> #include <stdio.h> int main(int argc, char const *argv[]){ HANDLE hSerial; hSerial = CreateFile(_T("COM8"), GENERIC_READ | GENERIC_WRITE, 0, 0, OP...
27.921569
82
0.600421
nathandunk
7923fe43032ea227373f3b9c4f25a36e6a477574
679
cpp
C++
2.6/Post_Office.cpp
tangxiangru/NOIP
6c756df37e5cb6105f5d5eb0fd9b03a4ef8407e4
[ "MIT" ]
1
2020-10-12T12:00:08.000Z
2020-10-12T12:00:08.000Z
2.6/Post_Office.cpp
tangxiangru/NOIP
6c756df37e5cb6105f5d5eb0fd9b03a4ef8407e4
[ "MIT" ]
null
null
null
2.6/Post_Office.cpp
tangxiangru/NOIP
6c756df37e5cb6105f5d5eb0fd9b03a4ef8407e4
[ "MIT" ]
null
null
null
#include<iostream> #include<cstdio> #include<cstring> #include<cmath> #include<algorithm> using namespace std; const int inf=1000000000; int b[301][301],a[500],dp[301][301],m,n,ans; int main(){ cin>>n>>m; for(int i=1;i<=n;i++) cin>>a[i]; for(int i=1;i<=n;i++){ for(int j=i+1;j<=n;j++) b[i][j]=inf; for(int j=1;j<=m;j++) ...
17.410256
44
0.544919
tangxiangru
7929819e04cba730ad751bbf61ff4b8677baf9d4
1,168
cc
C++
orly/var/mutation.test.cc
orlyatomics/orly
d413f999f51a8e553832dab4e3baa7ca68928840
[ "Apache-2.0" ]
69
2015-01-06T05:12:57.000Z
2021-11-06T20:34:10.000Z
orly/var/mutation.test.cc
waderly/orly
9d7660ea9d07591f8cc6b1b92d8e6c3b8b78eeee
[ "Apache-2.0" ]
5
2015-07-09T02:21:50.000Z
2021-08-13T11:10:26.000Z
orly/var/mutation.test.cc
waderly/orly
9d7660ea9d07591f8cc6b1b92d8e6c3b8b78eeee
[ "Apache-2.0" ]
15
2015-01-23T13:34:05.000Z
2020-06-15T16:46:50.000Z
/* <orly/var/mutation.test.cc> Unit test for <orly/var/mutation.h> Copyright 2010-2014 OrlyAtomics, 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/...
30.736842
79
0.712329
orlyatomics
7929a9d292c32f614931a7594f26c1ddacd3c255
1,213
cpp
C++
OOP - Laborator 3/Problema 1/Problema 1/Math.cpp
alexrobert02/oop-2022
277655132fb8618b1ce1bd4bb53edc147a53028b
[ "MIT" ]
null
null
null
OOP - Laborator 3/Problema 1/Problema 1/Math.cpp
alexrobert02/oop-2022
277655132fb8618b1ce1bd4bb53edc147a53028b
[ "MIT" ]
null
null
null
OOP - Laborator 3/Problema 1/Problema 1/Math.cpp
alexrobert02/oop-2022
277655132fb8618b1ce1bd4bb53edc147a53028b
[ "MIT" ]
null
null
null
#include "Math.h" #include <cstdio> #include <string.h> #include <stdarg.h> int Math::Add(int x, int y) { return x + y; } int Math::Add(int x, int y, int z) { return x + y + z; } int Math::Add(double x, double y) { return x + y; } int Math::Add(double x, double y, double z) { return x + y + z; } in...
18.953125
50
0.474856
alexrobert02
792ce24cf1cf612c3930490c98c1cdac55b9e8a2
931
cpp
C++
Part I The Basics/4. Computation/Try This/Try This 5.cpp
furkanicer/Programming-Principles-and-Practice-Using-Cpp-
25f7228892e73684e1d558eaf0ff2a222d48f614
[ "MIT" ]
1
2019-03-06T21:04:57.000Z
2019-03-06T21:04:57.000Z
Part I The Basics/4. Computation/Try This/Try This 5.cpp
furkanicer/Programming-Principles-and-Practice-Using-Cpp-
25f7228892e73684e1d558eaf0ff2a222d48f614
[ "MIT" ]
null
null
null
Part I The Basics/4. Computation/Try This/Try This 5.cpp
furkanicer/Programming-Principles-and-Practice-Using-Cpp-
25f7228892e73684e1d558eaf0ff2a222d48f614
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; char start_chr = 'a'; char u_start_chr = 'A'; char digit_start = '0'; int main() { // lower case letters for (int i = 0; i <= 25; ++i) { char next_chr = char(start_chr + i); int chr_integer_val = next_chr; cout << next_chr << " " << chr_integer_val << endl; } ...
19.808511
80
0.641246
furkanicer
79301b29e2d6d89ef1b1729d103f0f2152e8ce77
14,062
cpp
C++
Server/src/modules/SD3/scripts/kalimdor/temple_of_ahnqiraj/instance_temple_of_ahnqiraj.cpp
ZON3DEV/wow-vanilla
7b6f03c3e1e7d8dd29a92ba77ed021e5913e5e9f
[ "OpenSSL" ]
null
null
null
Server/src/modules/SD3/scripts/kalimdor/temple_of_ahnqiraj/instance_temple_of_ahnqiraj.cpp
ZON3DEV/wow-vanilla
7b6f03c3e1e7d8dd29a92ba77ed021e5913e5e9f
[ "OpenSSL" ]
null
null
null
Server/src/modules/SD3/scripts/kalimdor/temple_of_ahnqiraj/instance_temple_of_ahnqiraj.cpp
ZON3DEV/wow-vanilla
7b6f03c3e1e7d8dd29a92ba77ed021e5913e5e9f
[ "OpenSSL" ]
null
null
null
/** * ScriptDev3 is an extension for mangos providing enhanced features for * area triggers, creatures, game objects, instances, items, and spells beyond * the default database scripting in mangos. * * Copyright (C) 2006-2013 ScriptDev2 <http://www.scriptdev2.com/> * Copyright (C) 2014-2022 MaNGOS <https://getma...
32.778555
138
0.512445
ZON3DEV
a6b4b78716aa00e5ac15edd8628e4af25eb70d5f
538
hpp
C++
glm/simd/simd.hpp
sdragonx/glm
c9a228195ddd246160af60e85f515d48de7fa24a
[ "MIT" ]
1
2022-01-10T11:44:34.000Z
2022-01-10T11:44:34.000Z
glm/simd/simd.hpp
sdragonx/glm
c9a228195ddd246160af60e85f515d48de7fa24a
[ "MIT" ]
null
null
null
glm/simd/simd.hpp
sdragonx/glm
c9a228195ddd246160af60e85f515d48de7fa24a
[ "MIT" ]
null
null
null
/* Copyright (c) 2005-2020 sdragonx (mail:sdragonx@foxmail.com) simd.hpp 2021-11-18 18:29:20 */ #ifndef GLM_SIMD_HPP_20211118182920 #define GLM_SIMD_HPP_20211118182920 #include "../detail/setup.hpp" #define GLM_ENABLE_INSTRUCTIONS #if defined(__SSE2__) #define GLM_HAVE_INSTRUCTIONS #...
19.214286
98
0.736059
sdragonx
a6bbb2b2a6fc4de9cebd5480da457318c75bd665
2,309
hh
C++
src/c++/libexec/fastaDump/FastaDumper.hh
sequencing/EAGLE
6da0438c1f7620ea74dec1f34baf20bb0b14b110
[ "BSD-3-Clause" ]
28
2015-05-22T16:03:29.000Z
2022-01-15T12:12:46.000Z
src/c++/libexec/fastaDump/FastaDumper.hh
sequencing/EAGLE
6da0438c1f7620ea74dec1f34baf20bb0b14b110
[ "BSD-3-Clause" ]
15
2015-10-21T11:19:09.000Z
2020-07-15T05:01:12.000Z
src/c++/libexec/fastaDump/FastaDumper.hh
sequencing/EAGLE
6da0438c1f7620ea74dec1f34baf20bb0b14b110
[ "BSD-3-Clause" ]
8
2017-01-21T00:31:17.000Z
2018-08-12T13:28:57.000Z
/** ** Copyright (c) 2014 Illumina, Inc. ** ** This file is part of Illumina's Enhanced Artificial Genome Engine (EAGLE), ** covered by the "BSD 2-Clause License" (see accompanying LICENSE file) ** ** \description Top level component to dump a reference. ** ** \author Mauricio Varea **/ #ifndef EAGLE_MAIN_FAS...
26.54023
141
0.634907
sequencing
a6bbb3e63b5420ab2fcd08fe8bdf740dd19888d6
459
cpp
C++
lc/st/0021.cpp
Aeon113/Notes
2fd9c9f7a94d79deacd9c6ae3edc13da11cb3a04
[ "BSD-3-Clause" ]
null
null
null
lc/st/0021.cpp
Aeon113/Notes
2fd9c9f7a94d79deacd9c6ae3edc13da11cb3a04
[ "BSD-3-Clause" ]
null
null
null
lc/st/0021.cpp
Aeon113/Notes
2fd9c9f7a94d79deacd9c6ae3edc13da11cb3a04
[ "BSD-3-Clause" ]
null
null
null
class Solution { public: vector<int> exchange(vector<int>& nums) { int size = nums.size(); if (!size) return nums; int left = 0, right = size - 1; for (;;) { while (left < right && nums[left] % 2) ++left; while (left < right && !(nums[right] % 2)) --right; if (left < right) { int tmp =...
16.392857
45
0.520697
Aeon113
a6bfd95ca85744225cbd661e58873a6e1cd77651
777
cpp
C++
src/storage/test/unit/src/model/Co2DataModelTest.cpp
karz0n/sensority-collector
0d71a2855fa7fcff9c11475dbf1832a598421949
[ "MIT" ]
null
null
null
src/storage/test/unit/src/model/Co2DataModelTest.cpp
karz0n/sensority-collector
0d71a2855fa7fcff9c11475dbf1832a598421949
[ "MIT" ]
null
null
null
src/storage/test/unit/src/model/Co2DataModelTest.cpp
karz0n/sensority-collector
0d71a2855fa7fcff9c11475dbf1832a598421949
[ "MIT" ]
null
null
null
#include <gtest/gtest.h> #include <gmock/gmock.h> #include "storage/model/Co2DataModel.hpp" using namespace testing; using namespace storage; static Matcher<Co2Data> matchTo(float value, float accuracy, float equivalent) { return AllOf(Field(&Co2Data::equivalent, FloatEq(equivalent)), Field(&Co2...
28.777778
94
0.66538
karz0n
a6c43ea30d3651ce1e63bc77de80f743c7668bc0
2,013
cpp
C++
EngineTest/EngineTest/Source/MenuSpawnerComponent.cpp
mattCasanova/Mach5
0d98a092bee4c38816911c118fd6552a40850201
[ "MIT" ]
16
2017-06-30T12:49:24.000Z
2021-01-23T17:39:35.000Z
EngineTest/EngineTest/Source/MenuSpawnerComponent.cpp
mattCasanova/Mach5
0d98a092bee4c38816911c118fd6552a40850201
[ "MIT" ]
2
2017-03-09T20:35:26.000Z
2020-03-20T01:09:40.000Z
EngineTest/EngineTest/Source/MenuSpawnerComponent.cpp
mattCasanova/Mach5
0d98a092bee4c38816911c118fd6552a40850201
[ "MIT" ]
2
2018-10-21T01:33:17.000Z
2020-03-19T09:30:19.000Z
/******************************************************************************/ /*! \file MenuSpawnerComponent.cpp \author Matt Casanova \par email: lazersquad\@gmail.com \par Mach5 Game Engine \date 2016/10/18 Base graphics component. For now it just contains a texture. */ /*********************...
26.486842
81
0.639344
mattCasanova
a6c6b824c202e54c35a8b8047057b6ed233305fb
12,553
cpp
C++
ps/ParticleSystem.cpp
Andrewich/deadjustice
48bea56598e79a1a10866ad41aa3517bf7d7c724
[ "BSD-3-Clause" ]
3
2019-04-20T10:16:36.000Z
2021-03-21T19:51:38.000Z
ps/ParticleSystem.cpp
Andrewich/deadjustice
48bea56598e79a1a10866ad41aa3517bf7d7c724
[ "BSD-3-Clause" ]
null
null
null
ps/ParticleSystem.cpp
Andrewich/deadjustice
48bea56598e79a1a10866ad41aa3517bf7d7c724
[ "BSD-3-Clause" ]
2
2020-04-18T20:04:24.000Z
2021-09-19T05:07:41.000Z
#include "ParticleSystem.h" #include "Shape.h" #include "Force.h" #include "swapRemove.h" #include <sg/Camera.h> #include <lang/Math.h> #include <lang/Float.h> #include <util/Vector.h> #include <math/Vector3.h> #include <math/Matrix4x4.h> #include <assert.h> #include "config.h" //-------------------------...
25.566191
162
0.655063
Andrewich
a6cb8502e0884f71fe332b4d7051472c198cbc82
4,688
cpp
C++
PluginControlInterfaceGeneric/src/CAmMainConnectionActionDisconnect.cpp
sathallasuresh/AudioManagerPlugins
72a88ac2b967ef3941dd12350397246d28c78e9d
[ "MIT" ]
null
null
null
PluginControlInterfaceGeneric/src/CAmMainConnectionActionDisconnect.cpp
sathallasuresh/AudioManagerPlugins
72a88ac2b967ef3941dd12350397246d28c78e9d
[ "MIT" ]
null
null
null
PluginControlInterfaceGeneric/src/CAmMainConnectionActionDisconnect.cpp
sathallasuresh/AudioManagerPlugins
72a88ac2b967ef3941dd12350397246d28c78e9d
[ "MIT" ]
null
null
null
/****************************************************************************** * @file: CAmMainConenctionActionDisconnect.cpp * * This file contains the definition of main connection action disconnect class * (member functions and data members) used to implement the logic of disconnect * at main connection level ...
33.726619
123
0.662543
sathallasuresh
a6cf2de3f92f28e0454c1eda122d55ef33cb473a
4,189
cc
C++
burger/rpc/RpcChannel.cc
BurgerGroup/Burger
b9159ea8855122a32091d40eb24439456f8879a9
[ "MIT" ]
30
2021-05-07T16:54:30.000Z
2022-03-12T01:55:49.000Z
burger/rpc/RpcChannel.cc
chanchann/Burger
b9159ea8855122a32091d40eb24439456f8879a9
[ "MIT" ]
1
2021-07-27T16:27:14.000Z
2021-07-27T16:27:14.000Z
burger/rpc/RpcChannel.cc
chanchann/Burger
b9159ea8855122a32091d40eb24439456f8879a9
[ "MIT" ]
9
2021-06-07T09:20:46.000Z
2022-03-01T06:30:36.000Z
#include "RpcChannel.h" #include "burger/rpc/rpcHeader.pb.h" #include "burger/rpc/RpcController.h" #include "burger/base/Log.h" #include "burger/base/Config.h" #include <sys/types.h> #include <sys/socket.h> #include <arpa/inet.h> #include <netinet/in.h> #include <unistd.h> using namespace burger; using namespace burge...
32.726563
106
0.612795
BurgerGroup
a6d0d15c4f6f42d4a850ae52c5e7e137e6f94536
5,811
cpp
C++
test/src/imaging/ossim-band-lut-test.cpp
vladislav-horbatiuk/ossim
82417ad868fac022672335e1684bdd91d662c18c
[ "MIT" ]
251
2015-10-20T09:08:11.000Z
2022-03-22T18:16:38.000Z
test/src/imaging/ossim-band-lut-test.cpp
IvanLJF/ossim
2e0143f682b9884a09ff2598ef8737f29e44fbdf
[ "MIT" ]
73
2015-11-02T17:12:36.000Z
2021-11-15T17:41:47.000Z
test/src/imaging/ossim-band-lut-test.cpp
IvanLJF/ossim
2e0143f682b9884a09ff2598ef8737f29e44fbdf
[ "MIT" ]
146
2015-10-15T16:00:15.000Z
2022-03-22T12:37:14.000Z
//---------------------------------------------------------------------------- // // License: See top level LICENSE.txt file. // // Author: Oscar Kramer // // Description: Test of ossimBandLutFilter. // // $Id$ //---------------------------------------------------------------------------- #include <iostream> using n...
29.055
111
0.613664
vladislav-horbatiuk
a6d851023f237bf5de995a229f0809e6f9673e29
4,436
cc
C++
code/render/graphics/cameraentity.cc
gscept/nebula-trifid
e7c0a0acb05eedad9ed37a72c1bdf2d658511b42
[ "BSD-2-Clause" ]
67
2015-03-30T19:56:16.000Z
2022-03-11T13:52:17.000Z
code/render/graphics/cameraentity.cc
gscept/nebula-trifid
e7c0a0acb05eedad9ed37a72c1bdf2d658511b42
[ "BSD-2-Clause" ]
5
2015-04-15T17:17:33.000Z
2016-02-11T00:40:17.000Z
code/render/graphics/cameraentity.cc
gscept/nebula-trifid
e7c0a0acb05eedad9ed37a72c1bdf2d658511b42
[ "BSD-2-Clause" ]
34
2015-03-30T15:08:00.000Z
2021-09-23T05:55:10.000Z
//------------------------------------------------------------------------------ // cameraentity.cc // (C) 2007 Radon Labs GmbH // (C) 2013-2016 Individual contributors, see AUTHORS file //------------------------------------------------------------------------------ #include "stdneb.h" #include "graphics/cameraenti...
27.899371
139
0.514202
gscept
a6dcbbeb06c3937239069e9deba45b0309dfb1ab
713
cpp
C++
p761/p761.cpp
suzyz/leetcode_practice
e22dc5a81e065dc962e5561b14ac84b9a2302e8a
[ "MIT" ]
1
2019-10-07T05:00:21.000Z
2019-10-07T05:00:21.000Z
p761/p761.cpp
suzyz/leetcode_practice
e22dc5a81e065dc962e5561b14ac84b9a2302e8a
[ "MIT" ]
null
null
null
p761/p761.cpp
suzyz/leetcode_practice
e22dc5a81e065dc962e5561b14ac84b9a2302e8a
[ "MIT" ]
null
null
null
// Recursion. Very intersting. class Solution { public: string makeLargestSpecial(string S) { int n = S.length(); if (n == 0) return S; int count = 0, st = 0; vector<string> strs; for (int en = 0; en < n; ++en) { if (S[en] == '1') ...
19.805556
58
0.413745
suzyz
a6dd71b9a1b88ae8a392c5f896b79c890a86bcc6
1,034
cpp
C++
src/BaseClasses/BaseImage.cpp
edubrunaldi/poker-bot
b851aa86c73a5b1b6c586439fbc01ccecac8c0f1
[ "MIT" ]
null
null
null
src/BaseClasses/BaseImage.cpp
edubrunaldi/poker-bot
b851aa86c73a5b1b6c586439fbc01ccecac8c0f1
[ "MIT" ]
null
null
null
src/BaseClasses/BaseImage.cpp
edubrunaldi/poker-bot
b851aa86c73a5b1b6c586439fbc01ccecac8c0f1
[ "MIT" ]
2
2019-09-08T10:40:21.000Z
2021-01-06T16:17:37.000Z
// // Created by xima on 07/07/19. // #include "../../includes/BaseClasses/BaseImage.hpp" /** * Retorna coodenadas da resolucao da tela do momento * */ int BaseImage::convertCropSizeToScreenSize(size_t i, CoordinateScreenEnum type) { switch (type) { case pointX: return (i * 1920) / screenShotPosition[2...
26.512821
81
0.66441
edubrunaldi
a6e3cfc5568c0ed356e05afd580404797e14caae
11,862
cpp
C++
Classes/CPP engine/Collisions/E_Maths.cpp
Jeanmilost/iLaby3D
e0b87859d96e7a1a68915aafdb7fbaef36b934c4
[ "MIT" ]
null
null
null
Classes/CPP engine/Collisions/E_Maths.cpp
Jeanmilost/iLaby3D
e0b87859d96e7a1a68915aafdb7fbaef36b934c4
[ "MIT" ]
null
null
null
Classes/CPP engine/Collisions/E_Maths.cpp
Jeanmilost/iLaby3D
e0b87859d96e7a1a68915aafdb7fbaef36b934c4
[ "MIT" ]
null
null
null
/***************************************************************************** * ==> E_Maths --------------------------------------------------------------* * *************************************************************************** * Description : Basic mathematics for 3D engine * * D...
37.537975
80
0.383915
Jeanmilost
a6e80f83db8107cbadd935f98bdf0169aabb5e82
3,238
cpp
C++
tools/clang/tools/extra/clangd/index/FileIndex.cpp
GoSSIP-SJTU/TripleDoggy
03648d6b19c812504b14e8b98c8c7b3f443f4e54
[ "Apache-2.0" ]
171
2018-09-17T13:15:12.000Z
2022-03-18T03:47:04.000Z
tools/clang/tools/extra/clangd/index/FileIndex.cpp
Ewenwan/TripleDoggy
01db804b6570b1e25e29a387aa2addb68b48335f
[ "Apache-2.0" ]
7
2018-10-05T04:54:18.000Z
2020-10-02T07:58:13.000Z
tools/clang/tools/extra/clangd/index/FileIndex.cpp
Ewenwan/TripleDoggy
01db804b6570b1e25e29a387aa2addb68b48335f
[ "Apache-2.0" ]
35
2018-09-18T07:46:53.000Z
2022-03-27T07:59:48.000Z
//===--- FileIndex.cpp - Indexes for files. ------------------------ C++-*-===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
33.040816
80
0.681285
GoSSIP-SJTU
a6e9c7aa1c0842bed757f66c67c7f1b191396a84
3,083
hpp
C++
include/System/Net/Cache/RequestCacheBinding.hpp
RedBrumbler/virtuoso-codegen
e83f6f0f9b47bec4b6dd976b21edc1d46bf3cfe3
[ "Unlicense" ]
null
null
null
include/System/Net/Cache/RequestCacheBinding.hpp
RedBrumbler/virtuoso-codegen
e83f6f0f9b47bec4b6dd976b21edc1d46bf3cfe3
[ "Unlicense" ]
null
null
null
include/System/Net/Cache/RequestCacheBinding.hpp
RedBrumbler/virtuoso-codegen
e83f6f0f9b47bec4b6dd976b21edc1d46bf3cfe3
[ "Unlicense" ]
null
null
null
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "beatsaber-hook/shared/utils/typedefs.h" #include "beatsaber-hook/shared/utils/byref.hpp" // Completed includes // Begin forward declares // For...
40.565789
153
0.725268
RedBrumbler
a6ebd4afffbc956d7853858468d5a3d819dbeb8c
2,107
hpp
C++
src/include/server.hpp
AndrSar/scgicxx
7ef793fd245ea8b629eb966fc1f3466c29c914e7
[ "BSL-1.0" ]
null
null
null
src/include/server.hpp
AndrSar/scgicxx
7ef793fd245ea8b629eb966fc1f3466c29c914e7
[ "BSL-1.0" ]
null
null
null
src/include/server.hpp
AndrSar/scgicxx
7ef793fd245ea8b629eb966fc1f3466c29c914e7
[ "BSL-1.0" ]
null
null
null
// Copyright Andrey Lifanov 2017. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) #pragma once #define ASIO_STANDALONE #define ASIO_HAS_STD_ARRAY #include "asio.hpp" #include "scgi_proto...
25.385542
84
0.705268
AndrSar
a6f1f3e0a099dca105ccc6f76bf432cd7a734c8b
1,931
cpp
C++
Plugins/Pixel2D/Source/Pixel2DEditor/Private/Pixel2DAnimGraph/Pixel2DAnimGraphNode_AssetPlayerBase.cpp
UnderGround-orchestra-band/SuperRogue
65a520ac6ccf859c5994e429ffe915e9ff6f1028
[ "MIT" ]
1
2021-12-18T13:50:51.000Z
2021-12-18T13:50:51.000Z
Plugins/Pixel2D/Source/Pixel2DEditor/Private/Pixel2DAnimGraph/Pixel2DAnimGraphNode_AssetPlayerBase.cpp
UnderGround-orchestra-band/SuperRogue
65a520ac6ccf859c5994e429ffe915e9ff6f1028
[ "MIT" ]
1
2021-11-30T08:09:46.000Z
2021-11-30T08:09:46.000Z
Plugins/Pixel2D/Source/Pixel2DEditor/Private/Pixel2DAnimGraph/Pixel2DAnimGraphNode_AssetPlayerBase.cpp
UnderGround-orchestra-band/SuperRogue
65a520ac6ccf859c5994e429ffe915e9ff6f1028
[ "MIT" ]
null
null
null
// Copyright 1998-2018 Epic Games, Inc. All Rights Reserved. #include "Pixel2DAnimGraphNode_AssetPlayerBase.h" #include "EdGraphSchema_K2.h" #include "Pixel2DAnimGraphNode_AssetSprite.h" void UPixel2DAnimGraphNode_AssetPlayerBase::PinConnectionListChanged(UEdGraphPin* Pin) { Super::PinConnectionListChanged(Pin); i...
29.257576
103
0.763335
UnderGround-orchestra-band
a6f620568741afa16e0f931b6d6882f1b439b417
440
cc
C++
cxx/general/src/GeneralParticleSource.cc
Zelenyy/phd-code
d5b8bfefd2418a915dde89f7da2cb6683f438556
[ "MIT" ]
null
null
null
cxx/general/src/GeneralParticleSource.cc
Zelenyy/phd-code
d5b8bfefd2418a915dde89f7da2cb6683f438556
[ "MIT" ]
null
null
null
cxx/general/src/GeneralParticleSource.cc
Zelenyy/phd-code
d5b8bfefd2418a915dde89f7da2cb6683f438556
[ "MIT" ]
null
null
null
// // Created by mihail on 24.05.17. // #include "GeneralParticleSource.hh" #include "G4GeneralParticleSource.hh" using namespace CLHEP; GeneralParticleSource::GeneralParticleSource() { particleSource = new G4GeneralParticleSource(); } GeneralParticleSource::~GeneralParticleSource() { delete particleSource;...
20.952381
63
0.777273
Zelenyy
4701a624b62ae056bd1a896154d2ac12d67254f3
8,100
cpp
C++
Samsung SWC/Rare Elements.cpp
sankalpmittal1911-BitSian/Competitive-Coding
eac5b4f465083e27496a0711a527d67ab657a35c
[ "MIT" ]
null
null
null
Samsung SWC/Rare Elements.cpp
sankalpmittal1911-BitSian/Competitive-Coding
eac5b4f465083e27496a0711a527d67ab657a35c
[ "MIT" ]
null
null
null
Samsung SWC/Rare Elements.cpp
sankalpmittal1911-BitSian/Competitive-Coding
eac5b4f465083e27496a0711a527d67ab657a35c
[ "MIT" ]
null
null
null
/*Samsung wants to explore some of the rare elements for its semiconductor manufacturing. Scientists use one vehicle to explore the region in order to find the rare elements. The vehicle can move only in explored region where roads have already been constructed. The vehicle cannot move on unexplored region where roads ...
24.923077
465
0.560123
sankalpmittal1911-BitSian
47033501c34fef3b031316710b2ac0da32b35410
2,821
cpp
C++
Client/Trap.cpp
sangshub/55231
1f31ab8610999856e932bac9327255475f56e4d4
[ "Unlicense" ]
null
null
null
Client/Trap.cpp
sangshub/55231
1f31ab8610999856e932bac9327255475f56e4d4
[ "Unlicense" ]
null
null
null
Client/Trap.cpp
sangshub/55231
1f31ab8610999856e932bac9327255475f56e4d4
[ "Unlicense" ]
null
null
null
#include "stdafx.h" #include "Trap.h" #include "BufferMgr.h" #include "TextureMgr.h" #include "Pipeline.h" #include "Device.h" #include "CamMgr.h" #include "ObjMgr.h" CTrap::CTrap() : m_iDrawId(1) , m_iIndex(0) , m_iNewIndex(0) , m_fScale(1.f) , m_pObj(NULL) { } CTrap::~CTrap() { } void CTrap::SetMatrix(const float ...
20.742647
107
0.708614
sangshub
47116f687e151b8b2c991e0d91fc8280805dec68
1,636
cc
C++
two-sum.cc
yevka/leetcode
abc3150d25069545ed155eed2751d75159f55342
[ "MIT" ]
null
null
null
two-sum.cc
yevka/leetcode
abc3150d25069545ed155eed2751d75159f55342
[ "MIT" ]
null
null
null
two-sum.cc
yevka/leetcode
abc3150d25069545ed155eed2751d75159f55342
[ "MIT" ]
null
null
null
// https://leetcode.com/problems/two-sum/ #include <gtest/gtest.h> #include <vector> #include <unordered_map> using namespace std; class Solution { public: vector<int> twoSum(vector<int> &nums, int target) { unordered_map<int, int> m; m.reserve(nums.size()); for(int i = 0; i < nums.size()...
27.266667
66
0.510391
yevka
471319ac41661861ec9f9139c9a50dad7c103891
4,146
cpp
C++
test/test.cpp
iceBear67/Sharpen
4f00fb13a2b3e7dc26cdb34596d58f958eb341f8
[ "MIT" ]
null
null
null
test/test.cpp
iceBear67/Sharpen
4f00fb13a2b3e7dc26cdb34596d58f958eb341f8
[ "MIT" ]
null
null
null
test/test.cpp
iceBear67/Sharpen
4f00fb13a2b3e7dc26cdb34596d58f958eb341f8
[ "MIT" ]
null
null
null
#include <cstdio> #include <mutex> #include <string> #include <sharpen/IFileChannel.hpp> #include <sharpen/EventEngine.hpp> #include <sharpen/INetStreamChannel.hpp> #include <sharpen/IpEndPoint.hpp> #include <sharpen/AsyncOps.hpp> #include <algorithm> #include <sharpen/CtrlHandler.hpp> #include <cinttypes> #include <cs...
29.827338
151
0.562711
iceBear67
4717ecdeb5bea9032bd35828c6df2174e323f2a5
625
hpp
C++
include/actl/io/core/const_data_parser.hpp
AlCash07/ACTL
15de4e2783d8e39dbd8e10cd635aaab328ca4f5b
[ "BSL-1.0" ]
17
2018-08-22T06:48:20.000Z
2022-02-22T21:20:09.000Z
include/actl/io/core/const_data_parser.hpp
AlCash07/ACTL
15de4e2783d8e39dbd8e10cd635aaab328ca4f5b
[ "BSL-1.0" ]
null
null
null
include/actl/io/core/const_data_parser.hpp
AlCash07/ACTL
15de4e2783d8e39dbd8e10cd635aaab328ca4f5b
[ "BSL-1.0" ]
null
null
null
// Copyright 2020 Oleksandr Bacherikov. // // Distributed under the Boost Software License, Version 1.0 // (see accompanying file LICENSE.txt or copy at // http://www.boost.org/LICENSE_1_0.txt). #pragma once #include <actl/range/algorithm.hpp> #include <actl/range/span.hpp> namespace ac::io { struct const_data_pa...
19.53125
64
0.6512
AlCash07
471aa8a3ca7f774c8338184c0495ba4f504f9c1d
2,934
cpp
C++
XRmonitorsHologram/CameraCalibration.cpp
catid/XRmonitors
17dddf10d0518596b1549a7e05071633226d0e7d
[ "BSD-3-Clause" ]
40
2020-04-19T23:27:06.000Z
2022-01-01T16:59:10.000Z
XRmonitorsHologram/CameraCalibration.cpp
catid/XRmonitors
17dddf10d0518596b1549a7e05071633226d0e7d
[ "BSD-3-Clause" ]
2
2020-05-29T01:14:33.000Z
2021-12-29T04:07:28.000Z
XRmonitorsHologram/CameraCalibration.cpp
catid/XRmonitors
17dddf10d0518596b1549a7e05071633226d0e7d
[ "BSD-3-Clause" ]
1
2020-07-24T16:08:57.000Z
2020-07-24T16:08:57.000Z
// Copyright 2019 Augmented Perception Corporation #include "stdafx.h" #include "CameraCalibration.hpp" #include "MonitorTools.hpp" #include "thirdparty/INI.h" namespace xrm { static logger::Channel Logger("Calibration"); //------------------------------------------------------------------------------ // Headse...
31.891304
112
0.629857
catid
471abc3d3632c8f9324fef06e3a89866206b33ef
1,033
cpp
C++
Chapter 05: Complete Search/Part3 : BackTracking/backtracking_nqueen.cpp
pulkit1joshi/handbook_codes
4ddbd5eb53807cf93f8bae910e732e58af46d842
[ "MIT" ]
18
2020-11-26T02:26:33.000Z
2022-03-24T02:36:22.000Z
Chapter 05: Complete Search/Part3 : BackTracking/backtracking_nqueen.cpp
abdullah-azab/handbook_codes
4ddbd5eb53807cf93f8bae910e732e58af46d842
[ "MIT" ]
1
2021-03-02T07:52:48.000Z
2021-03-02T07:52:48.000Z
Chapter 05: Complete Search/Part3 : BackTracking/backtracking_nqueen.cpp
abdullah-azab/handbook_codes
4ddbd5eb53807cf93f8bae910e732e58af46d842
[ "MIT" ]
2
2020-11-26T02:26:35.000Z
2021-11-26T11:19:09.000Z
/* Topic : Back-Tracking Question : Place N queen such that no queen attack each other. */ #include <bits/stdc++.h> using namespace std; int n; int m bool col[100] = {false}; bool diag[100] = {false}; bool diag2[100] = {false}; int A[100][100]; void solve(int k) { if(k>=n) { for(int i=0;i<n;i++) ...
17.810345
69
0.426912
pulkit1joshi
471e52d66c5949fa4f02e9e1322759ab456145b7
545
hpp
C++
NWNXLib/API/API/CNWSScriptVar.hpp
shadguy/unified
581cdfa7a0e7e1b6ee880f04c1c3b36d6ee36f0d
[ "MIT" ]
null
null
null
NWNXLib/API/API/CNWSScriptVar.hpp
shadguy/unified
581cdfa7a0e7e1b6ee880f04c1c3b36d6ee36f0d
[ "MIT" ]
null
null
null
NWNXLib/API/API/CNWSScriptVar.hpp
shadguy/unified
581cdfa7a0e7e1b6ee880f04c1c3b36d6ee36f0d
[ "MIT" ]
null
null
null
#pragma once #include "nwn_api.hpp" #include "CExoString.hpp" #ifdef NWN_API_PROLOGUE NWN_API_PROLOGUE(CNWSScriptVar) #endif struct CNWSScriptVar { CExoString m_sName; uint32_t m_nType; union { int32_t m_int; float m_float; OBJECT_ID m_objectId; struct CExoString* m_s...
13.974359
43
0.724771
shadguy
47220ac519412bd8a57a91d292000fbf57b1b713
3,484
hh
C++
src/cxx/lib/layout/cppunit/testLayout.hh
sbooeshaghi/bcl2fastq
3f39a24cd743fa71fba9b7dcf62e5d33cea8272d
[ "BSD-3-Clause" ]
5
2021-06-07T12:36:11.000Z
2022-02-08T09:49:02.000Z
src/cxx/lib/layout/cppunit/testLayout.hh
sbooeshaghi/bcl2fastq
3f39a24cd743fa71fba9b7dcf62e5d33cea8272d
[ "BSD-3-Clause" ]
1
2022-03-01T23:55:57.000Z
2022-03-01T23:57:15.000Z
src/cxx/lib/layout/cppunit/testLayout.hh
sbooeshaghi/bcl2fastq
3f39a24cd743fa71fba9b7dcf62e5d33cea8272d
[ "BSD-3-Clause" ]
null
null
null
/** * BCL to FASTQ file converter * Copyright (c) 2007-2017 Illumina, Inc. * * This software is covered by the accompanying EULA * and certain third party copyright/licenses, and any user of this * source file is bound by the terms therein. * * \file testLayout.hh * * \brief Layout cppunit test declarations. ...
33.180952
99
0.7124
sbooeshaghi
472c273d665b7fa66f35c9a9bb42c0a402b7f4b2
899
cpp
C++
src/main/cpp/autonomous/AutoShootOne.cpp
frc3512/Robot-2022
01407465389466b36ccae6731e987436331c4ef7
[ "BSD-3-Clause" ]
5
2022-01-12T02:08:29.000Z
2022-03-13T00:57:16.000Z
src/main/cpp/autonomous/AutoShootOne.cpp
frc3512/Robot-2022
01407465389466b36ccae6731e987436331c4ef7
[ "BSD-3-Clause" ]
11
2022-01-29T22:00:14.000Z
2022-03-26T20:10:07.000Z
src/main/cpp/autonomous/AutoShootOne.cpp
frc3512/Robot-2022
01407465389466b36ccae6731e987436331c4ef7
[ "BSD-3-Clause" ]
1
2022-01-19T01:31:11.000Z
2022-01-19T01:31:11.000Z
// Copyright (c) FRC Team 3512. All Rights Reserved. #include "Robot.hpp" namespace frc3512 { void Robot::AutoShootOne() { /// Initial Pose - against the hub. The robots starts pre-loaded with one /// ball. frc::Pose2d kInitialPose{2.5_m, 2_m, 0_rad}; /// Backup Pose - drive back off the tarmac fr...
29
77
0.680756
frc3512
473024b29815aa7f04fad87d7a5490852cdacc4f
3,842
hxx
C++
src/sort.hxx
puzzlef/graph-properties
613b5a8ff7d40f9ff69a1c481c8ad70f2f94c5eb
[ "MIT" ]
null
null
null
src/sort.hxx
puzzlef/graph-properties
613b5a8ff7d40f9ff69a1c481c8ad70f2f94c5eb
[ "MIT" ]
null
null
null
src/sort.hxx
puzzlef/graph-properties
613b5a8ff7d40f9ff69a1c481c8ad70f2f94c5eb
[ "MIT" ]
null
null
null
#pragma once #include <vector> #include <unordered_map> #include <algorithm> #include <utility> #include "_main.hxx" #include "vertices.hxx" #include "edges.hxx" #include "dfs.hxx" #include "components.hxx" using std::vector; using std::unordered_map; using std::reverse; using std::swap; // TOPOLOGICAL-SORT // ---...
22.337209
80
0.639771
puzzlef
47344477b32ddab8d330019af45832218eabd024
5,166
hpp
C++
Statements.hpp
ezquire/interpreter
a8cf235e592461c971afa1204cd02913c1dc0d4b
[ "MIT" ]
1
2020-10-18T11:21:39.000Z
2020-10-18T11:21:39.000Z
Statements.hpp
TazzerLabs/Interpreter
f938c64963ec0861e3a697717bbc82fd1c0cee54
[ "MIT" ]
null
null
null
Statements.hpp
TazzerLabs/Interpreter
f938c64963ec0861e3a697717bbc82fd1c0cee54
[ "MIT" ]
1
2019-05-20T21:07:58.000Z
2019-05-20T21:07:58.000Z
/* * Created by Tyler Gearing 3/14/19 * */ #ifndef EXPRINTER_STATEMENTS_HPP #define EXPRINTER_STATEMENTS_HPP #include "Range.hpp" class FuncTab; class ExprNode; // The Statement (abstract) class serves as a super class for all statements // defined in the language. Ultimately, statements have to be evaluated. //...
30.75
79
0.737321
ezquire
473823889e8cc262f4f08e660edcad22c69f0ced
11,789
cpp
C++
Engine/Platforms/Soft/Impl/SWBuffer.cpp
azhirnov/GraphicsGenFramework-modular
348be601f1991f102defa0c99250529f5e44c4d3
[ "BSD-2-Clause" ]
12
2017-12-23T14:24:57.000Z
2020-10-02T19:52:12.000Z
Engine/Platforms/Soft/Impl/SWBuffer.cpp
azhirnov/ModularGraphicsFramework
348be601f1991f102defa0c99250529f5e44c4d3
[ "BSD-2-Clause" ]
null
null
null
Engine/Platforms/Soft/Impl/SWBuffer.cpp
azhirnov/ModularGraphicsFramework
348be601f1991f102defa0c99250529f5e44c4d3
[ "BSD-2-Clause" ]
null
null
null
// Copyright (c) Zhirnov Andrey. For more information see 'LICENSE.txt' #include "Core/Config/Engine.Config.h" #ifdef GRAPHICS_API_SOFT #include "Engine/Platforms/Public/GPU/Buffer.h" #include "Engine/Platforms/Public/GPU/Memory.h" #include "Engine/Platforms/Public/GPU/Enums.ToString.h" #include "Engine/Platforms/S...
26.024283
139
0.58122
azhirnov
474207c64f4b8a6260db4e075dbd5d00e09177c2
1,090
cpp
C++
source/msynthlib/framework/treedocument/MTreeDocument.cpp
MRoc/MSynth
3eb5c6cf0ad6a3d12f555ebca5fbe84c1b255829
[ "MIT" ]
1
2022-01-30T07:40:31.000Z
2022-01-30T07:40:31.000Z
source/msynthlib/framework/treedocument/MTreeDocument.cpp
MRoc/MSynth
3eb5c6cf0ad6a3d12f555ebca5fbe84c1b255829
[ "MIT" ]
null
null
null
source/msynthlib/framework/treedocument/MTreeDocument.cpp
MRoc/MSynth
3eb5c6cf0ad6a3d12f555ebca5fbe84c1b255829
[ "MIT" ]
null
null
null
#include "mtreedocument.h" /** * the runtime type info of this class */ MRtti MTreeDocument::gvRtti = MRtti( "MTreeDocument", 0 ); /** * constructor */ MTreeDocument::MTreeDocument() : ivPtRoot( 0 ) { } /** * destructor */ MTreeDocument::~MTreeDocument() { if( ivPtRoot ) delete ivPtRoo...
16.029412
67
0.633945
MRoc
4745e3eda366a4317701cdcd39dede48c5349852
4,175
hpp
C++
serpents-ssl/server/xmlutil.hpp
dezGusty/serpents-rpc
005f45a23c56426b07ef351277b517667c9f706e
[ "MIT" ]
null
null
null
serpents-ssl/server/xmlutil.hpp
dezGusty/serpents-rpc
005f45a23c56426b07ef351277b517667c9f706e
[ "MIT" ]
null
null
null
serpents-ssl/server/xmlutil.hpp
dezGusty/serpents-rpc
005f45a23c56426b07ef351277b517667c9f706e
[ "MIT" ]
null
null
null
#ifndef XMLUIL_H_ #define XMLUIL_H_ //boost libs #include "boost\lexical_cast.hpp" // system libs #include <string> #include <algorithm> //pugixml #include "pugixml.hpp" // project libs #include "parametercontainer\parametercontainer.h" namespace serpents{ namespace util{ namespace xml{ void toLower(std::st...
32.874016
129
0.616766
dezGusty
4746ac26fe84f01b703e01480289d83643e1c0fe
622
cpp
C++
leetcode.com/0705 Design HashSet/main.cpp
sky-bro/AC
29bfa3f13994612887e18065fa6e854b9a29633d
[ "MIT" ]
1
2020-08-20T11:02:49.000Z
2020-08-20T11:02:49.000Z
leetcode.com/0705 Design HashSet/main.cpp
sky-bro/AC
29bfa3f13994612887e18065fa6e854b9a29633d
[ "MIT" ]
null
null
null
leetcode.com/0705 Design HashSet/main.cpp
sky-bro/AC
29bfa3f13994612887e18065fa6e854b9a29633d
[ "MIT" ]
1
2022-01-01T23:23:13.000Z
2022-01-01T23:23:13.000Z
#include <iostream> #include <set> #include <unordered_set> #include <vector> using namespace std; // space limited, to save space, we could use a set (ordered for binary search) class MyHashSet { public: vector<bool> v; /** Initialize your data structure here. */ MyHashSet() { v.resize(1024); } void add(i...
23.037037
79
0.628617
sky-bro
474e26d0f625f8dfa6a00997825df2e4d22b550e
3,663
cpp
C++
0037_Solve_Sudoku.cpp
RickTseng/Cpp_LeetCode
6a710b8abc268eba767bc17d91d046b90a7e34a9
[ "MIT" ]
1
2021-09-13T00:58:59.000Z
2021-09-13T00:58:59.000Z
0037_Solve_Sudoku.cpp
RickTseng/Cpp_LeetCode
6a710b8abc268eba767bc17d91d046b90a7e34a9
[ "MIT" ]
null
null
null
0037_Solve_Sudoku.cpp
RickTseng/Cpp_LeetCode
6a710b8abc268eba767bc17d91d046b90a7e34a9
[ "MIT" ]
null
null
null
#include <algorithm> #include <vector> #include <string> #include <map> #include <queue> #include <stdio.h> #include <stdlib.h> using namespace std; class Solution { public: int getSquareIndex(int row, int column) { //find square index return row / 3 * 3 + column / 3; } bool backtrackin...
33
85
0.44499
RickTseng
4754487925111fe2184af0ff90cc4f64e48449ce
625
cpp
C++
data/dailyCodingProblem272.cpp
vidit1999/daily_coding_problem
b90319cb4ddce11149f54010ba36c4bd6fa0a787
[ "MIT" ]
2
2020-09-04T20:56:23.000Z
2021-06-11T07:42:26.000Z
data/dailyCodingProblem272.cpp
vidit1999/daily_coding_problem
b90319cb4ddce11149f54010ba36c4bd6fa0a787
[ "MIT" ]
null
null
null
data/dailyCodingProblem272.cpp
vidit1999/daily_coding_problem
b90319cb4ddce11149f54010ba36c4bd6fa0a787
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; /* Write a function, throw_dice(N, faces, total), that determines how many ways it is possible to throw N dice with some number of faces each to get a specific total. For example, throw_dice(3, 6, 7) should equal 15. */ int throw_dice(int n, int faces, int total){ if(n ...
20.833333
91
0.6112
vidit1999
475662cb6fe734b5ac580ce059627a4f59c6fd8e
1,704
cpp
C++
sources/calibn/tmp/calibpair.cpp
SimonsRoad/seq2map
cc8cd20842b3c6db01f73d2e6ecf543189e56891
[ "BSD-3-Clause" ]
null
null
null
sources/calibn/tmp/calibpair.cpp
SimonsRoad/seq2map
cc8cd20842b3c6db01f73d2e6ecf543189e56891
[ "BSD-3-Clause" ]
null
null
null
sources/calibn/tmp/calibpair.cpp
SimonsRoad/seq2map
cc8cd20842b3c6db01f73d2e6ecf543189e56891
[ "BSD-3-Clause" ]
1
2018-11-01T13:11:39.000Z
2018-11-01T13:11:39.000Z
#include <calibn/calibpair.hpp> using namespace cv; CalibPair::CalibPair(CalibCam* cam1, CalibCam* cam2) : m_enabled(false) { assert(cam1 != NULL && cam2 != NULL && cam1 != cam2); assert(cam1->GetIndex() != cam2->GetIndex()); // (u,u) is not a valid pair assert(cam1->GetSize() == cam2->GetSize()); // cam1 & cam2 m...
28.881356
108
0.703638
SimonsRoad
e6e4171169ae5f7f341e00181eab090c9de0a9f1
1,218
hpp
C++
include/libp2p/protocol/kademlia/impl/content_routing_table.hpp
GaroRobe/cpp-libp2p
533d4a7f9981cb944ecb337f3ce4f98ea48b65f3
[ "Apache-2.0", "MIT" ]
135
2020-06-13T08:57:36.000Z
2022-03-27T05:26:11.000Z
include/libp2p/protocol/kademlia/impl/content_routing_table.hpp
zcj6758/cpp-libp2p
69299a8182a976fbe6654ed367ba1fb5d89800e0
[ "Apache-2.0", "MIT" ]
41
2020-06-12T15:45:05.000Z
2022-03-07T23:10:33.000Z
include/libp2p/protocol/kademlia/impl/content_routing_table.hpp
zcj6758/cpp-libp2p
69299a8182a976fbe6654ed367ba1fb5d89800e0
[ "Apache-2.0", "MIT" ]
43
2020-06-15T10:12:45.000Z
2022-03-21T03:04:50.000Z
/** * Copyright Soramitsu Co., Ltd. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0 */ #ifndef LIBP2P_PROTOCOL_KADEMLIA_CONTENTROUTINGTABLE #define LIBP2P_PROTOCOL_KADEMLIA_CONTENTROUTINGTABLE #include <libp2p/event/bus.hpp> #include <libp2p/protocol/kademlia/common.hpp> #include <libp2p/protocol/kademl...
29.707317
76
0.675698
GaroRobe
e6e63ccf264985057371f4d3478436249eaf1c3f
5,130
cpp
C++
test_package/src/scf_test.cpp
tomsksoft-llc/sc-logger
1b146edea2c2ef96deeaf6a6abb877a62bb0c192
[ "MIT" ]
null
null
null
test_package/src/scf_test.cpp
tomsksoft-llc/sc-logger
1b146edea2c2ef96deeaf6a6abb877a62bb0c192
[ "MIT" ]
null
null
null
test_package/src/scf_test.cpp
tomsksoft-llc/sc-logger
1b146edea2c2ef96deeaf6a6abb877a62bb0c192
[ "MIT" ]
null
null
null
#include <gtest/gtest.h> #include <scf/scf.h> #include <vector> // User types for the UserTypeTest test struct UserType1 { std::string data{}; int number = 0; }; std::string ToString(const UserType1 &arg) { return "{ " + arg.data + ", " + std::to_string(arg.number) + " }"; } class UserType2 { public: ...
27.880435
98
0.607212
tomsksoft-llc
e6e87fbd67c507b79ef1d3835d543d27a3777e32
7,091
inl
C++
examples/external/mLib/include/core-graphics/camera.inl
zhangxaochen/Opt
7f1af802bfc84cc9ef1adb9facbe4957078f529a
[ "MIT" ]
260
2017-03-02T19:57:51.000Z
2022-01-21T03:52:03.000Z
examples/external/mLib/include/core-graphics/camera.inl
zhangxaochen/Opt
7f1af802bfc84cc9ef1adb9facbe4957078f529a
[ "MIT" ]
102
2017-03-03T00:42:56.000Z
2022-03-30T14:15:20.000Z
examples/external/mLib/include/core-graphics/camera.inl
zhangxaochen/Opt
7f1af802bfc84cc9ef1adb9facbe4957078f529a
[ "MIT" ]
71
2017-03-02T20:22:33.000Z
2022-01-02T03:49:04.000Z
namespace ml { //template <class FloatType> //Camera<FloatType>::Camera(const vec3<FloatType>& eye, const vec3<FloatType>& worldUp, const vec3<FloatType>& right, FloatType fieldOfView, FloatType aspect, FloatType zNear, FloatType zFar) { // m_eye = eye; // m_worldUp = worldUp.getNormalized(); // m_right = right....
30.564655
194
0.681991
zhangxaochen
e6ed7ba466437e8a9af9ae46b5d489aaad63d952
497
hpp
C++
src/runtime/value_printer.hpp
tomoki/Shiranui
0c02933d718ecf5c446ca00c0ede17fd1897f58d
[ "BSD-3-Clause" ]
12
2015-01-10T15:21:09.000Z
2021-04-09T02:53:23.000Z
src/runtime/value_printer.hpp
tomoki/Shiranui
0c02933d718ecf5c446ca00c0ede17fd1897f58d
[ "BSD-3-Clause" ]
3
2015-01-01T04:26:07.000Z
2015-08-20T12:51:39.000Z
src/runtime/value_printer.hpp
tomoki/Shiranui
0c02933d718ecf5c446ca00c0ede17fd1897f58d
[ "BSD-3-Clause" ]
1
2020-05-20T08:25:43.000Z
2020-05-20T08:25:43.000Z
#ifndef VALUE_PRINTER_HPP #define VALUE_PRINTER_HPP #include "value.hpp" #include <exception> namespace shiranui{ namespace runtime{ namespace value{ struct ValuePrinterException : std::exception{ }; } } } namespace shiranui{ namespace runtime{ namespace val...
19.88
79
0.577465
tomoki
e6f2962b39bc0be84e961563884b5f6d433d1930
713
hpp
C++
test/bus/bus_test_intf_impl.hpp
zmij/wire
9981eb9ea182fc49ef7243eed26b9d37be70a395
[ "Artistic-2.0" ]
5
2016-04-07T19:49:39.000Z
2021-08-03T05:24:11.000Z
test/bus/bus_test_intf_impl.hpp
zmij/wire
9981eb9ea182fc49ef7243eed26b9d37be70a395
[ "Artistic-2.0" ]
null
null
null
test/bus/bus_test_intf_impl.hpp
zmij/wire
9981eb9ea182fc49ef7243eed26b9d37be70a395
[ "Artistic-2.0" ]
1
2020-12-27T11:47:31.000Z
2020-12-27T11:47:31.000Z
/* * bus_test_intf_impl.hpp * * Created on: Jan 16, 2017 * Author: zmij */ #ifndef BUS_BUS_TEST_INTF_IMPL_HPP_ #define BUS_BUS_TEST_INTF_IMPL_HPP_ #include <wire/core/functional.hpp> #include <test/bus_test_interface.hpp> namespace wire { namespace test { class subscriber : public events { public: su...
18.282051
69
0.649369
zmij