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
f90e466b4b041fdce6f38dfc35d3732befd0a0d3
1,476
cpp
C++
Source/source/mob_types/ship_type.cpp
Neocraftz1553/Pikifen
e10e1f9f28d4e5229db64c291a8b2ccbb013b7e2
[ "MIT" ]
null
null
null
Source/source/mob_types/ship_type.cpp
Neocraftz1553/Pikifen
e10e1f9f28d4e5229db64c291a8b2ccbb013b7e2
[ "MIT" ]
null
null
null
Source/source/mob_types/ship_type.cpp
Neocraftz1553/Pikifen
e10e1f9f28d4e5229db64c291a8b2ccbb013b7e2
[ "MIT" ]
null
null
null
/* * Copyright (c) Andre 'Espyo' Silva 2013. * The following source file belongs to the open-source project Pikifen. * Please read the included README and LICENSE files for more information. * Pikmin is copyright (c) Nintendo. * * === FILE DESCRIPTION === * Ship type class and ship type-related functions. */ #...
26.357143
79
0.576558
Neocraftz1553
f911468765228b7d1ecd797f927a2b1e5ad48ac8
3,102
hpp
C++
drivers/inc/reg.hpp
scatty101/imxrt1062
4fb991c138d16e02ed8ea58b096be2034c9e5063
[ "MIT" ]
2
2021-02-01T21:21:52.000Z
2021-02-07T07:19:18.000Z
drivers/inc/reg.hpp
scatty101/imxrt1062
4fb991c138d16e02ed8ea58b096be2034c9e5063
[ "MIT" ]
null
null
null
drivers/inc/reg.hpp
scatty101/imxrt1062
4fb991c138d16e02ed8ea58b096be2034c9e5063
[ "MIT" ]
1
2021-02-01T21:25:19.000Z
2021-02-01T21:25:19.000Z
#ifndef IMXRT_DRIVERS_REG_HPP_ #define IMXRT_DRIVERS_REG_HPP_ #include <imxrt1062/hardware.hpp> namespace imxdrivers { /** * @brief DSB * */ static inline void data_sync() { __DSB(); } /** * @brief Sometimes IRQ are executed so fast, that irq flag isn't cleared until ...
25.636364
132
0.60735
scatty101
f9161a0c7752ad4996b90dd7c9ff0793a01177b3
319,755
hpp
C++
include/alibabacloud/pai_plugin_20220112.hpp
alibabacloud-sdk-cpp/paiplugin-20220112
350e03cc56139f270d6ef0eb75b474a79d9ded8d
[ "Apache-2.0" ]
null
null
null
include/alibabacloud/pai_plugin_20220112.hpp
alibabacloud-sdk-cpp/paiplugin-20220112
350e03cc56139f270d6ef0eb75b474a79d9ded8d
[ "Apache-2.0" ]
null
null
null
include/alibabacloud/pai_plugin_20220112.hpp
alibabacloud-sdk-cpp/paiplugin-20220112
350e03cc56139f270d6ef0eb75b474a79d9ded8d
[ "Apache-2.0" ]
null
null
null
// This file is auto-generated, don't edit it. Thanks. #ifndef ALIBABACLOUD_PAIPLUGIN20220112_H_ #define ALIBABACLOUD_PAIPLUGIN20220112_H_ #include <alibabacloud/open_api.hpp> #include <boost/throw_exception.hpp> #include <darabonba/core.hpp> #include <darabonba/util.hpp> #include <iostream> #include <map> #include <...
33.454175
199
0.615746
alibabacloud-sdk-cpp
f916613855148acf4ddb6053fd02d8472bba92ea
1,924
cpp
C++
kdl/schema/resource_type/resource_field.cpp
EvocationGames/libKDL
90eb2ce71a1545f6e33164230f0e5d6ece0acaa7
[ "MIT" ]
null
null
null
kdl/schema/resource_type/resource_field.cpp
EvocationGames/libKDL
90eb2ce71a1545f6e33164230f0e5d6ece0acaa7
[ "MIT" ]
null
null
null
kdl/schema/resource_type/resource_field.cpp
EvocationGames/libKDL
90eb2ce71a1545f6e33164230f0e5d6ece0acaa7
[ "MIT" ]
null
null
null
// Copyright (c) 2021 Tom Hancocks // // 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, ...
34.357143
114
0.748441
EvocationGames
f922029c60842453b1aff0f88adab5004227c320
2,135
cpp
C++
plugins/notifications/notifier.cpp
boomt1337/nitroshare-desktop
3ab9eb4075f78cbf2ee0fb82cea66814406a2248
[ "MIT" ]
1,460
2015-01-31T14:09:18.000Z
2022-03-24T09:43:19.000Z
plugins/notifications/notifier.cpp
boomt1337/nitroshare-desktop
3ab9eb4075f78cbf2ee0fb82cea66814406a2248
[ "MIT" ]
254
2015-01-29T19:58:28.000Z
2022-03-30T01:00:38.000Z
plugins/notifications/notifier.cpp
boomt1337/nitroshare-desktop
3ab9eb4075f78cbf2ee0fb82cea66814406a2248
[ "MIT" ]
245
2015-02-18T16:40:52.000Z
2022-03-29T18:38:45.000Z
/* * The MIT License (MIT) * * Copyright (c) 2018 Nathan Osman * * 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,...
35
104
0.717564
boomt1337
f9240d7d91ab4d35253d601837acf6a1707a1799
500
cpp
C++
lib/stringManipulation/src/string_manipulation.cpp
Xav83/AdventOfCode
7e305b89abe0a497efdab0f1a3bfe2bfc24b36d5
[ "MIT" ]
2
2019-11-14T18:11:02.000Z
2020-01-20T22:40:31.000Z
lib/stringManipulation/src/string_manipulation.cpp
Xav83/AdventOfCode
7e305b89abe0a497efdab0f1a3bfe2bfc24b36d5
[ "MIT" ]
null
null
null
lib/stringManipulation/src/string_manipulation.cpp
Xav83/AdventOfCode
7e305b89abe0a497efdab0f1a3bfe2bfc24b36d5
[ "MIT" ]
null
null
null
#include <functional> #include <sstream> void foreachElementsInStringDelimitedBy( const std::string &input, const char delimiter, std::function<void(const std::string &)> callback) { std::stringstream ss(input); std::string token; while (std::getline(ss, token, delimiter)) { callback(token); } } ...
26.315789
71
0.688
Xav83
f924414c965b39dcf3af5eabf4ac9a247dbad819
31,268
cpp
C++
unittests/test.cpp
attcs/TreeNode
1728cc3a1c605e17c328a27c12de5aa685f80fc1
[ "MIT" ]
null
null
null
unittests/test.cpp
attcs/TreeNode
1728cc3a1c605e17c328a27c12de5aa685f80fc1
[ "MIT" ]
null
null
null
unittests/test.cpp
attcs/TreeNode
1728cc3a1c605e17c328a27c12de5aa685f80fc1
[ "MIT" ]
null
null
null
#include "pch.h" #include <memory> #include "../treenode.h" #include <vector> #if ((defined(_MSVC_LANG) && _MSVC_LANG >= 201703L) || __cplusplus >= 201703L) #include <execution> #endif struct DbEntity { int val = 0; }; bool operator==(DbEntity const& l, DbEntity const& r) { return l.val == r.val; } namespac...
24.428125
124
0.646444
attcs
f9244945ecec1e566af7c4149db1742b7f2ee1f7
469
cpp
C++
lcm.cpp
shu736/First
034d0326def08fb6b104411dd3b37eb6c1e03eda
[ "MIT" ]
null
null
null
lcm.cpp
shu736/First
034d0326def08fb6b104411dd3b37eb6c1e03eda
[ "MIT" ]
null
null
null
lcm.cpp
shu736/First
034d0326def08fb6b104411dd3b37eb6c1e03eda
[ "MIT" ]
null
null
null
#include <stdio.h> int lcm(int, int); int main() { int a, b, result; int prime[100]; printf("Enter two numbers: "); scanf("%d%d", &a, &b); result = lcm(a, b); printf("The LCM of %d and %d is %d\n", a, b, result); return 0; } int lcm(int a, int b) { static int comm...
16.75
58
0.460554
shu736
234d42fdfc563de21241340a582b66d85721babd
28,425
cpp
C++
src/j_plot.cpp
tsyw/JoSIM
c1dc2a127787a5f5f6750ef84768f30abee8dcae
[ "MIT" ]
1
2020-07-25T12:15:30.000Z
2020-07-25T12:15:30.000Z
src/j_plot.cpp
tsyw/JoSIM
c1dc2a127787a5f5f6750ef84768f30abee8dcae
[ "MIT" ]
null
null
null
src/j_plot.cpp
tsyw/JoSIM
c1dc2a127787a5f5f6750ef84768f30abee8dcae
[ "MIT" ]
null
null
null
// Copyright (c) 2018 Johannes Delport // This code is licensed under MIT license (see LICENSE for details) #include "j_plot.hpp" #ifdef USING_MATPLOTLIB namespace plt = matplotlibcpp; #endif /* Determine traces to plot from the control part of the main circuit */ void traces_to_plot(InputFile& iFile, std::vec...
41.07659
161
0.552366
tsyw
234fdceea4773f1e33084b230737b0ffba9d8adf
4,431
cpp
C++
src/cui-1.0.4/MBA/MBA.cpp
MaiReo/crass
11579527090faecab27f98b1e221172822928f57
[ "BSD-3-Clause" ]
1
2021-07-21T00:58:45.000Z
2021-07-21T00:58:45.000Z
src/cui-1.0.4/MBA/MBA.cpp
MaiReo/crass
11579527090faecab27f98b1e221172822928f57
[ "BSD-3-Clause" ]
null
null
null
src/cui-1.0.4/MBA/MBA.cpp
MaiReo/crass
11579527090faecab27f98b1e221172822928f57
[ "BSD-3-Clause" ]
null
null
null
#include <windows.h> #include <tchar.h> #include <crass_types.h> #include <acui.h> #include <cui.h> #include <package.h> #include <resource.h> #include <cui_error.h> #include <stdio.h> /* 接口数据结构: 表示cui插件的一般信息 */ struct acui_information MBA_cui_information = { _T("飛翔システム"), /* copyright */ _T(""), /* system */ ...
23.822581
80
0.693297
MaiReo
2351dd801afdf4dd24e9dec216d419dd3d8c8b83
11,486
cpp
C++
src/stacker_system.cpp
scullion/stacker
ba9241c85962f210ea37784ebee3072dac63df46
[ "MIT" ]
null
null
null
src/stacker_system.cpp
scullion/stacker
ba9241c85962f210ea37784ebee3072dac63df46
[ "MIT" ]
null
null
null
src/stacker_system.cpp
scullion/stacker
ba9241c85962f210ea37784ebee3072dac63df46
[ "MIT" ]
null
null
null
#include "stacker_system.h" #include "stacker_shared.h" #include "stacker_attribute_buffer.h" #include "stacker_util.h" #include "stacker_platform.h" #include "stacker_document.h" #include "stacker_layer.h" namespace stkr { static void make_font_descriptor(LogicalFont *descriptor, const char *face, unsigned size, u...
38.673401
125
0.765715
scullion
2355492847a974f82b3e39e3ad68c1326d4c7bdf
407
cpp
C++
src/format.cpp
nalinraut/System-Monitor
cd51a040455bad43d835606fb3013b35a40f4fc4
[ "MIT" ]
null
null
null
src/format.cpp
nalinraut/System-Monitor
cd51a040455bad43d835606fb3013b35a40f4fc4
[ "MIT" ]
null
null
null
src/format.cpp
nalinraut/System-Monitor
cd51a040455bad43d835606fb3013b35a40f4fc4
[ "MIT" ]
null
null
null
#include <string> #include "format.h" using std::string; string Format::ElapsedTime(long int seconds) { long int HH{seconds/3600}; long int H_re{seconds%3600}; long int MM{H_re/60}; long int SS{H_re%60}; string HH_str{std::to_string(HH)}; string MM_str{std::to_string(MM)}; string SS_str{...
23.941176
47
0.653563
nalinraut
2355c6b669e088ed141f637d36ec5804b5e750df
1,510
hh
C++
Archive/Stroika_FINAL_for_STERL_1992/Library/User/Headers/EnableView.hh
SophistSolutions/Stroika
f4e5d84767903a054fba0a6b9c7c4bd1aaefd105
[ "MIT" ]
28
2015-09-22T21:43:32.000Z
2022-02-28T01:35:01.000Z
Archive/Stroika_FINAL_for_STERL_1992/Library/User/Headers/EnableView.hh
SophistSolutions/Stroika
f4e5d84767903a054fba0a6b9c7c4bd1aaefd105
[ "MIT" ]
98
2015-01-22T03:21:27.000Z
2022-03-02T01:47:00.000Z
Archive/Stroika_FINAL_for_STERL_1992/Library/User/Headers/EnableView.hh
SophistSolutions/Stroika
f4e5d84767903a054fba0a6b9c7c4bd1aaefd105
[ "MIT" ]
4
2019-02-21T16:45:25.000Z
2022-02-18T13:40:04.000Z
/* Copyright(c) Sophist Solutions Inc. 1990-1992. All rights reserved */ #ifndef __EnableView__ #define __EnableView__ /* * $Header: /fuji/lewis/RCS/EnableView.hh,v 1.1 1992/06/20 17:33:49 lewis Exp $ * * Description: * * * TODO: * * * Notes: * * Changes: * $Log: EnableView.hh,v $ * Revision 1.1 1992/0...
19.358974
81
0.570861
SophistSolutions
235d7868e431534664a820838212d93d28440767
7,370
cpp
C++
PhysicsEngine/ModulePhysics.cpp
bielrabasa/PhysicsEngine
ef3bc64c419a6da4ae234873e3d9da8c196197ec
[ "MIT" ]
1
2021-12-27T15:12:27.000Z
2021-12-27T15:12:27.000Z
PhysicsEngine/ModulePhysics.cpp
bielrabasa/PhysicsEngine
ef3bc64c419a6da4ae234873e3d9da8c196197ec
[ "MIT" ]
null
null
null
PhysicsEngine/ModulePhysics.cpp
bielrabasa/PhysicsEngine
ef3bc64c419a6da4ae234873e3d9da8c196197ec
[ "MIT" ]
null
null
null
#include "Globals.h" #include "Application.h" #include "ModulePhysics.h" #include "math.h" ModulePhysics::ModulePhysics(Application* app, bool start_enabled) : Module(app, start_enabled) { debug = true; } ModulePhysics::~ModulePhysics() { } bool ModulePhysics::Start() { LOG("Creating Physics 2D environment"); can...
30.580913
131
0.650204
bielrabasa
236052da1cee9c60bc77d7d85ec7c9de2059bfe4
880
hpp
C++
src/Structures/SymbolBBox.hpp
Werni2A/O2CP
a20c0102e1c5aca35874cc6bc89f083c66dfeb0e
[ "MIT" ]
5
2021-10-01T06:48:21.000Z
2021-12-23T11:14:41.000Z
src/Structures/SymbolBBox.hpp
Werni2A/O2CP
a20c0102e1c5aca35874cc6bc89f083c66dfeb0e
[ "MIT" ]
7
2021-09-26T19:53:53.000Z
2022-01-06T13:04:03.000Z
src/Structures/SymbolBBox.hpp
Werni2A/O2CP
a20c0102e1c5aca35874cc6bc89f083c66dfeb0e
[ "MIT" ]
1
2022-01-05T19:24:58.000Z
2022-01-05T19:24:58.000Z
#ifndef SYMBOLBBOX_H #define SYMBOLBBOX_H #include <cstdint> #include <iostream> #include <ostream> #include <string> #include "../General.hpp" struct SymbolBBox { int32_t x1; int32_t y1; int32_t x2; int32_t y2; }; [[maybe_unused]] static std::string to_string(const SymbolBBox& aObj) { std::...
18.723404
80
0.617045
Werni2A
23625249e60afe425625fa27e472e0f1fd16cf6e
6,196
cpp
C++
ui-qt/Pretreatment/GrayHistogram/Roi/LabelGrayHistogram.cpp
qianyongjun123/FPGA-Industrial-Smart-Camera
54b3e2c2661cf7f6774a7fb4d6ae637fa73cba32
[ "MIT" ]
1
2017-12-28T08:08:02.000Z
2017-12-28T08:08:02.000Z
ui-qt/Pretreatment/GrayHistogram/Roi/LabelGrayHistogram.cpp
qianyongjun123/FPGA-Industrial-Smart-Camera
54b3e2c2661cf7f6774a7fb4d6ae637fa73cba32
[ "MIT" ]
null
null
null
ui-qt/Pretreatment/GrayHistogram/Roi/LabelGrayHistogram.cpp
qianyongjun123/FPGA-Industrial-Smart-Camera
54b3e2c2661cf7f6774a7fb4d6ae637fa73cba32
[ "MIT" ]
3
2017-12-28T08:08:05.000Z
2021-11-12T07:59:13.000Z
#include "LabelGrayHistogram.h" #include <qdebug.h> #include <QPen> #if _MSC_VER >= 1600 #pragma execution_character_set("utf-8") #endif #define LINEWIDTH 30 LabelGrayHistogram::LabelGrayHistogram(QWidget *parent) : QLabel(parent) { m_max =100; m_mode = -1; for(int i=0; i<2560;i++) { m_grade[...
27.784753
95
0.589413
qianyongjun123
236ae6d7f99c44649c72258be304280ce3c1dadb
2,025
cpp
C++
SAEEngineCore/submodules/object/tests/build_test/test.cpp
SAEEngine/SAEEngineCore
bede6c973caf7c4526ac5539ec2c9917139f2067
[ "MIT" ]
2
2020-10-31T09:59:36.000Z
2020-11-01T04:22:56.000Z
SAEEngineCore/submodules/object/tests/build_test/test.cpp
SAEEngine/SAEEngineCore
bede6c973caf7c4526ac5539ec2c9917139f2067
[ "MIT" ]
null
null
null
SAEEngineCore/submodules/object/tests/build_test/test.cpp
SAEEngine/SAEEngineCore
bede6c973caf7c4526ac5539ec2c9917139f2067
[ "MIT" ]
null
null
null
/* Return GOOD_TEST (0) if the test was passed. Return anything other than GOOD_TEST (0) if the test was failed. */ // Common standard library headers #include <cassert> /** * @brief Return this from main if the test was passsed. */ constexpr static inline int GOOD_TEST = 0; // Include the headers you need for t...
22.252747
95
0.669136
SAEEngine
2373bfefa0e0944e7f73099ae42a8648da18b3b6
2,085
cpp
C++
src/Log.cpp
wibbe/zum-cpp
0fc753cac5f577eb56eaa9e8330f466b2cdaa38c
[ "MIT" ]
null
null
null
src/Log.cpp
wibbe/zum-cpp
0fc753cac5f577eb56eaa9e8330f466b2cdaa38c
[ "MIT" ]
null
null
null
src/Log.cpp
wibbe/zum-cpp
0fc753cac5f577eb56eaa9e8330f466b2cdaa38c
[ "MIT" ]
null
null
null
#include "Log.h" #include "bx/platform.h" #include <cstdlib> #include <cstdio> static std::string logFile() { #if BX_PLATFORM_LINUX || BX_PLATFORM_OSX static const std::string LOG_FILE = "/.zumlog"; const char * home = getenv("HOME"); if (home) return std::string(home) + LOG_FILE; else return "~" + ...
18.289474
55
0.62446
wibbe
2374eece4b5cb807686524d494c2f570d888704c
7,577
hpp
C++
include/yamail/resource_pool/async/detail/queue.hpp
JonasProgrammer/resource_pool
5b8e0d542e40805b187af7b94770e95f292379c9
[ "MIT" ]
17
2018-12-02T10:16:37.000Z
2022-02-25T22:58:35.000Z
include/yamail/resource_pool/async/detail/queue.hpp
JonasProgrammer/resource_pool
5b8e0d542e40805b187af7b94770e95f292379c9
[ "MIT" ]
27
2017-12-25T14:54:38.000Z
2021-01-28T12:30:10.000Z
include/yamail/resource_pool/async/detail/queue.hpp
JonasProgrammer/resource_pool
5b8e0d542e40805b187af7b94770e95f292379c9
[ "MIT" ]
5
2017-12-25T14:41:52.000Z
2022-03-26T06:22:22.000Z
#ifndef YAMAIL_RESOURCE_POOL_ASYNC_DETAIL_QUEUE_HPP #define YAMAIL_RESOURCE_POOL_ASYNC_DETAIL_QUEUE_HPP #include <yamail/resource_pool/error.hpp> #include <yamail/resource_pool/time_traits.hpp> #include <boost/asio/executor.hpp> #include <boost/asio/post.hpp> #include <algorithm> #include <list> #include <map> #incl...
33.526549
115
0.700937
JonasProgrammer
2378fd7fec6d7510bbff013b9a0ea4b2b7f215bd
268
cpp
C++
src/portaudiohandler.cpp
aparks5/synthcastle
ebb542d014c87a11a83b9e212668eca75a333fbf
[ "MIT" ]
2
2021-12-20T03:20:05.000Z
2021-12-28T16:15:20.000Z
src/portaudiohandler.cpp
aparks5/synthcastle
ebb542d014c87a11a83b9e212668eca75a333fbf
[ "MIT" ]
69
2021-08-30T13:09:01.000Z
2022-01-15T17:41:40.000Z
src/portaudiohandler.cpp
aparks5/synthcastle
ebb542d014c87a11a83b9e212668eca75a333fbf
[ "MIT" ]
null
null
null
/// Copyright(c) 2021. Anthony Parks. All rights reserved. #include "portaudiohandler.h" PortAudioHandler::PortAudioHandler() : m_result(Pa_Initialize()) { } PortAudioHandler::~PortAudioHandler() { if (m_result == paNoError) { Pa_Terminate(); } }
17.866667
59
0.682836
aparks5
2379857d0af4607a620b76853af3c51e2d41dcac
1,173
cpp
C++
Source/Trickery/Test.cpp
D4rk1n/ModernProblemsModernSolutions
bb8f96f9701fe3eee3b5a513b42575a3d0075bb4
[ "Apache-2.0" ]
null
null
null
Source/Trickery/Test.cpp
D4rk1n/ModernProblemsModernSolutions
bb8f96f9701fe3eee3b5a513b42575a3d0075bb4
[ "Apache-2.0" ]
null
null
null
Source/Trickery/Test.cpp
D4rk1n/ModernProblemsModernSolutions
bb8f96f9701fe3eee3b5a513b42575a3d0075bb4
[ "Apache-2.0" ]
null
null
null
// Fill out your copyright notice in the Description page of Project Settings. #include "Test.h" // Sets default values for this component's properties UTest::UTest() { // Set this component to be initialized when the game starts, and to be ticked every frame. You can turn these features // off to improve performa...
24.4375
121
0.700767
D4rk1n
237cc3acae3061fd145e90a3004595c0a35619b0
354
hpp
C++
include/toy/gadget/IntToHexChar.hpp
ToyAuthor/ToyBox
f517a64d00e00ccaedd76e33ed5897edc6fde55e
[ "Unlicense" ]
4
2017-07-06T22:18:41.000Z
2021-05-24T21:28:37.000Z
include/toy/gadget/IntToHexChar.hpp
ToyAuthor/ToyBox
f517a64d00e00ccaedd76e33ed5897edc6fde55e
[ "Unlicense" ]
null
null
null
include/toy/gadget/IntToHexChar.hpp
ToyAuthor/ToyBox
f517a64d00e00ccaedd76e33ed5897edc6fde55e
[ "Unlicense" ]
1
2020-08-02T13:00:38.000Z
2020-08-02T13:00:38.000Z
#pragma once #include "toy/Standard.hpp" #include "toy/gadget/Export.hpp" namespace toy{ namespace gadget{ // 1 -> '1' // 2 -> '2' // 11 -> 'b' // 15 -> 'f' // 16 -> [error] TOY_API_GADGET extern char IntToHexChar(int); // 1 -> '1' // 2 -> '2' // 11 -> 'B' // 15 -> 'F' // 16 -> [error] TOY_API_GADGET extern ch...
14.16
53
0.573446
ToyAuthor
237fc3ac31b5b7e05509b8d16e2810e96459d81d
278
hpp
C++
package/config/config/config_config.hpp
mambaru/wfc_core
0c3e7fba82a9bb1580582968efae02ef7fabc87a
[ "MIT" ]
null
null
null
package/config/config/config_config.hpp
mambaru/wfc_core
0c3e7fba82a9bb1580582968efae02ef7fabc87a
[ "MIT" ]
5
2019-12-06T01:01:01.000Z
2021-04-20T21:16:34.000Z
package/config/config/config_config.hpp
mambaru/wfc_core
0c3e7fba82a9bb1580582968efae02ef7fabc87a
[ "MIT" ]
null
null
null
// // Author: Vladimir Migashko <migashko@gmail.com>, (C) 2013-2018 // // Copyright: See COPYING file that comes with this distribution // #pragma once namespace wfc{ namespace core{ struct config_config { bool reload_sighup = false; time_t reload_changed_ms = 0; }; }}
15.444444
64
0.715827
mambaru
238147189c29475ac43a113d5e97782feee7d072
345
cpp
C++
OOP Lab/Lab9/LE/LE9_9.cpp
HANS-2002/Jab-sab-aapki-le-rahe-ho-tab-aap-bhi-kuch-lelo
8a9d67153797e9a6d438151c70f6726a50079df4
[ "MIT" ]
2
2021-09-18T10:50:20.000Z
2021-11-12T13:19:45.000Z
OOP Lab/Lab9/LE/LE9_9.cpp
HANS-2002/Jab-sab-aapki-le-rahe-ho-tab-aap-bhi-kuch-lelo
8a9d67153797e9a6d438151c70f6726a50079df4
[ "MIT" ]
null
null
null
OOP Lab/Lab9/LE/LE9_9.cpp
HANS-2002/Jab-sab-aapki-le-rahe-ho-tab-aap-bhi-kuch-lelo
8a9d67153797e9a6d438151c70f6726a50079df4
[ "MIT" ]
3
2021-09-10T14:08:12.000Z
2021-09-18T10:52:09.000Z
// (Class Template) Write a program to explain class template by creating a template T for a class // named pair having two data members of type T which are inputted by a constructor and a // member function get-max() return the greatest of two numbers to main. Note: the value of T // depends upon the data type specifi...
86.25
98
0.776812
HANS-2002
2385728ed6e584fa445b30a6a16b3161dcf5820b
3,542
cpp
C++
scaffold/Setting.cpp
taozhijiang/roo
bea672b9274f91f4002a9742e096152b0d62f122
[ "BSD-3-Clause" ]
null
null
null
scaffold/Setting.cpp
taozhijiang/roo
bea672b9274f91f4002a9742e096152b0d62f122
[ "BSD-3-Clause" ]
null
null
null
scaffold/Setting.cpp
taozhijiang/roo
bea672b9274f91f4002a9742e096152b0d62f122
[ "BSD-3-Clause" ]
2
2019-08-23T02:31:42.000Z
2020-05-02T00:12:36.000Z
/*- * Copyright (c) 2019 TAO Zhijiang<taozhijiang@gmail.com> * * Licensed under the BSD-3-Clause license, see LICENSE for full information. * */ #include <sstream> #include <iostream> #include <scaffold/Setting.h> #include <scaffold/Status.h> namespace roo { bool Setting::init(std::string file) { cfg_fil...
25.120567
91
0.601073
taozhijiang
23875d96f499e5a6f87d8a846965a7aab0aeabaa
1,736
cxx
C++
HTRunInfo/HTDAQStackInfo.cxx
dellaquilamaster/RIBbit2
5e792724676a7b84e19e9512b2d6295287f81a4e
[ "Unlicense" ]
null
null
null
HTRunInfo/HTDAQStackInfo.cxx
dellaquilamaster/RIBbit2
5e792724676a7b84e19e9512b2d6295287f81a4e
[ "Unlicense" ]
null
null
null
HTRunInfo/HTDAQStackInfo.cxx
dellaquilamaster/RIBbit2
5e792724676a7b84e19e9512b2d6295287f81a4e
[ "Unlicense" ]
1
2019-05-03T17:50:21.000Z
2019-05-03T17:50:21.000Z
#include <HTDAQStackInfo.h> //________________________________________________ HTDAQStackInfo::HTDAQStackInfo(const char * name, int stackID) : fNModules(0), fStackName(name), fStackID(stackID) {} //________________________________________________ HTDAQStackInfo::~HTDAQStackInfo() { Clear(); } //__________________...
22.545455
66
0.801843
dellaquilamaster
238de8358cb0938b34eacfe1305a0bb6b5442982
3,202
cpp
C++
unit_tests/core/math/euler_angles/src/unit_euler_angles.cpp
ricortiz/OpenTissue
f8c8ebc5137325b77ba90bed897f6be2795bd6fb
[ "Zlib" ]
76
2018-02-20T11:30:52.000Z
2022-03-31T12:45:06.000Z
unit_tests/core/math/euler_angles/src/unit_euler_angles.cpp
ricortiz/OpenTissue
f8c8ebc5137325b77ba90bed897f6be2795bd6fb
[ "Zlib" ]
27
2018-11-20T14:32:49.000Z
2021-11-24T15:26:45.000Z
unit_tests/core/math/euler_angles/src/unit_euler_angles.cpp
ricortiz/OpenTissue
f8c8ebc5137325b77ba90bed897f6be2795bd6fb
[ "Zlib" ]
24
2018-02-21T01:45:26.000Z
2022-03-07T07:06:49.000Z
// // OpenTissue, A toolbox for physical based simulation and animation. // Copyright (C) 2007 Department of Computer Science, University of Copenhagen // #include <OpenTissue/configuration.h> #include <OpenTissue/core/math/math_euler_angles.h> #define BOOST_AUTO_TEST_MAIN #include <OpenTissue/utility/utility_push_bo...
27.367521
84
0.67614
ricortiz
2390b9de6c1a931be7e506b913688dfde1b290ed
902
cpp
C++
Recover Binary Search Tree.cpp
Subhash3/Algorithms-For-Software-Developers
2e0ac4f51d379a2b10a40fca7fa82a8501d3db94
[ "BSD-2-Clause" ]
2
2021-10-01T04:20:04.000Z
2021-10-01T04:20:06.000Z
Recover Binary Search Tree.cpp
Subhash3/Algorithms-For-Software-Developers
2e0ac4f51d379a2b10a40fca7fa82a8501d3db94
[ "BSD-2-Clause" ]
1
2021-10-01T18:00:09.000Z
2021-10-01T18:00:09.000Z
Recover Binary Search Tree.cpp
Subhash3/Algorithms-For-Software-Developers
2e0ac4f51d379a2b10a40fca7fa82a8501d3db94
[ "BSD-2-Clause" ]
8
2021-10-01T04:20:38.000Z
2022-03-19T17:05:05.000Z
/** * Definition for a binary tree node. * struct TreeNode { * int val; * TreeNode *left; * TreeNode *right; * TreeNode() : val(0), left(nullptr), right(nullptr) {} * TreeNode(int x) : val(x), left(nullptr), right(nullptr) {} * TreeNode(int x, TreeNode *left, TreeNode *right) : val(x), l...
25.771429
93
0.543237
Subhash3
23930b18119937fc7644d72e096d087022e91ab1
864
cpp
C++
src/gfxtk/Buffer.cpp
NostalgicGhoul/gfxtk
6662d6d1b285e20806ecfef3cdcb620d6605e478
[ "BSD-2-Clause" ]
null
null
null
src/gfxtk/Buffer.cpp
NostalgicGhoul/gfxtk
6662d6d1b285e20806ecfef3cdcb620d6605e478
[ "BSD-2-Clause" ]
null
null
null
src/gfxtk/Buffer.cpp
NostalgicGhoul/gfxtk
6662d6d1b285e20806ecfef3cdcb620d6605e478
[ "BSD-2-Clause" ]
null
null
null
#include "Buffer.hpp" #ifdef GFXTK_GRAPHICS_BACKEND_VULKAN #include <gfxtk/backend/vulkan/Buffer.hpp> #elif GFXTK_GRAPHICS_BACKEND_METAL #include <gfxtk/backend/metal/Buffer.hpp> #else #error target OS is not supported by any existing graphics backend! #endif gfxtk::Buffer gfxtk::Buffer::create( std::shared_p...
27
95
0.726852
NostalgicGhoul
2393d38d4a5a137d14b49a994ed5ea0b6f9fe7fa
2,091
hpp
C++
obs-studio/UI/window-basic-main-outputs.hpp
noelemahcz/libobspp
029472b973e5a1985f883242f249848385df83a3
[ "MIT" ]
null
null
null
obs-studio/UI/window-basic-main-outputs.hpp
noelemahcz/libobspp
029472b973e5a1985f883242f249848385df83a3
[ "MIT" ]
null
null
null
obs-studio/UI/window-basic-main-outputs.hpp
noelemahcz/libobspp
029472b973e5a1985f883242f249848385df83a3
[ "MIT" ]
null
null
null
#pragma once #include <string> class OBSBasic; struct BasicOutputHandler { OBSOutputAutoRelease fileOutput; OBSOutputAutoRelease streamOutput; OBSOutputAutoRelease replayBuffer; OBSOutputAutoRelease virtualCam; bool streamingActive = false; bool recordingActive = false; bool delayActive = false; bool replayB...
28.256757
68
0.780966
noelemahcz
239529e3a0656005ba014a4ca0e76a86b1b2136a
646
cpp
C++
mrJudge/problems/countfishes (197)/countfishes.cpp
object-oriented-human/competitive
9e761020e887d8980a39a64eeaeaa39af0ecd777
[ "MIT" ]
1
2022-02-21T15:43:01.000Z
2022-02-21T15:43:01.000Z
mrJudge/problems/countfishes (197)/countfishes.cpp
foooop/competitive
9e761020e887d8980a39a64eeaeaa39af0ecd777
[ "MIT" ]
null
null
null
mrJudge/problems/countfishes (197)/countfishes.cpp
foooop/competitive
9e761020e887d8980a39a64eeaeaa39af0ecd777
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int main() { ios::sync_with_stdio(false); cin.tie(0); int tc, inf=1000001; cin >> tc; vector<int> isprime(inf, 1), prefix(inf); for (int i = 2; i*i < inf; i++) { if (isprime[i]) { for (int j = i*i; j < inf; j+= i) { i...
21.533333
48
0.410217
object-oriented-human
2399e24ba2dbf07647952ce82ee88f98e7b1095d
6,547
cpp
C++
src/structs.cpp
Algorithms-and-Data-Structures-2021/classwork-02-cpp-basics-demo
dccf30fd03a7ed4e8e68f85c395f786a643ea3db
[ "MIT" ]
null
null
null
src/structs.cpp
Algorithms-and-Data-Structures-2021/classwork-02-cpp-basics-demo
dccf30fd03a7ed4e8e68f85c395f786a643ea3db
[ "MIT" ]
null
null
null
src/structs.cpp
Algorithms-and-Data-Structures-2021/classwork-02-cpp-basics-demo
dccf30fd03a7ed4e8e68f85c395f786a643ea3db
[ "MIT" ]
3
2021-03-10T06:20:27.000Z
2021-03-17T05:53:36.000Z
#include <iostream> // cout // Подключаем свой заголовочный файл - // целью заголовочных файлов является удобное хранение набора объявлений // для их последующего использования в других программах. // поиск заголовочного файла осуществляется в папках проекта (а не в системных директориях) #include "structs.hpp" // ...
31.781553
113
0.685352
Algorithms-and-Data-Structures-2021
239dfe62dd54c7c176526a8d355e463822fe0611
32,683
cpp
C++
sam/sam2016.cpp
leandrohga/cs4298_MacNCheese
89e6b381341c5b647c98a0d84af6f71c57a4e147
[ "Apache-2.0" ]
null
null
null
sam/sam2016.cpp
leandrohga/cs4298_MacNCheese
89e6b381341c5b647c98a0d84af6f71c57a4e147
[ "Apache-2.0" ]
null
null
null
sam/sam2016.cpp
leandrohga/cs4298_MacNCheese
89e6b381341c5b647c98a0d84af6f71c57a4e147
[ "Apache-2.0" ]
null
null
null
/* ____________________________________________________________________________ S A M 2 0 0 7 An Assembler for the MACC2 Virtual Computer James L. Richards Last Update: August 28, 2007 Last Update: January 2...
17.165441
79
0.504207
leandrohga
23a4241af81aa23c0da2f9375699cb1983670347
1,153
cpp
C++
src/RuleTimer.cpp
d3wy/pool-controller
182d8c67638abf56d8e5126103b5995006c06b42
[ "MIT" ]
12
2020-03-04T18:43:43.000Z
2022-01-30T22:59:27.000Z
src/RuleTimer.cpp
d3wy/pool-controller
182d8c67638abf56d8e5126103b5995006c06b42
[ "MIT" ]
17
2019-05-20T20:22:09.000Z
2022-01-11T16:55:26.000Z
src/RuleTimer.cpp
d3wy/pool-controller
182d8c67638abf56d8e5126103b5995006c06b42
[ "MIT" ]
6
2020-06-05T18:17:13.000Z
2022-03-19T20:13:58.000Z
#include "RuleTimer.hpp" /** * */ RuleTimer::RuleTimer(RelayModuleNode* solarRelay, RelayModuleNode* poolRelay) { _solarRelay = solarRelay; _poolRelay = poolRelay; } /** * */ void RuleTimer::loop() { Homie.getLogger() << cIndent << F("§ RuleTimer: loop") << endl; _poolRelay->setSwitch(checkPoolPumpTi...
20.589286
79
0.626193
d3wy
23ae7e5ac53ac779985446beb4d8c74dbbeccd09
572
cpp
C++
Source/Musa/GameObject/DemoGameObjects/OrbitingObject.cpp
frobro98/Musa
6e7dcd5d828ca123ce8f43d531948a6486428a3d
[ "MIT" ]
null
null
null
Source/Musa/GameObject/DemoGameObjects/OrbitingObject.cpp
frobro98/Musa
6e7dcd5d828ca123ce8f43d531948a6486428a3d
[ "MIT" ]
null
null
null
Source/Musa/GameObject/DemoGameObjects/OrbitingObject.cpp
frobro98/Musa
6e7dcd5d828ca123ce8f43d531948a6486428a3d
[ "MIT" ]
null
null
null
#include "OrbitingObject.hpp" #include "Math/Matrix4.hpp" #include "Math/Quat.hpp" OrbitingObject::OrbitingObject(const Vector4& orbitAxis, const Vector4& orbitPos) : axis(orbitAxis), orbitLocation(orbitPos) { } void OrbitingObject::Update(float /*tick*/) { // constexpr float angleOffsetDeg = .005f; // Matrix4 tr...
23.833333
81
0.713287
frobro98
23b6267156ba30d4212a91e8925ca4c296c927a0
5,285
hpp
C++
packages/monte_carlo/estimator/native/src/MonteCarlo_CellPulseHeightEstimator.hpp
lkersting/SCR-2123
06ae3d92998664a520dc6a271809a5aeffe18f72
[ "BSD-3-Clause" ]
null
null
null
packages/monte_carlo/estimator/native/src/MonteCarlo_CellPulseHeightEstimator.hpp
lkersting/SCR-2123
06ae3d92998664a520dc6a271809a5aeffe18f72
[ "BSD-3-Clause" ]
null
null
null
packages/monte_carlo/estimator/native/src/MonteCarlo_CellPulseHeightEstimator.hpp
lkersting/SCR-2123
06ae3d92998664a520dc6a271809a5aeffe18f72
[ "BSD-3-Clause" ]
null
null
null
//---------------------------------------------------------------------------// //! //! \file MonteCarlo_CellPulseHeightEstimator.hpp //! \author Alex Robinson //! \brief Cell pulse height estimator class declaration //! //---------------------------------------------------------------------------// #ifndef FACEMC_...
35.233333
101
0.693661
lkersting
23b6b5a280f6b6b9fc6621a21ebcdf8dd9977483
5,206
cpp
C++
src/formats/RareSnesInstr.cpp
ValleyBell/vgmtrans
fc7ad99857450d3a943d8201a05331837e5db938
[ "Zlib" ]
2
2021-01-18T05:47:48.000Z
2022-03-15T18:27:41.000Z
src/formats/RareSnesInstr.cpp
ValleyBell/vgmtrans
fc7ad99857450d3a943d8201a05331837e5db938
[ "Zlib" ]
null
null
null
src/formats/RareSnesInstr.cpp
ValleyBell/vgmtrans
fc7ad99857450d3a943d8201a05331837e5db938
[ "Zlib" ]
null
null
null
#include "stdafx.h" #include "RareSnesInstr.h" #include "Format.h" #include "SNESDSP.h" #include "RareSnesFormat.h" // **************** // RareSnesInstrSet // **************** RareSnesInstrSet::RareSnesInstrSet(RawFile* file, uint32_t offset, uint32_t spcDirAddr, const std::wstring & name) : VGMInstrSet(RareSnesForm...
22.634783
205
0.684595
ValleyBell
23bacc4836a2719609c6d5f7e06370e32f250472
3,953
cpp
C++
test/fence_counting.cpp
mdsudara/percy
b593922b98c9c20fe0a3e4726e50401e54b9cb09
[ "MIT" ]
14
2018-03-10T21:50:20.000Z
2021-11-22T04:09:09.000Z
test/fence_counting.cpp
mdsudara/percy
b593922b98c9c20fe0a3e4726e50401e54b9cb09
[ "MIT" ]
3
2018-06-12T15:17:22.000Z
2019-06-20T12:00:45.000Z
test/fence_counting.cpp
mdsudara/percy
b593922b98c9c20fe0a3e4726e50401e54b9cb09
[ "MIT" ]
12
2018-03-10T17:02:07.000Z
2022-01-09T16:04:56.000Z
#include <percy/percy.hpp> #include <cassert> #include <cstdio> #include <vector> using namespace percy; using std::vector; /******************************************************************************* Counts and prints all fences up to and including F_5 and ensures that the number is correct. ***********...
31.125984
86
0.510751
mdsudara
23bcd21af6406c7041ba801dab6dcc72689b9dd5
2,240
hpp
C++
src/base/include/structs.hpp
N4G170/generic
29c8be184b1420b811e2a3db087f9bd6b76ed8bf
[ "MIT" ]
null
null
null
src/base/include/structs.hpp
N4G170/generic
29c8be184b1420b811e2a3db087f9bd6b76ed8bf
[ "MIT" ]
null
null
null
src/base/include/structs.hpp
N4G170/generic
29c8be184b1420b811e2a3db087f9bd6b76ed8bf
[ "MIT" ]
null
null
null
#ifndef STRUCTS_HPP #define STRUCTS_HPP #include <type_traits> #include <string> #include "vector3.hpp" #include "enums.hpp" #include "SDL.h" template<typename T> struct Bounds { //check if we initialize the vector with the right values static_assert(std::is_integral<T>::value || std::is_floating_point<T>::va...
42.264151
149
0.658036
N4G170
23bf3d4e2e7fccc5f011f98b95a9fa02783391b3
1,604
cpp
C++
src/type.cpp
robey/nolove
d83e5ba34e5e53dbef066f4da2f22c6cc2d0572c
[ "Apache-2.0" ]
1
2015-11-05T12:17:23.000Z
2015-11-05T12:17:23.000Z
src/type.cpp
robey/nolove
d83e5ba34e5e53dbef066f4da2f22c6cc2d0572c
[ "Apache-2.0" ]
null
null
null
src/type.cpp
robey/nolove
d83e5ba34e5e53dbef066f4da2f22c6cc2d0572c
[ "Apache-2.0" ]
null
null
null
#include "llvm/Support/raw_ostream.h" #include "type.h" using namespace v8; // ----- LType NodeProto<LType> LType::proto("Type"); void LType::init() { proto.addMethod("isDoubleType", &LType::isDoubleType); proto.addMethod("isFunctionType", &LType::isFunctionType); proto.addMethod("toString", &LType::toString)...
28.140351
69
0.714464
robey
23bf978e1a5d09fea9cb909b5ec53ef5d141c86e
1,564
cpp
C++
gui/NativeWindow.cpp
razaqq/PotatoAlert
4dfb54a7841ca71d8dbf58620173f2a9fc1886f2
[ "MIT" ]
20
2020-06-16T01:30:29.000Z
2022-03-08T14:54:30.000Z
gui/NativeWindow.cpp
razaqq/PotatoAlert
4dfb54a7841ca71d8dbf58620173f2a9fc1886f2
[ "MIT" ]
26
2019-07-15T10:49:47.000Z
2022-02-16T19:25:48.000Z
gui/NativeWindow.cpp
razaqq/PotatoAlert
4dfb54a7841ca71d8dbf58620173f2a9fc1886f2
[ "MIT" ]
5
2020-06-16T01:31:03.000Z
2022-01-22T19:43:48.000Z
// Copyright 2020 <github.com/razaqq> #include <QWidget> #include <QVBoxLayout> #include <QMainWindow> #include <QWindow> #include "NativeWindow.hpp" #include "TitleBar.hpp" #include "Config.hpp" #include "FramelessWindowsManager.hpp" using PotatoAlert::NativeWindow; NativeWindow::NativeWindow(QMainWindow* mainWin...
26.508475
97
0.734655
razaqq
23cb33ca493b6d2d59fc46ba0968a4adb2718e58
1,922
cpp
C++
584 Bowling.cpp
zihadboss/UVA-Solutions
020fdcb09da79dc0a0411b04026ce3617c09cd27
[ "Apache-2.0" ]
86
2016-01-20T11:36:50.000Z
2022-03-06T19:43:14.000Z
584 Bowling.cpp
Mehedishihab/UVA-Solutions
474fe3d9d9ba574b97fd40ca5abb22ada95654a1
[ "Apache-2.0" ]
null
null
null
584 Bowling.cpp
Mehedishihab/UVA-Solutions
474fe3d9d9ba574b97fd40ca5abb22ada95654a1
[ "Apache-2.0" ]
113
2015-12-04T06:40:57.000Z
2022-02-11T02:14:28.000Z
#include <cstdio> int handle(char current, char previous, char twoPrevious, bool addOwnScore) { int baseScore(0); int score = 0; if (current == 'X') { baseScore = 10; } else if (current == '/') { baseScore = 10 - (previous - '0'); } else { ...
22.091954
78
0.426639
zihadboss
23cd22431b7eedfa78296fb3cadd0a30e4363843
1,071
cpp
C++
dynamic_progrmmaing/coursera_primitive_calculator.cpp
BackAged/100_days_of_problem_solving
2e24efad6d46804c4b31f415dbd69d7b80703a4f
[ "Apache-2.0" ]
3
2020-06-15T10:39:34.000Z
2021-01-17T14:03:37.000Z
dynamic_progrmmaing/coursera_primitive_calculator.cpp
BackAged/100_days_of_problem_solving
2e24efad6d46804c4b31f415dbd69d7b80703a4f
[ "Apache-2.0" ]
null
null
null
dynamic_progrmmaing/coursera_primitive_calculator.cpp
BackAged/100_days_of_problem_solving
2e24efad6d46804c4b31f415dbd69d7b80703a4f
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include <vector> #include <algorithm> using namespace std; int choice[1000000]; int visited[1000000]; int optimal_sequence(int n) { visited[0] = 0; visited[1] = 0; for (int i = 2; i <= n; i++) { int ans = INT32_MAX; int t1 = 1 + visited[i - 1]; if (t1 < ans) { ...
18.789474
40
0.46592
BackAged
23e60ab5fbae97a04f5642bcb8bc617f26084126
51
cpp
C++
src/LoginInfo.cpp
NoSuchBoyException/QT-PureMVC
cc84e68ddc2666941af6970a4fab364ab74f5190
[ "Apache-2.0" ]
40
2016-06-20T12:22:42.000Z
2022-03-10T03:20:00.000Z
src/LoginInfo.cpp
NoSuchBoyException/PureMVC_QT
cc84e68ddc2666941af6970a4fab364ab74f5190
[ "Apache-2.0" ]
null
null
null
src/LoginInfo.cpp
NoSuchBoyException/PureMVC_QT
cc84e68ddc2666941af6970a4fab364ab74f5190
[ "Apache-2.0" ]
24
2017-01-03T13:18:04.000Z
2022-03-20T01:24:41.000Z
#include "LoginInfo.h" LoginInfo::LoginInfo() { }
8.5
22
0.686275
NoSuchBoyException
23ea38bae9e49e20a987deab48c375b42aa64b46
7,474
cpp
C++
src/bin/balanceHandler.cpp
D7ry/valhallaCombat
07929d29a48401c2878a1ed5993b7bba14743c6f
[ "MIT" ]
1
2022-01-19T07:13:48.000Z
2022-01-19T07:13:48.000Z
src/bin/balanceHandler.cpp
D7ry/valhallaCombat
07929d29a48401c2878a1ed5993b7bba14743c6f
[ "MIT" ]
null
null
null
src/bin/balanceHandler.cpp
D7ry/valhallaCombat
07929d29a48401c2878a1ed5993b7bba14743c6f
[ "MIT" ]
1
2022-01-19T07:13:52.000Z
2022-01-19T07:13:52.000Z
#include "include/balanceHandler.h" #include "include/reactionHandler.h" #include "include/offsets.h" #include "include/Utils.h" inline const float balanceRegenTime = 6;//time it takes for balance to regen, in seconds. void balanceHandler::update() { //DEBUG("update"); /*if (garbageCollectionQueued) { collectGarba...
32.637555
150
0.737624
D7ry
23eae08214ee1ecabf369ec840d1dcb03d36ba1e
1,138
cpp
C++
pbr/Mesh.cpp
chuxu1793/pbr-1
c77d9bcc2c19637ab79382cbef3fc0e2a31b6560
[ "MIT" ]
51
2016-04-03T20:37:57.000Z
2022-03-31T00:38:11.000Z
pbr/Mesh.cpp
chuxu1793/pbr-1
c77d9bcc2c19637ab79382cbef3fc0e2a31b6560
[ "MIT" ]
2
2016-11-14T21:14:10.000Z
2016-11-16T15:01:47.000Z
pbr/Mesh.cpp
chuxu1793/pbr-1
c77d9bcc2c19637ab79382cbef3fc0e2a31b6560
[ "MIT" ]
9
2016-06-02T03:46:23.000Z
2020-10-16T23:30:16.000Z
#include "Mesh.h" #include <glbinding/gl/gl.h> void Mesh::draw() { glBindVertexArray(m_VAO); glDrawElements(GL_TRIANGLES, m_IndicesCount * 3, GL_UNSIGNED_INT, nullptr); glBindVertexArray(0); } void Mesh::initialize(const std::vector<Vertex>& vertices, const std::vector<Triangle>& indices) { m_IndicesCount = indi...
31.611111
107
0.748682
chuxu1793
23eb4c38cc7c876ace8bc06e105f134921e3f8b7
1,130
cpp
C++
src/CursATE/Curses/Field/detail/resizePadded.cpp
qiagen/LogATE
aa43595c89bf3bcaa302d8406e5ad789efc0e035
[ "BSD-2-Clause" ]
null
null
null
src/CursATE/Curses/Field/detail/resizePadded.cpp
qiagen/LogATE
aa43595c89bf3bcaa302d8406e5ad789efc0e035
[ "BSD-2-Clause" ]
null
null
null
src/CursATE/Curses/Field/detail/resizePadded.cpp
qiagen/LogATE
aa43595c89bf3bcaa302d8406e5ad789efc0e035
[ "BSD-2-Clause" ]
3
2021-01-12T18:52:49.000Z
2021-01-19T17:48:50.000Z
#include "CursATE/Curses/Field/detail/resizePadded.hpp" #include <But/assert.hpp> namespace CursATE::Curses::Field::detail { VisibleSize resizePaddedVisibleSize(std::string const& in, size_t maxSize, size_t selectedElement) { if( in.size() <= maxSize ) return {0, selectedElement, in.size()}; if( selectedEleme...
29.736842
118
0.685841
qiagen
6710cae5db7291a10684008a748246fc5eeec215
1,483
cpp
C++
Pearly/src/Pearly/Math/Math.cpp
JumpyLionnn/Pearly
2dce5f54144980cecd998a325422e56bff6c4c83
[ "Apache-2.0" ]
null
null
null
Pearly/src/Pearly/Math/Math.cpp
JumpyLionnn/Pearly
2dce5f54144980cecd998a325422e56bff6c4c83
[ "Apache-2.0" ]
null
null
null
Pearly/src/Pearly/Math/Math.cpp
JumpyLionnn/Pearly
2dce5f54144980cecd998a325422e56bff6c4c83
[ "Apache-2.0" ]
null
null
null
#include "prpch.h" #include "Math.h" namespace Pearly { bool Math::DecomposeTransform(const glm::mat4& transform, glm::vec3& position, float& rotation, glm::vec2& scale) { glm::mat4 localMatrix(transform); // Normalize the matrix. if (glm::epsilonEqual(localMatrix[3][3], static_cast<float>(0), glm::epsilon<fl...
32.23913
114
0.646662
JumpyLionnn
6711ec4603bd0025df95902abfec0d44315c7bae
2,149
cc
C++
device/device_rom.cc
CompaqDisc/zippy
e8c3b67ea59adbbdf9881e1bc34f0eab0eab6abe
[ "MIT" ]
null
null
null
device/device_rom.cc
CompaqDisc/zippy
e8c3b67ea59adbbdf9881e1bc34f0eab0eab6abe
[ "MIT" ]
null
null
null
device/device_rom.cc
CompaqDisc/zippy
e8c3b67ea59adbbdf9881e1bc34f0eab0eab6abe
[ "MIT" ]
null
null
null
#include "device_rom.h" #include <iostream> #include <fstream> #include <string> #include <cerrno> DeviceROM::DeviceROM(uint16_t address_start, size_t region_length) { address_start_ = address_start; region_length_ = region_length; buffer_contents_ = (uint8_t*) malloc(region_length_ * sizeof(uint8_t)); } DeviceR...
23.615385
83
0.676128
CompaqDisc
671afcda2345039279bc47492c4f1a66cbd14d83
328
cpp
C++
Zerojudge/d111.cpp
w181496/OJ
67d1d32770376865eba8a9dd1767e97dae68989a
[ "MIT" ]
9
2017-10-08T16:22:03.000Z
2021-08-20T09:32:17.000Z
Zerojudge/d111.cpp
w181496/OJ
67d1d32770376865eba8a9dd1767e97dae68989a
[ "MIT" ]
null
null
null
Zerojudge/d111.cpp
w181496/OJ
67d1d32770376865eba8a9dd1767e97dae68989a
[ "MIT" ]
2
2018-01-15T16:35:44.000Z
2019-03-21T18:30:04.000Z
#include <iostream> #include <vector> #include <cmath> using namespace std; int main() { long long int n; while(cin >> n) { if(n==0)break; long long int t=sqrt(n); if(t*t==n) cout<<"yes"<<endl; else cout<<"no"<<endl; } retur...
15.619048
33
0.45122
w181496
671fb22bf156d02ccdb16b73138f40f99f753d9b
1,042
cpp
C++
course1/laba4/L_pairosochetatie_max_weight/main.cpp
flydzen/ITMO_algo
ea251dca0fddb0d4d212377c6785cdc3667ece89
[ "MIT" ]
null
null
null
course1/laba4/L_pairosochetatie_max_weight/main.cpp
flydzen/ITMO_algo
ea251dca0fddb0d4d212377c6785cdc3667ece89
[ "MIT" ]
null
null
null
course1/laba4/L_pairosochetatie_max_weight/main.cpp
flydzen/ITMO_algo
ea251dca0fddb0d4d212377c6785cdc3667ece89
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <fstream> using namespace std; vector<vector<pair<int, int>>> ss; vector<long long> a; vector<long long> b; vector<long long> c; void discrete_finger_simulation(int i, int from) { for (pair<int, int> p : ss[i]) { if (p.first == from) continue; ...
24.809524
69
0.52975
flydzen
6725b0780abb7d9c0419b517fcf07d347c0c3a45
1,771
hpp
C++
asteria/src/reference.hpp
MaskRay/asteria
56a9251f5bb80b92e5aff25eac145f8cd2495096
[ "BSD-3-Clause" ]
null
null
null
asteria/src/reference.hpp
MaskRay/asteria
56a9251f5bb80b92e5aff25eac145f8cd2495096
[ "BSD-3-Clause" ]
null
null
null
asteria/src/reference.hpp
MaskRay/asteria
56a9251f5bb80b92e5aff25eac145f8cd2495096
[ "BSD-3-Clause" ]
null
null
null
// This file is part of Asteria. // Copyleft 2018, LH_Mouse. All wrongs reserved. #ifndef ASTERIA_REFERENCE_HPP_ #define ASTERIA_REFERENCE_HPP_ #include "fwd.hpp" #include "reference_root.hpp" #include "reference_modifier.hpp" namespace Asteria { class Reference { private: Reference_root m_root; Vector<...
26.432836
132
0.671937
MaskRay
672705ff65970239683ce82be68db76924118ba7
1,160
cpp
C++
search_algorithms/coding_problems/search_sorted_rotated.cpp
sky-lynx/Algorithms
95592a73dcd1dc04be7df3ce3157e63230fac27b
[ "MIT" ]
null
null
null
search_algorithms/coding_problems/search_sorted_rotated.cpp
sky-lynx/Algorithms
95592a73dcd1dc04be7df3ce3157e63230fac27b
[ "MIT" ]
null
null
null
search_algorithms/coding_problems/search_sorted_rotated.cpp
sky-lynx/Algorithms
95592a73dcd1dc04be7df3ce3157e63230fac27b
[ "MIT" ]
null
null
null
// searches an element in an array which is sorted and then rotated #include <iostream> using namespace std; int binary_search(int* arr, int l, int r, int key) { int m; while(l != r) { m = (l + r) / 2; if(arr[m] == key) return m; else if(arr[m] > key) r = m - 1; else l = m + 1...
17.575758
67
0.551724
sky-lynx
672b1c0d09b5b2ffa2f2bddaf4536ef544fc227b
2,516
cpp
C++
kernel/main.cpp
ethan4984/rock
751b9af1009b622bedf384c1f80970b333c436c3
[ "BSD-2-Clause" ]
207
2020-05-27T21:57:28.000Z
2022-02-26T15:17:27.000Z
kernel/main.cpp
ethan4984/crepOS
751b9af1009b622bedf384c1f80970b333c436c3
[ "BSD-2-Clause" ]
3
2020-07-26T18:14:05.000Z
2020-12-09T05:32:07.000Z
kernel/main.cpp
ethan4984/rock
751b9af1009b622bedf384c1f80970b333c436c3
[ "BSD-2-Clause" ]
17
2020-07-05T19:08:48.000Z
2021-10-13T12:30:13.000Z
#include <mm/vmm.hpp> #include <mm/pmm.hpp> #include <mm/slab.hpp> #include <int/idt.hpp> #include <int/gdt.hpp> #include <int/apic.hpp> #include <fs/dev.hpp> #include <fs/vfs.hpp> #include <fs/fd.hpp> #include <drivers/hpet.hpp> #include <drivers/tty.hpp> #include <drivers/pci.hpp> #include <sched/smp.hpp> #includ...
22.666667
82
0.589825
ethan4984
6736e6775cf4db401229a62885c84877683c0d0b
2,498
cpp
C++
Jan-3/src/ofApp.cpp
Lywa/Genuary
865ef0515eb986a175c565faa1fa56529a70f599
[ "MIT" ]
1
2022-01-06T09:34:03.000Z
2022-01-06T09:34:03.000Z
Jan-3/src/ofApp.cpp
Lywa/Genuary
865ef0515eb986a175c565faa1fa56529a70f599
[ "MIT" ]
null
null
null
Jan-3/src/ofApp.cpp
Lywa/Genuary
865ef0515eb986a175c565faa1fa56529a70f599
[ "MIT" ]
1
2022-01-06T09:34:04.000Z
2022-01-06T09:34:04.000Z
#include "ofApp.h" //-------------------------------------------------------------- void ofApp::setup(){ smileys.load("images/face_tiny.png"); smileysIcon.load("images/smileys_q.png"); smileysIcon.setImageType(OF_IMAGE_GRAYSCALE); } //-------------------------------------------------------------- vo...
23.790476
64
0.367894
Lywa
673d4e691c78287353086652ae0a2ba79d09840e
2,247
cpp
C++
src/animation_widget.cpp
CourrierGui/plotcpp
00b5a94e4c9804cbc441a0bcede67f70cef08a0c
[ "MIT" ]
null
null
null
src/animation_widget.cpp
CourrierGui/plotcpp
00b5a94e4c9804cbc441a0bcede67f70cef08a0c
[ "MIT" ]
null
null
null
src/animation_widget.cpp
CourrierGui/plotcpp
00b5a94e4c9804cbc441a0bcede67f70cef08a0c
[ "MIT" ]
null
null
null
#include <animation_widget.hpp> #include <plotwidget.hpp> #include <iostream> #include <QElapsedTimer> #include <QTimer> namespace pcpp { AnimationWidget::AnimationWidget( int rows, int cols, QWidget* parent) : _plot{rows, cols, parent}, _actions{}, _continue{true}, _qtime{new QElapsedTimer} { ...
25.827586
78
0.503783
CourrierGui
67441b108ccb6440a5e7333e0263e018224a5db1
6,086
cpp
C++
Sankore-3.1/src/domain/UBGraphicsEllipseItem.cpp
eaglezzb/rsdc
cce881f6542ff206bf286cf798c8ec8da3b51d50
[ "MIT" ]
null
null
null
Sankore-3.1/src/domain/UBGraphicsEllipseItem.cpp
eaglezzb/rsdc
cce881f6542ff206bf286cf798c8ec8da3b51d50
[ "MIT" ]
null
null
null
Sankore-3.1/src/domain/UBGraphicsEllipseItem.cpp
eaglezzb/rsdc
cce881f6542ff206bf286cf798c8ec8da3b51d50
[ "MIT" ]
null
null
null
/* * Copyright (C) 2010-2013 Groupement d'Intérêt Public pour l'Education Numérique en Afrique (GIP ENA) * * This file is part of Open-Sankoré. * * Open-Sankoré 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 Found...
25.464435
119
0.651002
eaglezzb
674773b616afc8e7d9f9b0fb29de3211aa0096cc
19,627
cpp
C++
TransferLogManager.cpp
agomez0207/wdt
d85fd11b14ae835e88cfffe970284fcf42866b18
[ "BSD-3-Clause" ]
1
2020-07-19T21:21:11.000Z
2020-07-19T21:21:11.000Z
TransferLogManager.cpp
agomez0207/wdt
d85fd11b14ae835e88cfffe970284fcf42866b18
[ "BSD-3-Clause" ]
null
null
null
TransferLogManager.cpp
agomez0207/wdt
d85fd11b14ae835e88cfffe970284fcf42866b18
[ "BSD-3-Clause" ]
null
null
null
/** * Copyright (c) 2014-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. */ #include "T...
32.657238
80
0.590972
agomez0207
6748cabbd113ed004698fdb04af485f3e4f6acf6
2,186
cpp
C++
src/status.cpp
Nakeib/RonClient
9e816c580ec2a6f1b15fdefd8e15ad62647ca29f
[ "MIT" ]
11
2020-11-07T19:35:24.000Z
2021-08-19T12:25:27.000Z
src/status.cpp
Nakeib/RonClient
9e816c580ec2a6f1b15fdefd8e15ad62647ca29f
[ "MIT" ]
null
null
null
src/status.cpp
Nakeib/RonClient
9e816c580ec2a6f1b15fdefd8e15ad62647ca29f
[ "MIT" ]
5
2020-11-06T20:52:11.000Z
2021-02-25T11:02:31.000Z
/* -------------------------------------------------------------------------- */ /* ------------- RonClient --- Oficial client for RonOTS servers ------------ */ /* -------------------------------------------------------------------------- */ #include "status.h" #include "allocator.h" #include "icons.h" #include "win...
23.505376
80
0.618939
Nakeib
674a7eb21be0415058f79fdae32ac00ef058376d
1,664
hpp
C++
Router/Data/Route_Stop_Data.hpp
kravitz/transims4
ea0848bf3dc71440d54724bb3ecba3947b982215
[ "NASA-1.3" ]
2
2018-04-27T11:07:02.000Z
2020-04-24T06:53:21.000Z
Router/Data/Route_Stop_Data.hpp
idkravitz/transims4
ea0848bf3dc71440d54724bb3ecba3947b982215
[ "NASA-1.3" ]
null
null
null
Router/Data/Route_Stop_Data.hpp
idkravitz/transims4
ea0848bf3dc71440d54724bb3ecba3947b982215
[ "NASA-1.3" ]
null
null
null
//********************************************************* // Route_Stop_Data.hpp - transit route stop data classes //********************************************************* #ifndef ROUTE_STOP_DATA_HPP #define ROUTE_STOP_DATA_HPP #include "Data_Array.hpp" //--------------------------------------------------------...
30.814815
100
0.497596
kravitz
6750116edd11d113a2610814ba8adbaca4bcf5b5
4,518
cpp
C++
src/main.cpp
scaryrawr/tofi
15b3757c4d492d5bbc7f57aef94f582549d2bef3
[ "MIT" ]
1
2020-08-03T18:57:01.000Z
2020-08-03T18:57:01.000Z
src/main.cpp
scaryrawr/tofi
15b3757c4d492d5bbc7f57aef94f582549d2bef3
[ "MIT" ]
1
2021-03-07T21:32:10.000Z
2021-03-08T13:56:10.000Z
src/main.cpp
scaryrawr/tofi
15b3757c4d492d5bbc7f57aef94f582549d2bef3
[ "MIT" ]
null
null
null
#include <TofiConfig.h> #include "tofi.h" #include "modes/dmenu.h" #ifdef GIOMM_FOUND #include "modes/drun.h" #endif #ifdef I3IPC_FOUND #include "modes/i3wm.h" #endif #ifdef GTKMM_FOUND #include "modes/recent.h" #endif #include "modes/run.h" #include "modes/script.h" #include <getopt.h> #include <ftxui/component/s...
22.366337
155
0.634794
scaryrawr
67510af1134b5530b703475985ce9f9b695fc754
3,147
cpp
C++
SceneServer/SSBattleMgr/SSProfileStatics.cpp
tsymiar/----
90e21cbfe7b3bc730c998e9f5ef87aa3581e357a
[ "Unlicense" ]
6
2019-07-15T23:55:15.000Z
2020-09-07T15:07:54.000Z
SceneServer/SSBattleMgr/SSProfileStatics.cpp
j1527156/BattleServer
68c9146bf35e93dfd5a175b46e9761ee3c7c0d04
[ "Unlicense" ]
null
null
null
SceneServer/SSBattleMgr/SSProfileStatics.cpp
j1527156/BattleServer
68c9146bf35e93dfd5a175b46e9761ee3c7c0d04
[ "Unlicense" ]
7
2019-07-15T23:55:24.000Z
2021-08-10T07:49:05.000Z
#include "StdAfx.h" #include "SSProfileStatics.h" #include <iostream> #include <fstream> #include "SSWorkThreadMgr.h" #include <iomanip> namespace SceneServer{ CSSProfileStatics::CSSProfileStatics(void):m_LastMsgShow(0) { } CSSProfileStatics::~CSSProfileStatics(void) { } void CSSProfileStatics::Begin(StaticsType ...
24.779528
148
0.71306
tsymiar
677683951ea683a30b3a06aa27a6d6031be6b75e
77,473
cpp
C++
source/game/gamesys/SysCvar.cpp
JasonHutton/QWTA
7f42dc70eb230cf69a8048fc98d647a486e752f1
[ "MIT" ]
2
2021-05-02T18:37:48.000Z
2021-07-18T16:18:14.000Z
source/game/gamesys/SysCvar.cpp
JasonHutton/QWTA
7f42dc70eb230cf69a8048fc98d647a486e752f1
[ "MIT" ]
null
null
null
source/game/gamesys/SysCvar.cpp
JasonHutton/QWTA
7f42dc70eb230cf69a8048fc98d647a486e752f1
[ "MIT" ]
null
null
null
// Copyright (C) 2007 Id Software, Inc. // #include "../precompiled.h" #pragma hdrstop #if defined( _DEBUG ) && !defined( ID_REDIRECT_NEWDELETE ) #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif #include "../../framework/BuildVersion.h" #include "../../framework/BuildDef...
116.325826
337
0.722832
JasonHutton
677f46fc06e7d13606731f6f380c3030e3e2c04e
4,986
cpp
C++
Server/GameServer/SealHandler.cpp
APistole/KnightOnline
80268e2fa971389a3e94c430966a7943c2631dbf
[ "MIT" ]
191
2016-03-05T16:44:15.000Z
2022-03-09T00:52:31.000Z
Server/GameServer/SealHandler.cpp
APistole/KnightOnline
80268e2fa971389a3e94c430966a7943c2631dbf
[ "MIT" ]
128
2016-08-31T04:09:06.000Z
2022-01-14T13:42:56.000Z
Server/GameServer/SealHandler.cpp
APistole/KnightOnline
80268e2fa971389a3e94c430966a7943c2631dbf
[ "MIT" ]
165
2016-03-05T16:43:59.000Z
2022-01-22T00:52:25.000Z
#include "stdafx.h" using std::string; #define ITEM_SEAL_PRICE 1000000 enum { SEAL_TYPE_SEAL = 1, SEAL_TYPE_UNSEAL = 2, SEAL_TYPE_KROWAZ = 3 }; enum SealErrorCodes { SealErrorNone = 0, // no error, success! SealErrorFailed = 2, // "Seal Failed." SealErrorNeedCoins = 3, // "Not enough coins." SealErrorI...
27.546961
98
0.676093
APistole
677f4c58a0957dd00800731a89c97b4a7d44ce20
13,771
cpp
C++
vs2017/screenshot/GeneratedFiles/moc_FullScreenWidget.cpp
cheechang/cppcc
0292e9a9b27e0579970c83b4f6a75dcdae1558bf
[ "MIT" ]
null
null
null
vs2017/screenshot/GeneratedFiles/moc_FullScreenWidget.cpp
cheechang/cppcc
0292e9a9b27e0579970c83b4f6a75dcdae1558bf
[ "MIT" ]
null
null
null
vs2017/screenshot/GeneratedFiles/moc_FullScreenWidget.cpp
cheechang/cppcc
0292e9a9b27e0579970c83b4f6a75dcdae1558bf
[ "MIT" ]
null
null
null
/**************************************************************************** ** Meta object code from reading C++ file 'FullScreenWidget.h' ** ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.12.1) ** ** WARNING! All changes made in this file will be lost! ***************************************************...
38.90113
239
0.609469
cheechang
6783defb9c837966b097ecad6ae9876a83d5ce20
43,237
hpp
C++
task-movement/Koala/container/assoctab.hpp
miloszc/task-movement
26b40595b590b0fcc3c226fbe8576faa3b5c1244
[ "MIT" ]
null
null
null
task-movement/Koala/container/assoctab.hpp
miloszc/task-movement
26b40595b590b0fcc3c226fbe8576faa3b5c1244
[ "MIT" ]
19
2019-02-15T09:04:22.000Z
2020-06-23T21:42:29.000Z
task-movement/Koala/container/assoctab.hpp
miloszc/task-movement
26b40595b590b0fcc3c226fbe8576faa3b5c1244
[ "MIT" ]
1
2019-05-04T16:12:25.000Z
2019-05-04T16:12:25.000Z
// AssocTabConstInterface template< class K, class V > V AssocTabConstInterface< std::map< K,V > >::operator[]( K arg ) const { koalaAssert( !Privates::ZeroAssocKey<K>::isZero(arg),ContExcOutpass ); typename std::map< K,V >::const_iterator i; i = cont.find( arg ); if (i == cont.end()) return V(); else return i->...
35.009717
164
0.660568
miloszc
6787d8c779a3ba6a702a7af7db4f78c9d5b97891
8,821
cxx
C++
Hybrid/Testing/Cxx/TestKWEGPUArrayCalculator.cxx
wuzhuobin/vtkEdge
ed13af68a72cec79e3645f7e842d6074592abfa2
[ "BSD-3-Clause" ]
1
2021-01-09T16:06:14.000Z
2021-01-09T16:06:14.000Z
Hybrid/Testing/Cxx/TestKWEGPUArrayCalculator.cxx
wuzhuobin/vtkEdge
ed13af68a72cec79e3645f7e842d6074592abfa2
[ "BSD-3-Clause" ]
null
null
null
Hybrid/Testing/Cxx/TestKWEGPUArrayCalculator.cxx
wuzhuobin/vtkEdge
ed13af68a72cec79e3645f7e842d6074592abfa2
[ "BSD-3-Clause" ]
null
null
null
//============================================================================= // This file is part of VTKEdge. See vtkedge.org for more information. // // Copyright (c) 2010 Kitware, Inc. // // VTKEdge may be used under the terms of the BSD License // Please see the file Copyright.txt in the root directory of...
33.796935
117
0.677247
wuzhuobin
6787f8c55a86572359a8d1c112817aa47613cec8
4,365
hpp
C++
src/items/SpatialItem.hpp
maltewi/envire-envire_core
549b64ed30ba8afc4d91ae67b216a78b40cee016
[ "BSD-2-Clause" ]
9
2017-05-13T12:33:46.000Z
2021-01-27T18:50:40.000Z
src/items/SpatialItem.hpp
maltewi/envire-envire_core
549b64ed30ba8afc4d91ae67b216a78b40cee016
[ "BSD-2-Clause" ]
37
2016-02-11T17:34:41.000Z
2021-10-04T10:14:18.000Z
src/items/SpatialItem.hpp
maltewi/envire-envire_core
549b64ed30ba8afc4d91ae67b216a78b40cee016
[ "BSD-2-Clause" ]
11
2016-07-11T14:49:34.000Z
2021-06-04T08:23:39.000Z
// // Copyright (c) 2015, Deutsches Forschungszentrum für Künstliche Intelligenz GmbH. // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // // * Redistributions of source code must retain the ab...
31.630435
104
0.666208
maltewi
678cf958b2fa6c02ad42f430b91df752c6f7a2c8
1,061
cpp
C++
tau/TauEngine/src/dx/dxgi/DXGI11GraphicsDisplay.cpp
hyfloac/TauEngine
1559b2a6e6d1887b8ee02932fe0aa6e5b9d5652c
[ "MIT" ]
1
2020-04-22T04:07:01.000Z
2020-04-22T04:07:01.000Z
tau/TauEngine/src/dx/dxgi/DXGI11GraphicsDisplay.cpp
hyfloac/TauEngine
1559b2a6e6d1887b8ee02932fe0aa6e5b9d5652c
[ "MIT" ]
null
null
null
tau/TauEngine/src/dx/dxgi/DXGI11GraphicsDisplay.cpp
hyfloac/TauEngine
1559b2a6e6d1887b8ee02932fe0aa6e5b9d5652c
[ "MIT" ]
null
null
null
#include "dx/dxgi/DXGI11GraphicsDisplay.hpp" #ifdef _WIN32 NullableRef<DXGI11GraphicsDisplay> DXGI11GraphicsDisplay::build(IDXGIOutput* const dxgiOutput) noexcept { UINT numDisplayModes; HRESULT res = dxgiOutput->GetDisplayModeList(DXGI_FORMAT_R8G8B8A8_UNORM, DXGI_ENUM_MODES_INTERLACED, &numDisplayModes,...
35.366667
134
0.737983
hyfloac
6790d2017a223d244fde06f4fd43c86abecc4182
1,419
hpp
C++
deeplab/code/include/caffe/layers/graphcut_layer.hpp
dmitrii-marin/adm-seg
e730b79bcd2b30cee66efac0ce961090c2cd4e62
[ "MIT" ]
10
2019-05-28T22:00:08.000Z
2021-11-27T04:00:11.000Z
deeplab/code/include/caffe/layers/graphcut_layer.hpp
dmitrii-marin/adm-seg
e730b79bcd2b30cee66efac0ce961090c2cd4e62
[ "MIT" ]
2
2019-09-10T09:47:13.000Z
2019-10-26T02:58:03.000Z
deeplab/code/include/caffe/layers/graphcut_layer.hpp
dmitrii-marin/adm-seg
e730b79bcd2b30cee66efac0ce961090c2cd4e62
[ "MIT" ]
2
2019-12-26T01:58:20.000Z
2020-03-11T02:22:08.000Z
#ifndef CAFFE_GRAPHCUT_LAYER_HPP_ #define CAFFE_GRAPHCUT_LAYER_HPP_ #include <vector> #include "caffe/blob.hpp" #include "caffe/layer.hpp" #include "caffe/proto/caffe.pb.h" #include "caffe/filterrgbxy.hpp" #include "gco-v3.0/GCoptimization.h" #include <cstddef> namespace caffe{ template <typename Dtype> class Gr...
26.277778
98
0.711769
dmitrii-marin
09661d776586905743293e00b25c523c21f0b200
3,792
cpp
C++
RTIDPRR/Source/Graphics/Core/Buffer.cpp
brunosegiu/RTIDPRR
d7daef7611899db4e23ba6a2b5a91135c57e0871
[ "MIT" ]
3
2020-12-06T02:22:48.000Z
2021-06-24T13:52:10.000Z
RTIDPRR/Source/Graphics/Core/Buffer.cpp
brunosegiu/RTIDPRR
d7daef7611899db4e23ba6a2b5a91135c57e0871
[ "MIT" ]
null
null
null
RTIDPRR/Source/Graphics/Core/Buffer.cpp
brunosegiu/RTIDPRR
d7daef7611899db4e23ba6a2b5a91135c57e0871
[ "MIT" ]
1
2021-10-13T10:36:36.000Z
2021-10-13T10:36:36.000Z
#include "Buffer.h" #include "Command.h" #include "Context.h" #include "DeviceMemory.h" using namespace RTIDPRR::Graphics; Buffer::Buffer(const vk::DeviceSize& size, const vk::BufferUsageFlags& usage, const vk::MemoryPropertyFlags& memoryProperties) : mSize(size) { const Device& device = Contex...
36.461538
79
0.726002
brunosegiu
096a3969d7f748663f63ee71124263026f3bfee6
513
cpp
C++
codeshef/CIN011.cpp
sonuKumar03/data-structure-and-algorithm
d1fd3cad494cbcc91ce7ff37ec611752369b50b6
[ "MIT" ]
null
null
null
codeshef/CIN011.cpp
sonuKumar03/data-structure-and-algorithm
d1fd3cad494cbcc91ce7ff37ec611752369b50b6
[ "MIT" ]
null
null
null
codeshef/CIN011.cpp
sonuKumar03/data-structure-and-algorithm
d1fd3cad494cbcc91ce7ff37ec611752369b50b6
[ "MIT" ]
null
null
null
#include<iostream> #include<queue> #include<vector> #include<algorithm> #include<fstream> #include<climits> #include<math.h> using namespace std; typedef long long ll ; void solve(){ ll n ; cin>>n; ll *roses = new ll[n]; for(int i =0;i<n;i++){ cin>>roses[i]; } ll happiness = -1; for(int i =0;i<n;i++)...
14.25
33
0.569201
sonuKumar03
096f6455e70034e7bad0407873ba591b77351925
18,237
cpp
C++
PersistentStore/SqliteStore.cpp
MFransen69/rdkservices
ce13efeb95779bc04c20e69be5fe86fd8565a6c6
[ "BSD-2-Clause" ]
null
null
null
PersistentStore/SqliteStore.cpp
MFransen69/rdkservices
ce13efeb95779bc04c20e69be5fe86fd8565a6c6
[ "BSD-2-Clause" ]
null
null
null
PersistentStore/SqliteStore.cpp
MFransen69/rdkservices
ce13efeb95779bc04c20e69be5fe86fd8565a6c6
[ "BSD-2-Clause" ]
null
null
null
/* * If not stated otherwise in this file or this component's LICENSE file the * following copyright and licenses apply: * * Copyright 2022 RDK Management * * 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 cop...
25.119835
109
0.551132
MFransen69
09705a8a905f583738cbc53fc70fa2e3c0205846
136
cpp
C++
test/llvm_test_code/linear_constant/call_10.cpp
janniclas/phasar
324302ae96795e6f0a065c14d4f7756b1addc2a4
[ "MIT" ]
1
2022-02-15T07:56:29.000Z
2022-02-15T07:56:29.000Z
test/llvm_test_code/linear_constant/call_10.cpp
fabianbs96/phasar
5b8acd046d8676f72ce0eb85ca20fdb0724de444
[ "MIT" ]
null
null
null
test/llvm_test_code/linear_constant/call_10.cpp
fabianbs96/phasar
5b8acd046d8676f72ce0eb85ca20fdb0724de444
[ "MIT" ]
null
null
null
void bar(int b) {} void foo(int a) { // clang-format off bar(a); } // clang-format on int main() { int i; foo(2); return 0; }
11.333333
37
0.551471
janniclas
0973942ad6b4dc43319155d9cb62b01f3c1675d2
4,551
cpp
C++
Source/BlackWolf.Lupus.Core/Cookie.cpp
chronos38/lupus-core
ea5196b1b8663999f0a6fcfb5ee3dc5c01d48f32
[ "MIT" ]
null
null
null
Source/BlackWolf.Lupus.Core/Cookie.cpp
chronos38/lupus-core
ea5196b1b8663999f0a6fcfb5ee3dc5c01d48f32
[ "MIT" ]
null
null
null
Source/BlackWolf.Lupus.Core/Cookie.cpp
chronos38/lupus-core
ea5196b1b8663999f0a6fcfb5ee3dc5c01d48f32
[ "MIT" ]
1
2020-10-03T05:05:03.000Z
2020-10-03T05:05:03.000Z
/** * Copyright (C) 2014 David Wolf <d.wolf@live.at> * * This file is part of Lupus. * 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 th...
28.267081
80
0.513733
chronos38
0975c8e52cf2a7a3ea23ce38e36b92ffcf6843b4
517
cc
C++
gearbox/t/core/config_file.t.cc
coryb/gearbox
88027f2f101c2d1fab16093928963052b9d3294d
[ "Artistic-1.0-Perl", "BSD-3-Clause" ]
3
2015-06-26T15:37:40.000Z
2016-05-22T07:42:39.000Z
gearbox/t/core/config_file.t.cc
coryb/gearbox
88027f2f101c2d1fab16093928963052b9d3294d
[ "Artistic-1.0-Perl", "BSD-3-Clause" ]
null
null
null
gearbox/t/core/config_file.t.cc
coryb/gearbox
88027f2f101c2d1fab16093928963052b9d3294d
[ "Artistic-1.0-Perl", "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2012, Yahoo! Inc. All rights reserved. // Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms. #include <tap/trivial.h> #include <gearbox/core/ConfigFile.h> using namespace Gearbox; int main() { chdir(TESTDIR); TEST_START(5); ConfigFile cfg("cfg/2...
21.541667
94
0.617021
coryb
097678ae1ef604a6f07542e23a230b58a61679e4
3,944
cpp
C++
Drivers/GranularJet/dec13_A254_Hi0075_RC06_MU05.cpp
gustavo-castillo-bautista/Mercury
eeb402ccec8e487652229d4595c46ec84f6aefbb
[ "BSD-3-Clause" ]
null
null
null
Drivers/GranularJet/dec13_A254_Hi0075_RC06_MU05.cpp
gustavo-castillo-bautista/Mercury
eeb402ccec8e487652229d4595c46ec84f6aefbb
[ "BSD-3-Clause" ]
null
null
null
Drivers/GranularJet/dec13_A254_Hi0075_RC06_MU05.cpp
gustavo-castillo-bautista/Mercury
eeb402ccec8e487652229d4595c46ec84f6aefbb
[ "BSD-3-Clause" ]
null
null
null
//Copyright (c) 2013-2020, The MercuryDPM Developers Team. All rights reserved. //For the list of developers, see <http://www.MercuryDPM.org/Team>. // //Redistribution and use in source and binary forms, with or without //modification, are permitted provided that the following conditions are met: // * Redistributions ...
40.659794
149
0.761663
gustavo-castillo-bautista
097d29910f58bf15984a871e201ddf64e159f4b3
3,105
cpp
C++
tests/mapping/Map2DTest.cpp
jonahbardos/PY2020
af4f61b86ae5013e58faf4842bf20863b3de3957
[ "Apache-2.0" ]
11
2019-10-03T01:17:16.000Z
2020-10-25T02:38:32.000Z
tests/mapping/Map2DTest.cpp
jonahbardos/PY2020
af4f61b86ae5013e58faf4842bf20863b3de3957
[ "Apache-2.0" ]
53
2019-10-03T02:11:04.000Z
2021-06-05T03:11:55.000Z
tests/mapping/Map2DTest.cpp
jonahbardos/PY2020
af4f61b86ae5013e58faf4842bf20863b3de3957
[ "Apache-2.0" ]
3
2019-09-20T04:09:29.000Z
2020-08-18T22:25:20.000Z
#define CATCH_CONFIG_MAIN #include "mapping/Map2D.h" #include <iostream> #include <cmath> #include <chrono> #include <ctime> #include <thread> constexpr int test_iterations = 100; constexpr int vertex_count = 1000; constexpr int sparsity_factor = 2; #include <catch2/catch.hpp> namespace Mapping { ...
29.571429
98
0.554267
jonahbardos
09807f83c5fd4e83dddd8cef01b63649a688bc23
1,520
cpp
C++
attacker/SSL/sslPublic.cpp
satadriver/attacker
24e4434d8a836e040e48df195f2ca8919ab52609
[ "Apache-2.0" ]
null
null
null
attacker/SSL/sslPublic.cpp
satadriver/attacker
24e4434d8a836e040e48df195f2ca8919ab52609
[ "Apache-2.0" ]
null
null
null
attacker/SSL/sslPublic.cpp
satadriver/attacker
24e4434d8a836e040e48df195f2ca8919ab52609
[ "Apache-2.0" ]
1
2022-03-20T03:21:00.000Z
2022-03-20T03:21:00.000Z
#include "sslPublic.h" #include "../attacker.h" #include "../FileOper.h" #include <vector> #include <iostream> #include <string> using namespace std; WORKERCONTROL gWorkControl; vector <string> gHostAttackList; char G_USERNAME[64]; SSLPublic::SSLPublic(vector<string>list) { if (mInstance) { return; } mInst...
19.74026
63
0.651316
satadriver
09817f55dee6853da4cc8fcc42feaf934082197f
119
cpp
C++
src/IModel.cpp
soraphis/Boids-MPI
87ce64b6bfa5f8f9dba94a641046979621e7a71c
[ "MIT" ]
null
null
null
src/IModel.cpp
soraphis/Boids-MPI
87ce64b6bfa5f8f9dba94a641046979621e7a71c
[ "MIT" ]
1
2017-05-30T14:59:29.000Z
2017-05-30T14:59:29.000Z
src/IModel.cpp
soraphis/Boids-MPI
87ce64b6bfa5f8f9dba94a641046979621e7a71c
[ "MIT" ]
null
null
null
/* * IModel.cpp * * Created on: 29.06.2014 * Author: oliver */ #include "IModel.h" IModel::~IModel(){ }
8.5
26
0.537815
soraphis
0982fc2f50f944be4581a3e21cd40ce1d769102d
1,273
cpp
C++
src/trade_book/TradeBook.cpp
karelhala-cz/BitstampTax
361b94a8acf233082badc21da256b4089aad2188
[ "MIT" ]
null
null
null
src/trade_book/TradeBook.cpp
karelhala-cz/BitstampTax
361b94a8acf233082badc21da256b4089aad2188
[ "MIT" ]
null
null
null
src/trade_book/TradeBook.cpp
karelhala-cz/BitstampTax
361b94a8acf233082badc21da256b4089aad2188
[ "MIT" ]
null
null
null
//********************************************************************************************************************* // Author: Karel Hala, hala.karel@gmail.com // Copyright: (c) 2021-2022 Karel Hala // License: MIT //***********************************************************************************************...
23.574074
119
0.586803
karelhala-cz
09839fb928a67e869b7b8cf5c6a1129430fd171f
796
cpp
C++
src/gamelib/utils/LifetimeTracker.cpp
mall0c/GameLib
df4116b53c39be7b178dd87f7eb0fe32a94d00d3
[ "MIT" ]
1
2020-02-17T09:53:36.000Z
2020-02-17T09:53:36.000Z
src/gamelib/utils/LifetimeTracker.cpp
mall0c/GameLib
df4116b53c39be7b178dd87f7eb0fe32a94d00d3
[ "MIT" ]
null
null
null
src/gamelib/utils/LifetimeTracker.cpp
mall0c/GameLib
df4116b53c39be7b178dd87f7eb0fe32a94d00d3
[ "MIT" ]
null
null
null
#include "gamelib/utils/LifetimeTracker.hpp" namespace gamelib { SlotMapShort<void*> LifetimeTrackerManager::_data; LifetimeTrackerManager::LifetimeTrackerManager() { } auto LifetimeTrackerManager::add(void* ptr) -> LifetimeHandle { auto h = _data.acquire(); _data[h] = ptr; ...
22.742857
84
0.628141
mall0c
0988cb9ad208ef6d58ccf6001e8cd49c540a41e6
2,410
cpp
C++
VoDTCPServer/VoDTCPServerView.cpp
ckaraca/VoD
415590649053eb560ef094768bec210c4c0fe19f
[ "MIT" ]
3
2021-11-26T21:26:32.000Z
2022-01-09T20:54:49.000Z
VoDTCPServer/VoDTCPServerView.cpp
ckaraca/VoD
415590649053eb560ef094768bec210c4c0fe19f
[ "MIT" ]
null
null
null
VoDTCPServer/VoDTCPServerView.cpp
ckaraca/VoD
415590649053eb560ef094768bec210c4c0fe19f
[ "MIT" ]
null
null
null
// VoDTCPServerView.cpp : implementation of the CVoDTCPServerView class // #include "stdafx.h" #include "VoDTCPServer.h" #include "VoDTCPServerDoc.h" #include "VoDTCPServerView.h" #ifdef _DEBUG #define new DEBUG_NEW #endif #define WSA_VERSION MAKEWORD(2,0) extern TCHAR ServerPathName[]; extern TCHAR ServerPath[];...
21.327434
87
0.755602
ckaraca
09899356e00cbb258e99c61dd65dd32b225df382
2,492
cpp
C++
plugins/builtin.cpp
iotbzh/DEPRECATED_afb-signal-composer
ee50d58c38e4a8f2dafd40b6cdf3aa6c7612e866
[ "Apache-2.0" ]
null
null
null
plugins/builtin.cpp
iotbzh/DEPRECATED_afb-signal-composer
ee50d58c38e4a8f2dafd40b6cdf3aa6c7612e866
[ "Apache-2.0" ]
null
null
null
plugins/builtin.cpp
iotbzh/DEPRECATED_afb-signal-composer
ee50d58c38e4a8f2dafd40b6cdf3aa6c7612e866
[ "Apache-2.0" ]
null
null
null
/* * Copyright (C) 2016 "IoT.bzh" * Author Romain Forlot <romain.forlot@iot.bzh> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * *...
27.688889
104
0.725522
iotbzh
0998a6a1c67e59ff7263fff32514f9b73af3fa9b
1,583
cpp
C++
modules/cudaimgproc/samples/connected_components.cpp
pccvlab/opencv_contrib
f6a39c5d01a7b2d2bb223a2a67beb9736fce7d93
[ "Apache-2.0" ]
null
null
null
modules/cudaimgproc/samples/connected_components.cpp
pccvlab/opencv_contrib
f6a39c5d01a7b2d2bb223a2a67beb9736fce7d93
[ "Apache-2.0" ]
null
null
null
modules/cudaimgproc/samples/connected_components.cpp
pccvlab/opencv_contrib
f6a39c5d01a7b2d2bb223a2a67beb9736fce7d93
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include <opencv2/core/utility.hpp> #include "opencv2/imgproc.hpp" #include "opencv2/imgcodecs.hpp" #include "opencv2/highgui.hpp" #include "opencv2/cudaimgproc.hpp" using namespace cv; using namespace std; using namespace cv::cuda; void colorLabels(const Mat1i& labels, Mat3b& colors) { colo...
26.830508
121
0.655085
pccvlab
099a548581f12d5b5a3a2a36c45dd14ccf4a8336
176
cpp
C++
src/world/health.cpp
louiz/batajelo
4d8edce8da9d3b17dbad68eb4881d7f6fee2f76e
[ "BSL-1.0", "BSD-2-Clause", "Zlib", "MIT" ]
7
2015-01-28T09:17:08.000Z
2020-04-21T13:51:16.000Z
src/world/health.cpp
louiz/batajelo
4d8edce8da9d3b17dbad68eb4881d7f6fee2f76e
[ "BSL-1.0", "BSD-2-Clause", "Zlib", "MIT" ]
null
null
null
src/world/health.cpp
louiz/batajelo
4d8edce8da9d3b17dbad68eb4881d7f6fee2f76e
[ "BSL-1.0", "BSD-2-Clause", "Zlib", "MIT" ]
1
2020-07-11T09:20:25.000Z
2020-07-11T09:20:25.000Z
#include <world/health.hpp> const ComponentType Health::component_type; Health::Health(const Quantity::type max): Quantity(max) { } void Health::tick(Entity*, World*) { }
13.538462
43
0.721591
louiz
099a85de008229877140cca914f025843039871f
372
cpp
C++
05_bits/digits_demo.cpp
anton0xf/stepik_cpp
fe87fff8523bc62c92b13dc8c0908b6d984aec43
[ "MIT" ]
null
null
null
05_bits/digits_demo.cpp
anton0xf/stepik_cpp
fe87fff8523bc62c92b13dc8c0908b6d984aec43
[ "MIT" ]
null
null
null
05_bits/digits_demo.cpp
anton0xf/stepik_cpp
fe87fff8523bc62c92b13dc8c0908b6d984aec43
[ "MIT" ]
null
null
null
#include <stdio.h> #include "digits.hpp" int main() { init_digits(); printf("values: \n"); for (int i=0; i < VALUES_COUNT; i++) { if (values[i] == UNUSED) continue; printf("%c -> %lld\n", (char)i, values[i]); } printf("digits: "); for (int i=0; i < DIGITS_COUNT; i++) { p...
21.882353
51
0.491935
anton0xf
099fbb7c121449c95fb9f56489000d921c612477
814
hpp
C++
Kuplung/kuplung/utilities/consumption/WindowsCPUUsage.hpp
supudo/Kuplung
f0e11934fde0675fa531e6dc263bedcc20a5ea1a
[ "Unlicense" ]
14
2017-02-17T17:12:40.000Z
2021-12-22T01:55:06.000Z
Kuplung/kuplung/utilities/consumption/WindowsCPUUsage.hpp
supudo/Kuplung
f0e11934fde0675fa531e6dc263bedcc20a5ea1a
[ "Unlicense" ]
null
null
null
Kuplung/kuplung/utilities/consumption/WindowsCPUUsage.hpp
supudo/Kuplung
f0e11934fde0675fa531e6dc263bedcc20a5ea1a
[ "Unlicense" ]
1
2019-10-15T08:10:10.000Z
2019-10-15T08:10:10.000Z
// // WindowsCPUUsage.hpp // Kuplung // // Created by Sergey Petrov on 12/16/15. // Copyright © 2015 supudo.net. All rights reserved. // #ifndef WindowsCPUUsage_hpp #define WindowsCPUUsage_hpp namespace KuplungApp { namespace Utilities { namespace Consumption { #include <windows.h> class WindowsCPUUsage { publi...
18.930233
68
0.739558
supudo
09a0d8fbc646e7ed4bca93c50809b96655e90b06
787
cpp
C++
assingment/32.cpp
aditya1k2/CPP-SEM-2-KIIT
1afceeb39458201b6dafe33422d7de8e613d96de
[ "MIT" ]
null
null
null
assingment/32.cpp
aditya1k2/CPP-SEM-2-KIIT
1afceeb39458201b6dafe33422d7de8e613d96de
[ "MIT" ]
null
null
null
assingment/32.cpp
aditya1k2/CPP-SEM-2-KIIT
1afceeb39458201b6dafe33422d7de8e613d96de
[ "MIT" ]
null
null
null
/* Name:- Aditya Kumar Gupta Roll No.:- 1706291 Sec:- B-19 Ques No.:-32 */ #include<iostream> #include<stdio.h> using namespace std; int main() { char str[100],pat[20],new_str[100],rep_pat[50]; int i=0,j=0,k,n=0,copy_loop=0, rep_index=0; cout<<"Enter the string:\n"; gets(str); cout<<"\nEnter the pattern: "; ...
18.738095
48
0.556544
aditya1k2
09a191ad3902e2287e28eccae3b07851957fe736
2,035
cpp
C++
cpp/HeapStack/HeapStack_v1/main.cpp
ArboreusSystems/arboreus_examples
17d39e18f4b2511c19f97d4e6c07ec9d7087fae8
[ "BSD-3-Clause" ]
17
2019-02-19T21:29:22.000Z
2022-01-29T11:03:45.000Z
cpp/HeapStack/HeapStack_v1/main.cpp
MbohBless/arboreus_examples
97f0e25182bbc4b5ffab37c6157514332002aeee
[ "BSD-3-Clause" ]
null
null
null
cpp/HeapStack/HeapStack_v1/main.cpp
MbohBless/arboreus_examples
97f0e25182bbc4b5ffab37c6157514332002aeee
[ "BSD-3-Clause" ]
9
2021-02-21T05:32:23.000Z
2022-02-26T07:51:52.000Z
/* ------------------------------------------------------------------- * @doc * @notice Template file wizards/projects/plaincpp/main.cpp * * @copyright Arboreus (http://arboreus.systems) * @author Alexandr Kirilov (http://alexandr.kirilov.me) * @created 19/07/2020 at 13:12:12 * */// ------------------------...
26.776316
70
0.648649
ArboreusSystems
09a1db3d62886f85788529fe56a696428bd6d4d2
11,674
cpp
C++
vm/external_libs/llvm/lib/Bitcode/Writer/ValueEnumerator.cpp
marnen/rubinius
05b3f9789d01bada0604a7f09921c956bc9487e7
[ "BSD-3-Clause" ]
1
2016-05-08T16:58:14.000Z
2016-05-08T16:58:14.000Z
vm/external_libs/llvm/lib/Bitcode/Writer/ValueEnumerator.cpp
taf2/rubinius
493bfa2351fc509ca33d3bb03991c2e9c2b6dafa
[ "BSD-3-Clause" ]
null
null
null
vm/external_libs/llvm/lib/Bitcode/Writer/ValueEnumerator.cpp
taf2/rubinius
493bfa2351fc509ca33d3bb03991c2e9c2b6dafa
[ "BSD-3-Clause" ]
null
null
null
//===-- ValueEnumerator.cpp - Number values and types for bitcode writer --===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
35.591463
80
0.640569
marnen
09a3ffc1941a8251858d718e4c97e3e9aa166202
533
cpp
C++
competitive_programming/programming_contests/spoj_br/bafo.cpp
LeandroTk/Algorithms
569ed68eba3eeff902f8078992099c28ce4d7cd6
[ "MIT" ]
205
2018-12-01T17:49:49.000Z
2021-12-22T07:02:27.000Z
competitive_programming/programming_contests/spoj_br/bafo.cpp
LeandroTk/Algorithms
569ed68eba3eeff902f8078992099c28ce4d7cd6
[ "MIT" ]
2
2020-01-01T16:34:29.000Z
2020-04-26T19:11:13.000Z
competitive_programming/programming_contests/spoj_br/bafo.cpp
LeandroTk/Algorithms
569ed68eba3eeff902f8078992099c28ce4d7cd6
[ "MIT" ]
50
2018-11-28T20:51:36.000Z
2021-11-29T04:08:25.000Z
// BAFO #include <iostream> #include <string> using namespace std; int main() { int n, t_beto=0, t_aldo=0, x, y, counter=1; string result; cin >> n; if(n == 0) return 0; while(n != 0) { for (int i = 0; i < n; i++) { cin >> x >> y; t_aldo += x; t_beto += y; } if (t_ald...
13.666667
45
0.467167
LeandroTk
09a93f4f2ec3d6e761c821efe40a8908d8d0a2a0
1,632
hpp
C++
include/foundation/gameobject.hpp
namelessvoid/qrwar
bbc4036cd3bab6b0edcaccbc95286379ef51f12b
[ "MIT" ]
3
2015-03-28T02:51:58.000Z
2018-11-08T16:49:53.000Z
include/foundation/gameobject.hpp
namelessvoid/qrwar
bbc4036cd3bab6b0edcaccbc95286379ef51f12b
[ "MIT" ]
39
2015-05-18T08:29:16.000Z
2020-07-18T21:17:44.000Z
include/foundation/gameobject.hpp
namelessvoid/qrwar
bbc4036cd3bab6b0edcaccbc95286379ef51f12b
[ "MIT" ]
null
null
null
#ifndef QRW_GAMEOBJECT_HPP #define QRW_GAMEOBJECT_HPP #include <map> #include <typeinfo> #include <typeindex> #include <cassert> #include <functional> #include <foundation/gamecomponent.hpp> #include "meta/reflectable.hpp" namespace qrw { class GameComponent; class GameObject : public Reflectable { public: GameO...
24.727273
102
0.756127
namelessvoid
09a994f79ffde40a6455a8f05ceb83d9f5aa9c8a
421
cpp
C++
CodeFourses/A.HelpfulMaths.cpp
Rafat97/RafatProgtammingContest
f39ef6a71511abb91d42c6af469e4b24959be226
[ "Apache-2.0" ]
null
null
null
CodeFourses/A.HelpfulMaths.cpp
Rafat97/RafatProgtammingContest
f39ef6a71511abb91d42c6af469e4b24959be226
[ "Apache-2.0" ]
null
null
null
CodeFourses/A.HelpfulMaths.cpp
Rafat97/RafatProgtammingContest
f39ef6a71511abb91d42c6af469e4b24959be226
[ "Apache-2.0" ]
null
null
null
#include<iostream> #include<cstdio> #include<cstring> #include<algorithm> using namespace std; int main(void) { char str[500],str1[500]; int i = 0; gets(str); for(int j = 0;j<strlen(str);i++,j = j + 2 ) str1[i] = str[j]; str1[i] = '\0'; sort(str1,str1+strlen(str1)); for(int j...
13.580645
53
0.524941
Rafat97
09acab92de7bc049d3b6f4ac9b00aa0877acd311
174
cpp
C++
unsafe_coerce/unsafe-coerce.cpp
mikesol/purescript-native-cpp-ffi
3805115716e7f5dfe3b046c2e2967bfbdf2ce19f
[ "MIT" ]
11
2019-07-28T14:19:04.000Z
2021-06-11T11:40:43.000Z
unsafe_coerce/unsafe-coerce.cpp
andyarvanitis/purescript-cpp-ffi
268567879eed9a1da8450f07277382a76c658a90
[ "MIT" ]
4
2018-11-16T07:59:01.000Z
2019-05-19T01:03:06.000Z
unsafe_coerce/unsafe-coerce.cpp
andyarvanitis/purescript-cpp-ffi
268567879eed9a1da8450f07277382a76c658a90
[ "MIT" ]
4
2019-12-22T05:36:30.000Z
2021-11-08T09:49:59.000Z
#include "purescript.h" // Tested with package v4.0.0 FOREIGN_BEGIN( Unsafe_Coerce ) exports["unsafeCoerce"] = [](const boxed& x) -> boxed { return x; }; FOREIGN_END
14.5
55
0.678161
mikesol
09ad28d0d52ed20c83b23d6d45647ed5aafc88b4
6,374
cpp
C++
apps/Viewer/src/Preferences.cpp
asuessenbach/pipeline
2e49968cc3b9948a57f7ee6c4cc3258925c92ab2
[ "BSD-3-Clause" ]
217
2015-01-06T09:26:53.000Z
2022-03-23T14:03:18.000Z
apps/Viewer/src/Preferences.cpp
asuessenbach/pipeline
2e49968cc3b9948a57f7ee6c4cc3258925c92ab2
[ "BSD-3-Clause" ]
10
2015-01-25T12:42:05.000Z
2017-11-28T16:10:16.000Z
apps/Viewer/src/Preferences.cpp
asuessenbach/pipeline
2e49968cc3b9948a57f7ee6c4cc3258925c92ab2
[ "BSD-3-Clause" ]
44
2015-01-13T01:19:41.000Z
2022-02-21T21:35:08.000Z
// Copyright (c) 2009-2015, NVIDIA CORPORATION. All rights reserved. // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions // are met: // * Redistributions of source code must retain the above copyright // notice, this list of con...
27.239316
119
0.720427
asuessenbach
09b0ad0b6b27c21c962625822124d58e14ea0684
1,701
cpp
C++
src/main/zsystem/Backtrace.cpp
SLukasDE/zsystem
d75d361e5e0226416d1f143051195a30530bc128
[ "MIT" ]
null
null
null
src/main/zsystem/Backtrace.cpp
SLukasDE/zsystem
d75d361e5e0226416d1f143051195a30530bc128
[ "MIT" ]
null
null
null
src/main/zsystem/Backtrace.cpp
SLukasDE/zsystem
d75d361e5e0226416d1f143051195a30530bc128
[ "MIT" ]
null
null
null
/* MIT License Copyright (c) 2019-2021 Sven Lukas 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,...
31.5
78
0.741329
SLukasDE
09b1d686c973d57dbff589cd1f60935d614eb813
631
cpp
C++
platform/android/CCStorePaymentTransactionWrapper.cpp
kpkhxlgy0/cocos2dh-js
d84f76b505ad0f2fdb799721352a4f510795a096
[ "MIT" ]
2
2017-11-17T02:54:32.000Z
2018-11-26T08:17:23.000Z
platform/android/CCStorePaymentTransactionWrapper.cpp
kpkhxlgy0/cocos2dh-js
d84f76b505ad0f2fdb799721352a4f510795a096
[ "MIT" ]
null
null
null
platform/android/CCStorePaymentTransactionWrapper.cpp
kpkhxlgy0/cocos2dh-js
d84f76b505ad0f2fdb799721352a4f510795a096
[ "MIT" ]
null
null
null
#include "../../quick/store/CCStorePaymentTransactionWrapper.h" // #import <StoreKit/StoreKit.h> NS_CC_H_BEGIN CCStorePaymentTransactionWrapper* CCStorePaymentTransactionWrapper::createWithTransaction(void* transactionObj) { // CCStorePaymentTransactionWrapper* transaction = new CCStorePaymentTransactionWrapper(...
28.681818
111
0.787639
kpkhxlgy0
09b4c813e5c3ad608ea37ed0d4b5b8c93ea9edb8
582
cpp
C++
6 - User defined functions/6.2 - Paramaters/activity/multiple_parameters.cpp
aTonyXiao/Zybook
36cd05a436c6ca007cdd14638cf5ee2a7724b889
[ "MIT" ]
11
2017-11-17T07:31:44.000Z
2020-12-05T14:46:56.000Z
6 - User defined functions/6.2 - Paramaters/activity/multiple_parameters.cpp
aTonyXiao/Zybook
36cd05a436c6ca007cdd14638cf5ee2a7724b889
[ "MIT" ]
null
null
null
6 - User defined functions/6.2 - Paramaters/activity/multiple_parameters.cpp
aTonyXiao/Zybook
36cd05a436c6ca007cdd14638cf5ee2a7724b889
[ "MIT" ]
1
2019-10-15T20:58:51.000Z
2019-10-15T20:58:51.000Z
#include <iostream> /* Modify PrintFace() to have three parameters: char eyeChar, char noseChar, char mouthChar. Call the function with arguments 'o', '*', and '#', which should draw this face: */ using namespace std; void PrintFace(char eye, char nose, char mouth) { // FIXME: Support 3 parameters cout << " " <...
32.333333
171
0.568729
aTonyXiao
09b5be6958269c0c89eb66cd5aa7d56479d2f59a
15,550
cpp
C++
CONTRIB/LLVM/_Demo/Lib_GZ/Gpu/ShaderModel/GzModel/GzShModel.cpp
Cwc-Test/CpcdosOS2.1
d52c170be7f11cc50de38ef536d4355743d21706
[ "Apache-2.0" ]
1
2021-05-05T20:42:24.000Z
2021-05-05T20:42:24.000Z
CONTRIB/LLVM/_Demo/Lib_GZ/Gpu/ShaderModel/GzModel/GzShModel.cpp
Cwc-Test/CpcdosOS2.1
d52c170be7f11cc50de38ef536d4355743d21706
[ "Apache-2.0" ]
null
null
null
CONTRIB/LLVM/_Demo/Lib_GZ/Gpu/ShaderModel/GzModel/GzShModel.cpp
Cwc-Test/CpcdosOS2.1
d52c170be7f11cc50de38ef536d4355743d21706
[ "Apache-2.0" ]
null
null
null
//This file is part of "GZE - GroundZero Engine" //The permisive licence allow to use GZE for free or commercial project (Apache License, Version 2.0). //For conditions of distribution and use, see copyright notice in Licence.txt, this license must be included with any distribution of the code. //Though not required...
51.490066
179
0.668746
Cwc-Test