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
bc3bf4d210522a103d2ad6ddc8d8c6f117082c03
1,805
hpp
C++
include/string_algorithm_impl.hpp
Shtan7/KTL
9c0adf8fac2f0bb481060b7bbb15b1356089af3c
[ "MIT" ]
38
2020-12-16T22:12:50.000Z
2022-03-24T04:07:14.000Z
include/string_algorithm_impl.hpp
Shtan7/KTL
9c0adf8fac2f0bb481060b7bbb15b1356089af3c
[ "MIT" ]
165
2020-11-11T21:22:23.000Z
2022-03-26T14:30:40.000Z
include/string_algorithm_impl.hpp
Shtan7/KTL
9c0adf8fac2f0bb481060b7bbb15b1356089af3c
[ "MIT" ]
5
2021-07-16T19:05:28.000Z
2021-12-22T11:46:42.000Z
#pragma once #include <algorithm.hpp> namespace ktl { namespace str::details { template <class Traits, class CharT, class SizeType> constexpr SizeType find_ch(const CharT* str, CharT ch, SizeType length, SizeType start_pos, ...
33.425926
80
0.556233
Shtan7
bc3e67071673456f2ff996ca5248a914ba86b0a6
983
hpp
C++
include/tools/StringTools.hpp
CapRat/APAL
a08f4bc6ee6299e8e370ef99750262ad23c87d58
[ "MIT" ]
2
2020-09-21T12:30:05.000Z
2020-10-14T19:43:51.000Z
include/tools/StringTools.hpp
CapRat/APAL
a08f4bc6ee6299e8e370ef99750262ad23c87d58
[ "MIT" ]
null
null
null
include/tools/StringTools.hpp
CapRat/APAL
a08f4bc6ee6299e8e370ef99750262ad23c87d58
[ "MIT" ]
null
null
null
#ifndef STRING_TOOLS_HPP #define STRING_TOOLS_HPP #include <string> namespace APAL { /** * @brief Replaces all occurences of an itemToReplace in the given strToChange * @param strToChange string to replaces stuff in. * @param itemToReplace String value, which should be replaces * @param substitute Text to replace...
33.896552
78
0.722279
CapRat
bc3ec80aab2aafa2db45125a14f98e557efaa48a
4,217
hpp
C++
data_structure/set_managed_by_interval.hpp
emthrm/library
0876ba7ec64e23b5ec476a7a0b4880d497a36be1
[ "Unlicense" ]
1
2021-12-26T14:17:29.000Z
2021-12-26T14:17:29.000Z
data_structure/set_managed_by_interval.hpp
emthrm/library
0876ba7ec64e23b5ec476a7a0b4880d497a36be1
[ "Unlicense" ]
3
2020-07-13T06:23:02.000Z
2022-02-16T08:54:26.000Z
data_structure/set_managed_by_interval.hpp
emthrm/library
0876ba7ec64e23b5ec476a7a0b4880d497a36be1
[ "Unlicense" ]
null
null
null
#pragma once #include <cassert> #include <iostream> #include <iterator> #include <limits> #include <set> #include <tuple> #include <utility> template <typename T> struct SetManagedByInterval { using IntervalType = std::set<std::pair<T, T>>; IntervalType interval{ {std::numeric_limits<T>::lowest(),...
32.438462
92
0.549917
emthrm
a4bae2b46f729cf5e390dec87ea27ca6e79be0d4
462
cc
C++
src/base/Exception.cc
plantree/Slack
469fff18792a6d4d20c409f0331e3c93117c5ddf
[ "MIT" ]
2
2019-07-15T08:34:38.000Z
2019-08-07T12:27:23.000Z
src/base/Exception.cc
plantree/Slack
469fff18792a6d4d20c409f0331e3c93117c5ddf
[ "MIT" ]
null
null
null
src/base/Exception.cc
plantree/Slack
469fff18792a6d4d20c409f0331e3c93117c5ddf
[ "MIT" ]
null
null
null
/* * @Author: py.wang * @Date: 2019-05-04 09:08:42 * @Last Modified by: py.wang * @Last Modified time: 2019-06-06 18:26:02 */ #include "src/base/Exception.h" #include "src/base/CurrentThread.h" #include <iostream> #include <cxxabi.h> #include <execinfo.h> #include <stdlib.h> #include <stdio.h> namespace slack...
17.111111
44
0.67316
plantree
a4bb20896fd90541883eaa179780cb85402ae1ed
2,078
cpp
C++
dali/public-api/signals/signal-slot-connections.cpp
vcebollada/dali-core
1f880695d4f6cb871db7f946538721e882ba1633
[ "Apache-2.0", "BSD-3-Clause" ]
1
2016-08-05T09:58:38.000Z
2016-08-05T09:58:38.000Z
dali/public-api/signals/signal-slot-connections.cpp
tizenorg/platform.core.uifw.dali-core
dd89513b4bb1fdde74a83996c726e10adaf58349
[ "Apache-2.0" ]
1
2020-03-22T10:19:17.000Z
2020-03-22T10:19:17.000Z
dali/public-api/signals/signal-slot-connections.cpp
tizenorg/platform.core.uifw.dali-core
dd89513b4bb1fdde74a83996c726e10adaf58349
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2015 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable...
23.613636
147
0.751203
vcebollada
a4be20b3add2814e1866e728892150ded1e63d33
1,406
cpp
C++
BOJ_solve/8143.cpp
python-programmer1512/Code_of_gunwookim
e72e6724fb9ee6ccf2e1064583956fa954ba0282
[ "MIT" ]
4
2021-01-27T11:51:30.000Z
2021-01-30T17:02:55.000Z
BOJ_solve/8143.cpp
python-programmer1512/Code_of_gunwookim
e72e6724fb9ee6ccf2e1064583956fa954ba0282
[ "MIT" ]
null
null
null
BOJ_solve/8143.cpp
python-programmer1512/Code_of_gunwookim
e72e6724fb9ee6ccf2e1064583956fa954ba0282
[ "MIT" ]
5
2021-01-27T11:46:12.000Z
2021-05-06T05:37:47.000Z
#include <bits/stdc++.h> #define x first #define y second #define pb push_back #define all(v) v.begin(),v.end() #pragma gcc optimize("O3") #pragma gcc optimize("Ofast") #pragma gcc optimize("unroll-loops") using namespace std; const int INF = 1e9; const int TMX = 1 << 18; const long long llINF = 2e18; const long long ...
24.666667
72
0.555477
python-programmer1512
a4c0b3a4a0bd799c0bf2bcb12e8d575c70435f37
3,177
hpp
C++
compile_time_sha1.hpp
bb1950328/Compile-time-hash-functions
f0da28457eec122901c90849e544d488009de36a
[ "MIT" ]
26
2021-07-21T18:25:38.000Z
2021-07-29T18:25:06.000Z
compile_time_sha1.hpp
bb1950328/Compile-time-hash-functions
f0da28457eec122901c90849e544d488009de36a
[ "MIT" ]
2
2021-07-22T13:52:51.000Z
2021-07-28T08:21:47.000Z
compile_time_sha1.hpp
bb1950328/Compile-time-hash-functions
f0da28457eec122901c90849e544d488009de36a
[ "MIT" ]
1
2021-07-27T15:28:32.000Z
2021-07-27T15:28:32.000Z
#ifndef COMPILE_TIME_SHA1_H #define COMPILE_TIME_SHA1_H #include "crypto_hash.hpp" #define MASK 0xffffffff #define SHA1_HASH_SIZE 5 template<typename H=const char *> class SHA1 : public CryptoHash<SHA1_HASH_SIZE> { private: constexpr static uint32_t scheduled(CircularQueue<uint32_t,16> queue) { return ...
30.257143
117
0.585143
bb1950328
a4d27e88f279061cc7a40d1d6ebd9b9c5eaf786f
1,352
cpp
C++
c++/solution393.cpp
imafish/leetcodetests
abee2c2d6c0b25a21ef4294bceb7e069b6547b85
[ "MIT" ]
null
null
null
c++/solution393.cpp
imafish/leetcodetests
abee2c2d6c0b25a21ef4294bceb7e069b6547b85
[ "MIT" ]
null
null
null
c++/solution393.cpp
imafish/leetcodetests
abee2c2d6c0b25a21ef4294bceb7e069b6547b85
[ "MIT" ]
null
null
null
#include "afx.h" using namespace std; class Solution { public: bool validUtf8(vector<int> &data) { /* state: 0: end of byte sequence; >0: in byte sequence, state = bytes remaining */ int state = 0; int result = true; for (auto &i : data) {...
19.882353
53
0.293639
imafish
a4d62c89fa73afb1f5bf984935a6c1d5b4af7106
216
cpp
C++
PhoneCall/Source.cpp
TanyaZheleva/OOP
f44c67e5df69a91a77d35668f0709954546f210d
[ "MIT" ]
null
null
null
PhoneCall/Source.cpp
TanyaZheleva/OOP
f44c67e5df69a91a77d35668f0709954546f210d
[ "MIT" ]
null
null
null
PhoneCall/Source.cpp
TanyaZheleva/OOP
f44c67e5df69a91a77d35668f0709954546f210d
[ "MIT" ]
null
null
null
#include <iostream> #include "PhoneCall.h" int main() { PhoneCall p; p.setLength(50); p.getPrice(); p.setNumber(9002121004); std::cout << p.getPrice() << "\n"; std::cout << p.getNumber() << "\n"; return 0; }
15.428571
36
0.611111
TanyaZheleva
a4e4907df8f1e31eadadea20bc86b9db5e0c481d
2,880
cpp
C++
test/qupzilla-master/src/lib/webengine/webscrollbar.cpp
JamesMBallard/qmake-unity
cf5006a83e7fb1bbd173a9506771693a673d387f
[ "MIT" ]
16
2019-05-23T08:10:39.000Z
2021-12-21T11:20:37.000Z
test/qupzilla-master/src/lib/webengine/webscrollbar.cpp
JamesMBallard/qmake-unity
cf5006a83e7fb1bbd173a9506771693a673d387f
[ "MIT" ]
null
null
null
test/qupzilla-master/src/lib/webengine/webscrollbar.cpp
JamesMBallard/qmake-unity
cf5006a83e7fb1bbd173a9506771693a673d387f
[ "MIT" ]
2
2019-05-23T18:37:43.000Z
2021-08-24T21:29:40.000Z
/* ============================================================ * QupZilla - Qt web browser * Copyright (C) 2016-2017 David Rosca <nowrep@gmail.com> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundat...
30.638298
104
0.632986
JamesMBallard
a4e65fccd156afa3f1979ebcfb7e5032c5337d12
1,755
cc
C++
cmd/cmd_wall.cc
jdb19937/makemore
61297dd322b3a9bb6cdfdd15e8886383cb490534
[ "MIT" ]
null
null
null
cmd/cmd_wall.cc
jdb19937/makemore
61297dd322b3a9bb6cdfdd15e8886383cb490534
[ "MIT" ]
null
null
null
cmd/cmd_wall.cc
jdb19937/makemore
61297dd322b3a9bb6cdfdd15e8886383cb490534
[ "MIT" ]
null
null
null
#include <system.hh> #include <process.hh> #include <server.hh> #include <agent.hh> #include <wall.hh> namespace makemore { using namespace makemore; using namespace std; extern "C" void mainmore(Process *); void mainmore( Process *process ) { Session *session = process->session; Server *server = process->sys...
18.092784
64
0.589744
jdb19937
a4f19349fe7dc82703e99a7e577de29c5ccc593e
352
hpp
C++
src/stan/math/rev/mat/fun/stan_print.hpp
alashworth/stan-monorepo
75596bc1f860ededd7b3e9ae9002aea97ee1cd46
[ "BSD-3-Clause" ]
1
2019-09-06T15:53:17.000Z
2019-09-06T15:53:17.000Z
src/stan/math/rev/mat/fun/stan_print.hpp
alashworth/stan-monorepo
75596bc1f860ededd7b3e9ae9002aea97ee1cd46
[ "BSD-3-Clause" ]
8
2019-01-17T18:51:16.000Z
2019-01-17T18:51:39.000Z
src/stan/math/rev/mat/fun/stan_print.hpp
alashworth/stan-monorepo
75596bc1f860ededd7b3e9ae9002aea97ee1cd46
[ "BSD-3-Clause" ]
null
null
null
#ifndef STAN_MATH_REV_MAT_FUN_STAN_PRINT_HPP #define STAN_MATH_REV_MAT_FUN_STAN_PRINT_HPP #include <stan/math/rev/meta.hpp> #include <stan/math/rev/core.hpp> #include <ostream> namespace stan { namespace math { inline void stan_print(std::ostream* o, const var& x) { *o << x.val(); } } // namespace math...
22
73
0.710227
alashworth
a4ffbecd8a6b47e6681d075332d09fc43f2204b2
1,016
cpp
C++
001-050/027/c++/code.cpp
Shivam010/daily-coding-problem
679376a7b0f5f9bccdd261a1a660e951a1142174
[ "MIT" ]
9
2020-09-13T12:48:35.000Z
2022-03-02T06:25:06.000Z
001-050/027/c++/code.cpp
Shivam010/daily-coding-problem
679376a7b0f5f9bccdd261a1a660e951a1142174
[ "MIT" ]
9
2020-09-11T21:19:27.000Z
2020-09-14T20:18:02.000Z
001-050/027/c++/code.cpp
Shivam010/daily-coding-problem
679376a7b0f5f9bccdd261a1a660e951a1142174
[ "MIT" ]
1
2020-09-11T22:03:29.000Z
2020-09-11T22:03:29.000Z
// Copyright (c) 2020 Shivam Rathore. All rights reserved. // Use of this source code is governed by MIT License that // can be found in the LICENSE file. // This file contains Solution to Challenge #027, run using // g++ 001-050/027/c++/code.cpp -o bin/out // ./bin/out < 001-050/027/c++/in.txt > 001-050/027/c++/out.t...
22.577778
63
0.463583
Shivam010
3503ad6ded863d307e6a0c7b412333db0a909996
26,120
cc
C++
src/object/datatype/bytes.cc
ArgonLang/Argon
462d3d8721acd5131894bcbfa0214b0cbcffdf66
[ "Apache-2.0" ]
13
2021-06-24T17:50:20.000Z
2022-03-13T23:00:16.000Z
src/object/datatype/bytes.cc
ArgonLang/Argon
462d3d8721acd5131894bcbfa0214b0cbcffdf66
[ "Apache-2.0" ]
null
null
null
src/object/datatype/bytes.cc
ArgonLang/Argon
462d3d8721acd5131894bcbfa0214b0cbcffdf66
[ "Apache-2.0" ]
1
2022-03-31T22:58:42.000Z
2022-03-31T22:58:42.000Z
// This source file is part of the Argon project. // // Licensed under the Apache License v2.0 #include <memory/memory.h> #include <vm/runtime.h> #include "bool.h" #include "bounds.h" #include "error.h" #include "integer.h" #include "iterator.h" #include "hash_magic.h" #include "bytes.h" #define BUFFER_GET(bs) ...
27.728238
130
0.580283
ArgonLang
350513dd2d806fa3ce14db73d79f36710bdbc344
7,976
cpp
C++
Desktop/FOSSA-GroundStationControlPanel/FOSSAGSCP/3rdparty/FOSSACommsInterpreter/src/Message/FOSSASAT2/FOSSASAT2_Statistics.cpp
FOSSASystems/FOSSA-GroundStationControlPanel
af83a09619239abe9fca09e073ab41c68bfd4822
[ "MIT" ]
2
2021-11-07T16:26:46.000Z
2022-03-20T10:14:41.000Z
Desktop/FOSSA-GroundStationControlPanel/FOSSAGSCP/3rdparty/FOSSACommsInterpreter/src/Message/FOSSASAT2/FOSSASAT2_Statistics.cpp
FOSSASystems/FOSSA-GroundStationControlPanel
af83a09619239abe9fca09e073ab41c68bfd4822
[ "MIT" ]
18
2020-08-28T13:38:36.000Z
2020-09-30T11:08:42.000Z
Desktop/FOSSA-GroundStationControlPanel/FOSSAGSCP/3rdparty/FOSSACommsInterpreter/src/Message/FOSSASAT2/FOSSASAT2_Statistics.cpp
FOSSASystems/FOSSA-GroundStationControlPanel
af83a09619239abe9fca09e073ab41c68bfd4822
[ "MIT" ]
2
2020-07-29T21:19:28.000Z
2021-08-16T03:58:14.000Z
// MIT LICENSE // // Copyright (c) 2020 FOSSA Systems // // 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, modif...
30.676923
84
0.572342
FOSSASystems
35062bf4f84f1a2eee4898af77ad9d1364a24cca
808
cpp
C++
CD6/The K Weakest Rows in a Matrix.cpp
shtanriverdi/CS487-Introduction-to-Competitive-Programming-Progress
0d7a4fa4346ee08d9b2b2f628c3ffab7f3f81166
[ "MIT" ]
4
2019-12-12T19:59:50.000Z
2020-01-20T15:44:44.000Z
CD6/The K Weakest Rows in a Matrix.cpp
shtanriverdi/CS487-Introduction-to-Competitive-Programming-Progress
0d7a4fa4346ee08d9b2b2f628c3ffab7f3f81166
[ "MIT" ]
null
null
null
CD6/The K Weakest Rows in a Matrix.cpp
shtanriverdi/CS487-Introduction-to-Competitive-Programming-Progress
0d7a4fa4346ee08d9b2b2f628c3ffab7f3f81166
[ "MIT" ]
null
null
null
// Question Link ---> https://leetcode.com/problems/the-k-weakest-rows-in-a-matrix/ class Solution { public: vector<int> kWeakestRows(vector<vector<int>>& mat, int k) { vector<int> res; multimap<int, int> soldierRow; // {soldier, row} int M = mat.size(); int N = mat[0].size()...
33.666667
85
0.423267
shtanriverdi
350a46e5e7cfc9bef25eda4f7dc0cbc960c30320
6,210
hpp
C++
sprout/darkroom/renderers/whitted_style.hpp
jwakely/Sprout
a64938fad0a64608f22d39485bc55a1e0dc07246
[ "BSL-1.0" ]
1
2018-09-21T23:50:44.000Z
2018-09-21T23:50:44.000Z
sprout/darkroom/renderers/whitted_style.hpp
jwakely/Sprout
a64938fad0a64608f22d39485bc55a1e0dc07246
[ "BSL-1.0" ]
null
null
null
sprout/darkroom/renderers/whitted_style.hpp
jwakely/Sprout
a64938fad0a64608f22d39485bc55a1e0dc07246
[ "BSL-1.0" ]
null
null
null
#ifndef SPROUT_DARKROOM_RENDERERS_WHITTED_STYLE_HPP #define SPROUT_DARKROOM_RENDERERS_WHITTED_STYLE_HPP #include <cstddef> #include <limits> #include <type_traits> #include <sprout/config.hpp> #include <sprout/tuple/functions.hpp> #include <sprout/darkroom/access/access.hpp> #include <sprout/darkroom/colors/r...
26.092437
106
0.597101
jwakely
350dd3935eb89bd0718345919593ae59d7f97d31
856
cpp
C++
nodes/BlackAndWhiteNode.cpp
zhyvchyky/filters
7158aa8a05fb004cdea63fdbd7d31111a1f4c796
[ "MIT" ]
null
null
null
nodes/BlackAndWhiteNode.cpp
zhyvchyky/filters
7158aa8a05fb004cdea63fdbd7d31111a1f4c796
[ "MIT" ]
2
2020-11-26T21:08:23.000Z
2020-12-03T15:22:09.000Z
nodes/BlackAndWhiteNode.cpp
zhyvchyky/filters
7158aa8a05fb004cdea63fdbd7d31111a1f4c796
[ "MIT" ]
null
null
null
// // Created by makstar on 01.12.2020. // #include "BlackAndWhiteNode.h" void BlackAndWhiteNode::process() { this->outputPtr = applyTransform(this->inputs[0]->getOutputPtr()); } std::shared_ptr<Image> BlackAndWhiteNode::applyTransform(const std::shared_ptr<Image>& img) { int width = img->getWidth(); i...
25.176471
93
0.616822
zhyvchyky
350e96dc5fbc370274c3005bb8d70ee22c033f4a
1,317
cpp
C++
Projects/CoX/Common/AuthProtocol/Events/ServerListResponse.cpp
teronis84/Segs
71ac841a079fd769c3a45836ac60f34e4fff32b9
[ "BSD-3-Clause" ]
null
null
null
Projects/CoX/Common/AuthProtocol/Events/ServerListResponse.cpp
teronis84/Segs
71ac841a079fd769c3a45836ac60f34e4fff32b9
[ "BSD-3-Clause" ]
null
null
null
Projects/CoX/Common/AuthProtocol/Events/ServerListResponse.cpp
teronis84/Segs
71ac841a079fd769c3a45836ac60f34e4fff32b9
[ "BSD-3-Clause" ]
null
null
null
#include "ServerListResponse.h" #ifdef _MSC_VER #include <ciso646> #endif void ServerListResponse::serializeto( GrowingBuffer &buf ) const { assert(not m_serv_list.empty()); buf.uPut((uint8_t)4); buf.uPut((uint8_t)m_serv_list.size()); buf.uPut((uint8_t)1); //preferred server number for(const GameSe...
28.021277
76
0.63022
teronis84
3510a2eabe92b719c86ea523f2c6683f3aae2a66
1,118
cpp
C++
alignment/distance/levenshtein.cpp
TianyiShi2001/bio-algorithms-cpp-edu
8f1ea4de0a2ed302f8bb1416d8c3afc9492cfdbb
[ "Apache-2.0" ]
null
null
null
alignment/distance/levenshtein.cpp
TianyiShi2001/bio-algorithms-cpp-edu
8f1ea4de0a2ed302f8bb1416d8c3afc9492cfdbb
[ "Apache-2.0" ]
null
null
null
alignment/distance/levenshtein.cpp
TianyiShi2001/bio-algorithms-cpp-edu
8f1ea4de0a2ed302f8bb1416d8c3afc9492cfdbb
[ "Apache-2.0" ]
null
null
null
/* Levenshtein distance # Examples $ ./levenshtein ABCDEFG ACEG Levenshtein Distance: 3 $ ./levenshtein ABCDEFG AZCPEGM Levenshtein Distance: 4 */ #include<iostream> #include<vector> #include<algorithm> using namespace std; size_t levenshtein(const string& x, const string...
18.633333
80
0.457066
TianyiShi2001
352eb217fc7fec112baba5f6eaa82a3af6913fc4
17,529
cpp
C++
VTK_Operation.cpp
jhpark16/PHT3D-Viewer-3D
2f62d95364b664f3cc50af2d77f280c2fb62b543
[ "MIT" ]
null
null
null
VTK_Operation.cpp
jhpark16/PHT3D-Viewer-3D
2f62d95364b664f3cc50af2d77f280c2fb62b543
[ "MIT" ]
null
null
null
VTK_Operation.cpp
jhpark16/PHT3D-Viewer-3D
2f62d95364b664f3cc50af2d77f280c2fb62b543
[ "MIT" ]
null
null
null
// VTK_Operation.cpp : implmentation of VTK operations to visualize a 3D model // // Author: Jungho Park (jhpark16@gmail.com) // Date: May 2015 // Description: // ///////////////////////////////////////////////////////////////////////////// #include "stdafx.h" #include "resource.h" VTK_Operation::VTK_Operation(HWND ...
33.011299
127
0.641223
jhpark16
352ee369a17dd68ee11d4caa98cd63e6c8139c18
128
hpp
C++
libraries/hayai/src/hayai-fixture.hpp
nuernber/Theia
4bac771b09458a46c44619afa89498a13cd39999
[ "BSD-3-Clause" ]
1
2021-02-02T13:30:52.000Z
2021-02-02T13:30:52.000Z
libraries/hayai/src/hayai-fixture.hpp
nuernber/Theia
4bac771b09458a46c44619afa89498a13cd39999
[ "BSD-3-Clause" ]
null
null
null
libraries/hayai/src/hayai-fixture.hpp
nuernber/Theia
4bac771b09458a46c44619afa89498a13cd39999
[ "BSD-3-Clause" ]
1
2020-09-28T08:43:13.000Z
2020-09-28T08:43:13.000Z
#include "hayai-test.hpp" #ifndef __HAYAI_FIXTURE #define __HAYAI_FIXTURE namespace Hayai { typedef Test Fixture; } #endif
12.8
25
0.765625
nuernber
35316c5c53df9191da565bef5f333ee9e71b0e3f
1,070
cpp
C++
POO 2 - Survival Game/Map.cpp
xaddee/Survival-Game
633beb24f93e313a0764521625c1d45d64875ba9
[ "MIT" ]
1
2018-12-13T19:31:29.000Z
2018-12-13T19:31:29.000Z
POO 2 - Survival Game/Map.cpp
xaddee/Survival-Game
633beb24f93e313a0764521625c1d45d64875ba9
[ "MIT" ]
null
null
null
POO 2 - Survival Game/Map.cpp
xaddee/Survival-Game
633beb24f93e313a0764521625c1d45d64875ba9
[ "MIT" ]
null
null
null
#include "Map.h" Map::Map() { _size = 0; } Map::~Map() { for (int i = 0; i < _size; i++) { delete[] _map_matrix[i]; } delete[] _map_matrix; } void Map::resize(int size) { _size = size; _map_matrix = new char*[size]; for (int i = 0; i < size; i++) { _map_matrix[i] = new char[size]; for (int j = 0; ...
15.507246
90
0.55514
xaddee
35321a538499b25e6b808f7ffead51b6339a414c
450
hpp
C++
Util/timer.hpp
arumakan1727/kyopro-cpplib
b39556b3616c231579937fb86b696c692aa4ef74
[ "MIT" ]
null
null
null
Util/timer.hpp
arumakan1727/kyopro-cpplib
b39556b3616c231579937fb86b696c692aa4ef74
[ "MIT" ]
null
null
null
Util/timer.hpp
arumakan1727/kyopro-cpplib
b39556b3616c231579937fb86b696c692aa4ef74
[ "MIT" ]
null
null
null
#pragma once #include <chrono> /** * @brief Timer (実行時間計測) */ class Timer { std::chrono::system_clock::time_point m_start; public: Timer() = default; inline void start() { m_start = std::chrono::system_clock::now(); } inline uint64_t elapsedMilli() const { using namespace std::...
19.565217
66
0.617778
arumakan1727
35326c829dc6ab9ccfadeb519a0ecc1242f9474d
446
cpp
C++
1301/1301A Three Strings/1301A Three Strings.cpp
Poohdxx/codeforces
e0d95eba325d5e720e5589798c7c06894de882f4
[ "MIT" ]
null
null
null
1301/1301A Three Strings/1301A Three Strings.cpp
Poohdxx/codeforces
e0d95eba325d5e720e5589798c7c06894de882f4
[ "MIT" ]
null
null
null
1301/1301A Three Strings/1301A Three Strings.cpp
Poohdxx/codeforces
e0d95eba325d5e720e5589798c7c06894de882f4
[ "MIT" ]
null
null
null
#include <iostream> #include <string> using namespace std; int main() { ios_base::sync_with_stdio(false); int t; cin >> t; for (int i = 0; i < t; i++) { string a, b, c; cin >> a >> b >> c; int n = a.size(); bool pass = true; for (int j = 0; j < n; j++) { if (c[j] != a[j] && c[j] != b[j]) { pass =...
14.387097
38
0.466368
Poohdxx
3532b78fbcfb49ae23f30a1b9b6963e8e940b051
737
hh
C++
CaloMC/inc/CaloWFExtractor.hh
knoepfel/Offline
bb0e52f2e6627abe223e8adaf6fe326cead595df
[ "Apache-2.0" ]
null
null
null
CaloMC/inc/CaloWFExtractor.hh
knoepfel/Offline
bb0e52f2e6627abe223e8adaf6fe326cead595df
[ "Apache-2.0" ]
null
null
null
CaloMC/inc/CaloWFExtractor.hh
knoepfel/Offline
bb0e52f2e6627abe223e8adaf6fe326cead595df
[ "Apache-2.0" ]
null
null
null
#ifndef CaloMC_CaloWFExtractor_hh #define CaloMC_CaloWFExtractor_hh // // Utility to simulate waveform hit extraction in FPGA // #include <vector> namespace mu2e { class CaloWFExtractor { public: CaloWFExtractor(unsigned bufferDigi, int minPeakADC,unsi...
27.296296
123
0.576662
knoepfel
3538646ae76e0a69bdebac9c6fc2401efb8eba95
118
cpp
C++
sunspec-modbus/common.cpp
PortlandStatePowerLab/temp-susnspec-modbus
ace2d90b07e5f430739b2636fe64a78a4bf5d309
[ "BSD-3-Clause" ]
null
null
null
sunspec-modbus/common.cpp
PortlandStatePowerLab/temp-susnspec-modbus
ace2d90b07e5f430739b2636fe64a78a4bf5d309
[ "BSD-3-Clause" ]
null
null
null
sunspec-modbus/common.cpp
PortlandStatePowerLab/temp-susnspec-modbus
ace2d90b07e5f430739b2636fe64a78a4bf5d309
[ "BSD-3-Clause" ]
null
null
null
#include "include/sunspec/common.hpp" using namespace sunspec; Common::Common(/* args */) { } Common::~Common() { }
10.727273
37
0.669492
PortlandStatePowerLab
35399ccb73eb723be030e9811f09b91fb26bb19f
310
cpp
C++
Widget.cpp
cedoduarte/MovimientoParabolico
825bd490e99eb2c8a2072bc8d1956eafc26a56fa
[ "MIT" ]
null
null
null
Widget.cpp
cedoduarte/MovimientoParabolico
825bd490e99eb2c8a2072bc8d1956eafc26a56fa
[ "MIT" ]
null
null
null
Widget.cpp
cedoduarte/MovimientoParabolico
825bd490e99eb2c8a2072bc8d1956eafc26a56fa
[ "MIT" ]
null
null
null
#include "Widget.h" #include "ui_Widget.h" #include "Escena.h" Widget::Widget(QWidget *parent) : QWidget(parent) , ui(new Ui::Widget) { ui->setupUi(this); mEscena = new Escena(this); ui->graphicsView->setScene(mEscena); mEscena->iniciaEscena(); } Widget::~Widget() { delete ui; }
16.315789
40
0.635484
cedoduarte
353b65bb932f1c7de186038dc4cce1c23e3b234b
2,456
hpp
C++
libpdraw/src/pdraw_media.hpp
Akaaba/pdraw
2411d6b846e83202984f422eeb79553304e7bd03
[ "BSD-3-Clause" ]
4
2018-05-15T01:26:21.000Z
2020-01-27T03:15:34.000Z
libpdraw/src/pdraw_media.hpp
Akaaba/pdraw
2411d6b846e83202984f422eeb79553304e7bd03
[ "BSD-3-Clause" ]
1
2018-10-18T15:53:02.000Z
2018-10-18T15:53:02.000Z
libpdraw/src/pdraw_media.hpp
Akaaba/pdraw
2411d6b846e83202984f422eeb79553304e7bd03
[ "BSD-3-Clause" ]
4
2017-05-16T11:46:12.000Z
2019-01-09T09:13:01.000Z
/** * Parrot Drones Awesome Video Viewer Library * Media interface * * Copyright (c) 2016 Aurelien Barre * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above...
27.595506
79
0.746336
Akaaba
353f99ae03e56ef37978e1d9f6c142b0c27fe9ab
1,862
hpp
C++
src/content_handlers/simulator_handler/inc/aduc/simulator_handler.hpp
bemol38/iot-hub-device-update
2cd165ba05cf7a6eff34cbf6c26e4ae30cc9d5d9
[ "MIT" ]
null
null
null
src/content_handlers/simulator_handler/inc/aduc/simulator_handler.hpp
bemol38/iot-hub-device-update
2cd165ba05cf7a6eff34cbf6c26e4ae30cc9d5d9
[ "MIT" ]
null
null
null
src/content_handlers/simulator_handler/inc/aduc/simulator_handler.hpp
bemol38/iot-hub-device-update
2cd165ba05cf7a6eff34cbf6c26e4ae30cc9d5d9
[ "MIT" ]
null
null
null
/** * @file simulator_handler.hpp * @brief Defines SimulatorHandlerImpl. * * @copyright Copyright (c) Microsoft Corporation. * Licensed under the MIT License. */ #ifndef ADUC_SIMULATOR_HANDLER_HPP #define ADUC_SIMULATOR_HANDLER_HPP #include "aduc/content_handler.hpp" #include "aduc/logging.h" EXTERN_C_BEGIN /*...
30.032258
82
0.77551
bemol38
354c1589c2fd08cf037d595611ab9d222ac001aa
220
hpp
C++
include/locker/fs.hpp
gmbeard/locker
0d691f1d6716fa154820c52a97b78ac02a4d06c0
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
include/locker/fs.hpp
gmbeard/locker
0d691f1d6716fa154820c52a97b78ac02a4d06c0
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
include/locker/fs.hpp
gmbeard/locker
0d691f1d6716fa154820c52a97b78ac02a4d06c0
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
#ifndef LOCKER_FS_HPP_INCLUDED #define LOCKER_FS_HPP_INCLUDED #include <string> #include <tuple> namespace locker { auto get_locker_home() noexcept -> std::pair<bool, std::string>; } #endif //LOCKER_FS_HPP_INCLUDED
14.666667
64
0.772727
gmbeard
355084b153344b80aeedc8a2f8176eb8ccf83b5c
245
cpp
C++
src/bolusGUI/dlgtimedate.cpp
dreamshader/bolus
b63ae2e1821019f920cb8adeff373bafbb5e0008
[ "Apache-2.0" ]
null
null
null
src/bolusGUI/dlgtimedate.cpp
dreamshader/bolus
b63ae2e1821019f920cb8adeff373bafbb5e0008
[ "Apache-2.0" ]
null
null
null
src/bolusGUI/dlgtimedate.cpp
dreamshader/bolus
b63ae2e1821019f920cb8adeff373bafbb5e0008
[ "Apache-2.0" ]
null
null
null
#include "dlgtimedate.h" #include "ui_dlgtimedate.h" dlgTimeDate::dlgTimeDate(QWidget *parent) : QDialog(parent), ui(new Ui::dlgTimeDate) { pParent = parent; ui->setupUi(this); } dlgTimeDate::~dlgTimeDate() { delete ui; }
14.411765
43
0.665306
dreamshader
355098ebb5367190cfe9d0af757e0a104ccb948f
243
cpp
C++
src/main/cpp/subsystems/Arm.cpp
roboticsmgci/2022-robot
42833feaac3f4a3a9b53d7182a9b8814c0e22912
[ "BSD-3-Clause" ]
2
2022-03-09T13:54:02.000Z
2022-03-31T02:59:31.000Z
src/main/cpp/subsystems/Arm.cpp
roboticsmgci/2022-robot
42833feaac3f4a3a9b53d7182a9b8814c0e22912
[ "BSD-3-Clause" ]
null
null
null
src/main/cpp/subsystems/Arm.cpp
roboticsmgci/2022-robot
42833feaac3f4a3a9b53d7182a9b8814c0e22912
[ "BSD-3-Clause" ]
8
2022-03-15T14:14:30.000Z
2022-03-29T19:20:17.000Z
#include "subsystems/Arm.h" #include <frc/smartdashboard/SmartDashboard.h> Arm::Arm(){ m_arm.RestoreFactoryDefaults(); SetName("Arm"); } void Arm::Rotate(double speed){ m_arm.Set(speed); } void Arm::Stop(){ m_arm.Set(0); }
14.294118
46
0.658436
roboticsmgci
355a7f39b1f7c34c5851bc2266d4bfe5ee784855
1,414
cpp
C++
code/tile.cpp
DavDag/Tetris-Clone
465342dd7bda0c44b3b71874a8ae7d13beb610e1
[ "MIT" ]
1
2019-08-07T09:13:16.000Z
2019-08-07T09:13:16.000Z
code/tile.cpp
DavDag/Tetris-Clone
465342dd7bda0c44b3b71874a8ae7d13beb610e1
[ "MIT" ]
null
null
null
code/tile.cpp
DavDag/Tetris-Clone
465342dd7bda0c44b3b71874a8ae7d13beb610e1
[ "MIT" ]
null
null
null
#include "tile.hpp" Tile::Tile(int x, int y, int w, int h): sprite(), x(x), y(y), marked(false), color(Textures::EmptyBlock) { this->sprite.setTexture(*texturemanager.get(Textures::EmptyBlock)); this->sprite.scale(w / this->sprite.getGlobalBounds().width, h / this->sprite.getGlobalBounds().height); ...
21.424242
109
0.559406
DavDag
355d51843955888b30547d1ee5590a784d442232
1,386
cpp
C++
Classes/Screens/MainMenu.cpp
Kirlos-Melad/Connect-Four
42740dc78754548ca508be6386b897df9504a6e8
[ "MIT" ]
null
null
null
Classes/Screens/MainMenu.cpp
Kirlos-Melad/Connect-Four
42740dc78754548ca508be6386b897df9504a6e8
[ "MIT" ]
null
null
null
Classes/Screens/MainMenu.cpp
Kirlos-Melad/Connect-Four
42740dc78754548ca508be6386b897df9504a6e8
[ "MIT" ]
null
null
null
// // Created by kirlos on 2020-07-19. // #include "MainMenu.h" MainMenu::MainMenu(float width, float height, sf::Font &font) : MenuScroller(width, height, font, MAX_NUMBER_OF_ITEMS){ menu[0].setFont(font); menu[0].setFillColor(sf::Color::Blue); menu[0].setString("Play"); menu[0].setPosition(sf::Vecto...
33
119
0.665945
Kirlos-Melad
355fc94e4c3dd4a41a6f4f74a315abb6aa511606
140
hxx
C++
src/Providers/UNIXProviders/ConfigurationComponent/UNIX_ConfigurationComponent_LINUX.hxx
brunolauze/openpegasus-providers-old
b00f1aad575bae144b8538bf57ba5fd5582a4ec7
[ "MIT" ]
1
2020-10-12T09:00:09.000Z
2020-10-12T09:00:09.000Z
src/Providers/UNIXProviders/ConfigurationComponent/UNIX_ConfigurationComponent_LINUX.hxx
brunolauze/openpegasus-providers-old
b00f1aad575bae144b8538bf57ba5fd5582a4ec7
[ "MIT" ]
null
null
null
src/Providers/UNIXProviders/ConfigurationComponent/UNIX_ConfigurationComponent_LINUX.hxx
brunolauze/openpegasus-providers-old
b00f1aad575bae144b8538bf57ba5fd5582a4ec7
[ "MIT" ]
null
null
null
#ifdef PEGASUS_OS_LINUX #ifndef __UNIX_CONFIGURATIONCOMPONENT_PRIVATE_H #define __UNIX_CONFIGURATIONCOMPONENT_PRIVATE_H #endif #endif
11.666667
47
0.864286
brunolauze
3562b31b74429cd50fb29b14f627f13dcbe1c43d
951
cpp
C++
Codeforces #353 DIV2/D.cpp
kimixuchen/Codeforces
1c259e867310d148d813c3ea7cc4f9cad3f21049
[ "Apache-2.0" ]
null
null
null
Codeforces #353 DIV2/D.cpp
kimixuchen/Codeforces
1c259e867310d148d813c3ea7cc4f9cad3f21049
[ "Apache-2.0" ]
null
null
null
Codeforces #353 DIV2/D.cpp
kimixuchen/Codeforces
1c259e867310d148d813c3ea7cc4f9cad3f21049
[ "Apache-2.0" ]
null
null
null
/** *Codeforces Round #353 DIV2 B *18/05/16 07:44:53 *xuchen * */ #include <stdio.h> #include <iostream> #include <cmath> #include <cstring> #include <map> #include <set> #include <stdlib.h> #include <algorithm> #include <queue> using namespace std; const int N = 100005; set<int> valset; map<int, int> L, R; int ...
19.02
48
0.446898
kimixuchen
3565d7db77ec5a5a25550ce7576f1730494d0e6e
1,446
hpp
C++
src/internal/ConversionModel.hpp
escherstair/qTsConverter
ef5c047f088d466544828d3878e808737771ae11
[ "MIT" ]
23
2020-04-10T19:37:40.000Z
2022-03-09T07:59:04.000Z
src/internal/ConversionModel.hpp
escherstair/qTsConverter
ef5c047f088d466544828d3878e808737771ae11
[ "MIT" ]
21
2020-06-09T09:08:08.000Z
2022-01-07T11:45:45.000Z
src/internal/ConversionModel.hpp
escherstair/qTsConverter
ef5c047f088d466544828d3878e808737771ae11
[ "MIT" ]
12
2019-01-10T07:38:29.000Z
2020-03-26T11:19:54.000Z
#pragma once #include <QAbstractListModel> class ConversionModel final : public QAbstractListModel { Q_OBJECT Q_PROPERTY(QString sourceMsg READ sourceMsg NOTIFY sourceMsgChanged) public: ConversionModel() = delete; explicit ConversionModel(QObject *parent = nullptr); ConversionModel(const Conv...
26.777778
72
0.716459
escherstair
8315eee6bdf842eba16b592ea4bdaeebf9dd2500
2,411
cpp
C++
ArrtSource/Rendering/ArrSettings.cpp
makototakemoto/azure-remote-rendering-asset-tool
8aa05c0fc62c630e27b048c6e80e2ebecc81703b
[ "MIT" ]
null
null
null
ArrtSource/Rendering/ArrSettings.cpp
makototakemoto/azure-remote-rendering-asset-tool
8aa05c0fc62c630e27b048c6e80e2ebecc81703b
[ "MIT" ]
null
null
null
ArrtSource/Rendering/ArrSettings.cpp
makototakemoto/azure-remote-rendering-asset-tool
8aa05c0fc62c630e27b048c6e80e2ebecc81703b
[ "MIT" ]
null
null
null
#include "ArrSettings.h" #include <QSettings> void ArrSettings::SetVideoWidth(int width) { width = std::clamp(width, s_videoWidthMin, s_videoWidthMax); if (m_videoWidth != width) { m_videoWidth = width; Q_EMIT OptionsChanged(); } } void ArrSettings::SetVideoHeight(int height) { he...
23.407767
81
0.66321
makototakemoto
831a7ea3291e33f19e983275f092015d8e42d978
7,697
cc
C++
src/simulation/curve.cc
kipje13/RLUtilities
eb887b312e33136b27a64516179ea812c366c2fa
[ "MIT" ]
null
null
null
src/simulation/curve.cc
kipje13/RLUtilities
eb887b312e33136b27a64516179ea812c366c2fa
[ "MIT" ]
null
null
null
src/simulation/curve.cc
kipje13/RLUtilities
eb887b312e33136b27a64516179ea812c366c2fa
[ "MIT" ]
null
null
null
#include "simulation/ogh.h" #include "simulation/curve.h" #include "mechanics/drive.h" #include "misc/io.h" float maximize_speed_with_throttle(float accel, float v0, float sf); float maximize_speed_without_throttle(float accel, float v0, float sf); void Curve::write_to_file(std::string prefix) { write(...
26.818815
84
0.561907
kipje13
8325095eb50d42833b326ed5074e0ce3af0ed732
5,797
hpp
C++
include/hta/metric.hpp
metricq/hta
36e822e965593858327c9e4cefd434977597941e
[ "BSD-3-Clause" ]
2
2019-06-26T08:39:52.000Z
2019-07-31T12:16:05.000Z
include/hta/metric.hpp
metricq/hta
36e822e965593858327c9e4cefd434977597941e
[ "BSD-3-Clause" ]
16
2018-10-11T15:45:34.000Z
2021-09-30T12:33:18.000Z
include/hta/metric.hpp
metricq/hta
36e822e965593858327c9e4cefd434977597941e
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2018, ZIH, // Technische Universitaet Dresden, // Federal Republic of Germany // // All rights reserved. // // Redistribution and use in source and binary forms, with or without modification, // are permitted provided that the following conditions are met: // // * Redistributions of source code mus...
33.703488
99
0.656546
metricq
8326e6360a86c4f511e0aa48405d1956ee818a24
370
cpp
C++
test/test.cpp
xaxxon/v8toolk
6cf23bfc0b7d20e4476aef5e0463b9316a818b90
[ "MIT" ]
41
2016-06-19T00:08:51.000Z
2021-12-05T16:40:54.000Z
test/test.cpp
xaxxon/v8-class-wrapper
6cf23bfc0b7d20e4476aef5e0463b9316a818b90
[ "MIT" ]
22
2016-07-03T21:23:27.000Z
2019-12-26T15:16:36.000Z
test/test.cpp
xaxxon/v8-class-wrapper
6cf23bfc0b7d20e4476aef5e0463b9316a818b90
[ "MIT" ]
7
2017-03-07T05:31:40.000Z
2021-09-18T10:38:24.000Z
#include "testing.h" #include "v8toolkit/javascript.h" using namespace testing; int main(int argc, char* argv[]) { // std::cerr << fmt::format("platform::init") << std::endl; v8toolkit::Platform::init(argc, argv, "../"); // std::cerr << fmt::format("platform::init done") << std::endl; testing::InitGoog...
28.461538
67
0.637838
xaxxon
8328acd8ac2648472608414f38fea4202e9411f0
798
cpp
C++
cpp/src/hackerrank/introduction/variable_sized_arrays.cpp
shunkakinoki/code
4d67f7afb2f4c2afd39ddc7b4dd87a826ebc45a6
[ "MIT" ]
null
null
null
cpp/src/hackerrank/introduction/variable_sized_arrays.cpp
shunkakinoki/code
4d67f7afb2f4c2afd39ddc7b4dd87a826ebc45a6
[ "MIT" ]
3
2019-10-29T07:17:19.000Z
2020-02-01T04:41:53.000Z
cpp/src/hackerrank/introduction/variable_sized_arrays.cpp
shunkakinoki/code
4d67f7afb2f4c2afd39ddc7b4dd87a826ebc45a6
[ "MIT" ]
null
null
null
// Copyright 2019 Shun Kakinoki. // Reference: https://www.hackerrank.com/challenges/variable-sized-arrays/forum #include <iostream> using namespace std; int main() { int n, q; cin >> n >> q; // Create 2d Array int** a = new int*[n]; // Fill 2d Array with 1d Subarrays for (int i = 0; i < n; i++) { ...
17.733333
79
0.535088
shunkakinoki
8331c091e60fd4f2cd8014bbab2cf4a9c3b66c92
982
hpp
C++
core/include/cubos/core/ecs/null_storage.hpp
GameDevTecnico/cubos
51f89c9f3afc8afe502d167dadecab7dfe5b1c7b
[ "MIT" ]
2
2021-09-28T14:13:27.000Z
2022-03-26T11:36:48.000Z
core/include/cubos/core/ecs/null_storage.hpp
GameDevTecnico/cubos
51f89c9f3afc8afe502d167dadecab7dfe5b1c7b
[ "MIT" ]
72
2021-09-29T08:55:26.000Z
2022-03-29T21:21:00.000Z
core/include/cubos/core/ecs/null_storage.hpp
GameDevTecnico/cubos
51f89c9f3afc8afe502d167dadecab7dfe5b1c7b
[ "MIT" ]
null
null
null
#ifndef CUBOS_CORE_ECS_NULL_STORAGE_HPP #define CUBOS_CORE_ECS_NULL_STORAGE_HPP #include <cubos/core/ecs/storage.hpp> namespace cubos::core::ecs { /// @brief NullStorage is a Storage implementation that doesn't keep any data, made for components /// that don't hold any data and just work as tags. /// @tp...
24.55
102
0.657841
GameDevTecnico
8333c2edf2802e96eea6b72e50754e66672de391
6,992
cpp
C++
firmware/Src/PHIL/DriveSystem.cpp
Northeastern-Micromouse/Master
162d6153665da0cf58a572fc138abcd92579710d
[ "MIT" ]
null
null
null
firmware/Src/PHIL/DriveSystem.cpp
Northeastern-Micromouse/Master
162d6153665da0cf58a572fc138abcd92579710d
[ "MIT" ]
null
null
null
firmware/Src/PHIL/DriveSystem.cpp
Northeastern-Micromouse/Master
162d6153665da0cf58a572fc138abcd92579710d
[ "MIT" ]
null
null
null
#include "DriveSystem.h" phil::DriveSystem::DriveSystem( pal::Gpio* left_step, pal::Gpio* left_dir, pal::Gpio* right_step, pal::Gpio* right_dir, pal::Tim* us_tick, float width, float wheel_radius, float radians_per_step): WIDTH(width), WHEEL_RADIUS(wheel_radius), RADI...
31.638009
79
0.620566
Northeastern-Micromouse
8336e89c3f1483f65210fdb034f3ae29349224b6
120
cpp
C++
app/src/main/cpp/demo.cpp
CameraKit/camerakit-android-jpegtools
01a782f22bdb2fa9b2488731efc72693cd74f703
[ "MIT" ]
155
2018-01-22T19:14:47.000Z
2022-03-22T03:47:48.000Z
app/src/main/cpp/demo.cpp
CameraKit/camerakit-android-jpegtools
01a782f22bdb2fa9b2488731efc72693cd74f703
[ "MIT" ]
8
2018-03-22T23:40:28.000Z
2021-05-31T17:43:23.000Z
app/src/main/cpp/demo.cpp
CameraKit/camerakit-android-jpegtools
01a782f22bdb2fa9b2488731efc72693cd74f703
[ "MIT" ]
32
2018-01-29T05:05:32.000Z
2022-03-22T03:47:50.000Z
#include <jni.h> extern "C" JNIEXPORT void JNICALL Java_com_jpegkit_app_MainActivity_init(JNIEnv *env, jobject obj) { }
24
66
0.791667
CameraKit
833c211d4e2ca4b9236fb5327ad551adbcae2eab
2,511
cpp
C++
Application/decode.cpp
TheRising-cxf/Test
2b827482688446988e8c67ac5a099498ae810097
[ "MIT" ]
null
null
null
Application/decode.cpp
TheRising-cxf/Test
2b827482688446988e8c67ac5a099498ae810097
[ "MIT" ]
null
null
null
Application/decode.cpp
TheRising-cxf/Test
2b827482688446988e8c67ac5a099498ae810097
[ "MIT" ]
null
null
null
/** * @file decode.cpp * @author Haoxuan Zhang (zhanghx59@mail2.sysu.edu.cn) * @brief * @version 0.1 * @date 2019-12-19 * * @copyright Copyright (c) 2019 * */ #include "decode.h" #include "ifft2d.h" Mat getDecodeImg(fftPair *encode, fftPair *origin, vector<vector<float> > &vec){ int width = encode->im...
26.15625
90
0.526483
TheRising-cxf
83417e651b53a07e58a78f4b6b462e643afc026d
1,369
cpp
C++
test/mpi/mpi_common.cpp
ricosjp/monolish-debian-package
4e8087804e8ab03484d44106599233ed5080ba54
[ "Apache-2.0" ]
172
2021-04-05T10:04:40.000Z
2022-03-28T14:30:38.000Z
test/mpi/mpi_common.cpp
ricosjp/monolish
12757f93883830a89820507d44e2eea20b5026e1
[ "Apache-2.0" ]
96
2021-04-06T01:53:44.000Z
2022-03-09T07:27:09.000Z
test/mpi/mpi_common.cpp
termoshtt/monolish
1cba60864002b55bc666da9baa0f8c2273578e01
[ "Apache-2.0" ]
8
2021-04-05T13:21:07.000Z
2022-03-09T23:24:06.000Z
#include "monolish_mpi.hpp" template <typename T> T test_sum(std::vector<T> &vec) { monolish::mpi::comm &comm = monolish::mpi::comm::get_instance(); double sum = 0; for (size_t i = 0; i < vec.size(); i++) { sum += vec[i]; } return comm.Allreduce(sum); } int main(int argc, char **argv) { if (argc !...
22.816667
66
0.578524
ricosjp
8343dbe73934f02650d375c56dab01cec36f0774
16,618
cxx
C++
ITS/AliITSPid.cxx
AllaMaevskaya/AliRoot
c53712645bf1c7d5f565b0d3228e3a6b9b09011a
[ "BSD-3-Clause" ]
52
2016-12-11T13:04:01.000Z
2022-03-11T11:49:35.000Z
ITS/AliITSPid.cxx
AllaMaevskaya/AliRoot
c53712645bf1c7d5f565b0d3228e3a6b9b09011a
[ "BSD-3-Clause" ]
1,388
2016-11-01T10:27:36.000Z
2022-03-30T15:26:09.000Z
ITS/AliITSPid.cxx
AllaMaevskaya/AliRoot
c53712645bf1c7d5f565b0d3228e3a6b9b09011a
[ "BSD-3-Clause" ]
275
2016-06-21T20:24:05.000Z
2022-03-31T13:06:19.000Z
//------------------------------------------------------------// // Class for identification of pions,kaons and protons in ITS // // Prior particles population (probabilities) are taken from // // Hijing event generator. // //-----------------------------------------------------------...
32.267961
97
0.526959
AllaMaevskaya
83456e667f22f00544aeb38fae96b3e6470b1bbc
536
cpp
C++
shopaholic.cpp
nemo201/Kattis
887711eece263965a4529048011847f7a2749fec
[ "MIT" ]
null
null
null
shopaholic.cpp
nemo201/Kattis
887711eece263965a4529048011847f7a2749fec
[ "MIT" ]
null
null
null
shopaholic.cpp
nemo201/Kattis
887711eece263965a4529048011847f7a2749fec
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; #define rep(i, a, b) for(int i = a; i < (b); ++i) #define trav(a, x) for(auto& a : x) #define all(x) x.begin(), x.end() #define sz(x) (int)(x).size() typedef long long ll; typedef pair<int, int> pii; typedef vector<int> vi; int main() { vi shop; int n; cin >> n; rep(i,...
17.290323
49
0.567164
nemo201
83457675501cf3d38ee6c07385cfd4151b290a63
11,970
cpp
C++
src/LaneDetection/image_signal_processing.cpp
sajid-mohamed/imacs
25810df31eeeb59c65dea71eb9467bec8fb23dd7
[ "Apache-2.0" ]
1
2021-03-22T11:18:10.000Z
2021-03-22T11:18:10.000Z
src/LaneDetection/image_signal_processing.cpp
sajid-mohamed/imacs
25810df31eeeb59c65dea71eb9467bec8fb23dd7
[ "Apache-2.0" ]
null
null
null
src/LaneDetection/image_signal_processing.cpp
sajid-mohamed/imacs
25810df31eeeb59c65dea71eb9467bec8fb23dd7
[ "Apache-2.0" ]
1
2021-03-16T20:01:45.000Z
2021-03-16T20:01:45.000Z
/** @file image_signal_processing.cpp * @brief source file for ISP pipeline * * Name : image_signal_processing.cpp * * Authors : Sayandip De (sayandip.de@tue.nl) * Sajid Mohamed (s.mohamed@tue.nl) * * Date : March 26, 2020 * * Function : run different approx...
38.365385
148
0.621136
sajid-mohamed
83458018ccf6f0cb28c4a6212476df7d9ffce49f
839
hpp
C++
libs/fnd/type_traits/include/bksge/fnd/type_traits/add_rvalue_reference.hpp
myoukaku/bksge
0f8b60e475a3f1709723906e4796b5e60decf06e
[ "MIT" ]
4
2018-06-10T13:35:32.000Z
2021-06-03T14:27:41.000Z
libs/fnd/type_traits/include/bksge/fnd/type_traits/add_rvalue_reference.hpp
myoukaku/bksge
0f8b60e475a3f1709723906e4796b5e60decf06e
[ "MIT" ]
566
2017-01-31T05:36:09.000Z
2022-02-09T05:04:37.000Z
libs/fnd/type_traits/include/bksge/fnd/type_traits/add_rvalue_reference.hpp
myoukaku/bksge
0f8b60e475a3f1709723906e4796b5e60decf06e
[ "MIT" ]
1
2018-07-05T04:40:53.000Z
2018-07-05T04:40:53.000Z
/** * @file add_rvalue_reference.hpp * * @brief add_rvalue_reference の定義 * * @author myoukaku */ #ifndef BKSGE_FND_TYPE_TRAITS_ADD_RVALUE_REFERENCE_HPP #define BKSGE_FND_TYPE_TRAITS_ADD_RVALUE_REFERENCE_HPP #include <type_traits> namespace bksge { /** * @brief 型に右辺値参照を追加する * * @tparam ...
20.463415
71
0.719905
myoukaku
8347af25601a39e8c8006c5c730c755372e810d2
1,679
cpp
C++
SourceCode/ChainBlockerLibrary/Base64.cpp
jamesjohnmcguire/BuildingBlocks
be38f6afd9640e56bf5448d2e00870e0128dbad1
[ "MIT" ]
null
null
null
SourceCode/ChainBlockerLibrary/Base64.cpp
jamesjohnmcguire/BuildingBlocks
be38f6afd9640e56bf5448d2e00870e0128dbad1
[ "MIT" ]
null
null
null
SourceCode/ChainBlockerLibrary/Base64.cpp
jamesjohnmcguire/BuildingBlocks
be38f6afd9640e56bf5448d2e00870e0128dbad1
[ "MIT" ]
null
null
null
#include "pch.h" #include "Base64.h" namespace ChainBlocker { std::vector<unsigned char> Base64::Decode( std::string input, size_t inputLength, size_t* outputLength) { std::vector<unsigned char> output; const unsigned char* inputBuffer = reinterpret_cast<const unsigned char*>(input.c_str()); const size...
21.253165
69
0.681358
jamesjohnmcguire
83496e37124bb04f9fe5fa9a6044fc384a12ea85
644
cpp
C++
include/hydro/compiler/hydro/ast/EmptyExpression.cpp
hydraate/hydro
42037a8278dcfdca68fb5cceaf6988da861f0eff
[ "Apache-2.0" ]
null
null
null
include/hydro/compiler/hydro/ast/EmptyExpression.cpp
hydraate/hydro
42037a8278dcfdca68fb5cceaf6988da861f0eff
[ "Apache-2.0" ]
null
null
null
include/hydro/compiler/hydro/ast/EmptyExpression.cpp
hydraate/hydro
42037a8278dcfdca68fb5cceaf6988da861f0eff
[ "Apache-2.0" ]
null
null
null
// // __ __ __ // / / / /__ __ ____/ /_____ ____ // / /_/ // / / // __ // ___// __ \ // / __ // /_/ // /_/ // / / /_/ / // /_/ /_/ \__, / \__,_//_/ \____/ // /____/ // // ...
24.769231
67
0.448758
hydraate
834fc481fcc1666bca34655edf8786d76b67a8c0
5,233
cc
C++
tc/benchmarks/batchmatmul.cc
yaozhujia/TensorComprehensions
220b5902645886fc2feac61770018419ca5411bc
[ "Apache-2.0" ]
1,841
2018-02-14T01:35:40.000Z
2022-03-21T04:45:27.000Z
tc/benchmarks/batchmatmul.cc
yaozhujia/TensorComprehensions
220b5902645886fc2feac61770018419ca5411bc
[ "Apache-2.0" ]
457
2018-02-14T09:28:12.000Z
2021-01-11T03:49:11.000Z
tc/benchmarks/batchmatmul.cc
yaozhujia/TensorComprehensions
220b5902645886fc2feac61770018419ca5411bc
[ "Apache-2.0" ]
229
2018-02-14T01:43:23.000Z
2022-02-21T23:53:32.000Z
/** * Copyright (c) 2017-present, Facebook, 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 applicable ...
31.524096
80
0.679534
yaozhujia
835eeb9c421c54a05d8e97186d80551cc25a01ad
21,869
cpp
C++
implementations/Vulkan/texture.cpp
rsayers/abstract-gpu
48176fcb88bde7d56de662c9e49d3d0e562819e1
[ "MIT" ]
41
2016-03-25T18:14:37.000Z
2022-01-20T11:16:52.000Z
implementations/Vulkan/texture.cpp
rsayers/abstract-gpu
48176fcb88bde7d56de662c9e49d3d0e562819e1
[ "MIT" ]
4
2016-05-05T22:08:01.000Z
2021-12-10T13:06:55.000Z
implementations/Vulkan/texture.cpp
rsayers/abstract-gpu
48176fcb88bde7d56de662c9e49d3d0e562819e1
[ "MIT" ]
9
2016-05-23T01:51:25.000Z
2021-08-21T15:32:37.000Z
#include <algorithm> #include "texture.hpp" #include "texture_format.hpp" #include "texture_view.hpp" #include "buffer.hpp" #include "constants.hpp" namespace AgpuVulkan { inline enum VkImageType mapImageType(agpu_texture_type type) { switch (type) { case AGPU_TEXTURE_2D: return VK_IMAGE_TYPE_2D; case...
42.136802
190
0.728063
rsayers
835f55e717ee01d520b1b5fdafab84f9017a3aff
953
hpp
C++
maxon_epos_driver/include/maxon_epos_driver/control/ControlModeBase.hpp
farshad-heravi/maxon_driver
637688fd4cd1e6aabc4335bad53554f1bc3591bf
[ "MIT" ]
null
null
null
maxon_epos_driver/include/maxon_epos_driver/control/ControlModeBase.hpp
farshad-heravi/maxon_driver
637688fd4cd1e6aabc4335bad53554f1bc3591bf
[ "MIT" ]
null
null
null
maxon_epos_driver/include/maxon_epos_driver/control/ControlModeBase.hpp
farshad-heravi/maxon_driver
637688fd4cd1e6aabc4335bad53554f1bc3591bf
[ "MIT" ]
null
null
null
/** * @file ModeBase * @brief * @author arwtyxouymz * @date 2019-06-04 11:31:01 */ #ifndef _ModeBase_HPP #define _ModeBase_HPP #include <string> #include <vector> #include <ros/ros.h> #include "maxon_epos_driver/Device.hpp" class ControlModeBase { public: std::string name; virtual ~Con...
23.825
135
0.655824
farshad-heravi
836029d5e6fe6b5f521d00fbbcd1dac74cc2a8c6
52,229
cpp
C++
src/JSystem/JUT/JUTFontData_Ascfont_fix12.cpp
projectPiki/pikmin2
a431d992acde856d092889a515ecca0e07a3ea7c
[ "Unlicense" ]
33
2021-12-08T11:10:59.000Z
2022-03-26T19:59:37.000Z
src/JSystem/JUT/JUTFontData_Ascfont_fix12.cpp
projectPiki/pikmin2
a431d992acde856d092889a515ecca0e07a3ea7c
[ "Unlicense" ]
6
2021-12-22T17:54:31.000Z
2022-01-07T21:43:18.000Z
src/JSystem/JUT/JUTFontData_Ascfont_fix12.cpp
projectPiki/pikmin2
a431d992acde856d092889a515ecca0e07a3ea7c
[ "Unlicense" ]
2
2022-01-04T06:00:49.000Z
2022-01-26T07:27:28.000Z
#include "types.h" #include "JSystem/JUT/ResFONT.h" const int JUTResFONT_Ascfont_fix12[] ATTRIBUTE_ALIGN(32) = { 0x464F4E54, 0x62666E31, 0x00004160, 0x00000004, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x494E4631, 0x00000020, 0x0000000C, 0x0000000C, 0x000C0000, 0x00000000, 0x9FFFFFFF, 0x7FFFFFFF, 0x57...
134.958656
139
0.802753
projectPiki
83657a83df638e52db271108ef1b9c692a20ca10
8,178
cpp
C++
10-11/JackTokenizer.cpp
jomiller/nand2tetris
4be20996e1b5185654ef4de5234a9543f957d6fc
[ "MIT" ]
1
2020-10-13T07:06:37.000Z
2020-10-13T07:06:37.000Z
10-11/JackTokenizer.cpp
jomiller/nand2tetris
4be20996e1b5185654ef4de5234a9543f957d6fc
[ "MIT" ]
null
null
null
10-11/JackTokenizer.cpp
jomiller/nand2tetris
4be20996e1b5185654ef4de5234a9543f957d6fc
[ "MIT" ]
null
null
null
/* * This file is part of Nand2Tetris. * * Copyright © 2013-2020 Jonathan Miller * * 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...
26.638436
120
0.534483
jomiller
83674a979c998d35be2cbf41aec0226e3adb034c
4,397
cpp
C++
apps/PhotoconsistencyVisualOdometry/src/CRGBDGrabberRawlog.cpp
doctorwk007/photoconsistency-visual-odometry
861706c27bba2993e775131b6622c66d3b663439
[ "BSD-3-Clause" ]
7
2017-01-09T16:58:50.000Z
2021-08-23T15:44:51.000Z
apps/PhotoconsistencyVisualOdometry/src/CRGBDGrabberRawlog.cpp
doctorwk007/photoconsistency-visual-odometry
861706c27bba2993e775131b6622c66d3b663439
[ "BSD-3-Clause" ]
null
null
null
apps/PhotoconsistencyVisualOdometry/src/CRGBDGrabberRawlog.cpp
doctorwk007/photoconsistency-visual-odometry
861706c27bba2993e775131b6622c66d3b663439
[ "BSD-3-Clause" ]
1
2019-11-23T09:40:49.000Z
2019-11-23T09:40:49.000Z
/* * Photoconsistency-Visual-Odometry * Multiscale Photoconsistency Visual Odometry from RGBD Images * Copyright (c) 2012, Miguel Algaba Borrego * * http://code.google.com/p/photoconsistency-visual-odometry/ * * All rights reserved. * * Redistribution and use in source and binary forms, with or without ...
40.33945
126
0.650216
doctorwk007
83698a1cd3160d74beed9123c0bd2a3d5964362e
2,998
cpp
C++
lib/timers/backends/src/win32/backend.cpp
voivoid/CppMockIO
510318d188662166370fb16ba83faa1817e445bb
[ "MIT" ]
null
null
null
lib/timers/backends/src/win32/backend.cpp
voivoid/CppMockIO
510318d188662166370fb16ba83faa1817e445bb
[ "MIT" ]
null
null
null
lib/timers/backends/src/win32/backend.cpp
voivoid/CppMockIO
510318d188662166370fb16ba83faa1817e445bb
[ "MIT" ]
null
null
null
#include "CppMockIO/timers/backend.h" #include <mutex> #include <stdexcept> #include <cassert> #define WIN32_LEAN_AND_MEAN #include <sdkddkver.h> #include <Windows.h> namespace CppMockIO { namespace timers { namespace backend { namespace { void safe_run_action(const runnable& runnabl...
24.983333
156
0.56938
voivoid
836c2a34119e0046901bd9d0f46ac6b369d56f94
5,996
hxx
C++
externals/src/moderngpu/loadstore.hxx
aka-chris/mini
608751ff11f74e1ee59222399cbf6c9ee92208fb
[ "Apache-2.0" ]
216
2021-07-21T02:24:54.000Z
2021-07-30T03:33:10.000Z
externals/src/moderngpu/loadstore.hxx
aka-chris/mini
608751ff11f74e1ee59222399cbf6c9ee92208fb
[ "Apache-2.0" ]
null
null
null
externals/src/moderngpu/loadstore.hxx
aka-chris/mini
608751ff11f74e1ee59222399cbf6c9ee92208fb
[ "Apache-2.0" ]
94
2021-07-21T02:24:56.000Z
2021-07-24T23:50:38.000Z
// moderngpu copyright (c) 2016, Sean Baxter http://www.moderngpu.com #pragma once #include "types.hxx" #include "intrinsics.hxx" BEGIN_MGPU_NAMESPACE //////////////////////////////////////////////////////////////////////////////// // reg<->shared template<int nt, int vt, typename type_t, int shared_size> MGPU_DEVI...
31.724868
80
0.652435
aka-chris
8374c392966aff5692a7065530eee27c8c4b8785
2,687
cpp
C++
SpaceshIT!/SpaceshIT!/Queue.cpp
ColdSpotYZ/SpaceshIT
8fe2dcdd202536b5127e14a140c5f833720b1eeb
[ "MIT" ]
null
null
null
SpaceshIT!/SpaceshIT!/Queue.cpp
ColdSpotYZ/SpaceshIT
8fe2dcdd202536b5127e14a140c5f833720b1eeb
[ "MIT" ]
null
null
null
SpaceshIT!/SpaceshIT!/Queue.cpp
ColdSpotYZ/SpaceshIT
8fe2dcdd202536b5127e14a140c5f833720b1eeb
[ "MIT" ]
null
null
null
/* Team member: Lim Kai Xian Group: CookieZ studentID: S10195450H */ #pragma once #include "stdafx.h" #include "Queue.h" #include <string> using namespace std; Queue::Queue() { size = 0; current = 0; salt = rand() % 512;} Queue::~Queue() { while (!isEmpty()) { dequeue_back(); } current = NULL; size = NULL; }...
16.899371
98
0.639747
ColdSpotYZ
83778138193b88547af0fa4ece2272a9b3df8b2c
2,290
cpp
C++
deps/reproc/reproc++/examples/cmake-help.cpp
Fookdies301/GrinPlusPlus
981a99af0ae04633afbd02666894b5c199e06339
[ "MIT" ]
135
2018-12-17T15:38:16.000Z
2022-03-01T05:38:29.000Z
deps/reproc/reproc++/examples/cmake-help.cpp
Fookdies301/GrinPlusPlus
981a99af0ae04633afbd02666894b5c199e06339
[ "MIT" ]
185
2018-12-21T13:56:29.000Z
2022-03-23T14:41:46.000Z
deps/reproc/reproc++/examples/cmake-help.cpp
Fookdies301/GrinPlusPlus
981a99af0ae04633afbd02666894b5c199e06339
[ "MIT" ]
49
2018-12-23T12:05:51.000Z
2022-03-26T14:24:49.000Z
#include <reproc++/reproc.hpp> #include <reproc++/sink.hpp> #include <array> #include <iostream> static int fail(std::error_code ec) { std::cerr << ec.message(); return 1; } // Uses reproc++ to print CMake's help page. int main() { reproc::process process; // The `process::start` method works with any conta...
35.230769
80
0.69607
Fookdies301
8378bd5c7770e1f67f5dc446fd971de0ecd8c729
6,625
cpp
C++
apps/heat/run.cpp
POETSII/jordmorr-tinsel
39249538d532e4945d9916748346c261dc5ea75d
[ "BSD-2-Clause" ]
31
2019-09-18T10:55:47.000Z
2021-12-01T20:39:46.000Z
apps/heat/run.cpp
POETSII/jordmorr-tinsel
39249538d532e4945d9916748346c261dc5ea75d
[ "BSD-2-Clause" ]
26
2019-10-13T13:33:04.000Z
2021-11-10T11:09:48.000Z
apps/heat/run.cpp
POETSII/jordmorr-tinsel
39249538d532e4945d9916748346c261dc5ea75d
[ "BSD-2-Clause" ]
1
2020-09-11T17:32:43.000Z
2020-09-11T17:32:43.000Z
// SPDX-License-Identifier: BSD-2-Clause #include <stdio.h> #include <stdlib.h> #include <stdint.h> #include <assert.h> #include <sys/time.h> #include <HostLink.h> #include "heat.h" // Magnification factor when displaying heat map const int MAG = 2; // 256 x RGB colours representing heat intensities int heat[] = { ...
45.376712
77
0.618113
POETSII
837c8b732b65fa6297e16029f409247ebb602f1f
178,287
cc
C++
keynote-protos/gen/TSCHArchives.Common.pb.cc
eth-siplab/SVG2Keynote-lib
b7e6dfe5084911dac1fa6261a14254bfbbd8065b
[ "MIT" ]
4
2021-11-24T14:27:32.000Z
2022-03-14T07:52:44.000Z
keynote-protos/gen/TSCHArchives.Common.pb.cc
eth-siplab/SVG2Keynote-lib
b7e6dfe5084911dac1fa6261a14254bfbbd8065b
[ "MIT" ]
null
null
null
keynote-protos/gen/TSCHArchives.Common.pb.cc
eth-siplab/SVG2Keynote-lib
b7e6dfe5084911dac1fa6261a14254bfbbd8065b
[ "MIT" ]
null
null
null
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: TSCHArchives.Common.proto #include "TSCHArchives.Common.pb.h" #include <algorithm> #include <google/protobuf/io/coded_stream.h> #include <google/protobuf/extension_set.h> #include <google/protobuf/wire_format_lite.h> #include <google/protobuf/des...
38.185265
194
0.74131
eth-siplab
837d9f6d44723ba8afe7f9b91c002461cc41994c
367
cpp
C++
FSM/TrafficLight/TrafficLightSystem.cpp
Labae/CK_2-2-Game_AI
a8d953835883fd0cf7f92ba5d86fa93785f373bc
[ "MIT" ]
null
null
null
FSM/TrafficLight/TrafficLightSystem.cpp
Labae/CK_2-2-Game_AI
a8d953835883fd0cf7f92ba5d86fa93785f373bc
[ "MIT" ]
null
null
null
FSM/TrafficLight/TrafficLightSystem.cpp
Labae/CK_2-2-Game_AI
a8d953835883fd0cf7f92ba5d86fa93785f373bc
[ "MIT" ]
null
null
null
#include "TrafficLightSystem.h" #include "RedState.h" TrafficLightSystem::TrafficLightSystem() { _currentState = RedState::GetInstance(); } void TrafficLightSystem::Update() { _currentState->Execute(this); } void TrafficLightSystem::ChangeState(TrafficLightState* newState) { _currentState->Exit(this); _currentSt...
18.35
65
0.773842
Labae
838e8dec8f1d5233f656f598d5b753e55ab36237
2,757
cpp
C++
src/interpreter/ReplyTemplateInterpreter.cpp
open-intent-io/open-intent
57d8c4fc89c038f51138d51e776880e728152194
[ "MIT" ]
47
2016-07-05T15:20:33.000Z
2021-08-06T05:38:33.000Z
src/interpreter/ReplyTemplateInterpreter.cpp
open-intent-io/open-intent
57d8c4fc89c038f51138d51e776880e728152194
[ "MIT" ]
30
2016-07-03T22:42:11.000Z
2017-11-17T15:58:10.000Z
src/interpreter/ReplyTemplateInterpreter.cpp
open-intent-io/open-intent
57d8c4fc89c038f51138d51e776880e728152194
[ "MIT" ]
8
2016-07-22T20:07:58.000Z
2017-11-05T10:40:29.000Z
/* |---------------------------------------------------------| | ___ ___ _ _ | | / _ \ _ __ ___ _ __ |_ _|_ __ | |_ ___ _ __ | |_ | | | | | | '_ \ / _ \ '_ \ | || '_ \| __/ _ \ '_ \| __| | | | |_| | |_) | __/ | | || || | | | || __/ | | | |_ | | \___/| .__/ \...
45.95
79
0.524846
open-intent-io
8b55e101684c32b0bb4881f21702911da48a3b45
574
cpp
C++
PAT/A1067.cpp
iphelf/Programming-Practice
2a95bb7153957b035427046b250bf7ffc6b00906
[ "WTFPL" ]
null
null
null
PAT/A1067.cpp
iphelf/Programming-Practice
2a95bb7153957b035427046b250bf7ffc6b00906
[ "WTFPL" ]
null
null
null
PAT/A1067.cpp
iphelf/Programming-Practice
2a95bb7153957b035427046b250bf7ffc6b00906
[ "WTFPL" ]
null
null
null
#include<cstdio> #include<algorithm> using namespace std; const int MAXN=1e5; int N,a[MAXN]; int main(void) { // freopen("in.txt","r",stdin); scanf("%d",&N); for(int i=0; i<N; i++) scanf("%d",&a[i]); int cnt=0; for(int i=0; i<N; i++) { if(a[i]==i) continue; ...
15.513514
35
0.38676
iphelf
8b5d56fa1d1ffb753838142c830fcee19891e72b
6,209
cpp
C++
EScript/Objects/Type.cpp
antifermion/EScript
eca6765c28e319eb77b4da81125bdbb2510c9add
[ "MIT" ]
3
2017-06-01T15:58:43.000Z
2019-08-07T05:36:44.000Z
EScript/Objects/Type.cpp
antifermion/EScript
eca6765c28e319eb77b4da81125bdbb2510c9add
[ "MIT" ]
4
2015-01-23T18:17:50.000Z
2019-02-10T11:48:55.000Z
EScript/Objects/Type.cpp
antifermion/EScript
eca6765c28e319eb77b4da81125bdbb2510c9add
[ "MIT" ]
12
2015-01-04T16:07:45.000Z
2020-10-06T15:42:46.000Z
// Type.cpp // This file is part of the EScript programming language (https://github.com/EScript) // // Copyright (C) 2011-2013 Claudius Jähn <ClaudiusJ@live.de> // Copyright (C) 2012 Benjamin Eikel <benjamin@eikel.org> // // Licensed under the MIT License. See LICENSE file for details. // -----------------------------...
27.968468
108
0.692543
antifermion
8b612dd0b54e11f296b684877d4b2728f2c7298e
1,081
cpp
C++
geotrans3.7/CCS/src/dtcc/CoordinateSystemParameters/CoordinateSystemParameters.cpp
mjj203/tippecanoe
140ae1da6438a23d82f41e9c7b7b129107bf6e2d
[ "BSD-2-Clause" ]
1
2021-07-05T07:40:49.000Z
2021-07-05T07:40:49.000Z
geotrans3.7/CCS/src/dtcc/CoordinateSystemParameters/CoordinateSystemParameters.cpp
mjj203/tippecanoe
140ae1da6438a23d82f41e9c7b7b129107bf6e2d
[ "BSD-2-Clause" ]
1
2015-01-13T10:08:35.000Z
2015-01-13T10:08:35.000Z
geotrans3.7/CCS/src/dtcc/CoordinateSystemParameters/CoordinateSystemParameters.cpp
mjj203/tippecanoe
140ae1da6438a23d82f41e9c7b7b129107bf6e2d
[ "BSD-2-Clause" ]
2
2017-07-24T13:34:49.000Z
2017-11-14T16:52:38.000Z
// CLASSIFICATION: UNCLASSIFIED #include "CoordinateSystemParameters.h" #include "CoordinateType.h" using namespace MSP::CCS; CoordinateSystemParameters::CoordinateSystemParameters() : _coordinateType( CoordinateType::geodetic ) { } CoordinateSystemParameters::CoordinateSystemParameters( MSP::CCS::CoordinateType:...
19.654545
107
0.794635
mjj203
8b61628ab559bc8a80489b06dfbb9f4bebd11da6
65
cpp
C++
shared/src/shared/state/player_input.cpp
dumheter/wind_simulation
adf731847cb6145a85792a0ebceacc725a3acf9e
[ "MIT" ]
1
2021-04-26T11:24:02.000Z
2021-04-26T11:24:02.000Z
shared/src/shared/state/player_input.cpp
dumheter/wind_simulation
adf731847cb6145a85792a0ebceacc725a3acf9e
[ "MIT" ]
1
2020-06-09T08:53:07.000Z
2020-06-16T13:37:15.000Z
shared/src/shared/state/player_input.cpp
dumheter/wind_simulation
adf731847cb6145a85792a0ebceacc725a3acf9e
[ "MIT" ]
null
null
null
#include "player_input.hpp" namespace wind {} // namespace wind
16.25
35
0.738462
dumheter
8b62211d5d084f24cfc854b4e2fb56e49c8acf61
282
cpp
C++
src/c++ primer 5th/ch13-content/ch_13.6.3_cont_test.cpp
aparesse/Eudemonia
cb2d9cde5e9ab60a8f62747a9c48d7a44eabe8d1
[ "MIT" ]
null
null
null
src/c++ primer 5th/ch13-content/ch_13.6.3_cont_test.cpp
aparesse/Eudemonia
cb2d9cde5e9ab60a8f62747a9c48d7a44eabe8d1
[ "MIT" ]
null
null
null
src/c++ primer 5th/ch13-content/ch_13.6.3_cont_test.cpp
aparesse/Eudemonia
cb2d9cde5e9ab60a8f62747a9c48d7a44eabe8d1
[ "MIT" ]
null
null
null
#include "ch_13.6.3_cont.h" #include <string> using std::string; int main() { StrVec vec; //空StrVec string s = "some string or another"; vec.push_back(s); //调用push_back(const string&) vec.push_back("done"); //调用push_back(string&&) 字面值是右值,此处是(从"done"创建的临时string) return 0; }
18.8
78
0.695035
aparesse
8b7096e9227912d4a345aceaf3dacf8ccc93c7a6
4,405
cpp
C++
tic-tac-toe (1).cpp
Weaam-Yehiaa/tic_tac_toe
d46b6171a4429d9fa200aca8da96db3ae68ae980
[ "MIT" ]
null
null
null
tic-tac-toe (1).cpp
Weaam-Yehiaa/tic_tac_toe
d46b6171a4429d9fa200aca8da96db3ae68ae980
[ "MIT" ]
null
null
null
tic-tac-toe (1).cpp
Weaam-Yehiaa/tic_tac_toe
d46b6171a4429d9fa200aca8da96db3ae68ae980
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; const int N = 3; const char marks[2] = {'X', 'O'}; char grid[N][N]; vector<pair<int,int > > v; //This function prints the grid of Tic-Tac-Toe Game as the game progresses void print_grid() { cout << "Player 1: " << marks[0] << " vs Player 2: " << marks[1] << "\n"; ...
27.879747
87
0.481725
Weaam-Yehiaa
8b75b54a1e0b4a61562fc217f92759f34e03bbe6
1,590
cpp
C++
P/1066-WA.cpp
langonginc/cfile
46458897b8a4a8d58a2bc63ecb6ef84f76bdb61f
[ "MIT" ]
1
2020-09-13T02:51:25.000Z
2020-09-13T02:51:25.000Z
P/1066-WA.cpp
langonginc/cfile
46458897b8a4a8d58a2bc63ecb6ef84f76bdb61f
[ "MIT" ]
null
null
null
P/1066-WA.cpp
langonginc/cfile
46458897b8a4a8d58a2bc63ecb6ef84f76bdb61f
[ "MIT" ]
1
2021-06-05T03:37:57.000Z
2021-06-05T03:37:57.000Z
#include<iostream> #include<cstdio> #include<cstring> using namespace std; #define mms(tpp,xgg) memset(tpp,xgg,sizeof(tpp)) typedef long long ll; const ll inf=30001; // 1.计算质数 ll prime[inf],ta[inf],pc; void pt() { for(ll i=2;i<inf;i++) { ta[i]=1; } for(ll i=2;i<inf;i++) { if(ta[i]) { prime[...
14.859813
56
0.445283
langonginc
8b78836e2b09e573c82493a200bb35bcd80286bd
10,207
cpp
C++
src/lib/huffman_enc.cpp
Special-graphic-formats/himg
62859ca604f33629239d0da5fbf2dceae9fc4b8b
[ "Unlicense" ]
17
2015-09-08T09:08:02.000Z
2019-05-11T06:08:18.000Z
src/lib/huffman_enc.cpp
Special-graphic-formats/himg
62859ca604f33629239d0da5fbf2dceae9fc4b8b
[ "Unlicense" ]
3
2015-09-14T09:00:49.000Z
2021-12-16T11:47:01.000Z
src/lib/huffman_enc.cpp
Special-graphic-formats/himg
62859ca604f33629239d0da5fbf2dceae9fc4b8b
[ "Unlicense" ]
3
2015-06-13T22:04:31.000Z
2019-12-29T11:22:49.000Z
//----------------------------------------------------------------------------- // HIMG, by Marcus Geelnard, 2015 // // This is free and unencumbered software released into the public domain. // // See LICENSE for details. //----------------------------------------------------------------------------- #include "huffma...
27.887978
80
0.573332
Special-graphic-formats
8b7e8ed58a6d1116de57374978914c72f171a5d9
2,629
hh
C++
src/Simulation.hh
arafin-lab/FaultSim-A-Memory-Reliability-Simulator
4caee9ffd6d8fae2a0db34c743d94107e618723d
[ "BSD-3-Clause" ]
2
2016-04-05T00:57:49.000Z
2017-03-16T21:54:04.000Z
src/Simulation.hh
arafin-lab/FaultSim-A-Memory-Reliability-Simulator
4caee9ffd6d8fae2a0db34c743d94107e618723d
[ "BSD-3-Clause" ]
1
2020-04-19T21:40:12.000Z
2020-04-19T21:41:06.000Z
src/Simulation.hh
arafin-lab/FaultSim-A-Memory-Reliability-Simulator
4caee9ffd6d8fae2a0db34c743d94107e618723d
[ "BSD-3-Clause" ]
9
2015-09-04T16:36:16.000Z
2021-12-01T09:15:36.000Z
/* Copyright (c) 2015, Advanced Micro Devices, Inc. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and ...
49.603774
755
0.79574
arafin-lab
8b817af602c7933198707586d5005581f5a6f022
3,533
cpp
C++
src/Odom.cpp
matheusbg8/aracati2017
bb00a847e02087f012c9094126120ea5f0a9324c
[ "MIT" ]
1
2022-03-24T04:46:50.000Z
2022-03-24T04:46:50.000Z
src/Odom.cpp
matheusbg8/aracati2017
bb00a847e02087f012c9094126120ea5f0a9324c
[ "MIT" ]
null
null
null
src/Odom.cpp
matheusbg8/aracati2017
bb00a847e02087f012c9094126120ea5f0a9324c
[ "MIT" ]
1
2022-01-01T04:28:31.000Z
2022-01-01T04:28:31.000Z
#include "Odom.h" void Odom::publishInitialPose(const ros::Time &time, double x, double y, double yaw) { geometry_msgs::PoseWithCovarianceStamped msg; msg.header.stamp = time; msg.header.frame_id = worldFrameId; msg.pose.pose.position.x = x; msg.pose.pose.position.y = y; ...
25.601449
112
0.638834
matheusbg8
8b848057633509ceb19b8e8b0c955831243b8e61
4,455
cpp
C++
module_02/ex02/Fixed.cpp
laisarena/CPP_piscine
47831fa443116d2b37e1081a3eddf8ca40fc954f
[ "MIT" ]
null
null
null
module_02/ex02/Fixed.cpp
laisarena/CPP_piscine
47831fa443116d2b37e1081a3eddf8ca40fc954f
[ "MIT" ]
null
null
null
module_02/ex02/Fixed.cpp
laisarena/CPP_piscine
47831fa443116d2b37e1081a3eddf8ca40fc954f
[ "MIT" ]
null
null
null
/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* Fixed.cpp :+: :+: :+: ...
22.5
80
0.60853
laisarena
8b8596a1d5c2715ce3b0fb6ccb81447b0362935d
5,034
hpp
C++
SDK/ARKSurvivalEvolved_DinoAttackStateFollowSpline_parameters.hpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
10
2020-02-17T19:08:46.000Z
2021-07-31T11:07:19.000Z
SDK/ARKSurvivalEvolved_DinoAttackStateFollowSpline_parameters.hpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
9
2020-02-17T18:15:41.000Z
2021-06-06T19:17:34.000Z
SDK/ARKSurvivalEvolved_DinoAttackStateFollowSpline_parameters.hpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
3
2020-07-22T17:42:07.000Z
2021-06-19T17:16:13.000Z
#pragma once // ARKSurvivalEvolved (329.9) SDK #ifdef _MSC_VER #pragma pack(push, 0x8) #endif #include "ARKSurvivalEvolved_DinoAttackStateFollowSpline_classes.hpp" namespace sdk { //--------------------------------------------------------------------------- //Parameters //------------------------------------------...
47.046729
173
0.617004
2bite
8b8c4a360560e547f838d7eb2d00d5fec99f42d4
6,760
cpp
C++
source/Irrlicht/rtc/mediahandlerelement.cpp
MagicAtom/irrlicht-ce
b94ea7f97d7d0d3000d5a8c9c7c712debef1e55d
[ "IJG" ]
null
null
null
source/Irrlicht/rtc/mediahandlerelement.cpp
MagicAtom/irrlicht-ce
b94ea7f97d7d0d3000d5a8c9c7c712debef1e55d
[ "IJG" ]
null
null
null
source/Irrlicht/rtc/mediahandlerelement.cpp
MagicAtom/irrlicht-ce
b94ea7f97d7d0d3000d5a8c9c7c712debef1e55d
[ "IJG" ]
null
null
null
/** * Copyright (c) 2020 Filip Klembara (in2core) * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * *...
30.45045
100
0.735503
MagicAtom
8b8cadbface4d6ed93e5ac29f89a3ad868911280
2,771
cc
C++
tool/SecVerilog-1.0/SecVerilog/symbol_search.cc
gokulprasath7c/secure_i2c_using_ift
124384983ba70e8164b7217db70c43dfdf302d4b
[ "MIT" ]
1
2019-01-28T21:23:37.000Z
2019-01-28T21:23:37.000Z
tool/SecVerilog-1.0/SecVerilog/symbol_search.cc
gokulprasath7c/secure_i2c_using_ift
124384983ba70e8164b7217db70c43dfdf302d4b
[ "MIT" ]
null
null
null
tool/SecVerilog-1.0/SecVerilog/symbol_search.cc
gokulprasath7c/secure_i2c_using_ift
124384983ba70e8164b7217db70c43dfdf302d4b
[ "MIT" ]
null
null
null
/* * Copyright (c) 2003-2010 Stephen Williams (steve@icarus.com) * * This source code is free software; you can redistribute it * and/or modify it in source code form under the terms of the GNU * General Public License as published by the Free Software * Foundation; either version 2 of the License, or...
30.788889
79
0.600505
gokulprasath7c
8b973a205c4634d3ce7ea4c375189c9bbe8e0733
15,254
cpp
C++
src/OE_Error.cpp
antsouchlos/OxygenEngine2
5a123a2dacbc3b66ba9e97b9e5db7d8c17490ddb
[ "MIT" ]
null
null
null
src/OE_Error.cpp
antsouchlos/OxygenEngine2
5a123a2dacbc3b66ba9e97b9e5db7d8c17490ddb
[ "MIT" ]
22
2020-05-19T18:18:45.000Z
2022-03-31T12:11:08.000Z
src/OE_Error.cpp
antsouchlos/OxygenEngine2
5a123a2dacbc3b66ba9e97b9e5db7d8c17490ddb
[ "MIT" ]
null
null
null
#include <OE_Error.h> #include <OE_TaskManager.h> #include <Events/OE_Event.h> #include <types/OE_Libs.h> using namespace std; // This is where events' error handling is happening int OE_Event::internal_call(){ /***************************/ ///generic handling if (!this->has_init_){ this->task_ ...
40.569149
185
0.570932
antsouchlos
8ba3f9d3d85228fcbeadc4203f705466973a827a
1,206
cpp
C++
ImageProcessing/Dispatcher/DispatchManager.cpp
theradeonxt/FastImageEditor
6b1a18393402cf2aa44ff9a399d1bb819a7aa971
[ "MIT" ]
3
2016-11-07T16:20:28.000Z
2016-11-08T21:18:25.000Z
ImageProcessing/Dispatcher/DispatchManager.cpp
theradeonxt/FastImageEditor
6b1a18393402cf2aa44ff9a399d1bb819a7aa971
[ "MIT" ]
6
2015-10-11T20:38:10.000Z
2016-11-27T19:24:43.000Z
ImageProcessing/Dispatcher/DispatchManager.cpp
theradeonxt/FastImageEditor
6b1a18393402cf2aa44ff9a399d1bb819a7aa971
[ "MIT" ]
null
null
null
#include "DispatchManager.h" #include "Common.h" #include "ConfigManager.h" #include "ModuleConfig.h" DispatchManager& g_DispatchManager() { static DispatchManager* ans = new DispatchManager(); return *ans; } void DispatchManager::Register(std::string entryPointKey, std::function<int(void**)> entryPoint) { ...
25.125
96
0.708126
theradeonxt
8ba7c5c2e0f37c988226176c3c9ed02e3da25e26
127
cpp
C++
src/multiply.cpp
markuspg/minimal_cmake_cpp_lib_sample
6258bc7f148f3e2b401e678b615196bfbe397d5f
[ "MIT" ]
null
null
null
src/multiply.cpp
markuspg/minimal_cmake_cpp_lib_sample
6258bc7f148f3e2b401e678b615196bfbe397d5f
[ "MIT" ]
null
null
null
src/multiply.cpp
markuspg/minimal_cmake_cpp_lib_sample
6258bc7f148f3e2b401e678b615196bfbe397d5f
[ "MIT" ]
null
null
null
#include "multiply.h" uint32_t multiply(uint32_t multiplicant, uint32_t multiplier) { return multiplicant * multiplier; }
21.166667
63
0.771654
markuspg
8ba83653da54aac72acdfad36a5caca5b72ca812
924
hpp
C++
MEX/src/cpp/vision/min_max_filter.hpp
umariqb/3D_Pose_Estimation_CVPR2016
83f6bf36aa68366ea8fa078eea6d91427e28503b
[ "BSD-3-Clause" ]
47
2016-07-25T00:48:59.000Z
2021-02-17T09:19:03.000Z
MEX/src/cpp/vision/min_max_filter.hpp
umariqb/3D_Pose_Estimation_CVPR2016
83f6bf36aa68366ea8fa078eea6d91427e28503b
[ "BSD-3-Clause" ]
5
2016-09-17T19:40:46.000Z
2018-11-07T06:49:02.000Z
MEX/src/cpp/vision/min_max_filter.hpp
iqbalu/3D_Pose_Estimation_CVPR2016
83f6bf36aa68366ea8fa078eea6d91427e28503b
[ "BSD-3-Clause" ]
35
2016-07-21T09:13:15.000Z
2019-05-13T14:11:37.000Z
/* * min_max_filter.hpp * * Created on: Oct 6, 2013 * Author: mdantone */ #ifndef MIN_MAX_FILTER_HPP_ #define MIN_MAX_FILTER_HPP_ #include "opencv2/core/core.hpp" namespace vision { class MinMaxFilter { public: static void maxfilt(cv::Mat &src, unsigned int width); static void minfilt(cv::Mat &src,...
23.692308
72
0.655844
umariqb
8baafec697dbe26c18f448d174f7e97d7ddba75a
1,163
cpp
C++
150.cpp
pengzhezhe/LeetCode
305ec0c5b4cb5ea7cd244b3308132dee778138bc
[ "Apache-2.0" ]
null
null
null
150.cpp
pengzhezhe/LeetCode
305ec0c5b4cb5ea7cd244b3308132dee778138bc
[ "Apache-2.0" ]
null
null
null
150.cpp
pengzhezhe/LeetCode
305ec0c5b4cb5ea7cd244b3308132dee778138bc
[ "Apache-2.0" ]
null
null
null
// // Created by pzz on 2021/10/30. // #include <iostream> #include <algorithm> #include <vector> #include <stack> using namespace std; class Solution { public: int evalRPN(vector<string> &tokens) { stack<int> stack; for (const string &s: tokens) { if (s == "+" || s == "-" || s == "*"...
24.229167
98
0.363715
pengzhezhe
8bb2aa03ed6364ae984e2955f63ce226a55e0d21
1,246
cpp
C++
nd-coursework/books/cpp/FoundationsOfQtDev/Chapter02/listdialog.cpp
crdrisko/nd-grad
f1765e4f24d7a4b1b3a76c64eb8d88bcca0eaa44
[ "MIT" ]
1
2020-09-26T12:38:55.000Z
2020-09-26T12:38:55.000Z
nd-coursework/books/cpp/FoundationsOfQtDev/Chapter02/listdialog.cpp
crdrisko/nd-research
f1765e4f24d7a4b1b3a76c64eb8d88bcca0eaa44
[ "MIT" ]
null
null
null
nd-coursework/books/cpp/FoundationsOfQtDev/Chapter02/listdialog.cpp
crdrisko/nd-research
f1765e4f24d7a4b1b3a76c64eb8d88bcca0eaa44
[ "MIT" ]
null
null
null
#include "listdialog.h" #include "editdialog.h" #include "ui_listdialog.h" // Listing 2-3: Constructor of the ListDialog class ListDialog::ListDialog(QWidget* parent) : QDialog(parent), ui(new Ui::ListDialog) { ui->setupUi(this); connect(ui->addButton, SIGNAL(clicked()), this, SLOT(addItem())); connect(u...
27.688889
81
0.645265
crdrisko
8bb37a46d296ac3055a349429e346e10f3abc0d9
3,541
cpp
C++
src/main.cpp
kingsamchen/CPU_Utilization_Plot
d651df76b0e3b556dd2d9cf40304070310ef0578
[ "MIT" ]
1
2019-04-15T13:32:39.000Z
2019-04-15T13:32:39.000Z
src/main.cpp
kingsamchen/CPU_Utilization_Plot
d651df76b0e3b556dd2d9cf40304070310ef0578
[ "MIT" ]
null
null
null
src/main.cpp
kingsamchen/CPU_Utilization_Plot
d651df76b0e3b556dd2d9cf40304070310ef0578
[ "MIT" ]
null
null
null
/* @ Kingsley Chen */ #include <Windows.h> #include <conio.h> #include <process.h> #include <cmath> #include <cstdint> #include <iostream> #include "kbase\command_line.h" #include "kbase\memory\scoped_handle.h" #include "kbase\sys_info.h" const unsigned long kDefaultTimeUnit = 1000; const wchar_t kPlotSwitchName[...
27.88189
85
0.635414
kingsamchen
8bb72ddf572bf5d942ac7462a4f4888f5d6b2a22
1,879
cpp
C++
OJ/LeetCode/leetcode/problems/283.cpp
ONGOING-Z/DataStructure
9099393d1c7dfabc3e2939586ea6d1d254631eb2
[ "MIT" ]
null
null
null
OJ/LeetCode/leetcode/problems/283.cpp
ONGOING-Z/DataStructure
9099393d1c7dfabc3e2939586ea6d1d254631eb2
[ "MIT" ]
2
2021-10-31T10:05:45.000Z
2022-02-12T15:17:53.000Z
OJ/LeetCode/leetcode/283.cpp
ONGOING-Z/Learn-Algorithm-and-DataStructure
3a512bd83cc6ed5035ac4550da2f511298b947c0
[ "MIT" ]
null
null
null
#include <stdio.h> #include <vector> #include <algorithm> using namespace std; /* Leetcode */ /* Type: array */ /* 题目信息 */ /* *283. Move Zeroes Given an array nums, write a function to move all 0's to the end of it while maintaining the relative order of the non-zero elements. Example: Input: [0,1,0,3,12] Output: [...
21.11236
133
0.503459
ONGOING-Z
8bb828f009beb8a5ec87dd3ba0d320694f75d127
909
cpp
C++
NacloEngine/ResourceMesh.cpp
JoanValiente/NacloEngine
44eb9901a9f5337d19f3fe3b5d061099ea4e7fa0
[ "MIT" ]
1
2019-09-09T10:04:14.000Z
2019-09-09T10:04:14.000Z
NacloEngine/ResourceMesh.cpp
JoanValiente/NacloEngine
44eb9901a9f5337d19f3fe3b5d061099ea4e7fa0
[ "MIT" ]
null
null
null
NacloEngine/ResourceMesh.cpp
JoanValiente/NacloEngine
44eb9901a9f5337d19f3fe3b5d061099ea4e7fa0
[ "MIT" ]
null
null
null
#include "ResourceMesh.h" #include "ModuleResources.h" ResourceMesh::ResourceMesh(uint uid, Resource_Type type) : Resource(uid, type) { } ResourceMesh::~ResourceMesh() { } bool ResourceMesh::LoadInMemory() { bool ret = false; glGenBuffers(1, (GLuint*) &(id_vertices)); glBindBuffer(GL_ARRAY_BUFFER, id_vertices); ...
26.735294
92
0.770077
JoanValiente
8bbcd31e573b9c6f2f42655f7c6d407c646e2cb3
1,211
cpp
C++
src/vertex.cpp
JamesGriffin/3D-Rasterizer
3a9840845bb92279d0c07fd5197dd9879e97f4ec
[ "MIT" ]
13
2017-11-18T01:05:04.000Z
2021-12-25T10:47:45.000Z
src/vertex.cpp
JamesGriffin/3D-Rasterizer
3a9840845bb92279d0c07fd5197dd9879e97f4ec
[ "MIT" ]
2
2018-07-19T14:09:46.000Z
2021-01-15T10:35:43.000Z
src/vertex.cpp
JamesGriffin/3D-Rasterizer
3a9840845bb92279d0c07fd5197dd9879e97f4ec
[ "MIT" ]
5
2018-03-05T04:40:21.000Z
2021-06-11T03:40:54.000Z
#include "vertex.h" // Represents a vertex in 3D space Vertex::Vertex (Vector4 position, Vector4 normal) : m_position(position), m_normal(normal) {} Vertex::Vertex(float x, float y, float z, float w) { m_position = Vector4(x, y, z, w); m_normal = Vector4(0, 0, 0, 0); } // Perspective divide by w component V...
17.3
66
0.606936
JamesGriffin
8bc0c28346f9eef89dc210f5af99fe75b093b6e1
420
hpp
C++
sources/cards/lands/Swamp.hpp
angeluriot/Magic_royal
a337ce4ad6c3215bbdec8c376d6e88fe97f48f94
[ "MIT" ]
1
2022-02-02T21:41:59.000Z
2022-02-02T21:41:59.000Z
sources/cards/lands/Swamp.hpp
angeluriot/Magic_royal
a337ce4ad6c3215bbdec8c376d6e88fe97f48f94
[ "MIT" ]
null
null
null
sources/cards/lands/Swamp.hpp
angeluriot/Magic_royal
a337ce4ad6c3215bbdec8c376d6e88fe97f48f94
[ "MIT" ]
2
2022-02-01T12:59:57.000Z
2022-03-05T12:50:27.000Z
#ifndef SWAMP_HPP #define SWAMP_HPP #include "cards/Land.hpp" class Swamp : public Land { public: Swamp(); Swamp(const Swamp& other) = default; ~Swamp(); Swamp& operator=(const Swamp& other) = default; std::string get_full_type() const override; Color get_color() const override; std::string get_name() const...
17.5
48
0.721429
angeluriot
8bc43125a215bc61387fbefc81c6dd3fcd991128
12,357
cpp
C++
CodeForces-Solution/1545E2.cpp
Tech-Intellegent/CodeForces-Solution
2f291a38b80b8ff2a2595b2e526716468ff26bf8
[ "MIT" ]
1
2022-01-23T07:18:07.000Z
2022-01-23T07:18:07.000Z
CodeForces-Solution/1545E2.cpp
Tech-Intellegent/CodeForces-Solution
2f291a38b80b8ff2a2595b2e526716468ff26bf8
[ "MIT" ]
null
null
null
CodeForces-Solution/1545E2.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; using ll = long long; using db = long double; // or double, if TL is tight using str = string; // yay python! using pi = pair<int,int>; using pl = pair<ll,ll>; using pd = pair<db,db>; using vi = vector<int>; using vb = vector<bool>; using vl = vector<ll>; using vd = vec...
29.351544
95
0.590596
Tech-Intellegent
8bca5521c02bad6dc700113c1a52db3a22f1ba77
3,157
cc
C++
libs/xml/test-config.cc
sandtreader/obtools
2382e2d90bb62c9665433d6d01bbd31b8ad66641
[ "MIT" ]
null
null
null
libs/xml/test-config.cc
sandtreader/obtools
2382e2d90bb62c9665433d6d01bbd31b8ad66641
[ "MIT" ]
null
null
null
libs/xml/test-config.cc
sandtreader/obtools
2382e2d90bb62c9665433d6d01bbd31b8ad66641
[ "MIT" ]
null
null
null
//========================================================================== // ObTools::XML: test-config.cc // // Test harness for ObTools XML configuration // // Copyright (c) 2017 Paul Clark. All rights reserved // This code comes with NO WARRANTY and is subject to licence agreement //==============================...
23.043796
76
0.682293
sandtreader
8bd1cdb01ca9f674a6e03ec579f70decc0f0639f
4,278
cpp
C++
lib/NetworkManager/NetworkManager.cpp
JDuchniewicz/BIBoP
4a9b59f79ee1f2fd1fd503bb3d6f90a0ba423570
[ "MIT" ]
null
null
null
lib/NetworkManager/NetworkManager.cpp
JDuchniewicz/BIBoP
4a9b59f79ee1f2fd1fd503bb3d6f90a0ba423570
[ "MIT" ]
null
null
null
lib/NetworkManager/NetworkManager.cpp
JDuchniewicz/BIBoP
4a9b59f79ee1f2fd1fd503bb3d6f90a0ba423570
[ "MIT" ]
null
null
null
#include "NetworkManager.h" NetworkManager::NetworkManager(BearSSLClient& sslLambda, MqttClient& mqttClient, Config& config) : sslLambda(sslLambda), mqttClient(mqttClient), m_config(config) { } NetworkManager::~NetworkManager() { } int NetworkManager::init() { if (!ECCX08.begin()) { print("Could no...
23.766667
161
0.664095
JDuchniewicz
8bd3923a1f206f5181b38bedc643edd41003880e
800
cpp
C++
leetcode/monthly-challenge/2021/06-june/Jump-Game-VI.cpp
leohr/competitive-programming
f97488e0cb777c1df78257ce2644ac4ff8191267
[ "MIT" ]
1
2020-10-08T19:28:40.000Z
2020-10-08T19:28:40.000Z
leetcode/monthly-challenge/2021/06-june/Jump-Game-VI.cpp
leohr/competitive-programming
f97488e0cb777c1df78257ce2644ac4ff8191267
[ "MIT" ]
null
null
null
leetcode/monthly-challenge/2021/06-june/Jump-Game-VI.cpp
leohr/competitive-programming
f97488e0cb777c1df78257ce2644ac4ff8191267
[ "MIT" ]
1
2020-10-24T02:32:27.000Z
2020-10-24T02:32:27.000Z
class Solution { public: int maxResult(vector<int>& nums, int k) { int n = nums.size(); priority_queue<pair<int, int>> q; vector<int> ans(n, -1e9); for (int i = 0; i < n; ++i) { if (i == 0) { ans[i] = nums[i]; q.push({ans[i], i}); ...
29.62963
46
0.32625
leohr
8bd927a52d16e30855525b6dc2926dbcca429807
4,721
cpp
C++
math/polynomial/old/NTT.cpp
searchstar2017/acmtool
03392b8909a3d45f10c2711ca4ad9ba69f64a481
[ "MIT" ]
null
null
null
math/polynomial/old/NTT.cpp
searchstar2017/acmtool
03392b8909a3d45f10c2711ca4ad9ba69f64a481
[ "MIT" ]
null
null
null
math/polynomial/old/NTT.cpp
searchstar2017/acmtool
03392b8909a3d45f10c2711ca4ad9ba69f64a481
[ "MIT" ]
null
null
null
//g = 3 //998244353, img = 86583718 //1004535809 = 479*2^21+1, img = 483363861 //469762049, img = 19610091 //tp == false means NTT^-1 void NTT(int a[], int n, bool tp) { for (int i = 0, j = 0; i < n; ++i) { if (i > j) swap(a[i], a[j]); for (int k = n >> 1; (j ^= k) < k; k >>= 1); } for (int i = 2; i <= n; i <<= ...
23.843434
84
0.446304
searchstar2017
8be25858f3e7b9b7e9b266288f67868a4b5d33f4
122
hxx
C++
src/Providers/UNIXProviders/MoreRoleInfo/UNIX_MoreRoleInfo_FREEBSD.hxx
brunolauze/openpegasus-providers-old
b00f1aad575bae144b8538bf57ba5fd5582a4ec7
[ "MIT" ]
1
2020-10-12T09:00:09.000Z
2020-10-12T09:00:09.000Z
src/Providers/UNIXProviders/MoreRoleInfo/UNIX_MoreRoleInfo_FREEBSD.hxx
brunolauze/openpegasus-providers-old
b00f1aad575bae144b8538bf57ba5fd5582a4ec7
[ "MIT" ]
null
null
null
src/Providers/UNIXProviders/MoreRoleInfo/UNIX_MoreRoleInfo_FREEBSD.hxx
brunolauze/openpegasus-providers-old
b00f1aad575bae144b8538bf57ba5fd5582a4ec7
[ "MIT" ]
null
null
null
#ifdef PEGASUS_OS_FREEBSD #ifndef __UNIX_MOREROLEINFO_PRIVATE_H #define __UNIX_MOREROLEINFO_PRIVATE_H #endif #endif
10.166667
37
0.844262
brunolauze
8be26060043e9e577dbd7dd61d6427a1eef90c5e
2,555
cpp
C++
gametitle.cpp
Mokona/Caterbuino
d7c0382f6769472584d8c3afb2b673005efa4b32
[ "MIT" ]
null
null
null
gametitle.cpp
Mokona/Caterbuino
d7c0382f6769472584d8c3afb2b673005efa4b32
[ "MIT" ]
null
null
null
gametitle.cpp
Mokona/Caterbuino
d7c0382f6769472584d8c3afb2b673005efa4b32
[ "MIT" ]
null
null
null
#include "gametitle.h" #include "buttonwidget.h" #include "data_title.h" #include "gamecredits.h" #include "gamerunning.h" #include "gamebuino_fix.h" #include <cassert> namespace { uint16_t gameStartSound[] = { 0x0005, 0x178, 0x17A, 0x27C, 0x17E, 0x180, 0x286, 0x188, 0x0000 }; c...
22.025862
69
0.631703
Mokona