hexsha
stringlengths
40
40
size
int64
7
1.05M
ext
stringclasses
13 values
lang
stringclasses
1 value
max_stars_repo_path
stringlengths
4
269
max_stars_repo_name
stringlengths
5
108
max_stars_repo_head_hexsha
stringlengths
40
40
max_stars_repo_licenses
listlengths
1
9
max_stars_count
int64
1
191k
max_stars_repo_stars_event_min_datetime
stringlengths
24
24
max_stars_repo_stars_event_max_datetime
stringlengths
24
24
max_issues_repo_path
stringlengths
4
269
max_issues_repo_name
stringlengths
5
116
max_issues_repo_head_hexsha
stringlengths
40
40
max_issues_repo_licenses
listlengths
1
9
max_issues_count
int64
1
67k
max_issues_repo_issues_event_min_datetime
stringlengths
24
24
max_issues_repo_issues_event_max_datetime
stringlengths
24
24
max_forks_repo_path
stringlengths
4
269
max_forks_repo_name
stringlengths
5
116
max_forks_repo_head_hexsha
stringlengths
40
40
max_forks_repo_licenses
listlengths
1
9
max_forks_count
int64
1
105k
max_forks_repo_forks_event_min_datetime
stringlengths
24
24
max_forks_repo_forks_event_max_datetime
stringlengths
24
24
content
stringlengths
7
1.05M
avg_line_length
float64
1.21
330k
max_line_length
int64
6
990k
alphanum_fraction
float64
0.01
0.99
author_id
stringlengths
2
40
3415954e216bb53928018e5951bfdded31f93395
9,872
cpp
C++
Engine/src/Core/IO/icFileWin.cpp
binofet/ice
dee91da76df8b4f46ed4727d901819d8d20aefe3
[ "MIT" ]
null
null
null
Engine/src/Core/IO/icFileWin.cpp
binofet/ice
dee91da76df8b4f46ed4727d901819d8d20aefe3
[ "MIT" ]
null
null
null
Engine/src/Core/IO/icFileWin.cpp
binofet/ice
dee91da76df8b4f46ed4727d901819d8d20aefe3
[ "MIT" ]
null
null
null
#ifdef WIN32 #include "Core/IO/icFile.h" /*! Function converts ICE file modes to Microsoft flags * * @param u8Mode 8-bit mask of ICFILEMODE flags * @param[out] pAccess Pointer for access rights * @param[out] pCreateD Pointer for creation disposition * @param[out] pFandA Pointer for fl...
26.972678
84
0.588533
binofet
341750081f42a0714498e4ee2a0c996609a8b1b4
634
cpp
C++
codes/raulcr-p2624-Accepted-s747689.cpp
raulcr98/coj-solutions
b8c4d6009869b76a67d7bc1d5328b9bd6bfc33ca
[ "MIT" ]
1
2020-03-17T01:44:21.000Z
2020-03-17T01:44:21.000Z
codes/raulcr-p2624-Accepted-s747689.cpp
raulcr98/coj-solutions
b8c4d6009869b76a67d7bc1d5328b9bd6bfc33ca
[ "MIT" ]
null
null
null
codes/raulcr-p2624-Accepted-s747689.cpp
raulcr98/coj-solutions
b8c4d6009869b76a67d7bc1d5328b9bd6bfc33ca
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int N, M, T; int main() { cin >> T; while(T--){ cin >> N >> M; vector<int> V; int sum = 0; for(int i = 1 ; i <= M ; i++){ int a; cin >> a; sum += a; V.push_back(a); ...
17.135135
39
0.29653
raulcr98
3419a5f363a8fffd9b1b22cdb8c06ef6890742f8
31,404
cc
C++
physicalrobots/player/server/drivers/mixed/botrics/obot.cc
parasol-ppl/PPL_utils
92728bb89692fda1705a0dee436592d97922a6cb
[ "BSD-3-Clause" ]
null
null
null
physicalrobots/player/server/drivers/mixed/botrics/obot.cc
parasol-ppl/PPL_utils
92728bb89692fda1705a0dee436592d97922a6cb
[ "BSD-3-Clause" ]
null
null
null
physicalrobots/player/server/drivers/mixed/botrics/obot.cc
parasol-ppl/PPL_utils
92728bb89692fda1705a0dee436592d97922a6cb
[ "BSD-3-Clause" ]
null
null
null
/* * Player - One Hell of a Robot Server * Copyright (C) 2000-2003 * Brian Gerkey * * * 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...
25.42834
91
0.629156
parasol-ppl
341f5f51dd2e5f71923d964fb9924d9f9a11bc08
18,473
cpp
C++
src/BCRext/BwtIndex.cpp
ndaniel/BEETL
4f35e2f6a18be624c1159f3ffe042eb8490f94bf
[ "BSD-2-Clause" ]
53
2015-02-05T02:26:15.000Z
2022-01-13T05:37:06.000Z
src/BCRext/BwtIndex.cpp
ndaniel/BEETL
4f35e2f6a18be624c1159f3ffe042eb8490f94bf
[ "BSD-2-Clause" ]
9
2015-09-03T23:42:14.000Z
2021-10-15T15:25:49.000Z
src/BCRext/BwtIndex.cpp
ndaniel/BEETL
4f35e2f6a18be624c1159f3ffe042eb8490f94bf
[ "BSD-2-Clause" ]
23
2015-01-08T13:43:07.000Z
2021-05-19T17:35:42.000Z
/** ** Copyright (c) 2011-2014 Illumina, Inc. ** ** This file is part of the BEETL software package, ** covered by the "BSD 2-Clause License" (see accompanying LICENSE file) ** ** Citation: Markus J. Bauer, Anthony J. Cox and Giovanna Rosone ** Lightweight BWT Construction for Very Large String Collections. ** ...
40.158696
459
0.560494
ndaniel
3422fef3339e415cb49949b7f4aaa1d4da2b9efd
253
cpp
C++
Chapter7/Image/QtImageViewer/qtimageViewer.cpp
valeriyvan/LinuxProgrammingWithRaspberryPi
7c57afcf2cbfc8e0486c78aa75b361fd712a136f
[ "MIT" ]
4
2020-03-11T13:38:25.000Z
2021-12-25T00:48:53.000Z
Chapter7/Image/QtImageViewer/qtimageViewer.cpp
valeriyvan/LinuxProgrammingWithRaspberryPi
7c57afcf2cbfc8e0486c78aa75b361fd712a136f
[ "MIT" ]
null
null
null
Chapter7/Image/QtImageViewer/qtimageViewer.cpp
valeriyvan/LinuxProgrammingWithRaspberryPi
7c57afcf2cbfc8e0486c78aa75b361fd712a136f
[ "MIT" ]
8
2020-07-10T22:02:05.000Z
2021-12-15T02:11:44.000Z
#include <QApplication> #include <QLabel> #include <QPixmap> int main(int argc, char **argv) { QApplication app(argc, argv); QLabel* lb = new QLabel("", 0); lb->setPixmap(QPixmap("mandrill.jpg")); lb->show(); return app.exec(); }
16.866667
43
0.620553
valeriyvan
34279a67e3c5d16a5ea26423c28bc022e6bc97f0
2,575
cpp
C++
src/Timer.cpp
JuanDiegoMontoya/g
57a4f44ddea0299e6c6f056592e0b126a67ed8ec
[ "MIT" ]
2
2022-02-04T10:14:49.000Z
2022-03-01T23:45:22.000Z
src/Timer.cpp
JuanDiegoMontoya/g
57a4f44ddea0299e6c6f056592e0b126a67ed8ec
[ "MIT" ]
null
null
null
src/Timer.cpp
JuanDiegoMontoya/g
57a4f44ddea0299e6c6f056592e0b126a67ed8ec
[ "MIT" ]
null
null
null
#include <fwog/Common.h> #include <fwog/Timer.h> #include <numeric> namespace Fwog { TimerQuery::TimerQuery() { glGenQueries(2, queries); glQueryCounter(queries[0], GL_TIMESTAMP); } TimerQuery::~TimerQuery() { glDeleteQueries(2, queries); } uint64_t TimerQuery::GetTimestamp() { int co...
27.105263
99
0.683495
JuanDiegoMontoya
342bcc038a2ca98c01e7e47922a5267283c40560
1,295
hpp
C++
Includes/Rosetta/PlayMode/Logs/PlayHistory.hpp
Hearthstonepp/Hearthstonepp
ee17ae6de1ee0078dab29d75c0fbe727a14e850e
[ "MIT" ]
62
2017-08-21T14:11:00.000Z
2018-04-23T16:09:02.000Z
Includes/Rosetta/PlayMode/Logs/PlayHistory.hpp
Hearthstonepp/Hearthstonepp
ee17ae6de1ee0078dab29d75c0fbe727a14e850e
[ "MIT" ]
37
2017-08-21T11:13:07.000Z
2018-04-30T08:58:41.000Z
Includes/Rosetta/PlayMode/Logs/PlayHistory.hpp
Hearthstonepp/Hearthstonepp
ee17ae6de1ee0078dab29d75c0fbe727a14e850e
[ "MIT" ]
10
2017-08-21T03:44:12.000Z
2018-01-10T22:29:10.000Z
// This code is based on Sabberstone project. // Copyright (c) 2017-2019 SabberStone Team, darkfriend77 & rnilva // RosettaStone is hearthstone simulator using C++ with reinforcement learning. // Copyright (c) 2019 Chris Ohk, Youngjoong Kim, SeungHyun Jeon #ifndef ROSETTASTONE_PLAYMODE_PLAY_HISTORY_HPP #define ROSETTA...
26.979167
79
0.671815
Hearthstonepp
342bf1d0c337848387f546dbefaadabf6a466b8f
293
cpp
C++
BotPantela/Ball.cpp
djcvijic/BotPantela
174287e2b10cdd30d3217dd9c2ff766fcc93530d
[ "MIT" ]
null
null
null
BotPantela/Ball.cpp
djcvijic/BotPantela
174287e2b10cdd30d3217dd9c2ff766fcc93530d
[ "MIT" ]
null
null
null
BotPantela/Ball.cpp
djcvijic/BotPantela
174287e2b10cdd30d3217dd9c2ff766fcc93530d
[ "MIT" ]
null
null
null
#include "Ball.h" using namespace std; void Ball::inputPos () { double xPos; double yPos; cin >> xPos; cin >> yPos; setXPos(xPos); setYPos(yPos); } void Ball::inputVel () { double xVel; double yVel; cin >> xVel; cin >> yVel; setXVel(xVel); setYVel(yVel); }
12.73913
23
0.590444
djcvijic
342d610f2ded549890584ed91eed2c00fbd3e0dc
13,076
cpp
C++
hamonize-admin/plugins/remoteaccess/RemoteAccessWidget.cpp
bsairline/hamonize
6632d93b0149ed300d12c4eeb06cfc4fb01fce92
[ "Apache-2.0" ]
null
null
null
hamonize-admin/plugins/remoteaccess/RemoteAccessWidget.cpp
bsairline/hamonize
6632d93b0149ed300d12c4eeb06cfc4fb01fce92
[ "Apache-2.0" ]
1
2022-03-25T19:24:44.000Z
2022-03-25T19:24:44.000Z
hamonize-admin/plugins/remoteaccess/RemoteAccessWidget.cpp
gon1942/hamonize
0456d934569ad664e9f71c6355424426654caabf
[ "Apache-2.0", "MIT" ]
null
null
null
/* * RemoteAccessWidget.cpp - widget containing a VNC-view and controls for it * * Copyright (c) 2006-2021 Tobias Junghans <tobydox@veyon.io> * * This file is part of Veyon - https://veyon.io * * This is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public Lic...
30.985782
172
0.712986
bsairline
3437e389a3bb554caa194c623883806e623cea07
6,641
cpp
C++
src/llvmsym/stanalysis/inputvariables.cpp
yaqwsx/SymDivine
5400fb2d2deaf00c745ab9f8e4f572c79d7e9caa
[ "MIT" ]
6
2015-10-13T20:01:01.000Z
2017-04-05T04:00:17.000Z
src/llvmsym/stanalysis/inputvariables.cpp
yaqwsx/SymDivine
5400fb2d2deaf00c745ab9f8e4f572c79d7e9caa
[ "MIT" ]
6
2015-10-12T09:30:34.000Z
2016-05-24T16:44:12.000Z
src/llvmsym/stanalysis/inputvariables.cpp
yaqwsx/SymDivine
5400fb2d2deaf00c745ab9f8e4f572c79d7e9caa
[ "MIT" ]
3
2015-10-12T12:20:25.000Z
2017-04-05T04:06:06.000Z
#include <llvmsym/llvmwrap/Instructions.h> #include <llvmsym/llvmwrap/Constants.h> #include <llvmsym/stanalysis/inputvariables.h> #include <llvmsym/cxa_abi/demangler.h> namespace { bool _is_nonconstant_pointer( const llvm::Value *val ) { return ( val->getType()->isPointerTy() && !llvm::isa< llvm::Con...
35.513369
99
0.514983
yaqwsx
3438f017a59ebe1f52a4e23ee50c1de8ea272471
3,224
hpp
C++
src/modules/control_allocator/ActuatorEffectiveness/ActuatorEffectivenessHelicopter.hpp
uavosky/uavosky-px4
5793a7264a1400914521a077a7009dd227f9c766
[ "BSD-3-Clause" ]
4,224
2015-01-02T11:51:02.000Z
2020-10-27T23:42:28.000Z
src/modules/control_allocator/ActuatorEffectiveness/ActuatorEffectivenessHelicopter.hpp
uavosky/uavosky-px4
5793a7264a1400914521a077a7009dd227f9c766
[ "BSD-3-Clause" ]
11,736
2015-01-01T11:59:16.000Z
2020-10-28T17:13:38.000Z
src/modules/control_allocator/ActuatorEffectiveness/ActuatorEffectivenessHelicopter.hpp
uavosky/uavosky-px4
5793a7264a1400914521a077a7009dd227f9c766
[ "BSD-3-Clause" ]
11,850
2015-01-02T14:54:47.000Z
2020-10-28T16:42:47.000Z
/**************************************************************************** * * Copyright (c) 2022 PX4 Development Team. 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. Redistri...
35.822222
111
0.743797
uavosky
343973ee233f02e5296e9d3f81ba60df5cdf46c0
2,604
cpp
C++
src/RawlogHelper.cpp
dzunigan/extrinsic_calib
aec3747aeb6baecc7bc6202fc0832a113a1bc528
[ "BSD-3-Clause" ]
5
2018-10-24T02:14:54.000Z
2019-05-11T12:36:01.000Z
src/RawlogHelper.cpp
dzunigan/extrinsic_calib
aec3747aeb6baecc7bc6202fc0832a113a1bc528
[ "BSD-3-Clause" ]
null
null
null
src/RawlogHelper.cpp
dzunigan/extrinsic_calib
aec3747aeb6baecc7bc6202fc0832a113a1bc528
[ "BSD-3-Clause" ]
1
2021-06-30T01:12:49.000Z
2021-06-30T01:12:49.000Z
#include "RawlogHelper.hpp" //MRPT redefinition so they work without using mrpt namepase (more general) #ifndef CLASS_ID_ #define CLASS_ID_(class_name, space_name) static_cast<const mrpt::utils::TRuntimeClassId*>(&space_name::class_name::class##class_name) #endif #ifndef IS_CLASS_ #define IS_CLASS_( ptrObj, c...
28
138
0.630184
dzunigan
343c15b6a0ac86e95b2432f6043483abcc50d90a
48
cc
C++
test/define/d3.cc
aytchell/cppclean
29ba7547a085f742585a74798cc5ad083bd0836f
[ "Apache-2.0" ]
607
2015-01-02T12:37:18.000Z
2022-03-20T13:37:01.000Z
test/define/d3.cc
aytchell/cppclean
29ba7547a085f742585a74798cc5ad083bd0836f
[ "Apache-2.0" ]
1,372
2019-11-14T09:22:21.000Z
2022-03-29T13:01:20.000Z
test/define/d3.cc
aytchell/cppclean
29ba7547a085f742585a74798cc5ad083bd0836f
[ "Apache-2.0" ]
86
2019-11-14T04:47:23.000Z
2022-03-03T02:44:15.000Z
#include "d3.h" void Namespace::Function() {}
9.6
29
0.645833
aytchell
343dd66fe901d165781aa02d49bb2f845c2d716d
475
cpp
C++
examples/rocketwar/src/shared/network/incommingPacket.cpp
AlexAUT/rocketWar
edea1c703755e198b1ad8909c82e5d8d56c443ef
[ "MIT" ]
null
null
null
examples/rocketwar/src/shared/network/incommingPacket.cpp
AlexAUT/rocketWar
edea1c703755e198b1ad8909c82e5d8d56c443ef
[ "MIT" ]
null
null
null
examples/rocketwar/src/shared/network/incommingPacket.cpp
AlexAUT/rocketWar
edea1c703755e198b1ad8909c82e5d8d56c443ef
[ "MIT" ]
null
null
null
#include "incommingPacket.hpp" #include <cassert> namespace network { void IncommingPacket::reset() { assert(mHandled && "You are resetting a not handled packet!"); mPacket.clear(); mReadPos = 0; mHandled = false; } aw::uint8* IncommingPacket::reserve(size_t bytes) { mPacket.clear(); mPacket.writeToPayl...
16.37931
64
0.711579
AlexAUT
343f31dec15ad1b495e5e8c680c73fab57df1546
613
cpp
C++
Spoj/LASTDIG2_TheLastDigitRevisit.cpp
shiva92/Contests
720bb3699f774a6ea1f99e888e0cd784e63130c8
[ "Apache-2.0" ]
null
null
null
Spoj/LASTDIG2_TheLastDigitRevisit.cpp
shiva92/Contests
720bb3699f774a6ea1f99e888e0cd784e63130c8
[ "Apache-2.0" ]
null
null
null
Spoj/LASTDIG2_TheLastDigitRevisit.cpp
shiva92/Contests
720bb3699f774a6ea1f99e888e0cd784e63130c8
[ "Apache-2.0" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int main() { // #ifndef ONLINE_JUDGE // freopen("/home/shiva/Learning/1.txt", "r", stdin); // freopen("/home/shiva/Learning/2.txt", "w", stdout); // #endif int arr[10] = {0}; int t; cin >> t; long long b; string a; for (int x = 0; x < t; x++) { memset(arr, 0, sizeof...
21.892857
55
0.51876
shiva92
343f9c7d95740fbbad670c65ce53c46bc304e826
1,084
cc
C++
components/ucloud_ai/src/model/aliyun-openapi/core/src/AlibabaCloud.cc
wstong999/AliOS-Things
6554769cb5b797e28a30a4aa89b3f4cb2ef2f5d9
[ "Apache-2.0" ]
4,538
2017-10-20T05:19:03.000Z
2022-03-30T02:29:30.000Z
components/ucloud_ai/src/model/aliyun-openapi/core/src/AlibabaCloud.cc
wstong999/AliOS-Things
6554769cb5b797e28a30a4aa89b3f4cb2ef2f5d9
[ "Apache-2.0" ]
1,088
2017-10-21T07:57:22.000Z
2022-03-31T08:15:49.000Z
components/ucloud_ai/src/model/aliyun-openapi/core/src/AlibabaCloud.cc
willianchanlovegithub/AliOS-Things
637c0802cab667b872d3b97a121e18c66f256eab
[ "Apache-2.0" ]
1,860
2017-10-20T05:22:35.000Z
2022-03-27T10:54:14.000Z
/* * Copyright 1999-2019 Alibaba Cloud 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...
27.1
75
0.72786
wstong999
343ff49b559c0f21635c590d49fe79a1fc4fa51a
984
hpp
C++
MazeSolver/Source/graph.hpp
Darhal/Maze-Solver
f8d46a6b3732a391efff63ed663ab47000b61388
[ "MIT" ]
null
null
null
MazeSolver/Source/graph.hpp
Darhal/Maze-Solver
f8d46a6b3732a391efff63ed663ab47000b61388
[ "MIT" ]
null
null
null
MazeSolver/Source/graph.hpp
Darhal/Maze-Solver
f8d46a6b3732a391efff63ed663ab47000b61388
[ "MIT" ]
null
null
null
#pragma once #include <vector> #include <utility> #include <stdint.h> #include <limits.h> class Graph { public: Graph(uint32_t vertecies = 0) : graph(vertecies) { } void SetVertex(uint32_t vertex, std::vector<std::pair<uint32_t, uint32_t>> next) { graph[vertex] = std::move(next); } void AddEdgeToVertex(uin...
18.566038
81
0.668699
Darhal
34407b0deadf3a5daf2ecf83f8962faca98e3f7c
828
hpp
C++
01_src/compontents/components.hpp
gledr/SMT_MacroPlacer
b5b25f0ce9094553167ffd4985721f86414ceddc
[ "MIT" ]
3
2020-06-05T15:33:30.000Z
2021-05-03T07:34:15.000Z
01_src/compontents/components.hpp
gledr/SMT_MacroPlacer
b5b25f0ce9094553167ffd4985721f86414ceddc
[ "MIT" ]
null
null
null
01_src/compontents/components.hpp
gledr/SMT_MacroPlacer
b5b25f0ce9094553167ffd4985721f86414ceddc
[ "MIT" ]
1
2021-05-03T07:34:17.000Z
2021-05-03T07:34:17.000Z
//================================================================== // Author : Pointner Sebastian // Company : Johannes Kepler University // Name : SMT Macro Placer // Workfile : components.hpp // // Date : 19. May 2020 // Compiler : gcc version 9.3.0 (GCC) // Copyright : Johanne...
29.571429
68
0.588164
gledr
34419f6dafb6189ebd9e5f5222f6a7701c2275ed
4,746
cc
C++
chromecast/device/bluetooth/le/le_scan_manager_impl.cc
zipated/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
2,151
2020-04-18T07:31:17.000Z
2022-03-31T08:39:18.000Z
chromecast/device/bluetooth/le/le_scan_manager_impl.cc
cangulcan/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
395
2020-04-18T08:22:18.000Z
2021-12-08T13:04:49.000Z
chromecast/device/bluetooth/le/le_scan_manager_impl.cc
cangulcan/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
338
2020-04-18T08:03:10.000Z
2022-03-29T12:33:22.000Z
// Copyright 2018 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chromecast/device/bluetooth/le/le_scan_manager_impl.h" #include <algorithm> #include <utility> #include "base/stl_util.h" #include "chromecast...
32.067568
80
0.665402
zipated
3441a9435a11658516d1b142812b86ad399095eb
1,045
cpp
C++
vespalib/src/vespa/vespalib/datastore/unique_store_buffer_type.cpp
alexeyche/vespa
7585981b32937d2b13da1a8f94b42c8a0833a4c2
[ "Apache-2.0" ]
null
null
null
vespalib/src/vespa/vespalib/datastore/unique_store_buffer_type.cpp
alexeyche/vespa
7585981b32937d2b13da1a8f94b42c8a0833a4c2
[ "Apache-2.0" ]
null
null
null
vespalib/src/vespa/vespalib/datastore/unique_store_buffer_type.cpp
alexeyche/vespa
7585981b32937d2b13da1a8f94b42c8a0833a4c2
[ "Apache-2.0" ]
null
null
null
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. #include "unique_store_buffer_type.hpp" #include "unique_store_entry.h" namespace vespalib::datastore { template class BufferType<UniqueStoreEntry<int8_t>>; template class BufferType<UniqueStoreEntry<int16_t>>; t...
40.192308
104
0.844019
alexeyche
45175a27e0afcdfbd6bdfa5d764209c195f5bc5c
2,411
hpp
C++
drtm-dst/src/rtx/batch_op_impl.hpp
SJTU-IPADS/dst
897b929a692642cbf295c105d9d6e64090abb673
[ "Apache-2.0" ]
9
2020-12-17T01:59:13.000Z
2022-03-30T16:25:08.000Z
drtm-dst/src/rtx/batch_op_impl.hpp
SJTU-IPADS/dst
897b929a692642cbf295c105d9d6e64090abb673
[ "Apache-2.0" ]
1
2021-07-30T12:06:33.000Z
2021-07-31T10:16:09.000Z
drtm-dst/src/rtx/batch_op_impl.hpp
SJTU-IPADS/dst
897b929a692642cbf295c105d9d6e64090abb673
[ "Apache-2.0" ]
1
2021-08-01T13:47:07.000Z
2021-08-01T13:47:07.000Z
#include "msg_format.hpp" namespace nocc { using namespace nocc::util; namespace rtx { struct BatchOpCtrlBlock { char *req_buf_; char *req_buf_end_; char *reply_buf_; std::set<int> mac_set_; int batch_size_; inline BatchOpCtrlBlock(char *req_buf,char *res_buf) : batch_size_(0), req_buf_(re...
24.11
89
0.676898
SJTU-IPADS
451a0e3f3980397b7f77b9c1b79f06c786ecbfe0
1,115
cpp
C++
tests/actor_behavior.cpp
zzxx-husky/ZAF
b9c37c758a2f8242aec0d70c467d718468d08fa5
[ "Apache-2.0" ]
4
2021-07-29T12:49:09.000Z
2022-01-13T03:40:46.000Z
tests/actor_behavior.cpp
zzxx-husky/ZAF
b9c37c758a2f8242aec0d70c467d718468d08fa5
[ "Apache-2.0" ]
null
null
null
tests/actor_behavior.cpp
zzxx-husky/ZAF
b9c37c758a2f8242aec0d70c467d718468d08fa5
[ "Apache-2.0" ]
null
null
null
#include "zaf/actor_behavior.hpp" #include "zaf/actor_system.hpp" #include "gtest/gtest.h" namespace zaf { GTEST_TEST(ActorBehavior, Basic) { ActorSystem actor_system; ActorBehavior actor1; actor1.initialize_actor(actor_system, actor_system); ActorBehavior actor2; actor2.initialize_actor(actor_system, act...
23.723404
62
0.634978
zzxx-husky
451ec556f9b2d36764908afcb2fcad82f82ed0d8
4,619
cpp
C++
windows/cpp/samples/hw_enc_avc_intel_file/hw_enc_avc_intel_file.cpp
avblocks/avblocks-samples
7388111a27c8110a9f7222e86e912fe38f444543
[ "MIT" ]
1
2022-02-28T04:12:09.000Z
2022-02-28T04:12:09.000Z
windows/cpp/samples/hw_enc_avc_intel_file/hw_enc_avc_intel_file.cpp
avblocks/avblocks-samples
7388111a27c8110a9f7222e86e912fe38f444543
[ "MIT" ]
null
null
null
windows/cpp/samples/hw_enc_avc_intel_file/hw_enc_avc_intel_file.cpp
avblocks/avblocks-samples
7388111a27c8110a9f7222e86e912fe38f444543
[ "MIT" ]
1
2022-02-28T02:43:24.000Z
2022-02-28T02:43:24.000Z
/* * Copyright (c) 2016 Primo Software. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. */ #include "stdafx.h" #include "util.h" #include "options.h" using namespace primo::codecs; usi...
26.394286
127
0.606841
avblocks
452178ec8ad3cabe4e642fbe06772ac6f04cd837
6,590
cpp
C++
sg/importer/Importer.cpp
ospray/ospray_studio
1549ac72c7c561b4aafdea976189bbe95bd32ff2
[ "Apache-2.0" ]
52
2018-10-09T23:56:32.000Z
2022-03-25T09:27:40.000Z
sg/importer/Importer.cpp
ospray/ospray_studio
1549ac72c7c561b4aafdea976189bbe95bd32ff2
[ "Apache-2.0" ]
11
2018-11-19T18:51:47.000Z
2022-03-28T14:03:57.000Z
sg/importer/Importer.cpp
ospray/ospray_studio
1549ac72c7c561b4aafdea976189bbe95bd32ff2
[ "Apache-2.0" ]
8
2019-02-10T00:16:24.000Z
2022-02-17T19:50:15.000Z
// Copyright 2009-2021 Intel Corporation // SPDX-License-Identifier: Apache-2.0 #include "Importer.h" #include "sg/visitors/PrintNodes.h" #include "../JSONDefs.h" namespace ospray { namespace sg { OSPSG_INTERFACE std::map<std::string, std::string> importerMap = { {"obj", "importer_obj"}, {"gltf", "importer_...
31.5311
80
0.619272
ospray
4522b88d3e7187d55aa1849d096e3394be564b19
639
cpp
C++
checker.cpp
Engin-Boot/vitals-simplification-cpp-Tanvi-Kale
67b5cdce6696caed510efcd1e82f619dadfd08e3
[ "MIT" ]
null
null
null
checker.cpp
Engin-Boot/vitals-simplification-cpp-Tanvi-Kale
67b5cdce6696caed510efcd1e82f619dadfd08e3
[ "MIT" ]
null
null
null
checker.cpp
Engin-Boot/vitals-simplification-cpp-Tanvi-Kale
67b5cdce6696caed510efcd1e82f619dadfd08e3
[ "MIT" ]
null
null
null
#include <assert.h> bool vitalsRangeIsOk(float value,int lowerLimit,int upperLimit) { return (value >= lowerLimit && value <= upperLimit); } bool vitalsAreOk(float bpm, float spo2, float respRate) { return (vitalsRangeIsOk(bpm,70,150) && vitalsRangeIsOk(spo2,90,100) && vitalsRangeIsOk(respRate,30,95)); }...
26.625
108
0.672926
Engin-Boot
452c2bc19dabb166d7962055bbbd3adb041b7e93
514
cpp
C++
uppdev/RichHtml/main.cpp
dreamsxin/ultimatepp
41d295d999f9ff1339b34b43c99ce279b9b3991c
[ "BSD-2-Clause" ]
2
2016-04-07T07:54:26.000Z
2020-04-14T12:37:34.000Z
uppdev/RichHtml/main.cpp
dreamsxin/ultimatepp
41d295d999f9ff1339b34b43c99ce279b9b3991c
[ "BSD-2-Clause" ]
null
null
null
uppdev/RichHtml/main.cpp
dreamsxin/ultimatepp
41d295d999f9ff1339b34b43c99ce279b9b3991c
[ "BSD-2-Clause" ]
null
null
null
#include <CtrlLib/CtrlLib.h> #include <RichText/RichText.h> #include <Web/Web.h> using namespace Upp; #define TOPICFILE <RichHtml/tst.tpp/all.i> #include <Core/topic_group.h> GUI_APP_MAIN { Index<String> css; VectorMap<String, String> links; String qtf = GetTopic("topic://RichHtml/tst/Topic$en-us"); String html ...
23.363636
64
0.702335
dreamsxin
452da6fe4e6d905249e89e7673f85c4a1a11cda2
774
cpp
C++
Miscellaneous/InterviewBit/Array/RotateImage.cpp
chirag-singhal/-Data-Structures-and-Algorithms
9f01b5cc0f382ed59bcd74444a0be1c3aa6cd1a3
[ "MIT" ]
24
2021-02-09T17:59:54.000Z
2022-03-11T07:30:38.000Z
Miscellaneous/InterviewBit/Array/RotateImage.cpp
chirag-singhal/-Data-Structures-and-Algorithms
9f01b5cc0f382ed59bcd74444a0be1c3aa6cd1a3
[ "MIT" ]
null
null
null
Miscellaneous/InterviewBit/Array/RotateImage.cpp
chirag-singhal/-Data-Structures-and-Algorithms
9f01b5cc0f382ed59bcd74444a0be1c3aa6cd1a3
[ "MIT" ]
3
2021-06-22T03:09:49.000Z
2022-03-09T18:25:14.000Z
#include <bits/stdc++.h> void rotate(std::vector<std::vector<int> > &A) { // Do not write main() function. // Do not read input, instead use the arguments to the function. // Do not print the output, instead return values as specified // Still have a doubt. Checkout www.interviewbit.com/pages/sample_co...
35.181818
93
0.459948
chirag-singhal
452ee43e21aafb068418cfb57dfdab51a06eee65
2,784
cpp
C++
benchmark/demo_benchmark.cpp
Algorithms-and-Data-Structures-2021/semester-work-median
a3592c0af93f562ea8f60e2301e5f21d1edbda0e
[ "MIT" ]
null
null
null
benchmark/demo_benchmark.cpp
Algorithms-and-Data-Structures-2021/semester-work-median
a3592c0af93f562ea8f60e2301e5f21d1edbda0e
[ "MIT" ]
null
null
null
benchmark/demo_benchmark.cpp
Algorithms-and-Data-Structures-2021/semester-work-median
a3592c0af93f562ea8f60e2301e5f21d1edbda0e
[ "MIT" ]
null
null
null
#include <fstream> // ifstream #include <iostream> // cout #include <string> // string, stoi #include <string_view> // string_view #include <chrono> // high_resolution_clock, duration_cast, nanoseconds #include <sstream> // stringstream #include <vector> // подключаем алгоритм #include "algo...
32
97
0.600575
Algorithms-and-Data-Structures-2021
45310c3ba8f1aa569b5c663e734e95570828b415
2,128
cpp
C++
Shared Classes/Stats.cpp
Mertank/ToneArm
40c62b0de89ac506bea6674e43578bf4e2631f93
[ "Zlib", "BSD-2-Clause" ]
null
null
null
Shared Classes/Stats.cpp
Mertank/ToneArm
40c62b0de89ac506bea6674e43578bf4e2631f93
[ "Zlib", "BSD-2-Clause" ]
null
null
null
Shared Classes/Stats.cpp
Mertank/ToneArm
40c62b0de89ac506bea6674e43578bf4e2631f93
[ "Zlib", "BSD-2-Clause" ]
null
null
null
/* ------------------------------------------------------------------------------------------ Copyright (c) 2014 Vinyl Games Studio Author: Mikhail Kutuzov Date: 10/7/2014 5:45:48 PM ------------------------------------------------------------------------------------------ */ #include "Stats.h...
25.035294
115
0.670583
Mertank
4531123f6dcce4fd01d694f2d37959abaadcdd44
9,191
cpp
C++
cpp/cppfind/src/FindSettings.cpp
clarkcb/xfind
fbe5d970d0a604e0d357a5c6d78eb26dbcd3294a
[ "MIT" ]
null
null
null
cpp/cppfind/src/FindSettings.cpp
clarkcb/xfind
fbe5d970d0a604e0d357a5c6d78eb26dbcd3294a
[ "MIT" ]
null
null
null
cpp/cppfind/src/FindSettings.cpp
clarkcb/xfind
fbe5d970d0a604e0d357a5c6d78eb26dbcd3294a
[ "MIT" ]
null
null
null
#include "FileUtil.h" #include "StringUtil.h" #include "FindSettings.h" namespace cppfind { FindSettings::FindSettings() { m_in_archiveextensions = {}; m_in_archivefilepatterns = {}; m_in_dirpatterns = {}; m_in_extensions = {}; m_in_filepatterns = {}; m_in_filetypes ...
30.433775
102
0.598955
clarkcb
4536e307f42d425866f3d9ad9020706f0477068b
3,190
cpp
C++
vec3f.cpp
ei14/qecvec
e097d0a205889ec65362992c4171ae535bc113a5
[ "MIT" ]
null
null
null
vec3f.cpp
ei14/qecvec
e097d0a205889ec65362992c4171ae535bc113a5
[ "MIT" ]
null
null
null
vec3f.cpp
ei14/qecvec
e097d0a205889ec65362992c4171ae535bc113a5
[ "MIT" ]
null
null
null
// Copyright (c) 2021 Thomas Kaldahl #include "qecvec.hpp" // Constructors Vec3f::Vec3f( float x, float y, float z ) { this->x = x; this->y = y; this->z = z; } Vec3f::Vec3f(float val) : Vec3f(val, val, val) {} Vec3f::Vec3f() : Vec3f(0) {} Vec3f::Vec3f(Vec2f v, float z) : Vec3f(v.x, v.y, z) {} Vec3f::Vec3f(flo...
25.52
77
0.630408
ei14
45382cb1d1d0ba807d163bc1cb1d314da6852610
3,806
cpp
C++
Source/10.0.18362.0/ucrt/mbstring/mbsdec.cpp
825126369/UCRT
8853304fdc2a5c216658d08b6dbbe716aa2a7b1f
[ "MIT" ]
2
2021-01-27T10:19:30.000Z
2021-02-09T06:24:30.000Z
Source/10.0.18362.0/ucrt/mbstring/mbsdec.cpp
825126369/UCRT
8853304fdc2a5c216658d08b6dbbe716aa2a7b1f
[ "MIT" ]
null
null
null
Source/10.0.18362.0/ucrt/mbstring/mbsdec.cpp
825126369/UCRT
8853304fdc2a5c216658d08b6dbbe716aa2a7b1f
[ "MIT" ]
1
2021-01-27T10:19:36.000Z
2021-01-27T10:19:36.000Z
/*** *mbsdec.c - Move MBCS string pointer backward one charcter. * * Copyright (c) Microsoft Corporation. All rights reserved. * *Purpose: * Move MBCS string pointer backward one character. * *******************************************************************************/ #ifndef _MBCS #error This file...
34.6
88
0.64083
825126369
4539f7f1d006ae249eb8f841b2f0a897d401f16e
1,678
cpp
C++
Heap.cpp
Aman-Chopra/DataStructure-Algorithms
fc5ed6ebe97032200b93c1ade783d4a5ed2fdd25
[ "MIT" ]
null
null
null
Heap.cpp
Aman-Chopra/DataStructure-Algorithms
fc5ed6ebe97032200b93c1ade783d4a5ed2fdd25
[ "MIT" ]
3
2016-06-09T07:46:15.000Z
2017-05-06T07:56:18.000Z
Heap.cpp
Aman-Chopra/DataStructure-Algorithms
fc5ed6ebe97032200b93c1ade783d4a5ed2fdd25
[ "MIT" ]
4
2016-06-09T07:14:37.000Z
2021-05-21T22:07:20.000Z
#include <iostream> #include <vector> #include <algorithm> using namespace std; int smallest = 0; int largest = 0; void max_heapify(vector<int> &v, int i, int *n) { int left = 2*i; int right = 2*i+1; if(left <= *n && v[left] > v[i]) largest = left; else largest = i; if(right <= *n && v[right] > v[largest]) ...
15.537037
65
0.573897
Aman-Chopra
453a1e6a515d4a67d7d37444149865b65fb7a952
4,785
cpp
C++
idlib-math/tests/idlib/tests/math/constants.cpp
egoboo/idlib
b27b9d3fe7357ecfe5f9dc71afe283a3d16b1ba8
[ "MIT" ]
1
2021-07-30T14:02:43.000Z
2021-07-30T14:02:43.000Z
idlib-math/tests/idlib/tests/math/constants.cpp
egoboo/idlib
b27b9d3fe7357ecfe5f9dc71afe283a3d16b1ba8
[ "MIT" ]
null
null
null
idlib-math/tests/idlib/tests/math/constants.cpp
egoboo/idlib
b27b9d3fe7357ecfe5f9dc71afe283a3d16b1ba8
[ "MIT" ]
2
2017-01-27T16:53:08.000Z
2017-08-27T07:28:43.000Z
/////////////////////////////////////////////////////////////////////////////////////////////////// // // Idlib: A C++ utility library // Copyright (C) 2017-2018 Michael Heilmann // // This software is provided 'as-is', without any express or implied warranty. // In no event will the authors be held liable for any dama...
29
121
0.63908
egoboo
453a2e4418602f71031fee4718f9682dd556d6c0
446
hpp
C++
include/lua_object.hpp
GhostInABottle/octopus_engine
50429e889493527bdc0e78b307937002e0f2c510
[ "BSD-2-Clause" ]
3
2017-10-02T03:18:59.000Z
2020-11-01T09:21:28.000Z
include/lua_object.hpp
GhostInABottle/octopus_engine
50429e889493527bdc0e78b307937002e0f2c510
[ "BSD-2-Clause" ]
2
2019-04-06T21:48:08.000Z
2020-05-22T23:38:54.000Z
include/lua_object.hpp
GhostInABottle/octopus_engine
50429e889493527bdc0e78b307937002e0f2c510
[ "BSD-2-Clause" ]
1
2017-07-17T20:58:26.000Z
2017-07-17T20:58:26.000Z
#ifndef HPP_LUA_OBJECT #define HPP_LUA_OBJECT #include <string> #include <memory> #include "xd/vendor/sol/forward.hpp" class Lua_Object { public: Lua_Object(); virtual ~Lua_Object(); void set_lua_property(const std::string& name, sol::stack_object value); sol::main_object get_lua_property(...
22.3
77
0.690583
GhostInABottle
453a31f903a11270acdc2a5ad22af96280f0cdc3
838
cpp
C++
UVA/UVA11340.cpp
avillega/CompetitiveProgramming
f12c1a07417f8fc154ac5297889ca756b49f0f35
[ "Apache-2.0" ]
null
null
null
UVA/UVA11340.cpp
avillega/CompetitiveProgramming
f12c1a07417f8fc154ac5297889ca756b49f0f35
[ "Apache-2.0" ]
null
null
null
UVA/UVA11340.cpp
avillega/CompetitiveProgramming
f12c1a07417f8fc154ac5297889ca756b49f0f35
[ "Apache-2.0" ]
null
null
null
#include <cstdio> #include <string> #include <map> using namespace std; typedef long long ll; int main(){ map<char, int> charPrice; char artLine[10100]; int T; scanf("%d\n", &T); int N; ll totalCents; while(T--){ totalCents=0; charPrice.clear(); ...
23.942857
52
0.387828
avillega
453cb5d3bf24c54030f48b5001b55ae381b4d385
507
cc
C++
libcef/sqlite_diagnostics_stub.cc
svn2github/cef1
61d1537c697bec6265e02c9e9bb4c416b7b22db5
[ "BSD-3-Clause" ]
18
2015-07-11T03:16:54.000Z
2019-01-19T12:10:38.000Z
libcef/sqlite_diagnostics_stub.cc
svn2github/cef
61d1537c697bec6265e02c9e9bb4c416b7b22db5
[ "BSD-3-Clause" ]
2
2019-01-14T00:10:11.000Z
2019-02-03T08:19:11.000Z
libcef/sqlite_diagnostics_stub.cc
svn2github/cef1
61d1537c697bec6265e02c9e9bb4c416b7b22db5
[ "BSD-3-Clause" ]
9
2015-01-08T01:07:25.000Z
2018-03-05T03:52:04.000Z
// Copyright (c) 2012 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that can // be found in the LICENSE file. #include "content/public/common/url_constants.h" namespace chrome { // Used by ClearOnExitPolicy const char kHttpScheme[] = "http...
24.142857
80
0.737673
svn2github
453d0e2d0c29f82be0ecfb636cb3150dbe88e579
1,000
cpp
C++
tools/EncoderTemplate/Encoder.cpp
EmilianC/Jewel3D
ce11aa686ab35d4989f018c948b26abed6637d77
[ "MIT" ]
30
2017-02-02T01:57:13.000Z
2020-07-04T04:38:20.000Z
tools/EncoderTemplate/Encoder.cpp
EmilianC/Jewel3D
ce11aa686ab35d4989f018c948b26abed6637d77
[ "MIT" ]
null
null
null
tools/EncoderTemplate/Encoder.cpp
EmilianC/Jewel3D
ce11aa686ab35d4989f018c948b26abed6637d77
[ "MIT" ]
10
2017-07-10T01:31:54.000Z
2020-01-13T20:38:57.000Z
#include "Encoder.h" #define CURRENT_VERSION 1 Encoder::Encoder() : gem::Encoder(CURRENT_VERSION) { } gem::ConfigTable Encoder::GetDefault() const { gem::ConfigTable defaultConfig; defaultConfig.SetValue("version", CURRENT_VERSION); // Any default values for a new asset can be added to metadata here. return d...
21.276596
116
0.725
EmilianC
45423747d3b937f5418714dac6ac022f087f6b9e
3,742
cpp
C++
src/FEM/FEM1DApp.cpp
Jerry-Shen0527/Numerical
0bd6b630ac450caa0642029792ab348867d2390d
[ "MIT" ]
null
null
null
src/FEM/FEM1DApp.cpp
Jerry-Shen0527/Numerical
0bd6b630ac450caa0642029792ab348867d2390d
[ "MIT" ]
null
null
null
src/FEM/FEM1DApp.cpp
Jerry-Shen0527/Numerical
0bd6b630ac450caa0642029792ab348867d2390d
[ "MIT" ]
null
null
null
#include <FEM/FEM1DApp.hpp> Float StaticFEM1DApp::GradientSelfInnerProduct(int i, int j) { std::vector<int> i_id, j_id; auto i_mesh = IdxToMesh(i, i_id); auto j_mesh = IdxToMesh(j, j_id); Float ret = 0; for (int a = 0; a < i_mesh.size(); ++a) { for (int b = 0; b < j_mesh.size(); ++b) { if (i_mesh[a] == ...
21.022472
96
0.617584
Jerry-Shen0527
45462edbf1008c8ccc83843d664762d8e82e0909
2,396
cpp
C++
node_modules/lzz-gyp/lzz-source/smtc_PrintNsFuncDefn.cpp
SuperDizor/dizornator
9f57dbb3f6af80283b4d977612c95190a3d47900
[ "ISC" ]
3
2019-09-18T16:44:33.000Z
2021-03-29T13:45:27.000Z
node_modules/lzz-gyp/lzz-source/smtc_PrintNsFuncDefn.cpp
SuperDizor/dizornator
9f57dbb3f6af80283b4d977612c95190a3d47900
[ "ISC" ]
null
null
null
node_modules/lzz-gyp/lzz-source/smtc_PrintNsFuncDefn.cpp
SuperDizor/dizornator
9f57dbb3f6af80283b4d977612c95190a3d47900
[ "ISC" ]
2
2019-03-29T01:06:38.000Z
2019-09-18T16:44:34.000Z
// smtc_PrintNsFuncDefn.cpp // #include "smtc_PrintNsFuncDefn.h" // semantic #include "smtc_FuncDefn.h" #include "smtc_IsNameQual.h" #include "smtc_IsNsEnclUnmd.h" #include "smtc_Output.h" #include "smtc_PrintFuncDefn.h" // config #include "conf_Config.h" #define LZZ_INLINE inline namespace { using namespace smtc; ...
22.185185
86
0.613523
SuperDizor
454d3b48038a9b52fc0dc94df440bdb4ea5d76e7
8,056
cpp
C++
src/Nodes/Default_Nodes/Generators/chaoticOscillator.cpp
PlaymodesStudio/ofxOceanode
400df6d49c4b29bc6916e4a045145e935beff4e0
[ "MIT" ]
31
2018-04-20T13:47:38.000Z
2021-12-26T04:32:24.000Z
src/Nodes/Default_Nodes/Generators/chaoticOscillator.cpp
PlaymodesStudio/ofxOceanode
400df6d49c4b29bc6916e4a045145e935beff4e0
[ "MIT" ]
25
2018-02-19T17:15:32.000Z
2020-01-05T01:51:00.000Z
src/Nodes/Default_Nodes/Generators/chaoticOscillator.cpp
PlaymodesStudio/ofxOceanode
400df6d49c4b29bc6916e4a045145e935beff4e0
[ "MIT" ]
5
2018-09-25T18:37:23.000Z
2021-01-21T16:26:16.000Z
// // chaoticOscillator.cpp // example-basic // // Created by Eduard Frigola Bagué on 02/03/2020. // #include "chaoticOscillator.h" void chaoticOscillator::setup(){ color = ofColor(0, 200, 255); oldPhasor = vector<float>(1, 0); seedChanged = vector<bool>(true); baseChOsc.resize(1); result.resiz...
39.881188
124
0.585775
PlaymodesStudio
4550737c359bb091ea8ee21f4d83027f6d7f4768
709
cpp
C++
main.cpp
rivergillis/sdl2-starter
cbfcb7249390a131b0cf2d0f49fe09e5e2f63eb2
[ "MIT" ]
null
null
null
main.cpp
rivergillis/sdl2-starter
cbfcb7249390a131b0cf2d0f49fe09e5e2f63eb2
[ "MIT" ]
null
null
null
main.cpp
rivergillis/sdl2-starter
cbfcb7249390a131b0cf2d0f49fe09e5e2f63eb2
[ "MIT" ]
null
null
null
#include "common.h" #include "sdl_viewer.h" #include "image.h" constexpr int w = 640; constexpr int h = 480; int main(void) { SDLViewer viewer("Hello World", w, h); Image img(w, h); img.SetAll({248, 240, 227}); // Honda championship white background bool quit = false; int i = 0; while (!quit) { /...
20.852941
70
0.57969
rivergillis
45523fb4a50faa6e4e59570ed6c5b2e26dfd7279
3,757
hpp
C++
src/riscv_devices.hpp
msyksphinz/swimmer_riscv
065cf3e0dcdcd00cd9bd976285a307d371253ba9
[ "BSD-3-Clause" ]
33
2015-08-23T02:45:07.000Z
2019-11-06T23:34:51.000Z
src/riscv_devices.hpp
msyksphinz-self/swimmer_riscv
065cf3e0dcdcd00cd9bd976285a307d371253ba9
[ "BSD-3-Clause" ]
11
2015-10-11T15:52:42.000Z
2019-09-20T14:30:35.000Z
src/riscv_devices.hpp
msyksphinz/swimmer_riscv
065cf3e0dcdcd00cd9bd976285a307d371253ba9
[ "BSD-3-Clause" ]
5
2015-02-14T10:07:44.000Z
2019-09-20T06:37:38.000Z
/* * Copyright (c) 2015, msyksphinz * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyright * notice, this list of conditi...
31.571429
152
0.711206
msyksphinz
4553d6ae9ba2a19514b48790bd32758952cea8fc
9,001
cpp
C++
platform_linux.cpp
Vector35/platform-linux
fd71fca50ba193517df0f7c828d824f57fbc158f
[ "Apache-2.0" ]
null
null
null
platform_linux.cpp
Vector35/platform-linux
fd71fca50ba193517df0f7c828d824f57fbc158f
[ "Apache-2.0" ]
1
2021-06-25T18:49:42.000Z
2021-06-25T18:49:42.000Z
platform_linux.cpp
Vector35/platform-linux
fd71fca50ba193517df0f7c828d824f57fbc158f
[ "Apache-2.0" ]
null
null
null
#include "binaryninjaapi.h" using namespace BinaryNinja; using namespace std; class LinuxX86Platform: public Platform { public: LinuxX86Platform(Architecture* arch): Platform(arch, "linux-x86") { Ref<CallingConvention> cc; cc = arch->GetCallingConventionByName("cdecl"); if (cc) { RegisterDefaultCalling...
29.511475
94
0.736363
Vector35
4555a728416e55f68c46303cbf1c1a6c81eb918c
593
cpp
C++
SET & MAP/basic problem/Count-of-pairs-between-two-arrays-such-that-the-sums-are-distinct.cpp
Shiv-sharma-111/jubilant-sniffle
4cd1ce6fe08f8749f16e569b3a78f3b5576ebe17
[ "MIT" ]
null
null
null
SET & MAP/basic problem/Count-of-pairs-between-two-arrays-such-that-the-sums-are-distinct.cpp
Shiv-sharma-111/jubilant-sniffle
4cd1ce6fe08f8749f16e569b3a78f3b5576ebe17
[ "MIT" ]
null
null
null
SET & MAP/basic problem/Count-of-pairs-between-two-arrays-such-that-the-sums-are-distinct.cpp
Shiv-sharma-111/jubilant-sniffle
4cd1ce6fe08f8749f16e569b3a78f3b5576ebe17
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; int main() { ios_base::sync_with_stdio(false); cin.tie(NULL); cout.tie(NULL); int T; cin>>T; while(T--) { int n1,n2; cin>>n1>>n2; int arr1[n1],arr2[n2]; for(int i=0;i<n1;i++) { cin>>arr1[i]; } for(int i=0;i<n2;i++) { ci...
16.027027
35
0.468803
Shiv-sharma-111
455680b9155630f3e6d96be1a8de3c27928d49c0
517
hpp
C++
src/Exceptions/Exception.hpp
pokorj54/Command-line-calendar
de2c8a89917bd4cb69547427a6ec1bced218c5ad
[ "MIT" ]
null
null
null
src/Exceptions/Exception.hpp
pokorj54/Command-line-calendar
de2c8a89917bd4cb69547427a6ec1bced218c5ad
[ "MIT" ]
null
null
null
src/Exceptions/Exception.hpp
pokorj54/Command-line-calendar
de2c8a89917bd4cb69547427a6ec1bced218c5ad
[ "MIT" ]
null
null
null
#ifndef Exception_785a62ec3213411cb4e442ee734c00cb #define Exception_785a62ec3213411cb4e442ee734c00cb #include <iostream> /** * @brief Abstract class providing genereal interface to exceptions * */ class Exception: public std::exception { public: /** * @brief Message that can be printed to th...
24.619048
67
0.686654
pokorj54
4558774323aa65b0256e5a57988556294f5c1ef0
2,982
cxx
C++
src/Cxx/Visualization/ProjectSphere.cxx
ajpmaclean/vtk-examples
1a55fc8c6af67a3c07791807c7d1ec0ab97607a2
[ "Apache-2.0" ]
81
2020-08-10T01:44:30.000Z
2022-03-23T06:46:36.000Z
src/Cxx/Visualization/ProjectSphere.cxx
ajpmaclean/vtk-examples
1a55fc8c6af67a3c07791807c7d1ec0ab97607a2
[ "Apache-2.0" ]
2
2020-09-12T17:33:52.000Z
2021-04-15T17:33:09.000Z
src/Cxx/Visualization/ProjectSphere.cxx
ajpmaclean/vtk-examples
1a55fc8c6af67a3c07791807c7d1ec0ab97607a2
[ "Apache-2.0" ]
27
2020-08-17T07:09:30.000Z
2022-02-15T03:44:58.000Z
#include <vtkActor.h> #include <vtkCamera.h> #include <vtkElevationFilter.h> #include <vtkNamedColors.h> #include <vtkNew.h> #include <vtkParametricFunctionSource.h> #include <vtkParametricSuperEllipsoid.h> #include <vtkPointData.h> #include <vtkPolyData.h> #include <vtkPolyDataMapper.h> #include <vtkProjectSphereFilte...
30.742268
77
0.757881
ajpmaclean
455878b48a2ef154a4e5242dc0e51a7aee92a867
898
cpp
C++
src/util/TexShare.cpp
pharpend/Oscilloscope
e2598c559302bd91747b73a251d614eeb4dea663
[ "MIT" ]
460
2015-03-18T18:59:49.000Z
2022-03-19T19:11:09.000Z
src/util/TexShare.cpp
pharpend/Oscilloscope
e2598c559302bd91747b73a251d614eeb4dea663
[ "MIT" ]
78
2015-05-10T07:23:55.000Z
2022-03-09T13:58:51.000Z
src/util/TexShare.cpp
pharpend/Oscilloscope
e2598c559302bd91747b73a251d614eeb4dea663
[ "MIT" ]
64
2015-06-13T01:45:54.000Z
2022-01-14T17:38:19.000Z
// // SharedTex.cpp // Oscilloscope // // Created by Hansi on 27/06/19. // // #include "TexShare.h" #include "ofMain.h" #ifdef TARGET_OSX #include "ofxSyphon.h" class TexShareImpl{ public: ofxSyphonServer server; void setup(string name){ server.setName(name); } void update(ofTexture &tex){ server.publi...
14.483871
38
0.690423
pharpend
455a9f22c0c56eeceee8a943903882aa281ccc0d
20,389
hxx
C++
main/writerfilter/source/ooxml/OOXMLFastContextHandler.hxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
679
2015-01-06T06:34:58.000Z
2022-03-30T01:06:03.000Z
main/writerfilter/source/ooxml/OOXMLFastContextHandler.hxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
102
2017-11-07T08:51:31.000Z
2022-03-17T12:13:49.000Z
main/writerfilter/source/ooxml/OOXMLFastContextHandler.hxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
331
2015-01-06T11:40:55.000Z
2022-03-14T04:07:51.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 y...
32.261076
80
0.71568
Grosskopf
4568b8382c54da544c4c3ba3095eb7ec6c41ecac
4,872
cpp
C++
convertxml/native_module_convertxml.cpp
openharmony-gitee-mirror/js_api_module
2c3d4cf53a81d4b68933cdeec74e4c3e3da7f46d
[ "Apache-2.0" ]
null
null
null
convertxml/native_module_convertxml.cpp
openharmony-gitee-mirror/js_api_module
2c3d4cf53a81d4b68933cdeec74e4c3e3da7f46d
[ "Apache-2.0" ]
null
null
null
convertxml/native_module_convertxml.cpp
openharmony-gitee-mirror/js_api_module
2c3d4cf53a81d4b68933cdeec74e4c3e3da7f46d
[ "Apache-2.0" ]
1
2021-09-13T11:21:19.000Z
2021-09-13T11:21:19.000Z
/* * Copyright (c) 2021 Huawei Device 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 applica...
38.362205
119
0.609811
openharmony-gitee-mirror
456984dafd290502cd6b7fbbd63266164f802149
202
cpp
C++
Backbone/UserManager/XMLManager/main.cpp
ed-quiroga-2103/OdisseyC
cf7ec95c574bfd4b2581f9af092dae50803dcebb
[ "Apache-2.0" ]
null
null
null
Backbone/UserManager/XMLManager/main.cpp
ed-quiroga-2103/OdisseyC
cf7ec95c574bfd4b2581f9af092dae50803dcebb
[ "Apache-2.0" ]
null
null
null
Backbone/UserManager/XMLManager/main.cpp
ed-quiroga-2103/OdisseyC
cf7ec95c574bfd4b2581f9af092dae50803dcebb
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include "pugixml.hpp" #include "string" #include "XMLParts.h" #include "XMLManager.h" using document = pugi::xml_document; using string = std::string; int main() { return 0; }
16.833333
36
0.70297
ed-quiroga-2103
456ce2aad5fd617a5ed86fc8916b091e371316e3
423
cpp
C++
cph/modbus/mbqueue.cpp
Loggi-pro/cph-lib
4109dd1d3cc780c9f76aa54c2322bbdcbfdfea67
[ "MIT" ]
null
null
null
cph/modbus/mbqueue.cpp
Loggi-pro/cph-lib
4109dd1d3cc780c9f76aa54c2322bbdcbfdfea67
[ "MIT" ]
null
null
null
cph/modbus/mbqueue.cpp
Loggi-pro/cph-lib
4109dd1d3cc780c9f76aa54c2322bbdcbfdfea67
[ "MIT" ]
null
null
null
#include "mbqueue.h" void ModbusEventQueue::init() { _isEventInQueue = false; } bool ModbusEventQueue::postEvent(MBEventType eEvent) { _isEventInQueue = true; _queuedEvent = eEvent; return true; } bool ModbusEventQueue::getEvent(MBEventType* eEvent) { bool isEventHappened = false; if (_isEventInQueue) { *eEv...
19.227273
54
0.747045
Loggi-pro
456cee28cc1d1ab23a90b671f5ab734025642346
1,778
cpp
C++
examples/HelloWorld/HelloWorld.cpp
SteveDeFacto/ovgl
879899f63f0dc399e2823dd84bb715fda3aafb78
[ "Apache-2.0" ]
3
2019-02-24T23:17:49.000Z
2020-05-03T09:05:49.000Z
examples/HelloWorld/HelloWorld.cpp
SteveDeFacto/ovgl
879899f63f0dc399e2823dd84bb715fda3aafb78
[ "Apache-2.0" ]
null
null
null
examples/HelloWorld/HelloWorld.cpp
SteveDeFacto/ovgl
879899f63f0dc399e2823dd84bb715fda3aafb78
[ "Apache-2.0" ]
null
null
null
/** * @file HelloWorld.cpp * Copyright 2011 Steven Batchelor * * 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...
27.78125
105
0.663105
SteveDeFacto
456d9b8f021d8459aaea5b9c07ffd93e2d8a506f
738
hpp
C++
src/cpp/iir-filter-node.hpp
node-3d/waa-raub
e458d76f290b1e12ef2a0adc063b521816337f04
[ "MIT" ]
17
2018-10-03T00:44:33.000Z
2022-03-17T06:40:15.000Z
src/cpp/iir-filter-node.hpp
raub/node-waa
e458d76f290b1e12ef2a0adc063b521816337f04
[ "MIT" ]
7
2019-07-16T08:22:31.000Z
2021-11-29T21:45:06.000Z
src/cpp/iir-filter-node.hpp
raub/node-waa
e458d76f290b1e12ef2a0adc063b521816337f04
[ "MIT" ]
2
2019-08-05T20:00:42.000Z
2020-03-15T13:25:41.000Z
#ifndef _IIR_FILTER_NODE_HPP_ #define _IIR_FILTER_NODE_HPP_ #include "common.hpp" class IIRFilterNode : public CommonNode { DECLARE_ES5_CLASS(IIRFilterNode, IIRFilterNode); public: ~IIRFilterNode(); explicit IIRFilterNode(const Napi::CallbackInfo &info); static void init(Napi::Env env, Napi::Object exports)...
17.571429
56
0.768293
node-3d
456fba303c64e745bee06e191b15a89f770516b4
15,915
cpp
C++
Lambda-Lib-C++/LambdaCalc_SampleExec.cpp
jrandleman/Lambda-Calc-Compilation
488c6d1fbc92d00429aa7eb772df3fd6e0dd92c5
[ "MIT" ]
1
2020-09-14T19:47:13.000Z
2020-09-14T19:47:13.000Z
Lambda-Lib-C++/LambdaCalc_SampleExec.cpp
jrandleman/Lambda-Calc-Compiler
488c6d1fbc92d00429aa7eb772df3fd6e0dd92c5
[ "MIT" ]
null
null
null
Lambda-Lib-C++/LambdaCalc_SampleExec.cpp
jrandleman/Lambda-Calc-Compiler
488c6d1fbc92d00429aa7eb772df3fd6e0dd92c5
[ "MIT" ]
null
null
null
// Author: Jordan Randleman -- LambdaCalc_SampleExec.cpp // => Demo File to Illustrate LambdaCalc.hpp's Capabilities #include <iostream> #include "LambdaCalc.hpp" /** * -:- NAMESPACE LambdaCalc LAMBDAS -:- * => ALL DATA IS IMMUTABLE (CONST) * => ALL LAMBDAS ARE CURRIED ( IE Add(ox1, ox2) => Add(ox1)(ox2)...
35.13245
121
0.507823
jrandleman
45774a243eba9339b1d84de55198c4399b64d3f2
954
hpp
C++
main/inou_rand_api.hpp
tamim-asif/lgraph-private
733bbcd9e14a9850580b51c011e33785ab758b9d
[ "BSD-3-Clause" ]
null
null
null
main/inou_rand_api.hpp
tamim-asif/lgraph-private
733bbcd9e14a9850580b51c011e33785ab758b9d
[ "BSD-3-Clause" ]
null
null
null
main/inou_rand_api.hpp
tamim-asif/lgraph-private
733bbcd9e14a9850580b51c011e33785ab758b9d
[ "BSD-3-Clause" ]
null
null
null
#include "inou_rand.hpp" #include "main_api.hpp" class Inou_rand_api { protected: static void tolg(Eprp_var &var) { Inou_rand rand; for(const auto &l:var.dict) { rand.set(l.first,l.second); } std::vector<LGraph *> lgs = rand.tolg(); if (lgs.empty()) { Main_api::warn(fmt::format("i...
24.461538
128
0.638365
tamim-asif
457799f6c60e7d7a5d1685b8781ec801a174ca43
3,127
hpp
C++
GameEngine/Systems/ButtonSystem.hpp
Epitech-Tek2/superBonobros2
525ab414215f5b67829bf200797c2055141cb7b9
[ "MIT" ]
null
null
null
GameEngine/Systems/ButtonSystem.hpp
Epitech-Tek2/superBonobros2
525ab414215f5b67829bf200797c2055141cb7b9
[ "MIT" ]
null
null
null
GameEngine/Systems/ButtonSystem.hpp
Epitech-Tek2/superBonobros2
525ab414215f5b67829bf200797c2055141cb7b9
[ "MIT" ]
null
null
null
/* ** EPITECH PROJECT, 2020 ** B-CPP-501-STG-5-1-rtype-romuald1.soultan ** File description: ** ButtonSystem */ #ifndef BUTTONSYSTEM_HPP_ #define BUTTONSYSTEM_HPP_ #include "ASystem.hpp" #include "ECS.hpp" #include "AScene.hpp" #include "AGame.hpp" #include "ASystem.hpp" #include "ClickableComponent.hpp" #include "Sh...
39.582278
132
0.549089
Epitech-Tek2
4577c52083767b5b1ed8420cedc7326e012220ed
875
cpp
C++
coast/modules/Renderer/SubStringRenderer.cpp
zer0infinity/CuteForCoast
37d933c5fe2e0ce9a801f51b2aa27c7a18098511
[ "BSD-3-Clause" ]
null
null
null
coast/modules/Renderer/SubStringRenderer.cpp
zer0infinity/CuteForCoast
37d933c5fe2e0ce9a801f51b2aa27c7a18098511
[ "BSD-3-Clause" ]
null
null
null
coast/modules/Renderer/SubStringRenderer.cpp
zer0infinity/CuteForCoast
37d933c5fe2e0ce9a801f51b2aa27c7a18098511
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright (c) 2005, Peter Sommerlad and IFS Institute for Software at HSR Rapperswil, Switzerland * All rights reserved. * * This library/application is free software; you can redistribute and/or modify it under the terms of * the license that is included with this library/application in the file license.txt....
38.043478
102
0.718857
zer0infinity
4578b38a6b3f01fa80365cd43053e30c3d4c7513
65
cpp
C++
cpp_data_structure_and_algorithm/day9/IndexMaxHeap.cpp
xcyi2017/Agorithm
bae9918b0758624ecd1f94a3ca1692050c193a29
[ "Apache-2.0" ]
1
2020-11-15T09:40:47.000Z
2020-11-15T09:40:47.000Z
cpp_data_structure_and_algorithm/day9/IndexMaxHeap.cpp
xcyi2017/Agorithm
bae9918b0758624ecd1f94a3ca1692050c193a29
[ "Apache-2.0" ]
null
null
null
cpp_data_structure_and_algorithm/day9/IndexMaxHeap.cpp
xcyi2017/Agorithm
bae9918b0758624ecd1f94a3ca1692050c193a29
[ "Apache-2.0" ]
null
null
null
// // Created by xcy on 2020/10/5. // #include "IndexMaxHeap.h"
10.833333
31
0.630769
xcyi2017
457bc8521fdebe0808d93f1cd867ad9f31f5b80e
835
cpp
C++
CameraShake/MyCameraShake.cpp
H4DC0R3/unrealcpp
b0f5667cb20711d740a6fb0cb5064efc6873c948
[ "MIT" ]
765
2018-01-03T14:58:37.000Z
2022-03-29T16:03:13.000Z
CameraShake/MyCameraShake.cpp
shyaZhou/unrealcpp
e998d89ce6c8d5484c084f395d2eca5e247b88bf
[ "MIT" ]
1
2019-09-26T09:33:50.000Z
2020-12-11T05:17:13.000Z
CameraShake/MyCameraShake.cpp
shyaZhou/unrealcpp
e998d89ce6c8d5484c084f395d2eca5e247b88bf
[ "MIT" ]
166
2018-02-20T07:36:12.000Z
2022-03-25T07:49:03.000Z
// Harrison McGuire // UE4 Version 4.20.2 // https://github.com/Harrison1/unrealcpp // https://severallevels.io // https://harrisonmcguire.com #include "MyCameraShake.h" // Helpful Links // http://api.unrealengine.com/INT/API/Runtime/Engine/Camera/UCameraShake/index.html // // Great explanation of camera shake values...
27.833333
84
0.731737
H4DC0R3
4584d9705bc128ecf32ee9da4ab82849fdd83607
2,241
hpp
C++
falcon/mpl/placeholders.hpp
jonathanpoelen/falcon
5b60a39787eedf15b801d83384193a05efd41a89
[ "MIT" ]
2
2018-02-02T14:19:59.000Z
2018-05-13T02:48:24.000Z
falcon/mpl/placeholders.hpp
jonathanpoelen/falcon
5b60a39787eedf15b801d83384193a05efd41a89
[ "MIT" ]
null
null
null
falcon/mpl/placeholders.hpp
jonathanpoelen/falcon
5b60a39787eedf15b801d83384193a05efd41a89
[ "MIT" ]
null
null
null
#ifndef FALCON_MPL_PLACEHOLDERS_HPP #define FALCON_MPL_PLACEHOLDERS_HPP #include <falcon/mpl/arg.hpp> namespace falcon { namespace mpl { namespace placeholders { using _1 = arg<1>; using _2 = arg<2>; using _3 = arg<3>; using _4 = arg<4>; using _5 = arg<5>; using _6 = arg<6>; using _7 = arg<7>; using _8 = arg<8>; usi...
19.486957
35
0.629183
jonathanpoelen
4586a2f0f7b631495373c018c934fe3720aeba6d
2,998
cc
C++
sieve2015/src/presieved_primes.cc
mhdeleglise/Gh
21a0b9bd53ae9de17f8b99040cac95cd6e1897e4
[ "MIT" ]
null
null
null
sieve2015/src/presieved_primes.cc
mhdeleglise/Gh
21a0b9bd53ae9de17f8b99040cac95cd6e1897e4
[ "MIT" ]
null
null
null
sieve2015/src/presieved_primes.cc
mhdeleglise/Gh
21a0b9bd53ae9de17f8b99040cac95cd6e1897e4
[ "MIT" ]
null
null
null
#include<mylib.h> namespace presieved_primes{ long32 presieve_base; long32 number_of_presieve_primes; long32 sum_of_presieve_primes; long32 small_primes[5] = {2, 3, 5, 7, 11}; int primes_initialized = 0; long* Sp; void init_presieve(int nbps) { switch (nbps) { case 2: presieve_base = 6; ...
29.106796
110
0.616077
mhdeleglise
4586e007716ddb33e39503120febcfcd9f469dcd
2,706
cpp
C++
checks/rng.cpp
vster/OpenCL
fb29aead4e6345e23f3f7ba5fb038fa1fd217e10
[ "BSD-2-Clause" ]
46
2015-12-04T17:12:58.000Z
2022-03-11T04:30:49.000Z
checks/rng.cpp
vster/OpenCL
fb29aead4e6345e23f3f7ba5fb038fa1fd217e10
[ "BSD-2-Clause" ]
null
null
null
checks/rng.cpp
vster/OpenCL
fb29aead4e6345e23f3f7ba5fb038fa1fd217e10
[ "BSD-2-Clause" ]
23
2016-10-24T09:18:14.000Z
2022-02-25T02:11:35.000Z
/* This file is in the public domain */ #include <string> #include <opencl/filters.h> #include <opencl/square.h> #include <opencl/randpool.h> #include <opencl/x917.h> #if defined(OPENCL_EXT_ENTROPY_SRC_DEVRANDOM) #include <opencl/devrand.h> #endif #if defined(OPENCL_EXT_ENTROPY_SRC_PTHREAD) #include <opencl/pthr_e...
26.271845
77
0.636364
vster
4588b724efd0ce0f13cef267f2da3c49f709e55c
8,657
cpp
C++
intro/messageworld/messageworld.cpp
return/BeOSSampleCode
ca5a319fecf425a69e944f3c928a85011563a932
[ "BSD-3-Clause" ]
5
2018-09-09T21:01:57.000Z
2022-03-27T10:01:27.000Z
intro/messageworld/messageworld.cpp
return/BeOSSampleCode
ca5a319fecf425a69e944f3c928a85011563a932
[ "BSD-3-Clause" ]
null
null
null
intro/messageworld/messageworld.cpp
return/BeOSSampleCode
ca5a319fecf425a69e944f3c928a85011563a932
[ "BSD-3-Clause" ]
5
2018-04-03T01:45:23.000Z
2021-05-14T08:23:01.000Z
// // Menu World // // A sample program demonstrating the basics of using // the BMessage and BMessenger classes. // // Written by: Eric Shepherd // /* Copyright 1999, Be Incorporated. All Rights Reserved. This file may be used under the terms of the Be Sample Code License. */ #include <Application.h> #include <M...
21.696742
75
0.688922
return
458900190893fa28482feb5dd9be4cf587142595
5,591
cpp
C++
aoc2018_day21.cpp
bluespeck/aoc_2018
d847613516bd1e0a6c1a7a0c32cc093a3f558dd4
[ "MIT" ]
null
null
null
aoc2018_day21.cpp
bluespeck/aoc_2018
d847613516bd1e0a6c1a7a0c32cc093a3f558dd4
[ "MIT" ]
null
null
null
aoc2018_day21.cpp
bluespeck/aoc_2018
d847613516bd1e0a6c1a7a0c32cc093a3f558dd4
[ "MIT" ]
1
2018-12-15T11:50:33.000Z
2018-12-15T11:50:33.000Z
#include <algorithm> #include <array> #include <cassert> #include <cstdint> #include <iostream> #include <map> #include <queue> #include <set> #include <string> #include <vector> #include <sstream> #include <utility> using Registers = std::array<int64_t, 6>; struct Instruction { int opcode; ...
21.670543
152
0.524235
bluespeck
458bf6d617a44dfd03bbc2a44d0c4749251feb4d
801
cpp
C++
DEngine/Physics/cdCollisionWorld.cpp
norrischiu/DEngine
acea553f110b8d10fc7386ff0941b84f6d7ebce7
[ "MIT", "Unlicense" ]
8
2016-05-23T03:08:08.000Z
2020-03-02T06:15:16.000Z
DEngine/Physics/cdCollisionWorld.cpp
norrischiu/DEngine
acea553f110b8d10fc7386ff0941b84f6d7ebce7
[ "MIT", "Unlicense" ]
8
2016-06-01T17:00:58.000Z
2021-07-21T13:53:41.000Z
DEngine/Physics/cdCollisionWorld.cpp
norrischiu/DEngine
acea553f110b8d10fc7386ff0941b84f6d7ebce7
[ "MIT", "Unlicense" ]
1
2017-09-25T03:39:34.000Z
2017-09-25T03:39:34.000Z
#include "cdCollisionWorld.h" /** void CollisionWorld::addObject(const CollidableObject & object) { m_pObjects.push_back(object); } void CollisionWorld::addCollide(const Collide & collide) { m_pCollide.push_back(collide); } void CollisionWorld::computeCollision() { bool value = false; Collide collide; for (int...
19.536585
95
0.68789
norrischiu
458c004d2710be6d40ca18beea5ef17f8842f0f1
8,708
cxx
C++
MITK/Plugins/uk.ac.ucl.cmic.igiultrasoundoverlayeditor/src/internal/niftkIGIUltrasoundOverlayEditorPreferencePage.cxx
NifTK/NifTK
2358b333c89ff1bba1c232eecbbcdc8003305dfe
[ "BSD-3-Clause" ]
13
2018-07-28T13:36:38.000Z
2021-11-01T19:17:39.000Z
MITK/Plugins/uk.ac.ucl.cmic.igiultrasoundoverlayeditor/src/internal/niftkIGIUltrasoundOverlayEditorPreferencePage.cxx
NifTK/NifTK
2358b333c89ff1bba1c232eecbbcdc8003305dfe
[ "BSD-3-Clause" ]
null
null
null
MITK/Plugins/uk.ac.ucl.cmic.igiultrasoundoverlayeditor/src/internal/niftkIGIUltrasoundOverlayEditorPreferencePage.cxx
NifTK/NifTK
2358b333c89ff1bba1c232eecbbcdc8003305dfe
[ "BSD-3-Clause" ]
10
2018-08-20T07:06:00.000Z
2021-07-07T07:55:27.000Z
/*============================================================================= NifTK: A software platform for medical image computing. Copyright (c) University College London (UCL). All rights reserved. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY o...
37.373391
156
0.706821
NifTK
45916e18b70b1ba2bd94f6b171cfa3caaa03cbf6
12,415
hpp
C++
include/Lodtalk/Collections.hpp
ronsaldo/lodtalk
4668e8923f508c8a9e87a00242ab67b26fb0c9a4
[ "MIT" ]
3
2017-02-10T18:18:58.000Z
2019-02-21T02:35:29.000Z
include/Lodtalk/Collections.hpp
ronsaldo/lodtalk
4668e8923f508c8a9e87a00242ab67b26fb0c9a4
[ "MIT" ]
null
null
null
include/Lodtalk/Collections.hpp
ronsaldo/lodtalk
4668e8923f508c8a9e87a00242ab67b26fb0c9a4
[ "MIT" ]
null
null
null
#ifndef LODTALK_COLLECTIONS_HPP_ #define LODTALK_COLLECTIONS_HPP_ #include <stddef.h> #include <string> #include "Lodtalk/Object.hpp" namespace Lodtalk { /** * Collection */ class LODTALK_VM_EXPORT Collection: public Object { public: static SpecialNativeClassFactory Factory; }; /** * SequenceableCollection ...
23.829175
134
0.737898
ronsaldo
4593f57d4d81656f516d9deaca99f02bef8d2f98
1,610
cpp
C++
codechef/aug17/6.cpp
AadityaJ/Spoj
61664c1925ef5bb072a3fe78fb3dac4fb68d77a1
[ "MIT" ]
null
null
null
codechef/aug17/6.cpp
AadityaJ/Spoj
61664c1925ef5bb072a3fe78fb3dac4fb68d77a1
[ "MIT" ]
null
null
null
codechef/aug17/6.cpp
AadityaJ/Spoj
61664c1925ef5bb072a3fe78fb3dac4fb68d77a1
[ "MIT" ]
null
null
null
#include <iostream> #include <string> #include <vector> #include <algorithm> using namespace std; void printArr(vector<string> &v){ for(int i=0;i<v.size();i++){ cout<<v[i]<<endl; } } long long int f(vector<string> &v,string str){ for(int i=0;i<str.length();i++){ bool is=0; char c=str...
22.676056
56
0.445342
AadityaJ
459410b8db4d34750797b8d22906e62fa7952018
72,861
cpp
C++
src/zgemmtune.cpp
codedivine/raijinclv2
e4c50b757e3fe6d1fa5d09c135f1156b31c08fab
[ "Apache-2.0" ]
null
null
null
src/zgemmtune.cpp
codedivine/raijinclv2
e4c50b757e3fe6d1fa5d09c135f1156b31c08fab
[ "Apache-2.0" ]
null
null
null
src/zgemmtune.cpp
codedivine/raijinclv2
e4c50b757e3fe6d1fa5d09c135f1156b31c08fab
[ "Apache-2.0" ]
null
null
null
/**Copyright 2012, Rahul Garg and McGill University 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 o...
44.319343
193
0.447427
codedivine
459c85c986e46de885a11a2a0a52ad2704918e44
1,840
cpp
C++
hyperplatform_log_parser/hyperplatform_log_parser.cpp
tandasat/hyperplatform_log_parser
7a7eba3c8c582fa43ba2a47372a363080796d2d4
[ "MIT" ]
17
2016-04-08T10:59:03.000Z
2021-12-11T07:09:31.000Z
hyperplatform_log_parser/hyperplatform_log_parser.cpp
c3358/hyperplatform_log_parser
7a7eba3c8c582fa43ba2a47372a363080796d2d4
[ "MIT" ]
null
null
null
hyperplatform_log_parser/hyperplatform_log_parser.cpp
c3358/hyperplatform_log_parser
7a7eba3c8c582fa43ba2a47372a363080796d2d4
[ "MIT" ]
11
2016-07-02T15:23:57.000Z
2021-01-08T19:27:36.000Z
// Copyright (c) 2015-2016, tandasat. All rights reserved. // Use of this source code is governed by a MIT-style license that can be // found in the LICENSE file. // // This module implements an entry point of the driver. // #include "stdafx.h" #include "log_parser.h" #include "utility.h" ///////////////////////////...
23.291139
80
0.448913
tandasat
459d3fd808aba1dfd91a27a8763c89bd4d83aae4
61
hpp
C++
addons/interrogation/functions/script_component.hpp
kellerkompanie/kellerkompanie-mods
f15704710f77ba6c018c486d95cac4f7749d33b8
[ "MIT" ]
6
2018-05-05T22:28:57.000Z
2019-07-06T08:46:51.000Z
addons/interrogation/functions/script_component.hpp
Schwaggot/kellerkompanie-mods
7a389e49e3675866dbde1b317a44892926976e9d
[ "MIT" ]
107
2018-04-11T19:42:27.000Z
2019-09-13T19:05:31.000Z
addons/interrogation/functions/script_component.hpp
kellerkompanie/kellerkompanie-mods
f15704710f77ba6c018c486d95cac4f7749d33b8
[ "MIT" ]
3
2018-10-03T11:54:46.000Z
2019-02-28T13:30:16.000Z
#include "\x\keko\addons\interrogation\script_component.hpp"
30.5
60
0.819672
kellerkompanie
45a0d5b4a59c688e301f8a5f78f412956f5d1494
1,603
cpp
C++
SystemResource/Source/Compression/ZLIB/ZLIBCompressionLevel.cpp
BitPaw/BitFireEngine
2c02a4eae19276bf60ac925e4393966cec605112
[ "MIT" ]
5
2021-10-19T18:30:43.000Z
2022-03-19T22:02:02.000Z
SystemResource/Source/Compression/ZLIB/ZLIBCompressionLevel.cpp
BitPaw/BitFireEngine
2c02a4eae19276bf60ac925e4393966cec605112
[ "MIT" ]
12
2022-03-09T13:40:21.000Z
2022-03-31T12:47:48.000Z
SystemResource/Source/Compression/ZLIB/ZLIBCompressionLevel.cpp
BitPaw/BitFireEngine
2c02a4eae19276bf60ac925e4393966cec605112
[ "MIT" ]
null
null
null
#include "ZLIBCompressionLevel.h" BF::ZLIBCompressionLevel BF::ConvertCompressionLevel(unsigned char compressionLevel) { switch (compressionLevel) { case 0u: return BF::ZLIBCompressionLevel::Fastest; case 1u: return BF::ZLIBCompressionLevel::Fast; case 2u: ...
23.925373
84
0.625702
BitPaw
45a0dc71972c48dd43d07afd55f00e8ee349c216
15,185
cpp
C++
src/Conversion.cpp
markvilar/Sennet-ZED
2b761ed4f3fefa93f5e37e3b5f283eb0934146d3
[ "Apache-2.0" ]
null
null
null
src/Conversion.cpp
markvilar/Sennet-ZED
2b761ed4f3fefa93f5e37e3b5f283eb0934146d3
[ "Apache-2.0" ]
null
null
null
src/Conversion.cpp
markvilar/Sennet-ZED
2b761ed4f3fefa93f5e37e3b5f283eb0934146d3
[ "Apache-2.0" ]
null
null
null
#include "Sennet-ZED/Conversion.hpp" sl::VIEW SennetToStereolabs(const Sennet::ZED::View& view) { switch (view) { case Sennet::ZED::View::Left: return sl::VIEW::LEFT; case Sennet::ZED::View::Right: return sl::VIEW::RIGHT; case Sennet::ZED::View::LeftGray: return sl::VIEW::LEFT_GRAY; case Sennet::ZED...
30.989796
80
0.753309
markvilar
45a55d2ac83ad14f7d75e5bef293e0e05bf1b121
19
cpp
C++
src/Type.cpp
phiwen96/ph_image
282bdd835d721a561c4f3afcbb76af5f9bda87ba
[ "Apache-2.0" ]
1
2021-09-05T08:38:39.000Z
2021-09-05T08:38:39.000Z
src/Type.cpp
phiwen96/ph_image
282bdd835d721a561c4f3afcbb76af5f9bda87ba
[ "Apache-2.0" ]
null
null
null
src/Type.cpp
phiwen96/ph_image
282bdd835d721a561c4f3afcbb76af5f9bda87ba
[ "Apache-2.0" ]
2
2021-12-04T14:39:52.000Z
2022-03-04T21:12:02.000Z
#include "Type.hpp"
19
19
0.736842
phiwen96
45aa1cc56e96bcf62894efe1c61d5d3ed75c0841
238
cpp
C++
Course Experiment/C Language Course Course Exp/Homework/No.7 Homework/5.空格处理.cpp
XJDKC/University-Code-Archive
2dd9c6edb2164540dc50db1bb94940fe53c6eba0
[ "MIT" ]
4
2019-04-01T17:33:38.000Z
2022-01-08T04:07:52.000Z
Course Experiment/C Language Course Course Exp/Homework/No.7 Homework/5.空格处理.cpp
XJDKC/University-Code-Archive
2dd9c6edb2164540dc50db1bb94940fe53c6eba0
[ "MIT" ]
null
null
null
Course Experiment/C Language Course Course Exp/Homework/No.7 Homework/5.空格处理.cpp
XJDKC/University-Code-Archive
2dd9c6edb2164540dc50db1bb94940fe53c6eba0
[ "MIT" ]
1
2021-01-06T11:04:31.000Z
2021-01-06T11:04:31.000Z
#include<stdio.h> int main() { int n; scanf("%d",&n); getchar(); while (n--) { char a='0',b; while ((b=getchar())!='\n') { if (a!='0'&&a==' '&&b==' ') continue; a=b; printf("%c",a); } printf("\n"); } return 0; }
11.9
40
0.432773
XJDKC
45b1eec24e6fbb6c79c985d3859420b22890719f
2,353
cpp
C++
Projects/Library/Source/Translator/Token.cpp
kalineh/KAI
43ab555bcbad1886715cd00b2cdac89e12d5cfe5
[ "MIT" ]
1
2018-06-16T17:53:43.000Z
2018-06-16T17:53:43.000Z
Projects/Library/Source/Translator/Token.cpp
kalineh/KAI
43ab555bcbad1886715cd00b2cdac89e12d5cfe5
[ "MIT" ]
null
null
null
Projects/Library/Source/Translator/Token.cpp
kalineh/KAI
43ab555bcbad1886715cd00b2cdac89e12d5cfe5
[ "MIT" ]
null
null
null
#include "KAI/KAI.h" #include "KAI/Translator/Token.h" #include "KAI/Translator/Lexer.h" KAI_BEGIN Token::Token(Type type, const Lexer &lexer, int ln, Slice slice) : type(type), lexer(&lexer), lineNumber(ln), slice(slice) { } char Token::operator[](int n) const { return lexer->input[slice.Start + n]; } std::stri...
23.29703
80
0.686783
kalineh
45b23114090b3dc841c5f936a8868d223511c6af
521
cpp
C++
Interview-preparation-resources/Usual-C++-interview-question/algorithmic-solutions/possible_combination_of_a_given_string.cpp
Ajay-Embed/dataStructure-implementations
03638b9bc34a7e1ef5fa450be6c660c223608eff
[ "BSD-3-Clause" ]
null
null
null
Interview-preparation-resources/Usual-C++-interview-question/algorithmic-solutions/possible_combination_of_a_given_string.cpp
Ajay-Embed/dataStructure-implementations
03638b9bc34a7e1ef5fa450be6c660c223608eff
[ "BSD-3-Clause" ]
4
2021-01-23T15:24:39.000Z
2021-02-07T05:14:14.000Z
Interview-preparation-resources/Usual-C++-interview-question/algorithmic-solutions/possible_combination_of_a_given_string.cpp
Ajay-Embed/dataStructure-implementations
03638b9bc34a7e1ef5fa450be6c660c223608eff
[ "BSD-3-Clause" ]
2
2020-11-17T20:40:39.000Z
2021-01-30T17:12:33.000Z
//code to find all possible combinations of a given string #include <iostream> #include <bits/stdc++.h> using namespace std; void permut(string s, int i, int n) { // Recursion end case if (i == n) cout << s << " "; else { for (int j = i; j <= n; j++) { swap(s[i], ...
15.323529
58
0.452975
Ajay-Embed
45b5656d99ec73a5687a9c57e0255033950efb59
863
hpp
C++
HexDumper.hpp
jancarlsson/snarkfront
7f90a4181721f758f114497382aa462185e71dae
[ "MIT" ]
60
2015-01-02T12:28:40.000Z
2021-04-13T01:40:07.000Z
HexDumper.hpp
artree222/snarkfront
7f90a4181721f758f114497382aa462185e71dae
[ "MIT" ]
8
2015-03-05T13:12:39.000Z
2018-07-03T07:17:45.000Z
HexDumper.hpp
artree222/snarkfront
7f90a4181721f758f114497382aa462185e71dae
[ "MIT" ]
17
2015-01-22T03:10:49.000Z
2020-12-27T12:22:17.000Z
#ifndef _SNARKFRONT_HEX_DUMPER_HPP_ #define _SNARKFRONT_HEX_DUMPER_HPP_ #include <cstdint> #include <istream> #include <ostream> #include <vector> #include <cryptl/ASCII_Hex.hpp> #include <cryptl/DataPusher.hpp> namespace snarkfront { //////////////////////////////////////////////////////////////////////////////// ...
19.177778
80
0.618772
jancarlsson
45b6bb571b5dcd870ad59efbb29989e5fc5dfa59
1,278
hpp
C++
Siv3D/include/Siv3D/Base64.hpp
Fuyutsubaki/OpenSiv3D
4370f6ebe28addd39bfdd75915c5a18e3e5e9273
[ "MIT" ]
1
2018-05-23T10:57:32.000Z
2018-05-23T10:57:32.000Z
Siv3D/include/Siv3D/Base64.hpp
Fuyutsubaki/OpenSiv3D
4370f6ebe28addd39bfdd75915c5a18e3e5e9273
[ "MIT" ]
null
null
null
Siv3D/include/Siv3D/Base64.hpp
Fuyutsubaki/OpenSiv3D
4370f6ebe28addd39bfdd75915c5a18e3e5e9273
[ "MIT" ]
1
2019-10-06T17:09:26.000Z
2019-10-06T17:09:26.000Z
//----------------------------------------------- // // 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. // //----------------------------------------------- # pragma once # include "Fwd.hpp" namespace s...
20.612903
61
0.553991
Fuyutsubaki
45b73eca1940d922653a5d22e172df165ef4f990
824
cpp
C++
superneurons/testing/test_malloc_free_speed.cpp
Phaeton-lang/baselines
472c248047fbb55b5fa0e620758047b7f0a1d041
[ "MIT" ]
null
null
null
superneurons/testing/test_malloc_free_speed.cpp
Phaeton-lang/baselines
472c248047fbb55b5fa0e620758047b7f0a1d041
[ "MIT" ]
null
null
null
superneurons/testing/test_malloc_free_speed.cpp
Phaeton-lang/baselines
472c248047fbb55b5fa0e620758047b7f0a1d041
[ "MIT" ]
null
null
null
// // Created by ay27 on 8/15/17. // #include <superneurons.h> using namespace std; using namespace SuperNeurons; int main(int argc, char** argv) { const int T = 100; const size_t MB = 1024*1024; double ts; double t1 = 0, t2 = 0; size_t size; //---------------------------------------------...
20.097561
58
0.433252
Phaeton-lang
45c0d698f2da891f8e4c70ef14a9883932ed1004
1,492
cpp
C++
GeeksForGeeks/Strongly Connected Components (Kosaraju's Algo).cpp
tanishq1g/cp_codes
80b8ccc9e195a66d6d317076fdd54a02cd21275b
[ "MIT" ]
null
null
null
GeeksForGeeks/Strongly Connected Components (Kosaraju's Algo).cpp
tanishq1g/cp_codes
80b8ccc9e195a66d6d317076fdd54a02cd21275b
[ "MIT" ]
null
null
null
GeeksForGeeks/Strongly Connected Components (Kosaraju's Algo).cpp
tanishq1g/cp_codes
80b8ccc9e195a66d6d317076fdd54a02cd21275b
[ "MIT" ]
null
null
null
#include <iostream> #include <string> #include <vector> #include <locale> #include <algorithm> #include <cmath> #include <unordered_map> #include <bitset> #include <climits> #include <queue> #include <stack> using namespace std; // GRAPH void dfs(vector<int> adj[], vector<bool> &vis, stack<int> &st, int ind){ vis...
19.893333
72
0.476542
tanishq1g
45c1f7f43093cf219183eba6c6043dbd56ca7db3
1,532
cpp
C++
CWin/CWin/events/event_trigger_condition.cpp
benbraide/CWin
0441b48a71fef0dbddabf61033d7286669772c1e
[ "MIT" ]
null
null
null
CWin/CWin/events/event_trigger_condition.cpp
benbraide/CWin
0441b48a71fef0dbddabf61033d7286669772c1e
[ "MIT" ]
null
null
null
CWin/CWin/events/event_trigger_condition.cpp
benbraide/CWin
0441b48a71fef0dbddabf61033d7286669772c1e
[ "MIT" ]
null
null
null
#include "event_trigger_condition.h" cwin::events::trigger_condition::~trigger_condition() = default; cwin::events::trigger_condition::operator m_callback_type() const{ return get(); } cwin::events::trigger_condition::m_callback_type cwin::events::trigger_condition::get() const{ return nullptr; } cwin::events::ex...
31.916667
105
0.772846
benbraide
45c4ff283f1bd510f5089c454c2a348f353c0a08
3,347
cpp
C++
12_TIM1_PWM_input/main.cpp
AVilezhaninov/STM32F429VG
cb77fb53235ffd4cdf000749e4857108bc96c2cb
[ "MIT" ]
null
null
null
12_TIM1_PWM_input/main.cpp
AVilezhaninov/STM32F429VG
cb77fb53235ffd4cdf000749e4857108bc96c2cb
[ "MIT" ]
null
null
null
12_TIM1_PWM_input/main.cpp
AVilezhaninov/STM32F429VG
cb77fb53235ffd4cdf000749e4857108bc96c2cb
[ "MIT" ]
null
null
null
/* CMSIS */ #include "CMSIS\Device\stm32f4xx.h" /* User */ #include "user\RCC.h" /******************************************************************************/ /* Private definitions ********************************************************/ /**************************************************************************...
42.367089
80
0.380042
AVilezhaninov
45c88d8e96e32d7e9ca06903b231e840b90406f2
836
cxx
C++
src/engine/ivp/ivp_collision/ivp_clustering_lrange_hash.cxx
cstom4994/SourceEngineRebuild
edfd7f8ce8af13e9d23586318350319a2e193c08
[ "MIT" ]
6
2022-01-23T09:40:33.000Z
2022-03-20T20:53:25.000Z
src/engine/ivp/ivp_collision/ivp_clustering_lrange_hash.cxx
cstom4994/SourceEngineRebuild
edfd7f8ce8af13e9d23586318350319a2e193c08
[ "MIT" ]
null
null
null
src/engine/ivp/ivp_collision/ivp_clustering_lrange_hash.cxx
cstom4994/SourceEngineRebuild
edfd7f8ce8af13e9d23586318350319a2e193c08
[ "MIT" ]
1
2022-02-06T21:05:23.000Z
2022-02-06T21:05:23.000Z
// Copyright (C) Ipion Software GmbH 1999-2000. All rights reserved. #include <ivp_physics.hxx> #include <ivu_vhash.hxx> #include <ivp_clustering_longrange.hxx> #include <ivp_clustering_lrange_hash.hxx> IVP_ov_tree_hash::~IVP_ov_tree_hash() { ; } int IVP_ov_tree_hash::node_to_index(IVP_OV_Node *node) { return ...
24.588235
79
0.697368
cstom4994
68f7074b50725b6a6363ef2a3ca8ae00111b5899
19,721
cpp
C++
components/sound/manager/sources/manager/sound_manager.cpp
untgames/funner
c91614cda55fd00f5631d2bd11c4ab91f53573a3
[ "MIT" ]
7
2016-03-30T17:00:39.000Z
2017-03-27T16:04:04.000Z
components/sound/manager/sources/manager/sound_manager.cpp
untgames/Funner
c91614cda55fd00f5631d2bd11c4ab91f53573a3
[ "MIT" ]
4
2017-11-21T11:25:49.000Z
2018-09-20T17:59:27.000Z
components/sound/manager/sources/manager/sound_manager.cpp
untgames/Funner
c91614cda55fd00f5631d2bd11c4ab91f53573a3
[ "MIT" ]
4
2016-11-29T15:18:40.000Z
2017-03-27T16:04:08.000Z
#include <stl/algorithm> #include <stl/hash_map> #include <stl/list> #include <stl/stack> #include <stl/string> #include <xtl/bind.h> #include <xtl/common_exceptions.h> #include <xtl/function.h> #include <xtl/intrusive_ptr.h> #include <xtl/iterator.h> #include <xtl/shared_ptr.h> #include <xtl/signal.h> ...
33.539116
221
0.637341
untgames
68f869732418d1de819ccec3d477502ec2a8e751
2,715
cpp
C++
vkconfig/widget_preset.cpp
johnzupin/VulkanTools
4a4d824b43984d29902f7c8246aab99f0909151d
[ "Apache-2.0" ]
null
null
null
vkconfig/widget_preset.cpp
johnzupin/VulkanTools
4a4d824b43984d29902f7c8246aab99f0909151d
[ "Apache-2.0" ]
null
null
null
vkconfig/widget_preset.cpp
johnzupin/VulkanTools
4a4d824b43984d29902f7c8246aab99f0909151d
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2020 Valve Corporation * Copyright (c) 2020 LunarG, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unl...
31.569767
130
0.698343
johnzupin
68ff22d8df3673d6303576f88fc3fa40888fd4de
1,947
cpp
C++
network/src/network/loopPrivate.cpp
yandaomin/network
fd88844116d77639c7a76ec61fb352f2710f47a8
[ "Apache-2.0" ]
null
null
null
network/src/network/loopPrivate.cpp
yandaomin/network
fd88844116d77639c7a76ec61fb352f2710f47a8
[ "Apache-2.0" ]
null
null
null
network/src/network/loopPrivate.cpp
yandaomin/network
fd88844116d77639c7a76ec61fb352f2710f47a8
[ "Apache-2.0" ]
null
null
null
#include "loopPrivate.h" #include "async.h" #include "loop.h" // LoopPrivate::LoopPrivate() // : LoopPrivate(false) // { // isRunning_ = false; // } LoopPrivate::LoopPrivate(bool isDefault) { isRunning_ = false; if (isDefault) { loop_ = uv_default_loop(); } else { loop_ = new uv_loop_t(); ::uv_loop_init(l...
17.7
56
0.662044
yandaomin
ec087b40fc0aeb9bb7862421ed3d0a0427b72406
170
hpp
C++
dfg/dataAnalysisAll.hpp
tc3t/dfglib
7157973e952234a010da8e9fbd551a912c146368
[ "MIT", "BSL-1.0", "BSD-3-Clause" ]
1
2017-08-01T04:42:29.000Z
2017-08-01T04:42:29.000Z
dfg/dataAnalysisAll.hpp
tc3t/dfglib
7157973e952234a010da8e9fbd551a912c146368
[ "MIT", "BSL-1.0", "BSD-3-Clause" ]
128
2018-04-06T23:01:51.000Z
2022-03-31T20:19:38.000Z
dfg/dataAnalysisAll.hpp
tc3t/dfglib
7157973e952234a010da8e9fbd551a912c146368
[ "MIT", "BSL-1.0", "BSD-3-Clause" ]
3
2018-03-21T01:11:05.000Z
2021-04-05T19:20:31.000Z
#pragma once #include "dataAnalysis/correlation.hpp" #include "dataAnalysis/smoothWithNeighbourAverages.hpp" #include "dataAnalysis/smoothWithNeighbourMedians.hpp"
28.333333
56
0.823529
tc3t
ec0ecae6922b038f7a8c11091a6209d1259ba087
1,271
cpp
C++
week08/lesson/743-network-delay-time-Dijkstra.cpp
MiracleWong/algorithm-learning-camp
aa5bee8f12dc25992aaebd46647537633bf1207f
[ "MIT" ]
null
null
null
week08/lesson/743-network-delay-time-Dijkstra.cpp
MiracleWong/algorithm-learning-camp
aa5bee8f12dc25992aaebd46647537633bf1207f
[ "MIT" ]
null
null
null
week08/lesson/743-network-delay-time-Dijkstra.cpp
MiracleWong/algorithm-learning-camp
aa5bee8f12dc25992aaebd46647537633bf1207f
[ "MIT" ]
null
null
null
class Solution { public: int networkDelayTime(vector<vector<int>>& times, int n, int k) { // 建立图 vector<vector<int>> ver(n+1, vector<int>()); vector<vector<int>> edge(n+1, vector<int>()); for (auto& e: times) { int x = e[0], y = e[1], z = e[2]; ver[x].push_bac...
28.886364
68
0.389457
MiracleWong
ec0eef56d74c1c6cc4dae12c44f81b1e0cf72c91
689
cpp
C++
benchmarks/clean_shared_memory.cpp
MaximilienNaveau/shared_memory
1440454759cdd19e0d898753d86b8714c1aefa84
[ "BSD-3-Clause" ]
2
2020-09-08T04:01:02.000Z
2021-01-28T15:02:11.000Z
benchmarks/clean_shared_memory.cpp
MaximilienNaveau/shared_memory
1440454759cdd19e0d898753d86b8714c1aefa84
[ "BSD-3-Clause" ]
13
2019-09-24T17:21:49.000Z
2021-03-02T10:09:03.000Z
benchmarks/clean_shared_memory.cpp
MaximilienNaveau/shared_memory
1440454759cdd19e0d898753d86b8714c1aefa84
[ "BSD-3-Clause" ]
2
2019-05-06T08:25:35.000Z
2020-04-14T11:49:02.000Z
/** * @file clean_shared_memory.cpp * @author Vincent Berenz * @license License BSD-3-Clause * @copyright Copyright (c) 2019, New York University and Max Planck * Gesellschaft. * @date 2019-05-22 * * @brief Clean the shared memory of the benchmark, the unnittests, ... */ #include <boost/interprocess/managed_s...
29.956522
79
0.744557
MaximilienNaveau
ec1575753c7539cdf739067f1dad2f0a0b145d89
1,263
cpp
C++
solutions/partition_to_k_equal_sum_subsets.cpp
kmykoh97/My-Leetcode
0ffdea16c3025805873aafb6feffacaf3411a258
[ "Apache-2.0" ]
null
null
null
solutions/partition_to_k_equal_sum_subsets.cpp
kmykoh97/My-Leetcode
0ffdea16c3025805873aafb6feffacaf3411a258
[ "Apache-2.0" ]
null
null
null
solutions/partition_to_k_equal_sum_subsets.cpp
kmykoh97/My-Leetcode
0ffdea16c3025805873aafb6feffacaf3411a258
[ "Apache-2.0" ]
null
null
null
// Given an array of integers nums and a positive integer k, find whether it's possible to divide this array into k non-empty subsets whose sums are all equal. // Example 1: // Input: nums = [4, 3, 2, 3, 5, 2, 1], k = 4 // Output: True // Explanation: It's possible to divide it into 4 subsets (5), (1, 4), (2,3), (...
29.372093
159
0.524941
kmykoh97
ec1b25669f107c859b42ff23c246f036309fd584
961
cc
C++
third_party/blink/renderer/modules/peerconnection/rtc_encoded_audio_receiver_sink_optimizer.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
14,668
2015-01-01T01:57:10.000Z
2022-03-31T23:33:32.000Z
third_party/blink/renderer/modules/peerconnection/rtc_encoded_audio_receiver_sink_optimizer.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
86
2015-10-21T13:02:42.000Z
2022-03-14T07:50:50.000Z
third_party/blink/renderer/modules/peerconnection/rtc_encoded_audio_receiver_sink_optimizer.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
5,941
2015-01-02T11:32:21.000Z
2022-03-31T16:35:46.000Z
#include "third_party/blink/renderer/modules/peerconnection/rtc_encoded_audio_receiver_sink_optimizer.h" #include "third_party/blink/renderer/platform/scheduler/public/post_cross_thread_task.h" #include "third_party/blink/renderer/platform/wtf/cross_thread_functional.h" namespace blink { RtcEncodedAudioReceiverSinkOp...
38.44
104
0.825182
zealoussnow
ec1df7964614a4d7c573d595175c61fd57240122
3,463
cpp
C++
Queries/LanguageQuery.cpp
garmin/ActiveCaptainCommunitySDK-common
a7574a3b85b77771ceb47e5fc9a99fd31a10d47a
[ "Apache-2.0" ]
null
null
null
Queries/LanguageQuery.cpp
garmin/ActiveCaptainCommunitySDK-common
a7574a3b85b77771ceb47e5fc9a99fd31a10d47a
[ "Apache-2.0" ]
null
null
null
Queries/LanguageQuery.cpp
garmin/ActiveCaptainCommunitySDK-common
a7574a3b85b77771ceb47e5fc9a99fd31a10d47a
[ "Apache-2.0" ]
null
null
null
/*------------------------------------------------------------------------------ Copyright 2021 Garmin Ltd. or its subsidiaries. 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.apach...
28.619835
80
0.574646
garmin
ec1f214e9a1c35cd7ee04a0109985f1a428a2937
2,473
hpp
C++
third-party/Empirical/include/emp/io/ascii_utils.hpp
koellingh/empirical-p53-simulator
aa6232f661e8fc65852ab6d3e809339557af521b
[ "MIT" ]
null
null
null
third-party/Empirical/include/emp/io/ascii_utils.hpp
koellingh/empirical-p53-simulator
aa6232f661e8fc65852ab6d3e809339557af521b
[ "MIT" ]
null
null
null
third-party/Empirical/include/emp/io/ascii_utils.hpp
koellingh/empirical-p53-simulator
aa6232f661e8fc65852ab6d3e809339557af521b
[ "MIT" ]
null
null
null
/** * @note This file is part of Empirical, https://github.com/devosoft/Empirical * @copyright Copyright (C) Michigan State University, MIT Software license; see doc/LICENSE.md * @date 2020 * * @file ascii_utils.hpp * @brief Tools for working with ascii output. * @note Status: ALPHA * */ #ifndef EMP_A...
33.418919
96
0.57501
koellingh
ec1f273a78a9da8364d7fbaac6258d91b67b5c61
341
cc
C++
relative_path.cc
dancerj/gitlstreefs
f5eca366643a47814d3a12bc458e64a6a093e315
[ "BSD-3-Clause" ]
2
2015-10-05T10:30:14.000Z
2018-09-10T05:35:04.000Z
relative_path.cc
dancerj/gitlstreefs
f5eca366643a47814d3a12bc458e64a6a093e315
[ "BSD-3-Clause" ]
1
2015-10-04T16:58:10.000Z
2015-10-18T08:53:04.000Z
relative_path.cc
dancerj/gitlstreefs
f5eca366643a47814d3a12bc458e64a6a093e315
[ "BSD-3-Clause" ]
1
2015-09-28T04:25:20.000Z
2015-09-28T04:25:20.000Z
#include "relative_path.h" #include <assert.h> #include <string> using std::string; string GetRelativePath(const char* path) { // Input is /absolute/path/below // convert to a relative path. assert(*path != 0); if (path[1] == 0) { // special-case / ? "" isn't a good relative path. return "./"; } ...
17.05
54
0.615836
dancerj
ec213f9231c8fb1d202eee73c015179b132f8df4
5,346
cpp
C++
01_Develop/libXMCocos2D/Source/extensions/CCScrollView/CCSorting.cpp
mcodegeeks/OpenKODE-Framework
d4382d781da7f488a0e7667362a89e8e389468dd
[ "MIT" ]
2
2017-08-03T07:15:00.000Z
2018-06-18T10:32:53.000Z
01_Develop/libXMCocos2D/Source/extensions/CCScrollView/CCSorting.cpp
mcodegeeks/OpenKODE-Framework
d4382d781da7f488a0e7667362a89e8e389468dd
[ "MIT" ]
null
null
null
01_Develop/libXMCocos2D/Source/extensions/CCScrollView/CCSorting.cpp
mcodegeeks/OpenKODE-Framework
d4382d781da7f488a0e7667362a89e8e389468dd
[ "MIT" ]
2
2019-03-04T22:57:42.000Z
2020-03-06T01:32:26.000Z
/* -------------------------------------------------------------------------- * * File CCSorting.cpp * Author Y.H Mun * * -------------------------------------------------------------------------- * * Copyright (c) 2010-2013 cocos2d-x.org * Copyright (c) 2010 San...
27.415385
128
0.559858
mcodegeeks
ec29a544d9100b3387e11d9bc03102fb43674314
329
hh
C++
src/UsageEnvironment/include/UsageEnvironment_version.hh
RayanWang/Live555
3a8b2998e5872326e4edb96e6e7dc46dc1d16af4
[ "MIT" ]
5
2018-04-09T02:03:33.000Z
2022-03-26T16:17:52.000Z
src/UsageEnvironment/include/UsageEnvironment_version.hh
RayanWang/Live555
3a8b2998e5872326e4edb96e6e7dc46dc1d16af4
[ "MIT" ]
null
null
null
src/UsageEnvironment/include/UsageEnvironment_version.hh
RayanWang/Live555
3a8b2998e5872326e4edb96e6e7dc46dc1d16af4
[ "MIT" ]
null
null
null
// Version information for the "UsageEnvironment" library // Copyright (c) 1996-2014 Live Networks, Inc. All rights reserved. #ifndef _USAGEENVIRONMENT_VERSION_HH #define _USAGEENVIRONMENT_VERSION_HH #define USAGEENVIRONMENT_LIBRARY_VERSION_STRING "2014.12.17" #define USAGEENVIRONMENT_LIBRARY_VERSION_INT 1418774400...
29.909091
68
0.835866
RayanWang
ec2bc096ac8d02bf32f1e3d46ed2a7005d6d0383
3,663
cpp
C++
Builds/vs2013/Task2/unittest1.cpp
AJ-Moore/AIStates
b2bc31d7d3cbec25b4efacbe9ae6c9940e8e68e4
[ "MIT" ]
null
null
null
Builds/vs2013/Task2/unittest1.cpp
AJ-Moore/AIStates
b2bc31d7d3cbec25b4efacbe9ae6c9940e8e68e4
[ "MIT" ]
null
null
null
Builds/vs2013/Task2/unittest1.cpp
AJ-Moore/AIStates
b2bc31d7d3cbec25b4efacbe9ae6c9940e8e68e4
[ "MIT" ]
null
null
null
#include "stdafx.h" #include "CppUnitTest.h" #include <AI.h> #include <FSM.h> using namespace Microsoft::VisualStudio::CppUnitTestFramework; namespace Task2 { TEST_CLASS(UnitTest1) { public: //Test that the AI Starting State is Idle TEST_METHOD(StartState) { AI ai(false, 0, 0); Assert::AreEqual...
31.577586
83
0.670762
AJ-Moore
ec2c9e529ef42d3a903fcae5273beb2dec55545d
276
cpp
C++
Char.cpp
RafelNunes/ifsc-programacao
40622fb1a5496e09f4800220e293385468fef323
[ "MIT" ]
null
null
null
Char.cpp
RafelNunes/ifsc-programacao
40622fb1a5496e09f4800220e293385468fef323
[ "MIT" ]
null
null
null
Char.cpp
RafelNunes/ifsc-programacao
40622fb1a5496e09f4800220e293385468fef323
[ "MIT" ]
null
null
null
#include<stdio.h> #include<stdlib.h> int main(void){ char letra1, letra2; printf("Digite um caracter: "); scanf("%c", &letra1); while(letra1 != 'X') {printf("Digite um caracter: "); scanf(" %c", &letra1); } printf("Letra1: %c Letra2: %c\n", letra1, letra2); }
16.235294
51
0.605072
RafelNunes