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
3b9b986737b81383ae0ff870aae62b36e1df9a3c
1,970
cpp
C++
logdevice/server/admincommands/Setting.cpp
SimonKinds/LogDevice
fc9ac2fccb6faa3292b2b0a610a9eb77fd445824
[ "BSD-3-Clause" ]
1
2018-10-17T06:49:04.000Z
2018-10-17T06:49:04.000Z
logdevice/server/admincommands/Setting.cpp
msdgwzhy6/LogDevice
bc2491b7dfcd129e25490c7d5321d3d701f53ac4
[ "BSD-3-Clause" ]
null
null
null
logdevice/server/admincommands/Setting.cpp
msdgwzhy6/LogDevice
bc2491b7dfcd129e25490c7d5321d3d701f53ac4
[ "BSD-3-Clause" ]
null
null
null
/** * Copyright (c) 2017-present, Facebook, Inc. and its affiliates. * 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 "logdevice/common/commandline_util_chrono.h" #include "logdevice/common/debug...
37.169811
77
0.641624
SimonKinds
3b9fe445254bf70394f25bf86cf613ca2970ddbd
17,545
cpp
C++
rose_sketch/arduino/lib/ICS/IcsServo.cpp
h7ga40/GR-ROSE-TensorFlowLite
259033510f2509a2d790c175967f235cc25c1742
[ "BSD-2-Clause" ]
null
null
null
rose_sketch/arduino/lib/ICS/IcsServo.cpp
h7ga40/GR-ROSE-TensorFlowLite
259033510f2509a2d790c175967f235cc25c1742
[ "BSD-2-Clause" ]
null
null
null
rose_sketch/arduino/lib/ICS/IcsServo.cpp
h7ga40/GR-ROSE-TensorFlowLite
259033510f2509a2d790c175967f235cc25c1742
[ "BSD-2-Clause" ]
null
null
null
// KONDO ICS Serial Servo // Based on ICS3.5 #include <stdio.h> #include <string.h> #include "IcsController.h" #include "IcsServo.h" /**************************************** Constants of ICS Protocol ****************************************/ // CMD(command) #define CMD_POSITION 0x80 // POSITION command #def...
24.607293
98
0.545683
h7ga40
3ba077d560b2209e0d0562bb4ac166bf4f9b42f7
50,062
cpp
C++
src/Providers/TestProviders/LocalizedProvider/LocalizedProvider.cpp
natronkeltner/openpegasus
e64f383c1ed37826041fc63e83b4e65fc1c679ae
[ "ICU", "Unlicense", "OpenSSL", "MIT" ]
1
2021-11-12T21:28:50.000Z
2021-11-12T21:28:50.000Z
src/Providers/TestProviders/LocalizedProvider/LocalizedProvider.cpp
natronkeltner/openpegasus
e64f383c1ed37826041fc63e83b4e65fc1c679ae
[ "ICU", "Unlicense", "OpenSSL", "MIT" ]
39
2021-01-18T19:28:41.000Z
2022-03-27T20:55:36.000Z
src/Providers/TestProviders/LocalizedProvider/LocalizedProvider.cpp
natronkeltner/openpegasus
e64f383c1ed37826041fc63e83b4e65fc1c679ae
[ "ICU", "Unlicense", "OpenSSL", "MIT" ]
4
2021-07-09T12:52:33.000Z
2021-12-21T15:05:59.000Z
//%LICENSE//////////////////////////////////////////////////////////////// // // Licensed to The Open Group (TOG) under one or more contributor license // agreements. Refer to the OpenPegasusNOTICE.txt file distributed with // this work for additional information regarding copyright ownership. // Each contributor lice...
34.10218
80
0.668611
natronkeltner
3ba0cf62664766a2fbd0f81f0ec793f77e0b5108
30,407
cpp
C++
src/server/services/wfs/qgswfsgetcapabilities.cpp
dyna-mis/Hilabeling
cb7d5d4be29624a20c8a367162dbc6fd779b2b52
[ "MIT" ]
null
null
null
src/server/services/wfs/qgswfsgetcapabilities.cpp
dyna-mis/Hilabeling
cb7d5d4be29624a20c8a367162dbc6fd779b2b52
[ "MIT" ]
null
null
null
src/server/services/wfs/qgswfsgetcapabilities.cpp
dyna-mis/Hilabeling
cb7d5d4be29624a20c8a367162dbc6fd779b2b52
[ "MIT" ]
1
2021-12-25T08:40:30.000Z
2021-12-25T08:40:30.000Z
/*************************************************************************** qgswfsgecapabilities.cpp ------------------------- begin : December 20 , 2016 copyright : (C) 2007 by Marco Hugentobler (original code) ...
47.142636
160
0.687999
dyna-mis
3ba0f92f37beeafe101daf9808789de976cbfc28
812
cpp
C++
leetcode.com/0005 Longest Palindromic Substring/better.cpp
sky-bro/AC
29bfa3f13994612887e18065fa6e854b9a29633d
[ "MIT" ]
1
2020-08-20T11:02:49.000Z
2020-08-20T11:02:49.000Z
leetcode.com/0005 Longest Palindromic Substring/better.cpp
sky-bro/AC
29bfa3f13994612887e18065fa6e854b9a29633d
[ "MIT" ]
null
null
null
leetcode.com/0005 Longest Palindromic Substring/better.cpp
sky-bro/AC
29bfa3f13994612887e18065fa6e854b9a29633d
[ "MIT" ]
1
2022-01-01T23:23:13.000Z
2022-01-01T23:23:13.000Z
// O(N*N) #include <iostream> #include <string> #include <vector> using namespace std; class Solution { public: string longestPalindrome(string s) { int sLen = s.length(), maxLen = 0, maxStart = 0; int i = 0, l = 0, r = 0, len = 0; while(i<sLen-maxLen/2) { l = r =...
22.555556
62
0.488916
sky-bro
3ba2f1a1e49122cfb4e52fe42e414242e3b28b37
2,668
cpp
C++
oldlib/BBST/AVL_set.cpp
hotman78/cpplib
c2f85c8741cdd0b731a5aa828b28b38c70c8d699
[ "CC0-1.0" ]
null
null
null
oldlib/BBST/AVL_set.cpp
hotman78/cpplib
c2f85c8741cdd0b731a5aa828b28b38c70c8d699
[ "CC0-1.0" ]
null
null
null
oldlib/BBST/AVL_set.cpp
hotman78/cpplib
c2f85c8741cdd0b731a5aa828b28b38c70c8d699
[ "CC0-1.0" ]
null
null
null
template<typename T> class AVL_set{ struct node; using np=node*; struct node{ T val; int cnt=1; int dep=0; np ch[2]={nullptr,nullptr}; node(T val):val(val){} }; np root=nullptr; inline int count(np t){return t?t->cnt:0;} inline int depth(np t){return t?t->de...
31.023256
92
0.562219
hotman78
3ba580d7b5e16ca2ea04c2843780b2e5bc52ec95
17,353
cpp
C++
src/slave/containerizer/isolators/cgroups/mem.cpp
tillt/mesos
3031114c7bb93853b526fa62e4735a96bc8a9150
[ "Apache-2.0" ]
1
2015-07-18T09:47:35.000Z
2015-07-18T09:47:35.000Z
src/slave/containerizer/isolators/cgroups/mem.cpp
yuzhu/mesos-akaros
6a905943542cd93e1f71069ea6c228b7085533b7
[ "Apache-2.0" ]
1
2015-12-21T23:47:34.000Z
2015-12-21T23:47:47.000Z
src/slave/containerizer/isolators/cgroups/mem.cpp
tillt/mesos
3031114c7bb93853b526fa62e4735a96bc8a9150
[ "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...
29.511905
79
0.659079
tillt
3ba5be8f00c358d3868785e66f188eb121c9a0ca
9,653
cpp
C++
pxr/usd/lib/usd/testenv/testUsdSchemaGen/baseline/nested_ns_base.cpp
dalgos-adsk/USD
65320d266057ae0a68626217f54a0298ac092799
[ "AML" ]
18
2017-10-28T22:37:48.000Z
2022-01-26T12:00:24.000Z
pxr/usd/lib/usd/testenv/testUsdSchemaGen/baseline/nested_ns_base.cpp
piscees/USD
65320d266057ae0a68626217f54a0298ac092799
[ "AML" ]
null
null
null
pxr/usd/lib/usd/testenv/testUsdSchemaGen/baseline/nested_ns_base.cpp
piscees/USD
65320d266057ae0a68626217f54a0298ac092799
[ "AML" ]
3
2019-12-03T16:46:14.000Z
2021-08-23T14:56:21.000Z
// // Copyright 2016 Pixar // // Licensed under the Apache License, Version 2.0 (the "Apache License") // with the following modification; you may not use this file except in // compliance with the Apache License and the following modification to it: // Section 6. Trademarks. is deleted and replaced with: // // 6. Trad...
30.355346
101
0.655858
dalgos-adsk
3ba66eaa7b0d64f3a98adca6e668728cf68f0a30
29,775
cpp
C++
gui/main_window/sidebar/MyProfilePage.cpp
Qt-Widgets/im-desktop-imported
85fed419229597bc10de59de268f5d898f853405
[ "Apache-2.0" ]
524
2016-03-16T10:17:28.000Z
2019-12-29T02:58:56.000Z
gui/main_window/sidebar/MyProfilePage.cpp
Qt-Widgets/im-desktop-imported-widgets-collection
85fed419229597bc10de59de268f5d898f853405
[ "Apache-2.0" ]
68
2016-03-16T16:23:17.000Z
2019-09-20T22:37:28.000Z
gui/main_window/sidebar/MyProfilePage.cpp
Qt-Widgets/im-desktop-imported-widgets-collection
85fed419229597bc10de59de268f5d898f853405
[ "Apache-2.0" ]
142
2016-03-16T10:25:03.000Z
2019-12-26T14:08:47.000Z
#include "stdafx.h" #include "MyProfilePage.h" #include "SidebarUtils.h" #include "EditNameWidget.h" #include "EditDescriptionWidget.h" #include "EditNicknameWidget.h" #include "../MainPage.h" #include "../MainWindow.h" #include "../PhoneWidget.h" #include "../contact_list/ContactListModel.h" #include "../contact_list...
36.668719
214
0.620185
Qt-Widgets
3ba93888c98593010f148d1e15cc0a859dde5a9d
6,416
cpp
C++
videosource.cpp
bulletsk/pientertain
96f29b8d13467c89b22c862505953e2e0644451f
[ "BSD-3-Clause" ]
null
null
null
videosource.cpp
bulletsk/pientertain
96f29b8d13467c89b22c862505953e2e0644451f
[ "BSD-3-Clause" ]
null
null
null
videosource.cpp
bulletsk/pientertain
96f29b8d13467c89b22c862505953e2e0644451f
[ "BSD-3-Clause" ]
null
null
null
#include "videosource.hh" #include "videosourceimage.hh" #include "videosourceraspberrycam.hh" #include <QDebug> #include <QSettings> #include <QCoreApplication> #include <QElapsedTimer> static const int s_minArea = 5; static const int s_maxArea = 200; static const int s_minSmooth = 0; static const int s_maxSmooth = 1...
24.676923
209
0.662251
bulletsk
3ba95f0f98b438ca726581019747f6b12a0a106a
1,040
cpp
C++
libs/libupmq/libupmq/MessageEnumerationImpl.cpp
asvgit/broker
766b66015b842be4d1106ff6c6145ad489c03c59
[ "Apache-2.0" ]
10
2019-10-31T14:36:01.000Z
2022-02-25T13:47:23.000Z
libs/libupmq/libupmq/MessageEnumerationImpl.cpp
asvgit/broker
766b66015b842be4d1106ff6c6145ad489c03c59
[ "Apache-2.0" ]
6
2019-11-07T14:55:50.000Z
2021-03-03T09:31:35.000Z
libs/libupmq/libupmq/MessageEnumerationImpl.cpp
asvgit/broker
766b66015b842be4d1106ff6c6145ad489c03c59
[ "Apache-2.0" ]
3
2019-11-07T14:23:33.000Z
2020-11-05T18:35:16.000Z
/* * Copyright 2014-present IVK JSC. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
31.515152
75
0.772115
asvgit
3baa9a73ca36b841fca71531d2526543986bc046
1,311
cpp
C++
I2C/I2CDev.cpp
jwolf02/libdriver
e83992ab3e83e2d58f59b021926f6e947ac20897
[ "MIT" ]
null
null
null
I2C/I2CDev.cpp
jwolf02/libdriver
e83992ab3e83e2d58f59b021926f6e947ac20897
[ "MIT" ]
null
null
null
I2C/I2CDev.cpp
jwolf02/libdriver
e83992ab3e83e2d58f59b021926f6e947ac20897
[ "MIT" ]
null
null
null
#include <I2CDev.hpp> #include <fcntl.h> #include <unistd.h> #include <sys/ioctl.h> #include <sys/types.h> #include <linux/i2c-dev.h> #include <common.hpp> const std::string I2CDev::DEFAULT_NAME = "/dev/i2c-1"; I2CDev::I2CDev(const std::string &devname, int address) { open(devname, address); } I2CDev::~I2CDev() ...
18.728571
60
0.561404
jwolf02
3bab3143caf3d6293adb586e53216c7a80453d9e
31,173
hpp
C++
include/integratorxx/deprecated/lebedev/lebedev_266.hpp
evaleev/IntegratorXX
70339ca2d8f753e477dffb64788913c1bc12b519
[ "BSD-3-Clause" ]
null
null
null
include/integratorxx/deprecated/lebedev/lebedev_266.hpp
evaleev/IntegratorXX
70339ca2d8f753e477dffb64788913c1bc12b519
[ "BSD-3-Clause" ]
null
null
null
include/integratorxx/deprecated/lebedev/lebedev_266.hpp
evaleev/IntegratorXX
70339ca2d8f753e477dffb64788913c1bc12b519
[ "BSD-3-Clause" ]
3
2019-05-09T21:02:21.000Z
2021-03-04T21:34:35.000Z
namespace IntegratorXX::deprecated { namespace LebedevGrids { /** * \brief Lebedev-Laikov Quadrature specification for Order = 266 * */ template <typename T> struct lebedev_266 { static constexpr std::array<cartesian_pt_t<T>,266> points = { 1.000000000000000e+00, 0.000000000000000e+00, 0.000000...
56.472826
84
0.655535
evaleev
3bb01ab833d6e10dd860d94800fe384865ee0ada
5,905
cpp
C++
OrionUO/Managers/ColorManager.cpp
SirGlorg/OrionUO
42209bd144392fddff9e910562ccec1bf5704049
[ "MIT" ]
1
2019-04-27T22:20:34.000Z
2019-04-27T22:20:34.000Z
OrionUO/Managers/ColorManager.cpp
SirGlorg/OrionUO
42209bd144392fddff9e910562ccec1bf5704049
[ "MIT" ]
1
2018-12-28T13:45:08.000Z
2018-12-28T13:45:08.000Z
OrionUO/Managers/ColorManager.cpp
heppcatt/Siebenwind-Beta-Client
ba25683f37f9bb7496d12aa2b2117cba397370e2
[ "MIT" ]
null
null
null
// MIT License // Copyright (C) August 2016 Hotride CColorManager g_ColorManager; CColorManager::CColorManager() : m_HuesCount(0) { } CColorManager::~CColorManager() { } void CColorManager::Init() { DEBUG_TRACE_FUNCTION; intptr_t addr = (intptr_t)g_FileManager.m_HuesMul.Start; size_t size = g_FileM...
23.156863
97
0.535986
SirGlorg
3bb1f1a5b5b56545f05e7831643f4b80548cc8f5
841
cpp
C++
Source/Runtime/Engine/Private/GameFramework/PlayerController.cpp
Othereum/NoEngineGame
e3c9c9a330ba8e724cd96f98355b556d24e73d9d
[ "MIT" ]
23
2020-05-21T06:25:29.000Z
2021-04-06T03:37:28.000Z
Source/Runtime/Engine/Private/GameFramework/PlayerController.cpp
Othereum/NoEngineGame
e3c9c9a330ba8e724cd96f98355b556d24e73d9d
[ "MIT" ]
72
2020-06-09T04:46:27.000Z
2020-12-07T03:20:51.000Z
Source/Runtime/Engine/Private/GameFramework/PlayerController.cpp
Othereum/NoEngineGame
e3c9c9a330ba8e724cd96f98355b556d24e73d9d
[ "MIT" ]
4
2020-06-10T02:23:54.000Z
2022-03-28T07:22:08.000Z
#include "GameFramework/PlayerController.hpp" #include "Camera/PlayerCameraManager.hpp" #include "Engine/World.hpp" #include "GameFramework/Pawn.hpp" namespace oeng { inline namespace engine { ViewInfo APlayerController::CalcCamera() const { if (const auto pcm = pcm_.lock()) return pcm->CalcCamera(); ...
21.025
72
0.699168
Othereum
3bb2c639c4dbcb5c1589ef401096ea02893b3d1f
10,019
cpp
C++
Gems/Atom/Feature/Common/Code/Source/DiffuseGlobalIllumination/DiffuseProbeGridBlendIrradiancePass.cpp
BreakerOfThings/o3de
f4c59f868c726470ec910623facd836047d059c3
[ "Apache-2.0", "MIT" ]
null
null
null
Gems/Atom/Feature/Common/Code/Source/DiffuseGlobalIllumination/DiffuseProbeGridBlendIrradiancePass.cpp
BreakerOfThings/o3de
f4c59f868c726470ec910623facd836047d059c3
[ "Apache-2.0", "MIT" ]
null
null
null
Gems/Atom/Feature/Common/Code/Source/DiffuseGlobalIllumination/DiffuseProbeGridBlendIrradiancePass.cpp
BreakerOfThings/o3de
f4c59f868c726470ec910623facd836047d059c3
[ "Apache-2.0", "MIT" ]
null
null
null
/* * 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 <Atom/RHI/Factory.h> #include <Atom/RHI/FrameGraphInterface.h> #include <Atom/RHI/FrameGr...
50.095
225
0.655954
BreakerOfThings
3bb784e659ab32f3983174859ac21fc5e6474b88
2,529
cpp
C++
Kernel/Bus/USB/USBManagement.cpp
clarking/serenity
5b86698bb85dda4021b7fb9ecae081b8a656ce02
[ "BSD-2-Clause" ]
null
null
null
Kernel/Bus/USB/USBManagement.cpp
clarking/serenity
5b86698bb85dda4021b7fb9ecae081b8a656ce02
[ "BSD-2-Clause" ]
null
null
null
Kernel/Bus/USB/USBManagement.cpp
clarking/serenity
5b86698bb85dda4021b7fb9ecae081b8a656ce02
[ "BSD-2-Clause" ]
null
null
null
/* * Copyright (c) 2021, Luke Wilde <lukew@serenityos.org> * * SPDX-License-Identifier: BSD-2-Clause */ #include <AK/Singleton.h> #include <Kernel/Bus/PCI/API.h> #include <Kernel/Bus/USB/UHCI/UHCIController.h> #include <Kernel/Bus/USB/USBManagement.h> #include <Kernel/CommandLine.h> #include <Kernel/FileSystem/Sys...
30.46988
173
0.680902
clarking
3bbd74203c29a15a3efe8bb551498b1c43cef2fa
3,338
cpp
C++
tests/TestIo/TestSerialPort.cpp
cvilas/grape-old
d8e9b184fff396982be8d230214a1f66a7a8fcc9
[ "BSD-3-Clause" ]
null
null
null
tests/TestIo/TestSerialPort.cpp
cvilas/grape-old
d8e9b184fff396982be8d230214a1f66a7a8fcc9
[ "BSD-3-Clause" ]
4
2018-06-04T08:18:21.000Z
2018-07-13T14:36:03.000Z
tests/TestIo/TestSerialPort.cpp
cvilas/grape-old
d8e9b184fff396982be8d230214a1f66a7a8fcc9
[ "BSD-3-Clause" ]
null
null
null
#include "TestSerialPort.h" //============================================================================= TestSerialPort::TestSerialPort() //============================================================================= { } //----------------------------------------------------------------------------- void TestSeri...
26.078125
79
0.346016
cvilas
3bbdc5980d62ce3bf8a37756b2a0ee5cb51da2ee
1,406
cpp
C++
src/Numerics/OhmmsBlas.cpp
prckent/qmcpack
127caf219ee99c2449b803821fcc8b1304b66ee1
[ "NCSA" ]
null
null
null
src/Numerics/OhmmsBlas.cpp
prckent/qmcpack
127caf219ee99c2449b803821fcc8b1304b66ee1
[ "NCSA" ]
null
null
null
src/Numerics/OhmmsBlas.cpp
prckent/qmcpack
127caf219ee99c2449b803821fcc8b1304b66ee1
[ "NCSA" ]
null
null
null
////////////////////////////////////////////////////////////////////////////////////// // This file is distributed under the University of Illinois/NCSA Open Source License. // See LICENSE file in top directory for details. // // Copyright (c) 2016 Jeongnim Kim and QMCPACK developers. // // File developed by: Jeongnim ...
43.9375
102
0.59175
prckent
3bbea0e6239fc07e184f93e97f59ef930d701016
12,594
cpp
C++
schunk_modular_robotics/schunk_libm5api/src/Util/Message.cpp
briefgw/brief_schunklwa4p_simulation
7b148225bfca2f2d3289a9b924d6afde7507b9e8
[ "BSD-3-Clause" ]
1
2020-11-25T13:02:50.000Z
2020-11-25T13:02:50.000Z
schunk_modular_robotics/schunk_libm5api/src/Util/Message.cpp
briefgw/brief_schunklwa4p_simulation
7b148225bfca2f2d3289a9b924d6afde7507b9e8
[ "BSD-3-Clause" ]
null
null
null
schunk_modular_robotics/schunk_libm5api/src/Util/Message.cpp
briefgw/brief_schunklwa4p_simulation
7b148225bfca2f2d3289a9b924d6afde7507b9e8
[ "BSD-3-Clause" ]
null
null
null
/****************************************************************************** * * Copyright (c) 2012 * * SCHUNK GmbH & Co. KG * * ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ * * Project name: Drivers for "Amtec M5 Protocol" Electronics V4 * ...
29.70283
164
0.529379
briefgw
3bbf38d95987b28ea4f93d45ebe6288a0372fe54
87,627
cpp
C++
opencl/test/unit_test/command_queue/enqueue_svm_tests.cpp
maleadt/compute-runtime
5d90e2ab1defd413dc9633fe237a44c2a1298185
[ "Intel", "MIT" ]
null
null
null
opencl/test/unit_test/command_queue/enqueue_svm_tests.cpp
maleadt/compute-runtime
5d90e2ab1defd413dc9633fe237a44c2a1298185
[ "Intel", "MIT" ]
null
null
null
opencl/test/unit_test/command_queue/enqueue_svm_tests.cpp
maleadt/compute-runtime
5d90e2ab1defd413dc9633fe237a44c2a1298185
[ "Intel", "MIT" ]
null
null
null
/* * Copyright (C) 2018-2022 Intel Corporation * * SPDX-License-Identifier: MIT * */ #include "shared/source/command_stream/command_stream_receiver.h" #include "shared/source/debug_settings/debug_settings_manager.h" #include "shared/source/helpers/aligned_memory.h" #include "shared/source/memory_manager/allocatio...
42.49612
183
0.689822
maleadt
3bc16a6c0b4cffec924641317bf2c3959611c851
30,725
cpp
C++
physx/source/physx/src/NpShapeManager.cpp
yangfengzzz/PhysX
aed9c3035955d4ad90e5741f7d1dcfb5c178d44f
[ "BSD-3-Clause" ]
null
null
null
physx/source/physx/src/NpShapeManager.cpp
yangfengzzz/PhysX
aed9c3035955d4ad90e5741f7d1dcfb5c178d44f
[ "BSD-3-Clause" ]
null
null
null
physx/source/physx/src/NpShapeManager.cpp
yangfengzzz/PhysX
aed9c3035955d4ad90e5741f7d1dcfb5c178d44f
[ "BSD-3-Clause" ]
null
null
null
// // 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 and the following disclaimer. // * Redistributions in bin...
40.00651
120
0.710073
yangfengzzz
3bc1b262680b05ee3564c5355d4bc61291d1b6e0
5,742
cpp
C++
c3dToolKit/core/c3dMath.cpp
wantnon2/3DToolKit-2-for-cocos2dx
518aa856f06788929e50897b43969e5cfa50c3cf
[ "MIT" ]
11
2015-02-12T04:34:43.000Z
2021-10-10T06:24:55.000Z
c3dToolKit/core/c3dMath.cpp
wantnon2/3DToolKit-2-for-cocos2dx
518aa856f06788929e50897b43969e5cfa50c3cf
[ "MIT" ]
null
null
null
c3dToolKit/core/c3dMath.cpp
wantnon2/3DToolKit-2-for-cocos2dx
518aa856f06788929e50897b43969e5cfa50c3cf
[ "MIT" ]
8
2015-06-30T11:51:30.000Z
2021-10-10T06:24:56.000Z
// // c3dMath.cpp // HelloCpp // // Created by yang chao (wantnon) on 14-1-4. // // #include "c3dMath.h" Cc3dMatrix4 unitMat(){ Cc3dMatrix4 mat(1,0,0,0,//col 1 0,1,0,0, 0,0,1,0, 0,0,0,1); return mat; } Cc3dMatrix4 zeroMat(){ Cc3dMatrix4 mat(0,0...
25.40708
98
0.40613
wantnon2
3bc2505ea89dc9147dfbdcbf0647899b6f6fba57
16,952
cc
C++
tensorflow/core/profiler/utils/event_span.cc
so5462/tensorflow
0f9acc15ba56ecf01a79889d29295310559c681a
[ "Apache-2.0" ]
74
2020-07-06T17:11:39.000Z
2022-01-28T06:31:28.000Z
tensorflow/core/profiler/utils/event_span.cc
sseung0703/tensorflow
be084bd7a4dd241eb781fc704f57bcacc5c9b6dd
[ "Apache-2.0" ]
88
2020-11-24T08:18:10.000Z
2022-03-25T20:28:30.000Z
tensorflow/core/profiler/utils/event_span.cc
sseung0703/tensorflow
be084bd7a4dd241eb781fc704f57bcacc5c9b6dd
[ "Apache-2.0" ]
12
2020-07-08T07:27:17.000Z
2021-12-27T08:54:27.000Z
/* Copyright 2019 The TensorFlow 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 a...
34.952577
80
0.690125
so5462
3bc36ca0d5eb8639852581909371c1750b8d0067
1,555
cxx
C++
larcv/core/DataFormat/ChStatus.cxx
mmajewsk/larcv2
9ee74e42b293d547d3a8510fa2139b2d4ccf6b89
[ "MIT" ]
14
2017-10-19T15:08:29.000Z
2021-03-31T21:21:07.000Z
larcv/core/DataFormat/ChStatus.cxx
mmajewsk/larcv2
9ee74e42b293d547d3a8510fa2139b2d4ccf6b89
[ "MIT" ]
32
2017-10-25T22:54:06.000Z
2019-10-01T13:57:15.000Z
larcv/core/DataFormat/ChStatus.cxx
mmajewsk/larcv2
9ee74e42b293d547d3a8510fa2139b2d4ccf6b89
[ "MIT" ]
16
2017-12-07T12:04:40.000Z
2021-11-15T00:53:31.000Z
#ifndef __LARCV_CHSTATUS_CXX__ #define __LARCV_CHSTATUS_CXX__ #include <sstream> #include "ChStatus.h" #include "larcv/core/Base/larbys.h" namespace larcv { void ChStatus::initialize(size_t nwires, short init_status) { _status_v.resize(nwires); reset(init_status); } void ChStatus::reset(short init...
25.080645
88
0.578778
mmajewsk
3bc75cd7054bae66c21293a99fba3e02c13ebe72
7,819
cpp
C++
src/pke/unittest/UnitTestEvalSum.cpp
mattdano/palisade
6e49bc3a850672a142eea209e6d71505e689cb81
[ "BSD-2-Clause" ]
null
null
null
src/pke/unittest/UnitTestEvalSum.cpp
mattdano/palisade
6e49bc3a850672a142eea209e6d71505e689cb81
[ "BSD-2-Clause" ]
null
null
null
src/pke/unittest/UnitTestEvalSum.cpp
mattdano/palisade
6e49bc3a850672a142eea209e6d71505e689cb81
[ "BSD-2-Clause" ]
null
null
null
/* * @author TPOC: contact@palisade-crypto.org * * @copyright Copyright (c) 2019, New Jersey Institute of Technology (NJIT) * 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. Redistributio...
29.175373
127
0.775163
mattdano
3bc7d4336e9349b11efdfcd1659df26daf4d5236
1,250
cpp
C++
codeforce/528/B.cpp
heiseish/Competitive-Programming
e4dd4db83c38e8837914562bc84bc8c102e68e34
[ "MIT" ]
5
2019-03-17T01:33:19.000Z
2021-06-25T09:50:45.000Z
codeforce/528/B.cpp
heiseish/Competitive-Programming
e4dd4db83c38e8837914562bc84bc8c102e68e34
[ "MIT" ]
null
null
null
codeforce/528/B.cpp
heiseish/Competitive-Programming
e4dd4db83c38e8837914562bc84bc8c102e68e34
[ "MIT" ]
null
null
null
/** Is a reason necessary? I don't know why you would kill someone but as for saving someone…a logical mind isn\'t needed, right? */ #include <bits/stdc++.h> #define forn(i, l, r) for(int i=l;i<=r;i++) #define all(v) v.begin(),v.end() #define pb push_back #define nd second #define st first #define debug(x) cou...
24.038462
133
0.6072
heiseish
3bcb38cb3c0d92f67dda0ea62a76f9effffdd81a
629
cpp
C++
solved-uva/195-2.cpp
Maruf-Tuhin/Online_Judge
cf9b2a522e8b1a9623d3996a632caad7fd67f751
[ "MIT" ]
1
2019-03-31T05:47:30.000Z
2019-03-31T05:47:30.000Z
solved-uva/195-2.cpp
the-redback/competitive-programming
cf9b2a522e8b1a9623d3996a632caad7fd67f751
[ "MIT" ]
null
null
null
solved-uva/195-2.cpp
the-redback/competitive-programming
cf9b2a522e8b1a9623d3996a632caad7fd67f751
[ "MIT" ]
null
null
null
#include <stdio.h> #include <math.h> #include <string.h> #include <vector> #include <algorithm> #include <ctype.h> using namespace std; #define mem(x,y) memset(x,y,sizeof(x)); char a[100]; bool comp(char b,char c) { if(tolower(b)==tolower(c)) return b<c; //porer ta Capital hole swap kore age jaba els...
17.971429
65
0.538951
Maruf-Tuhin
3bd1ef151b2498adedff7c32ba561b7085efcb93
5,737
cc
C++
win8/delegate_execute/delegate_execute.cc
7kbird/chrome
f56688375530f1003e34c34f441321977c5af3c3
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2019-01-16T03:57:39.000Z
2019-01-16T03:57:39.000Z
win8/delegate_execute/delegate_execute.cc
7kbird/chrome
f56688375530f1003e34c34f441321977c5af3c3
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2018-02-10T21:00:08.000Z
2018-03-20T05:09:50.000Z
win8/delegate_execute/delegate_execute.cc
aranajhonny/chromium
caf5bcb822f79b8997720e589334266551a50a13
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2020-11-04T07:23:37.000Z
2020-11-04T07:23:37.000Z
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include <atlbase.h> #include <atlcom.h> #include <atlctl.h> #include <initguid.h> #include <shellapi.h> #include "base/at_exit.h" #include "base/com...
34.981707
80
0.722852
7kbird
3bd34acb9248e3ff32b0a032eeaa303089122a63
10,646
cpp
C++
src/core/GLES_COMPUTE/kernels/GCBatchNormalizationLayerKernel.cpp
allnes/ComputeLibrary
b81d05d2cb48b374fd5339a65a69fbe27ffd5b47
[ "MIT" ]
null
null
null
src/core/GLES_COMPUTE/kernels/GCBatchNormalizationLayerKernel.cpp
allnes/ComputeLibrary
b81d05d2cb48b374fd5339a65a69fbe27ffd5b47
[ "MIT" ]
null
null
null
src/core/GLES_COMPUTE/kernels/GCBatchNormalizationLayerKernel.cpp
allnes/ComputeLibrary
b81d05d2cb48b374fd5339a65a69fbe27ffd5b47
[ "MIT" ]
2
2021-10-14T16:39:31.000Z
2022-03-01T12:04:54.000Z
/* * Copyright (c) 2017-2020 Arm Limited. * * SPDX-License-Identifier: 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 * ri...
43.276423
182
0.665884
allnes
3bd4b86deefec1207c7048e5446888184a6e5324
17,085
cc
C++
MotionScriptRunner/motionscriptrunner.cc
drewnoakes/bold-humanoid
6025fcc92cdf3ce9486d4fe5af4f30ee7a7a3335
[ "Apache-2.0" ]
null
null
null
MotionScriptRunner/motionscriptrunner.cc
drewnoakes/bold-humanoid
6025fcc92cdf3ce9486d4fe5af4f30ee7a7a3335
[ "Apache-2.0" ]
null
null
null
MotionScriptRunner/motionscriptrunner.cc
drewnoakes/bold-humanoid
6025fcc92cdf3ce9486d4fe5af4f30ee7a7a3335
[ "Apache-2.0" ]
null
null
null
#include "motionscriptrunner.hh" #include "../BodyControl/bodycontrol.hh" #include "../Math/math.hh" #include "../MotionTask/motiontask.hh" #include "../MX28/mx28.hh" #include "../MX28Snapshot/mx28snapshot.hh" #include "../State/state.hh" #include "../StateObject/BodyControlState/bodycontrolstate.hh" #include "../Stat...
31.638889
179
0.663916
drewnoakes
3bd64421c2c9bd266fb0282fb8d7eb672a8fec24
6,436
cpp
C++
DonerComponents/source/common/component/CComponentFactoryManager.cpp
Donerkebap13/DonerComponents
2441ffcb52510783d3f4bef714461429687e7d4d
[ "MIT" ]
28
2018-09-16T15:48:47.000Z
2022-01-11T01:11:16.000Z
DonerComponents/source/common/component/CComponentFactoryManager.cpp
Donerkebap13/DonerECS
2441ffcb52510783d3f4bef714461429687e7d4d
[ "MIT" ]
6
2017-12-12T21:41:40.000Z
2018-09-16T14:15:43.000Z
DonerComponents/source/common/component/CComponentFactoryManager.cpp
Donerkebap13/DonerECS
2441ffcb52510783d3f4bef714461429687e7d4d
[ "MIT" ]
null
null
null
//////////////////////////////////////////////////////////// // // MIT License // // DonerComponents // Copyright(c) 2017 Donerkebap13 // // 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 wi...
30.215962
132
0.716128
Donerkebap13
3bd6b9432bf0b40871cb59242b3144e50c342327
3,590
hpp
C++
wiring_utils/include/wiring_utils/bme280.hpp
Yanick-Salzmann/carpi
29f5e1bf1eb6243e45690f040e4df8e7c228e897
[ "Apache-2.0" ]
2
2020-06-07T16:47:20.000Z
2021-03-20T10:41:34.000Z
wiring_utils/include/wiring_utils/bme280.hpp
Yanick-Salzmann/carpi
29f5e1bf1eb6243e45690f040e4df8e7c228e897
[ "Apache-2.0" ]
null
null
null
wiring_utils/include/wiring_utils/bme280.hpp
Yanick-Salzmann/carpi
29f5e1bf1eb6243e45690f040e4df8e7c228e897
[ "Apache-2.0" ]
null
null
null
#ifndef CARPI_WIRING_UTILS_BME280_HPP #define CARPI_WIRING_UTILS_BME280_HPP #include <cstdint> #include <string> #include <common_utils/log.hpp> namespace carpi::wiring { struct BME280Sample { float temperature; float pressure; float altitude; }; class BME280Sensor { LOGG...
26.592593
153
0.566574
Yanick-Salzmann
3bd6d88f825c1a12ef3da9b440bb0802c7a74e6b
2,706
cpp
C++
Engine/Graphics/ParticleSystem.cpp
prophile/xsera
f1495245461bdbeea4c6761731ba648bdc200646
[ "MIT" ]
3
2016-05-08T17:24:45.000Z
2018-08-27T18:57:53.000Z
Engine/Graphics/ParticleSystem.cpp
prophile/xsera
f1495245461bdbeea4c6761731ba648bdc200646
[ "MIT" ]
null
null
null
Engine/Graphics/ParticleSystem.cpp
prophile/xsera
f1495245461bdbeea4c6761731ba648bdc200646
[ "MIT" ]
1
2022-03-28T08:14:14.000Z
2022-03-28T08:14:14.000Z
#include "ParticleSystem.h" #include "GameTime.h" #include "ImageLoader.h" #include "RNG.h" #include "Shaders.h" #include <map> #include <assert.h> namespace Graphics { std::map<std::string, GLuint> particles; GLuint GetParticleTexture ( const std::string& name ) { std::map<std::string, GLuint>::iterator iter = par...
27.896907
176
0.682557
prophile
3bd80db1f5d99bd78eeb5be9f2eb033cfe962a62
1,775
hpp
C++
doc/quickbook/oglplus/quickref/enums/texture_target_class.hpp
Extrunder/oglplus
c7c8266a1571d0b4c8b02d9c8ca6a7b6a6f51791
[ "BSL-1.0" ]
null
null
null
doc/quickbook/oglplus/quickref/enums/texture_target_class.hpp
Extrunder/oglplus
c7c8266a1571d0b4c8b02d9c8ca6a7b6a6f51791
[ "BSL-1.0" ]
null
null
null
doc/quickbook/oglplus/quickref/enums/texture_target_class.hpp
Extrunder/oglplus
c7c8266a1571d0b4c8b02d9c8ca6a7b6a6f51791
[ "BSL-1.0" ]
null
null
null
// File doc/quickbook/oglplus/quickref/enums/texture_target_class.hpp // // Automatically generated file, DO NOT modify manually. // Edit the source 'source/enums/oglplus/texture_target.txt' // or the 'source/enums/make_enum.py' script instead. // // Copyright 2010-2015 Matus Chochlik. // Distributed under the Bo...
26.893939
70
0.790986
Extrunder
3bd8f2a2f36fbb9b5cd0d40bc39a4c276ac088c0
3,543
hpp
C++
src/libraries/core/db/dictionary/dictionaryListEntry/dictionaryListEntry.hpp
MrAwesomeRocks/caelus-cml
55b6dc5ba47d0e95c07412d9446ac72ac11d7fd7
[ "mpich2" ]
null
null
null
src/libraries/core/db/dictionary/dictionaryListEntry/dictionaryListEntry.hpp
MrAwesomeRocks/caelus-cml
55b6dc5ba47d0e95c07412d9446ac72ac11d7fd7
[ "mpich2" ]
null
null
null
src/libraries/core/db/dictionary/dictionaryListEntry/dictionaryListEntry.hpp
MrAwesomeRocks/caelus-cml
55b6dc5ba47d0e95c07412d9446ac72ac11d7fd7
[ "mpich2" ]
null
null
null
/*---------------------------------------------------------------------------*\ Copyright (C) 2016-2018 OpenFOAM Foundation ------------------------------------------------------------------------------- License This file is part of Caelus. Caelus is free software: you can redistribute it and/or modify it ...
28.572581
79
0.552921
MrAwesomeRocks
3bdb85d2c9bce9786ab8aed301a4efb591cefe85
16,086
cc
C++
src/connectivity/network/mdns/service/mdns_service_impl.cc
myself659/fuchsia
18eb5ad3d995fba458b32d8600b2af97f89a5726
[ "BSD-3-Clause" ]
null
null
null
src/connectivity/network/mdns/service/mdns_service_impl.cc
myself659/fuchsia
18eb5ad3d995fba458b32d8600b2af97f89a5726
[ "BSD-3-Clause" ]
4
2020-09-06T07:59:32.000Z
2022-02-12T16:06:47.000Z
src/connectivity/network/mdns/service/mdns_service_impl.cc
myself659/fuchsia
18eb5ad3d995fba458b32d8600b2af97f89a5726
[ "BSD-3-Clause" ]
null
null
null
// 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/connectivity/network/mdns/service/mdns_service_impl.h" #include <fuchsia/netstack/cpp/fidl.h> #include <lib/async/cpp/task.h> #include <lib/...
35.431718
80
0.654793
myself659
3bdbcd10fd1ed8b0a58f9d20b4757d028ed8572f
7,136
hh
C++
include/tchecker/utils/cache.hh
arnabSur/tchecker
24ba7703068a41c6e9c613b4ef80ad6c788e65bc
[ "MIT" ]
7
2019-08-12T12:22:07.000Z
2021-11-18T01:48:27.000Z
include/tchecker/utils/cache.hh
arnabSur/tchecker
24ba7703068a41c6e9c613b4ef80ad6c788e65bc
[ "MIT" ]
40
2019-07-03T04:31:19.000Z
2022-03-31T03:40:43.000Z
include/tchecker/utils/cache.hh
arnabSur/tchecker
24ba7703068a41c6e9c613b4ef80ad6c788e65bc
[ "MIT" ]
8
2019-07-04T06:40:49.000Z
2021-12-03T15:51:50.000Z
/* * This file is a part of the TChecker project. * * See files AUTHORS and LICENSE for copyright details. * */ #ifndef TCHECKER_CACHE_HH #define TCHECKER_CACHE_HH /*! \file cache.hh \brief Cache of shared objects */ #include <vector> #include "tchecker/utils/shared_objects.hh" #include "tchecker/utils/spin...
26.626866
126
0.64546
arnabSur
3be158e5924d5b71f8ccd504d0b5a56b48a66e3f
1,348
cpp
C++
vnext/Microsoft.ReactNative/ReactHost/JSExceptionCallbackFactory.cpp
enm10k/react-native-windows
feb180024d814472295f049351ef72aaa1e1682b
[ "MIT" ]
1
2020-02-17T11:33:03.000Z
2020-02-17T11:33:03.000Z
vnext/Microsoft.ReactNative/ReactHost/JSExceptionCallbackFactory.cpp
enm10k/react-native-windows
feb180024d814472295f049351ef72aaa1e1682b
[ "MIT" ]
null
null
null
vnext/Microsoft.ReactNative/ReactHost/JSExceptionCallbackFactory.cpp
enm10k/react-native-windows
feb180024d814472295f049351ef72aaa1e1682b
[ "MIT" ]
null
null
null
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #include "pch.h" #include "JSExceptionCallbackFactory.h" namespace Mso::React { std::function<void(facebook::react::JSExceptionInfo &&)> CreateExceptionCallback( OnJSExceptionCallback &&jsExceptionCallback) n...
40.848485
107
0.718843
enm10k
3be17e4c88a5f7e3e96d83ff1304fd7722e85c3a
1,746
cpp
C++
systems/plants/collision/test/BodyTest.cpp
andybarry/drake
61428cff8cb523314cd87105821148519460a0b9
[ "BSD-3-Clause" ]
1
2020-01-12T14:32:29.000Z
2020-01-12T14:32:29.000Z
systems/plants/collision/test/BodyTest.cpp
cmmccann/drake
0a124c044357d5a29ec7e536acb747cfa5682eba
[ "BSD-3-Clause" ]
null
null
null
systems/plants/collision/test/BodyTest.cpp
cmmccann/drake
0a124c044357d5a29ec7e536acb747cfa5682eba
[ "BSD-3-Clause" ]
1
2021-07-07T18:52:51.000Z
2021-07-07T18:52:51.000Z
#define BOOST_TEST_MODULE Body test #include <boost/test/unit_test.hpp> #include <iostream> #include "DrakeCollision.h" #include "BulletModel.h" using namespace DrakeCollision; using namespace std; BOOST_AUTO_TEST_CASE(constructor_test) { Body body1; BOOST_CHECK_EQUAL(body1.getBodyIdx(), -1); BOOST_CHECK_EQUA...
24.942857
81
0.726231
andybarry
3be1eb01c7c22294bb5849b1fab7ef6a15e7971d
7,154
cpp
C++
toonz/sources/common/tfx/tpredictivecachemanager.cpp
ss23/opentoonz
b42e43d4b8d9fedc26022d145218b9a147a30985
[ "BSD-3-Clause" ]
null
null
null
toonz/sources/common/tfx/tpredictivecachemanager.cpp
ss23/opentoonz
b42e43d4b8d9fedc26022d145218b9a147a30985
[ "BSD-3-Clause" ]
null
null
null
toonz/sources/common/tfx/tpredictivecachemanager.cpp
ss23/opentoonz
b42e43d4b8d9fedc26022d145218b9a147a30985
[ "BSD-3-Clause" ]
1
2019-10-07T17:12:30.000Z
2019-10-07T17:12:30.000Z
#include "trenderer.h" #include "trasterfx.h" #include <algorithm> #include "tpredictivecachemanager.h" //************************************************************************************************ // Preliminaries //******************************************************************************************...
29.319672
98
0.575482
ss23
3be38ff4575ecba292ef7685f2962b8f22dd2a50
897
hpp
C++
include/common/piecewise_functions_aliases.hpp
TheMarex/charge
85e35f7a6c8b8c161ecd851124d1363d5a450573
[ "BSD-2-Clause" ]
13
2018-03-09T14:37:31.000Z
2021-07-27T06:56:35.000Z
include/common/piecewise_functions_aliases.hpp
AlexBlazee/charge
85e35f7a6c8b8c161ecd851124d1363d5a450573
[ "BSD-2-Clause" ]
null
null
null
include/common/piecewise_functions_aliases.hpp
AlexBlazee/charge
85e35f7a6c8b8c161ecd851124d1363d5a450573
[ "BSD-2-Clause" ]
10
2018-04-14T02:27:32.000Z
2021-06-13T23:30:44.000Z
#ifndef CHAGR_COMMON_PIECEWIESE_FUNCTIONS_ALIASES_HPP #define CHAGR_COMMON_PIECEWIESE_FUNCTIONS_ALIASES_HPP #include "common/hyp_lin_function.hpp" #include "common/linear_function.hpp" #include "common/piecewise_function.hpp" #include "common/stateful_function.hpp" #include "common/interpolating_function.hpp" namespa...
47.210526
120
0.87068
TheMarex
3be468a93dab86da2b32f995984ed9554910cfa2
675
hpp
C++
forward_iterator/bst_node.hpp
SimplyCpp/exemplos
139cd3c7af6885d0f4be45b0049e0f714bce3468
[ "MIT" ]
6
2015-05-19T06:30:06.000Z
2018-07-24T08:15:45.000Z
forward_iterator/bst_node.hpp
SimplyCpp/exemplos
139cd3c7af6885d0f4be45b0049e0f714bce3468
[ "MIT" ]
1
2015-05-19T06:42:38.000Z
2015-05-19T14:45:49.000Z
forward_iterator/bst_node.hpp
SimplyCpp/exemplos
139cd3c7af6885d0f4be45b0049e0f714bce3468
[ "MIT" ]
3
2015-10-09T05:54:58.000Z
2018-07-25T13:52:32.000Z
//Sample provided by Fabio Galuppo //February 2017 //http://www.simplycpp.com #ifndef BST_NODE_HPP #define BST_NODE_HPP template<typename T> struct bst_node { explicit bst_node(const T& value) : value(value), left(nullptr), right(nullptr) {} T value; bst_node<T>* left; bst_node<T>* right; bool operator==(...
16.875
72
0.659259
SimplyCpp
3be4efe6ee9c48f218b0a6a54d1c909be551bdd0
2,327
cpp
C++
EngineCore/Holders/CParticlesSystemHolder.cpp
vagnerlands/GameEngine
f2281ccb79263459fba709a15af77629f2d65786
[ "Zlib", "Apache-2.0", "MIT" ]
1
2019-09-17T15:57:27.000Z
2019-09-17T15:57:27.000Z
EngineCore/Holders/CParticlesSystemHolder.cpp
vagnerlands/GameEngine
f2281ccb79263459fba709a15af77629f2d65786
[ "Zlib", "Apache-2.0", "MIT" ]
1
2020-12-12T20:28:15.000Z
2020-12-12T20:28:15.000Z
EngineCore/Holders/CParticlesSystemHolder.cpp
vagnerlands/GameEngine
f2281ccb79263459fba709a15af77629f2d65786
[ "Zlib", "Apache-2.0", "MIT" ]
null
null
null
#include "CParticlesSystemHolder.h" #include <time.h> #include <iostream> #include <string> #include "MutexFactory.h" CParticlesSystemHolder* CParticlesSystemHolder::s_pInstance = NULL; bool CParticlesSystemHolder::Create() { return false; } CParticlesSystemHolder::~CParticlesSystemHolder() { m_mapParticles = D...
23.744898
95
0.744306
vagnerlands
3be78d3e108196d03bc4e53762fb08733fb5372c
2,160
hpp
C++
Lib/Chip/MB9BF10xN.hpp
cjsmeele/Kvasir
c8d2acd8313ae52d78259ee2d409b963925f77d7
[ "Apache-2.0" ]
376
2015-07-17T01:41:20.000Z
2022-03-26T04:02:49.000Z
Lib/Chip/MB9BF10xN.hpp
cjsmeele/Kvasir
c8d2acd8313ae52d78259ee2d409b963925f77d7
[ "Apache-2.0" ]
59
2015-07-03T21:30:13.000Z
2021-03-05T11:30:08.000Z
Lib/Chip/MB9BF10xN.hpp
cjsmeele/Kvasir
c8d2acd8313ae52d78259ee2d409b963925f77d7
[ "Apache-2.0" ]
53
2015-07-14T12:17:06.000Z
2021-06-04T07:28:40.000Z
#pragma once #include <Chip/Unknown/Spansion/MB9BF10xN/FLASH_IF.hpp> #include <Chip/Unknown/Spansion/MB9BF10xN/CRG.hpp> #include <Chip/Unknown/Spansion/MB9BF10xN/CRTRIM.hpp> #include <Chip/Unknown/Spansion/MB9BF10xN/SWWDT.hpp> #include <Chip/Unknown/Spansion/MB9BF10xN/HWWDT.hpp> #include <Chip/Unknown/Spansion/MB9BF10...
50.232558
56
0.808333
cjsmeele
3be7cf21fab8457c4391e171518be65dbf5e926f
479
cpp
C++
codeforces/431A.cpp
sgrade/cpptest
84ade6ec03ea394d4a4489c7559d12b4799c0b62
[ "MIT" ]
null
null
null
codeforces/431A.cpp
sgrade/cpptest
84ade6ec03ea394d4a4489c7559d12b4799c0b62
[ "MIT" ]
null
null
null
codeforces/431A.cpp
sgrade/cpptest
84ade6ec03ea394d4a4489c7559d12b4799c0b62
[ "MIT" ]
null
null
null
// A. Black Square #include <iostream> #include <string> using namespace std; int main(){ int a1, a2, a3, a4; scanf("%d %d %d %d\n", &a1, &a2, &a3, &a4); int arr[4] = {a1, a2, a3, a4}; string s; getline (cin, s); int cal = 0; for (unsigned i=0; i < s.size(); ++i){ // In ASCII numbers start from ...
14.96875
53
0.549061
sgrade
3be80715194cc858a153c8af04b9953e6430f69d
3,495
cpp
C++
torch/csrc/profiler/api.cpp
ljhOfGithub/pytorch
c568f7b16f2a98d72ff5b7c6c6161b67b2c27514
[ "Intel" ]
2
2020-03-13T06:57:49.000Z
2020-05-17T04:18:14.000Z
torch/csrc/profiler/api.cpp
ellhe-blaster/pytorch
e5282c3cb8bf6ad8c5161f9d0cc271edb9abed25
[ "Intel" ]
1
2019-07-23T15:23:32.000Z
2019-07-23T15:32:23.000Z
torch/csrc/profiler/api.cpp
ellhe-blaster/pytorch
e5282c3cb8bf6ad8c5161f9d0cc271edb9abed25
[ "Intel" ]
2
2019-07-23T14:37:31.000Z
2019-07-23T14:47:13.000Z
#include <torch/csrc/profiler/api.h> namespace torch { namespace profiler { namespace impl { namespace { enum ProfilerIValueIdx { STATE = 0, REPORT_INPUT_SHAPES, PROFILE_MEMORY, NUM_PROFILER_CFG_IVALUE_IDX // must be last in list }; } // namespace at::IValue ProfilerConfig::toIValue() const { c10::impl::Ge...
27.738095
80
0.715594
ljhOfGithub
3be899fd83f975eebeac2a6fcb9457266f2efed9
44,393
cpp
C++
automated-tests/src/dali-toolkit-internal/utc-Dali-Text-MultiLanguage.cpp
pwisbey/dali-toolkit
aeb2a95e6cb48788c99d0338dd9788c402ebde07
[ "Apache-2.0" ]
null
null
null
automated-tests/src/dali-toolkit-internal/utc-Dali-Text-MultiLanguage.cpp
pwisbey/dali-toolkit
aeb2a95e6cb48788c99d0338dd9788c402ebde07
[ "Apache-2.0" ]
null
null
null
automated-tests/src/dali-toolkit-internal/utc-Dali-Text-MultiLanguage.cpp
pwisbey/dali-toolkit
aeb2a95e6cb48788c99d0338dd9788c402ebde07
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2015 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable...
25.367429
207
0.613115
pwisbey
3be89e46ac2b0d0a1493dbd93fa1d86154e7fc8b
1,439
hpp
C++
chapter20/holder.hpp
ckelsel/cxx_template
1f73d0a8ff922f8796284949fc58a2f40f639524
[ "Apache-2.0" ]
null
null
null
chapter20/holder.hpp
ckelsel/cxx_template
1f73d0a8ff922f8796284949fc58a2f40f639524
[ "Apache-2.0" ]
null
null
null
chapter20/holder.hpp
ckelsel/cxx_template
1f73d0a8ff922f8796284949fc58a2f40f639524
[ "Apache-2.0" ]
null
null
null
/* Copyright 2016 kunming.xie * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in w...
18.21519
75
0.561501
ckelsel
3be965725110bbc1c942e6967f7edf2d42026459
38,792
cpp
C++
test/liz_lookaside_double_stack_test.cpp
bjoernknafla/liz
b9400b0cb51379aa133953894580006892c2dc2a
[ "BSD-3-Clause" ]
35
2015-05-13T03:06:37.000Z
2022-02-18T20:33:03.000Z
test/liz_lookaside_double_stack_test.cpp
bjoernknafla/liz
b9400b0cb51379aa133953894580006892c2dc2a
[ "BSD-3-Clause" ]
null
null
null
test/liz_lookaside_double_stack_test.cpp
bjoernknafla/liz
b9400b0cb51379aa133953894580006892c2dc2a
[ "BSD-3-Clause" ]
3
2016-12-20T19:03:26.000Z
2018-03-27T08:52:43.000Z
/* * Copyright (c) 2011, Bjoern Knafla * http://www.bjoernknafla.com/ * 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 copyr...
33.155556
103
0.673824
bjoernknafla
3beca65fd2a0649d9d0c47a762fbfa3f2961f85d
1,023
cpp
C++
2020/8-2.cpp
CanftIn/leetcode
97f45e1ffb0a917ae4fd2321636856e55f615d12
[ "MIT" ]
4
2018-05-30T10:27:07.000Z
2020-03-07T08:38:53.000Z
2020/8-2.cpp
CanftIn/leetcode
97f45e1ffb0a917ae4fd2321636856e55f615d12
[ "MIT" ]
1
2018-05-30T04:29:32.000Z
2018-05-31T10:15:40.000Z
2020/8-2.cpp
CanftIn/leetcode
97f45e1ffb0a917ae4fd2321636856e55f615d12
[ "MIT" ]
null
null
null
class Solution { public: int myAtoi(string str) { long long ret = 0; int strSize = str.size(); int flag = 1; // + or - bool start = false; // flag of starting read number for (int i = 0; i < strSize; ++i) { if (str[i] == ' ' && start == false) con...
29.228571
60
0.346041
CanftIn
3becd4412c57677be86fe437b7785d18eb77bf1a
1,200
hpp
C++
gpcl/detail/futex_condition_variable.hpp
Chingyat/gpcl
de4157a2bab07640539d9051fc7bb66c9c82eaf4
[ "BSL-1.0" ]
2
2021-02-10T11:51:25.000Z
2021-12-20T12:35:36.000Z
gpcl/detail/futex_condition_variable.hpp
Chingyat/gpcl
de4157a2bab07640539d9051fc7bb66c9c82eaf4
[ "BSL-1.0" ]
2
2021-11-28T03:09:15.000Z
2021-11-29T15:08:43.000Z
gpcl/detail/futex_condition_variable.hpp
Chingyat/gpcl
c2702b8b13fa948f6753285ba62455ddf9413578
[ "BSL-1.0" ]
null
null
null
// // futex_condition_variable.hpp // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // // Copyright (c) 2021 Zhengyi Fu (tsingyat at outlook dot com) // // 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 GPCL_DETAIL_FUTEX_C...
23.076923
79
0.763333
Chingyat
3bedc9c627f17c6001e463ea6ab67e0fb0ee2891
64,699
cpp
C++
third_party/libSBML-5.11.0-Source/src/sbml/packages/comp/util/test/TestCompFlatteningConverter.cpp
gitter-badger/sbmlsolver
c92936832297ea1d2ad7f17223b68ada43c8f0b2
[ "Apache-2.0" ]
null
null
null
third_party/libSBML-5.11.0-Source/src/sbml/packages/comp/util/test/TestCompFlatteningConverter.cpp
gitter-badger/sbmlsolver
c92936832297ea1d2ad7f17223b68ada43c8f0b2
[ "Apache-2.0" ]
null
null
null
third_party/libSBML-5.11.0-Source/src/sbml/packages/comp/util/test/TestCompFlatteningConverter.cpp
gitter-badger/sbmlsolver
c92936832297ea1d2ad7f17223b68ada43c8f0b2
[ "Apache-2.0" ]
null
null
null
/** * \file TestCompFlatteningConverter.cpp * \brief Implementation of the Tests for the Comp flattening converter * \author Frank T. Bergmann * * <!-------------------------------------------------------------------------- * This file is part of libSBML. Please visit http://sbml.org for more * informati...
29.448794
145
0.752206
gitter-badger
3bee0cc3d4c887b2bd39916040ae20cd3d05303e
1,614
cpp
C++
solutions/LeetCode/C++/331.cpp
timxor/leetcode-journal
5f1cb6bcc44a5bc33d88fb5cdb4126dfc6f4232a
[ "MIT" ]
854
2018-11-09T08:06:16.000Z
2022-03-31T06:05:53.000Z
solutions/LeetCode/C++/331.cpp
timxor/leetcode-journal
5f1cb6bcc44a5bc33d88fb5cdb4126dfc6f4232a
[ "MIT" ]
29
2019-06-02T05:02:25.000Z
2021-11-15T04:09:37.000Z
solutions/LeetCode/C++/331.cpp
timxor/leetcode-journal
5f1cb6bcc44a5bc33d88fb5cdb4126dfc6f4232a
[ "MIT" ]
347
2018-12-23T01:57:37.000Z
2022-03-12T14:51:21.000Z
__________________________________________________________________________________________________ sample 4 ms submission class Solution { public: bool isValidSerialization(string preorder) { int len = preorder.size(); if(len == 0) return true; int n = 0; for(int i = len-...
26.459016
98
0.475217
timxor
3bf07c6ae1742d3ed0e08ab858c5d2e22f2d775c
2,164
hpp
C++
include/argot/concepts/exceptional_switch_body_case.hpp
mattcalabrese/argot
97349baaf27659c9dc4d67cf8963b2e871eaedae
[ "BSL-1.0" ]
49
2018-05-09T23:17:45.000Z
2021-07-21T10:05:19.000Z
include/argot/concepts/exceptional_switch_body_case.hpp
mattcalabrese/argot
97349baaf27659c9dc4d67cf8963b2e871eaedae
[ "BSL-1.0" ]
null
null
null
include/argot/concepts/exceptional_switch_body_case.hpp
mattcalabrese/argot
97349baaf27659c9dc4d67cf8963b2e871eaedae
[ "BSL-1.0" ]
2
2019-08-04T03:51:36.000Z
2020-12-28T06:53:29.000Z
/*============================================================================== Copyright (c) 2017, 2018, 2019 Matt Calabrese 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) =======================================...
31.823529
80
0.743993
mattcalabrese
3bf08d204e4e71a0e7e5639bf5dd01fd282c9395
516
cc
C++
source-code/DesignPatterns/Circles/random_circles.cc
gjbex/Scientific-C-
d7aeb88743ffa2a43b1df1569a9200b2447f401c
[ "CC-BY-4.0" ]
115
2015-03-23T13:34:42.000Z
2022-03-21T00:27:21.000Z
source-code/DesignPatterns/Circles/random_circles.cc
gjbex/Scientific-C-
d7aeb88743ffa2a43b1df1569a9200b2447f401c
[ "CC-BY-4.0" ]
56
2015-02-25T15:04:26.000Z
2022-01-03T07:42:48.000Z
source-code/DesignPatterns/Circles/random_circles.cc
gjbex/Scientific-C-
d7aeb88743ffa2a43b1df1569a9200b2447f401c
[ "CC-BY-4.0" ]
59
2015-11-26T11:44:51.000Z
2022-03-21T00:27:22.000Z
#include <iostream> #include "circle_factory.h" int main(int argc, char *argv[]) { int nr_circles {10}; if (argc >= 2) nr_circles = std::stoi(argv[1]); double radius {0.1}; if (argc >= 3) radius = std::stof(argv[2]); int seed {1234}; if (argc >= 4) seed = std::stoi(argv...
23.454545
42
0.53876
gjbex
3bf0bddb6ffeb5eb8a9f0755a31eba5225895a95
168,286
cc
C++
fbench/src/grpcclient/third_party/googleapis/gens/google/logging/v2/logging_metrics.pb.cc
kashiish/vespa
307de4bb24463d0f36cd8391a7b8df75bd0949b2
[ "Apache-2.0" ]
null
null
null
fbench/src/grpcclient/third_party/googleapis/gens/google/logging/v2/logging_metrics.pb.cc
kashiish/vespa
307de4bb24463d0f36cd8391a7b8df75bd0949b2
[ "Apache-2.0" ]
null
null
null
fbench/src/grpcclient/third_party/googleapis/gens/google/logging/v2/logging_metrics.pb.cc
kashiish/vespa
307de4bb24463d0f36cd8391a7b8df75bd0949b2
[ "Apache-2.0" ]
null
null
null
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/logging/v2/logging_metrics.proto #include "google/logging/v2/logging_metrics.pb.h" #include <algorithm> #include <google/protobuf/stubs/common.h> #include <google/protobuf/io/coded_stream.h> #include <google/protobuf/extension_set.h> #incl...
43.106045
236
0.71492
kashiish
3bf0be8c6d410f54c33368f6b85a14294709ca0b
4,576
cpp
C++
vp/src/platform/basic/display.cpp
agra-uni-bremen/fdl21-stackuse-vp
9c8be7a3534cdd8ed8b8fbce7be740fc16807876
[ "MIT" ]
26
2019-11-01T09:02:35.000Z
2022-03-10T02:21:12.000Z
vp/src/platform/basic/display.cpp
agra-uni-bremen/fdl21-stackuse-vp
9c8be7a3534cdd8ed8b8fbce7be740fc16807876
[ "MIT" ]
2
2019-05-01T10:22:07.000Z
2020-07-27T10:08:51.000Z
vp/src/platform/basic/display.cpp
agra-uni-bremen/fdl21-stackuse-vp
9c8be7a3534cdd8ed8b8fbce7be740fc16807876
[ "MIT" ]
12
2018-06-19T14:09:49.000Z
2022-02-08T03:34:14.000Z
/* * display.cpp * * Created on: Sep 11, 2018 * Author: dwd */ #include "display.hpp" #include <math.h> #include <sys/ipc.h> #include <sys/shm.h> #include <sys/types.h> using namespace frame; Display::Display(sc_module_name) { tsock.register_b_transport(this, &Display::transport); createSM(); memset(fr...
28.962025
108
0.618663
agra-uni-bremen
3bf0e55738aab23093a6f1efcd539256e63f77e2
815
cpp
C++
moses/mert/TimerTest.cpp
anshsarkar/TailBench
25845756aee9a892229c25b681051591c94daafd
[ "MIT" ]
3
2018-01-25T00:51:56.000Z
2022-01-07T15:09:38.000Z
moses/mert/TimerTest.cpp
anshsarkar/TailBench
25845756aee9a892229c25b681051591c94daafd
[ "MIT" ]
1
2020-06-23T08:29:09.000Z
2020-06-24T12:11:47.000Z
moses/mert/TimerTest.cpp
anshsarkar/TailBench
25845756aee9a892229c25b681051591c94daafd
[ "MIT" ]
3
2018-06-08T08:36:27.000Z
2021-12-26T20:36:16.000Z
#include "Timer.h" #define BOOST_TEST_MODULE TimerTest #include <boost/test/unit_test.hpp> #include <string> #include <unistd.h> using namespace MosesTuning; BOOST_AUTO_TEST_CASE(timer_basic_test) { Timer timer; const int sleep_time_microsec = 40; // ad-hoc microseconds to pass unit tests. timer.start(); B...
27.166667
80
0.752147
anshsarkar
3bf188edca33b4a13261f05859f614759d9e2f39
674
cpp
C++
Problem Solving/Implementation/bill_division.cpp
abivilion/Hackerank-Solutions-
e195fb1fce1588171cf12d99d38da32ca5c8276a
[ "MIT" ]
null
null
null
Problem Solving/Implementation/bill_division.cpp
abivilion/Hackerank-Solutions-
e195fb1fce1588171cf12d99d38da32ca5c8276a
[ "MIT" ]
null
null
null
Problem Solving/Implementation/bill_division.cpp
abivilion/Hackerank-Solutions-
e195fb1fce1588171cf12d99d38da32ca5c8276a
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int main () { //siz = no of item // ski = index reserved // inp = items // sum : all appdups // int siz,ski,inp,sum=0,charged =0; int store_index_ele=0; cin>>siz>>ski; for(int i=0;i<siz;i++) { if...
16.85
40
0.394659
abivilion
3bf1ff94a8040c30c9d8998c313ba5928989fcd4
44,650
cpp
C++
keynote-protos/mapping/ProtoMapping.cpp
eth-siplab/SVG2Keynote-lib
b7e6dfe5084911dac1fa6261a14254bfbbd8065b
[ "MIT" ]
4
2021-11-24T14:27:32.000Z
2022-03-14T07:52:44.000Z
keynote-protos/mapping/ProtoMapping.cpp
eth-siplab/SVG2Keynote-lib
b7e6dfe5084911dac1fa6261a14254bfbbd8065b
[ "MIT" ]
null
null
null
keynote-protos/mapping/ProtoMapping.cpp
eth-siplab/SVG2Keynote-lib
b7e6dfe5084911dac1fa6261a14254bfbbd8065b
[ "MIT" ]
null
null
null
#include "ProtoMapping.h" ProtoMapping::ProtoMapping(std::string type) { registerCommonMessageTypes(); if (type == "keynote") { registerKeynoteMessageTypes(); } } void ProtoMapping::registerKeynoteMessageTypes() { _messageTypeToPrototypeMap[1]= new KN::DocumentArchive(); _messageTypeTo...
74.292845
114
0.838343
eth-siplab
3bf431893357d5412ea6d49dc7c6445247413980
255
cpp
C++
11_variadic_templates/11_02_pack_expansion/11_02_03_inheritance.cpp
pAbogn/cpp_courses
6ffa7da5cc440af3327139a38cfdefcfaae1ebed
[ "MIT" ]
13
2020-09-01T14:57:21.000Z
2021-11-24T06:00:26.000Z
11_variadic_templates/11_02_pack_expansion/11_02_03_inheritance.cpp
pAbogn/cpp_courses
6ffa7da5cc440af3327139a38cfdefcfaae1ebed
[ "MIT" ]
5
2020-06-11T14:13:00.000Z
2021-07-14T05:27:53.000Z
11_variadic_templates/11_02_pack_expansion/11_02_03_inheritance.cpp
pAbogn/cpp_courses
6ffa7da5cc440af3327139a38cfdefcfaae1ebed
[ "MIT" ]
10
2021-03-22T07:54:36.000Z
2021-09-15T04:03:32.000Z
#include <vector> template <typename... Bases> struct Derived : Bases... {}; struct Object {}; struct Widget {}; int main() { Derived<std::vector<int>, Object, Widget> obj; // Equivalent to // Derived : std::vector<int>, Object, Widget }
15.9375
50
0.627451
pAbogn
3bf6ee0a38861a1b51a9a2d21cb7ca2d7bf724f4
1,155
cpp
C++
test/generated/SequenceOf.cpp
Roboauto/fast_ber
089d3a2dfb3c8b14da066791f578fbec86dcf6c6
[ "BSL-1.0" ]
null
null
null
test/generated/SequenceOf.cpp
Roboauto/fast_ber
089d3a2dfb3c8b14da066791f578fbec86dcf6c6
[ "BSL-1.0" ]
null
null
null
test/generated/SequenceOf.cpp
Roboauto/fast_ber
089d3a2dfb3c8b14da066791f578fbec86dcf6c6
[ "BSL-1.0" ]
null
null
null
#include "autogen/sequence_of.hpp" #include "catch2/catch.hpp" #include <array> TEST_CASE("Sequence Of: Encode and decode sequence of") { std::array<uint8_t, 100> buffer = {}; fast_ber::Sequence_::SequenceFive sequence = {fast_ber::Sequence_::UnnamedSet0{{""}}}; fast_ber::EncodeResult encode...
36.09375
112
0.688312
Roboauto
3bf745c95b119c5f2068372f1906a1a429a20952
45,153
cpp
C++
modules/core/opencl_kernels.cpp
stalinizer/opencv
baefce5e9edf2fdbc35a2d08a8457fa29cfb6ba2
[ "BSD-3-Clause" ]
null
null
null
modules/core/opencl_kernels.cpp
stalinizer/opencv
baefce5e9edf2fdbc35a2d08a8457fa29cfb6ba2
[ "BSD-3-Clause" ]
null
null
null
modules/core/opencl_kernels.cpp
stalinizer/opencv
baefce5e9edf2fdbc35a2d08a8457fa29cfb6ba2
[ "BSD-3-Clause" ]
null
null
null
// This file is auto-generated. Do not edit! #include "precomp.hpp" #include "opencl_kernels.hpp" namespace cv { namespace ocl { namespace core { const struct ProgramEntry arithm={"arithm", "#ifdef DOUBLE_SUPPORT\n" "#ifdef cl_amd_fp64\n" "#pragma OPENCL EXTENSION cl_amd_fp64:enable\n" "#elif defined cl_khr_fp64\n" ...
36.035914
150
0.669789
stalinizer
3bf751bc79a543c313d090de28ffb3fc305a0558
1,904
cc
C++
pagespeed/kernel/base/time_util_test.cc
crowell/modpagespeed_tmp
d2c063875d819c46c2d88a5ddb70578cae2a5909
[ "Apache-2.0" ]
null
null
null
pagespeed/kernel/base/time_util_test.cc
crowell/modpagespeed_tmp
d2c063875d819c46c2d88a5ddb70578cae2a5909
[ "Apache-2.0" ]
null
null
null
pagespeed/kernel/base/time_util_test.cc
crowell/modpagespeed_tmp
d2c063875d819c46c2d88a5ddb70578cae2a5909
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2010 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
28.41791
75
0.736345
crowell
0ec2da0a5b9f888ff471d6c4af6f200bb5031a73
407
hpp
C++
include/dish2/record/make_filename/make_benchmark_path.hpp
mmore500/dishtiny
9fcb52c4e56c74a4e17f7d577143ed40c158c92e
[ "MIT" ]
29
2019-02-04T02:39:52.000Z
2022-01-28T10:06:26.000Z
include/dish2/record/make_filename/make_benchmark_path.hpp
mmore500/dishtiny
9fcb52c4e56c74a4e17f7d577143ed40c158c92e
[ "MIT" ]
95
2020-02-22T19:48:14.000Z
2021-09-14T19:17:53.000Z
include/dish2/record/make_filename/make_benchmark_path.hpp
mmore500/dishtiny
9fcb52c4e56c74a4e17f7d577143ed40c158c92e
[ "MIT" ]
6
2019-11-19T10:13:09.000Z
2021-03-25T17:35:32.000Z
#pragma once #ifndef DISH2_RECORD_MAKE_FILENAME_MAKE_BENCHMARK_PATH_HPP_INCLUDE #define DISH2_RECORD_MAKE_FILENAME_MAKE_BENCHMARK_PATH_HPP_INCLUDE #include <string> namespace dish2 { std::string make_benchmark_path( const std::string& filename="" ) { return std::string("outbenchmarks/") + filename; } } // namespa...
25.4375
76
0.820639
mmore500
0ec3c6b8458ce2fa78b3b112d456ac56d0ff8bfa
120
hxx
C++
src/Providers/UNIXProviders/SAPStatistics/UNIX_SAPStatistics_AIX.hxx
brunolauze/openpegasus-providers-old
b00f1aad575bae144b8538bf57ba5fd5582a4ec7
[ "MIT" ]
1
2020-10-12T09:00:09.000Z
2020-10-12T09:00:09.000Z
src/Providers/UNIXProviders/SAPStatistics/UNIX_SAPStatistics_AIX.hxx
brunolauze/openpegasus-providers-old
b00f1aad575bae144b8538bf57ba5fd5582a4ec7
[ "MIT" ]
null
null
null
src/Providers/UNIXProviders/SAPStatistics/UNIX_SAPStatistics_AIX.hxx
brunolauze/openpegasus-providers-old
b00f1aad575bae144b8538bf57ba5fd5582a4ec7
[ "MIT" ]
null
null
null
#ifdef PEGASUS_OS_AIX #ifndef __UNIX_SAPSTATISTICS_PRIVATE_H #define __UNIX_SAPSTATISTICS_PRIVATE_H #endif #endif
10
38
0.841667
brunolauze
0ec4c63fae64173b5f4bff234c6dcf1d08ad15c0
2,531
cxx
C++
oss_test/graphlab/logit_math_test.cxx
venkattgg/venkey
796b9bdfb2fa1b881d82080754643c7e68629cd2
[ "BSD-3-Clause" ]
493
2016-07-11T13:35:24.000Z
2022-02-15T13:04:29.000Z
oss_test/graphlab/logit_math_test.cxx
venkattgg/venkey
796b9bdfb2fa1b881d82080754643c7e68629cd2
[ "BSD-3-Clause" ]
27
2016-07-13T20:01:07.000Z
2022-02-01T18:55:28.000Z
oss_test/graphlab/logit_math_test.cxx
venkattgg/venkey
796b9bdfb2fa1b881d82080754643c7e68629cd2
[ "BSD-3-Clause" ]
229
2016-07-12T10:39:54.000Z
2022-02-15T13:04:31.000Z
/** * Copyright (C) 2016 Turi * All rights reserved. * * This software may be modified and distributed under the terms * of the BSD license. See the LICENSE file for details. */ #include <string> #include <cmath> #include <graphlab/util/logit_math.hpp> #include <logger/logger.hpp> #include <logger/assertions.hpp>...
25.826531
109
0.506124
venkattgg
0ec56cd53167c38380fa7666b0c2c82c267c5dc9
654
cpp
C++
collection/cp/Algorithm_Collection-master/candy.cpp
daemonslayer/Notebook
a9880be9bd86955afd6b8f7352822bc18673eda3
[ "Apache-2.0" ]
1
2019-03-24T13:12:01.000Z
2019-03-24T13:12:01.000Z
collection/cp/Algorithm_Collection-master/candy.cpp
daemonslayer/Notebook
a9880be9bd86955afd6b8f7352822bc18673eda3
[ "Apache-2.0" ]
null
null
null
collection/cp/Algorithm_Collection-master/candy.cpp
daemonslayer/Notebook
a9880be9bd86955afd6b8f7352822bc18673eda3
[ "Apache-2.0" ]
null
null
null
class Solution { public: int candy(vector<int> &ratings) { int n=ratings.size(); vector<int> r (n,1); if(n==0) return 0; for(int i=1; i<n;i++){ if(ratings[i]>ratings[i-1]) r[i]=r[i-1]+1; } for(int i=n-2; i>=0;i--){ if(rati...
22.551724
42
0.330275
daemonslayer
0ec5a8c324dc9342f576ac6d70af1f7b94ae1211
340
cpp
C++
cpp-programs/Floyd Triangle.cpp
swatkj/Hacktoberfest2021-1
3a5dc186eafcf302c847f531a8f1b11807692fb8
[ "CC0-1.0" ]
null
null
null
cpp-programs/Floyd Triangle.cpp
swatkj/Hacktoberfest2021-1
3a5dc186eafcf302c847f531a8f1b11807692fb8
[ "CC0-1.0" ]
null
null
null
cpp-programs/Floyd Triangle.cpp
swatkj/Hacktoberfest2021-1
3a5dc186eafcf302c847f531a8f1b11807692fb8
[ "CC0-1.0" ]
null
null
null
/* C++ Program - Print Floyd's Triangle */ #include<iostream.h> #include<conio.h> void main() { clrscr(); int range, i, j, k=1; cout<<"Enter the range (upto how many line ?) : "; cin>>range; cout<<"\nFloyd's Triangle :\n"; for(i=1; i<=range; i++) { for(j=1; j<=i; j++, k++) { cout<<k<<" "; } cout<<"...
15.454545
51
0.523529
swatkj
0ec8fb9aa846f1b3e7001810f2ffa2fd7e6cb0e2
6,522
cpp
C++
FastSparse/src/Grid2D.cpp
jiachangliu/fastSparse
1b54d5c6d49778a7510c3183f7d59d0b78112b56
[ "MIT" ]
7
2022-02-25T02:37:40.000Z
2022-03-29T16:16:28.000Z
FastSparse/src/Grid2D.cpp
jiachangliu/fastSparse
1b54d5c6d49778a7510c3183f7d59d0b78112b56
[ "MIT" ]
null
null
null
FastSparse/src/Grid2D.cpp
jiachangliu/fastSparse
1b54d5c6d49778a7510c3183f7d59d0b78112b56
[ "MIT" ]
1
2022-03-04T18:59:31.000Z
2022-03-04T18:59:31.000Z
#include "Grid2D.h" template <class T> Grid2D<T>::Grid2D(const T& Xi, const arma::vec& yi, const GridParams<T>& PGi) { // automatically selects lambda_0 (but assumes other lambdas are given in PG.P.ModelParams) X = &Xi; y = &yi; p = Xi.n_cols; PG = PGi; G_nrows = PG.G_nrows; G_ncols = PG.G_...
36.033149
144
0.521926
jiachangliu
0ec941e2dcda2ff27db9be303022c927137d9d2d
1,110
cpp
C++
Sources/Sapphire/Tests/GraphTest/GraphFunctionalityTest.cpp
jwkim98/Motutapu
f494d23953a18be1aba3261c8e79392f96a140ef
[ "MIT" ]
1
2021-01-11T18:14:04.000Z
2021-01-11T18:14:04.000Z
Sources/Sapphire/Tests/GraphTest/GraphFunctionalityTest.cpp
jlee335/Sapphire
f494d23953a18be1aba3261c8e79392f96a140ef
[ "MIT" ]
3
2020-12-31T13:21:00.000Z
2021-04-28T09:51:33.000Z
Sources/Sapphire/Tests/GraphTest/GraphFunctionalityTest.cpp
jlee335/Sapphire
f494d23953a18be1aba3261c8e79392f96a140ef
[ "MIT" ]
2
2020-12-31T06:29:54.000Z
2021-01-11T18:14:23.000Z
// Copyright (c) 2021, Justin Kim // We are making my contributions/submissions to this project solely in our // personal capacity and are not conveying any rights to any intellectual // property of any third parties. #include <Sapphire/Tests/GraphTest/GraphFunctionalityTest.hpp> #include <Sapphire/operations/Forward...
25.813953
75
0.695495
jwkim98
0eca4be0596ba77330809af08909fef96b3c6eff
2,038
cpp
C++
src/common/autoware_auto_common/test/test_bool_comparisons.cpp
fanyu2021/fyAutowareAuto
073661c0634de671ff01bda8a316a5ce10c96ca9
[ "Apache-2.0" ]
4
2020-12-04T00:38:42.000Z
2022-02-24T05:48:58.000Z
src/common/autoware_auto_common/test/test_bool_comparisons.cpp
fanyu2021/fyAutowareAuto
073661c0634de671ff01bda8a316a5ce10c96ca9
[ "Apache-2.0" ]
null
null
null
src/common/autoware_auto_common/test/test_bool_comparisons.cpp
fanyu2021/fyAutowareAuto
073661c0634de671ff01bda8a316a5ce10c96ca9
[ "Apache-2.0" ]
2
2021-09-27T06:19:07.000Z
2021-09-28T08:18:09.000Z
// Copyright 2020 Mapless AI, Inc. // // 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, publish, ...
45.288889
80
0.704122
fanyu2021
0ecc536d1127ff9d3e473658b5a53027079d023b
1,086
cpp
C++
L1Trigger/GlobalCaloTrigger/test/printLut.cpp
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
3
2018-08-24T19:10:26.000Z
2019-02-19T11:45:32.000Z
L1Trigger/GlobalCaloTrigger/test/printLut.cpp
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
3
2018-08-23T13:40:24.000Z
2019-12-05T21:16:03.000Z
L1Trigger/GlobalCaloTrigger/test/printLut.cpp
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
5
2018-08-21T16:37:52.000Z
2020-01-09T13:33:17.000Z
#include "L1Trigger/GlobalCaloTrigger/test/produceTrivialCalibrationLut.h" #include <iostream> #include <fstream> #include <sstream> typedef produceTrivialCalibrationLut::lutPtrVector lutPtrVector; int main(int argc, char **argv) { const std::string filename=(argc==1 ? "" : std::string(argv[1])); if (filename=="...
25.857143
94
0.645488
nistefan
0ece22317a4a499675e02478c50ab8b1ce3b8291
5,817
hh
C++
Archive/Stroika_FINAL_for_STERL_1992/Library/Framework/Headers/Splitter.hh
SophistSolutions/Stroika
f4e5d84767903a054fba0a6b9c7c4bd1aaefd105
[ "MIT" ]
28
2015-09-22T21:43:32.000Z
2022-02-28T01:35:01.000Z
Archive/Stroika_FINAL_for_STERL_1992/Library/Framework/Headers/Splitter.hh
SophistSolutions/Stroika
f4e5d84767903a054fba0a6b9c7c4bd1aaefd105
[ "MIT" ]
98
2015-01-22T03:21:27.000Z
2022-03-02T01:47:00.000Z
Archive/Stroika_FINAL_for_STERL_1992/Library/Framework/Headers/Splitter.hh
SophistSolutions/Stroika
f4e5d84767903a054fba0a6b9c7c4bd1aaefd105
[ "MIT" ]
4
2019-02-21T16:45:25.000Z
2022-02-18T13:40:04.000Z
/* Copyright(c) Sophist Solutions Inc. 1990-1992. All rights reserved */ #ifndef __Splitter__ #define __Splitter__ /* * $Header: /fuji/lewis/RCS/Splitter.hh,v 1.8 1992/09/08 15:34:00 lewis Exp $ * * Description: * Support for grouping a bunch of views together, with splitters seperating them, and * allowing the...
26.085202
106
0.731649
SophistSolutions
0ed21f4c663d0da0a1893e0c7214b0830df38c1d
7,014
cpp
C++
dev/Code/Sandbox/Editor/Objects/TrackGizmo.cpp
horvay/lumberyardtutor
63b0681a7ed2a98d651b699984de92951721353e
[ "AML" ]
5
2018-08-17T21:05:55.000Z
2021-04-17T10:48:26.000Z
dev/Code/Sandbox/Editor/Objects/TrackGizmo.cpp
JulianoCristian/Lumberyard-3
dc523dd780f3cd1874251181b7cf6848b8db9959
[ "AML" ]
null
null
null
dev/Code/Sandbox/Editor/Objects/TrackGizmo.cpp
JulianoCristian/Lumberyard-3
dc523dd780f3cd1874251181b7cf6848b8db9959
[ "AML" ]
5
2017-12-05T16:36:00.000Z
2021-04-27T06:33:54.000Z
/* * All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or * its licensors. * * For complete copyright and license terms please see the LICENSE at the root of this * distribution (the "License"). All use of this software is governed by the License, * or, if provided, by the license below or t...
26.467925
100
0.51882
horvay
0ed444528b94c31cc63fc92b5e7d7fc53c6b9eb6
11,108
cc
C++
ui/gfx/system_fonts_win.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
14,668
2015-01-01T01:57:10.000Z
2022-03-31T23:33:32.000Z
ui/gfx/system_fonts_win.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
86
2015-10-21T13:02:42.000Z
2022-03-14T07:50:50.000Z
ui/gfx/system_fonts_win.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
5,941
2015-01-02T11:32:21.000Z
2022-03-31T16:35:46.000Z
// Copyright 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 "ui/gfx/system_fonts_win.h" #include <windows.h> #include "base/containers/flat_map.h" #include "base/logging.h" #include "base/no_destructor.h...
36.18241
80
0.698686
zealoussnow
0edc7ff4daec48ca5cc3f08858b7b8b3ccb7ace9
2,763
cc
C++
garnet/lib/ui/gfx/engine/session_manager.cc
OpenTrustGroup/fuchsia
647e593ea661b8bf98dcad2096e20e8950b24a97
[ "BSD-3-Clause" ]
1
2019-04-21T18:02:26.000Z
2019-04-21T18:02:26.000Z
garnet/lib/ui/gfx/engine/session_manager.cc
OpenTrustGroup/fuchsia
647e593ea661b8bf98dcad2096e20e8950b24a97
[ "BSD-3-Clause" ]
16
2020-09-04T19:01:11.000Z
2021-05-28T03:23:09.000Z
garnet/lib/ui/gfx/engine/session_manager.cc
OpenTrustGroup/fuchsia
647e593ea661b8bf98dcad2096e20e8950b24a97
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2018 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 "garnet/lib/ui/gfx/engine/session_manager.h" #include <lib/async/cpp/task.h> #include <lib/async/default.h> #include <trace/event.h> #include "g...
39.471429
100
0.682953
OpenTrustGroup
0eded69aeb2f85e106b23f7072dfff725c55fa57
627
cpp
C++
cmdstan/stan/lib/stan_math/test/unit/math/prim/mat/fun/trace_inv_quad_form_ldlt_test.cpp
yizhang-cae/torsten
dc82080ca032325040844cbabe81c9a2b5e046f9
[ "BSD-3-Clause" ]
null
null
null
cmdstan/stan/lib/stan_math/test/unit/math/prim/mat/fun/trace_inv_quad_form_ldlt_test.cpp
yizhang-cae/torsten
dc82080ca032325040844cbabe81c9a2b5e046f9
[ "BSD-3-Clause" ]
null
null
null
cmdstan/stan/lib/stan_math/test/unit/math/prim/mat/fun/trace_inv_quad_form_ldlt_test.cpp
yizhang-cae/torsten
dc82080ca032325040844cbabe81c9a2b5e046f9
[ "BSD-3-Clause" ]
null
null
null
#include <stan/math/prim/mat.hpp> #include <gtest/gtest.h> TEST(MathMatrix, trace_inv_quad_form_ldlt) { stan::math::matrix_d A(4,4), B(4,2); stan::math::LDLT_factor<double,-1,-1> ldlt_A; A << 9.0, 3.0, 3.0, 3.0, 3.0, 10.0, 2.0, 2.0, 3.0, 2.0, 7.0, 1.0, 3.0, 2.0, 1.0, 112.0; B << ...
25.08
60
0.561404
yizhang-cae
0eded740698742409f3bd0f125357e6375f4f459
1,130
cpp
C++
server/Common/Packets/GCOtherSkill.cpp
viticm/web-pap
7c9b1f49d9ba8d8e40f8fddae829c2e414ccfeca
[ "BSD-3-Clause" ]
3
2018-06-19T21:37:38.000Z
2021-07-31T21:51:40.000Z
server/Common/Packets/GCOtherSkill.cpp
viticm/web-pap
7c9b1f49d9ba8d8e40f8fddae829c2e414ccfeca
[ "BSD-3-Clause" ]
null
null
null
server/Common/Packets/GCOtherSkill.cpp
viticm/web-pap
7c9b1f49d9ba8d8e40f8fddae829c2e414ccfeca
[ "BSD-3-Clause" ]
13
2015-01-30T17:45:06.000Z
2022-01-06T02:29:34.000Z
#include "stdafx.h" #include "GCOtherSkill.h" BOOL GCOtherSkill::Read( SocketInputStream& iStream ) { __ENTER_FUNCTION iStream.Read( (CHAR*)(&m_ObjID), sizeof(ObjID_t) ) ; iStream.Read( (CHAR*)(&m_byListNum), sizeof(BYTE) ) ; if(m_byListNum > MAX_DAM_LIST_NUM) m_byListNum = MAX_DAM_LIST_NUM; ...
20.545455
128
0.695575
viticm
0ee1b53956ed7a6bd554d1bc29175e8145d7ceb4
2,101
cpp
C++
tests/unit/main.cpp
mozilla-releng/staging-mozilla-vpn-client
f31d3762a607ccf2d7c6a016f7b800305fbf0113
[ "Apache-2.0" ]
null
null
null
tests/unit/main.cpp
mozilla-releng/staging-mozilla-vpn-client
f31d3762a607ccf2d7c6a016f7b800305fbf0113
[ "Apache-2.0" ]
null
null
null
tests/unit/main.cpp
mozilla-releng/staging-mozilla-vpn-client
f31d3762a607ccf2d7c6a016f7b800305fbf0113
[ "Apache-2.0" ]
null
null
null
/* 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 "../../src/leakdetector.h" #include "../../src/loghandler.h" #include "../../src/settingsholder.h" #inclu...
26.2625
79
0.653022
mozilla-releng
0ee31032b9301bc03344b46fe0a3528e19a233a7
18,188
cxx
C++
Modules/Radiometry/OpticalCalibration/src/otbAtmosphericRadiativeTerms.cxx
qingswu/otb
ed903b6a5e51a27a3d04786e4ad1637cf6b2772e
[ "Apache-2.0" ]
null
null
null
Modules/Radiometry/OpticalCalibration/src/otbAtmosphericRadiativeTerms.cxx
qingswu/otb
ed903b6a5e51a27a3d04786e4ad1637cf6b2772e
[ "Apache-2.0" ]
null
null
null
Modules/Radiometry/OpticalCalibration/src/otbAtmosphericRadiativeTerms.cxx
qingswu/otb
ed903b6a5e51a27a3d04786e4ad1637cf6b2772e
[ "Apache-2.0" ]
null
null
null
/* * Copyright (C) 2005-2019 Centre National d'Etudes Spatiales (CNES) * * This file is part of Orfeo Toolbox * * https://www.orfeo-toolbox.org/ * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of ...
35.592955
135
0.709644
qingswu
0ee391c540791f2c4fcd15b9ccaeddd097c87abd
663
cpp
C++
src/otus_course_project_lib/src/handlers/stop_packet_handler.cpp
winmord/otus_course_project
8fc2c71b0aa33173c92e31469630fdfe676b77d6
[ "MIT" ]
null
null
null
src/otus_course_project_lib/src/handlers/stop_packet_handler.cpp
winmord/otus_course_project
8fc2c71b0aa33173c92e31469630fdfe676b77d6
[ "MIT" ]
null
null
null
src/otus_course_project_lib/src/handlers/stop_packet_handler.cpp
winmord/otus_course_project
8fc2c71b0aa33173c92e31469630fdfe676b77d6
[ "MIT" ]
null
null
null
#include "otus_course_project_lib/handlers/stop_packet_handler.hpp" #include "otus_course_project_lib/packets/control_packet_ids.hpp" namespace packet_analyzer { stop_packet_handler::stop_packet_handler(std::shared_ptr<std::shared_ptr<i_state>> state) : state_(std::move(state)) { } void stop_packet_handler::ha...
22.862069
90
0.755656
winmord
0ee4b2f4aefe25f567325fa6de90a9072f9debd1
1,956
cc
C++
src_tests/test_zstream.cc
MatteoRagni/Utils
3a25aa381d6d5d9a58d33a401cb99d8988590cac
[ "BSD-2-Clause" ]
null
null
null
src_tests/test_zstream.cc
MatteoRagni/Utils
3a25aa381d6d5d9a58d33a401cb99d8988590cac
[ "BSD-2-Clause" ]
null
null
null
src_tests/test_zstream.cc
MatteoRagni/Utils
3a25aa381d6d5d9a58d33a401cb99d8988590cac
[ "BSD-2-Clause" ]
1
2021-10-14T16:13:19.000Z
2021-10-14T16:13:19.000Z
/*--------------------------------------------------------------------------*\ | | | Copyright (C) 2017 | | | | ...
43.466667
78
0.227505
MatteoRagni
0ee8e39f7906ff50ef23cdac459a61a013d2a328
5,708
cpp
C++
timeintegrationrk3.cpp
piccolo255/mhd2d-solver
be635bb6f5f8d3d06a9fa02a15801eedd1f50306
[ "Unlicense" ]
null
null
null
timeintegrationrk3.cpp
piccolo255/mhd2d-solver
be635bb6f5f8d3d06a9fa02a15801eedd1f50306
[ "Unlicense" ]
null
null
null
timeintegrationrk3.cpp
piccolo255/mhd2d-solver
be635bb6f5f8d3d06a9fa02a15801eedd1f50306
[ "Unlicense" ]
null
null
null
#include "timeintegrationrk3.hpp" //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// TimeIntegrationRK3::TimeIntegrationRK3 ( size_t nx , size_t ny , size_t bufferWidth , double dtMin , double dtMax , double cflNumber , std::uni...
36.356688
142
0.553083
piccolo255
0ee93f28a62d01a83eaf76024cfffac421c87270
5,783
cpp
C++
executer/compiler/DefaultCompilerAlgorithm.cpp
eladraz/morph
e80b93af449471fb2ca9e256188f9a92f631fbc2
[ "BSD-3-Clause" ]
4
2017-01-24T09:32:23.000Z
2021-08-20T03:29:54.000Z
executer/compiler/DefaultCompilerAlgorithm.cpp
eladraz/morph
e80b93af449471fb2ca9e256188f9a92f631fbc2
[ "BSD-3-Clause" ]
null
null
null
executer/compiler/DefaultCompilerAlgorithm.cpp
eladraz/morph
e80b93af449471fb2ca9e256188f9a92f631fbc2
[ "BSD-3-Clause" ]
1
2021-08-20T03:29:55.000Z
2021-08-20T03:29:55.000Z
/* * Copyright (c) 2008-2016, Integrity Project Ltd. 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 ...
38.046053
116
0.667647
eladraz
0ee9fcd9c3a959bed1c2aec8700c19fd5f6c8106
11,634
cpp
C++
tests/simpleKVBC/simpleKVBTestsBuilder.cpp
3for/concord-bft
b3296cb64ccffca51efee2641d02188a80bd4aca
[ "Apache-2.0" ]
1
2021-03-03T10:06:22.000Z
2021-03-03T10:06:22.000Z
tests/simpleKVBC/simpleKVBTestsBuilder.cpp
3for/concord-bft
b3296cb64ccffca51efee2641d02188a80bd4aca
[ "Apache-2.0" ]
null
null
null
tests/simpleKVBC/simpleKVBTestsBuilder.cpp
3for/concord-bft
b3296cb64ccffca51efee2641d02188a80bd4aca
[ "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 copyr...
33.721739
114
0.699845
3for
0eee62c4b667affe946ec5560421af053ed8059e
13,724
cc
C++
src/mem/ruby/network/garnet2.0/Router.cc
farabimahmud/smart
d968ed5123363e9c05512b355c5d67360902d90f
[ "BSD-3-Clause" ]
null
null
null
src/mem/ruby/network/garnet2.0/Router.cc
farabimahmud/smart
d968ed5123363e9c05512b355c5d67360902d90f
[ "BSD-3-Clause" ]
null
null
null
src/mem/ruby/network/garnet2.0/Router.cc
farabimahmud/smart
d968ed5123363e9c05512b355c5d67360902d90f
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright (c) 2008 Princeton University * Copyright (c) 2016 Georgia Institute of Technology * 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 retai...
30.7713
110
0.671379
farabimahmud
0eee91a347437bc5386444b640fc50f998a594dd
26,237
cc
C++
sst-macro-7.1.0/bin/clang/replAstVisitor.cc
HewlettPackard/genz_tools_network_monitoring
6a78ab6780ec9136636d66a8e615467fc2df8e40
[ "BSD-3-Clause" ]
4
2017-11-18T22:49:38.000Z
2021-01-22T18:33:50.000Z
sst-macro-7.1.0/bin/clang/replAstVisitor.cc
HewlettPackard/genz_tools_network_monitoring
6a78ab6780ec9136636d66a8e615467fc2df8e40
[ "BSD-3-Clause" ]
null
null
null
sst-macro-7.1.0/bin/clang/replAstVisitor.cc
HewlettPackard/genz_tools_network_monitoring
6a78ab6780ec9136636d66a8e615467fc2df8e40
[ "BSD-3-Clause" ]
1
2019-03-14T23:04:47.000Z
2019-03-14T23:04:47.000Z
/** Copyright 2009-2017 National Technology and Engineering Solutions of Sandia, LLC (NTESS). Under the terms of Contract DE-NA-0003525, the U.S. Government retains certain rights in this software. Sandia National Laboratories is a multimission laboratory managed and operated by National Technology and Engineering...
31.346476
112
0.666654
HewlettPackard
0eeeb208be6d3ab412051564de3f4ba654849522
2,879
cpp
C++
minadbd/services.cpp
Ant-OS/android_bootable_recovery
4bbfdec9be34c9d8710863f696058f705ff06886
[ "Apache-2.0" ]
null
null
null
minadbd/services.cpp
Ant-OS/android_bootable_recovery
4bbfdec9be34c9d8710863f696058f705ff06886
[ "Apache-2.0" ]
null
null
null
minadbd/services.cpp
Ant-OS/android_bootable_recovery
4bbfdec9be34c9d8710863f696058f705ff06886
[ "Apache-2.0" ]
null
null
null
/* * Copyright (C) 2007 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...
26.412844
80
0.634595
Ant-OS
0eef7273e5337dd1e9b81049609ae6474dcb4963
2,512
cpp
C++
inference-engine/tests/functional/plugin/shared/src/low_precision_transformations/add_transformation.cpp
slyubimt/openvino
f068a498940d6fa8ac4e831d9dcf2b35a00ed220
[ "Apache-2.0" ]
null
null
null
inference-engine/tests/functional/plugin/shared/src/low_precision_transformations/add_transformation.cpp
slyubimt/openvino
f068a498940d6fa8ac4e831d9dcf2b35a00ed220
[ "Apache-2.0" ]
34
2020-11-19T12:27:40.000Z
2022-02-21T13:14:04.000Z
inference-engine/tests/functional/plugin/shared/src/low_precision_transformations/add_transformation.cpp
mznamens/openvino
ec126c6252aa39a6c63ddf124350a92687396771
[ "Apache-2.0" ]
null
null
null
// Copyright (C) 2018-2021 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include "low_precision_transformations/add_transformation.hpp" #include <memory> #include <tuple> #include <vector> #include <string> #include <ie_core.hpp> #include <transformations/init_node_info.hpp> #include "lpt_ngraph_funct...
33.945946
109
0.68551
slyubimt
0ef5ce71a16493ecee1603ef966ab0963c00e384
764
cpp
C++
sources/Mouse.cpp
NiwakaDev/NIWAKA_X86
ae07dcd5e006c6b48459c18efd4a65e4492ce7b4
[ "MIT" ]
2
2022-02-19T04:57:16.000Z
2022-02-19T05:45:39.000Z
sources/Mouse.cpp
NiwakaDev/NIWAKA_X86
ae07dcd5e006c6b48459c18efd4a65e4492ce7b4
[ "MIT" ]
1
2022-02-19T04:59:05.000Z
2022-02-19T11:02:17.000Z
sources/Mouse.cpp
NiwakaDev/NIWAKA_X86
ae07dcd5e006c6b48459c18efd4a65e4492ce7b4
[ "MIT" ]
null
null
null
#include "Pic.h" #include "Mouse.h" Mouse::Mouse(Pic* pic){ this->pic = pic; assert(this->pic!=NULL); this->enable_flg = false; } void Mouse::Out8(unsigned int addr, unsigned char data){ this->Error("Stopped at Mouse::Out8"); } unsigned char Mouse::In8(unsigned int addr){ switch(addr){ ca...
20.105263
87
0.626963
NiwakaDev
0ef6031a84b2fe235faee44ebfc5dabe2ac328d2
4,066
cc
C++
src/lib/shader.cc
jube/mapmaker
e2eb6b1fbc3d803d56817aea86b350bd26ad5fa4
[ "ISC" ]
15
2015-03-18T18:07:30.000Z
2020-10-15T16:59:19.000Z
src/lib/shader.cc
jube/mapmaker
e2eb6b1fbc3d803d56817aea86b350bd26ad5fa4
[ "ISC" ]
null
null
null
src/lib/shader.cc
jube/mapmaker
e2eb6b1fbc3d803d56817aea86b350bd26ad5fa4
[ "ISC" ]
1
2020-01-16T17:37:11.000Z
2020-01-16T17:37:11.000Z
/* * Copyright (c) 2014, Julien Bernard * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DIS...
26.575163
80
0.490408
jube
0efa0eb26e19988f843998738a12ccfa700dacb6
885
cpp
C++
TinyEngine/src/math/SphericalCoordinate.cpp
Kimau/KhronosSandbox
e06caed3ab85e620ac2c5860fd31cef6ed6418c3
[ "Apache-2.0" ]
68
2020-04-14T11:03:26.000Z
2020-06-11T16:17:29.000Z
TinyEngine/src/math/SphericalCoordinate.cpp
Kimau/KhronosSandbox
e06caed3ab85e620ac2c5860fd31cef6ed6418c3
[ "Apache-2.0" ]
5
2020-05-16T05:32:16.000Z
2020-05-21T11:09:52.000Z
TinyEngine/src/math/SphericalCoordinate.cpp
Kimau/KhronosSandbox
e06caed3ab85e620ac2c5860fd31cef6ed6418c3
[ "Apache-2.0" ]
1
2021-03-19T22:47:00.000Z
2021-03-19T22:47:00.000Z
#include "SphericalCoordinate.h" #include <cmath> // https://en.wikipedia.org/wiki/Spherical_coordinate_system#Cartesian_coordinates SphericalCoordinate::SphericalCoordinate(float theta, float phi, float rho) : theta(theta), phi(phi), rho(rho) { } SphericalCoordinate::SphericalCoordinate(const glm::vec3& cartesian...
20.113636
82
0.736723
Kimau
0efa41989f4a97fb86a1afda9994f8fd1199bbd5
511
cpp
C++
set1/fixed_xor_test.cpp
guzhoucan/cryptopals
a45280158867a86b5d8c61bf7194277d05abdf14
[ "MIT" ]
1
2020-08-07T22:38:27.000Z
2020-08-07T22:38:27.000Z
set1/fixed_xor_test.cpp
guzhoucan/cryptopals
a45280158867a86b5d8c61bf7194277d05abdf14
[ "MIT" ]
null
null
null
set1/fixed_xor_test.cpp
guzhoucan/cryptopals
a45280158867a86b5d8c61bf7194277d05abdf14
[ "MIT" ]
null
null
null
#include "fixed_xor.h" #include "absl/strings/escaping.h" #include "gtest/gtest.h" namespace cryptopals { namespace { TEST(FixedXorTest, Test) { std::string str1 = absl::HexStringToBytes("1c0111001f010100061a024b53535009181c"); std::string str2 = absl::HexStringToBytes("686974207468652062756c6c277320...
25.55
69
0.739726
guzhoucan
0efec0e1d0a0d75f12b4de3dad7dcd9e2eba9bf3
9,358
hpp
C++
source/NanairoCore/Material/SurfaceModel/Surface/microcylinder.hpp
byzin/Nanairo
23fb6deeec73509c538a9c21009e12be63e8d0e4
[ "MIT" ]
30
2015-09-06T03:14:29.000Z
2021-06-18T11:00:19.000Z
source/NanairoCore/Material/SurfaceModel/Surface/microcylinder.hpp
byzin/Nanairo
23fb6deeec73509c538a9c21009e12be63e8d0e4
[ "MIT" ]
31
2016-01-14T14:50:34.000Z
2018-06-25T13:21:48.000Z
source/NanairoCore/Material/SurfaceModel/Surface/microcylinder.hpp
byzin/Nanairo
23fb6deeec73509c538a9c21009e12be63e8d0e4
[ "MIT" ]
6
2017-04-09T13:07:47.000Z
2021-05-29T21:17:34.000Z
///*! // \file microcylinder.hpp // \author Sho Ikeda // // Copyright (c) 2015-2018 Sho Ikeda // This software is released under the MIT License. // http://opensource.org/licenses/mit-license.php // */ // //#ifndef NANAIRO_MICROCYLINDER_HPP //#define NANAIRO_MICROCYLINDER_HPP // //// Standard C++ library //#inclu...
34.404412
88
0.543172
byzin
0efff81ac4c3b0f07d92761306b2ff776a092c86
13,590
cpp
C++
Tasks/Task-396-Azure_IoT_Hub/main.cpp
KTP20/Embedded-Systems
0b2d78c813c056bfc1779370986bde4970716638
[ "Apache-2.0" ]
null
null
null
Tasks/Task-396-Azure_IoT_Hub/main.cpp
KTP20/Embedded-Systems
0b2d78c813c056bfc1779370986bde4970716638
[ "Apache-2.0" ]
null
null
null
Tasks/Task-396-Azure_IoT_Hub/main.cpp
KTP20/Embedded-Systems
0b2d78c813c056bfc1779370986bde4970716638
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2020 Arm Limited * SPDX-License-Identifier: Apache-2.0 */ #include "mbed.h" #include "rtos/ThisThread.h" #include "NTPClient.h" #include "certs.h" #include "iothub.h" #include "iothub_client_options.h" #include "iothub_device_client.h" #include "iothub_message.h" #include "azure_c_shared_utility...
30.886364
173
0.598602
KTP20
1600cb385593e3dd5b003458d7f1e834447e398e
1,743
cpp
C++
libs/spirit/example/scheme/example/scheme/factorial1.cpp
Ron2014/boost_1_48_0
19673f69677ffcba7c7bd6e08ec07ee3962f161c
[ "BSL-1.0" ]
null
null
null
libs/spirit/example/scheme/example/scheme/factorial1.cpp
Ron2014/boost_1_48_0
19673f69677ffcba7c7bd6e08ec07ee3962f161c
[ "BSL-1.0" ]
null
null
null
libs/spirit/example/scheme/example/scheme/factorial1.cpp
Ron2014/boost_1_48_0
19673f69677ffcba7c7bd6e08ec07ee3962f161c
[ "BSL-1.0" ]
null
null
null
/*============================================================================= Copyright (c) 2001-2010 Joel de Guzman 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) ====================================...
29.05
81
0.455536
Ron2014
1605ca33441eda8cacec510c21e7fee6dfb21e8f
3,019
hxx
C++
include/itkWaveletImageFilter.hxx
jsdelivrbot/ITKWavelet
8e6011a7273cc336d2461592cde3721bd1ad3c1a
[ "Apache-2.0" ]
null
null
null
include/itkWaveletImageFilter.hxx
jsdelivrbot/ITKWavelet
8e6011a7273cc336d2461592cde3721bd1ad3c1a
[ "Apache-2.0" ]
null
null
null
include/itkWaveletImageFilter.hxx
jsdelivrbot/ITKWavelet
8e6011a7273cc336d2461592cde3721bd1ad3c1a
[ "Apache-2.0" ]
2
2017-11-17T20:01:19.000Z
2018-12-09T03:04:49.000Z
/* * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES) * * This file is part of Orfeo Toolbox * * https://www.orfeo-toolbox.org/ * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of ...
30.19
98
0.776416
jsdelivrbot
16082da045f7f523060dcf50ea44951178232d6e
35,390
cc
C++
plugins/header_rewrite/conditions.cc
hankai17/trafficserver
789d7a8b798de5b0dee2c83c7ff27b4b201f8919
[ "Apache-2.0" ]
1
2019-11-08T05:57:11.000Z
2019-11-08T05:57:11.000Z
plugins/header_rewrite/conditions.cc
hankai17/trafficserver
789d7a8b798de5b0dee2c83c7ff27b4b201f8919
[ "Apache-2.0" ]
1
2018-09-05T21:31:40.000Z
2018-09-05T21:31:40.000Z
plugins/header_rewrite/conditions.cc
pushkar2017/trafficserver
a105fd3d177c7c4223609b09014bff372f0c7d0e
[ "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 no...
25.170697
120
0.657389
hankai17