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
ce76a9d4424290251fce1207ce24e25fb99ff384
943
cpp
C++
plaidml/bridge/openvino/ops/scatter_update.cpp
hfp/plaidml
c86852a910e68181781b3045f5a306d2f41a775f
[ "Apache-2.0" ]
null
null
null
plaidml/bridge/openvino/ops/scatter_update.cpp
hfp/plaidml
c86852a910e68181781b3045f5a306d2f41a775f
[ "Apache-2.0" ]
65
2020-08-24T07:41:09.000Z
2021-07-19T09:13:49.000Z
plaidml/bridge/openvino/ops/scatter_update.cpp
Flex-plaidml-team/plaidml
1070411a87b3eb3d94674d4d041ed904be3e7d87
[ "Apache-2.0" ]
null
null
null
// Copyright (C) 2021 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include "plaidml_ops.hpp" #include "plaidml_util.hpp" #include "ngraph/opsets/opset.hpp" #include "ngraph/opsets/opset4.hpp" #include "plaidml/op/op.h" using namespace plaidml; // NOLINT[build/namespaces] using namespace Inf...
28.575758
100
0.704136
hfp
ce78571d369eb754a10bd5d802183ff5b86c3d81
518
cpp
C++
resources/STL/Cookbook_17_Exercise/structured_binding/Cookbook_C_17_newFeatures.cpp
joshis1/C-_Programming
f86e505fbbb14aa5a02bd57bbe43682b5f693cbd
[ "MIT" ]
1
2020-09-11T05:51:54.000Z
2020-09-11T05:51:54.000Z
resources/STL/Cookbook_17_Exercise/structured_binding/Cookbook_C_17_newFeatures.cpp
joshis1/C-_Programming
f86e505fbbb14aa5a02bd57bbe43682b5f693cbd
[ "MIT" ]
null
null
null
resources/STL/Cookbook_17_Exercise/structured_binding/Cookbook_C_17_newFeatures.cpp
joshis1/C-_Programming
f86e505fbbb14aa5a02bd57bbe43682b5f693cbd
[ "MIT" ]
null
null
null
//using structured bindings to unpack bundled return values. // Enabling C++17 in visual studio. #include <iostream> std::pair<int, int> divide_remainder(int dividend, int divisor) { std::pair<int, int> x; x.first = dividend / divisor; x.second = dividend % divisor; return x; } int main() { ...
20.72
64
0.644788
joshis1
706e976856a249f4ef560ba60e758e27c716d845
107,550
cpp
C++
thrift/compiler/test/fixtures/mcpp2-compare/gen-cpp2/module_metadata.cpp
tahmidbintaslim/fbthrift
1492869dbd748295a2262ad76a19623c90e47b95
[ "Apache-2.0" ]
null
null
null
thrift/compiler/test/fixtures/mcpp2-compare/gen-cpp2/module_metadata.cpp
tahmidbintaslim/fbthrift
1492869dbd748295a2262ad76a19623c90e47b95
[ "Apache-2.0" ]
null
null
null
thrift/compiler/test/fixtures/mcpp2-compare/gen-cpp2/module_metadata.cpp
tahmidbintaslim/fbthrift
1492869dbd748295a2262ad76a19623c90e47b95
[ "Apache-2.0" ]
null
null
null
/** * Autogenerated by Thrift * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ #include <thrift/lib/cpp2/gen/module_metadata_cpp.h> #include "thrift/compiler/test/fixtures/mcpp2-compare/gen-cpp2/module_metadata.h" namespace apache { namespace thrift { namespace detail { namesp...
75.95339
423
0.789335
tahmidbintaslim
706f9ff9067462b9fb06277fe5a8c8f8f31e8685
2,409
cc
C++
OnlineDB/SiStripO2O/plugins/SealModules.cc
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
3
2018-08-24T19:10:26.000Z
2019-02-19T11:45:32.000Z
OnlineDB/SiStripO2O/plugins/SealModules.cc
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
3
2018-08-23T13:40:24.000Z
2019-12-05T21:16:03.000Z
OnlineDB/SiStripO2O/plugins/SealModules.cc
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
5
2018-08-21T16:37:52.000Z
2020-01-09T13:33:17.000Z
#include "FWCore/PluginManager/interface/ModuleDef.h" #include "FWCore/Framework/interface/MakerMacros.h" #include "CondCore/PopCon/interface/PopConAnalyzer.h" #include "OnlineDB/SiStripO2O/plugins/SiStripPopConConfigDbObjHandler.h" #include "CondFormats/SiStripObjects/interface/SiStripFedCabling.h" typedef popcon...
51.255319
119
0.875052
nistefan
707153a6e4726f68eaa4fdea21e44b99dae2d71f
14,212
cpp
C++
quantitative_finance/L2/benchmarks/MCAmericanEngineMultiKernel/src/main.cpp
Aperture-Electronic/Vitis_Libraries
e178d54f82c90f1a1e47f599f401f8cbf8df86d7
[ "Apache-2.0" ]
1
2020-10-27T07:37:10.000Z
2020-10-27T07:37:10.000Z
quantitative_finance/L2/benchmarks/MCAmericanEngineMultiKernel/src/main.cpp
Aperture-Electronic/Vitis_Libraries
e178d54f82c90f1a1e47f599f401f8cbf8df86d7
[ "Apache-2.0" ]
null
null
null
quantitative_finance/L2/benchmarks/MCAmericanEngineMultiKernel/src/main.cpp
Aperture-Electronic/Vitis_Libraries
e178d54f82c90f1a1e47f599f401f8cbf8df86d7
[ "Apache-2.0" ]
null
null
null
/* * 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...
37.010417
114
0.595835
Aperture-Electronic
7073e3cd6f305894194c7b19fdea9e1a14a4ac90
2,169
cc
C++
mojo/edk/system/memory.cc
zbowling/mojo
4d2ed40dc2390ca98a6fea0580e840535878f11c
[ "BSD-3-Clause" ]
1
2020-04-28T14:35:10.000Z
2020-04-28T14:35:10.000Z
mojo/edk/system/memory.cc
zbowling/mojo
4d2ed40dc2390ca98a6fea0580e840535878f11c
[ "BSD-3-Clause" ]
null
null
null
mojo/edk/system/memory.cc
zbowling/mojo
4d2ed40dc2390ca98a6fea0580e840535878f11c
[ "BSD-3-Clause" ]
1
2020-04-28T14:35:11.000Z
2020-04-28T14:35:11.000Z
// Copyright 2013 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 "mojo/edk/system/memory.h" #include <limits> #include "base/logging.h" namespace mojo { namespace system { namespace internal { template <siz...
36.762712
80
0.755648
zbowling
707402dafbf6db8e7e3b3f05a70de164b09eeeea
1,441
hpp
C++
liblumi/include/Matrix.hpp
Rertsyd/LumiRT
d562fd786f769b385bc051e2ea8bcd26162a9dc6
[ "MIT" ]
null
null
null
liblumi/include/Matrix.hpp
Rertsyd/LumiRT
d562fd786f769b385bc051e2ea8bcd26162a9dc6
[ "MIT" ]
null
null
null
liblumi/include/Matrix.hpp
Rertsyd/LumiRT
d562fd786f769b385bc051e2ea8bcd26162a9dc6
[ "MIT" ]
null
null
null
/* ************************************************************************** */ /* ,, */ /* `7MMF' db `7MM"""Mq. MMP""MM""YMM */ /* MM MM `MM.P' MM `7 ...
36.025
80
0.390007
Rertsyd
707444c118f9fc4627cfe43171b27047c31c0551
3,983
cxx
C++
src/memory/istream_rubber.cxx
CM4all/beng-proxy
ce5a81f7969bc5cb6c5985cdc98f61ef8b5c6159
[ "BSD-2-Clause" ]
35
2017-08-16T06:52:26.000Z
2022-03-27T21:49:01.000Z
src/memory/istream_rubber.cxx
CM4all/beng-proxy
ce5a81f7969bc5cb6c5985cdc98f61ef8b5c6159
[ "BSD-2-Clause" ]
2
2017-12-22T15:34:23.000Z
2022-03-08T04:15:23.000Z
src/memory/istream_rubber.cxx
CM4all/beng-proxy
ce5a81f7969bc5cb6c5985cdc98f61ef8b5c6159
[ "BSD-2-Clause" ]
8
2017-12-22T15:11:47.000Z
2022-03-15T22:54:04.000Z
/* * Copyright 2007-2021 CM4all GmbH * All rights reserved. * * author: Max Kellermann <mk@cm4all.com> * * 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 abo...
30.875969
73
0.660306
CM4all
7075e1e7e10acf94d09cf6ff48955f05a6a9631f
4,305
cpp
C++
batch/src/v20170312/model/Instance.cpp
suluner/tencentcloud-sdk-cpp
a56c73cc3f488c4d1e10755704107bb15c5e000d
[ "Apache-2.0" ]
43
2019-08-14T08:14:12.000Z
2022-03-30T12:35:09.000Z
batch/src/v20170312/model/Instance.cpp
suluner/tencentcloud-sdk-cpp
a56c73cc3f488c4d1e10755704107bb15c5e000d
[ "Apache-2.0" ]
12
2019-07-15T10:44:59.000Z
2021-11-02T12:35:00.000Z
batch/src/v20170312/model/Instance.cpp
suluner/tencentcloud-sdk-cpp
a56c73cc3f488c4d1e10755704107bb15c5e000d
[ "Apache-2.0" ]
28
2019-07-12T09:06:22.000Z
2022-03-30T08:04:18.000Z
/* * Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 ...
27.774194
137
0.688037
suluner
707741214e08d77199f8244fd2fe89ae5696f21c
587
cpp
C++
src/Actions/Model/ModelDeleteAction.cpp
viveret/script-ai
15f8dc561e55812de034bb729e83ff01bec61743
[ "BSD-3-Clause" ]
null
null
null
src/Actions/Model/ModelDeleteAction.cpp
viveret/script-ai
15f8dc561e55812de034bb729e83ff01bec61743
[ "BSD-3-Clause" ]
null
null
null
src/Actions/Model/ModelDeleteAction.cpp
viveret/script-ai
15f8dc561e55812de034bb729e83ff01bec61743
[ "BSD-3-Clause" ]
null
null
null
#include "../Actions.hpp" #include "../../Program.hpp" #include "../../AIModelAdapter.hpp" #include <iostream> using namespace ScriptAI; ModelDeleteAction::ModelDeleteAction(AIProgram *prog): MenuAction(prog) { } const char* ModelDeleteAction::label() { return "model delete"; } std::string ModelDeleteAction::des...
20.241379
73
0.678024
viveret
70789fa335f713578af9d30939f2aee9fae6bbb2
11,834
cpp
C++
dbms/src/Interpreters/LogicalExpressionsOptimizer.cpp
jbfavre/clickhouse-debian
3806e3370decb40066f15627a3bca4063b992bfb
[ "Apache-2.0" ]
1
2017-01-17T17:29:05.000Z
2017-01-17T17:29:05.000Z
dbms/src/Interpreters/LogicalExpressionsOptimizer.cpp
jbfavre/clickhouse-debian
3806e3370decb40066f15627a3bca4063b992bfb
[ "Apache-2.0" ]
1
2017-01-13T21:29:36.000Z
2017-01-16T18:29:08.000Z
dbms/src/Interpreters/LogicalExpressionsOptimizer.cpp
jbfavre/clickhouse-debian
3806e3370decb40066f15627a3bca4063b992bfb
[ "Apache-2.0" ]
null
null
null
#include <DB/Interpreters/LogicalExpressionsOptimizer.h> #include <DB/Interpreters/Settings.h> #include <DB/Parsers/ASTFunction.h> #include <DB/Parsers/ASTSelectQuery.h> #include <DB/Parsers/ASTLiteral.h> #include <DB/Common/typeid_cast.h> #include <deque> namespace DB { namespace ErrorCodes { extern const int L...
31.142105
119
0.724523
jbfavre
7078a9eb480d1728bbcf836655ee08d8b10f50d7
1,816
cc
C++
scrummer2.cc
alexhairyman/scrummy
e6c0aa72930967895dccda8e5bea3372d9969e1f
[ "MIT" ]
null
null
null
scrummer2.cc
alexhairyman/scrummy
e6c0aa72930967895dccda8e5bea3372d9969e1f
[ "MIT" ]
null
null
null
scrummer2.cc
alexhairyman/scrummy
e6c0aa72930967895dccda8e5bea3372d9969e1f
[ "MIT" ]
1
2019-01-16T16:50:26.000Z
2019-01-16T16:50:26.000Z
/* Copyright (c) 2012 Alex Herrmann alexhairyman@gmail.com Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge,...
41.272727
93
0.765419
alexhairyman
707b7103c26594505bd1802695743b3709cca465
4,317
inl
C++
iceoryx_posh/include/iceoryx_posh/internal/runtime/shared_memory_creator.inl
budrus/iceoryx
77c84ae339db8aaedd3b34962474a13272cd59e7
[ "Apache-2.0" ]
1
2020-02-20T23:52:22.000Z
2020-02-20T23:52:22.000Z
iceoryx_posh/include/iceoryx_posh/internal/runtime/shared_memory_creator.inl
michael-poehnl/iceoryx
77c84ae339db8aaedd3b34962474a13272cd59e7
[ "Apache-2.0" ]
null
null
null
iceoryx_posh/include/iceoryx_posh/internal/runtime/shared_memory_creator.inl
michael-poehnl/iceoryx
77c84ae339db8aaedd3b34962474a13272cd59e7
[ "Apache-2.0" ]
null
null
null
// Copyright (c) 2019 by Robert Bosch GmbH. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required...
37.53913
114
0.726199
budrus
707c734a4cafc74d48289999bf29ea1f13d99fa2
611
cpp
C++
src/main/cpp/cses/company_queries_1.cpp
jo3-l/cp-practice
d1db0c8e9269c8720b31013068dff948b33f57fd
[ "MIT" ]
5
2022-01-05T20:15:47.000Z
2022-02-15T22:40:44.000Z
src/main/cpp/cses/company_queries_1.cpp
jo3-l/ccc-java
7a77f365e52496967e5265ecefb34f3b7db5fae8
[ "MIT" ]
3
2022-01-06T01:34:42.000Z
2022-01-20T23:46:53.000Z
src/main/cpp/cses/company_queries_1.cpp
jo3-l/ccc-java
7a77f365e52496967e5265ecefb34f3b7db5fae8
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int anc[200'001][19]; int main() { ios_base::sync_with_stdio(false); cin.tie(nullptr); cout.tie(nullptr); cin.exceptions(cin.failbit); int n, q; cin >> n >> q; anc[1][0] = -1; for (int i = 2; i <= n; i++) cin >> anc[i][0]; for (int k = 1; k <= 32 - __builtin_cl...
20.366667
68
0.484452
jo3-l
707d1f44fcaf490c374f380c4a3ed254471773ec
872
cpp
C++
test/classwork_test/03_assign_test/decisions_tests.cpp
acc-cosc-1337-fall-2020/acc-cosc-1337-fall-2020-Irvingperez
52f01b57eea81445f5ef13325969a8a1bd868c50
[ "MIT" ]
null
null
null
test/classwork_test/03_assign_test/decisions_tests.cpp
acc-cosc-1337-fall-2020/acc-cosc-1337-fall-2020-Irvingperez
52f01b57eea81445f5ef13325969a8a1bd868c50
[ "MIT" ]
null
null
null
test/classwork_test/03_assign_test/decisions_tests.cpp
acc-cosc-1337-fall-2020/acc-cosc-1337-fall-2020-Irvingperez
52f01b57eea81445f5ef13325969a8a1bd868c50
[ "MIT" ]
null
null
null
#define CATCH_CONFIG_MAIN // This tells Catch to provide a main() - only do this in one cpp file #include "catch.hpp" //#include "loops.h" #include "decision.h" TEST_CASE("Verify Test Configuration", "verification") { REQUIRE(true == true); } TEST_CASE("Verify Test Configuration for IF function ") { REQUIRE(get_le...
32.296296
97
0.733945
acc-cosc-1337-fall-2020
707e28817fd4752255ed94a3c57620a50c5e75e6
1,376
hpp
C++
viennacl/device_specific/builtin_database/matrix_axpy.hpp
denis14/ViennaCL-1.5.2
fec808905cca30196e10126681611bdf8da5297a
[ "MIT" ]
null
null
null
viennacl/device_specific/builtin_database/matrix_axpy.hpp
denis14/ViennaCL-1.5.2
fec808905cca30196e10126681611bdf8da5297a
[ "MIT" ]
null
null
null
viennacl/device_specific/builtin_database/matrix_axpy.hpp
denis14/ViennaCL-1.5.2
fec808905cca30196e10126681611bdf8da5297a
[ "MIT" ]
null
null
null
#ifndef VIENNACL_DEVICE_SPECIFIC_BUILTIN_DATABASE_MATRIX_AXPY_HPP_ #define VIENNACL_DEVICE_SPECIFIC_BUILTIN_DATABASE_MATRIX_AXPY_HPP_ #include "viennacl/ocl/device_utils.hpp" #include "viennacl/scheduler/forwards.h" #include "viennacl/device_specific/forwards.h" #include "viennacl/device_specific/builtin_database/co...
27.52
93
0.817587
denis14
707f1fc2806794597002ecf0cf7afb184dcacbf5
17,680
hpp
C++
typeClassDefs/DominantFrequencies.hpp
mipalgu/gusimplewhiteboard
8f5f0c96dcf7836e87db824fdd673b988fa541fc
[ "BSD-4-Clause" ]
null
null
null
typeClassDefs/DominantFrequencies.hpp
mipalgu/gusimplewhiteboard
8f5f0c96dcf7836e87db824fdd673b988fa541fc
[ "BSD-4-Clause" ]
null
null
null
typeClassDefs/DominantFrequencies.hpp
mipalgu/gusimplewhiteboard
8f5f0c96dcf7836e87db824fdd673b988fa541fc
[ "BSD-4-Clause" ]
null
null
null
/* * file DominantFrequencies.hpp * * This file was generated by classgenerator from dominant_frequencies.gen. * DO NOT CHANGE MANUALLY! * * Copyright © 2021 Rene Hexel. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the f...
40.273349
215
0.51629
mipalgu
708187f2f61e57848314f089193d38abe44b82e9
8,542
cpp
C++
src/Test_binaryCompare.cpp
leekt216/HElib
d2700ba62d2399213b5293686e715d01ad65e6c0
[ "Apache-2.0" ]
1
2022-02-14T02:37:58.000Z
2022-02-14T02:37:58.000Z
homomorphic_evaluation/lib/helib_pack/src/test/Test_binaryCompare.cpp
dklee0501/Lobster
f2b73df9165c76e8b521d8ebd639d68321e3862b
[ "MIT" ]
1
2017-05-16T09:26:15.000Z
2017-05-16T09:26:15.000Z
homomorphic_evaluation/lib/helib_pack/src/test/Test_binaryCompare.cpp
dklee0501/Lobster
f2b73df9165c76e8b521d8ebd639d68321e3862b
[ "MIT" ]
2
2019-02-01T11:34:34.000Z
2021-11-27T14:49:27.000Z
/* Copyright (C) 2012-2017 IBM Corp. * This program is Licensed under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at * http://www.apache.org/licenses/LICENSE-2.0 * Unless required by applicable law or a...
29.659722
79
0.602552
leekt216
70837046b6994253430435c694fd27f1364e9ed0
107,809
cpp
C++
VRPhobia/Temp/il2cppOutput/il2cppOutput/UnityEngine.AudioModule.cpp
dentep/VRPhobia
4fcb25f65a3f66a29976f9a8bb0c726339453ae8
[ "MIT" ]
null
null
null
VRPhobia/Temp/il2cppOutput/il2cppOutput/UnityEngine.AudioModule.cpp
dentep/VRPhobia
4fcb25f65a3f66a29976f9a8bb0c726339453ae8
[ "MIT" ]
null
null
null
VRPhobia/Temp/il2cppOutput/il2cppOutput/UnityEngine.AudioModule.cpp
dentep/VRPhobia
4fcb25f65a3f66a29976f9a8bb0c726339453ae8
[ "MIT" ]
null
null
null
#include "il2cpp-config.h" #ifndef _MSC_VER # include <alloca.h> #else # include <malloc.h> #endif #include <cstring> #include <string.h> #include <stdio.h> #include <cmath> #include <limits> #include <assert.h> #include <stdint.h> #include "codegen/il2cpp-codegen.h" #include "il2cpp-object-internals.h" struct Vi...
46.955139
447
0.840115
dentep
7085513c585490f2e6e2eb6659a3565b52f961b4
1,101
cpp
C++
src/main/src/main.cpp
xSHAD0Wx/tiksrv
9d512705e05dd822d41f7cc0e69b9487fb3d286b
[ "Apache-2.0" ]
2
2020-06-08T15:47:25.000Z
2020-06-13T13:34:53.000Z
src/main/src/main.cpp
xSHAD0Wx/tiksrv
9d512705e05dd822d41f7cc0e69b9487fb3d286b
[ "Apache-2.0" ]
null
null
null
src/main/src/main.cpp
xSHAD0Wx/tiksrv
9d512705e05dd822d41f7cc0e69b9487fb3d286b
[ "Apache-2.0" ]
null
null
null
#include "app/app.hpp" #include "config/config.hpp" #include "log/core.hpp" #include "spdlog/sinks/stdout_color_sinks.h" #include <filesystem> #include <iostream> #include <vector> using ts::app::tiksrv_app; using ts::config::config; using ts::config::config_key; auto main(const int argc, char *argv[]) -> int { ...
25.604651
69
0.57584
xSHAD0Wx
7088c3ce3731cd3b803ead4fb5e4c790e4826711
4,341
hpp
C++
include/synthizer/spatialization_math.hpp
wiresong/synthizer
d6fb7a5f9eb0c5760411eee29b12a10fdd7ad420
[ "Unlicense" ]
25
2020-09-05T18:21:21.000Z
2021-12-05T02:47:42.000Z
include/synthizer/spatialization_math.hpp
wiresong/synthizer
d6fb7a5f9eb0c5760411eee29b12a10fdd7ad420
[ "Unlicense" ]
77
2020-07-08T23:33:46.000Z
2022-03-19T05:34:26.000Z
include/synthizer/spatialization_math.hpp
wiresong/synthizer
d6fb7a5f9eb0c5760411eee29b12a10fdd7ad420
[ "Unlicense" ]
9
2020-07-08T18:16:53.000Z
2022-03-02T21:35:28.000Z
#pragma once #include "synthizer_constants.h" #include <array> #include <cmath> namespace synthizer { struct DistanceParams { /* Distance is set by the user. */ double distance = 0.0; double distance_ref = 1.0; double distance_max = 50.0; double rolloff = 1.0; double closeness_boost = 0.0; double clo...
35.008065
118
0.717807
wiresong
708af932cf1a554ad106f91001d5c3861ee3a3ba
1,371
cpp
C++
src/SFML View/Core/VerticalLayout.cpp
BenPyton/2D-Dungeon-Generator
87d68926a72a73442e8355f7024154b403b8fd71
[ "MIT" ]
7
2019-01-24T07:48:19.000Z
2022-02-14T03:31:22.000Z
src/SFML View/Core/VerticalLayout.cpp
BenPyton/2D-Dungeon-Generator
87d68926a72a73442e8355f7024154b403b8fd71
[ "MIT" ]
null
null
null
src/SFML View/Core/VerticalLayout.cpp
BenPyton/2D-Dungeon-Generator
87d68926a72a73442e8355f7024154b403b8fd71
[ "MIT" ]
2
2019-01-24T07:11:48.000Z
2022-02-14T03:31:23.000Z
/* * @author PELLETIER Benoit * * @file VerticalLayout.cpp * * @date 02/11/2018 * * @brief Define a vertical flow for ui * */ #include "stdafx.h" #include "VerticalLayout.h" VerticalLayout::VerticalLayout(int x, int y, int width, int height) : Layout(x, y, width, height), m_paddingLeft(0), m_paddingRight(0), m_paddi...
23.237288
118
0.701678
BenPyton
708bed29f74a240cd0aeb60d4cdd150359838128
1,683
cc
C++
remoting/host/elevated_controller_win.cc
gavinp/chromium
681563ea0f892a051f4ef3d5e53438e0bb7d2261
[ "BSD-3-Clause" ]
1
2016-03-10T09:13:57.000Z
2016-03-10T09:13:57.000Z
remoting/host/elevated_controller_win.cc
gavinp/chromium
681563ea0f892a051f4ef3d5e53438e0bb7d2261
[ "BSD-3-Clause" ]
1
2022-03-13T08:39:05.000Z
2022-03-13T08:39:05.000Z
remoting/host/elevated_controller_win.cc
gavinp/chromium
681563ea0f892a051f4ef3d5e53438e0bb7d2261
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2012 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 "remoting/host/elevated_controller_win.h" // MIDL-generated definitions. #include <elevated_controller_i.c> using ATL::CComQIPtr; using ATL...
22.44
73
0.740345
gavinp
708c8697a9d8dab2279c0c891d4337bfce307205
1,567
cpp
C++
ver1/answers/lp-13-25-26.cpp
aafulei/cppp5e
f8d254073866e3025c3a08b919d9bbe3965b6918
[ "MIT" ]
null
null
null
ver1/answers/lp-13-25-26.cpp
aafulei/cppp5e
f8d254073866e3025c3a08b919d9bbe3965b6918
[ "MIT" ]
null
null
null
ver1/answers/lp-13-25-26.cpp
aafulei/cppp5e
f8d254073866e3025c3a08b919d9bbe3965b6918
[ "MIT" ]
null
null
null
// 18/03/04 = Sun // Exercise 13.25: Assume we want to define a version of StrBlob that acts like a value. Also assume that we want to continue to use a shared_ptr so that our StrBlobPtr class can still use a weak_ptr to the vector. Your revised class will need a copy constructor and copy-assignment operator but will ...
42.351351
446
0.71538
aafulei
708ca709e71a6db75d63e484922cca41ceb04d56
4,800
cc
C++
src/Serial.cc
bakterian/arduino-mock
e59117bd75d4e3f05f86249f70e8cea356b527ef
[ "0BSD" ]
40
2015-02-03T03:51:06.000Z
2022-03-22T11:42:48.000Z
src/Serial.cc
bakterian/arduino-mock
e59117bd75d4e3f05f86249f70e8cea356b527ef
[ "0BSD" ]
14
2015-01-01T04:08:19.000Z
2017-02-26T19:49:22.000Z
src/Serial.cc
bakterian/arduino-mock
e59117bd75d4e3f05f86249f70e8cea356b527ef
[ "0BSD" ]
43
2015-01-21T05:45:18.000Z
2022-01-31T14:08:30.000Z
// Copyright 2014 http://switchdevice.com #include "arduino-mock/Serial.h" static SerialMock* gSerialMock = NULL; SerialMock* serialMockInstance() { if(!gSerialMock) { gSerialMock = new SerialMock(); } return gSerialMock; } void releaseSerialMock() { if(gSerialMock) { delete gSerialMock; gSerialM...
21.333333
62
0.6575
bakterian
708f03c56398af90c7955dac56cb807b4eace1e6
1,216
hpp
C++
include/codegen/include/UnityEngine/UILineInfo.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
1
2021-11-12T09:29:31.000Z
2021-11-12T09:29:31.000Z
include/codegen/include/UnityEngine/UILineInfo.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
null
null
null
include/codegen/include/UnityEngine/UILineInfo.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
2
2021-10-03T02:14:20.000Z
2021-11-12T09:29:36.000Z
// Autogenerated from CppHeaderCreator on 7/27/2020 3:10:37 PM // Created by Sc2ad // ========================================================================= #pragma once #pragma pack(push, 8) // Begin includes // Including type: System.ValueType #include "System/ValueType.hpp" #include "utils/il2cpp-utils.hpp" // Co...
33.777778
177
0.666118
Futuremappermydud
708f7e65e7f2c64e1afcd9d548b86394e5f1295a
12,384
cpp
C++
src/win/pxWindowNative.cpp
protey7/pxCore
ce09650977516833a3f892623eddba4a84aec1a3
[ "Apache-2.0" ]
null
null
null
src/win/pxWindowNative.cpp
protey7/pxCore
ce09650977516833a3f892623eddba4a84aec1a3
[ "Apache-2.0" ]
2
2017-12-08T14:22:28.000Z
2018-02-15T03:28:31.000Z
src/win/pxWindowNative.cpp
protey7/pxCore
ce09650977516833a3f892623eddba4a84aec1a3
[ "Apache-2.0" ]
2
2018-02-16T20:25:24.000Z
2018-07-09T17:28:46.000Z
/* pxCore Copyright 2005-2018 John Robinson 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 ...
24.426036
118
0.54853
protey7
709067c1afb446c2fbf1b1ad263e4c530a40ac95
476
cpp
C++
aoj/ITP1_10_B.cpp
yu3mars/proconcpp
f951a8612e542b4ae974e61671dfff64f73ba3f0
[ "MIT" ]
null
null
null
aoj/ITP1_10_B.cpp
yu3mars/proconcpp
f951a8612e542b4ae974e61671dfff64f73ba3f0
[ "MIT" ]
null
null
null
aoj/ITP1_10_B.cpp
yu3mars/proconcpp
f951a8612e542b4ae974e61671dfff64f73ba3f0
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> #define REP(i,n) for(int i=0;i<(int)(n);i++) #define ALL(x) (x).begin(),(x).end() typedef long long ll; typedef long double ld; // const ld eps = 1e-12, const ld pi = acos(-1.0); // const ll inf = 1e12; using namespace std; int main() { double a,b,c,s,l,h; cin >> a>>b>>c; c = c*pi/180; ...
19.833333
58
0.556723
yu3mars
70947afc9197c186c0d2e950a1cca4cd5bfece7a
3,436
cc
C++
chromium/content/browser/renderer_host/gpu_message_filter.cc
wedataintelligence/vivaldi-source
22a46f2c969f6a0b7ca239a05575d1ea2738768c
[ "BSD-3-Clause" ]
null
null
null
chromium/content/browser/renderer_host/gpu_message_filter.cc
wedataintelligence/vivaldi-source
22a46f2c969f6a0b7ca239a05575d1ea2738768c
[ "BSD-3-Clause" ]
null
null
null
chromium/content/browser/renderer_host/gpu_message_filter.cc
wedataintelligence/vivaldi-source
22a46f2c969f6a0b7ca239a05575d1ea2738768c
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2012 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. #if defined(OS_WIN) #include <windows.h> #endif #include "content/browser/renderer_host/gpu_message_filter.h" #include "base/bind.h" #include "build...
32.415094
77
0.740687
wedataintelligence
70950e4fa8a4929c6cc1a81327a4540faf997af4
6,904
cpp
C++
cocos2d/cocos/audio/android/PcmAudioService.cpp
otakuidoru/Connect
bcbc6d790c956fad435547c9484ea8fd6e5f794f
[ "MIT" ]
141
2019-07-09T06:29:35.000Z
2022-03-30T06:25:16.000Z
cocos2d/cocos/audio/android/PcmAudioService.cpp
otakuidoru/Connect
bcbc6d790c956fad435547c9484ea8fd6e5f794f
[ "MIT" ]
16
2019-12-23T06:53:18.000Z
2021-10-19T17:01:01.000Z
cocos2d/cocos/audio/android/PcmAudioService.cpp
otakuidoru/Connect
bcbc6d790c956fad435547c9484ea8fd6e5f794f
[ "MIT" ]
47
2019-08-14T11:12:34.000Z
2022-03-30T06:25:19.000Z
/**************************************************************************** Copyright (c) 2016 Chukong Technologies Inc. Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. http://www.cocos2d-x.org Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated docume...
34.348259
116
0.677723
otakuidoru
7096ee83d43adf895159969da08bac537ed3091b
1,605
cpp
C++
avalon/physics/vendors/B2DebugDrawLayer.cpp
michaelcontento/avalon
9207fbe2b3be61050794eca123303f56a08930db
[ "MIT" ]
46
2015-02-20T07:20:39.000Z
2021-07-25T02:57:47.000Z
avalon/physics/vendors/B2DebugDrawLayer.cpp
michaelcontento/avalon
9207fbe2b3be61050794eca123303f56a08930db
[ "MIT" ]
31
2015-09-20T09:07:29.000Z
2015-09-22T13:52:56.000Z
avalon/physics/vendors/B2DebugDrawLayer.cpp
michaelcontento/avalon
9207fbe2b3be61050794eca123303f56a08930db
[ "MIT" ]
18
2015-01-15T12:30:03.000Z
2020-03-25T18:46:45.000Z
/**************************************************************************** * B2DebugDrawLayer.cpp * * Created by Stefan Nguyen on Oct 8, 2012. * * Copyright Vinova Pte. Ltd. All rights reserved. ****************************************************************************/ #include "B2DebugDrawLayer.h" using ...
23.26087
104
0.624299
michaelcontento
70975cb95300a265edb903eadaf1352062f716fa
5,359
hpp
C++
source/timemory/components/papi/types.hpp
mhaseeb123/timemory
815bb68edf8a36f309d43a911ef7e39da08ce5ae
[ "MIT" ]
null
null
null
source/timemory/components/papi/types.hpp
mhaseeb123/timemory
815bb68edf8a36f309d43a911ef7e39da08ce5ae
[ "MIT" ]
null
null
null
source/timemory/components/papi/types.hpp
mhaseeb123/timemory
815bb68edf8a36f309d43a911ef7e39da08ce5ae
[ "MIT" ]
null
null
null
// MIT License // // Copyright (c) 2020, The Regents of the University of California, // through Lawrence Berkeley National Laboratory (subject to receipt of any // required approvals from the U.S. Dept. of Energy). All rights reserved. // // Permission is hereby granted, free of charge, to any person obtaining a copy...
42.531746
90
0.579026
mhaseeb123
709c69cad2fa198dfd6558457e66378db23cb28f
2,276
cpp
C++
non_shared_substring.cpp
agaitanis/strings
13688cc3e9007d0dadaf92feca198272e135fe60
[ "MIT" ]
2
2018-10-30T08:13:30.000Z
2019-03-05T22:49:40.000Z
non_shared_substring.cpp
agaitanis/strings
13688cc3e9007d0dadaf92feca198272e135fe60
[ "MIT" ]
null
null
null
non_shared_substring.cpp
agaitanis/strings
13688cc3e9007d0dadaf92feca198272e135fe60
[ "MIT" ]
null
null
null
#include <algorithm> #include <cassert> #include <iostream> #include <queue> #include <string> #include <unordered_set> #include <vector> using namespace std; #define LETTERS_NUM 6 struct Node { Node () : letter(' '), is_text1(false), is_text2(false), prev(-1) { for (int i = 0; i < LETTERS_NUM; i++) { ...
15.589041
61
0.56942
agaitanis
709cb81520e5dc1eca4c80fcf8168449a551ae53
2,805
cpp
C++
src/astro/low_thrust/lowThrustOptimisationSetup.cpp
kimonito98/tudat
c28f2a3e78b8492e2e054ad5e0d1f9ad785cd092
[ "BSD-3-Clause" ]
null
null
null
src/astro/low_thrust/lowThrustOptimisationSetup.cpp
kimonito98/tudat
c28f2a3e78b8492e2e054ad5e0d1f9ad785cd092
[ "BSD-3-Clause" ]
null
null
null
src/astro/low_thrust/lowThrustOptimisationSetup.cpp
kimonito98/tudat
c28f2a3e78b8492e2e054ad5e0d1f9ad785cd092
[ "BSD-3-Clause" ]
null
null
null
/* Copyright (c) 2010-2018, Delft University of Technology * All rigths reserved * * This file is part of the Tudat. Redistribution and use in source and * binary forms, with or without modification, are permitted exclusively * under the terms of the Modified BSD license. You should have received *...
35.506329
115
0.742602
kimonito98
709ce43164d55378ca5e5a9331d35832659f7318
2,336
hpp
C++
include/Cursor.hpp
psx95/collaborative-text-editor
457fee0c9aebf874e0ee3ac0a505220a7b493189
[ "MIT" ]
null
null
null
include/Cursor.hpp
psx95/collaborative-text-editor
457fee0c9aebf874e0ee3ac0a505220a7b493189
[ "MIT" ]
null
null
null
include/Cursor.hpp
psx95/collaborative-text-editor
457fee0c9aebf874e0ee3ac0a505220a7b493189
[ "MIT" ]
1
2021-04-30T17:51:44.000Z
2021-04-30T17:51:44.000Z
// // Created by psx95 on 11/16/20. // #ifndef COLLABORATIVE_TEXT_EDITOR_SRC_EDITOR_CURSOR_HPP_ #define COLLABORATIVE_TEXT_EDITOR_SRC_EDITOR_CURSOR_HPP_ #include <SFML/Graphics/RenderWindow.hpp> // This class represents the visual cursor and is mainly responsible for maintaining the cursor's properties. class Cursor ...
32.444444
120
0.729452
psx95
709d592649afac61f050fa5227869697e4a9f602
8,213
cxx
C++
main/svx/source/xoutdev/xtable.cxx
jimjag/openoffice
74746a22d8cc22b031b00fcd106f4496bf936c77
[ "Apache-2.0" ]
1
2019-12-27T19:25:34.000Z
2019-12-27T19:25:34.000Z
main/svx/source/xoutdev/xtable.cxx
ackza/openoffice
d49dfe9c625750e261c7ed8d6ccac8d361bf3418
[ "Apache-2.0" ]
1
2019-11-25T03:08:58.000Z
2019-11-25T03:08:58.000Z
main/svx/source/xoutdev/xtable.cxx
ackza/openoffice
d49dfe9c625750e261c7ed8d6ccac8d361bf3418
[ "Apache-2.0" ]
6
2019-11-19T00:28:25.000Z
2019-11-22T06:48:49.000Z
/************************************************************** * * 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 y...
24.227139
97
0.600755
jimjag
709e230203cd1d81c6db17113c269d5e0367b10e
4,952
cxx
C++
Servers/ServerManager/vtkSMProxyUnRegisterUndoElement.cxx
certik/paraview
973d37b466552ce770ac0674f30040bb7e31d7fe
[ "BSD-3-Clause" ]
1
2016-05-09T00:36:44.000Z
2016-05-09T00:36:44.000Z
Servers/ServerManager/vtkSMProxyUnRegisterUndoElement.cxx
certik/paraview
973d37b466552ce770ac0674f30040bb7e31d7fe
[ "BSD-3-Clause" ]
null
null
null
Servers/ServerManager/vtkSMProxyUnRegisterUndoElement.cxx
certik/paraview
973d37b466552ce770ac0674f30040bb7e31d7fe
[ "BSD-3-Clause" ]
3
2015-05-14T21:18:53.000Z
2022-03-07T02:53:45.000Z
/*========================================================================= Program: ParaView Module: $RCSfile: vtkSMProxyUnRegisterUndoElement.cxx,v $ Copyright (c) Kitware, Inc. All rights reserved. See Copyright.txt or http://www.paraview.org/HTML/Copyright.html for details. This software is d...
30.012121
79
0.608845
certik
709e7b3cacc4bf203dafa5c2db81bbfd574ca79f
2,214
cxx
C++
src/Core/Common/FilterImageWithoutCopying/Code.cxx
kian-weimer/ITKSphinxExamples
ff614cbba28831d1bf2a0cfaa5a2f1949a627c1b
[ "Apache-2.0" ]
34
2015-01-26T19:38:36.000Z
2021-02-04T02:15:41.000Z
src/Core/Common/FilterImageWithoutCopying/Code.cxx
kian-weimer/ITKSphinxExamples
ff614cbba28831d1bf2a0cfaa5a2f1949a627c1b
[ "Apache-2.0" ]
142
2016-01-22T15:59:25.000Z
2021-03-17T15:11:19.000Z
src/Core/Common/FilterImageWithoutCopying/Code.cxx
kian-weimer/ITKSphinxExamples
ff614cbba28831d1bf2a0cfaa5a2f1949a627c1b
[ "Apache-2.0" ]
32
2015-01-26T19:38:41.000Z
2021-03-17T15:28:14.000Z
/*========================================================================= * * Copyright NumFOCUS * * 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.or...
29.52
77
0.64047
kian-weimer
70a41f3e7e6094ba3f2011602b382d0a4fe616e4
604
cpp
C++
HW2/hw2HickeyThomas.cpp
tomhickey888/CS3403-DataStructures
c33fc1ae75b5857682b295fdb0b6942294c315a4
[ "MIT" ]
1
2021-06-18T00:45:55.000Z
2021-06-18T00:45:55.000Z
HW2/hw2HickeyThomas.cpp
tomhickey888/CS3403-DataStructures
c33fc1ae75b5857682b295fdb0b6942294c315a4
[ "MIT" ]
null
null
null
HW2/hw2HickeyThomas.cpp
tomhickey888/CS3403-DataStructures
c33fc1ae75b5857682b295fdb0b6942294c315a4
[ "MIT" ]
null
null
null
#include "ListNode.H" int main() { //Create an array to store the random numbers int randomlist[n]; //Generate the random numbers into the array and print the array to console and a file output.txt generateRandoms(randomlist); //Pass each number in the array into the function to add it to the linked list ...
24.16
98
0.72351
tomhickey888
70a4ebbeceb2c7b3392a966fce37f66fb1c24acb
2,751
cpp
C++
out/euler11.cpp
FardaleM/metalang
171557c540f3e2c051ec39ea150afb740c1f615f
[ "BSD-2-Clause" ]
22
2017-04-24T10:00:45.000Z
2021-04-01T10:11:05.000Z
out/euler11.cpp
FardaleM/metalang
171557c540f3e2c051ec39ea150afb740c1f615f
[ "BSD-2-Clause" ]
12
2017-03-26T18:34:21.000Z
2019-03-21T19:13:03.000Z
out/euler11.cpp
FardaleM/metalang
171557c540f3e2c051ec39ea150afb740c1f615f
[ "BSD-2-Clause" ]
7
2017-10-14T13:33:33.000Z
2021-03-18T15:18:50.000Z
#include <iostream> #include <vector> #include <algorithm> template <typename T> std::vector<std::vector<T>> read_matrix(int l, int c) { std::vector<std::vector<T>> matrix(l, std::vector<T>(c)); for (std::vector<T>& line : matrix) for (T& elem : line) std::cin >> elem; return matrix; } ...
27.51
81
0.457288
FardaleM
70a5d8706433f4e2bbb4553aaa4419a9184bfaa9
6,456
cpp
C++
libs/libupmq/transport/SimplePriorityMessageDispatchChannel.cpp
ivk-jsc/broker
8f43d85f115d605aac9d5b5875ccecc0c54d3217
[ "Apache-2.0" ]
10
2019-10-31T14:36:01.000Z
2022-02-25T13:47:23.000Z
libs/libupmq/transport/SimplePriorityMessageDispatchChannel.cpp
ivk-jsc/broker
8f43d85f115d605aac9d5b5875ccecc0c54d3217
[ "Apache-2.0" ]
6
2019-11-07T14:55:50.000Z
2021-03-03T09:31:35.000Z
libs/libupmq/transport/SimplePriorityMessageDispatchChannel.cpp
ivk-jsc/broker
8f43d85f115d605aac9d5b5875ccecc0c54d3217
[ "Apache-2.0" ]
3
2019-11-07T14:23:33.000Z
2020-11-05T18:35:16.000Z
/* * Copyright 2014-present IVK JSC. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
30.597156
115
0.52246
ivk-jsc
70a8eeac396e22b487ee2ce7e7cb8455947bea78
7,281
cc
C++
src/glasgow_clique_solver.cc
KyleBurns/bigraph-stuff
a17db9566343a8cc21bb9192156534dbf1c7c85e
[ "MIT" ]
null
null
null
src/glasgow_clique_solver.cc
KyleBurns/bigraph-stuff
a17db9566343a8cc21bb9192156534dbf1c7c85e
[ "MIT" ]
null
null
null
src/glasgow_clique_solver.cc
KyleBurns/bigraph-stuff
a17db9566343a8cc21bb9192156534dbf1c7c85e
[ "MIT" ]
null
null
null
/* vim: set sw=4 sts=4 et foldmethod=syntax : */ #include "formats/read_file_format.hh" #include "clique.hh" #include "configuration.hh" #include <boost/program_options.hpp> #include <chrono> #include <cstdlib> #include <ctime> #include <exception> #include <iomanip> #include <iostream> #include <memory> #include <o...
35.691176
135
0.586458
KyleBurns
70aa7f7e4ea1662eef2fc5fde42203be076dcd5a
633
cpp
C++
code/ch15/15.1.1.assign-cookies.cpp
leetcode-pp/leetcode-pp1
a1f9e46fdd2f480d2fcb94e76370e040e0f0a4f5
[ "MIT" ]
22
2021-02-23T13:42:28.000Z
2022-03-02T11:19:28.000Z
code/ch15/15.1.1.assign-cookies.cpp
leetcode-pp/leetcode-pp1
a1f9e46fdd2f480d2fcb94e76370e040e0f0a4f5
[ "MIT" ]
9
2021-06-16T10:42:01.000Z
2021-08-24T09:06:29.000Z
code/ch15/15.1.1.assign-cookies.cpp
leetcode-pp/leetcode-pp1
a1f9e46fdd2f480d2fcb94e76370e040e0f0a4f5
[ "MIT" ]
9
2021-02-20T08:29:00.000Z
2021-09-18T08:52:25.000Z
class Solution { public: int findContentChildren(vector<int>& g, vector<int>& s) { // 对孩子胃口以及饼干排序 sort(g.begin(), g.end()); sort(s.begin(), s.end()); int ans = 0; // 饼干下标 int idx = 0; // 遍历每个孩子 for (int i = 0; i < g.size(); i++) { ...
25.32
62
0.311216
leetcode-pp
70aa81247916a1e9793565f730b8cb361430bb4b
4,570
cpp
C++
PeteBrown.Devices.Midi/PeteBrown.Devices.Midi/MidiClockGenerator.cpp
Psychlist1972/Windows-10-MIDI-Library
a7b0390fea19407b168870480927678624d46c12
[ "MIT" ]
29
2016-08-11T12:34:37.000Z
2022-03-31T00:25:54.000Z
PeteBrown.Devices.Midi/PeteBrown.Devices.Midi/MidiClockGenerator.cpp
SeYoungLee/Windows-10-MIDI-Library
a7b0390fea19407b168870480927678624d46c12
[ "MIT" ]
4
2017-04-28T18:53:03.000Z
2020-12-03T13:09:02.000Z
PeteBrown.Devices.Midi/PeteBrown.Devices.Midi/MidiClockGenerator.cpp
SeYoungLee/Windows-10-MIDI-Library
a7b0390fea19407b168870480927678624d46c12
[ "MIT" ]
5
2016-08-11T14:41:48.000Z
2021-09-26T13:34:20.000Z
#include "pch.h" #include "MidiClockGenerator.h" #include <Windows.h> #include <tchar.h> #include <collection.h> using namespace PeteBrown::Devices::Midi; using namespace Platform; using namespace Platform::Collections; using namespace Windows::Devices::Midi; using namespace Windows::Foundation; using namespace Wi...
25.530726
127
0.694092
Psychlist1972
70aa934cadd0154f49c5260bced19569cd023dc7
5,829
cpp
C++
libnd4j/include/helpers/impl/ShapeBuilders.cpp
steven-lang/deeplearning4j
979ef13c0b28565800fc651693102d7bd2bf52c9
[ "Apache-2.0" ]
1
2019-10-14T06:55:41.000Z
2019-10-14T06:55:41.000Z
libnd4j/include/helpers/impl/ShapeBuilders.cpp
steven-lang/deeplearning4j
979ef13c0b28565800fc651693102d7bd2bf52c9
[ "Apache-2.0" ]
80
2019-08-01T19:41:52.000Z
2021-08-02T16:57:51.000Z
libnd4j/include/helpers/impl/ShapeBuilders.cpp
steven-lang/deeplearning4j
979ef13c0b28565800fc651693102d7bd2bf52c9
[ "Apache-2.0" ]
null
null
null
/******************************************************************************* * Copyright (c) 2015-2018 Skymind, Inc. * * This program and the accompanying materials are made available under the * terms of the Apache License, Version 2.0 which is available at * https://www.apache.org/licenses/LICENSE-2.0. * *...
40.762238
175
0.597873
steven-lang
70ad9195e3864f8cb0cddf3a4810b5d08c8c6439
9,492
cpp
C++
dev/Gems/Gestures/Code/Source/GestureRecognizerRotateFlowNode.cpp
crazyskateface/lumberyard
164512f8d415d6bdf37e195af319ffe5f96a8f0b
[ "AML" ]
5
2018-08-17T21:05:55.000Z
2021-04-17T10:48:26.000Z
dev/Gems/Gestures/Code/Source/GestureRecognizerRotateFlowNode.cpp
crazyskateface/lumberyard
164512f8d415d6bdf37e195af319ffe5f96a8f0b
[ "AML" ]
null
null
null
dev/Gems/Gestures/Code/Source/GestureRecognizerRotateFlowNode.cpp
crazyskateface/lumberyard
164512f8d415d6bdf37e195af319ffe5f96a8f0b
[ "AML" ]
5
2017-12-05T16:36:00.000Z
2021-04-27T06:33:54.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 below or t...
41.449782
228
0.516013
crazyskateface
70adeae6801ad10c9eaef7286ad8d8672a350cc1
284
cpp
C++
Lectures/Lecture5/stringConcatenation.cpp
Emin-Abdurahmanov/BasicsOfProgramming
0742b1639170c81047a36ead989df29fdfcf6fba
[ "MIT" ]
1
2021-11-12T13:11:22.000Z
2021-11-12T13:11:22.000Z
Lectures/Lecture5/stringConcatenation.cpp
Emin-Abdurahmanov/BasicsOfProgramming
0742b1639170c81047a36ead989df29fdfcf6fba
[ "MIT" ]
null
null
null
Lectures/Lecture5/stringConcatenation.cpp
Emin-Abdurahmanov/BasicsOfProgramming
0742b1639170c81047a36ead989df29fdfcf6fba
[ "MIT" ]
null
null
null
#include <iostream> #include <string> using namespace std; int main(int argc, char** argv) { string sentence = "Hello"; string name; cout << "Type your name please.\n"; cin >> name; sentence = sentence + " "; sentence += name; cout << sentence; return 0; }
16.705882
37
0.609155
Emin-Abdurahmanov
70af95592aa562684f8aa09e857778d3849e119a
27,071
cpp
C++
lib/Target/Mips/MicroMipsSizeReduction.cpp
URSec/Silhouette-Compiler-Legacy
28b37f3617c5543a87537decc074b168f4803d87
[ "Apache-2.0" ]
938
2015-12-03T16:45:43.000Z
2022-03-17T20:28:02.000Z
lib/Target/Mips/MicroMipsSizeReduction.cpp
URSec/Silhouette-Compiler-Legacy
28b37f3617c5543a87537decc074b168f4803d87
[ "Apache-2.0" ]
127
2015-12-03T21:42:53.000Z
2019-11-21T14:34:20.000Z
lib/Target/Mips/MicroMipsSizeReduction.cpp
URSec/Silhouette-Compiler-Legacy
28b37f3617c5543a87537decc074b168f4803d87
[ "Apache-2.0" ]
280
2015-12-03T16:51:35.000Z
2022-01-24T00:01:54.000Z
//=== MicroMipsSizeReduction.cpp - MicroMips size reduction pass --------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===-----------------------------...
33.923559
80
0.672823
URSec
70b251881aebf9669a7c0a84430b4268a17be44e
891
cpp
C++
Sonic.cpp
DaCao/Sonic
0bc327b97560c83cb6cc22b2b2a1e399554194d8
[ "MIT" ]
2
2018-09-19T08:58:06.000Z
2022-03-25T00:42:18.000Z
Sonic.cpp
brandon999/Sonic
2f2b81b94c875b157e195b984a22629a638b2013
[ "MIT" ]
null
null
null
Sonic.cpp
brandon999/Sonic
2f2b81b94c875b157e195b984a22629a638b2013
[ "MIT" ]
null
null
null
// // Sonic.cpp // Demo // // Created by Philadelphia Game Lab on 8/8/14. // Copyright (c) 2014 Philadelphia Game Lab. All rights reserved. // #include "Sonic.h" void Sonic::createWorld() { Sonic::cau = new CustomAudioUnit(); } AudioObj* Sonic::addAudioObject(string wavFileName, VariableForLocation x, Variab...
18.957447
120
0.695847
DaCao
70b582f0d8201e071d19dfe18081e57325afe730
7,646
cpp
C++
src/object_stores/MongoDBClient.cpp
akougkas/iris
ae8b077afa6cec7ce3ea845dc7caad9b5e105c9d
[ "Apache-2.0" ]
1
2019-04-06T08:43:15.000Z
2019-04-06T08:43:15.000Z
src/object_stores/MongoDBClient.cpp
akougkas/iris
ae8b077afa6cec7ce3ea845dc7caad9b5e105c9d
[ "Apache-2.0" ]
1
2019-04-15T09:49:13.000Z
2019-04-15T09:49:13.000Z
src/object_stores/MongoDBClient.cpp
akougkas/iris
ae8b077afa6cec7ce3ea845dc7caad9b5e105c9d
[ "Apache-2.0" ]
null
null
null
/****************************************************************************** *include files ******************************************************************************/ #include "MongoDBClient.h" #include "../utils/tools/Buffer.h" #include <mpi.h> #include <bsoncxx/builder/basic/document.hpp> #include <mongocxx/l...
36.759615
101
0.575595
akougkas
70b6622b7b0545debb49eb0ae1152d2d8ed7c1d3
1,567
hpp
C++
include/oalplus/error/al.hpp
Extrunder/oglplus
c7c8266a1571d0b4c8b02d9c8ca6a7b6a6f51791
[ "BSL-1.0" ]
459
2016-03-16T04:11:37.000Z
2022-03-31T08:05:21.000Z
include/oalplus/error/al.hpp
Extrunder/oglplus
c7c8266a1571d0b4c8b02d9c8ca6a7b6a6f51791
[ "BSL-1.0" ]
2
2016-08-08T18:26:27.000Z
2017-05-08T23:42:22.000Z
include/oalplus/error/al.hpp
Extrunder/oglplus
c7c8266a1571d0b4c8b02d9c8ca6a7b6a6f51791
[ "BSL-1.0" ]
47
2016-05-31T15:55:52.000Z
2022-03-28T14:49:40.000Z
/** * @file oalplus/error/al.hpp * @brief Declaration of OALplus' OpenAL exceptions * * @author Matus Chochlik * * Copyright 2010-2015 Matus Chochlik. Distributed under the Boost * Software License, Version 1.0. (See accompanying file * LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) */ ...
21.763889
68
0.749202
Extrunder
70b9b14cbcc84ff01089cbcdfd1c858fb6d1a5eb
433
cpp
C++
OOP_nanotekspice_2018/main.cpp
ltabis/epitech-projects
e38b3f00a4ac44c969d5e4880cd65084dc2c870a
[ "MIT" ]
null
null
null
OOP_nanotekspice_2018/main.cpp
ltabis/epitech-projects
e38b3f00a4ac44c969d5e4880cd65084dc2c870a
[ "MIT" ]
null
null
null
OOP_nanotekspice_2018/main.cpp
ltabis/epitech-projects
e38b3f00a4ac44c969d5e4880cd65084dc2c870a
[ "MIT" ]
1
2021-01-07T17:41:14.000Z
2021-01-07T17:41:14.000Z
/* ** EPITECH PROJECT, 2019 ** main.hpp ** File description: ** main class */ #include "Errors.hpp" #include "Parser.hpp" #include "Shell.hpp" int main(int ac, char **av) { if (ac < 2) { std::cerr << "No file selected." << std::endl; return 84; } Parser p(av[1]); crc::Circuit c; Sh...
16.037037
54
0.540416
ltabis
70baa52af3d2484fd19e3bffe73c7ab1b48b33c6
11,777
cpp
C++
src/factory/ImageFactory.cpp
menshiva/ascii-art-terminal
798a479d691de462d5fdfc1e4b6ed9d603d80059
[ "Apache-2.0" ]
1
2021-12-05T21:19:17.000Z
2021-12-05T21:19:17.000Z
src/factory/ImageFactory.cpp
menshiva/ascii-art-terminal
798a479d691de462d5fdfc1e4b6ed9d603d80059
[ "Apache-2.0" ]
null
null
null
src/factory/ImageFactory.cpp
menshiva/ascii-art-terminal
798a479d691de462d5fdfc1e4b6ed9d603d80059
[ "Apache-2.0" ]
null
null
null
#include "ImageFactory.hpp" ImageFactory::ImageFactory() : grayscaleLevel(AsciiConsts::DEFAULT_GRAYSCALE_LEVEL) {} ImageFactory::~ImageFactory() { for (Image *img : images) delete img; } const std::vector<Image *> &ImageFactory::getAllImages() const { return images; } bool ImageFactory::readImage() { //...
33.841954
113
0.491127
menshiva
70bbb0ffa78572428e009607f27c736fffccb493
1,891
cc
C++
chrome/installer/setup/user_hive_visitor_unittest.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
chrome/installer/setup/user_hive_visitor_unittest.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
chrome/installer/setup/user_hive_visitor_unittest.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
2
2021-01-05T23:43:46.000Z
2021-01-07T23:36:34.000Z
// Copyright 2016 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/installer/setup/user_hive_visitor.h" #include <vector> #include "base/bind.h" #include "base/macros.h" #include "base/strings/string16....
26.633803
80
0.710206
sarang-apps
70bbfc7269fc348d17b9b01791ee699a2a733b65
2,375
cpp
C++
test/Tools/TestScene.cpp
kostrykin/Carna
099783bb7f8a6f52fcc8ccd4666e491cf0aa864c
[ "BSD-3-Clause" ]
null
null
null
test/Tools/TestScene.cpp
kostrykin/Carna
099783bb7f8a6f52fcc8ccd4666e491cf0aa864c
[ "BSD-3-Clause" ]
null
null
null
test/Tools/TestScene.cpp
kostrykin/Carna
099783bb7f8a6f52fcc8ccd4666e491cf0aa864c
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright (C) 2010 - 2015 Leonid Kostrykin * * Chair of Medical Engineering (mediTEC) * RWTH Aachen University * Pauwelsstr. 20 * 52074 Aachen * Germany * */ #include <TestScene.h> #include <HUGZSceneFactory.h> #include <Carna/base/Node.h> #include <Carna/base/math.h> #include <Carna/base/Camera.h>...
21.990741
122
0.615579
kostrykin
70bd26fd4b5b5c4953cf605176a667339b759959
490
hpp
C++
Tools/RegistersGenerator/Msp432P401Y/BitsField/compe1bitsfield.hpp
snorkysnark/CortexLib
0db035332ebdfbebf21ca36e5e04b78a5a908a49
[ "MIT" ]
22
2019-09-07T22:38:01.000Z
2022-01-31T21:35:55.000Z
Tools/RegistersGenerator/Msp432P401Y/BitsField/compe1bitsfield.hpp
snorkysnark/CortexLib
0db035332ebdfbebf21ca36e5e04b78a5a908a49
[ "MIT" ]
null
null
null
Tools/RegistersGenerator/Msp432P401Y/BitsField/compe1bitsfield.hpp
snorkysnark/CortexLib
0db035332ebdfbebf21ca36e5e04b78a5a908a49
[ "MIT" ]
9
2019-09-22T11:26:24.000Z
2022-03-21T10:53:15.000Z
/******************************************************************************* * Filename : compe1bitsfield.hpp * * Details : Enumerations related with COMP_E1 peripheral. This header file * is auto-generated for MSP432P401Y device. * * ******************************************************...
30.625
80
0.465306
snorkysnark
70bd544850adddc8f8af80216c2266d4d4250718
5,078
cpp
C++
test/unit-tests/coap-dispatcher-test.cpp
moducom/mc-coap
d77e5be89d6f7a08ecfa1929aaa49cb6ce2ae2ae
[ "MIT" ]
1
2018-06-01T01:27:57.000Z
2018-06-01T01:27:57.000Z
test/unit-tests/coap-dispatcher-test.cpp
moducom/mc-coap
d77e5be89d6f7a08ecfa1929aaa49cb6ce2ae2ae
[ "MIT" ]
null
null
null
test/unit-tests/coap-dispatcher-test.cpp
moducom/mc-coap
d77e5be89d6f7a08ecfa1929aaa49cb6ce2ae2ae
[ "MIT" ]
null
null
null
// // Created by malachi on 12/27/17. // // 12/4/2019: OBSOLETE - using prior / unrealized dispatcher flavor (function pointer/virtual based) // rather than newer embr subject-observer style #include <catch.hpp> #include <obsolete/coap-dispatcher.h> #include "coap-uripath-dispatcher.h" #include "test-data.h" #include...
27.748634
100
0.729618
moducom
70bd62b1b26a7f3b488c934a4cca26b575fc39fb
9,929
cc
C++
src/dsp/arm/intrapred_filter_neon.cc
jbeich/libgav1
a65020e665c2cf76651b50b6626c1baa61a5c718
[ "Apache-2.0" ]
null
null
null
src/dsp/arm/intrapred_filter_neon.cc
jbeich/libgav1
a65020e665c2cf76651b50b6626c1baa61a5c718
[ "Apache-2.0" ]
null
null
null
src/dsp/arm/intrapred_filter_neon.cc
jbeich/libgav1
a65020e665c2cf76651b50b6626c1baa61a5c718
[ "Apache-2.0" ]
null
null
null
// Copyright 2021 The libgav1 Authors // // 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 agre...
32.34202
80
0.545674
jbeich
70bf573f02db7ed446afdade3ecb4fd0ce8c32ed
6,577
cc
C++
content/ppapi_plugin/ppapi_thread.cc
meego-tablet-ux/meego-app-browser
0f4ef17bd4b399c9c990a2f6ca939099495c2b9c
[ "BSD-3-Clause" ]
1
2015-10-12T09:14:22.000Z
2015-10-12T09:14:22.000Z
content/ppapi_plugin/ppapi_thread.cc
meego-tablet-ux/meego-app-browser
0f4ef17bd4b399c9c990a2f6ca939099495c2b9c
[ "BSD-3-Clause" ]
null
null
null
content/ppapi_plugin/ppapi_thread.cc
meego-tablet-ux/meego-app-browser
0f4ef17bd4b399c9c990a2f6ca939099495c2b9c
[ "BSD-3-Clause" ]
1
2020-11-04T07:22:28.000Z
2020-11-04T07:22:28.000Z
// Copyright (c) 2011 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/ppapi_plugin/ppapi_thread.h" #include <limits> #include "base/process_util.h" #include "base/rand_util.h" #include "content/common...
35.939891
80
0.68253
meego-tablet-ux
70c07d457a65d33114a4cb889ff9ebc7acda80f5
362,934
cc
C++
tests/ut/ge/common/format_transfer_fractal_nz_unittest.cc
Ascend/graphengine
45d6a09b12a07eb3c854452f83dab993eba79716
[ "Apache-2.0" ]
null
null
null
tests/ut/ge/common/format_transfer_fractal_nz_unittest.cc
Ascend/graphengine
45d6a09b12a07eb3c854452f83dab993eba79716
[ "Apache-2.0" ]
null
null
null
tests/ut/ge/common/format_transfer_fractal_nz_unittest.cc
Ascend/graphengine
45d6a09b12a07eb3c854452f83dab993eba79716
[ "Apache-2.0" ]
null
null
null
/** * Copyright 2019-2020 Huawei Technologies 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 applicabl...
39.475092
120
0.371423
Ascend
70c0a5ada1bfc5e3a621981fe9bd6ba9e92945af
1,932
cpp
C++
src/pic.cpp
Codesmith512/Apex
c230c53ab8f32a5371dcf7b40d25fa9fbb85ac6b
[ "MIT" ]
1
2021-04-01T09:34:26.000Z
2021-04-01T09:34:26.000Z
src/pic.cpp
Codesmith512/Apex
c230c53ab8f32a5371dcf7b40d25fa9fbb85ac6b
[ "MIT" ]
null
null
null
src/pic.cpp
Codesmith512/Apex
c230c53ab8f32a5371dcf7b40d25fa9fbb85ac6b
[ "MIT" ]
null
null
null
#include "pic" #include "interrupts" #include "ports" #define PIC1_CMD 0x20 #define PIC1_DATA 0x21 #define PIC2_CMD 0xa0 #define PIC2_DATA 0xa1 /** Enables the PIC, but with all IRQs masked */ void pic::initialize() { /* Initialization Command */ ports::out_8(PIC1_CMD, 0x11); ports::io_wait(); ports::o...
22.729412
94
0.65735
Codesmith512
70c0ad65fa5ebbd91e9cb6ab1915806c109233f6
7,870
cpp
C++
src/src/test.cpp
jcleng/nix-kangle-3.5.13.2
cc7bbaa429ada9a7eb7a023a152b6e2fc5defe3f
[ "MIT" ]
null
null
null
src/src/test.cpp
jcleng/nix-kangle-3.5.13.2
cc7bbaa429ada9a7eb7a023a152b6e2fc5defe3f
[ "MIT" ]
null
null
null
src/src/test.cpp
jcleng/nix-kangle-3.5.13.2
cc7bbaa429ada9a7eb7a023a152b6e2fc5defe3f
[ "MIT" ]
null
null
null
/* * test.cpp * * Created on: 2010-5-31 * Author: keengo * * Copyright (c) 2010, NanChang BangTeng Inc * All Rights Reserved. * * You may use the Software for free for non-commercial use * under the License Restrictions. * * You may modify the source code(if being provieded) or interface * of the Sof...
25.973597
146
0.658196
jcleng
70c22245464a0233b7ea09a06ddecf41d2064596
2,325
cc
C++
lua/runtime/lua_runtime.cc
Alcanderian/ppl.nn
e127cf6dda87412bc9bb551da6aa5d29d7ca22fd
[ "Apache-2.0" ]
2
2021-09-14T03:00:04.000Z
2021-11-18T07:29:44.000Z
lua/runtime/lua_runtime.cc
Alcanderian/ppl.nn
e127cf6dda87412bc9bb551da6aa5d29d7ca22fd
[ "Apache-2.0" ]
1
2021-12-20T11:04:17.000Z
2021-12-20T11:04:17.000Z
lua/runtime/lua_runtime.cc
Alcanderian/ppl.nn
e127cf6dda87412bc9bb551da6aa5d29d7ca22fd
[ "Apache-2.0" ]
null
null
null
// 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 the Apache License, Version 2.0 (the // "License"); you may...
40.086207
117
0.664516
Alcanderian
70c2909bc97ac18f6f1d6ca2ec85c70004fc3edc
58,861
cpp
C++
src/OutputFile.cpp
RemiMattheyDoret/SimBit
ed0e64c0abb97c6c889bc0adeec1277cbc6cbe43
[ "MIT" ]
11
2017-06-06T23:02:48.000Z
2021-08-17T20:13:05.000Z
src/OutputFile.cpp
RemiMattheyDoret/SimBit
ed0e64c0abb97c6c889bc0adeec1277cbc6cbe43
[ "MIT" ]
1
2017-06-06T23:08:05.000Z
2017-06-07T09:28:08.000Z
src/OutputFile.cpp
RemiMattheyDoret/SimBit
ed0e64c0abb97c6c889bc0adeec1277cbc6cbe43
[ "MIT" ]
null
null
null
/* Author: Remi Matthey-Doret MIT License Copyright (c) 2017 Remi Matthey-Doret 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 limit...
36.996229
638
0.598529
RemiMattheyDoret
70c4aec7124fd496c7e8b08c826ab103414b6bd5
35,331
cpp
C++
src/core/dist_matrix/star_md.cpp
ahmadia/Elemental-1
f9a82c76a06728e9e04a4316e41803efbadb5a19
[ "BSD-3-Clause" ]
null
null
null
src/core/dist_matrix/star_md.cpp
ahmadia/Elemental-1
f9a82c76a06728e9e04a4316e41803efbadb5a19
[ "BSD-3-Clause" ]
null
null
null
src/core/dist_matrix/star_md.cpp
ahmadia/Elemental-1
f9a82c76a06728e9e04a4316e41803efbadb5a19
[ "BSD-3-Clause" ]
null
null
null
/* Copyright (c) 2009-2013, Jack Poulson All rights reserved. This file is part of Elemental and is under the BSD 2-Clause License, which can be found in the LICENSE file in the root directory, or at http://opensource.org/licenses/BSD-2-Clause */ #include "elemental-lite.hpp" namespace elem { templa...
33.809569
115
0.644222
ahmadia
70c769f64e05113a4ae9b96ddfee28b02f979c06
1,352
cpp
C++
Flight computer/Software/Custom board files for flight computer/1.5.9/libraries/USBHost/src/KeyboardController.cpp
roguextech/ImperialSpaceSociety-Project-Mach-1
fddfea7d23f79ada074fca03657da883253f3282
[ "Unlicense", "MIT" ]
20
2015-11-11T10:21:45.000Z
2019-05-07T02:51:12.000Z
Flight computer/Software/Custom board files for flight computer/1.5.9/libraries/USBHost/src/KeyboardController.cpp
roguextech/ImperialSpaceSociety-Project-Mach-1
fddfea7d23f79ada074fca03657da883253f3282
[ "Unlicense", "MIT" ]
31
2021-06-18T00:58:25.000Z
2021-06-26T03:19:14.000Z
Flight computer/Software/Custom board files for flight computer/1.5.9/libraries/USBHost/src/KeyboardController.cpp
roguextech/ImperialSpaceSociety-Project-Mach-1
fddfea7d23f79ada074fca03657da883253f3282
[ "Unlicense", "MIT" ]
80
2015-09-28T09:47:00.000Z
2020-02-04T16:04:04.000Z
/* Copyright (c) 2012 Arduino. All right reserved. 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. This librar...
32.97561
86
0.765533
roguextech
70c912c728b318119c33e8cda2880a02a2410278
855
cpp
C++
test/unit/concepts/object/movable.cpp
cjdb/clang-concepts-ranges
7019754e97c8f3863035db74de62004ae3814954
[ "Apache-2.0" ]
4
2019-03-02T01:09:07.000Z
2019-10-16T15:46:21.000Z
test/unit/concepts/object/movable.cpp
cjdb/cjdb-ranges
7019754e97c8f3863035db74de62004ae3814954
[ "Apache-2.0" ]
5
2019-11-29T12:23:55.000Z
2019-12-14T13:03:00.000Z
test/unit/concepts/object/movable.cpp
cjdb/clang-concepts-ranges
7019754e97c8f3863035db74de62004ae3814954
[ "Apache-2.0" ]
3
2020-06-08T18:27:28.000Z
2021-03-27T17:49:46.000Z
// Copyright Casey Carter // // Use, modification and distribution is subject to the // Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) // // Derived from: https://github.com/caseycarter/cmcstl2 // Project home: https://github.com/c...
30.535714
62
0.747368
cjdb
70c9a0ad80a4b478dd8bd564fa33e9309bc5f8e5
817
hpp
C++
src/database/kernels/xger/xger.hpp
vbkaisetsu/CLBlast
441373c8fd1442cc4c024e59e7778b4811eb210c
[ "Apache-2.0" ]
null
null
null
src/database/kernels/xger/xger.hpp
vbkaisetsu/CLBlast
441373c8fd1442cc4c024e59e7778b4811eb210c
[ "Apache-2.0" ]
null
null
null
src/database/kernels/xger/xger.hpp
vbkaisetsu/CLBlast
441373c8fd1442cc4c024e59e7778b4811eb210c
[ "Apache-2.0" ]
1
2020-09-09T21:04:21.000Z
2020-09-09T21:04:21.000Z
// ================================================================================================= // This file is part of the CLBlast project. The project is licensed under Apache Version 2.0. It // is auto-generated by the 'scripts/database/database.py' Python script. // // This file populates the database with be...
35.521739
100
0.599755
vbkaisetsu
70c9a5d535d3ccf3a44720dc282ec6a2dc50d46d
7,001
cpp
C++
mod/vulkan/VulkanTexture.cpp
Lyatus/L
0b594d722200d5ee0198b5d7b9ee72a5d1e12611
[ "Unlicense" ]
45
2018-08-24T12:57:38.000Z
2021-11-12T11:21:49.000Z
mod/vulkan/VulkanTexture.cpp
Lyatus/L
0b594d722200d5ee0198b5d7b9ee72a5d1e12611
[ "Unlicense" ]
null
null
null
mod/vulkan/VulkanTexture.cpp
Lyatus/L
0b594d722200d5ee0198b5d7b9ee72a5d1e12611
[ "Unlicense" ]
4
2019-09-16T02:48:42.000Z
2020-07-10T03:50:31.000Z
#include "VulkanRenderer.h" #include <string.h> #include "VulkanBuffer.h" using namespace L; static void transition_layout(VulkanTexture* tex, VkCommandBuffer cmd_buffer, VkImageLayout new_layout) { VkImageMemoryBarrier barrier = {}; barrier.sType = VK_STRUCTURE_TYPE_IMAGE_MEMORY_BARRIER; barrier.oldLayout = ...
40.468208
138
0.783031
Lyatus
70cb4c8e7bb1362e74699611074c0954c4bd0e63
722
hpp
C++
include/tao/pq/internal/demangle.hpp
huzaifanazir/taopq
8f939d33840f14d7c08311729745fe7bb8cd9898
[ "BSL-1.0" ]
69
2016-08-05T19:16:04.000Z
2018-11-24T15:13:46.000Z
include/tao/pq/internal/demangle.hpp
huzaifanazir/taopq
8f939d33840f14d7c08311729745fe7bb8cd9898
[ "BSL-1.0" ]
13
2016-11-24T16:42:28.000Z
2018-09-11T18:55:40.000Z
include/tao/pq/internal/demangle.hpp
huzaifanazir/taopq
8f939d33840f14d7c08311729745fe7bb8cd9898
[ "BSL-1.0" ]
13
2016-09-22T17:31:10.000Z
2018-10-18T02:56:49.000Z
// Copyright (c) 2016-2022 Daniel Frey and Dr. Colin Hirsch // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at https://www.boost.org/LICENSE_1_0.txt) #ifndef TAO_PQ_INTERNAL_DEMANGLE_HPP #define TAO_PQ_INTERNAL_DEMANGLE_HPP #include <string> #include <ty...
24.896552
91
0.699446
huzaifanazir
70cbc0d795546bc14e2fada671cf7033d836aff1
14,550
cpp
C++
stop_and_wait_plugin/src/stop_and_wait_plugin.cpp
usdot-fhwa-stol/carma-platform
d45a1afbf1efdb0b8cd62fcec5a3033b7306df33
[ "Apache-2.0", "CC-BY-4.0", "MIT" ]
112
2020-04-27T17:06:46.000Z
2022-03-31T15:27:14.000Z
stop_and_wait_plugin/src/stop_and_wait_plugin.cpp
usdot-fhwa-stol/carma-platform
d45a1afbf1efdb0b8cd62fcec5a3033b7306df33
[ "Apache-2.0", "CC-BY-4.0", "MIT" ]
982
2020-04-17T11:28:04.000Z
2022-03-31T21:12:19.000Z
stop_and_wait_plugin/src/stop_and_wait_plugin.cpp
usdot-fhwa-stol/carma-platform
d45a1afbf1efdb0b8cd62fcec5a3033b7306df33
[ "Apache-2.0", "CC-BY-4.0", "MIT" ]
57
2020-05-07T15:48:11.000Z
2022-03-09T23:31:45.000Z
/* * Copyright (C) 2019-2020 LEIDOS. * * 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...
38.594164
172
0.722337
usdot-fhwa-stol
70cbcd465983e7bd707d7b543b4e0f1fc0c6e2c4
3,264
cc
C++
src/connectivity/wlan/drivers/third_party/broadcom/brcmfmac/sim/test/ifc_query_test.cc
Prajwal-Koirala/fuchsia
ca7ae6c143cd4c10bad9aa1869ffcc24c3e4b795
[ "BSD-2-Clause" ]
2
2021-12-29T10:11:08.000Z
2022-01-04T15:37:09.000Z
src/connectivity/wlan/drivers/third_party/broadcom/brcmfmac/sim/test/ifc_query_test.cc
PlugFox/fuchsia
39afe5230d41628b3c736a6e384393df954968c8
[ "BSD-2-Clause" ]
2
2021-09-19T21:55:09.000Z
2021-12-19T03:34:53.000Z
src/connectivity/wlan/drivers/third_party/broadcom/brcmfmac/sim/test/ifc_query_test.cc
PlugFox/fuchsia
39afe5230d41628b3c736a6e384393df954968c8
[ "BSD-2-Clause" ]
null
null
null
// Copyright 2020 The Fuchsia 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 <fuchsia/hardware/wlan/fullmac/c/banjo.h> #include <fuchsia/hardware/wlan/phyinfo/c/banjo.h> #include <fuchsia/wlan/ieee80211/c/banjo.h> #include <zi...
38.857143
100
0.749387
Prajwal-Koirala
70cdd7e1cbee6c60eeca96464f1c535a594e9792
1,224
cpp
C++
LeetCode/ThousandOne/0463-island_perimeter.cpp
Ginkgo-Biloba/Cpp-Repo1-VS
231c68a055e6bf69a3f7c224e7c0182b67ce5b67
[ "Apache-2.0" ]
null
null
null
LeetCode/ThousandOne/0463-island_perimeter.cpp
Ginkgo-Biloba/Cpp-Repo1-VS
231c68a055e6bf69a3f7c224e7c0182b67ce5b67
[ "Apache-2.0" ]
null
null
null
LeetCode/ThousandOne/0463-island_perimeter.cpp
Ginkgo-Biloba/Cpp-Repo1-VS
231c68a055e6bf69a3f7c224e7c0182b67ce5b67
[ "Apache-2.0" ]
null
null
null
#include "leetcode.hpp" /* 463. 岛屿的周长 给定一个包含 0 和 1 的二维网格地图,其中 1 表示陆地 0 表示水域。 网格中的格子水平和垂直方向相连(对角线方向不相连)。整个网格被水完全包围,但其中恰好有一个岛屿(或者说,一个或多个表示陆地的格子相连组成的岛屿)。 岛屿中没有“湖”(“湖” 指水域在岛屿内部且不和岛屿周围的水相连)。格子是边长为 1 的正方形。网格为长方形,且宽度和高度均不超过 100 。计算这个岛屿的周长。 示例 : 输入: [[0,1,0,0}, [1,1,1,0}, [0,1,0,0}, [1,1,0,0}} 输出: 16 解释: 它的周长是下面图片中的 1...
18.830769
81
0.577614
Ginkgo-Biloba
70ce716e42597346c786920f7378b69a19fcd559
2,347
hpp
C++
include/Game/Game.hpp
darwin-s/nanocraft
dcb8b590fa3310b726529ab5e36b18893f6a3b1f
[ "Apache-2.0" ]
2
2021-08-12T10:05:53.000Z
2021-08-13T16:25:49.000Z
include/Game/Game.hpp
darwin-s/nanocraft
dcb8b590fa3310b726529ab5e36b18893f6a3b1f
[ "Apache-2.0" ]
null
null
null
include/Game/Game.hpp
darwin-s/nanocraft
dcb8b590fa3310b726529ab5e36b18893f6a3b1f
[ "Apache-2.0" ]
null
null
null
// Copyright 2021 Sirbu Dan // // 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...
26.977011
75
0.701321
darwin-s
70d245c549e97b2393db5ceb326d6364924eb2e4
14,329
cpp
C++
pxr/usdImaging/lib/usdImaging/shaderAdapter.cpp
dalgos-adsk/USD
65320d266057ae0a68626217f54a0298ac092799
[ "AML" ]
18
2017-10-28T22:37:48.000Z
2022-01-26T12:00:24.000Z
pxr/usdImaging/lib/usdImaging/shaderAdapter.cpp
piscees/USD
65320d266057ae0a68626217f54a0298ac092799
[ "AML" ]
null
null
null
pxr/usdImaging/lib/usdImaging/shaderAdapter.cpp
piscees/USD
65320d266057ae0a68626217f54a0298ac092799
[ "AML" ]
3
2019-12-03T16:46:14.000Z
2021-08-23T14:56:21.000Z
// // Copyright 2016 Pixar // // Licensed under the Apache License, Version 2.0 (the "Apache License") // with the following modification; you may not use this file except in // compliance with the Apache License and the following modification to it: // Section 6. Trademarks. is deleted and replaced with: // // 6. Trad...
38.210667
86
0.50499
dalgos-adsk
70d2c517ca31ef38a4ad04cba199cc6cf1457bce
710
cpp
C++
Sid's Contests/LeetCode contests/April Challenge/Rotate Image.cpp
Tiger-Team-01/DSA-A-Z-Practice
e08284ffdb1409c08158dd4e90dc75dc3a3c5b18
[ "MIT" ]
14
2021-08-22T18:21:14.000Z
2022-03-08T12:04:23.000Z
Sid's Contests/LeetCode contests/April Challenge/Rotate Image.cpp
Tiger-Team-01/DSA-A-Z-Practice
e08284ffdb1409c08158dd4e90dc75dc3a3c5b18
[ "MIT" ]
1
2021-10-17T18:47:17.000Z
2021-10-17T18:47:17.000Z
Sid's Contests/LeetCode contests/April Challenge/Rotate Image.cpp
Tiger-Team-01/DSA-A-Z-Practice
e08284ffdb1409c08158dd4e90dc75dc3a3c5b18
[ "MIT" ]
5
2021-09-01T08:21:12.000Z
2022-03-09T12:13:39.000Z
class Solution { public: void rotate(vector<vector<int>>& matrix) { //OM GAN GANAPATHAYE NAMO NAMAH //JAI SHRI RAM //JAI BAJRANGBALI //AMME NARAYANA, DEVI NARAYANA, LAKSHMI NARAYANA, BHADRE NARAYANA for(int i = 0; i < matrix.size(); i++) { for(int j = 0...
27.307692
73
0.416901
Tiger-Team-01
70d3ee5fee15a8d2bd123dd25e6fb2ceb64e8e30
17,863
hpp
C++
src/fmtcl/ProxyRwAvx2.hpp
inflation/fmtconv
bf03a8a1a4103c0bdf4b4c23da5b79933876ca4a
[ "WTFPL" ]
null
null
null
src/fmtcl/ProxyRwAvx2.hpp
inflation/fmtconv
bf03a8a1a4103c0bdf4b4c23da5b79933876ca4a
[ "WTFPL" ]
null
null
null
src/fmtcl/ProxyRwAvx2.hpp
inflation/fmtconv
bf03a8a1a4103c0bdf4b4c23da5b79933876ca4a
[ "WTFPL" ]
null
null
null
/***************************************************************************** ProxyRwAvx2.hpp Author: Laurent de Soras, 2015 --- Legal stuff --- This program is free software. It comes without any warranty, to the extent permitted by applicable law. You can redistribute it and/or modify it under the...
34.484556
223
0.689918
inflation
70d529f5d2285b20a267995b35c49010d882a796
7,019
cpp
C++
src/petuum_ps/client/thread_table.cpp
ForrestGan/public
2cada36c4b523cf80f16a4f0d0fdc01166a69df1
[ "BSD-3-Clause" ]
null
null
null
src/petuum_ps/client/thread_table.cpp
ForrestGan/public
2cada36c4b523cf80f16a4f0d0fdc01166a69df1
[ "BSD-3-Clause" ]
null
null
null
src/petuum_ps/client/thread_table.cpp
ForrestGan/public
2cada36c4b523cf80f16a4f0d0fdc01166a69df1
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2014, Sailing Lab // 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 an...
35.449495
78
0.684855
ForrestGan
70d8fc7ab1e54c13ca01b0a32eb2dbce02dc6d8d
2,260
cpp
C++
src/Components/DrawableEntity.cpp
charlieSewell/YOKAI
4fb39975e58e9a49bc984bc6e844721a7ad9462e
[ "MIT" ]
null
null
null
src/Components/DrawableEntity.cpp
charlieSewell/YOKAI
4fb39975e58e9a49bc984bc6e844721a7ad9462e
[ "MIT" ]
null
null
null
src/Components/DrawableEntity.cpp
charlieSewell/YOKAI
4fb39975e58e9a49bc984bc6e844721a7ad9462e
[ "MIT" ]
null
null
null
#include "DrawableEntity.hpp" #include "ImGuizmo.h" DrawableEntity::DrawableEntity(GameObject* parent) : Component(parent), m_offset(1.0f){} void DrawableEntity::Start() { if(m_parent->GetComponent<Transform>() == nullptr) { m_parent->AddComponent<Transform>(); } } void DrawableEntity::Update(floa...
25.393258
148
0.679204
charlieSewell
70d908bf01b523cd11d880bb5b318f4c7d2798a3
19,459
cc
C++
src/app/remote_scheduler.cc
simula/flexran
372a6e3398d839f4f87961217dbf6c5610464fbc
[ "Apache-2.0" ]
2
2020-12-01T02:02:24.000Z
2021-01-13T03:05:02.000Z
src/app/remote_scheduler.cc
simula/flexran
372a6e3398d839f4f87961217dbf6c5610464fbc
[ "Apache-2.0" ]
null
null
null
src/app/remote_scheduler.cc
simula/flexran
372a6e3398d839f4f87961217dbf6c5610464fbc
[ "Apache-2.0" ]
2
2020-12-03T12:31:26.000Z
2021-09-29T02:56:43.000Z
/* * Copyright 2016-2018 FlexRAN Authors, Eurecom and The University of Edinburgh * 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 * * U...
36.784499
162
0.661391
simula
70d930ee9828bfda90242514675ff30e149ff85c
1,400
cpp
C++
libs/api/libbpf_object.cpp
dbarac/ebpf-for-windows
5f5e2c0d1f031ceb41b11ba8d0e708a51cfba5d2
[ "MIT" ]
1
2021-07-27T21:46:52.000Z
2021-07-27T21:46:52.000Z
libs/api/libbpf_object.cpp
dbarac/ebpf-for-windows
5f5e2c0d1f031ceb41b11ba8d0e708a51cfba5d2
[ "MIT" ]
2
2021-07-28T16:48:31.000Z
2021-08-12T22:32:26.000Z
libs/api/libbpf_object.cpp
dbarac/ebpf-for-windows
5f5e2c0d1f031ceb41b11ba8d0e708a51cfba5d2
[ "MIT" ]
1
2021-07-27T21:41:59.000Z
2021-07-27T21:41:59.000Z
// Copyright (c) Microsoft Corporation // SPDX-License-Identifier: MIT #include "api_internal.h" #pragma warning(push) #pragma warning(disable : 4200) #include "libbpf.h" #pragma warning(pop) #include "libbpf_internal.h" // This file implements APIs in LibBPF's libbpf.h and is based on code in external/libbpf/src/lib...
23.728814
102
0.710714
dbarac
70d9d1eabc8a7f08cee0197efbe32ff9b2e03dae
13,369
cpp
C++
src/dataView.cpp
jcjramos/QuodDB
20da3727818c8c2f8f7da5cb1506d64cc6300f24
[ "Apache-2.0" ]
null
null
null
src/dataView.cpp
jcjramos/QuodDB
20da3727818c8c2f8f7da5cb1506d64cc6300f24
[ "Apache-2.0" ]
null
null
null
src/dataView.cpp
jcjramos/QuodDB
20da3727818c8c2f8f7da5cb1506d64cc6300f24
[ "Apache-2.0" ]
null
null
null
/*------------------------------------------------------------------------------ Generic Symbian Data View For DbMaster generated files JCR 3.2004 ------------------------------------------------------------------------------*/ #include "dataView.h" #include "DbMaster.h" #include <eikmen...
25.759152
149
0.507517
jcjramos
70dbc190915dfa31a792528fe7ed7f7a5c33fc0a
355
hpp
C++
mod02/ex00/Fixed.hpp
paozer/piscine_cpp
449d4a60b3c50c7ba6d94e38a7b632b5f447a438
[ "Unlicense" ]
null
null
null
mod02/ex00/Fixed.hpp
paozer/piscine_cpp
449d4a60b3c50c7ba6d94e38a7b632b5f447a438
[ "Unlicense" ]
null
null
null
mod02/ex00/Fixed.hpp
paozer/piscine_cpp
449d4a60b3c50c7ba6d94e38a7b632b5f447a438
[ "Unlicense" ]
2
2021-01-31T13:52:11.000Z
2021-05-19T18:36:17.000Z
#ifndef FIXED_HPP #define FIXED_HPP #include <iostream> class Fixed { public: Fixed(); ~Fixed(); Fixed(const Fixed& other); Fixed& operator=(const Fixed& other); int getRawBits() const; void setRawBits(int const raw); private: int _raw; static c...
16.136364
45
0.585915
paozer
70dcdcebf236b7bf50212c3b0383d65fa0b4de56
5,887
cc
C++
src/libtools/graphnode.cc
MrTheodor/tools
9bb95454a188e827bdf25a6de8302cde70355ecb
[ "Apache-2.0" ]
null
null
null
src/libtools/graphnode.cc
MrTheodor/tools
9bb95454a188e827bdf25a6de8302cde70355ecb
[ "Apache-2.0" ]
null
null
null
src/libtools/graphnode.cc
MrTheodor/tools
9bb95454a188e827bdf25a6de8302cde70355ecb
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2009-2020 The VOTCA Development Team * (http://www.votca.org) * * 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 * * h...
28.857843
76
0.647868
MrTheodor
70dd84c6cf607c378b54ab56e74d5d1f16b0db1d
1,096
cpp
C++
Source/Packet.cpp
zcharli/snow-olsr
3617044d3ad1a0541b346669bce76702f71f4d0c
[ "MIT" ]
3
2018-08-08T22:31:52.000Z
2019-12-17T14:02:59.000Z
Source/Packet.cpp
zcharli/snow-olsr
3617044d3ad1a0541b346669bce76702f71f4d0c
[ "MIT" ]
null
null
null
Source/Packet.cpp
zcharli/snow-olsr
3617044d3ad1a0541b346669bce76702f71f4d0c
[ "MIT" ]
null
null
null
// // Created by czl on 03/04/16. // #include "Headers/Packet.h" Packet::Packet(char* src, char* dst, char* messageBuffer, int header_offset = 0) : mSource(src), mDestination(dst), mBuffer(messageBuffer), offset(header_offset) { mAddress = NULL; #if verbose PRINTLN(Initialized a packet.) #endif } ...
19.571429
86
0.663321
zcharli
70dd87e1a1f9d7fad32b8f181414d67f46db1826
666
cpp
C++
Cpp/fost-crypto/crypto.cpp
KayEss/fost-base
05ac1b6a1fb672c61ba6502efea86f9c5207e28f
[ "BSL-1.0" ]
2
2016-05-25T22:17:38.000Z
2019-04-02T08:34:17.000Z
Cpp/fost-crypto/crypto.cpp
KayEss/fost-base
05ac1b6a1fb672c61ba6502efea86f9c5207e28f
[ "BSL-1.0" ]
5
2018-07-13T10:43:05.000Z
2019-09-02T14:54:42.000Z
Cpp/fost-crypto/crypto.cpp
KayEss/fost-base
05ac1b6a1fb672c61ba6502efea86f9c5207e28f
[ "BSL-1.0" ]
1
2020-10-22T20:44:24.000Z
2020-10-22T20:44:24.000Z
/** Copyright 2015-2019 Red Anchor Trading Co. Ltd. Distributed under the Boost Software License, Version 1.0. See <http://www.boost.org/LICENSE_1_0.txt> */ #include "fost-crypto.hpp" #include <fost/crypto.hpp> const fostlib::module fostlib::c_fost_crypto(c_fost, "crypto"); bool fostlib::crypto_comp...
25.615385
63
0.651652
KayEss
70def70247db39a29d846610e3378192bbba0311
1,883
cc
C++
ns-allinone-3.27/ns-3.27/src/wifi/model/wifi-phy-tag.cc
zack-braun/4607_NS
43c8fb772e5552fb44bd7cd34173e73e3fb66537
[ "MIT" ]
93
2019-04-21T08:22:26.000Z
2022-03-30T04:26:29.000Z
ns-allinone-3.27/ns-3.27/src/wifi/model/wifi-phy-tag.cc
zack-braun/4607_NS
43c8fb772e5552fb44bd7cd34173e73e3fb66537
[ "MIT" ]
12
2019-04-19T16:39:58.000Z
2021-06-22T13:18:32.000Z
ns-allinone-3.27/ns-3.27/src/wifi/model/wifi-phy-tag.cc
zack-braun/4607_NS
43c8fb772e5552fb44bd7cd34173e73e3fb66537
[ "MIT" ]
21
2019-05-27T19:36:12.000Z
2021-07-26T02:37:41.000Z
/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 CTTC * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation; * * This program is distribut...
21.397727
76
0.712161
zack-braun
70e4437f2b4f37a71b1016cabe7b8ae61b810552
1,728
cpp
C++
aclswarm/lib/codegen_admm/ADMMGainDesign3D/colon.cpp
mit-acl/aclswarm
2a4d1e0962a3e3bbc2568172f33f5b466e296647
[ "MIT" ]
28
2020-03-12T03:25:30.000Z
2022-02-21T07:22:44.000Z
aclswarm/lib/codegen_admm/ADMMGainDesign3D/colon.cpp
mit-acl/aclswarm
2a4d1e0962a3e3bbc2568172f33f5b466e296647
[ "MIT" ]
2
2020-05-07T18:13:58.000Z
2021-01-07T20:26:00.000Z
aclswarm/lib/codegen_admm/ADMMGainDesign3D/colon.cpp
mit-acl/aclswarm
2a4d1e0962a3e3bbc2568172f33f5b466e296647
[ "MIT" ]
10
2020-04-10T02:14:39.000Z
2021-01-17T14:00:53.000Z
/* * Academic License - for use in teaching, academic research, and meeting * course requirements at degree granting institutions only. Not for * government, commercial, or other organizational use. * * colon.cpp * * Code generation for function 'colon' * */ /* Include files */ #include "colon.h" #include "A...
21.333333
73
0.541088
mit-acl
70e4eea0f08e109a000ecfdcaf66aeee95e0b63c
1,747
cpp
C++
src/SumRootToLeafNumbers.cpp
harborn/LeetCode
8488c0bcf306b8672492fd6220e496e335e2b9fe
[ "MIT" ]
null
null
null
src/SumRootToLeafNumbers.cpp
harborn/LeetCode
8488c0bcf306b8672492fd6220e496e335e2b9fe
[ "MIT" ]
1
2021-12-14T15:56:11.000Z
2021-12-14T15:56:11.000Z
src/SumRootToLeafNumbers.cpp
harborn/LeetCode
8488c0bcf306b8672492fd6220e496e335e2b9fe
[ "MIT" ]
null
null
null
#include <iostream> #include <string> #include <vector> using namespace std; struct TreeNode { int val; TreeNode *left; TreeNode *right; TreeNode(int x) : val(x), left(NULL), right(NULL) {} }; vector<string> helper(TreeNode *root) { vector<string> res; if (root == NULL) return res; vector<string> l = helper...
16.798077
74
0.550086
harborn
70e5fd7ace88079f1a194596366acf2effd105a4
2,969
cxx
C++
IMU/VTK-6.2.0/Filters/Sources/Testing/Cxx/TestOutlineCornerSource.cxx
timkrentz/SunTracker
9a189cc38f45e5fbc4e4c700d7295a871d022795
[ "MIT" ]
4
2016-03-30T14:31:52.000Z
2019-02-02T05:01:32.000Z
IMU/VTK-6.2.0/Filters/Sources/Testing/Cxx/TestOutlineCornerSource.cxx
timkrentz/SunTracker
9a189cc38f45e5fbc4e4c700d7295a871d022795
[ "MIT" ]
null
null
null
IMU/VTK-6.2.0/Filters/Sources/Testing/Cxx/TestOutlineCornerSource.cxx
timkrentz/SunTracker
9a189cc38f45e5fbc4e4c700d7295a871d022795
[ "MIT" ]
null
null
null
/*========================================================================= Program: Visualization Toolkit Module: TestOutlineCornerSource.cxx Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.htm for details. ...
28.548077
81
0.642304
timkrentz
70e85da2070f8aa2ffbab5515a01ddd3ad325324
4,333
hpp
C++
srcs/common/trackfragmentheaderbox.hpp
Reflectioner/heif
bdac2fc9c66d8c1e8994eaf81f1a5db116b863ab
[ "BSD-3-Clause" ]
null
null
null
srcs/common/trackfragmentheaderbox.hpp
Reflectioner/heif
bdac2fc9c66d8c1e8994eaf81f1a5db116b863ab
[ "BSD-3-Clause" ]
null
null
null
srcs/common/trackfragmentheaderbox.hpp
Reflectioner/heif
bdac2fc9c66d8c1e8994eaf81f1a5db116b863ab
[ "BSD-3-Clause" ]
null
null
null
/* This file is part of Nokia HEIF library * * Copyright (c) 2015-2020 Nokia Corporation and/or its subsidiary(-ies). All rights reserved. * * Contact: heif@nokia.com * * This software, including documentation, is protected by copyright controlled by Nokia Corporation and/ or its * subsidiaries. All rights are r...
37.678261
115
0.71567
Reflectioner
70e8f549e8e946eb4154cd5e6f923bca602682ee
1,605
cpp
C++
solutions/715.range-module.246936325.ac.cpp
satu0king/Leetcode-Solutions
2edff60d76c2898d912197044f6284efeeb34119
[ "MIT" ]
78
2020-10-22T11:31:53.000Z
2022-02-22T13:27:49.000Z
solutions/715.range-module.246936325.ac.cpp
satu0king/Leetcode-Solutions
2edff60d76c2898d912197044f6284efeeb34119
[ "MIT" ]
null
null
null
solutions/715.range-module.246936325.ac.cpp
satu0king/Leetcode-Solutions
2edff60d76c2898d912197044f6284efeeb34119
[ "MIT" ]
26
2020-10-23T15:10:44.000Z
2021-11-07T16:13:50.000Z
map<int, int>::iterator lower_bound2(map<int, int> &mp, int key) { if (mp.empty()) return mp.end(); auto it = mp.lower_bound(key); if (it->first == key) return it; if (it == mp.begin()) return mp.end(); it--; return it; } class RangeModule { map<int, int> mp; public: RangeModule() {} ...
18.238636
67
0.522118
satu0king
70e8f90c6c3e07e93868054efb8cc9d6c8157ec3
2,546
cpp
C++
Userland/Libraries/LibWeb/Page/Page.cpp
xspager/serenity
39b7fbfeb9e469b4089f5424dc61aa074023bb5a
[ "BSD-2-Clause" ]
1
2022-03-29T16:59:10.000Z
2022-03-29T16:59:10.000Z
Userland/Libraries/LibWeb/Page/Page.cpp
xspager/serenity
39b7fbfeb9e469b4089f5424dc61aa074023bb5a
[ "BSD-2-Clause" ]
null
null
null
Userland/Libraries/LibWeb/Page/Page.cpp
xspager/serenity
39b7fbfeb9e469b4089f5424dc61aa074023bb5a
[ "BSD-2-Clause" ]
null
null
null
/* * Copyright (c) 2020, Andreas Kling <kling@serenityos.org> * * SPDX-License-Identifier: BSD-2-Clause */ #include <LibWeb/HTML/BrowsingContext.h> #include <LibWeb/Page/Page.h> namespace Web { Page::Page(PageClient& client) : m_client(client) { m_top_level_browsing_context = HTML::BrowsingContext::creat...
27.376344
134
0.761587
xspager
70f54c0a32b427160f7b1908618d6a0c215f9fae
1,471
cpp
C++
compiler-rt/test/lsan/TestCases/many_tls_keys_thread.cpp
ornata/llvm-project
494913b8b4e4bce0b3525e5569d8e486e82b9a52
[ "Apache-2.0" ]
null
null
null
compiler-rt/test/lsan/TestCases/many_tls_keys_thread.cpp
ornata/llvm-project
494913b8b4e4bce0b3525e5569d8e486e82b9a52
[ "Apache-2.0" ]
null
null
null
compiler-rt/test/lsan/TestCases/many_tls_keys_thread.cpp
ornata/llvm-project
494913b8b4e4bce0b3525e5569d8e486e82b9a52
[ "Apache-2.0" ]
null
null
null
// Test that lsan handles tls correctly for many threads // RUN: %clangxx_lsan %s -o %t // RUN: %env_lsan_opts="report_objects=1:use_stacks=0:use_registers=0:use_tls=0" not %run %t 2>&1 | FileCheck %s // RUN: %env_lsan_opts="report_objects=1:use_stacks=0:use_registers=0:use_tls=1" %run %t 2>&1 // RUN: %env_lsan_opts=""...
24.114754
112
0.694086
ornata
70f6733926fca4a255c4feab16fb5726d5bb021f
928
cpp
C++
Engine/src/Platform/GraphicsAPI/OpenGL/glRenderCommand.cpp
Light3039/Light
cc4fc0293164ca48efdc833d0054d3ff8e60b65d
[ "Apache-2.0" ]
23
2021-05-23T10:13:55.000Z
2022-03-24T14:49:30.000Z
Engine/src/Platform/GraphicsAPI/OpenGL/glRenderCommand.cpp
Light3039/Light
cc4fc0293164ca48efdc833d0054d3ff8e60b65d
[ "Apache-2.0" ]
1
2021-09-07T12:26:33.000Z
2021-09-27T19:06:00.000Z
Engine/src/Platform/GraphicsAPI/OpenGL/glRenderCommand.cpp
Light3039/Light
cc4fc0293164ca48efdc833d0054d3ff8e60b65d
[ "Apache-2.0" ]
3
2021-05-30T17:31:47.000Z
2021-09-20T06:42:39.000Z
#include "glRenderCommand.h" #include <glad/glad.h> #include <GLFW/glfw3.h> namespace Light { glRenderCommand::glRenderCommand(GLFWwindow* windowHandle) : m_WindowHandle(windowHandle) { } void glRenderCommand::SwapBuffers() { glfwSwapBuffers(m_WindowHandle); } void glRenderCommand::ClearBackBuffer(const...
21.090909
107
0.755388
Light3039
70f6a6b33da51d752d26a912229ecf68ce6f6c75
4,181
hpp
C++
include/fl/model/transition/interface/transition_function.hpp
aeolusbot-tommyliu/fl
a50d0c9620a8f86e0cd14a5e22ee0f022d00bd02
[ "MIT" ]
17
2015-07-03T06:53:05.000Z
2021-05-15T20:55:12.000Z
include/fl/model/transition/interface/transition_function.hpp
aeolusbot-tommyliu/fl
a50d0c9620a8f86e0cd14a5e22ee0f022d00bd02
[ "MIT" ]
3
2015-02-20T12:48:17.000Z
2019-12-18T08:45:13.000Z
include/fl/model/transition/interface/transition_function.hpp
aeolusbot-tommyliu/fl
a50d0c9620a8f86e0cd14a5e22ee0f022d00bd02
[ "MIT" ]
15
2015-02-20T11:34:14.000Z
2021-05-15T20:55:13.000Z
/* * This is part of the fl library, a C++ Bayesian filtering library * (https://github.com/filtering-library) * * Copyright (c) 2015 Max Planck Society, * Autonomous Motion Department, * Institute for Intelligent Systems * * This Source Code Form is subject to the terms of the MIT License (MIT). ...
24.886905
79
0.602727
aeolusbot-tommyliu
70f9f3dbc3cfc8c86562726c47dcb37e9e3c4e4b
29,401
cpp
C++
Source/core/loader/FrameFetchContext.cpp
prepare/Blink_only_permissive_lic_files
8b3acc51c7ae8b074d2e2b610d0d9295d9a1ecb4
[ "BSD-3-Clause" ]
null
null
null
Source/core/loader/FrameFetchContext.cpp
prepare/Blink_only_permissive_lic_files
8b3acc51c7ae8b074d2e2b610d0d9295d9a1ecb4
[ "BSD-3-Clause" ]
null
null
null
Source/core/loader/FrameFetchContext.cpp
prepare/Blink_only_permissive_lic_files
8b3acc51c7ae8b074d2e2b610d0d9295d9a1ecb4
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright (C) 2013 Google 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: * * * Redistributions of source code must retain the above copyright * notice, this list of conditio...
45.512384
224
0.732832
prepare
70fb15234dadd1ac4f3cc6767647fb3298d2dca7
2,838
cpp
C++
src/lang/scope.cpp
dmcdougall/occa
4cc784e86459c01c8821da0a02eea3ad4fb36ef5
[ "MIT" ]
null
null
null
src/lang/scope.cpp
dmcdougall/occa
4cc784e86459c01c8821da0a02eea3ad4fb36ef5
[ "MIT" ]
null
null
null
src/lang/scope.cpp
dmcdougall/occa
4cc784e86459c01c8821da0a02eea3ad4fb36ef5
[ "MIT" ]
null
null
null
#include <occa/lang/scope.hpp> #include <occa/lang/variable.hpp> #include <occa/lang/type.hpp> namespace occa { namespace lang { scope_t::scope_t() {} scope_t::~scope_t() { clear(); } void scope_t::clear() { freeKeywords(keywords, true); } scope_t scope_t::clone() const { ...
25.567568
71
0.544397
dmcdougall
70ff2d1921c87b4c2c60a17372d7cbb52c94f4cb
3,877
cpp
C++
MinimalDrawAMP.cpp
newpolaris/MinimalDrawAMP
41d8d8361c9d64ebbf8b1a19e05d4f30000d1c85
[ "Unlicense" ]
null
null
null
MinimalDrawAMP.cpp
newpolaris/MinimalDrawAMP
41d8d8361c9d64ebbf8b1a19e05d4f30000d1c85
[ "Unlicense" ]
null
null
null
MinimalDrawAMP.cpp
newpolaris/MinimalDrawAMP
41d8d8361c9d64ebbf8b1a19e05d4f30000d1c85
[ "Unlicense" ]
null
null
null
#include <amp.h> #include <amp_graphics.h> #include <d3dcommon.h> #include <d3d11.h> #include <atlcomcli.h> #include "DirectXTK/WICTextureLoader.h" #pragma comment(lib, "dxguid.lib") #pragma comment(lib, "d3d11.lib") #pragma comment(lib, "dxgi.lib") int APIENTRY _tWinMain(_In_ HINSTANCE hInstance, _In_...
30.769841
127
0.66211
newpolaris
cb020969f6fd95a6bc7dcf0c9d52915479fcacb8
3,826
cpp
C++
deform_control/external_libs/OpenSceneGraph-2.8.5/examples/osgwidgetbox/osgwidgetbox.cpp
UM-ARM-Lab/mab_ms
f199f05b88060182cfbb47706bd1ff3479032c43
[ "BSD-2-Clause" ]
3
2018-08-20T12:12:43.000Z
2021-06-06T09:43:27.000Z
deform_control/external_libs/OpenSceneGraph-2.8.5/examples/osgwidgetbox/osgwidgetbox.cpp
UM-ARM-Lab/mab_ms
f199f05b88060182cfbb47706bd1ff3479032c43
[ "BSD-2-Clause" ]
null
null
null
deform_control/external_libs/OpenSceneGraph-2.8.5/examples/osgwidgetbox/osgwidgetbox.cpp
UM-ARM-Lab/mab_ms
f199f05b88060182cfbb47706bd1ff3479032c43
[ "BSD-2-Clause" ]
1
2022-03-31T03:12:23.000Z
2022-03-31T03:12:23.000Z
// -*-c++-*- osgWidget - Code by: Jeremy Moles (cubicool) 2007-2008 // $Id: osgwidgetbox.cpp 59 2008-05-15 20:55:31Z cubicool $ // NOTE: You'll find this example very similar to osgwidgetwindow. However, here we // demonstrate a bit of subclassing of Widget so that we can respond to events // such as mouseEnter and mo...
31.883333
90
0.635651
UM-ARM-Lab