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
float64
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
float64
1
77k
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
float64
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
653k
max_line_length
int64
6
990k
alphanum_fraction
float64
0.01
1
6cb79f7e758a5d04fe5e52a64dce35a1d3889185
5,718
cpp
C++
PCoreLib/PSpriteManager.cpp
bear1704/WindowsProgramming_Portfolio
83f1d763c73d08b82291aa894ef246558fdf0198
[ "Apache-2.0" ]
null
null
null
PCoreLib/PSpriteManager.cpp
bear1704/WindowsProgramming_Portfolio
83f1d763c73d08b82291aa894ef246558fdf0198
[ "Apache-2.0" ]
null
null
null
PCoreLib/PSpriteManager.cpp
bear1704/WindowsProgramming_Portfolio
83f1d763c73d08b82291aa894ef246558fdf0198
[ "Apache-2.0" ]
null
null
null
#include "PSpriteManager.h" PSpriteManager::~PSpriteManager() { } PSpriteManager::PSpriteManager() : kDamageFontLifetime(1.2f), kDamageFontGap(35.0f) { dmg_font_index_ = 0; } bool PSpriteManager::Init() { need_load_character_sprite_data_ = true; need_load_UI_sprite_data_ = true; need_load_map_sprite_data_ = tru...
24.331915
93
0.670689
6cbc9c2dd04de352a7b0435adf9d09dc022d85f5
16,072
cpp
C++
C++/BitwiseAutomation/src/BitwiseDevice.cpp
jimwaschura/Automation
f655feeea74ff22ebe44d8b68374ba6983748f60
[ "BSL-1.0" ]
null
null
null
C++/BitwiseAutomation/src/BitwiseDevice.cpp
jimwaschura/Automation
f655feeea74ff22ebe44d8b68374ba6983748f60
[ "BSL-1.0" ]
null
null
null
C++/BitwiseAutomation/src/BitwiseDevice.cpp
jimwaschura/Automation
f655feeea74ff22ebe44d8b68374ba6983748f60
[ "BSL-1.0" ]
null
null
null
/* BitwiseDevice.cpp */ //================================================================================ // BOOST SOFTWARE LICENSE // // Copyright 2020 BitWise Laboratories Inc. // Author.......Jim Waschura // Contact......info@bitwiselabs.com // //Permission is hereby granted, free of charge, to any person or organi...
26.048622
100
0.609072
6cc06d6376bfecabe157288efb31d8bac3dbc359
4,483
cpp
C++
Game_exe/release_mode/windows/obj/src/LuaSprite.cpp
hisatsuga/Salty-Psyche-Engine-Port-Main
0c6afc6ef57f6f6a8b83ff23bb6a26bb05117ab7
[ "Apache-2.0" ]
null
null
null
Game_exe/release_mode/windows/obj/src/LuaSprite.cpp
hisatsuga/Salty-Psyche-Engine-Port-Main
0c6afc6ef57f6f6a8b83ff23bb6a26bb05117ab7
[ "Apache-2.0" ]
null
null
null
Game_exe/release_mode/windows/obj/src/LuaSprite.cpp
hisatsuga/Salty-Psyche-Engine-Port-Main
0c6afc6ef57f6f6a8b83ff23bb6a26bb05117ab7
[ "Apache-2.0" ]
null
null
null
#include <hxcpp.h> #ifndef INCLUDED_LuaSprite #include <LuaSprite.h> #endif #ifndef INCLUDED_flixel_FlxBasic #include <flixel/FlxBasic.h> #endif #ifndef INCLUDED_flixel_FlxObject #include <flixel/FlxObject.h> #endif #ifndef INCLUDED_flixel_FlxSprite #include <flixel/FlxSprite.h> #endif #ifndef INCLUDED_flixel_util_IFl...
32.251799
130
0.73366
6cc1a112d67ec12acaf30219bc76756efd1f1df8
2,037
cpp
C++
Harbour.Space Scholarship Contest 2021-2022 (open for everyone, rated, Div. 1 + Div. 2)/Penalty.cpp
Yashdew/DSA
d211d3b53acd28879233e55b77745b60ff44410f
[ "MIT" ]
4
2021-04-13T11:04:45.000Z
2021-12-06T16:32:28.000Z
Harbour.Space Scholarship Contest 2021-2022 (open for everyone, rated, Div. 1 + Div. 2)/Penalty.cpp
Yashdew/DSA
d211d3b53acd28879233e55b77745b60ff44410f
[ "MIT" ]
null
null
null
Harbour.Space Scholarship Contest 2021-2022 (open for everyone, rated, Div. 1 + Div. 2)/Penalty.cpp
Yashdew/DSA
d211d3b53acd28879233e55b77745b60ff44410f
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; void solve() { string str; cin>>str; int countKick = 0; int TeamACount = 0; int TeamAMiss = 0; int TeamBCount = 0; int TeamBMiss = 0; for(int i=0;i<str.length();i++) { if(str[i]!='?') countKick++; ...
18.1875
55
0.355916
6cc7ebfc38ae550ad4e9b661c81ed1d1928a2211
1,676
cc
C++
mindspore/core/ops/sgd.cc
Vincent34/mindspore
a39a60878a46e7e9cb02db788c0bca478f2fa6e5
[ "Apache-2.0" ]
2
2021-07-08T13:10:42.000Z
2021-11-08T02:48:57.000Z
mindspore/core/ops/sgd.cc
peixinhou/mindspore
fcb2ec2779b753e95c762cf292b23bd81d1f561b
[ "Apache-2.0" ]
null
null
null
mindspore/core/ops/sgd.cc
peixinhou/mindspore
fcb2ec2779b753e95c762cf292b23bd81d1f561b
[ "Apache-2.0" ]
null
null
null
/** * Copyright 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 applicable law...
31.622642
106
0.75
6ccf736ce8c79a386b7fb782aeab63d50894f61e
17,669
cpp
C++
Samples/Audio/InGameChat/GameChatManager.cpp
acidburn0zzz/Xbox-GDK-Samples
0a998ca467f923aa04bd124a5e5ca40fe16c386c
[ "MIT" ]
1
2021-12-30T09:49:18.000Z
2021-12-30T09:49:18.000Z
Samples/Audio/InGameChat/GameChatManager.cpp
acidburn0zzz/Xbox-GDK-Samples
0a998ca467f923aa04bd124a5e5ca40fe16c386c
[ "MIT" ]
null
null
null
Samples/Audio/InGameChat/GameChatManager.cpp
acidburn0zzz/Xbox-GDK-Samples
0a998ca467f923aa04bd124a5e5ca40fe16c386c
[ "MIT" ]
null
null
null
//-------------------------------------------------------------------------------------- // GameChatManager.cpp // // Advanced Technology Group (ATG) // Copyright (C) Microsoft Corporation. All rights reserved. //-------------------------------------------------------------------------------------- #include "pc...
30.04932
147
0.585715
6cd8aa98628db3499b9e97bfc17f12997b10f1cd
5,353
cpp
C++
tests/test_rocketmodel.cpp
julienlopez/QRocketLaunchSimulator
132e979489b3b84a82c162df0209085d0a30fd8e
[ "MIT" ]
null
null
null
tests/test_rocketmodel.cpp
julienlopez/QRocketLaunchSimulator
132e979489b3b84a82c162df0209085d0a30fd8e
[ "MIT" ]
5
2015-02-19T09:25:15.000Z
2015-02-19T14:43:20.000Z
tests/test_rocketmodel.cpp
julienlopez/QRocketLaunchSimulator
132e979489b3b84a82c162df0209085d0a30fd8e
[ "MIT" ]
null
null
null
#include "rocketmodel.hpp" #include "external/json.h" #include <stdexcept> #include <gtest/gtest.h> using nlohmann::json; using boost::units::si::meters; using boost::units::si::kilograms; using boost::units::si::kilograms; using boost::units::si::newtons; using boost::units::si::seconds; TEST(TestRocketModel, Te...
31.674556
93
0.545302
6cdbfdcc116bfd837cf2f2c7c3e4ea3c6133e282
2,863
cxx
C++
Testing/Code/Review/itkQuadEdgeMeshDeletePointAndReorderIDsTest.cxx
kiranhs/ITKv4FEM-Kiran
0e4ab3b61b5fc4c736f04a73dd19e41390f20152
[ "BSD-3-Clause" ]
1
2018-04-15T13:32:43.000Z
2018-04-15T13:32:43.000Z
Testing/Code/Review/itkQuadEdgeMeshDeletePointAndReorderIDsTest.cxx
kiranhs/ITKv4FEM-Kiran
0e4ab3b61b5fc4c736f04a73dd19e41390f20152
[ "BSD-3-Clause" ]
null
null
null
Testing/Code/Review/itkQuadEdgeMeshDeletePointAndReorderIDsTest.cxx
kiranhs/ITKv4FEM-Kiran
0e4ab3b61b5fc4c736f04a73dd19e41390f20152
[ "BSD-3-Clause" ]
null
null
null
/*========================================================================= Program: Insight Segmentation & Registration Toolkit Module: itkQuadEdgeMeshDeletePointAndReorderIDsTest.cxx Language: C++ Date: $Date$ Version: $Revision$ Copyright (c) Insight Software Consortium. All rights reserve...
32.534091
76
0.592735
6ce00f14afefbfb0a2ae3437400170ca6b5116b9
1,983
cpp
C++
bionic/tests/getauxval_test.cpp
lihuibng/marshmallow
950cf8de3b4d63af9fc9699374e4ec45ad09b3a7
[ "Apache-2.0" ]
null
null
null
bionic/tests/getauxval_test.cpp
lihuibng/marshmallow
950cf8de3b4d63af9fc9699374e4ec45ad09b3a7
[ "Apache-2.0" ]
null
null
null
bionic/tests/getauxval_test.cpp
lihuibng/marshmallow
950cf8de3b4d63af9fc9699374e4ec45ad09b3a7
[ "Apache-2.0" ]
null
null
null
/* * Copyright (C) 2013 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...
30.984375
75
0.734241
6ce29b8024f9b9ce202b983bc21c6a2e703c7274
1,674
cpp
C++
src/Parsers/Kusto/ParserKQLStatement.cpp
DevTeamBK/ClickHouse
f65b5d21594a07afb017a7cdaa718c5d1caa257d
[ "Apache-2.0" ]
null
null
null
src/Parsers/Kusto/ParserKQLStatement.cpp
DevTeamBK/ClickHouse
f65b5d21594a07afb017a7cdaa718c5d1caa257d
[ "Apache-2.0" ]
1
2021-12-22T12:08:09.000Z
2021-12-22T12:08:09.000Z
src/Parsers/Kusto/ParserKQLStatement.cpp
DevTeamBK/ClickHouse
f65b5d21594a07afb017a7cdaa718c5d1caa257d
[ "Apache-2.0" ]
null
null
null
#include <Parsers/IParserBase.h> #include <Parsers/ParserSetQuery.h> #include <Parsers/ASTExpressionList.h> #include <Parsers/ASTSelectWithUnionQuery.h> #include <Parsers/Kusto/ParserKQLQuery.h> #include <Parsers/Kusto/ParserKQLStatement.h> #include <Parsers/Kusto/KustoFunctions/KQLFunctionFactory.h> namespace DB { bo...
27
90
0.725806
6ce2f0bd1655dd8a190e542fbb5626c3d2c83037
4,051
cpp
C++
src/wanderers/WildwoodRangers.cpp
rweyrauch/AoSSimulator
d2bfbbe0fab904cc543f1a01e62e0b82cf67c27b
[ "MIT" ]
5
2019-02-01T01:41:19.000Z
2021-06-17T02:16:13.000Z
src/wanderers/WildwoodRangers.cpp
rweyrauch/AoSSimulator
d2bfbbe0fab904cc543f1a01e62e0b82cf67c27b
[ "MIT" ]
2
2020-01-14T16:57:42.000Z
2021-04-01T00:53:18.000Z
src/wanderers/WildwoodRangers.cpp
rweyrauch/AoSSimulator
d2bfbbe0fab904cc543f1a01e62e0b82cf67c27b
[ "MIT" ]
1
2019-03-02T20:03:51.000Z
2019-03-02T20:03:51.000Z
/* * Warhammer Age of Sigmar battle simulator. * * Copyright (C) 2019 by Rick Weyrauch - rpweyrauch@gmail.com * * This code is licensed under the MIT license (MIT) (http://opensource.org/licenses/MIT) */ #include <wanderers/WildwoodRangers.h> #include <UnitFactory.h> namespace Wanderers { static const int g...
37.509259
147
0.602074
6ce582473817154716db84277cca72db93910d4f
6,679
cpp
C++
logview/emap.cpp
Hayesie88/emstudio
0ae4353e5dcaa76b6306ff0aabd5a89999c4dc1b
[ "MIT" ]
8
2015-11-16T19:15:55.000Z
2021-02-17T23:58:33.000Z
logview/emap.cpp
Hayesie88/emstudio
0ae4353e5dcaa76b6306ff0aabd5a89999c4dc1b
[ "MIT" ]
5
2015-11-12T00:19:59.000Z
2020-03-23T10:18:19.000Z
logview/emap.cpp
Hayesie88/emstudio
0ae4353e5dcaa76b6306ff0aabd5a89999c4dc1b
[ "MIT" ]
11
2015-03-15T23:02:48.000Z
2021-09-05T14:17:13.000Z
/************************************************************************************ * EMStudio - Open Source ECU tuning software * * Copyright (C) 2020 Michael Carpenter (malcom2073@gmail.com) * * ...
22.488215
110
0.558167
6ce6f867d811db392a875497c7fc888e43bb14c8
1,637
cpp
C++
font.cpp
dbralir/ludum-dare-26
4fabf578ae73839cdf2d10c733138d4d6f8c6606
[ "Unlicense", "MIT" ]
null
null
null
font.cpp
dbralir/ludum-dare-26
4fabf578ae73839cdf2d10c733138d4d6f8c6606
[ "Unlicense", "MIT" ]
null
null
null
font.cpp
dbralir/ludum-dare-26
4fabf578ae73839cdf2d10c733138d4d6f8c6606
[ "Unlicense", "MIT" ]
null
null
null
#include "font.hpp" #include "game.hpp" #include "meta.hpp" #include "inugami/texture.hpp" using namespace Inugami; Font::Font(const Texture& img, int tw, int th, float cx, float cy) : Spritesheet(img, tw, th, cx, cy) , tileW(tw/8) , tileH(th/8) , centerX(1.f-cx) , centerY(1.f-cy) {} Font::Font...
20.721519
84
0.516188
6ce937255dfb16470a99f4e23daa5ed0d3f136b6
1,864
cpp
C++
examples/LIDAR_GTAV/lib/utils.cpp
edward0im/A-virtual-LiDAR-for-DeepGTAV
0d43000d0b23b33f378af839825455234d824f5c
[ "MIT" ]
1
2020-08-27T03:21:25.000Z
2020-08-27T03:21:25.000Z
examples/LIDAR_GTAV/lib/utils.cpp
edward0im/A-virtual-LiDAR-for-DeepGTAV
0d43000d0b23b33f378af839825455234d824f5c
[ "MIT" ]
null
null
null
examples/LIDAR_GTAV/lib/utils.cpp
edward0im/A-virtual-LiDAR-for-DeepGTAV
0d43000d0b23b33f378af839825455234d824f5c
[ "MIT" ]
null
null
null
/* THIS FILE IS A PART OF GTA V SCRIPT HOOK SDK http://dev-c.com (C) Alexander Blade 2015 */ #include "utils.h" #include "script.h" #include <windows.h> extern "C" IMAGE_DOS_HEADER __ImageBase; // MSVC specific, with other compilers use HMODULE from DllMain std::string cachedModulePath; std::string GetCurren...
23.012346
104
0.696888
6cea6e5eee8d183f0ff1edaf91022bace48f3730
406
hpp
C++
include/CountingMutex.hpp
kamilturek/factory
6d74d3de53d6174e6e82e537be6dabd3ab5b3d9c
[ "MIT" ]
null
null
null
include/CountingMutex.hpp
kamilturek/factory
6d74d3de53d6174e6e82e537be6dabd3ab5b3d9c
[ "MIT" ]
2
2020-04-19T08:14:08.000Z
2020-04-19T11:05:10.000Z
include/CountingMutex.hpp
kamilturek/factory
6d74d3de53d6174e6e82e537be6dabd3ab5b3d9c
[ "MIT" ]
null
null
null
#pragma once #include <condition_variable> #include <mutex> // Inspired by C++20's std::counting_semaphore // Not available in any compiler on 15.05.2020 // Meets C++ BasicLockable requirements class CountingMutex { public: explicit CountingMutex(int max); void lock(); void unlock(); private: int c...
17.652174
46
0.699507
6cea7a6f7f044c2dffb0ce01d450072af9b3382b
426
hpp
C++
vendor/cucumber-cpp/include/cucumber-cpp/deprecated-defs.hpp
AndreasAugustin/Gherkin-Demos-cpp
79a4be81ee1fffce56ac503760a48a2b77d6d03f
[ "MIT" ]
1
2016-07-21T10:10:33.000Z
2016-07-21T10:10:33.000Z
vendor/cucumber-cpp/include/cucumber-cpp/deprecated-defs.hpp
AndreasAugustin/Gherkin-Demos-cpp
79a4be81ee1fffce56ac503760a48a2b77d6d03f
[ "MIT" ]
null
null
null
vendor/cucumber-cpp/include/cucumber-cpp/deprecated-defs.hpp
AndreasAugustin/Gherkin-Demos-cpp
79a4be81ee1fffce56ac503760a48a2b77d6d03f
[ "MIT" ]
null
null
null
#ifndef CUKE_DEPRECATED_DEFS_HPP_ #define CUKE_DEPRECATED_DEFS_HPP_ // ************************************************************************** // // ************** USING_CONTEXT ************** // // ************************************************************************** // #defin...
32.769231
80
0.377934
6cec06062eb24cc327758d2dbb829c50c046fd6a
71,997
cpp
C++
lib/FixpointSSI.cpp
ucsb-seclab/sasi
a406bd69728f5502bc618fc01782a48db6c3d3ea
[ "MIT" ]
30
2019-07-04T02:26:13.000Z
2021-09-02T18:22:24.000Z
lib/FixpointSSI.cpp
ucsb-seclab/sasi
a406bd69728f5502bc618fc01782a48db6c3d3ea
[ "MIT" ]
null
null
null
lib/FixpointSSI.cpp
ucsb-seclab/sasi
a406bd69728f5502bc618fc01782a48db6c3d3ea
[ "MIT" ]
10
2019-08-05T21:15:47.000Z
2020-03-31T02:57:11.000Z
// Authors: Jorge. A Navas, Peter Schachte, Harald Sondergaard, and // Peter J. Stuckey. // The University of Melbourne 2012. ////////////////////////////////////////////////////////////////////////////// /// \file FixpointSSI.cpp /// Iterative Forward Abstract Interpreter /////////////////////////////...
35.309956
99
0.618095
6ced20f0600803efff41094c392434fd0bb6d9b4
749
hpp
C++
fuji/inc/m4c0/fuji/main_loop_thread.hpp
m4c0/m4c0-stl
5e47439528faee466270706534143c87b4af8cbb
[ "MIT" ]
null
null
null
fuji/inc/m4c0/fuji/main_loop_thread.hpp
m4c0/m4c0-stl
5e47439528faee466270706534143c87b4af8cbb
[ "MIT" ]
null
null
null
fuji/inc/m4c0/fuji/main_loop_thread.hpp
m4c0/m4c0-stl
5e47439528faee466270706534143c87b4af8cbb
[ "MIT" ]
null
null
null
#pragma once #include "m4c0/fuji/main_loop.hpp" #include "m4c0/log.hpp" #include "m4c0/vulkan/surface.hpp" #include <thread> namespace m4c0::fuji { /// \brief Convenience for running a main_loop in a different thread template<class MainLoopTp> class main_loop_thread { MainLoopTp m_loop; std::thread m_t...
22.69697
95
0.631509
6ceeacdb54036d96fb8d83ffd01f48958a18a5f3
5,652
hpp
C++
private/inc/avb_streamhandler/IasLocalVideoBuffer.hpp
tnishiok/AVBStreamHandler
7621daf8c9238361e030fe35188b921ee8ea2466
[ "BSL-1.0", "BSD-3-Clause" ]
13
2018-09-26T13:32:35.000Z
2021-05-20T10:01:12.000Z
private/inc/avb_streamhandler/IasLocalVideoBuffer.hpp
keerockl/AVBStreamHandler
c0c9aa92656ae0acd0f57492d4f325eee2f7d13b
[ "BSD-3-Clause" ]
23
2018-10-03T22:45:21.000Z
2020-03-05T23:40:12.000Z
private/inc/avb_streamhandler/IasLocalVideoBuffer.hpp
keerockl/AVBStreamHandler
c0c9aa92656ae0acd0f57492d4f325eee2f7d13b
[ "BSD-3-Clause" ]
22
2018-09-14T03:55:34.000Z
2021-12-07T01:13:27.000Z
/* * Copyright (C) 2018 Intel Corporation. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ /** * @file IasLocalVideoBuffer.hpp * @brief This class contains all methods to access the ring buffers * @details Each local Video stream handles its data via a * separate ring buffer. * ...
21.992218
114
0.633404
6cf02ece223febeaa7f366cf4feb5c65d3df9889
2,963
cpp
C++
flexcore/extended/base_node.cpp
vacing/flexcore
08c08e98556f92d1993e2738cbcb975b3764fa2d
[ "Apache-2.0" ]
47
2016-09-23T10:27:17.000Z
2021-12-14T07:31:40.000Z
flexcore/extended/base_node.cpp
vacing/flexcore
08c08e98556f92d1993e2738cbcb975b3764fa2d
[ "Apache-2.0" ]
10
2016-12-04T16:40:29.000Z
2020-04-28T08:46:50.000Z
flexcore/extended/base_node.cpp
vacing/flexcore
08c08e98556f92d1993e2738cbcb975b3764fa2d
[ "Apache-2.0" ]
20
2016-09-23T17:14:41.000Z
2021-10-09T18:24:47.000Z
#include <boost/algorithm/string/join.hpp> #include <boost/format.hpp> #include <flexcore/extended/base_node.hpp> #include <flexcore/extended/visualization/visualization.hpp> #include <stack> namespace fc { static forest_t::iterator find_self(forest_t& forest, const tree_node& node) { auto node_id = node.graph_info...
25.324786
91
0.724603
6cf0ccc637228ad480b380bce5cd15bc2eef2864
1,944
cpp
C++
CodeForces-Contest/1404/E.cpp
Tech-Intellegent/CodeForces-Solution
2f291a38b80b8ff2a2595b2e526716468ff26bf8
[ "MIT" ]
1
2022-01-23T07:18:07.000Z
2022-01-23T07:18:07.000Z
CodeForces-Contest/1404/E.cpp
Tech-Intellegent/CodeForces-Solution
2f291a38b80b8ff2a2595b2e526716468ff26bf8
[ "MIT" ]
null
null
null
CodeForces-Contest/1404/E.cpp
Tech-Intellegent/CodeForces-Solution
2f291a38b80b8ff2a2595b2e526716468ff26bf8
[ "MIT" ]
1
2022-02-05T11:53:04.000Z
2022-02-05T11:53:04.000Z
#include<bits/stdc++.h> using namespace std; mt19937 rnd(chrono::steady_clock::now().time_since_epoch().count()); struct Kuhn { int n; vector<vector<int>> g; vector<int> l, r; vector<bool> vis; Kuhn(int _n, int _m) { n = _n; g.resize(n + 1); vis.resize(n + 1, false); l.resize(n + 1, -1); r.resize(_m + 1, -1);...
22.604651
70
0.437757
6cf20e6a0c6bfa2a1cc03258925e629a65d2741f
343
cpp
C++
lib/libc/tests/string/strstr.cpp
otaviopace/ananas
849925915b0888543712a8ca625318cd7bca8dd9
[ "Zlib" ]
52
2015-11-27T13:56:00.000Z
2021-12-01T16:33:58.000Z
lib/libc/tests/string/strstr.cpp
otaviopace/ananas
849925915b0888543712a8ca625318cd7bca8dd9
[ "Zlib" ]
4
2017-06-26T17:59:51.000Z
2021-09-26T17:30:32.000Z
lib/libc/tests/string/strstr.cpp
otaviopace/ananas
849925915b0888543712a8ca625318cd7bca8dd9
[ "Zlib" ]
8
2016-08-26T09:42:27.000Z
2021-12-04T00:21:05.000Z
#include <gtest/gtest.h> #include <string.h> TEST(string, strstr) { char s[] = "abcabcabcdabcde"; EXPECT_EQ(NULL, strstr(s, "x")); EXPECT_EQ(NULL, strstr(s, "xyz")); EXPECT_EQ(&s[0], strstr(s, "a")); EXPECT_EQ(&s[0], strstr(s, "abc")); EXPECT_EQ(&s[6], strstr(s, "abcd")); EXPECT_EQ(&s[10], ...
24.5
42
0.577259
6cfc5b92610a663f5c95a611c96c5a7fdf5253b6
2,385
cpp
C++
modules/skottie/src/effects/DirectionalBlur.cpp
fourgrad/skia
b9b550e9bb1b73001088ba89483e2f9bbe46c3db
[ "BSD-3-Clause" ]
6,304
2015-01-05T23:45:12.000Z
2022-03-31T09:48:13.000Z
modules/skottie/src/effects/DirectionalBlur.cpp
Wal1e/skia
eda97288bdc8e87afea817b25d561724c2b6a2f8
[ "BSD-3-Clause" ]
67
2016-04-18T13:30:02.000Z
2022-03-31T23:06:55.000Z
modules/skottie/src/effects/DirectionalBlur.cpp
Wal1e/skia
eda97288bdc8e87afea817b25d561724c2b6a2f8
[ "BSD-3-Clause" ]
1,231
2015-01-05T03:17:39.000Z
2022-03-31T22:54:58.000Z
/* * Copyright 2021 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "modules/skottie/src/effects/Effects.h" #include "modules/skottie/src/Adapter.h" #include "modules/skottie/src/SkottieValue.h" #include "modules/sksg/include/SkSGPai...
36.692308
100
0.605451
6cfd7c07617b5395d93ef91c3bdd05c50a445289
8,712
cpp
C++
src/phreeqcpp/smalldense.cpp
AbelHeinsbroek/VIPhreeqc
30d6e10ed9c7f375a5d8f9cdeccfc1c2353d3604
[ "Apache-2.0" ]
5
2017-08-07T19:35:30.000Z
2021-01-27T04:30:49.000Z
src/phreeqcpp/smalldense.cpp
AbelHeinsbroek/VIPhreeqc
30d6e10ed9c7f375a5d8f9cdeccfc1c2353d3604
[ "Apache-2.0" ]
2
2020-04-28T15:59:17.000Z
2021-06-24T21:10:32.000Z
src/phreeqcpp/smalldense.cpp
AbelHeinsbroek/VIPhreeqc
30d6e10ed9c7f375a5d8f9cdeccfc1c2353d3604
[ "Apache-2.0" ]
3
2018-11-26T12:08:07.000Z
2020-09-03T20:00:49.000Z
/************************************************************************** * * * File : smalldense.c * * Programmers : Scott D. Cohen and Alan C. Hindmarsh @ LLNL * * Version of ...
27.56962
76
0.451102
6cff754810119c9cfaa074251913a35b52ca0014
2,187
cpp
C++
src/helpers/getLocation.cpp
HerrEurobeat/nodemcu-clock
1afda078d522ad676aaf5a0717ae9a30a1b24438
[ "MIT" ]
null
null
null
src/helpers/getLocation.cpp
HerrEurobeat/nodemcu-clock
1afda078d522ad676aaf5a0717ae9a30a1b24438
[ "MIT" ]
null
null
null
src/helpers/getLocation.cpp
HerrEurobeat/nodemcu-clock
1afda078d522ad676aaf5a0717ae9a30a1b24438
[ "MIT" ]
null
null
null
/* * File: getLocation.cpp * Project: nodemcu-clock * Created Date: 05.09.2021 14:16:00 * Author: 3urobeat * * Last Modified: 30.12.2021 22:24:01 * Modified By: 3urobeat * * Copyright (c) 2021 3urobeat <https://github.com/HerrEurobeat> * * Licensed under the MIT license: https://opensource.org/licenses/MI...
31.695652
142
0.633745
6cff97a54bf00789f0a3adb0720012d0d3fee4b6
794
hpp
C++
include/gba/display/background_control.hpp
felixjones/gba-plusplus
79dce6c3095b52de72f96a17871b4d6c8b9aaf2f
[ "Zlib" ]
33
2020-11-02T22:03:27.000Z
2022-03-25T04:40:29.000Z
include/gba/display/background_control.hpp
felixjones/gbaplusplus
79dce6c3095b52de72f96a17871b4d6c8b9aaf2f
[ "Zlib" ]
21
2019-09-05T15:10:52.000Z
2020-06-21T15:08:54.000Z
include/gba/display/background_control.hpp
felixjones/gba-plusplus
79dce6c3095b52de72f96a17871b4d6c8b9aaf2f
[ "Zlib" ]
3
2020-11-02T21:44:46.000Z
2022-02-23T17:37:00.000Z
#ifndef GBAXX_DISPLAY_BACKGROUND_CONTROL_HPP #define GBAXX_DISPLAY_BACKGROUND_CONTROL_HPP #include <gba/types/color.hpp> #include <gba/types/int_type.hpp> #include <gba/types/screen_size.hpp> namespace gba { enum class affine_background_wrap : bool { transparent = false, wrap = true, clamp = false, r...
24.060606
96
0.722922
9f02574ed31b8ce06e711ad832160f351f0901ea
1,294
cpp
C++
lang/C++/man-or-boy-test-1.cpp
ethansaxenian/RosettaDecode
8ea1a42a5f792280b50193ad47545d14ee371fb7
[ "MIT" ]
5
2021-01-29T20:08:05.000Z
2022-03-22T06:16:05.000Z
lang/C++/man-or-boy-test-1.cpp
ethansaxenian/RosettaDecode
8ea1a42a5f792280b50193ad47545d14ee371fb7
[ "MIT" ]
null
null
null
lang/C++/man-or-boy-test-1.cpp
ethansaxenian/RosettaDecode
8ea1a42a5f792280b50193ad47545d14ee371fb7
[ "MIT" ]
1
2018-11-09T22:08:40.000Z
2018-11-09T22:08:40.000Z
#include <iostream> #include <tr1/memory> using std::tr1::shared_ptr; using std::tr1::enable_shared_from_this; struct Arg { virtual int run() = 0; virtual ~Arg() { }; }; int A(int, shared_ptr<Arg>, shared_ptr<Arg>, shared_ptr<Arg>, shared_ptr<Arg>, shared_ptr<Arg>); class B : public Arg, public enable_shar...
23.962963
74
0.588872
9f0502de3c1f7649968da6bd920fce2ccec5cad6
7,608
cpp
C++
query_execution/PolicyEnforcer.cpp
craig-chasseur/incubator-quickstep
00ca1e4b3a9c9838dcb9509058b8a40b0f573617
[ "Apache-2.0" ]
null
null
null
query_execution/PolicyEnforcer.cpp
craig-chasseur/incubator-quickstep
00ca1e4b3a9c9838dcb9509058b8a40b0f573617
[ "Apache-2.0" ]
null
null
null
query_execution/PolicyEnforcer.cpp
craig-chasseur/incubator-quickstep
00ca1e4b3a9c9838dcb9509058b8a40b0f573617
[ "Apache-2.0" ]
1
2021-12-04T18:48:44.000Z
2021-12-04T18:48:44.000Z
/** * Copyright 2016, Quickstep Research Group, Computer Sciences Department, * University of Wisconsin—Madison. * * 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 * * ...
37.850746
91
0.694664
9f056c274055ac5533d8fff55f5979150c2b13b3
964
cpp
C++
2017-09-17/D-2.cpp
tangjz/Three-Investigators
46dc9b2f0fbb4fe89b075a81feaacc33feeb1b52
[ "MIT" ]
3
2018-04-02T06:00:51.000Z
2018-05-29T04:46:29.000Z
2017-09-17/D-2.cpp
tangjz/Three-Investigators
46dc9b2f0fbb4fe89b075a81feaacc33feeb1b52
[ "MIT" ]
2
2018-03-31T17:54:30.000Z
2018-05-02T11:31:06.000Z
2017-09-17/D-2.cpp
tangjz/Three-Investigators
46dc9b2f0fbb4fe89b075a81feaacc33feeb1b52
[ "MIT" ]
2
2018-10-07T00:08:06.000Z
2021-06-28T11:02:59.000Z
#include <cstdio> #include <cstdlib> #include <cstring> #include <cmath> #include <algorithm> using namespace std; int T, K; struct Fraction { long long x; long long y; Fraction(long long __x = 0, long long __y = 1) { x = __x; y = __y; } }; int main() { int t; long long d; Fraction l, r, mid, ans; scan...
17.851852
80
0.524896
9f083dee33d20b80dd0731e3157afa9da2fe7a69
4,011
cxx
C++
repro/SiloStore.cxx
dulton/reSipServer
ac4241df81c1e3eef2e678271ffef4dda1fc6747
[ "Apache-2.0" ]
1
2019-04-15T14:10:58.000Z
2019-04-15T14:10:58.000Z
repro/SiloStore.cxx
dulton/reSipServer
ac4241df81c1e3eef2e678271ffef4dda1fc6747
[ "Apache-2.0" ]
null
null
null
repro/SiloStore.cxx
dulton/reSipServer
ac4241df81c1e3eef2e678271ffef4dda1fc6747
[ "Apache-2.0" ]
2
2019-10-31T09:11:09.000Z
2021-09-17T01:00:49.000Z
#include "rutil/Logger.hxx" #include "rutil/ParseBuffer.hxx" #include "rutil/Lock.hxx" #include "resip/stack/SipMessage.hxx" #include "repro/SiloStore.hxx" #include "rutil/WinLeakCheck.hxx" using namespace resip; using namespace repro; using namespace std; #define RESIPROCATE_SUBSYSTEM Subsystem::REPRO SiloStore...
33.425
86
0.697332
9f0bbb1f514b772b02dc52b0f80f48a23c247cc1
2,251
hpp
C++
stan/math/prim/prob/discrete_range_rng.hpp
LaudateCorpus1/math
990a66b3cccd27a5fd48626360bb91093a48278b
[ "BSD-3-Clause" ]
null
null
null
stan/math/prim/prob/discrete_range_rng.hpp
LaudateCorpus1/math
990a66b3cccd27a5fd48626360bb91093a48278b
[ "BSD-3-Clause" ]
null
null
null
stan/math/prim/prob/discrete_range_rng.hpp
LaudateCorpus1/math
990a66b3cccd27a5fd48626360bb91093a48278b
[ "BSD-3-Clause" ]
null
null
null
#ifndef STAN_MATH_PRIM_PROB_DISCRETE_RANGE_RNG_HPP #define STAN_MATH_PRIM_PROB_DISCRETE_RANGE_RNG_HPP #include <stan/math/prim/meta.hpp> #include <stan/math/prim/err.hpp> #include <stan/math/prim/fun/max_size.hpp> #include <stan/math/prim/fun/scalar_seq_view.hpp> #include <boost/random/uniform_int_distribution.hpp> #i...
36.306452
76
0.742781
9f0f72787fa59a95a1a6c61bb5720d1c74cddc27
17,993
cpp
C++
c++/tools/zenbutools.cpp
jessica-severin/ZENBU_2.11.1
694dd8fb178f3cbde2e058b8ee6a57e5a4c09cc7
[ "Unlicense" ]
null
null
null
c++/tools/zenbutools.cpp
jessica-severin/ZENBU_2.11.1
694dd8fb178f3cbde2e058b8ee6a57e5a4c09cc7
[ "Unlicense" ]
null
null
null
c++/tools/zenbutools.cpp
jessica-severin/ZENBU_2.11.1
694dd8fb178f3cbde2e058b8ee6a57e5a4c09cc7
[ "Unlicense" ]
null
null
null
/* $Id: zenbutools.cpp,v 1.20 2015/11/13 09:03:34 severin Exp $ */ /**** NAME zdxtools - DESCRIPTION of Object DESCRIPTION zdxtools is a ZENBU system command line tool to access and process data both remotely on ZENBU federation servers and locally with ZDX file databases. The API is designed to both ena...
34.142315
162
0.626355
9f10e30ec2a1f9806dc52f5ce9250a407db25fb0
5,841
cpp
C++
Source/VectorShapeEditor/Private/SplineVisualizer/VectorMeshComponentVisualizer.cpp
mhousse1247/UE4-VectorShapeWidgetPlugin
12c4d5507e32551d8e54c405de7f6d64ba6745ba
[ "MIT" ]
7
2020-12-05T21:07:41.000Z
2021-09-08T21:43:24.000Z
Source/VectorShapeEditor/Private/SplineVisualizer/VectorMeshComponentVisualizer.cpp
mhousse1247/UE4-VectorShapeWidgetPlugin
12c4d5507e32551d8e54c405de7f6d64ba6745ba
[ "MIT" ]
null
null
null
Source/VectorShapeEditor/Private/SplineVisualizer/VectorMeshComponentVisualizer.cpp
mhousse1247/UE4-VectorShapeWidgetPlugin
12c4d5507e32551d8e54c405de7f6d64ba6745ba
[ "MIT" ]
2
2021-08-18T16:05:27.000Z
2021-09-11T00:15:02.000Z
//==========================================================================// // Copyright Elhoussine Mehnik (ue4resources@gmail.com). All Rights Reserved. //================== http://unrealengineresources.com/ =====================// #include "VectorMeshComponentVisualizer.h" #include "VectorMeshComponent.h" #includ...
36.50625
195
0.77093
9f12738041481119b2f0e69bd9383e9c13e10fb3
307
hpp
C++
PP/view/destroy.hpp
Petkr/PP
646cc156603a6a9461e74d8f54786c0d5a9c32d2
[ "MIT" ]
3
2019-07-12T23:12:24.000Z
2019-09-05T07:57:45.000Z
PP/view/destroy.hpp
Petkr/PP
646cc156603a6a9461e74d8f54786c0d5a9c32d2
[ "MIT" ]
null
null
null
PP/view/destroy.hpp
Petkr/PP
646cc156603a6a9461e74d8f54786c0d5a9c32d2
[ "MIT" ]
null
null
null
#pragma once #include <PP/get_type.hpp> #include <PP/partial_.hpp> #include <PP/view/for_each.hpp> namespace PP::detail::functors { PP_CIA destroy_helper = [](auto&& x) { using T = PP_GT(~PP_DT(x)); x.~T(); }; } namespace PP::view { PP_CIA destroy = for_each * detail::functors::destroy_helper; }
16.157895
61
0.674267
9f12e5aed7c73cc52bbd723374683f5422411fca
2,393
cpp
C++
src/Shader.cpp
cjuniet/simpleGL
719c1152d9085f1612c3e0b8ce2ee25fe3ad22dd
[ "MIT" ]
null
null
null
src/Shader.cpp
cjuniet/simpleGL
719c1152d9085f1612c3e0b8ce2ee25fe3ad22dd
[ "MIT" ]
null
null
null
src/Shader.cpp
cjuniet/simpleGL
719c1152d9085f1612c3e0b8ce2ee25fe3ad22dd
[ "MIT" ]
null
null
null
#include "Shader.hpp" #include <glm/gtc/type_ptr.hpp> #include <fstream> #include <sstream> #include <stdexcept> namespace { void compile_glsl(const std::string& filename, GLuint shader) { std::ifstream ifs(filename); if (!ifs) { throw std::runtime_error("compile_glsl(): unable to open " + filename); } ...
24.171717
95
0.717509
2f58ddcaef4c917882ccfd0aacf47bcf7c72072a
1,395
cpp
C++
Codeforces/C++/Dima-Sereja_problem.cpp
abdzitter/Daily-Coding-DS-ALGO-Practice
26ddbf7a3673608039a07d26d812fce31b69871a
[ "MIT" ]
289
2021-05-15T22:56:03.000Z
2022-03-28T23:13:25.000Z
Codeforces/C++/Dima-Sereja_problem.cpp
abdzitter/Daily-Coding-DS-ALGO-Practice
26ddbf7a3673608039a07d26d812fce31b69871a
[ "MIT" ]
1,812
2021-05-09T13:49:58.000Z
2022-01-15T19:27:17.000Z
Codeforces/C++/Dima-Sereja_problem.cpp
abdzitter/Daily-Coding-DS-ALGO-Practice
26ddbf7a3673608039a07d26d812fce31b69871a
[ "MIT" ]
663
2021-05-09T16:57:58.000Z
2022-03-27T14:15:07.000Z
/* Sereja and Dima play a game. The rules of the game are very simple. The players have n cards in a row. Each card contains a number, all numbers on the cards are distinct. The players take turns, Sereja moves first. During his turn a player can take one card: either the leftmost card in a row, or the rightmost one. ...
25.363636
171
0.580645
2f5ce7acde58c43615729d6d9e4bf6ccdfd6b8b4
316
hpp
C++
include/TypeHelpers.hpp
ChoppinBlockParty/perq
2442e33b230c81c9f6e971ffcb35499b2f248cbd
[ "BSD-3-Clause" ]
3
2018-06-30T09:09:38.000Z
2020-06-05T22:46:23.000Z
include/TypeHelpers.hpp
ChoppinBlockParty/perq
2442e33b230c81c9f6e971ffcb35499b2f248cbd
[ "BSD-3-Clause" ]
null
null
null
include/TypeHelpers.hpp
ChoppinBlockParty/perq
2442e33b230c81c9f6e971ffcb35499b2f248cbd
[ "BSD-3-Clause" ]
null
null
null
#pragma once #include <cinttypes> #include <cstddef> namespace perq { struct NoPrefix { using Type = uint8_t; }; namespace internal { template <typename T> struct PrefixSize { static constexpr size_t size = sizeof(T); }; template <> struct PrefixSize<NoPrefix> { static constexpr size_t size = 0; }; } }
12.64
43
0.705696
2f5d08138fe49f3963a0ab10237b4bd888778970
7,550
cpp
C++
module-apps/application-settings/windows/network/SimContactsImportWindow.cpp
bitigchi/MuditaOS
425d23e454e09fd6ae274b00f8d19c57a577aa94
[ "BSL-1.0" ]
369
2021-11-10T09:20:29.000Z
2022-03-30T06:36:58.000Z
module-apps/application-settings/windows/network/SimContactsImportWindow.cpp
bitigchi/MuditaOS
425d23e454e09fd6ae274b00f8d19c57a577aa94
[ "BSL-1.0" ]
149
2021-11-10T08:38:35.000Z
2022-03-31T23:01:52.000Z
module-apps/application-settings/windows/network/SimContactsImportWindow.cpp
bitigchi/MuditaOS
425d23e454e09fd6ae274b00f8d19c57a577aa94
[ "BSL-1.0" ]
41
2021-11-10T08:30:37.000Z
2022-03-29T08:12:46.000Z
// Copyright (c) 2017-2021, Mudita Sp. z.o.o. All rights reserved. // For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md #include "SimContactsImportWindow.hpp" #include <application-settings/windows/WindowNames.hpp> #include <InputEvent.hpp> #include <service-appmgr/Controller.hpp> namespace gui { ...
40.591398
118
0.627285
2f63d060dc3774088e6c783814004b1f1a3aa58b
1,925
hpp
C++
include/zax/stringcat.hpp
fcharlie/zax
041ad510635df85e5842036cd0319ea92f7f56ba
[ "MIT" ]
null
null
null
include/zax/stringcat.hpp
fcharlie/zax
041ad510635df85e5842036cd0319ea92f7f56ba
[ "MIT" ]
null
null
null
include/zax/stringcat.hpp
fcharlie/zax
041ad510635df85e5842036cd0319ea92f7f56ba
[ "MIT" ]
null
null
null
#ifndef ZAX_STRINGCAT_HPP #define ZAX_STRINGCAT_HPP #include <string> #include <string_view> #include <charconv> #include "unicode.hpp" namespace zax { // class AlphaNum { static constexpr const int suggest_size = 32; public: AlphaNum(bool x) { piece_ = x ? "true" : "false"; // true or false } AlphaNum(in...
29.615385
81
0.66961
2f66883e0e5b390bdac4311a8bd1b23c41be1dcd
46,972
cpp
C++
applis/OLD-MICMAC-OLD/cModeleAnalytiqueComp.cpp
kikislater/micmac
3009dbdad62b3ad906ec882b74b85a3db86ca755
[ "CECILL-B" ]
451
2016-11-25T09:40:28.000Z
2022-03-30T04:20:42.000Z
applis/OLD-MICMAC-OLD/cModeleAnalytiqueComp.cpp
kikislater/micmac
3009dbdad62b3ad906ec882b74b85a3db86ca755
[ "CECILL-B" ]
143
2016-11-25T20:35:57.000Z
2022-03-01T11:58:02.000Z
applis/OLD-MICMAC-OLD/cModeleAnalytiqueComp.cpp
kikislater/micmac
3009dbdad62b3ad906ec882b74b85a3db86ca755
[ "CECILL-B" ]
139
2016-12-02T10:26:21.000Z
2022-03-10T19:40:29.000Z
/*Header-MicMac-eLiSe-25/06/2007 MicMac : Multi Image Correspondances par Methodes Automatiques de Correlation eLiSe : ELements of an Image Software Environnement www.micmac.ign.fr Copyright : Institut Geographique National Author : Marc Pierrot Deseilligny Contributors : Gregoire Maille...
29.52357
106
0.529102
2f6690a81d5df2120c51d4a1ebb6a5acf2372a48
67
cpp
C++
cnd/cnd.modelimpl/test/unit/data/org/netbeans/modules/cnd/modelimpl/trace/FileModel2Test/bug256281.cpp
leginee/netbeans
814ad30e2d0a094f4aa3813bcbb5323a95a0b1d6
[ "Apache-2.0" ]
null
null
null
cnd/cnd.modelimpl/test/unit/data/org/netbeans/modules/cnd/modelimpl/trace/FileModel2Test/bug256281.cpp
leginee/netbeans
814ad30e2d0a094f4aa3813bcbb5323a95a0b1d6
[ "Apache-2.0" ]
null
null
null
cnd/cnd.modelimpl/test/unit/data/org/netbeans/modules/cnd/modelimpl/trace/FileModel2Test/bug256281.cpp
leginee/netbeans
814ad30e2d0a094f4aa3813bcbb5323a95a0b1d6
[ "Apache-2.0" ]
null
null
null
namespace bug256281 { typedef __sun_va_list __builtin_va_list; }
16.75
42
0.820896
2f6cdb5e6273277a1c0c07cd305f0dded94c81bc
340
cpp
C++
Competitive Programing Problem Solutions/Other/Sust Intra Contest/a.cpp
BIJOY-SUST/ACM---ICPC
b382d80d327ddcab15ab15c0e763ccf8a22e0d43
[ "Apache-2.0" ]
1
2022-02-27T12:07:59.000Z
2022-02-27T12:07:59.000Z
Competitive Programing Problem Solutions/Other/Sust Intra Contest/a.cpp
BIJOY-SUST/Competitive-Programming
b382d80d327ddcab15ab15c0e763ccf8a22e0d43
[ "Apache-2.0" ]
null
null
null
Competitive Programing Problem Solutions/Other/Sust Intra Contest/a.cpp
BIJOY-SUST/Competitive-Programming
b382d80d327ddcab15ab15c0e763ccf8a22e0d43
[ "Apache-2.0" ]
null
null
null
#include<bits/stdc++.h> using namespace std; int main(){ ios_base::sync_with_stdio(false); cin.tie(NULL); set<int>s; int n; cin>>n; for(int i=0;i<n;i++){ int k; cin>>k; s.insert(k); } int a=n-s.size()+1; int b=n-a+1; cout<<a<<" "<<b<<"\n";...
17
38
0.447059
2f6faf12900ebdb89f6dbcc3d6388523428b9eaa
6,097
cpp
C++
ivmpServer/networkManager.cpp
WuskieFTW1113/IV-MP-T4
ec4f193c90d23e07e6200dcb061ec8773be6bedc
[ "MIT" ]
2
2021-07-18T17:37:32.000Z
2021-08-04T12:33:51.000Z
ivmpServer/networkManager.cpp
VittorioC97/IV-MP-T4
ec4f193c90d23e07e6200dcb061ec8773be6bedc
[ "MIT" ]
1
2022-02-22T03:26:50.000Z
2022-02-22T03:26:50.000Z
ivmpServer/networkManager.cpp
WuskieFTW1113/IV-MP-T4
ec4f193c90d23e07e6200dcb061ec8773be6bedc
[ "MIT" ]
5
2021-06-17T06:41:00.000Z
2022-02-17T09:37:40.000Z
#include "networkManager.h" #include "RakPeer.h" #include <map> #include "../SharedDefines/easylogging++.h" #include "../SharedDefines/packetsIds.h" #include "playerConnectionState.h" #include "receiveFootSync.h" #include "receiveClientCredentials.h" #include "sendClientRequestedData.h" #include "vehicleSyncDeclaratio...
38.345912
136
0.788257
2f75bbb51c6aed4aeb49d91246c363a2ec02c30d
1,266
cpp
C++
Apps/Examples/e08_OrbitManipulator/main.cpp
dormon/FitGL
de24984067f5307d01aebbc16ea366ce50e3c224
[ "CC0-1.0" ]
4
2016-09-19T13:32:58.000Z
2022-03-03T09:00:44.000Z
Apps/Examples/e08_OrbitManipulator/main.cpp
dormon/FitGL
de24984067f5307d01aebbc16ea366ce50e3c224
[ "CC0-1.0" ]
null
null
null
Apps/Examples/e08_OrbitManipulator/main.cpp
dormon/FitGL
de24984067f5307d01aebbc16ea366ce50e3c224
[ "CC0-1.0" ]
5
2016-10-21T12:33:52.000Z
2021-01-03T14:36:01.000Z
#include <BaseApp.h> int main(int /*argc*/, char ** /*argv*/) { BaseApp app; ProgramObject program; auto mainWindow = app.getMainWindow(); std::string prefix = app.getResourceDir() + "Shaders/Examples/e06_ModelLoader/"; PerspectiveCamera cam; OrbitManipulator manipulator(&cam); manipulator.setupCallbacks(ap...
27.521739
138
0.690363
2f7859a389e4bcd6ad85854a663f5110d69c6448
459
cpp
C++
SourceCode/C++/Misc/LargestTest.cpp
dwgillies/OpenDSA
e012925896070a86bd7c3a4cbb75fa5682d9b9e2
[ "MIT" ]
200
2015-02-08T05:27:52.000Z
2022-03-23T02:44:38.000Z
SourceCode/C++/Misc/LargestTest.cpp
dwgillies/OpenDSA
e012925896070a86bd7c3a4cbb75fa5682d9b9e2
[ "MIT" ]
119
2015-03-22T22:38:21.000Z
2022-03-15T04:38:52.000Z
SourceCode/C++/Misc/LargestTest.cpp
dwgillies/OpenDSA
e012925896070a86bd7c3a4cbb75fa5682d9b9e2
[ "MIT" ]
105
2015-01-03T08:55:00.000Z
2022-03-19T00:51:45.000Z
/* *** ODSATag: Largest *** */ /** Return position of largest value in integer array A */ int largest(int A[], int size) { int currlarge = 0; // Position of largest element seen for (int i=1; i<size; i++) // For each element if (A[currlarge] < A[i]) // if A[i] is larger currlarge = ...
41.727273
68
0.555556
2f78bd027784244532019c8987c91101af0bbfe6
3,081
cpp
C++
http/alias.cpp
linbc/appweb2-win
ed9b55079cd427751e21ebdf122d5e3a1228f65c
[ "BSD-3-Clause" ]
null
null
null
http/alias.cpp
linbc/appweb2-win
ed9b55079cd427751e21ebdf122d5e3a1228f65c
[ "BSD-3-Clause" ]
null
null
null
http/alias.cpp
linbc/appweb2-win
ed9b55079cd427751e21ebdf122d5e3a1228f65c
[ "BSD-3-Clause" ]
1
2019-12-11T02:29:49.000Z
2019-12-11T02:29:49.000Z
/// /// @file alias.cpp /// @brief Alias service for aliasing URLs to file storage. /// @overview This module supports the alias directives and mapping /// URLs to physical locations. It also performs redirections. // ////////////////////////////////// Copyright /////////////////////////////////// // // @copy defau...
33.129032
80
0.580656
2f7963f24e4083b79c7778b6313523074f00bf91
2,309
cpp
C++
main.cpp
lyyiangang/SerialPort
ec67ee104410beffd4e15201249fd9136c7a78a7
[ "MIT" ]
null
null
null
main.cpp
lyyiangang/SerialPort
ec67ee104410beffd4e15201249fd9136c7a78a7
[ "MIT" ]
null
null
null
main.cpp
lyyiangang/SerialPort
ec67ee104410beffd4e15201249fd9136c7a78a7
[ "MIT" ]
1
2020-08-20T05:34:20.000Z
2020-08-20T05:34:20.000Z
#include "stdafx.h" #include <iostream> #include "SerialPort.h" #include <stdio.h> #include <string.h> #include <sstream> #include <assert.h> #include <vector> using namespace std; char* portName = "\\\\.\\COM3"; #define MAX_DATA_LENGTH 255 char incomingData[MAX_DATA_LENGTH]; //Control signals for turning on and t...
26.238636
99
0.665656
2f7e35c9080f2d52951a9c6d953e85d8844f565f
3,356
cpp
C++
old/src/resources/Material.cpp
fuchstraumer/Caelestis
9c4b76288220681bb245d84e5d7bf8c7f69b2716
[ "MIT" ]
5
2018-08-16T00:55:33.000Z
2020-06-19T14:30:17.000Z
old/src/resources/Material.cpp
fuchstraumer/Caelestis
9c4b76288220681bb245d84e5d7bf8c7f69b2716
[ "MIT" ]
null
null
null
old/src/resources/Material.cpp
fuchstraumer/Caelestis
9c4b76288220681bb245d84e5d7bf8c7f69b2716
[ "MIT" ]
null
null
null
#include "resources/Material.hpp" #include "core/LogicalDevice.hpp" #include "command/TransferPool.hpp" #include "resource/DescriptorSetLayout.hpp" #include "resource/DescriptorSet.hpp" #include "resource/Buffer.hpp" using namespace vpr; namespace vpsk { Material::Material(Material&& other) noexcept : ambient(st...
36.879121
321
0.661502
2f7ec922c705b640039c32fba114291b86f5e990
1,359
cpp
C++
aws-cpp-sdk-ssm/source/model/SessionFilter.cpp
Neusoft-Technology-Solutions/aws-sdk-cpp
88c041828b0dbee18a297c3cfe98c5ecd0706d0b
[ "Apache-2.0" ]
1
2022-02-10T08:06:54.000Z
2022-02-10T08:06:54.000Z
aws-cpp-sdk-ssm/source/model/SessionFilter.cpp
Neusoft-Technology-Solutions/aws-sdk-cpp
88c041828b0dbee18a297c3cfe98c5ecd0706d0b
[ "Apache-2.0" ]
1
2022-01-03T23:59:37.000Z
2022-01-03T23:59:37.000Z
aws-cpp-sdk-ssm/source/model/SessionFilter.cpp
ravindra-wagh/aws-sdk-cpp
7d5ff01b3c3b872f31ca98fb4ce868cd01e97696
[ "Apache-2.0" ]
1
2022-03-23T15:17:18.000Z
2022-03-23T15:17:18.000Z
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/ssm/model/SessionFilter.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::Utils::Json; using namespace Aws::Utils; namespace Aws { namespace S...
17.881579
91
0.71376
2f8404b0da8d5dadac8a40e90321f91cb4f6f568
5,987
cpp
C++
src/common/MspImage.cpp
radiantbluetechnologies/ossim-msp-plugin
dd258ae54fd10cb5f3812b4e55e27ab1756b36ab
[ "MIT" ]
null
null
null
src/common/MspImage.cpp
radiantbluetechnologies/ossim-msp-plugin
dd258ae54fd10cb5f3812b4e55e27ab1756b36ab
[ "MIT" ]
null
null
null
src/common/MspImage.cpp
radiantbluetechnologies/ossim-msp-plugin
dd258ae54fd10cb5f3812b4e55e27ab1756b36ab
[ "MIT" ]
null
null
null
//************************************************************************************************** // // OSSIM Open Source Geospatial Data Processing Library // See top level LICENSE.txt file for license information // //*****************************************************************************************...
29.063107
101
0.632036
2f89410f228523d1b2026468cb1b52dfb84de315
2,082
cc
C++
Common/View/Frustum.cc
mnrn/ReGL
922b36716ff29fa5ed8f18c078d2369ef9fba6a9
[ "MIT" ]
null
null
null
Common/View/Frustum.cc
mnrn/ReGL
922b36716ff29fa5ed8f18c078d2369ef9fba6a9
[ "MIT" ]
null
null
null
Common/View/Frustum.cc
mnrn/ReGL
922b36716ff29fa5ed8f18c078d2369ef9fba6a9
[ "MIT" ]
null
null
null
/** * @brief 視錐台クラス */ #include "View/Frustum.h" #include <boost/assert.hpp> #include <glm/gtc/constants.hpp> #include <glm/gtc/matrix_transform.hpp> #include <iostream> #include <vector> void Frustum::SetupPerspective(float fovy, float aspectRatio, float near, float far) { fovy_ =...
26.025
77
0.596542
2f900b25c6bce0c15327dda6fb0de9251ad3ea7a
22,028
cpp
C++
src/GUI/ServerBrowser.cpp
Olddies710/The-Forgotten-Client
8b7979619ea76bc29581122440d09f241afc175d
[ "Zlib" ]
1
2022-01-15T00:00:27.000Z
2022-01-15T00:00:27.000Z
src/GUI/ServerBrowser.cpp
Olddies710/The-Forgotten-Client
8b7979619ea76bc29581122440d09f241afc175d
[ "Zlib" ]
null
null
null
src/GUI/ServerBrowser.cpp
Olddies710/The-Forgotten-Client
8b7979619ea76bc29581122440d09f241afc175d
[ "Zlib" ]
3
2021-10-14T02:36:56.000Z
2022-03-22T21:03:31.000Z
/* The Forgotten Client Copyright (C) 2020 Saiyans King This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this software for any purpose, in...
41.878327
229
0.744235
2f907a44951bc887589ca3ebb4f13802f1233e85
1,088
cpp
C++
hardwork/sicily_datastructure/ans.cpp
jskyzero/Cplusplus.Playground
b4a82bb32af04efcffb6e251ac8956a3cc316174
[ "MIT" ]
null
null
null
hardwork/sicily_datastructure/ans.cpp
jskyzero/Cplusplus.Playground
b4a82bb32af04efcffb6e251ac8956a3cc316174
[ "MIT" ]
null
null
null
hardwork/sicily_datastructure/ans.cpp
jskyzero/Cplusplus.Playground
b4a82bb32af04efcffb6e251ac8956a3cc316174
[ "MIT" ]
null
null
null
#include <iostream> #include <algorithm> #include <string> #include <cstdio> using namespace std; struct data { int a; int b; int c; int all; int num; }; int cmp1(data a, data b) { return a.all < b.all; } void _swap(data *a, data *b) { data tmp; tmp = *a; *a = *b; *b = tmp; } void com(data *a, data *b...
19.087719
55
0.441176
2f9585256e855b315ad798992ec97f3dc1d8a063
754
hpp
C++
src/LibKyra/Typing/TypeContext.hpp
LukasPietzschmann/Slanguage
c00cc4712e24a201ab5ce55659d1ce38a3d8df41
[ "MIT" ]
7
2021-08-16T07:18:47.000Z
2021-09-28T08:03:00.000Z
src/LibKyra/Typing/TypeContext.hpp
LukasPietzschmann/Slanguage
c00cc4712e24a201ab5ce55659d1ce38a3d8df41
[ "MIT" ]
null
null
null
src/LibKyra/Typing/TypeContext.hpp
LukasPietzschmann/Slanguage
c00cc4712e24a201ab5ce55659d1ce38a3d8df41
[ "MIT" ]
null
null
null
#pragma once #include <iosfwd> #include <memory> #include <string> #include <unordered_map> #include <vector> #include "../Context.hpp" #include "../HasPtrAlias.hpp" #include "../Values/Value.hpp" #include "../Variable.hpp" #include "Type.hpp" #include "TypeProvider.hpp" namespace Kyra { class TypeContext : public Co...
27.925926
85
0.724138
2f96afcd1571e2be24b84580bc7e71730b27405c
10,320
cpp
C++
src/prob_quadratico_cp.cpp
salvatore-punzo/dogbot_tesi
8bf521df5e16b517dce6746361e35c0b437b7e3e
[ "MIT" ]
null
null
null
src/prob_quadratico_cp.cpp
salvatore-punzo/dogbot_tesi
8bf521df5e16b517dce6746361e35c0b437b7e3e
[ "MIT" ]
null
null
null
src/prob_quadratico_cp.cpp
salvatore-punzo/dogbot_tesi
8bf521df5e16b517dce6746361e35c0b437b7e3e
[ "MIT" ]
null
null
null
#include "prob_quadratico_cp.h" //#include "traj_planner.h" using namespace std; PROB_QUAD_CP::PROB_QUAD_CP(){ }; void PROB_QUAD_CP::CalcoloProbOttimoCP(VectorXd &b, Matrix<double,18,18> &M, Matrix<double,24,18> &Jc, Matrix<double,24,1> &Jcdqd, Matrix<double,18,18> &T, Matrix<double,18,18> &T_dot,Matrix<double, 1...
32.351097
261
0.627035
2f97b95359ab74dfa04b9b3abed2f0d8ebab456e
220
cpp
C++
Source/KiruroboMocapPlugin/KiruroboMocapPlugin.cpp
kirurobo/KiruroboMocapPlugin
c23ece40b3630bcc1acfa41e01ae136e3872d5df
[ "MIT" ]
15
2015-09-15T03:11:55.000Z
2020-08-27T15:27:45.000Z
Source/KiruroboMocapPlugin/KiruroboMocapPlugin.cpp
kirurobo/KiruroboMocapPlugin
c23ece40b3630bcc1acfa41e01ae136e3872d5df
[ "MIT" ]
1
2015-09-16T13:07:14.000Z
2015-10-18T10:11:50.000Z
Source/KiruroboMocapPlugin/KiruroboMocapPlugin.cpp
kirurobo/KiruroboMocapPlugin
c23ece40b3630bcc1acfa41e01ae136e3872d5df
[ "MIT" ]
5
2015-11-10T14:38:37.000Z
2021-05-26T08:00:53.000Z
// Fill out your copyright notice in the Description page of Project Settings. #include "KiruroboMocapPlugin.h" IMPLEMENT_PRIMARY_GAME_MODULE( FDefaultGameModuleImpl, KiruroboMocapPlugin, "KiruroboMocapPlugin" );
36.666667
101
0.813636
2fa5d266af49fb51ae70a69e4cf1f66239db1a77
24,208
cpp
C++
src/Microsoft.DotNet.Wpf/src/WpfGfx/core/hw/hwsurfrtdata.cpp
nsivov/wpf
d36941860f05dd7a09008e99d1bcd635b0a69fdb
[ "MIT" ]
2
2020-05-18T17:00:43.000Z
2021-12-01T10:00:29.000Z
src/Microsoft.DotNet.Wpf/src/WpfGfx/core/hw/hwsurfrtdata.cpp
nsivov/wpf
d36941860f05dd7a09008e99d1bcd635b0a69fdb
[ "MIT" ]
5
2020-05-05T08:05:01.000Z
2021-12-11T21:35:37.000Z
src/Microsoft.DotNet.Wpf/src/WpfGfx/core/hw/hwsurfrtdata.cpp
nsivov/wpf
d36941860f05dd7a09008e99d1bcd635b0a69fdb
[ "MIT" ]
4
2020-05-04T06:43:25.000Z
2022-02-20T12:02:50.000Z
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. //+----------------------------------------------------------------------------- // // // $TAG ENGR // $Mod...
26.808416
104
0.57543
2fa687b64af682cf357d4778b6c4f72ad128e329
1,051
cpp
C++
AAD/Aufgabe3.2/myClass.cpp
Solaflex/hf-ict
2ebed689087407019b540df07612525e8b8d6821
[ "MIT" ]
null
null
null
AAD/Aufgabe3.2/myClass.cpp
Solaflex/hf-ict
2ebed689087407019b540df07612525e8b8d6821
[ "MIT" ]
null
null
null
AAD/Aufgabe3.2/myClass.cpp
Solaflex/hf-ict
2ebed689087407019b540df07612525e8b8d6821
[ "MIT" ]
null
null
null
#include <C:\git\RunProject\RunProject\myHeader.h> #include <string> #include <algorithm> // std::transform using namespace std; bool StringUtil::isPalindrome(string input){ // Make the string lowercase to compare it std::transform(input.begin(), input.end(), input.begin(), ::tolower); // Store the length of th...
30.028571
111
0.686013
2fa8c77ac4a5780c2e737dde2a5c1c08f6f61e8f
1,007
hpp
C++
plugins/TaiwanSE/TaiwanSE.hpp
Vladimir-Lin/QtFIXAPI
d62f582828267d02b9f4e5d5ddc96d966c3848e1
[ "MIT" ]
null
null
null
plugins/TaiwanSE/TaiwanSE.hpp
Vladimir-Lin/QtFIXAPI
d62f582828267d02b9f4e5d5ddc96d966c3848e1
[ "MIT" ]
null
null
null
plugins/TaiwanSE/TaiwanSE.hpp
Vladimir-Lin/QtFIXAPI
d62f582828267d02b9f4e5d5ddc96d966c3848e1
[ "MIT" ]
null
null
null
#ifndef TAIWANSE_HPP #define TAIWANSE_HPP #ifdef QT_CORE_LIB #include <QtCore> #endif #ifdef QT_GUI_LIB #include <QtGui> #endif #ifdef QT_NETWORK_LIB #include <QtNetwork> #endif #ifdef QT_SQL_LIB #include <QtSql> #endif #include "nFixEngine.hpp" class TaiwanApplication : public FixApplication { public: exp...
12.910256
57
0.662363
2fa8cb9872514ddfbd2b0ac7637cad6debe4a828
330
cpp
C++
cpp/Environment/PytorchEnvironment.cpp
zigui-ps/PPO-PyTorchCpp-API
b1a8b1b3aade3ca79d4e903f3473bab3cbcac755
[ "MIT" ]
3
2020-03-29T04:50:42.000Z
2021-12-02T14:57:59.000Z
cpp/Environment/PytorchEnvironment.cpp
zigui-ps/PPO-PyTorchCpp-API
b1a8b1b3aade3ca79d4e903f3473bab3cbcac755
[ "MIT" ]
null
null
null
cpp/Environment/PytorchEnvironment.cpp
zigui-ps/PPO-PyTorchCpp-API
b1a8b1b3aade3ca79d4e903f3473bab3cbcac755
[ "MIT" ]
2
2020-03-29T05:21:17.000Z
2020-04-12T08:00:01.000Z
#include "Environment/PytorchEnvironment.h" PytorchEnvironment::PytorchEnvironment(torch::Device device):device(device){ } void PytorchEnvironment::to(torch::Device dev){ device = dev; } int PytorchEnvironment::getObservationSize(){ return observationSize; } int PytorchEnvironment::getActionSize(){ return actio...
19.411765
76
0.784848
2faeccf55d6271538e24bb823b2f9e6c2d24e0d2
387
hpp
C++
Headers/Recorder.hpp
adivekk94/UDT
645538937722f8a6ad3fc3dfb032a0e5add7adc3
[ "MIT" ]
null
null
null
Headers/Recorder.hpp
adivekk94/UDT
645538937722f8a6ad3fc3dfb032a0e5add7adc3
[ "MIT" ]
null
null
null
Headers/Recorder.hpp
adivekk94/UDT
645538937722f8a6ad3fc3dfb032a0e5add7adc3
[ "MIT" ]
null
null
null
/* * Recorder.hpp * * Created on: 14.04.2017 * Author: adivek */ #ifndef HEADERS_RECORDER_HPP_ #define HEADERS_RECORDER_HPP_ #include "../Definitions/glo_def.hpp" #include "../Definitions/glo_inc.hpp" #include <SFML/Config.hpp> class Recorder : public sf::SoundBufferRecorder { public: Recorder(); void r...
16.826087
47
0.715762
2faeea6f5e6e6a7c1c6cdf98958df822e15992f1
17,097
cpp
C++
src/prosecoPlanner.cpp
ProSeCo-Planning/ros_proseco_planning
484beedb01e5faafa7e03e95bc88b1e4f969285e
[ "BSD-3-Clause" ]
null
null
null
src/prosecoPlanner.cpp
ProSeCo-Planning/ros_proseco_planning
484beedb01e5faafa7e03e95bc88b1e4f969285e
[ "BSD-3-Clause" ]
null
null
null
src/prosecoPlanner.cpp
ProSeCo-Planning/ros_proseco_planning
484beedb01e5faafa7e03e95bc88b1e4f969285e
[ "BSD-3-Clause" ]
null
null
null
#include <ros/console.h> #include <ros/time.h> #include <cassert> #include <fstream> #include <map> #include <memory> #include <numeric> #include <stdexcept> #include <string> #include <utility> #include <vector> #include "nlohmann/json.hpp" #include "proseco_planning/action/action.h" #include "proseco_planning/actio...
38.94533
100
0.721589
2faf59608878f589a52e6e891638075fb986683f
842
cpp
C++
Engine/Source/Runtime/MessagingRpc/Private/MessagingRpcModule.cpp
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
1
2022-01-29T18:36:12.000Z
2022-01-29T18:36:12.000Z
Engine/Source/Runtime/MessagingRpc/Private/MessagingRpcModule.cpp
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
null
null
null
Engine/Source/Runtime/MessagingRpc/Private/MessagingRpcModule.cpp
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
null
null
null
// Copyright 1998-2017 Epic Games, Inc. All Rights Reserved. #include "IMessagingRpcModule.h" #include "Modules/ModuleManager.h" #include "MessageRpcClient.h" #include "MessageRpcServer.h" /** * Implements the MessagingRpc module. */ class FMessagingRpcModule : public IMessagingRpcModule { public: //~ IMessagin...
19.136364
65
0.774347
2fb24df85c60674a3615a877855f55ff355146d9
551
cpp
C++
this/first_example/Hannah.cpp
Rudy02/CPP-Fundementals
dc3882f6c6e900043dc50b7c638b79fa6688ebc0
[ "MIT" ]
null
null
null
this/first_example/Hannah.cpp
Rudy02/CPP-Fundementals
dc3882f6c6e900043dc50b7c638b79fa6688ebc0
[ "MIT" ]
null
null
null
this/first_example/Hannah.cpp
Rudy02/CPP-Fundementals
dc3882f6c6e900043dc50b7c638b79fa6688ebc0
[ "MIT" ]
null
null
null
#include <iostream> #include "Hannah.h" using namespace std; Hannah::Hannah(int num) : h(num) { } void Hannah::printStuff() { //Method #1 //Private Variable: Implided cout << "h = " << h << endl; //Method #2 //Explicit: access the member variable of the current object //being pointe...
20.407407
64
0.584392
2fb3805a1621c7e928bcbffb644918e11464a1d7
2,264
cc
C++
third_party/GsTL/include/GsTL/kriging/SK_constraints.cc
hiteshbedre/movetk
8d261f19538e28ff36cac98a89ef067f8c26f978
[ "Apache-2.0" ]
70
2015-01-21T12:24:50.000Z
2022-03-16T02:10:45.000Z
third_party/GsTL/include/GsTL/kriging/SK_constraints.cc
bacusters/movetk
acbc9c5acb69dd3eb23aa7d2156ede02ed468eae
[ "Apache-2.0" ]
44
2020-09-11T17:40:30.000Z
2021-04-08T23:56:19.000Z
third_party/GsTL/include/GsTL/kriging/SK_constraints.cc
aniketmitra001/movetk
cdf0c98121da6df4cadbd715fba02b05be724218
[ "Apache-2.0" ]
18
2015-02-15T18:04:31.000Z
2021-01-16T08:54:32.000Z
/* GsTL: the Geostatistics Template Library * * Author: Nicolas Remy * Copyright (c) 2000 The Board of Trustees of the Leland Stanford Junior University * * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following c...
34.30303
88
0.720848
2fb3ba1048457f65086c738b93518098d8d65e77
1,903
cpp
C++
leoStockSdk/source/strDecode.cpp
leonard73/LeoJQuantSdk
d4ec0ba402ec6e4832b484fe94a79799e2e57ea5
[ "Apache-2.0" ]
null
null
null
leoStockSdk/source/strDecode.cpp
leonard73/LeoJQuantSdk
d4ec0ba402ec6e4832b484fe94a79799e2e57ea5
[ "Apache-2.0" ]
null
null
null
leoStockSdk/source/strDecode.cpp
leonard73/LeoJQuantSdk
d4ec0ba402ec6e4832b484fe94a79799e2e57ea5
[ "Apache-2.0" ]
null
null
null
#include <strDecode.h> #define LOG_TAG " [STR_DECODE] " #define LOGLINE_STR_INT(s,i) std::cout<<LOG_TAG<<s<<" "<<i<<std::endl #define LOGLINE_STR_INT_STR_STR(s1,i1,s2,s3) std::cout<<LOG_TAG<<s1<<" "<<i1<<s2<<" "<<s3<<std::endl void decode_str_by_lines(std::vector <std::string> & lines_str,std::string string_raw) { ...
34.6
100
0.566474
2fb596f95db409cfbe5ad74c7561c06746ea7abf
305
cpp
C++
src/SGLibExceptions.cpp
yhhshb/yalff
6789a7bef08e633e2044ea597eeb4308a456c06a
[ "MIT" ]
2
2020-01-17T12:34:11.000Z
2020-04-16T15:47:01.000Z
src/SGLibExceptions.cpp
yhhshb/yalff
6789a7bef08e633e2044ea597eeb4308a456c06a
[ "MIT" ]
null
null
null
src/SGLibExceptions.cpp
yhhshb/yalff
6789a7bef08e633e2044ea597eeb4308a456c06a
[ "MIT" ]
1
2021-01-15T15:58:54.000Z
2021-01-15T15:58:54.000Z
#include "SGLibExceptions.hpp" namespace SGLib{ const char* invalid_fastx::what() const noexcept { return "The given input stream does not follow the supposed convention!"; } const char* fastx_end::what() const noexcept { return "The fast* file is finished, no more records in it"; } }//SGLib
19.0625
77
0.72459
2fb653fe9ae332412a59307f3958028f692ea22c
1,166
hpp
C++
driver/support_library/src/cascading/ConcatPart.hpp
ARM-software/npu-driver-stack
1e6b00b21ed4cf39b2df625fa242c6f67c05b19f
[ "Apache-2.0" ]
4
2019-05-31T18:48:24.000Z
2019-06-04T07:59:39.000Z
driver/support_library/src/cascading/ConcatPart.hpp
ARM-software/npu-driver-stack
1e6b00b21ed4cf39b2df625fa242c6f67c05b19f
[ "Apache-2.0" ]
null
null
null
driver/support_library/src/cascading/ConcatPart.hpp
ARM-software/npu-driver-stack
1e6b00b21ed4cf39b2df625fa242c6f67c05b19f
[ "Apache-2.0" ]
null
null
null
// // Copyright © 2021 Arm Limited. // SPDX-License-Identifier: Apache-2.0 // #pragma once #include "Part.hpp" namespace ethosn { namespace support_library { class ConcatPart : public BasePart { public: ConcatPart(PartId id, const std::vector<TensorInfo>& inputTensorsInfo, const Co...
27.761905
70
0.674957
2fb9bb7040b7525234d63aa8472a46fc5416cb87
1,454
hpp
C++
src/Screens/Gameplay/PreciseMusic.hpp
Subject38/jujube
664b995cc65fa6045433b4837d765c62fe6490b4
[ "MIT" ]
19
2020-02-28T20:34:12.000Z
2022-01-28T20:18:25.000Z
src/Screens/Gameplay/PreciseMusic.hpp
Subject38/jujube
664b995cc65fa6045433b4837d765c62fe6490b4
[ "MIT" ]
7
2019-10-22T09:43:16.000Z
2022-03-12T00:15:13.000Z
src/Screens/Gameplay/PreciseMusic.hpp
Subject38/jujube
664b995cc65fa6045433b4837d765c62fe6490b4
[ "MIT" ]
5
2019-10-22T08:14:57.000Z
2021-03-13T06:32:04.000Z
#pragma once #include <thread> #include <atomic> #include <SFML/Audio/Music.hpp> #include <SFML/System/Clock.hpp> #include <SFML/System/Time.hpp> #include "AbstractMusic.hpp" namespace Gameplay { struct _PreciseMusic : sf::Music { explicit _PreciseMusic(const std::string& path); ~_PreciseMusic()...
33.045455
103
0.672627
2fbcc6050d3aa07942a0291c020b66c5facb3b52
418
cpp
C++
week9/scene/src/circleScene.cpp
evejweinberg/algo2012
7e13c20bab94e1769f6751c4e124964ae05b7087
[ "MIT" ]
94
2015-01-12T16:07:57.000Z
2021-12-24T06:48:04.000Z
week9/scene/src/circleScene.cpp
theomission/algo2012
7e13c20bab94e1769f6751c4e124964ae05b7087
[ "MIT" ]
null
null
null
week9/scene/src/circleScene.cpp
theomission/algo2012
7e13c20bab94e1769f6751c4e124964ae05b7087
[ "MIT" ]
18
2015-03-12T23:11:08.000Z
2022-02-05T05:43:51.000Z
/* * squareScene.cpp * sceneExample * * Created by zachary lieberman on 11/30/10. * Copyright 2010 __MyCompanyName__. All rights reserved. * */ #include "circleScene.h" void circleScene::setup(){ } void circleScene::update(){ } void circleScene::draw(){ ofSetColor(0,0,0); for (int i = 0; i < 100...
14.413793
83
0.648325
2fbfb4a82ea69a9fce04e19ae0e9fb1f91262da9
699
hpp
C++
src/brook/runtime/gpu/gpuruntime.hpp
darwin/inferno
e87017763abae0cfe09d47987f5f6ac37c4f073d
[ "Zlib" ]
2
2016-05-09T11:57:28.000Z
2021-07-28T16:46:08.000Z
src/brook/runtime/gpu/gpuruntime.hpp
darwin/inferno
e87017763abae0cfe09d47987f5f6ac37c4f073d
[ "Zlib" ]
null
null
null
src/brook/runtime/gpu/gpuruntime.hpp
darwin/inferno
e87017763abae0cfe09d47987f5f6ac37c4f073d
[ "Zlib" ]
null
null
null
// gpuruntime.hpp #ifndef GPU_RUNTIME_HPP #define GPU_RUNTIME_HPP #include "gpucontext.hpp" namespace brook { class GPURuntime : public RunTime { public: virtual Kernel* CreateKernel(const void*[]); virtual Stream* CreateStream( int fieldCount, const __BRTStreamType fieldTypes[], ...
19.416667
58
0.639485
2fc218389ad2c87208d8275b8dbd79530dc73bbf
1,029
cpp
C++
Hero's Quest/Item.cpp
uaineteine/Hero-s-Quest
509504db82748911218541212f73a3f5ded13351
[ "MIT" ]
null
null
null
Hero's Quest/Item.cpp
uaineteine/Hero-s-Quest
509504db82748911218541212f73a3f5ded13351
[ "MIT" ]
null
null
null
Hero's Quest/Item.cpp
uaineteine/Hero-s-Quest
509504db82748911218541212f73a3f5ded13351
[ "MIT" ]
null
null
null
#include "stdafx.h" #include "Item.h" Item::Item() { } Item::~Item() { } void Item::SetType(int type) { Type = type; Description = ""; if (Type == 1) { Name = "Shield"; SetStats(0, 0, 0, 1, 0); Description = "Adds 1 defence"; Cost = 4; } if (Type == 2) { Name = "Breastplate"; SetStats(0, 0, 0, 3, 0...
15.590909
43
0.542274
2fc35f98171349d072f9e6587d5d1b7609255223
1,092
cc
C++
贪心/POJ-3190.cc
OFShare/Algorithm-challenger
43336871a5e48f8804d6e737c813d9d4c0dc2731
[ "MIT" ]
67
2019-07-14T05:38:41.000Z
2021-12-23T11:52:51.000Z
贪心/POJ-3190.cc
OFShare/Algorithm-challenger
43336871a5e48f8804d6e737c813d9d4c0dc2731
[ "MIT" ]
null
null
null
贪心/POJ-3190.cc
OFShare/Algorithm-challenger
43336871a5e48f8804d6e737c813d9d4c0dc2731
[ "MIT" ]
12
2020-01-16T10:48:01.000Z
2021-06-11T16:49:04.000Z
/* * Created by OFShare on 2019-12-10 * */ #include <cstdio> #include <algorithm> #include <queue> #include <cmath> #include <cstring> const int maxn = 5e5 + 5; int n; struct node { int start, end, id; bool operator<(node &rhs) const { return start < rhs.start; } }A[maxn]; int ans[maxn]; // <右端点, stall的...
19.5
117
0.505495
2fc36abf89eee12c6b38e689365ef8faa7ce177d
4,692
cpp
C++
src/mino.cpp
KingAlone0/Tetris-Clone
0f6d4b81e51a290f03b5bbe74c5464fe1d41f2d7
[ "MIT" ]
null
null
null
src/mino.cpp
KingAlone0/Tetris-Clone
0f6d4b81e51a290f03b5bbe74c5464fe1d41f2d7
[ "MIT" ]
null
null
null
src/mino.cpp
KingAlone0/Tetris-Clone
0f6d4b81e51a290f03b5bbe74c5464fe1d41f2d7
[ "MIT" ]
null
null
null
#include "mino.hpp" #include <iostream> Mino::Mino() { sprPlace.left = 0; sprPlace.top = 0; sprPlace.width = 16; sprPlace.height = 16; texture = Defaults::Get().MinoTexture(); spr.setTexture(texture); spr.setPosition(sf::Vector2f(0.f, 0.f)); updateCollision(); Collision.addAreaPlayab...
19.15102
171
0.607204
2fc36edc3d77df88bedde116f5c7ee042d2b723b
4,345
cxx
C++
vtkImageDualSigmoid.cxx
aWilson41/vtkImageDualSigmoid
dd7bd47449fb462fc0ef67c188d44e05ac2ed733
[ "MIT" ]
null
null
null
vtkImageDualSigmoid.cxx
aWilson41/vtkImageDualSigmoid
dd7bd47449fb462fc0ef67c188d44e05ac2ed733
[ "MIT" ]
null
null
null
vtkImageDualSigmoid.cxx
aWilson41/vtkImageDualSigmoid
dd7bd47449fb462fc0ef67c188d44e05ac2ed733
[ "MIT" ]
null
null
null
#include "vtkImageDualSigmoid.h" #include <vtkImageData.h> #include <vtkImageProgressIterator.h> #include <vtkObjectFactory.h> vtkStandardNewMacro(vtkImageDualSigmoid); vtkImageDualSigmoid::vtkImageDualSigmoid() { this->SetNumberOfInputPorts(1); this->SetNumberOfOutputPorts(1); Alpha = 1.0; LowerBeta = 0.0; Upp...
27.327044
139
0.693211
2fcaf243298cdf355270b98af852486dd90ab150
3,446
cc
C++
code/render/instancing/base/instancerendererbase.cc
Nechrito/nebula
6c7ef27ab1374d3f751d866500729524f72a0c87
[ "BSD-2-Clause" ]
null
null
null
code/render/instancing/base/instancerendererbase.cc
Nechrito/nebula
6c7ef27ab1374d3f751d866500729524f72a0c87
[ "BSD-2-Clause" ]
null
null
null
code/render/instancing/base/instancerendererbase.cc
Nechrito/nebula
6c7ef27ab1374d3f751d866500729524f72a0c87
[ "BSD-2-Clause" ]
null
null
null
//------------------------------------------------------------------------------ // instancerendererbase.cc // (C) 2012 Gustav Sterbrant // (C) 2013-2018 Individual contributors, see AUTHORS file //------------------------------------------------------------------------------ #include "stdneb.h" #include "instancere...
25.153285
82
0.543529
2fcbde70552692282e12fced2607777709b6f9b2
10,616
cpp
C++
ctrl/stdga.cpp
lmcv-ufc/BIOS
1e4d7ad67fd3b6744ae03ffb6ef650c442164ee3
[ "BSD-2-Clause" ]
null
null
null
ctrl/stdga.cpp
lmcv-ufc/BIOS
1e4d7ad67fd3b6744ae03ffb6ef650c442164ee3
[ "BSD-2-Clause" ]
null
null
null
ctrl/stdga.cpp
lmcv-ufc/BIOS
1e4d7ad67fd3b6744ae03ffb6ef650c442164ee3
[ "BSD-2-Clause" ]
null
null
null
// ------------------------------------------------------------------------- // stdga.cpp - implementation of cStandardGA class. // ------------------------------------------------------------------------- // Copyright (c) 2021 LMCV/UFC // All rights reserved. // // Redistribution and use in source and binary forms, wi...
26.606516
114
0.553881
2fccd780483ab7faf6af89ea9c7fbcc844c5e096
541
cxx
C++
cxx/test/utils/file.cxx
mcptr/pjxxs
b95de3d13e05cd9a68e16015a39c29edf8e5bd59
[ "MIT" ]
null
null
null
cxx/test/utils/file.cxx
mcptr/pjxxs
b95de3d13e05cd9a68e16015a39c29edf8e5bd59
[ "MIT" ]
null
null
null
cxx/test/utils/file.cxx
mcptr/pjxxs
b95de3d13e05cd9a68e16015a39c29edf8e5bd59
[ "MIT" ]
null
null
null
#include "file.hxx" #include <fstream> #include <stdexcept> namespace test { namespace utils { void read_file_contents(const std::string& filename, std::string& dest) { std::ifstream in(filename, std::ios::in | std::ios::binary); if(in) { in.seekg(0, std::ios::end); dest.resize(in.tellg()); in.seekg...
18.033333
71
0.628466
2fd154830cc9e42a0104f87b723053a13f90c1f8
49,912
hpp
C++
include/System/String.hpp
darknight1050/BeatSaber-Quest-Codegen
a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032
[ "Unlicense" ]
null
null
null
include/System/String.hpp
darknight1050/BeatSaber-Quest-Codegen
a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032
[ "Unlicense" ]
null
null
null
include/System/String.hpp
darknight1050/BeatSaber-Quest-Codegen
a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032
[ "Unlicense" ]
null
null
null
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" #include <initializer_list> // Including type: System.IComparable #include "System/IComp...
61.925558
317
0.722211
2fd158e68edbe45a9c974c01319d53d3d5100685
1,430
cpp
C++
5-1_if_else_if_2.cpp
ahfa92/cpp
bddd80ea5c6aca23c91bd6693bb32da06e67cbd2
[ "MIT" ]
null
null
null
5-1_if_else_if_2.cpp
ahfa92/cpp
bddd80ea5c6aca23c91bd6693bb32da06e67cbd2
[ "MIT" ]
null
null
null
5-1_if_else_if_2.cpp
ahfa92/cpp
bddd80ea5c6aca23c91bd6693bb32da06e67cbd2
[ "MIT" ]
null
null
null
#include <stdio.h> #include <conio.h> #include <iostream.h> #include <string> main() { char kd[3],mskp[15]; int kls; long hrg=0; cout<<"Masukkan Kode Pesawat [MPT/GRD/BTV] : ";cin>>kd; cout<<"Kelas Pesawat : ";cin>>kls; if(strcmp(kd,"MPT") || strcmp(kd,"mpt") || strcmp(kd,"Mpt")) { strcpy(mskp,"...
19.324324
70
0.443357
2fd2689eda384e86d0f9c0e3dd861e7f3487a81a
912
cpp
C++
DxEngine/GDepthStencil.cpp
psk7142/DirectX2D
1d91e8a863aab2dbf57fecd2df111261a90dd3de
[ "MIT" ]
null
null
null
DxEngine/GDepthStencil.cpp
psk7142/DirectX2D
1d91e8a863aab2dbf57fecd2df111261a90dd3de
[ "MIT" ]
null
null
null
DxEngine/GDepthStencil.cpp
psk7142/DirectX2D
1d91e8a863aab2dbf57fecd2df111261a90dd3de
[ "MIT" ]
2
2020-03-09T15:12:11.000Z
2020-03-09T16:04:04.000Z
#include "GDepthStencil.h" GDepthStencil::GDepthStencil( ) : mDSDesc(D3D11_DEPTH_STENCIL_DESC( )) , mState(nullptr) { EMPTY_STATEMENT; } GDepthStencil::~GDepthStencil( ) { if ( nullptr != mState ) { mState->Release( ); mState = nullptr; } } bool GDepthStencil::Create( ) { mDSDesc.DepthEnable = true; mDSD...
18.612245
101
0.730263
2fd425d15c738d0423fd34bc77ada9b61274025e
7,803
hpp
C++
sdl/Hypergraph/ArcParserFct.hpp
sdl-research/hyp
d39f388f9cd283bcfa2f035f399b466407c30173
[ "Apache-2.0" ]
29
2015-01-26T21:49:51.000Z
2021-06-18T18:09:42.000Z
sdl/Hypergraph/ArcParserFct.hpp
hypergraphs/hyp
d39f388f9cd283bcfa2f035f399b466407c30173
[ "Apache-2.0" ]
1
2015-12-08T15:03:15.000Z
2016-01-26T14:31:06.000Z
sdl/Hypergraph/ArcParserFct.hpp
hypergraphs/hyp
d39f388f9cd283bcfa2f035f399b466407c30173
[ "Apache-2.0" ]
4
2015-11-21T14:25:38.000Z
2017-10-30T22:22:00.000Z
// Copyright 2014-2015 SDL plc // 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 writing,...
36.125
110
0.647059
7c7c49b76b1ea1161b86cdc65d96117cdc9b96ea
2,655
cpp
C++
Discord Cornfield/MessageWrap.cpp
ContionMig/Mitsuzi
90218e5e83845ad26c1398266453dcfbeeff4565
[ "MIT" ]
1
2020-10-15T00:15:24.000Z
2020-10-15T00:15:24.000Z
Discord Cornfield/MessageWrap.cpp
ContionMig/Mitsuzi
90218e5e83845ad26c1398266453dcfbeeff4565
[ "MIT" ]
null
null
null
Discord Cornfield/MessageWrap.cpp
ContionMig/Mitsuzi
90218e5e83845ad26c1398266453dcfbeeff4565
[ "MIT" ]
3
2020-08-14T18:14:39.000Z
2021-04-11T10:46:46.000Z
#include "include.h" namespace MessageWrap { void BasicEmbedReturn(bool Error, std::string Disc, discord::MessageEvent& event, uint64_t timestamp) { Helpers::ChecksStr(Disc); event.channel()->send_embed([&Error, &Disc, &timestamp](discord::Embed& e) { if (Error) e.se...
44.25
132
0.580038
7c7d02ef078a9afa4d8469b8b6ed6e06f9f2d757
2,327
cpp
C++
Photon/photon/gfx/Shader.cpp
tatjam/Photon
a0c1584d10e1422cc2e468a6f94351a8310b7599
[ "MIT" ]
1
2017-05-28T12:10:30.000Z
2017-05-28T12:10:30.000Z
Photon/photon/gfx/Shader.cpp
tatjam/Photon
a0c1584d10e1422cc2e468a6f94351a8310b7599
[ "MIT" ]
null
null
null
Photon/photon/gfx/Shader.cpp
tatjam/Photon
a0c1584d10e1422cc2e468a6f94351a8310b7599
[ "MIT" ]
null
null
null
#include "Shader.h" namespace ph { void Shader::use() { glUseProgram(pr); } void Shader::load(std::string vpath, std::string fpath) { en->log(INF) << "Loading shaders: (" << vpath << ", " << fpath << ")" << endlog; std::string vertexCode; std::string fragmentCode; std::ifstream vShaderFile; std::if...
23.27
82
0.661796
7c840bbc662a3b2f2a5ed47ac08ede5b7f917771
1,778
cc
C++
src/ui/lib/escher/vk/image.cc
allansrc/fuchsia
a2c235b33fc4305044d496354a08775f30cdcf37
[ "BSD-2-Clause" ]
210
2019-02-05T12:45:09.000Z
2022-03-28T07:59:06.000Z
src/ui/lib/escher/vk/image.cc
allansrc/fuchsia
a2c235b33fc4305044d496354a08775f30cdcf37
[ "BSD-2-Clause" ]
56
2021-06-03T03:16:25.000Z
2022-03-20T01:07:44.000Z
src/ui/lib/escher/vk/image.cc
allansrc/fuchsia
a2c235b33fc4305044d496354a08775f30cdcf37
[ "BSD-2-Clause" ]
73
2019-03-06T18:55:23.000Z
2022-03-26T12:04:51.000Z
// Copyright 2016 The Fuchsia Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "src/ui/lib/escher/vk/image.h" #include "src/ui/lib/escher/util/image_utils.h" namespace escher { const ResourceTypeInfo Image::kTypeInfo("Imag...
42.333333
97
0.731721
7c856d5931fe7f03034f2733b37ebc942c2aab8a
50,799
cpp
C++
ps1/simplewindow/linux/fssimplewindow.cpp
lord-pradhan/CPP_graphics
1d4ea35c266b987947bf94bd07f4fa6c1c7684f2
[ "MIT" ]
null
null
null
ps1/simplewindow/linux/fssimplewindow.cpp
lord-pradhan/CPP_graphics
1d4ea35c266b987947bf94bd07f4fa6c1c7684f2
[ "MIT" ]
null
null
null
ps1/simplewindow/linux/fssimplewindow.cpp
lord-pradhan/CPP_graphics
1d4ea35c266b987947bf94bd07f4fa6c1c7684f2
[ "MIT" ]
null
null
null
/* //////////////////////////////////////////////////////////// File Name: fsglxwrapper.cpp Copyright (c) 2017 Soji Yamakawa. All rights reserved. http://www.ysflight.com Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are ...
25.799391
194
0.637768
7c88af4a689a965a5621c9c1050e8228c0189ed9
8,154
cpp
C++
Examples/DocsExamples/source/Programming with Documents/Split Documents/Split into html pages.cpp
btolfa/Aspose.Words-for-C
f75c77380b75546907ee63b96590f5250d2ffa90
[ "MIT" ]
32
2018-08-23T07:48:20.000Z
2021-12-24T07:27:02.000Z
Examples/DocsExamples/source/Programming with Documents/Split Documents/Split into html pages.cpp
btolfa/Aspose.Words-for-C
f75c77380b75546907ee63b96590f5250d2ffa90
[ "MIT" ]
1
2021-11-23T03:35:31.000Z
2022-01-26T09:19:44.000Z
Examples/DocsExamples/source/Programming with Documents/Split Documents/Split into html pages.cpp
btolfa/Aspose.Words-for-C
f75c77380b75546907ee63b96590f5250d2ffa90
[ "MIT" ]
13
2018-07-31T05:02:33.000Z
2022-03-06T22:12:36.000Z
#include "Split into html pages.h" #include <Aspose.Words.Cpp/Body.h> #include <Aspose.Words.Cpp/BreakType.h> #include <Aspose.Words.Cpp/Fields/Field.h> #include <Aspose.Words.Cpp/ImportFormatMode.h> #include <Aspose.Words.Cpp/MailMerging/MailMerge.h> #include <Aspose.Words.Cpp/Node.h> #include <Aspose.Words.Cpp/Node...
36.565022
146
0.712288
7c88e4be17f38025a56f8f702c0f8fd535de93b8
1,839
cpp
C++
devmand/gateway/src/devmand/channels/cli/datastore/Datastore.cpp
gurrapualt/magma
13e05788fa6c40293a58b6e03cfb394bb79fa98f
[ "BSD-3-Clause" ]
2
2020-12-09T11:42:30.000Z
2021-09-26T03:28:33.000Z
devmand/gateway/src/devmand/channels/cli/datastore/Datastore.cpp
gurrapualt/magma
13e05788fa6c40293a58b6e03cfb394bb79fa98f
[ "BSD-3-Clause" ]
124
2020-08-21T06:11:21.000Z
2022-03-21T05:25:26.000Z
devmand/gateway/src/devmand/channels/cli/datastore/Datastore.cpp
yogi8091/magma
edc3b249068ad871047e898c912f3228ee9f2c88
[ "BSD-3-Clause" ]
1
2020-09-21T04:25:06.000Z
2020-09-21T04:25:06.000Z
/* Copyright 2020 The Magma Authors. This source code is licensed under the BSD-style license found in the LICENSE file in the root directory of this source tree. Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR...
31.169492
80
0.777053
7c899c2446dad17bae3be6e34fcf3c0507512781
204
cpp
C++
modules/core/perf/perf_main.cpp
snosov1/opencv
ce05d6cb89450a5778f4c0169b5da5589798192a
[ "BSD-3-Clause" ]
144
2015-01-15T03:38:44.000Z
2022-02-17T09:07:52.000Z
modules/core/perf/perf_main.cpp
snosov1/opencv
ce05d6cb89450a5778f4c0169b5da5589798192a
[ "BSD-3-Clause" ]
28
2016-10-16T19:42:37.000Z
2018-09-14T21:29:48.000Z
modules/core/perf/perf_main.cpp
snosov1/opencv
ce05d6cb89450a5778f4c0169b5da5589798192a
[ "BSD-3-Clause" ]
58
2015-01-14T23:43:49.000Z
2021-11-15T05:19:08.000Z
#include "perf_precomp.hpp" #ifdef _MSC_VER # if _MSC_VER >= 1700 # pragma warning(disable:4447) // Disable warning 'main' signature found without threading model # endif #endif CV_PERF_TEST_MAIN(core)
22.666667
97
0.769608
7c8bd80dcf97df51bd3ba2e6dea94e5878938ebb
1,301
hpp
C++
Firmware/graphics/gs_event_dispatcher.hpp
ValentiWorkLearning/GradWork
70bb5a629df056a559bae3694b47a2e5dc98c23b
[ "MIT" ]
39
2019-10-23T12:06:16.000Z
2022-01-26T04:28:29.000Z
Firmware/graphics/gs_event_dispatcher.hpp
ValentiWorkLearning/GradWork
70bb5a629df056a559bae3694b47a2e5dc98c23b
[ "MIT" ]
20
2020-03-21T20:21:46.000Z
2021-11-19T14:34:03.000Z
Firmware/graphics/gs_event_dispatcher.hpp
ValentiWorkLearning/GradWork
70bb5a629df056a559bae3694b47a2e5dc98c23b
[ "MIT" ]
7
2019-10-18T09:44:10.000Z
2021-06-11T13:05:16.000Z
#pragma once #include "ih/gs_events.hpp" #include "utils/Noncopyable.hpp" #include <any> #include <atomic> #include <functional> #include <memory> #include <vector> #include <etl/queue_spsc_atomic.h> #include <etl/vector.h> namespace Graphics::Events { class EventDispatcher : private Utils::noncopyable { public:...
25.019231
93
0.757879
7c8f5df5442113163ba49a41d021f26edd928d35
3,421
cpp
C++
DeviceConfig.cpp
bhardwajRahul/gpuPlotGenerator
ad90dc34a648382898abfa81017bc853ac022ca9
[ "BSD-2-Clause-FreeBSD" ]
57
2015-02-13T12:26:01.000Z
2022-03-29T17:57:26.000Z
DeviceConfig.cpp
bhardwajRahul/gpuPlotGenerator
ad90dc34a648382898abfa81017bc853ac022ca9
[ "BSD-2-Clause-FreeBSD" ]
47
2016-10-18T14:41:17.000Z
2020-12-11T07:53:47.000Z
DeviceConfig.cpp
daveahartley/BurstGPUPlotter
cd72747825307c5724c540bd7209055fc1161ef7
[ "BSD-2-Clause-FreeBSD" ]
34
2015-06-27T07:29:11.000Z
2022-03-25T05:20:57.000Z
/* GPU plot generator for Burst coin. Author: Cryo Bitcoin: 138gMBhCrNkbaiTCmUhP9HLU9xwn5QKZgD Burst: BURST-YA29-QCEW-QXC3-BKXDL Based on the code of the official miner and dcct's plotgen. */ #include <fstream> #include <sstream> #include <cstdlib> #include <stdexcept> #include <algorithm> #include <memory> #in...
32.580952
188
0.72698
7c9813af5df1b41786b3ff28fb0a636d6d50dc11
1,742
hpp
C++
src/game/Particule.hpp
ArthurSonzogni/InTheCube
c4a35096d962d23f6211802970ee44f77d29e38a
[ "MIT" ]
4
2019-12-31T07:58:54.000Z
2021-09-07T18:16:51.000Z
src/game/Particule.hpp
ArthurSonzogni/InTheCube
c4a35096d962d23f6211802970ee44f77d29e38a
[ "MIT" ]
null
null
null
src/game/Particule.hpp
ArthurSonzogni/InTheCube
c4a35096d962d23f6211802970ee44f77d29e38a
[ "MIT" ]
2
2020-02-17T12:47:33.000Z
2021-09-07T18:16:52.000Z
// Copyright 2020 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 GAME_PARTICULE_HPP #define GAME_PARTICULE_HPP #include <smk/Sprite.hpp> #include "game/Hero.hpp" class window; class Particule { public: smk::Sprite...
23.540541
78
0.756602
7c98c76c83e4a124a0b925c319a6023e5794f82f
8,117
cpp
C++
enma_pe/pe_debug.cpp
wjcsharp/enma_pe
6da64a80a611a25cdba181179e5724d971a633a8
[ "BSD-3-Clause" ]
1
2019-04-26T07:18:15.000Z
2019-04-26T07:18:15.000Z
enma_pe/pe_debug.cpp
frustreated/enma_pe
6da64a80a611a25cdba181179e5724d971a633a8
[ "BSD-3-Clause" ]
null
null
null
enma_pe/pe_debug.cpp
frustreated/enma_pe
6da64a80a611a25cdba181179e5724d971a633a8
[ "BSD-3-Clause" ]
1
2020-07-09T03:20:02.000Z
2020-07-09T03:20:02.000Z
#include "stdafx.h" #include "pe_debug.h" debug_item::debug_item() { this->characteristics = 0; this->timestamp = 0; this->major_version = 0; this->minor_version = 0; this->type = 0; this->size_of_data = 0; this->address_of_raw_data = 0; this->pointer...
32.210317
126
0.681902
7c99511af0b6cd91d4403e9bf55b979be3005c6c
1,997
cpp
C++
libmetartc2/src/yangcapture/YangScreenShare.cpp
guoai2015/metaRTC
70e9a09c9a703a547e791cd246c4054d87881f08
[ "MIT" ]
147
2021-09-12T07:23:45.000Z
2021-11-11T11:31:26.000Z
libmetartc2/src/yangcapture/YangScreenShare.cpp
guoai2015/metaRTC
70e9a09c9a703a547e791cd246c4054d87881f08
[ "MIT" ]
6
2021-11-30T07:53:09.000Z
2022-02-25T01:36:38.000Z
libmetartc2/src/yangcapture/YangScreenShare.cpp
guoai2015/metaRTC
70e9a09c9a703a547e791cd246c4054d87881f08
[ "MIT" ]
36
2021-11-16T03:32:41.000Z
2022-03-31T07:21:32.000Z
/* * YangScreenShareLinux.cpp * * Created on: 2020年8月30日 * Author: yang */ #include "YangScreenShare.h" #include "yangutil/yang_unistd.h" #include "yangavutil/video/YangYuvConvert.h" YangScreenCapture::YangScreenCapture(){ m_isStart=0; } YangScreenCapture::~YangScreenCapture(){ } void YangScreenCaptur...
21.244681
72
0.750125
7ca18f920a7e1cd8b9a12e9af396431ee1a6f4ac
3,601
cpp
C++
src/api/c/surface.cpp
sanjaymsh/forge
173ddaa199b10115abdd3c5d34287a7950f6bff3
[ "BSD-3-Clause" ]
null
null
null
src/api/c/surface.cpp
sanjaymsh/forge
173ddaa199b10115abdd3c5d34287a7950f6bff3
[ "BSD-3-Clause" ]
null
null
null
src/api/c/surface.cpp
sanjaymsh/forge
173ddaa199b10115abdd3c5d34287a7950f6bff3
[ "BSD-3-Clause" ]
null
null
null
/******************************************************* * Copyright (c) 2015-2019, ArrayFire * All rights reserved. * * This file is distributed under 3-clause BSD license. * The complete license agreement can be obtained at: * http://arrayfire.com/licenses/BSD-3-Clause *****************************************...
24.006667
80
0.588725
7ca1f03d0d13e5ab1b0e383a1d885f68dca4a426
388
cpp
C++
src/server/main.cpp
Ooggle/MUSIC-exclamation-mark
55f4dd750d57227fac29d887d90e0c8ec2ad7397
[ "MIT" ]
7
2020-08-28T21:47:54.000Z
2021-01-01T17:54:27.000Z
src/server/main.cpp
Ooggle/MUSIC-exclamation-mark
55f4dd750d57227fac29d887d90e0c8ec2ad7397
[ "MIT" ]
null
null
null
src/server/main.cpp
Ooggle/MUSIC-exclamation-mark
55f4dd750d57227fac29d887d90e0c8ec2ad7397
[ "MIT" ]
1
2020-12-26T17:08:54.000Z
2020-12-26T17:08:54.000Z
/* Compilation : g++ main.cpp -std=c++17 `sdl2-config --libs` -lSDL2_mixer `taglib-config --libs` `pkg-config --cflags --libs taglib` -lz Some flags are useless for now. */ #include "DatabaseHandler.h" #include "WebHandler.h" #include <stdio.h> #define SERVER_VERSION "0.1" int main() { printf("Welcome to...
21.555556
138
0.67268
7ca26cc859aae12a80ec9397f9da9a51ce1475d5
323
cpp
C++
project/OFEC_sc2/core/global.cpp
BaiChunhui-9803/bch_sc2_OFEC
d50211b27df5a51a953a2475b6c292d00cbfeff6
[ "MIT" ]
null
null
null
project/OFEC_sc2/core/global.cpp
BaiChunhui-9803/bch_sc2_OFEC
d50211b27df5a51a953a2475b6c292d00cbfeff6
[ "MIT" ]
null
null
null
project/OFEC_sc2/core/global.cpp
BaiChunhui-9803/bch_sc2_OFEC
d50211b27df5a51a953a2475b6c292d00cbfeff6
[ "MIT" ]
null
null
null
#include "global.h" namespace OFEC { factory<Problem> g_reg_problem; factory<Algorithm> g_reg_algorithm; std::map<std::string, std::set<std::string>> g_alg_for_pro; std::set<std::string> g_param_omit; std::map<std::string, std::string> g_param_abbr; std::string g_working_dir = OFEC_DIR; std::mutex g_cout_mutex...
26.916667
60
0.74613
7ca48e1c9feca936e90619635dbdb1a2fba604ab
1,624
hpp
C++
ch10/stack_by_list.hpp
klong13579/cppL
7aa8afaf2d2e17578c7fd91654bedcccf0a6baab
[ "MIT" ]
261
2015-01-11T20:42:33.000Z
2022-02-17T01:33:39.000Z
ch10/stack_by_list.hpp
LeungGeorge/CLRS
7aa8afaf2d2e17578c7fd91654bedcccf0a6baab
[ "MIT" ]
4
2015-04-05T11:49:45.000Z
2017-02-19T08:29:52.000Z
ch10/stack_by_list.hpp
LeungGeorge/CLRS
7aa8afaf2d2e17578c7fd91654bedcccf0a6baab
[ "MIT" ]
98
2015-01-03T12:58:50.000Z
2021-07-16T07:29:31.000Z
/*************************************************************************** * @file stack_by_list.hpp * @author Alan.W * @date 30 May 2014 * @remark Chapter 10, Introduction to Algorithms * @note code style : STL ********************************************************************...
18.247191
79
0.501847
7ca6c6de9cb2d59da81fa25e8a16df62b6c0e72b
3,490
cpp
C++
PolyCubeCut/PolyCubeCutInterface.cpp
msraig/CE-PolyCube
e46aff6e0594b711735118bfa902a91bc3d392ca
[ "MIT" ]
19
2020-08-13T05:15:09.000Z
2022-03-31T14:51:29.000Z
PolyCubeCut/PolyCubeCutInterface.cpp
xh-liu-tech/CE-PolyCube
86d4ed0023215307116b6b3245e2dbd82907cbb8
[ "MIT" ]
2
2020-09-08T07:03:04.000Z
2021-08-04T05:43:27.000Z
PolyCubeCut/PolyCubeCutInterface.cpp
xh-liu-tech/CE-PolyCube
86d4ed0023215307116b6b3245e2dbd82907cbb8
[ "MIT" ]
10
2020-08-06T02:37:46.000Z
2021-07-01T09:12:06.000Z
#include "PolyCubeCutInterface.h" #include "PolyCubeCut.h" PolyCubeCutInterface::PolyCubeCutInterface( const std::vector<ig::CVec<double, 3>> &v_input_point, const std::vector<unsigned int> &v_input_face, const std::vector<int> &v_input_chart, const std::vector<int> &v_input_label ) { m_pcc = new P...
31.727273
161
0.738682
7ca82ca251546cfb09a8f149676c8ede2ce19251
3,948
cpp
C++
Libraries/RobsJuceModules/rosic/sequencing/rosic_AcidPattern.cpp
RobinSchmidt/RS-MET-Preliminary
6c01cbaad7cce3daa3293c444dd9e4b74e5ebfbe
[ "FTL" ]
34
2017-04-19T18:26:02.000Z
2022-02-15T17:47:26.000Z
Libraries/RobsJuceModules/rosic/sequencing/rosic_AcidPattern.cpp
RobinSchmidt/RS-MET-Preliminary
6c01cbaad7cce3daa3293c444dd9e4b74e5ebfbe
[ "FTL" ]
307
2017-05-04T21:45:01.000Z
2022-02-03T00:59:01.000Z
Libraries/RobsJuceModules/rosic/sequencing/rosic_AcidPattern.cpp
RobinSchmidt/RS-MET-Preliminary
6c01cbaad7cce3daa3293c444dd9e4b74e5ebfbe
[ "FTL" ]
4
2017-09-05T17:04:31.000Z
2021-12-15T21:24:28.000Z
//#include "rosic_AcidPattern.h" //using namespace rosic; AcidPattern::AcidPattern() { numSteps = 16; stepLength = 0.5; } //------------------------------------------------------------------------------------------------- // setup: void AcidPattern::clear() { for(int i=0; i<maxNumSteps; i++) { notes...
23.783133
102
0.609929