hexsha
stringlengths
40
40
size
int64
7
1.05M
ext
stringclasses
13 values
lang
stringclasses
1 value
max_stars_repo_path
stringlengths
4
269
max_stars_repo_name
stringlengths
5
109
max_stars_repo_head_hexsha
stringlengths
40
40
max_stars_repo_licenses
listlengths
1
9
max_stars_count
int64
1
191k
⌀
max_stars_repo_stars_event_min_datetime
stringlengths
24
24
⌀
max_stars_repo_stars_event_max_datetime
stringlengths
24
24
⌀
max_issues_repo_path
stringlengths
4
269
max_issues_repo_name
stringlengths
5
116
max_issues_repo_head_hexsha
stringlengths
40
40
max_issues_repo_licenses
listlengths
1
9
max_issues_count
int64
1
48.5k
⌀
max_issues_repo_issues_event_min_datetime
stringlengths
24
24
⌀
max_issues_repo_issues_event_max_datetime
stringlengths
24
24
⌀
max_forks_repo_path
stringlengths
4
269
max_forks_repo_name
stringlengths
5
116
max_forks_repo_head_hexsha
stringlengths
40
40
max_forks_repo_licenses
listlengths
1
9
max_forks_count
int64
1
105k
⌀
max_forks_repo_forks_event_min_datetime
stringlengths
24
24
⌀
max_forks_repo_forks_event_max_datetime
stringlengths
24
24
⌀
content
stringlengths
7
1.05M
avg_line_length
float64
1.21
330k
max_line_length
int64
6
990k
alphanum_fraction
float64
0.01
0.99
author_id
stringlengths
2
40
967c2df1238695d749257c435fac637c66977898
746
cpp
C++
src/ports/SkDebug_android.cpp
viniciusfbb/skia
da7af57027e2cec90985fbfd75192cc896994eff
[ "BSD-3-Clause" ]
4
2021-08-11T01:22:19.000Z
2021-11-04T12:08:25.000Z
src/ports/SkDebug_android.cpp
viniciusfbb/skia
da7af57027e2cec90985fbfd75192cc896994eff
[ "BSD-3-Clause" ]
null
null
null
src/ports/SkDebug_android.cpp
viniciusfbb/skia
da7af57027e2cec90985fbfd75192cc896994eff
[ "BSD-3-Clause" ]
1
2021-08-13T18:17:26.000Z
2021-08-13T18:17:26.000Z
/* * Copyright 2006 The Android Open Source Project * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "include/core/SkTypes.h" #if defined(SK_BUILD_FOR_ANDROID) #include <stdio.h> #define LOG_TAG "skia" #include <android/log.h> // Print debug ou...
22.606061
73
0.705094
viniciusfbb
9686a88fc03afa3f745d6b8cccff334861d128ae
230
cpp
C++
326. Power of Three.cpp
ivanilos/leetcode
6b13870a49180eed5c1548410f2c9cca219d1cab
[ "MIT" ]
null
null
null
326. Power of Three.cpp
ivanilos/leetcode
6b13870a49180eed5c1548410f2c9cca219d1cab
[ "MIT" ]
null
null
null
326. Power of Three.cpp
ivanilos/leetcode
6b13870a49180eed5c1548410f2c9cca219d1cab
[ "MIT" ]
null
null
null
class Solution { public: bool isPowerOfThree(int n) { if (n == 0) return false; const double EPS = 1e-6; double pot = round(log(n) / log(3)); return abs(pow(3, pot) - n) < EPS; } };
23
44
0.5
ivanilos
968cde474788cb3679bdb1333a0afdff1549a11b
9,117
hh
C++
src/converter.hh
MaximilienNaveau/dynamic_graph_bridge
6dafe58f9e72263fd361efa824c26ac49b96276d
[ "BSD-2-Clause" ]
null
null
null
src/converter.hh
MaximilienNaveau/dynamic_graph_bridge
6dafe58f9e72263fd361efa824c26ac49b96276d
[ "BSD-2-Clause" ]
null
null
null
src/converter.hh
MaximilienNaveau/dynamic_graph_bridge
6dafe58f9e72263fd361efa824c26ac49b96276d
[ "BSD-2-Clause" ]
1
2021-11-29T16:46:35.000Z
2021-11-29T16:46:35.000Z
#ifndef DYNAMIC_GRAPH_ROS_CONVERTER_HH # define DYNAMIC_GRAPH_ROS_CONVERTER_HH # include <stdexcept> # include "sot_to_ros.hh" # include <boost/static_assert.hpp> # include <boost/date_time/date.hpp> # include <boost/date_time/posix_time/posix_time.hpp> # include <ros/time.h> # include <std_msgs/Header.h> # include ...
27.214925
83
0.636942
MaximilienNaveau
968e17c714ee44bcc9b9c989aff59afe0bf515fe
912
hpp
C++
include/eglplus/enums/surface_type_bit.hpp
matus-chochlik/oglplus
76dd964e590967ff13ddff8945e9dcf355e0c952
[ "BSL-1.0" ]
364
2015-01-01T09:38:23.000Z
2022-03-22T05:32:00.000Z
include/eglplus/enums/surface_type_bit.hpp
matus-chochlik/oglplus
76dd964e590967ff13ddff8945e9dcf355e0c952
[ "BSL-1.0" ]
55
2015-01-06T16:42:55.000Z
2020-07-09T04:21:41.000Z
include/eglplus/enums/surface_type_bit.hpp
matus-chochlik/oglplus
76dd964e590967ff13ddff8945e9dcf355e0c952
[ "BSL-1.0" ]
57
2015-01-07T18:35:49.000Z
2022-03-22T05:32:04.000Z
// File include/eglplus/enums/surface_type_bit.hpp // // Automatically generated file, DO NOT modify manually. // Edit the source 'source/enums/eglplus/surface_type_bit.txt' // or the 'source/enums/make_enum.py' script instead. // // Copyright 2010-2019 Matus Chochlik. // Distributed under the Boost Software Lice...
27.636364
63
0.782895
matus-chochlik
968fa139d871332c0dcc82cdaf5d9934f91e69e0
1,519
hpp
C++
Real-Time Corruptor/BizHawk_RTC/waterbox/libsnes/bsnes/snes/chip/armdsp/armdsp.hpp
redscientistlabs/Bizhawk50X-Vanguard
96e0f5f87671a1230784c8faf935fe70baadfe48
[ "MIT" ]
1,414
2015-06-28T09:57:51.000Z
2021-10-14T03:51:10.000Z
Real-Time Corruptor/BizHawk_RTC/waterbox/libsnes/bsnes/snes/chip/armdsp/armdsp.hpp
redscientistlabs/Bizhawk50X-Vanguard
96e0f5f87671a1230784c8faf935fe70baadfe48
[ "MIT" ]
2,369
2015-06-25T01:45:44.000Z
2021-10-16T08:44:18.000Z
Real-Time Corruptor/BizHawk_RTC/waterbox/libsnes/bsnes/snes/chip/armdsp/armdsp.hpp
redscientistlabs/Bizhawk50X-Vanguard
96e0f5f87671a1230784c8faf935fe70baadfe48
[ "MIT" ]
430
2015-06-29T04:28:58.000Z
2021-10-05T18:24:17.000Z
//ARMv3 (ARM6) struct ArmDSP : public Coprocessor { //zero 01-sep-2014 - dont clobber these when reconstructing! static uint8 *firmware; static uint8 *programROM; static uint8 *dataROM; uint8 *programRAM; #include "registers.hpp" static void Enter(); void enter(); void tick(unsigned clocks = 1); ...
22.671642
61
0.710994
redscientistlabs
969002fbd0c37f0d7ad7b865b6cd93f1660316af
1,391
cpp
C++
playground/CSV_CONVERTOR/utils/geocoder.cpp
Philippe-Guyard/XOptimizer
d09644eb6b92253b1d56ca2ab9c1be681993d931
[ "MIT" ]
1
2021-11-07T18:34:20.000Z
2021-11-07T18:34:20.000Z
playground/CSV_CONVERTOR/utils/geocoder.cpp
Philippe-Guyard/XOptimizer
d09644eb6b92253b1d56ca2ab9c1be681993d931
[ "MIT" ]
1
2021-11-16T21:29:32.000Z
2021-11-16T21:29:32.000Z
playground/CSV_CONVERTOR/utils/geocoder.cpp
Philippe-Guyard/XOptimizer
d09644eb6b92253b1d56ca2ab9c1be681993d931
[ "MIT" ]
2
2021-11-05T11:06:18.000Z
2021-11-07T18:49:17.000Z
#include <QCoreApplication> #include <QFile> #include <QHttpMultiPart> #include <QNetworkAccessManager> #include <QNetworkReply> #include <iostream> QHttpMultiPart *buildMultpart(QFile& file){ QHttpMultiPart *multipart = new QHttpMultiPart(QHttpMultiPart::FormDataType); QHttpPart postpart; postpart.setHeader(Q...
29.595745
126
0.702372
Philippe-Guyard
9691695c5f0913307ee706a7e599c4d022843073
247
cpp
C++
beecrowd_URI/iniciante/multiplos.cpp
lzunho-afk/coding-challenges
a6ac7ce4da0bd579ab4af8f0dfa66dd8a504f412
[ "MIT" ]
null
null
null
beecrowd_URI/iniciante/multiplos.cpp
lzunho-afk/coding-challenges
a6ac7ce4da0bd579ab4af8f0dfa66dd8a504f412
[ "MIT" ]
null
null
null
beecrowd_URI/iniciante/multiplos.cpp
lzunho-afk/coding-challenges
a6ac7ce4da0bd579ab4af8f0dfa66dd8a504f412
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int main(void) { ios_base::sync_with_stdio(false); cin.tie(NULL); int a, b; cin >> a >> b; cout << (a%b==0 || b%a==0 ? "Sao Multiplos" : "Nao sao Multiplos") << endl; return 0; }
17.642857
79
0.562753
lzunho-afk
f7b76e4ebbdce0d05ea2a7968f93c3421bea9d0b
2,941
cpp
C++
test/test_unigram_table.cpp
Dennis1989/yskip
65192ddd983189de806d381026f23b2b52f0e887
[ "Apache-2.0" ]
70
2019-04-18T03:44:21.000Z
2022-02-10T04:38:11.000Z
test/test_unigram_table.cpp
Dennis1989/yskip
65192ddd983189de806d381026f23b2b52f0e887
[ "Apache-2.0" ]
null
null
null
test/test_unigram_table.cpp
Dennis1989/yskip
65192ddd983189de806d381026f23b2b52f0e887
[ "Apache-2.0" ]
8
2019-08-21T09:47:27.000Z
2021-08-30T15:46:03.000Z
/******************************************* * Copyright (C) 2017 Yahoo! JAPAN Research *******************************************/ #include <cassert> #include "../src/unigram_table.h" using namespace yskip; void test_build(const real_t alpha) { Random random(0); const int table_size = 1e5; const int samp...
27.745283
165
0.579395
Dennis1989
f7c4f80ef0f989fb0568d0362d230ed941f27b1f
3,670
cpp
C++
DirectX12-FrameWork/RenderTarget.cpp
CHCTW/DirectX12-Framework-
b9e590555660c40cb19c3ef292c097c78d49a158
[ "MIT" ]
43
2018-01-03T02:03:01.000Z
2021-12-26T10:40:15.000Z
DirectX12-FrameWork/RenderTarget.cpp
CHCTW/DirectX12-Framework-
b9e590555660c40cb19c3ef292c097c78d49a158
[ "MIT" ]
9
2017-09-12T09:57:39.000Z
2020-06-22T07:32:22.000Z
DirectX12-FrameWork/RenderTarget.cpp
CHCTW/DirectX12-Framework-
b9e590555660c40cb19c3ef292c097c78d49a158
[ "MIT" ]
8
2018-01-03T02:02:33.000Z
2022-02-12T21:23:44.000Z
//#include "RenderTarget.h" // //#include "StructureHeaders.h" //bool RenderTarget::createRenderTargets(ID3D12Device* device, UINT width, UINT height, RenderTargetFormat& format, DescriptorHeap& rtvheap, DescriptorHeap& dsvheap, DescriptorHeap& cbvsrvuavheap) //{ // // mFormat = format; // mRenderBuffers.resize(mFormat...
44.216867
240
0.758583
CHCTW
f7cb207ae79d19d8ed389fe8b1b1769464ad2006
31
cpp
C++
src/json/json_spirit_value.cpp
tedchain/tedcoin-electronic-cash-system
b2ed5d32c0f2fd4ec779019fb3081324f2c5d083
[ "MIT" ]
6
2018-06-06T05:30:45.000Z
2022-01-01T05:16:12.000Z
src/json/json_spirit_value.cpp
tedchain/tedcoin-electronic-cash-system
b2ed5d32c0f2fd4ec779019fb3081324f2c5d083
[ "MIT" ]
null
null
null
src/json/json_spirit_value.cpp
tedchain/tedcoin-electronic-cash-system
b2ed5d32c0f2fd4ec779019fb3081324f2c5d083
[ "MIT" ]
6
2018-05-23T16:15:52.000Z
2020-05-27T04:20:48.000Z
#include "json_spirit_value.h"
15.5
30
0.806452
tedchain
f7cdc195398905d509f91f8a6e416662f83efff4
748
cpp
C++
mainwindow.cpp
NguyenTrongThinh/OpenCvCamViewer
3c37002487e69dde18088764090c80324d36eb5b
[ "MIT" ]
null
null
null
mainwindow.cpp
NguyenTrongThinh/OpenCvCamViewer
3c37002487e69dde18088764090c80324d36eb5b
[ "MIT" ]
null
null
null
mainwindow.cpp
NguyenTrongThinh/OpenCvCamViewer
3c37002487e69dde18088764090c80324d36eb5b
[ "MIT" ]
null
null
null
#include "mainwindow.h" #include "ui_mainwindow.h" MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent) , ui(new Ui::MainWindow) { ui->setupUi(this); m_CameraViewer = new cCameraViewer(); m_CameraViewer->clear(); m_CameraViewer->setPixmap(QPixmap(":/images/resource/loading.png")); ...
22.666667
88
0.661765
NguyenTrongThinh
f7ce1a3e61605adc817e6b215efe405d595e106f
2,763
cpp
C++
core/bam/BamReader.cpp
srynobio/graphite
e37aa8803ea15f0473ab368b4bae3e3347451229
[ "MIT" ]
null
null
null
core/bam/BamReader.cpp
srynobio/graphite
e37aa8803ea15f0473ab368b4bae3e3347451229
[ "MIT" ]
null
null
null
core/bam/BamReader.cpp
srynobio/graphite
e37aa8803ea15f0473ab368b4bae3e3347451229
[ "MIT" ]
null
null
null
#include "BamReader.h" #include <unordered_map> namespace graphite { BamReader::BamReader(const std::string& filename) : m_bam_path(filename) { this->m_bam_reader = std::make_shared< BamTools::BamReader >(); if (!this->m_bam_reader->Open(filename)) { throw "Unable to open bam file"; } this->m_bam_reade...
34.974684
189
0.726384
srynobio
f7d5d1f8bb420dc935223e3cf42190b0ad7e095a
2,839
hpp
C++
libs/boost_1_72_0/boost/fusion/functional/adapter/fused.hpp
henrywarhurst/matrix
317a2a7c35c1c7e3730986668ad2270dc19809ef
[ "BSD-3-Clause" ]
null
null
null
libs/boost_1_72_0/boost/fusion/functional/adapter/fused.hpp
henrywarhurst/matrix
317a2a7c35c1c7e3730986668ad2270dc19809ef
[ "BSD-3-Clause" ]
null
null
null
libs/boost_1_72_0/boost/fusion/functional/adapter/fused.hpp
henrywarhurst/matrix
317a2a7c35c1c7e3730986668ad2270dc19809ef
[ "BSD-3-Clause" ]
null
null
null
/*============================================================================= Copyright (c) 2006-2007 Tobias Schwinger Use modification and distribution are subject to the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt). ===...
31.544444
80
0.684748
henrywarhurst
f7d65f6835e119f06a09aa1eeab4f87886037605
1,350
cpp
C++
mempool/src/mempool.cpp
RoseLeBlood/mnthread-examples
14869a9ba4ce91c7c107f8c2d06b7a9d4636e2f8
[ "MIT" ]
null
null
null
mempool/src/mempool.cpp
RoseLeBlood/mnthread-examples
14869a9ba4ce91c7c107f8c2d06b7a9d4636e2f8
[ "MIT" ]
1
2020-12-13T15:51:22.000Z
2020-12-22T08:18:39.000Z
mempool/src/mempool.cpp
RoseLeBlood/mnthread-examples
14869a9ba4ce91c7c107f8c2d06b7a9d4636e2f8
[ "MIT" ]
null
null
null
#include <cstring> #include <miniThread.hpp> using namespace mn; #define TEST_ELEMENTS 10 #define _PROJECT_NAME "simple __mempool example" struct mempool_tester { using mempool_t = mn::memory::basic_mempool_t<int, TEST_ELEMENTS>; mempool_tester() { __mempool.create(portMAX_DELAY); } void tes...
21.774194
73
0.55037
RoseLeBlood
f7d9313f1281dd6c0209f34d4fcb9993b936a258
1,031
cpp
C++
Homework/Array1/OddEvenSorting.cpp
zyzkevin/Introduction-to-Computing
0838126dda56ee20834dcfe472f9ab9effd8d8b3
[ "MIT" ]
null
null
null
Homework/Array1/OddEvenSorting.cpp
zyzkevin/Introduction-to-Computing
0838126dda56ee20834dcfe472f9ab9effd8d8b3
[ "MIT" ]
null
null
null
Homework/Array1/OddEvenSorting.cpp
zyzkevin/Introduction-to-Computing
0838126dda56ee20834dcfe472f9ab9effd8d8b3
[ "MIT" ]
null
null
null
/* * 整数奇偶排序 * 张雨泽 1900094801 * 2019/10/15 */ #include <iostream> using namespace std; void moveFront(int j); int a[10], temp; int main() { for (int i = 0; i < 10; i++) { cin >> a[i]; } //bubble sorting for (int i = 0; i < 9; i++) { for (int j = 0; j < 9 - i; j++) { int next ...
18.745455
73
0.42677
zyzkevin
f7dd068a7e39e9b8cbf22f5d4f2e125b3ea976c0
2,706
cpp
C++
src/gui/consolewidget.cpp
evoplex/evoplex
c6e78af5fb0d2fc5a5ce7b02e5e4ec61de8934b6
[ "Apache-2.0" ]
101
2018-06-21T04:29:18.000Z
2022-03-09T13:04:15.000Z
src/gui/consolewidget.cpp
ElsevierSoftwareX/SOFTX_2018_211
cbfac5af0ad76b7c88a7ea296d94785692da3048
[ "Apache-2.0" ]
30
2018-06-26T15:12:03.000Z
2019-10-10T04:02:13.000Z
src/gui/consolewidget.cpp
ElsevierSoftwareX/SOFTX_2018_211
cbfac5af0ad76b7c88a7ea296d94785692da3048
[ "Apache-2.0" ]
23
2018-06-23T16:10:24.000Z
2021-11-03T15:12:51.000Z
/** * This file is part of Evoplex. * * Evoplex is a multi-agent system for networks. * Copyright (C) 2018 - Marcos Cardinot <marcos@cardinot.net> * * 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 Soft...
31.465116
91
0.694752
evoplex
f7e0362e9fcebab25960fdab2703efc7f3cde447
1,442
hpp
C++
src/karl/storage/name_iter.hpp
Supermarx/karl
d418336671239d463eb9afb205f49c8b2a77b3bc
[ "MIT" ]
null
null
null
src/karl/storage/name_iter.hpp
Supermarx/karl
d418336671239d463eb9afb205f49c8b2a77b3bc
[ "MIT" ]
null
null
null
src/karl/storage/name_iter.hpp
Supermarx/karl
d418336671239d463eb9afb205f49c8b2a77b3bc
[ "MIT" ]
null
null
null
#pragma once #include <boost/fusion/include/at.hpp> #include <boost/fusion/include/for_each.hpp> #include <boost/fusion/adapted.hpp> namespace supermarx { namespace detail { template<typename T, typename N> using name_t = boost::fusion::extension::struct_member_name<T, N::value>; template<typename T, typename N> u...
17.166667
73
0.68724
Supermarx
f7e05e63c391b2368c6a18ea5b2bb3f0d2b1237b
515
cpp
C++
filip.cpp
cmclaughlan15/kattis
0f8a04d6ed4b4b18ecbe970f229f9f6e854a5946
[ "MIT" ]
1
2021-02-21T02:58:45.000Z
2021-02-21T02:58:45.000Z
filip.cpp
cmclaughlan15/kattis
0f8a04d6ed4b4b18ecbe970f229f9f6e854a5946
[ "MIT" ]
null
null
null
filip.cpp
cmclaughlan15/kattis
0f8a04d6ed4b4b18ecbe970f229f9f6e854a5946
[ "MIT" ]
null
null
null
#include <iostream> #include <algorithm> #include <string> int main() { int a, b; std::string temp = ""; for (int i=0;i<3;i++) { char t; std::cin >> t; temp.append(1,t); } std::reverse(temp.begin(),temp.end()); a = std::stoi(temp); temp = ""; for (int i=0;i<3;i...
17.166667
42
0.460194
cmclaughlan15
f7e0779cbe8c32dd59506a2f5c24076fae830c2a
8,573
cpp
C++
src/Sema/CSApply.cpp
jonaszell97/cdotc
089b1161155118a0b78637883f0a6a04c6e9b436
[ "MIT" ]
1
2020-05-29T12:34:33.000Z
2020-05-29T12:34:33.000Z
src/Sema/CSApply.cpp
jonaszell97/cdotc
089b1161155118a0b78637883f0a6a04c6e9b436
[ "MIT" ]
null
null
null
src/Sema/CSApply.cpp
jonaszell97/cdotc
089b1161155118a0b78637883f0a6a04c6e9b436
[ "MIT" ]
null
null
null
#include "cdotc/AST/ASTVisitor.h" #include "cdotc/Query/QueryContext.h" #include "cdotc/Sema/ConstraintBuilder.h" #include "cdotc/Sema/SemaPass.h" using namespace cdot; using namespace cdot::ast; using namespace cdot::sema; using namespace cdot::support; namespace { using UnresolvedCallMap = llvm::DenseMap<ast::Anon...
29.259386
81
0.592558
jonaszell97
f7e468a28723a045cb4a1afde46542321d410847
5,068
hh
C++
test/integration/toml_parser.hh
aaronchongth/sdformat
7be5c0b271950c1725236c223945bfb3a66de5be
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
test/integration/toml_parser.hh
aaronchongth/sdformat
7be5c0b271950c1725236c223945bfb3a66de5be
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
test/integration/toml_parser.hh
aaronchongth/sdformat
7be5c0b271950c1725236c223945bfb3a66de5be
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
/* * Copyright (C) 2021 Open Source Robotics Foundation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
24.365385
79
0.594317
aaronchongth
f7eb8ba1a1595a05fef34e1561ff9bfc7be25dad
3,058
hh
C++
include/hdf5/client_timing_constants_write_hdf5.hh
mlawsonca/empress
aa3eb8544f2e01fcbd77749f7dce1b95fbfa11e9
[ "MIT" ]
5
2018-11-28T19:38:23.000Z
2021-03-15T20:44:07.000Z
include/hdf5/client_timing_constants_write_hdf5.hh
mlawsonca/empress
aa3eb8544f2e01fcbd77749f7dce1b95fbfa11e9
[ "MIT" ]
null
null
null
include/hdf5/client_timing_constants_write_hdf5.hh
mlawsonca/empress
aa3eb8544f2e01fcbd77749f7dce1b95fbfa11e9
[ "MIT" ]
1
2018-07-18T15:22:36.000Z
2018-07-18T15:22:36.000Z
/* * Copyright 2018 National Technology & Engineering Solutions of * Sandia, LLC (NTESS). Under the terms of Contract DE-NA0003525 with NTESS, * the U.S. Government retains certain rights in this software. * * The MIT License (MIT) * * Copyright (c) 2018 Sandia Corporation * * Permission is hereby granted, ...
33.23913
80
0.749509
mlawsonca
f7eee3c6539918ba0013d176ea7a316cb0b1f5b3
2,412
hpp
C++
library/include/ux/Display.hpp
StratifyLabs/UxAPI
4dc043b132452896ed9626038d53439b0def786a
[ "MIT" ]
null
null
null
library/include/ux/Display.hpp
StratifyLabs/UxAPI
4dc043b132452896ed9626038d53439b0def786a
[ "MIT" ]
null
null
null
library/include/ux/Display.hpp
StratifyLabs/UxAPI
4dc043b132452896ed9626038d53439b0def786a
[ "MIT" ]
null
null
null
// Copyright 2016-2021 Tyler Gilbert and Stratify Labs, Inc; see LICENSE.md #ifndef UXAPI_UX_DISPLAY_HPP_ #define UXAPI_UX_DISPLAY_HPP_ #include <sdk/types.h> #include <sos/dev/display.h> #include <var/View.hpp> #include "sgfx/Bitmap.hpp" namespace ux { class Display : public fs::FileMemberAccess<Display>, ...
28.376471
75
0.69859
StratifyLabs
f7f8ccb5b707435dd0d671d4e5bab9a023e7dae1
55,044
cpp
C++
src/AirportHandler.cpp
ChristophRonken/Plane-Simulator
f22fbcd283c3f042aa463e122a05ff7ed3c2ec4b
[ "MIT" ]
null
null
null
src/AirportHandler.cpp
ChristophRonken/Plane-Simulator
f22fbcd283c3f042aa463e122a05ff7ed3c2ec4b
[ "MIT" ]
null
null
null
src/AirportHandler.cpp
ChristophRonken/Plane-Simulator
f22fbcd283c3f042aa463e122a05ff7ed3c2ec4b
[ "MIT" ]
null
null
null
// // Created by oliviervh on 01.03.18. // #include "AirportHandler.h" #include "Airplane.h" #include <algorithm> #include <vector> AirportHandler::AirportHandler() { self = this; } AirportHandler::~AirportHandler() { for (unsigned int i = 0; i < airplanes.size(); i++) { delete airplanes[i]; ...
35.466495
191
0.402533
ChristophRonken
f7fd5dbff0476522b67a08e207caa99abefeee0f
3,377
cpp
C++
tests/resolve.cpp
ken-matsui/poac
e4503027f3993be493824f48dc31818029784238
[ "Apache-2.0" ]
496
2018-07-03T06:57:13.000Z
2022-03-28T23:20:01.000Z
tests/resolve.cpp
ken-matsui/poac
e4503027f3993be493824f48dc31818029784238
[ "Apache-2.0" ]
331
2018-03-29T05:15:51.000Z
2022-03-12T16:57:06.000Z
tests/resolve.cpp
ken-matsui/poac
e4503027f3993be493824f48dc31818029784238
[ "Apache-2.0" ]
58
2018-11-11T03:12:00.000Z
2022-03-25T06:32:58.000Z
#define BOOST_TEST_MAIN #include <boost/test/included/unit_test.hpp> #include <poac/core/resolver/resolve.hpp> BOOST_AUTO_TEST_CASE( poac_core_resolver_resolve_to_binary_numbers_test ) { using poac::core::resolver::resolve::to_binary_numbers; BOOST_TEST( to_binary_numbers(0, 5) == "00000" ); BOOST_TEST( ...
45.635135
78
0.595499
ken-matsui
7901bbe1accf272e7a23b7f41f92f2e2ce12aadf
542
cpp
C++
driver/src/runtime/command/BufferWriteCommand.cpp
okayvlev/red-o-lator
2e1e73d44c24f22b09eb1c75d1cbfc3ab98fe60d
[ "MIT" ]
null
null
null
driver/src/runtime/command/BufferWriteCommand.cpp
okayvlev/red-o-lator
2e1e73d44c24f22b09eb1c75d1cbfc3ab98fe60d
[ "MIT" ]
3
2021-05-08T12:33:35.000Z
2021-06-06T18:46:21.000Z
driver/src/runtime/command/BufferWriteCommand.cpp
okayvlev/red-o-lator
2e1e73d44c24f22b09eb1c75d1cbfc3ab98fe60d
[ "MIT" ]
4
2021-04-02T08:31:38.000Z
2021-05-01T21:47:18.000Z
#include <cstring> #include "Command.h" BufferWriteCommand::BufferWriteCommand(CLMem* buffer, size_t size, size_t offset, const void* dataPtr) : buffer(buffer), size(size), offset(offset), dataPtr(...
27.1
68
0.577491
okayvlev
790793b098466e6daadf1985ee3e2abac289b613
5,293
cpp
C++
source/uwp/Renderer/lib/AdaptiveFactSetRenderer.cpp
Illbatting/AdaptiveCards
1dcef8c69715bd56cc4384ab2b1a80906e696922
[ "MIT" ]
478
2017-05-12T19:56:51.000Z
2019-05-05T17:37:30.000Z
source/uwp/Renderer/lib/AdaptiveFactSetRenderer.cpp
joaojmendes/AdaptiveCards
ef1ed54c2123358a909e7bf9f01ecd8949ce5bf0
[ "MIT" ]
1,844
2017-05-12T22:48:46.000Z
2019-05-06T18:21:01.000Z
source/uwp/Renderer/lib/AdaptiveFactSetRenderer.cpp
joaojmendes/AdaptiveCards
ef1ed54c2123358a909e7bf9f01ecd8949ce5bf0
[ "MIT" ]
172
2017-05-15T20:59:12.000Z
2019-05-04T22:27:41.000Z
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #include "pch.h" #include "AdaptiveFactSetRenderer.h" #include "AdaptiveFactSetRenderer.g.cpp" #include "TextHelpers.h" namespace winrt::AdaptiveCards::Rendering::Uwp::implementation { winrt::UIElement AdaptiveFactSetR...
42.344
135
0.539014
Illbatting
790b96cc17ef1a365a3cdae1b6798a6ef9ff5927
1,705
cpp
C++
src/library.cpp
xqq/BonDriver_EPGStation
009e9f749c363f93dd87fc9429715a9a1c0dcad0
[ "MIT" ]
16
2021-03-13T15:15:33.000Z
2021-12-07T11:48:39.000Z
src/library.cpp
xqq/BonDriver_EPGStation
009e9f749c363f93dd87fc9429715a9a1c0dcad0
[ "MIT" ]
2
2021-03-14T14:54:04.000Z
2021-05-15T15:36:54.000Z
src/library.cpp
xqq/BonDriver_EPGStation
009e9f749c363f93dd87fc9429715a9a1c0dcad0
[ "MIT" ]
null
null
null
// // @author magicxqq <xqq@xqq.im> // #ifdef _WIN32 #include <Windows.h> #endif #include <fstream> #include <yaml-cpp/yaml.h> #include "IBonDriver.h" #include "bon_driver.hpp" #include "config.hpp" #include "log.hpp" #include "library.hpp" static HMODULE hmodule = nullptr; static Config config; static bool Loa...
24.710145
77
0.627566
xqq
790bb42d509e3b47bb9c859f00738600a30f7e52
390
cpp
C++
veterinario.cpp
fernandocunhapereira/petfera
6c1a3661df2561f53691abc548b1ce4202a3ba1e
[ "MIT" ]
null
null
null
veterinario.cpp
fernandocunhapereira/petfera
6c1a3661df2561f53691abc548b1ce4202a3ba1e
[ "MIT" ]
null
null
null
veterinario.cpp
fernandocunhapereira/petfera
6c1a3661df2561f53691abc548b1ce4202a3ba1e
[ "MIT" ]
1
2020-11-18T21:06:29.000Z
2020-11-18T21:06:29.000Z
#include "veterinario.hpp" Veterinario::Veterinario(string nome, string crmv):nome(nome), crmv(crmv){} Veterinario::~Veterinario(){} string Veterinario::getNome(){ return this-> nome; } void Veterinario::setNome(string nome){ this-> nome = nome; } string Veterinario::getCrmv(){ return this-> crmv;...
17.727273
75
0.679487
fernandocunhapereira
790bfb01433417c1d84a5c534a3fa0418d81ab9c
858
cpp
C++
data-structures/centroid-decomposition.cpp
Davi-Holanda/icpc-notebook
096441ba9e53c847ce8dd6a65340e163d274a946
[ "MIT" ]
46
2018-01-23T01:43:23.000Z
2020-10-03T15:16:25.000Z
data-structures/centroid-decomposition.cpp
Davi-Holanda/icpc-notebook
096441ba9e53c847ce8dd6a65340e163d274a946
[ "MIT" ]
1
2019-08-02T16:29:03.000Z
2020-03-16T22:36:11.000Z
data-structures/centroid-decomposition.cpp
Davi-Holanda/icpc-notebook
096441ba9e53c847ce8dd6a65340e163d274a946
[ "MIT" ]
16
2018-07-12T05:30:49.000Z
2021-02-19T01:40:49.000Z
// Centroid decomposition vector<int> adj[N]; int forb[N], sz[N], par[N]; int n, m; unordered_map<int, int> dist[N]; void dfs(int u, int p) { sz[u] = 1; for(int v : adj[u]) { if(v != p and !forb[v]) { dfs(v, u); sz[u] += sz[v]; } } } int find_cen(int u, int p, int qt) { for(int v : adj[u]...
16.823529
53
0.497669
Davi-Holanda
790c34672920c9464286c3b70b5d29ebf6b21a5a
2,187
cpp
C++
evolve/utils/src/evolve/utils/threadutils.cpp
thoratou/evolve
ff8b23686d4aed317b2f6e13080e58520ac96fc2
[ "Apache-2.0" ]
null
null
null
evolve/utils/src/evolve/utils/threadutils.cpp
thoratou/evolve
ff8b23686d4aed317b2f6e13080e58520ac96fc2
[ "Apache-2.0" ]
null
null
null
evolve/utils/src/evolve/utils/threadutils.cpp
thoratou/evolve
ff8b23686d4aed317b2f6e13080e58520ac96fc2
[ "Apache-2.0" ]
null
null
null
/****************************************************************** * This source file is part of Evolve (Easy VOxeL Vulkan Engine) * * * * Copyright (c) 2017 Ratouit Thomas * * ...
37.067797
88
0.523091
thoratou
790cf710f3ca9d17be87fb5475b43e27709125c4
2,534
cpp
C++
src/graph/planner/match/UnwindClausePlanner.cpp
wenhaocs/nebula
326b856cdf44fcaf67d3883073dc9412a9e3eebd
[ "Apache-2.0" ]
null
null
null
src/graph/planner/match/UnwindClausePlanner.cpp
wenhaocs/nebula
326b856cdf44fcaf67d3883073dc9412a9e3eebd
[ "Apache-2.0" ]
null
null
null
src/graph/planner/match/UnwindClausePlanner.cpp
wenhaocs/nebula
326b856cdf44fcaf67d3883073dc9412a9e3eebd
[ "Apache-2.0" ]
null
null
null
/* Copyright (c) 2020 vesoft inc. All rights reserved. * * This source code is licensed under Apache 2.0 License. */ #include "graph/planner/match/UnwindClausePlanner.h" #include "graph/planner/match/MatchPathPlanner.h" #include "graph/planner/match/MatchSolver.h" #include "graph/planner/match/OrderByClausePlanner...
38.393939
90
0.603394
wenhaocs
7910881f36d2f95746324a77604c19c1ee26020a
2,412
hpp
C++
include/hta/optional_mutex.hpp
metricq/hta
36e822e965593858327c9e4cefd434977597941e
[ "BSD-3-Clause" ]
2
2019-06-26T08:39:52.000Z
2019-07-31T12:16:05.000Z
include/hta/optional_mutex.hpp
metricq/hta
36e822e965593858327c9e4cefd434977597941e
[ "BSD-3-Clause" ]
16
2018-10-11T15:45:34.000Z
2021-09-30T12:33:18.000Z
include/hta/optional_mutex.hpp
metricq/hta
36e822e965593858327c9e4cefd434977597941e
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2019, ZIH, // Technische Universitaet Dresden, // Federal Republic of Germany // // 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 mus...
30.923077
83
0.680348
metricq
791446d08cb33f6303d0f2c48fe90423923611b9
2,070
cpp
C++
src/parse/node_expr_index.cpp
BastianBlokland/novus
3b984c36855aa84d6746c14ff7e294ab7d9c1575
[ "MIT" ]
14
2020-04-14T17:00:56.000Z
2021-08-30T08:29:26.000Z
src/parse/node_expr_index.cpp
BastianBlokland/novus
3b984c36855aa84d6746c14ff7e294ab7d9c1575
[ "MIT" ]
27
2020-12-27T16:00:44.000Z
2021-08-01T13:12:14.000Z
src/parse/node_expr_index.cpp
BastianBlokland/novus
3b984c36855aa84d6746c14ff7e294ab7d9c1575
[ "MIT" ]
1
2020-05-29T18:33:37.000Z
2020-05-29T18:33:37.000Z
#include "parse/node_expr_index.hpp" #include "utilities.hpp" namespace parse { IndexExprNode::IndexExprNode( NodePtr lhs, lex::Token open, std::vector<NodePtr> args, std::vector<lex::Token> commas, lex::Token close) : m_lhs{std::move(lhs)}, m_open{std::move(open)}, m_args{std::move(ar...
29.15493
94
0.656039
BastianBlokland
79155046958aa5748acecb1c2b9caf7d683f9be3
12,697
hpp
C++
target/macs_platform.hpp
bro11/macs-rtos
d7996a586fdca8f3406315e92fd2ef192e1a3f64
[ "BSD-3-Clause" ]
24
2019-06-04T08:41:25.000Z
2021-04-20T21:37:56.000Z
target/macs_platform.hpp
bro11/macs-rtos
d7996a586fdca8f3406315e92fd2ef192e1a3f64
[ "BSD-3-Clause" ]
3
2019-12-12T14:52:33.000Z
2021-05-31T15:38:56.000Z
target/macs_platform.hpp
bro11/macs-rtos
d7996a586fdca8f3406315e92fd2ef192e1a3f64
[ "BSD-3-Clause" ]
11
2019-06-11T20:44:04.000Z
2021-03-23T12:24:27.000Z
/// @file macs_platform.hpp /// @brief Аппаратно-зависимый код. /// @details Содержит объявления классов и т.п., реализация которых зависит от конкретной аппаратной платформы. /// @copyright AstroSoft Ltd, 2016 #pragma once #include <stdint.h> #include "macs_common.hpp" // Номер версии ядра процессора #define MACS_C...
30.743341
112
0.764275
bro11
7919493a5476429dad7e03aba375762d623fd518
797
cpp
C++
src/common/config.cpp
xhad1234/peloton
60dea12ed528bc8873b1c43d1eca841a5d76ee44
[ "Apache-2.0" ]
1
2017-08-08T12:10:07.000Z
2017-08-08T12:10:07.000Z
src/common/config.cpp
xhad1234/peloton
60dea12ed528bc8873b1c43d1eca841a5d76ee44
[ "Apache-2.0" ]
null
null
null
src/common/config.cpp
xhad1234/peloton
60dea12ed528bc8873b1c43d1eca841a5d76ee44
[ "Apache-2.0" ]
null
null
null
//===----------------------------------------------------------------------===// // // Peloton // // config.cpp // // Identification: src/common/config.cpp // // Copyright (c) 2015-16, Carnegie Mellon University Database Group // //===-------------------------------------------------------------...
29.518519
80
0.543287
xhad1234
791a2da0f10b0be48132ef7603cf741793ed5ae0
966
cpp
C++
EU4toV3Tests/EU4WorldTests/RelationTests/EU4RelationsTests.cpp
Idhrendur/EU4toVic3
b29ba8e59a3bd14af11fb6b30f4626cde7264a4f
[ "MIT" ]
42
2018-12-22T03:59:43.000Z
2022-02-03T10:45:42.000Z
EU4ToVic2Tests/EU4WorldTests/RelationTests/EU4RelationsTests.cpp
IhateTrains/EU4toVic2
061f5e1a0bc1a1f3b54bdfe471b501260149b56b
[ "MIT" ]
336
2018-12-22T17:15:27.000Z
2022-03-02T11:19:32.000Z
EU4ToVic2Tests/EU4WorldTests/RelationTests/EU4RelationsTests.cpp
klorpa/EU4toVic2
e3068eb2aa459f884c1929f162d0047a4cb5f4d4
[ "MIT" ]
56
2018-12-22T19:13:23.000Z
2022-01-01T23:08:53.000Z
#include "Relations/EU4Relations.h" #include "gtest/gtest.h" TEST(EU4World_Relations_RelationsTests, relationsDefaultToEmpty) { std::stringstream input; const EU4::EU4Relations relations(input); ASSERT_TRUE(relations.getRelations().empty()); } TEST(EU4World_Relations_RelationsTests, relationsCanBeLoaded) { std::...
28.411765
64
0.722567
Idhrendur
791b1ada85279f6a2930726599a152b93351630b
2,906
cpp
C++
Source/Project/GachaEffect.cpp
Syoukei66/Animal-Space-Battle
edb17e2f75fd5b43697889597e1eaac2e9e9cd76
[ "MIT" ]
null
null
null
Source/Project/GachaEffect.cpp
Syoukei66/Animal-Space-Battle
edb17e2f75fd5b43697889597e1eaac2e9e9cd76
[ "MIT" ]
null
null
null
Source/Project/GachaEffect.cpp
Syoukei66/Animal-Space-Battle
edb17e2f75fd5b43697889597e1eaac2e9e9cd76
[ "MIT" ]
null
null
null
#include "stdafx.h" #include "GachaEffect.h" static const T_FLOAT JET_START_Z = 0.5f; static const T_FLOAT JET_MOVE_Z = -10.0f; GachaEffect::GachaEffect() { this->wall_ = new Model(Asset::Fbx::SPACE_WALL); this->wall_->GetTransform()->SetScale(16.0f); this->wall_->SetMaterialForTree(*Asset::Material::GACHA_WORL...
42.115942
126
0.743978
Syoukei66
791d1fd816d9ea2459c930e536c125c7851ccbc8
365
cc
C++
atom/browser/ui/win/message_handler_delegate.cc
AfirstS/electron
aebb0ee798815bbdf46f2ebbc5b3745e609179d2
[ "MIT" ]
1,027
2016-12-24T13:05:29.000Z
2022-02-21T11:07:32.000Z
atom/browser/ui/win/message_handler_delegate.cc
AfirstS/electron
aebb0ee798815bbdf46f2ebbc5b3745e609179d2
[ "MIT" ]
366
2016-12-24T05:58:54.000Z
2018-12-31T23:02:03.000Z
atom/browser/ui/win/message_handler_delegate.cc
AfirstS/electron
aebb0ee798815bbdf46f2ebbc5b3745e609179d2
[ "MIT" ]
122
2017-01-14T23:48:49.000Z
2022-03-09T01:51:53.000Z
// Copyright (c) 2015 GitHub, Inc. // Use of this source code is governed by the MIT license that can be // found in the LICENSE file. #include "atom/browser/ui/win/message_handler_delegate.h" namespace atom { bool MessageHandlerDelegate::PreHandleMSG( UINT message, WPARAM w_param, LPARAM l_param, LRESULT* resul...
24.333333
69
0.739726
AfirstS
791ef9e1c8c13cb656c397a5b86f70878ae146ee
2,245
hpp
C++
husky-plugins/io/input/parquet_file_splitter.hpp
Alice3150/husky-sql
40dc95b5543c079bb4ab070fca2ac2a287514333
[ "Apache-2.0" ]
null
null
null
husky-plugins/io/input/parquet_file_splitter.hpp
Alice3150/husky-sql
40dc95b5543c079bb4ab070fca2ac2a287514333
[ "Apache-2.0" ]
null
null
null
husky-plugins/io/input/parquet_file_splitter.hpp
Alice3150/husky-sql
40dc95b5543c079bb4ab070fca2ac2a287514333
[ "Apache-2.0" ]
null
null
null
// Copyright 2018 Husky Team // // 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 writi...
27.048193
77
0.700223
Alice3150
79218ce4914daa059eafef5347d90ed320ccd341
1,825
hxx
C++
Legolas/Algorithm/NoLinearSystemAcceleration.hxx
LaurentPlagne/Legolas
fdf533528baf7ab5fcb1db15d95d2387b3e3723c
[ "MIT" ]
null
null
null
Legolas/Algorithm/NoLinearSystemAcceleration.hxx
LaurentPlagne/Legolas
fdf533528baf7ab5fcb1db15d95d2387b3e3723c
[ "MIT" ]
null
null
null
Legolas/Algorithm/NoLinearSystemAcceleration.hxx
LaurentPlagne/Legolas
fdf533528baf7ab5fcb1db15d95d2387b3e3723c
[ "MIT" ]
1
2021-02-11T14:43:25.000Z
2021-02-11T14:43:25.000Z
/** * project DESCARTES * * @file NoLinearSystemAcceleration.hxx * * @author Laurent PLAGNE * @date june 2004 - january 2005 * * @par Modifications * - author date object * * (c) Copyright EDF R&D - CEA 2001-2005 */ #ifndef __LEGOLAS_NOLINEARSYSTEMACCELERATION_HXX__ #define __LEGOLAS_NOLINEARSYST...
25
143
0.717808
LaurentPlagne
792860fdf3686aeaf54ef45aa7e8cfd01293a886
141,860
hpp
C++
src/Bindings/Mnemonic.hpp
Guila767/DotX64Dbg
67e7a200e1abd22bc3cb5b5a60d910e35afaab89
[ "MIT" ]
63
2021-08-06T03:08:30.000Z
2022-03-27T18:35:44.000Z
src/Bindings/Mnemonic.hpp
Guila767/DotX64Dbg
67e7a200e1abd22bc3cb5b5a60d910e35afaab89
[ "MIT" ]
12
2021-09-03T15:07:17.000Z
2022-02-28T17:37:18.000Z
src/Bindings/Mnemonic.hpp
Guila767/DotX64Dbg
67e7a200e1abd22bc3cb5b5a60d910e35afaab89
[ "MIT" ]
11
2021-07-30T20:03:57.000Z
2022-03-16T00:20:26.000Z
#pragma once namespace Dotx64Dbg { public enum class Mnemonic { Invalid, Aaa, Aad, Aam, Aas, Adc, Adcx, Add, Addpd, Addps, Addsd, Addss, Addsubpd, Addsubps, Adox, Aesdec, Ae...
26.847086
62
0.504413
Guila767
7929001abf123e41fc805581074d36e350a61629
848
cpp
C++
C++17Core/copy_elision.cpp
rostislav-nikitin/edu.cpp
3cbb87b32042cc24ebfc9937927ba86ca24a92aa
[ "MIT" ]
null
null
null
C++17Core/copy_elision.cpp
rostislav-nikitin/edu.cpp
3cbb87b32042cc24ebfc9937927ba86ca24a92aa
[ "MIT" ]
null
null
null
C++17Core/copy_elision.cpp
rostislav-nikitin/edu.cpp
3cbb87b32042cc24ebfc9937927ba86ca24a92aa
[ "MIT" ]
null
null
null
// Single-line comment /* * Multiple line comment */ #include <iostream> //#define DELETE_COPY_MOVE using namespace std; class Number { public: Number(int value) { cout << "Parametrized ctor: " << __PRETTY_FUNCTION__ << endl; } #ifdef DELETE_COPY_MOVE Number (const Number &) = delete; Number (Number &&) = ...
12.656716
63
0.622642
rostislav-nikitin
792a78ba12d1cae4d8d0eb9eeaaf10489f8ea1b3
4,419
cpp
C++
ble-cpp/src/core/LatLngConverter.cpp
harsh-agarwal/blelocpp
eaba46c6239981c7b8e69bef2ab33bb08ecb15b4
[ "MIT" ]
8
2016-06-13T20:47:18.000Z
2021-12-22T17:29:32.000Z
ble-cpp/src/core/LatLngConverter.cpp
harsh-agarwal/blelocpp
eaba46c6239981c7b8e69bef2ab33bb08ecb15b4
[ "MIT" ]
11
2016-03-14T07:00:04.000Z
2019-05-07T18:20:15.000Z
ble-cpp/src/core/LatLngConverter.cpp
harsh-agarwal/blelocpp
eaba46c6239981c7b8e69bef2ab33bb08ecb15b4
[ "MIT" ]
11
2016-02-03T07:41:00.000Z
2019-09-11T10:03:48.000Z
/******************************************************************************* * Copyright (c) 2014, 2016 IBM Corporation and others * * 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 ...
42.490385
103
0.657162
harsh-agarwal
792bf13d53c3646b223bfe125ef2944af499b8e2
654
cpp
C++
Practice/2020_04_21/2020_04_21.cpp
SoonchunhyangUniversity/CSE_Cpp_Summary
b94ab5280b3e2327e1adcffe2576046542fd8fd0
[ "MIT" ]
null
null
null
Practice/2020_04_21/2020_04_21.cpp
SoonchunhyangUniversity/CSE_Cpp_Summary
b94ab5280b3e2327e1adcffe2576046542fd8fd0
[ "MIT" ]
null
null
null
Practice/2020_04_21/2020_04_21.cpp
SoonchunhyangUniversity/CSE_Cpp_Summary
b94ab5280b3e2327e1adcffe2576046542fd8fd0
[ "MIT" ]
null
null
null
#include <iostream> #include "stdlib.h" int getInput(); void gugudan(int num); void printStudentInfo(); int main() { int num = getInput(); gugudan(num); printStudentInfo(); system("PAUSE"); return 0; } int getInput() { float userInput; do { std::cout << "2에서 9 사이의 값을 입력하세요 :"; std...
13.625
70
0.556575
SoonchunhyangUniversity
792d7eceec106ca30a8aaf75abfc5aa133df977b
777
cpp
C++
src/UpdraftPkg/Updraft/System/UefiSystem.cpp
ciffelia/Updraft
346230a52acf6a8d5b8e93625736e60a1dad8207
[ "MIT" ]
1
2022-01-06T12:55:09.000Z
2022-01-06T12:55:09.000Z
src/UpdraftPkg/Updraft/System/UefiSystem.cpp
ciffelia/Updraft
346230a52acf6a8d5b8e93625736e60a1dad8207
[ "MIT" ]
null
null
null
src/UpdraftPkg/Updraft/System/UefiSystem.cpp
ciffelia/Updraft
346230a52acf6a8d5b8e93625736e60a1dad8207
[ "MIT" ]
null
null
null
#include "UefiSystem.hpp" extern "C" { #include <Library/CpuLib.h> } #include "Assert.hpp" EFI_SYSTEM_TABLE *UefiSystem::s_SystemTable = nullptr; // ウォッチドッグタイマを解除 // これをやらないと起動後5分で再起動するらしい void UefiSystem::ReleaseWatchdogTimer() { const EFI_STATUS status = s_SystemTable->BootServices->SetWatchdogTimer(0, 0, 0, nu...
19.425
92
0.759331
ciffelia
7931a82582210a8abc69c426fc5e338608511690
1,257
cpp
C++
registry/base/tests/base.cpp
ArcticNature/core
bb63529a6deadc83e5adc3b772738ab6ca6ba18a
[ "BSD-3-Clause" ]
null
null
null
registry/base/tests/base.cpp
ArcticNature/core
bb63529a6deadc83e5adc3b772738ab6ca6ba18a
[ "BSD-3-Clause" ]
null
null
null
registry/base/tests/base.cpp
ArcticNature/core
bb63529a6deadc83e5adc3b772738ab6ca6ba18a
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2015 Stefano Pogliani <stefano@spogliani.net> #include <gtest/gtest.h> #include "core/exceptions/base.h" #include "core/registry/base.h" using sf::core::exception::DuplicateInjection; using sf::core::exception::FactoryNotFound; using sf::core::registry::Registry; typedef int*(*test_factory)(); typedef ...
22.446429
73
0.728719
ArcticNature
a6aa40fb0050893f44320fc239833d47fcfaec6d
1,950
cc
C++
util/tuple.test.cc
orlyatomics/orly
d413f999f51a8e553832dab4e3baa7ca68928840
[ "Apache-2.0" ]
69
2015-01-06T05:12:57.000Z
2021-11-06T20:34:10.000Z
util/tuple.test.cc
waderly/orly
9d7660ea9d07591f8cc6b1b92d8e6c3b8b78eeee
[ "Apache-2.0" ]
5
2015-07-09T02:21:50.000Z
2021-08-13T11:10:26.000Z
util/tuple.test.cc
waderly/orly
9d7660ea9d07591f8cc6b1b92d8e6c3b8b78eeee
[ "Apache-2.0" ]
15
2015-01-23T13:34:05.000Z
2020-06-15T16:46:50.000Z
/* <util/tuple.test.cc> Unit test for <util/tuple.h> Copyright 2010-2014 OrlyAtomics, Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICEN...
23.780488
75
0.652308
orlyatomics
a6b1bdaab0747ceef08a12213652cf41016ae620
2,410
hpp
C++
src/physics.hpp
kewin1983/transient-pipeline-flow
4ffe0b61d3d40d9bcb82a3743b2c2e403521835d
[ "MIT" ]
1
2021-03-26T03:30:07.000Z
2021-03-26T03:30:07.000Z
src/physics.hpp
kewin1983/transient-pipeline-flow
4ffe0b61d3d40d9bcb82a3743b2c2e403521835d
[ "MIT" ]
null
null
null
src/physics.hpp
kewin1983/transient-pipeline-flow
4ffe0b61d3d40d9bcb82a3743b2c2e403521835d
[ "MIT" ]
null
null
null
#pragma once #include <string> #include <memory> #include <armadillo> #include "heattransfer/heattransfer.hpp" #include "config.hpp" class Pipeline; class EquationOfState; /*! * \brief The Physics class combines EquationOfState and HeatTransfer to * calculate the new state of a pipeline given a new pressure, temp...
29.753086
97
0.667635
kewin1983
a6b66a750e17f3b97238a027a2777d29df6f400f
1,713
cpp
C++
firmware-latest/user/tests/wiring/api/eeprom.cpp
adeeshag/particle_project
0c2ab278cf902f97d2422c44c008978be58fe6b7
[ "Unlicense" ]
1
2019-02-24T07:13:51.000Z
2019-02-24T07:13:51.000Z
firmware-latest/user/tests/wiring/api/eeprom.cpp
adeeshag/particle_project
0c2ab278cf902f97d2422c44c008978be58fe6b7
[ "Unlicense" ]
1
2018-05-29T19:27:53.000Z
2018-05-29T19:27:53.000Z
firmware-latest/user/tests/wiring/api/eeprom.cpp
adeeshag/particle_project
0c2ab278cf902f97d2422c44c008978be58fe6b7
[ "Unlicense" ]
null
null
null
/** ****************************************************************************** * @file eeprom.cpp * @authors Matthew McGowan ****************************************************************************** Copyright (c) 2015 Particle Industries, Inc. All rights reserved. This library is free software; yo...
29.033898
81
0.611792
adeeshag
a6b67f949ec632f649815b674db2d20effba6ebd
4,239
hpp
C++
src/vaux.hpp
bjornbredesen/MOCCA
808d0ac9959797e2656e37a0ab8e3cac90d754a2
[ "MIT" ]
2
2020-11-20T09:57:04.000Z
2021-05-12T13:27:13.000Z
src/vaux.hpp
bjornbredesen/MOCCA
808d0ac9959797e2656e37a0ab8e3cac90d754a2
[ "MIT" ]
null
null
null
src/vaux.hpp
bjornbredesen/MOCCA
808d0ac9959797e2656e37a0ab8e3cac90d754a2
[ "MIT" ]
1
2021-12-18T10:43:15.000Z
2021-12-18T10:43:15.000Z
//////////////////////////////////////////////////////////////////////////////////// // MOCCA // Copyright, Bjørn Bredesen, 2019 // E-mail: bjorn@bjornbredesen.no //////////////////////////////////////////////////////////////////////////////////// // General #pragma once //////////////////////////////////////////////...
22.668449
157
0.541165
bjornbredesen
a6bb51f4a1883967d316edcfeffa0203a0e7a40b
640
cpp
C++
token.cpp
descent/simple_compiler
d6f6af97b173fea1a8fadd7429f9c5616e62410e
[ "MIT" ]
125
2016-10-06T10:23:30.000Z
2022-03-13T02:20:45.000Z
token.cpp
descent/simple_compiler
d6f6af97b173fea1a8fadd7429f9c5616e62410e
[ "MIT" ]
null
null
null
token.cpp
descent/simple_compiler
d6f6af97b173fea1a8fadd7429f9c5616e62410e
[ "MIT" ]
29
2016-12-13T15:00:18.000Z
2022-03-13T02:20:44.000Z
#include "token.h" Token::Token(const std::string str, ASTType ast_type) : str_(str), ast_type_(ast_type) { } Token invalid_token("invalid_token"); Token then_block("then_block", THEN_BLOCK); Token else_block("else_block", ELSE_BLOCK); Token g_var_token("g_var", GLOBAL_VAR); Token var_token("var", VAR); Token para_to...
30.47619
86
0.753125
descent
a6bc51fc5534d53570018490c4b1a75f8e2dbf31
9,878
cc
C++
src/rpc_impl/rpc_req.cc
nilyibo/eRPC
c9ec2c81672c45cca04a8bb2e0d7887c3e8cff32
[ "Apache-2.0" ]
1
2021-11-13T03:20:46.000Z
2021-11-13T03:20:46.000Z
src/rpc_impl/rpc_req.cc
nilyibo/eRPC
c9ec2c81672c45cca04a8bb2e0d7887c3e8cff32
[ "Apache-2.0" ]
null
null
null
src/rpc_impl/rpc_req.cc
nilyibo/eRPC
c9ec2c81672c45cca04a8bb2e0d7887c3e8cff32
[ "Apache-2.0" ]
null
null
null
#include <stdexcept> #include "rpc.h" namespace erpc { // The cont_etid parameter is passed only when the event loop processes the // background threads' queue of enqueue_request calls. template <class TTr> void Rpc<TTr>::enqueue_request(int session_num, uint8_t req_type, MsgBuffer *re...
38.585938
80
0.680097
nilyibo
a6bc7acffc8aee4536e51f4ff0da428194077211
12,869
hpp
C++
include/text_view_detail/codecs/utf8_codec.hpp
tahonermann/text_view-range-v3
e1cd441b23b370b3d365c5c06cf653d657289505
[ "MIT" ]
21
2017-01-29T17:23:49.000Z
2019-07-05T16:05:14.000Z
include/text_view_detail/codecs/utf8_codec.hpp
tahonermann/text_view-range-v3
e1cd441b23b370b3d365c5c06cf653d657289505
[ "MIT" ]
7
2017-01-08T04:21:49.000Z
2018-05-21T13:10:39.000Z
include/text_view_detail/codecs/utf8_codec.hpp
tahonermann/text_view-range-v3
e1cd441b23b370b3d365c5c06cf653d657289505
[ "MIT" ]
3
2017-01-30T21:58:29.000Z
2018-05-20T12:41:03.000Z
// Copyright (c) 2017, Tom Honermann // // This file is distributed under the MIT License. See the accompanying file // LICENSE.txt or http://www.opensource.org/licenses/mit-license.php for terms // and conditions. #if !defined(TEXT_VIEW_CODECS_UTF8_CODEC_HPP) // { #define TEXT_VIEW_CODECS_UTF8_CODEC_HPP #include <c...
33.167526
82
0.579765
tahonermann
a6c44e200c8ae0a8c8dcb68eca674a807ac96ffd
2,322
cpp
C++
templates/Sinewave/src/_TBOX_PREFIX_App.cpp
PetrosKataras/Cinder-PortAudio
681b77fa301e49f2e67d0d5a6b855b5d33766ff0
[ "BSD-2-Clause" ]
null
null
null
templates/Sinewave/src/_TBOX_PREFIX_App.cpp
PetrosKataras/Cinder-PortAudio
681b77fa301e49f2e67d0d5a6b855b5d33766ff0
[ "BSD-2-Clause" ]
null
null
null
templates/Sinewave/src/_TBOX_PREFIX_App.cpp
PetrosKataras/Cinder-PortAudio
681b77fa301e49f2e67d0d5a6b855b5d33766ff0
[ "BSD-2-Clause" ]
null
null
null
#include "cinder/app/App.h" #include "cinder/app/RendererGl.h" #include "cinder/gl/gl.h" #include "cinder/Log.h" #include "cinder/audio/audio.h" #include "cinder/audio/ContextPortAudio.h" #include "cinder/audio/DeviceManagerPortAudio.h" using namespace ci; using namespace ci::app; using namespace std; class _TBOX_PR...
29.025
159
0.644703
PetrosKataras
a6c6dda06f7c33d4717c92bddee11b33af5d25b7
3,154
cpp
C++
Source/AllProjects/CIDKernel/Linux/CIDKernel_Environment_Linux.cpp
eudora-jia/CIDLib
02795d283d95f8a5a4fafa401b6189851901b81b
[ "MIT" ]
1
2019-05-28T06:33:01.000Z
2019-05-28T06:33:01.000Z
Source/AllProjects/CIDKernel/Linux/CIDKernel_Environment_Linux.cpp
eudora-jia/CIDLib
02795d283d95f8a5a4fafa401b6189851901b81b
[ "MIT" ]
null
null
null
Source/AllProjects/CIDKernel/Linux/CIDKernel_Environment_Linux.cpp
eudora-jia/CIDLib
02795d283d95f8a5a4fafa401b6189851901b81b
[ "MIT" ]
null
null
null
// // FILE NAME: CIDKernel_Environment_Linux.Cpp // // AUTHOR: Will Mason // // CREATED: 12/09/1998 // // COPYRIGHT: Charmed Quark Systems, Ltd - 2019 // // This software is copyrighted by 'Charmed Quark Systems, Ltd' and // the author (Dean Roddey.) It is licensed under the MIT Open Source // license: // // http...
30.038095
85
0.514902
eudora-jia
a6d31f9137bf8980cf4c04a0789b0f50be3a77cf
3,760
cpp
C++
Shared/src/UTF8.cpp
scatterfish/unnamed-sdvx-clone
2e53cb168286af87d5e7e9e79197476d45529017
[ "MIT" ]
516
2016-12-07T09:46:27.000Z
2022-03-28T22:43:05.000Z
Shared/src/UTF8.cpp
scatterfish/unnamed-sdvx-clone
2e53cb168286af87d5e7e9e79197476d45529017
[ "MIT" ]
374
2017-10-13T00:14:07.000Z
2022-03-28T22:44:44.000Z
Shared/src/UTF8.cpp
scatterfish/unnamed-sdvx-clone
2e53cb168286af87d5e7e9e79197476d45529017
[ "MIT" ]
130
2017-10-13T00:14:29.000Z
2022-03-27T22:54:06.000Z
/* Copyright (c) 2009 SegFault aka "ErV" (altctrlbackspace.blogspot.com) Redistribution and use of this source code, with or without modification, is permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the foll...
24.415584
107
0.638032
scatterfish
a6d4ac6f950feabe05889aa2ffd03e0ddaa6e8cb
15,031
cpp
C++
src/bimocq3D/Mapping.cpp
ziyinq/Bimocq
39c6f5779a11d67d67c39138f0e254158d210068
[ "MIT" ]
343
2019-06-28T15:08:34.000Z
2022-01-03T04:54:47.000Z
src/bimocq3D/Mapping.cpp
lwkobe/Bimocq
39c6f5779a11d67d67c39138f0e254158d210068
[ "MIT" ]
5
2019-06-29T09:32:02.000Z
2019-11-08T23:10:02.000Z
src/bimocq3D/Mapping.cpp
lwkobe/Bimocq
39c6f5779a11d67d67c39138f0e254158d210068
[ "MIT" ]
69
2019-07-10T00:46:40.000Z
2021-02-25T09:06:21.000Z
// // Created by ziyin on 19-3-19. // #include "Mapping.h" void MapperBase::updateBackward(float cfldt, float dt) { // the backward mapping will be updated in gpu.x_in, gpu.y_in, gpu.z_in gpuSolver->copyHostToDevice(backward_x, gpuSolver->x_host, gpuSolver->x_in, _ni*_nj*_nk*sizeof(float)); gpuSolver->cop...
55.67037
121
0.681591
ziyinq
a6d683d55666ec69b31c06c684f9818677b62f58
4,072
cpp
C++
tests/AllegroFlare/ShaderTest.cpp
MarkOates/allegro_flare
b454cb85eb5e43d19c23c0c6fd2dc11b96666ce7
[ "MIT" ]
25
2015-03-30T02:02:43.000Z
2019-03-04T22:29:12.000Z
tests/AllegroFlare/ShaderTest.cpp
MarkOates/allegro_flare
b454cb85eb5e43d19c23c0c6fd2dc11b96666ce7
[ "MIT" ]
122
2015-04-01T08:15:26.000Z
2019-10-16T20:31:22.000Z
tests/AllegroFlare/ShaderTest.cpp
MarkOates/allegro_flare
b454cb85eb5e43d19c23c0c6fd2dc11b96666ce7
[ "MIT" ]
4
2016-09-02T12:14:09.000Z
2018-11-23T20:38:49.000Z
#include <gtest/gtest.h> #define ASSERT_THROW_WITH_MESSAGE(code, raised_exception_type, raised_exception_message) \ try { code; FAIL() << "Expected " # raised_exception_type; } \ catch ( raised_exception_type const &err ) { EXPECT_EQ(err.what(), std::string( raised_exception_message )); } \ catch (...) { FA...
28.475524
167
0.74165
MarkOates
a6e0c150680c676d76637c6c6c4fa8d4a79eb4d4
24,674
cpp
C++
src/MAX31341/MAX31341.cpp
MaximIntegrated/AnalogToolkit
b8276c8d7526fa13cb505350163384e1bb3e2337
[ "Apache-2.0" ]
1
2021-11-03T21:11:36.000Z
2021-11-03T21:11:36.000Z
src/MAX31341/MAX31341.cpp
MaximIntegrated/Analog_Toolkit_v2
b8276c8d7526fa13cb505350163384e1bb3e2337
[ "Apache-2.0" ]
null
null
null
src/MAX31341/MAX31341.cpp
MaximIntegrated/Analog_Toolkit_v2
b8276c8d7526fa13cb505350163384e1bb3e2337
[ "Apache-2.0" ]
1
2022-01-12T11:01:03.000Z
2022-01-12T11:01:03.000Z
/******************************************************************************* * Copyright (C) 2021 Maxim Integrated Products, Inc., All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal i...
24.381423
113
0.672651
MaximIntegrated
a6e418f22760ae38af14664f020f953038bf2396
4,272
cpp
C++
DemoFramework/FslDemoHost/Base/source/FslDemoHost/Base/Service/Graphics/Basic2D.cpp
alejandrolozano2/OpenGL_DemoFramework
5fd85f05c98cc3d0c0a68bac438035df8cabaee7
[ "MIT", "BSD-3-Clause" ]
3
2019-01-19T20:21:24.000Z
2021-08-10T02:11:32.000Z
DemoFramework/FslDemoHost/Base/source/FslDemoHost/Base/Service/Graphics/Basic2D.cpp
alejandrolozano2/OpenGL_DemoFramework
5fd85f05c98cc3d0c0a68bac438035df8cabaee7
[ "MIT", "BSD-3-Clause" ]
null
null
null
DemoFramework/FslDemoHost/Base/source/FslDemoHost/Base/Service/Graphics/Basic2D.cpp
alejandrolozano2/OpenGL_DemoFramework
5fd85f05c98cc3d0c0a68bac438035df8cabaee7
[ "MIT", "BSD-3-Clause" ]
1
2021-08-10T02:11:33.000Z
2021-08-10T02:11:33.000Z
/**************************************************************************************************************************************************** * Copyright (c) 2014 Freescale Semiconductor, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permi...
33.116279
149
0.66339
alejandrolozano2
a6e447226a15eb6bc4a07d304605c3b698758f36
930
cpp
C++
HDOJ/Budget.cpp
PIPIKAI/ACM
b8e4416a29c0619946c9b73b0fe5699b6e96e782
[ "MIT" ]
null
null
null
HDOJ/Budget.cpp
PIPIKAI/ACM
b8e4416a29c0619946c9b73b0fe5699b6e96e782
[ "MIT" ]
null
null
null
HDOJ/Budget.cpp
PIPIKAI/ACM
b8e4416a29c0619946c9b73b0fe5699b6e96e782
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; typedef long double ll; #define inf 1e9+7 #define ffr(i,a,b) for(int i=a;i<b;i++) #define mem(a,b) memset( a,b,sizeof a) #define Max(x,y) y>x?x=y:x=x const int maxn=1e3+7; int n,m; string s[maxn]; int main() { while(cin>>n){ int ans=0; for(int i=0;i<n;i...
22.142857
47
0.382796
PIPIKAI
a6e44f8776f53c110c686f856bfe71801ccea6bb
1,005
cpp
C++
examples/concurrent_ping_pong.cpp
nerikhman/agency
966ac59101f2fc3561a86b11874fbe8de361d0e4
[ "BSD-3-Clause" ]
129
2016-08-18T23:24:15.000Z
2022-03-25T12:06:05.000Z
examples/concurrent_ping_pong.cpp
nerikhman/agency
966ac59101f2fc3561a86b11874fbe8de361d0e4
[ "BSD-3-Clause" ]
86
2016-08-19T03:43:33.000Z
2020-07-20T14:27:41.000Z
examples/concurrent_ping_pong.cpp
nerikhman/agency
966ac59101f2fc3561a86b11874fbe8de361d0e4
[ "BSD-3-Clause" ]
23
2016-08-18T23:52:13.000Z
2022-02-28T16:28:20.000Z
#include <agency/agency.hpp> #include <mutex> #include <iostream> #include <thread> #include <cassert> int main() { int ball = 0; std::string names[2] = {"ping", "pong"}; std::mutex mut; // create two concurrent agents agency::bulk_invoke(agency::con(2), [&](agency::concurrent_agent& self) { auto name...
20.9375
73
0.555224
nerikhman
a6edce518a8333a6b443c966df05f52b37d2539d
5,599
hpp
C++
include/ext/util/scope_guard.hpp
extcpp/base
26b1384cbbd5cb3171e4cd22c8eb5f09ec0c5732
[ "MIT" ]
null
null
null
include/ext/util/scope_guard.hpp
extcpp/base
26b1384cbbd5cb3171e4cd22c8eb5f09ec0c5732
[ "MIT" ]
22
2019-10-15T20:47:02.000Z
2020-01-26T20:26:19.000Z
include/ext/util/scope_guard.hpp
extcpp/base
26b1384cbbd5cb3171e4cd22c8eb5f09ec0c5732
[ "MIT" ]
1
2020-09-24T08:53:15.000Z
2020-09-24T08:53:15.000Z
// Copyright - 2015-2020 - Jan Christoph Uhde <Jan@UhdeJC.com> // Please see LICENSE.md for license or visit https://github.com/extcpp/basics // idea taken form: // Andrei Alexandrescu - CppCon 2015 - Declarative Control Flow // https://github.com/CppCon/CppCon2015/blob/master/Presentations/Declarative%20Control%20Flo...
38.088435
175
0.658153
extcpp
a6f2169e414ab5beadd1252791d8c5c05526791b
401
cpp
C++
GameEngine/src/RenderSystem.cpp
ManFabv/BattleCitySFMLClone
d7deb02b1735b8e969ce84e90a3b48a987adf483
[ "MIT" ]
null
null
null
GameEngine/src/RenderSystem.cpp
ManFabv/BattleCitySFMLClone
d7deb02b1735b8e969ce84e90a3b48a987adf483
[ "MIT" ]
null
null
null
GameEngine/src/RenderSystem.cpp
ManFabv/BattleCitySFMLClone
d7deb02b1735b8e969ce84e90a3b48a987adf483
[ "MIT" ]
null
null
null
#include "GameEngine/RenderSystem.h" using namespace GameEngine::Systems; using namespace GameEngine::Components; void RenderSystem::Execute(entt::registry& scene_registry) { auto render_view = scene_registry.view<DrawableComponent>(); for (auto render_entity : render_view) { const DrawableComponent& sprite = r...
25.0625
86
0.785536
ManFabv
a6f29b932234c3e67d5f30dfa3218c908eec6c7f
1,067
cpp
C++
SmartTriangle_Server/src/ADHueAction.cpp
yinbaiyuan/ApeSmartTriangle2
de88ef5481b83d8794b60b14ddcaf28d0483c460
[ "BSD-2-Clause" ]
11
2020-10-13T05:39:09.000Z
2021-10-17T02:26:04.000Z
SmartTriangle_Server/src/ADHueAction.cpp
yinbaiyuan/ApeSmartTriangle2
de88ef5481b83d8794b60b14ddcaf28d0483c460
[ "BSD-2-Clause" ]
null
null
null
SmartTriangle_Server/src/ADHueAction.cpp
yinbaiyuan/ApeSmartTriangle2
de88ef5481b83d8794b60b14ddcaf28d0483c460
[ "BSD-2-Clause" ]
11
2020-11-19T11:48:05.000Z
2021-11-22T01:12:32.000Z
#include "ADHueAction.h" ADHueAction::ADHueAction(HueActionCallback func, uint8_t from, uint8_t to, uint32_t duration, uint32_t fps, bool autoDelete) : ADAction(NULL, 1000 / fps, duration / 1000...
26.675
110
0.48641
yinbaiyuan
a6f99acee4d0bde028169f075b852f3583227791
699
hpp
C++
src/libraries/json_parser_exceptions.hpp
koralkashri/cpp_decorator_components_usage_example
4d0822004e56740c0d8441f4ca4a6e26b73cde85
[ "MIT" ]
null
null
null
src/libraries/json_parser_exceptions.hpp
koralkashri/cpp_decorator_components_usage_example
4d0822004e56740c0d8441f4ca4a6e26b73cde85
[ "MIT" ]
null
null
null
src/libraries/json_parser_exceptions.hpp
koralkashri/cpp_decorator_components_usage_example
4d0822004e56740c0d8441f4ca4a6e26b73cde85
[ "MIT" ]
1
2021-03-30T12:56:59.000Z
2021-03-30T12:56:59.000Z
#ifndef CPP_DECORATOR_COMPONENTS_USAGE_EXAMPLE_SRC_LIBRARIES_JSON_PARSER_EXCEPTIONS_HPP #define CPP_DECORATOR_COMPONENTS_USAGE_EXAMPLE_SRC_LIBRARIES_JSON_PARSER_EXCEPTIONS_HPP #include <exception> namespace libraries::exceptions { class mission_name_not_found_in_analyzer_exception : public std::exception { public:...
31.772727
88
0.811159
koralkashri
a6fc4f5cd1815ffe2cc7357f4bf0a38ad5802c7e
7,076
hpp
C++
RubetekIOS-CPP.framework/Versions/A/Headers/libnet/dawn/net/tcp_client.hpp
yklishevich/RubetekIOS-CPP-releases
7dfbbb45b8de7dbb6fa995ff5dcbca4ec06c2bdb
[ "MIT" ]
null
null
null
RubetekIOS-CPP.framework/Versions/A/Headers/libnet/dawn/net/tcp_client.hpp
yklishevich/RubetekIOS-CPP-releases
7dfbbb45b8de7dbb6fa995ff5dcbca4ec06c2bdb
[ "MIT" ]
null
null
null
RubetekIOS-CPP.framework/Versions/A/Headers/libnet/dawn/net/tcp_client.hpp
yklishevich/RubetekIOS-CPP-releases
7dfbbb45b8de7dbb6fa995ff5dcbca4ec06c2bdb
[ "MIT" ]
null
null
null
#pragma once #include <msw/noncopyable.hpp> #include <msw/callback/event.hpp> #include <msw/asio/tcp_client.hpp> #include <msw/asio/priority_tcp_client.hpp> #include <msw/lexical_cast/network/to_string.hpp> #include <dawn/log/logger_io.hpp> #include <dawn/log/log_io_tags.hpp> namespace dawn { namespace net { ...
36.474227
100
0.497032
yklishevich
470404eff5c5da74469bd1361a024f13b4928e0b
355
cpp
C++
src/examples/03_module/06_vectors/main.cpp
acc-cosc-1337-spring-2020-hl/acc-cosc-1337-spring-2020-maticus13
42860c994e5c8296bc1bef8318802dc1bc7e2d4a
[ "MIT" ]
null
null
null
src/examples/03_module/06_vectors/main.cpp
acc-cosc-1337-spring-2020-hl/acc-cosc-1337-spring-2020-maticus13
42860c994e5c8296bc1bef8318802dc1bc7e2d4a
[ "MIT" ]
null
null
null
src/examples/03_module/06_vectors/main.cpp
acc-cosc-1337-spring-2020-hl/acc-cosc-1337-spring-2020-maticus13
42860c994e5c8296bc1bef8318802dc1bc7e2d4a
[ "MIT" ]
null
null
null
#include "vec.h" using std::vector; int main() { vector<int> nums{ 9, 10, 99, 5, 67}; loop_vector_w_index(nums); loop_vector_w_index_ref(nums); vector<int> num1; num1.push_back(9); vector<int> num2(5, 9); cout << num2.at(2) << "\n"; cout << num2.size() << "\n"; cout << num2.max_size() << "\n"; cout << nu...
17.75
37
0.594366
acc-cosc-1337-spring-2020-hl
4706bfa078fc1125ac5aa748a0a65dbf3c0974b1
17,278
hpp
C++
examples/15_pubworker/generated/src/PatientInformationClientBase.hpp
Ali-Nasrolahi/areg-sdk
4fbc2f2644220196004a31672a697a864755f0b6
[ "Apache-2.0" ]
70
2021-07-20T11:26:16.000Z
2022-03-27T11:17:43.000Z
examples/15_pubworker/generated/src/PatientInformationClientBase.hpp
Ali-Nasrolahi/areg-sdk
4fbc2f2644220196004a31672a697a864755f0b6
[ "Apache-2.0" ]
32
2021-07-31T05:20:44.000Z
2022-03-20T10:11:52.000Z
examples/15_pubworker/generated/src/PatientInformationClientBase.hpp
Ali-Nasrolahi/areg-sdk
4fbc2f2644220196004a31672a697a864755f0b6
[ "Apache-2.0" ]
40
2021-11-02T09:45:38.000Z
2022-03-27T11:17:46.000Z
////////////////////////////////////////////////////////////////////////// // Begin generate generated/src/PatientInformationClientBase.hpp file ////////////////////////////////////////////////////////////////////////// #pragma once /************************************************************************ * (c) copyr...
43.741772
132
0.540803
Ali-Nasrolahi
470ec98f7f83ebf3b595c33e5920cadb535c027c
2,516
hpp
C++
src/lib/statistics/attribute_statistics.hpp
Dencrash/hyrise
3169a81961f32f30b2ee12a0b73d992e99a9bdd4
[ "MIT" ]
null
null
null
src/lib/statistics/attribute_statistics.hpp
Dencrash/hyrise
3169a81961f32f30b2ee12a0b73d992e99a9bdd4
[ "MIT" ]
null
null
null
src/lib/statistics/attribute_statistics.hpp
Dencrash/hyrise
3169a81961f32f30b2ee12a0b73d992e99a9bdd4
[ "MIT" ]
null
null
null
#pragma once #include <iostream> #include <memory> #include "base_attribute_statistics.hpp" #include "statistics/statistics_objects/equal_distinct_count_histogram.hpp" #include "statistics/statistics_objects/generic_histogram.hpp" #include "statistics/statistics_objects/null_value_ratio_statistics.hpp" #include "type...
31.45
120
0.771065
Dencrash
4717a0db84ac2772dd6138a0636e02b7ed8a5b71
1,766
hpp
C++
include/h3api/H3Artifacts/H3ArtifactSetup.hpp
Patrulek/H3API
91f10de37c6b86f3160706c1fdf4792f927e9952
[ "MIT" ]
14
2020-09-07T21:49:26.000Z
2021-11-29T18:09:41.000Z
include/h3api/H3Artifacts/H3ArtifactSetup.hpp
Day-of-Reckoning/H3API
a82d3069ec7d5127b13528608d5350d2b80d57be
[ "MIT" ]
2
2021-02-12T15:52:31.000Z
2021-02-12T16:21:24.000Z
include/h3api/H3Artifacts/H3ArtifactSetup.hpp
Day-of-Reckoning/H3API
a82d3069ec7d5127b13528608d5350d2b80d57be
[ "MIT" ]
8
2021-02-12T15:52:41.000Z
2022-01-31T15:28:10.000Z
////////////////////////////////////////////////////////////////////// // // // Created by RoseKavalier: // // rosekavalierhc@gmail.com // // Created or last upda...
32.109091
70
0.459796
Patrulek
47242f6b9c87faf7562e58d1430f3c6ad3dc9548
4,327
cpp
C++
src/Door.cpp
WriterOfAlicrow/SOTE
79d320c36cc88f5ebb556c3e5506cd1e2a034cf6
[ "MIT" ]
null
null
null
src/Door.cpp
WriterOfAlicrow/SOTE
79d320c36cc88f5ebb556c3e5506cd1e2a034cf6
[ "MIT" ]
null
null
null
src/Door.cpp
WriterOfAlicrow/SOTE
79d320c36cc88f5ebb556c3e5506cd1e2a034cf6
[ "MIT" ]
null
null
null
#include "Door.h" #include "GameObjectData.h" #include "AngelScriptEngine.h" #ifdef USE_BOX2D_PHYSICS #include "Box2D/Box2D.h" #include "Box2DIntegration.h" #include "Box2DDebugDrawer.h" #include "PhysicsContactListener.h" #else #include "btBulletDynamicsCommon.h" #include "osgbCollision/Utils.h" #include "os...
30.907143
211
0.771666
WriterOfAlicrow
4726d8fff8645b135555ee7c95274fd938eb1af3
1,733
cpp
C++
samples/advanced/frame_detector.cpp
frank-qcd-qk/cepton_sdk_redist
bb77dad922fecc0f54a44889dac588674d10d384
[ "BSD-3-Clause" ]
23
2018-03-24T17:47:35.000Z
2021-11-02T01:12:36.000Z
samples/advanced/frame_detector.cpp
frank-qcd-qk/cepton_sdk_redist
bb77dad922fecc0f54a44889dac588674d10d384
[ "BSD-3-Clause" ]
24
2017-06-28T21:09:05.000Z
2022-01-03T19:44:03.000Z
samples/advanced/frame_detector.cpp
frank-qcd-qk/cepton_sdk_redist
bb77dad922fecc0f54a44889dac588674d10d384
[ "BSD-3-Clause" ]
13
2017-04-10T09:33:44.000Z
2022-02-16T16:02:21.000Z
/** * Sample code for custom frame detection. */ #include <cepton_sdk_api.hpp> int main(int argc, char **argv) { std::string capture_path; if (argc >= 2) capture_path = argv[1]; // Initialize auto options = cepton_sdk::create_options(); CEPTON_CHECK_ERROR(cepton_sdk::api::initialize(options, capture_path)...
33.980392
74
0.687825
frank-qcd-qk
4726ee1612458cd4c3726f5190c7d7fa69025f55
2,519
cpp
C++
dmengine/windowsystem/dmwidget.cpp
damao1222/dmengine
09ab62c043a520f8f6b15eb8790c7ee56c006931
[ "Apache-2.0" ]
null
null
null
dmengine/windowsystem/dmwidget.cpp
damao1222/dmengine
09ab62c043a520f8f6b15eb8790c7ee56c006931
[ "Apache-2.0" ]
null
null
null
dmengine/windowsystem/dmwidget.cpp
damao1222/dmengine
09ab62c043a520f8f6b15eb8790c7ee56c006931
[ "Apache-2.0" ]
null
null
null
/* Copyright (C) 2012-2014 Xiongfa Li, <damao1222@live.com> 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 ...
18.798507
75
0.639539
damao1222
47280a70f0efd4495af9db822e7cb47c55b1b8df
217
cpp
C++
src/coin-piles.cpp
SurajWarrier/cses-problem-set
6248468f526caef10b2d56d8d6ec71059799d60e
[ "MIT" ]
null
null
null
src/coin-piles.cpp
SurajWarrier/cses-problem-set
6248468f526caef10b2d56d8d6ec71059799d60e
[ "MIT" ]
null
null
null
src/coin-piles.cpp
SurajWarrier/cses-problem-set
6248468f526caef10b2d56d8d6ec71059799d60e
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; #define lli long long int int main() { lli t; cin >>t; while(t--) { lli a,b; cin >> a >> b; cout << ((a+b)%3==0 && a*2>=b && b*2>=a ? "YES" : "NO") << "\n"; } }
16.692308
66
0.479263
SurajWarrier
472cdcc0d69e2ff11bdd305a6f7ab40d0a4974b6
25,654
cpp
C++
TonkineseBandwidth.cpp
catid/tonk
e993c9b7d1bf14bd510739036e022cf24c3ecf3c
[ "BSD-3-Clause" ]
91
2018-09-14T12:35:50.000Z
2021-12-24T18:09:35.000Z
TonkineseBandwidth.cpp
catid/tonk
e993c9b7d1bf14bd510739036e022cf24c3ecf3c
[ "BSD-3-Clause" ]
6
2018-09-15T00:30:37.000Z
2018-09-18T17:58:22.000Z
TonkineseBandwidth.cpp
catid/tonk
e993c9b7d1bf14bd510739036e022cf24c3ecf3c
[ "BSD-3-Clause" ]
9
2018-09-14T14:04:16.000Z
2022-03-22T14:36:45.000Z
/** \file \brief Tonk Implementation: Bandwidth Control \copyright Copyright (c) 2017-2018 Christopher A. Taylor. 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 o...
32.889744
164
0.659702
catid
472d1b5ad9c1bc5639ecd023cd9d4b7c938fbb26
12,363
cpp
C++
Tools/QtBiomeVisualiser/BiomeView.cpp
wbrbr/MCServer
a7bbca30c560c581127f7b6c49ca427c3e96a1da
[ "Apache-2.0" ]
4,126
2015-06-12T21:56:49.000Z
2022-03-31T06:33:12.000Z
Tools/QtBiomeVisualiser/BiomeView.cpp
wbrbr/MCServer
a7bbca30c560c581127f7b6c49ca427c3e96a1da
[ "Apache-2.0" ]
2,931
2015-06-11T17:13:15.000Z
2022-03-31T22:46:31.000Z
Tools/QtBiomeVisualiser/BiomeView.cpp
wbrbr/MCServer
a7bbca30c560c581127f7b6c49ca427c3e96a1da
[ "Apache-2.0" ]
917
2015-06-11T21:47:41.000Z
2022-03-30T10:32:55.000Z
#include "Globals.h" #include "BiomeView.h" #include <QPainter> #include <QResizeEvent> #include "Region.h" static const int DELTA_STEP = 120; // The normal per-notch wheel delta /** Map for converting biome values to colors. Initialized from biomeColors[]. */ static uchar biomeToColor[256 * 4]; /** Map for...
22.356239
93
0.595487
wbrbr
472d3d7d907a8ac24d341695b475bdc412380a9e
3,582
cpp
C++
tests/test-yaml-parser.cpp
MOLAorg/mola-yaml
a20a8b5a76f6f41a0cee50e5ee59aa239cf49970
[ "BSD-3-Clause" ]
null
null
null
tests/test-yaml-parser.cpp
MOLAorg/mola-yaml
a20a8b5a76f6f41a0cee50e5ee59aa239cf49970
[ "BSD-3-Clause" ]
null
null
null
tests/test-yaml-parser.cpp
MOLAorg/mola-yaml
a20a8b5a76f6f41a0cee50e5ee59aa239cf49970
[ "BSD-3-Clause" ]
null
null
null
/* ------------------------------------------------------------------------- * A Modular Optimization framework for Localization and mApping (MOLA) * Copyright (C) 2018-2021 Jose Luis Blanco, University of Almeria * See LICENSE for license information. * ----------------------------------------------------------...
29.85
79
0.536851
MOLAorg
473274fedff37a0d854921995308c3a72180f5b2
7,170
hpp
C++
include/Copy/CopyTest2.hpp
tuddbresilience/coding_benchmark
f4bab7b57fcb57d98d94a4efc3b8adad2bad6767
[ "Apache-2.0" ]
null
null
null
include/Copy/CopyTest2.hpp
tuddbresilience/coding_benchmark
f4bab7b57fcb57d98d94a4efc3b8adad2bad6767
[ "Apache-2.0" ]
null
null
null
include/Copy/CopyTest2.hpp
tuddbresilience/coding_benchmark
f4bab7b57fcb57d98d94a4efc3b8adad2bad6767
[ "Apache-2.0" ]
null
null
null
// Copyright (c) 2016 Till Kolditz // // 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...
37.150259
106
0.545188
tuddbresilience
473471c1737dad1e47b95be59ab3f38afaf1f349
2,363
cpp
C++
Engine/Code/Engine/Game/GameSettings.cpp
cugone/Abrams2022
54efe5fdd7d2d9697f005ee45a171ecea68d0df8
[ "MIT" ]
null
null
null
Engine/Code/Engine/Game/GameSettings.cpp
cugone/Abrams2022
54efe5fdd7d2d9697f005ee45a171ecea68d0df8
[ "MIT" ]
20
2021-11-29T14:09:33.000Z
2022-03-26T20:12:44.000Z
Engine/Code/Engine/Game/GameSettings.cpp
cugone/Abrams2022
54efe5fdd7d2d9697f005ee45a171ecea68d0df8
[ "MIT" ]
null
null
null
#include "Engine/Game/GameSettings.hpp" #include "Engine/Core/Config.hpp" IntVector2 GameSettings::GetWindowResolution() const noexcept { return IntVector2{GetWindowWidth(), GetWindowHeight()}; } int GameSettings::GetWindowWidth() const noexcept { return m_windowWidth; } int GameSettings::GetWindowHeight() ...
24.873684
82
0.76132
cugone
47364ebcff74859d630605737e324047cf6236ae
969
cc
C++
cses/1077.cc
Ashindustry007/competitive-programming
2eabd3975c029d235abb7854569593d334acae2f
[ "WTFPL" ]
506
2018-08-22T10:30:38.000Z
2022-03-31T10:01:49.000Z
cses/1077.cc
Ashindustry007/competitive-programming
2eabd3975c029d235abb7854569593d334acae2f
[ "WTFPL" ]
13
2019-08-07T18:31:18.000Z
2020-12-15T21:54:41.000Z
cses/1077.cc
Ashindustry007/competitive-programming
2eabd3975c029d235abb7854569593d334acae2f
[ "WTFPL" ]
234
2018-08-06T17:11:41.000Z
2022-03-26T10:56:42.000Z
// https://cses.fi/problemset/task/1077/ #include <iostream> #include <vector> #include <ext/pb_ds/assoc_container.hpp> using namespace std; using namespace __gnu_pbds; typedef long long ll; typedef vector<int> vi; typedef tree<int, null_type, less_equal<int>, rb_tree_tag, tree_order_statistics_node_update> indexed_s...
28.5
106
0.526316
Ashindustry007
4737e904fc92592898d1962916ceaa01d7b8f2e9
8,198
hpp
C++
include/massociate/migrate.hpp
uofuseismo/massociate
18497a1f81d246f76b159da7f47fa3630caf39c5
[ "MIT" ]
1
2021-09-09T11:16:44.000Z
2021-09-09T11:16:44.000Z
include/massociate/migrate.hpp
uofuseismo/massociate
18497a1f81d246f76b159da7f47fa3630caf39c5
[ "MIT" ]
1
2020-07-17T21:51:33.000Z
2020-07-17T21:51:33.000Z
include/massociate/migrate.hpp
uofuseismo/massociate
18497a1f81d246f76b159da7f47fa3630caf39c5
[ "MIT" ]
1
2021-09-09T11:16:45.000Z
2021-09-09T11:16:45.000Z
#ifndef MASSOCIATE_MIGRATE_HPP #define MASSOCIATE_MIGRATE_HPP #include <memory> namespace MAssociate { class Pick; class MigrationParameters; /*! * @class Migrate "migrate.hpp" "massociate/migrate.hpp" * @brief This class migrates the differential pick times. * @copyright Ben Baker (University of Utah) distributed u...
35.184549
80
0.581483
uofuseismo
4741a10ad5c88b1dd4fedc95fc03c82bb1b41200
860
hpp
C++
include/cql/exceptions/cql_invalid_type_exception.hpp
ncbi/cassandra-cpp-driver
b2259e9b13849c98fc6b6485f2433c97c1fa4b9f
[ "Apache-2.0" ]
3
2016-02-24T09:22:16.000Z
2021-04-06T03:04:21.000Z
include/cql/exceptions/cql_invalid_type_exception.hpp
ncbi/cassandra-cpp-driver
b2259e9b13849c98fc6b6485f2433c97c1fa4b9f
[ "Apache-2.0" ]
null
null
null
include/cql/exceptions/cql_invalid_type_exception.hpp
ncbi/cassandra-cpp-driver
b2259e9b13849c98fc6b6485f2433c97c1fa4b9f
[ "Apache-2.0" ]
6
2015-04-26T07:16:44.000Z
2020-11-23T06:31:07.000Z
/* * File: cql_invalid_type_exception.hpp * Author: mc * * Created on September 16, 2013, 2:12 PM */ #ifndef CQL_INVALID_TYPE_EXCEPTION_HPP #define CQL_INVALID_TYPE_EXCEPTION_HPP #include <string> #include "cql/exceptions/cql_exception.hpp" namespace cql { class CQL_EXPORT cql_invalid_type_exception : p...
24.571429
89
0.67907
ncbi
474bc74f4b39c25fb4df878b036b08039ce4f697
101
cpp
C++
source/dummy-header-includes/types/system-dependent/signed-size-types.include.cpp
alf-p-steinbach/cppx-core-language
930351fe0df65e231e8e91998f1c94d345938107
[ "MIT" ]
3
2020-05-24T16:29:42.000Z
2021-09-10T13:33:15.000Z
source/dummy-header-includes/types/system-dependent/signed-size-types.include.cpp
alf-p-steinbach/cppx-core-language
930351fe0df65e231e8e91998f1c94d345938107
[ "MIT" ]
null
null
null
source/dummy-header-includes/types/system-dependent/signed-size-types.include.cpp
alf-p-steinbach/cppx-core-language
930351fe0df65e231e8e91998f1c94d345938107
[ "MIT" ]
null
null
null
#include <cppx-core-language/types/system-dependent/size-types.hpp> namespace{ int satisfy_linker; }
33.666667
67
0.80198
alf-p-steinbach
474cf9c7d0ff52e0f617564bce0d1b2d6b481e38
7,774
cpp
C++
src/client/ai/HeuristicAI.cpp
cbares/plt-grp5
2849bc14c6a7f9a59dc7389674703d5a4fe20b03
[ "MIT" ]
null
null
null
src/client/ai/HeuristicAI.cpp
cbares/plt-grp5
2849bc14c6a7f9a59dc7389674703d5a4fe20b03
[ "MIT" ]
null
null
null
src/client/ai/HeuristicAI.cpp
cbares/plt-grp5
2849bc14c6a7f9a59dc7389674703d5a4fe20b03
[ "MIT" ]
null
null
null
#include <ai/HeuristicAI.h> // Included from library shared_static #include "HeuristicAI.h" #include <iostream> #include <list> #include <iterator> #include <algorithm> #include <vector> using namespace client; using namespace state; namespace ai { ai::HeuristicAI::HeuristicAI(){ } client::CommandI...
34.39823
141
0.599949
cbares
475037a82e69f2baa873d9fd962379f9e26957f4
4,309
cpp
C++
varhandler.cpp
petergerasimov/SDP-Project
240f6cba51018c3a4d5ef793cdff17544c212b94
[ "MIT" ]
null
null
null
varhandler.cpp
petergerasimov/SDP-Project
240f6cba51018c3a4d5ef793cdff17544c212b94
[ "MIT" ]
null
null
null
varhandler.cpp
petergerasimov/SDP-Project
240f6cba51018c3a4d5ef793cdff17544c212b94
[ "MIT" ]
null
null
null
#include "varhandler.hpp" Variable::Variable(const std::string& name, size_t sz) { this->name = name; this->sz = sz; isArray = (sz > 1); if(isArray) { makeArray(sz); } else { makeVariable(); } } Variable::Variable(const Variable &rhs) { name = rhs.name; ...
19.949074
82
0.508935
petergerasimov
4751316dbd271910c0773c1392ac9834febca186
5,895
cpp
C++
srci/interp1q.cpp
erikedwards4/dsp
28880ede8ca715c2a5a9b596742070f9bda9830e
[ "BSD-3-Clause" ]
1
2020-08-26T09:22:40.000Z
2020-08-26T09:22:40.000Z
srci/interp1q.cpp
erikedwards4/dsp
28880ede8ca715c2a5a9b596742070f9bda9830e
[ "BSD-3-Clause" ]
null
null
null
srci/interp1q.cpp
erikedwards4/dsp
28880ede8ca715c2a5a9b596742070f9bda9830e
[ "BSD-3-Clause" ]
1
2021-10-05T13:50:32.000Z
2021-10-05T13:50:32.000Z
//Includes #include "interp1q.c" //Declarations const valarray<size_t> oktypes = {1u,2u,101u,102u}; const size_t I = 3u, O = 1u; int decreasing; //Description string descr; descr += "Vecs2vec function for 3 inputs (X,Y,Xi) and 1 output (Yi).\n"; descr += "Does quick (linear) interpolation from coords (X,Y) to (Xi,Yi)...
55.093458
152
0.579304
erikedwards4
475805a658330491be8d9425c72b85993ae88853
542
cpp
C++
old/practice/lesson7/adapter.cpp
Lyuminarskiy/oop
b8c6a4b1cf8905c8bbeea5aa80769b5519307654
[ "MIT" ]
3
2018-02-16T11:22:55.000Z
2018-03-23T14:10:33.000Z
old/practice/lesson7/adapter.cpp
OOP-course/OOP-course
b8c6a4b1cf8905c8bbeea5aa80769b5519307654
[ "MIT" ]
null
null
null
old/practice/lesson7/adapter.cpp
OOP-course/OOP-course
b8c6a4b1cf8905c8bbeea5aa80769b5519307654
[ "MIT" ]
1
2020-04-28T17:13:02.000Z
2020-04-28T17:13:02.000Z
// Адаптируемый класс A. struct ClassA { void operationA() {} }; // Адаптируемый класс B. struct ClassB { void operationB() {} }; // Интерфейс, которому адаптируются классы A и B. struct Target { virtual void operation() = 0; }; // Адаптер класса А. class AdapterA : public Target { ClassA classA; public: ...
13.219512
49
0.666052
Lyuminarskiy
e6ddf95e071e93b9971e0515c98b025e270cfd3e
5,903
cpp
C++
src/ScreenServer.cpp
RobinSinghNanda/Home-assistant-display
6f59104012c0956b54d4b55e190aa89941c2c1af
[ "MIT" ]
2
2020-10-23T19:53:56.000Z
2020-11-06T08:59:48.000Z
src/ScreenServer.cpp
RobinSinghNanda/Home-assistant-display
6f59104012c0956b54d4b55e190aa89941c2c1af
[ "MIT" ]
null
null
null
src/ScreenServer.cpp
RobinSinghNanda/Home-assistant-display
6f59104012c0956b54d4b55e190aa89941c2c1af
[ "MIT" ]
null
null
null
// Reads a screen image off the TFT and send it to a processing client sketch // over the serial port. Use a high baud rate, e.g. for an ESP8266: // Serial.begin(921600); // At 921600 baud a 320 x 240 image with 16 bit colour transfers can be sent to the // PC client in ~1.67s and 24 bit colour in ~2.5s which is close...
37.598726
107
0.57276
RobinSinghNanda
e6e73c0f1abaafad0003df160fe2fa0644776042
8,839
cpp
C++
gpo_text_panel.cpp
jlprieur/GpOrbit1
772821456b70d5078811d07a11a079809ffdb110
[ "MIT" ]
null
null
null
gpo_text_panel.cpp
jlprieur/GpOrbit1
772821456b70d5078811d07a11a079809ffdb110
[ "MIT" ]
null
null
null
gpo_text_panel.cpp
jlprieur/GpOrbit1
772821456b70d5078811d07a11a079809ffdb110
[ "MIT" ]
null
null
null
/**************************************************************************** * Name: gpo_text_panel.cpp * * JLP * Version 08/06/2015 ****************************************************************************/ #include "gpo_frame.h" #include "gpo_frame_id.h" #include "jlp_precession_dlg.h" // JLP_Precession_Dlg cl...
34.25969
79
0.567598
jlprieur
e6e8485c19d05234845809c3ac6392e0fbc6defd
266
cc
C++
project1/kernels/kernel_case7.cc
ChipsAhoyM/compiler_proj_final
eb616296e14115a57b2daa535e22e3e738bf05ba
[ "MIT" ]
1
2022-02-21T05:40:09.000Z
2022-02-21T05:40:09.000Z
project1/kernels/kernel_case7.cc
ChipsAhoyM/Compiler-Project-Spring-2020
eb616296e14115a57b2daa535e22e3e738bf05ba
[ "MIT" ]
null
null
null
project1/kernels/kernel_case7.cc
ChipsAhoyM/Compiler-Project-Spring-2020
eb616296e14115a57b2daa535e22e3e738bf05ba
[ "MIT" ]
null
null
null
//Produced at : Fri Jun 19 01:00:37 2020 #include "../run.h" void kernel_case7(float (&A)[32][16], float (&B)[16][32]) { for(int i = 0; i < 16; ++i){ for(int j = 0; j < 32; ++j){ B[i][j] = A[j][i]; } } } //Finished at : Fri Jun 19 01:00:37 2020
22.166667
59
0.5
ChipsAhoyM
e6e886c96f9c2734872fde80bc26609b414229e0
4,436
hpp
C++
include/Raft/ILog.hpp
rhymu8354/Raft
f1924f21726bc8b7f83beff25aa791dfaac0d7a0
[ "MIT" ]
8
2019-01-19T13:33:38.000Z
2022-03-19T14:23:42.000Z
include/Raft/ILog.hpp
rhymu8354/Raft
f1924f21726bc8b7f83beff25aa791dfaac0d7a0
[ "MIT" ]
null
null
null
include/Raft/ILog.hpp
rhymu8354/Raft
f1924f21726bc8b7f83beff25aa791dfaac0d7a0
[ "MIT" ]
null
null
null
#pragma once /** * @file ILog.hpp * * This module declares the Raft::ILog interface. * * © 2018-2020 by Richard Walters */ #include "LogEntry.hpp" #include <Json/Value.hpp> #include <stddef.h> #include <vector> namespace Raft { /** * This is the interface that a Server needs in order to access the l...
31.460993
79
0.549594
rhymu8354
e6e9bf3c950e255feca89d9a087753b30bbf0aa3
1,026,457
hpp
C++
rnn/src/network/seq_mnist/bilstm/W2A4/r_model_fw_bw.hpp
savannahcamp/RNN-PYNQ-1
0188d2492ceea12b90a90fbc28ffd777e5971471
[ "BSD-3-Clause" ]
1
2021-06-20T17:43:06.000Z
2021-06-20T17:43:06.000Z
rnn/src/network/seq_mnist/bilstm/W2A4/r_model_fw_bw.hpp
savannahcamp/RNN-PYNQ-1
0188d2492ceea12b90a90fbc28ffd777e5971471
[ "BSD-3-Clause" ]
null
null
null
rnn/src/network/seq_mnist/bilstm/W2A4/r_model_fw_bw.hpp
savannahcamp/RNN-PYNQ-1
0188d2492ceea12b90a90fbc28ffd777e5971471
[ "BSD-3-Clause" ]
1
2022-03-10T15:05:54.000Z
2022-03-10T15:05:54.000Z
#pragma once #define PE 1 #define SIMD_INPUT 8 #define SIMD_RECURRENT 32 #define NUMBER_OF_NEURONS 128 #define NUMBER_OF_NEURONS_TYPEWIDTH 9 #define HEIGHT_IN_PIX 32 #define HEIGHT_IN_PIX_TYPEWIDTH 7 #define NUMBER_OF_CLASSES 11 #define NUMBER_OF_CLASSES_TYPEWIDTH 8 #define MAX_NUMBER_COLUMNS_TEST_SET 224 #define MAX_N...
5.968606
61
0.498541
savannahcamp
e6eb3adac37e31712a6bb29de4bf1bf5d17c9f89
717
hpp
C++
test/mock/src/verification/production/production_synchronizer_mock.hpp
GeniusVentures/SuperGenius
ae43304f4a2475498ef56c971296175acb88d0ee
[ "MIT" ]
1
2021-07-10T21:25:03.000Z
2021-07-10T21:25:03.000Z
test/mock/src/verification/production/production_synchronizer_mock.hpp
GeniusVentures/SuperGenius
ae43304f4a2475498ef56c971296175acb88d0ee
[ "MIT" ]
null
null
null
test/mock/src/verification/production/production_synchronizer_mock.hpp
GeniusVentures/SuperGenius
ae43304f4a2475498ef56c971296175acb88d0ee
[ "MIT" ]
null
null
null
#ifndef SUPERGENIUS_TEST_MOCK_SRC_VERIFICATION_PRODUCTION_SYNCHRONIZER_MOCK_HPP #define SUPERGENIUS_TEST_MOCK_SRC_VERIFICATION_PRODUCTION_SYNCHRONIZER_MOCK_HPP #include "verification/production/production_synchronizer.hpp" #include <gmock/gmock.h> namespace sgns::verification { class ProductionSynchronizerMock ...
29.875
82
0.737796
GeniusVentures
e6f62274c1853bde7aa712f01d25d993e950ccdd
347
hpp
C++
Types/Units/Numerics/GpUnitsNumerics_SInt16.hpp
heimusharper/GpCore2
b3b443e8a06ae0121eeb23b93af747f1ce95e15a
[ "MIT" ]
null
null
null
Types/Units/Numerics/GpUnitsNumerics_SInt16.hpp
heimusharper/GpCore2
b3b443e8a06ae0121eeb23b93af747f1ce95e15a
[ "MIT" ]
1
2020-06-19T18:38:40.000Z
2020-06-19T18:38:40.000Z
Types/Units/Numerics/GpUnitsNumerics_SInt16.hpp
heimusharper/GpCore2
b3b443e8a06ae0121eeb23b93af747f1ce95e15a
[ "MIT" ]
6
2020-06-04T07:32:59.000Z
2021-05-17T15:41:30.000Z
#pragma once #include "../GpUnit.hpp" namespace GPlatform { class GpUnitType_NUMERIC_S_INT_16; using SInt16 = GpUnit<s_int_16, GpUnitType_NUMERIC_S_INT_16, std::ratio<1, 1>, decltype("s_int_16"_template_str)>; constexpr SInt16 operator"" _s_int_16 (const unsigned long long aValue) {return SInt16::SMake(...
24.785714
115
0.743516
heimusharper
e6fa64f07d0fe02cd749875e353087f330de5b01
1,513
cpp
C++
Cpufit/lm_fit.cpp
yongdengzhang/Gpufit
6e719585badff1c40488a1439fa04da1792e41b8
[ "MIT" ]
null
null
null
Cpufit/lm_fit.cpp
yongdengzhang/Gpufit
6e719585badff1c40488a1439fa04da1792e41b8
[ "MIT" ]
null
null
null
Cpufit/lm_fit.cpp
yongdengzhang/Gpufit
6e719585badff1c40488a1439fa04da1792e41b8
[ "MIT" ]
1
2019-06-18T15:13:27.000Z
2019-06-18T15:13:27.000Z
#include "lm_fit.h" #include <stdlib.h> #include <math.h> #include <algorithm> #include <utility> #include <vector> #include <numeric> LMFit::LMFit( float const * const data, float const * const weights, Info const & info, float const * const initial_parameters, int const * const parameters_to_fit,...
26.54386
75
0.656312
yongdengzhang
fc02aa94f6ff2475c536f48632a37733deeebb4f
756
cpp
C++
Intuit/Set_partition.cpp
pilipi-puu-puu/6companies30Days
9dd3e60f06a6e09483f64b79ccf918a6dd725239
[ "MIT" ]
3
2022-01-09T13:16:32.000Z
2022-01-25T15:23:44.000Z
Intuit/Set_partition.cpp
pilipi-puu-puu/6companies30Days
9dd3e60f06a6e09483f64b79ccf918a6dd725239
[ "MIT" ]
null
null
null
Intuit/Set_partition.cpp
pilipi-puu-puu/6companies30Days
9dd3e60f06a6e09483f64b79ccf918a6dd725239
[ "MIT" ]
1
2022-01-08T09:47:13.000Z
2022-01-08T09:47:13.000Z
#include<bits/stdc++.h> using namespace std; int findMinRec(int arr[], int i, int sumCalculated, int sumTotal) { if (i == 0) return abs((sumTotal - sumCalculated) - sumCalculated); return min( findMinRec(arr, i - 1, sumCalculated + arr[i - 1], sumTota...
26.068966
64
0.529101
pilipi-puu-puu
fc0656c84065c36e70ce3c146ba218a1e55b1c14
366
hpp
C++
src/graphics/ID2DRenderTargetProvider.hpp
TobiasNienhaus/npp
ff6023ad5c160240cbaa029dce065b2cdf58ae74
[ "MIT" ]
null
null
null
src/graphics/ID2DRenderTargetProvider.hpp
TobiasNienhaus/npp
ff6023ad5c160240cbaa029dce065b2cdf58ae74
[ "MIT" ]
null
null
null
src/graphics/ID2DRenderTargetProvider.hpp
TobiasNienhaus/npp
ff6023ad5c160240cbaa029dce065b2cdf58ae74
[ "MIT" ]
null
null
null
// // Created by Tobias on 1/18/2021. // #ifndef NPP_ID2DRENDERTARGETPROVIDER_HPP #define NPP_ID2DRENDERTARGETPROVIDER_HPP #include "../util/win_headers.hpp" #include "../util/d2d_headers.hpp" class ID2DRenderTargetProvider { public: virtual HRESULT get_d2d_render_target(ID2D1Factory *, ID2D1RenderTarget **) = 0; }...
21.529412
81
0.784153
TobiasNienhaus
fc076bfb7b5e01a89abbe290ac627e18491cba78
1,621
hpp
C++
source/magma/vulkan/shadows.hpp
Breush/lava
1b1b1f0785300b93b4a9f35fca4490502fea6552
[ "MIT" ]
15
2018-02-26T08:20:03.000Z
2022-03-06T03:25:46.000Z
source/magma/vulkan/shadows.hpp
Breush/lava
1b1b1f0785300b93b4a9f35fca4490502fea6552
[ "MIT" ]
32
2018-02-26T08:26:38.000Z
2020-09-12T17:09:38.000Z
source/magma/vulkan/shadows.hpp
Breush/lava
1b1b1f0785300b93b4a9f35fca4490502fea6552
[ "MIT" ]
null
null
null
#pragma once #include <lava/magma/ubos.hpp> // SHADOWS_CASCADES_COUNT #include "./holders/ubo-holder.hpp" #include "../aft-vulkan/config.hpp" namespace lava::magma { class Scene; class Light; class Camera; } namespace lava::magma { /** * Holds the data needed to bind shadows to a pipeline. ...
29.472727
117
0.659469
Breush
fc08f59159931b71807bc9cd17bf7ee722c79be5
575
cpp
C++
01. Basic Syntax/Basic Syntax/02. Product Sign/02. ProductSign.cpp
lubomirv999/CPlusPlus-Fundamentals
e370546c819635132478943f658e26bbc4604c8f
[ "MIT" ]
1
2019-01-11T11:50:42.000Z
2019-01-11T11:50:42.000Z
01. Basic Syntax/Basic Syntax/02. Product Sign/02. ProductSign.cpp
lubomirv999/CPlusPlus-Fundamentals
e370546c819635132478943f658e26bbc4604c8f
[ "MIT" ]
null
null
null
01. Basic Syntax/Basic Syntax/02. Product Sign/02. ProductSign.cpp
lubomirv999/CPlusPlus-Fundamentals
e370546c819635132478943f658e26bbc4604c8f
[ "MIT" ]
null
null
null
#include "stdafx.h" #include <iostream> #include <iomanip> #include <string> #include <math.h> #include <cmath> using namespace std; int main() { int negativeNumbersCount = 0; double firstNum, secondNum, thirdNum; cin >> firstNum >> secondNum >> thirdNum; if (firstNum == 0 || secondNum == 0 || thirdNum == 0) { ...
15.540541
54
0.634783
lubomirv999