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
a018bdf1a7bf6325df518c8134d16e5575c93d20
3,329
cpp
C++
automated-tests/src/dali/utc-Dali-Semaphore.cpp
dalihub/dali-core
f9b1a5a637bbc91de4aaf9e0be9f79cba0bbb195
[ "Apache-2.0", "BSD-3-Clause" ]
21
2016-11-18T10:26:40.000Z
2021-11-02T09:46:15.000Z
automated-tests/src/dali/utc-Dali-Semaphore.cpp
dalihub/dali-core
f9b1a5a637bbc91de4aaf9e0be9f79cba0bbb195
[ "Apache-2.0", "BSD-3-Clause" ]
7
2016-10-18T17:39:12.000Z
2020-12-01T11:45:36.000Z
automated-tests/src/dali/utc-Dali-Semaphore.cpp
dalihub/dali-core
f9b1a5a637bbc91de4aaf9e0be9f79cba0bbb195
[ "Apache-2.0", "BSD-3-Clause" ]
16
2017-03-08T15:50:32.000Z
2021-05-24T06:58:10.000Z
/* * Copyright (c) 2021 Samsung Electronics 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...
32.637255
107
0.73836
dalihub
a022d0a4a0cfeef4a021d4159ed2cdccfc0136df
3,508
cpp
C++
libs/GFX/Events.cpp
KillianG/R-Type
e3fd801ae58fcea49ac75c400ec0a2837cb0da2e
[ "MIT" ]
1
2019-08-14T12:31:50.000Z
2019-08-14T12:31:50.000Z
libs/GFX/Events.cpp
KillianG/R-Type
e3fd801ae58fcea49ac75c400ec0a2837cb0da2e
[ "MIT" ]
null
null
null
libs/GFX/Events.cpp
KillianG/R-Type
e3fd801ae58fcea49ac75c400ec0a2837cb0da2e
[ "MIT" ]
null
null
null
// // Created by killian on 13/11/18. // Epitech 3 years remaining // See http://github.com/KillianG // #include <SFML/Window/Event.hpp> #include "Events.hpp" #include <iostream> /** * simple constructor * @param mgr eventmanager */ gfx::Event::Event(EventManager &mgr) : _mgr(mgr){ } /** * get all events using s...
29.233333
118
0.608609
KillianG
a025b6636c624c0382da02eca001cd939cf62860
1,526
cpp
C++
src/RE/NiSystem.cpp
powerof3/CommonLibVR
c84cd2c63ccba0cc88a212fe9cf86b5470b10a4f
[ "MIT" ]
6
2020-04-05T04:37:42.000Z
2022-03-19T17:42:24.000Z
src/RE/NiSystem.cpp
kassent/CommonLibSSE
394231b44ba01925fef9d01ea2b0b29c2fff601c
[ "MIT" ]
3
2021-11-08T09:31:20.000Z
2022-03-02T19:22:42.000Z
src/RE/NiSystem.cpp
kassent/CommonLibSSE
394231b44ba01925fef9d01ea2b0b29c2fff601c
[ "MIT" ]
6
2020-04-10T18:11:46.000Z
2022-01-18T22:31:25.000Z
#include "RE/NiSystem.h" #include <cassert> #include <cstdarg> namespace RE { int NiMemcpy(void* a_dest, std::size_t a_destSize, const void* a_src, std::size_t a_count) { auto result = memcpy_s(a_dest, a_destSize, a_src, a_count); assert(result == 0); return result; } int NiSprintf(char* a_dest, std::siz...
20.90411
118
0.690039
powerof3
a0260a48557c2be356124c61a0598f764425b6e0
1,899
cpp
C++
docs/trainings/random-trainings/18th-SHU-CPC/solutions/i.cpp
Dup4/TI1050
4534909ef9a3b925d556d341ea5e2629357f68e6
[ "MIT" ]
null
null
null
docs/trainings/random-trainings/18th-SHU-CPC/solutions/i.cpp
Dup4/TI1050
4534909ef9a3b925d556d341ea5e2629357f68e6
[ "MIT" ]
null
null
null
docs/trainings/random-trainings/18th-SHU-CPC/solutions/i.cpp
Dup4/TI1050
4534909ef9a3b925d556d341ea5e2629357f68e6
[ "MIT" ]
1
2022-03-03T13:33:48.000Z
2022-03-03T13:33:48.000Z
#include <bits/stdc++.h> using namespace std; using ll = long long; #define SZ(x) (int(x.size())) const int N = 1e3 + 10, mod = 1e9 + 7; int n, m, v[N], fac[N], inv[N], bit[N], fbit[N]; ll f[N][N]; char s[N]; ll qpow(ll base, ll n) { ll res = 1; while (n) { if (n & 1) res = res * base % mod...
27.521739
84
0.360716
Dup4
a0299759b45b07ad5685d744d2c8a237742b8213
9,030
cpp
C++
cli/tests/DistributedCommandExecutorTestRunner.cpp
yuanchenl/quickstep
cc20fed6e56b0e583ae15a0219c070c8bacf14ba
[ "Apache-2.0" ]
1
2021-08-22T19:16:59.000Z
2021-08-22T19:16:59.000Z
cli/tests/DistributedCommandExecutorTestRunner.cpp
udippant/incubator-quickstep
8169306c2923d68235ba3c0c8df4c53f5eee9a68
[ "Apache-2.0" ]
null
null
null
cli/tests/DistributedCommandExecutorTestRunner.cpp
udippant/incubator-quickstep
8169306c2923d68235ba3c0c8df4c53f5eee9a68
[ "Apache-2.0" ]
1
2021-11-30T13:50:59.000Z
2021-11-30T13:50:59.000Z
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
37.782427
116
0.716058
yuanchenl
a03043f317c61138818e4ae9d2c0ee66ca4487e6
28,037
cpp
C++
source/slang/slang-check-constraint.cpp
JKot-Coder/slang
1a1b2a0de67dccc1102449b8620830131d569cde
[ "MIT" ]
895
2017-06-10T13:38:39.000Z
2022-03-31T02:29:15.000Z
source/slang/slang-check-constraint.cpp
JKot-Coder/slang
1a1b2a0de67dccc1102449b8620830131d569cde
[ "MIT" ]
708
2017-06-15T16:03:12.000Z
2022-03-28T19:01:37.000Z
source/slang/slang-check-constraint.cpp
JKot-Coder/slang
1a1b2a0de67dccc1102449b8620830131d569cde
[ "MIT" ]
80
2017-06-12T15:36:58.000Z
2022-03-23T12:04:24.000Z
// slang-check-constraint.cpp #include "slang-check-impl.h" // This file provides the core services for creating // and solving constraint systems during semantic checking. // // We currently use constraint systems primarily to solve // for the implied values to use for generic parameters when a // generic declaration...
36.223514
121
0.545458
JKot-Coder
a0357e9cd0f19dcca39eb366a2724bd340c371bb
1,611
cpp
C++
src/Object2D.cpp
Ryozuki/GForce
a36ab77587773057e1b6fc84cb6efe9987dc4473
[ "MIT" ]
null
null
null
src/Object2D.cpp
Ryozuki/GForce
a36ab77587773057e1b6fc84cb6efe9987dc4473
[ "MIT" ]
null
null
null
src/Object2D.cpp
Ryozuki/GForce
a36ab77587773057e1b6fc84cb6efe9987dc4473
[ "MIT" ]
null
null
null
/* * (c) Ryozuki See LICENSE.txt in the root of the distribution for more information. * If you are missing that file, acquire a complete release at https://github.com/Ryozuki/GForce */ #include <GForce/Object2D.hpp> #include <GForce/Constants.hpp> namespace gf { Object2D::Object2D(double mass) { setMass(mass)...
17.703297
96
0.688392
Ryozuki
a03b320fe75a6e87efa21af0902a15eebcda16f5
598
cpp
C++
C++/01_Backtracking/MEDIUM_PERMUTATIONS.cpp
animeshramesh/interview-prep
882e8bc8b4653a713754ab31a3b08e05505be2bc
[ "Apache-2.0" ]
null
null
null
C++/01_Backtracking/MEDIUM_PERMUTATIONS.cpp
animeshramesh/interview-prep
882e8bc8b4653a713754ab31a3b08e05505be2bc
[ "Apache-2.0" ]
null
null
null
C++/01_Backtracking/MEDIUM_PERMUTATIONS.cpp
animeshramesh/interview-prep
882e8bc8b4653a713754ab31a3b08e05505be2bc
[ "Apache-2.0" ]
null
null
null
vector<vector<int> > permute(vector<int> &num) { vector<vector<int> > result; permuteRecursive(result, 0, num); return result; } // permute num[begin..end] // invariant: num[0..begin-1] have been fixed/permuted void permuteRecursive(vector<vector<int> > &result, int begin, vector<int> &num) { if ...
22.148148
81
0.603679
animeshramesh
a041ed9f8cac4a98baa2a5af904a417a3bbca844
3,729
hpp
C++
zug/state_traits.hpp
CJBussey/zug
4c9aff02c5f870f2ba518ba7f93ceb6a00e5fda8
[ "BSL-1.0" ]
null
null
null
zug/state_traits.hpp
CJBussey/zug
4c9aff02c5f870f2ba518ba7f93ceb6a00e5fda8
[ "BSL-1.0" ]
null
null
null
zug/state_traits.hpp
CJBussey/zug
4c9aff02c5f870f2ba518ba7f93ceb6a00e5fda8
[ "BSL-1.0" ]
null
null
null
// // zug: transducers for C++ // Copyright (C) 2019 Juan Pedro Bolivar Puente // // This software is distributed under the Boost Software License, Version 1.0. // See accompanying file LICENSE or copy at http://boost.org/LICENSE_1_0.txt // #pragma once #include <type_traits> #include <utility> namespace zug { /*! ...
24.372549
78
0.659426
CJBussey
a044127b3ec32060224277df4d8acda13c9b1c1a
58,225
cpp
C++
engine/audio/private/snd_op_sys/sos_op_math.cpp
DannyParker0001/Kisak-Strike
99ed85927336fe3aff2efd9b9382b2b32eb1d05d
[ "Unlicense" ]
252
2020-12-16T15:34:43.000Z
2022-03-31T23:21:37.000Z
cstrike15_src/engine/audio/private/snd_op_sys/sos_op_math.cpp
bahadiraraz/Counter-Strike-Global-Offensive
9a0534100cb98ffa1cf0c32e138f0e7971e910d3
[ "MIT" ]
23
2020-12-20T18:02:54.000Z
2022-03-28T16:58:32.000Z
cstrike15_src/engine/audio/private/snd_op_sys/sos_op_math.cpp
bahadiraraz/Counter-Strike-Global-Offensive
9a0534100cb98ffa1cf0c32e138f0e7971e910d3
[ "MIT" ]
42
2020-12-19T04:32:33.000Z
2022-03-30T06:00:28.000Z
//============ Copyright (c) Valve Corporation, All rights reserved. ============ // // //=============================================================================== #include "audio_pch.h" #include "tier2/interval.h" #include "math.h" #include "sos_op.h" #include "sos_op_math.h" #include "snd_dma.h" #include ".....
30.357143
176
0.688055
DannyParker0001
a0458cebda3e2326dbc153532319f242f3b2e592
7,340
cpp
C++
core/Transaction/Transfer.cpp
mm-s/symbol-sdk-cpp
2151503ff69d582de47acde1dffae02ed21e78ab
[ "MIT" ]
null
null
null
core/Transaction/Transfer.cpp
mm-s/symbol-sdk-cpp
2151503ff69d582de47acde1dffae02ed21e78ab
[ "MIT" ]
null
null
null
core/Transaction/Transfer.cpp
mm-s/symbol-sdk-cpp
2151503ff69d582de47acde1dffae02ed21e78ab
[ "MIT" ]
null
null
null
/** *** Copyright (c) 2016-2019, Jaguar0625, gimre, BloodyRookie, Tech Bureau, Corp. *** Copyright (c) 2020-present, Jaguar0625, gimre, BloodyRookie. *** All rights reserved. *** *** This file is part of Catapult. *** *** Catapult is free software: you can redistribute it and/or modify *** it under the terms of the GNU...
33.063063
254
0.68624
mm-s
a047ebe9dbb9beb28e8de88ae894ce1316a25205
4,310
cpp
C++
src/InputHandler.cpp
kaprikawn/target
36a38e789b7be5faad03ff1b48a45200eab7fa93
[ "MIT" ]
null
null
null
src/InputHandler.cpp
kaprikawn/target
36a38e789b7be5faad03ff1b48a45200eab7fa93
[ "MIT" ]
2
2017-05-31T11:48:08.000Z
2017-05-31T11:49:26.000Z
src/InputHandler.cpp
kaprikawn/target
36a38e789b7be5faad03ff1b48a45200eab7fa93
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include "InputHandler.hpp" #include "Game.hpp" InputHandler* InputHandler::s_pInstance = 0; void InputHandler::initialiseJoysticks() { if( SDL_WasInit( SDL_INIT_JOYSTICK ) == 0 ) { SDL_InitSubSystem( SDL_INIT_JOYSTICK ); } if( SDL_NumJoysticks() > 0 ) { for( int...
27.278481
149
0.588399
kaprikawn
a04bd9a30c84737eb29e298b575e5e6269570e87
336
cpp
C++
Source/remote_main.cpp
farkmarnum/imogen
f5a726e060315ea71de98f6b9eb06ba58bf2527d
[ "MIT" ]
null
null
null
Source/remote_main.cpp
farkmarnum/imogen
f5a726e060315ea71de98f6b9eb06ba58bf2527d
[ "MIT" ]
null
null
null
Source/remote_main.cpp
farkmarnum/imogen
f5a726e060315ea71de98f6b9eb06ba58bf2527d
[ "MIT" ]
null
null
null
#include <imogen_gui/imogen_gui.h> #include <lemons_app_utils/lemons_app_utils.h> namespace Imogen { struct RemoteApp : lemons::GuiApp<Remote> { RemoteApp() : lemons::GuiApp<Imogen::Remote> (String ("Imogen ") + TRANS ("Remote"), "0.0.1", { 1060, 640 }) { } }; } // namespace Imogen START_JUCE_APPLICATION (Imo...
18.666667
98
0.696429
farkmarnum
a04cdd61bd41801c12aacb89c7090ceabebe79d9
1,517
cpp
C++
Linked_List/InsertDLL.cpp
krcpr007/DSA-Abdul_Bari_codesAndPdfs-
06d19a936009502d39fb5e401e9d90bf6d7911c9
[ "MIT" ]
1
2021-12-06T13:49:47.000Z
2021-12-06T13:49:47.000Z
Linked_List/InsertDLL.cpp
krcpr007/DSA-Abdul_Bari_codesAndPdfs-
06d19a936009502d39fb5e401e9d90bf6d7911c9
[ "MIT" ]
null
null
null
Linked_List/InsertDLL.cpp
krcpr007/DSA-Abdul_Bari_codesAndPdfs-
06d19a936009502d39fb5e401e9d90bf6d7911c9
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; struct Node { struct Node *next; struct Node *prev; int data; } *first = NULL; void Create(int A[], int n) { struct Node *t, *last; first = new Node; first->data = A[0]; first->prev = first->next = NULL; last = first; for (int i = 1; i < n; ...
16.138298
48
0.418589
krcpr007
a04d63c6ca2609b6ceb7488948b20ebbe116d4e4
730
hpp
C++
include/DataSeries/ByteField.hpp
sbu-fsl/DataSeries
8436462519eb22fc653387885b5f0339fb419061
[ "BSD-2-Clause" ]
6
2015-02-27T19:15:11.000Z
2018-10-25T14:22:31.000Z
include/DataSeries/ByteField.hpp
yoursunny/DataSeries
b5b9db8e40a79a3e546a59cd72a80be89412d7b2
[ "BSD-2-Clause" ]
7
2015-08-17T15:18:50.000Z
2017-08-16T00:16:19.000Z
include/DataSeries/ByteField.hpp
sbu-fsl/DataSeries
8436462519eb22fc653387885b5f0339fb419061
[ "BSD-2-Clause" ]
8
2015-07-13T23:02:28.000Z
2020-09-28T19:06:26.000Z
// -*-C++-*- /* (c) Copyright 2003-2009, Hewlett-Packard Development Company, LP See the file named COPYING for license details */ /** @file byte field class */ #ifndef DATASERIES_BYTEFIELD_HPP #define DATASERIES_BYTEFIELD_HPP /** \brief Accessor for byte fields */ class ByteField : public dataseries::deta...
22.8125
100
0.658904
sbu-fsl
a050b35eeea30520be28878ed3a557363b030e82
502
cpp
C++
src/PeerNotificationOfMintService.cpp
izzy-developer/core
32b83537a255aeef50a64252ea001c99c7e69a01
[ "MIT" ]
null
null
null
src/PeerNotificationOfMintService.cpp
izzy-developer/core
32b83537a255aeef50a64252ea001c99c7e69a01
[ "MIT" ]
null
null
null
src/PeerNotificationOfMintService.cpp
izzy-developer/core
32b83537a255aeef50a64252ea001c99c7e69a01
[ "MIT" ]
1
2022-03-15T23:32:26.000Z
2022-03-15T23:32:26.000Z
#include <PeerNotificationOfMintService.h> #include <uint256.h> #include <net.h> #include <protocol.h> PeerNotificationOfMintService::PeerNotificationOfMintService( std::vector<CNode*>& peers ): peers_(peers) { } bool PeerNotificationOfMintService::havePeersToNotify() const { return !peers_.empty(); } vo...
21.826087
79
0.729084
izzy-developer
a057288f6491ef93600ed75057f53cbabdb3215c
2,356
hpp
C++
source/xyo/xyo-networking-socket.hpp
g-stefan/xyo
e203cb699d6bba46eae6c8157f27ea29ab7506f1
[ "MIT", "Unlicense" ]
null
null
null
source/xyo/xyo-networking-socket.hpp
g-stefan/xyo
e203cb699d6bba46eae6c8157f27ea29ab7506f1
[ "MIT", "Unlicense" ]
null
null
null
source/xyo/xyo-networking-socket.hpp
g-stefan/xyo
e203cb699d6bba46eae6c8157f27ea29ab7506f1
[ "MIT", "Unlicense" ]
null
null
null
// // XYO // // Copyright (c) 2020-2021 Grigore Stefan <g_stefan@yahoo.com> // Created by Grigore Stefan <g_stefan@yahoo.com> // // MIT License (MIT) <http://opensource.org/licenses/MIT> // #ifndef XYO_NETWORKING_SOCKET_HPP #define XYO_NETWORKING_SOCKET_HPP #ifndef XYO_NETWORKING_NETWORK_HPP #include "xy...
24.541667
63
0.716469
g-stefan
a05a50765d3b069636de3e0c7a272c57d16bf3b4
7,247
hpp
C++
test/functional/forall/reduce-multiple-segment/tests/test-forall-segment-multiple-ReduceSum.hpp
ggeorgakoudis/RAJA
05f4a5e473a4160ddfdb5e829b4fdc9e0384ae26
[ "BSD-3-Clause" ]
1
2020-11-19T04:55:20.000Z
2020-11-19T04:55:20.000Z
test/functional/forall/reduce-multiple-segment/tests/test-forall-segment-multiple-ReduceSum.hpp
ggeorgakoudis/RAJA
05f4a5e473a4160ddfdb5e829b4fdc9e0384ae26
[ "BSD-3-Clause" ]
null
null
null
test/functional/forall/reduce-multiple-segment/tests/test-forall-segment-multiple-ReduceSum.hpp
ggeorgakoudis/RAJA
05f4a5e473a4160ddfdb5e829b4fdc9e0384ae26
[ "BSD-3-Clause" ]
null
null
null
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~// // Copyright (c) 2016-20, Lawrence Livermore National Security, LLC // and RAJA project contributors. See the RAJA/COPYRIGHT file for details. // // SPDX-License-Identifier: (BSD-3-Clause) //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~...
37.35567
81
0.62688
ggeorgakoudis
a05b14db1fcc5898b89124aebc5ac61e1f8f80a1
4,520
cpp
C++
include/hydro/engine/core.cpp
hydraate/hydro
42037a8278dcfdca68fb5cceaf6988da861f0eff
[ "Apache-2.0" ]
null
null
null
include/hydro/engine/core.cpp
hydraate/hydro
42037a8278dcfdca68fb5cceaf6988da861f0eff
[ "Apache-2.0" ]
null
null
null
include/hydro/engine/core.cpp
hydraate/hydro
42037a8278dcfdca68fb5cceaf6988da861f0eff
[ "Apache-2.0" ]
null
null
null
// // __ __ __ // / / / /__ __ ____/ /_____ ____ // / /_/ // / / // __ // ___// __ \ // / __ // /_/ // /_/ // / / /_/ / // /_/ /_/ \__, / \__,_//_/ \____/ // /____/ // // ...
10.917874
75
0.520796
hydraate
a05c4dbe94e5b34750c26ec518ccecec4a60bd21
3,977
cpp
C++
raspberry/particle_slam.cpp
stheophil/MappingRover2
25d968a4f27016a3eb61b70e48d3f137887d440c
[ "MIT" ]
11
2015-11-12T11:12:50.000Z
2021-07-27T02:15:23.000Z
raspberry/particle_slam.cpp
stheophil/MappingRover2
25d968a4f27016a3eb61b70e48d3f137887d440c
[ "MIT" ]
null
null
null
raspberry/particle_slam.cpp
stheophil/MappingRover2
25d968a4f27016a3eb61b70e48d3f137887d440c
[ "MIT" ]
5
2015-11-12T03:10:28.000Z
2018-12-02T21:38:21.000Z
#include "particle_slam.h" #include "robot_configuration.h" #include "error_handling.h" #include "occupancy_grid.inl" #include <boost/range/algorithm/max_element.hpp> #include <boost/range/adaptor/transformed.hpp> #include <opencv2/imgproc.hpp> #include <iostream> #include <random> #include <future> ////////////////...
33.141667
102
0.629117
stheophil
a05daf912350cae6cd5ca8e8354d387667c75fe6
678
cpp
C++
src/cpp_language_linkage.cpp
Silveryard/cppast
6bb3f330cb0aec63e5631e175c24428581a34b0b
[ "MIT" ]
null
null
null
src/cpp_language_linkage.cpp
Silveryard/cppast
6bb3f330cb0aec63e5631e175c24428581a34b0b
[ "MIT" ]
null
null
null
src/cpp_language_linkage.cpp
Silveryard/cppast
6bb3f330cb0aec63e5631e175c24428581a34b0b
[ "MIT" ]
null
null
null
// Copyright (C) 2017-2022 Jonathan Müller and cppast contributors // SPDX-License-Identifier: MIT #include <cppast/cpp_language_linkage.hpp> #include <cppast/cpp_entity_kind.hpp> using namespace cppast; cpp_entity_kind cpp_language_linkage::kind() noexcept { return cpp_entity_kind::language_linkage_t; } bool ...
23.37931
74
0.707965
Silveryard
a05ec922b76dbf54bfacf45ade3eabbe8eb470d5
8,304
cpp
C++
src/main.cpp
Sensenzhl/RCNN-NVDLA
e6b8a7ef2af061676d406d2f51dcd1ab809b5a1d
[ "Vim" ]
5
2019-06-26T07:50:43.000Z
2021-12-17T08:52:39.000Z
src/main.cpp
Sensenzhl/RCNN-NVDLA
e6b8a7ef2af061676d406d2f51dcd1ab809b5a1d
[ "Vim" ]
1
2019-11-28T06:57:49.000Z
2019-11-28T06:57:49.000Z
src/main.cpp
Sensenzhl/RCNN-NVDLA
e6b8a7ef2af061676d406d2f51dcd1ab809b5a1d
[ "Vim" ]
1
2020-05-27T06:11:17.000Z
2020-05-27T06:11:17.000Z
#include "defines.hpp" #include "main.hpp" int main(int argc, char *argv[]) { double score; IplImage *img; CvMat temp; Mat image_draw; Mat image_temp; float *ptr; float *ptr_temp; float *ptr_thresholded; float *ptr_scored; float *ptr_removed_duplicate; int flag_box_exist=0; //getFile...
29.136842
130
0.572977
Sensenzhl
a06647cc4ed4e5721156752b70feed5e2e399295
565
cpp
C++
LeetCode/Problems/Algorithms/#645_SetMismatch_sol4_visited_vector_O(N)_time_O(N)_extra_space_24ms_21.4MB.cpp
Tudor67/Competitive-Programming
ae4dc6ed8bf76451775bf4f740c16394913f3ff1
[ "MIT" ]
1
2022-01-26T14:50:07.000Z
2022-01-26T14:50:07.000Z
LeetCode/Problems/Algorithms/#645_SetMismatch_sol4_visited_vector_O(N)_time_O(N)_extra_space_24ms_21.4MB.cpp
Tudor67/Competitive-Programming
ae4dc6ed8bf76451775bf4f740c16394913f3ff1
[ "MIT" ]
null
null
null
LeetCode/Problems/Algorithms/#645_SetMismatch_sol4_visited_vector_O(N)_time_O(N)_extra_space_24ms_21.4MB.cpp
Tudor67/Competitive-Programming
ae4dc6ed8bf76451775bf4f740c16394913f3ff1
[ "MIT" ]
null
null
null
class Solution { public: vector<int> findErrorNums(vector<int>& nums) { const int N = nums.size(); int duplicate = -1; int missing = -1; vector<bool> vis(N + 1, false); for(int num: nums){ if(vis[num]){ duplicate = num; ...
23.541667
51
0.380531
Tudor67
a0681f9df9d7c68c7c3c98257c34a33e4a055fb3
569
cpp
C++
level_zero/tools/source/sysman/linux/pmt/pmt_helper.cpp
lukaszgotszaldintel/compute-runtime
9b12dc43904806db07616ffb8b1c4495aa7d610f
[ "MIT" ]
null
null
null
level_zero/tools/source/sysman/linux/pmt/pmt_helper.cpp
lukaszgotszaldintel/compute-runtime
9b12dc43904806db07616ffb8b1c4495aa7d610f
[ "MIT" ]
null
null
null
level_zero/tools/source/sysman/linux/pmt/pmt_helper.cpp
lukaszgotszaldintel/compute-runtime
9b12dc43904806db07616ffb8b1c4495aa7d610f
[ "MIT" ]
null
null
null
/* * Copyright (C) 2020-2021 Intel Corporation * * SPDX-License-Identifier: MIT * */ #include "level_zero/tools/source/sysman/linux/pmt/pmt.h" namespace L0 { const std::map<std::string, uint64_t> deviceKeyOffsetMap = { {"PACKAGE_ENERGY", 0x400}, {"COMPUTE_TEMPERATURES", 0x68}, {"SOC_TEMPERATURES", 0...
24.73913
118
0.711775
lukaszgotszaldintel
a06975d84bbf1316389188c2b68832431f32791a
3,072
cc
C++
src/core/vulkan/debug_msg.cc
5aitama/Bismuth
00fbd13a08ac08b77413d4a6797b1daa84a892cf
[ "MIT" ]
null
null
null
src/core/vulkan/debug_msg.cc
5aitama/Bismuth
00fbd13a08ac08b77413d4a6797b1daa84a892cf
[ "MIT" ]
null
null
null
src/core/vulkan/debug_msg.cc
5aitama/Bismuth
00fbd13a08ac08b77413d4a6797b1daa84a892cf
[ "MIT" ]
null
null
null
#include "debug_msg.h" using namespace std; DebugMessenger::DebugMessenger( const VkInstance& instance, const VkDebugUtilsMessengerCreateInfoEXT* createInfoExt ) : instance(instance) { #ifndef NDEBUG if(CreateDebugUtilsMessengerEXT(instance, createInfoExt, nullptr, &callback) != VK_SUCCESS) ...
33.758242
156
0.73763
5aitama
a06e3d6cf6537e682482b2355ea46c0e81da58a1
5,411
cpp
C++
snippets/cpp/VS_Snippets_Winforms/Windows.Forms.Control Properties/CPP/controlproperties.cpp
BohdanMosiyuk/samples
59d435ba9e61e0fc19f5176c96b1cdbd53596142
[ "CC-BY-4.0", "MIT" ]
834
2017-06-24T10:40:36.000Z
2022-03-31T19:48:51.000Z
snippets/cpp/VS_Snippets_Winforms/Windows.Forms.Control Properties/CPP/controlproperties.cpp
BohdanMosiyuk/samples
59d435ba9e61e0fc19f5176c96b1cdbd53596142
[ "CC-BY-4.0", "MIT" ]
7,042
2017-06-23T22:34:47.000Z
2022-03-31T23:05:23.000Z
snippets/cpp/VS_Snippets_Winforms/Windows.Forms.Control Properties/CPP/controlproperties.cpp
BohdanMosiyuk/samples
59d435ba9e61e0fc19f5176c96b1cdbd53596142
[ "CC-BY-4.0", "MIT" ]
1,640
2017-06-23T22:31:39.000Z
2022-03-31T02:45:37.000Z
#using <System.Data.dll> #using <System.Windows.Forms.dll> #using <System.dll> #using <System.Drawing.dll> using namespace System; using namespace System::Drawing; using namespace System::Collections; using namespace System::ComponentModel; using namespace System::Windows::Forms; using namespace System::Data; names...
31.643275
150
0.598226
BohdanMosiyuk
a06e51350b082ceec2d9139791eca4120c74d8e5
1,623
hh
C++
CommManipulatorObjects/smartsoft/src-gen/CommManipulatorObjects/CommVacuumGripperEventStateACE.hh
canonical-robots/DomainModelsRepositories
68b9286d84837e5feb7b200833b158ab9c2922a4
[ "BSD-3-Clause" ]
null
null
null
CommManipulatorObjects/smartsoft/src-gen/CommManipulatorObjects/CommVacuumGripperEventStateACE.hh
canonical-robots/DomainModelsRepositories
68b9286d84837e5feb7b200833b158ab9c2922a4
[ "BSD-3-Clause" ]
2
2020-08-20T14:49:47.000Z
2020-10-07T16:10:07.000Z
CommManipulatorObjects/smartsoft/src-gen/CommManipulatorObjects/CommVacuumGripperEventStateACE.hh
canonical-robots/DomainModelsRepositories
68b9286d84837e5feb7b200833b158ab9c2922a4
[ "BSD-3-Clause" ]
8
2018-06-25T08:41:28.000Z
2020-08-13T10:39:30.000Z
//-------------------------------------------------------------------------- // Code generated by the SmartSoft MDSD Toolchain // The SmartSoft Toolchain has been developed by: // // Service Robotics Research Center // University of Applied Sciences Ulm // Prittwitzstr. 10 // 89075 Ulm (Germany) // // Information abo...
45.083333
116
0.754775
canonical-robots
a06f522b40afbef674cf7b485b0815554f5f343a
1,712
hh
C++
GeneralUtilities/inc/RSNTIO.hh
bonventre/Offline
77db9d6368f27ab9401c690c2c2a4257ade6c231
[ "Apache-2.0" ]
9
2020-03-28T00:21:41.000Z
2021-12-09T20:53:26.000Z
GeneralUtilities/inc/RSNTIO.hh
bonventre/Offline
77db9d6368f27ab9401c690c2c2a4257ade6c231
[ "Apache-2.0" ]
684
2019-08-28T23:37:43.000Z
2022-03-31T22:47:45.000Z
GeneralUtilities/inc/RSNTIO.hh
bonventre/Offline
77db9d6368f27ab9401c690c2c2a4257ade6c231
[ "Apache-2.0" ]
61
2019-08-16T23:28:08.000Z
2021-12-20T08:29:48.000Z
// Data structures used to dump info and then re-sample particles from // a ROOT tree in some multi-stage job configurations. // // Andrei Gaponenko, 2015 #ifndef GeneralUtilities_inc_RSNTIO_hh #define GeneralUtilities_inc_RSNTIO_hh namespace mu2e { namespace IO { //============================================...
24.112676
79
0.488318
bonventre
a0703053140cfab9dea50462c88f3a2ee5740f6e
5,497
cpp
C++
src/rivercrossing/rivercrossing.cpp
WatchJolley/rivercrossing
694c4245a8a5ae000e8d6338695a24dcedbb13a8
[ "MIT" ]
null
null
null
src/rivercrossing/rivercrossing.cpp
WatchJolley/rivercrossing
694c4245a8a5ae000e8d6338695a24dcedbb13a8
[ "MIT" ]
null
null
null
src/rivercrossing/rivercrossing.cpp
WatchJolley/rivercrossing
694c4245a8a5ae000e8d6338695a24dcedbb13a8
[ "MIT" ]
null
null
null
#include "rivercrossing/rivercrossing.h" #include "rivercrossing/movement_network.h" bool RiverCrossing::optimisationCheck(int x, int y) { double startA = SM.getActivity(x, y); double bestA = startA; int newX = x; int newY = y; for (int x2 = f(x, -2, RIVER::x); x2 <= f(x, 2, RIVER::x); x2++) { for (int ...
25.215596
91
0.538294
WatchJolley
a0704c167849356e9549e02fa6180431189c41a8
805
cpp
C++
cpp/cpp/14. Longest Common Prefix.cpp
longwangjhu/LeetCode
a5c33e8d67e67aedcd439953d96ac7f443e2817b
[ "MIT" ]
3
2021-08-07T07:01:34.000Z
2021-08-07T07:03:02.000Z
cpp/cpp/14. Longest Common Prefix.cpp
longwangjhu/LeetCode
a5c33e8d67e67aedcd439953d96ac7f443e2817b
[ "MIT" ]
null
null
null
cpp/cpp/14. Longest Common Prefix.cpp
longwangjhu/LeetCode
a5c33e8d67e67aedcd439953d96ac7f443e2817b
[ "MIT" ]
null
null
null
// https://leetcode.com/problems/longest-common-prefix/ // Write a function to find the longest common prefix string amongst an array of // strings. // If there is no common prefix, return an empty string "". //////////////////////////////////////////////////////////////////////////////// class Solution { public: ...
28.75
80
0.445963
longwangjhu
a071db0dee153f6c9c571993f502d3c81640ccfc
7,876
cpp
C++
src/tests/add-ons/kernel/file_systems/udf/r5/UdfString.cpp
axeld/haiku
e3becd53eef5c093ee8c8f32bab51d40b0f2b8d4
[ "MIT" ]
4
2017-06-17T22:03:56.000Z
2019-01-25T10:51:55.000Z
src/tests/add-ons/kernel/file_systems/udf/r5/UdfString.cpp
axeld/haiku
e3becd53eef5c093ee8c8f32bab51d40b0f2b8d4
[ "MIT" ]
null
null
null
src/tests/add-ons/kernel/file_systems/udf/r5/UdfString.cpp
axeld/haiku
e3becd53eef5c093ee8c8f32bab51d40b0f2b8d4
[ "MIT" ]
3
2018-12-17T13:07:38.000Z
2021-09-08T13:07:31.000Z
#include "UdfString.h" #include "ByteOrder.h" /*! \brief Converts the given unicode character to utf8. \param c The unicode character. \param out Pointer to a C-string of at least 4 characters long into which the output utf8 characters will be written. The string that is pointed to will ...
25.162939
88
0.621508
axeld
a0760b5ff624b06be1f243f7da1f7df0e1b2bbdd
3,464
cpp
C++
dstore/network/socket.cpp
Charles0429/dstore
a825e6c4cc30d853f10b7a56f5a9286c2e57cc75
[ "MIT" ]
78
2016-09-24T16:56:00.000Z
2022-03-05T01:05:40.000Z
dstore/network/socket.cpp
Charles0429/dstore
a825e6c4cc30d853f10b7a56f5a9286c2e57cc75
[ "MIT" ]
null
null
null
dstore/network/socket.cpp
Charles0429/dstore
a825e6c4cc30d853f10b7a56f5a9286c2e57cc75
[ "MIT" ]
9
2016-09-30T07:45:35.000Z
2022-03-18T02:43:53.000Z
#include "socket.h" #include <errno.h> #include "errno_define.h" #include "socket_operator.h" #include "log.h" using namespace dstore::network; ListenSocket::ListenSocket(void) : listen_fd_(-1) { } ListenSocket::ListenSocket(int listen_fd) : listen_fd_(listen_fd) { } ListenSocket::~ListenSocket(void) { } void ...
19.460674
106
0.670035
Charles0429
a0823f182da9173595efdef70b3b69e83659b7a6
3,780
cpp
C++
libnhttp/nhttp/server/internals/contents/http_raw_request_content.cpp
jay94ks/libnhttp
a244eb2d04c339454ef4831b43d1ab270ee7d13d
[ "MIT" ]
4
2021-04-11T22:46:13.000Z
2021-05-27T06:01:37.000Z
libnhttp/nhttp/server/internals/contents/http_raw_request_content.cpp
jay94ks/libnhttp
a244eb2d04c339454ef4831b43d1ab270ee7d13d
[ "MIT" ]
3
2021-05-26T04:16:56.000Z
2021-05-27T04:34:14.000Z
libnhttp/nhttp/server/internals/contents/http_raw_request_content.cpp
jay94ks/libnhttp
a244eb2d04c339454ef4831b43d1ab270ee7d13d
[ "MIT" ]
1
2021-04-11T22:46:15.000Z
2021-04-11T22:46:15.000Z
#include "http_raw_request_content.hpp" #include "../http_chunked_buffer.hpp" namespace nhttp { namespace server { http_raw_request_content::http_raw_request_content(std::shared_ptr<http_chunked_buffer> buffer, ssize_t total_bytes) : waiter(false, true), buffer(buffer), total_bytes(total_bytes), read_requested(fal...
22.235294
117
0.678836
jay94ks
a084e4bea63910d8e7bec1b30b26238694bbb5a2
16,607
cpp
C++
Wexport/release/windows/obj/src/openfl/display3D/_internal/_AGALConverter/SourceRegister.cpp
BushsHaxs/FNF-coding-tutorial
596c6a938eb687440cbcddda9a4005db67bc68bb
[ "Apache-2.0" ]
1
2021-07-19T05:10:43.000Z
2021-07-19T05:10:43.000Z
Wexport/release/windows/obj/src/openfl/display3D/_internal/_AGALConverter/SourceRegister.cpp
BushsHaxs/FNF-coding-tutorial
596c6a938eb687440cbcddda9a4005db67bc68bb
[ "Apache-2.0" ]
null
null
null
Wexport/release/windows/obj/src/openfl/display3D/_internal/_AGALConverter/SourceRegister.cpp
BushsHaxs/FNF-coding-tutorial
596c6a938eb687440cbcddda9a4005db67bc68bb
[ "Apache-2.0" ]
1
2021-12-11T09:19:29.000Z
2021-12-11T09:19:29.000Z
#include <hxcpp.h> #ifndef INCLUDED_38344beec7696400 #define INCLUDED_38344beec7696400 #include "cpp/Int64.h" #endif #ifndef INCLUDED_openfl_display3D__internal_AGALConverter #include <openfl/display3D/_internal/AGALConverter.h> #endif #ifndef INCLUDED_openfl_display3D__internal__AGALConverter_ProgramType #include <op...
39.729665
263
0.637924
BushsHaxs
a0854cdc46be26319f323a521cc75876e4b9e912
377
cpp
C++
codelib/dynamic_programming/knapsack2.cpp
TissueRoll/admu-progvar-notebook
efd1c48872d40aeabe2b03af7b986bb831c062b1
[ "MIT" ]
null
null
null
codelib/dynamic_programming/knapsack2.cpp
TissueRoll/admu-progvar-notebook
efd1c48872d40aeabe2b03af7b986bb831c062b1
[ "MIT" ]
null
null
null
codelib/dynamic_programming/knapsack2.cpp
TissueRoll/admu-progvar-notebook
efd1c48872d40aeabe2b03af7b986bb831c062b1
[ "MIT" ]
null
null
null
#include <iostream> #include <cstring> int main() { int N, C; std::cin >> N >> C; int W[N], V[N]; for (int i = 0; i < N; ++i) std::cin >> W[i] >> V[i]; int dp[C + 1]; memset(dp, 0, sizeof dp); for (int w = 0; w <= C; ++w) for (int i = 0; i < N; ++i) dp[w] = (w < W[i]) ? dp[w] : dp[w - W[i...
17.952381
55
0.416446
TissueRoll
a0875bc7620f11832ee4b123d023c6d15c691c98
591
cc
C++
algo/dp/palindrome.cc
liuheng/recipes
6f3759ab4e4fa64d9fd83a60ee6b6846510d910b
[ "MIT" ]
null
null
null
algo/dp/palindrome.cc
liuheng/recipes
6f3759ab4e4fa64d9fd83a60ee6b6846510d910b
[ "MIT" ]
null
null
null
algo/dp/palindrome.cc
liuheng/recipes
6f3759ab4e4fa64d9fd83a60ee6b6846510d910b
[ "MIT" ]
null
null
null
#include <cstdio> #include <algorithm> #include <string> using namespace std; int minCut(const string &s) { int N = s.length(); bool p[N][N]; int f[N+1]; for (int j=0; j<=N; ++j) { f[j] = j-1; p[j][j] = true; for (int i=0; i<j; ++i) { if (s.at(i) == s.at(j-1) && (j ...
19.7
69
0.382403
liuheng
a0881f28bc370a9ebdef061cf2c9d6948b6822e0
39,119
cpp
C++
tests/get_kv_table_nodeos_tests.cpp
forfreeday/eos
11d35f0f934402321853119d36caeb7022813743
[ "Apache-2.0", "MIT" ]
13,162
2017-05-29T22:08:27.000Z
2022-03-29T19:25:05.000Z
tests/get_kv_table_nodeos_tests.cpp
forfreeday/eos
11d35f0f934402321853119d36caeb7022813743
[ "Apache-2.0", "MIT" ]
6,450
2017-05-30T14:41:50.000Z
2022-03-30T11:30:04.000Z
tests/get_kv_table_nodeos_tests.cpp
forfreeday/eos
11d35f0f934402321853119d36caeb7022813743
[ "Apache-2.0", "MIT" ]
4,491
2017-05-29T22:08:32.000Z
2022-03-29T07:09:52.000Z
#include <boost/test/unit_test.hpp> #include <boost/algorithm/string/predicate.hpp> #include <eosio/testing/tester.hpp> #include <eosio/chain/abi_serializer.hpp> #include <eosio/chain/wasm_eosio_constraints.hpp> #include <eosio/chain/resource_limits.hpp> #include <eosio/chain/exceptions.hpp> #include <eosio/chain/wast...
29.568405
113
0.657839
forfreeday
a090aa811b06cf2c0bb33ae37df066622432cd64
4,016
cpp
C++
tests/src/deviceLib/hip_threadfence_system.cpp
JosephGeoBenjamin/HIP-forOpenCV
c48a8df33d59d84ef2180fb17a539b404f04429f
[ "MIT" ]
2
2019-09-10T15:50:53.000Z
2019-09-11T01:14:49.000Z
tests/src/deviceLib/hip_threadfence_system.cpp
JosephGeoBenjamin/HIP-forOpenCV
c48a8df33d59d84ef2180fb17a539b404f04429f
[ "MIT" ]
null
null
null
tests/src/deviceLib/hip_threadfence_system.cpp
JosephGeoBenjamin/HIP-forOpenCV
c48a8df33d59d84ef2180fb17a539b404f04429f
[ "MIT" ]
1
2019-07-04T00:48:48.000Z
2019-07-04T00:48:48.000Z
/* Copyright (c) 2015-2016 Advanced Micro Devices, Inc. All rights reserved. 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, co...
31.375
94
0.669323
JosephGeoBenjamin
a0910c0f585c1ea6bf139e7e0484462e4f2e68e2
534
hpp
C++
graphics_app/include/Graphics/InputEvents/MouseMoveEvent.hpp
timow-gh/FilApp
02ec78bf617fb78d872b2adceeb8a8351aa8f408
[ "Apache-2.0" ]
null
null
null
graphics_app/include/Graphics/InputEvents/MouseMoveEvent.hpp
timow-gh/FilApp
02ec78bf617fb78d872b2adceeb8a8351aa8f408
[ "Apache-2.0" ]
null
null
null
graphics_app/include/Graphics/InputEvents/MouseMoveEvent.hpp
timow-gh/FilApp
02ec78bf617fb78d872b2adceeb8a8351aa8f408
[ "Apache-2.0" ]
null
null
null
#ifndef GRAPHICS_MOUSEMOVEEVENT_HPP #define GRAPHICS_MOUSEMOVEEVENT_HPP #include <cmath> namespace Graphics { struct MouseMoveEvent { std::uint32_t timestamp; // in milliseconds std::uint32_t windowId; std::uint32_t x; std::uint32_t y; double_t deltaT; MouseMoveEvent(uint32_t timestamp, uint...
20.538462
98
0.719101
timow-gh
90b4272536e9ccf3c123c3ea8462926c22f31e82
797
cpp
C++
53.cpp
DouglasSherk/project-euler
f3b188b199ff31671c6d7683b15675be7484c5b8
[ "MIT" ]
null
null
null
53.cpp
DouglasSherk/project-euler
f3b188b199ff31671c6d7683b15675be7484c5b8
[ "MIT" ]
null
null
null
53.cpp
DouglasSherk/project-euler
f3b188b199ff31671c6d7683b15675be7484c5b8
[ "MIT" ]
null
null
null
#include <iostream> #include <set> #include <vector> #include "headers/euler.hpp" const int MIN_N = 1; const int MAX_N = 100; const int MAX_VALUE = 1000000; int main(int argc, char** argv) { int numAboveMax = 0; for (int n = MIN_N; n <= MAX_N; n++) { for (int r = 1; r <= n / 2; r++) { if (euler::choo...
23.441176
96
0.483061
DouglasSherk
90c107c048ee2e7cdfce59ea890da3f0030241ec
733
hpp
C++
include/anisthesia/media.hpp
swiftcitrus/anisthesia
981c821d51b1115311eee9fba01dc93210dd757b
[ "MIT" ]
33
2017-02-07T00:03:31.000Z
2022-02-09T12:06:52.000Z
include/anisthesia/media.hpp
swiftcitrus/anisthesia
981c821d51b1115311eee9fba01dc93210dd757b
[ "MIT" ]
7
2017-07-26T22:40:22.000Z
2022-01-30T08:05:51.000Z
include/anisthesia/media.hpp
swiftcitrus/anisthesia
981c821d51b1115311eee9fba01dc93210dd757b
[ "MIT" ]
9
2017-08-05T10:33:05.000Z
2021-10-03T00:23:21.000Z
#pragma once #include <chrono> #include <functional> #include <string> #include <vector> namespace anisthesia { using media_time_t = std::chrono::milliseconds; enum class MediaInfoType { Unknown, File, Tab, Title, Url, }; enum class MediaState { Unknown, Playing, Paused, Stopped, }; struct Media...
17.452381
62
0.683492
swiftcitrus
90c3c946ac93b3010bb64efc5456a848f4525c6e
3,826
cpp
C++
src/gazebo_tvc_controller_plugin.cpp
helkebir/LEAPFROG-Simulation
51f64143b8bd6e46b9db4ad42c1e3b42c4e22470
[ "BSD-3-Clause" ]
1
2021-05-23T02:52:14.000Z
2021-05-23T02:52:14.000Z
src/gazebo_tvc_controller_plugin.cpp
helkebir/LEAPFROG-Simulation
51f64143b8bd6e46b9db4ad42c1e3b42c4e22470
[ "BSD-3-Clause" ]
1
2021-06-15T18:52:15.000Z
2021-06-15T18:52:15.000Z
src/gazebo_tvc_controller_plugin.cpp
helkebir/LEAPFROG-Simulation
51f64143b8bd6e46b9db4ad42c1e3b42c4e22470
[ "BSD-3-Clause" ]
1
2021-06-15T03:25:12.000Z
2021-06-15T03:25:12.000Z
/* * Copyright (C) 2012-2015 Open Source Robotics Foundation * * 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...
34.160714
75
0.763722
helkebir
90c3fdde22b9dd8b82dbf387daee4d2d0605c073
1,063
cpp
C++
test/doc_snippets/generator_impl.cpp
421408/tudocomp
9634742393995acdde148b0412f083bfdd0fbe9f
[ "ECL-2.0", "Apache-2.0" ]
1
2020-09-22T11:29:02.000Z
2020-09-22T11:29:02.000Z
test/doc_snippets/generator_impl.cpp
421408/tudocomp
9634742393995acdde148b0412f083bfdd0fbe9f
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
test/doc_snippets/generator_impl.cpp
421408/tudocomp
9634742393995acdde148b0412f083bfdd0fbe9f
[ "ECL-2.0", "Apache-2.0" ]
1
2020-09-29T08:57:13.000Z
2020-09-29T08:57:13.000Z
/** * * This file contains code snippets from the documentation as a reference. * * Please do not change this file unless you change the corresponding snippets * in the documentation as well! * **/ #include <glog/logging.h> #include <gtest/gtest.h> #include <tudocomp/Generator.hpp> using namespace tdc; class ...
24.159091
79
0.64064
421408
90c960f5cbd3f304875008e54a910ee3694808a3
4,061
cpp
C++
src/entities/Alien.cpp
Nyarlana/Tactical-RPG
9b55e35cce5dbeba481d3db7113c15e572b320e1
[ "MIT" ]
null
null
null
src/entities/Alien.cpp
Nyarlana/Tactical-RPG
9b55e35cce5dbeba481d3db7113c15e572b320e1
[ "MIT" ]
null
null
null
src/entities/Alien.cpp
Nyarlana/Tactical-RPG
9b55e35cce5dbeba481d3db7113c15e572b320e1
[ "MIT" ]
null
null
null
#include "entities.h" #include <SFML/Graphics.hpp> #include <memory> #include <vector> #include <iostream> using namespace std; Alien::Alien(int max_LP, int xPos, int yPos, int speed, int group_number, int targetCheckArea, int threatfulTargetCheckArea) : Fighter(max_LP, xPos, yPos, speed, targetCheckArea, threatful...
20.004926
285
0.539276
Nyarlana
90c9af5478fa0de2005b9fd8e3485d687465eebd
3,017
hpp
C++
include/MEL/Math/Filter.hpp
mahilab/MEL
b877b2ed9cd265b1ee3c1cc623a339ec1dc73185
[ "Zlib" ]
6
2018-09-14T05:07:03.000Z
2021-09-30T17:15:11.000Z
include/MEL/Math/Filter.hpp
mahilab/MEL
b877b2ed9cd265b1ee3c1cc623a339ec1dc73185
[ "Zlib" ]
null
null
null
include/MEL/Math/Filter.hpp
mahilab/MEL
b877b2ed9cd265b1ee3c1cc623a339ec1dc73185
[ "Zlib" ]
3
2018-09-20T00:58:31.000Z
2022-02-09T06:02:56.000Z
// MIT License // // MEL - Mechatronics Engine & Library // Copyright (c) 2019 Mechatronics and Haptic Interfaces Lab - Rice University // // 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 w...
35.916667
105
0.649321
mahilab
90cd0bfec0988fa652ac00f573ce55d68f758b16
1,396
cc
C++
src/gfx.cc
JesseMaurais/SDL2_lua
cb8dba41c4030267dd88f4d376123d2a71d5735f
[ "Zlib" ]
null
null
null
src/gfx.cc
JesseMaurais/SDL2_lua
cb8dba41c4030267dd88f4d376123d2a71d5735f
[ "Zlib" ]
null
null
null
src/gfx.cc
JesseMaurais/SDL2_lua
cb8dba41c4030267dd88f4d376123d2a71d5735f
[ "Zlib" ]
null
null
null
#include <lux/lux.hpp> #include <SDL2/SDL.h> #include <SDL2/SDL2_gfxPrimitives.h> #include "Common.h" extern "C" int luaopen_SDL2_gfx(lua_State *state) { if (!luaL_getmetatable(state, SDL_METATABLE)) { return luaL_error(state, SDL_REQUIRED); } luaL_Reg regs [] = { {"Pixel", lux_cast(pixelRGBA)}, {"HLine", lux...
29.702128
54
0.714183
JesseMaurais
90ce6c2d79ea7eaf5e85de11ba343ca76d493be0
974
cpp
C++
codeforces/B - Polycarp Training/Accepted.cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
1
2022-02-11T16:55:36.000Z
2022-02-11T16:55:36.000Z
codeforces/B - Polycarp Training/Accepted.cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
null
null
null
codeforces/B - Polycarp Training/Accepted.cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
null
null
null
/**************************************************************************************** * @author: * kzvd4729 created: May/14/2019 20:45 * solution_verdict: Accepted language: GNU C++14 * run...
32.466667
111
0.38501
kzvd4729
90d2faa0bb2d7e3ff2ed3d9a521a04e8f571950d
2,793
hpp
C++
src/reir/exec/compiler.hpp
large-scale-oltp-team/reir
427db5f24e15f22cd2a4f4a716caf9392dae1d9b
[ "Apache-2.0" ]
1
2020-03-04T10:57:14.000Z
2020-03-04T10:57:14.000Z
src/reir/exec/compiler.hpp
large-scale-oltp-team/reir
427db5f24e15f22cd2a4f4a716caf9392dae1d9b
[ "Apache-2.0" ]
3
2018-11-02T07:47:26.000Z
2018-11-05T09:06:54.000Z
src/reir/exec/compiler.hpp
large-scale-oltp-team/reir
427db5f24e15f22cd2a4f4a716caf9392dae1d9b
[ "Apache-2.0" ]
null
null
null
#ifndef REIR_COMPILER_HPP_ #define REIR_COMPILER_HPP_ #include <cassert> #include <unordered_map> #include <iostream> #include <llvm/ADT/STLExtras.h> #include <llvm/ExecutionEngine/ExecutionEngine.h> #include <llvm/ExecutionEngine/JITSymbol.h> #include <llvm/ExecutionEngine/RTDyldMemoryManager.h> #include <llvm/Exec...
30.358696
95
0.775152
large-scale-oltp-team
90d3e1f4e601605322446d84dd7cec2e743544d2
4,706
cpp
C++
src/ch8/frame_buffer.test.cpp
notskm/chip8
9e70088acd079fc6f2ed2545fb13ee6160dd12aa
[ "MIT" ]
null
null
null
src/ch8/frame_buffer.test.cpp
notskm/chip8
9e70088acd079fc6f2ed2545fb13ee6160dd12aa
[ "MIT" ]
null
null
null
src/ch8/frame_buffer.test.cpp
notskm/chip8
9e70088acd079fc6f2ed2545fb13ee6160dd12aa
[ "MIT" ]
null
null
null
#include "ch8/frame_buffer.hpp" #include <array> #include <catch2/catch.hpp> #include <type_traits> #include <utility> TEST_CASE("frame_buffer constructor initializes each pixel to 0, 0, 0, 0") { const auto buffer = ch8::frame_buffer<64, 32>{}; REQUIRE(buffer.data() == std::array<std::uint8_t, 64 * 32 * 4>{});...
29.4125
83
0.60476
notskm
90d3eff83f7fdf30e395fa8d07742a090409c167
9,346
cpp
C++
Siv3D/src/Siv3D/Monitor/SivMonitor.cpp
Fuyutsubaki/OpenSiv3D
4370f6ebe28addd39bfdd75915c5a18e3e5e9273
[ "MIT" ]
null
null
null
Siv3D/src/Siv3D/Monitor/SivMonitor.cpp
Fuyutsubaki/OpenSiv3D
4370f6ebe28addd39bfdd75915c5a18e3e5e9273
[ "MIT" ]
null
null
null
Siv3D/src/Siv3D/Monitor/SivMonitor.cpp
Fuyutsubaki/OpenSiv3D
4370f6ebe28addd39bfdd75915c5a18e3e5e9273
[ "MIT" ]
null
null
null
//----------------------------------------------- // // This file is part of the Siv3D Engine. // // Copyright (c) 2008-2018 Ryo Suzuki // Copyright (c) 2016-2018 OpenSiv3D Project // // Licensed under the MIT License. // //----------------------------------------------- # include <Siv3D/Monitor.hpp> # if defined(SIV...
27.168605
125
0.656645
Fuyutsubaki
90daddb9d6e0c63b59a9202895e5b6f94dd48e7c
2,101
hpp
C++
cpp/visualmesh/network_structure.hpp
wongjoel/VisualMesh
98b973c6cd371aab51f2b631f75c9ac820d3b744
[ "MIT" ]
14
2018-06-22T19:46:34.000Z
2022-02-02T15:22:39.000Z
cpp/visualmesh/network_structure.hpp
wongjoel/VisualMesh
98b973c6cd371aab51f2b631f75c9ac820d3b744
[ "MIT" ]
2
2020-12-12T04:51:51.000Z
2021-06-28T01:14:42.000Z
cpp/visualmesh/network_structure.hpp
wongjoel/VisualMesh
98b973c6cd371aab51f2b631f75c9ac820d3b744
[ "MIT" ]
8
2018-06-11T14:54:45.000Z
2022-02-02T15:22:50.000Z
/* * Copyright (C) 2017-2020 Trent Houliston <trent@houliston.me> * * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated * documentation files (the "Software"), to deal in the Software without restriction, including without limitation the * rights to use, c...
36.859649
120
0.763922
wongjoel
90e69e6f340eeaf084901d09b18f28b3918e44a2
1,323
cpp
C++
chapter4_treesandGraphs/question2.cpp
kgajwan1/CTCI_practice
2e8e61f508777b4b7ad5d8c32dedd12ea5b27d39
[ "MIT" ]
null
null
null
chapter4_treesandGraphs/question2.cpp
kgajwan1/CTCI_practice
2e8e61f508777b4b7ad5d8c32dedd12ea5b27d39
[ "MIT" ]
null
null
null
chapter4_treesandGraphs/question2.cpp
kgajwan1/CTCI_practice
2e8e61f508777b4b7ad5d8c32dedd12ea5b27d39
[ "MIT" ]
null
null
null
//create a binary search tree from sorted array //make middle element root node, do recursion for left and right half #include<bits/stdc++.h> class node { public: int data; node *left, *right; }; //create a new node struct node *newNode(int item) { node *temp = new node; temp->da...
23.210526
70
0.557067
kgajwan1
90e82c89d9a98a73c2c5a1dbb14b53e30be80f11
1,472
cpp
C++
904-fruit-into-baskets/solution.cpp
darxsys/leetcode
1174f0dbad56c6bfd8196bc4c14798b5f8cee418
[ "MIT" ]
null
null
null
904-fruit-into-baskets/solution.cpp
darxsys/leetcode
1174f0dbad56c6bfd8196bc4c14798b5f8cee418
[ "MIT" ]
null
null
null
904-fruit-into-baskets/solution.cpp
darxsys/leetcode
1174f0dbad56c6bfd8196bc4c14798b5f8cee418
[ "MIT" ]
null
null
null
#include <cstdio> #include <cstring> #include <cstdlib> #include <cassert> #include <vector> #include <map> #include <stack> #include <queue> #include <deque> #include <map> #include <unordered_map> #include <algorithm> #include <unordered_set> using namespace std; class Solution { public: int totalFruit(vector<in...
19.891892
45
0.443614
darxsys
90e913ad776a0343185c5d8aaae1d43df3d0020a
880
cpp
C++
PC_Clase7/max_val_k_array.cpp
Angelussz/ProgramacionCompetitiva
681c0aa21020d8e843108e77abcf2a62dd471dc5
[ "BSD-3-Clause" ]
null
null
null
PC_Clase7/max_val_k_array.cpp
Angelussz/ProgramacionCompetitiva
681c0aa21020d8e843108e77abcf2a62dd471dc5
[ "BSD-3-Clause" ]
null
null
null
PC_Clase7/max_val_k_array.cpp
Angelussz/ProgramacionCompetitiva
681c0aa21020d8e843108e77abcf2a62dd471dc5
[ "BSD-3-Clause" ]
null
null
null
/****************************************************************************** Maximum sum of any contiguous subarray of size k *******************************************************************************/ #include <bits/stdc++.h> using namespace std; int main() { ios_base::sync_with_stdio(false); cin.ti...
20.465116
80
0.359091
Angelussz
90e94d58c481a250c9ec78fd20e1c1b0fecb9ddd
14,546
cpp
C++
os/net/src/socket.cpp
rvedam/es-operating-system
32d3e4791c28a5623744800f108d029c40c745fc
[ "Apache-2.0" ]
2
2020-11-30T18:38:20.000Z
2021-06-07T07:44:03.000Z
os/net/src/socket.cpp
LambdaLord/es-operating-system
32d3e4791c28a5623744800f108d029c40c745fc
[ "Apache-2.0" ]
1
2019-01-14T03:09:45.000Z
2019-01-14T03:09:45.000Z
os/net/src/socket.cpp
LambdaLord/es-operating-system
32d3e4791c28a5623744800f108d029c40c745fc
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2008, 2009 Google Inc. * Copyright 2006, 2007 Nintendo 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 * ...
18.11457
91
0.571497
rvedam
90f32b95bb13f5a5f7953dcbf0df514c560f22e5
30,383
cpp
C++
snap/snap-core/centr.cpp
dkw-aau/trident-clone
18f896db2be05870069ae7b3aa6b4837c74fff0f
[ "Apache-2.0" ]
20
2018-10-17T21:39:40.000Z
2021-11-10T11:07:23.000Z
snap/snap-core/centr.cpp
dkw-aau/trident-clone
18f896db2be05870069ae7b3aa6b4837c74fff0f
[ "Apache-2.0" ]
5
2020-07-06T22:50:04.000Z
2022-03-17T10:34:15.000Z
snap/snap-core/centr.cpp
dkw-aau/trident-clone
18f896db2be05870069ae7b3aa6b4837c74fff0f
[ "Apache-2.0" ]
9
2018-09-18T11:37:35.000Z
2022-03-29T07:46:41.000Z
namespace TSnap { ///////////////////////////////////////////////// // Node centrality measures double GetDegreeCentr(const PUNGraph& Graph, const int& NId) { if (Graph->GetNodes() > 1) { return double(Graph->GetNI(NId).GetDeg())/double(Graph->GetNodes()-1); } else { retu...
35.165509
210
0.453313
dkw-aau
90f393f374347ea6a5f0ca26af15137e11c1348f
3,135
cpp
C++
modules/task_3/oganyan_r_global_search/main.cpp
orcyyy/pp_2020_autumn_engineer-1
14cb1248b8b765a02eaa4c73f06807c250545491
[ "BSD-3-Clause" ]
null
null
null
modules/task_3/oganyan_r_global_search/main.cpp
orcyyy/pp_2020_autumn_engineer-1
14cb1248b8b765a02eaa4c73f06807c250545491
[ "BSD-3-Clause" ]
1
2020-12-27T20:31:37.000Z
2020-12-27T20:31:37.000Z
modules/task_3/oganyan_r_global_search/main.cpp
schelyanskovan/pp_2020_autumn_engineer
2bacf7ccaf3c638044c41068565a693ac4fae828
[ "BSD-3-Clause" ]
1
2021-03-29T10:15:47.000Z
2021-03-29T10:15:47.000Z
// Copyright by Oganyan Robert 2020 #include <gtest/gtest.h> #include <gtest-mpi-listener.hpp> #include <iostream> #include "../../../modules/task_3/oganyan_r_global_search/functions.h" #include "../../../modules/task_3/oganyan_r_global_search/global_search.h" using std::cout; using std::endl; void CreateTest(in...
37.321429
99
0.652632
orcyyy
90f48bfbae987cbc20421d1ad70fed346527945d
37,683
cpp
C++
src/prod/src/Hosting2/FabricUpgradeImpl.cpp
vishnuk007/service-fabric
d0afdea185ae932cc3c9eacf179692e6fddbc630
[ "MIT" ]
1
2020-06-15T04:33:36.000Z
2020-06-15T04:33:36.000Z
src/prod/src/Hosting2/FabricUpgradeImpl.cpp
vishnuk007/service-fabric
d0afdea185ae932cc3c9eacf179692e6fddbc630
[ "MIT" ]
null
null
null
src/prod/src/Hosting2/FabricUpgradeImpl.cpp
vishnuk007/service-fabric
d0afdea185ae932cc3c9eacf179692e6fddbc630
[ "MIT" ]
null
null
null
// ------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See License.txt in the repo root for license information. // ------------------------------------------------------------ #include "stdafx.h" #include "...
38.256853
220
0.619616
vishnuk007
90f4baba0b86bb00ab5acbc2c492e5f808627a28
12,211
cpp
C++
test/dualtime/dualtimeExpDecayTest.cpp
MaxZZG/ExprLib
c35e361ef6af365e7cd6afca6548595693bd149a
[ "MIT" ]
null
null
null
test/dualtime/dualtimeExpDecayTest.cpp
MaxZZG/ExprLib
c35e361ef6af365e7cd6afca6548595693bd149a
[ "MIT" ]
null
null
null
test/dualtime/dualtimeExpDecayTest.cpp
MaxZZG/ExprLib
c35e361ef6af365e7cd6afca6548595693bd149a
[ "MIT" ]
null
null
null
#include <expression/dualtime/FixedPointBDFDualTimeIntegrator.h> #include <expression/dualtime/VariableImplicitBDFDualTimeIntegrator.h> #include <expression/dualtime/BlockImplicitBDFDualTimeIntegrator.h> #include <spatialops/structured/Grid.h> #include <spatialops/structured/FVStaggered.h> #include <spatialops/structu...
37.804954
127
0.534518
MaxZZG
90f55aecb8cea0f565a768b770147bdb8ebb289e
2,583
cpp
C++
dev/test/so_5/environment/reg_coop_after_stop/main.cpp
ZaMaZaN4iK/sobjectizer
afe9fc4d9fac6157860ec4459ac7a129223be87c
[ "BSD-3-Clause" ]
272
2019-05-16T11:45:54.000Z
2022-03-28T09:32:14.000Z
dev/test/so_5/environment/reg_coop_after_stop/main.cpp
ZaMaZaN4iK/sobjectizer
afe9fc4d9fac6157860ec4459ac7a129223be87c
[ "BSD-3-Clause" ]
40
2019-10-29T18:19:18.000Z
2022-03-30T09:02:49.000Z
dev/test/so_5/environment/reg_coop_after_stop/main.cpp
ZaMaZaN4iK/sobjectizer
afe9fc4d9fac6157860ec4459ac7a129223be87c
[ "BSD-3-Clause" ]
29
2019-05-16T12:05:32.000Z
2022-03-19T12:28:33.000Z
/* * A test for checking autoshutdown during execution of init function. */ #include <iostream> #include <map> #include <exception> #include <stdexcept> #include <cstdlib> #include <thread> #include <chrono> #include <sstream> #include <mutex> #include <so_5/all.hpp> #include <test/3rd_party/various_helpers/time_l...
17.22
74
0.612079
ZaMaZaN4iK
90fc34239f2ecedc10add0d63ee205a7f0900360
211
hpp
C++
SwapChain/Driver/OpenGL-DX/include/GL-DX/Win32/Surface.hpp
Gpinchon/OCRA
341bb07facc616f1f8a27350054d1e86f022d7c6
[ "Apache-2.0" ]
null
null
null
SwapChain/Driver/OpenGL-DX/include/GL-DX/Win32/Surface.hpp
Gpinchon/OCRA
341bb07facc616f1f8a27350054d1e86f022d7c6
[ "Apache-2.0" ]
null
null
null
SwapChain/Driver/OpenGL-DX/include/GL-DX/Win32/Surface.hpp
Gpinchon/OCRA
341bb07facc616f1f8a27350054d1e86f022d7c6
[ "Apache-2.0" ]
null
null
null
#pragma once #include <GL-DX/Surface.hpp> namespace OCRA::Surface::Win32 { struct Impl : Surface::Impl { Impl(const Instance::Handle& a_Instance, const Info& a_Info); ~Impl(); const void* hdc; }; }
16.230769
65
0.668246
Gpinchon
290028fc14d0d66e7b0b96d1caf2a91a9bcefa8e
52,764
cxx
C++
Rendering/RayTracing/vtkOSPRayPolyDataMapperNode.cxx
gabrielventosa/vtk
723711d79b0a23de6f07421a27e89539f9d500da
[ "BSD-3-Clause" ]
null
null
null
Rendering/RayTracing/vtkOSPRayPolyDataMapperNode.cxx
gabrielventosa/vtk
723711d79b0a23de6f07421a27e89539f9d500da
[ "BSD-3-Clause" ]
null
null
null
Rendering/RayTracing/vtkOSPRayPolyDataMapperNode.cxx
gabrielventosa/vtk
723711d79b0a23de6f07421a27e89539f9d500da
[ "BSD-3-Clause" ]
null
null
null
/*========================================================================= Program: Visualization Toolkit Module: vtkOSPRayPolyDataMapperNode.cxx Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.htm for details. Th...
37.315417
100
0.652813
gabrielventosa
290236235d9c903a150cf047abbc35c1493025fa
11,083
cpp
C++
editor/DrawState.cpp
tay10r/libpx
0cdcaf959aed59907f68d08428e3808e69cfc8de
[ "MIT" ]
19
2020-06-16T01:43:26.000Z
2022-01-08T09:12:20.000Z
editor/DrawState.cpp
tay10r/libpx
0cdcaf959aed59907f68d08428e3808e69cfc8de
[ "MIT" ]
3
2020-06-16T10:27:14.000Z
2021-02-10T16:26:54.000Z
editor/DrawState.cpp
tay10r/libpx
0cdcaf959aed59907f68d08428e3808e69cfc8de
[ "MIT" ]
3
2020-10-24T09:26:28.000Z
2021-06-17T04:59:38.000Z
#include "DrawState.hpp" #include "App.hpp" #include "ColorEdit.hpp" #include "DrawPanel.hpp" #include "Input.hpp" #include "LayerPanel.hpp" #include "MenuBar.hpp" #include "Platform.hpp" #include "Renderer.hpp" #include "BucketTool.hpp" #include "ColorPickerTool.hpp" #include "EllipseTool.hpp" #include "EraserTool.h...
24.961712
90
0.643689
tay10r
2906827781d0fba19b4c5e6adab1a47edcbcd851
6,739
cpp
C++
software/build-gui-Qt_5_12_8_qt5_temporary-Profile/app/controls_graphs_FlowGraph_qml.cpp
wajo10/Ventilator
ff6678d8c2b7037113f0947fb2d91b6b07fff7b9
[ "Apache-2.0" ]
null
null
null
software/build-gui-Qt_5_12_8_qt5_temporary-Profile/app/controls_graphs_FlowGraph_qml.cpp
wajo10/Ventilator
ff6678d8c2b7037113f0947fb2d91b6b07fff7b9
[ "Apache-2.0" ]
null
null
null
software/build-gui-Qt_5_12_8_qt5_temporary-Profile/app/controls_graphs_FlowGraph_qml.cpp
wajo10/Ventilator
ff6678d8c2b7037113f0947fb2d91b6b07fff7b9
[ "Apache-2.0" ]
null
null
null
// /controls/graphs/FlowGraph.qml namespace QmlCacheGeneratedCode { namespace _controls_graphs_FlowGraph_qml { extern const unsigned char qmlData alignas(16) [] = { 0x71,0x76,0x34,0x63,0x64,0x61,0x74,0x61, 0x20,0x0,0x0,0x0,0x8,0xc,0x5,0x0, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0xdc,0x5,0x0,0x0,0x31,0x30,0x31,0x37, 0x39,0x3...
34.208122
53
0.743879
wajo10
290701c5781bd90b45d89b9372e917a8b4dd3533
14,078
cpp
C++
DNPakCrypto/DNPakCrypto/ACT_DNT.cpp
alin1337/DNSkyProject
f2126e7ac547837156c5a192ba4b02755ae2c73b
[ "WTFPL", "Unlicense" ]
4
2017-02-14T16:22:37.000Z
2018-06-10T02:29:44.000Z
DNPakCrypto/DNPakCrypto/ACT_DNT.cpp
alin1337/DNSkyProject
f2126e7ac547837156c5a192ba4b02755ae2c73b
[ "WTFPL", "Unlicense" ]
2
2017-04-14T20:11:24.000Z
2018-07-01T10:57:36.000Z
DNPakCrypto/DNPakCrypto/ACT_DNT.cpp
alin1337/DNSkyProject
f2126e7ac547837156c5a192ba4b02755ae2c73b
[ "WTFPL", "Unlicense" ]
5
2018-02-24T03:03:20.000Z
2022-02-02T02:48:14.000Z
#include <Windows.h> #include <iostream> #include <fstream> #include <algorithm> #include <string> #include <dirent.h> #include <conio.h> #include <time.h> #include "..\\..\\DNSkyProject\\vlizer.h" #include "lzo.h" #include "Header.h" #include <random> #include <stdio.h> #include <VMProtectSDK.h> using namespace std; ...
19.912306
221
0.575437
alin1337
290e287b9485e49bf9303d3de19ceaf168fad9ef
2,312
hpp
C++
include/bounded/detail/underlying_type.hpp
davidstone/bounded-integer
d4f9a88a12174ca8382af60b00c5affd19aa8632
[ "BSL-1.0" ]
44
2020-10-03T21:37:52.000Z
2022-03-26T10:08:46.000Z
include/bounded/detail/underlying_type.hpp
davidstone/bounded-integer
d4f9a88a12174ca8382af60b00c5affd19aa8632
[ "BSL-1.0" ]
1
2021-01-01T23:22:39.000Z
2021-01-01T23:22:39.000Z
include/bounded/detail/underlying_type.hpp
davidstone/bounded-integer
d4f9a88a12174ca8382af60b00c5affd19aa8632
[ "BSL-1.0" ]
null
null
null
// Copyright David Stone 2017. // 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) #pragma once #include <bounded/detail/comparison.hpp> #include <bounded/detail/int128.hpp> #include <bounded/detail/overlapping_ran...
36.698413
86
0.754758
davidstone
290f0e43b3e843c5b55ae10774695af5f843ca99
591
cpp
C++
LCP.cpp
laxmena/CodeKata
6ae0b911f1a436f691dfac13a760a53beedf7405
[ "MIT" ]
null
null
null
LCP.cpp
laxmena/CodeKata
6ae0b911f1a436f691dfac13a760a53beedf7405
[ "MIT" ]
null
null
null
LCP.cpp
laxmena/CodeKata
6ae0b911f1a436f691dfac13a760a53beedf7405
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int main(){ vector<string> bucket; int n,minStr = INT_MAX; string temp; cout<<"enter number of strings: "; cin>>n; for(int i=0;i<n;i++){ cin>>temp; if(temp.size() < minStr) minStr = temp.size(); bucket.push_back(temp); } int prefixLen = 0; for(int i=0;...
18.46875
54
0.597293
laxmena
291655fe5de39ea765a8d9575aa61f7c3a8e220e
10,493
hpp
C++
samples/slam_or_pt_tutorial_1/cpp/pt/pt_module.hpp
bram4370/realsense_samples
69a1ca2c00765c76d524da56c6026e7abb95c1e3
[ "Apache-2.0" ]
36
2016-09-27T14:42:59.000Z
2021-09-22T09:45:41.000Z
samples/slam_or_pt_tutorial_1/cpp/pt/pt_module.hpp
bram4370/realsense_samples
69a1ca2c00765c76d524da56c6026e7abb95c1e3
[ "Apache-2.0" ]
12
2016-12-14T18:32:19.000Z
2017-12-19T13:46:04.000Z
samples/slam_or_pt_tutorial_1/cpp/pt/pt_module.hpp
bram4370/realsense_samples
69a1ca2c00765c76d524da56c6026e7abb95c1e3
[ "Apache-2.0" ]
22
2017-01-31T22:23:36.000Z
2022-02-18T11:59:28.000Z
// License: Apache 2.0. See LICENSE file in root directory. // Copyright(c) 2017 Intel Corporation. All Rights Reserved. #pragma once #include <sys/stat.h> #include <string> #include <iostream> #include <unistd.h> #include <thread> #include <mutex> #include <algorithm> #include <set> #include <iomanip> #include <lib...
34.976667
176
0.631755
bram4370
29180c6f6adc24d05286dceb2845501570ccbef1
5,028
cpp
C++
example/Mcached/McachedRequestHandler.cpp
fasShare/moxie-simple
9b21320f868ca1fe05ca5d39e70eb053d31155ee
[ "MIT" ]
1
2018-09-27T09:10:11.000Z
2018-09-27T09:10:11.000Z
example/Mcached/McachedRequestHandler.cpp
fasShare/moxie-simple
9b21320f868ca1fe05ca5d39e70eb053d31155ee
[ "MIT" ]
1
2018-09-16T07:17:29.000Z
2018-09-16T07:17:29.000Z
example/Mcached/McachedRequestHandler.cpp
fasShare/moxie-simple
9b21320f868ca1fe05ca5d39e70eb053d31155ee
[ "MIT" ]
null
null
null
#include <McachedRequestHandler.h> #include <mraft/floyd/include/floyd.h> extern floyd::Floyd *floyd_raft; moxie::McachedClientHandler::McachedClientHandler(const std::shared_ptr<PollerEvent>& client, const std::shared_ptr<moxie::NetAddress>& cad) : event_(client), peer_(cad), argc_(0), argv_() { } ...
31.425
143
0.532617
fasShare
291fd98f7c6b94875b3190bd3ced10dbdf31a604
344
cc
C++
util/env_win_detail/win_misc.cc
tamaskenez/leveldb
fa5614c35a7c58051e5f1d26f50f0c632a7f3e19
[ "BSD-3-Clause" ]
null
null
null
util/env_win_detail/win_misc.cc
tamaskenez/leveldb
fa5614c35a7c58051e5f1d26f50f0c632a7f3e19
[ "BSD-3-Clause" ]
null
null
null
util/env_win_detail/win_misc.cc
tamaskenez/leveldb
fa5614c35a7c58051e5f1d26f50f0c632a7f3e19
[ "BSD-3-Clause" ]
null
null
null
#include "win_misc.h" void usleep(int usec) { Sleep((usec + 999)/1000); } int getpagesize(void) { SYSTEM_INFO si; GetSystemInfo(&si); return si.dwPageSize; } bool ftruncate(const winapi::File& fd, int64_t length) { bool b = fd.setFilePointerEx(length, NULL, FILE_BEGIN); if ( !b ) return false; return f...
15.636364
57
0.677326
tamaskenez
292c33e3752b32af894fab2470a5e26ae45f7175
11,507
cc
C++
Source/Plugins/GraphicsPlugins/BladeTerrain/source/TerrainBlock.cc
OscarGame/blade
6987708cb011813eb38e5c262c7a83888635f002
[ "MIT" ]
146
2018-12-03T08:08:17.000Z
2022-03-21T06:04:06.000Z
Source/Plugins/GraphicsPlugins/BladeTerrain/source/TerrainBlock.cc
huangx916/blade
3fa398f4d32215bbc7e292d61e38bb92aad1ee1c
[ "MIT" ]
1
2019-01-18T03:35:49.000Z
2019-01-18T03:36:08.000Z
Source/Plugins/GraphicsPlugins/BladeTerrain/source/TerrainBlock.cc
huangx916/blade
3fa398f4d32215bbc7e292d61e38bb92aad1ee1c
[ "MIT" ]
31
2018-12-03T10:32:43.000Z
2021-10-04T06:31:44.000Z
/******************************************************************** created: 2010/05/13 filename: TerrainBlock.cc author: Crazii purpose: *********************************************************************/ #include <BladePCH.h> #include <interface/IGraphicsSystem.h> #include <interface/IRenderQueue.h> #incl...
39.954861
152
0.656644
OscarGame
292d58375aa0a24f7cc246038919d9346209326d
2,449
hpp
C++
lib/runtime/public/atelier/hash.hpp
giranath/atelier
e1b9056b6f930979c03057bba306005943cf1b12
[ "MIT" ]
null
null
null
lib/runtime/public/atelier/hash.hpp
giranath/atelier
e1b9056b6f930979c03057bba306005943cf1b12
[ "MIT" ]
null
null
null
lib/runtime/public/atelier/hash.hpp
giranath/atelier
e1b9056b6f930979c03057bba306005943cf1b12
[ "MIT" ]
null
null
null
#ifndef ATELIER_RUNTIME_HASH_HPP #define ATELIER_RUNTIME_HASH_HPP #include "runtime_export.hpp" #include <cstdint> #include <iterator> #include <type_traits> #include <string_view> namespace at { // Current default Hash function is fnv1a inline namespace fnv1a { /** * Hash a range of bytes * @tparam It The iterat...
25.247423
100
0.716211
giranath
292ed96e6b0f49d1171d85f28473c10f4acfee32
658
cpp
C++
src/debug/stdmsg.cpp
mirpm/mirp-avr
ff2521b8ccd5314e7f7c357dd36982d9c954a30d
[ "Apache-2.0" ]
1
2017-04-12T20:00:00.000Z
2017-04-12T20:00:00.000Z
src/debug/stdmsg.cpp
mirpm/mirp-avr
ff2521b8ccd5314e7f7c357dd36982d9c954a30d
[ "Apache-2.0" ]
null
null
null
src/debug/stdmsg.cpp
mirpm/mirp-avr
ff2521b8ccd5314e7f7c357dd36982d9c954a30d
[ "Apache-2.0" ]
null
null
null
#include "stdmsg.h" /* * Initialises the standard messaging debug system */ bool StdMsg::Init() { UART::Init(); return true; } /* * Sends a warning via stdmsg and hex codes */ bool StdMsg::SendWarning(msg warning) { UART::PutChar(warning.type[0]); UART::PutChar(warning.type[1]); UART::PutChar(warning.e...
18.277778
51
0.636778
mirpm
292ede574b22b7ab5f41ac7c70ce1c9159eb3906
16,477
cpp
C++
src/v_pfx.cpp
351ELEC/lzdoom
2ee3ea91bc9c052b3143f44c96d85df22851426f
[ "RSA-MD" ]
2
2018-01-18T21:30:20.000Z
2018-01-19T02:24:46.000Z
src/v_pfx.cpp
351ELEC/lzdoom
2ee3ea91bc9c052b3143f44c96d85df22851426f
[ "RSA-MD" ]
4
2021-09-02T00:05:17.000Z
2021-09-07T14:56:12.000Z
src/v_pfx.cpp
351ELEC/lzdoom
2ee3ea91bc9c052b3143f44c96d85df22851426f
[ "RSA-MD" ]
1
2021-09-28T19:03:39.000Z
2021-09-28T19:03:39.000Z
/* ** v_pfx.cpp ** Pixel format conversion routines ** **--------------------------------------------------------------------------- ** Copyright 1998-2006 Randy Heit ** All rights reserved. ** ** Redistribution and use in source and binary forms, with or without ** modification, are permitted provided that the followi...
23.914369
92
0.583237
351ELEC
a0955b149daa0b7e685e0bf3372985371779237d
5,012
cpp
C++
src/kernel/tengine/arm64/tengine_conv_2d_wino.cpp
mapnn/mapnn
fcd5ae04b9b9df809281882872842daaf5a35db0
[ "Apache-2.0" ]
2
2021-01-01T02:01:11.000Z
2022-02-15T02:50:44.000Z
src/kernel/tengine/arm64/tengine_conv_2d_wino.cpp
mapnn/mapnn
fcd5ae04b9b9df809281882872842daaf5a35db0
[ "Apache-2.0" ]
null
null
null
src/kernel/tengine/arm64/tengine_conv_2d_wino.cpp
mapnn/mapnn
fcd5ae04b9b9df809281882872842daaf5a35db0
[ "Apache-2.0" ]
null
null
null
/* Copyright 2020 The Mapnn Team. 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 * ...
37.969697
125
0.627893
mapnn
a0985c4b23376a6bcf7e633ff0a6a998a3c5a33c
358
cpp
C++
SourceCode/Chapter 04/Pr4-3.cpp
aceiro/poo2019
0f93d22296f43a8b024a346f510c00314817d2cf
[ "MIT" ]
1
2019-04-09T18:29:38.000Z
2019-04-09T18:29:38.000Z
SourceCode/Chapter 04/Pr4-3.cpp
aceiro/poo2019
0f93d22296f43a8b024a346f510c00314817d2cf
[ "MIT" ]
null
null
null
SourceCode/Chapter 04/Pr4-3.cpp
aceiro/poo2019
0f93d22296f43a8b024a346f510c00314817d2cf
[ "MIT" ]
null
null
null
// This program demonstrates how a misplaced semicolon // prematurely terminates an if statement. #include <iostream> using namespace std; int main() { int x = 0, y = 10; cout << "x is " << x << " and y is " << y << endl; if (x > y); // Error! Misplaced semicolon cout << "x is greater than y\n"; //T...
25.571429
65
0.611732
aceiro
a09a2b4f05ad623f8c253e4b604db59e5ec42fc4
290
cpp
C++
GeneticEvolution/main.cpp
nikluep/genetic-evo
c1556a9d5c7098b8a6b4392469b442cee718b6f3
[ "MIT" ]
null
null
null
GeneticEvolution/main.cpp
nikluep/genetic-evo
c1556a9d5c7098b8a6b4392469b442cee718b6f3
[ "MIT" ]
null
null
null
GeneticEvolution/main.cpp
nikluep/genetic-evo
c1556a9d5c7098b8a6b4392469b442cee718b6f3
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <SFML/Graphics.hpp> #include "Network.h" #include "Stage.h" int main() { Stage stage(3, 3000); sf::RenderWindow window(sf::VideoMode(1920, 1080), "Genetic Drone Evolution"); stage.init(window); stage.run(); return 0; }
16.111111
82
0.655172
nikluep
a0a497ab0c143d4db16f543dce6e56df6180c43b
2,476
cpp
C++
2021/20/a.cpp
kidonm/advent-of-code
b304d99d60dcdd9d67105964f2c6a6d8729ecfd6
[ "Apache-2.0" ]
null
null
null
2021/20/a.cpp
kidonm/advent-of-code
b304d99d60dcdd9d67105964f2c6a6d8729ecfd6
[ "Apache-2.0" ]
null
null
null
2021/20/a.cpp
kidonm/advent-of-code
b304d99d60dcdd9d67105964f2c6a6d8729ecfd6
[ "Apache-2.0" ]
null
null
null
#include <algorithm> #include <iostream> #include <map> #include <queue> #include <set> #include <sstream> #include <string> #include <unordered_map> #include <unordered_set> #include <vector> using namespace std; typedef unsigned long long ull; typedef pair<int, int> ipair; typedef vector<int> coord; void widen(deq...
19.650794
67
0.477787
kidonm
a0a5ef886fba1e320663486b9c6a451dabd8a65e
10,427
cpp
C++
src/shogun/labels/MultilabelLabels.cpp
Arpit2601/shogun
e509f8c57f47dc74b3f791d450a70b770d11582a
[ "BSD-3-Clause" ]
1
2019-10-02T11:10:08.000Z
2019-10-02T11:10:08.000Z
src/shogun/labels/MultilabelLabels.cpp
Arpit2601/shogun
e509f8c57f47dc74b3f791d450a70b770d11582a
[ "BSD-3-Clause" ]
null
null
null
src/shogun/labels/MultilabelLabels.cpp
Arpit2601/shogun
e509f8c57f47dc74b3f791d450a70b770d11582a
[ "BSD-3-Clause" ]
1
2020-06-02T09:15:40.000Z
2020-06-02T09:15:40.000Z
/* * Copyright (C) 2013 Zuse-Institute-Berlin (ZIB) * Copyright (C) 2013-2014 Thoralf Klein * Written (W) 2013-2014 Thoralf Klein * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Re...
28.803867
94
0.670279
Arpit2601
a0ade4bec71fb7f7fca99354d0ae7f796d1cc511
10,330
cpp
C++
test/TestParticleGPU.cpp
MaxZZG/RadProps
bd95421430fc266ee88d0480069f7d20be1414f6
[ "MIT" ]
null
null
null
test/TestParticleGPU.cpp
MaxZZG/RadProps
bd95421430fc266ee88d0480069f7d20be1414f6
[ "MIT" ]
null
null
null
test/TestParticleGPU.cpp
MaxZZG/RadProps
bd95421430fc266ee88d0480069f7d20be1414f6
[ "MIT" ]
null
null
null
/* * Copyright (c) 2014-2017 The University of Utah * * 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...
39.277567
144
0.664569
MaxZZG
a0b657ae7123fe48ac77fe7f4b2ad76c374283f9
27,674
cc
C++
src/SinCosOps.cc
oseikuffuor1/mgmol
5442962959a54c919a5e18c4e78db6ce41ee8f4e
[ "BSD-3-Clause-LBNL", "FSFAP" ]
null
null
null
src/SinCosOps.cc
oseikuffuor1/mgmol
5442962959a54c919a5e18c4e78db6ce41ee8f4e
[ "BSD-3-Clause-LBNL", "FSFAP" ]
null
null
null
src/SinCosOps.cc
oseikuffuor1/mgmol
5442962959a54c919a5e18c4e78db6ce41ee8f4e
[ "BSD-3-Clause-LBNL", "FSFAP" ]
null
null
null
// Copyright (c) 2017, Lawrence Livermore National Security, LLC and // UT-Battelle, LLC. // Produced at the Lawrence Livermore National Laboratory and the Oak Ridge // National Laboratory. // LLNL-CODE-743438 // All rights reserved. // This file is part of MGmol. For details, see https://github.com/llnl/mgmol. // Plea...
34.292441
80
0.422346
oseikuffuor1
a0b6d49deda766258341b2b10a34eec487dc0f69
551
cpp
C++
Prim/PrimCheckLock.cpp
UltimateScript/FOG
edc96d916fc299f0a822f8c534a4e7487c0e3ea2
[ "BSD-3-Clause" ]
null
null
null
Prim/PrimCheckLock.cpp
UltimateScript/FOG
edc96d916fc299f0a822f8c534a4e7487c0e3ea2
[ "BSD-3-Clause" ]
2
2021-07-07T17:31:49.000Z
2021-07-16T11:40:38.000Z
Prim/PrimCheckLock.cpp
OuluLinux/FOG
edc96d916fc299f0a822f8c534a4e7487c0e3ea2
[ "BSD-3-Clause" ]
null
null
null
#include <Prim/PrimIncludeAll.h> #ifndef NO_PRIM_CHECKS int PrimCheckLock::_check_locks = 0; // Number of locks in force. #endif // // Return the debug checking control variable. // bool& PrimCheckLock::debug_check() { static PrimGetEnv<bool> debugCheck("PrimCheckLock::debug_check", debug_full_check()); ...
21.192308
86
0.744102
UltimateScript
a0b7aa4bba66d43409216d479bc364403f3cdbcd
11,276
cpp
C++
pj_tflite_hand_mediapipe/ImageProcessor/HandLandmarkEngine.cpp
bjarkirafn/play_with_tflite
ab20bcfa79f1bbcf1cb5d8e2887df6253ef0a0c0
[ "Apache-2.0" ]
1
2021-01-13T00:52:14.000Z
2021-01-13T00:52:14.000Z
pj_tflite_hand_mediapipe/ImageProcessor/HandLandmarkEngine.cpp
bjarkirafn/play_with_tflite
ab20bcfa79f1bbcf1cb5d8e2887df6253ef0a0c0
[ "Apache-2.0" ]
null
null
null
pj_tflite_hand_mediapipe/ImageProcessor/HandLandmarkEngine.cpp
bjarkirafn/play_with_tflite
ab20bcfa79f1bbcf1cb5d8e2887df6253ef0a0c0
[ "Apache-2.0" ]
null
null
null
/*** Include ***/ /* for general */ #include <cstdint> #include <cstdlib> #define _USE_MATH_DEFINES #include <cmath> #include <cstring> #include <string> #include <vector> #include <array> #include <algorithm> #include <chrono> #include <fstream> /* for OpenCV */ #include <opencv2/opencv.hpp> /* for ...
39.426573
169
0.715945
bjarkirafn
a0ba8241d34a89a56e6b9642cda3a1bb4b9153b0
7,351
cpp
C++
src/internal/modbusTcpSlave.cpp
baggior/SmartHome_GATEWAY
14fd80e701d92ef79ee2289af40d8334fa48c154
[ "MIT" ]
1
2018-03-06T10:31:09.000Z
2018-03-06T10:31:09.000Z
src/internal/modbusTcpSlave.cpp
baggior/SmartHome_GATEWAY
14fd80e701d92ef79ee2289af40d8334fa48c154
[ "MIT" ]
4
2018-02-05T15:58:19.000Z
2018-11-05T10:11:50.000Z
src/internal/modbusTcpSlave.cpp
baggior/SmartHome_GATEWAY
14fd80e701d92ef79ee2289af40d8334fa48c154
[ "MIT" ]
null
null
null
#include "Arduino.h" #include "modbusTcpSlave.h" // WiFiServer mbServer(MODBUSIP_PORT); #define TCP_TIMEOUT_MS RTU_TIMEOUT * 2 ModbusTcpSlave::ModbusTcpSlave(_ApplicationLogger& logger, uint16_t port = MODBUSIP_PORT, bool _isDebug = false) : mbServer(port), mLogger(logger), isDebug(_isDebug) { mbServer.begin(); ...
26.828467
141
0.604544
baggior
a0bdfd8f762fc66b4df84cdd9e62f37418311e2e
1,248
cpp
C++
Music Player/Using c++/Data sturcutre Project/Data sturcutre Project/Source.cpp
rafay99-epic/University-Projects
49cbd2c1e5e5879dd1dd2364301e35fd5c0bba81
[ "MIT" ]
null
null
null
Music Player/Using c++/Data sturcutre Project/Data sturcutre Project/Source.cpp
rafay99-epic/University-Projects
49cbd2c1e5e5879dd1dd2364301e35fd5c0bba81
[ "MIT" ]
null
null
null
Music Player/Using c++/Data sturcutre Project/Data sturcutre Project/Source.cpp
rafay99-epic/University-Projects
49cbd2c1e5e5879dd1dd2364301e35fd5c0bba81
[ "MIT" ]
null
null
null
#include "music.h" #include<iostream> #include<string> #include<fstream> using namespace std; int main() { Node n; int count{}; int choice; char yes; int const size = 3; int i = 0; music_data s; fstream data("music.txt", ios::out); ifstream take("music.txt"); take >> count; do { cout << endl << " " <...
20.459016
73
0.525641
rafay99-epic
a0d1966a5f0f687659b75e2e06f569152b0a7a11
1,748
cpp
C++
leetcode99.cpp
SJTUGavinLiu/Leetcodes
99d4010bc34e78d22e3c8b6436e4489a7d1338da
[ "MIT" ]
null
null
null
leetcode99.cpp
SJTUGavinLiu/Leetcodes
99d4010bc34e78d22e3c8b6436e4489a7d1338da
[ "MIT" ]
null
null
null
leetcode99.cpp
SJTUGavinLiu/Leetcodes
99d4010bc34e78d22e3c8b6436e4489a7d1338da
[ "MIT" ]
null
null
null
/** * Definition for a binary tree node. * struct TreeNode { * int val; * TreeNode *left; * TreeNode *right; * TreeNode(int x) : val(x), left(NULL), right(NULL) {} * }; */ class Solution { public: void recoverTree(TreeNode* root) { if(!root) return; stack<TreeNode*> st; ...
20.091954
59
0.306636
SJTUGavinLiu
a0d2c4eba9be4d74b5122054bc41d60203387dbe
573
cc
C++
ODWROTNO.cc
hkktr/POLSKI-SPOJ
59f7e0be99fca6532681c2ca01c8a7d97c6b5eed
[ "Unlicense" ]
1
2021-02-01T11:21:56.000Z
2021-02-01T11:21:56.000Z
ODWROTNO.cc
hkktr/POLSKI-SPOJ
59f7e0be99fca6532681c2ca01c8a7d97c6b5eed
[ "Unlicense" ]
null
null
null
ODWROTNO.cc
hkktr/POLSKI-SPOJ
59f7e0be99fca6532681c2ca01c8a7d97c6b5eed
[ "Unlicense" ]
1
2022-01-28T15:25:45.000Z
2022-01-28T15:25:45.000Z
// C++ (gcc 8.3) #include <iostream> #include <tuple> std::tuple<int, int, int> ExtendedGCD(int a, int b) { if (a == 0) return std::make_tuple(0, 1, b); int x, y, gcd; std::tie(x, y, gcd) = ExtendedGCD(b % a, a); return std::make_tuple(y - (b / a) * x, x, gcd); } int main() { std::ios_base::sync_with_stdi...
18.483871
53
0.506108
hkktr
a0d4693a070316b4f3e9c3941bbe77b0c081a6b3
40,854
cpp
C++
export/windows/obj/src/lime/utils/Assets.cpp
arturspon/zombie-killer
07848c5006916e9079537a3d703ffe3740afaa5a
[ "MIT" ]
null
null
null
export/windows/obj/src/lime/utils/Assets.cpp
arturspon/zombie-killer
07848c5006916e9079537a3d703ffe3740afaa5a
[ "MIT" ]
null
null
null
export/windows/obj/src/lime/utils/Assets.cpp
arturspon/zombie-killer
07848c5006916e9079537a3d703ffe3740afaa5a
[ "MIT" ]
1
2021-07-16T22:57:01.000Z
2021-07-16T22:57:01.000Z
// Generated by Haxe 4.0.0-rc.2+77068e10c #include <hxcpp.h> #ifndef INCLUDED_StringTools #include <StringTools.h> #endif #ifndef INCLUDED_haxe_IMap #include <haxe/IMap.h> #endif #ifndef INCLUDED_haxe_ds_StringMap #include <haxe/ds/StringMap.h> #endif #ifndef INCLUDED_haxe_io_Bytes #include <haxe/io/Bytes.h> #endif #i...
46.162712
293
0.683458
arturspon
a0d65a62bac666dc32545eb97211a79dfdb76e4e
120
cpp
C++
basic/assig_array.cpp
RohanKittu/CPP_practice_repo
4dd642cf2b3ba880f40f8dbd2cb5ae062fe6f089
[ "MIT" ]
null
null
null
basic/assig_array.cpp
RohanKittu/CPP_practice_repo
4dd642cf2b3ba880f40f8dbd2cb5ae062fe6f089
[ "MIT" ]
null
null
null
basic/assig_array.cpp
RohanKittu/CPP_practice_repo
4dd642cf2b3ba880f40f8dbd2cb5ae062fe6f089
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int main() { int arr[10] = {0}; cout<< arr[9]<<"\n"; return 0; }
10.909091
24
0.533333
RohanKittu
a0d77c396a1199ac137d1980f1a61e1ebec1f188
9,372
cxx
C++
STEER/ESD/AliESDMuonGlobalTrack.cxx
AllaMaevskaya/AliRoot
c53712645bf1c7d5f565b0d3228e3a6b9b09011a
[ "BSD-3-Clause" ]
52
2016-12-11T13:04:01.000Z
2022-03-11T11:49:35.000Z
STEER/ESD/AliESDMuonGlobalTrack.cxx
AllaMaevskaya/AliRoot
c53712645bf1c7d5f565b0d3228e3a6b9b09011a
[ "BSD-3-Clause" ]
1,388
2016-11-01T10:27:36.000Z
2022-03-30T15:26:09.000Z
STEER/ESD/AliESDMuonGlobalTrack.cxx
AllaMaevskaya/AliRoot
c53712645bf1c7d5f565b0d3228e3a6b9b09011a
[ "BSD-3-Clause" ]
275
2016-06-21T20:24:05.000Z
2022-03-31T13:06:19.000Z
/************************************************************************** * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * * * * Author: The ALICE Off-line Project. * * Contributors ...
33.471429
150
0.55303
AllaMaevskaya
a0d8f38580b717c44c24b17cf5b2010a482272bb
2,267
cpp
C++
src/events/PusherEventListener.cpp
BlockChain-Station/enjin-cpp-sdk
3af1cd001d7e660787bbfb2e2414a96f5a95a228
[ "Apache-2.0" ]
12
2021-09-28T14:37:22.000Z
2022-03-04T17:54:11.000Z
src/events/PusherEventListener.cpp
BlockChain-Station/enjin-cpp-sdk
3af1cd001d7e660787bbfb2e2414a96f5a95a228
[ "Apache-2.0" ]
null
null
null
src/events/PusherEventListener.cpp
BlockChain-Station/enjin-cpp-sdk
3af1cd001d7e660787bbfb2e2414a96f5a95a228
[ "Apache-2.0" ]
8
2021-11-05T18:56:55.000Z
2022-01-10T11:14:24.000Z
/* Copyright 2021 Enjin Pte. 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 or agreed to...
32.385714
99
0.659462
BlockChain-Station
a0da67996eacef201090cf59e4c6ac93ace5b7c4
7,297
cpp
C++
code/edmond_blossom.cpp
raynoldng/icpc_notebook
aef047bb441998411a1f89078634c93a6fa5b5c1
[ "MIT" ]
1
2021-08-10T15:08:35.000Z
2021-08-10T15:08:35.000Z
code/edmond_blossom.cpp
raynoldng/icpc_notebook
aef047bb441998411a1f89078634c93a6fa5b5c1
[ "MIT" ]
null
null
null
code/edmond_blossom.cpp
raynoldng/icpc_notebook
aef047bb441998411a1f89078634c93a6fa5b5c1
[ "MIT" ]
1
2020-10-29T01:38:59.000Z
2020-10-29T01:38:59.000Z
#include <algorithm> #include <iostream> #include <queue> #include <vector> class edmond_blossom { private: std::vector<std::vector<int>> adj_list; std::vector<int> match; std::vector<int> parent; std::vector<int> blossom_root; std::vector<bool> in_queue; std::vector<bool> in_blosso...
28.282946
85
0.438262
raynoldng
a0dbccc4e62ee5869886e15bc78814c6aa37882b
4,904
cpp
C++
editor/src/formula_editor_window.cpp
huangfeidian/formula_tree
fdb0db2c3e4503055630381e499934118d4a6036
[ "BSD-3-Clause" ]
5
2020-04-10T07:31:11.000Z
2021-11-19T04:41:58.000Z
editor/src/formula_editor_window.cpp
huangfeidian/formula_tree
fdb0db2c3e4503055630381e499934118d4a6036
[ "BSD-3-Clause" ]
null
null
null
editor/src/formula_editor_window.cpp
huangfeidian/formula_tree
fdb0db2c3e4503055630381e499934118d4a6036
[ "BSD-3-Clause" ]
null
null
null
#include <fstream> #include <streambuf> #include <qfiledialog.h> #include <tree_editor/common/dialogs/path_config_dialog.h> #include <tree_editor/common/choice_manager.h> #include <tree_editor/common/graph/tree_instance.h> #include <any_container/decode.h> #include "formula_editor_window.h" #include "formula_nodes....
31.235669
109
0.734095
huangfeidian
a0dc0fd8aa4d9131132ebfc7d480bfa0d82fa5ac
2,802
hpp
C++
kernel/include/kernel/kallocators.hpp
F4doraOfDoom/juos
cdec685701c406defc9204dcadf154df9eefc879
[ "MIT" ]
3
2020-12-22T01:24:56.000Z
2021-01-06T11:44:50.000Z
kernel/include/kernel/kallocators.hpp
F4doraOfDoom/juos
cdec685701c406defc9204dcadf154df9eefc879
[ "MIT" ]
null
null
null
kernel/include/kernel/kallocators.hpp
F4doraOfDoom/juos
cdec685701c406defc9204dcadf154df9eefc879
[ "MIT" ]
null
null
null
#ifndef KERNEL_NEW_H_ #define KERNEL_NEW_H_ #include "kdef.h" #include "kuseful.h" #include "klog.h" #include <kernel/mem_operators.hpp> NAMESPACE_BEGIN(kernel) /** * @brief Custome memory allocator, that uses __primitive_heap * as an allocation space. Has no ability to deconstruct an object, * s...
25.243243
79
0.534618
F4doraOfDoom
a0df361c8cca36d2629df1a6e850ae30f244b7b7
1,207
cpp
C++
Piscines/CPP/rush01/srcs/TimeModule.cpp
SpeedFireSho/42-1
5d7ce17910794a28ca44d937651b961feadcff11
[ "MIT" ]
84
2020-10-13T14:50:11.000Z
2022-01-11T11:19:36.000Z
Piscines/CPP/rush01/srcs/TimeModule.cpp
SpeedFireSho/42-1
5d7ce17910794a28ca44d937651b961feadcff11
[ "MIT" ]
null
null
null
Piscines/CPP/rush01/srcs/TimeModule.cpp
SpeedFireSho/42-1
5d7ce17910794a28ca44d937651b961feadcff11
[ "MIT" ]
43
2020-09-10T19:26:37.000Z
2021-12-28T13:53:55.000Z
/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* TimeModule.cpp :+: :+: :+: ...
32.621622
80
0.256835
SpeedFireSho
a0e344ab6d420ded2e24d5db2a21d00614491eb0
124
cpp
C++
cmake/checks/test-cxx_memory_make_unique.cpp
moorwen91/plasma-potd-spotlight
c16417485fb62a1c8854935b8ce73b4cba9e24b4
[ "BSD-2-Clause" ]
104
2019-02-12T20:41:07.000Z
2022-03-07T16:58:47.000Z
cmake/checks/test-cxx_memory_make_unique.cpp
moorwen91/plasma-potd-spotlight
c16417485fb62a1c8854935b8ce73b4cba9e24b4
[ "BSD-2-Clause" ]
9
2019-08-24T03:23:21.000Z
2021-06-06T17:59:07.000Z
{{cookiecutter.project_slug}}/cmake/checks/test-cxx_memory_make_unique.cpp
Aetf/cc-modern-cmake
4421755acf85a30a42f3f48b6d2e1a5130fd3f46
[ "BSD-2-Clause" ]
18
2019-03-04T07:45:41.000Z
2021-09-15T22:13:07.000Z
#include <memory> int main() { std::unique_ptr<int> foo = std::make_unique<int>(42); return ((*foo) == 42) ? 0 : 1; }
13.777778
55
0.572581
moorwen91
a0e520d05a377d17ee332f8422515757b341ecf2
3,198
cpp
C++
src/caffe/layers/cross_perturbation_layer.cpp
chenbinghui1/Hybrid-Attention-based-Decoupled-Metric-Learning
7b1bda334efe0c98c6876548b35a728c3c35676d
[ "MIT" ]
44
2019-04-03T16:51:30.000Z
2022-02-02T15:19:48.000Z
src/caffe/layers/cross_perturbation_layer.cpp
chenbinghui1/Decoupled-Metric-Learning
7b1bda334efe0c98c6876548b35a728c3c35676d
[ "MIT" ]
1
2021-06-01T10:00:00.000Z
2021-06-23T01:46:43.000Z
src/caffe/layers/cross_perturbation_layer.cpp
chenbinghui1/Decoupled-Metric-Learning
7b1bda334efe0c98c6876548b35a728c3c35676d
[ "MIT" ]
8
2019-05-16T05:44:41.000Z
2020-08-19T17:16:28.000Z
//需要设置solver里面iter_size=2 ,第一次前向反向传播为正常输入和正常梯度,并记录反传回来的梯度,第二次前向为原输入+梯度干扰,输入list需要在第一次和第二次的时候保持一样。且根据ICLR18cross gradients 相应的loss也要做修改,此时只修改了BIER loss. #include <vector> #include "caffe/filler.hpp" #include "caffe/layers/cross_perturbation_layer.hpp" #include "caffe/util/math_functions.hpp" namespace caffe { templat...
34.387097
151
0.636023
chenbinghui1
a0e8b87316eb686bb2997d40a1066a92e5746a5f
1,308
hpp
C++
libs/boost_1_72_0/boost/fusion/view/nview/detail/value_of_impl.hpp
henrywarhurst/matrix
317a2a7c35c1c7e3730986668ad2270dc19809ef
[ "BSD-3-Clause" ]
null
null
null
libs/boost_1_72_0/boost/fusion/view/nview/detail/value_of_impl.hpp
henrywarhurst/matrix
317a2a7c35c1c7e3730986668ad2270dc19809ef
[ "BSD-3-Clause" ]
null
null
null
libs/boost_1_72_0/boost/fusion/view/nview/detail/value_of_impl.hpp
henrywarhurst/matrix
317a2a7c35c1c7e3730986668ad2270dc19809ef
[ "BSD-3-Clause" ]
null
null
null
/*============================================================================= Copyright (c) 2009 Hartmut Kaiser 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) ==============================================...
32.7
80
0.66896
henrywarhurst
a0f0c8e40c3982bdc323228e9603e3da357f8ad7
612
cpp
C++
ianlmk/cs161b/zybooks/11.4.3.cpp
ianlmk/cs161
7a50740d1642ca0111a6d0d076b600744552a066
[ "MIT" ]
null
null
null
ianlmk/cs161b/zybooks/11.4.3.cpp
ianlmk/cs161
7a50740d1642ca0111a6d0d076b600744552a066
[ "MIT" ]
1
2022-03-25T18:34:47.000Z
2022-03-25T18:35:23.000Z
ianlmk/cs161b/zybooks/11.4.3.cpp
ianlmk/cs161
7a50740d1642ca0111a6d0d076b600744552a066
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int main() { const int SCORES_SIZE = 4; int bonusScores[SCORES_SIZE]; int i; for (i = 0; i < SCORES_SIZE; ++i) { cin >> bonusScores[i]; } // Set all indexed values to itself plus the next value except for the last element for (i = 0; i < SCORES_SI...
20.4
88
0.545752
ianlmk
a0f12cf3aa1939bf73da706bf2ef14fdeb22c67e
411
cpp
C++
codeforces/gym/2018 IME Tryouts/b.cpp
tysm/cpsols
262212646203e516d1706edf962290de93762611
[ "MIT" ]
4
2020-10-05T19:24:10.000Z
2021-07-15T00:45:43.000Z
codeforces/gym/2018 IME Tryouts/b.cpp
tysm/cpsols
262212646203e516d1706edf962290de93762611
[ "MIT" ]
null
null
null
codeforces/gym/2018 IME Tryouts/b.cpp
tysm/cpsols
262212646203e516d1706edf962290de93762611
[ "MIT" ]
null
null
null
#include <cpplib/stdinc.hpp> int32_t main(){ desync(); int acc = 0; char last = 0; string s; cin >> s; for(char c:s){ if(c != last) acc = 0; acc++; if(acc == 3){ cout << (c == 'C'? 'P' : 'T'); acc = 0; } else ...
17.125
42
0.3382
tysm