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
194298e54aeac10a8493562905e9426592ffb067
2,158
cpp
C++
Days 091 - 100/Day 099/LongestSequence.cpp
LucidSigma/Daily-Coding-Problems
21dc8f7e615edd535d7beb1f5d0e41dd3b4bcc1a
[ "MIT" ]
null
null
null
Days 091 - 100/Day 099/LongestSequence.cpp
LucidSigma/Daily-Coding-Problems
21dc8f7e615edd535d7beb1f5d0e41dd3b4bcc1a
[ "MIT" ]
null
null
null
Days 091 - 100/Day 099/LongestSequence.cpp
LucidSigma/Daily-Coding-Problems
21dc8f7e615edd535d7beb1f5d0e41dd3b4bcc1a
[ "MIT" ]
null
null
null
#include <algorithm> #include <cstddef> #include <functional> #include <iostream> #include <iterator> #include <unordered_map> #include <vector> struct Range { int start; int end; Range() noexcept = default; Range(int start, int end) noexcept : start(start), end(end) { } }; template <> struct std::hash<Range...
21.58
131
0.691844
LucidSigma
19434a0c00bc20f96bd4b74cf9856481faa1c72f
1,219
cpp
C++
PAT (Advanced Level) Practice/1153 Decode Registration Card of PAT (25).cpp
vuzway/PAT
5db8ca9295b51ad9e99c815a46e4ac764d7d06c1
[ "MIT" ]
5
2020-02-10T08:26:19.000Z
2020-07-09T00:11:16.000Z
PAT (Advanced Level) Practice/1153 Decode Registration Card of PAT (25).cpp
Assassin2016/zju_data_structures_and_algorithms_in_MOOC
5db8ca9295b51ad9e99c815a46e4ac764d7d06c1
[ "MIT" ]
null
null
null
PAT (Advanced Level) Practice/1153 Decode Registration Card of PAT (25).cpp
Assassin2016/zju_data_structures_and_algorithms_in_MOOC
5db8ca9295b51ad9e99c815a46e4ac764d7d06c1
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <unordered_map> #include <algorithm> using namespace std; struct node { string id; int g; }; bool cmp(const node &a, const node &b) { return a.g != b.g ? a.g > b.g : a.id < b.id; } int main() { int n, k, num; string s; cin >> n >> k; vector<node> v(n); for (int i =...
25.395833
92
0.484003
vuzway
194a13063d656e908e4d4ddc449b5e9d4a57ae90
1,413
cpp
C++
events/create_plane_trigger_event.cpp
canuc/meow-engine
25f5396136d90691e4a4451f382a45da9fdcebc0
[ "BSD-3-Clause" ]
1
2020-01-24T01:14:04.000Z
2020-01-24T01:14:04.000Z
events/create_plane_trigger_event.cpp
canuc/meow-engine
25f5396136d90691e4a4451f382a45da9fdcebc0
[ "BSD-3-Clause" ]
null
null
null
events/create_plane_trigger_event.cpp
canuc/meow-engine
25f5396136d90691e4a4451f382a45da9fdcebc0
[ "BSD-3-Clause" ]
1
2020-06-05T07:00:16.000Z
2020-06-05T07:00:16.000Z
// // Created by julian on 3/30/16. // #include "events/create_plane_trigger_event.h" CreatePlaneTriggerEvent::CreatePlaneTriggerEvent(WorkQueue<LuaEvent> * promiseQueue): LuaPromiseEvent(promiseQueue, CREATE_PLANE_TRIGGER_EVENT_ID, CREATE_PLANE_TRIGGER_EVENT) { }; void CreatePlaneTriggerEvent::readEventData(lua_Sta...
32.860465
115
0.652512
canuc
1950fbf9d2383d5c34cbf772b124bde57828d968
1,220
hpp
C++
src/Shaders/ConeTraceShader.hpp
jaafersheriff/Clouds
00de0a33f6e6fe43c3287de5cba9228c70693110
[ "MIT" ]
6
2019-06-30T20:20:52.000Z
2022-01-07T06:31:18.000Z
src/Shaders/ConeTraceShader.hpp
jaafersheriff/Clouds
00de0a33f6e6fe43c3287de5cba9228c70693110
[ "MIT" ]
null
null
null
src/Shaders/ConeTraceShader.hpp
jaafersheriff/Clouds
00de0a33f6e6fe43c3287de5cba9228c70693110
[ "MIT" ]
3
2020-10-08T16:37:07.000Z
2022-01-07T06:31:22.000Z
#pragma once #ifndef _CONE_TRACE_SHADER_HPP_ #define _CONE_TRACE_SHADER_HPP_ #include "Shader.hpp" #include "CloudVolume.hpp" class ConeTraceShader : public Shader { public: ConeTraceShader(const std::string &r, const std::string &v, const std::string &f); void coneTrace(CloudVolume *); ...
25.957447
90
0.59918
jaafersheriff
19553e616a65ab492fc3c4ba8bf086b8022d5a24
813
cpp
C++
Deitel/Chapter16/examples/16.07/Integer.cpp
SebastianTirado/Cpp-Learning-Archive
fb83379d0cc3f9b2390cef00119464ec946753f4
[ "MIT" ]
19
2019-09-15T12:23:51.000Z
2020-06-18T08:31:26.000Z
Deitel/Chapter16/examples/16.07/Integer.cpp
eirichan/CppLearingArchive
07a4baf63f0765d41eb0cc6d32a4c9d2ae1d5bac
[ "MIT" ]
15
2021-12-07T06:46:03.000Z
2022-01-31T07:55:32.000Z
Deitel/Chapter16/examples/16.07/Integer.cpp
eirichan/CppLearingArchive
07a4baf63f0765d41eb0cc6d32a4c9d2ae1d5bac
[ "MIT" ]
13
2019-06-29T02:58:27.000Z
2020-05-07T08:52:22.000Z
/* * ===================================================================================== * * Filename: * * Description: * * Version: 1.0 * Created: Thanks to github you know it * Revision: none * Compiler: g++ * * Author: Mahmut Erdem ÖZGEN m.erdemozgen...
25.40625
88
0.450185
SebastianTirado
19581a6d361ff29a81886a9f963298482577d540
8,960
cpp
C++
misc/vtk/src/processors/vtkunstructuredgridtorectilineargrid.cpp
JochenJankowai/modules
20c5c2df6af4fe5faaa87a9a61432406a6d750e0
[ "BSD-2-Clause" ]
null
null
null
misc/vtk/src/processors/vtkunstructuredgridtorectilineargrid.cpp
JochenJankowai/modules
20c5c2df6af4fe5faaa87a9a61432406a6d750e0
[ "BSD-2-Clause" ]
null
null
null
misc/vtk/src/processors/vtkunstructuredgridtorectilineargrid.cpp
JochenJankowai/modules
20c5c2df6af4fe5faaa87a9a61432406a6d750e0
[ "BSD-2-Clause" ]
null
null
null
/********************************************************************************* * * Inviwo - Interactive Visualization Workshop * * Copyright (c) 2017-2020 Inviwo Foundation * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided th...
36.129032
97
0.636942
JochenJankowai
195a82fd13fa2b303499d647185f7b5d9a854399
9,902
hpp
C++
third-party/Empirical/include/emp/tools/TypeTracker.hpp
koellingh/empirical-p53-simulator
aa6232f661e8fc65852ab6d3e809339557af521b
[ "MIT" ]
null
null
null
third-party/Empirical/include/emp/tools/TypeTracker.hpp
koellingh/empirical-p53-simulator
aa6232f661e8fc65852ab6d3e809339557af521b
[ "MIT" ]
null
null
null
third-party/Empirical/include/emp/tools/TypeTracker.hpp
koellingh/empirical-p53-simulator
aa6232f661e8fc65852ab6d3e809339557af521b
[ "MIT" ]
null
null
null
/** * @note This file is part of Empirical, https://github.com/devosoft/Empirical * @copyright Copyright (C) Michigan State University, MIT Software license; see doc/LICENSE.md * @date 2016-2018 * * @file TypeTracker.hpp * @brief Track class types abstractly to dynamically call correct function overloads. *...
37.507576
101
0.660675
koellingh
195a934f6a21088d3c3126ef013b810a5ed00544
1,369
cpp
C++
bark/world/evaluation/ltl/evaluator_right_overtake.cpp
GAIL-4-BARK/bark
1cfda9ba6e9ec5318fbf01af6b67c242081b516e
[ "MIT" ]
null
null
null
bark/world/evaluation/ltl/evaluator_right_overtake.cpp
GAIL-4-BARK/bark
1cfda9ba6e9ec5318fbf01af6b67c242081b516e
[ "MIT" ]
null
null
null
bark/world/evaluation/ltl/evaluator_right_overtake.cpp
GAIL-4-BARK/bark
1cfda9ba6e9ec5318fbf01af6b67c242081b516e
[ "MIT" ]
null
null
null
// Copyright (c) 2020 fortiss GmbH // // This work is licensed under the terms of the MIT license. // For a copy, see <https://opensource.org/licenses/MIT>. #include "bark/world/evaluation/ltl/evaluator_right_overtake.hpp" #include "bark/world/evaluation/ltl/label_functions/behind_of_label_function.hpp" #include "bar...
39.114286
85
0.775749
GAIL-4-BARK
195ab728038284f416bbeb584d51a026ec676bd1
1,493
hpp
C++
RSDKv4/Ini.hpp
0xR00KIE/Decomp-for-S1F
c8ffedd211f25bb46803f9d637baf1b1fc635db0
[ "Unlicense" ]
2
2022-01-15T05:05:39.000Z
2022-03-19T07:36:31.000Z
RSDKv4/Ini.hpp
LittlePlanetCD/Decomp-for-S1F
c8ffedd211f25bb46803f9d637baf1b1fc635db0
[ "Unlicense" ]
null
null
null
RSDKv4/Ini.hpp
LittlePlanetCD/Decomp-for-S1F
c8ffedd211f25bb46803f9d637baf1b1fc635db0
[ "Unlicense" ]
null
null
null
#ifndef INI_H #define INI_H class IniParser { public: enum ItemType { INI_ITEM_STRING, INI_ITEM_INT, INI_ITEM_FLOAT, INI_ITEM_BOOL, INI_ITEM_COMMENT, }; struct ConfigItem { ConfigItem() { sprintf(section, "%s", ""); sprintf(ke...
29.86
78
0.607502
0xR00KIE
195c6f8a5950f26994334bb2b5d77f53ea9ad523
1,015
cpp
C++
mmap_demo/main.cpp
xum07/small_demos
8e727cb7e005d7beb998419025cb1d47be9d0399
[ "BSD-3-Clause" ]
null
null
null
mmap_demo/main.cpp
xum07/small_demos
8e727cb7e005d7beb998419025cb1d47be9d0399
[ "BSD-3-Clause" ]
null
null
null
mmap_demo/main.cpp
xum07/small_demos
8e727cb7e005d7beb998419025cb1d47be9d0399
[ "BSD-3-Clause" ]
null
null
null
#include <string> #include <cstring> #include <sys/types.h> #include <sys/stat.h> #include <unistd.h> #include <fcntl.h> #include "mmap_utils.h" #include "utils.h" using std::string; bool WriteInMmap(string content, FileMmap *dstFileMmap) { if (EnlargeFileMmap(dstFileMmap, content.length()) == false) { PR...
24.166667
84
0.652217
xum07
195e399b868f63bf1b547c79b42d50c1adca4145
1,804
cpp
C++
src/windows/DiffWindowRastports.cpp
rosneru/ADiffView
5f7d6cf4c7b5c65ba1221370d272ba12c21f4911
[ "BSD-3-Clause", "MIT" ]
null
null
null
src/windows/DiffWindowRastports.cpp
rosneru/ADiffView
5f7d6cf4c7b5c65ba1221370d272ba12c21f4911
[ "BSD-3-Clause", "MIT" ]
7
2019-02-09T18:27:06.000Z
2021-07-13T09:47:18.000Z
src/windows/DiffWindowRastports.cpp
rosneru/ADiffView
5f7d6cf4c7b5c65ba1221370d272ba12c21f4911
[ "BSD-3-Clause", "MIT" ]
null
null
null
#ifdef __clang__ #include <clib/graphics_protos.h> #else #include <proto/graphics.h> #endif #include "DiffWindowRastports.h" DiffWindowRastports::DiffWindowRastports(struct Window* pIntuiWindow, const ADiffViewPens& pens) { SetAPen(pIntuiWindow->RPort, pens.NormalText()...
21.223529
69
0.748337
rosneru
195fcf5933d162d057aeb703df0b804b5386d481
596
cpp
C++
PXG3D/PXG3D/Subject.cpp
Developer-The-Great/Wooly
31619dec3baa165e7ae2b082aa026a467d1370ab
[ "Apache-2.0" ]
5
2020-02-13T08:54:46.000Z
2021-08-30T05:04:49.000Z
PXG3D/PXG3D/Subject.cpp
Developer-The-Great/Wooly
31619dec3baa165e7ae2b082aa026a467d1370ab
[ "Apache-2.0" ]
1
2020-02-11T11:46:37.000Z
2020-02-11T11:46:37.000Z
PXG3D/PXG3D/Subject.cpp
Developer-The-Great/Wooly
31619dec3baa165e7ae2b082aa026a467d1370ab
[ "Apache-2.0" ]
1
2020-03-19T13:05:22.000Z
2020-03-19T13:05:22.000Z
#include <vector> #include "Subject.h" #include "Subscriber.h" namespace PXG { void subject_base::notify(const event_t e) { for (subscriber_base* view : m_views) { view->onNotify(this, e); } } void subject_base::notifyFirst(const event_t e) { if (!m_views.empty()) m_views.front()->onNotify(this, e); ...
20.551724
61
0.671141
Developer-The-Great
19604b8b4b184db02c3f257f48a48cb8f5a6c3e6
3,322
cpp
C++
tests/depends/mmpa/src/mmpa_stub.cpp
fletcherjiang/ssm-alipay
d7cd911c72c2538859597b9ed3c96d02693febf2
[ "Apache-2.0" ]
169
2021-10-07T03:50:42.000Z
2021-12-20T01:55:51.000Z
tests/depends/mmpa/src/mmpa_stub.cpp
fletcherjiang/ssm-alipay
d7cd911c72c2538859597b9ed3c96d02693febf2
[ "Apache-2.0" ]
11
2021-10-09T01:53:49.000Z
2021-10-09T01:53:49.000Z
tests/depends/mmpa/src/mmpa_stub.cpp
JoeAnimation/ssm-alipay
d7cd911c72c2538859597b9ed3c96d02693febf2
[ "Apache-2.0" ]
56
2021-10-07T03:50:53.000Z
2021-10-12T00:41:59.000Z
/** * Copyright 2019-2020 Huawei Technologies Co., Ltd * * 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 ...
21.712418
105
0.647803
fletcherjiang
1962c69dee531f67c312f6c2ae98d2b023ba966a
13,123
cpp
C++
test/world_tests.cpp
extramask93/RayTracer
ba7f46fb212971e47b296991a7a7e981fef50dda
[ "Unlicense" ]
null
null
null
test/world_tests.cpp
extramask93/RayTracer
ba7f46fb212971e47b296991a7a7e981fef50dda
[ "Unlicense" ]
null
null
null
test/world_tests.cpp
extramask93/RayTracer
ba7f46fb212971e47b296991a7a7e981fef50dda
[ "Unlicense" ]
null
null
null
// // Created by damian on 09.07.2020. // #include <catch2/catch.hpp> #include <world/World.h> #include <lights/PointLight.h> #include <Tuple.h> #include <Color.h> #include <shapes/Sphere.h> #include <misc/Computations.h> #include <misc/Shader.h> #include <shapes/Plane.h> #include <patterns/TestPattern.h> SCENARIO("Cre...
33.648718
114
0.588356
extramask93
196ac2543fd31bd2893b01fa002fadb19cd97a11
1,176
cpp
C++
Recursion 2/checkAB.cpp
PranavDherange/Data_Structures
9962b5145f6b42d9317e2c328c2b3124f028ca70
[ "MIT" ]
2
2021-02-25T11:54:50.000Z
2021-02-25T11:54:54.000Z
Recursion 2/checkAB.cpp
PranavDherange/Data_Structures
9962b5145f6b42d9317e2c328c2b3124f028ca70
[ "MIT" ]
null
null
null
Recursion 2/checkAB.cpp
PranavDherange/Data_Structures
9962b5145f6b42d9317e2c328c2b3124f028ca70
[ "MIT" ]
1
2021-10-03T17:39:10.000Z
2021-10-03T17:39:10.000Z
/*Problem Statement: Check AB Problem Level: MEDIUM Problem Description: Suppose you have a string, S, made up of only 'a's and 'b's. Write a recursive function that checks if the string was generated using the following rules: a. The string begins with an 'a' b. Each 'a' is followed by nothing or an 'a' or "bb" c. Eac...
19.6
154
0.605442
PranavDherange
196b329ba87ccb6226e99712fc9251f0bbd725b7
1,222
cpp
C++
laborator1/problema3/problema3/Source.cpp
aquamineralis/oop-2022
d49475a00cafc2b3b35286e741506341c0ec9702
[ "MIT" ]
null
null
null
laborator1/problema3/problema3/Source.cpp
aquamineralis/oop-2022
d49475a00cafc2b3b35286e741506341c0ec9702
[ "MIT" ]
null
null
null
laborator1/problema3/problema3/Source.cpp
aquamineralis/oop-2022
d49475a00cafc2b3b35286e741506341c0ec9702
[ "MIT" ]
null
null
null
#define _CRT_SECURE_NO_WARNINGS #include <cstdio> #include <cstring> void sortWords(char words[][100], int wordCount) { for (int i = 0; i < wordCount - 1; i++) for (int j = i + 1; j < wordCount; j++) { if (strlen(words[i]) < strlen(words[j])) { char temp[100]; st...
26.565217
62
0.467267
aquamineralis
19742e387c48a7a7b600adf985511a65ee672d5d
141
hpp
C++
libSrc/Color/ColorModule.hpp
burkeac/MPS_Tool_Kit
0da53595118dfbee37c0ec91681fd134b6479264
[ "MIT" ]
null
null
null
libSrc/Color/ColorModule.hpp
burkeac/MPS_Tool_Kit
0da53595118dfbee37c0ec91681fd134b6479264
[ "MIT" ]
1
2020-06-11T20:45:25.000Z
2020-06-11T20:45:25.000Z
libSrc/Color/ColorModule.hpp
burkeac/MPS_Tool_Kit
0da53595118dfbee37c0ec91681fd134b6479264
[ "MIT" ]
null
null
null
// ColorModule.hpp // Adam C. Burke (adam.burke603@gmail.com) // June 1, 2020 #pragma once #include "ColorSpaces.hpp" #include "deltaE.hpp"
17.625
42
0.70922
burkeac
198181b07a5f16250e6cdc50137b942e023ac448
2,679
cpp
C++
test/thread/source/TestThreadThreadPool.cpp
tlzyh/EAThread
b5e246fa86d8de5ddbcdb098df0a75f5e8839f5a
[ "BSD-3-Clause" ]
255
2019-06-11T07:05:51.000Z
2022-03-08T20:35:12.000Z
test/thread/source/TestThreadThreadPool.cpp
tlzyh/EAThread
b5e246fa86d8de5ddbcdb098df0a75f5e8839f5a
[ "BSD-3-Clause" ]
4
2019-08-10T21:35:17.000Z
2021-11-24T10:42:24.000Z
test/thread/source/TestThreadThreadPool.cpp
tlzyh/EAThread
b5e246fa86d8de5ddbcdb098df0a75f5e8839f5a
[ "BSD-3-Clause" ]
75
2019-07-08T00:16:33.000Z
2022-02-25T03:41:13.000Z
/////////////////////////////////////////////////////////////////////////////// // Copyright (c) Electronic Arts Inc. All rights reserved. /////////////////////////////////////////////////////////////////////////////// #include "TestThread.h" #include <EATest/EATest.h> #include <eathread/eathread_pool.h> #include <eat...
26.524752
133
0.677118
tlzyh
198290997275a037c5c00df0f1cd698578d85c99
5,156
hxx
C++
include/usb/platforms/atxmega256a3u/types.hxx
DX-MON/dragonUSB
e3b43d786f767577822ba5e777d01328cd92a80d
[ "BSD-3-Clause" ]
4
2021-06-20T02:20:03.000Z
2021-12-30T01:43:02.000Z
include/usb/platforms/atxmega256a3u/types.hxx
DX-MON/dragonUSB
e3b43d786f767577822ba5e777d01328cd92a80d
[ "BSD-3-Clause" ]
null
null
null
include/usb/platforms/atxmega256a3u/types.hxx
DX-MON/dragonUSB
e3b43d786f767577822ba5e777d01328cd92a80d
[ "BSD-3-Clause" ]
null
null
null
// SPDX-License-Identifier: BSD-3-Clause #ifndef USB_PLATFORMS_ATXMEGA256A3U_TYPES___HXX #define USB_PLATFORMS_ATXMEGA256A3U_TYPES___HXX #include <flash.hxx> #include "usb/descriptors.hxx" template<> struct flash_t<usb::descriptors::usbMultiPartDesc_t> final { private: using T = usb::descriptors::usbMultiPartDesc_t;...
27.72043
92
0.703064
DX-MON
1987e86ba760ec306b0a117367a42b8d081b7393
745
cpp
C++
src/util/tests/get_matches.t.cpp
cmburn/ope-c
208b2911ed0b7ffc0209bb4d5f9169a32e5433d8
[ "0BSD" ]
null
null
null
src/util/tests/get_matches.t.cpp
cmburn/ope-c
208b2911ed0b7ffc0209bb4d5f9169a32e5433d8
[ "0BSD" ]
null
null
null
src/util/tests/get_matches.t.cpp
cmburn/ope-c
208b2911ed0b7ffc0209bb4d5f9169a32e5433d8
[ "0BSD" ]
null
null
null
/* -*- mode: c++; c-default-style: "bsd"; -*- */ /* Copyright (c) 2020-2022 Charlie Burnett <burne251@umn.edu> */ /* SPDX-License-Identifier: ISC OR Apache-2.0 */ #include <gtest/gtest.h> #include "../util_hidden.h" TEST(get_matches, word) { auto m = ope::get_matches("foo", "foo"); auto count = ope::matches_get_co...
26.607143
64
0.66443
cmburn
198973e29154634e3d2bf173f4641b8078942af0
281
cpp
C++
learnQtCreator/MathFunctions/MathFunctions.cpp
BigWhiteCat/Qt-QML
7d601721db535167ea257e8baffc1de83cc0aa15
[ "MIT" ]
null
null
null
learnQtCreator/MathFunctions/MathFunctions.cpp
BigWhiteCat/Qt-QML
7d601721db535167ea257e8baffc1de83cc0aa15
[ "MIT" ]
null
null
null
learnQtCreator/MathFunctions/MathFunctions.cpp
BigWhiteCat/Qt-QML
7d601721db535167ea257e8baffc1de83cc0aa15
[ "MIT" ]
null
null
null
#include "MathFunctions.h" MathFunctions::MathFunctions() { } unsigned long MathFunctions::factorial(unsigned int n) { switch (n) { case 0: return 0; case 1: return 1; default: return n * factorial(n - 1); } }
17.5625
56
0.530249
BigWhiteCat
19897cab7eee829a1322b1590b14289e163be31e
51
hpp
C++
src/boost_thread_win32_interlocked_read.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
10
2018-03-17T00:58:42.000Z
2021-07-06T02:48:49.000Z
src/boost_thread_win32_interlocked_read.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
2
2021-03-26T15:17:35.000Z
2021-05-20T23:55:08.000Z
src/boost_thread_win32_interlocked_read.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
4
2019-05-28T21:06:37.000Z
2021-07-06T03:06:52.000Z
#include <boost/thread/win32/interlocked_read.hpp>
25.5
50
0.823529
miathedev
1989dbb700696524f4dedb864728d15573c38b09
3,288
cpp
C++
src/swift2d/gui/FullscreenGuiSpriteComponent.cpp
Simmesimme/swift2d
147a862208dee56f972361b5325009e020124137
[ "MIT" ]
null
null
null
src/swift2d/gui/FullscreenGuiSpriteComponent.cpp
Simmesimme/swift2d
147a862208dee56f972361b5325009e020124137
[ "MIT" ]
null
null
null
src/swift2d/gui/FullscreenGuiSpriteComponent.cpp
Simmesimme/swift2d
147a862208dee56f972361b5325009e020124137
[ "MIT" ]
null
null
null
//////////////////////////////////////////////////////////////////////////////// // // // This file is part of Swift2D. // // ...
36.94382
99
0.438564
Simmesimme
1989f9b5367e69ac41824af574e22b4cbbb9d21a
436
hpp
C++
TCCore/QuickGraphCut.hpp
SeaTurtle22/TinyCrayon-iOS-SDK
729c182c282c72d408902e4dd092b464e4904aed
[ "MIT" ]
null
null
null
TCCore/QuickGraphCut.hpp
SeaTurtle22/TinyCrayon-iOS-SDK
729c182c282c72d408902e4dd092b464e4904aed
[ "MIT" ]
null
null
null
TCCore/QuickGraphCut.hpp
SeaTurtle22/TinyCrayon-iOS-SDK
729c182c282c72d408902e4dd092b464e4904aed
[ "MIT" ]
null
null
null
// // QuickGraphCut.hpp // TinyCrayon // // Created by Xin Zeng on 11/14/15. // Copyright © 2015 Xin Zeng. All rights reserved. // #ifndef QuickGraphCut_hpp #define QuickGraphCut_hpp #import <opencv2/opencv.hpp> #import <opencv2/imgproc/imgproc_c.h> #include <stdio.h> #include "FGMM.hpp" #include "FGCGraph.hpp" ...
18.166667
61
0.722477
SeaTurtle22
198b4afac7899caee79a88cdfa8cc53a45018d49
433
cpp
C++
Engine/02_system/04_render/02_GL/01_Objects/GL_VBO.cpp
TB989/Fierce-Engine
4fa97b55fafdf97ee0b9eb72203425490b7a01c5
[ "Apache-2.0" ]
null
null
null
Engine/02_system/04_render/02_GL/01_Objects/GL_VBO.cpp
TB989/Fierce-Engine
4fa97b55fafdf97ee0b9eb72203425490b7a01c5
[ "Apache-2.0" ]
43
2020-03-01T12:55:12.000Z
2021-07-10T20:51:23.000Z
Engine/02_system/04_render/02_GL/01_Objects/GL_VBO.cpp
TB989/Fierce-Engine
4fa97b55fafdf97ee0b9eb72203425490b7a01c5
[ "Apache-2.0" ]
null
null
null
#include "GL_VBO.h" GL_VBO::GL_VBO(GLenum type){ m_type = type; glGenBuffers(1, &m_id); } GL_VBO::~GL_VBO(){ glDeleteBuffers(1, &m_id); } void GL_VBO::bind(){ glBindBuffer(m_type, m_id); } void GL_VBO::unbind(){ glBindBuffer(m_type, 0); } void GL_VBO::loadData(GLsizeiptr size,const void *data,GLenum usage){ ...
17.32
69
0.702079
TB989
198e588d41158b856f1489777ad472beb9cdf55d
546
hpp
C++
library/ATF/$CE1967C81C4C59269727E4AA1D2A6A5A.hpp
lemkova/Yorozuya
f445d800078d9aba5de28f122cedfa03f26a38e4
[ "MIT" ]
29
2017-07-01T23:08:31.000Z
2022-02-19T10:22:45.000Z
library/ATF/$CE1967C81C4C59269727E4AA1D2A6A5A.hpp
kotopes/Yorozuya
605c97d3a627a8f6545cc09f2a1b0a8afdedd33a
[ "MIT" ]
90
2017-10-18T21:24:51.000Z
2019-06-06T02:30:33.000Z
library/ATF/$CE1967C81C4C59269727E4AA1D2A6A5A.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 <HBITMAP__.hpp> #include <HENHMETAFILE__.hpp> #include <IStorage.hpp> #include <IStream.hpp> START_ATF_NAMESPACE union $CE1967C81C4C59269727E4AA1D2A6A5A ...
22.75
108
0.692308
lemkova
19904b9a8cd3973ba4571a40c3f1bf13c35789f5
7,423
cpp
C++
sources/HybridDetector/VectorClock.cpp
onderkalaci/dyndatarace
8e916b11d2d4f6d812d4b0c5a2616387be4d6572
[ "Intel" ]
6
2018-01-11T01:47:01.000Z
2022-03-08T16:22:59.000Z
sources/HybridDetector/VectorClock.cpp
chakku000/dyndatarace
8e916b11d2d4f6d812d4b0c5a2616387be4d6572
[ "Intel" ]
1
2018-01-11T02:36:09.000Z
2018-01-12T03:32:41.000Z
sources/HybridDetector/VectorClock.cpp
chakku000/dyndatarace
8e916b11d2d4f6d812d4b0c5a2616387be4d6572
[ "Intel" ]
2
2018-01-15T02:37:50.000Z
2021-03-21T14:53:44.000Z
# # +--------------------------------------------------------------------------+ # |Copyright (C) 2014 Bogazici University | # | onderkalaci@gmail.com | # | | #...
25.596552
177
0.637748
onderkalaci
1997f42758e867ce0c0d2f335681b590126ab221
1,315
cpp
C++
main.cpp
sl1pkn07/Phonon_Tester
05d3cf8f5ff4329234430f3cd925407d08d4539d
[ "BSD-3-Clause" ]
null
null
null
main.cpp
sl1pkn07/Phonon_Tester
05d3cf8f5ff4329234430f3cd925407d08d4539d
[ "BSD-3-Clause" ]
null
null
null
main.cpp
sl1pkn07/Phonon_Tester
05d3cf8f5ff4329234430f3cd925407d08d4539d
[ "BSD-3-Clause" ]
null
null
null
#include <QApplication> #include <QCommandLineParser> #include <KAboutData> #include <KLocalizedString> #include "mainwindow.h" int main(int argc, char *argv[]) { QApplication app(argc, argv); KAboutData aboutData(QStringLiteral("PhononTester"), i18n("Phonon Tester. only Audio"), QStringLiteral("1.0"), ...
33.717949
114
0.612928
sl1pkn07
1998d5e4732f34012af5d1f223cf638c6cb4efa5
13,103
cpp
C++
clientwidget.cpp
GiadaTrevisani/SimpleBusinessManager
dec23378faffd4390befecfd52df8103a78b8523
[ "MIT" ]
2
2018-10-09T19:55:59.000Z
2019-05-10T09:11:51.000Z
clientwidget.cpp
GiadaTrevisani/SimpleBusinessManager
dec23378faffd4390befecfd52df8103a78b8523
[ "MIT" ]
null
null
null
clientwidget.cpp
GiadaTrevisani/SimpleBusinessManager
dec23378faffd4390befecfd52df8103a78b8523
[ "MIT" ]
null
null
null
#include "clientwidget.h" ClientWidget::ClientWidget(QWidget *parent) : QWidget(parent) { /* * in questa classe creiamo la window principale dei clienti, dove io mi trovo una line edit cerca * dove inserendo dei caratteri, con il connect posso cercarli dentro il mio database (guarda query * nel meto...
37.11898
135
0.695184
GiadaTrevisani
199b2ee2d0b1ca5a8f0de768563cafe1fa6586ba
758
cpp
C++
Tools/GUILayer/Exceptions.cpp
alexgithubber/XLE-Another-Fork
cdd8682367d9e9fdbdda9f79d72bb5b1499cec46
[ "MIT" ]
3
2015-12-04T09:16:53.000Z
2021-05-28T23:22:49.000Z
Tools/GUILayer/Exceptions.cpp
alexgithubber/XLE-Another-Fork
cdd8682367d9e9fdbdda9f79d72bb5b1499cec46
[ "MIT" ]
null
null
null
Tools/GUILayer/Exceptions.cpp
alexgithubber/XLE-Another-Fork
cdd8682367d9e9fdbdda9f79d72bb5b1499cec46
[ "MIT" ]
2
2015-03-03T05:32:39.000Z
2015-12-04T09:16:54.000Z
// Copyright 2016 XLGAMES Inc. // // Distributed under the MIT License (See // accompanying file "LICENSE" or the website // http://www.opensource.org/licenses/mit-license.php) #include "Exceptions.h" #include "MarshalString.h" namespace GUILayer { System::Exception^ Marshal(const std::exception& e) { // note -- ...
31.583333
78
0.717678
alexgithubber
199d531524e20a4527e18545073a1b33d1b12d03
3,860
cpp
C++
src/ui/models/preferred_draw_systems_model.cpp
svendcsvendsen/judoassistant
453211bff86d940c2b2de6f9eea2aabcdab830fa
[ "MIT" ]
3
2019-04-26T17:48:24.000Z
2021-11-08T20:21:51.000Z
src/ui/models/preferred_draw_systems_model.cpp
svendcsvendsen/judoassistant
453211bff86d940c2b2de6f9eea2aabcdab830fa
[ "MIT" ]
90
2019-04-25T17:23:10.000Z
2022-02-12T19:49:55.000Z
src/ui/models/preferred_draw_systems_model.cpp
judoassistant/judoassistant
3b200d3e35d9aff16ba224e6071ee9d888a5a03c
[ "MIT" ]
null
null
null
#include "core/actions/change_draw_system_preference_identifier_action.hpp" #include "core/actions/change_draw_system_preference_limit_action.hpp" #include "ui/models/preferred_draw_systems_model.hpp" #include "ui/store_managers/store_manager.hpp" PreferredDrawSystemsModel::PreferredDrawSystemsModel(StoreManager &stor...
34.159292
136
0.683161
svendcsvendsen
19a0ad22386a642f275d2162f242effabe52ccd4
6,348
hpp
C++
emulador/src/common/nullpo.hpp
dattebayoonline/Dattebayo
09526566f63e76b9a5ce80f1f4e3d1918e26cf01
[ "DOC", "OLDAP-2.2.1" ]
1
2022-03-24T17:24:12.000Z
2022-03-24T17:24:12.000Z
emulador/src/common/nullpo.hpp
eluvju/Dattebayo
cc0fc92d8827f4890a8595bc3be0a71ef98767c1
[ "DOC" ]
null
null
null
emulador/src/common/nullpo.hpp
eluvju/Dattebayo
cc0fc92d8827f4890a8595bc3be0a71ef98767c1
[ "DOC" ]
null
null
null
// Copyright (c) rAthena Dev Teams - Licensed under GNU GPL // For more information, see LICENCE in the main folder #ifndef NULLPO_HPP #define NULLPO_HPP #include "cbasetypes.hpp" #define NLP_MARK __FILE__, __LINE__, __func__ // enabled by default on debug builds #if defined(DEBUG) && !defined(NULLPO_CHECK) #define...
30.085308
91
0.677221
dattebayoonline
19a133af76a8be3020aee1042c49c8cf79eb7377
1,910
cpp
C++
SDL2_Wrapper/Scene.cpp
andywm/Scenegraph-Demo
5d8a2904d36f4532aa4a0299b6d3e7a4812cae6d
[ "MIT" ]
null
null
null
SDL2_Wrapper/Scene.cpp
andywm/Scenegraph-Demo
5d8a2904d36f4532aa4a0299b6d3e7a4812cae6d
[ "MIT" ]
null
null
null
SDL2_Wrapper/Scene.cpp
andywm/Scenegraph-Demo
5d8a2904d36f4532aa4a0299b6d3e7a4812cae6d
[ "MIT" ]
null
null
null
#include <memory> #include <glm\glm.hpp> #include "Scene.h" namespace Render { namespace Scene { Scene::Scene() : mBackground(glm::vec4(0.5f,0.5f,0.5f, 1.0f)), mSceneRoot(new Graph::Group), mActiveCamera(0), mSpecialRenderMode(false), mShowStatistics(true) {} std::shared_ptr<Environment::Obj...
21.222222
69
0.64555
andywm
19a72e251ec8eb364caa14debb9fbbcd17979621
2,155
cpp
C++
Capilto_2/client_proj/client/source/main.cpp
dedogames/Curso_de_BoostAsio
3e9d9eb14136ef2f07c2d99ca476211c280f3f0a
[ "MIT" ]
2
2020-09-15T18:56:27.000Z
2021-01-06T23:45:20.000Z
Capilto_2/client_proj/client/source/main.cpp
dedogames/Curso_de_BoostAsio
3e9d9eb14136ef2f07c2d99ca476211c280f3f0a
[ "MIT" ]
null
null
null
Capilto_2/client_proj/client/source/main.cpp
dedogames/Curso_de_BoostAsio
3e9d9eb14136ef2f07c2d99ca476211c280f3f0a
[ "MIT" ]
null
null
null
// // main.cpp // ~~~~~~~~~~~~~~~~~~~~~~~~ // // Developer: Gelson Rodrigues // geoldery@gmail.com // // Very simple client // // Basically , this app connects to a server // and print on screen one trade #include <boost/asio.hpp> #include <iostream> using namespace boost; std::string name; class Server { public:...
18.903509
87
0.642227
dedogames
19aaaf0ece5c8cb08b45bf48b8852e0db203c6c0
3,936
hpp
C++
packages/utility/core/src/Utility_ComparisonTraitsHelpers.hpp
bam241/FRENSIE
e1760cd792928699c84f2bdce70ff54228e88094
[ "BSD-3-Clause" ]
10
2019-11-14T19:58:30.000Z
2021-04-04T17:44:09.000Z
packages/utility/core/src/Utility_ComparisonTraitsHelpers.hpp
bam241/FRENSIE
e1760cd792928699c84f2bdce70ff54228e88094
[ "BSD-3-Clause" ]
43
2020-03-03T19:59:20.000Z
2021-09-08T03:36:08.000Z
packages/utility/core/src/Utility_ComparisonTraitsHelpers.hpp
bam241/FRENSIE
e1760cd792928699c84f2bdce70ff54228e88094
[ "BSD-3-Clause" ]
6
2020-02-12T17:37:07.000Z
2020-09-08T18:59:51.000Z
//---------------------------------------------------------------------------// //! //! \file Utility_ComparisonTraitsHelpers.hpp //! \author Alex Robinson //! \brief The comparison traits helper methods/classes declarations //! //---------------------------------------------------------------------------// #ifndef...
34.831858
147
0.573933
bam241
19acbd99e072306c1706abf3043d4c88e4415f1f
1,080
cpp
C++
gfx/gfx_colour_effect.cpp
astrellon/Rouge
088f55b331284238e807e0562b9cbbed6428c20f
[ "MIT" ]
null
null
null
gfx/gfx_colour_effect.cpp
astrellon/Rouge
088f55b331284238e807e0562b9cbbed6428c20f
[ "MIT" ]
null
null
null
gfx/gfx_colour_effect.cpp
astrellon/Rouge
088f55b331284238e807e0562b9cbbed6428c20f
[ "MIT" ]
null
null
null
#include "gfx_colour_effect.h" #include "gfx_renderable.h" namespace am { namespace gfx { ColourEffect::ColourEffect() : Effect() { } ColourEffect::ColourEffect(float effectLength, const util::Colour &startColour, const util::Colour &endColour) : Effect(effectLength), mStartColour(startColour), mEndColou...
17.419355
113
0.710185
astrellon
30ad224bb6533eed14a0295a15c4805d39723d48
212
cpp
C++
Codechef add two nos.cpp
zoya-0509/Practice-codes
4d71b1b004f309025c215e55a504c7817b00e8c9
[ "MIT" ]
null
null
null
Codechef add two nos.cpp
zoya-0509/Practice-codes
4d71b1b004f309025c215e55a504c7817b00e8c9
[ "MIT" ]
null
null
null
Codechef add two nos.cpp
zoya-0509/Practice-codes
4d71b1b004f309025c215e55a504c7817b00e8c9
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; int main() { long long int T,A,B; cin>>T; while (T--){ cin>>A; cin>>B; cout<<A+B<<"\n"; } return 0; }
16.307692
28
0.40566
zoya-0509
30b4503b472fd0207c4bb53fa64bdc0fdbaa700b
4,602
cpp
C++
sta-src/Astro-Core/propagateTHREEbody.cpp
hoehnp/SpaceDesignTool
9abd34048274b2ce9dbbb685124177b02d6a34ca
[ "IJG" ]
6
2018-09-05T12:41:59.000Z
2021-07-01T05:34:23.000Z
sta-src/Astro-Core/propagateTHREEbody.cpp
hoehnp/SpaceDesignTool
9abd34048274b2ce9dbbb685124177b02d6a34ca
[ "IJG" ]
2
2015-02-07T19:09:21.000Z
2015-08-14T03:15:42.000Z
sta-src/Astro-Core/propagateTHREEbody.cpp
hoehnp/SpaceDesignTool
9abd34048274b2ce9dbbb685124177b02d6a34ca
[ "IJG" ]
2
2015-03-25T15:50:31.000Z
2017-12-06T12:16:47.000Z
/* This program is free software; you can redistribute it and/or modify it under the terms of the European Union Public Licence - EUPL v.1.1 as published by the European Commission. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of...
38.672269
165
0.538896
hoehnp
30b501048b7b0cd47fa3324c0d6a7690482e8eda
1,172
cpp
C++
Simplify Path.cpp
durgirajesh/Leetcode
18b11cd90e8a5ce33f4029d5b7edf9502273bc76
[ "MIT" ]
2
2020-06-25T12:46:13.000Z
2021-07-06T06:34:33.000Z
Simplify Path.cpp
durgirajesh/Leetcode
18b11cd90e8a5ce33f4029d5b7edf9502273bc76
[ "MIT" ]
null
null
null
Simplify Path.cpp
durgirajesh/Leetcode
18b11cd90e8a5ce33f4029d5b7edf9502273bc76
[ "MIT" ]
null
null
null
class Solution { public: string simplifyPath(string path) { int l=path.length(); stack<string> vec; string res; res.append("/"); for(int i=0;i<l;i++){ string str; while(path[i]=='/'){ i++; } ...
22.538462
51
0.294369
durgirajesh
30be0ac22e9980e75f716c650f65ac75a19b8e74
7,223
cpp
C++
lib/circular_buffer.cpp
guruofquality/gras
a93956bfc9884f9a1c53a16e12cd7e7cd86584c4
[ "BSL-1.0" ]
9
2015-07-24T15:10:14.000Z
2021-11-08T13:18:20.000Z
lib/circular_buffer.cpp
guruofquality/gras
a93956bfc9884f9a1c53a16e12cd7e7cd86584c4
[ "BSL-1.0" ]
3
2015-02-02T01:57:26.000Z
2018-07-20T04:52:09.000Z
lib/circular_buffer.cpp
guruofquality/gras
a93956bfc9884f9a1c53a16e12cd7e7cd86584c4
[ "BSL-1.0" ]
4
2015-01-12T23:12:49.000Z
2021-09-23T18:10:58.000Z
// Copyright (C) by Josh Blum. See LICENSE.txt for licensing information. #include <gras/buffer_queue.hpp> #include <gras_impl/debug.hpp> #include <boost/format.hpp> #include <boost/bind.hpp> #include <boost/interprocess/shared_memory_object.hpp> #include <boost/interprocess/anonymous_shared_memory.hpp> #include <boos...
34.232227
103
0.574969
guruofquality
30c54f0e0d93780f939d237b0eeb7a2547864237
1,710
cpp
C++
src/kriti/render/TextureContext.cpp
etherealvisage/kriti
6397c4d20331d9f5ce07460df08bbac9653ffa8b
[ "BSD-3-Clause" ]
2
2015-10-05T19:33:19.000Z
2015-12-08T08:39:17.000Z
src/kriti/render/TextureContext.cpp
etherealvisage/kriti
6397c4d20331d9f5ce07460df08bbac9653ffa8b
[ "BSD-3-Clause" ]
1
2017-04-30T16:26:08.000Z
2017-05-01T03:00:42.000Z
src/kriti/render/TextureContext.cpp
etherealvisage/kriti
6397c4d20331d9f5ce07460df08bbac9653ffa8b
[ "BSD-3-Clause" ]
null
null
null
#include "../ogl.h" #include "TextureContext.h" #include "Texture.h" #include "ErrorTracker.h" #include "../MessageSystem.h" namespace Kriti { namespace Render { TextureContext::TextureContext() { ErrorTracker::trackFrom("Texture context constructor (before all)"); GLint count; gl::GetIntegerv(gl::MAX_C...
27.142857
79
0.629825
etherealvisage
30c7a67f6c1a892da13fe734de6313beb2f54544
10,314
cpp
C++
src/uFldFlagManagerAgent/FlagManager_Info.cpp
Joe-Doyle/moos-ivp-agent
164d590808bcac6242dd22d1f25aa4248f7d9c2d
[ "MIT" ]
1
2021-11-22T00:20:18.000Z
2021-11-22T00:20:18.000Z
src/uFldFlagManagerAgent/FlagManager_Info.cpp
Joe-Doyle/moos-ivp-agent
164d590808bcac6242dd22d1f25aa4248f7d9c2d
[ "MIT" ]
15
2021-08-09T05:38:26.000Z
2021-11-11T17:16:48.000Z
src/uFldFlagManagerAgent/FlagManager_Info.cpp
Joe-Doyle/moos-ivp-agent
164d590808bcac6242dd22d1f25aa4248f7d9c2d
[ "MIT" ]
3
2021-08-09T23:55:51.000Z
2021-11-11T01:29:37.000Z
/************************************************************/ /* NAME: Mike Benjamin */ /* ORGN: Dept of Mechanical Eng / CSAIL, MIT Cambridge MA */ /* FILE: FlagManager.h */ /* DATE: August 18th, 2015 */ /****...
56.983425
74
0.32897
Joe-Doyle
30e39d01885554d0ffddf52b0d4d09b80f58ae06
1,548
cpp
C++
bench/cpp/msp430_mpsoc3d_testbench.cpp
PacoReinaCampo/MPSoC-MSP430
f07e3d20d4f63163e00e56d14e516341aaaec2c3
[ "MIT" ]
1
2020-02-14T00:23:08.000Z
2020-02-14T00:23:08.000Z
bench/cpp/msp430_mpsoc3d_testbench.cpp
PacoReinaCampo/MPSoC-MSP430
f07e3d20d4f63163e00e56d14e516341aaaec2c3
[ "MIT" ]
null
null
null
bench/cpp/msp430_mpsoc3d_testbench.cpp
PacoReinaCampo/MPSoC-MSP430
f07e3d20d4f63163e00e56d14e516341aaaec2c3
[ "MIT" ]
1
2021-08-08T01:07:04.000Z
2021-08-08T01:07:04.000Z
#include "Vmsp430_mpsoc3d_testbench__Syms.h" #include "Vmsp430_mpsoc3d_testbench__Dpi.h" #include <VerilatedToplevel.h> #include <VerilatedControl.h> #include <ctime> #include <cstdlib> using namespace simutilVerilator; VERILATED_TOPLEVEL(msp430_mpsoc3d_testbench, clk, rst) int main(int argc, char *argv[]) { m...
45.529412
124
0.799742
PacoReinaCampo
30e3f3b662760b449570be52a639f02d5bd83b7d
624
cpp
C++
C语言程序设计基础/空心数字梯形.cpp
xiabee/BIT-CS
5d8d8331e6b9588773991a872c259e430ef1eae1
[ "Apache-2.0" ]
63
2021-01-10T02:32:17.000Z
2022-03-30T04:08:38.000Z
C语言程序设计基础/空心数字梯形.cpp
xiabee/BIT-CS
5d8d8331e6b9588773991a872c259e430ef1eae1
[ "Apache-2.0" ]
2
2021-06-09T05:38:58.000Z
2021-12-14T13:53:54.000Z
C语言程序设计基础/空心数字梯形.cpp
xiabee/BIT-CS
5d8d8331e6b9588773991a872c259e430ef1eae1
[ "Apache-2.0" ]
20
2021-01-12T11:49:36.000Z
2022-03-26T11:04:58.000Z
#include<stdio.h> int main() { int c,m,i,j; scanf("%d %d",&c,&m); if(c==1) { printf("%d",m); return 0; }else { for(i=1;i<=c;++i) { for(j=1;j<=i-1;++j) printf(" "); if(i==1) { for(int k=1;k<=(3*c-2+1)/2;++k) printf("%d",(m+k-1)%10); for(int k=(3*c-2)/2;k>=1;--k) printf("%d",(m+k-1)%...
18.909091
35
0.407051
xiabee
30ebf5de6a62c5a444303f0b68ffce01e7ca9262
11,258
cpp
C++
src/core/FrameBuffer.cpp
Guarneri1743/SoftRasterizer
d7a7344e43d91ce575724cc1d121551e6008dc01
[ "MIT" ]
4
2020-12-14T10:58:35.000Z
2020-12-14T16:38:18.000Z
src/core/FrameBuffer.cpp
J-Mat/CPU-Rasterizer
d7a7344e43d91ce575724cc1d121551e6008dc01
[ "MIT" ]
null
null
null
src/core/FrameBuffer.cpp
J-Mat/CPU-Rasterizer
d7a7344e43d91ce575724cc1d121551e6008dc01
[ "MIT" ]
null
null
null
#include "FrameBuffer.hpp" #include <execution> #include <algorithm> #include "ImageUtil.hpp" namespace CpuRasterizer { FrameBuffer::FrameBuffer(size_t w, size_t h, FrameContent flag) : content_flag(flag), width(w), height(h), filtering(Filtering::kBilinear) { clear_color = {0, 0, 0, 0}; resize(w, h); } ...
23.454167
103
0.660952
Guarneri1743
30f0dcdef28adf527912edefc649bbf4f583e06f
20,024
cpp
C++
src/Extensions/Classifiers/Barbedo/Barbedo.cpp
berkus/music-cs
099b66cb1285d19955e953f916ec6c12c68f2242
[ "MIT" ]
null
null
null
src/Extensions/Classifiers/Barbedo/Barbedo.cpp
berkus/music-cs
099b66cb1285d19955e953f916ec6c12c68f2242
[ "MIT" ]
null
null
null
src/Extensions/Classifiers/Barbedo/Barbedo.cpp
berkus/music-cs
099b66cb1285d19955e953f916ec6c12c68f2242
[ "MIT" ]
null
null
null
// Copyright (c) 2008-2009 Marcos José Sant'Anna Magalhães // // 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,...
24.782178
135
0.593987
berkus
30f275533249e72683f36cb31fd296adfbe3a36b
757
cc
C++
constructs/test/epsilon_greedy_test.cc
shrenikm/Mnyrve
6e0f41adfc9665ab4b516db73fa64a236e684c71
[ "MIT" ]
null
null
null
constructs/test/epsilon_greedy_test.cc
shrenikm/Mnyrve
6e0f41adfc9665ab4b516db73fa64a236e684c71
[ "MIT" ]
2
2018-11-04T07:01:20.000Z
2018-11-17T07:40:19.000Z
constructs/test/epsilon_greedy_test.cc
shrenikm/Mnyrve
6e0f41adfc9665ab4b516db73fa64a236e684c71
[ "MIT" ]
null
null
null
#include "gtest/gtest.h" #include "constructs/include/epsilon_greedy.h" namespace { using mnyrve::constructs::EpsilonGreedy; class EpsilonGreedyTest : public ::testing::Test { protected: EpsilonGreedyTest() { } void SetUp() override { } EpsilonGreedy eg1_{EpsilonGreedy(0.1)}; }; TEST_F(E...
14.283019
50
0.689564
shrenikm
30fdfbe180020d573ee8bd25a1cc2e17914a6d7d
8,346
cpp
C++
PsgDBUtils/PsgDBUSpecFldEdt.cpp
rs0h/PostGISGDO
abf980569b703e80567b43817ea1d79fdee626e9
[ "Apache-2.0" ]
null
null
null
PsgDBUtils/PsgDBUSpecFldEdt.cpp
rs0h/PostGISGDO
abf980569b703e80567b43817ea1d79fdee626e9
[ "Apache-2.0" ]
null
null
null
PsgDBUtils/PsgDBUSpecFldEdt.cpp
rs0h/PostGISGDO
abf980569b703e80567b43817ea1d79fdee626e9
[ "Apache-2.0" ]
null
null
null
// Copyright 2013 Intergraph Corporation // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable l...
28.195946
82
0.58531
rs0h
a500aa849dcb041a1252635160e7c55c72029d92
3,004
cpp
C++
src/dataset.cpp
ifilot/neuralnetworkdemo
bd8ade34baee843df00aa88ece5de8db1c199253
[ "MIT" ]
1
2019-07-28T20:12:38.000Z
2019-07-28T20:12:38.000Z
src/dataset.cpp
ifilot/neuralnetworkdemo
bd8ade34baee843df00aa88ece5de8db1c199253
[ "MIT" ]
null
null
null
src/dataset.cpp
ifilot/neuralnetworkdemo
bd8ade34baee843df00aa88ece5de8db1c199253
[ "MIT" ]
1
2019-07-28T20:12:39.000Z
2019-07-28T20:12:39.000Z
/************************************************************************************ * This file is part of neuralnetworkdemo. * * https://github.com/ifilot/neuralnetworkdemo * * ...
63.914894
107
0.478695
ifilot
a501858abeb4fad7fcbc4efacf707fde2c1e9850
9,695
cpp
C++
thirdparty/AngelCode/sdk/tests/test_feature/source/test_constobject.cpp
kcat/XLEngine
0e735ad67fa40632add3872e0cbe5a244689cbe5
[ "MIT" ]
1
2021-07-25T15:10:39.000Z
2021-07-25T15:10:39.000Z
thirdparty/AngelCode/sdk/tests/test_feature/source/test_constobject.cpp
kcat/XLEngine
0e735ad67fa40632add3872e0cbe5a244689cbe5
[ "MIT" ]
null
null
null
thirdparty/AngelCode/sdk/tests/test_feature/source/test_constobject.cpp
kcat/XLEngine
0e735ad67fa40632add3872e0cbe5a244689cbe5
[ "MIT" ]
null
null
null
#include "utils.h" namespace TestConstObject { #define TESTNAME "TestConstObject" static const char *script2 = "const string URL_SITE = \"http://www.sharkbaitgames.com\"; \n" "const string URL_GET_HISCORES = URL_SITE + \"/get_hiscores.php\"; \n" "const string URL_CAN_SUBMIT_...
38.78
176
0.6164
kcat
a503dc8f20bd4d662af0e069d2cf35cc7afd093d
2,461
hpp
C++
src/uhs/atomizer/watchtower/controller.hpp
JonWiggins/opencbdc-tx
628dfb9487390bd6a2a520645cbc5a1aaca06eac
[ "MIT" ]
null
null
null
src/uhs/atomizer/watchtower/controller.hpp
JonWiggins/opencbdc-tx
628dfb9487390bd6a2a520645cbc5a1aaca06eac
[ "MIT" ]
null
null
null
src/uhs/atomizer/watchtower/controller.hpp
JonWiggins/opencbdc-tx
628dfb9487390bd6a2a520645cbc5a1aaca06eac
[ "MIT" ]
null
null
null
// Copyright (c) 2021 MIT Digital Currency Initiative, // Federal Reserve Bank of Boston // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef OPENCBDC_TX_SRC_WATCHTOWER_CONTROLLER_H_ #define OPENCBDC_TX_SRC...
35.157143
70
0.667208
JonWiggins
a511d94e171c69837a8206f11ffbf82243384e79
43,768
cpp
C++
src/modules/devices/sy_devices.cpp
oyranos-cms/Synnefo
ca6b8cd7055b47fc64182a4e0d1a6dcf54781fe5
[ "BSD-2-Clause" ]
4
2015-04-26T19:38:56.000Z
2018-03-02T09:02:27.000Z
src/modules/devices/sy_devices.cpp
oyranos-cms/Synnefo
ca6b8cd7055b47fc64182a4e0d1a6dcf54781fe5
[ "BSD-2-Clause" ]
1
2017-10-31T21:49:28.000Z
2017-10-31T21:49:28.000Z
src/modules/devices/sy_devices.cpp
oyranos-cms/Synnefo
ca6b8cd7055b47fc64182a4e0d1a6dcf54781fe5
[ "BSD-2-Clause" ]
null
null
null
#include <QMessageBox> #include <QProgressDialog> #include <QFile> #include <QTime> #include <QTimer> #ifdef HAVE_QT_DBUS #include <QtDBus/QtDBus> #endif #include "sy_devices.h" #include "sy_devices_config.h" // Qt Designer code translation. #include "ui_sy_devices.h" #include <oyranos.h> #include <oyranos...
34.220485
182
0.637361
oyranos-cms
a512cb5c796fbcb21de13153973275ff68d38143
2,134
hpp
C++
three/scenes/scene.hpp
Lecrapouille/three_cpp
5c3b4f4ca02bda6af232898c17e62caf8f887aa0
[ "MIT" ]
null
null
null
three/scenes/scene.hpp
Lecrapouille/three_cpp
5c3b4f4ca02bda6af232898c17e62caf8f887aa0
[ "MIT" ]
null
null
null
three/scenes/scene.hpp
Lecrapouille/three_cpp
5c3b4f4ca02bda6af232898c17e62caf8f887aa0
[ "MIT" ]
null
null
null
#ifndef THREE_SCENE_HPP #define THREE_SCENE_HPP #include <three/common.hpp> #include <three/core/object3d.hpp> #include <three/renderers/renderables/renderable_object.hpp> namespace three { class Scene : public Object3D { public: typedef std::shared_ptr<Scene> Ptr; static Ptr create() { return make_shared...
27.714286
118
0.584817
Lecrapouille
a517dc1e9093c1ec8c03e1815ab48fb87e92dfd4
3,903
cpp
C++
src/SP2C/SPC_Mat33.cpp
Kareus/SP2C
74a3cdb89bc5b2414277bf87e7c6a2b9d0313990
[ "MIT" ]
null
null
null
src/SP2C/SPC_Mat33.cpp
Kareus/SP2C
74a3cdb89bc5b2414277bf87e7c6a2b9d0313990
[ "MIT" ]
null
null
null
src/SP2C/SPC_Mat33.cpp
Kareus/SP2C
74a3cdb89bc5b2414277bf87e7c6a2b9d0313990
[ "MIT" ]
null
null
null
#include <SP2C/SPC_Mat33.h> namespace SP2C { SPC_Mat33::SPC_Mat33(double m00, double m01, double m02, double m10, double m11, double m12, double m20, double m21, double m22) { m[0][0] = m00; m[0][1] = m01; m[0][2] = m02; m[1][0] = m10; m[1][1] = m11; m[1][2] = m12; m[2][0] = m20; m[2][1] = m21; m...
20.118557
129
0.472457
Kareus
a51aa56632abd43e5715092b750f553695b21ef0
15,591
cpp
C++
src/effects/shadows/SkSpotShadowMaskFilter.cpp
picmonkey/skia
8bc3eecfc3f688c504c64d676e7de9b2f938a866
[ "BSD-3-Clause" ]
null
null
null
src/effects/shadows/SkSpotShadowMaskFilter.cpp
picmonkey/skia
8bc3eecfc3f688c504c64d676e7de9b2f938a866
[ "BSD-3-Clause" ]
4
2016-04-08T23:04:42.000Z
2017-06-16T21:46:02.000Z
src/effects/shadows/SkSpotShadowMaskFilter.cpp
picmonkey/skia
8bc3eecfc3f688c504c64d676e7de9b2f938a866
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright 2017 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "SkSpotShadowMaskFilter.h" #include "SkReadBuffer.h" #include "SkStringUtils.h" #include "SkWriteBuffer.h" #if SK_SUPPORT_GPU #include "GrContext.h" #include "GrRend...
43.672269
99
0.567122
picmonkey
a51e548ef917c3c030f04d2ca10d10057b80b465
1,142
cpp
C++
patrones/structural/bridge.cpp
jrinconada/cpp-examples
069e3cc910b2c2d0716af36bef28336003fb6d9e
[ "MIT" ]
1
2018-02-22T12:33:44.000Z
2018-02-22T12:33:44.000Z
patrones/structural/bridge.cpp
jrinconada/cpp-examples
069e3cc910b2c2d0716af36bef28336003fb6d9e
[ "MIT" ]
null
null
null
patrones/structural/bridge.cpp
jrinconada/cpp-examples
069e3cc910b2c2d0716af36bef28336003fb6d9e
[ "MIT" ]
null
null
null
#include <iostream> class Implementation { public: virtual void doSomething() = 0; }; // Clase instanciable que recibe una implemanción dependiente de la plataforma class ConcreteClass { Implementation* implementation; public: ConcreteClass(Implementation* i) { implementation = i; } void ...
24.297872
78
0.705779
jrinconada
a521854e66a9ea88f3402ad7657aa0d0c7c6aed9
1,162
cpp
C++
examples/contacts/server.cpp
CapacitorSet/FHE-tools
1271f2d65b3390c7156606b266b93c5d23ed398a
[ "Apache-2.0" ]
2
2018-08-28T04:50:57.000Z
2019-02-26T22:06:36.000Z
examples/contacts/server.cpp
CapacitorSet/Glovebox
1271f2d65b3390c7156606b266b93c5d23ed398a
[ "Apache-2.0" ]
null
null
null
examples/contacts/server.cpp
CapacitorSet/Glovebox
1271f2d65b3390c7156606b266b93c5d23ed398a
[ "Apache-2.0" ]
null
null
null
#include <cassert> #include <glovebox.h> #include <rpc/server.h> #include "contact.h" ServerParams server_params; Contact contacts[] = { {"", 504'305'6784}, {"", 208'348'4604}, {"", 713'729'7840}, {"", 714'543'1510}, {"", 907'553'8994}, {"", 704'551'2763}, {"", 172'265'8920}, {"", 583'642'3948}, {"", 754...
27.023256
83
0.63253
CapacitorSet
a5251d4419e9a4383d30f49455060579d6d13fa9
1,024
cpp
C++
tests/matrix_add.cpp
ivansipiran/numpyeigen
48c6ccc5724572c6107240fa472d3c1ff04d679d
[ "MIT" ]
75
2018-08-31T18:49:17.000Z
2022-02-12T11:25:00.000Z
tests/matrix_add.cpp
ivansipiran/numpyeigen
48c6ccc5724572c6107240fa472d3c1ff04d679d
[ "MIT" ]
54
2018-07-19T18:08:36.000Z
2022-01-04T15:30:52.000Z
tests/matrix_add.cpp
ivansipiran/numpyeigen
48c6ccc5724572c6107240fa472d3c1ff04d679d
[ "MIT" ]
9
2019-03-04T21:16:15.000Z
2021-10-16T10:02:34.000Z
#include <tuple> #include <Eigen/Core> #include <npe.h> npe_function(matrix_add) npe_arg(b, npe_matches(a)) npe_arg(a, dense_double, dense_float) npe_doc(R"(Add two matrices of the same type)") npe_begin_code() npe_Matrix_a ret1 = a + b; return npe::move(ret1); npe_end_code() npe_function(matrix_add2) n...
16.786885
60
0.722656
ivansipiran
a526ab9707f91ac116f7bc13791e36bdd4713fd8
1,854
cpp
C++
projectionSceneManager/src/SceneManager.cpp
c-c-c/gold-creative-coding
d7ccb5d5f706caafed27050a4c3a514c56a8230e
[ "MIT" ]
1
2020-04-25T06:34:59.000Z
2020-04-25T06:34:59.000Z
projectionSceneManager/src/SceneManager.cpp
c-c-c/gold-creative-coding-1
d7ccb5d5f706caafed27050a4c3a514c56a8230e
[ "MIT" ]
null
null
null
projectionSceneManager/src/SceneManager.cpp
c-c-c/gold-creative-coding-1
d7ccb5d5f706caafed27050a4c3a514c56a8230e
[ "MIT" ]
null
null
null
#include "SceneManager.h" //note: I could refactor in order to get rid of some of the repetition between the two functions void SceneManager::setup(string scenesFile, ofxPiMapper *_piMapper){ piMapper = _piMapper; if (result.open(scenesFile)){ cout << "file opened successfully" << endl; allowTr...
36.352941
121
0.587918
c-c-c
a5284c9bd4e06a506e701c1ad7a4c768efc359ef
7,079
cpp
C++
src/XliPlatform/android/EGLContext.cpp
fuse-open/uno-base
27e259c5ed34ccc68b39cb80fd9d02442ae3339e
[ "MIT" ]
4
2018-05-14T07:49:34.000Z
2018-05-21T06:40:17.000Z
src/XliPlatform/android/EGLContext.cpp
fuse-open/legacy-cpp-framework
27e259c5ed34ccc68b39cb80fd9d02442ae3339e
[ "MIT" ]
2
2018-10-21T12:40:49.000Z
2020-04-16T17:55:55.000Z
src/XliPlatform/android/EGLContext.cpp
fuse-open/legacy-cpp-framework
27e259c5ed34ccc68b39cb80fd9d02442ae3339e
[ "MIT" ]
4
2018-05-14T17:03:51.000Z
2018-12-01T08:05:02.000Z
#include <XliPlatform/GLContext.h> #include <uBase/Console.h> #include <uBase/Memory.h> #include <XliPlatform/Window.h> #include <EGL/egl.h> #include <uBase/Console.h> #include <stdlib.h> #include <string.h> #ifdef ANDROID # include <android/native_window.h> # define NATIVE_HANDLE ANativeWindow* #endif namespace Xli ...
33.549763
170
0.546546
fuse-open
a528872c16255febef74c6ee063d563f34fbccf5
4,455
cpp
C++
daemons/Proxy/src/session.cpp
SorcererX/SepiaStream
e8eccdb7019dd94e8585471535debf8bae1325f5
[ "BSD-2-Clause" ]
null
null
null
daemons/Proxy/src/session.cpp
SorcererX/SepiaStream
e8eccdb7019dd94e8585471535debf8bae1325f5
[ "BSD-2-Clause" ]
6
2015-03-11T06:18:26.000Z
2017-05-01T18:40:33.000Z
daemons/Proxy/src/session.cpp
SorcererX/SepiaStream
e8eccdb7019dd94e8585471535debf8bae1325f5
[ "BSD-2-Clause" ]
null
null
null
#include "session.h" #include "msgsocket.h" #include <sepia/comm/dispatcher.h> #include <sepia/comm/observer.h> #include <functional> using sepia::network::TcpSocket; Session::Session( int a_socket ) { m_socket = new MsgSocket( a_socket ); init(); } Session::Session( sepia::network::TcpSocket* a_socket ) { ...
32.282609
104
0.664198
SorcererX
a52a8ec1ee7e31a4c0a2c28d751dc92cfd425d40
9,770
cpp
C++
Question1/mainwindow.cpp
A-new-b/curriculum-design
f51d8fa999aea8860267035189459affb90e5cf3
[ "MIT" ]
null
null
null
Question1/mainwindow.cpp
A-new-b/curriculum-design
f51d8fa999aea8860267035189459affb90e5cf3
[ "MIT" ]
3
2020-04-18T14:53:16.000Z
2020-04-20T01:39:47.000Z
Question1/mainwindow.cpp
A-new-b/curriculum-design
f51d8fa999aea8860267035189459affb90e5cf3
[ "MIT" ]
1
2020-04-18T06:15:58.000Z
2020-04-18T06:15:58.000Z
#include "mainwindow.h" #include "ui_mainwindow.h" #include "category.h" #include "goods_in.h" #include "goods_out.h" #include<QMessageBox> MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent) , ui(new Ui::MainWindow) { ui->setupUi(this); //给第一个table设置只允许单行选中且无法编辑 ui->category_table->verti...
35.787546
126
0.659058
A-new-b
a52b9c60f73b97b3e3b90e61ce4189b9f58f6652
1,055
cpp
C++
Practice/2019.3.17/CF908G.cpp
SYCstudio/OI
6e9bfc17dbd4b43467af9b19aa2aed41e28972fa
[ "MIT" ]
4
2017-10-31T14:25:18.000Z
2018-06-10T16:10:17.000Z
Practice/2019.3.17/CF908G.cpp
SYCstudio/OI
6e9bfc17dbd4b43467af9b19aa2aed41e28972fa
[ "MIT" ]
null
null
null
Practice/2019.3.17/CF908G.cpp
SYCstudio/OI
6e9bfc17dbd4b43467af9b19aa2aed41e28972fa
[ "MIT" ]
null
null
null
#include<cstdio> #include<cstdlib> #include<cstring> #include<algorithm> #include<iostream> using namespace std; const int maxN=710; const int Mod=1e9+7; char Input[maxN]; int n,Num[maxN]; int F[maxN][maxN][10][2]; void Plus(int &x,int y); int main() { scanf("%s",Input+1); n=strlen(Input+1); reverse(&Input[1],&In...
22.446809
88
0.522275
SYCstudio
a52d059c158b63073d6ce9340b6d9dad008ac689
27,283
cpp
C++
ChineseChess/ChineseChess/Game.cpp
Zhang-Yu-Bo/Project01-ChineseChess
6daa4f2ad78bf572dbba3289eaa38ce9be3fece0
[ "MIT" ]
null
null
null
ChineseChess/ChineseChess/Game.cpp
Zhang-Yu-Bo/Project01-ChineseChess
6daa4f2ad78bf572dbba3289eaa38ce9be3fece0
[ "MIT" ]
null
null
null
ChineseChess/ChineseChess/Game.cpp
Zhang-Yu-Bo/Project01-ChineseChess
6daa4f2ad78bf572dbba3289eaa38ce9be3fece0
[ "MIT" ]
null
null
null
#include "Game.h" // 鍵盤掃描碼 // 上: 72 // 下: 80 // 左: 75 // 右: 77 // <: 44 // >: 46 // Enter: 13 // Esc: 27 // w 119 // a 97 // s 115 // d 100 // space 32 #ifdef _CONSOLE_INFO_HANDLE_ CONSOLE_CURSOR_INFO cci; HANDLE handle; COORD cursorPosition; #endif // _CONSOLE_INFO_HANDLE_ #ifdef _CHESS_CHINESE_ const ...
27.896728
124
0.522413
Zhang-Yu-Bo
a5314f327ad9ee307932ed6002d2a2ae77ab8429
362
hpp
C++
addons/uh60_ui/uiConfig/turretInfo.hpp
ZHANGTIANYAO1/H-60
4c6764f74190dbe7d81ddeae746cf78d8b7dff92
[ "Naumen", "Condor-1.1", "MS-PL" ]
14
2021-02-11T23:23:21.000Z
2021-09-08T05:36:47.000Z
addons/uh60_ui/uiConfig/turretInfo.hpp
ZHANGTIANYAO1/H-60
4c6764f74190dbe7d81ddeae746cf78d8b7dff92
[ "Naumen", "Condor-1.1", "MS-PL" ]
130
2021-09-09T21:43:16.000Z
2022-03-30T09:00:37.000Z
addons/uh60_ui/uiConfig/turretInfo.hpp
ZHANGTIANYAO1/H-60
4c6764f74190dbe7d81ddeae746cf78d8b7dff92
[ "Naumen", "Condor-1.1", "MS-PL" ]
11
2021-02-18T19:55:51.000Z
2021-09-01T17:08:47.000Z
class RscUnitInfo; class Rsc_vtx_MELB_Turret_UnitInfo: RscUnitInfo { idd = 300; onLoad = "uiNamespace setVariable [""vtx_uh60_flir_ui"",(_this select 0)];['onLoad',_this,'RscUnitInfo','IGUI'] call (uinamespace getvariable 'BIS_fnc_initDisplay');"; controls[] = {"MELB_GUI"}; class VScrollbar; class H...
32.909091
171
0.709945
ZHANGTIANYAO1
a53a81743ea33f490a21605cd01d9d0f294e193e
285
cpp
C++
sum function.cpp
0ishita-jana/-dev-info-day1
e6053be728856b3a92d3137bdfd30e16700f7d06
[ "MIT" ]
null
null
null
sum function.cpp
0ishita-jana/-dev-info-day1
e6053be728856b3a92d3137bdfd30e16700f7d06
[ "MIT" ]
null
null
null
sum function.cpp
0ishita-jana/-dev-info-day1
e6053be728856b3a92d3137bdfd30e16700f7d06
[ "MIT" ]
null
null
null
#include<stdio.h> #include<conio.h> int sum(); int main() { int a; a=sum(); printf("%d",a); getch(); } int sum() { int i=1,n=5,l=0; while(i<=n) { int j=i; int s=1; while(j!=0) { s=s*j; j--; } l=l+s+i; i++; } return l; }
8.382353
18
0.403509
0ishita-jana
a53e1c0410c4143ce59c0642900ce1202c046dfb
1,830
cpp
C++
tools/paint/mymanipulatedframe.cpp
shouhengli/drishti
46558d12adcc1d365b7e2125d28190e3be2181c3
[ "MIT" ]
118
2016-11-01T06:01:44.000Z
2022-03-30T05:20:19.000Z
tools/paint/mymanipulatedframe.cpp
shouhengli/drishti
46558d12adcc1d365b7e2125d28190e3be2181c3
[ "MIT" ]
56
2016-09-30T09:29:36.000Z
2022-03-31T17:15:32.000Z
tools/paint/mymanipulatedframe.cpp
shouhengli/drishti
46558d12adcc1d365b7e2125d28190e3be2181c3
[ "MIT" ]
28
2016-07-31T23:48:51.000Z
2021-05-25T05:32:47.000Z
#include "mymanipulatedframe.h" MyManipulatedFrame::MyManipulatedFrame() { m_threshold = 20; m_keepsGrabbingMouse = false; m_onlyRotate = false; m_onlyTranslate = false; } int MyManipulatedFrame::threshold() { return m_threshold; } bool MyManipulatedFrame::onlyRotate() { return m_onlyRotate; } bool MyManipula...
23.766234
68
0.730055
shouhengli
a542fba1d0b39e9c3c9f9c16078c711aac1ea7b0
11,588
cpp
C++
jblib/jreadhdr.cpp
neoflame99/jbmat
cec3102d8a1685d8cff6b83b122b895f0aaa78c7
[ "MIT" ]
null
null
null
jblib/jreadhdr.cpp
neoflame99/jbmat
cec3102d8a1685d8cff6b83b122b895f0aaa78c7
[ "MIT" ]
null
null
null
jblib/jreadhdr.cpp
neoflame99/jbmat
cec3102d8a1685d8cff6b83b122b895f0aaa78c7
[ "MIT" ]
null
null
null
#include "jreadhdr.h" #include <QByteArray> #include <stdio.h> #include <QRegExp> #include <QStringList> #include <math.h> double rgb2xyz_bt709[3][3] = { {0.4124564, 0.3575761, 0.1804375}, {0.2126729, 0.7151522, 0.0721750}, {0.0193339, 0.1191920, 0.9...
32.01105
115
0.437608
neoflame99
a54488a6e69fa8684cd5f54150f4b0f5c88ba363
4,095
cpp
C++
src/gui_statusbar_glues.cpp
cschreib/lxgui
b317774d9b4296dda8a70b994950987378a05678
[ "MIT" ]
50
2015-01-15T10:00:31.000Z
2022-02-04T20:45:25.000Z
src/gui_statusbar_glues.cpp
cschreib/lxgui
b317774d9b4296dda8a70b994950987378a05678
[ "MIT" ]
88
2020-03-15T17:40:04.000Z
2022-03-15T08:21:44.000Z
src/gui_statusbar_glues.cpp
cschreib/lxgui
b317774d9b4296dda8a70b994950987378a05678
[ "MIT" ]
19
2017-03-11T04:32:01.000Z
2022-01-12T22:47:12.000Z
#include "lxgui/gui_statusbar.hpp" #include "lxgui/gui_uiobject_tpl.hpp" #include "lxgui/gui_texture.hpp" #include "lxgui/gui_out.hpp" #include <sol/state.hpp> /** A @{Frame} representing a variable-length bar. * This frame has three main properties: a minimum value, a * maximum value, and a current va...
33.842975
110
0.659829
cschreib
a544e9ad39cd908fde483289df4167d2edddca6d
972
cpp
C++
src/AnalysisObjectives.cpp
ClaudeTO80/Opti_plus_plus
772bdce297f2b52455ba483b747890362d97beb4
[ "MIT" ]
4
2020-02-03T17:05:24.000Z
2022-01-25T23:02:40.000Z
src/AnalysisObjectives.cpp
ClaudeTO80/Opti_plus_plus
772bdce297f2b52455ba483b747890362d97beb4
[ "MIT" ]
null
null
null
src/AnalysisObjectives.cpp
ClaudeTO80/Opti_plus_plus
772bdce297f2b52455ba483b747890362d97beb4
[ "MIT" ]
null
null
null
#include "AnalysisObjectives.h" using namespace std; using namespace AnalysisGenerator; AnalysisObjective::AnalysisObjective(std::string name, ObjDir dir) : name_(name), dir_(dir) {} shared_ptr<AnalysisObjective> AnalysisObjectiveCreator::createObjective(const std::string& name, AnalysisObjective::ObjDir dir)...
28.588235
128
0.736626
ClaudeTO80
a54951c18e2dda94bb3a5e8d8ddf2b89a10d51f3
2,481
cpp
C++
app/src/main/cpp/fire/util/data_texture_pair.cpp
Schitrus/DATX02-20-21
4f0beb6a85ce2ed71875df2277f8c4b80214ebd9
[ "MIT" ]
1
2020-02-20T11:41:43.000Z
2020-02-20T11:41:43.000Z
app/src/main/cpp/fire/util/data_texture_pair.cpp
Schitrus/DATX02-20-21
4f0beb6a85ce2ed71875df2277f8c4b80214ebd9
[ "MIT" ]
null
null
null
app/src/main/cpp/fire/util/data_texture_pair.cpp
Schitrus/DATX02-20-21
4f0beb6a85ce2ed71875df2277f8c4b80214ebd9
[ "MIT" ]
null
null
null
// // Created by kirderf1 on 2020-03-29. // #include "data_texture_pair.h" #include <GLES3/gl31.h> #include <glm/glm.hpp> #include "helper.h" #include <android/log.h> #define LOG_TAG "Texture" #define LOG_ERROR(...) __android_log_print(ANDROID_LOG_ERROR, LOG_TAG, __VA_ARGS__) #define LOG_INFO(...) __android_log_p...
25.84375
93
0.733575
Schitrus
a2228f04c89d1d6c359f7ecb71eff33d321773af
18,931
cpp
C++
libS3ORAM/ServerKaryS3ORAMO.cpp
thanghoang/libS3ORAM
7f180637902dadaf053642761dee0d891fc4d20e
[ "MIT" ]
5
2018-12-31T14:09:34.000Z
2020-02-22T17:13:10.000Z
libS3ORAM/ServerKaryS3ORAMO.cpp
thanghoang/libS3ORAM
7f180637902dadaf053642761dee0d891fc4d20e
[ "MIT" ]
null
null
null
libS3ORAM/ServerKaryS3ORAMO.cpp
thanghoang/libS3ORAM
7f180637902dadaf053642761dee0d891fc4d20e
[ "MIT" ]
null
null
null
/* * ServerKaryS3ORAMO.cpp * * Created on: Apr 7, 2017 * Author: ceyhunozkaptan, thanghoang */ #include "ServerKaryS3ORAMO.hpp" #include "Utils.hpp" #include "S3ORAM.hpp" #include "struct_socket.h" #include "struct_thread_computation.h" #include "struct_thread_loadData.h" ServerKaryS3ORAMO::ServerKaryS3OR...
35.651601
169
0.597116
thanghoang
a22290fddb9ea71fa1b16c28e9e5da5f5677d9e2
369
hpp
C++
src/sn_String/repl.hpp
Airtnp/SuperNaiveCppLib
0745aa79dc5060cd0f7025658164374b991c698e
[ "MIT" ]
4
2017-04-01T08:09:09.000Z
2017-05-20T11:35:58.000Z
src/sn_String/repl.hpp
Airtnp/ACppLib
0745aa79dc5060cd0f7025658164374b991c698e
[ "MIT" ]
null
null
null
src/sn_String/repl.hpp
Airtnp/ACppLib
0745aa79dc5060cd0f7025658164374b991c698e
[ "MIT" ]
null
null
null
#ifndef SN_STRING_REPL_H #define SN_STRING_REPL_H #include "../sn_CommonHeader.h" namespace sn_String { namespace repl { using std::to_string; std::string to_string(std::string input) { return input; } std::string to_string(char* input) { return static_cast...
17.571429
51
0.598916
Airtnp
a224e3e3f9e25e0a2cd4bf69147bc092a6f03f35
318
hpp
C++
logos/wallet_server/client/common.hpp
LogosNetwork/logos-core
6b155539a734efefb8f649a761d044b5f267a51a
[ "BSD-2-Clause" ]
3
2020-01-17T18:05:19.000Z
2021-12-29T04:21:59.000Z
logos/wallet_server/client/common.hpp
LogosNetwork/logos-core
6b155539a734efefb8f649a761d044b5f267a51a
[ "BSD-2-Clause" ]
null
null
null
logos/wallet_server/client/common.hpp
LogosNetwork/logos-core
6b155539a734efefb8f649a761d044b5f267a51a
[ "BSD-2-Clause" ]
2
2020-12-22T05:51:53.000Z
2021-06-08T00:27:46.000Z
#pragma once #include <unordered_map> class CallbackHandler; namespace wallet_server { namespace client { namespace callback { using Handlers = std::unordered_map<uint64_t, CallbackHandler>; using Handle = uint64_t; } // namespace callback } // namespace client } // namespace wallet_server
18.705882
67
0.720126
LogosNetwork
a225ada3b7f81a0ca2a3014f00b7b50108fcb5a8
1,540
cpp
C++
linked-list/segregate-0-1-2.cpp
Strider-7/code
e096c0d0633b53a07bf3f295cb3bd685b694d4ce
[ "MIT" ]
null
null
null
linked-list/segregate-0-1-2.cpp
Strider-7/code
e096c0d0633b53a07bf3f295cb3bd685b694d4ce
[ "MIT" ]
null
null
null
linked-list/segregate-0-1-2.cpp
Strider-7/code
e096c0d0633b53a07bf3f295cb3bd685b694d4ce
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> using namespace std; struct Node { int data; Node *next; } *head = nullptr, *last = nullptr; Node *segregate(Node *head) { Node *node = head; Node *head0 = nullptr, *tail0 = nullptr, *head1 = nullptr; Node *tail1 = nullptr, *head2 = nullptr, ...
20
63
0.352597
Strider-7
a2293b8a02491edb73d52aa3ebec1bc41d29c8ed
35,830
cpp
C++
src/autowiring/test/AutoFilterTest.cpp
CaseyCarter/autowiring
48e95a71308318c8ffb7ed1348e034fd9110f70c
[ "Apache-2.0" ]
87
2015-01-18T00:43:06.000Z
2022-02-11T17:40:50.000Z
src/autowiring/test/AutoFilterTest.cpp
CaseyCarter/autowiring
48e95a71308318c8ffb7ed1348e034fd9110f70c
[ "Apache-2.0" ]
274
2015-01-03T04:50:49.000Z
2021-03-08T09:01:09.000Z
src/autowiring/test/AutoFilterTest.cpp
CaseyCarter/autowiring
48e95a71308318c8ffb7ed1348e034fd9110f70c
[ "Apache-2.0" ]
15
2015-09-30T20:58:43.000Z
2020-12-19T21:24:56.000Z
// Copyright (C) 2012-2018 Leap Motion, Inc. All rights reserved. #include "stdafx.h" #include "TestFixtures/Decoration.hpp" #include <autowiring/AutoPacket.h> #include <autowiring/AutoPacketFactory.h> #include <autowiring/Deferred.h> #include <autowiring/demangle.h> #include <autowiring/ObjectPool.h> #include <autowir...
38.279915
161
0.722774
CaseyCarter
a2339e6b518f5c9cf9a29c9434bcd9c43151743d
670
cpp
C++
3750/6647062_AC_0MS_168K.cpp
vandreas19/POJ_sol
4895764ab800e8c2c4b2334a562dec2f07fa243e
[ "MIT" ]
18
2017-08-14T07:34:42.000Z
2022-01-29T14:20:29.000Z
3750/6647062_AC_0MS_168K.cpp
pinepara/poj_solutions
4895764ab800e8c2c4b2334a562dec2f07fa243e
[ "MIT" ]
null
null
null
3750/6647062_AC_0MS_168K.cpp
pinepara/poj_solutions
4895764ab800e8c2c4b2334a562dec2f07fa243e
[ "MIT" ]
14
2016-12-21T23:37:22.000Z
2021-07-24T09:38:57.000Z
#include<cstdio> const int CHILD_NUM_MAX=64,NAME_LEN_MAX=15; int main(){ int childNum; scanf("%d",&childNum); char names[CHILD_NUM_MAX][NAME_LEN_MAX+1]; for(int childID=0;childID<childNum;childID++) scanf("%s",names+childID); int begin,outCount; scanf("%d,%d",&begin,&outCount); begin--; bool ou...
21.612903
64
0.634328
vandreas19
a2425b5bb8a1b03880727c0d4860d0d345dac0c2
9,842
cpp
C++
src/TankController.cpp
jgfoster/Open_Acidification_pH-stat_arduino
b4d880e0f02c659af4ef2963c1ec11a7885e301e
[ "MIT" ]
4
2019-11-07T17:51:20.000Z
2020-08-27T05:00:43.000Z
src/TankController.cpp
jgfoster/Open_Acidification_pH-stat_arduino
b4d880e0f02c659af4ef2963c1ec11a7885e301e
[ "MIT" ]
34
2020-04-23T16:48:12.000Z
2020-09-13T19:48:56.000Z
src/TankController.cpp
jgfoster/Open_Acidification_pH-stat_arduino
b4d880e0f02c659af4ef2963c1ec11a7885e301e
[ "MIT" ]
12
2019-11-07T17:51:14.000Z
2020-09-21T16:06:15.000Z
#include "TankController.h" #include <avr/wdt.h> #include <stdlib.h> #include "Devices/DateTime_TC.h" #include "Devices/EEPROM_TC.h" #include "Devices/EthernetServer_TC.h" #include "Devices/Ethernet_TC.h" #include "Devices/Keypad_TC.h" #include "Devices/LiquidCrystal_TC.h" #include "Devices/PHControl.h" #include "Dev...
32.268852
116
0.663585
jgfoster
a2462875ea82351ccbadd2ad9f9c0f02f6cc1def
15
cpp
C++
Minecraft/src/MC.cpp
Zubairch/Minecraft
70a8449778560b0280b97e45d5e3d317846e0d6c
[ "MIT" ]
null
null
null
Minecraft/src/MC.cpp
Zubairch/Minecraft
70a8449778560b0280b97e45d5e3d317846e0d6c
[ "MIT" ]
null
null
null
Minecraft/src/MC.cpp
Zubairch/Minecraft
70a8449778560b0280b97e45d5e3d317846e0d6c
[ "MIT" ]
null
null
null
#include "MC.h"
15
15
0.666667
Zubairch
a2484585c07b25a364033c6bed33f319678298fb
1,298
cpp
C++
smtp/src/SmtpConfig.cpp
webOS-ports/mojomail
49358ac2878e010f5c6e3bd962f047c476c11fc3
[ "Apache-2.0" ]
6
2015-01-09T02:20:27.000Z
2021-01-02T08:14:23.000Z
mojomail/smtp/src/SmtpConfig.cpp
openwebos/app-services
021d509d609fce0cb41a0e562650bdd1f3bf4e32
[ "Apache-2.0" ]
3
2019-05-11T19:17:56.000Z
2021-11-24T16:04:36.000Z
mojomail/smtp/src/SmtpConfig.cpp
openwebos/app-services
021d509d609fce0cb41a0e562650bdd1f3bf4e32
[ "Apache-2.0" ]
6
2015-01-09T02:21:13.000Z
2021-01-02T02:37:10.000Z
// @@@LICENSE // // Copyright (c) 2010-2013 LG Electronics, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless require...
24.961538
111
0.728043
webOS-ports
a2495a14ab5492495833a225fd1f9a7f33faa546
304
cpp
C++
aoj/ITP1/ITP1D/main.cpp
xirc/cp-algorithm
89c67cff2f00459c5bb020ab44bff5ae419a1728
[ "Apache-2.0" ]
8
2020-12-23T07:54:53.000Z
2021-11-23T02:46:35.000Z
aoj/ITP1/ITP1D/main.cpp
xirc/cp-algorithm
89c67cff2f00459c5bb020ab44bff5ae419a1728
[ "Apache-2.0" ]
1
2020-11-07T13:22:29.000Z
2020-12-20T12:54:00.000Z
aoj/ITP1/ITP1D/main.cpp
xirc/cp-algorithm
89c67cff2f00459c5bb020ab44bff5ae419a1728
[ "Apache-2.0" ]
1
2021-01-16T03:40:10.000Z
2021-01-16T03:40:10.000Z
#include <bits/stdc++.h> using namespace std; int main() { ios_base::sync_with_stdio(false); cin.tie(0); cout.tie(0); int S; cin >> S; int h, m, s; s = S % 60; S /= 60; m = S % 60; S /= 60; h = S; cout << h << ":" << m << ":" << s << endl; return 0; }
14.47619
46
0.430921
xirc
a24d937339866c2f4df4ae1c7cc203f62b82ceac
3,137
cpp
C++
test/test_com/testTableInfo.cpp
yiliangwu880/CppDbProxy
05015730b9877003ef22f281a30cb80bed8dbf27
[ "BSD-3-Clause" ]
null
null
null
test/test_com/testTableInfo.cpp
yiliangwu880/CppDbProxy
05015730b9877003ef22f281a30cb80bed8dbf27
[ "BSD-3-Clause" ]
null
null
null
test/test_com/testTableInfo.cpp
yiliangwu880/CppDbProxy
05015730b9877003ef22f281a30cb80bed8dbf27
[ "BSD-3-Clause" ]
null
null
null
/* brief: use example and test code */ #include "../com/unit_test.h" #include <functional> #include <limits> #include <queue> #include <string> #include <vector> #include <map> #include <unordered_map> #include "function_traits.h" #include "db_driver/include/db_driver.h" #include "external/svr_util/include...
29.87619
68
0.656678
yiliangwu880
a2504912123affb210563bd4316776dc63887f0a
1,355
cpp
C++
Tests/base/test_ThreadPool.cpp
dingjiefeng/selfServer
b1d496c855aaa3758034167dc4477595ae789f85
[ "MIT" ]
null
null
null
Tests/base/test_ThreadPool.cpp
dingjiefeng/selfServer
b1d496c855aaa3758034167dc4477595ae789f85
[ "MIT" ]
null
null
null
Tests/base/test_ThreadPool.cpp
dingjiefeng/selfServer
b1d496c855aaa3758034167dc4477595ae789f85
[ "MIT" ]
null
null
null
// // Created by jeff on 18-6-6. // #include "gtest/gtest.h" #include "gmock/gmock.h" #include "../../server/base/ThreadPool.h" using namespace selfServer; using testing::Eq; class TestThreadPool : public testing::Test { public: TestThreadPool() = default; }; TEST_F(TestThreadPool, demo) { std::mutex mtx; ...
25.092593
86
0.44059
dingjiefeng
a2549af421338315ea530fab11cc1be7829ddbd1
8,243
cpp
C++
src/Providers/UNIXProviders/NFS/UNIX_NFSProvider.cpp
brunolauze/openpegasus-providers-old
b00f1aad575bae144b8538bf57ba5fd5582a4ec7
[ "MIT" ]
1
2020-10-12T09:00:09.000Z
2020-10-12T09:00:09.000Z
src/Providers/UNIXProviders/NFS/UNIX_NFSProvider.cpp
brunolauze/openpegasus-providers-old
b00f1aad575bae144b8538bf57ba5fd5582a4ec7
[ "MIT" ]
null
null
null
src/Providers/UNIXProviders/NFS/UNIX_NFSProvider.cpp
brunolauze/openpegasus-providers-old
b00f1aad575bae144b8538bf57ba5fd5582a4ec7
[ "MIT" ]
null
null
null
//%LICENSE//////////////////////////////////////////////////////////////// // // Licensed to The Open Group (TOG) under one or more contributor license // agreements. Refer to the OpenPegasusNOTICE.txt file distributed with // this work for additional information regarding copyright ownership. // Each contributor lice...
32.840637
85
0.70023
brunolauze
a25887dcc9aab4ba6bd50a9afca7765d6a6049d3
18,102
cpp
C++
src/cpp/jail/resonanceDecay/functions.cpp
dereksoeder/iS3D
27fed56d697f8e4a0e08fa9cb261436f4a7c7f8c
[ "MIT" ]
1
2022-02-08T21:26:12.000Z
2022-02-08T21:26:12.000Z
src/cpp/jail/resonanceDecay/functions.cpp
dereksoeder/iS3D
27fed56d697f8e4a0e08fa9cb261436f4a7c7f8c
[ "MIT" ]
13
2018-06-13T19:29:07.000Z
2021-02-07T04:29:10.000Z
src/cpp/jail/resonanceDecay/functions.cpp
dereksoeder/iS3D
27fed56d697f8e4a0e08fa9cb261436f4a7c7f8c
[ "MIT" ]
7
2018-04-11T01:56:22.000Z
2021-07-09T23:00:21.000Z
/* functions.c functions for reso.c main program calculations * Josef Sollfrank Nov. .98 */ // Commented and adjusted by Evan Frodermann, Aug 2005 #include <string.h> #include <stdio.h> #include <math.h> #include <stdlib.h> #include <iostream> #include "Table.h" ...
39.266811
149
0.547011
dereksoeder
a25ac13369dbdab79dee4c7dd3e0c174b7850163
133
cpp
C++
src/ambient_light.cpp
movhex/raytracer
7ce364f5dcc829ac54c81edeee520dabc916c6d8
[ "BSD-2-Clause" ]
2
2021-11-29T10:59:06.000Z
2021-11-29T21:26:21.000Z
src/ambient_light.cpp
movhex/raytracer
7ce364f5dcc829ac54c81edeee520dabc916c6d8
[ "BSD-2-Clause" ]
null
null
null
src/ambient_light.cpp
movhex/raytracer
7ce364f5dcc829ac54c81edeee520dabc916c6d8
[ "BSD-2-Clause" ]
null
null
null
#if !defined(HAVE_CUDA) #include "ambient_light.h" #define INCLUDE_IMPLEMENTATION_FILE #include "ambient_light_cpu_impl.h" #endif
14.777778
35
0.804511
movhex
a2612b17054fc8a74bdfb93224a4b8338badb8de
688
cpp
C++
Source/SimpleShooter/BTTask_Shoot.cpp
scarriere/udemy-simple-shooter
04cf7217ae2f3b48daef391622fa0ab86a5f7f33
[ "MIT" ]
null
null
null
Source/SimpleShooter/BTTask_Shoot.cpp
scarriere/udemy-simple-shooter
04cf7217ae2f3b48daef391622fa0ab86a5f7f33
[ "MIT" ]
null
null
null
Source/SimpleShooter/BTTask_Shoot.cpp
scarriere/udemy-simple-shooter
04cf7217ae2f3b48daef391622fa0ab86a5f7f33
[ "MIT" ]
null
null
null
// // Copyright Samuel Carriere 2020 #include "BTTask_Shoot.h" #include "ShooterCharacter.h" #include "AIController.h" #include "BehaviorTree/BehaviorTreeComponent.h" UBTTask_Shoot::UBTTask_Shoot() { NodeName = TEXT("Shoot"); } EBTNodeResult::Type UBTTask_Shoot::ExecuteTask(UBehaviorTreeComponent& OwnerComp, uint8...
25.481481
100
0.777616
scarriere
a2638e9d4a3b0f639c6cea0cc8c39cb32502f8b6
2,667
cpp
C++
src/GUI_Alert.cpp
paracelso93/GiocoDeiPianeti
271d108d4516f1cc545f846c87808bb698f5c3bd
[ "MIT" ]
null
null
null
src/GUI_Alert.cpp
paracelso93/GiocoDeiPianeti
271d108d4516f1cc545f846c87808bb698f5c3bd
[ "MIT" ]
null
null
null
src/GUI_Alert.cpp
paracelso93/GiocoDeiPianeti
271d108d4516f1cc545f846c87808bb698f5c3bd
[ "MIT" ]
null
null
null
#include "GUI_Alert.h" bool GUI_Alert::mVisible = false; GUI_Panel GUI_Alert::mBackground = GUI_Panel(); GUI_Label GUI_Alert::mTitleLabel = GUI_Label(); GUI_Label GUI_Alert::mTextLabel = GUI_Label(); sf::Font GUI_Alert::mFont = sf::Font(); int GUI_Alert::mButtonNumber = 0; std::vector<GUI_Button *> GUI_Alert::mButton...
37.041667
207
0.55943
paracelso93
a26ac8f52cb6242b7cb68ca27beae236bd78d3bd
3,377
cpp
C++
sources/rotationToSliderNode.cpp
jpasserin/harbieNodes
a78823869dd79b9f465f14fe07bfc91ca1850a7b
[ "MIT" ]
5
2021-12-15T08:50:57.000Z
2022-01-26T16:01:08.000Z
sources/rotationToSliderNode.cpp
jpasserin/harbieNodes
a78823869dd79b9f465f14fe07bfc91ca1850a7b
[ "MIT" ]
null
null
null
sources/rotationToSliderNode.cpp
jpasserin/harbieNodes
a78823869dd79b9f465f14fe07bfc91ca1850a7b
[ "MIT" ]
null
null
null
#include "../headers/_Utils.h" #include "../headers/rotationToSliderNode.h" #include <maya/MPlug.h> #include <maya/MDataBlock.h> #include <maya/MDataHandle.h> #include <maya/MFnUnitAttribute.h> #include <maya/MGlobal.h> // Static Members MTypeId RotationToSlider::id(0x001226CB); MObject RotationToSlider::angle; MOb...
25.778626
90
0.737933
jpasserin
a26d62739e8b26e1ef5303eb6c14742b2550b76f
2,996
cpp
C++
newsimplifythesquareroot.cpp
sagar-sam/codechef-solutions
ea414d17435f0cfbc84b0c6b172ead0b22f32a23
[ "MIT" ]
null
null
null
newsimplifythesquareroot.cpp
sagar-sam/codechef-solutions
ea414d17435f0cfbc84b0c6b172ead0b22f32a23
[ "MIT" ]
null
null
null
newsimplifythesquareroot.cpp
sagar-sam/codechef-solutions
ea414d17435f0cfbc84b0c6b172ead0b22f32a23
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <map> #include <math.h> #include <algorithm> #include <iterator> using namespace std; vector<int> sieve(30000001); void calculate_sieve() { for(int i=0;i<30000001;i++) { sieve[i]=-1; } for(int i=4;i<30000001;i+=2) { sieve[i]=2; } for(int i=3;i*i<30000001;i+...
14.831683
73
0.470961
sagar-sam
a273cd568aa090be306621cf15e4ee55e1178497
9,255
cpp
C++
common/ScratchpadDatapath.cpp
httsai/NTHU_Aladdin
4140fcdade512b89647608b9b724690c5d3b2ba4
[ "BSL-1.0" ]
null
null
null
common/ScratchpadDatapath.cpp
httsai/NTHU_Aladdin
4140fcdade512b89647608b9b724690c5d3b2ba4
[ "BSL-1.0" ]
null
null
null
common/ScratchpadDatapath.cpp
httsai/NTHU_Aladdin
4140fcdade512b89647608b9b724690c5d3b2ba4
[ "BSL-1.0" ]
null
null
null
/* Implementation of an accelerator datapath that uses a private scratchpad for * local memory. */ #include <string> #include "ScratchpadDatapath.h" ScratchpadDatapath::ScratchpadDatapath( std::string bench, std::string trace_file, std::string config_file, float cycle_t) : BaseDatapath(bench, trace_fil...
30.747508
83
0.622474
httsai
a2791a38b47f60706529c48fba4ae2723268d152
2,880
cpp
C++
binary_tree_right_side_view.cpp
artureganyan/algorithms
98cd0048162b3cb1c79712a884261cd3fe31063c
[ "MIT" ]
null
null
null
binary_tree_right_side_view.cpp
artureganyan/algorithms
98cd0048162b3cb1c79712a884261cd3fe31063c
[ "MIT" ]
null
null
null
binary_tree_right_side_view.cpp
artureganyan/algorithms
98cd0048162b3cb1c79712a884261cd3fe31063c
[ "MIT" ]
null
null
null
// Problem: https://leetcode.com/problems/binary-tree-right-side-view/ #include <vector> #include <deque> #include "utils.h" namespace binary_tree_right_side_view { struct TreeNode { int val; TreeNode* left; TreeNode* right; }; class Solution { public: // Time: O(n), Space: O(w + h) // n - numbe...
24.615385
97
0.434028
artureganyan
a27948b65d480bd042d677db26191b507ef9bb6b
1,308
cpp
C++
erts/emulator/asmjit/x86/x86builder.cpp
williamthome/otp
c4f24d6718ac56c431f0fccf240c5b15482792ed
[ "Apache-2.0" ]
null
null
null
erts/emulator/asmjit/x86/x86builder.cpp
williamthome/otp
c4f24d6718ac56c431f0fccf240c5b15482792ed
[ "Apache-2.0" ]
null
null
null
erts/emulator/asmjit/x86/x86builder.cpp
williamthome/otp
c4f24d6718ac56c431f0fccf240c5b15482792ed
[ "Apache-2.0" ]
2
2015-10-18T22:36:46.000Z
2022-01-26T14:01:57.000Z
// This file is part of AsmJit project <https://asmjit.com> // // See asmjit.h or LICENSE.md for license and copyright information // SPDX-License-Identifier: Zlib #include "../core/api-build_p.h" #if !defined(ASMJIT_NO_X86) && !defined(ASMJIT_NO_BUILDER) #include "../x86/x86assembler.h" #include "../x86/x86builder.h...
24.679245
67
0.659786
williamthome
a27d1fc265d6090e6acac6a08b94bd1149b9b3c0
4,760
cpp
C++
src/fixie_lib/desktop_gl_impl/texture.cpp
vonture/fixie
7fa1a6787ae26ee141a906fe39fb85c2e3cf4dfc
[ "MIT" ]
7
2015-01-09T22:08:17.000Z
2021-10-12T10:32:58.000Z
src/fixie_lib/desktop_gl_impl/texture.cpp
vonture/fixie
7fa1a6787ae26ee141a906fe39fb85c2e3cf4dfc
[ "MIT" ]
1
2015-08-19T07:51:53.000Z
2015-08-19T07:51:53.000Z
src/fixie_lib/desktop_gl_impl/texture.cpp
vonture/fixie
7fa1a6787ae26ee141a906fe39fb85c2e3cf4dfc
[ "MIT" ]
5
2015-08-20T07:10:23.000Z
2022-03-24T07:09:10.000Z
#include "fixie_lib/desktop_gl_impl/texture.hpp" #include "fixie_lib/desktop_gl_impl/framebuffer.hpp" #include "fixie_lib/debug.hpp" #include "fixie/fixie_gl_es.h" namespace fixie { namespace desktop_gl_impl { #define GL_FRAMEBUFFER 0x8D40 texture::texture(std::shared_ptr<const gl_functions> ...
51.73913
212
0.693487
vonture
a2828a2f6fe36c63fd11c455d1b6bf51c2fb1c07
1,666
cpp
C++
src/anfibio_nativo.cpp
fernandocunhapereira/petfera
6c1a3661df2561f53691abc548b1ce4202a3ba1e
[ "MIT" ]
null
null
null
src/anfibio_nativo.cpp
fernandocunhapereira/petfera
6c1a3661df2561f53691abc548b1ce4202a3ba1e
[ "MIT" ]
null
null
null
src/anfibio_nativo.cpp
fernandocunhapereira/petfera
6c1a3661df2561f53691abc548b1ce4202a3ba1e
[ "MIT" ]
1
2020-11-18T21:06:29.000Z
2020-11-18T21:06:29.000Z
#include "anfibio_nativo.hpp" /** *@brief Construtor que instancia um objeto do tipo AnfibioNativo *@param Caracteristicas inerentes aos anfibios nativos */ AnfibioNativo::AnfibioNativo(string identificacao, double preco, string descricao, double peso, tipoSexo sexo, Venenosos tipoVen, string estado, ...
32.038462
118
0.638655
fernandocunhapereira
a28a2cf03db9388114f8b44a46ee81f7adece6ff
157
hpp
C++
src/libv/serial/types/std_vector.hpp
cpplibv/libv
293e382f459f0acbc540de8ef6283782b38d2e63
[ "Zlib" ]
2
2018-04-11T03:07:03.000Z
2019-03-29T15:24:12.000Z
src/libv/serial/types/std_vector.hpp
cpplibv/libv
293e382f459f0acbc540de8ef6283782b38d2e63
[ "Zlib" ]
null
null
null
src/libv/serial/types/std_vector.hpp
cpplibv/libv
293e382f459f0acbc540de8ef6283782b38d2e63
[ "Zlib" ]
1
2021-06-13T06:39:06.000Z
2021-06-13T06:39:06.000Z
// Project: libv.serial, File: src/libv/serial/types/std_vector.hpp, Author: Császár Mátyás [Vader] #pragma once // ext #include <cereal/types/vector.hpp>
22.428571
99
0.738854
cpplibv
a28eda70bdeb0d602dbab24654e28e6e4de0b34e
1,579
cpp
C++
graph/mst/loj/F1059/Solution.cpp
MdAman02/problem_solving
0cc1e3b8c74eca5a0ec9d02125cf5b8ee0aa7da5
[ "MIT" ]
17
2020-11-12T17:41:41.000Z
2021-10-01T13:19:42.000Z
graph/mst/loj/F1059/Solution.cpp
MdAman02/problem_solving
0cc1e3b8c74eca5a0ec9d02125cf5b8ee0aa7da5
[ "MIT" ]
15
2019-09-23T06:33:47.000Z
2020-06-04T18:55:45.000Z
graph/mst/loj/F1059/Solution.cpp
MdAman02/problem_solving
0cc1e3b8c74eca5a0ec9d02125cf5b8ee0aa7da5
[ "MIT" ]
16
2019-09-21T23:19:58.000Z
2020-06-18T07:26:39.000Z
// problem name: Air Ports // problem link: http://lightoj.com/volume_showproblem.php?problem=1059 // contest link: (?) // time: (?) // author: aman // other_tags: (?) #include<iostream> #include<vector> #include<queue> #include<cstring> using namespace std; #define mx 10010 #define f first #define s second ty...
16.278351
71
0.576314
MdAman02
a29123ee9f2e2887d9bcda6ae8e4caa476c9130a
2,584
cpp
C++
Backtracking-Recursion/0079-Word-Search/main.cpp
FeiZhao0531/PlayLeetCode
ed23477fd6086d5139bda3d93feeabc09b06854d
[ "MIT" ]
5
2019-05-11T18:33:32.000Z
2019-12-13T09:13:02.000Z
Backtracking-Recursion/0079-Word-Search/main.cpp
FeiZhao0531/PlayLeetCode
ed23477fd6086d5139bda3d93feeabc09b06854d
[ "MIT" ]
null
null
null
Backtracking-Recursion/0079-Word-Search/main.cpp
FeiZhao0531/PlayLeetCode
ed23477fd6086d5139bda3d93feeabc09b06854d
[ "MIT" ]
null
null
null
/// Source : https://leetcode.com/problems/word-search/description/ /// Author : Fei /// Time : Jul-01-2019 #include <iostream> #include <vector> #include <cassert> using namespace std; // Backtrack // Time Complexity: O(m*n*length(word)) // Space Complexity: O(m*n) class Solution { public: bool exist(vector<v...
27.2
97
0.485681
FeiZhao0531
a29425f4fed01f571ce839d1c863888917bc8b39
426
cpp
C++
Input/Source/XWindowsGamePadInput.cpp
jordanlittlefair/Foundation
ab737b933ea5bbe2be76133ed78c8e882f072fd0
[ "BSL-1.0" ]
null
null
null
Input/Source/XWindowsGamePadInput.cpp
jordanlittlefair/Foundation
ab737b933ea5bbe2be76133ed78c8e882f072fd0
[ "BSL-1.0" ]
null
null
null
Input/Source/XWindowsGamePadInput.cpp
jordanlittlefair/Foundation
ab737b933ea5bbe2be76133ed78c8e882f072fd0
[ "BSL-1.0" ]
null
null
null
#include "../Include/XWindowsGamePadInput.hpp" #include <cstring> using namespace Fnd::Input; XWindowsGamePadInput::XWindowsGamePadInput() { } bool XWindowsGamePadInput::Initialise() { return true; } GamePadInputBase::GamePadState XWindowsGamePadInput::GetNextState() { GamePadState state; memset( &stat...
15.777778
67
0.739437
jordanlittlefair
a294e9b9cde94552aadcee03ad3ec94e9c6c03ec
726
cpp
C++
data_structure/sparse_table.cpp
lincolncpp/competitive-programming
ee5a3762eb41825b13d3aa607f8dc3f4b0ad21f3
[ "MIT" ]
6
2020-04-08T00:25:44.000Z
2021-09-04T20:39:15.000Z
data_structure/sparse_table.cpp
lincolncpp/competitive-programming
ee5a3762eb41825b13d3aa607f8dc3f4b0ad21f3
[ "MIT" ]
2
2020-04-09T06:59:12.000Z
2020-04-09T14:56:32.000Z
data_structure/sparse_table.cpp
lincolncpp/competitive-programming
ee5a3762eb41825b13d3aa607f8dc3f4b0ad21f3
[ "MIT" ]
6
2020-04-16T03:47:06.000Z
2021-09-07T10:21:32.000Z
#include <bits/stdc++.h> using namespace std; /* Build: O(nlogn) Query: O(1) */ #define lg2(x) 31-__builtin_clz(x) const int maxn = 1e5; const int logmaxn = lg2(maxn); int st[maxn+7][logmaxn+3] = {}; void build(const vector<int>&v){ int n = (int)v.size(); for(int i = 0;i < n;i++) st[i][0] = v[i];...
16.5
62
0.487603
lincolncpp