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
208478794fdeaf36843eebfb047a0ff952ed9bed
477
hpp
C++
Client/Client/MobLib.hpp
EPIKorial/rtype
12692efb3a577c9737c3fb41bf0ca082f82cb7a5
[ "MIT" ]
null
null
null
Client/Client/MobLib.hpp
EPIKorial/rtype
12692efb3a577c9737c3fb41bf0ca082f82cb7a5
[ "MIT" ]
null
null
null
Client/Client/MobLib.hpp
EPIKorial/rtype
12692efb3a577c9737c3fb41bf0ca082f82cb7a5
[ "MIT" ]
null
null
null
#pragma once #ifndef MOBLIB_HPP_ # define MOBLIB_HPP_ # include <map> # include <string> class MobLib { std::map<short, std::string> assets; static const std::string NO_PATH; public: MobLib(const std::string &first); MobLib(const MobLib &); ~MobLib(); MobLib &operator=(const MobLib &); void add(short id,...
17.035714
49
0.687631
EPIKorial
2088f0ccec4dc8d6f59e38cc0b31d3e2a229b4a4
1,116
hxx
C++
Wavelet_Transform_Fast.hxx
ChevronETC/CvxCompress
55e072862196e917e3ecece81f014e93d60cdf81
[ "MIT" ]
null
null
null
Wavelet_Transform_Fast.hxx
ChevronETC/CvxCompress
55e072862196e917e3ecece81f014e93d60cdf81
[ "MIT" ]
1
2020-09-16T14:26:55.000Z
2020-09-16T14:26:55.000Z
Wavelet_Transform_Fast.hxx
ChevronETC/CvxCompress
55e072862196e917e3ecece81f014e93d60cdf81
[ "MIT" ]
null
null
null
#ifndef CVX_WAVELET_TRANSFORM_FAST_HXX #define CVX_WAVELET_TRANSFORM_FAST_HXX #include <immintrin.h> /*! * Perform forward wavelet transform. * Arguments: * work - pointer to the block you want to transform. must be aligned on 32 byte boundary. * tmp - temporary buffer used internally. must be at least 8*MAX(bx,...
25.953488
125
0.706093
ChevronETC
208db4517af2d01cdae5df50e6f42129c7e96d1f
1,515
cpp
C++
Examples/waveOnMembrane.cpp
davidkleiven/VISA
1b07197a3ea1f88c40e7d9249e08deee360ea814
[ "MIT" ]
2
2018-05-27T12:49:40.000Z
2018-09-05T05:50:51.000Z
Examples/waveOnMembrane.cpp
davidkleiven/VISA
1b07197a3ea1f88c40e7d9249e08deee360ea814
[ "MIT" ]
null
null
null
Examples/waveOnMembrane.cpp
davidkleiven/VISA
1b07197a3ea1f88c40e7d9249e08deee360ea814
[ "MIT" ]
1
2018-04-11T10:05:49.000Z
2018-04-11T10:05:49.000Z
#include "visa.hpp" #include <iostream> #include <chrono> #include <thread> #include <cmath> using namespace std; const double PI = acos(-1.0); double Lx = 800.0; double Ly = 800.0; double freq = 0.05; double eigenMode( double x, double y, unsigned int nx, unsigned int ny ) { return sin( nx*PI*x/Lx)*sin( ny*PI*y/L...
21.956522
80
0.60198
davidkleiven
208e8cbbedcfaa28c3422f0389d11ad812187489
2,118
cpp
C++
src/gitcpp/implementation/annotated_commit/AnnotatedCommitRepositoryExt.cpp
ekuch/gitcpp
8f29d4fd3f63a6a52885505983c756e5b5ee27dc
[ "MIT" ]
1
2017-02-07T14:20:59.000Z
2017-02-07T14:20:59.000Z
src/gitcpp/implementation/annotated_commit/AnnotatedCommitRepositoryExt.cpp
ekuch/gitcpp
8f29d4fd3f63a6a52885505983c756e5b5ee27dc
[ "MIT" ]
null
null
null
src/gitcpp/implementation/annotated_commit/AnnotatedCommitRepositoryExt.cpp
ekuch/gitcpp
8f29d4fd3f63a6a52885505983c756e5b5ee27dc
[ "MIT" ]
null
null
null
// // Created by ekuch on 10/7/15. // #include "AnnotatedCommitRepositoryExt.h" #include "implementation/HandleUtil.h" #include "implementation/ErrorUtil.h" #include "implementation/annotated_commit/AnnotatedCommit.h" #include <git2/annotated_commit.h> namespace gitcpp { namespace annotated_commit { t...
48.136364
182
0.734655
ekuch
2090ce2d222abf740712bf54ac36a69ddd34ca91
2,117
cpp
C++
src/QtAudio/CiosAudio/CaStreamIO.cpp
Vladimir-Lin/QtAudio
5c58e86cda1a88f03c4dde53883a979bec37b504
[ "MIT" ]
null
null
null
src/QtAudio/CiosAudio/CaStreamIO.cpp
Vladimir-Lin/QtAudio
5c58e86cda1a88f03c4dde53883a979bec37b504
[ "MIT" ]
null
null
null
src/QtAudio/CiosAudio/CaStreamIO.cpp
Vladimir-Lin/QtAudio
5c58e86cda1a88f03c4dde53883a979bec37b504
[ "MIT" ]
null
null
null
/***************************************************************************** * * * CIOS Audio Core * * * * V...
31.597015
79
0.350024
Vladimir-Lin
2093d519752c616872780bc2ad72b098b23f9401
9,280
cpp
C++
src/MushMeshLibrary/MushMeshLibraryFGenExtrude.cpp
quimnuss/adanaxis
a04eb945fe808aeb9be5da305a37ff47e04dd006
[ "MIT" ]
null
null
null
src/MushMeshLibrary/MushMeshLibraryFGenExtrude.cpp
quimnuss/adanaxis
a04eb945fe808aeb9be5da305a37ff47e04dd006
[ "MIT" ]
null
null
null
src/MushMeshLibrary/MushMeshLibraryFGenExtrude.cpp
quimnuss/adanaxis
a04eb945fe808aeb9be5da305a37ff47e04dd006
[ "MIT" ]
null
null
null
//%Header { /***************************************************************************** * * File: src/MushMeshLibrary/MushMeshLibraryFGenExtrude.cpp * * Copyright: Andy Southgate 2005 * * This file may be used and distributed under the terms of the Mushware * software licence version 1.0, under the terms for ...
33.623188
127
0.661099
quimnuss
209482d13dcc47339854fc17b1b062cc028e212e
14,390
cpp
C++
code/cheonsa/cheonsa__ops_color.cpp
Olaedaria/cheonsa
cf366a5869a4bf0872a0d8dc6a01a68118cfc92e
[ "Unlicense" ]
null
null
null
code/cheonsa/cheonsa__ops_color.cpp
Olaedaria/cheonsa
cf366a5869a4bf0872a0d8dc6a01a68118cfc92e
[ "Unlicense" ]
null
null
null
code/cheonsa/cheonsa__ops_color.cpp
Olaedaria/cheonsa
cf366a5869a4bf0872a0d8dc6a01a68118cfc92e
[ "Unlicense" ]
null
null
null
#include "cheonsa__ops_color.h" #include "cheonsa__ops_math.h" #include "cheonsa__ops_vector.h" namespace cheonsa { namespace ops { void_c convert_rgba_to_rgba( vector32x4_c const & value, uint32_c & result ) { result = static_cast< uint32_c >( math_saturate( value.a ) * 255.0f ) << 24 | static_cast< u...
26.068841
142
0.547116
Olaedaria
2095dfcdb8687439e71ff66b80860b39afd450a2
120
cpp
C++
test/module_a.cpp
luishpmendes/ns-brkga
61b3ec35ea4276359b1baa7c0f6c92087c4f8d3b
[ "MIT" ]
null
null
null
test/module_a.cpp
luishpmendes/ns-brkga
61b3ec35ea4276359b1baa7c0f6c92087c4f8d3b
[ "MIT" ]
null
null
null
test/module_a.cpp
luishpmendes/ns-brkga
61b3ec35ea4276359b1baa7c0f6c92087c4f8d3b
[ "MIT" ]
1
2020-10-19T16:04:08.000Z
2020-10-19T16:04:08.000Z
#include "nsbrkga_mp_ipr.hpp" int main() { auto params = BRKGA::readConfiguration("config.conf"); return 0; }
15
58
0.666667
luishpmendes
2096abee29cc39a53272df150c3f1b51eca917c8
59
hpp
C++
src/stdafx.hpp
BttrDrgn/Fall-ENG-Down
68c98a98a2948287092d98707b947a7d5cd8a1fb
[ "MIT" ]
null
null
null
src/stdafx.hpp
BttrDrgn/Fall-ENG-Down
68c98a98a2948287092d98707b947a7d5cd8a1fb
[ "MIT" ]
null
null
null
src/stdafx.hpp
BttrDrgn/Fall-ENG-Down
68c98a98a2948287092d98707b947a7d5cd8a1fb
[ "MIT" ]
null
null
null
#include <Windows.h> #include <stdio.h> #include <stdlib.h>
19.666667
20
0.711864
BttrDrgn
209df5e6aa9df7bb8461bdc659011d08349c3bcc
209
cpp
C++
src/src/actors/actortypes/refactor.cpp
g-robertson/Arrowpen
b6514d9824d763bbbad56ca6b90778619e66d55f
[ "MIT" ]
null
null
null
src/src/actors/actortypes/refactor.cpp
g-robertson/Arrowpen
b6514d9824d763bbbad56ca6b90778619e66d55f
[ "MIT" ]
null
null
null
src/src/actors/actortypes/refactor.cpp
g-robertson/Arrowpen
b6514d9824d763bbbad56ca6b90778619e66d55f
[ "MIT" ]
null
null
null
#include "refactor.hpp" RefActor::RefActor() {} RefActor::RefActor(const SDL_Rect* rect) { this->rect = rect; } RefActor::RefActor(const std::unique_ptr<SDL_Rect>& rect) { this->rect = rect.get(); }
19
59
0.669856
g-robertson
20a389c543bd68f9996bff1573b4da370aaf63af
8,241
cpp
C++
tcm/src/v20210413/model/PrometheusStatus.cpp
suluner/tencentcloud-sdk-cpp
a56c73cc3f488c4d1e10755704107bb15c5e000d
[ "Apache-2.0" ]
null
null
null
tcm/src/v20210413/model/PrometheusStatus.cpp
suluner/tencentcloud-sdk-cpp
a56c73cc3f488c4d1e10755704107bb15c5e000d
[ "Apache-2.0" ]
null
null
null
tcm/src/v20210413/model/PrometheusStatus.cpp
suluner/tencentcloud-sdk-cpp
a56c73cc3f488c4d1e10755704107bb15c5e000d
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 ...
27.935593
147
0.679286
suluner
20aa63df287e14aba9bc8745fdf386c0430a80cd
1,673
hpp
C++
addons/uh60_fms/config/MFD/fms/performance_draw.hpp
ZHANGTIANYAO1/H-60
4c6764f74190dbe7d81ddeae746cf78d8b7dff92
[ "Naumen", "Condor-1.1", "MS-PL" ]
14
2021-02-11T23:23:21.000Z
2021-09-08T05:36:47.000Z
addons/uh60_fms/config/MFD/fms/performance_draw.hpp
ZHANGTIANYAO1/H-60
4c6764f74190dbe7d81ddeae746cf78d8b7dff92
[ "Naumen", "Condor-1.1", "MS-PL" ]
130
2021-09-09T21:43:16.000Z
2022-03-30T09:00:37.000Z
addons/uh60_fms/config/MFD/fms/performance_draw.hpp
ZHANGTIANYAO1/H-60
4c6764f74190dbe7d81ddeae746cf78d8b7dff92
[ "Naumen", "Condor-1.1", "MS-PL" ]
11
2021-02-18T19:55:51.000Z
2021-09-01T17:08:47.000Z
TEXT_FMS_C(HEADER_TEXT,0.5,FMS_YHEAD) source = "static"; text = "PERFORMANCE DATA"; }; // HEADER_TEXT TEXT_FMS_L(FUEL_QTY_LABEL,FMS_MARGIN_L,FMS_Y1) source = "static"; text = "FUEL QTY"; }; // FUEL_QTY_LABEL TEXT_FMS_L(FUEL_QTY,FMS_MARGIN_L,FMS_Y12) source="fuel"; sourceScale = 2040; sourceLength = 4; }; // ...
22.917808
57
0.73162
ZHANGTIANYAO1
20ab06c69212356417478ae312dd581b4ab034de
929
hpp
C++
src/kernels/composable_kernel/include/utility/config.hpp
whchung/MIOpen
011b36541032b8979ad78c8f52606a2b8d36502d
[ "MIT" ]
null
null
null
src/kernels/composable_kernel/include/utility/config.hpp
whchung/MIOpen
011b36541032b8979ad78c8f52606a2b8d36502d
[ "MIT" ]
null
null
null
src/kernels/composable_kernel/include/utility/config.hpp
whchung/MIOpen
011b36541032b8979ad78c8f52606a2b8d36502d
[ "MIT" ]
null
null
null
#ifndef CK_CONFIG_AMD_HPP #define CK_CONFIG_AMD_HPP #include "hip/hip_runtime.h" #include "hip/hip_fp16.h" #define CK_DEVICE_BACKEND_AMD 1 #define CK_USE_AMD_INLINE_ASM 1 #define CK_EXPERIMENTAL_USE_MORE_COMPILE_STATIC_BLOCKWISE_GENERIC_SLICE_COPY_V1 1 #define CK_EXPERIMENTAL_USE_MORE_COMPILE_STATIC_THREADWISE_GENERI...
22.658537
89
0.790097
whchung
20af76bbfb0c0da822e21194370d87c994a9c51a
10,952
cpp
C++
ui/render/d3d11.cpp
1480c1/cddNES
a262d7b90666448413f17e637510450082e125de
[ "MIT" ]
18
2019-09-11T22:19:46.000Z
2021-02-11T13:23:09.000Z
ui/render/d3d11.cpp
1480c1/cddNES
a262d7b90666448413f17e637510450082e125de
[ "MIT" ]
2
2020-09-25T08:59:38.000Z
2020-11-10T15:15:06.000Z
ui/render/d3d11.cpp
1480c1/cddNES
a262d7b90666448413f17e637510450082e125de
[ "MIT" ]
6
2019-09-27T02:14:04.000Z
2020-09-26T07:42:23.000Z
#include "d3d11.h" #include <stdio.h> #include <windows.h> #include <d3d11.h> #include "shaders/d3d11/vs.h" #include "shaders/d3d11/ps.h" struct d3d11 { ID3D11Device *device; ID3D11DeviceContext *context; IDXGISwapChain *swap_chain; ID3D11VertexShader *vs; ID3D11PixelShader *ps; ID3D11SamplerState *ss_point; ...
27.041975
112
0.696037
1480c1
20b5d45fa8d59c94322b83d203563f0f0dd6843b
1,656
cpp
C++
audio/NxStreamedPlayer.cpp
quyse/inanity
a39225c5a41f879abe5aa492bb22b500dbe77433
[ "MIT" ]
26
2015-04-22T05:25:25.000Z
2020-11-15T11:07:56.000Z
audio/NxStreamedPlayer.cpp
quyse/inanity
a39225c5a41f879abe5aa492bb22b500dbe77433
[ "MIT" ]
2
2015-01-05T10:41:27.000Z
2015-01-06T20:46:11.000Z
audio/NxStreamedPlayer.cpp
quyse/inanity
a39225c5a41f879abe5aa492bb22b500dbe77433
[ "MIT" ]
5
2016-08-02T11:13:57.000Z
2018-10-26T11:19:27.000Z
#include "NxStreamedPlayer.hpp" #include "NxSystem.hpp" #include "Source.hpp" #include "../File.hpp" #include "../InputStream.hpp" BEGIN_INANITY_AUDIO NxStreamedPlayer::NxStreamedPlayer(ptr<NxSystem> system, ptr<Source> source) : NxPlayer(system, source->GetFormat()), source(source) { // initialize buffer files For...
24.352941
77
0.729469
quyse
20be4b0fb683067ab22b47d1e1e9af6c77c93f7f
24,063
cpp
C++
hmac_drbg.cpp
Acria-Network/Acria-Oracle-Node-Qt
2b224c5a18b0f9b0e5c2f9f96e08d5a232e7736e
[ "MIT" ]
15
2021-03-04T01:57:10.000Z
2022-01-31T21:27:52.000Z
hmac_drbg.cpp
gnctrk042/Acria-Oracle-Node-Qt
2b224c5a18b0f9b0e5c2f9f96e08d5a232e7736e
[ "MIT" ]
1
2021-12-25T21:06:19.000Z
2022-01-11T19:12:24.000Z
hmac_drbg.cpp
gnctrk042/Acria-Oracle-Node-Qt
2b224c5a18b0f9b0e5c2f9f96e08d5a232e7736e
[ "MIT" ]
8
2021-04-04T20:31:27.000Z
2022-01-31T21:27:54.000Z
/** \file hmac_drbg.c * * \brief Implements HMAC_DRBG using HMAC_SHA-256. * * This file implements a deterministic random bit generator (DRBG) based * on a HMAC based on SHA-256. Here are two uses for such a generator: * - As the foundation of a RFC 6979-based deterministic signature scheme * for ECDSA....
41.416523
197
0.63982
Acria-Network
20c69118d052cc1eaebd9515bdb3104b0d67876b
1,206
hpp
C++
include/GlobalNamespace/IMenuButtonTrigger.hpp
darknight1050/BeatSaber-Quest-Codegen
a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032
[ "Unlicense" ]
null
null
null
include/GlobalNamespace/IMenuButtonTrigger.hpp
darknight1050/BeatSaber-Quest-Codegen
a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032
[ "Unlicense" ]
null
null
null
include/GlobalNamespace/IMenuButtonTrigger.hpp
darknight1050/BeatSaber-Quest-Codegen
a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032
[ "Unlicense" ]
null
null
null
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes // Completed includes // Begin forward declares // Forward declaring namespace: System namespace System { // Forward declaring type: Action ...
35.470588
88
0.690713
darknight1050
20ce06e2cf61d5d2d80a8890f4ba6c0e02590964
629
hpp
C++
include/philchess/algorithm/iterative_deepening.hpp
philipplenk/paulchen332
a0796a1b506854a0a91b14b66fc383c6f120bc9f
[ "BSD-2-Clause" ]
4
2020-12-12T16:55:23.000Z
2021-12-17T17:19:11.000Z
include/philchess/algorithm/iterative_deepening.hpp
philipplenk/paulchen332
a0796a1b506854a0a91b14b66fc383c6f120bc9f
[ "BSD-2-Clause" ]
4
2020-11-25T11:20:01.000Z
2022-02-05T09:38:31.000Z
include/philchess/algorithm/iterative_deepening.hpp
philipplenk/paulchen332
a0796a1b506854a0a91b14b66fc383c6f120bc9f
[ "BSD-2-Clause" ]
null
null
null
#ifndef PHILCHESS_ALGORITHM_ITERATIVE_DEEPENING_H #define PHILCHESS_ALGORITHM_ITERATIVE_DEEPENING_H namespace philchess { namespace algorithm { template <typename INIT_FUN_T, typename ITER_FUN_T, typename ABORT_FUN_T> constexpr auto iterative_deepening(INIT_FUN_T init_fun, ITER_FUN_T fun, ABORT_FUN_T abort_fun) { un...
20.966667
94
0.790143
philipplenk
20d068a33c4f6ce4c5360f1ddad47ad26c4927cc
12,140
hpp
C++
include/gbMath/Vector3.hpp
ComicSansMS/GhulbusMath
e1c72fc30faed56f99ee00ba99da0515c3336b21
[ "MIT" ]
null
null
null
include/gbMath/Vector3.hpp
ComicSansMS/GhulbusMath
e1c72fc30faed56f99ee00ba99da0515c3336b21
[ "MIT" ]
1
2020-12-27T15:07:35.000Z
2020-12-27T15:07:35.000Z
include/gbMath/Vector3.hpp
ComicSansMS/GhulbusMath
e1c72fc30faed56f99ee00ba99da0515c3336b21
[ "MIT" ]
null
null
null
#ifndef GHULBUS_LIBRARY_INCLUDE_GUARD_MATH_VECTOR3_HPP #define GHULBUS_LIBRARY_INCLUDE_GUARD_MATH_VECTOR3_HPP /** @file * * @brief 3D Vector. * @author Andreas Weis (der_ghulbus@ghulbus-inc.de) */ #include <gbMath/config.hpp> #include <gbMath/NumberTypeTraits.hpp> #include <gbMath/VectorTraits.hpp> #include <cm...
30.35
118
0.628336
ComicSansMS
20d11f2d9ef312ca36aac32f8d7a0e45222f50e9
603
hpp
C++
examples/common/toy_example/sfml/Window.hpp
ToyAuthor/ToyBoxNote
accc792f5ab2fa8911dc1a70ffbfc6dfd02db9a6
[ "Unlicense" ]
null
null
null
examples/common/toy_example/sfml/Window.hpp
ToyAuthor/ToyBoxNote
accc792f5ab2fa8911dc1a70ffbfc6dfd02db9a6
[ "Unlicense" ]
null
null
null
examples/common/toy_example/sfml/Window.hpp
ToyAuthor/ToyBoxNote
accc792f5ab2fa8911dc1a70ffbfc6dfd02db9a6
[ "Unlicense" ]
null
null
null
#pragma once #include <cstdint> #include <string> #include <memory> #include <SFML/Window.hpp> // Remove Microsoft macro #if defined(_WIN32) && defined(CreateWindow) #undef CreateWindow #endif namespace toy{ namespace example{ inline static auto CreateWindow( std::string title, uint32_t width, uint32_t height )...
17.735294
114
0.708126
ToyAuthor
20d397d937bf480f9d242a66bc4888c2b9c9428e
267
cpp
C++
source/deps/illa/f_tiff.cpp
poppeman/Pictus
0e58285b89292d0b221ab4d09911ef439711cc59
[ "MIT" ]
73
2015-01-19T17:38:26.000Z
2022-02-15T06:16:08.000Z
source/deps/illa/f_tiff.cpp
poppeman/Pictus
0e58285b89292d0b221ab4d09911ef439711cc59
[ "MIT" ]
75
2015-01-01T17:32:24.000Z
2018-10-18T08:19:08.000Z
source/deps/illa/f_tiff.cpp
poppeman/Pictus
0e58285b89292d0b221ab4d09911ef439711cc59
[ "MIT" ]
18
2015-01-05T04:57:18.000Z
2022-03-06T01:35:10.000Z
#include "f_tiff.h" #include "c_tiff.h" namespace Img { AbstractCodec* FactoryTIFF::CreateCodec() { return new CodecTIFF(); } FactoryTIFF::FactoryTIFF():ICodecFactory(u8"TIFF") { AddExtension(u8"TIF"); AddExtension(u8"TIFF"); AddExtension(u8"XIF"); } }
17.8
53
0.696629
poppeman
20d4b1f36c630571d5ce67ea04e841c8bc9b2e6a
18,204
hpp
C++
include/Hawk/Math/Functions.hpp
IBets/VolumeRender
56ccfbf50498ed598d02483526b3c12a2a90b2e0
[ "MIT" ]
22
2019-08-09T13:54:21.000Z
2022-02-10T22:14:16.000Z
include/Hawk/Math/Functions.hpp
MikhailGorobets/VolumeRender
56ccfbf50498ed598d02483526b3c12a2a90b2e0
[ "MIT" ]
4
2020-06-11T10:50:41.000Z
2021-08-07T20:21:13.000Z
include/Hawk/Math/Functions.hpp
IBets/VolumeRender
56ccfbf50498ed598d02483526b3c12a2a90b2e0
[ "MIT" ]
9
2020-05-27T17:23:34.000Z
2021-09-03T11:14:47.000Z
/* * MIT License * * Copyright(c) 2021 Mikhail Gorobets * * 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, mo...
39.833698
146
0.601406
IBets
20d5285e5e81329a42be5f5a1d1a925019e16c87
1,005
cpp
C++
cpp3/vdestruct.cpp
CGCC-CS/csc240fall19
134d4ba8b48e0be9f0a0e158bca31f8b1b89f80f
[ "MIT" ]
1
2019-08-20T05:29:40.000Z
2019-08-20T05:29:40.000Z
cpp3/vdestruct.cpp
mizanmrahman/CSC240Fall19Th
02df4989a03a2a208519ce33e2f026b87f29aa52
[ "MIT" ]
null
null
null
cpp3/vdestruct.cpp
mizanmrahman/CSC240Fall19Th
02df4989a03a2a208519ce33e2f026b87f29aa52
[ "MIT" ]
1
2019-10-23T23:29:50.000Z
2019-10-23T23:29:50.000Z
#include<iostream> using namespace std; class MyBase { public: MyBase() { cout << " MYBASE Constructor" << endl; } virtual ~MyBase() { cout << " MYBASE Destructor" << endl; } }; class MyClass : public MyBase { private: int * a; public: MyClass(int x=0) { a = new int; *a = x; ...
22.333333
66
0.538308
CGCC-CS
20d5b274047a2302a5a96d18cf19ab6c88646de4
5,096
cpp
C++
SMACH/Inspection/inspection.cpp
cxdcxd/sepanta3
a65a3415f046631ac4d6b91f9342966b0c030226
[ "MIT" ]
null
null
null
SMACH/Inspection/inspection.cpp
cxdcxd/sepanta3
a65a3415f046631ac4d6b91f9342966b0c030226
[ "MIT" ]
null
null
null
SMACH/Inspection/inspection.cpp
cxdcxd/sepanta3
a65a3415f046631ac4d6b91f9342966b0c030226
[ "MIT" ]
null
null
null
#include <ros/ros.h> #include <actionlib/client/simple_action_client.h> #include <actionlib/client/terminal_state.h> #include <athomerobot_msgs/slamactionAction.h> #include "athomerobot_msgs/maptools.h" #include <stdlib.h> #include <stdio.h> #include <string.h> #include <setjmp.h> #include <iostream> #include <fstrea...
26
132
0.642661
cxdcxd
22143b265bbb5f8988a55e0b1f8d5bac6697f584
43,469
hh
C++
duktape/mod/mod.sys.exec.hh
stfwi/duktape-cc
5ce7e818bc080b011a5dbcefe5e643deea7cdcdb
[ "MIT" ]
9
2018-06-21T06:35:02.000Z
2021-05-11T00:36:34.000Z
duktape/mod/mod.sys.exec.hh
stfwi/duktape-cc
5ce7e818bc080b011a5dbcefe5e643deea7cdcdb
[ "MIT" ]
4
2019-08-13T15:02:02.000Z
2021-04-14T20:02:07.000Z
duktape/mod/mod.sys.exec.hh
stfwi/duktape-cc
5ce7e818bc080b011a5dbcefe5e643deea7cdcdb
[ "MIT" ]
4
2018-03-09T15:19:31.000Z
2019-08-13T05:45:24.000Z
/** * @file duktape/mod/mod.sys.exec.hh * @package de.atwillys.cc.duktape * @license MIT * @authors Stefan Wilhelm (stfwi, <cerbero s@atwillys.de>) * @platform linux, bsd, windows * @standard >= c++11 * @requires duk_config.h duktape.h duktape.c >= v2.1 * @requires Duktape CFLAGS -DDUK_USE_CPP_EXCEPTION...
36.651771
173
0.51508
stfwi
221799788b980017f20f3b6436162b695f76fef0
3,418
cpp
C++
src/touchcontrol.cpp
qistoph/BedLed
0c239c3b848da4a79175c44b4c80b9e72a93fa29
[ "MIT" ]
1
2019-02-06T17:12:02.000Z
2019-02-06T17:12:02.000Z
src/touchcontrol.cpp
qistoph/BedLed
0c239c3b848da4a79175c44b4c80b9e72a93fa29
[ "MIT" ]
1
2019-10-06T20:51:08.000Z
2019-10-06T20:51:08.000Z
src/touchcontrol.cpp
qistoph/BedLed
0c239c3b848da4a79175c44b4c80b9e72a93fa29
[ "MIT" ]
2
2018-03-14T16:35:09.000Z
2019-10-06T20:05:41.000Z
#include "touchcontrol.h" #include "lightcontrol.h" #include "modes.h" #include "quake.h" byte releaseAction = RELEASE_CLICK; unsigned long touchStartedAt = 0; #define MODE_NORMAL 0 #define MODE_BRIGHT 1 #define MODE_BREATH 2 #define MODE_STROBE 3 #define MODE_HORROR 4 #define MODE_QUAKE 5 #define NUM_MODES 6 byt...
22.339869
98
0.592744
qistoph
221d6d07184463a5b2860fb7e7d50dcdc5eba80d
13,883
cxx
C++
src/nAuth.cxx
jtrulson/conquest
3dcb92ad6bf3b6a2eb64e457ce50b63c34110c96
[ "MIT" ]
13
2018-03-28T17:25:40.000Z
2022-03-10T14:13:23.000Z
src/nAuth.cxx
jtrulson/conquest
3dcb92ad6bf3b6a2eb64e457ce50b63c34110c96
[ "MIT" ]
null
null
null
src/nAuth.cxx
jtrulson/conquest
3dcb92ad6bf3b6a2eb64e457ce50b63c34110c96
[ "MIT" ]
1
2020-09-13T05:12:34.000Z
2020-09-13T05:12:34.000Z
// // Author: Jon Trulson <jon@radscan.com> // Copyright (c) 1994-2018 Jon Trulson // // The MIT License // // 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, includin...
27.275049
77
0.4991
jtrulson
22201f59026c427f7cca7f8f7e243038f278cae0
1,062
cpp
C++
ch05-04-follow-mouse-1/src/main.cpp
pulpobot/C-SFML-html5-animation
14154008b853d1235e8ca35a5b23b6a70366f914
[ "MIT" ]
73
2017-12-14T00:33:23.000Z
2022-02-09T12:04:52.000Z
ch05-04-follow-mouse-1/src/main.cpp
threaderic/C-SFML-html5-animation
22f302cdf7c7c00247609da30e1bcf472d134583
[ "MIT" ]
null
null
null
ch05-04-follow-mouse-1/src/main.cpp
threaderic/C-SFML-html5-animation
22f302cdf7c7c00247609da30e1bcf472d134583
[ "MIT" ]
5
2017-12-26T03:30:07.000Z
2020-07-05T04:58:24.000Z
#include <SFML/Graphics.hpp> #include <cmath> #include "Arrow.h" #define PI 3.14159265 int main() { //You can turn off antialiasing if your graphics card doesn't support it sf::ContextSettings context; context.antialiasingLevel = 4; sf::RenderWindow window(sf::VideoMode(400,400), "Follow Mouse 1", sf::Style::Tit...
19.666667
116
0.645951
pulpobot
2224870b09fef1ad4a96180ce81003dd3957d1b1
4,886
cpp
C++
src/log.cpp
borrrden/PPL
594424be1209937b742db4ca734ab2e2e54d5c62
[ "BSD-3-Clause" ]
null
null
null
src/log.cpp
borrrden/PPL
594424be1209937b742db4ca734ab2e2e54d5c62
[ "BSD-3-Clause" ]
null
null
null
src/log.cpp
borrrden/PPL
594424be1209937b742db4ca734ab2e2e54d5c62
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2013, Philipp Muenzel mail@philippmuenzel.de // 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, th...
31.727273
82
0.43246
borrrden
222b35cf3b9e2f17acec2372248169da33a444ff
1,589
cpp
C++
3SPACE/Roomimp.cpp
dakahler/3space
608f3f295eabdbd246bd1547b0722282886d5967
[ "MIT" ]
null
null
null
3SPACE/Roomimp.cpp
dakahler/3space
608f3f295eabdbd246bd1547b0722282886d5967
[ "MIT" ]
null
null
null
3SPACE/Roomimp.cpp
dakahler/3space
608f3f295eabdbd246bd1547b0722282886d5967
[ "MIT" ]
null
null
null
#include <fstream> // File I/O header #include <stdio.h> using namespace std; // Polygon Linked List struct PolyDef { double x,y,z,num; PolyDef *next; }; PolyDef *first; PolyDef *last; // Collision Detection Linked List struct LineEq { double p1x,p1y,p2x,p2y,m; LineEq *next; }; LineEq *first_l...
20.371795
54
0.602266
dakahler
222bcdb06d2ca758ecc29b20acf31b407a31acf8
224
cpp
C++
bytecode/interpreter/src/BytecodeInterpreter/Units/InterpreterCommandAddI.cpp
Scorbutics/skalang
c8d1869a2f0c7857ee05ef45bd3aa4e537d39558
[ "MIT" ]
3
2019-04-08T17:34:19.000Z
2020-01-03T04:47:06.000Z
bytecode/interpreter/src/BytecodeInterpreter/Units/InterpreterCommandAddI.cpp
Scorbutics/skalang
c8d1869a2f0c7857ee05ef45bd3aa4e537d39558
[ "MIT" ]
4
2020-04-19T22:09:06.000Z
2020-11-06T15:47:08.000Z
bytecode/interpreter/src/BytecodeInterpreter/Units/InterpreterCommandAddI.cpp
Scorbutics/skalang
c8d1869a2f0c7857ee05ef45bd3aa4e537d39558
[ "MIT" ]
null
null
null
#include "InterpreterCommandAddI.h" SKALANG_BYTECODE_INTERPRETER_COMMAND_DECLARE(ADD_I)(ExecutionContext& context, const Operand& left, const Operand& right) { return context.get<long>(left) + context.get<long>(right); }
37.333333
123
0.794643
Scorbutics
2230dcd1cb3c3e206464b51e5d1c1f678804bcd7
3,348
cpp
C++
Source/API/lib3mf_component.cpp
alexanderoster/lib3mf
30d5c2e0e8ed7febb5c10a84dc2db9d53fee6d05
[ "BSD-2-Clause" ]
171
2015-04-30T21:54:02.000Z
2022-03-13T13:33:59.000Z
Source/API/lib3mf_component.cpp
alexanderoster/lib3mf
30d5c2e0e8ed7febb5c10a84dc2db9d53fee6d05
[ "BSD-2-Clause" ]
190
2015-07-21T22:15:54.000Z
2022-03-30T15:48:37.000Z
Source/API/lib3mf_component.cpp
alexanderoster/lib3mf
30d5c2e0e8ed7febb5c10a84dc2db9d53fee6d05
[ "BSD-2-Clause" ]
80
2015-04-30T22:15:54.000Z
2022-03-09T12:38:49.000Z
/*++ Copyright (C) 2019 3MF Consortium (Original Author) 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 conditio...
32.823529
126
0.731183
alexanderoster
2234bcddad8914510073e782a2dfa482f30b0a07
4,142
cpp
C++
MasterServer/System/ConsoleCommands.cpp
amrhead/FireNET
34d439aa0157b0c895b20b2b664fddf4f9b84af1
[ "BSD-2-Clause" ]
4
2017-12-18T20:10:16.000Z
2021-02-07T21:21:24.000Z
MasterServer/System/ConsoleCommands.cpp
amrhead/FireNET
34d439aa0157b0c895b20b2b664fddf4f9b84af1
[ "BSD-2-Clause" ]
null
null
null
MasterServer/System/ConsoleCommands.cpp
amrhead/FireNET
34d439aa0157b0c895b20b2b664fddf4f9b84af1
[ "BSD-2-Clause" ]
3
2019-03-11T21:36:15.000Z
2021-02-07T21:21:26.000Z
/************************************************************************* Copyright (C), chernecoff@gmail.com, 2014-2015 --------------------------------------------------------------------------- History: - 29.08.2014 20:02 : Created by AfroStalin(chernecoff) - 22.05.2015 12:24 : Edited by AfroStalin(chernecoff)...
32.359375
152
0.544664
amrhead
2238de52e5ad67fdc492cca0fb9d5f8d0f9286d6
5,359
cpp
C++
multiprecision/MPEncVector.cpp
fionser/MDLHElib
3c686ab35d7b26a893213a6e9d4249cd46c2969d
[ "MIT" ]
5
2017-01-16T06:20:07.000Z
2018-05-17T12:36:34.000Z
multiprecision/MPEncVector.cpp
fionser/MDLHElib
3c686ab35d7b26a893213a6e9d4249cd46c2969d
[ "MIT" ]
null
null
null
multiprecision/MPEncVector.cpp
fionser/MDLHElib
3c686ab35d7b26a893213a6e9d4249cd46c2969d
[ "MIT" ]
2
2017-08-26T13:16:35.000Z
2019-03-15T02:08:20.000Z
#include "MPEncVector.hpp" #include "MPPubKey.hpp" #include "MPSecKey.hpp" #include "MPEncArray.hpp" #include "algebra/CRT.hpp" #include <vector> #include <thread> #ifdef FHE_THREADS const long WORKER_NR = 8; #else const long WORKER_NR = 1; #endif MPEncVector::MPEncVector(const MPPubKey &pk) { auto num = pk.keyNum...
24.925581
79
0.527337
fionser
2239f0796f3bb06db5a09390cd10ceaa0b378925
2,394
hpp
C++
pbdata/CompressedSequence.hpp
ggraham/blasr_libcpp
4abef36585bbb677ebc4acb9d4e44e82331d59f7
[ "RSA-MD" ]
4
2015-07-03T11:59:54.000Z
2018-05-17T00:03:22.000Z
pbdata/CompressedSequence.hpp
ggraham/blasr_libcpp
4abef36585bbb677ebc4acb9d4e44e82331d59f7
[ "RSA-MD" ]
79
2015-06-29T18:07:21.000Z
2018-09-19T13:38:39.000Z
pbdata/CompressedSequence.hpp
ggraham/blasr_libcpp
4abef36585bbb677ebc4acb9d4e44e82331d59f7
[ "RSA-MD" ]
19
2015-06-23T08:43:29.000Z
2021-04-28T18:37:47.000Z
#ifndef _BLASR_COMPRESSED_SEQUENCE_HPP_ #define _BLASR_COMPRESSED_SEQUENCE_HPP_ #include <cassert> #include <cstdint> #include <cstring> #include <fstream> #include <iostream> #include <ostream> #include <pbdata/Enumerations.h> #include <pbdata/Types.h> #include <pbdata/DNASequence.hpp> #include <pbdata/FASTASequence...
23.242718
87
0.739766
ggraham
223b5b629df4f41bbf58202e25e82b8544232a82
797
hpp
C++
include/ConnectionFailedReason.hpp
SuperMarcus/BeatTogether.Quest
e1749e2f7af79d6c56d004befde7081e869db3ff
[ "MIT" ]
1
2021-07-24T09:45:58.000Z
2021-07-24T09:45:58.000Z
include/ConnectionFailedReason.hpp
SuperMarcus/BeatTogether.Quest
e1749e2f7af79d6c56d004befde7081e869db3ff
[ "MIT" ]
null
null
null
include/ConnectionFailedReason.hpp
SuperMarcus/BeatTogether.Quest
e1749e2f7af79d6c56d004befde7081e869db3ff
[ "MIT" ]
null
null
null
#pragma once namespace BeatTogether { enum ConnectionFailedReason { // Token: 0x04000030 RID: 48 Unknown = 1, // Token: 0x04000031 RID: 49 ConnectionCanceled, // Token: 0x04000032 RID: 50 ServerUnreachable, // Token: 0x04000033 RID: 51 ServerAlreadyEx...
27.482759
37
0.593476
SuperMarcus
223e5a7f351f7664b4a13f564551e22e89801989
510
hpp
C++
CentralUnit/VehicleEquipment/Test/Include/ThirtyDegreesSteeringWheelTest.hpp
marcinwozniak0/IntelligentVehicle
92d137f9687898a42584a5d3e754557a581e05e2
[ "MIT" ]
null
null
null
CentralUnit/VehicleEquipment/Test/Include/ThirtyDegreesSteeringWheelTest.hpp
marcinwozniak0/IntelligentVehicle
92d137f9687898a42584a5d3e754557a581e05e2
[ "MIT" ]
4
2021-09-02T08:42:16.000Z
2022-03-02T07:54:50.000Z
CentralUnit/VehicleEquipment/Test/Include/ThirtyDegreesSteeringWheelTest.hpp
marcinwozniak0/IntelligentVehicle
92d137f9687898a42584a5d3e754557a581e05e2
[ "MIT" ]
null
null
null
#pragma once #include <gtest/gtest.h> #include <cstdint> #include "ThirtyDegreesSteeringWheel.hpp" namespace { constexpr uint8_t steeringWheelPwmPinNumer = 0; constexpr uint8_t unknownSteeringWheelPwmPinNumer = 1; constexpr uint8_t pinValueInNeutralState = 0; constexpr uint8_t pinValue = 32; } using namespace ::tes...
19.615385
54
0.786275
marcinwozniak0
22483990284728aae022e17b1eb8cbe2b3b5bd36
5,214
cc
C++
src/Engines/gen_rg_base.cc
asminer/smart
269747c4578b670e5c3973f93a1e6ec71d95be78
[ "Apache-2.0" ]
6
2018-05-30T23:02:14.000Z
2022-01-19T07:30:46.000Z
src/Engines/gen_rg_base.cc
asminer/smart
269747c4578b670e5c3973f93a1e6ec71d95be78
[ "Apache-2.0" ]
null
null
null
src/Engines/gen_rg_base.cc
asminer/smart
269747c4578b670e5c3973f93a1e6ec71d95be78
[ "Apache-2.0" ]
2
2018-07-13T18:53:27.000Z
2021-04-12T17:54:02.000Z
#include "gen_rg_base.h" #include "../ExprLib/startup.h" #include "../ExprLib/engine.h" #include "../ExprLib/exprman.h" #include "../ExprLib/mod_inst.h" #include "../Options/options.h" #include "../_Timer/timerlib.h" // ************************************************************************** // * ...
28.183784
88
0.545646
asminer
224cd01eb2ad6ffd37bb77b0316889f81e999f2c
1,472
hpp
C++
include/Game.hpp
abrampers/ArkavQuarium
ceab398356cf117757b3167cfcfd5ba0215b4118
[ "MIT" ]
null
null
null
include/Game.hpp
abrampers/ArkavQuarium
ceab398356cf117757b3167cfcfd5ba0215b4118
[ "MIT" ]
3
2018-04-12T02:51:26.000Z
2018-04-12T02:55:55.000Z
include/Game.hpp
abrampers/ArkavQuarium
ceab398356cf117757b3167cfcfd5ba0215b4118
[ "MIT" ]
2
2018-04-07T10:58:58.000Z
2018-10-15T13:59:24.000Z
#ifndef GAME_HPP #define GAME_HPP #include <math.h> #include <iostream> #include <sstream> #include "Aquarium.hpp" #include "Graphics.hpp" #include "master.hpp" //! Class Game. Control the game state and synchronize the game object state class Game { private: /* Graphics */ const int aquariumXStart; const in...
19.626667
76
0.66712
abrampers
224f06a54dd74e7ec979c0493e27126464df9d68
1,325
cpp
C++
Runtime/Import/ImportMinesGenerator.cpp
LinkClinton/MinesweeperVersus
fc5d4fa8aa7e2b6d4fd798d52a1614c243f4e308
[ "MIT" ]
1
2019-11-30T07:12:32.000Z
2019-11-30T07:12:32.000Z
Runtime/Import/ImportMinesGenerator.cpp
LinkClinton/MinesweeperVersus
fc5d4fa8aa7e2b6d4fd798d52a1614c243f4e308
[ "MIT" ]
null
null
null
Runtime/Import/ImportMinesGenerator.cpp
LinkClinton/MinesweeperVersus
fc5d4fa8aa7e2b6d4fd798d52a1614c243f4e308
[ "MIT" ]
null
null
null
#include "ImportMinesGenerator.hpp" #include <Windows.h> #include <cassert> struct Location { int X; int Y; }; using GenerateFunction = void(int, int, int&, Location*); Minesweeper::ImportMinesGenerator::ImportMinesGenerator(const std::string& path) { mLibrary = LoadLibrary(path.c_str()); assert(mLibrary != nu...
23.660714
119
0.72
LinkClinton
2256ffcfe43fbdc7f2bdad30a7780a681e47526a
406
cpp
C++
libraries/NextionLite/NextButton.cpp
mizbit/ThermalController
2521be10f2c5327cd7743c9e1023a214d25ef9bb
[ "MIT" ]
3
2020-11-13T00:32:00.000Z
2021-06-18T19:29:59.000Z
libraries/NextionLite/NextButton.cpp
mizbit/ThermalController
2521be10f2c5327cd7743c9e1023a214d25ef9bb
[ "MIT" ]
null
null
null
libraries/NextionLite/NextButton.cpp
mizbit/ThermalController
2521be10f2c5327cd7743c9e1023a214d25ef9bb
[ "MIT" ]
1
2021-03-20T16:04:09.000Z
2021-03-20T16:04:09.000Z
/* * Nextion button element */ #include "NextButton.h" NextButton::NextButton(byte page_id, byte obj_id, const char *obj_name) :NextObject(page_id, obj_id, obj_name), NextTouch(page_id, obj_id, obj_name){ } void NextButton::setBackground(uint32_t number){ setNumber(number, "picc")...
21.368421
71
0.682266
mizbit
225813bff2c8f4eeaa3f33126de04d79966c3874
10,189
cc
C++
proto-out/datanode.grpc.pb.cc
bhalder/bdfs
05d32f93182afd5b88bdddeca607a56c341e9038
[ "MIT" ]
null
null
null
proto-out/datanode.grpc.pb.cc
bhalder/bdfs
05d32f93182afd5b88bdddeca607a56c341e9038
[ "MIT" ]
null
null
null
proto-out/datanode.grpc.pb.cc
bhalder/bdfs
05d32f93182afd5b88bdddeca607a56c341e9038
[ "MIT" ]
null
null
null
// Generated by the gRPC C++ plugin. // If you make any local change, they will be lost. // source: datanode.proto #include "datanode.pb.h" #include "datanode.grpc.pb.h" #include <grpcpp/impl/codegen/async_stream.h> #include <grpcpp/impl/codegen/async_unary_call.h> #include <grpcpp/impl/codegen/channel_interface.h> #...
60.289941
217
0.757974
bhalder
225871b477a62db3f981494241a6582a9163bfc8
647
cpp
C++
engine/modules/spline/editor/spline_control_point_editor.cpp
Texas-C/echo
486acc57c9149363206a2367c865a2ccbac69975
[ "MIT" ]
675
2019-02-07T01:23:19.000Z
2022-03-28T05:45:10.000Z
engine/modules/spline/editor/spline_control_point_editor.cpp
Texas-C/echo
486acc57c9149363206a2367c865a2ccbac69975
[ "MIT" ]
843
2019-01-25T01:06:46.000Z
2022-03-16T11:15:53.000Z
engine/modules/spline/editor/spline_control_point_editor.cpp
blab-liuliang/Echo
ba75816e449d2f20a375ed44b0f706a6b7bc21a1
[ "MIT" ]
83
2019-02-20T06:18:46.000Z
2022-03-20T09:36:09.000Z
#include "spline_control_point_editor.h" #include "engine/core/editor/editor.h" #include "engine/core/main/Engine.h" namespace Echo { #ifdef ECHO_EDITOR_MODE SplineControlPointEditor::SplineControlPointEditor(Object* object) : ObjectEditor(object) { } SplineControlPointEditor::~SplineControlPointEditor() { } ...
19.606061
127
0.777434
Texas-C
2259b9d07b124555a7869704b5200ffaa43802fb
105,612
cc
C++
wrspice/src/inp/inptran.cc
bernardventer/xictools
4ea72c118679caed700dab3d49a8d36445acaec3
[ "Apache-2.0" ]
3
2020-01-26T14:18:52.000Z
2020-12-09T20:07:22.000Z
wrspice/src/inp/inptran.cc
chris-ayala/xictools
4ea72c118679caed700dab3d49a8d36445acaec3
[ "Apache-2.0" ]
null
null
null
wrspice/src/inp/inptran.cc
chris-ayala/xictools
4ea72c118679caed700dab3d49a8d36445acaec3
[ "Apache-2.0" ]
2
2020-01-26T14:19:02.000Z
2021-08-14T16:33:28.000Z
/*========================================================================* * * * Distributed by Whiteley Research Inc., Sunnyvale, California, USA * * http://wrcad.com * * Copyright (...
27.567737
80
0.444381
bernardventer
22609682eb87139cb841865585a0975d11cc57cd
3,470
hpp
C++
FMU/Source/Occupant_Zone.hpp
kwabenantim/No-MASS
843ccaa461923e227a8e854daaa6952d14cb8bed
[ "MIT" ]
null
null
null
FMU/Source/Occupant_Zone.hpp
kwabenantim/No-MASS
843ccaa461923e227a8e854daaa6952d14cb8bed
[ "MIT" ]
1
2020-08-28T18:11:26.000Z
2020-08-28T18:11:26.000Z
FMU/Source/Occupant_Zone.hpp
kwabenantim/No-MASS
843ccaa461923e227a8e854daaa6952d14cb8bed
[ "MIT" ]
2
2020-02-05T10:49:42.000Z
2020-08-28T08:23:28.000Z
// Copyright 2016 Jacob Chapman #ifndef OCCUPANT_ZONE_H_ #define OCCUPANT_ZONE_H_ #include <unordered_map> #include <string> #include <deque> #include <memory> #include <vector> #include "Model_Activity.hpp" #include "Model_Presence.hpp" #include "StateMachine.hpp" #include "State.hpp" #include "Occupant_Action_Wind...
30.982143
101
0.77147
kwabenantim
2260e0d7c20e9b1c93f10db33c69c4c669381964
255
cpp
C++
even_odds.cpp
piyushmishra12/codeforces-practice
4ce977a41aa0ac919a08c0b47d95bb7b3ff9468f
[ "MIT" ]
null
null
null
even_odds.cpp
piyushmishra12/codeforces-practice
4ce977a41aa0ac919a08c0b47d95bb7b3ff9468f
[ "MIT" ]
null
null
null
even_odds.cpp
piyushmishra12/codeforces-practice
4ce977a41aa0ac919a08c0b47d95bb7b3ff9468f
[ "MIT" ]
null
null
null
#include<iostream> #include<cmath> using namespace std; int main() { long long n, k; cin>> n>> k; if(k == 1) cout<< 1; else if(k > 1 && k <= ceil((1.0 * n)/2)) cout<< 2 * k - 1; else cout<< (long long)(2 * (k - ceil((1.0 * n)/2))); return 0; }
17
50
0.517647
piyushmishra12
22635478ae51a9f6ebe07f68ec1eaf9dd9e9e24d
1,644
cpp
C++
leetcode/cpp/051.cpp
xpharry/leetcode_and_lintcode_battle
a06d966ad45bdbed6dda51cf0b480592fc4000d6
[ "MIT" ]
null
null
null
leetcode/cpp/051.cpp
xpharry/leetcode_and_lintcode_battle
a06d966ad45bdbed6dda51cf0b480592fc4000d6
[ "MIT" ]
null
null
null
leetcode/cpp/051.cpp
xpharry/leetcode_and_lintcode_battle
a06d966ad45bdbed6dda51cf0b480592fc4000d6
[ "MIT" ]
2
2020-09-29T21:59:43.000Z
2021-06-22T13:24:04.000Z
/** * Code description * * Author: xpharry * Date: 12/3/2018 * * Data structure: * Array * * Idea: * - Backtracking. * - Go row by row, and in each position, we need to check if the column, the * 45° diagonal and the 135° diagonal had a queen before. * * Complexity: * Time: T(n) = n*T(n-...
23.826087
91
0.451338
xpharry
227adc769598a44a4fe2c199bec4284263504f6a
511
cpp
C++
codeforces/JuniorTraining/CF-A/BlackSquare.cpp
skmorningstar/Competitive-Programming
05ba602d0fe1492d5c36267237980a9ac2f124d6
[ "Apache-2.0" ]
null
null
null
codeforces/JuniorTraining/CF-A/BlackSquare.cpp
skmorningstar/Competitive-Programming
05ba602d0fe1492d5c36267237980a9ac2f124d6
[ "Apache-2.0" ]
null
null
null
codeforces/JuniorTraining/CF-A/BlackSquare.cpp
skmorningstar/Competitive-Programming
05ba602d0fe1492d5c36267237980a9ac2f124d6
[ "Apache-2.0" ]
null
null
null
#include <bits/stdc++.h> #define ll long long int #define ld long double #define MOD 1000000007 using namespace std; int main() { ios_base::sync_with_stdio(false); cin.tie(NULL); vector<ll> seconds(4,0); for(ll i{0};i<4;i++) { cin>>seconds[i]; } string a; cin>>a; ll score=0; for(ll c:a) { if(c=='1') ...
15.029412
34
0.614481
skmorningstar
227b495046097fca14cbb8f9667469fed1fadba7
212
hpp
C++
meta/include/mgs/meta/iter_reference_t.hpp
theodelrieu/mgs
965a95e3d539447cc482e915f9c44b3439168a4e
[ "BSL-1.0" ]
24
2020-07-01T13:45:50.000Z
2021-11-04T19:54:47.000Z
meta/include/mgs/meta/iter_reference_t.hpp
theodelrieu/mgs
965a95e3d539447cc482e915f9c44b3439168a4e
[ "BSL-1.0" ]
null
null
null
meta/include/mgs/meta/iter_reference_t.hpp
theodelrieu/mgs
965a95e3d539447cc482e915f9c44b3439168a4e
[ "BSL-1.0" ]
null
null
null
#pragma once #include <utility> #include <mgs/meta/detected/operators/dereference.hpp> namespace mgs { namespace meta { template <typename T> using iter_reference_t = detected::operators::dereference<T&>; } }
14.133333
62
0.759434
theodelrieu
228a6eec50777e765a6565997c46fabe0c32b2f0
2,043
cpp
C++
49.group-anagrams.cpp
bsmsnd/LeetCode-CharlieChen
db72f0a3463c9e723aac800cdbe38218b36aa639
[ "MIT" ]
null
null
null
49.group-anagrams.cpp
bsmsnd/LeetCode-CharlieChen
db72f0a3463c9e723aac800cdbe38218b36aa639
[ "MIT" ]
null
null
null
49.group-anagrams.cpp
bsmsnd/LeetCode-CharlieChen
db72f0a3463c9e723aac800cdbe38218b36aa639
[ "MIT" ]
null
null
null
/* * @lc app=leetcode id=49 lang=cpp * * [49] Group Anagrams */ #include <vector> #include <unordered_map> #include <algorithm> #include <string> using namespace std; class Solution { public: // Solution 1: from solution 2 on the website // string make_label(string wd) // { // int cnt[26] = {}; ...
27.986301
67
0.429271
bsmsnd
228b26748b90554b207f2f656932d8c5ad7ae06b
17
cc
C++
index_tests/_empty_test.cc
condy0919/ccls
1e1c2f882fd635d70658259d676ea7046afcf8ec
[ "Apache-2.0" ]
3,083
2018-03-31T06:49:42.000Z
2022-03-31T23:43:52.000Z
index_tests/_empty_test.cc
condy0919/ccls
1e1c2f882fd635d70658259d676ea7046afcf8ec
[ "Apache-2.0" ]
807
2018-04-01T03:02:44.000Z
2022-03-20T19:37:48.000Z
index_tests/_empty_test.cc
condy0919/ccls
1e1c2f882fd635d70658259d676ea7046afcf8ec
[ "Apache-2.0" ]
307
2018-04-18T03:17:34.000Z
2022-03-31T18:37:32.000Z
/* OUTPUT: {} */
3.4
7
0.352941
condy0919
228f6394d352e87e6f9a842be38a073ad814bc94
3,580
cpp
C++
Server.cpp
tgforever97/ChatStart
b468a43c9f5b82ece0f3e35d93e036abbd300098
[ "MIT" ]
null
null
null
Server.cpp
tgforever97/ChatStart
b468a43c9f5b82ece0f3e35d93e036abbd300098
[ "MIT" ]
null
null
null
Server.cpp
tgforever97/ChatStart
b468a43c9f5b82ece0f3e35d93e036abbd300098
[ "MIT" ]
null
null
null
// // Created by wang on 2020/3/26. // #include "include/Server.h" #include "include/Utils.h" #include <thread> using std::cout; using std::endl; using std::string; using std::vector; using std::thread; using std::mem_fn; Server::Server(){ listener = 0; clients_word = {}; server_addr.sin_family = AF_INET; ...
31.130435
123
0.500559
tgforever97
229011b53e3ff1a90539d3c7e3daeb7349a9815e
4,718
cpp
C++
TestApp/UnitTest/Vector.cpp
WestCastle0/SSL
f555f0dc12042b3374bd025f6e60a53a1096a994
[ "BSD-3-Clause" ]
null
null
null
TestApp/UnitTest/Vector.cpp
WestCastle0/SSL
f555f0dc12042b3374bd025f6e60a53a1096a994
[ "BSD-3-Clause" ]
null
null
null
TestApp/UnitTest/Vector.cpp
WestCastle0/SSL
f555f0dc12042b3374bd025f6e60a53a1096a994
[ "BSD-3-Clause" ]
null
null
null
#include "gtest/gtest.h" #include "Helper.h" #include "Framework/SSVector2.h" #include "SSVector2.h" #include "SSVector3.h" #include "SSVector4.h" #include "SSMatrix2.h" #include "SSMatrix3.h" #include "SSMatrix4.h" using namespace SSFramework; TEST(Vector, Equal) { auto body = [](auto v) { using V ...
22.254717
60
0.492158
WestCastle0
22918419affb25764a12112fedf53188c202aebc
5,741
cpp
C++
python/polymorphic_conversion.cpp
ChenyangTang1/bark
c4215be6464c249639b8c7b390684bd13100b41e
[ "MIT" ]
null
null
null
python/polymorphic_conversion.cpp
ChenyangTang1/bark
c4215be6464c249639b8c7b390684bd13100b41e
[ "MIT" ]
null
null
null
python/polymorphic_conversion.cpp
ChenyangTang1/bark
c4215be6464c249639b8c7b390684bd13100b41e
[ "MIT" ]
null
null
null
// Copyright (c) 2019 fortiss GmbH, Julian Bernhard, Klemens Esterle, Patrick Hart, Tobias Kessler // // This work is licensed under the terms of the MIT license. // For a copy, see <https://opensource.org/licenses/MIT>. #include <typeinfo> #include <string> #include <memory> #include <stdexcept> #include "polymorphi...
41.302158
98
0.767114
ChenyangTang1
229192c54711dea0a1431d21d0e9a6118f217a50
1,328
cpp
C++
codeforces/C - Crazy Diamond/Runtime error on test 11.cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
1
2022-02-11T16:55:36.000Z
2022-02-11T16:55:36.000Z
codeforces/C - Crazy Diamond/Runtime error on test 11.cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
null
null
null
codeforces/C - Crazy Diamond/Runtime error on test 11.cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
null
null
null
/**************************************************************************************** * @author: kzvd4729 created: Jun/13/2019 19:42 * solution_verdict: Runtime error on test 11 language: GNU C++14 * run...
28.869565
111
0.411145
kzvd4729
2291debedf482059a3f7dbb5c5ae2493c9370419
11,000
cpp
C++
SDK/Extras/Rayshade/Sources/Rayshade/LibObj/csg.cpp
h-haris/Quesa
a438ab824291ce6936a88dfae4fd0482dcba1247
[ "BSD-3-Clause" ]
24
2019-10-28T07:01:48.000Z
2022-03-04T16:10:39.000Z
SDK/Extras/Rayshade/Sources/Rayshade/LibObj/csg.cpp
h-haris/Quesa
a438ab824291ce6936a88dfae4fd0482dcba1247
[ "BSD-3-Clause" ]
8
2020-04-22T19:42:45.000Z
2021-04-30T16:28:32.000Z
SDK/Extras/Rayshade/Sources/Rayshade/LibObj/csg.cpp
h-haris/Quesa
a438ab824291ce6936a88dfae4fd0482dcba1247
[ "BSD-3-Clause" ]
6
2019-09-22T14:44:15.000Z
2021-04-01T20:04:29.000Z
/* * csg.c * * Copyright (C) 1991, Rod G. Bogart, Craig E. Kolb * All rights reserved. * * This software may be freely copied, modified, and redistributed * provided that this copyright notice is preserved on all copies. * * You may not distribute this software, in whole or in part, as part of * any commercia...
24.390244
118
0.638
h-haris
229483472b4f992ef6b3bfce3ecf8401ee6a5a63
429
hpp
C++
src/common/persistence/_tmp/JSONSave.hpp
dataliz9r/MDE4CPP
9c5ce01c800fb754c371f1a67f648366eeabae49
[ "MIT" ]
12
2017-02-17T10:33:51.000Z
2022-03-01T02:48:10.000Z
src/common/persistence/_tmp/JSONSave.hpp
dataliz9r/MDE4CPP
9c5ce01c800fb754c371f1a67f648366eeabae49
[ "MIT" ]
28
2017-10-17T20:23:52.000Z
2021-03-04T16:07:13.000Z
src/common/persistence/_tmp/JSONSave.hpp
vallesch/MDE4CPP
7f8a01dd6642820913b2214d255bef2ea76be309
[ "MIT" ]
22
2017-03-24T19:03:58.000Z
2022-03-31T12:10:07.000Z
/* * JSONSave.hpp * * Created on: 30.05.2017 * Author: Alexander */ #ifndef JSONSAVE_HPP_ #define JSONSAVE_HPP_ #include "Save.hpp" namespace persistence { namespace json { class JSONSave: public persistence::base::Save { public: virtual ~JSONSave(); JSONSave(); private: bool writ...
14.3
48
0.641026
dataliz9r
2295b0aa2daf79d72a055932cbd04925c24afdec
2,547
cpp
C++
sap-flux/sapflux-v20/src/flash/flash.cpp
kinasmith/UAF
df431b17ec8d74f64ed0e74271b1bdcd40967dc3
[ "MIT" ]
null
null
null
sap-flux/sapflux-v20/src/flash/flash.cpp
kinasmith/UAF
df431b17ec8d74f64ed0e74271b1bdcd40967dc3
[ "MIT" ]
null
null
null
sap-flux/sapflux-v20/src/flash/flash.cpp
kinasmith/UAF
df431b17ec8d74f64ed0e74271b1bdcd40967dc3
[ "MIT" ]
null
null
null
#include <Arduino.h> #include <SPI.h> #include <Wire.h> #include "SPIFlash_Marzogh.h" #include <EEPROM.h> #define SERIAL_EN //Comment this out to remove Serial comms and save a few kb's of space #ifdef SERIAL_EN #define DEBUG(input) {Serial.print(input); delay(1);} #define DEBUGln(input) {Serial.println(input); del...
24.490385
88
0.600314
kinasmith
229c22fad063ceb051012beb452d8725564f5393
3,197
hpp
C++
test/test.hpp
ouchiminh/ouchilib
de1bab0aa75c9e567ce06d76c95bc330dffbf52e
[ "MIT" ]
1
2019-06-11T05:22:54.000Z
2019-06-11T05:22:54.000Z
test/test.hpp
ouchiminh/ouchilib
de1bab0aa75c9e567ce06d76c95bc330dffbf52e
[ "MIT" ]
1
2019-10-30T14:33:37.000Z
2019-10-31T15:01:09.000Z
test/test.hpp
ouchiminh/ouchilib
de1bab0aa75c9e567ce06d76c95bc330dffbf52e
[ "MIT" ]
null
null
null
#pragma once #include <list> #include <algorithm> #include <string> #include <iostream> namespace test { class test_base { protected: const std::string name_; static std::list<test_base*>& test_list_() { static std::list<test_base*> tl; return tl; } bool success_ = true; test_base(std::string && nam...
25.782258
101
0.629027
ouchiminh
22ba2e4f97908b99a4b4154ec80a20f47bc78abc
4,998
cpp
C++
src/3rd/Simd/SimdBaseBgraToYuv.cpp
yfdyh000/AntiDupl
869be7da4483c5797897c3847167693bbea9dbcc
[ "MIT" ]
1
2018-12-14T06:19:36.000Z
2018-12-14T06:19:36.000Z
src/3rd/Simd/SimdBaseBgraToYuv.cpp
yfdyh000/AntiDupl
869be7da4483c5797897c3847167693bbea9dbcc
[ "MIT" ]
null
null
null
src/3rd/Simd/SimdBaseBgraToYuv.cpp
yfdyh000/AntiDupl
869be7da4483c5797897c3847167693bbea9dbcc
[ "MIT" ]
1
2020-01-31T03:16:34.000Z
2020-01-31T03:16:34.000Z
/* * Simd Library (http://ermig1979.github.io/Simd). * * Copyright (c) 2011-2017 Yermalayeu Ihar, * 2014-2015 Antonenka Mikhail. * * 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...
42.717949
137
0.541216
yfdyh000
22c0a21b1a93b19cc1c5a28f72cfadcb1cbeec6b
3,441
cpp
C++
Uranium/Source/Uranium/Private/SharedTexture/D3D11/D3D11ImGfxCtx.cpp
microdee/Uranium
112c2a88594307d663b4e2e84a29f55608bbdf30
[ "MIT" ]
28
2021-03-31T16:44:32.000Z
2022-03-21T09:04:10.000Z
Uranium/Source/Uranium/Private/SharedTexture/D3D11/D3D11ImGfxCtx.cpp
microdee/Uranium
112c2a88594307d663b4e2e84a29f55608bbdf30
[ "MIT" ]
4
2021-04-10T05:22:01.000Z
2021-12-27T14:11:18.000Z
Uranium/Source/Uranium/Private/SharedTexture/D3D11/D3D11ImGfxCtx.cpp
microdee/Uranium
112c2a88594307d663b4e2e84a29f55608bbdf30
[ "MIT" ]
1
2021-12-19T02:54:13.000Z
2021-12-19T02:54:13.000Z
/******************** (C) Copyright 2021 realworld one GmbH & Co. KG All Rights Reserved. ********************/ #include "SharedTexture/D3D11/D3D11ImGfxCtx.h" #include "Uranium.h" #include "HardwareInfo.h" #include "SharedTexture/SharedTextureInterface.h" #include "D3D11Util.h" #include "SharedTexture/D3DErrorHandlin...
26.267176
111
0.73438
microdee
22c0bc04051a12498fa9db9e039ba3ae8af83279
4,925
cpp
C++
Test/UnitTest/Containers/Chunks/Memory_chunk.test.cpp
JPMMaia/Utilities
ccd71dfd7071132c6c03032ece21bfd93f5f9629
[ "MIT" ]
null
null
null
Test/UnitTest/Containers/Chunks/Memory_chunk.test.cpp
JPMMaia/Utilities
ccd71dfd7071132c6c03032ece21bfd93f5f9629
[ "MIT" ]
null
null
null
Test/UnitTest/Containers/Chunks/Memory_chunk.test.cpp
JPMMaia/Utilities
ccd71dfd7071132c6c03032ece21bfd93f5f9629
[ "MIT" ]
null
null
null
#include <catch2/catch.hpp> #include <Maia/Utilities/Containers/Chunks/Memory_chunk.hpp> namespace Maia::Utilities::Test { namespace { struct Position { float x, y, z; }; struct Rotation { float a, b, c, w; }; } SCENARIO("Create a memory chunk, add, remove and set components", "[Memory_chunk]"...
31.774194
118
0.660508
JPMMaia
42f281d0d49b5b9b47bd32e431ccf597571bdf68
1,385
hpp
C++
src/journal.hpp
ikonopistsev/capstomp
af5b04d59b43008bb093aaa7323623a79b61e6c8
[ "Apache-2.0" ]
1
2020-12-23T07:58:52.000Z
2020-12-23T07:58:52.000Z
src/journal.hpp
ikonopistsev/capstomp
af5b04d59b43008bb093aaa7323623a79b61e6c8
[ "Apache-2.0" ]
1
2021-11-27T07:57:32.000Z
2021-11-27T07:57:32.000Z
src/journal.hpp
ikonopistsev/capstomp
af5b04d59b43008bb093aaa7323623a79b61e6c8
[ "Apache-2.0" ]
null
null
null
#pragma once namespace capst { class journal { int mask_{}; public: journal() noexcept; ~journal() noexcept; template<class F> void cerr(F fn) const noexcept { try { auto level = error_level(); if (level_allow(level)) output(level, fn(...
17.75641
59
0.519134
ikonopistsev
42f68a46d2341c15078def0756a5429d8f231733
646
cpp
C++
src/Base/LevTimer.cpp
wakare/Leviathan
8a488f014d6235c5c6e6422c9f53c82635b7ebf7
[ "MIT" ]
3
2019-03-05T13:05:30.000Z
2019-12-16T05:56:21.000Z
src/Base/LevTimer.cpp
wakare/Leviathan
8a488f014d6235c5c6e6422c9f53c82635b7ebf7
[ "MIT" ]
null
null
null
src/Base/LevTimer.cpp
wakare/Leviathan
8a488f014d6235c5c6e6422c9f53c82635b7ebf7
[ "MIT" ]
null
null
null
#include "LevTimer.h" #include <windows.h> namespace Leviathan { LevTimer::LevTimer(unsigned interval, TimerOutCallback callback) : m_interval(interval) , m_lastTick(GetTickCount64()) { SetTimeOutCallback(callback); } void LevTimer::SetTimeOutCallback(TimerOutCallback callback) { m_callback = callback; ...
16.15
65
0.719814
wakare
42f877f65bcda398552ba29c9fa52091c2508d45
1,262
hpp
C++
TimerManager.hpp
helmo2004/steady_timers
96eec8771a252592767c79019154ebe14da2cc86
[ "Unlicense" ]
null
null
null
TimerManager.hpp
helmo2004/steady_timers
96eec8771a252592767c79019154ebe14da2cc86
[ "Unlicense" ]
null
null
null
TimerManager.hpp
helmo2004/steady_timers
96eec8771a252592767c79019154ebe14da2cc86
[ "Unlicense" ]
null
null
null
#pragma once #include "ITimerManager.hpp" #include <chrono> #include <functional> #include <list> class Timer; extern std::chrono::milliseconds getChronoSteadyClockTicks(void); class TimerManager : public ITimerManager { public: using SteadyTickCallbackType = std::function<std::chrono::milliseconds(void)>; ...
26.851064
88
0.748811
helmo2004
42fa1a71e2c72c8a37a88d71ce288f6178997410
874
hpp
C++
examples/sharkker/openglwindow.hpp
MatheusR42/computer-graphics-UFABC
b3e613d003d1b072e93bf3c6c4cb544efb6e4db8
[ "MIT" ]
1
2021-11-01T12:11:33.000Z
2021-11-01T12:11:33.000Z
examples/sharkker/openglwindow.hpp
MatheusR42/computer-graphics-UFABC
b3e613d003d1b072e93bf3c6c4cb544efb6e4db8
[ "MIT" ]
null
null
null
examples/sharkker/openglwindow.hpp
MatheusR42/computer-graphics-UFABC
b3e613d003d1b072e93bf3c6c4cb544efb6e4db8
[ "MIT" ]
null
null
null
#ifndef OPENGLWINDOW_HPP_ #define OPENGLWINDOW_HPP_ #include <imgui.h> #include <random> #include "abcg.hpp" #include "corals.hpp" #include "shark.hpp" #include "bubblelayers.hpp" class OpenGLWindow : public abcg::OpenGLWindow { protected: void handleEvent(SDL_Event& event) override; void initializeGL() overri...
18.208333
48
0.73913
MatheusR42
6e0366ffbfa91ac48ae9f0d976b3e7ea97a70985
1,896
cpp
C++
source/rendering/pipes/SvgfAtrousPipe.cpp
RaygenEngine/Raygen
2e61afd35f594d06186c16397b536412ebf4298d
[ "MIT" ]
2
2021-01-27T15:49:04.000Z
2021-01-28T07:40:30.000Z
source/rendering/pipes/SvgfAtrousPipe.cpp
RaygenEngine/Raygen
2e61afd35f594d06186c16397b536412ebf4298d
[ "MIT" ]
null
null
null
source/rendering/pipes/SvgfAtrousPipe.cpp
RaygenEngine/Raygen
2e61afd35f594d06186c16397b536412ebf4298d
[ "MIT" ]
1
2021-03-07T23:17:31.000Z
2021-03-07T23:17:31.000Z
#include "SvgfAtrousPipe.h" #include "rendering/assets/GpuAssetManager.h" #include "rendering/assets/GpuShader.h" #include "rendering/scene/Scene.h" #include "rendering/scene/SceneCamera.h" namespace { struct PushConstant { int32 iteration; int32 totalIter; float phiColor; float phiNormal; bool luminanceMode; };...
26.704225
117
0.761076
RaygenEngine
6e0f93f5db1bf63deee1ffa81c65505010fdc6fc
992
cpp
C++
src/main/cpp/commands/OuttakeBall.cpp
frc6908/2022robot
e22d9a9db65a7725e1e8a821e367360bb84d44b8
[ "BSD-3-Clause" ]
null
null
null
src/main/cpp/commands/OuttakeBall.cpp
frc6908/2022robot
e22d9a9db65a7725e1e8a821e367360bb84d44b8
[ "BSD-3-Clause" ]
null
null
null
src/main/cpp/commands/OuttakeBall.cpp
frc6908/2022robot
e22d9a9db65a7725e1e8a821e367360bb84d44b8
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) FIRST and other WPILib contributors. // Open Source Software; you can modify and/or share it under the terms of // the WPILib BSD license file in the root directory of this project. #include "commands/OuttakeBall.h" OuttakeBall::OuttakeBall(Intake* intake) : m_intake{intake} { // Use addRequirem...
27.555556
74
0.742944
frc6908
6e10450ab42c64e604edb0e8795dfaa2aa5f3968
1,065
cpp
C++
src/DataTransmogrifier.cpp
sogonsec/violentfungus-c2
73ca119bb673cfe937e23adf9f327c150609fc5c
[ "BSD-3-Clause" ]
29
2021-07-12T02:12:43.000Z
2022-03-25T15:05:26.000Z
src/DataTransmogrifier.cpp
sogonsec/violentfungus-c2
73ca119bb673cfe937e23adf9f327c150609fc5c
[ "BSD-3-Clause" ]
null
null
null
src/DataTransmogrifier.cpp
sogonsec/violentfungus-c2
73ca119bb673cfe937e23adf9f327c150609fc5c
[ "BSD-3-Clause" ]
3
2021-09-28T05:07:12.000Z
2021-10-04T13:56:46.000Z
#include "DataTransmogrifier.h" DataTransmogrifier::DataTransmogrifier(QObject *parent) : QObject(parent) { } QByteArray DataTransmogrifier::encode(QByteArray data) { return data; QByteArray newData; newData = this->compress(data); return newData; } QByteArray DataTransmogrifier::decode(QByteArray...
16.904762
73
0.742723
sogonsec
6e1233c64dc413ff6f248d43e976750be69e92bc
357
cpp
C++
Baekjoon/2703.cpp
Twinparadox/AlgorithmProblem
0190d17555306600cfd439ad5d02a77e663c9a4e
[ "MIT" ]
null
null
null
Baekjoon/2703.cpp
Twinparadox/AlgorithmProblem
0190d17555306600cfd439ad5d02a77e663c9a4e
[ "MIT" ]
null
null
null
Baekjoon/2703.cpp
Twinparadox/AlgorithmProblem
0190d17555306600cfd439ad5d02a77e663c9a4e
[ "MIT" ]
null
null
null
#include <iostream> #include <string> using namespace std; int main(void) { int t, len; cin >> t; while (t--) { cin.ignore(); string ci, k; getline(cin, ci); cin >> k; len = ci.length(); for (int i = 0; i < len; i++) { if ((char)ci[i] == ' ') cout << ' '; else cout << (char)(k[(int)(ci[i...
14.28
42
0.473389
Twinparadox
6e1663f6a60521672729e82f4b0372e8339b1e7b
11,836
cpp
C++
Samples/CaseStudies/NBody/NBodyAdvancedCpu.cpp
AdeMiller/CppAmp
2f2c222ec796968dcdc43ea1d84c825169693331
[ "MS-PL" ]
null
null
null
Samples/CaseStudies/NBody/NBodyAdvancedCpu.cpp
AdeMiller/CppAmp
2f2c222ec796968dcdc43ea1d84c825169693331
[ "MS-PL" ]
null
null
null
Samples/CaseStudies/NBody/NBodyAdvancedCpu.cpp
AdeMiller/CppAmp
2f2c222ec796968dcdc43ea1d84c825169693331
[ "MS-PL" ]
null
null
null
//=============================================================================== // // Microsoft Press // C++ AMP: Accelerated Massive Parallelism with Microsoft Visual C++ // //=============================================================================== // Copyright (c) 2012-2013 Ade Miller & Kate Gregory. ...
41.971631
178
0.606455
AdeMiller
6e1adf041433d652b8d72972e4ceb6eef39841da
797
cpp
C++
peg/ccc/2005/stage-1/the_cell_shell.cpp
Rkhoiwal/Competitive-prog-Archive
18a95a8b2b9ca1a28d6fe939c1db5450d541ddc9
[ "MIT" ]
1
2020-07-16T01:46:38.000Z
2020-07-16T01:46:38.000Z
peg/ccc/2005/stage-1/the_cell_shell.cpp
Rkhoiwal/Competitive-prog-Archive
18a95a8b2b9ca1a28d6fe939c1db5450d541ddc9
[ "MIT" ]
null
null
null
peg/ccc/2005/stage-1/the_cell_shell.cpp
Rkhoiwal/Competitive-prog-Archive
18a95a8b2b9ca1a28d6fe939c1db5450d541ddc9
[ "MIT" ]
1
2020-05-27T14:30:43.000Z
2020-05-27T14:30:43.000Z
#include <algorithm> #include <iostream> using namespace std; inline void use_io_optimizations() { ios_base::sync_with_stdio(false); cin.tie(nullptr); } int main() { use_io_optimizations(); int daytime; int evening; int weekend; cin >> daytime >> evening >> weekend; double a_cost {...
19.925
75
0.539523
Rkhoiwal
6e1b032ef7feb72e7dcefc4b69165eccaa1ca9e2
4,543
cpp
C++
example-chat/client/window.cpp
cpp11nullptr/enclave
42f8f2b1ea3e2b7fcccfb3327f57528ee33784be
[ "MIT" ]
12
2015-09-08T10:43:38.000Z
2020-04-20T05:51:06.000Z
example-chat/client/window.cpp
cpp11nullptr/enclave
42f8f2b1ea3e2b7fcccfb3327f57528ee33784be
[ "MIT" ]
null
null
null
example-chat/client/window.cpp
cpp11nullptr/enclave
42f8f2b1ea3e2b7fcccfb3327f57528ee33784be
[ "MIT" ]
5
2016-03-13T20:37:15.000Z
2020-04-20T05:51:07.000Z
#include "window.h" namespace Example { ChatWindow::ChatWindow() : mClient(new Enclave::Client()), mConnectionOk(false) { mNickname = tr("User") + QString::number(QDateTime::currentMSecsSinceEpoch()); setupUI(); setWindowTitle(tr("Example::Chat")); QSslKey privateKey = Helper::loadPrivateKey("client.key"...
23.417526
106
0.705261
cpp11nullptr
6e1fc7eb06c32bd3c0a59c6a7efee271e320266a
96
cpp
C++
ui-console/main.cpp
bldl/anyxporter
234cdaa06bfeaee839dede3955bf4d21ee5103b8
[ "MIT" ]
1
2022-03-07T04:44:57.000Z
2022-03-07T04:44:57.000Z
ui-console/main.cpp
bldl/anyxporter
234cdaa06bfeaee839dede3955bf4d21ee5103b8
[ "MIT" ]
null
null
null
ui-console/main.cpp
bldl/anyxporter
234cdaa06bfeaee839dede3955bf4d21ee5103b8
[ "MIT" ]
null
null
null
#include "engine.hpp" int main(int argc, char *argv[]) { engine::exportData(); return 0; }
12
32
0.635417
bldl
6e1fe5ced6cf4a23138a97fd9c9ee27918d72c96
1,539
cpp
C++
src/ConfigfileParserTest.cpp
mwalliczek/bumon
835b3056dff46f05a76d5928244ec9f2ecbd71c0
[ "Apache-2.0" ]
null
null
null
src/ConfigfileParserTest.cpp
mwalliczek/bumon
835b3056dff46f05a76d5928244ec9f2ecbd71c0
[ "Apache-2.0" ]
null
null
null
src/ConfigfileParserTest.cpp
mwalliczek/bumon
835b3056dff46f05a76d5928244ec9f2ecbd71c0
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2019 Matthias Walliczek * * 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...
29.596154
75
0.738791
mwalliczek
6e26156effd5efa829f05ceabf6b55142859d40f
526
hpp
C++
C++ framework/tools/tools.hpp
hdieset/approximate_DNN_framework
a22d88cf6378288c57282aec06357f7ff2727a74
[ "MIT" ]
1
2020-10-20T07:27:04.000Z
2020-10-20T07:27:04.000Z
C++ framework/tools/tools.hpp
hdieset/approximate_DNN_framework
a22d88cf6378288c57282aec06357f7ff2727a74
[ "MIT" ]
null
null
null
C++ framework/tools/tools.hpp
hdieset/approximate_DNN_framework
a22d88cf6378288c57282aec06357f7ff2727a74
[ "MIT" ]
null
null
null
#ifndef tools_hpp #define tools_hpp #include <vector> #include <string> class progress_bar { private: int bar_length; double it_max; std::string proc_name; void rep_print(std::string str, int times); public: progress_bar(); progress_bar(int barlength, int it_max, std::string process_name); void ...
20.230769
67
0.731939
hdieset
6e29563a8d652d09d09ab7d971210ed4adcf8ea1
7,224
cpp
C++
sources/SceneGraph/spSceneCamera.cpp
rontrek/softpixel
73a13a67e044c93f5c3da9066eedbaf3805d6807
[ "Zlib" ]
14
2015-08-16T21:05:20.000Z
2019-08-21T17:22:01.000Z
sources/SceneGraph/spSceneCamera.cpp
rontrek/softpixel
73a13a67e044c93f5c3da9066eedbaf3805d6807
[ "Zlib" ]
null
null
null
sources/SceneGraph/spSceneCamera.cpp
rontrek/softpixel
73a13a67e044c93f5c3da9066eedbaf3805d6807
[ "Zlib" ]
3
2020-02-15T09:17:41.000Z
2020-05-21T14:10:40.000Z
/* * Camera scene node file * * This file is part of the "SoftPixel Engine" (Copyright (c) 2008 by Lukas Hermanns) * See "SoftPixelEngine.hpp" for license information. */ #include "SceneGraph/spSceneCamera.hpp" #include "Platform/spSoftPixelDeviceOS.hpp" #include "Base/spSharedObjects.hpp" namespace sp { exte...
28.440945
145
0.639535
rontrek
6e2e7c63e920038b54d51a649553d54e5b073502
2,290
cc
C++
src/controllers/test_reconstruction.cc
tmk-org/colmap
f781c7b31957d0f532f1b830307c67afa1f2fe36
[ "BSD-3-Clause" ]
null
null
null
src/controllers/test_reconstruction.cc
tmk-org/colmap
f781c7b31957d0f532f1b830307c67afa1f2fe36
[ "BSD-3-Clause" ]
null
null
null
src/controllers/test_reconstruction.cc
tmk-org/colmap
f781c7b31957d0f532f1b830307c67afa1f2fe36
[ "BSD-3-Clause" ]
null
null
null
#include "test_reconstruction.h" #include "feature/extraction.h" #include "feature/matching.h" #include "util/misc.h" #include "util/option_manager.h" namespace colmap { TestReconstructionController::TestReconstructionController( const OptionManager& options, ReconstructionManager* reconstruction_manager) : ...
27.926829
123
0.775109
tmk-org
6e2f1ac8550a949a04b757c094566aaa8201c85b
3,917
cpp
C++
RML/TypeIIRML/src/TypeIIRMLStep1IntermediateProfiles.cpp
Richardurben/cmake_learning
e494cf04dd4bb2295cf2f4e79060874478e20180
[ "BSD-2-Clause" ]
19
2017-11-02T03:05:51.000Z
2020-12-02T19:40:15.000Z
ReflexxesTypeII/src/TypeIIRMLStep1IntermediateProfiles.cpp
howardjchen/techman_tm5
086ed94804a585ece70a3e8a08c0824f672300b8
[ "Apache-2.0" ]
1
2021-04-14T04:12:48.000Z
2021-04-14T04:12:48.000Z
ReflexxesTypeII/src/TypeIIRMLStep1IntermediateProfiles.cpp
howardjchen/techman_tm5
086ed94804a585ece70a3e8a08c0824f672300b8
[ "Apache-2.0" ]
9
2017-09-16T02:20:39.000Z
2020-05-24T14:06:35.000Z
// ---------------------- Doxygen info ---------------------- //! \file TypeIIRMLStep1IntermediateProfiles.cpp //! //! \brief //! Implementation file for the Step 1 intermediate velocity profiles of //! the Type II On-Line Trajectory Generation algorithm //! //! \details //! For further information, please refer to th...
36.95283
82
0.531019
Richardurben
6e3776b8565644a005b4ab27dec5a4b879b144b4
4,714
cpp
C++
src/interpreter/display/shader_def.cpp
Grossley/opengml
bc3494aae64092f1c32a16361fd781249e2ea630
[ "MIT" ]
26
2019-07-18T04:45:08.000Z
2022-03-13T09:52:04.000Z
src/interpreter/display/shader_def.cpp
Grossley/opengml
bc3494aae64092f1c32a16361fd781249e2ea630
[ "MIT" ]
6
2021-09-10T00:48:00.000Z
2021-11-27T22:00:48.000Z
src/interpreter/display/shader_def.cpp
Grossley/opengml
bc3494aae64092f1c32a16361fd781249e2ea630
[ "MIT" ]
9
2019-07-26T06:32:53.000Z
2022-01-12T14:38:59.000Z
#include "ogm/common/util.hpp" #include "shader_def.hpp" #include <string> #include <iostream> namespace { #ifndef EMSCRIPTEN // glsl 3.3 const char* g_shr_glsl_version = "#version 330 core"; #else // webgl es 2.0 (uses shader language 1.0) const char* g_shr_glsl_version = "#version 100"; #endif // some syntax diff...
23.57
124
0.731226
Grossley
6e3ba0d6236fc87fc8ffd119d3daa380ce6473e9
820
hpp
C++
include/ncpp/check.hpp
jbuonagurio/ncpp
989c3e11f7c0b66798bf4820840a4180070e5dfd
[ "BSL-1.0" ]
3
2019-04-27T23:10:20.000Z
2020-05-25T04:34:29.000Z
include/ncpp/check.hpp
jbuonagurio/ncpp
989c3e11f7c0b66798bf4820840a4180070e5dfd
[ "BSL-1.0" ]
null
null
null
include/ncpp/check.hpp
jbuonagurio/ncpp
989c3e11f7c0b66798bf4820840a4180070e5dfd
[ "BSL-1.0" ]
null
null
null
// Copyright (c) 2020 John Buonagurio (jbuonagurio at exponent dot com) // // 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 NCPP_CHECK_HPP #define NCPP_CHECK_HPP #if defined(_MSC_VER) && (_MSC_VER >= 120...
22.162162
79
0.642683
jbuonagurio
6e3e2c36caf23df9c4a297e76bf02b18c127ac46
261
cpp
C++
recursive-path-finder/src/region.cpp
cppcooper/projects-with-lost-dependencies
7e93e6e084cd143c86413c32872e8d2c57af9d03
[ "MIT" ]
null
null
null
recursive-path-finder/src/region.cpp
cppcooper/projects-with-lost-dependencies
7e93e6e084cd143c86413c32872e8d2c57af9d03
[ "MIT" ]
null
null
null
recursive-path-finder/src/region.cpp
cppcooper/projects-with-lost-dependencies
7e93e6e084cd143c86413c32872e8d2c57af9d03
[ "MIT" ]
null
null
null
#include "region.h" #include "global.h" Region_Tile Region::Get_Tile( ushort x, ushort y ) { if ( x < regionWidth && y < regionHeight ) { __int8 index = ( y * regionWidth ) + x; return Region_Tile( &region_tiles, index ); } else { assert( 0 ); } }
16.3125
50
0.624521
cppcooper
6e4161097d37601dcae5723b3a8199c69adc34be
1,243
cpp
C++
notebook/io.cpp
jamesrayman/sport
a24b4512e3268f09574d6803fa71c98e9d7b50b1
[ "MIT" ]
null
null
null
notebook/io.cpp
jamesrayman/sport
a24b4512e3268f09574d6803fa71c98e9d7b50b1
[ "MIT" ]
null
null
null
notebook/io.cpp
jamesrayman/sport
a24b4512e3268f09574d6803fa71c98e9d7b50b1
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; void initio (string file = "") { ios_base::sync_with_stdio(0); cin.tie(0); if (file != "") { freopen((file + ".in").c_str(), "r", stdin); freopen((file + ".out").c_str(), "w", stdout); } } template<typename T, typename U> ostream& operator...
29.595238
133
0.589702
jamesrayman
6e4437ac2a136ae3a3803f48cf9e2e3bbfcec835
1,607
cpp
C++
src/main/cpp/Robot.cpp
Comets3357/RobotCode-2020
a844be6b4f6e12088b9c744345b7e88060676e68
[ "BSD-3-Clause", "MIT" ]
null
null
null
src/main/cpp/Robot.cpp
Comets3357/RobotCode-2020
a844be6b4f6e12088b9c744345b7e88060676e68
[ "BSD-3-Clause", "MIT" ]
23
2021-08-10T00:22:15.000Z
2021-08-25T01:39:24.000Z
src/main/cpp/Robot.cpp
Comets3357/RobotCode-2020
a844be6b4f6e12088b9c744345b7e88060676e68
[ "BSD-3-Clause", "MIT" ]
null
null
null
#include "Robot.h" #include <frc/smartdashboard/SmartDashboard.h> void Robot::RobotInit() { timer.RobotInit(robotData.timerData); gyro.RobotInit(robotData.gyroData); auton.RobotInit(); drivebase.RobotInit(); climb.RobotInit(); shooter.RobotInit(); intake.RobotInit(); } void Robot::RobotPer...
23.985075
112
0.729932
Comets3357
6e521ceddb4fbf3d68c9cc3cd00fdbd6f14437e9
3,072
cpp
C++
Reni/SyntaxContainer.cpp
hahoyer/reni.cpp
25baf1024947a247c9efe2101f58fd0fc8ae7ee7
[ "MIT" ]
null
null
null
Reni/SyntaxContainer.cpp
hahoyer/reni.cpp
25baf1024947a247c9efe2101f58fd0fc8ae7ee7
[ "MIT" ]
null
null
null
Reni/SyntaxContainer.cpp
hahoyer/reni.cpp
25baf1024947a247c9efe2101f58fd0fc8ae7ee7
[ "MIT" ]
null
null
null
#include "Import.h" #include "SyntaxContainer.h" #include "CodeItems.h" #include "ContainerContext.h" #include "DefineableToken.h" #include "EmptySyntax.h" #include "ExpressionSyntax.h" #include "FunctionSyntax.h" #include "../HWLib/RefCountContainer.instance.h" #include "../HWLang/Admin/Export.h" using namespace HW...
26.713043
97
0.685221
hahoyer
6e53042281b3d5f58056904c8c1ed42055084975
159
cpp
C++
Bacchus_Engine/ResourceMaterial.cpp
ForestGin/Bacchus_Engine
4cdc9aa576fa3c91aed75654aa333ed78070b5ce
[ "MIT" ]
null
null
null
Bacchus_Engine/ResourceMaterial.cpp
ForestGin/Bacchus_Engine
4cdc9aa576fa3c91aed75654aa333ed78070b5ce
[ "MIT" ]
null
null
null
Bacchus_Engine/ResourceMaterial.cpp
ForestGin/Bacchus_Engine
4cdc9aa576fa3c91aed75654aa333ed78070b5ce
[ "MIT" ]
null
null
null
#include "ResourceMaterial.h" ResourceMaterial::ResourceMaterial() : Resource(Resource::ResourceType::MATERIAL) { } ResourceMaterial::~ResourceMaterial() { }
17.666667
81
0.779874
ForestGin
6e57be6b2492c8533b75505005bcf78710e890c6
28,831
cpp
C++
code/ViewSearch.cpp
omerdagan84/neomem
7d2f782bb37f1ab0ac6580d00672e114605afab7
[ "MIT" ]
1
2022-02-10T01:41:32.000Z
2022-02-10T01:41:32.000Z
code/ViewSearch.cpp
omerdagan84/neomem
7d2f782bb37f1ab0ac6580d00672e114605afab7
[ "MIT" ]
null
null
null
code/ViewSearch.cpp
omerdagan84/neomem
7d2f782bb37f1ab0ac6580d00672e114605afab7
[ "MIT" ]
null
null
null
// CViewSearch #include "precompiled.h" #include "ViewSearch.h" #include "Constants.h" #include "FrameChild.h" #include "Hint.h" #include "NeoMem.h" #include "ViewHeader.h" #include "ViewProperties.h" #include "ViewRtf.h" #include "ViewTabs.h" #include "ConstantsDatabase.h" #ifdef _DEBUG #define new DEBUG_NEW #...
27.510496
152
0.689154
omerdagan84
6e5f68d7a2e091f97d1af12930c74bd060e05a9e
8,277
cpp
C++
SDK/ARKSurvivalEvolved_Jugbug_Character_BaseBP_functions.cpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
10
2020-02-17T19:08:46.000Z
2021-07-31T11:07:19.000Z
SDK/ARKSurvivalEvolved_Jugbug_Character_BaseBP_functions.cpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
9
2020-02-17T18:15:41.000Z
2021-06-06T19:17:34.000Z
SDK/ARKSurvivalEvolved_Jugbug_Character_BaseBP_functions.cpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
3
2020-07-22T17:42:07.000Z
2021-06-19T17:16:13.000Z
// ARKSurvivalEvolved (329.9) SDK #ifdef _MSC_VER #pragma pack(push, 0x8) #endif #include "ARKSurvivalEvolved_Jugbug_Character_BaseBP_parameters.hpp" namespace sdk { //--------------------------------------------------------------------------- //Functions //----------------------------------------------------------...
34.202479
166
0.722484
2bite
6e607e1630d620312d20fdda683f2c1496b85bfa
4,624
cpp
C++
src/Engine/CollisionSystem.cpp
vitorfhc/SquareOrDie
5101b9c3069a4c363490717f4731d68d5563b4c6
[ "MIT" ]
null
null
null
src/Engine/CollisionSystem.cpp
vitorfhc/SquareOrDie
5101b9c3069a4c363490717f4731d68d5563b4c6
[ "MIT" ]
null
null
null
src/Engine/CollisionSystem.cpp
vitorfhc/SquareOrDie
5101b9c3069a4c363490717f4731d68d5563b4c6
[ "MIT" ]
null
null
null
#include "Engine/CollisionSystem.h" CollisionSystem *CollisionSystem::m_instance = nullptr; CollisionSystem::CollisionSystem() {} CollisionSystem *CollisionSystem::GetInstance() { if (!m_instance) m_instance = new CollisionSystem(); return m_instance; } void CollisionSystem::Update() { PushColliders(); ...
34.507463
80
0.62673
vitorfhc
6e62c2f437b3616f806b2908ce72571c53048359
3,808
cpp
C++
snippets/minicorrec_full.cpp
GATB/gatb-core-tuto
ca0765fc22fe188ca543eac7d146591416cb8a0a
[ "Linux-OpenIB" ]
1
2016-11-06T14:04:47.000Z
2016-11-06T14:04:47.000Z
snippets/minicorrec_full.cpp
GATB/gatb-core-tuto
ca0765fc22fe188ca543eac7d146591416cb8a0a
[ "Linux-OpenIB" ]
2
2016-11-06T12:30:12.000Z
2018-06-27T08:50:46.000Z
snippets/minicorrec_full.cpp
GATB/gatb-core-tuto
ca0765fc22fe188ca543eac7d146591416cb8a0a
[ "Linux-OpenIB" ]
null
null
null
#include <gatb/gatb_core.hpp> static const size_t span = 32; bool verbose = false; int kmerSize = 31; /** * Prepare a unique temporary file name to write out sequences. */ string getOutFileName(){ struct timeval tp; gettimeofday(&tp, NULL); long long mslong = (long long) tp.tv_sec * 1000L + tp.tv_usec / 1...
29.068702
111
0.580357
GATB
6e676b2fd351c5f221f4a0b07a21a43755c83068
4,695
cpp
C++
OGMM/gui/panels/StatusBar.cpp
Moneyl/OGMM
52a4bcc051fab160c55f0cc7228bd99de3ff5c47
[ "MIT" ]
3
2020-08-26T17:53:47.000Z
2020-09-13T07:48:40.000Z
OGMM/gui/panels/StatusBar.cpp
Moneyl/OGMM
52a4bcc051fab160c55f0cc7228bd99de3ff5c47
[ "MIT" ]
2
2020-09-01T06:08:28.000Z
2020-11-14T02:14:41.000Z
OGMM/gui/panels/StatusBar.cpp
Moneyl/OGMM
52a4bcc051fab160c55f0cc7228bd99de3ff5c47
[ "MIT" ]
null
null
null
#include "StatusBar.h" #include "gui/GuiState.h" #include "util/TaskScheduler.h" #include "render/imgui/imgui_ext.h" #include "render/imgui/ImGuiFontManager.h" #include <stdexcept> StatusBar::StatusBar() { } StatusBar::~StatusBar() { } void StatusBar::Update(GuiState* state, bool* open) { //Parent window flags...
34.021739
147
0.622364
Moneyl
6e6acf28d9e474f0e9f04d54af5b58dc3585195b
746
cpp
C++
jianzhioffer/26isSubstructure.cpp
wanghengg/LeetCode
4f73d7e176c8de5d2d9b87ab2812f7aa80c20a79
[ "Apache-2.0" ]
null
null
null
jianzhioffer/26isSubstructure.cpp
wanghengg/LeetCode
4f73d7e176c8de5d2d9b87ab2812f7aa80c20a79
[ "Apache-2.0" ]
null
null
null
jianzhioffer/26isSubstructure.cpp
wanghengg/LeetCode
4f73d7e176c8de5d2d9b87ab2812f7aa80c20a79
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include <vector> #include <stack> using namespace std; struct TreeNode{ int val; TreeNode* left; TreeNode* right; TreeNode(int x) : val(x), left(nullptr), right(nullptr) {} }; class Solution{ public: // 判断以b为根的树是否为以a为根树的子结构 bool recur(TreeNode* a, TreeNode* b) { if...
28.692308
89
0.612601
wanghengg
6e6b02ff6cfea3c3576f6fa364f3be29db35c336
406
cpp
C++
util/geocoordinate_util.cpp
Andrettin/Metternich
513a7d3cddacad5d5efd2fa5faeed03bc55a190c
[ "MIT" ]
12
2019-08-03T05:58:12.000Z
2022-01-20T20:46:41.000Z
util/geocoordinate_util.cpp
Andrettin/Metternich
513a7d3cddacad5d5efd2fa5faeed03bc55a190c
[ "MIT" ]
6
2019-08-03T11:46:49.000Z
2022-01-22T10:20:32.000Z
util/geocoordinate_util.cpp
Andrettin/Metternich
513a7d3cddacad5d5efd2fa5faeed03bc55a190c
[ "MIT" ]
null
null
null
#include "util/geocoordinate_util.h" #include "util/point_util.h" namespace metternich::geocoordinate { QPointF to_circle_edge_point(const QGeoCoordinate &coordinate) { const QPointF circle_point = geocoordinate::to_circle_point(coordinate); const QPointF circle_edge_point = point::get_nearest_circle_edge_point(ci...
27.066667
92
0.807882
Andrettin
6e6e310cee425e904243af0b93e4bce2a6177453
134
cpp
C++
Source/DemoScene/Matrix4.cpp
ookumaneko/PC-Psp-Cross-Platform-Demoscene
0c192f9ecf5a4fd9db3c9a2c9998b365bf480c1e
[ "MIT" ]
null
null
null
Source/DemoScene/Matrix4.cpp
ookumaneko/PC-Psp-Cross-Platform-Demoscene
0c192f9ecf5a4fd9db3c9a2c9998b365bf480c1e
[ "MIT" ]
null
null
null
Source/DemoScene/Matrix4.cpp
ookumaneko/PC-Psp-Cross-Platform-Demoscene
0c192f9ecf5a4fd9db3c9a2c9998b365bf480c1e
[ "MIT" ]
null
null
null
#include "Matrix4.h" #include "Vector3.h" #include "Vector4.h" Matrix4::Matrix4(void) { Identity(); } Matrix4::~Matrix4(void) { }
9.571429
23
0.664179
ookumaneko
6e70e073aaf2a2b4abd87f6eedf93f46124e4b3e
23,498
cpp
C++
include/cinolib/unstable/polygon2d.cpp
goodengineer/cinolib
7de4de6816ed617e76a0517409e3e84c4546685e
[ "MIT" ]
null
null
null
include/cinolib/unstable/polygon2d.cpp
goodengineer/cinolib
7de4de6816ed617e76a0517409e3e84c4546685e
[ "MIT" ]
null
null
null
include/cinolib/unstable/polygon2d.cpp
goodengineer/cinolib
7de4de6816ed617e76a0517409e3e84c4546685e
[ "MIT" ]
null
null
null
/******************************************************************************** * This file is part of CinoLib * * Copyright(C) 2016: Marco Livesu * * ...
31.456493
121
0.475402
goodengineer
6e7e00a1f1891a62b3b1cebabf40ff680db0e682
2,339
cpp
C++
secure_storage.cpp
pth-demo-orga/trusty-app-avb
1e716c5d74d663fc76def356fc63f8a2ec764c2a
[ "Apache-2.0" ]
null
null
null
secure_storage.cpp
pth-demo-orga/trusty-app-avb
1e716c5d74d663fc76def356fc63f8a2ec764c2a
[ "Apache-2.0" ]
null
null
null
secure_storage.cpp
pth-demo-orga/trusty-app-avb
1e716c5d74d663fc76def356fc63f8a2ec764c2a
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2016 The Android 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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
27.517647
80
0.672082
pth-demo-orga
6e89783e9d528637a78766cca144e20938f11b8d
6,956
cxx
C++
vtk/8.1.0/src/ThirdParty/vtkm/vtk-m/vtkm/cont/testing/UnitTestStorageBasic.cxx
Fresher-Chen/tarsim
9d2ec1001ee82ca11325e4b1edb8f2843e36518b
[ "Apache-2.0" ]
1
2020-03-02T17:31:48.000Z
2020-03-02T17:31:48.000Z
vtk/8.1.0/src/ThirdParty/vtkm/vtk-m/vtkm/cont/testing/UnitTestStorageBasic.cxx
Fresher-Chen/tarsim
9d2ec1001ee82ca11325e4b1edb8f2843e36518b
[ "Apache-2.0" ]
1
2019-06-03T17:04:59.000Z
2019-06-05T15:13:28.000Z
ThirdParty/vtkm/vtk-m/vtkm/cont/testing/UnitTestStorageBasic.cxx
metux/vtk8
77f907913f20295e1eacdb3aba9ed72e2b3ae917
[ "BSD-3-Clause" ]
1
2020-07-20T06:43:49.000Z
2020-07-20T06:43:49.000Z
//============================================================================ // Copyright (c) Kitware, Inc. // All rights reserved. // See LICENSE.txt for details. // This software is distributed WITHOUT ANY WARRANTY; without even // the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR // PURPOSE...
30.375546
99
0.676538
Fresher-Chen
6e8a6757178bb46e84ac8f9dcee0d802de015e06
5,543
cpp
C++
swizzle/engine_src/gfx/gfxvk/VulkanInstance.cpp
deathcleaver/swizzle
1a1cc114841ea7de486cf94c6cafd9108963b4da
[ "MIT" ]
2
2020-02-10T07:58:21.000Z
2022-03-15T19:13:28.000Z
swizzle/engine_src/gfx/gfxvk/VulkanInstance.cpp
deathcleaver/swizzle
1a1cc114841ea7de486cf94c6cafd9108963b4da
[ "MIT" ]
null
null
null
swizzle/engine_src/gfx/gfxvk/VulkanInstance.cpp
deathcleaver/swizzle
1a1cc114841ea7de486cf94c6cafd9108963b4da
[ "MIT" ]
null
null
null
/* Include files */ #include <swizzle/core/Logging.hpp> #include "VulkanInstance.hpp" #include "surface/Surface.hpp" #include "backend/VkDebug.hpp" #include <cstring> /* Defines */ /* Typedefs */ /* Structs/Classes */ /* Static Variables */ /* Static Function Declaration */ /* Static Function Definition */ /...
32.798817
98
0.701606
deathcleaver
6e9130e4b39b9594c3014656932de87a049c9842
241
hpp
C++
addons/debug/XEH_PREP.hpp
Krzyciu/A3CS
b7144fc9089b5ded6e37cc1fad79b1c2879521be
[ "MIT" ]
1
2020-06-07T00:45:49.000Z
2020-06-07T00:45:49.000Z
addons/debug/XEH_PREP.hpp
Krzyciu/A3CS
b7144fc9089b5ded6e37cc1fad79b1c2879521be
[ "MIT" ]
27
2020-05-24T11:09:56.000Z
2020-05-25T12:28:10.000Z
addons/debug/XEH_PREP.hpp
Krzyciu/A3CS
b7144fc9089b5ded6e37cc1fad79b1c2879521be
[ "MIT" ]
2
2020-05-31T08:52:45.000Z
2021-04-16T23:16:37.000Z
PREP(addLogs); PREP(drawMap); PREP(handleModuleDeleted); PREP(initModule); PREP(initTrigger); PREP(moduleLog); PREP(toggleLogs); PREP(updateDeletedModules); PREP(updateEntitiesDrawData); PREP(updateModuleStatus); PREP(updateTriggerStatus);
18.538462
29
0.813278
Krzyciu
6e923d6d459df1cdabce872e12457760213ff49a
2,074
cpp
C++
src/gui/view.cpp
ou-real/nevil-grandparent
38324705678afac77d002391da753c6f10ee95e2
[ "MIT" ]
null
null
null
src/gui/view.cpp
ou-real/nevil-grandparent
38324705678afac77d002391da753c6f10ee95e2
[ "MIT" ]
null
null
null
src/gui/view.cpp
ou-real/nevil-grandparent
38324705678afac77d002391da753c6f10ee95e2
[ "MIT" ]
null
null
null
#include "nevil/gui/view.hpp" nevil::view::view(QWidget *parent) : Enki::ViewerWidget(new Enki::World(), parent) {} nevil::view::view(nevil::trial_controller *controller, QWidget *parent) : Enki::ViewerWidget(controller->get_world(), parent) , _controller(controller) , _frame_number(0) , _skip_f...
27.289474
121
0.615718
ou-real