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
2017699eeb176419aca9a82faff09c4c27796912
38,496
cpp
C++
build/linux-build/Sources/src/zpp_nape/util/ZNPList_ZPP_CutVert.cpp
HedgehogFog/TimeOfDeath
b78abacf940e1a88c8b987d99764ebb6876c5dc6
[ "MIT" ]
null
null
null
build/linux-build/Sources/src/zpp_nape/util/ZNPList_ZPP_CutVert.cpp
HedgehogFog/TimeOfDeath
b78abacf940e1a88c8b987d99764ebb6876c5dc6
[ "MIT" ]
null
null
null
build/linux-build/Sources/src/zpp_nape/util/ZNPList_ZPP_CutVert.cpp
HedgehogFog/TimeOfDeath
b78abacf940e1a88c8b987d99764ebb6876c5dc6
[ "MIT" ]
null
null
null
// Generated by Haxe 4.0.0-preview.5 #include <hxcpp.h> #ifndef INCLUDED_zpp_nape_geom_ZPP_CutVert #include <hxinc/zpp_nape/geom/ZPP_CutVert.h> #endif #ifndef INCLUDED_zpp_nape_util_ZNPList_ZPP_CutVert #include <hxinc/zpp_nape/util/ZNPList_ZPP_CutVert.h> #endif #ifndef INCLUDED_zpp_nape_util_ZNPNode_ZPP_CutVert #inclu...
42.164294
234
0.699891
HedgehogFog
2017a1208d51761c56fe70dcbfeb96ec5d0085d4
7,961
hpp
C++
src/utilities/OStream/multiOStream.hpp
lhb8125/unstructure_frame_home_0218
e543850413879f120ce68d2c786002b166a62fe5
[ "Apache-2.0" ]
null
null
null
src/utilities/OStream/multiOStream.hpp
lhb8125/unstructure_frame_home_0218
e543850413879f120ce68d2c786002b166a62fe5
[ "Apache-2.0" ]
1
2020-09-10T01:17:13.000Z
2020-09-10T01:17:13.000Z
src/utilities/OStream/multiOStream.hpp
lhb8125/unstructure_frame_home_0218
e543850413879f120ce68d2c786002b166a62fe5
[ "Apache-2.0" ]
2
2019-11-29T08:00:29.000Z
2019-11-29T08:26:13.000Z
/* Copyright (C) * 2019 - Hu Ren, rh890127a@163.com * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This pr...
26.273927
78
0.570908
lhb8125
201c495ed49f29a8dad3964eeaa9fbbbb834c07f
417
cpp
C++
projects/engine/src/rendering/viewport.cpp
zCubed3/Silica
c4aa6d8e204b96320ad092e324930b3ef0e26aaa
[ "BSD-3-Clause" ]
null
null
null
projects/engine/src/rendering/viewport.cpp
zCubed3/Silica
c4aa6d8e204b96320ad092e324930b3ef0e26aaa
[ "BSD-3-Clause" ]
null
null
null
projects/engine/src/rendering/viewport.cpp
zCubed3/Silica
c4aa6d8e204b96320ad092e324930b3ef0e26aaa
[ "BSD-3-Clause" ]
null
null
null
#include "viewport.hpp" #include <glm/gtc/matrix_transform.hpp> #include <glm/gtx/transform.hpp> #include <glm/gtx/quaternion.hpp> #include "render_target.hpp" namespace Manta::Rendering { void Viewport::UpdateViewport() { float aspect = (float)rect.width / (float)rect.height; perspective = glm::...
26.0625
81
0.685851
zCubed3
201dce607c0f5c17539aa648b73aa59c1be9f0d9
270
hpp
C++
src/android/jni/Cube.hpp
ZKing1000/cordova-plugin-coventina-native
d704e5cfe4c4427a53b245eeb397a8c694235dfe
[ "Apache-2.0" ]
1
2019-06-20T16:57:43.000Z
2019-06-20T16:57:43.000Z
src/android/jni/Cube.hpp
ZKing1000/cordova-plugin-coventina-native
d704e5cfe4c4427a53b245eeb397a8c694235dfe
[ "Apache-2.0" ]
null
null
null
src/android/jni/Cube.hpp
ZKing1000/cordova-plugin-coventina-native
d704e5cfe4c4427a53b245eeb397a8c694235dfe
[ "Apache-2.0" ]
null
null
null
// vim: sw=4 expandtab #ifndef CUBE_HPP_ #define CUBE_HPP_ #include "MeshItem.hpp" #include <glm/vec3.hpp> #include <cstdint> namespace game { class Cube : public MeshItem { public: static void genGraphics(); void draw(); }; } #endif
12.857143
34
0.62963
ZKing1000
2021c46c575e7a0155786e48ce2decf3cc4ad868
12,855
hpp
C++
SDK/ARKSurvivalEvolved_Deinonychus_AnimBP_parameters.hpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
10
2020-02-17T19:08:46.000Z
2021-07-31T11:07:19.000Z
SDK/ARKSurvivalEvolved_Deinonychus_AnimBP_parameters.hpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
9
2020-02-17T18:15:41.000Z
2021-06-06T19:17:34.000Z
SDK/ARKSurvivalEvolved_Deinonychus_AnimBP_parameters.hpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
3
2020-07-22T17:42:07.000Z
2021-06-19T17:16:13.000Z
#pragma once // ARKSurvivalEvolved (329.9) SDK #ifdef _MSC_VER #pragma pack(push, 0x8) #endif #include "ARKSurvivalEvolved_Deinonychus_AnimBP_classes.hpp" namespace sdk { //--------------------------------------------------------------------------- //Parameters //---------------------------------------------------...
54.240506
161
0.894982
2bite
202204da367db1c8429deed9c79627e93bc34540
6,663
cpp
C++
Development-Delivery/Motor2D/j1Scene.cpp
MarcArizaAlborni/Development_Plataformas
44815d8581738977d20cb1be2b0481adef53c8d1
[ "Unlicense" ]
null
null
null
Development-Delivery/Motor2D/j1Scene.cpp
MarcArizaAlborni/Development_Plataformas
44815d8581738977d20cb1be2b0481adef53c8d1
[ "Unlicense" ]
null
null
null
Development-Delivery/Motor2D/j1Scene.cpp
MarcArizaAlborni/Development_Plataformas
44815d8581738977d20cb1be2b0481adef53c8d1
[ "Unlicense" ]
null
null
null
#include "p2Defs.h" #include "p2Log.h" #include "j1App.h" #include "j1Input.h" #include "j1Textures.h" #include "j1Audio.h" #include "j1Render.h" #include "j1Window.h" #include "j1Map.h" #include "j1Scene.h" #include "j1FadeToBlack.h" #include "j1Pathfinding.h" #include "j1EntityManager.h" #include "j1Player.h" #includ...
22.818493
171
0.679124
MarcArizaAlborni
2024c3d98a97d73df5bdaebbde964bdd00b622e3
612
hpp
C++
external/keko_ctab/ctab/shared/cTab_markerMenu_macros.hpp
kellerkompanie/kellerkompanie-mods
f15704710f77ba6c018c486d95cac4f7749d33b8
[ "MIT" ]
6
2018-05-05T22:28:57.000Z
2019-07-06T08:46:51.000Z
external/keko_ctab/ctab/shared/cTab_markerMenu_macros.hpp
Schwaggot/kellerkompanie-mods
7a389e49e3675866dbde1b317a44892926976e9d
[ "MIT" ]
107
2018-04-11T19:42:27.000Z
2019-09-13T19:05:31.000Z
external/keko_ctab/ctab/shared/cTab_markerMenu_macros.hpp
kellerkompanie/kellerkompanie-mods
f15704710f77ba6c018c486d95cac4f7749d33b8
[ "MIT" ]
3
2018-10-03T11:54:46.000Z
2019-02-28T13:30:16.000Z
/* Required defines: MENU_sizeEx - Menu text size (height) */ // place the menu outside of the visible area #define MENU_X safeZoneXAbs + safeZoneWAbs #define MENU_Y safeZoneY + safeZoneH #define MENU_maxChars 12 // used to determine the necessary width of the menu #define MENU_wPerChar MENU_sizeEx * 3/4 * 0.5 // ass...
38.25
95
0.76634
kellerkompanie
202a482a2227101c86d65a83181d73fe1ccaee9f
983
cpp
C++
Microsoft.Toolkit.Uwp.Input.GazeInteraction/GazeStats.cpp
paulcam206/WindowsCommunityToolkit
eb20ae30788f320127b2c809cad5c8bbfbd9e663
[ "MIT" ]
3
2021-05-27T00:29:00.000Z
2021-05-27T13:10:00.000Z
Microsoft.Toolkit.Uwp.Input.GazeInteraction/GazeStats.cpp
DLozanoNavas/UWPCommunityToolkit
e58479b546cbc264d391de214f3a17557088e109
[ "MIT" ]
9
2018-04-11T21:05:47.000Z
2018-05-04T03:02:07.000Z
Microsoft.Toolkit.Uwp.Input.GazeInteraction/GazeStats.cpp
DLozanoNavas/UWPCommunityToolkit
e58479b546cbc264d391de214f3a17557088e109
[ "MIT" ]
1
2020-07-31T11:15:48.000Z
2020-07-31T11:15:48.000Z
//Copyright (c) Microsoft. All rights reserved. Licensed under the MIT license. //See LICENSE in the project root for license information. #include "pch.h" #include "GazeStats.h" using namespace Platform::Collections; BEGIN_NAMESPACE_GAZE_INPUT GazeStats::GazeStats(int maxHistoryLen) { _maxHistoryLen = maxHisto...
20.479167
79
0.626653
paulcam206
202bb71b0d6fadd105929e02716275e4755984d7
833
cpp
C++
ZeldaClone/src/main.cpp
dwjclark11/ZeldaClone_NES
5d91cad0e071b45dfb10a6b86ac11a26642ad037
[ "MIT" ]
7
2021-08-23T09:56:00.000Z
2022-03-21T15:29:15.000Z
ZeldaClone/src/main.cpp
dwjclark11/ZeldaClone_NES
5d91cad0e071b45dfb10a6b86ac11a26642ad037
[ "MIT" ]
null
null
null
ZeldaClone/src/main.cpp
dwjclark11/ZeldaClone_NES
5d91cad0e071b45dfb10a6b86ac11a26642ad037
[ "MIT" ]
null
null
null
#include "Game/Game.h" #include "Systems/CameraMovementSystem.h" #include "Systems/NameSystems/NameSelectKeyboardControlSystem.h" int main() { if (!Registry::Instance()->HasSystem<SoundFXSystem>()) Registry::Instance()->AddSystem<SoundFXSystem>(); if (!Registry::Instance()->HasSystem<MusicPlayerSystem>()) Regi...
33.32
73
0.734694
dwjclark11
202c2c9366707524fef063fbd7870343aa657e4f
725
hpp
C++
src/cmd/definition.hpp
moralismercatus/kmap
6887780c2fbe795f07a81808ef31f11dad4f5043
[ "MIT" ]
1
2021-06-28T00:31:08.000Z
2021-06-28T00:31:08.000Z
src/cmd/definition.hpp
moralismercatus/kmap
6887780c2fbe795f07a81808ef31f11dad4f5043
[ "MIT" ]
null
null
null
src/cmd/definition.hpp
moralismercatus/kmap
6887780c2fbe795f07a81808ef31f11dad4f5043
[ "MIT" ]
null
null
null
/****************************************************************************** * Author(s): Christopher J. Havlicek * * See LICENSE and CONTACTS. ******************************************************************************/ #pragma once #ifndef KMAP_CMD_DEFINITION_HPP #define KMAP_CMD_DEFINITION_HPP #i...
26.851852
81
0.525517
moralismercatus
45cc65e0fcf35ac3154d9cf252f9279adb6c6dfe
672
hpp
C++
shared_model/backend/protobuf/util.hpp
akshatkarani/iroha
5acef9dd74720c6185360d951e9b11be4ef73260
[ "Apache-2.0" ]
1,467
2016-10-25T12:27:19.000Z
2022-03-28T04:32:05.000Z
shared_model/backend/protobuf/util.hpp
akshatkarani/iroha
5acef9dd74720c6185360d951e9b11be4ef73260
[ "Apache-2.0" ]
2,366
2016-10-25T10:07:57.000Z
2022-03-31T22:03:24.000Z
shared_model/backend/protobuf/util.hpp
akshatkarani/iroha
5acef9dd74720c6185360d951e9b11be4ef73260
[ "Apache-2.0" ]
662
2016-10-26T04:41:22.000Z
2022-03-31T04:15:02.000Z
/** * Copyright Soramitsu Co., Ltd. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0 */ #ifndef IROHA_SHARED_MODEL_PROTO_UTIL_HPP #define IROHA_SHARED_MODEL_PROTO_UTIL_HPP #include <google/protobuf/message.h> #include <vector> #include "cryptography/blob.hpp" namespace shared_model { namespace proto {...
24
57
0.714286
akshatkarani
45d1dbb8b6e694baaa42ed82da757e23199ab54b
2,765
cpp
C++
ball.cpp
aczapi/PingPong
5f0df3c5453d73181fffc7d96c813c3eb296ddfd
[ "Unlicense" ]
null
null
null
ball.cpp
aczapi/PingPong
5f0df3c5453d73181fffc7d96c813c3eb296ddfd
[ "Unlicense" ]
null
null
null
ball.cpp
aczapi/PingPong
5f0df3c5453d73181fffc7d96c813c3eb296ddfd
[ "Unlicense" ]
null
null
null
#include "ball.hpp" #include <SFML/Audio.hpp> #include <SFML/Window.hpp> #include "gameStates.hpp" #include "headers.hpp" #include "mainMenu.hpp" Ball::Ball(std::shared_ptr<Paddle> player1, std::shared_ptr<Paddle> player2, std::shared_ptr<Score> scorePlayer1, std::shared_ptr<Score> scorePlayer2) { this->player1_ =...
34.135802
152
0.595298
aczapi
45dc62b034f9da99c95d3406fc9c14a09226c20a
2,407
cpp
C++
UOJ/62.cpp
sshockwave/Online-Judge-Solutions
9d0bc7fd68c3d1f661622929c1cb3752601881d3
[ "MIT" ]
6
2019-09-30T16:11:00.000Z
2021-11-01T11:42:33.000Z
UOJ/62.cpp
sshockwave/Online-Judge-Solutions
9d0bc7fd68c3d1f661622929c1cb3752601881d3
[ "MIT" ]
4
2017-11-21T08:17:42.000Z
2020-07-28T12:09:52.000Z
EZOJ/Contests/1425/C.cpp
sshockwave/Online-Judge-Solutions
9d0bc7fd68c3d1f661622929c1cb3752601881d3
[ "MIT" ]
4
2017-07-26T05:54:06.000Z
2020-09-30T13:35:38.000Z
#include <iostream> #include <cstdio> #include <cstring> #include <cassert> #include <cctype> using namespace std; typedef long long lint; #define cout cerr #define ni (next_num<int>()) template<class T>inline T next_num(){ T i=0;char c; while(!isdigit(c=getchar())&&c!='-'); bool neg=c=='-'; neg?c=getchar():0; whi...
18.234848
79
0.522227
sshockwave
45de1a5eb2b9ca60d7094a034aa0b05e639de2f0
2,630
cpp
C++
libs/input/impl/src/input/impl/multi_system.cpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
2
2016-01-27T13:18:14.000Z
2018-05-11T01:11:32.000Z
libs/input/impl/src/input/impl/multi_system.cpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
null
null
null
libs/input/impl/src/input/impl/multi_system.cpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
3
2018-05-11T01:11:34.000Z
2021-04-24T19:47:45.000Z
// Copyright Carl Philipp Reh 2006 - 2019. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) #include <sge/input/capabilities_field.hpp> #include <sge/input/processor.hpp> #include <sge/input/...
39.253731
90
0.709506
cpreh
45e42a1025c8adc217a96c371d3bb00ac639fb17
1,112
cpp
C++
LuoguCodes/P1968.cpp
Anguei/OI-Codes
0ef271e9af0619d4c236e314cd6d8708d356536a
[ "MIT" ]
null
null
null
LuoguCodes/P1968.cpp
Anguei/OI-Codes
0ef271e9af0619d4c236e314cd6d8708d356536a
[ "MIT" ]
null
null
null
LuoguCodes/P1968.cpp
Anguei/OI-Codes
0ef271e9af0619d4c236e314cd6d8708d356536a
[ "MIT" ]
null
null
null
//【P1968】美元汇率 - 洛谷 - 10 #include <iostream> #include <cstdio> #include <iomanip> #include <algorithm> struct Income { double dollar, mark; Income() {} } *f; int n, *a; void input() { std::cin >> n; a = new int[n + 1]; for (int i = 1; i <= n; ++i) { std::cin >> a[i]; } } int main() { input(); f = new Incom...
21.803922
84
0.502698
Anguei
45e610bb53c08e45b75bd5842dd978d69f9c3ce6
2,158
cpp
C++
Shared/Io/Timer.cpp
Joon-Jung/HoloLensForCV
fad1818ff1e6afd8bae3a91b710c23a653cbd722
[ "MIT" ]
250
2017-07-26T20:54:22.000Z
2019-05-03T09:21:12.000Z
Shared/Io/Timer.cpp
Joon-Jung/HoloLensForCV
fad1818ff1e6afd8bae3a91b710c23a653cbd722
[ "MIT" ]
79
2017-08-08T20:08:02.000Z
2019-05-06T14:32:45.000Z
Shared/Io/Timer.cpp
Joon-Jung/HoloLensForCV
fad1818ff1e6afd8bae3a91b710c23a653cbd722
[ "MIT" ]
88
2017-07-28T09:11:51.000Z
2019-05-04T03:48:44.000Z
//********************************************************* // // Copyright (c) Microsoft. All rights reserved. // This code is licensed under the MIT License (MIT). // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY // IMPLIED WARRANTIES OF FITNESS FOR A PA...
27.316456
84
0.57507
Joon-Jung
45e648661e82340b235cd566b3b0fa122864856d
425
cpp
C++
GFX/Vulkan/API_without_Secrets/Tutorial01/main.cpp
longlongwaytogo/Learning.test
ded9a25ba789c153d69b2d216599eda962ef83e9
[ "MIT" ]
null
null
null
GFX/Vulkan/API_without_Secrets/Tutorial01/main.cpp
longlongwaytogo/Learning.test
ded9a25ba789c153d69b2d216599eda962ef83e9
[ "MIT" ]
null
null
null
GFX/Vulkan/API_without_Secrets/Tutorial01/main.cpp
longlongwaytogo/Learning.test
ded9a25ba789c153d69b2d216599eda962ef83e9
[ "MIT" ]
null
null
null
#include "Tutorial01.h" int main( int argc, char ** argv ) { ApiWithoutSecrets::OS::Window window; ApiWithoutSecrets::Tutorial01 tutorial01; // window creation if(! window.Create("01-The Beginning") ) { return -1; } // Vulkan preparations and initialization if( !tutorial01.PrepareVulkan() ) { return ...
14.655172
43
0.663529
longlongwaytogo
45e94b3dfd7697ee37a539956a2ef6eade97b84f
1,583
hpp
C++
core/utilities/string.hpp
fritzio/libstl
0709e54e4b13576edf84e393db211fb77efd7f72
[ "MIT" ]
null
null
null
core/utilities/string.hpp
fritzio/libstl
0709e54e4b13576edf84e393db211fb77efd7f72
[ "MIT" ]
null
null
null
core/utilities/string.hpp
fritzio/libstl
0709e54e4b13576edf84e393db211fb77efd7f72
[ "MIT" ]
null
null
null
#ifndef LIBSTL_UTLITIES_STRING_HPP #define LIBSTL_UTLITIES_STRING_HPP #include <array> #include <string> #include <vector> namespace libstl { namespace utilities { namespace string { std::string erase(const std::string& string, const std::string& substring) { std::string s = string; return s.erase(string.f...
26.830508
111
0.684776
fritzio
45e9bbade0ee125116c9f34aaa3263b5f7990dd2
2,148
cpp
C++
src/jet/live/LiveDelegate.cpp
cpei-avalara/jet-live
27593e29606456e822aee49384aafce97d914acd
[ "MIT" ]
null
null
null
src/jet/live/LiveDelegate.cpp
cpei-avalara/jet-live
27593e29606456e822aee49384aafce97d914acd
[ "MIT" ]
null
null
null
src/jet/live/LiveDelegate.cpp
cpei-avalara/jet-live
27593e29606456e822aee49384aafce97d914acd
[ "MIT" ]
null
null
null
#include "LiveDelegate.hpp" #include "jet/live/CompileCommandsCompilationUnitsParser.hpp" #include "jet/live/DefaultProgramInfoLoader.hpp" #include "jet/live/DepfileDependenciesHandler.hpp" #include "jet/live/Utility.hpp" namespace jet { void LiveDelegate::onLog(LogSeverity, const std::string&) {} void LiveD...
37.684211
118
0.715549
cpei-avalara
45ec4eec8930c64c8fcb1910df45d16cbfbef69c
938
cpp
C++
backup/2/interviewbit/c++/majority-element.cpp
yangyanzhan/code-camp
4272564e916fc230a4a488f92ae32c07d355dee0
[ "Apache-2.0" ]
21
2019-11-16T19:08:35.000Z
2021-11-12T12:26:01.000Z
backup/2/interviewbit/c++/majority-element.cpp
yangyanzhan/code-camp
4272564e916fc230a4a488f92ae32c07d355dee0
[ "Apache-2.0" ]
1
2022-02-04T16:02:53.000Z
2022-02-04T16:02:53.000Z
backup/2/interviewbit/c++/majority-element.cpp
yangyanzhan/code-camp
4272564e916fc230a4a488f92ae32c07d355dee0
[ "Apache-2.0" ]
4
2020-05-15T19:39:41.000Z
2021-10-30T06:40:31.000Z
// Hi, I'm Yanzhan. For more algothmic problems, visit my Youtube Channel (Yanzhan Yang's Youtube Channel) : https://www.youtube.com/channel/UCDkz-__gl3frqLexukpG0DA?view_as=subscriber or my Twitter Account (Yanzhan Yang's Twitter) : https://twitter.com/YangYanzhan or my GitHub HomePage (Yanzhan Yang's GitHub HomePage)...
44.666667
345
0.630064
yangyanzhan
45f884f94ce01ba6ede76e1851e83ac115c28edf
281
hpp
C++
include/generic/geometry/range_space.hpp
shikanle/gfx
772db3ddd66c294beaf17319f6b3803abe3ce0df
[ "Apache-2.0" ]
4
2022-01-06T14:06:03.000Z
2022-01-07T01:13:58.000Z
include/generic/geometry/range_space.hpp
shikanle/gfx
772db3ddd66c294beaf17319f6b3803abe3ce0df
[ "Apache-2.0" ]
null
null
null
include/generic/geometry/range_space.hpp
shikanle/gfx
772db3ddd66c294beaf17319f6b3803abe3ce0df
[ "Apache-2.0" ]
null
null
null
#pragma once namespace gfx { namespace generic { template <typename float_system> class range_space : public object { public: typedef float_system float_system_t; typedef typename float_system_t::float_t float_t; public: dynamic_reflectible(range_space, {}); }; } }
16.529412
53
0.754448
shikanle
45fc2c960ca416349005f51c9a48b3b7ebc6b602
864
cpp
C++
zoo_test.cpp
keychera/VirtualZOOP
893bbca25da0770504dc67c98adb526aee980237
[ "MIT" ]
null
null
null
zoo_test.cpp
keychera/VirtualZOOP
893bbca25da0770504dc67c98adb526aee980237
[ "MIT" ]
null
null
null
zoo_test.cpp
keychera/VirtualZOOP
893bbca25da0770504dc67c98adb526aee980237
[ "MIT" ]
null
null
null
#include "zoo.h" #include <gtest/gtest.h> #include <iostream> using namespace std; class ZooTest : public ::testing::Test { protected: ZooTest(){} }; TEST(ZooTest, Test1) { string filename="map.txt"; Zoo Z; Z.ReadZoo(filename.c_str()); ASSERT_EQ(21,Z.GetWidth()); ASSERT_EQ(21,Z.GetLength()); cout<<"wi...
26.181818
97
0.552083
keychera
3400b7fe0e4d35c15ef8c18b5b35a8a4fb0a140f
1,819
cc
C++
onnxruntime/core/providers/cuda/generator/constant_of_shape.cc
csteegz/onnxruntime
a36810471b346ec862ac6e4de7f877653f49525e
[ "MIT" ]
1
2020-07-12T15:23:49.000Z
2020-07-12T15:23:49.000Z
onnxruntime/core/providers/cuda/generator/constant_of_shape.cc
ajinkya933/onnxruntime
0e799a03f2a99da6a1b87a2cd37facb420c482aa
[ "MIT" ]
null
null
null
onnxruntime/core/providers/cuda/generator/constant_of_shape.cc
ajinkya933/onnxruntime
0e799a03f2a99da6a1b87a2cd37facb420c482aa
[ "MIT" ]
1
2020-09-09T06:55:51.000Z
2020-09-09T06:55:51.000Z
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #include "constant_of_shape.h" #include "core/providers/common.h" #include "gsl/gsl" using namespace ::onnxruntime::common; using namespace ONNX_NAMESPACE; namespace onnxruntime { namespace cuda { ONNX_OPERATOR_KERNEL_EX(...
33.685185
112
0.715778
csteegz
3413fcae1164f05e6869430c9c549bdc3b7a6e7c
6,668
hpp
C++
cpp/include/rapids_triton/model/model.hpp
divyegala/rapids-triton
8ff2a8dbad029e9379d9e7808d868924c4b60590
[ "Apache-2.0" ]
1
2022-02-23T23:38:40.000Z
2022-02-23T23:38:40.000Z
cpp/include/rapids_triton/model/model.hpp
divyegala/rapids-triton
8ff2a8dbad029e9379d9e7808d868924c4b60590
[ "Apache-2.0" ]
12
2021-09-20T21:23:27.000Z
2022-03-31T22:53:30.000Z
cpp/include/rapids_triton/model/model.hpp
divyegala/rapids-triton
8ff2a8dbad029e9379d9e7808d868924c4b60590
[ "Apache-2.0" ]
2
2022-01-27T20:58:07.000Z
2022-02-09T23:07:41.000Z
/* * Copyright (c) 2021, NVIDIA CORPORATION. * * 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 ...
33.676768
94
0.707858
divyegala
3415954e216bb53928018e5951bfdded31f93395
9,872
cpp
C++
Engine/src/Core/IO/icFileWin.cpp
binofet/ice
dee91da76df8b4f46ed4727d901819d8d20aefe3
[ "MIT" ]
null
null
null
Engine/src/Core/IO/icFileWin.cpp
binofet/ice
dee91da76df8b4f46ed4727d901819d8d20aefe3
[ "MIT" ]
null
null
null
Engine/src/Core/IO/icFileWin.cpp
binofet/ice
dee91da76df8b4f46ed4727d901819d8d20aefe3
[ "MIT" ]
null
null
null
#ifdef WIN32 #include "Core/IO/icFile.h" /*! Function converts ICE file modes to Microsoft flags * * @param u8Mode 8-bit mask of ICFILEMODE flags * @param[out] pAccess Pointer for access rights * @param[out] pCreateD Pointer for creation disposition * @param[out] pFandA Pointer for fl...
26.972678
84
0.588533
binofet
341f5f51dd2e5f71923d964fb9924d9f9a11bc08
18,473
cpp
C++
src/BCRext/BwtIndex.cpp
ndaniel/BEETL
4f35e2f6a18be624c1159f3ffe042eb8490f94bf
[ "BSD-2-Clause" ]
53
2015-02-05T02:26:15.000Z
2022-01-13T05:37:06.000Z
src/BCRext/BwtIndex.cpp
ndaniel/BEETL
4f35e2f6a18be624c1159f3ffe042eb8490f94bf
[ "BSD-2-Clause" ]
9
2015-09-03T23:42:14.000Z
2021-10-15T15:25:49.000Z
src/BCRext/BwtIndex.cpp
ndaniel/BEETL
4f35e2f6a18be624c1159f3ffe042eb8490f94bf
[ "BSD-2-Clause" ]
23
2015-01-08T13:43:07.000Z
2021-05-19T17:35:42.000Z
/** ** Copyright (c) 2011-2014 Illumina, Inc. ** ** This file is part of the BEETL software package, ** covered by the "BSD 2-Clause License" (see accompanying LICENSE file) ** ** Citation: Markus J. Bauer, Anthony J. Cox and Giovanna Rosone ** Lightweight BWT Construction for Very Large String Collections. ** ...
40.158696
459
0.560494
ndaniel
3422fef3339e415cb49949b7f4aaa1d4da2b9efd
253
cpp
C++
Chapter7/Image/QtImageViewer/qtimageViewer.cpp
valeriyvan/LinuxProgrammingWithRaspberryPi
7c57afcf2cbfc8e0486c78aa75b361fd712a136f
[ "MIT" ]
4
2020-03-11T13:38:25.000Z
2021-12-25T00:48:53.000Z
Chapter7/Image/QtImageViewer/qtimageViewer.cpp
valeriyvan/LinuxProgrammingWithRaspberryPi
7c57afcf2cbfc8e0486c78aa75b361fd712a136f
[ "MIT" ]
null
null
null
Chapter7/Image/QtImageViewer/qtimageViewer.cpp
valeriyvan/LinuxProgrammingWithRaspberryPi
7c57afcf2cbfc8e0486c78aa75b361fd712a136f
[ "MIT" ]
8
2020-07-10T22:02:05.000Z
2021-12-15T02:11:44.000Z
#include <QApplication> #include <QLabel> #include <QPixmap> int main(int argc, char **argv) { QApplication app(argc, argv); QLabel* lb = new QLabel("", 0); lb->setPixmap(QPixmap("mandrill.jpg")); lb->show(); return app.exec(); }
16.866667
43
0.620553
valeriyvan
34279a67e3c5d16a5ea26423c28bc022e6bc97f0
2,575
cpp
C++
src/Timer.cpp
JuanDiegoMontoya/g
57a4f44ddea0299e6c6f056592e0b126a67ed8ec
[ "MIT" ]
2
2022-02-04T10:14:49.000Z
2022-03-01T23:45:22.000Z
src/Timer.cpp
JuanDiegoMontoya/g
57a4f44ddea0299e6c6f056592e0b126a67ed8ec
[ "MIT" ]
null
null
null
src/Timer.cpp
JuanDiegoMontoya/g
57a4f44ddea0299e6c6f056592e0b126a67ed8ec
[ "MIT" ]
null
null
null
#include <fwog/Common.h> #include <fwog/Timer.h> #include <numeric> namespace Fwog { TimerQuery::TimerQuery() { glGenQueries(2, queries); glQueryCounter(queries[0], GL_TIMESTAMP); } TimerQuery::~TimerQuery() { glDeleteQueries(2, queries); } uint64_t TimerQuery::GetTimestamp() { int co...
27.105263
99
0.683495
JuanDiegoMontoya
342bcc038a2ca98c01e7e47922a5267283c40560
1,295
hpp
C++
Includes/Rosetta/PlayMode/Logs/PlayHistory.hpp
Hearthstonepp/Hearthstonepp
ee17ae6de1ee0078dab29d75c0fbe727a14e850e
[ "MIT" ]
62
2017-08-21T14:11:00.000Z
2018-04-23T16:09:02.000Z
Includes/Rosetta/PlayMode/Logs/PlayHistory.hpp
Hearthstonepp/Hearthstonepp
ee17ae6de1ee0078dab29d75c0fbe727a14e850e
[ "MIT" ]
37
2017-08-21T11:13:07.000Z
2018-04-30T08:58:41.000Z
Includes/Rosetta/PlayMode/Logs/PlayHistory.hpp
Hearthstonepp/Hearthstonepp
ee17ae6de1ee0078dab29d75c0fbe727a14e850e
[ "MIT" ]
10
2017-08-21T03:44:12.000Z
2018-01-10T22:29:10.000Z
// This code is based on Sabberstone project. // Copyright (c) 2017-2019 SabberStone Team, darkfriend77 & rnilva // RosettaStone is hearthstone simulator using C++ with reinforcement learning. // Copyright (c) 2019 Chris Ohk, Youngjoong Kim, SeungHyun Jeon #ifndef ROSETTASTONE_PLAYMODE_PLAY_HISTORY_HPP #define ROSETTA...
26.979167
79
0.671815
Hearthstonepp
342bf1d0c337848387f546dbefaadabf6a466b8f
293
cpp
C++
BotPantela/Ball.cpp
djcvijic/BotPantela
174287e2b10cdd30d3217dd9c2ff766fcc93530d
[ "MIT" ]
null
null
null
BotPantela/Ball.cpp
djcvijic/BotPantela
174287e2b10cdd30d3217dd9c2ff766fcc93530d
[ "MIT" ]
null
null
null
BotPantela/Ball.cpp
djcvijic/BotPantela
174287e2b10cdd30d3217dd9c2ff766fcc93530d
[ "MIT" ]
null
null
null
#include "Ball.h" using namespace std; void Ball::inputPos () { double xPos; double yPos; cin >> xPos; cin >> yPos; setXPos(xPos); setYPos(yPos); } void Ball::inputVel () { double xVel; double yVel; cin >> xVel; cin >> yVel; setXVel(xVel); setYVel(yVel); }
12.73913
23
0.590444
djcvijic
3438f017a59ebe1f52a4e23ee50c1de8ea272471
3,224
hpp
C++
src/modules/control_allocator/ActuatorEffectiveness/ActuatorEffectivenessHelicopter.hpp
uavosky/uavosky-px4
5793a7264a1400914521a077a7009dd227f9c766
[ "BSD-3-Clause" ]
4,224
2015-01-02T11:51:02.000Z
2020-10-27T23:42:28.000Z
src/modules/control_allocator/ActuatorEffectiveness/ActuatorEffectivenessHelicopter.hpp
uavosky/uavosky-px4
5793a7264a1400914521a077a7009dd227f9c766
[ "BSD-3-Clause" ]
11,736
2015-01-01T11:59:16.000Z
2020-10-28T17:13:38.000Z
src/modules/control_allocator/ActuatorEffectiveness/ActuatorEffectivenessHelicopter.hpp
uavosky/uavosky-px4
5793a7264a1400914521a077a7009dd227f9c766
[ "BSD-3-Clause" ]
11,850
2015-01-02T14:54:47.000Z
2020-10-28T16:42:47.000Z
/**************************************************************************** * * Copyright (c) 2022 PX4 Development Team. 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. Redistri...
35.822222
111
0.743797
uavosky
343973ee233f02e5296e9d3f81ba60df5cdf46c0
2,604
cpp
C++
src/RawlogHelper.cpp
dzunigan/extrinsic_calib
aec3747aeb6baecc7bc6202fc0832a113a1bc528
[ "BSD-3-Clause" ]
5
2018-10-24T02:14:54.000Z
2019-05-11T12:36:01.000Z
src/RawlogHelper.cpp
dzunigan/extrinsic_calib
aec3747aeb6baecc7bc6202fc0832a113a1bc528
[ "BSD-3-Clause" ]
null
null
null
src/RawlogHelper.cpp
dzunigan/extrinsic_calib
aec3747aeb6baecc7bc6202fc0832a113a1bc528
[ "BSD-3-Clause" ]
1
2021-06-30T01:12:49.000Z
2021-06-30T01:12:49.000Z
#include "RawlogHelper.hpp" //MRPT redefinition so they work without using mrpt namepase (more general) #ifndef CLASS_ID_ #define CLASS_ID_(class_name, space_name) static_cast<const mrpt::utils::TRuntimeClassId*>(&space_name::class_name::class##class_name) #endif #ifndef IS_CLASS_ #define IS_CLASS_( ptrObj, c...
28
138
0.630184
dzunigan
34407b0deadf3a5daf2ecf83f8962faca98e3f7c
828
hpp
C++
01_src/compontents/components.hpp
gledr/SMT_MacroPlacer
b5b25f0ce9094553167ffd4985721f86414ceddc
[ "MIT" ]
3
2020-06-05T15:33:30.000Z
2021-05-03T07:34:15.000Z
01_src/compontents/components.hpp
gledr/SMT_MacroPlacer
b5b25f0ce9094553167ffd4985721f86414ceddc
[ "MIT" ]
null
null
null
01_src/compontents/components.hpp
gledr/SMT_MacroPlacer
b5b25f0ce9094553167ffd4985721f86414ceddc
[ "MIT" ]
1
2021-05-03T07:34:17.000Z
2021-05-03T07:34:17.000Z
//================================================================== // Author : Pointner Sebastian // Company : Johannes Kepler University // Name : SMT Macro Placer // Workfile : components.hpp // // Date : 19. May 2020 // Compiler : gcc version 9.3.0 (GCC) // Copyright : Johanne...
29.571429
68
0.588164
gledr
451ec556f9b2d36764908afcb2fcad82f82ed0d8
4,619
cpp
C++
windows/cpp/samples/hw_enc_avc_intel_file/hw_enc_avc_intel_file.cpp
avblocks/avblocks-samples
7388111a27c8110a9f7222e86e912fe38f444543
[ "MIT" ]
1
2022-02-28T04:12:09.000Z
2022-02-28T04:12:09.000Z
windows/cpp/samples/hw_enc_avc_intel_file/hw_enc_avc_intel_file.cpp
avblocks/avblocks-samples
7388111a27c8110a9f7222e86e912fe38f444543
[ "MIT" ]
null
null
null
windows/cpp/samples/hw_enc_avc_intel_file/hw_enc_avc_intel_file.cpp
avblocks/avblocks-samples
7388111a27c8110a9f7222e86e912fe38f444543
[ "MIT" ]
1
2022-02-28T02:43:24.000Z
2022-02-28T02:43:24.000Z
/* * Copyright (c) 2016 Primo Software. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. */ #include "stdafx.h" #include "util.h" #include "options.h" using namespace primo::codecs; usi...
26.394286
127
0.606841
avblocks
452178ec8ad3cabe4e642fbe06772ac6f04cd837
6,590
cpp
C++
sg/importer/Importer.cpp
ospray/ospray_studio
1549ac72c7c561b4aafdea976189bbe95bd32ff2
[ "Apache-2.0" ]
52
2018-10-09T23:56:32.000Z
2022-03-25T09:27:40.000Z
sg/importer/Importer.cpp
ospray/ospray_studio
1549ac72c7c561b4aafdea976189bbe95bd32ff2
[ "Apache-2.0" ]
11
2018-11-19T18:51:47.000Z
2022-03-28T14:03:57.000Z
sg/importer/Importer.cpp
ospray/ospray_studio
1549ac72c7c561b4aafdea976189bbe95bd32ff2
[ "Apache-2.0" ]
8
2019-02-10T00:16:24.000Z
2022-02-17T19:50:15.000Z
// Copyright 2009-2021 Intel Corporation // SPDX-License-Identifier: Apache-2.0 #include "Importer.h" #include "sg/visitors/PrintNodes.h" #include "../JSONDefs.h" namespace ospray { namespace sg { OSPSG_INTERFACE std::map<std::string, std::string> importerMap = { {"obj", "importer_obj"}, {"gltf", "importer_...
31.5311
80
0.619272
ospray
452da6fe4e6d905249e89e7673f85c4a1a11cda2
774
cpp
C++
Miscellaneous/InterviewBit/Array/RotateImage.cpp
chirag-singhal/-Data-Structures-and-Algorithms
9f01b5cc0f382ed59bcd74444a0be1c3aa6cd1a3
[ "MIT" ]
24
2021-02-09T17:59:54.000Z
2022-03-11T07:30:38.000Z
Miscellaneous/InterviewBit/Array/RotateImage.cpp
chirag-singhal/-Data-Structures-and-Algorithms
9f01b5cc0f382ed59bcd74444a0be1c3aa6cd1a3
[ "MIT" ]
null
null
null
Miscellaneous/InterviewBit/Array/RotateImage.cpp
chirag-singhal/-Data-Structures-and-Algorithms
9f01b5cc0f382ed59bcd74444a0be1c3aa6cd1a3
[ "MIT" ]
3
2021-06-22T03:09:49.000Z
2022-03-09T18:25:14.000Z
#include <bits/stdc++.h> void rotate(std::vector<std::vector<int> > &A) { // Do not write main() function. // Do not read input, instead use the arguments to the function. // Do not print the output, instead return values as specified // Still have a doubt. Checkout www.interviewbit.com/pages/sample_co...
35.181818
93
0.459948
chirag-singhal
452ee43e21aafb068418cfb57dfdab51a06eee65
2,784
cpp
C++
benchmark/demo_benchmark.cpp
Algorithms-and-Data-Structures-2021/semester-work-median
a3592c0af93f562ea8f60e2301e5f21d1edbda0e
[ "MIT" ]
null
null
null
benchmark/demo_benchmark.cpp
Algorithms-and-Data-Structures-2021/semester-work-median
a3592c0af93f562ea8f60e2301e5f21d1edbda0e
[ "MIT" ]
null
null
null
benchmark/demo_benchmark.cpp
Algorithms-and-Data-Structures-2021/semester-work-median
a3592c0af93f562ea8f60e2301e5f21d1edbda0e
[ "MIT" ]
null
null
null
#include <fstream> // ifstream #include <iostream> // cout #include <string> // string, stoi #include <string_view> // string_view #include <chrono> // high_resolution_clock, duration_cast, nanoseconds #include <sstream> // stringstream #include <vector> // подключаем алгоритм #include "algo...
32
97
0.600575
Algorithms-and-Data-Structures-2021
45310c3ba8f1aa569b5c663e734e95570828b415
2,128
cpp
C++
Shared Classes/Stats.cpp
Mertank/ToneArm
40c62b0de89ac506bea6674e43578bf4e2631f93
[ "Zlib", "BSD-2-Clause" ]
null
null
null
Shared Classes/Stats.cpp
Mertank/ToneArm
40c62b0de89ac506bea6674e43578bf4e2631f93
[ "Zlib", "BSD-2-Clause" ]
null
null
null
Shared Classes/Stats.cpp
Mertank/ToneArm
40c62b0de89ac506bea6674e43578bf4e2631f93
[ "Zlib", "BSD-2-Clause" ]
null
null
null
/* ------------------------------------------------------------------------------------------ Copyright (c) 2014 Vinyl Games Studio Author: Mikhail Kutuzov Date: 10/7/2014 5:45:48 PM ------------------------------------------------------------------------------------------ */ #include "Stats.h...
25.035294
115
0.670583
Mertank
4536e307f42d425866f3d9ad9020706f0477068b
3,190
cpp
C++
vec3f.cpp
ei14/qecvec
e097d0a205889ec65362992c4171ae535bc113a5
[ "MIT" ]
null
null
null
vec3f.cpp
ei14/qecvec
e097d0a205889ec65362992c4171ae535bc113a5
[ "MIT" ]
null
null
null
vec3f.cpp
ei14/qecvec
e097d0a205889ec65362992c4171ae535bc113a5
[ "MIT" ]
null
null
null
// Copyright (c) 2021 Thomas Kaldahl #include "qecvec.hpp" // Constructors Vec3f::Vec3f( float x, float y, float z ) { this->x = x; this->y = y; this->z = z; } Vec3f::Vec3f(float val) : Vec3f(val, val, val) {} Vec3f::Vec3f() : Vec3f(0) {} Vec3f::Vec3f(Vec2f v, float z) : Vec3f(v.x, v.y, z) {} Vec3f::Vec3f(flo...
25.52
77
0.630408
ei14
45382cb1d1d0ba807d163bc1cb1d314da6852610
3,806
cpp
C++
Source/10.0.18362.0/ucrt/mbstring/mbsdec.cpp
825126369/UCRT
8853304fdc2a5c216658d08b6dbbe716aa2a7b1f
[ "MIT" ]
2
2021-01-27T10:19:30.000Z
2021-02-09T06:24:30.000Z
Source/10.0.18362.0/ucrt/mbstring/mbsdec.cpp
825126369/UCRT
8853304fdc2a5c216658d08b6dbbe716aa2a7b1f
[ "MIT" ]
null
null
null
Source/10.0.18362.0/ucrt/mbstring/mbsdec.cpp
825126369/UCRT
8853304fdc2a5c216658d08b6dbbe716aa2a7b1f
[ "MIT" ]
1
2021-01-27T10:19:36.000Z
2021-01-27T10:19:36.000Z
/*** *mbsdec.c - Move MBCS string pointer backward one charcter. * * Copyright (c) Microsoft Corporation. All rights reserved. * *Purpose: * Move MBCS string pointer backward one character. * *******************************************************************************/ #ifndef _MBCS #error This file...
34.6
88
0.64083
825126369
4539f7f1d006ae249eb8f841b2f0a897d401f16e
1,678
cpp
C++
Heap.cpp
Aman-Chopra/DataStructure-Algorithms
fc5ed6ebe97032200b93c1ade783d4a5ed2fdd25
[ "MIT" ]
null
null
null
Heap.cpp
Aman-Chopra/DataStructure-Algorithms
fc5ed6ebe97032200b93c1ade783d4a5ed2fdd25
[ "MIT" ]
3
2016-06-09T07:46:15.000Z
2017-05-06T07:56:18.000Z
Heap.cpp
Aman-Chopra/DataStructure-Algorithms
fc5ed6ebe97032200b93c1ade783d4a5ed2fdd25
[ "MIT" ]
4
2016-06-09T07:14:37.000Z
2021-05-21T22:07:20.000Z
#include <iostream> #include <vector> #include <algorithm> using namespace std; int smallest = 0; int largest = 0; void max_heapify(vector<int> &v, int i, int *n) { int left = 2*i; int right = 2*i+1; if(left <= *n && v[left] > v[i]) largest = left; else largest = i; if(right <= *n && v[right] > v[largest]) ...
15.537037
65
0.573897
Aman-Chopra
453a1e6a515d4a67d7d37444149865b65fb7a952
4,785
cpp
C++
idlib-math/tests/idlib/tests/math/constants.cpp
egoboo/idlib
b27b9d3fe7357ecfe5f9dc71afe283a3d16b1ba8
[ "MIT" ]
1
2021-07-30T14:02:43.000Z
2021-07-30T14:02:43.000Z
idlib-math/tests/idlib/tests/math/constants.cpp
egoboo/idlib
b27b9d3fe7357ecfe5f9dc71afe283a3d16b1ba8
[ "MIT" ]
null
null
null
idlib-math/tests/idlib/tests/math/constants.cpp
egoboo/idlib
b27b9d3fe7357ecfe5f9dc71afe283a3d16b1ba8
[ "MIT" ]
2
2017-01-27T16:53:08.000Z
2017-08-27T07:28:43.000Z
/////////////////////////////////////////////////////////////////////////////////////////////////// // // Idlib: A C++ utility library // Copyright (C) 2017-2018 Michael Heilmann // // This software is provided 'as-is', without any express or implied warranty. // In no event will the authors be held liable for any dama...
29
121
0.63908
egoboo
453a2e4418602f71031fee4718f9682dd556d6c0
446
hpp
C++
include/lua_object.hpp
GhostInABottle/octopus_engine
50429e889493527bdc0e78b307937002e0f2c510
[ "BSD-2-Clause" ]
3
2017-10-02T03:18:59.000Z
2020-11-01T09:21:28.000Z
include/lua_object.hpp
GhostInABottle/octopus_engine
50429e889493527bdc0e78b307937002e0f2c510
[ "BSD-2-Clause" ]
2
2019-04-06T21:48:08.000Z
2020-05-22T23:38:54.000Z
include/lua_object.hpp
GhostInABottle/octopus_engine
50429e889493527bdc0e78b307937002e0f2c510
[ "BSD-2-Clause" ]
1
2017-07-17T20:58:26.000Z
2017-07-17T20:58:26.000Z
#ifndef HPP_LUA_OBJECT #define HPP_LUA_OBJECT #include <string> #include <memory> #include "xd/vendor/sol/forward.hpp" class Lua_Object { public: Lua_Object(); virtual ~Lua_Object(); void set_lua_property(const std::string& name, sol::stack_object value); sol::main_object get_lua_property(...
22.3
77
0.690583
GhostInABottle
453a31f903a11270acdc2a5ad22af96280f0cdc3
838
cpp
C++
UVA/UVA11340.cpp
avillega/CompetitiveProgramming
f12c1a07417f8fc154ac5297889ca756b49f0f35
[ "Apache-2.0" ]
null
null
null
UVA/UVA11340.cpp
avillega/CompetitiveProgramming
f12c1a07417f8fc154ac5297889ca756b49f0f35
[ "Apache-2.0" ]
null
null
null
UVA/UVA11340.cpp
avillega/CompetitiveProgramming
f12c1a07417f8fc154ac5297889ca756b49f0f35
[ "Apache-2.0" ]
null
null
null
#include <cstdio> #include <string> #include <map> using namespace std; typedef long long ll; int main(){ map<char, int> charPrice; char artLine[10100]; int T; scanf("%d\n", &T); int N; ll totalCents; while(T--){ totalCents=0; charPrice.clear(); ...
23.942857
52
0.387828
avillega
453d0e2d0c29f82be0ecfb636cb3150dbe88e579
1,000
cpp
C++
tools/EncoderTemplate/Encoder.cpp
EmilianC/Jewel3D
ce11aa686ab35d4989f018c948b26abed6637d77
[ "MIT" ]
30
2017-02-02T01:57:13.000Z
2020-07-04T04:38:20.000Z
tools/EncoderTemplate/Encoder.cpp
EmilianC/Jewel3D
ce11aa686ab35d4989f018c948b26abed6637d77
[ "MIT" ]
null
null
null
tools/EncoderTemplate/Encoder.cpp
EmilianC/Jewel3D
ce11aa686ab35d4989f018c948b26abed6637d77
[ "MIT" ]
10
2017-07-10T01:31:54.000Z
2020-01-13T20:38:57.000Z
#include "Encoder.h" #define CURRENT_VERSION 1 Encoder::Encoder() : gem::Encoder(CURRENT_VERSION) { } gem::ConfigTable Encoder::GetDefault() const { gem::ConfigTable defaultConfig; defaultConfig.SetValue("version", CURRENT_VERSION); // Any default values for a new asset can be added to metadata here. return d...
21.276596
116
0.725
EmilianC
45423747d3b937f5418714dac6ac022f087f6b9e
3,742
cpp
C++
src/FEM/FEM1DApp.cpp
Jerry-Shen0527/Numerical
0bd6b630ac450caa0642029792ab348867d2390d
[ "MIT" ]
null
null
null
src/FEM/FEM1DApp.cpp
Jerry-Shen0527/Numerical
0bd6b630ac450caa0642029792ab348867d2390d
[ "MIT" ]
null
null
null
src/FEM/FEM1DApp.cpp
Jerry-Shen0527/Numerical
0bd6b630ac450caa0642029792ab348867d2390d
[ "MIT" ]
null
null
null
#include <FEM/FEM1DApp.hpp> Float StaticFEM1DApp::GradientSelfInnerProduct(int i, int j) { std::vector<int> i_id, j_id; auto i_mesh = IdxToMesh(i, i_id); auto j_mesh = IdxToMesh(j, j_id); Float ret = 0; for (int a = 0; a < i_mesh.size(); ++a) { for (int b = 0; b < j_mesh.size(); ++b) { if (i_mesh[a] == ...
21.022472
96
0.617584
Jerry-Shen0527
45462edbf1008c8ccc83843d664762d8e82e0909
2,396
cpp
C++
node_modules/lzz-gyp/lzz-source/smtc_PrintNsFuncDefn.cpp
SuperDizor/dizornator
9f57dbb3f6af80283b4d977612c95190a3d47900
[ "ISC" ]
3
2019-09-18T16:44:33.000Z
2021-03-29T13:45:27.000Z
node_modules/lzz-gyp/lzz-source/smtc_PrintNsFuncDefn.cpp
SuperDizor/dizornator
9f57dbb3f6af80283b4d977612c95190a3d47900
[ "ISC" ]
null
null
null
node_modules/lzz-gyp/lzz-source/smtc_PrintNsFuncDefn.cpp
SuperDizor/dizornator
9f57dbb3f6af80283b4d977612c95190a3d47900
[ "ISC" ]
2
2019-03-29T01:06:38.000Z
2019-09-18T16:44:34.000Z
// smtc_PrintNsFuncDefn.cpp // #include "smtc_PrintNsFuncDefn.h" // semantic #include "smtc_FuncDefn.h" #include "smtc_IsNameQual.h" #include "smtc_IsNsEnclUnmd.h" #include "smtc_Output.h" #include "smtc_PrintFuncDefn.h" // config #include "conf_Config.h" #define LZZ_INLINE inline namespace { using namespace smtc; ...
22.185185
86
0.613523
SuperDizor
454d3b48038a9b52fc0dc94df440bdb4ea5d76e7
8,056
cpp
C++
src/Nodes/Default_Nodes/Generators/chaoticOscillator.cpp
PlaymodesStudio/ofxOceanode
400df6d49c4b29bc6916e4a045145e935beff4e0
[ "MIT" ]
31
2018-04-20T13:47:38.000Z
2021-12-26T04:32:24.000Z
src/Nodes/Default_Nodes/Generators/chaoticOscillator.cpp
PlaymodesStudio/ofxOceanode
400df6d49c4b29bc6916e4a045145e935beff4e0
[ "MIT" ]
25
2018-02-19T17:15:32.000Z
2020-01-05T01:51:00.000Z
src/Nodes/Default_Nodes/Generators/chaoticOscillator.cpp
PlaymodesStudio/ofxOceanode
400df6d49c4b29bc6916e4a045145e935beff4e0
[ "MIT" ]
5
2018-09-25T18:37:23.000Z
2021-01-21T16:26:16.000Z
// // chaoticOscillator.cpp // example-basic // // Created by Eduard Frigola Bagué on 02/03/2020. // #include "chaoticOscillator.h" void chaoticOscillator::setup(){ color = ofColor(0, 200, 255); oldPhasor = vector<float>(1, 0); seedChanged = vector<bool>(true); baseChOsc.resize(1); result.resiz...
39.881188
124
0.585775
PlaymodesStudio
45523fb4a50faa6e4e59570ed6c5b2e26dfd7279
3,757
hpp
C++
src/riscv_devices.hpp
msyksphinz/swimmer_riscv
065cf3e0dcdcd00cd9bd976285a307d371253ba9
[ "BSD-3-Clause" ]
33
2015-08-23T02:45:07.000Z
2019-11-06T23:34:51.000Z
src/riscv_devices.hpp
msyksphinz-self/swimmer_riscv
065cf3e0dcdcd00cd9bd976285a307d371253ba9
[ "BSD-3-Clause" ]
11
2015-10-11T15:52:42.000Z
2019-09-20T14:30:35.000Z
src/riscv_devices.hpp
msyksphinz/swimmer_riscv
065cf3e0dcdcd00cd9bd976285a307d371253ba9
[ "BSD-3-Clause" ]
5
2015-02-14T10:07:44.000Z
2019-09-20T06:37:38.000Z
/* * Copyright (c) 2015, msyksphinz * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyright * notice, this list of conditi...
31.571429
152
0.711206
msyksphinz
4555a728416e55f68c46303cbf1c1a6c81eb918c
593
cpp
C++
SET & MAP/basic problem/Count-of-pairs-between-two-arrays-such-that-the-sums-are-distinct.cpp
Shiv-sharma-111/jubilant-sniffle
4cd1ce6fe08f8749f16e569b3a78f3b5576ebe17
[ "MIT" ]
null
null
null
SET & MAP/basic problem/Count-of-pairs-between-two-arrays-such-that-the-sums-are-distinct.cpp
Shiv-sharma-111/jubilant-sniffle
4cd1ce6fe08f8749f16e569b3a78f3b5576ebe17
[ "MIT" ]
null
null
null
SET & MAP/basic problem/Count-of-pairs-between-two-arrays-such-that-the-sums-are-distinct.cpp
Shiv-sharma-111/jubilant-sniffle
4cd1ce6fe08f8749f16e569b3a78f3b5576ebe17
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; int main() { ios_base::sync_with_stdio(false); cin.tie(NULL); cout.tie(NULL); int T; cin>>T; while(T--) { int n1,n2; cin>>n1>>n2; int arr1[n1],arr2[n2]; for(int i=0;i<n1;i++) { cin>>arr1[i]; } for(int i=0;i<n2;i++) { ci...
16.027027
35
0.468803
Shiv-sharma-111
455680b9155630f3e6d96be1a8de3c27928d49c0
517
hpp
C++
src/Exceptions/Exception.hpp
pokorj54/Command-line-calendar
de2c8a89917bd4cb69547427a6ec1bced218c5ad
[ "MIT" ]
null
null
null
src/Exceptions/Exception.hpp
pokorj54/Command-line-calendar
de2c8a89917bd4cb69547427a6ec1bced218c5ad
[ "MIT" ]
null
null
null
src/Exceptions/Exception.hpp
pokorj54/Command-line-calendar
de2c8a89917bd4cb69547427a6ec1bced218c5ad
[ "MIT" ]
null
null
null
#ifndef Exception_785a62ec3213411cb4e442ee734c00cb #define Exception_785a62ec3213411cb4e442ee734c00cb #include <iostream> /** * @brief Abstract class providing genereal interface to exceptions * */ class Exception: public std::exception { public: /** * @brief Message that can be printed to th...
24.619048
67
0.686654
pokorj54
455878b48a2ef154a4e5242dc0e51a7aee92a867
898
cpp
C++
src/util/TexShare.cpp
pharpend/Oscilloscope
e2598c559302bd91747b73a251d614eeb4dea663
[ "MIT" ]
460
2015-03-18T18:59:49.000Z
2022-03-19T19:11:09.000Z
src/util/TexShare.cpp
pharpend/Oscilloscope
e2598c559302bd91747b73a251d614eeb4dea663
[ "MIT" ]
78
2015-05-10T07:23:55.000Z
2022-03-09T13:58:51.000Z
src/util/TexShare.cpp
pharpend/Oscilloscope
e2598c559302bd91747b73a251d614eeb4dea663
[ "MIT" ]
64
2015-06-13T01:45:54.000Z
2022-01-14T17:38:19.000Z
// // SharedTex.cpp // Oscilloscope // // Created by Hansi on 27/06/19. // // #include "TexShare.h" #include "ofMain.h" #ifdef TARGET_OSX #include "ofxSyphon.h" class TexShareImpl{ public: ofxSyphonServer server; void setup(string name){ server.setName(name); } void update(ofTexture &tex){ server.publi...
14.483871
38
0.690423
pharpend
456ce2aad5fd617a5ed86fc8916b091e371316e3
423
cpp
C++
cph/modbus/mbqueue.cpp
Loggi-pro/cph-lib
4109dd1d3cc780c9f76aa54c2322bbdcbfdfea67
[ "MIT" ]
null
null
null
cph/modbus/mbqueue.cpp
Loggi-pro/cph-lib
4109dd1d3cc780c9f76aa54c2322bbdcbfdfea67
[ "MIT" ]
null
null
null
cph/modbus/mbqueue.cpp
Loggi-pro/cph-lib
4109dd1d3cc780c9f76aa54c2322bbdcbfdfea67
[ "MIT" ]
null
null
null
#include "mbqueue.h" void ModbusEventQueue::init() { _isEventInQueue = false; } bool ModbusEventQueue::postEvent(MBEventType eEvent) { _isEventInQueue = true; _queuedEvent = eEvent; return true; } bool ModbusEventQueue::getEvent(MBEventType* eEvent) { bool isEventHappened = false; if (_isEventInQueue) { *eEv...
19.227273
54
0.747045
Loggi-pro
456cee28cc1d1ab23a90b671f5ab734025642346
1,778
cpp
C++
examples/HelloWorld/HelloWorld.cpp
SteveDeFacto/ovgl
879899f63f0dc399e2823dd84bb715fda3aafb78
[ "Apache-2.0" ]
3
2019-02-24T23:17:49.000Z
2020-05-03T09:05:49.000Z
examples/HelloWorld/HelloWorld.cpp
SteveDeFacto/ovgl
879899f63f0dc399e2823dd84bb715fda3aafb78
[ "Apache-2.0" ]
null
null
null
examples/HelloWorld/HelloWorld.cpp
SteveDeFacto/ovgl
879899f63f0dc399e2823dd84bb715fda3aafb78
[ "Apache-2.0" ]
null
null
null
/** * @file HelloWorld.cpp * Copyright 2011 Steven Batchelor * * 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...
27.78125
105
0.663105
SteveDeFacto
456d9b8f021d8459aaea5b9c07ffd93e2d8a506f
738
hpp
C++
src/cpp/iir-filter-node.hpp
node-3d/waa-raub
e458d76f290b1e12ef2a0adc063b521816337f04
[ "MIT" ]
17
2018-10-03T00:44:33.000Z
2022-03-17T06:40:15.000Z
src/cpp/iir-filter-node.hpp
raub/node-waa
e458d76f290b1e12ef2a0adc063b521816337f04
[ "MIT" ]
7
2019-07-16T08:22:31.000Z
2021-11-29T21:45:06.000Z
src/cpp/iir-filter-node.hpp
raub/node-waa
e458d76f290b1e12ef2a0adc063b521816337f04
[ "MIT" ]
2
2019-08-05T20:00:42.000Z
2020-03-15T13:25:41.000Z
#ifndef _IIR_FILTER_NODE_HPP_ #define _IIR_FILTER_NODE_HPP_ #include "common.hpp" class IIRFilterNode : public CommonNode { DECLARE_ES5_CLASS(IIRFilterNode, IIRFilterNode); public: ~IIRFilterNode(); explicit IIRFilterNode(const Napi::CallbackInfo &info); static void init(Napi::Env env, Napi::Object exports)...
17.571429
56
0.768293
node-3d
456fba303c64e745bee06e191b15a89f770516b4
15,915
cpp
C++
Lambda-Lib-C++/LambdaCalc_SampleExec.cpp
jrandleman/Lambda-Calc-Compilation
488c6d1fbc92d00429aa7eb772df3fd6e0dd92c5
[ "MIT" ]
1
2020-09-14T19:47:13.000Z
2020-09-14T19:47:13.000Z
Lambda-Lib-C++/LambdaCalc_SampleExec.cpp
jrandleman/Lambda-Calc-Compiler
488c6d1fbc92d00429aa7eb772df3fd6e0dd92c5
[ "MIT" ]
null
null
null
Lambda-Lib-C++/LambdaCalc_SampleExec.cpp
jrandleman/Lambda-Calc-Compiler
488c6d1fbc92d00429aa7eb772df3fd6e0dd92c5
[ "MIT" ]
null
null
null
// Author: Jordan Randleman -- LambdaCalc_SampleExec.cpp // => Demo File to Illustrate LambdaCalc.hpp's Capabilities #include <iostream> #include "LambdaCalc.hpp" /** * -:- NAMESPACE LambdaCalc LAMBDAS -:- * => ALL DATA IS IMMUTABLE (CONST) * => ALL LAMBDAS ARE CURRIED ( IE Add(ox1, ox2) => Add(ox1)(ox2)...
35.13245
121
0.507823
jrandleman
45774a243eba9339b1d84de55198c4399b64d3f2
954
hpp
C++
main/inou_rand_api.hpp
tamim-asif/lgraph-private
733bbcd9e14a9850580b51c011e33785ab758b9d
[ "BSD-3-Clause" ]
null
null
null
main/inou_rand_api.hpp
tamim-asif/lgraph-private
733bbcd9e14a9850580b51c011e33785ab758b9d
[ "BSD-3-Clause" ]
null
null
null
main/inou_rand_api.hpp
tamim-asif/lgraph-private
733bbcd9e14a9850580b51c011e33785ab758b9d
[ "BSD-3-Clause" ]
null
null
null
#include "inou_rand.hpp" #include "main_api.hpp" class Inou_rand_api { protected: static void tolg(Eprp_var &var) { Inou_rand rand; for(const auto &l:var.dict) { rand.set(l.first,l.second); } std::vector<LGraph *> lgs = rand.tolg(); if (lgs.empty()) { Main_api::warn(fmt::format("i...
24.461538
128
0.638365
tamim-asif
457799f6c60e7d7a5d1685b8781ec801a174ca43
3,127
hpp
C++
GameEngine/Systems/ButtonSystem.hpp
Epitech-Tek2/superBonobros2
525ab414215f5b67829bf200797c2055141cb7b9
[ "MIT" ]
null
null
null
GameEngine/Systems/ButtonSystem.hpp
Epitech-Tek2/superBonobros2
525ab414215f5b67829bf200797c2055141cb7b9
[ "MIT" ]
null
null
null
GameEngine/Systems/ButtonSystem.hpp
Epitech-Tek2/superBonobros2
525ab414215f5b67829bf200797c2055141cb7b9
[ "MIT" ]
null
null
null
/* ** EPITECH PROJECT, 2020 ** B-CPP-501-STG-5-1-rtype-romuald1.soultan ** File description: ** ButtonSystem */ #ifndef BUTTONSYSTEM_HPP_ #define BUTTONSYSTEM_HPP_ #include "ASystem.hpp" #include "ECS.hpp" #include "AScene.hpp" #include "AGame.hpp" #include "ASystem.hpp" #include "ClickableComponent.hpp" #include "Sh...
39.582278
132
0.549089
Epitech-Tek2
4577c52083767b5b1ed8420cedc7326e012220ed
875
cpp
C++
coast/modules/Renderer/SubStringRenderer.cpp
zer0infinity/CuteForCoast
37d933c5fe2e0ce9a801f51b2aa27c7a18098511
[ "BSD-3-Clause" ]
null
null
null
coast/modules/Renderer/SubStringRenderer.cpp
zer0infinity/CuteForCoast
37d933c5fe2e0ce9a801f51b2aa27c7a18098511
[ "BSD-3-Clause" ]
null
null
null
coast/modules/Renderer/SubStringRenderer.cpp
zer0infinity/CuteForCoast
37d933c5fe2e0ce9a801f51b2aa27c7a18098511
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright (c) 2005, Peter Sommerlad and IFS Institute for Software at HSR Rapperswil, Switzerland * All rights reserved. * * This library/application is free software; you can redistribute and/or modify it under the terms of * the license that is included with this library/application in the file license.txt....
38.043478
102
0.718857
zer0infinity
4578b38a6b3f01fa80365cd43053e30c3d4c7513
65
cpp
C++
cpp_data_structure_and_algorithm/day9/IndexMaxHeap.cpp
xcyi2017/Agorithm
bae9918b0758624ecd1f94a3ca1692050c193a29
[ "Apache-2.0" ]
1
2020-11-15T09:40:47.000Z
2020-11-15T09:40:47.000Z
cpp_data_structure_and_algorithm/day9/IndexMaxHeap.cpp
xcyi2017/Agorithm
bae9918b0758624ecd1f94a3ca1692050c193a29
[ "Apache-2.0" ]
null
null
null
cpp_data_structure_and_algorithm/day9/IndexMaxHeap.cpp
xcyi2017/Agorithm
bae9918b0758624ecd1f94a3ca1692050c193a29
[ "Apache-2.0" ]
null
null
null
// // Created by xcy on 2020/10/5. // #include "IndexMaxHeap.h"
10.833333
31
0.630769
xcyi2017
457bc8521fdebe0808d93f1cd867ad9f31f5b80e
835
cpp
C++
CameraShake/MyCameraShake.cpp
H4DC0R3/unrealcpp
b0f5667cb20711d740a6fb0cb5064efc6873c948
[ "MIT" ]
765
2018-01-03T14:58:37.000Z
2022-03-29T16:03:13.000Z
CameraShake/MyCameraShake.cpp
shyaZhou/unrealcpp
e998d89ce6c8d5484c084f395d2eca5e247b88bf
[ "MIT" ]
1
2019-09-26T09:33:50.000Z
2020-12-11T05:17:13.000Z
CameraShake/MyCameraShake.cpp
shyaZhou/unrealcpp
e998d89ce6c8d5484c084f395d2eca5e247b88bf
[ "MIT" ]
166
2018-02-20T07:36:12.000Z
2022-03-25T07:49:03.000Z
// Harrison McGuire // UE4 Version 4.20.2 // https://github.com/Harrison1/unrealcpp // https://severallevels.io // https://harrisonmcguire.com #include "MyCameraShake.h" // Helpful Links // http://api.unrealengine.com/INT/API/Runtime/Engine/Camera/UCameraShake/index.html // // Great explanation of camera shake values...
27.833333
84
0.731737
H4DC0R3
4584d9705bc128ecf32ee9da4ab82849fdd83607
2,241
hpp
C++
falcon/mpl/placeholders.hpp
jonathanpoelen/falcon
5b60a39787eedf15b801d83384193a05efd41a89
[ "MIT" ]
2
2018-02-02T14:19:59.000Z
2018-05-13T02:48:24.000Z
falcon/mpl/placeholders.hpp
jonathanpoelen/falcon
5b60a39787eedf15b801d83384193a05efd41a89
[ "MIT" ]
null
null
null
falcon/mpl/placeholders.hpp
jonathanpoelen/falcon
5b60a39787eedf15b801d83384193a05efd41a89
[ "MIT" ]
null
null
null
#ifndef FALCON_MPL_PLACEHOLDERS_HPP #define FALCON_MPL_PLACEHOLDERS_HPP #include <falcon/mpl/arg.hpp> namespace falcon { namespace mpl { namespace placeholders { using _1 = arg<1>; using _2 = arg<2>; using _3 = arg<3>; using _4 = arg<4>; using _5 = arg<5>; using _6 = arg<6>; using _7 = arg<7>; using _8 = arg<8>; usi...
19.486957
35
0.629183
jonathanpoelen
4586a2f0f7b631495373c018c934fe3720aeba6d
2,998
cc
C++
sieve2015/src/presieved_primes.cc
mhdeleglise/Gh
21a0b9bd53ae9de17f8b99040cac95cd6e1897e4
[ "MIT" ]
null
null
null
sieve2015/src/presieved_primes.cc
mhdeleglise/Gh
21a0b9bd53ae9de17f8b99040cac95cd6e1897e4
[ "MIT" ]
null
null
null
sieve2015/src/presieved_primes.cc
mhdeleglise/Gh
21a0b9bd53ae9de17f8b99040cac95cd6e1897e4
[ "MIT" ]
null
null
null
#include<mylib.h> namespace presieved_primes{ long32 presieve_base; long32 number_of_presieve_primes; long32 sum_of_presieve_primes; long32 small_primes[5] = {2, 3, 5, 7, 11}; int primes_initialized = 0; long* Sp; void init_presieve(int nbps) { switch (nbps) { case 2: presieve_base = 6; ...
29.106796
110
0.616077
mhdeleglise
4586e007716ddb33e39503120febcfcd9f469dcd
2,706
cpp
C++
checks/rng.cpp
vster/OpenCL
fb29aead4e6345e23f3f7ba5fb038fa1fd217e10
[ "BSD-2-Clause" ]
46
2015-12-04T17:12:58.000Z
2022-03-11T04:30:49.000Z
checks/rng.cpp
vster/OpenCL
fb29aead4e6345e23f3f7ba5fb038fa1fd217e10
[ "BSD-2-Clause" ]
null
null
null
checks/rng.cpp
vster/OpenCL
fb29aead4e6345e23f3f7ba5fb038fa1fd217e10
[ "BSD-2-Clause" ]
23
2016-10-24T09:18:14.000Z
2022-02-25T02:11:35.000Z
/* This file is in the public domain */ #include <string> #include <opencl/filters.h> #include <opencl/square.h> #include <opencl/randpool.h> #include <opencl/x917.h> #if defined(OPENCL_EXT_ENTROPY_SRC_DEVRANDOM) #include <opencl/devrand.h> #endif #if defined(OPENCL_EXT_ENTROPY_SRC_PTHREAD) #include <opencl/pthr_e...
26.271845
77
0.636364
vster
4588b724efd0ce0f13cef267f2da3c49f709e55c
8,657
cpp
C++
intro/messageworld/messageworld.cpp
return/BeOSSampleCode
ca5a319fecf425a69e944f3c928a85011563a932
[ "BSD-3-Clause" ]
5
2018-09-09T21:01:57.000Z
2022-03-27T10:01:27.000Z
intro/messageworld/messageworld.cpp
return/BeOSSampleCode
ca5a319fecf425a69e944f3c928a85011563a932
[ "BSD-3-Clause" ]
null
null
null
intro/messageworld/messageworld.cpp
return/BeOSSampleCode
ca5a319fecf425a69e944f3c928a85011563a932
[ "BSD-3-Clause" ]
5
2018-04-03T01:45:23.000Z
2021-05-14T08:23:01.000Z
// // Menu World // // A sample program demonstrating the basics of using // the BMessage and BMessenger classes. // // Written by: Eric Shepherd // /* Copyright 1999, Be Incorporated. All Rights Reserved. This file may be used under the terms of the Be Sample Code License. */ #include <Application.h> #include <M...
21.696742
75
0.688922
return
458bf6d617a44dfd03bbc2a44d0c4749251feb4d
801
cpp
C++
DEngine/Physics/cdCollisionWorld.cpp
norrischiu/DEngine
acea553f110b8d10fc7386ff0941b84f6d7ebce7
[ "MIT", "Unlicense" ]
8
2016-05-23T03:08:08.000Z
2020-03-02T06:15:16.000Z
DEngine/Physics/cdCollisionWorld.cpp
norrischiu/DEngine
acea553f110b8d10fc7386ff0941b84f6d7ebce7
[ "MIT", "Unlicense" ]
8
2016-06-01T17:00:58.000Z
2021-07-21T13:53:41.000Z
DEngine/Physics/cdCollisionWorld.cpp
norrischiu/DEngine
acea553f110b8d10fc7386ff0941b84f6d7ebce7
[ "MIT", "Unlicense" ]
1
2017-09-25T03:39:34.000Z
2017-09-25T03:39:34.000Z
#include "cdCollisionWorld.h" /** void CollisionWorld::addObject(const CollidableObject & object) { m_pObjects.push_back(object); } void CollisionWorld::addCollide(const Collide & collide) { m_pCollide.push_back(collide); } void CollisionWorld::computeCollision() { bool value = false; Collide collide; for (int...
19.536585
95
0.68789
norrischiu
458c004d2710be6d40ca18beea5ef17f8842f0f1
8,708
cxx
C++
MITK/Plugins/uk.ac.ucl.cmic.igiultrasoundoverlayeditor/src/internal/niftkIGIUltrasoundOverlayEditorPreferencePage.cxx
NifTK/NifTK
2358b333c89ff1bba1c232eecbbcdc8003305dfe
[ "BSD-3-Clause" ]
13
2018-07-28T13:36:38.000Z
2021-11-01T19:17:39.000Z
MITK/Plugins/uk.ac.ucl.cmic.igiultrasoundoverlayeditor/src/internal/niftkIGIUltrasoundOverlayEditorPreferencePage.cxx
NifTK/NifTK
2358b333c89ff1bba1c232eecbbcdc8003305dfe
[ "BSD-3-Clause" ]
null
null
null
MITK/Plugins/uk.ac.ucl.cmic.igiultrasoundoverlayeditor/src/internal/niftkIGIUltrasoundOverlayEditorPreferencePage.cxx
NifTK/NifTK
2358b333c89ff1bba1c232eecbbcdc8003305dfe
[ "BSD-3-Clause" ]
10
2018-08-20T07:06:00.000Z
2021-07-07T07:55:27.000Z
/*============================================================================= NifTK: A software platform for medical image computing. Copyright (c) University College London (UCL). All rights reserved. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY o...
37.373391
156
0.706821
NifTK
4593f57d4d81656f516d9deaca99f02bef8d2f98
1,610
cpp
C++
codechef/aug17/6.cpp
AadityaJ/Spoj
61664c1925ef5bb072a3fe78fb3dac4fb68d77a1
[ "MIT" ]
null
null
null
codechef/aug17/6.cpp
AadityaJ/Spoj
61664c1925ef5bb072a3fe78fb3dac4fb68d77a1
[ "MIT" ]
null
null
null
codechef/aug17/6.cpp
AadityaJ/Spoj
61664c1925ef5bb072a3fe78fb3dac4fb68d77a1
[ "MIT" ]
null
null
null
#include <iostream> #include <string> #include <vector> #include <algorithm> using namespace std; void printArr(vector<string> &v){ for(int i=0;i<v.size();i++){ cout<<v[i]<<endl; } } long long int f(vector<string> &v,string str){ for(int i=0;i<str.length();i++){ bool is=0; char c=str...
22.676056
56
0.445342
AadityaJ
459410b8db4d34750797b8d22906e62fa7952018
72,861
cpp
C++
src/zgemmtune.cpp
codedivine/raijinclv2
e4c50b757e3fe6d1fa5d09c135f1156b31c08fab
[ "Apache-2.0" ]
null
null
null
src/zgemmtune.cpp
codedivine/raijinclv2
e4c50b757e3fe6d1fa5d09c135f1156b31c08fab
[ "Apache-2.0" ]
null
null
null
src/zgemmtune.cpp
codedivine/raijinclv2
e4c50b757e3fe6d1fa5d09c135f1156b31c08fab
[ "Apache-2.0" ]
null
null
null
/**Copyright 2012, Rahul Garg and McGill University Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law o...
44.319343
193
0.447427
codedivine
459c85c986e46de885a11a2a0a52ad2704918e44
1,840
cpp
C++
hyperplatform_log_parser/hyperplatform_log_parser.cpp
tandasat/hyperplatform_log_parser
7a7eba3c8c582fa43ba2a47372a363080796d2d4
[ "MIT" ]
17
2016-04-08T10:59:03.000Z
2021-12-11T07:09:31.000Z
hyperplatform_log_parser/hyperplatform_log_parser.cpp
c3358/hyperplatform_log_parser
7a7eba3c8c582fa43ba2a47372a363080796d2d4
[ "MIT" ]
null
null
null
hyperplatform_log_parser/hyperplatform_log_parser.cpp
c3358/hyperplatform_log_parser
7a7eba3c8c582fa43ba2a47372a363080796d2d4
[ "MIT" ]
11
2016-07-02T15:23:57.000Z
2021-01-08T19:27:36.000Z
// Copyright (c) 2015-2016, tandasat. All rights reserved. // Use of this source code is governed by a MIT-style license that can be // found in the LICENSE file. // // This module implements an entry point of the driver. // #include "stdafx.h" #include "log_parser.h" #include "utility.h" ///////////////////////////...
23.291139
80
0.448913
tandasat
459d3fd808aba1dfd91a27a8763c89bd4d83aae4
61
hpp
C++
addons/interrogation/functions/script_component.hpp
kellerkompanie/kellerkompanie-mods
f15704710f77ba6c018c486d95cac4f7749d33b8
[ "MIT" ]
6
2018-05-05T22:28:57.000Z
2019-07-06T08:46:51.000Z
addons/interrogation/functions/script_component.hpp
Schwaggot/kellerkompanie-mods
7a389e49e3675866dbde1b317a44892926976e9d
[ "MIT" ]
107
2018-04-11T19:42:27.000Z
2019-09-13T19:05:31.000Z
addons/interrogation/functions/script_component.hpp
kellerkompanie/kellerkompanie-mods
f15704710f77ba6c018c486d95cac4f7749d33b8
[ "MIT" ]
3
2018-10-03T11:54:46.000Z
2019-02-28T13:30:16.000Z
#include "\x\keko\addons\interrogation\script_component.hpp"
30.5
60
0.819672
kellerkompanie
45a0d5b4a59c688e301f8a5f78f412956f5d1494
1,603
cpp
C++
SystemResource/Source/Compression/ZLIB/ZLIBCompressionLevel.cpp
BitPaw/BitFireEngine
2c02a4eae19276bf60ac925e4393966cec605112
[ "MIT" ]
5
2021-10-19T18:30:43.000Z
2022-03-19T22:02:02.000Z
SystemResource/Source/Compression/ZLIB/ZLIBCompressionLevel.cpp
BitPaw/BitFireEngine
2c02a4eae19276bf60ac925e4393966cec605112
[ "MIT" ]
12
2022-03-09T13:40:21.000Z
2022-03-31T12:47:48.000Z
SystemResource/Source/Compression/ZLIB/ZLIBCompressionLevel.cpp
BitPaw/BitFireEngine
2c02a4eae19276bf60ac925e4393966cec605112
[ "MIT" ]
null
null
null
#include "ZLIBCompressionLevel.h" BF::ZLIBCompressionLevel BF::ConvertCompressionLevel(unsigned char compressionLevel) { switch (compressionLevel) { case 0u: return BF::ZLIBCompressionLevel::Fastest; case 1u: return BF::ZLIBCompressionLevel::Fast; case 2u: ...
23.925373
84
0.625702
BitPaw
45a55d2ac83ad14f7d75e5bef293e0e05bf1b121
19
cpp
C++
src/Type.cpp
phiwen96/ph_image
282bdd835d721a561c4f3afcbb76af5f9bda87ba
[ "Apache-2.0" ]
1
2021-09-05T08:38:39.000Z
2021-09-05T08:38:39.000Z
src/Type.cpp
phiwen96/ph_image
282bdd835d721a561c4f3afcbb76af5f9bda87ba
[ "Apache-2.0" ]
null
null
null
src/Type.cpp
phiwen96/ph_image
282bdd835d721a561c4f3afcbb76af5f9bda87ba
[ "Apache-2.0" ]
2
2021-12-04T14:39:52.000Z
2022-03-04T21:12:02.000Z
#include "Type.hpp"
19
19
0.736842
phiwen96
45b1eec24e6fbb6c79c985d3859420b22890719f
2,353
cpp
C++
Projects/Library/Source/Translator/Token.cpp
kalineh/KAI
43ab555bcbad1886715cd00b2cdac89e12d5cfe5
[ "MIT" ]
1
2018-06-16T17:53:43.000Z
2018-06-16T17:53:43.000Z
Projects/Library/Source/Translator/Token.cpp
kalineh/KAI
43ab555bcbad1886715cd00b2cdac89e12d5cfe5
[ "MIT" ]
null
null
null
Projects/Library/Source/Translator/Token.cpp
kalineh/KAI
43ab555bcbad1886715cd00b2cdac89e12d5cfe5
[ "MIT" ]
null
null
null
#include "KAI/KAI.h" #include "KAI/Translator/Token.h" #include "KAI/Translator/Lexer.h" KAI_BEGIN Token::Token(Type type, const Lexer &lexer, int ln, Slice slice) : type(type), lexer(&lexer), lineNumber(ln), slice(slice) { } char Token::operator[](int n) const { return lexer->input[slice.Start + n]; } std::stri...
23.29703
80
0.686783
kalineh
45b5656d99ec73a5687a9c57e0255033950efb59
863
hpp
C++
HexDumper.hpp
jancarlsson/snarkfront
7f90a4181721f758f114497382aa462185e71dae
[ "MIT" ]
60
2015-01-02T12:28:40.000Z
2021-04-13T01:40:07.000Z
HexDumper.hpp
artree222/snarkfront
7f90a4181721f758f114497382aa462185e71dae
[ "MIT" ]
8
2015-03-05T13:12:39.000Z
2018-07-03T07:17:45.000Z
HexDumper.hpp
artree222/snarkfront
7f90a4181721f758f114497382aa462185e71dae
[ "MIT" ]
17
2015-01-22T03:10:49.000Z
2020-12-27T12:22:17.000Z
#ifndef _SNARKFRONT_HEX_DUMPER_HPP_ #define _SNARKFRONT_HEX_DUMPER_HPP_ #include <cstdint> #include <istream> #include <ostream> #include <vector> #include <cryptl/ASCII_Hex.hpp> #include <cryptl/DataPusher.hpp> namespace snarkfront { //////////////////////////////////////////////////////////////////////////////// ...
19.177778
80
0.618772
jancarlsson
45b6bb571b5dcd870ad59efbb29989e5fc5dfa59
1,278
hpp
C++
Siv3D/include/Siv3D/Base64.hpp
Fuyutsubaki/OpenSiv3D
4370f6ebe28addd39bfdd75915c5a18e3e5e9273
[ "MIT" ]
1
2018-05-23T10:57:32.000Z
2018-05-23T10:57:32.000Z
Siv3D/include/Siv3D/Base64.hpp
Fuyutsubaki/OpenSiv3D
4370f6ebe28addd39bfdd75915c5a18e3e5e9273
[ "MIT" ]
null
null
null
Siv3D/include/Siv3D/Base64.hpp
Fuyutsubaki/OpenSiv3D
4370f6ebe28addd39bfdd75915c5a18e3e5e9273
[ "MIT" ]
1
2019-10-06T17:09:26.000Z
2019-10-06T17:09:26.000Z
//----------------------------------------------- // // This file is part of the Siv3D Engine. // // Copyright (c) 2008-2018 Ryo Suzuki // Copyright (c) 2016-2018 OpenSiv3D Project // // Licensed under the MIT License. // //----------------------------------------------- # pragma once # include "Fwd.hpp" namespace s...
20.612903
61
0.553991
Fuyutsubaki
45c1f7f43093cf219183eba6c6043dbd56ca7db3
1,532
cpp
C++
CWin/CWin/events/event_trigger_condition.cpp
benbraide/CWin
0441b48a71fef0dbddabf61033d7286669772c1e
[ "MIT" ]
null
null
null
CWin/CWin/events/event_trigger_condition.cpp
benbraide/CWin
0441b48a71fef0dbddabf61033d7286669772c1e
[ "MIT" ]
null
null
null
CWin/CWin/events/event_trigger_condition.cpp
benbraide/CWin
0441b48a71fef0dbddabf61033d7286669772c1e
[ "MIT" ]
null
null
null
#include "event_trigger_condition.h" cwin::events::trigger_condition::~trigger_condition() = default; cwin::events::trigger_condition::operator m_callback_type() const{ return get(); } cwin::events::trigger_condition::m_callback_type cwin::events::trigger_condition::get() const{ return nullptr; } cwin::events::ex...
31.916667
105
0.772846
benbraide
45c4ff283f1bd510f5089c454c2a348f353c0a08
3,347
cpp
C++
12_TIM1_PWM_input/main.cpp
AVilezhaninov/STM32F429VG
cb77fb53235ffd4cdf000749e4857108bc96c2cb
[ "MIT" ]
null
null
null
12_TIM1_PWM_input/main.cpp
AVilezhaninov/STM32F429VG
cb77fb53235ffd4cdf000749e4857108bc96c2cb
[ "MIT" ]
null
null
null
12_TIM1_PWM_input/main.cpp
AVilezhaninov/STM32F429VG
cb77fb53235ffd4cdf000749e4857108bc96c2cb
[ "MIT" ]
null
null
null
/* CMSIS */ #include "CMSIS\Device\stm32f4xx.h" /* User */ #include "user\RCC.h" /******************************************************************************/ /* Private definitions ********************************************************/ /**************************************************************************...
42.367089
80
0.380042
AVilezhaninov
45c88d8e96e32d7e9ca06903b231e840b90406f2
836
cxx
C++
src/engine/ivp/ivp_collision/ivp_clustering_lrange_hash.cxx
cstom4994/SourceEngineRebuild
edfd7f8ce8af13e9d23586318350319a2e193c08
[ "MIT" ]
6
2022-01-23T09:40:33.000Z
2022-03-20T20:53:25.000Z
src/engine/ivp/ivp_collision/ivp_clustering_lrange_hash.cxx
cstom4994/SourceEngineRebuild
edfd7f8ce8af13e9d23586318350319a2e193c08
[ "MIT" ]
null
null
null
src/engine/ivp/ivp_collision/ivp_clustering_lrange_hash.cxx
cstom4994/SourceEngineRebuild
edfd7f8ce8af13e9d23586318350319a2e193c08
[ "MIT" ]
1
2022-02-06T21:05:23.000Z
2022-02-06T21:05:23.000Z
// Copyright (C) Ipion Software GmbH 1999-2000. All rights reserved. #include <ivp_physics.hxx> #include <ivu_vhash.hxx> #include <ivp_clustering_longrange.hxx> #include <ivp_clustering_lrange_hash.hxx> IVP_ov_tree_hash::~IVP_ov_tree_hash() { ; } int IVP_ov_tree_hash::node_to_index(IVP_OV_Node *node) { return ...
24.588235
79
0.697368
cstom4994
68f869732418d1de819ccec3d477502ec2a8e751
2,715
cpp
C++
vkconfig/widget_preset.cpp
johnzupin/VulkanTools
4a4d824b43984d29902f7c8246aab99f0909151d
[ "Apache-2.0" ]
null
null
null
vkconfig/widget_preset.cpp
johnzupin/VulkanTools
4a4d824b43984d29902f7c8246aab99f0909151d
[ "Apache-2.0" ]
null
null
null
vkconfig/widget_preset.cpp
johnzupin/VulkanTools
4a4d824b43984d29902f7c8246aab99f0909151d
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2020 Valve Corporation * Copyright (c) 2020 LunarG, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unl...
31.569767
130
0.698343
johnzupin
68ff22d8df3673d6303576f88fc3fa40888fd4de
1,947
cpp
C++
network/src/network/loopPrivate.cpp
yandaomin/network
fd88844116d77639c7a76ec61fb352f2710f47a8
[ "Apache-2.0" ]
null
null
null
network/src/network/loopPrivate.cpp
yandaomin/network
fd88844116d77639c7a76ec61fb352f2710f47a8
[ "Apache-2.0" ]
null
null
null
network/src/network/loopPrivate.cpp
yandaomin/network
fd88844116d77639c7a76ec61fb352f2710f47a8
[ "Apache-2.0" ]
null
null
null
#include "loopPrivate.h" #include "async.h" #include "loop.h" // LoopPrivate::LoopPrivate() // : LoopPrivate(false) // { // isRunning_ = false; // } LoopPrivate::LoopPrivate(bool isDefault) { isRunning_ = false; if (isDefault) { loop_ = uv_default_loop(); } else { loop_ = new uv_loop_t(); ::uv_loop_init(l...
17.7
56
0.662044
yandaomin
ec087b40fc0aeb9bb7862421ed3d0a0427b72406
170
hpp
C++
dfg/dataAnalysisAll.hpp
tc3t/dfglib
7157973e952234a010da8e9fbd551a912c146368
[ "MIT", "BSL-1.0", "BSD-3-Clause" ]
1
2017-08-01T04:42:29.000Z
2017-08-01T04:42:29.000Z
dfg/dataAnalysisAll.hpp
tc3t/dfglib
7157973e952234a010da8e9fbd551a912c146368
[ "MIT", "BSL-1.0", "BSD-3-Clause" ]
128
2018-04-06T23:01:51.000Z
2022-03-31T20:19:38.000Z
dfg/dataAnalysisAll.hpp
tc3t/dfglib
7157973e952234a010da8e9fbd551a912c146368
[ "MIT", "BSL-1.0", "BSD-3-Clause" ]
3
2018-03-21T01:11:05.000Z
2021-04-05T19:20:31.000Z
#pragma once #include "dataAnalysis/correlation.hpp" #include "dataAnalysis/smoothWithNeighbourAverages.hpp" #include "dataAnalysis/smoothWithNeighbourMedians.hpp"
28.333333
56
0.823529
tc3t
ec0eef56d74c1c6cc4dae12c44f81b1e0cf72c91
689
cpp
C++
benchmarks/clean_shared_memory.cpp
MaximilienNaveau/shared_memory
1440454759cdd19e0d898753d86b8714c1aefa84
[ "BSD-3-Clause" ]
2
2020-09-08T04:01:02.000Z
2021-01-28T15:02:11.000Z
benchmarks/clean_shared_memory.cpp
MaximilienNaveau/shared_memory
1440454759cdd19e0d898753d86b8714c1aefa84
[ "BSD-3-Clause" ]
13
2019-09-24T17:21:49.000Z
2021-03-02T10:09:03.000Z
benchmarks/clean_shared_memory.cpp
MaximilienNaveau/shared_memory
1440454759cdd19e0d898753d86b8714c1aefa84
[ "BSD-3-Clause" ]
2
2019-05-06T08:25:35.000Z
2020-04-14T11:49:02.000Z
/** * @file clean_shared_memory.cpp * @author Vincent Berenz * @license License BSD-3-Clause * @copyright Copyright (c) 2019, New York University and Max Planck * Gesellschaft. * @date 2019-05-22 * * @brief Clean the shared memory of the benchmark, the unnittests, ... */ #include <boost/interprocess/managed_s...
29.956522
79
0.744557
MaximilienNaveau
ec1f214e9a1c35cd7ee04a0109985f1a428a2937
2,473
hpp
C++
third-party/Empirical/include/emp/io/ascii_utils.hpp
koellingh/empirical-p53-simulator
aa6232f661e8fc65852ab6d3e809339557af521b
[ "MIT" ]
null
null
null
third-party/Empirical/include/emp/io/ascii_utils.hpp
koellingh/empirical-p53-simulator
aa6232f661e8fc65852ab6d3e809339557af521b
[ "MIT" ]
null
null
null
third-party/Empirical/include/emp/io/ascii_utils.hpp
koellingh/empirical-p53-simulator
aa6232f661e8fc65852ab6d3e809339557af521b
[ "MIT" ]
null
null
null
/** * @note This file is part of Empirical, https://github.com/devosoft/Empirical * @copyright Copyright (C) Michigan State University, MIT Software license; see doc/LICENSE.md * @date 2020 * * @file ascii_utils.hpp * @brief Tools for working with ascii output. * @note Status: ALPHA * */ #ifndef EMP_A...
33.418919
96
0.57501
koellingh
ec29a544d9100b3387e11d9bc03102fb43674314
329
hh
C++
src/UsageEnvironment/include/UsageEnvironment_version.hh
RayanWang/Live555
3a8b2998e5872326e4edb96e6e7dc46dc1d16af4
[ "MIT" ]
5
2018-04-09T02:03:33.000Z
2022-03-26T16:17:52.000Z
src/UsageEnvironment/include/UsageEnvironment_version.hh
RayanWang/Live555
3a8b2998e5872326e4edb96e6e7dc46dc1d16af4
[ "MIT" ]
null
null
null
src/UsageEnvironment/include/UsageEnvironment_version.hh
RayanWang/Live555
3a8b2998e5872326e4edb96e6e7dc46dc1d16af4
[ "MIT" ]
null
null
null
// Version information for the "UsageEnvironment" library // Copyright (c) 1996-2014 Live Networks, Inc. All rights reserved. #ifndef _USAGEENVIRONMENT_VERSION_HH #define _USAGEENVIRONMENT_VERSION_HH #define USAGEENVIRONMENT_LIBRARY_VERSION_STRING "2014.12.17" #define USAGEENVIRONMENT_LIBRARY_VERSION_INT 1418774400...
29.909091
68
0.835866
RayanWang
ec2bc096ac8d02bf32f1e3d46ed2a7005d6d0383
3,663
cpp
C++
Builds/vs2013/Task2/unittest1.cpp
AJ-Moore/AIStates
b2bc31d7d3cbec25b4efacbe9ae6c9940e8e68e4
[ "MIT" ]
null
null
null
Builds/vs2013/Task2/unittest1.cpp
AJ-Moore/AIStates
b2bc31d7d3cbec25b4efacbe9ae6c9940e8e68e4
[ "MIT" ]
null
null
null
Builds/vs2013/Task2/unittest1.cpp
AJ-Moore/AIStates
b2bc31d7d3cbec25b4efacbe9ae6c9940e8e68e4
[ "MIT" ]
null
null
null
#include "stdafx.h" #include "CppUnitTest.h" #include <AI.h> #include <FSM.h> using namespace Microsoft::VisualStudio::CppUnitTestFramework; namespace Task2 { TEST_CLASS(UnitTest1) { public: //Test that the AI Starting State is Idle TEST_METHOD(StartState) { AI ai(false, 0, 0); Assert::AreEqual...
31.577586
83
0.670762
AJ-Moore
ec2c9e529ef42d3a903fcae5273beb2dec55545d
276
cpp
C++
Char.cpp
RafelNunes/ifsc-programacao
40622fb1a5496e09f4800220e293385468fef323
[ "MIT" ]
null
null
null
Char.cpp
RafelNunes/ifsc-programacao
40622fb1a5496e09f4800220e293385468fef323
[ "MIT" ]
null
null
null
Char.cpp
RafelNunes/ifsc-programacao
40622fb1a5496e09f4800220e293385468fef323
[ "MIT" ]
null
null
null
#include<stdio.h> #include<stdlib.h> int main(void){ char letra1, letra2; printf("Digite um caracter: "); scanf("%c", &letra1); while(letra1 != 'X') {printf("Digite um caracter: "); scanf(" %c", &letra1); } printf("Letra1: %c Letra2: %c\n", letra1, letra2); }
16.235294
51
0.605072
RafelNunes
ec2ec73f474fa18945883ea8e2f68b90c16505c2
1,645
hpp
C++
libcaf_net/caf/net/http/v1.hpp
seewpx/actor-framework
65ecf35317b81d7a211848d59e734f43483fe410
[ "BSD-3-Clause" ]
null
null
null
libcaf_net/caf/net/http/v1.hpp
seewpx/actor-framework
65ecf35317b81d7a211848d59e734f43483fe410
[ "BSD-3-Clause" ]
null
null
null
libcaf_net/caf/net/http/v1.hpp
seewpx/actor-framework
65ecf35317b81d7a211848d59e734f43483fe410
[ "BSD-3-Clause" ]
null
null
null
// This file is part of CAF, the C++ Actor Framework. See the file LICENSE in // the main distribution directory for license terms and copyright or visit // https://github.com/actor-framework/actor-framework/blob/master/LICENSE. #pragma once #include "caf/byte_span.hpp" #include "caf/detail/net_export.hpp" #include "...
40.121951
79
0.68997
seewpx
ec349105626f6ef1b4acc73abbf21be54516c61e
4,545
cpp
C++
LaalMathEngine/src/Shape/SvgShape.cpp
vijayshankarkumar/LME
6483d893a8902cec4959936220656fcab2b72d4f
[ "MIT" ]
1
2022-02-18T10:38:42.000Z
2022-02-18T10:38:42.000Z
LaalMathEngine/src/Shape/SvgShape.cpp
vijayshankarkumar/LME
6483d893a8902cec4959936220656fcab2b72d4f
[ "MIT" ]
1
2021-09-03T21:20:38.000Z
2021-09-03T21:20:38.000Z
LaalMathEngine/src/Shape/SvgShape.cpp
vijayshankarkumar/LME
6483d893a8902cec4959936220656fcab2b72d4f
[ "MIT" ]
null
null
null
#include "Shape/SvgShape.h" namespace laal { SvgShape::SvgShape() { } SvgShape::SvgShape(const std::string& fileName) { InitChildShapes(fileName); } SvgShape::~SvgShape() { for (Shape* shape : m_ChildShapes) { delete shape; } } void SvgShape::InitChildShapes(const std::string& fileName) { N...
22.5
91
0.626843
vijayshankarkumar
ec3f65192e715686735d0cc87c5ef7837a149342
6,837
cpp
C++
SimSpark/rcssserver3d/plugin/soccer/gamestateaspect/gamestateitem.cpp
IllyasvielEin/Robocup3dInstaller
12e91d9372dd08a92feebf98e916c98bc2242ff4
[ "MIT" ]
null
null
null
SimSpark/rcssserver3d/plugin/soccer/gamestateaspect/gamestateitem.cpp
IllyasvielEin/Robocup3dInstaller
12e91d9372dd08a92feebf98e916c98bc2242ff4
[ "MIT" ]
null
null
null
SimSpark/rcssserver3d/plugin/soccer/gamestateaspect/gamestateitem.cpp
IllyasvielEin/Robocup3dInstaller
12e91d9372dd08a92feebf98e916c98bc2242ff4
[ "MIT" ]
null
null
null
/* -*- mode: c++; c-basic-offset: 4; indent-tabs-mode: nil -*- this file is part of rcssserver3D Fri May 9 2003 Copyright (C) 2002,2003 Koblenz University Copyright (C) 2003 RoboCup Soccer Server 3D Maintenance Group $Id$ This program is free software; you can redistribute it and/or modify it und...
31.506912
124
0.64853
IllyasvielEin
ec411e41e5e7f00fd5988a99752d7abb2b69a426
4,490
cpp
C++
3DShootingGame/Framework/Physics/Rigidbody.cpp
ydeagames/3DShootingGame
f93e15179452810bd55fbfcedb6c162698296ec4
[ "MIT" ]
2
2020-03-30T05:11:51.000Z
2022-01-30T09:04:40.000Z
3DShootingGame/Framework/Physics/Rigidbody.cpp
ydeagames/3DShootingGame
f93e15179452810bd55fbfcedb6c162698296ec4
[ "MIT" ]
null
null
null
3DShootingGame/Framework/Physics/Rigidbody.cpp
ydeagames/3DShootingGame
f93e15179452810bd55fbfcedb6c162698296ec4
[ "MIT" ]
2
2020-03-30T05:11:52.000Z
2020-10-28T02:06:35.000Z
// Copyright (c) 2019-2020 ydeagames // Released under the MIT license // https://github.com/ydeagames/3DShootingGame/blob/master/LICENSE // // Author: ${ydeagames} // Created: 2019-07-22 06:12:28 +0900 // Modified: 2020-01-17 11:44:41 +0900 #include "pch.h" #include "Rigidbody.h" #include "Collidable.h" #include <Fra...
30.753425
162
0.710022
ydeagames
ec41db944c5ccf4371e9f02f77f4024f1882087c
754
cpp
C++
source/native-backend/parsing/TextProcessor.cpp
batburger/Native-Backend
aaed26851e09f9e110061025fb2140aed1b4f9b5
[ "Apache-2.0" ]
null
null
null
source/native-backend/parsing/TextProcessor.cpp
batburger/Native-Backend
aaed26851e09f9e110061025fb2140aed1b4f9b5
[ "Apache-2.0" ]
null
null
null
source/native-backend/parsing/TextProcessor.cpp
batburger/Native-Backend
aaed26851e09f9e110061025fb2140aed1b4f9b5
[ "Apache-2.0" ]
null
null
null
// // Created by albert on 3/17/18. // #include "native-backend/parsing/TextProcessor.h" /*!\brief Finds the value specified as key in \c replacement_map in the \c input_string and replaces it with the value for the key.*/ void nvb::TextProcessor::process(std::string *input_string, std::unordered_map<std::string, std...
41.888889
133
0.706897
batburger
ec452340961e1d815ad437430988dbeaa16cbb3d
1,234
cpp
C++
daolib/CommonQueries.cpp
mfranceschi/SQLiteDao
447da25d15f6332e454f151fb71aa232665d8506
[ "MIT" ]
null
null
null
daolib/CommonQueries.cpp
mfranceschi/SQLiteDao
447da25d15f6332e454f151fb71aa232665d8506
[ "MIT" ]
null
null
null
daolib/CommonQueries.cpp
mfranceschi/SQLiteDao
447da25d15f6332e454f151fb71aa232665d8506
[ "MIT" ]
null
null
null
#include "CommonQueries.hpp" #include <algorithm> #include "magic_enum.hpp" #include <fmt/core.h> #include <fmt/format.h> std::string enquote(const std::string &text) { return fmt::format("`{}`", text); }; namespace CommonQueries { std::string dropTableIfExists(const std::string &tableName) { return fmt::forma...
30.85
79
0.628849
mfranceschi
ec4c7360f6ec7ae840e22bc6ba95fe901cc59e4a
186
cpp
C++
test/test-bits.cpp
mbeutel/slowmath
d09967d168433814896e83af2fbc92bc36e6c4fb
[ "BSL-1.0" ]
1
2021-09-02T07:03:53.000Z
2021-09-02T07:03:53.000Z
test/test-bits.cpp
mbeutel/slowmath
d09967d168433814896e83af2fbc92bc36e6c4fb
[ "BSL-1.0" ]
8
2019-12-03T21:11:07.000Z
2020-02-05T18:44:31.000Z
test/test-bits.cpp
mbeutel/slowmath
d09967d168433814896e83af2fbc92bc36e6c4fb
[ "BSL-1.0" ]
null
null
null
#include <tuple> #include <catch2/catch.hpp> #include <slowmath/arithmetic.hpp> // TODO: add comprehensive tests for shift_left() // TODO: add comprehensive tests for shift_right()
16.909091
50
0.741935
mbeutel
ec4de22693fbd85ce1682b86960c25b1d8fde467
1,614
cpp
C++
HW06/src/utils.cpp
petegerhat/cuda
671c244276828baeeb66e2c4e0e2f9881b666716
[ "Apache-2.0" ]
null
null
null
HW06/src/utils.cpp
petegerhat/cuda
671c244276828baeeb66e2c4e0e2f9881b666716
[ "Apache-2.0" ]
null
null
null
HW06/src/utils.cpp
petegerhat/cuda
671c244276828baeeb66e2c4e0e2f9881b666716
[ "Apache-2.0" ]
null
null
null
/* * File: main.cpp * Author: peter * * Created on March 25, 2012, 1:36 AM */ #ifndef UTILS_H #define UTILS_H #include <cstdlib> #include <iostream> #include <iomanip> #include <math.h> using namespace std; DT& getDistance(DT* distances, int n, int i, int j) { #ifdef DIS1 return distances[i * n + j]; #e...
17.543478
53
0.545229
petegerhat
ec62ea93f7707080935e94c530290dd834411df5
23,401
cxx
C++
SimModel_Python_API/simmodel_swig/SimModel_Dll_lib/framework/SimFlowEnergyTransfer_HeatExEarthToWater_Surface.cxx
EnEff-BIM/EnEffBIM-Framework
6328d39b498dc4065a60b5cc9370b8c2a9a1cddf
[ "MIT" ]
3
2016-05-30T15:12:16.000Z
2022-03-22T08:11:13.000Z
SimModel_Python_API/simmodel_swig/SimModel_Dll_lib/framework/SimFlowEnergyTransfer_HeatExEarthToWater_Surface.cxx
EnEff-BIM/EnEffBIM-Framework
6328d39b498dc4065a60b5cc9370b8c2a9a1cddf
[ "MIT" ]
21
2016-06-13T11:33:45.000Z
2017-05-23T09:46:52.000Z
SimModel_Python_API/simmodel_swig/SimModel_Dll_lib/framework/SimFlowEnergyTransfer_HeatExEarthToWater_Surface.cxx
EnEff-BIM/EnEffBIM-Framework
6328d39b498dc4065a60b5cc9370b8c2a9a1cddf
[ "MIT" ]
null
null
null
// Copyright (c) 2005-2014 Code Synthesis Tools CC // // This program was generated by CodeSynthesis XSD, an XML Schema to // C++ data binding compiler. // // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License version 2 as // published by the Fre...
41.271605
164
0.718345
EnEff-BIM
ec6550f7f9b7351b4b82ef1fc9ffef8244d19ad7
5,809
hpp
C++
my_vulkan/command_buffer.hpp
pixelwise/my_vulkan
f1c139ed8f95380186905d77cb8e81008f48bc95
[ "CC0-1.0" ]
null
null
null
my_vulkan/command_buffer.hpp
pixelwise/my_vulkan
f1c139ed8f95380186905d77cb8e81008f48bc95
[ "CC0-1.0" ]
3
2019-02-25T10:13:57.000Z
2020-11-11T14:46:14.000Z
my_vulkan/command_buffer.hpp
pixelwise/my_vulkan
f1c139ed8f95380186905d77cb8e81008f48bc95
[ "CC0-1.0" ]
null
null
null
#pragma once #include <vulkan/vulkan.h> #include <vector> #include "utils.hpp" namespace my_vulkan { struct command_buffer_t { struct scope_t { scope_t( VkCommandBuffer command_buffer, VkCommandBufferUsageFlags flags ); scope_...
33.773256
72
0.531589
pixelwise
ec669e2811f8c3832ac24e4ccb6ea55c1716d7e3
2,325
cpp
C++
leetcode/stack and queue/Implement Stack using Queues225/Implement Stack using Queues/Implement Stack using Queues/main.cpp
mingyuefly/leetcode
b1af0b715ac6ef15a1321057bbd9e6f8bddbbcf8
[ "MIT" ]
null
null
null
leetcode/stack and queue/Implement Stack using Queues225/Implement Stack using Queues/Implement Stack using Queues/main.cpp
mingyuefly/leetcode
b1af0b715ac6ef15a1321057bbd9e6f8bddbbcf8
[ "MIT" ]
null
null
null
leetcode/stack and queue/Implement Stack using Queues225/Implement Stack using Queues/Implement Stack using Queues/main.cpp
mingyuefly/leetcode
b1af0b715ac6ef15a1321057bbd9e6f8bddbbcf8
[ "MIT" ]
null
null
null
// // main.cpp // Implement Stack using Queues // /** Implement the following operations of a stack using queues. push(x) -- Push element x onto stack. pop() -- Removes the element on top of the stack. top() -- Get the top element. empty() -- Return whether the stack is empty. Example: MyStack stack = new My...
25.833333
193
0.603011
mingyuefly
ec69358fa56dcbd1b4a63769bb58639a33809df3
762
hpp
C++
matlab/src/bits/nnsimpooling.hpp
taigw/matconvnet-dermoscopy
14429a9f66a116cabafaae252f23bd88f0b910a5
[ "BSD-2-Clause" ]
39
2017-06-15T19:34:26.000Z
2021-12-10T23:25:13.000Z
matlab/src/bits/nnsimpooling.hpp
taigw/matconvnet-dermoscopy
14429a9f66a116cabafaae252f23bd88f0b910a5
[ "BSD-2-Clause" ]
2
2018-06-05T20:34:50.000Z
2019-02-10T19:35:21.000Z
matlab/src/bits/nnsimpooling.hpp
igondia/matconvnet-dermoscopy
038cc2f023d464520517ca6a5fedf95bc09a9edc
[ "BSD-2-Clause" ]
21
2017-06-02T13:00:12.000Z
2021-01-02T11:14:42.000Z
// @file nnpooling.hpp // @brief Pooling block // @author Andrea Vedaldi /* Copyright (C) 2014-16 Andrea Vedaldi and Karel Lenc. All rights reserved. This file is part of the VLFeat library and is made available under the terms of the BSD license (see the COPYING file). */ #ifndef __vl__nnsimpooling__ #define __vl__...
21.771429
67
0.641732
taigw
ec6dac3adc0af9a1ab1733e9ef7655065611ac44
6,494
cpp
C++
utils/TauReflectionGenerator/src/reflection/attribs/GetAttribute.cpp
hyfloac/TauEngine
1559b2a6e6d1887b8ee02932fe0aa6e5b9d5652c
[ "MIT" ]
1
2020-04-22T04:07:01.000Z
2020-04-22T04:07:01.000Z
utils/TauReflectionGenerator/src/reflection/attribs/GetAttribute.cpp
hyfloac/TauEngine
1559b2a6e6d1887b8ee02932fe0aa6e5b9d5652c
[ "MIT" ]
null
null
null
utils/TauReflectionGenerator/src/reflection/attribs/GetAttribute.cpp
hyfloac/TauEngine
1559b2a6e6d1887b8ee02932fe0aa6e5b9d5652c
[ "MIT" ]
null
null
null
#include <llvm/Support/raw_ostream.h> #include "reflection/attribs/GetAttribute.hpp" #include "reflection/Class.hpp" namespace tau { namespace reflection { namespace attribs { AttributeData GetPropertyAttribute::parseAttribute(const DynString& attribName, const ::clang::MacroArgs*, const ::clang::Token*& currentToken...
74.643678
158
0.345088
hyfloac