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
40664da044edc7bb1bfa2668143ad034a3b26365
72
cpp
C++
documentation/docs/api/member-functions/constructors/2.cpp
DymOK93/fixed_string
0e36a181b343e50a8cda7dbb53bd098a724bd6aa
[ "MIT" ]
70
2020-11-24T14:26:04.000Z
2022-03-22T18:08:02.000Z
documentation/docs/api/member-functions/constructors/2.cpp
DymOK93/fixed_string
0e36a181b343e50a8cda7dbb53bd098a724bd6aa
[ "MIT" ]
21
2021-01-27T18:51:36.000Z
2022-02-05T09:22:28.000Z
documentation/docs/api/member-functions/constructors/2.cpp
DymOK93/fixed_string
0e36a181b343e50a8cda7dbb53bd098a724bd6aa
[ "MIT" ]
9
2021-01-27T21:36:25.000Z
2022-01-22T11:13:12.000Z
constexpr basic_fixed_string(const value_type (&array)[N + 1]) noexcept;
72
72
0.791667
DymOK93
4067fc9054a1d173145c50d190c2d95ec5bcf6d1
1,905
cpp
C++
OSkernel/abstract-machine/apps/fceux/src/boards/232.cpp
vocaltract/ProjectsDemonstration
5930ea2bd225d1e04a5bdb056d0f1c0744a6fe8c
[ "BSD-3-Clause" ]
null
null
null
OSkernel/abstract-machine/apps/fceux/src/boards/232.cpp
vocaltract/ProjectsDemonstration
5930ea2bd225d1e04a5bdb056d0f1c0744a6fe8c
[ "BSD-3-Clause" ]
null
null
null
OSkernel/abstract-machine/apps/fceux/src/boards/232.cpp
vocaltract/ProjectsDemonstration
5930ea2bd225d1e04a5bdb056d0f1c0744a6fe8c
[ "BSD-3-Clause" ]
null
null
null
/* FCE Ultra - NES/Famicom Emulator * * Copyright notice for this file: * Copyright (C) 2012 CaH4e3 * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or ...
27.608696
103
0.686089
vocaltract
406ef5bef4256028c47ea91af2f7668bb1cbc7e4
6,508
cc
C++
lite/kernels/mlu/bridges/fc_op_test.cc
wanglei91/Paddle-Lite
8b2479f4cdd6970be507203d791bede5a453c09d
[ "Apache-2.0" ]
1,799
2019-08-19T03:29:38.000Z
2022-03-31T14:30:50.000Z
lite/kernels/mlu/bridges/fc_op_test.cc
wanglei91/Paddle-Lite
8b2479f4cdd6970be507203d791bede5a453c09d
[ "Apache-2.0" ]
3,767
2019-08-19T03:36:04.000Z
2022-03-31T14:37:26.000Z
lite/kernels/mlu/bridges/fc_op_test.cc
wanglei91/Paddle-Lite
8b2479f4cdd6970be507203d791bede5a453c09d
[ "Apache-2.0" ]
798
2019-08-19T02:28:23.000Z
2022-03-31T08:31:54.000Z
// Copyright (c) 2019 PaddlePaddle Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required...
33.895833
80
0.643823
wanglei91
4070ff6f79b7c4f4a87169d8a24e638d2687db38
207
cxx
C++
Modules/ThirdParty/VNL/src/vxl/core/vnl/io/Templates/vnl_io_diag_matrix+vcl_complex+double--.cxx
rdsouza10/ITK
07cb23f9866768b5f4ee48ebec8766b6e19efc69
[ "Apache-2.0" ]
3
2019-11-19T09:47:25.000Z
2022-02-24T00:32:31.000Z
Modules/ThirdParty/VNL/src/vxl/core/vnl/io/Templates/vnl_io_diag_matrix+vcl_complex+double--.cxx
rdsouza10/ITK
07cb23f9866768b5f4ee48ebec8766b6e19efc69
[ "Apache-2.0" ]
1
2019-03-18T14:19:49.000Z
2020-01-11T13:54:33.000Z
Modules/ThirdParty/VNL/src/vxl/core/vnl/io/Templates/vnl_io_diag_matrix+vcl_complex+double--.cxx
rdsouza10/ITK
07cb23f9866768b5f4ee48ebec8766b6e19efc69
[ "Apache-2.0" ]
1
2022-02-24T00:32:36.000Z
2022-02-24T00:32:36.000Z
// Instantiation of IO for vnl_diag_matrix<std::complex<double> > #include <complex> #include <vcl_compiler.h> #include <vnl/io/vnl_io_diag_matrix.hxx> VNL_IO_DIAG_MATRIX_INSTANTIATE(std::complex<double>);
29.571429
65
0.792271
rdsouza10
40743345f88e558650cd5ec56ee74ec959f8bae3
3,025
cpp
C++
Nuclear Engine/Source/Engine/Assets/MaterialInstance.cpp
Zone-organization/Nuclear-Engine
54d75f65534dad4d1e58d806117d29710ef48775
[ "Apache-2.0" ]
65
2017-10-26T23:57:13.000Z
2022-03-28T10:34:15.000Z
Nuclear Engine/Source/Engine/Assets/MaterialInstance.cpp
Zone-organization/Nuclear-Engine
54d75f65534dad4d1e58d806117d29710ef48775
[ "Apache-2.0" ]
9
2018-01-01T20:31:46.000Z
2019-08-10T14:14:51.000Z
Nuclear Engine/Source/Engine/Assets/MaterialInstance.cpp
Zone-organization/Nuclear-Engine
54d75f65534dad4d1e58d806117d29710ef48775
[ "Apache-2.0" ]
9
2018-01-01T20:31:14.000Z
2021-04-29T22:49:09.000Z
#include <Engine\Assets\MaterialInstance.h> #include <Base\Utilities\Hash.h> #include <Engine/Assets/DefaultTextures.h> #include <Engine\Graphics\Context.h> #include <Engine\Graphics\RenderingPipelines\RenderingPipeline.h> namespace NuclearEngine { namespace Assets { MaterialInstance::MaterialInstance() : mPSha...
29.656863
107
0.675041
Zone-organization
4074a6bc9a9d8404e8642cc2096253649450a0b9
1,878
cpp
C++
source/socket/objects/socket.cpp
zanzo420/LovePotion
daf3dd043fb6a7630c9febd7f265219ba2c4ef98
[ "MIT" ]
null
null
null
source/socket/objects/socket.cpp
zanzo420/LovePotion
daf3dd043fb6a7630c9febd7f265219ba2c4ef98
[ "MIT" ]
null
null
null
source/socket/objects/socket.cpp
zanzo420/LovePotion
daf3dd043fb6a7630c9febd7f265219ba2c4ef98
[ "MIT" ]
null
null
null
#include "common/runtime.h" #include "socket/objects/socket.h" Socket::Socket(const std::string & type, int sock) : Object(type) { this->connected = false; this->timeout = 5; this->sock = sock; } Socket::~Socket() { this->Close(); } int Socket::Ready(int wait_type) { int returnValue = 0; str...
19.978723
80
0.63099
zanzo420
4077008f689133b3a2a26f541f4824849a273659
10,625
cpp
C++
modules/gapi/test/gapi_transform_tests.cpp
artun3e/opencv
524a2fffe96195b906a95b548b0a185d3251eb7e
[ "BSD-3-Clause" ]
2,406
2020-04-22T15:47:54.000Z
2022-03-31T10:27:37.000Z
modules/gapi/test/gapi_transform_tests.cpp
yusufm423/opencv
6a2077cbd8a8a0d8cbd3e0e8c3ca239f17e6c067
[ "Apache-2.0" ]
4,948
2020-04-22T15:12:39.000Z
2022-03-31T18:45:42.000Z
modules/gapi/test/gapi_transform_tests.cpp
yusufm423/opencv
6a2077cbd8a8a0d8cbd3e0e8c3ca239f17e6c067
[ "Apache-2.0" ]
991
2020-04-23T18:21:09.000Z
2022-03-31T18:40:57.000Z
// This file is part of OpenCV project. // It is subject to the license terms in the LICENSE file found in the top-level directory // of this distribution and at http://opencv.org/license.html. // // Copyright (C) 2019 Intel Corporation #include <tuple> #include "test_precomp.hpp" #include "opencv2/gapi/gtransform.hp...
30.270655
120
0.688
artun3e
407a3bf3401c0246bf3801f7d3cd5a7be75ee50a
6,239
cpp
C++
Arduino/VidorGraphics/src/VidorSPI.cpp
vstrakh/VidorRaster
478c28f0147604b9848610af4d9ca582936c2503
[ "MIT" ]
4
2019-05-03T08:55:26.000Z
2019-10-07T17:29:43.000Z
Arduino/VidorGraphics/src/VidorSPI.cpp
vstrakh/VidorRaster
478c28f0147604b9848610af4d9ca582936c2503
[ "MIT" ]
null
null
null
Arduino/VidorGraphics/src/VidorSPI.cpp
vstrakh/VidorRaster
478c28f0147604b9848610af4d9ca582936c2503
[ "MIT" ]
null
null
null
/* * SPI Master library for Arduino Zero. * Copyright (c) 2015 Arduino LLC * Copyright (c) 2018 Arduino SA. All rights reserved. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; e...
25.569672
117
0.701555
vstrakh
40805c94de706c5f6b638d0396e537fd95e0d0a0
136
hpp
C++
src/thread_udp_helper.hpp
z4pu/tcp_to_tls
b5e4923d2da2a220d14f08c5f6dd5b726ac9d962
[ "MIT" ]
2
2020-05-17T17:16:48.000Z
2020-08-02T13:03:00.000Z
src/thread_udp_helper.hpp
z4pu/tcp_to_tls
b5e4923d2da2a220d14f08c5f6dd5b726ac9d962
[ "MIT" ]
1
2019-12-25T02:41:30.000Z
2021-10-13T11:18:26.000Z
src/thread_udp_helper.hpp
z4pu/tcp_to_tls
b5e4923d2da2a220d14f08c5f6dd5b726ac9d962
[ "MIT" ]
null
null
null
#ifndef THREAD_UDP_HELPER_HPP #define THREAD_UDP_HELPER_HPP void * UDPClientThread(void* args); #endif /* THREAD_UDP_HELPER_HPP */
13.6
35
0.786765
z4pu
40807127806c0218928c389dd4cfb14e2ae1e4ab
1,762
cpp
C++
demboyz/netmessages/net_signonstate.cpp
juniorsgithub/demboyz
73ba4f105e5670ab07334e867a3f57fb1de2ff55
[ "MIT" ]
42
2015-09-24T01:14:26.000Z
2021-12-25T14:28:40.000Z
demboyz/netmessages/net_signonstate.cpp
juniorsgithub/demboyz
73ba4f105e5670ab07334e867a3f57fb1de2ff55
[ "MIT" ]
3
2015-10-11T17:51:07.000Z
2018-07-14T01:04:05.000Z
demboyz/netmessages/net_signonstate.cpp
juniorsgithub/demboyz
73ba4f105e5670ab07334e867a3f57fb1de2ff55
[ "MIT" ]
12
2015-07-16T02:26:34.000Z
2021-09-13T23:29:36.000Z
#include "net_signonstate.h" #include "base/bitfile.h" #include "base/jsonfile.h" namespace NetHandlers { bool Net_SignonState_BitRead_Internal(BitRead& bitbuf, SourceGameContext& context, NetMsg::Net_SignonState* data) { data->signonState = bitbuf.ReadByte(); data->spawnCount = bitbuf.ReadLon...
36.708333
128
0.687287
juniorsgithub
4081ade8e5edbf62b35b18a12f2f2d122c271f31
1,273
cpp
C++
benchmark/suffix_trees/src/depth_stats.cpp
qPCR4vir/sdsl-lite
3ae7ac30c3837553cf20243cc3df8ee658b9f00f
[ "BSD-3-Clause" ]
20
2017-12-26T16:04:18.000Z
2022-02-09T03:30:13.000Z
benchmark/suffix_trees/src/depth_stats.cpp
Irallia/sdsl-lite
9a0d5676fd09fb8b52af214eca2d5809c9a32dbe
[ "BSD-3-Clause" ]
6
2018-11-12T15:14:24.000Z
2021-04-29T14:07:13.000Z
benchmark/suffix_trees/src/depth_stats.cpp
Irallia/sdsl-lite
9a0d5676fd09fb8b52af214eca2d5809c9a32dbe
[ "BSD-3-Clause" ]
4
2018-11-12T14:36:34.000Z
2021-01-26T22:16:32.000Z
#include <sdsl/suffix_trees.hpp> #include <iostream> using namespace sdsl; typedef CST_TYPE cst_type; typedef cst_sada<cst_type::csa_type, lcp_dac<> > fast_cst_type; int main(int argc, char **argv) { if(argc < 3) { std::cout << "Usage: " << argv[0] << " input_file tmp_dir" << std::endl; std::cou...
27.673913
109
0.555381
qPCR4vir
40827d6086ffcf32d0d10ca948ab58dc348da1d2
2,138
cpp
C++
samples/snippets/cpp/VS_Snippets_CLR_System/system.Globalization.CompareInfo.IsPrefixSuffixOpt/CPP/isprefixsuffixopt.cpp
hamarb123/dotnet-api-docs
6aeb55784944a2f1f5e773b657791cbd73a92dd4
[ "CC-BY-4.0", "MIT" ]
421
2018-04-01T01:57:50.000Z
2022-03-28T15:24:42.000Z
samples/snippets/cpp/VS_Snippets_CLR_System/system.Globalization.CompareInfo.IsPrefixSuffixOpt/CPP/isprefixsuffixopt.cpp
hamarb123/dotnet-api-docs
6aeb55784944a2f1f5e773b657791cbd73a92dd4
[ "CC-BY-4.0", "MIT" ]
5,797
2018-04-02T21:12:23.000Z
2022-03-31T23:54:38.000Z
samples/snippets/cpp/VS_Snippets_CLR_System/system.Globalization.CompareInfo.IsPrefixSuffixOpt/CPP/isprefixsuffixopt.cpp
hamarb123/dotnet-api-docs
6aeb55784944a2f1f5e773b657791cbd73a92dd4
[ "CC-BY-4.0", "MIT" ]
1,482
2018-03-31T11:26:20.000Z
2022-03-30T22:36:45.000Z
// The following code example determines whether a String* is the prefix or suffix of another String* using CompareOptions. // <snippet1> using namespace System; using namespace System::Globalization; int main() { // Defines the strings to compare. String^ myStr1 = "calle"; String^ myStr2 = "lle...
49.72093
135
0.569224
hamarb123
408549167e488032a49045522960fec5b641c38f
30,578
hh
C++
dam/source/cc/src/WibFrame-avx.hh
DUNE/dunepdsprce
2a4ca9b5ed08e1ba6ff7972681d8c0076d314d30
[ "BSD-3-Clause-LBNL" ]
null
null
null
dam/source/cc/src/WibFrame-avx.hh
DUNE/dunepdsprce
2a4ca9b5ed08e1ba6ff7972681d8c0076d314d30
[ "BSD-3-Clause-LBNL" ]
null
null
null
dam/source/cc/src/WibFrame-avx.hh
DUNE/dunepdsprce
2a4ca9b5ed08e1ba6ff7972681d8c0076d314d30
[ "BSD-3-Clause-LBNL" ]
null
null
null
// -*-Mode: C++;-*- #ifndef PDD_WIB_FRAME_AVX_HH #define PDD_WIB_FRAME_AVX_HH /* ---------------------------------------------------------------------- *//*! * * @file WibFrame-avx.hh * @brief WibFrame ADC expansion and unpacking - AVX version * @verbatim * Copyright 2017 ...
36.974607
90
0.425502
DUNE
4088cac19b474c184fc6d3a333fb7362026e1254
4,011
cc
C++
Gen/P8generic.cc
chanchoen/DRC_generic
e0b3b1e190b7c13a52fa06e5ce6362a816e5a6a6
[ "Apache-2.0" ]
1
2021-04-19T02:33:00.000Z
2021-04-19T02:33:00.000Z
Gen/P8generic.cc
chanchoen/DRC_generic
e0b3b1e190b7c13a52fa06e5ce6362a816e5a6a6
[ "Apache-2.0" ]
1
2021-04-16T05:37:08.000Z
2021-07-21T12:05:07.000Z
Gen/P8generic.cc
chanchoen/DRC_generic
e0b3b1e190b7c13a52fa06e5ce6362a816e5a6a6
[ "Apache-2.0" ]
3
2021-04-25T23:02:22.000Z
2021-07-19T08:14:49.000Z
#include "Pythia8/Pythia.h" #include "HepMC3/GenEvent.h" #include "HepMC3/Print.h" #include "HepMC3/WriterRootTree.h" #include "Pythia8ToHepMC3.h" #include "P8filter.h" #include "fastjet/ClusterSequence.hh" #include "fastjet/PseudoJet.hh" #include "fastjetInterface.h" #include <iostream> using namespace Pythia8; ...
28.246479
93
0.638245
chanchoen
408b1bfe87e8ba309d53402e8b817ab7e2d71c75
831
cc
C++
Part-III/Ch14/14.8.1/14.38.cc
RingZEROtlf/Cpp-Primer
bde40534eeca733350825c41f268415fdccb1cc3
[ "MIT" ]
1
2021-09-23T13:13:12.000Z
2021-09-23T13:13:12.000Z
Part-III/Ch14/14.8.1/14.38.cc
RingZEROtlf/Cpp-Primer
bde40534eeca733350825c41f268415fdccb1cc3
[ "MIT" ]
null
null
null
Part-III/Ch14/14.8.1/14.38.cc
RingZEROtlf/Cpp-Primer
bde40534eeca733350825c41f268415fdccb1cc3
[ "MIT" ]
null
null
null
#include <iostream> #include <fstream> #include <string> struct IsFixedLength { std::string::size_type length; IsFixedLength() : length(0) {} IsFixedLength(std::string::size_type length) : length(length) {} bool operator()(const std::string &str) { return str.length() == length; } }; ...
21.868421
68
0.513839
RingZEROtlf
4091963a7296377188801151b0734736e37c465d
6,700
cpp
C++
examples/SYCL-RandomSeed.cpp
fxzjshm/SYCL-PRNG
7ef23cb6ff870b43ad2079ea7544fc08babb0167
[ "BSD-3-Clause" ]
9
2019-01-03T15:19:26.000Z
2022-02-04T13:52:53.000Z
examples/SYCL-RandomSeed.cpp
fxzjshm/SYCL-PRNG
7ef23cb6ff870b43ad2079ea7544fc08babb0167
[ "BSD-3-Clause" ]
1
2019-07-26T20:53:08.000Z
2019-07-28T07:48:41.000Z
examples/SYCL-RandomSeed.cpp
fxzjshm/SYCL-PRNG
7ef23cb6ff870b43ad2079ea7544fc08babb0167
[ "BSD-3-Clause" ]
3
2019-12-03T00:42:23.000Z
2022-02-04T13:53:49.000Z
// SYCL-PRNG includes #include <PRNG/TinyMT.hpp> #include <PRNG/MWC64X.hpp> // SYCL includes #include <CL/sycl.hpp> // Standard C++ includes #include <random> #include <vector> #include <iterator> #include <algorithm> #include <iostream> namespace kernels { struct skip; struct step; template <typename ...
37.853107
148
0.565821
fxzjshm
4092381afaca00406ec762027bae1ece1904b6d0
38,594
cpp
C++
src/CLR/CorLib/corlib_native_System_Math.cpp
RoySalisbury/nf-interpreter
3dd55aa757214ecbbeb22ff7ef48b2e7a50d86c4
[ "Apache-2.0" ]
null
null
null
src/CLR/CorLib/corlib_native_System_Math.cpp
RoySalisbury/nf-interpreter
3dd55aa757214ecbbeb22ff7ef48b2e7a50d86c4
[ "Apache-2.0" ]
null
null
null
src/CLR/CorLib/corlib_native_System_Math.cpp
RoySalisbury/nf-interpreter
3dd55aa757214ecbbeb22ff7ef48b2e7a50d86c4
[ "Apache-2.0" ]
null
null
null
// // Copyright (c) 2017 The nanoFramework project contributors // Portions Copyright (c) Microsoft Corporation. All rights reserved. // See LICENSE file in the project root for full license information. // #include "CorLib.h" #if !defined(NANOCLR_EMULATED_FLOATINGPOINT) #include "nanoPAL_NativeDouble.h" HRE...
24.931525
127
0.641317
RoySalisbury
4093908359f4e3ab6ba177c144522a3f5a469ea3
721
cpp
C++
sum of distinct ele.cpp
Ru311/100-days-of-code
6f38df20ec87ad943a727d6fa150e81a2a9529c9
[ "MIT" ]
7
2020-09-15T06:02:14.000Z
2021-10-11T12:04:20.000Z
sum of distinct ele.cpp
ankitkeshavdbg/100-days-of-code
6f38df20ec87ad943a727d6fa150e81a2a9529c9
[ "MIT" ]
null
null
null
sum of distinct ele.cpp
ankitkeshavdbg/100-days-of-code
6f38df20ec87ad943a727d6fa150e81a2a9529c9
[ "MIT" ]
4
2020-09-21T03:26:26.000Z
2020-09-25T11:13:29.000Z
/*Given an array of n elements such that every element of array is an integer in the range 1 to n, find the sum of all the distinct elements of the array.*/ #include <iostream> #include <vector> using namespace std; int main() { int t; cin>>t; for(int i=0; i<t; i++) { int n,sum=0...
20.027778
91
0.393897
Ru311
4095d3970bb7edf834d5ce78117b5f3e0fe9950a
539
cpp
C++
SoftwareDesign/Labs/[Lab2]Inheritance_ShapeRTCircle/Point.cpp
NazimAmin/glowing-octo-nemesis-cpp
736de974602c58d2ad23548ecc6a17165bea5fd6
[ "Apache-2.0" ]
null
null
null
SoftwareDesign/Labs/[Lab2]Inheritance_ShapeRTCircle/Point.cpp
NazimAmin/glowing-octo-nemesis-cpp
736de974602c58d2ad23548ecc6a17165bea5fd6
[ "Apache-2.0" ]
null
null
null
SoftwareDesign/Labs/[Lab2]Inheritance_ShapeRTCircle/Point.cpp
NazimAmin/glowing-octo-nemesis-cpp
736de974602c58d2ad23548ecc6a17165bea5fd6
[ "Apache-2.0" ]
null
null
null
#include "Point.h" /* default constructor, setting variables to 0 */ Point::Point(){ x = 0; y = 0; } /* parameter constructor setting the setting the variables with parameter value */ Point::Point(int xVal, int yVal){ x = xVal; y = yVal; } /* copy constructor to use toward center of circle */ Point::Point(con...
14.972222
48
0.628942
NazimAmin
40978afa47458b7f0be206df63de8ae3ae0b9d78
8,384
cc
C++
src/libxtp/md2qmengine.cc
rubengerritsen/xtp
af4db53ca99853280d0e2ddc7f3c41bce8ae6e91
[ "Apache-2.0" ]
null
null
null
src/libxtp/md2qmengine.cc
rubengerritsen/xtp
af4db53ca99853280d0e2ddc7f3c41bce8ae6e91
[ "Apache-2.0" ]
null
null
null
src/libxtp/md2qmengine.cc
rubengerritsen/xtp
af4db53ca99853280d0e2ddc7f3c41bce8ae6e91
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2009-2021 The VOTCA Development Team (http://www.votca.org) * * 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 * * Unle...
37.262222
80
0.619513
rubengerritsen
40996f5a8f80af470b34feaddd9c012081e51a67
2,282
hpp
C++
include/System/Runtime/Remoting/Channels/IClientChannelSinkProvider.hpp
RedBrumbler/virtuoso-codegen
e83f6f0f9b47bec4b6dd976b21edc1d46bf3cfe3
[ "Unlicense" ]
null
null
null
include/System/Runtime/Remoting/Channels/IClientChannelSinkProvider.hpp
RedBrumbler/virtuoso-codegen
e83f6f0f9b47bec4b6dd976b21edc1d46bf3cfe3
[ "Unlicense" ]
null
null
null
include/System/Runtime/Remoting/Channels/IClientChannelSinkProvider.hpp
RedBrumbler/virtuoso-codegen
e83f6f0f9b47bec4b6dd976b21edc1d46bf3cfe3
[ "Unlicense" ]
null
null
null
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "beatsaber-hook/shared/utils/byref.hpp" // Completed includes // Type namespace: System.Runtime.Remoting.Channels namespace System::Runtime::Rem...
55.658537
290
0.760298
RedBrumbler
409d60d9bf286649dc84be5b901e193ca4d90436
1,174
cpp
C++
LoesungAufgabe_2_12345.cpp
brabh/FSST6_201920_1
f155c3378c337698d3bc62546a1019a8ea3c35d2
[ "Unlicense" ]
null
null
null
LoesungAufgabe_2_12345.cpp
brabh/FSST6_201920_1
f155c3378c337698d3bc62546a1019a8ea3c35d2
[ "Unlicense" ]
null
null
null
LoesungAufgabe_2_12345.cpp
brabh/FSST6_201920_1
f155c3378c337698d3bc62546a1019a8ea3c35d2
[ "Unlicense" ]
null
null
null
#include <iostream> #include <fstream> #include <string> // // Aufgaben 2.1, 2.2, 2.3, 2.4, 2.5 // using std::cout; using std::endl; using std::cin; int sum(int x, int y, int z) { // zu Aufgabe 2.2 return x * y * z; } int myRead() { int a, b, c; a = 6; b = 7; c = 8; int d = a + b + c; // Aufgabe 2.1 d ...
15.051282
69
0.499148
brabh
409fa6b39e56b4ca756d9b224effcbc6ab97cf4d
5,425
cpp
C++
src/music.cpp
OatBran/FFNx
8053c85e3f1b2e64f327f5ddaa09fe8637a85dae
[ "MIT" ]
null
null
null
src/music.cpp
OatBran/FFNx
8053c85e3f1b2e64f327f5ddaa09fe8637a85dae
[ "MIT" ]
null
null
null
src/music.cpp
OatBran/FFNx
8053c85e3f1b2e64f327f5ddaa09fe8637a85dae
[ "MIT" ]
null
null
null
/* * FFNx - Complete OpenGL replacement of the Direct3D renderer used in * the original ports of Final Fantasy VII and Final Fantasy VIII for the PC. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free S...
23.383621
110
0.725346
OatBran
40ab35675c686aa144c28cf0dd96cbd8906784b0
7,986
cpp
C++
include/external/agg/agg/examples/conv_stroke.cpp
Ptomaine/nstd
72daa4abab97dc82b407c774b00476459df0730b
[ "MIT" ]
31
2017-06-28T09:50:03.000Z
2021-08-11T14:09:35.000Z
include/external/agg/agg/examples/conv_stroke.cpp
Ptomaine/nstd
72daa4abab97dc82b407c774b00476459df0730b
[ "MIT" ]
null
null
null
include/external/agg/agg/examples/conv_stroke.cpp
Ptomaine/nstd
72daa4abab97dc82b407c774b00476459df0730b
[ "MIT" ]
5
2017-06-29T13:43:23.000Z
2020-09-01T02:47:11.000Z
#include <math.h> #include <stdio.h> #include "agg_basics.h" #include "agg_rendering_buffer.h" #include "agg_rasterizer_scanline_aa.h" #include "agg_conv_stroke.h" #include "agg_conv_dash.h" #include "agg_conv_curve.h" #include "agg_conv_contour.h" #include "agg_conv_smooth_poly1.h" #include "agg_conv_marker....
28.830325
129
0.490734
Ptomaine
40abe88a719786a26f0a29e4e7368b41e4a35dac
5,674
cpp
C++
src/condor_utils/malloc.cpp
mambelli/osg-bosco-marco
a8ad7658ce68eb0397ed2de234d87edb9404d65b
[ "Apache-2.0" ]
2
2018-06-18T23:11:20.000Z
2021-01-11T06:30:00.000Z
src/condor_utils/malloc.cpp
clalancette/condor-dcloud
70d1b1896ea0e5cfb4f051c7fb73cf4d12cd9727
[ "Apache-2.0" ]
null
null
null
src/condor_utils/malloc.cpp
clalancette/condor-dcloud
70d1b1896ea0e5cfb4f051c7fb73cf4d12cd9727
[ "Apache-2.0" ]
1
2021-08-29T14:03:53.000Z
2021-08-29T14:03:53.000Z
/*************************************************************** * * Copyright (C) 1990-2007, Condor Team, Computer Sciences Department, * University of Wisconsin-Madison, WI. * * Licensed under the Apache License, Version 2.0 (the "License"); you * may not use this file except in compliance with the License. Y...
19.104377
120
0.611385
mambelli
40ac8afbb50008e478eb677c1e201902a82c66ae
16,839
cpp
C++
clang-tools-extra/clangd/DumpAST.cpp
keryell/llvm-2
4dc23a26d1bd6ced23969c0525dedbddf8c6fddc
[ "Apache-2.0" ]
null
null
null
clang-tools-extra/clangd/DumpAST.cpp
keryell/llvm-2
4dc23a26d1bd6ced23969c0525dedbddf8c6fddc
[ "Apache-2.0" ]
null
null
null
clang-tools-extra/clangd/DumpAST.cpp
keryell/llvm-2
4dc23a26d1bd6ced23969c0525dedbddf8c6fddc
[ "Apache-2.0" ]
null
null
null
//===--- DumpAST.cpp - Serialize clang AST to LSP -------------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
38.62156
80
0.658174
keryell
40b0ddc5bdd0beb038aa90e133ab9a9293cfc600
8,101
cpp
C++
test/layouts/clocked_layout.cpp
ElderDelp/fiction
f16bf67bbfd94e5a3d5b6b5cd9cbce5275e44ce8
[ "MIT" ]
null
null
null
test/layouts/clocked_layout.cpp
ElderDelp/fiction
f16bf67bbfd94e5a3d5b6b5cd9cbce5275e44ce8
[ "MIT" ]
null
null
null
test/layouts/clocked_layout.cpp
ElderDelp/fiction
f16bf67bbfd94e5a3d5b6b5cd9cbce5275e44ce8
[ "MIT" ]
null
null
null
// // Created by marcel on 31.03.21. // #include "catch.hpp" #include <fiction/layouts/cartesian_layout.hpp> #include <fiction/layouts/clocked_layout.hpp> #include <fiction/traits.hpp> #include <set> using namespace fiction; TEST_CASE("Traits", "[clocked-layout]") { using layout = clocked_layout<cartesian_layo...
41.974093
101
0.622145
ElderDelp
40b6487b8dd188f53572b081149fe2a715355258
710
hpp
C++
android-31/android/nfc/cardemulation/OffHostApduService.hpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
12
2020-03-26T02:38:56.000Z
2022-03-14T08:17:26.000Z
android-31/android/nfc/cardemulation/OffHostApduService.hpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
1
2021-01-27T06:07:45.000Z
2021-11-13T19:19:43.000Z
android-29/android/nfc/cardemulation/OffHostApduService.hpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
3
2021-02-02T12:34:55.000Z
2022-03-08T07:45:57.000Z
#pragma once #include "../../app/Service.hpp" namespace android::content { class Intent; } class JString; namespace android::nfc::cardemulation { class OffHostApduService : public android::app::Service { public: // Fields static JString SERVICE_INTERFACE(); static JString SERVICE_META_DATA(); // QJniO...
22.1875
173
0.715493
YJBeetle
8adab5c602c35af035e1f7f0ecc53bf81b157c18
1,326
cpp
C++
core/fxcrt/cfx_utf8decoder.cpp
ibrahima/pdfium
73682dfccab5e838c696ff28307253536ea3d266
[ "BSD-3-Clause" ]
5
2018-04-12T15:14:08.000Z
2021-01-08T07:29:37.000Z
core/fxcrt/cfx_utf8decoder.cpp
ibrahima/pdfium
73682dfccab5e838c696ff28307253536ea3d266
[ "BSD-3-Clause" ]
6
2018-03-08T02:50:49.000Z
2020-02-11T23:54:17.000Z
core/fxcrt/cfx_utf8decoder.cpp
ibrahima/pdfium
73682dfccab5e838c696ff28307253536ea3d266
[ "BSD-3-Clause" ]
4
2017-09-29T01:58:05.000Z
2022-03-25T19:47:05.000Z
// Copyright 2017 PDFium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com #include "core/fxcrt/cfx_utf8decoder.h" void CFX_UTF8Decoder::Clear() { m_B...
26.52
80
0.634992
ibrahima
8ade446e1e15968902e5f795fda708505f6f2580
8,000
cpp
C++
.vim/sourceCode/opencv-2.4.5/modules/legacy/src/extendededges.cpp
lakehui/Vim_config
6cab80dc1209b34bf6379f42b1a92790bd0c146b
[ "MIT" ]
3
2015-08-29T06:56:58.000Z
2016-11-15T10:35:59.000Z
.vim/sourceCode/opencv-2.4.5/modules/legacy/src/extendededges.cpp
lakehui/Vim_config
6cab80dc1209b34bf6379f42b1a92790bd0c146b
[ "MIT" ]
null
null
null
.vim/sourceCode/opencv-2.4.5/modules/legacy/src/extendededges.cpp
lakehui/Vim_config
6cab80dc1209b34bf6379f42b1a92790bd0c146b
[ "MIT" ]
null
null
null
/*M/////////////////////////////////////////////////////////////////////////////////////// // // IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING. // // By downloading, copying, installing or using the software you agree to this license. // If you do not agree to this license, do not download, instal...
29.62963
107
0.58075
lakehui
8ae18561dab0edf9b959ea9214b63468135e5114
7,235
hpp
C++
src/Drawable.hpp
tbui468/paint
10b477dfc1b586f8c9afe8e2782aa056a2bed7b6
[ "MIT" ]
null
null
null
src/Drawable.hpp
tbui468/paint
10b477dfc1b586f8c9afe8e2782aa056a2bed7b6
[ "MIT" ]
null
null
null
src/Drawable.hpp
tbui468/paint
10b477dfc1b586f8c9afe8e2782aa056a2bed7b6
[ "MIT" ]
null
null
null
#ifndef DRAWABLE_H #define DRAWABLE_H #include <math.h> #include <vector> #include "Math.hpp" #include "Screen.hpp" #include "Vertex.hpp" namespace paint { //stack all translations and scaling class Drawable { private: Vertex m_vertexBuffer; Mat4 m_transformation; public: Drawable(Vertex vertexBuffer):...
31.456522
137
0.602488
tbui468
8ae1ae636a4a9a1797a86ea68ce5535d78a9290c
11,105
hpp
C++
include/GlobalNamespace/MalletSettingsPanel.hpp
RedBrumbler/virtuoso-codegen
e83f6f0f9b47bec4b6dd976b21edc1d46bf3cfe3
[ "Unlicense" ]
null
null
null
include/GlobalNamespace/MalletSettingsPanel.hpp
RedBrumbler/virtuoso-codegen
e83f6f0f9b47bec4b6dd976b21edc1d46bf3cfe3
[ "Unlicense" ]
null
null
null
include/GlobalNamespace/MalletSettingsPanel.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" // Including type: UnityEngine.MonoBehaviour #include ...
52.630332
224
0.751013
RedBrumbler
8ae2d249fc2fdd90ee5a9adc35bf98878cef8634
2,234
cpp
C++
openstudiocore/src/model/test/Node_GTest.cpp
bobzabcik/OpenStudio
858321dc0ad8d572de15858d2ae487b029a8d847
[ "blessing" ]
null
null
null
openstudiocore/src/model/test/Node_GTest.cpp
bobzabcik/OpenStudio
858321dc0ad8d572de15858d2ae487b029a8d847
[ "blessing" ]
null
null
null
openstudiocore/src/model/test/Node_GTest.cpp
bobzabcik/OpenStudio
858321dc0ad8d572de15858d2ae487b029a8d847
[ "blessing" ]
null
null
null
/********************************************************************** * Copyright (c) 2008-2013, Alliance for Sustainable Energy. * All rights reserved. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by t...
37.864407
82
0.687108
bobzabcik
8ae60f6d3a04821dc92d4b711e232fc017b54f58
1,422
cpp
C++
src/core/utils/String.cpp
nohal/signalk-server-cpp
8c92255d903a1453c63654cbc8f7213b66b480c7
[ "Apache-2.0" ]
6
2018-09-12T15:20:04.000Z
2021-02-20T20:36:58.000Z
src/core/utils/String.cpp
nohal/signalk-server-cpp
8c92255d903a1453c63654cbc8f7213b66b480c7
[ "Apache-2.0" ]
null
null
null
src/core/utils/String.cpp
nohal/signalk-server-cpp
8c92255d903a1453c63654cbc8f7213b66b480c7
[ "Apache-2.0" ]
4
2019-03-05T03:12:10.000Z
2021-10-31T18:56:58.000Z
// // Created by Raffaele Montella on 30/10/2018. // #include "String.hpp" namespace Utils { bool String::endsWith(std::string const &fullString, std::string const &ending) { if (fullString.length() >= ending.length()) { return (0 == fullString.compare(fullString.length() - ending.length(),...
29.020408
109
0.530942
nohal
8ae6a653166bdde88a497757066094085f9e9a4c
915
cpp
C++
timus/1272.cpp
y-wan/OJ
5dea140dbaaec98e440ad4b1c10fa5072f1ceea7
[ "MIT" ]
null
null
null
timus/1272.cpp
y-wan/OJ
5dea140dbaaec98e440ad4b1c10fa5072f1ceea7
[ "MIT" ]
null
null
null
timus/1272.cpp
y-wan/OJ
5dea140dbaaec98e440ad4b1c10fa5072f1ceea7
[ "MIT" ]
null
null
null
#include <cstdio> #include <set> #include <map> #include <vector> #include <queue> using namespace std; map<int, vector<int> > c; bool v[10001]; set<int> not_visited; queue<int> q; void bfs() { int n = q.front(); v[n] = true; not_visited.erase(n); q.pop(); for (auto& i : c[n]) if (!v[i]) ...
19.891304
61
0.471038
y-wan
8ae841c703144e7ddb7af02b9655c5d6a1526ecd
4,095
cpp
C++
models/logics/formatconverter.cpp
ideeinc/Deepagent
5d37ecf8e196d54d3914edc0c7b309377f772c1f
[ "BSD-3-Clause" ]
null
null
null
models/logics/formatconverter.cpp
ideeinc/Deepagent
5d37ecf8e196d54d3914edc0c7b309377f772c1f
[ "BSD-3-Clause" ]
null
null
null
models/logics/formatconverter.cpp
ideeinc/Deepagent
5d37ecf8e196d54d3914edc0c7b309377f772c1f
[ "BSD-3-Clause" ]
null
null
null
#include <QtCore> #include <QDomDocument> #include <TDebug> #include "formatconverter.h" #include "image.h" #ifdef STANDALONE_USE # undef tError # undef tWarn # undef tDebug # define tError qCritical # define tWarn qWarning # define tDebug qDebug #endif static void createDomTextElement(const QString &name, const QSt...
28.047945
136
0.582418
ideeinc
8aeb7aa64fb1f4fc97c3bf7deefe79fea221db7f
1,304
cpp
C++
tests/tests_mpsc_queue.cpp
Dwarfobserver/cpp-sandbox
e20bdc0694efac11ff3476e51a2821a2575b63cb
[ "MIT" ]
3
2018-01-10T01:04:02.000Z
2019-03-29T15:23:42.000Z
tests/tests_mpsc_queue.cpp
Dwarfobserver/cpp-sandbox
e20bdc0694efac11ff3476e51a2821a2575b63cb
[ "MIT" ]
null
null
null
tests/tests_mpsc_queue.cpp
Dwarfobserver/cpp-sandbox
e20bdc0694efac11ff3476e51a2821a2575b63cb
[ "MIT" ]
null
null
null
#include "catch.hpp" #include <mpsc_queue.hpp> #include <thread> TEST_CASE("mpsc_queue concurrence", "[mpsc_queue]") { const int threadCount(std::thread::hardware_concurrency() * 2); const int dataCount(threadCount * 1'000); sc::mpsc_queue<std::unique_ptr<int>> queue(dataCount / 3); std::atomic<int...
27.166667
67
0.542945
Dwarfobserver
8aeba58c34ca6a4f3dd5b4bfd55473228c1174f1
2,654
cpp
C++
tests/aggregator_suite.cpp
mambaru/wrtstat
d97bf5376c14181974d6eb4632053710bb75cca8
[ "MIT" ]
1
2018-03-16T21:21:23.000Z
2018-03-16T21:21:23.000Z
tests/aggregator_suite.cpp
mambaru/wrtstat
d97bf5376c14181974d6eb4632053710bb75cca8
[ "MIT" ]
10
2019-12-04T20:44:19.000Z
2021-04-20T21:51:50.000Z
tests/aggregator_suite.cpp
mambaru/wrtstat
d97bf5376c14181974d6eb4632053710bb75cca8
[ "MIT" ]
null
null
null
#include <fas/testing.hpp> #include <wrtstat/aggregator/aggregator.hpp> #include <wrtstat/aggregator/aggregator_mt.hpp> #include <numeric> namespace { UNIT(aggregator1, "") { using namespace fas::testing; using namespace wrtstat; aggregator_options opt; opt.reducer_levels = 1; opt.reducer_limit = 10; op...
28.847826
89
0.566315
mambaru
8aec1bd605787eaa6d065d06898b7b3b421b597a
6,673
cpp
C++
tools/convert_model.cpp
oscmansan/nvcaffe
22738c97e9c6991e49a12a924c3c773d95795b5c
[ "BSD-2-Clause" ]
null
null
null
tools/convert_model.cpp
oscmansan/nvcaffe
22738c97e9c6991e49a12a924c3c773d95795b5c
[ "BSD-2-Clause" ]
null
null
null
tools/convert_model.cpp
oscmansan/nvcaffe
22738c97e9c6991e49a12a924c3c773d95795b5c
[ "BSD-2-Clause" ]
null
null
null
#include <stdint.h> #include <string> #include "gflags/gflags.h" #include "glog/logging.h" #include "caffe/proto/caffe.pb.h" #include "caffe/util/db.hpp" #include "caffe/util/io.hpp" #include "caffe/solver.hpp" using namespace caffe; // NOLINT(build/namespaces) DEFINE_string(model, "", "The model definition pr...
35.684492
93
0.647535
oscmansan
8af0951f8b7040f8738069f1b1094eda741f582f
2,450
cpp
C++
vireo/frame/util.cpp
shahzadlone/vireo
73e7176d0255a9506b009c9ab8cc532ecd86e98c
[ "MIT" ]
890
2017-12-15T17:55:42.000Z
2022-03-27T07:46:49.000Z
vireo/frame/util.cpp
shahzadlone/vireo
73e7176d0255a9506b009c9ab8cc532ecd86e98c
[ "MIT" ]
29
2017-12-16T21:49:08.000Z
2021-09-08T23:04:10.000Z
vireo/frame/util.cpp
shahzadlone/vireo
73e7176d0255a9506b009c9ab8cc532ecd86e98c
[ "MIT" ]
88
2017-12-15T19:29:49.000Z
2022-03-21T00:59:29.000Z
/* * MIT License * * Copyright (c) 2017 Twitter * * 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, ...
36.567164
107
0.709796
shahzadlone
8af2c51655372cc78a8f6d1a0d0bf3ecae986912
1,552
hpp
C++
src/mlpack/methods/ann/loss_functions/empty_loss_impl.hpp
gaurav-singh1998/mlpack
c104a2dcf0b51a98d9d6fcfc01d4e7047cc83872
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
2
2020-02-29T17:39:51.000Z
2020-05-16T23:36:01.000Z
src/mlpack/methods/ann/loss_functions/empty_loss_impl.hpp
R-Aravind/mlpack
99d11a9b4d379885cf7f8160d8c71fb792fa1bbc
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
src/mlpack/methods/ann/loss_functions/empty_loss_impl.hpp
R-Aravind/mlpack
99d11a9b4d379885cf7f8160d8c71fb792fa1bbc
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
2
2020-06-05T13:27:26.000Z
2020-06-23T09:44:31.000Z
/** * @file methods/ann/loss_functions/empty_loss_impl.hpp * @author Xiaohong Ji * * Implementation of empty loss function. Sometimes, the user may want to * calculate the loss outside of the model, so we have created an empty loss * that does nothing. * * mlpack is free software; you may redistribute it and/or...
30.431373
78
0.764175
gaurav-singh1998
8af3537f95c26064367cd5a2f494665f6c1319d6
657
cpp
C++
solutions/1uZClglr.cpp
luyencode/cpp-solutions
627397fb887654e9f5ee64cfb73d708f6f6706f7
[ "MIT" ]
60
2021-04-10T11:17:33.000Z
2022-03-23T06:15:42.000Z
solutions/1uZClglr.cpp
letuankiet-29-10-2002/cpp-solutions
7d9cddf211af54ff207da883b469f4ddd75d5916
[ "MIT" ]
1
2021-08-13T11:32:27.000Z
2021-08-13T11:32:27.000Z
solutions/1uZClglr.cpp
letuankiet-29-10-2002/cpp-solutions
7d9cddf211af54ff207da883b469f4ddd75d5916
[ "MIT" ]
67
2021-04-10T17:32:50.000Z
2022-03-23T15:50:17.000Z
/* Sưu tầm bởi @nguyenvanhieuvn Thực hành nhiều bài tập hơn tại https://luyencode.net/ */ #include<stdio.h> #include<conio.h> int main() { /* a b c 5 4 7 Giống Interchange sort a so sánh với b và c b so sánh với c */ int a, b, c, temp; printf("\nNhap a: "); scanf("%d", &a); printf("\nNhap b: "...
14.6
56
0.452055
luyencode
8afa7b6d3aac9f27d856f69f2c6a3628df3ea4d5
1,778
cpp
C++
Engine/Renderer/GLES3/src/GLES3TextureCubemap.cpp
LiangYue1981816/AresEngine
c1cf040a1dffaf2bc585ed75e70ddd9322fe3f67
[ "BSD-2-Clause" ]
3
2018-12-08T16:32:05.000Z
2020-06-02T11:07:15.000Z
Engine/Renderer/GLES3/src/GLES3TextureCubemap.cpp
LiangYue1981816/AresEngine
c1cf040a1dffaf2bc585ed75e70ddd9322fe3f67
[ "BSD-2-Clause" ]
null
null
null
Engine/Renderer/GLES3/src/GLES3TextureCubemap.cpp
LiangYue1981816/AresEngine
c1cf040a1dffaf2bc585ed75e70ddd9322fe3f67
[ "BSD-2-Clause" ]
1
2019-09-12T00:26:05.000Z
2019-09-12T00:26:05.000Z
#include "GLES3Renderer.h" CGLES3TextureCubemap::CGLES3TextureCubemap(CGLES3TextureCubemapManager* pManager, uint32_t name) : CGfxTextureCubemap(name) , m_pManager(pManager) , m_pTexture(nullptr) { m_pTexture = new CGLES3Texture; } CGLES3TextureCubemap::~CGLES3TextureCubemap(void) { delete m_pTexture; } void C...
25.042254
192
0.784589
LiangYue1981816
8afbf6419d4114f47b837e9498447794061a5b78
7,911
cpp
C++
interval_tree.cpp
martonantoni/compolib
9a9b9694d38af18f403d676da86a5e05d6e9ae08
[ "MIT" ]
null
null
null
interval_tree.cpp
martonantoni/compolib
9a9b9694d38af18f403d676da86a5e05d6e9ae08
[ "MIT" ]
null
null
null
interval_tree.cpp
martonantoni/compolib
9a9b9694d38af18f403d676da86a5e05d6e9ae08
[ "MIT" ]
null
null
null
#define _CRT_SECURE_NO_WARNINGS #include <iostream> #include <stdio.h> #include <vector> #include <memory> #include <unordered_map> #include <algorithm> #include <numeric> #include <string> #include <set> #include <tuple> #include <functional> #include <cstring> #include <deque> #include <array> #include <map> #include...
27.954064
175
0.680319
martonantoni
c10468ff8c990eee8fb8ef317fd1a47c7cec622d
3,847
cpp
C++
src/kiwi/Testing/TestCap.cpp
arunbv123/Kiwi
1f39b2f832a03004fd9e7ccb02568c593c7a7ad1
[ "Apache-2.0" ]
null
null
null
src/kiwi/Testing/TestCap.cpp
arunbv123/Kiwi
1f39b2f832a03004fd9e7ccb02568c593c7a7ad1
[ "Apache-2.0" ]
null
null
null
src/kiwi/Testing/TestCap.cpp
arunbv123/Kiwi
1f39b2f832a03004fd9e7ccb02568c593c7a7ad1
[ "Apache-2.0" ]
null
null
null
/*======================================================================== VES --- VTK OpenGL ES Rendering Toolkit http://www.kitware.com/ves Copyright 2011 Kitware, Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. Y...
26.349315
96
0.686769
arunbv123
c10cd57c5527195434cfb8d0b3041d0299b48e51
71,783
hpp
C++
include/oup/observable_unique_ptr.hpp
cschreib/observable_unique_ptr
08f687f3fbeffe59ca72bcb23e03d4310fa009b2
[ "MIT" ]
9
2021-11-01T12:36:19.000Z
2022-03-19T18:56:26.000Z
include/oup/observable_unique_ptr.hpp
cschreib/observable_unique_ptr
08f687f3fbeffe59ca72bcb23e03d4310fa009b2
[ "MIT" ]
7
2021-11-11T19:21:12.000Z
2022-03-04T08:29:17.000Z
include/oup/observable_unique_ptr.hpp
cschreib/observable_unique_ptr
08f687f3fbeffe59ca72bcb23e03d4310fa009b2
[ "MIT" ]
null
null
null
#ifndef OBSERVABLE_UNIQUE_PTR_INCLUDED #define OBSERVABLE_UNIQUE_PTR_INCLUDED #include <cstddef> #include <cstdint> #include <exception> #include <new> #include <type_traits> #include <utility> namespace oup { /// Exception thrown for failed observer_from_this(). struct bad_observer_from_this : std::exception { ...
39.333151
108
0.676957
cschreib
c10dc5af2b144ef6815f677b10889d9bd6a6a75d
2,391
cpp
C++
DirectX2D11/Objects/Game/GameMap.cpp
GyumLee/DirectX2D11
7a92946241ad177c7efac5609e831bc7f0b06908
[ "Apache-2.0" ]
null
null
null
DirectX2D11/Objects/Game/GameMap.cpp
GyumLee/DirectX2D11
7a92946241ad177c7efac5609e831bc7f0b06908
[ "Apache-2.0" ]
null
null
null
DirectX2D11/Objects/Game/GameMap.cpp
GyumLee/DirectX2D11
7a92946241ad177c7efac5609e831bc7f0b06908
[ "Apache-2.0" ]
null
null
null
#include "Framework.h" GameMap::GameMap(string file) { Load(file); UINT mapWidth = (UINT)tileSize.x * width; UINT mapHeight = (UINT)tileSize.y * height; renderTarget = new RenderTarget(mapWidth, mapHeight); targetTexture = new Quad(Vector2(mapWidth, mapHeight)); Texture* texture = Texture::Add(L"GameMap", ren...
17.452555
72
0.64701
GyumLee
c10e2c64f9819053b27a110ce3a3eb23e9a42a54
3,279
cpp
C++
src/Rodin/Variational/Advect.cpp
carlos-brito-pacheco/rodin
f2c946b290ebb2487a21c617de01be91a0692c72
[ "BSL-1.0" ]
1
2021-12-02T19:04:38.000Z
2021-12-02T19:04:38.000Z
src/Rodin/Variational/Advect.cpp
cbritopacheco/rodin
f2c946b290ebb2487a21c617de01be91a0692c72
[ "BSL-1.0" ]
null
null
null
src/Rodin/Variational/Advect.cpp
cbritopacheco/rodin
f2c946b290ebb2487a21c617de01be91a0692c72
[ "BSL-1.0" ]
null
null
null
/* * Copyright Carlos BRITO PACHECO 2021 - 2022. * Distributed under the Boost Software License, Version 1.0. * (See accompanying file LICENSE or copy at * https://www.boost.org/LICENSE_1_0.txt) */ /** * @file * @brief Contains the implementation for the Advect class * * The internal c...
28.513043
86
0.608112
carlos-brito-pacheco
c1115e800b529d8f99ada93aa1d7265196f7e589
3,619
cc
C++
cartographer/transform/rigid_transform_test.cc
laotie/cartographer
b8228ee6564f5a7ad0d6d0b9a30516521cff2ee9
[ "Apache-2.0" ]
5,196
2016-08-04T14:52:31.000Z
2020-04-02T18:30:00.000Z
cartographer/transform/rigid_transform_test.cc
laotie/cartographer
b8228ee6564f5a7ad0d6d0b9a30516521cff2ee9
[ "Apache-2.0" ]
1,206
2016-08-03T14:27:00.000Z
2020-03-31T21:14:18.000Z
cartographer/transform/rigid_transform_test.cc
laotie/cartographer
b8228ee6564f5a7ad0d6d0b9a30516521cff2ee9
[ "Apache-2.0" ]
1,810
2016-08-03T05:45:02.000Z
2020-04-02T03:44:18.000Z
/* * Copyright 2017 The Cartographer 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...
36.555556
77
0.673114
laotie
c114135eb3c0a4742e33f35ef74cb560a92e52a0
3,279
cpp
C++
src/Buffer/Buf_AllocateBufferPatch_Base.cpp
wt-liao/gamer_popIII_accretion
31218b9a200a362cb7cb0e98ef1b0828c2acf741
[ "BSD-3-Clause" ]
1
2020-02-20T15:59:06.000Z
2020-02-20T15:59:06.000Z
src/Buffer/Buf_AllocateBufferPatch_Base.cpp
wt-liao/gamer_popIII_accretion
31218b9a200a362cb7cb0e98ef1b0828c2acf741
[ "BSD-3-Clause" ]
null
null
null
src/Buffer/Buf_AllocateBufferPatch_Base.cpp
wt-liao/gamer_popIII_accretion
31218b9a200a362cb7cb0e98ef1b0828c2acf741
[ "BSD-3-Clause" ]
null
null
null
#include "GAMER.h" #ifndef SERIAL //------------------------------------------------------------------------------------------------------- // Function : Buf_AllocateBufferPatch_Base // Description : Allocate buffer patches for the base level // // Note : 1. corner[] recorded in the buffer patches are...
38.576471
107
0.493138
wt-liao
c115710e4345d49ac13f1c5541b89465672fb83d
1,248
cpp
C++
plugins/grid_trade_plugin/test/main.cpp
CNLiWeiDong/huobi_trade
777e0b6afe3aa33e79a05827a5a3e40887297a6b
[ "BSL-1.0" ]
2
2021-08-30T02:58:34.000Z
2021-12-05T14:00:42.000Z
plugins/grid_trade_plugin/test/main.cpp
CNLiWeiDong/huobi_trade
777e0b6afe3aa33e79a05827a5a3e40887297a6b
[ "BSL-1.0" ]
null
null
null
plugins/grid_trade_plugin/test/main.cpp
CNLiWeiDong/huobi_trade
777e0b6afe3aa33e79a05827a5a3e40887297a6b
[ "BSL-1.0" ]
null
null
null
#define BOOST_TEST_MODULE grid_trade_test #include <boost/filesystem/path.hpp> #include <boost/filesystem/operations.hpp> #include <boost/format.hpp> #include "appbase/application.hpp" #include <boost/test/unit_test.hpp> #include <boost/thread/thread.hpp> #include <hb/log/log.h> #include <boost/date_time/posix_time/p...
31.2
109
0.734776
CNLiWeiDong
c115a5b3726dedbfeb63dc96b4126d0eecccfbe1
290
cpp
C++
raygame/StartingScene.cpp
KatelynKodes/TamagotchiGenerator
cac9e73dd1422758b96be18203719d7e5f7f97e9
[ "MIT" ]
null
null
null
raygame/StartingScene.cpp
KatelynKodes/TamagotchiGenerator
cac9e73dd1422758b96be18203719d7e5f7f97e9
[ "MIT" ]
null
null
null
raygame/StartingScene.cpp
KatelynKodes/TamagotchiGenerator
cac9e73dd1422758b96be18203719d7e5f7f97e9
[ "MIT" ]
null
null
null
#include "StartingScene.h" #include "SpriteComponent.h" #include "PlayerMovement.h" void StartingScene::start() { m_playerChar = new Player(300, 300, "p", 30, MathLibrary::Vector2(30, 30)); m_playerChar->getTransform()->setScale(MathLibrary::Vector2(50,50)); addActor(m_playerChar); }
24.166667
76
0.737931
KatelynKodes
c115fcf837a616a717b1d39770a792484f5ca154
6,481
cpp
C++
tests/imgloader_tests.cpp
dogesoulseller/weirdlib
35d3be8a7621890e6870a48f3839f00b87d5ced9
[ "MIT" ]
null
null
null
tests/imgloader_tests.cpp
dogesoulseller/weirdlib
35d3be8a7621890e6870a48f3839f00b87d5ced9
[ "MIT" ]
null
null
null
tests/imgloader_tests.cpp
dogesoulseller/weirdlib
35d3be8a7621890e6870a48f3839f00b87d5ced9
[ "MIT" ]
null
null
null
#ifdef WEIRDLIB_ENABLE_IMAGE_OPERATIONS #include <gtest/gtest.h> #include "../src/img_loaders/image_format_loaders.hpp" #include <filesystem> #include <algorithm> #include "../external/stb/stb_image.h" #include "pnmdata.hpp" constexpr const char* wlibTestDir = WLIBTEST_TESTING_DIRECTORY; constexpr int expectedWidthP...
39.042169
119
0.756519
dogesoulseller
c116319beeadc8dda7324b4c16943dfe8f2902df
444
cpp
C++
structures and enumerations/first.cpp
ayaankhan98/C-Progamming_basics
0aba46dfe91986e30151bed54eaa7f66d0486c5e
[ "MIT" ]
null
null
null
structures and enumerations/first.cpp
ayaankhan98/C-Progamming_basics
0aba46dfe91986e30151bed54eaa7f66d0486c5e
[ "MIT" ]
null
null
null
structures and enumerations/first.cpp
ayaankhan98/C-Progamming_basics
0aba46dfe91986e30151bed54eaa7f66d0486c5e
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; struct mobile { float price; string model; int ram_size,rom_size; }; int main() { mobile azf3; azf3.price = 8999.0; azf3.model = "ASUS ZENFONE 3 LASER"; azf3.ram_size = 4; azf3.rom_size = 32; cout<<"Model : "<<azf3.model<<endl; cout<<"R...
18.5
46
0.59009
ayaankhan98
c116e803ebcd48451ca632964571e450ad19bc6f
3,867
cpp
C++
ChaosEngine/Application.cpp
adrianam4/Chaos-Engine
2bc5693c0c25118ec58331c4311eac68c94d4d19
[ "MIT" ]
null
null
null
ChaosEngine/Application.cpp
adrianam4/Chaos-Engine
2bc5693c0c25118ec58331c4311eac68c94d4d19
[ "MIT" ]
null
null
null
ChaosEngine/Application.cpp
adrianam4/Chaos-Engine
2bc5693c0c25118ec58331c4311eac68c94d4d19
[ "MIT" ]
null
null
null
#include "Application.h" Application::Application() { window = new ModuleWindow(this); input = new ModuleInput(this); scene = new ModuleScene(this); userInterface = new ModuleUI(this); renderer3D = new ModuleRenderer3D(this); camera = new ModuleCamera3D(this); editor = new ModuleEditor(this); resources = new M...
17.497738
102
0.64029
adrianam4
c1189cf046b09e696a48b74aae4d98476fe8a880
1,120
cpp
C++
src/stomplay_hook.cpp
ikonopistsev/stomptalk
4fe5946fa7e9afed5e938eaad1b1e6f7f8b19b03
[ "Apache-2.0" ]
3
2020-08-14T13:21:51.000Z
2021-05-18T14:39:40.000Z
src/stomplay_hook.cpp
ikonopistsev/stomptalk
4fe5946fa7e9afed5e938eaad1b1e6f7f8b19b03
[ "Apache-2.0" ]
null
null
null
src/stomplay_hook.cpp
ikonopistsev/stomptalk
4fe5946fa7e9afed5e938eaad1b1e6f7f8b19b03
[ "Apache-2.0" ]
1
2020-08-14T13:22:00.000Z
2020-08-14T13:22:00.000Z
#include "stomptalk/stomplay_hook.hpp" using namespace stomptalk; // make a decision about processing of known method stomplay_hook::error_type stomplay_hook::on_method(std::size_t num) noexcept { using namespace method; error_type rc = error::none; switch (num) { case num_id::none: case num_...
22.857143
76
0.604464
ikonopistsev
c11b1780e2e43993d19596d3b39d2b8b6df40031
5,457
cpp
C++
cme/src/v20191029/model/StreamConnectProjectInput.cpp
suluner/tencentcloud-sdk-cpp
a56c73cc3f488c4d1e10755704107bb15c5e000d
[ "Apache-2.0" ]
43
2019-08-14T08:14:12.000Z
2022-03-30T12:35:09.000Z
cme/src/v20191029/model/StreamConnectProjectInput.cpp
suluner/tencentcloud-sdk-cpp
a56c73cc3f488c4d1e10755704107bb15c5e000d
[ "Apache-2.0" ]
12
2019-07-15T10:44:59.000Z
2021-11-02T12:35:00.000Z
cme/src/v20191029/model/StreamConnectProjectInput.cpp
suluner/tencentcloud-sdk-cpp
a56c73cc3f488c4d1e10755704107bb15c5e000d
[ "Apache-2.0" ]
28
2019-07-12T09:06:22.000Z
2022-03-30T08:04:18.000Z
/* * Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 ...
30.316667
147
0.680227
suluner
c11e0c5ce8d12fe8d83b859f105fa27068a8774e
1,370
cpp
C++
RLSimion/Lib/worlds/aux-rewards.cpp
xcillero001/SimionZoo
b343b08f3356e1aa230d4132b0abb58aac4c5e98
[ "MIT" ]
1
2019-02-21T10:40:28.000Z
2019-02-21T10:40:28.000Z
RLSimion/Lib/worlds/aux-rewards.cpp
JosuGom3z/SimionZoo
b343b08f3356e1aa230d4132b0abb58aac4c5e98
[ "MIT" ]
null
null
null
RLSimion/Lib/worlds/aux-rewards.cpp
JosuGom3z/SimionZoo
b343b08f3356e1aa230d4132b0abb58aac4c5e98
[ "MIT" ]
null
null
null
#include "aux-rewards.h" #include "../../Common/named-var-set.h" #include "world.h" #include <algorithm> #include <math.h> double static getDistanceBetweenPoints(double x1, double y1, double x2, double y2) { double distance = sqrt(pow(x2 - x1, 2) + pow(y2 - y1, 2)); return distance; } DistanceReward2D::DistanceRewa...
25.849057
150
0.736496
xcillero001
c120d56aa12bb4283d15d6cfc60a7217040ad2be
4,499
cc
C++
tests/cc/string_view.cc
project-arcana/arcana-samples
7dbe2cab765d4d86c6e96b4ab542cac75608a0b0
[ "MIT" ]
2
2019-08-06T08:13:27.000Z
2019-09-28T07:16:46.000Z
tests/string_view.cc
Philip-Trettner/clean-core
dc70db2432e753f1d77a722070c398464590e0a1
[ "MIT" ]
null
null
null
tests/string_view.cc
Philip-Trettner/clean-core
dc70db2432e753f1d77a722070c398464590e0a1
[ "MIT" ]
1
2020-01-22T18:04:53.000Z
2020-01-22T18:04:53.000Z
#include <nexus/test.hh> #include <clean-core/span.hh> #include <clean-core/string_view.hh> #include <clean-core/vector.hh> static_assert(cc::is_contiguous_range<cc::string_view, char const>); static_assert(cc::is_contiguous_range<cc::string_view, void const>); TEST("cc::string_view") { cc::string_view s; CH...
31.027586
160
0.544121
project-arcana
c127fe82cf5db2bbb63f7d926840bd67efe07565
78,157
cpp
C++
Uber_Duper_Simulation_Haxe/bin/windows/cpp/obj/src/openfl/_v2/text/TextField.cpp
as3boyan/Uber-Duper-Simulation
a3942831a1acf08479f06fd8cfe8896ec00ac32c
[ "MIT" ]
null
null
null
Uber_Duper_Simulation_Haxe/bin/windows/cpp/obj/src/openfl/_v2/text/TextField.cpp
as3boyan/Uber-Duper-Simulation
a3942831a1acf08479f06fd8cfe8896ec00ac32c
[ "MIT" ]
null
null
null
Uber_Duper_Simulation_Haxe/bin/windows/cpp/obj/src/openfl/_v2/text/TextField.cpp
as3boyan/Uber-Duper-Simulation
a3942831a1acf08479f06fd8cfe8896ec00ac32c
[ "MIT" ]
null
null
null
#include <hxcpp.h> #ifndef INCLUDED_StringTools #include <StringTools.h> #endif #ifndef INCLUDED_Type #include <Type.h> #endif #ifndef INCLUDED_openfl__v2_Lib #include <openfl/_v2/Lib.h> #endif #ifndef INCLUDED_openfl__v2_display_DisplayObject #include <openfl/_v2/display/DisplayObject.h> #endif #ifndef INCLUDED_openf...
49.37271
210
0.797177
as3boyan
c12eb7d272bff6dce13b291523cef1f8a88ba78b
3,523
cpp
C++
buildcc/lib/target/test/path/test_path.cpp
d-winsor/build_in_cpp
581c827fd8c69a7258175e360847676861a5c7b0
[ "Apache-2.0" ]
null
null
null
buildcc/lib/target/test/path/test_path.cpp
d-winsor/build_in_cpp
581c827fd8c69a7258175e360847676861a5c7b0
[ "Apache-2.0" ]
null
null
null
buildcc/lib/target/test/path/test_path.cpp
d-winsor/build_in_cpp
581c827fd8c69a7258175e360847676861a5c7b0
[ "Apache-2.0" ]
null
null
null
// Internal #include "target/path.h" #include "env/assert_fatal.h" #include "constants.h" #include <cstdint> #include <unordered_set> // NOTE, Make sure all these includes are AFTER the system and header includes #include "CppUTest/CommandLineTestRunner.h" #include "CppUTest/MemoryLeakDetectorNewMacros.h" #include ...
35.585859
79
0.691456
d-winsor
c133fb10213816906c4c063f41ac3fa0186d0874
250
hpp
C++
src/web_server/utility/fail.hpp
X-rays5/web_server
c14e2c8e6e53797d2179cb5985a135e34173b3b9
[ "MIT" ]
2
2021-09-16T03:22:45.000Z
2021-11-09T11:45:07.000Z
src/web_server/utility/fail.hpp
X-rays5/web_server
c14e2c8e6e53797d2179cb5985a135e34173b3b9
[ "MIT" ]
null
null
null
src/web_server/utility/fail.hpp
X-rays5/web_server
c14e2c8e6e53797d2179cb5985a135e34173b3b9
[ "MIT" ]
null
null
null
// // Created by X-ray on 6/3/2021. // #pragma once #include <iostream> #include <boost/beast/ssl.hpp> namespace web_server { namespace utility { void fail(boost::beast::error_code ec, char const* what); } // utility } // web_server
19.230769
65
0.656
X-rays5
c143897de2443c0ac743a3efb4e35d70b9d1d288
4,840
cpp
C++
Source/Services/Misc/contextual_search_game_clip.cpp
yklys/Xbox-Live-API
e409400ec38c0c131b16e09281cdc83199d1c90f
[ "MIT" ]
1
2018-09-30T04:48:03.000Z
2018-09-30T04:48:03.000Z
Source/Services/Misc/contextual_search_game_clip.cpp
DalavanCloud/xbox-live-api
2166ffcb4a1ca1f5d89a43dce9ab4c5ff9b797b7
[ "MIT" ]
null
null
null
Source/Services/Misc/contextual_search_game_clip.cpp
DalavanCloud/xbox-live-api
2166ffcb4a1ca1f5d89a43dce9ab4c5ff9b797b7
[ "MIT" ]
null
null
null
// Copyright (c) Microsoft Corporation // Licensed under the MIT license. See LICENSE file in the project root for full license information. #include "pch.h" #include "xsapi/contextual_search_service.h" NAMESPACE_MICROSOFT_XBOX_SERVICES_CONTEXTUAL_SEARCH_CPP_BEGIN contextual_search_game_clip::contextual_search_game...
33.150685
169
0.770248
yklys
c14a603089a5d1161e14da3e4f2b565ec55d71c0
7,365
cc
C++
Zapocet 2/test2.orgH.cc
xchovanecv1/PS2
913c2cd7adf65fab2e4cf420aafa766b3e2232c7
[ "MIT" ]
null
null
null
Zapocet 2/test2.orgH.cc
xchovanecv1/PS2
913c2cd7adf65fab2e4cf420aafa766b3e2232c7
[ "MIT" ]
null
null
null
Zapocet 2/test2.orgH.cc
xchovanecv1/PS2
913c2cd7adf65fab2e4cf420aafa766b3e2232c7
[ "MIT" ]
null
null
null
/* Vytvorte casovu udalost (vramci prvych 30s), ktora rozpohybuje uzly v strede. (1b) Vytvorte funkciu ktorou zachytite zmeny RTO na triede TcpSocket (iba 1z3 app pouziva Tcp). (1b) Ak poklesne RTO zvyste rychlosti uzlov v strede. inak spomalte ;) (1b) Zachytte udalost (MacRxDrop || MacTxDrop) triedy ns3::WifiMac f...
41.376404
177
0.676307
xchovanecv1
c14b38d0c005aa39692d5c9e69aa1c61a7e32d9d
1,031
cpp
C++
lib/arrayset/arrayset.cpp
janhancic/CHIC
dc3cf673611f4eb5936bb6869911989074c7cabd
[ "MIT" ]
null
null
null
lib/arrayset/arrayset.cpp
janhancic/CHIC
dc3cf673611f4eb5936bb6869911989074c7cabd
[ "MIT" ]
null
null
null
lib/arrayset/arrayset.cpp
janhancic/CHIC
dc3cf673611f4eb5936bb6869911989074c7cabd
[ "MIT" ]
null
null
null
#include "arrayset.h" ArraySet::ArraySet(int initial_size) { _size = initial_size; _num_elements = 0; _arr = (void**)malloc(_size * sizeof(void*)); } void ArraySet::add(void *elem) { if( _num_elements == _size ) { _size *= 2; _arr = (void**)realloc(_arr, _size * sizeof(void*)); }...
17.474576
58
0.594568
janhancic
c150d31808c4f2184666d57d3a6dfbfa180dc6f7
4,465
cpp
C++
src/tdmms_driver/yamaha/transfer_linear_yamaha/src/transfer_linear_yamaha.cpp
tdmms/tdmms
1bd779bb3d6fe6451cdc08dcd5b15a1bcbd03b35
[ "BSD-3-Clause" ]
16
2018-04-28T07:34:04.000Z
2022-01-27T02:46:43.000Z
src/tdmms_driver/yamaha/transfer_linear_yamaha/src/transfer_linear_yamaha.cpp
tdmms/tdmms
1bd779bb3d6fe6451cdc08dcd5b15a1bcbd03b35
[ "BSD-3-Clause" ]
1
2018-10-16T08:41:55.000Z
2018-10-16T08:44:33.000Z
src/tdmms_driver/yamaha/transfer_linear_yamaha/src/transfer_linear_yamaha.cpp
tdmms/tdmms
1bd779bb3d6fe6451cdc08dcd5b15a1bcbd03b35
[ "BSD-3-Clause" ]
2
2018-04-17T14:03:15.000Z
2020-05-12T04:59:43.000Z
// Copyright 2016 by S. Masubuchi #include <arpa/inet.h> #include <ros/ros.h> #include <geometry_msgs/Point.h> #include <std_msgs/Byte.h> #include <std_msgs/UInt8.h> #include <std_msgs/Empty.h> #include <std_srvs/Empty.h> #include <transfer_linear_yamaha/AbsMove.h> #include <transfer_linear_yamaha/GetCurrentPos.h> #in...
33.074074
80
0.673684
tdmms
c15123ff9a5fb5014a85d17e1518bc6b755e3b52
15,979
cc
C++
engine/source/console/codeBlock.cc
itsasc/Necromantia
f41dfa045eb2c3500320767553d75f83df10e6f9
[ "MIT" ]
312
2015-02-17T15:07:28.000Z
2022-03-12T07:09:56.000Z
src/console/codeBlock.cc
lukaspj/Torque6
db6cd08f18f4917e0c6557b2766fb40d8e2bee39
[ "MIT" ]
23
2015-03-30T14:47:37.000Z
2020-11-02T00:00:24.000Z
src/console/codeBlock.cc
lukaspj/Torque6
db6cd08f18f4917e0c6557b2766fb40d8e2bee39
[ "MIT" ]
73
2015-02-17T15:07:30.000Z
2021-10-02T03:11:59.000Z
//----------------------------------------------------------------------------- // Copyright (c) 2013 GarageGames, LLC // // 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 restrictio...
23.884903
153
0.597659
itsasc
c151660a73fd95dd58b4ceba857f7b54e8ef1403
34,089
cpp
C++
BioFVM_mesh.cpp
MathCancer/BioFVM
503d27cc735c2964e126a3e581727e47fb16a8de
[ "Apache-2.0" ]
null
null
null
BioFVM_mesh.cpp
MathCancer/BioFVM
503d27cc735c2964e126a3e581727e47fb16a8de
[ "Apache-2.0" ]
null
null
null
BioFVM_mesh.cpp
MathCancer/BioFVM
503d27cc735c2964e126a3e581727e47fb16a8de
[ "Apache-2.0" ]
null
null
null
/* ############################################################################# # If you use BioFVM in your project, please cite BioFVM and the version # # number, such as below: # # # # We ...
28.289627
168
0.594943
MathCancer
c15363c74ea0ce72c5742a3049bda3f177bbd17c
5,172
cpp
C++
engine/core/resource/Res.cpp
dulingzhi/echo
de7ee416c49e1494a008e0a818155d6d0f6d5a7a
[ "MIT" ]
null
null
null
engine/core/resource/Res.cpp
dulingzhi/echo
de7ee416c49e1494a008e0a818155d6d0f6d5a7a
[ "MIT" ]
null
null
null
engine/core/resource/Res.cpp
dulingzhi/echo
de7ee416c49e1494a008e0a818155d6d0f6d5a7a
[ "MIT" ]
null
null
null
#include "Res.h" #include "engine/core/log/Log.h" #include "engine/core/io/IO.h" #include "engine/core/util/PathUtil.h" #include <thirdparty/pugixml/pugixml.hpp> #include <thirdparty/pugixml/pugiconfig.hpp> namespace Echo { static std::unordered_map<String, Res*> g_ress; static std::unordered_map<String,...
21.460581
121
0.607695
dulingzhi
c156adc0c2d6647e27f06cc809664402d1b738d6
3,876
cpp
C++
tc tournaments/CheckersBoard.cpp
ibudiselic/contest-problem-solutions
88082981b4d87da843472e3ca9ed5f4c42b3f0aa
[ "BSD-2-Clause" ]
3
2015-05-25T06:24:37.000Z
2016-09-10T07:58:00.000Z
tc tournaments/CheckersBoard.cpp
ibudiselic/contest-problem-solutions
88082981b4d87da843472e3ca9ed5f4c42b3f0aa
[ "BSD-2-Clause" ]
null
null
null
tc tournaments/CheckersBoard.cpp
ibudiselic/contest-problem-solutions
88082981b4d87da843472e3ca9ed5f4c42b3f0aa
[ "BSD-2-Clause" ]
5
2015-05-25T06:24:40.000Z
2021-08-19T19:22:29.000Z
//#include <algorithm> //#include <cassert> //#include <cstdio> #include <iostream> #include <sstream> #include <string> #include <vector> //#include <cstring> using namespace std; const int di[] = { 1, -1 }; const int dj[] = { -1, 1 }; bool valid(int i, int j) { if (i<0 || j<0 || i>=8 || j>=8) re...
26.367347
309
0.484778
ibudiselic
c156fcfd0dc7d040c2bef90e1168fbbcb880f294
1,177
cpp
C++
samples/snippets/cpp/VS_Snippets_CLR_System/system.Int32.TryParse/cpp/int32.tryparse1.cpp
hamarb123/dotnet-api-docs
6aeb55784944a2f1f5e773b657791cbd73a92dd4
[ "CC-BY-4.0", "MIT" ]
421
2018-04-01T01:57:50.000Z
2022-03-28T15:24:42.000Z
samples/snippets/cpp/VS_Snippets_CLR_System/system.Int32.TryParse/cpp/int32.tryparse1.cpp
hamarb123/dotnet-api-docs
6aeb55784944a2f1f5e773b657791cbd73a92dd4
[ "CC-BY-4.0", "MIT" ]
5,797
2018-04-02T21:12:23.000Z
2022-03-31T23:54:38.000Z
samples/snippets/cpp/VS_Snippets_CLR_System/system.Int32.TryParse/cpp/int32.tryparse1.cpp
hamarb123/dotnet-api-docs
6aeb55784944a2f1f5e773b657791cbd73a92dd4
[ "CC-BY-4.0", "MIT" ]
1,482
2018-03-31T11:26:20.000Z
2022-03-30T22:36:45.000Z
// ConsoleApplication1.cpp : Defines the entry point for the console application. // // <Snippet1> using namespace System; void TryToParse(String^ value) { Int32 number; bool result = Int32::TryParse(value, number); if (result) { Console::WriteLine("Converted '{0}' to {...
27.372093
82
0.564146
hamarb123
c157b2a8d0ad547081c21f6d15bfe6ef04cc97db
4,784
cpp
C++
src/AntiDuplWPF/AntiDupl/adLogger.cpp
yfdyh000/AntiDupl
869be7da4483c5797897c3847167693bbea9dbcc
[ "MIT" ]
674
2018-01-09T19:13:40.000Z
2022-03-29T19:54:35.000Z
src/AntiDuplWPF/AntiDupl/adLogger.cpp
yfdyh000/AntiDupl
869be7da4483c5797897c3847167693bbea9dbcc
[ "MIT" ]
124
2018-01-09T08:12:45.000Z
2022-03-28T14:19:49.000Z
src/AntiDuplWPF/AntiDupl/adLogger.cpp
yfdyh000/AntiDupl
869be7da4483c5797897c3847167693bbea9dbcc
[ "MIT" ]
78
2018-01-11T03:09:43.000Z
2022-03-20T17:43:39.000Z
/* * AntiDupl Dynamic-Link Library. * * Copyright (c) 2002-2015 Yermalayeu Ihar. * * 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 right...
25.582888
119
0.526756
yfdyh000
c15aefd81ff3b9f58f80504b3c298b810caa6c8d
3,216
cpp
C++
dataaccess/src/io-thread/io_thread.cpp
shockerjue/Gameserver
78faab152e1cb211d551a794ea4df5738cf99b04
[ "Unlicense" ]
31
2017-10-18T08:56:43.000Z
2022-03-22T15:43:10.000Z
dataaccess/src/io-thread/io_thread.cpp
shockerjue/Gameserver
78faab152e1cb211d551a794ea4df5738cf99b04
[ "Unlicense" ]
null
null
null
dataaccess/src/io-thread/io_thread.cpp
shockerjue/Gameserver
78faab152e1cb211d551a794ea4df5738cf99b04
[ "Unlicense" ]
14
2018-03-15T10:36:53.000Z
2021-11-11T19:35:39.000Z
#include "io_thread.h" namespace io_thread { Thread_Func(io_read){ Thread* thread = (Thread*)_thread; int fd = thread->getsendfd(); if(0 > fd){ return nullptr; } Network network(fd); network.SetType(ConnectType::THREAD_TYPE); ...
24.930233
80
0.458644
shockerjue
c15b28707c09573f920ee78dce16d0e61d645764
17,178
cpp
C++
libraries/entities/src/HazePropertyGroup.cpp
amantley/blendshapes
3f5820266762f9962d9bb5bd91912272005e4f02
[ "Apache-2.0" ]
null
null
null
libraries/entities/src/HazePropertyGroup.cpp
amantley/blendshapes
3f5820266762f9962d9bb5bd91912272005e4f02
[ "Apache-2.0" ]
null
null
null
libraries/entities/src/HazePropertyGroup.cpp
amantley/blendshapes
3f5820266762f9962d9bb5bd91912272005e4f02
[ "Apache-2.0" ]
null
null
null
// // HazePropertyGroup.h // libraries/entities/src // // Created by Nissim hadar on 9/21/17. // Copyright 2013 High Fidelity, Inc. // // Distributed under the Apache License, Version 2.0. // See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html // #include "HazePropertyGroup.h" #...
47.322314
210
0.778612
amantley
c15d95d759c2899cdebc26bd5d1c894f7872fd78
1,659
hpp
C++
engine/engine/gems/sight/utils.hpp
ddr95070/RMIsaac
ee3918f685f0a88563248ddea11d089581077973
[ "FSFAP" ]
1
2020-04-14T13:55:16.000Z
2020-04-14T13:55:16.000Z
engine/engine/gems/sight/utils.hpp
ddr95070/RMIsaac
ee3918f685f0a88563248ddea11d089581077973
[ "FSFAP" ]
4
2020-09-25T22:34:29.000Z
2022-02-09T23:45:12.000Z
engine/engine/gems/sight/utils.hpp
ddr95070/RMIsaac
ee3918f685f0a88563248ddea11d089581077973
[ "FSFAP" ]
1
2020-07-02T11:51:17.000Z
2020-07-02T11:51:17.000Z
/* Copyright (c) 2019, NVIDIA CORPORATION. All rights reserved. NVIDIA CORPORATION and its licensors retain all intellectual property and proprietary rights in and to this software, related documentation and any modifications thereto. Any use, reproduction, disclosure or distribution of this software and related docum...
43.657895
97
0.755274
ddr95070
c160020814611f224c1cb19836e158d4b3ec2070
4,592
hpp
C++
sources/Front-end/MainFrame.hpp
palchukovsky/TunnelEx
ec645271ab8b79225e378345ff108795110c57de
[ "Apache-2.0" ]
null
null
null
sources/Front-end/MainFrame.hpp
palchukovsky/TunnelEx
ec645271ab8b79225e378345ff108795110c57de
[ "Apache-2.0" ]
null
null
null
sources/Front-end/MainFrame.hpp
palchukovsky/TunnelEx
ec645271ab8b79225e378345ff108795110c57de
[ "Apache-2.0" ]
null
null
null
/************************************************************************** * Created: 2007/11/15 14:27 * Author: Eugene V. Palchukovsky * E-mail: eugene@palchukovsky.com * ------------------------------------------------------------------- * Project: TunnelEx * URL: http://tunnelex.net *********...
24.55615
76
0.752831
palchukovsky
c16035a54bd59600565113f24189d4434e9c1095
2,722
cpp
C++
src/main.cpp
Ch0p1k3/PathPlanningAlgorithms-RRT-RRTstar-
ece79c012f60285b4c397cb34c0b1ea49aebf7a4
[ "MIT" ]
4
2021-04-25T17:35:38.000Z
2021-07-07T12:48:33.000Z
src/main.cpp
Ch0p1k3/PathPlanningAlgorithms-RRT-RRTstar-
ece79c012f60285b4c397cb34c0b1ea49aebf7a4
[ "MIT" ]
null
null
null
src/main.cpp
Ch0p1k3/PathPlanningAlgorithms-RRT-RRTstar-
ece79c012f60285b4c397cb34c0b1ea49aebf7a4
[ "MIT" ]
1
2021-07-07T12:48:38.000Z
2021-07-07T12:48:38.000Z
#include <iostream> #include <cstring> #include "lib/SFML/include/SFML/Graphics.hpp" #include "algorithm.hpp" #include "geometry.hpp" #include "obstacle.hpp" #include "map.hpp" #include "tree.hpp" #include "RRT.hpp" #include "process.hpp" #include "constants.hpp" #include "searchresult.hpp" #include "log.hpp" #include ...
34.897436
96
0.592579
Ch0p1k3
c1633a068baaa7ba33dfae05dd561ec09ffec1e6
1,189
cpp
C++
test/token.cpp
sethitow/stc
28894bda001f00828613941d1a6da7cc3720dd52
[ "MIT" ]
null
null
null
test/token.cpp
sethitow/stc
28894bda001f00828613941d1a6da7cc3720dd52
[ "MIT" ]
3
2021-07-24T23:06:37.000Z
2021-08-21T03:24:58.000Z
test/token.cpp
sethitow/stc
28894bda001f00828613941d1a6da7cc3720dd52
[ "MIT" ]
null
null
null
#include "gtest/gtest.h" #include "../src/token.hpp" TEST(ToString, ToString) { Token tok("KEY", "VAL"); EXPECT_EQ(tok.to_string(), "KEY VAL"); }; TEST(PrintableValue, CarriageReturn) { Token tok_cr("return", "\r"); EXPECT_EQ(tok_cr.value_printable(), R"(\r)"); }; TEST(PrintableValue, LineFeed) { ...
18.873016
49
0.607233
sethitow
c168751ce370d6c8b2030ba12d9fa191aaf7a0c9
1,037
cpp
C++
PicoFramework/World/DirLight.cpp
rmyhovych/LightEngine
3a72f78418da2a0ec09641c400e7e036cb6c19d6
[ "MIT" ]
1
2020-01-03T21:44:07.000Z
2020-01-03T21:44:07.000Z
PicoFramework/World/DirLight.cpp
rmyhovych/LightEngine
3a72f78418da2a0ec09641c400e7e036cb6c19d6
[ "MIT" ]
null
null
null
PicoFramework/World/DirLight.cpp
rmyhovych/LightEngine
3a72f78418da2a0ec09641c400e7e036cb6c19d6
[ "MIT" ]
null
null
null
#include "DirLight.h" #include <cmath> DirLight::DirLight(float angleH, float angleV, const glm::vec3& focus, float shadowSize) : m_angleH(angleH), m_angleV(angleV), m_focus(focus), m_shadowSize(shadowSize) { m_projection = glm::ortho(-shadowSize, shadowSize, -shadowSize, shadowSize, -shadowSize, 2 * shadowSiz...
17
106
0.692382
rmyhovych
c16a2ec4100c9a834b30c806fb26072b64bc799a
1,273
cpp
C++
Codeforces/A. Carrot Cakes.cpp
Mhmd-Hisham/Problem-Solving
7ce0955b697e735c5ccb37347d9bec83e57339b5
[ "MIT" ]
null
null
null
Codeforces/A. Carrot Cakes.cpp
Mhmd-Hisham/Problem-Solving
7ce0955b697e735c5ccb37347d9bec83e57339b5
[ "MIT" ]
null
null
null
Codeforces/A. Carrot Cakes.cpp
Mhmd-Hisham/Problem-Solving
7ce0955b697e735c5ccb37347d9bec83e57339b5
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> /* Problem: A. Carrot Cakes Link : https://codeforces.com/contest/799/problem/A Solution by: Mohamed Hisham El-Banna Gmail : Mohamed00Hisham@Gmail.com Github : www.github.com/Mhmd-Hisham LinkedIn: www.linkedin.com/in/Mhmd-Hisham */ using namespace std; int n, t, k, d; int o1 = 0, o2 = ...
22.333333
136
0.5326
Mhmd-Hisham
c16c6af34c9e853bd4cfced33a86a79f41e36f95
16,245
hh
C++
pasa-plugins/cdbtools/tgi_cl/gcl/GHash.hh
tafujino/PASApipeline
4e7cac908e8c951c60814e8c26ccc9d69e2cfdb7
[ "BSD-3-Clause" ]
8
2016-07-12T19:26:06.000Z
2021-09-23T03:18:09.000Z
pasa-plugins/cdbtools/tgi_cl/gcl/GHash.hh
tafujino/PASApipeline
4e7cac908e8c951c60814e8c26ccc9d69e2cfdb7
[ "BSD-3-Clause" ]
5
2015-06-23T02:35:23.000Z
2017-02-02T22:22:17.000Z
pasa-plugins/cdbtools/tgi_cl/gcl/GHash.hh
tafujino/PASApipeline
4e7cac908e8c951c60814e8c26ccc9d69e2cfdb7
[ "BSD-3-Clause" ]
3
2018-05-18T23:47:52.000Z
2021-09-23T03:18:11.000Z
/******************************************************************************** * Hash table class template (char* based) * *********************************************************************************/ #ifndef GHash_HH #define GHash_HH #include "gcl/GBase.h" /** * ...
29.862132
92
0.587565
tafujino
c172a48ddaa5cfc10e42b5499cd0e5d7532b2e25
263
cpp
C++
src/src/keyboard.cpp
mohistH/nanogui_from_dalerank
ae4b5e04b2d8e2e85ab63b737fd13f8882243526
[ "MIT" ]
2
2021-01-05T08:50:59.000Z
2021-08-17T09:09:55.000Z
src/src/keyboard.cpp
mohistH/nanogui_from_dalerank
ae4b5e04b2d8e2e85ab63b737fd13f8882243526
[ "MIT" ]
null
null
null
src/src/keyboard.cpp
mohistH/nanogui_from_dalerank
ae4b5e04b2d8e2e85ab63b737fd13f8882243526
[ "MIT" ]
1
2021-08-17T09:09:57.000Z
2021-08-17T09:09:57.000Z
#include <nanogui/keyboard.h> NAMESPACE_BEGIN(nanogui) namespace kbkey { const char* right = "RGHT"; const char* left = "LEFT"; const char* space = "SPCE"; const char* enter = "ENTR"; const char* up = "KBUP"; const char* down = "DOWN"; } NAMESPACE_END(nanogui)
17.533333
29
0.692015
mohistH
c179a71e1bc6623fb1202e77925d00f93bd41fdc
4,896
cpp
C++
src/matchers/ibow_matcher.cpp
ICRA-2019/srrg_bench
f71a4b9500eb25cda9204e6e37dffaa6baa03087
[ "BSD-3-Clause" ]
null
null
null
src/matchers/ibow_matcher.cpp
ICRA-2019/srrg_bench
f71a4b9500eb25cda9204e6e37dffaa6baa03087
[ "BSD-3-Clause" ]
null
null
null
src/matchers/ibow_matcher.cpp
ICRA-2019/srrg_bench
f71a4b9500eb25cda9204e6e37dffaa6baa03087
[ "BSD-3-Clause" ]
null
null
null
#include "ibow_matcher.h" namespace srrg_bench { IBoWMatcher::IBoWMatcher(const uint32_t& minimum_distance_between_closure_images_, const uint32_t& maximum_descriptor_distance_, const unsigned k, const unsigned s, cons...
42.573913
152
0.666054
ICRA-2019
c17dc81235584eb1a1d5010e3bd13201bcd6a19c
9,253
cpp
C++
Engine/src/AI/Enemy.cpp
venCjin/GameEngineProject
d8bdc8fc7236d74f6ecb5e8a8a5211699cc84d22
[ "Apache-2.0" ]
1
2020-03-04T20:46:40.000Z
2020-03-04T20:46:40.000Z
Engine/src/AI/Enemy.cpp
venCjin/GameEngineProject
d8bdc8fc7236d74f6ecb5e8a8a5211699cc84d22
[ "Apache-2.0" ]
null
null
null
Engine/src/AI/Enemy.cpp
venCjin/GameEngineProject
d8bdc8fc7236d74f6ecb5e8a8a5211699cc84d22
[ "Apache-2.0" ]
null
null
null
#include "pch.h" #include "Enemy.h" #include <Core/Application.h> #include <Core/Scene.h> #include <Gameplay\Components\SimplePlayer.h> #include <Gameplay/Components/Projectile.h> #include <Physics/Components/DynamicBody.h> #include <glm/gtx/vector_angle.hpp> #include <Physics/Systems/CollisionSystem.h> #include <A...
26.976676
177
0.711553
venCjin
c180970cd3c4a9039f01b146b01e2ceefa32934e
223
cpp
C++
Chapter08/KMelody/FastMutex.cpp
suxiaoyinger/windowskernelprogrammingbook2e
faf6cd20c854c049ac07d655c4bf9a6344fd4bf2
[ "MIT" ]
null
null
null
Chapter08/KMelody/FastMutex.cpp
suxiaoyinger/windowskernelprogrammingbook2e
faf6cd20c854c049ac07d655c4bf9a6344fd4bf2
[ "MIT" ]
null
null
null
Chapter08/KMelody/FastMutex.cpp
suxiaoyinger/windowskernelprogrammingbook2e
faf6cd20c854c049ac07d655c4bf9a6344fd4bf2
[ "MIT" ]
null
null
null
#include "pch.h" #include "FastMutex.h" FastMutex::FastMutex() { ExInitializeFastMutex(&m_mutex); } void FastMutex::Lock() { ExAcquireFastMutex(&m_mutex); } void FastMutex::Unlock() { ExReleaseFastMutex(&m_mutex); }
13.9375
33
0.717489
suxiaoyinger
c1869464653cc0bc1ae4e97eb7e7dc107c56a107
16,131
cpp
C++
src/lighting/06_multiple_lights.cpp
clsrfish/learnogl
3e1cc42a595dd12779268ba587ef68fa4991e1f5
[ "Apache-2.0" ]
null
null
null
src/lighting/06_multiple_lights.cpp
clsrfish/learnogl
3e1cc42a595dd12779268ba587ef68fa4991e1f5
[ "Apache-2.0" ]
null
null
null
src/lighting/06_multiple_lights.cpp
clsrfish/learnogl
3e1cc42a595dd12779268ba587ef68fa4991e1f5
[ "Apache-2.0" ]
null
null
null
// // 06_multiple_lights.cpp // // Created by Clsrfish on 08/10/2020 // #include <sstream> #include <glad/glad.h> #include <GLFW/glfw3.h> #include <glm/glm.hpp> #include <glm/gtc/matrix_transform.hpp> #include <glm/gtc/type_ptr.hpp> #include <stb_image.h> #include <algorithm> #include "../gl/shader.h" #include "../gl...
45.058659
145
0.509268
clsrfish
c186faa2d14ab6b6c83eb04d42d78c3181994a43
12,343
cpp
C++
tests/socks5/username_password_auth/main.cpp
Stiffstream/arataga
b6e1720dd2df055949847425f12bb1af56edbe83
[ "MIT", "Newsletr", "BSL-1.0", "BSD-3-Clause" ]
14
2021-01-08T15:43:37.000Z
2021-11-06T19:30:15.000Z
tests/socks5/username_password_auth/main.cpp
Stiffstream/arataga
b6e1720dd2df055949847425f12bb1af56edbe83
[ "MIT", "Newsletr", "BSL-1.0", "BSD-3-Clause" ]
5
2021-03-07T06:51:33.000Z
2021-07-01T09:54:30.000Z
tests/socks5/username_password_auth/main.cpp
Stiffstream/arataga
b6e1720dd2df055949847425f12bb1af56edbe83
[ "MIT", "Newsletr", "BSL-1.0", "BSD-3-Clause" ]
null
null
null
#define DOCTEST_CONFIG_IMPLEMENT_WITH_MAIN #include <doctest/doctest.h> #include <tests/connection_handler_simulator/pub.hpp> #include <asio.hpp> using namespace std::string_view_literals; using namespace std::chrono_literals; namespace chs = connection_handler_simulator; TEST_CASE("no auth PDU") { asio::ip::tcp...
25.138493
80
0.64328
Stiffstream
c18ab3d95bc98a4e46e6310c1004e8718a8cefa9
1,495
hpp
C++
include/poly/detail/irq_event_base.hpp
Dalelven-Produktutveckling-AB/poly
c6b98e63f967c8b4480a90bec46eb8b1556c09dd
[ "Apache-2.0", "MIT" ]
null
null
null
include/poly/detail/irq_event_base.hpp
Dalelven-Produktutveckling-AB/poly
c6b98e63f967c8b4480a90bec46eb8b1556c09dd
[ "Apache-2.0", "MIT" ]
1
2022-03-23T13:57:33.000Z
2022-03-23T13:57:33.000Z
include/poly/detail/irq_event_base.hpp
Dalelven-Produktutveckling-AB/poly
c6b98e63f967c8b4480a90bec46eb8b1556c09dd
[ "Apache-2.0", "MIT" ]
null
null
null
/** * Copyright © 2021 Dalelven Produktutveckling AB * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the “Software”), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, mer...
36.463415
83
0.75786
Dalelven-Produktutveckling-AB
c18b8f22cbdce7c7453eacd922e38f63ca464529
1,036
ipp
C++
ThirdParty/oglplus-develop/implement/oglplus/enums/context_profile_bit_names.ipp
vif/3D-STG
721402e76a9b9b99b88ba3eb06beb6abb17a9254
[ "MIT" ]
24
2015-01-31T15:30:49.000Z
2022-01-29T08:36:42.000Z
ThirdParty/oglplus-develop/implement/oglplus/enums/context_profile_bit_names.ipp
vif/3D-STG
721402e76a9b9b99b88ba3eb06beb6abb17a9254
[ "MIT" ]
4
2015-08-21T02:29:15.000Z
2020-05-02T13:50:36.000Z
ThirdParty/oglplus-develop/implement/oglplus/enums/context_profile_bit_names.ipp
vif/3D-STG
721402e76a9b9b99b88ba3eb06beb6abb17a9254
[ "MIT" ]
9
2015-06-08T22:04:15.000Z
2021-08-16T03:52:11.000Z
/* * .file oglplus/enums/context_profile_bit_names.ipp * * Automatically generated header file. DO NOT modify manually, * edit 'source/enums/oglplus/context_profile_bit.txt' instead. * * Copyright 2010-2014 Matus Chochlik. Distributed under the Boost * Software License, Version 1.0. (See accompanying file ...
26.564103
95
0.794402
vif
c1954314fd8b09198662ab60b2f157e4f2de5432
61,882
cpp
C++
RocketPlugin/RocketPlugin.cpp
Adminotech/meshmoon-plugins
32043ef783bdf137860d7d01eb22de564628e572
[ "Apache-2.0" ]
4
2018-05-09T01:55:14.000Z
2021-12-19T17:46:29.000Z
RocketPlugin/RocketPlugin.cpp
Adminotech/meshmoon-plugins
32043ef783bdf137860d7d01eb22de564628e572
[ "Apache-2.0" ]
null
null
null
RocketPlugin/RocketPlugin.cpp
Adminotech/meshmoon-plugins
32043ef783bdf137860d7d01eb22de564628e572
[ "Apache-2.0" ]
2
2016-03-15T06:12:05.000Z
2021-06-06T00:18:38.000Z
/** @author Adminotech Ltd. Copyright Adminotech Ltd. All rights reserved. @file RocketPlugin.cpp @brief The Meshmoon Rocket client plugin. */ #include "StableHeaders.h" #include "DebugOperatorNew.h" #include "RocketPlugin.h" #include "MeshmoonBackend.h" #include "MeshmoonAssetLibrary.h" #inc...
36.040769
272
0.645228
Adminotech
c195938f41580fc7d16187a19180cce2f9c45193
680
hpp
C++
src/conjugateGradient.hpp
tomrobin-teschner/unitTestingForScientificApplications
6c9be0693fbfcdc8bf8240676f05cbe179af88ff
[ "MIT" ]
null
null
null
src/conjugateGradient.hpp
tomrobin-teschner/unitTestingForScientificApplications
6c9be0693fbfcdc8bf8240676f05cbe179af88ff
[ "MIT" ]
null
null
null
src/conjugateGradient.hpp
tomrobin-teschner/unitTestingForScientificApplications
6c9be0693fbfcdc8bf8240676f05cbe179af88ff
[ "MIT" ]
null
null
null
#ifndef CONJUGATEGRADIENT_HPP #define CONJUGATEGRADIENT_HPP #include "src/matrix.hpp" #include "src/vector.hpp" namespace LinearAlgebra { class ConjugateGradient { public: ConjugateGradient() = default; void setCoefficientMatrix(const LinearAlgebra::Matrix &matrix); void setRHSVector(const LinearAlgebra::Vecto...
25.185185
111
0.794118
tomrobin-teschner
c19771718535d8bb1943917929ecc1e1e37f4871
8,449
cpp
C++
rndMessage_m.cpp
ioannis-papikas/packet-filter-cpp
11fe435d80e1cdfd8002a494affd7fb970e9f2ed
[ "MIT" ]
null
null
null
rndMessage_m.cpp
ioannis-papikas/packet-filter-cpp
11fe435d80e1cdfd8002a494affd7fb970e9f2ed
[ "MIT" ]
null
null
null
rndMessage_m.cpp
ioannis-papikas/packet-filter-cpp
11fe435d80e1cdfd8002a494affd7fb970e9f2ed
[ "MIT" ]
null
null
null
// // Generated file, do not edit! Created by opp_msgc 3.3 from rndMessage.msg. // // Disable warnings about unused variables, empty switch stmts, etc: #ifdef _MSC_VER # pragma warning(disable:4101) # pragma warning(disable:4065) #endif #include <iostream> #include <sstream> #include "rndMessage_m.h" ...
28.352349
155
0.657829
ioannis-papikas
c1a08bb2f9a41f8db19a6c2719a80851f00a9cfe
3,254
cpp
C++
source/DeltaMush.cpp
FMalmberg/DeltaMushC4d
0cd44ae45e0fe1a8533e90e745b4f937fa9a8ceb
[ "MIT" ]
11
2018-03-21T13:39:55.000Z
2019-10-30T02:33:50.000Z
source/DeltaMush.cpp
FMalmberg/DeltaMushC4d
0cd44ae45e0fe1a8533e90e745b4f937fa9a8ceb
[ "MIT" ]
null
null
null
source/DeltaMush.cpp
FMalmberg/DeltaMushC4d
0cd44ae45e0fe1a8533e90e745b4f937fa9a8ceb
[ "MIT" ]
5
2018-03-23T15:27:40.000Z
2021-08-21T21:24:12.000Z
#include "c4d.h" #include "odeltamush.h" #include <set> #include <vector> using namespace std; class DeltaMush : public ObjectData { public: virtual Bool Init(GeListNode *node); virtual Bool ModifyObject (BaseObject *mod, BaseDocument *doc, BaseObject *op, const Matrix &op_mg, const Matrix &mod_mg, Real ...
25.622047
168
0.665028
FMalmberg
c1a152cb1a30ccbb063e89d30e087adf31bcd578
4,137
cpp
C++
src/marnav/nmea/time.cpp
ShadowTeolog/marnav
094dd06a2b9e52591bc9c3879ea4b5cf34a92192
[ "BSD-4-Clause" ]
null
null
null
src/marnav/nmea/time.cpp
ShadowTeolog/marnav
094dd06a2b9e52591bc9c3879ea4b5cf34a92192
[ "BSD-4-Clause" ]
null
null
null
src/marnav/nmea/time.cpp
ShadowTeolog/marnav
094dd06a2b9e52591bc9c3879ea4b5cf34a92192
[ "BSD-4-Clause" ]
1
2020-12-21T16:38:02.000Z
2020-12-21T16:38:02.000Z
#include "time.hpp" #include <stdexcept> namespace marnav { namespace nmea { /// @cond DEV namespace { template <class T> static T parse_time(const std::string & str) { try { std::size_t pos = 0; double t = std::stod(str, &pos); if (pos != str.size()) throw std::invalid_argument{"invalid format for 'double'...
32.069767
95
0.677061
ShadowTeolog
c1a19ac7d1ec1ed8f828c61aa82d47dc4c379105
2,808
cpp
C++
src/engine/enginestats.cpp
DeadZoneLuna/csso-src
6c978ea304ee2df3796bc9c0d2916bac550050d5
[ "Unlicense" ]
4
2021-10-03T05:16:55.000Z
2021-12-28T16:49:27.000Z
src/engine/enginestats.cpp
cafeed28/what
08e51d077f0eae50afe3b592543ffa07538126f5
[ "Unlicense" ]
null
null
null
src/engine/enginestats.cpp
cafeed28/what
08e51d077f0eae50afe3b592543ffa07538126f5
[ "Unlicense" ]
3
2022-02-02T18:09:58.000Z
2022-03-06T18:54:39.000Z
//========= Copyright Valve Corporation, All rights reserved. ============// // // Purpose: // // $NoKeywords: $ //=============================================================================// #include "quakedef.h" #include "enginestats.h" #include "basetypes.h" #include "clientstats.h" #include "limits.h" #include...
21.272727
119
0.526353
DeadZoneLuna
c1a2c2d14b83ae3829439abb799ea5da5b6f2aa4
5,326
hpp
C++
include/cpputility/containers/vector_slice.hpp
DominikLinn/CppUtilityLib
7286d24c4ba40ee2a5e799360b7214c6040ba71f
[ "MIT" ]
null
null
null
include/cpputility/containers/vector_slice.hpp
DominikLinn/CppUtilityLib
7286d24c4ba40ee2a5e799360b7214c6040ba71f
[ "MIT" ]
null
null
null
include/cpputility/containers/vector_slice.hpp
DominikLinn/CppUtilityLib
7286d24c4ba40ee2a5e799360b7214c6040ba71f
[ "MIT" ]
null
null
null
/* NetSim Project - Numerical Simulation, Analysis and Optimization of District Heating Networks * * include/NetSim/Containers/VectorSlice.hpp * * created: 2019-12-13, Dominik Linn <d.linn@gmx.net> <dominik.linn@itwm.fraunhofer.de> * * (c) 2019 Dominik Linn, Fraunhofer ITWM * */ #ifndef CPPUTILITY_CONTAINERS_V...
28.329787
100
0.673301
DominikLinn
c1a329c0ae30b4afb3ebe38235d9d3bcfb530096
952
cpp
C++
source/plc/src/document/DIMENSIONAL_ANALYSIS_OP.cpp
dlin172/Plange
4b36a1225b2263bc8d38a6d1cc9b50c3d4b58e04
[ "BSD-3-Clause" ]
null
null
null
source/plc/src/document/DIMENSIONAL_ANALYSIS_OP.cpp
dlin172/Plange
4b36a1225b2263bc8d38a6d1cc9b50c3d4b58e04
[ "BSD-3-Clause" ]
null
null
null
source/plc/src/document/DIMENSIONAL_ANALYSIS_OP.cpp
dlin172/Plange
4b36a1225b2263bc8d38a6d1cc9b50c3d4b58e04
[ "BSD-3-Clause" ]
null
null
null
// This file was generated using Parlex's cpp_generator #include "DIMENSIONAL_ANALYSIS_OP.hpp" #include "plange_grammar.hpp" #include "parlex/detail/document.hpp" #include "UNIT_DIVISION.hpp" #include "UNIT_EXPONENTIATION.hpp" #include "UNIT_MULTIPLICATION.hpp" #include "DIMENSIONAL_ANALYSIS_OP.hpp" namespace plc...
34
168
0.779412
dlin172
c1a468948f53aa3717f642c1dc54376909c6e2ce
31,631
cpp
C++
src/log/replica.cpp
yubo/mesos
b177a56a4c4343e87e3eead34863a63a2e91db94
[ "Apache-2.0" ]
1
2015-05-10T04:42:15.000Z
2015-05-10T04:42:15.000Z
src/log/replica.cpp
yubo/mesos
b177a56a4c4343e87e3eead34863a63a2e91db94
[ "Apache-2.0" ]
null
null
null
src/log/replica.cpp
yubo/mesos
b177a56a4c4343e87e3eead34863a63a2e91db94
[ "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...
28.729337
84
0.659574
yubo
c1a4d066fa3fd6f445adb5492ba7871d49060f90
2,089
cpp
C++
build/Examples/11-Camera/main.cpp
jcorks/Dynacoe
2d606620e8072d8ae76aa2ecdc31512ac90362d9
[ "Apache-2.0", "MIT", "Libpng", "FTL", "BSD-3-Clause" ]
1
2015-11-06T18:10:11.000Z
2015-11-06T18:10:11.000Z
build/Examples/11-Camera/main.cpp
jcorks/Dynacoe
2d606620e8072d8ae76aa2ecdc31512ac90362d9
[ "Apache-2.0", "MIT", "Libpng", "FTL", "BSD-3-Clause" ]
8
2018-01-25T03:54:32.000Z
2018-09-17T01:55:35.000Z
build/Examples/11-Camera/main.cpp
jcorks/Dynacoe
2d606620e8072d8ae76aa2ecdc31512ac90362d9
[ "Apache-2.0", "MIT", "Libpng", "FTL", "BSD-3-Clause" ]
null
null
null
/* Copyright (c) 2018, Johnathan Corkery. (jcorkery@umich.edu) All rights reserved. This file is part of the Dynacoe project (https://github.com/jcorks/Dynacoe) Dynacoe was released under the MIT License, as detailed below. Permission is hereby granted, free of charge, to any person obtaining a copy of this softw...
29.013889
87
0.736237
jcorks
c1a617a36e8a98935089ae2b7b70a2b5a1dc71b8
2,835
cpp
C++
LinkSum/Link_Report.cpp
kravitz/transims4
ea0848bf3dc71440d54724bb3ecba3947b982215
[ "NASA-1.3" ]
2
2018-04-27T11:07:02.000Z
2020-04-24T06:53:21.000Z
LinkSum/Link_Report.cpp
idkravitz/transims4
ea0848bf3dc71440d54724bb3ecba3947b982215
[ "NASA-1.3" ]
null
null
null
LinkSum/Link_Report.cpp
idkravitz/transims4
ea0848bf3dc71440d54724bb3ecba3947b982215
[ "NASA-1.3" ]
null
null
null
//********************************************************* // Link_Report.cpp - Create a Link Volume Report //********************************************************* #include "LinkSum.hpp" #include "Utility.hpp" //--------------------------------------------------------- // Link_Report //-------------------------...
25.772727
96
0.492769
kravitz