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
5152998fe3f3d33ea0ee64e565aee5589c49d8b0
724
cpp
C++
C++/School/7.1 swap.cpp
gchinmayvarma/C-Python-Batch-OldProjects
3b0fda35789f67a919752bf83928ae18e559fb8f
[ "MIT" ]
null
null
null
C++/School/7.1 swap.cpp
gchinmayvarma/C-Python-Batch-OldProjects
3b0fda35789f67a919752bf83928ae18e559fb8f
[ "MIT" ]
null
null
null
C++/School/7.1 swap.cpp
gchinmayvarma/C-Python-Batch-OldProjects
3b0fda35789f67a919752bf83928ae18e559fb8f
[ "MIT" ]
1
2021-11-17T09:21:38.000Z
2021-11-17T09:21:38.000Z
#include <iostream> using namespace std ; #define Variable_Name( Variable ) # Variable void Value_in(int &x , char* y) { cout << "Enter Value of " << y << "\n>" ; cin >> x ; } void Value_of(int x , char* y) { cout << y << " = " << x << endl ; } int main() { int A , B ; Value_in(A ...
23.354839
72
0.494475
gchinmayvarma
51574d37d137968e37b0aef490387a41ac750202
1,477
cc
C++
MSVC/memmem.cc
KraemerDEM/fleece
41e8d9e576f59f1373866ff3db1f319ecb10ad69
[ "Apache-2.0" ]
null
null
null
MSVC/memmem.cc
KraemerDEM/fleece
41e8d9e576f59f1373866ff3db1f319ecb10ad69
[ "Apache-2.0" ]
null
null
null
MSVC/memmem.cc
KraemerDEM/fleece
41e8d9e576f59f1373866ff3db1f319ecb10ad69
[ "Apache-2.0" ]
null
null
null
// // Copyright (c) 2017 Couchbase, Inc All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by appl...
28.960784
76
0.668923
KraemerDEM
515c0e2619c412833990b2435ad9ea766a57650e
494
cpp
C++
code/src/main.cpp
LinDevHard/basic_sdl
c8f30d70e5e81b7ac7aadda5587999ef49f7de90
[ "MIT" ]
null
null
null
code/src/main.cpp
LinDevHard/basic_sdl
c8f30d70e5e81b7ac7aadda5587999ef49f7de90
[ "MIT" ]
2
2018-11-10T13:14:50.000Z
2018-11-10T13:18:02.000Z
code/src/main.cpp
LinDevHard/basic_sdl
c8f30d70e5e81b7ac7aadda5587999ef49f7de90
[ "MIT" ]
1
2018-11-10T10:03:16.000Z
2018-11-10T10:03:16.000Z
#include "Window.hpp" #include <SDL.h> namespace { const glm::ivec2 WINDOW_SIZE {800, 600}; const char WINDOW_TITLE[] = "TestApp"; const char WINDOW_FAIL_TITLE[] = "Error Message"; } int main() { try { CWindow window; window.Show(WINDOW_SIZE, WINDOW_TITLE); window.DoGameLoop(); } catch (co...
18.296296
88
0.672065
LinDevHard
5163d69602e47d739459c134d33f7751f52777c0
380
hpp
C++
include/cbr_math/interp.hpp
yamaha-bps/cbr_math
cf1ad7d4661f4b0063d07e00a4e0052454518931
[ "MIT" ]
1
2021-06-24T17:41:16.000Z
2021-06-24T17:41:16.000Z
include/cbr_math/interp.hpp
yamaha-bps/cbr_math
cf1ad7d4661f4b0063d07e00a4e0052454518931
[ "MIT" ]
null
null
null
include/cbr_math/interp.hpp
yamaha-bps/cbr_math
cf1ad7d4661f4b0063d07e00a4e0052454518931
[ "MIT" ]
null
null
null
// Copyright Yamaha 2021 // MIT License // https://github.com/yamaha-bps/cbr_math/blob/master/LICENSE #ifndef CBR_MATH__INTERP_HPP_ #define CBR_MATH__INTERP_HPP_ #include "cbr_math/interp/piecewise_poly.hpp" #include "cbr_math/interp/spline.hpp" #include "cbr_math/interp/piecewise_linear.hpp" #include "cbr_math/inter...
27.142857
61
0.807895
yamaha-bps
5169613577603d7bb1b896a99605b3e45d339254
2,260
cpp
C++
aladdin/extra/RectRenderer.cpp
Khuongnb1997/game-aladdin
74b13ffcd623de0d6f799b0669c7e8917eef3b14
[ "MIT" ]
2
2017-11-08T16:27:25.000Z
2018-08-10T09:08:35.000Z
aladdin/extra/RectRenderer.cpp
Khuongnb1997/game-aladdin
74b13ffcd623de0d6f799b0669c7e8917eef3b14
[ "MIT" ]
null
null
null
aladdin/extra/RectRenderer.cpp
Khuongnb1997/game-aladdin
74b13ffcd623de0d6f799b0669c7e8917eef3b14
[ "MIT" ]
4
2017-11-08T16:25:30.000Z
2021-05-23T06:14:59.000Z
#include "RectRenderer.h" NAMESPACE_ALA { ALA_CLASS_SOURCE_1(ala::RectRenderer, ala::GameObjectComponent) RectRenderer::RectRenderer( ala::GameObject* gameObject, const ala::Vec2& offset, const ala::Size& size, const Color& color, const std::string& name ) : G...
38.305085
118
0.665929
Khuongnb1997
516a1e036fc2fc336064b75f6162c3bd011b969b
3,020
hpp
C++
test/test_vector/abstracts_functional_test_static/vector_static_test_tpl___derefer.incl.hpp
skrzj-dev/libxccc
621ce71dcc0ad8fb7a13460aeb3dc250188fb5d2
[ "MIT" ]
null
null
null
test/test_vector/abstracts_functional_test_static/vector_static_test_tpl___derefer.incl.hpp
skrzj-dev/libxccc
621ce71dcc0ad8fb7a13460aeb3dc250188fb5d2
[ "MIT" ]
10
2020-02-19T19:41:48.000Z
2020-03-08T22:08:35.000Z
test/test_vector/abstracts_functional_test_static/vector_static_test_tpl___derefer.incl.hpp
skrzj-dev/libxccc
621ce71dcc0ad8fb7a13460aeb3dc250188fb5d2
[ "MIT" ]
null
null
null
/* * Copyright block: * * Source file of libxccc project * * Copyright (c) 2019 Jakub Skrzyniarz, skrzj-dev@protonmail.com * * Licensed under: MIT license; See the file "LICENSE" of libxccc project for more information. * * Copyright block: end */ xcc_tplTestVector_static_hdr() xcc_tplTestVector_static_metho...
22.043796
95
0.692384
skrzj-dev
517a3044bf035dadc4e51a478cfbbe4dc5ef7edb
785
cpp
C++
Common/ac/common.cpp
jonreyno/AGS
6922847542401f451a26c6cc31b9d51b5889a008
[ "Artistic-2.0" ]
21
2019-05-08T23:50:29.000Z
2021-04-28T07:59:17.000Z
Common/ac/common.cpp
jonreyno/AGS
6922847542401f451a26c6cc31b9d51b5889a008
[ "Artistic-2.0" ]
null
null
null
Common/ac/common.cpp
jonreyno/AGS
6922847542401f451a26c6cc31b9d51b5889a008
[ "Artistic-2.0" ]
6
2019-05-19T04:30:15.000Z
2022-01-29T05:26:46.000Z
//============================================================================= // // Adventure Game Studio (AGS) // // Copyright (C) 1999-2011 Chris Jones and 2011-20xx others // The full list of copyright holders can be found in the Copyright.txt // file, which is part of this source code distribution. // // The AGS ...
41.315789
111
0.584713
jonreyno
517cd104d974f335db8887cfdaa98da766c802fe
777
cpp
C++
project2D/CheckpointTile.cpp
wernut/ZombieSurvival
a7ad6b36768edce415422ed0d33b2bee0ecdae8e
[ "MIT" ]
1
2022-02-16T20:45:04.000Z
2022-02-16T20:45:04.000Z
project2D/CheckpointTile.cpp
wernut/ZombieSurvival
a7ad6b36768edce415422ed0d33b2bee0ecdae8e
[ "MIT" ]
null
null
null
project2D/CheckpointTile.cpp
wernut/ZombieSurvival
a7ad6b36768edce415422ed0d33b2bee0ecdae8e
[ "MIT" ]
null
null
null
#include "CheckpointTile.h" /* Description: A tile that will be used to create a location where the player will spawn. This will be an overlay tile with no collision and not visible during the game play. */ CheckpointTile::CheckpointTile() : Tile(m_pTextureManager->TILE_CHECKPOINT) { this->m_bIsTranspare...
27.75
94
0.75547
wernut
51800ac6a6941e6dc72b5289078c493dff15f34d
6,892
cpp
C++
AmpDX12Interop/Content/Amp12.cpp
StarsX/Amp12Interop
f3d017d5092b592b66de13bd4074db5836438425
[ "MIT" ]
1
2021-09-07T06:50:32.000Z
2021-09-07T06:50:32.000Z
AmpDX12Interop/Content/Amp12.cpp
StarsX/Amp12Interop
f3d017d5092b592b66de13bd4074db5836438425
[ "MIT" ]
null
null
null
AmpDX12Interop/Content/Amp12.cpp
StarsX/Amp12Interop
f3d017d5092b592b66de13bd4074db5836438425
[ "MIT" ]
null
null
null
//-------------------------------------------------------------------------------------- // Copyright (c) XU, Tianchen. All rights reserved. //-------------------------------------------------------------------------------------- #include "Amp12.h" #include "AmpVecMath.h" #define _INDEPENDENT_DDS_LOADER_ #include "Adv...
37.456522
109
0.741004
StarsX
5183da4ddf493356f7795d62197a7fba19e2d159
1,463
cc
C++
CodeChef/LONG/JUNE15/CHPLGNS/a.cc
VastoLorde95/Competitive-Programming
6c990656178fb0cd33354cbe5508164207012f24
[ "MIT" ]
170
2017-07-25T14:47:29.000Z
2022-01-26T19:16:31.000Z
CodeChef/LONG/JUNE15/CHPLGNS/a.cc
navodit15/Competitive-Programming
6c990656178fb0cd33354cbe5508164207012f24
[ "MIT" ]
null
null
null
CodeChef/LONG/JUNE15/CHPLGNS/a.cc
navodit15/Competitive-Programming
6c990656178fb0cd33354cbe5508164207012f24
[ "MIT" ]
55
2017-07-28T06:17:33.000Z
2021-10-31T03:06:22.000Z
#include<cstdio> #include<iostream> #include<cmath> #include<algorithm> #include<cstring> #include<map> #include<set> #include<vector> #include<utility> #include<queue> #include<stack> #define sd(x) scanf("%d",&x) #define sd2(x,y) scanf("%d%d",&x,&y) #define sd3(x,y,z) scanf("%d%d%d",&x,&y,&z) #define fi first #define...
17.626506
72
0.528366
VastoLorde95
3d6187710e497dd7e28acf32dcf12ec47c236dd9
1,925
cpp
C++
KRender/Internal/Manager/KFrameResourceManager.cpp
King19931229/KApp
f7f855b209348f835de9e5f57844d4fb6491b0a1
[ "MIT" ]
13
2019-10-19T17:41:19.000Z
2021-11-04T18:50:03.000Z
KRender/Internal/Manager/KFrameResourceManager.cpp
King19931229/KApp
f7f855b209348f835de9e5f57844d4fb6491b0a1
[ "MIT" ]
3
2019-12-09T06:22:43.000Z
2020-05-28T09:33:44.000Z
KRender/Internal/Manager/KFrameResourceManager.cpp
King19931229/KApp
f7f855b209348f835de9e5f57844d4fb6491b0a1
[ "MIT" ]
null
null
null
#include "KFrameResourceManager.h" #include "Internal/KConstantGlobal.h" KFrameResourceManager::KFrameResourceManager() : m_Device(nullptr), m_FrameInFlight(0) { } KFrameResourceManager::~KFrameResourceManager() { } bool KFrameResourceManager::Init(IKRenderDevice* device, size_t frameInFlight) { ASSERT_RESULT(UnI...
24.0625
103
0.754286
King19931229
3d628456b17ddbb5cfd3b40ae41b697b2bf0cf25
10,683
cc
C++
lib/fslib/toml/toml_unserialize.cc
mariuslundblad/disir-c
ae831250cfbf033a755c91e62e8af7d82135d0d8
[ "Apache-2.0" ]
4
2017-06-19T09:59:50.000Z
2019-03-20T18:49:11.000Z
lib/fslib/toml/toml_unserialize.cc
mariuslundblad/disir-c
ae831250cfbf033a755c91e62e8af7d82135d0d8
[ "Apache-2.0" ]
18
2017-06-25T22:19:00.000Z
2019-11-28T13:16:26.000Z
lib/fslib/toml/toml_unserialize.cc
mariuslundblad/disir-c
ae831250cfbf033a755c91e62e8af7d82135d0d8
[ "Apache-2.0" ]
2
2017-10-31T11:19:55.000Z
2019-11-28T12:13:13.000Z
#include <stdlib.h> #include <stdint.h> #include <iostream> #include <fstream> #include <disir/disir.h> #include <disir/fslib/toml.h> #include "tinytoml/toml.h" #include "fdstream.hpp" #define ATTRIBUTE_KEY_DISIR_CONFIG_VERSION "@DISIR_CONFIG_VERSION" #define ATTRIBUTE_KEY_DISIR_CONFIG_VERSION_QUOTED "\"@DISIR_CONFI...
32.274924
105
0.605729
mariuslundblad
3d69564ad1bdc3c8c9d6904aa46016df2c490994
4,418
hpp
C++
src/sn_Regex/sn_RegexM.hpp
Airtnp/SuperNaiveCppLib
0745aa79dc5060cd0f7025658164374b991c698e
[ "MIT" ]
4
2017-04-01T08:09:09.000Z
2017-05-20T11:35:58.000Z
src/sn_Regex/sn_RegexM.hpp
Airtnp/ACppLib
0745aa79dc5060cd0f7025658164374b991c698e
[ "MIT" ]
null
null
null
src/sn_Regex/sn_RegexM.hpp
Airtnp/ACppLib
0745aa79dc5060cd0f7025658164374b991c698e
[ "MIT" ]
null
null
null
#ifndef SN_REGEX_M_H #define SN_REGEX_M_H #include "../sn_CommonHeader.h" #include "../sn_Meta/constexpr_control.hpp" // ref: https://zhuanlan.zhihu.com/p/28484185 namespace sn_Regex { using namespace sn_constexpr::control; template <char ...Cs> struct char_sequence { template <size_t I> ...
27.104294
99
0.504074
Airtnp
3d6b5e40407915d8606011a763ebb3a359229038
1,908
cpp
C++
Algorithms/0478.GenerateRandomPointInCircle/solution.cpp
stdstring/leetcode
84e6bade7d6fc1a737eb6796cb4e2565440db5e3
[ "MIT" ]
null
null
null
Algorithms/0478.GenerateRandomPointInCircle/solution.cpp
stdstring/leetcode
84e6bade7d6fc1a737eb6796cb4e2565440db5e3
[ "MIT" ]
null
null
null
Algorithms/0478.GenerateRandomPointInCircle/solution.cpp
stdstring/leetcode
84e6bade7d6fc1a737eb6796cb4e2565440db5e3
[ "MIT" ]
null
null
null
#define _USE_MATH_DEFINES #include <cmath> #include <limits> #include <random> #include <vector> #include "gtest/gtest.h" namespace { class Solution { public: Solution(double radius, double xCenter, double yCenter) : mRadius(radius), mXCenter(xCenter), mYCenter(yCenter), mGenerato...
25.783784
92
0.660901
stdstring
3d6be5e3f60b3b756639b47e27db5fd0bb10fbac
14,775
hpp
C++
src/GuneroMembershipCircuit.hpp
GunClear/Silencer
625b5ce0860af98763aa2ce14d6b406d5ef368e4
[ "MIT" ]
1
2018-10-17T22:27:54.000Z
2018-10-17T22:27:54.000Z
src/GuneroMembershipCircuit.hpp
GunClear/Silencer
625b5ce0860af98763aa2ce14d6b406d5ef368e4
[ "MIT" ]
9
2018-11-09T19:57:52.000Z
2019-01-04T15:49:02.000Z
src/GuneroMembershipCircuit.hpp
GunClear/Silencer
625b5ce0860af98763aa2ce14d6b406d5ef368e4
[ "MIT" ]
null
null
null
#ifndef GUNEROMEMBERSHIPCIRCUIT_H_ #define GUNEROMEMBERSHIPCIRCUIT_H_ #include <deque> #include <mutex> #include <boost/optional.hpp> #include <boost/static_assert.hpp> #include <libff/common/utils.hpp> #include <libsnark/common/default_types/r1cs_gg_ppzksnark_pp.hpp> #include <libsnark/common/default_types/r1cs_gg_pp...
35.178571
207
0.615364
GunClear
3d6c1c54552d95afece1735a3dedd8bf4a40b87f
827
hpp
C++
source/plc/include/document/ICR.hpp
dlin172/Plange
4b36a1225b2263bc8d38a6d1cc9b50c3d4b58e04
[ "BSD-3-Clause" ]
null
null
null
source/plc/include/document/ICR.hpp
dlin172/Plange
4b36a1225b2263bc8d38a6d1cc9b50c3d4b58e04
[ "BSD-3-Clause" ]
null
null
null
source/plc/include/document/ICR.hpp
dlin172/Plange
4b36a1225b2263bc8d38a6d1cc9b50c3d4b58e04
[ "BSD-3-Clause" ]
null
null
null
// This file was generated using Parlex's cpp_generator #ifndef INCLUDED_ICR_HPP #define INCLUDED_ICR_HPP #include <optional> #include <variant> #include <vector> #include "erased.hpp" #include "parlex/detail/abstract_syntax_tree.hpp" #include "parlex/detail/builtins.hpp" #include "parlex/detail/document.hpp" #in...
17.978261
122
0.719468
dlin172
3d6ea7df862341512182ac540f668bc13b8e39f0
861
cpp
C++
samples/snippets/cpp/VS_Snippets_CLR/DateTime.Subtraction/CPP/class1.cpp
hamarb123/dotnet-api-docs
6aeb55784944a2f1f5e773b657791cbd73a92dd4
[ "CC-BY-4.0", "MIT" ]
421
2018-04-01T01:57:50.000Z
2022-03-28T15:24:42.000Z
samples/snippets/cpp/VS_Snippets_CLR/DateTime.Subtraction/CPP/class1.cpp
hamarb123/dotnet-api-docs
6aeb55784944a2f1f5e773b657791cbd73a92dd4
[ "CC-BY-4.0", "MIT" ]
5,797
2018-04-02T21:12:23.000Z
2022-03-31T23:54:38.000Z
samples/snippets/cpp/VS_Snippets_CLR/DateTime.Subtraction/CPP/class1.cpp
hamarb123/dotnet-api-docs
6aeb55784944a2f1f5e773b657791cbd73a92dd4
[ "CC-BY-4.0", "MIT" ]
1,482
2018-03-31T11:26:20.000Z
2022-03-30T22:36:45.000Z
using namespace System; int main() { //<Snippet1> System::DateTime date1 = System::DateTime( 1996, 6, 3, 22, 15, 0 ); System::DateTime date2 = System::DateTime( 1996, 12, 6, 13, 2, 0 ); System::DateTime date3 = System::DateTime( 1996, 10, 12, 8, 42, 0 ); // diff1 gets 185 days, 14 hours, an...
30.75
72
0.61324
hamarb123
3d71cd7cc909dcdae54de1013d0f24d11879e9ab
1,691
hpp
C++
LimeEngine/Engine/Input/Keyboard.hpp
RubyCircle/LimeEngine
06e3628f2aeb3ce023c1251a6379a26b2df2de4b
[ "MIT" ]
1
2022-01-04T19:25:46.000Z
2022-01-04T19:25:46.000Z
LimeEngine/Engine/Input/Keyboard.hpp
RubyCircle/LimeEngine
06e3628f2aeb3ce023c1251a6379a26b2df2de4b
[ "MIT" ]
null
null
null
LimeEngine/Engine/Input/Keyboard.hpp
RubyCircle/LimeEngine
06e3628f2aeb3ce023c1251a6379a26b2df2de4b
[ "MIT" ]
null
null
null
#pragma once #include <bitset> #include <queue> namespace LimeEngine { class Keyboard { friend class Window; public: class KeyboardEvent { public: enum class EventType { Press, Release, Invalid }; KeyboardEvent(); KeyboardEvent(const EventType type, const unsigned char key); bo...
23.486111
64
0.729154
RubyCircle
3d76db353e228d307980ce15dddde2b9b6bfce1e
672
cpp
C++
defaultConstructor.cpp
anjali9811/Programming-in-Cpp
02e80e045a7fb20f8970fcdae68c08bdf27f95b8
[ "Apache-2.0" ]
null
null
null
defaultConstructor.cpp
anjali9811/Programming-in-Cpp
02e80e045a7fb20f8970fcdae68c08bdf27f95b8
[ "Apache-2.0" ]
null
null
null
defaultConstructor.cpp
anjali9811/Programming-in-Cpp
02e80e045a7fb20f8970fcdae68c08bdf27f95b8
[ "Apache-2.0" ]
null
null
null
//constructors example #include<iostream> using namespace std; class human { public: //default values of the constructor params human(int iage=19,string iname="Mrinal") { age=iage; name=iname; cout<<"Object created with default constructor values"<<endl; } void introduce() { cout<<"He...
13.176471
74
0.583333
anjali9811
3d773bd641f2e0ba8e425daa2bb972fe0d67532d
5,544
cpp
C++
api/c/bingo-nosql/src/bingo_container_set.cpp
khyurri/Indigo
82f9ef9f43ca605f7265709e7a9256f1ff468d6c
[ "Apache-2.0" ]
204
2015-11-06T21:34:34.000Z
2022-03-30T16:17:01.000Z
api/c/bingo-nosql/src/bingo_container_set.cpp
khyurri/Indigo
82f9ef9f43ca605f7265709e7a9256f1ff468d6c
[ "Apache-2.0" ]
509
2015-11-05T13:54:43.000Z
2022-03-30T22:15:30.000Z
api/c/bingo-nosql/src/bingo_container_set.cpp
khyurri/Indigo
82f9ef9f43ca605f7265709e7a9256f1ff468d6c
[ "Apache-2.0" ]
89
2015-11-17T08:22:54.000Z
2022-03-17T04:26:28.000Z
#include "bingo_container_set.h" #include "bingo_multibit_tree.h" using namespace bingo; ContainerSet::ContainerSet() { _inc_count = 0; _inc_total_ones_count = 0; } void ContainerSet::setParams(int fp_size, int container_size, int min_ones_count, int max_ones_count) { profTimerStart(t, "cs_set_params"); ...
27.445545
131
0.673882
khyurri
3d77aa63903098c17cb2d28b190aaec6c777a87e
68
cpp
C++
tempCodeRunnerFile.cpp
rsds8540/cpp-solved-problems
cbd63e0743d7653d8e06401026c16aa1dd5f775b
[ "Apache-2.0" ]
1
2021-04-27T18:23:05.000Z
2021-04-27T18:23:05.000Z
tempCodeRunnerFile.cpp
rsds8540/cpp-solved-problems
cbd63e0743d7653d8e06401026c16aa1dd5f775b
[ "Apache-2.0" ]
null
null
null
tempCodeRunnerFile.cpp
rsds8540/cpp-solved-problems
cbd63e0743d7653d8e06401026c16aa1dd5f775b
[ "Apache-2.0" ]
null
null
null
// cin>>str; // works in both functions // cout<<str<<endl;
22.666667
43
0.544118
rsds8540
3d7efefae10ca1776a8fdcf415c71f43efb1ca76
7,619
cpp
C++
test/patternScan/MultiPatternScan.cpp
sroehling/ChartPatternRecognitionLib
d9bd25c0fc5a8942bb98c74c42ab52db80f680c1
[ "MIT" ]
9
2019-07-15T19:10:07.000Z
2021-12-14T12:16:18.000Z
test/patternScan/MultiPatternScan.cpp
sroehling/ChartPatternRecognitionLib
d9bd25c0fc5a8942bb98c74c42ab52db80f680c1
[ "MIT" ]
null
null
null
test/patternScan/MultiPatternScan.cpp
sroehling/ChartPatternRecognitionLib
d9bd25c0fc5a8942bb98c74c42ab52db80f680c1
[ "MIT" ]
2
2020-05-23T03:25:25.000Z
2021-11-19T16:41:44.000Z
/* * MultiPatternScan.cpp * * Created on: Jul 21, 2014 * Author: sroehling */ #include <boost/test/unit_test.hpp> #include "TestHelper.h" #include "MultiPatternScanner.h" #include "PatternMatchFilter.h" #include "InvertedVScanner.h" #include "VScanner.h" #include <boost/date_time/gregorian/gregorian.hpp> #...
42.803371
135
0.804699
sroehling
3d7f293006fd73f78a581354edc6adc6b3e7b361
764
cpp
C++
tests/date_tests.cpp
chrisculy/Divida
9f5a97307790cea39c912edb5cf2f327c4df70e1
[ "MIT" ]
1
2016-09-20T17:51:50.000Z
2016-09-20T17:51:50.000Z
tests/date_tests.cpp
chrisculy/Divida
9f5a97307790cea39c912edb5cf2f327c4df70e1
[ "MIT" ]
12
2016-09-15T15:47:23.000Z
2017-06-22T05:25:59.000Z
tests/date_tests.cpp
chrisculy/Divida
9f5a97307790cea39c912edb5cf2f327c4df70e1
[ "MIT" ]
null
null
null
#include "divida_tests.h" #include <divida/date.h> TEST_CASE("date - Creation", "[date]") { int day = 4; int month = 7; int year = 2013; divida::date date = divida::date::create(day, month, year); CHECK(day == date.day()); CHECK(month == date.month()); CHECK(year == date.year()); } TEST_CASE("date - InvalidD...
16.608696
60
0.643979
chrisculy
3d809c2e9386e141a9d0367181215eb3cc77f518
6,451
cpp
C++
test/tools/smoke/index/indexer_test.cpp
stryku/cmakesl
e53bffed62ae9ca68c0c2de0de8e2a94bfe4d326
[ "BSD-3-Clause" ]
51
2019-05-06T01:33:34.000Z
2021-11-17T11:44:54.000Z
test/tools/smoke/index/indexer_test.cpp
stryku/cmakesl
e53bffed62ae9ca68c0c2de0de8e2a94bfe4d326
[ "BSD-3-Clause" ]
191
2019-05-06T18:31:24.000Z
2020-06-19T06:48:06.000Z
test/tools/smoke/index/indexer_test.cpp
stryku/cmakesl
e53bffed62ae9ca68c0c2de0de8e2a94bfe4d326
[ "BSD-3-Clause" ]
3
2019-10-12T21:03:29.000Z
2020-06-19T06:22:25.000Z
#include <gmock/gmock.h> #include "tools/lib/cmsl_index.hpp" #include "tools/lib/cmsl_parsed_source.hpp" namespace cmsl::tools::test { using ::testing::NotNull; using ::testing::Eq; class IndexerSmokeTest : public ::testing::Test { protected: std::pair<cmsl_parsed_source*, cmsl_index_entries*> index_source( co...
28.29386
75
0.623934
stryku
3d8638d1a137cff0c05c12c8eb67cd554360ed47
504
cpp
C++
src/UI/UI.cpp
TillHeinzel/Qt3DDragExample
8ac12d214821311980be10766142e09d23e23063
[ "Unlicense" ]
null
null
null
src/UI/UI.cpp
TillHeinzel/Qt3DDragExample
8ac12d214821311980be10766142e09d23e23063
[ "Unlicense" ]
null
null
null
src/UI/UI.cpp
TillHeinzel/Qt3DDragExample
8ac12d214821311980be10766142e09d23e23063
[ "Unlicense" ]
null
null
null
#include "UI.hpp" #include <QGuiApplication> #include <QtWidgets/QApplication> #include "detail/SceneWidget.hpp" #include "detail/initializeContent.hpp" namespace ui { int runUI(int argc, char** argv, std::shared_ptr<IModel> model) { QApplication app(argc, argv); auto* sceneWidget = new SceneWidget(); ...
19.384615
65
0.690476
TillHeinzel
3d868b779f6a05b48d5b3d832d56e8c801eea78a
4,977
cpp
C++
Tools/sitl_gazebo/src/gazebo_drop_plugin.cpp
666cats/Px4forVTOL
65965fb5eda3b6bbfab0daae8a1dc9bbbe1407d5
[ "BSD-3-Clause" ]
3
2021-04-28T15:27:04.000Z
2021-05-03T16:23:24.000Z
Tools/sitl_gazebo/src/gazebo_drop_plugin.cpp
666cats/Px4forVTOL
65965fb5eda3b6bbfab0daae8a1dc9bbbe1407d5
[ "BSD-3-Clause" ]
4
2021-05-03T16:58:53.000Z
2021-12-21T21:01:02.000Z
Tools/sitl_gazebo/src/gazebo_drop_plugin.cpp
666cats/Px4forVTOL
65965fb5eda3b6bbfab0daae8a1dc9bbbe1407d5
[ "BSD-3-Clause" ]
9
2021-04-28T15:26:34.000Z
2021-12-21T20:41:30.000Z
/**************************************************************************** * * Copyright (c) 2021 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...
37.141791
185
0.713482
666cats
3d8fc1e6e96aa7e1db17abcf775b5af664fa3d47
3,742
cc
C++
games/islands/code/local/Gold.cc
magestik/gf
60d9bbe084828fff88f1a511bd1191c774ccef4a
[ "Zlib" ]
null
null
null
games/islands/code/local/Gold.cc
magestik/gf
60d9bbe084828fff88f1a511bd1191c774ccef4a
[ "Zlib" ]
null
null
null
games/islands/code/local/Gold.cc
magestik/gf
60d9bbe084828fff88f1a511bd1191c774ccef4a
[ "Zlib" ]
null
null
null
/* * Bygone Islands, the journey of a pirate in dangerous islands * Copyright (C) 2017 Hatunruna team * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or...
30.422764
98
0.658739
magestik
3d958e427cd771fd228a1b006304d2d197763703
1,402
cpp
C++
06-Stack-and-Queue/03-Non-Recursive-Implementation-of-a-Recursive-Algorithm/main2.cpp
leverTsui/Embrace-with-Algorithm-Interview
45541579d6c75e1336a8e5cd273c13cc4d7c0674
[ "MIT" ]
2
2021-03-25T05:26:55.000Z
2021-04-20T03:33:24.000Z
06-Stack-and-Queue/Course Code (C++)/03-Non-Recursive-Implementation-of-a-Recursive-Algorithm/main2.cpp
mtianyan/Mtianyan-Play-with-Algorithm-Interview
5f16b7f3e2903d26c8195270b87359d866ca0be2
[ "Apache-2.0" ]
6
2019-12-04T06:08:32.000Z
2021-05-10T20:22:47.000Z
06-Stack-and-Queue/Course Code (C++)/03-Non-Recursive-Implementation-of-a-Recursive-Algorithm/main2.cpp
mtianyan/Mtianyan-Play-with-Algorithm-Interview
5f16b7f3e2903d26c8195270b87359d866ca0be2
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include <vector> using namespace std; /// 94. Binary Tree Inorder Traversal /// https://leetcode.com/problems/binary-tree-inorder-traversal/solution/ /// 非递归的二叉树的中序遍历 /// 时间复杂度: O(n), n为树的节点个数 /// 空间复杂度: O(h), h为树的高度 /// Definition for a binary tree node. struct TreeNode { int val; TreeN...
22.612903
73
0.533524
leverTsui
3d9643f8c8893a12da798eff449d5762d9a1aca2
884
cpp
C++
paulfeeder/StepperControl.cpp
tmerr/electronics
414b8ec9594d97e394032ccf47f135b500bcf9ee
[ "MIT" ]
1
2020-01-04T19:20:05.000Z
2020-01-04T19:20:05.000Z
paulfeeder/StepperControl.cpp
tmerr/electronics
414b8ec9594d97e394032ccf47f135b500bcf9ee
[ "MIT" ]
null
null
null
paulfeeder/StepperControl.cpp
tmerr/electronics
414b8ec9594d97e394032ccf47f135b500bcf9ee
[ "MIT" ]
null
null
null
#include "StepperControl.hpp" #define HALFSTEP 8 #define ZDOWN 350 #define ZUP 630 StepperControl::StepperControl() { stepper = AccelStepper(HALFSTEP, D1, D3, D2, D4); mode = Mode::idle; z = 0; } void StepperControl::setup() { stepper.setMaxSpeed(1000.0); stepper.setAcceleration(100.0); stepper.setSpeed...
17.68
51
0.635747
tmerr
3d97197590ada98d0b7762b58a2fbd90a3dde3bd
515
cpp
C++
Kernel/Hardware/Drivers/pcspk.cpp
foragerDev/GevOS
f21c8432dd63ab583d9132422bf313ebf60557e8
[ "Unlicense" ]
null
null
null
Kernel/Hardware/Drivers/pcspk.cpp
foragerDev/GevOS
f21c8432dd63ab583d9132422bf313ebf60557e8
[ "Unlicense" ]
null
null
null
Kernel/Hardware/Drivers/pcspk.cpp
foragerDev/GevOS
f21c8432dd63ab583d9132422bf313ebf60557e8
[ "Unlicense" ]
null
null
null
#include "pcspk.hpp" void PCS::play_sound(uint32_t nFrequence) { uint32_t Div; uint8_t tmp; Div = 1193180 / nFrequence; outb(0x43, 0xb6); outb(0x42, (uint8_t)(Div)); outb(0x42, (uint8_t)(Div >> 8)); tmp = inb(0x61); if (tmp != (tmp | 3)) { outb(0x61, tmp | 3); } } void PC...
16.612903
52
0.580583
foragerDev
3d992e8572c26e761951aea214bbe0f7ec463a2f
2,540
cpp
C++
sources/main.cpp
suVrik/hooker.galore
616e2692d7afab24b70bfb6aa14ad780eb7c451d
[ "MIT" ]
4
2019-09-14T09:18:47.000Z
2022-01-29T02:47:00.000Z
sources/main.cpp
suVrik/hooker.galore
616e2692d7afab24b70bfb6aa14ad780eb7c451d
[ "MIT" ]
null
null
null
sources/main.cpp
suVrik/hooker.galore
616e2692d7afab24b70bfb6aa14ad780eb7c451d
[ "MIT" ]
1
2020-03-25T14:41:17.000Z
2020-03-25T14:41:17.000Z
#include "core/ecs/world.h" #include "world/editor/editor_tags.h" #include "world/imgui/imgui_tags.h" #include "world/physics/physics_tags.h" #include "world/render/render_tags.h" #include "world/shared/level_single_component.h" #include <SDL2/SDL_messagebox.h> #include <chrono> #include <clara.hpp> #include <fmt/form...
36.811594
114
0.634252
suVrik
3d9cbfaa64d149149895ea3592925dc4e6836aac
1,357
cpp
C++
main.cpp
malinoal/Chip8
ceeef0b71d1b60871067ae9657662e94265eabd2
[ "Apache-2.0" ]
null
null
null
main.cpp
malinoal/Chip8
ceeef0b71d1b60871067ae9657662e94265eabd2
[ "Apache-2.0" ]
null
null
null
main.cpp
malinoal/Chip8
ceeef0b71d1b60871067ae9657662e94265eabd2
[ "Apache-2.0" ]
null
null
null
#include<stdio.h> #include<iostream> #include<fstream> //#include "ROM.cpp" #include "CHIP8.cpp" ROM readRom(char* romPath) { char* romContents; std::ifstream rom (romPath, std::ios::in|std::ios::binary|std::ios::ate); //ate= at the end, used to calculate file size; ios= input output stream if(rom.is_open()) { ...
23.396552
152
0.683125
malinoal
3d9fc195cd4ec8192e8d7d1e3cf19047a1ff37bb
276
hpp
C++
test/mock_exec.hpp
triton/cc-wrapper
4be147e091897efc080691567034127dfafd75b9
[ "Apache-2.0" ]
1
2018-09-27T05:08:35.000Z
2018-09-27T05:08:35.000Z
test/mock_exec.hpp
triton/cc-wrapper
4be147e091897efc080691567034127dfafd75b9
[ "Apache-2.0" ]
null
null
null
test/mock_exec.hpp
triton/cc-wrapper
4be147e091897efc080691567034127dfafd75b9
[ "Apache-2.0" ]
3
2017-12-24T22:07:05.000Z
2020-11-26T01:20:16.000Z
#pragma once #include <string> #include <vector> std::string gpath; std::vector<std::string> gargv; extern "C" int execv(const char *path, char *const argv[]) { gpath = path; gargv.clear(); for (; argv[0] != nullptr; ++argv) gargv.push_back(argv[0]); return 0; }
19.714286
60
0.644928
triton
3da66e5898022ac3a5eaa8948c193e031d8afb03
1,620
cpp
C++
codeforces/cf579 div3/E.cpp
songhn233/ACM_Steps
6f2edeca9bf4fc999a8148bc90b2d8d0e59d48fe
[ "CC0-1.0" ]
1
2020-08-10T21:40:21.000Z
2020-08-10T21:40:21.000Z
codeforces/cf579 div3/E.cpp
songhn233/Algorithm-Packages
56d6f3c2467c175ab8a19b82bdfb25fc881e2206
[ "CC0-1.0" ]
null
null
null
codeforces/cf579 div3/E.cpp
songhn233/Algorithm-Packages
56d6f3c2467c175ab8a19b82bdfb25fc881e2206
[ "CC0-1.0" ]
null
null
null
#include<cstdio> #include<algorithm> #include<cstring> #include<iostream> #include<queue> using namespace std; const int maxn=450050; const int N=150001; const int inf=0x3f3f3f3f; int n,cnt[maxn],a[maxn],pan[maxn]; int head[maxn<<2],num=1; int d[maxn]; int s,t; queue<int> q; inline int read() { int x=0,t=1;char ch=get...
17.608696
53
0.553704
songhn233
3da7dab6b5475a034ca6e184421249d23994c059
1,070
hpp
C++
taskflow/predef/architecture/arm.hpp
mrogez-yseop/cpp-taskflow
e40c633784cb1712b04c88719dd53fc62f57e806
[ "MIT" ]
691
2019-07-10T13:46:05.000Z
2022-03-31T05:31:56.000Z
lib/taskflow/predef/architecture/arm.hpp
libreliu/lighthouse2-nrc-refactor
8778558ec7517dba3d75ab25fa67560e06d1d38e
[ "Apache-2.0" ]
20
2019-07-11T08:16:48.000Z
2022-02-21T17:59:28.000Z
lib/taskflow/predef/architecture/arm.hpp
libreliu/lighthouse2-nrc-refactor
8778558ec7517dba3d75ab25fa67560e06d1d38e
[ "Apache-2.0" ]
83
2019-07-11T09:55:24.000Z
2022-03-30T03:04:01.000Z
// 2019-04-15 created by Tsung-Wei Huang // - modified from boost/predef/architecture/arm.hpp #pragma once #include "../version_number.hpp" #define TF_ARCH_ARM TF_VERSION_NUMBER_NOT_AVAILABLE #if defined(__arm__) || defined(__arm64) || defined(__thumb__) || \ defined(__TARGET_ARCH_ARM) || defined(__TARGET_ARC...
29.722222
69
0.734579
mrogez-yseop
3da80625098bb5c14d7e45c03cf7e493a2d407fc
4,290
inl
C++
Engine/Include/Sapphire/Maths/Misc/Maths.inl
SapphireSuite/Sapphire
f4ec03f2602eb3fb6ba8c5fa8abf145f66179a47
[ "MIT" ]
2
2020-03-18T09:06:21.000Z
2020-04-09T00:07:56.000Z
Engine/Include/Sapphire/Maths/Misc/Maths.inl
SapphireSuite/Sapphire
f4ec03f2602eb3fb6ba8c5fa8abf145f66179a47
[ "MIT" ]
null
null
null
Engine/Include/Sapphire/Maths/Misc/Maths.inl
SapphireSuite/Sapphire
f4ec03f2602eb3fb6ba8c5fa8abf145f66179a47
[ "MIT" ]
null
null
null
// Copyright 2020 Sapphire development team. All Rights Reserved. namespace Sa { template <typename T> constexpr T Maths::Abs(T _in) noexcept { if constexpr (IsUnsigned<T>::value) { SA_LOG("Get Abs of an unsigned input", Warning, Maths); return _in; } return _in < T(0) ? -_in : _in; } template <ty...
20.724638
84
0.657343
SapphireSuite
3dad60f537beb57d5efdce6697af29f6e8885f01
4,267
cpp
C++
Creational/Abstract Factory/Skeleton_AbstractFactory.cpp
walidAbbassi/Practical-Design-Patterns-in-modern-cpp
807eb650de40a83ad2f048e2823ba4e3f9d0d21e
[ "MIT" ]
4
2020-02-14T16:57:41.000Z
2021-04-13T03:54:32.000Z
Creational/Abstract Factory/Skeleton_AbstractFactory.cpp
walidAbbassi/Example-Design-Patterns
807eb650de40a83ad2f048e2823ba4e3f9d0d21e
[ "MIT" ]
null
null
null
Creational/Abstract Factory/Skeleton_AbstractFactory.cpp
walidAbbassi/Example-Design-Patterns
807eb650de40a83ad2f048e2823ba4e3f9d0d21e
[ "MIT" ]
6
2020-01-05T18:49:34.000Z
2022-03-19T20:28:55.000Z
/* * C++ Design Patterns: Abstract Factory * Author: walid Abbassi [https://github.com/walidAbbassi] * 2019 * * Source code is licensed under MIT License * (for more details see LICENSE) * */ #include <iostream> #include <ostream> #include <string> #include <memory> /* * Product A * products implement the same interf...
23.445055
98
0.732365
walidAbbassi
3dbdcea5986fa4a31d7e333c661701de47d14b96
6,778
cpp
C++
exportNF/release/windows/obj/src/openfl/display3D/_Context3DProgramType/Context3DProgramType_Impl_.cpp
theblobscp/NekoFreakMod-FridayNightFunkin
232bcb08234cfe881fd6d52b13e6ae443e105fd1
[ "BSD-3-Clause" ]
null
null
null
exportNF/release/windows/obj/src/openfl/display3D/_Context3DProgramType/Context3DProgramType_Impl_.cpp
theblobscp/NekoFreakMod-FridayNightFunkin
232bcb08234cfe881fd6d52b13e6ae443e105fd1
[ "BSD-3-Clause" ]
null
null
null
exportNF/release/windows/obj/src/openfl/display3D/_Context3DProgramType/Context3DProgramType_Impl_.cpp
theblobscp/NekoFreakMod-FridayNightFunkin
232bcb08234cfe881fd6d52b13e6ae443e105fd1
[ "BSD-3-Clause" ]
null
null
null
// Generated by Haxe 4.2.1+bf9ff69 #include <hxcpp.h> #ifndef INCLUDED_openfl_display3D__Context3DProgramType_Context3DProgramType_Impl_ #include <openfl/display3D/_Context3DProgramType/Context3DProgramType_Impl_.h> #endif HX_LOCAL_STACK_FRAME(_hx_pos_f34d0745d06fd2f8_27_fromString,"openfl.display3D._Context3DProgram...
39.870588
288
0.763204
theblobscp
3dbf8b40fb0613fde1d149f47d0c3811511ed87b
2,482
cc
C++
src/clothoids_wrapper/clothoids_utils/fmt.cc
BlueNoise/clothoids_wrapper
c7b8cb036c6956c55377f7e2c255228c7d42dd0c
[ "BSD-2-Clause" ]
null
null
null
src/clothoids_wrapper/clothoids_utils/fmt.cc
BlueNoise/clothoids_wrapper
c7b8cb036c6956c55377f7e2c255228c7d42dd0c
[ "BSD-2-Clause" ]
null
null
null
src/clothoids_wrapper/clothoids_utils/fmt.cc
BlueNoise/clothoids_wrapper
c7b8cb036c6956c55377f7e2c255228c7d42dd0c
[ "BSD-2-Clause" ]
null
null
null
/*--------------------------------------------------------------------------*\ | | | Copyright (C) 2017 | | | | ...
48.666667
78
0.399275
BlueNoise
3dc4141b23f74b2e1d9e460b8b94eb881c9c0925
5,448
cc
C++
lib/smg.cc
khandy21yo/btran
98bbf647f2011831bed6b96f1a57c2adfe906326
[ "MIT" ]
4
2017-09-14T08:46:55.000Z
2021-04-16T14:22:56.000Z
lib/smg.cc
khandy21yo/btran
98bbf647f2011831bed6b96f1a57c2adfe906326
[ "MIT" ]
null
null
null
lib/smg.cc
khandy21yo/btran
98bbf647f2011831bed6b96f1a57c2adfe906326
[ "MIT" ]
1
2017-09-14T08:47:00.000Z
2017-09-14T08:47:00.000Z
#include <string> #include <panel.h> #include "smgdef.h" #include "smgmsg.h" #include "smgroutines.h" int smg$begin_display_update( struct ncurses_struct **display_id) { return 1; } int smg$begin_pasteboard_update( long *pasteboard_id) { return 0; } long smg$change_pbd_characteristics( long *pasteboard_id,...
17.803922
98
0.678781
khandy21yo
3dc5b715fa4bd1138c5f09f60591177290f9fc4d
1,966
cpp
C++
src/kalman_filter.cpp
eshanmherath/CarND-Extended-Kalman-Filter-Project
4efad56bdf88823540e822cc43676dd247b6bb4c
[ "MIT" ]
null
null
null
src/kalman_filter.cpp
eshanmherath/CarND-Extended-Kalman-Filter-Project
4efad56bdf88823540e822cc43676dd247b6bb4c
[ "MIT" ]
null
null
null
src/kalman_filter.cpp
eshanmherath/CarND-Extended-Kalman-Filter-Project
4efad56bdf88823540e822cc43676dd247b6bb4c
[ "MIT" ]
null
null
null
#include "kalman_filter.h" using Eigen::MatrixXd; using Eigen::VectorXd; /* * Please note that the Eigen library does not initialize * VectorXd or MatrixXd objects with zeros upon creation. */ KalmanFilter::KalmanFilter() {} KalmanFilter::~KalmanFilter() {} void KalmanFilter::Init(VectorXd &x_in, MatrixXd &...
21.604396
73
0.615463
eshanmherath
3dc6fca5cd94fd61e32b9be20c3956b2420284ff
1,727
cpp
C++
levelselector.cpp
0yinf/Klotski
df3c3d6ea58d936e059b31c614bdafebd88e70ec
[ "MIT" ]
2
2017-09-17T16:16:15.000Z
2017-09-17T16:16:18.000Z
levelselector.cpp
0yinf/Klotski
df3c3d6ea58d936e059b31c614bdafebd88e70ec
[ "MIT" ]
1
2017-09-21T08:27:20.000Z
2017-09-21T08:27:20.000Z
levelselector.cpp
0yinf/Klotski
df3c3d6ea58d936e059b31c614bdafebd88e70ec
[ "MIT" ]
3
2017-09-13T02:44:46.000Z
2017-09-17T05:41:11.000Z
#include "levelselector.h" #include "common.h" #include <QDir> #include <QString> #include <QFileInfo> #include <QList> #include <QRegExp> #include <algorithm> #include <QDebug> LevelSelector::LevelSelector(QWidget *parent) : QWidget(parent), ui(new Ui::levelSelectorView) { ui->setupUi(this); setWindowMo...
33.862745
129
0.687898
0yinf
3dcde028953987d55c7eae15489ac331e89b4e33
9,467
cpp
C++
Source/Data/TLS/Base/NptTlsTrustAnchor_Base_0109.cpp
Dschee/Neptune
016d132f8e4449e6b0f79fbc5ce25de365eab983
[ "BSD-3-Clause" ]
17
2015-09-17T06:53:47.000Z
2021-08-09T03:41:21.000Z
Source/Data/TLS/Base/NptTlsTrustAnchor_Base_0109.cpp
Dschee/Neptune
016d132f8e4449e6b0f79fbc5ce25de365eab983
[ "BSD-3-Clause" ]
17
2015-01-05T21:06:22.000Z
2015-12-07T20:45:44.000Z
Source/Data/TLS/Base/NptTlsTrustAnchor_Base_0109.cpp
Dschee/Neptune
016d132f8e4449e6b0f79fbc5ce25de365eab983
[ "BSD-3-Clause" ]
18
2015-12-09T21:27:41.000Z
2020-11-27T11:38:49.000Z
/***************************************************************** | | Neptune - Trust Anchors | | This file is automatically generated by a script, do not edit! | | Copyright (c) 2002-2010, Axiomatic Systems, LLC. | All rights reserved. | | Redistribution and use in source and binary forms, with or without | modif...
42.837104
79
0.766452
Dschee
3dd1fc54b6606e3b989fd901975a918a0ea66e54
3,796
cpp
C++
QuinnsEscape/Source/QuinnsEscape/World/HeadHittableBox.cpp
JoshLmao/6CS025-QuinnsEscape
a4e51aad5c55a4c4e33a2cbe9a6cacea271923f0
[ "Apache-2.0" ]
null
null
null
QuinnsEscape/Source/QuinnsEscape/World/HeadHittableBox.cpp
JoshLmao/6CS025-QuinnsEscape
a4e51aad5c55a4c4e33a2cbe9a6cacea271923f0
[ "Apache-2.0" ]
null
null
null
QuinnsEscape/Source/QuinnsEscape/World/HeadHittableBox.cpp
JoshLmao/6CS025-QuinnsEscape
a4e51aad5c55a4c4e33a2cbe9a6cacea271923f0
[ "Apache-2.0" ]
null
null
null
// Fill out your copyright notice in the Description page of Project Settings. #include "HeadHittableBox.h" #include "Components/StaticMeshComponent.h" #include "Components/BoxComponent.h" #include "GameFramework/Character.h" #include "GameFramework/CharacterMovementComponent.h" #include "UObject/ConstructorHelpers.h...
32.169492
201
0.768704
JoshLmao
3dd6766724ca88876040b48ed1a44172c6578631
4,335
cpp
C++
tasks/select-object-rotate.cpp
lukas-ke/faint-graphics-editor
33eb9e6a3f2216fb2cf6ef9709a14f3d20b78fbf
[ "Apache-2.0" ]
10
2016-12-28T22:06:31.000Z
2021-05-24T13:42:30.000Z
tasks/select-object-rotate.cpp
lukas-ke/faint-graphics-editor
33eb9e6a3f2216fb2cf6ef9709a14f3d20b78fbf
[ "Apache-2.0" ]
4
2015-10-09T23:55:10.000Z
2020-04-04T08:09:22.000Z
tasks/select-object-rotate.cpp
lukas-ke/faint-graphics-editor
33eb9e6a3f2216fb2cf6ef9709a14f3d20b78fbf
[ "Apache-2.0" ]
null
null
null
// -*- coding: us-ascii-unix -*- // Copyright 2012 Lukas Kemmer // // Licensed under the Apache License, Version 2.0 (the "License"); you // may not use this file except in compliance with the License. You // may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by a...
25.057803
76
0.65421
lukas-ke
3dd7060690499d81e9479058bd11d318271356f8
188
cpp
C++
src/zoneserver/service/item/ItemIdGenerator.cpp
mark-online/server
ca24898e2e5a9ccbaa11ef1ade57bb25260b717f
[ "MIT" ]
null
null
null
src/zoneserver/service/item/ItemIdGenerator.cpp
mark-online/server
ca24898e2e5a9ccbaa11ef1ade57bb25260b717f
[ "MIT" ]
null
null
null
src/zoneserver/service/item/ItemIdGenerator.cpp
mark-online/server
ca24898e2e5a9ccbaa11ef1ade57bb25260b717f
[ "MIT" ]
null
null
null
#include "ZoneServerPCH.h" #include "ItemIdGenerator.h" namespace gideon { namespace zoneserver { SNE_DEFINE_SINGLETON(ItemIdGenerator); }} // namespace gideon { namespace zoneserver {
20.888889
47
0.781915
mark-online
3ddda1357b09bbc9c87678eda494052f9693fd4b
7,794
cpp
C++
src/actarrowtrap.cpp
PegasusEpsilon/Barony
6311f7e5da4835eaea65a95b5cc258409bb0dfa4
[ "FTL", "Zlib", "MIT" ]
373
2016-06-28T06:56:46.000Z
2022-03-23T02:32:54.000Z
src/actarrowtrap.cpp
PegasusEpsilon/Barony
6311f7e5da4835eaea65a95b5cc258409bb0dfa4
[ "FTL", "Zlib", "MIT" ]
361
2016-07-06T19:09:25.000Z
2022-03-26T14:14:19.000Z
src/actarrowtrap.cpp
PegasusEpsilon/Barony
6311f7e5da4835eaea65a95b5cc258409bb0dfa4
[ "FTL", "Zlib", "MIT" ]
129
2016-06-29T09:02:49.000Z
2022-01-23T09:56:06.000Z
/*------------------------------------------------------------------------------- BARONY File: actarrowtrap.cpp Desc: implements arrow trap code Copyright 2013-2016 (c) Turning Wheel LLC, all rights reserved. See LICENSE for details. ------------------------------------------------------------------------------...
26.420339
141
0.540159
PegasusEpsilon
3ddf2ab386e5f8a83c7576131be1e3f5e939c387
229
cpp
C++
ex03/src/HumanA.cpp
42cursus-youkim/Rank04-CPP-Module01
1f19cc6d1330ccc310cd7d9d27de4b61e4f7c02d
[ "MIT" ]
1
2022-03-25T23:38:18.000Z
2022-03-25T23:38:18.000Z
ex03/src/HumanA.cpp
42cursus-youkim/Rank04-CPP-Module01
1f19cc6d1330ccc310cd7d9d27de4b61e4f7c02d
[ "MIT" ]
null
null
null
ex03/src/HumanA.cpp
42cursus-youkim/Rank04-CPP-Module01
1f19cc6d1330ccc310cd7d9d27de4b61e4f7c02d
[ "MIT" ]
null
null
null
#include "HumanA.hpp" #include <iostream> HumanA::HumanA(string name, Weapon& weapon) : _name(name), _weapon(weapon) {} void HumanA::attack(void) { std::cout << _name << " attacks with their " << _weapon.getType() << "\n"; }
25.444444
77
0.655022
42cursus-youkim
3de1089230f25a81f3f31a07934c209f46b88d74
2,813
cpp
C++
savedecrypter-master/savedecrypter/ClanLib-2.0/Sources/Core/Math/rect.cpp
ZephyrXD/Z-Builder-Source-CPP
f48e0f22b5d4d183b841abb8e61e1bdb5c25999d
[ "Apache-2.0" ]
6
2020-11-11T15:49:11.000Z
2021-03-08T10:29:23.000Z
savedecrypter-master/savedecrypter/ClanLib-2.0/Sources/Core/Math/rect.cpp
ZeppyXD/Z-Builder-Source-CPP
f48e0f22b5d4d183b841abb8e61e1bdb5c25999d
[ "Apache-2.0" ]
1
2020-11-08T17:28:35.000Z
2020-11-09T01:35:27.000Z
savedecrypter-master/savedecrypter/ClanLib-2.0/Sources/Core/Math/rect.cpp
ZeppyXD/Z-Builder-Source-CPP
f48e0f22b5d4d183b841abb8e61e1bdb5c25999d
[ "Apache-2.0" ]
3
2021-06-26T13:00:23.000Z
2022-02-01T02:16:50.000Z
/* ** ClanLib SDK ** Copyright (c) 1997-2010 The ClanLib Team ** ** This software is provided 'as-is', without any express or implied ** warranty. In no event will the authors be held liable for any damages ** arising from the use of this software. ** ** Permission is granted to anyone to use this software for a...
33.891566
108
0.66086
ZephyrXD
3de17c3acbed1c1d75930636c30d12fb49638870
1,098
cpp
C++
plugins/application_context/src/process/ProcessInfo_Mac.cpp
fuchstraumer/Caelestis
9c4b76288220681bb245d84e5d7bf8c7f69b2716
[ "MIT" ]
5
2018-08-16T00:55:33.000Z
2020-06-19T14:30:17.000Z
plugins/application_context/src/process/ProcessInfo_Mac.cpp
fuchstraumer/Caelestis
9c4b76288220681bb245d84e5d7bf8c7f69b2716
[ "MIT" ]
null
null
null
plugins/application_context/src/process/ProcessInfo_Mac.cpp
fuchstraumer/Caelestis
9c4b76288220681bb245d84e5d7bf8c7f69b2716
[ "MIT" ]
null
null
null
#include "process/ProcessInfo.hpp" #include "SystemInfo.hpp" #include <mach/mach_host.h> #include <mach/mach_init.h> #include <mach/mach_traps.h> #include <mach/task.h> #include <mach/task_info.h> #include <mach/vm_map.h> #include <mach/vm_statistics.h> #include <sys/mman.h> #include <sys/sysctl.h> #include <sys/types....
18.610169
84
0.710383
fuchstraumer
3deb48fba110883d02b360e925aee60b51a78ae0
4,750
cpp
C++
foundation/unitedb/database.cpp
xleakOfficial/xmax-mainchain
16bb71da7f4c9f7c897d1de7b4e88b721d20cfdf
[ "MIT" ]
14
2018-06-16T04:49:50.000Z
2021-04-10T03:18:40.000Z
foundation/unitedb/database.cpp
xleakOfficial/xmax-mainchain
16bb71da7f4c9f7c897d1de7b4e88b721d20cfdf
[ "MIT" ]
null
null
null
foundation/unitedb/database.cpp
xleakOfficial/xmax-mainchain
16bb71da7f4c9f7c897d1de7b4e88b721d20cfdf
[ "MIT" ]
7
2018-06-14T10:15:32.000Z
2020-11-06T17:07:09.000Z
/** * @file * @copyright defined in xmax/LICENSE */ #include <unitedb/undomanager.hpp> #include <unitedb/database.hpp> namespace unitedb { static mapped_file* _OpenMappedFile(const fs::path filepath, uint64_t mapped_file_size) { if (fs::exists(filepath)) { auto file_size = fs::file_size(filepath); if (ma...
19
92
0.675368
xleakOfficial
3df103d5ec723f7d269e5b21f5c1c945a7b31979
8,452
hpp
C++
src/tools/lvr2_viewer/vtkBridge/LVRPickingInteractor.hpp
uos/lvr
9bb03a30441b027c39db967318877e03725112d5
[ "BSD-3-Clause" ]
38
2019-06-19T15:10:35.000Z
2022-02-16T03:08:24.000Z
src/tools/lvr2_viewer/vtkBridge/LVRPickingInteractor.hpp
uos/lvr
9bb03a30441b027c39db967318877e03725112d5
[ "BSD-3-Clause" ]
9
2019-06-19T16:19:51.000Z
2021-09-17T08:31:25.000Z
src/tools/lvr2_viewer/vtkBridge/LVRPickingInteractor.hpp
uos/lvr
9bb03a30441b027c39db967318877e03725112d5
[ "BSD-3-Clause" ]
13
2019-04-16T11:50:32.000Z
2020-11-26T07:47:44.000Z
/** * Copyright (c) 2018, University Osnabrück * 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 li...
30.734545
91
0.693445
uos
3df4f647b376b3a388fcaa890489ef96de087677
3,329
cpp
C++
src/Game/Game.cpp
avraal/Projector
bb234f03ccf34ed829a130c664b7adad400653f4
[ "Zlib" ]
null
null
null
src/Game/Game.cpp
avraal/Projector
bb234f03ccf34ed829a130c664b7adad400653f4
[ "Zlib" ]
null
null
null
src/Game/Game.cpp
avraal/Projector
bb234f03ccf34ed829a130c664b7adad400653f4
[ "Zlib" ]
null
null
null
// This is an open source non-commercial project. Dear PVS-Studio, please check it. // PVS-Studio Static Code Analyzer for C, C++, C#, and Java: http://www.viva64.com // // Created by andrew on 15.01.19. // #include "Game.hpp" #include <SFML/Window/Event.hpp> #include "../Engine/Utils/getClassName.hpp" #include "../E...
33.969388
107
0.655452
avraal
3df843074255689a3847ae33539e725674a38106
695
cpp
C++
samples/snippets/cpp/VS_Snippets_CLR_Classic/classic FileVersionInfo.FileBuildPart Example/CPP/source.cpp
hamarb123/dotnet-api-docs
6aeb55784944a2f1f5e773b657791cbd73a92dd4
[ "CC-BY-4.0", "MIT" ]
421
2018-04-01T01:57:50.000Z
2022-03-28T15:24:42.000Z
samples/snippets/cpp/VS_Snippets_CLR_Classic/classic FileVersionInfo.FileBuildPart Example/CPP/source.cpp
hamarb123/dotnet-api-docs
6aeb55784944a2f1f5e773b657791cbd73a92dd4
[ "CC-BY-4.0", "MIT" ]
5,797
2018-04-02T21:12:23.000Z
2022-03-31T23:54:38.000Z
samples/snippets/cpp/VS_Snippets_CLR_Classic/classic FileVersionInfo.FileBuildPart Example/CPP/source.cpp
hamarb123/dotnet-api-docs
6aeb55784944a2f1f5e773b657791cbd73a92dd4
[ "CC-BY-4.0", "MIT" ]
1,482
2018-03-31T11:26:20.000Z
2022-03-30T22:36:45.000Z
#using <System.dll> #using <System.Drawing.dll> #using <System.Windows.Forms.dll> using namespace System; using namespace System::Diagnostics; using namespace System::Windows::Forms; public ref class Form1: public Form { protected: TextBox^ textBox1; // <Snippet1> private: void GetFileBuildPart...
25.740741
103
0.661871
hamarb123
3dfdcd8f92de2a791ab8f28ede25f00782803e71
7,776
hpp
C++
include/algol/algorithms/sort/insertion_sort.hpp
alexbaroni/ALGOL
081497e87096308ec0f424ee5a8b6510b0e6ab69
[ "MIT" ]
null
null
null
include/algol/algorithms/sort/insertion_sort.hpp
alexbaroni/ALGOL
081497e87096308ec0f424ee5a8b6510b0e6ab69
[ "MIT" ]
null
null
null
include/algol/algorithms/sort/insertion_sort.hpp
alexbaroni/ALGOL
081497e87096308ec0f424ee5a8b6510b0e6ab69
[ "MIT" ]
null
null
null
/** * \brief insertion sort implementations * \details insertion sort is quadartic running time complexity sort algorithm * From Wikipedia * Insertion sort is a simple sorting algorithm that builds the final sorted array (or list) one item at a time. * It is much less efficient on large lists than more advanced al...
55.542857
117
0.721451
alexbaroni
3dfeaca79bee4989d99083c100f1c2958fba41f3
703
cpp
C++
p1047_1.cpp
Alex-Amber/LuoguAlgorithmProblems
ae8abdb6110badc9faf03af1af42ea562ca1170c
[ "MIT" ]
null
null
null
p1047_1.cpp
Alex-Amber/LuoguAlgorithmProblems
ae8abdb6110badc9faf03af1af42ea562ca1170c
[ "MIT" ]
null
null
null
p1047_1.cpp
Alex-Amber/LuoguAlgorithmProblems
ae8abdb6110badc9faf03af1af42ea562ca1170c
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int L, M, u, v, res; vector<vector<int>> arr; int main() { ios::sync_with_stdio(false); cin.tie(0); cin >> L >> M; res = L + 1; while (M--) { cin >> u >> v; arr.push_back({u, v}); } sort(arr.begin(), arr.end()); int l = 0, ...
20.085714
50
0.372688
Alex-Amber
ad0df288dd487667b59f98f142d18783109317b8
1,390
cpp
C++
src/buffer/clock_replacer.cpp
qdslovelife/bustub
6148a493d27c31894fd7d89e19556329c7d919ab
[ "MIT" ]
20
2021-12-10T02:10:51.000Z
2022-03-18T05:54:45.000Z
src/buffer/clock_replacer.cpp
qdslovelife/bustub
6148a493d27c31894fd7d89e19556329c7d919ab
[ "MIT" ]
8
2021-12-18T14:34:14.000Z
2022-03-31T12:35:07.000Z
src/buffer/clock_replacer.cpp
qdslovelife/bustub
6148a493d27c31894fd7d89e19556329c7d919ab
[ "MIT" ]
7
2022-01-13T04:27:35.000Z
2022-03-24T04:15:56.000Z
//===----------------------------------------------------------------------===// // // BusTub // // clock_replacer.cpp // // Identification: src/buffer/clock_replacer.cpp // // Copyright (c) 2015-2019, Carnegie Mellon University Database Group // //===--------------------------------------------...
25.272727
80
0.621583
qdslovelife
ad1251fe9682fb15af78c22852699984bd5cb8a3
1,380
cpp
C++
Livearchive/Non-boringSubsequences.cpp
MartinAparicioPons/Competitive-Programming
58151df0ed08a5e4e605abefdd69fef1ecc10fa0
[ "Apache-2.0" ]
1
2019-09-29T03:58:35.000Z
2019-09-29T03:58:35.000Z
Livearchive/Non-boringSubsequences.cpp
MartinAparicioPons/Competitive-Programming
58151df0ed08a5e4e605abefdd69fef1ecc10fa0
[ "Apache-2.0" ]
null
null
null
Livearchive/Non-boringSubsequences.cpp
MartinAparicioPons/Competitive-Programming
58151df0ed08a5e4e605abefdd69fef1ecc10fa0
[ "Apache-2.0" ]
null
null
null
#include <bits/stdc++.h> #define DEB(x) cerr << "#" << (#x) << ": " << (x) << endl #define F first #define G second using namespace std; typedef long long ll; typedef pair<int, int> ii; typedef pair<int, ii> iii; typedef vector<int> vi; typedef vector<ii> vii; typedef vector<vi> vvi; typedef vector<ll> vll; cons...
19.166667
61
0.47971
MartinAparicioPons
ad16652971725593a918cc2b55a7a707216d84bd
1,273
cpp
C++
src/ol/math.cpp
yyk99/olqt
9efbee3c4169a4429dc5c0939cd5c65f52ea6028
[ "Apache-2.0" ]
null
null
null
src/ol/math.cpp
yyk99/olqt
9efbee3c4169a4429dc5c0939cd5c65f52ea6028
[ "Apache-2.0" ]
null
null
null
src/ol/math.cpp
yyk99/olqt
9efbee3c4169a4429dc5c0939cd5c65f52ea6028
[ "Apache-2.0" ]
null
null
null
/* * Copyright (C) 2018 * All rights reserved. * */ #include "ol_math.h" std::vector<ol::number_t> ol::math::solveLinearSystem(std::vector<std::vector<number_t> > &mat) { size_t n = mat.size(); for (size_t i = 0; i < n; i++) { // Find max in the i-th column (ignoring i - 1 first rows) size_t maxRow = i; ...
21.576271
95
0.521603
yyk99
ad16efb6c3a69faee41b9128cbe8198cc64a3432
3,360
cpp
C++
hello_asio/recv.cpp
opensvn/boost_learning
7f21551a7f3db38bea2c31d95d0c8b4e00f4537e
[ "BSL-1.0" ]
null
null
null
hello_asio/recv.cpp
opensvn/boost_learning
7f21551a7f3db38bea2c31d95d0c8b4e00f4537e
[ "BSL-1.0" ]
null
null
null
hello_asio/recv.cpp
opensvn/boost_learning
7f21551a7f3db38bea2c31d95d0c8b4e00f4537e
[ "BSL-1.0" ]
1
2021-10-01T04:27:44.000Z
2021-10-01T04:27:44.000Z
#include <iostream> #include <queue> #include <boost/asio.hpp> #include <boost/bind.hpp> #include <boost/shared_ptr.hpp> #include <boost/enable_shared_from_this.hpp> #include <boost/thread.hpp> #include "flag.hpp" using namespace boost::asio; using namespace std; static const std::string s = "abcdefghijklmnopqrstuvw...
21.818182
81
0.546429
opensvn
ad1f8a0630820136f694ff334d3530ed9e8c66ee
1,277
cpp
C++
swig/cpp/src/protocol/pubsub/pub.cpp
mwpowellhtx/cppnngswig
44e4c050b77b83608b440801dd253995c14bd1fc
[ "MIT" ]
null
null
null
swig/cpp/src/protocol/pubsub/pub.cpp
mwpowellhtx/cppnngswig
44e4c050b77b83608b440801dd253995c14bd1fc
[ "MIT" ]
null
null
null
swig/cpp/src/protocol/pubsub/pub.cpp
mwpowellhtx/cppnngswig
44e4c050b77b83608b440801dd253995c14bd1fc
[ "MIT" ]
null
null
null
#include "pub.h" #include "../../core/exceptions.hpp" namespace nng { namespace protocol { namespace v0 { using std::placeholders::_1; using std::bind; // While we could use nng_pub_open, I think it is sufficient to just use the versioned symbol. pub_socket...
31.925
106
0.585748
mwpowellhtx
ad24b9a37b2a86a6e9457817f40bbec6fccab99c
14,743
cc
C++
build/X86_MESI_Two_Level/python/m5/internal/Process_vector.py.cc
hoho20000000/gem5-fy
b59f6feed22896d6752331652c4d8a41a4ca4435
[ "BSD-3-Clause" ]
null
null
null
build/X86_MESI_Two_Level/python/m5/internal/Process_vector.py.cc
hoho20000000/gem5-fy
b59f6feed22896d6752331652c4d8a41a4ca4435
[ "BSD-3-Clause" ]
1
2020-08-20T05:53:30.000Z
2020-08-20T05:53:30.000Z
build/X86_MESI_Two_Level/python/m5/internal/Process_vector.py.cc
hoho20000000/gem5-fy
b59f6feed22896d6752331652c4d8a41a4ca4435
[ "BSD-3-Clause" ]
null
null
null
#include "sim/init.hh" namespace { const uint8_t data_m5_internal_Process_vector[] = { 120,156,205,92,125,136,36,71,21,127,213,51,59,179,179,187, 179,223,31,247,177,151,155,75,238,114,155,152,220,42,225,52, 38,231,105,76,142,112,234,93,98,111,228,46,27,165,233,157, 174,157,237,221,153,238,73,119,239,2...
59.447581
89
0.664722
hoho20000000
ad26b3e1e8d5460948f28c78cec98db130ab68df
244
hpp
C++
components/graphicsSettings.hpp
piotrplaza/MouseSpaceShooter
9aed0c16889b6ce70e725c165bf28307201e81d1
[ "MIT" ]
null
null
null
components/graphicsSettings.hpp
piotrplaza/MouseSpaceShooter
9aed0c16889b6ce70e725c165bf28307201e81d1
[ "MIT" ]
null
null
null
components/graphicsSettings.hpp
piotrplaza/MouseSpaceShooter
9aed0c16889b6ce70e725c165bf28307201e81d1
[ "MIT" ]
1
2020-06-16T10:32:06.000Z
2020-06-16T10:32:06.000Z
#pragma once #include <glm/vec4.hpp> #include <componentBase.hpp> namespace Components { struct GraphicsSettings : ComponentBase { glm::vec4 clearColor{ 0.0f, 0.0f, 0.0f, 1.0f }; glm::vec4 defaultColor{ 1.0f, 1.0f, 1.0f, 1.0f }; }; }
16.266667
51
0.672131
piotrplaza
ad27567fcd6469f421274dea41bf5c30eae7d735
333
cpp
C++
tools/clang/test/SemaCXX/return-stack-addr-2.cpp
tlatkdgus1/llvm-code_obfuscate
c4d0641f95704fb9909e2ac09500df1b6bc5d017
[ "Unlicense" ]
44
2016-10-26T20:52:18.000Z
2022-03-04T14:16:12.000Z
tools/clang/test/SemaCXX/return-stack-addr-2.cpp
tlatkdgus1/llvm-code_obfuscate
c4d0641f95704fb9909e2ac09500df1b6bc5d017
[ "Unlicense" ]
5
2017-01-18T11:06:09.000Z
2021-11-23T15:14:08.000Z
tools/clang/test/SemaCXX/return-stack-addr-2.cpp
tlatkdgus1/llvm-code_obfuscate
c4d0641f95704fb9909e2ac09500df1b6bc5d017
[ "Unlicense" ]
23
2016-11-27T09:48:12.000Z
2021-09-22T17:32:07.000Z
// RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify -std=c++11 %s // expected-no-diagnostics namespace PR26599 { template <typename> struct S; struct I {}; template <typename T> void *&non_pointer() { void *&r = S<T>()[I{}]; return r; } template <typename T> void *&pointer() { void *&r = S<T>()[nullptr]; re...
14.478261
65
0.615616
tlatkdgus1
ad29bcc3d2b354f6f1c127c70d4968f3eb3a9859
2,765
cpp
C++
examples/timer.cpp
foehnx/effortless
a90962782731e10827597c5102b2d24ba8183074
[ "MIT" ]
null
null
null
examples/timer.cpp
foehnx/effortless
a90962782731e10827597c5102b2d24ba8183074
[ "MIT" ]
1
2021-10-14T20:50:28.000Z
2021-11-09T18:37:32.000Z
examples/timer.cpp
foehnx/effortless
a90962782731e10827597c5102b2d24ba8183074
[ "MIT" ]
null
null
null
#include "effortless/timer.hpp" #include <unistd.h> #include <catch2/catch.hpp> #include "effortless/logger.hpp" using namespace effortless; using Scalar = double; static constexpr Scalar tol = 1e-2; static constexpr Scalar margin = 5e-4; /// Example of Timer as unit test TEST_CASE("Timer: Simple Timing", "[time...
27.107843
79
0.639783
foehnx
ad2c0164ddc740da18a7dd211533d8bf11466884
4,703
cpp
C++
NativeCode/Plugin_NoiseBox.cpp
mikosama326/unity-audio-endeavors
b321ec8729bf59db6d7a4bf355909d1195df5cd9
[ "MIT" ]
58
2020-03-05T09:20:59.000Z
2022-03-31T10:06:20.000Z
NativeCode/Plugin_NoiseBox.cpp
mikosama326/unity-audio-endeavors
b321ec8729bf59db6d7a4bf355909d1195df5cd9
[ "MIT" ]
5
2021-01-18T12:47:27.000Z
2022-03-08T08:41:06.000Z
NativeCode/Plugin_NoiseBox.cpp
mikosama326/unity-audio-endeavors
b321ec8729bf59db6d7a4bf355909d1195df5cd9
[ "MIT" ]
13
2020-09-14T09:50:41.000Z
2022-02-08T15:53:33.000Z
#include "AudioPluginUtil.h" namespace NoiseBox { enum Param { P_ADDAMT, P_MULAMT, P_ADDFREQ, P_MULFREQ, P_NUM }; struct EffectData { struct Data { float p[P_NUM]; float addcount; float addnoise; ...
39.521008
184
0.626409
mikosama326
ad2c0afb4efa5909897a93ad2968a93e9b931bb1
12,185
cpp
C++
examples/fem-reaction-diffusion-equation/mesh.cpp
kho19/ginkgo
cb17428bd2381a15d6c01cac42fa1e7016891239
[ "BSD-3-Clause" ]
1
2022-03-14T13:07:18.000Z
2022-03-14T13:07:18.000Z
examples/fem-reaction-diffusion-equation/mesh.cpp
kho19/ginkgo
cb17428bd2381a15d6c01cac42fa1e7016891239
[ "BSD-3-Clause" ]
null
null
null
examples/fem-reaction-diffusion-equation/mesh.cpp
kho19/ginkgo
cb17428bd2381a15d6c01cac42fa1e7016891239
[ "BSD-3-Clause" ]
null
null
null
/*******************************<GINKGO LICENSE>****************************** Copyright (c) 2017-2021, the Ginkgo authors 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 co...
38.31761
80
0.570538
kho19
ad2f6ff5f767d2070909d0cfa4b1b4867129b552
797
hpp
C++
src/database.hpp
AASF-IIITM/Intrusion-Detection-using-machine-learning-techniques
0f262bbb5ec9ff426ec52a55d5e3b9795ca519b0
[ "MIT" ]
2
2020-08-20T19:02:40.000Z
2020-10-09T17:55:19.000Z
src/database.hpp
hitanshu-mehta/Intrusion-Detection-using-machine-learning-techniques
50eef18991a2f6c69c9d17e71903bd90af8eb6bb
[ "MIT" ]
2
2020-10-06T05:32:18.000Z
2020-10-10T18:16:17.000Z
src/database.hpp
AASF-IIITM/Intrusion-Detection-using-machine-learning-techniques
0f262bbb5ec9ff426ec52a55d5e3b9795ca519b0
[ "MIT" ]
3
2020-09-29T06:02:08.000Z
2020-10-11T00:29:23.000Z
#ifndef DATABASE_HPP #define DATABASE_HPP #include <atomic> #include <mutex> // basic #include <bsoncxx/builder/basic/document.hpp> #include <bsoncxx/builder/basic/kvp.hpp> #include <bsoncxx/document/value.hpp> #include <mongocxx/client.hpp> #include <mongocxx/instance.hpp> #include <mongocxx/uri.hpp> /* Singlet...
19.925
77
0.74404
AASF-IIITM
ad3ba35056f243b28c051a4a6d4bf416b2b9602d
5,606
hpp
C++
SparseMatrix/SparseMatrix.hpp
colorhistory/data-structure-and-algorithm
402d1ab29e627ebd471632080e5b7194fe892a78
[ "MIT" ]
null
null
null
SparseMatrix/SparseMatrix.hpp
colorhistory/data-structure-and-algorithm
402d1ab29e627ebd471632080e5b7194fe892a78
[ "MIT" ]
null
null
null
SparseMatrix/SparseMatrix.hpp
colorhistory/data-structure-and-algorithm
402d1ab29e627ebd471632080e5b7194fe892a78
[ "MIT" ]
null
null
null
#ifndef SPARSEMATRIX_HPP #define SPARSEMATRIX_HPP #include "bits/stdc++.h" #include "Exception.hpp" #include "ExtendedArrayList.hpp" #include "MatrixTerm.hpp" namespace DSAA { template <typename T> class SparseMatrix; template <typename T> std::ostream &operator<<(std::ostream &out, const SparseMat...
32.034286
117
0.514449
colorhistory
ad4000fe95db9c7edd1520c22cf4fb9bb9aaa17f
736
cpp
C++
Array/Day_39_PalindromicArray.cpp
amitec9/100-days-of-code
8894cee5d6c9f04b38ddb909bdca81b6ceb114fd
[ "MIT" ]
3
2021-04-01T14:42:53.000Z
2021-06-14T08:33:16.000Z
Array/Day_39_PalindromicArray.cpp
amitec9/100-days-of-code
8894cee5d6c9f04b38ddb909bdca81b6ceb114fd
[ "MIT" ]
null
null
null
Array/Day_39_PalindromicArray.cpp
amitec9/100-days-of-code
8894cee5d6c9f04b38ddb909bdca81b6ceb114fd
[ "MIT" ]
null
null
null
// if an array is PalinArray or not #include<bits/stdc++.h> using namespace std; bool isPalindrome(int N) { string str = "" + N; int len = str.length(); for (int i = 0; i < len / 2; i++) { if (str[i] != str[len - 1 - i]) return false; } return true; } bool Array(int arr[] , int...
17.116279
38
0.516304
amitec9
ad4462967d5c404a8151bc8fe586ef20a7473bc1
3,625
hpp
C++
clstatphys/clstatphys/physics/sinh_lattice_fixed_end.hpp
FIshikawa/ClassicalStatPhys
e4010480d3c7977829c1b3fdeaf51401a2409373
[ "MIT" ]
null
null
null
clstatphys/clstatphys/physics/sinh_lattice_fixed_end.hpp
FIshikawa/ClassicalStatPhys
e4010480d3c7977829c1b3fdeaf51401a2409373
[ "MIT" ]
2
2020-01-21T08:54:05.000Z
2020-01-21T09:29:10.000Z
clstatphys/clstatphys/physics/sinh_lattice_fixed_end.hpp
FIshikawa/ClassicalStatPhys
e4010480d3c7977829c1b3fdeaf51401a2409373
[ "MIT" ]
2
2020-07-18T03:36:32.000Z
2021-07-21T22:58:27.000Z
#ifndef HAMILTONIAN_SINH_LATTICE_FIXED_END_HPP #define HAMILTONIAN_SINH_LATTICE_FIXED_END_HPP #include <string> #include <cmath> #include <vector> namespace hamiltonian{ class SinhLatticeFixedEnd { public: static std::string name() { return "Toda Lattice: fixed End : must use Open Boundary Chain Lattice"; } // z...
32.079646
183
0.538759
FIshikawa
ad4a7e2e4a7721d0c6a79f01dc34003e73b01229
1,109
cpp
C++
examples/console_recompile/main.cpp
dtmoodie/MetaObject
8238d143d578ff9c0c6506e7e627eca15e42369e
[ "MIT" ]
2
2017-10-26T04:41:49.000Z
2018-02-09T05:12:19.000Z
examples/console_recompile/main.cpp
dtmoodie/MetaObject
8238d143d578ff9c0c6506e7e627eca15e42369e
[ "MIT" ]
null
null
null
examples/console_recompile/main.cpp
dtmoodie/MetaObject
8238d143d578ff9c0c6506e7e627eca15e42369e
[ "MIT" ]
3
2017-01-08T21:09:48.000Z
2018-02-10T04:27:32.000Z
#include "obj.hpp" #include <MetaObject/logging/logging.hpp> #include <MetaObject/object/MetaObjectFactory.hpp> #include <boost/thread.hpp> int main() { try { THROW(debug, "Test throw"); } catch (std::runtime_error& e) { (void)e; MO_LOG(debug, "Exception caug...
24.108696
86
0.538323
dtmoodie
ad4caafa42620356de2ffa991c9c251a2868cef9
818
cpp
C++
0034-find-first-and-last-position-of-element-in-sorted-array.cpp
Jamesweng/leetcode
1711a2a0e31d831e40137203c9abcba0bf56fcad
[ "Apache-2.0" ]
106
2019-06-08T15:23:45.000Z
2020-04-04T17:56:54.000Z
0034-find-first-and-last-position-of-element-in-sorted-array.cpp
Jamesweng/leetcode
1711a2a0e31d831e40137203c9abcba0bf56fcad
[ "Apache-2.0" ]
null
null
null
0034-find-first-and-last-position-of-element-in-sorted-array.cpp
Jamesweng/leetcode
1711a2a0e31d831e40137203c9abcba0bf56fcad
[ "Apache-2.0" ]
3
2019-07-13T05:51:29.000Z
2020-04-04T17:56:57.000Z
class Solution { public: int bs(vector<int>& nums, int p, bool lower_bound) { int lo = 0, hi = nums.size() - 1, ret = -1; while (lo <= hi) { int mi = (lo + hi) / 2; if (nums[mi] > p) { hi = mi - 1; } else if (nums[mi] < p) { ...
26.387097
60
0.383863
Jamesweng
ad4febe7d4d4dc5532a1a4a9d51627c22789252c
249
cpp
C++
Labs/Lab18/Respostas/lab18q1.cpp
JudsonSS/ProgComp
6435c3e31a4b0715805feaf890223838161d11f0
[ "MIT" ]
11
2021-03-04T03:58:09.000Z
2022-02-27T16:32:41.000Z
Labs/Lab18/Respostas/lab18q1.cpp
JudsonSS/ProgComp
6435c3e31a4b0715805feaf890223838161d11f0
[ "MIT" ]
null
null
null
Labs/Lab18/Respostas/lab18q1.cpp
JudsonSS/ProgComp
6435c3e31a4b0715805feaf890223838161d11f0
[ "MIT" ]
7
2021-03-02T22:34:33.000Z
2022-03-06T21:18:15.000Z
#include <iostream> using namespace std; int main() { cout << "Digite numeros (zero para encerrar):\n"; int num; int soma = 0; do { cin >> num; soma += num; cout << "Soma parcial: " << soma << endl; } while (num != 0); return 0; }
12.45
50
0.566265
JudsonSS
ad504c12b341dcf4fe1f3752bb14a92f1d753080
1,495
cpp
C++
src/exec/memStats.cpp
compstruct/hornet
44d8368ae39778c1c838b9d23b747be17e82e3a4
[ "MIT" ]
null
null
null
src/exec/memStats.cpp
compstruct/hornet
44d8368ae39778c1c838b9d23b747be17e82e3a4
[ "MIT" ]
null
null
null
src/exec/memStats.cpp
compstruct/hornet
44d8368ae39778c1c838b9d23b747be17e82e3a4
[ "MIT" ]
1
2021-03-25T18:07:20.000Z
2021-03-25T18:07:20.000Z
// -*- mode:c++; c-style:k&r; c-basic-offset:4; indent-tabs-mode: nil; -*- // vi:set et cin sw=4 cino=>se0n0f0{0}0^0\:0=sl1g0hspst0+sc3C0/0(0u0U0w0m0: #include "memStats.hpp" memStatsPerTile::memStatsPerTile(uint32_t id, const uint64_t &t) : m_id(id), system_time(t), m_reads(0), m_writes(0) { } memStatsPerTile:...
27.685185
77
0.61204
compstruct
ad54bab7f85b06a6f71877e7a3a3b334d5d7c99a
4,200
cpp
C++
2nd year 2nd semester/Data Structure/BST.cpp
duetianmehedishuvo/university_repo
e9c0a5d3113fa28d33216f240a708aa3c11e8ab3
[ "Apache-2.0" ]
null
null
null
2nd year 2nd semester/Data Structure/BST.cpp
duetianmehedishuvo/university_repo
e9c0a5d3113fa28d33216f240a708aa3c11e8ab3
[ "Apache-2.0" ]
null
null
null
2nd year 2nd semester/Data Structure/BST.cpp
duetianmehedishuvo/university_repo
e9c0a5d3113fa28d33216f240a708aa3c11e8ab3
[ "Apache-2.0" ]
null
null
null
#include<bits/stdc++.h> using namespace std; class Node { public: int key; Node *parent; Node *left; Node *right; Node(int data) { key = data; parent = NULL; left = NULL; right = NULL; } }; class Tree { public: Node *root; Tree() { root...
18.834081
58
0.412143
duetianmehedishuvo
ad5a99d55b1841b1271c99f6a1024b615c66c471
11,818
cpp
C++
project/test/type_traits/first.cpp
daishe/commander
0a23abcbe406e234a4242e0d508bb89d72b28e25
[ "BSL-1.0" ]
null
null
null
project/test/type_traits/first.cpp
daishe/commander
0a23abcbe406e234a4242e0d508bb89d72b28e25
[ "BSL-1.0" ]
null
null
null
project/test/type_traits/first.cpp
daishe/commander
0a23abcbe406e234a4242e0d508bb89d72b28e25
[ "BSL-1.0" ]
null
null
null
// Copyright Marek Dalewski 2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at // http://www.boost.org/LICENSE_1_0.txt) #include <commander/detail__type_traits/first.hpp> #include <boost/test/unit_test.hpp> #include <type_...
73.403727
168
0.642748
daishe
ad5d773621332552db65c08abf3950ac5ee9becc
1,009
cpp
C++
Mocha/Mocha/PhysicsUpdate.cpp
Morkonena/Coffee-Maker
45d91301ef497c3a009379ec4ea3bbe18ec21808
[ "MIT" ]
null
null
null
Mocha/Mocha/PhysicsUpdate.cpp
Morkonena/Coffee-Maker
45d91301ef497c3a009379ec4ea3bbe18ec21808
[ "MIT" ]
null
null
null
Mocha/Mocha/PhysicsUpdate.cpp
Morkonena/Coffee-Maker
45d91301ef497c3a009379ec4ea3bbe18ec21808
[ "MIT" ]
null
null
null
#include "PhysicsUpdate.h" using namespace Core; PhysicsUpdate::PhysicsUpdate (int priority) : Priority(priority) {} PhysicsUpdate PhysicsUpdate::Merge (PhysicsUpdate& with) { PhysicsUpdate merged(Priority); // Determine which of these two updates has higher and lower priority PhysicsUpdate& higher = (Priority...
25.871795
84
0.720515
Morkonena
ad5dd41d8ed79be16f0d3d9ec2be526fd4a319eb
19,293
hpp
C++
clients/include/flops.hpp
eidenyoshida/rocBLAS
0fffe6db53e7c472cc49b554ddd1bde3665b06a4
[ "MIT" ]
null
null
null
clients/include/flops.hpp
eidenyoshida/rocBLAS
0fffe6db53e7c472cc49b554ddd1bde3665b06a4
[ "MIT" ]
null
null
null
clients/include/flops.hpp
eidenyoshida/rocBLAS
0fffe6db53e7c472cc49b554ddd1bde3665b06a4
[ "MIT" ]
null
null
null
/* ************************************************************************ * Copyright 2018-2020 Advanced Micro Devices, Inc. * * ************************************************************************/ #ifndef _ROCBLAS_FLOPS_H_ #define _ROCBLAS_FLOPS_H_ #include "rocblas.h" /*!\file * \brief provides Floating...
26.428767
100
0.660654
eidenyoshida
ad652f6f6a6f2dfc7fad55e1548196f135387206
3,115
cpp
C++
src/unicode.cpp
Collobos/nodeoze
40d98bb085d27f6c283aac61d2b373bf761188d6
[ "MIT" ]
null
null
null
src/unicode.cpp
Collobos/nodeoze
40d98bb085d27f6c283aac61d2b373bf761188d6
[ "MIT" ]
null
null
null
src/unicode.cpp
Collobos/nodeoze
40d98bb085d27f6c283aac61d2b373bf761188d6
[ "MIT" ]
null
null
null
/* * Copyright (c) 2013-2017, Collobos Software Inc. * 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 * ...
20.90604
82
0.572713
Collobos
ad68ac00a5296a15f41f3e94ec18f9a3302e32b3
26,301
cpp
C++
src/model/test/FanSystemModel_GTest.cpp
macumber/OpenStudio
1773b54ce1cb660818ac0114dd7eefae6639ca36
[ "blessing" ]
null
null
null
src/model/test/FanSystemModel_GTest.cpp
macumber/OpenStudio
1773b54ce1cb660818ac0114dd7eefae6639ca36
[ "blessing" ]
null
null
null
src/model/test/FanSystemModel_GTest.cpp
macumber/OpenStudio
1773b54ce1cb660818ac0114dd7eefae6639ca36
[ "blessing" ]
null
null
null
/*********************************************************************************************************************** * OpenStudio(R), Copyright (c) 2008-2020, Alliance for Sustainable Energy, LLC, and other contributors. All rights reserved. * * Redistribution and use in source and binary forms, with or without m...
38.792035
143
0.745637
macumber
ad6a745264da1777b3dbd1b094c687f4712ab57b
1,773
cpp
C++
tests/test_sampling.cpp
turner-renderer/renderer
e56229ee88cff895e45929b5fddd03967df94660
[ "Apache-2.0" ]
null
null
null
tests/test_sampling.cpp
turner-renderer/renderer
e56229ee88cff895e45929b5fddd03967df94660
[ "Apache-2.0" ]
31
2017-01-25T07:32:41.000Z
2017-06-14T20:51:24.000Z
tests/test_sampling.cpp
turner-renderer/turner
e56229ee88cff895e45929b5fddd03967df94660
[ "Apache-2.0" ]
null
null
null
#include "../lib/intersection.h" #include "../lib/output.h" #include "../lib/sampling.h" #include "helper.h" #include <catch.hpp> namespace { constexpr float TOLERANCE = 0.01f; } TEST_CASE("Test Hemisphere sampling", "[sampling]") { static constexpr int NUM_VECS = 100; static constexpr int NUM_SAMPLES = 100;...
30.568966
77
0.580936
turner-renderer
ad6b5192153208b2c63a883613736c182c6bd30f
1,573
hpp
C++
test/include/tools.hpp
sablinkv/algorithms
e0470533b3d51f872bb9a24db20615864f397854
[ "MIT" ]
null
null
null
test/include/tools.hpp
sablinkv/algorithms
e0470533b3d51f872bb9a24db20615864f397854
[ "MIT" ]
null
null
null
test/include/tools.hpp
sablinkv/algorithms
e0470533b3d51f872bb9a24db20615864f397854
[ "MIT" ]
null
null
null
#pragma once #include <gtest/gtest.h> #include <random> #include <algorithm> #include <chrono> template<class T> class RandomGenerator { public: using value_type = T; static_assert(std::is_arithmetic_v<value_type>, "Template type must be arithmetic type."); using distribution_type = std::conditional_t< ...
26.661017
97
0.666879
sablinkv
ad6bd53036a53d5e91fa6191c841e503d145134b
1,658
cpp
C++
net.ssa/Plugins/shader/xrShaderLib.cpp
ixray-team/xray-vss-archive
b245c8601dcefb505b4b51f58142da6769d4dc92
[ "Linux-OpenIB" ]
1
2022-03-26T17:00:19.000Z
2022-03-26T17:00:19.000Z
net.ssa/Plugins/shader/xrShaderLib.cpp
ixray-team/xray-vss-archive
b245c8601dcefb505b4b51f58142da6769d4dc92
[ "Linux-OpenIB" ]
null
null
null
net.ssa/Plugins/shader/xrShaderLib.cpp
ixray-team/xray-vss-archive
b245c8601dcefb505b4b51f58142da6769d4dc92
[ "Linux-OpenIB" ]
1
2022-03-26T17:00:21.000Z
2022-03-26T17:00:21.000Z
#include "stdafx.h" #include "xrShaderDef.h" static CLASS_ID signature = MK_CLSID('R','E','D','A','H','S','r','x'); IC bool sort_pred(const SH_ShaderDef& A, const SH_ShaderDef& B) { return strcmp(A.cName,B.cName)<0; } void shLibrary_Sort(std::vector<SH_ShaderDef> &LIB) { std::sort(LIB.begin(),LIB.end(),so...
26.741935
77
0.668275
ixray-team
ad711261ee7ec23e4e8d6221c46ede8f245c9e01
238,011
cc
C++
INET_EC/routing/ospfv2/OSPFPacket_m.cc
LarryNguyen/ECSim-
0d3f848642e49845ed7e4c7b97dd16bd3d65ede5
[ "Apache-2.0" ]
null
null
null
INET_EC/routing/ospfv2/OSPFPacket_m.cc
LarryNguyen/ECSim-
0d3f848642e49845ed7e4c7b97dd16bd3d65ede5
[ "Apache-2.0" ]
null
null
null
INET_EC/routing/ospfv2/OSPFPacket_m.cc
LarryNguyen/ECSim-
0d3f848642e49845ed7e4c7b97dd16bd3d65ede5
[ "Apache-2.0" ]
1
2018-10-09T05:00:05.000Z
2018-10-09T05:00:05.000Z
// // Generated file, do not edit! Created by nedtool 5.1 from inet/routing/ospfv2/OSPFPacket.msg. // // Disable warnings about unused variables, empty switch stmts, etc: #ifdef _MSC_VER # pragma warning(disable:4101) # pragma warning(disable:4065) #endif #if defined(__clang__) # pragma clang diagnostic ignored "-...
34.549427
196
0.696048
LarryNguyen
ad794f8ba1ce7f5c87be846fca3c0e7b48297d37
319
cpp
C++
compendium/test_bundles/TestBundleDSTOI10/src/ServiceImpl.cpp
gitabhishekdp/CppMicroServices
9485d98d462f72ab29dd199eb355e8d6d5789ae9
[ "Apache-2.0" ]
1
2019-11-01T02:57:31.000Z
2019-11-01T02:57:31.000Z
compendium/test_bundles/TestBundleDSTOI10/src/ServiceImpl.cpp
gitabhishekdp/CppMicroServices
9485d98d462f72ab29dd199eb355e8d6d5789ae9
[ "Apache-2.0" ]
1
2019-11-05T12:51:59.000Z
2019-11-05T12:51:59.000Z
compendium/test_bundles/TestBundleDSTOI10/src/ServiceImpl.cpp
gitabhishekdp/CppMicroServices
9485d98d462f72ab29dd199eb355e8d6d5789ae9
[ "Apache-2.0" ]
null
null
null
#include "ServiceImpl.hpp" namespace sample { void ServiceComponent10::Activate(const std::shared_ptr<ComponentContext>&) { activated = true; }; void ServiceComponent10::Deactivate(const std::shared_ptr<ComponentContext>&) { deactivated = true; }; ServiceComponent10::~ServiceComponent10() {}; }
22.785714
79
0.721003
gitabhishekdp
ad803d57ce4d50c318c820cab3472b8ddcbd0e57
1,084
cpp
C++
grooking_patterns_cpp/2_two_pointers/2_10.cpp
Amarnathpg123/grokking_coding_patterns
c615482ef2819d90cba832944943a6b5713d11f3
[ "MIT" ]
1
2021-09-19T16:41:58.000Z
2021-09-19T16:41:58.000Z
grooking_patterns_cpp/2_two_pointers/2_10.cpp
Amarnathpg123/grokking_coding_patterns
c615482ef2819d90cba832944943a6b5713d11f3
[ "MIT" ]
null
null
null
grooking_patterns_cpp/2_two_pointers/2_10.cpp
Amarnathpg123/grokking_coding_patterns
c615482ef2819d90cba832944943a6b5713d11f3
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; unsigned smallest_sub_array_unsorted(vector<int> &array){ size_t left = 0, right = array.size()-1; while(left < array.size() and array[left] < array[left+1]) left++; if(left == array.size()-1) return 0; while(right > 0 and array[right-1] < array[right]) rig...
30.971429
129
0.601476
Amarnathpg123
ad84a1f0a007dd774411540f4880d2512487a85f
626
cpp
C++
mvp_tips/CPUID/CPUID/FormatBinary.cpp
allen7575/The-CPUID-Explorer
77d0feef70482b2e36cff300ea24271384329f60
[ "Naumen", "Condor-1.1", "MS-PL" ]
9
2017-08-31T06:03:18.000Z
2019-01-06T05:07:26.000Z
mvp_tips/CPUID/CPUID/FormatBinary.cpp
allen7575/The-CPUID-Explorer
77d0feef70482b2e36cff300ea24271384329f60
[ "Naumen", "Condor-1.1", "MS-PL" ]
null
null
null
mvp_tips/CPUID/CPUID/FormatBinary.cpp
allen7575/The-CPUID-Explorer
77d0feef70482b2e36cff300ea24271384329f60
[ "Naumen", "Condor-1.1", "MS-PL" ]
8
2017-08-31T06:23:22.000Z
2022-01-24T06:47:19.000Z
#include "stdafx.h" #include "FormatBinary.h" /**************************************************************************** * FormatBinary * Inputs: * UINT n: Value to format * UINT w: Width to format * Result: CString * n formatted as binary to w bits ****************...
26.083333
77
0.361022
allen7575
ad862c7d315b98cf2c695e15b7c60df5e4d17af5
6,261
inl
C++
Library/Sources/Stroika/Foundation/Math/Angle.inl
SophistSolutions/Stroika
f4e5d84767903a054fba0a6b9c7c4bd1aaefd105
[ "MIT" ]
28
2015-09-22T21:43:32.000Z
2022-02-28T01:35:01.000Z
Library/Sources/Stroika/Foundation/Math/Angle.inl
SophistSolutions/Stroika
f4e5d84767903a054fba0a6b9c7c4bd1aaefd105
[ "MIT" ]
98
2015-01-22T03:21:27.000Z
2022-03-02T01:47:00.000Z
Library/Sources/Stroika/Foundation/Math/Angle.inl
SophistSolutions/Stroika
f4e5d84767903a054fba0a6b9c7c4bd1aaefd105
[ "MIT" ]
4
2019-02-21T16:45:25.000Z
2022-02-18T13:40:04.000Z
/* * Copyright(c) Sophist Solutions, Inc. 1990-2021. All rights reserved */ #ifndef _Stroika_Foundation_Math_Angle_inl_ #define _Stroika_Foundation_Math_Angle_inl_ 1 /* ******************************************************************************** ***************************** Implementation Details ***********...
35.982759
121
0.461747
SophistSolutions
ad862ca29e0007a6823ce81d8dced3dbd6f671d7
6,819
cpp
C++
src/DirectionalLight.cpp
pianoman373/crucible
fa03ca471fef56cf2def029a14bcc6a467996dfa
[ "MIT" ]
2
2019-02-17T02:55:38.000Z
2019-04-19T04:57:39.000Z
src/DirectionalLight.cpp
pianoman373/crucible
fa03ca471fef56cf2def029a14bcc6a467996dfa
[ "MIT" ]
null
null
null
src/DirectionalLight.cpp
pianoman373/crucible
fa03ca471fef56cf2def029a14bcc6a467996dfa
[ "MIT" ]
1
2018-12-03T22:39:44.000Z
2018-12-03T22:39:44.000Z
#include <crucible/DirectionalLight.hpp> #include <crucible/Frustum.hpp> #include <crucible/Resources.hpp> #include <crucible/Camera.hpp> #include <crucible/Renderer.hpp> #include <glad/glad.h> Camera DirectionalLight::getShadowCamera(float radius, const Camera &cam, float depth) { Camera ret; ret.position = ...
37.262295
192
0.687931
pianoman373
ad888232075ad697dce2754a7720f908f6fad041
13,037
cpp
C++
Angel/Libraries/FTGL/test/FTVectoriser-Test.cpp
Tifox/Grog-Knight
377a661286cda7ee3b2b2d0099641897938c2f8f
[ "Apache-2.0" ]
171
2015-01-08T10:35:56.000Z
2021-07-03T12:35:10.000Z
Angel/Libraries/FTGL/test/FTVectoriser-Test.cpp
Tifox/Grog-Knight
377a661286cda7ee3b2b2d0099641897938c2f8f
[ "Apache-2.0" ]
11
2015-01-30T05:30:54.000Z
2017-04-08T23:34:33.000Z
Angel/Libraries/FTGL/test/FTVectoriser-Test.cpp
Tifox/Grog-Knight
377a661286cda7ee3b2b2d0099641897938c2f8f
[ "Apache-2.0" ]
59
2015-02-01T03:43:00.000Z
2020-12-01T02:08:57.000Z
#include <cppunit/extensions/HelperMacros.h> #include <cppunit/TestCaller.h> #include <cppunit/TestCase.h> #include <cppunit/TestSuite.h> #include <assert.h> #include "Fontdefs.h" #include "FTVectoriser.h" static double testOutline[] = { 28, 0, 0.0, 28, 4.53125, 0.0, 26.4756, 2.54, 0.0, ...
27.976395
112
0.498274
Tifox
ad90302c426cb4f1b9ade6db709edf95ccbcb5b6
530
cpp
C++
mrJudge/problems/oranges (832)/oranges.cpp
object-oriented-human/competitive
9e761020e887d8980a39a64eeaeaa39af0ecd777
[ "MIT" ]
2
2021-07-27T10:46:47.000Z
2021-07-27T10:47:57.000Z
mrJudge/problems/oranges (832)/oranges.cpp
foooop/competitive
9e761020e887d8980a39a64eeaeaa39af0ecd777
[ "MIT" ]
null
null
null
mrJudge/problems/oranges (832)/oranges.cpp
foooop/competitive
9e761020e887d8980a39a64eeaeaa39af0ecd777
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int main() { unsigned long long n, a=0, m1=0, m2=0; cin >> n; vector<unsigned long long> v; for (int i = 0; i < n; i++) { unsigned long long x; cin >> x; v.push_back(x); if (x > a) { a = x; m1 = i + 1; } ...
19.62963
52
0.369811
object-oriented-human
74ec22ddfac61eb0b7f83509e68baa9d63ddb85b
133,323
cpp
C++
APEX_1.4/module/destructible/src/DestructibleActorImpl.cpp
gongyiling/PhysX-3.4
99bc1c62880cf626f9926781e76a528b5276c68b
[ "Unlicense" ]
1,863
2018-12-03T13:06:03.000Z
2022-03-29T07:12:37.000Z
APEX_1.4/module/destructible/src/DestructibleActorImpl.cpp
cctxx/PhysX-3.4-1
5e42a5f112351a223c19c17bb331e6c55037b8eb
[ "Unlicense" ]
71
2018-12-03T19:48:39.000Z
2022-01-11T09:30:52.000Z
APEX_1.4/module/destructible/src/DestructibleActorImpl.cpp
cctxx/PhysX-3.4-1
5e42a5f112351a223c19c17bb331e6c55037b8eb
[ "Unlicense" ]
265
2018-12-03T14:30:03.000Z
2022-03-25T20:57:01.000Z
// // 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 conditions and the following disclaimer. // * Redistributions in bin...
34.423703
261
0.747215
gongyiling
74edd83c6d660e8cdf0cff8e3994442fe64a8ac5
4,293
cc
C++
p4_pdpi/connection_management.cc
eth0xFEED/p4-pdpi
a969f04634eceb936f4b5b19331e5a46911a7970
[ "Apache-2.0" ]
13
2020-07-09T15:45:48.000Z
2020-10-01T14:52:19.000Z
p4_pdpi/connection_management.cc
eth0xFEED/p4-pdpi
a969f04634eceb936f4b5b19331e5a46911a7970
[ "Apache-2.0" ]
6
2020-06-30T17:19:47.000Z
2020-10-15T23:30:50.000Z
p4_pdpi/connection_management.cc
eth0xFEED/p4-pdpi
a969f04634eceb936f4b5b19331e5a46911a7970
[ "Apache-2.0" ]
7
2020-06-30T16:49:33.000Z
2020-10-08T00:20:24.000Z
// Copyright 2020 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
39.385321
80
0.70976
eth0xFEED
74f0ceeb281d16b074e6fe2e3fdd36827dad6cd3
6,074
hpp
C++
libcaf_core/caf/sum_type.hpp
dcode/actor-framework
47ebe211f07d31725a3910ed966db1c31192d984
[ "BSL-1.0", "BSD-3-Clause" ]
4
2019-05-03T05:38:15.000Z
2020-08-25T15:23:19.000Z
libcaf_core/caf/sum_type.hpp
jsiwek/actor-framework
06cd2836f4671725cb7eaa22b3cc115687520fc1
[ "BSL-1.0", "BSD-3-Clause" ]
1
2021-11-26T13:14:47.000Z
2021-11-26T16:29:58.000Z
libcaf_core/caf/sum_type.hpp
jsiwek/actor-framework
06cd2836f4671725cb7eaa22b3cc115687520fc1
[ "BSL-1.0", "BSD-3-Clause" ]
3
2020-05-21T20:54:58.000Z
2020-06-17T13:44:13.000Z
/****************************************************************************** * ____ _ _____ * * / ___| / \ | ___| C++ * * | | / _ \ | |_ Actor * ...
35.940828
80
0.576062
dcode
74f81ab06aec862cdab11e1ed9ec696c11a1d63b
38,854
cpp
C++
src/node/builder_wrapper.cpp
couchand/petard
52e38c35f213ee88a21c917054ff52e426bd7795
[ "MIT" ]
11
2016-03-04T14:57:31.000Z
2018-10-16T15:49:31.000Z
src/node/builder_wrapper.cpp
couchand/petard
52e38c35f213ee88a21c917054ff52e426bd7795
[ "MIT" ]
null
null
null
src/node/builder_wrapper.cpp
couchand/petard
52e38c35f213ee88a21c917054ff52e426bd7795
[ "MIT" ]
null
null
null
// builder #include "builder_wrapper.h" #include "type_wrapper.h" #include "value_wrapper.h" #include "function_builder_wrapper.h" #include "switch_builder_wrapper.h" #include "nan_macros.h" #include <memory> NAN_METHOD(BuilderWrapper::New) { if (!info.IsConstructCall() || info.Length() == 0 || !info[0]->IsExt...
38.660697
122
0.529881
couchand
74f852ae41247404419639942c8bcba47616e26b
388
cpp
C++
src/Looper.cpp
clone45/voxglitch
121d5fd7e4c94b86d5a25349134eee92970939d4
[ "BSD-3-Clause" ]
60
2020-01-02T15:56:47.000Z
2022-03-25T21:28:53.000Z
src/Looper.cpp
clone45/voxglitch
121d5fd7e4c94b86d5a25349134eee92970939d4
[ "BSD-3-Clause" ]
47
2020-01-02T08:49:55.000Z
2022-03-11T18:26:33.000Z
src/Looper.cpp
clone45/voxglitch
121d5fd7e4c94b86d5a25349134eee92970939d4
[ "BSD-3-Clause" ]
9
2020-01-19T19:57:23.000Z
2022-03-01T11:29:02.000Z
#include "plugin.hpp" #include "osdialog.h" #include "Common/sample.hpp" #include "settings.hpp" #include "Looper/defines.h" #include "Looper/SamplePlayer.hpp" #include "Looper/Looper.hpp" #include "Looper/LooperLoadSample.hpp" #include "Looper/LooperWaveformDisplay.hpp" #include "Looper/LooperWidget.hpp" ...
27.714286
66
0.75
clone45
74f8c977c9d9bcf53e0c3d699d5af098fc35f454
2,831
cpp
C++
src/Breakpoints.cpp
Sakrac/IceBro
0c260ef0f4b0a3e447d6b1ca35a47e5c38657e36
[ "MIT" ]
39
2019-12-14T22:32:29.000Z
2021-06-15T15:13:12.000Z
src/Breakpoints.cpp
Sakrac/IceBro
0c260ef0f4b0a3e447d6b1ca35a47e5c38657e36
[ "MIT" ]
14
2019-12-20T17:42:19.000Z
2020-04-05T10:25:56.000Z
src/Breakpoints.cpp
Sakrac/IceBro
0c260ef0f4b0a3e447d6b1ca35a47e5c38657e36
[ "MIT" ]
null
null
null
// Manages breakpoint window and synchronizing vice in monitor mode #include <stdint.h> #include <vector> #include "struse/struse.h" #include "ViceConnect.h" #include "Breakpoints.h" #include "machine.h" #define MAX_VICEBP 256 //typedef std::vector<ViceBP> ViceBPList; static ViceBP viceBreaks[ MAX_VICEBP ]; static...
25.504505
122
0.612151
Sakrac
74fbef7a89e20bcd65185d8241a2f36aa2487c6f
561
cpp
C++
diffusion3d/src/bin/main.cpp
ahewer/mri-shape-tools
4268499948f1330b983ffcdb43df62e38ca45079
[ "MIT" ]
null
null
null
diffusion3d/src/bin/main.cpp
ahewer/mri-shape-tools
4268499948f1330b983ffcdb43df62e38ca45079
[ "MIT" ]
2
2017-05-29T09:43:01.000Z
2017-05-29T09:50:05.000Z
diffusion3d/src/bin/main.cpp
ahewer/mri-shape-tools
4268499948f1330b983ffcdb43df62e38ca45079
[ "MIT" ]
4
2017-05-17T11:56:02.000Z
2022-03-05T09:12:24.000Z
#include "image/Image.h" #include "settings.h" int main(int argc, char* argv[]) { Settings settings(argc, argv); Image scan; scan.read().from(settings.inputScan); scan.values().scale(0, 255); scan.filter().diffusion( settings.timeSteps, settings.stepSiz...
21.576923
50
0.518717
ahewer
74fe4a4bfa8a08d1e7d774018cf2531e6dd42837
110
hpp
C++
Solution/Header/Graphics/Light/Light.hpp
TeeNik/GameEngine
9a3893455f20e14f967e5df9b2168fa0f004c101
[ "MIT" ]
null
null
null
Solution/Header/Graphics/Light/Light.hpp
TeeNik/GameEngine
9a3893455f20e14f967e5df9b2168fa0f004c101
[ "MIT" ]
null
null
null
Solution/Header/Graphics/Light/Light.hpp
TeeNik/GameEngine
9a3893455f20e14f967e5df9b2168fa0f004c101
[ "MIT" ]
null
null
null
#pragma once #include "Math/Math.h" struct Light { Vector3 ambient; Vector3 diffuse; Vector3 specular; };
11
22
0.727273
TeeNik