hexsha
stringlengths
40
40
size
int64
7
1.05M
ext
stringclasses
13 values
lang
stringclasses
1 value
max_stars_repo_path
stringlengths
4
269
max_stars_repo_name
stringlengths
5
108
max_stars_repo_head_hexsha
stringlengths
40
40
max_stars_repo_licenses
listlengths
1
9
max_stars_count
int64
1
191k
max_stars_repo_stars_event_min_datetime
stringlengths
24
24
max_stars_repo_stars_event_max_datetime
stringlengths
24
24
max_issues_repo_path
stringlengths
4
269
max_issues_repo_name
stringlengths
5
116
max_issues_repo_head_hexsha
stringlengths
40
40
max_issues_repo_licenses
listlengths
1
9
max_issues_count
int64
1
67k
max_issues_repo_issues_event_min_datetime
stringlengths
24
24
max_issues_repo_issues_event_max_datetime
stringlengths
24
24
max_forks_repo_path
stringlengths
4
269
max_forks_repo_name
stringlengths
5
116
max_forks_repo_head_hexsha
stringlengths
40
40
max_forks_repo_licenses
listlengths
1
9
max_forks_count
int64
1
105k
max_forks_repo_forks_event_min_datetime
stringlengths
24
24
max_forks_repo_forks_event_max_datetime
stringlengths
24
24
content
stringlengths
7
1.05M
avg_line_length
float64
1.21
330k
max_line_length
int64
6
990k
alphanum_fraction
float64
0.01
0.99
author_id
stringlengths
2
40
42875ddf68b8e6e231f1c34c497127cff79de585
3,214
hpp
C++
src/Engine/Renderer/Renderers/DebugRender.hpp
david49az/Radium-Engine
2600039e5c0658057b8b35f79222a332feceb026
[ "Apache-2.0" ]
1
2021-02-03T17:47:04.000Z
2021-02-03T17:47:04.000Z
src/Engine/Renderer/Renderers/DebugRender.hpp
david49az/Radium-Engine
2600039e5c0658057b8b35f79222a332feceb026
[ "Apache-2.0" ]
null
null
null
src/Engine/Renderer/Renderers/DebugRender.hpp
david49az/Radium-Engine
2600039e5c0658057b8b35f79222a332feceb026
[ "Apache-2.0" ]
null
null
null
#pragma once #include <Engine/RaEngine.hpp> #include <memory> #include <vector> #include <Core/Containers/VectorArray.hpp> #include <Core/Types.hpp> #include <Core/Utils/Color.hpp> #include <Core/Utils/Singleton.hpp> namespace Ra { namespace Engine { class ShaderProgram; class AttribArrayDisplayable; } // namespace...
30.903846
99
0.645924
david49az
42890423d5897e251f75e70707da5a09267a9f97
332
cpp
C++
Codechef/C++/Solubility (SOLBLTY).cpp
abdzitter/Daily-Coding-DS-ALGO-Practice
26ddbf7a3673608039a07d26d812fce31b69871a
[ "MIT" ]
289
2021-05-15T22:56:03.000Z
2022-03-28T23:13:25.000Z
Codechef/C++/Solubility (SOLBLTY).cpp
abdzitter/Daily-Coding-DS-ALGO-Practice
26ddbf7a3673608039a07d26d812fce31b69871a
[ "MIT" ]
1,812
2021-05-09T13:49:58.000Z
2022-01-15T19:27:17.000Z
Codechef/C++/Solubility (SOLBLTY).cpp
abdzitter/Daily-Coding-DS-ALGO-Practice
26ddbf7a3673608039a07d26d812fce31b69871a
[ "MIT" ]
663
2021-05-09T16:57:58.000Z
2022-03-27T14:15:07.000Z
#include <bits/stdc++.h> using namespace std; #define int long long int #define endl "\n" int32_t main() { int t; cin >> t; while (t--) { int p, x, y; cin >> p >> x >> y; int ans = 0; ans = x + (100 - p) * y; ans = ans * 10; cout << ans << endl; } ...
16.6
32
0.430723
abdzitter
4289fc2aa5fd2402e2a86bec3fa4524c70cf973e
4,556
cpp
C++
rtc_stack/utils/Worker.cpp
anjisuan783/media_lib
c09c7d48f495a803df79e39cf837bbcb1320ceb8
[ "MIT" ]
9
2022-01-07T03:10:45.000Z
2022-03-31T03:29:02.000Z
rtc_stack/utils/Worker.cpp
anjisuan783/mia
c09c7d48f495a803df79e39cf837bbcb1320ceb8
[ "MIT" ]
16
2021-12-17T08:32:57.000Z
2022-03-10T06:16:14.000Z
rtc_stack/utils/Worker.cpp
anjisuan783/media_lib
c09c7d48f495a803df79e39cf837bbcb1320ceb8
[ "MIT" ]
1
2022-02-21T15:47:21.000Z
2022-02-21T15:47:21.000Z
#include "./Worker.h" #include <algorithm> #include <memory> #include "myrtc/api/default_task_queue_factory.h" #include "myrtc/rtc_base/to_queued_task.h" namespace wa { bool ScheduledTaskReference::isCancelled() { return cancelled_; } void ScheduledTaskReference::cancel() { cancelled_ = true; } //////////////...
28.298137
92
0.628402
anjisuan783
428b536e834ccef6abc90d9128f9c7ae8b192e75
15,383
cpp
C++
test/unit_tests/test_duration.cpp
slavslav/sydevs
3106c38d327be652638bd8bd75dbe02c938800e5
[ "Apache-2.0" ]
26
2018-04-24T23:47:58.000Z
2021-05-27T16:56:27.000Z
test/unit_tests/test_duration.cpp
slavslav/sydevs
3106c38d327be652638bd8bd75dbe02c938800e5
[ "Apache-2.0" ]
2
2018-08-13T23:49:55.000Z
2020-03-27T21:09:47.000Z
test/unit_tests/test_duration.cpp
slavslav/sydevs
3106c38d327be652638bd8bd75dbe02c938800e5
[ "Apache-2.0" ]
9
2018-08-29T20:12:31.000Z
2021-06-09T12:08:51.000Z
#include <catch2/catch.hpp> #include <sydevs/core/string_builder.h> #include <sydevs/core/quantity.h> namespace sydevs { TEST_CASE("test duration constructors") { CHECK(!duration().valid()); CHECK(duration(0).multiplier() == 0); CHECK(duration(0).precision() == unit); CHECK(duration(100).multiplier()...
45.646884
120
0.62075
slavslav
429707e171dda3277947c6ae92f83456590edfbc
29,271
cc
C++
src/JobMaker.cc
ganibc/btcpool
360c90900922edab95c4759e8da7158dd12382b5
[ "MIT" ]
1
2018-05-29T13:13:47.000Z
2018-05-29T13:13:47.000Z
src/JobMaker.cc
ganibc/btcpool
360c90900922edab95c4759e8da7158dd12382b5
[ "MIT" ]
null
null
null
src/JobMaker.cc
ganibc/btcpool
360c90900922edab95c4759e8da7158dd12382b5
[ "MIT" ]
1
2019-02-28T06:20:07.000Z
2019-02-28T06:20:07.000Z
/* The MIT License (MIT) Copyright (c) [2016] [BTC.COM] Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, me...
30.909187
148
0.633084
ganibc
429bea5784defe29e1b8e7814008c928eec35630
532
cpp
C++
COURSE_WHITE/WEEK_2/FUNCTION/Maximizator/main.cpp
diekaltesonne/c-plus-plus-modern-development
d569bd20465e76aab97111bcd316cd02ebca41dd
[ "MIT" ]
null
null
null
COURSE_WHITE/WEEK_2/FUNCTION/Maximizator/main.cpp
diekaltesonne/c-plus-plus-modern-development
d569bd20465e76aab97111bcd316cd02ebca41dd
[ "MIT" ]
null
null
null
COURSE_WHITE/WEEK_2/FUNCTION/Maximizator/main.cpp
diekaltesonne/c-plus-plus-modern-development
d569bd20465e76aab97111bcd316cd02ebca41dd
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; /* *Напишите функцию UpdateIfGreater, которая принимает два целочисленных аргумента: first и second. *Если first оказался больше second, Ваша функция должна записывать в second значение параметра first. * При этом указанная функция не должна ничего возвращать, а изменение пар...
24.181818
128
0.714286
diekaltesonne
429d0615f39c89daee4ce5a114d49518a0210c93
2,191
cpp
C++
code/core/chattablabel.cpp
detrax/gobby
21160017e1f7ffe1123d80acadac88a22bd7f838
[ "ISC" ]
542
2015-01-03T21:43:38.000Z
2022-03-26T11:43:54.000Z
code/core/chattablabel.cpp
detrax/gobby
21160017e1f7ffe1123d80acadac88a22bd7f838
[ "ISC" ]
116
2015-01-14T08:08:43.000Z
2021-08-03T19:24:46.000Z
code/core/chattablabel.cpp
detrax/gobby
21160017e1f7ffe1123d80acadac88a22bd7f838
[ "ISC" ]
60
2015-01-03T21:43:42.000Z
2022-03-19T12:04:52.000Z
/* Gobby - GTK-based collaborative text editor * Copyright (C) 2008-2015 Armin Burgmeier <armin@arbur.net> * * 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 al...
31.753623
75
0.74806
detrax
42a78b36f1ed4f5b61e6d008cc12cbd9eb5cb7b9
1,087
cpp
C++
C++/010_Regular_Expression_Matching.cpp
stephenkid/LeetCode-Sol
8cb429652e0741ca4078b6de5f9eeaddcb8607a8
[ "MIT" ]
1,958
2015-01-30T01:19:03.000Z
2022-03-17T03:34:47.000Z
src/main/cpp/010_Regular_Expression_Matching.cpp
TechnoBlogger14o3/LeetCode-Sol-Res
04621f21a76fab29909c1fa04a37417257a88f63
[ "MIT" ]
135
2016-03-03T04:53:10.000Z
2022-03-03T21:14:37.000Z
src/main/cpp/010_Regular_Expression_Matching.cpp
TechnoBlogger14o3/LeetCode-Sol-Res
04621f21a76fab29909c1fa04a37417257a88f63
[ "MIT" ]
914
2015-01-27T22:27:22.000Z
2022-03-05T04:25:10.000Z
//10. Regular Expression Matching /* '.' Matches any single character. '*' Matches zero or more of the preceding element. The matching should cover the entire input string (not partial). The function prototype should be: bool isMatch(const char *s, const char *p) Some examples: isMatch("aa","a") → false isMatch("aa"...
22.183673
118
0.581417
stephenkid
42a8d987cbe42d8674866946c625ae148a31e200
730
cpp
C++
tests/data_structure/test_quad_tree.cpp
mitthy/TCC
4c48eb11cafd50334c5faef93edc5f03bc7fc171
[ "MIT" ]
null
null
null
tests/data_structure/test_quad_tree.cpp
mitthy/TCC
4c48eb11cafd50334c5faef93edc5f03bc7fc171
[ "MIT" ]
null
null
null
tests/data_structure/test_quad_tree.cpp
mitthy/TCC
4c48eb11cafd50334c5faef93edc5f03bc7fc171
[ "MIT" ]
null
null
null
#include "gtest/gtest.h" #include "geometricks/data_structure/quad_tree.hpp" #include <tuple> #include <type_traits> struct element_t { int x, y, hw, hh; }; namespace geometricks { namespace rectangle_customization { template<> struct make_rectangle<element_t> { static constexpr geometric...
21.470588
113
0.610959
mitthy
42a8e775526ada85918d187049907b4bfbaa8ac9
13,240
hpp
C++
src/xpcc/architecture/platform/cortex_m3/stm32/stm32f4/sdio/sdio_hal.hpp
walmis/xpcc
1d87c4434530c6aeac923f57d379aeaf32e11e1e
[ "BSD-3-Clause" ]
null
null
null
src/xpcc/architecture/platform/cortex_m3/stm32/stm32f4/sdio/sdio_hal.hpp
walmis/xpcc
1d87c4434530c6aeac923f57d379aeaf32e11e1e
[ "BSD-3-Clause" ]
null
null
null
src/xpcc/architecture/platform/cortex_m3/stm32/stm32f4/sdio/sdio_hal.hpp
walmis/xpcc
1d87c4434530c6aeac923f57d379aeaf32e11e1e
[ "BSD-3-Clause" ]
null
null
null
/* * sdio.hpp * * Created on: Apr 20, 2015 * Author: walmis */ #ifndef SRC_XPCC_ARCHITECTURE_PLATFORM_CORTEX_M3_STM32_STM32F4_SDIO_SDIO_HPP_ #define SRC_XPCC_ARCHITECTURE_PLATFORM_CORTEX_M3_STM32_STM32F4_SDIO_SDIO_HPP_ #include "../../../stm32.hpp" namespace xpcc { namespace stm32 { /* ------------------...
28.908297
115
0.656193
walmis
42a9208251f39477bf054939e4474f914c29221c
18,316
cpp
C++
rclcpp/src/rclcpp/time_source.cpp
RTI-BDI/rclcpp
c29a916429285362d4d8072b698b6c200d1d2a37
[ "Apache-2.0" ]
1
2022-02-28T21:29:12.000Z
2022-02-28T21:29:12.000Z
rclcpp/src/rclcpp/time_source.cpp
stokekld/rclcpp
025cd5ccc8202a52f7c7a3f037d8faf46f7dc3f3
[ "Apache-2.0" ]
null
null
null
rclcpp/src/rclcpp/time_source.cpp
stokekld/rclcpp
025cd5ccc8202a52f7c7a3f037d8faf46f7dc3f3
[ "Apache-2.0" ]
null
null
null
// Copyright 2017 Open Source Robotics Foundation, 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/LICENSE-2.0 // // Unless required by appli...
33.001802
100
0.71473
RTI-BDI
42ad3848e22a63e1e8823742916de5544ff84725
1,730
hh
C++
grasp/Grasp.hh
el-cangrejo/grasp
492dd14928b0072beecf752075b712db96f06834
[ "MIT" ]
70
2018-10-17T17:37:22.000Z
2022-02-28T15:19:47.000Z
grasp/Grasp.hh
el-cangrejo/grasp
492dd14928b0072beecf752075b712db96f06834
[ "MIT" ]
3
2020-12-08T13:02:17.000Z
2022-02-22T11:59:00.000Z
grasp/Grasp.hh
el-cangrejo/grasp
492dd14928b0072beecf752075b712db96f06834
[ "MIT" ]
17
2018-10-29T04:09:45.000Z
2022-03-19T11:34:55.000Z
/*! \file grasp/Grasp.hh \brief Grasp representation \author João Borrego : jsbruglie */ #ifndef _GRASP_HH_ #define _GRASP_HH_ // Gazebo #include <gazebo/gazebo_client.hh> // Open YAML config files #include "yaml-cpp/yaml.h" // Debug streams #include "debug.hh" /// \brief Grasp representation class clas...
27.903226
78
0.666474
el-cangrejo
42b16212868354cd93abf75113e378f0054ddfd3
3,500
cpp
C++
encoderlame.cpp
napcode/appstream
f4e5452e2f3cc68899a3a1e7033435a56d8a7c79
[ "MIT" ]
null
null
null
encoderlame.cpp
napcode/appstream
f4e5452e2f3cc68899a3a1e7033435a56d8a7c79
[ "MIT" ]
null
null
null
encoderlame.cpp
napcode/appstream
f4e5452e2f3cc68899a3a1e7033435a56d8a7c79
[ "MIT" ]
null
null
null
#include "encoderlame.h" EncoderLame::EncoderLame(EncoderConfig c) : Encoder(c) { } EncoderLame::~EncoderLame() { if (_lgf) { lame_close(_lgf); _lgf = 0; } delete[] _buffer; } bool EncoderLame::init() { if (isInitialized()) return true; int rc; _lgf = lame_init(); /...
27.559055
159
0.624571
napcode
42b21efa257618345907a5b16591432d070d102a
19,630
cpp
C++
apiwznm/PnlWznmCarDetail.cpp
mpsitech/wznm-WhizniumSBE
4911d561b28392d485c46e98fb915168d82b3824
[ "MIT" ]
3
2020-09-20T16:24:48.000Z
2021-12-01T19:44:51.000Z
apiwznm/PnlWznmCarDetail.cpp
mpsitech/wznm-WhizniumSBE
4911d561b28392d485c46e98fb915168d82b3824
[ "MIT" ]
null
null
null
apiwznm/PnlWznmCarDetail.cpp
mpsitech/wznm-WhizniumSBE
4911d561b28392d485c46e98fb915168d82b3824
[ "MIT" ]
null
null
null
/** * \file PnlWznmCarDetail.cpp * API code for job PnlWznmCarDetail (implementation) * \copyright (C) 2016-2020 MPSI Technologies GmbH * \author Alexander Wirthmueller (auto-generation) * \date created: 5 Dec 2020 */ // IP header --- ABOVE #include "PnlWznmCarDetail.h" using namespace std; using namespace Sbec...
32.5
277
0.670301
mpsitech
42b2b194989dff2b2dd44420dd2d5941c206551b
3,702
hpp
C++
src/integration/IntegrationNSphere.hpp
FrancoisGaits/utk
8c408dd79635f98c46ed075c098f15e23972aad0
[ "BSD-2-Clause-FreeBSD" ]
44
2018-01-09T19:56:29.000Z
2022-03-03T06:38:54.000Z
src/integration/IntegrationNSphere.hpp
FrancoisGaits/utk
8c408dd79635f98c46ed075c098f15e23972aad0
[ "BSD-2-Clause-FreeBSD" ]
16
2018-01-29T18:01:42.000Z
2022-03-31T07:01:09.000Z
src/integration/IntegrationNSphere.hpp
FrancoisGaits/utk
8c408dd79635f98c46ed075c098f15e23972aad0
[ "BSD-2-Clause-FreeBSD" ]
12
2018-03-14T00:24:14.000Z
2022-03-03T06:40:07.000Z
/* * Hélène Perrier helene.perrier@liris.cnrs.fr * and David Coeurjolly david.coeurjolly@liris.cnrs.fr * * Copyright (c) 2018 CNRS Université de Lyon * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following condition...
32.473684
105
0.700702
FrancoisGaits
42b5735b3471a7446cdf2188bd48234ed6b3765c
3,014
hpp
C++
libbitcoin/include/bitcoin/constants.hpp
mousewu/bcclient
64ee1f6f8337103d40a4a0c3dfb73cabcd09a04c
[ "MIT" ]
8
2019-05-31T01:37:08.000Z
2021-10-19T05:52:45.000Z
libbitcoin/include/bitcoin/constants.hpp
mousewu/bcclient
64ee1f6f8337103d40a4a0c3dfb73cabcd09a04c
[ "MIT" ]
3
2017-12-18T17:27:09.000Z
2018-01-15T16:50:05.000Z
libbitcoin/include/bitcoin/constants.hpp
mousewu/bcclient
64ee1f6f8337103d40a4a0c3dfb73cabcd09a04c
[ "MIT" ]
5
2018-01-09T15:05:55.000Z
2020-12-17T13:27:25.000Z
/* * Copyright (c) 2011-2013 libbitcoin developers (see AUTHORS) * * This file is part of libbitcoin. * * libbitcoin is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License with * additional permissions to the one published by the Free Software * Fou...
31.395833
76
0.736231
mousewu
42b713a94aed7da16b1cf74cfd6e5e60937a2e40
5,781
cc
C++
tensorflow_io/core/azure/azfs/azfs_client.cc
pshiko/io
a1793e6b41ed7a8db572249aba15a8e513a348a5
[ "Apache-2.0" ]
1
2020-01-20T17:48:31.000Z
2020-01-20T17:48:31.000Z
tensorflow_io/core/azure/azfs/azfs_client.cc
pshiko/io
a1793e6b41ed7a8db572249aba15a8e513a348a5
[ "Apache-2.0" ]
null
null
null
tensorflow_io/core/azure/azfs/azfs_client.cc
pshiko/io
a1793e6b41ed7a8db572249aba15a8e513a348a5
[ "Apache-2.0" ]
null
null
null
/* Copyright 2019 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
34.207101
80
0.669953
pshiko
42b976415bed9557543a9e1dd17c9c84c33fe02a
593
cpp
C++
03/exam03.cpp
Sadik326-ctrl/computer_programming
cbae264ffa04fc487008fa6a0a32e0a1a316e01e
[ "MIT" ]
null
null
null
03/exam03.cpp
Sadik326-ctrl/computer_programming
cbae264ffa04fc487008fa6a0a32e0a1a316e01e
[ "MIT" ]
null
null
null
03/exam03.cpp
Sadik326-ctrl/computer_programming
cbae264ffa04fc487008fa6a0a32e0a1a316e01e
[ "MIT" ]
null
null
null
// Demonstration of compound assignments #include <iostream> #include <iomanip> using namespace std; int main() { float x, y; cout << "\n Please enter a starting value: cin >> x; "; cout << "\n Please enter the increment value: "; cin >> y; x += y; cout << "\n And now multiplication! "; cout << "\n Please enter a facto...
19.766667
48
0.625632
Sadik326-ctrl
42b9e0ae70299b5c0c42b2aa5b291bf768be26c4
485
cpp
C++
Part_Fourteen/BasePtrDerivedObj.cpp
ayushpareek179/CPP-course
b2b8b8d2dd06cd772e3c9838abd5b841237bb306
[ "MIT" ]
null
null
null
Part_Fourteen/BasePtrDerivedObj.cpp
ayushpareek179/CPP-course
b2b8b8d2dd06cd772e3c9838abd5b841237bb306
[ "MIT" ]
null
null
null
Part_Fourteen/BasePtrDerivedObj.cpp
ayushpareek179/CPP-course
b2b8b8d2dd06cd772e3c9838abd5b841237bb306
[ "MIT" ]
null
null
null
//To depict pointer to a derived class objeof base class type #include <iostream> using namespace std; class parent { public: void func() { cout<<"Base's function\n"; } }; class child:public parent { public: void meth() { cout<<"Derived's function\n"; } }; int main() { ...
16.724138
61
0.548454
ayushpareek179
42bbfc1363eb5582eaffb6b99a570e8fb7d41497
1,641
hpp
C++
release/include/mlclient/mlclient.hpp
adamfowleruk/mlcplusplus
bd8b47b8e92c7f66a22ecfe98353f3e8a621802d
[ "Apache-2.0" ]
4
2016-04-21T06:27:40.000Z
2017-01-20T12:10:54.000Z
release/include/mlclient/mlclient.hpp
marklogic/mlcplusplus
bd8b47b8e92c7f66a22ecfe98353f3e8a621802d
[ "Apache-2.0" ]
239
2015-11-26T23:10:33.000Z
2017-01-03T23:48:23.000Z
release/include/mlclient/mlclient.hpp
marklogic-community/mlcplusplus
bd8b47b8e92c7f66a22ecfe98353f3e8a621802d
[ "Apache-2.0" ]
3
2017-11-01T15:52:51.000Z
2021-12-02T05:22:49.000Z
/* * Copyright (c) MarkLogic Corporation. All rights reserved. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ...
26.047619
78
0.718464
adamfowleruk
42bf6c136b9f6b914ccb85044ba0132dc453ba41
470
cpp
C++
bzoj/1261.cpp
swwind/code
25c4c5ca2f8578ba792b44cbdf44286d39dfb7e0
[ "WTFPL" ]
3
2017-09-17T09:12:50.000Z
2018-04-06T01:18:17.000Z
bzoj/1261.cpp
swwind/code
25c4c5ca2f8578ba792b44cbdf44286d39dfb7e0
[ "WTFPL" ]
null
null
null
bzoj/1261.cpp
swwind/code
25c4c5ca2f8578ba792b44cbdf44286d39dfb7e0
[ "WTFPL" ]
null
null
null
#include <bits/stdc++.h> #define ll long long using namespace std; int a[5050], len, n; int mul(int val){ for(int i = 1; i <= len; i++) a[i]*=val; for(int i = 1; i <= len; i++){ a[i+1]+=a[i]/10; a[i]%=10; } if(a[len+1])len++; } int main(){ scanf("%d", &n); a[len=1]=1; while(n > 4) mul(3), n-=3; mul(n); pr...
19.583333
66
0.510638
swwind
42ca18dbe7063fba14cb1e1702ba8e4dbc5225ac
9,112
cc
C++
tensorflow/lite/experimental/micro/examples/micro_speech/micro_features/filterbank_util.cc
uve/tensorflow
e08079463bf43e5963acc41da1f57e95603f8080
[ "Apache-2.0" ]
null
null
null
tensorflow/lite/experimental/micro/examples/micro_speech/micro_features/filterbank_util.cc
uve/tensorflow
e08079463bf43e5963acc41da1f57e95603f8080
[ "Apache-2.0" ]
null
null
null
tensorflow/lite/experimental/micro/examples/micro_speech/micro_features/filterbank_util.cc
uve/tensorflow
e08079463bf43e5963acc41da1f57e95603f8080
[ "Apache-2.0" ]
null
null
null
/* Copyright 2018 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable ...
42.779343
101
0.674056
uve
42cc99107701f2f6cd3ea17c5e1ebb7147bd583b
340
cpp
C++
Proyecto_Final-Jorge_Pastor_V2/Trabajo de informatica/Trabajo_InformaticaI/propietarios.cpp
jorgepastor5/Spaceships-shop-manager
51ec0aad6042f4a247a4d385c7ff4ab9233f7c35
[ "MIT" ]
null
null
null
Proyecto_Final-Jorge_Pastor_V2/Trabajo de informatica/Trabajo_InformaticaI/propietarios.cpp
jorgepastor5/Spaceships-shop-manager
51ec0aad6042f4a247a4d385c7ff4ab9233f7c35
[ "MIT" ]
null
null
null
Proyecto_Final-Jorge_Pastor_V2/Trabajo de informatica/Trabajo_InformaticaI/propietarios.cpp
jorgepastor5/Spaceships-shop-manager
51ec0aad6042f4a247a4d385c7ff4ab9233f7c35
[ "MIT" ]
null
null
null
#include <iostream> #include <string.h> #include "propietarios.h" #include <aplicacion.h> #include <naves.h> using namespace std; propietarios::propietarios(){ } void propietarios::setPlaneta(string planeta){ this->planeta = planeta; } string propietarios::getPlaneta(){ return planeta; } propietarios:...
12.592593
46
0.714706
jorgepastor5
42cd05326a8fba4bdf024c553065cb2b6aaab797
1,716
cpp
C++
model/src/ConstraintBlockImpl.cpp
mballance-sf/open-ps
a5ed44ce30bfe59462801ca7de4361d16950bcd2
[ "Apache-2.0" ]
null
null
null
model/src/ConstraintBlockImpl.cpp
mballance-sf/open-ps
a5ed44ce30bfe59462801ca7de4361d16950bcd2
[ "Apache-2.0" ]
null
null
null
model/src/ConstraintBlockImpl.cpp
mballance-sf/open-ps
a5ed44ce30bfe59462801ca7de4361d16950bcd2
[ "Apache-2.0" ]
null
null
null
/* * ConstraintBlockImpl.cpp * * * Copyright 2016 Mentor Graphics Corporation * All Rights Reserved Worldwide * * 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 * *...
26.4
78
0.685897
mballance-sf
42ce15e3ef1c818c6fa7f3164b3ea50efac752c3
720
cpp
C++
0-100/7/main.cpp
KevinEsh/LeetCode-Problems
7e29509ad1cdc907bbba339f82e89f9e210e8249
[ "MIT" ]
null
null
null
0-100/7/main.cpp
KevinEsh/LeetCode-Problems
7e29509ad1cdc907bbba339f82e89f9e210e8249
[ "MIT" ]
null
null
null
0-100/7/main.cpp
KevinEsh/LeetCode-Problems
7e29509ad1cdc907bbba339f82e89f9e210e8249
[ "MIT" ]
null
null
null
#include <string> #include <iostream> #include <algorithm> #define lower -2147483648 #define upper 2147483647 class Solution { public: int reverse(int x) { std::string sx = x < 0 ? "-" : ""; sx += std::to_string(abs(x)); if (x < 0) { std::reverse(sx.begin() + 1, s...
16.744186
51
0.475
KevinEsh
42d20121235ebecbae7e13193478f3f5503966f2
619
cpp
C++
max_profit.cpp
shirishbahirat/algorithm
ec743d4c16ab4f429f22bd6f71540341b3905b3b
[ "Apache-2.0" ]
null
null
null
max_profit.cpp
shirishbahirat/algorithm
ec743d4c16ab4f429f22bd6f71540341b3905b3b
[ "Apache-2.0" ]
null
null
null
max_profit.cpp
shirishbahirat/algorithm
ec743d4c16ab4f429f22bd6f71540341b3905b3b
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include <vector> using namespace std; class Solution { public: int maxProfit(vector<int> &prices) { int minprice = 0x7FFFFFFF; int maxprofit = 0; for (int i = 0; i < prices.size(); i++) { if (prices[i] < minprice) minprice = prices[i]; else if (prices[i] - ...
18.205882
48
0.588045
shirishbahirat
42d36a7ff407d996315af2f45511739d597bc098
8,305
hpp
C++
SDK/PUBG_GameplayTasks_classes.hpp
realrespecter/PUBG-FULL-SDK
5e2b0f103c74c95d2329c4c9dfbfab48aa0da737
[ "MIT" ]
7
2019-03-06T11:04:52.000Z
2019-07-10T20:00:51.000Z
SDK/PUBG_GameplayTasks_classes.hpp
realrespecter/PUBG-FULL-SDK
5e2b0f103c74c95d2329c4c9dfbfab48aa0da737
[ "MIT" ]
null
null
null
SDK/PUBG_GameplayTasks_classes.hpp
realrespecter/PUBG-FULL-SDK
5e2b0f103c74c95d2329c4c9dfbfab48aa0da737
[ "MIT" ]
10
2019-03-06T11:53:46.000Z
2021-02-18T14:01:11.000Z
#pragma once // PUBG FULL SDK - Generated By Respecter (5.3.4.11 [06/03/2019]) SDK #ifdef _MSC_VER #pragma pack(push, 0x8) #endif #include "PUBG_GameplayTasks_structs.hpp" namespace SDK { //--------------------------------------------------------------------------- //Classes //-------------------------------------...
43.710526
270
0.586635
realrespecter
42d3a2f68e017ecba874aac3207ad55e3241fd65
981
cpp
C++
src/sharding/hasher.cpp
oystr-foss/proxy-load-balancer
14a58a1db4a189f27d0671cb89cfa4a06bd8b415
[ "BSL-1.0" ]
9
2020-10-06T16:36:11.000Z
2021-07-25T15:06:25.000Z
src/sharding/hasher.cpp
oystr-foss/proxy-load-balancer
14a58a1db4a189f27d0671cb89cfa4a06bd8b415
[ "BSL-1.0" ]
null
null
null
src/sharding/hasher.cpp
oystr-foss/proxy-load-balancer
14a58a1db4a189f27d0671cb89cfa4a06bd8b415
[ "BSL-1.0" ]
null
null
null
// // Created by realngnx on 11/06/2021. // #include <openssl/sha.h> #include <openssl/md5.h> #include "./hasher.hpp" long Digest::to_md5_hash(std::string key) { const char * hashed = reinterpret_cast<const char *>(md5(key)); return calculate_hash(hashed); } long Digest::to_sha256_hash(std::string key) { ...
25.815789
85
0.64526
oystr-foss
42d504427440ff4dcf5cf5f7baa66f1310cf7b39
917
cpp
C++
AddIn/DemoAddIn/cpp/DemoAddIn/EdgeBarDialog.cpp
XelaNimed/Samples
2b509c985d99b53a9de1e2fb377a5a54dae43987
[ "MIT" ]
34
2015-06-08T05:10:28.000Z
2022-02-08T20:15:42.000Z
AddIn/DemoAddIn/cpp/DemoAddIn/EdgeBarDialog.cpp
kabircosta/Samples
3ffe1b268d49ec63686078d5c4f4d6eccb8f6f5f
[ "MIT" ]
1
2019-04-03T06:32:23.000Z
2019-04-03T06:32:23.000Z
AddIn/DemoAddIn/cpp/DemoAddIn/EdgeBarDialog.cpp
kabircosta/Samples
3ffe1b268d49ec63686078d5c4f4d6eccb8f6f5f
[ "MIT" ]
44
2015-03-26T17:29:45.000Z
2021-12-29T03:41:29.000Z
// EdgeBarDialog.cpp : implementation file // #include "stdafx.h" #include "DemoAddIn.h" #include "EdgeBarDialog.h" #include "afxdialogex.h" // CEdgeBarDialog dialog IMPLEMENT_DYNAMIC(CEdgeBarDialog, CDialogEx) CEdgeBarDialog::CEdgeBarDialog(CWnd* pParent /*=NULL*/) : CDialogEx(CEdgeBarDialog::IDD, pParent) { } ...
16.981481
55
0.742639
XelaNimed
42da23d3f9b47e5504e83b1de7b6fb30fa6face1
6,368
cpp
C++
analysis_pipelines/scripts/scVILP/scripts/PerfectPhy/tools/convert.cpp
ProSolo/benchmarking_prosolo
60fc1fcc990be9eedcdf024670fa81e68c0d3e2f
[ "MIT" ]
2
2020-04-29T02:56:42.000Z
2021-03-04T21:17:15.000Z
analysis_pipelines/scripts/scVILP/scripts/PerfectPhy/tools/convert.cpp
ProSolo/benchmarking_prosolo
60fc1fcc990be9eedcdf024670fa81e68c0d3e2f
[ "MIT" ]
null
null
null
analysis_pipelines/scripts/scVILP/scripts/PerfectPhy/tools/convert.cpp
ProSolo/benchmarking_prosolo
60fc1fcc990be9eedcdf024670fa81e68c0d3e2f
[ "MIT" ]
null
null
null
#include<vector> #include<fstream> #include<iostream> #include<cctype> using namespace std; enum ArgError { ERROR = -1, QUIT = 0, NONE = 1 }; ArgError handleArguments(int argc, char** argv, char &dummychar, string &index, string &mapfile ) { const char* helpmessage = "Usage: ./convert.out [option] \n" "\n" "Opti...
26.533333
126
0.400911
ProSolo
42dc5e85be449bb356e0607f71257bb5befcd199
1,198
cpp
C++
test/unit/math/prim/fun/svd_V_test.cpp
LaudateCorpus1/math
990a66b3cccd27a5fd48626360bb91093a48278b
[ "BSD-3-Clause" ]
null
null
null
test/unit/math/prim/fun/svd_V_test.cpp
LaudateCorpus1/math
990a66b3cccd27a5fd48626360bb91093a48278b
[ "BSD-3-Clause" ]
null
null
null
test/unit/math/prim/fun/svd_V_test.cpp
LaudateCorpus1/math
990a66b3cccd27a5fd48626360bb91093a48278b
[ "BSD-3-Clause" ]
null
null
null
#include <stan/math/prim.hpp> #include <gtest/gtest.h> #include <test/unit/util.hpp> #include <stdexcept> TEST(MathMatrixPrimMat, svd_V) { using stan::math::matrix_d; using stan::math::svd_V; // Values generated using R base::svd matrix_d m00(0, 0); EXPECT_THROW(svd_V(m00), std::invalid_argument); matri...
27.860465
76
0.682805
LaudateCorpus1
42ddfb6b787055c1ca8ab033ae14936586fa5e59
2,590
cpp
C++
src/schemas/project/mutations/CreateTrade.cpp
BlockChain-Station/enjin-cpp-sdk
3af1cd001d7e660787bbfb2e2414a96f5a95a228
[ "Apache-2.0" ]
12
2021-09-28T14:37:22.000Z
2022-03-04T17:54:11.000Z
src/schemas/project/mutations/CreateTrade.cpp
BlockChain-Station/enjin-cpp-sdk
3af1cd001d7e660787bbfb2e2414a96f5a95a228
[ "Apache-2.0" ]
null
null
null
src/schemas/project/mutations/CreateTrade.cpp
BlockChain-Station/enjin-cpp-sdk
3af1cd001d7e660787bbfb2e2414a96f5a95a228
[ "Apache-2.0" ]
8
2021-11-05T18:56:55.000Z
2022-01-10T11:14:24.000Z
/* Copyright 2021 Enjin Pte. Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
35.479452
117
0.72973
BlockChain-Station
42e605a1f750beaaa3612e31308570d2f47beb89
35
cpp
C++
CacheSystem/StandardInitFunctions.cpp
kivzcu/HrdDataCacheSystem
cff2e3bd40a43bd374c7b16648daaf761dc3826a
[ "Apache-2.0" ]
null
null
null
CacheSystem/StandardInitFunctions.cpp
kivzcu/HrdDataCacheSystem
cff2e3bd40a43bd374c7b16648daaf761dc3826a
[ "Apache-2.0" ]
3
2017-11-01T08:40:08.000Z
2018-02-05T07:49:18.000Z
CacheSystem/StandardInitFunctions.cpp
kivzcu/HrdDataCacheSystem
cff2e3bd40a43bd374c7b16648daaf761dc3826a
[ "Apache-2.0" ]
1
2021-02-16T13:14:23.000Z
2021-02-16T13:14:23.000Z
#include "StandardInitFunctions.h"
17.5
34
0.828571
kivzcu
42ec31f75b4445181baf206aa4b8e13eeccd87df
4,472
cpp
C++
deps/MAC_SDK/Source/MACDll/WinampSettingsDlg.cpp
jjzhang166/mous
54a219712970bd6fabbac85102e1615babb69c41
[ "BSD-2-Clause" ]
75
2015-04-26T11:22:07.000Z
2022-02-12T17:18:37.000Z
deps/MAC_SDK/Source/MACDll/WinampSettingsDlg.cpp
aliakbarRashidi/mous
54a219712970bd6fabbac85102e1615babb69c41
[ "BSD-2-Clause" ]
7
2016-05-31T21:56:01.000Z
2019-09-15T06:25:28.000Z
deps/MAC_SDK/Source/MACDll/WinampSettingsDlg.cpp
aliakbarRashidi/mous
54a219712970bd6fabbac85102e1615babb69c41
[ "BSD-2-Clause" ]
19
2015-09-23T01:50:15.000Z
2022-02-12T17:18:41.000Z
#include "stdafx.h" #include "MACDll.h" #include "WinampSettingsDlg.h" #include ".\winampsettingsdlg.h" IMPLEMENT_DYNAMIC(CWinampSettingsDlg, CDialog) CWinampSettingsDlg::CWinampSettingsDlg(CWnd * pParent) : CDialog(CWinampSettingsDlg::IDD, pParent) { m_hwndParent = NULL; GetModuleFileName(Af...
35.776
163
0.727862
jjzhang166
42ee21d925bf2c58bc145b5c191e40d71ac631a0
22,748
cpp
C++
vlc_linux/vlc-3.0.16/modules/demux/adaptive/Streams.cpp
Brook1711/biubiu_Qt6
5c4d22a1d1beef63bc6c7738dce6c477c4642803
[ "MIT" ]
null
null
null
vlc_linux/vlc-3.0.16/modules/demux/adaptive/Streams.cpp
Brook1711/biubiu_Qt6
5c4d22a1d1beef63bc6c7738dce6c477c4642803
[ "MIT" ]
null
null
null
vlc_linux/vlc-3.0.16/modules/demux/adaptive/Streams.cpp
Brook1711/biubiu_Qt6
5c4d22a1d1beef63bc6c7738dce6c477c4642803
[ "MIT" ]
null
null
null
/* * Streams.cpp ***************************************************************************** * Copyright (C) 2014 - VideoLAN and VLC authors * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU Lesser General Public License as published * by the Free Software...
30.61642
117
0.603833
Brook1711
0cd31c2d57119c4b743b42991bf7b19b70237050
915
cpp
C++
src/boost/archive/yaml_oarchive.cpp
rwols/yaml-archive
4afec73e557c15350c5e068c010f4e378edc95ef
[ "BSL-1.0" ]
1
2018-01-27T23:35:21.000Z
2018-01-27T23:35:21.000Z
src/boost/archive/yaml_oarchive.cpp
rwols/yaml-archive
4afec73e557c15350c5e068c010f4e378edc95ef
[ "BSL-1.0" ]
2
2019-08-17T05:37:36.000Z
2019-08-17T22:57:26.000Z
src/boost/archive/yaml_oarchive.cpp
rwols/yaml-archive
4afec73e557c15350c5e068c010f4e378edc95ef
[ "BSL-1.0" ]
1
2021-03-19T11:53:53.000Z
2021-03-19T11:53:53.000Z
/** @file * * @brief Defines narrow concrete output archives. * * @author Raoul Wols * * @date 2017 * * @copyright See LICENSE.md * */ #if (defined _MSC_VER) && (_MSC_VER == 1200) #pragma warning(disable : 4786) // too long name, harmless warning #endif #define BOOST_ARCHIVE_SOURCE #include <boost/a...
25.416667
66
0.76612
rwols
0cd88d993983b62868af471659f79d4d06a7acfd
1,513
cpp
C++
course1/Laba2/G/main.cpp
flydzen/ITMO_algo
ea251dca0fddb0d4d212377c6785cdc3667ece89
[ "MIT" ]
null
null
null
course1/Laba2/G/main.cpp
flydzen/ITMO_algo
ea251dca0fddb0d4d212377c6785cdc3667ece89
[ "MIT" ]
null
null
null
course1/Laba2/G/main.cpp
flydzen/ITMO_algo
ea251dca0fddb0d4d212377c6785cdc3667ece89
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <cmath> #include <algorithm> #define ui unsigned int #define ull unsigned long long #define us unsigned long long #pragma GCC optimize("03") using namespace std; ui cur = 0; ui a, b; inline ui nextRand24() { cur = cur * a + b; return cur >> 8; } inline ui next...
20.173333
69
0.432254
flydzen
0cd9c66e0780db9a044edb30d4d606f462b86e57
3,313
cpp
C++
src/BlockEntities/ChestEntity.cpp
planetx/MCServer
4e119b522409af682e62ed38f4d22ddd9da40170
[ "Apache-2.0" ]
null
null
null
src/BlockEntities/ChestEntity.cpp
planetx/MCServer
4e119b522409af682e62ed38f4d22ddd9da40170
[ "Apache-2.0" ]
null
null
null
src/BlockEntities/ChestEntity.cpp
planetx/MCServer
4e119b522409af682e62ed38f4d22ddd9da40170
[ "Apache-2.0" ]
null
null
null
#include "Globals.h" // NOTE: MSVC stupidness requires this to be the same across all modules #include "ChestEntity.h" #include "../Item.h" #include "../Entities/Player.h" #include "../UI/Window.h" cChestEntity::cChestEntity(int a_BlockX, int a_BlockY, int a_BlockZ, cWorld * a_World, BLOCKTYPE a_Type) : super(...
23.167832
170
0.689104
planetx
0cda2408e86a3258194a2c3882c045b4c93525bc
28,716
cpp
C++
Sources/Elastos/Frameworks/Droid/Base/Packages/SystemUI/src/elastos/droid/systemui/recents/views/RecentsView.cpp
jingcao80/Elastos
d0f39852356bdaf3a1234743b86364493a0441bc
[ "Apache-2.0" ]
7
2017-07-13T10:34:54.000Z
2021-04-16T05:40:35.000Z
Sources/Elastos/Frameworks/Droid/Base/Packages/SystemUI/src/elastos/droid/systemui/recents/views/RecentsView.cpp
jingcao80/Elastos
d0f39852356bdaf3a1234743b86364493a0441bc
[ "Apache-2.0" ]
null
null
null
Sources/Elastos/Frameworks/Droid/Base/Packages/SystemUI/src/elastos/droid/systemui/recents/views/RecentsView.cpp
jingcao80/Elastos
d0f39852356bdaf3a1234743b86364493a0441bc
[ "Apache-2.0" ]
9
2017-07-13T12:33:20.000Z
2021-06-19T02:46:48.000Z
//========================================================================= // Copyright (C) 2012 The Elastos Open Source Project // // 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 // // ...
34.555957
111
0.632296
jingcao80
0cda9a014ed43d1a287d252950ea53b778b22bfa
5,656
cpp
C++
src/libv/ui/component/stretch.cpp
cpplibv/libv
293e382f459f0acbc540de8ef6283782b38d2e63
[ "Zlib" ]
2
2018-04-11T03:07:03.000Z
2019-03-29T15:24:12.000Z
src/libv/ui/component/stretch.cpp
cpplibv/libv
293e382f459f0acbc540de8ef6283782b38d2e63
[ "Zlib" ]
null
null
null
src/libv/ui/component/stretch.cpp
cpplibv/libv
293e382f459f0acbc540de8ef6283782b38d2e63
[ "Zlib" ]
1
2021-06-13T06:39:06.000Z
2021-06-13T06:39:06.000Z
// Project: libv.ui, File: src/libv/ui/component/stretch.cpp, Author: Császár Mátyás [Vader] // hpp #include <libv/ui/component/stretch.hpp> // pro #include <libv/ui/context/context_layout.hpp> #include <libv/ui/context/context_render.hpp> #include <libv/ui/context/context_style.hpp> #include <libv/ui/context/context_...
31.248619
112
0.589993
cpplibv
0cdc4adfc3c3e4b1e3bb1b9f8b4fc7a464efd0c3
4,792
cc
C++
src/telephony/telephony_instance.cc
izaman/tizen-extensions-crosswalk
e1373788f4e4e271e39b0fee66c26210e40dd86f
[ "Apache-2.0", "BSD-3-Clause" ]
10
2015-01-16T16:14:35.000Z
2018-12-25T16:01:43.000Z
src/telephony/telephony_instance.cc
liyingzh/tizen-extensions-crosswalk
5957945effafff02a507c35a4b7b4d5ee6ca14c1
[ "Apache-2.0", "BSD-3-Clause" ]
35
2015-01-04T02:11:22.000Z
2015-09-22T08:43:45.000Z
src/telephony/telephony_instance.cc
liyingzh/tizen-extensions-crosswalk
5957945effafff02a507c35a4b7b4d5ee6ca14c1
[ "Apache-2.0", "BSD-3-Clause" ]
14
2015-02-03T04:38:19.000Z
2022-01-20T10:38:01.000Z
// Copyright (c) 2014 Intel Corporation. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "telephony/telephony_instance.h" #include <string> #include "common/picojson.h" #include "telephony/telephony_backend_ofono.h" #include "tizen...
32.378378
79
0.692613
izaman
0cdf589e598c31402e68e86595e88ef22d2c8193
9,280
cpp
C++
SwapChain/Driver/OpenGL/src/Win32/SwapChain.cpp
Gpinchon/OCRA
341bb07facc616f1f8a27350054d1e86f022d7c6
[ "Apache-2.0" ]
null
null
null
SwapChain/Driver/OpenGL/src/Win32/SwapChain.cpp
Gpinchon/OCRA
341bb07facc616f1f8a27350054d1e86f022d7c6
[ "Apache-2.0" ]
null
null
null
SwapChain/Driver/OpenGL/src/Win32/SwapChain.cpp
Gpinchon/OCRA
341bb07facc616f1f8a27350054d1e86f022d7c6
[ "Apache-2.0" ]
null
null
null
#include <GL/Win32/SwapChain.hpp> #include <GL/Win32/PresentGeometry.hpp> #include <GL/Win32/PresentPixels.hpp> #include <GL/Win32/PresentShader.hpp> #include <GL/Win32/PresentTexture.hpp> #include <GL/Surface.hpp> #include <GL/Win32/Error.hpp> #include <GL/Win32/OpenGL.hpp> #include <GL/Device.hpp> #include <GL/Image...
35.968992
117
0.628017
Gpinchon
0ce1fd51fe99bd2aef16c916c6ba9c7326bd2b23
521
cpp
C++
codeforces/1475A.cpp
LordRonz/cp-solutions
d95eabbdbf6a04fba912f4e8be203b180af7f46d
[ "WTFPL" ]
2
2021-04-19T06:20:11.000Z
2021-05-04T14:30:00.000Z
codeforces/1475A.cpp
LordRonz/cp-solutions
d95eabbdbf6a04fba912f4e8be203b180af7f46d
[ "WTFPL" ]
2
2022-03-01T09:28:46.000Z
2022-03-02T09:52:33.000Z
codeforces/1475A.cpp
LordRonz/cp-solutions
d95eabbdbf6a04fba912f4e8be203b180af7f46d
[ "WTFPL" ]
null
null
null
#include <bits/stdc++.h> using namespace std; #define MAX(a,b,c) max(a,max(b,c)) #define MIN(a,b,c) min(a,min(b,c)) #define MP make_pair #define FOR(x, a, b) for(int x = a; x < b; ++x) typedef pair<int, int> pii; //0xACCE97ED; int main() { long long unsigned n, t; scanf("%lld", &t); while(t--) { scanf("%lld", &n...
16.806452
47
0.527831
LordRonz
0ce83d17e36b56392ae66bdda1e9e462aede0061
865
cpp
C++
PAT/Advanced Level/Simulation_Math/1148 Werewolf.cpp
MuZi-lh/AlgorithmExecise
88411f52ad65ef002ed8bcbcffc402f64985958f
[ "MulanPSL-1.0" ]
null
null
null
PAT/Advanced Level/Simulation_Math/1148 Werewolf.cpp
MuZi-lh/AlgorithmExecise
88411f52ad65ef002ed8bcbcffc402f64985958f
[ "MulanPSL-1.0" ]
null
null
null
PAT/Advanced Level/Simulation_Math/1148 Werewolf.cpp
MuZi-lh/AlgorithmExecise
88411f52ad65ef002ed8bcbcffc402f64985958f
[ "MulanPSL-1.0" ]
null
null
null
#include<iostream> #include<vector> using namespace std; int N; vector<int> p(100); bool tellingTruth(int a, int b, int t) { return (abs(p[t]) != a && abs(p[t]) != b && p[t] > 0) || (p[t] == -a || p[t] == -b); } // a, b are wolf, // assume a, b don't point at themselves // a tell a truth, b tell a lie bool legal(i...
18.804348
85
0.491329
MuZi-lh
0ce92d47507b7639fa18ea1fb22e4d36ef08339a
9,890
cpp
C++
Source/Game/GameState/IntroState/IntroState.cpp
Crazykingjammy/bkbotz
6cdaa4164ff02e40f2909982f6dacad161c7d6cf
[ "Unlicense" ]
null
null
null
Source/Game/GameState/IntroState/IntroState.cpp
Crazykingjammy/bkbotz
6cdaa4164ff02e40f2909982f6dacad161c7d6cf
[ "Unlicense" ]
null
null
null
Source/Game/GameState/IntroState/IntroState.cpp
Crazykingjammy/bkbotz
6cdaa4164ff02e40f2909982f6dacad161c7d6cf
[ "Unlicense" ]
null
null
null
#include "../GameState.h" CIntroGameState* CIntroGameState::pInstance = 0; void CIntroGameState::Initalize(Game* game) { //Get the Pointer to the game. pGame = game; ////////////////////////////////////////////////////////////////////////// // Lights Setup //////////////////////////////////////////////////////...
25.101523
163
0.649848
Crazykingjammy
0ceb7006ab85f69b90b7333e5938e9e2b3c84aab
126
cpp
C++
ZF/ZFUIKit/zfsrc/ZFUIKit/protocol/ZFProtocolZFUIView.cpp
ZFFrameworkDist/ZFFramework
6b498e7b95ee6d6aaa28d8369eef8c2ff94daaf7
[ "MIT" ]
57
2016-06-12T11:05:55.000Z
2021-05-22T13:12:17.000Z
ZF/ZFUIKit/zfsrc/ZFUIKit/protocol/ZFProtocolZFUIView.cpp
ZFFrameworkDist/ZFFramework
6b498e7b95ee6d6aaa28d8369eef8c2ff94daaf7
[ "MIT" ]
null
null
null
ZF/ZFUIKit/zfsrc/ZFUIKit/protocol/ZFProtocolZFUIView.cpp
ZFFrameworkDist/ZFFramework
6b498e7b95ee6d6aaa28d8369eef8c2ff94daaf7
[ "MIT" ]
20
2016-05-26T04:47:37.000Z
2020-12-13T01:39:39.000Z
#include "ZFProtocolZFUIView.h" ZF_NAMESPACE_GLOBAL_BEGIN ZFPROTOCOL_INTERFACE_REGISTER(ZFUIView) ZF_NAMESPACE_GLOBAL_END
14
39
0.880952
ZFFrameworkDist
0ced71d029ec7f52b67c86ddfcffcb90d56d756d
9,437
cpp
C++
C++/vbHmmModel_GaussDiffusion.cpp
okamoto-kenji/varBayes-HMM
77afe3c336c9e1ebeb115ca4f0b2bc25060556bd
[ "MIT" ]
7
2016-03-31T06:59:00.000Z
2019-11-01T06:35:57.000Z
C++/vbHmmModel_GaussDiffusion.cpp
okamoto-kenji/varBayes-HMM
77afe3c336c9e1ebeb115ca4f0b2bc25060556bd
[ "MIT" ]
null
null
null
C++/vbHmmModel_GaussDiffusion.cpp
okamoto-kenji/varBayes-HMM
77afe3c336c9e1ebeb115ca4f0b2bc25060556bd
[ "MIT" ]
null
null
null
/* * vbHmmModel_GaussDiffusion.c * Model-specific functions for VB-HMM-GAUSS-DIFFUSION. * * Created by OKAMOTO Kenji, SAKO Yasushi and RIKEN * Copyright 2011-2018 * Cellular Informatics Laboratory, Advance Science Institute, RIKEN, Japan. * All rights reserved. * * Ver. 1.0.0 * Last modified on 2018.1...
27.51312
115
0.431175
okamoto-kenji
0ceec0ab0c087f9fc39b6c4401450aa24901d4d8
16,362
cpp
C++
fkie_iop_client_global_waypoint_driver/src/urn_jaus_jss_mobility_GlobalWaypointDriverClient/GlobalWaypointDriverClient_ReceiveFSM.cpp
fkie/iop_jaus_mobility_clients
acad91e9a525ac40be64865a11c8d6b702a0a9f3
[ "BSD-3-Clause" ]
1
2018-07-29T10:13:55.000Z
2018-07-29T10:13:55.000Z
fkie_iop_client_global_waypoint_driver/src/urn_jaus_jss_mobility_GlobalWaypointDriverClient/GlobalWaypointDriverClient_ReceiveFSM.cpp
fkie/iop_jaus_mobility_clients
acad91e9a525ac40be64865a11c8d6b702a0a9f3
[ "BSD-3-Clause" ]
1
2019-11-20T14:32:31.000Z
2019-11-21T11:00:20.000Z
fkie_iop_client_global_waypoint_driver/src/urn_jaus_jss_mobility_GlobalWaypointDriverClient/GlobalWaypointDriverClient_ReceiveFSM.cpp
fkie/iop_jaus_mobility_clients
acad91e9a525ac40be64865a11c8d6b702a0a9f3
[ "BSD-3-Clause" ]
null
null
null
#include <fkie_iop_ocu_slavelib/Slave.h> #include <fkie_iop_component/iop_config.h> #include "urn_jaus_jss_mobility_GlobalWaypointDriverClient/GlobalWaypointDriverClient_ReceiveFSM.h" #include <gps_common/conversions.h> using namespace JTS; using namespace iop::ocu; namespace urn_jaus_jss_mobility_GlobalWaypointD...
44.827397
432
0.758159
fkie
0cef17fdf29ff342913dc7ee4c7eed5b7ee51f26
26,760
cc
C++
test/SudokuGridPointTest.cc
KroneckerDeIta/Sudoku
d14d501178e0744f998444b58c991be3aed296ef
[ "MIT" ]
null
null
null
test/SudokuGridPointTest.cc
KroneckerDeIta/Sudoku
d14d501178e0744f998444b58c991be3aed296ef
[ "MIT" ]
null
null
null
test/SudokuGridPointTest.cc
KroneckerDeIta/Sudoku
d14d501178e0744f998444b58c991be3aed296ef
[ "MIT" ]
null
null
null
//////////////////////////////////////////////////////////////////////////////////////////////////// /// \brief Implementation of tests for SudokuGridPoint. /// \author anon //////////////////////////////////////////////////////////////////////////////////////////////////// #include <boost/shared_ptr.hpp> #include "s...
35.775401
100
0.600673
KroneckerDeIta
0cf2f397849efc524d2c82873c589cc900e91101
14,286
cpp
C++
src/ui/screens/viewfilescreen.cpp
hrxcodes/cbftp
bf2784007dcc4cc42775a2d40157c51b80383f81
[ "MIT" ]
8
2019-04-30T00:37:00.000Z
2022-02-03T13:35:31.000Z
src/ui/screens/viewfilescreen.cpp
Xtravaganz/cbftp
31a3465e2cd539f6cf35a5d9a0bb9c5c2f639cd5
[ "MIT" ]
2
2019-11-19T12:46:13.000Z
2019-12-20T22:13:57.000Z
src/ui/screens/viewfilescreen.cpp
Xtravaganz/cbftp
31a3465e2cd539f6cf35a5d9a0bb9c5c2f639cd5
[ "MIT" ]
9
2020-01-15T02:38:36.000Z
2022-02-15T20:05:20.000Z
#include "viewfilescreen.h" #include "transfersscreen.h" #include "../ui.h" #include "../menuselectoption.h" #include "../resizableelement.h" #include "../menuselectadjustableline.h" #include "../menuselectoptiontextbutton.h" #include "../termint.h" #include "../misc.h" #include "../../transferstatus.h" #include ".....
29.395062
158
0.635167
hrxcodes
0cf47a1d8c1d0f3b8941f22a174d4530afc93b7d
1,063
hpp
C++
alignment/files/ReaderAgglomerateImpl.hpp
ggraham/blasr_libcpp
4abef36585bbb677ebc4acb9d4e44e82331d59f7
[ "RSA-MD" ]
4
2015-07-03T11:59:54.000Z
2018-05-17T00:03:22.000Z
alignment/files/ReaderAgglomerateImpl.hpp
ggraham/blasr_libcpp
4abef36585bbb677ebc4acb9d4e44e82331d59f7
[ "RSA-MD" ]
79
2015-06-29T18:07:21.000Z
2018-09-19T13:38:39.000Z
alignment/files/ReaderAgglomerateImpl.hpp
ggraham/blasr_libcpp
4abef36585bbb677ebc4acb9d4e44e82331d59f7
[ "RSA-MD" ]
19
2015-06-23T08:43:29.000Z
2021-04-28T18:37:47.000Z
#ifndef _BLASR_READER_AGGLOMERATE_IMPL_HPP_ #define _BLASR_READER_AGGLOMERATE_IMPL_HPP_ template <typename T_Sequence> int ReaderAgglomerate::GetNext(T_Sequence &seq, int &randNum) { randNum = rand(); return GetNext(seq); } template <typename T_Sequence> int ReadChunkByNReads(ReaderAgglomerate &reader, std::v...
23.108696
97
0.627469
ggraham
0cf54ce58b46f3ba5654eef039f7fb86939d2e7e
375
cpp
C++
GameEngine/CoreEngine/CoreEngine/src/DrawSceneOperation.cpp
mettaursp/SuddenlyGames
e2ff1c2771d4ca54824650e4f1a33a527536ca61
[ "Apache-2.0" ]
1
2021-01-17T13:05:20.000Z
2021-01-17T13:05:20.000Z
GameEngine/CoreEngine/CoreEngine/src/DrawSceneOperation.cpp
suddenly-games/SuddenlyGames
e2ff1c2771d4ca54824650e4f1a33a527536ca61
[ "Apache-2.0" ]
null
null
null
GameEngine/CoreEngine/CoreEngine/src/DrawSceneOperation.cpp
suddenly-games/SuddenlyGames
e2ff1c2771d4ca54824650e4f1a33a527536ca61
[ "Apache-2.0" ]
null
null
null
#include "DrawSceneOperation.h" #include "Graphics.h" namespace GraphicsEngine { void DrawSceneOperation::Configure(const std::shared_ptr<Scene>& scene) { CurrentScene = scene; } void DrawSceneOperation::Render() { Graphics::SetClearColor(RGBA(0x000000FF)); Graphics::ClearScreen(GL_COLOR_BUFFER_BIT | GL_D...
18.75
72
0.749333
mettaursp
0cf5ce639d384338dff908e988df159507695c82
1,062
cc
C++
src/MsPhy.cc
CN-UPB/koi-simulator
ca4ddc5019f423a8e901ebed25b44dc5fa165cf0
[ "Apache-2.0" ]
null
null
null
src/MsPhy.cc
CN-UPB/koi-simulator
ca4ddc5019f423a8e901ebed25b44dc5fa165cf0
[ "Apache-2.0" ]
null
null
null
src/MsPhy.cc
CN-UPB/koi-simulator
ca4ddc5019f423a8e901ebed25b44dc5fa165cf0
[ "Apache-2.0" ]
null
null
null
/* * MsPhy.cc * * Created on: Jul 1, 2013 * Author: Sascha Schmerling */ #include "MsPhy.h" #include "KoiData_m.h" #include "MessageTypes.h" Define_Module(MsPhy); void MsPhy::initialize() { } void MsPhy::handleMessage(omnetpp::cMessage *msg) { //currently it only forward the packets if(msg->arrivedOn...
21.673469
63
0.63936
CN-UPB
0cf7d3785efe69b943c01dc937f7f1bc78493d04
625
cpp
C++
Framework/Sources/o2/Utils/Memory/Allocators/StackAllocator.cpp
zenkovich/o2
cdbf10271f1bf0f3198c8005b13b66e6ca13a9db
[ "MIT" ]
181
2015-12-09T08:53:36.000Z
2022-03-26T20:48:39.000Z
Framework/Sources/o2/Utils/Memory/Allocators/StackAllocator.cpp
zenkovich/o2
cdbf10271f1bf0f3198c8005b13b66e6ca13a9db
[ "MIT" ]
29
2016-04-22T08:24:04.000Z
2022-03-06T07:06:28.000Z
Framework/Sources/o2/Utils/Memory/Allocators/StackAllocator.cpp
zenkovich/o2
cdbf10271f1bf0f3198c8005b13b66e6ca13a9db
[ "MIT" ]
13
2018-04-24T17:12:04.000Z
2021-11-12T23:49:53.000Z
#include "o2/stdafx.h" #include "StackAllocator.h" namespace o2 { StackAllocator::StackAllocator(size_t capacity, IAllocator* baseAllocator /*= DefaultAllocator::GetInstance()*/): mBaseAllocator(baseAllocator) { mInitialCapacity = capacity; Initialize(); } StackAllocator::~StackAllocator() { Clear(); } ...
18.939394
114
0.7168
zenkovich
0cf8c2b80d2677099864c77f7693963551133504
11,450
cpp
C++
back-end/llvm-translator/llvm-translator-qemu-2.3/tcg-llvm-offline/tcg-llvm-offline.cpp
zheli-1/crete-dev
a226c245f51347b88ba9a95448a694bf1997a080
[ "BSD-2-Clause-FreeBSD" ]
52
2016-11-03T06:48:16.000Z
2021-03-30T07:22:41.000Z
back-end/llvm-translator/llvm-translator-qemu-2.3/tcg-llvm-offline/tcg-llvm-offline.cpp
zheli-1/crete-dev
a226c245f51347b88ba9a95448a694bf1997a080
[ "BSD-2-Clause-FreeBSD" ]
46
2016-11-16T02:07:38.000Z
2020-04-01T06:17:33.000Z
back-end/llvm-translator/llvm-translator-qemu-2.3/tcg-llvm-offline/tcg-llvm-offline.cpp
zheli-1/crete-dev
a226c245f51347b88ba9a95448a694bf1997a080
[ "BSD-2-Clause-FreeBSD" ]
13
2016-11-06T00:41:27.000Z
2020-06-01T07:18:48.000Z
#include "tcg-llvm-offline.h" #include <boost/archive/binary_iarchive.hpp> #include <boost/archive/binary_oarchive.hpp> #include <boost/archive/text_iarchive.hpp> #include <boost/archive/text_oarchive.hpp> #include <string> #include <stdlib.h> #include <iostream> #include <fstream> #include "tcg.h" #if defined(TCG_...
27.261905
101
0.645764
zheli-1
0cfbaf0a959029b4d8b6049e04f2cde0db0e6df7
9,803
cpp
C++
C++GP16/final/client/Client.cpp
dhanak/competitive-coding
9e28298f8c646f169b7389d0ef20f99c5ef68f00
[ "MIT" ]
null
null
null
C++GP16/final/client/Client.cpp
dhanak/competitive-coding
9e28298f8c646f169b7389d0ef20f99c5ef68f00
[ "MIT" ]
null
null
null
C++GP16/final/client/Client.cpp
dhanak/competitive-coding
9e28298f8c646f169b7389d0ef20f99c5ef68f00
[ "MIT" ]
null
null
null
#include "stdafx.h" #include "Client.h" #include <sstream> #define SERVER_PORT 4242 CLIENT::CLIENT() { #ifdef WIN32 mConnectionSocket = INVALID_SOCKET; #else mConnectionSocket = -1; #endif mDistCache.LoadFromFile("distcache.bin"); } CLIENT::~CLIENT() { #ifdef WIN32 if( mConnectionSocket != INVAL...
23.678744
154
0.590227
dhanak
0cfccad6f6a10830ec180e7329b70e016084a9ec
241
hpp
C++
corex/src/corex/core/events/game_events.hpp
seanballais/gwo-visualization
470561c603236d6a858b78a8585fd0bae71612a5
[ "MIT" ]
null
null
null
corex/src/corex/core/events/game_events.hpp
seanballais/gwo-visualization
470561c603236d6a858b78a8585fd0bae71612a5
[ "MIT" ]
null
null
null
corex/src/corex/core/events/game_events.hpp
seanballais/gwo-visualization
470561c603236d6a858b78a8585fd0bae71612a5
[ "MIT" ]
null
null
null
#ifndef COREX_CORE_EVENTS_GAME_EVENTS_HPP #define COREX_CORE_EVENTS_GAME_EVENTS_HPP namespace corex::core { struct GameTimeWarpEvent { float timeWarpFactor; }; struct GameTimerStatusEvent { bool isPlaying; }; } #endif
13.388889
41
0.755187
seanballais
490922b8449248ae20f988401452233f96ebe02d
922
hpp
C++
src/app/validator-manager.hpp
mimo31/fluid-sim
481c3e5a5456350bccb8795aa119a3487dff3021
[ "MIT" ]
1
2020-11-26T17:20:28.000Z
2020-11-26T17:20:28.000Z
src/app/validator-manager.hpp
mimo31/brandy0
481c3e5a5456350bccb8795aa119a3487dff3021
[ "MIT" ]
null
null
null
src/app/validator-manager.hpp
mimo31/brandy0
481c3e5a5456350bccb8795aa119a3487dff3021
[ "MIT" ]
null
null
null
/** * validator-manager.hpp * * Author: Viktor Fukala * Created on 2021/01/16 */ #ifndef VALIDATOR_MANAGER_HPP #define VALIDATOR_MANAGER_HPP #include "func.hpp" #include "vec.hpp" namespace brandy0 { /** * Container for arbitrarily many bool(void) callbacks. * Callbacks (a.k.a. validators) can be dynamically...
22.487805
152
0.736443
mimo31
490a0b2c5d3f200f97d3a3bb3d45a66064b53d8d
2,408
cpp
C++
utilities/Socket.cpp
JKowalsky/ftp-client
daa81b546b399907cdd77bc639ad61a3b17b5939
[ "MIT" ]
null
null
null
utilities/Socket.cpp
JKowalsky/ftp-client
daa81b546b399907cdd77bc639ad61a3b17b5939
[ "MIT" ]
null
null
null
utilities/Socket.cpp
JKowalsky/ftp-client
daa81b546b399907cdd77bc639ad61a3b17b5939
[ "MIT" ]
null
null
null
/* * File: Socket.cpp * Author: kowalsky * * Created on November 30, 2014, 4:49 PM */ #include "Socket.h" Socket::Socket(int port) : port(port), clientFd(NULL_FD), serverFd(NULL_FD) { } Socket::~Socket() { if (clientFd != NULL_FD) close(clientFd); if (serverFd != NULL_FD) close(serve...
27.678161
79
0.616694
JKowalsky
490b9fb710f1e9195b51c1e5af31415cecfc6a0f
1,996
cpp
C++
test/test_crossentropyloss_layer.cpp
sdadia/deep-learning-and-optimization
b44be79de116e2d4b203452a161641519f18f580
[ "MIT" ]
1
2018-10-02T15:29:14.000Z
2018-10-02T15:29:14.000Z
test/test_crossentropyloss_layer.cpp
sdadia/deep-learning-and-optimization
b44be79de116e2d4b203452a161641519f18f580
[ "MIT" ]
null
null
null
test/test_crossentropyloss_layer.cpp
sdadia/deep-learning-and-optimization
b44be79de116e2d4b203452a161641519f18f580
[ "MIT" ]
null
null
null
#include "crossentropyloss_layer.hpp" #include "common.hpp" #include "gtest/gtest.h" #include "gmock/gmock.h" #include <glog/logging.h> TEST(CrossEntropyLossLayer, CheckNumInputs) { // if zero inputs, then a problem will occour std::vector<dtensor_t> input(2); std::vector<dtensor_t> labels(2); dpl:...
25.922078
105
0.648798
sdadia
490ead04603ff489afc8802626c59b089b8e5a47
2,791
cpp
C++
Tools/STM32FW/STM32Cube_FW_F7_V1.16.2/Projects/STM32F769I_EVAL/Demonstrations/TouchGFX/Gui/generated/fonts/src/Table_RobotoCondensed_Bold_42_4bpp.cpp
ramkumarkoppu/NUCLEO-F767ZI-ESW
85e129d71ee8eccbd0b94b5e07e75b6b91679ee8
[ "MIT" ]
null
null
null
Tools/STM32FW/STM32Cube_FW_F7_V1.16.2/Projects/STM32F769I_EVAL/Demonstrations/TouchGFX/Gui/generated/fonts/src/Table_RobotoCondensed_Bold_42_4bpp.cpp
ramkumarkoppu/NUCLEO-F767ZI-ESW
85e129d71ee8eccbd0b94b5e07e75b6b91679ee8
[ "MIT" ]
null
null
null
Tools/STM32FW/STM32Cube_FW_F7_V1.16.2/Projects/STM32F769I_EVAL/Demonstrations/TouchGFX/Gui/generated/fonts/src/Table_RobotoCondensed_Bold_42_4bpp.cpp
ramkumarkoppu/NUCLEO-F767ZI-ESW
85e129d71ee8eccbd0b94b5e07e75b6b91679ee8
[ "MIT" ]
null
null
null
#include <touchgfx/Font.hpp> #ifndef NO_USING_NAMESPACE_TOUCHGFX using namespace touchgfx; #endif FONT_LOCATION_FLASH_PRAGMA KEEP extern const touchgfx::GlyphNode glyphs_RobotoCondensed_Bold_42_4bpp[] FONT_LOCATION_FLASH_ATTRIBUTE = { { 0, 2, 0, 0, 0, 0, 1, 255, 0, touchgfx::GLYPH_DATA_FORMAT_A4|0...
66.452381
109
0.58402
ramkumarkoppu
490fbeba6c6750fd5f4936f931923bec5b4fc099
1,940
hpp
C++
caffe/include/caffe/layers/sparse_hypercolumn_extractor_layer.hpp
gustavla/autocolorizer
79d4ce1054d35c06bdfcc93236b71e161e082ebb
[ "BSD-3-Clause" ]
234
2016-04-04T15:12:24.000Z
2022-03-14T12:55:09.000Z
caffe/include/caffe/layers/sparse_hypercolumn_extractor_layer.hpp
TrinhQuocNguyen/autocolorize
79d4ce1054d35c06bdfcc93236b71e161e082ebb
[ "BSD-3-Clause" ]
20
2016-04-05T12:44:04.000Z
2022-02-22T06:02:17.000Z
caffe/include/caffe/layers/sparse_hypercolumn_extractor_layer.hpp
TrinhQuocNguyen/autocolorize
79d4ce1054d35c06bdfcc93236b71e161e082ebb
[ "BSD-3-Clause" ]
71
2016-07-12T15:28:16.000Z
2021-12-16T12:22:57.000Z
#ifndef CAFFE_SPARSE_HYPERCOLUMN_LAYER_HPP #define CAFFE_SPARSE_HYPERCOLUMN_LAYER_HPP #include <string> #include <utility> #include <vector> #include "caffe/blob.hpp" #include "caffe/common.hpp" #include "caffe/layer.hpp" namespace caffe { /** * \ingroup ttic * @brief This extracts locations of hypercolumns. It s...
32.333333
82
0.737629
gustavla
49108ddf6d4c6c7194aeb7664774efa5285a70e3
2,316
cpp
C++
src/level/button/pressureButton.cpp
kirbyUK/duo
85155fcce81086ea39593750f042a8f518f09804
[ "MIT" ]
null
null
null
src/level/button/pressureButton.cpp
kirbyUK/duo
85155fcce81086ea39593750f042a8f518f09804
[ "MIT" ]
null
null
null
src/level/button/pressureButton.cpp
kirbyUK/duo
85155fcce81086ea39593750f042a8f518f09804
[ "MIT" ]
null
null
null
/* Copyright (c) 2014, Alex Kerr * * 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 DISCLAIMS ALL WAR...
28.592593
78
0.71848
kirbyUK
491093ebf494376d05903c57abe5e9bd5b9b74f5
1,476
cpp
C++
Codes/CodeForces/E/1265E_2.cpp
fahimfarhan/legendary-coding-odyssey
55289e05aa04f866201c607bed00c505cd9c4df9
[ "MIT" ]
3
2019-07-20T07:26:31.000Z
2020-08-06T09:31:09.000Z
Codes/CodeForces/E/1265E_2.cpp
fahimfarhan/legendary-coding-odyssey
55289e05aa04f866201c607bed00c505cd9c4df9
[ "MIT" ]
null
null
null
Codes/CodeForces/E/1265E_2.cpp
fahimfarhan/legendary-coding-odyssey
55289e05aa04f866201c607bed00c505cd9c4df9
[ "MIT" ]
4
2019-06-20T18:43:32.000Z
2020-10-07T16:45:23.000Z
/* Author : Qazi Fahim Farhan (@fahimfarhan) */ /* May the CodeForces be with you! */ #include <iostream> // #include <sstream> // #include <cstdio> // #include <cmath> // #include <cstring> // #include <cctype> // #include <string> #include <vector> // #include <list> // #include <set> // #include <map> // #include <...
17.783133
56
0.496612
fahimfarhan
49154a3892486e9327bda6161d73774316183cd2
6,039
cpp
C++
qtmultimedia/src/plugins/android/src/mediacapture/qandroidcameraimageprocessingcontrol.cpp
wgnet/wds_qt
8db722fd367d2d0744decf99ac7bafaba8b8a3d3
[ "Apache-2.0" ]
1
2020-04-30T15:47:35.000Z
2020-04-30T15:47:35.000Z
qtmultimedia/src/plugins/android/src/mediacapture/qandroidcameraimageprocessingcontrol.cpp
wgnet/wds_qt
8db722fd367d2d0744decf99ac7bafaba8b8a3d3
[ "Apache-2.0" ]
null
null
null
qtmultimedia/src/plugins/android/src/mediacapture/qandroidcameraimageprocessingcontrol.cpp
wgnet/wds_qt
8db722fd367d2d0744decf99ac7bafaba8b8a3d3
[ "Apache-2.0" ]
null
null
null
/**************************************************************************** ** ** Copyright (C) 2015 The Qt Company Ltd. ** Contact: http://www.qt.io/licensing/ ** ** This file is part of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL21$ ** Commercial License Usage ** Licensees holding valid commercial Qt licenses may ...
44.733333
115
0.674946
wgnet
4915cc1fa9aa0126e6c28cde54d0f51ccd180fa1
2,171
hpp
C++
src/SudokuGraph.hpp
luiz787/alg1-tp3
3c1e54b023ddb269bce557681cf574aca18b3a87
[ "MIT" ]
null
null
null
src/SudokuGraph.hpp
luiz787/alg1-tp3
3c1e54b023ddb269bce557681cf574aca18b3a87
[ "MIT" ]
null
null
null
src/SudokuGraph.hpp
luiz787/alg1-tp3
3c1e54b023ddb269bce557681cf574aca18b3a87
[ "MIT" ]
null
null
null
#ifndef ALG1_TP3_SUDOKUGRAPH_HPP #define ALG1_TP3_SUDOKUGRAPH_HPP #include <cstdint> #include <list> #include <vector> #include <set> #include "Vertice.hpp" class SudokuGraph { private: std::vector<Vertice*> vertices; const uint32_t quadrantColumnWidth; const uint32_t quadrantRowHeight; const uint32_t...
40.962264
112
0.702441
luiz787
4918a085c092ae79048cbc9d2b6693d185013b3b
5,921
hpp
C++
build/include/lcmtypes/drake/lcmt_viewer_draw.hpp
ericmanzi/double_pendulum_lqr
76bba3091295abb7d412c4a3156258918f280c96
[ "BSD-3-Clause" ]
null
null
null
build/include/lcmtypes/drake/lcmt_viewer_draw.hpp
ericmanzi/double_pendulum_lqr
76bba3091295abb7d412c4a3156258918f280c96
[ "BSD-3-Clause" ]
null
null
null
build/include/lcmtypes/drake/lcmt_viewer_draw.hpp
ericmanzi/double_pendulum_lqr
76bba3091295abb7d412c4a3156258918f280c96
[ "BSD-3-Clause" ]
null
null
null
/** THIS IS AN AUTOMATICALLY GENERATED FILE. DO NOT MODIFY * BY HAND!! * * Generated by lcm-gen **/ #include <lcm/lcm_coretypes.h> #ifndef __drake_lcmt_viewer_draw_hpp__ #define __drake_lcmt_viewer_draw_hpp__ #include <vector> namespace drake { class lcmt_viewer_draw { public: int64_t timestamp...
31.494681
109
0.630468
ericmanzi
49198bef6748357995d737585a3a125683391cd6
5,281
cpp
C++
src/commands.cpp
rhoot/pantryman
4df649b811f8321efe49893ed69fefb03b0977d6
[ "0BSD" ]
7
2021-01-30T01:27:24.000Z
2021-11-14T20:32:01.000Z
src/commands.cpp
rhoot/pantryman
4df649b811f8321efe49893ed69fefb03b0977d6
[ "0BSD" ]
null
null
null
src/commands.cpp
rhoot/pantryman
4df649b811f8321efe49893ed69fefb03b0977d6
[ "0BSD" ]
null
null
null
// // Copyright (c) 2018 Johan Sköld // License: https://opensource.org/licenses/ISC // #include "commands.hpp" #include "config.hpp" #include <cassert> #include <cstring> #include <algorithm> namespace pm { HostCommand::HostCommand() { } HostCommands::HostCommands() : m_buffer{PM_CONFIG_COMMAN...
30.005682
94
0.589093
rhoot
491c7e635e7a39b17f3b6f7ca37a096e82866725
738
cpp
C++
UnLive2DAsset/Source/UnLive2DAsset/Private/UnLive2DMotion.cpp
Monocluar/UnLive2D
f4e255d3d5c12ebd56f6b248c65db7ffb7f58571
[ "MIT" ]
null
null
null
UnLive2DAsset/Source/UnLive2DAsset/Private/UnLive2DMotion.cpp
Monocluar/UnLive2D
f4e255d3d5c12ebd56f6b248c65db7ffb7f58571
[ "MIT" ]
null
null
null
UnLive2DAsset/Source/UnLive2DAsset/Private/UnLive2DMotion.cpp
Monocluar/UnLive2D
f4e255d3d5c12ebd56f6b248c65db7ffb7f58571
[ "MIT" ]
null
null
null
#include "UnLive2DMotion.h" #include "Misc/FileHelper.h" #if WITH_EDITOR bool UUnLive2DMotion::LoadLive2DMotionData(const FString& ReadMotionPath, EUnLive2DMotionGroup InMotionGroupType, int32 InMotionCount, float FadeInTime, float FadeOutTime) { const bool ReadSuc = FFileHelper::LoadFileToArray(MotionData.MotionB...
23.806452
171
0.817073
Monocluar
491d4d9781e754486e2d6adee12d3b075a0aa0c8
734
hpp
C++
src/interfaces/json_storage.hpp
aahmed-2/telemetry
7e098e93ef0974739459d296f99ddfab54722c23
[ "Apache-2.0" ]
4
2019-11-14T10:41:34.000Z
2021-12-09T23:54:52.000Z
src/interfaces/json_storage.hpp
aahmed-2/telemetry
7e098e93ef0974739459d296f99ddfab54722c23
[ "Apache-2.0" ]
2
2021-10-04T20:12:53.000Z
2021-12-14T18:13:03.000Z
src/interfaces/json_storage.hpp
aahmed-2/telemetry
7e098e93ef0974739459d296f99ddfab54722c23
[ "Apache-2.0" ]
2
2021-08-05T11:17:03.000Z
2021-12-13T15:22:48.000Z
#pragma once #include <boost/serialization/strong_typedef.hpp> #include <nlohmann/json.hpp> #include <filesystem> #include <optional> #include <string> namespace interfaces { class JsonStorage { public: BOOST_STRONG_TYPEDEF(std::filesystem::path, FilePath) BOOST_STRONG_TYPEDEF(std::filesystem::path, Direc...
24.466667
80
0.719346
aahmed-2
491db81b8315955dbd6a8777eb20a33854432efc
107,574
cc
C++
sandboxed_api/sandbox2/syscall_defs.cc
oshogbo/sandboxed-api
8e82b900f4d873219b3abfa2fd06ecbd416edefd
[ "Apache-2.0" ]
1,562
2019-03-07T10:02:53.000Z
2022-03-31T17:43:05.000Z
sandboxed_api/sandbox2/syscall_defs.cc
oshogbo/sandboxed-api
8e82b900f4d873219b3abfa2fd06ecbd416edefd
[ "Apache-2.0" ]
70
2019-03-19T01:02:49.000Z
2022-03-30T17:26:53.000Z
sandboxed_api/sandbox2/syscall_defs.cc
oshogbo/sandboxed-api
8e82b900f4d873219b3abfa2fd06ecbd416edefd
[ "Apache-2.0" ]
181
2019-03-18T19:41:30.000Z
2022-03-29T13:08:26.000Z
#include "sandboxed_api/sandbox2/syscall_defs.h" #include <cstdint> #include <type_traits> #include <glog/logging.h> #include "absl/algorithm/container.h" #include "absl/strings/escaping.h" #include "absl/strings/str_cat.h" #include "absl/strings/str_format.h" #include "sandboxed_api/config.h" #include "sandboxed_api...
56.291994
80
0.652844
oshogbo
4920e34b4bc7e375aef545fb49136ef9e39dd7f1
34,971
cpp
C++
src/pvrt/PVRTMatrixF.cpp
aunali1/sauerbraten-ios
247de70e6889d424b041ce08627aa446caaef46c
[ "Cube", "Zlib" ]
1
2019-10-25T05:46:42.000Z
2019-10-25T05:46:42.000Z
src/pvrt/PVRTMatrixF.cpp
aunali1/sauerbraten-ios
247de70e6889d424b041ce08627aa446caaef46c
[ "Cube", "Zlib" ]
1
2015-05-24T01:30:20.000Z
2015-05-24T01:30:20.000Z
src/pvrt/PVRTMatrixF.cpp
aunali1/sauerbraten-ios
247de70e6889d424b041ce08627aa446caaef46c
[ "Cube", "Zlib" ]
null
null
null
/****************************************************************************** @File PVRTMatrixF.cpp @Title @Copyright Copyright (C) 1999 - 2008 by Imagination Technologies Limited. @Platform ANSI compatible @Description Set of mathematical functions involving matrices, vectors and ...
30.436031
132
0.528552
aunali1
49221953ee2738b15d33786523097b56f7c985b5
384
cpp
C++
fre_check.cpp
1432junaid/cpp
8faf7ac856a50937f3a563dc8d23ee8e205a489c
[ "MIT" ]
null
null
null
fre_check.cpp
1432junaid/cpp
8faf7ac856a50937f3a563dc8d23ee8e205a489c
[ "MIT" ]
null
null
null
fre_check.cpp
1432junaid/cpp
8faf7ac856a50937f3a563dc8d23ee8e205a489c
[ "MIT" ]
null
null
null
#include<iostream> #include<cstring> using namespace std; int main(){ char *city = "lucknow junction"; char *c = "lucknow"; int hash[26]= {0}; int len = strlen(city); for(int i = 0; i<len ; i++){ if(city[i] >= 97 && city[i] <= 122) hash[city[i] - 'a']++; } for(int i=0; i<26;i++){ if(hash[i]>0){ cout<<ch...
17.454545
42
0.533854
1432junaid
49267adedbd3f62879ef3c4aa4e7a8c28800caa1
6,300
cpp
C++
src/libs/qlib/qdmvideoout.cpp
3dhater/Racer
d7fe4014b1efefe981528547649dc397da7fa780
[ "Unlicense" ]
null
null
null
src/libs/qlib/qdmvideoout.cpp
3dhater/Racer
d7fe4014b1efefe981528547649dc397da7fa780
[ "Unlicense" ]
null
null
null
src/libs/qlib/qdmvideoout.cpp
3dhater/Racer
d7fe4014b1efefe981528547649dc397da7fa780
[ "Unlicense" ]
1
2021-01-03T16:16:47.000Z
2021-01-03T16:16:47.000Z
/* * QDMVideoOut - definition/implementation * 13-11-99: Support for VL65 interface * NOTES: * - Generated by mkclass * BUGS: * - Same bugs apply as for QDMVideoIn; event handling of VL was changed * to generate events for all paths in one place. Need to demultiplex. * (C) 01-01-98 MarketGraph/RVG */ #include...
27.272727
75
0.685079
3dhater
492baaf94ed04edfec0954b99b40d808fec4c397
3,165
cpp
C++
src/daemon/CmdListener.cpp
klx99/Elastos.Service.CarrierGroup
a1922402af66308178f048352ab6038f4c2d848b
[ "MIT" ]
null
null
null
src/daemon/CmdListener.cpp
klx99/Elastos.Service.CarrierGroup
a1922402af66308178f048352ab6038f4c2d848b
[ "MIT" ]
null
null
null
src/daemon/CmdListener.cpp
klx99/Elastos.Service.CarrierGroup
a1922402af66308178f048352ab6038f4c2d848b
[ "MIT" ]
null
null
null
#include "CmdListener.hpp" #include <vector> #include <Carrier.hpp> #include <CmdParser.hpp> #include <DateTime.hpp> #include <ErrCode.hpp> #include <GroupCmdParser.hpp> #include <Log.hpp> #include <OptParser.hpp> namespace elastos { /* =========================================== */ /* === static variables initializ...
29.305556
80
0.484044
klx99
492e26e67ca7f81605a361d64d4f8a44e9a0e845
847
cpp
C++
HW2/Part2/Question4/main.cpp
Coslate/Data_Structures
d839e2d24c15b1ba20c772fc232b1a98b1b6dedf
[ "MIT" ]
null
null
null
HW2/Part2/Question4/main.cpp
Coslate/Data_Structures
d839e2d24c15b1ba20c772fc232b1a98b1b6dedf
[ "MIT" ]
null
null
null
HW2/Part2/Question4/main.cpp
Coslate/Data_Structures
d839e2d24c15b1ba20c772fc232b1a98b1b6dedf
[ "MIT" ]
null
null
null
//main.cpp #include <iostream> #include <Stack.h> #include <solution.h> #include <cstring> std::vector<std::vector<bool>> tmp_maze; std::vector<std::vector<bool>> maze; int rows=0; int cols=0; int m = 0, p = 0; std::string input_maze = "NO-INPUT"; int main(int argc, char*argv[]){ if(argc < 3){ std::cerr<<...
24.2
113
0.612751
Coslate
492e48c335a5776954c066f04cfc5aaf40673a54
69
cpp
C++
JPMorgan/JPMorgan.cpp
awoimbee/superberniebros
728531ad82817b8f9778d8fc72b2c72f1a90ae0b
[ "MIT" ]
2
2020-06-30T06:15:57.000Z
2020-06-30T06:25:12.000Z
JPMorgan/JPMorgan.cpp
awoimbee/superberniebros
728531ad82817b8f9778d8fc72b2c72f1a90ae0b
[ "MIT" ]
null
null
null
JPMorgan/JPMorgan.cpp
awoimbee/superberniebros
728531ad82817b8f9778d8fc72b2c72f1a90ae0b
[ "MIT" ]
1
2022-03-02T18:45:13.000Z
2022-03-02T18:45:13.000Z
// // Created by Eli Winkelman on 6/13/17. // #include "JPMorgan.h"
11.5
39
0.637681
awoimbee
4932ae43ff6878714d2571b92108f6a202b5473d
2,095
cpp
C++
MAX/library/test/Core/Transformer/AgentTransferManagerTransformerTest.cpp
isabella232/max-toolkit
6fc0b416efa064094ffc98daf6ee8755c3ec73fe
[ "Apache-2.0" ]
4
2021-09-10T18:35:11.000Z
2022-01-07T11:33:10.000Z
MAX/library/test/Core/Transformer/AgentTransferManagerTransformerTest.cpp
alexa/max-toolkit
6fc0b416efa064094ffc98daf6ee8755c3ec73fe
[ "Apache-2.0" ]
1
2022-02-08T19:22:12.000Z
2022-02-08T20:42:28.000Z
MAX/library/test/Core/Transformer/AgentTransferManagerTransformerTest.cpp
isabella232/max-toolkit
6fc0b416efa064094ffc98daf6ee8755c3ec73fe
[ "Apache-2.0" ]
3
2021-09-20T22:11:32.000Z
2022-02-08T17:26:53.000Z
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0/ * * or in the "license" f...
32.734375
99
0.75179
isabella232
4933ed9f9d4110a5473f465f757547973d61aa35
1,027
cpp
C++
python/popart._internal.ir/bindings/transforms/mergeexchange.cpp
graphcore/popart
15ce5b098638dc34a4d41ae2a7621003458df798
[ "MIT" ]
61
2020-07-06T17:11:46.000Z
2022-03-12T14:42:51.000Z
python/popart._internal.ir/bindings/transforms/mergeexchange.cpp
graphcore/popart
15ce5b098638dc34a4d41ae2a7621003458df798
[ "MIT" ]
1
2021-02-25T01:30:29.000Z
2021-11-09T11:13:14.000Z
python/popart._internal.ir/bindings/transforms/mergeexchange.cpp
graphcore/popart
15ce5b098638dc34a4d41ae2a7621003458df798
[ "MIT" ]
6
2020-07-15T12:33:13.000Z
2021-11-07T06:55:00.000Z
// Copyright (c) 2021 Graphcore Ltd. All rights reserved. #include "bindings/transforms/autodiff.hpp" #include "bindings/transforms/transform.hpp" #include <pybind11/cast.h> #include <pybind11/functional.h> #include <pybind11/pybind11.h> #include <pybind11/stl.h> #include <popart/graph.hpp> #include <popart/transform...
26.333333
67
0.701071
graphcore
49349850ebfb8542f3cc77a64fea0828cdd3fc4b
443
cpp
C++
PAT/PAT Basic/1016.cpp
Accelerator404/Algorithm-Demonstration
e40a499c23a56d363c743c76ac967d9c4247a4be
[ "Apache-2.0" ]
1
2019-09-18T23:45:27.000Z
2019-09-18T23:45:27.000Z
PAT/PAT Basic/1016.cpp
Accelerator404/Algorithm-Demonstration
e40a499c23a56d363c743c76ac967d9c4247a4be
[ "Apache-2.0" ]
null
null
null
PAT/PAT Basic/1016.cpp
Accelerator404/Algorithm-Demonstration
e40a499c23a56d363c743c76ac967d9c4247a4be
[ "Apache-2.0" ]
1
2019-09-18T23:45:28.000Z
2019-09-18T23:45:28.000Z
#include <iostream> #include <string> using namespace std; //PAT Basic No.1016 “部分A+B” int P(string K, int Dk) { int count = 0; for (int i = 0; i < K.length(); ++i) if (K.at(i) - '0' == Dk) count++; if (count == 0) return 0; else { string Pk(count, Dk + '0'); return strtol(Pk.c_str(), nullptr, 10); }...
16.407407
41
0.532731
Accelerator404
49388536df90b4ec85bfc27343dc87a9fb12632d
870
cc
C++
src/util/rename.cc
matt-gretton-dann/gd-posix-apps
3abf398269203883c8e13511d811c7d6f0cb1cf8
[ "Apache-2.0" ]
null
null
null
src/util/rename.cc
matt-gretton-dann/gd-posix-apps
3abf398269203883c8e13511d811c7d6f0cb1cf8
[ "Apache-2.0" ]
164
2020-12-30T11:35:34.000Z
2021-05-24T12:58:26.000Z
src/util/rename.cc
matt-gretton-dann/gd-posix-apps
3abf398269203883c8e13511d811c7d6f0cb1cf8
[ "Apache-2.0" ]
null
null
null
/** \file src/util/rename.cc * \brief Platform independent version of rename() * \author Copyright 2021, Matthew Gretton-Dann * SPDX-License-Identifier: Apache-2.0 */ #include "util/file.hh" #ifdef _WIN32 # include "util/utils.hh" # include <Windows.h> # include <cerrno> # include <cstddef> ex...
24.166667
75
0.652874
matt-gretton-dann
4938c2f3c1232ac88668257f33deb437724fcb0e
35,222
cpp
C++
src/mat_vec_fns_II.cpp
zzalscv2/FFEA
da8a09dadb1b3978a3d230dc79d9b163d7889242
[ "Apache-2.0" ]
null
null
null
src/mat_vec_fns_II.cpp
zzalscv2/FFEA
da8a09dadb1b3978a3d230dc79d9b163d7889242
[ "Apache-2.0" ]
null
null
null
src/mat_vec_fns_II.cpp
zzalscv2/FFEA
da8a09dadb1b3978a3d230dc79d9b163d7889242
[ "Apache-2.0" ]
1
2021-04-03T16:08:21.000Z
2021-04-03T16:08:21.000Z
// // This file is part of the FFEA simulation package // // Copyright (c) by the Theory and Development FFEA teams, // as they appear in the README.md file. // // FFEA 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 ...
36.843096
239
0.640622
zzalscv2
493a4227a94f21bab9b11ee133da6af36d8f41a0
66,031
cpp
C++
FrameWorkCode/slpNPatternDict.cpp
ayushbits/udaan-post-editing
499303a641598978d89cf0210776e80d98d2212a
[ "BSD-3-Clause" ]
1
2022-01-25T19:27:55.000Z
2022-01-25T19:27:55.000Z
FrameWorkCode/slpNPatternDict.cpp
ayushbits/udaan-post-editing
499303a641598978d89cf0210776e80d98d2212a
[ "BSD-3-Clause" ]
null
null
null
FrameWorkCode/slpNPatternDict.cpp
ayushbits/udaan-post-editing
499303a641598978d89cf0210776e80d98d2212a
[ "BSD-3-Clause" ]
null
null
null
#include <string> #include <sstream> #include <fstream> #include <iostream> #include <map> #include <set> #include <vector> #include <algorithm> #include <iterator> #include <vector> #include <QMessageBox> #include <iostream> #include "qdebug.h" #include "qtextstream.h" #include <cassert> #include <cmath> #include <st...
41.321026
356
0.550408
ayushbits
493e6aa31a226a2337839854bbb7f925721783ea
1,602
cpp
C++
tests/DBCParserTest.cpp
aiekick/dbcppp
8f433e7b3ce5ee11aa6061ba82ba3cc4ddbbbfbe
[ "MIT" ]
93
2019-12-26T08:35:22.000Z
2022-03-29T07:30:30.000Z
tests/DBCParserTest.cpp
Raufoon/dbcppp
f6db52bbca5a2272804ccdd8e38955e5b6cd7abd
[ "MIT" ]
54
2020-02-26T23:12:09.000Z
2022-03-13T18:21:20.000Z
tests/DBCParserTest.cpp
ozzdemir/dbcppp
c7ea82b799c3dd945b399c75a6cf38fff6d61a4e
[ "MIT" ]
26
2020-02-01T00:46:10.000Z
2022-03-29T12:40:37.000Z
#include <fstream> #include <iomanip> #include <filesystem> #include "dbcppp/Network.h" #include "dbcppp/Network2Functions.h" #include "Config.h" #include "Catch2.h" TEST_CASE("DBCParserTest", "[]") { std::size_t i = 0; for (const auto& dbc_file : std::filesystem::directory_iterator(std::filesystem::path(T...
31.411765
116
0.553059
aiekick
493fd10a81981d0e507a93a416dd54a150223854
3,692
cpp
C++
Sources/Elastos/Frameworks/Droid/Base/Core/src/elastos/droid/content/CIntentHelper.cpp
jingcao80/Elastos
d0f39852356bdaf3a1234743b86364493a0441bc
[ "Apache-2.0" ]
7
2017-07-13T10:34:54.000Z
2021-04-16T05:40:35.000Z
Sources/Elastos/Frameworks/Droid/Base/Core/src/elastos/droid/content/CIntentHelper.cpp
jingcao80/Elastos
d0f39852356bdaf3a1234743b86364493a0441bc
[ "Apache-2.0" ]
null
null
null
Sources/Elastos/Frameworks/Droid/Base/Core/src/elastos/droid/content/CIntentHelper.cpp
jingcao80/Elastos
d0f39852356bdaf3a1234743b86364493a0441bc
[ "Apache-2.0" ]
9
2017-07-13T12:33:20.000Z
2021-06-19T02:46:48.000Z
//========================================================================= // Copyright (C) 2012 The Elastos Open Source Project // // 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 // // ...
26.753623
93
0.647887
jingcao80
494023c248b5d96d68510482a00fbafad820c649
19,717
cpp
C++
aby3-DB_tests/PermutaitonTests.cpp
vincehong/aby3
1a5277b37249545e967fc58a9235666a2453c104
[ "MIT" ]
121
2019-06-25T01:35:50.000Z
2022-03-24T12:53:17.000Z
aby3-DB_tests/PermutaitonTests.cpp
vincehong/aby3
1a5277b37249545e967fc58a9235666a2453c104
[ "MIT" ]
33
2020-01-21T16:47:09.000Z
2022-01-23T12:41:22.000Z
aby3-DB_tests/PermutaitonTests.cpp
vincehong/aby3
1a5277b37249545e967fc58a9235666a2453c104
[ "MIT" ]
36
2019-09-05T08:35:09.000Z
2022-01-14T11:57:22.000Z
#include <cryptoTools/Network/IOService.h> #include <cryptoTools/Network/Session.h> #include <cryptoTools/Network/Channel.h> #include <cryptoTools/Common/Matrix.h> #include <aby3-DB/OblvPermutation.h> #include <aby3-DB/OblvSwitchNet.h> #include <cryptoTools/Crypto/PRNG.h> #include "PermutaitonTests.h" #include <ioman...
28.95301
149
0.4417
vincehong
4940c95479a0bf4cba16f33b2ea42b63ea8fff66
484
cpp
C++
mod04/ex03/Ice.cpp
paozer/piscine_cpp
449d4a60b3c50c7ba6d94e38a7b632b5f447a438
[ "Unlicense" ]
null
null
null
mod04/ex03/Ice.cpp
paozer/piscine_cpp
449d4a60b3c50c7ba6d94e38a7b632b5f447a438
[ "Unlicense" ]
null
null
null
mod04/ex03/Ice.cpp
paozer/piscine_cpp
449d4a60b3c50c7ba6d94e38a7b632b5f447a438
[ "Unlicense" ]
2
2021-01-31T13:52:11.000Z
2021-05-19T18:36:17.000Z
#include "Ice.hpp" /* CONSTRUCTION DESTRUCTION */ Ice::Ice() : AMateria("ice") {} Ice::~Ice() {} Ice::Ice(const Ice& other) : AMateria("ice") { *this = other; } Ice& Ice::operator=(const Ice& other) { AMateria::operator=(other); return *this; } /* MEMBER FUNCTIONS */ void Ice::use(ICharacter& target) { ...
20.166667
85
0.60124
paozer
4942e2b43f35c35e90cd20df07c2e4609f1c64b5
571
hpp
C++
Labs/AI/TicTacToe/src/SuperHeader.hpp
jadnohra/jad-pre-2015-dabblings
368cbd39c6371b3e48b0c67d9a83fc20eee41346
[ "MIT" ]
null
null
null
Labs/AI/TicTacToe/src/SuperHeader.hpp
jadnohra/jad-pre-2015-dabblings
368cbd39c6371b3e48b0c67d9a83fc20eee41346
[ "MIT" ]
null
null
null
Labs/AI/TicTacToe/src/SuperHeader.hpp
jadnohra/jad-pre-2015-dabblings
368cbd39c6371b3e48b0c67d9a83fc20eee41346
[ "MIT" ]
null
null
null
#ifndef __SuperHeader_hpp #define __SuperHeader_hpp #include <stdlib.h> #include <tchar.h> #include <assert.h> #include <algorithm> #define NOMINMAX #ifndef _WIN32_WINNT // Allow use of features specific to Windows XP or later. #define _WIN32_WINNT 0x0501 // Change this to the appropri...
16.794118
105
0.66725
jadnohra
494363cf5e51c77fae1c46c961b84dfed7424c3c
2,230
hpp
C++
include/Aether/Screen.hpp
NightYoshi370/Aether
87d2b81f5d3143e39c363a9c81c195d440d7a4e8
[ "MIT" ]
1
2021-02-04T07:27:46.000Z
2021-02-04T07:27:46.000Z
libs/Aether/include/Aether/Screen.hpp
tkgstrator/SeedHack
227566d993bdea7a2851a8fc664b539186509697
[ "MIT" ]
null
null
null
libs/Aether/include/Aether/Screen.hpp
tkgstrator/SeedHack
227566d993bdea7a2851a8fc664b539186509697
[ "MIT" ]
null
null
null
#ifndef AETHER_SCREEN_HPP #define AETHER_SCREEN_HPP #include "Aether/base/Container.hpp" #include <unordered_map> namespace Aether { /** * @brief A class that represents a screen layout * Stores all screen elements for a specific screen. */ class Screen : public Container { private: ...
33.283582
76
0.54843
NightYoshi370
4948220c7d9e62f081bb794035cc497751a9a6c2
1,338
cpp
C++
main/choose-and-swap/choose-and-swap.cpp
EliahKagan/old-practice-snapshot
1b53897eac6902f8d867c8f154ce2a489abb8133
[ "0BSD" ]
null
null
null
main/choose-and-swap/choose-and-swap.cpp
EliahKagan/old-practice-snapshot
1b53897eac6902f8d867c8f154ce2a489abb8133
[ "0BSD" ]
null
null
null
main/choose-and-swap/choose-and-swap.cpp
EliahKagan/old-practice-snapshot
1b53897eac6902f8d867c8f154ce2a489abb8133
[ "0BSD" ]
null
null
null
#include <iostream> #include <string> #include <unordered_set> namespace { bool get_swappable_chars(const std::string& s, char& high, char& low) { constexpr auto none = '\0'; high = low = none; if (s.size() < 2u) return true; const auto istop = s.size() - 1u; std::unord...
23.892857
73
0.434978
EliahKagan
4948f63c5fa04d8ea292d283e330409a91d25e3a
1,360
hpp
C++
inc/sexpr-ident.hpp
ryanvbissell/dslang
65379ca7bbefff0161d11343b742ac58452d37e7
[ "BSD-2-Clause" ]
null
null
null
inc/sexpr-ident.hpp
ryanvbissell/dslang
65379ca7bbefff0161d11343b742ac58452d37e7
[ "BSD-2-Clause" ]
null
null
null
inc/sexpr-ident.hpp
ryanvbissell/dslang
65379ca7bbefff0161d11343b742ac58452d37e7
[ "BSD-2-Clause" ]
null
null
null
// vim: set tabstop=2 softtabstop=2 shiftwidth=2 expandtab : /* * Copyright (c) 2014-2017, Ryan V. Bissell * All rights reserved. * * SPDX-License-Identifier: BSD-2-Clause * See the enclosed "LICENSE" file for exact license terms. */ #ifndef DSLANG_SEXPR_IDENT_HPP #define DSLANG_SEXPR_IDENT_HPP #include "sexpr....
21.935484
72
0.710294
ryanvbissell
494fb36c2c886326770309f15d09cb54105344e4
1,363
cpp
C++
C++(Adv_CompSci)/AdvCompSci/quiz2nd6weeks.cpp
zacswolf/CompSciProjects
9dc8ff4969d852d6c649c427032e16f068003658
[ "MIT" ]
1
2016-09-12T16:10:12.000Z
2016-09-12T16:10:12.000Z
C++(Adv_CompSci)/AdvCompSci/quiz2nd6weeks.cpp
zaccool30/CompSciProjects
9dc8ff4969d852d6c649c427032e16f068003658
[ "MIT" ]
null
null
null
C++(Adv_CompSci)/AdvCompSci/quiz2nd6weeks.cpp
zaccool30/CompSciProjects
9dc8ff4969d852d6c649c427032e16f068003658
[ "MIT" ]
null
null
null
#include <iostream> #include <string> #include <stdlib.h> using namespace std; class Manufacturer{ public: Manufacturer() { cout<< "E \n"; } Manufacturer(char code) { cout<< "D " << code << endl; } }; class LCDPanel: public Manufacturer{ public: LCDPane...
13.362745
50
0.487161
zacswolf
4953016766edc08efab4acd6241229c0075c519d
3,474
cpp
C++
depends/acransac/conditioning.cpp
mmrwizard/RenderMatch-1
a427138e6823675eaa76c693bc31a28566b4dcd8
[ "MIT" ]
null
null
null
depends/acransac/conditioning.cpp
mmrwizard/RenderMatch-1
a427138e6823675eaa76c693bc31a28566b4dcd8
[ "MIT" ]
null
null
null
depends/acransac/conditioning.cpp
mmrwizard/RenderMatch-1
a427138e6823675eaa76c693bc31a28566b4dcd8
[ "MIT" ]
1
2020-05-12T08:19:14.000Z
2020-05-12T08:19:14.000Z
// Copyright (c) 2010 libmv authors. // // 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...
39.477273
109
0.678181
mmrwizard
4953051a9c59971d6ec2529ea8a90a8789ebb2eb
5,339
cpp
C++
src/utils.cpp
molendijk/InfoClock
98719495800cd930d51c495e83b08ddf9b99fc5b
[ "MIT" ]
null
null
null
src/utils.cpp
molendijk/InfoClock
98719495800cd930d51c495e83b08ddf9b99fc5b
[ "MIT" ]
null
null
null
src/utils.cpp
molendijk/InfoClock
98719495800cd930d51c495e83b08ddf9b99fc5b
[ "MIT" ]
null
null
null
/* * utils.cpp * * Created on: 04.01.2017 * Author: Bartosz Bielawski */ #include <time.h> #include <stdio.h> #include <vector> #include <memory> #include "utils.h" #include "config.h" #include "Client.h" #include "Arduino.h" #include "FS.h" #include "DataStore.h" #include "WiFiUdp.h" #include "SyslogSende...
19.067857
100
0.65649
molendijk
495489fcb847b90b12ad90cef1f5bc51d903b3c3
691
cpp
C++
test/unit/api/terminal.cpp
jfalcou/nucog
186808bec04af4f1138bc5362510fffbe690fdd3
[ "MIT" ]
1
2022-02-13T20:11:06.000Z
2022-02-13T20:11:06.000Z
test/unit/api/terminal.cpp
jfalcou/nucog
186808bec04af4f1138bc5362510fffbe690fdd3
[ "MIT" ]
null
null
null
test/unit/api/terminal.cpp
jfalcou/nucog
186808bec04af4f1138bc5362510fffbe690fdd3
[ "MIT" ]
null
null
null
//================================================================================================== /** NuCoG - Numerical Code Generator Copyright : NuCoG Contributors & Maintainers SPDX-License-Identifier: MIT **/ //================================================================================================...
31.409091
100
0.413893
jfalcou
495848907d3023ec87db4db2dde46671f499404e
3,311
cpp
C++
src/chess/Loc.cpp
owengage/chess
777ba282c66ce750a1f1604483b14a99b0122eba
[ "Unlicense" ]
null
null
null
src/chess/Loc.cpp
owengage/chess
777ba282c66ce750a1f1604483b14a99b0122eba
[ "Unlicense" ]
null
null
null
src/chess/Loc.cpp
owengage/chess
777ba282c66ce750a1f1604483b14a99b0122eba
[ "Unlicense" ]
null
null
null
#include <chess/Loc.h> #include <perf/StackVector.h> #include <unordered_map> using chess::LocInvalid; using chess::Loc; using chess::Sign; namespace { std::vector<Loc> create_all_locs() { std::vector<Loc> all; all.reserve(static_cast<std::size_t>(Loc::board_size)); for (int y = 0; y < L...
26.488
126
0.536998
owengage
4958a96e54b627eab4400680cdac314ae51a30c0
9,803
cpp
C++
src/stellar/stellar.arg_parser.cpp
marehr/dream_stellar
03ffc33cba4336d585108a22c8e166d0fbd7ac4b
[ "BSD-3-Clause" ]
null
null
null
src/stellar/stellar.arg_parser.cpp
marehr/dream_stellar
03ffc33cba4336d585108a22c8e166d0fbd7ac4b
[ "BSD-3-Clause" ]
16
2021-11-12T16:42:35.000Z
2022-01-11T15:28:23.000Z
src/stellar/stellar.arg_parser.cpp
marehr/dream_stellar
03ffc33cba4336d585108a22c8e166d0fbd7ac4b
[ "BSD-3-Clause" ]
null
null
null
#include <stellar/app/stellar.arg_parser.hpp> #include <seqan/seq_io.h> namespace stellar { namespace app { /////////////////////////////////////////////////////////////////////////////// // Parses options from command line parser and writes them into options object ArgumentParser::ParseResult _parseOptions(Argumen...
50.530928
154
0.656738
marehr
4958e0e4495d1dcfdd543aa69b57e04b3080d15d
542
cpp
C++
leetcode/1328. Break a Palindrome/s1.cpp
joycse06/LeetCode-1
ad105bd8c5de4a659c2bbe6b19f400b926c82d93
[ "Fair" ]
1
2021-02-11T01:23:10.000Z
2021-02-11T01:23:10.000Z
leetcode/1328. Break a Palindrome/s1.cpp
aerlokesh494/LeetCode
0f2cbb28d5a9825b51a8d3b3a0ae0c30d7ff155f
[ "Fair" ]
1
2021-08-08T18:44:24.000Z
2021-08-08T18:44:24.000Z
leetcode/1328. Break a Palindrome/s1.cpp
aerlokesh494/LeetCode
0f2cbb28d5a9825b51a8d3b3a0ae0c30d7ff155f
[ "Fair" ]
1
2021-03-25T17:11:14.000Z
2021-03-25T17:11:14.000Z
// OJ: https://leetcode.com/problems/break-a-palindrome/ // Author: github.com/lzl124631x // Time: O(N) // Space: O(1) class Solution { public: string breakPalindrome(string palindrome) { int N = palindrome.size(), end = N / 2; for (int i = 0; i < end; ++i) { if (palindrome[i] != 'a') { ...
25.809524
56
0.46679
joycse06
495ad89e432ab9f0af10b5534737b962cd0de0d5
441
cpp
C++
class/constructors.cpp
Abhilekhgautam/Cpp-college
3101cb061e36eee9d42226a8cfaf86ad5c695ef2
[ "CC0-1.0" ]
1
2021-07-22T08:38:25.000Z
2021-07-22T08:38:25.000Z
class/constructors.cpp
Abhilekhgautam/Cpp-college
3101cb061e36eee9d42226a8cfaf86ad5c695ef2
[ "CC0-1.0" ]
null
null
null
class/constructors.cpp
Abhilekhgautam/Cpp-college
3101cb061e36eee9d42226a8cfaf86ad5c695ef2
[ "CC0-1.0" ]
null
null
null
/* A c++ program to describe "objects are destroyed int reverse order of their creation"*/ #include<iostream> class Table{ public: Table(){std::cout<<"Object Created"<<'\n';} ~Table(){std::cout<<"Object Destoyed"<<'\n';} }; void f(int i) { Table aa; Table bb; if(i>0){ //cc will be created ...
17.64
90
0.589569
Abhilekhgautam
495d1ce5531b5f88d17985d2c1a900531e11b56a
484
cpp
C++
src/core/test/src/net/test_Socket.cpp
SimpleTalkCpp/libsita
e0c13f16cebf799f0d57b8345d21de7407f59e2b
[ "MIT" ]
2
2021-03-19T13:19:27.000Z
2021-04-03T17:42:30.000Z
src/core/test/src/net/test_Socket.cpp
SimpleTalkCpp/libsita
e0c13f16cebf799f0d57b8345d21de7407f59e2b
[ "MIT" ]
null
null
null
src/core/test/src/net/test_Socket.cpp
SimpleTalkCpp/libsita
e0c13f16cebf799f0d57b8345d21de7407f59e2b
[ "MIT" ]
null
null
null
#include <sita_core/base/UnitTest.h> #include <sita_core/net/Socket.h> namespace sita { class Test_Socket : public UnitTestBase { public: void test_resolveIPv4() { Vector<int> a; IPv4 ip; ip.resolve("localhost"); SITA_DUMP_VAR(ip); SITA_TEST_CHECK(ip == IPv4(127,0,0,1)); SITA_TEST_CHE...
17.925926
50
0.663223
SimpleTalkCpp