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
108
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
67k
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
80256ee05f2edfc46da778f9d02243586a9fe46f
4,832
cc
C++
usr_local/src/festival/src/arch/festival/ngram.cc
parnurzeal/tts-tutorial
db11aed2adc5101cc6d06d1138f74d5f5afe666f
[ "Apache-2.0" ]
30
2016-09-23T06:38:08.000Z
2022-02-14T02:02:14.000Z
usr_local/src/festival/src/arch/festival/ngram.cc
xbsdsongnan/docker-festival
1e1c50c8bbd92d47ecb7edc7a464aadad5b9a0d6
[ "Apache-2.0" ]
3
2020-06-05T18:09:02.000Z
2021-06-10T20:06:02.000Z
usr_local/src/festival/src/arch/festival/ngram.cc
xbsdsongnan/docker-festival
1e1c50c8bbd92d47ecb7edc7a464aadad5b9a0d6
[ "Apache-2.0" ]
13
2016-11-06T05:52:23.000Z
2020-08-26T18:38:00.000Z
/*************************************************************************/ /* */ /* Centre for Speech Technology Research */ /* University of Edinburgh, UK */ /* ...
37.457364
75
0.505174
parnurzeal
802bfd99f355e276d81944eeb98a2d0f0d00fdb7
8,183
cpp
C++
Gems/EMotionFX/Code/EMotionFX/Exporters/ExporterLib/Exporter/EndianConversion.cpp
aaarsene/o3de
37e3b0226958974defd14dd6d808e8557dcd7345
[ "Apache-2.0", "MIT" ]
1
2021-09-13T00:01:12.000Z
2021-09-13T00:01:12.000Z
Gems/EMotionFX/Code/EMotionFX/Exporters/ExporterLib/Exporter/EndianConversion.cpp
aaarsene/o3de
37e3b0226958974defd14dd6d808e8557dcd7345
[ "Apache-2.0", "MIT" ]
null
null
null
Gems/EMotionFX/Code/EMotionFX/Exporters/ExporterLib/Exporter/EndianConversion.cpp
aaarsene/o3de
37e3b0226958974defd14dd6d808e8557dcd7345
[ "Apache-2.0", "MIT" ]
1
2021-07-20T11:07:25.000Z
2021-07-20T11:07:25.000Z
/* * Copyright (c) Contributors to the Open 3D Engine Project. For complete copyright and license terms please see the LICENSE at the root of this distribution. * * SPDX-License-Identifier: Apache-2.0 OR MIT * */ #include "Exporter.h" #include <AzCore/Math/Vector2.h> #include <AzCore/Math/Quaternion.h> namespac...
40.310345
158
0.695222
aaarsene
802e9c367d218d9f58b162804d0b8470d0ff89d1
2,202
hpp
C++
src/Resources.hpp
ArthurSonzogni/pigami
bc33ed2797ba1da534d9cd4337e59d33ce46d4c5
[ "MIT" ]
4
2019-12-19T17:08:04.000Z
2020-09-20T08:31:15.000Z
src/Resources.hpp
ArthurSonzogni/pigami
bc33ed2797ba1da534d9cd4337e59d33ce46d4c5
[ "MIT" ]
null
null
null
src/Resources.hpp
ArthurSonzogni/pigami
bc33ed2797ba1da534d9cd4337e59d33ce46d4c5
[ "MIT" ]
null
null
null
// Copyright 2019 Arthur Sonzogni. All rights reserved. // Use of this source code is governed by the MIT license that can be found in // the LICENSE file. #ifndef RESOURCE_HPP #define RESOURCE_HPP #include <list> #include <smk/Font.hpp> #include <smk/OpenGL.hpp> #include <smk/SoundBuffer.hpp> #include <smk/Texture.h...
29.756757
78
0.800182
ArthurSonzogni
802fbb6528162c2b00424ecf1be9bbd263fc6648
13,922
cpp
C++
examples/basic/pipelines.cpp
ChristophLGDV/Vulkan
390023982000b0d58031383779faf83d94be13dd
[ "MIT" ]
1
2017-08-17T15:28:24.000Z
2017-08-17T15:28:24.000Z
examples/basic/pipelines.cpp
ChristophLGDV/Vulkan
390023982000b0d58031383779faf83d94be13dd
[ "MIT" ]
null
null
null
examples/basic/pipelines.cpp
ChristophLGDV/Vulkan
390023982000b0d58031383779faf83d94be13dd
[ "MIT" ]
null
null
null
/* * Vulkan Example - Using different pipelines in one single renderpass * * Copyright (C) 2016 by Sascha Willems - www.saschawillems.de * * This code is licensed under the MIT license (MIT) (http://opensource.org/licenses/MIT) */ #include "vulkanExampleBase.h" // Vertex layout for this example std::vector<vkx::Vert...
42.445122
147
0.690777
ChristophLGDV
803281f2c8659764d6d54a8f9605c242e4bce664
8,435
cxx
C++
PHOS/DA/PHSGAINda.cxx
AllaMaevskaya/AliRoot
c53712645bf1c7d5f565b0d3228e3a6b9b09011a
[ "BSD-3-Clause" ]
52
2016-12-11T13:04:01.000Z
2022-03-11T11:49:35.000Z
PHOS/DA/PHSGAINda.cxx
AllaMaevskaya/AliRoot
c53712645bf1c7d5f565b0d3228e3a6b9b09011a
[ "BSD-3-Clause" ]
1,388
2016-11-01T10:27:36.000Z
2022-03-30T15:26:09.000Z
PHOS/DA/PHSGAINda.cxx
AllaMaevskaya/AliRoot
c53712645bf1c7d5f565b0d3228e3a6b9b09011a
[ "BSD-3-Clause" ]
275
2016-06-21T20:24:05.000Z
2022-03-31T13:06:19.000Z
/* contact: Boris.Polishchuk@cern.ch link: see comments in the $ALICE_ROOT/PHOS/AliPHOSRcuDA1.cxx reference run: /alice/data/2009/LHC09b_PHOS/000075883/raw/09000075883017.20.root run type: PHYSICS DA type: MON number of events needed: 1000 input files: Mod0RCU0.data Mod0RCU1.data Mod0RCU2.data Mod0RCU3.data Mod1RCU0.d...
25.104167
299
0.617427
AllaMaevskaya
8036b66785a8f2df901b1356846d14daf8b024e7
14,732
hpp
C++
include/numberTheory.hpp
GoatGirl98/cf
4077ca8e0fe29dc2bbb7b60166989857cc062e17
[ "MIT" ]
null
null
null
include/numberTheory.hpp
GoatGirl98/cf
4077ca8e0fe29dc2bbb7b60166989857cc062e17
[ "MIT" ]
null
null
null
include/numberTheory.hpp
GoatGirl98/cf
4077ca8e0fe29dc2bbb7b60166989857cc062e17
[ "MIT" ]
null
null
null
#pragma once #include <bits/stdc++.h> #include "primary.hpp" using LL = long long; // 注意这里的 nthPrime 以 1 开始编号(其它地方以 0 开始)!即 p[1] = 2 namespace Prime { // O(\sqrt{N}) 最基本的单次素数判断 bool isPrime(LL n) { if (n == 2) return true; if (n == 1 || n % 2 == 0) return false; for (LL i = 3; i * i <= n; i += 2){ if (n % i == 0...
25.891037
92
0.47278
GoatGirl98
80394afa90cf9774eeef2235550b565ee8bc07fa
2,805
hpp
C++
Ruken/Source/Include/Build/Config.hpp
Renondedju/Ruken
2b2944b0c7aabf0f921f4daafc45eb01e592d825
[ "MIT" ]
6
2020-09-12T19:16:49.000Z
2022-03-17T14:10:16.000Z
Ruken/Source/Include/Build/Config.hpp
Renondedju/Ruken
2b2944b0c7aabf0f921f4daafc45eb01e592d825
[ "MIT" ]
1
2021-11-15T10:13:17.000Z
2021-11-15T10:13:17.000Z
Ruken/Source/Include/Build/Config.hpp
Renondedju/Ruken
2b2944b0c7aabf0f921f4daafc45eb01e592d825
[ "MIT" ]
3
2020-09-03T16:41:35.000Z
2022-01-24T09:35:55.000Z
/* * MIT License * * Copyright (c) 2019-2020 Basile Combet, Philippe Yi * * 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 rig...
35.0625
108
0.714795
Renondedju
803a544d85582452b50445351d82a42e9d22c0eb
11,855
cpp
C++
r_mux/source/r_muxer.cpp
TroyDL/revere
541bdc2bed9db212c1b74414b24733cf39675d08
[ "BSD-3-Clause" ]
null
null
null
r_mux/source/r_muxer.cpp
TroyDL/revere
541bdc2bed9db212c1b74414b24733cf39675d08
[ "BSD-3-Clause" ]
null
null
null
r_mux/source/r_muxer.cpp
TroyDL/revere
541bdc2bed9db212c1b74414b24733cf39675d08
[ "BSD-3-Clause" ]
null
null
null
#include "r_mux/r_muxer.h" #include "r_mux/r_format_utils.h" #include "r_utils/r_string_utils.h" #include "r_utils/r_exception.h" #include <stdexcept> using namespace std; using namespace r_mux; using namespace r_utils; using namespace r_utils::r_std_utils; AVCodecID r_mux::encoding_to_av_codec_id(const string& code...
33.394366
132
0.640489
TroyDL
803b5ca8edd0c5610516eab4a496ee6f3a4dc479
356
cpp
C++
MonkeyDelivery/Src/Control/NextStateCommand.cpp
miggon23/TheUnnamedGame
8b8fbf232772d5de90fb8646129afa5e8b11608e
[ "MIT" ]
7
2022-02-04T08:57:33.000Z
2022-03-06T12:54:05.000Z
MonkeyDelivery/Src/Control/NextStateCommand.cpp
miggon23/MonkeyDelivery
8b8fbf232772d5de90fb8646129afa5e8b11608e
[ "MIT" ]
79
2022-02-01T15:25:51.000Z
2022-03-30T22:17:20.000Z
MonkeyDelivery/Src/Control/NextStateCommand.cpp
miggon23/MonkeyDelivery
8b8fbf232772d5de90fb8646129afa5e8b11608e
[ "MIT" ]
null
null
null
#include "NextStateCommand.h" #include "./States/State.h" bool NextStateCommand::parse(SDL_Event& event) { if (event.type == SDL_KEYDOWN) { SDL_Keycode key = event.key.keysym.sym; if (key == SDLK_SPACE) { return true; } } return false; } void NextStateCommand::execute(...
17.8
47
0.601124
miggon23
d9aaac911acfc2fabb8f8c36b444ac6af9b7509b
3,886
cpp
C++
src/Examples/Mesh/GeometryHelpers.cpp
wrld3d/eegeo-sdk-samples
eb1a1e4d4b7d3eb79ad454cc5a09d1847018269d
[ "BSD-2-Clause" ]
11
2017-06-26T08:59:03.000Z
2021-09-28T13:12:22.000Z
src/Examples/Mesh/GeometryHelpers.cpp
wrld3d/eegeo-sdk-samples
eb1a1e4d4b7d3eb79ad454cc5a09d1847018269d
[ "BSD-2-Clause" ]
4
2016-07-09T14:54:22.000Z
2017-04-26T14:02:53.000Z
src/Examples/Mesh/GeometryHelpers.cpp
wrld3d/eegeo-sdk-samples
eb1a1e4d4b7d3eb79ad454cc5a09d1847018269d
[ "BSD-2-Clause" ]
9
2016-04-08T03:43:13.000Z
2016-12-12T02:07:49.000Z
// Copyright eeGeo Ltd (2012-2014), All Rights Reserved #include "GeometryHelpers.h" #include "Bounds.h" namespace Examples { namespace GeometryHelpers { void BuildBox(const Eegeo::v3& halfDimensions, std::vector<Vertex>& out_vertices, std::vector<u16>& out_triangleIndices) { const...
46.261905
132
0.506948
wrld3d
d9b753fc62ef4f6f56ad748549c6d03dfbd436ef
25
cpp
C++
TOD1/SoundEmitter.cpp
Michael0ne/TOD_tools
0e55b28b7001d8b7ce7c0e0811f27682349b41c9
[ "FSFAP" ]
20
2020-01-15T22:00:23.000Z
2022-02-07T05:32:09.000Z
TOD1/SoundEmitter.cpp
Michael0ne/TOD_tools
0e55b28b7001d8b7ce7c0e0811f27682349b41c9
[ "FSFAP" ]
2
2021-02-26T15:13:49.000Z
2021-11-28T17:35:05.000Z
TOD1/SoundEmitter.cpp
Michael0ne/TOD_tools
0e55b28b7001d8b7ce7c0e0811f27682349b41c9
[ "FSFAP" ]
1
2020-05-07T18:41:50.000Z
2020-05-07T18:41:50.000Z
#include "SoundEmitter.h"
25
25
0.8
Michael0ne
d9b7937809b3d4c193c135c9dee0c3585b0d2253
5,655
cpp
C++
Plugins/CaptionMod/BaseUI.cpp
DrAbcrealone/MetaHookSv
db8306d325590a380a458758c8518519cab01891
[ "MIT" ]
31
2021-01-20T08:12:48.000Z
2022-03-29T16:47:50.000Z
Plugins/CaptionMod/BaseUI.cpp
DrAbcrealone/MetaHookSv
db8306d325590a380a458758c8518519cab01891
[ "MIT" ]
118
2021-02-04T17:57:48.000Z
2022-03-31T13:03:21.000Z
Plugins/CaptionMod/BaseUI.cpp
DrAbcrealone/MetaHookSv
db8306d325590a380a458758c8518519cab01891
[ "MIT" ]
13
2021-01-21T01:43:19.000Z
2022-03-15T04:51:19.000Z
#include <metahook.h> #include "BaseUI.h" #include <VGUI\IScheme.h> #include <VGUI\ILocalize.h> #include <VGUI\ISurface.h> #include <VGUI\IInput.h> #include "FontTextureCache.h" #include <IEngineSurface.h> #include "vgui_internal.h" #include "IKeyValuesSystem.h" #include "exportfuncs.h" #include "engfuncs.h" namespace...
33.070175
143
0.774536
DrAbcrealone
d9b84a0b3afa685a84f54b3760a003bfa5cc9178
2,398
cc
C++
capstone.cc
justinleona/capstone
4a525cad12fba07a43452776a0e289148f04a12d
[ "MIT" ]
1
2021-06-26T05:32:43.000Z
2021-06-26T05:32:43.000Z
capstone.cc
justinleona/capstone
4a525cad12fba07a43452776a0e289148f04a12d
[ "MIT" ]
2
2019-10-14T06:46:43.000Z
2019-10-18T04:34:20.000Z
capstone.cc
justinleona/capstone
4a525cad12fba07a43452776a0e289148f04a12d
[ "MIT" ]
null
null
null
#include "capstone.h" #include <functional> #include <iomanip> #include <iostream> #include <memory> #include <string> using namespace std; using namespace std::placeholders; Capstone::Capstone(csh handle, const uint8_t* code, size_t size, uint64_t address) { this->handle = handle; this->code = code; this->size...
26.351648
120
0.675146
justinleona
d9bbd6d6f04f630898221d3c4142a9d7d015d8d6
12,223
cc
C++
src/xi_nub.cc
michaeljclark/xi
f8370784d8d92dad535a9ad2c30bf6b6b9eda87f
[ "ISC" ]
3
2020-12-17T14:38:23.000Z
2021-03-11T10:27:55.000Z
src/xi_nub.cc
michaeljclark/xi
f8370784d8d92dad535a9ad2c30bf6b6b9eda87f
[ "ISC" ]
null
null
null
src/xi_nub.cc
michaeljclark/xi
f8370784d8d92dad535a9ad2c30bf6b6b9eda87f
[ "ISC" ]
null
null
null
/* * xi_nub - atomically create child process hosting static function. * * Copyright (c) 2020 Michael Clark <michaeljclark@mac.com> * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permis...
26.98234
94
0.647468
michaeljclark
d9bdf03336aea3a8efe4f5bcbd3197263a397a62
1,843
cpp
C++
plugins/opengl/src/sdl/context.cpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
2
2016-01-27T13:18:14.000Z
2018-05-11T01:11:32.000Z
plugins/opengl/src/sdl/context.cpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
null
null
null
plugins/opengl/src/sdl/context.cpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
3
2018-05-11T01:11:34.000Z
2021-04-24T19:47:45.000Z
// Copyright Carl Philipp Reh 2006 - 2019. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) #include <sge/opengl/backend/context.hpp> #include <sge/opengl/backend/current.hpp> #include <sge/o...
38.395833
99
0.686923
cpreh
d9bf04ef6338d62f898bf95d48d7996a7644a4b4
696
hpp
C++
webmock/api/application.hpp
mrk21/cpp-webmock
13a7b8362e2e84d47de45071956a43ac3005c58a
[ "MIT" ]
1
2021-05-01T15:05:47.000Z
2021-05-01T15:05:47.000Z
webmock/api/application.hpp
mrk21/cpp-webmock
13a7b8362e2e84d47de45071956a43ac3005c58a
[ "MIT" ]
13
2015-01-02T11:59:58.000Z
2015-01-19T05:27:06.000Z
webmock/api/application.hpp
mrk21/cpp-webmock
13a7b8362e2e84d47de45071956a43ac3005c58a
[ "MIT" ]
null
null
null
#ifndef WEBMOCK_API_APPLICATION_HPP #define WEBMOCK_API_APPLICATION_HPP #include <webmock/core/request.hpp> #include <webmock/core/stub_registry.hpp> #include <functional> namespace webmock { namespace api { struct application { using stub_not_found_callback_type = std::function<void(core::request const &...
24
88
0.632184
mrk21
d9c1c68ac81d35cb9e64bcafae2a489d45d035df
412
cpp
C++
Private/TB_GameMode.cpp
larsjsol/UE4_TurnBased
547a601cbeacec5b8380ec480b2764dd1822aedb
[ "MIT" ]
7
2015-02-13T23:07:00.000Z
2022-03-04T08:01:04.000Z
Private/TB_GameMode.cpp
larsjsol/UE4_TurnBased
547a601cbeacec5b8380ec480b2764dd1822aedb
[ "MIT" ]
null
null
null
Private/TB_GameMode.cpp
larsjsol/UE4_TurnBased
547a601cbeacec5b8380ec480b2764dd1822aedb
[ "MIT" ]
2
2019-06-25T06:38:18.000Z
2022-03-04T04:06:35.000Z
// Fill out your copyright notice in the Description page of Project Settings. #include "UE4_TurnBased.h" #include "TB_PlayerController.h" #include "TB_GameState.h" #include "TB_GameMode.h" ATB_GameMode::ATB_GameMode(const FObjectInitializer& ObjectInitializer) : Super(ObjectInitializer) { PlayerControllerClas...
21.684211
78
0.791262
larsjsol
d9c48862fa5ed07ac1b2a037ddcfd936d469c912
1,130
hpp
C++
include/primer/result.hpp
cbeck88/lua-primer
f6b96a24f96bc3bf03896aea0f758d76ae388fb9
[ "BSL-1.0" ]
14
2016-07-27T18:14:47.000Z
2018-06-15T19:54:10.000Z
include/primer/result.hpp
garbageslam/lua-primer
f6b96a24f96bc3bf03896aea0f758d76ae388fb9
[ "BSL-1.0" ]
5
2016-11-01T23:20:35.000Z
2016-11-29T21:09:53.000Z
include/primer/result.hpp
cbeck88/lua-primer
f6b96a24f96bc3bf03896aea0f758d76ae388fb9
[ "BSL-1.0" ]
2
2021-02-07T03:42:22.000Z
2021-02-10T14:12:00.000Z
// (C) Copyright 2015 - 2018 Christopher Beck // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE or copy at http://www.boost.org/LICENSE_1_0.txt) #pragma once /*** * Signaling object used to indicate how to terminate a lua function call. */ #include <primer/base.hpp...
20.178571
80
0.69292
cbeck88
d9c7fb61a4bcddf1a828f1f705d83b9910670b6e
188
hpp
C++
cracking/minmax/note2.hpp
ancientscience/ancientscience.github.io
2c8e3c6a8017164fd86fabaaa3343257cea54405
[ "MIT" ]
null
null
null
cracking/minmax/note2.hpp
ancientscience/ancientscience.github.io
2c8e3c6a8017164fd86fabaaa3343257cea54405
[ "MIT" ]
null
null
null
cracking/minmax/note2.hpp
ancientscience/ancientscience.github.io
2c8e3c6a8017164fd86fabaaa3343257cea54405
[ "MIT" ]
null
null
null
std::reverse_iterator( first_min_element(v.begin(), v.end(), std::less<int>())) == last_max_element(v.rbegin(), v.rend(), std::greater<int>())
26.857143
41
0.515957
ancientscience
d9cabd911f0da74bba3738036b546b9d8ad03c6b
696
cpp
C++
C++ Solutions/CodeChef/COVID_Pandemic_and_Long_Queue.cpp
LearnEarn-Fun/Competitive-Programming-Solutions
2c353bea49413e3f0f14b8980baf982881ad2c65
[ "MIT" ]
1
2021-02-06T04:24:05.000Z
2021-02-06T04:24:05.000Z
C++ Solutions/CodeChef/COVID_Pandemic_and_Long_Queue.cpp
hridaya423/Competitive-Programming-Solutions
2c353bea49413e3f0f14b8980baf982881ad2c65
[ "MIT" ]
null
null
null
C++ Solutions/CodeChef/COVID_Pandemic_and_Long_Queue.cpp
hridaya423/Competitive-Programming-Solutions
2c353bea49413e3f0f14b8980baf982881ad2c65
[ "MIT" ]
1
2021-11-13T18:46:55.000Z
2021-11-13T18:46:55.000Z
#include <iostream> using namespace std; void solve(){ int N; cin>>N; int count=0, flag=0; int arr[] = {0, 0, 0, 0, 0, 0}; for(int i=0; i<N; i++){ arr[5] = arr[4]; arr[4] = arr[3]; arr[3] = arr[2]; arr[2] = arr[1]; arr[1] = arr[0]; ...
16.571429
68
0.385057
LearnEarn-Fun
d9cbfc4923dbb225bdd48cd9da3b08dd90957b05
419
cpp
C++
week1/project1/b/main.cpp
Arnarish/3ViknaPizzaD-t
65e214dfccd7932c25082206fc2f9a360d7efa07
[ "MIT" ]
null
null
null
week1/project1/b/main.cpp
Arnarish/3ViknaPizzaD-t
65e214dfccd7932c25082206fc2f9a360d7efa07
[ "MIT" ]
null
null
null
week1/project1/b/main.cpp
Arnarish/3ViknaPizzaD-t
65e214dfccd7932c25082206fc2f9a360d7efa07
[ "MIT" ]
null
null
null
#include <iostream> #include <fstream> #include <string> using namespace std; int main(void) { string text; ofstream fout; fout.open("very_important_text.txt", ios::app); while (true) { cout << "Write whatever you wish, and it will be saved!" << endl; getline(cin, text); if (te...
18.217391
73
0.539379
Arnarish
d9ce696b6678b1ea7bc0d80d458017484ac5d36b
4,369
cpp
C++
tests/BitmapTransformerTest.cpp
coltorchen/android-skia
91bb0c6f4224715ab78e3f64ba471a42d5d5a307
[ "BSD-3-Clause" ]
2
2017-05-19T08:53:12.000Z
2017-08-28T11:59:26.000Z
tests/BitmapTransformerTest.cpp
coltorchen/android-skia
91bb0c6f4224715ab78e3f64ba471a42d5d5a307
[ "BSD-3-Clause" ]
2
2017-07-25T09:37:22.000Z
2017-08-04T07:18:56.000Z
tests/BitmapTransformerTest.cpp
coltorchen/android-skia
91bb0c6f4224715ab78e3f64ba471a42d5d5a307
[ "BSD-3-Clause" ]
2
2017-08-09T09:03:23.000Z
2020-05-26T09:14:49.000Z
/* * Copyright 2012 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ /** * Tests for SkBitmapTransformer.h and SkBitmapTransformer.cpp */ #include "Test.h" #include "SkBitmap.h" #include "SkBitmapTransformer.h" namespace skiatest { cla...
44.581633
100
0.585489
coltorchen
d9d0cd085c7da60b01c1d68ada67354e99ab1129
3,458
hpp
C++
src/tesseract/regression/LeastSquares.hpp
lambday/tesseract
b38cf14545940f3b227285a19d40907260f057e6
[ "MIT" ]
3
2015-01-09T08:15:28.000Z
2019-05-24T08:34:04.000Z
src/tesseract/regression/LeastSquares.hpp
lambday/tesseract
b38cf14545940f3b227285a19d40907260f057e6
[ "MIT" ]
null
null
null
src/tesseract/regression/LeastSquares.hpp
lambday/tesseract
b38cf14545940f3b227285a19d40907260f057e6
[ "MIT" ]
null
null
null
/* * The MIT License (MIT) * * Copyright (c) 2014 Soumyajit De * * 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,...
29.555556
87
0.707634
lambday
d9d0edfb4fc17c65fea6cc6e8f0bfcd9762bb869
5,514
cpp
C++
ELM_GUI_lib/ELM_GUI_lib/Device.cpp
therealddx/EagleLibraryManager
bc6dfb2f9dbbc6cf8d3145befdeb71e5c9c8e0e8
[ "MIT" ]
null
null
null
ELM_GUI_lib/ELM_GUI_lib/Device.cpp
therealddx/EagleLibraryManager
bc6dfb2f9dbbc6cf8d3145befdeb71e5c9c8e0e8
[ "MIT" ]
null
null
null
ELM_GUI_lib/ELM_GUI_lib/Device.cpp
therealddx/EagleLibraryManager
bc6dfb2f9dbbc6cf8d3145befdeb71e5c9c8e0e8
[ "MIT" ]
null
null
null
#include "Stdafx.h" #include "Device.h" namespace ELM_GUI_lib { Device::Device() { p = Package(); s = Symbol(); name = ""; XMLtext = ""; } Device::Device(std::string d_name) { /* <deviceset name="DUMMY"> <gates> </gates> <devices> <device name=""> <technologies> <te...
27.989848
113
0.673377
therealddx
d9d2a919f762ee2e36c64e4a2f3895827fc9c5ef
432
hpp
C++
src/lib/PageDownloader.hpp
alepez/bmrk
04db2646b42662b976b4f4a1a5fb414ca73df163
[ "MIT" ]
null
null
null
src/lib/PageDownloader.hpp
alepez/bmrk
04db2646b42662b976b4f4a1a5fb414ca73df163
[ "MIT" ]
null
null
null
src/lib/PageDownloader.hpp
alepez/bmrk
04db2646b42662b976b4f4a1a5fb414ca73df163
[ "MIT" ]
null
null
null
#ifndef PAGEDOWNLOADER_HPP_R1YIYM0U #define PAGEDOWNLOADER_HPP_R1YIYM0U #include "bmrk_fwd.hpp" #include <string> #include <future> namespace bmrk { /** * Download a document from a remote url */ class PageDownloader { public: /** * \return a future with the downloaded document */ virtual Future<String> ...
18.782609
62
0.722222
alepez
d9d4e63d8d4b6c32e7e6c337834673972631e779
881
cpp
C++
test/training_data/plag_original_codes/arc105_a_17340899_625_plag.cpp
xryuseix/SA-Plag
167f7a2b2fa81ff00fd5263772a74c2c5c61941d
[ "MIT" ]
13
2021-01-20T19:53:16.000Z
2021-11-14T16:30:32.000Z
test/training_data/plag_original_codes/arc105_a_17340899_625_plag.cpp
xryuseix/SA-Plag
167f7a2b2fa81ff00fd5263772a74c2c5c61941d
[ "MIT" ]
null
null
null
test/training_data/plag_original_codes/arc105_a_17340899_625_plag.cpp
xryuseix/SA-Plag
167f7a2b2fa81ff00fd5263772a74c2c5c61941d
[ "MIT" ]
null
null
null
/* 引用元:https://atcoder.jp/contests/arc105/tasks/arc105_a A - Fourtune CookiesEditorial Time Limit : 2 sec / Memory Limit : 1024 MB 配点 : 200 点 */ #include <iostream> using namespace std; /* -------------------- ここまでテンプレ -------------------- */ int main() { bool ans = 0; int a, b, c, d; cin >> a >> b >>...
24.472222
60
0.351873
xryuseix
d9d77ffbab03541fa6af3f727b65cf5a893d37b7
126,811
cpp
C++
src/capi/typeobject.cpp
vinzenz/pyston
211aa1dd5b163be7fbe0c0dac85c38b01c36afc2
[ "Apache-2.0", "BSD-2-Clause" ]
null
null
null
src/capi/typeobject.cpp
vinzenz/pyston
211aa1dd5b163be7fbe0c0dac85c38b01c36afc2
[ "Apache-2.0", "BSD-2-Clause" ]
null
null
null
src/capi/typeobject.cpp
vinzenz/pyston
211aa1dd5b163be7fbe0c0dac85c38b01c36afc2
[ "Apache-2.0", "BSD-2-Clause" ]
null
null
null
// Copyright (c) 2014-2015 Dropbox, 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 required by applicable law or agr...
37.253525
120
0.589003
vinzenz
d9d8aecc63c2ce097ee4d081d7b66de84f8aa770
288
cpp
C++
lib/except.cpp
kenavolic/nforce
34ca3ad924047f47c22c1db332b2da3885c5eed4
[ "Apache-2.0" ]
1
2019-05-01T19:13:02.000Z
2019-05-01T19:13:02.000Z
lib/except.cpp
kenavolic/nforce
34ca3ad924047f47c22c1db332b2da3885c5eed4
[ "Apache-2.0" ]
null
null
null
lib/except.cpp
kenavolic/nforce
34ca3ad924047f47c22c1db332b2da3885c5eed4
[ "Apache-2.0" ]
null
null
null
#include "nforce/core/except.h" namespace n4 { //------------------------------------- // Public nexcept::nexcept(const std::string &str, status_type s) : std::exception{}, m_status{s} {} status_type nexcept::status() const noexcept { return m_status; } } // namespace n4
26.181818
66
0.579861
kenavolic
d9d8ec9ad576d4e46bf8f3fa0027ec24fd06096c
2,552
cpp
C++
backend/Sensors/Sensor.cpp
Sorong/Smarrium
dc3a6b8e0d428e01b936679a8ca221c2b610b0f6
[ "MIT" ]
null
null
null
backend/Sensors/Sensor.cpp
Sorong/Smarrium
dc3a6b8e0d428e01b936679a8ca221c2b610b0f6
[ "MIT" ]
null
null
null
backend/Sensors/Sensor.cpp
Sorong/Smarrium
dc3a6b8e0d428e01b936679a8ca221c2b610b0f6
[ "MIT" ]
null
null
null
#include "./backend/Sensors/Sensor.h" #include <QDebug> Sensor::Sensor(int interval) { this->_id = QUuid::createUuid(); this->_interval = interval; this->lastCheckedHour = -1; start(interval); connect(this, SIGNAL(timeout()), this, SLOT(intervallElapsed())); //eventValueLog = {1.0f, 2.0f, 3.0f, ...
21.445378
116
0.604232
Sorong
d9dc6adc969a4aaaaf38afa04b249c5ef18249ed
1,398
cpp
C++
GraPhlAnPlugin.cpp
movingpictures83/GraPhlAn
80f59cc0327eb6454395559109d9010dc8204714
[ "MIT" ]
null
null
null
GraPhlAnPlugin.cpp
movingpictures83/GraPhlAn
80f59cc0327eb6454395559109d9010dc8204714
[ "MIT" ]
null
null
null
GraPhlAnPlugin.cpp
movingpictures83/GraPhlAn
80f59cc0327eb6454395559109d9010dc8204714
[ "MIT" ]
null
null
null
#include "PluginManager.h" #include <stdio.h> #include <stdlib.h> #include "GraPhlAnPlugin.h" void GraPhlAnPlugin::input(std::string file) { inputfile = file; annotateFlag = false; std::ifstream ifile(inputfile.c_str(), std::ios::in); while (!ifile.eof()) { std::string key, value; ifile >> key; if (key ==...
33.285714
142
0.650215
movingpictures83
d9e3e4a0826be431fa25cbbe29a862edbe9ed409
3,014
cpp
C++
1521/c.cpp
vladshablinsky/algo
815392708d00dc8d3159b4866599de64fa9d34fa
[ "MIT" ]
1
2021-10-24T00:46:37.000Z
2021-10-24T00:46:37.000Z
1521/c.cpp
vladshablinsky/algo
815392708d00dc8d3159b4866599de64fa9d34fa
[ "MIT" ]
null
null
null
1521/c.cpp
vladshablinsky/algo
815392708d00dc8d3159b4866599de64fa9d34fa
[ "MIT" ]
null
null
null
#include <iostream> #include <cstdio> #include <unordered_map> #include <vector> #include <cassert> #include <algorithm> #include <chrono> #include <random> using namespace std; void solve() { unsigned seed = std::chrono::system_clock::now().time_since_epoch().count(); unordered_map<int, int> mp; int n; cin ...
25.982759
96
0.500664
vladshablinsky
d9e50470ee21ab61a147555aaf145938bc90c2df
16,993
cpp
C++
shimmer/src/configuration.cpp
jasbok/libshimmer
794b0e27ee8492f46202efebd24dab32a7c5c1da
[ "MIT" ]
null
null
null
shimmer/src/configuration.cpp
jasbok/libshimmer
794b0e27ee8492f46202efebd24dab32a7c5c1da
[ "MIT" ]
null
null
null
shimmer/src/configuration.cpp
jasbok/libshimmer
794b0e27ee8492f46202efebd24dab32a7c5c1da
[ "MIT" ]
null
null
null
#include "configuration.h" #include "common/env.h" #include "common/file.h" #include "common/json.h" #include <sstream> namespace shimmer { const common::logger& config::logger = common::logger::get ( "shimmer::config" ); nlohmann::json config::merge ( const nlohmann::json& a, con...
31.009124
100
0.496852
jasbok
d9e897debb36785021c3255d4f5a1bdb1e3c0111
3,126
hpp
C++
cm730controller/include/cm730controller/cm730controller.hpp
threeal/ros2_cm730
2f5e3a60395405c4af6dcfb5a7c5a56ede921b09
[ "Apache-2.0" ]
1
2020-09-27T04:33:53.000Z
2020-09-27T04:33:53.000Z
cm730controller/include/cm730controller/cm730controller.hpp
threeal/ros2_cm730
2f5e3a60395405c4af6dcfb5a7c5a56ede921b09
[ "Apache-2.0" ]
null
null
null
cm730controller/include/cm730controller/cm730controller.hpp
threeal/ros2_cm730
2f5e3a60395405c4af6dcfb5a7c5a56ede921b09
[ "Apache-2.0" ]
null
null
null
// Copyright 2019 Bold Hearts // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
30.647059
98
0.769354
threeal
d9ec3646acd7ee895d51e55d3a494c7b51b0af94
592
cpp
C++
test-suite/generated-src/jni/NativeJavaOnlyListener.cpp
ggilles/djinni
f8b6b6bdd4ef95d63b78d2640b415f3636e58fa5
[ "Apache-2.0" ]
null
null
null
test-suite/generated-src/jni/NativeJavaOnlyListener.cpp
ggilles/djinni
f8b6b6bdd4ef95d63b78d2640b415f3636e58fa5
[ "Apache-2.0" ]
null
null
null
test-suite/generated-src/jni/NativeJavaOnlyListener.cpp
ggilles/djinni
f8b6b6bdd4ef95d63b78d2640b415f3636e58fa5
[ "Apache-2.0" ]
null
null
null
// AUTOGENERATED FILE - DO NOT MODIFY! // This file was generated by Djinni from single_language_interfaces.djinni #include "NativeJavaOnlyListener.hpp" // my header namespace djinni_generated { NativeJavaOnlyListener::NativeJavaOnlyListener() : ::djinni::JniInterface<::testsuite::JavaOnlyListener, NativeJavaOnlyLi...
32.888889
133
0.785473
ggilles
d9ecd7a377e127ff44518c0ae390d90fed546d81
2,134
cpp
C++
SensorPi/src/ui.cpp
tfrec-kalcsits/SensorSystem
04a66cb3c30dc7b9fbbf1e0b9cc7747fe03b6950
[ "MIT" ]
2
2018-06-30T06:05:29.000Z
2021-08-24T22:34:19.000Z
SensorPi/src/ui.cpp
tfrec-kalcsits/SensorSystem
04a66cb3c30dc7b9fbbf1e0b9cc7747fe03b6950
[ "MIT" ]
13
2018-07-07T00:11:08.000Z
2018-09-05T02:49:11.000Z
SensorPi/src/ui.cpp
tfrec-kalcsits/SensorSystem
04a66cb3c30dc7b9fbbf1e0b9cc7747fe03b6950
[ "MIT" ]
null
null
null
#include <sensorpi/ui.h> #include <wiringPi.h> #include <mcp23017.h> #include <lcd.h> //functions taken from lcd-adafruit.c in wiringPi namespace sensorsystem { static void setBacklightColour (int colour) { colour &= 7 ; digitalWrite (AF_RED, !(colour & 1)) ; digitalWrite (AF_GREEN, !(colour & 2)) ; digit...
22
84
0.636364
tfrec-kalcsits
d9ed3409b8c5e807cd7ef53aff859ba86be8cffa
9,126
cpp
C++
src/bkGL/vao/VertexAttributePointer.cpp
BenKoehler/bk
53d9ce99cf54fe01dbb3b22ff2418cd102e20ee3
[ "MIT" ]
4
2018-12-08T15:35:38.000Z
2021-08-06T03:23:06.000Z
src/bkGL/vao/VertexAttributePointer.cpp
BenKoehler/bk
53d9ce99cf54fe01dbb3b22ff2418cd102e20ee3
[ "MIT" ]
null
null
null
src/bkGL/vao/VertexAttributePointer.cpp
BenKoehler/bk
53d9ce99cf54fe01dbb3b22ff2418cd102e20ee3
[ "MIT" ]
null
null
null
/* * MIT License * * Copyright (c) 2018-2019 Benjamin Köhler * * 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, c...
36.358566
113
0.623603
BenKoehler
d9edcbce7865b0e126ad3b005bc0448ce001ff11
7,233
cpp
C++
test/unit/type-analysis/DexTypeEnvironmentTest.cpp
agampe/redex
e49d6e26c10fedc7becf5b3ee2b76ea6f2610aae
[ "MIT" ]
null
null
null
test/unit/type-analysis/DexTypeEnvironmentTest.cpp
agampe/redex
e49d6e26c10fedc7becf5b3ee2b76ea6f2610aae
[ "MIT" ]
null
null
null
test/unit/type-analysis/DexTypeEnvironmentTest.cpp
agampe/redex
e49d6e26c10fedc7becf5b3ee2b76ea6f2610aae
[ "MIT" ]
null
null
null
/* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "DexTypeEnvironment.h" #include <boost/optional/optional_io.hpp> #include "Creators.h" #include "RedexTest.h" struct De...
28.932
66
0.7163
agampe
d9ef6378ff8a25a2feaa85428776e8cab4a6c3ee
3,621
cpp
C++
libraries/WiFlySerial/Examples/WFSv3/WFSEthernetServer.cpp
ternarylabs/orb
8c89894dc1eabfd99743f16d35786ff354dcc4e5
[ "MIT" ]
2
2017-06-22T16:56:06.000Z
2017-12-14T20:54:14.000Z
src/libraries/WiFlySerial/Examples/WFSv3/WFSEthernetServer.cpp
snrub/big-red-button
dbaaf6969959717de60ad57c933f11e2894621dc
[ "MIT" ]
null
null
null
src/libraries/WiFlySerial/Examples/WFSv3/WFSEthernetServer.cpp
snrub/big-red-button
dbaaf6969959717de60ad57c933f11e2894621dc
[ "MIT" ]
1
2020-05-21T14:00:46.000Z
2020-05-21T14:00:46.000Z
/* * WFSEthernetServer.cpp * Arduino Ethernet Server class for wifi devices * Based on Arduino 1.0 EthernetServer class * * Credits: * First to the Arduino Ethernet team for their model upon which this is based. * Modifications: * Copyright GPL 2.1 Tom Waldock 2012 Version 1.07 This library is free softwa...
28.289063
133
0.719967
ternarylabs
d9f1da1de600076dac730fcc06515fd69bed4b52
3,504
cpp
C++
production_apps/ESPRESO/src/input/generator/elements/3D/prisma15.cpp
readex-eu/readex-apps
38493b11806c306f4e8f1b7b2d97764b45fac8e2
[ "BSD-3-Clause" ]
2
2020-11-25T13:10:11.000Z
2021-03-15T20:26:35.000Z
production_apps/ESPRESO/src/input/generator/elements/3D/prisma15.cpp
readex-eu/readex-apps
38493b11806c306f4e8f1b7b2d97764b45fac8e2
[ "BSD-3-Clause" ]
null
null
null
production_apps/ESPRESO/src/input/generator/elements/3D/prisma15.cpp
readex-eu/readex-apps
38493b11806c306f4e8f1b7b2d97764b45fac8e2
[ "BSD-3-Clause" ]
1
2018-09-30T19:04:38.000Z
2018-09-30T19:04:38.000Z
#include "prisma15.h" #include "hexahedron20.h" #include "tetrahedron10.h" #include "../../../../mesh/elements/plane/triangle6.h" #include "../../../../mesh/elements/volume/prisma15.h" using namespace espreso::input; size_t Prisma15::subelements = 2; size_t Prisma15::subnodes[] = { 3, 3, 3 }; void Prisma15::addEle...
26.748092
134
0.675228
readex-eu
d9f26db61de0feadeb15def7a7c52cc7681c21e0
671
cpp
C++
1002.cpp
WhiteDOU/LeetCode
47fee5bfc74c1417a17e6bc426a356ce9864d2b2
[ "MIT" ]
1
2019-03-07T13:08:06.000Z
2019-03-07T13:08:06.000Z
1002.cpp
WhiteDOU/LeetCode
47fee5bfc74c1417a17e6bc426a356ce9864d2b2
[ "MIT" ]
null
null
null
1002.cpp
WhiteDOU/LeetCode
47fee5bfc74c1417a17e6bc426a356ce9864d2b2
[ "MIT" ]
null
null
null
class Solution { public: vector<string> commonChars(vector<string> &A) { int mem[100][27]; vector<string> ans; for (int i = 0; i < 100; ++i) { for (int j = 0; j < 27; ++j) { mem[i][j] = 0; } } for (int i = 0; i < A.size(); ++i) { for (int j = 0; j < A[i].length(); ++j) { char tem...
15.25
46
0.435171
WhiteDOU
d9f35e6d4889e81b956f3e104f23722883ad65eb
6,971
cc
C++
unittest/core_engine_wide_and_deep_executor_test.cc
ComputationalAdvertising/openmi
1d986ada6c57fecf482f4b8dc4d2488cb0189a3e
[ "Apache-2.0" ]
null
null
null
unittest/core_engine_wide_and_deep_executor_test.cc
ComputationalAdvertising/openmi
1d986ada6c57fecf482f4b8dc4d2488cb0189a3e
[ "Apache-2.0" ]
null
null
null
unittest/core_engine_wide_and_deep_executor_test.cc
ComputationalAdvertising/openmi
1d986ada6c57fecf482f4b8dc4d2488cb0189a3e
[ "Apache-2.0" ]
null
null
null
#include <unordered_set> #include "executor.h" #include "session.h" #include "attr_value_utils.h" #include "base/protobuf_op.h" #include "base/logging.h" #include "openmi/idl/proto/engine.pb.h" #include "openmi/idl/proto/communication.pb.h" using namespace openmi; Tensor* GetTensor(Executor& exec, std::string name) {...
34.855
103
0.619136
ComputationalAdvertising
d9f8e509dbecfd4c7958720f2a97d8c09e60f6d3
15,685
cpp
C++
mc_rtc_rviz_panel/src/PlotWidget.cpp
mmurooka/mc_rtc_ros
781b67729cd9375f558d55b190e77fee1993ca4e
[ "BSD-2-Clause" ]
null
null
null
mc_rtc_rviz_panel/src/PlotWidget.cpp
mmurooka/mc_rtc_ros
781b67729cd9375f558d55b190e77fee1993ca4e
[ "BSD-2-Clause" ]
null
null
null
mc_rtc_rviz_panel/src/PlotWidget.cpp
mmurooka/mc_rtc_ros
781b67729cd9375f558d55b190e77fee1993ca4e
[ "BSD-2-Clause" ]
null
null
null
#include "PlotWidget.h" #include <qwt_global.h> #if QWT_VERSION < 0x060100 # error "This requires Qwt >= 6.1.0 to build" #endif #include <qwt_plot_renderer.h> #include <qwt_plot_shapeitem.h> #include <qwt_symbol.h> namespace mc_rtc_rviz { namespace { using Color = mc_rtc::gui::Color; using Side = mc_rtc::gui::plo...
25.015949
116
0.658145
mmurooka
d9f9fd1eb20c152228eb50c6306f2dfad2bc4816
1,102
cpp
C++
ihm/src/sationsmeteo.cpp
etiennelndr/ihm_voilierautonome
8859c634a435fcbbe05093e38fc2ae345288a6f1
[ "MIT" ]
null
null
null
ihm/src/sationsmeteo.cpp
etiennelndr/ihm_voilierautonome
8859c634a435fcbbe05093e38fc2ae345288a6f1
[ "MIT" ]
null
null
null
ihm/src/sationsmeteo.cpp
etiennelndr/ihm_voilierautonome
8859c634a435fcbbe05093e38fc2ae345288a6f1
[ "MIT" ]
2
2018-09-26T13:14:02.000Z
2018-10-23T13:51:25.000Z
#include "sationsmeteo.h" #include "ui_sationsmeteo.h" #include "mainwindow.h" /** * CONSTRUCTOR * * @brief StationsMeteo::StationsMeteo : TODO * @param parent */ StationsMeteo::StationsMeteo(QWidget *parent) : QDialog(parent), ui(new Ui::StationsMeteo) { ui->setupUi(this); } /** * DESTRUCTOR * * @brief S...
22.958333
109
0.693285
etiennelndr
d9fa341332c3fe9081905474b42b48e22e5b3d8d
1,440
cpp
C++
Assignment 2/main.cpp
John-Ghaly88/ProgrammingIII_CPP_Course
4a6d37d192d0035e07771e7586308623a3f28377
[ "MIT" ]
null
null
null
Assignment 2/main.cpp
John-Ghaly88/ProgrammingIII_CPP_Course
4a6d37d192d0035e07771e7586308623a3f28377
[ "MIT" ]
null
null
null
Assignment 2/main.cpp
John-Ghaly88/ProgrammingIII_CPP_Course
4a6d37d192d0035e07771e7586308623a3f28377
[ "MIT" ]
null
null
null
// make sure you include your own header file with the righ name . // make sure you implement the methods using the same signature as the assignment #include <iostream> #include "dlist.h" #include "dlist.cpp" using namespace std; int main(int argc, char* argv[]) { DList queue; initializeDList(queue); //inse...
26.666667
97
0.647222
John-Ghaly88
d9fd9a2e05f7dfc05a1523451347f594e202ba1b
1,617
cpp
C++
ReduceSum/main_cuda.cpp
qiao-bo/halide-app-private
e78f90d6346c03e84199356aab08110381bac6a5
[ "MIT" ]
null
null
null
ReduceSum/main_cuda.cpp
qiao-bo/halide-app-private
e78f90d6346c03e84199356aab08110381bac6a5
[ "MIT" ]
null
null
null
ReduceSum/main_cuda.cpp
qiao-bo/halide-app-private
e78f90d6346c03e84199356aab08110381bac6a5
[ "MIT" ]
null
null
null
#include <iostream> #include <limits> #include "Halide.h" #include "halide_benchmark.h" #define WIDTH 65536 #define USE_AUTO using namespace Halide; using namespace Halide::Tools; class PipelineClass { public: Func output; Buffer<int> input; PipelineClass(Buffer<int> in) : input(in) { // Parallel reducti...
19.719512
58
0.619048
qiao-bo
d9ffa7a99ce2696459ad8e7b2b4f86b83c223b6d
438
cpp
C++
MoravaEngine/src/Mono/ConsoleGameLib/RandomWord.cpp
imgui-works/MoravaEngine_opengl_vulkan_2d_3d_game_engine
b8e6ee3c3c890e9b8cf5de7bcb564b32f6767b6b
[ "Apache-2.0" ]
168
2020-07-18T04:20:27.000Z
2022-03-31T23:39:38.000Z
MoravaEngine/src/Mono/ConsoleGameLib/RandomWord.cpp
imgui-works/MoravaEngine_opengl_vulkan_2d_3d_game_engine
b8e6ee3c3c890e9b8cf5de7bcb564b32f6767b6b
[ "Apache-2.0" ]
5
2020-11-23T12:33:06.000Z
2022-01-05T15:15:30.000Z
MoravaEngine/src/Mono/ConsoleGameLib/RandomWord.cpp
dtrajko/MoravaEngine
dab8a9e84bde6bdb5e979596c29cabccb566b9d4
[ "Apache-2.0" ]
8
2020-09-07T03:04:18.000Z
2022-03-25T13:47:16.000Z
#include "RandomWord.h" #include "RWord.h" #include <cstdlib> const char* CGL::getRandomWord() { // Word is null at begining const char* word = nullptr; // Get random value CGL_internal::RWord* ptrWord = CGL_internal::RWord::get(); if (ptrWord) { // Compute random value unsigned int randomValue = rand() ...
17.52
62
0.678082
imgui-works
8a015aaf02070aa5ab41f54da4b423aceab25dd1
1,018
cpp
C++
samples/snippets/cpp/VS_Snippets_CLR_Classic/classic ArrayList Example/CPP/source.cpp
hamarb123/dotnet-api-docs
6aeb55784944a2f1f5e773b657791cbd73a92dd4
[ "CC-BY-4.0", "MIT" ]
421
2018-04-01T01:57:50.000Z
2022-03-28T15:24:42.000Z
samples/snippets/cpp/VS_Snippets_CLR_Classic/classic ArrayList Example/CPP/source.cpp
hamarb123/dotnet-api-docs
6aeb55784944a2f1f5e773b657791cbd73a92dd4
[ "CC-BY-4.0", "MIT" ]
5,797
2018-04-02T21:12:23.000Z
2022-03-31T23:54:38.000Z
samples/snippets/cpp/VS_Snippets_CLR_Classic/classic ArrayList Example/CPP/source.cpp
hamarb123/dotnet-api-docs
6aeb55784944a2f1f5e773b657791cbd73a92dd4
[ "CC-BY-4.0", "MIT" ]
1,482
2018-03-31T11:26:20.000Z
2022-03-30T22:36:45.000Z
// <Snippet1> using namespace System; using namespace System::Collections; void PrintValues( IEnumerable^ myList ); int main() { // Creates and initializes a new ArrayList. ArrayList^ myAL = gcnew ArrayList; myAL->Add( "Hello" ); myAL->Add( "World" ); myAL->Add( "!" ); // Displa...
22.622222
62
0.586444
hamarb123
8a06805a3233bdb9a497400bef9eae588661a939
7,956
cc
C++
planner/predicate.cc
MiaoDragon/planet
54238a892ddf78ac3327665f4c6859681c6d4142
[ "MIT" ]
7
2020-10-11T08:23:42.000Z
2022-03-03T10:23:55.000Z
planner/predicate.cc
MiaoDragon/planet
54238a892ddf78ac3327665f4c6859681c6d4142
[ "MIT" ]
null
null
null
planner/predicate.cc
MiaoDragon/planet
54238a892ddf78ac3327665f4c6859681c6d4142
[ "MIT" ]
1
2020-06-17T21:03:46.000Z
2020-06-17T21:03:46.000Z
#include <stdexcept> #include "cspace.hh" #include "fmt/format.h" #include "predicate.hh" #include "predicate-impl.hh" constexpr char TRACEBACK_NAME[] = "err_func"; static int traceback(lua_State* L) { // 'message' not a string? if (!lua_isstring(L, 1)) { return 1; // Keep it intact } lua...
34.742358
99
0.651081
MiaoDragon
8a09851a7b473719a50e82b7a9cf3d0434812506
594
cpp
C++
ntuj/0163.cpp
dk00/old-stuff
e1184684c85fe9bbd1ceba58b94d4da84c67784e
[ "Unlicense" ]
null
null
null
ntuj/0163.cpp
dk00/old-stuff
e1184684c85fe9bbd1ceba58b94d4da84c67784e
[ "Unlicense" ]
null
null
null
ntuj/0163.cpp
dk00/old-stuff
e1184684c85fe9bbd1ceba58b94d4da84c67784e
[ "Unlicense" ]
null
null
null
#include<cstdio> #include<algorithm> int calc(int s[]) { int i,sum=0; for(i=1;i<4;i++) sum+=(s[i-1]-s[i])*(s[i-1]-s[i]); return sum; } main() { int i,j,a,b,min,s[6]; while(scanf("%d %d",&a,&b)==2 && a+b) { min=2147483647; for(i=1;i*i<=a;i++) if(a%i==0)for(j=1;...
19.8
41
0.340067
dk00
8a0b091ef9904d3ef700368612e82e5e3199c856
338
cpp
C++
C to C++/C to C++ 004/004.cpp
Jasonchan35/SimpleTalkCpp_Tutorial
b193074c25e33e77ce15004a053bcc037054282e
[ "MIT" ]
44
2017-11-08T14:20:55.000Z
2021-03-18T14:22:52.000Z
C to C++/C to C++ 004/004.cpp
Jasonchan35/SimpleTalkCpp_Tutorial
b193074c25e33e77ce15004a053bcc037054282e
[ "MIT" ]
null
null
null
C to C++/C to C++ 004/004.cpp
Jasonchan35/SimpleTalkCpp_Tutorial
b193074c25e33e77ce15004a053bcc037054282e
[ "MIT" ]
19
2017-08-01T12:59:29.000Z
2021-04-11T08:09:59.000Z
#define _CRT_SECURE_NO_WARNINGS #include "Student.h" static void HelperFunc() { printf("main helper"); } int main() { //class (type) a object (instance) Student a("John"); a.print(); a.print(); a.print(); printf("=== Program Ended ===\n"); printf("Press any to key to Exit !"); _getch()...
15.363636
39
0.585799
Jasonchan35
8a0b77669764613a4b62200578dc3e8743268d0d
168,987
cpp
C++
code_reading/oceanbase-master/src/share/schema/ob_schema_mgr.cpp
wangcy6/weekly_read
3a8837ee9cd957787ee1785e4066dd623e02e13a
[ "Apache-2.0" ]
null
null
null
code_reading/oceanbase-master/src/share/schema/ob_schema_mgr.cpp
wangcy6/weekly_read
3a8837ee9cd957787ee1785e4066dd623e02e13a
[ "Apache-2.0" ]
null
null
null
code_reading/oceanbase-master/src/share/schema/ob_schema_mgr.cpp
wangcy6/weekly_read
3a8837ee9cd957787ee1785e4066dd623e02e13a
[ "Apache-2.0" ]
1
2020-10-18T12:59:31.000Z
2020-10-18T12:59:31.000Z
/** * Copyright (c) 2021 OceanBase * OceanBase CE is licensed under Mulan PubL v2. * You can use this software according to the terms and conditions of the Mulan PubL v2. * You may obtain a copy of Mulan PubL v2 at: * http://license.coscl.org.cn/MulanPubL-2.0 * THIS SOFTWARE IS PROVIDED ON AN "AS IS" BAS...
41.02622
120
0.648174
wangcy6
8a0e09ff550a1aa92c0493279bdc6db8d3d6c2c0
1,863
cpp
C++
03-02-2018-lca/lca_rmq.cpp
rusucosmin/eMag---Hai-la-Olimpiada-
8adfa8e9cc6cf357e280a89e15b467c9cd77b2c2
[ "MIT" ]
null
null
null
03-02-2018-lca/lca_rmq.cpp
rusucosmin/eMag---Hai-la-Olimpiada-
8adfa8e9cc6cf357e280a89e15b467c9cd77b2c2
[ "MIT" ]
null
null
null
03-02-2018-lca/lca_rmq.cpp
rusucosmin/eMag---Hai-la-Olimpiada-
8adfa8e9cc6cf357e280a89e15b467c9cd77b2c2
[ "MIT" ]
null
null
null
#include <iostream> #include <fstream> #include <vector> using namespace std; const int maxn = 100005; const int maxk = 20; int n, m, dad[maxn], deep[maxn], euler[maxn * 2], K, euler_lvl[maxn * 2]; int rmq[maxk][2 * maxn], lg[2 * maxn], fst[maxn]; vector <int> g[maxn]; void dfs(int node) { euler[++ K] = node; e...
18.264706
73
0.421363
rusucosmin
8a0f7997112d1c424a2bc17f1baf02b54521cfe1
5,318
cpp
C++
ga/module/encoder-nvenc/NvEncoderCommandParser.cpp
zhongguocs/gaminganywhere
b96d09b5366caef75e6796040c0e5ebc0ad30680
[ "BSD-3-Clause" ]
756
2015-01-01T17:34:34.000Z
2022-03-24T14:35:25.000Z
ga/module/encoder-nvenc/NvEncoderCommandParser.cpp
zhongguocs/gaminganywhere
b96d09b5366caef75e6796040c0e5ebc0ad30680
[ "BSD-3-Clause" ]
81
2015-03-22T06:14:36.000Z
2022-02-20T18:45:00.000Z
ga/module/encoder-nvenc/NvEncoderCommandParser.cpp
zhongguocs/gaminganywhere
b96d09b5366caef75e6796040c0e5ebc0ad30680
[ "BSD-3-Clause" ]
303
2015-01-01T11:18:16.000Z
2022-01-18T20:52:27.000Z
//////////////////////////////////////////////////////////////////////////// // // Copyright 1993-2014 NVIDIA Corporation. All rights reserved. // // Please refer to the NVIDIA end user license agreement (EULA) associated // with this source code for terms and conditions that govern your use of // this software....
35.218543
111
0.535728
zhongguocs
8a123de67de9954635b45b6c38c8489ea9fb35d6
3,640
hxx
C++
image_loader.hxx
Sigill/itkVectorImageComposer
899f743eb62e05323e8c8ea998b5df7ee59a55cd
[ "Apache-2.0" ]
null
null
null
image_loader.hxx
Sigill/itkVectorImageComposer
899f743eb62e05323e8c8ea998b5df7ee59a55cd
[ "Apache-2.0" ]
null
null
null
image_loader.hxx
Sigill/itkVectorImageComposer
899f743eb62e05323e8c8ea998b5df7ee59a55cd
[ "Apache-2.0" ]
null
null
null
#ifndef IMAGE_LOADER_HXX #define IMAGE_LOADER_HXX #include "image_loader.h" #include <ostream> #include <algorithm> #include <boost/filesystem.hpp> #include <boost/regex.hpp> #include "log4cxx/logger.h" #include "itkImageFileReader.h" #include "itkImageSeriesReader.h" template <typename TImageType> typename TImag...
25.815603
126
0.682418
Sigill
8a12ef3f57a57c7bc0255930d13bd156353dbf09
500
hpp
C++
include/CppML/Vocabulary/Value.hpp
changjurhee/CppML
6d4cc6d0dd2fa3055823f191dc7fe953e4966fc5
[ "MIT" ]
48
2019-05-14T10:07:08.000Z
2021-04-08T08:26:20.000Z
include/CppML/Vocabulary/Value.hpp
changjurhee/CppML
6d4cc6d0dd2fa3055823f191dc7fe953e4966fc5
[ "MIT" ]
null
null
null
include/CppML/Vocabulary/Value.hpp
changjurhee/CppML
6d4cc6d0dd2fa3055823f191dc7fe953e4966fc5
[ "MIT" ]
4
2019-11-18T15:35:32.000Z
2021-12-02T05:23:04.000Z
/** * Copyright Žiga Sajovic, XLAB 2019 * Distributed under the MIT License * * https://github.com/ZigaSajovic/CppML **/ #ifndef CPPML_VALUE_HPP #define CPPML_VALUE_HPP namespace ml { /* * Value: * Represents a typed value * */ template <typename T, T t> struct Value { using type = T; static constexpr T va...
17.857143
46
0.674
changjurhee
8a1356ae8ff9ef2c3dfe56fc3070aadc5dcca86d
1,762
cpp
C++
SDK/ARKSurvivalEvolved_Tek_CloningChamber_Placement_Emitter_functions.cpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
10
2020-02-17T19:08:46.000Z
2021-07-31T11:07:19.000Z
SDK/ARKSurvivalEvolved_Tek_CloningChamber_Placement_Emitter_functions.cpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
9
2020-02-17T18:15:41.000Z
2021-06-06T19:17:34.000Z
SDK/ARKSurvivalEvolved_Tek_CloningChamber_Placement_Emitter_functions.cpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
3
2020-07-22T17:42:07.000Z
2021-06-19T17:16:13.000Z
// ARKSurvivalEvolved (329.9) SDK #ifdef _MSC_VER #pragma pack(push, 0x8) #endif #include "ARKSurvivalEvolved_Tek_CloningChamber_Placement_Emitter_parameters.hpp" namespace sdk { //--------------------------------------------------------------------------- //Functions //---------------------------------------------...
30.912281
191
0.749716
2bite
8a143237f683fb14868fa0580fee67ee7e8ff0ed
973
cpp
C++
0901-1000/1000-Minimum Cost to Merge Stones/1000-Minimum Cost to Merge Stones.cpp
jiadaizhao/LeetCode
4ddea0a532fe7c5d053ffbd6870174ec99fc2d60
[ "MIT" ]
49
2018-05-05T02:53:10.000Z
2022-03-30T12:08:09.000Z
0901-1000/1000-Minimum Cost to Merge Stones/1000-Minimum Cost to Merge Stones.cpp
jolly-fellow/LeetCode
ab20b3ec137ed05fad1edda1c30db04ab355486f
[ "MIT" ]
11
2017-12-15T22:31:44.000Z
2020-10-02T12:42:49.000Z
0901-1000/1000-Minimum Cost to Merge Stones/1000-Minimum Cost to Merge Stones.cpp
jolly-fellow/LeetCode
ab20b3ec137ed05fad1edda1c30db04ab355486f
[ "MIT" ]
28
2017-12-05T10:56:51.000Z
2022-01-26T18:18:27.000Z
class Solution { public: int mergeStones(vector<int>& stones, int K) { if ((stones.size() -1) % (K - 1)) { return -1; } vector<int> presum(1 + stones.size()); for (int i = 0; i < stones.size(); ++i) { presum[i + 1] = presum[i] + stones[i]; } ...
31.387097
92
0.405961
jiadaizhao
8a16c01655e531689e15acb938a2ff977093b8c5
2,772
cc
C++
src/engine/Time.cc
skroon/dsmic-oakfoam
02f9b8ac6eb2b0aa97c461b80337e5273e83153f
[ "BSD-2-Clause" ]
2
2019-08-27T04:18:45.000Z
2021-04-20T23:14:24.000Z
src/engine/Time.cc
skroon/dsmic-oakfoam
02f9b8ac6eb2b0aa97c461b80337e5273e83153f
[ "BSD-2-Clause" ]
null
null
null
src/engine/Time.cc
skroon/dsmic-oakfoam
02f9b8ac6eb2b0aa97c461b80337e5273e83153f
[ "BSD-2-Clause" ]
null
null
null
#include "Time.h" #include "Parameters.h" Time::Time(Parameters *prms, float main, float overtime, int stones) : params(prms), base_main(main), base_overtime(overtime), base_stones(stones) { this->setupTimeForColors(); } Time::Time(Parameters *prms, float main) : params(prms), base_main(main), ...
22.536585
92
0.65873
skroon
8a1c02917a8be16ab96fc64890730c6cee695f6a
554
cpp
C++
lib/derived_libs/lib_routines/game_handler.cpp
mrbuzz/Network-Lib
b2a92e69d2446fdd21fa9a4e1d7f96bae2c9b664
[ "MIT" ]
null
null
null
lib/derived_libs/lib_routines/game_handler.cpp
mrbuzz/Network-Lib
b2a92e69d2446fdd21fa9a4e1d7f96bae2c9b664
[ "MIT" ]
null
null
null
lib/derived_libs/lib_routines/game_handler.cpp
mrbuzz/Network-Lib
b2a92e69d2446fdd21fa9a4e1d7f96bae2c9b664
[ "MIT" ]
null
null
null
#include "../../../include/game_handler.h" void * game_handler::run() { game_msg * msg; std::string message; std::cout << "[+] Thread game_handler running " << self() << "\n"; for(int i = 0; ;i++) { msg = _msg_pool.remove(); message = msg->get_message(); game_player * user = msg->get_dest(); ...
19.785714
87
0.563177
mrbuzz
8a1ca7667f1c19acb49674d2687a78694185d17d
12,724
cpp
C++
Common/network/src/socket_manager.cpp
deeptexas-ai/test
f06b798d18f2d53c9206df41406d02647004ce84
[ "MIT" ]
4
2021-10-20T09:18:06.000Z
2022-03-27T05:08:26.000Z
Common/network/src/socket_manager.cpp
deeptexas-ai/test
f06b798d18f2d53c9206df41406d02647004ce84
[ "MIT" ]
1
2021-11-05T03:28:41.000Z
2021-11-06T07:48:05.000Z
Common/network/src/socket_manager.cpp
deeptexas-ai/test
f06b798d18f2d53c9206df41406d02647004ce84
[ "MIT" ]
1
2021-12-13T16:04:22.000Z
2021-12-13T16:04:22.000Z
/** * \file socket_manager.cpp * \brief 网络套接字管理类函数的实现 */ #include "pch.h" #include "socket_manager.h" #include "shstd.h" #include "system.pb.h" using namespace shstd::hashmap; /*#define SM_MAX_CONNECT_CNT (65000) //支持的最大连接数 static uint32 SMSocketHash(const int32 &nSock) { return (uint32)nSock; }*/ name...
26.675052
160
0.530729
deeptexas-ai
8a1d20103c9724b90310138603b0ce1c0f513824
473
cpp
C++
Week16/790.cpp
bobsingh149/LeetCode
293ed4931960bf5b9a3d5c4331ba4dfddccfcd55
[ "MIT" ]
101
2021-02-26T14:32:37.000Z
2022-03-16T18:46:37.000Z
Week16/790.cpp
bobsingh149/LeetCode
293ed4931960bf5b9a3d5c4331ba4dfddccfcd55
[ "MIT" ]
null
null
null
Week16/790.cpp
bobsingh149/LeetCode
293ed4931960bf5b9a3d5c4331ba4dfddccfcd55
[ "MIT" ]
30
2021-03-09T05:16:48.000Z
2022-03-16T21:16:33.000Z
class Solution { public: int numTilings(int n) { vector<long long> dp (n+1, 0); long long modulo=1000000007; dp[0]=1; dp[1]=1; for(int i=2; i<=n; i++){ dp[i]+=dp[i-1]; dp[i]%=modulo; dp[i]+=dp[i-2]; dp[i]%=modulo; fo...
21.5
38
0.353066
bobsingh149
8a1e9c7a13fae2780526246fc2ed172f58ee3855
21,884
cpp
C++
super-knowledge-platform/skpServer/trunk/src/core/skpEvent.cpp
yefy/skp
a9fafa09eacd6a0a802ea6550efd30ace79e4a4f
[ "MIT" ]
null
null
null
super-knowledge-platform/skpServer/trunk/src/core/skpEvent.cpp
yefy/skp
a9fafa09eacd6a0a802ea6550efd30ace79e4a4f
[ "MIT" ]
null
null
null
super-knowledge-platform/skpServer/trunk/src/core/skpEvent.cpp
yefy/skp
a9fafa09eacd6a0a802ea6550efd30ace79e4a4f
[ "MIT" ]
null
null
null
#include "skpEvent.h" #include "skpEvent_p.h" #include "skpMallocPoolEx.h" #include "skpAutoFree.h" #include "skpLog.h" #define EPOLL_EVENT_LT 0 ///全部LT #define EPOLL_EVENT_ET 1 ///全部ET #define EPOLL_EVENT_LT_ET 2 ///LT ET一起支持 #define EPOLL_EVENT_TYPE EPOLL_EVENT_LT_ET #define NODE_TYPE_MAP 0 /...
27.218905
132
0.57919
yefy
8a21221e1ef0da6055b2f4d76c99b02d78331233
5,042
cpp
C++
source/AsioExpress/MessagePort/Ipc/IpcMessagePort.cpp
suhao/asioexpress
2f3453465934afdcdf4a575a2d933d86929b23c7
[ "BSL-1.0" ]
null
null
null
source/AsioExpress/MessagePort/Ipc/IpcMessagePort.cpp
suhao/asioexpress
2f3453465934afdcdf4a575a2d933d86929b23c7
[ "BSL-1.0" ]
null
null
null
source/AsioExpress/MessagePort/Ipc/IpcMessagePort.cpp
suhao/asioexpress
2f3453465934afdcdf4a575a2d933d86929b23c7
[ "BSL-1.0" ]
null
null
null
// Copyright Ross MacGregor 2013 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) #include "AsioExpress/pch.hpp" #include "AsioExpressConfig/config.hpp" #include "AsioExpress/...
28.011111
134
0.685244
suhao
8a21cf7896b3371bb278d275528697064f11dbae
5,784
cpp
C++
Source/bindings/v8/ScriptPromiseResolverTest.cpp
quanganh2627/bytm-x64-L-w05-2015_external_chromium_org_third_party_WebKit
20e637e67a0c272870ae4d78466a68bcb77af041
[ "BSD-3-Clause" ]
7
2017-07-13T10:34:54.000Z
2021-04-16T05:40:35.000Z
Source/bindings/v8/ScriptPromiseResolverTest.cpp
quanganh2627/bytm-x64-L-w05-2015_external_chromium_org_third_party_WebKit
20e637e67a0c272870ae4d78466a68bcb77af041
[ "BSD-3-Clause" ]
null
null
null
Source/bindings/v8/ScriptPromiseResolverTest.cpp
quanganh2627/bytm-x64-L-w05-2015_external_chromium_org_third_party_WebKit
20e637e67a0c272870ae4d78466a68bcb77af041
[ "BSD-3-Clause" ]
9
2017-07-13T12:33:20.000Z
2021-06-19T02:46:48.000Z
/* * Copyright (C) 2013 Google Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redistributions of source code must retain the above copyright * notice, this list of conditio...
30.765957
102
0.7111
quanganh2627
8a23faa51086448e9c124cfbce896418e4d8eaf3
31,397
cpp
C++
src/api/jsonutils.cpp
EnyoYoen/Fast-Discord
8d483a87d302370df770d47d311d16e95d6e3951
[ "MIT" ]
30
2021-09-18T15:50:30.000Z
2022-03-25T14:12:57.000Z
src/api/jsonutils.cpp
EnyoYoen/Fast-Discord
3fde017d67f6673205d0e7ff3de7cf2a572a6aec
[ "MIT" ]
3
2021-11-22T11:11:42.000Z
2021-12-11T12:28:26.000Z
src/api/jsonutils.cpp
EnyoYoen/Fast-Discord
8d483a87d302370df770d47d311d16e95d6e3951
[ "MIT" ]
2
2022-01-11T02:50:04.000Z
2022-01-22T14:04:33.000Z
#include "api/jsonutils.h" #include "api/message.h" #include "api/attachment.h" #include "api/user.h" #include "api/overwrite.h" #include "api/channel.h" #include "api/thread.h" #include "api/team.h" #include "api/application.h" #include "api/guildmember.h" #include "api/voice.h" #include "api/guild.h" #include "api/c...
29.845057
100
0.640093
EnyoYoen
8a25a15875699117cf78c6bb32662737f6769a76
5,579
cc
C++
evaluation/semi_dense_optical_flow/KITTI.cc
jjzhang166/videopp
f1421b16b8ffcefb3d1697460940d868e31ba79d
[ "MIT" ]
624
2015-01-05T16:40:41.000Z
2022-03-01T03:09:43.000Z
evaluation/semi_dense_optical_flow/KITTI.cc
jjzhang166/videopp
f1421b16b8ffcefb3d1697460940d868e31ba79d
[ "MIT" ]
10
2015-01-22T20:50:13.000Z
2018-05-15T10:41:34.000Z
evaluation/semi_dense_optical_flow/KITTI.cc
jjzhang166/videopp
f1421b16b8ffcefb3d1697460940d868e31ba79d
[ "MIT" ]
113
2015-01-19T11:58:35.000Z
2022-03-28T05:15:20.000Z
#include <opencv2/highgui.hpp> #include <iod/parse_command_line.hh> #include <iod/timer.hh> #include <gpof/gpof_ios.hh> #include <vpp/vpp.hh> #include <vpp/algorithms/video_extruder.hh> #include <vpp/utils/opencv_bridge.hh> #include <vpp/utils/opencv_utils.hh> #include <vpp/draw/draw_trajectories.hh> #include <evalu...
28.610256
101
0.53325
jjzhang166
8a2705444d86f835b50e88630b346e54a9168b24
11,754
cpp
C++
source/trt_engine/trt_network_crt/plugins/grid_sampler_plugin/grid_sampler_plugin.cpp
jinyouzhi/Forward
4d01f50fbc05e1a052bfe7c1f61f80ba865a8f88
[ "BSD-3-Clause" ]
491
2021-03-12T08:16:02.000Z
2022-03-30T02:25:18.000Z
source/trt_engine/trt_network_crt/plugins/grid_sampler_plugin/grid_sampler_plugin.cpp
jinyouzhi/Forward
4d01f50fbc05e1a052bfe7c1f61f80ba865a8f88
[ "BSD-3-Clause" ]
26
2021-03-17T09:09:27.000Z
2022-01-23T01:49:55.000Z
source/trt_engine/trt_network_crt/plugins/grid_sampler_plugin/grid_sampler_plugin.cpp
jinyouzhi/Forward
4d01f50fbc05e1a052bfe7c1f61f80ba865a8f88
[ "BSD-3-Clause" ]
67
2021-03-15T09:03:29.000Z
2022-03-30T04:19:02.000Z
// Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except // in compliance with the License. You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless ...
43.858209
100
0.623022
jinyouzhi
8a2d54b489bc1e899c9ffa6a8b293b8a74bd565f
619
hpp
C++
bunsan/pm/src/lib/repository/local_system.hpp
bacsorg/bacs
2b52feb9efc805655cdf7829cf77ee028d567969
[ "Apache-2.0" ]
null
null
null
bunsan/pm/src/lib/repository/local_system.hpp
bacsorg/bacs
2b52feb9efc805655cdf7829cf77ee028d567969
[ "Apache-2.0" ]
10
2018-02-06T14:46:36.000Z
2018-03-20T13:37:20.000Z
bunsan/pm/src/lib/repository/local_system.hpp
bacsorg/bacs
2b52feb9efc805655cdf7829cf77ee028d567969
[ "Apache-2.0" ]
1
2021-11-26T10:59:09.000Z
2021-11-26T10:59:09.000Z
#pragma once #include <bunsan/pm/repository.hpp> #include <bunsan/tempfile.hpp> #include <bunsan/utility/custom_resolver.hpp> #include <boost/noncopyable.hpp> namespace bunsan::pm { class repository::local_system : private boost::noncopyable { public: local_system(repository &self, const local_system_config &co...
19.967742
68
0.746365
bacsorg
8a3ab2bd30c7966be5148e16b3be5507d2109b73
22,929
cpp
C++
_dropped/cs2420-c++/assignment_04/assignment_04.cpp
clmay/school
a4780ca6f517614ab5a5d9a44d0c6d8bc00783b6
[ "MIT" ]
null
null
null
_dropped/cs2420-c++/assignment_04/assignment_04.cpp
clmay/school
a4780ca6f517614ab5a5d9a44d0c6d8bc00783b6
[ "MIT" ]
null
null
null
_dropped/cs2420-c++/assignment_04/assignment_04.cpp
clmay/school
a4780ca6f517614ab5a5d9a44d0c6d8bc00783b6
[ "MIT" ]
1
2019-12-26T20:32:31.000Z
2019-12-26T20:32:31.000Z
// Copyright 2020, Bradley Peterson, Weber State University, All rights reserved. #include <chrono> #include <iostream> #include <map> #include <sstream> using std::cerr; using std::cin; using std::cout; using std::endl; using std::string; using std::stringstream; //***************************************************...
30.2893
140
0.636094
clmay
8a3c87ddccb84137c5be1b49b56b7da005308f96
5,312
cpp
C++
message_sync/src/sync_visible.cpp
l756302098/ros_practice
4da8b4ddb25ada2e6f1adb3c0f8b34576aedf6b7
[ "MIT" ]
null
null
null
message_sync/src/sync_visible.cpp
l756302098/ros_practice
4da8b4ddb25ada2e6f1adb3c0f8b34576aedf6b7
[ "MIT" ]
null
null
null
message_sync/src/sync_visible.cpp
l756302098/ros_practice
4da8b4ddb25ada2e6f1adb3c0f8b34576aedf6b7
[ "MIT" ]
null
null
null
#include <message_filters/subscriber.h> #include <message_filters/synchronizer.h> #include <message_filters/sync_policies/approximate_time.h> #include "sensor_msgs/CompressedImage.h" #include "nav_msgs/Odometry.h" #include "std_msgs/String.h" #include "yidamsg/pointcloud_color.h" #include "boost/thread/thread.hpp" #in...
35.651007
216
0.704443
l756302098
8a454539e831ef699299d1f035c75bf42a7977fc
1,285
cpp
C++
src/tests/rng.cpp
jjbandit/game
c28affd868201d3151ca75a20883e7fb26e09302
[ "WTFPL" ]
null
null
null
src/tests/rng.cpp
jjbandit/game
c28affd868201d3151ca75a20883e7fb26e09302
[ "WTFPL" ]
null
null
null
src/tests/rng.cpp
jjbandit/game
c28affd868201d3151ca75a20883e7fb26e09302
[ "WTFPL" ]
null
null
null
#include <bonsai_types.h> #include <tests/test_utils.cpp> s32 main(s32 ArgCount, const char** Args) { TestSuiteBegin("RNG", ArgCount, Args); #if 0 random_series Entropy = {43215426453}; const u32 TableSize = 256; u32 HitTable[TableSize] = {}; u32 MaxValue = 0; memory_arena* Memory = AllocateArena(Megab...
19.469697
91
0.61323
jjbandit
8a45467f15bcfd2ae5452ce0bf768fb34d811ea3
1,764
cpp
C++
Gems/Atom/RPI/Code/Source/RPI.Builders/BuilderModule.cpp
cypherdotXd/o3de
bb90c4ddfe2d495e9c00ebf1e2650c6d603a5676
[ "Apache-2.0", "MIT" ]
11
2021-07-08T09:58:26.000Z
2022-03-17T17:59:26.000Z
Gems/Atom/RPI/Code/Source/RPI.Builders/BuilderModule.cpp
RoddieKieley/o3de
e804fd2a4241b039a42d9fa54eaae17dc94a7a92
[ "Apache-2.0", "MIT" ]
29
2021-07-06T19:33:52.000Z
2022-03-22T10:27:49.000Z
Gems/Atom/RPI/Code/Source/RPI.Builders/BuilderModule.cpp
RoddieKieley/o3de
e804fd2a4241b039a42d9fa54eaae17dc94a7a92
[ "Apache-2.0", "MIT" ]
4
2021-07-06T19:24:43.000Z
2022-03-31T12:42:27.000Z
/* * Copyright (c) Contributors to the Open 3D Engine Project. * For complete copyright and license terms please see the LICENSE at the root of this distribution. * * SPDX-License-Identifier: Apache-2.0 OR MIT * */ #include <AzCore/RTTI/RTTI.h> #include <AzCore/Module/Module.h> #include <Model/ModelExporterComp...
33.923077
100
0.672336
cypherdotXd
8a48d3123adb1a0ef856e62372e4ac7e6c70e767
1,135
cpp
C++
chapters/11/ex11_09.cpp
yG620/cpp_primer_5th_solutions
68fdb2e5167228a3d31ac31c221c1055c2500b91
[ "Apache-2.0" ]
null
null
null
chapters/11/ex11_09.cpp
yG620/cpp_primer_5th_solutions
68fdb2e5167228a3d31ac31c221c1055c2500b91
[ "Apache-2.0" ]
null
null
null
chapters/11/ex11_09.cpp
yG620/cpp_primer_5th_solutions
68fdb2e5167228a3d31ac31c221c1055c2500b91
[ "Apache-2.0" ]
null
null
null
// // ex11_09.cpp // Exercise 11.09 // // Created by yG620 on 20/9/16 // // @Brief > Define a map that associates words with a list of line // numbers on which the word might occur. // // @KeyPoint 1. bug: error: expected unqualified-id before ‘[’ token // fix: using WordLineNo = map<string...
23.163265
103
0.570044
yG620
8a4c4a694e4d71b62c94db219088095f88468dfb
1,057
cc
C++
src/ballistica/media/component/collide_model.cc
Benefit-Zebra/ballistica
eb85df82cff22038e74a2d93abdcbe9cd755d782
[ "MIT" ]
317
2020-04-04T00:33:10.000Z
2022-03-28T01:07:09.000Z
src/ballistica/media/component/collide_model.cc
Alshahriah/ballistica
326f6677a0118667e93ce9034849622ebef706fa
[ "MIT" ]
315
2020-04-04T22:33:10.000Z
2022-03-31T22:50:02.000Z
src/ballistica/media/component/collide_model.cc
Alshahriah/ballistica
326f6677a0118667e93ce9034849622ebef706fa
[ "MIT" ]
97
2020-04-04T01:32:17.000Z
2022-03-16T19:02:59.000Z
// Released under the MIT License. See LICENSE for details. #include "ballistica/media/component/collide_model.h" #include "ballistica/game/game_stream.h" #include "ballistica/python/class/python_class_collide_model.h" #include "ballistica/scene/scene.h" namespace ballistica { CollideModel::CollideModel(const std::...
23.488889
65
0.69158
Benefit-Zebra
8a4e26a8e4cf447fdc5689bdf4642f807eb67c7b
2,379
cpp
C++
Pacman/Debug.cpp
GeraldBostock/Pacman
db8b30f2f04a85678f01c7311a9cf706fdd31804
[ "MIT" ]
null
null
null
Pacman/Debug.cpp
GeraldBostock/Pacman
db8b30f2f04a85678f01c7311a9cf706fdd31804
[ "MIT" ]
null
null
null
Pacman/Debug.cpp
GeraldBostock/Pacman
db8b30f2f04a85678f01c7311a9cf706fdd31804
[ "MIT" ]
null
null
null
#include "Debug.h" Debug::Debug() { } Debug::~Debug() { } void Debug::init(SDL_Renderer* renderer, int windowWidth, int windowHeight) { if (TTF_Init() == -1) { printf("SDL_ttf could not initialize! SDL_ttf Error: %s\n", TTF_GetError()); } m_blendedRect = createDebugRect(windowWidth, windowHeight, render...
29.012195
120
0.733922
GeraldBostock
8a4e6c5abfd83ae41c2ef4295e4459fc715167db
547
cpp
C++
src/pyco_tree/pico_tree/_pyco_tree/_pyco_tree.cpp
Jaybro/pico_tree
c6f7fb798b60452add7d0e940c4a7737cd72a992
[ "MIT" ]
23
2020-07-19T23:03:01.000Z
2022-03-07T15:06:26.000Z
src/pyco_tree/pico_tree/_pyco_tree/_pyco_tree.cpp
Jaybro/pico_tree
c6f7fb798b60452add7d0e940c4a7737cd72a992
[ "MIT" ]
1
2021-01-26T16:53:16.000Z
2021-01-26T23:20:54.000Z
src/pyco_tree/pico_tree/_pyco_tree/_pyco_tree.cpp
Jaybro/pico_tree
c6f7fb798b60452add7d0e940c4a7737cd72a992
[ "MIT" ]
4
2021-03-04T14:03:28.000Z
2021-05-27T05:36:40.000Z
#include <pybind11/pybind11.h> #include <iostream> #include "darray.hpp" #include "def_core.hpp" #include "def_darray.hpp" #include "def_kd_tree.hpp" PYBIND11_MODULE(_pyco_tree, m) { m.doc() = "PicoTree is a module for nearest neighbor searches and range searches " "using a KdTree. It wraps the C++ Pic...
24.863636
78
0.725777
Jaybro
8a4f9ad140ed626e48096d30ccba9b6293f3575b
311
cpp
C++
code/controller/src/input/buttonEdge.cpp
ksmonkey123/moba3
77d5dbba528da391d82b8710fc4ce0959a031815
[ "MIT" ]
null
null
null
code/controller/src/input/buttonEdge.cpp
ksmonkey123/moba3
77d5dbba528da391d82b8710fc4ce0959a031815
[ "MIT" ]
11
2021-09-07T10:31:35.000Z
2021-11-01T18:19:12.000Z
code/controller/src/input/buttonEdge.cpp
ksmonkey123/moba3
77d5dbba528da391d82b8710fc4ce0959a031815
[ "MIT" ]
null
null
null
#include "buttonEdge.h" #include "buttons.h" ButtonEdge::ButtonEdge(byte buttonId) { this->buttonId = buttonId; } boolean ButtonEdge::test() { if (this->triggered != Buttons::read(this->buttonId)) { this->triggered = !this->triggered; return this->triggered; } return false; }
20.733333
59
0.643087
ksmonkey123
8a52f8bbfc86473a4bbca1b74a930f7e4cc77dcf
2,999
cpp
C++
src/util/models/modelitem.cpp
MellonQ/leechcraft
71cbb238d2dade56b3865278a6a8e6a58c217fc5
[ "BSL-1.0" ]
1
2017-01-12T07:05:45.000Z
2017-01-12T07:05:45.000Z
src/util/models/modelitem.cpp
MellonQ/leechcraft
71cbb238d2dade56b3865278a6a8e6a58c217fc5
[ "BSL-1.0" ]
null
null
null
src/util/models/modelitem.cpp
MellonQ/leechcraft
71cbb238d2dade56b3865278a6a8e6a58c217fc5
[ "BSL-1.0" ]
null
null
null
/********************************************************************** * LeechCraft - modular cross-platform feature rich internet client. * Copyright (C) 2006-2014 Georg Rudoy * * Boost Software License - Version 1.0 - August 17th, 2003 * * Permission is hereby granted, free of charge, to any person or organiz...
34.079545
102
0.687229
MellonQ
a437049631a5705c20e9dfdabb0254f5fc0d7722
618
hpp
C++
Scott_Sidoli Level 7 HW Submission/Exercise 3/Exercise73/lessThan.hpp
scottsidoli/C-for-Financial-Engineering---Baruch-Pre-MFE-Certificate
79c2fb297a85c914d5f0b8671bb17636801e3ce7
[ "MIT" ]
1
2021-11-05T08:14:37.000Z
2021-11-05T08:14:37.000Z
Scott_Sidoli Level 7 HW Submission/Exercise 3/Exercise73/lessThan.hpp
scottsidoli/C-for-Financial-Engineering---Baruch-Pre-MFE-Certificate
79c2fb297a85c914d5f0b8671bb17636801e3ce7
[ "MIT" ]
null
null
null
Scott_Sidoli Level 7 HW Submission/Exercise 3/Exercise73/lessThan.hpp
scottsidoli/C-for-Financial-Engineering---Baruch-Pre-MFE-Certificate
79c2fb297a85c914d5f0b8671bb17636801e3ce7
[ "MIT" ]
null
null
null
// Exercise 7.3 - STL Algorithms // // by Scott Sidoli // // 5-28-19 // // lessThan.hpp // // lessThan class with global function and function object. #ifndef lessThan_hpp #define lessThan_hpp extern double threshold; class lessThan { private: double boundary; // Threshold value public: l...
16.702703
66
0.658576
scottsidoli
a437b643959e89e896b98d0db8a85b7ed6181114
638
cpp
C++
003_CodeForces/Theatre_Square.cpp
Sahil1515/coding
2bd2a2257c8cac5a5c00b37e79bbb68a24e186d4
[ "RSA-MD" ]
null
null
null
003_CodeForces/Theatre_Square.cpp
Sahil1515/coding
2bd2a2257c8cac5a5c00b37e79bbb68a24e186d4
[ "RSA-MD" ]
null
null
null
003_CodeForces/Theatre_Square.cpp
Sahil1515/coding
2bd2a2257c8cac5a5c00b37e79bbb68a24e186d4
[ "RSA-MD" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int main() { long long int n, m, a; cin >> n >> m >> a; long long int res = 1; long long int left = (n / a); long long int top = (m / a); if(a==1) { res=(n*m); cout<<res; } else if (n * m <= a * a) cout << 1; ...
15.95
43
0.336991
Sahil1515
a439385e0bbb111129b6abaf7205130a96182ba2
1,835
cpp
C++
RenderCore/render/core/rendering/RenderScrollView.cpp
gubaojian/weexuikit
2eaf54e4c1f4a1c94398b0990ad9767e3ffb9213
[ "Apache-2.0" ]
46
2019-06-25T11:05:49.000Z
2021-12-31T04:47:53.000Z
RenderCore/render/core/rendering/RenderScrollView.cpp
gubaojian/weexuikit
2eaf54e4c1f4a1c94398b0990ad9767e3ffb9213
[ "Apache-2.0" ]
5
2019-10-16T06:54:37.000Z
2020-02-06T08:22:40.000Z
RenderCore/render/core/rendering/RenderScrollView.cpp
gubaojian/weexuikit
2eaf54e4c1f4a1c94398b0990ad9767e3ffb9213
[ "Apache-2.0" ]
18
2019-05-22T09:29:23.000Z
2021-04-28T02:12:42.000Z
// // Created by furture on 2018/10/29. // #include <render/platform/common/log.h> #include <render/platform/transforms/TranslateTransformOperation.h> #include "RenderScrollView.h" #include "RenderLayer.h" #include "RenderSliverBody.h" namespace blink{ RenderScrollView::RenderScrollView() { mRenderScrol...
29.126984
128
0.679019
gubaojian
a43a1975be6bc1664f07c5d1eea75494fde1e886
334
cpp
C++
src/main.cpp
kaidokert/MosquitoBorneDisease
b3584f12a9c3be2907360152c04032b213f19cd1
[ "BSD-3-Clause" ]
null
null
null
src/main.cpp
kaidokert/MosquitoBorneDisease
b3584f12a9c3be2907360152c04032b213f19cd1
[ "BSD-3-Clause" ]
8
2018-11-13T14:33:26.000Z
2018-11-23T18:01:38.000Z
src/main.cpp
kaidokert/MosquitoBorneDisease
b3584f12a9c3be2907360152c04032b213f19cd1
[ "BSD-3-Clause" ]
2
2019-08-05T07:21:28.000Z
2019-08-23T06:24:23.000Z
/* # main routines # # This file is part of SMosMod. # Copyright (c) 2017-2018, Imperial College London # For licensing information, see the LICENSE file distributed with the SMosMod # software package. */ #include <iostream> #include "world.hpp" #include "agent.hpp" int main() { std::cout << "Hi Ben\n"; ...
15.904762
79
0.676647
kaidokert
a43f462c5aab064b525b2a0f5661660a93c41e94
670
cpp
C++
Arrays/Monotonic Array/Solution1.cpp
jabbala-ai/competitive-programming
8ab4f3d291068e24b2ffe3e916f8f8a5c8f839c7
[ "MIT" ]
null
null
null
Arrays/Monotonic Array/Solution1.cpp
jabbala-ai/competitive-programming
8ab4f3d291068e24b2ffe3e916f8f8a5c8f839c7
[ "MIT" ]
null
null
null
Arrays/Monotonic Array/Solution1.cpp
jabbala-ai/competitive-programming
8ab4f3d291068e24b2ffe3e916f8f8a5c8f839c7
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <algorithm> #include <climits> using namespace std; bool breaksDirection(int direction, int previousInt, int currentInt) { int difference = currentInt - previousInt; if(direction > 0){ return direction < 0; } return direction >0; } // Time Complexity - O(N) // Spac...
18.611111
68
0.656716
jabbala-ai
a44378ec6a223a5b951c8fbc990324f48cbecfe6
1,366
cpp
C++
test/unit-tests/metafs/mim/mdpage_test.cpp
YongJin-Cho/poseidonos
c07a0240316d4536aa09f22d7977604f3650d752
[ "BSD-3-Clause" ]
null
null
null
test/unit-tests/metafs/mim/mdpage_test.cpp
YongJin-Cho/poseidonos
c07a0240316d4536aa09f22d7977604f3650d752
[ "BSD-3-Clause" ]
null
null
null
test/unit-tests/metafs/mim/mdpage_test.cpp
YongJin-Cho/poseidonos
c07a0240316d4536aa09f22d7977604f3650d752
[ "BSD-3-Clause" ]
null
null
null
#include "src/metafs/include/metafs_service.h" #include "src/metafs/mim/mdpage.h" #include "src/include/memory.h" #include "test/unit-tests/array_models/interface/i_array_info_mock.h" #include "test/unit-tests/metafs/include/metafs_mock.h" #include <gtest/gtest.h> namespace pos { TEST(MDPage, Mdpage_Normal) { co...
23.964912
69
0.685212
YongJin-Cho
a444168398f0f4149c70f26a6f2627bf0e3bec2f
3,239
cc
C++
Mu2eG4/src/addPointTrajectories.cc
bonventre/Offline
77db9d6368f27ab9401c690c2c2a4257ade6c231
[ "Apache-2.0" ]
null
null
null
Mu2eG4/src/addPointTrajectories.cc
bonventre/Offline
77db9d6368f27ab9401c690c2c2a4257ade6c231
[ "Apache-2.0" ]
1
2019-11-22T14:45:51.000Z
2019-11-22T14:50:03.000Z
Mu2eG4/src/addPointTrajectories.cc
bonventre/Offline
77db9d6368f27ab9401c690c2c2a4257ade6c231
[ "Apache-2.0" ]
2
2019-10-14T17:46:58.000Z
2020-03-30T21:05:15.000Z
// // Extract trajectories from the G4 internals and add them to the event. // Skip trajectories with too few points. // // $Id: addPointTrajectories.cc,v 1.5 2014/01/18 04:31:53 kutschke Exp $ // $Author: kutschke $ // $Date: 2014/01/18 04:31:53 $ // // Original author Rob Kutschke // // Notes: // 1) The data product ...
34.457447
89
0.654523
bonventre
a44480c119d80f046701fd4b6879a11dfcfc7a66
1,252
hpp
C++
openbmc/build/tmp/deploy/sdk/witherspoon-2019-08-08/sysroots/armv6-openbmc-linux-gnueabi/usr/src/debug/phosphor-dbus-monitor/1.0+gitAUTOINC+92907da08e-r1/git/src/watch.hpp
sotaoverride/backup
ca53a10b72295387ef4948a9289cb78ab70bc449
[ "Apache-2.0" ]
14
2021-11-04T07:47:37.000Z
2022-03-21T10:10:30.000Z
openbmc/build/tmp/deploy/sdk/witherspoon-2019-08-08/sysroots/armv6-openbmc-linux-gnueabi/usr/src/debug/phosphor-dbus-monitor/1.0+gitAUTOINC+92907da08e-r1/git/src/watch.hpp
sotaoverride/backup
ca53a10b72295387ef4948a9289cb78ab70bc449
[ "Apache-2.0" ]
4
2018-08-22T12:27:38.000Z
2022-03-04T06:44:48.000Z
openbmc/build/tmp/deploy/sdk/witherspoon-2019-08-08/sysroots/armv6-openbmc-linux-gnueabi/usr/src/debug/phosphor-dbus-monitor/1.0+gitAUTOINC+92907da08e-r1/git/src/watch.hpp
sotaoverride/backup
ca53a10b72295387ef4948a9289cb78ab70bc449
[ "Apache-2.0" ]
6
2021-11-02T10:56:19.000Z
2022-03-06T11:58:20.000Z
#pragma once #include "data_types.hpp" namespace phosphor { namespace dbus { namespace monitoring { /** @class Watch * @brief Watch interface. * * The start method is invoked by main() on all watches of any type * at application startup, to allow watches to perform custom setup * or initialization. Typical...
26.083333
75
0.691693
sotaoverride
a4448ded5c325147709398d0e9fec5960b2e9246
221
cpp
C++
cf/1140/a.cpp
tusikalanse/acm-icpc
20150f42752b85e286d812e716bb32ae1fa3db70
[ "MIT" ]
2
2021-06-09T12:27:07.000Z
2021-06-11T12:02:03.000Z
cf/1140/a.cpp
tusikalanse/acm-icpc
20150f42752b85e286d812e716bb32ae1fa3db70
[ "MIT" ]
1
2021-09-08T12:00:05.000Z
2021-09-08T14:52:30.000Z
cf/1140/a.cpp
tusikalanse/acm-icpc
20150f42752b85e286d812e716bb32ae1fa3db70
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int ans, n, a, mx; int main() { scanf("%d", &n); for(int i = 1; i <= n; ++i) { scanf("%d", &a); mx = max(mx, a); ans += i == mx; } printf("%d\n", ans); return 0; }
15.785714
30
0.484163
tusikalanse
a449dffe39d6b571b1878899ab40bf9a94d50dc9
3,293
hpp
C++
src/motioncore/utility/fiber_thread_pool/singleton_pooled_fixedsize_stack.hpp
Udbhavbisarya23/MOTION2NX
eb26f639d8c1729cebfa85dd3bf41b770cebe92b
[ "MIT" ]
6
2021-11-05T00:39:47.000Z
2022-02-26T16:42:55.000Z
src/motioncore/utility/fiber_thread_pool/singleton_pooled_fixedsize_stack.hpp
Udbhavbisarya23/MOTION2NX
eb26f639d8c1729cebfa85dd3bf41b770cebe92b
[ "MIT" ]
7
2021-11-07T06:53:00.000Z
2022-03-23T11:46:40.000Z
src/motioncore/utility/fiber_thread_pool/singleton_pooled_fixedsize_stack.hpp
Udbhavbisarya23/MOTION2NX
eb26f639d8c1729cebfa85dd3bf41b770cebe92b
[ "MIT" ]
7
2021-11-04T12:01:07.000Z
2022-03-29T12:15:23.000Z
// This file is adapted from context/pooled_fixedsize_stack.hpp of Boost 1.72.0. // Copyright Oliver Kowalke 2014 / Lennart Braun 2020 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) #ifnde...
31.970874
116
0.645308
Udbhavbisarya23
a44b6796e9dc3bb76fb39df63a71aca44cadcb98
475
cpp
C++
sources/Renderer/OpenGL/GLCoreProfile/GLCoreExtensions.cpp
beldenfox/LLGL
3a54125ebfa79bb06fccf8c413d308ff22186b52
[ "BSD-3-Clause" ]
1,403
2016-09-28T21:48:07.000Z
2022-03-31T23:58:57.000Z
sources/Renderer/OpenGL/GLCoreProfile/GLCoreExtensions.cpp
beldenfox/LLGL
3a54125ebfa79bb06fccf8c413d308ff22186b52
[ "BSD-3-Clause" ]
70
2016-10-13T20:15:58.000Z
2022-01-12T23:51:12.000Z
sources/Renderer/OpenGL/GLCoreProfile/GLCoreExtensions.cpp
beldenfox/LLGL
3a54125ebfa79bb06fccf8c413d308ff22186b52
[ "BSD-3-Clause" ]
122
2016-10-23T15:33:44.000Z
2022-03-07T07:41:23.000Z
/* * GLCoreExtensions.cpp * * This file is part of the "LLGL" project (Copyright (c) 2015-2019 by Lukas Hermanns) * See "LICENSE.txt" for license information. */ #include "GLCoreExtensions.h" namespace LLGL { #define LLGL_DEF_GL_EXT_PROCS // Include inline header for object definitions #include "GLCoreExten...
16.964286
86
0.606316
beldenfox
a44b8dc645cbe205aea2d0de308e8afefcf2b52d
3,302
cpp
C++
Source/VirtualMachine/Values/NumberValue.cpp
spencerparkin/Powder
2378c1d86c02ccd078e905b06c646777b074b9c0
[ "MIT" ]
1
2021-06-19T05:53:35.000Z
2021-06-19T05:53:35.000Z
Source/VirtualMachine/Values/NumberValue.cpp
spencerparkin/Powder
2378c1d86c02ccd078e905b06c646777b074b9c0
[ "MIT" ]
6
2021-07-29T05:44:03.000Z
2021-07-29T05:56:58.000Z
Source/VirtualMachine/Values/NumberValue.cpp
spencerparkin/Powder
2378c1d86c02ccd078e905b06c646777b074b9c0
[ "MIT" ]
null
null
null
#include "NumberValue.h" #include "UndefinedValue.h" #include "StringValue.h" #include "StringFormat.h" #include "BooleanValue.h" namespace Powder { NumberValue::NumberValue() { this->number = 0.0; } NumberValue::NumberValue(double number) { this->number = number; } /*virtual*/ NumberValue::~NumberValue()...
24.641791
131
0.668686
spencerparkin
a44d08b1a745b64adf235c554bf2802622cad15e
686
cc
C++
mediastreamtrack.cc
Step7750/go-webrtc
373c85055825f2668d4ae0e9d7e80a4f0952bde1
[ "BSD-3-Clause" ]
null
null
null
mediastreamtrack.cc
Step7750/go-webrtc
373c85055825f2668d4ae0e9d7e80a4f0952bde1
[ "BSD-3-Clause" ]
2
2019-03-13T05:28:30.000Z
2019-03-13T05:29:12.000Z
mediastreamtrack.cc
Step7750/go-webrtc
373c85055825f2668d4ae0e9d7e80a4f0952bde1
[ "BSD-3-Clause" ]
null
null
null
#include <_cgo_export.h> // Allow calling certain Go functions. #include "mediastreamtrack.h" #include "webrtc/api/mediastreaminterface.h" using namespace webrtc; const char* CGO_MediaStreamTrack_ID(CGO_MediaStreamTrack t) { return ((MediaStreamTrackInterface*)t)->id().c_str(); } bool CGO_MediaStreamTrack_Enable...
28.583333
98
0.790087
Step7750
a4569a35daa91f7a3d46db798aea0e059fe962fc
989
cc
C++
examples/string.cc
knocknote/libhtml5
46e18a9122097b4d681c91f0747aa78a20611cab
[ "MIT" ]
7
2019-08-29T05:22:05.000Z
2020-07-07T15:35:50.000Z
examples/string.cc
blastrain/libhtml5
46e18a9122097b4d681c91f0747aa78a20611cab
[ "MIT" ]
3
2019-07-12T09:43:31.000Z
2019-09-10T03:36:45.000Z
examples/string.cc
blastrain/libhtml5
46e18a9122097b4d681c91f0747aa78a20611cab
[ "MIT" ]
3
2019-10-25T05:35:30.000Z
2020-07-21T21:40:52.000Z
#include "libhtml5.h" static void stringTest() { { html5::string s = "hello world"; std::cout << s << std::endl; html5::console->log(s); } { std::string s = "hello"; html5::string s2 = s; s2 += "world"; std::cout << s2 << std::endl; } { ...
24.725
72
0.484328
knocknote
a45dbe8adcc031b4731466ff2dbd9a407a60b83f
4,144
cpp
C++
cmake/tests/cxx11_std_type_traits.cpp
brycelelbach/hpx
94582f5dc26e889cdcf80913975ff33b7f975285
[ "BSL-1.0" ]
3
2017-04-06T16:36:38.000Z
2018-05-19T11:28:54.000Z
cmake/tests/cxx11_std_type_traits.cpp
brycelelbach/hpx
94582f5dc26e889cdcf80913975ff33b7f975285
[ "BSL-1.0" ]
1
2018-08-13T17:42:55.000Z
2018-08-13T18:20:23.000Z
cmake/tests/cxx11_std_type_traits.cpp
brycelelbach/hpx
94582f5dc26e889cdcf80913975ff33b7f975285
[ "BSL-1.0" ]
2
2018-05-25T06:33:50.000Z
2019-02-25T20:09:13.000Z
//////////////////////////////////////////////////////////////////////////////// // Copyright (c) 2015 Agustin Berge // // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) ////////////////////////////////////////////...
33.152
80
0.669884
brycelelbach
a46099fe7b14fd6177cedd9034bd22c05d0a0431
826
hpp
C++
scratch/simulator/mutils.hpp
2535Rover/RoverSystem
300dd4d754bac2e4caff25ed1da244c109d289be
[ "Apache-2.0" ]
1
2018-10-16T02:32:49.000Z
2018-10-16T02:32:49.000Z
scratch/simulator/mutils.hpp
2535Rover/RoverSystem
300dd4d754bac2e4caff25ed1da244c109d289be
[ "Apache-2.0" ]
13
2018-10-23T20:35:10.000Z
2018-11-23T22:44:32.000Z
scratch/simulator/mutils.hpp
2535Rover/RoverSystem
300dd4d754bac2e4caff25ed1da244c109d289be
[ "Apache-2.0" ]
1
2018-10-16T03:11:39.000Z
2018-10-16T03:11:39.000Z
#ifndef MUTILS_H #define MUTILS_H #ifndef M_PI #define M_PI 3.1415926535 #endif struct Mat3f { float data[9]; }; void mat3f_zero_inplace(Mat3f* mat); Mat3f mat3f_zero_copy(); void mat3f_identity_inplace(Mat3f* mat); Mat3f mat3f_identity_copy(); void mat3f_projection_inplace(Mat3f* mat, float left, float right,...
29.5
107
0.789346
2535Rover
a46133e620f6a02c50affc1241cc1d7f8eb65411
13,049
cpp
C++
services/camera/libcameraservice/hidl/HidlCameraService.cpp
Dreadwyrm/lhos_frameworks_av
62c63ccfdf5c79a3ad9be4836f473da9398c671b
[ "Apache-2.0" ]
null
null
null
services/camera/libcameraservice/hidl/HidlCameraService.cpp
Dreadwyrm/lhos_frameworks_av
62c63ccfdf5c79a3ad9be4836f473da9398c671b
[ "Apache-2.0" ]
null
null
null
services/camera/libcameraservice/hidl/HidlCameraService.cpp
Dreadwyrm/lhos_frameworks_av
62c63ccfdf5c79a3ad9be4836f473da9398c671b
[ "Apache-2.0" ]
2
2021-07-08T07:42:11.000Z
2021-07-09T21:56:10.000Z
/* * Copyright (C) 2018 The Android Open Source Project * * 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 app...
41.823718
100
0.681278
Dreadwyrm
a462f206ae2aef8aadf617dcbb48b77567d6b1c9
18,876
cpp
C++
projects/physics/shape/shapepolytope.cpp
psryland/rylogic_code
f79e471fe0d6714c5e0cf8385ddc2a88ab2e082b
[ "CNRI-Python" ]
2
2020-11-11T16:19:04.000Z
2021-01-19T01:53:29.000Z
projects/physics/shape/shapepolytope.cpp
psryland/rylogic_code
f79e471fe0d6714c5e0cf8385ddc2a88ab2e082b
[ "CNRI-Python" ]
1
2020-07-27T09:00:21.000Z
2020-07-27T10:58:10.000Z
projects/physics/shape/shapepolytope.cpp
psryland/rylogic_code
f79e471fe0d6714c5e0cf8385ddc2a88ab2e082b
[ "CNRI-Python" ]
1
2021-04-04T01:39:55.000Z
2021-04-04T01:39:55.000Z
//********************************************* // Physics engine // Copyright (c) Rylogic Ltd 2006 //********************************************* #include "physics/utility/stdafx.h" #include "pr/physics/shape/shapepolytope.h" #include "pr/physics/shape/shape.h" #include "pr/physics/collision/contactmanifold...
36.16092
173
0.645211
psryland
a463c9f976c318b6903977d5688ed16e88207e0d
5,030
cpp
C++
NitroXMR/src/miner/crypto/CryptoNight.cpp
quartz010/XMR
bf9f462662ad80e7a7361c9844b02ef520b90431
[ "MIT" ]
4
2017-10-25T05:16:33.000Z
2018-10-25T14:22:30.000Z
NitroXMR/src/miner/crypto/CryptoNight.cpp
quartz010/XMR
bf9f462662ad80e7a7361c9844b02ef520b90431
[ "MIT" ]
null
null
null
NitroXMR/src/miner/crypto/CryptoNight.cpp
quartz010/XMR
bf9f462662ad80e7a7361c9844b02ef520b90431
[ "MIT" ]
3
2018-04-05T14:25:50.000Z
2018-10-25T14:22:32.000Z
/* XMRig * Copyright 2010 Jeff Garzik <jgarzik@pobox.com> * Copyright 2012-2014 pooler <pooler@litecoinpool.org> * Copyright 2014 Lucas Jones <https://github.com/lucasjones> * Copyright 2014-2016 Wolf9466 <https://github.com/OhGodAPet> * Copyright 2016 Jay D Dee <jayddee246@gmail.com> * C...
34.689655
141
0.716103
quartz010
a468ecf79ee24066e45867ca1d343e8bf12e8017
1,405
cpp
C++
C语言程序设计基础/H24. 爱刷题的PQ大神(选作).cpp
xiabee/BIT-CS
5d8d8331e6b9588773991a872c259e430ef1eae1
[ "Apache-2.0" ]
63
2021-01-10T02:32:17.000Z
2022-03-30T04:08:38.000Z
C语言程序设计基础/H24. 爱刷题的PQ大神(选作).cpp
xiabee/BIT-CS
5d8d8331e6b9588773991a872c259e430ef1eae1
[ "Apache-2.0" ]
2
2021-06-09T05:38:58.000Z
2021-12-14T13:53:54.000Z
C语言程序设计基础/H24. 爱刷题的PQ大神(选作).cpp
xiabee/BIT-CS
5d8d8331e6b9588773991a872c259e430ef1eae1
[ "Apache-2.0" ]
20
2021-01-12T11:49:36.000Z
2022-03-26T11:04:58.000Z
#include <stdio.h> #include <stdlib.h> #include <string.h> int cmp(const void *a, const void *b) { if (*((int*)a + 1) != *((int*)b + 1)) return -( *((int*)a + 1) - *((int*)b + 1) ); else { int na = *(int*)a; int nb = *(int*)b; char sa[15], sb[15]; int i = 0; while(na) { sa[i++] = na % 10 + '0'; na ...
16.927711
83
0.427758
xiabee
a46964e68b1f23bacee69105f0c84c5a0ef5168e
512
cpp
C++
20181002/G.cpp
webturing/NOIP2018FinalCamp
aef2945377fab154a916edcde6f300b53619430d
[ "MIT" ]
null
null
null
20181002/G.cpp
webturing/NOIP2018FinalCamp
aef2945377fab154a916edcde6f300b53619430d
[ "MIT" ]
null
null
null
20181002/G.cpp
webturing/NOIP2018FinalCamp
aef2945377fab154a916edcde6f300b53619430d
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int main() { ifstream cin("G.in"); vector<int> F(1, 1); for (int i = 2; i <= 9; i++) { F.push_back(F[F.size() - 1] * i); } // for (int i = 0; i < 9; i++) cout << F[i] << endl; int T; cin >> T; while (T--) { int n; cin >> n; for (int i = F.si...
18.285714
54
0.386719
webturing
a46d3da945cf26cea99d3ae1b42a5dcc459a2b7e
103
hpp
C++
SWB/Projekt-SWB-ALL/Projekt-SWB/lib/src/EURtoPLN.hpp
Mikbac/Engineering-studies
348e29ef0418d44dd0fc99cdb6c7883e2694bb30
[ "BSD-3-Clause" ]
null
null
null
SWB/Projekt-SWB-ALL/Projekt-SWB/lib/src/EURtoPLN.hpp
Mikbac/Engineering-studies
348e29ef0418d44dd0fc99cdb6c7883e2694bb30
[ "BSD-3-Clause" ]
null
null
null
SWB/Projekt-SWB-ALL/Projekt-SWB/lib/src/EURtoPLN.hpp
Mikbac/Engineering-studies
348e29ef0418d44dd0fc99cdb6c7883e2694bb30
[ "BSD-3-Clause" ]
null
null
null
#ifndef __EURTOPLN_HPP #define __EURTOPLN_HPP void printExchangeRateEURtoPLN(double value); #endif
11.444444
45
0.825243
Mikbac