id int64 0 755k | file_name stringlengths 3 109 | file_path stringlengths 13 185 | content stringlengths 31 9.38M | size int64 31 9.38M | language stringclasses 1
value | extension stringclasses 11
values | total_lines int64 1 340k | avg_line_length float64 2.18 149k | max_line_length int64 7 2.22M | alphanum_fraction float64 0 1 | repo_name stringlengths 6 65 | repo_stars int64 100 47.3k | repo_forks int64 0 12k | repo_open_issues int64 0 3.4k | repo_license stringclasses 9
values | repo_extraction_date stringclasses 92
values | exact_duplicates_redpajama bool 2
classes | near_duplicates_redpajama bool 2
classes | exact_duplicates_githubcode bool 2
classes | exact_duplicates_stackv2 bool 1
class | exact_duplicates_stackv1 bool 2
classes | near_duplicates_githubcode bool 2
classes | near_duplicates_stackv1 bool 2
classes | near_duplicates_stackv2 bool 1
class |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
14,091 | MockIpcServer.h | deskflow_deskflow/src/test/mock/ipc/MockIpcServer.h | /*
* Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2015-2016 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* found in the file LICENSE that should have accompanied this file.
*
* This package is distr... | 1,782 | C++ | .h | 59 | 27.305085 | 85 | 0.719883 | deskflow/deskflow | 10,364 | 3,653 | 93 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
14,092 | MockStream.h | deskflow_deskflow/src/test/mock/io/MockStream.h | /*
* Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2011 Nick Bolton
*
* This package is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* found in the file LICENSE that should have accompanied this... | 1,622 | C++ | .h | 43 | 35.44186 | 72 | 0.725191 | deskflow/deskflow | 10,364 | 3,653 | 93 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
14,093 | ExitTimeout.h | deskflow_deskflow/src/test/shared/ExitTimeout.h | /*
* Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2024 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* found in the file LICENSE that should have accompanied this file.
*
* This package is distribute... | 1,412 | C++ | .h | 42 | 31.595238 | 80 | 0.746334 | deskflow/deskflow | 10,364 | 3,653 | 93 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
14,094 | TestEventQueue.h | deskflow_deskflow/src/test/shared/TestEventQueue.h | /*
* Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2013-2016 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* found in the file LICENSE that should have accompanied this file.
*
* This package is distr... | 1,113 | C++ | .h | 34 | 30.558824 | 72 | 0.771455 | deskflow/deskflow | 10,364 | 3,653 | 93 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
14,095 | undef_x11_macros.h | deskflow_deskflow/src/test/shared/undef_x11_macros.h | /*
* Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2024 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* found in the file LICENSE that should have accompanied this file.
*
* This package is distribute... | 923 | C++ | .h | 24 | 36.541667 | 72 | 0.755853 | deskflow/deskflow | 10,364 | 3,653 | 93 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
14,096 | TestQtFullApp.h | deskflow_deskflow/src/test/shared/gui/TestQtFullApp.h | /*
* Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2024 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* found in the file LICENSE that should have accompanied this file.
*
* This package is distribute... | 1,067 | C++ | .h | 33 | 30.515152 | 72 | 0.748544 | deskflow/deskflow | 10,364 | 3,653 | 93 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
14,097 | TestQtCoreApp.h | deskflow_deskflow/src/test/shared/gui/TestQtCoreApp.h | /*
* Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2024 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* found in the file LICENSE that should have accompanied this file.
*
* This package is distribute... | 952 | C++ | .h | 27 | 33.333333 | 72 | 0.753529 | deskflow/deskflow | 10,364 | 3,653 | 93 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
14,098 | AppConfigMock.h | deskflow_deskflow/src/test/shared/gui/mocks/AppConfigMock.h | /*
* Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2024 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* found in the file LICENSE that should have accompanied this file.
*
* This package is distribute... | 4,471 | C++ | .h | 87 | 48.54023 | 88 | 0.726316 | deskflow/deskflow | 10,364 | 3,653 | 93 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
14,099 | ServerConfigMock.h | deskflow_deskflow/src/test/shared/gui/mocks/ServerConfigMock.h | /*
* Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2024 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* found in the file LICENSE that should have accompanied this file.
*
* This package is distribute... | 1,388 | C++ | .h | 35 | 37.371429 | 82 | 0.743133 | deskflow/deskflow | 10,364 | 3,653 | 93 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
14,100 | MSWindowsServerTaskBarReceiver.h | deskflow_deskflow/src/cmd/deskflows/MSWindowsServerTaskBarReceiver.h | /*
* Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2003 Chris Schoeneman
*
* This package is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* found in the file LICENSE that should have accompanied... | 1,945 | C++ | .h | 55 | 32.981818 | 95 | 0.78541 | deskflow/deskflow | 10,364 | 3,653 | 93 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | true | false | false | false | false | false | false |
14,101 | OSXServerTaskBarReceiver.h | deskflow_deskflow/src/cmd/deskflows/OSXServerTaskBarReceiver.h | /*
* Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2004 Chris Schoeneman
*
* This package is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* found in the file LICENSE that should have accompanied... | 1,239 | C++ | .h | 32 | 36.625 | 78 | 0.785358 | deskflow/deskflow | 10,364 | 3,653 | 93 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | true | false | false | false | false | false | false |
14,102 | XWindowsServerTaskBarReceiver.h | deskflow_deskflow/src/cmd/deskflows/XWindowsServerTaskBarReceiver.h | /*
* Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2003 Chris Schoeneman
*
* This package is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* found in the file LICENSE that should have accompanied... | 1,632 | C++ | .h | 37 | 41.918919 | 94 | 0.804279 | deskflow/deskflow | 10,364 | 3,653 | 93 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | true | false | false | false | false | false | false |
14,103 | resource.h | deskflow_deskflow/src/cmd/deskflows/resource.h | //{{NO_DEPENDENCIES}}
// Microsoft Visual C++ generated include file.
// Used by server .rc file
//
#define IDS_FAILED 1
#define IDS_INIT_FAILED 2
#define IDS_UNCAUGHT_EXCEPTION 3
#define IDI_DESKFLOW 101
#define IDI_TASKBAR_NOT_RUNNING 102
#define IDI_TASKBAR_NOT_WORKING 103
#define IDI_TASKBAR_NOT_CONNECTED 104
#defi... | 1,312 | C++ | .h | 41 | 30.97561 | 47 | 0.82126 | deskflow/deskflow | 10,364 | 3,653 | 93 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
14,104 | OSXClientTaskBarReceiver.h | deskflow_deskflow/src/cmd/deskflowc/OSXClientTaskBarReceiver.h | /*
* Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2004 Chris Schoeneman
*
* This package is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* found in the file LICENSE that should have accompanied... | 1,258 | C++ | .h | 33 | 36.060606 | 78 | 0.786885 | deskflow/deskflow | 10,364 | 3,653 | 93 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | true | false | false | false | false | false | false |
14,105 | XWindowsClientTaskBarReceiver.h | deskflow_deskflow/src/cmd/deskflowc/XWindowsClientTaskBarReceiver.h | /*
* Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2003 Chris Schoeneman
*
* This package is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* found in the file LICENSE that should have accompanied... | 1,626 | C++ | .h | 37 | 41.756757 | 93 | 0.804169 | deskflow/deskflow | 10,364 | 3,653 | 93 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | true | false | false | false | false | false | false |
14,106 | MSWindowsClientTaskBarReceiver.h | deskflow_deskflow/src/cmd/deskflowc/MSWindowsClientTaskBarReceiver.h | /*
* Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2003 Chris Schoeneman
*
* This package is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* found in the file LICENSE that should have accompanied... | 1,920 | C++ | .h | 54 | 33.185185 | 95 | 0.785868 | deskflow/deskflow | 10,364 | 3,653 | 93 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | true | false | false | false | false | false | false |
14,107 | resource.h | deskflow_deskflow/src/cmd/deskflowc/resource.h | //{{NO_DEPENDENCIES}}
// Microsoft Developer Studio generated include file.
// Used by deskflowc.rc
//
#define IDS_FAILED 1
#define IDS_INIT_FAILED 2
#define IDS_UNCAUGHT_EXCEPTION 3
#define IDI_DESKFLOW 101
#define IDI_TASKBAR_NOT_RUNNING 102
#define IDI_TASKBAR_NOT_WORKING 103
#define IDI_TASKBAR_NOT_CONNECTED 104
#d... | 1,132 | C++ | .h | 36 | 30.416667 | 53 | 0.820091 | deskflow/deskflow | 10,364 | 3,653 | 93 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
14,108 | TrayIcon.h | deskflow_deskflow/src/gui/src/TrayIcon.h | /*
* Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2021 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* found in the file LICENSE that should have accompanied this file.
*
* This package is distribute... | 1,354 | C++ | .h | 42 | 30.142857 | 72 | 0.760553 | deskflow/deskflow | 10,364 | 3,653 | 93 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
14,109 | Hotkey.h | deskflow_deskflow/src/gui/src/Hotkey.h | /*
* Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2008 Volker Lanz (vl@fidra.de)
*
* This package is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* found in the file LICENSE that should have ac... | 1,793 | C++ | .h | 65 | 25.076923 | 79 | 0.758741 | deskflow/deskflow | 10,364 | 3,653 | 93 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
14,110 | DataDownloader.h | deskflow_deskflow/src/gui/src/DataDownloader.h | /*
* Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2014-2016 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* found in the file LICENSE that should have accompanied this file.
*
* This package is distr... | 1,311 | C++ | .h | 45 | 26.866667 | 72 | 0.767886 | deskflow/deskflow | 10,364 | 3,653 | 93 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
14,111 | KeySequence.h | deskflow_deskflow/src/gui/src/KeySequence.h | /*
* Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2008 Volker Lanz (vl@fidra.de)
*
* This package is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* found in the file LICENSE that should have ac... | 1,603 | C++ | .h | 64 | 22.34375 | 72 | 0.732026 | deskflow/deskflow | 10,364 | 3,653 | 93 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
14,112 | ScreenSetupModel.h | deskflow_deskflow/src/gui/src/ScreenSetupModel.h | /*
* Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012 Symless Ltd.
* Copyright (C) 2008 Volker Lanz (vl@fidra.de)
*
* This package is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* found in the file LICENSE that should have accompa... | 2,518 | C++ | .h | 86 | 26.511628 | 114 | 0.749174 | deskflow/deskflow | 10,364 | 3,653 | 93 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | true | false | false | false | false | false | false |
14,113 | MainWindow.h | deskflow_deskflow/src/gui/src/MainWindow.h | /*
* Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2008 Volker Lanz (vl@fidra.de)
*
* This package is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* found in the file LICENSE that should have ac... | 6,494 | C++ | .h | 203 | 29.35468 | 87 | 0.782172 | deskflow/deskflow | 10,364 | 3,653 | 93 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
14,114 | Action.h | deskflow_deskflow/src/gui/src/Action.h | /*
* Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2008 Volker Lanz (vl@fidra.de)
*
* This package is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* found in the file LICENSE that should have ac... | 3,380 | C++ | .h | 156 | 18.461538 | 79 | 0.729907 | deskflow/deskflow | 10,364 | 3,653 | 93 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | true | false | false | false | false | false | false |
14,115 | QUtility.h | deskflow_deskflow/src/gui/src/QUtility.h | /*
* Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2013-2016 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* found in the file LICENSE that should have accompanied this file.
*
* This package is distr... | 981 | C++ | .h | 25 | 37.48 | 73 | 0.782563 | deskflow/deskflow | 10,364 | 3,653 | 93 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | true | false | false | false | false | false | false |
14,116 | ProcessorArch.h | deskflow_deskflow/src/gui/src/ProcessorArch.h | /*
* Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2015-2016 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* found in the file LICENSE that should have accompanied this file.
*
* This package is distr... | 897 | C++ | .h | 27 | 31.074074 | 72 | 0.78341 | deskflow/deskflow | 10,364 | 3,653 | 93 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
14,117 | SetupWizard.h | deskflow_deskflow/src/gui/src/SetupWizard.h | /*
* Deskflow -- mouse and keyboard sharing utility
*
* SPDX-FileCopyrightText: Copyright (C) 2024 Chris Rizzitello <sithlord48@gmail.com>
* SPDX-FileCopyrightText: Copyright (C) 2012 Symless Ltd.
* SPDX-License-Identifier: GPL-2.0
*/
#pragma once
#include <QDialog>
class AppConfig;
class QLabel;
class QLineEd... | 706 | C++ | .h | 28 | 23 | 85 | 0.767164 | deskflow/deskflow | 10,364 | 3,653 | 93 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
14,118 | ServerConfig.h | deskflow_deskflow/src/gui/src/ServerConfig.h | /*
* Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012 Symless Ltd.
* Copyright (C) 2008 Volker Lanz (vl@fidra.de)
*
* This package is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* found in the file LICENSE that should have accompa... | 6,771 | C++ | .h | 286 | 20.597902 | 117 | 0.737428 | deskflow/deskflow | 10,364 | 3,653 | 93 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
14,119 | AppDelegate.h | deskflow_deskflow/src/gui/src/AppDelegate.h | #pragma once
#ifdef __cplusplus
extern "C"
{
#endif
#import <Cocoa/Cocoa.h>
#if OSX_DEPLOYMENT_TARGET >= 1014
#import <UserNotifications/UNUserNotificationCenter.h>
@interface AppDelegate
: NSObject <NSApplicationDelegate, NSUserNotificationCenterDelegate, UNUserNotificationCenterDelegate>
#else
@interface App... | 442 | C++ | .h | 17 | 24.235294 | 108 | 0.831754 | deskflow/deskflow | 10,364 | 3,653 | 93 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
14,120 | SettingsDialog.h | deskflow_deskflow/src/gui/src/dialogs/SettingsDialog.h | /*
* Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012 Symless Ltd.
* Copyright (C) 2008 Volker Lanz (vl@fidra.de)
*
* This package is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* found in the file LICENSE that should have accompa... | 2,759 | C++ | .h | 75 | 34.213333 | 110 | 0.773613 | deskflow/deskflow | 10,364 | 3,653 | 93 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
14,121 | ServerConfigDialog.h | deskflow_deskflow/src/gui/src/dialogs/ServerConfigDialog.h | /*
* Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2008 Volker Lanz (vl@fidra.de)
*
* This package is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* found in the file LICENSE that should have ac... | 2,577 | C++ | .h | 83 | 28.409639 | 82 | 0.775584 | deskflow/deskflow | 10,364 | 3,653 | 93 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
14,122 | HotkeyDialog.h | deskflow_deskflow/src/gui/src/dialogs/HotkeyDialog.h | /*
* Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2008 Volker Lanz (vl@fidra.de)
*
* This package is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* found in the file LICENSE that should have ac... | 1,291 | C++ | .h | 47 | 25.170213 | 72 | 0.754258 | deskflow/deskflow | 10,364 | 3,653 | 93 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
14,123 | ScreenSettingsDialog.h | deskflow_deskflow/src/gui/src/dialogs/ScreenSettingsDialog.h | /*
* Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012 Symless Ltd.
* Copyright (C) 2008 Volker Lanz (vl@fidra.de)
*
* This package is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* found in the file LICENSE that should have accompa... | 1,418 | C++ | .h | 43 | 30.906977 | 105 | 0.776557 | deskflow/deskflow | 10,364 | 3,653 | 93 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
14,124 | ActionDialog.h | deskflow_deskflow/src/gui/src/dialogs/ActionDialog.h | /*
* Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2008 Volker Lanz (vl@fidra.de)
*
* This package is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* found in the file LICENSE that should have ac... | 1,511 | C++ | .h | 50 | 28.06 | 86 | 0.776706 | deskflow/deskflow | 10,364 | 3,653 | 93 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
14,125 | AboutDialog.h | deskflow_deskflow/src/gui/src/dialogs/AboutDialog.h | /*
* Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2024 Chris Rizzitello <sithlord48@gmail.com>
* Copyright (C) 2012 Symless Ltd.
* Copyright (C) 2008 Volker Lanz (vl@fidra.de)
*
* This package is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public... | 2,874 | C++ | .h | 66 | 38.924242 | 88 | 0.724249 | deskflow/deskflow | 10,364 | 3,653 | 93 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
14,126 | AddClientDialog.h | deskflow_deskflow/src/gui/src/dialogs/AddClientDialog.h | /*
* Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2014-2016 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* found in the file LICENSE that should have accompanied this file.
*
* This package is distr... | 1,504 | C++ | .h | 57 | 24.052632 | 72 | 0.77121 | deskflow/deskflow | 10,364 | 3,653 | 93 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
14,127 | ScreenSetupView.h | deskflow_deskflow/src/gui/src/widgets/ScreenSetupView.h | /*
* Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012 Symless Ltd.
* Copyright (C) 2008 Volker Lanz (vl@fidra.de)
*
* This package is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* found in the file LICENSE that should have accompa... | 1,567 | C++ | .h | 46 | 31.934783 | 72 | 0.789161 | deskflow/deskflow | 10,364 | 3,653 | 93 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
14,128 | KeySequenceWidget.h | deskflow_deskflow/src/gui/src/widgets/KeySequenceWidget.h | /*
* Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2008 Volker Lanz (vl@fidra.de)
*
* This package is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* found in the file LICENSE that should have ac... | 2,535 | C++ | .h | 112 | 19.598214 | 77 | 0.727084 | deskflow/deskflow | 10,364 | 3,653 | 93 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | true | false | false | false | false | false | false |
14,129 | ServerStateLabel.h | deskflow_deskflow/src/gui/src/widgets/ServerStateLabel.h | /*
* Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2021 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* found in the file LICENSE that should have accompanied this file.
*
* This package is distribute... | 1,031 | C++ | .h | 30 | 32.366667 | 72 | 0.769618 | deskflow/deskflow | 10,364 | 3,653 | 93 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
14,130 | TrashScreenWidget.h | deskflow_deskflow/src/gui/src/widgets/TrashScreenWidget.h | /*
* Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2008 Volker Lanz (vl@fidra.de)
*
* This package is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* found in the file LICENSE that should have ac... | 1,083 | C++ | .h | 35 | 28.914286 | 72 | 0.768714 | deskflow/deskflow | 10,364 | 3,653 | 93 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
14,131 | ClientStateLabel.h | deskflow_deskflow/src/gui/src/widgets/ClientStateLabel.h | /*
* Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2021 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* found in the file LICENSE that should have accompanied this file.
*
* This package is distribute... | 950 | C++ | .h | 26 | 34.615385 | 72 | 0.768226 | deskflow/deskflow | 10,364 | 3,653 | 93 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
14,134 | VersionHelper.cpp | snowie2000_mactype/VersionHelper.cpp | #include "VersionHelper.h"
//////////////////////////////////////////////////////////////////////
// Konstruktion/Destruktion
//////////////////////////////////////////////////////////////////////
CVersionHelper::CVersionHelper()
{
}
CVersionHelper::~CVersionHelper()
{
}
/***********************... | 10,537 | C++ | .cpp | 186 | 53.268817 | 112 | 0.307633 | snowie2000/mactype | 9,859 | 437 | 273 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
14,137 | hash_list.cpp | snowie2000_mactype/hash_list.cpp | #include "hash_list.h"
#include <cwctype>
#include <algorithm>
void CHashedStringList::Add(TCHAR * String, TCHAR * Value)
{
std::wstring buff = String;
if (!m_bCaseSense)
std::transform(buff.begin(), buff.end(), buff.begin(), ::towlower);
strmap::iterator it = stringmap.find(buff);
if (it == stringmap.end()) {
... | 825 | C++ | .cpp | 33 | 23.060606 | 69 | 0.696701 | snowie2000/mactype | 9,859 | 437 | 273 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
14,146 | run.cpp | snowie2000_mactype/run.cpp | // dll injection
#define _CRT_SECURE_NO_DEPRECATE 1
#define WINVER 0x500
#define _WIN32_WINNT 0x500
#define _WIN32_IE 0x601
#define WIN32_LEAN_AND_MEAN 1
#define UNICODE 1
#define _UNICODE 1
#include <Windows.h>
#include <ShellApi.h>
#include <ComDef.h>
#include <ShlObj.h>
#include <ShLwApi.h>
#include <tchar.h>
#incl... | 7,497 | C++ | .cpp | 274 | 23.773723 | 129 | 0.716571 | snowie2000/mactype | 9,859 | 437 | 273 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
14,151 | undocAPI.h | snowie2000_mactype/undocAPI.h | #pragma once
typedef struct _UNICODE_STRING2 {
USHORT Length;
USHORT MaximumLength;
PWSTR Buffer;
} UNICODE_STRING2;
typedef UNICODE_STRING2 *PUNICODE_STRING2;
typedef const UNICODE_STRING2 *PCUNICODE_STRING2;
const DWORD GT_DEVICE_TO_WORLD = 0x0402;
const DWORD GT_WORLD_TO_DEVICE = 0x0204;
const DWOR... | 4,526 | C++ | .h | 92 | 44.086957 | 233 | 0.677587 | snowie2000/mactype | 9,859 | 437 | 273 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
14,153 | ivs_otft.h | snowie2000_mactype/ivs_otft.h | OTFT_DEF_BEGIN(0) /* E0100 */
OTFT_DEF(0x5026, 2) /* jp90 */
OTFT_DEF(0x50C5, 2) /* jp90 */
OTFT_DEF(0x5132, 2) /* jp90 */
OTFT_DEF(0x514E, 2) /* jp90 */
OTFT_DEF(0x5154, 1) /* jp78 */
OTFT_DEF(0x5195, 1) /* jp78 */
OTFT_DEF(0x51A4, 2) /* jp90 */
OTFT_DEF(0x53A9, 2) /* jp90 */
OTFT_DEF(0x53C9, 2) /* jp90 */
O... | 14,883 | C++ | .h | 468 | 29.826923 | 31 | 0.582518 | snowie2000/mactype | 9,859 | 437 | 273 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
14,154 | ft2vert.h | snowie2000_mactype/ft2vert.h |
#ifdef __cplusplus
extern "C"{
#endif
/* store GSUB feature vert/vrt2 */
struct ft2vert_st *ft2vert_init(FT_Face face);
void ft2vert_final(FT_Face face, struct ft2vert_st *vert);
/* convert horizontal glyph index to vertical glyph index
*/
FT_UInt ft2vert_get_gid(const struct ft2vert_st *ft2vert, const FT_UInt gid)... | 461 | C++ | .h | 13 | 34 | 108 | 0.767494 | snowie2000/mactype | 9,859 | 437 | 273 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
14,155 | stdint.h | snowie2000_mactype/stdint.h | /* stdint.h
Integer types - c99 7.18
*/
/*
* C/C++ Run Time Library - Version 13.0
*
* Copyright (c) 2002, 2007 by CodeGear
* All Rights Reserved.
*
*/
#ifndef __STDINT_H
#define __STDINT_H
/* 7.18.1.1 Exact-width integer types */
typedef __int8 int8_t;
typedef __int16 int16_t;
typedef _... | 4,704 | C++ | .h | 119 | 37.865546 | 73 | 0.73965 | snowie2000/mactype | 9,859 | 437 | 273 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
14,157 | directwrite.h | snowie2000_mactype/directwrite.h | #include "common.h"
#include <VersionHelpers.h>
#pragma once
#ifdef EASYHOOK
#include "easyhook.h"
#define HOOK_MANUALLY HOOK_DEFINE
#define HOOK_DEFINE(rettype, name, argtype, arglist) \
extern rettype(WINAPI * ORIG_##name) argtype; \
extern HOOK_TRACE_INFO HOOK_##name;
#include "hooklist.h"
#undef ... | 1,084 | C++ | .h | 33 | 30.242424 | 57 | 0.75 | snowie2000/mactype | 9,859 | 437 | 273 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
14,159 | hookCounter.h | snowie2000_mactype/hookCounter.h | #pragma once
#include <atomic>
#include <thread>
#include <chrono>
class HCounter {
static std::atomic<int> ref;
public:
HCounter() {
++this->ref;
}
~HCounter() {
--this->ref;
}
static bool wait(int nCount) {
while (--nCount && HCounter::ref.load()) {
std::this_thread::sleep_for(st... | 389 | C++ | .h | 20 | 16.05 | 62 | 0.631579 | snowie2000/mactype | 9,859 | 437 | 273 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
14,163 | ownedcs.h | snowie2000_mactype/ownedcs.h | #include <windows.h>
typedef struct _OWNED_CRITIAL_SECTION
{
int nOwner, nRequests, nRecursiveCount;
HANDLE hEvent;
CRITICAL_SECTION threadLock;
}OWNED_CRITIAL_SECTION, *POWNED_CRITIAL_SECTION;
//用于自定义临界区
void WINAPI InitializeOwnedCritialSection(POWNED_CRITIAL_SECTION cs);
void WINAPI DeleteOwnedCritialSection(... | 518 | C++ | .h | 12 | 40.25 | 76 | 0.844262 | snowie2000/mactype | 9,859 | 437 | 273 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
14,164 | colorinvert.h | snowie2000_mactype/colorinvert.h | #pragma once
//formula: (x+482)^2+(y+481)^2=880^2
unsigned char InvertTable[260] = { 255,255,254,253,253,252,251,251,250,249,249,248,247,247,246,245,245,244,243,242,242,241,240,240,239,238,238,237,236,235,235,234,233,233,232,231,230,230,229,228,227,227,226,225,224,224,223,222,221,221,220,219,218,218,217,216,215,215,2... | 1,039 | C++ | .h | 3 | 344.333333 | 986 | 0.720077 | snowie2000/mactype | 9,859 | 437 | 273 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
14,166 | easyhook.h | snowie2000_mactype/easyhook.h | /*
EasyHook - The reinvention of Windows API hooking
Copyright (C) 2009 Christoph Husse
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the Lice... | 12,326 | C++ | .h | 345 | 32.086957 | 144 | 0.751074 | snowie2000/mactype | 9,859 | 437 | 273 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | true | false | false | false | false | false | false |
14,169 | wow64layer.h | snowie2000_mactype/wow64layer.h | /*
#ifndef CONTEXT_i386
#define CONTEXT_i386 0x00010000 // this assumes that i386 and
#define CONTEXT_i486 0x00010000 // i486 have identical context records
#endif
#define WOW64_CS32 0x23*/
#include <Windows.h>
BOOL XP_GetThreadWow64Context(
__in HANDLE Thread,
__in_opt HANDLE Process,
... | 5,303 | C++ | .h | 187 | 24.877005 | 77 | 0.680528 | snowie2000/mactype | 9,859 | 437 | 273 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
14,172 | hooklist.h | snowie2000_mactype/hooklist.h | HOOK_DEFINE(int, GetObjectW, (__in HANDLE h, __in int c, __out_bcount_opt(c) LPVOID pv), (h, c, pv))
HOOK_DEFINE(int, GetObjectA, (__in HANDLE h, __in int c, __out_bcount_opt(c) LPVOID pv), (h, c, pv))
HOOK_DEFINE(int, GetTextFaceAliasW, (HDC hdc, int nLen, LPWSTR lpAliasW), (hdc, nLen, lpAliasW))
HOOK_DEFINE(BOOL... | 16,744 | C++ | .h | 356 | 41.994382 | 153 | 0.75334 | snowie2000/mactype | 9,859 | 437 | 273 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
14,173 | gdiPlusFlat2.h | snowie2000_mactype/gdiPlusFlat2.h | #ifndef _GDIPLUSFLAT_H
#define _GDIPLUSFLAT_H
#include <Windows.h>
#include "GdiPlusTypes2.h"
#include <GdiPlusEnums.h>
#include <GdiplusGpStubs.h>
#include <GdiPlusPixelFormats.h>
#define GDIPCONST const
#define WINGDIPAPI __stdcall
typedef Status GpStatus;
typedef GpStatus (WINGDIPAPI*
GdipDrawString)(
GpGra... | 2,325 | C++ | .h | 53 | 37 | 93 | 0.789781 | snowie2000/mactype | 9,859 | 437 | 273 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
14,174 | ftref.h | snowie2000_mactype/ftref.h | #include <freetype/ftglyph.h>
#include <Windows.h>
#ifdef __cplusplus
extern "C"{
#endif
typedef struct
{
FT_Glyph ft_glyph;
int refcount;
}FT_Referenced_GlyphRec, *FT_Referenced_Glyph;
typedef struct
{
FT_BitmapGlyph ft_glyph;
int refcount;
}FT_Referenced_BitmapGlyphRec, *FT_Referenced_BitmapGlyph;
FT_Erro... | 600 | C++ | .h | 22 | 25.681818 | 87 | 0.776614 | snowie2000/mactype | 9,859 | 437 | 273 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
14,175 | ft2build.h | snowie2000_mactype/ft2build.h | /***************************************************************************/
/* */
/* ft2build.h */
/* */
/* Fr... | 2,176 | C++ | .h | 31 | 68.354839 | 77 | 0.284043 | snowie2000/mactype | 9,859 | 437 | 273 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | true | true | false | false | false | false | false | false |
14,176 | VersionHelper.h | snowie2000_mactype/VersionHelper.h | #pragma once
#include <xstring>
#include <windows.h>
#include <algorithm>
#include <cctype>
using namespace std;
class CVersionHelper
{
public:
CVersionHelper();
virtual ~CVersionHelper();
public:
wstring GetFileVersionX();
wstring GetProductVersionX();
wstring GetVersionInfo(HMODULE hLib, wstrin... | 909 | C++ | .h | 33 | 24.69697 | 90 | 0.706837 | snowie2000/mactype | 9,859 | 437 | 273 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
14,178 | hash_list.h | snowie2000_mactype/hash_list.h | //#include "stdint.h"
#include "malloc.h"
#include "string.h"
#include "windows.h"
#include <map>
#include <string>
typedef std::map<std::wstring, LPTSTR> strmap;
class CHashedStringList
{
public:
void Add(TCHAR * String, TCHAR * Value);
void Delete(TCHAR * String);
TCHAR * Find(TCHAR * String);
CHashedStringList... | 619 | C++ | .h | 27 | 21.074074 | 72 | 0.730508 | snowie2000/mactype | 9,859 | 437 | 273 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
14,186 | optimize.h | snowie2000_mactype/optimize/optimize.h | #include "memcpy_amd.h"
#pragma comment (lib, "optimize/release/mem_amd.lib")
#undef ZeroMemory
#undef memzero
#undef memset
#undef memcpy
#define ZeroMemory memzero_optimized
#define memzero memzero_optimized
#define memset memset_optimized
#define memcpy memcpy_optimized
//#ifndef _DEBUG
//#endif | 303 | C++ | .h | 12 | 24 | 53 | 0.822917 | snowie2000/mactype | 9,859 | 437 | 273 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
14,187 | memcpy_amd.h | snowie2000_mactype/optimize/memcpy_amd.h | /******************************************************************************
Copyright (c) 2001 Advanced Micro Devices, Inc.
LIMITATION OF LIABILITY: THE MATERIALS ARE PROVIDED *AS IS* WITHOUT ANY
EXPRESS OR IMPLIED WARRANTY OF ANY KIND INCLUDING WARRANTIES OF MERCHANTABILITY,
NONINFRINGEMENT OF THIRD-PARTY I... | 1,888 | C++ | .h | 32 | 56.9375 | 82 | 0.73402 | snowie2000/mactype | 9,859 | 437 | 273 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
14,197 | unittest_curve_encoding.cpp | zeromq_libzmq/unittests/unittest_curve_encoding.cpp | /* SPDX-License-Identifier: MPL-2.0 */
#include "../tests/testutil_unity.hpp"
// TODO: remove this ugly hack
#ifdef close
#undef close
#endif
#include <curve_mechanism_base.hpp>
#include <msg.hpp>
#include <random.hpp>
#include <unity.h>
#include <vector>
void setUp ()
{
}
void tearDown ()
{
}
void test_roundtr... | 3,474 | C++ | .cpp | 115 | 24.217391 | 80 | 0.616957 | zeromq/libzmq | 9,642 | 2,351 | 329 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | true | false |
14,204 | test_stream_timeout.cpp | zeromq_libzmq/tests/test_stream_timeout.cpp | /* SPDX-License-Identifier: MPL-2.0 */
#include "testutil.hpp"
#include "testutil_monitoring.hpp"
#include "testutil_unity.hpp"
#include <stdlib.h>
#include <string.h>
SETUP_TEARDOWN_TESTCONTEXT
static void test_stream_handshake_timeout_accept ()
{
char my_endpoint[MAX_SOCKET_STRING];
// We use this socke... | 5,166 | C++ | .cpp | 111 | 41.567568 | 79 | 0.701353 | zeromq/libzmq | 9,642 | 2,351 | 329 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | true | false | true | false |
14,205 | test_busy_poll.cpp | zeromq_libzmq/tests/test_busy_poll.cpp | /* SPDX-License-Identifier: MPL-2.0 */
#include "testutil.hpp"
#include "testutil_unity.hpp"
SETUP_TEARDOWN_TESTCONTEXT
void test_busy_poll ()
{
// Create a socket
void *socket = test_context_socket (ZMQ_DEALER);
// set socket ZMQ_BUSY_POLL options
int busy_poll = 1;
TEST_ASSERT_SUCCESS_ERRNO ... | 673 | C++ | .cpp | 24 | 24.333333 | 72 | 0.658879 | zeromq/libzmq | 9,642 | 2,351 | 329 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | true | false | true | false |
14,209 | test_connect_fuzzer.cpp | zeromq_libzmq/tests/test_connect_fuzzer.cpp | /* SPDX-License-Identifier: MPL-2.0 */
#ifdef ZMQ_USE_FUZZING_ENGINE
#include <fuzzer/FuzzedDataProvider.h>
#endif
#include <string>
#include "testutil.hpp"
#include "testutil_unity.hpp"
// Test that zmq_connect can handle malformed strings
extern "C" int LLVMFuzzerTestOneInput (const uint8_t *data, size_t size)
{
... | 1,326 | C++ | .cpp | 46 | 24.456522 | 77 | 0.660616 | zeromq/libzmq | 9,642 | 2,351 | 329 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | true | false |
14,212 | test_pair_ipc.cpp | zeromq_libzmq/tests/test_pair_ipc.cpp | /* SPDX-License-Identifier: MPL-2.0 */
#include "testutil.hpp"
#include "testutil_unity.hpp"
#include <string>
SETUP_TEARDOWN_TESTCONTEXT
void test_roundtrip ()
{
char my_endpoint[256];
void *sb = test_context_socket (ZMQ_PAIR);
bind_loopback_ipc (sb, my_endpoint, sizeof my_endpoint);
void *sc = t... | 1,224 | C++ | .cpp | 39 | 26.74359 | 74 | 0.65641 | zeromq/libzmq | 9,642 | 2,351 | 329 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | true | false | true | false |
14,216 | test_security_gssapi.cpp | zeromq_libzmq/tests/test_security_gssapi.cpp | /* SPDX-License-Identifier: MPL-2.0 */
#include "testutil.hpp"
#include "testutil_monitoring.hpp"
#include "testutil_unity.hpp"
#include <stdlib.h>
#include <string.h>
// This test requires a KRB5 environment with the following
// service principal (substitute your host.domain and REALM):
//
// zmqtest2/host.do... | 8,662 | C++ | .cpp | 211 | 35.995261 | 78 | 0.670469 | zeromq/libzmq | 9,642 | 2,351 | 329 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | true | false |
14,221 | test_peer.cpp | zeromq_libzmq/tests/test_peer.cpp | /* SPDX-License-Identifier: MPL-2.0 */
#include "testutil.hpp"
#include "testutil_unity.hpp"
SETUP_TEARDOWN_TESTCONTEXT
void test_peer ()
{
size_t len = MAX_SOCKET_STRING;
char my_endpoint[MAX_SOCKET_STRING];
void *peer1 = test_context_socket (ZMQ_PEER);
bind_loopback (peer1, false, my_endpoint, len... | 2,213 | C++ | .cpp | 62 | 28.951613 | 75 | 0.605078 | zeromq/libzmq | 9,642 | 2,351 | 329 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | true | false | true | false |
14,222 | test_mock_pub_sub.cpp | zeromq_libzmq/tests/test_mock_pub_sub.cpp | /* SPDX-License-Identifier: MPL-2.0 */
#include "testutil.hpp"
#include "testutil_unity.hpp"
#include <stdlib.h>
#include <string.h>
SETUP_TEARDOWN_TESTCONTEXT
// Read one event off the monitor socket; return value and address
// by reference, if not null, and event number by value. Returns -1
// in case of erro... | 7,055 | C++ | .cpp | 184 | 30.690217 | 122 | 0.580697 | zeromq/libzmq | 9,642 | 2,351 | 329 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | true | false | true | false |
14,235 | test_z85_decode_fuzzer.cpp | zeromq_libzmq/tests/test_z85_decode_fuzzer.cpp | /* SPDX-License-Identifier: MPL-2.0 */
#ifdef ZMQ_USE_FUZZING_ENGINE
#include <fuzzer/FuzzedDataProvider.h>
#endif
#include <string>
#include <stdlib.h>
#include "testutil.hpp"
#include "testutil_unity.hpp"
extern "C" int LLVMFuzzerTestOneInput (const uint8_t *data, size_t size)
{
uint8_t *secret_key;
if (... | 1,461 | C++ | .cpp | 48 | 25.916667 | 87 | 0.647353 | zeromq/libzmq | 9,642 | 2,351 | 329 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | true | false | true | false |
14,238 | test_pair_vmci.cpp | zeromq_libzmq/tests/test_pair_vmci.cpp | /* SPDX-License-Identifier: MPL-2.0 */
#include <string>
#include <sstream>
#include <vmci_sockets.h>
#include "testutil.hpp"
#include "testutil_unity.hpp"
SETUP_TEARDOWN_TESTCONTEXT
void test_pair_vmci ()
{
unsigned int cid = VMCISock_GetLocalCID ();
if (cid == VMADDR_CID_ANY)
TEST_IGNORE_MESSAGE (... | 1,093 | C++ | .cpp | 33 | 29.151515 | 76 | 0.657143 | zeromq/libzmq | 9,642 | 2,351 | 329 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
14,243 | test_socket_options_fuzzer.cpp | zeromq_libzmq/tests/test_socket_options_fuzzer.cpp | /* SPDX-License-Identifier: MPL-2.0 */
#ifdef ZMQ_USE_FUZZING_ENGINE
#include <fuzzer/FuzzedDataProvider.h>
#endif
#include "testutil.hpp"
#include "testutil_unity.hpp"
#ifdef ZMQ_DISCONNECT_MSG
#define LAST_OPTION ZMQ_DISCONNECT_MSG
#else
#define LAST_OPTION ZMQ_BINDTODEVICE
#endif
extern "C" int LLVMFuzzerTestOne... | 1,543 | C++ | .cpp | 56 | 22.892857 | 77 | 0.644701 | zeromq/libzmq | 9,642 | 2,351 | 329 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | true | false | true | false |
14,250 | test_connect_curve_fuzzer.cpp | zeromq_libzmq/tests/test_connect_curve_fuzzer.cpp | /* SPDX-License-Identifier: MPL-2.0 */
#ifdef ZMQ_USE_FUZZING_ENGINE
#include <fuzzer/FuzzedDataProvider.h>
#endif
#include "testutil.hpp"
#include "testutil_security.hpp"
// Test that the ZMTP engine handles invalid handshake when connecting
// https://rfc.zeromq.org/spec/37/
// https://rfc.zeromq.org/spec/26/
exte... | 3,330 | C++ | .cpp | 95 | 29.589474 | 80 | 0.625233 | zeromq/libzmq | 9,642 | 2,351 | 329 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | true | false | true | false |
14,253 | test_pubsub.cpp | zeromq_libzmq/tests/test_pubsub.cpp | /* SPDX-License-Identifier: MPL-2.0 */
#include "testutil.hpp"
#include "testutil_unity.hpp"
SETUP_TEARDOWN_TESTCONTEXT
void test (const char *address)
{
// Create a publisher
void *publisher = test_context_socket (ZMQ_PUB);
char my_endpoint[MAX_SOCKET_STRING];
// Bind publisher
test_bind (pub... | 1,319 | C++ | .cpp | 42 | 27.571429 | 70 | 0.689082 | zeromq/libzmq | 9,642 | 2,351 | 329 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | true | false | true | false |
14,256 | test_hiccup_msg.cpp | zeromq_libzmq/tests/test_hiccup_msg.cpp | /* SPDX-License-Identifier: MPL-2.0 */
#include "testutil.hpp"
#include "testutil_unity.hpp"
SETUP_TEARDOWN_TESTCONTEXT
void test ()
{
char address[MAX_SOCKET_STRING];
size_t addr_length = sizeof (address);
// Create a server
void *server = test_context_socket (ZMQ_SERVER);
// bind server
... | 1,248 | C++ | .cpp | 37 | 29.324324 | 73 | 0.671393 | zeromq/libzmq | 9,642 | 2,351 | 329 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | true | false | true | false |
14,261 | test_bind_ws_fuzzer.cpp | zeromq_libzmq/tests/test_bind_ws_fuzzer.cpp | /* SPDX-License-Identifier: MPL-2.0 */
#ifdef ZMQ_USE_FUZZING_ENGINE
#include <fuzzer/FuzzedDataProvider.h>
#endif
#include "testutil.hpp"
#include "testutil_unity.hpp"
// Test that the ZMTP WebSocket engine handles invalid handshake when connecting
// https://rfc.zeromq.org/spec/45/
extern "C" int LLVMFuzzerTestOne... | 3,123 | C++ | .cpp | 83 | 32.060241 | 80 | 0.631736 | zeromq/libzmq | 9,642 | 2,351 | 329 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | true | false | true | false |
14,263 | test_wss_transport.cpp | zeromq_libzmq/tests/test_wss_transport.cpp | /* SPDX-License-Identifier: MPL-2.0 */
#include <string.h>
#include "testutil.hpp"
#include "testutil_unity.hpp"
SETUP_TEARDOWN_TESTCONTEXT
#ifdef ZMQ_WSS_CERT_PEM
const char *key =
"-----BEGIN PRIVATE KEY-----\n"
"MIIJQwIBADANBgkqhkiG9w0BAQEFAASCCS0wggkpAgEAAoICAQDnzizmqK1e0iRR\n"
"lY75z9q3TWVBzFYX00Rl18GT2li... | 7,090 | C++ | .cpp | 125 | 53.576 | 79 | 0.855787 | zeromq/libzmq | 9,642 | 2,351 | 329 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | true | false |
14,268 | test_reconnect_options.cpp | zeromq_libzmq/tests/test_reconnect_options.cpp | /* SPDX-License-Identifier: MPL-2.0 */
#include <assert.h>
#include "testutil.hpp"
#include "testutil_unity.hpp"
#include "testutil_monitoring.hpp"
#include <unity.h>
// test behavior with (mostly) default values
void reconnect_default ()
{
// setup pub socket
void *pub = test_context_socket (ZMQ_PUB);
/... | 11,566 | C++ | .cpp | 267 | 37.28839 | 91 | 0.675407 | zeromq/libzmq | 9,642 | 2,351 | 329 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | true | false |
14,270 | test_connect_ws_fuzzer.cpp | zeromq_libzmq/tests/test_connect_ws_fuzzer.cpp | /* SPDX-License-Identifier: MPL-2.0 */
#ifdef ZMQ_USE_FUZZING_ENGINE
#include <fuzzer/FuzzedDataProvider.h>
#endif
#include "testutil.hpp"
#include "testutil_unity.hpp"
// Test that the ZMTP WebSocket engine handles invalid handshake when connecting
// https://rfc.zeromq.org/spec/45/
extern "C" int LLVMFuzzerTestOne... | 2,884 | C++ | .cpp | 82 | 29.45122 | 80 | 0.619167 | zeromq/libzmq | 9,642 | 2,351 | 329 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | true | false | true | false |
14,274 | test_bind_curve_fuzzer.cpp | zeromq_libzmq/tests/test_bind_curve_fuzzer.cpp | /* SPDX-License-Identifier: MPL-2.0 */
#ifdef ZMQ_USE_FUZZING_ENGINE
#include <fuzzer/FuzzedDataProvider.h>
#endif
#include <string.h>
#include "testutil.hpp"
#include "testutil_security.hpp"
// Test that the ZMTP engine handles invalid handshake when binding
// https://rfc.zeromq.org/spec/37/
extern "C" int LLVMFu... | 3,755 | C++ | .cpp | 106 | 29.971698 | 81 | 0.631608 | zeromq/libzmq | 9,642 | 2,351 | 329 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | true | false | true | false |
14,278 | test_reqrep_vmci.cpp | zeromq_libzmq/tests/test_reqrep_vmci.cpp | /* SPDX-License-Identifier: MPL-2.0 */
#include <string>
#include <sstream>
#include <vmci_sockets.h>
#include "testutil.hpp"
#include "testutil_unity.hpp"
SETUP_TEARDOWN_TESTCONTEXT
void test_reqrep_vmci ()
{
unsigned int cid = VMCISock_GetLocalCID ();
if (cid == VMADDR_CID_ANY)
TEST_IGNORE_MESSAGE... | 1,101 | C++ | .cpp | 33 | 29.393939 | 76 | 0.659735 | zeromq/libzmq | 9,642 | 2,351 | 329 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
14,280 | test_ws_transport.cpp | zeromq_libzmq/tests/test_ws_transport.cpp | /* SPDX-License-Identifier: MPL-2.0 */
#include <string.h>
#include "testutil.hpp"
#include "testutil_unity.hpp"
SETUP_TEARDOWN_TESTCONTEXT
void test_roundtrip ()
{
char bind_address[MAX_SOCKET_STRING];
char connect_address[MAX_SOCKET_STRING];
size_t addr_length = sizeof (connect_address);
void *sb ... | 9,320 | C++ | .cpp | 224 | 36.21875 | 80 | 0.650715 | zeromq/libzmq | 9,642 | 2,351 | 329 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | true | false |
14,286 | test_zmq_ppoll_signals.cpp | zeromq_libzmq/tests/test_zmq_ppoll_signals.cpp | /* SPDX-License-Identifier: MPL-2.0 */
// author: E. G. Patrick Bos, Netherlands eScience Center, 2021
#include "testutil.hpp"
#include "testutil_unity.hpp"
#include <string.h> // memset
// types.h and wait.h for waitpid:
#include <sys/types.h>
#include <sys/wait.h>
static bool sigterm_received = false;
void handl... | 6,333 | C++ | .cpp | 147 | 34.503401 | 166 | 0.605519 | zeromq/libzmq | 9,642 | 2,351 | 329 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
14,290 | test_pubsub_topics_count.cpp | zeromq_libzmq/tests/test_pubsub_topics_count.cpp | /* SPDX-License-Identifier: MPL-2.0 */
#include "testutil.hpp"
#include "testutil_unity.hpp"
#include <string.h>
SETUP_TEARDOWN_TESTCONTEXT
void settle_subscriptions (void *skt)
{
// To kick the application thread, do a dummy getsockopt - users here
// should use the monitor and the other sockets in a pol... | 4,455 | C++ | .cpp | 100 | 39.85 | 91 | 0.700993 | zeromq/libzmq | 9,642 | 2,351 | 329 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
14,302 | test_use_fd.cpp | zeromq_libzmq/tests/test_use_fd.cpp | /* SPDX-License-Identifier: MPL-2.0 */
#include "testutil.hpp"
#include "testutil_unity.hpp"
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
SETUP_TEARDOWN_TESTCONTEXT
#if !defined(ZMQ_HAVE_WINDOWS)
void pre_allocate_sock_tcp (void *socket_, char *my_endpoint_)
{
fd_t s = bind_socket_resolve_port (... | 4,775 | C++ | .cpp | 143 | 28.699301 | 75 | 0.641361 | zeromq/libzmq | 9,642 | 2,351 | 329 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | true | false | true | false |
14,308 | test_bind_fuzzer.cpp | zeromq_libzmq/tests/test_bind_fuzzer.cpp | /* SPDX-License-Identifier: MPL-2.0 */
#ifdef ZMQ_USE_FUZZING_ENGINE
#include <fuzzer/FuzzedDataProvider.h>
#endif
#include <string>
#include "testutil.hpp"
#include "testutil_unity.hpp"
#ifndef PATH_MAX
#define PATH_MAX 1024
#endif
// Test that zmq_bind can handle malformed strings
extern "C" int LLVMFuzzerTestOn... | 1,736 | C++ | .cpp | 57 | 26.140351 | 80 | 0.660457 | zeromq/libzmq | 9,642 | 2,351 | 329 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | true | false |
14,310 | test_connect_stream_fuzzer.cpp | zeromq_libzmq/tests/test_connect_stream_fuzzer.cpp | /* SPDX-License-Identifier: MPL-2.0 */
#ifdef ZMQ_USE_FUZZING_ENGINE
#include <fuzzer/FuzzedDataProvider.h>
#endif
#include "testutil.hpp"
#include "testutil_unity.hpp"
// Test that the ZMTP engine handles invalid handshake when connecting
// https://rfc.zeromq.org/spec/37/
extern "C" int LLVMFuzzerTestOneInput (con... | 2,593 | C++ | .cpp | 74 | 29.945946 | 80 | 0.634838 | zeromq/libzmq | 9,642 | 2,351 | 329 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | true | false | true | false |
14,311 | test_xsub_verbose.cpp | zeromq_libzmq/tests/test_xsub_verbose.cpp | /* SPDX-License-Identifier: MPL-2.0 */
#include "testutil.hpp"
#include "testutil_unity.hpp"
SETUP_TEARDOWN_TESTCONTEXT
const uint8_t unsubscribe_a_msg[] = {0, 'A'};
const uint8_t subscribe_a_msg[] = {1, 'A'};
const char test_endpoint[] = "inproc://soname";
void test_xsub_verbose_unsubscribe ()
{
void *pub = t... | 3,290 | C++ | .cpp | 72 | 40.916667 | 92 | 0.704959 | zeromq/libzmq | 9,642 | 2,351 | 329 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
14,319 | test_tcp_accept_filter.cpp | zeromq_libzmq/tests/test_tcp_accept_filter.cpp | /* SPDX-License-Identifier: MPL-2.0 */
#include "testutil.hpp"
#include "testutil_unity.hpp"
#include <cstring>
SETUP_TEARDOWN_TESTCONTEXT
void test_reconnect_ivl_against_pair_socket (const char *my_endpoint_,
void *sb_)
{
void *sc = test_context_socket (ZMQ_PAIR);
... | 5,752 | C++ | .cpp | 137 | 36.70073 | 80 | 0.659594 | zeromq/libzmq | 9,642 | 2,351 | 329 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | true | false |
14,325 | test_msg_init.cpp | zeromq_libzmq/tests/test_msg_init.cpp | /* SPDX-License-Identifier: MPL-2.0 */
#include "testutil.hpp"
#include "testutil_unity.hpp"
#include <string.h>
SETUP_TEARDOWN_TESTCONTEXT
void test_msg_init ()
{
zmq_msg_t msg;
TEST_ASSERT_SUCCESS_ERRNO (zmq_msg_init (&msg));
TEST_ASSERT_EQUAL_INT (0, zmq_msg_size (&msg));
TEST_ASSERT_SUCCESS_ERRN... | 1,670 | C++ | .cpp | 49 | 30.265306 | 69 | 0.656114 | zeromq/libzmq | 9,642 | 2,351 | 329 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | true | false | true | false |
14,330 | test_proxy_steerable.cpp | zeromq_libzmq/tests/test_proxy_steerable.cpp | /* SPDX-License-Identifier: MPL-2.0 */
#include "testutil.hpp"
#include "testutil_unity.hpp"
#include <stdlib.h>
#include <string.h>
#include <inttypes.h>
#define CONTENT_SIZE 13
#define CONTENT_SIZE_MAX 32
#define ROUTING_ID_SIZE 10
#define ROUTING_ID_SIZE_MAX 32
#define QT_WORKERS 3
#define QT_CLIENTS 3
#define is... | 19,284 | C++ | .cpp | 438 | 35.984018 | 80 | 0.614844 | zeromq/libzmq | 9,642 | 2,351 | 329 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
14,334 | test_bind_null_fuzzer.cpp | zeromq_libzmq/tests/test_bind_null_fuzzer.cpp | /* SPDX-License-Identifier: MPL-2.0 */
#ifdef ZMQ_USE_FUZZING_ENGINE
#include <fuzzer/FuzzedDataProvider.h>
#endif
#include "testutil.hpp"
#include "testutil_unity.hpp"
// Test that the ZMTP engine handles invalid handshake when binding
// https://rfc.zeromq.org/spec/37/
extern "C" int LLVMFuzzerTestOneInput (const ... | 2,691 | C++ | .cpp | 74 | 31.405405 | 80 | 0.643104 | zeromq/libzmq | 9,642 | 2,351 | 329 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | true | false |
14,338 | test_bind_stream_fuzzer.cpp | zeromq_libzmq/tests/test_bind_stream_fuzzer.cpp | /* SPDX-License-Identifier: MPL-2.0 */
#ifdef ZMQ_USE_FUZZING_ENGINE
#include <fuzzer/FuzzedDataProvider.h>
#endif
#include "testutil.hpp"
#include "testutil_unity.hpp"
// Test that the ZMTP engine handles invalid handshake when binding
// https://rfc.zeromq.org/spec/37/
extern "C" int LLVMFuzzerTestOneInput (const ... | 3,346 | C++ | .cpp | 90 | 32.022222 | 80 | 0.637149 | zeromq/libzmq | 9,642 | 2,351 | 329 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | true | false | true | false |
14,340 | test_disconnect_msg.cpp | zeromq_libzmq/tests/test_disconnect_msg.cpp | /* SPDX-License-Identifier: MPL-2.0 */
#include "testutil.hpp"
#include "testutil_unity.hpp"
SETUP_TEARDOWN_TESTCONTEXT
void test (const char *address)
{
// Create a server
void *server = test_context_socket (ZMQ_SERVER);
// set server socket options
TEST_ASSERT_SUCCESS_ERRNO (
zmq_setsockop... | 2,252 | C++ | .cpp | 67 | 29.328358 | 79 | 0.673762 | zeromq/libzmq | 9,642 | 2,351 | 329 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | true | false | true | false |
14,343 | test_connect_null_fuzzer.cpp | zeromq_libzmq/tests/test_connect_null_fuzzer.cpp | /* SPDX-License-Identifier: MPL-2.0 */
#ifdef ZMQ_USE_FUZZING_ENGINE
#include <fuzzer/FuzzedDataProvider.h>
#endif
#include "testutil.hpp"
#include "testutil_unity.hpp"
// Test that the ZMTP engine handles invalid handshake when connecting
// https://rfc.zeromq.org/spec/37/
extern "C" int LLVMFuzzerTestOneInput (con... | 2,711 | C++ | .cpp | 77 | 30.103896 | 80 | 0.635078 | zeromq/libzmq | 9,642 | 2,351 | 329 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | true | false |
14,344 | test_xpub_topic.cpp | zeromq_libzmq/tests/test_xpub_topic.cpp | /* SPDX-License-Identifier: MPL-2.0 */
#include "testutil.hpp"
#include "testutil_unity.hpp"
SETUP_TEARDOWN_TESTCONTEXT
const char bind_address[] = "tcp://127.0.0.1:*";
char connect_address[MAX_SOCKET_STRING];
// 245 chars + 10 chars for subscribe command = 255 chars
const char short_topic[] =
"ABCDEFGHIJKLMNOPAB... | 2,763 | C++ | .cpp | 66 | 37.878788 | 78 | 0.735624 | zeromq/libzmq | 9,642 | 2,351 | 329 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
14,345 | test_hello_msg.cpp | zeromq_libzmq/tests/test_hello_msg.cpp | /* SPDX-License-Identifier: MPL-2.0 */
#include "testutil.hpp"
#include "testutil_unity.hpp"
SETUP_TEARDOWN_TESTCONTEXT
void test (const char *address)
{
// Create a router
void *router = test_context_socket (ZMQ_ROUTER);
char my_endpoint[MAX_SOCKET_STRING];
// set router socket options
TEST_A... | 1,988 | C++ | .cpp | 60 | 29.066667 | 79 | 0.671908 | zeromq/libzmq | 9,642 | 2,351 | 329 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | true | false | true | false |
14,347 | v3_1_encoder.cpp | zeromq_libzmq/src/v3_1_encoder.cpp | /* SPDX-License-Identifier: MPL-2.0 */
#include "precompiled.hpp"
#include "v2_protocol.hpp"
#include "v3_1_encoder.hpp"
#include "msg.hpp"
#include "likely.hpp"
#include "wire.hpp"
#include <limits.h>
zmq::v3_1_encoder_t::v3_1_encoder_t (size_t bufsize_) :
encoder_base_t<v3_1_encoder_t> (bufsize_)
{
// Wri... | 3,006 | C++ | .cpp | 71 | 36.887324 | 77 | 0.628503 | zeromq/libzmq | 9,642 | 2,351 | 329 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | true | false |
14,351 | ws_listener.cpp | zeromq_libzmq/src/ws_listener.cpp | /* SPDX-License-Identifier: MPL-2.0 */
#include "precompiled.hpp"
#include <new>
#include <string>
#include <stdio.h>
#include "ws_listener.hpp"
#include "io_thread.hpp"
#include "config.hpp"
#include "err.hpp"
#include "ip.hpp"
#include "tcp.hpp"
#include "socket_base.hpp"
#include "address.hpp"
#include "ws_engine... | 9,364 | C++ | .cpp | 269 | 28.446097 | 81 | 0.608859 | zeromq/libzmq | 9,642 | 2,351 | 329 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | true | false | true | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.