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
6eafe9cb59a4c7d0f53033ba8e903c6ed9e55207
4,055
hpp
C++
components/structures/include/ftl/data/new_frameset.hpp
knicos/voltu
70b39da7069f8ffd7e33aeb5bdacc84fe4a78f01
[ "MIT" ]
4
2020-12-28T15:29:15.000Z
2021-06-27T12:37:15.000Z
components/structures/include/ftl/data/new_frameset.hpp
knicos/voltu
70b39da7069f8ffd7e33aeb5bdacc84fe4a78f01
[ "MIT" ]
null
null
null
components/structures/include/ftl/data/new_frameset.hpp
knicos/voltu
70b39da7069f8ffd7e33aeb5bdacc84fe4a78f01
[ "MIT" ]
2
2021-01-13T05:28:39.000Z
2021-05-04T03:37:11.000Z
#ifndef _FTL_DATA_NFRAMESET_HPP_ #define _FTL_DATA_NFRAMESET_HPP_ #include <ftl/threads.hpp> #include <ftl/timer.hpp> #include <ftl/data/new_frame.hpp> #include <ftl/utility/intrinsics.hpp> #include <functional> //#include <opencv2/opencv.hpp> #include <vector> namespace ftl { namespace data { // Allows a latency o...
25.34375
87
0.693711
knicos
6eb68ae0d50e51b6645fa88451887be88d8954e8
251
hpp
C++
editor/ui/windows/inspector/status/status_sceneobject.hpp
chokomancarr/chokoengine2
2825f2b95d24689f4731b096c8be39cc9a0f759a
[ "Apache-2.0" ]
null
null
null
editor/ui/windows/inspector/status/status_sceneobject.hpp
chokomancarr/chokoengine2
2825f2b95d24689f4731b096c8be39cc9a0f759a
[ "Apache-2.0" ]
null
null
null
editor/ui/windows/inspector/status/status_sceneobject.hpp
chokomancarr/chokoengine2
2825f2b95d24689f4731b096c8be39cc9a0f759a
[ "Apache-2.0" ]
null
null
null
#pragma once #include "chokoeditor.hpp" CE_BEGIN_ED_NAMESPACE class EW_IS_SceneObject : public EW_I_Status { public: bool expanded = false; int childHeight = 0; EW_I_Status::UMap components = EW_I_Status::UMap(); }; CE_END_ED_NAMESPACE
17.928571
55
0.749004
chokomancarr
6ebac47afa2efeed3ac3c7a06b4f0ce30f10cbb1
613
hpp
C++
inc/openssl/openssl_ecdsa.hpp
finlchain/fvm
87ac95227aeec88f27198374830a8289fcdfd1a9
[ "MIT" ]
null
null
null
inc/openssl/openssl_ecdsa.hpp
finlchain/fvm
87ac95227aeec88f27198374830a8289fcdfd1a9
[ "MIT" ]
null
null
null
inc/openssl/openssl_ecdsa.hpp
finlchain/fvm
87ac95227aeec88f27198374830a8289fcdfd1a9
[ "MIT" ]
null
null
null
/** * Description : * * @date 2021/01/21 * @author FINL Chain Team * @version 1.0 */ #ifndef __OPENSSL_ECDSA_HPP__ #define __OPENSSL_ECDSA_HPP__ #ifdef __cplusplus extern "C" { #endif // extern EVP_PKEY *openssl_get_ec_pkey(char *p_prikey_str, int32_t ec_algo) ; // extern int32_t openssl_...
21.137931
136
0.730832
finlchain
6ec08bdb415f88d0fd904866710d7bb642703013
13,657
cpp
C++
Code/Ports/MD3Port/MD3PointConf.cpp
ScottEllisNovatex/opendatacon
1d5a6627db88f0335615c67d4417791651f0944c
[ "ECL-2.0", "Apache-2.0" ]
12
2018-01-23T20:16:03.000Z
2020-08-01T16:31:56.000Z
Code/Ports/MD3Port/MD3PointConf.cpp
ScottEllisNovatex/opendatacon
1d5a6627db88f0335615c67d4417791651f0944c
[ "ECL-2.0", "Apache-2.0" ]
83
2015-07-16T07:41:05.000Z
2022-02-21T06:26:03.000Z
Code/Ports/MD3Port/MD3PointConf.cpp
ScottEllisNovatex/opendatacon
1d5a6627db88f0335615c67d4417791651f0944c
[ "ECL-2.0", "Apache-2.0" ]
12
2018-01-22T00:48:53.000Z
2021-02-03T11:06:39.000Z
/* opendatacon * * Copyright (c) 2018: * * DCrip3fJguWgVCLrZFfA7sIGgvx1Ou3fHfCxnrz4svAi * yxeOtDhDCXf1Z4ApgXvX5ahqQmzRfJ2DoX8S05SqHA== * * 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 * * h...
30.621076
178
0.674746
ScottEllisNovatex
6ec4e17f33db4a370d14ca556a143da263b6de86
7,710
cpp
C++
srci/bilinear.cpp
erikedwards4/nn
c4b8317a38a72a16fd0bf905791b6c19e49c0aa7
[ "BSD-3-Clause" ]
1
2020-08-26T09:28:40.000Z
2020-08-26T09:28:40.000Z
srci/bilinear.cpp
erikedwards4/nn
c4b8317a38a72a16fd0bf905791b6c19e49c0aa7
[ "BSD-3-Clause" ]
null
null
null
srci/bilinear.cpp
erikedwards4/nn
c4b8317a38a72a16fd0bf905791b6c19e49c0aa7
[ "BSD-3-Clause" ]
null
null
null
//Includes #include "bilinear.c" //Declarations const valarray<size_t> oktypes = {1u,2u,101u,102u}; const size_t I = 4u, O = 1u; size_t Ni1, Ni2, No, L; //Description string descr; descr += "IN method.\n"; descr += "Bilinear transformation of 2 layers of inputs.\n"; descr += "\n"; descr += "Input X1 has Ni1 neurons a...
53.916084
150
0.56511
erikedwards4
6eca9d2697d7c4cd63999c7a715c8a7d8e087640
3,230
cpp
C++
src/Loaders/NFS3/FRD/PolyBlock.cpp
AmrikSadhra/FCE-To-Obj
a3c928077add2bd5d5f3463daee6008f150a0a54
[ "MIT" ]
212
2019-08-10T16:57:57.000Z
2022-03-30T02:21:05.000Z
src/Loaders/NFS3/FRD/PolyBlock.cpp
AmrikSadhra/FCE-To-Obj
a3c928077add2bd5d5f3463daee6008f150a0a54
[ "MIT" ]
11
2018-07-10T18:01:09.000Z
2019-06-26T13:41:24.000Z
src/Loaders/NFS3/FRD/PolyBlock.cpp
AmrikSadhra/FCE-to-OBJ
a3c928077add2bd5d5f3463daee6008f150a0a54
[ "MIT" ]
20
2020-02-09T02:38:35.000Z
2022-03-23T20:26:28.000Z
#include "PolyBlock.h" using namespace LibOpenNFS::NFS3; PolyBlock::PolyBlock(std::ifstream &frd, uint32_t nTrackBlockPolys) : m_nTrackBlockPolys(nTrackBlockPolys), obj{} { ASSERT(this->_SerializeIn(frd), "Failed to serialize PolyBlock from file stream"); } bool PolyBlock::_SerializeIn(std::ifstream &ifstream) {...
30.761905
113
0.508669
AmrikSadhra
6ece4ca293c53317f3ce6ae3277518386e1f4873
7,023
hxx
C++
src/openlcb/BroadcastTimeServer.hxx
rilull/openmrn
f562c9957d4df2cbde7af6b9ebc70e190bd5f80c
[ "BSD-2-Clause" ]
7
2019-03-03T22:15:01.000Z
2021-12-17T13:09:21.000Z
src/openlcb/BroadcastTimeServer.hxx
rilull/openmrn
f562c9957d4df2cbde7af6b9ebc70e190bd5f80c
[ "BSD-2-Clause" ]
3
2019-10-17T20:51:59.000Z
2020-07-20T20:28:53.000Z
src/openlcb/BroadcastTimeServer.hxx
rilull/openmrn
f562c9957d4df2cbde7af6b9ebc70e190bd5f80c
[ "BSD-2-Clause" ]
7
2020-05-22T21:19:40.000Z
2021-05-30T08:19:55.000Z
/** @copyright * Copyright (c) 2018, Stuart W. Baker * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * - Redistributions of source code must retain the above copyright notice, * thi...
36.388601
80
0.666239
rilull
6ecec92a9c7711fcf34c52832bfc14d728f42dfb
1,379
cpp
C++
codeforces/q3.cpp
nancyanand2807/algorithm-ds
9f79bd9a37bdf858a512ded44aa33040e8a7b9af
[ "MIT" ]
5
2020-10-01T13:08:35.000Z
2021-02-01T17:51:15.000Z
codeforces/q3.cpp
nancyanand2807/algorithm-ds
9f79bd9a37bdf858a512ded44aa33040e8a7b9af
[ "MIT" ]
21
2020-10-01T12:58:05.000Z
2020-10-07T11:58:30.000Z
codeforces/q3.cpp
sansyrox/summer_of_cpp
e07acee254e25febe5b11bc1adc743f5aaf57cc8
[ "MIT" ]
23
2020-10-01T12:59:06.000Z
2020-10-15T13:08:34.000Z
#include<iostream> #include<bits/stdc++.h> using namespace std; #define ll long long #define mp make_pair #define pb push_back bool isSorted(vector<ll> a){ for(ll i=0 ; i<a.size()-1; i++){ if(a[i]<=a[i+1]){ return false; } } return true; } ll dp[1000001]; ll returnMinSteps(vec...
17.2375
66
0.453227
nancyanand2807
6ecef951df0077854a776b896183a8e547863ea8
4,698
cpp
C++
disc-fe/test/core_tests/hierarchic_team_policy.cpp
hillyuan/Tianxin
57c7a5ed2466dda99471dec41cd85878335774d7
[ "BSD-3-Clause" ]
1
2022-03-22T03:49:50.000Z
2022-03-22T03:49:50.000Z
disc-fe/test/core_tests/hierarchic_team_policy.cpp
hillyuan/Tianxin
57c7a5ed2466dda99471dec41cd85878335774d7
[ "BSD-3-Clause" ]
null
null
null
disc-fe/test/core_tests/hierarchic_team_policy.cpp
hillyuan/Tianxin
57c7a5ed2466dda99471dec41cd85878335774d7
[ "BSD-3-Clause" ]
null
null
null
// @HEADER // *********************************************************************** // // Panzer: A partial differential equation assembly // engine for strongly coupled complex multiphysics systems // Copyright (2011) Sandia Corporation // // Under the terms of Contract DE-AC04-94AL85...
39.15
118
0.66539
hillyuan
6ed1f44350cf62939fb1c539e8c3ded0bc7473ad
5,170
cpp
C++
CC/src/SimpleCloud.cpp
ohanlonl/qCMAT
f6ca04fa7c171629f094ee886364c46ff8b27c0b
[ "BSD-Source-Code" ]
null
null
null
CC/src/SimpleCloud.cpp
ohanlonl/qCMAT
f6ca04fa7c171629f094ee886364c46ff8b27c0b
[ "BSD-Source-Code" ]
null
null
null
CC/src/SimpleCloud.cpp
ohanlonl/qCMAT
f6ca04fa7c171629f094ee886364c46ff8b27c0b
[ "BSD-Source-Code" ]
1
2019-02-03T12:19:42.000Z
2019-02-03T12:19:42.000Z
//########################################################################## //# # //# CCLIB # //# # //# This pr...
24.619048
122
0.603868
ohanlonl
6ed597585b57b3f6aa2ef5cf5a724d1b1a8ff6fa
1,726
cpp
C++
ulpc/d_admf/src/CpConfigAsCSV.cpp
nikhilc149/e-utran-features-bug-fixes
4e9d08b54c9181e9790208556ddd716907f7d3d9
[ "Apache-2.0" ]
null
null
null
ulpc/d_admf/src/CpConfigAsCSV.cpp
nikhilc149/e-utran-features-bug-fixes
4e9d08b54c9181e9790208556ddd716907f7d3d9
[ "Apache-2.0" ]
null
null
null
ulpc/d_admf/src/CpConfigAsCSV.cpp
nikhilc149/e-utran-features-bug-fixes
4e9d08b54c9181e9790208556ddd716907f7d3d9
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2020 Sprint * * 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 ...
19.613636
78
0.692932
nikhilc149
6ed5dac18f95e4fc1b05d6033551c0a321ff404f
2,047
cpp
C++
ReferenceDesign/SampleQTHMI/HMIWidgets/CRotationWidget.cpp
zenghuan1/HMI_SDK_LIB
d0d03af04abe07f5ca087cabcbb1e4f4858f266a
[ "BSD-3-Clause" ]
8
2019-01-04T10:08:39.000Z
2021-12-13T16:34:08.000Z
ReferenceDesign/SampleQTHMI/HMIWidgets/CRotationWidget.cpp
zenghuan1/HMI_SDK_LIB
d0d03af04abe07f5ca087cabcbb1e4f4858f266a
[ "BSD-3-Clause" ]
33
2017-07-27T09:51:59.000Z
2018-07-13T09:45:52.000Z
ReferenceDesign/SampleQTHMI/HMIWidgets/CRotationWidget.cpp
JH-G/HMI_SDK_LIB
caa4eac66d1f3b76349ef5d6ca5cf7dd69fcd760
[ "BSD-3-Clause" ]
12
2017-07-28T02:54:53.000Z
2022-02-20T15:48:24.000Z
#include "CRotationWidget.h" #include "HMIFrameWork/log_interface.h" CRotationWidget::CRotationWidget(QWidget *parent) :QLabel(parent) ,m_timer(NULL) ,m_bRotationStarted(false) ,m_nRotationAngle(0) ,m_image() ,m_eDirection(DEFAULT_DIRECTION) { m_timer = new QTimer(this); connect(m_timer...
20.676768
93
0.640938
zenghuan1
6ee132057013d5c465a17e529ad6c61eb84f7ba1
6,627
hh
C++
benchmark/Voter_bench.hh
yishayahu/sto_real
8c7672e1d89727c147a884a9fc9c43f26590bd68
[ "MIT" ]
null
null
null
benchmark/Voter_bench.hh
yishayahu/sto_real
8c7672e1d89727c147a884a9fc9c43f26590bd68
[ "MIT" ]
null
null
null
benchmark/Voter_bench.hh
yishayahu/sto_real
8c7672e1d89727c147a884a9fc9c43f26590bd68
[ "MIT" ]
null
null
null
#pragma once #include <iomanip> #include <PlatformFeatures.hh> #include "sampling.hh" #include "Voter_structs.hh" #include "DB_index.hh" #include "DB_params.hh" #include "DB_hot_oindex.hh" namespace voter { struct constants { static constexpr int num_contestants = 6; static constexpr int64_t max_votes_per_p...
29.717489
103
0.657311
yishayahu
6ee4155f94aa419d2661aa5536bd2ced2d547e35
191
cpp
C++
src/World/Chunk/ChunkSection.cpp
leiapollos/game-engine-cgj-2019-2020
c23f930f9f814a6d796645aa4c994f8d4a69b7c0
[ "MIT" ]
null
null
null
src/World/Chunk/ChunkSection.cpp
leiapollos/game-engine-cgj-2019-2020
c23f930f9f814a6d796645aa4c994f8d4a69b7c0
[ "MIT" ]
null
null
null
src/World/Chunk/ChunkSection.cpp
leiapollos/game-engine-cgj-2019-2020
c23f930f9f814a6d796645aa4c994f8d4a69b7c0
[ "MIT" ]
null
null
null
/*#include "ChunkSection.h" ChunkSection::ChunkSection(World& world): m_pWorld(world) {} Chunk* getChunkBlock(int x, int y, int z) { return &world.getChunkManager().getChunk(x,y,z); }*/
27.285714
60
0.701571
leiapollos
6eed985e5d3d34fde22e722ea244e5204dd2f8d2
8,138
hpp
C++
iiop/include/morbid/iiop/meta_compiler.hpp
felipealmeida/mORBid
3ebc133f9dbe8af1c5cfb39349a0fbf5c125229b
[ "BSL-1.0" ]
2
2018-01-31T07:06:23.000Z
2021-02-18T00:49:05.000Z
iiop/include/morbid/iiop/meta_compiler.hpp
felipealmeida/mORBid
3ebc133f9dbe8af1c5cfb39349a0fbf5c125229b
[ "BSL-1.0" ]
null
null
null
iiop/include/morbid/iiop/meta_compiler.hpp
felipealmeida/mORBid
3ebc133f9dbe8af1c5cfb39349a0fbf5c125229b
[ "BSL-1.0" ]
null
null
null
/* (c) Copyright 2012 Felipe Magno de Almeida * * Distributed under the Boost Software License, Version 1.0. (See * accompanying file LICENSE_1_0.txt or copy at * http://www.boost.org/LICENSE_1_0.txt) */ #ifndef MORBID_IIOP_META_COMPILER_HPP #define MORBID_IIOP_META_COMPILER_HPP #include <morbid/iiop/domain.hpp>...
29.064286
102
0.729786
felipealmeida
6ef2f5bd54309474f7104d077b418397e901be63
320
cpp
C++
CPP, C++ Solutions/1047. Remove All Adjacent Duplicates In String.cpp
arpitkekri/My-Leetcode-Solution-In-CPP
345f1c53c627fce33ee84672c5d3661863367040
[ "MIT" ]
4
2021-06-21T04:32:12.000Z
2021-11-02T04:20:36.000Z
CPP, C++ Solutions/1047. Remove All Adjacent Duplicates In String.cpp
arpitkekri/My-Leetcode-Solution-In-CPP
345f1c53c627fce33ee84672c5d3661863367040
[ "MIT" ]
null
null
null
CPP, C++ Solutions/1047. Remove All Adjacent Duplicates In String.cpp
arpitkekri/My-Leetcode-Solution-In-CPP
345f1c53c627fce33ee84672c5d3661863367040
[ "MIT" ]
2
2021-08-19T11:27:18.000Z
2021-09-26T14:51:30.000Z
// TC - O(n) // SC - O(n) class Solution { public: string removeDuplicates(string s) { int n = s.size(); string ans = ""; for(int i = 0; i < n; i++) { if(ans.size() && ans.back() == s[i]) ans.pop_back(); else ans.push_back(s[i]); } return ans; } };
22.857143
64
0.440625
arpitkekri
6ef5286e1312e89f2f92cfa1b65593526d1412cf
1,808
hpp
C++
mutex_proxy.hpp
hmito/hmLib
0f2515ba9c99c06d02e2fa633eeae73bcd793983
[ "MIT" ]
null
null
null
mutex_proxy.hpp
hmito/hmLib
0f2515ba9c99c06d02e2fa633eeae73bcd793983
[ "MIT" ]
null
null
null
mutex_proxy.hpp
hmito/hmLib
0f2515ba9c99c06d02e2fa633eeae73bcd793983
[ "MIT" ]
1
2015-09-22T03:32:11.000Z
2015-09-22T03:32:11.000Z
#ifndef HMLIB_MUTEXPROXY_INC #define HMLIB_MUTEXPROXY_INC 102 # /*===mutex_proxy=== 汎用Mutexを受け取って代理的に機能する mutex_proxy v1_02/130420 hmIto 空リファレンスを許容するように修正 mutex_proxy v1_01/130412 hmIto try_lockがtry_lockiとなっていた致命的な問題を修正 mutex_proxy:v1_00/130308 hmIto 汎用mutex参照クラス、mutex_proxyを追加 */ #include<functional> #include"exc...
26.202899
71
0.722345
hmito
6ef583ceea04e6f511954bc1c2c6ae4b87d3f7a8
1,878
hh
C++
CosmicRayShieldGeom/inc/CRSScintillatorModuleId.hh
lborrel/Offline
db9f647bad3c702171ab5ffa5ccc04c82b3f8984
[ "Apache-2.0" ]
1
2021-06-23T22:09:28.000Z
2021-06-23T22:09:28.000Z
CosmicRayShieldGeom/inc/CRSScintillatorModuleId.hh
lborrel/Offline
db9f647bad3c702171ab5ffa5ccc04c82b3f8984
[ "Apache-2.0" ]
125
2020-04-03T13:44:30.000Z
2021-10-15T21:29:57.000Z
CosmicRayShieldGeom/inc/CRSScintillatorModuleId.hh
lborrel/Offline
db9f647bad3c702171ab5ffa5ccc04c82b3f8984
[ "Apache-2.0" ]
null
null
null
#ifndef CosmicRayShieldGeom_CRSScintillatorModuleId_hh #define CosmicRayShieldGeom_CRSScintillatorModuleId_hh // // Identifier of one module in CosmicRayShield // // // // Original author KLG; based on Rob Kutschke's SectorId // #include <ostream> #include "CosmicRayShieldGeom/inc/CRSScintillatorShieldId.hh" names...
22.902439
94
0.685836
lborrel
6ef77a0f98c6d81b705465b60ebeba208e0717b1
2,215
hpp
C++
DataSpec/DNAMP2/CINF.hpp
RetroView/RetroCommon
a413a010b50a53ebc6b0c726203181fc179d3370
[ "MIT" ]
106
2021-04-09T19:42:56.000Z
2022-03-30T09:13:28.000Z
DataSpec/DNAMP2/CINF.hpp
Austint30/metaforce
a491e2e9f229c8db92544b275cd1baa80bacfd17
[ "MIT" ]
58
2021-04-09T12:48:58.000Z
2022-03-22T00:11:42.000Z
DataSpec/DNAMP2/CINF.hpp
Austint30/metaforce
a491e2e9f229c8db92544b275cd1baa80bacfd17
[ "MIT" ]
13
2021-04-06T23:23:20.000Z
2022-03-16T02:09:48.000Z
#pragma once #include "DataSpec/DNACommon/DNACommon.hpp" #include "DataSpec/DNACommon/RigInverter.hpp" #include "DNAMP2.hpp" namespace DataSpec::DNAMP2 { struct CINF : BigDNA { AT_DECL_DNA Value<atUint32> boneCount; struct Bone : BigDNA { AT_DECL_DNA Value<atUint32> id; Value<atUint32> parentId; ...
35.15873
117
0.716027
RetroView
6ef93e6d4ba32714e5698ca06eabe43f62c25beb
3,843
cpp
C++
Arduino/Libraries/MenloPlatform/MenloPlatformArm.cpp
menloparkinnovation/openpux
d6c45124343675e2d6be60e968b763ea975b7b80
[ "Apache-2.0" ]
3
2016-01-04T16:17:00.000Z
2019-12-24T14:09:58.000Z
Arduino/Libraries/MenloPlatform/MenloPlatformArm.cpp
menloparkinnovation/openpux
d6c45124343675e2d6be60e968b763ea975b7b80
[ "Apache-2.0" ]
null
null
null
Arduino/Libraries/MenloPlatform/MenloPlatformArm.cpp
menloparkinnovation/openpux
d6c45124343675e2d6be60e968b763ea975b7b80
[ "Apache-2.0" ]
2
2019-09-27T04:42:42.000Z
2019-12-24T14:10:00.000Z
/* * Copyright (C) 2015 Menlo Park Innovation LLC * * This is licensed software, all rights as to the software * is reserved by Menlo Park Innovation LLC. * * A license included with the distribution provides certain limited * rights to a given distribution of the work. * * This distribution includes a copy o...
21.711864
79
0.672652
menloparkinnovation
6efa1ddbc8bd8012c9c82697dec646d20884d9be
1,535
cpp
C++
src/iotjs_module_constants.cpp
chivalry02/iotjs
a7007b88120a020c5ece835811cec9ded48f9f2b
[ "Apache-2.0" ]
null
null
null
src/iotjs_module_constants.cpp
chivalry02/iotjs
a7007b88120a020c5ece835811cec9ded48f9f2b
[ "Apache-2.0" ]
null
null
null
src/iotjs_module_constants.cpp
chivalry02/iotjs
a7007b88120a020c5ece835811cec9ded48f9f2b
[ "Apache-2.0" ]
1
2021-01-16T18:15:34.000Z
2021-01-16T18:15:34.000Z
/* Copyright 2015 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable la...
25.583333
75
0.715961
chivalry02
6efa268fef73fb20f485a5e38aa6e70522c338a2
12,139
cpp
C++
Official Windows Platform Sample/Windows 8.1 desktop samples/[C++]-Windows 8.1 desktop samples/Extract app bundle contents sample/C++/ExtractBundle.cpp
zzgchina888/msdn-code-gallery-microsoft
21cb9b6bc0da3b234c5854ecac449cb3bd261f29
[ "MIT" ]
8
2017-04-30T17:38:27.000Z
2021-11-29T00:59:03.000Z
Samples/AppxPackingExtractBundle/cpp/ExtractBundle.cpp
TomeSq/Windows-classic-samples
96f883e4c900948e39660ec14a200a5164a3c7b7
[ "MIT" ]
1
2022-03-15T04:21:41.000Z
2022-03-15T04:21:41.000Z
Samples/AppxPackingExtractBundle/cpp/ExtractBundle.cpp
TomeSq/Windows-classic-samples
96f883e4c900948e39660ec14a200a5164a3c7b7
[ "MIT" ]
2
2020-08-11T13:21:49.000Z
2021-09-01T10:41:51.000Z
// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF // ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO // THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A // PARTICULAR PURPOSE. // // Copyright (c) Microsoft Corporation. All rights reserved // This is a simple ...
30.196517
87
0.596919
zzgchina888
3e049a6a00ffe2ae32607fe6fda9d1856270b945
1,819
cpp
C++
src/game/systems/player_respawn_system.cpp
Rewlion/Asteroids
3812d8e229e6feba86b17a62c6b41894becc776a
[ "MIT" ]
null
null
null
src/game/systems/player_respawn_system.cpp
Rewlion/Asteroids
3812d8e229e6feba86b17a62c6b41894becc776a
[ "MIT" ]
1
2021-10-03T22:59:52.000Z
2021-10-03T22:59:52.000Z
src/game/systems/player_respawn_system.cpp
Rewlion/Asteroids
3812d8e229e6feba86b17a62c6b41894becc776a
[ "MIT" ]
1
2021-11-12T17:24:21.000Z
2021-11-12T17:24:21.000Z
#include "player_respawn_system.h" #include <engine/ecs/Context.h> #include <engine/collision/entity_collides_component.h> #include <engine/utils/time/utils.h> #include <engine/renderer/field_component.h> #include <game/components/player_component.h> #include <game/components/spawn_request_component.h> #include <game/...
41.340909
144
0.767455
Rewlion
3e0dcb214b4ac28f94d0d8b7c62baf9d24e25e76
511
cpp
C++
src/game-ui/ui_text_element.cpp
astrellon/simple-space
20e98d4f562a78b1efeaedb0a0012f3c9306ac7e
[ "MIT" ]
1
2020-09-23T11:17:35.000Z
2020-09-23T11:17:35.000Z
src/game-ui/ui_text_element.cpp
astrellon/simple-space
20e98d4f562a78b1efeaedb0a0012f3c9306ac7e
[ "MIT" ]
null
null
null
src/game-ui/ui_text_element.cpp
astrellon/simple-space
20e98d4f562a78b1efeaedb0a0012f3c9306ac7e
[ "MIT" ]
null
null
null
#include "ui_text_element.hpp" #include "../render_camera.hpp" #include "../debug/draw_debug.hpp" #include "./game_ui_manager.hpp" namespace space { void UITextElement::init(GameUIManager &uiManager) { font(uiManager.defaultFont()); widthAuto(); height(24); } void UITextElem...
22.217391
70
0.665362
astrellon
3e0e79f029ece17679ba1f7703adc6fb3f009bac
4,608
cc
C++
include/jhc/impl/hex_encode.cc
winsoft666/akali_hpp
0f8091dabaccea9b7476f6e57e7ad81269b4fe4a
[ "MIT" ]
2
2022-02-27T05:03:45.000Z
2022-03-07T03:36:52.000Z
include/jhc/impl/hex_encode.cc
winsoft666/akali_hpp
0f8091dabaccea9b7476f6e57e7ad81269b4fe4a
[ "MIT" ]
null
null
null
include/jhc/impl/hex_encode.cc
winsoft666/akali_hpp
0f8091dabaccea9b7476f6e57e7ad81269b4fe4a
[ "MIT" ]
1
2022-02-27T05:04:00.000Z
2022-02-27T05:04:00.000Z
#include "jhc/config.hpp" #ifdef JHC_NOT_HEADER_ONLY #include "../hex_encode.hpp" #endif namespace jhc { JHC_INLINE char HexEncode::Encode(unsigned char val) { const char HEX[] = "0123456789abcdef"; assert(val < 16); return (val < 16) ? HEX[val] : '!'; } JHC_INLINE bool HexEncode::Decode(char ch, unsigne...
29.922078
106
0.52474
winsoft666
3e11ccdd99526b4d6f238b0b0fc9c94ccad29ffc
1,999
cpp
C++
GameEngineX/Source/Core/TransformationMatrixStack.cpp
GeorgeHanna/BarebonesGameEngine
39a122832a4b050fff117114d1ba37bbd72edd42
[ "MIT" ]
null
null
null
GameEngineX/Source/Core/TransformationMatrixStack.cpp
GeorgeHanna/BarebonesGameEngine
39a122832a4b050fff117114d1ba37bbd72edd42
[ "MIT" ]
null
null
null
GameEngineX/Source/Core/TransformationMatrixStack.cpp
GeorgeHanna/BarebonesGameEngine
39a122832a4b050fff117114d1ba37bbd72edd42
[ "MIT" ]
null
null
null
// // TransformationMatrixStack.cpp // GameEngineX // // Created by George Hanna on 20/05/16. // Copyright © 2016 George Hanna. All rights reserved. // #include "TransformationMatrixStack.hpp" namespace TransformationMatrixStack { TransformationMatrixStack* _matrixstack; void Initialize() { ...
25.628205
91
0.541771
GeorgeHanna
3e1479dd8cf889f45681b118e95cec7bcc07a683
821
cpp
C++
LyraEngine/src/core/rendering/vulkan/vertex.cpp
zhuzhile08/lyra-engine
3b5de9e91a25642ce8f763c49b25dc443e0e36fd
[ "MIT" ]
null
null
null
LyraEngine/src/core/rendering/vulkan/vertex.cpp
zhuzhile08/lyra-engine
3b5de9e91a25642ce8f763c49b25dc443e0e36fd
[ "MIT" ]
1
2022-03-13T19:48:33.000Z
2022-03-31T19:25:35.000Z
LyraEngine/src/core/rendering/vulkan/vertex.cpp
zhuzhile08/lyra-engine
3b5de9e91a25642ce8f763c49b25dc443e0e36fd
[ "MIT" ]
null
null
null
#include <core/rendering/vulkan/vertex.h> namespace lyra { Vertex::Vertex() { } Vertex::Vertex(glm::vec3 pos, glm::vec3 normal, glm::vec2 uv, glm::vec3 color) : pos(pos), normal(normal), color(color), uv(uv) { } const VkVertexInputBindingDescription Vertex::get_binding_description() noexcept { return { 0, size...
17.847826
131
0.676005
zhuzhile08
3e160b8c78c00dfde9372d2a87f67bd67a015944
13,015
cpp
C++
src/chapter_10_archives_images_and_databases/problem_087_handling_images_in_an_sqlite_db.cpp
rturrado/the_modern_cpp_challenge
a569a1538802a44c3b7c44134c06c73727f2b5e3
[ "MIT" ]
null
null
null
src/chapter_10_archives_images_and_databases/problem_087_handling_images_in_an_sqlite_db.cpp
rturrado/the_modern_cpp_challenge
a569a1538802a44c3b7c44134c06c73727f2b5e3
[ "MIT" ]
null
null
null
src/chapter_10_archives_images_and_databases/problem_087_handling_images_in_an_sqlite_db.cpp
rturrado/the_modern_cpp_challenge
a569a1538802a44c3b7c44134c06c73727f2b5e3
[ "MIT" ]
null
null
null
#include "chapter_09_data_serialization/movies.h" #include "chapter_10_archives_images_and_databases.h" #include "chapter_10_archives_images_and_databases/sqlite_movies.h" #include "rtc/sstream.h" // get_unread #include "rtc/string.h" // to_lowercase #include <filesystem> #include <format> #include <iostream> // c...
33.893229
140
0.658164
rturrado
3e16a11cfdcbf404986fc4ae1c1cad3dfaceb26d
1,601
hh
C++
isaac_variant_caller/src/lib/blt_util/stringer.hh
sequencing/isaac_variant_caller
ed24e20b097ee04629f61014d3b81a6ea902c66b
[ "BSL-1.0" ]
21
2015-01-09T01:11:28.000Z
2019-09-04T03:48:21.000Z
isaac_variant_caller/src/lib/blt_util/stringer.hh
sequencing/isaac_variant_caller
ed24e20b097ee04629f61014d3b81a6ea902c66b
[ "BSL-1.0" ]
4
2015-07-23T09:38:39.000Z
2018-02-01T05:37:26.000Z
isaac_variant_caller/src/lib/blt_util/stringer.hh
sequencing/isaac_variant_caller
ed24e20b097ee04629f61014d3b81a6ea902c66b
[ "BSL-1.0" ]
13
2015-01-29T16:41:26.000Z
2021-06-25T02:42:32.000Z
// -*- mode: c++; indent-tabs-mode: nil; -*- // // Copyright (c) 2009-2013 Illumina, Inc. // // This software is provided under the terms and conditions of the // Illumina Open Source Software License 1. // // You should have received a copy of the Illumina Open Source // Software License 1 along with this program. If ...
21.346667
94
0.664585
sequencing
3e188b89faf68fcc8fa897d1dadf35be57aa3a10
17,749
cpp
C++
src/gpu/GrSurfaceProxy.cpp
onlyyou2023/tingskia
4e8c00df69ab8fb986f4985a393fd83c313b8909
[ "BSD-3-Clause" ]
null
null
null
src/gpu/GrSurfaceProxy.cpp
onlyyou2023/tingskia
4e8c00df69ab8fb986f4985a393fd83c313b8909
[ "BSD-3-Clause" ]
null
null
null
src/gpu/GrSurfaceProxy.cpp
onlyyou2023/tingskia
4e8c00df69ab8fb986f4985a393fd83c313b8909
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright 2016 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "GrSurfaceProxy.h" #include "GrSurfaceProxyPriv.h" #include "GrCaps.h" #include "GrContext.h" #include "GrContextPriv.h" #include "GrGpuResourcePriv.h" #include "GrO...
35.92915
100
0.589329
onlyyou2023
4a3cb96166db3d8b4f2c34df754988273de8fe40
3,477
cpp
C++
drivers/storage/atapio/src/atapio.cpp
AlexandreRouma/MemeOS
b3996f23a30b95d8bb0899207e9ebf7c3f7fe37e
[ "MIT" ]
12
2018-05-02T21:41:46.000Z
2022-02-22T00:50:05.000Z
drivers/storage/atapio/src/atapio.cpp
AlexandreRouma/MemeOS
b3996f23a30b95d8bb0899207e9ebf7c3f7fe37e
[ "MIT" ]
1
2020-05-15T05:23:23.000Z
2020-05-15T19:40:03.000Z
drivers/storage/atapio/src/atapio.cpp
AlexandreRouma/MemeOS
b3996f23a30b95d8bb0899207e9ebf7c3f7fe37e
[ "MIT" ]
3
2018-03-20T17:35:31.000Z
2021-10-01T17:43:55.000Z
#include <stdint.h> #include <drivers/storage/atapio/atapio.h> #include <libs/kernel/io.h> #include <libs/kernel/panic.h> #include <drivers/timer/pit.h> #include <drivers/text_term/terminal.h> #include <libs/std/math.h> ATAPIO_Class ATAPIO; extern "C" void __cxa_pure_virtual() { while (1); } int selectDrive(int driv...
30.769912
105
0.594478
AlexandreRouma
4a3e45cd3350182fe9ca330ca756eb52f734974c
542
cpp
C++
CODEFORCES/A Variety of Operations.cpp
HassanRahim26/COMPETITIVE-PROGRAMMING
a2d13fd27cc5e3e78612a5be500ccbe57f9201b8
[ "MIT" ]
2
2021-07-31T15:40:56.000Z
2021-08-25T10:04:00.000Z
CODEFORCES/A Variety of Operations.cpp
HassanRahim26/COMPETITIVE-PROGRAMMING
a2d13fd27cc5e3e78612a5be500ccbe57f9201b8
[ "MIT" ]
null
null
null
CODEFORCES/A Variety of Operations.cpp
HassanRahim26/COMPETITIVE-PROGRAMMING
a2d13fd27cc5e3e78612a5be500ccbe57f9201b8
[ "MIT" ]
null
null
null
/* PROBLEM LINK:- https://codeforces.com/contest/1556/problem/A */ #include<bits/stdc++.h> #define ll long long #define test ll t; cin >> t; while(t--) #define FOR for(ll i = 0; i < n; i++) #define nn "\n" using namespace std; int main() { ios::sync_with_stdio(false); cin.tie(0); cout.tie(0); test { ll c, d; c...
13.219512
60
0.501845
HassanRahim26
4a3f1f7238bbdc56a6e45a83b273e5acaf6bc026
1,097
hpp
C++
libs/fnd/memory/include/bksge/fnd/memory/uninitialized_move_n.hpp
myoukaku/bksge
0f8b60e475a3f1709723906e4796b5e60decf06e
[ "MIT" ]
4
2018-06-10T13:35:32.000Z
2021-06-03T14:27:41.000Z
libs/fnd/memory/include/bksge/fnd/memory/uninitialized_move_n.hpp
myoukaku/bksge
0f8b60e475a3f1709723906e4796b5e60decf06e
[ "MIT" ]
566
2017-01-31T05:36:09.000Z
2022-02-09T05:04:37.000Z
libs/fnd/memory/include/bksge/fnd/memory/uninitialized_move_n.hpp
myoukaku/bksge
0f8b60e475a3f1709723906e4796b5e60decf06e
[ "MIT" ]
1
2018-07-05T04:40:53.000Z
2018-07-05T04:40:53.000Z
/** * @file uninitialized_move_n.hpp * * @brief uninitialized_move_n を定義 * * @author myoukaku */ #ifndef BKSGE_FND_MEMORY_UNINITIALIZED_MOVE_N_HPP #define BKSGE_FND_MEMORY_UNINITIALIZED_MOVE_N_HPP #include <memory> #if defined(__cpp_lib_raw_memory_algorithms) && (__cpp_lib_raw_memory_algorithms >...
23.340426
92
0.760255
myoukaku
4a4adba259cc54dc848451b024418c2db57ea1e9
8,521
cpp
C++
csapex_vision/src/mask_refinement_adapter.cpp
AdrianZw/csapex_core_plugins
1b23c90af7e552c3fc37c7dda589d751d2aae97f
[ "BSD-3-Clause" ]
2
2016-09-02T15:33:22.000Z
2019-05-06T22:09:33.000Z
csapex_vision/src/mask_refinement_adapter.cpp
AdrianZw/csapex_core_plugins
1b23c90af7e552c3fc37c7dda589d751d2aae97f
[ "BSD-3-Clause" ]
1
2021-02-14T19:53:30.000Z
2021-02-14T19:53:30.000Z
csapex_vision/src/mask_refinement_adapter.cpp
AdrianZw/csapex_core_plugins
1b23c90af7e552c3fc37c7dda589d751d2aae97f
[ "BSD-3-Clause" ]
6
2016-10-12T00:55:23.000Z
2021-02-10T17:49:25.000Z
/// HEADER #include "mask_refinement_adapter.h" /// PROJECT #include <csapex/model/node_facade_impl.h> #include <csapex/msg/io.h> #include <csapex/view/utility/register_node_adapter.h> #include <csapex/utility/yaml.h> /// SYSTEM #include <QBitmap> #include <QCheckBox> #include <QGraphicsPixmapItem> #include <QGraphic...
26.711599
133
0.614012
AdrianZw
4a4ea905e5b07c7c4321419f6c5eaf44dee047a6
2,384
cpp
C++
nrf52-remote-display/src/display.cpp
chacal/arduino
6b77e59138a36d0627ab6f529e6f2ea7e65bcdfd
[ "Apache-2.0" ]
4
2016-12-10T13:20:52.000Z
2019-10-25T19:47:44.000Z
nrf52-remote-display/src/display.cpp
chacal/arduino
6b77e59138a36d0627ab6f529e6f2ea7e65bcdfd
[ "Apache-2.0" ]
null
null
null
nrf52-remote-display/src/display.cpp
chacal/arduino
6b77e59138a36d0627ab6f529e6f2ea7e65bcdfd
[ "Apache-2.0" ]
1
2019-05-03T17:31:38.000Z
2019-05-03T17:31:38.000Z
#include "display.hpp" #define CONTRAST 230 display::display() { u8g2_Setup_st7565_nhd_c12864_f(&u8g2, U8G2_R0, adapter.u8x8_byte_nrf52_hw_spi, adapter.u8x8_gpio_and_delay_nrf52); u8g2_InitDisplay(&u8g2); u8g2_SetContrast(&u8g2, CONTRAST); u8g2_SetFont(&u8g2, u8g2_font_helvB10_tr); u8g2_ClearDisplay(&...
28.047059
116
0.685822
chacal
4a50eba294759c02582e9e879082281cc92b439c
451
cpp
C++
HackerRank/Contests/w21/kangaroo.cpp
Diggzinc/solutions-spoj
eb552311011e466039e059cce07894fea0817613
[ "MIT" ]
null
null
null
HackerRank/Contests/w21/kangaroo.cpp
Diggzinc/solutions-spoj
eb552311011e466039e059cce07894fea0817613
[ "MIT" ]
null
null
null
HackerRank/Contests/w21/kangaroo.cpp
Diggzinc/solutions-spoj
eb552311011e466039e059cce07894fea0817613
[ "MIT" ]
null
null
null
#include <cmath> #include <cstdio> #include <vector> #include <queue> #include <iostream> #include <algorithm> #include <bitset> using namespace std; bool isInt(double k) { return floor(abs(k)) == abs(k); } int main() { int x1, v1, x2, v2; cin >> x1 >> v1 >> x2 >> v2; double x = x1 - x2; double v = v2 - v1; ...
13.666667
41
0.563193
Diggzinc
4a52365be3b5cff27095b4a86ff50a6f2be863fb
461
cpp
C++
NKZX_NOI_OJ/P1336.cpp
Rose2073/RoseCppSource
bdaf5de04049b07bbe0e1ef976d1fbe72520fa03
[ "Apache-2.0" ]
1
2021-04-05T16:26:00.000Z
2021-04-05T16:26:00.000Z
NKZX_NOI_OJ/P1336.cpp
Rose2073/RoseCppSource
bdaf5de04049b07bbe0e1ef976d1fbe72520fa03
[ "Apache-2.0" ]
null
null
null
NKZX_NOI_OJ/P1336.cpp
Rose2073/RoseCppSource
bdaf5de04049b07bbe0e1ef976d1fbe72520fa03
[ "Apache-2.0" ]
null
null
null
#include<cstdio> int v[101][101]; int main(){ int n,i=2,x=1,y=0; scanf("%d",&n); v[0][0]=1; while(i<n*n){ while(x>=0&&y<n) v[y++][x--]=i++;x++; if(y==n){ y--;x++; } while(x<n&&y>=0) v[y--][x++]=i++;y++; if(x==n){ x--;y++; } } ...
19.208333
45
0.336226
Rose2073
4a52f9fba070f9abd284f2514ddec9f6b5fd4445
2,124
cpp
C++
Algorithms/Dijkstra.cpp
utkarsh-1997/Code-Repo
47786ae93a7b8cea100b7b7e6478f10403c33baa
[ "MIT" ]
null
null
null
Algorithms/Dijkstra.cpp
utkarsh-1997/Code-Repo
47786ae93a7b8cea100b7b7e6478f10403c33baa
[ "MIT" ]
null
null
null
Algorithms/Dijkstra.cpp
utkarsh-1997/Code-Repo
47786ae93a7b8cea100b7b7e6478f10403c33baa
[ "MIT" ]
null
null
null
// Remmber that Dijkstra's algorithm works only for positive weights. #include<bits/stdc++.h> using namespace std; void findShortestDistances(int N, int start_node, int shortestDistance[], vector<pair<int, int>> graph[]) { priority_queue<pair<int, int>, vector<pair<int, int>>, greater<pair<int, int>>> Q; bool vis...
30.342857
173
0.6629
utkarsh-1997
4a55c0cf89909f5b27f1b7304408ce2e2de08c95
8,605
cc
C++
wrappers/8.1.1/vtkXMLUnstructuredDataWriterWrap.cc
axkibe/node-vtk
900ad7b5500f672519da5aa24c99aa5a96466ef3
[ "BSD-3-Clause" ]
6
2016-02-03T12:48:36.000Z
2020-09-16T15:07:51.000Z
wrappers/8.1.1/vtkXMLUnstructuredDataWriterWrap.cc
axkibe/node-vtk
900ad7b5500f672519da5aa24c99aa5a96466ef3
[ "BSD-3-Clause" ]
4
2016-02-13T01:30:43.000Z
2020-03-30T16:59:32.000Z
wrappers/8.1.1/vtkXMLUnstructuredDataWriterWrap.cc
axkibe/node-vtk
900ad7b5500f672519da5aa24c99aa5a96466ef3
[ "BSD-3-Clause" ]
null
null
null
/* this file has been autogenerated by vtkNodeJsWrap */ /* editing this might proof futile */ #define VTK_WRAPPING_CXX #define VTK_STREAMS_FWD_ONLY #include <nan.h> #include "vtkXMLWriterWrap.h" #include "vtkXMLUnstructuredDataWriterWrap.h" #include "vtkObjectBaseWrap.h" #include "../../plus/plus.h" using namespace ...
33.352713
121
0.756886
axkibe
4a55cc0a557590cb1dd5f9c3ef87a5a2bbe8265c
10,300
cpp
C++
ExodusImport/Source/ExodusImport/Private/JsonImporter/Texture.cpp
SergeyKarpushin/ProjectExodus
8ab1212de91d9b6f983bf98a06d26bba52381b0a
[ "BSD-3-Clause" ]
null
null
null
ExodusImport/Source/ExodusImport/Private/JsonImporter/Texture.cpp
SergeyKarpushin/ProjectExodus
8ab1212de91d9b6f983bf98a06d26bba52381b0a
[ "BSD-3-Clause" ]
null
null
null
ExodusImport/Source/ExodusImport/Private/JsonImporter/Texture.cpp
SergeyKarpushin/ProjectExodus
8ab1212de91d9b6f983bf98a06d26bba52381b0a
[ "BSD-3-Clause" ]
null
null
null
#include "JsonImportPrivatePCH.h" #include "JsonImporter.h" #include "Engine/TextureCube.h" #include "Factories/TextureFactory.h" #include "UnrealUtilities.h" #include "AssetRegistryModule.h" #include "JsonObjects.h" using namespace UnrealUtilities; UTextureCube* JsonImporter::getCubemap(int32 id) const{ if (id < 0)...
33.441558
155
0.719806
SergeyKarpushin
4a682ceac4b51309d41d056459f3f2f337c6f3af
2,429
cpp
C++
src/kits/network/libnetapi/DatagramSocket.cpp
stasinek/BHAPI
5d9aa61665ae2cc5c6e34415957d49a769325b2b
[ "BSD-3-Clause", "MIT" ]
3
2018-05-21T15:32:32.000Z
2019-03-21T13:34:55.000Z
src/kits/network/libnetapi/DatagramSocket.cpp
stasinek/BHAPI
5d9aa61665ae2cc5c6e34415957d49a769325b2b
[ "BSD-3-Clause", "MIT" ]
null
null
null
src/kits/network/libnetapi/DatagramSocket.cpp
stasinek/BHAPI
5d9aa61665ae2cc5c6e34415957d49a769325b2b
[ "BSD-3-Clause", "MIT" ]
null
null
null
/* * Copyright 2011, Axel Dörfler, axeld@pinc-software.de. * Distributed under the terms of the MIT License. */ #include <DatagramSocket.h> //#define TRACE_SOCKET #ifdef TRACE_SOCKET # define TRACE(x...) printf(x) #else # define TRACE(x...) ; #endif BDatagramSocket::BDatagramSocket() { } BDatagramSocket::BDa...
17.47482
81
0.72499
stasinek
4a68390f3c06a0c32c5f73c1a44d7a8b2bb707bb
864
hpp
C++
tests/generator_extern.hpp
Je06jm/Matrin-Language
2aa440873f926c7fcd70e331b3619bbef5bdf5d9
[ "MIT" ]
null
null
null
tests/generator_extern.hpp
Je06jm/Matrin-Language
2aa440873f926c7fcd70e331b3619bbef5bdf5d9
[ "MIT" ]
null
null
null
tests/generator_extern.hpp
Je06jm/Matrin-Language
2aa440873f926c7fcd70e331b3619bbef5bdf5d9
[ "MIT" ]
null
null
null
#ifndef MARTIN_TEST_GENERATOR_EXTERN #define MARTIN_TEST_GENERATOR_EXTERN #include "testing.hpp" #include <generators/extern.hpp> #include "helpers/validatetree.hpp" #include "helpers/tokennode.hpp" #include "helpers/parseerror.hpp" #include "helpers/subtests.hpp" namespace Martin { class Test_generator_extern ...
29.793103
114
0.668981
Je06jm
4a777057086f534d4764f87d21c9dac7c89639e9
711
cpp
C++
EpicForceEngine/MagnumEngineLib/MagnumCore/GXTextureFilterState.cpp
MacgyverLin/MagnumEngine
975bd4504a1e84cb9698c36e06bd80c7b8ced0ff
[ "MIT" ]
1
2021-03-30T06:28:32.000Z
2021-03-30T06:28:32.000Z
EpicForceEngine/MagnumEngineLib/MagnumCore/GXTextureFilterState.cpp
MacgyverLin/MagnumEngine
975bd4504a1e84cb9698c36e06bd80c7b8ced0ff
[ "MIT" ]
null
null
null
EpicForceEngine/MagnumEngineLib/MagnumCore/GXTextureFilterState.cpp
MacgyverLin/MagnumEngine
975bd4504a1e84cb9698c36e06bd80c7b8ced0ff
[ "MIT" ]
null
null
null
#include "GXTextureFilterState.h" GXTextureFilterState::GXTextureFilterState(const GXTextureMagFilterMode &mag_, const GXTextureMinFilterMode &min_) { set(mag_, min_); } void GXTextureFilterState::set(const GXTextureMagFilterMode &mag_, const GXTextureMinFilterMode &min_) { this->mag = mag_; this->min = min_; } v...
22.21875
114
0.790436
MacgyverLin
4a7a39fd288d233b5efa5eecd67f2012b43de277
3,437
cc
C++
src/output_info.cc
artyomtugaryov/inference-engine-node
20dad9f6002600cde0daf3988492c7fa9a0370e7
[ "Apache-2.0" ]
34
2020-04-20T10:32:50.000Z
2022-01-26T22:38:36.000Z
src/output_info.cc
artyomtugaryov/inference-engine-node
20dad9f6002600cde0daf3988492c7fa9a0370e7
[ "Apache-2.0" ]
50
2020-04-20T02:48:41.000Z
2021-12-09T09:39:42.000Z
src/output_info.cc
artyomtugaryov/inference-engine-node
20dad9f6002600cde0daf3988492c7fa9a0370e7
[ "Apache-2.0" ]
10
2020-04-20T02:45:21.000Z
2022-03-13T07:09:14.000Z
#include "output_info.h" #include "utils.h" #include <napi.h> #include <uv.h> using namespace Napi; namespace ie = InferenceEngine; namespace ienodejs { Napi::FunctionReference OutputInfo::constructor; void OutputInfo::Init(const Napi::Env& env) { Napi::HandleScope scope(env); Napi::Function func = Def...
30.6875
80
0.650858
artyomtugaryov
4a7c118a51d53e71661d94054e6f771203ee9505
5,008
cpp
C++
third-party/Empirical/tests/Evolve/World_structure.cpp
koellingh/empirical-p53-simulator
aa6232f661e8fc65852ab6d3e809339557af521b
[ "MIT" ]
null
null
null
third-party/Empirical/tests/Evolve/World_structure.cpp
koellingh/empirical-p53-simulator
aa6232f661e8fc65852ab6d3e809339557af521b
[ "MIT" ]
null
null
null
third-party/Empirical/tests/Evolve/World_structure.cpp
koellingh/empirical-p53-simulator
aa6232f661e8fc65852ab6d3e809339557af521b
[ "MIT" ]
null
null
null
#define CATCH_CONFIG_MAIN #define EMP_TDEBUG #include "third-party/Catch/single_include/catch2/catch.hpp" #include "emp/Evolve/World_structure.hpp" #include "emp/Evolve/World.hpp" #include <sstream> #include <iostream> TEST_CASE("Test World structure", "[Evolve]") { // SetPools (set pools on a world that is full?)...
29.28655
82
0.689297
koellingh
4a7eef9d8a99deca886357784ee67d889e2eabc1
1,253
cpp
C++
02_Estructuras y Archivos/Practicas/T1_Contador_Hojas.cpp
vazeri/Programacion-Orientada-a-Objetos
57d1dc413956e50d31f34c0bb339b32a176f9616
[ "MIT" ]
null
null
null
02_Estructuras y Archivos/Practicas/T1_Contador_Hojas.cpp
vazeri/Programacion-Orientada-a-Objetos
57d1dc413956e50d31f34c0bb339b32a176f9616
[ "MIT" ]
null
null
null
02_Estructuras y Archivos/Practicas/T1_Contador_Hojas.cpp
vazeri/Programacion-Orientada-a-Objetos
57d1dc413956e50d31f34c0bb339b32a176f9616
[ "MIT" ]
null
null
null
//Programa que cuenta el numero d ehojas de un arbol binario #include "iostream" #include <stdio.h> #include <stdlib.h> using namespace std; struct nodo { int data; struct nodo* left; struct nodo* right; }; // Funcion que cuenta el numero de nodos hojas int conteoHojas(struct nodo* nodo) { if(nodo ...
21.982456
66
0.597765
vazeri
4a8024e6da3f95373d1b6af2a8f0fa26527c8986
1,600
hpp
C++
src/struct/global.hpp
am1w1zz/CppLearn
16db21cb5cc9ca14e488f4f40923b756de18e354
[ "MIT" ]
null
null
null
src/struct/global.hpp
am1w1zz/CppLearn
16db21cb5cc9ca14e488f4f40923b756de18e354
[ "MIT" ]
null
null
null
src/struct/global.hpp
am1w1zz/CppLearn
16db21cb5cc9ca14e488f4f40923b756de18e354
[ "MIT" ]
null
null
null
#define stature(p) ((p) ? (p)->height : -1) #define IsRoot(x) ( ! ( (x).parent ) ) #define IsLChild(x) ( ! IsRoot(x) && ( & (x) == (x).parent->lc ) ) #define IsRChild(x) ( ! IsRoot(x) && ( & (x) == (x).parent->rc ) ) #define HasParent(x) ( ! IsRoot(x) ) #define HasLChild(x) ( (x).lc ) #define HasRChild(x) ( (x).rc ) #d...
47.058824
102
0.538125
am1w1zz
4a872c16f0d2efaed39d9ec48a6428f911a45aca
25
cpp
C++
tests/test_ai.cpp
phiwen96/ph_ai
002b482829acdd1a4d95b88e20ca46b096e3f3da
[ "Apache-2.0" ]
null
null
null
tests/test_ai.cpp
phiwen96/ph_ai
002b482829acdd1a4d95b88e20ca46b096e3f3da
[ "Apache-2.0" ]
null
null
null
tests/test_ai.cpp
phiwen96/ph_ai
002b482829acdd1a4d95b88e20ca46b096e3f3da
[ "Apache-2.0" ]
null
null
null
#include "test_ai.hpp"
6.25
22
0.68
phiwen96
4a8bc55b892f1baf60332d8f1a6dcc636e392b3e
5,187
hpp
C++
src/core/GlobalHandler.hpp
FR-GRE-BDS-HPC-SW-SAGE2-GMA/ummap-io-v2
bfcd3c1bccf9a798ada3ebf6d2ed16e60ab44660
[ "Apache-2.0" ]
1
2022-01-28T16:03:04.000Z
2022-01-28T16:03:04.000Z
src/core/GlobalHandler.hpp
FR-GRE-BDS-HPC-SW-SAGE2-GMA/ummap-io-v2
bfcd3c1bccf9a798ada3ebf6d2ed16e60ab44660
[ "Apache-2.0" ]
null
null
null
src/core/GlobalHandler.hpp
FR-GRE-BDS-HPC-SW-SAGE2-GMA/ummap-io-v2
bfcd3c1bccf9a798ada3ebf6d2ed16e60ab44660
[ "Apache-2.0" ]
null
null
null
/***************************************************** * PROJECT : ummap-io-v2 * * LICENSE : Apache 2.0 * * COPYRIGHT: 2020-2021 Bull SAS All rights reserved * *****************************************************/ #ifndef UMMAP_GLOBAL_HANDLER_HPP #define UMM...
31.822086
182
0.6524
FR-GRE-BDS-HPC-SW-SAGE2-GMA
4a8c41ac5690b034980d7abf7071a86f261f0c11
155
cpp
C++
tests/test_array_compare.cpp
willwray/_c_array_support
6324c5623124567588c6b65ec43a7d20d05a00b0
[ "BSL-1.0" ]
3
2021-12-04T11:29:35.000Z
2021-12-09T17:16:20.000Z
tests/test_array_compare.cpp
willwray/_c_array_support
6324c5623124567588c6b65ec43a7d20d05a00b0
[ "BSL-1.0" ]
null
null
null
tests/test_array_compare.cpp
willwray/_c_array_support
6324c5623124567588c6b65ec43a7d20d05a00b0
[ "BSL-1.0" ]
1
2021-12-09T17:16:34.000Z
2021-12-09T17:16:34.000Z
#include "test_array_compare.hpp" #include <cassert> int main() { //assert( ltl::compare_three_way{}(a, A{1,0}) < 0); //std::cout << std::endl; }
15.5
55
0.606452
willwray
4a8d85fad6a16f3de67ecbf679b02aee183bf237
11,286
cpp
C++
SU2-Quantum/SU2_CFD/src/numerics/heat.cpp
Agony5757/SU2-Quantum
16e7708371a597511e1242f3a7581e8c4187f5b2
[ "Apache-2.0" ]
null
null
null
SU2-Quantum/SU2_CFD/src/numerics/heat.cpp
Agony5757/SU2-Quantum
16e7708371a597511e1242f3a7581e8c4187f5b2
[ "Apache-2.0" ]
null
null
null
SU2-Quantum/SU2_CFD/src/numerics/heat.cpp
Agony5757/SU2-Quantum
16e7708371a597511e1242f3a7581e8c4187f5b2
[ "Apache-2.0" ]
1
2021-12-03T06:40:08.000Z
2021-12-03T06:40:08.000Z
/*! * \file heat.cpp * \brief Implementation of numerics classes for heat transfer. * \author F. Palacios, T. Economon * \version 7.0.6 "Blackbird" * * SU2 Project Website: https://su2code.github.io * * The SU2 Project is maintained by the SU2 Foundation * (http://su2foundation.org) * * Copyright 2012-2020, ...
34.941176
118
0.704235
Agony5757
4a8ec67f0a1946b8606be361352ead813c34aef7
7,215
cpp
C++
StaticLib/Sources/Game.cpp
Esentiel/dx3d
caf8423b69032518c3abeab08781190c41947b63
[ "MIT" ]
null
null
null
StaticLib/Sources/Game.cpp
Esentiel/dx3d
caf8423b69032518c3abeab08781190c41947b63
[ "MIT" ]
18
2019-09-18T15:21:03.000Z
2020-01-28T21:43:08.000Z
StaticLib/Sources/Game.cpp
Esentiel/dx3d
caf8423b69032518c3abeab08781190c41947b63
[ "MIT" ]
null
null
null
#include "stdafx.h" #include <Windowsx.h> #include "Game.h" #include "Mesh.h" #include "FileManager.h" #include "RenderScene.h" #include "Camera.h" namespace Library { const UINT Game::DefaultScreenWidth = 1280; const UINT Game::DefaultScreenHeight = 720; Game::Game(HINSTANCE instance, const std::...
24.05
247
0.660291
Esentiel
4a8f63e74471854af4ba806b8fb385a0ac512238
2,170
cpp
C++
2. Searching, Sorting and Order Statistics/mergeSort.cpp
eashwaranRaghu/Data-Structures-and-Algorithms
3aad0f1da3d95b572fbb1950c770198bd042a80f
[ "MIT" ]
6
2020-01-29T14:05:56.000Z
2021-04-24T04:37:27.000Z
2. Searching, Sorting and Order Statistics/mergeSort.cpp
eashwaranRaghu/Data-Structures-and-Algorithms
3aad0f1da3d95b572fbb1950c770198bd042a80f
[ "MIT" ]
null
null
null
2. Searching, Sorting and Order Statistics/mergeSort.cpp
eashwaranRaghu/Data-Structures-and-Algorithms
3aad0f1da3d95b572fbb1950c770198bd042a80f
[ "MIT" ]
1
2020-05-22T06:37:20.000Z
2020-05-22T06:37:20.000Z
// Created on 06-07-2019 18:33:24 by necronomicon #include <bits/stdc++.h> using namespace std; #define MP make_pair #define PB push_back #define ARR_MAX (int)1e5 //Max array length #define INF (int)1e9 //10^9 #define EPS 1e-9 //10^-9 #define MOD 1000000007 //10^9+7 #define PI 3.14159265358979323846264338327...
24.659091
91
0.541935
eashwaranRaghu
4a9350a18e915784e92cf4d9455ba65e0768aa7c
4,349
cpp
C++
roborts_planning/local_planner/src/robot_position_cost.cpp
zhaozengj/ICRA2020-JLU-TARS_GO-Navigation
ffb0ded4332c793c9fef1031e45d40aeb08f41ca
[ "BSD-3-Clause" ]
63
2020-09-23T14:31:33.000Z
2022-03-16T05:51:31.000Z
roborts_planning/local_planner/src/robot_position_cost.cpp
zhaozengj/ICRA2020-JLU-TARS_GO-Navigation
ffb0ded4332c793c9fef1031e45d40aeb08f41ca
[ "BSD-3-Clause" ]
6
2020-12-04T06:10:24.000Z
2021-06-01T08:37:05.000Z
robot2019-ros/roborts_planning/local_planner/src/robot_position_cost.cpp
junhuizhou/ROS_Learning
bb3a0c867ba2bd147bbd59176cf1224c09a63914
[ "MIT" ]
22
2020-09-23T11:31:58.000Z
2022-03-16T05:52:00.000Z
/**************************************************************************** * Copyright (C) 2019 RoboMaster. * * 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 3 of the ...
30.412587
122
0.62957
zhaozengj
4a965868a3e81cef35a9da8dd7e8fe07489d7196
370
hpp
C++
modules/scene_manager/include/builtin_interfaces/msg/duration.hpp
Omnirobotic/godot
d50b5d047bbf6c68fc458c1ad097321ca627185d
[ "CC-BY-3.0", "Apache-2.0", "MIT" ]
1
2020-05-19T14:33:49.000Z
2020-05-19T14:33:49.000Z
ros2_mod_ws/install/include/builtin_interfaces/msg/duration.hpp
mintforpeople/robobo-ros2-ios-port
1a5650304bd41060925ebba41d6c861d5062bfae
[ "Apache-2.0" ]
3
2019-11-14T12:20:06.000Z
2020-08-07T13:51:10.000Z
modules/scene_manager/include/builtin_interfaces/msg/duration.hpp
Omnirobotic/godot
d50b5d047bbf6c68fc458c1ad097321ca627185d
[ "CC-BY-3.0", "Apache-2.0", "MIT" ]
null
null
null
// generated from rosidl_generator_cpp/resource/msg.hpp.em // generated code does not contain a copyright notice #ifndef BUILTIN_INTERFACES__MSG__DURATION_HPP_ #define BUILTIN_INTERFACES__MSG__DURATION_HPP_ #include "builtin_interfaces/msg/duration__struct.hpp" #include "builtin_interfaces/msg/duration__traits.hpp" ...
33.636364
58
0.856757
Omnirobotic
4aa1d971b273de5ee8bfdfc8d46b85c913f273f2
7,063
cpp
C++
flashsim/run_bimodal.cpp
praneethyerramothu/AOSPROJECT1
1792b1c484bc35e334093b9a5c2fb4d20b3f4452
[ "BSD-4-Clause-UC" ]
6
2015-05-31T15:28:30.000Z
2022-02-10T04:39:18.000Z
flashsim/run_bimodal.cpp
praneethyerramothu/AOSPROJECT1
1792b1c484bc35e334093b9a5c2fb4d20b3f4452
[ "BSD-4-Clause-UC" ]
null
null
null
flashsim/run_bimodal.cpp
praneethyerramothu/AOSPROJECT1
1792b1c484bc35e334093b9a5c2fb4d20b3f4452
[ "BSD-4-Clause-UC" ]
6
2015-03-23T02:49:28.000Z
2018-10-30T06:44:40.000Z
/* FlashSim 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 3 of the License, or * any later version. */ /* FlashSim is distributed in the hope that it will be useful, * but WITHOUT ANY WAR...
23.622074
160
0.665015
praneethyerramothu
4aa6d314a3832c719990129e6bdfbd5b8b7d7c12
3,835
cpp
C++
Firmware/graphics/platform/gs_platform_layer.cpp
ValentiWorkLearning/GradWork
70bb5a629df056a559bae3694b47a2e5dc98c23b
[ "MIT" ]
39
2019-10-23T12:06:16.000Z
2022-01-26T04:28:29.000Z
Firmware/graphics/platform/gs_platform_layer.cpp
ValentiWorkLearning/GradWork
70bb5a629df056a559bae3694b47a2e5dc98c23b
[ "MIT" ]
20
2020-03-21T20:21:46.000Z
2021-11-19T14:34:03.000Z
Firmware/graphics/platform/gs_platform_layer.cpp
ValentiWorkLearning/GradWork
70bb5a629df056a559bae3694b47a2e5dc98c23b
[ "MIT" ]
7
2019-10-18T09:44:10.000Z
2021-06-11T13:05:16.000Z
#include "gs_platform_layer.hpp" #include <logger/logger_service.hpp> #include <lvgl.h> #include <utils/CallbackConnector.hpp> #include <utils/CoroUtils.hpp> #if defined(USE_HARDWARE_DISPLAY_BACKEND) #include <app_timer.h> #include <nrf_drv_clock.h> namespace { APP_TIMER_DEF(m_gfxEllapsedTimerId); } namespace Grap...
26.631944
99
0.727249
ValentiWorkLearning
4aa940f73668fe3f41ec8125687e703e20a846a7
2,236
cpp
C++
src/world.cpp
dgraves/RayTracerChallenge
c052f1f270354c46c60abdcce303fe9314181b3c
[ "MIT" ]
null
null
null
src/world.cpp
dgraves/RayTracerChallenge
c052f1f270354c46c60abdcce303fe9314181b3c
[ "MIT" ]
null
null
null
src/world.cpp
dgraves/RayTracerChallenge
c052f1f270354c46c60abdcce303fe9314181b3c
[ "MIT" ]
null
null
null
/* ** Copyright(c) 2020-2021 Dustin Graves ** ** Permission is hereby granted, free of charge, to any person obtaining a copy ** of this softwareand associated documentation files(the "Software"), to deal ** in the Software without restriction, including without limitation the rights ** to use, copy, modify, merge, pub...
33.878788
90
0.620304
dgraves
4aacbff9375b6d8d19ebc76ada72545850832f9e
2,031
cpp
C++
Homework/2. HW/3/Vehicle.cpp
Ignatoff/FMI-OOP-2018
a84c250e4b6d2df3135708a2fbe0447b9533858a
[ "MIT" ]
3
2018-03-20T18:28:53.000Z
2018-06-06T17:29:13.000Z
Homework/2. HW/3/Vehicle.cpp
Ignatoff/FMI-OOP-2018
a84c250e4b6d2df3135708a2fbe0447b9533858a
[ "MIT" ]
null
null
null
Homework/2. HW/3/Vehicle.cpp
Ignatoff/FMI-OOP-2018
a84c250e4b6d2df3135708a2fbe0447b9533858a
[ "MIT" ]
null
null
null
#include "Vehicle.h" #include <cstring> #include<iostream> Vehicle::Vehicle() : year(0), mileage(0) { make = new char{ '\0' }; model = new char{ '\0' }; color = new char{ '\0' }; } Vehicle::Vehicle(const Vehicle & rhs) : year(rhs.year), mileage(rhs.mileage) { this->make = new char[strlen(rhs.make) + 1]; strcpy(t...
17.815789
114
0.655342
Ignatoff
4aad6aafb42d5e06d25a3b10cdab0872126cb6be
1,372
cpp
C++
src/process_handler.cpp
bbkgl/ljstack
79acebbed7502b5d9b81223c4b0bf6514072752d
[ "MIT" ]
1
2020-06-06T10:14:27.000Z
2020-06-06T10:14:27.000Z
src/process_handler.cpp
bbkgl/ljstack
79acebbed7502b5d9b81223c4b0bf6514072752d
[ "MIT" ]
null
null
null
src/process_handler.cpp
bbkgl/ljstack
79acebbed7502b5d9b81223c4b0bf6514072752d
[ "MIT" ]
null
null
null
#include "process_handler.h" #include <sys/ptrace.h> #include <iostream> #include "utils.h" namespace ljstack { ProcessHandler::ProcessHandler(pid_t pid) { pid_ = pid; elf_file_ = "/proc/" + std::to_string(pid) + "/exe"; mem_file_ = "/proc/" + std::to_string(pid) + "/mem"; maps_file...
29.191489
95
0.526239
bbkgl
4ab0e3bd0172dd4e7325ce797ee16e0e14d5f017
224
cpp
C++
aoj/introduction/IntroductIonToProgramming/1_1_D_Watch/Main.cpp
KoKumagai/exercises
256b226d3e094f9f67352d75619b392a168eb4d1
[ "MIT" ]
null
null
null
aoj/introduction/IntroductIonToProgramming/1_1_D_Watch/Main.cpp
KoKumagai/exercises
256b226d3e094f9f67352d75619b392a168eb4d1
[ "MIT" ]
null
null
null
aoj/introduction/IntroductIonToProgramming/1_1_D_Watch/Main.cpp
KoKumagai/exercises
256b226d3e094f9f67352d75619b392a168eb4d1
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int main() { int x; cin >> x; int h, m, s; h = x / 60 / 60; m = x / 60 % 60; s = x % 60; cout << h << ":" << m << ":" << s << endl; return 0; }
11.2
46
0.388393
KoKumagai
4ab20887ada5fa6851c4b411bf107d28cf0b99bd
4,964
cpp
C++
test/ui/test-notebook.cpp
antonvw/wex
c4c41c660c9967623093a1b407af034c59a56be8
[ "MIT" ]
3
2020-03-01T06:30:30.000Z
2021-05-01T05:11:48.000Z
test/ui/test-notebook.cpp
antonvw/wex
c4c41c660c9967623093a1b407af034c59a56be8
[ "MIT" ]
96
2020-01-18T18:25:48.000Z
2022-03-26T12:26:50.000Z
test/ui/test-notebook.cpp
antonvw/wex
c4c41c660c9967623093a1b407af034c59a56be8
[ "MIT" ]
null
null
null
//////////////////////////////////////////////////////////////////////////////// // Name: test-notebook.cpp // Purpose: Implementation for wex unit testing // Author: Anton van Wezenbeek // Copyright: (c) 2021 Anton van Wezenbeek ////////////////////////////////////////////////////////////////////////////////...
33.540541
80
0.628727
antonvw
4ab3c0991c7152a8eea98c164081f70e628cd900
3,436
cpp
C++
Atom/src/Atom/Renderer/Renderer.cpp
NikiNatov/Atom
027082f32708589b9005fb2356142cdef20f453f
[ "Apache-2.0" ]
null
null
null
Atom/src/Atom/Renderer/Renderer.cpp
NikiNatov/Atom
027082f32708589b9005fb2356142cdef20f453f
[ "Apache-2.0" ]
null
null
null
Atom/src/Atom/Renderer/Renderer.cpp
NikiNatov/Atom
027082f32708589b9005fb2356142cdef20f453f
[ "Apache-2.0" ]
null
null
null
#include "atompch.h" #include "Renderer.h" namespace Atom { Scope<Renderer> Renderer::ms_Instance = CreateScope<Renderer>(); // ----------------------------------------------------------------------------------------------------------------------------- void Renderer::Initialize() { // Create ...
45.813333
187
0.584109
NikiNatov
4ab6661ddb728ef72d31e0e534d84893b2031b53
16,687
cpp
C++
src/duyebase/public/duye_cfg_mgr.cpp
tencupofkaiwater/duye
72257379f91e7a0db5ffefbb7e7a74dc0a255f67
[ "Unlicense" ]
null
null
null
src/duyebase/public/duye_cfg_mgr.cpp
tencupofkaiwater/duye
72257379f91e7a0db5ffefbb7e7a74dc0a255f67
[ "Unlicense" ]
null
null
null
src/duyebase/public/duye_cfg_mgr.cpp
tencupofkaiwater/duye
72257379f91e7a0db5ffefbb7e7a74dc0a255f67
[ "Unlicense" ]
null
null
null
/************************************************************************************ ** * @copyright (c) 2013-2100, ChengDu Duyer Technology Co., LTD. All Right Reserved. * *************************************************************************************/ /** * @file duye_cfg_mgr.cpp * @version * @brief...
23.703125
148
0.657997
tencupofkaiwater
4aba81f25f6ba8e2bae7ed7617f927368fa53d63
591
cpp
C++
Source/Number Theory/prime factorization log(n).cpp
Nadim-Mahmud/Competitive-Programming
3f88ef395a334e2c8ca450f912f8ebbe1c3dd584
[ "MIT" ]
7
2019-11-09T09:08:41.000Z
2022-03-04T13:29:32.000Z
Source/Number Theory/prime factorization log(n).cpp
Nadim-Mahmud/Competitive-Programming-Template
3f88ef395a334e2c8ca450f912f8ebbe1c3dd584
[ "MIT" ]
null
null
null
Source/Number Theory/prime factorization log(n).cpp
Nadim-Mahmud/Competitive-Programming-Template
3f88ef395a334e2c8ca450f912f8ebbe1c3dd584
[ "MIT" ]
3
2019-12-30T13:56:06.000Z
2022-03-04T13:29:34.000Z
/** Description : prime factorization Complexity : O(log n) Limitation : memory complexity O(n) so it works up to 10^7 */ const int N = 10000000; int lp[N+1]; vector<int> pr; void sieve(){ int i,j; for (i=2; i<=N; ++i) { if (lp[i] == 0) { lp[i] = i; pr.push_back (i)...
19.064516
70
0.458545
Nadim-Mahmud
3858015b65a9eaad1922c5efee9c70e3194cf41f
1,927
cpp
C++
String/ReverseString_bytedace.cpp
obviouskkk/leetcode
5d25c3080fdc9f68ae79e0f4655a474a51ff01fc
[ "BSD-3-Clause" ]
null
null
null
String/ReverseString_bytedace.cpp
obviouskkk/leetcode
5d25c3080fdc9f68ae79e0f4655a474a51ff01fc
[ "BSD-3-Clause" ]
null
null
null
String/ReverseString_bytedace.cpp
obviouskkk/leetcode
5d25c3080fdc9f68ae79e0f4655a474a51ff01fc
[ "BSD-3-Clause" ]
null
null
null
/* *********************************************************************** > File Name: ReverseString_bytedace.cpp > Author: zzy > Mail: 942744575@qq.com > Created Time: Mon 05 Aug 2019 02:45:41 PM CST ********************************************************************** */ #include <stdio.h> #include <ve...
21.651685
74
0.533472
obviouskkk
385eb1c3ef8438880fecd93e92cd77b0f9bc0935
512
cpp
C++
leetcode/887. Super Egg Drop/s1.cpp
zhuohuwu0603/leetcode_cpp_lzl124631x
6a579328810ef4651de00fde0505934d3028d9c7
[ "Fair" ]
787
2017-05-12T05:19:57.000Z
2022-03-30T12:19:52.000Z
leetcode/887. Super Egg Drop/s1.cpp
aerlokesh494/LeetCode
0f2cbb28d5a9825b51a8d3b3a0ae0c30d7ff155f
[ "Fair" ]
8
2020-03-16T05:55:38.000Z
2022-03-09T17:19:17.000Z
leetcode/887. Super Egg Drop/s1.cpp
aerlokesh494/LeetCode
0f2cbb28d5a9825b51a8d3b3a0ae0c30d7ff155f
[ "Fair" ]
247
2017-04-30T15:07:50.000Z
2022-03-30T09:58:57.000Z
// OJ: https://leetcode.com/problems/super-egg-drop/ // Author: github.com/lzl124631x // Time: O(SK) where S is the result. // Space: O(K) // Ref: https://leetcode.com/problems/super-egg-drop/discuss/159508/easy-to-understand class Solution { public: int superEggDrop(int K, int N) { int step = 0; ve...
28.444444
86
0.517578
zhuohuwu0603
38602916c390743cea63142bc34a6b82cc056873
498
cpp
C++
Talon/source/Talon/Window/Button.cpp
afradley/Pteron
7bb1c8de010a175e4a22dfcf93aa696b12b317f4
[ "MIT" ]
null
null
null
Talon/source/Talon/Window/Button.cpp
afradley/Pteron
7bb1c8de010a175e4a22dfcf93aa696b12b317f4
[ "MIT" ]
null
null
null
Talon/source/Talon/Window/Button.cpp
afradley/Pteron
7bb1c8de010a175e4a22dfcf93aa696b12b317f4
[ "MIT" ]
null
null
null
#include <windows.h> #include "Button.h" namespace Talon { static const WindowParams DefaultParams { 0, L"Button", nullptr, BS_PUSHBUTTON /*| BS_ICON*/ | WS_CHILD | WS_VISIBLE, 0, 0, 0, 0, nullptr, nullptr }; Button::Button(Window* parent) : Control(DefaultParams, parent) { } Button::~B...
11.581395
54
0.62249
afradley
3869daa791a5f42ddfbea1636d01fb0ec4e4f1e4
1,266
hpp
C++
includes/InstanceManager.hpp
razerx100/Sol
c9d7da09207aada805be277a9cc2ab2d0f9d4e02
[ "MIT" ]
null
null
null
includes/InstanceManager.hpp
razerx100/Sol
c9d7da09207aada805be277a9cc2ab2d0f9d4e02
[ "MIT" ]
null
null
null
includes/InstanceManager.hpp
razerx100/Sol
c9d7da09207aada805be277a9cc2ab2d0f9d4e02
[ "MIT" ]
null
null
null
#ifndef __STATIC_INSTANCES_HPP__ #define __STATIC_INSTANCES_HPP__ #include <InputManager.hpp> #include <Window.hpp> #include <GraphicsEngine.hpp> #include <IApp.hpp> #include <ObjectManager.hpp> #include <IModelContainer.hpp> class AppInst : public _ObjectManager<IApp, AppInst> { public: static void Init()...
21.1
78
0.71564
razerx100
386d47a5616cd4f31fcc547986f6f5d00dc2a198
794
cpp
C++
src/engine/graphics/opengl/buffers/vertexArray.cpp
Overpeek/Overpeek-Engine
3df11072378ba870033a19cd09fb332bcc4c466d
[ "MIT" ]
13
2020-01-10T16:36:46.000Z
2021-08-09T09:24:47.000Z
src/engine/graphics/opengl/buffers/vertexArray.cpp
Overpeek/Overpeek-Engine
3df11072378ba870033a19cd09fb332bcc4c466d
[ "MIT" ]
1
2020-01-16T11:03:49.000Z
2020-01-16T11:11:15.000Z
src/engine/graphics/opengl/buffers/vertexArray.cpp
Overpeek/Overpeek-Engine
3df11072378ba870033a19cd09fb332bcc4c466d
[ "MIT" ]
1
2020-02-06T21:22:47.000Z
2020-02-06T21:22:47.000Z
#include "vertexArray.hpp" #include "engine/internal_libs.hpp" #include "buffer.hpp" #include "engine/graphics/opengl/gl_include.hpp" namespace oe::graphics { VertexArray::VertexArray() { glGenVertexArrays(1, &p_id); bind(); } VertexArray::~VertexArray() { for (VertexBuffer* v : p_buff...
18.045455
95
0.677582
Overpeek
386ee5f01779736e0803db46170e666f413690e8
531
hh
C++
inc/Powierzchnia.hh
lukasz-pawlos/Dron
27d0a0d5c30e7dd0bb3d74dd8bdf940bca96d430
[ "MIT" ]
null
null
null
inc/Powierzchnia.hh
lukasz-pawlos/Dron
27d0a0d5c30e7dd0bb3d74dd8bdf940bca96d430
[ "MIT" ]
null
null
null
inc/Powierzchnia.hh
lukasz-pawlos/Dron
27d0a0d5c30e7dd0bb3d74dd8bdf940bca96d430
[ "MIT" ]
null
null
null
#ifndef POWIERZCHNIA_HH #define POWIERZCHNIA_HH #include <iostream> #include "Dr3D_gnuplot_api.hh" #include "SWektor.hh" #include "MacierzOb.hh" using std::vector; using drawNS::Point3D; using drawNS::APIGnuPlot3D; using std::cout; using std::endl; class Powierzchnia { protected: int ID = -1; std::shared_p...
14.75
67
0.723164
lukasz-pawlos
38734a9a563b82ace9dee057d6950e39d47bb710
98,151
hpp
C++
contrib/TAMM/src/tamm/tamm_utils.hpp
smferdous1/gfcc
e7112c0dd60566266728e4d51ea8d30aea4b775d
[ "MIT" ]
null
null
null
contrib/TAMM/src/tamm/tamm_utils.hpp
smferdous1/gfcc
e7112c0dd60566266728e4d51ea8d30aea4b775d
[ "MIT" ]
null
null
null
contrib/TAMM/src/tamm/tamm_utils.hpp
smferdous1/gfcc
e7112c0dd60566266728e4d51ea8d30aea4b775d
[ "MIT" ]
null
null
null
#ifndef TAMM_TAMM_UTILS_HPP_ #define TAMM_TAMM_UTILS_HPP_ #include <vector> #include <chrono> #include <random> #include <fstream> #include <type_traits> #include <iomanip> #include <hdf5.h> #define IO_ISIRREG 1 namespace tamm { // From integer type to integer type template <typename from> constexpr typename std::e...
37.793993
144
0.557743
smferdous1
3874c2e7c52b6295ccf37da849b6a82a7c1e2c62
10,702
cpp
C++
common/resource/entity_manager.cpp
Pength-TH/egal-D-engine
f16a8def566f678cb324bd901768d32f4412396f
[ "Apache-2.0" ]
null
null
null
common/resource/entity_manager.cpp
Pength-TH/egal-D-engine
f16a8def566f678cb324bd901768d32f4412396f
[ "Apache-2.0" ]
null
null
null
common/resource/entity_manager.cpp
Pength-TH/egal-D-engine
f16a8def566f678cb324bd901768d32f4412396f
[ "Apache-2.0" ]
null
null
null
#include "common/resource/entity_manager.h" #include "common/egal-d.h" #include "common/resource/resource_manager.h" #include "common/resource/material_manager.h" #include "common/lua/lua_manager.h" namespace egal { e_bool Entity::force_keep_skin = false; Mesh::Mesh ( Material* mat, const bgfx...
26.230392
124
0.635676
Pength-TH
3876a3b72e6d055e3bf97fa59eb87394933a20d9
587
cpp
C++
2threads-2.cpp
CMPT-431-SFU/Cpp11-Demos
56ed14c5eb9e355edf7a387943492f50c3d591ec
[ "MIT" ]
null
null
null
2threads-2.cpp
CMPT-431-SFU/Cpp11-Demos
56ed14c5eb9e355edf7a387943492f50c3d591ec
[ "MIT" ]
null
null
null
2threads-2.cpp
CMPT-431-SFU/Cpp11-Demos
56ed14c5eb9e355edf7a387943492f50c3d591ec
[ "MIT" ]
null
null
null
/* * * Same as 2threads.cpp, but using a single function * with parameters, as opposed to two functions. * Additionally, the thread function sleeps for * a number of milliseconds after printing the * string. * */ #include <thread> #include <iostream> #include <chrono> using namespace std; void print_string(co...
16.771429
56
0.67632
CMPT-431-SFU
3876eb274ff09efbe92e4033a4762be132ae367d
7,014
hpp
C++
include/crypto-exchange-client-core/client.hpp
drozhkov/crypto-exchange-client-core
68ce28bfcc1859b2207cf50ff78ba3300d48d44d
[ "MIT" ]
null
null
null
include/crypto-exchange-client-core/client.hpp
drozhkov/crypto-exchange-client-core
68ce28bfcc1859b2207cf50ff78ba3300d48d44d
[ "MIT" ]
null
null
null
include/crypto-exchange-client-core/client.hpp
drozhkov/crypto-exchange-client-core
68ce28bfcc1859b2207cf50ff78ba3300d48d44d
[ "MIT" ]
null
null
null
/* MIT License Copyright (c) 2022 Denis Rozhkov <denis@rozhkoff.com> 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, modif...
21.987461
78
0.68848
drozhkov
387e63387a754586d8e4088ee528c5839b399415
107
cpp
C++
AllClaimsWidget.cpp
congchenutd/Claims
95062b638f9d103d4579677b6ef6886316171448
[ "MIT" ]
null
null
null
AllClaimsWidget.cpp
congchenutd/Claims
95062b638f9d103d4579677b6ef6886316171448
[ "MIT" ]
null
null
null
AllClaimsWidget.cpp
congchenutd/Claims
95062b638f9d103d4579677b6ef6886316171448
[ "MIT" ]
null
null
null
#include "AllClaimsWidget.h" AllClaimsWidget::AllClaimsWidget(QWidget* parent) : QWidget(parent) { }
13.375
49
0.738318
congchenutd
3883a1ef7e86ef83856e85ae0cf960c5402a9452
450
hxx
C++
dust/utils/VectorUtils.hxx
JeneLitsch/Dust
85e3ef191e58b3438501b52f9d72edd8064e5a27
[ "MIT" ]
null
null
null
dust/utils/VectorUtils.hxx
JeneLitsch/Dust
85e3ef191e58b3438501b52f9d72edd8064e5a27
[ "MIT" ]
null
null
null
dust/utils/VectorUtils.hxx
JeneLitsch/Dust
85e3ef191e58b3438501b52f9d72edd8064e5a27
[ "MIT" ]
null
null
null
#pragma once #include "sfml.hxx" #include <cmath> namespace dust { class VectorUtils { public: static inline sf::Vector2f toVector(float angle) { constexpr const float degToRad = float(M_PI) / 180.f; const float radianAngle = (angle - 90.f) * degToRad; return sf::Vector2f(std::cos(radianAngle), std::sin(ra...
26.470588
69
0.691111
JeneLitsch
3886881963165acb069fa7ca169f175524dbf44b
2,700
cpp
C++
d2dcustomeffects/cpp/computeshader/customcomputeshadermain.cpp
kaid7pro/old-Windows-universal-samples
f97d2b880420fff7bcf7ea0aaf20ee837c002d7d
[ "MIT" ]
6
2015-12-23T22:28:56.000Z
2021-11-06T17:05:51.000Z
d2dcustomeffects/cpp/computeshader/customcomputeshadermain.cpp
y3key/Windows-universal-samples
f97d2b880420fff7bcf7ea0aaf20ee837c002d7d
[ "MIT" ]
null
null
null
d2dcustomeffects/cpp/computeshader/customcomputeshadermain.cpp
y3key/Windows-universal-samples
f97d2b880420fff7bcf7ea0aaf20ee837c002d7d
[ "MIT" ]
8
2015-10-26T01:44:51.000Z
2022-03-12T09:47:56.000Z
#include "pch.h" #include "CustomComputeShaderMain.h" #include "DirectXHelper.h" using namespace CustomComputeShader; using namespace Windows::Foundation; using namespace Windows::Foundation::Collections; using namespace Windows::System::Threading; using namespace Windows::UI::Core; using namespace Concurren...
35.526316
134
0.775926
kaid7pro
388e58af48d64a27ad4f8dfbe352ef77dd0ade37
3,731
cpp
C++
igl/voxel_grid.cpp
aviadtzemah/animation2
9a3f980fbe27672fe71f8f61f73b5713f2af5089
[ "Apache-2.0" ]
2,392
2016-12-17T14:14:12.000Z
2022-03-30T19:40:40.000Z
igl/voxel_grid.cpp
aviadtzemah/animation2
9a3f980fbe27672fe71f8f61f73b5713f2af5089
[ "Apache-2.0" ]
106
2018-04-19T17:47:31.000Z
2022-03-01T19:44:11.000Z
igl/voxel_grid.cpp
aviadtzemah/animation2
9a3f980fbe27672fe71f8f61f73b5713f2af5089
[ "Apache-2.0" ]
184
2017-11-15T09:55:37.000Z
2022-02-21T16:30:46.000Z
// This file is part of libigl, a simple c++ geometry processing library. // // Copyright (C) 2016 Alec Jacobson <alecjacobson@gmail.com> // // This Source Code Form is subject to the terms of the Mozilla Public License // v. 2.0. If a copy of the MPL was not distributed with this file, You can // obtain one at htt...
50.418919
292
0.629858
aviadtzemah
38952944364388f20e660e778b35b37f5348a3db
1,851
cpp
C++
src/AutoTests/Tests/CollidingCircularUnits/Systems/TestCircularUnitsSystem.cpp
gameraccoon/HideAndSeek
bc1e9c8dd725968ad4bc204877d8ddca2132ace7
[ "MIT" ]
null
null
null
src/AutoTests/Tests/CollidingCircularUnits/Systems/TestCircularUnitsSystem.cpp
gameraccoon/HideAndSeek
bc1e9c8dd725968ad4bc204877d8ddca2132ace7
[ "MIT" ]
null
null
null
src/AutoTests/Tests/CollidingCircularUnits/Systems/TestCircularUnitsSystem.cpp
gameraccoon/HideAndSeek
bc1e9c8dd725968ad4bc204877d8ddca2132ace7
[ "MIT" ]
null
null
null
#include "Base/precomp.h" #include "AutoTests/Tests/CollidingCircularUnits/Systems/TestCircularUnitsSystem.h" #include "GameData/Components/AiControllerComponent.generated.h" #include "GameData/Components/CollisionComponent.generated.h" #include "GameData/Components/MovementComponent.generated.h" #include "GameData/C...
34.924528
135
0.796326
gameraccoon
3897a28381761090b8382cb9686ee7adad0380d9
1,336
cpp
C++
Rozwiazania-zadan/10_Seria-X/points.cpp
bzglinicki/Programowanie-metody-numeryczne
3b22a5b6da24699b989b85b757f5e66f8fafd537
[ "MIT" ]
null
null
null
Rozwiazania-zadan/10_Seria-X/points.cpp
bzglinicki/Programowanie-metody-numeryczne
3b22a5b6da24699b989b85b757f5e66f8fafd537
[ "MIT" ]
null
null
null
Rozwiazania-zadan/10_Seria-X/points.cpp
bzglinicki/Programowanie-metody-numeryczne
3b22a5b6da24699b989b85b757f5e66f8fafd537
[ "MIT" ]
null
null
null
#include <algorithm> #include <chrono> #include <iostream> #include <numeric> #include <random> #include <vector> struct Point { double x; double y; double z; int id; }; template <class Rng> Point pointFactory(Rng &rng, int id) { std::uniform_real_distribution<> up(0, 2 * M_PI); std::uniform_real_distribut...
22.644068
76
0.56512
bzglinicki
3897fa81a217c1a8520b1aebbdef095e86966cbe
6,581
cpp
C++
bfvmm/tests/debug/serial/test_serial_ns16550a.cpp
chp-io/hypervisor
7c1dce35e9e54601de1c4655565fde803ab446f0
[ "MIT" ]
5
2020-03-28T18:31:24.000Z
2022-03-16T07:51:29.000Z
bfvmm/tests/debug/serial/test_serial_ns16550a.cpp
chp-io/hypervisor
7c1dce35e9e54601de1c4655565fde803ab446f0
[ "MIT" ]
7
2017-11-07T00:25:25.000Z
2018-02-14T18:37:18.000Z
bfvmm/tests/debug/serial/test_serial_ns16550a.cpp
chp-io/hypervisor
7c1dce35e9e54601de1c4655565fde803ab446f0
[ "MIT" ]
2
2020-05-21T22:57:04.000Z
2020-06-17T15:04:38.000Z
// // Copyright (C) 2019 Assured Information Security, Inc. // // 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,...
41.389937
94
0.751254
chp-io
389cfe5d9eee79551c1a92e3dee40be7e534451c
3,834
hpp
C++
include/Client.hpp
nachooya/mdnscpp
168d20a73c363545fd59a95611d85a05d6f99d67
[ "MIT" ]
null
null
null
include/Client.hpp
nachooya/mdnscpp
168d20a73c363545fd59a95611d85a05d6f99d67
[ "MIT" ]
null
null
null
include/Client.hpp
nachooya/mdnscpp
168d20a73c363545fd59a95611d85a05d6f99d67
[ "MIT" ]
null
null
null
#ifndef __MDNS_CLIENT_HPP__ #define __MDNS_CLIENT_HPP__ #include <functional> #include <list> #include <map> #include <utility> #include <time.h> #include <uv.h> #include "Logger.hpp" #include "DnsPacket.hpp" namespace MDns { class Client: public std::enable_shared_from_this<Client> { public: typedef enum ...
25.390728
84
0.617632
nachooya
38a2930dafb309d27511800b51d63ad1913e88a7
949
hpp
C++
include/argot/gen/not.hpp
mattcalabrese/argot
97349baaf27659c9dc4d67cf8963b2e871eaedae
[ "BSL-1.0" ]
49
2018-05-09T23:17:45.000Z
2021-07-21T10:05:19.000Z
include/argot/gen/not.hpp
mattcalabrese/argot
97349baaf27659c9dc4d67cf8963b2e871eaedae
[ "BSL-1.0" ]
null
null
null
include/argot/gen/not.hpp
mattcalabrese/argot
97349baaf27659c9dc4d67cf8963b2e871eaedae
[ "BSL-1.0" ]
2
2019-08-04T03:51:36.000Z
2020-12-28T06:53:29.000Z
/*============================================================================== Copyright (c) 2017, 2018 Matt Calabrese 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) =============================================...
25.648649
80
0.649104
mattcalabrese
38a3118051f978dbce5cc9a61f04ac62b99c33b2
635
cpp
C++
UUT/Core/Math/Random.cpp
kolyden/uut-engine
aa8e5a42c350aceecee668941e06ac626aac6c52
[ "MIT" ]
null
null
null
UUT/Core/Math/Random.cpp
kolyden/uut-engine
aa8e5a42c350aceecee668941e06ac626aac6c52
[ "MIT" ]
null
null
null
UUT/Core/Math/Random.cpp
kolyden/uut-engine
aa8e5a42c350aceecee668941e06ac626aac6c52
[ "MIT" ]
null
null
null
#include "Random.h" #include <random> #include <chrono> namespace uut { static unsigned g_seed = (unsigned)std::chrono::system_clock::now().time_since_epoch().count(); static std::mt19937 g_generator(g_seed); void Random::SetSeed(unsigned seed) { g_seed = seed; g_generator.seed(g_seed); } unsigned Random::...
18.142857
96
0.664567
kolyden
38a492409232f15bd0d0a360ad8dca92241a0691
151
cpp
C++
lib/objgfx/vWidget.cpp
cwolsen7905/UbixOS
2f6063103347a8e8c369aacdd1399911bb4a4776
[ "BSD-3-Clause" ]
null
null
null
lib/objgfx/vWidget.cpp
cwolsen7905/UbixOS
2f6063103347a8e8c369aacdd1399911bb4a4776
[ "BSD-3-Clause" ]
null
null
null
lib/objgfx/vWidget.cpp
cwolsen7905/UbixOS
2f6063103347a8e8c369aacdd1399911bb4a4776
[ "BSD-3-Clause" ]
null
null
null
#include "vWidget.h" bool vWidget::vSetActive(bool _active) { bool result = active; active = _active; return result; } // vWidget::vSetActive
15.1
35
0.695364
cwolsen7905
38a86b3c56ac5198c31708c40cfea807a6d9e7f4
10,483
cpp
C++
src/algebra/MatrixOperator.cpp
btbujiangjun/abcdl
cea8568517894d153ee3647eec899b93f34877b4
[ "Apache-2.0" ]
2
2017-09-19T08:26:48.000Z
2018-11-16T12:49:53.000Z
src/algebra/MatrixOperator.cpp
btbujiangjun/abcdl
cea8568517894d153ee3647eec899b93f34877b4
[ "Apache-2.0" ]
null
null
null
src/algebra/MatrixOperator.cpp
btbujiangjun/abcdl
cea8568517894d153ee3647eec899b93f34877b4
[ "Apache-2.0" ]
null
null
null
/*********************************************** * Author: Jun Jiang - jiangjun4@sina.com * Create: 2017-07-26 13:27 * Last modified : 2017-07-26 13:27 * Filename : MatrixOperator.cpp * Description : **********************************************/ #include <string.h> #include "algebra/Matrix.h" namespac...
29.529577
108
0.536392
btbujiangjun
38a8b37112ca6dd5987c9119b8e44f60fff27235
7,944
cpp
C++
aws-cpp-sdk-ec2/source/model/AnalysisRouteTableRoute.cpp
perfectrecall/aws-sdk-cpp
fb8cbebf2fd62720b65aeff841ad2950e73d8ebd
[ "Apache-2.0" ]
1
2022-01-05T18:20:03.000Z
2022-01-05T18:20:03.000Z
aws-cpp-sdk-ec2/source/model/AnalysisRouteTableRoute.cpp
perfectrecall/aws-sdk-cpp
fb8cbebf2fd62720b65aeff841ad2950e73d8ebd
[ "Apache-2.0" ]
1
2022-01-03T23:59:37.000Z
2022-01-03T23:59:37.000Z
aws-cpp-sdk-ec2/source/model/AnalysisRouteTableRoute.cpp
ravindra-wagh/aws-sdk-cpp
7d5ff01b3c3b872f31ca98fb4ce868cd01e97696
[ "Apache-2.0" ]
1
2021-11-09T12:02:58.000Z
2021-11-09T12:02:58.000Z
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/ec2/model/AnalysisRouteTableRoute.h> #include <aws/core/utils/xml/XmlSerializer.h> #include <aws/core/utils/StringUtils.h> #include <aws/core/utils/memory/stl/AWSStringStream.h> #includ...
35.464286
159
0.717019
perfectrecall
38ab36142614144900493ea0c845c969173c6035
3,467
cxx
C++
GPU/GPUTracking/TPCClusterFinder/ClusterAccumulator.cxx
preghenella/AliRoot
7a1a71f12a47e78e5082253e7a8edf08cd8afff6
[ "BSD-3-Clause" ]
null
null
null
GPU/GPUTracking/TPCClusterFinder/ClusterAccumulator.cxx
preghenella/AliRoot
7a1a71f12a47e78e5082253e7a8edf08cd8afff6
[ "BSD-3-Clause" ]
null
null
null
GPU/GPUTracking/TPCClusterFinder/ClusterAccumulator.cxx
preghenella/AliRoot
7a1a71f12a47e78e5082253e7a8edf08cd8afff6
[ "BSD-3-Clause" ]
null
null
null
//**************************************************************************\ //* This file is property of and copyright by the ALICE Project *\ //* ALICE Experiment at CERN, All rights reserved. *\ //* *\ //* Prim...
32.101852
98
0.599654
preghenella
38ab95d3605a66ed5d24b200eeea33273ea0d6b9
724
cpp
C++
src/Stages/TileMaker.cpp
lucashflores/jogo-tecprog
21b114f21b933247a321e17905338a4f51620d2a
[ "MIT" ]
null
null
null
src/Stages/TileMaker.cpp
lucashflores/jogo-tecprog
21b114f21b933247a321e17905338a4f51620d2a
[ "MIT" ]
null
null
null
src/Stages/TileMaker.cpp
lucashflores/jogo-tecprog
21b114f21b933247a321e17905338a4f51620d2a
[ "MIT" ]
null
null
null
#include "Stages/TileMaker.h" using namespace Stages; TileMaker::TileMaker(int stg, EntityList* pEL): stage(stg) { if (pEL) pEntityList = pEL; } TileMaker::~TileMaker() { pEntityList = NULL; } void TileMaker::makePlatform(Coordinates::Vector<float> initialPos, unsigned int size) { Id::ids tileId ...
26.814815
88
0.671271
lucashflores
38ac1b6f64851128a96383af27e1cf6130e3e6fd
896
cc
C++
cpp/leetcode/1035.uncrossed-lines.cc
liubang/laboratory
747f239a123cd0c2e5eeba893b9a4d1536555b1e
[ "MIT" ]
3
2021-03-03T13:18:23.000Z
2022-02-09T07:49:24.000Z
cpp/leetcode/1035.uncrossed-lines.cc
liubang/laboratory
747f239a123cd0c2e5eeba893b9a4d1536555b1e
[ "MIT" ]
null
null
null
cpp/leetcode/1035.uncrossed-lines.cc
liubang/laboratory
747f239a123cd0c2e5eeba893b9a4d1536555b1e
[ "MIT" ]
1
2021-03-29T15:21:42.000Z
2021-03-29T15:21:42.000Z
#include <gtest/gtest.h> #include <vector> namespace { class Solution { public: int maxUncrossedLines(const std::vector<int>& nums1, const std::vector<int>& nums2) { int len1 = nums1.size(), len2 = nums2.size(); std::vector<std::vector<int>> dp(len1 + 1, std::vector<int>(len2 + 1));...
27.151515
75
0.502232
liubang
38ad213c84ab4193ab4d62bbafee306f350230d5
1,986
hpp
C++
agent/config.hpp
markovchainz/cppagent
97314ec43786a90697ca7fda15db13f2973aee3e
[ "Apache-2.0" ]
null
null
null
agent/config.hpp
markovchainz/cppagent
97314ec43786a90697ca7fda15db13f2973aee3e
[ "Apache-2.0" ]
null
null
null
agent/config.hpp
markovchainz/cppagent
97314ec43786a90697ca7fda15db13f2973aee3e
[ "Apache-2.0" ]
null
null
null
#ifndef CONFIG_HPP #define CONFIG_HPP #include "service.hpp" #include <string> class Agent; class Device; class log_level; class RollingFileLogger; typedef void (NamespaceFunction)(const std::string &aUrn, const std::string &aLocation, const std::string &aPrefix); typedef void (Sty...
31.03125
102
0.698892
markovchainz
38b35326baacef053863eb2e67ea332261250704
1,169
cpp
C++
src/state/levelUp.cpp
nick-valentine/roguelike
51c3a3a182d18e555d4f1744ed3e1a95f3aa1a83
[ "MIT" ]
null
null
null
src/state/levelUp.cpp
nick-valentine/roguelike
51c3a3a182d18e555d4f1744ed3e1a95f3aa1a83
[ "MIT" ]
null
null
null
src/state/levelUp.cpp
nick-valentine/roguelike
51c3a3a182d18e555d4f1744ed3e1a95f3aa1a83
[ "MIT" ]
null
null
null
#include "levelUp.h" namespace state { LevelUp::LevelUp(objects::EntityAttribute *playerStats) : Abstract(), mPlayerStats(playerStats) { std::vector<std::string> options; options.push_back("health"); options.push_back("strength"); options.push_back("constitution"); options.push_back("dexterity"); options...
20.875
116
0.664671
nick-valentine
38b61429e809d4788aeb34a881461b3289cff217
1,871
cc
C++
tests/testStringRef.cc
magestik/gf
60d9bbe084828fff88f1a511bd1191c774ccef4a
[ "Zlib" ]
null
null
null
tests/testStringRef.cc
magestik/gf
60d9bbe084828fff88f1a511bd1191c774ccef4a
[ "Zlib" ]
null
null
null
tests/testStringRef.cc
magestik/gf
60d9bbe084828fff88f1a511bd1191c774ccef4a
[ "Zlib" ]
null
null
null
/* * Gamedev Framework (gf) * Copyright (C) 2016-2018 Julien Bernard * * This software is provided 'as-is', without any express or implied * warranty. In no event will the authors be held liable for any damages * arising from the use of this software. * * Permission is granted to anyone to use this software fo...
26.352113
77
0.706574
magestik
38b6195bf3eb833350e9e86c7617ad0678daae02
608
cpp
C++
src/backends/windows/window/get_long_ptr.cpp
freundlich/libawl
0d51f388a6b662373058cb51a24ef25ed826fa0f
[ "BSL-1.0" ]
null
null
null
src/backends/windows/window/get_long_ptr.cpp
freundlich/libawl
0d51f388a6b662373058cb51a24ef25ed826fa0f
[ "BSL-1.0" ]
null
null
null
src/backends/windows/window/get_long_ptr.cpp
freundlich/libawl
0d51f388a6b662373058cb51a24ef25ed826fa0f
[ "BSL-1.0" ]
null
null
null
#include <awl/exception.hpp> #include <awl/backends/windows/clear_last_error.hpp> #include <awl/backends/windows/has_last_error.hpp> #include <awl/backends/windows/windows.hpp> #include <awl/backends/windows/window/get_long_ptr.hpp> #include <fcppt/text.hpp> LONG_PTR awl::backends::windows::window::get_long_ptr(HWND c...
30.4
80
0.759868
freundlich
38bcdde813e0c908d57e77a5cba83638a307f026
628
cpp
C++
LeetCode/Medium/Longest Common Subsequence/Solution_1.cpp
shouryagupta21/Fork_CPP
8f5baed045ef430cca19d871c8854abc3b6ad44f
[ "MIT" ]
8
2021-02-14T13:13:27.000Z
2022-01-08T23:58:32.000Z
LeetCode/Medium/Longest Common Subsequence/Solution_1.cpp
shouryagupta21/Fork_CPP
8f5baed045ef430cca19d871c8854abc3b6ad44f
[ "MIT" ]
17
2021-02-28T17:03:50.000Z
2021-10-19T13:02:03.000Z
LeetCode/Medium/Longest Common Subsequence/Solution_1.cpp
shouryagupta21/Fork_CPP
8f5baed045ef430cca19d871c8854abc3b6ad44f
[ "MIT" ]
15
2021-03-01T03:54:29.000Z
2021-10-19T18:29:00.000Z
class Solution { public: int longestCommonSubsequence(string text1, string text2){ int n1 = text1.length(); int n2 = text2.length(); vector<vector<int>>dp(n1+1,vector<int>(n2+1,0)); for(int i =1;i<=n1;i++){ for(int j = 1; j<=n2; j++){ if(text1[i-1] == text...
28.545455
61
0.374204
shouryagupta21
38c10017df290898d00dbb9d08f71bb51fee0049
2,418
cpp
C++
test/linux_unit_tests/TemplateProcessorTest.cpp
PlutoLimited/Smooth
76251a4e69ea085718fe3f42ea8a24f496139111
[ "Apache-2.0" ]
283
2017-07-18T15:31:42.000Z
2022-03-30T12:05:03.000Z
test/linux_unit_tests/TemplateProcessorTest.cpp
PlutoLimited/Smooth
76251a4e69ea085718fe3f42ea8a24f496139111
[ "Apache-2.0" ]
131
2017-08-23T18:49:03.000Z
2021-11-29T08:03:21.000Z
test/linux_unit_tests/TemplateProcessorTest.cpp
PlutoLimited/Smooth
76251a4e69ea085718fe3f42ea8a24f496139111
[ "Apache-2.0" ]
53
2017-12-31T13:34:21.000Z
2022-02-04T11:26:49.000Z
/* Smooth - A C++ framework for embedded programming on top of Espressif's ESP-IDF Copyright 2019 Per Malmberg (https://gitbub.com/PerMalmberg) 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 h...
26.571429
79
0.598015
PlutoLimited
38c1f26b09330b9e67e7e1b6155d380b9c692ea1
3,209
cpp
C++
src/bench/ccoins_caching.cpp
yinchengtsinghua/BitCoinCppChinese
76f64ad8cee5b6c5671b3629f39e7ae4ef84be0a
[ "MIT" ]
13
2019-01-23T04:36:05.000Z
2022-02-21T11:20:25.000Z
src/bench/ccoins_caching.cpp
yinchengtsinghua/BitCoinCppChinese
76f64ad8cee5b6c5671b3629f39e7ae4ef84be0a
[ "MIT" ]
null
null
null
src/bench/ccoins_caching.cpp
yinchengtsinghua/BitCoinCppChinese
76f64ad8cee5b6c5671b3629f39e7ae4ef84be0a
[ "MIT" ]
3
2019-01-24T07:48:15.000Z
2021-06-11T13:34:44.000Z
//此源码被清华学神尹成大魔王专业翻译分析并修改 //尹成QQ77025077 //尹成微信18510341407 //尹成所在QQ群721929980 //尹成邮箱 yinc13@mails.tsinghua.edu.cn //尹成毕业于清华大学,微软区块链领域全球最有价值专家 //https://mvp.microsoft.com/zh-cn/PublicProfile/4033620 //版权所有(c)2016-2018比特币核心开发者 //根据MIT软件许可证分发,请参见随附的 //文件复制或http://www.opensource.org/licenses/mit-license.php。 #include <ben...
33.082474
100
0.703334
yinchengtsinghua
38c35ab65ac6d34784842a53cc14f8d02aaa3805
4,525
cpp
C++
src/complexMoveHeuristic.cpp
robhor/tcbvrp
86cd6c1ec5a1152ff2ddb154183b005f6f7751ed
[ "MIT" ]
null
null
null
src/complexMoveHeuristic.cpp
robhor/tcbvrp
86cd6c1ec5a1152ff2ddb154183b005f6f7751ed
[ "MIT" ]
null
null
null
src/complexMoveHeuristic.cpp
robhor/tcbvrp
86cd6c1ec5a1152ff2ddb154183b005f6f7751ed
[ "MIT" ]
null
null
null
// Copyright 2014 Robert Horvath, Johannes Vogel #include "./complexMoveHeuristic.h" #include "./nodeSwapper.h" #include "./edgeMover.h" #include "./supplySwapper.h" bool complexMove(Solution* solution, time_t stop_time, int moves, int current_length); bool complexMove_nodeSwap(Solution* solution, tim...
31.423611
96
0.58453
robhor
38c8dc4a0bc061b7a33f7db26384bcc9b4606326
414
cpp
C++
src/autowiring/dispatch_aborted_exception.cpp
CaseyCarter/autowiring
48e95a71308318c8ffb7ed1348e034fd9110f70c
[ "Apache-2.0" ]
87
2015-01-18T00:43:06.000Z
2022-02-11T17:40:50.000Z
src/autowiring/dispatch_aborted_exception.cpp
CaseyCarter/autowiring
48e95a71308318c8ffb7ed1348e034fd9110f70c
[ "Apache-2.0" ]
274
2015-01-03T04:50:49.000Z
2021-03-08T09:01:09.000Z
src/autowiring/dispatch_aborted_exception.cpp
CaseyCarter/autowiring
48e95a71308318c8ffb7ed1348e034fd9110f70c
[ "Apache-2.0" ]
15
2015-09-30T20:58:43.000Z
2020-12-19T21:24:56.000Z
// Copyright (C) 2012-2018 Leap Motion, Inc. All rights reserved. #include "stdafx.h" #include "dispatch_aborted_exception.h" dispatch_aborted_exception::dispatch_aborted_exception(void) : autowiring_error("Dispatch queue aborted") {} dispatch_aborted_exception::dispatch_aborted_exception(const std::string& what) :...
29.571429
81
0.806763
CaseyCarter