hexsha
stringlengths
40
40
size
int64
7
1.05M
ext
stringclasses
13 values
lang
stringclasses
1 value
max_stars_repo_path
stringlengths
4
269
max_stars_repo_name
stringlengths
5
108
max_stars_repo_head_hexsha
stringlengths
40
40
max_stars_repo_licenses
listlengths
1
9
max_stars_count
int64
1
191k
max_stars_repo_stars_event_min_datetime
stringlengths
24
24
max_stars_repo_stars_event_max_datetime
stringlengths
24
24
max_issues_repo_path
stringlengths
4
269
max_issues_repo_name
stringlengths
5
116
max_issues_repo_head_hexsha
stringlengths
40
40
max_issues_repo_licenses
listlengths
1
9
max_issues_count
int64
1
67k
max_issues_repo_issues_event_min_datetime
stringlengths
24
24
max_issues_repo_issues_event_max_datetime
stringlengths
24
24
max_forks_repo_path
stringlengths
4
269
max_forks_repo_name
stringlengths
5
116
max_forks_repo_head_hexsha
stringlengths
40
40
max_forks_repo_licenses
listlengths
1
9
max_forks_count
int64
1
105k
max_forks_repo_forks_event_min_datetime
stringlengths
24
24
max_forks_repo_forks_event_max_datetime
stringlengths
24
24
content
stringlengths
7
1.05M
avg_line_length
float64
1.21
330k
max_line_length
int64
6
990k
alphanum_fraction
float64
0.01
0.99
author_id
stringlengths
2
40
70e7b889c539f5c96bd117e38e3670c378800b0f
1,771
cpp
C++
CK2ToEU4Tests/MapperTests/PrimaryTagMapper/PrimaryTagMapperTests.cpp
Osariusz/CK2ToEU4
a2786f00febb23c63f91b2ff27b788f926e18ea7
[ "MIT" ]
29
2020-04-05T21:27:46.000Z
2021-08-29T20:24:21.000Z
CK2ToEU4Tests/MapperTests/PrimaryTagMapper/PrimaryTagMapperTests.cpp
Osariusz/CK2ToEU4
a2786f00febb23c63f91b2ff27b788f926e18ea7
[ "MIT" ]
66
2020-03-31T00:29:00.000Z
2022-03-02T11:54:24.000Z
CK2ToEU4Tests/MapperTests/PrimaryTagMapper/PrimaryTagMapperTests.cpp
Osariusz/CK2ToEU4
a2786f00febb23c63f91b2ff27b788f926e18ea7
[ "MIT" ]
27
2020-03-30T15:56:24.000Z
2022-02-05T22:54:25.000Z
#include "../../CK2ToEU4/Source/Mappers/PrimaryTagMapper/PrimaryTagMapper.h" #include "gtest/gtest.h" #include <sstream> TEST(Mappers_PrimaryTagMapperTests, CultureTagsDefaultToEmpty) { std::stringstream input; const mappers::PrimaryTagMapper tagMapper(input); ASSERT_TRUE(tagMapper.getCultureTags().empty()); } T...
37.680851
95
0.730661
Osariusz
70e8a394f69e965052d99400f9b6c850f92adae1
11,805
cpp
C++
SymbolExtractorAndRenamer/lldb/source/Core/DataBufferMemoryMap.cpp
Polidea/SiriusObfuscator
b0e590d8130e97856afe578869b83a209e2b19be
[ "Apache-2.0" ]
427
2018-05-29T14:21:02.000Z
2022-03-16T03:17:54.000Z
SymbolExtractorAndRenamer/lldb/source/Core/DataBufferMemoryMap.cpp
PolideaPlayground/SiriusObfuscator
b0e590d8130e97856afe578869b83a209e2b19be
[ "Apache-2.0" ]
25
2018-07-23T08:34:15.000Z
2021-11-05T07:13:36.000Z
SymbolExtractorAndRenamer/lldb/source/Core/DataBufferMemoryMap.cpp
PolideaPlayground/SiriusObfuscator
b0e590d8130e97856afe578869b83a209e2b19be
[ "Apache-2.0" ]
52
2018-07-19T19:57:32.000Z
2022-03-11T16:05:38.000Z
//===-- DataBufferMemoryMap.cpp ---------------------------------*- C++ -*-===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
38.327922
80
0.525709
Polidea
70e8aaed399eb428d0b5e4550e3cba3bca905273
2,716
cpp
C++
pseudoSO/src/dispatcher.cpp
LSantos06/PseudoOS
a107dc184b7bed6020c96f5bd74aa464f04012de
[ "MIT" ]
null
null
null
pseudoSO/src/dispatcher.cpp
LSantos06/PseudoOS
a107dc184b7bed6020c96f5bd74aa464f04012de
[ "MIT" ]
1
2017-12-04T13:54:56.000Z
2017-12-04T13:54:56.000Z
pseudoSO/src/dispatcher.cpp
LSantos06/PseudoOS
a107dc184b7bed6020c96f5bd74aa464f04012de
[ "MIT" ]
null
null
null
#include "../include/dispatcher.h" //Funcao de ordenacao para o vetor de processos bool ordena (Processo *proc1, Processo *proc2){ return (proc1->getTempoInicializacao() < proc2->getTempoInicializacao()); } Dispatcher::Dispatcher(vector< Processo* > processosArquivo, Disco *discoArquivo){ tempo_atual = 0; //Atr...
34.820513
82
0.701031
LSantos06
70ea05cbd69458cf0478333141d31420a240b899
10,123
cc
C++
src/core/breakpoint/BreakpointManager.cc
IntroVirt/IntroVirt
917f735f3430d0855d8b59c814bea7669251901c
[ "Apache-2.0" ]
23
2021-02-17T16:58:52.000Z
2022-02-12T17:01:06.000Z
src/core/breakpoint/BreakpointManager.cc
IntroVirt/IntroVirt
917f735f3430d0855d8b59c814bea7669251901c
[ "Apache-2.0" ]
1
2021-04-01T22:41:32.000Z
2021-09-24T14:14:17.000Z
src/core/breakpoint/BreakpointManager.cc
IntroVirt/IntroVirt
917f735f3430d0855d8b59c814bea7669251901c
[ "Apache-2.0" ]
4
2021-02-17T16:53:18.000Z
2021-04-13T16:51:10.000Z
/* * Copyright 2021 Assured Information Security, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
33.190164
99
0.648721
IntroVirt
70ea1b0b7d6cb49147134c1c090158164914ec1e
1,061
cpp
C++
USACOContest/2016Feb/Silver/cbarn/cbarn.cpp
UlyssesZh/AlgorithmTraining
a3d3c95cf60f0b73a13d297ef699617a19d0b80e
[ "CC0-1.0" ]
null
null
null
USACOContest/2016Feb/Silver/cbarn/cbarn.cpp
UlyssesZh/AlgorithmTraining
a3d3c95cf60f0b73a13d297ef699617a19d0b80e
[ "CC0-1.0" ]
null
null
null
USACOContest/2016Feb/Silver/cbarn/cbarn.cpp
UlyssesZh/AlgorithmTraining
a3d3c95cf60f0b73a13d297ef699617a19d0b80e
[ "CC0-1.0" ]
null
null
null
#include <cstdio> #include <cstring> char PROG[] = "cbarn"; #include <algorithm> using namespace std; int n; long long x, c[1000]; long long squaresum(long long begin, long long end) { return (end * (end + 1) * (2 * end + 1) - (begin - 1) * begin * (2 * begin - 1)) / 6; } long long endat(int i) { return x + c[i] ...
17.683333
57
0.547597
UlyssesZh
70eb371268b94be63aa8e022a1837b2d6bfb77bf
17,204
hpp
C++
libs/boost_1_72_0/boost/type_erasure/tuple.hpp
henrywarhurst/matrix
317a2a7c35c1c7e3730986668ad2270dc19809ef
[ "BSD-3-Clause" ]
null
null
null
libs/boost_1_72_0/boost/type_erasure/tuple.hpp
henrywarhurst/matrix
317a2a7c35c1c7e3730986668ad2270dc19809ef
[ "BSD-3-Clause" ]
null
null
null
libs/boost_1_72_0/boost/type_erasure/tuple.hpp
henrywarhurst/matrix
317a2a7c35c1c7e3730986668ad2270dc19809ef
[ "BSD-3-Clause" ]
null
null
null
// Boost.TypeErasure library // // Copyright 2011-2012 Steven Watanabe // // 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) // // $Id$ #if !defined(BOOST_PP_IS_ITERATING) #ifndef BOOST_TYPE_ERASURE_TUPLE_HPP_INCLU...
35.767152
80
0.659614
henrywarhurst
70ebd377ba8aace3fe88effa5606e07d5717b507
5,419
cpp
C++
src/api/dcps/isocpp/code/org/opensplice/pub/qos/DataWriterQosImpl.cpp
agenihorganization/opensplice
314d3a4538474f2b8e22acffe3c206f4ac38b66b
[ "Apache-2.0" ]
null
null
null
src/api/dcps/isocpp/code/org/opensplice/pub/qos/DataWriterQosImpl.cpp
agenihorganization/opensplice
314d3a4538474f2b8e22acffe3c206f4ac38b66b
[ "Apache-2.0" ]
null
null
null
src/api/dcps/isocpp/code/org/opensplice/pub/qos/DataWriterQosImpl.cpp
agenihorganization/opensplice
314d3a4538474f2b8e22acffe3c206f4ac38b66b
[ "Apache-2.0" ]
null
null
null
/* * OpenSplice DDS * * This software and documentation are Copyright 2006 to TO_YEAR PrismTech * Limited, its affiliated companies and licensors. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in complianc...
27.789744
94
0.706772
agenihorganization
70f0557ff129f7473a43940ce69dcfc4b5fd7d63
25,506
hpp
C++
src/netcdf/lpm_netcdf_impl.hpp
pbosler/lpmKokkos
c8b4a8478c08957ce70a6fbd7da00481c53414b9
[ "BSD-3-Clause" ]
null
null
null
src/netcdf/lpm_netcdf_impl.hpp
pbosler/lpmKokkos
c8b4a8478c08957ce70a6fbd7da00481c53414b9
[ "BSD-3-Clause" ]
null
null
null
src/netcdf/lpm_netcdf_impl.hpp
pbosler/lpmKokkos
c8b4a8478c08957ce70a6fbd7da00481c53414b9
[ "BSD-3-Clause" ]
null
null
null
#include "netcdf/lpm_netcdf.hpp" #ifdef LPM_USE_NETCDF #include "util/lpm_string_util.hpp" #include <sstream> namespace Lpm { template <typename Geo> void NcWriter<Geo>::open() { int retval = nc_create(fname.c_str(), NC_NETCDF4 | NC_CLOBBER, &ncid); CHECK_NCERR(retval); text_att_type att = std::make_pair("LPM"...
34.008
113
0.686231
pbosler
70f3b3aa51b0555247cc9f78af7e11a51239c6a5
4,784
cpp
C++
Plugins/org.blueberry.ui.qt/src/internal/intro/berryIntroRegistry.cpp
ZP-Hust/MITK
ca11353183c5ed4bc30f938eae8bde43a0689bf6
[ "BSD-3-Clause" ]
1
2021-11-20T08:19:27.000Z
2021-11-20T08:19:27.000Z
Plugins/org.blueberry.ui.qt/src/internal/intro/berryIntroRegistry.cpp
wyyrepo/MITK
d0837f3d0d44f477b888ec498e9a2ed407e79f20
[ "BSD-3-Clause" ]
null
null
null
Plugins/org.blueberry.ui.qt/src/internal/intro/berryIntroRegistry.cpp
wyyrepo/MITK
d0837f3d0d44f477b888ec498e9a2ed407e79f20
[ "BSD-3-Clause" ]
1
2019-01-09T08:20:18.000Z
2019-01-09T08:20:18.000Z
/*=================================================================== BlueBerry Platform 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 of MERCHANTABILITY or FITNESS...
27.653179
90
0.639214
ZP-Hust
70f50b11f65556632c557a92f192e185af562105
10,958
cpp
C++
crypto/CadmiumCrypto.cpp
Acidburn0zzz/NfWebCrypto
0186e3ebde1779419053384983612d7d494e6bcc
[ "Apache-2.0" ]
null
null
null
crypto/CadmiumCrypto.cpp
Acidburn0zzz/NfWebCrypto
0186e3ebde1779419053384983612d7d494e6bcc
[ "Apache-2.0" ]
null
null
null
crypto/CadmiumCrypto.cpp
Acidburn0zzz/NfWebCrypto
0186e3ebde1779419053384983612d7d494e6bcc
[ "Apache-2.0" ]
null
null
null
/* * * Copyright 2013 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
34.137072
95
0.682059
Acidburn0zzz
70f631eeeaa44d21e18c79b374369fadbb3ccd72
398
hpp
C++
Horista.hpp
vinicassol/PolimorfismoEmpregados
b73a35536c1b6f6acd3cf64d02f71a923174e096
[ "MIT" ]
1
2020-12-29T01:35:03.000Z
2020-12-29T01:35:03.000Z
Horista.hpp
vinicassol/PolimorfismoEmpregados
b73a35536c1b6f6acd3cf64d02f71a923174e096
[ "MIT" ]
null
null
null
Horista.hpp
vinicassol/PolimorfismoEmpregados
b73a35536c1b6f6acd3cf64d02f71a923174e096
[ "MIT" ]
null
null
null
// // Horista.hpp // PolimorfismoEmpregados // // Created by Vini Cassol on 29/05/20. // Copyright © 2020 Vini Cassol. All rights reserved. // #ifndef Horista_hpp #define Horista_hpp #include "Empregado.hpp" class Horista : public Empregado { public: Horista(); double vencimento(); private: ...
14.214286
54
0.673367
vinicassol
70f7688501a0a51d243ec19077826b0657a1e230
32,725
cpp
C++
MNE/inverse/hpiFit/hpifit.cpp
13grife37/mne-cpp-swpold
9b89b3d7fe273d9f4ffd69b504e17f284eaba263
[ "BSD-3-Clause" ]
2
2017-04-20T20:21:16.000Z
2017-04-26T16:30:25.000Z
MNE/inverse/hpiFit/hpifit.cpp
13grife37/mne-cpp-swpold
9b89b3d7fe273d9f4ffd69b504e17f284eaba263
[ "BSD-3-Clause" ]
null
null
null
MNE/inverse/hpiFit/hpifit.cpp
13grife37/mne-cpp-swpold
9b89b3d7fe273d9f4ffd69b504e17f284eaba263
[ "BSD-3-Clause" ]
1
2017-04-23T15:55:31.000Z
2017-04-23T15:55:31.000Z
//============================================================================================================= /** * @file hpifit.cpp * @author Lorenz Esch <Lorenz.Esch@tu-ilmenau.de>; * Matti Hamalainen <msh@nmr.mgh.harvard.edu> * @version 1.0 * @date March, 2017 * * @section LICENSE * * Copyrig...
35.765027
173
0.507288
13grife37
70f8e531e5af9e2fa3fcc995ffb144de30c83a8d
2,792
hpp
C++
include/crosstex/BC.hpp
Yepoleb/crosstex
02f6da62895c1e14de37f140470b41f0952a4af3
[ "MIT" ]
4
2017-12-24T16:19:29.000Z
2020-02-15T13:40:43.000Z
include/crosstex/BC.hpp
Yepoleb/crosstex
02f6da62895c1e14de37f140470b41f0952a4af3
[ "MIT" ]
null
null
null
include/crosstex/BC.hpp
Yepoleb/crosstex
02f6da62895c1e14de37f140470b41f0952a4af3
[ "MIT" ]
null
null
null
#pragma once #include <stdint.h> #include <stddef.h> #include "Colors.hpp" #define UNREFERENCED_PARAMETER(name) do { (void)(name); } while (0) namespace Tex { //------------------------------------------------------------------------------------- // Constants //------------------------------------------------------...
44.31746
134
0.653653
Yepoleb
70fc1ccb1df0ebc43bda8ead109ac1b70e7eefe3
5,669
cpp
C++
src/common/commandLine.cpp
salarii/dims
b8008c49edd10a9ca50923b89e3b469c342d9cee
[ "MIT" ]
1
2015-01-22T11:22:19.000Z
2015-01-22T11:22:19.000Z
src/common/commandLine.cpp
salivan-ratcoin-dev-team/dims
b8008c49edd10a9ca50923b89e3b469c342d9cee
[ "MIT" ]
null
null
null
src/common/commandLine.cpp
salivan-ratcoin-dev-team/dims
b8008c49edd10a9ca50923b89e3b469c342d9cee
[ "MIT" ]
null
null
null
// Copyright (c) 2010 Satoshi Nakamoto // Copyright (c) 2009-2014 The Bitcoin developers // Copyright (c) 2014-2015 DiMS dev-team // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "rpcserver.h" #include "rpcclient.h" ...
23.138776
102
0.66943
salarii
cb0040820ee7e1527e4debb7d8d75d471d79d2fe
919
cpp
C++
templates/Cpp/OpenCV/camera.cpp
koturn/kotemplate
adc2d4b1896b7a0cfde047fea0fa5638d5f61a46
[ "MIT" ]
3
2015-11-08T06:38:11.000Z
2019-03-01T15:47:54.000Z
templates/Cpp/OpenCV/camera.cpp
koturn/kotemplate
adc2d4b1896b7a0cfde047fea0fa5638d5f61a46
[ "MIT" ]
null
null
null
templates/Cpp/OpenCV/camera.cpp
koturn/kotemplate
adc2d4b1896b7a0cfde047fea0fa5638d5f61a46
[ "MIT" ]
1
2015-12-03T19:41:42.000Z
2015-12-03T19:41:42.000Z
/*! * @brief Simple camera program with OpenCV * @author <+AUTHOR+> * @date <+DATE+> * @file <+FILE+> * @version 0.1 */ #include <iostream> #include <opencv/cv.h> #include <opencv/highgui.h> /*! * @brief Entry point of the program * @param [in] argc A number of command-line arguments * @param [in] ar...
22.975
81
0.639826
koturn
cb0080971d43ed9bdd2cc1c9275497a91e86063d
2,922
hpp
C++
include/mitama/mana/functional/chunkify.hpp
LoliGothick/mitama-mana
32ba02356b6e2bbfdbadd4dd6f8054b2aa1af898
[ "MIT" ]
1
2019-07-25T01:42:22.000Z
2019-07-25T01:42:22.000Z
include/mitama/mana/functional/chunkify.hpp
LoliGothick/mitama-mana
32ba02356b6e2bbfdbadd4dd6f8054b2aa1af898
[ "MIT" ]
null
null
null
include/mitama/mana/functional/chunkify.hpp
LoliGothick/mitama-mana
32ba02356b6e2bbfdbadd4dd6f8054b2aa1af898
[ "MIT" ]
null
null
null
#ifndef MITAMA_MANA_FUNCTIONAL_CHUNKIFY_HPP #define MITAMA_MANA_FUNCTIONAL_CHUNKIFY_HPP #include <mitama/mana/algorithm/chunk.hpp> #include <mitama/mana/algorithm/klisli.hpp> #include <mitama/mana/utility/apply.hpp> #include <mitama/mana/utility/peel.hpp> #include <mitama/mana/type_traits/is_tuple_like.hpp> #include <...
38.96
150
0.644079
LoliGothick
cb022d18789e6e9500f206350d0b5990cd80f4d3
385
cpp
C++
OOPs/TimeUse.cpp
Mitushi-23/DSA-60Days
e8bd2766331fb7d99c11ab96fcc803d9c20ccd1e
[ "MIT" ]
null
null
null
OOPs/TimeUse.cpp
Mitushi-23/DSA-60Days
e8bd2766331fb7d99c11ab96fcc803d9c20ccd1e
[ "MIT" ]
null
null
null
OOPs/TimeUse.cpp
Mitushi-23/DSA-60Days
e8bd2766331fb7d99c11ab96fcc803d9c20ccd1e
[ "MIT" ]
1
2021-10-05T10:09:32.000Z
2021-10-05T10:09:32.000Z
#include <bits/stdc++.h> #include "Time.cpp" using namespace std; int main() { Time t1; t1.setHour(3); t1.setMinutes(34); t1.setSeconds(54); Time t2; t2.setHour(2); t2.setMinutes(24); t2.setSeconds(35); Time t3; t3 = t1.add(t2); t1.print(); t2.print(); t3.pri...
14.259259
26
0.532468
Mitushi-23
cb03d9706f54bc8b307bc2c7e23b65b8bfab8851
8,876
cpp
C++
wpimath/src/test/native/cpp/kinematics/MecanumDriveKinematicsTest.cpp
bvisness/allwpilib
549af990072a1ed0c1649c34dc6e1a5cc5f01bd1
[ "BSD-3-Clause" ]
1
2021-08-06T14:23:33.000Z
2021-08-06T14:23:33.000Z
wpimath/src/test/native/cpp/kinematics/MecanumDriveKinematicsTest.cpp
bvisness/allwpilib
549af990072a1ed0c1649c34dc6e1a5cc5f01bd1
[ "BSD-3-Clause" ]
2
2020-07-11T23:47:55.000Z
2020-07-16T16:09:06.000Z
wpimath/src/test/native/cpp/kinematics/MecanumDriveKinematicsTest.cpp
bvisness/allwpilib
549af990072a1ed0c1649c34dc6e1a5cc5f01bd1
[ "BSD-3-Clause" ]
1
2020-07-18T20:47:30.000Z
2020-07-18T20:47:30.000Z
/*----------------------------------------------------------------------------*/ /* Copyright (c) 2019-2020 FIRST. All Rights Reserved. */ /* Open Source Software - may be modified and shared by FRC teams. The code */ /* must be accompanied by the FIRST BSD license file in the root directory of...
38.424242
80
0.689725
bvisness
cb04e404fbfabf11c460bbdd482e56981214a2a9
70,728
cc
C++
third-party/webscalesqlclient/mysql-5.6/storage/innobase/trx/trx0trx.cc
hkirsman/hhvm_centos7_builds
2a1fd6de0d2d289c1575f43f10018f3bec23bb13
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
third-party/webscalesqlclient/mysql-5.6/storage/innobase/trx/trx0trx.cc
hkirsman/hhvm_centos7_builds
2a1fd6de0d2d289c1575f43f10018f3bec23bb13
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
third-party/webscalesqlclient/mysql-5.6/storage/innobase/trx/trx0trx.cc
hkirsman/hhvm_centos7_builds
2a1fd6de0d2d289c1575f43f10018f3bec23bb13
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
/***************************************************************************** Copyright (c) 1996, 2014, Oracle and/or its affiliates. All Rights Reserved. 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 Founda...
26.509745
78
0.655794
hkirsman
cb05949ad8d8d3ac54832173e278edd5826c9bcd
2,868
cpp
C++
src/Program/ViewDisplay2D_3D/Program.ViewDisplay2D_3D.cpp
Robot-Fromage/Lavabo
e6ddc3123f057258a2e9e74c08ecd8d2333c9dd6
[ "MIT" ]
null
null
null
src/Program/ViewDisplay2D_3D/Program.ViewDisplay2D_3D.cpp
Robot-Fromage/Lavabo
e6ddc3123f057258a2e9e74c08ecd8d2333c9dd6
[ "MIT" ]
null
null
null
src/Program/ViewDisplay2D_3D/Program.ViewDisplay2D_3D.cpp
Robot-Fromage/Lavabo
e6ddc3123f057258a2e9e74c08ecd8d2333c9dd6
[ "MIT" ]
null
null
null
/************************************************************************* * * Lavabo *__________________ * * Program.ViewDisplay2D_3D.cpp * * Clement Berthaud - Layl * Please refer to LICENSE.TXT */ #include "Program.ViewDisplay2D_3D.h" #include <QGraphicsItem> #include <QGraphicsProxyWidget> #include "ViewDisp...
23.129032
112
0.511855
Robot-Fromage
cb09316a90c30dd0cdfd9be6ec24c1760760f3ad
2,592
cpp
C++
src/buffer.cpp
plenluno/libnode
9dea4f2390422e70544186df3f5c032cb4a7db08
[ "BSD-2-Clause", "MIT" ]
255
2015-01-06T15:11:26.000Z
2022-03-30T20:52:58.000Z
src/buffer.cpp
plenluno/libnode
9dea4f2390422e70544186df3f5c032cb4a7db08
[ "BSD-2-Clause", "MIT" ]
2
2018-12-18T22:50:25.000Z
2019-01-09T16:57:11.000Z
src/buffer.cpp
plenluno/libnode
9dea4f2390422e70544186df3f5c032cb4a7db08
[ "BSD-2-Clause", "MIT" ]
36
2015-03-28T03:23:57.000Z
2022-01-16T12:51:30.000Z
// Copyright (c) 2012-2014 Plenluno All rights reserved. #include <libnode/buffer.h> #include <libnode/detail/buffer.h> namespace libj { namespace node { Buffer::Ptr Buffer::create(Size length) { return Ptr(new detail::Buffer<Buffer>(length)); } Buffer::Ptr Buffer::create(const void* data, Size length) { if...
30.857143
74
0.615355
plenluno
cb0ac0e955faa7177b861c492357bb98f501d442
3,698
cc
C++
tests/unittests/test_util.cc
phuy/cef3
33449af3cfa7b43e8b0f9a7190a20def32cb8f7b
[ "BSD-3-Clause" ]
2
2016-01-22T03:10:02.000Z
2021-04-21T06:32:11.000Z
tests/unittests/test_util.cc
phuy/cef3
33449af3cfa7b43e8b0f9a7190a20def32cb8f7b
[ "BSD-3-Clause" ]
null
null
null
tests/unittests/test_util.cc
phuy/cef3
33449af3cfa7b43e8b0f9a7190a20def32cb8f7b
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2012 The Chromium Embedded Framework 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 "tests/unittests/test_util.h" #include "testing/gtest/include/gtest/gtest.h" void TestBinaryEqual(CefRefPtr<CefBinaryVa...
29.11811
80
0.637372
phuy
cb0aeaacb789de549e5f8347b303c573252b58f8
1,658
cpp
C++
Khadas/sample/Face/src/main.cpp
iotbo/TengineKit
b82c3758360ef37cb219d487d3858a4c1b4effe7
[ "Apache-2.0" ]
null
null
null
Khadas/sample/Face/src/main.cpp
iotbo/TengineKit
b82c3758360ef37cb219d487d3858a4c1b4effe7
[ "Apache-2.0" ]
null
null
null
Khadas/sample/Face/src/main.cpp
iotbo/TengineKit
b82c3758360ef37cb219d487d3858a4c1b4effe7
[ "Apache-2.0" ]
null
null
null
#include "manager.hpp" #include <chrono> #include <iostream> #include <memory> #include <opencv2/opencv.hpp> #include <vector> int main(int argc, char **argv) { cv::Mat frame = cv::imread(argv[1]); manager *tm = new manager(); int image_w = frame.cols; int image_h = frame.rows; cv::Mat origin; frame.copyTo...
32.509804
79
0.58082
iotbo
cb0b7dde789b57b4cb63bad8b630a434c245d1d3
1,678
hh
C++
policy-decision-point/ast_preprocessor_visitor.hh
SSICLOPS/cppl
265514bc461352b7b5bc58fd7482328601029e4a
[ "Apache-2.0" ]
1
2018-06-02T11:50:06.000Z
2018-06-02T11:50:06.000Z
policy-decision-point/ast_preprocessor_visitor.hh
SSICLOPS/cppl
265514bc461352b7b5bc58fd7482328601029e4a
[ "Apache-2.0" ]
1
2018-01-17T04:16:29.000Z
2018-01-30T09:01:44.000Z
policy-decision-point/ast_preprocessor_visitor.hh
SSICLOPS/cppl
265514bc461352b7b5bc58fd7482328601029e4a
[ "Apache-2.0" ]
1
2018-11-18T20:31:54.000Z
2018-11-18T20:31:54.000Z
// Copyright 2015-2018 RWTH Aachen University // // 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...
37.288889
115
0.721692
SSICLOPS
cb0c4ae2df7edf3b76f081f073c4eef3bf23221e
1,349
hpp
C++
core/cs_basic_type.hpp
WukongGPU/WukongGPU
7810ecc1328b21230d448c6e64cc6fbd21f3b089
[ "Apache-2.0" ]
6
2017-11-13T02:08:50.000Z
2021-02-21T07:34:31.000Z
core/cs_basic_type.hpp
WukongGPU/WukongGPU
7810ecc1328b21230d448c6e64cc6fbd21f3b089
[ "Apache-2.0" ]
null
null
null
core/cs_basic_type.hpp
WukongGPU/WukongGPU
7810ecc1328b21230d448c6e64cc6fbd21f3b089
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2016 Shanghai Jiao Tong University. * 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....
22.114754
68
0.717569
WukongGPU
cb0cf435add0e49ac330ce3f4cba628c12e9f82f
11,131
cpp
C++
storage/row.cpp
Alchem-Lab/deneva
5201ef12fd8235fea7833709b8bffe45f53877eb
[ "Apache-2.0" ]
88
2017-01-19T03:15:24.000Z
2022-03-30T16:22:19.000Z
storage/row.cpp
Alchem-Lab/deneva
5201ef12fd8235fea7833709b8bffe45f53877eb
[ "Apache-2.0" ]
null
null
null
storage/row.cpp
Alchem-Lab/deneva
5201ef12fd8235fea7833709b8bffe45f53877eb
[ "Apache-2.0" ]
22
2017-01-20T10:22:31.000Z
2022-02-10T18:55:36.000Z
/* Copyright 2016 Massachusetts Institute of Technology 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 applicab...
26.376777
111
0.660677
Alchem-Lab
cb0d492f8289909d70483f319fd2aca06f0184cb
233
hpp
C++
shared/Networking/MpNetworkingEvents.hpp
EnderdracheLP/MultiplayerCore.Quest
fd680fe8eb4dffdd3459059b9058002c3ed24749
[ "MIT" ]
null
null
null
shared/Networking/MpNetworkingEvents.hpp
EnderdracheLP/MultiplayerCore.Quest
fd680fe8eb4dffdd3459059b9058002c3ed24749
[ "MIT" ]
null
null
null
shared/Networking/MpNetworkingEvents.hpp
EnderdracheLP/MultiplayerCore.Quest
fd680fe8eb4dffdd3459059b9058002c3ed24749
[ "MIT" ]
1
2022-03-22T11:36:32.000Z
2022-03-22T11:36:32.000Z
#pragma once #include "../Utils/event.hpp" #include "MpPacketSerializer.hpp" namespace MultiplayerCore::Networking { struct MpNetworkingEvents { static event<Networking::MpPacketSerializer*> RegisterPackets; }; }
19.416667
70
0.729614
EnderdracheLP
cb0d6b53ddd6bc26007aaa873858d9771d92043e
2,069
cpp
C++
dbms/src/Common/isLocalAddress.cpp
solotzg/tiflash
66f45c76692e941bc845c01349ea89de0f2cc210
[ "Apache-2.0" ]
85
2022-03-25T09:03:16.000Z
2022-03-25T09:45:03.000Z
dbms/src/Common/isLocalAddress.cpp
solotzg/tiflash
66f45c76692e941bc845c01349ea89de0f2cc210
[ "Apache-2.0" ]
7
2022-03-25T08:59:10.000Z
2022-03-25T09:40:13.000Z
dbms/src/Common/isLocalAddress.cpp
solotzg/tiflash
66f45c76692e941bc845c01349ea89de0f2cc210
[ "Apache-2.0" ]
11
2022-03-25T09:15:36.000Z
2022-03-25T09:45:07.000Z
// Copyright 2022 PingCAP, Ltd. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to i...
36.946429
134
0.676655
solotzg
cb0f84695272e739b9209148257672a5b7928f1b
2,115
cpp
C++
src/tensorrt/tests/tests_queue.cpp
LaudateCorpus1/dlcookbook-dlbs
998a44940eb80f534ed682f8ef010e35df6b89a2
[ "Apache-2.0" ]
123
2017-11-28T20:21:24.000Z
2022-03-22T11:21:04.000Z
src/tensorrt/tests/tests_queue.cpp
LaudateCorpus1/dlcookbook-dlbs
998a44940eb80f534ed682f8ef010e35df6b89a2
[ "Apache-2.0" ]
17
2018-01-05T00:05:13.000Z
2020-09-18T05:12:45.000Z
src/tensorrt/tests/tests_queue.cpp
LaudateCorpus1/dlcookbook-dlbs
998a44940eb80f534ed682f8ef010e35df6b89a2
[ "Apache-2.0" ]
48
2018-01-04T20:52:51.000Z
2022-03-06T00:47:17.000Z
#include "core/queues.hpp" #include <chrono> #include <thread> #include <iostream> void client(abstract_queue<int>* queue, long& counter, bool is_provider, int sleep_milliseconds=100); void test_queue(abstract_queue<int>*q, const int num_providers, const size_t num_consumers); int main(int /*argc*/, char** /*argv*/...
35.25
111
0.608511
LaudateCorpus1
cb0fa89cbbde76c03257ca2722f09e63f855779a
2,309
cpp
C++
test/cnd_test/cnd_test.cpp
BoostGSoC18/Advanced-Intrusive
30c465125c460e4bc2a9583ce00f0f706ed23e5a
[ "BSL-1.0" ]
3
2018-08-30T18:14:40.000Z
2019-02-22T17:12:44.000Z
test/cnd_test/cnd_test.cpp
BoostGSoC18/Advanced-Intrusive
30c465125c460e4bc2a9583ce00f0f706ed23e5a
[ "BSL-1.0" ]
4
2018-05-31T10:01:25.000Z
2018-07-26T15:14:26.000Z
test/cnd_test/cnd_test.cpp
BoostGSoC18/Advanced-Intrusive
30c465125c460e4bc2a9583ce00f0f706ed23e5a
[ "BSL-1.0" ]
null
null
null
#include<bits/stdc++.h> using namespace std; #include <iostream> // for std::cout #include <utility> // for std::pair #include <algorithm> // for std::for_each #include <boost/graph/graph_traits.hpp> #include <boost/graph/adjacency_list.hpp> #include <boost/graph/adjac...
28.158537
86
0.614985
BoostGSoC18
cb10bff7cd7288620ab0b1e9f1f7d1e19cfde9ad
381
cpp
C++
C++/C++ I/Lab1/a1p2.cpp
Devang-25/CS-Jacobs
d56a70c13ce3863bcf3140990fab5b634b30a2af
[ "MIT" ]
null
null
null
C++/C++ I/Lab1/a1p2.cpp
Devang-25/CS-Jacobs
d56a70c13ce3863bcf3140990fab5b634b30a2af
[ "MIT" ]
null
null
null
C++/C++ I/Lab1/a1p2.cpp
Devang-25/CS-Jacobs
d56a70c13ce3863bcf3140990fab5b634b30a2af
[ "MIT" ]
null
null
null
/* CH08-320142 Problem 1.2.cpp Digdarshan Kunwar d.kunwar@jacobs-university.de */ #include <iostream> #include <string> using namespace std; int main (int argc, char** argv){ int nr; float val; string s; cin >> nr; cin >> val; cin.get(); getline(cin,s); for (int i=0;i<nr;i++){ ...
13.607143
35
0.548556
Devang-25
cb12fa9353b628206ec24432662579cd5bec6fd5
7,232
cpp
C++
src/core/cpp/scene/SceneUtility.cpp
NeroGames/Nero-Game-Engine
8543b8bb142738aa28bc20e929b342d3e6df066e
[ "MIT" ]
26
2020-09-02T18:14:36.000Z
2022-02-08T18:28:36.000Z
src/core/cpp/scene/SceneUtility.cpp
sk-landry/Nero-Game-Engine
8543b8bb142738aa28bc20e929b342d3e6df066e
[ "MIT" ]
14
2020-08-30T01:37:04.000Z
2021-07-19T20:47:29.000Z
src/core/cpp/scene/SceneUtility.cpp
sk-landry/Nero-Game-Engine
8543b8bb142738aa28bc20e929b342d3e6df066e
[ "MIT" ]
6
2020-09-02T18:14:57.000Z
2021-12-31T00:32:09.000Z
//////////////////////////////////////////////////////////// // Nero Game Engine // Copyright (c) 2016-2020 Sanou A. K. Landry //////////////////////////////////////////////////////////// ///////////////////////////HEADERS////////////////////////// //NERO #include <Nero/core/cpp/scene/SceneUtility.h> //////////////////...
35.106796
98
0.53927
NeroGames
cb157db0e143daed8d54a448b303518d838da3a2
16,835
cpp
C++
libogre/src/input/SDLInputDevice.cpp
sirikata/sirikata
3a0d54a8c4778ad6e25ef031d461b2bc3e264860
[ "BSD-3-Clause" ]
31
2015-01-28T17:01:10.000Z
2021-11-04T08:30:37.000Z
libogre/src/input/SDLInputDevice.cpp
pathorn/sirikata
5d366a822ef2fb57cd9f64cc4f6085c0a635fdfa
[ "BSD-3-Clause" ]
null
null
null
libogre/src/input/SDLInputDevice.cpp
pathorn/sirikata
5d366a822ef2fb57cd9f64cc4f6085c0a635fdfa
[ "BSD-3-Clause" ]
9
2015-08-02T18:39:49.000Z
2019-10-11T10:32:30.000Z
/* Sirikata Input Plugin -- plugins/input * SDLInputDevice.cpp * * Copyright (c) 2009, Patrick Reiter Horn * 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...
35.442105
112
0.672943
sirikata
cb172d2b4c13214429f8cc96e65b3f5426edcad6
1,114
cc
C++
matlab_ext/img_video/w1.cc
zaqwes8811/coordinator-tasks
7f63fdf613eff5d441a3c2c7b52d2a3d02d9736a
[ "MIT" ]
null
null
null
matlab_ext/img_video/w1.cc
zaqwes8811/coordinator-tasks
7f63fdf613eff5d441a3c2c7b52d2a3d02d9736a
[ "MIT" ]
15
2015-03-07T12:46:41.000Z
2015-04-11T09:08:36.000Z
matlab_ext/img_video/w1.cc
zaqwes8811/micro-apps
7f63fdf613eff5d441a3c2c7b52d2a3d02d9736a
[ "MIT" ]
null
null
null
#include <opencv/highgui.h> #include <opencv2/opencv.hpp> #include <iostream> #include <string> #include <sstream> using namespace cv; using namespace std; int main() { auto cap = VideoCapture( "../Documents/drop.avi" ); auto frame_counter = 0; // не всегда можно получить cout << "fps:" << cap.get( CV_CAP_PRO...
21.018868
76
0.64632
zaqwes8811
cb174c43dbb3556a123d9d3311e26c54683f224d
538
cpp
C++
Problems/PTA/B1008.cpp
five-5/code
9c20757b1d4a087760c51da7d3dcdcc2b17aee07
[ "Apache-2.0" ]
null
null
null
Problems/PTA/B1008.cpp
five-5/code
9c20757b1d4a087760c51da7d3dcdcc2b17aee07
[ "Apache-2.0" ]
null
null
null
Problems/PTA/B1008.cpp
five-5/code
9c20757b1d4a087760c51da7d3dcdcc2b17aee07
[ "Apache-2.0" ]
null
null
null
#include <iostream> #define maxn 101 int main() { int n, m; int a[maxn]; std::cin >> n >> m; for (int i = 0; i < n; ++i) { std::cin >> a[i]; } m = m % n; if (m == 0) { std::cout << a[0]; for (int i = 1; i < n; ++i) { std::cout << " " << a[i]; }...
19.925926
47
0.343866
five-5
cb17624b674cd3b73a7170b9b5c6b93c77314bf7
432
cpp
C++
ImportantExample/QFindEditDemo/mainwindow.cpp
xiaohaijin/Qt
54d961c6a8123d8e4daf405b7996aba4be9ab7ed
[ "MIT" ]
3
2018-12-24T19:35:52.000Z
2022-02-04T14:45:59.000Z
ImportantExample/QFindEditDemo/mainwindow.cpp
xiaohaijin/Qt
54d961c6a8123d8e4daf405b7996aba4be9ab7ed
[ "MIT" ]
null
null
null
ImportantExample/QFindEditDemo/mainwindow.cpp
xiaohaijin/Qt
54d961c6a8123d8e4daf405b7996aba4be9ab7ed
[ "MIT" ]
1
2019-05-09T02:42:40.000Z
2019-05-09T02:42:40.000Z
#include "mainwindow.h" #include "qfindedit.h" #include "ui_mainwindow.h" #include <QHBoxLayout> MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), ui(new Ui::MainWindow) { ui->setupUi(this); QFindEdit* edit = new QFindEdit(this); QHBoxLayout *pLayout = new QHBoxLayout(this); pLa...
18
49
0.685185
xiaohaijin
0e13c8f5f5d05df5adb873197839765dc4714dad
513
cpp
C++
unittests/NAPI/test_number.cpp
ScriptBox99/microsoft-hermes-windows
c7eb49152bcb5fa6812c3413a80ffc5bb937bb0c
[ "MIT" ]
null
null
null
unittests/NAPI/test_number.cpp
ScriptBox99/microsoft-hermes-windows
c7eb49152bcb5fa6812c3413a80ffc5bb937bb0c
[ "MIT" ]
null
null
null
unittests/NAPI/test_number.cpp
ScriptBox99/microsoft-hermes-windows
c7eb49152bcb5fa6812c3413a80ffc5bb937bb0c
[ "MIT" ]
null
null
null
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. #include "napitest.h" #define Init test_number_init #include "js-native-api/test_number/test_number.c" using namespace napitest; TEST_P(NapiTest, test_number) { ExecuteNapi([](NapiTestContext *testContext, napi_env env) { testContext->...
27
77
0.717349
ScriptBox99
0e157a9783dc97f2a93951437eef491917042999
540
cpp
C++
Array/Sorting/Insertion Sort/Solution_By_Shourya.cpp
surajshah123/Fork_CPP
c85ec3464382db298f2dbac443f3379dd1c1f4a6
[ "MIT" ]
8
2021-02-14T13:13:27.000Z
2022-01-08T23:58:32.000Z
Array/Sorting/Insertion Sort/Solution_By_Shourya.cpp
surajshah123/Fork_CPP
c85ec3464382db298f2dbac443f3379dd1c1f4a6
[ "MIT" ]
17
2021-02-28T17:03:50.000Z
2021-10-19T13:02:03.000Z
Array/Sorting/Insertion Sort/Solution_By_Shourya.cpp
surajshah123/Fork_CPP
c85ec3464382db298f2dbac443f3379dd1c1f4a6
[ "MIT" ]
15
2021-03-01T03:54:29.000Z
2021-10-19T18:29:00.000Z
#include <iostream> using namespace std; void insert_sort(int a[], int n){ int temp, k; for (int i = 1; i < n; i++){ k = i; temp = a[k]; for (int j = i - 1; j >= 0; j--){ if (a[j] > temp){ a[k] = a[j]; k--; } } a[k] ...
18.62069
41
0.331481
surajshah123
0e15d56105e78a9c42e1d2214c2c580d4caa32ed
53
hpp
C++
src/boost_spirit_home_karma_action_action.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
10
2018-03-17T00:58:42.000Z
2021-07-06T02:48:49.000Z
src/boost_spirit_home_karma_action_action.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
2
2021-03-26T15:17:35.000Z
2021-05-20T23:55:08.000Z
src/boost_spirit_home_karma_action_action.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
4
2019-05-28T21:06:37.000Z
2021-07-06T03:06:52.000Z
#include <boost/spirit/home/karma/action/action.hpp>
26.5
52
0.792453
miathedev
0e167340937c0ec900368346616cf65d0432ba4d
315
cpp
C++
src/body.cpp
awinabi/capybara-webkit-0.13.0
84e70bad13e9c137bdf77a2af61bbb7ab7f30a77
[ "MIT" ]
null
null
null
src/body.cpp
awinabi/capybara-webkit-0.13.0
84e70bad13e9c137bdf77a2af61bbb7ab7f30a77
[ "MIT" ]
null
null
null
src/body.cpp
awinabi/capybara-webkit-0.13.0
84e70bad13e9c137bdf77a2af61bbb7ab7f30a77
[ "MIT" ]
null
null
null
#include "Body.h" #include "WebPage.h" #include "WebPageManager.h" Body::Body(WebPageManager *manager, QStringList &arguments, QObject *parent) : SocketCommand(manager, arguments, parent) { } void Body::start() { QString result = page()->currentFrame()->toHtml(); emit finished(new Response(true, result)); }
26.25
122
0.720635
awinabi
0e1a4cee3184b6515c1a98316ffe3ed78f83a706
653
cpp
C++
Voltron/Source/UnitTests/DeskCalculator/Token_tests.cpp
ernestyalumni/HrdwCCppCUDA
17ed937dea06431a4d5ca103f993ea69a6918734
[ "MIT" ]
1
2018-02-09T19:44:51.000Z
2018-02-09T19:44:51.000Z
Voltron/Source/UnitTests/DeskCalculator/Token_tests.cpp
ernestyalumni/HrdwCCppCUDA
17ed937dea06431a4d5ca103f993ea69a6918734
[ "MIT" ]
null
null
null
Voltron/Source/UnitTests/DeskCalculator/Token_tests.cpp
ernestyalumni/HrdwCCppCUDA
17ed937dea06431a4d5ca103f993ea69a6918734
[ "MIT" ]
null
null
null
//------------------------------------------------------------------------------ // \file Token_tests.cpp //------------------------------------------------------------------------------ #include "DeskCalculator/Token.h" #include <boost/test/unit_test.hpp> BOOST_AUTO_TEST_SUITE(DeskCalculator) BOOST_AUTO_TEST_SUITE(T...
34.368421
80
0.415008
ernestyalumni
0e1a5fdac81780d01d59623918dcb530064528d2
17,083
cpp
C++
clang/test/Layout/ms-x86-alias-avoidance-padding.cpp
mkinsner/llvm
589d48844edb12cd357b3024248b93d64b6760bf
[ "Apache-2.0" ]
2,338
2018-06-19T17:34:51.000Z
2022-03-31T11:00:37.000Z
clang/test/Layout/ms-x86-alias-avoidance-padding.cpp
mkinsner/llvm
589d48844edb12cd357b3024248b93d64b6760bf
[ "Apache-2.0" ]
3,740
2019-01-23T15:36:48.000Z
2022-03-31T22:01:13.000Z
clang/test/Layout/ms-x86-alias-avoidance-padding.cpp
mkinsner/llvm
589d48844edb12cd357b3024248b93d64b6760bf
[ "Apache-2.0" ]
500
2019-01-23T07:49:22.000Z
2022-03-30T02:59:37.000Z
// RUN: %clang_cc1 -fno-rtti -emit-llvm-only -triple i686-pc-win32 -fms-extensions -fdump-record-layouts -fsyntax-only %s 2>/dev/null \ // RUN: | FileCheck %s --strict-whitespace // RUN: %clang_cc1 -fno-rtti -emit-llvm-only -triple x86_64-pc-win32 -fms-extensions -fdump-record-layouts -fsyntax-only %s 2>/dev...
36.040084
137
0.545162
mkinsner
0e1cd4dfd145316d3d09108749e51e5356a31259
2,220
hh
C++
src/include/syntax/source.hh
awfeequdng/px_cppgo
5a102fce4c919ce93af247deb68241480374bf01
[ "MIT" ]
null
null
null
src/include/syntax/source.hh
awfeequdng/px_cppgo
5a102fce4c919ce93af247deb68241480374bf01
[ "MIT" ]
null
null
null
src/include/syntax/source.hh
awfeequdng/px_cppgo
5a102fce4c919ce93af247deb68241480374bf01
[ "MIT" ]
null
null
null
#pragma once #include "common/types.hh" #include "common/utf8/rune.hh" #include "common/hex_formatter.hh" #include <vector> #include <string> #include <iostream> #include <tuple> #include <fstream> template <typename T> std::vector<T> slice(std::vector<T>& v, std::size_t low, std::size_t high = -1) { std::vector<...
25.813953
81
0.569369
awfeequdng
0e1cfe242aa6f0b92124df6d11ada3782f41ea01
5,531
cpp
C++
snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ListView.InsertionMark/CPP/listviewinsertionmarkexample.cpp
BohdanMosiyuk/samples
59d435ba9e61e0fc19f5176c96b1cdbd53596142
[ "CC-BY-4.0", "MIT" ]
834
2017-06-24T10:40:36.000Z
2022-03-31T19:48:51.000Z
snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ListView.InsertionMark/CPP/listviewinsertionmarkexample.cpp
BohdanMosiyuk/samples
59d435ba9e61e0fc19f5176c96b1cdbd53596142
[ "CC-BY-4.0", "MIT" ]
7,042
2017-06-23T22:34:47.000Z
2022-03-31T23:05:23.000Z
snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ListView.InsertionMark/CPP/listviewinsertionmarkexample.cpp
BohdanMosiyuk/samples
59d435ba9e61e0fc19f5176c96b1cdbd53596142
[ "CC-BY-4.0", "MIT" ]
1,640
2017-06-23T22:31:39.000Z
2022-03-31T02:45:37.000Z
//<Snippet1> #using <System.dll> #using <System.Windows.Forms.dll> #using <System.Drawing.dll> using namespace System; using namespace System::Drawing; using namespace System::Windows::Forms; public ref class ListViewInsertionMarkExample: public Form { private: ListView^ myListView; public: //<Snippet2> L...
34.354037
175
0.661906
BohdanMosiyuk
0e1fc7dc1299325d1821fba77b7ef0f674214da3
6,326
cpp
C++
estacaocarregamento.cpp
luisdecker/Modelsim16.1
d664d23e5fb9a25db16f8a45e2f1bf954e838c6e
[ "Apache-2.0" ]
null
null
null
estacaocarregamento.cpp
luisdecker/Modelsim16.1
d664d23e5fb9a25db16f8a45e2f1bf954e838c6e
[ "Apache-2.0" ]
null
null
null
estacaocarregamento.cpp
luisdecker/Modelsim16.1
d664d23e5fb9a25db16f8a45e2f1bf954e838c6e
[ "Apache-2.0" ]
null
null
null
#include "estacaocarregamento.h" /*=============================================== Construtores ===============================================*/ EstacaoCarregamento::EstacaoCarregamento() { tempoMinimoFila = Relogio(); tempoMaximoFila = Relogio(); minimoEntidadesNaFila = 0; maximoEntidadesNaFil...
36.356322
151
0.619033
luisdecker
0e243f5773f04ce8d2effa8dcdb92cb77df9b806
718
cpp
C++
POO/arquivos-livro/03/C++/cadastro02.cpp
ell3a/estudos-python
09808a462aa3e73ad433501acb11f62217548af8
[ "MIT" ]
null
null
null
POO/arquivos-livro/03/C++/cadastro02.cpp
ell3a/estudos-python
09808a462aa3e73ad433501acb11f62217548af8
[ "MIT" ]
null
null
null
POO/arquivos-livro/03/C++/cadastro02.cpp
ell3a/estudos-python
09808a462aa3e73ad433501acb11f62217548af8
[ "MIT" ]
null
null
null
/* Programa: cadastro02 Arquivo: cadastro02.cpp */ #include <iostream> #include "parametros.h" using namespace std; struct Pessoa { string nome; int idade; char sexo; } ; int main() { Pessoa cadastro[N]; int x; // Variável de controle for ( x = 0; x < N ; x++) { cout << "Digite ...
19.944444
70
0.511142
ell3a
0e25c89f5d72ccf90a1ca9e2cc44047455978236
25,528
cc
C++
intern/opencolorio/ocio_impl.cc
gunslingster/CSC581-assignement1
39012146e142bf400c7140d90ecfd27c45b589ca
[ "Naumen", "Condor-1.1", "MS-PL" ]
39
2020-05-26T15:21:14.000Z
2022-03-24T04:46:31.000Z
intern/opencolorio/ocio_impl.cc
mmtt1998819/blender
c9c3bf983321990a6960c422e002a372c35a6f76
[ "Naumen", "Condor-1.1", "MS-PL" ]
7
2020-05-11T14:04:54.000Z
2020-06-03T15:00:20.000Z
intern/opencolorio/ocio_impl.cc
mmtt1998819/blender
c9c3bf983321990a6960c422e002a372c35a6f76
[ "Naumen", "Condor-1.1", "MS-PL" ]
14
2019-06-21T12:14:23.000Z
2021-08-25T14:57:06.000Z
/* * 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 (at your option) any later version. * * This program is distributed in the hope that it will be use...
27.627706
99
0.67663
gunslingster
0e28d45fe9ef7e6f7b94113c3263bd28888fa736
25,820
cpp
C++
Sources/Elastos/Frameworks/Droid/Base/Services/Server/src/elastos/droid/server/pm/dex/DexFileVerifier.cpp
jingcao80/Elastos
d0f39852356bdaf3a1234743b86364493a0441bc
[ "Apache-2.0" ]
7
2017-07-13T10:34:54.000Z
2021-04-16T05:40:35.000Z
Sources/Elastos/Frameworks/Droid/Base/Services/Server/src/elastos/droid/server/pm/dex/DexFileVerifier.cpp
jingcao80/Elastos
d0f39852356bdaf3a1234743b86364493a0441bc
[ "Apache-2.0" ]
null
null
null
Sources/Elastos/Frameworks/Droid/Base/Services/Server/src/elastos/droid/server/pm/dex/DexFileVerifier.cpp
jingcao80/Elastos
d0f39852356bdaf3a1234743b86364493a0441bc
[ "Apache-2.0" ]
9
2017-07-13T12:33:20.000Z
2021-06-19T02:46:48.000Z
//========================================================================= // Copyright (C) 2012 The Elastos Open Source Project // // 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 // // ...
36.264045
109
0.561813
jingcao80
0e28eec7659ff2ce90bc80232ef7550bed9d317d
144,164
cxx
C++
base/efiutil/efilib/src/usa/fatsachk.cxx
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
base/efiutil/efilib/src/usa/fatsachk.cxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
base/efiutil/efilib/src/usa/fatsachk.cxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
/*++ Copyright (c) 1991-2001 Microsoft Corporation Module Name: fatsachk.cxx --*/ #include <pch.cxx> #include "bitvect.hxx" #include "error.hxx" #include "rtmsg.h" #include "ifsentry.hxx" // Timeinfo is full of windows stuff. #if !defined( _AUTOCHECK_ ) && !defined( _SETUP_LOADER_ ) && !def...
30.204065
122
0.505008
npocmaka
0e29b84f026b3e180267054aae52b43a0e3814a4
4,921
cc
C++
src/ui/scenic/lib/scheduling/delegating_frame_scheduler.cc
casey/fuchsia
2b965e9a1e8f2ea346db540f3611a5be16bb4d6b
[ "BSD-3-Clause" ]
null
null
null
src/ui/scenic/lib/scheduling/delegating_frame_scheduler.cc
casey/fuchsia
2b965e9a1e8f2ea346db540f3611a5be16bb4d6b
[ "BSD-3-Clause" ]
null
null
null
src/ui/scenic/lib/scheduling/delegating_frame_scheduler.cc
casey/fuchsia
2b965e9a1e8f2ea346db540f3611a5be16bb4d6b
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2019 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 "src/ui/scenic/lib/scheduling/delegating_frame_scheduler.h" #include "src/lib/fxl/logging.h" #include "src/ui/scenic/lib/scheduling/id.h" namesp...
40.336066
100
0.751473
casey
0e29f093b5e8e8bdd82feb66c1a8e7d67c0e2a89
3,267
cpp
C++
dev/Gems/EMotionFX/Code/EMotionFX/Source/BlendTreeConnection.cpp
Kezryk/lumberyard
d21172c26536133a4213873469a171f4f0c4280c
[ "AML" ]
1
2019-02-06T19:12:41.000Z
2019-02-06T19:12:41.000Z
dev/Gems/EMotionFX/Code/EMotionFX/Source/BlendTreeConnection.cpp
Kezryk/lumberyard
d21172c26536133a4213873469a171f4f0c4280c
[ "AML" ]
null
null
null
dev/Gems/EMotionFX/Code/EMotionFX/Source/BlendTreeConnection.cpp
Kezryk/lumberyard
d21172c26536133a4213873469a171f4f0c4280c
[ "AML" ]
null
null
null
/* * All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or * its licensors. * * For complete copyright and license terms please see the LICENSE at the root of this * distribution (the "License"). All use of this software is governed by the License, * or, if provided, by the license below or t...
26.346774
116
0.642485
Kezryk
0e2c76aecec8ee5d094920e5075b9b368b208575
7,992
cpp
C++
eprp/eprp.cpp
milad621/livehd
370b4274809ef95f880da07a603245bffcadf05e
[ "BSD-3-Clause" ]
1
2022-03-09T23:29:29.000Z
2022-03-09T23:29:29.000Z
eprp/eprp.cpp
milad621/livehd
370b4274809ef95f880da07a603245bffcadf05e
[ "BSD-3-Clause" ]
null
null
null
eprp/eprp.cpp
milad621/livehd
370b4274809ef95f880da07a603245bffcadf05e
[ "BSD-3-Clause" ]
null
null
null
// This file is distributed under the BSD 3-Clause License. See LICENSE for details. #include <ctype.h> #include <algorithm> #include "eprp.hpp" void Eprp::eat_comments() { while (scan_is_token(Token_id_comment) && !scan_is_end()) scan_next(); } // rule_path = (\. | alnum | / | "asdad.." | \,)+ bool Eprp::rule_p...
24.145015
118
0.646021
milad621
0e2ef69313c2609d4b2d4d9e3e853a5dc38131e8
449
cpp
C++
void_data.cpp
shirishbahirat/algorithm
ec743d4c16ab4f429f22bd6f71540341b3905b3b
[ "Apache-2.0" ]
null
null
null
void_data.cpp
shirishbahirat/algorithm
ec743d4c16ab4f429f22bd6f71540341b3905b3b
[ "Apache-2.0" ]
null
null
null
void_data.cpp
shirishbahirat/algorithm
ec743d4c16ab4f429f22bd6f71540341b3905b3b
[ "Apache-2.0" ]
null
null
null
#include <iostream> using namespace std; int a[6] = {[4] = 29, [2] = 15}; struct node { int data; node *next; node(int d) : data(d), next(NULL) {} }; int add_node(void *data) { node *n = (node *)data; cout << n->data << endl; return 0; } int main(int argc, char const *argv[]) { node *n1 = new nod...
11.512821
38
0.514477
shirishbahirat
0e317907bb73e475fe9114aaa47362016e00f1af
6,413
cpp
C++
SuperMarioBros3/IntroScene.cpp
ThienUIT/Super-Mario-Bros-3
dc14eaa6a20b17a9ec13908e7e42947662c26005
[ "MIT" ]
3
2021-07-26T04:03:47.000Z
2021-08-31T15:17:29.000Z
SuperMarioBros3/IntroScene.cpp
ThienUIT/Super-Mario-Bros-3
dc14eaa6a20b17a9ec13908e7e42947662c26005
[ "MIT" ]
null
null
null
SuperMarioBros3/IntroScene.cpp
ThienUIT/Super-Mario-Bros-3
dc14eaa6a20b17a9ec13908e7e42947662c26005
[ "MIT" ]
null
null
null
#include <iostream> #include <fstream> #include "IntroScene.h" #include "Textures.h" #include "Utils.h" #include "Brick.h" #include "IntroGround.h" #include "Leaf.h" #include "MushRoom.h" #include "Goomba.h" #include "Koopas.h" using namespace std; CIntroScene::CIntroScene(int id, LPCWSTR filePath) : CScene(id, fil...
27.059072
111
0.684703
ThienUIT
0e3243e42b424f841913651fb56b4e6d859e1e8c
10,153
cpp
C++
test/variant_add.t.cpp
sheehamj13/task
67ed9cadfcbccf1f1071fc1b04cde61a2aba2f69
[ "MIT" ]
null
null
null
test/variant_add.t.cpp
sheehamj13/task
67ed9cadfcbccf1f1071fc1b04cde61a2aba2f69
[ "MIT" ]
null
null
null
test/variant_add.t.cpp
sheehamj13/task
67ed9cadfcbccf1f1071fc1b04cde61a2aba2f69
[ "MIT" ]
null
null
null
//////////////////////////////////////////////////////////////////////////////// // // Copyright 2013 - 2015, Göteborg Bit Factory. // // 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 witho...
41.781893
92
0.547424
sheehamj13
0e33ea5cfe8ffe7b19dfe9e067fc572c542facfe
9,190
cpp
C++
Source/Model/Writer/NMR_ModelWriter_3MF_Native.cpp
qmuntal/lib3mf
ad82d2f17bd37b942635c9cc7a33e4ea060b7adf
[ "BSD-2-Clause" ]
1
2021-11-26T13:23:39.000Z
2021-11-26T13:23:39.000Z
Source/Model/Writer/NMR_ModelWriter_3MF_Native.cpp
qmuntal/lib3mf
ad82d2f17bd37b942635c9cc7a33e4ea060b7adf
[ "BSD-2-Clause" ]
null
null
null
Source/Model/Writer/NMR_ModelWriter_3MF_Native.cpp
qmuntal/lib3mf
ad82d2f17bd37b942635c9cc7a33e4ea060b7adf
[ "BSD-2-Clause" ]
null
null
null
/*++ Copyright (C) 2018 3MF Consortium All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the followi...
40.844444
139
0.783134
qmuntal
0e389f04c7c038d92b3fa332cfb5950e71b90f27
321
cpp
C++
src/actions/action.cpp
Spark-NF/organizer
d8bcd459f8bebcb76d07ce3a125246944d1a1824
[ "Apache-2.0" ]
3
2020-12-17T19:35:27.000Z
2021-09-29T09:34:51.000Z
src/actions/action.cpp
Spark-NF/organizer
d8bcd459f8bebcb76d07ce3a125246944d1a1824
[ "Apache-2.0" ]
null
null
null
src/actions/action.cpp
Spark-NF/organizer
d8bcd459f8bebcb76d07ce3a125246944d1a1824
[ "Apache-2.0" ]
1
2019-06-18T17:34:16.000Z
2019-06-18T17:34:16.000Z
#include "action.h" Action::Action(QString name, QKeySequence shortcut, bool terminal) : m_name(name), m_shortcut(shortcut), m_terminal(terminal) {} QString Action::name() const { return m_name; } QKeySequence Action::shortcut() const { return m_shortcut; } bool Action::terminal() const { return m_terminal; }...
13.956522
66
0.732087
Spark-NF
0e38c4cf3522bcb698c563a2e88b2038b36fcdd3
23,864
cpp
C++
SOUI/src/control/SListCtrl.cpp
fengjixuchui/soui
360d9b63cab96e7c01d600ff772578c2fdc9af24
[ "MIT" ]
1
2021-11-12T01:53:04.000Z
2021-11-12T01:53:04.000Z
SOUI/src/control/SListCtrl.cpp
fengjixuchui/soui
360d9b63cab96e7c01d600ff772578c2fdc9af24
[ "MIT" ]
null
null
null
SOUI/src/control/SListCtrl.cpp
fengjixuchui/soui
360d9b63cab96e7c01d600ff772578c2fdc9af24
[ "MIT" ]
null
null
null
#include "souistd.h" #include "control/SListCtrl.h" #include <algorithm> #pragma warning(disable : 4267 4018) #define ITEM_MARGIN 4 namespace SOUI { ////////////////////////////////////////////////////////////////////////// // SListCtrl SListCtrl::SListCtrl() : m_nHeaderHeight(20) , m_nItemHeight(20) ,...
24.652893
134
0.595206
fengjixuchui
0e3ac1f2b7da5a645ffa48ed25eb3dc94b4788ec
1,325
cpp
C++
Source/controls/menu_controls.cpp
julealgon/devilutionX
0c8e4edba1521a78d993a7eceba8bc1df7e28fd5
[ "Unlicense" ]
null
null
null
Source/controls/menu_controls.cpp
julealgon/devilutionX
0c8e4edba1521a78d993a7eceba8bc1df7e28fd5
[ "Unlicense" ]
null
null
null
Source/controls/menu_controls.cpp
julealgon/devilutionX
0c8e4edba1521a78d993a7eceba8bc1df7e28fd5
[ "Unlicense" ]
null
null
null
#include "controls/menu_controls.h" #include "DiabloUI/diabloui.h" #include "controls/remap_keyboard.h" #include "utils/sdl_compat.h" namespace devilution { MenuAction GetMenuAction(const SDL_Event &event) { if (event.type == SDL_KEYDOWN) { auto sym = event.key.keysym.sym; remap_keyboard_key(&sym); ...
22.457627
75
0.687547
julealgon
0e3b1e66e59f8992acebe489f611820cd668b980
1,075
hpp
C++
include/Nazara/Core/ConfigCheck.hpp
AntoineJT/NazaraEngine
e0b05a7e7a2779e20a593b4083b4a881cc57ce14
[ "BSD-3-Clause-Clear", "Apache-2.0", "MIT" ]
null
null
null
include/Nazara/Core/ConfigCheck.hpp
AntoineJT/NazaraEngine
e0b05a7e7a2779e20a593b4083b4a881cc57ce14
[ "BSD-3-Clause-Clear", "Apache-2.0", "MIT" ]
null
null
null
include/Nazara/Core/ConfigCheck.hpp
AntoineJT/NazaraEngine
e0b05a7e7a2779e20a593b4083b4a881cc57ce14
[ "BSD-3-Clause-Clear", "Apache-2.0", "MIT" ]
null
null
null
// Copyright (C) 2017 Jérôme Leclercq // This file is part of the "Nazara Engine - Core module" // For conditions of distribution and use, see copyright notice in Config.hpp #pragma once #ifndef NAZARA_CONFIG_CHECK_CORE_HPP #define NAZARA_CONFIG_CHECK_CORE_HPP /// This file is used to check the constant values defin...
38.392857
136
0.791628
AntoineJT
0e3e0ea60c16aa6aa2ce5a7a33fdc3f93013a929
956
cpp
C++
examples/undocumented/libshogun/library_hash.cpp
Arpit2601/shogun
e509f8c57f47dc74b3f791d450a70b770d11582a
[ "BSD-3-Clause" ]
1
2019-10-02T11:10:08.000Z
2019-10-02T11:10:08.000Z
examples/undocumented/libshogun/library_hash.cpp
Arpit2601/shogun
e509f8c57f47dc74b3f791d450a70b770d11582a
[ "BSD-3-Clause" ]
null
null
null
examples/undocumented/libshogun/library_hash.cpp
Arpit2601/shogun
e509f8c57f47dc74b3f791d450a70b770d11582a
[ "BSD-3-Clause" ]
1
2020-06-02T09:15:40.000Z
2020-06-02T09:15:40.000Z
#include <shogun/lib/Hash.h> #include <stdio.h> using namespace shogun; int main(int argc, char** argv) { uint8_t array[4]={0,1,2,3}; printf("hash(0)=%0x\n", CHash::MurmurHash3(&array[0], 1, 0xDEADBEAF)); printf("hash(1)=%0x\n", CHash::MurmurHash3(&array[1], 1, 0xDEADBEAF)); printf("hash(2)=%0x\n", CHash::Murmu...
30.83871
71
0.65272
Arpit2601
0e3fe2ad88d6866a4396df74bbfbf4539acaabc3
4,279
cpp
C++
src/widgets/settingspages/IgnoresPage.cpp
NilsIrl/chatterino2
b7e86a8de66e53876d7a71376c43529597ee6c12
[ "MIT" ]
1
2021-08-16T15:39:56.000Z
2021-08-16T15:39:56.000Z
src/widgets/settingspages/IgnoresPage.cpp
NilsIrl/chatterino2
b7e86a8de66e53876d7a71376c43529597ee6c12
[ "MIT" ]
28
2020-10-26T07:29:15.000Z
2022-03-31T01:06:49.000Z
src/widgets/settingspages/IgnoresPage.cpp
NilsIrl/chatterino2
b7e86a8de66e53876d7a71376c43529597ee6c12
[ "MIT" ]
null
null
null
#include "IgnoresPage.hpp" #include "Application.hpp" #include "controllers/accounts/AccountController.hpp" #include "controllers/ignores/IgnoreController.hpp" #include "controllers/ignores/IgnoreModel.hpp" #include "providers/twitch/TwitchAccount.hpp" #include "singletons/Settings.hpp" #include "util/LayoutCreator.hp...
31.932836
149
0.643842
NilsIrl
0e4124b1bc075ab6fb060d145653ac4bbaa95360
2,218
cc
C++
src/core/film.cc
zhehangd/qjulia2
b6816f5af580534fdb27051ae2bfd7fe47a1a60c
[ "MIT" ]
null
null
null
src/core/film.cc
zhehangd/qjulia2
b6816f5af580534fdb27051ae2bfd7fe47a1a60c
[ "MIT" ]
null
null
null
src/core/film.cc
zhehangd/qjulia2
b6816f5af580534fdb27051ae2bfd7fe47a1a60c
[ "MIT" ]
null
null
null
/* MIT License Copyright (c) 2019 Zhehang Ding Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, ...
33.606061
78
0.693417
zhehangd
0e41a058de70310d29a28a408d1cb8afa336e1aa
336
cpp
C++
practical 7/task5.cpp
sahilnegi30/C-PLUS-
bd8d9ce79e5ae36b9f8d5e4c88949455dc4a6339
[ "MIT" ]
1
2021-09-23T16:06:39.000Z
2021-09-23T16:06:39.000Z
practical 7/task5.cpp
sahilnegi30/C-PLUS-
bd8d9ce79e5ae36b9f8d5e4c88949455dc4a6339
[ "MIT" ]
null
null
null
practical 7/task5.cpp
sahilnegi30/C-PLUS-
bd8d9ce79e5ae36b9f8d5e4c88949455dc4a6339
[ "MIT" ]
1
2021-09-24T15:10:07.000Z
2021-09-24T15:10:07.000Z
#include<iostream> using namespace std; int main() { int b[3][3]; int a [3] [3]={1,2,3,4,5,6,7,8,9}; for(int i=0;i<3;i++) { for(int j=0;j<3;j++) { b[i][j]=a[2-i] [2-j]; } } for(int i=0;i<3;i++) { for(int j=0;j<3;j++) { cout<<b[i][j]<<" "; } cout<<endl; ...
14.608696
36
0.39881
sahilnegi30
0e424e511af987030f273557f62e14989f01ba2a
851
cpp
C++
src/keyboard.cpp
astrellon/simple-snake
3dbe1f2af1afe31d3cef8bcc995d9150beafa1b2
[ "MIT" ]
1
2020-06-26T07:51:45.000Z
2020-06-26T07:51:45.000Z
src/keyboard.cpp
astrellon/starter-sfml
3679e76c01275d07fa9af5ead92a5d41c6fccfea
[ "MIT" ]
null
null
null
src/keyboard.cpp
astrellon/starter-sfml
3679e76c01275d07fa9af5ead92a5d41c6fccfea
[ "MIT" ]
null
null
null
#include "keyboard.hpp" #include <algorithm> namespace town { Keyboard::KeyList Keyboard::_KeysUp; Keyboard::KeyList Keyboard::_KeysDown; bool Keyboard::isKeyPressed(sf::Keyboard::Key key) { return sf::Keyboard::isKeyPressed(key); } bool Keyboard::isKeyUp(sf::Keyboard::Key key) {...
21.275
85
0.60517
astrellon
0e46716c715ab49ca4c735de2458309957798b73
270
hpp
C++
include/UTemplate/StdName/Name_list.hpp
Ubpa/Template
9d501bbf9d306d7c7dc2c8ac86247ba346dc4710
[ "MIT" ]
16
2020-02-15T06:16:22.000Z
2021-10-31T13:49:05.000Z
include/UTemplate/StdName/Name_list.hpp
Ubpa/Template
9d501bbf9d306d7c7dc2c8ac86247ba346dc4710
[ "MIT" ]
null
null
null
include/UTemplate/StdName/Name_list.hpp
Ubpa/Template
9d501bbf9d306d7c7dc2c8ac86247ba346dc4710
[ "MIT" ]
4
2020-08-06T04:46:14.000Z
2022-03-07T07:31:04.000Z
#pragma once #include "../Name.hpp" #include <list> template<typename T> struct Ubpa::details::custom_type_name<std::list<T>> { static constexpr auto get() noexcept { return concat_seq( TSTR("std::list<{"), type_name<T>(), TStrC_of<'}', '>'>{} ); } };
15.882353
54
0.622222
Ubpa
0e46f42529f2eed7cb5196249fed406637d1f5d6
5,032
hpp
C++
src/controls/TreeViewModelAdaptor.hpp
oclero/luna
00bd5736e7bab57daa5d622bcd5379992ca6505c
[ "MIT" ]
5
2021-07-19T19:57:41.000Z
2021-09-25T01:41:13.000Z
src/controls/TreeViewModelAdaptor.hpp
chiefstone/luna
00bd5736e7bab57daa5d622bcd5379992ca6505c
[ "MIT" ]
2
2021-09-25T08:35:49.000Z
2021-09-25T11:14:49.000Z
src/controls/TreeViewModelAdaptor.hpp
chiefstone/luna
00bd5736e7bab57daa5d622bcd5379992ca6505c
[ "MIT" ]
3
2021-08-20T10:19:12.000Z
2021-09-25T10:46:40.000Z
#pragma once #include <QSet> #include <QPointer> #include <QAbstractItemModel> #include <QItemSelectionModel> #include <QPersistentModelIndex> class TreeViewModelAdaptor : public QAbstractItemModel { Q_OBJECT Q_PROPERTY(QAbstractItemModel* model READ model WRITE setModel NOTIFY modelChanged) Q_PROPERTY(QModelIndex...
32.464516
113
0.783386
oclero
0e4a59069b9151279c3ec782557d638585c2baa2
381
hpp
C++
EyeOfSauronDHTMonitor/tests/test_esdhttp.hpp
zhaishuai/EyeOfSauronDHTMonitor
5f4fdb6056f54c13b7f47821bb714c1a041f5f16
[ "MIT" ]
1
2017-10-06T02:01:59.000Z
2017-10-06T02:01:59.000Z
EyeOfSauronDHTMonitor/tests/test_esdhttp.hpp
zhaishuai/EyeOfSauronDHTMonitor
5f4fdb6056f54c13b7f47821bb714c1a041f5f16
[ "MIT" ]
1
2016-01-24T04:05:04.000Z
2016-01-25T14:43:35.000Z
EyeOfSauronDHTMonitor/tests/test_esdhttp.hpp
zhaishuai/EyeOfSauronDHTMonitor
5f4fdb6056f54c13b7f47821bb714c1a041f5f16
[ "MIT" ]
null
null
null
// // test_esdhttp.hpp // EyeOfSauronDHTMonitor // // Created by shuaizhai on 4/25/16. // Copyright © 2016 com.dhtMonitor.www. All rights reserved. // #ifndef test_esdhttp_hpp #define test_esdhttp_hpp #include <stdio.h> #include "ESDHttpUtility.hpp" #include "ESDHttpProtocol.hpp" namespace test_esdhttp { ...
16.565217
61
0.711286
zhaishuai
0e4ae30186abac669f5fbad7565a7cf6949110b3
43,845
cpp
C++
vendor/Arduino/libraries/RF24Network/RF24Network.cpp
hvos234/raspberrypi.home.website
72376beb55167da4b5fadda51992724451166129
[ "BSD-3-Clause" ]
null
null
null
vendor/Arduino/libraries/RF24Network/RF24Network.cpp
hvos234/raspberrypi.home.website
72376beb55167da4b5fadda51992724451166129
[ "BSD-3-Clause" ]
null
null
null
vendor/Arduino/libraries/RF24Network/RF24Network.cpp
hvos234/raspberrypi.home.website
72376beb55167da4b5fadda51992724451166129
[ "BSD-3-Clause" ]
null
null
null
/* Copyright (C) 2011 James Coliz, Jr. <maniacbug@ymail.com> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation. */ #include "RF24Network_config.h" #if defined (RF24_LINUX) #include <s...
32.990971
241
0.651887
hvos234
0e4c8eb8d1f3f06e805a435f4d9027e443b1ca1d
31,177
cpp
C++
exportGOAT/release/windows/obj/src/polymod/backends/PolymodAssetLibrary.cpp
SamuraiOfSecrets/Goatmeal-Time-v0.2
7b89cbaf6895495b90ee1a5679e9cc696a7fbb53
[ "Apache-2.0" ]
null
null
null
exportGOAT/release/windows/obj/src/polymod/backends/PolymodAssetLibrary.cpp
SamuraiOfSecrets/Goatmeal-Time-v0.2
7b89cbaf6895495b90ee1a5679e9cc696a7fbb53
[ "Apache-2.0" ]
null
null
null
exportGOAT/release/windows/obj/src/polymod/backends/PolymodAssetLibrary.cpp
SamuraiOfSecrets/Goatmeal-Time-v0.2
7b89cbaf6895495b90ee1a5679e9cc696a7fbb53
[ "Apache-2.0" ]
null
null
null
// Generated by Haxe 4.1.5 #include <hxcpp.h> #ifndef INCLUDED_Std #include <Std.h> #endif #ifndef INCLUDED_haxe_Exception #include <haxe/Exception.h> #endif #ifndef INCLUDED_haxe_IMap #include <haxe/IMap.h> #endif #ifndef INCLUDED_haxe_ds_StringMap #include <haxe/ds/StringMap.h> #endif #ifndef INCLUDED_haxe_io_Bytes ...
44.411681
253
0.687077
SamuraiOfSecrets
0e4da04dc84d73b9ce4275f2637c9f96f95c4dce
6,521
cpp
C++
tools/llvm37-pdbdump/ClassDefinitionDumper.cpp
seanbaxter/DirectXShaderCompiler
6d02c8d43ff3fdeb9963acaf3af00c62aaa01f44
[ "NCSA" ]
null
null
null
tools/llvm37-pdbdump/ClassDefinitionDumper.cpp
seanbaxter/DirectXShaderCompiler
6d02c8d43ff3fdeb9963acaf3af00c62aaa01f44
[ "NCSA" ]
null
null
null
tools/llvm37-pdbdump/ClassDefinitionDumper.cpp
seanbaxter/DirectXShaderCompiler
6d02c8d43ff3fdeb9963acaf3af00c62aaa01f44
[ "NCSA" ]
null
null
null
//===- ClassDefinitionDumper.cpp --------------------------------*- C++ -*-===// // // The LLVM37 Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-----------------------------------------------------...
34.141361
80
0.662935
seanbaxter
0e4deb0a3a04d919d8bee3d8939ecd0a3d6b4ba8
20,670
cxx
C++
src/Cxx/Visualization/CreateColorSeriesDemo.cxx
ajpmaclean/vtk-examples
1a55fc8c6af67a3c07791807c7d1ec0ab97607a2
[ "Apache-2.0" ]
81
2020-08-10T01:44:30.000Z
2022-03-23T06:46:36.000Z
src/Cxx/Visualization/CreateColorSeriesDemo.cxx
ajpmaclean/vtk-examples
1a55fc8c6af67a3c07791807c7d1ec0ab97607a2
[ "Apache-2.0" ]
2
2020-09-12T17:33:52.000Z
2021-04-15T17:33:09.000Z
src/Cxx/Visualization/CreateColorSeriesDemo.cxx
ajpmaclean/vtk-examples
1a55fc8c6af67a3c07791807c7d1ec0ab97607a2
[ "Apache-2.0" ]
27
2020-08-17T07:09:30.000Z
2022-02-15T03:44:58.000Z
#include <vtkActor.h> #include <vtkCellData.h> #include <vtkColorSeries.h> #include <vtkFloatArray.h> #include <vtkLookupTable.h> #include <vtkNamedColors.h> #include <vtkNew.h> #include <vtkPlaneSource.h> #include <vtkPolyData.h> #include <vtkPolyDataMapper.h> #include <vtkProperty.h> #include <vtkRenderWindow.h> #inc...
39.903475
73
0.715288
ajpmaclean
0e51367d286a3338f585f7234bc5edfcbbd2d1bc
1,868
cc
C++
stapl_release/test/runtime/type_traits/test_lazy_storage.cc
parasol-ppl/PPL_utils
92728bb89692fda1705a0dee436592d97922a6cb
[ "BSD-3-Clause" ]
null
null
null
stapl_release/test/runtime/type_traits/test_lazy_storage.cc
parasol-ppl/PPL_utils
92728bb89692fda1705a0dee436592d97922a6cb
[ "BSD-3-Clause" ]
null
null
null
stapl_release/test/runtime/type_traits/test_lazy_storage.cc
parasol-ppl/PPL_utils
92728bb89692fda1705a0dee436592d97922a6cb
[ "BSD-3-Clause" ]
null
null
null
/* // Copyright (c) 2000-2009, Texas Engineering Experiment Station (TEES), a // component of the Texas A&M University System. // All rights reserved. // The information and source code contained herein is the exclusive // property of TEES and may not be disclosed, examined or reproduced // in whole or in part withou...
18.49505
74
0.682548
parasol-ppl
0e5292bed843dd33e904a5cb5caddc5068c38910
24,442
cpp
C++
src/common/DecFloat.cpp
sas9mba/FB-ISQL-autopadding
033393aa80de4274ed9469767464e9b189b26838
[ "Condor-1.1" ]
null
null
null
src/common/DecFloat.cpp
sas9mba/FB-ISQL-autopadding
033393aa80de4274ed9469767464e9b189b26838
[ "Condor-1.1" ]
null
null
null
src/common/DecFloat.cpp
sas9mba/FB-ISQL-autopadding
033393aa80de4274ed9469767464e9b189b26838
[ "Condor-1.1" ]
null
null
null
/* * PROGRAM: Decimal 64 & 128 type. * MODULE: DecFloat.cpp * DESCRIPTION: Floating point with decimal exponent. * * The contents of this file are subject to the Initial * Developer's Public License Version 1.0 (the "License"); * you may not use this file except in compliance with the * License. You may ...
20.678511
99
0.699247
sas9mba
0e5484a533db09810dc94eebae002aeb085e6af7
2,037
cpp
C++
src/graph_algorithms_tool/shortest_path_graphics_item.cpp
michalmonday/Graph-Algorithms-Teaching-Tool
f7c7efa7a4518805d22c3fd2d2810e4bfb6a5ddf
[ "MIT" ]
null
null
null
src/graph_algorithms_tool/shortest_path_graphics_item.cpp
michalmonday/Graph-Algorithms-Teaching-Tool
f7c7efa7a4518805d22c3fd2d2810e4bfb6a5ddf
[ "MIT" ]
null
null
null
src/graph_algorithms_tool/shortest_path_graphics_item.cpp
michalmonday/Graph-Algorithms-Teaching-Tool
f7c7efa7a4518805d22c3fd2d2810e4bfb6a5ddf
[ "MIT" ]
null
null
null
#include "shortest_path_graphics_item.h" #include "algorithms/controlled_dijkstra_algorithm.h" #include "graph/graph.h" #include "graph/node.h" #include "functions.h" #include "colors.h" #include <QGraphicsScene> static const qreal Y_SPACING = 1.2; // same as vtable_graphics_item.cpp ShortestPathGraphicsItem::Shorte...
33.393443
117
0.63623
michalmonday
0e54e4fbc2b32d5fc58cead03fe19ecf1aef1416
705
cpp
C++
src/cmcandy/C_Language_Answers/_1025.cpp
ch98road/leetcode
a9b4be54a169b30f6711809b892dd1f79f2a17e7
[ "MIT" ]
null
null
null
src/cmcandy/C_Language_Answers/_1025.cpp
ch98road/leetcode
a9b4be54a169b30f6711809b892dd1f79f2a17e7
[ "MIT" ]
null
null
null
src/cmcandy/C_Language_Answers/_1025.cpp
ch98road/leetcode
a9b4be54a169b30f6711809b892dd1f79f2a17e7
[ "MIT" ]
1
2020-11-26T03:01:12.000Z
2020-11-26T03:01:12.000Z
#include <iostream> #include <string> #include <vector> using namespace ::std; class Solution { public: bool divisorGame(int N) { //N=1 必败 //N=2 必胜 //本题有数学证明,但个人想用动归解 //return N%2==0; //dp为1维,找到<i 的false(必输局面即可获胜)若找不到,则必输 //状态转换公式为:i % j == 0 && f[i - j] == false...
21.363636
52
0.368794
ch98road
0e5508065b0d797d1fe9131d259423bc02830e86
1,161
cpp
C++
src/sconelib/scone/measures/JointLoadMeasure.cpp
alexxlzhou/scone-core
4a071626e5ee7ba253e72a973d4d214fa6e30cf5
[ "Apache-2.0" ]
5
2021-04-30T14:30:20.000Z
2022-03-27T09:58:24.000Z
src/sconelib/scone/measures/JointLoadMeasure.cpp
alexxlzhou/scone-core
4a071626e5ee7ba253e72a973d4d214fa6e30cf5
[ "Apache-2.0" ]
4
2021-06-15T10:52:10.000Z
2021-12-15T10:25:21.000Z
src/sconelib/scone/measures/JointLoadMeasure.cpp
alexxlzhou/scone-core
4a071626e5ee7ba253e72a973d4d214fa6e30cf5
[ "Apache-2.0" ]
2
2021-05-02T13:38:19.000Z
2021-07-22T19:37:07.000Z
/* ** JointLoadMeasure.cpp ** ** Copyright (C) 2013-2019 Thomas Geijtenbeek and contributors. All rights reserved. ** ** This file is part of SCONE. For more information, see http://scone.software. */ #include "JointLoadMeasure.h" #include "scone/model/Model.h" namespace scone { JointLoadMeasure::JointLoadMeasure( ...
24.1875
116
0.701981
alexxlzhou
0e5670290456c3434075b3024830adce55ac0697
2,870
cpp
C++
Olympiad Solutions/SPOJ/TWOPATHS.cpp
Ashwanigupta9125/code-DS-ALGO
49f6cf7d0c682da669db23619aef3f80697b352b
[ "MIT" ]
36
2019-12-27T08:23:08.000Z
2022-01-24T20:35:47.000Z
Olympiad Solutions/SPOJ/TWOPATHS.cpp
Ashwanigupta9125/code-DS-ALGO
49f6cf7d0c682da669db23619aef3f80697b352b
[ "MIT" ]
10
2019-11-13T02:55:18.000Z
2021-10-13T23:28:09.000Z
Olympiad Solutions/SPOJ/TWOPATHS.cpp
Ashwanigupta9125/code-DS-ALGO
49f6cf7d0c682da669db23619aef3f80697b352b
[ "MIT" ]
53
2020-08-15T11:08:40.000Z
2021-10-09T15:51:38.000Z
// Ivan Carvalho // Solution to https://www.spoj.com/problems/TWOPATHS/ #include <bits/stdc++.h> using namespace std; typedef long long ll; const int MAXN = 1e5 + 10; vector<int> grafo[MAXN]; int maior_dist[MAXN][3],maior_diam[MAXN][2]; int temporario_diametro[MAXN],temporario_dist[MAXN],N; ll melhor_produto; void calc...
29.587629
104
0.649826
Ashwanigupta9125
0e576d935bdfc6164bafd14477acb0af56ca1832
20,328
hh
C++
dune/xt/la/solver/fasp.hh
dune-community/dune-xt-la
2c3119fcc3798b14aa3c9228aed0e1ae8ee4ebcc
[ "BSD-2-Clause" ]
4
2016-01-26T06:03:13.000Z
2020-02-08T04:09:17.000Z
dune/xt/la/solver/fasp.hh
dune-community/dune-xt-la
2c3119fcc3798b14aa3c9228aed0e1ae8ee4ebcc
[ "BSD-2-Clause" ]
89
2016-01-24T22:09:34.000Z
2020-03-25T08:33:43.000Z
dune/xt/la/solver/fasp.hh
dune-community/dune-xt-la
2c3119fcc3798b14aa3c9228aed0e1ae8ee4ebcc
[ "BSD-2-Clause" ]
2
2018-04-09T11:52:25.000Z
2020-02-08T04:10:27.000Z
// This file is part of the dune-xt-la project: // https://github.com/dune-community/dune-xt-la // Copyright 2009-2018 dune-xt-la developers and contributors. All rights reserved. // License: Dual licensed as BSD 2-Clause License (http://opensource.org/licenses/BSD-2-Clause) // or GPL-2.0+ (http://opensource.or...
53.635884
120
0.711531
dune-community
0e58ac0f89a74345cbb8d4ba7f6b0084e0a13a64
2,277
cpp
C++
my_vulkan/texture_sampler.cpp
pixelwise/my_vulkan
f1c139ed8f95380186905d77cb8e81008f48bc95
[ "CC0-1.0" ]
null
null
null
my_vulkan/texture_sampler.cpp
pixelwise/my_vulkan
f1c139ed8f95380186905d77cb8e81008f48bc95
[ "CC0-1.0" ]
3
2019-02-25T10:13:57.000Z
2020-11-11T14:46:14.000Z
my_vulkan/texture_sampler.cpp
pixelwise/my_vulkan
f1c139ed8f95380186905d77cb8e81008f48bc95
[ "CC0-1.0" ]
null
null
null
#include "texture_sampler.hpp" #include "utils.hpp" namespace my_vulkan { texture_sampler_t::texture_sampler_t(VkDevice device, filter_mode_t filter_mode) : _device{device} { VkFilter filter; switch(filter_mode) { case filter_mode_t::linear: filter = VK_F...
29.571429
87
0.625823
pixelwise
0e5b6811ac90710d35f50afa1cb894e3193535a4
5,624
cc
C++
service/testing/epoll_test.cc
datacratic/soa
74eeda506feb522de9181aac4a5543c7766e600e
[ "Apache-2.0" ]
11
2015-11-10T09:56:37.000Z
2021-02-09T02:10:45.000Z
service/testing/epoll_test.cc
datacratic/soa
74eeda506feb522de9181aac4a5543c7766e600e
[ "Apache-2.0" ]
40
2015-01-08T12:16:37.000Z
2016-06-08T19:41:03.000Z
service/testing/epoll_test.cc
datacratic/soa
74eeda506feb522de9181aac4a5543c7766e600e
[ "Apache-2.0" ]
10
2015-01-05T21:46:46.000Z
2021-09-26T10:07:07.000Z
/* epoll_test.cc Wolfgang Sourdeau, 17 November 2014 Copyright (c) 2014 Datacratic. All rights reserved. Assumption tests for epoll */ #define BOOST_TEST_MAIN #define BOOST_TEST_DYN_LINK #include <fcntl.h> #include <unistd.h> #include <sys/epoll.h> #include <atomic> #include <iostream> #include <thread> ...
26.403756
76
0.590683
datacratic
0e5ba627fe0d0520d8672e092355f9bad1916123
887
cpp
C++
Dynamic Programming/common sub sequence/cpp/CommonSubSeq.cpp
iabhimanyu/Algorithms
adefcd165e591d2338be8fc8a62629ff072620dd
[ "MIT" ]
715
2018-10-01T21:30:10.000Z
2022-03-23T09:14:10.000Z
Dynamic Programming/common sub sequence/cpp/CommonSubSeq.cpp
iabhimanyu/Algorithms
adefcd165e591d2338be8fc8a62629ff072620dd
[ "MIT" ]
157
2018-10-01T20:53:11.000Z
2021-08-03T07:00:58.000Z
Dynamic Programming/common sub sequence/cpp/CommonSubSeq.cpp
iabhimanyu/Algorithms
adefcd165e591d2338be8fc8a62629ff072620dd
[ "MIT" ]
1,225
2018-10-01T20:56:22.000Z
2022-02-22T04:00:27.000Z
/* Implementation of LCS problem using Dynamic Programming*/ #include <bits/stdc++.h> using namespace std; void lcs(string X, string Y){ int m = X.length(); int n = Y.length(); int L[m+1][n+1]; for (int i=0; i<=m; i++){ for (int j=0; j<=n; j++){ if (i == 0 || j == 0) L[i][j] = 0; else...
18.102041
60
0.421646
iabhimanyu
0e5ecc3d0d0738ff380c02ec54d8eaff1b264017
8,227
cpp
C++
native/ugc.cpp
rfht/hlsteam-stub
5757ec73fb645fd809bfbf042f3b00296e714b36
[ "MIT" ]
3
2020-04-18T13:13:52.000Z
2021-04-09T22:40:45.000Z
native/ugc.cpp
rfht/hlsteam-stub
5757ec73fb645fd809bfbf042f3b00296e714b36
[ "MIT" ]
null
null
null
native/ugc.cpp
rfht/hlsteam-stub
5757ec73fb645fd809bfbf042f3b00296e714b36
[ "MIT" ]
1
2021-08-12T14:44:43.000Z
2021-08-12T14:44:43.000Z
#include "steamwrap.h" /* vdynamic *CallbackHandler::EncodeDownloadItem(int *d) { return nullptr; } vdynamic *CallbackHandler::EncodeItemInstalled(int *d) { return nullptr; } */ HL_PRIM varray *HL_NAME(get_subscribed_items)(){ printf("%s\n", __func__); return nullptr; } HL_PRIM int HL_NAME(get_item_state)(vuid ...
30.812734
159
0.73198
rfht
0e5ef653e2f5d7b0a25571e20bd63aca77ba7b3b
3,617
cpp
C++
Sources/Fonts/FontType.cpp
Equilibrium-Games/Flounder
1bd67dc8c2c2ebee2ca95f0cabb40b926f747fcf
[ "MIT" ]
43
2017-08-09T04:03:38.000Z
2018-07-17T15:25:32.000Z
Sources/Fonts/FontType.cpp
Equilibrium-Games/Flounder
1bd67dc8c2c2ebee2ca95f0cabb40b926f747fcf
[ "MIT" ]
3
2018-01-23T06:44:41.000Z
2018-05-29T19:22:41.000Z
Sources/Fonts/FontType.cpp
Equilibrium-Games/Flounder
1bd67dc8c2c2ebee2ca95f0cabb40b926f747fcf
[ "MIT" ]
6
2017-11-03T10:48:20.000Z
2018-04-28T21:44:59.000Z
#include "FontType.hpp" #include <tiny_msdf.hpp> #include <ft2build.h> #include FT_FREETYPE_H #include "Files/Files.hpp" #include "Resources/Resources.hpp" #include "Graphics/Graphics.hpp" namespace acid { static const std::wstring_view NEHE = L" \t\r\nABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890\"...
26.40146
145
0.697263
Equilibrium-Games
0e606b0a8a475b3df31cfe975fe752e36b16ddd0
855
cpp
C++
day-9-6-1.cpp
duasong111/c_lang_learn
4a939204a9d12a1fd0a6ca4ff36ed3bfdfb97482
[ "BSD-2-Clause" ]
null
null
null
day-9-6-1.cpp
duasong111/c_lang_learn
4a939204a9d12a1fd0a6ca4ff36ed3bfdfb97482
[ "BSD-2-Clause" ]
null
null
null
day-9-6-1.cpp
duasong111/c_lang_learn
4a939204a9d12a1fd0a6ca4ff36ed3bfdfb97482
[ "BSD-2-Clause" ]
null
null
null
/* 求四名同学在三次考试中的成绩 */ #include <stdio.h> void mat_add(const int a[4][3], const int b[4][3], int c[4][3]); void mat_print(const int m[4][3]); int main(void) { int sore1[4][3] = { {23, 13,23}, {23, 67, 89}, {34, 56, 67}, {89,98, 32} }; int sore2[4][3] = { {93, 43,33}, {23, 63, 82}, {34, 66, 87}, {69,93, 39} }; ...
21.923077
77
0.493567
duasong111
0e65e917d58fa56f2f129821a6101a06af7f15dd
4,961
cc
C++
google_apis/gaia/ubertoken_fetcher.cc
google-ar/chromium
2441c86a5fd975f09a6c30cddb57dfb7fc239699
[ "Apache-2.0", "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
777
2017-08-29T15:15:32.000Z
2022-03-21T05:29:41.000Z
google_apis/gaia/ubertoken_fetcher.cc
harrymarkovskiy/WebARonARCore
2441c86a5fd975f09a6c30cddb57dfb7fc239699
[ "Apache-2.0", "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
66
2017-08-30T18:31:18.000Z
2021-08-02T10:59:35.000Z
google_apis/gaia/ubertoken_fetcher.cc
harrymarkovskiy/WebARonARCore
2441c86a5fd975f09a6c30cddb57dfb7fc239699
[ "Apache-2.0", "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
123
2017-08-30T01:19:34.000Z
2022-03-17T22:55:31.000Z
// Copyright 2014 The Chromium 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 "google_apis/gaia/ubertoken_fetcher.h" #include <vector> #include "base/logging.h" #include "base/metrics/histogram_macros.h" #include "base/ra...
31.801282
78
0.729087
google-ar
0e6616c096e92c2c85f7599f6a5a81dfc094f72b
3,273
cpp
C++
src/python_bindings.cpp
johnlees/mandrake
f34deb1aeed730041398923c1c0d6e6d5ccb9611
[ "MIT", "Apache-2.0", "BSD-3-Clause" ]
16
2021-09-14T14:19:08.000Z
2022-02-02T23:51:04.000Z
src/python_bindings.cpp
johnlees/mandrake
f34deb1aeed730041398923c1c0d6e6d5ccb9611
[ "MIT", "Apache-2.0", "BSD-3-Clause" ]
10
2021-09-15T17:51:26.000Z
2022-01-20T11:22:26.000Z
src/python_bindings.cpp
johnlees/mandrake
f34deb1aeed730041398923c1c0d6e6d5ccb9611
[ "MIT", "Apache-2.0", "BSD-3-Clause" ]
1
2021-09-28T14:44:12.000Z
2021-09-28T14:44:12.000Z
// 2021 John Lees, Gerry Tonkin-Hill, Zhirong Yang // See LICENSE files #include "pairsnp.hpp" #include "sound.hpp" #include "wtsne.hpp" #include <pybind11/stl.h> namespace py = pybind11; PYBIND11_MODULE(SCE, m) { m.doc() = "Stochastic cluster embedding"; m.attr("version") = VERSION_INFO; // Results class (ne...
46.098592
79
0.62542
johnlees
0e66dadb9b0faf7b9e13c7b977595fcdd3541173
897
hpp
C++
include/version.hpp
magicmoremagic/bengine-core
fc9e1c309e62f5b2d7d4797d4b537ecfb3350d19
[ "MIT" ]
null
null
null
include/version.hpp
magicmoremagic/bengine-core
fc9e1c309e62f5b2d7d4797d4b537ecfb3350d19
[ "MIT" ]
null
null
null
include/version.hpp
magicmoremagic/bengine-core
fc9e1c309e62f5b2d7d4797d4b537ecfb3350d19
[ "MIT" ]
null
null
null
#pragma once #ifndef BE_CORE_VERSION_HPP_ #define BE_CORE_VERSION_HPP_ #include "macros.hpp" #define BE_CORE_VERSION_MAJOR 0 #define BE_CORE_VERSION_MINOR 1 #define BE_CORE_VERSION_REV 32 /*!! include('common/version', 'BE_CORE', 'bengine') !! 6 */ /* ################# !! GENERATED CODE -- DO NOT MODIFY !! #########...
39
155
0.702341
magicmoremagic
0e68cf0eb44496c1dcb61eaaa213e80b23c2f918
26,546
cpp
C++
cross/cocos2d/cocos/2d/platform/android/nativeactivity.cpp
yobiya/tdd_game_sample
d3605c13f1fd97cd3929d5d3054f603edde839db
[ "MIT" ]
20
2015-01-04T03:15:01.000Z
2020-08-14T00:48:34.000Z
cocos2d/cocos/2d/platform/android/nativeactivity.cpp
kobakei/CCLocalNotification
c47ad6ff96409857ee6637892cc2618c1daf7ffa
[ "Apache-2.0" ]
null
null
null
cocos2d/cocos/2d/platform/android/nativeactivity.cpp
kobakei/CCLocalNotification
c47ad6ff96409857ee6637892cc2618c1daf7ffa
[ "Apache-2.0" ]
5
2015-06-15T02:26:05.000Z
2021-10-04T06:57:49.000Z
/**************************************************************************** Copyright (c) 2013-2014 Chukong Technologies Inc. http://www.cocos2d-x.org 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 Sof...
35.206897
137
0.616515
yobiya
0e696d20715dc73afc4ae5c530b3ee4f16dbade6
106
cpp
C++
Engine/Math/Ray3D.cpp
techmatt/Provincial
3e636570d7ef359b823cb0dab3c5f8c3f1cb36b2
[ "MIT" ]
27
2015-09-03T18:41:03.000Z
2022-01-17T20:38:54.000Z
Engine/Math/Ray3D.cpp
techmatt/Provincial
3e636570d7ef359b823cb0dab3c5f8c3f1cb36b2
[ "MIT" ]
null
null
null
Engine/Math/Ray3D.cpp
techmatt/Provincial
3e636570d7ef359b823cb0dab3c5f8c3f1cb36b2
[ "MIT" ]
8
2015-02-23T10:04:30.000Z
2020-09-04T10:56:22.000Z
/* Ray3D.cpp Written by Matthew Fisher a 3D ray represented by an origin point and a direction vector. */
17.666667
63
0.764151
techmatt
0e6aa6bb823ed1ac4ac96db47326af50a653daa5
87,738
cpp
C++
grid-test/export/macos/obj/src/hscript/Interp.cpp
VehpuS/learning-haxe-and-haxeflixel
cb18c074720656797beed7333eeaced2cf323337
[ "Apache-2.0" ]
null
null
null
grid-test/export/macos/obj/src/hscript/Interp.cpp
VehpuS/learning-haxe-and-haxeflixel
cb18c074720656797beed7333eeaced2cf323337
[ "Apache-2.0" ]
null
null
null
grid-test/export/macos/obj/src/hscript/Interp.cpp
VehpuS/learning-haxe-and-haxeflixel
cb18c074720656797beed7333eeaced2cf323337
[ "Apache-2.0" ]
null
null
null
// Generated by Haxe 4.1.4 #include <hxcpp.h> #ifndef INCLUDED_IntIterator #include <IntIterator.h> #endif #ifndef INCLUDED_Reflect #include <Reflect.h> #endif #ifndef INCLUDED_Std #include <Std.h> #endif #ifndef INCLUDED_Type #include <Type.h> #endif #ifndef INCLUDED_haxe_Exception #include <haxe/Exception.h> #endif ...
45.063174
243
0.593745
VehpuS
0e6bd6d6bc339c0f81a55ce13fba199d7f92a883
2,451
cpp
C++
gm/imageresizetiled.cpp
llluiop/skia
0dd01ee5b5abc06935dced8430d5290c6ac3f958
[ "BSD-3-Clause" ]
1
2015-11-06T00:05:58.000Z
2015-11-06T00:05:58.000Z
gm/imageresizetiled.cpp
rgraebert/skia
33a4b46e9f24be6268855478b5c895f883fb4ac5
[ "BSD-3-Clause" ]
null
null
null
gm/imageresizetiled.cpp
rgraebert/skia
33a4b46e9f24be6268855478b5c895f883fb4ac5
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright 2014 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "gm.h" #include "SkMatrixImageFilter.h" #include "SkRandom.h" #define WIDTH 640 #define HEIGHT 480 #define RESIZE_FACTOR SkIntToScalar(2) namespace skiagm { class...
29.178571
79
0.53774
llluiop
0e6f241d5b39be52ee550570a5563c2a42aa7e27
3,998
cpp
C++
driver/src/visitor/ScopedModifier.cpp
pranavsubramani/Birch
0a4bb698ed44353c8e8b93d234f2941d7511683c
[ "Apache-2.0" ]
null
null
null
driver/src/visitor/ScopedModifier.cpp
pranavsubramani/Birch
0a4bb698ed44353c8e8b93d234f2941d7511683c
[ "Apache-2.0" ]
null
null
null
driver/src/visitor/ScopedModifier.cpp
pranavsubramani/Birch
0a4bb698ed44353c8e8b93d234f2941d7511683c
[ "Apache-2.0" ]
null
null
null
/** * @file */ #include "src/visitor/ScopedModifier.hpp" birch::ScopedModifier::ScopedModifier(Package* currentPackage, Class* currentClass) : ContextualModifier(currentPackage, currentClass), inMember(0), inGlobal(0) { if (currentPackage) { scopes.push_back(currentPackage->scope); if (curr...
23.656805
72
0.690595
pranavsubramani
0e6f7fd5bbea687cc6ca4a486d5a07f877207dab
3,380
cc
C++
example/Mcached/mraft/floyd/example/simple/t1.cc
fasShare/moxie-simple
9b21320f868ca1fe05ca5d39e70eb053d31155ee
[ "MIT" ]
1
2018-09-27T09:10:11.000Z
2018-09-27T09:10:11.000Z
example/Mcached/mraft/floyd/example/simple/t1.cc
fasShare/moxie-simple
9b21320f868ca1fe05ca5d39e70eb053d31155ee
[ "MIT" ]
1
2018-09-16T07:17:29.000Z
2018-09-16T07:17:29.000Z
example/Mcached/mraft/floyd/example/simple/t1.cc
fasShare/moxie-simple
9b21320f868ca1fe05ca5d39e70eb053d31155ee
[ "MIT" ]
null
null
null
// Copyright (c) 2015-present, Qihoo, Inc. All rights reserved. // This source code is licensed under the BSD-style license found in the // LICENSE file in the root directory of this source tree. An additional grant // of patent rights can be found in the PATENTS file in the same directory. #include <unistd.h> #inclu...
27.04
148
0.595266
fasShare
0e702dca9016f0b45aac2e65410bd313a18e8745
34,122
hpp
C++
libs/boost_1_72_0/boost/spirit/home/support/char_encoding/unicode/uppercase_table.hpp
henrywarhurst/matrix
317a2a7c35c1c7e3730986668ad2270dc19809ef
[ "BSD-3-Clause" ]
null
null
null
libs/boost_1_72_0/boost/spirit/home/support/char_encoding/unicode/uppercase_table.hpp
henrywarhurst/matrix
317a2a7c35c1c7e3730986668ad2270dc19809ef
[ "BSD-3-Clause" ]
null
null
null
libs/boost_1_72_0/boost/spirit/home/support/char_encoding/unicode/uppercase_table.hpp
henrywarhurst/matrix
317a2a7c35c1c7e3730986668ad2270dc19809ef
[ "BSD-3-Clause" ]
null
null
null
/*============================================================================= Copyright (c) 2001-2011 Joel de Guzman 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) AUTOGENERATED. DO NOT EDIT!!! ======...
69.636735
80
0.370523
henrywarhurst
0e70deb4357fff835a0badeff42683287d3c0720
677
cpp
C++
solutions/1066/union_find.cpp
buptlxb/hihoCoder
1995bdfda29d4dab98c002870ef0bc138bc37ce7
[ "Apache-2.0" ]
44
2016-05-11T06:41:14.000Z
2021-12-20T13:45:41.000Z
solutions/1066/union_find.cpp
buptlxb/hihoCoder
1995bdfda29d4dab98c002870ef0bc138bc37ce7
[ "Apache-2.0" ]
null
null
null
solutions/1066/union_find.cpp
buptlxb/hihoCoder
1995bdfda29d4dab98c002870ef0bc138bc37ce7
[ "Apache-2.0" ]
10
2016-06-25T08:55:20.000Z
2018-07-06T05:52:53.000Z
#include <iostream> #include <map> using namespace std; map<string, string> s; string represent(string n1) { if (s[n1].empty() || s[n1] == n1) { s[n1] = n1; } else { s[n1] = represent(s[n1]); } return s[n1]; } void merge(string n1, string n2) { s[represent(n1)] = represent(n2); }...
15.744186
57
0.487445
buptlxb
0e715472e2692b00d0d0bc907f97db25fa5abcf1
348
cc
C++
tests/cpp/metric/test_metric.cc
cnheider/xgboost
e7fbc8591fa7277ee4c474b7371c48c11b34cbde
[ "Apache-2.0" ]
40
2017-02-05T07:58:44.000Z
2022-01-25T22:53:00.000Z
tests/cpp/metric/test_metric.cc
cnheider/xgboost
e7fbc8591fa7277ee4c474b7371c48c11b34cbde
[ "Apache-2.0" ]
26
2017-06-01T05:41:01.000Z
2020-11-30T08:56:48.000Z
tests/cpp/metric/test_metric.cc
cnheider/xgboost
e7fbc8591fa7277ee4c474b7371c48c11b34cbde
[ "Apache-2.0" ]
27
2017-04-12T13:15:48.000Z
2020-04-12T08:43:51.000Z
// Copyright by Contributors #include <xgboost/metric.h> #include "../helpers.h" TEST(Metric, UnknownMetric) { EXPECT_ANY_THROW(xgboost::Metric::Create("unknown_name")); EXPECT_NO_THROW(xgboost::Metric::Create("rmse")); EXPECT_ANY_THROW(xgboost::Metric::Create("unknown_name@1")); EXPECT_NO_THROW(xgboost::Metr...
29
62
0.735632
cnheider
0e722eed8c45c96f945f86eea8b4167941be023f
737
hpp
C++
src/lib/ecl/matrix/matrix/Scalar.hpp
shening/PX4-1.34-Vision-Fix
1e696bc1c2dae71ba7b277d40106a5b6c0a1a050
[ "BSD-3-Clause" ]
24
2019-08-13T02:39:01.000Z
2022-03-03T15:44:54.000Z
src/lib/ecl/matrix/matrix/Scalar.hpp
shening/PX4-1.34-Vision-Fix
1e696bc1c2dae71ba7b277d40106a5b6c0a1a050
[ "BSD-3-Clause" ]
4
2020-11-16T02:03:09.000Z
2021-08-19T08:16:48.000Z
src/lib/ecl/matrix/matrix/Scalar.hpp
shening/PX4-1.34-Vision-Fix
1e696bc1c2dae71ba7b277d40106a5b6c0a1a050
[ "BSD-3-Clause" ]
11
2019-07-28T09:11:40.000Z
2022-03-17T08:08:27.000Z
/** * @file Scalar.hpp * * Defines conversion of matrix to scalar. * * @author James Goppert <james.goppert@gmail.com> */ #pragma once #include <stdio.h> #include <stddef.h> #include <stdlib.h> #include <string.h> #include <math.h> #include "math.hpp" namespace matrix { template<typename Type> class Scalar {...
13.160714
54
0.587517
shening
0e740451d792f20641256e992647134aab9abfd4
767
cpp
C++
foo_dsp_effect/main.cpp
jpbattaille/foobar2000-plugins
2e52c26a9ab5e65091338e600a2c433d8b600704
[ "Unlicense" ]
null
null
null
foo_dsp_effect/main.cpp
jpbattaille/foobar2000-plugins
2e52c26a9ab5e65091338e600a2c433d8b600704
[ "Unlicense" ]
null
null
null
foo_dsp_effect/main.cpp
jpbattaille/foobar2000-plugins
2e52c26a9ab5e65091338e600a2c433d8b600704
[ "Unlicense" ]
null
null
null
#include "../SDK/foobar2000.h" #include "SoundTouch/SoundTouch.h" #include "dsp_guids.h" #define MYVERSION "0.42" static pfc::string_formatter g_get_component_about() { pfc::string_formatter about; about << "A special effect DSP for foobar2000.\n"; about << "Written by mudlord (mudlord@protonmail.com).\n"; about <...
29.5
90
0.73794
jpbattaille
0e744b167659afb78c417ea63bdb4f005dff6ff3
7,804
cpp
C++
cores/n64/GLideN64/src/Graphics/Context.cpp
wulfebw/retro
dad4b509e99e729e39a2f27e9ee4120e3b607f58
[ "MIT-0", "MIT" ]
7
2020-07-20T12:11:35.000Z
2021-12-23T02:09:19.000Z
cores/n64/GLideN64/src/Graphics/Context.cpp
wulfebw/retro
dad4b509e99e729e39a2f27e9ee4120e3b607f58
[ "MIT-0", "MIT" ]
null
null
null
cores/n64/GLideN64/src/Graphics/Context.cpp
wulfebw/retro
dad4b509e99e729e39a2f27e9ee4120e3b607f58
[ "MIT-0", "MIT" ]
1
2020-08-29T16:36:48.000Z
2020-08-29T16:36:48.000Z
#include "Context.h" #include "OpenGLContext/opengl_ContextImpl.h" using namespace graphics; Context gfxContext; bool Context::Multisampling = false; bool Context::BlitFramebuffer = false; bool Context::WeakBlitFramebuffer = false; bool Context::DepthFramebufferTextures = false; bool Context::ShaderProgramBinary = f...
22.489914
112
0.782035
wulfebw