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
f5079dc0b5a15d470dcfa4ffe09aa296a1c460b2
1,563
cpp
C++
code/Brain/MarkovBrain/Gate/TritDeterministicGate.cpp
cliff-bohm/Comparitive_Hybrid_Approach_Replication
44afa3ea663bc06eeca0bc272909329d8ffe81ec
[ "MIT" ]
null
null
null
code/Brain/MarkovBrain/Gate/TritDeterministicGate.cpp
cliff-bohm/Comparitive_Hybrid_Approach_Replication
44afa3ea663bc06eeca0bc272909329d8ffe81ec
[ "MIT" ]
null
null
null
code/Brain/MarkovBrain/Gate/TritDeterministicGate.cpp
cliff-bohm/Comparitive_Hybrid_Approach_Replication
44afa3ea663bc06eeca0bc272909329d8ffe81ec
[ "MIT" ]
null
null
null
// MABE is a product of The Hintze Lab @ MSU // for general research information: // hintzelab.msu.edu // for MABE documentation: // github.com/Hintzelab/MABE/wiki // // Copyright (c) 2015 Michigan State University. All rights reserved. // to view the full license, visit: // github...
37.214286
262
0.71785
cliff-bohm
f509caebb3efb4ecd3e9e776cdbce2ad0248a6f8
1,921
hpp
C++
gamess/libqc/rysq/src/cuda/matrix.hpp
andremirt/v_cond
6b5c364d7cd4243686488b2bd4318be3927e07ea
[ "Unlicense" ]
null
null
null
gamess/libqc/rysq/src/cuda/matrix.hpp
andremirt/v_cond
6b5c364d7cd4243686488b2bd4318be3927e07ea
[ "Unlicense" ]
null
null
null
gamess/libqc/rysq/src/cuda/matrix.hpp
andremirt/v_cond
6b5c364d7cd4243686488b2bd4318be3927e07ea
[ "Unlicense" ]
null
null
null
#ifndef _RYSQ_MATRIX_HPP_ #define _RYSQ_MATRIX_HPP_ #include <stdlib.h> #if !defined(__host__) && !defined(__device__) #define __host__ #define __device__ #endif namespace rysq { struct matrix_layout { matrix_layout() {} matrix_layout(size_t size1, size_t size2, size_t ld = 0) : size1(size1),size2(size2...
26.680556
82
0.664237
andremirt
f50a6043320384e34588a0d5f2f10c924d01f67f
648
cpp
C++
BlackVision/LibBlackVision/Source/Engine/Graphics/Shaders/Parameters/ShaderParamMat3.cpp
black-vision-engine/bv-engine
85089d41bb22afeaa9de070646e12aa1777ecedf
[ "MIT" ]
1
2022-01-28T11:43:47.000Z
2022-01-28T11:43:47.000Z
BlackVision/LibBlackVision/Source/Engine/Graphics/Shaders/Parameters/ShaderParamMat3.cpp
black-vision-engine/bv-engine
85089d41bb22afeaa9de070646e12aa1777ecedf
[ "MIT" ]
null
null
null
BlackVision/LibBlackVision/Source/Engine/Graphics/Shaders/Parameters/ShaderParamMat3.cpp
black-vision-engine/bv-engine
85089d41bb22afeaa9de070646e12aa1777ecedf
[ "MIT" ]
null
null
null
#include "stdafx.h" #include "ShaderParamMat3.h" #include "Memory/MemoryLeaks.h" namespace bv { // **************************** // ShaderParamMat3::ShaderParamMat3 ( const std::string & name, const glm::mat3 & value ) : GenericShaderParam( ShaderParamTypeTraits< ValueMat3::Va...
17.513514
102
0.501543
black-vision-engine
f50a93c785c58ac6098a6651290a4b9002dd9b49
1,126
hpp
C++
src/oni.hpp
typingtanuki/chato
61c76bda12d4ef855e3fad06338d94a3f1735971
[ "Apache-2.0" ]
null
null
null
src/oni.hpp
typingtanuki/chato
61c76bda12d4ef855e3fad06338d94a3f1735971
[ "Apache-2.0" ]
null
null
null
src/oni.hpp
typingtanuki/chato
61c76bda12d4ef855e3fad06338d94a3f1735971
[ "Apache-2.0" ]
null
null
null
#include "constants.hpp" #include "light.hpp" #include "motor.hpp" #include "timer.hpp" #include "keypad.hpp" enum OniState { INIT, IDLE, MOVE }; class Oni { private: Light *eye = new Light(DIGITAL_PIN3, 12, 24); Motor *eyeMotor = new Motor(DIGITAL_PIN9); Motor *axeMotor = new Motor(DIGITAL_PI...
18.766667
59
0.668739
typingtanuki
f50c0a94e46967a99ecb3936474a09e047e75c0d
826
cpp
C++
summary-ranges/solution-0.cpp
tsenmu/leetcode
6f6d11dec4e5ee0fbc0c59fd6fa97b2c556e05ee
[ "Apache-2.0" ]
null
null
null
summary-ranges/solution-0.cpp
tsenmu/leetcode
6f6d11dec4e5ee0fbc0c59fd6fa97b2c556e05ee
[ "Apache-2.0" ]
null
null
null
summary-ranges/solution-0.cpp
tsenmu/leetcode
6f6d11dec4e5ee0fbc0c59fd6fa97b2c556e05ee
[ "Apache-2.0" ]
null
null
null
class Solution { protected: string yieldRange(int begin, int end) { if (begin == end) { return to_string(begin); } return to_string(begin) + "->" + to_string(end); } public: vector<string> summaryRanges(vector<int>& nums) { const int n = nums.size(); vector<string> r...
21.179487
55
0.493947
tsenmu
f50c6328dd3f28621e77d38577eff115188dea88
1,119
cpp
C++
Gems/EMotionFX/Code/EMotionFX/Source/MeshDeformer.cpp
aaarsene/o3de
37e3b0226958974defd14dd6d808e8557dcd7345
[ "Apache-2.0", "MIT" ]
1
2021-09-13T00:01:12.000Z
2021-09-13T00:01:12.000Z
Gems/EMotionFX/Code/EMotionFX/Source/MeshDeformer.cpp
aaarsene/o3de
37e3b0226958974defd14dd6d808e8557dcd7345
[ "Apache-2.0", "MIT" ]
null
null
null
Gems/EMotionFX/Code/EMotionFX/Source/MeshDeformer.cpp
aaarsene/o3de
37e3b0226958974defd14dd6d808e8557dcd7345
[ "Apache-2.0", "MIT" ]
1
2021-07-20T11:07:25.000Z
2021-07-20T11:07:25.000Z
/* * Copyright (c) Contributors to the Open 3D Engine Project. For complete copyright and license terms please see the LICENSE at the root of this distribution. * * SPDX-License-Identifier: Apache-2.0 OR MIT * */ // include the required headers #include "MeshDeformer.h" #include <EMotionFX/Source/Allocators.h> ...
20.722222
158
0.649687
aaarsene
f50f03ccfa9b71427ab0430e3de9159602a849f4
423
cpp
C++
tests/testsmain.cpp
k9lego/huestacean
e72b43b66cc3b6b58554fa49ac207ad9f945c3fb
[ "Apache-2.0" ]
540
2018-02-16T15:15:43.000Z
2022-03-01T22:35:18.000Z
tests/testsmain.cpp
k9lego/huestacean
e72b43b66cc3b6b58554fa49ac207ad9f945c3fb
[ "Apache-2.0" ]
153
2018-02-19T13:33:14.000Z
2022-02-26T04:57:10.000Z
tests/testsmain.cpp
k9lego/huestacean
e72b43b66cc3b6b58554fa49ac207ad9f945c3fb
[ "Apache-2.0" ]
66
2018-03-17T10:54:54.000Z
2022-02-16T16:20:46.000Z
#define CATCH_CONFIG_RUNNER #include "catch/catch.hpp" #include <QCoreApplication> int main(int argc, char* argv[]) { QCoreApplication a(argc, argv); QCoreApplication::setOrganizationName("Brady Brenot"); QCoreApplication::setOrganizationDomain("bradybrenot.com"); QCoreApplication::setApplicationName("Huestacea...
22.263158
60
0.751773
k9lego
f50f1174e3844b028bb752ce92df7036d918a0df
4,461
cpp
C++
source/shared/cpp/ObjectModel/ActionParserRegistration.cpp
sivasakthiv/AdaptiveCards
dfa4bfef70c1111e1a5cc8eed90b2f1e8d76f75c
[ "MIT" ]
1
2020-12-07T10:57:38.000Z
2020-12-07T10:57:38.000Z
source/shared/cpp/ObjectModel/ActionParserRegistration.cpp
sivasakthiv/AdaptiveCards
dfa4bfef70c1111e1a5cc8eed90b2f1e8d76f75c
[ "MIT" ]
43
2020-09-04T23:34:16.000Z
2022-02-26T11:36:24.000Z
source/shared/cpp/ObjectModel/ActionParserRegistration.cpp
sivasakthiv/AdaptiveCards
dfa4bfef70c1111e1a5cc8eed90b2f1e8d76f75c
[ "MIT" ]
16
2021-02-10T07:46:07.000Z
2021-11-23T10:22:44.000Z
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #include "pch.h" #include "ActionParserRegistration.h" #include "AdaptiveCardParseException.h" #include "BaseElement.h" #include "OpenUrlAction.h" #include "ShowCardAction.h" #include "SubmitAction.h" #include "ToggleVisibi...
44.61
139
0.702085
sivasakthiv
f5112da53a614a87c972b3056dee8ff3b0850e52
2,957
hpp
C++
include/codegen/include/UnityEngine/EventSystems/OVRPhysicsRaycaster_--c.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
1
2021-11-12T09:29:31.000Z
2021-11-12T09:29:31.000Z
include/codegen/include/UnityEngine/EventSystems/OVRPhysicsRaycaster_--c.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
null
null
null
include/codegen/include/UnityEngine/EventSystems/OVRPhysicsRaycaster_--c.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
2
2021-10-03T02:14:20.000Z
2021-11-12T09:29:36.000Z
// Autogenerated from CppHeaderCreator on 7/27/2020 3:10:06 PM // Created by Sc2ad // ========================================================================= #pragma once #pragma pack(push, 8) // Begin includes #include "utils/typedefs.h" // Including type: System.Object #include "System/Object.hpp" // Including type...
50.118644
132
0.735543
Futuremappermydud
f511311f7559c4372d7dd7dca01bd935d8d911ca
1,069
hpp
C++
lib/inc/facter/facts/windows/dmi_resolver.hpp
whopper/cfacter
f489f62e19a161e2d909199aebd896e323dac0e8
[ "Apache-2.0" ]
null
null
null
lib/inc/facter/facts/windows/dmi_resolver.hpp
whopper/cfacter
f489f62e19a161e2d909199aebd896e323dac0e8
[ "Apache-2.0" ]
null
null
null
lib/inc/facter/facts/windows/dmi_resolver.hpp
whopper/cfacter
f489f62e19a161e2d909199aebd896e323dac0e8
[ "Apache-2.0" ]
null
null
null
/** * @file * Declares the Windows Desktop Management Information (DMI) fact resolver. */ #pragma once #include "../resolvers/dmi_resolver.hpp" #include <facter/util/windows/wmi.hpp> #include <string> #include <memory> namespace facter { namespace facts { namespace windows { /** * Responsible for resolvi...
27.410256
108
0.634238
whopper
f511d895d75af332b9ef48f66861792b00977e63
6,078
hpp
C++
communication/include/communication/CommDefs.hpp
irisk29/concord-bft
daf6a4a156fa2e9107f65de6ec6a26c39cd99796
[ "Apache-2.0" ]
null
null
null
communication/include/communication/CommDefs.hpp
irisk29/concord-bft
daf6a4a156fa2e9107f65de6ec6a26c39cd99796
[ "Apache-2.0" ]
null
null
null
communication/include/communication/CommDefs.hpp
irisk29/concord-bft
daf6a4a156fa2e9107f65de6ec6a26c39cd99796
[ "Apache-2.0" ]
null
null
null
// Concord // // Copyright (c) 2018-2020 VMware, Inc. All Rights Reserved. // // This product is licensed to you under the Apache 2.0 license (the "License"). // You may not use this product except in compliance with the Apache 2.0 License. // // This product may include a number of subcomponents with separate copyrigh...
30.69697
116
0.699737
irisk29
f512db47e285be6ddab66ee5372e8d187e73778a
1,251
hpp
C++
include/pstore/http/http_date.hpp
paulhuggett/pstore2
a0c663d10a2e2713fdf39ecdae1f9c1e96041f5c
[ "Apache-2.0" ]
11
2018-02-02T21:24:49.000Z
2020-12-11T04:06:03.000Z
include/pstore/http/http_date.hpp
SNSystems/pstore
74e9dd960245d6bfc125af03ed964d8ad660a62d
[ "Apache-2.0" ]
63
2018-02-05T17:24:59.000Z
2022-03-22T17:26:28.000Z
include/pstore/http/http_date.hpp
paulhuggett/pstore
067be94d87c87fce524c8d76c6f47c347d8f1853
[ "Apache-2.0" ]
5
2020-01-13T22:47:11.000Z
2021-05-14T09:31:15.000Z
//===- include/pstore/http/http_date.hpp ------------------*- mode: C++ -*-===// //* _ _ _ _ _ * //* | |__ | |_| |_ _ __ __| | __ _| |_ ___ * //* | '_ \| __| __| '_ \ / _` |/ _` | __/ _ \ * //* | | | | |_| |_| |_) | | (_| | (_| | || __/ * //* |_| |_|\__|\__| .__/ \__,_|\__,_|...
35.742857
82
0.489209
paulhuggett
f513e3c60c7f985be18935ddb5faf2b14b497f63
2,379
cpp
C++
python/NpcompModule.cpp
raikonenfnu/mlir-npcomp
29e1b2fe89848d58c9bc07e7df7ce651850a5244
[ "Apache-2.0" ]
null
null
null
python/NpcompModule.cpp
raikonenfnu/mlir-npcomp
29e1b2fe89848d58c9bc07e7df7ce651850a5244
[ "Apache-2.0" ]
null
null
null
python/NpcompModule.cpp
raikonenfnu/mlir-npcomp
29e1b2fe89848d58c9bc07e7df7ce651850a5244
[ "Apache-2.0" ]
null
null
null
//===- NpcompModule.cpp - MLIR Python bindings ----------------------------===// // // 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 // //===---------------------------...
32.148649
80
0.697352
raikonenfnu
f513e4ca1c2b159ea29dd107a50d782fc2c2ca51
7,446
cpp
C++
src/qpsolver/basis.cpp
WTFHCN/HiGHS
6cec473fc821bca0d98517a11691da8b5e1b0e51
[ "MIT" ]
null
null
null
src/qpsolver/basis.cpp
WTFHCN/HiGHS
6cec473fc821bca0d98517a11691da8b5e1b0e51
[ "MIT" ]
null
null
null
src/qpsolver/basis.cpp
WTFHCN/HiGHS
6cec473fc821bca0d98517a11691da8b5e1b0e51
[ "MIT" ]
null
null
null
#include "basis.hpp" #include <cassert> #include <memory> Basis::Basis(Runtime& rt, std::vector<HighsInt> active, std::vector<BasisStatus> lower, std::vector<HighsInt> inactive) : runtime(rt), buffer_column_aq(rt.instance.num_var), buffer_row_ep(rt.instance.num_var) { for (HighsInt i = ...
30.145749
80
0.668278
WTFHCN
f514f43dfc4e379bd2576de01936369eed88d2a8
14,357
hpp
C++
src/3rd party/boost/boost/multi_array/view.hpp
OLR-xray/OLR-3.0
b6a9bb2a0c1fb849b8c6cea2e831e1ceea5cc611
[ "Apache-2.0" ]
8
2016-01-25T20:18:51.000Z
2019-03-06T07:00:04.000Z
src/3rd party/boost/boost/multi_array/view.hpp
OLR-xray/OLR-3.0
b6a9bb2a0c1fb849b8c6cea2e831e1ceea5cc611
[ "Apache-2.0" ]
null
null
null
src/3rd party/boost/boost/multi_array/view.hpp
OLR-xray/OLR-3.0
b6a9bb2a0c1fb849b8c6cea2e831e1ceea5cc611
[ "Apache-2.0" ]
3
2016-02-14T01:20:43.000Z
2021-02-03T11:19:11.000Z
// Copyright (C) 2002 Ronald Garcia // // Permission to copy, use, sell and distribute this software is granted // provided this copyright notice appears in all copies. // Permission to modify the code and to distribute modified code is granted // provided this copyright notice appears in all copies, and a notice // ...
31.415755
82
0.667479
OLR-xray
f51532f2627acb7402af27d8983ef8707db01a97
1,689
cpp
C++
src/service/ClockService.cpp
NoUITeam/TinyAndPretty
06cb20f1a2381fc2196674255a00fcba416ce830
[ "Apache-2.0" ]
null
null
null
src/service/ClockService.cpp
NoUITeam/TinyAndPretty
06cb20f1a2381fc2196674255a00fcba416ce830
[ "Apache-2.0" ]
null
null
null
src/service/ClockService.cpp
NoUITeam/TinyAndPretty
06cb20f1a2381fc2196674255a00fcba416ce830
[ "Apache-2.0" ]
2
2022-03-10T18:14:02.000Z
2022-03-14T15:39:59.000Z
#include <service/ClockSys.h> using namespace UTILSTD; def_HttpEntry(API_Clock , req) { Json j; // used for response std::string_view action { req.queryParam("action") }; CONSOLE_LOG(true,"* api/clock called [action:%s]\n",action.data()); /* Start listening server broadcast Notification */ if (action == "c") {...
25.984615
68
0.6045
NoUITeam
f515367635491b966b97ec0d962ca8fc70091f36
31,374
cc
C++
mindspore/ccsrc/ir/func_graph.cc
TommyLike/mindspore
401dabb786a9097d6dd84f391657d266b04e9a37
[ "Apache-2.0" ]
1
2020-05-23T07:08:46.000Z
2020-05-23T07:08:46.000Z
mindspore/ccsrc/ir/func_graph.cc
liyong126/mindspore
930a1fb0a8fa9432025442c4f4732058bb7af592
[ "Apache-2.0" ]
7
2020-03-30T08:31:56.000Z
2020-04-01T09:54:39.000Z
mindspore/ccsrc/ir/func_graph.cc
liyong126/mindspore
930a1fb0a8fa9432025442c4f4732058bb7af592
[ "Apache-2.0" ]
1
2020-03-30T17:07:43.000Z
2020-03-30T17:07:43.000Z
/** * This is the C++ adaptation and derivative work of Myia (https://github.com/mila-iqia/myia/). * * Copyright 2019 Huawei Technologies Co., Ltd * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the ...
37.041322
120
0.671384
TommyLike
f5168440a7bd50be36b6b0bbf912797204c8893a
5,934
hpp
C++
Source/AllProjects/CQCVoice/CQCVoice_BTSimpleCmdNodes.hpp
MarkStega/CQC
c1d0e01ec2abcaa5b8eb1899b9f0522fecee4b07
[ "MIT" ]
51
2020-12-26T18:17:16.000Z
2022-03-15T04:29:35.000Z
Source/AllProjects/CQCVoice/CQCVoice_BTSimpleCmdNodes.hpp
MarkStega/CQC
c1d0e01ec2abcaa5b8eb1899b9f0522fecee4b07
[ "MIT" ]
null
null
null
Source/AllProjects/CQCVoice/CQCVoice_BTSimpleCmdNodes.hpp
MarkStega/CQC
c1d0e01ec2abcaa5b8eb1899b9f0522fecee4b07
[ "MIT" ]
4
2020-12-28T07:24:39.000Z
2021-12-29T12:09:37.000Z
// // FILE NAME: CQCVoice_BTSimpleCmdNodes_.hpp // // AUTHOR: Dean Roddey // // CREATED: 01/08/2017 // // 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: // // http...
32.966667
87
0.34058
MarkStega
f518590f0e1db5be786d907b41df8b96a8d5605c
2,750
cpp
C++
pkg/Bfdp/source/Data/Tristate.cpp
dpkristensen/bfdm
1fdbdb89263b35b5ecd3bd7e24bce700910b38f9
[ "BSD-3-Clause" ]
1
2018-07-27T17:20:59.000Z
2018-07-27T17:20:59.000Z
pkg/Bfdp/source/Data/Tristate.cpp
dpkristensen/bfdm
1fdbdb89263b35b5ecd3bd7e24bce700910b38f9
[ "BSD-3-Clause" ]
10
2018-07-28T03:21:05.000Z
2019-02-21T07:09:36.000Z
pkg/Bfdp/source/Data/Tristate.cpp
dpkristensen/bfdm
1fdbdb89263b35b5ecd3bd7e24bce700910b38f9
[ "BSD-3-Clause" ]
null
null
null
/** BFDP Data Tristate Definitions Copyright 2019, Daniel Kristensen, Garmin Ltd, or its subsidiaries. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of sourc...
29.569892
82
0.634182
dpkristensen
f51c9af6e96aae9791fe2db516a6497f5dcbec40
5,115
cpp
C++
oneflow/core/operator/dynamic_reshape_op.cpp
xxg1413/oneflow
f2e3c85a25b8aecfb6c0c0af1737833b1a77e135
[ "Apache-2.0" ]
1
2020-12-04T03:06:16.000Z
2020-12-04T03:06:16.000Z
oneflow/core/operator/dynamic_reshape_op.cpp
xxg1413/oneflow
f2e3c85a25b8aecfb6c0c0af1737833b1a77e135
[ "Apache-2.0" ]
null
null
null
oneflow/core/operator/dynamic_reshape_op.cpp
xxg1413/oneflow
f2e3c85a25b8aecfb6c0c0af1737833b1a77e135
[ "Apache-2.0" ]
null
null
null
/* Copyright 2020 The OneFlow 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 by applicable law or agre...
40.275591
94
0.688172
xxg1413
f51dafececf8f15809841c2e4f83e467f2bf3e8d
4,671
cpp
C++
code/domains/interval.cpp
ISCAS-PMC/deepg
528beda0fb4e7381b3b64a26ff72a582e5754b58
[ "Apache-2.0" ]
null
null
null
code/domains/interval.cpp
ISCAS-PMC/deepg
528beda0fb4e7381b3b64a26ff72a582e5754b58
[ "Apache-2.0" ]
3
2020-09-26T01:04:30.000Z
2022-02-10T01:43:53.000Z
code/domains/interval.cpp
ISCAS-PMC/deepg
528beda0fb4e7381b3b64a26ff72a582e5754b58
[ "Apache-2.0" ]
1
2021-03-29T15:05:29.000Z
2021-03-29T15:05:29.000Z
#include "domains/interval.h" #include "utils/constants.h" #include <limits> #include <iostream> #include <cassert> #include <cmath> Interval::Interval(double inf, double sup) { assert(inf <= sup + Constants::EPS); if (inf > sup) { std::swap(inf, sup); } this->inf = inf; this->sup = sup; } ...
23.590909
84
0.596874
ISCAS-PMC
f51e18bedf148255e1eb544065f306899995a03b
3,092
cpp
C++
data-server/src/raft/test/cluster_test.cpp
13meimei/sharkstore
b73fd09e8cddf78fc1f690219529770b278b35b6
[ "Apache-2.0" ]
1
2019-09-11T06:16:42.000Z
2019-09-11T06:16:42.000Z
data-server/src/raft/test/cluster_test.cpp
gengdaomi/sharkstore
1b490176846d2da98ceca07a69b6c35646567a28
[ "Apache-2.0" ]
null
null
null
data-server/src/raft/test/cluster_test.cpp
gengdaomi/sharkstore
1b490176846d2da98ceca07a69b6c35646567a28
[ "Apache-2.0" ]
1
2021-09-03T10:35:21.000Z
2021-09-03T10:35:21.000Z
#include <unistd.h> #include <cassert> #include <iostream> #include <thread> #include <functional> #include "number_statemachine.h" #include "raft/raft.h" #include "raft/server.h" using namespace sharkstore; using namespace sharkstore::raft; static const size_t kNodeNum = 5; std::condition_variable g_cv; std::mutex...
22.903704
74
0.564683
13meimei
f51e1cb8dbaada4e3325782c731168f8e4f5c5a6
18,398
cpp
C++
src/platform/Linux/ThreadStackManagerImpl.cpp
tima-q/connectedhomeip
bfdbd458d86f6905b85fe7ff5c632c85d21bc010
[ "Apache-2.0" ]
3
2021-03-01T21:37:15.000Z
2021-05-14T08:55:13.000Z
src/platform/Linux/ThreadStackManagerImpl.cpp
cser2016/connectedhomeip
55349a53c8dab9a7aaff138c8bc19a52e2df9c40
[ "Apache-2.0" ]
153
2021-01-27T08:12:04.000Z
2022-02-22T14:58:29.000Z
src/platform/Linux/ThreadStackManagerImpl.cpp
cser2016/connectedhomeip
55349a53c8dab9a7aaff138c8bc19a52e2df9c40
[ "Apache-2.0" ]
5
2021-01-19T15:34:29.000Z
2021-02-17T12:16:18.000Z
/* * * Copyright (c) 2020 Project CHIP 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 requir...
35.863548
130
0.689368
tima-q
f51e2ef53d20c18d6725d56eb06ef16a409dd327
1,632
hpp
C++
externals/numeric_bindings/boost/numeric/bindings/ublas/detail/basic_ublas_adaptor.hpp
ljktest/siconos
85b60e62beca46e6bf06bfbd65670089e86607c7
[ "Apache-2.0" ]
137
2015-06-16T15:55:28.000Z
2022-03-26T06:01:59.000Z
externals/numeric_bindings/boost/numeric/bindings/ublas/detail/basic_ublas_adaptor.hpp
ljktest/siconos
85b60e62beca46e6bf06bfbd65670089e86607c7
[ "Apache-2.0" ]
381
2015-09-22T15:31:08.000Z
2022-02-14T09:05:23.000Z
externals/numeric_bindings/boost/numeric/bindings/ublas/detail/basic_ublas_adaptor.hpp
ljktest/siconos
85b60e62beca46e6bf06bfbd65670089e86607c7
[ "Apache-2.0" ]
30
2015-08-06T22:57:51.000Z
2022-03-02T20:30:20.000Z
// // Copyright (c) 2009 Rutger ter Borg // // 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 BOOST_NUMERIC_BINDINGS_UBLAS_DETAIL_BASIC_UBLAS_ADAPTOR_HPP #define BOOST_NUMERIC_BINDINGS_UBLAS_DETAIL_BASI...
26.754098
88
0.688725
ljktest
f51e46148e253dca7dab1db6cdb32bae57cf0d46
3,048
cc
C++
components/content_settings/core/browser/content_settings_utils_unittest.cc
xzhan96/chromium.src
1bd0cf3997f947746c0fc5406a2466e7b5f6159e
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
2
2019-01-28T08:09:58.000Z
2021-11-15T15:32:10.000Z
components/content_settings/core/browser/content_settings_utils_unittest.cc
emilio/chromium.src
1bd0cf3997f947746c0fc5406a2466e7b5f6159e
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
components/content_settings/core/browser/content_settings_utils_unittest.cc
emilio/chromium.src
1bd0cf3997f947746c0fc5406a2466e7b5f6159e
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
6
2020-09-23T08:56:12.000Z
2021-11-18T03:40:49.000Z
// Copyright (c) 2011 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "components/content_settings/core/browser/content_settings_utils.h" #include <stddef.h> #include <string> #include "base/macros.h" #includ...
35.034483
78
0.752953
xzhan96
f51ee1c4562b4b3b9cc983fa40bb9d60f5066b76
530
cpp
C++
ffplay/app/src/main/cpp/play.cpp
chemoontheshy/kotlin
f11c06d8fe29c381cd2cb7ce15134662577cd4f9
[ "Apache-2.0" ]
null
null
null
ffplay/app/src/main/cpp/play.cpp
chemoontheshy/kotlin
f11c06d8fe29c381cd2cb7ce15134662577cd4f9
[ "Apache-2.0" ]
null
null
null
ffplay/app/src/main/cpp/play.cpp
chemoontheshy/kotlin
f11c06d8fe29c381cd2cb7ce15134662577cd4f9
[ "Apache-2.0" ]
null
null
null
// // Created by Administrator on 2021/3/3. // #include <jni.h> extern "C" { #include "include/libavcodec/avcodec.h" #include "include/libavfilter/avfilter.h" #include "include/libavformat/avformat.h" #include "include/libavutil/avutil.h" #include "include/libswresample/swresample.h" #include "include/libswscale/swsca...
26.5
57
0.74717
chemoontheshy
f52083daf1718e5fe458f67edd515671d75eda52
1,226
hpp
C++
cpp_module_04/ex02/Brain.hpp
anolivei/cpp_piscine42
d33bfccd38ed62d393920601f7449b74836c5219
[ "MIT" ]
1
2022-01-27T02:32:39.000Z
2022-01-27T02:32:39.000Z
cpp_module_04/ex02/Brain.hpp
anolivei/cpp_piscine42
d33bfccd38ed62d393920601f7449b74836c5219
[ "MIT" ]
null
null
null
cpp_module_04/ex02/Brain.hpp
anolivei/cpp_piscine42
d33bfccd38ed62d393920601f7449b74836c5219
[ "MIT" ]
null
null
null
/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* Brain.hpp :+: :+: :+: ...
34.055556
80
0.272431
anolivei
f52295fa310f06318d4ac4d4addb38aa1ccee958
40,810
cpp
C++
src/intel/compiler/brw_shader.cpp
pundiramit/external-mesa3d
c342483c57fa185ff67bd5ab7d82cb884e42684e
[ "MIT" ]
null
null
null
src/intel/compiler/brw_shader.cpp
pundiramit/external-mesa3d
c342483c57fa185ff67bd5ab7d82cb884e42684e
[ "MIT" ]
null
null
null
src/intel/compiler/brw_shader.cpp
pundiramit/external-mesa3d
c342483c57fa185ff67bd5ab7d82cb884e42684e
[ "MIT" ]
null
null
null
/* * Copyright © 2010 Intel Corporation * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rights to use, copy, modify, merge, pub...
28.678848
95
0.697354
pundiramit
f524f836aa3e336a3f7beeb98ec2d7451dae061d
1,017
cpp
C++
src/CommandLineOpts.cpp
schwarzschild-radius/spmdfy
9b5543e3446347277f15b9fe2aee3c7f8311bc78
[ "MIT" ]
6
2019-07-26T12:37:32.000Z
2021-03-13T06:18:07.000Z
src/CommandLineOpts.cpp
schwarzschild-radius/spmdfy
9b5543e3446347277f15b9fe2aee3c7f8311bc78
[ "MIT" ]
6
2019-06-19T06:04:01.000Z
2019-08-23T11:12:31.000Z
src/CommandLineOpts.cpp
schwarzschild-radius/spmdfy
9b5543e3446347277f15b9fe2aee3c7f8311bc78
[ "MIT" ]
1
2020-05-28T06:43:12.000Z
2020-05-28T06:43:12.000Z
#include <spmdfy/CommandLineOpts.hpp> llvm::cl::OptionCategory spmdfy_options("spmdfy"); llvm::cl::opt<std::string> output_filename("o", llvm::cl::desc("Specify Ouput Filename"), llvm::cl::value_desc("filename"), llvm::cl::cat(spmdfy_options)); llvm::cl::opt<bool> verb...
36.321429
76
0.628319
schwarzschild-radius
f528d7b9702de7c753deced6729d41701c02bd75
1,976
cxx
C++
inetsrv/msmq/src/ac/quser.cxx
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
inetsrv/msmq/src/ac/quser.cxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
inetsrv/msmq/src/ac/quser.cxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
/*++ Copyright (c) 1995 Microsoft Corporation Module Name: quser.cxx Abstract: Abstruct class CUserQueue members. Author: Erez Haba (erezh) 1-Aug-95 Shai Kariv (shaik) 8-May-2000 Environment: Kernel mode Revision History: --*/ #include "internal.h" #include <mqf...
18.819048
77
0.543522
npocmaka
f52932e475cb43c991f96d4af68ea068edb581fe
9,077
cxx
C++
VTKExtensions/FiltersRendering/vtkDataTabulator.cxx
qiangwushuang/ParaView
f35ed90a6582e9d21924b66a905498f6a38ab4a3
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
VTKExtensions/FiltersRendering/vtkDataTabulator.cxx
qiangwushuang/ParaView
f35ed90a6582e9d21924b66a905498f6a38ab4a3
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
VTKExtensions/FiltersRendering/vtkDataTabulator.cxx
qiangwushuang/ParaView
f35ed90a6582e9d21924b66a905498f6a38ab4a3
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
/*========================================================================= Program: ParaView Module: vtkDataTabulator.cxx Copyright (c) Kitware, Inc. All rights reserved. See Copyright.txt or http://www.paraview.org/HTML/Copyright.html for details. This software is distributed WITHOUT ANY WARRAN...
32.53405
96
0.630384
qiangwushuang
f52a424e363bcda6eb162d40530d9c5c4888b416
20,689
cc
C++
src/core/lib/security/credentials/oauth2/oauth2_credentials.cc
BusyJay/grpc
6bf5f833efe2cb9e2ecc14358dd9699cd5d05263
[ "Apache-2.0" ]
null
null
null
src/core/lib/security/credentials/oauth2/oauth2_credentials.cc
BusyJay/grpc
6bf5f833efe2cb9e2ecc14358dd9699cd5d05263
[ "Apache-2.0" ]
null
null
null
src/core/lib/security/credentials/oauth2/oauth2_credentials.cc
BusyJay/grpc
6bf5f833efe2cb9e2ecc14358dd9699cd5d05263
[ "Apache-2.0" ]
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 law or agree...
38.671028
80
0.731887
BusyJay
f52be7b2de907b85f6774c761857416c74034d66
2,507
cpp
C++
orig/07/listing_07.12.cpp
plaice/Williams
509349bc07bb0905387e93966e83b304900bb2c4
[ "BSL-1.0" ]
5
2016-11-15T21:56:46.000Z
2018-05-05T21:34:25.000Z
orig/07/listing_07.12.cpp
plaice/Williams
509349bc07bb0905387e93966e83b304900bb2c4
[ "BSL-1.0" ]
null
null
null
orig/07/listing_07.12.cpp
plaice/Williams
509349bc07bb0905387e93966e83b304900bb2c4
[ "BSL-1.0" ]
null
null
null
#include <atomic> #include <memory> template<typename T> class lock_free_stack { private: struct node; struct counted_node_ptr { int external_count; node* ptr; }; struct node { std::shared_ptr<T> data; std::atomic<int> internal_count; counted_node_ptr nex...
28.168539
82
0.526526
plaice
f52d8339b0eb2f09a2e85c44c3d8c98e51047226
4,936
cc
C++
src/lib/log/tests/buffer_appender_unittest.cc
svenauhagen/kea
8a575ad46dee1487364fad394e7a325337200839
[ "Apache-2.0" ]
273
2015-01-22T14:14:42.000Z
2022-03-13T10:27:44.000Z
src/lib/log/tests/buffer_appender_unittest.cc
jxiaobin/kea
1987a50a458921f9e5ac84cb612782c07f3b601d
[ "Apache-2.0" ]
104
2015-01-16T16:37:06.000Z
2021-08-08T19:38:45.000Z
src/lib/log/tests/buffer_appender_unittest.cc
jxiaobin/kea
1987a50a458921f9e5ac84cb612782c07f3b601d
[ "Apache-2.0" ]
133
2015-02-21T14:06:39.000Z
2022-02-27T08:56:40.000Z
// Copyright (C) 2012-2015 Internet Systems Consortium, Inc. ("ISC") // // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this // file, You can obtain one at http://mozilla.org/MPL/2.0/. #include <config.h> #include <gtest/gtest.h> ...
35.510791
78
0.67423
svenauhagen
f52d93a2e062ff8571612c32c27b77969093c9c3
2,101
hpp
C++
tstl/include/stack.hpp
ArdenyUser/ArdenWareOS
e09261093ba469d2291554c026037351bba28ab0
[ "MIT" ]
1,574
2015-01-15T16:35:30.000Z
2022-03-29T07:27:49.000Z
tstl/include/stack.hpp
bgwilf/thor-os
2dc0fef72595598aff7e5f950809042104f29b48
[ "MIT" ]
43
2016-08-23T16:22:29.000Z
2022-03-09T10:28:05.000Z
tstl/include/stack.hpp
bgwilf/thor-os
2dc0fef72595598aff7e5f950809042104f29b48
[ "MIT" ]
196
2016-02-17T10:52:24.000Z
2022-03-28T17:41:29.000Z
//======================================================================= // Copyright Baptiste Wicht 2013-2018. // Distributed under the terms of the MIT License. // (See accompanying file LICENSE or copy at // http://www.opensource.org/licenses/MIT) //=================================================================...
23.344444
78
0.568777
ArdenyUser
f52e2418091bfc9c0e9ace94636dd31cc4936a95
6,356
cpp
C++
qcom-caf/display/libhistogram/histogram_collector.cpp
Havoc-Devices/android_device_motorola_sm7250-common
c957b40642f2c2a6b174832e3a19e823aa25363f
[ "FTL" ]
4
2020-12-17T13:39:05.000Z
2022-02-11T10:24:58.000Z
qcom-caf/display/libhistogram/histogram_collector.cpp
Havoc-Devices/android_device_motorola_sm7250-common
c957b40642f2c2a6b174832e3a19e823aa25363f
[ "FTL" ]
null
null
null
qcom-caf/display/libhistogram/histogram_collector.cpp
Havoc-Devices/android_device_motorola_sm7250-common
c957b40642f2c2a6b174832e3a19e823aa25363f
[ "FTL" ]
4
2021-01-07T12:31:21.000Z
2021-12-27T19:08:12.000Z
/* * Copyright (C) 2018 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
30.705314
100
0.696665
Havoc-Devices
f52f9daac85badd14ed77a9dd5f2926218f2c88b
8,335
cpp
C++
tests/Loading/Theme.cpp
dmg103/TGUI
ed2ac830c399b8b579dc67493823551dbf966d63
[ "Zlib" ]
null
null
null
tests/Loading/Theme.cpp
dmg103/TGUI
ed2ac830c399b8b579dc67493823551dbf966d63
[ "Zlib" ]
null
null
null
tests/Loading/Theme.cpp
dmg103/TGUI
ed2ac830c399b8b579dc67493823551dbf966d63
[ "Zlib" ]
null
null
null
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // // TGUI - Texus' Graphical User Interface // Copyright (C) 2012-2022 Bruno Van de Velde ([email protected]) // // This software is provided 'as-is', without any express or implied warranty. /...
39.880383
129
0.574325
dmg103
f52fd92cd26d6c15a6b524d4a28644e6219fde2d
18,960
cpp
C++
test/entt/entity/sparse_set.cpp
janisozaur/entt
be3597524f07ee502be8784ed193812ce4fb9cb9
[ "MIT" ]
32
2018-05-14T23:26:54.000Z
2020-06-14T10:13:20.000Z
ext/entt-3.1.1/test/entt/entity/sparse_set.cpp
blockspacer/bootstrap-redux
2d0e0d7d2b1f6f203c3dd01f6929805042db8ec7
[ "MIT" ]
79
2018-08-01T11:50:45.000Z
2020-11-17T13:40:06.000Z
ext/entt-3.1.1/test/entt/entity/sparse_set.cpp
blockspacer/bootstrap-redux
2d0e0d7d2b1f6f203c3dd01f6929805042db8ec7
[ "MIT" ]
14
2021-01-08T05:05:19.000Z
2022-03-27T14:56:56.000Z
#include <cstdint> #include <utility> #include <iterator> #include <type_traits> #include <gtest/gtest.h> #include <entt/entity/sparse_set.hpp> #include <entt/entity/fwd.hpp> struct empty_type {}; struct boxed_int { int value; }; TEST(SparseSet, Functionalities) { entt::sparse_set<entt::entity> set; set.rese...
32.859619
101
0.626477
janisozaur
f5321f64e7f49d4587a2dd0b49a6011a78ca7bce
280
cpp
C++
src/align/AlignConfig.cpp
PacificBiosciences/pbcopper
ba98ddd79371c2218ca5110d07d5f881c995ff93
[ "BSD-3-Clause-Clear" ]
5
2018-01-15T13:40:30.000Z
2021-01-19T18:28:30.000Z
src/align/AlignConfig.cpp
PacificBiosciences/pbcopper
ba98ddd79371c2218ca5110d07d5f881c995ff93
[ "BSD-3-Clause-Clear" ]
4
2016-09-20T20:25:14.000Z
2020-12-22T19:21:49.000Z
src/align/AlignConfig.cpp
PacificBiosciences/pbcopper
ba98ddd79371c2218ca5110d07d5f881c995ff93
[ "BSD-3-Clause-Clear" ]
7
2017-05-15T08:47:02.000Z
2021-04-28T18:38:09.000Z
#include <pbcopper/align/AlignConfig.h> namespace PacBio { namespace Align { AlignParams AlignParams::Default() { return {0, -1, -1, -1}; } AlignConfig AlignConfig::Default() { return {AlignParams::Default(), AlignMode::GLOBAL}; } } // namespace Align } // namespace PacBio
23.333333
90
0.703571
PacificBiosciences
f53304f674c010aee4612a768253bd2b3e8a1f7d
3,748
hpp
C++
include/Shader.hpp
luanfagu/raylib-cpp
2524151b7d03262499660a8e696e126430a6ae0e
[ "Zlib" ]
253
2019-03-20T16:15:21.000Z
2022-03-28T06:04:48.000Z
include/Shader.hpp
luanfagu/raylib-cpp
2524151b7d03262499660a8e696e126430a6ae0e
[ "Zlib" ]
96
2019-08-19T22:12:28.000Z
2022-03-29T00:25:54.000Z
include/Shader.hpp
luanfagu/raylib-cpp
2524151b7d03262499660a8e696e126430a6ae0e
[ "Zlib" ]
56
2019-09-09T04:39:50.000Z
2022-03-28T17:42:46.000Z
#ifndef RAYLIB_CPP_INCLUDE_SHADER_HPP_ #define RAYLIB_CPP_INCLUDE_SHADER_HPP_ #include <string> #include "./raylib.hpp" #include "./raylib-cpp-utils.hpp" #include "Texture.hpp" namespace raylib { /** * Shader type (generic) */ class Shader : public ::Shader { public: Shader(const ::Shader& shader) { s...
23.279503
99
0.585112
luanfagu
f5336b7e22febf505e104463a959d705b72f8ba2
482
cpp
C++
Section 08/Account/Account/Checking.cpp
yhaydar/beg_mod_cpp
6db3538d3f7d4484f7ce39065e13736a9676185a
[ "MIT" ]
null
null
null
Section 08/Account/Account/Checking.cpp
yhaydar/beg_mod_cpp
6db3538d3f7d4484f7ce39065e13736a9676185a
[ "MIT" ]
null
null
null
Section 08/Account/Account/Checking.cpp
yhaydar/beg_mod_cpp
6db3538d3f7d4484f7ce39065e13736a9676185a
[ "MIT" ]
null
null
null
#include "Checking.h" #include <iostream> Checking::Checking(const std::string &name, float balance, float minbalance): m_MinimumBalance(minbalance), Account(name, balance){ } Checking::~Checking() { } void Checking::Withdraw(float amount) { if ((m_Balance - amount) > m_MinimumBalance) { Account::Wi...
20.083333
78
0.674274
yhaydar
f533d6c68be3875b89f69036fbf59b35aba1b5b3
9,561
cpp
C++
src/jnc_ext/jnc_io_devmon/jnc_io_DeviceMonitor.cpp
project-kotinos/vovkos___jancy
7050c9edba3185f8293b3e06766f31970ff1ed1a
[ "MIT" ]
null
null
null
src/jnc_ext/jnc_io_devmon/jnc_io_DeviceMonitor.cpp
project-kotinos/vovkos___jancy
7050c9edba3185f8293b3e06766f31970ff1ed1a
[ "MIT" ]
null
null
null
src/jnc_ext/jnc_io_devmon/jnc_io_DeviceMonitor.cpp
project-kotinos/vovkos___jancy
7050c9edba3185f8293b3e06766f31970ff1ed1a
[ "MIT" ]
null
null
null
#include "pch.h" #include "jnc_io_DeviceMonitor.h" #include "jnc_io_DevMonLib.h" #include "jnc_Error.h" namespace jnc { namespace io { //.............................................................................. JNC_DEFINE_OPAQUE_CLASS_TYPE( DeviceMonitor, "io.DeviceMonitor", g_devMonLibGuid, DevMonLibTypeCa...
21.246667
96
0.709131
project-kotinos
f535aa491fc4c96706a4d1b2fc377d86105e211e
3,032
cpp
C++
aws-cpp-sdk-sdb/source/model/DeletableItem.cpp
curiousjgeorge/aws-sdk-cpp
09b65deba03cfbef9a1e5d5986aa4de71bc03cd8
[ "Apache-2.0" ]
2
2019-03-11T15:50:55.000Z
2020-02-27T11:40:27.000Z
aws-cpp-sdk-sdb/source/model/DeletableItem.cpp
curiousjgeorge/aws-sdk-cpp
09b65deba03cfbef9a1e5d5986aa4de71bc03cd8
[ "Apache-2.0" ]
18
2018-05-15T16:41:07.000Z
2018-05-21T00:46:30.000Z
aws-cpp-sdk-sdb/source/model/DeletableItem.cpp
curiousjgeorge/aws-sdk-cpp
09b65deba03cfbef9a1e5d5986aa4de71bc03cd8
[ "Apache-2.0" ]
1
2021-10-01T15:29:44.000Z
2021-10-01T15:29:44.000Z
/* * Copyright 2010-2017 Amazon.com, Inc. or its affiliates. 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. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" fil...
26.137931
128
0.685356
curiousjgeorge
f53c15bc31e4da9f183654622f49ad6989294f77
2,302
hxx
C++
opencascade/STEPEdit_EditSDR.hxx
valgur/OCP
2f7d9da73a08e4ffe80883614aedacb27351134f
[ "Apache-2.0" ]
117
2020-03-07T12:07:05.000Z
2022-03-27T07:35:22.000Z
opencascade/STEPEdit_EditSDR.hxx
CadQuery/cpp-py-bindgen
66e7376d3a27444393fc99acbdbef40bbc7031ae
[ "Apache-2.0" ]
66
2019-12-20T16:07:36.000Z
2022-03-15T21:56:10.000Z
opencascade/STEPEdit_EditSDR.hxx
CadQuery/cpp-py-bindgen
66e7376d3a27444393fc99acbdbef40bbc7031ae
[ "Apache-2.0" ]
76
2020-03-16T01:47:46.000Z
2022-03-21T16:37:07.000Z
// Created on: 1998-07-29 // Created by: Administrateur Atelier XSTEP // Copyright (c) 1998-1999 Matra Datavision // 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 te...
28.775
191
0.807993
valgur
f54092e95874d44dfe8b19bceaa89191604b7c61
4,050
cpp
C++
src/devices/bus/einstein/pipe/pipe.cpp
Robbbert/messui
49b756e2140d8831bc81335298ee8c5471045e79
[ "BSD-3-Clause" ]
26
2015-03-31T06:25:51.000Z
2021-12-14T09:29:04.000Z
src/devices/bus/einstein/pipe/pipe.cpp
Robbbert/messui
49b756e2140d8831bc81335298ee8c5471045e79
[ "BSD-3-Clause" ]
null
null
null
src/devices/bus/einstein/pipe/pipe.cpp
Robbbert/messui
49b756e2140d8831bc81335298ee8c5471045e79
[ "BSD-3-Clause" ]
10
2015-03-27T05:45:51.000Z
2022-02-04T06:57:36.000Z
// license: GPL-2.0+ // copyright-holders: Dirk Best /*************************************************************************** Einstein "Tatung Pipe" ***************************************************************************/ #include "emu.h" #include "pipe.h" // supported devices #include "silicon_disc.h" ...
30.223881
121
0.475062
Robbbert
f540f1881927ec696773f461f865af19c68dcb0c
1,171
cc
C++
src/ledger/bin/app/fidl/serialization_size.cc
zhangpf/fuchsia-rs
903568f28ddf45f09157ead36d61b50322c9cf49
[ "BSD-3-Clause" ]
3
2020-08-02T04:46:18.000Z
2020-08-07T10:10:53.000Z
src/ledger/bin/app/fidl/serialization_size.cc
zhangpf/fuchsia-rs
903568f28ddf45f09157ead36d61b50322c9cf49
[ "BSD-3-Clause" ]
16
2020-09-04T19:01:11.000Z
2021-05-28T03:23:09.000Z
src/ledger/bin/app/fidl/serialization_size.cc
ZVNexus/fuchsia
c5610ad15208208c98693618a79c705af935270c
[ "BSD-3-Clause" ]
1
2020-08-07T10:11:49.000Z
2020-08-07T10:11:49.000Z
// Copyright 2017 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 "src/ledger/bin/app/fidl/serialization_size.h" namespace ledger { namespace fidl_serialization { size_t GetByteVectorSize(size_t vector_length) ...
34.441176
99
0.777114
zhangpf
f542181485fa161c8bbe41cfc72ddb924c462cce
1,041
inl
C++
headers/Impl/DocumentPreviewCache.inl
SunYe1234/PDFNetNew
110af493387b866e765e877c8cacae72bafc4cf8
[ "Apache-2.0" ]
null
null
null
headers/Impl/DocumentPreviewCache.inl
SunYe1234/PDFNetNew
110af493387b866e765e877c8cacae72bafc4cf8
[ "Apache-2.0" ]
null
null
null
headers/Impl/DocumentPreviewCache.inl
SunYe1234/PDFNetNew
110af493387b866e765e877c8cacae72bafc4cf8
[ "Apache-2.0" ]
null
null
null
inline void DocumentPreviewCache::Initialize(UInt64 max_cache_bytes, double max_disk_percentage) { REX(TRN_DocumentPreviewCacheInitialize(max_cache_bytes, max_disk_percentage)); } inline void DocumentPreviewCache::GetBitmapWithPath(const UString& filepath, UInt32 min_x_size, UInt32 min_y_size, PreviewHandler pro...
34.7
155
0.818444
SunYe1234
f5436a0c2df0ef47e94a69fb78abb78615639f6c
1,000
cc
C++
src/third_party/dart/runtime/bin/extensions_macos.cc
rhencke/engine
1016db292c4e73374a0a11536b18303c9522a224
[ "BSD-3-Clause" ]
21
2021-06-04T21:08:21.000Z
2022-03-04T14:21:34.000Z
src/third_party/dart/runtime/bin/extensions_macos.cc
rhencke/engine
1016db292c4e73374a0a11536b18303c9522a224
[ "BSD-3-Clause" ]
4
2020-04-20T11:16:42.000Z
2020-04-20T11:18:30.000Z
src/third_party/dart/runtime/bin/extensions_macos.cc
rhencke/engine
1016db292c4e73374a0a11536b18303c9522a224
[ "BSD-3-Clause" ]
9
2021-03-16T09:29:26.000Z
2022-01-06T08:38:10.000Z
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. #include "platform/globals.h" #if defined(HOST_OS_MACOS) #include <dlfcn.h> // NOLINT #include "bin/e...
23.255814
77
0.718
rhencke
f54424576ac1d1e5e513f63901a9042a9e57ff19
1,888
cpp
C++
SourceFiles/Item.cpp
JamesBremner/Pack
bf968bafbff01f908e5c27919c475d404d2dceeb
[ "MIT" ]
19
2015-11-08T01:01:11.000Z
2021-06-28T23:10:14.000Z
SourceFiles/Item.cpp
JamesBremner/Pack
bf968bafbff01f908e5c27919c475d404d2dceeb
[ "MIT" ]
7
2016-03-28T05:03:31.000Z
2020-07-09T13:55:57.000Z
SourceFiles/Item.cpp
JamesBremner/Pack
bf968bafbff01f908e5c27919c475d404d2dceeb
[ "MIT" ]
9
2015-04-30T04:19:19.000Z
2017-10-22T12:09:12.000Z
#include "cPackEngine.h" int Item::nextPackSeq = 0; Item::Item() : myBinProgID( -1 ) , mySpinAxis( 0 ) , mySupport( 0 ) { } Item::Item(const Item& orig) { } Item::~Item() { } int Item::RotationConstraints() { return myRotationConstraints; } int Item::PositionConstraints() { return myPositionCo...
23.308642
103
0.532839
JamesBremner
f547dfe7bb5662f9ecc7cd88eb44a2d073e92758
44,125
cpp
C++
arangod/Cluster/Maintenance.cpp
amwolff/arangodb
86458580d8070c80b130157693d70e9cda6a835f
[ "Apache-2.0" ]
null
null
null
arangod/Cluster/Maintenance.cpp
amwolff/arangodb
86458580d8070c80b130157693d70e9cda6a835f
[ "Apache-2.0" ]
null
null
null
arangod/Cluster/Maintenance.cpp
amwolff/arangodb
86458580d8070c80b130157693d70e9cda6a835f
[ "Apache-2.0" ]
null
null
null
//////////////////////////////////////////////////////////////////////////////// /// DISCLAIMER /// /// Copyright 2014-2018 ArangoDB GmbH, Cologne, Germany /// Copyright 2004-2014 triAGENS GmbH, Cologne, Germany /// /// Licensed under the Apache License, Version 2.0 (the "License"); /// you may not use this file except...
38.336229
113
0.579807
amwolff
f54a21d6cf733c2229387a7584a654b6fb496d5d
201
cpp
C++
predavanje3/#include/bad_include/program.cpp
Miillky/objektno_orijentirano_programiranje
b41fe690c25a73acd09aff5606524b9e43f0b38a
[ "MIT" ]
null
null
null
predavanje3/#include/bad_include/program.cpp
Miillky/objektno_orijentirano_programiranje
b41fe690c25a73acd09aff5606524b9e43f0b38a
[ "MIT" ]
null
null
null
predavanje3/#include/bad_include/program.cpp
Miillky/objektno_orijentirano_programiranje
b41fe690c25a73acd09aff5606524b9e43f0b38a
[ "MIT" ]
null
null
null
// Ne smije se definirati fukcije cin kao ovjde ako koristimo includove, proučit detaljnije... #include "funkcije.hpp" void cin(){ cout << "ja sam cin"; } int main(){ cin(); funkcija(); }
18.272727
94
0.646766
Miillky
f54c86c8bea61e129adc93a5988ce8588af4b1b8
2,659
cpp
C++
nvidia-dla-blocks/hw/cmod/nvdla_clibs/NvdlaDataFormatConvertor.cpp
minisparrow/freedom
b31723a2cf3d1f245f9de2dcfedde4df2180cc6f
[ "Apache-2.0" ]
null
null
null
nvidia-dla-blocks/hw/cmod/nvdla_clibs/NvdlaDataFormatConvertor.cpp
minisparrow/freedom
b31723a2cf3d1f245f9de2dcfedde4df2180cc6f
[ "Apache-2.0" ]
null
null
null
nvidia-dla-blocks/hw/cmod/nvdla_clibs/NvdlaDataFormatConvertor.cpp
minisparrow/freedom
b31723a2cf3d1f245f9de2dcfedde4df2180cc6f
[ "Apache-2.0" ]
1
2020-07-16T11:20:40.000Z
2020-07-16T11:20:40.000Z
// ================================================================ // NVDLA Open Source Project // // Copyright(c) 2016 - 2017 NVIDIA Corporation. Licensed under the // NVDLA Open Hardware License; Check "LICENSE" which comes with // this distribution for more information. // =======================================...
45.844828
180
0.7217
minisparrow
f54d8cf911287f139e83cf5e3948bce812e904ca
4,876
cpp
C++
message.cpp
zhaoxy2850/TSDNSServer
ed84611238e744f8458a9cac7622fd6b1407297c
[ "MIT" ]
2
2017-10-22T15:24:06.000Z
2018-10-01T09:36:01.000Z
message.cpp
zhaoxy2850/TSDNSServer
ed84611238e744f8458a9cac7622fd6b1407297c
[ "MIT" ]
1
2019-12-25T06:13:32.000Z
2019-12-25T06:13:32.000Z
message.cpp
zhaoxy2850/TSDNSServer
ed84611238e744f8458a9cac7622fd6b1407297c
[ "MIT" ]
3
2017-02-28T07:09:38.000Z
2020-08-15T09:10:40.000Z
// // message.cpp // TSDNSServer // // Created by zhaoxy on 14-5-11. // Copyright (c) 2014年 tsinghua. All rights reserved. // #include "message.h" using namespace dns; using namespace std; //encode an address seperated by '.' like 'www.google.com' //to address seperated by substring length like '3www6google3com'...
30.098765
71
0.612797
zhaoxy2850
f54e08ef99fa2907926ec3287c946a53e9f323ab
2,064
cpp
C++
Examples/CPP/ConvertingProjectData/UsingSvgOptions.cpp
aspose-tasks/Aspose.Tasks-for-C
acb3e2b75685f65cbe34dd739c7eae0dfc285aa1
[ "MIT" ]
1
2022-03-16T14:31:36.000Z
2022-03-16T14:31:36.000Z
Examples/CPP/ConvertingProjectData/UsingSvgOptions.cpp
aspose-tasks/Aspose.Tasks-for-C
acb3e2b75685f65cbe34dd739c7eae0dfc285aa1
[ "MIT" ]
null
null
null
Examples/CPP/ConvertingProjectData/UsingSvgOptions.cpp
aspose-tasks/Aspose.Tasks-for-C
acb3e2b75685f65cbe34dd739c7eae0dfc285aa1
[ "MIT" ]
1
2020-07-01T01:26:17.000Z
2020-07-01T01:26:17.000Z
/* This project uses Automatic Package Restore feature of NuGet to resolve Aspose.Tasks for .NET API reference when the project is build. Please check https:// Docs.nuget.org/consume/nuget-faq for more information. If you do not wish to use NuGet, you can manually download Aspose.Tasks for .NET API from https://www.n...
36.210526
164
0.76938
aspose-tasks
f551eaeccc9ec4926aa1f71116fc41295669373e
34,595
cpp
C++
src/qt/qtwebkit/Source/JavaScriptCore/runtime/Structure.cpp
viewdy/phantomjs
eddb0db1d253fd0c546060a4555554c8ee08c13c
[ "BSD-3-Clause" ]
1
2015-05-27T13:52:20.000Z
2015-05-27T13:52:20.000Z
src/qt/qtwebkit/Source/JavaScriptCore/runtime/Structure.cpp
mrampersad/phantomjs
dca6f77a36699eb4e1c46f7600cca618f01b0ac3
[ "BSD-3-Clause" ]
null
null
null
src/qt/qtwebkit/Source/JavaScriptCore/runtime/Structure.cpp
mrampersad/phantomjs
dca6f77a36699eb4e1c46f7600cca618f01b0ac3
[ "BSD-3-Clause" ]
1
2017-03-19T13:03:23.000Z
2017-03-19T13:03:23.000Z
/* * Copyright (C) 2008, 2009, 2013 Apple Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of ...
34.838872
188
0.706836
viewdy
f554b66a7e4617d91daf7917eeac37f219dcee22
8,342
cpp
C++
plugins/probe/3rd/poisson4/factor.cpp
azuki-monster/megamol
f5d75ae5630f9a71a7fbf81624bfd4f6b253c655
[ "BSD-3-Clause" ]
49
2017-08-23T13:24:24.000Z
2022-03-16T09:10:58.000Z
plugins/probe/3rd/poisson4/factor.cpp
azuki-monster/megamol
f5d75ae5630f9a71a7fbf81624bfd4f6b253c655
[ "BSD-3-Clause" ]
200
2018-07-20T15:18:26.000Z
2022-03-31T11:01:44.000Z
plugins/probe/3rd/poisson4/factor.cpp
azuki-monster/megamol
f5d75ae5630f9a71a7fbf81624bfd4f6b253c655
[ "BSD-3-Clause" ]
31
2017-07-31T16:19:29.000Z
2022-02-14T23:41:03.000Z
/* Copyright (c) 2006, Michael Kazhdan and Matthew Bolitho All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: Redistributions of source code must retain the above copyright notice, this list of conditions ...
30.445255
96
0.546392
azuki-monster
f556eefccc7e4962d1c08d5030e175f9cae682c2
14,687
cpp
C++
test/planner/planner_test.cpp
Nov11/15-721
b52c173d4be6838faa86b69959c0c341748f3e58
[ "Apache-2.0" ]
2
2021-03-29T01:29:18.000Z
2022-02-27T11:22:15.000Z
test/planner/planner_test.cpp
lym953/15721-p3
c5ba8004c6f0f10472aa004303c04be1c860ade9
[ "Apache-2.0" ]
null
null
null
test/planner/planner_test.cpp
lym953/15721-p3
c5ba8004c6f0f10472aa004303c04be1c860ade9
[ "Apache-2.0" ]
null
null
null
//===----------------------------------------------------------------------===// // // Peloton // // planner_test.cpp // // Identification: test/planner/planner_test.cpp // // Copyright (c) 2015-17, Carnegie Mellon University Database Group // //===-----------------------------------------------...
39.270053
95
0.716348
Nov11
f5574313f17211eb9b87dd20071d9b004c846309
52
cpp
C++
app/src/data/gobaldata.cpp
black-sheep-dev/harbour-webcontrol
4feecae04ac07fed106d21abc002b1623fb6b767
[ "MIT" ]
2
2021-10-06T12:53:12.000Z
2021-10-12T09:07:26.000Z
app/src/data/gobaldata.cpp
black-sheep-dev/harbour-webcontrol
4feecae04ac07fed106d21abc002b1623fb6b767
[ "MIT" ]
3
2020-11-08T16:10:33.000Z
2021-09-26T06:02:44.000Z
app/src/data/gobaldata.cpp
black-sheep-dev/harbour-webcontrol
4feecae04ac07fed106d21abc002b1623fb6b767
[ "MIT" ]
1
2020-11-08T14:54:25.000Z
2020-11-08T14:54:25.000Z
#include "gobaldata.h" DataManager* g_dataManager;
13
27
0.788462
black-sheep-dev
f557b3eb8f32b41ff574f844e4f8ac1217528baf
9,924
cpp
C++
inviwo/modules/crystalvisualization/processors/structuremesh.cpp
adamskor/ENVISIoN
95cf5e74411807e21909f1a0d47b52fd6318a855
[ "BSD-2-Clause" ]
6
2017-07-09T21:50:40.000Z
2019-02-25T17:21:43.000Z
inviwo/modules/crystalvisualization/processors/structuremesh.cpp
adamskor/ENVISIoN
95cf5e74411807e21909f1a0d47b52fd6318a855
[ "BSD-2-Clause" ]
23
2019-05-28T20:50:21.000Z
2022-03-25T18:51:31.000Z
inviwo/modules/crystalvisualization/processors/structuremesh.cpp
adamskor/ENVISIoN
95cf5e74411807e21909f1a0d47b52fd6318a855
[ "BSD-2-Clause" ]
9
2018-03-20T12:26:05.000Z
2021-03-04T10:12:32.000Z
/********************************************************************************* * * Copyright (c) 2017-2018 Josef Adamsson, Denise Härnström, Anders Rehult, * Andreas Kempe * * Inviwo - Interactive Visualization Workshop * * Copyright (c) 2017 Inviwo Foundation * All rights reserved. ...
42.050847
148
0.598851
adamskor
f557cf3c0769ebc7ff424e11d87ed2f5d6b593aa
1,227
cc
C++
longest-increasing-subsequence.cc
ArCan314/leetcode
8e22790dc2f34f5cf2892741ff4e5d492bb6d0dd
[ "MIT" ]
null
null
null
longest-increasing-subsequence.cc
ArCan314/leetcode
8e22790dc2f34f5cf2892741ff4e5d492bb6d0dd
[ "MIT" ]
null
null
null
longest-increasing-subsequence.cc
ArCan314/leetcode
8e22790dc2f34f5cf2892741ff4e5d492bb6d0dd
[ "MIT" ]
null
null
null
#include <vector> #include <algorithm> class Solution { public: int lengthOfLIS(std::vector<int> &nums) { return lengthOfLISDpOpt(nums); } int lengthOfLISDp(std::vector<int> &nums) { std::vector<int> dp(nums.size(), 1); for (int i = 0; i < nums.size(); i++) for...
25.040816
59
0.396088
ArCan314
f5590ff0c6e2900d5904703e7bdb9814ac67de33
5,914
cc
C++
orttraining/orttraining/training_ops/cuda/tensor/gather_elements_grad.cc
lchang20/onnxruntime
97b8f6f394ae02c73ed775f456fd85639c91ced1
[ "MIT" ]
6,036
2019-05-07T06:03:57.000Z
2022-03-31T17:59:54.000Z
orttraining/orttraining/training_ops/cuda/tensor/gather_elements_grad.cc
lchang20/onnxruntime
97b8f6f394ae02c73ed775f456fd85639c91ced1
[ "MIT" ]
5,730
2019-05-06T23:04:55.000Z
2022-03-31T23:55:56.000Z
orttraining/orttraining/training_ops/cuda/tensor/gather_elements_grad.cc
lchang20/onnxruntime
97b8f6f394ae02c73ed775f456fd85639c91ced1
[ "MIT" ]
1,566
2019-05-07T01:30:07.000Z
2022-03-31T17:06:50.000Z
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #include "orttraining/training_ops/cuda/tensor/gather_elements_grad.h" #include "orttraining/training_ops/cuda/tensor/gather_elements_grad_impl.h" #include "core/providers/cpu/tensor/utils.h" #include "core/providers/common...
41.356643
117
0.664694
lchang20
f5591aae36e45b4c6d59fb2cb0ef9773ba8b351c
1,871
cpp
C++
basic/mobile_io/02f_feedback_background_mobile_io.cpp
HebiRobotics/hebi-cpp-examples
db01c9b957b3c97885d452d8b72f9919ba6c48c4
[ "Apache-2.0" ]
7
2018-03-31T06:52:08.000Z
2022-02-24T21:27:09.000Z
basic/mobile_io/02f_feedback_background_mobile_io.cpp
HebiRobotics/hebi-cpp-examples
db01c9b957b3c97885d452d8b72f9919ba6c48c4
[ "Apache-2.0" ]
34
2018-06-03T17:28:08.000Z
2021-05-29T01:15:25.000Z
basic/mobile_io/02f_feedback_background_mobile_io.cpp
HebiRobotics/hebi-cpp-examples
db01c9b957b3c97885d452d8b72f9919ba6c48c4
[ "Apache-2.0" ]
9
2018-02-08T22:50:58.000Z
2021-03-30T08:07:35.000Z
/* * Get feedback from a mobile io module and plot it live * * For more information, go to http://docs.hebi.us/tools.html#cpp-api * * HEBI Robotics * August 2019 */ #include <chrono> #include <iostream> #include <thread> #include "lookup.hpp" #include "group_feedback.hpp" #include "util/plot_functions.h" na...
26.728571
79
0.660075
HebiRobotics
f55a4792607360637b43c251f017136708be5bb5
1,554
cpp
C++
ThreadArray.cpp
esc0rtd3w/GTAV_PS3_NativeCall
32324900e8cdc2f35355c0b54d0b6a5dc9883586
[ "Apache-2.0" ]
4
2016-03-11T00:54:09.000Z
2021-09-08T23:19:36.000Z
ThreadArray.cpp
balika011/GTAV_PS3_NativeCall
32324900e8cdc2f35355c0b54d0b6a5dc9883586
[ "Apache-2.0" ]
null
null
null
ThreadArray.cpp
balika011/GTAV_PS3_NativeCall
32324900e8cdc2f35355c0b54d0b6a5dc9883586
[ "Apache-2.0" ]
2
2017-08-20T08:46:36.000Z
2019-02-03T13:11:28.000Z
#include "main.h" #define THREAD_ARRAY_ADDR 0x01E5FE80 #define THREAD_COUNT_ADDR 0x01E5FE84 #define threadArray ((struct sysArray<scrThread>*)THREAD_ARRAY_ADDR); #define threadCount (*(int*)(THREAD_COUNT_ADDR)); scrThread* ThreadArray::GetThreadByName(char* name) { scrThread* ret = 0; int i = 0; while(i < threadA...
21.887324
118
0.67825
esc0rtd3w
f55a51784c168b3437ae9308188579183fd093d7
1,486
cpp
C++
src/engine/actor.cpp
0916dhkim/SimplePlatformer
f00a985c9f754139759fedbff6a24bd7665030f9
[ "Apache-2.0" ]
null
null
null
src/engine/actor.cpp
0916dhkim/SimplePlatformer
f00a985c9f754139759fedbff6a24bd7665030f9
[ "Apache-2.0" ]
null
null
null
src/engine/actor.cpp
0916dhkim/SimplePlatformer
f00a985c9f754139759fedbff6a24bd7665030f9
[ "Apache-2.0" ]
null
null
null
#include <engine/actor.hpp> Actor::Actor(std::uint_fast64_t id) : id(id), layer(0) {} void Actor::SetBody(std::unique_ptr<PhysicalBody> &&physical_body) { this->body = std::move(physical_body); } void Actor::SetRenderer(std::unique_ptr<Renderer> &&renderer) { this->renderer = std::move(renderer); } void Actor::SetPo...
24.360656
109
0.66891
0916dhkim
f560f0b6eacdab2a247d5cf25f7b6408d6a3b0c5
2,797
cpp
C++
middleware/src/generator/mesh/cube_shape.cpp
TerraGraphics/TerraEngine
874165a22ab7dd3774a6cfdeb023485a552d9860
[ "Apache-2.0" ]
5
2019-12-24T21:43:13.000Z
2020-06-16T03:44:16.000Z
middleware/src/generator/mesh/cube_shape.cpp
TerraGraphics/TerraEngine
874165a22ab7dd3774a6cfdeb023485a552d9860
[ "Apache-2.0" ]
null
null
null
middleware/src/generator/mesh/cube_shape.cpp
TerraGraphics/TerraEngine
874165a22ab7dd3774a6cfdeb023485a552d9860
[ "Apache-2.0" ]
1
2020-03-30T00:17:27.000Z
2020-03-30T00:17:27.000Z
#include "middleware/generator/mesh/cube_shape.h" #include <memory> #include <utility> #include <type_traits> #include "core/common/exception.h" static auto MakeGenerator(const dg::float3 sizes, const dg::uint3 segments) { float offset = sizes.z * 0.5f; dg::float2 size = {sizes.x, sizes.y}; dg::uint2 sg...
32.523256
94
0.626385
TerraGraphics
f56128b2033187724c7d23af81c68307e0e3f51c
857
cpp
C++
foobar2000/SDK/main_thread_callback.cpp
ttsping/foo_fix
4a0b950ccb8c10c912a9abeeffdd85e777463309
[ "Info-ZIP" ]
294
2017-11-20T17:42:08.000Z
2022-03-31T04:15:13.000Z
foobar2000/SDK/main_thread_callback.cpp
ttsping/foo_fix
4a0b950ccb8c10c912a9abeeffdd85e777463309
[ "Info-ZIP" ]
108
2021-04-08T10:57:27.000Z
2022-03-27T08:02:15.000Z
foobar2000/SDK/main_thread_callback.cpp
ttsping/foo_fix
4a0b950ccb8c10c912a9abeeffdd85e777463309
[ "Info-ZIP" ]
14
2018-03-10T12:47:03.000Z
2021-11-11T09:00:08.000Z
#include "foobar2000.h" void main_thread_callback::callback_enqueue() { main_thread_callback_manager::get()->add_callback(this); } void main_thread_callback_add(main_thread_callback::ptr ptr) { main_thread_callback_manager::get()->add_callback(ptr); } namespace { typedef std::function<void ()> fun...
22.552632
71
0.62077
ttsping
f5612a9a9cbccb0feb246b085e3e1225df11c4db
4,839
cpp
C++
source/pawgui.cpp
pawbyte/pawgui
24e77f4ce40bd0e91f5f5edc27cc87ff5783d0ab
[ "MIT" ]
2
2020-03-09T14:29:42.000Z
2021-02-06T05:07:39.000Z
source/pawgui.cpp
pawbyte/pawgui
24e77f4ce40bd0e91f5f5edc27cc87ff5783d0ab
[ "MIT" ]
null
null
null
source/pawgui.cpp
pawbyte/pawgui
24e77f4ce40bd0e91f5f5edc27cc87ff5783d0ab
[ "MIT" ]
null
null
null
/* pawgui.cpp This file is part of: PawByte Ambitious Working GUI(PAWGUI) https://www.pawbyte.com/pawgui Copyright (c) 2014-2020 Nathan Hurde, Chase Lee. Copyright (c) 2014-2020 PawByte LLC. Copyright (c) 2014-2020 PawByte Ambitious Working GUI(PAWGUI) contributors ( Contributors Page ) Permission is hereby...
39.991736
176
0.65902
pawbyte
f56253d59fc5c13df8a30aea81798adeb68e743f
5,242
cpp
C++
dbms/src/Interpreters/tests/hash_map2.cpp
rudneff/ClickHouse
3cb59b92bccbeb888d136f7c6e14b622382c0434
[ "Apache-2.0" ]
3
2016-12-30T14:19:47.000Z
2021-11-13T06:58:32.000Z
dbms/src/Interpreters/tests/hash_map2.cpp
rudneff/ClickHouse
3cb59b92bccbeb888d136f7c6e14b622382c0434
[ "Apache-2.0" ]
1
2017-01-13T21:29:36.000Z
2017-01-16T18:29:08.000Z
dbms/src/Interpreters/tests/hash_map2.cpp
jbfavre/clickhouse-debian
3806e3370decb40066f15627a3bca4063b992bfb
[ "Apache-2.0" ]
1
2021-02-07T16:00:54.000Z
2021-02-07T16:00:54.000Z
#include <iostream> #include <iomanip> #include <vector> #include <unordered_map> #include <sparsehash/dense_hash_map> #include <sparsehash/sparse_hash_map> #include <DB/Common/Stopwatch.h> //#define DBMS_HASH_MAP_COUNT_COLLISIONS #define DBMS_HASH_MAP_DEBUG_RESIZES #include <DB/Core/Types.h> #include <DB/IO/ReadB...
27.589474
144
0.652804
rudneff
f563a4bf59faf71e966c828d6b867c36dbb7ce80
1,249
cc
C++
src/core/analysis/dictionary_node_creator.cc
wrightak/jumanpp
49784bac7ee9562f1839aa12c780b019a1cb0e03
[ "Apache-2.0" ]
300
2016-10-19T02:20:39.000Z
2022-02-23T19:58:04.000Z
src/core/analysis/dictionary_node_creator.cc
wrightak/jumanpp
49784bac7ee9562f1839aa12c780b019a1cb0e03
[ "Apache-2.0" ]
130
2016-10-17T07:57:14.000Z
2022-03-20T17:37:13.000Z
src/core/analysis/dictionary_node_creator.cc
wrightak/jumanpp
49784bac7ee9562f1839aa12c780b019a1cb0e03
[ "Apache-2.0" ]
36
2016-10-19T11:47:05.000Z
2022-01-25T09:36:12.000Z
// // Created by Arseny Tolmachev on 2017/02/23. // #include "dictionary_node_creator.h" namespace jumanpp { namespace core { namespace analysis { bool DictionaryNodeCreator::spawnNodes(const AnalysisInput& input, LatticeBuilder* lattice) { auto& points = input.codepoints(); ...
26.574468
80
0.653323
wrightak
f5642cb7c14deaa7da323181761683888433836b
575,048
cpp
C++
cisco-ios-xe/ydk/models/cisco_ios_xe/fragmented/Cisco_IOS_XE_native_216.cpp
CiscoDevNet/ydk-cpp
ef7d75970f2ef1154100e0f7b0a2ee823609b481
[ "ECL-2.0", "Apache-2.0" ]
17
2016-12-02T05:45:49.000Z
2022-02-10T19:32:54.000Z
cisco-ios-xe/ydk/models/cisco_ios_xe/fragmented/Cisco_IOS_XE_native_216.cpp
CiscoDevNet/ydk-cpp
ef7d75970f2ef1154100e0f7b0a2ee823609b481
[ "ECL-2.0", "Apache-2.0" ]
2
2017-03-27T15:22:38.000Z
2019-11-05T08:30:16.000Z
cisco-ios-xe/ydk/models/cisco_ios_xe/fragmented/Cisco_IOS_XE_native_216.cpp
CiscoDevNet/ydk-cpp
ef7d75970f2ef1154100e0f7b0a2ee823609b481
[ "ECL-2.0", "Apache-2.0" ]
11
2016-12-02T05:45:52.000Z
2019-11-07T08:28:17.000Z
#include <sstream> #include <iostream> #include <ydk/entity_util.hpp> #include "bundle_info.hpp" #include "generated_entity_lookup.hpp" #include "Cisco_IOS_XE_native_216.hpp" using namespace ydk; namespace cisco_ios_xe { namespace Cisco_IOS_XE_native { Native::Router::Eigrp::AddressFamily::AfIpList::TrafficShare::T...
32.831744
940
0.687723
CiscoDevNet
f5650ac27d80d71ec2b9ad6f7a23a1bc4c539f77
27,677
cpp
C++
tests/gtests/test_batch_normalization_forward.cpp
PerfXLab/mkl-dnn
0fc7bd337d827d310d029e5f4219eaf72ca12825
[ "Apache-2.0" ]
9
2016-11-30T07:35:33.000Z
2021-05-09T01:15:06.000Z
tests/gtests/test_batch_normalization_forward.cpp
PerfXLab/mkl-dnn
0fc7bd337d827d310d029e5f4219eaf72ca12825
[ "Apache-2.0" ]
null
null
null
tests/gtests/test_batch_normalization_forward.cpp
PerfXLab/mkl-dnn
0fc7bd337d827d310d029e5f4219eaf72ca12825
[ "Apache-2.0" ]
null
null
null
/******************************************************************************* * Copyright 2016 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.apache.o...
54.268627
86
0.509773
PerfXLab
f565250754ce6915087897513c950b1ca3f3ead6
979
hpp
C++
src/include/guinsoodb/execution/operator/helper/physical_transaction.hpp
GuinsooLab/guinsoodb
f200538868738ae460f62fb89211deec946cefff
[ "MIT" ]
1
2021-04-22T05:41:54.000Z
2021-04-22T05:41:54.000Z
src/include/guinsoodb/execution/operator/helper/physical_transaction.hpp
GuinsooLab/guinsoodb
f200538868738ae460f62fb89211deec946cefff
[ "MIT" ]
null
null
null
src/include/guinsoodb/execution/operator/helper/physical_transaction.hpp
GuinsooLab/guinsoodb
f200538868738ae460f62fb89211deec946cefff
[ "MIT" ]
1
2021-12-12T10:24:57.000Z
2021-12-12T10:24:57.000Z
//===----------------------------------------------------------------------===// // GuinsooDB // // guinsoodb/execution/operator/helper/physical_transaction.hpp // // //===----------------------------------------------------------------------===// #pragma once #include "guinsoodb/execution/phy...
31.580645
107
0.642492
GuinsooLab
f5661c3d682c8d7272445b97b709789955e07a11
1,845
cpp
C++
src/+cv/getDerivKernels.cpp
1123852253/mexopencv
17db690133299f561924a45e9092673a4df66c5b
[ "BSD-3-Clause" ]
571
2015-01-04T06:23:19.000Z
2022-03-31T07:37:19.000Z
src/+cv/getDerivKernels.cpp
1123852253/mexopencv
17db690133299f561924a45e9092673a4df66c5b
[ "BSD-3-Clause" ]
362
2015-01-06T14:20:46.000Z
2022-01-20T08:10:46.000Z
src/+cv/getDerivKernels.cpp
1123852253/mexopencv
17db690133299f561924a45e9092673a4df66c5b
[ "BSD-3-Clause" ]
300
2015-01-20T03:21:27.000Z
2022-03-31T07:36:37.000Z
/** * @file getDerivKernels.cpp * @brief mex interface for cv::getDerivKernels * @ingroup imgproc * @author Kota Yamaguchi * @date 2011 */ #include "mexopencv.hpp" #include "opencv2/imgproc.hpp" using namespace std; using namespace cv; namespace { /// KSize map for option processing const ConstMap<string,int> KS...
27.954545
76
0.579946
1123852253
f56626377ee919eb985e59ff970d60429b09c740
4,006
inl
C++
ShaderAnalysis/ShaderOperation.inl
bo3b/iZ3D
ced8b3a4b0a152d0177f2e94008918efc76935d5
[ "MIT" ]
27
2020-11-12T19:24:54.000Z
2022-03-27T23:10:45.000Z
ShaderAnalysis/ShaderOperation.inl
bo3b/iZ3D
ced8b3a4b0a152d0177f2e94008918efc76935d5
[ "MIT" ]
2
2020-11-02T06:30:39.000Z
2022-02-23T18:39:55.000Z
ShaderAnalysis/ShaderOperation.inl
bo3b/iZ3D
ced8b3a4b0a152d0177f2e94008918efc76935d5
[ "MIT" ]
3
2021-08-16T00:21:08.000Z
2022-02-23T19:19:36.000Z
////////////////////////////////////////////////////////////////////////// // ShaderOperation inline function D3D10_SB_OPCODE_TYPE shader_analyzer::ShaderOperation::getType() const{ return DECODE_D3D10_SB_OPCODE_TYPE(m_pData[0]); } D3D10_SB_CUSTOMDATA_CLASS shader_analyzer::ShaderOperation::getCustomDataClass() const...
26.012987
108
0.785821
bo3b
f56662c5ac784b7aa06620aabf2ac48d75077a16
4,942
cpp
C++
applications/3DimViewer/src/CRegion3DPreviewVisualizer.cpp
SindenDev/3dimviewer
e23a3147edc35034ef4b75eae9ccdcbc7192b1a1
[ "Apache-2.0" ]
6
2020-04-14T16:10:55.000Z
2021-05-21T07:13:55.000Z
applications/3DimViewer/src/CRegion3DPreviewVisualizer.cpp
SindenDev/3dimviewer
e23a3147edc35034ef4b75eae9ccdcbc7192b1a1
[ "Apache-2.0" ]
null
null
null
applications/3DimViewer/src/CRegion3DPreviewVisualizer.cpp
SindenDev/3dimviewer
e23a3147edc35034ef4b75eae9ccdcbc7192b1a1
[ "Apache-2.0" ]
2
2020-07-24T16:25:38.000Z
2021-01-19T09:23:18.000Z
/////////////////////////////////////////////////////////////////////////////// // $Id$ // // 3DimViewer // Lightweight 3D DICOM viewer. // // Copyright 2008-2016 3Dim Laboratory s.r.o. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the Licen...
30.695652
128
0.654189
SindenDev
f5673e6808f3ee87a89552fe1ed540a7471a5c2f
4,247
cpp
C++
mex/quantilenorm_cuda/check_mexutils.cpp
dgoodwin208/ExSeqProcessing
cd7f8ff461af16aad22ac033d2cbd5f0aa935628
[ "MIT" ]
7
2020-06-03T21:12:35.000Z
2022-02-03T02:36:20.000Z
mex/quantilenorm_cuda/check_mexutils.cpp
RuihanZhang2015/ExSeqProcessing
c9c3719b9e583def8a6401d16698363c6fe45574
[ "MIT" ]
2
2020-05-15T20:00:30.000Z
2020-05-15T20:01:00.000Z
mex/quantilenorm_cuda/check_mexutils.cpp
RuihanZhang2015/ExSeqProcessing
c9c3719b9e583def8a6401d16698363c6fe45574
[ "MIT" ]
5
2020-06-01T18:50:18.000Z
2021-09-15T18:39:28.000Z
#include <vector> #include <string> #include "spdlog/spdlog.h" #include "mex.h" #include "mex-utils/tiffs.h" #include "mex-utils/hdf5.h" void mexFunction(int nlhs,mxArray *plhs[],int nrhs,const mxArray *prhs[]) { std::shared_ptr<spdlog::logger> logger; try { spdlog::set_async_mode(4096, spdlog::async...
37.919643
115
0.56793
dgoodwin208
f568a503a0c54e953a84d5c720cdc8f04bd72855
9,893
cpp
C++
src/VM/VM.cpp
Feral-Lang/Feral
908c507c823c8b836d3e2007baf77329c2d6b8bf
[ "MIT" ]
131
2020-03-19T15:22:37.000Z
2021-12-19T02:37:01.000Z
src/VM/VM.cpp
Feral-Lang/Feral
908c507c823c8b836d3e2007baf77329c2d6b8bf
[ "MIT" ]
14
2020-04-06T05:50:15.000Z
2021-06-26T06:19:04.000Z
src/VM/VM.cpp
Feral-Lang/Feral
908c507c823c8b836d3e2007baf77329c2d6b8bf
[ "MIT" ]
20
2020-04-06T07:28:30.000Z
2021-09-05T14:46:25.000Z
/* MIT License Copyright (c) 2020 Feral Language repositories 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, modi...
29.01173
96
0.675124
Feral-Lang
f568cc4741f7e6838bddbed87284daeb0d7d505d
2,637
hpp
C++
examples/c/h2o2/chem_utils.hpp
stgeke/pyJac-v2
c2716a05df432efd8e5f6cc5cc3d46b72c24c019
[ "MIT" ]
null
null
null
examples/c/h2o2/chem_utils.hpp
stgeke/pyJac-v2
c2716a05df432efd8e5f6cc5cc3d46b72c24c019
[ "MIT" ]
null
null
null
examples/c/h2o2/chem_utils.hpp
stgeke/pyJac-v2
c2716a05df432efd8e5f6cc5cc3d46b72c24c019
[ "MIT" ]
null
null
null
#ifndef CHEM_UTILS_HPP #define CHEM_UTILS_HPP #ifdef _OPENMP #include <omp.h> #else #warning 'OpenMP not found! Unexpected results may occur if using more than one thread.' #define omp_get_num_threads() (1) #endif #include "mechanism.hpp" #include "chem_utils.hpp" #ifndef work_size #define work_size (omp_get_nu...
109.875
888
0.731134
stgeke
f568eac4a45a9abd8b3ca10d7f12e762040a912c
855
hpp
C++
Microtone/include/microtone/midi_input.hpp
DanielToby/microtone
10538a23fb67933abe5b492eb4ae771bd646f8d6
[ "MIT" ]
null
null
null
Microtone/include/microtone/midi_input.hpp
DanielToby/microtone
10538a23fb67933abe5b492eb4ae771bd646f8d6
[ "MIT" ]
null
null
null
Microtone/include/microtone/midi_input.hpp
DanielToby/microtone
10538a23fb67933abe5b492eb4ae771bd646f8d6
[ "MIT" ]
null
null
null
#pragma once #include <microtone/microtone_platform.hpp> #include <functional> #include <memory> #include <string> #include <vector> namespace microtone { //enum class MidiStatusMessage { // NoteOn = 0b10010000, // NoteOff = 0b10000000, // ControlChange = 0b10110000 //}; using OnMidiDataFn = std::function...
20.853659
77
0.694737
DanielToby
f5695a903889d0c821e0f3fd31befb4246c7a99a
346
cpp
C++
Online Judges/URI/1564/main.cpp
AnneLivia/URI-Online
02ff972be172a62b8abe25030c3676f6c04efd1b
[ "MIT" ]
64
2019-03-17T08:56:28.000Z
2022-01-14T02:31:21.000Z
Online Judges/URI/1564/main.cpp
AnneLivia/URI-Online
02ff972be172a62b8abe25030c3676f6c04efd1b
[ "MIT" ]
1
2020-12-24T07:16:30.000Z
2021-03-23T20:51:05.000Z
Online Judges/URI/1564/main.cpp
AnneLivia/URI-Online
02ff972be172a62b8abe25030c3676f6c04efd1b
[ "MIT" ]
19
2019-05-25T10:48:16.000Z
2022-01-07T10:07:46.000Z
#include <iostream> #include <stdio.h> using namespace std; int main() { string complain; while(getline(cin,complain)) { if(complain.compare("0") == 0) cout << "vai ter copa!\n"; else if(complain.compare("") == 0) break; else cout << "vai ter duas!\...
18.210526
42
0.508671
AnneLivia
f56a2565622f44844754e5a211e68fef25c95406
2,981
cpp
C++
contracts/libc++/upstream/test/std/utilities/any/any.class/any.modifiers/swap.pass.cpp
caokun8008/ckeos
889093599eb59c90e4cbcff2817f4421302fada1
[ "MIT" ]
2,151
2020-04-18T07:31:17.000Z
2022-03-31T08:39:18.000Z
contracts/libc++/upstream/test/std/utilities/any/any.class/any.modifiers/swap.pass.cpp
mirrowall/factschain
b5253228e42e4bfad65085397a2b31632c2cf8ee
[ "MIT" ]
395
2020-04-18T08:22:18.000Z
2021-12-08T13:04:49.000Z
contracts/libc++/upstream/test/std/utilities/any/any.class/any.modifiers/swap.pass.cpp
mirrowall/factschain
b5253228e42e4bfad65085397a2b31632c2cf8ee
[ "MIT" ]
338
2020-04-18T08:03:10.000Z
2022-03-29T12:33:22.000Z
//===----------------------------------------------------------------------===// // // The LLVM Compiler Infrastructure // // This file is dual licensed under the MIT and the University of Illinois Open // Source Licenses. See LICENSE.TXT for details. // //===----------------------------------------...
21.141844
80
0.503187
caokun8008
f56c1a059c68e2a01a528a7212afe8852f5643d5
25,925
cc
C++
talk/owt/sdk/base/win/videorendererd3d11.cc
juicechu/owt-client-native
2c09dee92a5fec63f6775df5cd30d85306fee0db
[ "Apache-2.0" ]
294
2019-02-20T01:44:34.000Z
2022-03-30T15:52:55.000Z
talk/owt/sdk/base/win/videorendererd3d11.cc
juicechu/owt-client-native
2c09dee92a5fec63f6775df5cd30d85306fee0db
[ "Apache-2.0" ]
335
2019-02-20T11:54:49.000Z
2022-03-29T14:26:34.000Z
talk/owt/sdk/base/win/videorendererd3d11.cc
juicechu/owt-client-native
2c09dee92a5fec63f6775df5cd30d85306fee0db
[ "Apache-2.0" ]
163
2019-02-18T06:56:26.000Z
2022-03-30T13:37:24.000Z
// Copyright (C) <2021> Intel Corporation // // SPDX-License-Identifier: Apache-2.0 #include "talk/owt/sdk/base/win/videorendererd3d11.h" #include <array> #include <cstdio> #include "rtc_base/logging.h" #include <system_error> #include "talk/owt/sdk/base/nativehandlebuffer.h" #include "talk/owt/sdk/base/win...
33.451613
109
0.66866
juicechu
f56e921f53097385bf35ef6a78776e7f53bb6164
434
cpp
C++
prime check.cpp
Glenn-Po/LearningCandCPP
4cd2d3386dbe6691a007c42036fb9ebe932e011e
[ "Apache-2.0" ]
null
null
null
prime check.cpp
Glenn-Po/LearningCandCPP
4cd2d3386dbe6691a007c42036fb9ebe932e011e
[ "Apache-2.0" ]
null
null
null
prime check.cpp
Glenn-Po/LearningCandCPP
4cd2d3386dbe6691a007c42036fb9ebe932e011e
[ "Apache-2.0" ]
null
null
null
#include<stdio.h> #include<conio.h> #include<math.h> #include<stdlib.h> #define AND && #define OR || int main(){ start: int num, i, j=0, k; printf("Enter value of the number\n"); scanf("%d", &num); for(i=2;i<num;i++){ if(num%i==0){ j=1; break; } } if(j==0&&num!=1)// if(!j&&num!=1)...
17.36
39
0.520737
Glenn-Po
f56f11e512d1836bbac467400352b945f3e21f96
3,961
cpp
C++
OrderParameters/P2.cpp
Yusheng-cai/mdanalysis
db7386bfc6dc14af94df34feee5db2d7f2649cf4
[ "MIT" ]
null
null
null
OrderParameters/P2.cpp
Yusheng-cai/mdanalysis
db7386bfc6dc14af94df34feee5db2d7f2649cf4
[ "MIT" ]
null
null
null
OrderParameters/P2.cpp
Yusheng-cai/mdanalysis
db7386bfc6dc14af94df34feee5db2d7f2649cf4
[ "MIT" ]
null
null
null
#include "P2.h" namespace OrderParametersRegistry { registry_<P2> registerP2("p2"); } P2::P2(const OrderParametersInput& input) :liquid_crystal(input) { registerOutput("p2",[this](void)-> Real {return this->getP2();}); registerOutput("p20", [this](void) -> Real {return this->getP20();}); registerOutpu...
29.559701
91
0.597071
Yusheng-cai
f56f42393dcd7bbdf7a16ed4a3bab670337e57c3
1,445
cpp
C++
libs/geometry/doc/src/examples/geometries/adapted/boost_range/strided.cpp
Ron2014/boost_1_48_0
19673f69677ffcba7c7bd6e08ec07ee3962f161c
[ "BSL-1.0" ]
null
null
null
libs/geometry/doc/src/examples/geometries/adapted/boost_range/strided.cpp
Ron2014/boost_1_48_0
19673f69677ffcba7c7bd6e08ec07ee3962f161c
[ "BSL-1.0" ]
null
null
null
libs/geometry/doc/src/examples/geometries/adapted/boost_range/strided.cpp
Ron2014/boost_1_48_0
19673f69677ffcba7c7bd6e08ec07ee3962f161c
[ "BSL-1.0" ]
null
null
null
// Boost.Geometry (aka GGL, Generic Geometry Library) // QuickBook Example // Copyright (c) 2011 Barend Gehrels, Amsterdam, the Netherlands. // 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/...
25.350877
80
0.60692
Ron2014
f5703111efbc8754cd3628c9aaf6e583e14b392b
16,341
cpp
C++
Engine/Source/ThirdParty/PhysX/PhysX_3.4/Source/GeomUtils/src/contact/GuLegacyContactBoxHeightField.cpp
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
1
2022-01-29T18:36:12.000Z
2022-01-29T18:36:12.000Z
Engine/Source/ThirdParty/PhysX/PhysX_3.4/Source/GeomUtils/src/contact/GuLegacyContactBoxHeightField.cpp
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
null
null
null
Engine/Source/ThirdParty/PhysX/PhysX_3.4/Source/GeomUtils/src/contact/GuLegacyContactBoxHeightField.cpp
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
null
null
null
// This code contains NVIDIA Confidential Information and is disclosed to you // under a form of NVIDIA software license agreement provided separately to you. // // Notice // NVIDIA Corporation and its licensors retain all intellectual property and // proprietary rights in and to this software and related documentation...
34.257862
238
0.722538
windystrife
f570942c98e0a35d5b42c055a449cce387b9108c
747
cpp
C++
ECE551-cpp/005_read2/test.cpp
yo1995/cht_Duke_courses
d889e85e677f419c67c12e78143f3e8143457944
[ "MIT" ]
8
2019-03-28T18:37:32.000Z
2022-03-29T22:15:05.000Z
ECE551-cpp/005_read2/test.cpp
yo1995/cht_Duke_courses
d889e85e677f419c67c12e78143f3e8143457944
[ "MIT" ]
null
null
null
ECE551-cpp/005_read2/test.cpp
yo1995/cht_Duke_courses
d889e85e677f419c67c12e78143f3e8143457944
[ "MIT" ]
13
2018-09-12T19:56:46.000Z
2020-11-24T22:48:46.000Z
#include<stdio.h> int anotherFunction(int a, int b) { int answer = 42; int x = 0; printf("In anotherFunction(%d,%d)\n",a,b); while (b > a) { printf("a is %d, b is %d\n", a, b); answer = answer + (b - a); b -= x; a += x / 2; x++; } return answer; } int someFunction(int x, int y) { int...
16.977273
56
0.46988
yo1995
f5724329d3de88907fdafdec3919176b6b5cf6d7
3,211
cpp
C++
test/WdtMiscTests.cpp
davide125/wdt
aaec2a1f235a2257e0ca100032aa55df9ad5cc08
[ "BSD-3-Clause" ]
2,894
2015-07-21T17:14:23.000Z
2022-03-30T15:48:29.000Z
test/WdtMiscTests.cpp
davide125/wdt
aaec2a1f235a2257e0ca100032aa55df9ad5cc08
[ "BSD-3-Clause" ]
202
2015-07-21T23:27:02.000Z
2022-03-07T22:46:39.000Z
test/WdtMiscTests.cpp
davide125/wdt
aaec2a1f235a2257e0ca100032aa55df9ad5cc08
[ "BSD-3-Clause" ]
493
2015-07-21T17:28:47.000Z
2022-03-04T18:53:46.000Z
/** * Copyright (c) 2014-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ #include <wdt/Wdt.h> #include <wdt/test/TestCommon.h> #include <thread> using namespace std; namespace ...
29.458716
76
0.676425
davide125
f5730831935cf3f3201474cd1687c8667f892079
27,817
cpp
C++
pnwtl/controls/pntabcontrol.cpp
Adept-Space/pn
d722f408cf3c3b8d0b8028846c0199969b6a103c
[ "BSD-3-Clause" ]
null
null
null
pnwtl/controls/pntabcontrol.cpp
Adept-Space/pn
d722f408cf3c3b8d0b8028846c0199969b6a103c
[ "BSD-3-Clause" ]
null
null
null
pnwtl/controls/pntabcontrol.cpp
Adept-Space/pn
d722f408cf3c3b8d0b8028846c0199969b6a103c
[ "BSD-3-Clause" ]
null
null
null
/** * @file pntabcontrol.cpp * @brief Tab Control for PN * @author Simon Steele * @note Copyright (c) 2010 Simon Steele - http://untidy.net/ * * Based on the CustomTabControl and modified from the VS tabs implementation there * with the intent of creating a cleaner look. * * Programmer's Notepad 2 : The licens...
28.413687
146
0.704389
Adept-Space
f576eb0ba27290f4584053bdb523a0cd48fa1183
5,778
cpp
C++
core/fxge/apple/fx_apple_platform.cpp
ADVAN-ELAA-8QM-PRC1/platform-external-pdfium
e67ae11a46c7b9f48ebc2efab8ca58cc9982cb38
[ "BSD-3-Clause" ]
18
2015-01-07T21:02:47.000Z
2021-01-19T02:14:58.000Z
core/fxge/apple/fx_apple_platform.cpp
ADVAN-ELAA-8QM-PRC1/platform-external-pdfium
e67ae11a46c7b9f48ebc2efab8ca58cc9982cb38
[ "BSD-3-Clause" ]
1
2017-02-14T01:38:56.000Z
2017-02-15T06:01:13.000Z
core/fxge/apple/fx_apple_platform.cpp
ADVAN-ELAA-8QM-PRC1/platform-external-pdfium
e67ae11a46c7b9f48ebc2efab8ca58cc9982cb38
[ "BSD-3-Clause" ]
10
2015-07-04T06:37:40.000Z
2021-04-08T09:31:20.000Z
// Copyright 2014 PDFium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com #include "core/fxcrt/fx_system.h" #ifndef _SKIA_SUPPORT_ #include "core/fxge/...
31.402174
80
0.649533
ADVAN-ELAA-8QM-PRC1
f5793f6671b6cbbe299301fbcb23340696806b46
1,653
cpp
C++
library/dynamicProgramming/palindromicPartitioning.cpp
bluedawnstar/algorithm_library
4c7f64ec61fc2ba059b64ad7ba20fcb5b838ced6
[ "Unlicense" ]
40
2017-11-26T05:29:18.000Z
2020-11-13T00:29:26.000Z
library/dynamicProgramming/palindromicPartitioning.cpp
bluedawnstar/algorithm_library
4c7f64ec61fc2ba059b64ad7ba20fcb5b838ced6
[ "Unlicense" ]
101
2019-02-09T06:06:09.000Z
2021-12-25T16:55:37.000Z
library/dynamicProgramming/palindromicPartitioning.cpp
bluedawnstar/algorithm_library
4c7f64ec61fc2ba059b64ad7ba20fcb5b838ced6
[ "Unlicense" ]
6
2017-01-03T14:17:58.000Z
2021-01-22T10:37:04.000Z
#include <string> #include <functional> #include <vector> #include <algorithm> using namespace std; #include "palindromicPartitioning.h" /////////// For Testing /////////////////////////////////////////////////////// #include <time.h> #include <cassert> #include <string> #include <iostream> #include "../common/iost...
29
103
0.46582
bluedawnstar
f579c75ed37e1c290f5e63bae9a94ad5f9169ae4
468
cpp
C++
solved-lightOj/1225.cpp
Maruf-Tuhin/Online_Judge
cf9b2a522e8b1a9623d3996a632caad7fd67f751
[ "MIT" ]
1
2019-03-31T05:47:30.000Z
2019-03-31T05:47:30.000Z
solved-lightOj/1225.cpp
the-redback/competitive-programming
cf9b2a522e8b1a9623d3996a632caad7fd67f751
[ "MIT" ]
null
null
null
solved-lightOj/1225.cpp
the-redback/competitive-programming
cf9b2a522e8b1a9623d3996a632caad7fd67f751
[ "MIT" ]
null
null
null
#include <cstdio> #include <cstring> main() { char a[15],b[15]; int i,j,l,t,k; scanf("%d",&t); getchar(); for(i=1;i<=t;i++) { gets(a); l=strlen(a); for(j=l-1,k=0;j>=0;j--,k++) { b[k]=a[j]; } b[k]='\0'; if(strcmp(a,b)==0) ...
15.6
39
0.333333
Maruf-Tuhin
f57a92b4a74fcff655a756b83424e97b70e55d7c
51,462
cpp
C++
src/utils/MSFraggerAdapter.cpp
avasq011/FinalProject_OpenMS_76ers
6c9e2c295df6ec0eb296a3badfcdff245a869d59
[ "BSL-1.0", "Zlib", "Apache-2.0" ]
1
2019-07-15T20:50:22.000Z
2019-07-15T20:50:22.000Z
src/utils/MSFraggerAdapter.cpp
avasq011/FinalProject_OpenMS_76ers
6c9e2c295df6ec0eb296a3badfcdff245a869d59
[ "BSL-1.0", "Zlib", "Apache-2.0" ]
150
2017-09-05T09:43:12.000Z
2020-02-03T10:07:36.000Z
src/utils/MSFraggerAdapter.cpp
avasq011/FinalProject_OpenMS_76ers
6c9e2c295df6ec0eb296a3badfcdff245a869d59
[ "BSL-1.0", "Zlib", "Apache-2.0" ]
2
2018-04-02T18:41:20.000Z
2018-08-11T21:39:24.000Z
// -------------------------------------------------------------------------- // OpenMS -- Open-Source Mass Spectrometry // -------------------------------------------------------------------------- // Copyright The OpenMS Team -- Eberhard Karls University Tuebingen, // ETH Zurich, and Freie Universit...
60.614841
376
0.74179
avasq011
f57abae448967498b08b6dca28ee511fb8f8f4fa
324,668
cc
C++
third_party/blink/renderer/core/css/properties/longhands/longhands_custom.cc
DamieFC/chromium
54ce2d3c77723697efd22cfdb02aea38f9dfa25c
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2020-10-18T02:33:40.000Z
2020-10-18T02:33:40.000Z
third_party/blink/renderer/core/css/properties/longhands/longhands_custom.cc
DamieFC/chromium
54ce2d3c77723697efd22cfdb02aea38f9dfa25c
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
3
2021-05-17T16:28:52.000Z
2021-05-21T22:42:22.000Z
third_party/blink/renderer/core/css/properties/longhands/longhands_custom.cc
DamieFC/chromium
54ce2d3c77723697efd22cfdb02aea38f9dfa25c
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
// Copyright 2019 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "third_party/blink/renderer/core/css/basic_shape_functions.h" #include "third_party/blink/renderer/core/css/css_axis_value.h" #include "third_par...
37.164377
86
0.722951
DamieFC
f57b60c102973381d996c3d370d2129ca4de5c5d
211
cpp
C++
src/arch/user_space/destroy.cpp
xhd2015/rsp3-armv8-baremetal
f7e2ac04abd3be20daa94ad9c7ad2c1bad5159b0
[ "MIT" ]
21
2018-03-14T09:45:26.000Z
2021-09-13T01:13:27.000Z
src/arch/user_space/destroy.cpp
xhd2015/rsp3-armv8-baremetal
f7e2ac04abd3be20daa94ad9c7ad2c1bad5159b0
[ "MIT" ]
null
null
null
src/arch/user_space/destroy.cpp
xhd2015/rsp3-armv8-baremetal
f7e2ac04abd3be20daa94ad9c7ad2c1bad5159b0
[ "MIT" ]
4
2018-03-18T11:56:09.000Z
2021-02-04T16:26:52.000Z
/* * exti.cpp * * Created on: Mar 13, 2018 * Author: 13774 */ #include <interrupt/svc_call.h> #include <schedule/PidManager.h> void destroy(int i) { svc_call<SvcFunc::killProcess>(PID_CURRENT,i); }
15.071429
47
0.663507
xhd2015
f58052c19e8ce9fb896998e3cc7b91608b4ec265
4,564
cpp
C++
legacy/galaxy/components/BatchSprite.cpp
reworks/rework
90508252c9a4c77e45a38e7ce63cfd99f533f42b
[ "Apache-2.0" ]
19
2020-02-02T16:36:46.000Z
2021-12-25T07:02:28.000Z
legacy/galaxy/components/BatchSprite.cpp
reworks/rework
90508252c9a4c77e45a38e7ce63cfd99f533f42b
[ "Apache-2.0" ]
103
2020-10-13T09:03:42.000Z
2022-03-26T03:41:50.000Z
legacy/galaxy/components/BatchSprite.cpp
reworks/rework
90508252c9a4c77e45a38e7ce63cfd99f533f42b
[ "Apache-2.0" ]
5
2020-03-13T06:14:37.000Z
2021-12-12T02:13:46.000Z
/// /// BatchSprite.cpp /// galaxy /// /// Refer to LICENSE.txt for more details. /// #include "galaxy/core/ServiceLocator.hpp" #include "galaxy/resource/TextureBook.hpp" #include "BatchSprite.hpp" namespace galaxy { namespace components { BatchSprite::BatchSprite() noexcept : Serializable {this} , m_index...
23.050505
111
0.622699
reworks
f580630eea06ce8ba9b530ae7bc4a4449b7fc846
1,167
cpp
C++
Contest 1008/E.cpp
PC-DOS/SEUCPP-OJ-KEYS
073f97fb29a659abd25554330382f0a7149c2511
[ "MIT" ]
null
null
null
Contest 1008/E.cpp
PC-DOS/SEUCPP-OJ-KEYS
073f97fb29a659abd25554330382f0a7149c2511
[ "MIT" ]
null
null
null
Contest 1008/E.cpp
PC-DOS/SEUCPP-OJ-KEYS
073f97fb29a659abd25554330382f0a7149c2511
[ "MIT" ]
null
null
null
#include <iostream> #include <iomanip> #include <cmath> #include <string> #include <cstring> using namespace std; long GetNonOddCount(long number){ string num; long nCount = 0; num = to_string(number); long i; int tmp; for (i = 0; i <= num.length() - 1; ++i){ tmp = num[i] - '0'; ...
21.611111
58
0.449871
PC-DOS
f5815785970c6447eadbd394e8317436b675aff9
847
cpp
C++
src/wallet/test/wallet_transaction_tests.cpp
wilofice/dahomey
5cbc2406a27e68bbe30f85a7162b86f4741effab
[ "MIT" ]
1
2022-03-19T13:35:37.000Z
2022-03-19T13:35:37.000Z
src/wallet/test/wallet_transaction_tests.cpp
wilofice/danxome
5cbc2406a27e68bbe30f85a7162b86f4741effab
[ "MIT" ]
null
null
null
src/wallet/test/wallet_transaction_tests.cpp
wilofice/danxome
5cbc2406a27e68bbe30f85a7162b86f4741effab
[ "MIT" ]
null
null
null
// Copyright (c) 2021 The Danxome Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <wallet/transaction.h> #include <wallet/test/wallet_test_fixture.h> #include <boost/test/unit_test.hpp> namespace wall...
31.37037
98
0.726092
wilofice
f5815e86c78f4b08b3a49c393e4218bf434c004e
2,314
cpp
C++
gui/tool-panel.cpp
lukas-ke/faint-graphics-editor
33eb9e6a3f2216fb2cf6ef9709a14f3d20b78fbf
[ "Apache-2.0" ]
10
2016-12-28T22:06:31.000Z
2021-05-24T13:42:30.000Z
gui/tool-panel.cpp
lukas-ke/faint-graphics-editor
33eb9e6a3f2216fb2cf6ef9709a14f3d20b78fbf
[ "Apache-2.0" ]
4
2015-10-09T23:55:10.000Z
2020-04-04T08:09:22.000Z
gui/tool-panel.cpp
lukas-ke/faint-graphics-editor
33eb9e6a3f2216fb2cf6ef9709a14f3d20b78fbf
[ "Apache-2.0" ]
null
null
null
// -*- coding: us-ascii-unix -*- // Copyright 2012 Lukas Kemmer // // 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 a...
24.88172
70
0.715644
lukas-ke
f584a645adc182c99c000b5ed7983a7d5d77dfb0
1,587
hpp
C++
Assignment6/BVH.hpp
Antares0982/GAMES101
d45cf6ad14fb633e64ecc5ef10e8637d27472f00
[ "MIT" ]
1
2021-12-19T08:33:48.000Z
2021-12-19T08:33:48.000Z
Assignment6/BVH.hpp
Antares0982/GAMES101
d45cf6ad14fb633e64ecc5ef10e8637d27472f00
[ "MIT" ]
null
null
null
Assignment6/BVH.hpp
Antares0982/GAMES101
d45cf6ad14fb633e64ecc5ef10e8637d27472f00
[ "MIT" ]
null
null
null
// // Created by LEI XU on 5/16/19. // #ifndef RAYTRACING_BVH_H #define RAYTRACING_BVH_H #include "Bounds3.hpp" #include "Intersection.hpp" #include "Object.hpp" #include "Ray.hpp" #include "Vector.hpp" #include <atomic> #include <ctime> #include <memory> #include <vector> struct BVHBuildNode; // BVHAccel Forward De...
22.352113
108
0.691241
Antares0982