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
14504bcffa9e1671195dcc01e97e2fdefdd5cb2d
1,123
hpp
C++
03/minik/src/target_x86/x86_assembler.hpp
nokia-wroclaw/nokia-book
dd397958b5db039a2f53e555c2becfc419065264
[ "MIT" ]
104
2015-06-30T07:41:42.000Z
2022-02-28T08:56:37.000Z
03/minik/src/target_x86/x86_assembler.hpp
nokia-wroclaw/nokia-book
dd397958b5db039a2f53e555c2becfc419065264
[ "MIT" ]
null
null
null
03/minik/src/target_x86/x86_assembler.hpp
nokia-wroclaw/nokia-book
dd397958b5db039a2f53e555c2becfc419065264
[ "MIT" ]
22
2015-06-11T14:40:49.000Z
2021-12-27T19:13:11.000Z
#pragma once #include "ir/ir.hpp" #include "ir/symbol_table.hpp" enum class X86_Registers { EAX = 0, EBX = 1, ECX = 2, EDX = 3, ESI = 4, EDI = 5, EBP = 6, ESP = 7 }; struct X86_IrRegisters { static constexpr Ir::Argument EAX = Ir::Argument::PinnedHardRegister(int(X86_Registers::EA...
31.194444
105
0.712378
nokia-wroclaw
145222f4a2d532f4a0c99e7e6175d206fc31aeba
2,187
cpp
C++
archived/VoIP/cs/VoipBackEnd/BackEndAudioHelpers.cpp
dujianxin/Windows-universal-samples
d4e95ff0ac408c5d4d980bb18d53fb2c6556a273
[ "MIT" ]
2,504
2019-05-07T06:56:42.000Z
2022-03-31T19:37:59.000Z
archived/VoIP/cs/VoipBackEnd/BackEndAudioHelpers.cpp
dujianxin/Windows-universal-samples
d4e95ff0ac408c5d4d980bb18d53fb2c6556a273
[ "MIT" ]
314
2019-05-08T16:56:30.000Z
2022-03-21T07:13:45.000Z
archived/VoIP/cs/VoipBackEnd/BackEndAudioHelpers.cpp
dujianxin/Windows-universal-samples
d4e95ff0ac408c5d4d980bb18d53fb2c6556a273
[ "MIT" ]
2,219
2019-05-07T00:47:26.000Z
2022-03-30T21:12:31.000Z
//********************************************************* // // Copyright (c) Microsoft. All rights reserved. // This code is licensed under the MIT License (MIT). // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY // IMPLIED WARRANTIES OF FITNESS FOR A PA...
34.714286
97
0.657979
dujianxin
1456e6459e974b66bbed916f106439036f953c94
4,402
cpp
C++
code/tools/popart-current1/src/networks/AncestralSeqNet.cpp
kibet-gilbert/co1_metaanalysis
1089cc03bc4dbabab543a8dadf49130d8e399665
[ "CC-BY-3.0" ]
1
2021-01-01T05:57:08.000Z
2021-01-01T05:57:08.000Z
code/tools/popart-current1/src/networks/AncestralSeqNet.cpp
kibet-gilbert/co1_metaanalysis
1089cc03bc4dbabab543a8dadf49130d8e399665
[ "CC-BY-3.0" ]
null
null
null
code/tools/popart-current1/src/networks/AncestralSeqNet.cpp
kibet-gilbert/co1_metaanalysis
1089cc03bc4dbabab543a8dadf49130d8e399665
[ "CC-BY-3.0" ]
1
2021-01-01T06:15:56.000Z
2021-01-01T06:15:56.000Z
#include "AncestralSeqNet.h" #include "NetworkError.h" #include <iostream> #include <map> #include <set> using namespace std; AncestralSeqNet::AncestralSeqNet(const vector <Sequence*> & seqvect, const vector<bool> & mask, unsigned epsilon, double alpha) : /*AbstractMSN(seqvect, mask, epsilon), */HapNet(seqvect, ma...
22.232323
128
0.57224
kibet-gilbert
1457c8bf087de1d2746c8dfc46da03537892a899
914
hpp
C++
shared_model/backend/protobuf/commands/proto_command.hpp
coderintherye/iroha
68509282851130c9818f21acef1ef28e53622315
[ "Apache-2.0" ]
null
null
null
shared_model/backend/protobuf/commands/proto_command.hpp
coderintherye/iroha
68509282851130c9818f21acef1ef28e53622315
[ "Apache-2.0" ]
null
null
null
shared_model/backend/protobuf/commands/proto_command.hpp
coderintherye/iroha
68509282851130c9818f21acef1ef28e53622315
[ "Apache-2.0" ]
null
null
null
/** * Copyright Soramitsu Co., Ltd. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0 */ #ifndef IROHA_SHARED_MODEL_PROTO_COMMAND_HPP #define IROHA_SHARED_MODEL_PROTO_COMMAND_HPP #include "interfaces/commands/command.hpp" #include "commands.pb.h" namespace shared_model { namespace proto { class Co...
22.292683
53
0.696937
coderintherye
14615a1c0b433382482e1be95e9571a599fef25b
1,959
hpp
C++
src/pyprx/utilities/data_structures/tree_py.hpp
aravindsiv/ML4KP
064015a7545e1713cbcad3e79807b5cec0849f54
[ "MIT" ]
3
2021-05-31T11:28:03.000Z
2021-05-31T13:49:30.000Z
src/pyprx/utilities/data_structures/tree_py.hpp
aravindsiv/ML4KP
064015a7545e1713cbcad3e79807b5cec0849f54
[ "MIT" ]
1
2021-09-03T09:39:32.000Z
2021-12-10T22:17:56.000Z
src/pyprx/utilities/data_structures/tree_py.hpp
aravindsiv/ML4KP
064015a7545e1713cbcad3e79807b5cec0849f54
[ "MIT" ]
2
2021-09-03T09:17:45.000Z
2021-10-04T15:52:58.000Z
#include "prx/utilities/data_structures/tree.hpp" PRX_SETTER(tree_t, vertex_id_counter) PRX_GETTER(tree_t, vertex_id_counter) void pyprx_utilities_data_structures_tree_py() { class_<prx::tree_node_t, std::shared_ptr<prx::tree_node_t>, bases<prx::abstract_node_t>>("tree_node", init<>()) .def("get_parent", &prx::tre...
47.780488
131
0.722818
aravindsiv
14615b5b73d4ba2cf77c592fdece8422a32c6dc2
300
cpp
C++
libraries/lib-components/ConfigInterface.cpp
IshoAntar/AudMonkey
c9180745529960b147b49f659c4295d7dffb888c
[ "CC-BY-3.0" ]
41
2021-07-07T13:22:16.000Z
2022-03-15T19:46:27.000Z
libraries/lib-components/ConfigInterface.cpp
BeaterTeam/Beater
e92b0b85986d51e40fcccb41fec61bd261fc52e6
[ "CC-BY-3.0" ]
41
2021-07-07T16:47:48.000Z
2022-02-23T03:43:25.000Z
libraries/lib-components/ConfigInterface.cpp
TheEvilSkeleton/AudMonkey
848d951c3d4acf2687a9c83ece71de5940d0546c
[ "CC-BY-3.0" ]
6
2021-07-07T09:39:48.000Z
2021-12-28T01:06:58.000Z
/********************************************************************** AudMonkey: A Digital Audio Editor @file ConfigInterface.cpp **********************************************************************/ #include "ConfigInterface.h" ConfigClientInterface::~ConfigClientInterface() = default;
27.272727
71
0.406667
IshoAntar
1464a693e0bf3899f6f9ecd6df73fdef4395e068
4,822
cpp
C++
src/common.cpp
EDM-Developers/fastEDM
9724bf609d09beae53a89ca5cbe52d407787dbf2
[ "MIT" ]
2
2021-04-27T00:21:57.000Z
2022-01-23T03:46:04.000Z
src/common.cpp
EDM-Developers/fastEDM
9724bf609d09beae53a89ca5cbe52d407787dbf2
[ "MIT" ]
null
null
null
src/common.cpp
EDM-Developers/fastEDM
9724bf609d09beae53a89ca5cbe52d407787dbf2
[ "MIT" ]
1
2021-09-17T17:14:07.000Z
2021-09-17T17:14:07.000Z
#include "common.h" #ifdef JSON void to_json(json& j, const Algorithm& a) { if (a == Algorithm::Simplex) { j = "Simplex"; } else { j = "SMap"; } } void from_json(const json& j, Algorithm& a) { if (j == "Simplex") { a = Algorithm::Simplex; } else { a = Algorithm::SMap; } } void to_json(jso...
26.938547
116
0.575695
EDM-Developers
14654be2919a8e5540b4da26a314d92537de6679
9,967
cpp
C++
src/manager.cpp
openbmc/bios-settings-mgr
29656f07b7e81c0bb13ca119b4c6ef62f5e79a18
[ "Apache-2.0" ]
1
2021-12-13T03:53:38.000Z
2021-12-13T03:53:38.000Z
src/manager.cpp
openbmc/bios-settings-mgr
29656f07b7e81c0bb13ca119b4c6ef62f5e79a18
[ "Apache-2.0" ]
2
2020-12-03T10:28:49.000Z
2022-03-02T05:47:32.000Z
src/manager.cpp
openbmc/bios-settings-mgr
29656f07b7e81c0bb13ca119b4c6ef62f5e79a18
[ "Apache-2.0" ]
1
2021-12-13T03:53:31.000Z
2021-12-13T03:53:31.000Z
/* // Copyright (c) 2020 Intel Corporation // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or...
32.786184
80
0.562757
openbmc
14670a76bd33d6a34a71529f0856211c03120f06
36,873
cpp
C++
apps/camera-calib/camera_calib_guiMain.cpp
waltzrobotics/mrpt
540c52cebd4b7c31b104ebbeec369c800d73aa44
[ "BSD-3-Clause" ]
1
2019-05-08T18:58:54.000Z
2019-05-08T18:58:54.000Z
apps/camera-calib/camera_calib_guiMain.cpp
waltzrobotics/mrpt
540c52cebd4b7c31b104ebbeec369c800d73aa44
[ "BSD-3-Clause" ]
null
null
null
apps/camera-calib/camera_calib_guiMain.cpp
waltzrobotics/mrpt
540c52cebd4b7c31b104ebbeec369c800d73aa44
[ "BSD-3-Clause" ]
null
null
null
/* +------------------------------------------------------------------------+ | Mobile Robot Programming Toolkit (MRPT) | | http://www.mrpt.org/ | | | | Cop...
33.766484
80
0.724297
waltzrobotics
14721df9fd0e5d7acd839bd5ec78de00e0f0cdf3
2,125
cpp
C++
Chapter05-physics/005-forces/src/ofApp.cpp
jeffcrouse/ccof
d9c5773b9913209e3ff06a4777115d750487cb44
[ "MIT" ]
6
2017-09-27T14:13:44.000Z
2020-06-24T18:16:22.000Z
Chapter05-physics/005-forces/src/ofApp.cpp
jeffcrouse/ccof
d9c5773b9913209e3ff06a4777115d750487cb44
[ "MIT" ]
null
null
null
Chapter05-physics/005-forces/src/ofApp.cpp
jeffcrouse/ccof
d9c5773b9913209e3ff06a4777115d750487cb44
[ "MIT" ]
3
2017-10-27T20:33:33.000Z
2019-09-17T05:42:13.000Z
#include "ofApp.h" //-------------------------------------------------------------- void ofApp::setup(){ ofSetWindowShape(1280, 800); ofSetWindowTitle("forces"); ofSetFrameRate(60); ofBackground(255, 255, 255); ofEnableSmoothing(); ofSetCircleResolution(40); gravity.x = 0; gravity....
22.606383
66
0.356706
jeffcrouse
1472cea6e1c8029ab939dffe9bc15a4f82236cf0
6,107
cc
C++
lib/Base64.cc
jojochuang/eventwave
6cb3a8569f12a9127bf326be3231123428cd754d
[ "BSD-3-Clause" ]
null
null
null
lib/Base64.cc
jojochuang/eventwave
6cb3a8569f12a9127bf326be3231123428cd754d
[ "BSD-3-Clause" ]
null
null
null
lib/Base64.cc
jojochuang/eventwave
6cb3a8569f12a9127bf326be3231123428cd754d
[ "BSD-3-Clause" ]
null
null
null
/* * Base64.cc : part of the Mace toolkit for building distributed systems * * Copyright (c) 2011, Charles Killian, Dejan Kostic, Ryan Braud, James W. Anderson, John Fisher-Ogden, Calvin Hubble, Duy Nguyen, Justin Burke, David Oppenheimer, Amin Vahdat, Adolfo Rodriguez, Sooraj Bhat * All rights reserved. * * R...
32.142105
206
0.602423
jojochuang
1474a1984a53c1d6cb08d767e15adf8abab34914
30,372
cpp
C++
library/src/blas2/rocblas_trsv.cpp
YvanMokwinski/rocBLAS
f02952487c7019cbde04c4ddcb596aaf71e51ec6
[ "MIT" ]
null
null
null
library/src/blas2/rocblas_trsv.cpp
YvanMokwinski/rocBLAS
f02952487c7019cbde04c4ddcb596aaf71e51ec6
[ "MIT" ]
1
2019-09-26T01:51:09.000Z
2019-09-26T18:09:56.000Z
library/src/blas2/rocblas_trsv.cpp
YvanMokwinski/rocBLAS
f02952487c7019cbde04c4ddcb596aaf71e51ec6
[ "MIT" ]
null
null
null
/* ************************************************************************ * Copyright 2016-2019 Advanced Micro Devices, Inc. * ************************************************************************ */ #include "../blas3/trtri_trsm.hpp" #include "handle.h" #include "logging.h" #include "rocblas.h" #include "rocbla...
41.892414
107
0.317859
YvanMokwinski
147944acc3cae01f608118077899da58bd2523ac
5,661
cpp
C++
libnd4j/include/ops/declarable/generic/parity_ops/batch_to_space_nd.cpp
steven-lang/deeplearning4j
979ef13c0b28565800fc651693102d7bd2bf52c9
[ "Apache-2.0" ]
1
2019-10-14T06:55:41.000Z
2019-10-14T06:55:41.000Z
libnd4j/include/ops/declarable/generic/parity_ops/batch_to_space_nd.cpp
steven-lang/deeplearning4j
979ef13c0b28565800fc651693102d7bd2bf52c9
[ "Apache-2.0" ]
null
null
null
libnd4j/include/ops/declarable/generic/parity_ops/batch_to_space_nd.cpp
steven-lang/deeplearning4j
979ef13c0b28565800fc651693102d7bd2bf52c9
[ "Apache-2.0" ]
null
null
null
/******************************************************************************* * Copyright (c) 2015-2018 Skymind, Inc. * * This program and the accompanying materials are made available under the * terms of the Apache License, Version 2.0 which is available at * https://www.apache.org/licenses/LICENSE-2.0. * *...
45.288
236
0.651828
steven-lang
147e127c13187317ac47851a21174ffa72a59d4c
1,930
cpp
C++
Server/socketUtils.cpp
sylwow/Cards-against-the-world
36a842da3fdeeccc990b2b60c6e49ff0441597e5
[ "MIT" ]
null
null
null
Server/socketUtils.cpp
sylwow/Cards-against-the-world
36a842da3fdeeccc990b2b60c6e49ff0441597e5
[ "MIT" ]
null
null
null
Server/socketUtils.cpp
sylwow/Cards-against-the-world
36a842da3fdeeccc990b2b60c6e49ff0441597e5
[ "MIT" ]
null
null
null
#include "socketUtils.h" socketUtils::socketUtils() { } socketUtils::~socketUtils() { } void socketUtils::addMessagePrefix(char* pos, uint16_t nmb, char coding, char playerId) { pos[0] = coding; nmb = htons(nmb); memcpy(pos + 1, (char*)& nmb, 2); pos[3] = playerId; } uint16_t socketUtils::getMessagePrefix(char* ...
21.931818
89
0.622798
sylwow
147ebc77e69e696db438a86048421918a06a8e0e
2,223
cpp
C++
mil_common/ros_alarms/src/ros_alarms/alarm_proxy.cpp
RishiKumarRay/mil
f3746a91e68aac713e86b380cdda8852ba826170
[ "MIT" ]
27
2020-02-17T21:54:09.000Z
2022-03-18T17:49:23.000Z
mil_common/ros_alarms/src/ros_alarms/alarm_proxy.cpp
RishiKumarRay/mil
f3746a91e68aac713e86b380cdda8852ba826170
[ "MIT" ]
325
2019-09-11T14:13:56.000Z
2022-03-31T00:38:30.000Z
mil_common/ros_alarms/src/ros_alarms/alarm_proxy.cpp
RishiKumarRay/mil
f3746a91e68aac713e86b380cdda8852ba826170
[ "MIT" ]
24
2019-09-16T00:29:45.000Z
2022-03-06T10:56:38.000Z
/** * Author: David Soto * Date: Jan 16, 2017 */ #include <ros_alarms/alarm_proxy.hpp> using namespace std; namespace ros_alarms { AlarmProxy::AlarmProxy(string _alarm_name, bool _raised, string _node_name, string _problem, string _json, int _severity) { alarm_name = _alarm_name; raised ...
26.783133
106
0.683311
RishiKumarRay
14802d5e52e55151331428b93f76038bb810446a
1,288
cc
C++
Phase2Sim/src/PRIMSD.cc
uiowahep/Old
e52c4a67960028010904a1214f7d060c92f3da8c
[ "Apache-2.0" ]
null
null
null
Phase2Sim/src/PRIMSD.cc
uiowahep/Old
e52c4a67960028010904a1214f7d060c92f3da8c
[ "Apache-2.0" ]
null
null
null
Phase2Sim/src/PRIMSD.cc
uiowahep/Old
e52c4a67960028010904a1214f7d060c92f3da8c
[ "Apache-2.0" ]
null
null
null
#include "PRIMSD.hh" #include "G4UnitsTable.hh" #include "G4TrackStatus.hh" #include "G4VProcess.hh" using namespace CLHEP; // // Constructor // PRIMSD::PRIMSD(G4String name, RunParams runParams, int id, HGCReadoutModule *readout) : G4VSensitiveDetector(name), _runParams(runParams), _readout(readout) { // _read...
14.976744
76
0.67236
uiowahep
1481c8692ad5a3d42770a9c7933c63cdd26738a1
529
hpp
C++
posix/subsystem/src/nl-socket.hpp
robertlipe/managarm
5e6173abb2f2b1c365e6774074380255bcccf3a5
[ "MIT" ]
null
null
null
posix/subsystem/src/nl-socket.hpp
robertlipe/managarm
5e6173abb2f2b1c365e6774074380255bcccf3a5
[ "MIT" ]
null
null
null
posix/subsystem/src/nl-socket.hpp
robertlipe/managarm
5e6173abb2f2b1c365e6774074380255bcccf3a5
[ "MIT" ]
null
null
null
#include "file.hpp" namespace nl_socket { // Configures the given netlink protocol. // TODO: Let this take a callback that is called on receive? void configure(int proto_idx, int num_groups); // Broadcasts a kernel message to the given netlink multicast group. void broadcast(int proto_idx, int grp_idx, std::string ...
29.388889
85
0.775047
robertlipe
1482d94626286d2fbe4bc5d9e97cadf7fe07c715
7,663
cpp
C++
GlobalIllumination/src/DemoMesh.cpp
raptoravis/voxelbasedgi
aaf2b02929edfaf72528c2f029696728c5f1d30f
[ "MIT" ]
null
null
null
GlobalIllumination/src/DemoMesh.cpp
raptoravis/voxelbasedgi
aaf2b02929edfaf72528c2f029696728c5f1d30f
[ "MIT" ]
null
null
null
GlobalIllumination/src/DemoMesh.cpp
raptoravis/voxelbasedgi
aaf2b02929edfaf72528c2f029696728c5f1d30f
[ "MIT" ]
null
null
null
#include <stdafx.h> #include <Demo.h> #include <GlobalIllum.h> #include <DemoMesh.h> void DemoMesh::Release() { SAFE_DELETE_PLIST(subMeshes); } bool DemoMesh::Load(const char *filename) { // cache pointer to GlobalIllum post-processor globalIllumPP = (GlobalIllum*)Demo::renderer->GetPostProcessor("GlobalIllum"); ...
27.367857
96
0.724129
raptoravis
148443f31e06c8ad291dbfd6383580d424ab1f1c
327
cpp
C++
LeetCode/974.subarray-sums-divisible-by-k.ac.cpp
Kresnt/AlgorithmTraining
3dec1e712f525b4f406fe669d97888f322dfca97
[ "MIT" ]
null
null
null
LeetCode/974.subarray-sums-divisible-by-k.ac.cpp
Kresnt/AlgorithmTraining
3dec1e712f525b4f406fe669d97888f322dfca97
[ "MIT" ]
null
null
null
LeetCode/974.subarray-sums-divisible-by-k.ac.cpp
Kresnt/AlgorithmTraining
3dec1e712f525b4f406fe669d97888f322dfca97
[ "MIT" ]
null
null
null
class Solution { public: int subarraysDivByK(vector<int>& A, int K) { const int maxm = 10000 + 7; const int n = A.size(); int c[maxm] = {0}; int ans = 0; c[0] = 1; for(int i = 0, l = 0; i < n; ++i) { l = (l + A[i] % K + K) % K; c[l]++; ans += c[l] - 1; } return ans; ...
19.235294
46
0.425076
Kresnt
148559db6a70da2bc408c303d4be7d6dd2ce1227
1,334
cpp
C++
Lamia/src/Systems/Systems.cpp
Alorafae/Lamia
bf2dd1cf7427fae8728abbb6a718a5223ab68caa
[ "MIT" ]
null
null
null
Lamia/src/Systems/Systems.cpp
Alorafae/Lamia
bf2dd1cf7427fae8728abbb6a718a5223ab68caa
[ "MIT" ]
null
null
null
Lamia/src/Systems/Systems.cpp
Alorafae/Lamia
bf2dd1cf7427fae8728abbb6a718a5223ab68caa
[ "MIT" ]
null
null
null
#include "Systems.h" using namespace LamiaSystems; static Systems* g_LamiaSystem; LAMIA_RESULT LamiaSystems::LamiaSystemsInit(void) { // initialize the system itself g_LamiaSystem = new Systems; // initialize our sub systems file, audio, graphics, etc bool ret = LamiaFileInit(); if (ret == ...
18.788732
69
0.703898
Alorafae
14858075ad5c4397785b7819e088c436c4924844
26,689
cpp
C++
vbox/src/VBox/VMM/testcase/tstSSM.cpp
Nurzamal/rest_api_docker
a9cc01dfc235467d490d9663755b33ef6990bdd8
[ "MIT" ]
null
null
null
vbox/src/VBox/VMM/testcase/tstSSM.cpp
Nurzamal/rest_api_docker
a9cc01dfc235467d490d9663755b33ef6990bdd8
[ "MIT" ]
null
null
null
vbox/src/VBox/VMM/testcase/tstSSM.cpp
Nurzamal/rest_api_docker
a9cc01dfc235467d490d9663755b33ef6990bdd8
[ "MIT" ]
null
null
null
/* $Id: tstSSM.cpp 69111 2017-10-17 14:26:02Z vboxsync $ */ /** @file * Saved State Manager Testcase. */ /* * Copyright (C) 2006-2017 Oracle Corporation * * This file is part of VirtualBox Open Source Edition (OSE), as * available from http://www.virtualbox.org. This file is free software; * you can redistribut...
28.064143
130
0.535839
Nurzamal
14859d765d2a4c7ce6aafacedef25ab335c77686
13,531
cpp
C++
common/contrib/QSsh/src/sshcryptofacility.cpp
cbtek/ClockNGo
4b23043a8b535059990e4eedb2c0f3a4fb079415
[ "MIT" ]
null
null
null
common/contrib/QSsh/src/sshcryptofacility.cpp
cbtek/ClockNGo
4b23043a8b535059990e4eedb2c0f3a4fb079415
[ "MIT" ]
null
null
null
common/contrib/QSsh/src/sshcryptofacility.cpp
cbtek/ClockNGo
4b23043a8b535059990e4eedb2c0f3a4fb079415
[ "MIT" ]
null
null
null
/************************************************************************** ** ** This file is part of Qt Creator ** ** Copyright (c) 2012 Nokia Corporation and/or its subsidiary(-ies). ** ** Contact: http://www.qt-project.org/ ** ** ** GNU Lesser General Public License Usage ** ** This file may be used under the terms...
35.421466
101
0.670313
cbtek
1485d7c5006627275475854ccbc9c159ce35259c
7,617
cc
C++
weblayer/browser/persistence/minimal_browser_persister_browsertest.cc
chromium/chromium
df46e572c3449a4b108d6e02fbe4f6d24cf98381
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
14,668
2015-01-01T01:57:10.000Z
2022-03-31T23:33:32.000Z
weblayer/browser/persistence/minimal_browser_persister_browsertest.cc
chromium/chromium
df46e572c3449a4b108d6e02fbe4f6d24cf98381
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
86
2015-10-21T13:02:42.000Z
2022-03-14T07:50:50.000Z
weblayer/browser/persistence/minimal_browser_persister_browsertest.cc
chromium/chromium
df46e572c3449a4b108d6e02fbe4f6d24cf98381
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
5,941
2015-01-02T11:32:21.000Z
2022-03-31T16:35:46.000Z
// Copyright 2020 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 "base/memory/raw_ptr.h" #include "build/build_config.h" #include "content/public/browser/navigation_controller.h" #include "content/public/browse...
38.276382
80
0.753578
chromium
148619e5823c1dbced2f88975d7fe0f28e494288
3,002
cpp
C++
Frontend/GItems/Mini/RUBorderComponent.cpp
Gattic/gfxplusplus
f0c05a0f424fd65c8f7fd26ee0dee1802a033336
[ "MIT" ]
3
2020-02-12T23:22:45.000Z
2020-02-19T01:03:07.000Z
Frontend/GItems/Mini/RUBorderComponent.cpp
MeeseeksLookAtMe/gfxplusplus
f0c05a0f424fd65c8f7fd26ee0dee1802a033336
[ "MIT" ]
null
null
null
Frontend/GItems/Mini/RUBorderComponent.cpp
MeeseeksLookAtMe/gfxplusplus
f0c05a0f424fd65c8f7fd26ee0dee1802a033336
[ "MIT" ]
null
null
null
// Copyright 2020 Robert Carneiro, Derek Meer, Matthew Tabak, Eric Lujan // // Permission is hereby granted, free of charge, to any person obtaining a copy of this software and // associated documentation files (the "Software"), to deal in the Software without restriction, // including without limitation the rights to ...
27.796296
100
0.758161
Gattic
1489b159b85c69900140ef57b2e9bac4b1010849
34,667
cpp
C++
ext/include/osgEarthDrivers/engine_osgterrain/OSGTileFactory.cpp
energonQuest/dtEarth
47b04bb272ec8781702dea46f5ee9a03d4a22196
[ "MIT" ]
6
2015-09-26T15:33:41.000Z
2021-06-13T13:21:50.000Z
ext/include/osgEarthDrivers/engine_osgterrain/OSGTileFactory.cpp
energonQuest/dtEarth
47b04bb272ec8781702dea46f5ee9a03d4a22196
[ "MIT" ]
null
null
null
ext/include/osgEarthDrivers/engine_osgterrain/OSGTileFactory.cpp
energonQuest/dtEarth
47b04bb272ec8781702dea46f5ee9a03d4a22196
[ "MIT" ]
5
2015-05-04T09:02:23.000Z
2019-06-17T11:34:12.000Z
/* -*-c++-*- */ /* osgEarth - Dynamic map generation toolkit for OpenSceneGraph * Copyright 2008-2013 Pelican Mapping * http://osgearth.org * * osgEarth is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; e...
35.739175
156
0.615484
energonQuest
148a93b4de5d6cd5f069be01687639c56d3461d9
6,176
hpp
C++
osc-daemon/datainjest/jsonparser.hpp
oranellis/AeroRTEP
53f36642ab62702b68b60105045c4c5ed1e0933b
[ "MIT" ]
1
2022-01-26T07:38:19.000Z
2022-01-26T07:38:19.000Z
osc-daemon/datainjest/jsonparser.hpp
oranellis/AeroRTEP
53f36642ab62702b68b60105045c4c5ed1e0933b
[ "MIT" ]
4
2022-01-26T07:32:32.000Z
2022-02-21T22:08:53.000Z
osc-daemon/datainjest/jsonparser.hpp
oranellis/openSatCon
53f36642ab62702b68b60105045c4c5ed1e0933b
[ "MIT" ]
null
null
null
#ifndef JSONPARSER_H #define JSONPARSER_H #include <iostream> #include <list> #include <vector> #include <fstream> #include "../../includes/json.hpp" #include "../components/component.hpp" #include "../components/fueltank.hpp" #include "../components/actuators/thruster.hpp" #include "../components/actuators/rotator.h...
38.842767
100
0.61739
oranellis
1492b850f21c0f4cdae48a5fd78dae7be59a36c4
34,463
cpp
C++
src/liblightmetrica/renderer/renderer_bdpt.cpp
jammm/lightmetrica-v2
6864942ec48d37f2c35dc30a38a26d7cc4bb527e
[ "MIT" ]
150
2015-12-28T10:26:02.000Z
2021-03-17T14:36:16.000Z
src/liblightmetrica/renderer/renderer_bdpt.cpp
jammm/lightmetrica-v2
6864942ec48d37f2c35dc30a38a26d7cc4bb527e
[ "MIT" ]
null
null
null
src/liblightmetrica/renderer/renderer_bdpt.cpp
jammm/lightmetrica-v2
6864942ec48d37f2c35dc30a38a26d7cc4bb527e
[ "MIT" ]
17
2016-02-08T10:57:55.000Z
2020-09-04T03:57:33.000Z
/* Lightmetrica - A modern, research-oriented renderer Copyright (c) 2015 Hisanari Otsu 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 ...
34.257455
232
0.448539
jammm
149357666f8259d27b2dfe44164a519c54c284f2
15,788
cpp
C++
admin/wmi/wbem/adapters/wmireverseperformancemonitor/wmiadapter_refresh/wmi_perf_object.cpp
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
admin/wmi/wbem/adapters/wmireverseperformancemonitor/wmiadapter_refresh/wmi_perf_object.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
admin/wmi/wbem/adapters/wmireverseperformancemonitor/wmiadapter_refresh/wmi_perf_object.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
//////////////////////////////////////////////////////////////////////////////////// // // Copyright (C) 2000-2002, Microsoft Corporation. // // All rights reserved. // // Module Name: // // wmi_perf_object.cpp // // Abstract: // // implements object helper functionality // // History: // // ...
20.345361
129
0.542184
npocmaka
1499268379b786c7f9ca67f5e1345a27cf997ae6
2,130
cpp
C++
aws-cpp-sdk-xray/source/model/ResponseTimeRootCauseEntity.cpp
curiousjgeorge/aws-sdk-cpp
09b65deba03cfbef9a1e5d5986aa4de71bc03cd8
[ "Apache-2.0" ]
2
2019-03-11T15:50:55.000Z
2020-02-27T11:40:27.000Z
aws-cpp-sdk-xray/source/model/ResponseTimeRootCauseEntity.cpp
curiousjgeorge/aws-sdk-cpp
09b65deba03cfbef9a1e5d5986aa4de71bc03cd8
[ "Apache-2.0" ]
null
null
null
aws-cpp-sdk-xray/source/model/ResponseTimeRootCauseEntity.cpp
curiousjgeorge/aws-sdk-cpp
09b65deba03cfbef9a1e5d5986aa4de71bc03cd8
[ "Apache-2.0" ]
1
2019-01-18T13:03:55.000Z
2019-01-18T13:03:55.000Z
๏ปฟ/* * Copyright 2010-2017 Amazon.com, Inc. or its affiliates. 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. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" fil...
20.480769
88
0.723474
curiousjgeorge
1499b5aee1367c1c968dd5feb57f343cc1732286
218
hpp
C++
rapidxml/include/rapidxml/utility.hpp
Berrysoft/XamlCpp
cc7da0cf83892ceb88926292b7c90b9f8da6128d
[ "MIT" ]
27
2020-01-02T07:40:57.000Z
2022-03-09T14:43:56.000Z
rapidxml/include/rapidxml/utility.hpp
Berrysoft/XamlCpp
cc7da0cf83892ceb88926292b7c90b9f8da6128d
[ "MIT" ]
null
null
null
rapidxml/include/rapidxml/utility.hpp
Berrysoft/XamlCpp
cc7da0cf83892ceb88926292b7c90b9f8da6128d
[ "MIT" ]
3
2020-05-21T07:02:08.000Z
2021-07-01T00:56:38.000Z
#ifndef XAML_RAPIDXML_UTILITY_HPP #define XAML_RAPIDXML_UTILITY_HPP #include <xaml/utility.h> #ifndef RAPIDXML_API #define RAPIDXML_API __XAML_IMPORT #endif // !RAPIDXML_API #endif // !XAML_RAPIDXML_UTILITY_HPP
19.818182
38
0.811927
Berrysoft
149aa7e39e2a79be7922f6278d651abcf2222ab0
3,450
cc
C++
vod/src/model/GetVideoListRequest.cc
iamzken/aliyun-openapi-cpp-sdk
3c991c9ca949b6003c8f498ce7a672ea88162bf1
[ "Apache-2.0" ]
null
null
null
vod/src/model/GetVideoListRequest.cc
iamzken/aliyun-openapi-cpp-sdk
3c991c9ca949b6003c8f498ce7a672ea88162bf1
[ "Apache-2.0" ]
null
null
null
vod/src/model/GetVideoListRequest.cc
iamzken/aliyun-openapi-cpp-sdk
3c991c9ca949b6003c8f498ce7a672ea88162bf1
[ "Apache-2.0" ]
1
2020-11-27T09:13:12.000Z
2020-11-27T09:13:12.000Z
/* * 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...
22.847682
91
0.746667
iamzken
149e527a514999a5743443fb29371858a8d8af53
50,286
cpp
C++
test/adiar/zdd/test_binop.cpp
logsem/adiar
056c62a37eedcc5a9e46ccc8c235b5aacedebe32
[ "MIT" ]
null
null
null
test/adiar/zdd/test_binop.cpp
logsem/adiar
056c62a37eedcc5a9e46ccc8c235b5aacedebe32
[ "MIT" ]
null
null
null
test/adiar/zdd/test_binop.cpp
logsem/adiar
056c62a37eedcc5a9e46ccc8c235b5aacedebe32
[ "MIT" ]
null
null
null
go_bandit([]() { describe("adiar/zdd/binop.cpp", []() { node_file zdd_F; node_file zdd_T; { // Garbage collect writers to free write-lock node_writer nw_F(zdd_F); nw_F << create_sink(false); node_writer nw_T(zdd_T); nw_T << create_sink(true); } ptr_t sink_T = create_sink...
37.752252
109
0.518474
logsem
149f5a1f03244b13f4f497f7a56b8cad684d179b
1,228
hpp
C++
Autocoders/test/enum1port/DrvTimingSignalPort.hpp
lydiaxing/fprime
f6b3e03f89e9aca1614243c9896d4a72aa0cc726
[ "Apache-2.0" ]
2
2020-09-08T05:39:05.000Z
2021-05-04T14:58:51.000Z
Autocoders/test/enum1port/DrvTimingSignalPort.hpp
JPLOpenSource/fprime-sw-Rel1.0
18364596c24fa369c938ef8758e5aa945ecc6a9b
[ "Apache-2.0" ]
2
2019-02-27T03:17:15.000Z
2019-03-01T22:34:30.000Z
Autocoders/test/enum1port/DrvTimingSignalPort.hpp
JPLOpenSource/fprime-sw-Rel1.0
18364596c24fa369c938ef8758e5aa945ecc6a9b
[ "Apache-2.0" ]
3
2019-02-17T20:41:15.000Z
2019-02-26T21:06:50.000Z
#ifndef DRV_BIU_RB_INT_SIG_RECEIVE_PORT_HPP #define DRV_BIU_RB_INT_SIG_RECEIVE_PORT_HPP #include <Fw/Port/FwInputPortBase.hpp> #include <Fw/Port/FwOutputPortBase.hpp> #include <Fw/Comp/FwCompBase.hpp> #include <Fw/Types/FwBasicTypes.hpp> namespace Drv { typedef enum { REAL_TIME_INTERRUPT } Ti...
27.909091
111
0.680782
lydiaxing
14a15cb872a5518f55b20c5292e451f1211f3c42
321
hpp
C++
src/header_hpp/tcp_header.hpp
Maxim-byte/pcap_parser-
3f34b824699ec595ff34518d83b278d1cbcdeef5
[ "MIT" ]
null
null
null
src/header_hpp/tcp_header.hpp
Maxim-byte/pcap_parser-
3f34b824699ec595ff34518d83b278d1cbcdeef5
[ "MIT" ]
null
null
null
src/header_hpp/tcp_header.hpp
Maxim-byte/pcap_parser-
3f34b824699ec595ff34518d83b278d1cbcdeef5
[ "MIT" ]
null
null
null
#pragma once #include <cstdint> #include <iosfwd> #include <system_error> struct tcp_header { std::uint16_t s_port; std::uint16_t d_port; static tcp_header read_tcp_header(std::istream & stream, std::error_code & ec); static void print_tcp_header(std::ostream & stream, const tcp_header & header); }; ...
20.0625
83
0.719626
Maxim-byte
14a336dc3427d323f6920fa0a13597de3d4ec19f
7,637
cpp
C++
src/rtc/momo_video_encoder_factory.cpp
S-YOU/momo
9047dd4eb58345e9fea151ee2e04deb876033947
[ "Apache-2.0" ]
null
null
null
src/rtc/momo_video_encoder_factory.cpp
S-YOU/momo
9047dd4eb58345e9fea151ee2e04deb876033947
[ "Apache-2.0" ]
null
null
null
src/rtc/momo_video_encoder_factory.cpp
S-YOU/momo
9047dd4eb58345e9fea151ee2e04deb876033947
[ "Apache-2.0" ]
null
null
null
#include "momo_video_encoder_factory.h" // WebRTC #include <absl/memory/memory.h> #include <absl/strings/match.h> #include <api/video_codecs/sdp_video_format.h> #include <media/base/codec.h> #include <media/base/media_constants.h> #include <media/base/vp9_profile.h> #include <media/engine/simulcast_encoder_adapter.h> ...
34.400901
80
0.698049
S-YOU
14a342db004ab861a6396ea22f45922ed9fb8b92
8,925
cpp
C++
WebLayoutCore/Source/WebCore/rendering/TextPaintStyle.cpp
gubaojian/trylearn
74dd5c6c977f8d867d6aa360b84bc98cb82f480c
[ "MIT" ]
1
2020-05-25T16:06:49.000Z
2020-05-25T16:06:49.000Z
WebLayoutCore/Source/WebCore/rendering/TextPaintStyle.cpp
gubaojian/trylearn
74dd5c6c977f8d867d6aa360b84bc98cb82f480c
[ "MIT" ]
null
null
null
WebLayoutCore/Source/WebCore/rendering/TextPaintStyle.cpp
gubaojian/trylearn
74dd5c6c977f8d867d6aa360b84bc98cb82f480c
[ "MIT" ]
1
2018-07-10T10:53:18.000Z
2018-07-10T10:53:18.000Z
/* * Copyright (C) 2013 Apple Inc. 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. Redistributions of source code must retain the above copyright * notice, this list of conditions a...
41.705607
301
0.732661
gubaojian
14a3fc3a17136a8fb0c0304476b086058ef673ee
4,009
hpp
C++
include/boost/winapi/init_once.hpp
xentrax/winapi
66564382fa780a6f3d88d875181667728a4c4ba0
[ "BSL-1.0" ]
null
null
null
include/boost/winapi/init_once.hpp
xentrax/winapi
66564382fa780a6f3d88d875181667728a4c4ba0
[ "BSL-1.0" ]
null
null
null
include/boost/winapi/init_once.hpp
xentrax/winapi
66564382fa780a6f3d88d875181667728a4c4ba0
[ "BSL-1.0" ]
null
null
null
/* * Copyright 2010 Vicente J. Botet Escriba * Copyright 2015 Andrey Semashev * * Distributed under the Boost Software License, Version 1.0. * See http://www.boost.org/LICENSE_1_0.txt */ #ifndef BOOST_WINAPI_INIT_ONCE_HPP_INCLUDED_ #define BOOST_WINAPI_INIT_ONCE_HPP_INCLUDED_ #include <boost/winapi/config.hpp> ...
33.132231
148
0.817411
xentrax
14a54f67fcc0ce79af00e2c7bf1339ecaceceb7d
208
cpp
C++
Test/Expect/test007.cpp
dMajoIT/spin2cpp
f2ee655d150c9d69042b2dfaf8cae57123b7702c
[ "MIT" ]
39
2015-02-10T13:43:24.000Z
2022-03-08T14:56:41.000Z
Test/Expect/test007.cpp
cbmeeks/spin2cpp
d1707a50ee90d944590a6e82c6227a6ff6ce1042
[ "MIT" ]
230
2015-04-12T22:04:54.000Z
2022-03-30T05:22:11.000Z
Test/Expect/test007.cpp
cbmeeks/spin2cpp
d1707a50ee90d944590a6e82c6227a6ff6ce1042
[ "MIT" ]
21
2016-03-05T05:15:06.000Z
2022-03-24T11:58:15.000Z
// // another test // /* with an inline comment */ #define __SPIN2CPP__ #include <propeller.h> #include "test007.h" int32_t test007::Donext(void) { Count = Count + 1; return Count; }
12.235294
30
0.605769
dMajoIT
14a7f040fbb971eda3467c2c492b2a2ac5713d0d
1,776
cpp
C++
ProblemsSolved/Trie/searchInTheDictionary.cpp
searleser97/Algorithms
af791541d416c29867213d705375cbb3361f486c
[ "Apache-2.0" ]
7
2019-06-06T17:54:20.000Z
2021-03-24T02:31:55.000Z
ProblemsSolved/Trie/searchInTheDictionary.cpp
searleser97/Algorithms
af791541d416c29867213d705375cbb3361f486c
[ "Apache-2.0" ]
null
null
null
ProblemsSolved/Trie/searchInTheDictionary.cpp
searleser97/Algorithms
af791541d416c29867213d705375cbb3361f486c
[ "Apache-2.0" ]
1
2021-03-24T02:31:57.000Z
2021-03-24T02:31:57.000Z
#include <bits/stdc++.h> // wpt = number of words passing through // w = number of words ending in the node // c = character using namespace std; struct Trie { struct Node { unordered_map<char, Node *> ch; int w = 0, wpt = 0; }; Node *root = new Node(); void insert(string str) { Node *curr = roo...
20.894118
51
0.507883
searleser97
14a80a42984b1e4aaf97c5db6ac8e3ba79c13417
274
cpp
C++
example/main.cpp
That-Cool-Coder/sfml-tictactoe
af43fd32b70acd8e73b54a2feb074df93c36bc6d
[ "MIT" ]
null
null
null
example/main.cpp
That-Cool-Coder/sfml-tictactoe
af43fd32b70acd8e73b54a2feb074df93c36bc6d
[ "MIT" ]
null
null
null
example/main.cpp
That-Cool-Coder/sfml-tictactoe
af43fd32b70acd8e73b54a2feb074df93c36bc6d
[ "MIT" ]
null
null
null
#include "Engine.hpp" #include "ExtendingScene.hpp" #include <memory> #include <iostream> int main() { std::cout << "running"; Engine engine; std::shared_ptr<ExtendingScene> scene = std::make_shared<ExtendingScene>(); engine.load(scene); engine.run(); }
21.076923
79
0.675182
That-Cool-Coder
14a84792214f67e5ec46a4fc15e00dbdc182cd16
16,702
cc
C++
hackt_docker/hackt/src/Object/lang/PRS_attribute_registry.cc
broken-wheel/hacktist
36e832ae7dd38b27bca9be7d0889d06054dc2806
[ "MIT" ]
null
null
null
hackt_docker/hackt/src/Object/lang/PRS_attribute_registry.cc
broken-wheel/hacktist
36e832ae7dd38b27bca9be7d0889d06054dc2806
[ "MIT" ]
null
null
null
hackt_docker/hackt/src/Object/lang/PRS_attribute_registry.cc
broken-wheel/hacktist
36e832ae7dd38b27bca9be7d0889d06054dc2806
[ "MIT" ]
null
null
null
/** \file "Object/lang/PRS_attribute_registry.cc" This defines the attribute actions for the cflat visitor. $Id: PRS_attribute_registry.cc,v 1.21 2010/09/01 22:14:20 fang Exp $ */ #include "util/static_trace.hh" DEFAULT_STATIC_TRACE_BEGIN #include <iostream> #include <map> #include "Object/lang/PRS_attribute_re...
26.427215
79
0.639983
broken-wheel
14ac397aadeb7ee80c45813418617b33e65fe0c8
1,074
cpp
C++
tutorials/developers/tutorial_04gpu/wrapper_tutorial_04gpu.cpp
akmaru/tiramisu
8ca4173547b6d12cff10575ef0dc48cf93f7f414
[ "MIT" ]
23
2017-05-03T13:06:34.000Z
2018-06-07T07:12:43.000Z
tutorials/developers/tutorial_04gpu/wrapper_tutorial_04gpu.cpp
akmaru/tiramisu
8ca4173547b6d12cff10575ef0dc48cf93f7f414
[ "MIT" ]
2
2017-04-25T08:59:09.000Z
2017-05-11T16:41:55.000Z
tutorials/developers/tutorial_04gpu/wrapper_tutorial_04gpu.cpp
akmaru/tiramisu
8ca4173547b6d12cff10575ef0dc48cf93f7f414
[ "MIT" ]
5
2017-02-16T14:26:40.000Z
2018-05-30T16:49:27.000Z
#include "Halide.h" #include "wrapper_tutorial_04gpu.h" #include <tiramisu/utils.h> #include <cstdlib> #include <iostream> #define NN 100 int main(int, char **) { Halide::Buffer<uint8_t> A_buf(NN, NN); Halide::Buffer<uint8_t> B_buf(NN, NN); // Initialize matrices with pseudorandom values: for (int i =...
24.976744
72
0.527002
akmaru
14af31dd7dbeb0f08817d4103a1a040b59e892d3
310
cpp
C++
class03/stringIO_1.cpp
jeremypedersen/cppZero
69fc8119fdcc8186fee50896ff378a3c55076fa7
[ "Unlicense" ]
null
null
null
class03/stringIO_1.cpp
jeremypedersen/cppZero
69fc8119fdcc8186fee50896ff378a3c55076fa7
[ "Unlicense" ]
null
null
null
class03/stringIO_1.cpp
jeremypedersen/cppZero
69fc8119fdcc8186fee50896ff378a3c55076fa7
[ "Unlicense" ]
null
null
null
// // Code by: Jeremy Pedersen // // Licensed under the BSD 2-clause license (FreeBSD license) // #include <iostream> #include <string> using namespace std; int main() { string name; cout << "Enter your name: "; cin >> name; cout << "Hello " << name << endl; return 0; }
15.5
61
0.570968
jeremypedersen
14b1f30932ea11b4f9d351496847f5b7f2da42a5
3,161
hpp
C++
code/src/core/maths/util.hpp
shossjer/fimbulwinter
d894e4bddb5d2e6dc31a8112d245c6a1828604e3
[ "0BSD" ]
3
2020-04-29T14:55:58.000Z
2020-08-20T08:43:24.000Z
code/src/core/maths/util.hpp
shossjer/fimbulwinter
d894e4bddb5d2e6dc31a8112d245c6a1828604e3
[ "0BSD" ]
1
2022-03-12T11:37:46.000Z
2022-03-12T20:17:38.000Z
code/src/core/maths/util.hpp
shossjer/fimbulwinter
d894e4bddb5d2e6dc31a8112d245c6a1828604e3
[ "0BSD" ]
null
null
null
#pragma once #include <utility/type_traits.hpp> #include <cstdint> namespace core { namespace maths { template <typename T> struct constant { static const constexpr T pi = T(3.141592653589793238462643383279502884); }; using constantd = constant<double>; using constantf = constant<float>; templa...
25.699187
119
0.632711
shossjer
14b2618b82efd914bfe32ecdc0225c598ca0603d
439
cpp
C++
LargerString.cpp
Kalaiarasan-Hema/kalai
2e3060727f5a18d4ad85c3f81214805c3ed12f8e
[ "Apache-2.0" ]
null
null
null
LargerString.cpp
Kalaiarasan-Hema/kalai
2e3060727f5a18d4ad85c3f81214805c3ed12f8e
[ "Apache-2.0" ]
null
null
null
LargerString.cpp
Kalaiarasan-Hema/kalai
2e3060727f5a18d4ad85c3f81214805c3ed12f8e
[ "Apache-2.0" ]
null
null
null
#include <stdio.h> #include <iostream> using namespace std; class LargerString { int n,i,a=0; string s1,s2; void get() { cout<<"INPUT"<<endl; getline(cin,s1); getline(cin,s2); } void display() { cout<<"OUTPUT"<<endl; for(i=0;i<n;i++) { if(s1[i]>s2[i]) {cout<<s1;break;} else {cout...
11.864865
25
0.560364
Kalaiarasan-Hema
14b365fcf0c112818dbed3011888703a4ad4bf86
2,650
cpp
C++
winsys/textbox.cpp
fcarreiro/albertum
62d7c63bdcd59efd6aadc139d61c4569fb335544
[ "MIT" ]
null
null
null
winsys/textbox.cpp
fcarreiro/albertum
62d7c63bdcd59efd6aadc139d61c4569fb335544
[ "MIT" ]
null
null
null
winsys/textbox.cpp
fcarreiro/albertum
62d7c63bdcd59efd6aadc139d61c4569fb335544
[ "MIT" ]
null
null
null
#include "stdafx.h" /***********************************************************/ CTextBox::CTextBox() { ispassword=false; maxlen=0; prof=NULL; } CTextBox::~CTextBox() { } /***********************************************************/ bool CTextBox::wm_lbuttondown(int a_x, int a_y) { if(!CWin...
21.2
119
0.555094
fcarreiro
14b36efe9242e74ac6c6043d90227f4833511f91
5,513
cpp
C++
rviz_default_plugins/src/rviz_default_plugins/displays/pose/pose_display_selection_handler.cpp
romi2002/rviz
8b2fcc1838e079d0e365894abd7cfd7b255b8d8b
[ "BSD-3-Clause-Clear" ]
null
null
null
rviz_default_plugins/src/rviz_default_plugins/displays/pose/pose_display_selection_handler.cpp
romi2002/rviz
8b2fcc1838e079d0e365894abd7cfd7b255b8d8b
[ "BSD-3-Clause-Clear" ]
null
null
null
rviz_default_plugins/src/rviz_default_plugins/displays/pose/pose_display_selection_handler.cpp
romi2002/rviz
8b2fcc1838e079d0e365894abd7cfd7b255b8d8b
[ "BSD-3-Clause-Clear" ]
1
2020-04-29T07:08:07.000Z
2020-04-29T07:08:07.000Z
/* * Copyright (c) 2008, Willow Garage, Inc. * Copyright (c) 2018, Bosch Software Innovations GmbH. * 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...
40.536765
99
0.757482
romi2002
14b3e585a71ec7d513f1f6930eb9f51ae4c61d9c
588
cpp
C++
ch17/17_27.cpp
zhang1990215/Cpp-Primer
81e51869c02f2ba75e4fe491dee07eaedce2bbc9
[ "CC0-1.0" ]
null
null
null
ch17/17_27.cpp
zhang1990215/Cpp-Primer
81e51869c02f2ba75e4fe491dee07eaedce2bbc9
[ "CC0-1.0" ]
null
null
null
ch17/17_27.cpp
zhang1990215/Cpp-Primer
81e51869c02f2ba75e4fe491dee07eaedce2bbc9
[ "CC0-1.0" ]
null
null
null
//exercise 17.27 //Write a program that reformats a nine-digit zip code as ddddd-dddd. #include <iostream> #include <regex> #include <string> using namespace std; string pattern = "(\\d{5})([.- ])?(\\d{4})"; string fmt = "$1-$3"; regex r(pattern); string s; int main(int argc, char const *argv[]) { while(getli...
16.333333
69
0.532313
zhang1990215
14b4b82e5c7bb9013ed2f0c01d64096795933733
19,282
tpp
C++
src/math/gradients.tpp
Algomorph/LevelSetFusionExperimentsCPP
f56962f0ad5c62e6706f818062782a2e1660afda
[ "Apache-2.0" ]
8
2019-01-07T14:12:21.000Z
2021-01-12T01:48:03.000Z
src/math/gradients.tpp
Algomorph/LevelSetFusionExperimentsCPP
f56962f0ad5c62e6706f818062782a2e1660afda
[ "Apache-2.0" ]
6
2018-12-19T16:43:33.000Z
2019-06-06T19:50:22.000Z
src/math/gradients.tpp
Algomorph/LevelSetFusionExperimentsCPP
f56962f0ad5c62e6706f818062782a2e1660afda
[ "Apache-2.0" ]
2
2019-01-07T14:12:28.000Z
2019-03-06T06:30:24.000Z
// ================================================================ // Created by Gregory Kramida on 10/26/18. // Copyright (c) 2018 Gregory Kramida // 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 th...
38.718876
120
0.685665
Algomorph
14b888620bbe845ebeb6d46313c059dd5d9b7b1f
2,282
hpp
C++
modules/imgcodecs/src/grfmt_jpeg2000_openjpeg.hpp
artun3e/opencv
524a2fffe96195b906a95b548b0a185d3251eb7e
[ "BSD-3-Clause" ]
82
2015-08-15T05:18:30.000Z
2019-04-11T15:18:06.000Z
modules/imgcodecs/src/grfmt_jpeg2000_openjpeg.hpp
artun3e/opencv
524a2fffe96195b906a95b548b0a185d3251eb7e
[ "BSD-3-Clause" ]
16
2015-08-13T09:38:34.000Z
2019-05-06T11:28:13.000Z
modules/imgcodecs/src/grfmt_jpeg2000_openjpeg.hpp
artun3e/opencv
524a2fffe96195b906a95b548b0a185d3251eb7e
[ "BSD-3-Clause" ]
86
2015-08-08T08:28:34.000Z
2019-04-18T08:27:22.000Z
// This file is part of OpenCV project. // It is subject to the license terms in the LICENSE file found in the top-level directory // of this distribution and at http://opencv.org/license.html. // // Copyright (C) 2020, Stefan Brรผns <stefan.bruens@rwth-aachen.de> #ifndef _GRFMT_OPENJPEG_H_ #define _GRFMT_OPENJPEG_H_ ...
22.82
94
0.705083
artun3e
14ba48f492acad0e0b28b660d08abb08276c3eaa
37,523
cpp
C++
src/RenderEngine/Particles/CreatorPlugins.cpp
Shimrra/alo-viewer
16fb9ab094e6a93db55199d210b43089fb4f25a0
[ "MIT" ]
11
2017-01-18T08:58:52.000Z
2021-11-12T16:23:28.000Z
src/RenderEngine/Particles/CreatorPlugins.cpp
TheSuperPlayer/alo-viewer
616cb5a330453a50501d730d28c92059b1121651
[ "MIT" ]
2
2020-06-25T01:35:44.000Z
2020-06-25T01:38:44.000Z
src/RenderEngine/Particles/CreatorPlugins.cpp
TheSuperPlayer/alo-viewer
616cb5a330453a50501d730d28c92059b1121651
[ "MIT" ]
6
2017-02-06T18:12:09.000Z
2021-12-24T16:38:34.000Z
#include "RenderEngine/Particles/CreatorPlugins.h" #include "RenderEngine/Particles/ParticleSystem.h" #include "RenderEngine/Particles/PluginDefs.h" #include "RenderEngine/RenderEngine.h" #include "General/Exceptions.h" #include "General/Math.h" #include "General/Log.h" using namespace std; namespace Alamo { static c...
31.295246
156
0.677451
Shimrra
14be001cf3118bccaf3497cd6e40aefc040febf4
10,685
cpp
C++
lib/src/EBAMRTools/EBCoarToCoarRedist.cpp
rmrsk/Chombo-3.3
f2119e396460c1bb19638effd55eb71c2b35119e
[ "BSD-3-Clause-LBNL" ]
10
2018-02-01T20:57:36.000Z
2022-03-17T02:57:49.000Z
lib/src/EBAMRTools/EBCoarToCoarRedist.cpp
rmrsk/Chombo-3.3
f2119e396460c1bb19638effd55eb71c2b35119e
[ "BSD-3-Clause-LBNL" ]
19
2018-10-04T21:37:18.000Z
2022-02-25T16:20:11.000Z
lib/src/EBAMRTools/EBCoarToCoarRedist.cpp
rmrsk/Chombo-3.3
f2119e396460c1bb19638effd55eb71c2b35119e
[ "BSD-3-Clause-LBNL" ]
11
2019-01-12T23:33:32.000Z
2021-08-09T15:19:50.000Z
#ifdef CH_LANG_CC /* * _______ __ * / ___/ / ___ __ _ / / ___ * / /__/ _ \/ _ \/ V \/ _ \/ _ \ * \___/_//_/\___/_/_/_/_.__/\___/ * Please refer to Copyright.txt, in Chombo's root directory. */ #endif #include "EBCoarToCoarRedist.H" #include "LayoutIterator.H" #include "BaseIVF...
32.776074
87
0.611418
rmrsk
14c023b1f14cb5937e594eaa32b8870fdd3cf503
5,458
cpp
C++
D3D12_ModelAnimation/asdx/src/formats/asdxResMAT.cpp
ProjectAsura/D3D12Samples
f4756807106e998ec2de7621fdd9125582859ae9
[ "MIT" ]
12
2016-11-03T08:38:57.000Z
2022-02-19T01:31:22.000Z
D3D12_ModelAnimation/asdx/src/formats/asdxResMAT.cpp
ProjectAsura/D3D12Samples
f4756807106e998ec2de7621fdd9125582859ae9
[ "MIT" ]
null
null
null
D3D12_ModelAnimation/asdx/src/formats/asdxResMAT.cpp
ProjectAsura/D3D12Samples
f4756807106e998ec2de7621fdd9125582859ae9
[ "MIT" ]
13
2017-05-15T12:34:50.000Z
2021-11-30T13:28:04.000Z
๏ปฟ//------------------------------------------------------------------------------------------------- // File : asdxResMAT.cpp // Desc : Project Asura MaterialSet Data Format (*.mts) Loader // Copyright(c) Project Asura. All right reserved. //------------------------------------------------------------------------------...
32.295858
100
0.411689
ProjectAsura
14c1aca82b13408a9064e316ec3a4375af729e78
663
cpp
C++
modules/ide_old/src/OptionPage_1.cpp
DeepBlue14/rqt_ide
853964dc429d61c9afb6f1fe827f2e3e83f92713
[ "MIT" ]
null
null
null
modules/ide_old/src/OptionPage_1.cpp
DeepBlue14/rqt_ide
853964dc429d61c9afb6f1fe827f2e3e83f92713
[ "MIT" ]
null
null
null
modules/ide_old/src/OptionPage_1.cpp
DeepBlue14/rqt_ide
853964dc429d61c9afb6f1fe827f2e3e83f92713
[ "MIT" ]
null
null
null
#include "OptionPage_1.h" OptionPage_1::OptionPage_1(QWidget* parent) : QWidget(parent) { cssFileStrLstPtr = new QStringList(); cssFileLstWigPtr = new QListWidget(); scanForCssFiles(); outerLayout = new QGridLayout(); outerLayout->addWidget(cssFileLstWigPtr, 0, 0, Qt::AlignCenter); t...
19.5
68
0.695324
DeepBlue14
14c2382a6fdefe166dc70b0171111b92fea69f8d
5,313
cpp
C++
GenesisSandbox/src/Layers/Sandbox2D.cpp
ivanchotom/Genesis
1e5536575bb85f38eb20c96a1ac6c8b2a026386b
[ "Apache-2.0" ]
1
2021-01-07T14:33:22.000Z
2021-01-07T14:33:22.000Z
GenesisSandbox/src/Layers/Sandbox2D.cpp
ivanchotom/Genesis
1e5536575bb85f38eb20c96a1ac6c8b2a026386b
[ "Apache-2.0" ]
null
null
null
GenesisSandbox/src/Layers/Sandbox2D.cpp
ivanchotom/Genesis
1e5536575bb85f38eb20c96a1ac6c8b2a026386b
[ "Apache-2.0" ]
null
null
null
#include "Sandbox2D.h" #include "ImGui/imgui.h" #include "glm/gtc/matrix_transform.hpp" #include "glm/gtc/type_ptr.hpp" #include <chrono> static const uint32_t s_MapWidth = 24; static const char* s_MapTiles = "WWWWWWWWWWWWWWWWWWWWWWWW" "WWWWWWWWDDDDDWWWWWWWWWWW" "WWWWWDDDDDDDDDDDDWWWWWWW" "WWWWDDDDDDDDDDWWWDDDWWW...
29.192308
128
0.673254
ivanchotom
14c28818c7186f1404beb0a4f68d8284e3844b3c
8,884
cpp
C++
thorlcr/activities/selfjoin/thselfjoinslave.cpp
jeclrsg/HPCC-Platform
c1daafb6060f0c47c95bce98e5431fedc33c592d
[ "Apache-2.0" ]
286
2015-01-03T12:45:17.000Z
2022-03-25T18:12:57.000Z
thorlcr/activities/selfjoin/thselfjoinslave.cpp
jeclrsg/HPCC-Platform
c1daafb6060f0c47c95bce98e5431fedc33c592d
[ "Apache-2.0" ]
9,034
2015-01-02T08:49:19.000Z
2022-03-31T20:34:44.000Z
thorlcr/activities/selfjoin/thselfjoinslave.cpp
jakesmith/HPCC-Platform
c3b9268c492e473176ea36e3e916c4a544f47561
[ "Apache-2.0" ]
208
2015-01-02T03:27:28.000Z
2022-02-11T05:54:52.000Z
/*############################################################################## HPCC SYSTEMS software Copyright (C) 2012 HPCC Systemsยฎ. 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...
35.536
196
0.624156
jeclrsg
14c52c2555445a43699fb6b307ef73452e952d3d
5,493
cpp
C++
src/modules/hip/kernel/jitter.cpp
asalmanp/rpp
f31df51103b625a8afa26c46451739c94603452f
[ "MIT" ]
null
null
null
src/modules/hip/kernel/jitter.cpp
asalmanp/rpp
f31df51103b625a8afa26c46451739c94603452f
[ "MIT" ]
null
null
null
src/modules/hip/kernel/jitter.cpp
asalmanp/rpp
f31df51103b625a8afa26c46451739c94603452f
[ "MIT" ]
null
null
null
#include <hip/hip_runtime.h> #define saturate_8u(value) ( (value) > 255 ? 255 : ((value) < 0 ? 0 : (value) )) __device__ unsigned int xorshift(int pixid){ unsigned int x = 123456789; unsigned int w = 88675123; unsigned int seed = x + pixid; unsigned int t = seed ^ (seed << 11); unsigned int res = w ...
41.613636
170
0.488622
asalmanp
14c788f0cc38e96375cf1ed0906cfb9a6b03f640
8,319
cpp
C++
src/geode/model/representation/builder/section_builder.cpp
Geode-solutions/OpenGeode
e47621989e6fc152f529d4e1e7e3b9ef9e7d6ccc
[ "MIT" ]
64
2019-08-02T14:31:01.000Z
2022-03-30T07:46:50.000Z
src/geode/model/representation/builder/section_builder.cpp
Geode-solutions/OpenGeode
e47621989e6fc152f529d4e1e7e3b9ef9e7d6ccc
[ "MIT" ]
395
2019-08-02T17:15:10.000Z
2022-03-31T15:10:27.000Z
src/geode/model/representation/builder/section_builder.cpp
Geode-solutions/OpenGeode
e47621989e6fc152f529d4e1e7e3b9ef9e7d6ccc
[ "MIT" ]
8
2019-08-19T21:32:15.000Z
2022-03-06T18:41:10.000Z
/* * Copyright (c) 2019 - 2021 Geode-solutions * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, mer...
35.4
80
0.669431
Geode-solutions
14c9c4279f8d741df6474b9718009f4928986ded
19,517
cpp
C++
src/gausskernel/storage/cstore/cstore_delta.cpp
opengauss-mirror/openGauss-graph
6beb138fd00abdbfddc999919f90371522118008
[ "MulanPSL-1.0" ]
null
null
null
src/gausskernel/storage/cstore/cstore_delta.cpp
opengauss-mirror/openGauss-graph
6beb138fd00abdbfddc999919f90371522118008
[ "MulanPSL-1.0" ]
null
null
null
src/gausskernel/storage/cstore/cstore_delta.cpp
opengauss-mirror/openGauss-graph
6beb138fd00abdbfddc999919f90371522118008
[ "MulanPSL-1.0" ]
null
null
null
/* * Copyright (c) 2020 Huawei Technologies Co.,Ltd. * * openGauss is licensed under Mulan PSL v2. * You can use this software according to the terms and conditions of the Mulan PSL v2. * You may obtain a copy of Mulan PSL v2 at: * * http://license.coscl.org.cn/MulanPSL2 * * THIS SOFTWARE IS PROVIDED ...
34.60461
122
0.66168
opengauss-mirror
14cbc57d7d0ec22762b7ab742e77c7528846a63a
6,368
cpp
C++
PhysX_3.4/Samples/SampleFramework/renderer/src/RendererMaterial.cpp
RyanTorant/simple-physx
a065a9c734c134074c63c80a9109a398b22d040c
[ "Unlicense" ]
1
2019-12-09T16:03:55.000Z
2019-12-09T16:03:55.000Z
PhysX_3.4/Samples/SampleFramework/renderer/src/RendererMaterial.cpp
RyanTorant/simple-physx
a065a9c734c134074c63c80a9109a398b22d040c
[ "Unlicense" ]
null
null
null
PhysX_3.4/Samples/SampleFramework/renderer/src/RendererMaterial.cpp
RyanTorant/simple-physx
a065a9c734c134074c63c80a9109a398b22d040c
[ "Unlicense" ]
null
null
null
// This code contains NVIDIA Confidential Information and is disclosed to you // under a form of NVIDIA software license agreement provided separately to you. // // Notice // NVIDIA Corporation and its licensors retain all intellectual property and // proprietary rights in and to this software and related documentation...
32.489796
122
0.734139
RyanTorant
14cc20cc753fcc23a7fd2324113160f2b75cca1a
133
cpp
C++
src/kognac/log/logs.cpp
pjotrscholtze/kognac
161a4308367edb2d6ffac9c336e801a20e3ef41e
[ "Apache-2.0" ]
null
null
null
src/kognac/log/logs.cpp
pjotrscholtze/kognac
161a4308367edb2d6ffac9c336e801a20e3ef41e
[ "Apache-2.0" ]
2
2018-06-26T16:41:19.000Z
2021-09-16T12:26:05.000Z
src/kognac/log/logs.cpp
pjotrscholtze/kognac
161a4308367edb2d6ffac9c336e801a20e3ef41e
[ "Apache-2.0" ]
2
2018-09-18T11:38:18.000Z
2021-09-13T23:27:09.000Z
#include <kognac/logs.h> int Logger::minLevel = TRACEL; std::mutex Logger::mutex; std::unique_ptr<Logger::FileLogger> Logger::file;
22.166667
49
0.744361
pjotrscholtze
14cd791727342165625c0ef8a0d101fa739a0fc9
680
cpp
C++
algorithms/sherlock.squares.cpp
kosmaz/HackerRank
1107804c8213d169070a5529de26b97eb190e06c
[ "MIT" ]
1
2015-03-21T20:08:28.000Z
2015-03-21T20:08:28.000Z
algorithms/sherlock.squares.cpp
kosmaz/HackerRank
1107804c8213d169070a5529de26b97eb190e06c
[ "MIT" ]
null
null
null
algorithms/sherlock.squares.cpp
kosmaz/HackerRank
1107804c8213d169070a5529de26b97eb190e06c
[ "MIT" ]
null
null
null
#include <iostream> #include <math.h> using namespace std; long squares(unsigned long long a, unsigned long long b) { long square_count=0; if(a==1) square_count=sqrt(b); else { long root_a=sqrt(a); square_count=((long)sqrt(b))-((long)sqrt(a)); if((root_a*root_a)==a)++square_count; } return...
18.378378
57
0.601471
kosmaz
14cef1c043ea48e9b645ea32f53e2080712d90d4
2,168
cpp
C++
automated-tests/src/dali-toolkit-internal/utc-Dali-ColorConversion.cpp
Coquinho/dali-toolkit
8fea8f2ae64923690519e0de039ce4af51271d9f
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
automated-tests/src/dali-toolkit-internal/utc-Dali-ColorConversion.cpp
Coquinho/dali-toolkit
8fea8f2ae64923690519e0de039ce4af51271d9f
[ "Apache-2.0", "BSD-3-Clause" ]
1
2020-10-19T15:47:43.000Z
2020-10-19T15:47:43.000Z
automated-tests/src/dali-toolkit-internal/utc-Dali-ColorConversion.cpp
expertisesolutions/dali-toolkit
eac3e6ee30183868f1af12addd94e7f2fc467ed7
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
/* * Copyright (c) 2017 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable...
28.155844
96
0.756919
Coquinho
14d3398986db3d9f743d401e31399fb4372bd89b
441
cpp
C++
kickStart/1.cpp
Jonsy13/Competitive-Programming
67e1918488c82b7ab8272b57dd4ffcff9dd4b1ac
[ "MIT" ]
null
null
null
kickStart/1.cpp
Jonsy13/Competitive-Programming
67e1918488c82b7ab8272b57dd4ffcff9dd4b1ac
[ "MIT" ]
null
null
null
kickStart/1.cpp
Jonsy13/Competitive-Programming
67e1918488c82b7ab8272b57dd4ffcff9dd4b1ac
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; int main(){ int t; cin>>t; int k = 1; while(t--){ int n; cin>>n; int a[n]; for(int i =0;i<n;i++){ cin>>a[i]; } int count = 0; for(int i=1;i<n-1;i++){ if(a[i]>a[i+1] && a[i]>a[i-...
17.64
45
0.328798
Jonsy13
14d692f3e56c4c78e67497ad16165b97e8036063
20,100
cpp
C++
src/menu_io.cpp
digitalcraig/EtherTerm
4f994bb9ecbb48fbb77875d4d655b65a8b257d42
[ "Zlib" ]
106
2015-02-01T18:01:48.000Z
2022-02-10T04:51:11.000Z
src/menu_io.cpp
digitalcraig/EtherTerm
4f994bb9ecbb48fbb77875d4d655b65a8b257d42
[ "Zlib" ]
60
2015-02-01T18:00:39.000Z
2022-01-17T17:27:34.000Z
src/menu_io.cpp
digitalcraig/EtherTerm
4f994bb9ecbb48fbb77875d4d655b65a8b257d42
[ "Zlib" ]
16
2015-02-02T00:00:35.000Z
2021-08-17T01:42:58.000Z
#include "menu_io.hpp" #include "sequence_decoder.hpp" #include <iostream> #include <cstdio> #include <cstdlib> #include <string> #include <cstring> MenuIO::MenuIO(sequence_decoder_ptr &decoder, const std::string &program_path) : m_sequence_decoder(decoder) , m_program_path(program_path) { ...
27.198917
121
0.455174
digitalcraig
14d7bdb2822f5bcdc8414f3ab70607112b6e2e82
7,861
cpp
C++
SpoutSDK/Example/Cinder/source/CinderSpoutReceiver.cpp
f-tischler/Spout2
0173a81ebcbc63c96c020e92563359c4f8e0791f
[ "BSD-2-Clause" ]
null
null
null
SpoutSDK/Example/Cinder/source/CinderSpoutReceiver.cpp
f-tischler/Spout2
0173a81ebcbc63c96c020e92563359c4f8e0791f
[ "BSD-2-Clause" ]
null
null
null
SpoutSDK/Example/Cinder/source/CinderSpoutReceiver.cpp
f-tischler/Spout2
0173a81ebcbc63c96c020e92563359c4f8e0791f
[ "BSD-2-Clause" ]
null
null
null
/* Basic Spout receiver for Cinder Uses the Spout SDK Based on the RotatingBox CINDER example without much modification Nothing fancy about this, just the basics. Search for "SPOUT" to see what is required ========================================================================== Copyright (C) 2014...
35.570136
165
0.671416
f-tischler
14dd25fbae2effecb6bffdd2e067030137e52ee0
4,155
cc
C++
src/projects/attractors/attractor_system_blueprint.cc
frtru/GemParticles
7447c4720f902be9686bbed2a490368374fc614a
[ "MIT" ]
19
2017-03-02T21:13:40.000Z
2022-03-24T03:14:10.000Z
src/projects/attractors/attractor_system_blueprint.cc
frtru/GemParticles
7447c4720f902be9686bbed2a490368374fc614a
[ "MIT" ]
46
2016-10-12T22:56:05.000Z
2020-07-06T06:13:45.000Z
OpenGL_Project/src/projects/attractors/attractor_system_blueprint.cc
felixyf0124/COMP477_F19_A2
80f96e130ef2715c3f10de25d1b973a60cc440e5
[ "MIT" ]
5
2017-03-03T02:13:15.000Z
2021-05-02T12:25:20.000Z
/************************************************************************* * Copyright (c) 2016 Fran๏ฟฝois Trudel * * 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, inc...
50.670732
136
0.711913
frtru
14dde6a45cd7c87b114d1b501f67ec47bdfb933f
1,031
cpp
C++
compiler/bino/tests/Functional.tests.cpp
periannath/ONE
61e0bdf2bcd0bc146faef42b85d469440e162886
[ "Apache-2.0" ]
255
2020-05-22T07:45:29.000Z
2022-03-29T23:58:22.000Z
compiler/bino/tests/Functional.tests.cpp
periannath/ONE
61e0bdf2bcd0bc146faef42b85d469440e162886
[ "Apache-2.0" ]
5,102
2020-05-22T07:48:33.000Z
2022-03-31T23:43:39.000Z
compiler/bino/tests/Functional.tests.cpp
periannath/ONE
61e0bdf2bcd0bc146faef42b85d469440e162886
[ "Apache-2.0" ]
120
2020-05-22T07:51:08.000Z
2022-02-16T19:08:05.000Z
/* * Copyright (c) 2019 Samsung Electronics Co., Ltd. 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...
28.638889
75
0.70805
periannath
14dfc88d136480df8c85d062485ac70518677c59
3,687
cpp
C++
src/ItemFactory.cpp
zethon/ttvg
51d79ee3154669447dd522731aa0f7057e723abd
[ "MIT" ]
2
2020-11-02T20:51:36.000Z
2021-12-20T21:53:41.000Z
src/ItemFactory.cpp
zethon/ttvg
51d79ee3154669447dd522731aa0f7057e723abd
[ "MIT" ]
41
2020-07-20T16:37:48.000Z
2022-03-27T00:52:06.000Z
src/ItemFactory.cpp
zethon/ttvg
51d79ee3154669447dd522731aa0f7057e723abd
[ "MIT" ]
1
2020-11-02T20:51:37.000Z
2020-11-02T20:51:37.000Z
#include <boost/filesystem.hpp> #include <lua/lua.hpp> #include <fmt/core.h> #include "Item.h" #include "ItemFactory.h" #include "TTLua.h" namespace tt { namespace { ItemFactory* checkItemFactory(lua_State* L) { lua_rawgeti(L, LUA_REGISTRYINDEX, ITEMFACTORY_LUA_IDX); int type = lua_type(L, -1); if (ty...
22.900621
74
0.578248
zethon
14e02a116364ab8938c4efdf66d78a9f5a9b980b
4,357
cpp
C++
src/API/API.cpp
adityavaishampayan/micromouse_bfs
b9dfceb895f245a5c918505c7cf4b6d93e4ed192
[ "MIT" ]
null
null
null
src/API/API.cpp
adityavaishampayan/micromouse_bfs
b9dfceb895f245a5c918505c7cf4b6d93e4ed192
[ "MIT" ]
null
null
null
src/API/API.cpp
adityavaishampayan/micromouse_bfs
b9dfceb895f245a5c918505c7cf4b6d93e4ed192
[ "MIT" ]
null
null
null
#include "API.h" /** * @brief A funtion to return the width of the maze. * @return */ int API::mazeWidth() { std::cout << "mazeWidth" << std::endl; std::string response; std::cin >> response; return atoi(response.c_str()); } /** * @brief A funtion to return the width of the maze. ...
24.340782
105
0.564609
adityavaishampayan
14e0ecc6593bddabb738b8c9545f982121bb21fc
52
cpp
C++
src/endian.cpp
u3shit/stcm-editor
2bf6576ad4e86ef7cae602182b90cfe2246a1565
[ "WTFPL" ]
56
2016-03-20T19:44:55.000Z
2021-09-03T13:08:16.000Z
src/endian.cpp
u3shit/stcm-editor
2bf6576ad4e86ef7cae602182b90cfe2246a1565
[ "WTFPL" ]
23
2016-06-09T21:09:28.000Z
2021-05-10T10:46:18.000Z
src/endian.cpp
u3shit/stcm-editor
2bf6576ad4e86ef7cae602182b90cfe2246a1565
[ "WTFPL" ]
12
2016-09-12T11:03:15.000Z
2021-07-04T06:10:06.000Z
#include "endian.hpp" #include "endian.binding.hpp"
17.333333
29
0.75
u3shit
14e416931d3fc6af0f1df54769211162e8398e3a
4,771
cpp
C++
folly/test/UnicodeTest.cpp
facebookxx/folly
2da5b6427c302c34e72c4f0aedaa1d9ed892f6fe
[ "Apache-2.0" ]
1
2021-05-18T09:33:02.000Z
2021-05-18T09:33:02.000Z
folly/test/UnicodeTest.cpp
facebookxx/folly
2da5b6427c302c34e72c4f0aedaa1d9ed892f6fe
[ "Apache-2.0" ]
1
2021-05-26T00:37:20.000Z
2021-05-26T00:37:20.000Z
folly/test/UnicodeTest.cpp
facebookxx/folly
2da5b6427c302c34e72c4f0aedaa1d9ed892f6fe
[ "Apache-2.0" ]
1
2021-12-14T10:26:10.000Z
2021-12-14T10:26:10.000Z
/* * Copyright (c) Facebook, Inc. and its affiliates. * * 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 applic...
36.419847
78
0.666317
facebookxx
14e549408580d37599d215c3be8c2bbe495ac395
349
cpp
C++
leetcode121.cpp
SJTUGavinLiu/Leetcodes
99d4010bc34e78d22e3c8b6436e4489a7d1338da
[ "MIT" ]
null
null
null
leetcode121.cpp
SJTUGavinLiu/Leetcodes
99d4010bc34e78d22e3c8b6436e4489a7d1338da
[ "MIT" ]
null
null
null
leetcode121.cpp
SJTUGavinLiu/Leetcodes
99d4010bc34e78d22e3c8b6436e4489a7d1338da
[ "MIT" ]
null
null
null
class Solution { public: int maxProfit(vector<int>& prices) { int Max = 0; int buy = INT_MIN; int sale = 0; for(auto price: prices) { if(-price > buy) buy = -price; if(buy + price > sale) sale = buy + price; } ...
19.388889
40
0.418338
SJTUGavinLiu
14e770757b4c2e2718dc9d8cf3d1dd3b3c8c34c3
637
cpp
C++
src/ButtonJoystick.cpp
stevendaniluk/SimRacingInputs
ca23999b9ed56acfc76c0e38ad4560476192cac9
[ "WTFPL" ]
null
null
null
src/ButtonJoystick.cpp
stevendaniluk/SimRacingInputs
ca23999b9ed56acfc76c0e38ad4560476192cac9
[ "WTFPL" ]
null
null
null
src/ButtonJoystick.cpp
stevendaniluk/SimRacingInputs
ca23999b9ed56acfc76c0e38ad4560476192cac9
[ "WTFPL" ]
null
null
null
#include <Arduino.h> #include "ButtonJoystick.h" ButtonJoystick::ButtonJoystick(Joystick_* joystick, uint8_t key, uint8_t pin, bool low_on = true) : ButtonInput::ButtonInput(pin, low_on) , joystick_(joystick) , key_(key) {} ButtonJoystick::ButtonJoystick(Joystick_* joystick, uint8_t key, uint8_t pin, int range_...
27.695652
108
0.748823
stevendaniluk
14e79150cb86102e088502d9aa01e3f9b95523ac
2,952
hpp
C++
qir/qat/ValidationPass/ValidationPassConfiguration.hpp
troelsfr/qat
55ba460b6be307fc2ac7e8143bf14d7e117da161
[ "MIT" ]
null
null
null
qir/qat/ValidationPass/ValidationPassConfiguration.hpp
troelsfr/qat
55ba460b6be307fc2ac7e8143bf14d7e117da161
[ "MIT" ]
null
null
null
qir/qat/ValidationPass/ValidationPassConfiguration.hpp
troelsfr/qat
55ba460b6be307fc2ac7e8143bf14d7e117da161
[ "MIT" ]
null
null
null
#pragma once // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. #include "Commandline/ConfigurationManager.hpp" #include "QatTypes/QatTypes.hpp" #include <functional> #include <set> namespace microsoft { namespace quantum { struct OpcodeValue { String id{""}; String pr...
27.849057
104
0.631098
troelsfr
14e9189d89d5f3b2ce772f522dd64dda00ab0936
9,010
cpp
C++
LargeBarrelAnalysis/HitFinderTools.cpp
nenprio/j-pet-framework-examples
b76e8c289e91932a2e7bf30b19ab6fcaaa8d2d1e
[ "Apache-2.0" ]
null
null
null
LargeBarrelAnalysis/HitFinderTools.cpp
nenprio/j-pet-framework-examples
b76e8c289e91932a2e7bf30b19ab6fcaaa8d2d1e
[ "Apache-2.0" ]
1
2020-07-15T12:47:16.000Z
2020-07-15T12:47:16.000Z
LargeBarrelAnalysis/HitFinderTools.cpp
nenprio/j-pet-framework-examples
b76e8c289e91932a2e7bf30b19ab6fcaaa8d2d1e
[ "Apache-2.0" ]
null
null
null
/** * @copyright Copyright 2018 The J-PET Framework Authors. 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 find a copy of the License in the LICENCE file. * * Unless required by applicable la...
33.619403
104
0.681798
nenprio
14e9e47c065834ccf1e618fe1828066c4175e948
11,407
cpp
C++
libmetartc2/src/yangencoder/YangFfmpegEncoderMeta.cpp
zhoulipeng/metaRTC
c466cced24e99ee43132378ced0311036ddbbfa0
[ "MIT" ]
1
2022-01-20T03:07:07.000Z
2022-01-20T03:07:07.000Z
libmetartc2/src/yangencoder/YangFfmpegEncoderMeta.cpp
zhoulipeng/metaRTC
c466cced24e99ee43132378ced0311036ddbbfa0
[ "MIT" ]
null
null
null
libmetartc2/src/yangencoder/YangFfmpegEncoderMeta.cpp
zhoulipeng/metaRTC
c466cced24e99ee43132378ced0311036ddbbfa0
[ "MIT" ]
null
null
null
๏ปฟ/* * YangFfmpegEncoderMeta.cpp * * Created on: 2020ๅนด9ๆœˆ26ๆ—ฅ * Author: yang */ #include "YangFfmpegEncoderMeta.h" #include "YangVideoEncoderFfmpeg.h" #include <yangutil/sys/YangLog.h> #include <yangavutil/video/YangMeta.h> YangFfmpegEncoderMeta::YangFfmpegEncoderMeta() { #if Yang_Ffmpeg_UsingSo unloadLib(); ...
39.470588
197
0.721048
zhoulipeng
14eac644e16c9ef95f3c39eb91d37e7a2eb98a1e
18,787
cpp
C++
Core/third_party/JavaScriptCore/dfg/DFGOSRExitCompiler64.cpp
InfiniteSynthesis/lynx-native
022e277ee6767f5b668269a17b1679072cf7c3d6
[ "MIT" ]
677
2017-09-23T16:03:12.000Z
2022-03-26T08:32:10.000Z
Core/third_party/JavaScriptCore/dfg/DFGOSRExitCompiler64.cpp
InfiniteSynthesis/lynx-native
022e277ee6767f5b668269a17b1679072cf7c3d6
[ "MIT" ]
3
2018-06-11T02:04:02.000Z
2020-04-24T09:26:05.000Z
Core/third_party/JavaScriptCore/dfg/DFGOSRExitCompiler64.cpp
InfiniteSynthesis/lynx-native
022e277ee6767f5b668269a17b1679072cf7c3d6
[ "MIT" ]
92
2017-09-21T14:21:27.000Z
2022-03-25T13:29:42.000Z
/* * Copyright (C) 2011, 2013-2016 Apple Inc. 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. Redistributions of source code must retain the above copyright * notice, this list of c...
47.085213
134
0.652792
InfiniteSynthesis
14eacd949b434e2a6dba2aae117bb7d6bbec8b0a
3,836
cxx
C++
vtkm/filter/vector_analysis/DotProduct.cxx
Kitware/vtk-m
b24a878f72b288d69c9da8c7ac33f08db6d39ba9
[ "BSD-3-Clause" ]
null
null
null
vtkm/filter/vector_analysis/DotProduct.cxx
Kitware/vtk-m
b24a878f72b288d69c9da8c7ac33f08db6d39ba9
[ "BSD-3-Clause" ]
null
null
null
vtkm/filter/vector_analysis/DotProduct.cxx
Kitware/vtk-m
b24a878f72b288d69c9da8c7ac33f08db6d39ba9
[ "BSD-3-Clause" ]
null
null
null
//============================================================================ // Copyright (c) Kitware, Inc. // All rights reserved. // See LICENSE.txt for details. // // This software is distributed WITHOUT ANY WARRANTY; without even // the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR // PURP...
31.966667
98
0.67414
Kitware
14eb26ca8cef187940b640d6857f6d548271a543
682
hpp
C++
source/forge/vulkan/device.hpp
aegooby/forge
972e811ef7e454c2a862cc575fd4355a84a83ad0
[ "Apache-2.0" ]
null
null
null
source/forge/vulkan/device.hpp
aegooby/forge
972e811ef7e454c2a862cc575fd4355a84a83ad0
[ "Apache-2.0" ]
null
null
null
source/forge/vulkan/device.hpp
aegooby/forge
972e811ef7e454c2a862cc575fd4355a84a83ad0
[ "Apache-2.0" ]
null
null
null
#pragma once #include "../__common.hpp" #include "common.hpp" namespace forge { namespace vulkan { class device { private: class context& context; public: struct queue { std::uint32_t index = ~0u; vk::Queue queue; }; /** @brief Represents the GPU used. */ vk::PhysicalDevic...
17.487179
51
0.576246
aegooby
14eb57e668f98ee99ce110ba47c98e3868a76913
19,431
cc
C++
components/sync_sessions/session_store.cc
Ron423c/chromium
2edf7b980065b648f8b2a6e52193d83832fe36b7
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
575
2015-06-18T23:58:20.000Z
2022-03-23T09:32:39.000Z
components/sync_sessions/session_store.cc
Ron423c/chromium
2edf7b980065b648f8b2a6e52193d83832fe36b7
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
113
2015-05-04T09:58:14.000Z
2022-01-31T19:35:03.000Z
components/sync_sessions/session_store.cc
iridium-browser/iridium-browser
907e31cf5ce5ad14d832796e3a7c11e496828959
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
52
2015-07-14T10:40:50.000Z
2022-03-15T01:11:49.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 "components/sync_sessions/session_store.h" #include <stdint.h> #include <algorithm> #include <set> #include <utility> #include "base/bind.h" #...
35.137432
80
0.710926
Ron423c
14eba12bfab9282f6a9c5387272c7ea5d4cc445a
1,875
cpp
C++
basic/graph/graph.cpp
sanjosh/smallprogs
8acf7a357080b9154b55565be7c7667db0d4049b
[ "Apache-2.0" ]
7
2017-02-28T06:33:43.000Z
2021-12-17T04:58:19.000Z
basic/graph/graph.cpp
sanjosh/smallprogs
8acf7a357080b9154b55565be7c7667db0d4049b
[ "Apache-2.0" ]
null
null
null
basic/graph/graph.cpp
sanjosh/smallprogs
8acf7a357080b9154b55565be7c7667db0d4049b
[ "Apache-2.0" ]
3
2017-02-28T06:33:30.000Z
2021-02-25T09:42:31.000Z
#include <vector> #include <set> #include <queue> #include <iostream> using namespace std; class Graph { int32_t maxV_ = 0; std::vector<std::set<int32_t>> adj_list_; public: explicit Graph(int32_t maxV) : maxV_(maxV) { adj_list_.resize(maxV); } void AddEdge(int32_t v, int32_t w)...
18.75
57
0.472533
sanjosh
14efa87201392e873efbbdcc4b76d96e77765db9
3,509
cc
C++
remoting/protocol/monitored_video_stub_unittest.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
remoting/protocol/monitored_video_stub_unittest.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
remoting/protocol/monitored_video_stub_unittest.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
// Copyright 2014 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 "remoting/protocol/monitored_video_stub.h" #include <stdint.h> #include <utility> #include "base/bind.h" #include "base/run_loop.h" #include "...
34.067961
80
0.753491
sarang-apps
14f4972a6c5a6f091e8642bd6cc91165e4952c14
2,891
hpp
C++
include/nbla/cuda/function/batch_normalization.hpp
claymodel/nnabla-ext-cuda
cf5304884fe63675a704eaf6c94a4663ed7fc46b
[ "Apache-2.0" ]
2
2020-11-10T04:45:18.000Z
2021-08-06T14:44:06.000Z
include/nbla/cuda/function/batch_normalization.hpp
claymodel/nnabla-ext-cuda
cf5304884fe63675a704eaf6c94a4663ed7fc46b
[ "Apache-2.0" ]
1
2020-11-09T08:40:20.000Z
2020-11-09T08:40:20.000Z
include/nbla/cuda/function/batch_normalization.hpp
claymodel/nnabla-ext-cuda
cf5304884fe63675a704eaf6c94a4663ed7fc46b
[ "Apache-2.0" ]
null
null
null
// Copyright (c) 2017 Sony Corporation. 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 ...
35.256098
79
0.700104
claymodel
14f524cda3b10c321eb3cb0bfb363bfb813ba607
334
cpp
C++
Engine/Plugins/Online/Android/OnlineSubsystemGameCircle/Source/OnlineSubsystemGameCircle/Private/OnlineAGSGameCircleClientCallbacks.cpp
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
1
2022-01-29T18:36:12.000Z
2022-01-29T18:36:12.000Z
Engine/Plugins/Online/Android/OnlineSubsystemGameCircle/Source/OnlineSubsystemGameCircle/Private/OnlineAGSGameCircleClientCallbacks.cpp
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
null
null
null
Engine/Plugins/Online/Android/OnlineSubsystemGameCircle/Source/OnlineSubsystemGameCircle/Private/OnlineAGSGameCircleClientCallbacks.cpp
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
null
null
null
// Copyright 1998-2017 Epic Games, Inc. All Rights Reserved. #include "OnlineAGSGameCircleClientCallbacks.h" void FOnlineShowGameCircleCallback::onShowGameCircleCb(AmazonGames::ErrorCode errorCode, int developerTag) { } void FOnlineShowSignInPageCallback::onShowSignInPageCb(AmazonGames::ErrorCode errorCode, int dev...
27.833333
106
0.832335
windystrife
14f5393ec096ee23599774671ff019f7efe9fb00
455
hh
C++
src/phantasm-hardware-interface/vulkan/common/debug_callback.hh
project-arcana/phantasm-hardware-interface
d75e23b0ac46efb304246930d680851bbe7f6561
[ "MIT" ]
6
2020-12-09T13:53:26.000Z
2021-12-24T14:13:17.000Z
src/phantasm-hardware-interface/vulkan/common/debug_callback.hh
project-arcana/phantasm-hardware-interface
d75e23b0ac46efb304246930d680851bbe7f6561
[ "MIT" ]
5
2020-01-29T09:46:36.000Z
2020-09-04T16:15:53.000Z
src/phantasm-hardware-interface/vulkan/common/debug_callback.hh
project-arcana/phantasm-hardware-interface
d75e23b0ac46efb304246930d680851bbe7f6561
[ "MIT" ]
null
null
null
#pragma once #include <phantasm-hardware-interface/vulkan/loader/volk.hh> namespace phi::vk::detail { VKAPI_ATTR VkBool32 VKAPI_CALL debug_callback(VkDebugUtilsMessageSeverityFlagBitsEXT severity, VkDebugUtilsMessageTypeFlagsEXT type, ...
35
104
0.593407
project-arcana
14f59e5b89402ef03b8e4a61b2a3f80717043c07
15,068
cpp
C++
Projects/TestShadow/src/TestScene.cpp
JorisSAN/DiligentEngine
5701b916bc2e9fefab1cf5ad0d20d4b6bb0f64c5
[ "Apache-2.0" ]
null
null
null
Projects/TestShadow/src/TestScene.cpp
JorisSAN/DiligentEngine
5701b916bc2e9fefab1cf5ad0d20d4b6bb0f64c5
[ "Apache-2.0" ]
null
null
null
Projects/TestShadow/src/TestScene.cpp
JorisSAN/DiligentEngine
5701b916bc2e9fefab1cf5ad0d20d4b6bb0f64c5
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2019-2020 Diligent Graphics LLC * Copyright 2015-2019 Egor Yusov * * 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/LICENS...
35.537736
128
0.708123
JorisSAN
14f59f090cacba7bebc8f80f24d667e36a0b703c
1,420
cc
C++
src/tir/pass/skip_assert.cc
robo-corg/incubator-tvm
4ddfdb4b15d05a5bf85a984837967d004efee5dd
[ "Apache-2.0" ]
4
2018-01-09T07:35:33.000Z
2021-04-20T05:52:50.000Z
src/tir/pass/skip_assert.cc
robo-corg/incubator-tvm
4ddfdb4b15d05a5bf85a984837967d004efee5dd
[ "Apache-2.0" ]
4
2021-03-30T11:59:59.000Z
2022-03-12T00:40:23.000Z
src/tir/pass/skip_assert.cc
robo-corg/incubator-tvm
4ddfdb4b15d05a5bf85a984837967d004efee5dd
[ "Apache-2.0" ]
3
2021-07-20T07:40:15.000Z
2021-08-03T08:39:17.000Z
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
29.583333
63
0.724648
robo-corg
14f5ab3a1550bd0d3946bf255f65796998f5fb5e
1,405
cpp
C++
tools/rcomp-src/lib/BSymbolTable.cpp
Aaron-Goldman/creative-engine
c1f0a89cefe77415fc03283277e4472d771b6ebc
[ "MIT" ]
13
2019-06-13T03:30:58.000Z
2022-01-20T01:20:37.000Z
tools/rcomp-src/lib/BSymbolTable.cpp
Aaron-Goldman/creative-engine
c1f0a89cefe77415fc03283277e4472d771b6ebc
[ "MIT" ]
21
2019-07-15T14:11:20.000Z
2020-11-08T18:14:03.000Z
tools/rcomp-src/lib/BSymbolTable.cpp
Aaron-Goldman/creative-engine
c1f0a89cefe77415fc03283277e4472d771b6ebc
[ "MIT" ]
12
2019-05-29T14:30:38.000Z
2021-02-03T10:07:41.000Z
#include "BSymbolTable.h" // hash a string to a value between 0-255 static TInt16 hash(const char *s) { // this routine is stupid simple. There are other hash algorithms that produce a better distribution of hash values. // better distribution makes it so one bucket list doesn't get huge while others are empty. ...
25.089286
119
0.639146
Aaron-Goldman
14f872707c041bd974f3a0aca60b326a40771979
7,972
cpp
C++
LibRaw/src/decoders/decoders_libraw_dcrdefs.cpp
lcsteyn/DSS
7991c8ddbeb7b2626234cd8ba1e9cb336bbf97c9
[ "BSD-3-Clause" ]
497
2019-06-20T09:52:58.000Z
2022-03-31T12:56:49.000Z
LibRaw/src/decoders/decoders_libraw_dcrdefs.cpp
lcsteyn/DSS
7991c8ddbeb7b2626234cd8ba1e9cb336bbf97c9
[ "BSD-3-Clause" ]
58
2019-06-19T10:53:49.000Z
2022-02-14T22:43:18.000Z
LibRaw/src/decoders/decoders_libraw_dcrdefs.cpp
lcsteyn/DSS
7991c8ddbeb7b2626234cd8ba1e9cb336bbf97c9
[ "BSD-3-Clause" ]
57
2019-07-08T16:08:01.000Z
2022-03-12T15:00:04.000Z
/* -*- C++ -*- * Copyright 2019-2020 LibRaw LLC (info@libraw.org) * LibRaw is free software; you can redistribute it and/or modify it under the terms of the one of two licenses as you choose: 1. GNU LESSER GENERAL PUBLIC LICENSE version 2.1 (See file LICENSE.LGPL provided in LibRaw distribution archive for deta...
27.874126
83
0.546162
lcsteyn
14f9c3b396b7d23e09f4c84c111d35d4f788a86e
10,281
cc
C++
lite/backends/cuda/math/gemm.cc
wanglei91/Paddle-Lite
8b2479f4cdd6970be507203d791bede5a453c09d
[ "Apache-2.0" ]
1,799
2019-08-19T03:29:38.000Z
2022-03-31T14:30:50.000Z
lite/backends/cuda/math/gemm.cc
wanglei91/Paddle-Lite
8b2479f4cdd6970be507203d791bede5a453c09d
[ "Apache-2.0" ]
3,767
2019-08-19T03:36:04.000Z
2022-03-31T14:37:26.000Z
lite/backends/cuda/math/gemm.cc
wanglei91/Paddle-Lite
8b2479f4cdd6970be507203d791bede5a453c09d
[ "Apache-2.0" ]
798
2019-08-19T02:28:23.000Z
2022-03-31T08:31:54.000Z
// Copyright (c) 2019 PaddlePaddle Authors. 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...
36.717857
80
0.474273
wanglei91
14fff2061d3ec43180b620697164e8801e972f3c
6,181
cpp
C++
voxelyzeMain/main2.cpp
fgolemo/EC14-voxelyze
7fcb1abe4e2d35f996437f833c8febd01e368901
[ "Apache-2.0" ]
null
null
null
voxelyzeMain/main2.cpp
fgolemo/EC14-voxelyze
7fcb1abe4e2d35f996437f833c8febd01e368901
[ "Apache-2.0" ]
null
null
null
voxelyzeMain/main2.cpp
fgolemo/EC14-voxelyze
7fcb1abe4e2d35f996437f833c8febd01e368901
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include "VX_Object.h" #include "VX_Environment.h" #include "VX_Sim.h" #include "VX_SimGA.h" int main(int argc, char *argv[]) { char* InputFile; //create the main objects CVXC_Structure structure; CVX_Object Object; CVX_Environment Environment; CVX_SimGA Simulator; long int S...
42.627586
199
0.662514
fgolemo
09005bf2b2f330f6e4982b99eacc1f1abc4be7ea
307
cpp
C++
src/visualiser/src/VisualiserImage/visualiser_image_input.cpp
Greakz/mdh-cmake-cubevis
6c64ec0e14dcdd07e69fa1f018aa7954eeeaf173
[ "MIT" ]
null
null
null
src/visualiser/src/VisualiserImage/visualiser_image_input.cpp
Greakz/mdh-cmake-cubevis
6c64ec0e14dcdd07e69fa1f018aa7954eeeaf173
[ "MIT" ]
5
2021-08-24T11:09:54.000Z
2021-08-24T21:14:15.000Z
src/visualiser/src/VisualiserImage/visualiser_image_input.cpp
Greakz/mdh-cmake-cubevis
6c64ec0e14dcdd07e69fa1f018aa7954eeeaf173
[ "MIT" ]
null
null
null
#include "../../include/i_visualiser.h" void VisualiserImage::mouse_position_update(double x_pos, double y_pos, double last_x_pos, double last_y_pos, bool left_button, bool middle_button) { } void VisualiserImage::mouse_wheel_update(double xoffset, double yoffset, bool left_button, bool middle_button) { }
51.166667
149
0.807818
Greakz
09045cceff8347b26b4d8226ba2efd4db1374823
8,303
cpp
C++
evaluation/individual_modules/host_gemv.cpp
spcl/fblas
96425fbdbaeab6f43997d839836b8224a04f3b53
[ "BSD-3-Clause" ]
68
2019-02-07T21:30:21.000Z
2022-02-16T20:09:27.000Z
evaluation/individual_modules/host_gemv.cpp
spcl/fblas
96425fbdbaeab6f43997d839836b8224a04f3b53
[ "BSD-3-Clause" ]
2
2019-03-15T17:49:03.000Z
2019-07-24T14:05:35.000Z
evaluation/individual_modules/host_gemv.cpp
spcl/fblas
96425fbdbaeab6f43997d839836b8224a04f3b53
[ "BSD-3-Clause" ]
25
2019-03-15T03:00:15.000Z
2021-08-04T10:21:43.000Z
/** Test program for the streaming_gemv module (version 1, i.e. A non trasposed, rowstramed and tiles by rows) Please note: for this test we want to generate data on device. Therefore the input sizes must be a multiple of the tile size The kernels are executed multiple times: - for each execution it...
30.083333
189
0.606889
spcl
0904bfee413fd4264bf1b9927aca82724a143515
592
cpp
C++
Effective-Modern-C++/include/item22/widget.cpp
AndrewAndJenny/AlgorithmTrain
4f6e1b723d7776d1ce4927f84d70da5e56aa9e96
[ "MIT" ]
19
2021-01-09T09:03:03.000Z
2021-12-09T10:37:23.000Z
Effective-Modern-C++/include/item22/widget.cpp
AndrewAndJenny/AlgorithmTrain
4f6e1b723d7776d1ce4927f84d70da5e56aa9e96
[ "MIT" ]
1
2021-03-28T01:06:41.000Z
2021-04-05T08:31:31.000Z
Effective-Modern-C++/include/item22/widget.cpp
AndrewAndJenny/AlgorithmTrain
4f6e1b723d7776d1ce4927f84d70da5e56aa9e96
[ "MIT" ]
2
2021-01-27T06:20:29.000Z
2021-07-07T04:58:14.000Z
๏ปฟ#include "gadget.h" #include "widget.h" #include <string> #include <vector> struct Widget::Impl //่ทŸไน‹ๅ‰โผ€ๆ ท { std::string name; std::vector<double> data; Gadget g1, g2, g3; }; Widget::Widget() :pImpl(std::make_unique<Impl>()){ } //ๆ นๆฎItem 21, ้€š่ฟ‡std::make_sharedๆฅๅˆ›ๅปบstd::unique_ptr Widget::~Widget() = default; //ๅŒไธŠ่ฟฐไปฃ็ ...
21.142857
87
0.679054
AndrewAndJenny
0904ceb13629470931a2aedbfcd7f852495e2713
317
cpp
C++
Source/Kernel/Devices/Drivers/VMware/Mouse/MouseDriver.cpp
jbatonnet/System
227cf491ab5d0660a6bcf654f6cad09d1f82ba8e
[ "MIT" ]
3
2020-04-24T20:23:24.000Z
2022-01-06T22:27:01.000Z
Source/Kernel/Devices/Drivers/VMware/Mouse/MouseDriver.cpp
jbatonnet/system
227cf491ab5d0660a6bcf654f6cad09d1f82ba8e
[ "MIT" ]
null
null
null
Source/Kernel/Devices/Drivers/VMware/Mouse/MouseDriver.cpp
jbatonnet/system
227cf491ab5d0660a6bcf654f6cad09d1f82ba8e
[ "MIT" ]
1
2021-06-25T17:35:08.000Z
2021-06-25T17:35:08.000Z
#include <Kernel/Devices/DeviceManager.h> #include "MouseDriver.h" #include "MouseDevice.h" #include "Mouse.h" using namespace System::Devices; MouseDriver::MouseDriver() { } void MouseDriver::Load() { Device* device = new MouseDevice(); DeviceManager::AddDevice(device); } void MouseDriver::Unload() { }
15.095238
41
0.719243
jbatonnet
09090593b10866d99df7843392491aeb21458c68
29,133
cpp
C++
source/core/tjs2/tjsOctPack.cpp
metarin/krkrv
42e5c23483539e2bc1e8d6858548cf13165494e1
[ "BSD-3-Clause" ]
null
null
null
source/core/tjs2/tjsOctPack.cpp
metarin/krkrv
42e5c23483539e2bc1e8d6858548cf13165494e1
[ "BSD-3-Clause" ]
null
null
null
source/core/tjs2/tjsOctPack.cpp
metarin/krkrv
42e5c23483539e2bc1e8d6858548cf13165494e1
[ "BSD-3-Clause" ]
null
null
null
#include "tjsCommHead.h" #include <map> #include <vector> #include <string> #include "tjsArray.h" #include "tjsError.h" namespace TJS { enum OctPackType { OctPack_ascii, // a : ASCII string(ใƒŒใƒซๆ–‡ๅญ—ใŒ่ฃœๅฎŒใ•ใ‚Œใ‚‹) OctPack_ASCII, // A : ASCII string(ใ‚นใƒšใƒผใ‚นใŒ่ฃœๅฎŒใ•ใ‚Œใ‚‹) OctPack_bitstring, // b : bit string(ไธ‹ไฝใƒ“ใƒƒใƒˆใ‹ใ‚‰ไธŠไฝใƒ“ใƒƒใƒˆใฎ้ †) OctPack_...
32.770529
147
0.600144
metarin
090ad33ddc5f7ee52ea84fc6e6ae207604f628a5
5,283
cpp
C++
Private/HTNWorldState.cpp
ThomasWilliamWallace/htn_planner
689192a3c3a7c6668bb1bc1192229d8eaef66f26
[ "MIT" ]
2
2020-08-30T17:05:29.000Z
2020-12-02T17:13:42.000Z
Private/HTNWorldState.cpp
ThomasWilliamWallace/htn_planner
689192a3c3a7c6668bb1bc1192229d8eaef66f26
[ "MIT" ]
null
null
null
Private/HTNWorldState.cpp
ThomasWilliamWallace/htn_planner
689192a3c3a7c6668bb1bc1192229d8eaef66f26
[ "MIT" ]
null
null
null
#include "HTNWorldState.h" #include <cmath> #include "PlayerData.h" #include "AbstractItem.h" #include "pLog.h" #include <sstream> #include "Missions.h" //*********************************************************** HTNWorldState::HTNWorldState(UPlayerData* playerPtr, PlayerMap& playerMap, std::vector<RealItemType*>& r...
32.213415
118
0.609881
ThomasWilliamWallace
090b808402fce273cb8c666bb99d5fc9f37f149a
857
cpp
C++
eval_server/src/answer.cpp
tnct-spc/procon2014
c2df3257675db2adb9caa882b9026145801c6e4d
[ "MIT" ]
1
2016-11-02T08:42:05.000Z
2016-11-02T08:42:05.000Z
eval_server/src/answer.cpp
tnct-spc/procon2014
c2df3257675db2adb9caa882b9026145801c6e4d
[ "MIT" ]
null
null
null
eval_server/src/answer.cpp
tnct-spc/procon2014
c2df3257675db2adb9caa882b9026145801c6e4d
[ "MIT" ]
null
null
null
#include "answer.hpp" // ๐Ÿฃ๐Ÿฃ๐Ÿฃ ่งฃ็ญ”ๅค‰ๆ› ๐Ÿฃ๐Ÿฃ๐Ÿฃ void Answer::convert(std::string const& s) { answer_type al; answer_atom a; std::istringstream ss; ss.str(s); int nl; // ้ธๆŠžๅ›žๆ•ฐ ss >> nl; for(int i = 0; i < nl; i++) { std::string pos; ss >> pos; point_type ipos{std::stoi(...
23.805556
108
0.493582
tnct-spc
090b83580727fe842d882ffad58bdb622651caed
3,591
cpp
C++
src-plugins/itkProcessRegistrationDiffeomorphicDemons/itkProcessRegistrationDiffeomorphicDemonsPlugin.cpp
ocommowi/medInria-public
9074e40c886881666e7a52c53309d8d28e35c0e6
[ "BSD-4-Clause" ]
null
null
null
src-plugins/itkProcessRegistrationDiffeomorphicDemons/itkProcessRegistrationDiffeomorphicDemonsPlugin.cpp
ocommowi/medInria-public
9074e40c886881666e7a52c53309d8d28e35c0e6
[ "BSD-4-Clause" ]
null
null
null
src-plugins/itkProcessRegistrationDiffeomorphicDemons/itkProcessRegistrationDiffeomorphicDemonsPlugin.cpp
ocommowi/medInria-public
9074e40c886881666e7a52c53309d8d28e35c0e6
[ "BSD-4-Clause" ]
null
null
null
/*========================================================================= medInria Copyright (c) INRIA 2013. All rights reserved. See LICENSE.txt for details. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. ====...
31.5
338
0.714286
ocommowi