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
bfc94e8a369ac0b387b55fb5dfc0562e1d119cba
442
cpp
C++
CommandExecutorDecorator.cpp
Gruppio/House
46183d24531d2dd14acc7e9092fe29a39595d8b4
[ "MIT" ]
1
2019-11-17T08:57:28.000Z
2019-11-17T08:57:28.000Z
CommandExecutorDecorator.cpp
Gruppio/House
46183d24531d2dd14acc7e9092fe29a39595d8b4
[ "MIT" ]
null
null
null
CommandExecutorDecorator.cpp
Gruppio/House
46183d24531d2dd14acc7e9092fe29a39595d8b4
[ "MIT" ]
null
null
null
// // CommandExecutorDecorator.cpp // Ambrogio // // Created by Gruppioni Michele on 20/11/2016. // Copyright © 2016 Michele Gruppioni. All rights reserved. // #include "CommandExecutorDecorator.h" CommandExecutorDecorator::CommandExecutorDecorator(CommandExecutor *commandExecutor) :commandExecutor(commandExecuto...
24.555556
84
0.78733
Gruppio
bfd4348b4676821fb281169c958199fcde8a14b8
571
hxx
C++
src/demo/bode/bode.hxx
rochus-keller/nappgui_src
394875dfc11c9c73cd7995d56f77dcd4629d70b5
[ "MIT" ]
133
2021-09-09T17:53:54.000Z
2022-03-24T17:17:35.000Z
src/demo/bode/bode.hxx
rochus-keller/nappgui_src
394875dfc11c9c73cd7995d56f77dcd4629d70b5
[ "MIT" ]
9
2021-09-09T21:20:49.000Z
2022-03-22T00:07:56.000Z
src/demo/bode/bode.hxx
rochus-keller/nappgui_src
394875dfc11c9c73cd7995d56f77dcd4629d70b5
[ "MIT" ]
10
2021-11-25T00:15:32.000Z
2022-01-18T13:46:32.000Z
/* * NAppGUI Cross-platform C SDK * 2015-2022 Francisco Garcia Collado * MIT Licence * https://nappgui.com/en/legal/license.html * * File: bode.hxx * */ /* Bode Types */ #ifndef __TYPES_HXX__ #define __TYPES_HXX__ #include "gui.hxx" typedef struct _params_t Params; typedef struct _model_t Model; typedef str...
13.595238
44
0.712785
rochus-keller
bfd49e2e4c39de94a8724db19fa453afeda9c926
2,262
cpp
C++
third-party/Empirical/examples/config/namespaces.cpp
koellingh/empirical-p53-simulator
aa6232f661e8fc65852ab6d3e809339557af521b
[ "MIT" ]
null
null
null
third-party/Empirical/examples/config/namespaces.cpp
koellingh/empirical-p53-simulator
aa6232f661e8fc65852ab6d3e809339557af521b
[ "MIT" ]
null
null
null
third-party/Empirical/examples/config/namespaces.cpp
koellingh/empirical-p53-simulator
aa6232f661e8fc65852ab6d3e809339557af521b
[ "MIT" ]
null
null
null
#include <iostream> #include "emp/config/config.hpp" EMP_BUILD_CONFIG( MyConfig, GROUP(DEFAULT_GROUP, "General Settings"), VALUE(DEBUG_MODE, bool, false, "Should we output debug information?"), VALUE(RANDOM_SEED, int, 0, "Random number seed (0 for based on time)"), GROUP(TEST_GROUP, "These are settings with ...
46.163265
132
0.662688
koellingh
bfd5156f8d2ef8243bcedc72435a19f18f3c28c7
4,745
cpp
C++
TestC_21_Crab Pong/main.cpp
liuyuwang2016/OpenGL-Tutorial-by-Yvan-Liu
9309df734ade3e26e95aabfd33eaeabe5e7d701d
[ "MIT" ]
null
null
null
TestC_21_Crab Pong/main.cpp
liuyuwang2016/OpenGL-Tutorial-by-Yvan-Liu
9309df734ade3e26e95aabfd33eaeabe5e7d701d
[ "MIT" ]
null
null
null
TestC_21_Crab Pong/main.cpp
liuyuwang2016/OpenGL-Tutorial-by-Yvan-Liu
9309df734ade3e26e95aabfd33eaeabe5e7d701d
[ "MIT" ]
null
null
null
/* Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell *...
23.725
80
0.71549
liuyuwang2016
bfd573a1dca58165e16ad07c6f9d205d83a40c91
5,170
cpp
C++
Aphrodite-Runtime/src/Aphrodite/UI/UILayer.cpp
npchitman/Aphrodite
f2fe3fecfd2d0cc6604362e16ee012db079242a8
[ "MIT" ]
17
2021-07-01T09:18:12.000Z
2022-01-22T04:54:16.000Z
Aphrodite-Runtime/src/Aphrodite/UI/UILayer.cpp
npchitman/GEngine
f2fe3fecfd2d0cc6604362e16ee012db079242a8
[ "MIT" ]
1
2021-07-12T10:32:23.000Z
2021-12-31T07:06:11.000Z
Aphrodite-Runtime/src/Aphrodite/UI/UILayer.cpp
npchitman/GEngine
f2fe3fecfd2d0cc6604362e16ee012db079242a8
[ "MIT" ]
2
2021-07-08T08:26:25.000Z
2021-07-12T10:29:29.000Z
// // Created by npchitman on 5/31/21. // #include "Aphrodite/UI/UILayer.h" #include <ImGuizmo.h> #include <backends/imgui_impl_glfw.h> #include <backends/imgui_impl_opengl3.h> #include <imgui.h> #include "Aphrodite/Core/Application.h" #include "Aphrodite/Fonts/IconsFontAwesome5Pro.h" #include "GLFW/glfw3.h" #includ...
34.697987
116
0.640232
npchitman
bfd58a379b35c4da708ceca70a20e09b2e8af7e5
257
cpp
C++
docs/mfc/codesnippet/CPP/carchive-class_1.cpp
bobbrow/cpp-docs
769b186399141c4ea93400863a7d8463987bf667
[ "CC-BY-4.0", "MIT" ]
965
2017-06-25T23:57:11.000Z
2022-03-31T14:17:32.000Z
docs/mfc/codesnippet/CPP/carchive-class_1.cpp
bobbrow/cpp-docs
769b186399141c4ea93400863a7d8463987bf667
[ "CC-BY-4.0", "MIT" ]
3,272
2017-06-24T00:26:34.000Z
2022-03-31T22:14:07.000Z
docs/mfc/codesnippet/CPP/carchive-class_1.cpp
bobbrow/cpp-docs
769b186399141c4ea93400863a7d8463987bf667
[ "CC-BY-4.0", "MIT" ]
951
2017-06-25T12:36:14.000Z
2022-03-26T22:49:06.000Z
CFile file; TCHAR szBuf[512]; if (!file.Open(_T("CArchive__test__file.txt"), CFile::modeCreate | CFile::modeWrite)) { #ifdef _DEBUG AFXDUMP(_T("Unable to open file\n")); exit(1); #endif } CArchive ar(&file, CArchive::store, 512, szBuf);
23.363636
53
0.653696
bobbrow
bfd8be58022267758a479926ca6d820fe4e40d4f
6,343
cpp
C++
src/JoystickSDL2.cpp
Daivuk/onut
b02c5969b36897813de9c574a26d9437b67f189e
[ "MIT" ]
50
2015-06-01T19:23:24.000Z
2021-12-22T02:14:23.000Z
src/JoystickSDL2.cpp
Daivuk/onut
b02c5969b36897813de9c574a26d9437b67f189e
[ "MIT" ]
109
2015-07-20T07:43:03.000Z
2021-01-31T21:52:36.000Z
src/JoystickSDL2.cpp
Daivuk/onut
b02c5969b36897813de9c574a26d9437b67f189e
[ "MIT" ]
9
2015-07-02T21:36:20.000Z
2019-10-19T04:18:02.000Z
// Internal #include "JoystickSDL2.h" #include <onut/Log.h> static const char* getSDLJoystickTypeName(SDL_JoystickType type) { switch (type) { case SDL_JOYSTICK_TYPE_GAMECONTROLLER: return "Game Controller"; case SDL_JOYSTICK_TYPE_WHEEL: return "Wheel"; case SDL_...
30.349282
107
0.558726
Daivuk
bfd94adc5ebc883e78ee7acbfa2c5de732404b06
432
cpp
C++
project/OFEC_sc2/instance/algorithm/realworld/DVRP/LKH/eprintf.cpp
BaiChunhui-9803/bch_sc2_OFEC
d50211b27df5a51a953a2475b6c292d00cbfeff6
[ "MIT" ]
null
null
null
project/OFEC_sc2/instance/algorithm/realworld/DVRP/LKH/eprintf.cpp
BaiChunhui-9803/bch_sc2_OFEC
d50211b27df5a51a953a2475b6c292d00cbfeff6
[ "MIT" ]
null
null
null
project/OFEC_sc2/instance/algorithm/realworld/DVRP/LKH/eprintf.cpp
BaiChunhui-9803/bch_sc2_OFEC
d50211b27df5a51a953a2475b6c292d00cbfeff6
[ "MIT" ]
null
null
null
#include "./INCLUDE/LKH.h" #include <stdarg.h> /* * The eprintf function prints an error message and exits. */ void LKH::LKHAlg::eprintf(const char *fmt, ...) { va_list args; if (LastLine && *LastLine) fprintf(stderr, "\n%s\n", LastLine); fprintf(stderr, "\n*** Error ***\n"); va_start(args...
20.571429
58
0.599537
BaiChunhui-9803
bfe37635b7544ca38850eff753e7d9622a43cd5d
5,733
cpp
C++
Util/src/PropertyFileConfiguration.cpp
astlin/poco
b878152e9034b89c923bc3c97e16ae1b92c09bf4
[ "BSL-1.0" ]
3
2015-06-08T15:09:28.000Z
2020-12-31T02:28:37.000Z
Util/src/PropertyFileConfiguration.cpp
astlin/poco
b878152e9034b89c923bc3c97e16ae1b92c09bf4
[ "BSL-1.0" ]
3
2021-06-02T02:59:06.000Z
2021-09-16T04:35:06.000Z
Util/src/PropertyFileConfiguration.cpp
astlin/poco
b878152e9034b89c923bc3c97e16ae1b92c09bf4
[ "BSL-1.0" ]
6
2021-06-02T02:39:34.000Z
2022-03-29T05:51:57.000Z
// // PropertyFileConfiguration.cpp // // Library: Util // Package: Configuration // Module: PropertyFileConfiguration // // Copyright (c) 2004-2009, Applied Informatics Software Engineering GmbH. // and Contributors. // // SPDX-License-Identifier: BSL-1.0 // #include "Poco/Util/PropertyFileConfiguration.h" #include...
18.983444
109
0.666492
astlin
bfe3a5b32dafa56acddd93f459ac0d365f19c96b
3,332
cpp
C++
samples/LoginCpp/LoginCpp/LoginCpp.Shared/Dialogs.Shared.xaml.cpp
omer-ispl/winsdkfb1
e3bcd1d1e49e5ff94e6a9c971e4d8a9c82fad93b
[ "MIT" ]
197
2015-07-14T22:33:14.000Z
2019-05-05T15:26:15.000Z
samples/LoginCpp/LoginCpp/LoginCpp.Shared/Dialogs.Shared.xaml.cpp
omer-ispl/winsdkfb1
e3bcd1d1e49e5ff94e6a9c971e4d8a9c82fad93b
[ "MIT" ]
209
2015-07-15T14:49:48.000Z
2019-02-15T14:39:48.000Z
samples/LoginCpp/LoginCpp/LoginCpp.Shared/Dialogs.Shared.xaml.cpp
omer-ispl/winsdkfb1
e3bcd1d1e49e5ff94e6a9c971e4d8a9c82fad93b
[ "MIT" ]
115
2015-07-15T06:57:34.000Z
2019-01-12T08:55:15.000Z
//****************************************************************************** // // Copyright (c) 2015 Microsoft Corporation. All rights reserved. // // This code is licensed under the MIT License (MIT). // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR // IMPLIED, INCLUDING BUT NOT L...
30.290909
111
0.632053
omer-ispl
bfe95b088e682b4233cd278ffd85342546789b91
341
cpp
C++
MarioBros/GameApp/main.cpp
SIYUN09/Portfolio
9b9327e46bd873de52cd1bf44ae3079502b27958
[ "MIT" ]
null
null
null
MarioBros/GameApp/main.cpp
SIYUN09/Portfolio
9b9327e46bd873de52cd1bf44ae3079502b27958
[ "MIT" ]
null
null
null
MarioBros/GameApp/main.cpp
SIYUN09/Portfolio
9b9327e46bd873de52cd1bf44ae3079502b27958
[ "MIT" ]
null
null
null
#include <Windows.h> #include <GameEngineBase/GameEngineDebug.h> #include <GameEngineBase/GameEngineWindow.h> #include <GameEngineContents/StudyGame.h> int __stdcall WinMain(_In_ HINSTANCE hInstance, _In_opt_ HINSTANCE hPrevInstance, _In_ char* lpCmdLine, _In_ int nCmdShow) { GameEngine::St...
20.058824
47
0.739003
SIYUN09
bff5f4973c8c2094ed85910bab7947e4e7e6f5f5
575
hpp
C++
hyper/include/hyper/backends/c/c_linker.hpp
HyperionOrg/HyperLang
30f7a1707d00fb5cc6dc22913764389a3b998f09
[ "MIT" ]
null
null
null
hyper/include/hyper/backends/c/c_linker.hpp
HyperionOrg/HyperLang
30f7a1707d00fb5cc6dc22913764389a3b998f09
[ "MIT" ]
null
null
null
hyper/include/hyper/backends/c/c_linker.hpp
HyperionOrg/HyperLang
30f7a1707d00fb5cc6dc22913764389a3b998f09
[ "MIT" ]
null
null
null
/* * Copyright (c) 2022-present, SkillerRaptor <skillerraptor@protonmail.com> * * SPDX-License-Identifier: MIT */ #pragma once #include <string> #include <vector> namespace hyper { class CLinker { public: CLinker( const std::vector<std::string> &output_files, bool freestanding, std::string_view lin...
17.96875
75
0.716522
HyperionOrg
bff9b40675e1785000253d3206e7048883dc3780
397
cpp
C++
Seminarii/seminar_2/movieseries.cpp
andreea-olariu/oop-2022
df2d5246d6050874c4a5cd6677fdb6b3a3670be5
[ "MIT" ]
null
null
null
Seminarii/seminar_2/movieseries.cpp
andreea-olariu/oop-2022
df2d5246d6050874c4a5cd6677fdb6b3a3670be5
[ "MIT" ]
null
null
null
Seminarii/seminar_2/movieseries.cpp
andreea-olariu/oop-2022
df2d5246d6050874c4a5cd6677fdb6b3a3670be5
[ "MIT" ]
null
null
null
#include <iostream> #include "movieseries.h" void MovieSeries::init() { size = 0; } void MovieSeries::add(const Movie &movie) { movies[size] = movie; size++; } void MovieSeries::print() const { for(unsigned i = 0; i < size; i++) { std::cout << i + 1 << ": " << movies[i].get_name() << " " ...
20.894737
72
0.528967
andreea-olariu
bffe0f38c3291d7e0baca7170e33ec4c1f04dc41
24,297
cpp
C++
app/src/main/cpp/Levels/Level.cpp
ArnisLielturks/Urho3D-Project-Template
998d12e2470ec8a43ec552a1c2182eecfed63ca1
[ "MIT" ]
48
2019-01-06T02:17:44.000Z
2021-09-28T15:10:30.000Z
app/src/main/cpp/Levels/Level.cpp
urnenfeld/Urho3D-Project-Template
efd45e4edcffb232753010a3ee623d6cf9bc1c26
[ "MIT" ]
17
2019-01-22T17:48:58.000Z
2021-04-04T17:52:56.000Z
app/src/main/cpp/Levels/Level.cpp
ArnisLielturks/Urho3D-Project-Template
998d12e2470ec8a43ec552a1c2182eecfed63ca1
[ "MIT" ]
18
2019-02-18T13:55:41.000Z
2021-04-02T14:28:00.000Z
#include <Urho3D/Resource/Localization.h> #include <Urho3D/Audio/SoundListener.h> #include <Urho3D/Audio/Audio.h> #include <Urho3D/Input/Input.h> #include <Urho3D/UI/UI.h> #include <Urho3D/Physics/PhysicsEvents.h> #include <Urho3D/Physics/PhysicsWorld.h> #include <Urho3D/Core/CoreEvents.h> #include <Urho3D/Physics/Coll...
34.269394
129
0.672881
ArnisLielturks
bffe6163d3fc4df1e4bc7294a2891169c9e7df93
3,844
cpp
C++
LibMathematics/Distance/Wm5DistPoint3Circle3.cpp
bazhenovc/WildMagic
b1a7cc2140dde23d8d9a4ece52a07bd5ff938239
[ "BSL-1.0" ]
48
2015-10-07T07:26:14.000Z
2022-03-18T14:30:07.000Z
LibMathematics/Distance/Wm5DistPoint3Circle3.cpp
zouxiaohang/WildMagic
b1a7cc2140dde23d8d9a4ece52a07bd5ff938239
[ "BSL-1.0" ]
null
null
null
LibMathematics/Distance/Wm5DistPoint3Circle3.cpp
zouxiaohang/WildMagic
b1a7cc2140dde23d8d9a4ece52a07bd5ff938239
[ "BSL-1.0" ]
21
2015-09-01T03:14:47.000Z
2022-01-04T04:07:46.000Z
// Geometric Tools, LLC // Copyright (c) 1998-2012 // Distributed under the Boost Software License, Version 1.0. // http://www.boost.org/LICENSE_1_0.txt // http://www.geometrictools.com/License/Boost/LICENSE_1_0.txt // // File Version: 5.0.1 (2010/10/01) #include "Wm5MathematicsPCH.h" #include "Wm5DistPoint3C...
36.264151
99
0.522893
bazhenovc
87005a66210187f6abe7412e2de6c68afc22ca6e
2,515
cpp
C++
send-pin-with-camera/jni/natpmpclient.cpp
0E800/android-keyboard-gadget
43a1bdffc4054fe050bdc4c0a1f0244b4001ecdc
[ "Apache-2.0" ]
1,029
2015-01-04T04:05:35.000Z
2022-03-29T14:10:21.000Z
send-pin-with-camera/jni/natpmpclient.cpp
yauchungpo/android-keyboard-sss77147
3a4e88cf9a6b42b15b30dd79cc70a56284a08a64
[ "Apache-2.0" ]
167
2015-01-08T09:54:54.000Z
2022-03-20T21:02:49.000Z
send-pin-with-camera/jni/natpmpclient.cpp
yauchungpo/android-keyboard-sss77147
3a4e88cf9a6b42b15b30dd79cc70a56284a08a64
[ "Apache-2.0" ]
303
2015-01-09T12:32:41.000Z
2022-03-29T15:15:42.000Z
#include <string> #include <sstream> #include <sys/select.h> #include "beginvision.h" #include "libnatpmp/natpmp.h" #define JNIDEFINE(fname) Java_teaonly_droideye_MainActivity_##fname extern "C" { JNIEXPORT jstring JNICALL JNIDEFINE(nativeQueryInternet)(JNIEnv* env, jclass clz); }; jstring JNICALL JNIDEFINE(n...
27.043011
86
0.602783
0E800
8700fea54fdd4c670a5180b512386c0629880c6f
9,038
cpp
C++
source/FFTOceanPatchGPUFrag.cpp
MihaiBairac/My-FFT-Ocean-Scattering-Sky
288ff11795149d27d26e11ea506e0f36729fde5d
[ "MIT" ]
1
2020-01-18T14:15:55.000Z
2020-01-18T14:15:55.000Z
source/FFTOceanPatchGPUFrag.cpp
MihaiBairac/My-FFT-Ocean-Scattering-Sky
288ff11795149d27d26e11ea506e0f36729fde5d
[ "MIT" ]
null
null
null
source/FFTOceanPatchGPUFrag.cpp
MihaiBairac/My-FFT-Ocean-Scattering-Sky
288ff11795149d27d26e11ea506e0f36729fde5d
[ "MIT" ]
1
2021-08-03T05:53:26.000Z
2021-08-03T05:53:26.000Z
/* Author: BAIRAC MIHAI */ #include "FFTOceanPatchGPUFrag.h" #include "CommonHeaders.h" #include "GLConfig.h" // glm::vec2, glm::vec3 come from the header #include "glm/common.hpp" //abs() #include "glm/exponential.hpp" //sqrt() #include "glm/gtc/constants.hpp" //pi(), two_pi() #include "glm/vector_relational...
33.227941
209
0.700155
MihaiBairac
8706f027a47b2f8b66e0fe90e86848c818d53176
1,915
hpp
C++
lib/builder/LBVH_CUDA.hpp
mensinda/BVHTest
46e24818f623797c78f2e094434213e3728a114c
[ "Apache-2.0" ]
4
2019-03-09T16:35:00.000Z
2022-01-12T06:32:05.000Z
lib/builder/LBVH_CUDA.hpp
mensinda/BVHTest
46e24818f623797c78f2e094434213e3728a114c
[ "Apache-2.0" ]
null
null
null
lib/builder/LBVH_CUDA.hpp
mensinda/BVHTest
46e24818f623797c78f2e094434213e3728a114c
[ "Apache-2.0" ]
1
2020-09-09T15:47:13.000Z
2020-09-09T15:47:13.000Z
/* * Copyright (C) 2018 Daniel Mensinger * * 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 agree...
31.916667
83
0.73107
mensinda
87091b24e23cbddfe2c4776dd8a7e8aeec2ca0a0
1,307
cpp
C++
test/type_traits/iterator_category.cpp
pmiddend/fcppt
9f437acbb10258e6df6982a550213a05815eb2be
[ "BSL-1.0" ]
null
null
null
test/type_traits/iterator_category.cpp
pmiddend/fcppt
9f437acbb10258e6df6982a550213a05815eb2be
[ "BSL-1.0" ]
null
null
null
test/type_traits/iterator_category.cpp
pmiddend/fcppt
9f437acbb10258e6df6982a550213a05815eb2be
[ "BSL-1.0" ]
null
null
null
// Copyright Carl Philipp Reh 2009 - 2018. // 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 <fcppt/type_traits/is_iterator_of_category.hpp> #include <fcppt/config/external_begin.hpp...
17.90411
61
0.684009
pmiddend
870f7318138ad908ed531f1eaf83eabff5c80dd4
1,736
cpp
C++
test/subset_inversion_test.cpp
georeth/OJLIBS
de59d4fd21255cc2f0a580db7726b634449e6885
[ "MIT" ]
15
2017-03-26T03:54:16.000Z
2021-04-04T13:10:43.000Z
test/subset_inversion_test.cpp
georeth/OJLIBS
de59d4fd21255cc2f0a580db7726b634449e6885
[ "MIT" ]
null
null
null
test/subset_inversion_test.cpp
georeth/OJLIBS
de59d4fd21255cc2f0a580db7726b634449e6885
[ "MIT" ]
1
2018-03-06T09:59:14.000Z
2018-03-06T09:59:14.000Z
#include <gtest/gtest.h> #include <ojlibs/subset_inversion.hpp> #include <ojlibs/binary_operator.hpp> #include <vector> #include <random> using namespace std; using uni = std::uniform_int_distribution<>; using Op = ojlibs::modular_plus<int, 1000000007>; std::mt19937 gen; Op op; TEST(RANDOM, subset) { static const ...
28
72
0.510369
georeth
870fbbe8a4d823fcd36f3a66cba6f8d8cc0a22b5
1,296
cpp
C++
high-five.cpp
shirishbahirat/code_examples
ebc8bb743b7b0a4ad1e01164cd85afc0bfe7f107
[ "MIT" ]
null
null
null
high-five.cpp
shirishbahirat/code_examples
ebc8bb743b7b0a4ad1e01164cd85afc0bfe7f107
[ "MIT" ]
null
null
null
high-five.cpp
shirishbahirat/code_examples
ebc8bb743b7b0a4ad1e01164cd85afc0bfe7f107
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> using namespace std; class Solution { public: vector<vector<int>> highFive(vector<vector<int>> &items) { vector<int> student_id(1000, 0); vector<int> student_marks(1000, 0); vector<int> subject_index(1000, 0); vector<int> minimum_marks(1000, 0xFFFF); for (...
23.142857
77
0.531636
shirishbahirat
870fdf487c2d929567df6fc17c176d914b17ff11
1,478
hpp
C++
mpllibs/metamonad/v1/metafunction.hpp
sabel83/mpllibs
8e245aedcf658fe77bb29537aeba1d4e1a619a19
[ "BSL-1.0" ]
70
2015-01-15T09:05:15.000Z
2021-12-08T15:49:31.000Z
mpllibs/metamonad/v1/metafunction.hpp
sabel83/mpllibs
8e245aedcf658fe77bb29537aeba1d4e1a619a19
[ "BSL-1.0" ]
4
2015-06-18T19:25:34.000Z
2016-05-13T19:49:51.000Z
mpllibs/metamonad/v1/metafunction.hpp
sabel83/mpllibs
8e245aedcf658fe77bb29537aeba1d4e1a619a19
[ "BSL-1.0" ]
5
2015-07-10T08:18:09.000Z
2021-12-01T07:17:57.000Z
#ifndef MPLLIBS_METAMONAD_V1_METAFUNCTION_HPP #define MPLLIBS_METAMONAD_V1_METAFUNCTION_HPP // Copyright Abel Sinkovics (abel@sinkovics.hu) 2012. // 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) #...
35.190476
76
0.76793
sabel83
871774f6bd347001fda18c84b11a9fef81985ba0
786
cpp
C++
3404/6786626_AC_0MS_136K.cpp
vandreas19/POJ_sol
4895764ab800e8c2c4b2334a562dec2f07fa243e
[ "MIT" ]
18
2017-08-14T07:34:42.000Z
2022-01-29T14:20:29.000Z
3404/6786626_AC_0MS_136K.cpp
pinepara/poj_solutions
4895764ab800e8c2c4b2334a562dec2f07fa243e
[ "MIT" ]
null
null
null
3404/6786626_AC_0MS_136K.cpp
pinepara/poj_solutions
4895764ab800e8c2c4b2334a562dec2f07fa243e
[ "MIT" ]
14
2016-12-21T23:37:22.000Z
2021-07-24T09:38:57.000Z
#include<cstdio> #include<algorithm> int main(){ int travelerNum; scanf("%d",&travelerNum); int *timeCosts=new int[travelerNum]; for(int index=0;index<travelerNum;index++) scanf("%d",timeCosts+index); std::sort(timeCosts,timeCosts+travelerNum); int timeSum=0; while(travelerNum>=4){ int timePlanA...
29.111111
82
0.698473
vandreas19
26b9351b3386e7111a003a61752d12affa9679c1
3,954
cpp
C++
examples/week5/GLSLPhong/src/GLSLPhongApp.cpp
Hebali/AOGP
4840e009994b77ee23a913dc0d7bae373294936b
[ "BSD-3-Clause" ]
8
2015-02-23T22:10:08.000Z
2021-02-27T16:07:39.000Z
examples/week5/GLSLPhong/src/GLSLPhongApp.cpp
Hebali/AOGP
4840e009994b77ee23a913dc0d7bae373294936b
[ "BSD-3-Clause" ]
null
null
null
examples/week5/GLSLPhong/src/GLSLPhongApp.cpp
Hebali/AOGP
4840e009994b77ee23a913dc0d7bae373294936b
[ "BSD-3-Clause" ]
3
2016-09-26T08:15:19.000Z
2018-04-01T06:57:55.000Z
////////////////////////////////////////////////// /* Art of Graphics Programming */ /* Taught by Patrick Hebron */ /* Interactive Telecommunications Program (ITP) */ /* New York University */ /* Fall 2014 */ //////////////...
26.36
110
0.62873
Hebali
26bd32bdab133bd17bb7a0888932aab35da1a477
11,242
hpp
C++
mtvmtl/core/tvmin_prpt.hpp
pdebus/MTVMTL
65a7754b34d1f6a1e86d15e3c2d4346b9418414f
[ "MIT" ]
3
2017-05-08T12:40:46.000Z
2019-06-02T05:11:01.000Z
mtvmtl/core/tvmin_prpt.hpp
pdebus/MTVMTL
65a7754b34d1f6a1e86d15e3c2d4346b9418414f
[ "MIT" ]
null
null
null
mtvmtl/core/tvmin_prpt.hpp
pdebus/MTVMTL
65a7754b34d1f6a1e86d15e3c2d4346b9418414f
[ "MIT" ]
null
null
null
#ifndef TVMTL_TVMINIMIZER_PRPT_HPP #define TVMTL_TVMINIMIZER_PRPT_HPP //System includes #include <iostream> #include <map> #include <vector> #include <chrono> #ifdef TVMTL_TVMIN_DEBUG #include <string> #endif //Eigen includes #include <Eigen/Sparse> #include <Eigen/Core> #include <unsupported/Eigen/Splines> //C...
32.491329
166
0.645526
pdebus
26bf34b3aef83465daf69577f87d4d5ce6ef30d0
22,231
cpp
C++
crypto/pkc/pkc_rsa.cpp
sttr00/crypto
ef290e4d1b93bb3a659d2d0cafec291ee50df0e8
[ "BSD-2-Clause" ]
null
null
null
crypto/pkc/pkc_rsa.cpp
sttr00/crypto
ef290e4d1b93bb3a659d2d0cafec291ee50df0e8
[ "BSD-2-Clause" ]
null
null
null
crypto/pkc/pkc_rsa.cpp
sttr00/crypto
ef290e4d1b93bb3a659d2d0cafec291ee50df0e8
[ "BSD-2-Clause" ]
null
null
null
#include "pkc_rsa.h" #include "utils.h" #include <crypto/asn1/decoder.h> #include <crypto/asn1/encoder.h> #include <crypto/oid_const.h> #include <crypto/hash_factory.h> #include <bigint/bigint.h> #include <platform/endian_ex.h> #include <platform/alloca.h> #include <cstring> #include <cassert> using namespace oid; #d...
28.648196
107
0.690612
sttr00
26c21dd0409c40669ce17fd35d421a5c4a0458cb
29,722
cpp
C++
plugins/astro/src/AstroParticleConverter.cpp
xge/megamol
1e298dd3d8b153d7468ed446f6b2ed3ac49f0d5b
[ "BSD-3-Clause" ]
null
null
null
plugins/astro/src/AstroParticleConverter.cpp
xge/megamol
1e298dd3d8b153d7468ed446f6b2ed3ac49f0d5b
[ "BSD-3-Clause" ]
null
null
null
plugins/astro/src/AstroParticleConverter.cpp
xge/megamol
1e298dd3d8b153d7468ed446f6b2ed3ac49f0d5b
[ "BSD-3-Clause" ]
null
null
null
/* * AstroParticleConverter.cpp * * Copyright (C) 2019 by VISUS (Universitaet Stuttgart) * All rights reserved. */ #include "AstroParticleConverter.h" #include <glm/gtc/type_ptr.hpp> #include "simultaneous_sort.h" using namespace megamol; using namespace megamol::astro; using namespace megamol::core; using name...
48.804598
120
0.647668
xge
26c5dc8bacb68de7b88aa6813032cbf113f1dd44
1,083
cpp
C++
python2-pybind11/challenge/containers.cpp
lsst-dm/python-cpp-challenge
8b49116d2e896960f901a01a3af7e95ef2f94499
[ "MIT" ]
20
2016-05-26T22:29:42.000Z
2021-10-04T12:42:27.000Z
python2-pybind11/challenge/containers.cpp
lsst-dm/python-cpp-challenge
8b49116d2e896960f901a01a3af7e95ef2f94499
[ "MIT" ]
2
2016-04-20T20:10:47.000Z
2016-04-26T20:38:10.000Z
python2-pybind11/challenge/containers.cpp
lsst-dm/python-cpp-challenge
8b49116d2e896960f901a01a3af7e95ef2f94499
[ "MIT" ]
1
2016-03-15T21:40:56.000Z
2016-03-15T21:40:56.000Z
#include <pybind11/pybind11.h> #include <pybind11/stl.h> #include "basics.hpp" #include "containers.hpp" namespace py = pybind11; PYBIND11_DECLARE_HOLDER_TYPE(T, std::shared_ptr<T>); PYBIND11_PLUGIN(containers) { py::module m("containers", "wrapped C++ containers module"); py::class_<containers::DoodadSet>...
34.935484
130
0.635272
lsst-dm
26cf9fc6c5e46e6035df5ba15756118bbeb46264
16,484
cpp
C++
src/modules/AlignmentTrackChi2/AlignmentTrackChi2.cpp
simonspa/corryvreckan
ffa5d1f7a47341ab6eb1b6208c9e0c472a58f436
[ "MIT" ]
null
null
null
src/modules/AlignmentTrackChi2/AlignmentTrackChi2.cpp
simonspa/corryvreckan
ffa5d1f7a47341ab6eb1b6208c9e0c472a58f436
[ "MIT" ]
null
null
null
src/modules/AlignmentTrackChi2/AlignmentTrackChi2.cpp
simonspa/corryvreckan
ffa5d1f7a47341ab6eb1b6208c9e0c472a58f436
[ "MIT" ]
null
null
null
/** * @file * @brief Implementation of module AlignmentTrackChi2 * * @copyright Copyright (c) 2017-2022 CERN and the Corryvreckan authors. * This software is distributed under the terms of the MIT License, copied verbatim in the file "LICENSE.md". * In applying this license, CERN does not waive the privileges and...
49.650602
123
0.624727
simonspa
26d1fb5bd0cfc1229f186e0bd233c7e3a0548ff6
8,892
cc
C++
wrspice/devlib/cap/cap.cc
wrcad/xictools
f46ba6d42801426739cc8b2940a809b74f1641e2
[ "Apache-2.0" ]
73
2017-10-26T12:40:24.000Z
2022-03-02T16:59:43.000Z
wrspice/devlib/cap/cap.cc
chris-ayala/xictools
4ea72c118679caed700dab3d49a8d36445acaec3
[ "Apache-2.0" ]
12
2017-11-01T10:18:22.000Z
2022-03-20T19:35:36.000Z
wrspice/devlib/cap/cap.cc
chris-ayala/xictools
4ea72c118679caed700dab3d49a8d36445acaec3
[ "Apache-2.0" ]
34
2017-10-06T17:04:21.000Z
2022-02-18T16:22:03.000Z
/*========================================================================* * * * Distributed by Whiteley Research Inc., Sunnyvale, California, USA * * http://wrcad.com * * Copyright (...
35.854839
96
0.507647
wrcad
26d370da1d9b1d2b5492e9508791cea6ea35898f
3,033
cpp
C++
src/detail/matrix/atlas_library.cpp
qjiang310/PRNN-GRU
868ea7978e5805021ba4d3091404adde0912b45c
[ "Apache-2.0" ]
640
2016-06-20T18:27:15.000Z
2022-02-17T16:31:11.000Z
src/detail/matrix/atlas_library.cpp
qjiang310/PRNN-GRU
868ea7978e5805021ba4d3091404adde0912b45c
[ "Apache-2.0" ]
12
2016-06-21T01:30:41.000Z
2020-08-11T18:40:34.000Z
src/detail/matrix/atlas_library.cpp
qjiang310/PRNN-GRU
868ea7978e5805021ba4d3091404adde0912b45c
[ "Apache-2.0" ]
116
2016-06-20T18:27:24.000Z
2022-02-02T20:19:12.000Z
/* \file AtlasLibrary.cpp \brief The source file for the AtlasLibrary class. */ // Persistent RNN Includes #include <prnn/detail/matrix/atlas_library.h> #include <prnn/detail/util/casts.h> #include <prnn/detail/util/logger.h> // Standard Library Includes #include <stdexcept> // System-Specific Includes #inc...
20.632653
79
0.626442
qjiang310
26d3de3078e6e7b924bc6f727b6eb1a38dfd8092
2,528
cpp
C++
src/widgetsgui/main/applicationerrorview.cpp
squeevee/Addle
20ec4335669fbd88d36742f586899d8416920959
[ "MIT" ]
3
2020-03-05T06:36:51.000Z
2020-06-20T03:25:02.000Z
src/widgetsgui/main/applicationerrorview.cpp
squeevee/Addle
20ec4335669fbd88d36742f586899d8416920959
[ "MIT" ]
13
2020-03-11T17:43:42.000Z
2020-12-11T03:36:05.000Z
src/widgetsgui/main/applicationerrorview.cpp
squeevee/Addle
20ec4335669fbd88d36742f586899d8416920959
[ "MIT" ]
1
2020-09-28T06:53:46.000Z
2020-09-28T06:53:46.000Z
/** * Addle source code * @file * @copyright Copyright 2020 Eleanor Hawk * @copyright Modification and distribution permitted under the terms of the * MIT License. See "LICENSE" for full details. */ #include <QCloseEvent> #ifdef ADDLE_DEBUG #include "exceptions/unhandledexception.hpp" #endif #include "applicat...
26.333333
103
0.64913
squeevee
26d8c5e906976ca5ee2859231eb676eb91d7f49e
1,900
cpp
C++
algo/geometry/halfplanes.cpp
agrishutin/teambook
7e9ca28cd10241edbf9cd04ebdc1df3fa1c4b107
[ "MIT" ]
13
2017-07-04T14:58:47.000Z
2022-03-23T09:04:41.000Z
algo/geometry/halfplanes.cpp
agrishutin/teambook
7e9ca28cd10241edbf9cd04ebdc1df3fa1c4b107
[ "MIT" ]
null
null
null
algo/geometry/halfplanes.cpp
agrishutin/teambook
7e9ca28cd10241edbf9cd04ebdc1df3fa1c4b107
[ "MIT" ]
5
2017-10-14T21:48:20.000Z
2018-06-18T12:12:15.000Z
#include <bits/stdc++.h> using namespace std; #define forn(i, n) for (int i = 0; i < int(n); ++i) #define all(x) x.begin(), x.end() #include "primitives.cpp" typedef vector<int> vi; bool cmpLine(const line &a, const line &b) { bool au = a.v.up(), bu = b.v.up(); if (au != bu) return au; ld prod = a....
25
62
0.449474
agrishutin
26d9481b3574ba5b9410df17ae55c204a20c22ca
1,203
cpp
C++
qt/infrastructure/EfotoDoubleSpinBox.cpp
e-foto/e-foto
cf143a1076c03c7bdf5a2f41efad2c98e9272722
[ "FTL" ]
3
2021-06-28T21:07:58.000Z
2021-07-02T11:21:49.000Z
qt/infrastructure/EfotoDoubleSpinBox.cpp
e-foto/e-foto
cf143a1076c03c7bdf5a2f41efad2c98e9272722
[ "FTL" ]
null
null
null
qt/infrastructure/EfotoDoubleSpinBox.cpp
e-foto/e-foto
cf143a1076c03c7bdf5a2f41efad2c98e9272722
[ "FTL" ]
null
null
null
#include "EfotoDoubleSpinBox.h" #include <QDebug> namespace br { namespace uerj { namespace eng { namespace efoto { EfotoDoubleSpinBox::EfotoDoubleSpinBox(QWidget *parent):QDoubleSpinBox(parent) { installEventFilter(this); } bool EfotoDoubleSpinBox::eventFilter(QObject *obj, QEvent *evt) { if (evt->type()==QEven...
18.507692
88
0.689111
e-foto
26dd047117f0b7d397950081207cad409aec01ce
1,155
hpp
C++
raytracer/hittable_list.hpp
chenmx00/RayTracer
c818aaf26be514c4247366f78d4f8ab060bdcf1d
[ "MIT" ]
1
2020-09-27T08:14:01.000Z
2020-09-27T08:14:01.000Z
raytracer/hittable_list.hpp
chenmx00/RayTracer
c818aaf26be514c4247366f78d4f8ab060bdcf1d
[ "MIT" ]
null
null
null
raytracer/hittable_list.hpp
chenmx00/RayTracer
c818aaf26be514c4247366f78d4f8ab060bdcf1d
[ "MIT" ]
null
null
null
// // hittable_list.hpp // raytracer // // Created by Minxing Chen on 11/6/21. // Copyright © 2021 Minxing Chen. All rights reserved. // #ifndef hittable_list_hpp #define hittable_list_hpp #include "hittable.hpp" #include <memory> #include <vector> using std::shared_ptr; using std::make_shared; class hittable_list...
25.666667
95
0.678788
chenmx00
26e15299600841d637b59ed738396fd4114ca7f3
1,539
cpp
C++
NetServer/EventLoopThread.cpp
lddddd1997/NetServer
940b84bef7d0856bc2fe5f16164bfe041e4d4c9f
[ "MIT" ]
null
null
null
NetServer/EventLoopThread.cpp
lddddd1997/NetServer
940b84bef7d0856bc2fe5f16164bfe041e4d4c9f
[ "MIT" ]
null
null
null
NetServer/EventLoopThread.cpp
lddddd1997/NetServer
940b84bef7d0856bc2fe5f16164bfe041e4d4c9f
[ "MIT" ]
null
null
null
/** * @file EventLoopThread.cpp * @brief 事件循环IO线程one loop per thread * @author lddddd (https://github.com/lddddd1997) */ #include <iostream> #include "EventLoopThread.h" EventLoopThread::EventLoopThread() : thread_id_(-1), loop_(nullptr) { } EventLoopThread::~EventLoopThread() { // std::cout << ...
23.318182
107
0.576348
lddddd1997
26e8fd20c5d862c8a1caff19af6fe46a66fd4803
3,365
hpp
C++
Quartz/Engine/Include/Quartz/Utilities/Plugin.hpp
JosiahWI/QuartzEngine
1289fc74f15218d791a9558964eaef90ca10c1cc
[ "BSD-3-Clause" ]
38
2019-02-23T08:53:36.000Z
2019-10-10T04:07:26.000Z
Quartz/Engine/Include/Quartz/Utilities/Plugin.hpp
JosiahWI/QuartzEngine
1289fc74f15218d791a9558964eaef90ca10c1cc
[ "BSD-3-Clause" ]
50
2019-03-01T01:43:02.000Z
2019-10-04T20:10:44.000Z
Quartz/Engine/Include/Quartz/Utilities/Plugin.hpp
JosiahWI/QuartzEngine
1289fc74f15218d791a9558964eaef90ca10c1cc
[ "BSD-3-Clause" ]
13
2019-03-03T01:26:40.000Z
2019-08-27T02:54:25.000Z
// Copyright 2019 Genten Studios // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // // 1. Redistributions of source code must retain the above copyright notice, // this list of conditions and the following disclaimer...
36.182796
107
0.638039
JosiahWI
26ebb350cf58c0f8505494cc70ab18e31affb8c6
5,908
cpp
C++
test/texturetest.cpp
CasualYT31/ComputerWars
0a011e6b87fab3798093db4211af166607d44243
[ "MIT" ]
4
2020-04-21T01:45:34.000Z
2021-07-08T22:48:59.000Z
test/texturetest.cpp
CasualYT31/ComputerWars
0a011e6b87fab3798093db4211af166607d44243
[ "MIT" ]
9
2020-04-16T18:05:44.000Z
2022-01-24T16:29:34.000Z
test/texturetest.cpp
CasualYT31/ComputerWars
0a011e6b87fab3798093db4211af166607d44243
[ "MIT" ]
null
null
null
/*Copyright 2019-2021 CasualYouTuber31 <naysar@protonmail.com> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, me...
27.607477
81
0.683311
CasualYT31
26ebc0db56a6cfb2d8c5a4925fbf00712faa32c8
3,663
cpp
C++
src/samplers/SamplerCapCVT/gx_capcvt2d/generated/L.cpp
FrancoisGaits/utk
8c408dd79635f98c46ed075c098f15e23972aad0
[ "BSD-2-Clause-FreeBSD" ]
44
2018-01-09T19:56:29.000Z
2022-03-03T06:38:54.000Z
src/samplers/SamplerCapCVT/gx_capcvt2d/generated/L.cpp
FrancoisGaits/utk
8c408dd79635f98c46ed075c098f15e23972aad0
[ "BSD-2-Clause-FreeBSD" ]
16
2018-01-29T18:01:42.000Z
2022-03-31T07:01:09.000Z
src/samplers/SamplerCapCVT/gx_capcvt2d/generated/L.cpp
FrancoisGaits/utk
8c408dd79635f98c46ed075c098f15e23972aad0
[ "BSD-2-Clause-FreeBSD" ]
12
2018-03-14T00:24:14.000Z
2022-03-03T06:40:07.000Z
#include "L.h" namespace Geex { L::L() : Function(1,6,0){} void L::eval(bool do_f, bool do_g, bool do_H) { if(do_f) { { double tmp_1 = x(5); double tmp_2 = x(1); double tmp_3 = -tmp_2; double tmp_4 = tmp_3+tmp_1; double tmp_5 = x(3); double tmp_6 = tmp_3+tmp_5; double tmp_8 = x(0); double tmp_9 = x(2); doub...
28.176923
177
0.685231
FrancoisGaits
26fa197a4cc841fbe58433a4e9b5e6c6dcff9280
7,037
cpp
C++
src/phaser.cpp
transmogrifox/transmogriFX_bela
1b8fae86d1253fcd062053c44032001421609f04
[ "Unlicense" ]
27
2018-02-17T17:36:02.000Z
2022-03-31T17:54:10.000Z
src/phaser.cpp
transmogrifox/transmogriFX_bela
1b8fae86d1253fcd062053c44032001421609f04
[ "Unlicense" ]
8
2020-10-28T03:39:42.000Z
2020-11-06T17:05:38.000Z
src/phaser.cpp
rhaleblian/transmogriFX_bela
1b8fae86d1253fcd062053c44032001421609f04
[ "Unlicense" ]
9
2019-08-08T14:40:49.000Z
2022-01-24T02:36:06.000Z
#include <math.h> #include <stdio.h> #include <stdlib.h> #include "phaser.h" void commit_circuit_config(phaser_coeffs* cf) { int i = 0; //There is always something to calculate for position zero cf->a1p_min[i] = -expf(-(cf->w_min[i])/cf->fs); cf->a1p_max[i] = -expf(-(cf->w_max[i])/cf->fs); cf->a1p_dif[i] = ...
21.786378
98
0.534603
transmogrifox
f80060ae61e9bc31c27fc9deaaadede454c9edfc
510
hpp
C++
taskflow/declarations.hpp
leokolln/cpp-taskflow
b5cd4ca2006b18d309f1c7c22f90a13becf97fd3
[ "MIT" ]
null
null
null
taskflow/declarations.hpp
leokolln/cpp-taskflow
b5cd4ca2006b18d309f1c7c22f90a13becf97fd3
[ "MIT" ]
null
null
null
taskflow/declarations.hpp
leokolln/cpp-taskflow
b5cd4ca2006b18d309f1c7c22f90a13becf97fd3
[ "MIT" ]
null
null
null
#pragma once namespace tf { // ---------------------------------------------------------------------------- // forward declarations inside tf // ---------------------------------------------------------------------------- class Node; class Graph; class FlowBuilder; class Subflow; class Task; class TaskView; class Tas...
18.214286
79
0.441176
leokolln
f80649689a57361eca9a5b1864c945e358d59e35
1,655
cpp
C++
shift_the_string.cpp
Delfad0r/CompetitiveProgrammingCourse
a986045372138f550e38f6262933ed34f7a57d77
[ "Apache-2.0" ]
null
null
null
shift_the_string.cpp
Delfad0r/CompetitiveProgrammingCourse
a986045372138f550e38f6262933ed34f7a57d77
[ "Apache-2.0" ]
null
null
null
shift_the_string.cpp
Delfad0r/CompetitiveProgrammingCourse
a986045372138f550e38f6262933ed34f7a57d77
[ "Apache-2.0" ]
null
null
null
/* We create a new string A+"$"+B+B, and then we compute the Z array (for an explanation of the Z-algorithm, see https://codeforces.com/blog/entry/3107). At this point, the answer is simply the first position of the Z array with maximum value. Time complexity: O(N) Space complexity: O(N) */ #include <bits/stdc++.h> ...
24.701493
76
0.459819
Delfad0r
f80e4d4bca6f4c96eb17fcb70a0bcf06cebe84e8
3,231
hpp
C++
SDK/PUBG_P_Vikendi_Environment_SnowSmoke_WindStraight_03_BP_classes.hpp
realrespecter/PUBG-FULL-SDK
5e2b0f103c74c95d2329c4c9dfbfab48aa0da737
[ "MIT" ]
7
2019-03-06T11:04:52.000Z
2019-07-10T20:00:51.000Z
SDK/PUBG_P_Vikendi_Environment_SnowSmoke_WindStraight_03_BP_classes.hpp
realrespecter/PUBG-FULL-SDK
5e2b0f103c74c95d2329c4c9dfbfab48aa0da737
[ "MIT" ]
null
null
null
SDK/PUBG_P_Vikendi_Environment_SnowSmoke_WindStraight_03_BP_classes.hpp
realrespecter/PUBG-FULL-SDK
5e2b0f103c74c95d2329c4c9dfbfab48aa0da737
[ "MIT" ]
10
2019-03-06T11:53:46.000Z
2021-02-18T14:01:11.000Z
#pragma once // PUBG FULL SDK - Generated By Respecter (5.3.4.11 [06/03/2019]) SDK #ifdef _MSC_VER #pragma pack(push, 0x8) #endif #include "PUBG_P_Vikendi_Environment_SnowSmoke_WindStraight_03_BP_structs.hpp" namespace SDK { //--------------------------------------------------------------------------- //Classes //...
64.62
185
0.486537
realrespecter
f81006bd1da9d1892d48de4567602f3fe9d4fa83
453
cpp
C++
src/classwork/03_assign/main.cpp
acc-cosc-1337-fall-2020/acc-cosc-1337-fall-2020-djchenevert
0f7b3f47eb518fc4e85ec853cab9ceb4c629025a
[ "MIT" ]
null
null
null
src/classwork/03_assign/main.cpp
acc-cosc-1337-fall-2020/acc-cosc-1337-fall-2020-djchenevert
0f7b3f47eb518fc4e85ec853cab9ceb4c629025a
[ "MIT" ]
null
null
null
src/classwork/03_assign/main.cpp
acc-cosc-1337-fall-2020/acc-cosc-1337-fall-2020-djchenevert
0f7b3f47eb518fc4e85ec853cab9ceb4c629025a
[ "MIT" ]
null
null
null
//Write the include statement for decisions.h here #include "decision.h" //Write namespace using statements for cout and cin using std::cin; using std::cout; int main() { int grade; cout<<"Input your numerical grade between 0 and 100: "; cin>>grade; if(grade >= 00 && grade <= 100) { get_letter_grade_using_i...
15.62069
56
0.686534
acc-cosc-1337-fall-2020
f814fd0799096bf194f44e537f550746915471ea
1,055
hpp
C++
SDK/ARKSurvivalEvolved_PrimalItemConsumable_Egg_Iguanodon_Fertilized_Aberrant_classes.hpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
10
2020-02-17T19:08:46.000Z
2021-07-31T11:07:19.000Z
SDK/ARKSurvivalEvolved_PrimalItemConsumable_Egg_Iguanodon_Fertilized_Aberrant_classes.hpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
9
2020-02-17T18:15:41.000Z
2021-06-06T19:17:34.000Z
SDK/ARKSurvivalEvolved_PrimalItemConsumable_Egg_Iguanodon_Fertilized_Aberrant_classes.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_PrimalItemConsumable_Egg_Iguanodon_Fertilized_Aberrant_structs.hpp" namespace sdk { //--------------------------------------------------------------------------- //Classes //------------------...
27.051282
178
0.726066
2bite
f817cc92eab16cc76948be13f6e595c9b017da11
12,751
cpp
C++
Plugins/Puerts/Source/JsEnv/Private/JitScript.cpp
Anehta/Unreal4ReactUMG
af1b4bdfb5993845819a74d17c42bf353e3aa53a
[ "MIT" ]
null
null
null
Plugins/Puerts/Source/JsEnv/Private/JitScript.cpp
Anehta/Unreal4ReactUMG
af1b4bdfb5993845819a74d17c42bf353e3aa53a
[ "MIT" ]
null
null
null
Plugins/Puerts/Source/JsEnv/Private/JitScript.cpp
Anehta/Unreal4ReactUMG
af1b4bdfb5993845819a74d17c42bf353e3aa53a
[ "MIT" ]
null
null
null
/* * Tencent is pleased to support the open source community by making Puerts available. * Copyright (C) 2020 THL A29 Limited, a Tencent company. All rights reserved. * Puerts is licensed under the BSD 3-Clause License, except for the third-party components listed in the file 'LICENSE' which may be subject to their co...
34.276882
325
0.567093
Anehta
f819d000e99288c29420882d9b055889477f8b9a
214
cpp
C++
basic_programme/fabonacci.cpp
sahilduhan/Learn-C-plus-plus
80dba2ee08b36985deb297293a0318da5d6ace94
[ "RSA-MD" ]
null
null
null
basic_programme/fabonacci.cpp
sahilduhan/Learn-C-plus-plus
80dba2ee08b36985deb297293a0318da5d6ace94
[ "RSA-MD" ]
null
null
null
basic_programme/fabonacci.cpp
sahilduhan/Learn-C-plus-plus
80dba2ee08b36985deb297293a0318da5d6ace94
[ "RSA-MD" ]
null
null
null
#include <bits/stdc++.h> using namespace std; long long int fibonacci(int num) { if (num <= 1) return num; return fibonacci(num - 1) + fibonacci(num - 2); } int main() { cout << fibonacci(5); }
16.461538
51
0.593458
sahilduhan
f819d618195d2ba46c22f6ff794ff29a0227d071
937
cpp
C++
libft/test_ft_lstadd_back.cpp
study-group-99/ultimate-pilates-engine
9f665956d8ca7a3af0e16ac0f2b797bbd36b4b6d
[ "Unlicense" ]
3
2021-06-01T11:17:49.000Z
2021-06-17T08:56:52.000Z
libft/test_ft_lstadd_back.cpp
study-group-99/ultimate-pilates-engine
9f665956d8ca7a3af0e16ac0f2b797bbd36b4b6d
[ "Unlicense" ]
16
2021-06-02T23:02:02.000Z
2021-06-24T14:46:37.000Z
libft/test_ft_lstadd_back.cpp
study-group-99/ultimate-pilates-engine
9f665956d8ca7a3af0e16ac0f2b797bbd36b4b6d
[ "Unlicense" ]
null
null
null
#include <gtest/gtest.h> #include <stdlib.h> #include <strings.h> extern "C" { #include "../libft.h" } TEST(TestFtLstadd_back, Basic) { t_list *got = ft_lstnew(strdup("test")); t_list *want = ft_lstnew(strdup("OK")); ft_lstadd_back(&got, want); EXPECT_TRUE(want == got->next); EXPECT_STREQ("OK", (char *)g...
20.369565
53
0.674493
study-group-99
f81b36c4d2282a5455fea5c20f047ea1ab25e827
776
cpp
C++
cpp/aTourOfModernCpp/c06-range-based-for-loop.cpp
sysbender/learncoding
beb8b36793d85dfd6649eb3380161814ec4d19f6
[ "Unlicense" ]
null
null
null
cpp/aTourOfModernCpp/c06-range-based-for-loop.cpp
sysbender/learncoding
beb8b36793d85dfd6649eb3380161814ec4d19f6
[ "Unlicense" ]
null
null
null
cpp/aTourOfModernCpp/c06-range-based-for-loop.cpp
sysbender/learncoding
beb8b36793d85dfd6649eb3380161814ec4d19f6
[ "Unlicense" ]
null
null
null
#include "header.h" using namespace std; template<typename Container> void print(const Container& container){ for(auto const & x: container){ std::cout << x << " "; } std::cout << std::endl; } int main(){ vector<int> v {1,2,3,4}; // print - for legecy for( int i =0; i<v.size() ;...
15.52
58
0.443299
sysbender
f81da0b427974298bc97783a35ec7daf2e9f342a
22,236
cpp
C++
src/test/chip8_emu_test.cpp
Druage/chip8_cpp
e3c10a49a04c7118348dc63e60f48bebea62b8e6
[ "Apache-2.0" ]
null
null
null
src/test/chip8_emu_test.cpp
Druage/chip8_cpp
e3c10a49a04c7118348dc63e60f48bebea62b8e6
[ "Apache-2.0" ]
null
null
null
src/test/chip8_emu_test.cpp
Druage/chip8_cpp
e3c10a49a04c7118348dc63e60f48bebea62b8e6
[ "Apache-2.0" ]
null
null
null
// // Created by lee on 2020-07-29. // #define CATCH_CONFIG_MAIN // This tells Catch to provide a main() - only do this in one cpp file #include "include/catch.hpp" #include "include/utils.h" #include <chip8_emu.h> TEST_CASE("All chip8 fields are initialized correctly", "[INITIALIZED") { Chip8Emu emu; REQ...
23.1625
189
0.630014
Druage
f81e8e655066cfe98a25dd02f71a800d4c3d0306
892
hpp
C++
libs/geometry/test/algorithms/length/linestring_cases.hpp
lijgame/boost
ec2214a19cdddd1048058321a8105dd0231dac47
[ "BSL-1.0" ]
1
2018-12-15T19:57:24.000Z
2018-12-15T19:57:24.000Z
thirdparty-cpp/boost_1_62_0/libs/geometry/test/algorithms/length/linestring_cases.hpp
nxplatform/nx-mobile
0dc174c893f2667377cb2ef7e5ffeb212fa8b3e5
[ "Apache-2.0" ]
null
null
null
thirdparty-cpp/boost_1_62_0/libs/geometry/test/algorithms/length/linestring_cases.hpp
nxplatform/nx-mobile
0dc174c893f2667377cb2ef7e5ffeb212fa8b3e5
[ "Apache-2.0" ]
null
null
null
#ifndef LINESTRING_CASES_HPP #define LINESTRING_CASES_HPP #include <string> static std::string Ls_data_geo[] = {"LINESTRING(0 90,1 80,1 70)", "LINESTRING(0 90,1 80,1 80,1 80,1 70,1 70)", "LINESTRING(0 90,1 80,1 79,1 78,1 77,1 76,1 75,1 74,...
49.555556
103
0.457399
lijgame
f81e9ab9ecd763d4f850d347001ec48759cf1519
7,704
cpp
C++
Source/Renderer/Public/Resource/MaterialBlueprint/Cache/GraphicsPipelineStateSignature.cpp
cofenberg/unrimp
90310657f106eb83f3a9688329b78619255a1042
[ "MIT" ]
187
2015-11-02T21:27:57.000Z
2022-02-17T21:39:17.000Z
Source/Renderer/Public/Resource/MaterialBlueprint/Cache/GraphicsPipelineStateSignature.cpp
cofenberg/unrimp
90310657f106eb83f3a9688329b78619255a1042
[ "MIT" ]
null
null
null
Source/Renderer/Public/Resource/MaterialBlueprint/Cache/GraphicsPipelineStateSignature.cpp
cofenberg/unrimp
90310657f106eb83f3a9688329b78619255a1042
[ "MIT" ]
20
2015-11-04T19:17:01.000Z
2021-11-18T11:23:25.000Z
/*********************************************************\ * Copyright (c) 2012-2021 The Unrimp Team * * Permission is hereby granted, free of charge, to any person obtaining a copy of this software * and associated documentation files (the "Software"), to deal in the Software without * restriction, including wit...
56.647059
302
0.726246
cofenberg
f82a14d7328b9727dd80b1d377a0db0b62489233
15,988
cpp
C++
Source/CSwing.cpp
sizlo/SwingGame
d60e9214998082e8a75dfbe620188a46beb12369
[ "MIT" ]
null
null
null
Source/CSwing.cpp
sizlo/SwingGame
d60e9214998082e8a75dfbe620188a46beb12369
[ "MIT" ]
2
2015-02-20T19:09:32.000Z
2015-02-22T15:16:58.000Z
Source/CSwing.cpp
sizlo/SwingGame
d60e9214998082e8a75dfbe620188a46beb12369
[ "MIT" ]
null
null
null
// // CSwing.cpp // SwingGame // // Created by Tim Brier on 31/10/2014. // Copyright (c) 2014 tbrier. All rights reserved. // // ============================================================================= // Include Files // ----------------------------------------------------------------------------- #include "...
34.162393
83
0.485864
sizlo
f82a6d3ec33196552bc60c3bde766c84b68dff29
1,607
cpp
C++
HackerEarth/DynamicPrograming/coin-problem.cpp
Gmaurya/data-structure-and-algorithms
9f9790140719d24d15ee401e0d11a99dedde4235
[ "MIT" ]
3
2017-12-27T04:58:16.000Z
2018-02-05T14:11:06.000Z
HackerEarth/DynamicPrograming/coin-problem.cpp
Gmaurya/data-structure-and-algorithms
9f9790140719d24d15ee401e0d11a99dedde4235
[ "MIT" ]
4
2018-10-04T07:45:07.000Z
2018-11-23T17:36:20.000Z
HackerEarth/DynamicPrograming/coin-problem.cpp
Gmaurya/data-structure-and-algorithms
9f9790140719d24d15ee401e0d11a99dedde4235
[ "MIT" ]
8
2018-10-02T20:34:58.000Z
2018-10-07T14:27:53.000Z
#include<iostream> #include<bits/stdc++.h> // iteration and input/output stream #define rep(i, begin, end) for (__typeof(end) i = (begin) - ((begin) > (end)); i != (end) - ((begin) > (end)); i += 1 - 2 * ((begin) > (end))) #define srep(i, begin, end) for (__typeof(end) i = begin; i != end; i++) #define si(x) int x; sca...
25.507937
142
0.598009
Gmaurya
f830b772ce537c5a50b56030abf13f164d0d8f21
1,850
cpp
C++
CORE/Source/Entities/GUI Objects/ButtonComponents/MouseProcesor.cpp
pike4/CORE-Dev-Build-1.0
08376bae09a8bb3598f4aa8edfacd1ca1c45eaa3
[ "MIT" ]
3
2016-10-06T22:42:50.000Z
2016-10-14T16:04:46.000Z
CORE/Source/Entities/GUI Objects/ButtonComponents/MouseProcesor.cpp
pike4/CORE-Dev-Build-1.0
08376bae09a8bb3598f4aa8edfacd1ca1c45eaa3
[ "MIT" ]
null
null
null
CORE/Source/Entities/GUI Objects/ButtonComponents/MouseProcesor.cpp
pike4/CORE-Dev-Build-1.0
08376bae09a8bb3598f4aa8edfacd1ca1c45eaa3
[ "MIT" ]
null
null
null
#include "MouseProcessor.h" #include "QuadTree.h" #include "Entity.h" #include "Data.h" bool isWithin(int pointX, int pointY, int rectX, int rectY, int rectW, int rectH) { return ((pointX > rectX) && (pointX < (rectX + rectW)) && (pointY > rectY) && (pointY < (rectY + rectH))); } MouseProcessor::MouseP...
20.108696
82
0.595676
pike4
f832a14a9abdd87591eb8d9414f913d85973acfc
624
hpp
C++
deps/tinympl/tinympl/bool.hpp
gtaisbetterthanfn/modloader
18f85c2766d4e052a452c7b1d8f5860a6daac24b
[ "MIT" ]
186
2015-01-18T05:46:11.000Z
2022-03-22T10:03:44.000Z
deps/tinympl/tinympl/bool.hpp
AlisonMDL/modloader
18f85c2766d4e052a452c7b1d8f5860a6daac24b
[ "MIT" ]
82
2015-01-14T01:02:04.000Z
2022-03-20T23:55:59.000Z
deps/tinympl/tinympl/bool.hpp
AlisonMDL/modloader
18f85c2766d4e052a452c7b1d8f5860a6daac24b
[ "MIT" ]
34
2015-01-07T11:17:00.000Z
2022-02-28T00:16:20.000Z
// Copyright (C) 2013, Ennio Barbaro. // // Use, modification, and distribution is subject to 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) // // See http://sbabbi.github.io/tinympl for documentation. // // You are welcome to conta...
23.111111
74
0.735577
gtaisbetterthanfn
f838055dcdc4cdff42952aefd9794805b96a3c55
3,057
cpp
C++
source/tastefulserver/source/http/RequestParameters.cpp
scheibel/tastefulserver
69364fe5a1e2fb836ce471231f317d45154fc58f
[ "MIT" ]
2
2015-07-07T16:54:32.000Z
2021-04-13T08:32:59.000Z
source/tastefulserver/source/http/RequestParameters.cpp
scheibel/tasteful-server
69364fe5a1e2fb836ce471231f317d45154fc58f
[ "MIT" ]
1
2015-02-19T12:02:07.000Z
2015-02-19T12:02:07.000Z
source/tastefulserver/source/http/RequestParameters.cpp
scheibel/tastefulserver
69364fe5a1e2fb836ce471231f317d45154fc58f
[ "MIT" ]
6
2015-07-08T00:23:43.000Z
2020-02-06T16:12:53.000Z
#include <tastefulserver/RequestParameters.h> #include <QUrl> #include <QByteArray> #include <QStringList> #include <tastefulserver/MultiPart.h> #include <tastefulserver/UploadedFile.h> #include <tastefulserver/ByteStream.h> namespace tastefulserver { RequestParameters::RequestParameters() { } void RequestParamete...
22.152174
86
0.652601
scheibel
f83a446bf119d3ee6a041ed081f7782cf4363abc
674
cpp
C++
quicksort.cpp
ilimugur/Hacktoberfest-2020
62f33773c36f3f820b79d1129af6f344af20c63f
[ "Apache-2.0" ]
null
null
null
quicksort.cpp
ilimugur/Hacktoberfest-2020
62f33773c36f3f820b79d1129af6f344af20c63f
[ "Apache-2.0" ]
5
2020-10-01T08:55:52.000Z
2020-10-07T12:30:24.000Z
quicksort.cpp
ilimugur/Hacktoberfest-2020
62f33773c36f3f820b79d1129af6f344af20c63f
[ "Apache-2.0" ]
4
2020-10-01T08:55:59.000Z
2020-10-19T09:49:54.000Z
#include <iostream> #include<bits/stdc++.h> using namespace std; int partition(int *a, int s, int e){ int pivot = a[e]; int i=s-1; for(int j=s; j<=e-1; j++){ if(a[j] <= pivot){ i++; swap(a[i], a[j]); } } swap(a[++i], a[e]); return i; } void quickSort(int...
16.047619
37
0.437685
ilimugur
f841879466c87f7c928caebeb21e9a3c323abd15
801
cpp
C++
src/ui/element/PushButtonWithMenu.cpp
vitorjna/LoggerClient
b447f36224e98919045138bb08a849df211e5491
[ "MIT" ]
null
null
null
src/ui/element/PushButtonWithMenu.cpp
vitorjna/LoggerClient
b447f36224e98919045138bb08a849df211e5491
[ "MIT" ]
null
null
null
src/ui/element/PushButtonWithMenu.cpp
vitorjna/LoggerClient
b447f36224e98919045138bb08a849df211e5491
[ "MIT" ]
null
null
null
#include "PushButtonWithMenu.h" PushButtonWithMenu::PushButtonWithMenu(QWidget *parent) : QToolButton(parent) { setPopupMode(QToolButton::MenuButtonPopup); setAutoRaise(true); // setToolButtonStyle(Qt::ToolButtonTextOnly); connect(this, SIGNAL(triggered(QAction *)), this, SLOT(setDe...
21.078947
73
0.672909
vitorjna
f84b9e53403b6400d8768fc9dac185ca35af7198
2,187
cc
C++
tools/embedding_plugin/cc/kernels/v2/embedding_wrapper_forward_helper.cc
quinnrong94/HugeCTR
1068dc48b05a1219b393144dd3b61a1749f232df
[ "Apache-2.0" ]
1
2021-06-04T04:03:54.000Z
2021-06-04T04:03:54.000Z
tools/embedding_plugin/cc/kernels/v2/embedding_wrapper_forward_helper.cc
quinnrong94/HugeCTR
1068dc48b05a1219b393144dd3b61a1749f232df
[ "Apache-2.0" ]
null
null
null
tools/embedding_plugin/cc/kernels/v2/embedding_wrapper_forward_helper.cc
quinnrong94/HugeCTR
1068dc48b05a1219b393144dd3b61a1749f232df
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2020, 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 or agreed...
39.763636
97
0.748057
quinnrong94
f85059edaab4f4d640be587f162c0ffb99c8d8aa
1,912
cpp
C++
romTest.cpp
ckronber/CPlusPlusCode
889e9301031217b37641d94e7ea52200e06e5862
[ "Unlicense" ]
null
null
null
romTest.cpp
ckronber/CPlusPlusCode
889e9301031217b37641d94e7ea52200e06e5862
[ "Unlicense" ]
null
null
null
romTest.cpp
ckronber/CPlusPlusCode
889e9301031217b37641d94e7ea52200e06e5862
[ "Unlicense" ]
null
null
null
#include <iostream> #include <vector> #include <cmath> #include <string> using namespace std; void numberVal(int num, int * place); int main() { int nums[7] = {1,5,10,50,100,500,1000}; char rom[7] = {'I','V','X','L','C','D','M'}; int place[4]; vector <char> romChars; int num = 1987,j,hold; ch...
24.202532
97
0.402197
ckronber
f8571d4b20608dbc7875cd2b65d4558f0550bfba
12,437
cc
C++
node_modules/gl/angle/src/tests/third_party/gpu_test_expectations/gpu_test_config.cc
aaverty/editly
71bccaf91f8d68609c80ba59425b79e3f94579ad
[ "MIT" ]
27
2016-04-27T01:02:03.000Z
2021-12-13T08:53:19.000Z
node_modules/gl/angle/src/tests/third_party/gpu_test_expectations/gpu_test_config.cc
aaverty/editly
71bccaf91f8d68609c80ba59425b79e3f94579ad
[ "MIT" ]
2
2020-03-14T04:03:53.000Z
2021-09-02T04:26:49.000Z
node_modules/gl/angle/src/tests/third_party/gpu_test_expectations/gpu_test_config.cc
aaverty/editly
71bccaf91f8d68609c80ba59425b79e3f94579ad
[ "MIT" ]
17
2016-04-27T02:06:39.000Z
2019-12-18T08:07:00.000Z
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "gpu_test_config.h" #include "gpu_info.h" #include "gpu_test_expectations_parser.h" #if defined(OS_LINUX) extern "C" { # include <pci/pci...
26.183158
78
0.676369
aaverty
f85777d94c08d1b534962c5f819942a6dff1202a
18,527
cpp
C++
src/spf.cpp
ajbc/spf
a2f9712a852d67dbf0659c8e5fe7bd5a46df1ac5
[ "MIT" ]
28
2015-05-08T23:07:07.000Z
2021-09-08T19:56:49.000Z
src/spf.cpp
ajbc/spf
a2f9712a852d67dbf0659c8e5fe7bd5a46df1ac5
[ "MIT" ]
2
2016-11-29T10:43:06.000Z
2017-02-09T11:39:46.000Z
src/spf.cpp
ajbc/spf
a2f9712a852d67dbf0659c8e5fe7bd5a46df1ac5
[ "MIT" ]
10
2015-08-13T00:22:21.000Z
2021-04-06T20:17:32.000Z
#include "spf.h" SPF::SPF(model_settings* model_set, Data* dataset) { settings = model_set; data = dataset; // user influence printf("\tinitializing user influence (tau)\n"); tau = sp_fmat(data->user_count(), data->user_count()); logtau = sp_fmat(data->user_count(), data->user_count()); a_...
34.245841
108
0.54488
ajbc
f8579065aff8ac369152ea1c4971d4a7517e61cc
7,812
cpp
C++
test/run/code/vppTestFormats/main.cpp
maikebing/vpp
efa6c32f898e103d749764ce3a0b7dc29d6e9a51
[ "BSD-2-Clause" ]
null
null
null
test/run/code/vppTestFormats/main.cpp
maikebing/vpp
efa6c32f898e103d749764ce3a0b7dc29d6e9a51
[ "BSD-2-Clause" ]
null
null
null
test/run/code/vppTestFormats/main.cpp
maikebing/vpp
efa6c32f898e103d749764ce3a0b7dc29d6e9a51
[ "BSD-2-Clause" ]
null
null
null
// ----------------------------------------------------------------------------- #include <vppAll.hpp> // ----------------------------------------------------------------------------- namespace vpptest { // ----------------------------------------------------------------------------- unsigned int s_passedChe...
44.64
158
0.450589
maikebing
d3781cf444b8d8b8f0f1d33a3f7235bc372ddc7f
499
cpp
C++
Cpp/Strings/amazing-subarrays.cpp
mailtokartik1/InterviewBit-Solutions
8a9be25cf55947aff456c7c138e2ee6f518aa6a5
[ "MIT" ]
58
2019-06-15T01:35:06.000Z
2021-04-27T08:32:39.000Z
Strings/amazing-subarrays.cpp
mojo912/InterviewBit-Solutions
62fb19efff15bbe3b42183c12d2e6adf7c4c2a84
[ "MIT" ]
3
2019-06-17T00:20:13.000Z
2019-06-30T05:41:10.000Z
Strings/amazing-subarrays.cpp
mojo912/InterviewBit-Solutions
62fb19efff15bbe3b42183c12d2e6adf7c4c2a84
[ "MIT" ]
14
2019-06-15T01:35:09.000Z
2020-08-27T19:45:28.000Z
int Solution::solve(string A) { int count = 0; // Store the vowels in a map map<char, int> B; B['A'] = 1; B['a'] = 1; B['E'] = 1; B['e'] = 1; B['I'] = 1; B['i'] = 1; B['O'] = 1; B['o'] = 1; B['U'] = 1; B['u'] = 1; // Loop through the array and if the value exis...
18.481481
74
0.400802
mailtokartik1
d3782145691ad62d124577e502c6906818c0aef3
303
cpp
C++
55. Jump Game.cpp
qinenergy/leetCode
79f960795445470a16a4755b05aa05f99e5c616b
[ "MIT" ]
3
2017-02-22T14:28:27.000Z
2017-04-26T16:26:06.000Z
55. Jump Game.cpp
qinenergy/leetCode
79f960795445470a16a4755b05aa05f99e5c616b
[ "MIT" ]
null
null
null
55. Jump Game.cpp
qinenergy/leetCode
79f960795445470a16a4755b05aa05f99e5c616b
[ "MIT" ]
null
null
null
class Solution2 { public: bool canJump(vector<int>& nums) { int len = nums.size(); if(len <= 1) return true; int last = len - 1; for(int i = len - 2; i >= 0; --i){ if(nums[i] == 0 || i + nums[i] < last) continue; else last = i; } return last == 0; } };
23.307692
54
0.478548
qinenergy
d37a523c4b28b4e5f9886451637e3826748d1e54
20,334
cc
C++
pin-2.11/source/tools/ToolUnitTests/transactionalmem.cc
swchoi1994/Project
e46fa191afe54d6676016d41534c3531eb51ff79
[ "Intel" ]
3
2020-06-26T09:35:19.000Z
2021-01-03T16:58:11.000Z
pin-2.11/source/tools/ToolUnitTests/transactionalmem.cc
swchoi1994/Project
e46fa191afe54d6676016d41534c3531eb51ff79
[ "Intel" ]
null
null
null
pin-2.11/source/tools/ToolUnitTests/transactionalmem.cc
swchoi1994/Project
e46fa191afe54d6676016d41534c3531eb51ff79
[ "Intel" ]
2
2020-12-27T03:58:38.000Z
2020-12-27T03:58:38.000Z
/* ================================================================== */ /* Transactional Memory Pin Tool */ /* ------------------------------------------------------------------ */ /* */ /* functionality: ...
42.186722
121
0.464641
swchoi1994
d38c6777e8de0303010838912276076fad268e68
191
cpp
C++
X-Engine/src/XEngine/LayerSystem/Layer.cpp
JohnMichaelProductions/X-Engine
218ffcf64bfe5d5aed51b483c6f6986831ceeec4
[ "Apache-2.0" ]
4
2020-02-17T07:08:26.000Z
2020-08-07T21:35:12.000Z
X-Engine/src/XEngine/LayerSystem/Layer.cpp
JohnMichaelProductions/X-Engine
218ffcf64bfe5d5aed51b483c6f6986831ceeec4
[ "Apache-2.0" ]
25
2020-03-08T05:35:25.000Z
2020-07-08T01:59:52.000Z
X-Engine/src/XEngine/LayerSystem/Layer.cpp
JohnMichaelProductions/X-Engine
218ffcf64bfe5d5aed51b483c6f6986831ceeec4
[ "Apache-2.0" ]
1
2020-10-15T12:39:29.000Z
2020-10-15T12:39:29.000Z
// Source file for Layer Class #include "Xpch.h" #include "XEngine/LayerSystem/Layer.h" namespace XEngine { Layer::Layer(const std::string& name) : m_DebugName(name) {} Layer::~Layer() {} }
23.875
61
0.706806
JohnMichaelProductions
d38e1c156a6d624d54108eb233756bd9cc5b4a6c
198
hh
C++
Include/Luce/Text.hh
kmc7468/luce
6f71407f250dbc0428ceba33aeef345cc601db34
[ "MIT" ]
23
2017-02-09T11:48:01.000Z
2017-04-08T10:19:21.000Z
Include/Luce/Text.hh
kmc7468/luce
6f71407f250dbc0428ceba33aeef345cc601db34
[ "MIT" ]
null
null
null
Include/Luce/Text.hh
kmc7468/luce
6f71407f250dbc0428ceba33aeef345cc601db34
[ "MIT" ]
null
null
null
#ifndef LUCE_HEADER_TEXT_HH #define LUCE_HEADER_TEXT_HH #include <Luce/Text/Character.hh> #include <Luce/Text/Encoding.hh> #include <Luce/Text/EncodingRef.hh> #include <Luce/Text/String.hh> #endif
22
35
0.792929
kmc7468
d392029633060be323c771b62307fd41ade53bb1
2,444
cpp
C++
src/notifybyexecute.cpp
pasnox/knotifications
ef2871b2a485be5abe393e61c6cd93867420f896
[ "BSD-3-Clause" ]
1
2019-11-02T03:54:16.000Z
2019-11-02T03:54:16.000Z
src/notifybyexecute.cpp
pasnox/knotifications
ef2871b2a485be5abe393e61c6cd93867420f896
[ "BSD-3-Clause" ]
2
2019-10-27T23:06:33.000Z
2020-01-11T00:44:07.000Z
src/notifybyexecute.cpp
brute4s99/knotifications
bc01688f99fcbdc2d3ceb4ad9475da1359441408
[ "BSD-3-Clause" ]
null
null
null
/* Copyright (C) 2005-2006 by Olivier Goffart <ogoffart at kde.org> This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) versio...
32.586667
122
0.686579
pasnox
d393e442a14795a5fbbf833bbdb930dc797eadff
1,093
cpp
C++
tests/Version/Test_Version.cpp
mathersm/Penguin
e593dca4283364db02f2eca87dedeb9f61304f06
[ "MIT" ]
1
2019-01-27T15:17:04.000Z
2019-01-27T15:17:04.000Z
tests/Version/Test_Version.cpp
mathersm/Penguin
e593dca4283364db02f2eca87dedeb9f61304f06
[ "MIT" ]
1
2017-06-06T15:02:42.000Z
2017-06-06T15:02:43.000Z
tests/Version/Test_Version.cpp
mathersm/Penguin
e593dca4283364db02f2eca87dedeb9f61304f06
[ "MIT" ]
null
null
null
/* * Copyright (c) 2017 Michael Mathers */ #include <penguin/Version.h> #include <iostream> #include <sstream> namespace { void print_test_result(int result, std::string test_text) { std::cout << "[" << (result ? "FAIL" : " OK ") << "] " << test_text.c_str() << std::endl; } int test_version_...
23.255319
97
0.622141
mathersm
d3988951a50165c9076482141b914e2668377d82
2,190
cpp
C++
src/VERGE/ResourceSystem/ResourceSystem.cpp
zrmyers/VERGE
692f2c57191652054fbdf569230a84782c745ea8
[ "MIT" ]
null
null
null
src/VERGE/ResourceSystem/ResourceSystem.cpp
zrmyers/VERGE
692f2c57191652054fbdf569230a84782c745ea8
[ "MIT" ]
null
null
null
src/VERGE/ResourceSystem/ResourceSystem.cpp
zrmyers/VERGE
692f2c57191652054fbdf569230a84782c745ea8
[ "MIT" ]
null
null
null
/* * ResourceSystem.cpp * * Created on: Sep 18, 2017 * Author: Zane */ #include "ResourceSystem.h" #include "../ID.h" #include "Resources/Mesh.h" namespace VERGE { std::shared_ptr<ResourceSystem> ResourceSystem::getResourceSystem() { static std::shared_ptr<ResourceSystem> resourceSystem(new...
29.2
110
0.7
zrmyers
d398d8ec08690f28123cadcde53e35950d3474d7
2,965
cc
C++
src/objects/database/database.cc
bengotow/better-sqlite3
2606eef344cdf22f23ec8bd403f4aeb305f644cb
[ "MIT" ]
2
2017-10-10T06:24:35.000Z
2021-06-15T15:01:39.000Z
src/objects/database/database.cc
bengotow/better-sqlite3
2606eef344cdf22f23ec8bd403f4aeb305f644cb
[ "MIT" ]
null
null
null
src/objects/database/database.cc
bengotow/better-sqlite3
2606eef344cdf22f23ec8bd403f4aeb305f644cb
[ "MIT" ]
2
2017-03-15T06:34:50.000Z
2017-05-05T02:47:03.000Z
#include <stdint.h> #include <sqlite3.h> #include <nan.h> #include "database.h" #include "../statement/statement.h" #include "../transaction/transaction.h" #include "../../workers/open.h" #include "../../workers/close.h" #include "../../util/macros.h" #include "../../util/data.h" #include "../../util/list.h" #include "...
34.08046
138
0.720405
bengotow
d39e92ec613b0a4cc4644d3213468edee474aece
1,157
cpp
C++
p1149.cpp
joe1166/noi
be2e9fcd8306ff4f20a4306e219656346a396013
[ "Apache-2.0" ]
null
null
null
p1149.cpp
joe1166/noi
be2e9fcd8306ff4f20a4306e219656346a396013
[ "Apache-2.0" ]
null
null
null
p1149.cpp
joe1166/noi
be2e9fcd8306ff4f20a4306e219656346a396013
[ "Apache-2.0" ]
null
null
null
#include <iostream> using namespace std; int numof[10] = {6, 2, 5, 5, 4, 5, 6, 3, 7, 6}; int n; int a, b; int c = 0; int fnum = 0; int count(int n, int a) { if (a < 10) { return n - numof[a]; } else if (a < 100) { return n - (numof[a / 10] + numof[a % 10]); } else if (a < ...
15.025974
76
0.357822
joe1166
d39ee50288a65d7534a54319b9cd3b4be07f3691
497
cpp
C++
src/main.cpp
simojanhunen/dungeon_crawler
09385ddf33c4144ad06c819d0ef93d24f02fb630
[ "MIT" ]
null
null
null
src/main.cpp
simojanhunen/dungeon_crawler
09385ddf33c4144ad06c819d0ef93d24f02fb630
[ "MIT" ]
null
null
null
src/main.cpp
simojanhunen/dungeon_crawler
09385ddf33c4144ad06c819d0ef93d24f02fb630
[ "MIT" ]
null
null
null
// ---------------------------------------------------------------------------- // Main // ---------------------------------------------------------------------------- #include <stdlib.h> #include "game/game.hpp" int main(void) { #if defined(_WIN64) || defined(_WIN32) (void)system("CLS"); #else (void)system("...
18.407407
79
0.400402
simojanhunen
d3a718090b460168c2e0d82a3f1a0bda888fca7c
1,218
cpp
C++
1st_100/problem068.cpp
takekoputa/project-euler
6f434be429bd26f5d0f84f5ab0f5fa2bd677c790
[ "MIT" ]
null
null
null
1st_100/problem068.cpp
takekoputa/project-euler
6f434be429bd26f5d0f84f5ab0f5fa2bd677c790
[ "MIT" ]
null
null
null
1st_100/problem068.cpp
takekoputa/project-euler
6f434be429bd26f5d0f84f5ab0f5fa2bd677c790
[ "MIT" ]
1
2021-11-02T12:08:46.000Z
2021-11-02T12:08:46.000Z
// Problem: https://projecteuler.net/problem=68 #include<iostream> #include<algorithm> #include<vector> #include<numeric> #include<sstream> using namespace std; #define endl "\n" typedef uint64_t N64; const N64 N = 10; const N64 M = 16; bool V1_lowest(const vector<N64>& V) { for (int i = 1; i < N/2; i++) ...
18.179104
51
0.458128
takekoputa
d3a842e859e219171b1bcb569201b3c2d7d36602
4,650
cpp
C++
benchmark/benchmark.cpp
tower120/SyncedChunkedArray
8c91171d3718dc5cfae1392ea1ce24daa8542422
[ "MIT" ]
6
2017-10-25T15:38:39.000Z
2021-02-19T13:53:14.000Z
benchmark/benchmark.cpp
tower120/SyncedChunkedArray
8c91171d3718dc5cfae1392ea1ce24daa8542422
[ "MIT" ]
6
2017-10-19T18:37:19.000Z
2017-10-25T14:34:19.000Z
benchmark/benchmark.cpp
tower120/SyncedChunkedArray
8c91171d3718dc5cfae1392ea1ce24daa8542422
[ "MIT" ]
null
null
null
// All in all, iteration speed should be 2x slower then vector, in worst case (for single threaded execution). // gcc 7/clang 5 compiles to 1.25x-1.5x of vector speed // * try different BigData size (by indcreasing payload) // * try different threads_count // * try different array size // * try to use iterate_shared ...
27.514793
110
0.527742
tower120
d3ad0f2b413fd6afbbbe53d898fb62e4094ea5c4
22,566
cc
C++
training/const_reorder/constituent_reorder_model.cc
pks/cdec-dtrain-legacy
8d900ca0af90dff71d68a7b596571df3e64c2101
[ "Apache-2.0" ]
114
2015-01-11T05:41:03.000Z
2021-08-31T03:47:12.000Z
training/const_reorder/constituent_reorder_model.cc
pks/cdec-dtrain-legacy
8d900ca0af90dff71d68a7b596571df3e64c2101
[ "Apache-2.0" ]
29
2015-01-09T01:00:09.000Z
2019-09-25T06:04:02.000Z
training/const_reorder/constituent_reorder_model.cc
pks/cdec-dtrain-legacy
8d900ca0af90dff71d68a7b596571df3e64c2101
[ "Apache-2.0" ]
50
2015-02-13T13:48:39.000Z
2019-08-07T09:45:11.000Z
/* * constituent_reorder_model.cc * * Created on: Jul 10, 2013 * Author: junhuili */ #include <string> #include <unordered_map> #include <boost/program_options.hpp> #include "utils/filelib.h" #include "trainer.h" using namespace std; using namespace const_reorder; typedef std::unordered_map<std::string...
35.425432
82
0.585837
pks
d3bbf760d89b4294e96c42774735be6701863276
6,659
cpp
C++
examples/BasicTypes/main.cpp
think-cell/tcjs
8a0e2d00b1ed68b611734964ad2563092a7a80e4
[ "Apache-2.0" ]
15
2020-01-10T21:57:23.000Z
2021-10-06T12:03:52.000Z
examples/BasicTypes/main.cpp
think-cell/tcjs
8a0e2d00b1ed68b611734964ad2563092a7a80e4
[ "Apache-2.0" ]
18
2020-05-25T13:00:29.000Z
2021-10-05T13:01:34.000Z
examples/BasicTypes/main.cpp
think-cell/tcjs
8a0e2d00b1ed68b611734964ad2563092a7a80e4
[ "Apache-2.0" ]
2
2020-10-06T00:58:53.000Z
2021-01-28T03:14:01.000Z
#include <emscripten/val.h> #include <type_traits> #include "explicit_cast.h" #include "range.h" #include "assert_defs.h" #include "js_types.h" #include "js_ref.h" namespace js = tc::js; namespace jst = tc::jst; int main() { // any { static_assert(std::is_convertible<double, js::any>::value); static_assert(std:...
31.861244
149
0.689143
think-cell
d3c3d0ec9755772b888ee624908261ca771612f1
170
hpp
C++
src/KEngineTools/ProjectRainPacker/Logic/ResourceManufacturer.hpp
yxbh/Project-Forecast
8ea2f6249a38c9e7f4d6d7d1e51e11ad0b05c2c4
[ "BSD-3-Clause" ]
4
2019-04-09T13:03:11.000Z
2021-01-27T04:58:29.000Z
src/KEngineTools/ProjectRainPacker/Logic/ResourceManufacturer.hpp
yxbh/Project-Forecast
8ea2f6249a38c9e7f4d6d7d1e51e11ad0b05c2c4
[ "BSD-3-Clause" ]
2
2017-02-06T03:48:45.000Z
2020-08-31T01:30:10.000Z
src/KEngineTools/ProjectRainPacker/Logic/ResourceManufacturer.hpp
yxbh/Project-Forecast
8ea2f6249a38c9e7f4d6d7d1e51e11ad0b05c2c4
[ "BSD-3-Clause" ]
4
2020-06-28T08:19:53.000Z
2020-06-28T16:30:19.000Z
#pragma once #include "KEngine/Interfaces/IResource.hpp" #include <QString> class ResourceManufacturer { public: ke::ResourceSptr create(QString resourceType); };
14.166667
50
0.764706
yxbh
d3c4f0562840e4836b7c50c7567e2610a8d81c7c
461
cpp
C++
MT Game Engine/Source/Rendering/Texture/SkyboxTextureContainer.cpp
MatthewATaylor/MT-Game-Engine
bad800163a2ae5476fbe7d08a8c245e6a563c4fb
[ "MIT" ]
3
2019-10-08T20:58:43.000Z
2020-10-17T15:59:01.000Z
MT Game Engine/Source/Rendering/Texture/SkyboxTextureContainer.cpp
MatthewATaylor/MT-Game-Engine
bad800163a2ae5476fbe7d08a8c245e6a563c4fb
[ "MIT" ]
null
null
null
MT Game Engine/Source/Rendering/Texture/SkyboxTextureContainer.cpp
MatthewATaylor/MT-Game-Engine
bad800163a2ae5476fbe7d08a8c245e6a563c4fb
[ "MIT" ]
null
null
null
#include "Rendering/Texture/SkyboxTextureContainer.h" namespace mtge { //Constructor SkyboxTextureContainer::SkyboxTextureContainer( std::string frontTexFile, std::string backTexFile, std::string upTexFile, std::string downTexFile, std::string rightTexFile, std::string leftTexFile) { files[0] = frontT...
23.05
53
0.72885
MatthewATaylor
d3c601726c706e9e04d61c7743f918abb32c3a3d
600
cpp
C++
test/delete_duplicates_unittest.cpp
Rokugatsu/leetcode
f868c494a9d23ac6519c94374281781f209fb19c
[ "MIT" ]
null
null
null
test/delete_duplicates_unittest.cpp
Rokugatsu/leetcode
f868c494a9d23ac6519c94374281781f209fb19c
[ "MIT" ]
null
null
null
test/delete_duplicates_unittest.cpp
Rokugatsu/leetcode
f868c494a9d23ac6519c94374281781f209fb19c
[ "MIT" ]
null
null
null
/** * @file delete_duplicates_unittest.cpp * @author lipingan (lipingan.dev@outlook.com) * @brief * @version 0.1 * @date 2022-01-09 * * @copyright Copyright (c) 2022 * */ #include "delete_duplicates.h" #include "gmock/gmock.h" #include "gtest/gtest.h" namespace leetcode { TEST(delete_duplicates, case_0) { ...
21.428571
76
0.605
Rokugatsu
d3ca0d276e40a2f729175da04f5ea84de19e0db0
3,379
cpp
C++
src/WtMsgQue/MQServer.cpp
v1otusc/wondertrader
fd65a052d26be32882f89e8e9dfcd1d7b8736a3b
[ "MIT" ]
null
null
null
src/WtMsgQue/MQServer.cpp
v1otusc/wondertrader
fd65a052d26be32882f89e8e9dfcd1d7b8736a3b
[ "MIT" ]
1
2022-03-21T06:51:59.000Z
2022-03-21T06:51:59.000Z
src/WtMsgQue/MQServer.cpp
v1otusc/wondertrader
fd65a052d26be32882f89e8e9dfcd1d7b8736a3b
[ "MIT" ]
null
null
null
/*! * \file EventCaster.cpp * \project WonderTrader * * \author Wesley * \date 2020/03/30 * * \brief */ #include "MQServer.h" #include "MQManager.h" #include "../Share/StrUtil.hpp" #include <spdlog/fmt/fmt.h> #include <atomic> #ifndef NN_STATIC_LIB #define NN_STATIC_LIB #endif #include <nanomsg/nn.h> #inc...
19.994083
107
0.620894
v1otusc
d3cd573f675089f989061cdcde656282d96f18d5
400
hh
C++
src/main-window.hh
lIlIIV/QtModelView
1e596e32677a1281b8b95b889174724a40e7cacb
[ "MIT" ]
null
null
null
src/main-window.hh
lIlIIV/QtModelView
1e596e32677a1281b8b95b889174724a40e7cacb
[ "MIT" ]
null
null
null
src/main-window.hh
lIlIIV/QtModelView
1e596e32677a1281b8b95b889174724a40e7cacb
[ "MIT" ]
null
null
null
#ifndef MAIN_WINDOW #define MAIN_WINDOW #include <QDockWidget> #include <QListView> #include <QMainWindow> #include <QVBoxLayout> #include "my-delegate.hh" #include "my-model.hh" class MainWindow : public QMainWindow { Q_OBJECT public: MainWindow(); ~MainWindow(); private: QListView * list_view; ...
13.793103
37
0.705
lIlIIV
d3d374022596a4eed8ff242a30224a47f2950c30
1,870
cpp
C++
rpc_examples/RpcServer.cpp
cd606/tm_examples
5ea8e9774f5070fbcc073c71c39bcb7febef88a7
[ "Apache-2.0" ]
1
2020-05-22T08:47:00.000Z
2020-05-22T08:47:00.000Z
rpc_examples/RpcServer.cpp
cd606/tm_examples
5ea8e9774f5070fbcc073c71c39bcb7febef88a7
[ "Apache-2.0" ]
null
null
null
rpc_examples/RpcServer.cpp
cd606/tm_examples
5ea8e9774f5070fbcc073c71c39bcb7febef88a7
[ "Apache-2.0" ]
null
null
null
#include <tm_kit/infra/Environments.hpp> #include <tm_kit/infra/DeclarativeGraph.hpp> #include <tm_kit/infra/TerminationController.hpp> #include <tm_kit/infra/RealTimeApp.hpp> #include <tm_kit/basic/SpdLoggingComponent.hpp> #include <tm_kit/basic/real_time_clock/ClockComponent.hpp> #include <tm_kit/basic/Serialization...
33.392857
100
0.682353
cd606
d3d5bdd5ebd956cb59a3af50480b511202e52f93
6,814
cc
C++
runtime/ops/indexing.cc
ir5/chainer-compiler
c6d9b9ba3175931321c1e512c17642a613c03bfc
[ "MIT" ]
null
null
null
runtime/ops/indexing.cc
ir5/chainer-compiler
c6d9b9ba3175931321c1e512c17642a613c03bfc
[ "MIT" ]
null
null
null
runtime/ops/indexing.cc
ir5/chainer-compiler
c6d9b9ba3175931321c1e512c17642a613c03bfc
[ "MIT" ]
null
null
null
#include <chainerx/routines/creation.h> #include <chainerx/routines/indexing.h> #include <chainerx/routines/manipulation.h> #include <common/log.h> #include <runtime/chainerx_util.h> #include <runtime/gen_chxvm_ops.h> namespace chainer_compiler { namespace runtime { chainerx::Array SliceOp::RunImpl(ChxVMState* st, c...
40.802395
136
0.649692
ir5
d3d726dc30da3c85b6453af936412bfeaad158e9
1,542
hpp
C++
src/net/SessionBase.hpp
lineCode/webrtc-datachannels
0f814632361c829c3aff1764cb662bd6290d54d9
[ "Apache-2.0" ]
1
2020-11-05T21:48:16.000Z
2020-11-05T21:48:16.000Z
src/net/SessionBase.hpp
lineCode/webrtc-datachannels
0f814632361c829c3aff1764cb662bd6290d54d9
[ "Apache-2.0" ]
null
null
null
src/net/SessionBase.hpp
lineCode/webrtc-datachannels
0f814632361c829c3aff1764cb662bd6290d54d9
[ "Apache-2.0" ]
null
null
null
#pragma once #include "log/Logger.hpp" #include <boost/asio.hpp> #include <functional> #include <memory> #include <thread> #include <vector> namespace gloer { namespace config { struct ServerConfig; } // namespace config } // namespace gloer namespace gloer { namespace algo { class DispatchQueue; } // namespace alg...
20.837838
97
0.743839
lineCode
d3d7a2e5537b4cff36c1b64a2ad310843bb3cd79
2,479
cpp
C++
bsp/BSPBalanceSplitSelector.cpp
Andrewich/deadjustice
48bea56598e79a1a10866ad41aa3517bf7d7c724
[ "BSD-3-Clause" ]
3
2019-04-20T10:16:36.000Z
2021-03-21T19:51:38.000Z
bsp/BSPBalanceSplitSelector.cpp
Andrewich/deadjustice
48bea56598e79a1a10866ad41aa3517bf7d7c724
[ "BSD-3-Clause" ]
null
null
null
bsp/BSPBalanceSplitSelector.cpp
Andrewich/deadjustice
48bea56598e79a1a10866ad41aa3517bf7d7c724
[ "BSD-3-Clause" ]
2
2020-04-18T20:04:24.000Z
2021-09-19T05:07:41.000Z
#include "BSPBalanceSplitSelector.h" #include "BSPPolygon.h" #include "BSPNode.h" #include "ProgressIndicator.h" #include <lang/Math.h> #include <math/Vector4.h> #include <assert.h> #include "config.h" //----------------------------------------------------------------------------- using namespace lang; us...
22.953704
88
0.572812
Andrewich
d3e1f7f857c2477d24b3d038a2f6de3ca5c60215
1,037
cpp
C++
Pinball/ModuleTitleScreen.cpp
yeraytm/Pinball
f39b8d7b0e1b793ae7f3f992caec1a2960c1923c
[ "MIT" ]
null
null
null
Pinball/ModuleTitleScreen.cpp
yeraytm/Pinball
f39b8d7b0e1b793ae7f3f992caec1a2960c1923c
[ "MIT" ]
null
null
null
Pinball/ModuleTitleScreen.cpp
yeraytm/Pinball
f39b8d7b0e1b793ae7f3f992caec1a2960c1923c
[ "MIT" ]
null
null
null
#include "Application.h" #include "ModuleTitleScreen.h" #include "ModuleTextures.h" #include "ModuleFadeToBlack.h" #include "ModuleRender.h" #include "ModuleInput.h" #include "ModuleAudio.h" #include "ModuleWindow.h" ModuleTitleScreen::ModuleTitleScreen(Application* app, bool startEnabled) : Module(app, startEnabled) ...
19.203704
104
0.708775
yeraytm
d3e359b05bd5789bf669003e029f5afcbb67979c
2,880
hpp
C++
lib/builder/Bittner13CUDA.hpp
mensinda/BVHTest
46e24818f623797c78f2e094434213e3728a114c
[ "Apache-2.0" ]
4
2019-03-09T16:35:00.000Z
2022-01-12T06:32:05.000Z
lib/builder/Bittner13CUDA.hpp
mensinda/BVHTest
46e24818f623797c78f2e094434213e3728a114c
[ "Apache-2.0" ]
null
null
null
lib/builder/Bittner13CUDA.hpp
mensinda/BVHTest
46e24818f623797c78f2e094434213e3728a114c
[ "Apache-2.0" ]
1
2020-09-09T15:47:13.000Z
2020-09-09T15:47:13.000Z
/* * Copyright (C) 2018 Daniel Mensinger * * 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 agree...
34.285714
113
0.697222
mensinda
d3e4118169d70aefc553a867f9615b30b751a403
3,167
hpp
C++
src/mfx/uitk/Rect.hpp
mikelange49/pedalevite
a81bd8a6119c5920995ec91b9f70e11e9379580e
[ "WTFPL" ]
69
2017-01-17T13:17:31.000Z
2022-03-01T14:56:32.000Z
src/mfx/uitk/Rect.hpp
mikelange49/pedalevite
a81bd8a6119c5920995ec91b9f70e11e9379580e
[ "WTFPL" ]
1
2020-11-03T14:52:45.000Z
2020-12-01T20:31:15.000Z
src/mfx/uitk/Rect.hpp
mikelange49/pedalevite
a81bd8a6119c5920995ec91b9f70e11e9379580e
[ "WTFPL" ]
8
2017-02-08T13:30:42.000Z
2021-12-09T08:43:09.000Z
/***************************************************************************** Rect.hpp Author: Laurent de Soras, 2016 --- Legal stuff --- This program is free software. It comes without any warranty, to the extent permitted by applicable law. You can redistribute it and/or modify it under the terms ...
17.994318
85
0.469845
mikelange49
d3f00464d44d556046de78702a25bd6c6101a143
815
cpp
C++
tests/appenv/multifile/integers.cpp
FloEdelmann/universal
c5b83f251ad91229399b7f97e4eeefcf718819d4
[ "MIT" ]
null
null
null
tests/appenv/multifile/integers.cpp
FloEdelmann/universal
c5b83f251ad91229399b7f97e4eeefcf718819d4
[ "MIT" ]
null
null
null
tests/appenv/multifile/integers.cpp
FloEdelmann/universal
c5b83f251ad91229399b7f97e4eeefcf718819d4
[ "MIT" ]
null
null
null
// integers.cpp: compilation test to check arithmetic type usage in application environments // // Copyright (C) 2017-2022 Stillwater Supercomputing, Inc. // // This file is part of the universal numbers project, which is released under an MIT Open Source license. #include <universal/number/integer/integer.hpp> #inclu...
31.346154
106
0.711656
FloEdelmann
d3f252bde3e1479ae92e85876cc86fcf77fbd286
364
cpp
C++
src/8.cpp
dxscjx123/SwordOffer
e04958beb3f99c103f879b09f3da547679a208c4
[ "MIT" ]
3
2018-04-20T14:07:14.000Z
2019-08-29T14:35:30.000Z
src/8.cpp
dxscjx123/SwordOffer
e04958beb3f99c103f879b09f3da547679a208c4
[ "MIT" ]
null
null
null
src/8.cpp
dxscjx123/SwordOffer
e04958beb3f99c103f879b09f3da547679a208c4
[ "MIT" ]
null
null
null
// 分析: // 斐波拉契数列问题。递归方式下需注意函数嵌套太深。 class Solution { public: int jumpFloor(int number) { if(number <= 2) return number; int pre = 1, next = 2; int result, tmp; for(int i = 3; i <= number; i++) { tmp = next; //设置tmp保存前一个变量next next = pre + next; //更新next pre = tmp; //pre指向旧的next作为新的pre ...
18.2
36
0.57967
dxscjx123
d3f300588ab97dafe9edcfa1d79ffdfa40fcbb1d
27
hpp
C++
LearnCmake/HelloWorld/foo.hpp
wisemountain/wise.learn
a8e1343a7d5fd791a3327c108268f752e56b63d7
[ "MIT" ]
3
2021-04-23T04:01:55.000Z
2021-09-20T12:47:53.000Z
LearnCmake/HelloWorld/foo.hpp
wisemountain/wise.learn
a8e1343a7d5fd791a3327c108268f752e56b63d7
[ "MIT" ]
null
null
null
LearnCmake/HelloWorld/foo.hpp
wisemountain/wise.learn
a8e1343a7d5fd791a3327c108268f752e56b63d7
[ "MIT" ]
null
null
null
#pragma once void foo();
6.75
13
0.62963
wisemountain
d3f352e8821edcd4848cf4d13d75431b6ee504a9
2,584
cpp
C++
demo/src/GLDebugger.cpp
pdm-pcb/pdmath
6c8ac4288c68bbe547e71f5bb7d1e44d3f1e35ab
[ "MIT" ]
null
null
null
demo/src/GLDebugger.cpp
pdm-pcb/pdmath
6c8ac4288c68bbe547e71f5bb7d1e44d3f1e35ab
[ "MIT" ]
null
null
null
demo/src/GLDebugger.cpp
pdm-pcb/pdmath
6c8ac4288c68bbe547e71f5bb7d1e44d3f1e35ab
[ "MIT" ]
null
null
null
#include "GLDebugger.hpp" #include <iostream> void GLAPIENTRY GLDebugger::error_callback(GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *message, const void *user_data) { const ch...
22.275862
71
0.55805
pdm-pcb
d3f70845df1404282c219c0ce8918e5706d174b2
4,407
cpp
C++
modules/squarepine_audio/wrappers/AudioTransportProcessor.cpp
thinium/squarepine_core
9d73b0820b8b44129b62a643785e8a7d4a7035b0
[ "ISC" ]
7
2021-12-03T16:09:39.000Z
2022-02-02T15:53:21.000Z
modules/squarepine_audio/wrappers/AudioTransportProcessor.cpp
thinium/squarepine_core
9d73b0820b8b44129b62a643785e8a7d4a7035b0
[ "ISC" ]
2
2021-07-06T16:56:06.000Z
2021-07-08T19:23:36.000Z
modules/squarepine_audio/wrappers/AudioTransportProcessor.cpp
thinium/squarepine_core
9d73b0820b8b44129b62a643785e8a7d4a7035b0
[ "ISC" ]
2
2021-07-06T16:10:59.000Z
2021-08-06T13:54:12.000Z
AudioTransportProcessor::AudioTransportProcessor() : transport (new AudioTransportSource()), source (nullptr) { audioSourceProcessor.setAudioSource (transport, true); prepareToPlay (44100.0, 256); } AudioTransportProcessor::~AudioTransportProcessor() { audioSourceProcessor.setAudioSource (nullptr, ...
27.54375
108
0.652598
thinium
d3f771c8e33bf22e64142a9aaec5a5717c849197
34,838
cpp
C++
src/network/network.cpp
trademarks/OpenTTD
fd7fca73cf61a2960e8df8fa221b179d23ae3ef0
[ "Unlicense" ]
8
2016-10-21T09:01:43.000Z
2021-05-31T06:32:14.000Z
src/network/network.cpp
blackberry/OpenTTD
fd7fca73cf61a2960e8df8fa221b179d23ae3ef0
[ "Unlicense" ]
null
null
null
src/network/network.cpp
blackberry/OpenTTD
fd7fca73cf61a2960e8df8fa221b179d23ae3ef0
[ "Unlicense" ]
4
2017-05-16T00:15:58.000Z
2020-08-06T01:46:31.000Z
/* $Id$ */ /* * This file is part of OpenTTD. * OpenTTD 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, version 2. * OpenTTD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without...
32.168052
200
0.726305
trademarks
108f777d2cb40510cc2226292c9dfce7b944fbf2
739
cc
C++
game/AIDarylMatrix.cc
alvaroma94/EDA-Game
f1912f3e726a315e1a850d1a16081e9363bc2d65
[ "MIT" ]
null
null
null
game/AIDarylMatrix.cc
alvaroma94/EDA-Game
f1912f3e726a315e1a850d1a16081e9363bc2d65
[ "MIT" ]
null
null
null
game/AIDarylMatrix.cc
alvaroma94/EDA-Game
f1912f3e726a315e1a850d1a16081e9363bc2d65
[ "MIT" ]
null
null
null
#include "Player.hh" using namespace std; /** * Escriu el nom * del teu jugador i guarda * aquest fitxer amb el nom AI*.cc */ #define PLAYER_NAME DarylMatrix /** * Podeu declarar constants aquí */ struct PLAYER_NAME : public Player { /** * Factory: retorna una nova instància d'aquesta classe. ...
12.741379
62
0.612991
alvaroma94
10915f5776ebe6144a87326b65fd65bffff744c4
557
cpp
C++
Stream/MemoryInputStream.cpp
Unitrunker/Tile
71b8b0e33bf8100090be6d9ac45e7d300f812cbc
[ "Apache-2.0" ]
null
null
null
Stream/MemoryInputStream.cpp
Unitrunker/Tile
71b8b0e33bf8100090be6d9ac45e7d300f812cbc
[ "Apache-2.0" ]
1
2017-11-14T16:56:26.000Z
2017-11-20T02:00:23.000Z
Stream/MemoryInputStream.cpp
Unitrunker/Tile
71b8b0e33bf8100090be6d9ac45e7d300f812cbc
[ "Apache-2.0" ]
2
2017-11-14T14:18:51.000Z
2019-06-16T11:58:47.000Z
#include "MemoryInputStream.h" MemoryInputStream::MemoryInputStream(const unsigned char *memory, size_t limit) : _memory(memory), _limit(limit), _cursor(0) { } bool MemoryInputStream::Read(unsigned char *pOctets, size_t iOctets, size_t &iRead) { size_t iRemains = _limit - _cursor; if (iRemains > 0) { ...
20.62963
125
0.678636
Unitrunker
1092ea6194eb5bcf22ecb1c5b569bd637553e3f9
236
cpp
C++
component_solution/1.4/16.cpp
hsefz2018/NOIP-openjudge
b606d399b780959caadcf0094b90fa9163f30029
[ "MIT" ]
11
2016-02-03T11:13:07.000Z
2021-05-30T04:37:02.000Z
1.4/16.cpp
20200117/noip-openjudge
5c8b0786ea3fe2208ff9a44f244a631dbc5bb24c
[ "MIT" ]
4
2015-08-18T10:52:33.000Z
2015-10-29T12:51:52.000Z
1.4/16.cpp
20200117/noip-openjudge
5c8b0786ea3fe2208ff9a44f244a631dbc5bb24c
[ "MIT" ]
5
2016-02-03T11:13:09.000Z
2019-07-10T13:25:59.000Z
#include <iostream> #include <string> #include <cmath> using namespace std; int main() { long long a, b, c; cin >> a >> b >> c; cout << (((a + b > c) && (b + c > a) && (a + c > b)) ? "yes" : "no") << endl; return 0; }
18.153846
81
0.466102
hsefz2018