hexsha
stringlengths
40
40
size
int64
7
1.05M
ext
stringclasses
13 values
lang
stringclasses
1 value
max_stars_repo_path
stringlengths
4
269
max_stars_repo_name
stringlengths
5
109
max_stars_repo_head_hexsha
stringlengths
40
40
max_stars_repo_licenses
listlengths
1
9
max_stars_count
int64
1
191k
max_stars_repo_stars_event_min_datetime
stringlengths
24
24
max_stars_repo_stars_event_max_datetime
stringlengths
24
24
max_issues_repo_path
stringlengths
4
269
max_issues_repo_name
stringlengths
5
116
max_issues_repo_head_hexsha
stringlengths
40
40
max_issues_repo_licenses
listlengths
1
9
max_issues_count
int64
1
48.5k
max_issues_repo_issues_event_min_datetime
stringlengths
24
24
max_issues_repo_issues_event_max_datetime
stringlengths
24
24
max_forks_repo_path
stringlengths
4
269
max_forks_repo_name
stringlengths
5
116
max_forks_repo_head_hexsha
stringlengths
40
40
max_forks_repo_licenses
listlengths
1
9
max_forks_count
int64
1
105k
max_forks_repo_forks_event_min_datetime
stringlengths
24
24
max_forks_repo_forks_event_max_datetime
stringlengths
24
24
content
stringlengths
7
1.05M
avg_line_length
float64
1.21
330k
max_line_length
int64
6
990k
alphanum_fraction
float64
0.01
0.99
author_id
stringlengths
2
40
67c7ce6787c9bf7a0be0c7cc579c2513f6d3b05d
39
hpp
C++
src/boost_qvm_deduce_scalar.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
10
2018-03-17T00:58:42.000Z
2021-07-06T02:48:49.000Z
src/boost_qvm_deduce_scalar.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
2
2021-03-26T15:17:35.000Z
2021-05-20T23:55:08.000Z
src/boost_qvm_deduce_scalar.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
4
2019-05-28T21:06:37.000Z
2021-07-06T03:06:52.000Z
#include <boost/qvm/deduce_scalar.hpp>
19.5
38
0.794872
miathedev
67c833b4161bf53e5fa34b56d5c52a9a1182dc5f
6,965
cpp
C++
uploadwidget.cpp
HIIT/meeting-recorder
8fea5b3c0f5dd7eb120b1af8770191b358cd3886
[ "MIT" ]
3
2016-08-25T07:22:19.000Z
2019-05-23T13:12:04.000Z
uploadwidget.cpp
HIIT/meeting-recorder
8fea5b3c0f5dd7eb120b1af8770191b358cd3886
[ "MIT" ]
null
null
null
uploadwidget.cpp
HIIT/meeting-recorder
8fea5b3c0f5dd7eb120b1af8770191b358cd3886
[ "MIT" ]
4
2017-03-20T22:22:33.000Z
2021-12-10T22:35:52.000Z
#include <QDebug> #include <QDialogButtonBox> #include <QGroupBox> #include <QVBoxLayout> #include <QFormLayout> #include <QInputDialog> #include <QLabel> #include "uploadwidget.h" // --------------------------------------------------------------------- UploadWidget::UploadWidget(QWidget *parent, QString directory)...
30.682819
82
0.582915
HIIT
67cc4770ead426ae65e1e9a93682a44500bd6d79
1,088
cpp
C++
Programming Basics - C++/LabEndExercises/04.ComplexCondition/PointnRectangleBorder/PointOnRectangleBorder.cpp
vesy53/SoftUni
0bb3a65d62efb537dfbd9d260c01cf9e3b3adb91
[ "MIT" ]
null
null
null
Programming Basics - C++/LabEndExercises/04.ComplexCondition/PointnRectangleBorder/PointOnRectangleBorder.cpp
vesy53/SoftUni
0bb3a65d62efb537dfbd9d260c01cf9e3b3adb91
[ "MIT" ]
null
null
null
Programming Basics - C++/LabEndExercises/04.ComplexCondition/PointnRectangleBorder/PointOnRectangleBorder.cpp
vesy53/SoftUni
0bb3a65d62efb537dfbd9d260c01cf9e3b3adb91
[ "MIT" ]
null
null
null
// PointnectangleBorder.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include <iostream> #include <cmath> using namespace std; int main() { double x1, y1, x2, y2, x_of_point, y_of_point; cin >> x1 >> y1 >> x2 >> y2 >> x_of_point >> y_of_point; bool is_on_left_border, is_on_rig...
27.2
89
0.675551
vesy53
67cd7c8ce2e802bd94ccd9a7c0b62ab92a4250cf
420
hpp
C++
src/Base/TaskProcessors/MPITaskProcessor/MPIPincoTags.hpp
PhilipVinc/PincoSimulator
562192cf3b09d0e67be7e6fee67ff9b59fbc3fd3
[ "MIT" ]
1
2017-10-23T13:22:01.000Z
2017-10-23T13:22:01.000Z
src/Base/TaskProcessors/MPITaskProcessor/MPIPincoTags.hpp
PhilipVinc/PincoSimulator
562192cf3b09d0e67be7e6fee67ff9b59fbc3fd3
[ "MIT" ]
null
null
null
src/Base/TaskProcessors/MPITaskProcessor/MPIPincoTags.hpp
PhilipVinc/PincoSimulator
562192cf3b09d0e67be7e6fee67ff9b59fbc3fd3
[ "MIT" ]
null
null
null
// // Created by Filippo Vicentini on 22/02/2018. // #ifndef SIMULATOR_MPIPINCOTAGS_HPP #define SIMULATOR_MPIPINCOTAGS_HPP #define MASTER_RANK 0 #define SOLVER_STRING_MESSAGE_TAG 1 #define TASKDATA_VECTOR_MESSAGE_TAG 2 #define TASKRESULTS_VECTOR_MESSAGE_TAG 3 #define TERMINATE_WHEN_DONE_MESSAGE_TAG 15 #define NODE_...
22.105263
46
0.852381
PhilipVinc
67d050b2c3766dd161cd59c8ce8c3934d4fab51a
1,972
cpp
C++
Container.cpp
ProfessorDey/Phantasmagoria
cb3a96cf393d503a8184316957dde97db4f18fc8
[ "BSD-3-Clause" ]
null
null
null
Container.cpp
ProfessorDey/Phantasmagoria
cb3a96cf393d503a8184316957dde97db4f18fc8
[ "BSD-3-Clause" ]
null
null
null
Container.cpp
ProfessorDey/Phantasmagoria
cb3a96cf393d503a8184316957dde97db4f18fc8
[ "BSD-3-Clause" ]
null
null
null
#include "Container.h" #include <sstream> Container::Container() { size = 6; slotsTaken = 0; for (int i = 0; i < size; i++) { contents[i] = 0; } } int Container::SlotsTaken(int m, int value) { if (m) slotsTaken = value; return slotsTaken; } int Container::Size() { return size; } std::st...
26.293333
208
0.640467
ProfessorDey
67d17ad64d0caf8ac072c5f36efd5dea3c8996a3
2,125
cpp
C++
cpp/src/runtime_cpu/datawriter.cpp
fragata-ai/arhat
e22e6655ee83140be30b9657e63af1593e3054ed
[ "Apache-2.0" ]
23
2019-11-28T13:52:04.000Z
2021-12-20T03:00:07.000Z
cpp/src/runtime_cpu/datawriter.cpp
fragata-ai/arhat
e22e6655ee83140be30b9657e63af1593e3054ed
[ "Apache-2.0" ]
1
2019-12-05T09:17:39.000Z
2019-12-05T10:57:30.000Z
cpp/src/runtime_cpu/datawriter.cpp
fragata-ai/arhat
e22e6655ee83140be30b9657e63af1593e3054ed
[ "Apache-2.0" ]
2
2019-12-03T00:02:26.000Z
2019-12-04T17:01:00.000Z
// // Copyright 2019-2020 FRAGATA COMPUTER SYSTEMS AG // // 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 applica...
23.097826
77
0.656
fragata-ai
67d3778d179fe63b63ceaeade9c30b6d1eb9cbdb
13,196
cpp
C++
server/server/server.cpp
Tonyx97/TombMP
7eb2d265df2fe7312b7ed07dd5943736340b921c
[ "MIT" ]
3
2021-10-10T11:12:03.000Z
2021-11-04T16:46:57.000Z
server/server/server.cpp
Tonyx97/TombMP
7eb2d265df2fe7312b7ed07dd5943736340b921c
[ "MIT" ]
null
null
null
server/server/server.cpp
Tonyx97/TombMP
7eb2d265df2fe7312b7ed07dd5943736340b921c
[ "MIT" ]
null
null
null
import utils; import prof; #include <shared/defs.h> #include <shared/net/net.h> #include <shared/crypto/sha512.h> #include <shared/scripting/resource_system.h> #include <shared/scripting/resource.h> #include <shared/timer_system/timer_system.h> #include <game_ms/game_ms.h> #include <scripting/events.h> #include <ne...
25.039848
173
0.724007
Tonyx97
67d457a2c4b6811701439ce0d694f70e0050f804
25,088
cpp
C++
reducers/dedup/src/cilk/encoder-reducer.cpp
neboat/cilkbench
ab94183fa348fa8afb7d1547211b202beb4e1d07
[ "MIT" ]
7
2018-12-09T14:10:16.000Z
2021-02-08T10:37:39.000Z
reducers/dedup/src/cilk/encoder-reducer.cpp
neboat/cilkbench
ab94183fa348fa8afb7d1547211b202beb4e1d07
[ "MIT" ]
null
null
null
reducers/dedup/src/cilk/encoder-reducer.cpp
neboat/cilkbench
ab94183fa348fa8afb7d1547211b202beb4e1d07
[ "MIT" ]
4
2019-05-28T16:22:09.000Z
2020-02-24T18:27:24.000Z
/* * Decoder for dedup files * * Copyright 2010 Princeton University. * All rights reserved. * * Originally written by Minlan Yu. * Largely rewritten by Christian Bienia. */ /* * The pipeline model for Encode is * Fragment->FragmentRefine->Deduplicate->Compress->Reorder * Each stage has basically thre...
33.361702
89
0.592674
neboat
67db1cc10447917ed8d10841a7c21c9ec6dcc8e5
1,931
cpp
C++
src/remote_server.cpp
Marcos-Seafloor/udp_bridge
4acd257f7da3b6d591f4091fc0dbfadb53d038dd
[ "BSD-2-Clause" ]
null
null
null
src/remote_server.cpp
Marcos-Seafloor/udp_bridge
4acd257f7da3b6d591f4091fc0dbfadb53d038dd
[ "BSD-2-Clause" ]
null
null
null
src/remote_server.cpp
Marcos-Seafloor/udp_bridge
4acd257f7da3b6d591f4091fc0dbfadb53d038dd
[ "BSD-2-Clause" ]
null
null
null
#include "udp_bridge/udp_bridge.h" #include "std_msgs/String.h" #include "std_msgs/Bool.h" #include "std_msgs/Float32.h" #include "geographic_msgs/GeoPointStamped.h" #include "marine_msgs/Heartbeat.h" #include "marine_msgs/Contact.h" #include "marine_msgs/NavEulerStamped.h" #include "marine_msgs/RadarSectorStamped.h" #...
38.62
106
0.751942
Marcos-Seafloor
67db81ac7e5c1edd2ac06147f6fe9869087531fd
2,656
cpp
C++
lib/SILOptimizer/PassManager/SILOptimizerRequests.cpp
tkachukandrew/swift
49ca2d077804e03fa19029b3add128b7a4692806
[ "Apache-2.0" ]
4
2019-04-22T18:02:44.000Z
2021-09-10T10:25:14.000Z
lib/SILOptimizer/PassManager/SILOptimizerRequests.cpp
brandonasuncion/swift
236237fc9ec4e607d29c89e9bc287142a16c2e19
[ "Apache-2.0" ]
1
2020-09-19T16:23:45.000Z
2020-09-19T16:23:45.000Z
lib/SILOptimizer/PassManager/SILOptimizerRequests.cpp
brandonasuncion/swift
236237fc9ec4e607d29c89e9bc287142a16c2e19
[ "Apache-2.0" ]
1
2017-11-01T15:48:30.000Z
2017-11-01T15:48:30.000Z
//===--- SILOptimizerRequests.cpp - Requests for SIL Optimization --------===// // // This source file is part of the Swift.org open source project // // Copyright (c) 2020 Apple Inc. and the Swift project authors // Licensed under Apache License v2.0 with Runtime Library Exception // // See https://swift.org/LICENSE....
36.888889
80
0.66491
tkachukandrew
67e06dbdf2ead3e05670324dddb86b977dc0c06a
1,137
cpp
C++
tests/util/test_math.cpp
GLorieul/FluidBoxPublic
a026e16cf5c6efc606832a9f5bdac3738e0062e3
[ "MIT" ]
null
null
null
tests/util/test_math.cpp
GLorieul/FluidBoxPublic
a026e16cf5c6efc606832a9f5bdac3738e0062e3
[ "MIT" ]
null
null
null
tests/util/test_math.cpp
GLorieul/FluidBoxPublic
a026e16cf5c6efc606832a9f5bdac3738e0062e3
[ "MIT" ]
null
null
null
#include <gtest/gtest.h> #include "util/math.hpp" using namespace fb; TEST(util_misc, abs) { ASSERT_EQ(fb::abs(+2) , 2); ASSERT_EQ(fb::abs(-2) , 2); ASSERT_FLOAT_EQ(fb::abs(+2.0), 2.0); ASSERT_FLOAT_EQ(fb::abs(-2.0), 2.0); } TEST(util_misc, min) { ASSERT_EQ(fb::min(2,3) , 2); ASSERT_EQ(fb:...
24.191489
52
0.588391
GLorieul
67e39239ba659f9b822b6aa0e14ca51d121b9eae
909
cpp
C++
qt/backup2/label_history_dlg.cpp
darkstar62/tribble-backup
4a50a641684b25a6ff9c2850cad2ede0fa487a00
[ "BSD-3-Clause" ]
null
null
null
qt/backup2/label_history_dlg.cpp
darkstar62/tribble-backup
4a50a641684b25a6ff9c2850cad2ede0fa487a00
[ "BSD-3-Clause" ]
null
null
null
qt/backup2/label_history_dlg.cpp
darkstar62/tribble-backup
4a50a641684b25a6ff9c2850cad2ede0fa487a00
[ "BSD-3-Clause" ]
null
null
null
// Copyright (C) 2013 Cory Maccarrone // Author: Cory Maccarrone <darkstar6262@gmail.com> #include "qt/backup2/label_history_dlg.h" #include <QVector> #include <QTreeWidgetItem> #include <sstream> #include "ui_label_history_dlg.h" // NOLINT using std::ostringstream; LabelHistoryDlg::LabelHistoryDlg( QVector<B...
24.567568
61
0.723872
darkstar62
67e41d9bcbedab69ffa23148657f92ac146b644a
1,936
hpp
C++
include/Fabrics/AssetsFabric.hpp
Megaxela/HGEngineReloadedEditor
be79b6089985da1bf811be8a6d06ce25f71236b1
[ "MIT" ]
null
null
null
include/Fabrics/AssetsFabric.hpp
Megaxela/HGEngineReloadedEditor
be79b6089985da1bf811be8a6d06ce25f71236b1
[ "MIT" ]
null
null
null
include/Fabrics/AssetsFabric.hpp
Megaxela/HGEngineReloadedEditor
be79b6089985da1bf811be8a6d06ce25f71236b1
[ "MIT" ]
1
2020-03-12T04:39:14.000Z
2020-03-12T04:39:14.000Z
#pragma once // C++ STL #include <unordered_set> #include <memory> #include <filesystem> #include <functional> #include <map> #include <set> namespace HG::Editor::AssetSystem::Assets { class AbstractAsset; } namespace HG::Editor::Fabrics { /** * @brief Class that describes fabric for * project asse...
24.2
89
0.558368
Megaxela
67e4378ba4e0e0d1447fc58cb035f0ff859e5326
1,484
cpp
C++
src/transport/SecureSession.cpp
joonhaengHeo/connectedhomeip
c24c34b0f94569ba31ffcda5ab76c98160136606
[ "Apache-2.0" ]
1
2022-02-22T02:02:10.000Z
2022-02-22T02:02:10.000Z
src/transport/SecureSession.cpp
joonhaengHeo/connectedhomeip
c24c34b0f94569ba31ffcda5ab76c98160136606
[ "Apache-2.0" ]
null
null
null
src/transport/SecureSession.cpp
joonhaengHeo/connectedhomeip
c24c34b0f94569ba31ffcda5ab76c98160136606
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2021 Project CHIP Authors * * 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 ...
30.916667
78
0.690027
joonhaengHeo
67e823cb6827db604ed6e67aacf1be94d351b20f
2,342
cpp
C++
src/node/minisketchwrapper.cpp
apokalyzr/bitcoin
5b4b8f76f3ae11064d4aa3ac157558e364751fd2
[ "MIT" ]
9
2022-02-20T11:12:21.000Z
2022-02-23T21:24:03.000Z
src/node/minisketchwrapper.cpp
apokalyzr/bitcoin
5b4b8f76f3ae11064d4aa3ac157558e364751fd2
[ "MIT" ]
12
2021-12-14T01:00:25.000Z
2022-03-24T01:49:23.000Z
src/node/minisketchwrapper.cpp
apokalyzr/bitcoin
5b4b8f76f3ae11064d4aa3ac157558e364751fd2
[ "MIT" ]
15
2022-02-10T00:08:33.000Z
2022-03-24T00:01:30.000Z
// Copyright (c) 2021 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <node/minisketchwrapper.h> #include <logging.h> #include <util/time.h> #include <minisketch.h> #include <algorithm> #i...
29.275
104
0.627242
apokalyzr
67f151fc1082b8fadacb5858b6a89ea7e7b43840
923
hpp
C++
vmm/kvm/kvm.hpp
bl0nd/libvmm
e52605fda07a28fe507bf6274b0c9148f570d4a1
[ "MIT" ]
1
2021-09-15T21:47:40.000Z
2021-09-15T21:47:40.000Z
vmm/kvm/kvm.hpp
ibokuri/libvmm
e52605fda07a28fe507bf6274b0c9148f570d4a1
[ "MIT" ]
null
null
null
vmm/kvm/kvm.hpp
ibokuri/libvmm
e52605fda07a28fe507bf6274b0c9148f570d4a1
[ "MIT" ]
null
null
null
// // kvm.hpp - Public KVM header // #pragma once #include <cstddef> // size_t #include "vmm/kvm/detail/ioctls/system.hpp" #include "vmm/kvm/detail/ioctls/vm.hpp" #include "vmm/kvm/detail/ioctls/vcpu.hpp" #include "vmm/kvm/detail/ioctls/device.hpp" #include "vmm/kvm/detail/types/fam_struct.hpp" namespace vmm::kvm {...
27.147059
75
0.709642
bl0nd
67f67f72c9daf92e3f29798df7a3296e3e786c3d
9,626
cpp
C++
system/worker_thread_pbft.cpp
p-shubham/resilientdb
8e69c28e73ddebdfca8359479be4499c1cb5de41
[ "MIT" ]
1
2022-03-04T20:34:29.000Z
2022-03-04T20:34:29.000Z
system/worker_thread_pbft.cpp
p-shubham/resilientdb
8e69c28e73ddebdfca8359479be4499c1cb5de41
[ "MIT" ]
null
null
null
system/worker_thread_pbft.cpp
p-shubham/resilientdb
8e69c28e73ddebdfca8359479be4499c1cb5de41
[ "MIT" ]
1
2020-02-12T01:20:26.000Z
2020-02-12T01:20:26.000Z
#include "global.h" #include "message.h" #include "thread.h" #include "worker_thread.h" #include "txn.h" #include "wl.h" #include "query.h" #include "ycsb_query.h" #include "math.h" #include "helper.h" #include "msg_thread.h" #include "msg_queue.h" #include "work_queue.h" #include "message.h" #include "timer.h" #includ...
30.365931
157
0.652088
p-shubham
67f83c73f210663b2aaeda92479d04c351489aec
604
cpp
C++
Downloads/CommonQuestions.cpp
alvim452/curso-C-plus-plus
ea9b996471d5ea9375b483698d62da7f3574f125
[ "MIT" ]
null
null
null
Downloads/CommonQuestions.cpp
alvim452/curso-C-plus-plus
ea9b996471d5ea9375b483698d62da7f3574f125
[ "MIT" ]
null
null
null
Downloads/CommonQuestions.cpp
alvim452/curso-C-plus-plus
ea9b996471d5ea9375b483698d62da7f3574f125
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; //COMMON QUESTIONS. /* PVS-STUDIO. static code analyser. promo code #code_beauty*/ int main() { int savedMoney[5] = {100, 200, 300, 400, 500}; int total = 0; //for(int i=0; i<= 5; i++){ erro comun index 0 to 4 or <=4 not 5. for(int i=0; i< 5; i++){ //corrrig...
26.26087
177
0.609272
alvim452
67fb4f4a6f9de9c737029b7830976eaf7734e763
32,621
hpp
C++
arbor/include/arbor/simd/avx.hpp
akuesters/arbor
c2a2216db0b21860e66b8b2a4e09f2edc601cad1
[ "BSD-3-Clause" ]
null
null
null
arbor/include/arbor/simd/avx.hpp
akuesters/arbor
c2a2216db0b21860e66b8b2a4e09f2edc601cad1
[ "BSD-3-Clause" ]
null
null
null
arbor/include/arbor/simd/avx.hpp
akuesters/arbor
c2a2216db0b21860e66b8b2a4e09f2edc601cad1
[ "BSD-3-Clause" ]
null
null
null
#pragma once // AVX/AVX2 SIMD intrinsics implementation. #ifdef __AVX__ #include <cmath> #include <cstdint> #include <immintrin.h> #include <arbor/simd/approx.hpp> #include <arbor/simd/implbase.hpp> namespace arb { namespace simd { namespace detail { struct avx_int4; struct avx_double4; static constexpr unsigned...
32.719157
114
0.621226
akuesters
67fbaa809402c522de98e6d2aacfc0bac1a03f74
725
cpp
C++
SpaghettiDungeonGen/DRandom.cpp
RedBreadcat/SpaghettiDungeonGenerator
1153dd8f26dfd835ca70c520e735f199f50ef858
[ "MIT" ]
39
2019-11-23T14:52:46.000Z
2022-01-04T08:57:04.000Z
SpaghettiDungeonGen/DRandom.cpp
RedBreadcat/SpaghettiDungeonGenerator
1153dd8f26dfd835ca70c520e735f199f50ef858
[ "MIT" ]
null
null
null
SpaghettiDungeonGen/DRandom.cpp
RedBreadcat/SpaghettiDungeonGenerator
1153dd8f26dfd835ca70c520e735f199f50ef858
[ "MIT" ]
5
2019-11-24T00:35:04.000Z
2019-12-09T11:08:16.000Z
#include "DRandom.h" #include <iostream> DRandom* DRandom::instance = nullptr; DRandom::DRandom(unsigned int seed) { rng.seed(seed); instance = this; } DRandom::~DRandom() { instance = nullptr; } Direction DRandom::GetDirection() { boost::random::uniform_int_distribution<int> distributionDir(0, 3); return stat...
18.589744
68
0.725517
RedBreadcat
67fcf735412ab081f12a2a94eef6f437a59faca5
4,677
cpp
C++
ENgine/SceneEntities/UI/ContainerWidget.cpp
ENgineE777/OakEngine
6890fc89a0e9d151e7a0bcc1c276c13594616e9a
[ "Zlib" ]
13
2020-12-02T02:13:29.000Z
2022-03-11T06:14:54.000Z
ENgine/SceneEntities/UI/ContainerWidget.cpp
ENgineE777/OakEngine
6890fc89a0e9d151e7a0bcc1c276c13594616e9a
[ "Zlib" ]
null
null
null
ENgine/SceneEntities/UI/ContainerWidget.cpp
ENgineE777/OakEngine
6890fc89a0e9d151e7a0bcc1c276c13594616e9a
[ "Zlib" ]
null
null
null
#include "ContainerWidget.h" #include "Root/Root.h" namespace Oak { CLASSREG(SceneEntity, ContainerWidget, "ContainerWidget") META_DATA_DESC(ContainerWidget) BASE_SCENE_ENTITY_PROP(ContainerWidget) ENUM_PROP(ContainerWidget, horzAlign, 0, "Prop", "Horz align", "Horizontal aligment of a widget") ENUM_ELEM("...
26.87931
116
0.678213
ENgineE777
db0136dd20e2624239b921956d1b41da57cee1f3
30,041
cpp
C++
src/qt/qtbase/tests/auto/corelib/io/qurlquery/tst_qurlquery.cpp
zwollerob/PhantomJS_AMR6VL
71c126e98a8c32950158d04d0bd75823cd008b99
[ "BSD-3-Clause" ]
null
null
null
src/qt/qtbase/tests/auto/corelib/io/qurlquery/tst_qurlquery.cpp
zwollerob/PhantomJS_AMR6VL
71c126e98a8c32950158d04d0bd75823cd008b99
[ "BSD-3-Clause" ]
null
null
null
src/qt/qtbase/tests/auto/corelib/io/qurlquery/tst_qurlquery.cpp
zwollerob/PhantomJS_AMR6VL
71c126e98a8c32950158d04d0bd75823cd008b99
[ "BSD-3-Clause" ]
null
null
null
/**************************************************************************** ** ** Copyright (C) 2012 Intel Corporation. ** Contact: http://www.qt.io/licensing/ ** ** This file is part of the test suite of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL21$ ** Commercial License Usage ** Licensees holding valid commercial...
37.041924
188
0.588695
zwollerob
db051c03fd193415a35f9d7f2707c28a9a148409
907
cpp
C++
test/buffer_test.cpp
spoonb/libcomm
5638dac889bddb16420d8321067c783438a5deaf
[ "0BSD" ]
null
null
null
test/buffer_test.cpp
spoonb/libcomm
5638dac889bddb16420d8321067c783438a5deaf
[ "0BSD" ]
null
null
null
test/buffer_test.cpp
spoonb/libcomm
5638dac889bddb16420d8321067c783438a5deaf
[ "0BSD" ]
null
null
null
/* * Copyright 2015. 2016 C. Brett Witherspoon */ #define BOOST_TEST_MODULE buffer_test #include <boost/test/unit_test.hpp> #include <array> #include <numeric> #include <vector> #include "signum/buffer.hpp" BOOST_AUTO_TEST_CASE(buffer_empty_test) { signum::buffer<float> buf; BOOST_REQUIRE(buf.empty()); BO...
18.510204
80
0.694598
spoonb
db08e212d62fd7c3dec85be01c13fe9982a9b93b
1,341
cpp
C++
DEM/Src/L3/Story/Dlg/DlgNodePhrase.cpp
moltenguy1/deusexmachina
134f4ca4087fff791ec30562cb250ccd50b69ee1
[ "MIT" ]
2
2017-04-30T20:24:29.000Z
2019-02-12T08:36:26.000Z
DEM/Src/L3/Story/Dlg/DlgNodePhrase.cpp
moltenguy1/deusexmachina
134f4ca4087fff791ec30562cb250ccd50b69ee1
[ "MIT" ]
null
null
null
DEM/Src/L3/Story/Dlg/DlgNodePhrase.cpp
moltenguy1/deusexmachina
134f4ca4087fff791ec30562cb250ccd50b69ee1
[ "MIT" ]
null
null
null
#include "DlgNodePhrase.h" #include "DlgSystem.h" #include "DlgLink.h" #include <Game/GameServer.h> #include <Events/EventManager.h> namespace Story { ImplementRTTI(Story::CDlgNodePhrase, Story::CDlgNode); ImplementFactory(Story::CDlgNodePhrase); void CDlgNodePhrase::OnEnter(CActiveDlg& Dlg) { DlgSys-...
26.82
105
0.608501
moltenguy1
db0ba05dd30e728d3919f7c3f3f7f3b4f1165dc6
670
cpp
C++
src/NumericalAlgorithms/Interpolation/InterpolationTargetDetail.cpp
fmahebert/spectre
936e2dff0434f169b9f5b03679cd27794003700a
[ "MIT" ]
null
null
null
src/NumericalAlgorithms/Interpolation/InterpolationTargetDetail.cpp
fmahebert/spectre
936e2dff0434f169b9f5b03679cd27794003700a
[ "MIT" ]
null
null
null
src/NumericalAlgorithms/Interpolation/InterpolationTargetDetail.cpp
fmahebert/spectre
936e2dff0434f169b9f5b03679cd27794003700a
[ "MIT" ]
null
null
null
// Distributed under the MIT License. // See LICENSE.txt for details. #include "NumericalAlgorithms/Interpolation/InterpolationTargetDetail.hpp" #include "Time/TimeStepId.hpp" namespace intrp::InterpolationTarget_detail { double get_temporal_id_value(const double time) noexcept { return time; } double get_temporal_i...
33.5
80
0.808955
fmahebert
db0d4b738a405fcba6ba4826812821b08f216bfd
7,754
cpp
C++
src/MushMeshRuby/MushMeshRubyMesh.cpp
mushware/adanaxis-core-app
679ac3e8a122e059bb208e84c73efc19753e87dd
[ "MIT" ]
9
2020-11-02T17:20:40.000Z
2021-12-25T15:35:36.000Z
src/MushMeshRuby/MushMeshRubyMesh.cpp
mushware/adanaxis-core-app
679ac3e8a122e059bb208e84c73efc19753e87dd
[ "MIT" ]
2
2020-06-27T23:14:13.000Z
2020-11-02T17:28:32.000Z
src/MushMeshRuby/MushMeshRubyMesh.cpp
mushware/adanaxis-core-app
679ac3e8a122e059bb208e84c73efc19753e87dd
[ "MIT" ]
1
2021-05-12T23:05:42.000Z
2021-05-12T23:05:42.000Z
//%Header { /***************************************************************************** * * File: src/MushMeshRuby/MushMeshRubyMesh.cpp * * Copyright: Andy Southgate 2002-2007, 2020 * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation...
28.718519
129
0.702218
mushware
db0d66113af48963ee3ac011198e90d611f2e898
832
cpp
C++
Source/AnimInertialBlend/AnimGraphNode_InertialBlend.cpp
HogeTatu/UE4Sample_AnimInertialBlend
659bcc4e03cd94946346451abf5a05154f775346
[ "MIT" ]
17
2018-06-10T16:50:47.000Z
2021-12-24T05:01:00.000Z
Source/AnimInertialBlend/AnimGraphNode_InertialBlend.cpp
HogeTatu/UE4Sample_AnimInertialBlend
659bcc4e03cd94946346451abf5a05154f775346
[ "MIT" ]
null
null
null
Source/AnimInertialBlend/AnimGraphNode_InertialBlend.cpp
HogeTatu/UE4Sample_AnimInertialBlend
659bcc4e03cd94946346451abf5a05154f775346
[ "MIT" ]
2
2020-11-09T01:26:26.000Z
2021-12-24T05:00:52.000Z
// Fill out your copyright notice in the Description page of Project Settings. #include "AnimGraphNode_InertialBlend.h" #define LOCTEXT_NAMESPACE "A3Nodes" UAnimGraphNode_InertialBlend::UAnimGraphNode_InertialBlend(const FObjectInitializer& ObjectInitializer) : Super(ObjectInitializer) { } FLinearColor UAnimGraphN...
25.212121
103
0.81851
HogeTatu
db0e91776ad55d8a718c6232897e9bac035d5fa4
7,269
cc
C++
mpegutils/src/com/goffersoft/core/test_list.cc
goffersoft/commonutils-cpp
6bbfb517ae780e9013bf3e1838aa704f044d39d3
[ "MIT" ]
null
null
null
mpegutils/src/com/goffersoft/core/test_list.cc
goffersoft/commonutils-cpp
6bbfb517ae780e9013bf3e1838aa704f044d39d3
[ "MIT" ]
null
null
null
mpegutils/src/com/goffersoft/core/test_list.cc
goffersoft/commonutils-cpp
6bbfb517ae780e9013bf3e1838aa704f044d39d3
[ "MIT" ]
null
null
null
/** ** ** This file is part of mpegutils. ** ** mpegutils is free software: you can redistribute it and/or modify ** it under the terms of the GNU General Public License as published by ** the Free Software Foundation, either version 3 of the License, or ** (at your option) any later version. ** ** mpegutils i...
22.297546
81
0.611226
goffersoft
db13a485217853846037c5cf0abe04d63cbc07b9
33,987
cpp
C++
src/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/vlc_dequant.cpp
dAck2cC2/m3e
475b89b59d5022a94e00b636438b25e27e4eaab2
[ "Apache-2.0" ]
10
2020-04-17T04:02:36.000Z
2021-11-23T11:38:42.000Z
src/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/vlc_dequant.cpp
dAck2cC2/m3e
475b89b59d5022a94e00b636438b25e27e4eaab2
[ "Apache-2.0" ]
3
2020-02-19T16:53:25.000Z
2021-04-29T07:28:40.000Z
src/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/vlc_dequant.cpp
dAck2cC2/m3e
475b89b59d5022a94e00b636438b25e27e4eaab2
[ "Apache-2.0" ]
5
2019-12-25T04:05:02.000Z
2022-01-14T16:57:55.000Z
/* ------------------------------------------------------------------ * Copyright (C) 1998-2009 PacketVideo * * 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.o...
29.477016
119
0.439962
dAck2cC2
db141373f0c94f5b029ca75c6c172b3fd25ba2fa
1,063
cpp
C++
lib/src/adschain/crypto/PrivateKeyPrime256v1.cpp
apastor/ads-chain-cpp-library
323d9c731f14031532dc072703d24e237d0a252e
[ "Apache-2.0" ]
2
2020-05-15T11:45:13.000Z
2020-05-20T17:26:43.000Z
lib/src/adschain/crypto/PrivateKeyPrime256v1.cpp
apastor/ads-chain-cpp-library
323d9c731f14031532dc072703d24e237d0a252e
[ "Apache-2.0" ]
null
null
null
lib/src/adschain/crypto/PrivateKeyPrime256v1.cpp
apastor/ads-chain-cpp-library
323d9c731f14031532dc072703d24e237d0a252e
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include <openssl/evp.h> #include <openssl/ec.h> #include "adschain/crypto/PrivateKey.h" namespace adschain { class PrivateKeyPrime256v1 : public PrivateKey { public: INJECT(PrivateKeyPrime256v1()) { EC_KEY *key = EC_KEY_new_by_curve_name(NID_X9_62_prime256v1); if (!key) { throw...
27.25641
73
0.69238
apastor
db16cfe3b10c0f2800e9ffcbd792836dfc8d3f54
9,078
cpp
C++
test/tests/cpu/instructions/sbc.cpp
SteelCityKeyPuncher/nesturbia
a98a5d52ec2b508f64075933020bd64f584690b2
[ "MIT" ]
null
null
null
test/tests/cpu/instructions/sbc.cpp
SteelCityKeyPuncher/nesturbia
a98a5d52ec2b508f64075933020bd64f584690b2
[ "MIT" ]
null
null
null
test/tests/cpu/instructions/sbc.cpp
SteelCityKeyPuncher/nesturbia
a98a5d52ec2b508f64075933020bd64f584690b2
[ "MIT" ]
null
null
null
#include <array> #include <cstdint> #include "catch2/catch_all.hpp" #include "nesturbia/cpu.hpp" using namespace nesturbia; TEST_CASE("Cpu_Instructions_SBC_inx", "[cpu]") { std::array<uint8_t, 0x10000> memory = {}; auto read = [&memory](uint16_t address) { return memory.at(address); }; auto write = [&memory](...
20.773455
90
0.583719
SteelCityKeyPuncher
db1e7088a74f839d3db98672f0a3b38c86dbc9b5
4,343
cc
C++
test/extensions/filters/http/nats/streaming/metadata_subject_retriever_test.cc
sirajmansour/envoy-nats-streaming
d7ccd15f474e822ba14c62172e352c4fe8d9701e
[ "Apache-2.0" ]
27
2018-03-26T22:22:13.000Z
2021-09-01T17:44:45.000Z
test/extensions/filters/http/nats/streaming/metadata_subject_retriever_test.cc
sirajmansour/envoy-nats-streaming
d7ccd15f474e822ba14c62172e352c4fe8d9701e
[ "Apache-2.0" ]
9
2018-03-28T06:49:32.000Z
2018-09-19T04:08:02.000Z
test/extensions/filters/http/nats/streaming/metadata_subject_retriever_test.cc
sirajmansour/envoy-nats-streaming
d7ccd15f474e822ba14c62172e352c4fe8d9701e
[ "Apache-2.0" ]
6
2018-03-27T06:45:25.000Z
2021-02-18T07:16:45.000Z
#include <iostream> #include "envoy/http/metadata_accessor.h" #include "common/config/nats_streaming_well_known_names.h" #include "common/protobuf/utility.h" #include "extensions/filters/http/nats/streaming/metadata_subject_retriever.h" #include "test/test_common/utility.h" #include "fmt/format.h" namespace Envoy...
29.147651
80
0.732904
sirajmansour
db1eddcfa11d8bbc7ea9189a887c1362d49b78a3
4,172
cpp
C++
libs/qCC_io/LASFields.cpp
ohanlonl/qCMAT
f6ca04fa7c171629f094ee886364c46ff8b27c0b
[ "BSD-Source-Code" ]
null
null
null
libs/qCC_io/LASFields.cpp
ohanlonl/qCMAT
f6ca04fa7c171629f094ee886364c46ff8b27c0b
[ "BSD-Source-Code" ]
null
null
null
libs/qCC_io/LASFields.cpp
ohanlonl/qCMAT
f6ca04fa7c171629f094ee886364c46ff8b27c0b
[ "BSD-Source-Code" ]
1
2019-02-03T12:19:42.000Z
2019-02-03T12:19:42.000Z
//########################################################################## //# # //# CLOUDCOMPARE # //# # //# This pr...
42.141414
193
0.565676
ohanlonl
db20f5f7f23a4174e98ccedee3acaa899731e3d1
962
cpp
C++
3space/src/content/dts/renderable_shape_factory.cpp
gifted-nguvu/darkstar-dts-converter
aa17a751a9f3361ca9bbb400ee4c9516908d1297
[ "MIT" ]
2
2020-03-18T18:23:27.000Z
2020-08-02T15:59:16.000Z
3space/src/content/dts/renderable_shape_factory.cpp
gifted-nguvu/darkstar-dts-converter
aa17a751a9f3361ca9bbb400ee4c9516908d1297
[ "MIT" ]
5
2019-07-07T16:47:47.000Z
2020-08-10T16:20:00.000Z
3space/src/content/dts/renderable_shape_factory.cpp
gifted-nguvu/darkstar-dts-converter
aa17a751a9f3361ca9bbb400ee4c9516908d1297
[ "MIT" ]
1
2020-03-18T18:23:30.000Z
2020-03-18T18:23:30.000Z
#include "content/dts/darkstar.hpp" #include "content/dts/3space.hpp" #include "content/dts/dts_renderable_shape.hpp" #include "content/dts/3space_renderable_shape.hpp" #include "content/dts/null_renderable_shape.hpp" namespace studio::content::dts { std::unique_ptr<content::renderable_shape> make_shape(std::basic_i...
32.066667
126
0.719335
gifted-nguvu
db251c305f4ab8387be0988a4f5029fbac21de56
1,280
cpp
C++
atcoder/abc021/C/main.cpp
xirc/cp-algorithm
89c67cff2f00459c5bb020ab44bff5ae419a1728
[ "Apache-2.0" ]
8
2020-12-23T07:54:53.000Z
2021-11-23T02:46:35.000Z
atcoder/abc021/C/main.cpp
xirc/cp-algorithm
89c67cff2f00459c5bb020ab44bff5ae419a1728
[ "Apache-2.0" ]
1
2020-11-07T13:22:29.000Z
2020-12-20T12:54:00.000Z
atcoder/abc021/C/main.cpp
xirc/cp-algorithm
89c67cff2f00459c5bb020ab44bff5ae419a1728
[ "Apache-2.0" ]
1
2021-01-16T03:40:10.000Z
2021-01-16T03:40:10.000Z
#include <bits/stdc++.h> using namespace std; using ll = int64_t; using ff = long double; ll const inf = 1e16; ll const MOD = 1e9 + 7; int N, M; int a, b; vector<vector<ll>> G; vector<vector<ll>> C; ll solve() { for (int k = 0; k < N; k++) { for (int i = 0; i < N; i++) { for (int j = 0; j < N...
22.068966
50
0.35
xirc
db2b4501fd4221049e3e0de0bc8d19b8dbc5b334
153
hpp
C++
include/msqlite/throws/error.hpp
ricardocosme/msqlite
95af5b04831c7af449f87346301b6e26bf749e9f
[ "MIT" ]
19
2020-08-18T21:25:05.000Z
2022-01-14T03:45:41.000Z
include/msqlite/throws/error.hpp
ricardocosme/msqlite
95af5b04831c7af449f87346301b6e26bf749e9f
[ "MIT" ]
null
null
null
include/msqlite/throws/error.hpp
ricardocosme/msqlite
95af5b04831c7af449f87346301b6e26bf749e9f
[ "MIT" ]
null
null
null
#pragma once #include "msqlite/error.hpp" #include "msqlite/throws/value_or_throw.hpp" namespace msqlite::throws { using error = ::msqlite::error; }
13.909091
44
0.738562
ricardocosme
db30dad49658635d045b6d1f3df78cdad8d27027
6,860
cpp
C++
srrg2_proslam/apps/convert_rgbd_to_srrg2.cpp
srrg-sapienza/srrg2_proslam
6321cd9f8c892c1949442abce6a934106954b2ae
[ "BSD-3-Clause" ]
16
2020-03-11T14:27:38.000Z
2021-12-08T13:05:29.000Z
srrg2_proslam/apps/convert_rgbd_to_srrg2.cpp
srrg-sapienza/srrg2_proslam
6321cd9f8c892c1949442abce6a934106954b2ae
[ "BSD-3-Clause" ]
4
2020-05-21T11:59:27.000Z
2021-09-08T03:59:24.000Z
srrg2_proslam/apps/convert_rgbd_to_srrg2.cpp
srrg-sapienza/srrg2_proslam
6321cd9f8c892c1949442abce6a934106954b2ae
[ "BSD-3-Clause" ]
1
2020-11-30T08:17:23.000Z
2020-11-30T08:17:23.000Z
#include <iostream> #include <srrg_boss/serializer.h> #include <srrg_messages/instances.h> #include <srrg_system_utils/parse_command_line.h> #include <srrg_system_utils/system_utils.h> using namespace srrg2_core; // clang-format off const char* banner[] = {"This program converts a folder containing RGB (and depth) i...
43.417722
107
0.619825
srrg-sapienza
db33051d78b4b03197eb4c6841988862413ae424
41,780
cpp
C++
S5CppLogic/l_ua.cpp
mcb5637/S5BinkHook
c449238b95e1fd0463386e3fbace519f3db70e34
[ "MIT" ]
null
null
null
S5CppLogic/l_ua.cpp
mcb5637/S5BinkHook
c449238b95e1fd0463386e3fbace519f3db70e34
[ "MIT" ]
null
null
null
S5CppLogic/l_ua.cpp
mcb5637/S5BinkHook
c449238b95e1fd0463386e3fbace519f3db70e34
[ "MIT" ]
null
null
null
#include "pch.h" #include "l_ua.h" #include "luaext.h" #include "l_entity.h" #include <random> #include "entityiterator.h" std::vector<UACannonBuilderAbilityData> UnlimitedArmy::CannonBuilderAbilityData = std::vector<UACannonBuilderAbilityData>(); UnlimitedArmy::~UnlimitedArmy() { luaL_unref(L, LUA_REGISTRYINDEX, F...
33.857374
189
0.725539
mcb5637
db38249cfc5b31beb2959dc50e318cfc0f6d432e
2,622
cpp
C++
framework/sysdeps/linux/physicaladdress.cpp
thac0/opendcdiag
b2f8cf0efa6de5cf9582c9a29dcd291367e2c73c
[ "Apache-2.0" ]
21
2021-11-09T18:40:08.000Z
2022-03-07T04:41:39.000Z
framework/sysdeps/linux/physicaladdress.cpp
thac0/opendcdiag
b2f8cf0efa6de5cf9582c9a29dcd291367e2c73c
[ "Apache-2.0" ]
20
2021-10-29T21:30:48.000Z
2022-03-30T16:48:03.000Z
framework/sysdeps/linux/physicaladdress.cpp
thac0/opendcdiag
b2f8cf0efa6de5cf9582c9a29dcd291367e2c73c
[ "Apache-2.0" ]
8
2021-11-01T17:53:21.000Z
2022-03-30T05:25:22.000Z
/* * Copyright 2022 Intel Corporation. * SPDX-License-Identifier: Apache-2.0 */ #include "sandstone_p.h" #include <sys/types.h> #include <fcntl.h> #include <unistd.h> #define PAGE_SIZE 4096U #define PAGE_SHIFT __builtin_ctz(PAGE_SIZE) // proc(5) says: // /proc/[pid]/pagemap (since Linux 2.6.25) // ...
31.97561
105
0.622426
thac0
db3bccead719d76999423353e1016263f0513e18
1,987
cpp
C++
tests/common/test_uint_types.cpp
ivotron/foxxll
64849c4177a61ff51d89db431285a842f8325d27
[ "BSL-1.0" ]
9
2018-10-16T09:04:50.000Z
2020-12-15T09:05:21.000Z
tests/common/test_uint_types.cpp
ivotron/foxxll
64849c4177a61ff51d89db431285a842f8325d27
[ "BSL-1.0" ]
6
2018-01-09T20:36:33.000Z
2018-01-19T22:44:59.000Z
tests/common/test_uint_types.cpp
ivotron/foxxll
64849c4177a61ff51d89db431285a842f8325d27
[ "BSL-1.0" ]
8
2018-05-25T09:47:18.000Z
2021-05-02T14:41:14.000Z
/*************************************************************************** * tests/common/test_uint_types.cpp * * Part of FOXXLL. See http://foxxll.org * * Copyright (C) 2013 Timo Bingmann <tb@panthema.net> * * Distributed under the Boost Software License, Version 1.0. * (See accompanying file LICENSE_1_...
23.939759
76
0.519879
ivotron
db3cbb8b5762033585415fa454b0f5ebb21ea627
1,257
cpp
C++
cpp/arrayMisc/bitwiseAndNumbersRange.cpp
locmpham/codingtests
3805fc98c0fa0dbee52e12531f6205e77b52899e
[ "MIT" ]
null
null
null
cpp/arrayMisc/bitwiseAndNumbersRange.cpp
locmpham/codingtests
3805fc98c0fa0dbee52e12531f6205e77b52899e
[ "MIT" ]
null
null
null
cpp/arrayMisc/bitwiseAndNumbersRange.cpp
locmpham/codingtests
3805fc98c0fa0dbee52e12531f6205e77b52899e
[ "MIT" ]
1
2021-07-09T19:13:11.000Z
2021-07-09T19:13:11.000Z
/* LEETCODE: 201 Given two integers left and right that represent the range [left, right], return the bitwise AND of all numbers in this range, inclusive. Example 1: Input: left = 5, right = 7 Output: 4 Example 2: Input: left = 0, right = 0 Output: 0 Example 3: In...
19.338462
101
0.575975
locmpham
db41a8c8d2f7f228503e332d0e42636c7a7515a4
11,916
hpp
C++
tests/test_kel_coroutines.hpp
DymOK93/kelcoro
ce5f974446296153fdcc63fd136dfc0c48970c39
[ "Apache-2.0" ]
null
null
null
tests/test_kel_coroutines.hpp
DymOK93/kelcoro
ce5f974446296153fdcc63fd136dfc0c48970c39
[ "Apache-2.0" ]
null
null
null
tests/test_kel_coroutines.hpp
DymOK93/kelcoro
ce5f974446296153fdcc63fd136dfc0c48970c39
[ "Apache-2.0" ]
null
null
null
#ifndef TEST_KEL_COROUTINES_HPP #define TEST_KEL_COROUTINES_HPP #include <atomic> #include <cassert> #include <coroutine> #include <iterator> #include <memory_resource> #include <ranges> #include <set> #include <string> #include <string_view> #include <thread> #include <vector> #include "test_kel_base.hpp" import k...
27.647332
110
0.657771
DymOK93
db4254ad3e11cfc870e6ab6142c24f75ac9e96d6
597
cpp
C++
dynamic/sticker.cpp
SiverPineValley/algo
29c75c6b226fdb15a3b6695e763ee49d4871094e
[ "Apache-2.0" ]
null
null
null
dynamic/sticker.cpp
SiverPineValley/algo
29c75c6b226fdb15a3b6695e763ee49d4871094e
[ "Apache-2.0" ]
null
null
null
dynamic/sticker.cpp
SiverPineValley/algo
29c75c6b226fdb15a3b6695e763ee49d4871094e
[ "Apache-2.0" ]
null
null
null
// 9465 #include <iostream> using namespace std; int main(void) { int t, n; int s[100001][2]; cin >> t; while(t--) { cin >> n; for(int i = 0; i < 2; i++) for(int j = 1; j <= n; j++) cin >> s[j][i]; int a[n+1][3]; for(int j = 0; j < 3; j++) a[0][j] = 0; for(int i = 1; i <= n; i++) { a[i][0]...
19.258065
48
0.40871
SiverPineValley
db42860a87e154769ce66878f69c6e49cac0e6ef
4,609
cpp
C++
examples/22_remesher/main.cpp
Deiv99/cinolib
fbb6e951703764e5b97f074aede87752c3165d17
[ "MIT" ]
532
2018-05-11T14:28:32.000Z
2022-03-29T12:42:07.000Z
examples/22_remesher/main.cpp
Deiv99/cinolib
fbb6e951703764e5b97f074aede87752c3165d17
[ "MIT" ]
33
2018-08-01T16:47:01.000Z
2021-09-29T14:36:12.000Z
examples/22_remesher/main.cpp
Deiv99/cinolib
fbb6e951703764e5b97f074aede87752c3165d17
[ "MIT" ]
64
2018-09-07T13:02:02.000Z
2022-03-13T18:17:29.000Z
/* This sample program reads a triangle mesh and performs * an area equalizing remeshing scheme. This is a variant * of the algorithm described in * * A Remeshing Approach to Multiresolution Modeling * M.Botsch, L.Kobbelt * Symposium on Geomtry Processing, 2004 * * Enjoy! */ #include <QApplication> #...
32.457746
126
0.576915
Deiv99
b9cbaa0e4219e5faedfe205bd18b5f4c8d92b372
1,503
hpp
C++
include/eepp/ui/uitab.hpp
jayrulez/eepp
09c5c1b6b4c0306bb0a188474778c6949b5df3a7
[ "MIT" ]
37
2020-01-20T06:21:24.000Z
2022-03-21T17:44:50.000Z
include/eepp/ui/uitab.hpp
jayrulez/eepp
09c5c1b6b4c0306bb0a188474778c6949b5df3a7
[ "MIT" ]
null
null
null
include/eepp/ui/uitab.hpp
jayrulez/eepp
09c5c1b6b4c0306bb0a188474778c6949b5df3a7
[ "MIT" ]
9
2019-03-22T00:33:07.000Z
2022-03-01T01:35:59.000Z
#ifndef EE_UICUITAB_HPP #define EE_UICUITAB_HPP #include <eepp/ui/uiselectbutton.hpp> namespace EE { namespace UI { class UITabWidget; class EE_API UITab : public UISelectButton { public: static UITab* New(); UITab(); Node* getOwnedWidget() const; void setOwnedWidget( Node* ownedWidget ); virtual ~UITab(...
20.04
87
0.743846
jayrulez
b9d1380b2b595bd323f3f9d3141b5e6fdee12c5d
1,009
cpp
C++
cpp/1001-10000/1181-1190/Shortest Distance to Target Color.cpp
KaiyuWei/leetcode
fd61f5df60cfc7086f7e85774704bacacb4aaa5c
[ "MIT" ]
150
2015-04-04T06:53:49.000Z
2022-03-21T13:32:08.000Z
cpp/1001-10000/1181-1190/Shortest Distance to Target Color.cpp
yizhu1012/leetcode
d6fa443a8517956f1fcc149c8c4f42c0ad93a4a7
[ "MIT" ]
1
2015-04-13T15:15:40.000Z
2015-04-21T20:23:16.000Z
cpp/1001-10000/1181-1190/Shortest Distance to Target Color.cpp
yizhu1012/leetcode
d6fa443a8517956f1fcc149c8c4f42c0ad93a4a7
[ "MIT" ]
64
2015-06-30T08:00:07.000Z
2022-01-01T16:44:14.000Z
class Solution { public: vector<int> shortestDistanceColor(vector<int>& colors, vector<vector<int>>& queries) { int n = colors.size(); vector<vector<int>> dp(n, vector<int>(3, INT_MAX)); vector<int> pos(3, -1); for (int i = 0; i < colors.size(); i++) { int color ...
30.575758
90
0.401388
KaiyuWei
b9d1392e2d588cc485187fe3befa34d47a21a7ce
616
cpp
C++
uva/chapter_1/the3nplus1problem.cpp
pi-guy-in-the-sky/competitive-programming
e079f6caf07b5de061ea4f56218f9b577e49a965
[ "MIT" ]
null
null
null
uva/chapter_1/the3nplus1problem.cpp
pi-guy-in-the-sky/competitive-programming
e079f6caf07b5de061ea4f56218f9b577e49a965
[ "MIT" ]
null
null
null
uva/chapter_1/the3nplus1problem.cpp
pi-guy-in-the-sky/competitive-programming
e079f6caf07b5de061ea4f56218f9b577e49a965
[ "MIT" ]
1
2020-10-25T05:46:57.000Z
2020-10-25T05:46:57.000Z
// Problem ID: 100 // By Alexander Cai, 12-06-2019 // Accepted #include <iostream> #include <algorithm> #include <math.h> using namespace std; int cycle_length(int n) { int temp = n, length = 1; while (temp != 1) { if (temp % 2 == 0) temp >>= 1; else temp = temp * 3 + 1; length += 1; } return leng...
17.6
50
0.483766
pi-guy-in-the-sky
b9d22eef7ef7fafb3b9f6101105d48099da36a07
633
cpp
C++
1036.cpp
F-SpaceMan/uriChallenges
932f54f7bee622aacf648acb27a291905a7df92a
[ "MIT" ]
1
2019-12-04T18:50:34.000Z
2019-12-04T18:50:34.000Z
1036.cpp
F-SpaceMan/uriChallenges
932f54f7bee622aacf648acb27a291905a7df92a
[ "MIT" ]
null
null
null
1036.cpp
F-SpaceMan/uriChallenges
932f54f7bee622aacf648acb27a291905a7df92a
[ "MIT" ]
null
null
null
#include<iostream> #include<stdlib.h> #include<iomanip> #include<math.h> using namespace std; int main() { double A, B, C, delta, divi, raiz, x1, x2; cin >> A >> B >> C; delta = (B*B) - (4*A*C); raiz = sqrt(delta); divi = 2*A; if(delta < 0 || divi == 0) { cout...
17.583333
67
0.447077
F-SpaceMan
b9d700ac0dece4568a1aff6a95abb72786c1ec56
9,942
cpp
C++
firmware/libraries/state-swallowing/state-swallowing.cpp
miaucl/sti-robot-competition
9984306a0b9c93d98d401e026df202e902c2c47c
[ "MIT" ]
null
null
null
firmware/libraries/state-swallowing/state-swallowing.cpp
miaucl/sti-robot-competition
9984306a0b9c93d98d401e026df202e902c2c47c
[ "MIT" ]
null
null
null
firmware/libraries/state-swallowing/state-swallowing.cpp
miaucl/sti-robot-competition
9984306a0b9c93d98d401e026df202e902c2c47c
[ "MIT" ]
null
null
null
/* state-analysis.h - Following state methods Created by Mirko Indumi, 2019. */ #include "Arduino.h" #include "math.h" #include "config.h" #include "sensors.h" #include "actuators.h" // Internal control flags enum IState { is_start, is_open, is_move, is_stopping, is_bottle_swallowed, is_back_off_start...
35.891697
166
0.736371
miaucl
b9da52f3fe1403d1391569fc27fa64a6ee233f26
144,723
cpp
C++
test/OpenMP/teams_distribute_parallel_for_copyin_codegen.cpp
tkolar23/llvm-clang
73c44a584ba4ff5e186d0c05a2b29b2dbed98148
[ "Apache-2.0" ]
null
null
null
test/OpenMP/teams_distribute_parallel_for_copyin_codegen.cpp
tkolar23/llvm-clang
73c44a584ba4ff5e186d0c05a2b29b2dbed98148
[ "Apache-2.0" ]
null
null
null
test/OpenMP/teams_distribute_parallel_for_copyin_codegen.cpp
tkolar23/llvm-clang
73c44a584ba4ff5e186d0c05a2b29b2dbed98148
[ "Apache-2.0" ]
null
null
null
// NOTE: Assertions have been autogenerated by utils/update_cc_test_checks.py UTC_ARGS: --function-signature --include-generated-funcs --replace-value-regex "__omp_offloading_[0-9a-z]+_[0-9a-z]+" "reduction_size[.].+[.]" "pl_cond[.].+[.|,]" --prefix-filecheck-ir-name _ // RUN: %clang_cc1 -DCHECK -verify -fopenmp -x c++...
68.008929
432
0.583646
tkolar23
b9de9e1845927d3be88b38a57078bde0a13e35de
919
cpp
C++
src/ReplaceUTF8/ReplaceUTF8.cpp
dnasdw/ReplaceUTF8
1394503b98781fb72764ca02ae742789ef5d7d47
[ "MIT" ]
null
null
null
src/ReplaceUTF8/ReplaceUTF8.cpp
dnasdw/ReplaceUTF8
1394503b98781fb72764ca02ae742789ef5d7d47
[ "MIT" ]
null
null
null
src/ReplaceUTF8/ReplaceUTF8.cpp
dnasdw/ReplaceUTF8
1394503b98781fb72764ca02ae742789ef5d7d47
[ "MIT" ]
null
null
null
#include <sdw.h> int UMain(int argc, UChar* argv[]) { if (argc != 5) { return 1; } string sPattern = UToU8(argv[3]); string sReplacement = UToU8(argv[4]); FILE* fp = UFopen(argv[1], USTR("rb"), false); if (fp == nullptr) { return 1; } fseek(fp, 0, SEEK_END); u32 uFileSize = ftell(fp); fseek(fp, 0, SEEK...
17.673077
86
0.575626
dnasdw
b9ebdf1d86b5c6d54cb702e9e2313b9a42c0bf48
784
cpp
C++
src/action/Grab.cpp
RKJenamani/ada_feeding
2eb93216ddfc71d516b0cb9e909407d4361b907e
[ "BSD-3-Clause" ]
null
null
null
src/action/Grab.cpp
RKJenamani/ada_feeding
2eb93216ddfc71d516b0cb9e909407d4361b907e
[ "BSD-3-Clause" ]
null
null
null
src/action/Grab.cpp
RKJenamani/ada_feeding
2eb93216ddfc71d516b0cb9e909407d4361b907e
[ "BSD-3-Clause" ]
null
null
null
#include "feeding/action/Grab.hpp" namespace feeding { namespace action { //============================================================================== void grabFood( const std::shared_ptr<ada::Ada>& ada, const std::shared_ptr<Workspace>& workspace) { if (!workspace->getDefaultFoodItem()) { workspa...
26.133333
80
0.55102
RKJenamani
b9ecc1ccd0e410d12d7d6537dcb7c6a57ffad4a3
1,495
cpp
C++
Homeworks/Homework-1/Task 2/DNSRecord.cpp
kgolov/uni-object-oriented-programming
9fac38a7bf9a0b673db8e5688714fe320793fed7
[ "MIT" ]
null
null
null
Homeworks/Homework-1/Task 2/DNSRecord.cpp
kgolov/uni-object-oriented-programming
9fac38a7bf9a0b673db8e5688714fe320793fed7
[ "MIT" ]
null
null
null
Homeworks/Homework-1/Task 2/DNSRecord.cpp
kgolov/uni-object-oriented-programming
9fac38a7bf9a0b673db8e5688714fe320793fed7
[ "MIT" ]
null
null
null
#include <iostream> #include "DNSRecord.h" DNSRecord::DNSRecord() { setDomain(""); setIpAddress(""); } DNSRecord::~DNSRecord() { delete[] domainName; delete[] ipAddress; } DNSRecord::DNSRecord(const char* domain, const char* ipaddr) { setDomain(domain); setIpAddress(ipaddr); } // Copy constr...
19.671053
63
0.666221
kgolov
b9ee342b5146afeae96e11cc3d993221cd900ec1
10,852
cpp
C++
src/DewDropPlayer/Engine/AC3Engine.cpp
kineticpsychology/Dew-Drop-Project
1704ac491395800c0b1e54d1d0fd761fc5a71296
[ "0BSD" ]
null
null
null
src/DewDropPlayer/Engine/AC3Engine.cpp
kineticpsychology/Dew-Drop-Project
1704ac491395800c0b1e54d1d0fd761fc5a71296
[ "0BSD" ]
null
null
null
src/DewDropPlayer/Engine/AC3Engine.cpp
kineticpsychology/Dew-Drop-Project
1704ac491395800c0b1e54d1d0fd761fc5a71296
[ "0BSD" ]
null
null
null
/******************************************************************************* * * * COPYRIGHT (C) Aug, 2020 | Polash Majumdar * * ...
38.211268
133
0.636933
kineticpsychology
b9ee5f9f6e3865f9d5a7bd5521d0f5f507d04c3c
2,591
cpp
C++
db/BucketHeaderPage.cpp
LPetrlik/karindb
8fe2b953c13f1d1aed9bb550799f7cfaf13b50ea
[ "MIT" ]
null
null
null
db/BucketHeaderPage.cpp
LPetrlik/karindb
8fe2b953c13f1d1aed9bb550799f7cfaf13b50ea
[ "MIT" ]
null
null
null
db/BucketHeaderPage.cpp
LPetrlik/karindb
8fe2b953c13f1d1aed9bb550799f7cfaf13b50ea
[ "MIT" ]
null
null
null
/* Copyright (c) 2015 Kerio Technologies s.r.o. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, mer...
47.981481
204
0.76071
LPetrlik
b9ef234b26b4a0f2b330342c404f7ec9c4886ebb
1,074
hpp
C++
src/editor/configuration.hpp
tksuoran/erhe
07d1ea014e1675f6b09bff0d9d4f3568f187e0d8
[ "Apache-2.0" ]
36
2021-05-03T10:47:49.000Z
2022-03-19T12:54:03.000Z
src/editor/configuration.hpp
tksuoran/erhe
07d1ea014e1675f6b09bff0d9d4f3568f187e0d8
[ "Apache-2.0" ]
29
2020-05-17T08:26:31.000Z
2022-03-27T08:52:47.000Z
src/editor/configuration.hpp
tksuoran/erhe
07d1ea014e1675f6b09bff0d9d4f3568f187e0d8
[ "Apache-2.0" ]
2
2022-01-24T09:24:37.000Z
2022-01-31T20:45:36.000Z
#pragma once #include "erhe/components/component.hpp" #include "erhe/components/components.hpp" #include "erhe/gl/wrapper_enums.hpp" namespace editor { class Configuration : public erhe::components::Component { public: static constexpr std::string_view c_name{"Configuration"}; static constexpr uint32_t h...
28.263158
118
0.626629
tksuoran
b9ef7c43a34b866ea9d2a9d81a9fcf0d91112e69
606
cc
C++
atom/app/atom_main_args.cc
fireball-x/atom-shell
d229338e40058a9b4323b2544f62818a3c55748c
[ "MIT" ]
4
2016-04-02T14:53:54.000Z
2017-07-26T05:47:43.000Z
atom/app/atom_main_args.cc
cocos-creator/atom-shell
d229338e40058a9b4323b2544f62818a3c55748c
[ "MIT" ]
null
null
null
atom/app/atom_main_args.cc
cocos-creator/atom-shell
d229338e40058a9b4323b2544f62818a3c55748c
[ "MIT" ]
2
2015-07-18T09:31:03.000Z
2019-12-24T09:55:03.000Z
// Copyright (c) 2013 GitHub, Inc. // Use of this source code is governed by the MIT license that can be // found in the LICENSE file. #include "atom/app/atom_main_args.h" #include "vendor/node/deps/uv/include/uv.h" namespace atom { // static std::vector<std::string> AtomCommandLine::argv_; // static void AtomComma...
26.347826
71
0.689769
fireball-x
b9f194f84c9089d498f66ef090c85dd916d22c2e
221
cpp
C++
test/tests_main.cpp
martinusbach/SmartMeterMonitor
6cb91dd67a81e1ee202e55ad2e59a7a1d0baf96a
[ "MIT" ]
null
null
null
test/tests_main.cpp
martinusbach/SmartMeterMonitor
6cb91dd67a81e1ee202e55ad2e59a7a1d0baf96a
[ "MIT" ]
null
null
null
test/tests_main.cpp
martinusbach/SmartMeterMonitor
6cb91dd67a81e1ee202e55ad2e59a7a1d0baf96a
[ "MIT" ]
null
null
null
// Copyright (c) 2019 Martien Oppeneer. // This software is MIT licensed; see LICENSE.MIT. #define CATCH_CONFIG_MAIN // This tells Catch to provide a main() - only do this in one cpp file #include <catch2/catch.hpp>
31.571429
97
0.728507
martinusbach
b9f63dc4aac6467d758353bd84e10962711c115b
1,621
cpp
C++
PAT/PAT Advanced/c++/1145.cpp
Accelerator404/Algorithm-Demonstration
e40a499c23a56d363c743c76ac967d9c4247a4be
[ "Apache-2.0" ]
1
2019-09-18T23:45:27.000Z
2019-09-18T23:45:27.000Z
PAT/PAT Advanced/c++/1145.cpp
Accelerator404/Algorithm-Demonstration
e40a499c23a56d363c743c76ac967d9c4247a4be
[ "Apache-2.0" ]
null
null
null
PAT/PAT Advanced/c++/1145.cpp
Accelerator404/Algorithm-Demonstration
e40a499c23a56d363c743c76ac967d9c4247a4be
[ "Apache-2.0" ]
1
2019-09-18T23:45:28.000Z
2019-09-18T23:45:28.000Z
#include <iostream> #include <vector> #include <algorithm> #include <cmath> using namespace std; //PAT Advanced Level 1145 Hashing - Average Search Time bool isPrime(int num){ if(num <= 1) return false; else if(num == 2 || num == 3) return true; int range = sqrt((double)num); for (int ...
23.838235
62
0.47008
Accelerator404
b9ffac43ab24cf333d0a9230fe7d34747cb09a4e
21,082
cpp
C++
src/gui/widgets/layout.cpp
dream-overflow/o3d
087ab870cc0fd9091974bb826e25c23903a1dde0
[ "FSFAP" ]
2
2019-06-22T23:29:44.000Z
2019-07-07T18:34:04.000Z
src/gui/widgets/layout.cpp
dream-overflow/o3d
087ab870cc0fd9091974bb826e25c23903a1dde0
[ "FSFAP" ]
null
null
null
src/gui/widgets/layout.cpp
dream-overflow/o3d
087ab870cc0fd9091974bb826e25c23903a1dde0
[ "FSFAP" ]
null
null
null
/** * @file layout.cpp * @brief * @author Frederic SCHERMA (frederic.scherma@dreamoverflow.org) * @date 2001-12-25 * @copyright Copyright (c) 2001-2017 Dream Overflow. All rights reserved. * @details */ #include "o3d/gui/precompiled.h" #include "o3d/gui/widgets/layout.h" #include "o3d/engine/scene/scene.h" #...
26.787802
99
0.491984
dream-overflow
6a048a01d6b2a4960b5d8065dcd11c66f8dc16c5
22,234
cpp
C++
src/bindings/Scriptdev2/scripts/eastern_kingdoms/zulaman/boss_zuljin.cpp
mfooo/wow
3e5fad4cfdf0fd1c0a2fd7c9844e6f140a1bb32d
[ "OpenSSL" ]
1
2017-11-16T19:04:07.000Z
2017-11-16T19:04:07.000Z
src/bindings/Scriptdev2/scripts/eastern_kingdoms/zulaman/boss_zuljin.cpp
mfooo/wow
3e5fad4cfdf0fd1c0a2fd7c9844e6f140a1bb32d
[ "OpenSSL" ]
null
null
null
src/bindings/Scriptdev2/scripts/eastern_kingdoms/zulaman/boss_zuljin.cpp
mfooo/wow
3e5fad4cfdf0fd1c0a2fd7c9844e6f140a1bb32d
[ "OpenSSL" ]
null
null
null
/* Copyright (C) 2006 - 2010 ScriptDev2 <https://scriptdev2.svn.sourceforge.net/> * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any l...
34.471318
230
0.55586
mfooo
6a08aa1bf8593f8e45607b9b0dcaf439b9360a28
24,630
cpp
C++
cpp/depends/igl/headers/igl/dual_contouring.cpp
GitZHCODE/zspace_modules
2264cb837d2f05184a51b7b453c7e24288e88ee1
[ "MIT" ]
2
2022-03-28T14:10:50.000Z
2022-03-28T14:10:51.000Z
cpp/depends/igl/headers/igl/dual_contouring.cpp
GitZHCODE/zspace_modules
2264cb837d2f05184a51b7b453c7e24288e88ee1
[ "MIT" ]
null
null
null
cpp/depends/igl/headers/igl/dual_contouring.cpp
GitZHCODE/zspace_modules
2264cb837d2f05184a51b7b453c7e24288e88ee1
[ "MIT" ]
2
2022-03-23T10:33:10.000Z
2022-03-28T14:09:55.000Z
#include "dual_contouring.h" #include "quadprog.h" #include "parallel_for.h" #include <thread> #include <mutex> #include <vector> #include <unordered_map> #include <iostream> namespace igl { // These classes not intended to be used directly class Hash { public: // https://stackoverflow.com/a/26348708/1...
43.439153
1,028
0.550873
GitZHCODE
6a0b0379f33ca738f6130f7a59a585c1e5736c0a
1,212
cpp
C++
src/codegen/proxy/zone_map_proxy.cpp
star013/peloton
0e1c5f32fde00529f19f7ff5f5e7d5b4979f06ef
[ "Apache-2.0" ]
2
2021-03-29T01:29:18.000Z
2022-02-27T11:22:15.000Z
src/codegen/proxy/zone_map_proxy.cpp
star013/peloton
0e1c5f32fde00529f19f7ff5f5e7d5b4979f06ef
[ "Apache-2.0" ]
null
null
null
src/codegen/proxy/zone_map_proxy.cpp
star013/peloton
0e1c5f32fde00529f19f7ff5f5e7d5b4979f06ef
[ "Apache-2.0" ]
3
2018-02-25T23:30:33.000Z
2018-04-08T10:11:42.000Z
//===----------------------------------------------------------------------===// // // Peloton // // zone_map_proxy.cpp // // Identification: src/codegen/proxy/zone_map_proxy.cpp // // Copyright (c) 2015-2017, Carnegie Mellon University Database Group // //===------------------------------------...
31.076923
80
0.523102
star013
6a0c09700c92d4000eefc18e0a2c6d5f13007833
10,869
cpp
C++
websocket.cpp
looyao/mevent
fa268e93b33264c71d086ba9387b5ab2fabd0257
[ "MIT" ]
42
2017-03-07T02:45:22.000Z
2019-02-26T15:26:25.000Z
websocket.cpp
looyao/mevent
fa268e93b33264c71d086ba9387b5ab2fabd0257
[ "MIT" ]
null
null
null
websocket.cpp
looyao/mevent
fa268e93b33264c71d086ba9387b5ab2fabd0257
[ "MIT" ]
11
2017-03-07T06:42:30.000Z
2019-03-06T03:15:46.000Z
#include "websocket.h" #include "mevent.h" #include "base64.h" #include "util.h" #include "connection.h" #include "lock_guard.h" #include <string> #include <openssl/sha.h> namespace mevent { // http://tools.ietf.org/html/rfc6455#section-5.2 Base Framing Protocol // // 0 1 2 ...
30.70339
120
0.532616
looyao
6a0c8e7f098e46030e17b107c0409e74b185ccc9
4,136
cpp
C++
CommonLibF4/src/F4SE/Interfaces.cpp
blipvert/CommonLibF4
d8681e20ed560fe14c45b02d6717f3444ed5ec9d
[ "MIT" ]
24
2019-07-01T06:48:42.000Z
2022-03-06T02:20:30.000Z
CommonLibF4/src/F4SE/Interfaces.cpp
blipvert/CommonLibF4
d8681e20ed560fe14c45b02d6717f3444ed5ec9d
[ "MIT" ]
4
2021-04-25T03:58:17.000Z
2022-01-28T06:52:35.000Z
CommonLibF4/src/F4SE/Interfaces.cpp
blipvert/CommonLibF4
d8681e20ed560fe14c45b02d6717f3444ed5ec9d
[ "MIT" ]
11
2019-07-01T19:56:11.000Z
2022-02-27T19:46:07.000Z
#include "F4SE/Interfaces.h" #include "F4SE/API.h" #include "F4SE/Logger.h" namespace F4SE { bool MessagingInterface::RegisterListener(EventCallback* a_handler, stl::zstring a_sender) const { const auto success = GetProxy().RegisterListener( GetPluginHandle(), a_sender.data(), a_handler); if (!su...
23.106145
137
0.699952
blipvert
6a0ca3de6d18224a17a66cd8b884973869b02cd6
278,761
cpp
C++
Unity/build/iOS-Simulator/Classes/Native/Il2CppCompilerCalculateTypeValues_11Table.cpp
AnnaOpareva/Unity-iOS
dba005999d63e387167a36fe1feafd0b900626a8
[ "MIT" ]
31
2019-01-15T16:32:02.000Z
2021-12-21T21:59:57.000Z
Unity/build/iOS-Simulator/Classes/Native/Il2CppCompilerCalculateTypeValues_11Table.cpp
AnnaOpareva/Unity-iOS
dba005999d63e387167a36fe1feafd0b900626a8
[ "MIT" ]
5
2019-05-16T05:36:44.000Z
2022-03-18T10:12:53.000Z
Unity/build/iOS-Simulator/Classes/Native/Il2CppCompilerCalculateTypeValues_11Table.cpp
AnnaOpareva/Unity-iOS
dba005999d63e387167a36fe1feafd0b900626a8
[ "MIT" ]
3
2019-05-25T02:30:43.000Z
2021-10-12T10:56:57.000Z
#import <TargetConditionals.h> // Modified by PostBuild.cs #if TARGET_OS_SIMULATOR // Modified by PostBuild.cs #include "il2cpp-config.h" #ifndef _MSC_VER # include <alloca.h> #else # include <malloc.h> #endif #include <cstring> #include <string.h> #include <stdio.h> #include <cmath> #include <limits> #include <asse...
49.734344
262
0.855697
AnnaOpareva
6a14537588806e8493ff5ffe7b49a9bc0d6bf50b
4,343
hh
C++
ACAP_linux/3rd/CoMISo/NSolver/NewtonSolver.hh
shubhMaheshwari/Automatic-Unpaired-Shape-Deformation-Transfer
8c9afe017769f9554706bcd267b6861c4c144999
[ "MIT" ]
216
2018-09-09T11:53:56.000Z
2022-03-19T13:41:35.000Z
ACAP_linux/3rd/CoMISo/NSolver/NewtonSolver.hh
gaolinorange/Automatic-Unpaired-Shape-Deformation-Transfer
8c9afe017769f9554706bcd267b6861c4c144999
[ "MIT" ]
13
2018-10-23T08:29:09.000Z
2021-09-08T06:45:34.000Z
ACAP_linux/3rd/CoMISo/NSolver/NewtonSolver.hh
shubhMaheshwari/Automatic-Unpaired-Shape-Deformation-Transfer
8c9afe017769f9554706bcd267b6861c4c144999
[ "MIT" ]
41
2018-09-13T08:50:41.000Z
2022-02-23T00:33:54.000Z
//============================================================================= // // CLASS NewtonSolver // //============================================================================= #ifndef COMISO_NEWTONSOLVER_HH #define COMISO_NEWTONSOLVER_HH //== COMPILE-TIME PACKAGE REQUIREMENTS ===========================...
26.975155
171
0.61225
shubhMaheshwari
6a15419fccea3b82d34ba4bc71ba7283e8512d91
1,684
hpp
C++
include/eve/algo/mismatch.hpp
microblink/eve
26d50d59190d3e2817c3ca95614e3e74f6c6f30a
[ "MIT" ]
null
null
null
include/eve/algo/mismatch.hpp
microblink/eve
26d50d59190d3e2817c3ca95614e3e74f6c6f30a
[ "MIT" ]
null
null
null
include/eve/algo/mismatch.hpp
microblink/eve
26d50d59190d3e2817c3ca95614e3e74f6c6f30a
[ "MIT" ]
null
null
null
//================================================================================================== /* EVE - Expressive Vector Engine Copyright : EVE Contributors & Maintainers SPDX-License-Identifier: MIT */ //================================================================================================== #pr...
30.071429
100
0.587292
microblink
6a1bb2310ac37e47635649a2ad509a1ddd0bae43
1,097
cpp
C++
Charpter07/subset.cpp
zhangdan0602/DailyAlgorithm
2969ed143b16c5c655d39ff3a86ee5f0cabb704a
[ "Apache-2.0" ]
null
null
null
Charpter07/subset.cpp
zhangdan0602/DailyAlgorithm
2969ed143b16c5c655d39ff3a86ee5f0cabb704a
[ "Apache-2.0" ]
null
null
null
Charpter07/subset.cpp
zhangdan0602/DailyAlgorithm
2969ed143b16c5c655d39ff3a86ee5f0cabb704a
[ "Apache-2.0" ]
null
null
null
#include <cstdio> using namespace std; int A[10], B[10]; //1.增量法 void print_subset1(int n, int *A, int cur) { for (int i = 0; i < cur; i++) { printf("%d ", A[i]); } printf("\n"); int s = cur ? A[cur - 1] + 1 : 0; for (int i = s; i < n; i++) { A[cur] = i; print_subs...
15.898551
42
0.386509
zhangdan0602
6a1fade24b89750740fa84b852da1337c28b7c33
11,830
cpp
C++
lib/MaskFaults.cpp
utahfmr/vulfi.github.io
6cd1a4caf3e2c556913fee55695327592b0589d6
[ "NCSA" ]
null
null
null
lib/MaskFaults.cpp
utahfmr/vulfi.github.io
6cd1a4caf3e2c556913fee55695327592b0589d6
[ "NCSA" ]
null
null
null
lib/MaskFaults.cpp
utahfmr/vulfi.github.io
6cd1a4caf3e2c556913fee55695327592b0589d6
[ "NCSA" ]
null
null
null
#include <time.h> #include <math.h> #include "Common.h" #include "MaskFaults.h" using namespace llvm; using namespace std; Instruction* MaskFaults::performInstrumentation(Module *M, CLData* Cl, FunctionList* Fl, Instruction* instr, Common::VectorFSType vftype, int idxLimit){ // Clone the target instruction. Thi...
37.436709
152
0.688588
utahfmr
6a2193c966cc392225fa89aa9696ae19840c73d3
1,559
hpp
C++
src/net/Channel.hpp
Hanwn/Shoot
6d5277f42575c146be11d24675837d992b5c0e89
[ "MIT" ]
null
null
null
src/net/Channel.hpp
Hanwn/Shoot
6d5277f42575c146be11d24675837d992b5c0e89
[ "MIT" ]
null
null
null
src/net/Channel.hpp
Hanwn/Shoot
6d5277f42575c146be11d24675837d992b5c0e89
[ "MIT" ]
null
null
null
#ifndef CHANNEL_H_ #define CHANNEL_H_ #include <functional> #include <sys/epoll.h> #include "EventLoop.hpp" #include "logger.h" enum class channelStatus{ NEW = 1, ADD = 3, DEL = 2 }; // Channel 的生命周期由TCPConnection控制 // Channel 不拥有任何资源,无需在析构函数中释放 class EventLoop; class Channel { public: using callbac...
18.127907
43
0.652341
Hanwn
6a2a7844a72f05e8afe715612b9a6e2227941315
4,220
cpp
C++
Source/Qurses/clear.cpp
mfaithfull/QOR
0fa51789344da482e8c2726309265d56e7271971
[ "BSL-1.0" ]
9
2016-05-27T01:00:39.000Z
2021-04-01T08:54:46.000Z
Source/Qurses/clear.cpp
mfaithfull/QOR
0fa51789344da482e8c2726309265d56e7271971
[ "BSL-1.0" ]
1
2016-03-03T22:54:08.000Z
2016-03-03T22:54:08.000Z
Source/Qurses/clear.cpp
mfaithfull/QOR
0fa51789344da482e8c2726309265d56e7271971
[ "BSL-1.0" ]
4
2016-05-27T01:00:43.000Z
2018-08-19T08:47:49.000Z
/* Public Domain Curses */ #include "Qurses/curspriv.h" RCSID("$Id: clear.c,v 1.35 2008/07/13 16:08:18 wmcbrine Exp $") /*man-start************************************************************** Name: clear Synopsis: int clear(void); int wc...
23.977273
80
0.395972
mfaithfull
6a2e3fe1cb325410fc11897508a74112d51b4f02
2,195
cpp
C++
src/upcore/src/cuchar/u8stou32slen.cpp
upcaste/upcaste
8174a2f40e7fde022806f8d1565bb4a415ecb210
[ "MIT" ]
1
2018-09-17T20:50:14.000Z
2018-09-17T20:50:14.000Z
src/upcore/src/cuchar/u8stou32slen.cpp
jwtowner/upcaste
8174a2f40e7fde022806f8d1565bb4a415ecb210
[ "MIT" ]
null
null
null
src/upcore/src/cuchar/u8stou32slen.cpp
jwtowner/upcaste
8174a2f40e7fde022806f8d1565bb4a415ecb210
[ "MIT" ]
null
null
null
// // Upcaste Performance Libraries // Copyright (C) 2012-2013 Jesse W. Towner // // 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...
32.761194
77
0.607745
upcaste
6a317138f65aed04fb6550ceeedaffd5b64aa362
1,447
cpp
C++
plugins/sdlinput/src/mouse/translate_motion_event.cpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
2
2016-01-27T13:18:14.000Z
2018-05-11T01:11:32.000Z
plugins/sdlinput/src/mouse/translate_motion_event.cpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
null
null
null
plugins/sdlinput/src/mouse/translate_motion_event.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/input/mouse/axis_code.hpp> #include <sge/input/mouse/shared_ptr.hpp> #include <sge/in...
34.452381
93
0.695232
cpreh
6a337e640e6c77c075e6715a1fdba5986ce3a14a
274
cpp
C++
Road-of-Gold/Road-of-Gold/drawPlanet.cpp
SKN-JP/Road_of_gold
f9646656662f38aa292d8b3cdb5be234eb946212
[ "MIT" ]
14
2017-07-11T13:59:50.000Z
2017-09-07T01:06:24.000Z
Road-of-Gold/Road-of-Gold/drawPlanet.cpp
SKN-JP/Road_of_gold
f9646656662f38aa292d8b3cdb5be234eb946212
[ "MIT" ]
10
2017-09-25T12:56:05.000Z
2017-10-20T07:59:06.000Z
Road-of-Gold/Road-of-Gold/drawPlanet.cpp
sknjpn/Road-of-Gold
f9646656662f38aa292d8b3cdb5be234eb946212
[ "MIT" ]
3
2017-08-11T15:54:21.000Z
2017-08-30T10:20:42.000Z
#include"Planet.h" #include"Display.h" void drawPlanet() { for (int i = 0; i < 2; ++i) { const auto transformer = tinyCamera.createTransformer(i); planet.mapTexture.resized(360_deg, 180_deg).drawAt(0, 0); Graphics2D::SetSamplerState(SamplerState::ClampLinear); } }
22.833333
59
0.711679
SKN-JP
6a3a0b29d80f7ac633c725bf1b85c046b31adc60
15,966
hpp
C++
lib/winss/supervise/supervise.hpp
taylorb-microsoft/winss
ede93f84a5d9585502db5190f2ec6365858f695a
[ "Apache-2.0" ]
52
2017-01-05T23:39:38.000Z
2020-06-04T03:00:11.000Z
lib/winss/supervise/supervise.hpp
morganstanley/winss
ede93f84a5d9585502db5190f2ec6365858f695a
[ "Apache-2.0" ]
24
2017-01-05T05:07:34.000Z
2018-03-09T00:50:58.000Z
lib/winss/supervise/supervise.hpp
morganstanley/winss
ede93f84a5d9585502db5190f2ec6365858f695a
[ "Apache-2.0" ]
7
2016-12-27T20:55:20.000Z
2018-03-09T00:32:19.000Z
/* * Copyright 2016-2017 Morgan Stanley * * 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 ag...
27.766957
80
0.557748
taylorb-microsoft
6a3d291603d7b54addce65bfcfe98989d397fc48
876
hpp
C++
ares/ares/node/debug/tracer.hpp
moon-chilled/Ares
909fb098c292f8336d0502dc677050312d8b5c81
[ "0BSD" ]
7
2020-07-25T11:44:39.000Z
2021-01-29T13:21:31.000Z
ares/ares/node/debug/tracer.hpp
jchw-forks/ares
d78298a1e95fd0ce65feabfd4f13b60e31210a7a
[ "0BSD" ]
null
null
null
ares/ares/node/debug/tracer.hpp
jchw-forks/ares
d78298a1e95fd0ce65feabfd4f13b60e31210a7a
[ "0BSD" ]
1
2021-03-22T16:15:30.000Z
2021-03-22T16:15:30.000Z
struct Tracer : Object { DeclareClass(Tracer, "Tracer") Tracer(string name = {}, string component = {}) : Object(name) { _component = component; } auto component() const -> string { return _component; } auto enabled() const -> bool { return _enabled; } auto setComponent(string component) -> void { _c...
29.2
73
0.658676
moon-chilled
6a3de8ee0b8da113e28041f2ab5d60e5d927afe8
1,699
cpp
C++
Class 16 - solve class 7/A.cpp
pioneerAlpha/CP_Beginner_B1
fd743b956188e927ac999e108df2f081d4f5fcb2
[ "Apache-2.0" ]
4
2020-07-10T06:37:52.000Z
2022-01-03T17:14:21.000Z
Class 16 - solve class 7/A.cpp
pioneerAlpha/CP_Beginner_B1
fd743b956188e927ac999e108df2f081d4f5fcb2
[ "Apache-2.0" ]
null
null
null
Class 16 - solve class 7/A.cpp
pioneerAlpha/CP_Beginner_B1
fd743b956188e927ac999e108df2f081d4f5fcb2
[ "Apache-2.0" ]
4
2020-11-23T16:58:45.000Z
2021-01-06T20:20:57.000Z
#include<bits/stdc++.h> #define ll long long #define N ((int)1e3 + 5) #define MOD ((int)1e9 + 7) #define thr 1e-8 #define pi acos(-1) /// pi = acos ( -1 ) #define fastio ios_base::sync_with_stdio(false),cin.tie(NULL) using namespace std; int arr[105][105]; int dxx[] = {0,0,1,-1}; int dyy[] = {1,-1,0,0}; bool vis[...
25.742424
78
0.366686
pioneerAlpha
6a411c116f7bebb186f5a0a9d693ce59e9ea3e29
7,658
cpp
C++
src/karri-vivek/karri-vivek.cpp
VivekReddy98/LidarFilter
9233d3a9eb08ae773b8e7f35f6cb7a7d7ae306c1
[ "MIT" ]
null
null
null
src/karri-vivek/karri-vivek.cpp
VivekReddy98/LidarFilter
9233d3a9eb08ae773b8e7f35f6cb7a7d7ae306c1
[ "MIT" ]
null
null
null
src/karri-vivek/karri-vivek.cpp
VivekReddy98/LidarFilter
9233d3a9eb08ae773b8e7f35f6cb7a7d7ae306c1
[ "MIT" ]
null
null
null
#include <iostream> #include <queue> #include <cmath> #include <algorithm> #include "karri-vivek.h" /** RangeFilter Constructor: Purpose: Input checking and variable initialization Args: Max and Min Thresholds as floats */ LSF::RangeFilter::RangeFilter(float max, float min){ if (max < min) ...
39.678756
245
0.635545
VivekReddy98
6a4519b34fd1383d26ef46df2e3cf32cde56494b
34,479
cpp
C++
samples/5_helloTessellation/main.cpp
shineyruan/Vulkan-Samples-Tutorial
4599104bcb6b8f71c6a77ee7321ea07e3ef2b5c7
[ "MIT" ]
null
null
null
samples/5_helloTessellation/main.cpp
shineyruan/Vulkan-Samples-Tutorial
4599104bcb6b8f71c6a77ee7321ea07e3ef2b5c7
[ "MIT" ]
null
null
null
samples/5_helloTessellation/main.cpp
shineyruan/Vulkan-Samples-Tutorial
4599104bcb6b8f71c6a77ee7321ea07e3ef2b5c7
[ "MIT" ]
null
null
null
#include <vulkan/vulkan.h> #include <glm/glm.hpp> #include <glm/gtc/matrix_transform.hpp> #include <iostream> #include <stdexcept> #include "camera.h" #include "vulkan_buffer.h" #include "vulkan_instance.h" #include "vulkan_shader_module.h" #include "window.h" VulkanInstance* instance; VulkanDevice* device; VulkanSw...
41.490975
80
0.722846
shineyruan
6a46a53e9ae0a95a72473b1e86f7df98b7ff901d
1,626
cpp
C++
src/tracker/tracking/object_factory.cpp
anuranbaka/Vulcan
56339f77f6cf64b5fda876445a33e72cd15ce028
[ "MIT" ]
3
2020-03-05T23:56:14.000Z
2021-02-17T19:06:50.000Z
src/tracker/tracking/object_factory.cpp
anuranbaka/Vulcan
56339f77f6cf64b5fda876445a33e72cd15ce028
[ "MIT" ]
1
2021-03-07T01:23:47.000Z
2021-03-07T01:23:47.000Z
src/tracker/tracking/object_factory.cpp
anuranbaka/Vulcan
56339f77f6cf64b5fda876445a33e72cd15ce028
[ "MIT" ]
1
2021-03-03T07:54:16.000Z
2021-03-03T07:54:16.000Z
/* Copyright (C) 2010-2019, The Regents of The University of Michigan. All rights reserved. This software was developed as part of the The Vulcan project in the Intelligent Robotics Lab under the direction of Benjamin Kuipers, kuipers@umich.edu. Use of this code is governed by an MIT-style License that can be foun...
28.526316
117
0.758303
anuranbaka
c69a2985dd157976ade85bc503681ea8997536be
9,543
cpp
C++
src/painter/extended_char.cpp
RyanDraves/CPPurses
19cbdae2d18e702144659187ec989c486c714a0f
[ "MIT" ]
null
null
null
src/painter/extended_char.cpp
RyanDraves/CPPurses
19cbdae2d18e702144659187ec989c486c714a0f
[ "MIT" ]
null
null
null
src/painter/extended_char.cpp
RyanDraves/CPPurses
19cbdae2d18e702144659187ec989c486c714a0f
[ "MIT" ]
null
null
null
#include <cppurses/painter/detail/extended_char.hpp> #include <map> #include <limits> #include <ncurses.h> namespace { const std::map<wchar_t, chtype> extended_chars { {L'┌', ACS_ULCORNER}, {L'┍', ACS_ULCORNER}, {L'┎', ACS_ULCORNER}, {L'┏', ACS_ULCORNER}, {L'╒', ACS_ULCORNER}, {L'╓', ACS_ULCORNER}, ...
51.306452
78
0.432149
RyanDraves
c69ae19b3e2c7b617bd2e0cf9cb9aaa22a676e70
1,358
cpp
C++
test/tuple/get.rv.cpp
qicosmos/hana
b0f8cf2bf19d491b7b739dcb7b8d7497b0e5829f
[ "BSL-1.0" ]
2
2015-12-06T05:10:14.000Z
2021-09-05T21:48:27.000Z
test/tuple/get.rv.cpp
qicosmos/hana
b0f8cf2bf19d491b7b739dcb7b8d7497b0e5829f
[ "BSL-1.0" ]
null
null
null
test/tuple/get.rv.cpp
qicosmos/hana
b0f8cf2bf19d491b7b739dcb7b8d7497b0e5829f
[ "BSL-1.0" ]
1
2017-06-06T10:50:17.000Z
2017-06-06T10:50:17.000Z
/* @copyright Louis Dionne 2015 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ #include <boost/hana/assert.hpp> #include <boost/hana/tuple.hpp> #include <laws/base.hpp> #include <utility> #include <memory> namespace hana =...
30.863636
79
0.603093
qicosmos
c6a1353a06c24b8ae10521da918d476e8681bc53
1,187
cpp
C++
0033.SearchinRotatedSortedArray/main.cpp
SumanSudhir/LeetCode
cab5205747b8c1a9d5c27f0e821cf6e6d9ac10d6
[ "MIT" ]
1
2020-01-13T11:10:35.000Z
2020-01-13T11:10:35.000Z
0033.SearchinRotatedSortedArray/main.cpp
SumanSudhir/LeetCode
cab5205747b8c1a9d5c27f0e821cf6e6d9ac10d6
[ "MIT" ]
4
2020-01-01T09:47:39.000Z
2020-04-08T08:34:29.000Z
0033.SearchinRotatedSortedArray/main.cpp
SumanSudhir/LeetCode
cab5205747b8c1a9d5c27f0e821cf6e6d9ac10d6
[ "MIT" ]
null
null
null
class Solution { public: int binarySearch(vector<int>& nums, int start, int stop, int target){ if(stop < start) return -1; int mid = (start+stop)/2; if(target == nums[mid]) return mid; else if(target < nums[mid]) return binarySearch(nums, start, mid-1, target); return binary...
35.969697
84
0.586352
SumanSudhir
c6a257f37229d8c91b97b3a63b8b85c638d4f429
1,243
cpp
C++
src/snake.cpp
hassanelshazly/snake
d4980d841d0346dd31c3359686922e11b89c79d3
[ "MIT" ]
null
null
null
src/snake.cpp
hassanelshazly/snake
d4980d841d0346dd31c3359686922e11b89c79d3
[ "MIT" ]
null
null
null
src/snake.cpp
hassanelshazly/snake
d4980d841d0346dd31c3359686922e11b89c79d3
[ "MIT" ]
null
null
null
#include "include/snake.h" Snake::Snake(int sx, int sy) { snakeBlocks = new int*[650]; for(int i = 0; i < 650; i++)snakeBlocks[i] = new int[2]; for(int i = 0; i < 650; i++)snakeBlocks[i][0] = -1; for(int i = 0; i < 650; i++)snakeBlocks[i][1] = -1; snakeBlocks[0][0] = sx; snakeBlocks[0][1] = sy;...
30.317073
108
0.536605
hassanelshazly
c6a7330c1fbfd2f40eaf0a5cfdf9232c02fd56f9
681
cpp
C++
100883/D.cpp
anthony-huang/wan-panchi
d6f3cef10c14e28dcef089c7f60113521647891a
[ "MIT" ]
1
2019-03-18T08:27:05.000Z
2019-03-18T08:27:05.000Z
100883/D.cpp
anthony-huang/wan-panchi
d6f3cef10c14e28dcef089c7f60113521647891a
[ "MIT" ]
null
null
null
100883/D.cpp
anthony-huang/wan-panchi
d6f3cef10c14e28dcef089c7f60113521647891a
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int n, k; int p[1000000]; bool can(long long m) { int x = k; int cnt = 0, mx = 0; for (int i = 0; i < n; ++i) { ++cnt; mx = max(mx, p[i]); if ((long long) mx * cnt > m) { --x; cnt = 1; mx = p[i]; } } return x > 0; } int main() { int t; scanf("%d"...
15.477273
48
0.434655
anthony-huang
c6ad149dd30602133d29c3b07cb79fba74165f44
1,579
hpp
C++
shadow/operators/kernels/normalize.hpp
junluan/shadow
067d1c51d7c38bc1c985008a2e2e1599bbf11a8c
[ "Apache-2.0" ]
20
2017-07-04T11:22:47.000Z
2022-01-16T03:58:32.000Z
shadow/operators/kernels/normalize.hpp
junluan/shadow
067d1c51d7c38bc1c985008a2e2e1599bbf11a8c
[ "Apache-2.0" ]
2
2017-12-03T13:07:39.000Z
2021-01-13T11:11:52.000Z
shadow/operators/kernels/normalize.hpp
junluan/shadow
067d1c51d7c38bc1c985008a2e2e1599bbf11a8c
[ "Apache-2.0" ]
10
2017-09-30T05:06:30.000Z
2020-11-13T05:43:44.000Z
#ifndef SHADOW_OPERATORS_KERNELS_NORMALIZE_HPP_ #define SHADOW_OPERATORS_KERNELS_NORMALIZE_HPP_ #include "core/kernel.hpp" namespace Shadow { namespace Vision { template <DeviceType D, typename T> void Normalize(const T* in_data, int outer_num, int dim, int inner_num, T* val_data, float p, float eps,...
30.365385
80
0.664345
junluan
c6ad6587bbaf08e1ee4cd79aa770015f6a16c54c
3,389
hh
C++
sdk/sdk/share/live555/liveMedia/WFD/WifiDisplaySource.hh
doyaGu/C0501Q_HWJL01
07a71328bd9038453cbb1cf9c276a3dd1e416d63
[ "MIT" ]
1
2021-10-09T08:05:50.000Z
2021-10-09T08:05:50.000Z
sdk/sdk/share/live555/liveMedia/WFD/WifiDisplaySource.hh
doyaGu/C0501Q_HWJL01
07a71328bd9038453cbb1cf9c276a3dd1e416d63
[ "MIT" ]
null
null
null
sdk/sdk/share/live555/liveMedia/WFD/WifiDisplaySource.hh
doyaGu/C0501Q_HWJL01
07a71328bd9038453cbb1cf9c276a3dd1e416d63
[ "MIT" ]
null
null
null
/********** This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. (See <http://www.gnu.org/copyleft/lesser.html>.) This libr...
36.44086
121
0.753615
doyaGu
c6af6b2dc0946b6cb76c14570da7c1f5a046fd95
8,727
cpp
C++
source/util.cpp
gouarin/binder
90cf5b31b6f4ecad3fe87518ca2b949dc9e8ed1a
[ "MIT" ]
211
2017-01-28T21:55:20.000Z
2022-03-28T12:02:47.000Z
source/util.cpp
gouarin/binder
90cf5b31b6f4ecad3fe87518ca2b949dc9e8ed1a
[ "MIT" ]
155
2017-01-06T11:36:29.000Z
2022-03-30T22:03:22.000Z
source/util.cpp
gouarin/binder
90cf5b31b6f4ecad3fe87518ca2b949dc9e8ed1a
[ "MIT" ]
40
2017-01-30T13:36:02.000Z
2022-03-10T09:09:26.000Z
// -*- mode:c++;tab-width:2;indent-tabs-mode:t;show-trailing-whitespace:t;rm-trailing-spaces:t -*- // vi: set ts=2 noet: // // Copyright (c) 2016 Sergey Lyskov <sergey.lyskov@jhu.edu> // // All rights reserved. Use of this source code is governed by a // MIT license that can be found in the LICENSE file. /// @file b...
26.606707
177
0.669417
gouarin
c6b413bf7542aeb054f4e918a6a4e6012e03a188
1,679
cpp
C++
Redshift/Source/Components/Renderable.cpp
allogic/Redshift
4606267b53e3d094ba588acb9ceaa97e3289632b
[ "MIT" ]
null
null
null
Redshift/Source/Components/Renderable.cpp
allogic/Redshift
4606267b53e3d094ba588acb9ceaa97e3289632b
[ "MIT" ]
null
null
null
Redshift/Source/Components/Renderable.cpp
allogic/Redshift
4606267b53e3d094ba588acb9ceaa97e3289632b
[ "MIT" ]
null
null
null
#include <Components/Renderable.h> #include <Components/Transform.h> #include <Globals/World.h> Renderable::Renderable( World& world, std::string const& meshName, std::string const& programName, std::string const& textureAlbedoName, std::string const& textureNormalName, std::string const& textureSpecularN...
35.723404
106
0.733175
allogic
c6b4b1d50da7c4510fbccbe69768f08a4a3209e4
28,691
cpp
C++
Spike/SimulinkModel/Spike_grt_rtw/Spike_data.cpp
NixonCTChan/Simulink-Sim
d63678af48bc1e39fa30a885c1a989e31e2310c6
[ "BSD-3-Clause" ]
null
null
null
Spike/SimulinkModel/Spike_grt_rtw/Spike_data.cpp
NixonCTChan/Simulink-Sim
d63678af48bc1e39fa30a885c1a989e31e2310c6
[ "BSD-3-Clause" ]
2
2021-05-05T11:58:53.000Z
2021-06-01T16:34:04.000Z
Spike/SimulinkModel/Spike_grt_rtw/Spike_data.cpp
NixonCTChan/Simulink-Sim
d63678af48bc1e39fa30a885c1a989e31e2310c6
[ "BSD-3-Clause" ]
6
2021-02-13T00:14:52.000Z
2021-11-09T22:57:56.000Z
/* * Spike_data.cpp * * Academic License - for use in teaching, academic research, and meeting * course requirements at degree granting institutions only. Not for * government, commercial, or other organizational use. * * Code generation for model "Spike". * * Model version : 1.172 * Simulink Co...
56.589744
81
0.578126
NixonCTChan
c6b89f98ff6b81681242a113a6a2528005b167a9
2,537
cpp
C++
src/apps/mplayerc/StaticLink.cpp
chinajeffery/MPC-BE--1.2.3
2229fde5535f565ba4a496a7f73267bd2c1ad338
[ "MIT" ]
null
null
null
src/apps/mplayerc/StaticLink.cpp
chinajeffery/MPC-BE--1.2.3
2229fde5535f565ba4a496a7f73267bd2c1ad338
[ "MIT" ]
1
2019-11-14T04:18:32.000Z
2019-11-14T04:18:32.000Z
src/apps/mplayerc/StaticLink.cpp
chinajeffery/MPC-BE--1.2.3
2229fde5535f565ba4a496a7f73267bd2c1ad338
[ "MIT" ]
null
null
null
/* * $Id: StaticLink.cpp 2229 2013-03-08 13:27:11Z exodus8 $ * * (C) 2003-2006 Gabest * (C) 2006-2013 see Authors.txt * * This file is part of MPC-BE. * * MPC-BE is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software F...
22.651786
72
0.713047
chinajeffery
c6ba348b641ed6208ff5d864c978642bea5cb2ab
2,182
cpp
C++
rs/test/min_test.cpp
dymk/rs
b75ab0df5f235ac12ec4da825e6bd6e1fa9e7493
[ "Apache-2.0" ]
19
2017-05-15T08:20:00.000Z
2021-12-03T05:58:32.000Z
rs/test/min_test.cpp
dymk/rs
b75ab0df5f235ac12ec4da825e6bd6e1fa9e7493
[ "Apache-2.0" ]
null
null
null
rs/test/min_test.cpp
dymk/rs
b75ab0df5f235ac12ec4da825e6bd6e1fa9e7493
[ "Apache-2.0" ]
3
2018-01-16T18:07:30.000Z
2021-06-30T07:33:44.000Z
// Copyright 2017 Per Grön. 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 required by applicable l...
27.275
79
0.642071
dymk
c6bb56fbcd8c10aa0e163051da964557ebbc5c40
2,883
cpp
C++
src/client/lib32/version.cpp
LowerCode/bnspatch
321608bb86714ee5137823ade21a81f4e0058c09
[ "MIT" ]
1
2021-03-11T17:41:11.000Z
2021-03-11T17:41:11.000Z
src/client/lib64/version.cpp
LowerCode/bnspatch
321608bb86714ee5137823ade21a81f4e0058c09
[ "MIT" ]
null
null
null
src/client/lib64/version.cpp
LowerCode/bnspatch
321608bb86714ee5137823ade21a81f4e0058c09
[ "MIT" ]
1
2021-12-22T00:15:04.000Z
2021-12-22T00:15:04.000Z
#define DLLEXPORT DLLEXPORT #include <Windows.h> EXTERN_C_START DLLEXPORT DWORD APIENTRY VerFindFileA( DWORD uFlags, LPCSTR szFileName, LPCSTR szWinDir, LPCSTR szAppDir, LPSTR szCurDir, PUINT puCurDirLen, LPSTR szDestDir, PUINT puDestDirLen) { return 0; } DLLEXPORT DWORD APIENTRY ...
16.958824
51
0.704475
LowerCode
c6c3929f98f2221139837b9c70e1e83e82983124
1,144
cpp
C++
src/stack_trace.cpp
magicmoremagic/bengine-core
fc9e1c309e62f5b2d7d4797d4b537ecfb3350d19
[ "MIT" ]
null
null
null
src/stack_trace.cpp
magicmoremagic/bengine-core
fc9e1c309e62f5b2d7d4797d4b537ecfb3350d19
[ "MIT" ]
null
null
null
src/stack_trace.cpp
magicmoremagic/bengine-core
fc9e1c309e62f5b2d7d4797d4b537ecfb3350d19
[ "MIT" ]
null
null
null
#include "pch.hpp" #include "stack_trace.hpp" #include "console.hpp" #include "filesystem.hpp" #include <ostream> #include <iomanip> namespace be { /////////////////////////////////////////////////////////////////////////////// std::ostream& operator<<(std::ostream& os, const StackTrace& trace) { auto osc = get_os...
28.6
122
0.516608
magicmoremagic
c6c3dd1ec4c1085bfdf0a5e8f82288ca0dc48f77
19,551
cpp
C++
src/LuminoEngine/src/UI/ImGuiIntegration.cpp
infinnie/Lumino
921caabdbcb91528a2aac290e31d650628bc3bed
[ "MIT" ]
null
null
null
src/LuminoEngine/src/UI/ImGuiIntegration.cpp
infinnie/Lumino
921caabdbcb91528a2aac290e31d650628bc3bed
[ "MIT" ]
null
null
null
src/LuminoEngine/src/UI/ImGuiIntegration.cpp
infinnie/Lumino
921caabdbcb91528a2aac290e31d650628bc3bed
[ "MIT" ]
null
null
null
#include "Internal.hpp" #include <LuminoEngine/Platform/PlatformEvent.hpp> #include <LuminoEngine/Platform/PlatformWindow.hpp> #include <LuminoEngine/Graphics/VertexLayout.hpp> #include <LuminoEngine/Graphics/VertexBuffer.hpp> #include <LuminoEngine/Graphics/IndexBuffer.hpp> #include <LuminoEngine/Graphics/Texture.hpp...
35.100539
441
0.698941
infinnie
c6c73a200d5ae7c14a31d604a5103e85c05db1e7
1,789
hpp
C++
avoidthebug-android/app/src/main/cpp/include/GameLogic.hpp
dimi309/small3d-samples
8cccf40eb75782806fa7b9006a1cb43233ce54af
[ "BSD-3-Clause" ]
2
2020-02-05T03:36:22.000Z
2020-02-05T05:04:35.000Z
avoidthebug-android/app/src/main/cpp/include/GameLogic.hpp
dimi309/gloom
8c1d8600c316384d005c226f0b27af4072bce5ac
[ "BSD-3-Clause" ]
null
null
null
avoidthebug-android/app/src/main/cpp/include/GameLogic.hpp
dimi309/gloom
8c1d8600c316384d005c226f0b27af4072bce5ac
[ "BSD-3-Clause" ]
1
2021-12-03T05:34:22.000Z
2021-12-03T05:34:22.000Z
/* * GameLogic.hpp * * Created on: 2014/11/09 * Author: Dimitri Kourkoulis * License: BSD 3-Clause License (see LICENSE file) */ #pragma once #include <memory> #include <small3d/SceneObject.hpp> #include <small3d/Renderer.hpp> #include <small3d/Sound.hpp> #include "KeyInput.hpp" using namespace sma...
16.564815
83
0.63052
dimi309
c6ca7762e635e30b1eb36cce801f63bedaeb0c42
5,823
cpp
C++
src/TrigBuf.cpp
miRackModular/ML_modules
c9c26bdca5c9a5a86ddb34653d856132be5d1e17
[ "MIT", "BSD-2-Clause", "BSD-3-Clause" ]
100
2017-10-04T23:06:33.000Z
2022-01-19T05:21:04.000Z
src/TrigBuf.cpp
miRackModular/ML_modules
c9c26bdca5c9a5a86ddb34653d856132be5d1e17
[ "MIT", "BSD-2-Clause", "BSD-3-Clause" ]
68
2017-10-04T15:38:16.000Z
2021-12-05T12:33:54.000Z
src/TrigBuf.cpp
miRackModular/ML_modules
c9c26bdca5c9a5a86ddb34653d856132be5d1e17
[ "MIT", "BSD-2-Clause", "BSD-3-Clause" ]
19
2017-10-05T17:19:44.000Z
2021-05-31T11:24:58.000Z
#include "ML_modules.hpp" struct TrigBuf : Module { enum ParamIds { ARM1_PARAM, ARM2_PARAM, NUM_PARAMS }; enum InputIds { ARM1_INPUT, ARM2_INPUT, GATE1_INPUT, GATE2_INPUT, NUM_INPUTS }; enum OutputIds { OUT1_OUTPUT, OUT2_OUTPUT, NUM_OUTPUTS }; enum LightIds { ARM1_LIGHT, ARM2_LIGHT, ...
27.597156
160
0.7096
miRackModular
c6ccd8720f2a8de05349959fe3caaffe097e3ffd
5,704
hpp
C++
inc/Services/RequestVerificationService.hpp
ACubeSAT/ecss-services
92d81c1ff455d9baef9417e656388c98ec552751
[ "MIT" ]
null
null
null
inc/Services/RequestVerificationService.hpp
ACubeSAT/ecss-services
92d81c1ff455d9baef9417e656388c98ec552751
[ "MIT" ]
null
null
null
inc/Services/RequestVerificationService.hpp
ACubeSAT/ecss-services
92d81c1ff455d9baef9417e656388c98ec552751
[ "MIT" ]
null
null
null
#ifndef ECSS_SERVICES_REQUESTVERIFICATIONSERVICE_HPP #define ECSS_SERVICES_REQUESTVERIFICATIONSERVICE_HPP #include "Service.hpp" #include "Message.hpp" #include "ErrorHandler.hpp" #include "ECSS_Definitions.hpp" /** * Implementation of the ST[01] request verification service * * Note:For the time being, the cause(...
40.742857
115
0.757188
ACubeSAT
c6cdb05f7f05b3b811b26bc2f1604c2c5c61fb05
257
cpp
C++
YorozuyaGSLib/source/_enter_world_request_wrac.cpp
lemkova/Yorozuya
f445d800078d9aba5de28f122cedfa03f26a38e4
[ "MIT" ]
29
2017-07-01T23:08:31.000Z
2022-02-19T10:22:45.000Z
YorozuyaGSLib/source/_enter_world_request_wrac.cpp
kotopes/Yorozuya
605c97d3a627a8f6545cc09f2a1b0a8afdedd33a
[ "MIT" ]
90
2017-10-18T21:24:51.000Z
2019-06-06T02:30:33.000Z
YorozuyaGSLib/source/_enter_world_request_wrac.cpp
kotopes/Yorozuya
605c97d3a627a8f6545cc09f2a1b0a8afdedd33a
[ "MIT" ]
44
2017-12-19T08:02:59.000Z
2022-02-24T23:15:01.000Z
#include <_enter_world_request_wrac.hpp> START_ATF_NAMESPACE int _enter_world_request_wrac::size() { using org_ptr = int (WINAPIV*)(struct _enter_world_request_wrac*); return (org_ptr(0x14011f240L))(this); }; END_ATF_NAMESPACE
23.363636
74
0.719844
lemkova