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
67b33b7d0cedbadbea6d581bdc6c589827a328e5
4,795
cpp
C++
Coin3D/src/engines/SoFieldConverter.cpp
pniaz20/inventor-utils
2306b758b15bd1a0df3fb9bd250215b7bb7fac3f
[ "MIT" ]
null
null
null
Coin3D/src/engines/SoFieldConverter.cpp
pniaz20/inventor-utils
2306b758b15bd1a0df3fb9bd250215b7bb7fac3f
[ "MIT" ]
null
null
null
Coin3D/src/engines/SoFieldConverter.cpp
pniaz20/inventor-utils
2306b758b15bd1a0df3fb9bd250215b7bb7fac3f
[ "MIT" ]
null
null
null
/**************************************************************************\ * Copyright (c) Kongsberg Oil & Gas Technologies AS * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * Red...
31.546053
84
0.739937
pniaz20
67b3db366d4eb95400294fa5865e1640e81ecb51
9,694
cc
C++
DQM/EcalMonitorTasks/plugins/EcalFEDMonitor.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
5
2020-07-02T19:05:26.000Z
2022-02-25T14:37:09.000Z
DQM/EcalMonitorTasks/plugins/EcalFEDMonitor.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
524
2018-01-29T15:50:45.000Z
2021-08-04T14:03:21.000Z
DQM/EcalMonitorTasks/plugins/EcalFEDMonitor.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
8
2020-06-08T16:28:54.000Z
2021-11-16T14:40:00.000Z
#include "DQM/EcalMonitorTasks/interface/EcalFEDMonitor.h" #include "DataFormats/EcalDetId/interface/EcalSubdetector.h" #include "FWCore/Framework/interface/MakerMacros.h" template <int SUBDET> EcalFEDMonitorTemp<SUBDET>::EcalFEDMonitorTemp(edm::ParameterSet const& _ps) : folderName_(_ps.getUntrackedParameter<std:...
39.08871
119
0.676604
ckamtsikis
67b4a0562e409e51216d1cfd8c7c85433b367b3a
9,276
cpp
C++
embedded/common/src/azydev/embedded/bus/spi/microchip/mcp2030/transcoder.cpp
azydevelopment/embedded
014afa0af3a3827f61efe45bc97f2d39e81bd201
[ "MIT" ]
2
2017-10-18T07:19:47.000Z
2017-10-18T07:19:50.000Z
embedded/common/src/azydev/embedded/bus/spi/microchip/mcp2030/transcoder.cpp
azydevelopment/embedded
014afa0af3a3827f61efe45bc97f2d39e81bd201
[ "MIT" ]
null
null
null
embedded/common/src/azydev/embedded/bus/spi/microchip/mcp2030/transcoder.cpp
azydevelopment/embedded
014afa0af3a3827f61efe45bc97f2d39e81bd201
[ "MIT" ]
null
null
null
/* The MIT License (MIT) * * Copyright (c) 2017 Andrew Yeung <azy.development@gmail.com> * * 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 th...
38.016393
102
0.673458
azydevelopment
67b560daea96448b6d19431fd21bca311d6bdd2e
601
cpp
C++
ver2/02-variables-and-basic-types/02-39-missing-semicolon.cpp
aafulei/cppp5e
f8d254073866e3025c3a08b919d9bbe3965b6918
[ "MIT" ]
null
null
null
ver2/02-variables-and-basic-types/02-39-missing-semicolon.cpp
aafulei/cppp5e
f8d254073866e3025c3a08b919d9bbe3965b6918
[ "MIT" ]
null
null
null
ver2/02-variables-and-basic-types/02-39-missing-semicolon.cpp
aafulei/cppp5e
f8d254073866e3025c3a08b919d9bbe3965b6918
[ "MIT" ]
null
null
null
// 21/12/21 = Tue // 18/02/02 = Fri // Exercise 2.39: Compile the following program to see what happens when you // forget the semicolon after a class definition. Remember the message for // future reference. // Note: This program won't compile. /* === Compile and Run === (Linux/macOS) clang++ -std=c++11 -pedantic -...
22.259259
76
0.677205
aafulei
67b5987fe0766aef30608a214937b28d98fcd281
2,705
hpp
C++
hpx/components/security/secret_key.hpp
kempj/hpx
ffdbfed5dfa029a0f2e97e7367cb66d12103df67
[ "BSL-1.0" ]
null
null
null
hpx/components/security/secret_key.hpp
kempj/hpx
ffdbfed5dfa029a0f2e97e7367cb66d12103df67
[ "BSL-1.0" ]
null
null
null
hpx/components/security/secret_key.hpp
kempj/hpx
ffdbfed5dfa029a0f2e97e7367cb66d12103df67
[ "BSL-1.0" ]
null
null
null
// Copyright (c) 2013 Jeroen Habraken // // 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) #ifndef HPX_COMPONENTS_SECURITY_SERVER_SECRET_KEY_HPP #define HPX_COMPONENTS_SECURITY_SERVER_SECRET_KEY_HPP #include <hpx...
26.009615
80
0.50647
kempj
67b7d681391af04e35a2ba15ab61233c0099630a
1,639
cpp
C++
rEFIt_UEFI/Platform/Volumes.cpp
crazyinsanejames/CloverBootloader
799880e95aaa2783f27373e91837fc105352e82f
[ "BSD-2-Clause" ]
3,861
2019-09-04T10:10:11.000Z
2022-03-31T15:46:28.000Z
rEFIt_UEFI/Platform/Volumes.cpp
crazyinsanejames/CloverBootloader
799880e95aaa2783f27373e91837fc105352e82f
[ "BSD-2-Clause" ]
461
2019-09-24T10:26:56.000Z
2022-03-26T13:22:32.000Z
rEFIt_UEFI/Platform/Volumes.cpp
crazyinsanejames/CloverBootloader
799880e95aaa2783f27373e91837fc105352e82f
[ "BSD-2-Clause" ]
654
2019-09-05T11:42:37.000Z
2022-03-30T02:42:32.000Z
/* * Volumes.cpp * * Created on: Feb 4, 2021 * Author: jief */ #include "Volumes.h" REFIT_VOLUME *SelfVolume = NULL; VolumesArrayClass Volumes; //REFIT_VOLUME* VolumesArrayClass::getApfsPartitionWithUUID(const XString8& ApfsContainerUUID, const XString8& APFSTargetUUID) //{ //} REFIT_VOLUME* Volume...
30.924528
151
0.688835
crazyinsanejames
67b879d25bf7f4aa49e55b2db89fcc32fad1a3af
1,175
cc
C++
ports/www/chromium-legacy/newport/files/patch-content_utility_utility__blink__platform__with__sandbox__support__impl.cc
danielfojt/DeltaPorts
5710b4af4cacca5eb1ac577df304c788c07c4217
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
ports/www/chromium-legacy/newport/files/patch-content_utility_utility__blink__platform__with__sandbox__support__impl.cc
danielfojt/DeltaPorts
5710b4af4cacca5eb1ac577df304c788c07c4217
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
ports/www/chromium-legacy/newport/files/patch-content_utility_utility__blink__platform__with__sandbox__support__impl.cc
danielfojt/DeltaPorts
5710b4af4cacca5eb1ac577df304c788c07c4217
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
--- content/utility/utility_blink_platform_with_sandbox_support_impl.cc.orig 2019-10-21 19:06:33 UTC +++ content/utility/utility_blink_platform_with_sandbox_support_impl.cc @@ -9,7 +9,7 @@ #if defined(OS_MACOSX) #include "content/child/child_process_sandbox_support_impl_mac.h" -#elif defined(OS_LINUX) +#elif define...
39.166667
100
0.77617
danielfojt
67b998033dbe8e18c4c306516116d855126ee195
33,655
cxx
C++
MUON/MUONrec/AliMUONClusterFinderPeakCOG.cxx
AllaMaevskaya/AliRoot
c53712645bf1c7d5f565b0d3228e3a6b9b09011a
[ "BSD-3-Clause" ]
52
2016-12-11T13:04:01.000Z
2022-03-11T11:49:35.000Z
MUON/MUONrec/AliMUONClusterFinderPeakCOG.cxx
AllaMaevskaya/AliRoot
c53712645bf1c7d5f565b0d3228e3a6b9b09011a
[ "BSD-3-Clause" ]
1,388
2016-11-01T10:27:36.000Z
2022-03-30T15:26:09.000Z
MUON/MUONrec/AliMUONClusterFinderPeakCOG.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 ...
34.063765
170
0.6145
AllaMaevskaya
67ba3c5b032b6d3b49b52926d9156bd7d4ef28c3
1,117
cpp
C++
lib/hope/memory/small_object/small_object.cpp
glensand/hope
775286ad6abb5c7ff3e05ba09c5a429a7b9c0c02
[ "MIT" ]
10
2020-08-15T16:30:30.000Z
2021-09-02T04:04:27.000Z
lib/hope/memory/small_object/small_object.cpp
glensand/hope
775286ad6abb5c7ff3e05ba09c5a429a7b9c0c02
[ "MIT" ]
null
null
null
lib/hope/memory/small_object/small_object.cpp
glensand/hope
775286ad6abb5c7ff3e05ba09c5a429a7b9c0c02
[ "MIT" ]
null
null
null
/* Copyright (C) 2020 Gleb Bezborodov - All Rights Reserved * You may use, distribute and modify this code under the * terms of the MIT license. * * You should have received a copy of the MIT license with * this file. If not, please write to: bezborodoff.gleb@gmail.com, or visit : https://github.com/glensand/hope ...
27.243902
110
0.707252
glensand
67ba9f2435fe49390c197589c4f0ab45b5ec6e59
1,945
hpp
C++
nodes/beta_node.hpp
astrojhgu/mcmc_utilities
228991bc80d739cbc491233140692ca208e81560
[ "BSD-3-Clause" ]
null
null
null
nodes/beta_node.hpp
astrojhgu/mcmc_utilities
228991bc80d739cbc491233140692ca208e81560
[ "BSD-3-Clause" ]
null
null
null
nodes/beta_node.hpp
astrojhgu/mcmc_utilities
228991bc80d739cbc491233140692ca208e81560
[ "BSD-3-Clause" ]
null
null
null
#ifndef BETA_NODE_HPP #define BETA_NODE_HPP #include <core/forward_sampleable_node.hpp> #include <helper/node_counter.hpp> #include <limits> #include <string> #include <cmath> #include <helper/abstract_node_factory.hpp> namespace mcmc_utilities { template <typename T,template <typename TE> class T_vector> class be...
23.154762
102
0.646272
astrojhgu
67bd4faaaa371360503254be964848e0f84c04d9
3,297
cc
C++
ns-3-dev/src/mesh/model/dot11s/ie-dot11s-id.cc
maxvonhippel/snake
0805773dc34e1480dffaae40174aa1f82d1c6ce8
[ "BSD-3-Clause" ]
11
2015-11-24T11:07:28.000Z
2021-12-23T04:10:29.000Z
ns-3-dev/src/mesh/model/dot11s/ie-dot11s-id.cc
maxvonhippel/snake
0805773dc34e1480dffaae40174aa1f82d1c6ce8
[ "BSD-3-Clause" ]
null
null
null
ns-3-dev/src/mesh/model/dot11s/ie-dot11s-id.cc
maxvonhippel/snake
0805773dc34e1480dffaae40174aa1f82d1c6ce8
[ "BSD-3-Clause" ]
6
2016-03-01T06:32:21.000Z
2022-03-24T19:31:41.000Z
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008,2009 IITP RAS * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation; * * This program is dis...
20.735849
84
0.616015
maxvonhippel
67be918e5dd99e296c760a0ab545617700aded39
5,229
cpp
C++
CSIS 112 - Advanced Programming/Lab 6/Splice_Arrays/Splice_Arrays/main.cpp
setdebarr/university-assignments
64bfc720a9ade16a5ba056f200b09c6db216f338
[ "Unlicense" ]
null
null
null
CSIS 112 - Advanced Programming/Lab 6/Splice_Arrays/Splice_Arrays/main.cpp
setdebarr/university-assignments
64bfc720a9ade16a5ba056f200b09c6db216f338
[ "Unlicense" ]
null
null
null
CSIS 112 - Advanced Programming/Lab 6/Splice_Arrays/Splice_Arrays/main.cpp
setdebarr/university-assignments
64bfc720a9ade16a5ba056f200b09c6db216f338
[ "Unlicense" ]
null
null
null
//main.cpp -- splices two integer arrays together, and then copys the elements of both arrays into a new array //CSIS 112-<Section Number> //<Sources if necessary> //Include statements #include <iostream> #include <string> //Global declarations: Constants and type definitions only -- NO variables //Function protot...
30.401163
127
0.688277
setdebarr
67bf15bc03ac67f41acaa106a12817f3ff275a05
4,780
cpp
C++
src/mm/rcalb/src/mm_plugin_rcalb.cpp
omriarad/mcas
f47aab12754c91ebd75b0e1881c8a7cc7aa81278
[ "Apache-2.0" ]
60
2020-04-28T08:15:07.000Z
2022-03-08T10:35:15.000Z
src/mm/rcalb/src/mm_plugin_rcalb.cpp
omriarad/mcas
f47aab12754c91ebd75b0e1881c8a7cc7aa81278
[ "Apache-2.0" ]
66
2020-09-03T23:40:48.000Z
2022-03-07T20:34:52.000Z
src/mm/rcalb/src/mm_plugin_rcalb.cpp
omriarad/mcas
f47aab12754c91ebd75b0e1881c8a7cc7aa81278
[ "Apache-2.0" ]
13
2019-11-02T06:30:36.000Z
2022-01-26T01:56:42.000Z
#include <stdlib.h> #include <string.h> #include <new> /* bad_alloc */ #include <unistd.h> #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wunused-variable" #pragma GCC diagnostic ignored "-Wunused-parameter" //#define DEBUG /* enable log output */ #include "../../mm_plugin_itf.h" #include "rc_alloc_lb....
25.026178
132
0.668828
omriarad
67bf301dfa753980b078bf881b5d0a756971a1b4
1,989
cc
C++
yggdrasil_decision_forests/utils/bytestream.cc
isabella232/yggdrasil-decision-forests
52ed2571c46baa9738f81d7341dc27700dbfec73
[ "Apache-2.0" ]
135
2021-05-12T18:02:11.000Z
2022-03-30T16:48:44.000Z
yggdrasil_decision_forests/utils/bytestream.cc
google/yggdrasil-decision-forests
0b284d8afe7ac4773abcdeee88a77681f8681127
[ "Apache-2.0" ]
11
2021-06-25T17:25:38.000Z
2022-03-30T03:31:24.000Z
yggdrasil_decision_forests/utils/bytestream.cc
isabella232/yggdrasil-decision-forests
52ed2571c46baa9738f81d7341dc27700dbfec73
[ "Apache-2.0" ]
10
2021-05-27T02:51:36.000Z
2022-03-28T07:03:52.000Z
/* * Copyright 2021 Google LLC. * 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in...
31.078125
77
0.673203
isabella232
67bfe582d3bb4f9a633dbb13fab2d1ca1e45e1a9
436
cpp
C++
LAB6/LAB6/Dacia.cpp
florinERotaru/oop-et-al
750af01be09967e4112e7c783439fe2bdc0a11ce
[ "MIT" ]
null
null
null
LAB6/LAB6/Dacia.cpp
florinERotaru/oop-et-al
750af01be09967e4112e7c783439fe2bdc0a11ce
[ "MIT" ]
null
null
null
LAB6/LAB6/Dacia.cpp
florinERotaru/oop-et-al
750af01be09967e4112e7c783439fe2bdc0a11ce
[ "MIT" ]
null
null
null
#define _CRT_SECURE_NO_WARNINGS #include "Dacia.h" #include <cstring> int Dacia::avgSpeed(int weather) { switch (weather) { case 0: // rain return 60; case 1: // sunny return 80; case 2: // snow return 43; } } Dacia::Dacia() { strcpy(name, "Dacia"); fuelCap = 45; ...
17.44
36
0.582569
florinERotaru
67c41ad1ac1cde1039ebdfc423321846c319ebe3
3,702
cpp
C++
src/main/vendors/OceanOptics/protocols/ooi/exchanges/FPGASpectrumExchange.cpp
KOLANICH/SeaBreeze
615b6c689d432c2f901a4505ed0abff5ff799e13
[ "MIT" ]
null
null
null
src/main/vendors/OceanOptics/protocols/ooi/exchanges/FPGASpectrumExchange.cpp
KOLANICH/SeaBreeze
615b6c689d432c2f901a4505ed0abff5ff799e13
[ "MIT" ]
1
2022-01-10T19:33:53.000Z
2022-02-02T14:53:07.000Z
src/main/vendors/OceanOptics/protocols/ooi/exchanges/FPGASpectrumExchange.cpp
KOLANICH/SeaBreeze
615b6c689d432c2f901a4505ed0abff5ff799e13
[ "MIT" ]
null
null
null
/***************************************************/ /** * @file FPGASpectrumExchange.cpp * @date February 2009 * @author Ocean Optics, Inc. * * LICENSE: * * SeaBreeze Copyright (C) 2014, Ocean Optics Inc * * Permission is hereby granted, free of charge, to any person obtaining * a copy of this softwa...
37.77551
87
0.708536
KOLANICH
67c45a7b307ace15036f6800a2d9ba0b41410071
37
cpp
C++
State/PredicateStateCFG.cpp
vorpal-research/borealis
247ca1bb26690e2d605ffc57785151e86dccd5bb
[ "MIT" ]
null
null
null
State/PredicateStateCFG.cpp
vorpal-research/borealis
247ca1bb26690e2d605ffc57785151e86dccd5bb
[ "MIT" ]
null
null
null
State/PredicateStateCFG.cpp
vorpal-research/borealis
247ca1bb26690e2d605ffc57785151e86dccd5bb
[ "MIT" ]
1
2019-09-02T12:56:27.000Z
2019-09-02T12:56:27.000Z
#include "State/PredicateStateCFG.h"
18.5
36
0.810811
vorpal-research
67c7ce6787c9bf7a0be0c7cc579c2513f6d3b05d
39
hpp
C++
src/boost_qvm_deduce_scalar.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
10
2018-03-17T00:58:42.000Z
2021-07-06T02:48:49.000Z
src/boost_qvm_deduce_scalar.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
2
2021-03-26T15:17:35.000Z
2021-05-20T23:55:08.000Z
src/boost_qvm_deduce_scalar.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
4
2019-05-28T21:06:37.000Z
2021-07-06T03:06:52.000Z
#include <boost/qvm/deduce_scalar.hpp>
19.5
38
0.794872
miathedev
67c833b4161bf53e5fa34b56d5c52a9a1182dc5f
6,965
cpp
C++
uploadwidget.cpp
HIIT/meeting-recorder
8fea5b3c0f5dd7eb120b1af8770191b358cd3886
[ "MIT" ]
3
2016-08-25T07:22:19.000Z
2019-05-23T13:12:04.000Z
uploadwidget.cpp
HIIT/meeting-recorder
8fea5b3c0f5dd7eb120b1af8770191b358cd3886
[ "MIT" ]
null
null
null
uploadwidget.cpp
HIIT/meeting-recorder
8fea5b3c0f5dd7eb120b1af8770191b358cd3886
[ "MIT" ]
4
2017-03-20T22:22:33.000Z
2021-12-10T22:35:52.000Z
#include <QDebug> #include <QDialogButtonBox> #include <QGroupBox> #include <QVBoxLayout> #include <QFormLayout> #include <QInputDialog> #include <QLabel> #include "uploadwidget.h" // --------------------------------------------------------------------- UploadWidget::UploadWidget(QWidget *parent, QString directory)...
30.682819
82
0.582915
HIIT
67cc4770ead426ae65e1e9a93682a44500bd6d79
1,088
cpp
C++
Programming Basics - C++/LabEndExercises/04.ComplexCondition/PointnRectangleBorder/PointOnRectangleBorder.cpp
vesy53/SoftUni
0bb3a65d62efb537dfbd9d260c01cf9e3b3adb91
[ "MIT" ]
null
null
null
Programming Basics - C++/LabEndExercises/04.ComplexCondition/PointnRectangleBorder/PointOnRectangleBorder.cpp
vesy53/SoftUni
0bb3a65d62efb537dfbd9d260c01cf9e3b3adb91
[ "MIT" ]
null
null
null
Programming Basics - C++/LabEndExercises/04.ComplexCondition/PointnRectangleBorder/PointOnRectangleBorder.cpp
vesy53/SoftUni
0bb3a65d62efb537dfbd9d260c01cf9e3b3adb91
[ "MIT" ]
null
null
null
// PointnectangleBorder.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include <iostream> #include <cmath> using namespace std; int main() { double x1, y1, x2, y2, x_of_point, y_of_point; cin >> x1 >> y1 >> x2 >> y2 >> x_of_point >> y_of_point; bool is_on_left_border, is_on_rig...
27.2
89
0.675551
vesy53
67cd7c8ce2e802bd94ccd9a7c0b62ab92a4250cf
420
hpp
C++
src/Base/TaskProcessors/MPITaskProcessor/MPIPincoTags.hpp
PhilipVinc/PincoSimulator
562192cf3b09d0e67be7e6fee67ff9b59fbc3fd3
[ "MIT" ]
1
2017-10-23T13:22:01.000Z
2017-10-23T13:22:01.000Z
src/Base/TaskProcessors/MPITaskProcessor/MPIPincoTags.hpp
PhilipVinc/PincoSimulator
562192cf3b09d0e67be7e6fee67ff9b59fbc3fd3
[ "MIT" ]
null
null
null
src/Base/TaskProcessors/MPITaskProcessor/MPIPincoTags.hpp
PhilipVinc/PincoSimulator
562192cf3b09d0e67be7e6fee67ff9b59fbc3fd3
[ "MIT" ]
null
null
null
// // Created by Filippo Vicentini on 22/02/2018. // #ifndef SIMULATOR_MPIPINCOTAGS_HPP #define SIMULATOR_MPIPINCOTAGS_HPP #define MASTER_RANK 0 #define SOLVER_STRING_MESSAGE_TAG 1 #define TASKDATA_VECTOR_MESSAGE_TAG 2 #define TASKRESULTS_VECTOR_MESSAGE_TAG 3 #define TERMINATE_WHEN_DONE_MESSAGE_TAG 15 #define NODE_...
22.105263
46
0.852381
PhilipVinc
67d050b2c3766dd161cd59c8ce8c3934d4fab51a
1,972
cpp
C++
Container.cpp
ProfessorDey/Phantasmagoria
cb3a96cf393d503a8184316957dde97db4f18fc8
[ "BSD-3-Clause" ]
null
null
null
Container.cpp
ProfessorDey/Phantasmagoria
cb3a96cf393d503a8184316957dde97db4f18fc8
[ "BSD-3-Clause" ]
null
null
null
Container.cpp
ProfessorDey/Phantasmagoria
cb3a96cf393d503a8184316957dde97db4f18fc8
[ "BSD-3-Clause" ]
null
null
null
#include "Container.h" #include <sstream> Container::Container() { size = 6; slotsTaken = 0; for (int i = 0; i < size; i++) { contents[i] = 0; } } int Container::SlotsTaken(int m, int value) { if (m) slotsTaken = value; return slotsTaken; } int Container::Size() { return size; } std::st...
26.293333
208
0.640467
ProfessorDey
67d17ad64d0caf8ac072c5f36efd5dea3c8996a3
2,125
cpp
C++
cpp/src/runtime_cpu/datawriter.cpp
fragata-ai/arhat
e22e6655ee83140be30b9657e63af1593e3054ed
[ "Apache-2.0" ]
23
2019-11-28T13:52:04.000Z
2021-12-20T03:00:07.000Z
cpp/src/runtime_cpu/datawriter.cpp
fragata-ai/arhat
e22e6655ee83140be30b9657e63af1593e3054ed
[ "Apache-2.0" ]
1
2019-12-05T09:17:39.000Z
2019-12-05T10:57:30.000Z
cpp/src/runtime_cpu/datawriter.cpp
fragata-ai/arhat
e22e6655ee83140be30b9657e63af1593e3054ed
[ "Apache-2.0" ]
2
2019-12-03T00:02:26.000Z
2019-12-04T17:01:00.000Z
// // Copyright 2019-2020 FRAGATA COMPUTER SYSTEMS AG // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applica...
23.097826
77
0.656
fragata-ai
67d3778d179fe63b63ceaeade9c30b6d1eb9cbdb
13,196
cpp
C++
server/server/server.cpp
Tonyx97/TombMP
7eb2d265df2fe7312b7ed07dd5943736340b921c
[ "MIT" ]
3
2021-10-10T11:12:03.000Z
2021-11-04T16:46:57.000Z
server/server/server.cpp
Tonyx97/TombMP
7eb2d265df2fe7312b7ed07dd5943736340b921c
[ "MIT" ]
null
null
null
server/server/server.cpp
Tonyx97/TombMP
7eb2d265df2fe7312b7ed07dd5943736340b921c
[ "MIT" ]
null
null
null
import utils; import prof; #include <shared/defs.h> #include <shared/net/net.h> #include <shared/crypto/sha512.h> #include <shared/scripting/resource_system.h> #include <shared/scripting/resource.h> #include <shared/timer_system/timer_system.h> #include <game_ms/game_ms.h> #include <scripting/events.h> #include <ne...
25.039848
173
0.724007
Tonyx97
67d457a2c4b6811701439ce0d694f70e0050f804
25,088
cpp
C++
reducers/dedup/src/cilk/encoder-reducer.cpp
neboat/cilkbench
ab94183fa348fa8afb7d1547211b202beb4e1d07
[ "MIT" ]
7
2018-12-09T14:10:16.000Z
2021-02-08T10:37:39.000Z
reducers/dedup/src/cilk/encoder-reducer.cpp
neboat/cilkbench
ab94183fa348fa8afb7d1547211b202beb4e1d07
[ "MIT" ]
null
null
null
reducers/dedup/src/cilk/encoder-reducer.cpp
neboat/cilkbench
ab94183fa348fa8afb7d1547211b202beb4e1d07
[ "MIT" ]
4
2019-05-28T16:22:09.000Z
2020-02-24T18:27:24.000Z
/* * Decoder for dedup files * * Copyright 2010 Princeton University. * All rights reserved. * * Originally written by Minlan Yu. * Largely rewritten by Christian Bienia. */ /* * The pipeline model for Encode is * Fragment->FragmentRefine->Deduplicate->Compress->Reorder * Each stage has basically thre...
33.361702
89
0.592674
neboat
67d4db92ba0b05a67d95172304be867117654a18
1,284
cpp
C++
mine.cpp
yaxollum/DMOJcoin
b9b9811d18bcf1aff91b4abc28a6bad8229fe305
[ "MIT" ]
1
2019-03-07T21:22:25.000Z
2019-03-07T21:22:25.000Z
mine.cpp
yaxollum/DMOJcoin
b9b9811d18bcf1aff91b4abc28a6bad8229fe305
[ "MIT" ]
null
null
null
mine.cpp
yaxollum/DMOJcoin
b9b9811d18bcf1aff91b4abc28a6bad8229fe305
[ "MIT" ]
null
null
null
#include <stdint.h> #include <stdio.h> #include <string.h> #include "interface.h"; void mine() { full_len += 10; uint8_t pp = points / 10 * 16 + points % 10; for (char a = 'a'; a <= 'z'; ++a) { for (char b = 'a'; b <= 'z'; ++b) { for (char c = 'a'; c <= 'z'; ++c) { for (char d = 'a'; d <= 'z'; ++d) ...
22.526316
79
0.366822
yaxollum
67d9cf8cd42fc9693e14cb522dc9c2dc6253c2d8
1,757
cpp
C++
old/OriginalNov132018/ColorMap_readFromCSVfile/MeshGridBuilder - Copy.cpp
mschumak/ColorMap
c09be1e7ee0581b847380bdc1efeb54c56aa2919
[ "MIT" ]
1
2019-11-27T07:39:52.000Z
2019-11-27T07:39:52.000Z
old/OriginalNov132018/ColorMap_readFromCSVfile/MeshGridBuilder - Copy.cpp
mschumak/ColorMap
c09be1e7ee0581b847380bdc1efeb54c56aa2919
[ "MIT" ]
null
null
null
old/OriginalNov132018/ColorMap_readFromCSVfile/MeshGridBuilder - Copy.cpp
mschumak/ColorMap
c09be1e7ee0581b847380bdc1efeb54c56aa2919
[ "MIT" ]
2
2019-11-21T23:14:52.000Z
2019-11-21T23:17:58.000Z
#include "MeshGridBuilder.h" MeshGridBuilder::MeshGridBuilder(const std::string& path_to_image , double xscale, double yscale, sedeen::Size image_size): m_path_to_image(path_to_image), xscale_(xscale), yscale_(yscale), downsample_size_(image_size) { /* log_file = std::ofstream( "log_file.txt", std::ios_b...
25.463768
150
0.696073
mschumak
67db1cc10447917ed8d10841a7c21c9ec6dcc8e5
1,931
cpp
C++
src/remote_server.cpp
Marcos-Seafloor/udp_bridge
4acd257f7da3b6d591f4091fc0dbfadb53d038dd
[ "BSD-2-Clause" ]
null
null
null
src/remote_server.cpp
Marcos-Seafloor/udp_bridge
4acd257f7da3b6d591f4091fc0dbfadb53d038dd
[ "BSD-2-Clause" ]
null
null
null
src/remote_server.cpp
Marcos-Seafloor/udp_bridge
4acd257f7da3b6d591f4091fc0dbfadb53d038dd
[ "BSD-2-Clause" ]
null
null
null
#include "udp_bridge/udp_bridge.h" #include "std_msgs/String.h" #include "std_msgs/Bool.h" #include "std_msgs/Float32.h" #include "geographic_msgs/GeoPointStamped.h" #include "marine_msgs/Heartbeat.h" #include "marine_msgs/Contact.h" #include "marine_msgs/NavEulerStamped.h" #include "marine_msgs/RadarSectorStamped.h" #...
38.62
106
0.751942
Marcos-Seafloor
67db81ac7e5c1edd2ac06147f6fe9869087531fd
2,656
cpp
C++
lib/SILOptimizer/PassManager/SILOptimizerRequests.cpp
tkachukandrew/swift
49ca2d077804e03fa19029b3add128b7a4692806
[ "Apache-2.0" ]
4
2019-04-22T18:02:44.000Z
2021-09-10T10:25:14.000Z
lib/SILOptimizer/PassManager/SILOptimizerRequests.cpp
brandonasuncion/swift
236237fc9ec4e607d29c89e9bc287142a16c2e19
[ "Apache-2.0" ]
1
2020-09-19T16:23:45.000Z
2020-09-19T16:23:45.000Z
lib/SILOptimizer/PassManager/SILOptimizerRequests.cpp
brandonasuncion/swift
236237fc9ec4e607d29c89e9bc287142a16c2e19
[ "Apache-2.0" ]
1
2017-11-01T15:48:30.000Z
2017-11-01T15:48:30.000Z
//===--- SILOptimizerRequests.cpp - Requests for SIL Optimization --------===// // // This source file is part of the Swift.org open source project // // Copyright (c) 2020 Apple Inc. and the Swift project authors // Licensed under Apache License v2.0 with Runtime Library Exception // // See https://swift.org/LICENSE....
36.888889
80
0.66491
tkachukandrew
67e06dbdf2ead3e05670324dddb86b977dc0c06a
1,137
cpp
C++
tests/util/test_math.cpp
GLorieul/FluidBoxPublic
a026e16cf5c6efc606832a9f5bdac3738e0062e3
[ "MIT" ]
null
null
null
tests/util/test_math.cpp
GLorieul/FluidBoxPublic
a026e16cf5c6efc606832a9f5bdac3738e0062e3
[ "MIT" ]
null
null
null
tests/util/test_math.cpp
GLorieul/FluidBoxPublic
a026e16cf5c6efc606832a9f5bdac3738e0062e3
[ "MIT" ]
null
null
null
#include <gtest/gtest.h> #include "util/math.hpp" using namespace fb; TEST(util_misc, abs) { ASSERT_EQ(fb::abs(+2) , 2); ASSERT_EQ(fb::abs(-2) , 2); ASSERT_FLOAT_EQ(fb::abs(+2.0), 2.0); ASSERT_FLOAT_EQ(fb::abs(-2.0), 2.0); } TEST(util_misc, min) { ASSERT_EQ(fb::min(2,3) , 2); ASSERT_EQ(fb:...
24.191489
52
0.588391
GLorieul
67e1c5f7250060d269be32db623aacc94ee396d3
1,760
cpp
C++
src/tests/servers/app/menu_crash/MenuCrash.cpp
Kirishikesan/haiku
835565c55830f2dab01e6e332cc7e2d9c015b51e
[ "MIT" ]
1,338
2015-01-03T20:06:56.000Z
2022-03-26T13:49:54.000Z
src/tests/servers/app/menu_crash/MenuCrash.cpp
Kirishikesan/haiku
835565c55830f2dab01e6e332cc7e2d9c015b51e
[ "MIT" ]
15
2015-01-17T22:19:32.000Z
2021-12-20T12:35:00.000Z
src/tests/servers/app/menu_crash/MenuCrash.cpp
Kirishikesan/haiku
835565c55830f2dab01e6e332cc7e2d9c015b51e
[ "MIT" ]
350
2015-01-08T14:15:27.000Z
2022-03-21T18:14:35.000Z
/* * Copyright 2007, Haiku Inc. * Distributed under the terms of the MIT License. * * Authors: * Axel Dörfler, axeld@pinc-software.de */ #include <stdio.h> #include <Application.h> #include <Menu.h> #include <MenuBar.h> #include <MenuItem.h> #include <View.h> #include <Window.h> class MenuItem : public BMen...
13.538462
68
0.675568
Kirishikesan
67e39239ba659f9b822b6aa0e14ca51d121b9eae
909
cpp
C++
qt/backup2/label_history_dlg.cpp
darkstar62/tribble-backup
4a50a641684b25a6ff9c2850cad2ede0fa487a00
[ "BSD-3-Clause" ]
null
null
null
qt/backup2/label_history_dlg.cpp
darkstar62/tribble-backup
4a50a641684b25a6ff9c2850cad2ede0fa487a00
[ "BSD-3-Clause" ]
null
null
null
qt/backup2/label_history_dlg.cpp
darkstar62/tribble-backup
4a50a641684b25a6ff9c2850cad2ede0fa487a00
[ "BSD-3-Clause" ]
null
null
null
// Copyright (C) 2013 Cory Maccarrone // Author: Cory Maccarrone <darkstar6262@gmail.com> #include "qt/backup2/label_history_dlg.h" #include <QVector> #include <QTreeWidgetItem> #include <sstream> #include "ui_label_history_dlg.h" // NOLINT using std::ostringstream; LabelHistoryDlg::LabelHistoryDlg( QVector<B...
24.567568
61
0.723872
darkstar62
67e41d9bcbedab69ffa23148657f92ac146b644a
1,936
hpp
C++
include/Fabrics/AssetsFabric.hpp
Megaxela/HGEngineReloadedEditor
be79b6089985da1bf811be8a6d06ce25f71236b1
[ "MIT" ]
null
null
null
include/Fabrics/AssetsFabric.hpp
Megaxela/HGEngineReloadedEditor
be79b6089985da1bf811be8a6d06ce25f71236b1
[ "MIT" ]
null
null
null
include/Fabrics/AssetsFabric.hpp
Megaxela/HGEngineReloadedEditor
be79b6089985da1bf811be8a6d06ce25f71236b1
[ "MIT" ]
1
2020-03-12T04:39:14.000Z
2020-03-12T04:39:14.000Z
#pragma once // C++ STL #include <unordered_set> #include <memory> #include <filesystem> #include <functional> #include <map> #include <set> namespace HG::Editor::AssetSystem::Assets { class AbstractAsset; } namespace HG::Editor::Fabrics { /** * @brief Class that describes fabric for * project asse...
24.2
89
0.558368
Megaxela
67e4378ba4e0e0d1447fc58cb035f0ff859e5326
1,484
cpp
C++
src/transport/SecureSession.cpp
joonhaengHeo/connectedhomeip
c24c34b0f94569ba31ffcda5ab76c98160136606
[ "Apache-2.0" ]
1
2022-02-22T02:02:10.000Z
2022-02-22T02:02:10.000Z
src/transport/SecureSession.cpp
joonhaengHeo/connectedhomeip
c24c34b0f94569ba31ffcda5ab76c98160136606
[ "Apache-2.0" ]
null
null
null
src/transport/SecureSession.cpp
joonhaengHeo/connectedhomeip
c24c34b0f94569ba31ffcda5ab76c98160136606
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2021 Project CHIP Authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required ...
30.916667
78
0.690027
joonhaengHeo
67e823cb6827db604ed6e67aacf1be94d351b20f
2,342
cpp
C++
src/node/minisketchwrapper.cpp
apokalyzr/bitcoin
5b4b8f76f3ae11064d4aa3ac157558e364751fd2
[ "MIT" ]
9
2022-02-20T11:12:21.000Z
2022-02-23T21:24:03.000Z
src/node/minisketchwrapper.cpp
apokalyzr/bitcoin
5b4b8f76f3ae11064d4aa3ac157558e364751fd2
[ "MIT" ]
12
2021-12-14T01:00:25.000Z
2022-03-24T01:49:23.000Z
src/node/minisketchwrapper.cpp
apokalyzr/bitcoin
5b4b8f76f3ae11064d4aa3ac157558e364751fd2
[ "MIT" ]
15
2022-02-10T00:08:33.000Z
2022-03-24T00:01:30.000Z
// Copyright (c) 2021 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <node/minisketchwrapper.h> #include <logging.h> #include <util/time.h> #include <minisketch.h> #include <algorithm> #i...
29.275
104
0.627242
apokalyzr
67ec4ee6e4d030d1abf27aaee2791b9c191b80f1
27,815
cpp
C++
src/runtime/agas/server/component_namespace_server.cpp
tapaswenipathak/hpx
4ab69844795a2674dff977509fe09588761b8e6e
[ "BSL-1.0" ]
1
2019-08-17T21:18:03.000Z
2019-08-17T21:18:03.000Z
src/runtime/agas/server/component_namespace_server.cpp
tapaswenipathak/hpx
4ab69844795a2674dff977509fe09588761b8e6e
[ "BSL-1.0" ]
null
null
null
src/runtime/agas/server/component_namespace_server.cpp
tapaswenipathak/hpx
4ab69844795a2674dff977509fe09588761b8e6e
[ "BSL-1.0" ]
null
null
null
//////////////////////////////////////////////////////////////////////////////// // Copyright (c) 2011 Bryce Adelstein-Lelbach // Copyright (c) 2012-2017 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_...
32.532164
87
0.650908
tapaswenipathak
67eee904ac86540c76e54b940ba97bf3a7808a9d
48,491
cpp
C++
dev/Gems/EMotionFX/Code/EMotionFX/Tools/EMotionStudio/Plugins/StandardPlugins/Source/SceneManager/MirrorSetupWindow.cpp
brianherrera/lumberyard
f85344403c1c2e77ec8c75deb2c116e97b713217
[ "AML" ]
1,738
2017-09-21T10:59:12.000Z
2022-03-31T21:05:46.000Z
dev/Gems/EMotionFX/Code/EMotionFX/Tools/EMotionStudio/Plugins/StandardPlugins/Source/SceneManager/MirrorSetupWindow.cpp
ArchitectureStudios/lumberyard
f85344403c1c2e77ec8c75deb2c116e97b713217
[ "AML" ]
427
2017-09-29T22:54:36.000Z
2022-02-15T19:26:50.000Z
dev/Gems/EMotionFX/Code/EMotionFX/Tools/EMotionStudio/Plugins/StandardPlugins/Source/SceneManager/MirrorSetupWindow.cpp
ArchitectureStudios/lumberyard
f85344403c1c2e77ec8c75deb2c116e97b713217
[ "AML" ]
671
2017-09-21T08:04:01.000Z
2022-03-29T14:30:07.000Z
/* * All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or * its licensors. * * For complete copyright and license terms please see the LICENSE at the root of this * distribution (the "License"). All use of this software is governed by the License, * or, if provided, by the license below or t...
38.607484
250
0.603968
brianherrera
67f151fc1082b8fadacb5858b6a89ea7e7b43840
923
hpp
C++
vmm/kvm/kvm.hpp
bl0nd/libvmm
e52605fda07a28fe507bf6274b0c9148f570d4a1
[ "MIT" ]
1
2021-09-15T21:47:40.000Z
2021-09-15T21:47:40.000Z
vmm/kvm/kvm.hpp
ibokuri/libvmm
e52605fda07a28fe507bf6274b0c9148f570d4a1
[ "MIT" ]
null
null
null
vmm/kvm/kvm.hpp
ibokuri/libvmm
e52605fda07a28fe507bf6274b0c9148f570d4a1
[ "MIT" ]
null
null
null
// // kvm.hpp - Public KVM header // #pragma once #include <cstddef> // size_t #include "vmm/kvm/detail/ioctls/system.hpp" #include "vmm/kvm/detail/ioctls/vm.hpp" #include "vmm/kvm/detail/ioctls/vcpu.hpp" #include "vmm/kvm/detail/ioctls/device.hpp" #include "vmm/kvm/detail/types/fam_struct.hpp" namespace vmm::kvm {...
27.147059
75
0.709642
bl0nd
67f1f34d1a8a1616652f914ca00256de379aca60
987
cpp
C++
src/main/cpp/ccc/2011/unfriend.cpp
jo3-l/cp-practice
d1db0c8e9269c8720b31013068dff948b33f57fd
[ "MIT" ]
5
2022-01-05T20:15:47.000Z
2022-02-15T22:40:44.000Z
src/main/cpp/ccc/2011/unfriend.cpp
jo3-l/ccc-java
7a77f365e52496967e5265ecefb34f3b7db5fae8
[ "MIT" ]
3
2022-01-06T01:34:42.000Z
2022-01-20T23:46:53.000Z
src/main/cpp/ccc/2011/unfriend.cpp
jo3-l/ccc-java
7a77f365e52496967e5265ecefb34f3b7db5fae8
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int invited[6]; // invited(i) = bitset of people that person i invited int main() { ios_base::sync_with_stdio(false); cin.tie(nullptr); cout.tie(nullptr); int n; cin >> n; n--; // remove mark for (int i = 0; i < n; i++) { int j; cin >> j; i...
21.456522
84
0.516717
jo3-l
67f37eebef8e2131d03ca5b87037f5a0cc322a06
4,255
cpp
C++
features/cellular/UNITTESTS/at/at_cellularnetwork/at_cellularnetworktest.cpp
korjaa/mbed-os
18634009c5f841a4df53c56ec053668c344ce24f
[ "Apache-2.0", "BSD-3-Clause" ]
6
2018-02-04T11:01:59.000Z
2021-09-09T01:26:21.000Z
features/cellular/UNITTESTS/at/at_cellularnetwork/at_cellularnetworktest.cpp
korjaa/mbed-os
18634009c5f841a4df53c56ec053668c344ce24f
[ "Apache-2.0", "BSD-3-Clause" ]
8
2018-01-15T10:23:03.000Z
2019-04-05T15:09:14.000Z
features/cellular/UNITTESTS/at/at_cellularnetwork/at_cellularnetworktest.cpp
korjaa/mbed-os
18634009c5f841a4df53c56ec053668c344ce24f
[ "Apache-2.0", "BSD-3-Clause" ]
4
2017-03-13T12:38:58.000Z
2018-10-09T06:58:18.000Z
/* * Copyright (c) 2015, Arm Limited and affiliates. * SPDX-License-Identifier: Apache-2.0 * * 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/LICEN...
25.177515
78
0.808696
korjaa
67f67f72c9daf92e3f29798df7a3296e3e786c3d
9,626
cpp
C++
system/worker_thread_pbft.cpp
p-shubham/resilientdb
8e69c28e73ddebdfca8359479be4499c1cb5de41
[ "MIT" ]
1
2022-03-04T20:34:29.000Z
2022-03-04T20:34:29.000Z
system/worker_thread_pbft.cpp
p-shubham/resilientdb
8e69c28e73ddebdfca8359479be4499c1cb5de41
[ "MIT" ]
null
null
null
system/worker_thread_pbft.cpp
p-shubham/resilientdb
8e69c28e73ddebdfca8359479be4499c1cb5de41
[ "MIT" ]
1
2020-02-12T01:20:26.000Z
2020-02-12T01:20:26.000Z
#include "global.h" #include "message.h" #include "thread.h" #include "worker_thread.h" #include "txn.h" #include "wl.h" #include "query.h" #include "ycsb_query.h" #include "math.h" #include "helper.h" #include "msg_thread.h" #include "msg_queue.h" #include "work_queue.h" #include "message.h" #include "timer.h" #includ...
30.365931
157
0.652088
p-shubham
67f7359ff5e7a245c4feb2480c48ee405e4f49c7
1,346
cpp
C++
func/mpi/mpi_put.cpp
jchesterpivotal/Faasm
d4e25baf0c69df7eea8614de3759792748f7b9d4
[ "Apache-2.0" ]
1
2020-04-21T07:33:42.000Z
2020-04-21T07:33:42.000Z
func/mpi/mpi_put.cpp
jchesterpivotal/Faasm
d4e25baf0c69df7eea8614de3759792748f7b9d4
[ "Apache-2.0" ]
4
2020-02-03T18:54:32.000Z
2020-05-13T18:28:28.000Z
func/mpi/mpi_put.cpp
jchesterpivotal/Faasm
d4e25baf0c69df7eea8614de3759792748f7b9d4
[ "Apache-2.0" ]
null
null
null
#include <stdio.h> #include <mpi.h> #include <faasm/faasm.h> #include <faasm/compare.h> #define NUM_ELEMENT 4 FAASM_MAIN_FUNC() { MPI_Init(NULL, NULL); int rank; int worldSize; MPI_Comm_rank(MPI_COMM_WORLD, &rank); MPI_Comm_size(MPI_COMM_WORLD, &worldSize); size_t elemSize = sizeof(int); ...
23.614035
98
0.596582
jchesterpivotal
67f822e93c71c941d7e82d1aa72403630c04683b
1,342
cpp
C++
libcxx/test/std/containers/container.adaptors/stack/stack.cons.alloc/ctor_iterators.pass.cpp
LaudateCorpus1/llvm-project
ff2e0f0c1112558b3f30d8afec7c9882c33c79e3
[ "Apache-2.0" ]
null
null
null
libcxx/test/std/containers/container.adaptors/stack/stack.cons.alloc/ctor_iterators.pass.cpp
LaudateCorpus1/llvm-project
ff2e0f0c1112558b3f30d8afec7c9882c33c79e3
[ "Apache-2.0" ]
null
null
null
libcxx/test/std/containers/container.adaptors/stack/stack.cons.alloc/ctor_iterators.pass.cpp
LaudateCorpus1/llvm-project
ff2e0f0c1112558b3f30d8afec7c9882c33c79e3
[ "Apache-2.0" ]
null
null
null
//===----------------------------------------------------------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
26.313725
80
0.581222
LaudateCorpus1
67f83c73f210663b2aaeda92479d04c351489aec
604
cpp
C++
Downloads/CommonQuestions.cpp
alvim452/curso-C-plus-plus
ea9b996471d5ea9375b483698d62da7f3574f125
[ "MIT" ]
null
null
null
Downloads/CommonQuestions.cpp
alvim452/curso-C-plus-plus
ea9b996471d5ea9375b483698d62da7f3574f125
[ "MIT" ]
null
null
null
Downloads/CommonQuestions.cpp
alvim452/curso-C-plus-plus
ea9b996471d5ea9375b483698d62da7f3574f125
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; //COMMON QUESTIONS. /* PVS-STUDIO. static code analyser. promo code #code_beauty*/ int main() { int savedMoney[5] = {100, 200, 300, 400, 500}; int total = 0; //for(int i=0; i<= 5; i++){ erro comun index 0 to 4 or <=4 not 5. for(int i=0; i< 5; i++){ //corrrig...
26.26087
177
0.609272
alvim452
67fb4f4a6f9de9c737029b7830976eaf7734e763
32,621
hpp
C++
arbor/include/arbor/simd/avx.hpp
akuesters/arbor
c2a2216db0b21860e66b8b2a4e09f2edc601cad1
[ "BSD-3-Clause" ]
null
null
null
arbor/include/arbor/simd/avx.hpp
akuesters/arbor
c2a2216db0b21860e66b8b2a4e09f2edc601cad1
[ "BSD-3-Clause" ]
null
null
null
arbor/include/arbor/simd/avx.hpp
akuesters/arbor
c2a2216db0b21860e66b8b2a4e09f2edc601cad1
[ "BSD-3-Clause" ]
null
null
null
#pragma once // AVX/AVX2 SIMD intrinsics implementation. #ifdef __AVX__ #include <cmath> #include <cstdint> #include <immintrin.h> #include <arbor/simd/approx.hpp> #include <arbor/simd/implbase.hpp> namespace arb { namespace simd { namespace detail { struct avx_int4; struct avx_double4; static constexpr unsigned...
32.719157
114
0.621226
akuesters
67fbaa809402c522de98e6d2aacfc0bac1a03f74
725
cpp
C++
SpaghettiDungeonGen/DRandom.cpp
RedBreadcat/SpaghettiDungeonGenerator
1153dd8f26dfd835ca70c520e735f199f50ef858
[ "MIT" ]
39
2019-11-23T14:52:46.000Z
2022-01-04T08:57:04.000Z
SpaghettiDungeonGen/DRandom.cpp
RedBreadcat/SpaghettiDungeonGenerator
1153dd8f26dfd835ca70c520e735f199f50ef858
[ "MIT" ]
null
null
null
SpaghettiDungeonGen/DRandom.cpp
RedBreadcat/SpaghettiDungeonGenerator
1153dd8f26dfd835ca70c520e735f199f50ef858
[ "MIT" ]
5
2019-11-24T00:35:04.000Z
2019-12-09T11:08:16.000Z
#include "DRandom.h" #include <iostream> DRandom* DRandom::instance = nullptr; DRandom::DRandom(unsigned int seed) { rng.seed(seed); instance = this; } DRandom::~DRandom() { instance = nullptr; } Direction DRandom::GetDirection() { boost::random::uniform_int_distribution<int> distributionDir(0, 3); return stat...
18.589744
68
0.725517
RedBreadcat
67fcf735412ab081f12a2a94eef6f437a59faca5
4,677
cpp
C++
ENgine/SceneEntities/UI/ContainerWidget.cpp
ENgineE777/OakEngine
6890fc89a0e9d151e7a0bcc1c276c13594616e9a
[ "Zlib" ]
13
2020-12-02T02:13:29.000Z
2022-03-11T06:14:54.000Z
ENgine/SceneEntities/UI/ContainerWidget.cpp
ENgineE777/OakEngine
6890fc89a0e9d151e7a0bcc1c276c13594616e9a
[ "Zlib" ]
null
null
null
ENgine/SceneEntities/UI/ContainerWidget.cpp
ENgineE777/OakEngine
6890fc89a0e9d151e7a0bcc1c276c13594616e9a
[ "Zlib" ]
null
null
null
#include "ContainerWidget.h" #include "Root/Root.h" namespace Oak { CLASSREG(SceneEntity, ContainerWidget, "ContainerWidget") META_DATA_DESC(ContainerWidget) BASE_SCENE_ENTITY_PROP(ContainerWidget) ENUM_PROP(ContainerWidget, horzAlign, 0, "Prop", "Horz align", "Horizontal aligment of a widget") ENUM_ELEM("...
26.87931
116
0.678213
ENgineE777
67feb1cfeb3009beff3d2b4e483e7dbffb0b4de5
3,161
cc
C++
emr/src/model/QuerySlsMetricDataRequest.cc
sdk-team/aliyun-openapi-cpp-sdk
d0e92f6f33126dcdc7e40f60582304faf2c229b7
[ "Apache-2.0" ]
3
2020-01-06T08:23:14.000Z
2022-01-22T04:41:35.000Z
emr/src/model/QuerySlsMetricDataRequest.cc
sdk-team/aliyun-openapi-cpp-sdk
d0e92f6f33126dcdc7e40f60582304faf2c229b7
[ "Apache-2.0" ]
null
null
null
emr/src/model/QuerySlsMetricDataRequest.cc
sdk-team/aliyun-openapi-cpp-sdk
d0e92f6f33126dcdc7e40f60582304faf2c229b7
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2009-2017 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...
24.889764
79
0.763999
sdk-team
db0136dd20e2624239b921956d1b41da57cee1f3
30,041
cpp
C++
src/qt/qtbase/tests/auto/corelib/io/qurlquery/tst_qurlquery.cpp
zwollerob/PhantomJS_AMR6VL
71c126e98a8c32950158d04d0bd75823cd008b99
[ "BSD-3-Clause" ]
null
null
null
src/qt/qtbase/tests/auto/corelib/io/qurlquery/tst_qurlquery.cpp
zwollerob/PhantomJS_AMR6VL
71c126e98a8c32950158d04d0bd75823cd008b99
[ "BSD-3-Clause" ]
null
null
null
src/qt/qtbase/tests/auto/corelib/io/qurlquery/tst_qurlquery.cpp
zwollerob/PhantomJS_AMR6VL
71c126e98a8c32950158d04d0bd75823cd008b99
[ "BSD-3-Clause" ]
null
null
null
/**************************************************************************** ** ** Copyright (C) 2012 Intel Corporation. ** Contact: http://www.qt.io/licensing/ ** ** This file is part of the test suite of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL21$ ** Commercial License Usage ** Licensees holding valid commercial...
37.041924
188
0.588695
zwollerob
db019358cd7e1a8ea2aa7796fca5be0d12df7315
346
cpp
C++
AllegroExitSystem.cpp
chen0040/allegro-flocking-and-steering-behavior
d65626e59e05f7660dc039dd62aac7eb8dc6ab17
[ "MIT" ]
null
null
null
AllegroExitSystem.cpp
chen0040/allegro-flocking-and-steering-behavior
d65626e59e05f7660dc039dd62aac7eb8dc6ab17
[ "MIT" ]
null
null
null
AllegroExitSystem.cpp
chen0040/allegro-flocking-and-steering-behavior
d65626e59e05f7660dc039dd62aac7eb8dc6ab17
[ "MIT" ]
null
null
null
#include "AllegroExitSystem.h" #include <string> #include <sstream> #include <allegro.h> #include <winalleg.h> void AllegroExitSystem(const char* fname, const char* ename) { set_gfx_mode(GFX_TEXT, 0, 0, 0, 0); std::ostringstream oss; oss << "Source: " << fname << "\n" << "Error: " << ename; allegro_message(oss.st...
21.625
60
0.66763
chen0040
db051c03fd193415a35f9d7f2707c28a9a148409
907
cpp
C++
test/buffer_test.cpp
spoonb/libcomm
5638dac889bddb16420d8321067c783438a5deaf
[ "0BSD" ]
null
null
null
test/buffer_test.cpp
spoonb/libcomm
5638dac889bddb16420d8321067c783438a5deaf
[ "0BSD" ]
null
null
null
test/buffer_test.cpp
spoonb/libcomm
5638dac889bddb16420d8321067c783438a5deaf
[ "0BSD" ]
null
null
null
/* * Copyright 2015. 2016 C. Brett Witherspoon */ #define BOOST_TEST_MODULE buffer_test #include <boost/test/unit_test.hpp> #include <array> #include <numeric> #include <vector> #include "signum/buffer.hpp" BOOST_AUTO_TEST_CASE(buffer_empty_test) { signum::buffer<float> buf; BOOST_REQUIRE(buf.empty()); BO...
18.510204
80
0.694598
spoonb
db0628098deaf0c45dee43ba715825e3d2ac1472
88,400
cc
C++
net/spdy/spdy_framer.cc
google-ar/chromium
2441c86a5fd975f09a6c30cddb57dfb7fc239699
[ "Apache-2.0", "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
777
2017-08-29T15:15:32.000Z
2022-03-21T05:29:41.000Z
net/spdy/spdy_framer.cc
harrymarkovskiy/WebARonARCore
2441c86a5fd975f09a6c30cddb57dfb7fc239699
[ "Apache-2.0", "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
66
2017-08-30T18:31:18.000Z
2021-08-02T10:59:35.000Z
net/spdy/spdy_framer.cc
harrymarkovskiy/WebARonARCore
2441c86a5fd975f09a6c30cddb57dfb7fc239699
[ "Apache-2.0", "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
123
2017-08-30T01:19:34.000Z
2022-03-17T22:55:31.000Z
// Copyright (c) 2012 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 "net/spdy/spdy_framer.h" #include <string.h> #include <algorithm> #include <cctype> #include <ios> #include <iterator> #include <list> #inc...
34.62593
80
0.676018
google-ar
db07b5ae65f4d653ac38a90909c839e68cf53a81
125,708
cpp
C++
ds/win32/credui/dialogs.cpp
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
ds/win32/credui/dialogs.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
ds/win32/credui/dialogs.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
//============================================================================= // Copyright (c) 2000 Microsoft Corporation // // dialogs.cpp // // Credential manager user interface classes used to get credentials. // // Created 02/29/2000 johnstep (John Stephens) //=============================================...
31.20854
136
0.493079
npocmaka
db08e212d62fd7c3dec85be01c13fe9982a9b93b
1,341
cpp
C++
DEM/Src/L3/Story/Dlg/DlgNodePhrase.cpp
moltenguy1/deusexmachina
134f4ca4087fff791ec30562cb250ccd50b69ee1
[ "MIT" ]
2
2017-04-30T20:24:29.000Z
2019-02-12T08:36:26.000Z
DEM/Src/L3/Story/Dlg/DlgNodePhrase.cpp
moltenguy1/deusexmachina
134f4ca4087fff791ec30562cb250ccd50b69ee1
[ "MIT" ]
null
null
null
DEM/Src/L3/Story/Dlg/DlgNodePhrase.cpp
moltenguy1/deusexmachina
134f4ca4087fff791ec30562cb250ccd50b69ee1
[ "MIT" ]
null
null
null
#include "DlgNodePhrase.h" #include "DlgSystem.h" #include "DlgLink.h" #include <Game/GameServer.h> #include <Events/EventManager.h> namespace Story { ImplementRTTI(Story::CDlgNodePhrase, Story::CDlgNode); ImplementFactory(Story::CDlgNodePhrase); void CDlgNodePhrase::OnEnter(CActiveDlg& Dlg) { DlgSys-...
26.82
105
0.608501
moltenguy1
db0ba05dd30e728d3919f7c3f3f7f3b4f1165dc6
670
cpp
C++
src/NumericalAlgorithms/Interpolation/InterpolationTargetDetail.cpp
fmahebert/spectre
936e2dff0434f169b9f5b03679cd27794003700a
[ "MIT" ]
null
null
null
src/NumericalAlgorithms/Interpolation/InterpolationTargetDetail.cpp
fmahebert/spectre
936e2dff0434f169b9f5b03679cd27794003700a
[ "MIT" ]
null
null
null
src/NumericalAlgorithms/Interpolation/InterpolationTargetDetail.cpp
fmahebert/spectre
936e2dff0434f169b9f5b03679cd27794003700a
[ "MIT" ]
null
null
null
// Distributed under the MIT License. // See LICENSE.txt for details. #include "NumericalAlgorithms/Interpolation/InterpolationTargetDetail.hpp" #include "Time/TimeStepId.hpp" namespace intrp::InterpolationTarget_detail { double get_temporal_id_value(const double time) noexcept { return time; } double get_temporal_i...
33.5
80
0.808955
fmahebert
db0d4b738a405fcba6ba4826812821b08f216bfd
7,754
cpp
C++
src/MushMeshRuby/MushMeshRubyMesh.cpp
mushware/adanaxis-core-app
679ac3e8a122e059bb208e84c73efc19753e87dd
[ "MIT" ]
9
2020-11-02T17:20:40.000Z
2021-12-25T15:35:36.000Z
src/MushMeshRuby/MushMeshRubyMesh.cpp
mushware/adanaxis-core-app
679ac3e8a122e059bb208e84c73efc19753e87dd
[ "MIT" ]
2
2020-06-27T23:14:13.000Z
2020-11-02T17:28:32.000Z
src/MushMeshRuby/MushMeshRubyMesh.cpp
mushware/adanaxis-core-app
679ac3e8a122e059bb208e84c73efc19753e87dd
[ "MIT" ]
1
2021-05-12T23:05:42.000Z
2021-05-12T23:05:42.000Z
//%Header { /***************************************************************************** * * File: src/MushMeshRuby/MushMeshRubyMesh.cpp * * Copyright: Andy Southgate 2002-2007, 2020 * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation...
28.718519
129
0.702218
mushware
db0d66113af48963ee3ac011198e90d611f2e898
832
cpp
C++
Source/AnimInertialBlend/AnimGraphNode_InertialBlend.cpp
HogeTatu/UE4Sample_AnimInertialBlend
659bcc4e03cd94946346451abf5a05154f775346
[ "MIT" ]
17
2018-06-10T16:50:47.000Z
2021-12-24T05:01:00.000Z
Source/AnimInertialBlend/AnimGraphNode_InertialBlend.cpp
HogeTatu/UE4Sample_AnimInertialBlend
659bcc4e03cd94946346451abf5a05154f775346
[ "MIT" ]
null
null
null
Source/AnimInertialBlend/AnimGraphNode_InertialBlend.cpp
HogeTatu/UE4Sample_AnimInertialBlend
659bcc4e03cd94946346451abf5a05154f775346
[ "MIT" ]
2
2020-11-09T01:26:26.000Z
2021-12-24T05:00:52.000Z
// Fill out your copyright notice in the Description page of Project Settings. #include "AnimGraphNode_InertialBlend.h" #define LOCTEXT_NAMESPACE "A3Nodes" UAnimGraphNode_InertialBlend::UAnimGraphNode_InertialBlend(const FObjectInitializer& ObjectInitializer) : Super(ObjectInitializer) { } FLinearColor UAnimGraphN...
25.212121
103
0.81851
HogeTatu
db0e91776ad55d8a718c6232897e9bac035d5fa4
7,269
cc
C++
mpegutils/src/com/goffersoft/core/test_list.cc
goffersoft/commonutils-cpp
6bbfb517ae780e9013bf3e1838aa704f044d39d3
[ "MIT" ]
null
null
null
mpegutils/src/com/goffersoft/core/test_list.cc
goffersoft/commonutils-cpp
6bbfb517ae780e9013bf3e1838aa704f044d39d3
[ "MIT" ]
null
null
null
mpegutils/src/com/goffersoft/core/test_list.cc
goffersoft/commonutils-cpp
6bbfb517ae780e9013bf3e1838aa704f044d39d3
[ "MIT" ]
null
null
null
/** ** ** This file is part of mpegutils. ** ** mpegutils is free software: you can redistribute it and/or modify ** it under the terms of the GNU General Public License as published by ** the Free Software Foundation, either version 3 of the License, or ** (at your option) any later version. ** ** mpegutils i...
22.297546
81
0.611226
goffersoft
db0ecf7da5a10683a9bdfc5b91be34bdd9658abc
5,617
cpp
C++
src/common/row_operations/row_external.cpp
hungptit/duckdb
ae85627931461937c10a9e082d552593ce088497
[ "MIT" ]
2
2021-11-23T13:31:10.000Z
2022-02-02T15:25:54.000Z
src/common/row_operations/row_external.cpp
hannesmuehleisen/duckdb
9ffe41dec917a8da8dd51e0dc18abe60efdeef52
[ "MIT" ]
null
null
null
src/common/row_operations/row_external.cpp
hannesmuehleisen/duckdb
9ffe41dec917a8da8dd51e0dc18abe60efdeef52
[ "MIT" ]
1
2022-03-09T10:50:29.000Z
2022-03-09T10:50:29.000Z
//===----------------------------------------------------------------------===// // DuckDB // // duckdb/common/types/row_operations/row_external.cpp // // //===----------------------------------------------------------------------===// #include "duckdb/common/row_operations/row_operations.hpp" #...
44.228346
117
0.688268
hungptit
db13a485217853846037c5cf0abe04d63cbc07b9
33,987
cpp
C++
src/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/vlc_dequant.cpp
dAck2cC2/m3e
475b89b59d5022a94e00b636438b25e27e4eaab2
[ "Apache-2.0" ]
10
2020-04-17T04:02:36.000Z
2021-11-23T11:38:42.000Z
src/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/vlc_dequant.cpp
dAck2cC2/m3e
475b89b59d5022a94e00b636438b25e27e4eaab2
[ "Apache-2.0" ]
3
2020-02-19T16:53:25.000Z
2021-04-29T07:28:40.000Z
src/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/vlc_dequant.cpp
dAck2cC2/m3e
475b89b59d5022a94e00b636438b25e27e4eaab2
[ "Apache-2.0" ]
5
2019-12-25T04:05:02.000Z
2022-01-14T16:57:55.000Z
/* ------------------------------------------------------------------ * Copyright (C) 1998-2009 PacketVideo * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.o...
29.477016
119
0.439962
dAck2cC2
db141373f0c94f5b029ca75c6c172b3fd25ba2fa
1,063
cpp
C++
lib/src/adschain/crypto/PrivateKeyPrime256v1.cpp
apastor/ads-chain-cpp-library
323d9c731f14031532dc072703d24e237d0a252e
[ "Apache-2.0" ]
2
2020-05-15T11:45:13.000Z
2020-05-20T17:26:43.000Z
lib/src/adschain/crypto/PrivateKeyPrime256v1.cpp
apastor/ads-chain-cpp-library
323d9c731f14031532dc072703d24e237d0a252e
[ "Apache-2.0" ]
null
null
null
lib/src/adschain/crypto/PrivateKeyPrime256v1.cpp
apastor/ads-chain-cpp-library
323d9c731f14031532dc072703d24e237d0a252e
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include <openssl/evp.h> #include <openssl/ec.h> #include "adschain/crypto/PrivateKey.h" namespace adschain { class PrivateKeyPrime256v1 : public PrivateKey { public: INJECT(PrivateKeyPrime256v1()) { EC_KEY *key = EC_KEY_new_by_curve_name(NID_X9_62_prime256v1); if (!key) { throw...
27.25641
73
0.69238
apastor
db16cfe3b10c0f2800e9ffcbd792836dfc8d3f54
9,078
cpp
C++
test/tests/cpu/instructions/sbc.cpp
SteelCityKeyPuncher/nesturbia
a98a5d52ec2b508f64075933020bd64f584690b2
[ "MIT" ]
null
null
null
test/tests/cpu/instructions/sbc.cpp
SteelCityKeyPuncher/nesturbia
a98a5d52ec2b508f64075933020bd64f584690b2
[ "MIT" ]
null
null
null
test/tests/cpu/instructions/sbc.cpp
SteelCityKeyPuncher/nesturbia
a98a5d52ec2b508f64075933020bd64f584690b2
[ "MIT" ]
null
null
null
#include <array> #include <cstdint> #include "catch2/catch_all.hpp" #include "nesturbia/cpu.hpp" using namespace nesturbia; TEST_CASE("Cpu_Instructions_SBC_inx", "[cpu]") { std::array<uint8_t, 0x10000> memory = {}; auto read = [&memory](uint16_t address) { return memory.at(address); }; auto write = [&memory](...
20.773455
90
0.583719
SteelCityKeyPuncher
db1e7088a74f839d3db98672f0a3b38c86dbc9b5
4,343
cc
C++
test/extensions/filters/http/nats/streaming/metadata_subject_retriever_test.cc
sirajmansour/envoy-nats-streaming
d7ccd15f474e822ba14c62172e352c4fe8d9701e
[ "Apache-2.0" ]
27
2018-03-26T22:22:13.000Z
2021-09-01T17:44:45.000Z
test/extensions/filters/http/nats/streaming/metadata_subject_retriever_test.cc
sirajmansour/envoy-nats-streaming
d7ccd15f474e822ba14c62172e352c4fe8d9701e
[ "Apache-2.0" ]
9
2018-03-28T06:49:32.000Z
2018-09-19T04:08:02.000Z
test/extensions/filters/http/nats/streaming/metadata_subject_retriever_test.cc
sirajmansour/envoy-nats-streaming
d7ccd15f474e822ba14c62172e352c4fe8d9701e
[ "Apache-2.0" ]
6
2018-03-27T06:45:25.000Z
2021-02-18T07:16:45.000Z
#include <iostream> #include "envoy/http/metadata_accessor.h" #include "common/config/nats_streaming_well_known_names.h" #include "common/protobuf/utility.h" #include "extensions/filters/http/nats/streaming/metadata_subject_retriever.h" #include "test/test_common/utility.h" #include "fmt/format.h" namespace Envoy...
29.147651
80
0.732904
sirajmansour
db1eddcfa11d8bbc7ea9189a887c1362d49b78a3
4,172
cpp
C++
libs/qCC_io/LASFields.cpp
ohanlonl/qCMAT
f6ca04fa7c171629f094ee886364c46ff8b27c0b
[ "BSD-Source-Code" ]
null
null
null
libs/qCC_io/LASFields.cpp
ohanlonl/qCMAT
f6ca04fa7c171629f094ee886364c46ff8b27c0b
[ "BSD-Source-Code" ]
null
null
null
libs/qCC_io/LASFields.cpp
ohanlonl/qCMAT
f6ca04fa7c171629f094ee886364c46ff8b27c0b
[ "BSD-Source-Code" ]
1
2019-02-03T12:19:42.000Z
2019-02-03T12:19:42.000Z
//########################################################################## //# # //# CLOUDCOMPARE # //# # //# This pr...
42.141414
193
0.565676
ohanlonl
db20f5f7f23a4174e98ccedee3acaa899731e3d1
962
cpp
C++
3space/src/content/dts/renderable_shape_factory.cpp
gifted-nguvu/darkstar-dts-converter
aa17a751a9f3361ca9bbb400ee4c9516908d1297
[ "MIT" ]
2
2020-03-18T18:23:27.000Z
2020-08-02T15:59:16.000Z
3space/src/content/dts/renderable_shape_factory.cpp
gifted-nguvu/darkstar-dts-converter
aa17a751a9f3361ca9bbb400ee4c9516908d1297
[ "MIT" ]
5
2019-07-07T16:47:47.000Z
2020-08-10T16:20:00.000Z
3space/src/content/dts/renderable_shape_factory.cpp
gifted-nguvu/darkstar-dts-converter
aa17a751a9f3361ca9bbb400ee4c9516908d1297
[ "MIT" ]
1
2020-03-18T18:23:30.000Z
2020-03-18T18:23:30.000Z
#include "content/dts/darkstar.hpp" #include "content/dts/3space.hpp" #include "content/dts/dts_renderable_shape.hpp" #include "content/dts/3space_renderable_shape.hpp" #include "content/dts/null_renderable_shape.hpp" namespace studio::content::dts { std::unique_ptr<content::renderable_shape> make_shape(std::basic_i...
32.066667
126
0.719335
gifted-nguvu
db251c305f4ab8387be0988a4f5029fbac21de56
1,280
cpp
C++
atcoder/abc021/C/main.cpp
xirc/cp-algorithm
89c67cff2f00459c5bb020ab44bff5ae419a1728
[ "Apache-2.0" ]
8
2020-12-23T07:54:53.000Z
2021-11-23T02:46:35.000Z
atcoder/abc021/C/main.cpp
xirc/cp-algorithm
89c67cff2f00459c5bb020ab44bff5ae419a1728
[ "Apache-2.0" ]
1
2020-11-07T13:22:29.000Z
2020-12-20T12:54:00.000Z
atcoder/abc021/C/main.cpp
xirc/cp-algorithm
89c67cff2f00459c5bb020ab44bff5ae419a1728
[ "Apache-2.0" ]
1
2021-01-16T03:40:10.000Z
2021-01-16T03:40:10.000Z
#include <bits/stdc++.h> using namespace std; using ll = int64_t; using ff = long double; ll const inf = 1e16; ll const MOD = 1e9 + 7; int N, M; int a, b; vector<vector<ll>> G; vector<vector<ll>> C; ll solve() { for (int k = 0; k < N; k++) { for (int i = 0; i < N; i++) { for (int j = 0; j < N...
22.068966
50
0.35
xirc
db2a609740db96582ee754da7cf52dab5d2fd264
53,424
cc
C++
Reference/GDM3Dcl/buildTube.cc
clwyatt/CTC
284d52dc888bcd997214804715fe690149e33f85
[ "BSD-3-Clause" ]
1
2019-07-29T02:04:06.000Z
2019-07-29T02:04:06.000Z
Reference/GDM3Dcl/buildTube.cc
clwyatt/CTC
284d52dc888bcd997214804715fe690149e33f85
[ "BSD-3-Clause" ]
null
null
null
Reference/GDM3Dcl/buildTube.cc
clwyatt/CTC
284d52dc888bcd997214804715fe690149e33f85
[ "BSD-3-Clause" ]
null
null
null
/******************************************************** File: buildRube.cc Abstract: Construnction functions for level set. See header (buildTube.hh) for documentation *********************************************************/ #include "buildTube.hh" #include "RBTree.hh" #include "MinHeap.hh" #include <limits.h> ...
29.647059
152
0.631907
clwyatt
db2b4501fd4221049e3e0de0bc8d19b8dbc5b334
153
hpp
C++
include/msqlite/throws/error.hpp
ricardocosme/msqlite
95af5b04831c7af449f87346301b6e26bf749e9f
[ "MIT" ]
19
2020-08-18T21:25:05.000Z
2022-01-14T03:45:41.000Z
include/msqlite/throws/error.hpp
ricardocosme/msqlite
95af5b04831c7af449f87346301b6e26bf749e9f
[ "MIT" ]
null
null
null
include/msqlite/throws/error.hpp
ricardocosme/msqlite
95af5b04831c7af449f87346301b6e26bf749e9f
[ "MIT" ]
null
null
null
#pragma once #include "msqlite/error.hpp" #include "msqlite/throws/value_or_throw.hpp" namespace msqlite::throws { using error = ::msqlite::error; }
13.909091
44
0.738562
ricardocosme
db2c64d502e08b2f6e0055ba8a7919d7dc8a4392
171
cpp
C++
samples/01_jumpFlooding/main.cpp
giordi91/SirMetal
394b973a78faec2fec54479f895802ddb1e580c1
[ "MIT" ]
25
2020-08-10T20:42:14.000Z
2021-12-16T00:08:56.000Z
samples/01_jumpFlooding/main.cpp
giordi91/SirMetal
394b973a78faec2fec54479f895802ddb1e580c1
[ "MIT" ]
1
2021-04-02T21:14:48.000Z
2021-04-28T10:57:17.000Z
samples/01_jumpFlooding/main.cpp
giordi91/SirMetal
394b973a78faec2fec54479f895802ddb1e580c1
[ "MIT" ]
2
2021-01-12T20:08:16.000Z
2021-01-20T10:22:28.000Z
#include "app.h" #if ! __has_feature(objc_arc) #error "ARC is off" #endif int main(int argc, char *args[]) { JumpFloodApplication sand; sand.run(); return 0; }
11.4
34
0.654971
giordi91
db2c93d7020ce3213a67a481c6bd7f9b166cb3f5
6,749
cpp
C++
src/Pegasus/Client/CIMClientException.cpp
natronkeltner/openpegasus
e64f383c1ed37826041fc63e83b4e65fc1c679ae
[ "ICU", "Unlicense", "OpenSSL", "MIT" ]
1
2021-11-12T21:28:50.000Z
2021-11-12T21:28:50.000Z
src/Pegasus/Client/CIMClientException.cpp
natronkeltner/openpegasus
e64f383c1ed37826041fc63e83b4e65fc1c679ae
[ "ICU", "Unlicense", "OpenSSL", "MIT" ]
39
2021-01-18T19:28:41.000Z
2022-03-27T20:55:36.000Z
src/Pegasus/Client/CIMClientException.cpp
natronkeltner/openpegasus
e64f383c1ed37826041fc63e83b4e65fc1c679ae
[ "ICU", "Unlicense", "OpenSSL", "MIT" ]
4
2021-07-09T12:52:33.000Z
2021-12-21T15:05:59.000Z
//%LICENSE//////////////////////////////////////////////////////////////// // // Licensed to The Open Group (TOG) under one or more contributor license // agreements. Refer to the OpenPegasusNOTICE.txt file distributed with // this work for additional information regarding copyright ownership. // Each contributor lice...
31.390698
80
0.617869
natronkeltner
db2e363539c9b575779ebf3354a75e578e6fc18c
6,260
hxx
C++
sip/base/CallInfo.hxx
icahoon/vocal
f2c67ec0561d7de764420e81793afde5ce81e965
[ "VSL-1.0" ]
5
2017-10-09T11:47:47.000Z
2022-02-28T01:37:15.000Z
sip/base/CallInfo.hxx
greearb/vocal-ct
35abdcd8732ce3a3bc936b523c895b0d5239c3b6
[ "VSL-1.0" ]
null
null
null
sip/base/CallInfo.hxx
greearb/vocal-ct
35abdcd8732ce3a3bc936b523c895b0d5239c3b6
[ "VSL-1.0" ]
null
null
null
#ifndef CALL_INFO_HXX #define CALL_INFO_HXX /* ==================================================================== * The Vovida Software License, Version 1.0 * * Copyright (c) 2000 Vovida Networks, Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modificatio...
24.743083
73
0.597923
icahoon
db30dad49658635d045b6d1f3df78cdad8d27027
6,860
cpp
C++
srrg2_proslam/apps/convert_rgbd_to_srrg2.cpp
srrg-sapienza/srrg2_proslam
6321cd9f8c892c1949442abce6a934106954b2ae
[ "BSD-3-Clause" ]
16
2020-03-11T14:27:38.000Z
2021-12-08T13:05:29.000Z
srrg2_proslam/apps/convert_rgbd_to_srrg2.cpp
srrg-sapienza/srrg2_proslam
6321cd9f8c892c1949442abce6a934106954b2ae
[ "BSD-3-Clause" ]
4
2020-05-21T11:59:27.000Z
2021-09-08T03:59:24.000Z
srrg2_proslam/apps/convert_rgbd_to_srrg2.cpp
srrg-sapienza/srrg2_proslam
6321cd9f8c892c1949442abce6a934106954b2ae
[ "BSD-3-Clause" ]
1
2020-11-30T08:17:23.000Z
2020-11-30T08:17:23.000Z
#include <iostream> #include <srrg_boss/serializer.h> #include <srrg_messages/instances.h> #include <srrg_system_utils/parse_command_line.h> #include <srrg_system_utils/system_utils.h> using namespace srrg2_core; // clang-format off const char* banner[] = {"This program converts a folder containing RGB (and depth) i...
43.417722
107
0.619825
srrg-sapienza
db33051d78b4b03197eb4c6841988862413ae424
41,780
cpp
C++
S5CppLogic/l_ua.cpp
mcb5637/S5BinkHook
c449238b95e1fd0463386e3fbace519f3db70e34
[ "MIT" ]
null
null
null
S5CppLogic/l_ua.cpp
mcb5637/S5BinkHook
c449238b95e1fd0463386e3fbace519f3db70e34
[ "MIT" ]
null
null
null
S5CppLogic/l_ua.cpp
mcb5637/S5BinkHook
c449238b95e1fd0463386e3fbace519f3db70e34
[ "MIT" ]
null
null
null
#include "pch.h" #include "l_ua.h" #include "luaext.h" #include "l_entity.h" #include <random> #include "entityiterator.h" std::vector<UACannonBuilderAbilityData> UnlimitedArmy::CannonBuilderAbilityData = std::vector<UACannonBuilderAbilityData>(); UnlimitedArmy::~UnlimitedArmy() { luaL_unref(L, LUA_REGISTRYINDEX, F...
33.857374
189
0.725539
mcb5637
db358a40b19666408cc33c33d8a5aa91fcf51e0b
2,550
hpp
C++
src/OGLSamples_GTruc/external/gli-0.4.1.0/gli/core/cow_ptr.hpp
apportable/vogl
4f05918a14ba3c4efc3cbd8b05b6964e625c751b
[ "MIT" ]
5
2016-07-23T00:33:31.000Z
2020-12-18T09:40:35.000Z
Bumblebee/Dependencies/include/gli/core/cow_ptr.hpp
radical-bumblebee/bumblebee-engine
c5b7eb4bcd825bc2c5be66d6306912c519a56a2d
[ "MIT" ]
null
null
null
Bumblebee/Dependencies/include/gli/core/cow_ptr.hpp
radical-bumblebee/bumblebee-engine
c5b7eb4bcd825bc2c5be66d6306912c519a56a2d
[ "MIT" ]
null
null
null
/////////////////////////////////////////////////////////////////////////////////// /// OpenGL Image (gli.g-truc.net) /// /// Copyright (c) 2008 - 2013 G-Truc Creation (www.g-truc.net) /// Permission is hereby granted, free of charge, to any person obtaining a copy /// of this software and associated documentation file...
26.842105
83
0.642745
apportable
db38249cfc5b31beb2959dc50e318cfc0f6d432e
2,622
cpp
C++
framework/sysdeps/linux/physicaladdress.cpp
thac0/opendcdiag
b2f8cf0efa6de5cf9582c9a29dcd291367e2c73c
[ "Apache-2.0" ]
21
2021-11-09T18:40:08.000Z
2022-03-07T04:41:39.000Z
framework/sysdeps/linux/physicaladdress.cpp
thac0/opendcdiag
b2f8cf0efa6de5cf9582c9a29dcd291367e2c73c
[ "Apache-2.0" ]
20
2021-10-29T21:30:48.000Z
2022-03-30T16:48:03.000Z
framework/sysdeps/linux/physicaladdress.cpp
thac0/opendcdiag
b2f8cf0efa6de5cf9582c9a29dcd291367e2c73c
[ "Apache-2.0" ]
8
2021-11-01T17:53:21.000Z
2022-03-30T05:25:22.000Z
/* * Copyright 2022 Intel Corporation. * SPDX-License-Identifier: Apache-2.0 */ #include "sandstone_p.h" #include <sys/types.h> #include <fcntl.h> #include <unistd.h> #define PAGE_SIZE 4096U #define PAGE_SHIFT __builtin_ctz(PAGE_SIZE) // proc(5) says: // /proc/[pid]/pagemap (since Linux 2.6.25) // ...
31.97561
105
0.622426
thac0
db3bccead719d76999423353e1016263f0513e18
1,987
cpp
C++
tests/common/test_uint_types.cpp
ivotron/foxxll
64849c4177a61ff51d89db431285a842f8325d27
[ "BSL-1.0" ]
9
2018-10-16T09:04:50.000Z
2020-12-15T09:05:21.000Z
tests/common/test_uint_types.cpp
ivotron/foxxll
64849c4177a61ff51d89db431285a842f8325d27
[ "BSL-1.0" ]
6
2018-01-09T20:36:33.000Z
2018-01-19T22:44:59.000Z
tests/common/test_uint_types.cpp
ivotron/foxxll
64849c4177a61ff51d89db431285a842f8325d27
[ "BSL-1.0" ]
8
2018-05-25T09:47:18.000Z
2021-05-02T14:41:14.000Z
/*************************************************************************** * tests/common/test_uint_types.cpp * * Part of FOXXLL. See http://foxxll.org * * Copyright (C) 2013 Timo Bingmann <tb@panthema.net> * * Distributed under the Boost Software License, Version 1.0. * (See accompanying file LICENSE_1_...
23.939759
76
0.519879
ivotron
db3cbb8b5762033585415fa454b0f5ebb21ea627
1,257
cpp
C++
cpp/arrayMisc/bitwiseAndNumbersRange.cpp
locmpham/codingtests
3805fc98c0fa0dbee52e12531f6205e77b52899e
[ "MIT" ]
null
null
null
cpp/arrayMisc/bitwiseAndNumbersRange.cpp
locmpham/codingtests
3805fc98c0fa0dbee52e12531f6205e77b52899e
[ "MIT" ]
null
null
null
cpp/arrayMisc/bitwiseAndNumbersRange.cpp
locmpham/codingtests
3805fc98c0fa0dbee52e12531f6205e77b52899e
[ "MIT" ]
1
2021-07-09T19:13:11.000Z
2021-07-09T19:13:11.000Z
/* LEETCODE: 201 Given two integers left and right that represent the range [left, right], return the bitwise AND of all numbers in this range, inclusive. Example 1: Input: left = 5, right = 7 Output: 4 Example 2: Input: left = 0, right = 0 Output: 0 Example 3: In...
19.338462
101
0.575975
locmpham
db41a8c8d2f7f228503e332d0e42636c7a7515a4
11,916
hpp
C++
tests/test_kel_coroutines.hpp
DymOK93/kelcoro
ce5f974446296153fdcc63fd136dfc0c48970c39
[ "Apache-2.0" ]
null
null
null
tests/test_kel_coroutines.hpp
DymOK93/kelcoro
ce5f974446296153fdcc63fd136dfc0c48970c39
[ "Apache-2.0" ]
null
null
null
tests/test_kel_coroutines.hpp
DymOK93/kelcoro
ce5f974446296153fdcc63fd136dfc0c48970c39
[ "Apache-2.0" ]
null
null
null
#ifndef TEST_KEL_COROUTINES_HPP #define TEST_KEL_COROUTINES_HPP #include <atomic> #include <cassert> #include <coroutine> #include <iterator> #include <memory_resource> #include <ranges> #include <set> #include <string> #include <string_view> #include <thread> #include <vector> #include "test_kel_base.hpp" import k...
27.647332
110
0.657771
DymOK93
db4254ad3e11cfc870e6ab6142c24f75ac9e96d6
597
cpp
C++
dynamic/sticker.cpp
SiverPineValley/algo
29c75c6b226fdb15a3b6695e763ee49d4871094e
[ "Apache-2.0" ]
null
null
null
dynamic/sticker.cpp
SiverPineValley/algo
29c75c6b226fdb15a3b6695e763ee49d4871094e
[ "Apache-2.0" ]
null
null
null
dynamic/sticker.cpp
SiverPineValley/algo
29c75c6b226fdb15a3b6695e763ee49d4871094e
[ "Apache-2.0" ]
null
null
null
// 9465 #include <iostream> using namespace std; int main(void) { int t, n; int s[100001][2]; cin >> t; while(t--) { cin >> n; for(int i = 0; i < 2; i++) for(int j = 1; j <= n; j++) cin >> s[j][i]; int a[n+1][3]; for(int j = 0; j < 3; j++) a[0][j] = 0; for(int i = 1; i <= n; i++) { a[i][0]...
19.258065
48
0.40871
SiverPineValley
db42860a87e154769ce66878f69c6e49cac0e6ef
4,609
cpp
C++
examples/22_remesher/main.cpp
Deiv99/cinolib
fbb6e951703764e5b97f074aede87752c3165d17
[ "MIT" ]
532
2018-05-11T14:28:32.000Z
2022-03-29T12:42:07.000Z
examples/22_remesher/main.cpp
Deiv99/cinolib
fbb6e951703764e5b97f074aede87752c3165d17
[ "MIT" ]
33
2018-08-01T16:47:01.000Z
2021-09-29T14:36:12.000Z
examples/22_remesher/main.cpp
Deiv99/cinolib
fbb6e951703764e5b97f074aede87752c3165d17
[ "MIT" ]
64
2018-09-07T13:02:02.000Z
2022-03-13T18:17:29.000Z
/* This sample program reads a triangle mesh and performs * an area equalizing remeshing scheme. This is a variant * of the algorithm described in * * A Remeshing Approach to Multiresolution Modeling * M.Botsch, L.Kobbelt * Symposium on Geomtry Processing, 2004 * * Enjoy! */ #include <QApplication> #...
32.457746
126
0.576915
Deiv99
b9cb754ab250b5798673d4266207c09c8e632db0
1,162
cpp
C++
Source/FSD/Private/SpaceRigBar.cpp
trumank/DRG-Mods
2febc879f2ffe83498ac913c114d0e933427e93e
[ "MIT" ]
null
null
null
Source/FSD/Private/SpaceRigBar.cpp
trumank/DRG-Mods
2febc879f2ffe83498ac913c114d0e933427e93e
[ "MIT" ]
null
null
null
Source/FSD/Private/SpaceRigBar.cpp
trumank/DRG-Mods
2febc879f2ffe83498ac913c114d0e933427e93e
[ "MIT" ]
null
null
null
#include "SpaceRigBar.h" #include "Net/UnrealNetwork.h" #include "InstantUsable.h" #include "Components/BoxComponent.h" class UDrinkableDataAsset; class APlayerCharacter; void ASpaceRigBar::SpawnDrinkables(UDrinkableDataAsset* Drinkable, APlayerCharacter* User) { } void ASpaceRigBar::PayTip(APlayerCharacter* Cha...
24.208333
98
0.775387
trumank
b9cbaa0e4219e5faedfe205bd18b5f4c8d92b372
1,503
hpp
C++
include/eepp/ui/uitab.hpp
jayrulez/eepp
09c5c1b6b4c0306bb0a188474778c6949b5df3a7
[ "MIT" ]
37
2020-01-20T06:21:24.000Z
2022-03-21T17:44:50.000Z
include/eepp/ui/uitab.hpp
jayrulez/eepp
09c5c1b6b4c0306bb0a188474778c6949b5df3a7
[ "MIT" ]
null
null
null
include/eepp/ui/uitab.hpp
jayrulez/eepp
09c5c1b6b4c0306bb0a188474778c6949b5df3a7
[ "MIT" ]
9
2019-03-22T00:33:07.000Z
2022-03-01T01:35:59.000Z
#ifndef EE_UICUITAB_HPP #define EE_UICUITAB_HPP #include <eepp/ui/uiselectbutton.hpp> namespace EE { namespace UI { class UITabWidget; class EE_API UITab : public UISelectButton { public: static UITab* New(); UITab(); Node* getOwnedWidget() const; void setOwnedWidget( Node* ownedWidget ); virtual ~UITab(...
20.04
87
0.743846
jayrulez
b9ccf39d2439a933f4fbd6e22422b5903a49a2dc
715
cpp
C++
LeetCode/Algorithms/Medium/MaxIncreaseToKeepCitySkyline.cpp
roshan11160/Competitive-Programming-Solutions
2d9cfe901c23a2b7344c410b7368eb02f7fa6e7e
[ "MIT" ]
40
2020-07-25T19:35:37.000Z
2022-01-28T02:57:02.000Z
LeetCode/Algorithms/Medium/MaxIncreaseToKeepCitySkyline.cpp
afrozchakure/Hackerrank-Problem-Solutions
014155d841e08cb1f7609c23335576dc9b29cef3
[ "MIT" ]
160
2021-04-26T19:04:15.000Z
2022-03-26T20:18:37.000Z
LeetCode/Algorithms/Medium/MaxIncreaseToKeepCitySkyline.cpp
afrozchakure/Hackerrank-Problem-Solutions
014155d841e08cb1f7609c23335576dc9b29cef3
[ "MIT" ]
24
2020-05-03T08:11:53.000Z
2021-10-04T03:23:20.000Z
class Solution { public: int maxIncreaseKeepingSkyline(vector<vector<int>> &grid) { int result = 0; int n = grid.size(); vector<int> max_col_val(n, 0); vector<int> max_row_val(n, 0); for (int i = 0; i < n; i++) { for (int j = 0; j < n; j++) ...
22.34375
75
0.40979
roshan11160
b9cd43b3bb131b03759347a209b79421ba55b076
16,358
cpp
C++
services/formmgr/test/unittest/fms_form_mgr_notify_visible_forms_test/fms_form_mgr_notify_visible_forms_test.cpp
openharmony-gitee-mirror/appexecfwk_standard
0edd750ed64940531881e0bb113a84155ac056d0
[ "Apache-2.0" ]
1
2021-11-23T08:13:14.000Z
2021-11-23T08:13:14.000Z
services/formmgr/test/unittest/fms_form_mgr_notify_visible_forms_test/fms_form_mgr_notify_visible_forms_test.cpp
openharmony-gitee-mirror/appexecfwk_standard
0edd750ed64940531881e0bb113a84155ac056d0
[ "Apache-2.0" ]
null
null
null
services/formmgr/test/unittest/fms_form_mgr_notify_visible_forms_test/fms_form_mgr_notify_visible_forms_test.cpp
openharmony-gitee-mirror/appexecfwk_standard
0edd750ed64940531881e0bb113a84155ac056d0
[ "Apache-2.0" ]
1
2021-09-13T11:17:54.000Z
2021-09-13T11:17:54.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 applicable law ...
40.490099
117
0.780658
openharmony-gitee-mirror
b9cf07397a150900a0a2476293ff536d902b1086
968
cpp
C++
Algorithms/25.Reverse-Nodes-in-k-Group/solution.cpp
moranzcw/LeetCode_Solutions
49a7e33b83d8d9ce449c758717f74a69e72f808e
[ "MIT" ]
178
2017-07-09T23:13:11.000Z
2022-02-26T13:35:06.000Z
Algorithms/25.Reverse-Nodes-in-k-Group/solution.cpp
cfhyxxj/LeetCode-NOTES
455d33aae54d065635d28ebf37f815dc4ace7e63
[ "MIT" ]
1
2020-10-10T16:38:03.000Z
2020-10-10T16:38:03.000Z
Algorithms/25.Reverse-Nodes-in-k-Group/solution.cpp
cfhyxxj/LeetCode-NOTES
455d33aae54d065635d28ebf37f815dc4ace7e63
[ "MIT" ]
82
2017-08-19T07:14:39.000Z
2022-02-17T14:07:55.000Z
/** * Definition for singly-linked list. * struct ListNode { * int val; * ListNode *next; * ListNode(int x) : val(x), next(NULL) {} * }; */ class Solution { public: ListNode *reverseKGroup(ListNode *head, int k) { if( head==NULL || k==1 ) return head; int sum=0;...
25.473684
70
0.477273
moranzcw
b9d1380b2b595bd323f3f9d3141b5e6fdee12c5d
1,009
cpp
C++
cpp/1001-10000/1181-1190/Shortest Distance to Target Color.cpp
KaiyuWei/leetcode
fd61f5df60cfc7086f7e85774704bacacb4aaa5c
[ "MIT" ]
150
2015-04-04T06:53:49.000Z
2022-03-21T13:32:08.000Z
cpp/1001-10000/1181-1190/Shortest Distance to Target Color.cpp
yizhu1012/leetcode
d6fa443a8517956f1fcc149c8c4f42c0ad93a4a7
[ "MIT" ]
1
2015-04-13T15:15:40.000Z
2015-04-21T20:23:16.000Z
cpp/1001-10000/1181-1190/Shortest Distance to Target Color.cpp
yizhu1012/leetcode
d6fa443a8517956f1fcc149c8c4f42c0ad93a4a7
[ "MIT" ]
64
2015-06-30T08:00:07.000Z
2022-01-01T16:44:14.000Z
class Solution { public: vector<int> shortestDistanceColor(vector<int>& colors, vector<vector<int>>& queries) { int n = colors.size(); vector<vector<int>> dp(n, vector<int>(3, INT_MAX)); vector<int> pos(3, -1); for (int i = 0; i < colors.size(); i++) { int color ...
30.575758
90
0.401388
KaiyuWei
b9d1392e2d588cc485187fe3befa34d47a21a7ce
616
cpp
C++
uva/chapter_1/the3nplus1problem.cpp
pi-guy-in-the-sky/competitive-programming
e079f6caf07b5de061ea4f56218f9b577e49a965
[ "MIT" ]
null
null
null
uva/chapter_1/the3nplus1problem.cpp
pi-guy-in-the-sky/competitive-programming
e079f6caf07b5de061ea4f56218f9b577e49a965
[ "MIT" ]
null
null
null
uva/chapter_1/the3nplus1problem.cpp
pi-guy-in-the-sky/competitive-programming
e079f6caf07b5de061ea4f56218f9b577e49a965
[ "MIT" ]
1
2020-10-25T05:46:57.000Z
2020-10-25T05:46:57.000Z
// Problem ID: 100 // By Alexander Cai, 12-06-2019 // Accepted #include <iostream> #include <algorithm> #include <math.h> using namespace std; int cycle_length(int n) { int temp = n, length = 1; while (temp != 1) { if (temp % 2 == 0) temp >>= 1; else temp = temp * 3 + 1; length += 1; } return leng...
17.6
50
0.483766
pi-guy-in-the-sky
b9d22eef7ef7fafb3b9f6101105d48099da36a07
633
cpp
C++
1036.cpp
F-SpaceMan/uriChallenges
932f54f7bee622aacf648acb27a291905a7df92a
[ "MIT" ]
1
2019-12-04T18:50:34.000Z
2019-12-04T18:50:34.000Z
1036.cpp
F-SpaceMan/uriChallenges
932f54f7bee622aacf648acb27a291905a7df92a
[ "MIT" ]
null
null
null
1036.cpp
F-SpaceMan/uriChallenges
932f54f7bee622aacf648acb27a291905a7df92a
[ "MIT" ]
null
null
null
#include<iostream> #include<stdlib.h> #include<iomanip> #include<math.h> using namespace std; int main() { double A, B, C, delta, divi, raiz, x1, x2; cin >> A >> B >> C; delta = (B*B) - (4*A*C); raiz = sqrt(delta); divi = 2*A; if(delta < 0 || divi == 0) { cout...
17.583333
67
0.447077
F-SpaceMan
b9d700ac0dece4568a1aff6a95abb72786c1ec56
9,942
cpp
C++
firmware/libraries/state-swallowing/state-swallowing.cpp
miaucl/sti-robot-competition
9984306a0b9c93d98d401e026df202e902c2c47c
[ "MIT" ]
null
null
null
firmware/libraries/state-swallowing/state-swallowing.cpp
miaucl/sti-robot-competition
9984306a0b9c93d98d401e026df202e902c2c47c
[ "MIT" ]
null
null
null
firmware/libraries/state-swallowing/state-swallowing.cpp
miaucl/sti-robot-competition
9984306a0b9c93d98d401e026df202e902c2c47c
[ "MIT" ]
null
null
null
/* state-analysis.h - Following state methods Created by Mirko Indumi, 2019. */ #include "Arduino.h" #include "math.h" #include "config.h" #include "sensors.h" #include "actuators.h" // Internal control flags enum IState { is_start, is_open, is_move, is_stopping, is_bottle_swallowed, is_back_off_start...
35.891697
166
0.736371
miaucl
b9da52f3fe1403d1391569fc27fa64a6ee233f26
144,723
cpp
C++
test/OpenMP/teams_distribute_parallel_for_copyin_codegen.cpp
tkolar23/llvm-clang
73c44a584ba4ff5e186d0c05a2b29b2dbed98148
[ "Apache-2.0" ]
null
null
null
test/OpenMP/teams_distribute_parallel_for_copyin_codegen.cpp
tkolar23/llvm-clang
73c44a584ba4ff5e186d0c05a2b29b2dbed98148
[ "Apache-2.0" ]
null
null
null
test/OpenMP/teams_distribute_parallel_for_copyin_codegen.cpp
tkolar23/llvm-clang
73c44a584ba4ff5e186d0c05a2b29b2dbed98148
[ "Apache-2.0" ]
null
null
null
// NOTE: Assertions have been autogenerated by utils/update_cc_test_checks.py UTC_ARGS: --function-signature --include-generated-funcs --replace-value-regex "__omp_offloading_[0-9a-z]+_[0-9a-z]+" "reduction_size[.].+[.]" "pl_cond[.].+[.|,]" --prefix-filecheck-ir-name _ // RUN: %clang_cc1 -DCHECK -verify -fopenmp -x c++...
68.008929
432
0.583646
tkolar23
b9dcb64b13978e12d6ccc1d6d457af5278d9890c
890
hpp
C++
src/shogun/lib/tapkee/defines/eigen3.hpp
ShankarNara/shogun
8ab196de16b8d8917e5c84770924c8d0f5a3d17c
[ "BSD-3-Clause" ]
2,753
2015-01-02T11:34:13.000Z
2022-03-25T07:04:27.000Z
src/shogun/lib/tapkee/defines/eigen3.hpp
ShankarNara/shogun
8ab196de16b8d8917e5c84770924c8d0f5a3d17c
[ "BSD-3-Clause" ]
2,404
2015-01-02T19:31:41.000Z
2022-03-09T10:58:22.000Z
src/shogun/lib/tapkee/defines/eigen3.hpp
ShankarNara/shogun
8ab196de16b8d8917e5c84770924c8d0f5a3d17c
[ "BSD-3-Clause" ]
1,156
2015-01-03T01:57:21.000Z
2022-03-26T01:06:28.000Z
#ifndef TAPKEE_DEFINES_EIGEN3_H_ #define TAPKEE_DEFINES_EIGEN3_H_ //// Eigen 3 library includes #ifdef TAPKEE_EIGEN_INCLUDE_FILE #include TAPKEE_EIGEN_INCLUDE_FILE #else #ifndef TAPKEE_DEBUG #define EIGEN_NO_DEBUG #endif #define EIGEN_RUNTIME_NO_MALLOC #include <Eigen/Eigen> #include <Eigen/Dense> #if EIGEN_V...
25.428571
70
0.807865
ShankarNara
b9de8d5418832a19804f647d354e97f8af5d7c24
15,689
cpp
C++
src/Container.cpp
patthoyts/optcl
522919e6db100bf35f132498ac91c3d856770c72
[ "TCL" ]
4
2015-03-24T19:42:52.000Z
2020-03-16T02:54:04.000Z
src/Container.cpp
patthoyts/optcl
522919e6db100bf35f132498ac91c3d856770c72
[ "TCL" ]
null
null
null
src/Container.cpp
patthoyts/optcl
522919e6db100bf35f132498ac91c3d856770c72
[ "TCL" ]
null
null
null
/* *------------------------------------------------------------------------------ * container.cpp * Implementation of the CContainer class, providing functionality for * a Tk activex container widget. * 1999-01-26 created * 1999-08-25 modified for use in Optcl * * Copyright (C) 1999 Farzad Pezeshkpour, Univer...
27.524561
102
0.597043
patthoyts
b9de9e1845927d3be88b38a57078bde0a13e35de
919
cpp
C++
src/ReplaceUTF8/ReplaceUTF8.cpp
dnasdw/ReplaceUTF8
1394503b98781fb72764ca02ae742789ef5d7d47
[ "MIT" ]
null
null
null
src/ReplaceUTF8/ReplaceUTF8.cpp
dnasdw/ReplaceUTF8
1394503b98781fb72764ca02ae742789ef5d7d47
[ "MIT" ]
null
null
null
src/ReplaceUTF8/ReplaceUTF8.cpp
dnasdw/ReplaceUTF8
1394503b98781fb72764ca02ae742789ef5d7d47
[ "MIT" ]
null
null
null
#include <sdw.h> int UMain(int argc, UChar* argv[]) { if (argc != 5) { return 1; } string sPattern = UToU8(argv[3]); string sReplacement = UToU8(argv[4]); FILE* fp = UFopen(argv[1], USTR("rb"), false); if (fp == nullptr) { return 1; } fseek(fp, 0, SEEK_END); u32 uFileSize = ftell(fp); fseek(fp, 0, SEEK...
17.673077
86
0.575626
dnasdw
b9e381fdffceebc6c8e735e0a1c7814c824c70ee
2,208
cpp
C++
161220135/openglw.cpp
deyawu/graphics
66e8cfee67b55f17954c3c0c5e46828d26588891
[ "MIT" ]
1
2022-01-07T15:19:34.000Z
2022-01-07T15:19:34.000Z
161220135/openglw.cpp
deyawu/graphics
66e8cfee67b55f17954c3c0c5e46828d26588891
[ "MIT" ]
null
null
null
161220135/openglw.cpp
deyawu/graphics
66e8cfee67b55f17954c3c0c5e46828d26588891
[ "MIT" ]
1
2021-08-05T10:07:39.000Z
2021-08-05T10:07:39.000Z
#include "openglw.h" openglw::openglw(QString file,QWidget *parent):QOpenGLWidget (parent) { filename = file; f_angle = 0; } void openglw::initializeGL() { initializeOpenGLFunctions(); glClearColor(0.0f,0.0f,0.0f,1.0f); glEnable(GL_DEPTH_TEST); read_from_file(filename); } void...
23.741935
70
0.438859
deyawu
b9e6bc38f46d59beb787728873ee7394f3c6dafc
49,631
cpp
C++
src/mongo/db/db_raii.cpp
benety/mongo
203430ac9559f82ca01e3cbb3b0e09149fec0835
[ "Apache-2.0" ]
null
null
null
src/mongo/db/db_raii.cpp
benety/mongo
203430ac9559f82ca01e3cbb3b0e09149fec0835
[ "Apache-2.0" ]
null
null
null
src/mongo/db/db_raii.cpp
benety/mongo
203430ac9559f82ca01e3cbb3b0e09149fec0835
[ "Apache-2.0" ]
null
null
null
/** * Copyright (C) 2018-present MongoDB, Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the Server Side Public License, version 1, * as published by MongoDB, Inc. * * This program is distributed in the hope that it will be useful, * but W...
46.254427
100
0.669823
benety
b9e76b68ff0cc1a5748fcabad6a7d36907b9ecb5
2,820
cpp
C++
UESTC/2151.cpp
HeRaNO/OI-ICPC-Codes
4a4639cd3e347b472520065ca6ab8caadde6906d
[ "MIT" ]
18
2019-01-01T13:16:59.000Z
2022-02-28T04:51:50.000Z
UESTC/2151.cpp
HeRaNO/OI-ICPC-Codes
4a4639cd3e347b472520065ca6ab8caadde6906d
[ "MIT" ]
null
null
null
UESTC/2151.cpp
HeRaNO/OI-ICPC-Codes
4a4639cd3e347b472520065ca6ab8caadde6906d
[ "MIT" ]
5
2019-09-13T08:48:17.000Z
2022-02-19T06:59:03.000Z
#include <cstdio> #define MAXN 100010 #define LC tree[x].lc #define RC tree[x].rc using namespace std; struct Penalty { int a,b; Penalty(){} Penalty(int _a,int _b):a(_a),b(_b){} bool operator < (const Penalty &x) const{ if (a==x.a) return b<x.b; return a>x.a; } bool operator == (const Penalty &x) const{ re...
17.848101
68
0.552482
HeRaNO
b9e7de0c76ee804d361de6e5e9cbaae0c6f5ad9c
376
cpp
C++
0901-1000/0910-Smallest Range II/0910-Smallest Range II.cpp
jiadaizhao/LeetCode
4ddea0a532fe7c5d053ffbd6870174ec99fc2d60
[ "MIT" ]
49
2018-05-05T02:53:10.000Z
2022-03-30T12:08:09.000Z
0901-1000/0910-Smallest Range II/0910-Smallest Range II.cpp
jolly-fellow/LeetCode
ab20b3ec137ed05fad1edda1c30db04ab355486f
[ "MIT" ]
11
2017-12-15T22:31:44.000Z
2020-10-02T12:42:49.000Z
0901-1000/0910-Smallest Range II/0910-Smallest Range II.cpp
jolly-fellow/LeetCode
ab20b3ec137ed05fad1edda1c30db04ab355486f
[ "MIT" ]
28
2017-12-05T10:56:51.000Z
2022-01-26T18:18:27.000Z
class Solution { public: int smallestRangeII(vector<int>& A, int K) { sort(A.begin(), A.end()); int minNum = A[0], maxNum = A.back(); int result = maxNum - minNum; for (int i = 0; i < A.size() - 1; ++i) { result = min(result, max(A.back() - K, A[i] + K) - min(A[0] + K, A[...
28.923077
92
0.460106
jiadaizhao
b9ea010cccdb38e7caf98b337879db996d497e36
2,115
cc
C++
src/compiler/frame-states.cc
Acidburn0zzz/v8
2fee8a0f1d3dca6fe955077c5a41020948a7a0f1
[ "BSD-3-Clause" ]
1
2016-07-18T03:41:43.000Z
2016-07-18T03:41:43.000Z
src/compiler/frame-states.cc
Acidburn0zzz/v8
2fee8a0f1d3dca6fe955077c5a41020948a7a0f1
[ "BSD-3-Clause" ]
null
null
null
src/compiler/frame-states.cc
Acidburn0zzz/v8
2fee8a0f1d3dca6fe955077c5a41020948a7a0f1
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2015 the V8 project authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "src/base/functional.h" #include "src/compiler/frame-states.h" #include "src/handles-inl.h" namespace v8 { namespace internal { namespace comp...
27.115385
79
0.657683
Acidburn0zzz
b9eb8084bf8bfd3e9d39a93377e6adf82bba8a3c
8,028
cc
C++
lservices/GeofenceManager.cc
alljoyn/location
66396046b382f3664e01bf4b303c63d8f14d943e
[ "Apache-2.0" ]
1
2018-10-22T16:37:07.000Z
2018-10-22T16:37:07.000Z
lservices/GeofenceManager.cc
alljoyn/location
66396046b382f3664e01bf4b303c63d8f14d943e
[ "Apache-2.0" ]
null
null
null
lservices/GeofenceManager.cc
alljoyn/location
66396046b382f3664e01bf4b303c63d8f14d943e
[ "Apache-2.0" ]
null
null
null
/****************************************************************************** * Copyright (c) Open Connectivity Foundation (OCF), AllJoyn Open Source * Project (AJOSP) Contributors and others. * * SPDX-License-Identifier: Apache-2.0 * * All rights reserved. This program and the accompanying ...
34.016949
138
0.606378
alljoyn
b9ebdf1d86b5c6d54cb702e9e2313b9a42c0bf48
784
cpp
C++
src/action/Grab.cpp
RKJenamani/ada_feeding
2eb93216ddfc71d516b0cb9e909407d4361b907e
[ "BSD-3-Clause" ]
null
null
null
src/action/Grab.cpp
RKJenamani/ada_feeding
2eb93216ddfc71d516b0cb9e909407d4361b907e
[ "BSD-3-Clause" ]
null
null
null
src/action/Grab.cpp
RKJenamani/ada_feeding
2eb93216ddfc71d516b0cb9e909407d4361b907e
[ "BSD-3-Clause" ]
null
null
null
#include "feeding/action/Grab.hpp" namespace feeding { namespace action { //============================================================================== void grabFood( const std::shared_ptr<ada::Ada>& ada, const std::shared_ptr<Workspace>& workspace) { if (!workspace->getDefaultFoodItem()) { workspa...
26.133333
80
0.55102
RKJenamani