hexsha
stringlengths
40
40
size
int64
7
1.05M
ext
stringclasses
13 values
lang
stringclasses
1 value
max_stars_repo_path
stringlengths
4
269
max_stars_repo_name
stringlengths
5
109
max_stars_repo_head_hexsha
stringlengths
40
40
max_stars_repo_licenses
listlengths
1
9
max_stars_count
int64
1
191k
max_stars_repo_stars_event_min_datetime
stringlengths
24
24
max_stars_repo_stars_event_max_datetime
stringlengths
24
24
max_issues_repo_path
stringlengths
4
269
max_issues_repo_name
stringlengths
5
116
max_issues_repo_head_hexsha
stringlengths
40
40
max_issues_repo_licenses
listlengths
1
9
max_issues_count
int64
1
48.5k
max_issues_repo_issues_event_min_datetime
stringlengths
24
24
max_issues_repo_issues_event_max_datetime
stringlengths
24
24
max_forks_repo_path
stringlengths
4
269
max_forks_repo_name
stringlengths
5
116
max_forks_repo_head_hexsha
stringlengths
40
40
max_forks_repo_licenses
listlengths
1
9
max_forks_count
int64
1
105k
max_forks_repo_forks_event_min_datetime
stringlengths
24
24
max_forks_repo_forks_event_max_datetime
stringlengths
24
24
content
stringlengths
7
1.05M
avg_line_length
float64
1.21
330k
max_line_length
int64
6
990k
alphanum_fraction
float64
0.01
0.99
author_id
stringlengths
2
40
f666731692c1409b15ae70912db29faa51c966a4
5,634
cpp
C++
MonoNative/mscorlib/System/Security/Permissions/mscorlib_System_Security_Permissions_StrongNameIdentityPermissionAttribute.cpp
brunolauze/MonoNative
959fb52c2c1ffe87476ab0d6e4fcce0ad9ce1e66
[ "BSD-2-Clause" ]
7
2015-03-10T03:36:16.000Z
2021-11-05T01:16:58.000Z
MonoNative/mscorlib/System/Security/Permissions/mscorlib_System_Security_Permissions_StrongNameIdentityPermissionAttribute.cpp
brunolauze/MonoNative
959fb52c2c1ffe87476ab0d6e4fcce0ad9ce1e66
[ "BSD-2-Clause" ]
1
2020-06-23T10:02:33.000Z
2020-06-24T02:05:47.000Z
MonoNative/mscorlib/System/Security/Permissions/mscorlib_System_Security_Permissions_StrongNameIdentityPermissionAttribute.cpp
brunolauze/MonoNative
959fb52c2c1ffe87476ab0d6e4fcce0ad9ce1e66
[ "BSD-2-Clause" ]
null
null
null
#include <mscorlib/System/Security/Permissions/mscorlib_System_Security_Permissions_StrongNameIdentityPermissionAttribute.h> #include <mscorlib/System/mscorlib_System_String.h> #include <mscorlib/System/mscorlib_System_Type.h> namespace mscorlib { namespace System { namespace Security { namespace Permission...
45.804878
205
0.739084
brunolauze
f6667fc5ddf352b78ed6ee9132a338f7719e614e
514
cpp
C++
ObjectOrientedProgramming/AccountClassInheritance/Checking_Account.cpp
Sebery/CPP-Practice-Projects
cf200e7753be79d13042f9f9de666d25c8215d69
[ "MIT" ]
null
null
null
ObjectOrientedProgramming/AccountClassInheritance/Checking_Account.cpp
Sebery/CPP-Practice-Projects
cf200e7753be79d13042f9f9de666d25c8215d69
[ "MIT" ]
null
null
null
ObjectOrientedProgramming/AccountClassInheritance/Checking_Account.cpp
Sebery/CPP-Practice-Projects
cf200e7753be79d13042f9f9de666d25c8215d69
[ "MIT" ]
null
null
null
// // Created by Sebastian on 26/11/2020. // #include "Checking_Account.h" Checking_Account::Checking_Account(std::string name, double balance, double fee) : Account{name, balance}, fee{fee} { } bool Checking_Account::withdraw(double amount) { amount += fee; return Account::withdraw(amount); } std::os...
24.47619
106
0.657588
Sebery
f667edd2ca9cdb9cf27bf08d14221b03df07d2b6
1,873
hpp
C++
data-struct/other/SlidingWindowAggregation.hpp
shiomusubi496/library
907f72eb6ee4ac6ef617bb359693588167f779e7
[ "MIT" ]
3
2021-11-04T08:45:12.000Z
2021-11-29T08:44:26.000Z
data-struct/other/SlidingWindowAggregation.hpp
shiomusubi496/library
907f72eb6ee4ac6ef617bb359693588167f779e7
[ "MIT" ]
null
null
null
data-struct/other/SlidingWindowAggregation.hpp
shiomusubi496/library
907f72eb6ee4ac6ef617bb359693588167f779e7
[ "MIT" ]
null
null
null
#pragma once #include "../../other/template.hpp" #include "../../other/monoid.hpp" template<class M> class SlidingWindowAggregation { protected: using T = typename M::value_type; std::stack<T> lst, rst; std::stack<T> lsm, rsm; T internal_all_prod() const { assert(!empty()); if (lst.e...
30.209677
119
0.541911
shiomusubi496
f66843733c8f31723fce47e76a0304a614a1f610
11,924
hpp
C++
master/core/third/boost/geometry/algorithms/detail/assign_values.hpp
importlib/klib
a59837857689d0e60d3df6d2ebd12c3160efa794
[ "MIT" ]
198
2015-01-13T05:47:18.000Z
2022-03-09T04:46:46.000Z
master/core/third/boost/geometry/algorithms/detail/assign_values.hpp
isuhao/klib
a59837857689d0e60d3df6d2ebd12c3160efa794
[ "MIT" ]
197
2017-07-06T16:53:59.000Z
2019-05-31T17:57:51.000Z
master/core/third/boost/geometry/algorithms/detail/assign_values.hpp
isuhao/klib
a59837857689d0e60d3df6d2ebd12c3160efa794
[ "MIT" ]
139
2015-01-15T20:09:31.000Z
2022-01-31T15:21:16.000Z
// Boost.Geometry (aka GGL, Generic Geometry Library) // Copyright (c) 2007-2012 Barend Gehrels, Amsterdam, the Netherlands. // Copyright (c) 2008-2012 Bruno Lalande, Paris, France. // Copyright (c) 2009-2012 Mateusz Loskot, London, UK. // Parts of Boost.Geometry are redesigned from Geodan's Geographic Library ...
26.855856
108
0.666303
importlib
f66b0132adc58690de57d30ce814cef2bf34ccec
33,014
cpp
C++
opennurbs_matrix.cpp
averbin/opennurbslib
8904e11a90d108304f679d233ad1ea2d621dd3b2
[ "Zlib" ]
14
2015-07-06T13:04:49.000Z
2022-02-06T10:09:05.000Z
opennurbs_matrix.cpp
averbin/opennurbslib
8904e11a90d108304f679d233ad1ea2d621dd3b2
[ "Zlib" ]
1
2020-12-07T03:26:39.000Z
2020-12-07T03:26:39.000Z
opennurbs_matrix.cpp
averbin/opennurbslib
8904e11a90d108304f679d233ad1ea2d621dd3b2
[ "Zlib" ]
11
2015-07-06T13:04:43.000Z
2022-03-29T10:57:04.000Z
/* $NoKeywords: $ */ /* // // Copyright (c) 1993-2012 Robert McNeel & Associates. All rights reserved. // OpenNURBS, Rhinoceros, and Rhino3D are registered trademarks of Robert // McNeel & Associates. // // THIS SOFTWARE IS PROVIDED "AS IS" WITHOUT EXPRESS OR IMPLIED WARRANTY. // ALL IMPLIED WARRANTIES OF FITNE...
22.958275
112
0.500121
averbin
f66c182b3e30c4aa1f2fb4b15a73b57ba40eba23
630
inl
C++
src/ScriptSystem/Init/details/UECS_AutoRefl/SingletonsView_AutoRefl.inl
Jerry-Shen0527/Utopia
5f40edc814e5f6a33957cdc889524c41c5ef870f
[ "MIT" ]
321
2020-10-04T01:43:36.000Z
2022-03-31T02:43:38.000Z
src/ScriptSystem/Init/details/UECS_AutoRefl/SingletonsView_AutoRefl.inl
Jerry-Shen0527/Utopia
5f40edc814e5f6a33957cdc889524c41c5ef870f
[ "MIT" ]
9
2020-11-17T04:06:22.000Z
2022-02-19T09:05:29.000Z
src/ScriptSystem/Init/details/UECS_AutoRefl/SingletonsView_AutoRefl.inl
Jerry-Shen0527/Utopia
5f40edc814e5f6a33957cdc889524c41c5ef870f
[ "MIT" ]
41
2020-10-09T10:09:34.000Z
2022-03-27T02:51:57.000Z
// This file is generated by Ubpa::USRefl::AutoRefl #pragma once #include <USRefl/USRefl.h> template<> struct Ubpa::USRefl::TypeInfo<Ubpa::UECS::SingletonsView> : TypeInfoBase<Ubpa::UECS::SingletonsView> { #ifdef UBPA_USREFL_NOT_USE_NAMEOF static constexpr char name[27] = "Ubpa::UECS::SingletonsView"; #endif...
28.636364
99
0.695238
Jerry-Shen0527
f66f37cef2a4e4c2d23ef176fd390855137116b8
2,705
hpp
C++
include/clotho/cuda/data_spaces/sequence_space/device_sequence_space_kernels.hpp
putnampp/clotho
6dbfd82ef37b4265381cd78888cd6da8c61c68c2
[ "ECL-2.0", "Apache-2.0" ]
3
2015-06-16T21:27:57.000Z
2022-01-25T23:26:54.000Z
include/clotho/cuda/data_spaces/sequence_space/device_sequence_space_kernels.hpp
putnampp/clotho
6dbfd82ef37b4265381cd78888cd6da8c61c68c2
[ "ECL-2.0", "Apache-2.0" ]
3
2015-06-16T21:12:42.000Z
2015-06-23T12:41:00.000Z
include/clotho/cuda/data_spaces/sequence_space/device_sequence_space_kernels.hpp
putnampp/clotho
6dbfd82ef37b4265381cd78888cd6da8c61c68c2
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
// Copyright 2015 Patrick Putnam // // 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 o...
34.240506
126
0.686137
putnampp
f67383a22bc818daf38c06ea9b6933cfbf5e061e
297
cpp
C++
tf_publisher/src/tf_publisher_main.cpp
HosseinSheikhi/ros2_ws
410e5e554d077ff2f735f999fc00bb66a88ce8c0
[ "MIT" ]
null
null
null
tf_publisher/src/tf_publisher_main.cpp
HosseinSheikhi/ros2_ws
410e5e554d077ff2f735f999fc00bb66a88ce8c0
[ "MIT" ]
null
null
null
tf_publisher/src/tf_publisher_main.cpp
HosseinSheikhi/ros2_ws
410e5e554d077ff2f735f999fc00bb66a88ce8c0
[ "MIT" ]
null
null
null
// // Created by hossein on 9/22/20. // #include "tf_publisher/tf_publisher.h" int main(int argc, char **argv){ rclcpp::init(argc, argv); std::shared_ptr<TFPublisher> tf_publisher_node = std::make_shared<TFPublisher>(); rclcpp::spin(tf_publisher_node); rclcpp::shutdown(); return 0; }
21.214286
83
0.703704
HosseinSheikhi
f674c0dcf600570b752370947e23f6a1f8003b21
5,896
cpp
C++
src/clinterface/batteryarg.cpp
pvavercak/randomness-testing-toolkit
8a29349edee0dc44bc8e765708555dda57b9e339
[ "MIT" ]
null
null
null
src/clinterface/batteryarg.cpp
pvavercak/randomness-testing-toolkit
8a29349edee0dc44bc8e765708555dda57b9e339
[ "MIT" ]
null
null
null
src/clinterface/batteryarg.cpp
pvavercak/randomness-testing-toolkit
8a29349edee0dc44bc8e765708555dda57b9e339
[ "MIT" ]
null
null
null
#include "clinterface/batteryarg.h" namespace rtt { namespace clinterface { BatteryArg::BatteryArg() {} BatteryArg::BatteryArg(const std::string & battery) { init(battery); } std::string BatteryArg::getName(Constants::BatteryID batteryId) { switch(batteryId) { case Constants::BatteryID::NIST_STS: ...
29.044335
90
0.697592
pvavercak
f6751c072b76874425093e568f7d9da8981801fd
9,149
hh
C++
extern/typed-geometry/src/typed-geometry/functions/objects/rasterize.hh
rovedit/Fort-Candle
445fb94852df56c279c71b95c820500e7fb33cf7
[ "MIT" ]
null
null
null
extern/typed-geometry/src/typed-geometry/functions/objects/rasterize.hh
rovedit/Fort-Candle
445fb94852df56c279c71b95c820500e7fb33cf7
[ "MIT" ]
null
null
null
extern/typed-geometry/src/typed-geometry/functions/objects/rasterize.hh
rovedit/Fort-Candle
445fb94852df56c279c71b95c820500e7fb33cf7
[ "MIT" ]
null
null
null
#pragma once #include <typed-geometry/functions/basic/limits.hh> #include <typed-geometry/functions/vector/math.hh> #include <typed-geometry/types/objects/triangle.hh> #include "aabb.hh" #include "coordinates.hh" /** * Rasterization of objects * * Enumerates all integer points (tg::ipos2, tg::ipos3, ...) that are...
32.101754
141
0.529675
rovedit
f677471113ab9a5273f15f27f139c97467d6fbfb
15,862
cpp
C++
quantitative_finance/L2/tests/GarmanKohlhagenEngine/src/host/gk_test.cpp
Geekdude/Vitis_Libraries
bca52cee88c07e9ccbec90c00e6df98f4b450ec1
[ "Apache-2.0" ]
1
2020-10-27T07:37:10.000Z
2020-10-27T07:37:10.000Z
quantitative_finance/L2/tests/GarmanKohlhagenEngine/src/host/gk_test.cpp
Geekdude/Vitis_Libraries
bca52cee88c07e9ccbec90c00e6df98f4b450ec1
[ "Apache-2.0" ]
null
null
null
quantitative_finance/L2/tests/GarmanKohlhagenEngine/src/host/gk_test.cpp
Geekdude/Vitis_Libraries
bca52cee88c07e9ccbec90c00e6df98f4b450ec1
[ "Apache-2.0" ]
1
2021-04-28T05:58:38.000Z
2021-04-28T05:58:38.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...
47.208333
120
0.619279
Geekdude
f679521d60113e4d94f7538beb9a775997eb4066
4,002
cpp
C++
stl/src/xstoxflt.cpp
oktonion/STL
e2fce45b9ca899f3887b7fa48e24de95859a7b8e
[ "Apache-2.0" ]
2
2021-01-19T02:43:19.000Z
2021-11-20T05:21:42.000Z
stl/src/xstoxflt.cpp
tapaswenipathak/STL
0d75fc5ab6684d4f6239879a6ec162aad0da860d
[ "Apache-2.0" ]
null
null
null
stl/src/xstoxflt.cpp
tapaswenipathak/STL
0d75fc5ab6684d4f6239879a6ec162aad0da860d
[ "Apache-2.0" ]
4
2020-04-24T05:04:54.000Z
2020-05-17T22:48:58.000Z
// Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // _Stoxflt function #include "xmath.h" #include <ctype.h> #include <locale.h> #include <stdlib.h> #include <string.h> _EXTERN_C_UNLESS_PURE constexpr int _Base = 16; // hexadecimal constexpr int _Ndig...
29.211679
87
0.471514
oktonion
f67acb0effd9cdec60c1fd0d041181f032eba566
603
cpp
C++
Nyx/VelocityComponent.cpp
Rykkata/nyx
72d6f222a123e6f120cf83b4843e029036a0d8a9
[ "Apache-2.0" ]
null
null
null
Nyx/VelocityComponent.cpp
Rykkata/nyx
72d6f222a123e6f120cf83b4843e029036a0d8a9
[ "Apache-2.0" ]
null
null
null
Nyx/VelocityComponent.cpp
Rykkata/nyx
72d6f222a123e6f120cf83b4843e029036a0d8a9
[ "Apache-2.0" ]
null
null
null
#include "VelocityComponent.h" VelocityComponent::VelocityComponent() { m_xVelocity = 0; m_yVelocity = 0; } VelocityComponent::~VelocityComponent() { } VelocityComponent::VelocityComponent(int xVelocity, int yVelocity) { } int VelocityComponent::GetXVelocity() { return 0; } int Ve...
12.829787
67
0.693201
Rykkata
f67af4da2a2e637137d602437569600f4c040819
1,758
cpp
C++
Dev/Cpp/Viewer/3D/EffectSetting.cpp
Shockblast/Effekseer
bac86c0fc965f04a0f57c5863d37a9c2d5c3be97
[ "Apache-2.0", "BSD-3-Clause" ]
1
2021-12-21T07:03:42.000Z
2021-12-21T07:03:42.000Z
Dev/Cpp/Viewer/3D/EffectSetting.cpp
Shockblast/Effekseer
bac86c0fc965f04a0f57c5863d37a9c2d5c3be97
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
Dev/Cpp/Viewer/3D/EffectSetting.cpp
Shockblast/Effekseer
bac86c0fc965f04a0f57c5863d37a9c2d5c3be97
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
#include "EffectSetting.h" #include "../Graphics/GraphicsDevice.h" #include "../Sound/SoundDevice.h" #include "FileInterface.h" #ifdef _WIN32 #include "../Graphics/Platform/DX11/efk.GraphicsDX11.h" #endif #include "../Graphics/Platform/GL/efk.GraphicsGL.h" #include <EffekseerSoundOSMixer.h> namespace Effekseer::Tool...
29.79661
176
0.771331
Shockblast
f67c8ae0b3ed6985b7284832d69f3be9b2ef8a82
27,569
cpp
C++
src/tools/CHapticPoint.cpp
Yung-Quant/elec490
09314b1c3f4f061effa396c104f094f28a0aabff
[ "BSD-3-Clause" ]
null
null
null
src/tools/CHapticPoint.cpp
Yung-Quant/elec490
09314b1c3f4f061effa396c104f094f28a0aabff
[ "BSD-3-Clause" ]
null
null
null
src/tools/CHapticPoint.cpp
Yung-Quant/elec490
09314b1c3f4f061effa396c104f094f28a0aabff
[ "BSD-3-Clause" ]
null
null
null
//============================================================================== /* Software License Agreement (BSD License) Copyright (c) 2003-2016, CHAI3D. (www.chai3d.org) All rights reserved. Redistribution and use in source and binary forms, with or without modification, are perm...
38.131397
205
0.526606
Yung-Quant
f67ea69d5ae165dfde1adcbcd5d28d00ace9b8c0
7,852
hpp
C++
engine/pmem_allocator/free_list.hpp
ZiyanShi/kvdk
ad8129a56bda0df645eb9bb0c7af7632a5521a0f
[ "BSD-3-Clause" ]
100
2021-07-22T03:26:07.000Z
2022-03-31T02:13:41.000Z
engine/pmem_allocator/free_list.hpp
ZiyanShi/kvdk
ad8129a56bda0df645eb9bb0c7af7632a5521a0f
[ "BSD-3-Clause" ]
60
2021-08-09T03:38:33.000Z
2022-03-30T08:54:25.000Z
engine/pmem_allocator/free_list.hpp
ZiyanShi/kvdk
ad8129a56bda0df645eb9bb0c7af7632a5521a0f
[ "BSD-3-Clause" ]
37
2021-08-05T08:13:14.000Z
2022-03-30T11:35:56.000Z
/* SPDX-License-Identifier: BSD-3-Clause * Copyright(c) 2021 Intel Corporation */ #pragma once #include <memory> #include <set> #include "../allocator.hpp" #include "../utils/utils.hpp" #include "kvdk/namespace.hpp" namespace KVDK_NAMESPACE { constexpr uint32_t kFreelistMaxClassifiedBlockSize = 255; constexpr ui...
35.529412
80
0.668492
ZiyanShi
f67fd54f28ab948d3d0082549649acdf0f75199f
5,554
cpp
C++
src/modules/TUIO/OscPrintReceivedElements.cpp
my-digital-decay/Polycode
5dd1836bc4710aea175a77433c17696f8330f596
[ "MIT" ]
null
null
null
src/modules/TUIO/OscPrintReceivedElements.cpp
my-digital-decay/Polycode
5dd1836bc4710aea175a77433c17696f8330f596
[ "MIT" ]
null
null
null
src/modules/TUIO/OscPrintReceivedElements.cpp
my-digital-decay/Polycode
5dd1836bc4710aea175a77433c17696f8330f596
[ "MIT" ]
null
null
null
/* oscpack -- Open Sound Control packet manipulation library http://www.audiomulch.com/~rossb/oscpack Copyright (c) 2004-2005 Ross Bencina <rossb@audiomulch.com> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to ...
23.045643
71
0.593086
my-digital-decay
f682e90f25224d5ee7a4f1ab61aa3e861d85b5d4
1,938
cpp
C++
GenericCallback/main.cpp
CrystaLamb/TryMePlease
1e33b9fc0ce9af688db409a682f5227aea0a63cb
[ "Apache-2.0" ]
null
null
null
GenericCallback/main.cpp
CrystaLamb/TryMePlease
1e33b9fc0ce9af688db409a682f5227aea0a63cb
[ "Apache-2.0" ]
null
null
null
GenericCallback/main.cpp
CrystaLamb/TryMePlease
1e33b9fc0ce9af688db409a682f5227aea0a63cb
[ "Apache-2.0" ]
null
null
null
#include <utility> #include <iostream> #include <tuple> #include <functional> template <typename N> void print(N v) { std::cout << v << std::endl; } template <typename N, typename... Ns> void print(N v, Ns... vs) { std::cout << v << ", "; print(vs...); } template <size_t... I> void print(std::index_sequence<I...>...
20.83871
100
0.594943
CrystaLamb
f6853d3937aa8308c67f3a3a8936c6f32d9e4b9d
486
cpp
C++
1099.cpp
fenatan/URI-Online-Judge
983cadd364e658cdebcbc2c0165e8f54e023a823
[ "MIT" ]
null
null
null
1099.cpp
fenatan/URI-Online-Judge
983cadd364e658cdebcbc2c0165e8f54e023a823
[ "MIT" ]
null
null
null
1099.cpp
fenatan/URI-Online-Judge
983cadd364e658cdebcbc2c0165e8f54e023a823
[ "MIT" ]
null
null
null
#include <stdio.h> int main(){ int v[10001], n,x,y, maior, menor; scanf("%d", &n); for(int i =0; i < n; i++){ scanf("%d %d", &x, &y); if(x > y){ maior = x; menor = y; }else{ maior = y; menor = x; } v[i]=0; for(int j = menor + 1; j < ...
18
47
0.329218
fenatan
f686b9e9914f26a76f24616010336866acebd753
2,342
cpp
C++
nuiengine/core/views/KButtonView.cpp
15d23/NUIEngine
a1369d5cea90cca81d74a39b8a853b3fba850595
[ "Apache-2.0" ]
204
2017-05-08T05:41:29.000Z
2022-03-29T16:57:44.000Z
nuiengine/core/views/KButtonView.cpp
15d23/NUIEngine
a1369d5cea90cca81d74a39b8a853b3fba850595
[ "Apache-2.0" ]
7
2017-05-10T15:32:09.000Z
2020-12-23T06:00:30.000Z
nuiengine/core/views/KButtonView.cpp
15d23/NUIEngine
a1369d5cea90cca81d74a39b8a853b3fba850595
[ "Apache-2.0" ]
65
2017-05-25T05:46:56.000Z
2021-02-06T11:07:38.000Z
// ************************************** // File: KButtonView.cpp // Copyright: Copyright(C) 2013-2017 Wuhan KOTEI Informatics Co., Ltd. All rights reserved. // Website: http://www.nuiengine.com // Description: This code is part of NUI Engine (NUI Graphics Lib) // Comments: // Rev: 2 // C...
24.395833
120
0.690436
15d23
f688466b6cacf6f9f3c7a6d86561510d28e6ef31
3,054
hpp
C++
phylanx/execution_tree/primitives/sum_operation.hpp
rtohid/phylanx
c2e4e8e531c204a70b1907995b1fd467870e6d9d
[ "BSL-1.0" ]
null
null
null
phylanx/execution_tree/primitives/sum_operation.hpp
rtohid/phylanx
c2e4e8e531c204a70b1907995b1fd467870e6d9d
[ "BSL-1.0" ]
null
null
null
phylanx/execution_tree/primitives/sum_operation.hpp
rtohid/phylanx
c2e4e8e531c204a70b1907995b1fd467870e6d9d
[ "BSL-1.0" ]
null
null
null
// Copyright (c) 2018 Parsa Amini // Copyright (c) 2018 Hartmut Kaiser // // 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) #if !defined(PHYLANX_PRIMITIVES_SUM) #define PHYLANX_PRIMITIVES_SUM #include <phylanx/confi...
40.184211
79
0.672233
rtohid
f688bc2ad7271e058f94ab26c3876ccc1361b18e
29,258
cpp
C++
Source/AllProjects/RemBrws/CQCTreeBrws/CQCTreeBrws_CfgSrvBrws.cpp
MarkStega/CQC
c1d0e01ec2abcaa5b8eb1899b9f0522fecee4b07
[ "MIT" ]
51
2020-12-26T18:17:16.000Z
2022-03-15T04:29:35.000Z
Source/AllProjects/RemBrws/CQCTreeBrws/CQCTreeBrws_CfgSrvBrws.cpp
MarkStega/CQC
c1d0e01ec2abcaa5b8eb1899b9f0522fecee4b07
[ "MIT" ]
null
null
null
Source/AllProjects/RemBrws/CQCTreeBrws/CQCTreeBrws_CfgSrvBrws.cpp
MarkStega/CQC
c1d0e01ec2abcaa5b8eb1899b9f0522fecee4b07
[ "MIT" ]
4
2020-12-28T07:24:39.000Z
2021-12-29T12:09:37.000Z
// // FILE NAME: CQCTreeBrws_CfgSrvBrws.cpp // // AUTHOR: Dean Roddey // // CREATED: 12/11/2015 // // 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://op...
32.54505
93
0.610534
MarkStega
f68a898a386e8f688c3f1ecdaaab87af7c9ce7b8
70,741
cpp
C++
hphp/hhbbc/test/type-system.cpp
arnononline/hhvm
f80bfae3394cc48a0a99a49e003c7c3cd92e444f
[ "PHP-3.01", "Zend-2.0" ]
1
2015-05-31T17:15:47.000Z
2015-05-31T17:15:47.000Z
hphp/hhbbc/test/type-system.cpp
mrliao/hhvm
4ed1b985c6fad79376994726490bccdcba3699a6
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hhbbc/test/type-system.cpp
mrliao/hhvm
4ed1b985c6fad79376994726490bccdcba3699a6
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
/* +----------------------------------------------------------------------+ | HipHop for PHP | +----------------------------------------------------------------------+ | Copyright (c) 2010-2014 Facebook, Inc. (http://www.facebook.com) | +---------...
34.985658
79
0.695693
arnononline
f68aa1f30642677206154c59cdfc7088a3b4d3d0
38,240
cpp
C++
tools/converter/source/optimizer/PostTreatUtils.cpp
loveltyoic/MNN
ff405a307819a7228e0d1fc02c00c68021745b0a
[ "Apache-2.0" ]
null
null
null
tools/converter/source/optimizer/PostTreatUtils.cpp
loveltyoic/MNN
ff405a307819a7228e0d1fc02c00c68021745b0a
[ "Apache-2.0" ]
null
null
null
tools/converter/source/optimizer/PostTreatUtils.cpp
loveltyoic/MNN
ff405a307819a7228e0d1fc02c00c68021745b0a
[ "Apache-2.0" ]
1
2021-01-15T06:28:11.000Z
2021-01-15T06:28:11.000Z
// // PostTreatUtils.cpp // MNNConverter // // Created by MNN on 2019/01/31. // Copyright © 2018, Alibaba Group Holding Limited // #include "PostTreatUtils.hpp" #include <iostream> using namespace MNN; static bool _OpNeedContent(OpType type, int index) { switch (type) { case OpType_Shape: case ...
38.665319
119
0.536506
loveltyoic
f68f29acbd82cc84b30bd16c7efba55a367f1f96
16,901
cpp
C++
validation/val_proj_mgi.cpp
TUW-GEO/OGRSpatialRef3D
eb54378eabb885dd1e13616b2eb6b2bde99d90e2
[ "MIT" ]
6
2017-05-12T08:18:27.000Z
2022-01-17T17:16:11.000Z
validation/val_proj_mgi.cpp
TUW-GEO/OGRSpatialRef3D
eb54378eabb885dd1e13616b2eb6b2bde99d90e2
[ "MIT" ]
1
2019-03-07T15:25:14.000Z
2019-03-07T15:25:14.000Z
validation/val_proj_mgi.cpp
TUW-GEO/OGRSpatialRef3D
eb54378eabb885dd1e13616b2eb6b2bde99d90e2
[ "MIT" ]
1
2019-03-05T05:18:51.000Z
2019-03-05T05:18:51.000Z
#include <iostream> #include "validate.h" #include "ogr_spatialref3D.h" using namespace std; void proj_mgi_to_geoc_etrs() { double *r0 = (double*)CPLMalloc(sizeof(double)*num_data); double *r1 = (double*)CPLMalloc(sizeof(double)*num_data); double *r2 = (double*)CPLMalloc(sizeof(double)*num_data); double *r3 = (...
33.401186
84
0.666292
TUW-GEO
f68f92b1fda57e49b024b497d31673a960eaddac
1,915
cpp
C++
HDUOJ/5749 .cpp
LzyRapx/Competitive-Programming
6b0eea727f9a6444700a6966209397ac7011226f
[ "Apache-2.0" ]
81
2018-06-03T04:27:45.000Z
2020-09-13T09:04:12.000Z
HDUOJ/5749 .cpp
Walkerlzy/Competitive-algorithm
6b0eea727f9a6444700a6966209397ac7011226f
[ "Apache-2.0" ]
null
null
null
HDUOJ/5749 .cpp
Walkerlzy/Competitive-algorithm
6b0eea727f9a6444700a6966209397ac7011226f
[ "Apache-2.0" ]
21
2018-07-11T04:02:38.000Z
2020-07-18T20:31:14.000Z
//#include<bits/stdc++.h> #include<iostream> #include<stdio.h> #include<cstring> #include<string.h> #include<algorithm> #define N 1010 using namespace std; int n,m; int a[N][N]; int stk[N],top; int L[N][N],R[N][N],U[N][N],D[N][N]; int readint() { char c; while((c=getchar())&&!(c>='0' && c<='9')); int...
18.592233
82
0.423499
LzyRapx
f68fef444c5cfdd733f080da6c77f65262d5e99b
7,592
cpp
C++
Patches/2TBHardDriveFix.cpp
TheMachineAmbassador/Silent-Hill-2-Enhancements
41650db4a97ca6085db69446e7a20042b344e77f
[ "Zlib" ]
null
null
null
Patches/2TBHardDriveFix.cpp
TheMachineAmbassador/Silent-Hill-2-Enhancements
41650db4a97ca6085db69446e7a20042b344e77f
[ "Zlib" ]
null
null
null
Patches/2TBHardDriveFix.cpp
TheMachineAmbassador/Silent-Hill-2-Enhancements
41650db4a97ca6085db69446e7a20042b344e77f
[ "Zlib" ]
null
null
null
/** * Copyright (C) 2022 Elisha Riedlinger * * This software is provided 'as-is', without any express or implied warranty. In no event will the * authors be held liable for any damages arising from the use of this software. * Permission is granted to anyone to use this software for any purpose, including co...
28.01476
156
0.730374
TheMachineAmbassador
f69670e9bba94a0940efdd396cccc78b1f376b25
568
hpp
C++
bolt/server/include/azure_handler.hpp
gamunu/bolt
c1a2956f02656f3ec2c244486a816337126905ae
[ "Apache-2.0" ]
1
2022-03-06T09:23:56.000Z
2022-03-06T09:23:56.000Z
bolt/server/include/azure_handler.hpp
gamunu/bolt
c1a2956f02656f3ec2c244486a816337126905ae
[ "Apache-2.0" ]
3
2021-04-23T18:12:20.000Z
2021-04-23T18:12:47.000Z
bolt/server/include/azure_handler.hpp
gamunu/bolt
c1a2956f02656f3ec2c244486a816337126905ae
[ "Apache-2.0" ]
null
null
null
#pragma once #include <azure_entity.h> #include <cpprest/http_msg.h> #include <cpprest/json.h> #include <permissions.hpp> using namespace web; using namespace bolt::storage; class AzureHandler { public: AzureHandler(const http::http_request &request, http::method method); void InitializeHandlers(); void HandleGe...
23.666667
101
0.767606
gamunu
f69ac45c71395e427977c247d919709b180a7add
8,054
cc
C++
processors/IA32/bochs/cpu/ret_far.cc
pavel-krivanek/opensmalltalk-vm
694dfe3ed015e16f5b8e9cf17d37e4bdd32bea16
[ "MIT" ]
445
2016-06-30T08:19:11.000Z
2022-03-28T06:09:49.000Z
processors/IA32/bochs/cpu/ret_far.cc
pavel-krivanek/opensmalltalk-vm
694dfe3ed015e16f5b8e9cf17d37e4bdd32bea16
[ "MIT" ]
439
2016-06-29T20:14:36.000Z
2022-03-17T19:59:58.000Z
processors/IA32/bochs/cpu/ret_far.cc
pavel-krivanek/opensmalltalk-vm
694dfe3ed015e16f5b8e9cf17d37e4bdd32bea16
[ "MIT" ]
137
2016-07-02T17:32:07.000Z
2022-03-20T11:17:25.000Z
//////////////////////////////////////////////////////////////////////// // $Id: ret_far.cc,v 1.20 2008/06/13 08:02:22 sshwarts Exp $ ///////////////////////////////////////////////////////////////////////// // // Copyright (c) 2005 Stanislav Shwartsman // Written by Stanislav Shwartsman [sshwarts at sourcef...
35.480176
88
0.610256
pavel-krivanek
f69e781bf8eb0f31d0eea18483a411b14900b2ef
293
cpp
C++
27-remove-element/27-remove-element.cpp
Edith-panda/leetcode
175b4cbcd25b95b4863d793c876719eabb94dafc
[ "Apache-2.0" ]
null
null
null
27-remove-element/27-remove-element.cpp
Edith-panda/leetcode
175b4cbcd25b95b4863d793c876719eabb94dafc
[ "Apache-2.0" ]
null
null
null
27-remove-element/27-remove-element.cpp
Edith-panda/leetcode
175b4cbcd25b95b4863d793c876719eabb94dafc
[ "Apache-2.0" ]
null
null
null
class Solution { public: int removeElement(vector<int>& nums, int val) { int n = nums.size(); int k{0}; for(int i=0;i<n;i++){ if(nums[i] != val){ nums[k] = nums[i]; k++; } } return k; } };
20.928571
51
0.375427
Edith-panda
f69eb41d92b39972d172e2b3a5de6be6635dcd0d
2,956
cpp
C++
HugeCTR/src/model_oversubscriber/parameter_server.cpp
xmh645214784/HugeCTR-1
de4e850ef9993998c3a69ff1f2af64bed528989f
[ "Apache-2.0" ]
null
null
null
HugeCTR/src/model_oversubscriber/parameter_server.cpp
xmh645214784/HugeCTR-1
de4e850ef9993998c3a69ff1f2af64bed528989f
[ "Apache-2.0" ]
null
null
null
HugeCTR/src/model_oversubscriber/parameter_server.cpp
xmh645214784/HugeCTR-1
de4e850ef9993998c3a69ff1f2af64bed528989f
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2021, NVIDIA CORPORATION. * * 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 ...
32.130435
77
0.734777
xmh645214784
f6a011cd5857a6a1ecd43ba20c536bc22ff0ff91
19,031
cxx
C++
osprey/be/lno/lego_skew.cxx
sharugupta/OpenUH
daddd76858a53035f5d713f648d13373c22506e8
[ "BSD-2-Clause" ]
null
null
null
osprey/be/lno/lego_skew.cxx
sharugupta/OpenUH
daddd76858a53035f5d713f648d13373c22506e8
[ "BSD-2-Clause" ]
null
null
null
osprey/be/lno/lego_skew.cxx
sharugupta/OpenUH
daddd76858a53035f5d713f648d13373c22506e8
[ "BSD-2-Clause" ]
null
null
null
/* * Copyright (C) 2009 Advanced Micro Devices, Inc. All Rights Reserved. */ /* Copyright (C) 2000, 2001 Silicon Graphics, Inc. All Rights Reserved. This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the F...
36.249524
79
0.600967
sharugupta
f6a5c9741de6bc6238efa71d1d0ea5f395a11da3
382
hpp
C++
endscreen.hpp
hckr/space-logic-adventure
7465c7ffb70b0488ce4ff88620e3d35742f4fb06
[ "MIT" ]
6
2017-09-15T16:15:03.000Z
2020-01-09T04:31:26.000Z
endscreen.hpp
hckr/space-logic-adventure
7465c7ffb70b0488ce4ff88620e3d35742f4fb06
[ "MIT" ]
null
null
null
endscreen.hpp
hckr/space-logic-adventure
7465c7ffb70b0488ce4ff88620e3d35742f4fb06
[ "MIT" ]
1
2017-12-05T05:22:02.000Z
2017-12-05T05:22:02.000Z
#pragma once #include "screen.hpp" class EndScreen : public Screen { sf::Sprite &background_sp; public: EndScreen(const sf::Font &font, sf::Sprite &background_sp, const sf::Color &fillColor, const sf::Color &outlineColor); virtual void processEvent(const sf::Event &event); private: virtual void draw...
23.875
122
0.722513
hckr
f6a792c580f12c591efe40f0c0b6d102af530cee
6,230
cpp
C++
Ch17_Any/any.cpp
jamcodes/Cpp17CompleteGuide
a21ca5c3f5069b501cd650aa62e5e623bd2c953b
[ "Unlicense" ]
3
2020-10-03T05:51:00.000Z
2021-08-24T07:45:28.000Z
Ch17_Any/any.cpp
jamcodes/Cpp17CompleteGuide
a21ca5c3f5069b501cd650aa62e5e623bd2c953b
[ "Unlicense" ]
null
null
null
Ch17_Any/any.cpp
jamcodes/Cpp17CompleteGuide
a21ca5c3f5069b501cd650aa62e5e623bd2c953b
[ "Unlicense" ]
null
null
null
#include <any> #include <complex> #include <iostream> #include <string> #include <type_traits> #include <utility> /** * C++17 adds `std::any` - a value type that's able to change its type, but while still having * type safety. std::any accepts an arbitrary type - it holds the contained value and the * `typeid` of i...
47.557252
100
0.539165
jamcodes
f6a8f77ef303928846e002771b03a2ea9d99d7ba
3,964
cpp
C++
samples/snippets/cpp/VS_Snippets_CLR_System/system.Threading.WaitHandle.SignalAndWait/CPP/source.cpp
hamarb123/dotnet-api-docs
6aeb55784944a2f1f5e773b657791cbd73a92dd4
[ "CC-BY-4.0", "MIT" ]
421
2018-04-01T01:57:50.000Z
2022-03-28T15:24:42.000Z
samples/snippets/cpp/VS_Snippets_CLR_System/system.Threading.WaitHandle.SignalAndWait/CPP/source.cpp
hamarb123/dotnet-api-docs
6aeb55784944a2f1f5e773b657791cbd73a92dd4
[ "CC-BY-4.0", "MIT" ]
5,797
2018-04-02T21:12:23.000Z
2022-03-31T23:54:38.000Z
samples/snippets/cpp/VS_Snippets_CLR_System/system.Threading.WaitHandle.SignalAndWait/CPP/source.cpp
hamarb123/dotnet-api-docs
6aeb55784944a2f1f5e773b657791cbd73a92dd4
[ "CC-BY-4.0", "MIT" ]
1,482
2018-03-31T11:26:20.000Z
2022-03-30T22:36:45.000Z
//<Snippet1> using namespace System; using namespace System::Threading; public ref class Example { private: // The EventWaitHandle used to demonstrate the difference // between AutoReset and ManualReset synchronization events. // static EventWaitHandle^ ewh; // A counter to make sure all th...
31.460317
76
0.590565
hamarb123
f6a952885326d1669197397be784d58e1b05c496
2,463
cpp
C++
rmw_coredx_cpp/src/rmw_send_response.cpp
rupertholman/rmw_coredx
1c97655212bfa90b1353f019ae08e8b2c487db8d
[ "Apache-2.0" ]
null
null
null
rmw_coredx_cpp/src/rmw_send_response.cpp
rupertholman/rmw_coredx
1c97655212bfa90b1353f019ae08e8b2c487db8d
[ "Apache-2.0" ]
null
null
null
rmw_coredx_cpp/src/rmw_send_response.cpp
rupertholman/rmw_coredx
1c97655212bfa90b1353f019ae08e8b2c487db8d
[ "Apache-2.0" ]
null
null
null
// Copyright 2015 Twin Oaks Computing, Inc. // Modifications copyright (C) 2017-2018 Twin Oaks Computing, 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....
27.366667
80
0.710922
rupertholman
f6a9ee0167f5639b7b97c28fce5f0bd35fa9ca19
999
hpp
C++
src/transmission/reliable/containers/connection_list_vector.hpp
rnascunha/coap-te
eaff16162b1a524ad06e18dbdc79ca4c8658b3a8
[ "MIT" ]
null
null
null
src/transmission/reliable/containers/connection_list_vector.hpp
rnascunha/coap-te
eaff16162b1a524ad06e18dbdc79ca4c8658b3a8
[ "MIT" ]
null
null
null
src/transmission/reliable/containers/connection_list_vector.hpp
rnascunha/coap-te
eaff16162b1a524ad06e18dbdc79ca4c8658b3a8
[ "MIT" ]
null
null
null
#ifndef COAP_TE_TRANSMISSION_RELIABLE_CONNECTION_LIST_VECTOR_HPP__ #define COAP_TE_TRANSMISSION_RELIABLE_CONNECTION_LIST_VECTOR_HPP__ #include "defines/defaults.hpp" #include <vector> namespace CoAP{ namespace Transmission{ namespace Reliable{ #if COAP_TE_RELIABLE_CONNECTION == 1 template<typename Connection> class...
22.704545
71
0.795796
rnascunha
f6adb26915396c08b1ef61a8f04e435af4cf441b
2,503
cpp
C++
src/libv/update/resource_server/resource_server_state.cpp
cpplibv/libv
293e382f459f0acbc540de8ef6283782b38d2e63
[ "Zlib" ]
2
2018-04-11T03:07:03.000Z
2019-03-29T15:24:12.000Z
src/libv/update/resource_server/resource_server_state.cpp
cpplibv/libv
293e382f459f0acbc540de8ef6283782b38d2e63
[ "Zlib" ]
null
null
null
src/libv/update/resource_server/resource_server_state.cpp
cpplibv/libv
293e382f459f0acbc540de8ef6283782b38d2e63
[ "Zlib" ]
1
2021-06-13T06:39:06.000Z
2021-06-13T06:39:06.000Z
// Project: libv.update, File: src/libv/update/resource_server/resource_server_state.cpp, Author: Császár Mátyás [Vader] // hpp #include <libv/update/resource_server/resource_server_state.lpp> // libv //#include <libv/mt/worker_thread_pool.hpp> #include <libv/algo/linear_find.hpp> // pro //#include <libv/update/log.hp...
30.901235
141
0.669996
cpplibv
f6b4e82a88ed97388d7b516986ff163a97040535
11,683
cpp
C++
lldb/source/Target/UnixSignals.cpp
lforg37/sycl
0804265491788808e1218dbda086c22ecc971ac2
[ "Apache-2.0" ]
null
null
null
lldb/source/Target/UnixSignals.cpp
lforg37/sycl
0804265491788808e1218dbda086c22ecc971ac2
[ "Apache-2.0" ]
null
null
null
lldb/source/Target/UnixSignals.cpp
lforg37/sycl
0804265491788808e1218dbda086c22ecc971ac2
[ "Apache-2.0" ]
null
null
null
//===-- UnixSignals.cpp ---------------------------------------------------===// // // 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 // //===---------------------------...
36.85489
114
0.651887
lforg37
f6b502462e3b6fca862663fd62725d11a8921bff
512
hpp
C++
kizunano/node/openclconfig.hpp
kizunanocoin/node
c6013e7e992ab75432db58da05054b381f821566
[ "BSD-3-Clause" ]
1
2021-08-16T06:41:05.000Z
2021-08-16T06:41:05.000Z
kizunano/node/openclconfig.hpp
kizunanocoin/node
c6013e7e992ab75432db58da05054b381f821566
[ "BSD-3-Clause" ]
null
null
null
kizunano/node/openclconfig.hpp
kizunanocoin/node
c6013e7e992ab75432db58da05054b381f821566
[ "BSD-3-Clause" ]
null
null
null
#pragma once #include <kizunano/lib/errors.hpp> namespace nano { class jsonconfig; class tomlconfig; class opencl_config { public: opencl_config () = default; opencl_config (unsigned, unsigned, unsigned); nano::error serialize_json (nano::jsonconfig &) const; nano::error deserialize_json (nano::jsonconfig &); na...
22.26087
55
0.738281
kizunanocoin
f6b7587ba9fbbcadc46a0c2b9475007dd2f6e86a
1,029
hpp
C++
src/common/ObjectCounter.hpp
halfmvsq/histolozee
c624c0d7c3a70bcc0d6aac87b4f24677e064b6a5
[ "Apache-2.0" ]
null
null
null
src/common/ObjectCounter.hpp
halfmvsq/histolozee
c624c0d7c3a70bcc0d6aac87b4f24677e064b6a5
[ "Apache-2.0" ]
null
null
null
src/common/ObjectCounter.hpp
halfmvsq/histolozee
c624c0d7c3a70bcc0d6aac87b4f24677e064b6a5
[ "Apache-2.0" ]
null
null
null
#ifndef OBJECT_COUNTER_H #define OBJECT_COUNTER_H #include <cstddef> /** * @brief Template class for couynting the number of objects of type T created and * currently allocated (a.k.a. the number of objects that are "alive"). */ template< class T > class ObjectCounter { public: ObjectCounter() { ...
17.440678
82
0.643343
halfmvsq
f6b898fa886a2a244ec1a0929b6e5630d3ea60e9
3,924
cpp
C++
vstgui/tests/unittest/uidescription/uiviewcreator/uiviewswitchcontainercreator_test.cpp
GizzZmo/vstgui
477a3de78ecbcf25f52cce9ad49c5feb0b15ea9e
[ "BSD-3-Clause" ]
205
2019-06-09T18:40:27.000Z
2022-03-24T01:53:49.000Z
vstgui/tests/unittest/uidescription/uiviewcreator/uiviewswitchcontainercreator_test.cpp
GizzZmo/vstgui
477a3de78ecbcf25f52cce9ad49c5feb0b15ea9e
[ "BSD-3-Clause" ]
9
2019-12-23T17:46:30.000Z
2022-02-09T14:40:53.000Z
vstgui/tests/unittest/uidescription/uiviewcreator/uiviewswitchcontainercreator_test.cpp
GizzZmo/vstgui
477a3de78ecbcf25f52cce9ad49c5feb0b15ea9e
[ "BSD-3-Clause" ]
30
2019-06-11T04:05:46.000Z
2022-03-29T15:52:14.000Z
// This file is part of VSTGUI. It is subject to the license terms // in the LICENSE file found in the top-level directory of this // distribution and at http://github.com/steinbergmedia/vstgui/LICENSE #include "../../unittests.h" #include "../../../../uidescription/uiviewfactory.h" #include "../../../../uidescriptio...
43.120879
148
0.756371
GizzZmo
f6ba628ba26a5c181735eb62e94c57d964617200
1,196
hh
C++
src/include/simeng/SpecialFileDirGen.hh
ABagdia/SimEng
63b52fbb6e07c75100e03a153191b9c548f537c5
[ "Apache-2.0" ]
null
null
null
src/include/simeng/SpecialFileDirGen.hh
ABagdia/SimEng
63b52fbb6e07c75100e03a153191b9c548f537c5
[ "Apache-2.0" ]
null
null
null
src/include/simeng/SpecialFileDirGen.hh
ABagdia/SimEng
63b52fbb6e07c75100e03a153191b9c548f537c5
[ "Apache-2.0" ]
null
null
null
#pragma once #include <fstream> #include <string> #include "simeng/version.hh" #include "yaml-cpp/yaml.h" namespace simeng { class SpecialFileDirGen { public: /** Construct a SpecialFileDirGen class by reading in the YAML file and * running it through checks and formatting. */ SpecialFileDirGen(YAML::Node co...
27.181818
79
0.736622
ABagdia
f6c10d358f79386e866cc417c1aa8ebf68cc00ec
997
cpp
C++
liero/menu/menuItem.cpp
lauri-kaariainen/emscripten_openliero
ab3268237c7084e00f3bccb4442f0ad7762d8419
[ "BSD-2-Clause" ]
null
null
null
liero/menu/menuItem.cpp
lauri-kaariainen/emscripten_openliero
ab3268237c7084e00f3bccb4442f0ad7762d8419
[ "BSD-2-Clause" ]
2
2015-02-11T09:43:33.000Z
2015-02-11T17:57:58.000Z
liero/menu/menuItem.cpp
lauri-kaariainen/emscripten_openliero
ab3268237c7084e00f3bccb4442f0ad7762d8419
[ "BSD-2-Clause" ]
null
null
null
#include "menuItem.hpp" #include "../common.hpp" #include "../gfx.hpp" void MenuItem::draw(Common& common, int x, int y, bool selected, bool disabled, bool centered, int valueOffsetX) { int wid = common.font.getDims(string); int valueWid = common.font.getDims(value); if(centered) x -= (wid >> 1); ...
24.925
113
0.616851
lauri-kaariainen
f6c29374b28262912e0144e2a97440dd55987a66
844
hpp
C++
include/retirement.hpp
FORGIS98/budgetwarrior
ca4c79a7b9694a0db5c7fe11b1b4e9cba96a9971
[ "MIT" ]
null
null
null
include/retirement.hpp
FORGIS98/budgetwarrior
ca4c79a7b9694a0db5c7fe11b1b4e9cba96a9971
[ "MIT" ]
null
null
null
include/retirement.hpp
FORGIS98/budgetwarrior
ca4c79a7b9694a0db5c7fe11b1b4e9cba96a9971
[ "MIT" ]
null
null
null
//======================================================================= // Copyright (c) 2013-2020 Baptiste Wicht. // Distributed under the terms of the MIT License. // (See accompanying file LICENSE or copy at // http://opensource.org/licenses/MIT) //=================================================================...
24.823529
73
0.598341
FORGIS98
f6c66c2b003609a8a897b37c776863a23407bbee
18,259
cc
C++
paddle/fluid/inference/api/analysis_predictor_tester.cc
JingChunzhen/Paddle
1bce7caabc1c5e55b1fa13edb19719c397803c43
[ "Apache-2.0" ]
2
2021-02-04T15:04:21.000Z
2021-02-07T14:20:00.000Z
paddle/fluid/inference/api/analysis_predictor_tester.cc
hexieshenghuo/Paddle
2497f4392fe60f4c72e9b7ff5de9b8b6117aacac
[ "Apache-2.0" ]
null
null
null
paddle/fluid/inference/api/analysis_predictor_tester.cc
hexieshenghuo/Paddle
2497f4392fe60f4c72e9b7ff5de9b8b6117aacac
[ "Apache-2.0" ]
1
2021-03-16T13:40:08.000Z
2021-03-16T13:40:08.000Z
// Copyright (c) 2018 PaddlePaddle Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required...
32.839928
80
0.708418
JingChunzhen
f6c6e83606df8fbe4bde2fb8f25789dc95d301c1
20,338
cpp
C++
velox/expression/tests/CastExprTest.cpp
littleeleventhwolf/velox
856d1f91f7da09a9313c893e12adb0070ddd3fb9
[ "Apache-2.0" ]
null
null
null
velox/expression/tests/CastExprTest.cpp
littleeleventhwolf/velox
856d1f91f7da09a9313c893e12adb0070ddd3fb9
[ "Apache-2.0" ]
23
2021-11-11T12:38:17.000Z
2022-01-28T10:59:38.000Z
velox/expression/tests/CastExprTest.cpp
littleeleventhwolf/velox
856d1f91f7da09a9313c893e12adb0070ddd3fb9
[ "Apache-2.0" ]
8
2021-11-11T12:26:21.000Z
2022-01-12T08:58:32.000Z
/* * Copyright (c) Facebook, Inc. and its affiliates. * * 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 applic...
32.488818
80
0.618645
littleeleventhwolf
f6c8d1d8e031901f9a627e56357066d059d42c8c
14,900
cpp
C++
ring_puzzle_game/Assets.cpp
SSNikolaevich/ring_puzzle_game
5db7f50ecc477899727ba7250e387002420db007
[ "MIT" ]
null
null
null
ring_puzzle_game/Assets.cpp
SSNikolaevich/ring_puzzle_game
5db7f50ecc477899727ba7250e387002420db007
[ "MIT" ]
1
2017-11-27T14:17:53.000Z
2017-11-29T09:14:22.000Z
ring_puzzle_game/Assets.cpp
SSNikolaevich/ring_puzzle_game
5db7f50ecc477899727ba7250e387002420db007
[ "MIT" ]
1
2018-02-20T14:33:44.000Z
2018-02-20T14:33:44.000Z
//=========================================================================== #include "Assets.h" //=========================================================================== const unsigned char PROGMEM titleSprite_plus_mask[] = { // width, height, 88, 49, // FRAME 00 0x00, 0x00, 0x00, 0x00, 0x0...
107.194245
532
0.644631
SSNikolaevich
f6c8f8d6156f2ef23cb4aaa0413d9bd276361f9e
7,859
cpp
C++
src/graphics/SimpleBrush3D.cpp
LU15W1R7H/lwirth-lib
f51cfb56b801790c200cea64d226730449d68f53
[ "MIT" ]
2
2018-04-04T17:26:32.000Z
2020-06-26T09:22:49.000Z
src/graphics/SimpleBrush3D.cpp
LU15W1R7H/lwirth-lib
f51cfb56b801790c200cea64d226730449d68f53
[ "MIT" ]
1
2018-08-27T14:35:45.000Z
2018-08-27T19:00:12.000Z
src/graphics/SimpleBrush3D.cpp
LU15W1R7H/lwirth-lib
f51cfb56b801790c200cea64d226730449d68f53
[ "MIT" ]
null
null
null
#include "SimpleBrush3D.hpp" #include "Color.hpp" #include <cstring> #include "Vulkan.hpp" namespace lw { void SimpleBrush3D::setColor(const Color& color) { m_mainColor = color; } void SimpleBrush3D::setColor(f32 r, f32 g, f32 b, f32 a /*= 1.f*/) { m_mainColor = { r, g, b, a }; } void SimpleBrush3D:...
27.006873
200
0.717267
LU15W1R7H
f6ce05b0de1e3e4011bda28df5b723267ddb3ca6
2,021
cc
C++
google/cloud/storage/oauth2/google_application_default_credentials_file.cc
orinem/google-cloud-cpp
c43f73e9abeb2b9d8a6e99f7d9750cba37f2f6b1
[ "Apache-2.0" ]
3
2020-05-27T23:21:23.000Z
2020-05-31T22:31:53.000Z
google/cloud/storage/oauth2/google_application_default_credentials_file.cc
orinem/google-cloud-cpp
c43f73e9abeb2b9d8a6e99f7d9750cba37f2f6b1
[ "Apache-2.0" ]
2
2020-10-06T15:50:06.000Z
2020-11-24T16:21:28.000Z
google/cloud/storage/oauth2/google_application_default_credentials_file.cc
orinem/google-cloud-cpp
c43f73e9abeb2b9d8a6e99f7d9750cba37f2f6b1
[ "Apache-2.0" ]
1
2021-12-09T16:26:23.000Z
2021-12-09T16:26:23.000Z
// Copyright 2018 Google LLC // // 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 w...
29.289855
84
0.743196
orinem
f6cec56e456f741d39f5b26d53b5a00a129ddcba
45,523
cpp
C++
src/types/viewport.cpp
lifeng1983/Terminal
1d35e180fdaacef731886bdb2cabca2ea4fe2b49
[ "MIT" ]
12
2020-07-23T16:31:06.000Z
2021-09-08T01:49:10.000Z
src/types/viewport.cpp
lifeng1983/Terminal
1d35e180fdaacef731886bdb2cabca2ea4fe2b49
[ "MIT" ]
6
2020-07-23T19:16:18.000Z
2020-07-30T22:59:06.000Z
src/types/viewport.cpp
lifeng1983/Terminal
1d35e180fdaacef731886bdb2cabca2ea4fe2b49
[ "MIT" ]
2
2020-05-22T12:54:28.000Z
2020-08-02T15:21:14.000Z
// Copyright (c) Microsoft Corporation. // Licensed under the MIT license. #include "precomp.h" #include "inc/Viewport.hpp" using namespace Microsoft::Console::Types; Viewport::Viewport(const SMALL_RECT sr) noexcept : _sr(sr) { } Viewport::Viewport(const Viewport& other) noexcept : _sr(other._...
42.073013
151
0.536564
lifeng1983
f6cf89f7e535ebbb50079b8f58a06dda2052430b
3,133
cpp
C++
src/Device/VertexProcessor.cpp
wenxiaoming/swiftshader
13ec11db84e85fd5d53b5d8d59c55853eb854fe6
[ "Apache-2.0" ]
null
null
null
src/Device/VertexProcessor.cpp
wenxiaoming/swiftshader
13ec11db84e85fd5d53b5d8d59c55853eb854fe6
[ "Apache-2.0" ]
null
null
null
src/Device/VertexProcessor.cpp
wenxiaoming/swiftshader
13ec11db84e85fd5d53b5d8d59c55853eb854fe6
[ "Apache-2.0" ]
5
2021-06-11T15:09:19.000Z
2022-03-13T11:14:33.000Z
// Copyright 2016 The SwiftShader Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required b...
26.777778
107
0.688158
wenxiaoming
f6d3dc11620d400ff83228bcf024300c31efa7d6
3,115
cpp
C++
cmdstan/stan/lib/stan_math/test/unit/math/torsten/mixSolver/pred1_mix2_test.cpp
csetraynor/Torsten
55b59b8068e2a539346f566ec698c755a9e3536c
[ "BSD-3-Clause" ]
null
null
null
cmdstan/stan/lib/stan_math/test/unit/math/torsten/mixSolver/pred1_mix2_test.cpp
csetraynor/Torsten
55b59b8068e2a539346f566ec698c755a9e3536c
[ "BSD-3-Clause" ]
null
null
null
cmdstan/stan/lib/stan_math/test/unit/math/torsten/mixSolver/pred1_mix2_test.cpp
csetraynor/Torsten
55b59b8068e2a539346f566ec698c755a9e3536c
[ "BSD-3-Clause" ]
null
null
null
#include <stan/math/rev/mat.hpp> // FIX ME - more specific #include <stan/math/torsten/PKModel/Pred/Pred1_mix2.hpp> #include <stan/math/torsten/PKModel/functors/mix2_functor.hpp> #include <gtest/gtest.h> struct ODE_functor { template <typename T0, typename T1, typename T2, typename T3> inline std::vector<typena...
31.464646
86
0.61862
csetraynor
f6d9d896e4f0834d9c5c3285e409dc3be35914be
343
cpp
C++
14/1448. Count Good Nodes in Binary Tree.cpp
eagleoflqj/LeetCode
ca5dd06cad4c7fe5bf679cca7ee60f4348b316e9
[ "MIT" ]
null
null
null
14/1448. Count Good Nodes in Binary Tree.cpp
eagleoflqj/LeetCode
ca5dd06cad4c7fe5bf679cca7ee60f4348b316e9
[ "MIT" ]
1
2021-12-25T10:33:23.000Z
2022-02-16T00:34:05.000Z
14/1448. Count Good Nodes in Binary Tree.cpp
eagleoflqj/LeetCode
ca5dd06cad4c7fe5bf679cca7ee60f4348b316e9
[ "MIT" ]
null
null
null
class Solution { int helper(TreeNode *root, int M) { if(!root) return 0; int good = root->val >= M; if(good) M = root->val; return good + helper(root->left, M) + helper(root->right, M); } public: int goodNodes(TreeNode* root) { return helper(ro...
22.866667
69
0.507289
eagleoflqj
f6dc0ededa96ca4ebf070ed8249ab09c2e49f76e
318
cpp
C++
Entrega4/ComparacionAviones.cpp
driden/EntregaGrafos4
90d5d3d82580725b1bc7161e2191ba5bbfd98041
[ "MIT" ]
null
null
null
Entrega4/ComparacionAviones.cpp
driden/EntregaGrafos4
90d5d3d82580725b1bc7161e2191ba5bbfd98041
[ "MIT" ]
null
null
null
Entrega4/ComparacionAviones.cpp
driden/EntregaGrafos4
90d5d3d82580725b1bc7161e2191ba5bbfd98041
[ "MIT" ]
null
null
null
#include "ComparacionAviones.h" CompRetorno ComparacionAviones::Comparar(const CostoArco& t1, const CostoArco& t2) const { if (t1.aviones > t2.aviones) return MAYOR; if (t1.aviones < t2.aviones) return MENOR; if (t1.tiempo > t2.tiempo) return MAYOR; if (t1.tiempo < t2.tiempo) return MENOR; return IGUALES; }
24.461538
88
0.732704
driden
f6e20bd24fe446d6ee2b78b8fc1984a92e4e832f
4,755
cpp
C++
Shape_detection/benchmark/Shape_detection/benchmark_region_growing_on_point_set_2.cpp
gaschler/cgal
d1fe2afa18da5524db6d4946f42ca4b8d00e0bda
[ "CC0-1.0" ]
2
2020-12-12T09:30:07.000Z
2021-01-04T05:00:23.000Z
Shape_detection/benchmark/Shape_detection/benchmark_region_growing_on_point_set_2.cpp
guorongtao/cgal
a848e52552a9205124b7ae13c7bcd2b860eb4530
[ "CC0-1.0" ]
1
2021-03-12T14:38:20.000Z
2021-03-12T14:38:20.000Z
Shape_detection/benchmark/Shape_detection/benchmark_region_growing_on_point_set_2.cpp
szobov/cgal
e7b91b92b8c6949e3b62023bdd1e9f3ad8472626
[ "CC0-1.0" ]
1
2022-03-05T04:18:59.000Z
2022-03-05T04:18:59.000Z
// STL includes. #include <string> #include <vector> #include <utility> #include <cstdlib> #include <fstream> #include <iostream> #include <iterator> // CGAL includes. #include <CGAL/Timer.h> #include <CGAL/property_map.h> #include <CGAL/Exact_predicates_inexact_constructions_kernel.h> #include <CGAL/Shape_detection/...
36.29771
112
0.686225
gaschler
f6e31b47bf971e8872a7819ad50a0b4387374e04
4,835
cpp
C++
nano/nano_rpc/entry.cpp
MacroChip/nano-node
d555eae77a564550c76cc541a47d297a1dcd59d1
[ "BSD-2-Clause" ]
1
2021-05-23T11:23:01.000Z
2021-05-23T11:23:01.000Z
nano/nano_rpc/entry.cpp
Nikolya7373/nano-node
c673e4e340f46351786b1b5267b7e1635aba9ff5
[ "BSD-3-Clause" ]
5
2020-11-23T23:18:27.000Z
2020-11-24T23:40:23.000Z
nano/nano_rpc/entry.cpp
Nikolya7373/nano-node
c673e4e340f46351786b1b5267b7e1635aba9ff5
[ "BSD-3-Clause" ]
null
null
null
#include <nano/lib/errors.hpp> #include <nano/lib/threading.hpp> #include <nano/lib/utility.hpp> #include <nano/node/cli.hpp> #include <nano/node/ipc/ipc_server.hpp> #include <nano/rpc/rpc.hpp> #include <nano/rpc/rpc_request_processor.hpp> #include <nano/secure/utility.hpp> #include <boost/filesystem.hpp> #include <bo...
30.601266
428
0.687694
MacroChip
f6e328b99cac6eb723dcf13452b7086e05f9bd0a
14,146
cc
C++
lib/ts/ink_hash_table.cc
garfieldonly/ats_git
940ff5c56bebabb96130a55c2a17212c5c518138
[ "Apache-2.0" ]
1
2022-01-19T14:34:34.000Z
2022-01-19T14:34:34.000Z
lib/ts/ink_hash_table.cc
mingzym/trafficserver
a01c3a357b4ff9193f2e2a8aee48e3751ef2177a
[ "Apache-2.0" ]
2
2017-12-05T23:48:37.000Z
2017-12-20T01:22:07.000Z
lib/ts/ink_hash_table.cc
maskit/trafficserver
3ffa19873f7cd7ced2fbdfed5a0ac8ddbbe70a68
[ "Apache-2.0" ]
null
null
null
/** @file A brief file description @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 und...
32.51954
120
0.592394
garfieldonly
f6e774b1b24314bcbefe403af6de2a662da3240d
2,423
hpp
C++
lib/include/drivers/uart/detail/init.hpp
niclasberg/asfw
f836de1c0d6350541e3253863dedab6a3eb81df7
[ "MIT" ]
null
null
null
lib/include/drivers/uart/detail/init.hpp
niclasberg/asfw
f836de1c0d6350541e3253863dedab6a3eb81df7
[ "MIT" ]
null
null
null
lib/include/drivers/uart/detail/init.hpp
niclasberg/asfw
f836de1c0d6350541e3253863dedab6a3eb81df7
[ "MIT" ]
null
null
null
#pragma once #include "types.hpp" #include "reg/peripheral_operations.hpp" #include "board/regmap/uart.hpp" #include "reg/set.hpp" #include "reg/write.hpp" #include "reg/apply.hpp" namespace drivers::uart { namespace detail { using board::uart::CR1::PsVal; using board::uart::CR1::MVal; ...
37.859375
96
0.588114
niclasberg
f6e7dd267fd0640b20c53bd06fdcf1448a4d5f76
2,574
cpp
C++
Code/EditorPlugins/Assets/EnginePluginAssets/TextureCubeAsset/TextureCubeView.cpp
alinoctavian/ezEngine
0312c8d777c05ac58911f3fa879e4fd7efcfcb66
[ "MIT" ]
null
null
null
Code/EditorPlugins/Assets/EnginePluginAssets/TextureCubeAsset/TextureCubeView.cpp
alinoctavian/ezEngine
0312c8d777c05ac58911f3fa879e4fd7efcfcb66
[ "MIT" ]
null
null
null
Code/EditorPlugins/Assets/EnginePluginAssets/TextureCubeAsset/TextureCubeView.cpp
alinoctavian/ezEngine
0312c8d777c05ac58911f3fa879e4fd7efcfcb66
[ "MIT" ]
1
2022-03-28T15:57:46.000Z
2022-03-28T15:57:46.000Z
#include <EnginePluginAssetsPCH.h> #include <EnginePluginAssets/TextureCubeAsset/TextureCubeContext.h> #include <EnginePluginAssets/TextureCubeAsset/TextureCubeView.h> #include <EditorEngineProcessFramework/EngineProcess/EngineProcessMessages.h> #include <GameEngine/GameApplication/GameApplication.h> #include <Render...
36.771429
143
0.773893
alinoctavian
f6eb9cafa30dd77c6a78e04eccc285efa3aa5f43
450
cpp
C++
Test Midterm/1.cpp
zyzkevin/C-Programming-and-Algorithms
be9642b62a3285341990c25bdc3c124c4dd8c38b
[ "MIT" ]
null
null
null
Test Midterm/1.cpp
zyzkevin/C-Programming-and-Algorithms
be9642b62a3285341990c25bdc3c124c4dd8c38b
[ "MIT" ]
null
null
null
Test Midterm/1.cpp
zyzkevin/C-Programming-and-Algorithms
be9642b62a3285341990c25bdc3c124c4dd8c38b
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> using namespace std; class A { static int count; public: // 在此处补充你的代码 A () { count++; } static int theNumberOfA() { return count; } }; int A::count = 0; int main() { vector<A> v; for(int i = 0; i < 3; i++) { { ...
13.235294
42
0.457778
zyzkevin
f6ece479737e76d5f7f1da109c6e15b356dc41e8
334
hpp
C++
src/mdp/core/oo/state/exceptions/unknown_object_exception.hpp
MarkieMark/fastrl
e4f0b9b60a7ecb6f13bbb79936ea82acb8adae0e
[ "Apache-2.0" ]
4
2019-04-19T00:11:36.000Z
2020-04-08T09:50:37.000Z
src/mdp/core/oo/state/exceptions/unknown_object_exception.hpp
MarkieMark/fastrl
e4f0b9b60a7ecb6f13bbb79936ea82acb8adae0e
[ "Apache-2.0" ]
null
null
null
src/mdp/core/oo/state/exceptions/unknown_object_exception.hpp
MarkieMark/fastrl
e4f0b9b60a7ecb6f13bbb79936ea82acb8adae0e
[ "Apache-2.0" ]
null
null
null
/* * Mark Benjamin 6th March 2019 * Copyright (c) 2019 Mark Benjamin */ #ifndef FASTRL_MDP_CORE_OO_STATE_EXCEPTIONS_UNKNOWN_OBJECT_EXCEPTION_HPP #define FASTRL_MDP_CORE_OO_STATE_EXCEPTIONS_UNKNOWN_OBJECT_EXCEPTION_HPP class UnknownObjectException { }; #endif //FASTRL_MDP_CORE_OO_STATE_EXCEPTIONS_UNKNOWN_OBJECT_...
22.266667
73
0.856287
MarkieMark
f6eff6422c429229bab5efda11a1062173665f21
14,900
cpp
C++
examples/210-Evt-EventListeners.cpp
shanep/Catch2
2db1cf34047f76cb2679a3804b476881536ad27b
[ "BSL-1.0" ]
682
2015-07-10T00:39:26.000Z
2022-03-30T05:24:53.000Z
examples/210-Evt-EventListeners.cpp
shanep/Catch2
2db1cf34047f76cb2679a3804b476881536ad27b
[ "BSL-1.0" ]
1,399
2015-07-24T22:09:09.000Z
2022-03-29T06:22:48.000Z
examples/210-Evt-EventListeners.cpp
shanep/Catch2
2db1cf34047f76cb2679a3804b476881536ad27b
[ "BSL-1.0" ]
311
2015-07-09T13:59:48.000Z
2022-03-28T00:15:20.000Z
// 210-Evt-EventListeners.cpp // Contents: // 1. Printing of listener data // 2. My listener and registration // 3. Test cases #include <catch2/catch_test_macros.hpp> #include <catch2/reporters/catch_reporter_event_listener.hpp> #include <catch2/reporters/catch_reporter_registrars.hpp> #include <catch2/catch_test_cas...
34.651163
156
0.555101
shanep
f6f0b0e80b50c86bfc23ec26f479d41967b4a7a4
958
hpp
C++
client/data_parser.hpp
derpicated/dynamic_network_of_speakers
e2407d330a2f83d8a2de33cc9905d783906c7dfc
[ "MIT" ]
8
2016-05-23T22:56:57.000Z
2016-05-28T08:22:18.000Z
client/data_parser.hpp
derpicated/dynamic_network_of_speakers
e2407d330a2f83d8a2de33cc9905d783906c7dfc
[ "MIT" ]
10
2016-05-24T20:15:45.000Z
2016-05-27T22:13:50.000Z
client/data_parser.hpp
derpicated/dynamic_network_of_speakers
e2407d330a2f83d8a2de33cc9905d783906c7dfc
[ "MIT" ]
1
2019-03-09T18:03:56.000Z
2019-03-09T18:03:56.000Z
#ifndef DNS_data_parser_HPP #define DNS_data_parser_HPP #include "./libs/logger/easylogging++.h" #include <iostream> #include <map> #include <sstream> #include <string> #include <vector> #include "libs/jzon/Jzon.h" class audioObject { public: audioObject (); float distance; float angle; }; class s...
19.958333
89
0.693111
derpicated
f6f0c548bdf9dba71e22a2df8a67da4205e9b0df
313
cpp
C++
SimulationTest/cpuTests/DistributionTest.cpp
KevinMcGin/Simulation
f1dbed05d6024274f6a69e0679f529feaae1e26e
[ "MIT" ]
4
2021-12-11T17:59:07.000Z
2021-12-24T11:08:55.000Z
SimulationTest/cpuTests/DistributionTest.cpp
KevinMcGin/Simulation
f1dbed05d6024274f6a69e0679f529feaae1e26e
[ "MIT" ]
121
2021-12-11T09:20:47.000Z
2022-03-13T18:36:48.000Z
SimulationTest/cpuTests/DistributionTest.cpp
KevinMcGin/Simulation
f1dbed05d6024274f6a69e0679f529feaae1e26e
[ "MIT" ]
null
null
null
#include <gtest/gtest.h> #include "distribution/Distribution.h" TEST(DistributionTest, RandomTest) { auto value = Distribution::random(0.0, 1.0); EXPECT_TRUE(value <= 1 && value >= -1); } TEST(DistributionTest, RandomTest2) { auto value = Distribution::random(1.0); EXPECT_TRUE(value <= 1 && value >= 0); }
26.083333
45
0.693291
KevinMcGin
f6f4fac03aec15be60d2d238c16818d25bd77b20
2,157
cpp
C++
src/library/library_task_builder.cpp
solson/lean
b13ac127fd83f3724d2f096b1fb85dc6b15e3746
[ "Apache-2.0" ]
2,232
2015-01-01T18:20:29.000Z
2022-03-30T02:35:50.000Z
src/library/library_task_builder.cpp
SNU-2D/lean
72a965986fa5aeae54062e98efb3140b2c4e79fd
[ "Apache-2.0" ]
1,187
2015-01-06T05:18:44.000Z
2019-10-31T18:45:42.000Z
src/library/library_task_builder.cpp
SNU-2D/lean
72a965986fa5aeae54062e98efb3140b2c4e79fd
[ "Apache-2.0" ]
306
2015-01-16T22:30:27.000Z
2022-03-28T02:55:51.000Z
/* Copyright (c) 2017 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Gabriel Ebner */ #include "library/library_task_builder.h" #include "library/message_builder.h" namespace lean { struct library_scopes_imp : public delegating_task_imp { i...
33.184615
95
0.636069
solson
f6f509119bb84c8279e686234b80bcecd546506e
2,200
hpp
C++
native-osx/libs/boost/boost/function.hpp
CodeDistillery/myodaemon
0db901ec9ca39fcf84eb88836c6f4477c8767f25
[ "Unlicense" ]
null
null
null
native-osx/libs/boost/boost/function.hpp
CodeDistillery/myodaemon
0db901ec9ca39fcf84eb88836c6f4477c8767f25
[ "Unlicense" ]
null
null
null
native-osx/libs/boost/boost/function.hpp
CodeDistillery/myodaemon
0db901ec9ca39fcf84eb88836c6f4477c8767f25
[ "Unlicense" ]
null
null
null
// Boost.Function library // Copyright Douglas Gregor 2001-2003. 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) // For more information, see http://www.boost.org/libs/functio...
32.835821
114
0.749545
CodeDistillery
f6f68b5edc534714a8e0a89529eba2e546ab6570
11,329
hxx
C++
OCC/opencascade-7.2.0/x64/debug/inc/BOPTools_AlgoTools2D.hxx
jiaguobing/FastCAE
2348ab87e83fe5c704e4c998cf391229c25ac5d5
[ "BSD-3-Clause" ]
2
2020-02-21T01:04:35.000Z
2020-02-21T03:35:37.000Z
OCC/opencascade-7.2.0/x64/debug/inc/BOPTools_AlgoTools2D.hxx
Sunqia/FastCAE
cbc023fe07b6e306ceefae8b8bd7c12bc1562acb
[ "BSD-3-Clause" ]
1
2020-03-06T04:49:42.000Z
2020-03-06T04:49:42.000Z
OCC/opencascade-7.2.0/x64/debug/inc/BOPTools_AlgoTools2D.hxx
Sunqia/FastCAE
cbc023fe07b6e306ceefae8b8bd7c12bc1562acb
[ "BSD-3-Clause" ]
1
2021-11-21T13:03:26.000Z
2021-11-21T13:03:26.000Z
// Created by: Peter KURNEV // Copyright (c) 1999-2014 OPEN CASCADE SAS // // This file is part of Open CASCADE Technology software library. // // This library is free software; you can redistribute it and/or modify it under // the terms of the GNU Lesser General Public License version 2.1 as published // by the Free S...
48.004237
201
0.603937
jiaguobing
f6f9fd6e8b6cb50837f5a6cab7929d4d8dd12d9f
1,430
cpp
C++
src/Dijkstra.cpp
dbahrdt/path_finder
1105966e5b50590acd9aca30ceb6922b0e40c259
[ "Apache-2.0" ]
1
2021-03-12T23:18:30.000Z
2021-03-12T23:18:30.000Z
src/Dijkstra.cpp
dbahrdt/path_finder
1105966e5b50590acd9aca30ceb6922b0e40c259
[ "Apache-2.0" ]
8
2020-05-27T17:25:58.000Z
2020-05-29T10:39:54.000Z
src/Dijkstra.cpp
dbahrdt/path_finder
1105966e5b50590acd9aca30ceb6922b0e40c259
[ "Apache-2.0" ]
1
2020-10-19T09:01:09.000Z
2020-10-19T09:01:09.000Z
// // Created by sokol on 02.10.19. // #include "path_finder/routing/Dijkstra.h" #include <queue> pathFinder::Dijkstra::Dijkstra(const pathFinder::Graph &graph) : graph(graph) { costs.reserve(graph.numberOfNodes); previousNode.reserve(graph.numberOfNodes); while (costs.size() < graph.numberOfNodes) { costs.e...
31.086957
106
0.63986
dbahrdt
f6fa458e033f6655db3f29ef40d5a8a23a622d74
1,077
cpp
C++
BuildRoads.cpp
kshivam654/Hacktoberfest-1
0d95feb3e9f09a6feeedbd30e0cc831129fb5251
[ "MIT" ]
32
2020-05-23T07:40:31.000Z
2021-02-02T18:14:30.000Z
BuildRoads.cpp
kshivam654/Hacktoberfest-1
0d95feb3e9f09a6feeedbd30e0cc831129fb5251
[ "MIT" ]
45
2020-05-22T10:30:51.000Z
2020-12-28T08:17:13.000Z
BuildRoads.cpp
kshivam654/Hacktoberfest-1
0d95feb3e9f09a6feeedbd30e0cc831129fb5251
[ "MIT" ]
31
2020-05-22T10:18:16.000Z
2020-10-23T07:52:35.000Z
#include <iostream> #include <vector> #include<list> using namespace std; #define ll long long int #define OJ \ freopen("input.txt", "r", stdin); \ freopen("output.txt", "w", stdout); #define FIO \ ios_base::sync_with_stdio(false); \ cin.tie(NULL); ...
19.581818
50
0.454039
kshivam654
f6fb385275941f0cec0ab2f473210344b6ac8ec2
2,590
hpp
C++
thirdparty/ngraph/src/nnfusion/core/graph/output.hpp
xiezhq-hermann/nnfusion
1b2c23b0732bee295e37b990811719e0c4c6e993
[ "MIT" ]
1
2021-05-14T08:10:30.000Z
2021-05-14T08:10:30.000Z
thirdparty/ngraph/src/nnfusion/core/graph/output.hpp
xiezhq-hermann/nnfusion
1b2c23b0732bee295e37b990811719e0c4c6e993
[ "MIT" ]
null
null
null
thirdparty/ngraph/src/nnfusion/core/graph/output.hpp
xiezhq-hermann/nnfusion
1b2c23b0732bee295e37b990811719e0c4c6e993
[ "MIT" ]
1
2021-02-13T08:10:55.000Z
2021-02-13T08:10:55.000Z
//***************************************************************************** // Copyright 2017-2020 Intel Corporation // // 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://w...
33.636364
92
0.555985
xiezhq-hermann
f6fbb5a694c7825f019c6284531e19564cda1f97
7,031
cc
C++
common/point_of_sail.cc
denidoank/avalonsailing
8bc6d511e243ebd4fd90e7fb678ac7560226b5ca
[ "Apache-2.0" ]
null
null
null
common/point_of_sail.cc
denidoank/avalonsailing
8bc6d511e243ebd4fd90e7fb678ac7560226b5ca
[ "Apache-2.0" ]
null
null
null
common/point_of_sail.cc
denidoank/avalonsailing
8bc6d511e243ebd4fd90e7fb678ac7560226b5ca
[ "Apache-2.0" ]
null
null
null
// Copyright 2012 The Avalon Project Authors. All rights reserved. // Use of this source code is governed by the Apache License 2.0 // that can be found in the LICENSE file. // Author: grundmann@google.com (Steffen Grundmann) #include "common/point_of_sail.h" #include <algorithm> #include <math.h> #include <stdio.h> ...
36.619792
114
0.65197
denidoank
f6ff7fde0a308e5535d379ce468b03c1a5fa9a35
1,625
hpp
C++
include/private/coherence/component/net/extend/protocol/AcceptChannelResponse.hpp
chpatel3/coherence-cpp-extend-client
4ea5267eae32064dff1e73339aa3fbc9347ef0f6
[ "UPL-1.0", "Apache-2.0" ]
6
2020-07-01T21:38:30.000Z
2021-11-03T01:35:11.000Z
include/private/coherence/component/net/extend/protocol/AcceptChannelResponse.hpp
chpatel3/coherence-cpp-extend-client
4ea5267eae32064dff1e73339aa3fbc9347ef0f6
[ "UPL-1.0", "Apache-2.0" ]
1
2020-07-24T17:29:22.000Z
2020-07-24T18:29:04.000Z
include/private/coherence/component/net/extend/protocol/AcceptChannelResponse.hpp
chpatel3/coherence-cpp-extend-client
4ea5267eae32064dff1e73339aa3fbc9347ef0f6
[ "UPL-1.0", "Apache-2.0" ]
6
2020-07-10T18:40:58.000Z
2022-02-18T01:23:40.000Z
/* * Copyright (c) 2000, 2020, Oracle and/or its affiliates. * * Licensed under the Universal Permissive License v 1.0 as shown at * http://oss.oracle.com/licenses/upl. */ #ifndef COH_ACCEPT_CHANNEL_RESPONSE_HPP #define COH_ACCEPT_CHANNEL_RESPONSE_HPP #include "private/coherence/component/net/extend/AbstractPofRe...
23.550725
77
0.582154
chpatel3
1000c09c62ceed98bac0813f3d35ec640d46abb2
3,358
cpp
C++
src/anax/detail/EntityIdPool.cpp
shadwstalkr/anax
b0055500525c9cdf28e5325fc1583861948f692f
[ "MIT" ]
null
null
null
src/anax/detail/EntityIdPool.cpp
shadwstalkr/anax
b0055500525c9cdf28e5325fc1583861948f692f
[ "MIT" ]
null
null
null
src/anax/detail/EntityIdPool.cpp
shadwstalkr/anax
b0055500525c9cdf28e5325fc1583861948f692f
[ "MIT" ]
null
null
null
/// /// anax /// An open source C++ entity system. /// /// Copyright (C) 2013-2014 Miguel Martin (miguel@miguel-martin.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 r...
32.601942
120
0.589637
shadwstalkr
1001e65903df0d119542540a8123ddfd2f84da3a
6,712
hpp
C++
inference-engine/include/cpp/ie_executable_network.hpp
ledmonster/openvino
c1b1e2e7afc698ac82b32bb1f502ad2e90cd1419
[ "Apache-2.0" ]
null
null
null
inference-engine/include/cpp/ie_executable_network.hpp
ledmonster/openvino
c1b1e2e7afc698ac82b32bb1f502ad2e90cd1419
[ "Apache-2.0" ]
15
2021-05-14T09:24:06.000Z
2022-02-21T13:07:57.000Z
inference-engine/include/cpp/ie_executable_network.hpp
ledmonster/openvino
c1b1e2e7afc698ac82b32bb1f502ad2e90cd1419
[ "Apache-2.0" ]
null
null
null
// Copyright (C) 2018-2021 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // /** * @brief A header file that provides ExecutableNetwork class * * @file ie_executable_network.hpp */ #pragma once #include <ostream> #include <map> #include <memory> #include <string> #include <vector> #include "cpp/ie_cnn...
32.741463
115
0.701579
ledmonster
1005e682e5dca863df5c1a3a0eac5c17ae1c7487
2,414
cpp
C++
dev/test/so_5/coop/coop_notify_3/main.cpp
eao197/SObjectizer
73b0d1bf5b4bdf543c24bc4969d2c408e0cea812
[ "BSD-3-Clause" ]
272
2019-05-16T11:45:54.000Z
2022-03-28T09:32:14.000Z
dev/test/so_5/coop/coop_notify_3/main.cpp
eao197/SObjectizer
73b0d1bf5b4bdf543c24bc4969d2c408e0cea812
[ "BSD-3-Clause" ]
40
2019-10-29T18:19:18.000Z
2022-03-30T09:02:49.000Z
dev/test/so_5/coop/coop_notify_3/main.cpp
eao197/SObjectizer
73b0d1bf5b4bdf543c24bc4969d2c408e0cea812
[ "BSD-3-Clause" ]
29
2019-05-16T12:05:32.000Z
2022-03-19T12:28:33.000Z
/* * A test for stardard coop reg/dereg notificators. */ #include <iostream> #include <sstream> #include <so_5/all.hpp> #include <test/3rd_party/various_helpers/time_limited_execution.hpp> struct msg_child_deregistered : public so_5::signal_t {}; class a_child_t : public so_5::agent_t { typedef so_5::agent_t b...
18.859375
68
0.6628
eao197
1008a580f480d9cbf3d40839a7e2089315060b97
1,596
cpp
C++
src/ossim/base/ossimStdOutProgress.cpp
rkanavath/ossim18
d2e8204d11559a6a868755a490f2ec155407fa96
[ "MIT" ]
null
null
null
src/ossim/base/ossimStdOutProgress.cpp
rkanavath/ossim18
d2e8204d11559a6a868755a490f2ec155407fa96
[ "MIT" ]
null
null
null
src/ossim/base/ossimStdOutProgress.cpp
rkanavath/ossim18
d2e8204d11559a6a868755a490f2ec155407fa96
[ "MIT" ]
1
2019-09-25T00:43:35.000Z
2019-09-25T00:43:35.000Z
//******************************************************************* // Copyright (C) 2000 ImageLinks Inc. // // License: MIT // // See LICENSE.txt file in the top level directory for more details. // // Author: Garrett Potts // //************************************************************************* // $Id: ossi...
25.333333
80
0.607143
rkanavath
1008fe156071b30791a1cbb289813bc5447f7d6c
13,115
cpp
C++
src/checkpoints/checkpoints.cpp
Fez29/loki
6890c5d52b906f8127a3fa71911f56ecbf4a8680
[ "BSD-3-Clause" ]
null
null
null
src/checkpoints/checkpoints.cpp
Fez29/loki
6890c5d52b906f8127a3fa71911f56ecbf4a8680
[ "BSD-3-Clause" ]
null
null
null
src/checkpoints/checkpoints.cpp
Fez29/loki
6890c5d52b906f8127a3fa71911f56ecbf4a8680
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2014-2019, The Monero Project // Copyright (c) 2018, The Loki Project // // 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 reta...
37.686782
144
0.672817
Fez29
100d10a26da0790c1cd139427219e95d8530dc63
53,580
cpp
C++
embree-2.0/examples/renderer/device_coi/coi_device.cpp
PetrVevoda/smallupbp
15430256733938d529a2f5c7ef4cdcd940ae4208
[ "MIT", "Apache-2.0", "Unlicense" ]
107
2015-01-27T22:01:49.000Z
2021-12-27T07:44:25.000Z
examples/renderer/device_coi/coi_device.cpp
mbdriscoll/embree
77bb760c005fb7097335da2defe4b4711c15cdd3
[ "Intel", "Apache-2.0" ]
1
2015-03-17T18:53:59.000Z
2015-03-17T18:53:59.000Z
examples/renderer/device_coi/coi_device.cpp
mbdriscoll/embree
77bb760c005fb7097335da2defe4b4711c15cdd3
[ "Intel", "Apache-2.0" ]
17
2015-03-12T19:11:30.000Z
2020-11-30T15:51:23.000Z
// ======================================================================== // // Copyright 2009-2013 Intel Corporation // // // // Licensed under the Apache License, Version 2.0 (the "License"); // // y...
41.728972
166
0.630926
PetrVevoda
100d963f8642163d678f79d96b1652b03bc2016c
3,139
cpp
C++
src/interface/uiMenu.cpp
santaclose/noose
e963138b81f380ca0f46369941cf65c4349bd4fb
[ "Apache-2.0" ]
8
2021-01-31T11:30:05.000Z
2021-09-01T07:48:34.000Z
src/interface/uiMenu.cpp
santaclose/noose
e963138b81f380ca0f46369941cf65c4349bd4fb
[ "Apache-2.0" ]
4
2021-09-01T08:17:18.000Z
2021-09-24T22:32:24.000Z
src/interface/uiMenu.cpp
santaclose/noose
e963138b81f380ca0f46369941cf65c4349bd4fb
[ "Apache-2.0" ]
1
2021-09-01T07:49:58.000Z
2021-09-01T07:49:58.000Z
#include "uiMenu.h" #include "uiSelectionBox.h" #include "uiNodeSystem.h" #include "../serializer.h" #include "../pathUtils.h" #include <iostream> #include <portable-file-dialogs.h> namespace uiMenu { sf::RenderWindow* renderWindow; const sf::Vector2i* mouseScreenPosPointer; uiSelectionBox selectionBox; std::...
25.729508
141
0.677286
santaclose
100fc140ed2f9df5e98dd798ba9e82b3a91a8bd5
11,315
cc
C++
id_theft/functions/node_modules/grpc/deps/grpc/src/core/lib/transport/metadata_batch.cc
jluisfgarza/Id-Theft-Hack2018
101ef7d6d251ee1a4cd1716fb4f8f0edc31f53bf
[ "MIT" ]
null
null
null
id_theft/functions/node_modules/grpc/deps/grpc/src/core/lib/transport/metadata_batch.cc
jluisfgarza/Id-Theft-Hack2018
101ef7d6d251ee1a4cd1716fb4f8f0edc31f53bf
[ "MIT" ]
null
null
null
id_theft/functions/node_modules/grpc/deps/grpc/src/core/lib/transport/metadata_batch.cc
jluisfgarza/Id-Theft-Hack2018
101ef7d6d251ee1a4cd1716fb4f8f0edc31f53bf
[ "MIT" ]
null
null
null
/* * * Copyright 2015 gRPC 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 la...
34.287879
81
0.656209
jluisfgarza
1012ccce9c382fa36e9cfe4642d8ff08f30f8eea
16,125
cc
C++
Boss2D/addon/_old/webrtc-qt5.11.2_for_boss/rtc_base/messagequeue.cc
Yash-Wasalwar-07/Boss2D
37c5ba0f1c83c89810359a207cabfa0905f803d2
[ "MIT" ]
null
null
null
Boss2D/addon/_old/webrtc-qt5.11.2_for_boss/rtc_base/messagequeue.cc
Yash-Wasalwar-07/Boss2D
37c5ba0f1c83c89810359a207cabfa0905f803d2
[ "MIT" ]
null
null
null
Boss2D/addon/_old/webrtc-qt5.11.2_for_boss/rtc_base/messagequeue.cc
Yash-Wasalwar-07/Boss2D
37c5ba0f1c83c89810359a207cabfa0905f803d2
[ "MIT" ]
null
null
null
/* * Copyright 2004 The WebRTC Project Authors. All rights reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contributing ...
29.750923
89
0.642543
Yash-Wasalwar-07
1014af167428fc32c22c10b42218f1bb5ed96ed9
4,051
cpp
C++
src/ftxui/component/radiobox_test.cpp
AetherealLlama/FTXUI
a56bb50807a6cdb9c7ad8b9851da98b3086beee1
[ "MIT" ]
null
null
null
src/ftxui/component/radiobox_test.cpp
AetherealLlama/FTXUI
a56bb50807a6cdb9c7ad8b9851da98b3086beee1
[ "MIT" ]
null
null
null
src/ftxui/component/radiobox_test.cpp
AetherealLlama/FTXUI
a56bb50807a6cdb9c7ad8b9851da98b3086beee1
[ "MIT" ]
null
null
null
#include <gtest/gtest-message.h> // for Message #include <gtest/gtest-test-part.h> // for TestPartResult, SuiteApiResolver, TestFactoryImpl #include <memory> // for __shared_ptr_access, shared_ptr, allocator #include <string> // for wstring, basic_string #include <vector> // for vector #include "ftxui/component/c...
33.758333
130
0.712417
AetherealLlama
1018985615e46a1fe06030f7bdf94e3da98f7b4a
16,123
hpp
C++
src/cpu/x64/rnn/jit_uni_lstm_cell_postgemm_bwd.hpp
lznamens/oneDNN
e7d00d60ac184d18a1f18535bd6ead4468103dfb
[ "Apache-2.0" ]
null
null
null
src/cpu/x64/rnn/jit_uni_lstm_cell_postgemm_bwd.hpp
lznamens/oneDNN
e7d00d60ac184d18a1f18535bd6ead4468103dfb
[ "Apache-2.0" ]
null
null
null
src/cpu/x64/rnn/jit_uni_lstm_cell_postgemm_bwd.hpp
lznamens/oneDNN
e7d00d60ac184d18a1f18535bd6ead4468103dfb
[ "Apache-2.0" ]
null
null
null
/******************************************************************************* * Copyright 2019-2022 Intel Corporation * * 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.apa...
40.408521
90
0.610246
lznamens
10189d34c9a286171a3ab06b8801ce7fa17eae4c
8,977
hpp
C++
src/include/sweet/TimesteppingRK.hpp
pedrospeixoto/sweet
224248181e92615467c94b4e163596017811b5eb
[ "MIT" ]
null
null
null
src/include/sweet/TimesteppingRK.hpp
pedrospeixoto/sweet
224248181e92615467c94b4e163596017811b5eb
[ "MIT" ]
null
null
null
src/include/sweet/TimesteppingRK.hpp
pedrospeixoto/sweet
224248181e92615467c94b4e163596017811b5eb
[ "MIT" ]
1
2019-03-27T01:17:59.000Z
2019-03-27T01:17:59.000Z
#ifndef TIMESTEPPING_RK_HPP #define TIMESTEPPING_RK_HPP class TimesteppingRK { // runge kutta data storages DataArray<2>** RK_h_t; DataArray<2>** RK_u_t; DataArray<2>** RK_v_t; int runge_kutta_order; public: TimesteppingRK() : RK_h_t(nullptr), RK_u_t(nullptr), RK_v_t(nullptr), runge_kutta_order(-1) ...
25.358757
112
0.562437
pedrospeixoto
1018f930528afb32bef85acec4ae6ebf39b42956
68,643
cxx
C++
Modules/IO/IOGDAL/src/otbGDALImageIO.cxx
yyxgiser/OTB
2782a5838a55890769cdc6bc3bd900b2e9f6c5cb
[ "Apache-2.0" ]
null
null
null
Modules/IO/IOGDAL/src/otbGDALImageIO.cxx
yyxgiser/OTB
2782a5838a55890769cdc6bc3bd900b2e9f6c5cb
[ "Apache-2.0" ]
null
null
null
Modules/IO/IOGDAL/src/otbGDALImageIO.cxx
yyxgiser/OTB
2782a5838a55890769cdc6bc3bd900b2e9f6c5cb
[ "Apache-2.0" ]
1
2020-10-15T09:37:30.000Z
2020-10-15T09:37:30.000Z
/* * Copyright (C) 2005-2020 Centre National d'Etudes Spatiales (CNES) * Copyright (C) 2018-2020 CS Systemes d'Information (CS SI) * * This file is part of Orfeo Toolbox * * https://www.orfeo-toolbox.org/ * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except...
33.93129
159
0.60685
yyxgiser
101a6a2ecf7b509437247786d83a1ea6b1b78fe2
992,789
cxx
C++
src/tpetra/src/fortpetraFORTRAN_wrap.cxx
sethrj/ForTrilinos
f25352a6910297ddb97369288b51734cde0ab1b5
[ "BSD-3-Clause" ]
null
null
null
src/tpetra/src/fortpetraFORTRAN_wrap.cxx
sethrj/ForTrilinos
f25352a6910297ddb97369288b51734cde0ab1b5
[ "BSD-3-Clause" ]
null
null
null
src/tpetra/src/fortpetraFORTRAN_wrap.cxx
sethrj/ForTrilinos
f25352a6910297ddb97369288b51734cde0ab1b5
[ "BSD-3-Clause" ]
null
null
null
/* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). * Version 4.0.0 * * This file is not intended to be easily readable and contains a number of * coding conventions designed to improve portability and efficiency. Do...
65.57391
901
0.715788
sethrj
101a7a297c6a1cf8e3b2907fa469ff6d5a23cf8b
178
cpp
C++
src/Hooks.cpp
colinswrath/BladeAndBlunt-
624aaf42fc8d1ac4eebd7766905caddd1109144d
[ "MIT" ]
1
2022-01-13T00:23:10.000Z
2022-01-13T00:23:10.000Z
src/Hooks.cpp
colinswrath/BladeAndBlunt-
624aaf42fc8d1ac4eebd7766905caddd1109144d
[ "MIT" ]
1
2021-12-03T05:17:10.000Z
2022-02-09T21:33:45.000Z
src/Hooks.cpp
colinswrath/BladeAndBlunt-
624aaf42fc8d1ac4eebd7766905caddd1109144d
[ "MIT" ]
1
2022-01-13T00:23:13.000Z
2022-01-13T00:23:13.000Z
#include "UpdateManager.h" namespace Hooks { void Install() { UpdateManager::Install(); UpdateManager::InstallScalePatch(); logger::info("Update hook installed."); } }
14.833333
41
0.702247
colinswrath
101dfff37a7ac85a5de077fd0cb8e69851045194
4,171
hpp
C++
airesources/C++/hlt/map.hpp
snaar/Halite-II-pre-launch
14bafe38bfa2e3062f3daceb29049098a0744b30
[ "MIT" ]
null
null
null
airesources/C++/hlt/map.hpp
snaar/Halite-II-pre-launch
14bafe38bfa2e3062f3daceb29049098a0744b30
[ "MIT" ]
14
2021-01-28T21:06:14.000Z
2022-02-26T08:01:15.000Z
airesources/C++/hlt/map.hpp
xinnosuke/Halite-II-pre-launch
1091f85d5e02de29e16980302771ea1f0e0376a5
[ "MIT" ]
1
2019-07-01T04:46:47.000Z
2019-07-01T04:46:47.000Z
#ifndef HLT_H #define HLT_H #ifdef _WIN32 #define _USE_MATH_DEFINES #endif #include <list> #include <cmath> #include <vector> #include <random> #include <algorithm> #include <functional> #include <iostream> #include <fstream> #include <sstream> #include <assert.h> #include <array> #include <unordered_map> #include "...
33.637097
103
0.614721
snaar
101e017628bccea963b9aee80d88beee4a5adf68
18,303
cpp
C++
test/homework_test/tic_tac_toe_test/tic_tac_toe_test.cpp
acc-cosc-1337-spring-2021/acc-cosc-1337-spring-2021-Joshua-18
9c0733afa337f35b2e067d2f7c3c83204700c225
[ "MIT" ]
null
null
null
test/homework_test/tic_tac_toe_test/tic_tac_toe_test.cpp
acc-cosc-1337-spring-2021/acc-cosc-1337-spring-2021-Joshua-18
9c0733afa337f35b2e067d2f7c3c83204700c225
[ "MIT" ]
null
null
null
test/homework_test/tic_tac_toe_test/tic_tac_toe_test.cpp
acc-cosc-1337-spring-2021/acc-cosc-1337-spring-2021-Joshua-18
9c0733afa337f35b2e067d2f7c3c83204700c225
[ "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 "tic_tac_toe.h" #include "tic_tac_toe_manager.h" #include "tic_tac_toe_3.h" #include "tic_tac_toe_4.h" TEST_CASE("Verify Test Configuration", "verification") { REQUIRE(true == true); } TEST...
27.399701
103
0.665956
acc-cosc-1337-spring-2021
101ff64d0585f68bb033ae455ed9e2d5f60bae56
901
hh
C++
elements/tcpudp/settcpchecksum.hh
BorisPis/asplos22-nicmem-fastclick
ab4df08ee056ed48a4c534ec5f8536a958f756b5
[ "BSD-3-Clause-Clear" ]
129
2015-10-08T14:38:35.000Z
2022-03-06T14:54:44.000Z
elements/tcpudp/settcpchecksum.hh
BorisPis/asplos22-nicmem-fastclick
ab4df08ee056ed48a4c534ec5f8536a958f756b5
[ "BSD-3-Clause-Clear" ]
241
2016-02-17T16:17:58.000Z
2022-03-15T09:08:33.000Z
elements/tcpudp/settcpchecksum.hh
BorisPis/asplos22-nicmem-fastclick
ab4df08ee056ed48a4c534ec5f8536a958f756b5
[ "BSD-3-Clause-Clear" ]
61
2015-12-17T01:46:58.000Z
2022-02-07T22:25:19.000Z
#ifndef CLICK_SETTCPCHECKSUM_HH #define CLICK_SETTCPCHECKSUM_HH #include <click/batchelement.hh> #include <click/glue.hh> CLICK_DECLS /* * =c * SetTCPChecksum([FIXOFF]) * =s tcp * sets TCP packets' checksums * =d * Input packets should be TCP in IP. * * Calculates the TCP header's checksum and sets the checksu...
23.710526
75
0.744728
BorisPis
102217186aed80fbda1811f8df254351e73c26c5
836
cpp
C++
c++ practice projects/arathimatic.cpp
adityamuley29/c-plus-plus-exercise-projects
034ab4b9f0a853bacb37e2ad7683c27bc2cc0dac
[ "MIT" ]
null
null
null
c++ practice projects/arathimatic.cpp
adityamuley29/c-plus-plus-exercise-projects
034ab4b9f0a853bacb37e2ad7683c27bc2cc0dac
[ "MIT" ]
null
null
null
c++ practice projects/arathimatic.cpp
adityamuley29/c-plus-plus-exercise-projects
034ab4b9f0a853bacb37e2ad7683c27bc2cc0dac
[ "MIT" ]
null
null
null
#include<iostream.h> class arith { private: int a,b,r; char op; public: void getdata(); void operate(); void display(); }; void arith::getdata() { cout<<"Enter Values of a & b"<<endl; cin>>a>>b; } void arith::operate() { do { cout<<"Enter your choice + or - or * or / or Exit:"<<endl; ...
11.942857
60
0.453349
adityamuley29
10279da7ea0269d9f41217d0738c5959abb44075
13,724
cpp
C++
tcp.cpp
foragony/calculation_acceleration
147619d640cc29d4de93caec295e0984cf7f4281
[ "ECL-2.0" ]
null
null
null
tcp.cpp
foragony/calculation_acceleration
147619d640cc29d4de93caec295e0984cf7f4281
[ "ECL-2.0" ]
null
null
null
tcp.cpp
foragony/calculation_acceleration
147619d640cc29d4de93caec295e0984cf7f4281
[ "ECL-2.0" ]
null
null
null
// client.cpp : 此文件包含 "main" 函数。程序执行将在此处开始并结束。 // #include<iostream> #include<winsock.h> #include<windows.h> #include <mmintrin.h> //MMX #include <xmmintrin.h> //SSE(include mmintrin.h) #include <emmintrin.h> //SSE2(include xmmintrin.h) #include <pmmintrin.h> //SSE3(include emmintrin.h) #include <tmmintrin.h>//SSSE3(...
25.748593
109
0.610755
foragony
10297cf494588e60c748fbcbed6ba06dd5535cb3
3,069
cc
C++
src/ops/split.cc
aj7tesh/CTranslate2
8e424efdbcf40c89dca7e237a249464a95eeaf74
[ "MIT" ]
null
null
null
src/ops/split.cc
aj7tesh/CTranslate2
8e424efdbcf40c89dca7e237a249464a95eeaf74
[ "MIT" ]
null
null
null
src/ops/split.cc
aj7tesh/CTranslate2
8e424efdbcf40c89dca7e237a249464a95eeaf74
[ "MIT" ]
null
null
null
#include "ctranslate2/ops/split.h" #include <numeric> #include "device_dispatch.h" #include "type_dispatch.h" namespace ctranslate2 { namespace ops { Split::Split(dim_t axis, bool no_copy) : _axis(axis) , _total_size(0) , _no_copy(no_copy) { check_arguments(); } Split::Split(d...
34.483146
105
0.529814
aj7tesh
102b1bc4f3e7f3e809f2fa584f523352af088133
267
cpp
C++
cpp/ql/src/Critical/MissingNegativityTest.cpp
calumgrant/ql
3c0f04ac96da17456a2085ef11e05aca4632b986
[ "ECL-2.0", "Apache-2.0" ]
1
2021-07-05T13:02:34.000Z
2021-07-05T13:02:34.000Z
cpp/ql/src/Critical/MissingNegativityTest.cpp
calumgrant/ql
3c0f04ac96da17456a2085ef11e05aca4632b986
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
cpp/ql/src/Critical/MissingNegativityTest.cpp
calumgrant/ql
3c0f04ac96da17456a2085ef11e05aca4632b986
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
Record records[SIZE] = ...; int f() { int recordIdx = 0; recordIdx = readUserInput(); //recordIdx is returned from a function // there is no check so it could be negative doFoo(&(records[recordIdx])); //but is not checked before use as an array offset }
26.7
81
0.677903
calumgrant
102e7aa7aef0a4eade2a35d2a5b59df6c9ba0ac3
1,867
hpp
C++
include/fibio/http/server/templates/mustache_template.hpp
qicosmos/fibio
9242be982a62d82eefdc489d88ccbdda180d861f
[ "BSD-2-Clause" ]
8
2015-03-29T16:37:47.000Z
2021-11-18T23:53:56.000Z
include/fibio/http/server/templates/mustache_template.hpp
qicosmos/fibio
9242be982a62d82eefdc489d88ccbdda180d861f
[ "BSD-2-Clause" ]
null
null
null
include/fibio/http/server/templates/mustache_template.hpp
qicosmos/fibio
9242be982a62d82eefdc489d88ccbdda180d861f
[ "BSD-2-Clause" ]
2
2015-08-31T02:51:04.000Z
2021-06-02T09:41:04.000Z
// // mustache_template.hpp // fibio // // Created by Chen Xu on 14/12/1. // Copyright (c) 2014 0d0a.com. All rights reserved. // #ifndef fibio_http_server_template_hpp #define fibio_http_server_template_hpp #include <fibio/http/common/json.hpp> #include <fibio/http/server/templates/mustache.hpp> #include <fibio/...
35.226415
101
0.589716
qicosmos
102f6b6f4cdb7acf913d48a7d886bdd1480e9328
2,531
cpp
C++
Trees/InPlaceConvertToDoublyLinkedList/InPlaceConvertToDoublyLinkedList03.cpp
XoDeR/AlgoTrain2018
04b96af8dd16d57cb31b70d268262b51ed559551
[ "MIT" ]
null
null
null
Trees/InPlaceConvertToDoublyLinkedList/InPlaceConvertToDoublyLinkedList03.cpp
XoDeR/AlgoTrain2018
04b96af8dd16d57cb31b70d268262b51ed559551
[ "MIT" ]
null
null
null
Trees/InPlaceConvertToDoublyLinkedList/InPlaceConvertToDoublyLinkedList03.cpp
XoDeR/AlgoTrain2018
04b96af8dd16d57cb31b70d268262b51ed559551
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; // Data structure to store a Binary Tree node struct Node { int data; Node *left, *right; }; // Function to create a new binary tree node having given key Node* newNode(int key) { Node* node = new Node; node->data = key; node->left = node->right = nullptr; return n...
18.88806
80
0.620703
XoDeR
10300000046defcb6a0af6e7479b2cdc723f2420
49,535
cpp
C++
SQLComponents/SQLVariantOperatorMod.cpp
edwig/Kwatta
ce1ca2907608e65ed62d7dbafa9ab1d030caccfe
[ "MIT" ]
1
2021-12-31T17:20:01.000Z
2021-12-31T17:20:01.000Z
SQLComponents/SQLVariantOperatorMod.cpp
edwig/Kwatta
ce1ca2907608e65ed62d7dbafa9ab1d030caccfe
[ "MIT" ]
10
2022-01-14T13:28:32.000Z
2022-02-13T12:46:34.000Z
SQLComponents/SQLVariantOperatorMod.cpp
edwig/Kwatta
ce1ca2907608e65ed62d7dbafa9ab1d030caccfe
[ "MIT" ]
null
null
null
//////////////////////////////////////////////////////////////////////// // // File: SQLVariantOperatorMod.cpp // // Copyright (c) 1998-2022 ir. W.E. Huisman // All rights reserved // // Permission is hereby granted, free of charge, to any person obtaining a copy of // this software and associated documentation files ...
29.432561
415
0.731362
edwig
1035ac7a03bacc05c2ec548c27f17140a9314a98
6,057
inl
C++
iceoryx_posh/include/iceoryx_posh/internal/mepoo/mepoo_segment.inl
xiao6768/iceoryx
f99e0c3b5168dcde7f0d7bb99226c7faca01db69
[ "Apache-2.0" ]
1
2021-03-04T12:47:12.000Z
2021-03-04T12:47:12.000Z
iceoryx_posh/include/iceoryx_posh/internal/mepoo/mepoo_segment.inl
xiao6768/iceoryx
f99e0c3b5168dcde7f0d7bb99226c7faca01db69
[ "Apache-2.0" ]
1
2021-06-14T12:07:47.000Z
2021-06-17T13:43:41.000Z
iceoryx_posh/include/iceoryx_posh/internal/mepoo/mepoo_segment.inl
boschglobal/iceoryx
eb0256407e3cf0baed1efdee6f8eeacf4d3514da
[ "Apache-2.0" ]
null
null
null
// Copyright (c) 2019 by Robert Bosch GmbH. All rights reserved. // Copyright (c) 2021 by Apex.AI Inc. 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:...
44.866667
117
0.742612
xiao6768
1035b23f5013e09b3b54ff5c26a7957de97ce48e
1,630
cpp
C++
src/Basic/CastKind.cpp
jonaszell97/cdotc
089b1161155118a0b78637883f0a6a04c6e9b436
[ "MIT" ]
1
2020-05-29T12:34:33.000Z
2020-05-29T12:34:33.000Z
src/Basic/CastKind.cpp
jonaszell97/cdotc
089b1161155118a0b78637883f0a6a04c6e9b436
[ "MIT" ]
null
null
null
src/Basic/CastKind.cpp
jonaszell97/cdotc
089b1161155118a0b78637883f0a6a04c6e9b436
[ "MIT" ]
null
null
null
namespace cdot { const char* CastNames[] = {"<noop>", "<lvalue_to_rvalue>", "inttofp", "fptoint", "ext", "trunc", "ptrtoint", "in...
37.906977
52
0.263804
jonaszell97