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
821f165803b125cea9cc871c3481c2f197be0042
2,630
cpp
C++
packages/monte_carlo/collision/native/src/MonteCarlo_NuclearScatteringDistributionFactoryHelpers.cpp
lkersting/SCR-2123
06ae3d92998664a520dc6a271809a5aeffe18f72
[ "BSD-3-Clause" ]
null
null
null
packages/monte_carlo/collision/native/src/MonteCarlo_NuclearScatteringDistributionFactoryHelpers.cpp
lkersting/SCR-2123
06ae3d92998664a520dc6a271809a5aeffe18f72
[ "BSD-3-Clause" ]
null
null
null
packages/monte_carlo/collision/native/src/MonteCarlo_NuclearScatteringDistributionFactoryHelpers.cpp
lkersting/SCR-2123
06ae3d92998664a520dc6a271809a5aeffe18f72
[ "BSD-3-Clause" ]
null
null
null
//---------------------------------------------------------------------------// //! //! \file MonteCarlo_NuclearScatteringDistributionFactoryHelpers.cpp //! \author Alex Robinson //! \brief Nuclear scattering distribution factory helper function defs. //! //-----------------------------------------------------------...
33.291139
109
0.563498
lkersting
821fc404ff54bbeef8ed972acf54742e34e6f555
5,791
hpp
C++
include/abc_mayus.hpp
mitsiu-carreno/cpp_banner
8f1ecbe47b9aa2ddf2c12fe321479ed351716c70
[ "MIT" ]
null
null
null
include/abc_mayus.hpp
mitsiu-carreno/cpp_banner
8f1ecbe47b9aa2ddf2c12fe321479ed351716c70
[ "MIT" ]
null
null
null
include/abc_mayus.hpp
mitsiu-carreno/cpp_banner
8f1ecbe47b9aa2ddf2c12fe321479ed351716c70
[ "MIT" ]
null
null
null
#ifndef ABC_MAYUS_H #define ABC_MAYUS_H #include "constants.hpp" #include <array> #include <string> /* ............... ::::::::::::::: :+:+:+:+:+:+:+: +:+:+:+:+:+:+:+ +#+#+#+#+#+#+#+ #+#+#+#+#+#+#+# ############### */ namespace ABC{ static std::array <std::string, constants::rows_per_letter> A {{ " . ...
19.832192
68
0.240718
mitsiu-carreno
8223a2030ae954198be5ff85348c8720420984c3
19,655
cpp
C++
Programs/ResourceEditor/Classes/SlotSupportModule/Private/EditorSlotSystem.cpp
Serviak/dava.engine
d51a26173a3e1b36403f846ca3b2e183ac298a1a
[ "BSD-3-Clause" ]
1
2020-11-14T10:18:24.000Z
2020-11-14T10:18:24.000Z
Programs/ResourceEditor/Classes/SlotSupportModule/Private/EditorSlotSystem.cpp
Serviak/dava.engine
d51a26173a3e1b36403f846ca3b2e183ac298a1a
[ "BSD-3-Clause" ]
null
null
null
Programs/ResourceEditor/Classes/SlotSupportModule/Private/EditorSlotSystem.cpp
Serviak/dava.engine
d51a26173a3e1b36403f846ca3b2e183ac298a1a
[ "BSD-3-Clause" ]
1
2020-09-05T21:16:17.000Z
2020-09-05T21:16:17.000Z
#include "Classes/SlotSupportModule/Private/EditorSlotSystem.h" #include "Classes/SlotSupportModule/Private/SlotTemplatesData.h" #include "Classes/Commands2/SlotCommands.h" #include "Classes/Commands2/Base/RECommandBatch.h" #include "Classes/Commands2/SetFieldValueCommand.h" #include "Classes/Commands2/RemoveComponentC...
37.870906
140
0.637192
Serviak
8225925142f97fec44546ace05d5668f3bbc46a9
2,917
cpp
C++
src/hawck-macrod.cpp
aidanharris/Hawck
aab56e85fb7408d9020f6e387b93d9f18d902415
[ "BSD-2-Clause" ]
null
null
null
src/hawck-macrod.cpp
aidanharris/Hawck
aab56e85fb7408d9020f6e387b93d9f18d902415
[ "BSD-2-Clause" ]
null
null
null
src/hawck-macrod.cpp
aidanharris/Hawck
aab56e85fb7408d9020f6e387b93d9f18d902415
[ "BSD-2-Clause" ]
null
null
null
#include "MacroDaemon.hpp" #include "Daemon.hpp" #include <iostream> #if MESON_COMPILE #include <hawck_config.h> #else #define MACROD_VERSION "unknown" #endif extern "C" { #include <syslog.h> #include <getopt.h> } using namespace std; static int no_fork; int main(int argc, char *argv[]) { string HELP = ...
27.518868
78
0.479602
aidanharris
822658319b6ba1100e3ac2af687932608bc94da2
6,072
cpp
C++
src/Tread/mac_cstring.cpp
hogsy/xtread
9d4eaf2778b8b687256788c7617b19542986bf32
[ "MIT" ]
1
2019-07-20T12:10:20.000Z
2019-07-20T12:10:20.000Z
src/Tread/mac_cstring.cpp
hogsy/xtread
9d4eaf2778b8b687256788c7617b19542986bf32
[ "MIT" ]
null
null
null
src/Tread/mac_cstring.cpp
hogsy/xtread
9d4eaf2778b8b687256788c7617b19542986bf32
[ "MIT" ]
null
null
null
// MAC_CSTRING.CPP // Copyright (c) 2000 Joe Riedel, Nick Randal. // Author: Joe Riedel. #include "stdafx.h" #include <string.h> #include <stdlib.h> #include <stdio.h> #include <stdarg.h> #include <ctype.h> #include "futils.h" // Replacement class to MFC standard string. CString::CString() { m_pString = NULL; m_nL...
6,072
6,072
0.657115
hogsy
8226988fcd4940dee4d217a6ab9ec80e5580c01a
13,806
cpp
C++
src/dawn_native/vulkan/BackendVk.cpp
dcerisano/dawn-ray-tracing-linux
984b4cd0ca2886009a70c22d38cc656cbc565e67
[ "Apache-2.0" ]
null
null
null
src/dawn_native/vulkan/BackendVk.cpp
dcerisano/dawn-ray-tracing-linux
984b4cd0ca2886009a70c22d38cc656cbc565e67
[ "Apache-2.0" ]
null
null
null
src/dawn_native/vulkan/BackendVk.cpp
dcerisano/dawn-ray-tracing-linux
984b4cd0ca2886009a70c22d38cc656cbc565e67
[ "Apache-2.0" ]
null
null
null
// Copyright 2019 The Dawn Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed t...
39.221591
99
0.659496
dcerisano
822b0c4fff7583ac3e10b2f283f7761fa34fd5fb
932
hpp
C++
src/engine/physics/find-closest-edges.hpp
Ghabriel/ecs-pong
dde705134afd218812e1ac529519d92d8e965acd
[ "Apache-2.0" ]
null
null
null
src/engine/physics/find-closest-edges.hpp
Ghabriel/ecs-pong
dde705134afd218812e1ac529519d92d8e965acd
[ "Apache-2.0" ]
null
null
null
src/engine/physics/find-closest-edges.hpp
Ghabriel/ecs-pong
dde705134afd218812e1ac529519d92d8e965acd
[ "Apache-2.0" ]
null
null
null
#pragma once #include <vector> #include "find-squared-distance.hpp" #include "../shapes/Circle.hpp" #include "../shapes/LineSegment.hpp" #include "../shapes/Rectangle.hpp" namespace physics { std::vector<OrientedLineSegment> findClosestEdges( const Rectangle& rect, const Circle& circle ) { ...
27.411765
75
0.572961
Ghabriel
822b7a4d42f4a67cf9b38499807775364e266c2b
1,371
hh
C++
TEvtGen/EvtGen/EvtGenBase/EvtSecondary.hh
AllaMaevskaya/AliRoot
c53712645bf1c7d5f565b0d3228e3a6b9b09011a
[ "BSD-3-Clause" ]
52
2016-12-11T13:04:01.000Z
2022-03-11T11:49:35.000Z
TEvtGen/EvtGen/EvtGenBase/EvtSecondary.hh
AllaMaevskaya/AliRoot
c53712645bf1c7d5f565b0d3228e3a6b9b09011a
[ "BSD-3-Clause" ]
1,388
2016-11-01T10:27:36.000Z
2022-03-30T15:26:09.000Z
TEvtGen/EvtGen/EvtGenBase/EvtSecondary.hh
AllaMaevskaya/AliRoot
c53712645bf1c7d5f565b0d3228e3a6b9b09011a
[ "BSD-3-Clause" ]
275
2016-06-21T20:24:05.000Z
2022-03-31T13:06:19.000Z
//-------------------------------------------------------------------------- // // Environment: // This software is part of the EvtGen package developed jointly // for the BaBar and CLEO collaborations. If you use all or part // of it, please give an appropriate acknowledgement. // // Copyright Informat...
22.47541
84
0.619256
AllaMaevskaya
822f788e50b97d15ef0dd250492453233577edd2
8,904
cpp
C++
Userland/Libraries/LibJS/Runtime/PromiseResolvingElementFunctions.cpp
patrickwilmes/serenity
6df246091b633f7828e5315b681908dae1f89860
[ "BSD-2-Clause" ]
null
null
null
Userland/Libraries/LibJS/Runtime/PromiseResolvingElementFunctions.cpp
patrickwilmes/serenity
6df246091b633f7828e5315b681908dae1f89860
[ "BSD-2-Clause" ]
null
null
null
Userland/Libraries/LibJS/Runtime/PromiseResolvingElementFunctions.cpp
patrickwilmes/serenity
6df246091b633f7828e5315b681908dae1f89860
[ "BSD-2-Clause" ]
null
null
null
/* * Copyright (c) 2021, Tim Flynn <trflynn89@serenityos.org> * * SPDX-License-Identifier: BSD-2-Clause */ #include <LibJS/Runtime/AbstractOperations.h> #include <LibJS/Runtime/AggregateError.h> #include <LibJS/Runtime/Array.h> #include <LibJS/Runtime/GlobalObject.h> #include <LibJS/Runtime/PromiseReaction.h> #inc...
44.298507
226
0.750562
patrickwilmes
82303b45ab9d5739e17f6ddf085cb05be6335f06
604
cpp
C++
tests/clocale/clocale_fwd.cpp
olegpublicprofile/stdfwd
19671bcc8e53bd4c008f07656eaf25a22495e093
[ "MIT" ]
11
2021-03-15T07:06:21.000Z
2021-09-27T13:54:25.000Z
tests/clocale/clocale_fwd.cpp
olegpublicprofile/stdfwd
19671bcc8e53bd4c008f07656eaf25a22495e093
[ "MIT" ]
null
null
null
tests/clocale/clocale_fwd.cpp
olegpublicprofile/stdfwd
19671bcc8e53bd4c008f07656eaf25a22495e093
[ "MIT" ]
1
2021-06-24T10:46:46.000Z
2021-06-24T10:46:46.000Z
#include "tests/clocale/clocale_fwd.hpp" #include <clocale> //------------------------------------------------------------------------------ namespace clocale_tests { //------------------------------------------------------------------------------ int TestClass::getInt() { return 42; } //------------------------...
20.133333
80
0.221854
olegpublicprofile
4363cc88e33fd11cbef2a3d9b217dee7d2770f51
6,140
cpp
C++
dsp/common/multicore/jacobian_on_core.cpp
RoelofBerg/fimreg
df8c58c38017af685911767c156cbe1db01546a2
[ "BSD-3-Clause" ]
6
2015-06-04T12:53:20.000Z
2021-06-01T09:47:52.000Z
dsp/common/multicore/jacobian_on_core.cpp
RoelofBerg/fimreg
df8c58c38017af685911767c156cbe1db01546a2
[ "BSD-3-Clause" ]
null
null
null
dsp/common/multicore/jacobian_on_core.cpp
RoelofBerg/fimreg
df8c58c38017af685911767c156cbe1db01546a2
[ "BSD-3-Clause" ]
7
2015-07-30T09:36:14.000Z
2018-08-24T03:59:27.000Z
/* ===================================== === FIMREG - Fast Image Registration === ======================================== Written by Roelof Berg, Berg Solutions (rberg@berg-solutions.de) with support from Lars Koenig, Fraunhofer MEVIS (lars.koenig@mevis.fraunhofer.de) Jan Ruehaak, Fraunhofer MEVIS (jan.ruehaak@...
39.87013
183
0.633062
RoelofBerg
436804273ff4ef547312b09eaa05413fe2232f55
3,045
hpp
C++
fprime-sphinx-drivers/Util/SphinxDrvUtil.hpp
fprime-community/fprime-sphinx-drivers
ce9efa8564b0eeee46b75bdee79a41a4d0dfd65b
[ "Apache-2.0" ]
1
2021-02-22T12:34:25.000Z
2021-02-22T12:34:25.000Z
fprime-sphinx-drivers/Util/SphinxDrvUtil.hpp
fprime-community/fprime-sphinx-drivers
ce9efa8564b0eeee46b75bdee79a41a4d0dfd65b
[ "Apache-2.0" ]
2
2021-08-11T17:14:54.000Z
2021-09-09T22:31:19.000Z
fprime-sphinx-drivers/Util/SphinxDrvUtil.hpp
fprime-community/fprime-sphinx-drivers
ce9efa8564b0eeee46b75bdee79a41a4d0dfd65b
[ "Apache-2.0" ]
1
2021-05-19T02:04:10.000Z
2021-05-19T02:04:10.000Z
// ====================================================================== // \title SphinxDrvUtil.hpp // \author arizvi // \brief hpp file for Sphinx Util // // \copyright // Copyright 2009-2015, by the California Institute of Technology. // ALL RIGHTS RESERVED. United States Government Sponsorship // acknowledged...
27.681818
78
0.639409
fprime-community
436819bf2de1e80f438c5c1d7aa0758f8f82d75e
1,667
hpp
C++
Voicebank.hpp
haruneko/uzume_utau
da0656ccaa5b3e12f28acd9ed20d07799dcf798c
[ "MIT" ]
null
null
null
Voicebank.hpp
haruneko/uzume_utau
da0656ccaa5b3e12f28acd9ed20d07799dcf798c
[ "MIT" ]
null
null
null
Voicebank.hpp
haruneko/uzume_utau
da0656ccaa5b3e12f28acd9ed20d07799dcf798c
[ "MIT" ]
null
null
null
// Copyright 2020 Hal@shurabaP. All rights reserved. // Use of this source code is governed by a MIT style // license that can be found in the LICENSE file. #ifndef UZUME_UTAU_VOICEBANK_HPP #define UZUME_UTAU_VOICEBANK_HPP #include <vector> #include "Affix.hpp" #include "Character.hpp" #include "WaveLabel.hp...
33.34
124
0.704259
haruneko
43681ddfee9d42e9843642182c62e17106954fbd
4,160
cc
C++
src/Modules/Legacy/Math/SetSubmatrix.cc
mhansen1/SCIRun
9719c570a6d6911a9eb8df584bd2c4ad8b8cd2ba
[ "Unlicense" ]
null
null
null
src/Modules/Legacy/Math/SetSubmatrix.cc
mhansen1/SCIRun
9719c570a6d6911a9eb8df584bd2c4ad8b8cd2ba
[ "Unlicense" ]
null
null
null
src/Modules/Legacy/Math/SetSubmatrix.cc
mhansen1/SCIRun
9719c570a6d6911a9eb8df584bd2c4ad8b8cd2ba
[ "Unlicense" ]
null
null
null
/* For more information, please see: http://software.sci.utah.edu The MIT License Copyright (c) 2015 Scientific Computing and Imaging Institute, University of Utah. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (...
24.186047
81
0.660577
mhansen1
436ae36119c1f88b4a67aad6dfe221de70f98198
640
cpp
C++
Kattis_Problems/Pivot.cpp
MAXI0008/Kattis-Problems
ff6ec752b741a56fc37a993c528fc925ca302cc8
[ "MIT" ]
3
2019-04-01T05:38:09.000Z
2021-11-17T11:43:20.000Z
Kattis_Problems/Pivot.cpp
MAXI0008/Algorithms-Practices
ff6ec752b741a56fc37a993c528fc925ca302cc8
[ "MIT" ]
null
null
null
Kattis_Problems/Pivot.cpp
MAXI0008/Algorithms-Practices
ff6ec752b741a56fc37a993c528fc925ca302cc8
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; int main() { vector<int> V; vector<int> Vmax; vector<int> Vmin; int n; cin >> n; int v; for (int i = 0; i < n; i++) { cin >> v; V.push_back(v); Vmax.push_back(0); Vmin.push_back(0); } Vmax[0] = V[0]; f...
20.645161
52
0.403125
MAXI0008
436fcddd955a05e1148cf9f92ea4ffe945e7e01c
1,265
cpp
C++
Galaga/framework/Node.cpp
MKachi/Galaga
0601dcc8492530c6ac9176803b9e2bb8c8ae6b1e
[ "MIT" ]
null
null
null
Galaga/framework/Node.cpp
MKachi/Galaga
0601dcc8492530c6ac9176803b9e2bb8c8ae6b1e
[ "MIT" ]
null
null
null
Galaga/framework/Node.cpp
MKachi/Galaga
0601dcc8492530c6ac9176803b9e2bb8c8ae6b1e
[ "MIT" ]
null
null
null
#include "Node.h" Node::Node() : _tag("") , _active(true) , _depth(0) , _position(Vector2::zero) , _rotate(0.0f) , _scale(Vector2::one) , _parent(nullptr) { } Node::~Node() { } void Node::setTag(const string& tag) { } void Node::setActive(bool active) { _active = active; } void Node::setDepth(int depth) {...
14.213483
72
0.656126
MKachi
4370243553713eb28962a5da9a948686a9020bc0
22,325
cpp
C++
DiscImageCreator/xml.cpp
rmMinusR/DiscImageCreator
073bb40c06e3249d9d6b52975c7f0e60ef754040
[ "Apache-2.0" ]
null
null
null
DiscImageCreator/xml.cpp
rmMinusR/DiscImageCreator
073bb40c06e3249d9d6b52975c7f0e60ef754040
[ "Apache-2.0" ]
null
null
null
DiscImageCreator/xml.cpp
rmMinusR/DiscImageCreator
073bb40c06e3249d9d6b52975c7f0e60ef754040
[ "Apache-2.0" ]
null
null
null
/** * Copyright 2011-2018 sarami * * 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...
33.420659
158
0.67776
rmMinusR
437088568a9036a6fe58cb594b026265acc13db4
2,687
cpp
C++
test/test_matrix_scalar_division.cpp
AMatrix/AMatrix
325c3b59d99605f0b50b6e7be3556dd23881992c
[ "MIT" ]
24
2017-10-31T17:22:09.000Z
2020-05-20T21:16:41.000Z
test/test_matrix_scalar_division.cpp
AMatrix/AMatrix
325c3b59d99605f0b50b6e7be3556dd23881992c
[ "MIT" ]
8
2017-10-28T07:27:44.000Z
2019-01-24T16:38:15.000Z
test/test_matrix_scalar_division.cpp
AMatrix/AMatrix
325c3b59d99605f0b50b6e7be3556dd23881992c
[ "MIT" ]
7
2018-04-22T18:12:08.000Z
2019-01-16T10:39:41.000Z
#include "amatrix.h" #include "checks.h" template <std::size_t TSize1, std::size_t TSize2> int TestMatrixScalarSelfDivision() { AMatrix::Matrix<double, TSize1, TSize2> a_matrix; for (std::size_t i = 0; i < a_matrix.size1(); i++) for (std::size_t j = 0; j < a_matrix.size2(); j++) a_matrix(i,...
38.385714
77
0.662449
AMatrix
43786c18f1aab9d303630a8d1b575aa9a2c8f317
12,991
cpp
C++
Modules/OpenCVVideoSupport/UI/QmitkOpenCVVideoControls.cpp
wyyrepo/MITK
d0837f3d0d44f477b888ec498e9a2ed407e79f20
[ "BSD-3-Clause" ]
1
2021-11-20T08:19:27.000Z
2021-11-20T08:19:27.000Z
Modules/OpenCVVideoSupport/UI/QmitkOpenCVVideoControls.cpp
wyyrepo/MITK
d0837f3d0d44f477b888ec498e9a2ed407e79f20
[ "BSD-3-Clause" ]
null
null
null
Modules/OpenCVVideoSupport/UI/QmitkOpenCVVideoControls.cpp
wyyrepo/MITK
d0837f3d0d44f477b888ec498e9a2ed407e79f20
[ "BSD-3-Clause" ]
null
null
null
/*=================================================================== The Medical Imaging Interaction Toolkit (MITK) Copyright (c) German Cancer Research Center, Division of Medical and Biological Informatics. All rights reserved. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty o...
28.933185
144
0.722423
wyyrepo
43789fa96864d228a445bcf42be4766a63a1abf3
8,217
hpp
C++
include/alibabacloud/rpc.hpp
alibabacloud-sdk-cpp/rpc
b7f84bf89f6f8c8f2ac5e3c6b5ffeda98444834b
[ "Apache-2.0" ]
3
2020-07-01T07:15:02.000Z
2020-08-08T08:46:22.000Z
include/alibabacloud/rpc.hpp
alibabacloud-sdk-cpp/rpc
b7f84bf89f6f8c8f2ac5e3c6b5ffeda98444834b
[ "Apache-2.0" ]
38
2020-07-09T06:07:20.000Z
2021-02-22T14:02:49.000Z
include/alibabacloud/rpc.hpp
alibabacloud-sdk-cpp/rpc
b7f84bf89f6f8c8f2ac5e3c6b5ffeda98444834b
[ "Apache-2.0" ]
4
2020-04-02T06:02:04.000Z
2021-02-22T13:48:06.000Z
// This file is auto-generated, don't edit it. Thanks. #ifndef ALIBABACLOUD_RPC_H_ #define ALIBABACLOUD_RPC_H_ #include <alibabacloud/credential.hpp> #include <alibabacloud/rpcutil.hpp> #include <boost/any.hpp> #include <darabonba/core.hpp> #include <darabonba/util.hpp> #include <iostream> #include <map> using names...
34.817797
80
0.625532
alibabacloud-sdk-cpp
437a7f8051a27da958fc969fb79dca91ce670d4f
502
cpp
C++
src/backend/message/boost_serializer.cpp
jessesleeping/my_peloton
a19426cfe34a04692a11008eaffc9c3c9b49abc4
[ "Apache-2.0" ]
6
2017-04-28T00:38:52.000Z
2018-11-06T07:06:49.000Z
src/backend/message/boost_serializer.cpp
jessesleeping/my_peloton
a19426cfe34a04692a11008eaffc9c3c9b49abc4
[ "Apache-2.0" ]
4
2017-07-08T00:41:56.000Z
2017-07-08T00:42:13.000Z
src/backend/message/boost_serializer.cpp
eric-haibin-lin/pelotondb
904d6bbd041a0498ee0e034d4f9f9f27086c3cab
[ "Apache-2.0" ]
1
2020-06-19T08:05:03.000Z
2020-06-19T08:05:03.000Z
//===----------------------------------------------------------------------===// // // PelotonDB // // boost_serializer.cpp // // Identification: src/backend/message/boost_serializer.cpp // // Copyright (c) 2015, Carnegie Mellon University Database Group // //===---------------------------------...
22.818182
80
0.460159
jessesleeping
437bb6b219a28e69d7166fbb27e7919a428d4fa3
9,030
cc
C++
Filters/src/FixCaloShowerStepPtrs_module.cc
bonventre/Offline
77db9d6368f27ab9401c690c2c2a4257ade6c231
[ "Apache-2.0" ]
1
2021-05-25T19:10:10.000Z
2021-05-25T19:10:10.000Z
Filters/src/FixCaloShowerStepPtrs_module.cc
bonventre/Offline
77db9d6368f27ab9401c690c2c2a4257ade6c231
[ "Apache-2.0" ]
1
2019-11-22T14:45:51.000Z
2019-11-22T14:50:03.000Z
Filters/src/FixCaloShowerStepPtrs_module.cc
bonventre/Offline
77db9d6368f27ab9401c690c2c2a4257ade6c231
[ "Apache-2.0" ]
2
2019-10-14T17:46:58.000Z
2020-03-30T21:05:15.000Z
//////////////////////////////////////////////////////////////////////// // Class: FixCaloShowerStepPtrs // Plugin Type: producer (art v2_06_02) // File: FixCaloShowerStepPtrs_module.cc // // This module fixes an off-by-one bug in earlier versions of CompressDigiMCs // before commit XXXXXXX // // Generated...
43.834951
166
0.774419
bonventre
437fcfb533350aef3a1fbae296bb84b9eb778b4e
45,288
cpp
C++
WRK-V1.2/clr/src/vm/binder.cpp
intj-t/openvmsft
0d17fbce8607ab2b880be976c2e86d8cfc3e83bb
[ "Intel" ]
null
null
null
WRK-V1.2/clr/src/vm/binder.cpp
intj-t/openvmsft
0d17fbce8607ab2b880be976c2e86d8cfc3e83bb
[ "Intel" ]
null
null
null
WRK-V1.2/clr/src/vm/binder.cpp
intj-t/openvmsft
0d17fbce8607ab2b880be976c2e86d8cfc3e83bb
[ "Intel" ]
null
null
null
// ==++== // // // Copyright (c) 2006 Microsoft Corporation. All rights reserved. // // The use and distribution terms for this software are contained in the file // named license.txt, which can be found in the root of this distribution. // By using this software in any fashion, you are agreeing to ...
28.69962
145
0.611619
intj-t
43800000c799c05fa9cbb572839f18a0cfbb2a9b
1,609
cpp
C++
source/data/shader/Shader.cpp
atkurtul/RadixEngine
0eb1c176a25aa9430f54d5a20ce5749360c51381
[ "Zlib" ]
163
2016-08-28T23:24:05.000Z
2022-03-31T04:51:51.000Z
source/data/shader/Shader.cpp
atkurtul/RadixEngine
0eb1c176a25aa9430f54d5a20ce5749360c51381
[ "Zlib" ]
144
2016-09-10T08:40:06.000Z
2020-12-03T17:20:03.000Z
source/data/shader/Shader.cpp
atkurtul/RadixEngine
0eb1c176a25aa9430f54d5a20ce5749360c51381
[ "Zlib" ]
88
2016-02-22T08:34:49.000Z
2022-03-05T12:29:19.000Z
#include <radix/data/shader/Shader.hpp> #include <radix/core/gl/OpenGL.hpp> namespace radix { void Shader::bind() const { glUseProgram(handle); } void Shader::release() const { glUseProgram(0); } int Shader::uni(const std::string &name) { // Check if the uniform name is already in our map auto it = loc...
22.347222
57
0.666252
atkurtul
43801ea75098710939c180f291824ffb571ace12
30,164
cpp
C++
linalg/amgxsolver.cpp
shahzebsiddiqui/mfem
08b339303b11b98a1aa3db5e04369a6405d4ca5a
[ "BSD-3-Clause" ]
1
2019-03-24T04:35:42.000Z
2019-03-24T04:35:42.000Z
linalg/amgxsolver.cpp
shahzebsiddiqui/mfem
08b339303b11b98a1aa3db5e04369a6405d4ca5a
[ "BSD-3-Clause" ]
null
null
null
linalg/amgxsolver.cpp
shahzebsiddiqui/mfem
08b339303b11b98a1aa3db5e04369a6405d4ca5a
[ "BSD-3-Clause" ]
1
2022-03-17T12:25:48.000Z
2022-03-17T12:25:48.000Z
// Copyright (c) 2010-2020, Lawrence Livermore National Security, LLC. Produced // at the Lawrence Livermore National Laboratory. All Rights reserved. See files // LICENSE and NOTICE for details. LLNL-CODE-806117. // // This file is part of the MFEM library. For more information and source code // availability visit ht...
29.087753
84
0.590837
shahzebsiddiqui
438629cd1b3721c2df720a9d66f31540d4e6393a
1,044
cpp
C++
webGLTest/engine/shaders/shader_phong.cpp
geefr/webexperiments
afcd8b9e01bf501e87d5fcfda4abae6d6ee0ef05
[ "BSD-2-Clause" ]
null
null
null
webGLTest/engine/shaders/shader_phong.cpp
geefr/webexperiments
afcd8b9e01bf501e87d5fcfda4abae6d6ee0ef05
[ "BSD-2-Clause" ]
null
null
null
webGLTest/engine/shaders/shader_phong.cpp
geefr/webexperiments
afcd8b9e01bf501e87d5fcfda4abae6d6ee0ef05
[ "BSD-2-Clause" ]
null
null
null
#include "shader_phong.h" #include <glm/gtc/type_ptr.hpp> #include <iostream> Shader_phong::Shader_phong() { mShaders = { "data/shaders/vertex/default.vert", "data/shaders/fragment/phong.frag", }; } Shader_phong::~Shader_phong() {} /// Compile the shader, make ready to be used etc. void Shader_phong::initi...
28.216216
101
0.769157
geefr
4387149acf2ffd0cc66c99c047d0f6da1caef098
1,926
hpp
C++
src/Modules/VisualsModule/Entity/BaseVisual.hpp
danielfilipealmeida/Orange
e0118a7d1391e74c15c707e64a2e0458d51d318f
[ "MIT" ]
null
null
null
src/Modules/VisualsModule/Entity/BaseVisual.hpp
danielfilipealmeida/Orange
e0118a7d1391e74c15c707e64a2e0458d51d318f
[ "MIT" ]
null
null
null
src/Modules/VisualsModule/Entity/BaseVisual.hpp
danielfilipealmeida/Orange
e0118a7d1391e74c15c707e64a2e0458d51d318f
[ "MIT" ]
null
null
null
// // BaseVisual.hpp // orange // // Created by Daniel Almeida on 02/12/2018. // #ifndef BaseVisual_hpp #define BaseVisual_hpp #include <stdio.h> #include "EntityInterface.hpp" #include "DrawableInterface.hpp" #include "PlayableInterface.hpp" #include "ofMain.h" #define THUMB_WIDTH 160 #define THUMB_HEIGHT 120 n...
22.658824
71
0.47352
danielfilipealmeida
4389f385fa943ac9bffa7d1b76f7d574948ee287
6,932
cpp
C++
plugin_III/game_III/common.cpp
thelink2012/plugin-sdk
5b4133a6161bcd7c9fe5041d52ef9aff44f12892
[ "Zlib" ]
null
null
null
plugin_III/game_III/common.cpp
thelink2012/plugin-sdk
5b4133a6161bcd7c9fe5041d52ef9aff44f12892
[ "Zlib" ]
null
null
null
plugin_III/game_III/common.cpp
thelink2012/plugin-sdk
5b4133a6161bcd7c9fe5041d52ef9aff44f12892
[ "Zlib" ]
null
null
null
/* Plugin-SDK (Grand Theft Auto 3) source file Authors: GTA Community. See more here https://github.com/DK22Pac/plugin-sdk Do not delete this comment block. Respect others' work! */ #include "common.h" // Converted from cdecl float FindPlayerHeading(void) 0x4A1220; float FindPlayerHeading() { retur...
36.104167
137
0.7676
thelink2012
438cc4ad6436456bb3e7372919a63788096d8dab
4,137
cpp
C++
19-inheritance/readerEx.19.05/shape.cpp
heavy3/programming-abstractions
e10eab5fe7d9ca7d7d4cc96551524707214e43a8
[ "MIT" ]
81
2018-11-15T21:23:19.000Z
2022-03-06T09:46:36.000Z
19-inheritance/readerEx.19.05/shape.cpp
heavy3/programming-abstractions
e10eab5fe7d9ca7d7d4cc96551524707214e43a8
[ "MIT" ]
null
null
null
19-inheritance/readerEx.19.05/shape.cpp
heavy3/programming-abstractions
e10eab5fe7d9ca7d7d4cc96551524707214e43a8
[ "MIT" ]
41
2018-11-15T21:23:24.000Z
2022-02-24T03:02:26.000Z
// // shape.cpp // // This program implements the Shape class hierarchy. // // -------------------------------------------------------------------------- // Attribution: "Programming Abstractions in C++" by Eric Roberts // Chapter 19, Exercise 5 // Stanford University, Autumn Quarter 2012 // http://web.stanford.edu/cla...
24.052326
91
0.542422
heavy3
43931aa375be338e0524abc4fa13199015b946db
824
cpp
C++
framework/shape.cpp
SiMein/programmiersprachen-raytracer
4de29e334ec77644c886312111293b0218670ee5
[ "MIT" ]
null
null
null
framework/shape.cpp
SiMein/programmiersprachen-raytracer
4de29e334ec77644c886312111293b0218670ee5
[ "MIT" ]
null
null
null
framework/shape.cpp
SiMein/programmiersprachen-raytracer
4de29e334ec77644c886312111293b0218670ee5
[ "MIT" ]
null
null
null
#include "shape.hpp" Shape::Shape(std::string const& name): name_ {name}{/*std::cout << "I am the Shape-contructor !";*/} Shape::Shape(std::string const& name, std::shared_ptr<Material> const& ma_co): name_ {name}, ma_co_ {ma_co}{/* std::cout << "I am the Shape-contructor !";*/} // da ein struct, muss...
35.826087
134
0.628641
SiMein
4397595081f765251230d29df04592ca413eb7ef
307
cpp
C++
3rdparty/lzma/CPP/7zip/Compress/LzmaRegister.cpp
WieszKto/IrrlichtBAW
bcef8386c2ca7f06ff006b866c397035551a2351
[ "Apache-2.0" ]
216
2020-08-27T20:04:48.000Z
2022-03-28T19:31:41.000Z
3rdparty/lzma/CPP/7zip/Compress/LzmaRegister.cpp
WieszKto/IrrlichtBAW
bcef8386c2ca7f06ff006b866c397035551a2351
[ "Apache-2.0" ]
165
2020-09-17T20:12:30.000Z
2022-03-30T21:32:18.000Z
3rdparty/lzma/CPP/7zip/Compress/LzmaRegister.cpp
WieszKto/IrrlichtBAW
bcef8386c2ca7f06ff006b866c397035551a2351
[ "Apache-2.0" ]
118
2018-10-29T08:43:57.000Z
2022-01-07T06:49:25.000Z
// LzmaRegister.cpp #include "StdAfx.h" #include "../Common/RegisterCodec.h" #include "LzmaDecoder.h" #ifndef EXTRACT_ONLY #include "LzmaEncoder.h" #endif namespace NCompress { namespace NLzma { REGISTER_CODEC_E(LZMA, CDecoder(), CEncoder(), 0x30101, "LZMA") }}
13.347826
37
0.638436
WieszKto
439841d50c3f7fa0f335b76b8cecf53968e37077
8,266
cpp
C++
bridge/SfxrNode.cpp
xioxin/lab_sound_bridge
ab903af11c128860a492f50fc22b283f6dad5f95
[ "BSD-2-Clause" ]
1
2021-12-31T06:15:54.000Z
2021-12-31T06:15:54.000Z
bridge/SfxrNode.cpp
xioxin/lab_sound_bridge
ab903af11c128860a492f50fc22b283f6dad5f95
[ "BSD-2-Clause" ]
null
null
null
bridge/SfxrNode.cpp
xioxin/lab_sound_bridge
ab903af11c128860a492f50fc22b283f6dad5f95
[ "BSD-2-Clause" ]
null
null
null
#include "./dart_api/dart_api.h" #include "LabSound/LabSound.h" #include "KeepNode.cpp" #include "struct.h" using namespace lab; DART_EXPORT int createSfxrNode(AudioContext* context) { auto node = std::make_shared<SfxrNode>(*context); return keepNode(node); } // todo AudioSetting: preset waveType DART_EXPO...
40.321951
81
0.736632
xioxin
43a193afed69861719ff4301f69e5448a2814214
828
hpp
C++
lib/inc/facter/facts/linux/block_device_resolver.hpp
ploubser/cfacter
269717adb4472a66f9763a228498f47771d41343
[ "Apache-2.0" ]
null
null
null
lib/inc/facter/facts/linux/block_device_resolver.hpp
ploubser/cfacter
269717adb4472a66f9763a228498f47771d41343
[ "Apache-2.0" ]
null
null
null
lib/inc/facter/facts/linux/block_device_resolver.hpp
ploubser/cfacter
269717adb4472a66f9763a228498f47771d41343
[ "Apache-2.0" ]
null
null
null
/** * @file * Declares the Linux block device fact resolver. */ #ifndef FACTER_FACTS_LINUX_BLOCK_DEVICE_RESOLVER_HPP_ #define FACTER_FACTS_LINUX_BLOCK_DEVICE_RESOLVER_HPP_ #include "../fact_resolver.hpp" namespace facter { namespace facts { namespace linux { /** * Responsible for resolving block device f...
25.090909
71
0.671498
ploubser
43a2221e6154ff22957e877c50472bf6a2f73f61
8,478
cpp
C++
src/libtsduck/base/types/tsArgMix.cpp
harmonicinc-com/tsduck
67f25161a3b37b1f3c486d5ef2e013486c3d9893
[ "BSD-2-Clause" ]
542
2017-06-21T07:40:10.000Z
2022-03-29T13:44:39.000Z
src/libtsduck/base/types/tsArgMix.cpp
harmonicinc-com/tsduck
67f25161a3b37b1f3c486d5ef2e013486c3d9893
[ "BSD-2-Clause" ]
939
2017-09-01T21:00:42.000Z
2022-03-31T14:39:27.000Z
src/libtsduck/base/types/tsArgMix.cpp
harmonicinc-com/tsduck
67f25161a3b37b1f3c486d5ef2e013486c3d9893
[ "BSD-2-Clause" ]
167
2017-10-30T12:07:29.000Z
2022-03-23T11:36:10.000Z
//---------------------------------------------------------------------------- // // TSDuck - The MPEG Transport Stream Toolkit // Copyright (c) 2005-2021, Thierry Lelegard // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the f...
32.988327
90
0.5092
harmonicinc-com
43a2f4d0862e1d20b8c57b0b8c52c5f7a88c92f8
10,525
cpp
C++
src/bin2llvmir/optimizations/idioms/idioms_analysis.cpp
Andrik-555/retdec
1ac63a520da02912daf836b924f41d95b1b5fa10
[ "MIT", "BSD-3-Clause" ]
521
2019-03-29T15:44:08.000Z
2022-03-22T09:46:19.000Z
src/bin2llvmir/optimizations/idioms/idioms_analysis.cpp
Andrik-555/retdec
1ac63a520da02912daf836b924f41d95b1b5fa10
[ "MIT", "BSD-3-Clause" ]
30
2019-06-04T17:00:49.000Z
2021-09-08T20:44:19.000Z
src/bin2llvmir/optimizations/idioms/idioms_analysis.cpp
Andrik-555/retdec
1ac63a520da02912daf836b924f41d95b1b5fa10
[ "MIT", "BSD-3-Clause" ]
99
2019-03-29T16:04:13.000Z
2022-03-28T16:59:34.000Z
/** * @file src/bin2llvmir/optimizations/idioms/idioms_analysis.cpp * @brief Instruction idioms analysis * @copyright (c) 2017 Avast Software, licensed under the MIT license */ #include "retdec/bin2llvmir/optimizations/idioms/idioms_analysis.h" using namespace llvm; namespace retdec { namespace bin2llvmir { /* ...
34.850993
158
0.679525
Andrik-555
43a92d4d30027ae174df7187ff30f24a055fa52a
851
cpp
C++
Software Eng (1)/Library/Bee/artifacts/WebGL/il2cpp/master_WebGL_wasm/gucf_Generic2.lump.cpp
HealthSouthern48/Unity-project
ad1956e23f55910dd6f51710d11413ecbf5b7b6d
[ "MIT" ]
null
null
null
Software Eng (1)/Library/Bee/artifacts/WebGL/il2cpp/master_WebGL_wasm/gucf_Generic2.lump.cpp
HealthSouthern48/Unity-project
ad1956e23f55910dd6f51710d11413ecbf5b7b6d
[ "MIT" ]
null
null
null
Software Eng (1)/Library/Bee/artifacts/WebGL/il2cpp/master_WebGL_wasm/gucf_Generic2.lump.cpp
HealthSouthern48/Unity-project
ad1956e23f55910dd6f51710d11413ecbf5b7b6d
[ "MIT" ]
null
null
null
//Generated lump file. generated by Bee.NativeProgramSupport.Lumping #include "C:/Users/19022/Downloads/Unity/Editor/Data/il2cpp/libil2cpp/os/Generic/COM.cpp" #include "C:/Users/19022/Downloads/Unity/Editor/Data/il2cpp/libil2cpp/os/Generic/CrashHelpers.cpp" #include "C:/Users/19022/Downloads/Unity/Editor/Data/il2cpp...
85.1
105
0.807286
HealthSouthern48
43acd8bd0376964d59d14d4a656d09da71b239bc
99,969
cpp
C++
src/QtAV/Videos/nVideosDispatcher.cpp
Vladimir-Lin/QtAV
a50400a216fdb493bdf353d8af894bcfca985685
[ "MIT" ]
null
null
null
src/QtAV/Videos/nVideosDispatcher.cpp
Vladimir-Lin/QtAV
a50400a216fdb493bdf353d8af894bcfca985685
[ "MIT" ]
null
null
null
src/QtAV/Videos/nVideosDispatcher.cpp
Vladimir-Lin/QtAV
a50400a216fdb493bdf353d8af894bcfca985685
[ "MIT" ]
null
null
null
#include <qtav.h> typedef struct { N::Plan * plan ; QWidget * widget ; } ExtraPacket ; N::VideosDispatcher:: VideosDispatcher ( QObject * parent ) : QObject ( parent ) , SyntaxDispatcher ( ) , UuidSyntax ...
55.942361
130
0.200452
Vladimir-Lin
43af485bff84f3c13efea28cbea9bb2877e41b46
1,793
hpp
C++
model/include/primitive.hpp
psnbaba/Computer_graphics
25adabdb29a2cf0c7797b7f658fedafffc719408
[ "MIT" ]
1
2018-12-06T05:19:36.000Z
2018-12-06T05:19:36.000Z
model/include/primitive.hpp
psnbaba/Computer_graphics
25adabdb29a2cf0c7797b7f658fedafffc719408
[ "MIT" ]
null
null
null
model/include/primitive.hpp
psnbaba/Computer_graphics
25adabdb29a2cf0c7797b7f658fedafffc719408
[ "MIT" ]
null
null
null
#ifndef _PRIMITIVE_HPP_ #define _PRIMITIVE_HPP_ #include "glm/vec4.hpp" #include<math.h> #define PI 3.1419 namespace csX75{ class shape { public: glm::vec4 *v_positions; glm::vec4 *v_colors; std::size_t size ; int numofvert ; }; class squ...
19.703297
53
0.475739
psnbaba
43af87e6303b09fa66fa639467d6e92764604bc3
368
hpp
C++
src/Entity.hpp
davidsmithxc/CPP-SDL2-RPG-Physics-Based-2D-Platformer-for-Beginners
9268a436e75a8e67c6ffe16bdfc25ea2df917776
[ "Apache-2.0" ]
null
null
null
src/Entity.hpp
davidsmithxc/CPP-SDL2-RPG-Physics-Based-2D-Platformer-for-Beginners
9268a436e75a8e67c6ffe16bdfc25ea2df917776
[ "Apache-2.0" ]
null
null
null
src/Entity.hpp
davidsmithxc/CPP-SDL2-RPG-Physics-Based-2D-Platformer-for-Beginners
9268a436e75a8e67c6ffe16bdfc25ea2df917776
[ "Apache-2.0" ]
null
null
null
#pragma once #include <SDL2/SDL.h> #include <SDL2/SDL_image.h> #include "Math.hpp" class Entity { public: Entity(Vector2f p_pos, SDL_Texture* p_tex); // TODO: make getters const Vector2f& getPos() { return pos; } SDL_Texture* getTex(); SDL_Rect getCurrentFrame(); private: Vector2f pos; ...
19.368421
47
0.671196
davidsmithxc
43b50cb573b79d495ae732a227cb2ff6897838da
686
cpp
C++
code archive/GJ/a013.cpp
brianbbsu/program
c4505f2b8c0b91010e157db914a63c49638516bc
[ "MIT" ]
4
2018-04-08T08:07:58.000Z
2021-06-07T14:55:24.000Z
code archive/GJ/a013.cpp
brianbbsu/program
c4505f2b8c0b91010e157db914a63c49638516bc
[ "MIT" ]
null
null
null
code archive/GJ/a013.cpp
brianbbsu/program
c4505f2b8c0b91010e157db914a63c49638516bc
[ "MIT" ]
1
2018-10-29T12:37:25.000Z
2018-10-29T12:37:25.000Z
/**********************************************************************************/ /* Problem: a013 "成績分佈 (*)" from if 判斷式、多重條件 */ /* Language: C++ */ /* Result: AC (3ms, 176KB) on ZeroJudge ...
29.826087
84
0.258017
brianbbsu
43b8679942ba5a14920d7dbb6cb55737d2da6774
25,583
cpp
C++
Source/AllProjects/Drivers/IR/GC-IRE/GC-IRES_DriverImpl.cpp
MarkStega/CQC
c1d0e01ec2abcaa5b8eb1899b9f0522fecee4b07
[ "MIT" ]
51
2020-12-26T18:17:16.000Z
2022-03-15T04:29:35.000Z
Source/AllProjects/Drivers/IR/GC-IRE/GC-IRES_DriverImpl.cpp
MarkStega/CQC
c1d0e01ec2abcaa5b8eb1899b9f0522fecee4b07
[ "MIT" ]
null
null
null
Source/AllProjects/Drivers/IR/GC-IRE/GC-IRES_DriverImpl.cpp
MarkStega/CQC
c1d0e01ec2abcaa5b8eb1899b9f0522fecee4b07
[ "MIT" ]
4
2020-12-28T07:24:39.000Z
2021-12-29T12:09:37.000Z
// // FILE NAME: GE-IRES_DriverImpl.cpp // // AUTHOR: Dean Roddey // // CREATED: 07/29/2008 // // COPYRIGHT: Charmed Quark Systems, Ltd @ 2020 // // This software is copyrighted by 'Charmed Quark Systems, Ltd' and // the author (Dean Roddey.) It is licensed under the MIT Open Source // license: // // https://open...
29.817016
83
0.520267
MarkStega
43b958a8dca6aad394949b97d4fc55e257bed184
7,002
cpp
C++
src/core/CL/kernels/CLSelectKernel.cpp
MaximMilashchenko/ComputeLibrary
91ee4d0a9ef128b16936921470a0e3ffef347536
[ "MIT" ]
2,313
2017-03-24T16:25:28.000Z
2022-03-31T03:00:30.000Z
src/core/CL/kernels/CLSelectKernel.cpp
MaximMilashchenko/ComputeLibrary
91ee4d0a9ef128b16936921470a0e3ffef347536
[ "MIT" ]
952
2017-03-28T07:05:58.000Z
2022-03-30T09:54:02.000Z
src/core/CL/kernels/CLSelectKernel.cpp
MaximMilashchenko/ComputeLibrary
91ee4d0a9ef128b16936921470a0e3ffef347536
[ "MIT" ]
714
2017-03-24T22:21:51.000Z
2022-03-18T19:49:57.000Z
/* * Copyright (c) 2018-2021 Arm Limited. * * SPDX-License-Identifier: MIT * * 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 * ri...
41.678571
181
0.695944
MaximMilashchenko
43bea1f8f7a0d534335f87fb25aead74209e37f9
49,605
cpp
C++
SourceCode/main.cpp
jdg534/VulkanEngine
ed7055691e86e4c534b5fe05e29ca30575d4e303
[ "MIT" ]
null
null
null
SourceCode/main.cpp
jdg534/VulkanEngine
ed7055691e86e4c534b5fe05e29ca30575d4e303
[ "MIT" ]
null
null
null
SourceCode/main.cpp
jdg534/VulkanEngine
ed7055691e86e4c534b5fe05e29ca30575d4e303
[ "MIT" ]
null
null
null
#include <optional> #include <iostream> #include <fstream> #include <string> // needed for checking validation layers #include <array> #include <algorithm> #include <vector> #include <set> #include <cassert> #include <exception> #include <cstdlib> #include <glm/glm.hpp> #define GLFW_INCLUDE_VULKAN #ifdef _WINDOWS #def...
38.157692
207
0.796775
jdg534
43bec92259a74e4d2e1f59d61e45f2b700b4f88d
4,163
hpp
C++
include/Buffer.hpp
marcosivni/dicomlib
dd268d07368ff4f1ffd1f94cdaa1e2dbf30bc5c7
[ "BSD-3-Clause" ]
null
null
null
include/Buffer.hpp
marcosivni/dicomlib
dd268d07368ff4f1ffd1f94cdaa1e2dbf30bc5c7
[ "BSD-3-Clause" ]
null
null
null
include/Buffer.hpp
marcosivni/dicomlib
dd268d07368ff4f1ffd1f94cdaa1e2dbf30bc5c7
[ "BSD-3-Clause" ]
null
null
null
#ifndef BUFFER_HPP_INCLUDE_GUARD_7711062925 #define BUFFER_HPP_INCLUDE_GUARD_7711062925 #include <queue> #include <vector> #include <boost/utility.hpp> #include "socket/Base.hpp" #include "socket/SwitchEndian.hpp" #include "Types.hpp" #include "Exceptions.hpp" #include "Tag.hpp" namespace dicom { //!Buffer for da...
29.94964
103
0.705741
marcosivni
43c29a45732ff52bc6e1b960a6c5abd6f1cfa805
455
cpp
C++
test/graph/diameter.cpp
taklimone/library
5819a5f4d6da4e52d6ab583fdf084045f992e708
[ "MIT" ]
null
null
null
test/graph/diameter.cpp
taklimone/library
5819a5f4d6da4e52d6ab583fdf084045f992e708
[ "MIT" ]
null
null
null
test/graph/diameter.cpp
taklimone/library
5819a5f4d6da4e52d6ab583fdf084045f992e708
[ "MIT" ]
null
null
null
#define PROBLEM http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=GRL_5_A #include "graph/diameter.hpp" #include <iostream> #include <vector> using namespace std; int main() { int n; cin >> n; vector<vector<edge<int>>> G(n, vector<edge<int>>()); for(int i = 1; i < n; ++i) { int s, t, w; ...
23.947368
80
0.551648
taklimone
43c4a2f2d53aee512dd56e575332e16957866321
334
cpp
C++
PETCS/Basic/ccc13j1.cpp
dl4us/Competitive-Programming-1
d42fab3bd68168adbe4b5f594f19ee5dfcd1389b
[ "MIT" ]
null
null
null
PETCS/Basic/ccc13j1.cpp
dl4us/Competitive-Programming-1
d42fab3bd68168adbe4b5f594f19ee5dfcd1389b
[ "MIT" ]
null
null
null
PETCS/Basic/ccc13j1.cpp
dl4us/Competitive-Programming-1
d42fab3bd68168adbe4b5f594f19ee5dfcd1389b
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int x, y; int main() { cin.sync_with_stdio(0); cin.tie(0); cout.tie(0); #ifndef ONLINE_JUDGE freopen("../../input.txt", "r", stdin); freopen("../../output.txt", "w", stdout); #endif cin >> x >> y; cout << y + (y-x) << "\n"; ...
20.875
46
0.497006
dl4us
43ca0bb4ef12d60f9965ee6a52e04de40d77a8ab
402
cpp
C++
src/examples/4_remote_control.cpp
MartinRobomaze/Srobko2
807361ce5ee404ae7f976da3b14b3cb0522a9aa6
[ "MIT" ]
1
2021-06-10T08:27:42.000Z
2021-06-10T08:27:42.000Z
src/examples/4_remote_control.cpp
MartinRobomaze/Srobko2
807361ce5ee404ae7f976da3b14b3cb0522a9aa6
[ "MIT" ]
2
2021-06-07T13:01:46.000Z
2021-06-07T13:21:19.000Z
src/examples/4_remote_control.cpp
MartinRobomaze/Srobko2
807361ce5ee404ae7f976da3b14b3cb0522a9aa6
[ "MIT" ]
null
null
null
#include <Arduino.h> #include <robot/radio.h> #include <robot/motors.h> #include <robot/types.h> Radio radio; Motors motors; void setup() { } void loop() { RobotPosition position; // Precitaj data z ovladaca. bool newData = radio.readData(position); // Ak si dostal nove data. if (newData) { ...
16.08
44
0.636816
MartinRobomaze
43ca8607192ae4236d98242452402be1a4046626
752
cpp
C++
OrionUO/DateTimeStamp.cpp
shiryux/UOA-OrionUO
fd81d57db51efd39ecfaaa19fd0fb881bde8fef8
[ "MIT" ]
null
null
null
OrionUO/DateTimeStamp.cpp
shiryux/UOA-OrionUO
fd81d57db51efd39ecfaaa19fd0fb881bde8fef8
[ "MIT" ]
null
null
null
OrionUO/DateTimeStamp.cpp
shiryux/UOA-OrionUO
fd81d57db51efd39ecfaaa19fd0fb881bde8fef8
[ "MIT" ]
null
null
null
// This is an open source non-commercial project. Dear PVS-Studio, please check it. // PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com /*********************************************************************************** ** ** DateTimeStamp.cpp ** ** Copyright (C) September 2017 Hotride ** *****...
39.578947
84
0.307181
shiryux
43ce051f8325bc485ae60cfb71bdbcf31a41ef93
4,013
hpp
C++
include/nuls/system/wallet/hd_public.hpp
ccccbjcn/nuls-v2-cplusplus-sdk
3d5a76452fe0673eba490b26e5a95fea3d5788df
[ "MIT" ]
1
2020-04-26T07:32:52.000Z
2020-04-26T07:32:52.000Z
include/nuls/system/wallet/hd_public.hpp
CCC-NULS/nuls-cplusplus-sdk
3d5a76452fe0673eba490b26e5a95fea3d5788df
[ "MIT" ]
null
null
null
include/nuls/system/wallet/hd_public.hpp
CCC-NULS/nuls-cplusplus-sdk
3d5a76452fe0673eba490b26e5a95fea3d5788df
[ "MIT" ]
null
null
null
/** * Copyright (c) 2020 libnuls developers (see AUTHORS) * * This file is part of libnuls. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published by * the Free Software Foundation, either version 3 of the License, or *...
29.947761
78
0.725392
ccccbjcn
43d3a7d04a81812ca3a8e56785fcb6aad037f723
13,365
hpp
C++
test/Mesh/test_unionMeshSegment.hpp
fvicini/gedim
c38cad9c40e7edabb6ea9da94599152d5a6542b0
[ "MIT" ]
null
null
null
test/Mesh/test_unionMeshSegment.hpp
fvicini/gedim
c38cad9c40e7edabb6ea9da94599152d5a6542b0
[ "MIT" ]
null
null
null
test/Mesh/test_unionMeshSegment.hpp
fvicini/gedim
c38cad9c40e7edabb6ea9da94599152d5a6542b0
[ "MIT" ]
null
null
null
#ifndef __TEST_UnionMeshSegment_H #define __TEST_UnionMeshSegment_H #include <gtest/gtest.h> #include <gmock/gmock.h> #include <gmock/gmock-matchers.h> #include "GeometryUtilities.hpp" #include "IntersectorMesh2DSegment.hpp" #include "UnionMeshSegment.hpp" using namespace testing; using namespace std; namespace Ged...
65.195122
145
0.665245
fvicini
43d5af569de41d3d49d9f9032d8f600bf66ea3c6
881
cpp
C++
interview-prep/nth-fibonacci.cpp
boringwave/Cookbook
3778b2d1a8ee99a733560f29ae3a4ee986170d01
[ "MIT" ]
null
null
null
interview-prep/nth-fibonacci.cpp
boringwave/Cookbook
3778b2d1a8ee99a733560f29ae3a4ee986170d01
[ "MIT" ]
null
null
null
interview-prep/nth-fibonacci.cpp
boringwave/Cookbook
3778b2d1a8ee99a733560f29ae3a4ee986170d01
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; // recursion will limit this at larger numbers int find_nth(int n) { if( n == 0 ) return 0; else if(n == 1) return 1; else return find_nth(n-1) + find_nth(n-2); } // traditional int find_nth_2(int n) { /* Initial values */ int a = 1; int b = 0; ...
13.553846
54
0.490352
boringwave
43e03f69f888e8cec85dcc095ab9cd9b06a14871
291
hpp
C++
include/Matrix3by3.hpp
CaptCrunch333/flight_controller_temp
df996cb6721cc00efe3c46379ecc7d992ae9c764
[ "BSD-3-Clause" ]
null
null
null
include/Matrix3by3.hpp
CaptCrunch333/flight_controller_temp
df996cb6721cc00efe3c46379ecc7d992ae9c764
[ "BSD-3-Clause" ]
null
null
null
include/Matrix3by3.hpp
CaptCrunch333/flight_controller_temp
df996cb6721cc00efe3c46379ecc7d992ae9c764
[ "BSD-3-Clause" ]
3
2020-10-26T12:37:07.000Z
2020-10-27T04:44:27.000Z
#pragma once #include "common_srv/Vector3D.hpp" class Matrix3by3 { protected: Vector3D<float> v1, v2, v3; public: Matrix3by3(); Matrix3by3(Vector3D<float>, Vector3D<float>, Vector3D<float>); Vector3D<float> TransformVector(Vector3D<float>); void Transpose(); };
20.785714
66
0.687285
CaptCrunch333
43e79576da9b5c9e22e517a38c5b22828ccc7fa6
8,169
cpp
C++
src/levenshtein_automaton/MDAG.cpp
virgilwjj/levenshtein_automaton
53dc79bf8d744768b4daf8bc16c5007cd2816269
[ "MIT" ]
1
2021-05-14T09:55:21.000Z
2021-05-14T09:55:21.000Z
src/levenshtein_automaton/MDAG.cpp
virgilwjj/levenshtein_automaton
53dc79bf8d744768b4daf8bc16c5007cd2816269
[ "MIT" ]
null
null
null
src/levenshtein_automaton/MDAG.cpp
virgilwjj/levenshtein_automaton
53dc79bf8d744768b4daf8bc16c5007cd2816269
[ "MIT" ]
null
null
null
#include "levenshtein_automaton/MDAG.h" namespace la { MDAG::MDAG(const std::vector<std::string> &strCollection) { this->addStrings(strCollection); } void MDAG::addStrings(const std::vector<std::string> &strCollection) { if (this->sourceNode != nullptr) { ...
42.994737
179
0.632513
virgilwjj
43e9a30c9d51430770a99fd40490a9a9ba30afdd
472
cpp
C++
src/ctewriter.cpp
ekkus93/CarND-PID-Control-Project
e98f4bf16f3c2f5c615cdfcc62977b958df1ac0f
[ "MIT" ]
null
null
null
src/ctewriter.cpp
ekkus93/CarND-PID-Control-Project
e98f4bf16f3c2f5c615cdfcc62977b958df1ac0f
[ "MIT" ]
null
null
null
src/ctewriter.cpp
ekkus93/CarND-PID-Control-Project
e98f4bf16f3c2f5c615cdfcc62977b958df1ac0f
[ "MIT" ]
null
null
null
#include "ctewriter.h" #include <string> #include <iostream> #include <fstream> using namespace std; CTEWriter::CTEWriter() { isOpen_ = false; } CTEWriter::~CTEWriter() { if (isOpen_) { Close(); } } void CTEWriter::Open(string filename) { outfile_ = new ofstream(filename); isOpen_ = true; } void CT...
13.111111
43
0.635593
ekkus93
43ea40ea91c0042311139293456e65f073a0eac8
820
cpp
C++
examples/pe_header.cpp
sirofen/read-memory-dll
035b008cdb6ffbf2d00f30234f9ef976c04eee1e
[ "MIT" ]
null
null
null
examples/pe_header.cpp
sirofen/read-memory-dll
035b008cdb6ffbf2d00f30234f9ef976c04eee1e
[ "MIT" ]
null
null
null
examples/pe_header.cpp
sirofen/read-memory-dll
035b008cdb6ffbf2d00f30234f9ef976c04eee1e
[ "MIT" ]
null
null
null
// example #include <pe_header.hpp> // spdlog #define SPDLOG_ACTIVE_LEVEL SPDLOG_LEVEL_TRACE #include <spdlog/sinks/stdout_color_sinks.h> #include <spdlog/spdlog.h> // module #include <module/module_run.hpp> #include <module/base_listener.hpp> // WINAPI #include <Windows.h> class listener : public module::base_list...
21.025641
68
0.713415
sirofen
43f027b6a04079f51f9a0d5e174c03d3d1cc23c1
5,966
cpp
C++
src/qt/mempooltablemodel.cpp
drivechain-project/Mainchain
1a948ab1ceb5bba57c0509c991133659d40c10e9
[ "MIT" ]
null
null
null
src/qt/mempooltablemodel.cpp
drivechain-project/Mainchain
1a948ab1ceb5bba57c0509c991133659d40c10e9
[ "MIT" ]
null
null
null
src/qt/mempooltablemodel.cpp
drivechain-project/Mainchain
1a948ab1ceb5bba57c0509c991133659d40c10e9
[ "MIT" ]
null
null
null
// Copyright (c) 2021 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <qt/mempooltablemodel.h> #include <qt/clientmodel.h> #include <qt/drivechainunits.h> #include <qt/optionsmodel.h> #inclu...
25.82684
106
0.563862
drivechain-project
43f0469e6ea1bb2ba3b91da2c1cb4ab7a753c4c7
29,687
cpp
C++
cfdgame_BackUpThisFolder_ButDontShipItWithYourGame/il2cppOutput/Bulk_UnityEngine.InputModule_0.cpp
toropippi/FluidLander_Alpha
e17410fc1092fa1127d993fcbd5b99a9ada39294
[ "CC-BY-2.0", "Apache-2.0" ]
7
2019-12-04T07:04:37.000Z
2022-01-28T02:55:05.000Z
cfdgame_BackUpThisFolder_ButDontShipItWithYourGame/il2cppOutput/Bulk_UnityEngine.InputModule_0.cpp
toropippi/FluidLander_Alpha
e17410fc1092fa1127d993fcbd5b99a9ada39294
[ "CC-BY-2.0", "Apache-2.0" ]
null
null
null
cfdgame_BackUpThisFolder_ButDontShipItWithYourGame/il2cppOutput/Bulk_UnityEngine.InputModule_0.cpp
toropippi/FluidLander_Alpha
e17410fc1092fa1127d993fcbd5b99a9ada39294
[ "CC-BY-2.0", "Apache-2.0" ]
3
2019-12-04T07:04:38.000Z
2022-01-28T02:55:07.000Z
#include "il2cpp-config.h" #ifndef _MSC_VER # include <alloca.h> #else # include <malloc.h> #endif #include <cstring> #include <string.h> #include <stdio.h> #include <cmath> #include <limits> #include <assert.h> #include <stdint.h> #include "il2cpp-class-internals.h" #include "codegen/il2cpp-codegen.h" #include "i...
34.359954
223
0.811668
toropippi
43f17a2e25b739303cab9bf0a653fd6b0edd379b
461
cpp
C++
Contributor Corner/Himanshi/max_min_sum.cpp
hitu1304/interview-corner
97503d1967c646f731275ae3665f142814c6a9d7
[ "MIT" ]
39
2020-11-01T13:58:48.000Z
2021-02-12T08:39:37.000Z
Contributor Corner/Himanshi/max_min_sum.cpp
hitu1304/interview-corner
97503d1967c646f731275ae3665f142814c6a9d7
[ "MIT" ]
86
2020-09-25T07:20:40.000Z
2021-02-18T20:36:29.000Z
Contributor Corner/Himanshi/max_min_sum.cpp
hitu1304/interview-corner
97503d1967c646f731275ae3665f142814c6a9d7
[ "MIT" ]
43
2020-12-18T03:32:42.000Z
2021-02-19T18:08:19.000Z
# include <iostream> # include <vector> # include <algorithm> using namespace std; class solution { public: int find_sum(vector<int>& arr) { sort(arr.begin(),arr.end()); return arr[0] + arr[arr.size()-1]; } }; int main() { vector<int> arr; int key,size; cin >> size; while(...
14.870968
42
0.537961
hitu1304
43fd3788ca6ea1b7ab787db69e739a319e84109e
426
cpp
C++
src/examples/04_module/06_vectors/main.cpp
acc-cosc-1337-fall-2020/acc-cosc-1337-fall-2020-djchenevert
0f7b3f47eb518fc4e85ec853cab9ceb4c629025a
[ "MIT" ]
null
null
null
src/examples/04_module/06_vectors/main.cpp
acc-cosc-1337-fall-2020/acc-cosc-1337-fall-2020-djchenevert
0f7b3f47eb518fc4e85ec853cab9ceb4c629025a
[ "MIT" ]
null
null
null
src/examples/04_module/06_vectors/main.cpp
acc-cosc-1337-fall-2020/acc-cosc-1337-fall-2020-djchenevert
0f7b3f47eb518fc4e85ec853cab9ceb4c629025a
[ "MIT" ]
null
null
null
#include "vec.h" #include<vector> #include<iostream> using std::vector; using std::cout; int main() { vector<int> nums{10, 3, 2}; cout<<"capacity: "<<nums.capacity()<<"\n"; nums.push_back(20); cout<<"capacity: "<<nums.capacity()<<"\n"; cout<<nums[3]<<"\n"; for(std::size_t i =0; i < nums.size(); ++i) { c...
14.2
44
0.558685
acc-cosc-1337-fall-2020
a102ffa27e3faf9609b89a74f1f3a5520b128d19
3,557
cpp
C++
tutorials/common/common_utils_linux.cpp
VickyZengg/MediaSDK
924da6d0664e77cef46eeef7821694dad140b8df
[ "MIT" ]
782
2017-04-04T15:50:34.000Z
2022-03-31T05:15:00.000Z
tutorials/common/common_utils_linux.cpp
VickyZengg/MediaSDK
924da6d0664e77cef46eeef7821694dad140b8df
[ "MIT" ]
1,260
2017-04-04T18:48:37.000Z
2022-03-31T01:53:25.000Z
tutorials/common/common_utils_linux.cpp
VickyZengg/MediaSDK
924da6d0664e77cef46eeef7821694dad140b8df
[ "MIT" ]
538
2017-04-05T00:19:25.000Z
2022-03-31T09:43:35.000Z
// Copyright (c) 2019 Intel Corporation // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, modify, merge, publ...
33.556604
138
0.712679
VickyZengg
a1046c63df551892daef9509963a344438f9cd83
5,773
hpp
C++
libraries/lib-polymer/include/polymer-core/tools/simple-animator.hpp
ddiakopoulos/polymer
a052d6cea5c9714ca3a8f9200bf626eb2df85601
[ "BSD-3-Clause" ]
256
2019-01-06T00:30:05.000Z
2022-03-12T15:41:04.000Z
libraries/lib-polymer/include/polymer-core/tools/simple-animator.hpp
ddiakopoulos/polymer
a052d6cea5c9714ca3a8f9200bf626eb2df85601
[ "BSD-3-Clause" ]
8
2019-01-06T01:46:43.000Z
2021-03-17T18:00:55.000Z
libraries/lib-polymer/include/polymer-core/tools/simple-animator.hpp
ddiakopoulos/polymer
a052d6cea5c9714ca3a8f9200bf626eb2df85601
[ "BSD-3-Clause" ]
22
2019-01-06T22:31:51.000Z
2022-01-27T02:13:21.000Z
#pragma once #ifndef polymer_simple_animator_hpp #define polymer_simple_animator_hpp #include "polymer-core/util/util.hpp" #include "polymer-core/math/math-common.hpp" #include <list> #include <functional> #include <thread> namespace tween { struct linear { inline static float ease_in_out(const floa...
29.156566
137
0.482591
ddiakopoulos
a107727d8868b0f340d0abee93cc11c7716c0823
3,668
hpp
C++
src/base/command/CommandUtil.hpp
saichikine/GMAT
80bde040e12946a61dae90d9fc3538f16df34190
[ "Apache-2.0" ]
null
null
null
src/base/command/CommandUtil.hpp
saichikine/GMAT
80bde040e12946a61dae90d9fc3538f16df34190
[ "Apache-2.0" ]
null
null
null
src/base/command/CommandUtil.hpp
saichikine/GMAT
80bde040e12946a61dae90d9fc3538f16df34190
[ "Apache-2.0" ]
1
2021-12-05T05:40:15.000Z
2021-12-05T05:40:15.000Z
//$Id$ //------------------------------------------------------------------------------ // CommandUtil //------------------------------------------------------------------------------ // GMAT: General Mission Analysis Tool // // Copyright (c) 2002 - 2018 United States Government as repre...
50.246575
95
0.662214
saichikine
a1095a6cf96c8331e225ba4ce9baadb5e73124ab
11,370
cpp
C++
tests/bin/mt_mssd.cpp
Guanmoyu/Tengine
2628086834f5e25455d175df732713618c8445d9
[ "Apache-2.0" ]
2
2020-12-14T14:49:03.000Z
2021-05-14T08:09:59.000Z
tests/bin/mt_mssd.cpp
Guanmoyu/Tengine
2628086834f5e25455d175df732713618c8445d9
[ "Apache-2.0" ]
null
null
null
tests/bin/mt_mssd.cpp
Guanmoyu/Tengine
2628086834f5e25455d175df732713618c8445d9
[ "Apache-2.0" ]
null
null
null
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * License); you ma...
29.764398
118
0.575989
Guanmoyu
a10b4888c142fac2b4bb43cfdde7a16716b4608c
771
hpp
C++
include/RED4ext/Types/generated/game/EffectAction_NewEffect_ReverseFromLastHit.hpp
Cyberpunk-Extended-Development-Team/RED4ext.SDK
2dc828c761d87a1b4235ce9ca4fbdf9fb4312fae
[ "MIT" ]
1
2021-02-01T23:07:50.000Z
2021-02-01T23:07:50.000Z
include/RED4ext/Types/generated/game/EffectAction_NewEffect_ReverseFromLastHit.hpp
Cyberpunk-Extended-Development-Team/RED4ext.SDK
2dc828c761d87a1b4235ce9ca4fbdf9fb4312fae
[ "MIT" ]
null
null
null
include/RED4ext/Types/generated/game/EffectAction_NewEffect_ReverseFromLastHit.hpp
Cyberpunk-Extended-Development-Team/RED4ext.SDK
2dc828c761d87a1b4235ce9ca4fbdf9fb4312fae
[ "MIT" ]
null
null
null
#pragma once // This file is generated from the Game's Reflection data #include <cstdint> #include <RED4ext/Common.hpp> #include <RED4ext/REDhash.hpp> #include <RED4ext/CName.hpp> #include <RED4ext/Types/generated/game/EffectPostAction.hpp> namespace RED4ext { namespace game { struct EffectAction_NewEffect_ReverseF...
27.535714
88
0.757458
Cyberpunk-Extended-Development-Team
a10b5d8d6b63f90d2959a933a050822761048db7
25,800
cpp
C++
common/ArgonEngine/ArgonInit.cpp
skylersaleh/ArgonEngine
7847269b720892f7e9a64907ec9ee13ab80037fd
[ "MIT" ]
null
null
null
common/ArgonEngine/ArgonInit.cpp
skylersaleh/ArgonEngine
7847269b720892f7e9a64907ec9ee13ab80037fd
[ "MIT" ]
null
null
null
common/ArgonEngine/ArgonInit.cpp
skylersaleh/ArgonEngine
7847269b720892f7e9a64907ec9ee13ab80037fd
[ "MIT" ]
null
null
null
//Generated by the Argon Build System #include "ArgonInit.h" #define GLFW_USE_CHDIR 1 #include <stdlib.h> #include "Utility.h" #include "Hardware.h" #include "VirtualResource.h" #ifdef USE_GLEW #include "GL/glew.h" #endif #ifdef USE_SDL #include "SDL2/SDL.h" #ifdef USE_OPENGL #ifndef USE_OPENGLES #include "SDL2/SDL_o...
35.197817
167
0.621589
skylersaleh
a110e9f3a9991da1b79bba2f381598f3ccdf990a
1,332
hpp
C++
gem/Code/Source/Types/AlarmHandle.hpp
loherangrin/addons.o3de.date-time
e3e7719204490dc2b69598e88803aaa1b3bb4fa3
[ "Apache-2.0" ]
null
null
null
gem/Code/Source/Types/AlarmHandle.hpp
loherangrin/addons.o3de.date-time
e3e7719204490dc2b69598e88803aaa1b3bb4fa3
[ "Apache-2.0" ]
null
null
null
gem/Code/Source/Types/AlarmHandle.hpp
loherangrin/addons.o3de.date-time
e3e7719204490dc2b69598e88803aaa1b3bb4fa3
[ "Apache-2.0" ]
null
null
null
/* Copyright 2022 Matteo Grasso * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to i...
22.965517
75
0.742492
loherangrin
e1627b8cd74c9c7d2422b4965a81becda20b1d82
979
cpp
C++
01 Arrays/26 unionTwoSortedArrays.cpp
vishwaphansal/amazon-sde
547258364b072f054732e12cb1e963eb665f2da7
[ "Apache-2.0" ]
null
null
null
01 Arrays/26 unionTwoSortedArrays.cpp
vishwaphansal/amazon-sde
547258364b072f054732e12cb1e963eb665f2da7
[ "Apache-2.0" ]
null
null
null
01 Arrays/26 unionTwoSortedArrays.cpp
vishwaphansal/amazon-sde
547258364b072f054732e12cb1e963eb665f2da7
[ "Apache-2.0" ]
null
null
null
int removeDuplicates(int arr[], int n) { if (n==0 || n==1) return n; int j = 0; for (int i=0; i < n-1; i++) if (arr[i] != arr[i+1]) arr[j++] = arr[i]; arr[j++] = arr[n-1]; return j; } vector<int> findUnion(int arr1[], int arr2[], int n, int m) { ...
18.12963
59
0.389173
vishwaphansal
e162b12b1a463c1cd43247e532fb638c4181ae1e
5,003
cpp
C++
shared/test/unit_test/scratch_space_controler/scratch_space_controler_tests.cpp
mattcarter2017/compute-runtime
1f52802aac02c78c19d5493dd3a2402830bbe438
[ "Intel", "MIT" ]
null
null
null
shared/test/unit_test/scratch_space_controler/scratch_space_controler_tests.cpp
mattcarter2017/compute-runtime
1f52802aac02c78c19d5493dd3a2402830bbe438
[ "Intel", "MIT" ]
null
null
null
shared/test/unit_test/scratch_space_controler/scratch_space_controler_tests.cpp
mattcarter2017/compute-runtime
1f52802aac02c78c19d5493dd3a2402830bbe438
[ "Intel", "MIT" ]
null
null
null
/* * Copyright (C) 2020-2021 Intel Corporation * * SPDX-License-Identifier: MIT * */ #include "shared/source/command_stream/scratch_space_controller_base.h" #include "shared/test/common/fixtures/device_fixture.h" #include "shared/test/common/mocks/mock_command_stream_receiver.h" #include "shared/test/common/test_...
59.559524
226
0.653808
mattcarter2017
e1637a0dae374ae4d43b92dc45d8bc5022ec9ebf
485
hpp
C++
library/ATF/tagAFX_OLDTOOLINFO.hpp
lemkova/Yorozuya
f445d800078d9aba5de28f122cedfa03f26a38e4
[ "MIT" ]
29
2017-07-01T23:08:31.000Z
2022-02-19T10:22:45.000Z
library/ATF/tagAFX_OLDTOOLINFO.hpp
kotopes/Yorozuya
605c97d3a627a8f6545cc09f2a1b0a8afdedd33a
[ "MIT" ]
90
2017-10-18T21:24:51.000Z
2019-06-06T02:30:33.000Z
library/ATF/tagAFX_OLDTOOLINFO.hpp
kotopes/Yorozuya
605c97d3a627a8f6545cc09f2a1b0a8afdedd33a
[ "MIT" ]
44
2017-12-19T08:02:59.000Z
2022-02-24T23:15:01.000Z
// This file auto generated by plugin for ida pro. Generated code only for x64. Please, dont change manually #pragma once #include <common/common.h> #include <HINSTANCE__.hpp> #include <HWND__.hpp> #include <tagRECT.hpp> START_ATF_NAMESPACE struct tagAFX_OLDTOOLINFO { unsigned int cbSize; uns...
22.045455
108
0.672165
lemkova
e164219c9a2357c2439d1c423e81ec61a8a06154
1,233
cc
C++
src/sys/sysmgr/integration_tests/test_sysmgr_service.cc
zarelaky/fuchsia
858cc1914de722b13afc2aaaee8a6bd491cd8d9a
[ "BSD-3-Clause" ]
null
null
null
src/sys/sysmgr/integration_tests/test_sysmgr_service.cc
zarelaky/fuchsia
858cc1914de722b13afc2aaaee8a6bd491cd8d9a
[ "BSD-3-Clause" ]
null
null
null
src/sys/sysmgr/integration_tests/test_sysmgr_service.cc
zarelaky/fuchsia
858cc1914de722b13afc2aaaee8a6bd491cd8d9a
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2018 The Fuchsia Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include <lib/async-loop/cpp/loop.h> #include <lib/async-loop/default.h> #include <lib/fidl/cpp/binding_set.h> #include <lib/sys/cpp/component_context.h> #...
24.66
73
0.712084
zarelaky
e16464d9374192c9326ca9e0d9900ada4fa1afc6
7,585
cpp
C++
src/rviz/view_manager.cpp
yinzixuan126/rviz
c228cf5e03ef44c7581f449a34845722fe10f9a3
[ "MIT" ]
9
2017-12-17T07:43:15.000Z
2021-10-10T15:03:39.000Z
src/rviz/view_manager.cpp
yinzixuan126/rviz
c228cf5e03ef44c7581f449a34845722fe10f9a3
[ "MIT" ]
null
null
null
src/rviz/view_manager.cpp
yinzixuan126/rviz
c228cf5e03ef44c7581f449a34845722fe10f9a3
[ "MIT" ]
6
2016-01-27T03:40:58.000Z
2021-06-15T08:12:14.000Z
/* * Copyright (c) 2012, Willow Garage, 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 l...
25.538721
103
0.69677
yinzixuan126
e1692a95c41192e3ea3563971c7bbe9f95faae55
14,141
cpp
C++
src/SignerInfo.cpp
selfienetworks/COSE-C
97d1805e71b7a6770093c5e6790d46611680d563
[ "BSD-3-Clause" ]
25
2016-07-15T12:11:42.000Z
2021-11-19T20:52:46.000Z
src/SignerInfo.cpp
selfienetworks/COSE-C
97d1805e71b7a6770093c5e6790d46611680d563
[ "BSD-3-Clause" ]
96
2015-09-04T05:12:01.000Z
2021-12-30T08:39:56.000Z
src/SignerInfo.cpp
selfienetworks/COSE-C
97d1805e71b7a6770093c5e6790d46611680d563
[ "BSD-3-Clause" ]
21
2015-05-27T03:27:21.000Z
2021-08-10T15:10:10.000Z
/** \file SignerInfo.c * Contains implementation of the functions related to HCOSE_SIGNER handle * objects. */ #include <stdlib.h> #ifndef __MBED__ #include <memory.h> #endif #include "cose/cose.h" #include "cose_int.h" #include "cose/cose_configure.h" #include "cose_crypto.h" #if INCLUDE_SIGN || INCLUDE_COUNTERS...
24.423143
80
0.742451
selfienetworks
e17116102c287cfb25547c0020606ed0de805ae8
63,287
cc
C++
components/nist_sblas/nist_spblas.cc
Technica-Corporation/ProtoNN-ESP32
8822ad37677ca3ae8b0c519d19d0f4882e3c32ac
[ "Apache-2.0" ]
3
2019-07-10T09:07:08.000Z
2019-11-19T19:26:24.000Z
components/nist_sblas/nist_spblas.cc
Technica-Corporation/ProtoNN-ESP32
8822ad37677ca3ae8b0c519d19d0f4882e3c32ac
[ "Apache-2.0" ]
null
null
null
components/nist_sblas/nist_spblas.cc
Technica-Corporation/ProtoNN-ESP32
8822ad37677ca3ae8b0c519d19d0f4882e3c32ac
[ "Apache-2.0" ]
null
null
null
/* * * Sparse BLAS (Basic Linear Algebra Subprograms) Library * * A C++ implementation of the routines specified by the ANSI C * interface specification of the Sparse BLAS in the BLAS Technical * Forum Standard[1]. For details, see [2]. * * Mathematical and Computational Sciences Division * National Instit...
26.227518
98
0.595762
Technica-Corporation
e1735bc34bcde81ef35f6a8ef8714f4a69ec413b
9,008
cpp
C++
c++/meta.cpp
dscharrer/void
80a0281f18dd8d32db8ceb5e7db31f4c8af096f6
[ "Zlib" ]
28
2015-02-21T02:17:22.000Z
2022-01-24T20:52:15.000Z
c++/meta.cpp
dscharrer/void
80a0281f18dd8d32db8ceb5e7db31f4c8af096f6
[ "Zlib" ]
null
null
null
c++/meta.cpp
dscharrer/void
80a0281f18dd8d32db8ceb5e7db31f4c8af096f6
[ "Zlib" ]
null
null
null
#include <iostream> #include <utility> #include <type_traits> #include <cstdint> // -------------------------------------------------------------------------- template <typename T, T Value> struct meta_int : public std::integral_constant<T, Value> { template <typename TT, typename = typename std::enable_if<std::i...
32.171429
109
0.661412
dscharrer
e173c776ef723425a1104008899b2d4ecd0ae596
6,862
hpp
C++
falcon/memory/temporary_raw_storage.hpp
jonathanpoelen/falcon
5b60a39787eedf15b801d83384193a05efd41a89
[ "MIT" ]
2
2018-02-02T14:19:59.000Z
2018-05-13T02:48:24.000Z
falcon/memory/temporary_raw_storage.hpp
jonathanpoelen/falcon
5b60a39787eedf15b801d83384193a05efd41a89
[ "MIT" ]
null
null
null
falcon/memory/temporary_raw_storage.hpp
jonathanpoelen/falcon
5b60a39787eedf15b801d83384193a05efd41a89
[ "MIT" ]
null
null
null
#ifndef FALCON_MEMORY_TEMPORARY_RAW_STORAGE_HPP #define FALCON_MEMORY_TEMPORARY_RAW_STORAGE_HPP #include <falcon/type_traits/is_nothrow_swap.hpp> #include <falcon/parameter/optimal_index_pack.hpp> #include <falcon/parameter/parameter_pack.hpp> #include <falcon/parameter/index_element.hpp> #include <falcon/tuple/optima...
30.633929
102
0.728068
jonathanpoelen
e174e782b45278796acdfd282a235f3ca98dd3e5
7,861
hpp
C++
util.hpp
JMMackenzie/RMQV
beb9a43c6b8b07045afe847d95596f91a1b95c05
[ "Apache-2.0" ]
1
2021-07-14T07:57:04.000Z
2021-07-14T07:57:04.000Z
util.hpp
JMMackenzie/RMQV
beb9a43c6b8b07045afe847d95596f91a1b95c05
[ "Apache-2.0" ]
null
null
null
util.hpp
JMMackenzie/RMQV
beb9a43c6b8b07045afe847d95596f91a1b95c05
[ "Apache-2.0" ]
2
2018-06-23T16:10:32.000Z
2018-06-27T07:21:17.000Z
#pragma once #include <iostream> #include <fstream> #include <cmath> #include <vector> #include <map> #include <iomanip> #include <locale> #include <cassert> #include <cstdlib> #include <cstring> #include <sys/time.h> #include <sys/resource.h> #include "succinct/broadword.hpp" #include <cilk/cilk.h> #include <cilk/r...
26.379195
85
0.525378
JMMackenzie
e175c0a2812552923483fb967bc771e735d70fab
478
cpp
C++
modules/logic/src/Logic/Itk/ImageToImageFilter/gmLogicItkBinaryFillholeImageFilter.cpp
GraphMIC/GraphMIC
8fc2aeb0143ee1292c6757f010fc9e8c68823e2b
[ "BSD-3-Clause" ]
43
2016-04-11T11:34:05.000Z
2022-03-31T03:37:57.000Z
modules/logic/src/Logic/Itk/ImageToImageFilter/gmLogicItkBinaryFillholeImageFilter.cpp
kevinlq/GraphMIC
8fc2aeb0143ee1292c6757f010fc9e8c68823e2b
[ "BSD-3-Clause" ]
1
2016-05-17T12:58:16.000Z
2016-05-17T12:58:16.000Z
modules/logic/src/Logic/Itk/ImageToImageFilter/gmLogicItkBinaryFillholeImageFilter.cpp
kevinlq/GraphMIC
8fc2aeb0143ee1292c6757f010fc9e8c68823e2b
[ "BSD-3-Clause" ]
14
2016-05-13T20:23:16.000Z
2021-12-20T10:33:19.000Z
#include "gmLogicItkBinaryFillholeImageFilter.hpp" namespace gm { namespace Logic { namespace Itk { auto BinaryFillholeImageFilter::Register = Logic::Register<BinaryFillholeImageFilter>("itk", "BinaryFillholeImageFil...
29.875
133
0.523013
GraphMIC
e176cf6370f8450640b2c33c43251f132486bb13
2,058
hpp
C++
include/Pomdog/Graphics/IndexBuffer.hpp
bis83/pomdog
133a9262958d539ae6d93664e6cb2207b5b6c7ff
[ "MIT" ]
null
null
null
include/Pomdog/Graphics/IndexBuffer.hpp
bis83/pomdog
133a9262958d539ae6d93664e6cb2207b5b6c7ff
[ "MIT" ]
null
null
null
include/Pomdog/Graphics/IndexBuffer.hpp
bis83/pomdog
133a9262958d539ae6d93664e6cb2207b5b6c7ff
[ "MIT" ]
null
null
null
// Copyright (c) 2013-2015 mogemimi. // Distributed under the MIT license. See LICENSE.md file for details. #ifndef POMDOG_INDEXBUFFER_4119FC34_HPP #define POMDOG_INDEXBUFFER_4119FC34_HPP #include "detail/ForwardDeclarations.hpp" #include "BufferUsage.hpp" #include "IndexElementSize.hpp" #include "Pomdog/Basic/Export...
28.985915
70
0.735666
bis83
e176db4c7036137ce3bf3e8ba877d53e30feb7a4
2,184
cpp
C++
adaptors/x11/key-grab-x.cpp
pwisbey/dali-adaptor
21d5e77316e53285fa1e210a93b13cf9889e3b54
[ "Apache-2.0" ]
null
null
null
adaptors/x11/key-grab-x.cpp
pwisbey/dali-adaptor
21d5e77316e53285fa1e210a93b13cf9889e3b54
[ "Apache-2.0" ]
null
null
null
adaptors/x11/key-grab-x.cpp
pwisbey/dali-adaptor
21d5e77316e53285fa1e210a93b13cf9889e3b54
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2016 Samsung 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...
24.539326
107
0.668498
pwisbey
e1775d18f3911889348cfc235cc56655b7247163
2,571
cpp
C++
Trees/bt-to-cll.cpp
divyanshu013/algorithm-journey
8dc32daa732f16099da148bb8669778d4ef3172a
[ "MIT" ]
null
null
null
Trees/bt-to-cll.cpp
divyanshu013/algorithm-journey
8dc32daa732f16099da148bb8669778d4ef3172a
[ "MIT" ]
null
null
null
Trees/bt-to-cll.cpp
divyanshu013/algorithm-journey
8dc32daa732f16099da148bb8669778d4ef3172a
[ "MIT" ]
null
null
null
/******************************************************************************* BT to CLL ========= Ref - http://www.geeksforgeeks.org/convert-a-binary-tree-to-a-circular-doubly-link-list/ -------------------------------------------------------------------------------- Problem ======= 1) Write a general purpose fu...
23.805556
121
0.5317
divyanshu013
e177b28d664c3aba0cd9be17036da5d2ac71e052
4,187
cpp
C++
src/core/utility/GameSpeedController.cpp
Robograde/Robograde
2c9a7d0b8250ec240102d504127f5c54532cb2b0
[ "Zlib" ]
5
2015-10-11T10:22:39.000Z
2019-07-24T10:09:13.000Z
src/core/utility/GameSpeedController.cpp
Robograde/Robograde
2c9a7d0b8250ec240102d504127f5c54532cb2b0
[ "Zlib" ]
null
null
null
src/core/utility/GameSpeedController.cpp
Robograde/Robograde
2c9a7d0b8250ec240102d504127f5c54532cb2b0
[ "Zlib" ]
null
null
null
/************************************************** Copyright 2015 Daniel "MonzUn" Bengtsson ***************************************************/ #include "GameSpeedController.h" #include "../CompileFlags.h" #include <network/NetworkInfo.h> #include <utility/Logger.h> #include <input/Input.h> #include <input/KeyBindin...
26.839744
153
0.726057
Robograde
e179c530e46c90bdbb21f32910c46bb107ec18e4
8,359
cpp
C++
Samples/Logging/cpp/Scenario2.xaml.cpp
CrZGerry/Windows-universal-samples
2fbdfea60458ab5c915083de9979f5668e676acb
[ "MIT" ]
2
2018-12-25T14:44:11.000Z
2020-05-25T08:41:59.000Z
Samples/Logging/cpp/Scenario2.xaml.cpp
CrZGerry/Windows-universal-samples
2fbdfea60458ab5c915083de9979f5668e676acb
[ "MIT" ]
null
null
null
Samples/Logging/cpp/Scenario2.xaml.cpp
CrZGerry/Windows-universal-samples
2fbdfea60458ab5c915083de9979f5668e676acb
[ "MIT" ]
2
2020-07-13T03:05:00.000Z
2021-08-11T15:16:12.000Z
//********************************************************* // // Copyright (c) Microsoft. All rights reserved. // This code is licensed under the MIT License (MIT). // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY // IMPLIED WARRANTIES OF FITNESS FOR A PA...
36.502183
198
0.622682
CrZGerry
e17b225c8e5702d41477ae85700a1f6b97cd26ca
405
cpp
C++
Tutorials/Particles/ElectromagneticPIC/NodalFlags.cpp
wolfram-schmidt/amrex
88120db4736c325a2d3d2c291adacaffd3bf224b
[ "BSD-3-Clause-LBNL" ]
null
null
null
Tutorials/Particles/ElectromagneticPIC/NodalFlags.cpp
wolfram-schmidt/amrex
88120db4736c325a2d3d2c291adacaffd3bf224b
[ "BSD-3-Clause-LBNL" ]
null
null
null
Tutorials/Particles/ElectromagneticPIC/NodalFlags.cpp
wolfram-schmidt/amrex
88120db4736c325a2d3d2c291adacaffd3bf224b
[ "BSD-3-Clause-LBNL" ]
null
null
null
#include "NodalFlags.H" using namespace amrex; IntVect YeeGrid::Bx_nodal_flag(1,0,0); IntVect YeeGrid::By_nodal_flag(0,1,0); IntVect YeeGrid::Bz_nodal_flag(0,0,1); IntVect YeeGrid::Ex_nodal_flag(0,1,1); IntVect YeeGrid::Ey_nodal_flag(1,0,1); IntVect YeeGrid::Ez_nodal_flag(1,1,0); IntVect YeeGrid::jx_nodal_flag(0,1,...
25.3125
41
0.758025
wolfram-schmidt
e17c213349bea46063ef177b7b0016bda77f9e5b
2,187
cpp
C++
example/gherkin.cpp
ambushed/ut
248df4dd091781b45b2cde7332774226d6a459b3
[ "BSL-1.0" ]
567
2020-06-30T20:16:52.000Z
2022-03-31T21:22:41.000Z
example/gherkin.cpp
ambushed/ut
248df4dd091781b45b2cde7332774226d6a459b3
[ "BSL-1.0" ]
85
2020-07-01T02:21:03.000Z
2022-03-27T22:12:35.000Z
example/gherkin.cpp
ambushed/ut
248df4dd091781b45b2cde7332774226d6a459b3
[ "BSL-1.0" ]
63
2020-07-08T06:47:30.000Z
2022-03-27T15:08:34.000Z
// // Copyright (c) 2019-2020 Kris Jusiak (kris 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) // #include <boost/ut.hpp> #include <fstream> #include <numeric> #include <streambuf> #include...
26.670732
80
0.551898
ambushed
e17e2044fdb9cd1c4922361e662f1ec7098c4e1e
6,500
hh
C++
parsing.hh
KholdStare/qnd-integer-parsing-experiments
bf8598affb9754e7ba797b4056e145b296a81fdf
[ "BSL-1.0" ]
33
2020-05-26T21:06:53.000Z
2021-09-29T13:04:22.000Z
parsing.hh
KholdStare/qnd-integer-parsing-experiments
bf8598affb9754e7ba797b4056e145b296a81fdf
[ "BSL-1.0" ]
8
2020-05-27T04:20:11.000Z
2020-08-24T10:43:09.000Z
parsing.hh
KholdStare/qnd-integer-parsing-experiments
bf8598affb9754e7ba797b4056e145b296a81fdf
[ "BSL-1.0" ]
2
2020-06-07T12:25:54.000Z
2020-06-28T05:51:06.000Z
#pragma once #include <iostream> #include <iomanip> #include <charconv> #include <cstring> #include <ios> #include <bitset> #ifdef QND_TEST_BOOST #include <boost/spirit/include/qi.hpp> #endif #include <immintrin.h> inline std::uint64_t parse_char_conv(std::string_view s) noexcept { std::uint64_t result = 0; std:...
28.761062
102
0.668769
KholdStare
e18277d166e04f74fd857f4cb731c457dfff702a
1,815
cc
C++
test/vector_iterator.cc
Victor-Savu/xtd
504b7adc826afd12c59c6b6680177385bf63ebfa
[ "MIT" ]
null
null
null
test/vector_iterator.cc
Victor-Savu/xtd
504b7adc826afd12c59c6b6680177385bf63ebfa
[ "MIT" ]
null
null
null
test/vector_iterator.cc
Victor-Savu/xtd
504b7adc826afd12c59c6b6680177385bf63ebfa
[ "MIT" ]
null
null
null
#include <xtd/vector.hh> #include <string> #include <algorithm> #include <gtest/gtest.h> TEST(vector_iterator, construction) { xtd::vector<int> v; xtd::vector<int> const cv; xtd::vector<int>::iterator def_mut; xtd::vector<int>::iterator mut{v, 0}; xtd::vector<int>::iterator mut_copy{mut}; xtd::vector<...
20.625
80
0.625344
Victor-Savu
e18955102604b2fcfe07bb045dd1607e0b80d96c
145,759
cpp
C++
src/textGeometryBSU.cpp
macton/chromium-bsu
27e70290913f62401f1ecfca9e806b6ba9170547
[ "ClArtistic" ]
3
2019-06-07T16:09:28.000Z
2021-04-01T21:46:24.000Z
src/textGeometryBSU.cpp
macton/chromium-bsu
27e70290913f62401f1ecfca9e806b6ba9170547
[ "ClArtistic" ]
1
2020-12-19T15:20:14.000Z
2020-12-28T10:00:31.000Z
src/textGeometryBSU.cpp
macton/chromium-bsu
27e70290913f62401f1ecfca9e806b6ba9170547
[ "ClArtistic" ]
3
2016-04-19T17:07:30.000Z
2019-03-01T05:47:53.000Z
/* * Copyright (c) 2000 Mark B. Allan. All rights reserved. * * "Chromium B.S.U." is free software; you can redistribute * it and/or use it and/or modify it under the terms of the * "Clarified Artistic License" */ #ifdef HAVE_CONFIG_H #include <chromium-bsu-config.h> #endif #include "textGeometry.h" #include ...
53.745944
90
0.570208
macton
e189908db1299387f0dfb154280c49f47c939fc8
12,640
cc
C++
src/MADetectorConstruction.cc
TomSB1423/MuOnArgon
5a610605ee189cc62cffe702d808a342c5f155a7
[ "MIT" ]
2
2021-12-12T21:56:43.000Z
2022-02-09T02:11:47.000Z
src/MADetectorConstruction.cc
yramachers/MuOnArgon
2fad6acfb5b4868b006ff1748431b5cd23169eb0
[ "MIT" ]
null
null
null
src/MADetectorConstruction.cc
yramachers/MuOnArgon
2fad6acfb5b4868b006ff1748431b5cd23169eb0
[ "MIT" ]
null
null
null
#include "MADetectorConstruction.hh" #include <cmath> #include "G4Box.hh" #include "G4Tubs.hh" #include "G4Polyhedra.hh" #include "G4LogicalVolume.hh" #include "G4Material.hh" #include "G4NistManager.hh" #include "G4PVPlacement.hh" #include "G4PVReplica.hh" #include "G4GDMLParser.hh" #include "G4Colour.hh" #include ...
38.187311
100
0.63125
TomSB1423
e192dcdbb10d6a20aa17f678919c3461acf9c243
704
cpp
C++
ejercicio1/src/Socio.cpp
matbentancur/pav
df556249e342863286ad1c991a5613bd63e09902
[ "MIT" ]
null
null
null
ejercicio1/src/Socio.cpp
matbentancur/pav
df556249e342863286ad1c991a5613bd63e09902
[ "MIT" ]
1
2018-04-05T15:06:04.000Z
2018-04-15T21:46:44.000Z
ejercicio1/src/Socio.cpp
matbentancur/pav
df556249e342863286ad1c991a5613bd63e09902
[ "MIT" ]
null
null
null
#include "Socio.h" Socio::Socio() { //contrutuctor } Socio::Socio(DtSocio& dtSocio) { this->CI = dtSocio.getCI(); this->nombre = dtSocio.getNombre(); } Socio::Socio(string CI, string nombre) { this->CI = CI; this->nombre = nombre; } Socio::~Socio() { //destructor } string Socio::getCI(){ ...
16
60
0.582386
matbentancur
e198247c4cce39d2fa326f0bf8d8cd2a222c2d3b
45,872
inl
C++
src/Framework/Collision/CollisionDetectionAlgorithm.inl
Oncle-Ha/peridyno
7952252923d637685bf3a982856aca8095b78c50
[ "Apache-2.0" ]
22
2021-05-26T09:19:07.000Z
2022-03-28T04:06:21.000Z
src/Framework/Collision/CollisionDetectionAlgorithm.inl
Oncle-Ha/peridyno
7952252923d637685bf3a982856aca8095b78c50
[ "Apache-2.0" ]
1
2021-07-27T09:43:42.000Z
2022-02-07T14:47:18.000Z
src/Framework/Collision/CollisionDetectionAlgorithm.inl
Oncle-Ha/peridyno
7952252923d637685bf3a982856aca8095b78c50
[ "Apache-2.0" ]
11
2021-04-24T03:43:33.000Z
2022-03-11T14:09:21.000Z
#include "Topology/Primitive3D.h" namespace dyno { struct ClipVertex { Vector<Real, 3> v; }; template<typename Real> DYN_FUNC float fsign(Real v) { return v < 0 ? -Real(1) : Real(1); } //-------------------------------------------------------------------------------------------------- // qBoxtoBox ...
27.111111
201
0.563525
Oncle-Ha
e19c5b5f91f8e5293792f7b6420ac2d7de5e2209
723
cpp
C++
Unique Email Addresses.cpp
durgirajesh/Leetcode
18b11cd90e8a5ce33f4029d5b7edf9502273bc76
[ "MIT" ]
2
2020-06-25T12:46:13.000Z
2021-07-06T06:34:33.000Z
Unique Email Addresses.cpp
durgirajesh/Leetcode
18b11cd90e8a5ce33f4029d5b7edf9502273bc76
[ "MIT" ]
null
null
null
Unique Email Addresses.cpp
durgirajesh/Leetcode
18b11cd90e8a5ce33f4029d5b7edf9502273bc76
[ "MIT" ]
null
null
null
class Solution { public: int numUniqueEmails(vector<string>& emails) { set<string> vec; for(string str : emails){ string email; int i=0; bool flag=false; while(i < str.length()){ if(!flag && str[i]=='.'){ i++; ...
25.821429
50
0.29184
durgirajesh
e19dca167caedeb0d0d61d6fea4ce2d2b48b00a6
549
cpp
C++
kernel/system/dmzSystemRefCountLinux.cpp
shillcock/dmz
02174b45089e12cd7f0840d5259a00403cd1ccff
[ "MIT" ]
2
2015-11-05T03:03:40.000Z
2016-02-03T21:50:40.000Z
kernel/system/dmzSystemRefCountLinux.cpp
ashok/dmz
2f8d4bced646f25abf2e98bdc0d378dafb4b32ed
[ "MIT" ]
null
null
null
kernel/system/dmzSystemRefCountLinux.cpp
ashok/dmz
2f8d4bced646f25abf2e98bdc0d378dafb4b32ed
[ "MIT" ]
null
null
null
#include <dmzSystemRefCount.h> #include <dmzTypesBase.h> #include <atomic_ops.h> struct dmz::RefCount::State { AO_t value; State () : value (1) {;} }; dmz::RefCount::RefCount () : _state (*(new State)) {;} dmz::RefCount::~RefCount () { delete &_state; } dmz::Int32 dmz::RefCount::ref () { return dmz::In...
17.15625
65
0.64663
shillcock
e19e9274c5562185e5b9e0043eed3d6d5503e920
230
cpp
C++
source/Components/Component.cpp
dom380/IMAT3606-Coursework-2
36f50b25823cd3170a403a2e2ef50e3019fcd73b
[ "FTL", "Zlib", "Apache-2.0", "MIT" ]
null
null
null
source/Components/Component.cpp
dom380/IMAT3606-Coursework-2
36f50b25823cd3170a403a2e2ef50e3019fcd73b
[ "FTL", "Zlib", "Apache-2.0", "MIT" ]
null
null
null
source/Components/Component.cpp
dom380/IMAT3606-Coursework-2
36f50b25823cd3170a403a2e2ef50e3019fcd73b
[ "FTL", "Zlib", "Apache-2.0", "MIT" ]
null
null
null
#include "Components\Component.h" Component::Component(ComponentType type) { this->type = type; } ComponentType Component::getType() { return type; } bool Component::isType(ComponentType type) { return this->type == type; }
13.529412
42
0.726087
dom380
e1a88944ed437b9c35bd465fadfd4bdcd1981e3a
119,239
cpp
C++
src/gui/UserInterface.cpp
SpookyGhost2D/SpookyGhost
bfddccee9239aedf7928e781042e5ca1d78a49e1
[ "MIT" ]
182
2021-05-23T19:00:06.000Z
2022-03-29T06:00:18.000Z
src/gui/UserInterface.cpp
SpookyGhost2D/SpookyGhost
bfddccee9239aedf7928e781042e5ca1d78a49e1
[ "MIT" ]
2
2021-05-25T04:56:23.000Z
2021-11-08T17:52:26.000Z
src/gui/UserInterface.cpp
SpookyGhost2D/SpookyGhost
bfddccee9239aedf7928e781042e5ca1d78a49e1
[ "MIT" ]
9
2021-06-02T16:47:56.000Z
2021-12-04T08:40:18.000Z
#include <ctime> #include "gui/gui_common.h" #include <ncine/imgui_internal.h> #include <ncine/Application.h> #include <ncine/FileSystem.h> #include <ncine/IFile.h> #include <ncine/LuaStateManager.h> #include <ncine/Random.h> #include "singletons.h" #include "gui/gui_labels.h" #include "gui/gui_tips.h" #include "gui/U...
34.117024
177
0.70326
SpookyGhost2D
e1aa6d749f22decfc74219bc6a87fc4db549ce50
4,922
cc
C++
examples/generic_event_queue/main.cc
hendrik-skubch/magic_func
591dbde620f6b490d10402590851145ab2f6b18b
[ "BSD-3-Clause" ]
2
2017-05-28T14:04:37.000Z
2021-04-08T17:22:45.000Z
examples/generic_event_queue/main.cc
hendrik-skubch/magic_func
591dbde620f6b490d10402590851145ab2f6b18b
[ "BSD-3-Clause" ]
null
null
null
examples/generic_event_queue/main.cc
hendrik-skubch/magic_func
591dbde620f6b490d10402590851145ab2f6b18b
[ "BSD-3-Clause" ]
1
2021-01-07T02:16:04.000Z
2021-01-07T02:16:04.000Z
#include <cassert> #include <cstring> #include <iostream> #include <string> #include "generic_event_queue.h" // Class defining event functions. // // Functions here do not need to be implemented, extended or anything else. // Rather, they are simply a function name to refer to with its type signature. // The fact the...
37.287879
80
0.665177
hendrik-skubch
e1b36cfabc2bfeb9b27670043d91b6e4160d03ab
4,322
cpp
C++
src/plugins/poshuku/plugins/webkitview/interceptadaptor.cpp
Maledictus/leechcraft
79ec64824de11780b8e8bdfd5d8a2f3514158b12
[ "BSL-1.0" ]
120
2015-01-22T14:10:39.000Z
2021-11-25T12:57:16.000Z
src/plugins/poshuku/plugins/webkitview/interceptadaptor.cpp
Maledictus/leechcraft
79ec64824de11780b8e8bdfd5d8a2f3514158b12
[ "BSL-1.0" ]
8
2015-02-07T19:38:19.000Z
2017-11-30T20:18:28.000Z
src/plugins/poshuku/plugins/webkitview/interceptadaptor.cpp
Maledictus/leechcraft
79ec64824de11780b8e8bdfd5d8a2f3514158b12
[ "BSL-1.0" ]
33
2015-02-07T16:59:55.000Z
2021-10-12T00:36:40.000Z
/********************************************************************** * LeechCraft - modular cross-platform feature rich internet client. * Copyright (C) 2006-2014 Georg Rudoy * * Distributed under the Boost Software License, Version 1.0. * (See accompanying file LICENSE or copy at https://www.boost.org/LICENSE...
28.813333
134
0.652938
Maledictus
e1b696cc8c5a85ba236609c645838348d7a5943d
390
cpp
C++
src/profiling/profiler.cpp
h4k1m0u/video
4739f8b1b6c837c41fdb53fc7dea97a47b285d0b
[ "MIT" ]
5
2021-11-11T23:59:38.000Z
2022-03-24T02:10:40.000Z
src/profiling/profiler.cpp
h4k1m0u/video
4739f8b1b6c837c41fdb53fc7dea97a47b285d0b
[ "MIT" ]
null
null
null
src/profiling/profiler.cpp
h4k1m0u/video
4739f8b1b6c837c41fdb53fc7dea97a47b285d0b
[ "MIT" ]
1
2022-01-15T13:31:10.000Z
2022-01-15T13:31:10.000Z
#include <iostream> #include "profiling/profiler.hpp" void Profiler::start() { time_start = steady_clock::now(); } void Profiler::stop() { time_stop = steady_clock::now(); interval = time_stop - time_start; } void Profiler::print(const std::string& label) { // show duration time in seconds std::cout << "D...
21.666667
84
0.648718
h4k1m0u
e1bc11165a4a6173f70fc64dc166493c596518f1
6,196
cpp
C++
tests/unit/encoding/nfd-constants.t.cpp
Pesa/ndn-cxx
0249d71d97b2f1f5313f24cec7c84450a795f2ca
[ "OpenSSL" ]
106
2015-01-06T10:08:29.000Z
2022-02-27T13:40:16.000Z
tests/unit/encoding/nfd-constants.t.cpp
Pesa/ndn-cxx
0249d71d97b2f1f5313f24cec7c84450a795f2ca
[ "OpenSSL" ]
6
2015-10-15T23:21:06.000Z
2016-12-20T19:03:10.000Z
tests/unit/encoding/nfd-constants.t.cpp
Pesa/ndn-cxx
0249d71d97b2f1f5313f24cec7c84450a795f2ca
[ "OpenSSL" ]
147
2015-01-15T15:07:29.000Z
2022-02-03T13:08:43.000Z
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2013-2020 Regents of the University of California. * * This file is part of ndn-cxx library (NDN C++ library with eXperimental eXtensions). * * ndn-cxx library is free software: you can redistribute it and/or modify it under the ...
41.864865
98
0.753712
Pesa
e1bd3d598a66ded57ed6d1203b1a74c22aed748c
3,355
cpp
C++
Demo/DemoAppBase.cpp
loreStefani/SoftRP
2676145f74c734b272268820b1e1c503aa8ff765
[ "MIT" ]
null
null
null
Demo/DemoAppBase.cpp
loreStefani/SoftRP
2676145f74c734b272268820b1e1c503aa8ff765
[ "MIT" ]
null
null
null
Demo/DemoAppBase.cpp
loreStefani/SoftRP
2676145f74c734b272268820b1e1c503aa8ff765
[ "MIT" ]
null
null
null
#include "DemoAppBase.h" using namespace SoftRPDemo; DemoAppBase::DemoAppBase(HINSTANCE hInstance, unsigned int width, unsigned int height) :SingleWindowApp(hInstance, width, height), m_viewPort{ getWidth(), getHeight() }, m_renderTarget{}, m_depthBuffer{ getWidth(), getHeight() }, m_inputVertexLayout{ SoftRP...
29.173913
112
0.727869
loreStefani
e1ce7d5113ba4116b0573a52c33229869230a772
200,633
inl
C++
2d_samples/pmj02_329.inl
st-ario/rayme
315c57c23f4aa4934a8a80e84e3243acd3400808
[ "MIT" ]
1
2021-12-10T23:35:04.000Z
2021-12-10T23:35:04.000Z
2d_samples/pmj02_329.inl
st-ario/rayme
315c57c23f4aa4934a8a80e84e3243acd3400808
[ "MIT" ]
null
null
null
2d_samples/pmj02_329.inl
st-ario/rayme
315c57c23f4aa4934a8a80e84e3243acd3400808
[ "MIT" ]
null
null
null
{std::array<float,2>{0.201500699f, 0.181056455f}, std::array<float,2>{0.872883677f, 0.705885351f}, std::array<float,2>{0.284197956f, 0.935171962f}, std::array<float,2>{0.547898114f, 0.495615005f}, std::array<float,2>{0.400407821f, 0.358174562f}, std::array<float,2>{0.649318337f, 0.866324723f}, std::array<float,2>{0.005...
48.982666
52
0.7346
st-ario