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
ba0c1dcfde039fc5eb336b2794999e031680816c
1,749
hpp
C++
src/Utils/framebuffer.hpp
AlexanderVeselov/RayTracing
d6df361c1054a1ebaf67c82805c44f94a4cda7c7
[ "MIT" ]
90
2017-08-06T10:13:59.000Z
2022-03-19T09:49:43.000Z
src/Utils/framebuffer.hpp
AlexanderVeselov/RayTracing
d6df361c1054a1ebaf67c82805c44f94a4cda7c7
[ "MIT" ]
2
2017-06-08T02:16:56.000Z
2020-03-24T01:10:48.000Z
src/Utils/framebuffer.hpp
AlexanderVeselov/RayTracing
d6df361c1054a1ebaf67c82805c44f94a4cda7c7
[ "MIT" ]
15
2017-08-06T12:58:54.000Z
2022-03-31T05:45:46.000Z
/***************************************************************************** MIT License Copyright(c) 2021 Alexander Veselov Permission is hereby granted, free of charge, to any person obtaining a copy of this softwareand associated documentation files(the "Software"), to deal in the Software without restricti...
38.866667
79
0.701544
AlexanderVeselov
ba0c5c0d5715b75b3a29ee7f0b91f1f7a5c18466
416
hh
C++
src/events/StdioMessages.hh
D15C0DE/openMSX
5119a9657de4b82115c745f670cdc55dc7363133
[ "Naumen", "Condor-1.1", "MS-PL" ]
320
2015-06-16T20:32:33.000Z
2022-03-26T17:03:27.000Z
src/events/StdioMessages.hh
D15C0DE/openMSX
5119a9657de4b82115c745f670cdc55dc7363133
[ "Naumen", "Condor-1.1", "MS-PL" ]
2,592
2015-05-30T12:12:21.000Z
2022-03-31T17:16:15.000Z
src/events/StdioMessages.hh
D15C0DE/openMSX
5119a9657de4b82115c745f670cdc55dc7363133
[ "Naumen", "Condor-1.1", "MS-PL" ]
74
2015-06-18T19:51:15.000Z
2022-03-24T15:09:33.000Z
#ifndef STDIOMESSAGES_HH #define STDIOMESSAGES_HH #include "CliListener.hh" namespace openmsx { class StdioMessages final : public CliListener { public: void log(CliComm::LogLevel level, std::string_view message) noexcept override; void update(CliComm::UpdateType type, std::string_view machine, std::...
20.8
79
0.759615
D15C0DE
ba0d5bef7e5e1df7535ba0b7f2877bbd9a7ef82a
686
cpp
C++
codechef/FEB20/CASH.cpp
udayan14/Competitive_Coding
79e23fdeb909b4161a193d88697a4fe5f4fbbdce
[ "MIT" ]
null
null
null
codechef/FEB20/CASH.cpp
udayan14/Competitive_Coding
79e23fdeb909b4161a193d88697a4fe5f4fbbdce
[ "MIT" ]
null
null
null
codechef/FEB20/CASH.cpp
udayan14/Competitive_Coding
79e23fdeb909b4161a193d88697a4fe5f4fbbdce
[ "MIT" ]
null
null
null
#include<iostream> #include<limits.h> using namespace std; int main(){ ios_base::sync_with_stdio(false); cin.tie(NULL); int t; cin >> t; while(t--){ int n,k; cin >> n >> k; unsigned long long int a[n]; for(int i=0 ; i<n ; ++i) cin >> a[i]; unsigned long long int fwd[n]; unsigned long long int bwd[n...
20.176471
49
0.514577
udayan14
ba114b94affdfc2a34e94922af627fc0b07c2c2d
6,955
cpp
C++
tsp_tabu_search/testing_unit.cpp
chengwei920412/travelling-salesman-problem-tsp
b99e9a2743dd340778ed3db70a4eb6c4fc8cdfab
[ "MIT" ]
2
2021-12-15T13:37:28.000Z
2021-12-15T13:37:32.000Z
tsp_tabu_search/testing_unit.cpp
chengwei920412/travelling-salesman-problem-tsp
b99e9a2743dd340778ed3db70a4eb6c4fc8cdfab
[ "MIT" ]
null
null
null
tsp_tabu_search/testing_unit.cpp
chengwei920412/travelling-salesman-problem-tsp
b99e9a2743dd340778ed3db70a4eb6c4fc8cdfab
[ "MIT" ]
2
2021-05-03T07:47:22.000Z
2021-11-30T05:59:59.000Z
#include "testing_unit.h" #include <algorithm> #include <iomanip> #include <iostream> #include "timer.h" #include <list> testing_unit::testing_unit(string input_file_name, int number_of_repeats, int optimal_path_cost, vector<int> optimal_path_nodes) { input_file_name_ = input_file_name; number_of_r...
22.079365
98
0.617973
chengwei920412
ba125dbf7a15ef39bec7e268666208bc18432079
384
hpp
C++
src/problems/101-150/133/problem133.hpp
abeccaro/project-euler
c3b124bb973dc3a1cf29e8c96c3e70c8816d5fa3
[ "MIT" ]
1
2019-12-25T10:17:15.000Z
2019-12-25T10:17:15.000Z
src/problems/101-150/133/problem133.hpp
abeccaro/project-euler
c3b124bb973dc3a1cf29e8c96c3e70c8816d5fa3
[ "MIT" ]
null
null
null
src/problems/101-150/133/problem133.hpp
abeccaro/project-euler
c3b124bb973dc3a1cf29e8c96c3e70c8816d5fa3
[ "MIT" ]
null
null
null
// // Created by Alex Beccaro on 25/11/2019. // #ifndef PROJECT_EULER_PROBLEM133_HPP #define PROJECT_EULER_PROBLEM133_HPP #include <cstdint> namespace problems { class problem133 { public: /** * Solves problem * @return The solution */ static uint32_t solve(uint32_t...
16.695652
52
0.645833
abeccaro
ba14536943c3bbfa5db1e59b9afff89ac9afb239
4,804
cpp
C++
src/plugins/intel_cpu/src/nodes/mkldnn_log_softmax_node.cpp
pfinashx/openvino
1d417e888b508415510fb0a92e4a9264cf8bdef7
[ "Apache-2.0" ]
1
2022-02-26T17:33:44.000Z
2022-02-26T17:33:44.000Z
src/plugins/intel_cpu/src/nodes/mkldnn_log_softmax_node.cpp
pfinashx/openvino
1d417e888b508415510fb0a92e4a9264cf8bdef7
[ "Apache-2.0" ]
18
2022-01-21T08:42:58.000Z
2022-03-28T13:21:31.000Z
src/plugins/intel_cpu/src/nodes/mkldnn_log_softmax_node.cpp
AlexRogalskiy/openvino
ac2e639ff8f9a607c3c682a4c4e165c238eb817f
[ "Apache-2.0" ]
1
2020-12-13T22:16:54.000Z
2020-12-13T22:16:54.000Z
// Copyright (C) 2018-2022 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include <cmath> #include <ngraph/opsets/opset5.hpp> #include "ie_parallel.hpp" #include "mkldnn_log_softmax_node.h" using namespace MKLDNNPlugin; using namespace InferenceEngine; bool MKLDNNLogSoftmaxNode::isSupportedOperation(c...
36.671756
132
0.617194
pfinashx
ba19c730179b4cf24e245f8dbdf6ba9441be788b
794
cpp
C++
cpp/numeric_complex_asinh.cpp
rpuntaie/c-examples
385b3c792e5b39f81a187870100ed6401520a404
[ "MIT" ]
null
null
null
cpp/numeric_complex_asinh.cpp
rpuntaie/c-examples
385b3c792e5b39f81a187870100ed6401520a404
[ "MIT" ]
null
null
null
cpp/numeric_complex_asinh.cpp
rpuntaie/c-examples
385b3c792e5b39f81a187870100ed6401520a404
[ "MIT" ]
null
null
null
/* g++ --std=c++20 -pthread -o ../_build/cpp/numeric_complex_asinh.exe ./cpp/numeric_complex_asinh.cpp && (cd ../_build/cpp/;./numeric_complex_asinh.exe) https://en.cppreference.com/w/cpp/numeric/complex/asinh */ #include <iostream> #include <complex> int main() { std::cout << std::fixed; std::complex<double> z...
36.090909
150
0.530227
rpuntaie
ba1ace0b09b2ebf376b4d5e320caed7588bc69d7
2,688
cc
C++
onnxruntime/core/providers/cpu/ml/svmregressor.cc
dendisuhubdy/onnxruntime
3b061d60a9f2e19a68359c7c1f9830ef4901045c
[ "MIT" ]
2
2019-01-29T03:48:42.000Z
2019-01-29T07:51:31.000Z
onnxruntime/core/providers/cpu/ml/svmregressor.cc
dendisuhubdy/onnxruntime
3b061d60a9f2e19a68359c7c1f9830ef4901045c
[ "MIT" ]
2
2019-01-09T16:03:17.000Z
2019-02-13T13:58:28.000Z
onnxruntime/core/providers/cpu/ml/svmregressor.cc
dendisuhubdy/onnxruntime
3b061d60a9f2e19a68359c7c1f9830ef4901045c
[ "MIT" ]
null
null
null
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #include "core/providers/cpu/ml/svmregressor.h" namespace onnxruntime { namespace ml { ONNX_CPU_OPERATOR_ML_KERNEL( SVMRegressor, 1, KernelDefBuilder().TypeConstraint("T", DataTypeImpl::GetTensorType<float>())...
33.6
131
0.655134
dendisuhubdy
ba1b25afef3bc02ff3523d93e72e142fb339fb7a
320
hpp
C++
src/ControlSystem/NamespaceDocs.hpp
kidder/spectre
97ae95f72320f9f67895d3303824e64de6fd9077
[ "MIT" ]
117
2017-04-08T22:52:48.000Z
2022-03-25T07:23:36.000Z
src/ControlSystem/NamespaceDocs.hpp
GitHimanshuc/spectre
4de4033ba36547113293fe4dbdd77591485a4aee
[ "MIT" ]
3,177
2017-04-07T21:10:18.000Z
2022-03-31T23:55:59.000Z
src/ControlSystem/NamespaceDocs.hpp
geoffrey4444/spectre
9350d61830b360e2d5b273fdd176dcc841dbefb0
[ "MIT" ]
85
2017-04-07T19:36:13.000Z
2022-03-01T10:21:00.000Z
// Distributed under the MIT License. // See LICENSE.txt for details. #pragma once /// \ingroup ControlSystemGroup /// Control systems and related functionality namespace control_system { /// \ingroup ControlSystemGroup /// All Actions related to the control system namespace Actions {} } // namespace control_system
24.615385
45
0.76875
kidder
ba1c05878f68058d93ddf1774e029126cbecc908
1,277
cpp
C++
cudaaligner/src/alignment.cpp
r-mafi/ClaraGenomicsAnalysis
a33d606af7902f27d5cf86a80099061bb1a34603
[ "Apache-2.0" ]
null
null
null
cudaaligner/src/alignment.cpp
r-mafi/ClaraGenomicsAnalysis
a33d606af7902f27d5cf86a80099061bb1a34603
[ "Apache-2.0" ]
1
2020-07-17T13:57:56.000Z
2020-07-17T13:57:56.000Z
cudaaligner/src/alignment.cpp
r-mafi/ClaraGenomicsAnalysis
a33d606af7902f27d5cf86a80099061bb1a34603
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2019, NVIDIA CORPORATION. All rights reserved. * * NVIDIA CORPORATION and its licensors retain all intellectual property * and proprietary rights in and to this software, related documentation * and any modifications thereto. Any use, reproduction, disclosure or * distribution of this software and ...
30.404762
146
0.7361
r-mafi
ba1c50187f157d531898b4c89bb0dab94a5a223b
1,378
hpp
C++
Doremi/Core/Include/EventHandler/Events/DamageTakenEvent.hpp
meraz/doremi
452d08ebd10db50d9563c1cf97699571889ab18f
[ "MIT" ]
1
2020-03-23T15:42:05.000Z
2020-03-23T15:42:05.000Z
Doremi/Core/Include/EventHandler/Events/DamageTakenEvent.hpp
Meraz/ssp15
452d08ebd10db50d9563c1cf97699571889ab18f
[ "MIT" ]
null
null
null
Doremi/Core/Include/EventHandler/Events/DamageTakenEvent.hpp
Meraz/ssp15
452d08ebd10db50d9563c1cf97699571889ab18f
[ "MIT" ]
1
2020-03-23T15:42:06.000Z
2020-03-23T15:42:06.000Z
#include <Doremi/Core/Include/EventHandler/Events/Event.hpp> namespace Doremi { namespace Core { /** Contains info on damage taken, make sure not to send to much of these since they are sent over network */ struct DamageTakenEvent : public Event { EntityID ent...
33.609756
110
0.537736
meraz
ba1c89847ff91713c378c26b74c6f3fed642666f
2,891
hpp
C++
Engine/Header/Engine/CEngine.hpp
Aredhele/OOM-Engine
e52f706d17f1867f575a85ba5b87b4cc34a7fa97
[ "MIT" ]
9
2018-07-21T00:30:35.000Z
2021-09-04T02:54:11.000Z
Engine/Header/Engine/CEngine.hpp
Aredhele/OOM-Engine
e52f706d17f1867f575a85ba5b87b4cc34a7fa97
[ "MIT" ]
null
null
null
Engine/Header/Engine/CEngine.hpp
Aredhele/OOM-Engine
e52f706d17f1867f575a85ba5b87b4cc34a7fa97
[ "MIT" ]
1
2021-12-03T14:12:41.000Z
2021-12-03T14:12:41.000Z
/// \file CEngine.hpp /// \date 21/07/2018 /// \project OOM-Engine /// \package Engine /// \author Vincent STEHLY--CALISTO #ifndef OOM_ENGINE_C_ENGINE_HPP__ #define OOM_ENGINE_C_ENGINE_HPP__ #include <vector> #include <GLM/glm.hpp> // Forward declartion struct GLFWwindow; namespace Oom { // F...
28.623762
142
0.642338
Aredhele
ba216a0f14c3be55df78fb6206b687a0f9ae69ae
1,272
cpp
C++
p1test08.cpp
InnocentK/Sorted-Square-List
540469b74c182f5dbbd8623cfc4dcad794d4460b
[ "MIT" ]
null
null
null
p1test08.cpp
InnocentK/Sorted-Square-List
540469b74c182f5dbbd8623cfc4dcad794d4460b
[ "MIT" ]
null
null
null
p1test08.cpp
InnocentK/Sorted-Square-List
540469b74c182f5dbbd8623cfc4dcad794d4460b
[ "MIT" ]
null
null
null
// File: p1test08.cpp // // Additional shifting tests of SortedSquareList class // #include <iostream> #include "SSLColumn.h" #include "SortedSquareList.h" using namespace std ; // grading function used to examine private data members. bool SSLColumn::inspect(int* &buf, int &cap, int &size, int &start, int &end) { ...
19.875
93
0.584906
InnocentK
ba21c0ea464ce484f28172803ba839e9799ed9c6
4,261
cpp
C++
MainSource/DialogSave.cpp
bareboat-necessities/SdrGlut
54a35ea4bb0d2f0937e670751e32d1aead4d0619
[ "MIT" ]
null
null
null
MainSource/DialogSave.cpp
bareboat-necessities/SdrGlut
54a35ea4bb0d2f0937e670751e32d1aead4d0619
[ "MIT" ]
null
null
null
MainSource/DialogSave.cpp
bareboat-necessities/SdrGlut
54a35ea4bb0d2f0937e670751e32d1aead4d0619
[ "MIT" ]
null
null
null
/* * DialogSave.cpp * * * Created by Dale Ranta on 10/25/11. * Copyright 2011 Dale Ranta. All rights reserved. * */ #include "firstFile.h" #include <cstdio> #include <cstdlib> #include "DialogSave.h" #include "DialogFolder.h" #include "ulibTypes.h" #include "SceneList.h" #include "Utilities.h" #include...
17.903361
111
0.64445
bareboat-necessities
ba22014ee4d1d251f4320a3f4b06de5c05d3de17
743
hpp
C++
header/actors-framework/executor/policy/unprofiled.hpp
0xBYTESHIFT/actors-framework
e5a9fc86978bd42d2db55c2f6014aed0d0149ed7
[ "BSD-3-Clause" ]
null
null
null
header/actors-framework/executor/policy/unprofiled.hpp
0xBYTESHIFT/actors-framework
e5a9fc86978bd42d2db55c2f6014aed0d0149ed7
[ "BSD-3-Clause" ]
null
null
null
header/actors-framework/executor/policy/unprofiled.hpp
0xBYTESHIFT/actors-framework
e5a9fc86978bd42d2db55c2f6014aed0d0149ed7
[ "BSD-3-Clause" ]
null
null
null
#pragma once #include <actors-framework/executor/executable.hpp> namespace actors_framework::executor { class unprofiled { public: virtual ~unprofiled() = default; template<class Worker> void before_shutdown(Worker*) {} template<class Worker> void before_resume(Worke...
23.967742
79
0.637954
0xBYTESHIFT
ba229cbb099217b27e0a5219d84d89e7fdd0629e
3,776
hpp
C++
include/wrenbind17/variable.hpp
PossiblyAShrub/wrenbind17
4857a3825b7f772bde8aeb1cd8b60716b3d890c0
[ "MIT" ]
41
2019-08-03T16:38:35.000Z
2022-03-04T22:30:26.000Z
include/wrenbind17/variable.hpp
PossiblyAShrub/wrenbind17
4857a3825b7f772bde8aeb1cd8b60716b3d890c0
[ "MIT" ]
8
2019-08-05T12:42:06.000Z
2022-02-16T22:49:25.000Z
include/wrenbind17/variable.hpp
PossiblyAShrub/wrenbind17
4857a3825b7f772bde8aeb1cd8b60716b3d890c0
[ "MIT" ]
5
2020-07-26T19:10:10.000Z
2021-12-23T05:35:52.000Z
#pragma once #include "method.hpp" #include "pop.hpp" #include "push.hpp" /** * @ingroup wrenbind17 */ namespace wrenbind17 { /** * @ingroup wrenbind17 * @brief Holds some Wren variable which can be a class or class instance * @details You can use this to pass around Wren classes or class instanc...
37.76
112
0.62553
PossiblyAShrub
ba22cb687c7819bcca070c7d6113ebef6e574056
1,130
hpp
C++
src/frontends/onnx/frontend/include/openvino/frontend/onnx/node_context.hpp
ryanloney/openvino-1
4e0a740eb3ee31062ba0df88fcf438564f67edb7
[ "Apache-2.0" ]
1,127
2018-10-15T14:36:58.000Z
2020-04-20T09:29:44.000Z
src/frontends/onnx/frontend/include/openvino/frontend/onnx/node_context.hpp
ryanloney/openvino-1
4e0a740eb3ee31062ba0df88fcf438564f67edb7
[ "Apache-2.0" ]
439
2018-10-20T04:40:35.000Z
2020-04-19T05:56:25.000Z
src/frontends/onnx/frontend/include/openvino/frontend/onnx/node_context.hpp
ryanloney/openvino-1
4e0a740eb3ee31062ba0df88fcf438564f67edb7
[ "Apache-2.0" ]
414
2018-10-17T05:53:46.000Z
2020-04-16T17:29:53.000Z
// Copyright (C) 2018-2022 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #pragma once #include "openvino/frontend/extension/conversion.hpp" #include "openvino/frontend/node_context.hpp" #include "openvino/frontend/onnx/visibility.hpp" namespace ngraph { namespace onnx_import { class Node; } } // names...
27.560976
115
0.753982
ryanloney
ba23970f0ea44cade0ad94c9baa0d643434c6155
1,098
cpp
C++
vespalib/src/vespa/vespalib/test/memory_allocator_observer.cpp
Anlon-Burke/vespa
5ecd989b36cc61716bf68f032a3482bf01fab726
[ "Apache-2.0" ]
4,054
2017-08-11T07:58:38.000Z
2022-03-31T22:32:15.000Z
vespalib/src/vespa/vespalib/test/memory_allocator_observer.cpp
Anlon-Burke/vespa
5ecd989b36cc61716bf68f032a3482bf01fab726
[ "Apache-2.0" ]
4,854
2017-08-10T20:19:25.000Z
2022-03-31T19:04:23.000Z
vespalib/src/vespa/vespalib/test/memory_allocator_observer.cpp
Anlon-Burke/vespa
5ecd989b36cc61716bf68f032a3482bf01fab726
[ "Apache-2.0" ]
541
2017-08-10T18:51:18.000Z
2022-03-11T03:18:56.000Z
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. #include "memory_allocator_observer.h" #include <iostream> namespace vespalib::alloc::test { std::ostream& operator<<(std::ostream &os, const MemoryAllocatorObserver::Stats &stats) { os << "{alloc_cnt=" << st...
24.4
104
0.748634
Anlon-Burke
ba24ca3cc9562a40c707cdbbd96bdf2f9cd110a5
630
cpp
C++
libcxx/test/std/containers/unord/unord.multimap/allocator_mismatch.fail.cpp
medismailben/llvm-project
e334a839032fe500c3bba22bf976ab7af13ce1c1
[ "Apache-2.0" ]
2,338
2018-06-19T17:34:51.000Z
2022-03-31T11:00:37.000Z
libcxx/test/std/containers/unord/unord.multimap/allocator_mismatch.fail.cpp
medismailben/llvm-project
e334a839032fe500c3bba22bf976ab7af13ce1c1
[ "Apache-2.0" ]
3,740
2019-01-23T15:36:48.000Z
2022-03-31T22:01:13.000Z
libcxx/test/std/containers/unord/unord.multimap/allocator_mismatch.fail.cpp
medismailben/llvm-project
e334a839032fe500c3bba22bf976ab7af13ce1c1
[ "Apache-2.0" ]
500
2019-01-23T07:49:22.000Z
2022-03-30T02:59:37.000Z
//===----------------------------------------------------------------------===// // // 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 // //===---------------------------...
31.5
95
0.525397
medismailben
ba24e59706fa0a3b6049ff1d2174853d54721916
15,179
cpp
C++
ChkdraftLib/Windows/DialogWindows/MapSettings/Forces.cpp
heinermann/Chkdraft
e79332d3a7a6b89b028246ff641bcbe266039dca
[ "MIT" ]
25
2015-03-10T21:50:09.000Z
2020-08-13T08:01:30.000Z
ChkdraftLib/Windows/DialogWindows/MapSettings/Forces.cpp
heinermann/Chkdraft
e79332d3a7a6b89b028246ff641bcbe266039dca
[ "MIT" ]
45
2015-01-05T15:05:37.000Z
2020-09-25T04:18:26.000Z
ChkdraftLib/Windows/DialogWindows/MapSettings/Forces.cpp
heinermann/Chkdraft
e79332d3a7a6b89b028246ff641bcbe266039dca
[ "MIT" ]
11
2015-08-14T04:19:10.000Z
2017-04-01T18:57:05.000Z
#include "Forces.h" #include "../../../Chkdraft.h" #include <string> enum_t(Id, u32, { EDIT_F1NAME = ID_FIRST, EDIT_F4NAME = (EDIT_F1NAME+3), LB_F1PLAYERS, LB_F4PLAYERS = (LB_F1PLAYERS+3), CHECK_F1ALLIED, CHECK_F2ALLIED, CHECK_F3ALLIED, CHECK_F4ALLIED, CHECK_F1RANDOM, CHECK_F2RA...
43.617816
169
0.512155
heinermann
ba27bb7d3e13e8016ec8a522d8c90488b79d725f
2,834
hpp
C++
third_party/boost/include/boost/atomic/detail/fp_ops_generic.hpp
fmilano/CppMicroServices
b7e79edb558a63e45f6788e4a8b4e787cf956689
[ "Apache-2.0" ]
588
2015-10-07T15:55:08.000Z
2022-03-29T00:35:44.000Z
third_party/boost/include/boost/atomic/detail/fp_ops_generic.hpp
fmilano/CppMicroServices
b7e79edb558a63e45f6788e4a8b4e787cf956689
[ "Apache-2.0" ]
459
2015-10-05T23:29:59.000Z
2022-03-29T14:13:37.000Z
third_party/boost/include/boost/atomic/detail/fp_ops_generic.hpp
fmilano/CppMicroServices
b7e79edb558a63e45f6788e4a8b4e787cf956689
[ "Apache-2.0" ]
218
2015-11-04T08:19:48.000Z
2022-03-24T02:17:08.000Z
/* * 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) * * Copyright (c) 2018 Andrey Semashev */ /*! * \file atomic/detail/fp_ops_generic.hpp * * This header contains generic implementation of the floating po...
33.738095
130
0.729358
fmilano
ba2bea98ce509d07595de4584ec68018eb5a3c19
6,680
cpp
C++
source/render_vulkan/VulkanTexture.cpp
zjhlogo/blink
025da3506b34e3f0b02be524c97ae1f39c4c5854
[ "Apache-2.0" ]
null
null
null
source/render_vulkan/VulkanTexture.cpp
zjhlogo/blink
025da3506b34e3f0b02be524c97ae1f39c4c5854
[ "Apache-2.0" ]
null
null
null
source/render_vulkan/VulkanTexture.cpp
zjhlogo/blink
025da3506b34e3f0b02be524c97ae1f39c4c5854
[ "Apache-2.0" ]
null
null
null
/*! * \file VulkanTexture.cpp * * \author zjhlogo * \date 2020/01/19 * * */ #include "VulkanTexture.h" #include "VulkanBuffer.h" #include "VulkanCommandBuffer.h" #include "VulkanCommandPool.h" #include "VulkanContext.h" #include "VulkanImage.h" #include "VulkanLogicalDevice.h" #include "VulkanMemory.h" #include ...
36.906077
157
0.672455
zjhlogo
ba2e1d82b447f75197be43c503ddd8e625484c61
399
hpp
C++
libs/input/include/sge/input/focus/event/discover_fwd.hpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
2
2016-01-27T13:18:14.000Z
2018-05-11T01:11:32.000Z
libs/input/include/sge/input/focus/event/discover_fwd.hpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
null
null
null
libs/input/include/sge/input/focus/event/discover_fwd.hpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
3
2018-05-11T01:11:34.000Z
2021-04-24T19:47:45.000Z
// Copyright Carl Philipp Reh 2006 - 2019. // 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) #ifndef SGE_INPUT_FOCUS_EVENT_DISCOVER_FWD_HPP_INCLUDED #define SGE_INPUT_FOCUS_EVENT_DISCOVER_FWD_...
23.470588
61
0.75188
cpreh
ba2f24a995bb78b279e001e644c895d135cbe5dc
1,697
hpp
C++
src/Ets2/Save.hpp
TruckerMP/ETS2Sync-Helper-4
2a8b9df1d4db1e59635762147725fcec84eaf211
[ "Apache-2.0" ]
1
2018-12-08T07:31:13.000Z
2018-12-08T07:31:13.000Z
src/Ets2/Save.hpp
TruckerMP/ETS2Sync-Helper-4
2a8b9df1d4db1e59635762147725fcec84eaf211
[ "Apache-2.0" ]
null
null
null
src/Ets2/Save.hpp
TruckerMP/ETS2Sync-Helper-4
2a8b9df1d4db1e59635762147725fcec84eaf211
[ "Apache-2.0" ]
2
2019-05-10T14:13:53.000Z
2019-11-05T20:25:12.000Z
#pragma once #include "Object.hpp" #include "ObjectList.hpp" #include <string> #include <map> namespace Ets2 { class Save; typedef ObjectList<Save> SaveList; class Save : public Object { public: Save(const std::wstring directory); static const int DLC_SCANDINAVIA = 1 << 0; static const int DLC_GOINGEAST ...
28.283333
127
0.741897
TruckerMP
ba2f618efae06ea441ff557b4fa5bb83726149a8
15,090
cpp
C++
torch/csrc/jit/codegen/cuda/lower_utils.cpp
ljhOfGithub/pytorch
c568f7b16f2a98d72ff5b7c6c6161b67b2c27514
[ "Intel" ]
2
2022-02-14T13:56:03.000Z
2022-02-14T13:56:05.000Z
torch/csrc/jit/codegen/cuda/lower_utils.cpp
ljhOfGithub/pytorch
c568f7b16f2a98d72ff5b7c6c6161b67b2c27514
[ "Intel" ]
1
2019-07-23T15:23:32.000Z
2019-07-23T15:32:23.000Z
torch/csrc/jit/codegen/cuda/lower_utils.cpp
ljhOfGithub/pytorch
c568f7b16f2a98d72ff5b7c6c6161b67b2c27514
[ "Intel" ]
2
2019-07-23T14:37:31.000Z
2019-07-23T14:47:13.000Z
#include <torch/csrc/jit/codegen/cuda/lower_utils.h> #include <ATen/cuda/CUDAContext.h> #include <c10/util/irange.h> #include <torch/csrc/jit/codegen/cuda/arith.h> #include <torch/csrc/jit/codegen/cuda/ir_iostream.h> #include <torch/csrc/jit/codegen/cuda/ir_utils.h> #include <torch/csrc/jit/codegen/cuda/iter_visitor.h...
29.187621
109
0.644201
ljhOfGithub
ba30dac9aae80d294ca1742eab21e28047992780
6,103
cxx
C++
Modules/Filtering/ImageGrid/test/itkBSplineScatteredDataPointSetToImageFilterTest.cxx
floryst/ITK
321e673bcbac15aae2fcad863fd0977b7fbdb3e9
[ "Apache-2.0" ]
1
2020-10-09T18:12:53.000Z
2020-10-09T18:12:53.000Z
Modules/Filtering/ImageGrid/test/itkBSplineScatteredDataPointSetToImageFilterTest.cxx
floryst/ITK
321e673bcbac15aae2fcad863fd0977b7fbdb3e9
[ "Apache-2.0" ]
1
2018-10-18T18:49:19.000Z
2018-10-18T18:49:19.000Z
Modules/Filtering/ImageGrid/test/itkBSplineScatteredDataPointSetToImageFilterTest.cxx
floryst/ITK
321e673bcbac15aae2fcad863fd0977b7fbdb3e9
[ "Apache-2.0" ]
1
2020-10-13T07:24:57.000Z
2020-10-13T07:24:57.000Z
/*========================================================================= * * Copyright Insight Software Consortium * * 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...
34.480226
86
0.705391
floryst
ba3651cd61a10b478b51c85b5ca384a1b73d12a1
17,028
cpp
C++
src/1.4/dom/domAsset.cpp
maemo5/android-source-browsing.platform--external--collada
538700ec332c8306a1283f8dfdb016e493905e6f
[ "MIT" ]
null
null
null
src/1.4/dom/domAsset.cpp
maemo5/android-source-browsing.platform--external--collada
538700ec332c8306a1283f8dfdb016e493905e6f
[ "MIT" ]
null
null
null
src/1.4/dom/domAsset.cpp
maemo5/android-source-browsing.platform--external--collada
538700ec332c8306a1283f8dfdb016e493905e6f
[ "MIT" ]
null
null
null
/* * Copyright 2006 Sony Computer Entertainment Inc. * * Licensed under the MIT Open Source License, for details please see license.txt or the website * http://www.opensource.org/licenses/mit-license.php * */ #include <dae.h> #include <dae/daeDom.h> #include <dom/domAsset.h> #include <dae/daeMetaCMPolicy.h> #in...
26.156682
107
0.715821
maemo5
ba3686cdac9c33a43881ea3578523eb1d7747cc6
376
cpp
C++
Tests/Test_6_Input/scripts/A.cpp
TonyDecvA180XN/Cmple
a49a8ed466ac2ef10fd7006074c160859ca52a15
[ "MIT" ]
23
2021-09-06T20:28:30.000Z
2022-01-08T08:56:03.000Z
Tests/Test_6_Input/scripts/A.cpp
TonyDecvA180XN/Cmple
a49a8ed466ac2ef10fd7006074c160859ca52a15
[ "MIT" ]
null
null
null
Tests/Test_6_Input/scripts/A.cpp
TonyDecvA180XN/Cmple
a49a8ed466ac2ef10fd7006074c160859ca52a15
[ "MIT" ]
null
null
null
B b[10]; bool flag = false; Create { for (int i = 0; i < 10; i++) { b[i] = create_object_B(); for (int j = 0; j < 10; j++) { b[i]&x[j] = i * j; } } } Destroy { } Update { if (!flag) { flag = true; for (int i = 0; i < 10; i++) { destroy_obje...
11.393939
38
0.369681
TonyDecvA180XN
ba36f146691e6948680147901d1a5bd3e64bc454
18,973
cpp
C++
implementations/masa/masa-core/masa-core-1.3.9.1024/src/libmasa/aligners/AbstractBlockAligner.cpp
r-barnes/sw_comparison
1ac2c9cc10a32badd6b8fb1e96516c97f7800176
[ "BSD-Source-Code" ]
null
null
null
implementations/masa/masa-core/masa-core-1.3.9.1024/src/libmasa/aligners/AbstractBlockAligner.cpp
r-barnes/sw_comparison
1ac2c9cc10a32badd6b8fb1e96516c97f7800176
[ "BSD-Source-Code" ]
null
null
null
implementations/masa/masa-core/masa-core-1.3.9.1024/src/libmasa/aligners/AbstractBlockAligner.cpp
r-barnes/sw_comparison
1ac2c9cc10a32badd6b8fb1e96516c97f7800176
[ "BSD-Source-Code" ]
null
null
null
/******************************************************************************* * * Copyright (c) 2010-2015 Edans Sandes * * This file is part of MASA-Core. * * MASA-Core is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free...
29.415504
156
0.708797
r-barnes
ba3893cfeb9fd811cfba15ba8740e422328625ed
816
hpp
C++
include/use_engine/MatlabExecutionInterface/util.hpp
UlovHer/CppCallMtlab
ca45da0908dfd76d287be545abc4b62a7ffbfe3a
[ "MIT" ]
5
2018-11-21T11:52:49.000Z
2021-04-14T03:13:31.000Z
include/use_engine/MatlabExecutionInterface/util.hpp
UlovHer/CppCallMtlab
ca45da0908dfd76d287be545abc4b62a7ffbfe3a
[ "MIT" ]
3
2018-08-24T03:12:36.000Z
2019-09-29T06:21:32.000Z
include/use_engine/MatlabExecutionInterface/util.hpp
UlovHer/CppCallMtlab
ca45da0908dfd76d287be545abc4b62a7ffbfe3a
[ "MIT" ]
4
2018-08-10T07:02:30.000Z
2022-03-09T07:20:16.000Z
/* Copyright 2017 The MathWorks, Inc. */ #ifndef MATLABEXECUTIONINTERFACE_UTIL_HPP #define MATLABEXECUTIONINTERFACE_UTIL_HPP #include <vector> #include <streambuf> #include <memory> namespace detail { enum class ExceptionType { CANCELLED = 0, INTERRUPTED = 1, EXECUTION = 2, SYNTAX...
22.054054
86
0.677696
UlovHer
ba3904a36b4b21b37a220a260b0764ad4abad790
397
cpp
C++
leetcode/326_Power_of_Three.cpp
longztian/cpp
59203f41162f40a46badf69093d287250e5cbab6
[ "MIT" ]
null
null
null
leetcode/326_Power_of_Three.cpp
longztian/cpp
59203f41162f40a46badf69093d287250e5cbab6
[ "MIT" ]
null
null
null
leetcode/326_Power_of_Three.cpp
longztian/cpp
59203f41162f40a46badf69093d287250e5cbab6
[ "MIT" ]
null
null
null
class Solution { public: bool isPowerOfThree(int n) { /* if ( n <= 3 ) return n == 3 || n == 1; while( n > 3 ) { if( n % 3 ) return false; n /= 3; } return n == 3 || n == 1; */ int max = pow(3, static_cast<int>(log(numeric_li...
19.85
85
0.38539
longztian
ba394d0472e737e55b5ce4ce503711b353b192ed
2,013
cc
C++
chrome/browser/extensions/api/braille_display_private/braille_controller_stub.cc
kjthegod/chromium
cf940f7f418436b77e15b1ea23e6fa100ca1c91a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2019-11-28T10:46:52.000Z
2019-11-28T10:46:52.000Z
chrome/browser/extensions/api/braille_display_private/braille_controller_stub.cc
kjthegod/chromium
cf940f7f418436b77e15b1ea23e6fa100ca1c91a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
chrome/browser/extensions/api/braille_display_private/braille_controller_stub.cc
kjthegod/chromium
cf940f7f418436b77e15b1ea23e6fa100ca1c91a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
2
2015-03-27T11:15:39.000Z
2016-08-17T14:19:56.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 "chrome/browser/extensions/api/braille_display_private/braille_controller.h" #include "base/memory/scoped_ptr.h" #include "base/memory/singleton...
28.352113
85
0.790363
kjthegod
ba39dd5e3808f0f2f73153301a3cb835f21ebc56
35,424
cpp
C++
Code/Engine/RendererDX11/Context/Implementation/ContextDX11.cpp
fereeh/ezEngine
14e46cb2a1492812888602796db7ddd66e2b7110
[ "MIT" ]
1
2021-06-23T14:44:02.000Z
2021-06-23T14:44:02.000Z
Code/Engine/RendererDX11/Context/Implementation/ContextDX11.cpp
fereeh/ezEngine
14e46cb2a1492812888602796db7ddd66e2b7110
[ "MIT" ]
null
null
null
Code/Engine/RendererDX11/Context/Implementation/ContextDX11.cpp
fereeh/ezEngine
14e46cb2a1492812888602796db7ddd66e2b7110
[ "MIT" ]
null
null
null
#include <RendererDX11PCH.h> #include <RendererDX11/Context/ContextDX11.h> #include <RendererDX11/Device/DeviceDX11.h> #include <RendererDX11/Resources/BufferDX11.h> #include <RendererDX11/Resources/FenceDX11.h> #include <RendererDX11/Resources/QueryDX11.h> #include <RendererDX11/Resources/RenderTargetViewDX11.h> #in...
39.185841
140
0.744919
fereeh
ba3ea210342eeae39acff888a5b1dab668ab1339
27,710
cpp
C++
cppcache/src/ClientMetadataService.cpp
mivanac/geode-native
8b161cc9c212aa99f871a309ee97d41355df163f
[ "Apache-2.0" ]
null
null
null
cppcache/src/ClientMetadataService.cpp
mivanac/geode-native
8b161cc9c212aa99f871a309ee97d41355df163f
[ "Apache-2.0" ]
null
null
null
cppcache/src/ClientMetadataService.cpp
mivanac/geode-native
8b161cc9c212aa99f871a309ee97d41355df163f
[ "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 ...
33.792683
80
0.678672
mivanac
ba413dcaee68a3e4a2fa24e97444a680bd866df6
3,342
cpp
C++
Source/Diagnostics/ParticleIO.cpp
dwillcox/WarpX
1cd88d7d8894542b34ed51eebe0d1a55182db50a
[ "BSD-3-Clause-LBNL" ]
null
null
null
Source/Diagnostics/ParticleIO.cpp
dwillcox/WarpX
1cd88d7d8894542b34ed51eebe0d1a55182db50a
[ "BSD-3-Clause-LBNL" ]
null
null
null
Source/Diagnostics/ParticleIO.cpp
dwillcox/WarpX
1cd88d7d8894542b34ed51eebe0d1a55182db50a
[ "BSD-3-Clause-LBNL" ]
null
null
null
#include <MultiParticleContainer.H> #include <WarpX.H> using namespace amrex; void WarpXParticleContainer::ReadHeader (std::istream& is) { is >> charge >> mass; WarpX::GotoNextLine(is); } void WarpXParticleContainer::WriteHeader (std::ostream& os) const { // no need to write species_id os << charge ...
28.810345
83
0.59994
dwillcox
ba4148f0fc8532e3c256d8a227c08674ffe0c7ec
941
hpp
C++
q_lib/include/q/detail/count_bits.hpp
ebai101/Q
92c3dc11714a56eb2c799f168875803109c95549
[ "MIT" ]
null
null
null
q_lib/include/q/detail/count_bits.hpp
ebai101/Q
92c3dc11714a56eb2c799f168875803109c95549
[ "MIT" ]
null
null
null
q_lib/include/q/detail/count_bits.hpp
ebai101/Q
92c3dc11714a56eb2c799f168875803109c95549
[ "MIT" ]
null
null
null
/*============================================================================= Copyright (c) 2014-2019 Joel de Guzman. All rights reserved. Distributed under the MIT License [ https://opensource.org/licenses/MIT ] =============================================================================*/ #if !defined(CYCFI...
22.95122
79
0.606801
ebai101
ba418ea9d6863658a7ced2bd4dbb7e151d1c3204
530
cpp
C++
Algorithms/BinarySearch.cpp
Ritvikjain/DataStructures-And-Algorithms
27f2d48343aeb91c67376ae2fee429ca92dbd353
[ "MIT" ]
null
null
null
Algorithms/BinarySearch.cpp
Ritvikjain/DataStructures-And-Algorithms
27f2d48343aeb91c67376ae2fee429ca92dbd353
[ "MIT" ]
null
null
null
Algorithms/BinarySearch.cpp
Ritvikjain/DataStructures-And-Algorithms
27f2d48343aeb91c67376ae2fee429ca92dbd353
[ "MIT" ]
null
null
null
#include<iostream> using namespace std; int BinarySearch(int a[],int l,int r,int f) { if(l<=r) { int mid=(l+r)/2; if(a[mid]==f) { return mid; } else if(f<a[mid]) { r=mid-1; } else { l=mid+1; } BinarySearch(a,l,r,f); } else return -1; } int main() { int n; cin>>n; int arr[n]; for(...
12.325581
43
0.543396
Ritvikjain
ba42f2478703f7c6f956c8ff4f58972e6e9428d0
2,701
cpp
C++
GameFramework_ThirdParty/FCollada/FCollada/DLLEntry.cpp
GavWood/tutorials
d5140129b6acd6d61f6feedcd352c12e4ebabd40
[ "BSD-2-Clause" ]
8
2017-10-26T14:26:55.000Z
2022-01-07T07:35:39.000Z
GameFramework_ThirdParty/FCollada/FCollada/DLLEntry.cpp
GavWood/tutorials
d5140129b6acd6d61f6feedcd352c12e4ebabd40
[ "BSD-2-Clause" ]
1
2018-01-27T19:21:07.000Z
2018-01-31T13:55:09.000Z
GameFramework_ThirdParty/FCollada/FCollada/DLLEntry.cpp
GavWood/Game-Framework
d5140129b6acd6d61f6feedcd352c12e4ebabd40
[ "BSD-2-Clause" ]
1
2021-07-21T17:37:33.000Z
2021-07-21T17:37:33.000Z
/* Copyright (C) 2005-2007 Feeling Software Inc. Portions of the code are: Copyright (C) 2005-2007 Sony Computer Entertainment America MIT License: http://www.opensource.org/licenses/mit-license.php */ #include "StdAfx.h" #ifdef FCOLLADA_DLL #ifdef WIN32 HINSTANCE hInstance = NULL; BOOL WINAPI DllMain(HINSTANC...
23.08547
104
0.749352
GavWood
ba44340a037f2ba5c15fc2f40c851568130f4305
2,647
cpp
C++
io/PVPFile.cpp
PetaVision/ObsoletePV
e99a42bf4292e944b252e144b5e07442b0715697
[ "MIT" ]
null
null
null
io/PVPFile.cpp
PetaVision/ObsoletePV
e99a42bf4292e944b252e144b5e07442b0715697
[ "MIT" ]
null
null
null
io/PVPFile.cpp
PetaVision/ObsoletePV
e99a42bf4292e944b252e144b5e07442b0715697
[ "MIT" ]
null
null
null
/* * PVPFile.cpp * * Created on: Jun 4, 2014 * Author: pschultz */ #include "PVPFile.hpp" namespace PV { PVPFile::PVPFile(const char * path, enum PVPFileMode mode, int pvpfileType, InterColComm * icComm) { initialize_base(); int status = initialize(path, mode, pvpfileType, icComm); if (status != P...
26.47
108
0.613903
PetaVision
ba45cde29c28e2e3723edad3a7dca9fead001c01
9,414
cpp
C++
TemplePlus/hotkeys.cpp
dolio/TemplePlus
37446bb3d1fcbf460e611a4fcb2caff167e9ac08
[ "MIT" ]
69
2015-05-05T14:09:25.000Z
2022-02-15T06:13:04.000Z
TemplePlus/hotkeys.cpp
anatoliy-savchak/TemplePlus
50922bb14cc2d7dcf8fceeccf45c3b905c1b512f
[ "MIT" ]
457
2015-05-01T22:07:45.000Z
2022-03-31T02:19:10.000Z
TemplePlus/hotkeys.cpp
anatoliy-savchak/TemplePlus
50922bb14cc2d7dcf8fceeccf45c3b905c1b512f
[ "MIT" ]
25
2016-02-04T21:19:53.000Z
2021-11-15T23:14:51.000Z
#include "stdafx.h" #include "radialmenu.h" #include "tig/tig_mes.h" #include "hotkeys.h" #include "tio\tio.h" #include "gamesystems/legacy.h" #include "util/fixes.h" #include "obj.h" #include "critter.h" #include "action_sequence.h" #include "ui/ui_systems.h" #include "ui/ui_legacysystems.h" #include "infr...
28.877301
145
0.716699
dolio
ba46efca2094eaefde1b2336feac0d68a1dd1b79
1,960
cpp
C++
src/bind/window/teleport_vdesktop.cpp
dmlerner/win-vind
f5c25bc0e082b9600ef19c02ba4f565bc3b14cfe
[ "MIT" ]
null
null
null
src/bind/window/teleport_vdesktop.cpp
dmlerner/win-vind
f5c25bc0e082b9600ef19c02ba4f565bc3b14cfe
[ "MIT" ]
null
null
null
src/bind/window/teleport_vdesktop.cpp
dmlerner/win-vind
f5c25bc0e082b9600ef19c02ba4f565bc3b14cfe
[ "MIT" ]
null
null
null
#include "teleport_vdesktop.hpp" #include "core/ntype_logger.hpp" #include "util/smartcom.hpp" #include "util/winwrap.hpp" #include <windows.h> // #include <shobjidl.h> namespace vind { namespace bind { TeleportOverVDesktop::TeleportOverVDesktop() : BindedFuncVoid("teleport_over_vdesktop") ...
28.405797
115
0.526531
dmlerner
ba4769b27875e9c588a3c9364bf348ee39863475
6,473
cc
C++
dart_troll/dart_troll.cc
bourdenas/troll
0c00a993ecca95fa33a2a1bc39f912be1cfff960
[ "MIT" ]
null
null
null
dart_troll/dart_troll.cc
bourdenas/troll
0c00a993ecca95fa33a2a1bc39f912be1cfff960
[ "MIT" ]
null
null
null
dart_troll/dart_troll.cc
bourdenas/troll
0c00a993ecca95fa33a2a1bc39f912be1cfff960
[ "MIT" ]
null
null
null
#include <string> #include <dart_api.h> #include <glog/logging.h> #include "core/event-dispatcher.h" #include "core/troll-core.h" #include "dart_troll/dart_utils.h" #include "input/input-manager.h" #include "proto/action.pb.h" #include "proto/event.pb.h" #include "proto/input-event.pb.h" #include "proto/query.pb.h" ...
31.42233
80
0.737371
bourdenas
ba4a8984a7581c254efbe8eeca154491e58acd9e
4,325
cpp
C++
tutorial/tuto.cpp
qyz96/tasktorrent
4418d83da7de657363ac99ee263602794a0b97a5
[ "MIT" ]
23
2019-09-29T19:33:29.000Z
2022-03-25T01:48:40.000Z
tutorial/tuto.cpp
qyz96/tasktorrent
4418d83da7de657363ac99ee263602794a0b97a5
[ "MIT" ]
3
2020-03-11T18:14:08.000Z
2020-05-09T22:32:56.000Z
tutorial/tuto.cpp
qyz96/tasktorrent
4418d83da7de657363ac99ee263602794a0b97a5
[ "MIT" ]
7
2019-10-22T06:40:03.000Z
2021-12-01T08:17:39.000Z
#include "tasktorrent/tasktorrent.hpp" #include <iostream> #include <map> #include <mpi.h> using namespace std; using namespace ttor; void tuto_1(int n_threads, int verb) { const int rank = comm_rank(); const int n_ranks = comm_size(); if (n_ranks < 2) { printf("You need to run this code wi...
28.833333
96
0.540578
qyz96
ba4b355c947aeee48545395d0ceb54748d9e6b7a
2,491
cpp
C++
greedy-algorithms/basic-principles/minimize-cash-flow.cpp
dushimsam/deep-dive-in-algorithms
0c6a04b3115ba789ab4aca68cce51c9a3c3a075a
[ "MIT" ]
null
null
null
greedy-algorithms/basic-principles/minimize-cash-flow.cpp
dushimsam/deep-dive-in-algorithms
0c6a04b3115ba789ab4aca68cce51c9a3c3a075a
[ "MIT" ]
null
null
null
greedy-algorithms/basic-principles/minimize-cash-flow.cpp
dushimsam/deep-dive-in-algorithms
0c6a04b3115ba789ab4aca68cce51c9a3c3a075a
[ "MIT" ]
null
null
null
#include<iostream> #include<bits/stdc++.h> using namespace std; /** ALGORITHM 1. Settle the net amount for each person. = (amount_received - amount_sent) 2. Get the most_credited_amount:amount.getMax() , and the most_debited_amount: amount.getMin() 3. Find the minimum of the two. 4. Deduct ...
24.663366
116
0.531112
dushimsam
ba4c0e46f1745a0f74548cb54c042354021ad97a
2,723
cpp
C++
src/Game.cpp
PeriodicSeizures/Alchyme
68b034ec4c2111c52e9b15540b3d8323482b164c
[ "MIT" ]
null
null
null
src/Game.cpp
PeriodicSeizures/Alchyme
68b034ec4c2111c52e9b15540b3d8323482b164c
[ "MIT" ]
1
2021-09-21T01:37:43.000Z
2021-09-21T01:37:43.000Z
src/Game.cpp
PeriodicSeizures/Alchyme
68b034ec4c2111c52e9b15540b3d8323482b164c
[ "MIT" ]
null
null
null
#include "Game.hpp" #include "Client.hpp" #include "Server.hpp" namespace Alchyme { static std::unique_ptr<Game> impl; Game* Game::Get() { return impl.get(); } void Game::RunClient() { impl = std::make_unique<Client>(); impl->Start(); } void Game::RunServer() { impl = std::make_unique<Server>(); imp...
22.691667
133
0.641939
PeriodicSeizures
ba4c6ac107782b7fb75be146bfa2ded7c64afbc7
705
hpp
C++
EiRas/Framework/EiRas/PlatformDependency/OnMetal/Material/GraphicsResourceMetalAdapter.hpp
MonsterENT/EiRas
b29592da60b1a9085f5a2d8fa4ed01b43660f712
[ "MIT" ]
1
2019-12-24T10:12:16.000Z
2019-12-24T10:12:16.000Z
EiRas/Framework/EiRas/PlatformDependency/OnMetal/Material/GraphicsResourceMetalAdapter.hpp
MonsterENT/EiRas
b29592da60b1a9085f5a2d8fa4ed01b43660f712
[ "MIT" ]
null
null
null
EiRas/Framework/EiRas/PlatformDependency/OnMetal/Material/GraphicsResourceMetalAdapter.hpp
MonsterENT/EiRas
b29592da60b1a9085f5a2d8fa4ed01b43660f712
[ "MIT" ]
null
null
null
// // GraphicsResourceMetalAdapter.hpp // EiRasMetalBuild // // Created by MonsterENT on 12/8/19. // Copyright © 2019 MonsterENT. All rights reserved. // #ifndef GraphicsResourceMetalAdapter_hpp #define GraphicsResourceMetalAdapter_hpp #include <Global/GlobalDefine.h> #include <string> namespace MaterialSys { v...
26.111111
117
0.785816
MonsterENT
ba4dc02990354ae2202c9d25cf8d9e8fc48d57fd
1,861
cpp
C++
tests/integration/transformation_tests/prepare_nodes_for_training_transformation_test_0.cpp
gglin001/popart
3225214343f6d98550b6620e809a3544e8bcbfc6
[ "MIT" ]
61
2020-07-06T17:11:46.000Z
2022-03-12T14:42:51.000Z
tests/integration/transformation_tests/prepare_nodes_for_training_transformation_test_0.cpp
gglin001/popart
3225214343f6d98550b6620e809a3544e8bcbfc6
[ "MIT" ]
1
2021-02-25T01:30:29.000Z
2021-11-09T11:13:14.000Z
tests/integration/transformation_tests/prepare_nodes_for_training_transformation_test_0.cpp
gglin001/popart
3225214343f6d98550b6620e809a3544e8bcbfc6
[ "MIT" ]
6
2020-07-15T12:33:13.000Z
2021-11-07T06:55:00.000Z
// Copyright (c) 2019 Graphcore Ltd. All rights reserved. #define BOOST_TEST_MODULE RemoveUnusedInputTest0 #include <boost/test/unit_test.hpp> #include <filereader.hpp> #include <onnx/onnx_pb.h> #include <popart/builder.hpp> #include <popart/graphtransformer.hpp> #include <popart/tensordata.hpp> using namespace popar...
29.539683
67
0.66792
gglin001
ba4ddbcefb893f915c2ba1fac31d2752d4047ec1
3,766
hpp
C++
libraries/chain_api/include/eosio/chain/chain_api.hpp
learnforpractice/pyeos
4f04eb982c86c1fdb413084af77c713a6fda3070
[ "MIT" ]
144
2017-10-18T16:38:51.000Z
2022-01-09T12:43:57.000Z
libraries/chain_api/include/eosio/chain/chain_api.hpp
openchatproject/safeos
2c8dbf57d186696ef6cfcbb671da9705b8f3d9f7
[ "MIT" ]
60
2017-10-11T13:07:43.000Z
2019-03-26T04:33:27.000Z
libraries/chain_api/include/eosio/chain/chain_api.hpp
learnforpractice/pyeos
4f04eb982c86c1fdb413084af77c713a6fda3070
[ "MIT" ]
38
2017-12-05T01:13:56.000Z
2022-01-07T07:06:53.000Z
#include <string> #include <vector> #include <fc/variant.hpp> #include <eosio/chain/action.hpp> #include <eosio/chain/transaction.hpp> #include <eosio/chain/block.hpp> using namespace fc; using namespace std; namespace eosio { namespace chain { class chain_api { public: chain_api(); virtual ~chain_...
44.305882
166
0.739511
learnforpractice
ba4e5ccd6b3bf8ca2762fc331228de296c7321bc
746
hpp
C++
include/vmp_analyzer.hpp
invlpg/vmpfix
089cfd941a949877093442fd8f951a84f0794d99
[ "Unlicense" ]
null
null
null
include/vmp_analyzer.hpp
invlpg/vmpfix
089cfd941a949877093442fd8f951a84f0794d99
[ "Unlicense" ]
null
null
null
include/vmp_analyzer.hpp
invlpg/vmpfix
089cfd941a949877093442fd8f951a84f0794d99
[ "Unlicense" ]
null
null
null
#pragma once #include <linuxpe> #include <vector> #include "image_desc.hpp" enum class stub_type_t { jump, call, move }; struct vmp_stub_t { stub_type_t type; // Address of resolved api. // uint64_t resolved_api; // Address of original call/jmp/mov instuction. // uint64_t ins_address; // Original ins...
24.064516
63
0.655496
invlpg
ba4e7f9d19f1eb856d6f3dab47118a8a07a034b3
509
cpp
C++
fun-projects/Classic Algorithms/closestpair/main.cpp
smac89/UVA-Online-Judge-Problem-Solutions
e185e6f12ac8fd4a2e36e053c2439e9f3ae287d5
[ "MIT" ]
1
2017-06-07T19:00:59.000Z
2017-06-07T19:00:59.000Z
fun-projects/Classic Algorithms/closestpair/main.cpp
smac89/playground
e185e6f12ac8fd4a2e36e053c2439e9f3ae287d5
[ "MIT" ]
1
2016-03-22T01:59:59.000Z
2016-03-22T01:59:59.000Z
fun-projects/Classic Algorithms/closestpair/main.cpp
smac89/playground
e185e6f12ac8fd4a2e36e053c2439e9f3ae287d5
[ "MIT" ]
null
null
null
#include "node.hpp" #include "tree.hpp" #include <iostream> #include <vector> #include <utility> using namespace spatial; int main() { std::vector<kdNode<2>*> nodes = generateNodes<2>(10); for (kdNode<2> *node : nodes) { std::cout << *node << std::endl; } kdTree<2> tree(nodes); ...
26.789474
102
0.571709
smac89
ba4eccb48c450aa6f122ae6efc9385549b17236d
4,471
cc
C++
lib/lf/quad/test/make_quad_rule_tests.cc
Pascal-So/lehrfempp
e2716e914169eec7ee59e822ea3ab303143eacd1
[ "MIT" ]
null
null
null
lib/lf/quad/test/make_quad_rule_tests.cc
Pascal-So/lehrfempp
e2716e914169eec7ee59e822ea3ab303143eacd1
[ "MIT" ]
null
null
null
lib/lf/quad/test/make_quad_rule_tests.cc
Pascal-So/lehrfempp
e2716e914169eec7ee59e822ea3ab303143eacd1
[ "MIT" ]
null
null
null
/** * @file * @brief Test the order of quadrature rules by testing it with monomials * @author Raffael Casagrande * @date 2018-08-19 06:54:02 * @copyright MIT License */ #include <gtest/gtest.h> #include <lf/quad/quad.h> #include <boost/math/special_functions/factorials.hpp> namespace lf::quad::test { double...
32.875
80
0.528517
Pascal-So
ba502d34e215d686d665d5940bb650a7a43b3944
70,931
hpp
C++
include/athena/DNAOp.hpp
encounter/athena
6adba82abd8b7f48e6eca9f74361d0c605bc9ec8
[ "MIT" ]
null
null
null
include/athena/DNAOp.hpp
encounter/athena
6adba82abd8b7f48e6eca9f74361d0c605bc9ec8
[ "MIT" ]
null
null
null
include/athena/DNAOp.hpp
encounter/athena
6adba82abd8b7f48e6eca9f74361d0c605bc9ec8
[ "MIT" ]
null
null
null
#pragma once #include <cstddef> #include <cstdint> #include <string> #include <type_traits> #include <vector> #include "athena/ChecksumsLiterals.hpp" #include "athena/IStreamReader.hpp" #include "athena/IStreamWriter.hpp" #include "athena/YAMLDocReader.hpp" #include "athena/YAMLDocWriter.hpp" namespace athena::io { ...
60.264231
120
0.508438
encounter
ba50c892ca084408b7e7d50a526e595d39de20e3
7,330
cc
C++
src/devices/gpio/bin/gpioutil/test/gpioutil-test.cc
wwjiang007/fuchsia-1
0db66b52b5bcd3e27c8b8c2163925309e8522f94
[ "BSD-2-Clause" ]
210
2019-02-05T12:45:09.000Z
2022-03-28T07:59:06.000Z
src/devices/gpio/bin/gpioutil/test/gpioutil-test.cc
wwjiang007/fuchsia-1
0db66b52b5bcd3e27c8b8c2163925309e8522f94
[ "BSD-2-Clause" ]
56
2021-06-03T03:16:25.000Z
2022-03-20T01:07:44.000Z
src/devices/gpio/bin/gpioutil/test/gpioutil-test.cc
wwjiang007/fuchsia-1
0db66b52b5bcd3e27c8b8c2163925309e8522f94
[ "BSD-2-Clause" ]
73
2019-03-06T18:55:23.000Z
2022-03-26T12:04:51.000Z
// 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 "gpioutil.h" #include <lib/async-loop/cpp/loop.h> #include <lib/async-loop/default.h> #include <lib/fidl-async/cpp/bind.h> #include <lib/fidl-uti...
32.577778
99
0.701501
wwjiang007
ba51165e96451b70f16f2cf07ad03e27bab61119
521
cpp
C++
01-Arrays/containsWater.cpp
codewithdev/Amazon-SDE-Test-Series-
707cf1665f4798551d9e073fac273565b7407e1c
[ "Apache-2.0" ]
1
2020-07-18T11:08:27.000Z
2020-07-18T11:08:27.000Z
01-Arrays/containsWater.cpp
codewithdev/Amazon-SDE-Test-Series-
707cf1665f4798551d9e073fac273565b7407e1c
[ "Apache-2.0" ]
null
null
null
01-Arrays/containsWater.cpp
codewithdev/Amazon-SDE-Test-Series-
707cf1665f4798551d9e073fac273565b7407e1c
[ "Apache-2.0" ]
null
null
null
#include<bits/stdc++.h> using namespace std; int maxArea(int *arr,int n); long long maxArea(long long a[], int n){ int i=0; int j=n-1; int res=0; while(i<j){ int curr=0; if(a[i]<=a[j]){ curr= (j-i)*a[i]; i++; } else{ curr= (j-i)*a[j]; j--; } if(curr>res){ res= curr; } if(i==j){ ...
12.707317
40
0.50096
codewithdev
ba514f438e8f871eb1039177f208e7679a82b308
6,803
cpp
C++
android/android_23/frameworks/base/media/libstagefright/codecs/aacdec/sbr_get_sce.cpp
yakuizhao/intel-vaapi-driver
b2bb0383352694941826543a171b557efac2219b
[ "MIT" ]
null
null
null
android/android_23/frameworks/base/media/libstagefright/codecs/aacdec/sbr_get_sce.cpp
yakuizhao/intel-vaapi-driver
b2bb0383352694941826543a171b557efac2219b
[ "MIT" ]
null
null
null
android/android_23/frameworks/base/media/libstagefright/codecs/aacdec/sbr_get_sce.cpp
yakuizhao/intel-vaapi-driver
b2bb0383352694941826543a171b557efac2219b
[ "MIT" ]
null
null
null
/* ------------------------------------------------------------------ * Copyright (C) 1998-2009 PacketVideo * * 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.o...
33.512315
80
0.516243
yakuizhao
ba5302c7f4eecfcee55261c95723e940e9000770
1,285
cpp
C++
rice/VM.cpp
jameskilton/rice
8f9093d758aa15ded2c112f6d3e3537cc968477d
[ "BSD-2-Clause" ]
11
2015-02-09T12:13:45.000Z
2019-11-25T01:14:31.000Z
rice/VM.cpp
jameskilton/rice
8f9093d758aa15ded2c112f6d3e3537cc968477d
[ "BSD-2-Clause" ]
3
2016-12-26T19:31:29.000Z
2021-04-13T12:32:58.000Z
rice/VM.cpp
jameskilton/rice
8f9093d758aa15ded2c112f6d3e3537cc968477d
[ "BSD-2-Clause" ]
2
2019-11-25T01:14:35.000Z
2021-09-29T04:57:36.000Z
#include "VM.hpp" #include "detail/ruby.hpp" #include "detail/env.hpp" #include "detail/ruby_version_code.hpp" #include <stdexcept> Rice::VM:: VM(char * app_name) { init_stack(); init(1, &app_name); } Rice::VM:: VM(int argc, char * argv[]) { init_stack(); init(argc, argv); } Rice::VM:: VM(std::vector<const...
13.817204
68
0.668482
jameskilton
ba534857fdd40cba6a9abbe782cae5f33ac2cbe0
1,181
hpp
C++
source/d3d12/d3d12_command_queue_downlevel.hpp
Moroque/reshade
bf1d263780a817130f6547dca0432dfe64c8beda
[ "BSD-3-Clause" ]
79
2021-02-21T08:39:36.000Z
2022-03-16T21:37:47.000Z
source/d3d12/d3d12_command_queue_downlevel.hpp
kingeric1992/reshade
22f57c10ea87ee83ceb7a5d0cb737cdfb02dedb2
[ "BSD-3-Clause" ]
null
null
null
source/d3d12/d3d12_command_queue_downlevel.hpp
kingeric1992/reshade
22f57c10ea87ee83ceb7a5d0cb737cdfb02dedb2
[ "BSD-3-Clause" ]
8
2021-04-14T21:37:23.000Z
2022-03-29T22:20:51.000Z
/* * Copyright (C) 2014 Patrick Mours. All rights reserved. * License: https://github.com/crosire/reshade#license */ #pragma once #include <D3D12Downlevel.h> #include "reshade_api_swapchain.hpp" struct D3D12CommandQueue; struct DECLSPEC_UUID("98CF28C0-F383-487E-A61E-3A638FEE29BD") D3D12CommandQueueDownlevel fina...
36.90625
170
0.825572
Moroque
ba55149048c5e31afe8bceb5e52284cd5d7e2f2d
7,307
cpp
C++
src/qpid/messaging/ProtocolRegistry.cpp
irinabov/debian-qpid-cpp-1.35.0
98b0597071c0a5f0cc407a35d5a4690d9189065e
[ "Apache-2.0" ]
1
2017-11-29T09:19:02.000Z
2017-11-29T09:19:02.000Z
src/qpid/messaging/ProtocolRegistry.cpp
irinabov/debian-qpid-cpp-1.35.0
98b0597071c0a5f0cc407a35d5a4690d9189065e
[ "Apache-2.0" ]
null
null
null
src/qpid/messaging/ProtocolRegistry.cpp
irinabov/debian-qpid-cpp-1.35.0
98b0597071c0a5f0cc407a35d5a4690d9189065e
[ "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"); y...
33.213636
170
0.630081
irinabov
ba5537d04ccbf4bee80924d591f7bb6b33c3b034
24,801
cpp
C++
SystemTools/test/Backup_Fixture.cpp
mbeckh/SystemTools
7cd0784cb948fdedb87f20cdd0b0e9b3c983a740
[ "Apache-2.0" ]
null
null
null
SystemTools/test/Backup_Fixture.cpp
mbeckh/SystemTools
7cd0784cb948fdedb87f20cdd0b0e9b3c983a740
[ "Apache-2.0" ]
6
2020-07-09T22:47:16.000Z
2020-10-25T12:34:18.000Z
SystemTools/test/Backup_Fixture.cpp
mbeckh/SystemTools
7cd0784cb948fdedb87f20cdd0b0e9b3c983a740
[ "Apache-2.0" ]
null
null
null
/* Copyright 2020 Michael Beckh 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 writing, software distr...
36.100437
224
0.702754
mbeckh
ba56f26db51adbef6ad2540175de4230075a4892
31,994
cc
C++
mistral-cv/main.cc
Ravenslofty/mistral
8268af71b08baa69c9ae6be3de8a24c69ec0dd4e
[ "BSD-3-Clause" ]
62
2020-09-07T08:55:37.000Z
2022-03-19T07:05:17.000Z
mistral-cv/main.cc
Ravenslofty/mistral
8268af71b08baa69c9ae6be3de8a24c69ec0dd4e
[ "BSD-3-Clause" ]
8
2021-01-06T13:31:05.000Z
2021-11-01T12:13:39.000Z
mistral-cv/main.cc
Ravenslofty/mistral
8268af71b08baa69c9ae6be3de8a24c69ec0dd4e
[ "BSD-3-Clause" ]
10
2020-08-28T14:05:27.000Z
2022-02-17T12:18:35.000Z
#undef _FORTIFY_SOURCE /* e50 5CEBA4F23C7 gt75 5CGTFD5C5F23I7 gt150 5CGTFD7C5F23I7 gt300 5CGTFD9C5F23I7 gx25 5CGXFC3B6F23C6 sx50 5CSEBA4U23I7 sx120 5CSEBA6U23I7 */ #include "cyclonev.h" #include <stdlib.h> #include <stdio.h> #include <string.h> void file_load(const char *fname, uint8_t *&data, uint32_t &size) ...
29.244973
222
0.570482
Ravenslofty
ba5f28277cd8144d76207f2f5d39f977fd5c978a
3,047
cc
C++
src/ila-mngr/p_simplify_semantic.cc
LeeOHzzZ/ILAng
24225294ac133e5d08af5037350ede8f78610c45
[ "MIT" ]
21
2019-03-18T18:35:35.000Z
2022-01-27T06:57:47.000Z
src/ila-mngr/p_simplify_semantic.cc
LeeOHzzZ/ILAng
24225294ac133e5d08af5037350ede8f78610c45
[ "MIT" ]
105
2019-01-19T07:09:25.000Z
2021-01-11T20:06:24.000Z
src/ila-mngr/p_simplify_semantic.cc
LeeOHzzZ/ILAng
24225294ac133e5d08af5037350ede8f78610c45
[ "MIT" ]
7
2019-01-28T19:48:09.000Z
2020-11-05T14:42:05.000Z
/// \file /// Simplify instruction state update functions. #include <ilang/ila-mngr/pass.h> #include <ilang/target-smt/z3_expr_adapter.h> #include <ilang/util/log.h> namespace ilang { namespace pass { class FuncObjEqSubtree { public: FuncObjEqSubtree(const ExprPtr& target, const ExprPtr& assump) : target_(...
23.620155
76
0.605514
LeeOHzzZ
ba5f3ba12c7716897119188ab4a7ba560e09dd30
469
cpp
C++
src/examples/012Chapter/12-1-7-dynamic-arrays/dynamic_arrays.cpp
artgonzalez/cpp-primer
0317e11b5821860d38a236f24c6f7d76638386f3
[ "MIT" ]
null
null
null
src/examples/012Chapter/12-1-7-dynamic-arrays/dynamic_arrays.cpp
artgonzalez/cpp-primer
0317e11b5821860d38a236f24c6f7d76638386f3
[ "MIT" ]
null
null
null
src/examples/012Chapter/12-1-7-dynamic-arrays/dynamic_arrays.cpp
artgonzalez/cpp-primer
0317e11b5821860d38a236f24c6f7d76638386f3
[ "MIT" ]
null
null
null
#include "dynamic_arrays.h" using std::cout; using std::shared_ptr; int* get_dynamic_array(const std::size_t cnt) { cout<<"Create\n"; return new int[cnt](); } void delete_dynamic_array(int * array) { cout<<"\ndelete\n"; delete[] array; } void use_dynamic_array() { const size_t cnt = 25; shar...
16.75
74
0.616205
artgonzalez
ba5f8a218f0bccd99e4c1e7bd2c756dc159d345d
254
cpp
C++
cssmh/hacks/Bunnyhop.cpp
rdbo/cssmh-external
f9c4ba3b735c691cf185670e2f0794643ce0284a
[ "MIT" ]
1
2022-01-06T01:58:18.000Z
2022-01-06T01:58:18.000Z
cssmh/hacks/Bunnyhop.cpp
rdbo/cssmh-external
f9c4ba3b735c691cf185670e2f0794643ce0284a
[ "MIT" ]
null
null
null
cssmh/hacks/Bunnyhop.cpp
rdbo/cssmh-external
f9c4ba3b735c691cf185670e2f0794643ce0284a
[ "MIT" ]
1
2022-01-09T11:28:50.000Z
2022-01-09T11:28:50.000Z
#include <base.hpp> void Hack::Bunnyhop() { if (CSSMH::EnableBunnyhop && CSSMH::KeyBhop.GetKeyState() == KeyInfo::PRESSED && CSSMH::LocalPlayer.flags & FL_ONGROUND) Memory::WriteMemory<int32_t>(CSSMH::GameOverlay->target_pid, CSSMH::InJumpBtn, 6); }
31.75
121
0.728346
rdbo
ba61ade0e01c16df3100554d68ef1543c1727e85
2,505
cpp
C++
Model Loader/Mesh.cpp
jreverett/Model-Loader
215d6a2c60e1c933b7fa7527d1aa07bf2c84e01d
[ "MIT" ]
null
null
null
Model Loader/Mesh.cpp
jreverett/Model-Loader
215d6a2c60e1c933b7fa7527d1aa07bf2c84e01d
[ "MIT" ]
null
null
null
Model Loader/Mesh.cpp
jreverett/Model-Loader
215d6a2c60e1c933b7fa7527d1aa07bf2c84e01d
[ "MIT" ]
null
null
null
#include "Mesh.h" Mesh::Mesh() { } void Mesh::draw(Shader shader) { unsigned int diffueNr = 1; unsigned int specularNr = 1; unsigned int normalNr = 1; unsigned int heightNr = 1; shader.use(); for (unsigned int i = 0; i < textures.size(); i++) { glActiveTexture(GL_TEXTURE0 + i); // get texture number (d...
26.935484
114
0.707385
jreverett
ba61c2708be97fa2ca5a0ccab871956871ffde91
1,480
cpp
C++
TAO/docs/tutorials/Quoter/Event_Service/client.cpp
cflowe/ACE
5ff60b41adbe1772372d1a43bcc1f2726ff8f810
[ "DOC" ]
36
2015-01-10T07:27:33.000Z
2022-03-07T03:32:08.000Z
TAO/docs/tutorials/Quoter/Event_Service/client.cpp
cflowe/ACE
5ff60b41adbe1772372d1a43bcc1f2726ff8f810
[ "DOC" ]
2
2018-08-13T07:30:51.000Z
2019-02-25T03:04:31.000Z
TAO/docs/tutorials/Quoter/Event_Service/client.cpp
cflowe/ACE
5ff60b41adbe1772372d1a43bcc1f2726ff8f810
[ "DOC" ]
38
2015-01-08T14:12:06.000Z
2022-01-19T08:33:00.000Z
// // $Id: client.cpp 82168 2008-06-25 11:50:02Z sma $ // #include "Stock_Consumer.h" #include <orbsvcs/CosNamingC.h> #include "ace/streams.h" int ACE_TMAIN (int argc, ACE_TCHAR* argv[]) { try { // First initialize the ORB, that will remove some arguments... CORBA::ORB_var orb = CORBA::ORB_init (argc,...
27.407407
70
0.675
cflowe
ba624c7320ac8a71c23184392b9bb977a0b782f5
1,043
hpp
C++
stan/math/fwd/mat/functor/jacobian.hpp
jrmie/math
2850ec262181075a5843968e805dc9ad1654e069
[ "BSD-3-Clause" ]
null
null
null
stan/math/fwd/mat/functor/jacobian.hpp
jrmie/math
2850ec262181075a5843968e805dc9ad1654e069
[ "BSD-3-Clause" ]
null
null
null
stan/math/fwd/mat/functor/jacobian.hpp
jrmie/math
2850ec262181075a5843968e805dc9ad1654e069
[ "BSD-3-Clause" ]
null
null
null
#ifndef STAN_MATH_FWD_MAT_FUNCTOR_JACOBIAN_HPP #define STAN_MATH_FWD_MAT_FUNCTOR_JACOBIAN_HPP #include <stan/math/fwd/core.hpp> #include <stan/math/prim/mat/fun/Eigen.hpp> #include <vector> namespace stan { namespace math { template <typename T, typename F> void jacobian(const F& f, const Eigen::Matrix<T, Eigen::Dyn...
28.189189
71
0.588686
jrmie
ba63d5af8d663488f681c564a5397a8c4cd44dfc
6,777
hpp
C++
include/GlobalNamespace/StandardScoreSyncStateDeltaNetSerializable.hpp
darknight1050/BeatSaber-Quest-Codegen
a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032
[ "Unlicense" ]
null
null
null
include/GlobalNamespace/StandardScoreSyncStateDeltaNetSerializable.hpp
darknight1050/BeatSaber-Quest-Codegen
a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032
[ "Unlicense" ]
null
null
null
include/GlobalNamespace/StandardScoreSyncStateDeltaNetSerializable.hpp
darknight1050/BeatSaber-Quest-Codegen
a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032
[ "Unlicense" ]
null
null
null
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" // Including type: LiteNetLib.Utils.INetSerializable #include "LiteNetLib/Utils/INetSeria...
52.130769
262
0.75048
darknight1050
ba63d77a21683a0ee6bf5112e72b18c01dc1195f
4,158
cpp
C++
cpp/core/vec.cpp
equivalence1/ml_lib
92d75ab73bc2d77ba8fa66022c803c06cad66f21
[ "Apache-2.0" ]
1
2019-02-15T09:40:43.000Z
2019-02-15T09:40:43.000Z
cpp/core/vec.cpp
equivalence1/ml_lib
92d75ab73bc2d77ba8fa66022c803c06cad66f21
[ "Apache-2.0" ]
null
null
null
cpp/core/vec.cpp
equivalence1/ml_lib
92d75ab73bc2d77ba8fa66022c803c06cad66f21
[ "Apache-2.0" ]
2
2018-09-29T10:17:26.000Z
2018-10-03T20:33:31.000Z
#include "vec.h" #include "vec_factory.h" #include "torch_helpers.h" #include "matrix.h" void Vec::set(int64_t index, double value) { data().accessor<float, 1>()[index] = value; } double Vec::get(int64_t index) const { return data().accessor<float, 1>()[index]; } int64_t Vec::dim() const { return TorchH...
24.458824
103
0.635642
equivalence1
ba641c95152fa5814889739ed6ab3c2df08195f5
3,728
cpp
C++
lib/Runtime/Language/SimdUint16x8Operation.cpp
satheeshravi/ChakraCore
3bf47ff12bf80ab06fb7ea6925ec7579985ac1f5
[ "MIT" ]
null
null
null
lib/Runtime/Language/SimdUint16x8Operation.cpp
satheeshravi/ChakraCore
3bf47ff12bf80ab06fb7ea6925ec7579985ac1f5
[ "MIT" ]
null
null
null
lib/Runtime/Language/SimdUint16x8Operation.cpp
satheeshravi/ChakraCore
3bf47ff12bf80ab06fb7ea6925ec7579985ac1f5
[ "MIT" ]
null
null
null
//------------------------------------------------------------------------------------------------------- // Copyright (C) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. //---------------------------------------------------------...
28.242424
135
0.525751
satheeshravi
ba6598cb981f5fc18797eb5dc3d25d6a33be6f38
1,509
hpp
C++
pythran/pythonic/numpy/bincount.hpp
Gladiator1977/pythran
5a57c8cb2de71f974d60615be87d030eb61132ac
[ "BSD-3-Clause" ]
1
2018-03-24T00:33:03.000Z
2018-03-24T00:33:03.000Z
pythran/pythonic/numpy/bincount.hpp
Acidburn0zzz/pythran
6dae026b60118d3b9ddd83775d3c57768a0865e5
[ "BSD-3-Clause" ]
null
null
null
pythran/pythonic/numpy/bincount.hpp
Acidburn0zzz/pythran
6dae026b60118d3b9ddd83775d3c57768a0865e5
[ "BSD-3-Clause" ]
null
null
null
#ifndef PYTHONIC_NUMPY_BINCOUNT_HPP #define PYTHONIC_NUMPY_BINCOUNT_HPP #include "pythonic/include/numpy/bincount.hpp" #include "pythonic/numpy/max.hpp" PYTHONIC_NS_BEGIN namespace numpy { template <class T, size_t N> types::ndarray<long, 1> bincount(types::ndarray<T, N> const &expr, ...
29.019231
76
0.595096
Gladiator1977
ba66b30d0f34a6176ea9e0f5e6883965cfb2597b
16,317
cc
C++
content/browser/service_worker/link_header_support_unittest.cc
google-ar/chromium
2441c86a5fd975f09a6c30cddb57dfb7fc239699
[ "Apache-2.0", "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
777
2017-08-29T15:15:32.000Z
2022-03-21T05:29:41.000Z
content/browser/service_worker/link_header_support_unittest.cc
harrymarkovskiy/WebARonARCore
2441c86a5fd975f09a6c30cddb57dfb7fc239699
[ "Apache-2.0", "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
66
2017-08-30T18:31:18.000Z
2021-08-02T10:59:35.000Z
content/browser/service_worker/link_header_support_unittest.cc
harrymarkovskiy/WebARonARCore
2441c86a5fd975f09a6c30cddb57dfb7fc239699
[ "Apache-2.0", "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
123
2017-08-30T01:19:34.000Z
2022-03-17T22:55:31.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 "content/browser/service_worker/link_header_support.h" #include "base/command_line.h" #include "base/logging.h" #include "base/run_loop.h" #incl...
41.625
80
0.732181
google-ar
ba67796a87e464ca63d3bc2191490ac11095afa5
36,378
cc
C++
chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.cc
google-ar/chromium
2441c86a5fd975f09a6c30cddb57dfb7fc239699
[ "Apache-2.0", "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
777
2017-08-29T15:15:32.000Z
2022-03-21T05:29:41.000Z
chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.cc
harrymarkovskiy/WebARonARCore
2441c86a5fd975f09a6c30cddb57dfb7fc239699
[ "Apache-2.0", "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
66
2017-08-30T18:31:18.000Z
2021-08-02T10:59:35.000Z
chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.cc
harrymarkovskiy/WebARonARCore
2441c86a5fd975f09a6c30cddb57dfb7fc239699
[ "Apache-2.0", "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
123
2017-08-30T01:19:34.000Z
2022-03-17T22:55:31.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 "chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.h" #include "ash/common/system/chromeos/devicetype_utils.h" #include "base/bind.h" #...
37.272541
80
0.727445
google-ar
ba679429b018b631f4df61aa6f74a0f16e8ca04c
836
hpp
C++
include/tinycoro/io/EpollAsyncAutoResetEvent.hpp
asmei1/tinycoro
5b6d3dc9412c8c9e369f652707894a586a8bd9a8
[ "MIT" ]
7
2020-12-21T02:16:33.000Z
2022-03-18T23:57:05.000Z
include/tinycoro/io/EpollAsyncAutoResetEvent.hpp
asmei1/tinycoro
5b6d3dc9412c8c9e369f652707894a586a8bd9a8
[ "MIT" ]
null
null
null
include/tinycoro/io/EpollAsyncAutoResetEvent.hpp
asmei1/tinycoro
5b6d3dc9412c8c9e369f652707894a586a8bd9a8
[ "MIT" ]
null
null
null
// // Created by Asmei on 12/2/2020. // #ifndef TINYCORO_IOEVENT_H #define TINYCORO_IOEVENT_H #include <coroutine> #include <utility> #include "IOOperation.hpp" namespace tinycoro::io { /* * A simple class with set and auto clear mechanism, that allow to wait one thread * until an event is signalled by...
22.594595
86
0.674641
asmei1
ba6a4c86329910c6de143df224b6c5af5f979ac1
491
cpp
C++
DaedalicTestAutomationPlugin/Source/DaedalicTestAutomationPlugin/Private/DaeTestResult.cpp
DeadMonkeyEntertaiment/ue4-test-automation
d5ba1e22c52bdabdd331766f9272dfc1d4b20962
[ "MIT" ]
617
2017-04-16T13:34:20.000Z
2022-03-31T23:43:47.000Z
DaedalicTestAutomationPlugin/Source/DaedalicTestAutomationPlugin/Private/DaeTestResult.cpp
DeadMonkeyEntertaiment/ue4-test-automation
d5ba1e22c52bdabdd331766f9272dfc1d4b20962
[ "MIT" ]
178
2017-04-05T19:30:21.000Z
2022-03-11T05:44:03.000Z
DaedalicTestAutomationPlugin/Source/DaedalicTestAutomationPlugin/Private/DaeTestResult.cpp
DeadMonkeyEntertaiment/ue4-test-automation
d5ba1e22c52bdabdd331766f9272dfc1d4b20962
[ "MIT" ]
147
2017-06-27T08:35:09.000Z
2022-03-28T03:06:17.000Z
#include "DaeTestResult.h" FDaeTestResult::FDaeTestResult() : FDaeTestResult(FString(), 0.0f) { } FDaeTestResult::FDaeTestResult(FString InTestName, float InTimeSeconds) : TestName(InTestName) , TimeSeconds(InTimeSeconds) { } bool FDaeTestResult::WasSuccessful() const { return !HasFailed() && !WasSki...
17.535714
71
0.720978
DeadMonkeyEntertaiment
ba6b48d6e66b48b54e44949bc3a01e61263fd7e9
13,312
cpp
C++
core/shielded.cpp
fakecoinbase/BeamMWslashbeam
5ff290e1f0e7b063265fbfdd0e60b5ad4938221e
[ "Apache-2.0" ]
1
2020-11-05T08:03:54.000Z
2020-11-05T08:03:54.000Z
core/shielded.cpp
fakecoinbase/BeamMWslashbeam
5ff290e1f0e7b063265fbfdd0e60b5ad4938221e
[ "Apache-2.0" ]
null
null
null
core/shielded.cpp
fakecoinbase/BeamMWslashbeam
5ff290e1f0e7b063265fbfdd0e60b5ad4938221e
[ "Apache-2.0" ]
null
null
null
// Copyright 2018 The Beam Team // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in...
25.116981
157
0.668119
fakecoinbase
ba6cf992572b43add1960a145e19ec3d8cf3cdff
41,588
cpp
C++
DESERT_Framework/DESERT/data_link/uwsr/uwsr.cpp
zhiweita/desert
2c40c5a6f5c4dd3f6c1108162056d96f21fc151f
[ "BSD-3-Clause" ]
7
2020-04-14T19:38:20.000Z
2022-01-14T08:06:10.000Z
DESERT_Framework/DESERT/data_link/uwsr/uwsr.cpp
zhiweita/desert
2c40c5a6f5c4dd3f6c1108162056d96f21fc151f
[ "BSD-3-Clause" ]
1
2021-07-10T04:05:04.000Z
2021-07-12T13:57:24.000Z
DESERT_Framework/DESERT/data_link/uwsr/uwsr.cpp
zhiweita/desert
2c40c5a6f5c4dd3f6c1108162056d96f21fc151f
[ "BSD-3-Clause" ]
5
2020-05-07T13:07:26.000Z
2022-01-14T03:01:09.000Z
// // Copyright (c) 2017 Regents of the SIGNET lab, University of Padova. // 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 copyrigh...
25.751084
78
0.665745
zhiweita
ba6d21ef23afbac1d73bdfad52a7c9768c827082
5,696
cc
C++
astrobee/simulation/gazebo/src/gazebo_sensor_plugin_wifi_transmitter/gazebo_sensor_plugin_wifi_transmitter.cc
oleg-alexandrov/isaac
94996bc1a20fa090336e67b3db5c10a9bb30f0f7
[ "Apache-2.0" ]
19
2021-11-18T19:29:16.000Z
2022-02-23T01:55:51.000Z
astrobee/simulation/gazebo/src/gazebo_sensor_plugin_wifi_transmitter/gazebo_sensor_plugin_wifi_transmitter.cc
oleg-alexandrov/isaac
94996bc1a20fa090336e67b3db5c10a9bb30f0f7
[ "Apache-2.0" ]
13
2021-11-30T17:14:46.000Z
2022-03-22T21:38:33.000Z
astrobee/simulation/gazebo/src/gazebo_sensor_plugin_wifi_transmitter/gazebo_sensor_plugin_wifi_transmitter.cc
oleg-alexandrov/isaac
94996bc1a20fa090336e67b3db5c10a9bb30f0f7
[ "Apache-2.0" ]
6
2021-12-03T02:38:21.000Z
2022-02-23T01:52:03.000Z
/* Copyright (c) 2021, United States Government, as represented by the * Administrator of the National Aeronautics and Space Administration. * * All rights reserved. * * The "ISAAC - Integrated System for Autonomous and Adaptive Caretaking * platform" software is licensed under the Apache License, Version 2.0 * ...
31.296703
102
0.655197
oleg-alexandrov
ba6d6547dc1ea2a642483bc12c92841c6219b338
10,139
cpp
C++
src/ompl/geometric/src/GeneticSearch.cpp
ivaROS/ivaOmplCore
3f5f47bb8f20c5eb82e84564342dd45f39d0c5f9
[ "BSD-3-Clause" ]
2
2018-08-10T18:11:35.000Z
2021-04-06T00:33:13.000Z
src/ompl/geometric/src/GeneticSearch.cpp
ivaROS/ivaOmplCore
3f5f47bb8f20c5eb82e84564342dd45f39d0c5f9
[ "BSD-3-Clause" ]
null
null
null
src/ompl/geometric/src/GeneticSearch.cpp
ivaROS/ivaOmplCore
3f5f47bb8f20c5eb82e84564342dd45f39d0c5f9
[ "BSD-3-Clause" ]
2
2020-04-16T14:01:10.000Z
2021-08-20T09:46:59.000Z
/********************************************************************* * Software License Agreement (BSD License) * * Copyright (c) 2008, Willow Garage, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following condit...
34.722603
154
0.527271
ivaROS
ba6e98b0643febbef65ac30b6dcbe7b173e91508
3,657
cpp
C++
jerome/xml/record_writer.cpp
leuski-ict/jerome
6141a21c50903e98a04c79899164e7d0e82fe1c2
[ "Apache-2.0" ]
3
2018-06-11T10:48:54.000Z
2021-05-30T07:10:15.000Z
jerome/xml/record_writer.cpp
leuski-ict/jerome
6141a21c50903e98a04c79899164e7d0e82fe1c2
[ "Apache-2.0" ]
null
null
null
jerome/xml/record_writer.cpp
leuski-ict/jerome
6141a21c50903e98a04c79899164e7d0e82fe1c2
[ "Apache-2.0" ]
null
null
null
// // record_writer.cpp // // Created by Anton Leuski on 8/31/15. // Copyright (c) 2015 Anton Leuski & ICT/USC. All rights reserved. // // This file is part of Jerome. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You ...
30.991525
94
0.591742
leuski-ict
ba6efdb490e36cace6d88e9e5a892e15d3a83340
502
cpp
C++
UnitTest/Windows/UnitTest_CommonFunc/main.cpp
LalaChen/SDEngine
ae5931308ae8b02f4237a1e26ef8448f773f9b7a
[ "MIT" ]
null
null
null
UnitTest/Windows/UnitTest_CommonFunc/main.cpp
LalaChen/SDEngine
ae5931308ae8b02f4237a1e26ef8448f773f9b7a
[ "MIT" ]
null
null
null
UnitTest/Windows/UnitTest_CommonFunc/main.cpp
LalaChen/SDEngine
ae5931308ae8b02f4237a1e26ef8448f773f9b7a
[ "MIT" ]
null
null
null
#include <iostream> #include "SDEngineCommonFunction.h" using namespace SDE::Basic; int main(int argc, char **argv) { std::cout << "SDEngine Common Func Unit Test" << std::endl; //1. String Format. { int six = 666666; std::string result; result = StringFormat("Test six = %d and ...
25.1
136
0.577689
LalaChen
ba7212bea770998dada141e24217d16936a53ac1
10,450
cpp
C++
compiler/src/iree/compiler/Dialect/Util/Transforms/FuseGlobals.cpp
anthonycanino/iree
be167a62f8872597eac1b72e26b4c62e291bfd5c
[ "Apache-2.0" ]
1
2022-02-12T17:56:47.000Z
2022-02-12T17:56:47.000Z
compiler/src/iree/compiler/Dialect/Util/Transforms/FuseGlobals.cpp
okkwon/iree
e32cc76952d37a14f73c8a7da889edf47fcc2fce
[ "Apache-2.0" ]
1
2022-01-27T18:10:51.000Z
2022-01-27T18:10:51.000Z
compiler/src/iree/compiler/Dialect/Util/Transforms/FuseGlobals.cpp
okkwon/iree
e32cc76952d37a14f73c8a7da889edf47fcc2fce
[ "Apache-2.0" ]
null
null
null
// Copyright 2021 The IREE Authors // // Licensed 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 #include <algorithm> #include <iterator> #include "iree/compiler/Dialect/Util/IR/UtilDialect.h" ...
36.284722
80
0.637225
anthonycanino
ba75ce2a9b52c960685bdd67adae1e11deaa1183
7,170
cpp
C++
libcxx/test/std/iterators/iterator.requirements/iterator.concepts/iterator.concept.random.access/contiguous_iterator.compile.pass.cpp
mkinsner/llvm
589d48844edb12cd357b3024248b93d64b6760bf
[ "Apache-2.0" ]
2,338
2018-06-19T17:34:51.000Z
2022-03-31T11:00:37.000Z
libcxx/test/std/iterators/iterator.requirements/iterator.concepts/iterator.concept.random.access/contiguous_iterator.compile.pass.cpp
mkinsner/llvm
589d48844edb12cd357b3024248b93d64b6760bf
[ "Apache-2.0" ]
3,740
2019-01-23T15:36:48.000Z
2022-03-31T22:01:13.000Z
libcxx/test/std/iterators/iterator.requirements/iterator.concepts/iterator.concept.random.access/contiguous_iterator.compile.pass.cpp
mkinsner/llvm
589d48844edb12cd357b3024248b93d64b6760bf
[ "Apache-2.0" ]
500
2019-01-23T07:49:22.000Z
2022-03-30T02:59:37.000Z
//===----------------------------------------------------------------------===// // // 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.820755
80
0.658438
mkinsner
ba77ba2419c1db41e35c9cbf061c16a9a8c8c053
2,864
cpp
C++
testfizz.cpp
atishbits/101
4b4a8e56d82fe2706f065ded7877deebe8f6164f
[ "MIT" ]
null
null
null
testfizz.cpp
atishbits/101
4b4a8e56d82fe2706f065ded7877deebe8f6164f
[ "MIT" ]
null
null
null
testfizz.cpp
atishbits/101
4b4a8e56d82fe2706f065ded7877deebe8f6164f
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> using namespace std; void patternStartEnd(const vector<string>& input, int i=3) { bool done = false; bool anymatch = false; int pos = 0; string curr; int start; while (!done) { if(i%3 == 0 && i%5 == 0) { curr = "fizzbuzz"; //TODO: the if/else b...
30.468085
78
0.350908
atishbits
ba787e1c50fe0d067b096fb11f0ef9f8e79384e8
1,443
cpp
C++
Seminario1/src/ejemplo06.cpp
danidiaz1/Sistemas-Concurrentes-y-Distribuidos-UGR-2017-2018
c8177eff794e1f1c169374c1867d64251fa21abb
[ "MIT" ]
1
2017-12-25T20:15:08.000Z
2017-12-25T20:15:08.000Z
Seminario1/src/ejemplo06.cpp
danidiaz1/Sistemas-Concurrentes-y-Distribuidos-UGR-2017-2018
c8177eff794e1f1c169374c1867d64251fa21abb
[ "MIT" ]
null
null
null
Seminario1/src/ejemplo06.cpp
danidiaz1/Sistemas-Concurrentes-y-Distribuidos-UGR-2017-2018
c8177eff794e1f1c169374c1867d64251fa21abb
[ "MIT" ]
null
null
null
// ----------------------------------------------------------------------------- // Sistemas concurrentes y Distribuidos. // Seminario 1. Programación Multihebra y Semáforos. // // Ejemplo 6 (ejemplo6.cpp) // Creación de hebras idénticas con distintos valores de los parámetros. // (usando un vector de variables 'thread...
37
94
0.581428
danidiaz1
ba78a5c0b9d4f4c5c183a2066482d4b3fab048c7
3,713
hpp
C++
npy/NCSGList.hpp
hanswenzel/opticks
b75b5929b6cf36a5eedeffb3031af2920f75f9f0
[ "Apache-2.0" ]
11
2020-07-05T02:39:32.000Z
2022-03-20T18:52:44.000Z
npy/NCSGList.hpp
hanswenzel/opticks
b75b5929b6cf36a5eedeffb3031af2920f75f9f0
[ "Apache-2.0" ]
null
null
null
npy/NCSGList.hpp
hanswenzel/opticks
b75b5929b6cf36a5eedeffb3031af2920f75f9f0
[ "Apache-2.0" ]
4
2020-09-03T20:36:32.000Z
2022-01-19T07:42:21.000Z
/* * Copyright (c) 2019 Opticks Team. All Rights Reserved. * * This file is part of Opticks * (see https://bitbucket.org/simoncblyth/opticks). * * 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 ...
30.68595
98
0.592513
hanswenzel
ba78d57702ca4a332cb585f7b24da31f39596dbf
6,438
cpp
C++
Unix/samples/Providers/PersonProviderCXX/TestEmbeddedOperations_Class_Provider.cpp
Beguiled/omi
1c824681ee86f32314f430db972e5d3938f10fd4
[ "MIT" ]
165
2016-08-18T22:06:39.000Z
2019-05-05T11:09:37.000Z
Unix/samples/Providers/PersonProviderCXX/TestEmbeddedOperations_Class_Provider.cpp
snchennapragada/omi
4fa565207d3445d1f44bfc7b890f9ea5ea7b41d0
[ "MIT" ]
409
2016-08-18T20:52:56.000Z
2019-05-06T10:03:11.000Z
Unix/samples/Providers/PersonProviderCXX/TestEmbeddedOperations_Class_Provider.cpp
snchennapragada/omi
4fa565207d3445d1f44bfc7b890f9ea5ea7b41d0
[ "MIT" ]
72
2016-08-23T02:30:08.000Z
2019-04-30T22:57:03.000Z
/* **============================================================================== ** ** Copyright (c) Microsoft Corporation. All rights reserved. See file LICENSE ** for license information. ** **============================================================================== */ /* @migen@ */ #include <MI.h> #include ...
27.279661
134
0.691364
Beguiled
ba78eeb6d4b80fe8390bc7c96e8d87a9a5e2e773
2,812
cpp
C++
SysLib/Network/Files/Link_Detail_File.cpp
kravitz/transims4
ea0848bf3dc71440d54724bb3ecba3947b982215
[ "NASA-1.3" ]
2
2018-04-27T11:07:02.000Z
2020-04-24T06:53:21.000Z
SysLib/Network/Files/Link_Detail_File.cpp
idkravitz/transims4
ea0848bf3dc71440d54724bb3ecba3947b982215
[ "NASA-1.3" ]
null
null
null
SysLib/Network/Files/Link_Detail_File.cpp
idkravitz/transims4
ea0848bf3dc71440d54724bb3ecba3947b982215
[ "NASA-1.3" ]
null
null
null
//********************************************************* // Link_Detail_File.cpp - Link Detail File Input/Output //********************************************************* #include "Link_Detail_File.hpp" //----------------------------------------------------------- // Link_Detail_File constructors //------------...
28.989691
111
0.515292
kravitz
ba7a4ee459664c9059fd4c216a900a73b6bc47fe
413,266
cpp
C++
sourceCode/dotNet4.6/vb/language/compiler/binder/bindable.cpp
csoap/csoap.github.io
2a8db44eb63425deff147652b65c5912f065334e
[ "Apache-2.0" ]
5
2017-03-03T02:13:16.000Z
2021-08-18T09:59:56.000Z
sourceCode/dotNet4.6/vb/language/compiler/binder/bindable.cpp
295007712/295007712.github.io
25241dbf774427545c3ece6534be6667848a6faf
[ "Apache-2.0" ]
null
null
null
sourceCode/dotNet4.6/vb/language/compiler/binder/bindable.cpp
295007712/295007712.github.io
25241dbf774427545c3ece6534be6667848a6faf
[ "Apache-2.0" ]
4
2016-11-15T05:20:12.000Z
2021-11-13T16:32:11.000Z
//------------------------------------------------------------------------------------------------- // // Copyright (c) Microsoft Corporation. All rights reserved. // // Does the work to move a module from Declared state to Bindable state. // //------------------------------------------------------------------------...
35.654042
298
0.601083
csoap
ba7d13d7f8833a7d330c7f911a235c87264ce10b
8,825
cpp
C++
GRT/PreProcessingModules/WeightedAverageFilter.cpp
torydebra/grt
6c3fe9e5ab470d840b1c3e613ee0356d209eef7b
[ "MIT", "Unlicense" ]
818
2015-01-03T05:21:04.000Z
2022-03-30T00:43:09.000Z
GRT/PreProcessingModules/WeightedAverageFilter.cpp
torydebra/grt
6c3fe9e5ab470d840b1c3e613ee0356d209eef7b
[ "MIT", "Unlicense" ]
131
2015-01-26T08:50:57.000Z
2022-01-12T07:51:53.000Z
GRT/PreProcessingModules/WeightedAverageFilter.cpp
torydebra/grt
6c3fe9e5ab470d840b1c3e613ee0356d209eef7b
[ "MIT", "Unlicense" ]
301
2015-01-15T12:36:54.000Z
2022-03-14T20:12:10.000Z
/* GRT MIT License Copyright (c) <2012> <Nicholas Gillian, Media Lab, MIT> 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...
33.42803
210
0.663116
torydebra
ba7dfb91ad45e3637a3bbe86c2ca62a787ec2037
1,147
cpp
C++
app/src/main/jni/game/render/font_android.cpp
zork/tictactoe
0baa883e12c43e8d9bde2b54ec3265f5d65d444d
[ "MIT" ]
6
2018-05-08T22:28:29.000Z
2020-08-13T17:06:00.000Z
app/src/main/jni/game/render/font_android.cpp
zork/tictactoe
0baa883e12c43e8d9bde2b54ec3265f5d65d444d
[ "MIT" ]
null
null
null
app/src/main/jni/game/render/font_android.cpp
zork/tictactoe
0baa883e12c43e8d9bde2b54ec3265f5d65d444d
[ "MIT" ]
1
2020-08-13T17:06:38.000Z
2020-08-13T17:06:38.000Z
//// // font_android.cpp //// #include "game/render/font.h" #include "base/image/bitmap.h" #include "platform/android/android.h" namespace font { void DrawText(Bitmap* image, const std::string& text, int font_size, float color[], ui::View::HAlign halign, ...
27.97561
78
0.655623
zork
ba7efd6734b747a9b4b67cea18dad0bf5bbb324d
18,120
cxx
C++
weighters/weight_fsi_cai.cxx
MinervaExpt/MAT-MINERvA
a142702563260d8f21c1dbd7b739364823ad38e7
[ "MIT" ]
null
null
null
weighters/weight_fsi_cai.cxx
MinervaExpt/MAT-MINERvA
a142702563260d8f21c1dbd7b739364823ad38e7
[ "MIT" ]
4
2021-08-31T17:17:12.000Z
2021-10-29T19:41:39.000Z
weighters/weight_fsi_cai.cxx
MinervaExpt/MAT-MINERvA
a142702563260d8f21c1dbd7b739364823ad38e7
[ "MIT" ]
null
null
null
#include "weighters/weight_fsi_cai.h" using namespace PlotUtils; void weight_fsi_cai::read(const TString f) //Read in the params doubles from a file //argument: valid filename { if(f!="") { fFSIWeight = TFile::Open(f,"READONLY"); if (fFSIWeight){ hElaFSIWeight = (TH1D*) fFSIWeight->Get("weight_...
39.220779
319
0.611038
MinervaExpt
ba83f6018e7b70015dd43c5e9df4ad06d27180cc
285
hpp
C++
src/arch/arm/handlers.hpp
qookei/tart
e039f9c493560f306904793ac9143810aabbf68e
[ "Zlib" ]
11
2020-06-20T19:05:08.000Z
2021-04-07T17:49:18.000Z
src/arch/arm/handlers.hpp
qookei/tart
e039f9c493560f306904793ac9143810aabbf68e
[ "Zlib" ]
null
null
null
src/arch/arm/handlers.hpp
qookei/tart
e039f9c493560f306904793ac9143810aabbf68e
[ "Zlib" ]
null
null
null
#pragma once #include <stddef.h> namespace tart { void nmi(void *ctx); void hard_fault(void *ctx); void mm_fault(void *ctx); void bus_fault(void *ctx); void usage_fault(void *ctx); void sv_call(void *ctx); void pend_sv_call(void *ctx); void systick(void *ctx); } // namespace tart
16.764706
29
0.719298
qookei
ba89a99c8d786641e52bdbe416b80d1d1744a35b
3,348
cpp
C++
test/BenchTimer.cpp
cnsuhao/timerqueue-benchmark
3aecfcff1befc2fea18c9a11e8680b8dcb50c097
[ "Apache-2.0" ]
null
null
null
test/BenchTimer.cpp
cnsuhao/timerqueue-benchmark
3aecfcff1befc2fea18c9a11e8680b8dcb50c097
[ "Apache-2.0" ]
null
null
null
test/BenchTimer.cpp
cnsuhao/timerqueue-benchmark
3aecfcff1befc2fea18c9a11e8680b8dcb50c097
[ "Apache-2.0" ]
1
2020-07-25T03:24:08.000Z
2020-07-25T03:24:08.000Z
// Copyright (C) 2018 ichenq@outlook.com. All rights reserved. // Distributed under the terms and conditions of the Apache License. // See accompanying files LICENSE. #include "Benchmark.h" #include <algorithm> #include "PQTimer.h" #include "TreeTimer.h" #include "WheelTimer.h" #include "Clock.h" const int MaxN = 5...
17.081633
74
0.614397
cnsuhao
ba8ab5c45c5e09f857e806ed423260c2c21c6318
6,761
cpp
C++
src/ossim/support_data/ossimQuickbirdRpcHeader.cpp
rkanavath/ossim18
d2e8204d11559a6a868755a490f2ec155407fa96
[ "MIT" ]
null
null
null
src/ossim/support_data/ossimQuickbirdRpcHeader.cpp
rkanavath/ossim18
d2e8204d11559a6a868755a490f2ec155407fa96
[ "MIT" ]
null
null
null
src/ossim/support_data/ossimQuickbirdRpcHeader.cpp
rkanavath/ossim18
d2e8204d11559a6a868755a490f2ec155407fa96
[ "MIT" ]
1
2019-09-25T00:43:35.000Z
2019-09-25T00:43:35.000Z
//---------------------------------------------------------------------------- // // License: MIT // // See LICENSE.txt file in the top level directory for more details. // //---------------------------------------------------------------------------- // $Id: ossimQuickbirdRpcHeader.cpp 23664 2015-12-14 14:17:27Z dbur...
27.262097
78
0.539861
rkanavath
ba8b042eec65c229f27f5fd441462370f5c51003
10,157
cpp
C++
projects/abuild/cache/test/tokens_test.cpp
agnesoft/adev-alt
3df0329939e3048bbf5db252efb5f74de9c0f061
[ "Apache-2.0" ]
null
null
null
projects/abuild/cache/test/tokens_test.cpp
agnesoft/adev-alt
3df0329939e3048bbf5db252efb5f74de9c0f061
[ "Apache-2.0" ]
null
null
null
projects/abuild/cache/test/tokens_test.cpp
agnesoft/adev-alt
3df0329939e3048bbf5db252efb5f74de9c0f061
[ "Apache-2.0" ]
null
null
null
import atest; import abuild.cache; import abuild.test_utilities; using ::atest::assert_; using ::atest::expect; using ::atest::suite; using ::atest::test; static const auto S = suite("Tokens", [] { // NOLINT(cert-err58-cpp) test("Token - IfToken", [] { const ::abuild::TestFile testFile{"./abuild.cache_tes...
38.473485
131
0.584031
agnesoft
ba8b111c79d9f0b99e0ee093dfc07cef63f3d493
163
cpp
C++
CodeFights/leapYear.cpp
AREA44/competitive-programming
00cede478685bf337193bce4804f13c4ff170903
[ "MIT" ]
null
null
null
CodeFights/leapYear.cpp
AREA44/competitive-programming
00cede478685bf337193bce4804f13c4ff170903
[ "MIT" ]
null
null
null
CodeFights/leapYear.cpp
AREA44/competitive-programming
00cede478685bf337193bce4804f13c4ff170903
[ "MIT" ]
null
null
null
// Determine if a given year is leap or not. bool leapYear(int year) { if ( year%4==0 && year%100!=0 || year%400==0 ) { return true; } return false; }
16.3
50
0.588957
AREA44
ba8b5f3beba54b180a0fb01e68eda13eb958243a
3,156
hpp
C++
include/termox/widget/widgets/detail/textbox_base.hpp
a-n-t-h-o-n-y/MCurses
c9184a0fefbdc4eb9a044f815ee2270e6b8f202c
[ "MIT" ]
284
2017-11-07T10:06:48.000Z
2021-01-12T15:32:51.000Z
include/termox/widget/widgets/detail/textbox_base.hpp
a-n-t-h-o-n-y/MCurses
c9184a0fefbdc4eb9a044f815ee2270e6b8f202c
[ "MIT" ]
38
2018-01-14T12:34:54.000Z
2020-09-26T15:32:43.000Z
include/termox/widget/widgets/detail/textbox_base.hpp
a-n-t-h-o-n-y/MCurses
c9184a0fefbdc4eb9a044f815ee2270e6b8f202c
[ "MIT" ]
31
2017-11-30T11:22:21.000Z
2020-11-03T05:27:47.000Z
#ifndef TERMOX_WIDGET_WIDGETS_DETAIL_TEXTBOX_BASE_HPP #define TERMOX_WIDGET_WIDGETS_DETAIL_TEXTBOX_BASE_HPP #include <cstddef> #include <signals_light/signal.hpp> #include <termox/painter/glyph_string.hpp> #include <termox/widget/point.hpp> #include <termox/widget/widgets/text_view.hpp> namespace ox::detail { /// I...
35.863636
78
0.683777
a-n-t-h-o-n-y
ba8c2ebe7c5f453879acf5d7480d0d5bff5fe401
5,397
hpp
C++
openstudiocore/src/model/ZoneHVACUnitHeater.hpp
hongyuanjia/OpenStudio
6cc52f1b66c069cf13f2b6ca2a0cc3c137c37cf0
[ "MIT" ]
1
2019-04-21T15:38:54.000Z
2019-04-21T15:38:54.000Z
openstudiocore/src/model/ZoneHVACUnitHeater.hpp
hongyuanjia/OpenStudio
6cc52f1b66c069cf13f2b6ca2a0cc3c137c37cf0
[ "MIT" ]
null
null
null
openstudiocore/src/model/ZoneHVACUnitHeater.hpp
hongyuanjia/OpenStudio
6cc52f1b66c069cf13f2b6ca2a0cc3c137c37cf0
[ "MIT" ]
1
2019-07-18T06:52:29.000Z
2019-07-18T06:52:29.000Z
/*********************************************************************************************************************** * OpenStudio(R), Copyright (c) 2008-2018, Alliance for Sustainable Energy, LLC. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are perm...
33.521739
127
0.743191
hongyuanjia
ba8d4dcc4dee82e2709b7db18337a8f1e41931fc
17,344
cpp
C++
tests/unit/discovery/bonjour/test_discovery_bonjour.cpp
rodb70/RDMnet
94d17e1dfda2d1f56b120f6342231c43bf6862b0
[ "Apache-2.0" ]
30
2018-07-16T15:54:19.000Z
2021-11-21T21:17:36.000Z
tests/unit/discovery/bonjour/test_discovery_bonjour.cpp
rodb70/RDMnet
94d17e1dfda2d1f56b120f6342231c43bf6862b0
[ "Apache-2.0" ]
27
2019-04-12T22:45:25.000Z
2021-08-13T15:20:04.000Z
tests/unit/discovery/bonjour/test_discovery_bonjour.cpp
rodb70/RDMnet
94d17e1dfda2d1f56b120f6342231c43bf6862b0
[ "Apache-2.0" ]
12
2019-06-28T19:28:58.000Z
2021-11-17T12:10:44.000Z
/****************************************************************************** * Copyright 2020 ETC 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/l...
40.713615
120
0.718404
rodb70
ba92c975def3746fdae34b3de708f2ecfa990d60
2,361
cpp
C++
src/pbrt/gpu/samples.cpp
meistdan/pbrt-v4
376c58ee77be6cc38790671b18bba239a68a5fe8
[ "Apache-2.0" ]
4
2020-08-24T19:35:00.000Z
2020-10-28T02:16:21.000Z
src/pbrt/gpu/samples.cpp
meistdan/pbrt-v4
376c58ee77be6cc38790671b18bba239a68a5fe8
[ "Apache-2.0" ]
null
null
null
src/pbrt/gpu/samples.cpp
meistdan/pbrt-v4
376c58ee77be6cc38790671b18bba239a68a5fe8
[ "Apache-2.0" ]
1
2020-08-30T14:23:07.000Z
2020-08-30T14:23:07.000Z
// pbrt is Copyright(c) 1998-2020 Matt Pharr, Wenzel Jakob, and Greg Humphreys. // The pbrt source code is licensed under the Apache License, Version 2.0. // SPDX: Apache-2.0 #include <pbrt/pbrt.h> #include <pbrt/gpu/pathintegrator.h> #include <pbrt/samplers.h> #include <type_traits> namespace pbrt { template <typ...
36.323077
80
0.660737
meistdan