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
af00e7df727b54fd6c66b795353a82f5a03bf36f
6,210
hpp
C++
test/TypeParser.hpp
scrossuk/llvm-abi
bad12c7cb1cdd271cd8804d1ace1b5d1799a2908
[ "MIT" ]
29
2016-11-14T15:58:23.000Z
2022-01-07T13:05:39.000Z
test/TypeParser.hpp
scrossuk/llvm-abi
bad12c7cb1cdd271cd8804d1ace1b5d1799a2908
[ "MIT" ]
null
null
null
test/TypeParser.hpp
scrossuk/llvm-abi
bad12c7cb1cdd271cd8804d1ace1b5d1799a2908
[ "MIT" ]
4
2017-12-03T15:51:24.000Z
2020-07-31T23:32:27.000Z
#ifndef TYPEPARSER_HPP #define TYPEPARSER_HPP #include <string> #include <llvm/ADT/SmallVector.h> #include <llvm-abi/FunctionType.hpp> #include <llvm-abi/Type.hpp> #include <llvm-abi/TypeBuilder.hpp> #include "TestFunctionType.hpp" #include "TokenStream.hpp" namespace llvm_abi { class TypeParser { public: Ty...
21.413793
74
0.555233
scrossuk
af07ad60eb7a799be3fd76e3fefba60e80c4c4a8
2,629
hpp
C++
src/TNL/Solvers/Linear/CG.hpp
grinisrit/tnl-dev
4403b2dca895e2c32636395d6f1c1210c7afcefd
[ "MIT" ]
null
null
null
src/TNL/Solvers/Linear/CG.hpp
grinisrit/tnl-dev
4403b2dca895e2c32636395d6f1c1210c7afcefd
[ "MIT" ]
null
null
null
src/TNL/Solvers/Linear/CG.hpp
grinisrit/tnl-dev
4403b2dca895e2c32636395d6f1c1210c7afcefd
[ "MIT" ]
null
null
null
// Copyright (c) 2004-2022 Tomáš Oberhuber et al. // // This file is part of TNL - Template Numerical Library (https://tnl-project.org/) // // SPDX-License-Identifier: MIT #pragma once #include "CG.h" namespace TNL { namespace Solvers { namespace Linear { template< typename Matrix > bool CG< Matrix >::solve( ConstV...
21.54918
83
0.481552
grinisrit
af08ae679e5c1bcf46815ae58d23bdefe2ac4923
4,147
hpp
C++
tools/Vitis-AI-Runtime/VART/xir/src/xir/graph/graph_template_imp.hpp
hito0512/Vitis-AI
996459fb96cb077ed2f7e789d515893b1cccbc95
[ "Apache-2.0" ]
848
2019-12-03T00:16:17.000Z
2022-03-31T22:53:17.000Z
tools/Vitis-AI-Runtime/VART/xir/src/xir/graph/graph_template_imp.hpp
wangyifan778/Vitis-AI
f61061eef7550d98bf02a171604c9a9f283a7c47
[ "Apache-2.0" ]
656
2019-12-03T00:48:46.000Z
2022-03-31T18:41:54.000Z
tools/Vitis-AI-Runtime/VART/xir/src/xir/graph/graph_template_imp.hpp
wangyifan778/Vitis-AI
f61061eef7550d98bf02a171604c9a9f283a7c47
[ "Apache-2.0" ]
506
2019-12-03T00:46:26.000Z
2022-03-30T10:34:56.000Z
/* * Copyright 2019 Xilinx 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 law or agreed to ...
32.653543
85
0.69713
hito0512
af09244471b4a9d2a6243b8ca38c33e1606ef26b
854
cc
C++
content/renderer/media/mock_media_stream_video_sink.cc
Acidburn0zzz/chromium-1
4c08f442d2588a2c7cfaa117a55bd87d2ac32f9a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
content/renderer/media/mock_media_stream_video_sink.cc
Acidburn0zzz/chromium-1
4c08f442d2588a2c7cfaa117a55bd87d2ac32f9a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
content/renderer/media/mock_media_stream_video_sink.cc
Acidburn0zzz/chromium-1
4c08f442d2588a2c7cfaa117a55bd87d2ac32f9a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "content/renderer/media/mock_media_stream_video_sink.h" namespace content { MockMediaStreamVideoSink::MockMediaStreamVideoSink() : number_o...
26.6875
73
0.75644
Acidburn0zzz
af0d0e1c092f5078afc63a76baac4e6604ed61b1
925
cpp
C++
data-plane/http1/source/ESHttpServerCommandSocket.cpp
duderino/everscale
38388289dcce869852680a167f3dcb7e090d851c
[ "Apache-2.0" ]
null
null
null
data-plane/http1/source/ESHttpServerCommandSocket.cpp
duderino/everscale
38388289dcce869852680a167f3dcb7e090d851c
[ "Apache-2.0" ]
null
null
null
data-plane/http1/source/ESHttpServerCommandSocket.cpp
duderino/everscale
38388289dcce869852680a167f3dcb7e090d851c
[ "Apache-2.0" ]
null
null
null
#ifndef ES_HTTP_SERVER_COMMAND_SOCKET_H #include <ESHttpServerCommandSocket.h> #endif namespace ES { HttpServerCommandSocket::HttpServerCommandSocket(const char *namePrefix, HttpMultiplexerExtended &stack) : HttpCommandSocket(namePrefix), _multiplexer(stack) {} HttpServerCommandSocket::~HttpServerCommandSocket()...
31.896552
107
0.758919
duderino
af125dc2fc23b4254d4abfa824871cec39c442f9
1,141
cpp
C++
lab2020-2021/lab_ex1_sol/driver.cpp
chgogos/oop
3b0e6bbd29a76f863611e18d082913f080b1b571
[ "MIT" ]
14
2019-04-23T13:45:10.000Z
2022-03-12T18:26:47.000Z
lab2020-2021/lab_ex1_sol/driver.cpp
chgogos/oop
3b0e6bbd29a76f863611e18d082913f080b1b571
[ "MIT" ]
null
null
null
lab2020-2021/lab_ex1_sol/driver.cpp
chgogos/oop
3b0e6bbd29a76f863611e18d082913f080b1b571
[ "MIT" ]
9
2019-09-01T15:17:45.000Z
2020-11-13T20:31:36.000Z
#include <iostream> #include <algorithm> #include "cargo.hpp" using namespace std; using namespace std::rel_ops; int main() { cargo c1; c1.set_weight(100.0); c1.show(); cargo c2(1, "test", 100.0, false); c2.show(); cargo c3; cargo c4; cout << boolalpha; cout << (c3 == c4) << endl;...
20.745455
66
0.460999
chgogos
af133fe8f324e21dd72b65c0f900f95fddc897e9
2,310
cpp
C++
Source/AllProjects/Installer/CQCInst/CQCInst_SecurityPanel.cpp
MarkStega/CQC
c1d0e01ec2abcaa5b8eb1899b9f0522fecee4b07
[ "MIT" ]
51
2020-12-26T18:17:16.000Z
2022-03-15T04:29:35.000Z
Source/AllProjects/Installer/CQCInst/CQCInst_SecurityPanel.cpp
MarkStega/CQC
c1d0e01ec2abcaa5b8eb1899b9f0522fecee4b07
[ "MIT" ]
null
null
null
Source/AllProjects/Installer/CQCInst/CQCInst_SecurityPanel.cpp
MarkStega/CQC
c1d0e01ec2abcaa5b8eb1899b9f0522fecee4b07
[ "MIT" ]
4
2020-12-28T07:24:39.000Z
2021-12-29T12:09:37.000Z
// // FILE NAME: CQCInst_SecurityPanel.cpp // // AUTHOR: Dean Roddey // // CREATED: 10/30/2004 // // COPYRIGHT: Charmed Quark Systems, Ltd @ 2020 // // This software is copyrighted by 'Charmed Quark Systems, Ltd' and // the author (Dean Roddey.) It is licensed under the MIT Open Source // license: // // https://ope...
28.170732
78
0.461039
MarkStega
af138497c991683194db1a8fd80305d58989137e
8,869
cpp
C++
src/Output/Output_BasePowerSpectrum.cpp
zhulianhua/Daino
db88f5738aba76fa8a28d7672450e0c5c832b3de
[ "MIT" ]
3
2019-04-13T02:08:01.000Z
2020-11-17T12:45:37.000Z
src/Output/Output_BasePowerSpectrum.cpp
zhulianhua/Daino
db88f5738aba76fa8a28d7672450e0c5c832b3de
[ "MIT" ]
null
null
null
src/Output/Output_BasePowerSpectrum.cpp
zhulianhua/Daino
db88f5738aba76fa8a28d7672450e0c5c832b3de
[ "MIT" ]
2
2019-11-12T02:00:20.000Z
2019-12-09T14:52:31.000Z
#include "DAINO.h" #ifdef GRAVITY #ifndef DENS #error : ERROR : variable "DENS" is NOT defined in the function Output_BasePowerSpectrum !! #endif //output the dimensionless power spectrum //#define DIMENSIONLESS_FORM extern void GetBasePowerSpectrum( real *RhoK, const int j_start, const int dj, const int RhoK_Si...
32.018051
123
0.590709
zhulianhua
af16904532e64e5b1232c277a83137357adf44b3
893
cpp
C++
src/mgard-x/RuntimeX/DeviceAdapters/DeviceAdapterSerial.cpp
JieyangChen7/MGARD
acec8facae1e2767a3adff2bb3c30f3477e69bdb
[ "Apache-2.0" ]
null
null
null
src/mgard-x/RuntimeX/DeviceAdapters/DeviceAdapterSerial.cpp
JieyangChen7/MGARD
acec8facae1e2767a3adff2bb3c30f3477e69bdb
[ "Apache-2.0" ]
null
null
null
src/mgard-x/RuntimeX/DeviceAdapters/DeviceAdapterSerial.cpp
JieyangChen7/MGARD
acec8facae1e2767a3adff2bb3c30f3477e69bdb
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2022, Oak Ridge National Laboratory. * MGARD-X: MultiGrid Adaptive Reduction of Data Portable across GPUs and CPUs * Author: Jieyang Chen (chenj3@ornl.gov) * Date: March 17, 2022 */ #include "mgard-x/RuntimeX/RuntimeX.h" namespace mgard_x { int DeviceRuntime<SERIAL>::curr_dev_id = 0; DeviceQueues...
31.892857
78
0.780515
JieyangChen7
af19a8563704a530c787b974aa3af7a00b323695
679
cpp
C++
src/dna/DNAVisGroup.cpp
DarthNihilus1/OTP-Server
8a98d20f0b16689cc116e1eee4b44e659a75e9b2
[ "BSD-3-Clause" ]
1
2022-01-18T17:17:43.000Z
2022-01-18T17:17:43.000Z
src/dna/DNAVisGroup.cpp
DarthNihilus1/OTP-Server
8a98d20f0b16689cc116e1eee4b44e659a75e9b2
[ "BSD-3-Clause" ]
null
null
null
src/dna/DNAVisGroup.cpp
DarthNihilus1/OTP-Server
8a98d20f0b16689cc116e1eee4b44e659a75e9b2
[ "BSD-3-Clause" ]
1
2022-01-31T22:07:19.000Z
2022-01-31T22:07:19.000Z
#include "DNAVisGroup.h" DNAVisGroup::DNAVisGroup(const std::string& name): DNAGroup(name) { m_vis_group = this; } DNAVisGroup::~DNAVisGroup() { } void DNAVisGroup::add_visible(const std::string& visible) { m_visibles.push_back(visible); } bool DNAVisGroup::remove_visible(const std::string& visible) { s...
19.4
101
0.698085
DarthNihilus1
af213e1ad8996bc53a087e6b77830a0150d895b8
4,981
cpp
C++
dev/Code/Tools/SerializeContextTools/main.cpp
brianherrera/lumberyard
f85344403c1c2e77ec8c75deb2c116e97b713217
[ "AML" ]
1,738
2017-09-21T10:59:12.000Z
2022-03-31T21:05:46.000Z
dev/Code/Tools/SerializeContextTools/main.cpp
ArchitectureStudios/lumberyard
f85344403c1c2e77ec8c75deb2c116e97b713217
[ "AML" ]
427
2017-09-29T22:54:36.000Z
2022-02-15T19:26:50.000Z
dev/Code/Tools/SerializeContextTools/main.cpp
ArchitectureStudios/lumberyard
f85344403c1c2e77ec8c75deb2c116e97b713217
[ "AML" ]
671
2017-09-21T08:04:01.000Z
2022-03-29T14:30:07.000Z
/* * All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or * its licensors. * * For complete copyright and license terms please see the LICENSE at the root of this * distribution (the "License"). All use of this software is governed by the License, * or, if provided, by the license belo...
47.438095
135
0.649267
brianherrera
af22d38bbe499652ba028c4c970b57aaa9f489f6
1,026
cpp
C++
PAT (Advanced Level) Practice/1163 Dijkstra Sequence (30).cpp
vuzway/PAT
5db8ca9295b51ad9e99c815a46e4ac764d7d06c1
[ "MIT" ]
5
2020-02-10T08:26:19.000Z
2020-07-09T00:11:16.000Z
PAT (Advanced Level) Practice/1163 Dijkstra Sequence (30).cpp
Assassin2016/zju_data_structures_and_algorithms_in_MOOC
5db8ca9295b51ad9e99c815a46e4ac764d7d06c1
[ "MIT" ]
null
null
null
PAT (Advanced Level) Practice/1163 Dijkstra Sequence (30).cpp
Assassin2016/zju_data_structures_and_algorithms_in_MOOC
5db8ca9295b51ad9e99c815a46e4ac764d7d06c1
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> using namespace std; const int inf = 0x2fffffff; int e[1010][1010], dis[1010]; bool vis[1010]; int main() { fill(e[0], e[0] + 1010 * 1010, inf); int nv, ne, k, a, b, w; cin >> nv >> ne; for (int i = 0; i < ne; i++) { scanf("%d%d%d", &a, &b, &w); e[a][b] = e[b][a] = w; } c...
22.304348
63
0.455166
vuzway
af29a00f44380a153c2053df41d971e4dd4cee16
1,206
hpp
C++
third_party/libosmium/include/protozero/pbf_message.hpp
Mapotempo/osrm-backend
a62c10321c0a269e218ab4164c4ccd132048f271
[ "BSD-2-Clause" ]
1
2016-11-29T15:02:40.000Z
2016-11-29T15:02:40.000Z
third_party/libosmium/include/protozero/pbf_message.hpp
aaronbenz/osrm-backend
758d4023050d1f49971f919cea872a2276dafe14
[ "BSD-2-Clause" ]
1
2019-02-04T18:10:57.000Z
2019-02-04T18:10:57.000Z
third_party/libosmium/include/protozero/pbf_message.hpp
Mapotempo/osrm-backend
a62c10321c0a269e218ab4164c4ccd132048f271
[ "BSD-2-Clause" ]
null
null
null
#ifndef PROTOZERO_PBF_MESSAGE_HPP #define PROTOZERO_PBF_MESSAGE_HPP /***************************************************************************** protozero - Minimalistic protocol buffer decoder and encoder in C++. This file is from https://github.com/mapbox/protozero where you can find more documentation. *******...
23.647059
156
0.606965
Mapotempo
af2d5deddf654ec2be11387164491a0cd8b23470
707
hpp
C++
library/ATF/_POSTDATA_DB_BASE.hpp
lemkova/Yorozuya
f445d800078d9aba5de28f122cedfa03f26a38e4
[ "MIT" ]
29
2017-07-01T23:08:31.000Z
2022-02-19T10:22:45.000Z
library/ATF/_POSTDATA_DB_BASE.hpp
kotopes/Yorozuya
605c97d3a627a8f6545cc09f2a1b0a8afdedd33a
[ "MIT" ]
90
2017-10-18T21:24:51.000Z
2019-06-06T02:30:33.000Z
library/ATF/_POSTDATA_DB_BASE.hpp
kotopes/Yorozuya
605c97d3a627a8f6545cc09f2a1b0a8afdedd33a
[ "MIT" ]
44
2017-12-19T08:02:59.000Z
2022-02-24T23:15:01.000Z
// This file auto generated by plugin for ida pro. Generated code only for x64. Please, dont change manually #pragma once #include <common/common.h> #include <_DELPOST_DB_BASE.hpp> #include <_POSTSTORAGE_DB_BASE.hpp> #include <_RETURNPOST_DB_BASE.hpp> START_ATF_NAMESPACE #pragma pack(push, 1) struct _POSTDAT...
27.192308
108
0.708628
lemkova
af2fafcb0bde4bbf8f971cbe1e70ef9724c4d18e
237
cc
C++
transpiler/examples/structs/return_struct.cc
birdmanhub/fully-homomorphic-encryption
6f8e3a216ebe6911f8fa46bd0b1ce3636df8eff5
[ "Apache-2.0" ]
2,661
2021-06-14T16:27:52.000Z
2022-03-31T14:19:39.000Z
transpiler/examples/structs/return_struct.cc
birdmanhub/fully-homomorphic-encryption
6f8e3a216ebe6911f8fa46bd0b1ce3636df8eff5
[ "Apache-2.0" ]
18
2021-06-14T17:39:02.000Z
2022-01-15T10:25:47.000Z
transpiler/examples/structs/return_struct.cc
birdmanhub/fully-homomorphic-encryption
6f8e3a216ebe6911f8fa46bd0b1ce3636df8eff5
[ "Apache-2.0" ]
181
2021-06-14T17:05:57.000Z
2022-03-26T19:08:35.000Z
#include "return_struct.h" #pragma hls_top ReturnStruct ConstructReturnStruct(unsigned char a, Embedded b, unsigned char c) { ReturnStruct ret; ret.a = a; ret.b = b; ret.c = c; return ret; }
19.75
63
0.594937
birdmanhub
af3072766a8c332e97c02684d9b6f6f3bec19032
2,365
cpp
C++
Source/Client/Core/UnitTests/gen/Main.cpp
cppsoup/soup
0d6e6cb730d062373724cb1c4ab092eda8d53dc2
[ "MIT" ]
40
2020-01-12T05:56:53.000Z
2020-09-25T22:27:10.000Z
Source/Client/Core/UnitTests/gen/Main.cpp
cppsoup/soup
0d6e6cb730d062373724cb1c4ab092eda8d53dc2
[ "MIT" ]
17
2018-03-20T05:42:36.000Z
2020-09-19T01:42:31.000Z
Source/Client/Core/UnitTests/gen/Main.cpp
cppsoup/soup
0d6e6cb730d062373724cb1c4ab092eda8d53dc2
[ "MIT" ]
1
2020-05-26T17:29:46.000Z
2020-05-26T17:29:46.000Z
#include <any> #include <chrono> #include <fstream> #include <iostream> #include <map> #include <memory> #include <optional> #include <queue> #include <sstream> #include <string> #include <unordered_map> #include <vector> import Opal; import Soup.Core; import json11; import Monitor.Host; import Soup.Test.Assert; usin...
26.277778
63
0.765328
cppsoup
af34aaf545720ea15ba9d8d54ad84522957abfc4
966
cpp
C++
1st/remove_duplicates_from_sorted_list.cpp
buptlxb/leetcode
b641419de040801c4f54618d7ee26edcf10ee53c
[ "BSD-3-Clause" ]
null
null
null
1st/remove_duplicates_from_sorted_list.cpp
buptlxb/leetcode
b641419de040801c4f54618d7ee26edcf10ee53c
[ "BSD-3-Clause" ]
null
null
null
1st/remove_duplicates_from_sorted_list.cpp
buptlxb/leetcode
b641419de040801c4f54618d7ee26edcf10ee53c
[ "BSD-3-Clause" ]
null
null
null
#include <iostream> using std::cout; using std::endl; struct ListNode { int val; ListNode *next; ListNode(int x) : val(x), next(NULL) {} }; class Solution { public: ListNode *deleteDuplicates(ListNode *head) { if (!head) return NULL; ListNode *ret = head; ListNode...
18.576923
53
0.489648
buptlxb
af37ec68be37026a635d4e22c2f0afc0a4be409a
664
cpp
C++
Axis.Mint/services/language/syntax/evaluation/NullValue.cpp
renato-yuzup/axis-fem
2e8d325eb9c8e99285f513b4c1218ef53eb0ab22
[ "MIT" ]
2
2021-07-23T08:49:54.000Z
2021-07-29T22:07:30.000Z
Axis.Mint/services/language/syntax/evaluation/NullValue.cpp
renato-yuzup/axis-fem
2e8d325eb9c8e99285f513b4c1218ef53eb0ab22
[ "MIT" ]
null
null
null
Axis.Mint/services/language/syntax/evaluation/NullValue.cpp
renato-yuzup/axis-fem
2e8d325eb9c8e99285f513b4c1218ef53eb0ab22
[ "MIT" ]
null
null
null
#include "NullValue.hpp" namespace aslse = axis::services::language::syntax::evaluation; aslse::NullValue::NullValue( void ) { /* nothing to do here */ } aslse::NullValue::~NullValue( void ) { /* nothing to do here */ } bool aslse::NullValue::IsAssignment( void ) const { return false; } bool aslse::NullValue::I...
15.090909
63
0.691265
renato-yuzup
af3e8df6814a6331414dc46f1412ff9dae719ccc
1,123
cpp
C++
0349 - Intersection of Two Arrays/cpp/main.cpp
xiaoswu/Leetcode
e4ae8b2f72a312ee247084457cf4e6dbcfd20e18
[ "MIT" ]
5
2018-10-18T06:47:19.000Z
2020-06-19T09:30:03.000Z
0349 - Intersection of Two Arrays/cpp/main.cpp
xiaoswu/Leetcode
e4ae8b2f72a312ee247084457cf4e6dbcfd20e18
[ "MIT" ]
null
null
null
0349 - Intersection of Two Arrays/cpp/main.cpp
xiaoswu/Leetcode
e4ae8b2f72a312ee247084457cf4e6dbcfd20e18
[ "MIT" ]
null
null
null
// // main.cpp // 两个数组的交集 // // Created by ynfMac on 2018/10/9. // Copyright © 2018年 ynfMac. All rights reserved. // 使用set #include <iostream> #include <vector> #include <set> using namespace std; class Solution { public: vector<int> intersect(vector<int>& nums1, vector<int>& nums2) { set<i...
21.596154
79
0.534283
xiaoswu
af44dee4658df211a3a3408885978663787ef0a2
794
cpp
C++
1161-maximum-level-sum-of-a-binary-tree/1161-maximum-level-sum-of-a-binary-tree.cpp
SouvikChan/-Leetcode_Souvik
cc4b72cb4a14a1c6b8be8bd8390de047443fe008
[ "MIT" ]
null
null
null
1161-maximum-level-sum-of-a-binary-tree/1161-maximum-level-sum-of-a-binary-tree.cpp
SouvikChan/-Leetcode_Souvik
cc4b72cb4a14a1c6b8be8bd8390de047443fe008
[ "MIT" ]
null
null
null
1161-maximum-level-sum-of-a-binary-tree/1161-maximum-level-sum-of-a-binary-tree.cpp
SouvikChan/-Leetcode_Souvik
cc4b72cb4a14a1c6b8be8bd8390de047443fe008
[ "MIT" ]
null
null
null
/** * Definition for a binary tree node. * struct TreeNode { * int val; * TreeNode *left; * TreeNode *right; * TreeNode() : val(0), left(nullptr), right(nullptr) {} * TreeNode(int x) : val(x), left(nullptr), right(nullptr) {} * TreeNode(int x, TreeNode *left, TreeNode *right) : val(x), l...
20.894737
93
0.542821
SouvikChan
af461c0ca5a379b8f957f52f6f607382d3e1dc6f
757
cpp
C++
Hackerrank/Day of the Programmer.cpp
SurgicalSteel/Competitive-Programming
3662b676de94796f717b25dc8d1b93c6851fb274
[ "MIT" ]
14
2016-02-11T09:26:13.000Z
2022-03-27T01:14:29.000Z
Hackerrank/Day of the Programmer.cpp
SurgicalSteel/Competitive-Programming
3662b676de94796f717b25dc8d1b93c6851fb274
[ "MIT" ]
null
null
null
Hackerrank/Day of the Programmer.cpp
SurgicalSteel/Competitive-Programming
3662b676de94796f717b25dc8d1b93c6851fb274
[ "MIT" ]
7
2016-10-25T19:29:35.000Z
2021-12-05T18:31:39.000Z
#include <bits/stdc++.h> using namespace std; string tostr(int x) { ostringstream ss; ss<<x; return ss.str(); } int main() { // your code goes here int iy,d,m,v,c=0,cm=0; string sd,sm; bool l=false; int lm []={31,28,31,30,31,30,31,31,30,31,30,31}; for(int i=0;i<12;i++){cm+=lm[i];} ...
19.921053
52
0.442536
SurgicalSteel
af473e19bd41d67214893891cb110a031b4e558b
394
cpp
C++
272.cpp
ediston/UVA
183bbfb352561f808ab6f82c70760c89a9b5c749
[ "Unlicense" ]
null
null
null
272.cpp
ediston/UVA
183bbfb352561f808ab6f82c70760c89a9b5c749
[ "Unlicense" ]
null
null
null
272.cpp
ediston/UVA
183bbfb352561f808ab6f82c70760c89a9b5c749
[ "Unlicense" ]
null
null
null
#include<iostream> using namespace std; int main(){ char c; bool first=true; while(cin >> noskipws >> c){ if(c=='"'){ if(first){ cout << "``"; }else{ cout << "''"; } first = !first; ...
18.761905
33
0.309645
ediston
af47ffa1ddcae41ccdb44babdebb53b333f5a674
2,246
cpp
C++
lib/TickerScheduler/TickerScheduler.cpp
ecrandz/IoTManager
5d0eb71cfccccf9020b28be8c9fa5837988fb6ba
[ "MIT" ]
37
2020-08-17T10:39:06.000Z
2022-02-17T16:18:47.000Z
lib/TickerScheduler/TickerScheduler.cpp
ecrandz/IoTManager
5d0eb71cfccccf9020b28be8c9fa5837988fb6ba
[ "MIT" ]
11
2020-10-20T14:48:07.000Z
2022-02-04T07:05:05.000Z
lib/TickerScheduler/TickerScheduler.cpp
ecrandz/IoTManager
5d0eb71cfccccf9020b28be8c9fa5837988fb6ba
[ "MIT" ]
43
2020-06-19T22:40:14.000Z
2022-03-05T05:29:07.000Z
#include "TickerScheduler.h" TickerScheduler::TickerScheduler(uint8_t size) { this->items = new TickerSchedulerItem[size]; this->size = size; } TickerScheduler::~TickerScheduler() { for (uint8_t i = 0; i < this->size; i++) { this->remove(i); yield(); } delete[] this->items; ...
19.196581
103
0.588157
ecrandz
af4a427d2302b8c705331d8a611ffc056b2f2aeb
7,319
cpp
C++
PFL_runner.cpp
KAdamek/sdp_pfl_runner
ba8121191233f018623165dec31aa60af52f5a26
[ "MIT" ]
null
null
null
PFL_runner.cpp
KAdamek/sdp_pfl_runner
ba8121191233f018623165dec31aa60af52f5a26
[ "MIT" ]
null
null
null
PFL_runner.cpp
KAdamek/sdp_pfl_runner
ba8121191233f018623165dec31aa60af52f5a26
[ "MIT" ]
null
null
null
#include <stdio.h> #include <stdarg.h> #include <memory> #include <iostream> #include <algorithm> // Simple function should be trivially callable int pflSimpleFunctionA(int A, int B, int *status) { printf("SimpleFunctionA\n"); return(A + B); } // Simple function acting on the array without temporary memory sh...
25.680702
134
0.576445
KAdamek
af4ae2760af0d960fbeacbd31f78a22b674c9dbb
2,647
cpp
C++
admin/admt/netobjen/enumtest/enumvar.cpp
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
admin/admt/netobjen/enumtest/enumvar.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
admin/admt/netobjen/enumtest/enumvar.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
// EnumVar.cpp: implementation of the CEnumVar class. // ////////////////////////////////////////////////////////////////////// #include "stdafx.h" #include <COMDEF.h> #include "EnumTest.h" #include "EnumVar.h" #ifdef _DEBUG #undef THIS_FILE static char THIS_FILE[]=__FILE__; #define new DEBUG_NEW #endif ...
24.509259
76
0.469588
npocmaka
af4c308e4ffe5eccd1235695e8ea27b1502df627
356
hpp
C++
tests/test-registry.hpp
umbreensabirmain/readex-rrl
0cb73b3a3c6948a8dbdce96c240b24d8e992c2fe
[ "BSD-3-Clause" ]
1
2019-10-09T09:15:47.000Z
2019-10-09T09:15:47.000Z
tests/test-registry.hpp
readex-eu/readex-rrl
ac8722c44f84d65668e2a60e4237ebf51b298c9b
[ "BSD-3-Clause" ]
null
null
null
tests/test-registry.hpp
readex-eu/readex-rrl
ac8722c44f84d65668e2a60e4237ebf51b298c9b
[ "BSD-3-Clause" ]
1
2018-07-13T11:31:05.000Z
2018-07-13T11:31:05.000Z
#ifndef TEST_REGISTRY_HPP #define TEST_REGISTRY_HPP #include <string> void register_test(const std::string & name, int (*test)(const std::string &)); int run_test(const std::string & name); #define TEST_REGISTER(name, test) \ static void __attribute__((constructor)) register_test(void) \ { \ registe...
18.736842
74
0.696629
umbreensabirmain
af4dee6b86cd1e4d7ac63d0ee31a480d21da2069
10,431
hpp
C++
grasp_planner/test/load_perception.hpp
tanjpg/easy_manipulation_deployment
83073fcebb25306619c4958fc98a74b1bf216141
[ "Apache-2.0" ]
null
null
null
grasp_planner/test/load_perception.hpp
tanjpg/easy_manipulation_deployment
83073fcebb25306619c4958fc98a74b1bf216141
[ "Apache-2.0" ]
null
null
null
grasp_planner/test/load_perception.hpp
tanjpg/easy_manipulation_deployment
83073fcebb25306619c4958fc98a74b1bf216141
[ "Apache-2.0" ]
1
2021-04-01T07:11:35.000Z
2021-04-01T07:11:35.000Z
// Copyright 2020 Advanced Remanufacturing and Technology Centre // Copyright 2020 ROS-Industrial Consortium Asia Pacific Team // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // ht...
39.067416
87
0.560445
tanjpg
af4e824cbe9ca72296e99ba57d3c7068b68e926c
9,825
cpp
C++
lib/Cinder/src/cinder/gl/GlslProg.cpp
timmb/HarmonicMotion
4ddf8ce98377260e57b6293d093a144a25ce3132
[ "MIT" ]
1
2018-07-20T03:56:15.000Z
2018-07-20T03:56:15.000Z
lib/Cinder/src/cinder/gl/GlslProg.cpp
timmb/HarmonicMotion
4ddf8ce98377260e57b6293d093a144a25ce3132
[ "MIT" ]
null
null
null
lib/Cinder/src/cinder/gl/GlslProg.cpp
timmb/HarmonicMotion
4ddf8ce98377260e57b6293d093a144a25ce3132
[ "MIT" ]
null
null
null
/* Copyright (c) 2010, The Barbarian Group All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions...
33.418367
193
0.697201
timmb
af4fad6c6c17c867cb8ab0dbfddd63f330f2e5b5
181
hpp
C++
src/game/process_priority.hpp
mnewhouse/tselements
bd1c6724018e862156948a680bb1bc70dd28bef6
[ "MIT" ]
null
null
null
src/game/process_priority.hpp
mnewhouse/tselements
bd1c6724018e862156948a680bb1bc70dd28bef6
[ "MIT" ]
null
null
null
src/game/process_priority.hpp
mnewhouse/tselements
bd1c6724018e862156948a680bb1bc70dd28bef6
[ "MIT" ]
null
null
null
/* * TS Elements * Copyright 2015-2018 M. Newhouse * Released under the MIT license. */ #pragma once namespace ts { namespace game { void elevate_process_priority(); } }
12.066667
36
0.685083
mnewhouse
af54568ce52e2309c4f879a45d67728b75407162
770
cpp
C++
RubeusCore/Source/GraphicComponents/buffer_object.cpp
Rodrirokr/Rubeus
12623b04db959b428b9eb791d3943b11d74c0532
[ "MIT" ]
179
2018-12-22T14:02:02.000Z
2022-01-29T18:26:57.000Z
RubeusCore/Source/GraphicComponents/buffer_object.cpp
rahil627/Rubeus
dd057d23c94a0406126c32d62889ac83cba47570
[ "MIT" ]
56
2019-01-07T11:55:16.000Z
2020-12-10T21:32:18.000Z
RubeusCore/Source/GraphicComponents/buffer_object.cpp
rahil627/Rubeus
dd057d23c94a0406126c32d62889ac83cba47570
[ "MIT" ]
20
2018-12-23T11:19:49.000Z
2022-03-11T06:18:10.000Z
/** * @file Source/buffer.cpp. * * @brief Implements the buffer class */ #include <buffer_object.h> namespace Rubeus { namespace GraphicComponents { RBuffer::RBuffer(GLfloat * data, GLsizei count, GLuint elementCount) { m_ElementCount = elementCount; GLCall(glGenBuffers(1, &m_BufferID)); GLCall(g...
19.74359
88
0.705195
Rodrirokr
af54af68f3e244997dd97fc3d9ca6181835ca856
7,581
cpp
C++
cookie/src/cookie_chrono.cpp
mbits-os/tangle
90090f7c0980e140234ee949df42c433a4dac938
[ "MIT" ]
null
null
null
cookie/src/cookie_chrono.cpp
mbits-os/tangle
90090f7c0980e140234ee949df42c433a4dac938
[ "MIT" ]
null
null
null
cookie/src/cookie_chrono.cpp
mbits-os/tangle
90090f7c0980e140234ee949df42c433a4dac938
[ "MIT" ]
null
null
null
// Copyright (c) 2016 midnightBITS // This code is licensed under MIT license (see LICENSE for details) #include <tangle/cookie/chrono.hpp> #include <cctype> #include <ctime> namespace tangle::cookie::chrono { // gmtime/timegm doesn't work nice with the 1601-1970 range, required by RFC // most of this is taken fro...
41.653846
77
0.469727
mbits-os
af55baa078be2b3818f3d663c80514c91aeb0afd
2,830
cpp
C++
recharge/src/main.cpp
Sytten/ByPASS
c5b009d6ef9c986a7607332a7777af81b3752ab4
[ "MIT" ]
5
2017-12-11T16:11:55.000Z
2021-02-10T14:20:28.000Z
recharge/src/main.cpp
Sytten/ByPASS
c5b009d6ef9c986a7607332a7777af81b3752ab4
[ "MIT" ]
null
null
null
recharge/src/main.cpp
Sytten/ByPASS
c5b009d6ef9c986a7607332a7777af81b3752ab4
[ "MIT" ]
null
null
null
// core code for the charging terminal #include "mbed.h" #include "rtos.h" #include "RFID.h" #include "XbeeCommunication.h" #include "debug.h" #include "TextLCD.h" #include "Server.h" #include "coinCounter.h" DigitalIn button(p21); RFID RfChip (SPI_MOSI, SPI_MISO, SPI_SCLK, SPI_CS, MF_RESET); TextLCD l...
27.475728
89
0.469611
Sytten
af566aa13cb9dd5efb79669318e8513a5be3b2fb
1,487
cpp
C++
Safety/Src/safety_controller.cpp
antholuo/ZeroPilot-SW
bb97994fb5b87f433d266df52c55b4db313d0530
[ "BSD-4-Clause" ]
2
2020-10-14T19:42:35.000Z
2021-02-24T01:23:19.000Z
Safety/Src/safety_controller.cpp
antholuo/ZeroPilot-SW
bb97994fb5b87f433d266df52c55b4db313d0530
[ "BSD-4-Clause" ]
1
2021-06-21T06:28:46.000Z
2021-06-21T06:28:46.000Z
Safety/Src/safety_controller.cpp
antholuo/ZeroPilot-SW
bb97994fb5b87f433d266df52c55b4db313d0530
[ "BSD-4-Clause" ]
null
null
null
#include "safety_controller.hpp" #include "PWM.hpp" #include "stdlib.h" //#include "Interchip.h" #include "interchip_S.hpp" static void setPWMChannel(PWMChannel &pwm, int channel, int percentage); static int getPPM(PPMChannel &ppm, int channel); //static Interchip_AtoS_Packet *dataRX; //static Interchip_StoA_Packet...
22.19403
78
0.656355
antholuo
af5746c2f9427a802dd68e58a4008db6da7ede0c
2,107
cc
C++
third_party/cpuinfo/test/name/ro-arch.cc
gautamkmr/caffe2
cde7f21d1e34ec714bc08dbfab945a1ad30e92ff
[ "MIT" ]
511
2018-05-11T20:39:24.000Z
2022-03-29T02:47:58.000Z
third_party/cpuinfo/test/name/ro-arch.cc
gautamkmr/caffe2
cde7f21d1e34ec714bc08dbfab945a1ad30e92ff
[ "MIT" ]
66
2018-07-06T10:32:08.000Z
2022-03-30T08:40:04.000Z
third_party/cpuinfo/test/name/ro-arch.cc
gautamkmr/caffe2
cde7f21d1e34ec714bc08dbfab945a1ad30e92ff
[ "MIT" ]
184
2018-05-23T22:04:40.000Z
2022-03-22T08:06:22.000Z
#include <gtest/gtest.h> #include <stdint.h> #include <string.h> #include <string> #define CPUINFO_BUILD_PROP_VALUE_MAX 92 #define CPUINFO_ARM_CHIPSET_NAME_MAX 48 extern "C" void cpuinfo_arm_android_parse_ro_arch( const char arch[CPUINFO_BUILD_PROP_VALUE_MAX], uint32_t cores, uint32_t max_cpu_freq_max, char chi...
30.985294
87
0.772663
gautamkmr
af575ec56ff4ab7e930f40be41a2b8772811ab4f
2,890
cpp
C++
audio/AudioIOCallback.cpp
kovdan01/libtgvoip
6fec40ea1acd40fddba927b049f78962507d4922
[ "Unlicense" ]
null
null
null
audio/AudioIOCallback.cpp
kovdan01/libtgvoip
6fec40ea1acd40fddba927b049f78962507d4922
[ "Unlicense" ]
null
null
null
audio/AudioIOCallback.cpp
kovdan01/libtgvoip
6fec40ea1acd40fddba927b049f78962507d4922
[ "Unlicense" ]
null
null
null
// // libtgvoip is free and unencumbered public domain software. // For more information, see http://unlicense.org or the UNLICENSE file // you should have received with this source code distribution. // #include "../logging.h" #include "../VoIPController.h" #include "AudioIOCallback.h" #include <cstring> using name...
20.20979
102
0.66436
kovdan01
af58bc67b7646da96a91093a51c7db6188964f08
106
cpp
C++
RTEngine/PCG/test-high/check-pcg64_k32_fast.cpp
RootinTootinCoodin/RTEngine
916354d8868f6eca5675390071e3ec93df497ed3
[ "MIT" ]
613
2015-01-27T09:47:36.000Z
2022-03-17T20:26:02.000Z
third_party/pcg/test-high/check-pcg64_k32_fast.cpp
Zephilinox/Enki
5f405fec9ae0f3c3344a99fbee590d76ed4dbe55
[ "MIT" ]
59
2015-03-12T23:11:48.000Z
2022-03-31T08:24:52.000Z
third_party/pcg/test-high/check-pcg64_k32_fast.cpp
Zephilinox/Enki
5f405fec9ae0f3c3344a99fbee590d76ed4dbe55
[ "MIT" ]
104
2015-02-24T16:25:17.000Z
2022-03-22T09:55:51.000Z
#define RNG pcg64_k32_fast #define TWO_ARG_INIT 0 #define AWKWARD_128BIT_CODE 1 #include "pcg-test.cpp"
15.142857
29
0.801887
RootinTootinCoodin
af5c47582b4941edcad0e06c6497b38b937323ca
746
cpp
C++
src/main.cpp
unfoundbug/ESp32ControlTranciever
35c9e527771c0d8d6edbeffaaf3fc76a16b7486e
[ "Apache-2.0" ]
null
null
null
src/main.cpp
unfoundbug/ESp32ControlTranciever
35c9e527771c0d8d6edbeffaaf3fc76a16b7486e
[ "Apache-2.0" ]
null
null
null
src/main.cpp
unfoundbug/ESp32ControlTranciever
35c9e527771c0d8d6edbeffaaf3fc76a16b7486e
[ "Apache-2.0" ]
null
null
null
#include <Arduino.h> #include "globals.hpp" #include "Core0.hpp" #include "Core1.hpp" #include "soc/soc.h" #include "soc/rtc_cntl_reg.h" void setup() { WRITE_PERI_REG(RTC_CNTL_BROWN_OUT_REG, 0); //disable brownout detector // let things power up delay(500); WRITE_PERI_REG(RTC_CNTL_BROWN_OUT_REG, 1); //...
20.162162
75
0.703753
unfoundbug
af5d54d1582922cfafefb6dd225c698c9bd72793
7,652
cpp
C++
arm_components_name_manager/src/ArmJointStateSubscriber.cpp
JenniferBuehler/tools-pkgs
8faeac8a3ecae6a35faa39463cb571ba720d6c77
[ "BSD-3-Clause" ]
2
2018-09-10T03:29:25.000Z
2020-05-28T19:23:43.000Z
arm_components_name_manager/src/ArmJointStateSubscriber.cpp
JenniferBuehler/tools-pkgs
8faeac8a3ecae6a35faa39463cb571ba720d6c77
[ "BSD-3-Clause" ]
2
2016-03-28T16:19:35.000Z
2016-05-30T15:09:48.000Z
arm_components_name_manager/src/ArmJointStateSubscriber.cpp
JenniferBuehler/tools-pkgs
8faeac8a3ecae6a35faa39463cb571ba720d6c77
[ "BSD-3-Clause" ]
14
2016-04-19T07:34:03.000Z
2021-04-19T08:47:01.000Z
#ifdef DOXYGEN_SHOULD_SKIP_THIS /** Maintains up-to-date state of the arm. Copyright (C) 2015 Jennifer Buehler This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the ...
33.858407
132
0.630685
JenniferBuehler
af5f432ac95affa869b94829c2ec52da5ece5f5f
1,145
hpp
C++
willow/include/popart/popx/op/roundx.hpp
gglin001/popart
3225214343f6d98550b6620e809a3544e8bcbfc6
[ "MIT" ]
61
2020-07-06T17:11:46.000Z
2022-03-12T14:42:51.000Z
willow/include/popart/popx/op/roundx.hpp
gglin001/popart
3225214343f6d98550b6620e809a3544e8bcbfc6
[ "MIT" ]
1
2021-02-25T01:30:29.000Z
2021-11-09T11:13:14.000Z
willow/include/popart/popx/op/roundx.hpp
gglin001/popart
3225214343f6d98550b6620e809a3544e8bcbfc6
[ "MIT" ]
6
2020-07-15T12:33:13.000Z
2021-11-07T06:55:00.000Z
// Copyright (c) 2018 Graphcore Ltd. All rights reserved. #ifndef GUARD_NEURALNET_ROUNDX_HPP #define GUARD_NEURALNET_ROUNDX_HPP #include <popart/names.hpp> #include <popart/popx/op/elementwisex.hpp> namespace popart { namespace popx { class RoundComputex : public EwuComputex { public: RoundComputex() {} snap:...
23.854167
61
0.634061
gglin001
af614c3913e80c9e76c3c381039cec26b54e4df9
905
cpp
C++
atcoder/arc106/C/main.cpp
xirc/cp-algorithm
89c67cff2f00459c5bb020ab44bff5ae419a1728
[ "Apache-2.0" ]
8
2020-12-23T07:54:53.000Z
2021-11-23T02:46:35.000Z
atcoder/arc106/C/main.cpp
xirc/cp-algorithm
89c67cff2f00459c5bb020ab44bff5ae419a1728
[ "Apache-2.0" ]
1
2020-11-07T13:22:29.000Z
2020-12-20T12:54:00.000Z
atcoder/arc106/C/main.cpp
xirc/cp-algorithm
89c67cff2f00459c5bb020ab44bff5ae419a1728
[ "Apache-2.0" ]
1
2021-01-16T03:40:10.000Z
2021-01-16T03:40:10.000Z
#include <bits/stdc++.h> using namespace std; vector<vector<int>> solve(int N, int M) { if (M < 0) return {}; vector<vector<int>> ans; if (M == 0) { int L = 1; for (int i = 0; i < N; ++i) { ans.push_back({ L++, L++ }); } return ans; } int L = 1; wh...
19.673913
58
0.403315
xirc
af630713fdc7d28f5c471fc958c7f449a1ef4271
283
cpp
C++
c-develop/16.intro function/callFunc.cpp
GustiArsyad123/C-Language-Test
90a2eb45d1db2b039acbe5d3499aaff0aed99f82
[ "MIT" ]
null
null
null
c-develop/16.intro function/callFunc.cpp
GustiArsyad123/C-Language-Test
90a2eb45d1db2b039acbe5d3499aaff0aed99f82
[ "MIT" ]
null
null
null
c-develop/16.intro function/callFunc.cpp
GustiArsyad123/C-Language-Test
90a2eb45d1db2b039acbe5d3499aaff0aed99f82
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; void thisFungsi() { cout << "This is function!\n"; } int main() { thisFungsi(); thisFungsi(); thisFungsi(); return 0; } // In below is output from iniFungsi // This is function! // This is function! // This is function!
14.894737
37
0.632509
GustiArsyad123
af67c8c607fe69da36673d964019e46b881fd465
23,060
cc
C++
chrome/browser/gtk/options/content_page_gtk.cc
rwatson/chromium-capsicum
b03da8e897f897c6ad2cda03ceda217b760fd528
[ "BSD-3-Clause" ]
11
2015-03-20T04:08:08.000Z
2021-11-15T15:51:36.000Z
chrome/browser/gtk/options/content_page_gtk.cc
rwatson/chromium-capsicum
b03da8e897f897c6ad2cda03ceda217b760fd528
[ "BSD-3-Clause" ]
null
null
null
chrome/browser/gtk/options/content_page_gtk.cc
rwatson/chromium-capsicum
b03da8e897f897c6ad2cda03ceda217b760fd528
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2009 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/gtk/options/content_page_gtk.h" #include "app/gfx/gtk_util.h" #include "app/l10n_util.h" #include "app/resource_bundle.h" #i...
40.527241
80
0.707502
rwatson
af713365142726494a022dcfaf9252e109951ea2
1,276
cpp
C++
src/get_parent_id.cpp
biv-tomsksoft/cis1-core-native
6cc2fafcd382be3e21eaeeda08cc660edf000975
[ "MIT" ]
1
2019-09-02T09:13:13.000Z
2019-09-02T09:13:13.000Z
src/get_parent_id.cpp
biv-tomsksoft/cis1-core-native
6cc2fafcd382be3e21eaeeda08cc660edf000975
[ "MIT" ]
1
2020-02-13T07:39:51.000Z
2020-04-16T06:44:22.000Z
src/get_parent_id.cpp
biv-tomsksoft/cis1-core-native
6cc2fafcd382be3e21eaeeda08cc660edf000975
[ "MIT" ]
null
null
null
/* * TomskSoft CIS1 Core * * (c) 2019 TomskSoft LLC * (c) Mokin Innokentiy [mia@tomsksoft.com] * */ #include "get_parent_id.h" #ifdef _WIN32 #include <windows.h> #include <tlhelp32.h> #include <stdio.h> size_t get_parent_id() { HANDLE snapshot_handle; PROCESSENTRY32 pe32; DWORD pid ...
17.971831
70
0.564263
biv-tomsksoft
af726e573edabb633e337ea4af37f1f736296933
35,298
cpp
C++
CreatePackage/NCreatePackage.cpp
CCC-NULS/NulstarManager
89f22a42121db26e10bd2b2418940f86224e9ff3
[ "MIT" ]
1
2019-09-12T07:52:13.000Z
2019-09-12T07:52:13.000Z
CreatePackage/NCreatePackage.cpp
CCC-NULS/NulstarManager
89f22a42121db26e10bd2b2418940f86224e9ff3
[ "MIT" ]
null
null
null
CreatePackage/NCreatePackage.cpp
CCC-NULS/NulstarManager
89f22a42121db26e10bd2b2418940f86224e9ff3
[ "MIT" ]
null
null
null
#include <QApplication> #include <QCryptographicHash> #include <QDesktopWidget> #include <QDate> #include <QDialog> #include <QFileDialog> #include <QFont> #include <QIcon> #include <QHBoxLayout> #include <QLabel> #include <QList> #include <QMap> #include <QMessageBox> #include <QModelIndexList> #include ...
44.851334
279
0.692022
CCC-NULS
af7935a3a27b05a6be3782c87b2c6caa98a4c70d
938
cpp
C++
tests/ProcessTests.cpp
AEnguerrand/cpp_zia
165dc970a1f120ff35a358c8f7313ed0297a87da
[ "MIT" ]
2
2018-02-14T16:04:23.000Z
2019-08-17T08:44:59.000Z
tests/ProcessTests.cpp
AEnguerrand/cpp_zia
165dc970a1f120ff35a358c8f7313ed0297a87da
[ "MIT" ]
69
2018-02-01T17:09:05.000Z
2018-11-01T11:42:49.000Z
tests/ProcessTests.cpp
AEnguerrand/cpp_zia
165dc970a1f120ff35a358c8f7313ed0297a87da
[ "MIT" ]
4
2018-02-27T13:24:55.000Z
2021-05-21T09:56:17.000Z
#include "gtest/gtest.h" #include "../src/HttpParser/HttpParser.hh" #include "../src/ModuleLoader/ModuleLoader.hh" #include "../src/Process/Process.hh" TEST(Process, StartProcess) { std::vector<std::string> names = {"cpp_zia_module_router", "cpp_zia_module_php"}; std::vector<std::string> paths = {"./Modules"}...
40.782609
267
0.686567
AEnguerrand
af797a43c50f467add919f1c2328506e4cfac732
570
cpp
C++
Sources/baba-is-auto/Agents/RandomAgent.cpp
siva-msft/baba-is-auto
3237b5b70167130558827979bde7dcee14ef39f3
[ "MIT" ]
108
2019-09-11T06:31:35.000Z
2022-03-28T13:02:56.000Z
Sources/baba-is-auto/Agents/RandomAgent.cpp
siva-msft/baba-is-auto
3237b5b70167130558827979bde7dcee14ef39f3
[ "MIT" ]
29
2019-09-12T00:28:04.000Z
2022-02-20T14:56:27.000Z
Sources/baba-is-auto/Agents/RandomAgent.cpp
utilForever/BabaIsAuto
fb444668914eb70c0a35197399d650d293b4b95f
[ "MIT" ]
14
2020-02-24T05:41:43.000Z
2022-03-28T12:43:34.000Z
// Copyright (c) 2020 Chris Ohk // I am making my contributions/submissions to this project solely in our // personal capacity and am not conveying any rights to any intellectual // property of any third parties. #include <baba-is-auto/Agents/RandomAgent.hpp> #include <effolkronium/random.hpp> namespace baba_is_aut...
28.5
73
0.749123
siva-msft
af7b3de0706c489d915c94c0969b37ef1b328d98
49,081
hpp
C++
VSUtility/VSOctaveH5Writer.hpp
sfegan/ChiLA
916bdd95348c2df2ecc736511d5f5b2bfb4a831e
[ "BSD-3-Clause" ]
1
2018-04-17T14:03:36.000Z
2018-04-17T14:03:36.000Z
VSUtility/VSOctaveH5Writer.hpp
sfegan/ChiLA
916bdd95348c2df2ecc736511d5f5b2bfb4a831e
[ "BSD-3-Clause" ]
null
null
null
VSUtility/VSOctaveH5Writer.hpp
sfegan/ChiLA
916bdd95348c2df2ecc736511d5f5b2bfb4a831e
[ "BSD-3-Clause" ]
null
null
null
//-*-mode:c++; mode:font-lock;-*- /*! \file VSOctaveH5Writer.hpp Classes to write to structured GNU/Octave HDF5 file. Data can be read directly into octave. \author Stephen Fegan \n UCLA \n sfegan@astro.ucla.edu \n \version 1.0 ...
30.675625
79
0.642204
sfegan
af7c794c3b4c5b35f209616e9398a62ed21b22e3
3,214
cpp
C++
Phase 1 Placement Specific/08. Arrays/8.2 Searching Algorithm/Motarack's Birthday.cpp
Tanushree-coder/CPP-DSA
94158ed9b251789dff26862e70f46015a02b2a47
[ "Apache-2.0" ]
42
2021-01-03T17:54:59.000Z
2022-03-26T15:57:01.000Z
Phase 1 Placement Specific/08. Arrays/8.2 Searching Algorithm/Motarack's Birthday.cpp
Tanushree-coder/CPP-DSA
94158ed9b251789dff26862e70f46015a02b2a47
[ "Apache-2.0" ]
26
2021-04-05T07:54:21.000Z
2021-12-10T07:35:39.000Z
Phase 1 Placement Specific/08. Arrays/8.2 Searching Algorithm/Motarack's Birthday.cpp
Tanushree-coder/CPP-DSA
94158ed9b251789dff26862e70f46015a02b2a47
[ "Apache-2.0" ]
56
2020-12-24T17:06:33.000Z
2022-02-06T18:21:33.000Z
/* Dark is going to attend Motarack's birthday. Dark decided that the gift he is going to give to Motarack is an array a of n non-negative integers. Dark created that array 1000 years ago, so some elements in that array disappeared. Dark knows that Motarack hates to see an array that has two adjacent elements with a h...
30.609524
335
0.679527
Tanushree-coder
af7dd489968727b1cbb22051808480f056fd3ba2
3,636
cpp
C++
Love-Babbar-450-In-CPPTest/08_greedy/03_huffman_coding.cpp
harshanu11/Love-Babbar-450-In-CSharp
0dc3bef3e66e30abbc04f7bbf21c7319b41803e1
[ "MIT" ]
null
null
null
Love-Babbar-450-In-CPPTest/08_greedy/03_huffman_coding.cpp
harshanu11/Love-Babbar-450-In-CSharp
0dc3bef3e66e30abbc04f7bbf21c7319b41803e1
[ "MIT" ]
null
null
null
Love-Babbar-450-In-CPPTest/08_greedy/03_huffman_coding.cpp
harshanu11/Love-Babbar-450-In-CSharp
0dc3bef3e66e30abbc04f7bbf21c7319b41803e1
[ "MIT" ]
null
null
null
/* link: https://practice.geeksforgeeks.org/problems/huffman-encoding3345/1 video (just to understand): https://youtu.be/co4_ahEDCho */ // ----------------------------------------------------------------------------------------------------------------------- // /* Time complexity: O(nlogn) where n is the number o...
22.867925
227
0.642464
harshanu11
5030e363458db75da5913da2d97a97546a6228e3
6,204
cc
C++
proxy/http2/Http2ConnectionState.cc
sc0ttbeardsley/trafficserver
5b77907f5d9b8ac82b983dab2f5417bb7579eef9
[ "Apache-2.0" ]
null
null
null
proxy/http2/Http2ConnectionState.cc
sc0ttbeardsley/trafficserver
5b77907f5d9b8ac82b983dab2f5417bb7579eef9
[ "Apache-2.0" ]
null
null
null
proxy/http2/Http2ConnectionState.cc
sc0ttbeardsley/trafficserver
5b77907f5d9b8ac82b983dab2f5417bb7579eef9
[ "Apache-2.0" ]
null
null
null
/** @file Http2ConnectionState. @section license License Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under ...
34.466667
110
0.72695
sc0ttbeardsley
50321a4af84dfff1302d0230ce1abb8538b1cf0d
1,665
cpp
C++
imbed/arpeggiate/arpeggiate.cpp
jwmatthys/RTcmix
c9ba0c5bee2cd5e091c81333cf819d267008635b
[ "Apache-2.0" ]
40
2015-01-14T20:52:42.000Z
2022-03-09T00:50:45.000Z
imbed/arpeggiate/arpeggiate.cpp
jwmatthys/RTcmix
c9ba0c5bee2cd5e091c81333cf819d267008635b
[ "Apache-2.0" ]
20
2015-01-26T19:02:59.000Z
2022-01-30T18:00:39.000Z
imbed/arpeggiate/arpeggiate.cpp
jwmatthys/RTcmix
c9ba0c5bee2cd5e091c81333cf819d267008635b
[ "Apache-2.0" ]
14
2015-01-14T20:52:43.000Z
2021-09-24T02:24:32.000Z
/* arpeggiate -- schedule a bunch of happy STRUM notes, using the RTtimeit() function demonstration of the RTcmix object -- BGG, 11/2002 */ #define MAIN #include <stdlib.h> #include <unistd.h> #include <math.h> #include <globals.h> #include "RTcmix.h" // declare this here so it will be global for the gonotes(...
22.5
68
0.607207
jwmatthys
5034a3a3871614fdfe8b64fbc70a457f939a06ca
2,823
cpp
C++
juicer-1.1.0/src/md5class.cpp
DerDudemeister046/Juicer_Reborn
3a84c3fd1c1ebd0b7f497c1d6277363d5f061f45
[ "BSD-2-Clause" ]
null
null
null
juicer-1.1.0/src/md5class.cpp
DerDudemeister046/Juicer_Reborn
3a84c3fd1c1ebd0b7f497c1d6277363d5f061f45
[ "BSD-2-Clause" ]
null
null
null
juicer-1.1.0/src/md5class.cpp
DerDudemeister046/Juicer_Reborn
3a84c3fd1c1ebd0b7f497c1d6277363d5f061f45
[ "BSD-2-Clause" ]
null
null
null
// md5class.cpp: implementation of the CMD5 class. //See internet RFC 1321, "The MD5 Message-Digest Algorithm" // //Use this code as you see fit. It is provided "as is" //without express or implied warranty of any kind. ////////////////////////////////////////////////////////////////////// #include "md5class.h" #incl...
28.806122
125
0.623096
DerDudemeister046
503a9e84c26c2c204fb56de08729d28e57e279d1
8,108
cpp
C++
TUIO SETUP/npTuioClient-old/src/plugin.cpp
alfanhui/graph_visualiser_honours_project
0496c22af39cda12ce791f15766795bac24386c9
[ "MIT" ]
null
null
null
TUIO SETUP/npTuioClient-old/src/plugin.cpp
alfanhui/graph_visualiser_honours_project
0496c22af39cda12ce791f15766795bac24386c9
[ "MIT" ]
29
2018-03-23T12:58:24.000Z
2018-04-20T16:05:25.000Z
TUIO SETUP/npTuioClient-old/src/plugin.cpp
alfanhui/graph_visualiser_honours_project
0496c22af39cda12ce791f15766795bac24386c9
[ "MIT" ]
null
null
null
// // Copyright (C) 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc. // // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation; either version 3 of the License, or // (at your option) ...
23.034091
78
0.665392
alfanhui
503bcca3c64cb177d39aa8cb3fb89a906f897efe
5,320
cc
C++
third_party/blink/renderer/core/css/properties/shorthands/font_variant_custom.cc
zipated/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
2,151
2020-04-18T07:31:17.000Z
2022-03-31T08:39:18.000Z
third_party/blink/renderer/core/css/properties/shorthands/font_variant_custom.cc
cangulcan/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
395
2020-04-18T08:22:18.000Z
2021-12-08T13:04:49.000Z
third_party/blink/renderer/core/css/properties/shorthands/font_variant_custom.cc
cangulcan/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
338
2020-04-18T08:03:10.000Z
2022-03-29T12:33:22.000Z
// Copyright 2017 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "third_party/blink/renderer/core/css/properties/shorthands/font_variant.h" #include "third_party/blink/renderer/core/css/css_identifier_value.h"...
43.606557
86
0.765226
zipated
50403f4d4cb7fa7c59de26ed10d95c1b8062c70f
10,055
cpp
C++
Source/src/ezcard/io/scribe/address_scribe.cpp
ProtonMail/cpp-openpgp
b47316c51357b8d15eb3bcc376ea5e59a6a9a108
[ "MIT" ]
5
2019-10-30T06:10:10.000Z
2020-04-25T16:52:06.000Z
Source/src/ezcard/io/scribe/address_scribe.cpp
ProtonMail/cpp-openpgp
b47316c51357b8d15eb3bcc376ea5e59a6a9a108
[ "MIT" ]
null
null
null
Source/src/ezcard/io/scribe/address_scribe.cpp
ProtonMail/cpp-openpgp
b47316c51357b8d15eb3bcc376ea5e59a6a9a108
[ "MIT" ]
2
2019-11-27T23:47:54.000Z
2020-01-13T16:36:03.000Z
// // address_scribe.cpp // OpenPGP // // Created by Yanfeng Zhang on 1/11/17. // // The MIT License // // Copyright (c) 2019 Proton Technologies AG // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to dea...
42.605932
128
0.6
ProtonMail
5041dc368c1a141cdc2cb0b612bfdbdbb380829f
1,620
hpp
C++
lib/inc/tetra/behavior/BehaviorList.hpp
projectTetra/tetra-creative
011c0ba1b288b9e2534cf9446949f55078ea265b
[ "MIT" ]
null
null
null
lib/inc/tetra/behavior/BehaviorList.hpp
projectTetra/tetra-creative
011c0ba1b288b9e2534cf9446949f55078ea265b
[ "MIT" ]
null
null
null
lib/inc/tetra/behavior/BehaviorList.hpp
projectTetra/tetra-creative
011c0ba1b288b9e2534cf9446949f55078ea265b
[ "MIT" ]
null
null
null
#pragma once #ifndef BEHAVIOR_LIST_HPP #define BEHAVIOR_LIST_HPP #include <memory> #include <list> namespace tetra { class Behavior; using OwnedBehavior = std::unique_ptr<Behavior>; /** * The BehaviorList is a collection of behaviors which are executed each time * run() is invoked. */ class BehaviorList { public...
25.714286
86
0.682099
projectTetra
5043a9dc2cf7d9afd50e4a8a0c6ae566a98411fa
407
cpp
C++
04. Arrays/13 Maximum Difference/13b Maximum Difference.cpp
VivekYadav105/Data-Structures-and-Algorithms
7287912da8068c9124e0bb89c93c4d52aa48c51f
[ "MIT" ]
190
2021-02-10T17:01:01.000Z
2022-03-20T00:21:43.000Z
04. Arrays/13 Maximum Difference/13b Maximum Difference.cpp
VivekYadav105/Data-Structures-and-Algorithms
7287912da8068c9124e0bb89c93c4d52aa48c51f
[ "MIT" ]
null
null
null
04. Arrays/13 Maximum Difference/13b Maximum Difference.cpp
VivekYadav105/Data-Structures-and-Algorithms
7287912da8068c9124e0bb89c93c4d52aa48c51f
[ "MIT" ]
27
2021-03-26T11:35:15.000Z
2022-03-06T07:34:54.000Z
#include<bits/stdc++.h> using namespace std; int maxDiff(int *a,int n)//time comp. O(n) { int res=a[1]-a[0]; int minVal=a[0]; for(int i=1;i<n;i++) { res=max(res,a[i]-minVal); minVal=min(minVal,a[i]); } return res; } int main() { int n; cin>>n; int a[n]; for(i...
13.129032
42
0.471744
VivekYadav105
5043d3af0fa91a124205ecbd063eb3a01ecd4f5c
8,995
cpp
C++
visual/opengl/OffscreenIntf.cpp
3c1u/krkrz
3655de95a45cc72e22f04ac9fa10cfbff320f53f
[ "BSD-3-Clause" ]
null
null
null
visual/opengl/OffscreenIntf.cpp
3c1u/krkrz
3655de95a45cc72e22f04ac9fa10cfbff320f53f
[ "BSD-3-Clause" ]
null
null
null
visual/opengl/OffscreenIntf.cpp
3c1u/krkrz
3655de95a45cc72e22f04ac9fa10cfbff320f53f
[ "BSD-3-Clause" ]
null
null
null
#include "tjsCommHead.h" #include "OffscreenIntf.h" #include "MsgIntf.h" // TVPThrowExceptionMessage #include "BitmapIntf.h" #include "LayerBitmapIntf.h" #include "tvpgl.h" #include "DebugIntf.h" #include "RectItf.h" #include "TextureIntf.h" #include <memory> extern bool TVPCopyBitmapToTexture( const iTVPTextureInfo...
34.72973
164
0.572985
3c1u
504853a094b84ec84c4214bbce7686777d0957a8
678
cpp
C++
source/cli/Main.cpp
sienkiewiczkm/shabui
1304d55d7bcefb8b199e4d4a89b0839d6ff02872
[ "MIT" ]
null
null
null
source/cli/Main.cpp
sienkiewiczkm/shabui
1304d55d7bcefb8b199e4d4a89b0839d6ff02872
[ "MIT" ]
3
2017-02-28T10:22:23.000Z
2017-02-28T15:10:50.000Z
source/cli/Main.cpp
sienkiewiczkm/shabui
1304d55d7bcefb8b199e4d4a89b0839d6ff02872
[ "MIT" ]
null
null
null
#include <cstdio> #include <cstdlib> #include <iostream> #include <string> #include <sstream> #include "shabui/GLSLLoader.hpp" int main(int argc, char **argv) { if (argc == 1) { std::cout << "usage: " << argv[0] << " shaderfile"; return EXIT_FAILURE; } sb::GLSLLoaderFileDependencyResol...
24.214286
59
0.632743
sienkiewiczkm
5048f90992ca4d1685ee9c1b0a6c92edb4a98f06
738
cpp
C++
02_ldprofile_pybind11/src/ldprofile/base_profile.cpp
martinschwinzerl/pyhep2020-cxx-bindings
27562b6500210dbb9066e86bba5dd3abe4a47328
[ "MIT" ]
1
2020-07-17T14:00:52.000Z
2020-07-17T14:00:52.000Z
03_ldprofile_cppyy/src/ldprofile/base_profile.cpp
martinschwinzerl/pyhep2020-cxx-bindings
27562b6500210dbb9066e86bba5dd3abe4a47328
[ "MIT" ]
null
null
null
03_ldprofile_cppyy/src/ldprofile/base_profile.cpp
martinschwinzerl/pyhep2020-cxx-bindings
27562b6500210dbb9066e86bba5dd3abe4a47328
[ "MIT" ]
null
null
null
#include "ldprofile/base_profile.h" void LDProfile_delete( ::LDProfile* profile ) LDPROFILE_NOEXCEPT { delete profile; } ::ld_method_type LDProfile_method( const ::LDProfile *const profile ) LDPROFILE_NOEXCEPT { return ( profile != nullptr ) ? profile->method() : ldprofile::LDPROFILE_ILLEGAL_METHO...
26.357143
77
0.700542
martinschwinzerl
50548af311095bbf2bc68baf9d1587005d8c3a42
5,777
cpp
C++
lib/Transforms/Passes/BlockSeparatorPass.cpp
compor/Atrox
d6e893f0c91764c58e198ccf316096b0ec9f7d90
[ "MIT" ]
null
null
null
lib/Transforms/Passes/BlockSeparatorPass.cpp
compor/Atrox
d6e893f0c91764c58e198ccf316096b0ec9f7d90
[ "MIT" ]
null
null
null
lib/Transforms/Passes/BlockSeparatorPass.cpp
compor/Atrox
d6e893f0c91764c58e198ccf316096b0ec9f7d90
[ "MIT" ]
null
null
null
// // // #include "Atrox/Config.hpp" #include "Atrox/Util.hpp" #include "Atrox/Debug.hpp" #include "Atrox/Transforms/Passes/BlockSeparatorPass.hpp" #include "Atrox/Transforms/BlockSeparator.hpp" #include "private/PDGUtils.hpp" #include "private/ITRUtils.hpp" #include "private/PassCommandLineOptions.hpp" #inclu...
26.869767
80
0.712134
compor
50579e9ad0faa463500c7f6d04f72809095805a5
7,018
hxx
C++
Modules/Components/Elastix/include/selxMonolithicElastixComponent.hxx
FBerendsen/SuperElastix-1
69d97589e34f6f2109621e917792ce18e32442fe
[ "Apache-2.0" ]
null
null
null
Modules/Components/Elastix/include/selxMonolithicElastixComponent.hxx
FBerendsen/SuperElastix-1
69d97589e34f6f2109621e917792ce18e32442fe
[ "Apache-2.0" ]
null
null
null
Modules/Components/Elastix/include/selxMonolithicElastixComponent.hxx
FBerendsen/SuperElastix-1
69d97589e34f6f2109621e917792ce18e32442fe
[ "Apache-2.0" ]
null
null
null
/*========================================================================= * * Copyright Leiden University Medical Center, Erasmus University Medical * Center and contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License...
36.743455
197
0.742092
FBerendsen
505a7f9a2dd996b1ac6433a71721c13db8ad5849
10,796
cpp
C++
applications/physbam/physbam-lib/Public_Library/PhysBAM_Dynamics/Parallel_Computation/SOLID_SYSTEM_MPI.cpp
schinmayee/nimbus
170cd15e24a7a88243a6ea80aabadc0fc0e6e177
[ "BSD-3-Clause" ]
20
2017-07-03T19:09:09.000Z
2021-09-10T02:53:56.000Z
applications/physbam/physbam-lib/Public_Library/PhysBAM_Dynamics/Parallel_Computation/SOLID_SYSTEM_MPI.cpp
schinmayee/nimbus
170cd15e24a7a88243a6ea80aabadc0fc0e6e177
[ "BSD-3-Clause" ]
null
null
null
applications/physbam/physbam-lib/Public_Library/PhysBAM_Dynamics/Parallel_Computation/SOLID_SYSTEM_MPI.cpp
schinmayee/nimbus
170cd15e24a7a88243a6ea80aabadc0fc0e6e177
[ "BSD-3-Clause" ]
9
2017-09-17T02:05:06.000Z
2020-01-31T00:12:01.000Z
//##################################################################### // Copyright 2008, Avi Robinson-Mosher, Jonathan Su. // This file is part of PhysBAM whose distribution is governed by the license contained in the accompanying file PHYSBAM_COPYRIGHT.txt. //#########################################################...
67.475
196
0.713876
schinmayee
505a9dc243e0ba9b2d725c97dc031074d5c6c366
2,131
cpp
C++
sources/thelib/src/streaming/xmlelements.cpp
rdkcmf/rdkc-rms
65ab1efcee9e3de46a888c125f591cd48b815601
[ "Apache-2.0" ]
3
2020-07-30T19:41:00.000Z
2020-10-28T12:52:37.000Z
sources/thelib/src/streaming/xmlelements.cpp
rdkcmf/rdkc-rms
65ab1efcee9e3de46a888c125f591cd48b815601
[ "Apache-2.0" ]
null
null
null
sources/thelib/src/streaming/xmlelements.cpp
rdkcmf/rdkc-rms
65ab1efcee9e3de46a888c125f591cd48b815601
[ "Apache-2.0" ]
2
2020-05-11T03:19:00.000Z
2021-07-07T17:40:47.000Z
/** ########################################################################## # If not stated otherwise in this file or this component's LICENSE # file the following copyright and licenses apply: # # Copyright 2019 RDK Management # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use thi...
29.191781
74
0.61755
rdkcmf
5070721eb6409dfa69ec0c51f81932cef0b1fab8
4,415
cpp
C++
src/init.cpp
andreili/STM32F4
9054d699ec1f65e7de8aa5dd7d3ee0522dad18dc
[ "MIT" ]
6
2019-04-16T11:38:45.000Z
2020-12-12T16:55:03.000Z
src/init.cpp
andreili/STM32F4
9054d699ec1f65e7de8aa5dd7d3ee0522dad18dc
[ "MIT" ]
1
2020-12-15T10:45:53.000Z
2021-02-22T11:59:19.000Z
src/init.cpp
andreili/STM32F4
9054d699ec1f65e7de8aa5dd7d3ee0522dad18dc
[ "MIT" ]
2
2019-05-23T03:08:25.000Z
2020-10-10T12:43:06.000Z
#include "stm32_inc.h" #include "init.h" #ifdef STM32_FATFS_USE #include "sddriver.h" #endif int main(); /* #define VECT_TAB_SRAM */ #define VECT_TAB_OFFSET 0x00 /*!< Vector Table base offset field. This value must be a multiple of 0x200. */ extern volatile uint32_t _FLASH_START; ...
26.920732
137
0.66795
andreili
507122dc3d2252d61a97ba041be9dcaeedf0730e
600
cpp
C++
src/pe_structures/clr/Signature.cpp
secnary/pepper
802ad055c15a6fba350f9aac08fb3f9e9770c78f
[ "Unlicense" ]
null
null
null
src/pe_structures/clr/Signature.cpp
secnary/pepper
802ad055c15a6fba350f9aac08fb3f9e9770c78f
[ "Unlicense" ]
null
null
null
src/pe_structures/clr/Signature.cpp
secnary/pepper
802ad055c15a6fba350f9aac08fb3f9e9770c78f
[ "Unlicense" ]
null
null
null
#include <pe_structures/DataDirectoryEntry.h> #include <pe_structures/clr/Signature.h> using namespace Pepper; ClrSignature::ClrSignature(const PeFile& pe, const FileBytes& fbytes, const DataDirectoryEntry& dde) : IDirectory(pe, fbytes, dde) , m_length(dde.size()) {} const char* ClrSignature::getFieldName(const int ...
23.076923
100
0.7
secnary
5072c34b3cf77328e1d006a8bb0e4eac2caee41d
7,075
cpp
C++
src/pcl/src/testing.cpp
Malikmal/Learning-Pointcloud
956ccc79e006f41ceac3af4f3ad7c41051125f19
[ "MIT" ]
3
2020-09-12T03:00:46.000Z
2021-08-11T11:12:57.000Z
src/pcl/src/testing.cpp
Malikmal/Learning-Pointcloud
956ccc79e006f41ceac3af4f3ad7c41051125f19
[ "MIT" ]
2
2020-09-11T17:04:40.000Z
2020-09-12T05:51:22.000Z
src/pcl/src/testing.cpp
Malikmal/Learning-Pointcloud
956ccc79e006f41ceac3af4f3ad7c41051125f19
[ "MIT" ]
2
2021-01-31T22:16:27.000Z
2021-08-11T11:13:00.000Z
#include <pcl/point_types.h> #include <pcl/point_cloud.h> #include <pcl/common/common.h> #include <pcl/common/transforms.h> #include <pcl/visualization/pcl_visualizer.h> #include <pcl/console/parse.h> #include <pcl/console/print.h> #include <pcl/io/pcd_io.h> #include <iostream> #include <flann/flann.h> #include <flann/...
33.530806
115
0.618375
Malikmal
50731772a4dcae6a7bb451488250081156fc27e9
31,440
cpp
C++
vision-normal-fusion/libs/D3D/src/d3d_stereo/cudaPlaneSweep.cpp
kunal71091/Depth_Normal_Fusion
407e204abfbd6c8efe2f98a07415bd623ad84422
[ "MIT" ]
1
2019-10-23T06:32:40.000Z
2019-10-23T06:32:40.000Z
vision-normal-fusion/libs/D3D/src/d3d_stereo/cudaPlaneSweep.cpp
kunal71091/Depth_Normal_Fusion
407e204abfbd6c8efe2f98a07415bd623ad84422
[ "MIT" ]
null
null
null
vision-normal-fusion/libs/D3D/src/d3d_stereo/cudaPlaneSweep.cpp
kunal71091/Depth_Normal_Fusion
407e204abfbd6c8efe2f98a07415bd623ad84422
[ "MIT" ]
1
2021-09-23T03:35:30.000Z
2021-09-23T03:35:30.000Z
#include "cudaPlaneSweep.h" #include <iostream> #include <vector> #include <string> #include <sstream> #include <opencv2/imgproc/imgproc.hpp> #include <opencv2/highgui/highgui.hpp> #include <d3d_base/exception.h> #include <d3d_cudaBase/cudaCommon.h> #include <d3d_cudaBase/deviceImage.h> using std::cerr; using s...
31.629779
201
0.611101
kunal71091
50733456d054c748b2ad3d318361539a2a3c5e39
1,098
cc
C++
plus-one.cc
sonald/leetcode
3c34e2779a736acc880876f4244f1becd7b199ed
[ "MIT" ]
null
null
null
plus-one.cc
sonald/leetcode
3c34e2779a736acc880876f4244f1becd7b199ed
[ "MIT" ]
null
null
null
plus-one.cc
sonald/leetcode
3c34e2779a736acc880876f4244f1becd7b199ed
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <cmath> #include <random> #include <map> #include <algorithm> using namespace std; class Solution { public: vector<int> plusOne(vector<int>& digits) { reverse(digits.begin(), digits.end()); auto sz = digits.size(); vector<...
19.607143
60
0.445355
sonald
5073f03840c6e6f2830a3d618d87a21fa85a1282
2,501
cpp
C++
viewify/src/main/Model/ButtonModel.cpp
ii887522/viewify
2bd8ef48a63abeaeca73f7f532992ffb6122c76e
[ "MIT" ]
1
2021-07-13T00:56:09.000Z
2021-07-13T00:56:09.000Z
viewify/src/main/Model/ButtonModel.cpp
ii887522/viewify
2bd8ef48a63abeaeca73f7f532992ffb6122c76e
[ "MIT" ]
null
null
null
viewify/src/main/Model/ButtonModel.cpp
ii887522/viewify
2bd8ef48a63abeaeca73f7f532992ffb6122c76e
[ "MIT" ]
null
null
null
// Copyright ii887522 #include "ButtonModel.h" #include <nitro/nitro.h> #include <functional> #include <stdexcept> #include "../Struct/Rect.h" #include "../Any/constants.h" using std::function; using std::runtime_error; using ii887522::nitro::AnimationController; namespace ii887522::viewify { ButtonModel::Builder::...
41.683333
176
0.753299
ii887522
50834fe3af291dc4428f09f1282e515a1cbec97e
9,643
cpp
C++
src/StackAllocator.cpp
richsposato/Memwa
36e6a729b47656db2fc4bb3b9dad9c8d4dd94b2d
[ "MIT" ]
1
2018-12-13T14:07:05.000Z
2018-12-13T14:07:05.000Z
src/StackAllocator.cpp
richsposato/Memwa
36e6a729b47656db2fc4bb3b9dad9c8d4dd94b2d
[ "MIT" ]
null
null
null
src/StackAllocator.cpp
richsposato/Memwa
36e6a729b47656db2fc4bb3b9dad9c8d4dd94b2d
[ "MIT" ]
null
null
null
#include "StackAllocator.hpp" #include "LockGuard.hpp" #include "StackBlock.hpp" #include "BlockInfo.hpp" #include "ManagerImpl.hpp" #include <new> #include <algorithm> #include <stdexcept> #include <sstream> #include <iostream> #include <cstdlib> #include <cassert> namespace memwa { // ----...
28.195906
129
0.528259
richsposato
50858d05981972b79f5ba2ac13dff3e037a40628
1,447
cpp
C++
Userland/Libraries/LibDebug/Dwarf/DwarfInfo.cpp
nooga/serenity
dbe72fd9627f701210d69c9b01db762b2c950190
[ "BSD-2-Clause" ]
1
2021-10-05T14:07:23.000Z
2021-10-05T14:07:23.000Z
Userland/Libraries/LibDebug/Dwarf/DwarfInfo.cpp
nooga/serenity
dbe72fd9627f701210d69c9b01db762b2c950190
[ "BSD-2-Clause" ]
null
null
null
Userland/Libraries/LibDebug/Dwarf/DwarfInfo.cpp
nooga/serenity
dbe72fd9627f701210d69c9b01db762b2c950190
[ "BSD-2-Clause" ]
null
null
null
/* * Copyright (c) 2020, Itamar S. <itamar8910@gmail.com> * * SPDX-License-Identifier: BSD-2-Clause */ #include "DwarfInfo.h" #include <AK/MemoryStream.h> namespace Debug::Dwarf { DwarfInfo::DwarfInfo(const ELF::Image& elf) : m_elf(elf) { m_debug_info_data = section_data(".debug_info"); m_abbreviati...
27.826923
142
0.711126
nooga
5087ebfff25e60efe17c4cd15c7250142e204835
605
hpp
C++
include/GTGE/GUI/GUIEventCodes.hpp
mackron/GTGameEngine
380d1e01774fe6bc2940979e4e5983deef0bf082
[ "BSD-3-Clause" ]
31
2015-03-19T08:44:48.000Z
2021-12-15T20:52:31.000Z
include/GTGE/GUI/GUIEventCodes.hpp
mackron/GTGameEngine
380d1e01774fe6bc2940979e4e5983deef0bf082
[ "BSD-3-Clause" ]
19
2015-07-09T09:02:44.000Z
2016-06-09T03:51:03.000Z
include/GTGE/GUI/GUIEventCodes.hpp
mackron/GTGameEngine
380d1e01774fe6bc2940979e4e5983deef0bf082
[ "BSD-3-Clause" ]
3
2017-10-04T23:38:18.000Z
2022-03-07T08:27:13.000Z
// Copyright (C) 2011 - 2014 David Reid. See included LICENCE file. #ifndef GT_GUIGameEventCodes #define GT_GUIGameEventCodes namespace GT { enum GUIEventCode { GUIEventCode_Unknown = 0, GUIEventCode_Null = 0, GUIEventCode_OnSize, GUIEventCode_OnMove, GUIEventCode_O...
23.269231
67
0.695868
mackron
508cb54975ad33a85f3058aef14ee81768e2fb9b
864
cpp
C++
Engine/Graphics/Color.cpp
artur-kink/nhns
bc1ccef4e4a9cba9047051d73202ee2b1482066f
[ "Apache-2.0" ]
null
null
null
Engine/Graphics/Color.cpp
artur-kink/nhns
bc1ccef4e4a9cba9047051d73202ee2b1482066f
[ "Apache-2.0" ]
null
null
null
Engine/Graphics/Color.cpp
artur-kink/nhns
bc1ccef4e4a9cba9047051d73202ee2b1482066f
[ "Apache-2.0" ]
null
null
null
#include "Color.hpp" Color Color::Black = Color(0.0f, 0.0f, 0.0f, 1.0f); Color Color::Blue = Color(0.0f, 0.0f, 1.0f, 1.0f); Color Color::Green = Color(0.0f, 1.0f, 0.0f, 1.0f); Color Color::Red = Color(1.0f, 0.0f, 0.0f, 1.0f); Color Color::White = Color(1.0f, 1.0f, 1.0f, 1.0f); Color Color::Transparent = Color(1.0f, 1....
21.073171
57
0.590278
artur-kink
508d00969a74f56aa3d593575309147b53c19f9c
8,491
cpp
C++
src/lapel_line.cpp
cjhdev/lapel
9fd86ba900ff3f83154e8ebd1cb8634e58c3ca75
[ "MIT" ]
null
null
null
src/lapel_line.cpp
cjhdev/lapel
9fd86ba900ff3f83154e8ebd1cb8634e58c3ca75
[ "MIT" ]
null
null
null
src/lapel_line.cpp
cjhdev/lapel
9fd86ba900ff3f83154e8ebd1cb8634e58c3ca75
[ "MIT" ]
null
null
null
/* Copyright 2022 Cameron Harper * * */ #include "lapel_line.h" #include "lapel_tty.h" #include "lapel_control_codes.h" #include "lapel_debug.h" #include "lapel_decoder.h" #include "lapel_encoder.h" #include <string.h> using namespace Lapel; static const char Tag[] = "Line"; Line::Line(size_t max, TTY &tty) :...
15.841418
91
0.556354
cjhdev
508f6fb0887a622b70a540efa367f32ba68b99ee
1,253
hpp
C++
mochimochi/classifier/multi/mpa.hpp
georgeslabreche/MochiMochi
6ed0e8e078504a068a812735567d196f5d88e69f
[ "MIT" ]
30
2015-05-17T04:33:04.000Z
2016-07-02T11:18:58.000Z
mochimochi/classifier/multi/mpa.hpp
georgeslabreche/MochiMochi
6ed0e8e078504a068a812735567d196f5d88e69f
[ "MIT" ]
8
2015-05-24T10:14:03.000Z
2018-04-23T14:40:08.000Z
mochimochi/classifier/multi/mpa.hpp
georgeslabreche/MochiMochi
6ed0e8e078504a068a812735567d196f5d88e69f
[ "MIT" ]
1
2020-12-30T13:10:29.000Z
2020-12-30T13:10:29.000Z
#ifndef MOCHIMOCHI_MPA_HPP_ #define MOCHIMOCHI_MPA_HPP_ #include <algorithm> #include <unordered_map> #include <boost/range/irange.hpp> #include "../binary/pa.hpp" class MPA { private: const std::size_t kClass; private: std::unordered_map<std::size_t, PA> _pas; public: MPA(const std::size_t dim, const std::si...
27.23913
111
0.612929
georgeslabreche
50903ff5cf44dd13d77a13c8119d1770928bdbe4
5,859
cxx
C++
inetcore/winhttp/tools/w3spoof/om/headers/dispatch.cxx
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
inetcore/winhttp/tools/w3spoof/om/headers/dispatch.cxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
inetcore/winhttp/tools/w3spoof/om/headers/dispatch.cxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
/*++=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Copyright (c) 2000 Microsoft Corporation Module Name: dispatch.cxx Abstract: Implements the IDispatch interface for the Headers object. Author: Paul M Midgen (pmidge) 13-November-2000 Revision Hist...
19.928571
126
0.473972
npocmaka
5091216d51a496241faba50772bcf2bc63090bd8
1,710
cpp
C++
src/Set.cpp
leiradel/CheevosTool
a7d0145c7617caf63d42b134a831707f10c1d27b
[ "MIT" ]
null
null
null
src/Set.cpp
leiradel/CheevosTool
a7d0145c7617caf63d42b134a831707f10c1d27b
[ "MIT" ]
null
null
null
src/Set.cpp
leiradel/CheevosTool
a7d0145c7617caf63d42b134a831707f10c1d27b
[ "MIT" ]
null
null
null
#include "Set.h" #include <algorithm> Set::Set(std::vector<uint32_t>&& elements) : _elements(std::move(elements)) { std::sort(_elements.begin(), _elements.end(), [](uint32_t const& a, uint32_t const& b) -> bool { return a < b; }); } Set::Set(Set&& other) : _elements(std::move(other._elements)) {} bool Set::...
27.580645
98
0.608772
leiradel
5099cf0ca7a29075bb45006d9fe89eff33fa757f
1,133
cpp
C++
RPC/Server/GpApiTypeDetectorJson.cpp
ITBear/GpApi
fcf114acf28b37682919c9a634d8a2ae3860409b
[ "Apache-2.0" ]
null
null
null
RPC/Server/GpApiTypeDetectorJson.cpp
ITBear/GpApi
fcf114acf28b37682919c9a634d8a2ae3860409b
[ "Apache-2.0" ]
null
null
null
RPC/Server/GpApiTypeDetectorJson.cpp
ITBear/GpApi
fcf114acf28b37682919c9a634d8a2ae3860409b
[ "Apache-2.0" ]
null
null
null
#include "GpApiTypeDetectorJson.hpp" #include "../../../GpJson/GpJsonToStruct.hpp" namespace GPlatform::API::RPC { GpApiTypeDetectorJson::GpApiTypeDetectorJson ( const GpApiMethodsManager& aApiManager, const GpBytesArray& aData ) noexcept: iApiManager(aApiManager), iData(aData) { } Gp...
28.325
109
0.660194
ITBear
5099dfbc25b479e55d9beb9479a82e2f6a037ec1
9,433
cpp
C++
MerchantOfVenus/Token.cpp
chiendarrendor/AlbertsGameMachine
29855669056bf23666791960dc2e79eab47f6a0b
[ "MIT" ]
null
null
null
MerchantOfVenus/Token.cpp
chiendarrendor/AlbertsGameMachine
29855669056bf23666791960dc2e79eab47f6a0b
[ "MIT" ]
null
null
null
MerchantOfVenus/Token.cpp
chiendarrendor/AlbertsGameMachine
29855669056bf23666791960dc2e79eab47f6a0b
[ "MIT" ]
null
null
null
#include "Token.hpp" #include <boost/algorithm/string.hpp> #include "MerchantOfVenus.hpp" std::vector<std::string> Token::s_allbuyers; Token::Token() : m_name(""), m_sizeclass(GOOD_SIZE), m_buyprice(0), m_sellprice(0), m_selltype(NONE), m_selldestination(NOWHERE), m_isfactorygood(false), m_isunlimited...
26.798295
102
0.682816
chiendarrendor
509cc14c7d44ded4d84760fb474d27f71680359e
3,314
hpp
C++
include/codegen/include/GlobalNamespace/BloomPrePassBGLight.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
1
2021-11-12T09:29:31.000Z
2021-11-12T09:29:31.000Z
include/codegen/include/GlobalNamespace/BloomPrePassBGLight.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
null
null
null
include/codegen/include/GlobalNamespace/BloomPrePassBGLight.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
2
2021-10-03T02:14:20.000Z
2021-11-12T09:29:36.000Z
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once #pragma pack(push, 8) // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" // Including type: UnityEngine.MonoBehaviour #include "UnityEngine/MonoBeh...
40.414634
123
0.714243
Futuremappermydud
509d293d85bb97a6433e9b07e9656d4649d17fac
1,194
cpp
C++
HemeraCore/hemerafakehardwareidoperation.cpp
rbino/astarte-device-sdk-qt5
a3c3feea8f77e6e52fd7bac0c9cdaeebd7444291
[ "Apache-2.0" ]
4
2018-12-14T00:22:07.000Z
2021-09-29T08:13:26.000Z
HemeraCore/hemerafakehardwareidoperation.cpp
rbino/astarte-device-sdk-qt5
a3c3feea8f77e6e52fd7bac0c9cdaeebd7444291
[ "Apache-2.0" ]
7
2020-11-05T11:37:25.000Z
2022-03-01T16:39:40.000Z
HemeraCore/hemerafakehardwareidoperation.cpp
rbino/astarte-device-sdk-qt5
a3c3feea8f77e6e52fd7bac0c9cdaeebd7444291
[ "Apache-2.0" ]
9
2020-01-22T14:15:15.000Z
2022-02-23T10:52:59.000Z
/* * This file is part of Astarte. * * Copyright 2017 Ispirata Srl * * 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 requ...
23.88
75
0.759631
rbino
509fa3a09d73a48b5f393abf9fd2687ce909a8d5
4,516
cpp
C++
frameworks/input/plugins/rules/dmzInputPluginChannelRules.cpp
shillcock/dmz
02174b45089e12cd7f0840d5259a00403cd1ccff
[ "MIT" ]
2
2015-11-05T03:03:40.000Z
2016-02-03T21:50:40.000Z
frameworks/input/plugins/rules/dmzInputPluginChannelRules.cpp
dmzgroup/dmz
fc2d9ddcb04ed71f4106b8d33539529807b3dea6
[ "MIT" ]
null
null
null
frameworks/input/plugins/rules/dmzInputPluginChannelRules.cpp
dmzgroup/dmz
fc2d9ddcb04ed71f4106b8d33539529807b3dea6
[ "MIT" ]
null
null
null
#include <dmzInputEventMasks.h> #include <dmzInputModule.h> #include "dmzInputPluginChannelRules.h" #include <dmzRuntimeConfigToTypesBase.h> #include <dmzRuntimePluginFactoryLinkSymbol.h> #include <dmzRuntimePluginInfo.h> #include <dmzRuntimeConfig.h> #include <dmzTypesDeleteListTemplate.h> /*! \class dmz::InputPlugi...
22.808081
254
0.633747
shillcock
50a26275442c38aff5d3dc4e516020ae7cc4fa3d
236
cpp
C++
ThirdsEngine/main.cpp
OlisProgramming/ThirdsEngine
0f44ae9e96f47d69222a57f43c1744cd89995e44
[ "Apache-2.0" ]
null
null
null
ThirdsEngine/main.cpp
OlisProgramming/ThirdsEngine
0f44ae9e96f47d69222a57f43c1744cd89995e44
[ "Apache-2.0" ]
2
2016-09-29T17:26:24.000Z
2016-10-02T08:37:57.000Z
ThirdsEngine/main.cpp
OlisProgramming/ThirdsEngine
0f44ae9e96f47d69222a57f43c1744cd89995e44
[ "Apache-2.0" ]
null
null
null
#include <stdio.h> #include "GameManager.h" #undef main using namespace te; int main() { // GameManager does nothing until run is called. GameManager manager; manager.setWindow(new Window(800, 600)); manager.run(); return 0; }
14.75
49
0.711864
OlisProgramming
50a4b9c27eccceefdc79d6d154d361358c153546
1,199
hpp
C++
source/include/clock.hpp
ndoxx/wcore
8b24519e9a01b0397ba2959507e1e12ea3a3aa44
[ "Apache-2.0" ]
null
null
null
source/include/clock.hpp
ndoxx/wcore
8b24519e9a01b0397ba2959507e1e12ea3a3aa44
[ "Apache-2.0" ]
null
null
null
source/include/clock.hpp
ndoxx/wcore
8b24519e9a01b0397ba2959507e1e12ea3a3aa44
[ "Apache-2.0" ]
null
null
null
#ifndef CLOCK_HPP_INCLUDED #define CLOCK_HPP_INCLUDED #include <chrono> namespace wcore { template < typename Period > class Clock { public: Clock(); Period get_elapsed_time() const; Period restart(); private: std::chrono::time_point< std::chrono::high_resolution_clock > time_point_; }; template < ...
18.734375
88
0.713094
ndoxx
50a9fac1125595ddf868bd83734e7d9489c2eb0d
5,616
cpp
C++
SourceCode/balance_flows_at_reservoirs.cpp
ChristinaB/Topnet-WM
abfed11a3792a43ad23000cbf3b2cb9161f19218
[ "MIT" ]
null
null
null
SourceCode/balance_flows_at_reservoirs.cpp
ChristinaB/Topnet-WM
abfed11a3792a43ad23000cbf3b2cb9161f19218
[ "MIT" ]
17
2018-03-19T17:26:04.000Z
2019-06-06T00:15:35.000Z
SourceCode/balance_flows_at_reservoirs.cpp
ChristinaB/Topnet-WM
abfed11a3792a43ad23000cbf3b2cb9161f19218
[ "MIT" ]
2
2018-03-25T01:55:20.000Z
2019-05-09T22:12:50.000Z
/* Copyright 2017 Lambert Rubash This file is part of TopNetCpp, a translation and enhancement of Fortran TopNet. TopNetCpp is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 o...
33.428571
146
0.657942
ChristinaB
50ac184e2a40a7a3cd2a88352c7a5484d956e3e3
8,176
cc
C++
media/gpu/test/video_player/video_player.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
14,668
2015-01-01T01:57:10.000Z
2022-03-31T23:33:32.000Z
media/gpu/test/video_player/video_player.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
113
2015-05-04T09:58:14.000Z
2022-01-31T19:35:03.000Z
media/gpu/test/video_player/video_player.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
5,941
2015-01-02T11:32:21.000Z
2022-03-31T16:35:46.000Z
// Copyright 2018 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "media/gpu/test/video_player/video_player.h" #include "base/bind.h" #include "base/memory/ptr_util.h" #include "media/gpu/macros.h" #include "me...
29.304659
78
0.736179
zealoussnow
2704767ea175438a6ecfac8539aad07a95264fb7
10,700
cpp
C++
src/ray_tracing/ray_tracing_pipeline_group.cpp
WilliamLewww/vulkan_research_kit
7f055329c25b16dc52e10ee50e64e5e3a2d6dfdc
[ "Apache-2.0" ]
null
null
null
src/ray_tracing/ray_tracing_pipeline_group.cpp
WilliamLewww/vulkan_research_kit
7f055329c25b16dc52e10ee50e64e5e3a2d6dfdc
[ "Apache-2.0" ]
2
2021-12-06T01:56:35.000Z
2022-03-07T06:47:38.000Z
src/ray_tracing/ray_tracing_pipeline_group.cpp
WilliamLewww/vulkan_research_kit
7f055329c25b16dc52e10ee50e64e5e3a2d6dfdc
[ "Apache-2.0" ]
null
null
null
#include "vrk/ray_tracing/ray_tracing_pipeline_group.h" RayTracingPipelineGroup::RayTracingPipelineGroup( VkDevice &deviceHandleRef, std::vector<RayTracingPipelineCreateInfoParam> rayTracingPipelineCreateInfoParamList) : deviceHandleRef(deviceHandleRef) { this->pipelineHan...
41.960784
83
0.719065
WilliamLewww
27063abb862f1822da9e286bd30393dd1b462bfd
935
cpp
C++
base/src/System/Net/Sockets/UdpClient.cpp
djdron/gamesparks-cpp-base
00b8af5dc2b58b7954cfa5d99c5ea7ded7115af8
[ "Apache-2.0" ]
7
2019-07-11T02:05:32.000Z
2020-11-01T18:57:51.000Z
base/src/System/Net/Sockets/UdpClient.cpp
djdron/gamesparks-cpp-base
00b8af5dc2b58b7954cfa5d99c5ea7ded7115af8
[ "Apache-2.0" ]
3
2019-02-26T15:59:03.000Z
2019-06-04T10:46:07.000Z
base/src/System/Net/Sockets/UdpClient.cpp
djdron/gamesparks-cpp-base
00b8af5dc2b58b7954cfa5d99c5ea7ded7115af8
[ "Apache-2.0" ]
6
2019-03-18T19:14:04.000Z
2019-06-25T11:55:44.000Z
#include "./UdpClient.hpp" //#include <mbedtls/net.h> namespace System { namespace Net { namespace Sockets { UdpClient::UdpClient() :client(AddressFamily::InterNetwork, SocketType::Dgram, ProtocolType::Udp) { } void UdpClient::BeginConnect( const IPEndPoint& endpoint, const AsyncCallback& requestCallback ) ...
20.777778
74
0.706952
djdron
2707049fa67700547bd6a14bc3b53091f674823e
1,484
cpp
C++
cmds/idmap2/idmap2d/Main.cpp
rio-31/android_frameworks_base-1
091a068a3288d27d77636708679dde58b7b7fd25
[ "Apache-2.0" ]
164
2015-01-05T16:49:11.000Z
2022-03-29T20:40:27.000Z
cmds/idmap2/idmap2d/Main.cpp
rio-31/android_frameworks_base-1
091a068a3288d27d77636708679dde58b7b7fd25
[ "Apache-2.0" ]
127
2015-01-12T12:02:32.000Z
2021-11-28T08:46:25.000Z
cmds/idmap2/idmap2d/Main.cpp
rio-31/android_frameworks_base-1
091a068a3288d27d77636708679dde58b7b7fd25
[ "Apache-2.0" ]
1,141
2015-01-01T22:54:40.000Z
2022-02-09T22:08:26.000Z
/* * Copyright (C) 2018 The Android 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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
30.285714
75
0.749326
rio-31
270734a3c5dc0b702052928f4941484a1c9e6262
575
hpp
C++
include/imu/MadgwickFilter.hpp
medium-endian/multipid
41ab0c810de04fc48923edf31e3c971826abbaf3
[ "MIT" ]
15
2018-06-25T23:06:57.000Z
2022-03-31T06:00:35.000Z
include/imu/MadgwickFilter.hpp
medium-endian/multipid
41ab0c810de04fc48923edf31e3c971826abbaf3
[ "MIT" ]
3
2017-11-20T23:00:03.000Z
2018-01-19T16:22:39.000Z
include/imu/MadgwickFilter.hpp
medium-endian/multipid
41ab0c810de04fc48923edf31e3c971826abbaf3
[ "MIT" ]
1
2020-08-24T13:24:39.000Z
2020-08-24T13:24:39.000Z
#ifndef MADGWICK_FILTER_H #define MADGWICK_FILTER_H #include <math.h> #include "SoftwareIMU.hpp" #include "axis.hpp" class MadgwickFilter : public SoftwareIMU { private: float beta = 0.0f; float zeta = 0.0f; /* integration interval */ float deltat = 0.0f; float sum = 0....
18.548387
81
0.638261
medium-endian
270996af510dc2fd9ed3b1ec0b02331f0e9687c1
2,379
cpp
C++
tests/test_client_examplecom.cpp
lpcvoid/cpp-net-lib
e9961392b847cb39143d6b08dd2406361aff027c
[ "MIT" ]
10
2021-11-25T09:53:30.000Z
2022-03-04T07:21:38.000Z
tests/test_client_examplecom.cpp
lpcvoid/cpp-net-lib
e9961392b847cb39143d6b08dd2406361aff027c
[ "MIT" ]
1
2021-11-24T10:49:21.000Z
2021-11-24T10:49:21.000Z
tests/test_client_examplecom.cpp
lpcvoid/cpp-net-lib
e9961392b847cb39143d6b08dd2406361aff027c
[ "MIT" ]
2
2021-11-27T02:57:18.000Z
2021-11-28T08:55:14.000Z
#include "../doctest/doctest/doctest.h" #include "../src/netlib.hpp" static const std::string basic_get = R"(GET / HTTP/1.1\r\nHost: example.com\r\n\r\n)"; using namespace std::chrono_literals; TEST_CASE("Client example.com async") { netlib::client client; auto connect_future = client.connect_async("...
38.370968
139
0.670029
lpcvoid
270a59ac8c7ecea0aed1e1bb884d6a9461297564
950
hpp
C++
include/equal/prefab/scene/blank.hpp
equal-games/equal
acaf0d456d7b996dd2a6bc23150cd45ddf618296
[ "BSD-2-Clause", "Apache-2.0" ]
7
2019-08-07T21:27:27.000Z
2020-11-27T16:33:16.000Z
include/equal/prefab/scene/blank.hpp
equal-games/equal
acaf0d456d7b996dd2a6bc23150cd45ddf618296
[ "BSD-2-Clause", "Apache-2.0" ]
null
null
null
include/equal/prefab/scene/blank.hpp
equal-games/equal
acaf0d456d7b996dd2a6bc23150cd45ddf618296
[ "BSD-2-Clause", "Apache-2.0" ]
null
null
null
/* * Copyright 2019 Equal Games * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in ...
27.941176
75
0.724211
equal-games
270dc27eee0cec9cf2d27186c88183ad627da012
1,519
cpp
C++
cpp/array_test.cpp
ysoftman/test_code
4c71cc7c6a17d73cc84298e3a44051d3ab9d40f8
[ "MIT" ]
3
2017-12-07T04:29:36.000Z
2022-01-11T10:58:14.000Z
cpp/array_test.cpp
ysoftman/test_code
4c71cc7c6a17d73cc84298e3a44051d3ab9d40f8
[ "MIT" ]
14
2018-07-17T05:16:42.000Z
2022-03-22T00:43:47.000Z
cpp/array_test.cpp
ysoftman/test_code
4c71cc7c6a17d73cc84298e3a44051d3ab9d40f8
[ "MIT" ]
null
null
null
// ysoftman // 배열 테스트 #include <stdio.h> // 배열은 포인터의 일종으로 [] 는 참조 파라미터가됨 int modifyarry(int arValue[]) { arValue[0] = -1; arValue[1] = 10; return 0; } // 배열은 포인터의 일종으로 * 포인터형으로 받아됨 int modifyarry2(int *arValue) { arValue[0] = 7; arValue[1] = 99; return 0; } // c99 에서는 n 값을 먼저 선언후 matrix[][n] 파라미터 값으로 사용할 수 있다....
17.067416
53
0.520737
ysoftman
270dfa15b459d996cce84712194f5d81de8ab39d
5,042
cc
C++
source/st7735.cc
raphaelmeyer/lvgl-pico
c56eb6e4c68e8f32a0eb13564d245e387017595d
[ "MIT" ]
null
null
null
source/st7735.cc
raphaelmeyer/lvgl-pico
c56eb6e4c68e8f32a0eb13564d245e387017595d
[ "MIT" ]
null
null
null
source/st7735.cc
raphaelmeyer/lvgl-pico
c56eb6e4c68e8f32a0eb13564d245e387017595d
[ "MIT" ]
null
null
null
#include "st7735.h" #include <hardware/gpio.h> #include <hardware/spi.h> #include <pico/time.h> namespace { constexpr const uint8_t NOP = 0x00; constexpr const uint8_t SWRESET = 0x01; constexpr const uint8_t RDDID = 0x04; constexpr const uint8_t RDDST = 0x09; constexpr const uint8_t SLPIN = 0x10; constexpr const uin...
28.811429
79
0.718564
raphaelmeyer
270e0169d634c50584bd032ddd200725ff5bacfc
4,064
cpp
C++
lib/UserInput/Button.cpp
andhieSetyabudi/continuous_8bit
d3382a8799cd963dbde1833af74e07f5210628df
[ "FSFAP" ]
null
null
null
lib/UserInput/Button.cpp
andhieSetyabudi/continuous_8bit
d3382a8799cd963dbde1833af74e07f5210628df
[ "FSFAP" ]
null
null
null
lib/UserInput/Button.cpp
andhieSetyabudi/continuous_8bit
d3382a8799cd963dbde1833af74e07f5210628df
[ "FSFAP" ]
null
null
null
#define LIBCALL_ENABLEINTERRUPT #include "Config.h" #include "UserInput.h" #include <EnableInterrupt.h> bool UserInput::Button::sleep = false; bool UserInput::Button::sleepBuffer = false; volatile bool UserInput::Button::interruptPressed = false; bool UserInput::Button::pressed = false; bool UserInput::Button::longP...
30.787879
102
0.740404
andhieSetyabudi
270ed5b432178a55c761cd23f609c728bdd0b556
3,142
cpp
C++
04-tree/Bintree.cpp
lcl0512/cs_kaoyan
4ff5aa32fc7c91bea29504664e5498f166bc5e4d
[ "MIT" ]
3
2021-03-31T08:22:16.000Z
2021-07-12T01:25:46.000Z
04-tree/Bintree.cpp
lcl0512/cs_kaoyan
4ff5aa32fc7c91bea29504664e5498f166bc5e4d
[ "MIT" ]
null
null
null
04-tree/Bintree.cpp
lcl0512/cs_kaoyan
4ff5aa32fc7c91bea29504664e5498f166bc5e4d
[ "MIT" ]
null
null
null
#include "Bintree.h" #include <ctime> #include <queue> #include <stack> #include <cstdio> #include <cstdlib> void initBinTree(BinTree& T, ElemType* arr, int n){ if(arr == NULL || n < 1){ printf("error..."); return; } T = (BinTree) malloc(sizeof(BinNode)); T->left = NULL; T->right = N...
23.984733
72
0.443666
lcl0512
270eda5646c1bbbea4ba0a8077d1da80a37c911e
1,936
cpp
C++
examples/Standard/Roguelike/Components/Destructible.cpp
ptrefall/propcomp
35a751ae0717e5c35621200f64deb373b29341a0
[ "MIT" ]
2
2018-10-18T12:06:15.000Z
2019-06-13T20:41:31.000Z
examples/Standard/Roguelike/Components/Destructible.cpp
ptrefall/propcomp
35a751ae0717e5c35621200f64deb373b29341a0
[ "MIT" ]
null
null
null
examples/Standard/Roguelike/Components/Destructible.cpp
ptrefall/propcomp
35a751ae0717e5c35621200f64deb373b29341a0
[ "MIT" ]
null
null
null
#include "Destructible.h" #include "../Engine.h" #include "../Systems/RenderSystem.h" #include <iostream> Destructible::Destructible(const EntityWPtr &owner, const RenderSystemPtr &system) : Totem::Component<Destructible, PropertyUserData>("Destructible"), owner(owner), system(system) { user_data.entity = ...
25.813333
97
0.596591
ptrefall
271191395bc1da5b9ad1136b4fc2f777edd07e5e
3,976
hh
C++
include/saturn/error.hh
nicholatian/kerngba
dcbe7168f1636864e0d5ce5fd086b2e88e971d80
[ "Apache-2.0" ]
20
2016-07-13T03:32:33.000Z
2021-12-26T15:56:57.000Z
include/saturn/error.hh
nicholatian/kerngba
dcbe7168f1636864e0d5ce5fd086b2e88e971d80
[ "Apache-2.0" ]
7
2016-06-14T05:30:27.000Z
2018-02-26T07:46:17.000Z
include/saturn/error.hh
nicholatian/kerngba
dcbe7168f1636864e0d5ce5fd086b2e88e971d80
[ "Apache-2.0" ]
2
2019-06-29T15:36:13.000Z
2021-12-26T15:57:41.000Z
/// -*- coding: utf-8; mode: C++; indent-tabs-mode: nil; c-basic-offset: 4 -*- /*****************************************************************************\ * * * .d8888b. d8888 88888888888 888 888 8888888b. 888b 888 * ...
22.590909
79
0.439135
nicholatian
27177f39b59435d67494997ea35736d18a7e26fb
717
hpp
C++
src/player.hpp
Sirflankalot/Bomberman
7f2fa5cf657672e070e8850233c9a36a0b480b2f
[ "Apache-2.0" ]
null
null
null
src/player.hpp
Sirflankalot/Bomberman
7f2fa5cf657672e070e8850233c9a36a0b480b2f
[ "Apache-2.0" ]
null
null
null
src/player.hpp
Sirflankalot/Bomberman
7f2fa5cf657672e070e8850233c9a36a0b480b2f
[ "Apache-2.0" ]
null
null
null
#pragma once #include <GL/glew.h> #include "controller.hpp" #include <array> #include <cstddef> namespace players { struct player_info { enum class direction : uint8_t { up = 0, left = 1, down = 2, right = 3 }; std::size_t loc_x, loc_y; std::size_t last_x, last_y; float factor = 1.0; direction dir; bool...
24.724138
79
0.707113
Sirflankalot