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
759436e4aa9e965e3d2b9d7354943512eeef6084
19,473
cpp
C++
hydra_drv/CPUExp_GBuffer.cpp
ipa4lov/HydraCore
2223b15b3a5f315dfb7ce947f10365dc3b00c9a7
[ "MIT" ]
null
null
null
hydra_drv/CPUExp_GBuffer.cpp
ipa4lov/HydraCore
2223b15b3a5f315dfb7ce947f10365dc3b00c9a7
[ "MIT" ]
null
null
null
hydra_drv/CPUExp_GBuffer.cpp
ipa4lov/HydraCore
2223b15b3a5f315dfb7ce947f10365dc3b00c9a7
[ "MIT" ]
null
null
null
#include <omp.h> #include "CPUExp_Integrators.h" #include "ctrace.h" #include <cmath> #include <algorithm> #include <unordered_map> //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// ///////////////////////////...
28.386297
156
0.599497
ipa4lov
759c269a242677b075afe5c641ecfa0b947ef3c7
1,241
hpp
C++
firmware/common.hpp
prototypicall/Didge
8fa59816286a575c28f201cbd2113bb64574e99b
[ "MIT" ]
10
2020-10-05T08:45:03.000Z
2022-03-17T12:18:06.000Z
firmware/common.hpp
prototypicall/Didge
8fa59816286a575c28f201cbd2113bb64574e99b
[ "MIT" ]
4
2020-10-05T17:05:59.000Z
2021-03-13T08:07:37.000Z
firmware/common.hpp
prototypicall/Didge
8fa59816286a575c28f201cbd2113bb64574e99b
[ "MIT" ]
2
2021-02-11T21:11:38.000Z
2022-03-07T08:38:50.000Z
#pragma once #include <optional> namespace util { template <typename PodType> class cached_value { volatile PodType master{}; std::optional<PodType> copy{}; public: cached_value& operator= (PodType new_value) { master = new_value; return *this; } template ...
25.854167
82
0.651894
prototypicall
759d5abfdd95249c8d3ec8d968ca51ca1b99bed0
1,110
cpp
C++
Progs/Ch07/Stakaray.cpp
singhnir/C-Plus-Plus-Robert-Lafore
7ce3c92d15958e157484fc989632b879360103aa
[ "MIT" ]
4
2021-02-24T06:53:51.000Z
2022-02-18T11:15:19.000Z
Progs/Ch07/Stakaray.cpp
singhnir/C-Plus-Plus-Robert-Lafore
7ce3c92d15958e157484fc989632b879360103aa
[ "MIT" ]
null
null
null
Progs/Ch07/Stakaray.cpp
singhnir/C-Plus-Plus-Robert-Lafore
7ce3c92d15958e157484fc989632b879360103aa
[ "MIT" ]
4
2021-02-24T07:05:43.000Z
2022-03-09T17:45:32.000Z
// stakaray.cpp // a stack as a class #include <iostream> using namespace std; //////////////////////////////////////////////////////////////// class Stack { private: enum { MAX = 10 }; //(non-standard syntax) int st[MAX]; //stack: array of integers int top; ...
29.210526
65
0.374775
singhnir
759d8a1c134e4313bb502b6b7fe4df242e3e74af
503
cpp
C++
x_track/Vendor/hisilicon/hardware/HAL_IMU.cpp
liushiwei/lv_port_linux_frame_buffer
17b822a68f8390df1e3b2c09319899c9c61dd72d
[ "MIT" ]
null
null
null
x_track/Vendor/hisilicon/hardware/HAL_IMU.cpp
liushiwei/lv_port_linux_frame_buffer
17b822a68f8390df1e3b2c09319899c9c61dd72d
[ "MIT" ]
null
null
null
x_track/Vendor/hisilicon/hardware/HAL_IMU.cpp
liushiwei/lv_port_linux_frame_buffer
17b822a68f8390df1e3b2c09319899c9c61dd72d
[ "MIT" ]
null
null
null
#include "HAL.h" #include <stdlib.h> #include "Common/DataProc/DataProc.h" void HAL::IMU_Init() { } void HAL::IMU_Update() { static int16_t steps; steps++; if (steps > 9999) { steps = 0; } IMU_Info_t imu; imu.steps = steps; imu.ax = rand() % 1000 - 500; imu.ay = rand() % ...
16.766667
37
0.536779
liushiwei
759fbffcb110e46d34182c72605c45e895b8547a
31,947
cpp
C++
src/utilcode/appxutil.cpp
danmosemsft/coreclr
04a3d11e4eecec2a4b7dcc81ab1575a57e30e3e2
[ "MIT" ]
1
2019-04-14T16:52:47.000Z
2019-04-14T16:52:47.000Z
src/utilcode/appxutil.cpp
danmosemsft/coreclr
04a3d11e4eecec2a4b7dcc81ab1575a57e30e3e2
[ "MIT" ]
null
null
null
src/utilcode/appxutil.cpp
danmosemsft/coreclr
04a3d11e4eecec2a4b7dcc81ab1575a57e30e3e2
[ "MIT" ]
1
2019-11-12T01:26:39.000Z
2019-11-12T01:26:39.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. // #include "stdafx.h" #include <strsafe.h> #include "utilcode.h" #include "holder.h" #include "volatile.h" #incl...
36.67853
214
0.588162
danmosemsft
b5ae881d7e1dd7d0ff6f77f4098cd54780562696
2,616
cpp
C++
openbr/plugins/cuda/cudargb2grayscale.cpp
wittayaatt/openbr
26cb128f740f46b7c18b346e2bcf2af7a8de29da
[ "Apache-2.0" ]
1,883
2015-01-04T07:04:24.000Z
2022-03-30T13:33:37.000Z
openbr/plugins/cuda/cudargb2grayscale.cpp
wittayaatt/openbr
26cb128f740f46b7c18b346e2bcf2af7a8de29da
[ "Apache-2.0" ]
272
2015-01-02T09:53:20.000Z
2022-03-29T08:04:33.000Z
openbr/plugins/cuda/cudargb2grayscale.cpp
wittayaatt/openbr
26cb128f740f46b7c18b346e2bcf2af7a8de29da
[ "Apache-2.0" ]
718
2015-01-02T18:51:07.000Z
2022-03-29T08:10:53.000Z
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * Copyright 2016 Li Li, Colin Heinzmann * * * * Licensed under the Apache License, Version 2.0 (the "License"); * * y...
36.333333
92
0.530581
wittayaatt
b5aedafe62a742e625573d24faf73afd3c65a0fc
5,642
cpp
C++
src/AnalyzerNode.cpp
nsdrozario/guitar-amp
bd11d613e11893632d51807fb4b7b08a348d3528
[ "MIT" ]
null
null
null
src/AnalyzerNode.cpp
nsdrozario/guitar-amp
bd11d613e11893632d51807fb4b7b08a348d3528
[ "MIT" ]
6
2021-07-06T23:21:30.000Z
2021-08-15T03:26:27.000Z
src/AnalyzerNode.cpp
nsdrozario/guitar-amp
bd11d613e11893632d51807fb4b7b08a348d3528
[ "MIT" ]
null
null
null
#include <AnalyzerNode.hpp> #include <implot.h> #include <iostream> using namespace guitar_amp; AnalyzerNode::AnalyzerNode(int id, const AudioInfo current_audio_info) : MiddleNode(id, current_audio_info) { this->internal_fft.init(fftconvolver::NextPowerOf2(device.capture.internalPeriodSizeInFrames)); this->fft...
41.485294
308
0.635236
nsdrozario
b5b1c1a6a7c1f1d036d32499f8dccd0556e64017
10,253
cpp
C++
tinker/profiler.cpp
BSVino/ViewbackMonitor
b18b13fc5417f723d5616928097bf70bf54797cc
[ "BSD-4-Clause" ]
5
2015-07-03T18:42:32.000Z
2017-08-25T10:28:12.000Z
tinker/profiler.cpp
BSVino/ViewbackMonitor
b18b13fc5417f723d5616928097bf70bf54797cc
[ "BSD-4-Clause" ]
null
null
null
tinker/profiler.cpp
BSVino/ViewbackMonitor
b18b13fc5417f723d5616928097bf70bf54797cc
[ "BSD-4-Clause" ]
null
null
null
/* Copyright (c) 2012, Lunar Workshop, Inc. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. R...
29.045326
205
0.719107
BSVino
b5ba31b7ffc9a5f43cca6dec4d0ad52b12887505
166
cpp
C++
conditionals_and_loop/the_if_statement.cpp
foxx3r/learn_cpp
ac729f7ec8b093f2df481eb5205e2b1c8eefffd2
[ "BSD-3-Clause" ]
2
2020-08-31T22:30:22.000Z
2021-05-21T01:49:41.000Z
conditionals_and_loop/the_if_statement.cpp
foxx3r/learn_cpp
ac729f7ec8b093f2df481eb5205e2b1c8eefffd2
[ "BSD-3-Clause" ]
null
null
null
conditionals_and_loop/the_if_statement.cpp
foxx3r/learn_cpp
ac729f7ec8b093f2df481eb5205e2b1c8eefffd2
[ "BSD-3-Clause" ]
1
2021-05-21T01:49:43.000Z
2021-05-21T01:49:43.000Z
#include <iostream> using namespace std; int main() { int a = 55; int b = 33; if (a > b) { cout << "a is greater than b"; } return 0; }
11.857143
38
0.487952
foxx3r
b5bdd181a832c7fa5fbaa45713438cbf41bbb7d4
1,043
cpp
C++
tests/src/TestGUID.cpp
davidstl/braincloud-cpp
f4a0822cacbd5d836972c8c764c10b9cfe7ee307
[ "Apache-2.0" ]
null
null
null
tests/src/TestGUID.cpp
davidstl/braincloud-cpp
f4a0822cacbd5d836972c8c764c10b9cfe7ee307
[ "Apache-2.0" ]
20
2018-01-11T22:18:50.000Z
2020-12-09T13:41:22.000Z
tests/src/TestGUID.cpp
davidstl/braincloud-cpp
f4a0822cacbd5d836972c8c764c10b9cfe7ee307
[ "Apache-2.0" ]
16
2018-01-09T16:01:36.000Z
2022-03-15T00:51:59.000Z
#include "TestGUID.h" #include <braincloud/internal/GUID.h> void validateGUID(const std::string& guid) { int count = 0; for (auto c : guid) { if (c == '-') continue; if ((c >= '0' && c <= '9') || (c >= 'A' && c <= 'F') || (c >= 'a' && c <= 'f')) { ...
21.729167
44
0.534995
davidstl
b5c521878b28741e787696284466702c36e32f06
10,366
cpp
C++
Assignments/Assignment 2/Solutions/classes.cpp
JamesMarino/CSCI204
17b2c44252d1be40214831c6e7e0c2b71848f500
[ "MIT" ]
null
null
null
Assignments/Assignment 2/Solutions/classes.cpp
JamesMarino/CSCI204
17b2c44252d1be40214831c6e7e0c2b71848f500
[ "MIT" ]
null
null
null
Assignments/Assignment 2/Solutions/classes.cpp
JamesMarino/CSCI204
17b2c44252d1be40214831c6e7e0c2b71848f500
[ "MIT" ]
null
null
null
/*------------------------------------------------------ Student's Name: James Marino Student's email address: jm617@uow.edu.au Laboratory group: CL/03 Friday 15:30 Purpose of this assignment: - Simulate a championship tournament using an object oriented model as in UML diagram in specification ----------------...
22.244635
100
0.622419
JamesMarino
b5c9595b31bdb1a0a0bb1dee04f717437de37829
1,412
cpp
C++
src/P12218319/core/RandomiserXorshiftPlus.cpp
p12218319/Core
261b7cbe762eb91183a44a868fdb44e6a0756f50
[ "Apache-2.0" ]
null
null
null
src/P12218319/core/RandomiserXorshiftPlus.cpp
p12218319/Core
261b7cbe762eb91183a44a868fdb44e6a0756f50
[ "Apache-2.0" ]
null
null
null
src/P12218319/core/RandomiserXorshiftPlus.cpp
p12218319/Core
261b7cbe762eb91183a44a868fdb44e6a0756f50
[ "Apache-2.0" ]
null
null
null
/* Copyright 2016 Adam Smith - P12218319 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 ...
26.148148
75
0.711756
p12218319
b5c9894d3ad89e40d14d3b2a3a30b3d78e07b714
2,026
cpp
C++
common/tests/PionCounterTests.cpp
marshallmcmullen/pion
7dcbe769e7076f5cc983bb4a5b5d2bc83cadb3a2
[ "BSL-1.0" ]
null
null
null
common/tests/PionCounterTests.cpp
marshallmcmullen/pion
7dcbe769e7076f5cc983bb4a5b5d2bc83cadb3a2
[ "BSL-1.0" ]
null
null
null
common/tests/PionCounterTests.cpp
marshallmcmullen/pion
7dcbe769e7076f5cc983bb4a5b5d2bc83cadb3a2
[ "BSL-1.0" ]
null
null
null
// ----------------------------------------------------------------------- // pion-common: a collection of common libraries used by the Pion Platform // ----------------------------------------------------------------------- // Copyright (C) 2007-2008 Atomic Labs, Inc. (http://www.atomiclabs.com) // // Distributed und...
24.707317
74
0.722606
marshallmcmullen
b5cc4eb75634be57bb105f199b685b896c5199cb
11,594
cc
C++
src/bit-querier.cc
richardxx/pestrie
a67c6a0fb707a4f1f6675a15cba9dcf16809e146
[ "BSD-3-Clause" ]
2
2015-08-26T11:13:25.000Z
2015-11-07T05:29:07.000Z
src/bit-querier.cc
richardxx/pestrie
a67c6a0fb707a4f1f6675a15cba9dcf16809e146
[ "BSD-3-Clause" ]
null
null
null
src/bit-querier.cc
richardxx/pestrie
a67c6a0fb707a4f1f6675a15cba9dcf16809e146
[ "BSD-3-Clause" ]
1
2019-07-18T09:57:58.000Z
2019-07-18T09:57:58.000Z
// Copyright 2014, Hong Kong University of Science and Technology. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. /* * The querying system for the sparse bitmap points-to/side-effect index. * * by Xiao Xiao, * initial: 2011.9 * enhancem...
22.296154
87
0.604019
richardxx
b5d29fbb89b2dd55d89702a702f6f77a5523a5d0
15,891
hpp
C++
include/crab/common/types.hpp
aziem/crab
e150afd53d6fe49cefaade389542b3f3cfe9dbe5
[ "Apache-2.0" ]
null
null
null
include/crab/common/types.hpp
aziem/crab
e150afd53d6fe49cefaade389542b3f3cfe9dbe5
[ "Apache-2.0" ]
null
null
null
include/crab/common/types.hpp
aziem/crab
e150afd53d6fe49cefaade389542b3f3cfe9dbe5
[ "Apache-2.0" ]
null
null
null
#pragma once #include <iosfwd> #include <stdarg.h> #include <boost/shared_ptr.hpp> #include <boost/make_shared.hpp> #include <boost/optional.hpp> #include <boost/noncopyable.hpp> /* Basic type definitions */ namespace crab { // An adaptor for std::ostream that avoids polluting all crab header // files with i...
25.965686
99
0.589327
aziem
b5dac8efb276fab1a64e7f27495aab31a1db41f6
694
hpp
C++
src/compilation_db/api/cdb_database.hpp
lpea/cppinclude
dc126c6057d2fe30569e6e86f66d2c8eebb50212
[ "MIT" ]
177
2020-08-24T19:20:35.000Z
2022-03-27T01:58:04.000Z
src/compilation_db/api/cdb_database.hpp
lpea/cppinclude
dc126c6057d2fe30569e6e86f66d2c8eebb50212
[ "MIT" ]
15
2020-08-30T17:59:42.000Z
2022-01-12T11:14:10.000Z
src/compilation_db/api/cdb_database.hpp
lpea/cppinclude
dc126c6057d2fe30569e6e86f66d2c8eebb50212
[ "MIT" ]
11
2020-09-17T23:31:10.000Z
2022-03-04T13:15:21.000Z
#pragma once #include <stdfwd/size_t> #include <stdfwd/string_view> //------------------------------------------------------------------------------ namespace compilation_db { class CommandObject; //------------------------------------------------------------------------------ class Database { public: using Index...
21.030303
80
0.475504
lpea
b5dea638c9262fbb643b4f2c9960c81ed5d29eda
804
hpp
C++
test/integration/executor/account_detail_checker.hpp
akshatkarani/iroha
5acef9dd74720c6185360d951e9b11be4ef73260
[ "Apache-2.0" ]
1,467
2016-10-25T12:27:19.000Z
2022-03-28T04:32:05.000Z
test/integration/executor/account_detail_checker.hpp
akshatkarani/iroha
5acef9dd74720c6185360d951e9b11be4ef73260
[ "Apache-2.0" ]
2,366
2016-10-25T10:07:57.000Z
2022-03-31T22:03:24.000Z
test/integration/executor/account_detail_checker.hpp
akshatkarani/iroha
5acef9dd74720c6185360d951e9b11be4ef73260
[ "Apache-2.0" ]
662
2016-10-26T04:41:22.000Z
2022-03-31T04:15:02.000Z
/** * Copyright Soramitsu Co., Ltd. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0 */ #ifndef TEST_ACCOUNT_DETAIL_CHECKER_HPP #define TEST_ACCOUNT_DETAIL_CHECKER_HPP #include <map> #include "interfaces/common_objects/types.hpp" namespace executor_testing { // account details, {writer -> {key -> val...
29.777778
72
0.7301
akshatkarani
b5e0a3b39d2eea12f9069e73cd470b91ffb1d423
8,298
cpp
C++
src/Machine.cpp
vntk/dongdu
31d70458b66615432b6ec47d0e46c4dd5677673c
[ "MIT" ]
6
2016-09-30T03:27:09.000Z
2020-06-07T14:15:40.000Z
src/Machine.cpp
vntk/dongdu
31d70458b66615432b6ec47d0e46c4dd5677673c
[ "MIT" ]
4
2016-09-15T21:00:14.000Z
2016-10-09T09:43:54.000Z
src/Machine.cpp
vntk/dongdu
31d70458b66615432b6ec47d0e46c4dd5677673c
[ "MIT" ]
5
2017-06-16T12:45:57.000Z
2019-08-07T11:34:20.000Z
#include "Machine.h" namespace std { /* return number of bytes of a UTF8 char */ size_t Machine::getByteOfUTF8(unsigned char c) { if (c <= 0x7F) { return 1; } else if (0xC2 <= c && c <= 0xDF){ return 2; } else if (0xE0 <= c && c <= 0xEF){ return 3; } else if (0xF0 <= c && c <= 0xF7){ return 4...
25.690402
104
0.596168
vntk
b5e1ebc4194b7d39c12a82dcde30f5bfb6876452
1,851
cpp
C++
src/function/scalar/string/instr.cpp
edalmeida/duckdb
04859b8ebea095dc562050ccf9cfbf6311b9b99c
[ "MIT" ]
null
null
null
src/function/scalar/string/instr.cpp
edalmeida/duckdb
04859b8ebea095dc562050ccf9cfbf6311b9b99c
[ "MIT" ]
null
null
null
src/function/scalar/string/instr.cpp
edalmeida/duckdb
04859b8ebea095dc562050ccf9cfbf6311b9b99c
[ "MIT" ]
null
null
null
#include "duckdb/function/scalar/string_functions.hpp" #include "duckdb/common/exception.hpp" #include "duckdb/common/vector_operations/vector_operations.hpp" #include "duckdb/common/vector_operations/unary_executor.hpp" #include <string.h> #include <ctype.h> using namespace std; namespace duckdb { static int64_t ...
31.372881
115
0.684495
edalmeida
b5e50071c65fb455e1d4c0c2090b6d899f4454f5
2,693
cpp
C++
IL2CPP/Il2CppOutputProject/IL2CPP/libil2cpp/os/c-api/tests/ProcessTests.cpp
dngoins/AutographTheWorld-MR
24e567c8030b73a6942e25b36b7370667c649b90
[ "MIT" ]
16
2018-10-13T12:29:06.000Z
2022-02-25T14:56:47.000Z
IL2CPP/Il2CppOutputProject/IL2CPP/libil2cpp/os/c-api/tests/ProcessTests.cpp
dngoins/AutographTheWorld-MR
24e567c8030b73a6942e25b36b7370667c649b90
[ "MIT" ]
8
2020-03-10T23:11:09.000Z
2020-03-14T01:19:32.000Z
IL2CPP/Il2CppOutputProject/IL2CPP/libil2cpp/os/c-api/tests/ProcessTests.cpp
dngoins/AutographTheWorld-MR
24e567c8030b73a6942e25b36b7370667c649b90
[ "MIT" ]
7
2020-06-09T13:16:30.000Z
2021-11-01T15:28:04.000Z
#if ENABLE_UNIT_TESTS #include "UnitTest++.h" #include "../../Process.h" #include "../Process-c-api.h" SUITE(Process) { TEST(GetProcessID) { CHECK(UnityPalGetCurrentProcessId() > 0); } TEST(GetProcessIDMatchesClass) { CHECK_EQUAL(il2cpp::os::Process::GetCurrentProcessId(), Unity...
29.593407
96
0.691051
dngoins
b5e92d192365d4e7d2fe2b9038348f29b8d8f9c8
1,583
cpp
C++
Source/L2NextCrypto/Private/Crypto/Validators/HeaderValidator/HeaderValidator.cpp
L2Next/L2NextCrypto
005a893b5d04e8fc522cb0e08f92b39d5411b98c
[ "MIT" ]
4
2020-09-04T21:33:35.000Z
2021-05-30T14:25:27.000Z
Source/L2NextCrypto/Private/Crypto/Validators/HeaderValidator/HeaderValidator.cpp
L2Next/L2NextCrypto
005a893b5d04e8fc522cb0e08f92b39d5411b98c
[ "MIT" ]
9
2020-08-15T14:07:12.000Z
2021-06-25T05:48:58.000Z
Source/L2NextCrypto/Private/Crypto/Validators/HeaderValidator/HeaderValidator.cpp
L2Next/L2NextCrypto
005a893b5d04e8fc522cb0e08f92b39d5411b98c
[ "MIT" ]
2
2020-11-20T04:03:42.000Z
2021-03-04T21:46:50.000Z
#include "Crypto/Validators/HeaderValidator/HeaderValidator.h" #include "Crypto/Algorithms/AlgorithmRegistry.h" HeaderValidator::HeaderValidator(std::stringstream& stream) { headerString = ReadHeader(stream); } bool HeaderValidator::GetHeader(std::string& headerRef) const { if (!regex_search(headerString.c_str(),...
23.626866
99
0.747315
L2Next
b5eb3fa50dc883b3d4dbd407cc3b44bfde46a5b1
3,282
cpp
C++
plugins/editors/src/code/line_number_display.cpp
lukedan/codepad
b2d85554a0fb910dd4d45831a364ce7dfb56efb2
[ "Apache-2.0" ]
42
2017-05-26T15:56:44.000Z
2022-02-24T13:57:40.000Z
plugins/editors/src/code/line_number_display.cpp
lukedan/codepad
b2d85554a0fb910dd4d45831a364ce7dfb56efb2
[ "Apache-2.0" ]
5
2018-08-12T01:57:48.000Z
2022-01-20T04:55:40.000Z
plugins/editors/src/code/line_number_display.cpp
lukedan/codepad
b2d85554a0fb910dd4d45831a364ce7dfb56efb2
[ "Apache-2.0" ]
4
2020-03-27T12:51:53.000Z
2022-03-26T04:29:30.000Z
// Copyright (c) the Codepad contributors. All rights reserved. // Licensed under the Apache License, Version 2.0. See LICENSE.txt in the project root for license information. #include "codepad/editors/code/line_number_display.h" /// \file /// Implementation of the line number display. namespace codepad::editors::co...
37.724138
114
0.705667
lukedan
b5ec95ce1ef2cf374d1ffe7f5c7210c59be8b3fd
738
cpp
C++
pantingwidget.cpp
WalterWhiteCSU/InterpolationSpline
a23e23b486b533aa1e4e1f52258135d6b870c39d
[ "MIT" ]
null
null
null
pantingwidget.cpp
WalterWhiteCSU/InterpolationSpline
a23e23b486b533aa1e4e1f52258135d6b870c39d
[ "MIT" ]
null
null
null
pantingwidget.cpp
WalterWhiteCSU/InterpolationSpline
a23e23b486b533aa1e4e1f52258135d6b870c39d
[ "MIT" ]
null
null
null
/********************************************************************************* *Copyright(C),WalterWhite *FileName: pantingwidget.cpp *Author: Walter White *Version: 0.1 *Date: 2021/7/4 *Description: *Others: *Function List: ********...
27.333333
101
0.476965
WalterWhiteCSU
b5f9f0aa3c3350bf1593c93a35edbe1b303150f0
444
cpp
C++
abc/000/q06.cpp
515hikaru/solutions
9fb3e4600f9a97b78211a5736c98354d4cbebc38
[ "MIT" ]
null
null
null
abc/000/q06.cpp
515hikaru/solutions
9fb3e4600f9a97b78211a5736c98354d4cbebc38
[ "MIT" ]
9
2019-12-29T17:57:39.000Z
2020-02-16T16:36:04.000Z
abc000/q06.cpp
515hikaru/abc-sandbox
6445dd9d6583bd48a285d6e5693173529933da51
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int f(int a) { int sum = 0; string s = to_string(a); for(int j = 0; j < s.length(); j ++) { sum += s[j] - '0'; } return sum; } int main() { int n, a, b; int sum = 0; cin >> n >> a >> b; for(int i = 0; i < n + 1; i++) { int fo...
16.444444
42
0.391892
515hikaru
b5fc842acddda32a8275f6c32e9f3b8eadfa0646
757
cpp
C++
trianglevwindow.cpp
WalterWhiteCSU/triangleDomain
ca497d86df3317ddc3453677a023b1fa7a581991
[ "MIT" ]
null
null
null
trianglevwindow.cpp
WalterWhiteCSU/triangleDomain
ca497d86df3317ddc3453677a023b1fa7a581991
[ "MIT" ]
null
null
null
trianglevwindow.cpp
WalterWhiteCSU/triangleDomain
ca497d86df3317ddc3453677a023b1fa7a581991
[ "MIT" ]
null
null
null
/********************************************************************************* *Copyright(C),WalterWhite *FileName: trianglevwindow.cpp *Author: Walter White *Version: 0.1 *Date: 2021/7/29 *Description: *Others: *Function List: *****...
28.037037
103
0.490092
WalterWhiteCSU
b5fd0cb2153a1c39d6366fc02f4124944f1c5055
1,218
cpp
C++
lab01/3-2.cpp
nmarquesin/CPlusPlusComMarcela
ae14b544ba26b4f39ffcf196467533c8e390b073
[ "MIT" ]
null
null
null
lab01/3-2.cpp
nmarquesin/CPlusPlusComMarcela
ae14b544ba26b4f39ffcf196467533c8e390b073
[ "MIT" ]
null
null
null
lab01/3-2.cpp
nmarquesin/CPlusPlusComMarcela
ae14b544ba26b4f39ffcf196467533c8e390b073
[ "MIT" ]
null
null
null
// Lab 01 section 3.2 // Given a list of N integers, find its mean (as a double), maximum value, minimum value, // and range. Your program will first ask for N, the number of integers in the list, which the // user will input. Then the user will input N more numbers #include <iostream> using namespace std; ...
24.36
95
0.558292
nmarquesin
bd06e20e0efbc2b898bc72fe16da92417d3bcb1b
6,369
cpp
C++
CodeForces-Solution/1375H.cpp
Tech-Intellegent/CodeForces-Solution
2f291a38b80b8ff2a2595b2e526716468ff26bf8
[ "MIT" ]
1
2022-01-23T07:18:07.000Z
2022-01-23T07:18:07.000Z
CodeForces-Solution/1375H.cpp
Tech-Intellegent/CodeForces-Solution
2f291a38b80b8ff2a2595b2e526716468ff26bf8
[ "MIT" ]
null
null
null
CodeForces-Solution/1375H.cpp
Tech-Intellegent/CodeForces-Solution
2f291a38b80b8ff2a2595b2e526716468ff26bf8
[ "MIT" ]
1
2022-02-05T11:53:04.000Z
2022-02-05T11:53:04.000Z
#include <bits/stdc++.h> using namespace std; typedef long long ll; typedef long double ld; typedef double db; typedef string str; typedef pair<int,int> pi; typedef pair<ll,ll> pl; typedef pair<db,db> pd; typedef vector<int> vi; typedef vector<ll> vl; typedef vector<db> vd; typedef vector<str> vs; typedef v...
29.35023
114
0.575601
Tech-Intellegent
bd09ef09faaf893b2170cb0204d3e058108a79c2
724
cpp
C++
src/nnfusion/core/kernels/cpu/eigen/reduce.cpp
lynex/nnfusion
6332697c71b6614ca6f04c0dac8614636882630d
[ "MIT" ]
639
2020-09-05T10:00:59.000Z
2022-03-30T08:42:39.000Z
src/nnfusion/core/kernels/cpu/eigen/reduce.cpp
QPC-database/nnfusion
99ada47c50f355ca278001f11bc752d1c7abcee2
[ "MIT" ]
252
2020-09-09T05:35:36.000Z
2022-03-29T04:58:41.000Z
src/nnfusion/core/kernels/cpu/eigen/reduce.cpp
QPC-database/nnfusion
99ada47c50f355ca278001f11bc752d1c7abcee2
[ "MIT" ]
104
2020-09-05T10:01:08.000Z
2022-03-23T10:59:13.000Z
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. #include "reduce.hpp" using namespace nnfusion; using namespace nnfusion::kernels; #define REGISTER_EW_KERNEL(OP_NAME) \ REGISTER_KERNEL_EMITTER( ...
38.105263
100
0.498619
lynex
bd0f43ae06d04a9faf8688e991d2a81907dbb17a
4,140
hpp
C++
source/reactive/transform.hpp
graham-riches/led-matrix
31e570732a8acdcfb3ea35b21fb96286aa8cd22a
[ "MIT" ]
null
null
null
source/reactive/transform.hpp
graham-riches/led-matrix
31e570732a8acdcfb3ea35b21fb96286aa8cd22a
[ "MIT" ]
null
null
null
source/reactive/transform.hpp
graham-riches/led-matrix
31e570732a8acdcfb3ea35b21fb96286aa8cd22a
[ "MIT" ]
null
null
null
/** * \file io_transform.hpp * \author Graham Riches (graham.riches@live.com) * \brief defines transformation operators on reactive IO streams * \version 0.1 * \date 2021-01-31 * * @copyright Copyright (c) 2021 * */ #pragma once /********************************** Includes *********************************...
32.857143
132
0.702415
graham-riches
bd1e22554675102bc35a08456537bb938bf28db7
5,215
hpp
C++
libraries/blockchain/include/bts/blockchain/account_record.hpp
larkx/LarkX
8e803d16f31431e8389e772d0e6aab0d474bc9ca
[ "Zlib", "Unlicense", "BSD-2-Clause", "MIT", "BSD-3-Clause-Clear", "BSL-1.0", "BSD-3-Clause" ]
null
null
null
libraries/blockchain/include/bts/blockchain/account_record.hpp
larkx/LarkX
8e803d16f31431e8389e772d0e6aab0d474bc9ca
[ "Zlib", "Unlicense", "BSD-2-Clause", "MIT", "BSD-3-Clause-Clear", "BSL-1.0", "BSD-3-Clause" ]
null
null
null
libraries/blockchain/include/bts/blockchain/account_record.hpp
larkx/LarkX
8e803d16f31431e8389e772d0e6aab0d474bc9ca
[ "Zlib", "Unlicense", "BSD-2-Clause", "MIT", "BSD-3-Clause-Clear", "BSL-1.0", "BSD-3-Clause" ]
null
null
null
#pragma once #include <bts/blockchain/types.hpp> #include <bts/blockchain/asset.hpp> #include <fc/time.hpp> #include <fc/io/enum_type.hpp> namespace bts { namespace blockchain { extern std::set<string> banned_names; enum account_type { titan_account = 0, public_account = 1, multisi...
35
140
0.612464
larkx
bd204086e195385f34359eaa7b6a9ed19a2a3b29
1,670
cpp
C++
src/svm.cpp
sgk98/IPSC_Project
46cccc1a82cfe0f6fb2040f385c36cbf60c3c627
[ "MIT" ]
null
null
null
src/svm.cpp
sgk98/IPSC_Project
46cccc1a82cfe0f6fb2040f385c36cbf60c3c627
[ "MIT" ]
null
null
null
src/svm.cpp
sgk98/IPSC_Project
46cccc1a82cfe0f6fb2040f385c36cbf60c3c627
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; using namespace std::chrono; double W[50000]; double X[200][50000]; int Y[200]; int main() { srand ( time(NULL) ); ifstream trainfile ("train.txt"); ifstream labelfile ("labels.txt"); int n_samples=200; int n_features=50000; for(int i=0;i<n_samples;i++) { for(int...
20.875
72
0.598802
sgk98
bd321290c54d1b08b5a16b6a6e71493e2e02305b
4,858
cpp
C++
Doh3d/GGrid.cpp
WowSoLaggy/Doh3d
0aca8f00fdc52975ff872c99b0f48fbac3d779d6
[ "MIT" ]
null
null
null
Doh3d/GGrid.cpp
WowSoLaggy/Doh3d
0aca8f00fdc52975ff872c99b0f48fbac3d779d6
[ "MIT" ]
null
null
null
Doh3d/GGrid.cpp
WowSoLaggy/Doh3d
0aca8f00fdc52975ff872c99b0f48fbac3d779d6
[ "MIT" ]
null
null
null
#include "PrecompiledHeader.h" //#include "GGrid.h" // // //namespace Doh3d //{ // // GGrid::GGrid(float pPosX, float pPosY, float pSizeX, float pSizeY, int pNumberOfCells, // const std::string& pTextureName, const std::string& pFrameTextureName) // { // LOG("GGrid::GGrid()"); // // d_position.x = roundf(pPosX); ...
24.049505
184
0.603129
WowSoLaggy
bd37e62cc3fe5da125a100c1ce17f5e56d9f54b3
189
cpp
C++
teensyHIDSimulator/src/button.cpp
OpenTactile/ITCHy
e8fa61248008ca89626d73d6f4c2fb7da84a646d
[ "MIT" ]
6
2017-08-22T08:51:33.000Z
2018-04-25T14:39:20.000Z
teensyHIDSimulator/src/button.cpp
OpenTactile/ITCHy
e8fa61248008ca89626d73d6f4c2fb7da84a646d
[ "MIT" ]
null
null
null
teensyHIDSimulator/src/button.cpp
OpenTactile/ITCHy
e8fa61248008ca89626d73d6f4c2fb7da84a646d
[ "MIT" ]
null
null
null
#include "button.h" #include <WProgram.h> Button::Button(unsigned char pinID) { pin = pinID; pinMode(pin, INPUT_PULLUP); } bool Button::query() { return !digitalRead(pin); }
12.6
35
0.656085
OpenTactile
bd3bdfc69a315f9f2287b60270cf7426c3083ace
1,621
cpp
C++
source/src/motion.cpp
gerdmuller/wordclock-11x10-4
4ad7581b1c678cfc6e24f6eba2dc6bf81b09f711
[ "MIT" ]
null
null
null
source/src/motion.cpp
gerdmuller/wordclock-11x10-4
4ad7581b1c678cfc6e24f6eba2dc6bf81b09f711
[ "MIT" ]
null
null
null
source/src/motion.cpp
gerdmuller/wordclock-11x10-4
4ad7581b1c678cfc6e24f6eba2dc6bf81b09f711
[ "MIT" ]
null
null
null
#include "motion.h" using namespace std; Motion::Motion() { } void Motion::sweep() { m_motion_captures.erase(m_motion_captures.begin(), m_motion_captures.lower_bound(millis())); } void Motion::reset() { m_motion_captures.clear(); m_capture_in_queue = false; m_last_capture = millis(); m_max_captu...
21.613333
96
0.630475
gerdmuller
bd4060fbacdc54edab98c7d46e8f8ab6ae102c6f
1,889
cpp
C++
C-Plus-Plus/binary_tree_traversal.cpp
anujjain5699/DS-Algo-Point
9339e399d04765220a9758299fd70df5327f4d4b
[ "MIT" ]
null
null
null
C-Plus-Plus/binary_tree_traversal.cpp
anujjain5699/DS-Algo-Point
9339e399d04765220a9758299fd70df5327f4d4b
[ "MIT" ]
null
null
null
C-Plus-Plus/binary_tree_traversal.cpp
anujjain5699/DS-Algo-Point
9339e399d04765220a9758299fd70df5327f4d4b
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; struct Node{ int data; Node *left; Node *right; Node(int val):data(val),left(nullptr),right(nullptr){}; ~Node(){} }; void Inorder_stack(Node *root) { stack<Node *> s; Node *curr=root; while(curr||!s.empty()){ while(curr){ ...
17.490741
59
0.525675
anujjain5699
bd409da66fc7130c3f64e65b0f4ebf2367b9a134
17,707
cpp
C++
unit_test/pyinterface/json_test.cpp
jw3il/pomcpp2
278b2f27a15e02bf8690bfee0eb451612d3ccf88
[ "MIT" ]
1
2021-11-29T16:56:11.000Z
2021-11-29T16:56:11.000Z
unit_test/pyinterface/json_test.cpp
jw3il/pomcpp2
278b2f27a15e02bf8690bfee0eb451612d3ccf88
[ "MIT" ]
1
2021-11-09T07:55:46.000Z
2021-11-09T09:40:37.000Z
unit_test/pyinterface/json_test.cpp
jw3il/pomcpp2
278b2f27a15e02bf8690bfee0eb451612d3ccf88
[ "MIT" ]
null
null
null
#include "catch.hpp" #include "bboard.hpp" #include "from_json.hpp" // some state and the corresponding observation // note: the step count does not match because self._step_count is incremented AFTER the observations for the step are generated (bug in python env) #define FFA "FFA" #define JSON_STATE "{\"game_type\": ...
188.37234
3,274
0.440786
jw3il
bd431b4daea7630326b8de4294f890cac63d07a7
3,107
hpp
C++
Source/AllProjects/CQCWebSrv/Client/CQCWebRIVA/CQCWebRIVA_WorkerIntf.hpp
MarkStega/CQC
c1d0e01ec2abcaa5b8eb1899b9f0522fecee4b07
[ "MIT" ]
51
2020-12-26T18:17:16.000Z
2022-03-15T04:29:35.000Z
Source/AllProjects/CQCWebSrv/Client/CQCWebRIVA/CQCWebRIVA_WorkerIntf.hpp
MarkStega/CQC
c1d0e01ec2abcaa5b8eb1899b9f0522fecee4b07
[ "MIT" ]
null
null
null
Source/AllProjects/CQCWebSrv/Client/CQCWebRIVA/CQCWebRIVA_WorkerIntf.hpp
MarkStega/CQC
c1d0e01ec2abcaa5b8eb1899b9f0522fecee4b07
[ "MIT" ]
4
2020-12-28T07:24:39.000Z
2021-12-29T12:09:37.000Z
// // FILE NAME: CQCWebRIVA_WorkerIntf.hpp // // AUTHOR: Dean Roddey // // CREATED: 06/18/2017 // // COPYRIGHT: Charmed Quark Systems, Ltd @ 2020 // // This software is copyrighted by 'Charmed Quark Systems, Ltd' and // the author (Dean Roddey.) It is licensed under the MIT Open Source // license: // // https://o...
30.762376
85
0.429353
MarkStega
bd439fdf681df4cf5b46f25b4ddf523fd22a7256
222
cpp
C++
example/main.cpp
LLLida/set_icon.cmake
5642a8d0dfe36a5f25ca06f8a4f3a031c8b89aac
[ "MIT" ]
1
2021-03-11T15:13:23.000Z
2021-03-11T15:13:23.000Z
example/main.cpp
LLLida/set_icon.cmake
5642a8d0dfe36a5f25ca06f8a4f3a031c8b89aac
[ "MIT" ]
null
null
null
example/main.cpp
LLLida/set_icon.cmake
5642a8d0dfe36a5f25ca06f8a4f3a031c8b89aac
[ "MIT" ]
null
null
null
#include <iostream> #include <string> int main(int argc, char** argv) { int count = 1; if (argc > 1) count = std::atoi(argv[1]); for (int i = 0; i < count; i++) std::cout << "Hello world!\n"; return 0; }
18.5
43
0.554054
LLLida
bd48c7128c78bfe12ebfdcb41c9c91745498dd3d
413
hpp
C++
src/BotCM/AllocationCounter.hpp
PiotrBatko/Gomoku
05b2e51147378787530b4647beebff5d02b19efe
[ "Unlicense" ]
null
null
null
src/BotCM/AllocationCounter.hpp
PiotrBatko/Gomoku
05b2e51147378787530b4647beebff5d02b19efe
[ "Unlicense" ]
null
null
null
src/BotCM/AllocationCounter.hpp
PiotrBatko/Gomoku
05b2e51147378787530b4647beebff5d02b19efe
[ "Unlicense" ]
null
null
null
#ifndef ALLOCATION_COUNTER_HPP #define ALLOCATION_COUNTER_HPP // This class holds count of memory heap allocations. Each "new" call increases // counter when each "delete" and "delete[]" decreases counter. class AllocationCounter { public: static void IncrementCounter(); static void DecrementCounter(); static unsig...
24.294118
79
0.782082
PiotrBatko
bd493e599b963d52a25b6c04a5fb03db88ebfe2d
168
cpp
C++
build/src/main.cpp
kjelloh/Odysseus
cd84028bab47f9771729692aa7c9df7986edc3e4
[ "MIT" ]
null
null
null
build/src/main.cpp
kjelloh/Odysseus
cd84028bab47f9771729692aa7c9df7986edc3e4
[ "MIT" ]
null
null
null
build/src/main.cpp
kjelloh/Odysseus
cd84028bab47f9771729692aa7c9df7986edc3e4
[ "MIT" ]
null
null
null
#include <iostream> #include "odysseus/odysseus.h" int main (int argc, char *argv[]) { std::cout << "Built with " << odysseus::compiler().id.name; return 0; }
21
63
0.630952
kjelloh
bd4fef6461a83342a455752fe1cdfd3736a738c6
10,044
cpp
C++
libs/Rollback/RollbackManager.cpp
max-delta/retrofit-public
5447fd6399fd74ffbb75494c103940751000db12
[ "X11" ]
3
2019-10-27T22:32:44.000Z
2020-05-21T04:00:46.000Z
libs/Rollback/RollbackManager.cpp
max-delta/retrofit-public
5447fd6399fd74ffbb75494c103940751000db12
[ "X11" ]
null
null
null
libs/Rollback/RollbackManager.cpp
max-delta/retrofit-public
5447fd6399fd74ffbb75494c103940751000db12
[ "X11" ]
null
null
null
#include "stdafx.h" #include "RollbackManager.h" #include "Allocation/AccessorDeclaration.h" #include "Logging/Logging.h" #include "rftl/limits" namespace RF::rollback { /////////////////////////////////////////////////////////////////////////////// RollbackManager::RollbackManager() : mSharedDomain( *alloc::GetA...
28.534091
147
0.745619
max-delta
bd54c18b53c1752524fe6c625082982bec3079e5
6,037
cpp
C++
libnpln/machine/Registers.test.cpp
nokurn/npln
a4a0106cc77c844e0a4b0c778b04aa4d6ed39ff0
[ "0BSD" ]
null
null
null
libnpln/machine/Registers.test.cpp
nokurn/npln
a4a0106cc77c844e0a4b0c778b04aa4d6ed39ff0
[ "0BSD" ]
4
2020-12-06T00:24:20.000Z
2021-06-02T07:05:38.000Z
libnpln/machine/Registers.test.cpp
nokurn/npln
a4a0106cc77c844e0a4b0c778b04aa4d6ed39ff0
[ "0BSD" ]
null
null
null
// Copyright 2020-2021 Jeremiah Griffin // // Permission to use, copy, modify, and/or distribute this software for any // purpose with or without fee is hereby granted, provided that the above // copyright notice and this permission notice appear in all copies. // // THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISC...
38.698718
95
0.616863
nokurn
32e065af67674ae2dbb571c72e5b4334d62b5ed2
891
cpp
C++
tools/freebayes/vcflib/src/vcfgenosamplenames.cpp
benranco/test
7cf9740108844da30dcc506e733015fd5dd76a05
[ "MIT" ]
null
null
null
tools/freebayes/vcflib/src/vcfgenosamplenames.cpp
benranco/test
7cf9740108844da30dcc506e733015fd5dd76a05
[ "MIT" ]
null
null
null
tools/freebayes/vcflib/src/vcfgenosamplenames.cpp
benranco/test
7cf9740108844da30dcc506e733015fd5dd76a05
[ "MIT" ]
1
2020-10-01T10:32:38.000Z
2020-10-01T10:32:38.000Z
#include "Variant.h" using namespace std; using namespace vcf; int main(int argc, char** argv) { VariantCallFile variantFile; if (argc > 1) { string filename = argv[1]; variantFile.open(filename); } else { variantFile.open(std::cin); } if (!variantFile.is_open()) { ...
22.275
111
0.566779
benranco
32e2b93c03a2231ded4891da72873af58c7632e4
16,778
cpp
C++
src/game/client/tf/tf_autorp.cpp
LavKazan/ThePassTimeProject
6d321448588d5bda85ea8175a2b27e756de465f8
[ "Unlicense" ]
18
2017-07-14T09:43:26.000Z
2021-09-12T08:56:05.000Z
tf2_src/game/client/tf/tf_autorp.cpp
Counter2828/TeamFortress2
1b81dded673d49adebf4d0958e52236ecc28a956
[ "MIT" ]
13
2017-08-08T02:07:18.000Z
2022-03-22T23:49:58.000Z
tf2_src/game/client/tf/tf_autorp.cpp
Counter2828/TeamFortress2
1b81dded673d49adebf4d0958e52236ecc28a956
[ "MIT" ]
15
2017-07-14T11:01:35.000Z
2021-09-04T06:55:27.000Z
//========= Copyright Valve Corporation, All rights reserved. ============// // // Purpose: // //=====================================================================================// #include "cbase.h" #include <ctype.h> #include "tf_autorp.h" #include "filesystem.h" // memdbgon must be the last include file in a ...
27.017713
167
0.561152
LavKazan
32e49137b498609183951c13594c65dd5d5bb7dc
518
cpp
C++
942.cpp
pengzhezhe/LeetCode
305ec0c5b4cb5ea7cd244b3308132dee778138bc
[ "Apache-2.0" ]
null
null
null
942.cpp
pengzhezhe/LeetCode
305ec0c5b4cb5ea7cd244b3308132dee778138bc
[ "Apache-2.0" ]
null
null
null
942.cpp
pengzhezhe/LeetCode
305ec0c5b4cb5ea7cd244b3308132dee778138bc
[ "Apache-2.0" ]
null
null
null
// // Created by pzz on 2022/5/9. // #include <iostream> #include <algorithm> #include <vector> using namespace std; class Solution { public: vector<int> diStringMatch(string s) { int n = s.size(); vector<int> ans(n + 1, 0); int low = 0, high = n; for (int i = 0; i < n; i++) { ...
17.266667
41
0.444015
pengzhezhe
32e7d28a0cc664eb960e4d22faaf6e536a96674a
1,145
cpp
C++
Kernel/x86/Interrupts.cpp
Archlisk/fos2
f6a6efcaf1d29ccabdef7d9f713cc0b80f1b6565
[ "MIT" ]
null
null
null
Kernel/x86/Interrupts.cpp
Archlisk/fos2
f6a6efcaf1d29ccabdef7d9f713cc0b80f1b6565
[ "MIT" ]
null
null
null
Kernel/x86/Interrupts.cpp
Archlisk/fos2
f6a6efcaf1d29ccabdef7d9f713cc0b80f1b6565
[ "MIT" ]
null
null
null
#include <Interrupts.h> #include <ASM.h> #include <TTY.h> using namespace Kernel; #include <Drivers/PIT.h> extern "C" void pit_isr() { PIT::on_tick(); PIC::eoi(0); } extern "C" void ps2_keyboard_isr() { VGA::FGColor4B color = (VGA::FGColor4B)KernelData::tty.get_color(); KernelData::tty.set_color(VGA::FGCol...
11.804124
68
0.616594
Archlisk
32f6eb1873e1b861b74d90791c0e6c9244f2dee7
7,734
cpp
C++
8.rectangle/rectangle.cpp
RARain/learn_opencv
f1bfa784cbdfd354ec6f34acc752a7fba0add9e9
[ "MIT" ]
null
null
null
8.rectangle/rectangle.cpp
RARain/learn_opencv
f1bfa784cbdfd354ec6f34acc752a7fba0add9e9
[ "MIT" ]
null
null
null
8.rectangle/rectangle.cpp
RARain/learn_opencv
f1bfa784cbdfd354ec6f34acc752a7fba0add9e9
[ "MIT" ]
null
null
null
#include <opencv2/imgproc.hpp> #include <opencv2/highgui.hpp> #include <opencv2/core/utils/filesystem.hpp> #include <vector> using namespace cv; using namespace std; //----------------------------------------------------------------------------- class Rectangle { public: Rectangle(); ~Rectangle(); void Read(co...
25.694352
139
0.706362
RARain
32f9d4d5b5d5264254ae92e0440b1d867f8aad0b
5,262
cpp
C++
tests/test.cpp
telsamar/labs4
d55e941f6f9978dd5dda84db53be326e546ec190
[ "MIT" ]
1
2019-12-09T19:03:06.000Z
2019-12-09T19:03:06.000Z
tests/test.cpp
telsamar/labs4
d55e941f6f9978dd5dda84db53be326e546ec190
[ "MIT" ]
null
null
null
tests/test.cpp
telsamar/labs4
d55e941f6f9978dd5dda84db53be326e546ec190
[ "MIT" ]
null
null
null
// Copyright 2019 <telsamar> #include <gtest/gtest.h> #include "BrokerResolver.h" TEST(BrokerFile, DirectoriesToString) { BrokerFile brokerFile{ "filename", {"dir1", "dir2"} }; EXPECT_EQ(brokerFile.directoriesToString(), "dir1 dir2"); } TEST(BrokerFile, Equal) { BrokerFile bro...
25.794118
64
0.50171
telsamar
32fbcf608f9256bac35f0e4d6b64730ffa5cd012
464
cpp
C++
cpp/recursion/__recursion_002_factorial_.cpp
kazi-rakib/selfPacedProgramming
ea97aaafb4067629a62317f76a2056e4c5011ea1
[ "MIT" ]
null
null
null
cpp/recursion/__recursion_002_factorial_.cpp
kazi-rakib/selfPacedProgramming
ea97aaafb4067629a62317f76a2056e4c5011ea1
[ "MIT" ]
1
2021-02-04T20:18:25.000Z
2021-02-04T20:27:45.000Z
cpp/recursion/__recursion_002_factorial_.cpp
kazi-rakib/selfPacedProgramming
ea97aaafb4067629a62317f76a2056e4c5011ea1
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int called = 0; int factorial(int n){ called++; if (n == 0) return 1; return n * factorial(n-1); } int main(int argc, char *argv[]){ if (argc == 1) cout<<"Please pass at least an argument to find factorial of!"<<endl; for(int i = 1; i < argc; i++){ cout<<arg...
17.846154
86
0.588362
kazi-rakib
32fd43af1800b3eadf29b8aaa32caddb66df5567
254
cpp
C++
BaekJoon/11727.cpp
falconlee236/Algorithm_Practice
4e6e380a0e6c840525ca831a05c35253eeaaa25c
[ "MIT" ]
null
null
null
BaekJoon/11727.cpp
falconlee236/Algorithm_Practice
4e6e380a0e6c840525ca831a05c35253eeaaa25c
[ "MIT" ]
null
null
null
BaekJoon/11727.cpp
falconlee236/Algorithm_Practice
4e6e380a0e6c840525ca831a05c35253eeaaa25c
[ "MIT" ]
null
null
null
/*11727*/ #include <iostream> using namespace std; int main(){ int n; cin >> n; int m[1001] = {1, 1, 0, }; for(int i = 2; i < n + 1; i++){ m[i] = (m[i - 1] + 2*m[i - 2]) % 10007; } cout << m[n] << endl; return 0; }
15.875
47
0.417323
falconlee236
fd05aa10e7dfa35768d2133b33860e1f57bf3226
1,688
cpp
C++
Flow & Matching/min_cost_flow.cpp
Cephian/Competitive-Programming
6f14ba02245577b858db45f5f1368985aaa9fbfb
[ "MIT" ]
2
2020-02-16T20:28:08.000Z
2020-02-17T23:29:01.000Z
Flow & Matching/min_cost_flow.cpp
Cephian/Competitive-Programming
6f14ba02245577b858db45f5f1368985aaa9fbfb
[ "MIT" ]
null
null
null
Flow & Matching/min_cost_flow.cpp
Cephian/Competitive-Programming
6f14ba02245577b858db45f5f1368985aaa9fbfb
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; typedef long long ll; typedef pair<int, int> pii; struct mcmf { int N; #define BND 1LL<<61 vector<vector<ll> > cap, fl, cost; vector<bool> found; vector<ll> dist, pi, width; vector<pii> dad; mcmf(int N) : N(N), cap(N,vector<ll>(N)), fl(N,vector<ll>(N)), cost(N...
23.123288
74
0.530806
Cephian
fd0982ecdcbd2a47755c8af64b7811f850af4d2f
4,435
cc
C++
packet_tracer.cc
wwmfdb/ATP-Engine
00eaf0f551907c9d6e2db446d5e78364364531d4
[ "BSD-3-Clause-Clear" ]
16
2020-05-19T16:13:10.000Z
2022-02-05T19:22:37.000Z
packet_tracer.cc
wwmfdb/ATP-Engine
00eaf0f551907c9d6e2db446d5e78364364531d4
[ "BSD-3-Clause-Clear" ]
6
2020-07-16T14:30:02.000Z
2021-11-08T22:10:18.000Z
packet_tracer.cc
wwmfdb/ATP-Engine
00eaf0f551907c9d6e2db446d5e78364364531d4
[ "BSD-3-Clause-Clear" ]
12
2020-05-21T17:56:34.000Z
2022-01-19T02:07:15.000Z
/* * SPDX-License-Identifier: BSD-3-Clause-Clear * * Copyright (c) 2017 ARM Limited * All rights reserved * Author: Matteo Andreozzi */ #include <sys/stat.h> #include "packet_tracer.hh" #include "logger.hh" #include "traffic_profile_manager.hh" #include "utilities.hh" namespace TrafficProfiles { const string ...
35.766129
114
0.596167
wwmfdb
fd0b1f92634bafffdd4e5a71c8adc14c5500e661
721
hpp
C++
include/eepp/scene/actions/actioninterpolation1d.hpp
jayrulez/eepp
09c5c1b6b4c0306bb0a188474778c6949b5df3a7
[ "MIT" ]
37
2020-01-20T06:21:24.000Z
2022-03-21T17:44:50.000Z
include/eepp/scene/actions/actioninterpolation1d.hpp
jayrulez/eepp
09c5c1b6b4c0306bb0a188474778c6949b5df3a7
[ "MIT" ]
null
null
null
include/eepp/scene/actions/actioninterpolation1d.hpp
jayrulez/eepp
09c5c1b6b4c0306bb0a188474778c6949b5df3a7
[ "MIT" ]
9
2019-03-22T00:33:07.000Z
2022-03-01T01:35:59.000Z
#ifndef EE_SCENE_ACTIONINTERPOLATION1D_HPP #define EE_SCENE_ACTIONINTERPOLATION1D_HPP #include <eepp/math/interpolation1d.hpp> #include <eepp/scene/action.hpp> using namespace EE::Math; namespace EE { namespace Scene { namespace Actions { class EE_API ActionInterpolation1d : public Action { public: void start() o...
19.486486
56
0.775312
jayrulez
fd0d470b3b8afbfa8c8500bae7a392df895aa538
10,408
cpp
C++
test/celerytest.cpp
hmc-cs-jamelang/hmc-tessellate
c6f5cc767800cac7e8b38cc035570256b408e01d
[ "MIT" ]
1
2019-11-25T03:56:30.000Z
2019-11-25T03:56:30.000Z
test/celerytest.cpp
hmc-cs-jamelang/hmc-tessellate
c6f5cc767800cac7e8b38cc035570256b408e01d
[ "MIT" ]
null
null
null
test/celerytest.cpp
hmc-cs-jamelang/hmc-tessellate
c6f5cc767800cac7e8b38cc035570256b408e01d
[ "MIT" ]
null
null
null
/* * A set of tests for the Celery class, an implementation of * a cell array. */ #include <cstdlib> #include <iostream> #include <random> #include <vector> #include "../src/cellarray.hpp" using namespace std; using namespace hmc::spatial; // Set up random number generation uniform_real_distribution<double> rand_...
29.908046
100
0.646906
hmc-cs-jamelang
fd0e2201194dc1df32075118deb424b57ddf4f5f
25,492
cpp
C++
polyglot.cpp
imor/polyglot
e31ab0e5f6984812af6cec6804f6cb6d1cf85b8d
[ "MIT" ]
3
2015-12-17T04:44:19.000Z
2020-04-17T16:40:55.000Z
polyglot.cpp
imor/polyglot
e31ab0e5f6984812af6cec6804f6cb6d1cf85b8d
[ "MIT" ]
1
2016-06-28T14:37:57.000Z
2016-07-01T09:52:05.000Z
polyglot.cpp
imor/polyglot
e31ab0e5f6984812af6cec6804f6cb6d1cf85b8d
[ "MIT" ]
2
2017-09-12T15:40:03.000Z
2021-02-05T20:51:03.000Z
/* Code in this file is a derivative work from the following sources - * stockfish engine - https://github.com/mcostalba/Stockfish * pg_key.c - http://hardy.uhasselt.be/Toga/pg_key.c * pg_show.c - http://hardy.uhasselt.be/Toga/pg_show.c * * While the pg_key.c and pg_show.c are in public domain the stockfish * sour...
48.741874
88
0.768633
imor
fd10a007302452e495ac3f72d4cccff6881fe0d5
8,396
cpp
C++
HEVD-WriteWhatWhere-Exploit/WriteWhatWhere-Exploit/WriteWhatWhere-Exploit.cpp
tekwizz123/HEVD-Exploit-Solutions
65992fd3802fb8204fac3a96ead19279db78bdfc
[ "MIT" ]
19
2017-07-24T15:47:51.000Z
2022-01-22T22:04:02.000Z
HEVD-WriteWhatWhere-Exploit/WriteWhatWhere-Exploit/WriteWhatWhere-Exploit.cpp
tekwizz123/HEVD-Exploit-Solutions
65992fd3802fb8204fac3a96ead19279db78bdfc
[ "MIT" ]
null
null
null
HEVD-WriteWhatWhere-Exploit/WriteWhatWhere-Exploit/WriteWhatWhere-Exploit.cpp
tekwizz123/HEVD-Exploit-Solutions
65992fd3802fb8204fac3a96ead19279db78bdfc
[ "MIT" ]
12
2017-07-24T18:52:32.000Z
2021-11-18T01:06:23.000Z
#include "stdafx.h" #include "windows.h" #include "Winternl.h" #include "stdio.h" // Thanks to http://www.informit.com/articles/article.aspx?p=22442&seqNum=3 for the following and http://www.rohitab.com/discuss/topic/40696-list-loaded-drivers-with-ntquerysysteminformation/ and zwclose7's first comment #pragma comm...
48.813953
224
0.735469
tekwizz123
fd123cc5df06eea6e5452cd37ef12ed7cd898084
652
cc
C++
src/MyRunAction.cc
wangshishe/RutherfordScattering
ccc4353501ad7ca4fcc78bf5e4805a358bdaa3ce
[ "MIT" ]
null
null
null
src/MyRunAction.cc
wangshishe/RutherfordScattering
ccc4353501ad7ca4fcc78bf5e4805a358bdaa3ce
[ "MIT" ]
null
null
null
src/MyRunAction.cc
wangshishe/RutherfordScattering
ccc4353501ad7ca4fcc78bf5e4805a358bdaa3ce
[ "MIT" ]
1
2022-03-15T04:52:09.000Z
2022-03-15T04:52:09.000Z
#include "MyRunAction.hh" MyRunAction::MyRunAction() {} MyRunAction::~MyRunAction() {} void MyRunAction::BeginOfRunAction(const G4Run *) { auto *analysisManager = G4AnalysisManager::Instance(); analysisManager->OpenFile("out.root"); analysisManager->CreateNtuple("Hits", "Hits"); analysisManager->Crea...
27.166667
58
0.726994
wangshishe
fd1448ba9de5077f33c821a8c60ea11c6bcc08f6
353
cpp
C++
ch11/inplacemerge1.cpp
bashell/CppStandardLibrary
2aae03019288132c911036aeb9ba36edc56e510b
[ "MIT" ]
null
null
null
ch11/inplacemerge1.cpp
bashell/CppStandardLibrary
2aae03019288132c911036aeb9ba36edc56e510b
[ "MIT" ]
null
null
null
ch11/inplacemerge1.cpp
bashell/CppStandardLibrary
2aae03019288132c911036aeb9ba36edc56e510b
[ "MIT" ]
null
null
null
#include "algostuff.hpp" using namespace std; int main() { list<int> coll; INSERT_ELEMENTS(coll, 1, 7); INSERT_ELEMENTS(coll, 1, 8); PRINT_ELEMENTS(coll); list<int>::iterator pos; pos = find(coll.begin(), coll.end(), 7); ++pos; inplace_merge(coll.begin(), pos, coll.end()); PRINT_...
16.809524
49
0.611898
bashell
fd16e5e0de6c21e1a669ca5b1bfdbff38e7801c7
10,669
cpp
C++
sources/UEAA/Core/University/Specialty.cpp
KonstantinTomashevich/university-enrollee-apllication-algorithm
75f3da7d84d931401d8ce6ab79344018417ae03e
[ "MIT" ]
null
null
null
sources/UEAA/Core/University/Specialty.cpp
KonstantinTomashevich/university-enrollee-apllication-algorithm
75f3da7d84d931401d8ce6ab79344018417ae03e
[ "MIT" ]
null
null
null
sources/UEAA/Core/University/Specialty.cpp
KonstantinTomashevich/university-enrollee-apllication-algorithm
75f3da7d84d931401d8ce6ab79344018417ae03e
[ "MIT" ]
null
null
null
#include <UEAA/BuildConfiguration.hpp> #include "Specialty.hpp" #include <UEAA/Core/Enrollee/Enrollee.hpp> #include <UEAA/Core/Enrollee/EnrolleeHelpers.hpp> #include <UEAA/Core/University/Faculty.hpp> #include <UEAA/Core/University/University.hpp> #include <UEAA/Utils/CStringToHash.hpp> #include <algorithm> namespace...
31.014535
124
0.671666
KonstantinTomashevich
fd19d566f6c327bac373cf86482f1ae385470123
4,136
cpp
C++
modules/features/src/FeatureDetector_KD_AKAZE.cpp
v4r-tuwien/v4r
ff3fbd6d2b298b83268ba4737868bab258262a40
[ "BSD-1-Clause", "BSD-2-Clause" ]
2
2021-02-22T11:36:33.000Z
2021-07-20T11:31:08.000Z
modules/features/src/FeatureDetector_KD_AKAZE.cpp
v4r-tuwien/v4r
ff3fbd6d2b298b83268ba4737868bab258262a40
[ "BSD-1-Clause", "BSD-2-Clause" ]
null
null
null
modules/features/src/FeatureDetector_KD_AKAZE.cpp
v4r-tuwien/v4r
ff3fbd6d2b298b83268ba4737868bab258262a40
[ "BSD-1-Clause", "BSD-2-Clause" ]
3
2018-10-19T10:39:23.000Z
2021-04-07T13:39:03.000Z
#include <glog/logging.h> #include <v4r/features/FeatureDetector_KD_AKAZE.h> namespace v4r { FeatureDetector_KD_AKAZE::FeatureDetector_KD_AKAZE(const Parameter &p) : FeatureDetector(FeatureDetector::Type::KD_AKAZE), param_(p) { descr_name_ = "akaze"; akaze_ = cv::AKAZE::create(); akaze_->setDescriptorSize(param...
48.658824
118
0.661509
v4r-tuwien
fd1cf30b35b052ff4c1a515bb91b709b2977072e
439
cpp
C++
JTS/CF-A/CF431-D2-A/main.cpp
rahulsrma26/ol_codes
dc599f5b70c14229a001c5239c366ba1b990f68b
[ "MIT" ]
2
2019-03-18T16:06:10.000Z
2019-04-07T23:17:06.000Z
JTS/CF-A/CF431-D2-A/main.cpp
rahulsrma26/ol_codes
dc599f5b70c14229a001c5239c366ba1b990f68b
[ "MIT" ]
null
null
null
JTS/CF-A/CF431-D2-A/main.cpp
rahulsrma26/ol_codes
dc599f5b70c14229a001c5239c366ba1b990f68b
[ "MIT" ]
1
2019-03-18T16:06:52.000Z
2019-03-18T16:06:52.000Z
// Date : 2019-03-13 // Author : Rahul Sharma // Problem : http://codeforces.com/contest/431/problem/A #include <iostream> #include <string> int main() { using namespace std; ios_base::sync_with_stdio(false); cin.tie(0); int a[4]; for(auto& x: a) cin >> x; string s; cin.igno...
15.678571
56
0.530752
rahulsrma26
fd227ae35b4a60ff09b06f9d13ce1b74c41f326e
673
cpp
C++
ExportTransit/Execute.cpp
kravitz/transims4
ea0848bf3dc71440d54724bb3ecba3947b982215
[ "NASA-1.3" ]
2
2018-04-27T11:07:02.000Z
2020-04-24T06:53:21.000Z
ExportTransit/Execute.cpp
idkravitz/transims4
ea0848bf3dc71440d54724bb3ecba3947b982215
[ "NASA-1.3" ]
null
null
null
ExportTransit/Execute.cpp
idkravitz/transims4
ea0848bf3dc71440d54724bb3ecba3947b982215
[ "NASA-1.3" ]
null
null
null
//********************************************************* // Execute.cpp - main execution procedure //********************************************************* #include "ExportTransit.hpp" //--------------------------------------------------------- // Execute //------------------------------------------------------...
21.03125
59
0.408618
kravitz
fd3368b5e6b08d3aa8fa72d48a346acf887e16c8
3,073
cpp
C++
src/Process.cpp
green7ea/cook
ff87db0683bca1a60aa52ec18f885301c18f077a
[ "MIT" ]
1
2019-08-07T16:37:23.000Z
2019-08-07T16:37:23.000Z
src/Process.cpp
green7ea/cook
ff87db0683bca1a60aa52ec18f885301c18f077a
[ "MIT" ]
null
null
null
src/Process.cpp
green7ea/cook
ff87db0683bca1a60aa52ec18f885301c18f077a
[ "MIT" ]
null
null
null
#include "Process.h" #include <sys/wait.h> #include <fcntl.h> #include <unistd.h> #include <stdio.h> #include <functional> #include <memory> #include "Ressource.h" #include "UnistdError.h" #include "utils.h" #define READ 0 #define WRITE 1 static void customExec(const std::vector<std::string> &args) { std::vecto...
17.763006
62
0.56492
green7ea
fd38b9950897765062d07c18dc76a019cf2b69a6
2,900
cpp
C++
test/test_event_queue/test_event_queue_3.cpp
ab1aw/StateOS
371887d489d26547ea755391ccf62d60fad98d79
[ "MIT" ]
1
2020-03-02T01:11:57.000Z
2020-03-02T01:11:57.000Z
test/test_event_queue/test_event_queue_3.cpp
eric-erki/StateOS
13f57c341f870422ba599832d8055762365a247b
[ "MIT" ]
null
null
null
test/test_event_queue/test_event_queue_3.cpp
eric-erki/StateOS
13f57c341f870422ba599832d8055762365a247b
[ "MIT" ]
1
2020-12-13T15:01:49.000Z
2020-12-13T15:01:49.000Z
#include "test.h" static auto Evq0 = EventQueueT<1>(); static auto Evq1 = EventQueueT<1>(); static auto Evq2 = EventQueueT<1>(); static auto Evq3 = EventQueueT<1>(); static unsigned sent; static void proc3() { unsigned received; unsigned event; event = Evq3.wait(&received); ASSERT_success(event);...
34.939759
72
0.482759
ab1aw
fd3cf47ac14c514d4888e6882b9a7cf26f3f3a30
750
hpp
C++
src/editor/TreeItem.hpp
tedvalson/NovelTea
f731951f25936cb7f5ff23e543e0301c1b5bfe82
[ "MIT" ]
null
null
null
src/editor/TreeItem.hpp
tedvalson/NovelTea
f731951f25936cb7f5ff23e543e0301c1b5bfe82
[ "MIT" ]
null
null
null
src/editor/TreeItem.hpp
tedvalson/NovelTea
f731951f25936cb7f5ff23e543e0301c1b5bfe82
[ "MIT" ]
null
null
null
#ifndef TREEITEM_H #define TREEITEM_H #include <QList> #include <QVariant> class TreeItem { public: explicit TreeItem(const QString &title, TreeItem *parent = 0); explicit TreeItem(const QList<QVariant> &data, TreeItem *parent = 0); ~TreeItem(); void appendChild(TreeItem *child); TreeItem *child(int row) const...
21.428571
70
0.744
tedvalson
fd3eb5f1332fc86462fb5330cf39d536b24a1b74
4,319
cpp
C++
test/test_transformation.cpp
uncommoncode/color_cpp
0f9ee85b872faf77b959628cdf5ae999096e4e7f
[ "BSD-2-Clause" ]
5
2016-05-30T19:57:27.000Z
2020-12-09T13:24:49.000Z
test/test_transformation.cpp
uncommoncode/color_cpp
0f9ee85b872faf77b959628cdf5ae999096e4e7f
[ "BSD-2-Clause" ]
3
2016-05-30T21:52:12.000Z
2016-06-17T05:36:12.000Z
test/test_transformation.cpp
uncommoncode/color_cpp
0f9ee85b872faf77b959628cdf5ae999096e4e7f
[ "BSD-2-Clause" ]
1
2020-09-05T20:06:10.000Z
2020-09-05T20:06:10.000Z
#include <gtest/gtest.h> #include "test_util.hpp" #include <color/transformation.hpp> namespace color { TEST(Rgb888, Size) { rgb888_t rgb888; ASSERT_EQ(4, sizeof(rgb888)); } TEST(Rgb888, Conversions) { rgb888_t rgb888; rgb888 = 0x00123456; uRgb urgb = to_urgb(rgb888); ASSERT_EQ(0x12, urgb.red); ASSER...
30.631206
99
0.727483
uncommoncode
fd3f56ada1fbd2bc31b37257a5fb09004807a86b
6,194
cpp
C++
src/util/util_view.cpp
skwerner/coreBlackbird
f3d264220a68503c2983c76ed042e792a0e3bfc5
[ "Apache-2.0" ]
20
2021-05-26T02:43:32.000Z
2022-03-28T02:13:14.000Z
src/util/util_view.cpp
skwerner/coreBlackbird
f3d264220a68503c2983c76ed042e792a0e3bfc5
[ "Apache-2.0" ]
19
2021-02-03T02:36:24.000Z
2021-05-20T18:20:59.000Z
src/util/util_view.cpp
skwerner/coreBlackbird
f3d264220a68503c2983c76ed042e792a0e3bfc5
[ "Apache-2.0" ]
10
2021-08-03T19:38:41.000Z
2021-11-09T14:07:07.000Z
/* * Copyright 2011-2013 Blender 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 applicable law or ag...
21.733333
75
0.636099
skwerner
fd41c40df1718f94a857e641314acda145c23d2a
17,236
cc
C++
dcmwlm/apps/wlcefs.cc
trice-imaging/dcmtk-fork
74c7dc92a48bb7a9be72a6becaa76d43b624c80c
[ "Apache-2.0" ]
null
null
null
dcmwlm/apps/wlcefs.cc
trice-imaging/dcmtk-fork
74c7dc92a48bb7a9be72a6becaa76d43b624c80c
[ "Apache-2.0" ]
null
null
null
dcmwlm/apps/wlcefs.cc
trice-imaging/dcmtk-fork
74c7dc92a48bb7a9be72a6becaa76d43b624c80c
[ "Apache-2.0" ]
null
null
null
/* * * Copyright (C) 1996-2013, OFFIS e.V. * All rights reserved. See COPYRIGHT file for details. * * This software and supporting documentation were developed by * * OFFIS e.V. * R&D Division Health * Escherweg 2 * D-26121 Oldenburg, Germany * * * Module: dcmwlm * * Author: Thomas Wi...
41.333333
137
0.651659
trice-imaging
fd47a19dbfa7a3ddd34d47c113bfb812c4eccb27
4,549
cpp
C++
src/expression.cpp
staticlibs/staticlib_cron
49838bcf4af9faf497169bd9b642bdb30f276bf4
[ "Apache-2.0" ]
5
2016-09-14T12:37:43.000Z
2020-12-22T06:50:04.000Z
src/expression.cpp
staticlibs/staticlib_cron
49838bcf4af9faf497169bd9b642bdb30f276bf4
[ "Apache-2.0" ]
null
null
null
src/expression.cpp
staticlibs/staticlib_cron
49838bcf4af9faf497169bd9b642bdb30f276bf4
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2016, alex at staticlibs.net * * 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 ag...
33.947761
115
0.643438
staticlibs
fd58e4b5498ec74b7a052bbedb8f5c235bee293e
4,365
cpp
C++
unittests/mcrepo/test_compilation.cpp
paulhuggett/pstore2
a0c663d10a2e2713fdf39ecdae1f9c1e96041f5c
[ "Apache-2.0" ]
11
2018-02-02T21:24:49.000Z
2020-12-11T04:06:03.000Z
unittests/mcrepo/test_compilation.cpp
SNSystems/pstore
74e9dd960245d6bfc125af03ed964d8ad660a62d
[ "Apache-2.0" ]
63
2018-02-05T17:24:59.000Z
2022-03-22T17:26:28.000Z
unittests/mcrepo/test_compilation.cpp
paulhuggett/pstore
067be94d87c87fce524c8d76c6f47c347d8f1853
[ "Apache-2.0" ]
5
2020-01-13T22:47:11.000Z
2021-05-14T09:31:15.000Z
//===- unittests/mcrepo/test_compilation.cpp ------------------------------===// //* _ _ _ _ * //* ___ ___ _ __ ___ _ __ (_) | __ _| |_(_) ___ _ __ * //* / __/ _ \| '_ ` _ \| '_ \| | |/ _` | __| |/ _ \| '_ \ * //* | (_| (_) | | | | | | |_) | | | (_| | |_| | (_) |...
41.571429
97
0.600458
paulhuggett
fd59a632fdc4bddb2a56231d17bd9b74dd4f0c9f
969
cpp
C++
test/doc/core/cyl_bessel_y.cpp
orao/eve
a8bdc6a9cab06d905e8749354cde63776ab76846
[ "MIT" ]
null
null
null
test/doc/core/cyl_bessel_y.cpp
orao/eve
a8bdc6a9cab06d905e8749354cde63776ab76846
[ "MIT" ]
null
null
null
test/doc/core/cyl_bessel_y.cpp
orao/eve
a8bdc6a9cab06d905e8749354cde63776ab76846
[ "MIT" ]
null
null
null
#include <eve/function/cyl_bessel_y.hpp> #include <eve/wide.hpp> #include <eve/constant/inf.hpp> #include <eve/constant/minf.hpp> #include <eve/constant/nan.hpp> #include <iostream> using wide_ft = eve::wide<double, eve::fixed<8>>; int main() { wide_ft pd = {0.5, 1.5, 0.1, 1.0, 19.0, 25.0, 21.5, 10000.0}; wide_f...
29.363636
83
0.434469
orao
fd5a06b245c7f4c18d4f75f1dbb2afc0ccf0cfc3
7,735
cpp
C++
vfkm/main.cpp
LouisFaure/dyntrack
1af9d9a1851900a8ae62f54e44b20e04df618f29
[ "BSD-3-Clause" ]
null
null
null
vfkm/main.cpp
LouisFaure/dyntrack
1af9d9a1851900a8ae62f54e44b20e04df618f29
[ "BSD-3-Clause" ]
null
null
null
vfkm/main.cpp
LouisFaure/dyntrack
1af9d9a1851900a8ae62f54e44b20e04df618f29
[ "BSD-3-Clause" ]
null
null
null
#include <iostream> #include <fstream> #include <cfloat> #include <cstdlib> #include <sstream> #include <queue> #include <map> #include <cassert> #include "Optimizer.h" #include "Util.h" using namespace std; void initExperiment(string filename, Cluster*& rootCluster, Grid*& g, vector<PolygonalPath>& curves, in...
31.571429
117
0.629089
LouisFaure
fd5d327962e2069896bc173654ae2cf5cd8b3e34
880
cpp
C++
Temple_Land.cpp
PrathameshThorat008/CodeChef-Solution-Cpp
780a1727cc1a39fc8ddb495aea877e33e59410a8
[ "MIT" ]
null
null
null
Temple_Land.cpp
PrathameshThorat008/CodeChef-Solution-Cpp
780a1727cc1a39fc8ddb495aea877e33e59410a8
[ "MIT" ]
null
null
null
Temple_Land.cpp
PrathameshThorat008/CodeChef-Solution-Cpp
780a1727cc1a39fc8ddb495aea877e33e59410a8
[ "MIT" ]
null
null
null
// https://www.codechef.com/problems/TEMPLELA #include <iostream> using namespace std; int main() { int t; cin >> t; while (t--) { int n; cin >> n; int arr[n]; for (int i = 0; i < n; i++) cin >> arr[i]; if (n % 2 > 0 && arr[0] == 1 && arr[n - 1] == ...
20
56
0.260227
PrathameshThorat008
5b80692f45691da37fba70466ee3b4a7b90823f2
471
cpp
C++
1037.cpp
Graziele-Rodrigues/URI
bea5893eb2a378284e19fe3e187c4a94c4587c44
[ "Apache-2.0" ]
null
null
null
1037.cpp
Graziele-Rodrigues/URI
bea5893eb2a378284e19fe3e187c4a94c4587c44
[ "Apache-2.0" ]
null
null
null
1037.cpp
Graziele-Rodrigues/URI
bea5893eb2a378284e19fe3e187c4a94c4587c44
[ "Apache-2.0" ]
null
null
null
#include<stdio.h> int main() { double n; scanf("%lf",&n); if(n<0 || n>100) { printf("Fora de intervalo\n"); } else if(n<=25.00) { printf("Intervalo [0,25]\n"); } else if(n<=50.0) { printf("Intervalo (25,50]\n"); } else if(n<=75.0) ...
8.722222
39
0.41189
Graziele-Rodrigues
5b8374d280640264da4bcb51e963677cd713e18f
923
cpp
C++
12_testvorbereitung/41_LonelyElement/main.cpp
theroyalcoder/HF-ICT-3-SEM-AAD
2dfa964b890199c1097e0c72c8abd68f1703cb29
[ "MIT" ]
null
null
null
12_testvorbereitung/41_LonelyElement/main.cpp
theroyalcoder/HF-ICT-3-SEM-AAD
2dfa964b890199c1097e0c72c8abd68f1703cb29
[ "MIT" ]
null
null
null
12_testvorbereitung/41_LonelyElement/main.cpp
theroyalcoder/HF-ICT-3-SEM-AAD
2dfa964b890199c1097e0c72c8abd68f1703cb29
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; class StringUtil { public : static char getLonelyElement(string input) ; }; /*Implementieren Sie eine Methode getLonelyElement welche als Parameter einen string bekommt. * Jeder Character in diesem string kommt zweimal vor, ausser eines. Die Methode soll das Element zuru ̈...
24.289474
114
0.583965
theroyalcoder
5b89d7053af0556de4b5c06608d1547a50882d5a
423
hpp
C++
tse/include/tse/opengl.hpp
jeffrey-cochran/tsl
a9ae6fb2755fcbd1311c16e9faff87445419f7f0
[ "Apache-2.0", "MIT" ]
4
2020-03-05T04:34:28.000Z
2022-02-17T04:39:51.000Z
tse/include/tse/opengl.hpp
jeffrey-cochran/tsl
a9ae6fb2755fcbd1311c16e9faff87445419f7f0
[ "Apache-2.0", "MIT" ]
47
2019-02-21T11:16:20.000Z
2019-07-10T20:30:13.000Z
tse/include/tse/opengl.hpp
jovobe/tsl
6c024a2325d1c6cb3019b4169a6f3f214a224587
[ "Apache-2.0", "MIT" ]
4
2020-06-20T15:36:11.000Z
2022-01-04T03:22:45.000Z
#ifndef TSE_OPENGL_HPP #define TSE_OPENGL_HPP #include <string> #include <vector> #include <GL/glew.h> using std::string; using std::vector; namespace tse { /** * @brief Creates a program with the given shaders. */ GLuint create_program(vector<GLuint> shaders); /** * @brief Creates a shader from the given file...
15.666667
68
0.732861
jeffrey-cochran
5b8a2ca8748afa4ada27337d07adbf22281f94b9
5,438
cpp
C++
logos/consensus/epoch/epoch_consensus_manager.cpp
LogosNetwork/logos-core
6b155539a734efefb8f649a761d044b5f267a51a
[ "BSD-2-Clause" ]
3
2020-01-17T18:05:19.000Z
2021-12-29T04:21:59.000Z
logos/consensus/epoch/epoch_consensus_manager.cpp
LogosNetwork/logos-core
6b155539a734efefb8f649a761d044b5f267a51a
[ "BSD-2-Clause" ]
null
null
null
logos/consensus/epoch/epoch_consensus_manager.cpp
LogosNetwork/logos-core
6b155539a734efefb8f649a761d044b5f267a51a
[ "BSD-2-Clause" ]
2
2020-12-22T05:51:53.000Z
2021-06-08T00:27:46.000Z
/// @file /// This file contains specialization of the ConsensusManager class, which /// handles specifics of Epoch consensus /// #include <logos/consensus/epoch/epoch_backup_delegate.hpp> #include <logos/consensus/epoch/epoch_consensus_manager.hpp> #include <logos/identity_management/delegate_identity_manager.hpp> #in...
30.379888
107
0.680213
LogosNetwork
5b8db03d66e9e937a3e24fea9200e8178be2c0fc
22,027
cpp
C++
source/renderer/resources/BufferManager.cpp
DaSutt/VolumetricParticles
6ec9bac4bec4a8757343bb770b23110ef2364dfd
[ "Apache-2.0" ]
6
2017-06-26T11:42:26.000Z
2018-09-10T17:53:53.000Z
source/renderer/resources/BufferManager.cpp
DaSutt/VolumetricParticles
6ec9bac4bec4a8757343bb770b23110ef2364dfd
[ "Apache-2.0" ]
8
2017-06-24T20:25:42.000Z
2017-08-09T10:50:40.000Z
source/renderer/resources/BufferManager.cpp
DaSutt/VolumetricParticles
6ec9bac4bec4a8757343bb770b23110ef2364dfd
[ "Apache-2.0" ]
null
null
null
/* MIT License Copyright(c) 2017 Daniel Suttor Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files(the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, di...
29.846883
122
0.68979
DaSutt
5b9370873a218cd6f6c80ac39c8e7e54c2d8c330
3,150
cpp
C++
tests/Engine/Shader/SerializationsTests.cpp
jayrulez/NazaraEngine
e0310cd141f3cc11dbe8abfd5bfedf6b61de1a99
[ "BSD-3-Clause-Clear", "Apache-2.0", "MIT" ]
null
null
null
tests/Engine/Shader/SerializationsTests.cpp
jayrulez/NazaraEngine
e0310cd141f3cc11dbe8abfd5bfedf6b61de1a99
[ "BSD-3-Clause-Clear", "Apache-2.0", "MIT" ]
null
null
null
tests/Engine/Shader/SerializationsTests.cpp
jayrulez/NazaraEngine
e0310cd141f3cc11dbe8abfd5bfedf6b61de1a99
[ "BSD-3-Clause-Clear", "Apache-2.0", "MIT" ]
null
null
null
#include <Engine/Shader/ShaderUtils.hpp> #include <Nazara/Core/File.hpp> #include <Nazara/Core/StringExt.hpp> #include <Nazara/Shader/ShaderBuilder.hpp> #include <Nazara/Shader/ShaderLangParser.hpp> #include <Nazara/Shader/Ast/AstSerializer.hpp> #include <Nazara/Shader/Ast/AstCompare.hpp> #include <Nazara/Shader/Ast/Sa...
15.594059
84
0.688889
jayrulez
5b938c055a9eb37305cd47c14ca061a659147f29
476
cpp
C++
Main.cpp
para7/OpenSiv3D_SceneManager_Custom
ce547514093e692f37b6d521cf30eec3a34a1ba0
[ "MIT" ]
null
null
null
Main.cpp
para7/OpenSiv3D_SceneManager_Custom
ce547514093e692f37b6d521cf30eec3a34a1ba0
[ "MIT" ]
null
null
null
Main.cpp
para7/OpenSiv3D_SceneManager_Custom
ce547514093e692f37b6d521cf30eec3a34a1ba0
[ "MIT" ]
null
null
null
# include <Siv3D.hpp> // OpenSiv3D v0.2.8 # include "SceneManager2.cpp" void Main() { Graphics::SetBackground(ColorF(0.8, 0.9, 1.0)); const Font font(50); const Texture textureCat(Emoji(U"🐈"), TextureDesc::Mipped); while (System::Update()) { font(U"Hello, Siv3D!🐣").drawAt(Window::Center(), Palette::Black...
19.04
67
0.640756
para7
5b9674c1eb5235b55c19b494843ef2f6b6c775ab
720
cpp
C++
src/armed/PaintDispatcher.cpp
retrowork/wme
54cf8905091736aef0a35fe6d3e05b818441f3c8
[ "MIT" ]
null
null
null
src/armed/PaintDispatcher.cpp
retrowork/wme
54cf8905091736aef0a35fe6d3e05b818441f3c8
[ "MIT" ]
null
null
null
src/armed/PaintDispatcher.cpp
retrowork/wme
54cf8905091736aef0a35fe6d3e05b818441f3c8
[ "MIT" ]
null
null
null
// This file is part of Wintermute Engine // For conditions of distribution and use, see copyright notice in license.txt #include "StdAfx.h" #include "PaintDispatcher.h" #include "Game.h" using namespace Wme; namespace Armed { ////////////////////////////////////////////////////////////////////////// ...
22.5
79
0.481944
retrowork
5b99c0b6ebfb2432204d968b8d0b851e782fab55
12,452
cpp
C++
tests/Geometry/XSPoint3D4Test.cpp
Sibras/ShiftLib
83e1ab9605aca6535af836ad1e68bf3c3049d976
[ "Apache-2.0" ]
null
null
null
tests/Geometry/XSPoint3D4Test.cpp
Sibras/ShiftLib
83e1ab9605aca6535af836ad1e68bf3c3049d976
[ "Apache-2.0" ]
null
null
null
tests/Geometry/XSPoint3D4Test.cpp
Sibras/ShiftLib
83e1ab9605aca6535af836ad1e68bf3c3049d976
[ "Apache-2.0" ]
null
null
null
/** * Copyright Matthew Oliver * * 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...
59.295238
120
0.655236
Sibras
5b9d8d30b511a2aef4ec3bb7b1d38fad070a29db
20,053
cpp
C++
libs/safecass/code/filterBase.cpp
safecass/safecass
1e0e6760b9720f6f2779779ed428e5c8c1eb2a88
[ "MIT" ]
null
null
null
libs/safecass/code/filterBase.cpp
safecass/safecass
1e0e6760b9720f6f2779779ed428e5c8c1eb2a88
[ "MIT" ]
41
2015-09-21T03:29:27.000Z
2016-12-31T06:42:47.000Z
libs/safecass/code/filterBase.cpp
safecass/safecass
1e0e6760b9720f6f2779779ed428e5c8c1eb2a88
[ "MIT" ]
null
null
null
//----------------------------------------------------------------------------------- // // SAFECASS: Safety Architecture For Engineering Computer-Assisted Surgical Systems // // Copyright (C) 2012-2016 Min Yang Jung and Peter Kazanzides // //-----------------------------------------------------------------------------...
35.808929
154
0.610432
safecass
5bac25439a459394a17f733f994c048d623184c9
3,122
hpp
C++
extra/mapgen/include/heightMap.hpp
masscry/badbaby
f0b2e793081491ed7598d3170725fe4b48ae1fff
[ "MIT" ]
null
null
null
extra/mapgen/include/heightMap.hpp
masscry/badbaby
f0b2e793081491ed7598d3170725fe4b48ae1fff
[ "MIT" ]
null
null
null
extra/mapgen/include/heightMap.hpp
masscry/badbaby
f0b2e793081491ed7598d3170725fe4b48ae1fff
[ "MIT" ]
null
null
null
/** * @file heightMap.hpp * * Height map routines * */ #pragma once #ifndef __BB_EXTRA_HEIGHT_MAP_HEADER__ #define __BB_EXTRA_HEIGHT_MAP_HEADER__ #include <cstdint> #include <memory> #include <utility> #include <algebra.hpp> #include <binstore.hpp> namespace bb { namespace ext { class heightMap_t fin...
20.813333
67
0.607303
masscry
5bad48246b29d7427655f32afb9f237b9eed6390
809
cpp
C++
solutions-PAT/B1033.cpp
Ki-Seki/solutions
e4329712d664180d850e0a48d7d0f637215f13d0
[ "MIT" ]
1
2022-02-26T10:33:24.000Z
2022-02-26T10:33:24.000Z
solutions-PAT/B1033.cpp
Ki-Seki/solutions
e4329712d664180d850e0a48d7d0f637215f13d0
[ "MIT" ]
null
null
null
solutions-PAT/B1033.cpp
Ki-Seki/solutions
e4329712d664180d850e0a48d7d0f637215f13d0
[ "MIT" ]
1
2021-12-01T14:54:33.000Z
2021-12-01T14:54:33.000Z
/* * hint: * 测试点2:考察对第一个字符串的正确读取,题中未说明第一个字符串不含空格 */ #include <iostream> #include <cstring> #define MAX_LEN 100005 #define MAX_ASCII 256 using namespace std; bool isBroken[MAX_ASCII] = {}; int my_hash(char c) { if ('A' <= c && c <= 'Z') return c - 'A' + 'a'; else return c; } int main() { char str1[MAX_L...
22.472222
76
0.545117
Ki-Seki
5baf4c387a00279b72704fc2679951ba1f55ebf0
263
cpp
C++
ADS/Lab/Programs/Constructor.cpp
Anekenonso/FirstYear
3616b8b0e9cf98d5fd5211e4f20513b4af92ed83
[ "Unlicense" ]
null
null
null
ADS/Lab/Programs/Constructor.cpp
Anekenonso/FirstYear
3616b8b0e9cf98d5fd5211e4f20513b4af92ed83
[ "Unlicense" ]
null
null
null
ADS/Lab/Programs/Constructor.cpp
Anekenonso/FirstYear
3616b8b0e9cf98d5fd5211e4f20513b4af92ed83
[ "Unlicense" ]
null
null
null
#include <iostream> using namespace std; class Temp { public: Temp() { cout<<"Contstructed"; foo(); } Temp(int s) { cout<<s; } ~Temp() { //cout<<"bye bye cruel world"; } int foo() { cout<<"print something"; } }; int main() { Temp t1,t2; }
9.392857
32
0.555133
Anekenonso
5bb4df18c17ab361d8da07cc1575d1cd7aac0d62
542
cpp
C++
solved-codeforces/the_redback/contest/110/a/3586892.cpp
Maruf-Tuhin/Online_Judge
cf9b2a522e8b1a9623d3996a632caad7fd67f751
[ "MIT" ]
1
2019-03-31T05:47:30.000Z
2019-03-31T05:47:30.000Z
solved-codeforces/the_redback/contest/110/a/3586892.cpp
the-redback/competitive-programming
cf9b2a522e8b1a9623d3996a632caad7fd67f751
[ "MIT" ]
null
null
null
solved-codeforces/the_redback/contest/110/a/3586892.cpp
the-redback/competitive-programming
cf9b2a522e8b1a9623d3996a632caad7fd67f751
[ "MIT" ]
null
null
null
#include <cstdio> #include <cstring> #include <cstdlib> #include <cmath> #include <algorithm> #include <iostream> #include <string> #include <vector> using namespace std; main() { char a[30]; int i,j,k,l; while(gets(a)) { k=0; l=strlen(a); for(i=0;i<l;i++) { i...
15.941176
38
0.402214
Maruf-Tuhin
5bb7a45382e520a8a505509d6c44899e8231b2a8
3,696
hpp
C++
lib/primitive/src/net/Connection.hpp
tkeycoin/tkeycoin2
7fb88605b8874e16c01df1ee2d47f45094d5cf57
[ "MIT" ]
3
2020-01-24T04:45:14.000Z
2020-06-30T13:49:58.000Z
lib/primitive/src/net/Connection.hpp
Dikii27/tkeycoin2
7fb88605b8874e16c01df1ee2d47f45094d5cf57
[ "MIT" ]
1
2020-06-18T15:51:36.000Z
2020-06-20T17:25:45.000Z
lib/primitive/src/net/Connection.hpp
Dikii27/tkeycoin2
7fb88605b8874e16c01df1ee2d47f45094d5cf57
[ "MIT" ]
1
2020-10-20T06:50:13.000Z
2020-10-20T06:50:13.000Z
// Copyright (c) 2017-2019 Tkeycoin Dao. All rights reserved. // Copyright (c) 2019-2020 TKEY DMCC LLC & Tkeycoin Dao. All rights reserved. // Website: www.tkeycoin.com // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may...
20.307692
92
0.713203
tkeycoin
5bb85155f7d1a2c7297075dc12dc6a5ba00f0f12
396
cpp
C++
examples/appearance/multiplot/yyaxis/yyaxis_6.cpp
kurogane1031/matplotplusplus
44d21156edba8effe1e764a8642b0b70590d597b
[ "MIT" ]
2
2020-09-02T14:02:26.000Z
2020-10-28T07:00:44.000Z
examples/appearance/multiplot/yyaxis/yyaxis_6.cpp
kurogane1031/matplotplusplus
44d21156edba8effe1e764a8642b0b70590d597b
[ "MIT" ]
null
null
null
examples/appearance/multiplot/yyaxis/yyaxis_6.cpp
kurogane1031/matplotplusplus
44d21156edba8effe1e764a8642b0b70590d597b
[ "MIT" ]
2
2020-09-01T16:22:07.000Z
2020-09-02T14:02:27.000Z
#include <matplot/matplot.h> int main() { using namespace matplot; vector_1d x = linspace(1,10); tiledlayout(2,1); auto ax1 = nexttile(); plot(ax1,x, transform(x, [](double x) { return sin(x); })); hold(on); plot(ax1,x, transform(x, [](double x) { return exp(x); }))->use_y2(true); a...
19.8
77
0.568182
kurogane1031
5bbc94dd88c4a9dd486f4e506fea085eb8f4b8d0
301
hpp
C++
NucleotideBases.hpp
sehgal-aamulya/SequenceAlignmentAlgorithms
35ce3c9a35c1a681f03c5b605b6152a1a30c014f
[ "MIT" ]
null
null
null
NucleotideBases.hpp
sehgal-aamulya/SequenceAlignmentAlgorithms
35ce3c9a35c1a681f03c5b605b6152a1a30c014f
[ "MIT" ]
null
null
null
NucleotideBases.hpp
sehgal-aamulya/SequenceAlignmentAlgorithms
35ce3c9a35c1a681f03c5b605b6152a1a30c014f
[ "MIT" ]
null
null
null
// // Created by Aamulya Sehgal on 11/16/21. // #ifndef CSCI570FINALPROJECT_NUCLEOTIDEBASES_HPP #define CSCI570FINALPROJECT_NUCLEOTIDEBASES_HPP enum NucleotideBases { A, C, G, T, // never none }; NucleotideBases fromCharacter(char alphabet); #endif //CSCI570FINALPROJECT_NUCLEOTIDEBASES_HPP
17.705882
48
0.784053
sehgal-aamulya
5bbfda2b90d3fa6de6de04d6e1f61b3e1308e731
7,556
hpp
C++
include/bacs/system/single/tester_util.hpp
bacsorg/system_single
48b746d5b4bd8442f546459e543039583bbf0929
[ "Apache-2.0" ]
null
null
null
include/bacs/system/single/tester_util.hpp
bacsorg/system_single
48b746d5b4bd8442f546459e543039583bbf0929
[ "Apache-2.0" ]
null
null
null
include/bacs/system/single/tester_util.hpp
bacsorg/system_single
48b746d5b4bd8442f546459e543039583bbf0929
[ "Apache-2.0" ]
null
null
null
#pragma once #include <bacs/problem/single/problem.pb.h> #include <bacs/problem/single/result.pb.h> #include <bacs/system/single/checker.hpp> #include <bacs/system/single/error.hpp> #include <bacs/system/single/test/storage.hpp> #include <yandex/contest/invoker/All.hpp> #include <bunsan/tempfile.hpp> #include <boos...
36.326923
79
0.675225
bacsorg
5bc5c44c22442d961ddcb1df24a1db23002ad7be
2,973
cpp
C++
groups/bal/balst/balst_stacktraceprinter.cpp
AlisdairM/bde
bc65db208c32513aa545080f57090cc39c608be0
[ "Apache-2.0" ]
1
2022-01-23T11:31:12.000Z
2022-01-23T11:31:12.000Z
groups/bal/balst/balst_stacktraceprinter.cpp
AlisdairM/bde
bc65db208c32513aa545080f57090cc39c608be0
[ "Apache-2.0" ]
null
null
null
groups/bal/balst/balst_stacktraceprinter.cpp
AlisdairM/bde
bc65db208c32513aa545080f57090cc39c608be0
[ "Apache-2.0" ]
null
null
null
// balst_stacktraceprinter.cpp -*-C++-*- #include <balst_stacktraceprinter.h> #include <bsls_ident.h> BSLS_IDENT_RCSID(balst_streamer,"$Id$ $CSID$") #include <balst_stacktraceprintutil.h> #include <balst_stacktraceutil.h> #include <bsls_assert.h> #if defined(BSLS_PLATFORM_OS_W...
34.976471
79
0.585604
AlisdairM
5bc651082fc059294e5de4cca42f2b04fac78ca7
807
cpp
C++
0200/70/278a.cpp
actium/cf
d7be128c3a9adb014a231a399f1c5f19e1ab2a38
[ "Unlicense" ]
1
2020-07-03T15:55:52.000Z
2020-07-03T15:55:52.000Z
0200/70/278a.cpp
actium/cf
d7be128c3a9adb014a231a399f1c5f19e1ab2a38
[ "Unlicense" ]
null
null
null
0200/70/278a.cpp
actium/cf
d7be128c3a9adb014a231a399f1c5f19e1ab2a38
[ "Unlicense" ]
3
2020-10-01T14:55:28.000Z
2021-07-11T11:33:58.000Z
#include <iostream> #include <vector> template <typename T> std::istream& operator >>(std::istream& input, std::vector<T>& v) { for (T& a : v) input >> a; return input; } void answer(size_t v) { std::cout << v << '\n'; } void solve(const std::vector<size_t>& d, size_t s, size_t t) { if (s > ...
14.944444
65
0.452292
actium
5bcba877dd872b66913786845c56827d5fea21cd
18,940
hpp
C++
components/scream/src/share/field/field_manager.hpp
bartgol/scream
4bd0a0d50740a2b3002917362314fc3246bd124d
[ "FTL", "zlib-acknowledgement", "RSA-MD" ]
null
null
null
components/scream/src/share/field/field_manager.hpp
bartgol/scream
4bd0a0d50740a2b3002917362314fc3246bd124d
[ "FTL", "zlib-acknowledgement", "RSA-MD" ]
null
null
null
components/scream/src/share/field/field_manager.hpp
bartgol/scream
4bd0a0d50740a2b3002917362314fc3246bd124d
[ "FTL", "zlib-acknowledgement", "RSA-MD" ]
null
null
null
#ifndef SCREAM_FIELD_MANAGER_HPP #define SCREAM_FIELD_MANAGER_HPP #include "share/grid/grids_manager.hpp" #include "share/field/field.hpp" #include "share/util/map_key_iterator.hpp" #include "share/scream_types.hpp" #include "ekat/ekat_assert.hpp" #include "ekat/util/ekat_string_utils.hpp" #include <initializer_list...
38.032129
122
0.69509
bartgol
5bcea7c6bd85f0218d559b00833150636bc75efe
1,091
cxx
C++
test/template3.cxx
paulwratt/cin-5.34.00
036a8202f11a4a0e29ccb10d3c02f304584cda95
[ "MIT" ]
10
2018-03-26T07:41:44.000Z
2021-11-06T08:33:24.000Z
test/template3.cxx
paulwratt/cin-5.34.00
036a8202f11a4a0e29ccb10d3c02f304584cda95
[ "MIT" ]
null
null
null
test/template3.cxx
paulwratt/cin-5.34.00
036a8202f11a4a0e29ccb10d3c02f304584cda95
[ "MIT" ]
1
2020-11-17T03:17:00.000Z
2020-11-17T03:17:00.000Z
/* -*- C++ -*- */ /************************************************************************* * Copyright(c) 1995~2005 Masaharu Goto (root-cint@cern.ch) * * For the licensing terms see the file COPYING * ************************************************************************/ #include <stdio.h> #ifdef __CINT__ #i...
22.729167
74
0.546288
paulwratt
5bd05e3a0cde85c3bca9bb6889497b7492a27f45
14,922
cpp
C++
experiments/place_cube_in_bin/viapoints_experiment.cpp
Slifer64/novel-DMP-constraints
cad6727a12642130dc64fd93827099e4cb763ec8
[ "MIT" ]
null
null
null
experiments/place_cube_in_bin/viapoints_experiment.cpp
Slifer64/novel-DMP-constraints
cad6727a12642130dc64fd93827099e4cb763ec8
[ "MIT" ]
null
null
null
experiments/place_cube_in_bin/viapoints_experiment.cpp
Slifer64/novel-DMP-constraints
cad6727a12642130dc64fd93827099e4cb763ec8
[ "MIT" ]
null
null
null
#include <gmp_mpc_controller/experiment/viapoints_experiment.h> #include <gmp_mpc_controller/gmp_mpc_controller.h> namespace gmp_mpc_ctrl_ { #define GmpMpcViapoints_fun_ std::string("[GmpMpcViapoints_fun_::") + __func__ + "]: " ViapointsExperiment::ViapointsExperiment(GmpMpcController *ctrl_) { this->ctrl = ctrl...
33.836735
162
0.638118
Slifer64
5bd2c31cd6490c709e52d6e89bbb5f9242d1fdee
1,042
hpp
C++
hittable.hpp
edydfang/PathTracing
4e756575d3345ae76febf1f34132f8c056694c99
[ "MIT" ]
3
2022-01-06T09:10:04.000Z
2022-01-16T06:30:28.000Z
hittable.hpp
edwardfang/PathTracing
4e756575d3345ae76febf1f34132f8c056694c99
[ "MIT" ]
1
2020-12-16T08:01:28.000Z
2020-12-16T08:07:19.000Z
hittable.hpp
edydfang/PathTracing
4e756575d3345ae76febf1f34132f8c056694c99
[ "MIT" ]
null
null
null
// this file is an supper class for cuboid, square and sphere #pragma once //----------------------------------------------------------------------------- // Includes //----------------------------------------------------------------------------- #pragma region #include "geometry.hpp" #include "texture.hpp" #pragma ...
34.733333
165
0.62476
edydfang
5bd7faf45aaeccdf3de3e74070c67383a70de280
1,465
cpp
C++
src/ECS/Systems/pickupSystem.cpp
SPC-Some-Polish-Coders/PopHead
2bce21b1a6b3d16a2ccecf0d15faeebf6a486c81
[ "MIT" ]
117
2019-03-18T20:09:54.000Z
2022-03-27T22:40:52.000Z
src/ECS/Systems/pickupSystem.cpp
SPC-Some-Polish-Coders/PopHead
2bce21b1a6b3d16a2ccecf0d15faeebf6a486c81
[ "MIT" ]
443
2019-04-07T19:59:56.000Z
2020-05-23T12:25:28.000Z
src/ECS/Systems/pickupSystem.cpp
SPC-Some-Polish-Coders/PopHead
2bce21b1a6b3d16a2ccecf0d15faeebf6a486c81
[ "MIT" ]
19
2019-03-20T19:57:34.000Z
2020-11-21T15:35:02.000Z
#include "pch.hpp" #include "pickupSystem.hpp" #include "ECS/Components/charactersComponents.hpp" #include "ECS/Components/physicsComponents.hpp" #include "ECS/Components/itemComponents.hpp" #include "ECS/Components/simRegionComponents.hpp" namespace ph::system { void PickupItems::update(float dt) { PH_PROFILE_FUNCT...
30.520833
89
0.758362
SPC-Some-Polish-Coders
5be5390a095efd2565d9e973b4e253775b1d8128
679
hpp
C++
kv/geoseries.hpp
soonho-tri/kv
4963be6560d8600cdc9ff22d004b2b965ae7b1df
[ "MIT" ]
67
2017-01-04T15:30:54.000Z
2022-03-31T05:45:02.000Z
src/interval/kv/geoseries.hpp
takafumihoriuchi/HyLaGI
26b9f32a84611ee62d9cbbd903773d224088c959
[ "BSL-1.0" ]
4
2017-02-10T02:59:45.000Z
2019-10-10T14:17:08.000Z
src/interval/kv/geoseries.hpp
takafumihoriuchi/HyLaGI
26b9f32a84611ee62d9cbbd903773d224088c959
[ "BSL-1.0" ]
5
2021-09-29T02:27:46.000Z
2022-03-31T05:45:04.000Z
/* * Copyright (c) 2015 Masahide Kashiwagi (kashi@waseda.jp) */ #ifndef GEOSERIES_HPP #define GEOSERIES_HPP #include <kv/interval.hpp> #include <kv/rdouble.hpp> /* * calculate infinite sum of interval geometric series * 1 + r_1 + r_2r_1 + r_3r_2r_1 + ... * (r_i \in I) */ namespace kv { template <class T> i...
16.560976
63
0.583211
soonho-tri
5be86ab31e24a7a202aae5ed77c2f54fb9dd6191
1,791
cpp
C++
src/gte/gte-bbox.cpp
sonicth/SUMB_ShapeFitting
65f5debdbe6729d21543b532b97367bd99b54b73
[ "BSL-1.0" ]
1
2016-09-06T09:14:48.000Z
2016-09-06T09:14:48.000Z
src/gte/gte-bbox.cpp
sonicth/SUMB_ShapeFitting
65f5debdbe6729d21543b532b97367bd99b54b73
[ "BSL-1.0" ]
null
null
null
src/gte/gte-bbox.cpp
sonicth/SUMB_ShapeFitting
65f5debdbe6729d21543b532b97367bd99b54b73
[ "BSL-1.0" ]
null
null
null
/* * copyright 2016 mike vasiljevs (contact@michaelvasiljevs.com) * ShapeFitting SU plugin */ // based on GTE library http://www.geometrictools.com/index.html // some code adapted from <GTEngine>\Samples\Geometrics\MinimumAreaBox2D\MinimumAreaBox2DWindow.cpp // // David Eberly, Geometric Tools, Redmond WA ...
25.225352
100
0.663875
sonicth