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
ee19748c7c87ae28f2adb1711665224e0b23b2f8
972
cpp
C++
tutoriat-04-virtual-rtti/Subiecte examen/rezolvate/6.cpp
Tutoring-OOP-RM/Tutoring-OOP
f8709acbbe4a0fc0f869d95e3666c15f0332ddb8
[ "MIT" ]
4
2021-03-11T09:34:07.000Z
2021-03-11T16:11:34.000Z
tutoriat-04-virtual-rtti/Subiecte examen/rezolvate/6.cpp
Tutoring-OOP-RM/Tutoring-OOP
f8709acbbe4a0fc0f869d95e3666c15f0332ddb8
[ "MIT" ]
null
null
null
tutoriat-04-virtual-rtti/Subiecte examen/rezolvate/6.cpp
Tutoring-OOP-RM/Tutoring-OOP
f8709acbbe4a0fc0f869d95e3666c15f0332ddb8
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; class B { int i; public: B() { i = 1; cout<<"B "; } virtual int get_i() { return i; } }; class D: virtual public B { int j; public: D() { j = 2; cout << "D "; } int get_i() { return B:...
16.2
47
0.391975
Tutoring-OOP-RM
ee20ea7d6e66f507f6e29d0423d7c7f3a5d8f456
15,008
cpp
C++
game_elements.cpp
psemiletov/yourik-qt5
dbd5ea27c07638329a7e76f4e9b13fb5ce742cd9
[ "Xnet", "X11" ]
3
2016-07-08T09:32:34.000Z
2019-08-16T09:58:09.000Z
game_elements.cpp
psemiletov/yourik-qt5
dbd5ea27c07638329a7e76f4e9b13fb5ce742cd9
[ "Xnet", "X11" ]
null
null
null
game_elements.cpp
psemiletov/yourik-qt5
dbd5ea27c07638329a7e76f4e9b13fb5ce742cd9
[ "Xnet", "X11" ]
null
null
null
/*********************************************************** * this code by Peter Semiletov is Public Domain * **********************************************************/ #include <QDebug> #include "game_elements.h" CSprite* sprite_pool[MAX_SPRITES]; CSampleList* sample_pool[MAX_SOUNDS]; CSprite::CSp...
19.069886
89
0.723081
psemiletov
ee21b10037d178e799d1271e3d61deeffdb66aef
905
hpp
C++
src/Enclave/unary/mathgen.hpp
dove-project/dove-backend
e9f4f6211181ccc9072416816d65793dc137444b
[ "MIT" ]
null
null
null
src/Enclave/unary/mathgen.hpp
dove-project/dove-backend
e9f4f6211181ccc9072416816d65793dc137444b
[ "MIT" ]
null
null
null
src/Enclave/unary/mathgen.hpp
dove-project/dove-backend
e9f4f6211181ccc9072416816d65793dc137444b
[ "MIT" ]
null
null
null
#ifndef _MATHGEN_HPP #define _MATHGEN_HPP #include "../unary_op.hpp" #ifdef LIB_FTFP class AbsOp: public UnaryOp { void call(fixed scalar, fixed *result); }; class SignOp: public UnaryOp { void call(fixed scalar, fixed *result); }; class SqrtOp: public UnaryOp { void call(fixed scalar, fixed *result); }; clas...
19.255319
43
0.712707
dove-project
0c54e828fba6ffaa7eb9ea33aa5428c749d3c0f2
2,799
cpp
C++
cppcache/src/EnumInfo.cpp
mmartell/geode-native
fa6edf5d3ad83c78431f0c5e2da163b7a0df5558
[ "Apache-2.0" ]
null
null
null
cppcache/src/EnumInfo.cpp
mmartell/geode-native
fa6edf5d3ad83c78431f0c5e2da163b7a0df5558
[ "Apache-2.0" ]
null
null
null
cppcache/src/EnumInfo.cpp
mmartell/geode-native
fa6edf5d3ad83c78431f0c5e2da163b7a0df5558
[ "Apache-2.0" ]
null
null
null
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
32.172414
77
0.709182
mmartell
0c5a1d489527de7fca36444d98c6f2a2ad83dcad
2,778
cpp
C++
Firmware/graphics/widgets_layer/widgets/bluetooth/gs_bluetooth_widget.cpp
ValentiWorkLearning/GradWork
70bb5a629df056a559bae3694b47a2e5dc98c23b
[ "MIT" ]
39
2019-10-23T12:06:16.000Z
2022-01-26T04:28:29.000Z
Firmware/graphics/widgets_layer/widgets/bluetooth/gs_bluetooth_widget.cpp
ValentiWorkLearning/GradWork
70bb5a629df056a559bae3694b47a2e5dc98c23b
[ "MIT" ]
20
2020-03-21T20:21:46.000Z
2021-11-19T14:34:03.000Z
Firmware/graphics/widgets_layer/widgets/bluetooth/gs_bluetooth_widget.cpp
ValentiWorkLearning/GradWork
70bb5a629df056a559bae3694b47a2e5dc98c23b
[ "MIT" ]
7
2019-10-18T09:44:10.000Z
2021-06-11T13:05:16.000Z
#include "gs_bluetooth_widget.hpp" #include "ih/gs_events.hpp" #include "ih/gs_itheme_controller.hpp" #include "fonts/IconFont16px.hpp" namespace Graphics::Widgets { BluetoothWidget::BluetoothWidget(const Theme::IThemeController* _themeController) noexcept : WidgetBaseObj<IBluetoothWidget>{_themeController} ...
25.486239
100
0.727502
ValentiWorkLearning
0c5e1e60d25ab9b93aeb421a9d51d6ede0597da2
5,589
hpp
C++
Final Project/Final Project Code/UnityRosHusky/src/slam_toolbox/slam_toolbox/include/slam_toolbox/slam_toolbox_common.hpp
AdityaPradhan1/Nokia_Bell_Labs-MIT_Manipal-ROS_Mapping_Platform
3775d8705eef2afc22dbeb9802449e010159a271
[ "MIT" ]
3
2021-12-07T11:21:23.000Z
2022-03-03T11:58:33.000Z
Final Project/Final Project Code/UnityRosHusky/src/slam_toolbox/slam_toolbox/include/slam_toolbox/slam_toolbox_common.hpp
X-TRON404/Nokia_Bell_Labs-MIT_Manipal-ROS_Mapping_Platform
3775d8705eef2afc22dbeb9802449e010159a271
[ "MIT" ]
null
null
null
Final Project/Final Project Code/UnityRosHusky/src/slam_toolbox/slam_toolbox/include/slam_toolbox/slam_toolbox_common.hpp
X-TRON404/Nokia_Bell_Labs-MIT_Manipal-ROS_Mapping_Platform
3775d8705eef2afc22dbeb9802449e010159a271
[ "MIT" ]
3
2022-02-27T12:45:12.000Z
2022-03-03T11:58:38.000Z
/* * slam_toolbox * Copyright (c) 2008, Willow Garage, Inc. * Copyright Work Modifications (c) 2018, Simbe Robotics, Inc. * Copyright Work Modifications (c) 2019, Steve Macenski * * THE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS OF THIS CREATIVE * COMMONS PUBLIC LICENSE ("CCPL" OR "LICENSE"). THE WORK I...
37.510067
122
0.779567
AdityaPradhan1
0c613566060141b4027cd3c6b3be21148bc807dc
780
cpp
C++
tests/hip_device_printf.cpp
sheidanava/HIP-CPU
4a3edd04d7259f3715d1f7db9de8bff75b6bb96d
[ "MIT" ]
75
2020-12-07T22:18:12.000Z
2022-02-25T20:26:03.000Z
tests/hip_device_printf.cpp
sheidanava/HIP-CPU
4a3edd04d7259f3715d1f7db9de8bff75b6bb96d
[ "MIT" ]
32
2020-12-14T06:35:21.000Z
2022-03-16T11:49:18.000Z
tests/hip_device_printf.cpp
sheidanava/HIP-CPU
4a3edd04d7259f3715d1f7db9de8bff75b6bb96d
[ "MIT" ]
10
2020-12-09T08:11:29.000Z
2022-02-11T15:45:44.000Z
/* ----------------------------------------------------------------------------- * Copyright (c) 2020 Advanced Micro Devices, Inc. All Rights Reserved. * See 'LICENSE' in the project root for license information. * -------------------------------------------------------------------------- */ #include <hip/hip_runtim...
32.5
80
0.526923
sheidanava
0c66590bf498607a4515b690ebb31038657c473c
862
hxx
C++
tests/test_helpers.hxx
cmbrandt/nola-simd
9c38f41bd807c030ff6077f9cafd096df7fc047c
[ "MIT" ]
null
null
null
tests/test_helpers.hxx
cmbrandt/nola-simd
9c38f41bd807c030ff6077f9cafd096df7fc047c
[ "MIT" ]
1
2021-03-26T03:03:22.000Z
2021-03-26T03:03:22.000Z
tests/test_helpers.hxx
cmbrandt/nola-simd
9c38f41bd807c030ff6077f9cafd096df7fc047c
[ "MIT" ]
1
2022-02-28T22:18:57.000Z
2022-02-28T22:18:57.000Z
// Copyright (c) 2020-2021 Christopher M. Brandt // All rights reserved #ifndef NOLA_TEST_HELPERS_HXX #define NOLA_TEST_HELPERS_HXX #include <string_view> #include <type_traits> #include <iostream> // // Helper functions used throughout template <class I> bool compare_sequences(I first1, I last1, I first2) { usin...
17.958333
58
0.635731
cmbrandt
0c71ba2bcfcde561c8dbb672f6085f3523bbdc55
769
cpp
C++
Sort/merge_sort_test.cpp
pyj9748/Algorithm
71f135abdab2631f99d28b18a704de4d51354382
[ "MIT" ]
null
null
null
Sort/merge_sort_test.cpp
pyj9748/Algorithm
71f135abdab2631f99d28b18a704de4d51354382
[ "MIT" ]
null
null
null
Sort/merge_sort_test.cpp
pyj9748/Algorithm
71f135abdab2631f99d28b18a704de4d51354382
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int n = 10; int arr[1000001] = {15, 25, 22, 357, 16, 23, -53, 12, 46, 3}; int tmp[1000001]; // merge 함수에서 리스트 2개를 합친 결과를 임시로 저장하고 있을 변수 // mid = (st+en)/2라고 할 때 arr[st:mid], arr[mid:en]은 이미 정렬이 되어있는 상태일 때 arr[st:mid]와 arr[mid:en]을 합친다. void merge(int st, int en){ int mi...
26.517241
99
0.579974
pyj9748
0c7330ecfd0d9c8911d57fd221d303318acf6c06
1,289
hpp
C++
Source/UI/include/TitaniumWindows/UI/UIElement.hpp
garymathews/titanium_mobile_windows
ff2a02d096984c6cad08f498e1227adf496f84df
[ "Apache-2.0" ]
20
2015-04-02T06:55:30.000Z
2022-03-29T04:27:30.000Z
Source/UI/include/TitaniumWindows/UI/UIElement.hpp
garymathews/titanium_mobile_windows
ff2a02d096984c6cad08f498e1227adf496f84df
[ "Apache-2.0" ]
692
2015-04-01T21:05:49.000Z
2020-03-10T10:11:57.000Z
Source/UI/include/TitaniumWindows/UI/UIElement.hpp
garymathews/titanium_mobile_windows
ff2a02d096984c6cad08f498e1227adf496f84df
[ "Apache-2.0" ]
22
2015-04-01T20:57:51.000Z
2022-01-18T17:33:15.000Z
/** * Titanium.UI.View for Windows * * Copyright (c) 2014 by Appcelerator, Inc. All Rights Reserved. * Licensed under the terms of the Apache Public License. * Please see the LICENSE included with this distribution for details. */ #ifndef _TITANIUMWINDOWS_UI_VIEW_HPP_ #define _TITANIUMWINDOWS_UI_VIEW_HP...
27.425532
116
0.73623
garymathews
0c7bfbb8add6fa892f264078d08fbc8b13f3ff21
15,226
cpp
C++
platform/gucefCORE/src/CTransactionEventControl.cpp
amvb/GUCEF
08fd423bbb5cdebbe4b70df24c0ae51716b65825
[ "Apache-2.0" ]
5
2016-04-18T23:12:51.000Z
2022-03-06T05:12:07.000Z
platform/gucefCORE/src/CTransactionEventControl.cpp
amvb/GUCEF
08fd423bbb5cdebbe4b70df24c0ae51716b65825
[ "Apache-2.0" ]
2
2015-10-09T19:13:25.000Z
2018-12-25T17:16:54.000Z
platform/gucefCORE/src/CTransactionEventControl.cpp
amvb/GUCEF
08fd423bbb5cdebbe4b70df24c0ae51716b65825
[ "Apache-2.0" ]
15
2015-02-23T16:35:28.000Z
2022-03-25T13:40:33.000Z
/* * gucefCORE: GUCEF module providing O/S abstraction and generic solutions * Copyright (C) 2002 - 2007. Dinand Vanvelzen * * 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 Foundati...
32.326964
84
0.412912
amvb
0c7c9d7cb40177d732051709b986b8a0e4328c75
6,236
cc
C++
Misc/Opencores/c16_latest.tar/c16/tags/V10/memory/makemem.cc
Main-Project-MEC/Systolic-Processor-On-FPGA
35f7b94b5abb2614070d136c5811ab70d7385fc7
[ "MIT" ]
3
2015-10-19T17:51:26.000Z
2018-01-31T09:52:35.000Z
Misc/Opencores/c16_latest.tar/c16/tags/V10/memory/makemem.cc
Main-Project-MEC/Systolic-Processor-On-FPGA
35f7b94b5abb2614070d136c5811ab70d7385fc7
[ "MIT" ]
null
null
null
Misc/Opencores/c16_latest.tar/c16/tags/V10/memory/makemem.cc
Main-Project-MEC/Systolic-Processor-On-FPGA
35f7b94b5abb2614070d136c5811ab70d7385fc7
[ "MIT" ]
2
2018-03-27T06:34:03.000Z
2021-01-12T11:28:18.000Z
#include <stdio.h> #include <assert.h> char data[0x10000]; //----------------------------------------------------------------------------- void write_mem_1(FILE * out, FILE * ucf, int bank, int bit, const char * data) { fprintf(out, "-- content of m_%d_%d\r\n", bank, bit); for (int col = 0; col < 16; col++) ...
31.18
79
0.445157
Main-Project-MEC
0c7e479d715130ec3c9f168b5edd926a59bf8f20
1,785
cpp
C++
src/InstakillEC.cpp
pablojor/mood
779af33ae3fc596c1749901917f67c0d8a14d63f
[ "MIT" ]
null
null
null
src/InstakillEC.cpp
pablojor/mood
779af33ae3fc596c1749901917f67c0d8a14d63f
[ "MIT" ]
2
2020-04-12T14:01:00.000Z
2020-05-20T12:53:11.000Z
src/InstakillEC.cpp
pablojor/mood
779af33ae3fc596c1749901917f67c0d8a14d63f
[ "MIT" ]
1
2021-01-25T23:05:05.000Z
2021-01-25T23:05:05.000Z
#include "InstakillEC.h" #include "AutomaticRifleC.h" #include "ComponentsManager.h" #include "Entity.h" #include "FactoriesFactory.h" #include "GunC.h" #include "HandGunC.h" #include "Scene.h" #include "ShotgunC.h" #include "SniperGunC.h" #include "SoundComponent.h" #include <json.h> void InstakillEC::setEffect(bool ...
30.775862
79
0.697479
pablojor
0c8169e7b924f454ef992013c4d841708c47195d
1,868
hpp
C++
include/ParserTools/StringDelimiterIterator.hpp
jebreimo/ParserTools
8f0478402e8ea63e3f984bcc0ae979d5d12179f4
[ "BSD-2-Clause" ]
null
null
null
include/ParserTools/StringDelimiterIterator.hpp
jebreimo/ParserTools
8f0478402e8ea63e3f984bcc0ae979d5d12179f4
[ "BSD-2-Clause" ]
null
null
null
include/ParserTools/StringDelimiterIterator.hpp
jebreimo/ParserTools
8f0478402e8ea63e3f984bcc0ae979d5d12179f4
[ "BSD-2-Clause" ]
null
null
null
//**************************************************************************** // Copyright © 2020 Jan Erik Breimo. All rights reserved. // Created by Jan Erik Breimo on 2020-08-21. // // This file is distributed under the BSD License. // License text is included with the source distribution. //************************...
27.470588
78
0.51606
jebreimo
0c88d31391ea5c6240d6a29b1056274c74040c56
15,774
hpp
C++
include/expectations/expectation.hpp
toroidal-code/cppspec
189a94a7adb32656089da2ba5d8af2f2f0f67767
[ "MIT" ]
11
2015-06-02T23:45:20.000Z
2018-06-27T12:35:19.000Z
include/expectations/expectation.hpp
toroidal-code/cppspec
189a94a7adb32656089da2ba5d8af2f2f0f67767
[ "MIT" ]
7
2016-03-17T04:14:38.000Z
2016-05-02T07:51:10.000Z
include/expectations/expectation.hpp
toroidal-code/cppspec
189a94a7adb32656089da2ba5d8af2f2f0f67767
[ "MIT" ]
3
2016-10-20T09:31:46.000Z
2017-12-15T02:36:07.000Z
/** * @file * @brief Defines the Expectation class and associated functions */ #ifndef CPPSPEC_EXPECTATIONS_EXPECTATION_HPP #define CPPSPEC_EXPECTATIONS_EXPECTATION_HPP #pragma once #include <string> #include <regex> #include <vector> #include <exception> #include "matchers/be_between.hpp" #include "matchers/be_gr...
28.117647
80
0.661278
toroidal-code
0c91e0ce85d87a94a756a9f36ce940f294b18d93
16,437
cpp
C++
project/Drawing.cpp
lakeweb/ECAD
9089253afd39adecd88f4a33056f91b646207e00
[ "MIT" ]
null
null
null
project/Drawing.cpp
lakeweb/ECAD
9089253afd39adecd88f4a33056f91b646207e00
[ "MIT" ]
null
null
null
project/Drawing.cpp
lakeweb/ECAD
9089253afd39adecd88f4a33056f91b646207e00
[ "MIT" ]
2
2019-06-21T16:17:49.000Z
2020-07-04T13:41:01.000Z
#include "stdafx.h" #include "Geometry.h" #include "objects.h" #include "shared.h" #include "Drawing.h" #ifdef _DEBUG #define new DEBUG_NEW #endif namespace { // .................................................................. #define OBJ_OS(x) {std::cout << x;} //#define OBJ_OS(x) __noop; } // ...................
30.838649
124
0.560321
lakeweb
0c953cc05992823ec14ac11e35ca98b5a0b84c8b
6,744
cpp
C++
src/KawaiiEngine/src/EventProvider.cpp
Mathieu-Lala/Cute_Solar_System_-3
0bfe496991344709481995af348da2be37a19cac
[ "MIT" ]
4
2021-06-03T11:20:09.000Z
2022-02-11T06:52:54.000Z
src/KawaiiEngine/src/EventProvider.cpp
Mathieu-Lala/Cute_Solar_System_-3
0bfe496991344709481995af348da2be37a19cac
[ "MIT" ]
35
2021-05-29T09:25:57.000Z
2021-06-28T04:49:22.000Z
src/KawaiiEngine/src/EventProvider.cpp
Mathieu-Lala/Kawaii_Engine
0bfe496991344709481995af348da2be37a19cac
[ "MIT" ]
null
null
null
#include <vector> #include <chrono> #include <nlohmann/json.hpp> #include "graphics/Window.hpp" #include "EventProvider.hpp" #include "helpers/overloaded.hpp" kawe::EventProvider *kawe::EventProvider::s_instance = nullptr; kawe::EventProvider::EventProvider(const Window &window) : m_window{window} { s_instance ...
36.258065
118
0.628114
Mathieu-Lala
0c970531bbd6ea088d91d059380b34b4f4390c49
1,276
hpp
C++
Sources/AGEngine/Physics/CapsuleColliderInterface.hpp
Another-Game-Engine/AGE
d5d9e98235198fe580a43007914f515437635830
[ "MIT" ]
47
2015-03-29T09:44:25.000Z
2020-11-30T10:05:56.000Z
Sources/AGEngine/Physics/CapsuleColliderInterface.hpp
Another-Game-Engine/AGE
d5d9e98235198fe580a43007914f515437635830
[ "MIT" ]
313
2015-01-01T18:16:30.000Z
2015-11-30T07:54:07.000Z
Sources/AGEngine/Physics/CapsuleColliderInterface.hpp
Another-Game-Engine/AGE
d5d9e98235198fe580a43007914f515437635830
[ "MIT" ]
9
2015-06-07T13:21:54.000Z
2020-08-25T09:50:07.000Z
#pragma once #include "ColliderInterface.hpp" namespace AGE { namespace Physics { class CapsuleColliderInterface : public virtual ColliderInterface { public: // Constructors CapsuleColliderInterface(void) = delete; CapsuleColliderInterface(WorldInterface *world, Private::GenericData *data); Caps...
24.075472
91
0.742947
Another-Game-Engine
0c9c06ad7599d9b018db2cd219477279fea04ba4
5,232
hpp
C++
include/eve/module/bessel/detail/kernel_bessel_jy_large.hpp
the-moisrex/eve
80b52663eefee11460abb0aedf4158a5067cf7dc
[ "MIT" ]
340
2020-09-16T21:12:48.000Z
2022-03-28T15:40:33.000Z
include/eve/module/bessel/detail/kernel_bessel_jy_large.hpp
the-moisrex/eve
80b52663eefee11460abb0aedf4158a5067cf7dc
[ "MIT" ]
383
2020-09-17T06:56:35.000Z
2022-03-13T15:58:53.000Z
include/eve/module/bessel/detail/kernel_bessel_jy_large.hpp
the-moisrex/eve
80b52663eefee11460abb0aedf4158a5067cf7dc
[ "MIT" ]
28
2021-02-27T23:11:23.000Z
2022-03-25T12:31:29.000Z
//================================================================================================== /** EVE - Expressive Vector Engine Copyright : EVE Contributors & Maintainers SPDX-License-Identifier: MIT **/ //================================================================================================== #...
33.754839
100
0.570528
the-moisrex
0ca0b047491456eb62bf45249d4dab1284262822
8,299
cpp
C++
vstgui/uidescription/viewcreator/scrollviewcreator.cpp
GizzZmo/vstgui
477a3de78ecbcf25f52cce9ad49c5feb0b15ea9e
[ "BSD-3-Clause" ]
608
2015-12-18T10:21:27.000Z
2022-03-29T01:00:52.000Z
vstgui/uidescription/viewcreator/scrollviewcreator.cpp
GizzZmo/vstgui
477a3de78ecbcf25f52cce9ad49c5feb0b15ea9e
[ "BSD-3-Clause" ]
111
2016-01-27T09:07:33.000Z
2022-02-28T06:47:32.000Z
vstgui/uidescription/viewcreator/scrollviewcreator.cpp
GizzZmo/vstgui
477a3de78ecbcf25f52cce9ad49c5feb0b15ea9e
[ "BSD-3-Clause" ]
123
2015-12-18T08:30:36.000Z
2022-03-05T17:26:38.000Z
// This file is part of VSTGUI. It is subject to the license terms // in the LICENSE file found in the top-level directory of this // distribution and at http://github.com/steinbergmedia/vstgui/LICENSE #include "scrollviewcreator.h" #include "../../lib/controls/cscrollbar.h" #include "../../lib/cscrollview.h" #includ...
34.012295
97
0.668755
GizzZmo
0ca1291c497d4cf24387e6f9f0bcfdfe79a97084
1,814
cpp
C++
a_plus_b/solution_sample.cpp
Pachicobue/LibTest
d5a69ce8578f6d092f7a39bd5bd21b3875346a70
[ "Unlicense" ]
4
2019-08-26T16:52:59.000Z
2020-09-14T07:15:34.000Z
a_plus_b/solution_sample.cpp
Pachicobue/LibTest
d5a69ce8578f6d092f7a39bd5bd21b3875346a70
[ "Unlicense" ]
null
null
null
a_plus_b/solution_sample.cpp
Pachicobue/LibTest
d5a69ce8578f6d092f7a39bd5bd21b3875346a70
[ "Unlicense" ]
null
null
null
/** * 解法テストのサンプル * * 本来はlibtestにはproblem.hppのような問題だけ置き、solutionはライブラリ側で実装する * ライブラリを用いて解法を実装、テストする方法を例示する */ #include <cassert> #include "../utils/unit_test.hpp" #include "problem.hpp" namespace { struct ac { static constexpr const char* name = "AC"; // 解法名 static void solve(std::ifstream& input_file, st...
27.484848
90
0.62624
Pachicobue
0ca24e3568b672b189daf575c09fdc4a310bb7b8
743
cpp
C++
level_zero/core/source/gen12lp/rkl/cmdlist_rkl.cpp
troels/compute-runtime
3269e719a3ee7bcd97c50ec2cfe78fc8674adec0
[ "Intel", "MIT" ]
778
2017-09-29T20:02:43.000Z
2022-03-31T15:35:28.000Z
level_zero/core/source/gen12lp/rkl/cmdlist_rkl.cpp
troels/compute-runtime
3269e719a3ee7bcd97c50ec2cfe78fc8674adec0
[ "Intel", "MIT" ]
478
2018-01-26T16:06:45.000Z
2022-03-30T10:19:10.000Z
level_zero/core/source/gen12lp/rkl/cmdlist_rkl.cpp
troels/compute-runtime
3269e719a3ee7bcd97c50ec2cfe78fc8674adec0
[ "Intel", "MIT" ]
215
2018-01-30T08:39:32.000Z
2022-03-29T11:08:51.000Z
/* * Copyright (C) 2021 Intel Corporation * * SPDX-License-Identifier: MIT * */ #include "level_zero/core/source/cmdlist/cmdlist_hw.inl" #include "level_zero/core/source/cmdlist/cmdlist_hw_base.inl" #include "level_zero/core/source/cmdlist/cmdlist_hw_immediate.inl" #include "level_zero/core/source/gen12lp/cmdlist...
29.72
111
0.820996
troels
0caa62163901e3c77624642baa5ccfb80607f73b
309
cpp
C++
GameEngine/Components/SpeedComponent/SpeedComponent.cpp
Stun3R/Epitech-R-Type
3d6ef3bd5a937f50de996de2395c43c5115f0776
[ "MIT" ]
null
null
null
GameEngine/Components/SpeedComponent/SpeedComponent.cpp
Stun3R/Epitech-R-Type
3d6ef3bd5a937f50de996de2395c43c5115f0776
[ "MIT" ]
null
null
null
GameEngine/Components/SpeedComponent/SpeedComponent.cpp
Stun3R/Epitech-R-Type
3d6ef3bd5a937f50de996de2395c43c5115f0776
[ "MIT" ]
null
null
null
/* ** EPITECH PROJECT, 2021 ** R-TYPE ** File description: ** Created by stun3r, */ #include "SpeedComponent.hpp" SpeedComponent::SpeedComponent(Speed mSpeed) : _speed(mSpeed) { } Speed SpeedComponent::getSpeed() const { return _speed; } void SpeedComponent::setSpeed(Speed mSpeed) { _speed = mSpeed; }
13.434783
61
0.71521
Stun3R
0cac4ce64f7c00b2eba9fc49cdd9c38e9a69b41c
4,988
cpp
C++
unittests/AllocateBuffer.cpp
Nyufu/LockFreeRingBuffer
3eacb5546a2d07984690500bf5e23466a62889a3
[ "MIT" ]
4
2016-12-04T13:42:14.000Z
2019-02-15T10:08:37.000Z
unittests/AllocateBuffer.cpp
Nyufu/LockFreeRingBuffer
3eacb5546a2d07984690500bf5e23466a62889a3
[ "MIT" ]
null
null
null
unittests/AllocateBuffer.cpp
Nyufu/LockFreeRingBuffer
3eacb5546a2d07984690500bf5e23466a62889a3
[ "MIT" ]
3
2016-12-04T13:42:17.000Z
2021-06-21T08:53:23.000Z
#include "pch.h" #pragma warning( push, 0 ) #include "gtest\gtest.h" #include <memory> #pragma warning( pop ) #include "LockFreeRingBuffer.h" namespace Test_AllocateBuffer_Byte_0_size { int32_t constructorCallCounter = 0; int32_t destructorCallCounter = 0; template<class _Ty> struct MockAllocator { static _Ty* ...
21.5
95
0.761026
Nyufu
0cb422a6b2e17e07b1828ba24246bff48e0b28d7
718
cpp
C++
CF/1425C.cpp
jawahiir98/CP
a32566554949cd12a62151f90ac3b82b67275cac
[ "MIT" ]
null
null
null
CF/1425C.cpp
jawahiir98/CP
a32566554949cd12a62151f90ac3b82b67275cac
[ "MIT" ]
null
null
null
CF/1425C.cpp
jawahiir98/CP
a32566554949cd12a62151f90ac3b82b67275cac
[ "MIT" ]
null
null
null
/* /\ In The Name Of Allah /\ Author : Jawahiir Nabhan */ #include <bits/stdc++.h> #define pb push_back using namespace std; typedef long long ll; const char nl = '\n'; int main() { int T; cin>> T; while(T--) { ll N,M; cin>> N; M = N; ll ans = 0,turn = 1; while(N){ ...
19.944444
54
0.335655
jawahiir98
0cc52015ee057bd7f41ab05eb626a9e1104f5c2a
3,529
cpp
C++
LuaBindings/LuaInput.cpp
Jeffrey-W23/AIE-Assignment-ComplexSystem
9876e8feb71cb91cc6d476611baf333855b65f44
[ "MIT" ]
null
null
null
LuaBindings/LuaInput.cpp
Jeffrey-W23/AIE-Assignment-ComplexSystem
9876e8feb71cb91cc6d476611baf333855b65f44
[ "MIT" ]
null
null
null
LuaBindings/LuaInput.cpp
Jeffrey-W23/AIE-Assignment-ComplexSystem
9876e8feb71cb91cc6d476611baf333855b65f44
[ "MIT" ]
null
null
null
// #includes, using, etc #include "LuaInput.h" #include "Lua.hpp" #include "Input.h" // static member initialization of m_pInput. aie::Input* LuaInput::sm_pInput; //-------------------------------------------------------------------------------------- // Default Constructor. //----------------------------------------...
30.162393
108
0.505809
Jeffrey-W23
0cc964e0f4762cbfb43df988ea3ebf232c926ccf
224
cpp
C++
src/VM/interop/windows/windows.cpp
joakimthun/Elsa
3be901149c1102d190dda1c7f3340417f03666c7
[ "MIT" ]
16
2015-10-12T14:24:45.000Z
2021-07-20T01:56:04.000Z
src/VM/interop/windows/windows.cpp
haifenghuang/Elsa
3be901149c1102d190dda1c7f3340417f03666c7
[ "MIT" ]
null
null
null
src/VM/interop/windows/windows.cpp
haifenghuang/Elsa
3be901149c1102d190dda1c7f3340417f03666c7
[ "MIT" ]
2
2017-11-12T01:39:09.000Z
2021-07-20T01:56:09.000Z
#include "windows.h" namespace elsa { namespace vm { void peek_message() { MSG msg; if (PeekMessage(&msg, NULL, NULL, NULL, PM_REMOVE)) { TranslateMessage(&msg); DispatchMessage(&msg); } } } }
12.444444
54
0.602679
joakimthun
0ccb70dd5a43a8bcbe0d13736494b4a26689435f
6,901
hxx
C++
gunrock/src/graph.hxx
aka-chris/mini
608751ff11f74e1ee59222399cbf6c9ee92208fb
[ "Apache-2.0" ]
17
2016-08-13T07:19:11.000Z
2021-05-05T15:19:02.000Z
gunrock/src/graph.hxx
aka-chris/mini
608751ff11f74e1ee59222399cbf6c9ee92208fb
[ "Apache-2.0" ]
6
2016-10-19T02:43:21.000Z
2020-01-05T07:10:59.000Z
gunrock/src/graph.hxx
aka-chris/mini
608751ff11f74e1ee59222399cbf6c9ee92208fb
[ "Apache-2.0" ]
7
2016-08-15T18:53:17.000Z
2021-11-02T12:05:36.000Z
#pragma once #include <vector> #include <memory> #include <cstdlib> #include <algorithm> #include <cassert> #include <tuple> #include <iostream> #include <limits> #include "moderngpu/meta.hxx" #include "moderngpu/context.hxx" #include "moderngpu/memory.hxx" using namespace mgpu; namespace gunrock { struct csr_t { ...
30.535398
96
0.592523
aka-chris
0ccfa89aa92a152f6a2cb0762b51b3385e356f4a
1,102
hpp
C++
src/rover/subsystem.hpp
2535Rover/RoverSystem
300dd4d754bac2e4caff25ed1da244c109d289be
[ "Apache-2.0" ]
1
2018-10-16T02:32:49.000Z
2018-10-16T02:32:49.000Z
src/subsystems_computer/subsystem.hpp
2535Rover/RoverSystem
300dd4d754bac2e4caff25ed1da244c109d289be
[ "Apache-2.0" ]
13
2018-10-23T20:35:10.000Z
2018-11-23T22:44:32.000Z
src/subsystems_computer/subsystem.hpp
2535Rover/RoverSystem
300dd4d754bac2e4caff25ed1da244c109d289be
[ "Apache-2.0" ]
1
2018-10-16T03:11:39.000Z
2018-10-16T03:11:39.000Z
#ifndef SUBSYSTEM_HPP #define SUBSYSTEM_HPP #include "../network/network.hpp" namespace subsystem { enum class State : uint8_t { // No attempt has yet been made to connect to the subsystem. NOT_CONNECTED, // An initial attempt to connect to the subsystem is currently being made. CONNECTING, // ...
23.446809
88
0.729583
2535Rover
0cd0688cd2fa688c42916c6f79565c03a4631c61
5,644
hpp
C++
libs/network/benchmark/network/mine_node_basic.hpp
AronVanAmmers/ledger
5cf8b85e5ee42957d9d38fd76b2b3ead0f061954
[ "Apache-2.0" ]
1
2019-05-15T17:23:08.000Z
2019-05-15T17:23:08.000Z
libs/network/benchmark/network/mine_node_basic.hpp
AronVanAmmers/ledger
5cf8b85e5ee42957d9d38fd76b2b3ead0f061954
[ "Apache-2.0" ]
null
null
null
libs/network/benchmark/network/mine_node_basic.hpp
AronVanAmmers/ledger
5cf8b85e5ee42957d9d38fd76b2b3ead0f061954
[ "Apache-2.0" ]
null
null
null
#pragma once //------------------------------------------------------------------------------ // // Copyright 2018 Fetch.AI Limited // // 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...
27.398058
88
0.608257
AronVanAmmers
0cd0865cb3b014ef71b24980fba4b68a7b2b9c81
496
cpp
C++
code/valid_parentheses.cpp
Shiv-sharma-111/Leetcode_Solution
52c941f32f0670271360821a8675225d83fa04a6
[ "MIT" ]
null
null
null
code/valid_parentheses.cpp
Shiv-sharma-111/Leetcode_Solution
52c941f32f0670271360821a8675225d83fa04a6
[ "MIT" ]
null
null
null
code/valid_parentheses.cpp
Shiv-sharma-111/Leetcode_Solution
52c941f32f0670271360821a8675225d83fa04a6
[ "MIT" ]
null
null
null
class Solution { public: bool isValid(string s) { stack <char> stc; for(int i=0;i<s.size();i++) { if(s[i]=='(') stc.push(')'); else if(s[i]=='{') stc.push('}'); else if(s[i]=='[') stc.push(']'); e...
21.565217
49
0.326613
Shiv-sharma-111
0cd2341b5a2e7b1633048f88a5b2c8be726ad4a2
720
cpp
C++
cpp/exercises/personal/exercise-1.cpp
arturparkhisenko/til
6fe7ddf2466d8090b9cf83fa5f7ae5fe5cacc19b
[ "MIT" ]
5
2017-01-20T01:48:25.000Z
2020-07-19T11:15:49.000Z
cpp/exercises/personal/exercise-1.cpp
arturparkhisenko/til
6fe7ddf2466d8090b9cf83fa5f7ae5fe5cacc19b
[ "MIT" ]
null
null
null
cpp/exercises/personal/exercise-1.cpp
arturparkhisenko/til
6fe7ddf2466d8090b9cf83fa5f7ae5fe5cacc19b
[ "MIT" ]
1
2017-08-22T12:21:04.000Z
2017-08-22T12:21:04.000Z
// Check 3 digit number by parity (even), // if even - find a summ of its digits, // if odd - find a multiplication of its digits #include <iostream> using namespace std; int main() { int num; int result; cout << "Enter a 3 digits number: "; cin >> num; if (num < 100 || num > 999) { cout << "Sorry bu...
18.947368
64
0.573611
arturparkhisenko
7b4cd41dfd0fef2c22d319480aa0f6d3420b02d0
459
cpp
C++
aula008/main.cpp
GuilhermeAlvesSanjaCity/C-
1f56574c247c67193eabb5a5e78d68fd674a605d
[ "MIT" ]
null
null
null
aula008/main.cpp
GuilhermeAlvesSanjaCity/C-
1f56574c247c67193eabb5a5e78d68fd674a605d
[ "MIT" ]
null
null
null
aula008/main.cpp
GuilhermeAlvesSanjaCity/C-
1f56574c247c67193eabb5a5e78d68fd674a605d
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; /* run this program using the console pauser or add your own getch, system("pause") or input loop */ int main(int argc, char** argv) { int num=10; cout << num << "\n\n"; num = num * -1; // MANEIRA DE INVERNTER O VALOR DA VARIAVEL // num = -num INVERTE O VALOR NAO...
18.36
100
0.647059
GuilhermeAlvesSanjaCity
7b515df745c3e4c71ba19201941aa49b404e09e1
610
cpp
C++
unittest/context.cpp
onecoolx/picasso
65cc59b4517e1a8894eed0fbda6514d90220cab4
[ "BSD-3-Clause" ]
269
2015-01-31T11:08:23.000Z
2022-03-30T10:06:21.000Z
unittest/context.cpp
onecoolx/picasso
65cc59b4517e1a8894eed0fbda6514d90220cab4
[ "BSD-3-Clause" ]
2
2016-04-16T09:47:46.000Z
2019-03-28T04:05:58.000Z
unittest/context.cpp
onecoolx/picasso
65cc59b4517e1a8894eed0fbda6514d90220cab4
[ "BSD-3-Clause" ]
47
2015-01-31T21:55:29.000Z
2022-03-07T11:08:14.000Z
#include "test.h" ps_context* get_context() { static ps_canvas* e = ps_canvas_create(COLOR_FORMAT_RGBA, 200, 200); static ps_context* c = ps_context_create(e, 0); return c; } TEST(Context, AntialiasAndGamma) { ps_context * ctx = get_context(); // gamma double g = 1.5; double old = ps_set_gamm...
19.677419
72
0.678689
onecoolx
7b54d9d76693099ebd74f1f572d801a18a01ce0f
528
hpp
C++
include/RED4ext/Types/generated/LibTreeParameterList.hpp
Cyberpunk-Extended-Development-Team/RED4ext.SDK
2dc828c761d87a1b4235ce9ca4fbdf9fb4312fae
[ "MIT" ]
1
2021-02-01T23:07:50.000Z
2021-02-01T23:07:50.000Z
include/RED4ext/Types/generated/LibTreeParameterList.hpp
Cyberpunk-Extended-Development-Team/RED4ext.SDK
2dc828c761d87a1b4235ce9ca4fbdf9fb4312fae
[ "MIT" ]
null
null
null
include/RED4ext/Types/generated/LibTreeParameterList.hpp
Cyberpunk-Extended-Development-Team/RED4ext.SDK
2dc828c761d87a1b4235ce9ca4fbdf9fb4312fae
[ "MIT" ]
null
null
null
#pragma once // This file is generated from the Game's Reflection data #include <cstdint> #include <RED4ext/Common.hpp> #include <RED4ext/REDhash.hpp> #include <RED4ext/DynArray.hpp> #include <RED4ext/Types/generated/LibTreeParameter.hpp> namespace RED4ext { struct LibTreeParameterList { static constexpr const c...
24
63
0.768939
Cyberpunk-Extended-Development-Team
7b576f60fc924981435ec463885476f26291cf0a
1,510
cpp
C++
src/main.cpp
crockeo/optisearch
6e58e60c8ef58252fc62ec84758b66ea5d25aa42
[ "MIT" ]
null
null
null
src/main.cpp
crockeo/optisearch
6e58e60c8ef58252fc62ec84758b66ea5d25aa42
[ "MIT" ]
null
null
null
src/main.cpp
crockeo/optisearch
6e58e60c8ef58252fc62ec84758b66ea5d25aa42
[ "MIT" ]
null
null
null
////////////// // Includes // #include <exception> #include <iostream> #include <vector> #include "search.hpp" #include "board.hpp" ////////// // Code // // Printing out a whole board. void printBoard(const Board& b) { for (int row = 0; row < b.getHeight(); row++) { std::cout << " "; for (int co...
24.354839
89
0.495364
crockeo
7b59750e524d245e80c1c167e7c7265444f601e2
881
cpp
C++
src/user/Programs/Rd.cpp
honzikv/OSSem
07b9740a81ebd812a74309b96e41361cc56945a7
[ "MIT" ]
null
null
null
src/user/Programs/Rd.cpp
honzikv/OSSem
07b9740a81ebd812a74309b96e41361cc56945a7
[ "MIT" ]
null
null
null
src/user/Programs/Rd.cpp
honzikv/OSSem
07b9740a81ebd812a74309b96e41361cc56945a7
[ "MIT" ]
null
null
null
#include <string> #include "Rd.h" #include "../rtl.h" size_t __stdcall rd(const kiv_hal::TRegisters& regs) { const auto std_out = static_cast<kiv_os::THandle>(regs.rbx.x); const auto final_path = std::string(reinterpret_cast<char*>(regs.rdi.r)); if (final_path.empty()) { const std::string message("Missing argum...
29.366667
79
0.721907
honzikv
7b5a93c86f1bf6cac115041820a9e6abc8681b61
4,690
cpp
C++
hphp/runtime/ext_zend_compat/calendar/easter.cpp
OrochiProject/hhvm-verifier
4bba454dce32d5bceb12d4ca8c9f1fa5df2024c5
[ "PHP-3.01", "Zend-2.0" ]
7
2015-08-28T06:20:50.000Z
2021-11-08T09:48:24.000Z
hphp/runtime/ext_zend_compat/calendar/easter.cpp
OrochiProject/hhvm-verifier
4bba454dce32d5bceb12d4ca8c9f1fa5df2024c5
[ "PHP-3.01", "Zend-2.0" ]
1
2020-01-19T19:06:32.000Z
2020-01-19T19:06:32.000Z
hphp/runtime/ext_zend_compat/calendar/easter.cpp
OrochiProject/hhvm-verifier
4bba454dce32d5bceb12d4ca8c9f1fa5df2024c5
[ "PHP-3.01", "Zend-2.0" ]
3
2018-01-23T20:44:59.000Z
2021-05-06T12:45:31.000Z
/* +----------------------------------------------------------------------+ | PHP Version 5 | +----------------------------------------------------------------------+ | Copyright (c) 1997-2013 The PHP Group | +---------...
32.123288
121
0.50064
OrochiProject
7b5b819528f8f4e8f0990da8499cc81683660363
16,012
cpp
C++
FELICITY/Static_Codes/Search_Trees/src_code_octree/mexOctree.cpp
brianchowlab/BcLOV4-FEM
f54bd8efa0e0f2c7ca2de4a6688ef1a403376285
[ "MIT" ]
null
null
null
FELICITY/Static_Codes/Search_Trees/src_code_octree/mexOctree.cpp
brianchowlab/BcLOV4-FEM
f54bd8efa0e0f2c7ca2de4a6688ef1a403376285
[ "MIT" ]
null
null
null
FELICITY/Static_Codes/Search_Trees/src_code_octree/mexOctree.cpp
brianchowlab/BcLOV4-FEM
f54bd8efa0e0f2c7ca2de4a6688ef1a403376285
[ "MIT" ]
null
null
null
/* ============================================================================================ This is the main "gateway" routine for point searching with a point-region (PR) OCTREE. It uses the tree traversal methods from the following paper: S. F. Frisken and R. N. Perry, ``Simple and Efficient Trave...
44.354571
110
0.511304
brianchowlab
7b5d1105f591bc1955d51dba96d39bf1b3e98006
3,523
hpp
C++
src/gvs/server/scene_server.hpp
LoganBarnes/geometry-visualization-server
3ea890d760ada4e5a248e98dded2e27ba6bd5dde
[ "MIT" ]
1
2019-01-09T12:17:40.000Z
2019-01-09T12:17:40.000Z
src/gvs/server/scene_server.hpp
LoganBarnes/geometry-visualization-server
3ea890d760ada4e5a248e98dded2e27ba6bd5dde
[ "MIT" ]
1
2019-04-03T17:10:59.000Z
2019-04-03T17:10:59.000Z
src/gvs/server/scene_server.hpp
LoganBarnes/geometry-visualization-server
3ea890d760ada4e5a248e98dded2e27ba6bd5dde
[ "MIT" ]
1
2019-04-03T16:24:18.000Z
2019-04-03T16:24:18.000Z
// /////////////////////////////////////////////////////////////////////////////////////// // Geometry Visualization Server // Copyright (c) 2018 Logan Barnes - All Rights Reserved // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (...
46.355263
101
0.610559
LoganBarnes
7b65c23786316e989ed42925ff725352e1cfddf2
4,789
cpp
C++
src/SVSeamDetection.cpp
psykokwak-com/Surround-View
b64e1df87f3f1f60f82b84f0053373939019fb09
[ "MIT" ]
10
2021-11-18T06:12:33.000Z
2022-03-14T01:46:01.000Z
src/SVSeamDetection.cpp
psykokwak-com/Surround-View
b64e1df87f3f1f60f82b84f0053373939019fb09
[ "MIT" ]
2
2022-03-14T10:49:51.000Z
2022-03-22T09:15:07.000Z
src/SVSeamDetection.cpp
psykokwak-com/Surround-View
b64e1df87f3f1f60f82b84f0053373939019fb09
[ "MIT" ]
6
2021-11-18T06:17:02.000Z
2022-03-20T11:45:42.000Z
#include <SVSeamDetection.hpp> #include <opencv2/stitching/detail/exposure_compensate.hpp> #include <opencv2/stitching/detail/seam_finders.hpp> #include <opencv2/stitching/warpers.hpp> #include <opencv2/cudawarping.hpp> #include <opencv2/cudaarithm.hpp> #include <opencv2/cudafilters.hpp> #include <iostream> bool SV...
36.838462
160
0.617457
psykokwak-com
7b666adad51e139f0ec9566bdfb56af55cbd15f0
182
hpp
C++
libcxxplgr1/include/cxxplgr/primary.hpp
ohmin839/cxxplgr
f87dada04d82bd81e2c8b23bda2f99037fb99906
[ "BSL-1.0" ]
null
null
null
libcxxplgr1/include/cxxplgr/primary.hpp
ohmin839/cxxplgr
f87dada04d82bd81e2c8b23bda2f99037fb99906
[ "BSL-1.0" ]
null
null
null
libcxxplgr1/include/cxxplgr/primary.hpp
ohmin839/cxxplgr
f87dada04d82bd81e2c8b23bda2f99037fb99906
[ "BSL-1.0" ]
null
null
null
#if !defined(CXXPLGR_PRIMARY_HPP) #define CXXPLGR_PRIMARY_HPP #include <string> namespace cxxplgr { namespace primary { std::string to_polytonic(std::string ascii); }} #endif
15.166667
48
0.758242
ohmin839
7b6b670c43155c5b2ab499c11d810e3c01dc1da1
1,156
cpp
C++
src/gradient.cpp
MinorReedich/raytracer
01a956e0f4814a7baa446aea6cbe3c6c7c49b9aa
[ "CC0-1.0" ]
null
null
null
src/gradient.cpp
MinorReedich/raytracer
01a956e0f4814a7baa446aea6cbe3c6c7c49b9aa
[ "CC0-1.0" ]
null
null
null
src/gradient.cpp
MinorReedich/raytracer
01a956e0f4814a7baa446aea6cbe3c6c7c49b9aa
[ "CC0-1.0" ]
null
null
null
#include <iostream> #include "ppm_image.h" #include "AGLM.h" #include "ray.h" using namespace glm; using namespace agl; using namespace std; color ray_color(const ray& ray) { vec3 unit_direction = normalize(ray.direction()); float alpha = 0.5f * (unit_direction.y + 1.0f); color c1(0.5f, 0.7f, 1.0f); color...
25.688889
78
0.624567
MinorReedich
7b6ccfd90885c6cac12789702617d85cdcf59f95
8,596
cpp
C++
Engine/src/AudioSystem.cpp
joseramon-arias/SimpleGameEngine
b774c0491b7fb4ee1537c3bef7ab0b31e8306669
[ "MIT" ]
null
null
null
Engine/src/AudioSystem.cpp
joseramon-arias/SimpleGameEngine
b774c0491b7fb4ee1537c3bef7ab0b31e8306669
[ "MIT" ]
null
null
null
Engine/src/AudioSystem.cpp
joseramon-arias/SimpleGameEngine
b774c0491b7fb4ee1537c3bef7ab0b31e8306669
[ "MIT" ]
null
null
null
#include "AudioSystem.h" #include <fmod_studio.hpp> #include <fmod_errors.h> #include <SDL_log.h> #include <vector> #include "SoundEvent.h" namespace { FMOD_VECTOR VecToFMOD(const Vector3& in) { // Convert from our coordinates (+x forward, +y right, +z up) // to FMOD (+z forward, +x right, +y up) FMOD_VECTOR v...
24.772334
98
0.658795
joseramon-arias
7b70b444637945d8ea6e86d94f165cfee5a15c95
2,457
hpp
C++
library/ATF/TRC_AutoTrade.hpp
lemkova/Yorozuya
f445d800078d9aba5de28f122cedfa03f26a38e4
[ "MIT" ]
29
2017-07-01T23:08:31.000Z
2022-02-19T10:22:45.000Z
library/ATF/TRC_AutoTrade.hpp
kotopes/Yorozuya
605c97d3a627a8f6545cc09f2a1b0a8afdedd33a
[ "MIT" ]
90
2017-10-18T21:24:51.000Z
2019-06-06T02:30:33.000Z
library/ATF/TRC_AutoTrade.hpp
kotopes/Yorozuya
605c97d3a627a8f6545cc09f2a1b0a8afdedd33a
[ "MIT" ]
44
2017-12-19T08:02:59.000Z
2022-02-24T23:15:01.000Z
// This file auto generated by plugin for ida pro. Generated code only for x64. Please, dont change manually #pragma once #include <common/common.h> #include <CLogFile.hpp> #include <ControllerTaxRate.hpp> #include <_suggested_matter_change_taxrate.hpp> START_ATF_NAMESPACE #pragma pack(push, 4) struct TRC_Au...
37.227273
113
0.683761
lemkova
7b7316c66b359b58a47940b63816c0a0d876bf79
4,581
cpp
C++
src/Operator.cpp
i-vovk/uri-template
6bc192fce30d03cc9207eca1abba07f56216ebd7
[ "Apache-2.0" ]
5
2021-04-27T11:37:38.000Z
2021-09-01T08:19:10.000Z
src/Operator.cpp
i-vovk/uri-template
6bc192fce30d03cc9207eca1abba07f56216ebd7
[ "Apache-2.0" ]
2
2022-02-18T18:52:48.000Z
2022-02-18T19:09:45.000Z
src/Operator.cpp
Tinkoff/uri-template
56465d5f321a64f2621d7326e0d05f38f9760f5a
[ "Apache-2.0" ]
1
2021-06-06T18:49:32.000Z
2021-06-06T18:49:32.000Z
#include "uri-template/Operator.h" #include <stdexcept> const char URI::Template::Operator::kNoCharacter = '\0'; URI::Template::OperatorType URI::Template::OpNoop::Type() const { return OperatorType::NONE; } char URI::Template::OpNoop::Start() const { throw std::runtime_error("NONE operator has no start"); ...
15.219269
72
0.670814
i-vovk
7b7344b686e85478c46342b3b592d3d0af027165
11,851
cpp
C++
lms-suite/lms-suite/src/src/lms6/PLL.cpp
bujigr/mmap_fpga
e36ca7edb97091b7e5019a175c06b4fc96367a75
[ "CC-BY-3.0" ]
34
2015-01-26T19:34:21.000Z
2021-11-17T10:45:22.000Z
LMS6002D/lms-suite/src/src/lms6/PLL.cpp
serojik91/lms-suite
41c3e7e40a76d2520478e9f57bcd01d904907425
[ "Apache-2.0" ]
22
2015-02-07T01:39:50.000Z
2017-09-09T15:48:41.000Z
LMS6002D/lms-suite/src/src/lms6/PLL.cpp
serojik91/lms-suite
41c3e7e40a76d2520478e9f57bcd01d904907425
[ "Apache-2.0" ]
16
2015-01-13T16:44:11.000Z
2022-01-04T22:01:50.000Z
/** @file PLL.cpp @author Lime Microsystems (www.limemicro.com) @brief PLL configuration */ #include "PLL.h" #include <math.h> #include <stdlib.h> #include <string.h> #include <fstream> using namespace std; namespace lms6 { /** @brief Class constructor. Initialization of VCO frequencies, Min, M...
24.844864
160
0.555227
bujigr
7b7845ac597d05a6462b7b6745729580bd744230
154
cpp
C++
Direct3D_11/Sunrin_Engine_D3D11/Engine/SR_DeferredStage.cpp
shh1473/Sunrin_Engine_2019
1782d10a397055f8a64f3b772b342438ede02b36
[ "MIT" ]
null
null
null
Direct3D_11/Sunrin_Engine_D3D11/Engine/SR_DeferredStage.cpp
shh1473/Sunrin_Engine_2019
1782d10a397055f8a64f3b772b342438ede02b36
[ "MIT" ]
null
null
null
Direct3D_11/Sunrin_Engine_D3D11/Engine/SR_DeferredStage.cpp
shh1473/Sunrin_Engine_2019
1782d10a397055f8a64f3b772b342438ede02b36
[ "MIT" ]
null
null
null
#include "SR_PCH.h" #include "SR_DeferredStage.h" namespace SunrinEngine { SR_DeferredStage::SR_DeferredStage() noexcept : m_threadID{ 0 } { } }
11
48
0.714286
shh1473
7b784f418d6e2ec51ecc67cb3fa473c8a33cf6a9
4,140
cpp
C++
emulator/main.cpp
PumpkinCellOS/CIMCos
9aab144322c673313d7b4e95312792e04ffb7deb
[ "MIT" ]
null
null
null
emulator/main.cpp
PumpkinCellOS/CIMCos
9aab144322c673313d7b4e95312792e04ffb7deb
[ "MIT" ]
null
null
null
emulator/main.cpp
PumpkinCellOS/CIMCos
9aab144322c673313d7b4e95312792e04ffb7deb
[ "MIT" ]
null
null
null
#include "CPU.h" #include "Cx16.h" #include "Display.h" #include "Gfx.h" #include "HDD.h" #include "PIT.h" #include "PMI.h" #include <unistd.h> class LegacyIOBus : public Cx16Bus { public: virtual std::string name() const { return "Legacy I/O Bus"; } }; class FastIOBus : public Cx16Bus { public: virtual std::string n...
31.12782
109
0.656763
PumpkinCellOS
7b7f451d13012874ff17fcedfbc5f665e4e6b9d7
1,103
cpp
C++
Lesson-1/week-10/proj-7-1.cpp
Amazingxt/Coursera_C-_Lesson
1cab6ef2eb2e01312231bba9dd01d10565dad1d6
[ "Apache-2.0" ]
null
null
null
Lesson-1/week-10/proj-7-1.cpp
Amazingxt/Coursera_C-_Lesson
1cab6ef2eb2e01312231bba9dd01d10565dad1d6
[ "Apache-2.0" ]
null
null
null
Lesson-1/week-10/proj-7-1.cpp
Amazingxt/Coursera_C-_Lesson
1cab6ef2eb2e01312231bba9dd01d10565dad1d6
[ "Apache-2.0" ]
null
null
null
#include <iostream> using namespace std; int main() { int N = 0; int K = 0; bool evenflag = 0; cin >> N; while (N != 0) { if (N % 2 == 0) { K = (N / 2) + 1; evenflag = 1; } else { K = (N + 1) / 2; } int* a = new int[K]; int temp; //initialize and sort the first K numbers in array a[K] for (int i ...
16.462687
74
0.37534
Amazingxt
7b83adec91c9de191d3444bcdf8e39f774d9b947
14,979
tcc
C++
libraries/math/tcc/Vector.tcc
siddu1998/ELL
993d5370f0f7a274e8dfd8f43220c792be46f314
[ "MIT" ]
1
2018-11-08T06:19:31.000Z
2018-11-08T06:19:31.000Z
libraries/math/tcc/Vector.tcc
vishnoitanuj/ELL
993d5370f0f7a274e8dfd8f43220c792be46f314
[ "MIT" ]
null
null
null
libraries/math/tcc/Vector.tcc
vishnoitanuj/ELL
993d5370f0f7a274e8dfd8f43220c792be46f314
[ "MIT" ]
1
2019-12-19T10:02:48.000Z
2019-12-19T10:02:48.000Z
//////////////////////////////////////////////////////////////////////////////////////////////////// // // Project: Embedded Learning Library (ELL) // File: Vector.tcc (math) // Authors: Ofer Dekel // //////////////////////////////////////////////////////////////////////////////////////////////////// // utili...
36.985185
185
0.663195
siddu1998
7b8568a08c4d55ebbbf0348cf8430ecf150b6a0c
3,319
cpp
C++
Main/gadd.cpp
SoftlySpoken/gStore
b2cf71288ccef376640000965aff7c430101446a
[ "BSD-3-Clause" ]
150
2015-01-14T15:06:38.000Z
2018-08-28T09:34:17.000Z
Main/gadd.cpp
SoftlySpoken/gStore
b2cf71288ccef376640000965aff7c430101446a
[ "BSD-3-Clause" ]
28
2015-05-11T02:45:39.000Z
2018-08-24T11:43:17.000Z
Main/gadd.cpp
SoftlySpoken/gStore
b2cf71288ccef376640000965aff7c430101446a
[ "BSD-3-Clause" ]
91
2015-05-04T09:52:41.000Z
2018-08-18T13:02:15.000Z
/* * @Author: liwenjie * @Date: 2021-08-22 20:14:02 * @LastEditTime: 2021-08-31 17:07:32 * @LastEditors: Please set LastEditors * @Description: batch insert data tool * @FilePath: /gstore/Main/gadd.cpp */ #include "../Database/Database.h" #include "../Util/Util.h" //#include "../Util/Slog.h" #include <sstream...
26.766129
87
0.595661
SoftlySpoken
7b8778ef7c5bb96c67f90e22a970a0adf9d9236a
14,710
cxx
C++
kernel/zdsfs.cxx
SuperLeaf1995/uDOS
9c2236b14ccdc2a4c25ec5e725b8df4525bf8b96
[ "Unlicense" ]
2
2022-01-23T00:11:16.000Z
2022-01-26T22:18:01.000Z
kernel/zdsfs.cxx
SuperLeaf1995/uDOS
9c2236b14ccdc2a4c25ec5e725b8df4525bf8b96
[ "Unlicense" ]
null
null
null
kernel/zdsfs.cxx
SuperLeaf1995/uDOS
9c2236b14ccdc2a4c25ec5e725b8df4525bf8b96
[ "Unlicense" ]
2
2022-02-03T22:04:59.000Z
2022-03-26T10:51:25.000Z
/* zdsfs.c * */ #include <zdsfs.hxx> #include <vfs.hxx> #include <dasd.hxx> #include <storage.hxx> #include <asm.hxx> #include <printf.hxx> import errcode; /* ds_driver global for VFS */ static virtual_disk::driver *ds_driver; static virtual_disk::driver *pds_driver; #define MAX_DISKS 4 static s...
33.431818
153
0.571244
SuperLeaf1995
7b8aba315fcf8de553f89b1257909f12d02da591
1,291
cpp
C++
graph-source-code/510-C/9773069.cpp
AmrARaouf/algorithm-detection
59f3028d2298804870b32729415d71eec6116557
[ "MIT" ]
null
null
null
graph-source-code/510-C/9773069.cpp
AmrARaouf/algorithm-detection
59f3028d2298804870b32729415d71eec6116557
[ "MIT" ]
null
null
null
graph-source-code/510-C/9773069.cpp
AmrARaouf/algorithm-detection
59f3028d2298804870b32729415d71eec6116557
[ "MIT" ]
null
null
null
//Language: GNU C++0x #include <cstdio> #include <cstdlib> #include <iostream> #include <vector> const int N = 26; std::vector<bool> visited(N, 0); std::vector<bool> inpath(N, 0); std::vector<char> sequence; std::vector<std::vector<int> > previous(N); void dfs(int x){ if(visited[x]){return;} ...
27.468085
89
0.491867
AmrARaouf
7b8b09c5e07ecec2af3cf70c1e447b6ad7b943ed
3,421
cpp
C++
aws-cpp-sdk-rekognition/source/model/TechnicalCueType.cpp
perfectrecall/aws-sdk-cpp
fb8cbebf2fd62720b65aeff841ad2950e73d8ebd
[ "Apache-2.0" ]
1
2022-02-10T08:06:54.000Z
2022-02-10T08:06:54.000Z
aws-cpp-sdk-rekognition/source/model/TechnicalCueType.cpp
perfectrecall/aws-sdk-cpp
fb8cbebf2fd62720b65aeff841ad2950e73d8ebd
[ "Apache-2.0" ]
1
2021-10-14T16:57:00.000Z
2021-10-18T10:47:24.000Z
aws-cpp-sdk-rekognition/source/model/TechnicalCueType.cpp
ravindra-wagh/aws-sdk-cpp
7d5ff01b3c3b872f31ca98fb4ce868cd01e97696
[ "Apache-2.0" ]
1
2021-11-09T12:02:58.000Z
2021-11-09T12:02:58.000Z
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/rekognition/model/TechnicalCueType.h> #include <aws/core/utils/HashingUtils.h> #include <aws/core/Globals.h> #include <aws/core/utils/EnumParseOverflowContainer.h> using namespace Aws::...
32.273585
92
0.611225
perfectrecall
7b8c648fbd5783d3f6cac84436e78543f7a5286f
473
cpp
C++
AnimalCooking/WallOpacityManager.cpp
TenByTen-Studios/AnimalCooking
8bb22f426cdc819cefde16caa23d8eb045276be8
[ "MIT" ]
null
null
null
AnimalCooking/WallOpacityManager.cpp
TenByTen-Studios/AnimalCooking
8bb22f426cdc819cefde16caa23d8eb045276be8
[ "MIT" ]
23
2020-03-02T16:43:28.000Z
2020-04-16T09:58:08.000Z
AnimalCooking/WallOpacityManager.cpp
TenByTen-Studios/AnimalCooking
8bb22f426cdc819cefde16caa23d8eb045276be8
[ "MIT" ]
null
null
null
#include "WallOpacityManager.h" #include "Entity.h" #include "Ingredient.h" void WallOpacityManager::init() { renderer_ = GETCMP1_(ImageViewer); tr_ = GETCMP1_(Transform); } void WallOpacityManager::update() { if (ingPool_) { for (auto& ing : ingPool_->getPool()) { if (ing->getPos().getY() + ing->getHeight() ...
20.565217
78
0.659619
TenByTen-Studios
7b8d20eda15e33e59a5f5a565a7c92bbdea84d7e
1,196
hpp
C++
inc/statisticsHandler.hpp
vlachenal/webservices-bench-cpp
5fe1ebf783012b8fc89d2e80180fcf6c5f090cb8
[ "WTFPL" ]
null
null
null
inc/statisticsHandler.hpp
vlachenal/webservices-bench-cpp
5fe1ebf783012b8fc89d2e80180fcf6c5f090cb8
[ "WTFPL" ]
null
null
null
inc/statisticsHandler.hpp
vlachenal/webservices-bench-cpp
5fe1ebf783012b8fc89d2e80180fcf6c5f090cb8
[ "WTFPL" ]
null
null
null
/* * Copyright © 2017 Vincent Lachenal * This work is free. You can redistribute it and/or modify it under the * terms of the Do What The Fuck You Want To Public License, Version 2, * as published by Sam Hocevar. See the COPYING file for more details. */ #ifndef STATISTICS_HANDLER_HPP #define STATISTICS_HANDLER_HP...
19.606557
72
0.693144
vlachenal
7b8f1e4f33dbee557abd758ad86a8f1c0978132c
22,275
cpp
C++
plugins/cinema4dsdk/source/object/objectdata_loftedmesh.cpp
urender-vt/cinema4d_cpp_sdk_extended
77235d2e382d1536e0e694609929dbb74883072a
[ "Apache-2.0" ]
23
2018-09-05T21:11:07.000Z
2022-01-12T10:43:17.000Z
plugins/cinema4dsdk/source/object/objectdata_loftedmesh.cpp
urender-vt/cinema4d_cpp_sdk_extended
77235d2e382d1536e0e694609929dbb74883072a
[ "Apache-2.0" ]
null
null
null
plugins/cinema4dsdk/source/object/objectdata_loftedmesh.cpp
urender-vt/cinema4d_cpp_sdk_extended
77235d2e382d1536e0e694609929dbb74883072a
[ "Apache-2.0" ]
4
2019-07-12T16:57:20.000Z
2021-06-23T15:33:09.000Z
#include "maxon/threadservices.h" #include "c4d_basetag.h" #include "c4d_objectdata.h" #include "c4d_thread.h" #include "c4d_tools.h" // Includes from cinema4dsdk #include "c4d_symbols.h" #include "main.h" // Local resources #include "oloftedmesh.h" #include "c4d_resource.h" #include "c4d_basebitmap.h" // A unique p...
40.280289
276
0.66743
urender-vt
7ba3afeb7a35406112bb17311a869d11b4a2905d
2,487
cpp
C++
Units/Runtime/FastUnitConverter.cpp
dnv-opensource/Reflection
27effb850e9f0cc6acc2d48630ee6aa5d75fa000
[ "BSL-1.0" ]
null
null
null
Units/Runtime/FastUnitConverter.cpp
dnv-opensource/Reflection
27effb850e9f0cc6acc2d48630ee6aa5d75fa000
[ "BSL-1.0" ]
null
null
null
Units/Runtime/FastUnitConverter.cpp
dnv-opensource/Reflection
27effb850e9f0cc6acc2d48630ee6aa5d75fa000
[ "BSL-1.0" ]
null
null
null
// Copyright (c) 2021 DNV AS // // 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 "FastUnitConverter.h" #include "UnitConverter.h" #include "..\Length.h" #include "..\Force.h" #include "..\TempDiff.h" #i...
38.261538
131
0.705267
dnv-opensource
7baacd34b512439db2a30a00d6224d05f6f612c1
9,051
hpp
C++
include/load_operators.hpp
botn365/cpp-discord-bot
20cd173fa1a806a4c7fc44cf7e23163f78e88e79
[ "MIT" ]
null
null
null
include/load_operators.hpp
botn365/cpp-discord-bot
20cd173fa1a806a4c7fc44cf7e23163f78e88e79
[ "MIT" ]
1
2021-12-19T01:46:40.000Z
2021-12-20T18:57:07.000Z
include/load_operators.hpp
botn365/cpp-discord-bot
20cd173fa1a806a4c7fc44cf7e23163f78e88e79
[ "MIT" ]
null
null
null
// // Created by vanda on 13/10/2021. // #pragma once #include "string_calculator.hpp" #include <rapidjson/document.h> #include <sstream> #include <fstream> #include <stdexcept> #include <cmath> #include <iostream> namespace Bot { using Str = Bot::StringCalculator; class LoadOperators { public: ...
34.811538
127
0.417412
botn365
7bac2af77b218fde8170589ecc79bd03268c0d7e
1,538
hpp
C++
TGEngine/ui/UI.hpp
ThePixly/TGEngine
aff5d5f42c3094dcc37253f4a3f5e09db560a4eb
[ "Apache-2.0" ]
null
null
null
TGEngine/ui/UI.hpp
ThePixly/TGEngine
aff5d5f42c3094dcc37253f4a3f5e09db560a4eb
[ "Apache-2.0" ]
null
null
null
TGEngine/ui/UI.hpp
ThePixly/TGEngine
aff5d5f42c3094dcc37253f4a3f5e09db560a4eb
[ "Apache-2.0" ]
null
null
null
#pragma once #include "../util/VectorUtil.hpp" #include "../pipeline/buffer/IndexBuffer.hpp" #include "../pipeline/buffer/VertexBuffer.hpp" #include "../drawlib/DrawLib.hpp" #include "../pipeline/buffer/Texturebuffer.hpp" #include "../io/LoadFont.hpp" namespace tg_ui { class UIComponent; // See defenition below /...
24.03125
104
0.726268
ThePixly
7bac7eff1cef189b55f1b46158f0579a377d4e4b
5,762
cc
C++
dreal/util/nnfizer.cc
soonhokong/dreal4
573e613560f5dce9ad54a2f685e060fe447310c7
[ "Apache-2.0" ]
104
2017-12-07T18:17:35.000Z
2022-03-31T06:58:13.000Z
dreal/util/nnfizer.cc
soonhokong/dreal4
573e613560f5dce9ad54a2f685e060fe447310c7
[ "Apache-2.0" ]
250
2017-09-01T01:32:45.000Z
2022-03-29T04:08:00.000Z
dreal/util/nnfizer.cc
soonhokong/dreal4
573e613560f5dce9ad54a2f685e060fe447310c7
[ "Apache-2.0" ]
16
2018-01-07T07:40:11.000Z
2022-03-24T05:01:11.000Z
/* Copyright 2017 Toyota Research Institute 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 agre...
31.834254
80
0.63537
soonhokong
7bad9960292019882833476c204aa3e3a37a56db
4,796
cpp
C++
leetcode/30_days_challenge/2020_6_June/day16.cpp
bvbasavaraju/competitive_programming
a82ffc1b639588a84f4273b44285d57cdc2f4b11
[ "Apache-2.0" ]
1
2020-05-05T13:06:51.000Z
2020-05-05T13:06:51.000Z
leetcode/30_days_challenge/2020_6_June/day16.cpp
bvbasavaraju/competitive_programming
a82ffc1b639588a84f4273b44285d57cdc2f4b11
[ "Apache-2.0" ]
null
null
null
leetcode/30_days_challenge/2020_6_June/day16.cpp
bvbasavaraju/competitive_programming
a82ffc1b639588a84f4273b44285d57cdc2f4b11
[ "Apache-2.0" ]
null
null
null
/**************************************************** Date: June 16th link: https://leetcode.com/explore/challenge/card/june-leetcoding-challenge/541/week-3-june-15th-june-21st/3362/ ****************************************************/ #include <iostream> #include <vector> #include <list> #include <algorithm> #inclu...
24.345178
129
0.541701
bvbasavaraju
7bae508c466eeaee2916351a450d7c2c2fc7c644
3,266
cpp
C++
TheForrestfortheTrees.cpp
DiegoTeixeira7/Grafos
f24ea5fabc9a75e1782f8668a2e3feb6f63f5dec
[ "MIT" ]
null
null
null
TheForrestfortheTrees.cpp
DiegoTeixeira7/Grafos
f24ea5fabc9a75e1782f8668a2e3feb6f63f5dec
[ "MIT" ]
null
null
null
TheForrestfortheTrees.cpp
DiegoTeixeira7/Grafos
f24ea5fabc9a75e1782f8668a2e3feb6f63f5dec
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> using namespace std; const int vertice(const char letra){ if(letra == 'A') return 0; if(letra == 'B') return 1; if(letra == 'C') return 2; if(letra == 'D') return 3; if(letra == 'E') return 4; if(letra == 'F') return 5; if(letra == 'G') return 6; if...
24.556391
98
0.402939
DiegoTeixeira7
7bbc9ec28a96b9f5e295dfe003b1af48ee5ebb2e
2,028
cpp
C++
tests/unittest1.cpp
satoshigeyuki/Centaurus
032ffec87fc8ddb129347974d3478fd1ee5f305a
[ "MIT" ]
3
2021-02-23T01:34:28.000Z
2021-07-19T08:07:10.000Z
tests/unittest1.cpp
satoshigeyuki/Centaurus
032ffec87fc8ddb129347974d3478fd1ee5f305a
[ "MIT" ]
null
null
null
tests/unittest1.cpp
satoshigeyuki/Centaurus
032ffec87fc8ddb129347974d3478fd1ee5f305a
[ "MIT" ]
null
null
null
#include "CppUnitTest.h" #include "NFA.hpp" #include "Grammar.hpp" #include "CompositeATN.hpp" #include "CATNLoader.hpp" using namespace Microsoft::VisualStudio::CppUnitTestFramework; namespace UnitTest1 { TEST_CLASS(CharClassTest) { public: TEST_METHOD(DiffAndInt) { using namespace Centaurus; Char...
24.433735
94
0.642012
satoshigeyuki
7bc28997679e7dc19cb8bcf6b9ce7e50c3180313
663
cc
C++
cpp/src/ow/countOrders.cc
dacozai/algorithm-diary
8ed5e119e4450e92e63276047ef19bbf422c2770
[ "MIT" ]
1
2019-10-17T08:34:55.000Z
2019-10-17T08:34:55.000Z
cpp/src/ow/countOrders.cc
dacozai/algorithm-diary
8ed5e119e4450e92e63276047ef19bbf422c2770
[ "MIT" ]
1
2020-05-24T08:32:13.000Z
2020-05-24T08:32:13.000Z
cpp/src/ow/countOrders.cc
dacozai/algorithm-diary
8ed5e119e4450e92e63276047ef19bbf422c2770
[ "MIT" ]
null
null
null
#include "test.h" #include <unordered_map> /** Question no 1359. Hard Count All Valid Pickup and Delivery Options * Author : Li-Han, Chen; 陳立瀚 * Date : 22th, February, 2020 * Source : https://leetcode.com/problems/count-all-valid-pickup-and-delivery-options/ * Given n orders, each order consist in pickup and de...
28.826087
106
0.665158
dacozai
7bc41535b16ed8ceb7e18ae7a75c596e672f5267
671
cpp
C++
src/from_json.cpp
SymbolixAU/jsonify
9896764477e174f43f7e3c70372298bacc6ab408
[ "MIT" ]
64
2018-09-24T11:13:04.000Z
2022-01-11T22:08:26.000Z
src/from_json.cpp
SymbolixAU/jsonify
9896764477e174f43f7e3c70372298bacc6ab408
[ "MIT" ]
58
2018-09-24T21:55:18.000Z
2020-06-18T23:50:37.000Z
src/from_json.cpp
SymbolixAU/jsonify
9896764477e174f43f7e3c70372298bacc6ab408
[ "MIT" ]
11
2018-10-01T09:40:18.000Z
2022-01-12T08:14:09.000Z
#include "jsonify/from_json/api.hpp" #include <Rcpp.h> // [[Rcpp::export]] SEXP rcpp_from_json(const char * json, bool& simplify, bool& fill_na ) { return jsonify::api::from_json( json, simplify, fill_na ); } // [[Rcpp::export]] SEXP rcpp_from_ndjson(const char * ndjson, bool& simplify, bool& fill_na ) { return ...
25.807692
76
0.695976
SymbolixAU
dcf1b9f02d0156a81fc1bdf2a61395dd25ef7f7e
1,064
hpp
C++
src/utils/RBFInterpolation.hpp
ldXiao/polyfem
d4103af16979ff67d461a9ebe46a14bbc4dc8c7c
[ "MIT" ]
228
2018-11-23T19:32:42.000Z
2022-03-25T10:30:51.000Z
src/utils/RBFInterpolation.hpp
ldXiao/polyfem
d4103af16979ff67d461a9ebe46a14bbc4dc8c7c
[ "MIT" ]
14
2019-03-11T22:44:14.000Z
2022-03-16T14:50:35.000Z
src/utils/RBFInterpolation.hpp
ldXiao/polyfem
d4103af16979ff67d461a9ebe46a14bbc4dc8c7c
[ "MIT" ]
45
2018-12-31T02:04:57.000Z
2022-03-08T02:42:01.000Z
#pragma once #include <Eigen/Dense> #include <functional> #include <string> #ifdef POLYFEM_OPENCL #include <rbf_interpolate.hpp> #endif namespace polyfem { class RBFInterpolation { public: RBFInterpolation() { } RBFInterpolation(const Eigen::MatrixXd &fun, const Eigen::MatrixXd &pts, const std::function<do...
23.644444
117
0.722744
ldXiao
dcf5ae4a5c5e0940441a744af376b974222fb074
1,132
cpp
C++
CsPlugin/Source/CsCore/Public/Types/CsTypes_Curve.cpp
closedsum/core
c3cae44a177b9684585043a275130f9c7b67fef0
[ "Unlicense" ]
2
2019-03-17T10:43:53.000Z
2021-04-20T21:24:19.000Z
CsPlugin/Source/CsCore/Public/Types/CsTypes_Curve.cpp
closedsum/core
c3cae44a177b9684585043a275130f9c7b67fef0
[ "Unlicense" ]
null
null
null
CsPlugin/Source/CsCore/Public/Types/CsTypes_Curve.cpp
closedsum/core
c3cae44a177b9684585043a275130f9c7b67fef0
[ "Unlicense" ]
null
null
null
// Copyright 2017-2021 Closed Sum Games, LLC. All Rights Reserved. #include "Types/CsTypes_Curve.h" #include "CsCore.h" // RichCurveInterpMode #pragma region namespace NCsRichCurveInterpMode { namespace Ref { typedef EMCsRichCurveInterpMode EnumMapType; CSCORE_API CS_ADD_TO_ENUM_MAP_CUSTOM(RCIM_Linear, "Linear...
27.609756
75
0.814488
closedsum
0d0aebcb54ccd37e74d4bcb0233706d42b690031
14,086
cpp
C++
Source/AllProjects/CQCIntf/CQCIntfEng/CQCIntfEng_StaticImg.cpp
MarkStega/CQC
c1d0e01ec2abcaa5b8eb1899b9f0522fecee4b07
[ "MIT" ]
51
2020-12-26T18:17:16.000Z
2022-03-15T04:29:35.000Z
Source/AllProjects/CQCIntf/CQCIntfEng/CQCIntfEng_StaticImg.cpp
MarkStega/CQC
c1d0e01ec2abcaa5b8eb1899b9f0522fecee4b07
[ "MIT" ]
null
null
null
Source/AllProjects/CQCIntf/CQCIntfEng/CQCIntfEng_StaticImg.cpp
MarkStega/CQC
c1d0e01ec2abcaa5b8eb1899b9f0522fecee4b07
[ "MIT" ]
4
2020-12-28T07:24:39.000Z
2021-12-29T12:09:37.000Z
// // FILE NAME: CQCIntfEng_StaticImg.cpp // // AUTHOR: Dean Roddey // // CREATED: 08/01/2003 // // COPYRIGHT: Charmed Quark Systems, Ltd @ 2020 // // This software is copyrighted by 'Charmed Quark Systems, Ltd' and // the author (Dean Roddey.) It is licensed under the MIT Open Source // license: // // https://open...
29.970213
87
0.560983
MarkStega
0d0f8f1d1e9801c4ff96189cdfb85c1711230874
4,370
hpp
C++
iehl/src/scene/wavefront/load_lights.hpp
the-last-willy/id3d
dc0d22e7247ac39fbc1fd8433acae378b7610109
[ "MIT" ]
null
null
null
iehl/src/scene/wavefront/load_lights.hpp
the-last-willy/id3d
dc0d22e7247ac39fbc1fd8433acae378b7610109
[ "MIT" ]
null
null
null
iehl/src/scene/wavefront/load_lights.hpp
the-last-willy/id3d
dc0d22e7247ac39fbc1fd8433acae378b7610109
[ "MIT" ]
null
null
null
#pragma once #include "scene/lighting/all.hpp" #include <tiny_obj_loader.h> #include <iostream> inline bool is_emissive(const tinyobj::material_t& m) { return false or m.emission[0] > 0.f or m.emission[1] > 0.f or m.emission[2] > 0.f; } inline void load_lights( LightGroup& lg, const tinyob...
36.722689
97
0.444165
the-last-willy
0d1000c4db31b9ac068e560ec92721fe24884014
986
cpp
C++
Hossam/EASY/UNARY.cpp
AhmedMostafa7474/Codingame-Solutions
da696a095c143c5d216bc06f6689ad1c0e25d0e0
[ "MIT" ]
1
2022-03-16T08:56:31.000Z
2022-03-16T08:56:31.000Z
Hossam/EASY/UNARY.cpp
AhmedMostafa7474/Codingame-Solutions
da696a095c143c5d216bc06f6689ad1c0e25d0e0
[ "MIT" ]
2
2022-03-17T11:27:14.000Z
2022-03-18T07:41:00.000Z
Hossam/EASY/UNARY.cpp
AhmedMostafa7474/Codingame-Solutions
da696a095c143c5d216bc06f6689ad1c0e25d0e0
[ "MIT" ]
6
2022-03-13T19:56:11.000Z
2022-03-17T12:08:22.000Z
#include <iostream> #include <string> #include <vector> #include <algorithm> using namespace std; /** * Auto-generated code below aims at helping you parse * the standard input according to the problem statement. **/ int main() { string message; getline(cin, message); string str=message; string c...
17
57
0.504057
AhmedMostafa7474
0d17a97b4ac5afccfa8b4f18930a4842e7545d23
3,349
hpp
C++
include/TMPro/GlyphPairKey.hpp
RedBrumbler/virtuoso-codegen
e83f6f0f9b47bec4b6dd976b21edc1d46bf3cfe3
[ "Unlicense" ]
null
null
null
include/TMPro/GlyphPairKey.hpp
RedBrumbler/virtuoso-codegen
e83f6f0f9b47bec4b6dd976b21edc1d46bf3cfe3
[ "Unlicense" ]
null
null
null
include/TMPro/GlyphPairKey.hpp
RedBrumbler/virtuoso-codegen
e83f6f0f9b47bec4b6dd976b21edc1d46bf3cfe3
[ "Unlicense" ]
null
null
null
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "beatsaber-hook/shared/utils/byref.hpp" // Including type: System.ValueType #include "System/ValueType.hpp" // Completed includes // Begin forwa...
39.4
195
0.719319
RedBrumbler
0d197362db21446272f8e315ceb7ff9120a439bd
626
cpp
C++
2017-09-10/E.cpp
tangjz/Three-Investigators
46dc9b2f0fbb4fe89b075a81feaacc33feeb1b52
[ "MIT" ]
3
2018-04-02T06:00:51.000Z
2018-05-29T04:46:29.000Z
2017-09-10/E.cpp
tangjz/Three-Investigators
46dc9b2f0fbb4fe89b075a81feaacc33feeb1b52
[ "MIT" ]
2
2018-03-31T17:54:30.000Z
2018-05-02T11:31:06.000Z
2017-09-10/E.cpp
tangjz/Three-Investigators
46dc9b2f0fbb4fe89b075a81feaacc33feeb1b52
[ "MIT" ]
2
2018-10-07T00:08:06.000Z
2021-06-28T11:02:59.000Z
#include <cstdio> typedef long long LL; const int mod = 998244353; int n; struct Matrix { int num1, num2; Matrix operator * (Matrix const &x) const { return (Matrix){(int)(((LL)num1 * x.num1 + (LL)num2 * x.num2) % mod), (int)(((LL)num1 * x.num2 + (LL)num2 * (x.num1 + x.num2)) % mod)}; } Matrix pow(int k) { Ma...
20.866667
71
0.520767
tangjz
0d1bc1046526856ca76b83fac6d55c54cd23436f
12,892
cpp
C++
src/mewa.cpp
patrickfrey/mewa
cb3b160b596dd99c9fcf5b811afff673bd06d083
[ "MIT" ]
12
2021-05-26T23:58:42.000Z
2022-03-31T03:29:34.000Z
src/mewa.cpp
patrickfrey/mewa
cb3b160b596dd99c9fcf5b811afff673bd06d083
[ "MIT" ]
5
2021-02-28T09:56:01.000Z
2022-03-30T12:33:29.000Z
src/mewa.cpp
patrickfrey/mewa
cb3b160b596dd99c9fcf5b811afff673bd06d083
[ "MIT" ]
null
null
null
/* Copyright (c) 2020 Patrick P. Frey 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, distri...
30.549763
462
0.624651
patrickfrey
0d1efcd8fb79d30503d9f06dc136d9ef5b43c11d
69
cpp
C++
sources/source.cpp
DM00n/shared-ptr
77f85644024d59229eb69b3e192073406444a754
[ "MIT" ]
null
null
null
sources/source.cpp
DM00n/shared-ptr
77f85644024d59229eb69b3e192073406444a754
[ "MIT" ]
null
null
null
sources/source.cpp
DM00n/shared-ptr
77f85644024d59229eb69b3e192073406444a754
[ "MIT" ]
null
null
null
// Copyright 2019 DM00n <teamvortex@yandex.ru> #include "header.hpp"
23
46
0.753623
DM00n
0d21bb4ba2f413ceeeedfefea3828987e5ee60e7
764
hpp
C++
Metazion/Net/SelectService.hpp
KaleoFeng/Metazion
5f1149d60aa87b391c2f40de7a89a5044701f2ca
[ "MIT" ]
15
2018-10-30T07:49:02.000Z
2020-10-20T06:27:08.000Z
Metazion/Net/SelectService.hpp
kaleofeng/metazion
5f1149d60aa87b391c2f40de7a89a5044701f2ca
[ "MIT" ]
null
null
null
Metazion/Net/SelectService.hpp
kaleofeng/metazion
5f1149d60aa87b391c2f40de7a89a5044701f2ca
[ "MIT" ]
5
2020-12-04T07:39:31.000Z
2021-11-23T03:16:39.000Z
#ifndef _MZ_NET_SELECTSERVICE_HPP_ #define _MZ_NET_SELECTSERVICE_HPP_ #include "Metazion/Net/NetInclude.hpp" #include "Metazion/Net/SocketDefine.hpp" #if defined(NETWORK_USE_SELECT_MODEL) DECL_NAMESPACE_MZ_NET_BEGIN class Socket; class SelectService { MZ_DISALLOW_COPY_AND_ASSIGN(SelectService) private: i...
17.363636
60
0.764398
KaleoFeng
0d22206dffc75c37be940f0f4ec138a7c859cb29
4,264
cpp
C++
cam/src/v20190116/model/SetFlagRequest.cpp
datalliance88/tencentcloud-sdk-cpp
fbb8ea8e385620ac41b0a9ceb5abf1405b8aac8c
[ "Apache-2.0" ]
null
null
null
cam/src/v20190116/model/SetFlagRequest.cpp
datalliance88/tencentcloud-sdk-cpp
fbb8ea8e385620ac41b0a9ceb5abf1405b8aac8c
[ "Apache-2.0" ]
null
null
null
cam/src/v20190116/model/SetFlagRequest.cpp
datalliance88/tencentcloud-sdk-cpp
fbb8ea8e385620ac41b0a9ceb5abf1405b8aac8c
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 ...
24.505747
83
0.714587
datalliance88
0d268a991be9a0a4a29c129018f70168f0fd79a8
721
cpp
C++
Tutorials_SerialComm/Serial_PassCharacters/main.cpp
adbridge/mbed-os-examples-docs_only
3f71b9fae755955ba6e5b2c8978a9f83f65c0f9c
[ "Apache-2.0" ]
4
2018-11-21T06:56:02.000Z
2021-12-02T13:51:18.000Z
Tutorials_SerialComm/Serial_PassCharacters/main.cpp
adbridge/mbed-os-examples-docs_only
3f71b9fae755955ba6e5b2c8978a9f83f65c0f9c
[ "Apache-2.0" ]
62
2018-10-12T16:19:19.000Z
2021-09-19T23:44:21.000Z
Tutorials_SerialComm/Serial_PassCharacters/main.cpp
adbridge/mbed-os-examples-docs_only
3f71b9fae755955ba6e5b2c8978a9f83f65c0f9c
[ "Apache-2.0" ]
27
2018-10-12T15:52:45.000Z
2021-08-13T05:42:33.000Z
/* * Copyright (c) 2006-2020 Arm Limited and affiliates. * SPDX-License-Identifier: Apache-2.0 */ #include "mbed.h" static BufferedSerial pc(USBTX, USBRX); static BufferedSerial uart(D1, D0); DigitalOut pc_activity(LED1); DigitalOut uart_activity(LED2); int main() { char *pc2uart = new char[1]; char *uar...
24.033333
54
0.595007
adbridge
0d279da4b50498dc3ea8fd0ee1422b40ab6ec354
1,435
cpp
C++
libraries/VarAPI/src/Ring.cpp
StratifyLabs/API
ca0bf670653b78da43ad416cd1c5e977c8549eeb
[ "MIT" ]
7
2020-12-15T14:27:02.000Z
2022-03-23T12:00:13.000Z
libraries/VarAPI/src/Ring.cpp
StratifyLabs/API
ca0bf670653b78da43ad416cd1c5e977c8549eeb
[ "MIT" ]
null
null
null
libraries/VarAPI/src/Ring.cpp
StratifyLabs/API
ca0bf670653b78da43ad416cd1c5e977c8549eeb
[ "MIT" ]
1
2021-01-06T14:51:51.000Z
2021-01-06T14:51:51.000Z
/*! \file */ // Copyright 2011-2020 Tyler Gilbert and Stratify Labs, Inc; see // LICENSE.md for rights. // Copyright 2011-2020 Tyler Gilbert and Stratify Labs, Inc #include "var/Ring.hpp" #if USE_PRINTER #include "sys/Printer.hpp" using namespace sys; Printer &sys::operator<<(Printer &printer, const va...
23.916667
77
0.609756
StratifyLabs
0d2b20150159cc73e2915c673003d18d9eb066cf
836
hpp
C++
include/generic/projection/projection.hpp
shikanle/gfx
772db3ddd66c294beaf17319f6b3803abe3ce0df
[ "Apache-2.0" ]
4
2022-01-06T14:06:03.000Z
2022-01-07T01:13:58.000Z
include/generic/projection/projection.hpp
shikanle/gfx
772db3ddd66c294beaf17319f6b3803abe3ce0df
[ "Apache-2.0" ]
null
null
null
include/generic/projection/projection.hpp
shikanle/gfx
772db3ddd66c294beaf17319f6b3803abe3ce0df
[ "Apache-2.0" ]
null
null
null
#pragma once #define declare_projection_types(t) \ typedef projection<t<float_system> > base_t; \ typedef t<float_system> geometry_t; \ typedef typename base_t::vector_t vector_t; \ typedef typename base_t::domain_value_t domain_value_t; \ projection_##t() : base_t(nullptr) {} \ projection_##t(...
30.962963
72
0.739234
shikanle
0d2d610eedc466fb6d9f2b5f4cbf55e078886034
5,058
cpp
C++
mp/src/old/dlls/te_breakmodel.cpp
MaartenS11/Team-Fortress-Invasion
f36b96d27f834d94e0db2d2a9470b05b42e9b460
[ "Unlicense" ]
1
2021-03-20T14:27:45.000Z
2021-03-20T14:27:45.000Z
mp/src/old/dlls/te_breakmodel.cpp
MaartenS11/Team-Fortress-Invasion
f36b96d27f834d94e0db2d2a9470b05b42e9b460
[ "Unlicense" ]
null
null
null
mp/src/old/dlls/te_breakmodel.cpp
MaartenS11/Team-Fortress-Invasion
f36b96d27f834d94e0db2d2a9470b05b42e9b460
[ "Unlicense" ]
null
null
null
//======== (C) Copyright 1999, 2000 Valve, L.L.C. All rights reserved. ======== // // The copyright to the contents herein is the property of Valve, L.L.C. // The contents may be used and/or copied only with the written permission of // Valve, L.L.C., or in accordance with the terms and conditions stipulated in // the ...
32.632258
116
0.570384
MaartenS11
0d2eed6ab26a6d7199dbe78f04aa65321274de43
336
cpp
C++
Advanced/AA1144/AA1144/main.cpp
Eric-Ma-C/PAT-Advanced
ea8b46a780a04b46ab35ebd06c4bf19c3a664380
[ "MIT" ]
null
null
null
Advanced/AA1144/AA1144/main.cpp
Eric-Ma-C/PAT-Advanced
ea8b46a780a04b46ab35ebd06c4bf19c3a664380
[ "MIT" ]
null
null
null
Advanced/AA1144/AA1144/main.cpp
Eric-Ma-C/PAT-Advanced
ea8b46a780a04b46ab35ebd06c4bf19c3a664380
[ "MIT" ]
null
null
null
#include<stdio.h> #include<algorithm> using namespace std; int num[100005]; int main(){ int n; scanf("%d",&n); for(int i=0;i<n;i++){ scanf("%d",num+i); } sort(num,num+n); int ans=1; for(int i=0;i<n;i++){ if(num[i]>ans){ break; } if(num[i]==ans){ ans++; } } printf("%d",ans); getchar(); getchar...
13.44
22
0.544643
Eric-Ma-C
0d34bcdf4000aeea68ac40caff590ac676d8d0b9
473,397
cpp
C++
HololensBuild/Il2CppOutputProject/Source/il2cppOutput/Il2CppCCWs25.cpp
Reality-Hack-2022/TEAM-08
25e346560f9b7ea13ac67753ba908f30f4b4af46
[ "MIT" ]
null
null
null
HololensBuild/Il2CppOutputProject/Source/il2cppOutput/Il2CppCCWs25.cpp
Reality-Hack-2022/TEAM-08
25e346560f9b7ea13ac67753ba908f30f4b4af46
[ "MIT" ]
null
null
null
HololensBuild/Il2CppOutputProject/Source/il2cppOutput/Il2CppCCWs25.cpp
Reality-Hack-2022/TEAM-08
25e346560f9b7ea13ac67753ba908f30f4b4af46
[ "MIT" ]
2
2022-03-24T19:58:31.000Z
2022-03-24T22:55:43.000Z
#include "pch-cpp.hpp" #ifndef _MSC_VER # include <alloca.h> #else # include <malloc.h> #endif #include <stdint.h> #include <limits> #include "vm/CachedCCWBase.h" #include "utils/New.h" // System.Action`1<System.Boolean> struct Action_1_tCE2D770918A65CAD277C08C4E8C05385EA267E83; // System.Action`1<UnityEngine.Ob...
44.000093
304
0.816731
Reality-Hack-2022
0d3a09e19f76ac237aaea9dabab6dc43fcb72819
3,171
cpp
C++
src/graphics/make_clipable_unique.cpp
Damdoshi/LibLapin
800e0f17ed8f3c47797c48feea4c280bb0e4bdc9
[ "BSD-3-Clause" ]
38
2016-07-30T09:35:19.000Z
2022-03-04T10:13:48.000Z
src/graphics/make_clipable_unique.cpp
Elania-Marvers/LibLapin
800e0f17ed8f3c47797c48feea4c280bb0e4bdc9
[ "BSD-3-Clause" ]
15
2017-02-12T19:20:52.000Z
2021-06-09T09:30:52.000Z
src/graphics/make_clipable_unique.cpp
Elania-Marvers/LibLapin
800e0f17ed8f3c47797c48feea4c280bb0e4bdc9
[ "BSD-3-Clause" ]
12
2016-10-06T09:06:59.000Z
2022-03-04T10:14:00.000Z
// Jason Brillante "Damdoshi" // Hanged Bunny Studio 2014-2018 // // Bibliothèque Lapin #include "lapin_private.h" #define PATTERN "%p -> %s" bool bunny_make_clipable_unique(t_bunny_clipable *clip) { size_t *type = (size_t*)clip; switch (*type) { case DRESSED_SPRITE: case SPRITE: case GRA...
29.635514
96
0.666351
Damdoshi
0d3fcb6943738fe1f7140d8d7fa9bf2e898118a4
408
cpp
C++
wio-terminal-lcd/delete-sprite/patch.cpp
WaylandM/xod-wio-terminal
e37280e23808a7684320cba79353d576005922c6
[ "MIT" ]
null
null
null
wio-terminal-lcd/delete-sprite/patch.cpp
WaylandM/xod-wio-terminal
e37280e23808a7684320cba79353d576005922c6
[ "MIT" ]
null
null
null
wio-terminal-lcd/delete-sprite/patch.cpp
WaylandM/xod-wio-terminal
e37280e23808a7684320cba79353d576005922c6
[ "MIT" ]
null
null
null
node { void evaluate(Context ctx) { // The node responds only if there is an input pulse if (!isInputDirty<input_UPD>(ctx)) return; // Get a pointer to the `TFT_eSprite sprite` class instance auto spr = getValue<input_Sprite>(ctx); // Delete content of sprite ...
22.666667
67
0.573529
WaylandM
0d45900308279de2b5f0476e22c0c9fae5316ee0
7,619
cpp
C++
doc/src/snippets/boost-only/asio_integration_1_70.cpp
burnpanck/outcome
3f877000af08322617dc37b9ae584b1c1123ca14
[ "Apache-2.0" ]
484
2017-06-17T21:03:50.000Z
2022-03-29T15:12:43.000Z
doc/src/snippets/boost-only/asio_integration_1_70.cpp
burnpanck/outcome
3f877000af08322617dc37b9ae584b1c1123ca14
[ "Apache-2.0" ]
232
2017-07-04T00:09:22.000Z
2022-03-30T12:32:03.000Z
doc/src/snippets/boost-only/asio_integration_1_70.cpp
burnpanck/outcome
3f877000af08322617dc37b9ae584b1c1123ca14
[ "Apache-2.0" ]
55
2017-07-17T08:52:12.000Z
2022-01-31T10:18:27.000Z
/* Example of Outcome (C) 2017-2019 Niall Douglas <http://www.nedproductions.biz/> (3 commits) 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 in the accompanying file Licence.txt or at http://ww...
34.31982
113
0.66951
burnpanck
0d4b7e42ace5cabeac06bb57d2229babe62d3667
3,534
cpp
C++
higan/ws/cartridge/rtc.cpp
13824125580/higan
fbdd3f980b65412c362096579869ae76730e4118
[ "Intel", "ISC" ]
38
2018-04-05T05:00:05.000Z
2022-02-06T00:02:02.000Z
higan/ws/cartridge/rtc.cpp
13824125580/higan
fbdd3f980b65412c362096579869ae76730e4118
[ "Intel", "ISC" ]
1
2018-04-29T19:45:14.000Z
2018-04-29T19:45:14.000Z
higan/ws/cartridge/rtc.cpp
13824125580/higan
fbdd3f980b65412c362096579869ae76730e4118
[ "Intel", "ISC" ]
8
2018-04-16T22:37:46.000Z
2021-02-10T07:37:03.000Z
//calculate time between last play of game and current time; //increment RTC by said amount of seconds auto Cartridge::rtcLoad() -> void { uint64 timestamp = 0; for(auto n : range(8)) timestamp.byte(n) = rtc.data[8 + n]; if(!timestamp) return; //new save file timestamp = time(0) - timestamp; while(timestamp...
23.403974
81
0.57725
13824125580
0d4ef568c38df4f1d2cea786757c4e220cb3a476
11,771
cpp
C++
Sysmodule/source/nx/NX.cpp
tallbl0nde/TriPlayer
737adfdfcea89924286b1cd13ec47a9ebaffda96
[ "MIT" ]
106
2020-11-01T09:58:37.000Z
2022-03-26T10:44:26.000Z
Sysmodule/source/nx/NX.cpp
PoloNX/TriPlayer
39deb363472d518163aa48ff066477cc69495467
[ "MIT" ]
30
2020-11-01T11:21:48.000Z
2022-02-01T23:09:47.000Z
Sysmodule/source/nx/NX.cpp
PoloNX/TriPlayer
39deb363472d518163aa48ff066477cc69495467
[ "MIT" ]
15
2020-11-02T12:06:03.000Z
2021-08-05T14:22:39.000Z
#include "Log.hpp" #include "nx/Audio.hpp" #include "nx/File.hpp" #include "nx/NX.hpp" #include <mutex> #include <switch.h> #include <thread> #include <unordered_map> namespace NX { // Helper to log messages void logError(const std::string & service, const Result & rc) { Log::writeError("[NX] Failed to...
29.281095
125
0.500297
tallbl0nde
0d57669855d60382da93a0a45d5e37a772188352
13,363
cpp
C++
MyPDF/mainwindow.cpp
Godones/QT-Application
68c66a782d91cd34ea616df528045f4c3c2af998
[ "MIT" ]
null
null
null
MyPDF/mainwindow.cpp
Godones/QT-Application
68c66a782d91cd34ea616df528045f4c3c2af998
[ "MIT" ]
null
null
null
MyPDF/mainwindow.cpp
Godones/QT-Application
68c66a782d91cd34ea616df528045f4c3c2af998
[ "MIT" ]
null
null
null
#include "mainwindow.h" #include "ui_mainwindow.h" MainWindow::MainWindow(QWidget* parent) : QMainWindow(parent) , ui(new Ui::MainWindow) { ui->setupUi(this); setCentralWidget(ui->tabWidget); //设置应用标题 setWindowTitle("GodPDF"); inputpage = new QLineEdit(this); //输入页面 allpages = new QLa...
28.431915
100
0.621417
Godones
0d594910450688ab7a4077fefd97aa935ea26228
345
cpp
C++
_includes/leet459/leet459.cpp
mingdaz/leetcode
64f2e5ad0f0446d307e23e33a480bad5c9e51517
[ "MIT" ]
null
null
null
_includes/leet459/leet459.cpp
mingdaz/leetcode
64f2e5ad0f0446d307e23e33a480bad5c9e51517
[ "MIT" ]
8
2019-12-19T04:46:05.000Z
2022-02-26T03:45:22.000Z
_includes/leet459/leet459.cpp
mingdaz/leetcode
64f2e5ad0f0446d307e23e33a480bad5c9e51517
[ "MIT" ]
null
null
null
class Solution { public: bool repeatedSubstringPattern(string str) { int n = str.size(); vector<int> dp(n+1,0); for(int i=1;i<n;i++){ int j = dp[i]; while(j&&str[i]!=str[j]) j = dp[j]; dp[i+1] = str[i]==str[j]?j+1:0; } return dp[n]&&dp[n...
24.642857
50
0.431884
mingdaz
0d5aa9d517c28a6a96b788e9c68149540877794a
10,152
cpp
C++
test/unit-test/dawn/IIR/TestIIRNode.cpp
Kayjukh/dawn
431a59ceeff062beb8390056c6bbd5b5d6d808d3
[ "MIT" ]
null
null
null
test/unit-test/dawn/IIR/TestIIRNode.cpp
Kayjukh/dawn
431a59ceeff062beb8390056c6bbd5b5d6d808d3
[ "MIT" ]
null
null
null
test/unit-test/dawn/IIR/TestIIRNode.cpp
Kayjukh/dawn
431a59ceeff062beb8390056c6bbd5b5d6d808d3
[ "MIT" ]
null
null
null
//===--------------------------------------------------------------------------------*- C++ -*-===// // _ // | | // __| | __ ___ ___ ___ // / _` |/ _` \ \ /\ / / '_ | // | (_| | (_| |\ V V /| | | | // ...
29.771261
100
0.585402
Kayjukh
0d5bd1d520240645a8e6f57b56d3c52207c01643
1,514
hpp
C++
src/MultiThreadedLowContentionClaimStrategy.hpp
lclark/varont
eb1cc8563b7db6638cbc84cb463d09a6d2e65ba2
[ "Apache-2.0" ]
null
null
null
src/MultiThreadedLowContentionClaimStrategy.hpp
lclark/varont
eb1cc8563b7db6638cbc84cb463d09a6d2e65ba2
[ "Apache-2.0" ]
null
null
null
src/MultiThreadedLowContentionClaimStrategy.hpp
lclark/varont
eb1cc8563b7db6638cbc84cb463d09a6d2e65ba2
[ "Apache-2.0" ]
1
2019-09-04T15:14:23.000Z
2019-09-04T15:14:23.000Z
/* * Copyright 2012 Leonard Clark * * 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 t...
29.686275
92
0.758256
lclark
0d5ff78918d1c1c689d2ac5e7c763352e5806ca3
13,157
cpp
C++
CODE/RemoteAccessApp/xsdo.cpp
roboticsai/CANgineBerry
b2f229dc23c500f53832835b3282d41bedd3c695
[ "Unlicense" ]
null
null
null
CODE/RemoteAccessApp/xsdo.cpp
roboticsai/CANgineBerry
b2f229dc23c500f53832835b3282d41bedd3c695
[ "Unlicense" ]
null
null
null
CODE/RemoteAccessApp/xsdo.cpp
roboticsai/CANgineBerry
b2f229dc23c500f53832835b3282d41bedd3c695
[ "Unlicense" ]
null
null
null
/************************************************************************** MODULE: XSDO CONTAINS: CANopenIA extended SDO functionality COPYRIGHT: Embedded Systems Academy, Inc. 2008-2017. DISCLAIM: Read and understand our disclaimer before using this code! www.esacademy.com/disclaim.htm ...
29.902273
91
0.525044
roboticsai
0d69fbb8db12941152afcf8af4fd518a702cbc31
2,764
cpp
C++
latest_stable/SLS2012v3.2/SLS2012v3.2/VirtualCamera.cpp
theICTlab/3DUNDERWORLD-Structured-Light-Scanner
84efb4186d0769ec8c0afdb341ca16530d8c6917
[ "BSD-3-Clause" ]
196
2016-06-12T08:40:38.000Z
2022-03-24T16:12:53.000Z
latest_stable/SLS2012v3.2/SLS2012v3.2/VirtualCamera.cpp
boyuanH/3DUNDERWORLD-Structured-Light-Scanner
84efb4186d0769ec8c0afdb341ca16530d8c6917
[ "BSD-3-Clause" ]
5
2016-06-25T10:06:07.000Z
2020-10-22T23:34:27.000Z
latest_stable/SLS2012v3.2/SLS2012v3.2/VirtualCamera.cpp
boyuanH/3DUNDERWORLD-Structured-Light-Scanner
84efb4186d0769ec8c0afdb341ca16530d8c6917
[ "BSD-3-Clause" ]
96
2016-07-01T03:13:23.000Z
2022-03-21T07:10:51.000Z
//------------------------------------------------------------------------------------------------------------ //* Copyright © 2010-2015 Immersive and Creative Technologies Lab, Cyprus University of Technology * //* Link: http://www.theICTlab.org ...
25.592593
111
0.523155
theICTlab
0d7ac71df22fde8472492ffc7da024e93465fea0
284
cpp
C++
Universe/engine/src/scene/scene.cpp
SmirnovVyacheslav/Universe_1.0
6210c57664796f653c2fe54c737caf615b7b58c9
[ "Apache-2.0" ]
null
null
null
Universe/engine/src/scene/scene.cpp
SmirnovVyacheslav/Universe_1.0
6210c57664796f653c2fe54c737caf615b7b58c9
[ "Apache-2.0" ]
null
null
null
Universe/engine/src/scene/scene.cpp
SmirnovVyacheslav/Universe_1.0
6210c57664796f653c2fe54c737caf615b7b58c9
[ "Apache-2.0" ]
null
null
null
// Copyright: (C) 2021-2022 Vyacheslav Smirnov. All rights reserved. #include "scene.h" namespace engine { scene scene::inst = scene(); void scene::add_object() { square = new object; } object* scene::get_object() { return square; } }
14.2
68
0.584507
SmirnovVyacheslav
0d7d23af47c00d0fda5a5860b471f70290d26578
291
hpp
C++
FootSoldier.hpp
avichai1221/WarGame
884002a45ce42a1d6e54193cb4cffc03c4d138cf
[ "MIT" ]
null
null
null
FootSoldier.hpp
avichai1221/WarGame
884002a45ce42a1d6e54193cb4cffc03c4d138cf
[ "MIT" ]
null
null
null
FootSoldier.hpp
avichai1221/WarGame
884002a45ce42a1d6e54193cb4cffc03c4d138cf
[ "MIT" ]
null
null
null
#include "Soldier.hpp" //namespace WarGame { class FootSoldier : public Soldier { public: explicit FootSoldier(int teamNum): Soldier(100, 10, teamNum) {} void attack (std::vector<std::vector<Soldier*>> &board, int first, int second) override ; }; //};
14.55
97
0.621993
avichai1221
0d8b04cc93f2d345f584eea2efee01bdc3214959
8,638
cpp
C++
src/scripts/scripts/eastern_kingdoms/stratholme/boss_cannon_master_willey.cpp
Subv/diamondcore
e11891587736b6308e554f71cb56e8df1a1812ad
[ "OpenSSL" ]
1
2018-01-17T08:11:17.000Z
2018-01-17T08:11:17.000Z
src/scripts/scripts/eastern_kingdoms/stratholme/boss_cannon_master_willey.cpp
Subv/diamondcore
e11891587736b6308e554f71cb56e8df1a1812ad
[ "OpenSSL" ]
null
null
null
src/scripts/scripts/eastern_kingdoms/stratholme/boss_cannon_master_willey.cpp
Subv/diamondcore
e11891587736b6308e554f71cb56e8df1a1812ad
[ "OpenSSL" ]
null
null
null
/* Copyright (C) 2006 - 2010 ScriptDev2 <https://scriptdev2.svn.sourceforge.net/> * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any l...
39.990741
110
0.689743
Subv
0d9de50bd5027540825d4d27a105901490d43b29
2,826
cpp
C++
b968.cpp
puyuliao/ZJ-d879
bead48e0a500f21bc78f745992f137706d15abf8
[ "MIT" ]
null
null
null
b968.cpp
puyuliao/ZJ-d879
bead48e0a500f21bc78f745992f137706d15abf8
[ "MIT" ]
null
null
null
b968.cpp
puyuliao/ZJ-d879
bead48e0a500f21bc78f745992f137706d15abf8
[ "MIT" ]
null
null
null
/*input 24408308522758834075998738379 */ #include <bits/stdc++.h> #include <stdint.h> using namespace std; #define IOS {cin.tie(0);ios_base::sync_with_stdio(false);} #define N 1000000 #pragma GCC optmize("Ofast"); //#define __int128 int64_t map<__int128,int> mp; vector<int> p; int fac[N]; void build(){ f...
18
59
0.472399
puyuliao
d3fae3f08a590f00a7d503bdcf0cec400a888f70
7,891
cc
C++
src/renderer/opengl_base.cc
stelro/fission-system
3a0162aaf74707c12a422ae03aceba21cea95eb1
[ "Unlicense" ]
1
2019-07-11T10:38:56.000Z
2019-07-11T10:38:56.000Z
src/renderer/opengl_base.cc
stelro/fission-system
3a0162aaf74707c12a422ae03aceba21cea95eb1
[ "Unlicense" ]
null
null
null
src/renderer/opengl_base.cc
stelro/fission-system
3a0162aaf74707c12a422ae03aceba21cea95eb1
[ "Unlicense" ]
null
null
null
#include "renderer/opengl_base.hh" #include "core/fission.hh" #include "core/io_manager.hh" #include "core/settings.hh" #include "math/math_utils.hh" #include "renderer/gl_shader_program.hh" #include <fstream> #include <glm/glm.hpp> #include <glm/gtc/matrix_transform.hpp> #include <glm/gtc/type_ptr.hpp> #include <str...
31.438247
80
0.623875
stelro