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
98ff08ad62b4630adc74e7145b7519a588623505
3,155
cpp
C++
src/common/snippets/tests/src/pass/insert_load_store.cpp
kurylo/openvino
4da0941cd2e8f9829875e60df73d3cd01f820b9c
[ "Apache-2.0" ]
1,127
2018-10-15T14:36:58.000Z
2020-04-20T09:29:44.000Z
src/common/snippets/tests/src/pass/insert_load_store.cpp
kurylo/openvino
4da0941cd2e8f9829875e60df73d3cd01f820b9c
[ "Apache-2.0" ]
439
2018-10-20T04:40:35.000Z
2020-04-19T05:56:25.000Z
src/common/snippets/tests/src/pass/insert_load_store.cpp
kurylo/openvino
4da0941cd2e8f9829875e60df73d3cd01f820b9c
[ "Apache-2.0" ]
414
2018-10-17T05:53:46.000Z
2020-04-16T17:29:53.000Z
// Copyright (C) 2022 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include <gtest/gtest.h> #include "pass/insert_load_store.hpp" #include "common_test_utils/common_utils.hpp" #include <subgraph_lowered.hpp> namespace ov { namespace test { namespace snippets { std::string InsertLoadStoreTests::getTest...
43.819444
106
0.602536
kurylo
c70026920b9b42ade4db1c9d68a1fba2d951e98f
3,190
cpp
C++
cmdstan/stan/lib/stan_math/test/unit/math/fwd/mat/fun/array_builder_test.cpp
yizhang-cae/torsten
dc82080ca032325040844cbabe81c9a2b5e046f9
[ "BSD-3-Clause" ]
null
null
null
cmdstan/stan/lib/stan_math/test/unit/math/fwd/mat/fun/array_builder_test.cpp
yizhang-cae/torsten
dc82080ca032325040844cbabe81c9a2b5e046f9
[ "BSD-3-Clause" ]
null
null
null
cmdstan/stan/lib/stan_math/test/unit/math/fwd/mat/fun/array_builder_test.cpp
yizhang-cae/torsten
dc82080ca032325040844cbabe81c9a2b5e046f9
[ "BSD-3-Clause" ]
null
null
null
#include <stan/math/fwd/mat.hpp> #include <gtest/gtest.h> using stan::math::fvar; TEST(AgradFwdMatrixArrayBuilder,fvar_double) { using std::vector; using stan::math::array_builder; EXPECT_EQ(0U, array_builder<fvar<double> >().array().size()); vector<fvar<double> > x = array_builder<fvar<double> >() ...
30.09434
70
0.600627
yizhang-cae
c7009a6717d265862759f97ad4eae6dd772e7109
1,954
hpp
C++
src/para/peak_tolerance.hpp
toppic-suite/toppic-suite
b5f0851f437dde053ddc646f45f9f592c16503ec
[ "Apache-2.0" ]
8
2018-05-23T14:37:31.000Z
2022-02-04T23:48:38.000Z
src/para/peak_tolerance.hpp
toppic-suite/toppic-suite
b5f0851f437dde053ddc646f45f9f592c16503ec
[ "Apache-2.0" ]
9
2019-08-31T08:17:45.000Z
2022-02-11T20:58:06.000Z
src/para/peak_tolerance.hpp
toppic-suite/toppic-suite
b5f0851f437dde053ddc646f45f9f592c16503ec
[ "Apache-2.0" ]
4
2018-04-25T01:39:38.000Z
2020-05-20T19:25:07.000Z
//Copyright (c) 2014 - 2020, The Trustees of Indiana University. // //Licensed under the Apache License, Version 2.0 (the "License"); //you may not use this file except in compliance with the License. //You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // //Unless required by a...
27.138889
74
0.759468
toppic-suite
c7078a5b9c0dc68041b4e5bba29763e76c8c7cfc
1,185
cpp
C++
31_Next_Permutation.cpp
AvadheshChamola/LeetCode
b0edabfa798c4e204b015f4c367bfc5acfbd8277
[ "MIT" ]
null
null
null
31_Next_Permutation.cpp
AvadheshChamola/LeetCode
b0edabfa798c4e204b015f4c367bfc5acfbd8277
[ "MIT" ]
null
null
null
31_Next_Permutation.cpp
AvadheshChamola/LeetCode
b0edabfa798c4e204b015f4c367bfc5acfbd8277
[ "MIT" ]
null
null
null
/* 31. Next Permutation Medium Implement next permutation, which rearranges numbers into the lexicographically next greater permutation of numbers. If such an arrangement is not possible, it must rearrange it as the lowest possible order (i.e., sorted in ascending order). The replacement must be in place and use onl...
17.954545
124
0.521519
AvadheshChamola
c708832b68888328a59ac5320f9a900134857c44
1,295
cpp
C++
Dev/Cpp/Viewer/Graphics/efk.PostEffects.cpp
NumAniCloud/Effekseer
f4547a57eea4c85b55cb8218bf6cac6af6d6dd37
[ "Apache-2.0", "BSD-3-Clause" ]
1
2020-11-21T01:34:30.000Z
2020-11-21T01:34:30.000Z
Dev/Cpp/Viewer/Graphics/efk.PostEffects.cpp
NumAniCloud/Effekseer
f4547a57eea4c85b55cb8218bf6cac6af6d6dd37
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
Dev/Cpp/Viewer/Graphics/efk.PostEffects.cpp
NumAniCloud/Effekseer
f4547a57eea4c85b55cb8218bf6cac6af6d6dd37
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
#include "efk.PostEffects.h" #ifdef _WIN32 #include "Platform/DX11/efk.PostEffectsDX11.h" #endif #include "Platform/GL/efk.PostEffectsGL.h" namespace efk { BloomEffect* PostEffect::CreateBloom(Graphics* graphics, EffekseerRenderer::Renderer* renderer) { #ifdef _WIN32 if (graphics->GetDeviceType() == DeviceType::Dir...
22.327586
109
0.75444
NumAniCloud
c70896ba3c9b2968b4d834f2e67373f3857eae07
5,917
cc
C++
src/fdb5/rules/Schema.cc
dvuckovic/fdb
c529bf5293d1f5e33048b1b12e7fdfbf4d7448b2
[ "Apache-2.0" ]
5
2020-01-03T10:23:05.000Z
2021-10-21T12:52:47.000Z
src/fdb5/rules/Schema.cc
dvuckovic/fdb
c529bf5293d1f5e33048b1b12e7fdfbf4d7448b2
[ "Apache-2.0" ]
null
null
null
src/fdb5/rules/Schema.cc
dvuckovic/fdb
c529bf5293d1f5e33048b1b12e7fdfbf4d7448b2
[ "Apache-2.0" ]
1
2021-07-08T16:26:06.000Z
2021-07-08T16:26:06.000Z
/* * (C) Copyright 1996- ECMWF. * * This software is licensed under the terms of the Apache Licence Version 2.0 * which can be obtained at http://www.apache.org/licenses/LICENSE-2.0. * In applying this licence, ECMWF does not waive the privileges and immunities * granted to it by virtue of its status as an interg...
26.533632
123
0.577658
dvuckovic
c70ce1514ff7cfcd3c560f89406e3041d99c2bb5
5,576
cc
C++
PhysicsTools/HepMCCandAlgos/plugins/ParticleDecayDrawer.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
852
2015-01-11T21:03:51.000Z
2022-03-25T21:14:00.000Z
PhysicsTools/HepMCCandAlgos/plugins/ParticleDecayDrawer.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
30,371
2015-01-02T00:14:40.000Z
2022-03-31T23:26:05.000Z
PhysicsTools/HepMCCandAlgos/plugins/ParticleDecayDrawer.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
3,240
2015-01-02T05:53:18.000Z
2022-03-31T17:24:21.000Z
/* class ParticleDecayDrawer * * \author Luca Lista, INFN */ #include "FWCore/Framework/interface/EDAnalyzer.h" #include "FWCore/Utilities/interface/InputTag.h" #include "FWCore/Framework/interface/ESHandle.h" #include "FWCore/Utilities/interface/ESGetToken.h" #include "SimGeneral/HepPDTRecord/interface/ParticleData...
32.418605
103
0.61406
ckamtsikis
c71319b609ad64a452c22be56d35aa26aea8f6cb
294
cc
C++
lib/src/Compiler/Runtime/RuntimePhase.cc
milliburn/llvmPy
d6fa3002e823fae00cf33d9b2ea480604681376c
[ "MIT" ]
1
2019-01-22T02:58:04.000Z
2019-01-22T02:58:04.000Z
lib/src/Compiler/Runtime/RuntimePhase.cc
roberth-k/llvmPy
d6fa3002e823fae00cf33d9b2ea480604681376c
[ "MIT" ]
null
null
null
lib/src/Compiler/Runtime/RuntimePhase.cc
roberth-k/llvmPy
d6fa3002e823fae00cf33d9b2ea480604681376c
[ "MIT" ]
null
null
null
#include <assert.h> #include <llvmPy/Compiler/Runtime/RuntimePhase.h> using namespace llvmPy; static std::string const phaseName = "rt"; RuntimePhase::RuntimePhase(RT &rt) : Phase(phaseName), _rt(rt) { } int RuntimePhase::run(RTModule &module) { _rt.import(module); return 0; }
15.473684
49
0.704082
milliburn
c71370c682704f2c244defe01bae201aacb14251
4,263
cpp
C++
test/impl/UniqueTokenStorage_test.cpp
mark-grimes/Communique
969a2a8851ac2eb9dfc0d5c4fdd8669073ad882a
[ "Apache-2.0" ]
null
null
null
test/impl/UniqueTokenStorage_test.cpp
mark-grimes/Communique
969a2a8851ac2eb9dfc0d5c4fdd8669073ad882a
[ "Apache-2.0" ]
1
2015-11-25T09:48:34.000Z
2015-11-25T09:48:34.000Z
test/impl/UniqueTokenStorage_test.cpp
mark-grimes/Communique
969a2a8851ac2eb9dfc0d5c4fdd8669073ad882a
[ "Apache-2.0" ]
null
null
null
#include <communique/impl/UniqueTokenStorage.h> #include "../catch.hpp" #include <iostream> #include <map> SCENARIO( "Test that UniqueTokenStorage behaves as expected", "[UniqueTokenStorage][tools]" ) { GIVEN( "A UniqueTokenStorage<uint64_t,uint32_t> instance" ) { // Use a 32 bit unsigned int as the tokens, and a...
34.658537
107
0.71757
mark-grimes
c716bfe967ba29b14591030c3502628b29a4fdbf
624
cpp
C++
Files/VK18/VK18-16521309.cpp
nishant-khanorkar/CodeChef-Submissions
4019e859d95bfa7fe763acf330c98f5f54b7b185
[ "MIT" ]
null
null
null
Files/VK18/VK18-16521309.cpp
nishant-khanorkar/CodeChef-Submissions
4019e859d95bfa7fe763acf330c98f5f54b7b185
[ "MIT" ]
null
null
null
Files/VK18/VK18-16521309.cpp
nishant-khanorkar/CodeChef-Submissions
4019e859d95bfa7fe763acf330c98f5f54b7b185
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> #define ll long long int using namespace std; int main() { ll gg,hh,kk,i,j,k,m,a1,a2; ll ab[2000007],ans[1000007]; ab[0]=0; for(i=1;i<=2000005;i++) { j=i+1; a1=a2=0; while(j>0) { m=j%10; if(m%2) a1+=m; ...
16
68
0.399038
nishant-khanorkar
c7171eaca46d7e99f6636ad5a650731d17054c21
2,108
cpp
C++
game/main.cpp
geoffwhitehead/moonbase-commander-game
8eb3664e1275e9f0d22fe22d25d334654a57a949
[ "MIT" ]
1
2017-09-30T21:16:35.000Z
2017-09-30T21:16:35.000Z
game/main.cpp
geoffwhitehead/moonbase-commander-game
8eb3664e1275e9f0d22fe22d25d334654a57a949
[ "MIT" ]
null
null
null
game/main.cpp
geoffwhitehead/moonbase-commander-game
8eb3664e1275e9f0d22fe22d25d334654a57a949
[ "MIT" ]
null
null
null
#include "../nclgl/OGLRenderer.h" #include "../engine-base/Camera.h" #include "../engine-base/GameManager.h" #include "../engine-audio/AudioManager.h" #include "../engine-input/InputManager.h" #include "../engine-base/GameLogicManager.h" #include "../engine-physics/PhysicsManager.h" #include "ContactListener.h" #incl...
28.106667
130
0.711575
geoffwhitehead
c718f6aad5362e53f34bd66af06eed9d09b42e06
16,667
cpp
C++
src/app/voltdb/voltdb_src/src/ee/common/executorcontext.cpp
OpenMPDK/SMDK
8f19d32d999731242cb1ab116a4cb445d9993b15
[ "BSD-3-Clause" ]
44
2022-03-16T08:32:31.000Z
2022-03-31T16:02:35.000Z
src/app/voltdb/voltdb_src/src/ee/common/executorcontext.cpp
H2O0Lee/SMDK
eff49bc17a55a83ea968112feb2e2f2ea18c4ff5
[ "BSD-3-Clause" ]
1
2022-03-29T02:30:28.000Z
2022-03-30T03:40:46.000Z
src/app/voltdb/voltdb_src/src/ee/common/executorcontext.cpp
H2O0Lee/SMDK
eff49bc17a55a83ea968112feb2e2f2ea18c4ff5
[ "BSD-3-Clause" ]
18
2022-03-19T04:41:04.000Z
2022-03-31T03:32:12.000Z
/* This file is part of VoltDB. * Copyright (C) 2008-2020 VoltDB Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any la...
42.30203
328
0.699346
OpenMPDK
c71a59e885c1226bb0817675657235af87c80a5f
1,987
cpp
C++
ports/esp32/src/OTA.cpp
ygjukim/hFramework
994ea7550c34b4943e2fa2d5e9ca447aa555f39e
[ "MIT" ]
33
2017-07-03T22:49:30.000Z
2022-03-31T19:32:55.000Z
ports/esp32/src/OTA.cpp
ygjukim/hFramework
994ea7550c34b4943e2fa2d5e9ca447aa555f39e
[ "MIT" ]
6
2017-07-13T13:23:22.000Z
2019-10-25T17:51:28.000Z
ports/esp32/src/OTA.cpp
ygjukim/hFramework
994ea7550c34b4943e2fa2d5e9ca447aa555f39e
[ "MIT" ]
17
2017-07-01T05:35:47.000Z
2022-03-22T23:33:00.000Z
#include <hFramework.h> #include <cstring> #include <utility> #include "esp_ota_ops.h" namespace hFramework { namespace OTA { const esp_partition_t* getOtaPartition() { const esp_partition_t* bootPartition = esp_ota_get_boot_partition(); const char* newname; if (bootPartition == nullptr || strcmp("ota_0"...
27.985915
96
0.630096
ygjukim
c71cc72be8c6d79d01e0da7690a5c2f3c4d257f7
279
cpp
C++
src/Test.PlcNext/Deployment/PortNameTooShort/src/PortNameTooShortProgram.cpp
PLCnext/PLCnext_CLI
cf8ad590f05196747b403da891bdd5da86f82469
[ "Apache-2.0" ]
7
2020-10-08T12:37:49.000Z
2021-03-29T07:49:52.000Z
src/Test.PlcNext/Deployment/PortNameTooShort/src/PortNameTooShortProgram.cpp
PLCnext/PLCnext_CLI
cf8ad590f05196747b403da891bdd5da86f82469
[ "Apache-2.0" ]
10
2020-10-09T14:04:01.000Z
2022-03-09T09:38:58.000Z
src/Test.PlcNext/Deployment/PortNameTooShort/src/PortNameTooShortProgram.cpp
PLCnext/PLCnext_CLI
cf8ad590f05196747b403da891bdd5da86f82469
[ "Apache-2.0" ]
2
2020-09-04T06:45:39.000Z
2020-10-30T10:07:33.000Z
#include "PortNameTooShortProgram.hpp" #include "Arp/System/Commons/Logging.h" #include "Arp/System/Core/ByteConverter.hpp" namespace PortNameTooShort { void PortNameTooShortProgram::Execute() { //implement program } } // end of namespace PortNameTooShort
19.928571
45
0.734767
PLCnext
c72191e3edc2be1cb12de94a53cd84a52c58176d
215
cpp
C++
8_bit_manipulation/5_even_odd.cpp
ShyamNandanKumar/coding-ninja2
a43a21575342261e573f71f7d8eff0572f075a17
[ "MIT" ]
11
2021-01-02T10:07:17.000Z
2022-03-16T00:18:06.000Z
8_bit_manipulation/5_even_odd.cpp
meyash/cp_master
316bf47db2a5b40891edd73cff834517993c3d2a
[ "MIT" ]
null
null
null
8_bit_manipulation/5_even_odd.cpp
meyash/cp_master
316bf47db2a5b40891edd73cff834517993c3d2a
[ "MIT" ]
5
2021-05-19T11:17:18.000Z
2021-09-16T06:23:31.000Z
// check if num is even or odd // just check last bit #include<bits/stdc++.h> using namespace std; int main(){ int n; cin>>n; if((n&1)==1){ cout<<"Odd"; }else{ cout<<"Even"; } }
14.333333
30
0.506977
ShyamNandanKumar
c724e1bb075d6c4d90d921e9ba588d4e53c0e120
4,855
cpp
C++
src/plugins/simulator/entities/led_entity.cpp
hoelzl/argos3
05e2b8a0a2a94139a0753ebfac4d4c51cdea8e1c
[ "MIT" ]
null
null
null
src/plugins/simulator/entities/led_entity.cpp
hoelzl/argos3
05e2b8a0a2a94139a0753ebfac4d4c51cdea8e1c
[ "MIT" ]
null
null
null
src/plugins/simulator/entities/led_entity.cpp
hoelzl/argos3
05e2b8a0a2a94139a0753ebfac4d4c51cdea8e1c
[ "MIT" ]
null
null
null
/** * @file <argos3/core/simulator/entity/led_entity.cpp> * * @author Carlo Pinciroli - <ilpincy@gmail.com> */ #include "led_entity.h" #include <argos3/core/simulator/space/space.h> #include <argos3/plugins/simulator/media/led_medium.h> namespace argos { /****************************************/ /********...
30.923567
139
0.444284
hoelzl
c7272fab357b540cdd71d596e135c3789072c14e
15,219
cpp
C++
iTunesBackup/core/Utils.cpp
BlueMatthew/iTunesBackup
d70615988d782a5b1b721797c6e38c6cbb1a4542
[ "Apache-2.0" ]
1
2022-01-11T06:01:26.000Z
2022-01-11T06:01:26.000Z
iTunesBackup/core/Utils.cpp
BlueMatthew/iTunesBackup
d70615988d782a5b1b721797c6e38c6cbb1a4542
[ "Apache-2.0" ]
null
null
null
iTunesBackup/core/Utils.cpp
BlueMatthew/iTunesBackup
d70615988d782a5b1b721797c6e38c6cbb1a4542
[ "Apache-2.0" ]
null
null
null
// // Utils.cpp // WechatExporter // // Created by Matthew on 2020/9/30. // Copyright © 2020 Matthew. All rights reserved. // #include "Utils.h" #include <ctime> #include <vector> #include <sstream> #include <iomanip> #include <fstream> #include <algorithm> #include <codecvt> #include <locale> #in...
25.365
181
0.576713
BlueMatthew
c72750f602073b391ea96f9d237851726eda7727
4,336
cpp
C++
radiation/cpp/src/explorer_lp.cpp
dfridovi/exploration
5e66115178988bd264a920041dfeab6d3539caec
[ "BSD-3-Clause" ]
5
2018-07-08T08:32:49.000Z
2022-03-13T10:17:09.000Z
radiation/cpp/src/explorer_lp.cpp
dfridovi/exploration
5e66115178988bd264a920041dfeab6d3539caec
[ "BSD-3-Clause" ]
5
2016-11-30T02:52:58.000Z
2018-05-24T04:46:49.000Z
radiation/cpp/src/explorer_lp.cpp
dfridovi/exploration
5e66115178988bd264a920041dfeab6d3539caec
[ "BSD-3-Clause" ]
2
2016-12-01T04:06:40.000Z
2019-06-19T16:32:28.000Z
/* * Copyright (c) 2015, The Regents of the University of California (Regents). * 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 a...
40.148148
79
0.675969
dfridovi
d17703ec69b9fc6ccbe5af7df0e6d0b9c75a85fa
2,918
hpp
C++
Safety/Libraries/Drivers/Inc/PPM.hpp
YashrajN/ZeroPilot-SW
3418f7050443af86bc0e7cc8e58177a95adc40eb
[ "BSD-4-Clause" ]
15
2017-09-12T14:54:16.000Z
2021-09-21T23:28:57.000Z
Safety/Libraries/Drivers/Inc/PPM.hpp
YashrajN/ZeroPilot-SW
3418f7050443af86bc0e7cc8e58177a95adc40eb
[ "BSD-4-Clause" ]
67
2017-10-31T02:04:44.000Z
2022-03-28T01:02:25.000Z
Safety/Libraries/Drivers/Inc/PPM.hpp
YashrajN/ZeroPilot-SW
3418f7050443af86bc0e7cc8e58177a95adc40eb
[ "BSD-4-Clause" ]
48
2017-09-28T23:47:17.000Z
2022-01-08T18:30:40.000Z
/** * Implements PPM driver. Support variable PPM, where the input can be * from 8-12 channels. Note that the assumption is that we're going to be * reading signals that range from 1-2ms. If you're trying to read outside of this range, * modify the prescaler in the implementation, as we may get a timer overflow or ...
29.77551
111
0.724469
YashrajN
d17790213d15384333e2034a51d74f3a7bb35eb6
16,201
cc
C++
third_party/mcpat/cacti/highradix.cc
s-kanev/XIOSim
9673bbd15ba72c9cce15243a462bffb5d9ded9ae
[ "BSD-3-Clause" ]
55
2015-05-29T19:59:33.000Z
2022-02-08T03:08:15.000Z
third_party/mcpat/cacti/highradix.cc
s-kanev/XIOSim
9673bbd15ba72c9cce15243a462bffb5d9ded9ae
[ "BSD-3-Clause" ]
1
2015-04-03T04:40:26.000Z
2015-04-03T04:40:26.000Z
third_party/mcpat/cacti/highradix.cc
s-kanev/XIOSim
9673bbd15ba72c9cce15243a462bffb5d9ded9ae
[ "BSD-3-Clause" ]
7
2015-04-03T00:28:32.000Z
2018-09-01T20:53:58.000Z
/*------------------------------------------------------------ * CACTI 6.5 * Copyright 2008 Hewlett-Packard Development Corporation * All Rights Reserved * * Permission to use, copy, and modify this software and its documentation is * hereby granted onl...
41.223919
126
0.645639
s-kanev
d17ab0648db2690e2ef9a65a32161d0fb946cb54
8,024
cpp
C++
be/src/runtime/export_task_mgr.cpp
mengqinghuan/Doris
c0cccb27c966821f630400ad8d19f49a59bc582c
[ "Apache-2.0" ]
1
2017-08-10T13:14:50.000Z
2017-08-10T13:14:50.000Z
be/src/runtime/export_task_mgr.cpp
rinack/palo
fb64a1a8e8ed612cd95d1ea0c67bf70804a1d2da
[ "Apache-2.0" ]
null
null
null
be/src/runtime/export_task_mgr.cpp
rinack/palo
fb64a1a8e8ed612cd95d1ea0c67bf70804a1d2da
[ "Apache-2.0" ]
1
2021-07-21T03:05:40.000Z
2021-07-21T03:05:40.000Z
// Copyright (c) 2017, Baidu.com, Inc. All Rights Reserved // 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...
33.020576
90
0.637961
mengqinghuan
d17fd6d9180a3debe969e442111c13bb948ef421
9,853
cpp
C++
Src/Core/DeviceBridge.cpp
chowdaryd/C3
118a35f88d0cf3ca526af5052b1140f1b7d3ff4b
[ "BSD-3-Clause" ]
null
null
null
Src/Core/DeviceBridge.cpp
chowdaryd/C3
118a35f88d0cf3ca526af5052b1140f1b7d3ff4b
[ "BSD-3-Clause" ]
1
2020-05-05T21:25:16.000Z
2020-05-05T21:25:16.000Z
Src/Core/DeviceBridge.cpp
CX-4/C3
da84536f229999fb5cba43fe7d983dcc8f80b830
[ "BSD-3-Clause" ]
null
null
null
#include "StdAfx.h" #include "DeviceBridge.h" #include "Relay.h" //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// FSecure::C3::Core::DeviceBridge::DeviceBridge(std::sh...
46.042056
222
0.383538
chowdaryd
d180b05df5259a9d8786957993c9f3fc7560fd90
1,423
cpp
C++
src/pal/tests/palsuite/c_runtime/_snprintf_s/test1/test1.cpp
elinor-fung/coreclr
c1801e85024add717f518feb6a9caed60d54500f
[ "MIT" ]
159
2020-06-17T01:01:55.000Z
2022-03-28T10:33:37.000Z
src/pal/tests/palsuite/c_runtime/_snprintf_s/test1/test1.cpp
elinor-fung/coreclr
c1801e85024add717f518feb6a9caed60d54500f
[ "MIT" ]
19
2020-06-27T01:16:35.000Z
2022-02-06T20:33:24.000Z
src/pal/tests/palsuite/c_runtime/_snprintf_s/test1/test1.cpp
elinor-fung/coreclr
c1801e85024add717f518feb6a9caed60d54500f
[ "MIT" ]
19
2020-05-21T08:18:20.000Z
2021-06-29T01:13:13.000Z
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. /*============================================================================ ** ** Source: test1.c ** ** Purpose:...
24.118644
78
0.510892
elinor-fung
d181ec15f6334b917385d3e91fbf4c41dd92ce0e
622
cpp
C++
cpp/rot13.cpp
angelopassaro/Hacktoberfest-1
21f90f5d49efba9b1a27f4d9b923f5017ab43f0e
[ "Apache-2.0" ]
1
2020-10-06T01:20:07.000Z
2020-10-06T01:20:07.000Z
cpp/rot13.cpp
angelopassaro/Hacktoberfest-1
21f90f5d49efba9b1a27f4d9b923f5017ab43f0e
[ "Apache-2.0" ]
null
null
null
cpp/rot13.cpp
angelopassaro/Hacktoberfest-1
21f90f5d49efba9b1a27f4d9b923f5017ab43f0e
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include <string> #include <cctype> std::string rot13(std::string source) { std::string transformed; for (size_t i = 0; i < source.size(); ++i) { if (isalpha(source[i])) { if ((tolower(source[i]) - 'a') < 13) transformed.append(1, source[i] + 13); else transforme...
23.923077
78
0.573955
angelopassaro
d1830235551238a11afab51cc05d4121d8aa5921
3,168
cpp
C++
DigDuck/source/ipinfo.cpp
mickelfeng/qt_learning
1f565754c36f0c09888cf4fbffa6271298d0678b
[ "Apache-2.0" ]
1
2016-01-05T07:24:32.000Z
2016-01-05T07:24:32.000Z
DigDuck/source/ipinfo.cpp
mickelfeng/qt_learning
1f565754c36f0c09888cf4fbffa6271298d0678b
[ "Apache-2.0" ]
null
null
null
DigDuck/source/ipinfo.cpp
mickelfeng/qt_learning
1f565754c36f0c09888cf4fbffa6271298d0678b
[ "Apache-2.0" ]
null
null
null
#include "ipinfo.h" #include <QDebug> ipInfo::ipInfo() { } //返回字符串数组 QStringList ipInfo::ipAddr (const QString &ip) { QStringList address = ip.split ("."); return address; } //判断是否为IP格式 bool ipInfo::isIP (const QString &ip ) { QStringList address = ip.split ("."); int num = 0; ...
28.035398
133
0.554924
mickelfeng
d189ea96a8e55d39bec3de32b781d2950fda3df2
3,025
cc
C++
src/ray/core_worker/transport/normal_scheduling_queue.cc
dsctt/ray
29d94a22114b02adfd3745c4991a3ce70592dd16
[ "Apache-2.0" ]
1
2021-09-20T15:45:59.000Z
2021-09-20T15:45:59.000Z
src/ray/core_worker/transport/normal_scheduling_queue.cc
dsctt/ray
29d94a22114b02adfd3745c4991a3ce70592dd16
[ "Apache-2.0" ]
53
2021-10-06T20:08:04.000Z
2022-03-21T20:17:25.000Z
src/ray/core_worker/transport/normal_scheduling_queue.cc
dsctt/ray
29d94a22114b02adfd3745c4991a3ce70592dd16
[ "Apache-2.0" ]
null
null
null
// Copyright 2017 The Ray 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 by applicable law or agreed to i...
33.611111
90
0.716033
dsctt
d189ed9d6b8ac829e994d250169c59de358605f6
12,159
cpp
C++
cnn/main.cpp
FCS-holding/acc_lib
1b6c0bc5467400e2ac678d18426cbbc7d44e8fec
[ "Apache-2.0" ]
null
null
null
cnn/main.cpp
FCS-holding/acc_lib
1b6c0bc5467400e2ac678d18426cbbc7d44e8fec
[ "Apache-2.0" ]
null
null
null
cnn/main.cpp
FCS-holding/acc_lib
1b6c0bc5467400e2ac678d18426cbbc7d44e8fec
[ "Apache-2.0" ]
null
null
null
#include <fcntl.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <math.h> #include <unistd.h> #include <assert.h> #include <stdbool.h> #include <sys/types.h> #include <sys/stat.h> //#include <CL/opencl.h> #include <sys/time.h> #include <iostream> #include <fstream> #include <string> //#includ...
35.040346
131
0.546344
FCS-holding
d18a59aa26a3d619a220eccaf3ca5db3b4c919e5
10,255
cpp
C++
tests/capture_ut.cpp
orivej/pire
1df29444fcdff712320f9b6af6f28188838b774c
[ "MIT" ]
212
2015-01-09T12:15:30.000Z
2022-01-25T17:20:22.000Z
tests/capture_ut.cpp
orivej/pire
1df29444fcdff712320f9b6af6f28188838b774c
[ "MIT" ]
35
2015-07-28T11:50:39.000Z
2020-09-17T20:48:43.000Z
tests/capture_ut.cpp
orivej/pire
1df29444fcdff712320f9b6af6f28188838b774c
[ "MIT" ]
34
2015-02-10T12:43:27.000Z
2022-01-25T17:20:27.000Z
/* * capture_ut.cpp -- * * Copyright (c) 2007-2010, Dmitry Prokoptsev <dprokoptsev@gmail.com>, * Alexander Gololobov <agololobov@gmail.com> * * This file is part of Pire, the Perl Incompatible * Regular Expressions library. * * Pire is free software: you can redistribute it and/or modi...
32.86859
221
0.682789
orivej
d18b025b3d6fc867cc719e0b4b463f3d71b7c9a9
2,597
cpp
C++
thirdparty/basalt/thirdparty/ros/ros_comm/test/test_roscpp/test/src/wait_for_message.cpp
Bookiebookie/LieSpline
b617bdf6b37164562387d0257145e9230d28e2e7
[ "BSD-3-Clause" ]
2
2021-05-22T09:46:00.000Z
2022-03-25T09:56:22.000Z
thirdparty/basalt/thirdparty/ros/ros_comm/test/test_roscpp/test/src/wait_for_message.cpp
Bookiebookie/LieSpline
b617bdf6b37164562387d0257145e9230d28e2e7
[ "BSD-3-Clause" ]
null
null
null
thirdparty/basalt/thirdparty/ros/ros_comm/test/test_roscpp/test/src/wait_for_message.cpp
Bookiebookie/LieSpline
b617bdf6b37164562387d0257145e9230d28e2e7
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright (c) 2008, Willow Garage, 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: * * * Redistributions of source code must retain the above copyright * notice, this l...
33.294872
87
0.730073
Bookiebookie
d18b14c2cb9cfb6988cdc5125b7fe9b0eef637a1
3,501
cc
C++
chrome/browser/search/hotword_service_factory.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
chrome/browser/search/hotword_service_factory.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
chrome/browser/search/hotword_service_factory.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 2013 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 "chrome/browser/search/hotword_service_factory.h" #include "base/command_line.h" #include "build/build_config.h" #include "chrome/browser/profil...
36.092784
80
0.773493
google-ar
d18cea7cecb037520353bed7d78354a36a16e22e
1,094
cpp
C++
src/tile/Recovery.cpp
rbtnn/tile
8b0b896b6e69128e68a4b134d7b0fbf617894fb1
[ "MIT" ]
1
2015-01-08T21:58:32.000Z
2015-01-08T21:58:32.000Z
src/tile/Recovery.cpp
rbtnn/tile
8b0b896b6e69128e68a4b134d7b0fbf617894fb1
[ "MIT" ]
null
null
null
src/tile/Recovery.cpp
rbtnn/tile
8b0b896b6e69128e68a4b134d7b0fbf617894fb1
[ "MIT" ]
null
null
null
#include <tile/common_headers.h> #include <tile/common_functions.h> #include <tile/wndproc_functions.h> #include <tile/Recovery.h> namespace Tile{ void Recovery::save(HWND const& hwnd_){ auto it = rects.find(hwnd_); if(it == std::end(rects)){ RECT rect; ::GetWindowRect(hwnd_, &rect); rects...
35.290323
100
0.662706
rbtnn
d18d8dd0c5dde502ca871623aaa726f80e9494c6
681
cpp
C++
src/game/client/hl2/c_basehlcombatweapon.cpp
cstom4994/SourceEngineRebuild
edfd7f8ce8af13e9d23586318350319a2e193c08
[ "MIT" ]
6
2022-01-23T09:40:33.000Z
2022-03-20T20:53:25.000Z
src/game/client/hl2/c_basehlcombatweapon.cpp
cstom4994/SourceEngineRebuild
edfd7f8ce8af13e9d23586318350319a2e193c08
[ "MIT" ]
null
null
null
src/game/client/hl2/c_basehlcombatweapon.cpp
cstom4994/SourceEngineRebuild
edfd7f8ce8af13e9d23586318350319a2e193c08
[ "MIT" ]
1
2022-02-06T21:05:23.000Z
2022-02-06T21:05:23.000Z
//========= Copyright Valve Corporation, All rights reserved. ============// // // Purpose: // //=============================================================================// #include "cbase.h" #include "c_basehlcombatweapon.h" #include "igamemovement.h" // memdbgon must be the last include file in a .cpp file!!!...
32.428571
104
0.687225
cstom4994
d18dad187d1681d93bb60d9045bcfcc87ecc5f3d
14,175
cpp
C++
Source/Structures/ModeMapper.cpp
vsicurella/SuperVirtualKeyboard
b59549281ea16b70f94b3136fe0b9a1f9fc355e2
[ "Unlicense" ]
22
2019-06-26T12:41:49.000Z
2022-02-11T14:48:18.000Z
Source/Structures/ModeMapper.cpp
vsicurella/SuperVirtualKeyboard
b59549281ea16b70f94b3136fe0b9a1f9fc355e2
[ "Unlicense" ]
18
2019-06-22T21:49:21.000Z
2021-05-15T01:33:57.000Z
Source/Structures/ModeMapper.cpp
vsicurella/SuperVirtualKeyboard
b59549281ea16b70f94b3136fe0b9a1f9fc355e2
[ "Unlicense" ]
null
null
null
/* ============================================================================== ModeMapper.cpp Created: 30 May 2019 8:02:42pm Author: Vincenzo ============================================================================== */ #include "ModeMapper.h" ModeMapper::ModeMapper() { mappingNode = Val...
29.106776
220
0.621869
vsicurella
d18dfda5a300940a36a693815729262068d573ec
519
cpp
C++
golang/guess_number_higher_or_lower/guess_number_higher_or_lower.cpp
Hubstation/100challenges
68189cde28cadc91bcabe2d12a68703ce913099f
[ "MIT" ]
43
2020-08-30T18:12:35.000Z
2022-03-08T05:03:05.000Z
golang/guess_number_higher_or_lower/guess_number_higher_or_lower.cpp
sangam14/challenges
d71cbb3960bc3adb43311959ca5694c1de63401c
[ "MIT" ]
15
2020-08-30T18:12:24.000Z
2020-10-08T17:02:50.000Z
golang/guess_number_higher_or_lower/guess_number_higher_or_lower.cpp
sangam14/challenges
d71cbb3960bc3adb43311959ca5694c1de63401c
[ "MIT" ]
24
2020-08-31T15:07:24.000Z
2021-02-28T09:56:46.000Z
// Forward declaration of guess API. // @param num, your guess // @return -1 if my number is lower, 1 if my number is higher, otherwise return 0 int guess(int num); class Solution { public: int guessNumber(int n) { int left = 1, right = n; int mid; while (left <= right) { mid = lef...
25.95
81
0.535645
Hubstation
d19131e69731fa7a7bc8d6efc64169f17569cc7a
445
cpp
C++
oclint-rules/lib/util/StdUtil.cpp
BGU-AiDnD/oclint
484fed44ca0e34532745b3d4f04124cbf5bb42fa
[ "BSD-3-Clause" ]
3,128
2015-01-01T06:00:31.000Z
2022-03-29T23:43:20.000Z
oclint-rules/lib/util/StdUtil.cpp
BGU-AiDnD/oclint
484fed44ca0e34532745b3d4f04124cbf5bb42fa
[ "BSD-3-Clause" ]
432
2015-01-03T15:43:08.000Z
2022-03-29T02:32:48.000Z
oclint-rules/lib/util/StdUtil.cpp
BGU-AiDnD/oclint
484fed44ca0e34532745b3d4f04124cbf5bb42fa
[ "BSD-3-Clause" ]
454
2015-01-06T03:11:12.000Z
2022-03-22T05:49:38.000Z
#include "oclint/util/StdUtil.h" #include <algorithm> bool isUnderscore(char aChar) { return aChar == '_'; } std::string removeUnderscores(std::string str) { str.erase(remove_if(str.begin(), str.end(), &::isUnderscore), str.end()); return str; } std::string capitalizeFirstLetter(std::string str) { i...
21.190476
77
0.631461
BGU-AiDnD
d19738d3084cd0541338794eb0104cc4a8292104
15,644
cpp
C++
deform_control/external_libs/OpenSceneGraph-2.8.5/src/osgWrappers/osgAnimation/Interpolator.cpp
UM-ARM-Lab/mab_ms
f199f05b88060182cfbb47706bd1ff3479032c43
[ "BSD-2-Clause" ]
3
2018-08-20T12:12:43.000Z
2021-06-06T09:43:27.000Z
deform_control/external_libs/OpenSceneGraph-2.8.5/src/osgWrappers/osgAnimation/Interpolator.cpp
UM-ARM-Lab/mab_ms
f199f05b88060182cfbb47706bd1ff3479032c43
[ "BSD-2-Clause" ]
null
null
null
deform_control/external_libs/OpenSceneGraph-2.8.5/src/osgWrappers/osgAnimation/Interpolator.cpp
UM-ARM-Lab/mab_ms
f199f05b88060182cfbb47706bd1ff3479032c43
[ "BSD-2-Clause" ]
1
2022-03-31T03:12:23.000Z
2022-03-31T03:12:23.000Z
// *************************************************************************** // // Generated automatically by genwrapper. // Please DO NOT EDIT this file! // // *************************************************************************** #include <osgIntrospection/ReflectionMacros> #include <osgIntrospection/Type...
47.406061
165
0.73338
UM-ARM-Lab
d19ac18a784ff2d5e63066a3d2b0f7cef6c14515
3,582
cpp
C++
lib/test/ContactTest.cpp
luocf/Elastos.SDK.ElephantWallet.Contact
361167b010483b0cc99ed094e376d4486a9fe001
[ "MIT" ]
null
null
null
lib/test/ContactTest.cpp
luocf/Elastos.SDK.ElephantWallet.Contact
361167b010483b0cc99ed094e376d4486a9fe001
[ "MIT" ]
null
null
null
lib/test/ContactTest.cpp
luocf/Elastos.SDK.ElephantWallet.Contact
361167b010483b0cc99ed094e376d4486a9fe001
[ "MIT" ]
null
null
null
#include <ElephantContact.hpp> #include <Elastos.SDK.Keypair.C/Elastos.Wallet.Utility.h> #include <memory> #include <fstream> #include <iostream> #include <thread> #include <signal.h> #include <DateTime.hpp> #include <Platform.hpp> #include <Log.hpp> #include <MD5.hpp> #include "ContactTestCmd.hpp" #include "P2PNetwor...
27.984375
112
0.633445
luocf
d19c8a04153b320011d0028c51e948cd0d6faf8c
2,575
hpp
C++
modules/core/base/include/nt2/predicates/functions/scalar/isequaln.hpp
psiha/nt2
5e829807f6b57b339ca1be918a6b60a2507c54d0
[ "BSL-1.0" ]
34
2017-05-19T18:10:17.000Z
2022-01-04T02:18:13.000Z
modules/core/base/include/nt2/predicates/functions/scalar/isequaln.hpp
psiha/nt2
5e829807f6b57b339ca1be918a6b60a2507c54d0
[ "BSL-1.0" ]
null
null
null
modules/core/base/include/nt2/predicates/functions/scalar/isequaln.hpp
psiha/nt2
5e829807f6b57b339ca1be918a6b60a2507c54d0
[ "BSL-1.0" ]
7
2017-12-02T12:59:17.000Z
2021-07-31T12:46:14.000Z
//============================================================================== // Copyright 2003 - 2011 LASMEA UMR 6602 CNRS/Univ. Clermont II // Copyright 2009 - 2011 LRI UMR 8623 CNRS/Univ Paris Sud XI // // Distributed under the Boost Software License, Version 1.0. // ...
32.1875
80
0.503689
psiha
d19d0410333d65dbb1a1d5a7d8399a55b605bc3c
3,325
cpp
C++
marsyas-vamp/marsyas/src/marsyas/marsystems/PatchMatrix.cpp
jaouahbi/VampPlugins
27c2248d1c717417fe4d448cdfb4cb882a8a336a
[ "Apache-2.0" ]
null
null
null
marsyas-vamp/marsyas/src/marsyas/marsystems/PatchMatrix.cpp
jaouahbi/VampPlugins
27c2248d1c717417fe4d448cdfb4cb882a8a336a
[ "Apache-2.0" ]
null
null
null
marsyas-vamp/marsyas/src/marsyas/marsystems/PatchMatrix.cpp
jaouahbi/VampPlugins
27c2248d1c717417fe4d448cdfb4cb882a8a336a
[ "Apache-2.0" ]
null
null
null
/* ** Copyright (C) 1998-2006 George Tzanetakis <gtzan@cs.uvic.ca> ** ** This program is free software; you can redistribute it and/or modify ** it under the terms of the GNU General Public License as published by ** the Free Software Foundation; either version 2 of the License, or ** (at your option) any later version...
25
88
0.731729
jaouahbi
d19d1daa41c2ed4687505e33e53667bf6024f8a9
416
cpp
C++
p1918_1.cpp
Alex-Amber/LuoguAlgorithmProblems
ae8abdb6110badc9faf03af1af42ea562ca1170c
[ "MIT" ]
null
null
null
p1918_1.cpp
Alex-Amber/LuoguAlgorithmProblems
ae8abdb6110badc9faf03af1af42ea562ca1170c
[ "MIT" ]
null
null
null
p1918_1.cpp
Alex-Amber/LuoguAlgorithmProblems
ae8abdb6110badc9faf03af1af42ea562ca1170c
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; unordered_map<int, int> um; int main() { ios::sync_with_stdio(false); cin.tie(0); int N; cin >> N; for (int i = 1; i <= N; i++) { int a; cin >> a; um[a] = i; } int Q; cin >> Q; while (Q) { Q--; i...
16
50
0.40625
Alex-Amber
d19e593f4e8a48266f278e9dd7cae4aaab0c9713
4,655
cpp
C++
src/TacticsVictory/local/Editor/GUI/GUI.cpp
Sasha7b9/U-Cube
442927ff1391bfe78cdf520ad303c7dc29086b46
[ "MIT" ]
null
null
null
src/TacticsVictory/local/Editor/GUI/GUI.cpp
Sasha7b9/U-Cube
442927ff1391bfe78cdf520ad303c7dc29086b46
[ "MIT" ]
null
null
null
src/TacticsVictory/local/Editor/GUI/GUI.cpp
Sasha7b9/U-Cube
442927ff1391bfe78cdf520ad303c7dc29086b46
[ "MIT" ]
null
null
null
// (c) Aleksandr Shevchenko e-mail : Sasha7b9@tut.by #include "stdafx.h" #include "FileSystem/ConfigurationFile_v.h" #include "GUI/Cursor_.h" #include "GUI/GUI.h" #include "GUI/Controls/DropDownListWithTextAndButton_.h" #include "GUI/Controls/GovernorFloat_.h" #include "GUI/Controls/Label_.h" #include "GUI/Controls/But...
23.159204
84
0.645113
Sasha7b9
d1a00add84a3d5353b9893b8cb6dcbfb35350be8
2,915
cpp
C++
src/HealthReceiver.cpp
Telecominfraproject/wlan-cloud-analytics
0856e256e99d5f7be18a8b5cd7d543900b99751e
[ "BSD-3-Clause" ]
null
null
null
src/HealthReceiver.cpp
Telecominfraproject/wlan-cloud-analytics
0856e256e99d5f7be18a8b5cd7d543900b99751e
[ "BSD-3-Clause" ]
null
null
null
src/HealthReceiver.cpp
Telecominfraproject/wlan-cloud-analytics
0856e256e99d5f7be18a8b5cd7d543900b99751e
[ "BSD-3-Clause" ]
null
null
null
// // Created by stephane bourque on 2022-03-15. // #include "HealthReceiver.h" #include "VenueWatcher.h" #include "fmt/core.h" namespace OpenWifi { int HealthReceiver::Start() { Running_ = true; Types::TopicNotifyFunction F = [this](const std::string &Key, const std::string &Payload) { this->Heal...
36.4375
137
0.551973
Telecominfraproject
d1a17facf3be385e3591301104754add8c060250
4,834
cpp
C++
gamechannel/chaintochannel.cpp
spaceexpanse/libxgame
f604e81d152d8c697846a3a01278e5305a4d6d3e
[ "MIT" ]
null
null
null
gamechannel/chaintochannel.cpp
spaceexpanse/libxgame
f604e81d152d8c697846a3a01278e5305a4d6d3e
[ "MIT" ]
null
null
null
gamechannel/chaintochannel.cpp
spaceexpanse/libxgame
f604e81d152d8c697846a3a01278e5305a4d6d3e
[ "MIT" ]
null
null
null
// Copyright (C) 2018-2022 The Xaya developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "chaintochannel.hpp" #include "protoutils.hpp" #include "proto/metadata.pb.h" #include "proto/stateproof.pb.h" #include <...
25.046632
80
0.627431
spaceexpanse
d1a3ecacda23163b4a5176ba1e33b4b1015aa144
1,736
cpp
C++
AlgorithmsandDataStructures/7thLab/g(DividersOfPermutation).cpp
ShuffleZZZ/ITMO
29db54d96afef0558550471c58f695c962e1f747
[ "MIT" ]
11
2020-04-23T15:48:18.000Z
2022-02-11T10:16:40.000Z
AlgorithmsandDataStructures/7thLab/g(DividersOfPermutation).cpp
ShuffleZZZ/ITMO
29db54d96afef0558550471c58f695c962e1f747
[ "MIT" ]
13
2020-02-28T01:16:06.000Z
2020-07-20T19:05:34.000Z
AlgorithmsandDataStructures/7thLab/g(DividersOfPermutation).cpp
ShuffleZZZ/ITMO
29db54d96afef0558550471c58f695c962e1f747
[ "MIT" ]
10
2018-12-02T15:03:03.000Z
2022-01-10T18:31:00.000Z
#include <fstream> using namespace std; int ans = 0; int eratosfen[168] = {2,3,5,7,11,13,17,19,23,29,31,37, 41,43,47,53,59,61,67,71,73,79,83,89, 97,101,103,107,109,113,127,131,137,139,149,151, 157,163,167,173,179,181,191,193,197,199,211,223, 227,229,233,239,241,251,257,263,269,271,277,281, 283,293,307,311,313,317,331...
22.842105
57
0.562788
ShuffleZZZ
d1a87f9ce2a21490608be2d075b3d9f5433f3c2e
1,316
cpp
C++
Codes/SimpleResult.cpp
liyuan-rey/UltraReplace
9b67541ac0c4a7d46e86f61a2c9148f05e1b5052
[ "MIT" ]
1
2018-03-26T04:48:22.000Z
2018-03-26T04:48:22.000Z
Codes/SimpleResult.cpp
liyuan-rey/UltraReplace
9b67541ac0c4a7d46e86f61a2c9148f05e1b5052
[ "MIT" ]
null
null
null
Codes/SimpleResult.cpp
liyuan-rey/UltraReplace
9b67541ac0c4a7d46e86f61a2c9148f05e1b5052
[ "MIT" ]
1
2018-03-26T04:48:26.000Z
2018-03-26T04:48:26.000Z
// SimpleResult.cpp: implementation of the CSimpleResult class. // ////////////////////////////////////////////////////////////////////// #include "stdafx.h" #include "ur.h" #include "SimpleResult.h" #ifdef _DEBUG #undef THIS_FILE static char THIS_FILE[]=__FILE__; #define new DEBUG_NEW #endif /////////...
21.225806
71
0.601064
liyuan-rey
d1aef86ac4f6edd736f8f5c751f8ff3a63dc34e2
1,845
cpp
C++
util_file.cpp
blu/hello-chromeos-gles2
6ab863b734e053eef3b0185d17951353a49db359
[ "MIT" ]
3
2018-09-03T20:55:24.000Z
2020-10-04T04:36:30.000Z
util_file.cpp
blu/hello-chromeos-gles2
6ab863b734e053eef3b0185d17951353a49db359
[ "MIT" ]
4
2018-09-06T04:12:41.000Z
2020-10-06T14:43:14.000Z
util_file.cpp
blu/hello-chromeos-gles2
6ab863b734e053eef3b0185d17951353a49db359
[ "MIT" ]
null
null
null
#include <sys/types.h> #include <sys/stat.h> #include <assert.h> #include <stdio.h> #include <stdlib.h> #include "scoped.hpp" #include "util_file.hpp" namespace util { template < typename T > class generic_free { public: void operator()(T* arg) { free(arg); } }; template <> class scoped_functor< FILE > { publi...
19.62766
87
0.669919
blu
d1af1a5e3aced8e32979c69a0efe799f4aa4d042
31
hpp
C++
src/boost_units_pow.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
10
2018-03-17T00:58:42.000Z
2021-07-06T02:48:49.000Z
src/boost_units_pow.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
2
2021-03-26T15:17:35.000Z
2021-05-20T23:55:08.000Z
src/boost_units_pow.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
4
2019-05-28T21:06:37.000Z
2021-07-06T03:06:52.000Z
#include <boost/units/pow.hpp>
15.5
30
0.741935
miathedev
d1b1293664431df2a42048829525e7e63dc37cb3
4,187
cxx
C++
src/IO/ImageBase/ProcessImageChunks/Code.cxx
kian-weimer/ITKSphinxExamples
ff614cbba28831d1bf2a0cfaa5a2f1949a627c1b
[ "Apache-2.0" ]
34
2015-01-26T19:38:36.000Z
2021-02-04T02:15:41.000Z
src/IO/ImageBase/ProcessImageChunks/Code.cxx
kian-weimer/ITKSphinxExamples
ff614cbba28831d1bf2a0cfaa5a2f1949a627c1b
[ "Apache-2.0" ]
142
2016-01-22T15:59:25.000Z
2021-03-17T15:11:19.000Z
src/IO/ImageBase/ProcessImageChunks/Code.cxx
kian-weimer/ITKSphinxExamples
ff614cbba28831d1bf2a0cfaa5a2f1949a627c1b
[ "Apache-2.0" ]
32
2015-01-26T19:38:41.000Z
2021-03-17T15:28:14.000Z
/*========================================================================= * * Copyright NumFOCUS * * 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.or...
31.719697
98
0.60855
kian-weimer
d1b4ac06bed47059c890b3262ed186eda852e980
3,013
cpp
C++
third_party/WebKit/Source/core/layout/LayoutTestHelper.cpp
Wzzzx/chromium-crosswalk
768dde8efa71169f1c1113ca6ef322f1e8c9e7de
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
2
2019-01-28T08:09:58.000Z
2021-11-15T15:32:10.000Z
third_party/WebKit/Source/core/layout/LayoutTestHelper.cpp
maidiHaitai/haitaibrowser
a232a56bcfb177913a14210e7733e0ea83a6b18d
[ "BSD-3-Clause" ]
null
null
null
third_party/WebKit/Source/core/layout/LayoutTestHelper.cpp
maidiHaitai/haitaibrowser
a232a56bcfb177913a14210e7733e0ea83a6b18d
[ "BSD-3-Clause" ]
6
2020-09-23T08:56:12.000Z
2021-11-18T03:40:49.000Z
// 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 "core/layout/LayoutTestHelper.h" #include "core/frame/FrameHost.h" #include "core/html/HTMLIFrameElement.h" #include "platform/scroll/ScrollbarT...
43.666667
127
0.750415
Wzzzx
d1b4ad15588bf24b1fded5dc21b5b0c568eacb66
2,267
cpp
C++
acmicpc.net/source/17141.cpp
tdm1223/Algorithm
994149afffa21a81e38b822afcfc01f677d9e430
[ "MIT" ]
7
2019-06-26T07:03:32.000Z
2020-11-21T16:12:51.000Z
acmicpc.net/source/17141.cpp
tdm1223/Algorithm
994149afffa21a81e38b822afcfc01f677d9e430
[ "MIT" ]
null
null
null
acmicpc.net/source/17141.cpp
tdm1223/Algorithm
994149afffa21a81e38b822afcfc01f677d9e430
[ "MIT" ]
9
2019-02-28T03:34:54.000Z
2020-12-18T03:02:40.000Z
// 17141. 연구소 2 // 2020.02.29 // BFS #include<iostream> #include<vector> #include<algorithm> #include<queue> using namespace std; int ans = 987654321; int map[51][51]; int arr[10]; int arrVisit[10]; int n, m; int dist[51][51]; int visit[51][51]; int dx[4] = { 0,0,1,-1 }; int dy[4] = { 1,-1,0,0 }; vector<pair<int, int...
13.656627
46
0.44861
tdm1223
d1b53265c8fc85cdc4228d1f7394b6b83917e388
16,303
cpp
C++
VivienneTests/test_ept_breakpoint_OLD_remove.cpp
fengjixuchui/VivienneVMM
0d8ecef1123d0ea1620c7156f3ea0f4c1aab1447
[ "MIT" ]
621
2018-07-29T17:01:54.000Z
2022-03-28T19:20:25.000Z
VivienneTests/test_ept_breakpoint_OLD_remove.cpp
fengjixuchui/VivienneVMM
0d8ecef1123d0ea1620c7156f3ea0f4c1aab1447
[ "MIT" ]
15
2019-01-06T03:57:20.000Z
2021-05-29T02:56:31.000Z
VivienneTests/test_ept_breakpoint_OLD_remove.cpp
fengjixuchui/VivienneVMM
0d8ecef1123d0ea1620c7156f3ea0f4c1aab1447
[ "MIT" ]
147
2018-07-29T17:10:09.000Z
2022-03-11T17:00:56.000Z
#include "test_ept_breakpoint.h" /* - set multiple breakpoint types at same address */ #include <Psapi.h> #include <cstdio> #include "memory.h" #include "../VivienneCL/log.h" #include "../VivienneCL/ntdll.h" #include "..\VivienneCL\driver_io.h" #define FILLER_BUFFER_SIZE (PAGE_SIZE * 5) //ULONG_PTR g_VarA = ...
26.126603
99
0.5802
fengjixuchui
d1b55514ebfe363caa60361125f6df4a50a9ba1c
573
cpp
C++
src/14/14729.cpp
youngdaLee/Baekjoon
7d858d557dbbde6603fe4e8af2891c2b0e1940c0
[ "MIT" ]
11
2020-09-20T15:17:11.000Z
2022-03-17T12:43:33.000Z
src/14/14729.cpp
youngdaLee/Baekjoon
7d858d557dbbde6603fe4e8af2891c2b0e1940c0
[ "MIT" ]
3
2021-10-30T07:51:36.000Z
2022-03-09T05:19:23.000Z
src/14/14729.cpp
youngdaLee/Baekjoon
7d858d557dbbde6603fe4e8af2891c2b0e1940c0
[ "MIT" ]
13
2021-01-21T03:19:08.000Z
2022-03-28T10:44:58.000Z
/** * 14729. 칠무해 * * 작성자: xCrypt0r * 언어: C++14 * 사용 메모리: 39,160 KB * 소요 시간: 3,260 ms * 해결 날짜: 2021년 9월 29일 */ #include <iostream> #include <algorithm> #include <iomanip> using namespace std; int main() { ios_base::sync_with_stdio(false); cin.tie(NULL); cout.tie(NULL); int N; cin >> N; ...
13.642857
42
0.497382
youngdaLee
d1b9533804319bacf4c4605fe212b515b0d9d8da
824
hpp
C++
libs/fnd/cmath/include/bksge/fnd/cmath/is_negative.hpp
myoukaku/bksge
0f8b60e475a3f1709723906e4796b5e60decf06e
[ "MIT" ]
4
2018-06-10T13:35:32.000Z
2021-06-03T14:27:41.000Z
libs/fnd/cmath/include/bksge/fnd/cmath/is_negative.hpp
myoukaku/bksge
0f8b60e475a3f1709723906e4796b5e60decf06e
[ "MIT" ]
566
2017-01-31T05:36:09.000Z
2022-02-09T05:04:37.000Z
libs/fnd/cmath/include/bksge/fnd/cmath/is_negative.hpp
myoukaku/bksge
0f8b60e475a3f1709723906e4796b5e60decf06e
[ "MIT" ]
1
2018-07-05T04:40:53.000Z
2018-07-05T04:40:53.000Z
/** * @file is_negative.hpp * * @brief is_negative 関数の定義 * * @author myoukaku */ #ifndef BKSGE_FND_CMATH_IS_NEGATIVE_HPP #define BKSGE_FND_CMATH_IS_NEGATIVE_HPP #include <bksge/fnd/cmath/detail/is_negative_impl.hpp> #include <bksge/fnd/concepts/arithmetic.hpp> #include <bksge/fnd/concepts/detail/r...
19.619048
63
0.703883
myoukaku
d1bad56dc0c7b3921031748396f21510c7980f94
5,139
hh
C++
include/seastar/util/std-compat.hh
elazarl/seastar
a79d4b337a5229b4ba4a1613a6436627ed67b03d
[ "Apache-2.0" ]
6
2020-03-23T03:22:58.000Z
2021-05-12T11:42:16.000Z
include/seastar/util/std-compat.hh
elazarl/seastar
a79d4b337a5229b4ba4a1613a6436627ed67b03d
[ "Apache-2.0" ]
null
null
null
include/seastar/util/std-compat.hh
elazarl/seastar
a79d4b337a5229b4ba4a1613a6436627ed67b03d
[ "Apache-2.0" ]
1
2021-06-17T10:14:17.000Z
2021-06-17T10:14:17.000Z
/* * This file is open source software, licensed to you under the terms * of the Apache License, Version 2.0 (the "License"). See the NOTICE file * distributed with this work for additional information regarding copyright * ownership. You may not use this file except in compliance with the License. * * You may ...
26.626943
101
0.70792
elazarl
d1bbc53a1160a3a001ca9b527334240a5478f9a4
2,802
cpp
C++
src/handler/list.cpp
npolar/reshp
6389f48a1bd745c2c0e9ef485bf6d163d73416a3
[ "MIT" ]
null
null
null
src/handler/list.cpp
npolar/reshp
6389f48a1bd745c2c0e9ef485bf6d163d73416a3
[ "MIT" ]
1
2015-01-13T10:15:56.000Z
2015-01-13T10:15:56.000Z
src/handler/list.cpp
npolar/reshp
6389f48a1bd745c2c0e9ef485bf6d163d73416a3
[ "MIT" ]
null
null
null
/* * * * * * * * * * * * *\ |* ╔═╗ v0.4 *| |* ╔═╦═╦═══╦═══╣ ╚═╦═╦═╗ *| |* ║ ╔═╣ '╔╬═╗╚╣ ║ ║ '║ *| |* ╚═╝ ╚═══╩═══╩═╩═╣ ╔═╝ *| |* * * * * * * * * ╚═╝ * *| |* Manipulation tool for *| |* ESRI Shapefiles *| |* * * * * * * * * * * * *| |* http://www.npolar.no/ *| \* * * * * * * * * * * * */ #include "....
38.916667
215
0.390079
npolar
d1bfa1f4463cb16e84bb1b2a8c7f2058dbcaf576
207
cpp
C++
src/player.cpp
warlord500/space_invaders2
71d5acc30f95352b325ada61cb9b1389c9732961
[ "MIT" ]
null
null
null
src/player.cpp
warlord500/space_invaders2
71d5acc30f95352b325ada61cb9b1389c9732961
[ "MIT" ]
1
2015-05-29T04:49:09.000Z
2015-05-29T04:49:09.000Z
src/player.cpp
warlord500/space_invaders2
71d5acc30f95352b325ada61cb9b1389c9732961
[ "MIT" ]
null
null
null
#include "player.h" player::player(int lives,const sf::Texture& texture,const sf::Vector2f& pos) : sprite(texture), lives(lives) { this->sprite.setPosition(pos); } player::~player() { //dtor }
15.923077
95
0.657005
warlord500
d1c04c48d1e548478df18de8485b93004cf294d0
533
cpp
C++
recursion/pailndrome.cpp
AyushVerma-code/DSA-in-C-
4694ad771a1cff8dd81cb127887804d7c67fcb83
[ "MIT" ]
1
2021-06-01T03:20:42.000Z
2021-06-01T03:20:42.000Z
recursion/pailndrome.cpp
AyushVerma-code/DSA-in-C-
4694ad771a1cff8dd81cb127887804d7c67fcb83
[ "MIT" ]
null
null
null
recursion/pailndrome.cpp
AyushVerma-code/DSA-in-C-
4694ad771a1cff8dd81cb127887804d7c67fcb83
[ "MIT" ]
null
null
null
bool checkPalindrome(char input[]) { bool check =1; int c; for(int i=0;input[i]!='\0';i++) { c=c+1; } int arr[100]; for(int i=0;i<c;i++) { arr[i]=input[i]; } for(int i=0;i<c;i++) { ...
18.37931
39
0.281426
AyushVerma-code
d1c2db20771197a50b5e506ad1f77be20d10b5fc
697
cpp
C++
uri/beginner/sum_of_consecutive_odd_numbers_2.cpp
Rkhoiwal/Competitive-prog-Archive
18a95a8b2b9ca1a28d6fe939c1db5450d541ddc9
[ "MIT" ]
1
2020-07-16T01:46:38.000Z
2020-07-16T01:46:38.000Z
uri/beginner/sum_of_consecutive_odd_numbers_2.cpp
Rkhoiwal/Competitive-prog-Archive
18a95a8b2b9ca1a28d6fe939c1db5450d541ddc9
[ "MIT" ]
null
null
null
uri/beginner/sum_of_consecutive_odd_numbers_2.cpp
Rkhoiwal/Competitive-prog-Archive
18a95a8b2b9ca1a28d6fe939c1db5450d541ddc9
[ "MIT" ]
1
2020-05-27T14:30:43.000Z
2020-05-27T14:30:43.000Z
#include <iostream> #include <utility> using namespace std; inline void use_io_optimizations() { ios_base::sync_with_stdio(false); cin.tie(nullptr); } int main() { use_io_optimizations(); unsigned int test_cases; cin >> test_cases; for (unsigned int i {0}; i < test_cases; ++i) { ...
14.22449
50
0.460545
Rkhoiwal
d1c442451157f85c16d588f4a6c76c3638144cb8
9,210
cc
C++
Fireworks/Macros/eve_macros.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
852
2015-01-11T21:03:51.000Z
2022-03-25T21:14:00.000Z
Fireworks/Macros/eve_macros.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
30,371
2015-01-02T00:14:40.000Z
2022-03-31T23:26:05.000Z
Fireworks/Macros/eve_macros.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
3,240
2015-01-02T05:53:18.000Z
2022-03-31T17:24:21.000Z
#include <vector> #include <list> #include <string> #include <cmath> #include <TEveElement.h> #include <TEveGeoNode.h> #include <TGeoNode.h> #include "eve_macros.h" // get the name from an object derived from both TEveElement and TNamed const char* get_name( const TEveElement * element ) { // try as a TEveGeoNode ...
36.987952
159
0.682845
ckamtsikis
d1c5a4281855f6b72f04a3cc88298b26b103cbec
2,493
cpp
C++
tests/unit/streamifyUnit.cpp
edwardcwang/coreir
f71c5864c21cf82112dc641ab0400aac778685c9
[ "BSD-3-Clause" ]
null
null
null
tests/unit/streamifyUnit.cpp
edwardcwang/coreir
f71c5864c21cf82112dc641ab0400aac778685c9
[ "BSD-3-Clause" ]
null
null
null
tests/unit/streamifyUnit.cpp
edwardcwang/coreir
f71c5864c21cf82112dc641ab0400aac778685c9
[ "BSD-3-Clause" ]
null
null
null
#include "coreir.h" #include "coreir/libs/aetherlinglib.h" #include "coreir/libs/commonlib.h" #include <execinfo.h> #include <stdio.h> #include <signal.h> #include <stdlib.h> #include <unistd.h> #include <math.h> using namespace std; using namespace CoreIR; void handler(int sig) { void *array[10]; size_t size; ...
29.678571
89
0.601685
edwardcwang
d1c5ac82de2e5da13eeca1b4598d12470b6f2ed3
3,636
cpp
C++
TA.NexDome.Rotator/HomeSensor.cpp
morzineIT/DomeProjectESP8266
c18ff2ee27ad3b38ce1bcc271369438f830eafd7
[ "MIT" ]
3
2019-08-27T02:11:00.000Z
2021-01-16T16:31:52.000Z
TA.NexDome.Rotator/HomeSensor.cpp
thegrapesofwrath/Firmware
162cc2cdf081e26d0d6f3235b953f99edf01a982
[ "MIT" ]
41
2019-08-28T21:32:18.000Z
2022-03-02T13:42:19.000Z
TA.NexDome.Rotator/HomeSensor.cpp
thegrapesofwrath/Firmware
162cc2cdf081e26d0d6f3235b953f99edf01a982
[ "MIT" ]
4
2020-03-18T16:06:17.000Z
2021-06-15T04:29:42.000Z
/* * Provides interrupt processing for the home sensor. * * The home sensor synchronizes the dome rotation step position when it is triggered. * When rotating in the positive direction, we synchronise to the falling edge. * When rotating in the negative direction, we synchronise to the rising edge. * When not rot...
26.347826
121
0.738999
morzineIT
d1c888d02354f2a553a501b070682772d53e3b41
950
cpp
C++
codeforces/593A.cpp
hiyouga/CPP-Learning
e05324bc73ae91a09d51145ecd21af78487405f2
[ "MIT" ]
null
null
null
codeforces/593A.cpp
hiyouga/CPP-Learning
e05324bc73ae91a09d51145ecd21af78487405f2
[ "MIT" ]
null
null
null
codeforces/593A.cpp
hiyouga/CPP-Learning
e05324bc73ae91a09d51145ecd21af78487405f2
[ "MIT" ]
null
null
null
#include <iostream> #include <cstring> using namespace std; int main() { int n; cin >> n; bool can_p[n]; int tot[26], cnt[n][26]; string lne[n]; memset(tot, 0, sizeof(tot)); memset(cnt, 0, sizeof(cnt)); for(int i = 0; i < n; i++){ cin >> lne[i]; int typ = 0; can_p[i] = true; for(int j = 0; lne[i][j] !...
17.924528
42
0.430526
hiyouga
d1c8c85928668b948689ab36bb95a7bca28b20b4
3,425
cpp
C++
src/main.cpp
Rocik/btree-file-index
04cb787c903a18e606b2f03f0cce345d879086f5
[ "MIT" ]
null
null
null
src/main.cpp
Rocik/btree-file-index
04cb787c903a18e606b2f03f0cce345d879086f5
[ "MIT" ]
null
null
null
src/main.cpp
Rocik/btree-file-index
04cb787c903a18e606b2f03f0cce345d879086f5
[ "MIT" ]
null
null
null
#include <cstdlib> #include <iostream> #include "btree.h" using namespace std; static bool running = true; static void printDiskStats() { int reads = DiskFile::getStatReads(); int writes = DiskFile::getStatWrites(); char const* plurarReads = reads == 1 ? "" : "s"; char const* plurarWrites = writes == 1 ? "" :...
19.241573
78
0.585109
Rocik
d1c9774c9ec0af6b432f98e28d681408c664d91e
1,430
hpp
C++
src/converter_omerc.hpp
barendgehrels/tissot
b0d983a57bcd4d283c0f4ef8d23abea2e2893c3f
[ "BSL-1.0" ]
1
2015-05-17T11:15:43.000Z
2015-05-17T11:15:43.000Z
src/converter_omerc.hpp
barendgehrels/tissot
b0d983a57bcd4d283c0f4ef8d23abea2e2893c3f
[ "BSL-1.0" ]
null
null
null
src/converter_omerc.hpp
barendgehrels/tissot
b0d983a57bcd4d283c0f4ef8d23abea2e2893c3f
[ "BSL-1.0" ]
null
null
null
#ifndef TISSOT_CONVERTER_OMERC_HPP #define TISSOT_CONVERTER_OMERC_HPP // Tissot, converts projecton source code (Proj4) to Boost.Geometry // (or potentially other source code) // // Copyright (c) 2015 Barend Gehrels, Amsterdam, the Netherlands. // // Use, modification and distribution is subject to the Boost Software ...
26.981132
79
0.65035
barendgehrels
d1cc585c2d44523c40ef470398aa0d302f58ee19
26,631
cc
C++
base/simple_reg.cc
haveTryTwo/csutil
7cb071f6927db4c52832d3074fb69f273968d66e
[ "BSD-2-Clause" ]
9
2015-08-14T08:59:06.000Z
2018-08-20T13:46:46.000Z
base/simple_reg.cc
haveTryTwo/csutil
7cb071f6927db4c52832d3074fb69f273968d66e
[ "BSD-2-Clause" ]
null
null
null
base/simple_reg.cc
haveTryTwo/csutil
7cb071f6927db4c52832d3074fb69f273968d66e
[ "BSD-2-Clause" ]
1
2018-08-20T13:46:29.000Z
2018-08-20T13:46:29.000Z
// Copyright (c) 2015 The CSUTIL 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 <stdio.h> #include <string.h> #include <assert.h> #include "simple_reg.h" namespace base { enum OpCode {/*{{{*/ kInvalid = 0, ...
30.787283
121
0.537344
haveTryTwo
d1cd2c3833c6c157b12421690df1a2082416f76a
2,779
cpp
C++
clever_algorithms/demos/compact_genetic_algorithm.cpp
GreatV/CleverAlgorithms
4cda9e3469a6076128dfbbb62c6f82d3a1f12746
[ "MIT" ]
2
2021-11-08T00:26:09.000Z
2021-12-21T08:16:43.000Z
clever_algorithms/demos/compact_genetic_algorithm.cpp
GreatV/CleverAlgorithms
4cda9e3469a6076128dfbbb62c6f82d3a1f12746
[ "MIT" ]
null
null
null
clever_algorithms/demos/compact_genetic_algorithm.cpp
GreatV/CleverAlgorithms
4cda9e3469a6076128dfbbb62c6f82d3a1f12746
[ "MIT" ]
null
null
null
#include <iostream> #include <random> #include <vector> #include <string> #include <algorithm> #include <cfloat> std::random_device rd; std::mt19937 generator(rd()); std::uniform_real_distribution<> distribution(0.0, 1.0); auto random_ = []() { return distribution(generator); }; using candidate_solution = struct ca...
19.992806
89
0.627204
GreatV
d1ce7c0aff261a6f275e2eab27052dbd68e1ebd8
32,710
cxx
C++
main/chart2/source/controller/dialogs/ObjectNameProvider.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
679
2015-01-06T06:34:58.000Z
2022-03-30T01:06:03.000Z
main/chart2/source/controller/dialogs/ObjectNameProvider.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
102
2017-11-07T08:51:31.000Z
2022-03-17T12:13:49.000Z
main/chart2/source/controller/dialogs/ObjectNameProvider.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
331
2015-01-06T11:40:55.000Z
2022-03-14T04:07:51.000Z
/************************************************************** * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to y...
39.220624
191
0.568053
Grosskopf
d1cedcdd1430101a4631874c7807cefb6dae37d4
14,948
cpp
C++
main/pod_archiver.cpp
an-erd/blePOD
2f56763487b485b61d87e600e8b095702851b078
[ "MIT" ]
null
null
null
main/pod_archiver.cpp
an-erd/blePOD
2f56763487b485b61d87e600e8b095702851b078
[ "MIT" ]
2
2019-04-04T11:51:37.000Z
2019-04-04T11:52:20.000Z
main/pod_archiver.cpp
an-erd/blePOD
2f56763487b485b61d87e600e8b095702851b078
[ "MIT" ]
1
2020-04-02T13:43:27.000Z
2020-04-02T13:43:27.000Z
#include <string.h> #include "esp_vfs_fat.h" #include "driver/sdmmc_host.h" #include "driver/sdspi_host.h" #include "sdmmc_cmd.h" #include "pod_main.h" static const char* TAG = "POD_ARCHIVER"; // data buffers to keep in RAM // => CONFIG_SDCARD_NUM_BUFFERS=4 and CONFIG_SDCARD_BUFFER_SIZE=65536 static buffer_element_...
38.230179
151
0.640888
an-erd
d1cf8b2fa29cd7c71130d8327c1348a397e69437
3,063
cpp
C++
server/homeserver/network/json/JsonApi.Scripting.cpp
williamkoehler/home-server
ce99af73ea2e53fea3939fe0c4442433e65ac670
[ "MIT" ]
1
2021-07-05T21:11:59.000Z
2021-07-05T21:11:59.000Z
server/homeserver/network/json/JsonApi.Scripting.cpp
williamkoehler/home-server
ce99af73ea2e53fea3939fe0c4442433e65ac670
[ "MIT" ]
null
null
null
server/homeserver/network/json/JsonApi.Scripting.cpp
williamkoehler/home-server
ce99af73ea2e53fea3939fe0c4442433e65ac670
[ "MIT" ]
null
null
null
#include "JsonApi.hpp" #include "../../scripting/ScriptManager.hpp" #include "../../scripting/Script.hpp" namespace server { // Scripting void JsonApi::BuildJsonScriptSources(rapidjson::Value& output, rapidjson::Document::AllocatorType& allocator) { assert(output.IsObject()); Ref<ScriptManager> scriptManager =...
36.035294
139
0.738818
williamkoehler
d1d2bafc4134151f41e0cc3a356e0f41b2c79e16
11,260
cpp
C++
3rdParty/iresearch/tests/utils/attributes_tests.cpp
0xflotus/arangodb
1de6a7aff9183920cb8d2241c9c226b30bcf4d05
[ "Apache-2.0" ]
1
2019-08-11T04:06:49.000Z
2019-08-11T04:06:49.000Z
3rdParty/iresearch/tests/utils/attributes_tests.cpp
0xflotus/arangodb
1de6a7aff9183920cb8d2241c9c226b30bcf4d05
[ "Apache-2.0" ]
null
null
null
3rdParty/iresearch/tests/utils/attributes_tests.cpp
0xflotus/arangodb
1de6a7aff9183920cb8d2241c9c226b30bcf4d05
[ "Apache-2.0" ]
1
2021-07-12T06:29:34.000Z
2021-07-12T06:29:34.000Z
//////////////////////////////////////////////////////////////////////////////// /// DISCLAIMER /// /// Copyright 2016 by EMC 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...
31.629213
119
0.670515
0xflotus
d1d563b4128702f0adb51bb7ae5c81cfb253799a
2,856
cpp
C++
tests/fasttrack_write_test.cpp
hassansalehe/EmbedSanitizer
51051b164c382b02d63e13183b869bbfa9e96e20
[ "BSD-3-Clause" ]
16
2018-08-04T08:15:09.000Z
2022-03-21T12:53:14.000Z
tests/fasttrack_write_test.cpp
hassansalehe/EmbedSanitizer
51051b164c382b02d63e13183b869bbfa9e96e20
[ "BSD-3-Clause" ]
16
2021-05-29T22:27:18.000Z
2021-07-18T20:41:58.000Z
tests/fasttrack_write_test.cpp
hassansalehe/embedsanitizer
51051b164c382b02d63e13183b869bbfa9e96e20
[ "BSD-3-Clause" ]
4
2018-08-04T08:00:25.000Z
2021-05-30T07:40:23.000Z
///////////////////////////////////////////////////// // // Copyright (c) 2017 - 2021 Hassan Salehe Matar // // See LICENSE file for information about the license. // // Unit tests for write function of fasttrack. // //////////////////////////////////////////////////// #include <gtest/gtest.h> #include "etsan/fasttr...
25.5
69
0.708683
hassansalehe
d1d8dd3d30b5376b65872a62e0ca2070f5118964
4,082
cpp
C++
emulator/src/mame/machine/inder_vid.cpp
rjw57/tiw-computer
5ef1c79893165b8622d1114d81cd0cded58910f0
[ "MIT" ]
1
2022-01-15T21:38:38.000Z
2022-01-15T21:38:38.000Z
emulator/src/mame/machine/inder_vid.cpp
rjw57/tiw-computer
5ef1c79893165b8622d1114d81cd0cded58910f0
[ "MIT" ]
null
null
null
emulator/src/mame/machine/inder_vid.cpp
rjw57/tiw-computer
5ef1c79893165b8622d1114d81cd0cded58910f0
[ "MIT" ]
null
null
null
// license:BSD-3-Clause // copyright-holders:David Haywood /* Inder / Dinamic Video */ #include "emu.h" #include "machine/inder_vid.h" #include "screen.h" DEFINE_DEVICE_TYPE(INDER_VIDEO, inder_vid_device, "indervd", "Inder / Dinamic TMS Video") inder_vid_device::inder_vid_device(const machine_config &mconfig, con...
29.366906
115
0.72048
rjw57
d1dc4cac45a41455171ed2735fe0ccb3d0328347
198
hpp
C++
lib/src/include/deskgap/shell.hpp
perjonsson/DeskGap
5e74de37c057de3bac3ac16b3fabdb79b934d21e
[ "MIT" ]
1,910
2019-02-08T05:41:48.000Z
2022-03-24T23:41:33.000Z
lib/src/include/deskgap/shell.hpp
perjonsson/DeskGap
5e74de37c057de3bac3ac16b3fabdb79b934d21e
[ "MIT" ]
73
2019-02-13T02:58:20.000Z
2022-03-02T05:49:34.000Z
lib/src/include/deskgap/shell.hpp
ci010/DeskGap
b3346fea3dd3af7df9a0420131da7f4ac1518092
[ "MIT" ]
88
2019-02-13T12:41:00.000Z
2022-03-25T05:04:31.000Z
#ifndef DESKGAP_SHELL_HPP #define DESKGAP_SHELL_HPP #include <string> namespace DeskGap { class Shell { public: static bool OpenExternal(const std::string& path); }; } #endif
14.142857
58
0.686869
perjonsson
d1e19fa80bce25417580c52feb9e6f87d52b607d
550
hpp
C++
src/Test.hpp
Vasile2k/ImageSubjectFocus
0eed32df07b74eb89a1e1130975aa4ddec2adf32
[ "Apache-2.0" ]
3
2020-01-02T23:35:01.000Z
2021-01-25T11:02:06.000Z
src/Test.hpp
Vasile2k/ImageSubjectFocus
0eed32df07b74eb89a1e1130975aa4ddec2adf32
[ "Apache-2.0" ]
null
null
null
src/Test.hpp
Vasile2k/ImageSubjectFocus
0eed32df07b74eb89a1e1130975aa4ddec2adf32
[ "Apache-2.0" ]
null
null
null
#pragma once #include "ImageColor.hpp" namespace isf { /** * In order to perform the tests include this file somewhere in the project * This never gets executed but is evaluated at compile time * If everything is good it will do nothing * Else it will throw a compile-time error */ class Test { private: Test() ...
23.913043
104
0.72
Vasile2k
d1e26208e76d4e2bd62d6d94b39e4f05b8dbee32
500
hh
C++
src/const.hh
jroivas/nolang
761655bf851a978fb8426cc8f465e53cc86dec28
[ "MIT" ]
2
2021-04-13T20:16:04.000Z
2022-02-17T02:46:40.000Z
src/const.hh
jroivas/nolang
761655bf851a978fb8426cc8f465e53cc86dec28
[ "MIT" ]
null
null
null
src/const.hh
jroivas/nolang
761655bf851a978fb8426cc8f465e53cc86dec28
[ "MIT" ]
null
null
null
#pragma once #include "statement.hh" #include "assignment.hh" #include "typeident.hh" namespace nolang { class Const : public Statement { public: Const(TypeIdent *i, Assignment *v) : Statement("Const", ""), m_ident(i), m_assignment(v) {} const TypeIdent *ident() const { ...
14.705882
40
0.608
jroivas
d1e2fa5a6f899afe2a0fdfe5d080d379d34a43a8
375
cpp
C++
src/io/github/technicalnotes/programming/examples/3-even.cpp
chiragbhatia94/programming-cpp
efd6aa901deacf416a3ab599e6599845a8111eac
[ "MIT" ]
null
null
null
src/io/github/technicalnotes/programming/examples/3-even.cpp
chiragbhatia94/programming-cpp
efd6aa901deacf416a3ab599e6599845a8111eac
[ "MIT" ]
null
null
null
src/io/github/technicalnotes/programming/examples/3-even.cpp
chiragbhatia94/programming-cpp
efd6aa901deacf416a3ab599e6599845a8111eac
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <numeric> using namespace std; int main() { vector<int> myVec(10); // initialize the vector with 1 to 10 sequence iota(begin(myVec), end(myVec), 1); for (auto i : myVec) { if (i % 2 == 0) { cout << i << " ";...
17.857143
51
0.477333
chiragbhatia94
d1e58215c9eb14c35c07f401f88efa685b16fd25
1,039
hpp
C++
src/Filesystem/File.hpp
tomas-krupa/ansi_iso_accuracy_test
a87600c1ff8997cd689539432e5badaa1bf8a776
[ "Apache-2.0" ]
null
null
null
src/Filesystem/File.hpp
tomas-krupa/ansi_iso_accuracy_test
a87600c1ff8997cd689539432e5badaa1bf8a776
[ "Apache-2.0" ]
null
null
null
src/Filesystem/File.hpp
tomas-krupa/ansi_iso_accuracy_test
a87600c1ff8997cd689539432e5badaa1bf8a776
[ "Apache-2.0" ]
null
null
null
/** * @file File.hpp * * @copyright Copyright (c) 2020 Innovatrics s.r.o. All rights reserved. * * @maintainer Tomas Krupa <tomas.krupa@innovatrics.com> * @created 10.08.2020 * */ #pragma once #include <fstream> #include <utility> #include <vector> class Path; /** * @brief File * * Defines basic file ope...
19.980769
84
0.655438
tomas-krupa
d1e9946bba956b1a55af9c44e4b10e9978e5179a
1,045
cpp
C++
models/memory/CaffDRAM/Dreq.cpp
Basseuph/manifold
99779998911ed7e8b8ff6adacc7f93080409a5fe
[ "BSD-3-Clause" ]
8
2016-01-22T18:28:48.000Z
2021-05-07T02:27:21.000Z
models/memory/CaffDRAM/Dreq.cpp
Basseuph/manifold
99779998911ed7e8b8ff6adacc7f93080409a5fe
[ "BSD-3-Clause" ]
3
2016-04-15T02:58:58.000Z
2017-01-19T17:07:34.000Z
models/memory/CaffDRAM/Dreq.cpp
Basseuph/manifold
99779998911ed7e8b8ff6adacc7f93080409a5fe
[ "BSD-3-Clause" ]
10
2015-12-11T04:16:55.000Z
2019-05-25T20:58:13.000Z
/* * Dreq.cpp * * Created on: Jun 14, 2011 * Author: rishirajbheda */ #include "Dreq.h" #include "math.h" namespace manifold { namespace caffdram { Dreq::Dreq(unsigned long int reqAddr, unsigned long int currentTime, const Dsettings* dramSetting) { // TODO Auto-generated constructor stub this->generat...
22.234043
100
0.711005
Basseuph
d1ea87a6fc86855cccec5e871f6ed3852b7b77c7
11,361
cc
C++
media_perception/proto_mojom_conversion.cc
emersion/chromiumos-platform2
ba71ad06f7ba52e922c647a8915ff852b2d4ebbd
[ "BSD-3-Clause" ]
5
2019-01-19T15:38:48.000Z
2021-10-06T03:59:46.000Z
media_perception/proto_mojom_conversion.cc
emersion/chromiumos-platform2
ba71ad06f7ba52e922c647a8915ff852b2d4ebbd
[ "BSD-3-Clause" ]
null
null
null
media_perception/proto_mojom_conversion.cc
emersion/chromiumos-platform2
ba71ad06f7ba52e922c647a8915ff852b2d4ebbd
[ "BSD-3-Clause" ]
1
2019-02-15T23:05:30.000Z
2019-02-15T23:05:30.000Z
// Copyright 2018 The Chromium OS 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 "media_perception/proto_mojom_conversion.h" #include <utility> #include <vector> namespace chromeos { namespace media_perception { namespace...
34.323263
80
0.756447
emersion
d1edac4c6a6e1a90c456b39611001a5b349c568f
3,710
cpp
C++
waveform2csv.cpp
Iaggelis/waveform_playground
363746500a0ee0b9dc45bc2d7a5b1623001d523b
[ "MIT" ]
null
null
null
waveform2csv.cpp
Iaggelis/waveform_playground
363746500a0ee0b9dc45bc2d7a5b1623001d523b
[ "MIT" ]
null
null
null
waveform2csv.cpp
Iaggelis/waveform_playground
363746500a0ee0b9dc45bc2d7a5b1623001d523b
[ "MIT" ]
null
null
null
#include "pft.hpp" #include <ROOT/RDataFrame.hxx> #include <TMath.h> #include <filesystem> using RDF = ROOT::RDataFrame; namespace fs = std::filesystem; template <typename... Types> void print_log(FILE* stream, Types... args) { pft::println(stream, "[LOG] ", args...); } void print_usage() { pft::println(stder...
31.440678
80
0.536388
Iaggelis
d1f3be2f98486c2cc6ab4f353a2938953e2c009b
6,293
cpp
C++
tests/network/ipv6_address_tests.cpp
miraiworks/url
515c6d3f27cabe9fdb6718da82927c3f019d899c
[ "BSL-1.0" ]
null
null
null
tests/network/ipv6_address_tests.cpp
miraiworks/url
515c6d3f27cabe9fdb6718da82927c3f019d899c
[ "BSL-1.0" ]
null
null
null
tests/network/ipv6_address_tests.cpp
miraiworks/url
515c6d3f27cabe9fdb6718da82927c3f019d899c
[ "BSL-1.0" ]
null
null
null
// Copyright 2018-20 Glyn Matthews. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt of copy at // http://www.boost.org/LICENSE_1_0.txt) #define CATCH_CONFIG_MAIN #include <catch2/catch.hpp> #include <skyr/network/ipv6_address.hpp> TEST_CASE("ipv6_address_tests",...
35.156425
82
0.679485
miraiworks
d1f9414360261e1bb63dff5e5f754a818d210ece
1,562
cpp
C++
Find_pivot_index.cpp
Sonu589/Hacktoberfest-2025
06397aa12a41967cb112722666e384007d87dbc4
[ "MIT" ]
1
2021-10-04T07:14:40.000Z
2021-10-04T07:14:40.000Z
Find_pivot_index.cpp
Sonu589/Hacktoberfest-2025
06397aa12a41967cb112722666e384007d87dbc4
[ "MIT" ]
11
2022-01-24T20:42:11.000Z
2022-02-27T23:58:24.000Z
Find_pivot_index.cpp
Sonu589/Hacktoberfest-2025
06397aa12a41967cb112722666e384007d87dbc4
[ "MIT" ]
1
2021-10-05T04:40:26.000Z
2021-10-05T04:40:26.000Z
#include<bits/stdc++.h> #define ps(x, y) fixed << setprecision(y) << x #define BOOST ios_base::sync_with_stdio(false); cin.tie(NULL); #define vi vector<int> #define pb push_back #define pob pop_back #define f first #define s second #define all(x) (x).begin(),(x).end() #define mp make_pair #define rall(v) v.rbegi...
21.108108
132
0.636364
Sonu589
d1fbe1ce96c03f1bf73fcda3db546b6e4f91947a
889
cpp
C++
leetcode.com/0650 2 Keys Keyboard/main.cpp
sky-bro/AC
29bfa3f13994612887e18065fa6e854b9a29633d
[ "MIT" ]
1
2020-08-20T11:02:49.000Z
2020-08-20T11:02:49.000Z
leetcode.com/0650 2 Keys Keyboard/main.cpp
sky-bro/AC
29bfa3f13994612887e18065fa6e854b9a29633d
[ "MIT" ]
null
null
null
leetcode.com/0650 2 Keys Keyboard/main.cpp
sky-bro/AC
29bfa3f13994612887e18065fa6e854b9a29633d
[ "MIT" ]
1
2022-01-01T23:23:13.000Z
2022-01-01T23:23:13.000Z
#include <iostream> #include <vector> using namespace std; // key is know how to prune // no, 1000*1000 dp, no need to prune? class Solution { private: int dfs(int n, int cur_n, int clip_len, vector<vector<int>>& dp) { if (n == cur_n) return 0; if (~dp[clip_len][cur_n]) return dp[clip_len][cur_n]; int ...
24.694444
68
0.526434
sky-bro
d1fd6d3f89f18b58f12ed9b004c44644edaee289
12,127
hpp
C++
SDK/PUBG_WeaponAttachmentSlotWidget_parameters.hpp
realrespecter/PUBG-FULL-SDK
5e2b0f103c74c95d2329c4c9dfbfab48aa0da737
[ "MIT" ]
7
2019-03-06T11:04:52.000Z
2019-07-10T20:00:51.000Z
SDK/PUBG_WeaponAttachmentSlotWidget_parameters.hpp
realrespecter/PUBG-FULL-SDK
5e2b0f103c74c95d2329c4c9dfbfab48aa0da737
[ "MIT" ]
null
null
null
SDK/PUBG_WeaponAttachmentSlotWidget_parameters.hpp
realrespecter/PUBG-FULL-SDK
5e2b0f103c74c95d2329c4c9dfbfab48aa0da737
[ "MIT" ]
10
2019-03-06T11:53:46.000Z
2021-02-18T14:01:11.000Z
#pragma once // PUBG FULL SDK - Generated By Respecter (5.3.4.11 [06/03/2019]) SDK #ifdef _MSC_VER #pragma pack(push, 0x8) #endif #include "PUBG_WeaponAttachmentSlotWidget_classes.hpp" namespace SDK { //--------------------------------------------------------------------------- //Parameters //---------------------...
52.497835
173
0.590336
realrespecter
d1fe62e2430daf2ace41b847550a606aa673bf88
862
cpp
C++
benchmarks/Bloat/Bloat.cpp
dreamsxin/ultimatepp
41d295d999f9ff1339b34b43c99ce279b9b3991c
[ "BSD-2-Clause" ]
2
2016-04-07T07:54:26.000Z
2020-04-14T12:37:34.000Z
benchmarks/Bloat/Bloat.cpp
dreamsxin/ultimatepp
41d295d999f9ff1339b34b43c99ce279b9b3991c
[ "BSD-2-Clause" ]
null
null
null
benchmarks/Bloat/Bloat.cpp
dreamsxin/ultimatepp
41d295d999f9ff1339b34b43c99ce279b9b3991c
[ "BSD-2-Clause" ]
null
null
null
#include <Core/Core.h> #include <vector> #include <map> using namespace Upp; using namespace std; //#define TEST_STL //#define TEST_UPP struct Foo : Moveable<Foo> { int a, b; Foo(int a, int b) : a(a), b(b) {} Foo() {} }; CONSOLE_APP_MAIN { { std::string key = "key"; vector<int> fa; ...
15.672727
35
0.563805
dreamsxin
d1feafac92a68a86e577cf6feb72a128b38daeca
702
hpp
C++
soapy/src/driver/CustomEventTypes.hpp
siglabsoss/s-modem
0a259b4f3207dd043c198b76a4bc18c8529bcf44
[ "BSD-3-Clause" ]
null
null
null
soapy/src/driver/CustomEventTypes.hpp
siglabsoss/s-modem
0a259b4f3207dd043c198b76a4bc18c8529bcf44
[ "BSD-3-Clause" ]
null
null
null
soapy/src/driver/CustomEventTypes.hpp
siglabsoss/s-modem
0a259b4f3207dd043c198b76a4bc18c8529bcf44
[ "BSD-3-Clause" ]
null
null
null
#pragma once #define NOOP_EV (0) #define REQUEST_FINE_SYNC_EV (1) #define RADIO_ENTERED_BG_EV (2) #define REQUEST_TDMA_EV (3) #define FINISHED_TDMA_EV (4) #define UDP_SEQUENCE_DROP_EV (5) #define REQUEST_MAPMOV_DEBUG (6) #define FSM_PING_EV (7) #define FSM_PONG_EV (8) #define EXIT_DATA_MODE_EV (9) #define CHECK_TDMA_E...
27
72
0.757835
siglabsoss
06005216a53a429e6deabb7ea0a7de2f3c21ec9d
12,374
cpp
C++
src/sound/k054539.cpp
gameblabla/mame_nspire
83dfe1606aba906bd28608f2cb8f0754492ac3da
[ "Unlicense" ]
33
2015-08-10T11:13:47.000Z
2021-08-30T10:00:46.000Z
src/sound/k054539.cpp
gameblabla/mame_nspire
83dfe1606aba906bd28608f2cb8f0754492ac3da
[ "Unlicense" ]
13
2015-08-25T03:53:08.000Z
2022-03-30T18:02:35.000Z
src/sound/k054539.cpp
gameblabla/mame_nspire
83dfe1606aba906bd28608f2cb8f0754492ac3da
[ "Unlicense" ]
40
2015-08-25T05:09:21.000Z
2022-02-08T05:02:30.000Z
/********************************************************* Konami 054539 PCM Sound Chip A lot of information comes from Amuse. Big thanks to them. *********************************************************/ #include "driver.h" #include "k054539.h" #include <math.h> /* Registers: 00..ff: 20 bytes/channel, 8 ch...
25.725572
111
0.61702
gameblabla
0601761766c8fe5a175bb2a8dfcd86904818a68b
2,587
cpp
C++
Antiplagiat/Antiplagiat/bin/Debug/u45549_518_E_9997035.cpp
DmitryTheFirst/AntiplagiatVkCup
556d3fe2e5a630d06a7aa49f2af5dcb28667275a
[ "Apache-2.0" ]
1
2015-07-04T14:45:32.000Z
2015-07-04T14:45:32.000Z
Antiplagiat/Antiplagiat/bin/Debug/u45549_518_E_9997035.cpp
DmitryTheFirst/AntiplagiatVkCup
556d3fe2e5a630d06a7aa49f2af5dcb28667275a
[ "Apache-2.0" ]
null
null
null
Antiplagiat/Antiplagiat/bin/Debug/u45549_518_E_9997035.cpp
DmitryTheFirst/AntiplagiatVkCup
556d3fe2e5a630d06a7aa49f2af5dcb28667275a
[ "Apache-2.0" ]
null
null
null
#include<bits/stdc++.h> using namespace std; typedef pair<int, int> pii; typedef long long int LL; typedef vector<int> VI; #define sd(x) scanf("%d", &x) #define MP make_pair #define PB push_back #define F first #define S second #define INF 1023456789 #define MOD 1000000007 #define D double #define LD long double #d...
21.204918
64
0.333591
DmitryTheFirst
06029cf8718ffe62d3ded80fa521f4cdac2da3d1
6,106
cpp
C++
hi_components/eq_plot/FilterInfo.cpp
romsom/HISE
73e0e299493ce9236e6fafa7938d3477fcc36a4a
[ "Intel" ]
9
2020-04-16T01:17:27.000Z
2022-02-25T14:13:10.000Z
hi_components/eq_plot/FilterInfo.cpp
romsom/HISE
73e0e299493ce9236e6fafa7938d3477fcc36a4a
[ "Intel" ]
null
null
null
hi_components/eq_plot/FilterInfo.cpp
romsom/HISE
73e0e299493ce9236e6fafa7938d3477fcc36a4a
[ "Intel" ]
6
2020-05-11T22:23:15.000Z
2022-02-24T16:52:44.000Z
/* =========================================================================== * * This file is part of HISE. * Copyright 2016 Christoph Hart * * HISE 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,...
26.094017
107
0.600393
romsom
0603be8069b9d685151cfed0143520a6a8e5c200
16,343
cpp
C++
Documents/RacimoAire/Libreria/ADS1115/ads1115.cpp
JoseSalamancaCoy/RACIMO_AIRE
628d6ff184a30af0efd25bff675b0006500d4ba2
[ "MIT" ]
null
null
null
Documents/RacimoAire/Libreria/ADS1115/ads1115.cpp
JoseSalamancaCoy/RACIMO_AIRE
628d6ff184a30af0efd25bff675b0006500d4ba2
[ "MIT" ]
null
null
null
Documents/RacimoAire/Libreria/ADS1115/ads1115.cpp
JoseSalamancaCoy/RACIMO_AIRE
628d6ff184a30af0efd25bff675b0006500d4ba2
[ "MIT" ]
null
null
null
/**************************************************************************/ /* Distributed with a free-will license. Use it any way you want, profit or free, provided it fits in the licenses of its associated works. ADS1115 This code is designed to work with the ADS1115_I2CADC I2C Mini Module available from Contro...
29.76867
111
0.478248
JoseSalamancaCoy
0606f7b62eabf2c92c1d0d10c90f152dad5fded2
10,938
cpp
C++
Speedometer.cpp
jimenezjose/Speedometer
42a1f46e42641f826b6c00317f5b40c19acd742c
[ "MIT" ]
null
null
null
Speedometer.cpp
jimenezjose/Speedometer
42a1f46e42641f826b6c00317f5b40c19acd742c
[ "MIT" ]
null
null
null
Speedometer.cpp
jimenezjose/Speedometer
42a1f46e42641f826b6c00317f5b40c19acd742c
[ "MIT" ]
null
null
null
/**************************************************************************** Jose Jorge Jimenez-Olivas August 6, 2018 File Name: Speedometer.cpp Description: Emulate a speedometer by calculating the number of ...
35.398058
80
0.497349
jimenezjose
0609fc2003497e8358cb980b81bacb40259b4a25
3,856
cc
C++
components/ui_devtools/viz/frame_sink_element.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
575
2015-06-18T23:58:20.000Z
2022-03-23T09:32:39.000Z
components/ui_devtools/viz/frame_sink_element.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
113
2015-05-04T09:58:14.000Z
2022-01-31T19:35:03.000Z
components/ui_devtools/viz/frame_sink_element.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "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/ui_devtools/viz/frame_sink_element.h" #include "base/strings/string_number_conversions.h" #include "base/strings/string_piece.h" #in...
35.376147
80
0.742998
sarang-apps
060bda52d453953943802a786c7da9bbd467e5e8
467
cc
C++
nlp/processed/column/TC2673.cc
lionell/laboratories
751e60d1851c45b98d1580c9631fd92afbdf02b0
[ "MIT" ]
2
2019-10-01T09:41:15.000Z
2021-06-06T17:46:13.000Z
nlp/processed/column/TC2673.cc
lionell/laboratories
751e60d1851c45b98d1580c9631fd92afbdf02b0
[ "MIT" ]
1
2018-05-18T18:20:46.000Z
2018-05-18T18:20:46.000Z
nlp/processed/column/TC2673.cc
lionell/laboratories
751e60d1851c45b98d1580c9631fd92afbdf02b0
[ "MIT" ]
8
2017-01-20T15:44:06.000Z
2021-11-28T20:00:49.000Z
#include <cstdio> #include <algorithm> static const int MAX_N=10000000; int a[MAX_N],b[MAX_N],c[MAX_N]; int main() { int N; long long S=0; std::scanf("%d",&N); for(int i=0;i<N;++i) std::scanf("%d",&(c[i])); for(int i=0;i<N;++i) a[i]=std::max(i==0?0:a[i-1],c[i]); for(int i=N-1;i>...
23.35
65
0.492505
lionell
060bf33a5baa649811745c1a7cd1363a608a57e5
1,744
hpp
C++
src/gui/MissionView/MissionView.hpp
tomcreutz/planning-templ
55e35ede362444df9a7def6046f6df06851fe318
[ "BSD-3-Clause" ]
1
2022-03-31T12:15:15.000Z
2022-03-31T12:15:15.000Z
src/gui/MissionView/MissionView.hpp
tomcreutz/planning-templ
55e35ede362444df9a7def6046f6df06851fe318
[ "BSD-3-Clause" ]
null
null
null
src/gui/MissionView/MissionView.hpp
tomcreutz/planning-templ
55e35ede362444df9a7def6046f6df06851fe318
[ "BSD-3-Clause" ]
1
2021-12-29T10:38:07.000Z
2021-12-29T10:38:07.000Z
#ifndef TEMPL_GUI_MISSION_VIEW_HPP #define TEMPL_GUI_MISSION_VIEW_HPP #include <QTreeWidget> #include <QWidget> #include <QProcess> #include <QGraphicsView> #include <QGraphicsScene> #include <QGraphicsGridLayout> #include <QTreeView> #include <QStandardItem> #include <QDomNode> #include <graph_analysis/Graph.hpp> #i...
23.567568
94
0.71961
tomcreutz
06128ecab2fb2e6e66d9ab7e857e99f65e846911
19,663
cc
C++
lib/backprojecting_layer/backprojecting_op.cc
aditya2592/PoseCNN
a763120ce0ceb55cf3432980287ef463728f8052
[ "MIT" ]
655
2018-03-21T19:55:45.000Z
2022-03-25T20:41:21.000Z
lib/backprojecting_layer/backprojecting_op.cc
yuxng/FCN
77fbb50b4272514588a10a9f90b7d5f8d46974fb
[ "MIT" ]
122
2018-04-04T13:57:49.000Z
2022-03-18T09:28:44.000Z
lib/backprojecting_layer/backprojecting_op.cc
yuxng/FCN
77fbb50b4272514588a10a9f90b7d5f8d46974fb
[ "MIT" ]
226
2018-03-22T01:40:04.000Z
2022-03-17T11:56:14.000Z
/* Copyright 2015 Google Inc. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in ...
41.135983
181
0.650003
aditya2592
061478842688533a52c569a891f65709f1ec7aae
1,019
hpp
C++
src/rendering.hpp
IsaacWoods/Islands
d4b14b34884ca3f7ba1a97670dfef653b207befa
[ "MIT" ]
null
null
null
src/rendering.hpp
IsaacWoods/Islands
d4b14b34884ca3f7ba1a97670dfef653b207befa
[ "MIT" ]
null
null
null
src/rendering.hpp
IsaacWoods/Islands
d4b14b34884ca3f7ba1a97670dfef653b207befa
[ "MIT" ]
null
null
null
/* * Copyright (C) 2017, Isaac Woods. * See LICENCE.md */ #pragma once #include <gl3w.hpp> #include <maths.hpp> #include <asset.hpp> #include <entity.hpp> // --- Mesh --- struct Mesh { Mesh(const MeshData& meshData); ~Mesh(); unsigned int numElements; GLuint vao; GLuint vbo; GLuint ebo; }; void Draw...
15.676923
87
0.651619
IsaacWoods
06152794f908bf3e64221aa248a849a27758b2a4
5,957
cxx
C++
main/io/test/testcomponent.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
679
2015-01-06T06:34:58.000Z
2022-03-30T01:06:03.000Z
main/io/test/testcomponent.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
102
2017-11-07T08:51:31.000Z
2022-03-17T12:13:49.000Z
main/io/test/testcomponent.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
331
2015-01-06T11:40:55.000Z
2022-03-14T04:07:51.000Z
/************************************************************** * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to y...
27.836449
105
0.671479
Grosskopf
0615fe2d21d35e02f9957a6dcc70cad407e9469e
1,867
cpp
C++
modules/task_1/vitulin_i_sum_vector_elements/sum_vector_elements.cpp
Oskg/pp_2021_autumn
c05d35f4d4b324cc13e58188b4a0c0174f891976
[ "BSD-3-Clause" ]
1
2021-12-09T17:20:25.000Z
2021-12-09T17:20:25.000Z
modules/task_1/vitulin_i_sum_vector_elements/sum_vector_elements.cpp
Oskg/pp_2021_autumn
c05d35f4d4b324cc13e58188b4a0c0174f891976
[ "BSD-3-Clause" ]
null
null
null
modules/task_1/vitulin_i_sum_vector_elements/sum_vector_elements.cpp
Oskg/pp_2021_autumn
c05d35f4d4b324cc13e58188b4a0c0174f891976
[ "BSD-3-Clause" ]
3
2022-02-23T14:20:50.000Z
2022-03-30T09:00:02.000Z
// Copyright 2021 Vitulin Ivan 381908-1 #include <mpi.h> #include <vector> #include <random> #include <algorithm> #include "../../../modules/task_1/vitulin_i_sum_vector_elements/sum_vector_elements.h" std::vector<int> getRandomVectorElements(int vector_size, int k) { std::random_device dev; std::mt19937 gen(de...
35.226415
100
0.677022
Oskg
061635a4452d766021fcb322ad836e7e98c9d49d
1,942
cpp
C++
src/main.cpp
dleliuhin/cservice_template
63d47faee1065e3615c47ebfd222b49cbd8b7bd8
[ "DOC" ]
null
null
null
src/main.cpp
dleliuhin/cservice_template
63d47faee1065e3615c47ebfd222b49cbd8b7bd8
[ "DOC" ]
null
null
null
src/main.cpp
dleliuhin/cservice_template
63d47faee1065e3615c47ebfd222b49cbd8b7bd8
[ "DOC" ]
1
2021-08-06T22:15:04.000Z
2021-08-06T22:15:04.000Z
/*! \file main.cpp * \brief Entry app file. * * \authors Dmitrii Leliuhin * \date July 2020 * * Details. * */ //======================================================================================= #include "subscribe.h" #include "config.h" #include "core.h" #include "publish.h" #ifdef GUI #include "view.h"...
22.847059
89
0.427909
dleliuhin
06195fc4d3b2d3ace8a68c46f5f6bbdfeef5bc79
1,022
cpp
C++
assignment_4/src/main.cpp
gabryon99/spm-2122
a4684d3a1182eff40293779e676117f1e28338d8
[ "Unlicense" ]
null
null
null
assignment_4/src/main.cpp
gabryon99/spm-2122
a4684d3a1182eff40293779e676117f1e28338d8
[ "Unlicense" ]
null
null
null
assignment_4/src/main.cpp
gabryon99/spm-2122
a4684d3a1182eff40293779e676117f1e28338d8
[ "Unlicense" ]
null
null
null
#include <assignmentconfig.h> #include <argparse/argparse.hpp> #include <spmutility.hpp> #include <threadpool.hpp> int main(int argc, char **argv) { using namespace std::chrono_literals; argparse::ArgumentParser program(Assignment_PROJECT_NAME); auto nw = std::thread::hardware_concurrency(); program...
26.205128
69
0.591977
gabryon99