repo
stringlengths
1
152
file
stringlengths
15
205
code
stringlengths
0
41.6M
file_length
int64
0
41.6M
avg_line_length
float64
0
1.81M
max_line_length
int64
0
12.7M
extension_type
stringclasses
90 values
null
ceph-main/src/mount/mount.ceph.h
#ifndef _SRC_MOUNT_MOUNT_CEPH_H #define _SRC_MOUNT_MOUNT_CEPH_H #ifdef __cplusplus extern "C" { #endif /* * See class CryptoKey * * 2 (for the type of secret) + * 8 (for the timestamp) + * 2 (for the length of secret) + * 16 (for an AES-128 key) */ #define MAX_RAW_SECRET_LEN (2 + 8 + 2 + 16) /* Max length of ...
1,049
22.333333
74
h
null
ceph-main/src/msg/Connection.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include "msg/Connection.h" #include "msg/Messenger.h" bool Connection::is_blackhole() const { auto& conf = msgr->cct->_conf; switch (peer_type) { case CEPH_ENTITY_TYPE_MON: return conf->ms_blackhole_mon; c...
550
21.958333
70
cc
null
ceph-main/src/msg/Connection.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab /* * Ceph - scalable distributed file system * * Copyright (C) 2004-2006 Sage Weil <sage@newdream.net> * * This is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General P...
7,256
27.237354
88
h
null
ceph-main/src/msg/DispatchQueue.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab /* * Ceph - scalable distributed file system * * Copyright (C) 2004-2006 Sage Weil <sage@newdream.net> * * This is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General ...
6,999
25.717557
85
cc
null
ceph-main/src/msg/DispatchQueue.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab /* * Ceph - scalable distributed file system * * Copyright (C) 2004-2006 Sage Weil <sage@newdream.net> * * This is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General ...
6,715
26.63786
100
h
null
ceph-main/src/msg/Dispatcher.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab /* * Ceph - scalable distributed file system * * Copyright (C) 2004-2006 Sage Weil <sage@newdream.net> * * This is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General P...
8,062
34.209607
88
h
null
ceph-main/src/msg/Message.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifdef ENCODE_DUMP # include <typeinfo> # include <cxxabi.h> #endif #include <iostream> #include "include/types.h" #include "global/global_context.h" #include "Message.h" #include "messages/MPGStats.h" #include "me...
27,917
24.612844
110
cc
null
ceph-main/src/msg/Message.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab /* * Ceph - scalable distributed file system * * Copyright (C) 2004-2006 Sage Weil <sage@newdream.net> * * This is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General ...
18,899
29.983607
102
h
null
ceph-main/src/msg/MessageRef.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab /* * Ceph - scalable distributed file system * * Copyright (C) 2018 Red Hat, Inc. <contact@redhat.com> * * This is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General ...
4,134
21.231183
130
h
null
ceph-main/src/msg/Messenger.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include <netdb.h> #include "include/types.h" #include "include/random.h" #include "Messenger.h" #include "msg/async/AsyncMessenger.h" Messenger *Messenger::create_client_messenger(CephContext *cct, std::string lname)...
3,152
28.194444
142
cc
null
ceph-main/src/msg/Messenger.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab /* * Ceph - scalable distributed file system * * Copyright (C) 2004-2006 Sage Weil <sage@newdream.net> * * This is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General P...
23,947
27.957678
106
h
null
ceph-main/src/msg/Policy.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #pragma once #include "include/ceph_features.h" namespace ceph::net { using peer_type_t = int; /** * A Policy describes the rules of a Connection. Is there a limit on how * much data this Connection can have locally...
4,232
30.827068
80
h
null
ceph-main/src/msg/SimplePolicyMessenger.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab /* * Ceph - scalable distributed file system * * Copyright (C) 2004-2006 Sage Weil <sage@newdream.net> * Portions Copyright (C) 2013 CohortFS, LLC * * This is free software; you can redistribute it and/or * modify i...
2,806
27.07
79
h
null
ceph-main/src/msg/compressor_registry.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include "compressor_registry.h" #include "common/dout.h" #define dout_subsys ceph_subsys_ms #undef dout_prefix #define dout_prefix *_dout << "CompressorRegistry(" << this << ") " CompressorRegistry::CompressorRegistry(...
3,797
28.905512
115
cc
null
ceph-main/src/msg/compressor_registry.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #pragma once #include <map> #include <vector> #include "compressor/Compressor.h" #include "common/ceph_mutex.h" #include "common/ceph_context.h" #include "common/config_cacher.h" class CompressorRegistry : public md_co...
1,838
25.271429
84
h
null
ceph-main/src/msg/msg_fmt.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #pragma once /** * \file fmtlib formatters for some msg_types.h classes */ #include <fmt/format.h> #include "msg/msg_types.h" template <> struct fmt::formatter<entity_name_t> { constexpr auto parse(format_parse_con...
654
24.192308
75
h
null
ceph-main/src/msg/msg_types.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include "msg_types.h" #include <arpa/inet.h> #include <stdlib.h> #include <string.h> #include <netdb.h> #include <fmt/format.h> #include "common/Formatter.h" bool entity_name_t::parse(std::string_view s) { const c...
9,696
21.870283
80
cc
null
ceph-main/src/msg/msg_types.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab /* * Ceph - scalable distributed file system * * Copyright (C) 2004-2006 Sage Weil <sage@newdream.net> * * This is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General P...
22,865
26.417266
113
h
null
ceph-main/src/msg/async/AsyncConnection.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab /* * Ceph - scalable distributed file system * * Copyright (C) 2014 UnitedStack <haomai@unitedstack.com> * * Author: Haomai Wang <haomaiwang@gmail.com> * * This is free software; you can redistribute it and/or * mo...
24,932
29.630221
108
cc
null
ceph-main/src/msg/async/AsyncConnection.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab /* * Ceph - scalable distributed file system * * Copyright (C) 2014 UnitedStack <haomai@unitedstack.com> * * Author: Haomai Wang <haomaiwang@gmail.com> * * This is free software; you can redistribute it and/or * mo...
7,342
27.909449
124
h
null
ceph-main/src/msg/async/AsyncMessenger.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab /* * Ceph - scalable distributed file system * * Copyright (C) 2014 UnitedStack <haomai@unitedstack.com> * * Author: Haomai Wang <haomaiwang@gmail.com> * * This is free software; you can redistribute it and/or * mo...
26,845
26.848548
114
cc
null
ceph-main/src/msg/async/AsyncMessenger.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab /* * Ceph - scalable distributed file system * * Copyright (C) 2014 UnitedStack <haomai@unitedstack.com> * * Author: Haomai Wang <haomaiwang@gmail.com> * * This is free software; you can redistribute it and/or * mo...
11,699
25.958525
90
h
null
ceph-main/src/msg/async/Event.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab /* * Ceph - scalable distributed file system * * Copyright (C) 2014 UnitedStack <haomai@unitedstack.com> * * Author: Haomai Wang <haomaiwang@gmail.com> * * This is free software; you can redistribute it and/or * m...
13,448
26.559426
112
cc
null
ceph-main/src/msg/async/Event.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab /* * Ceph - scalable distributed file system * * Copyright (C) 2014 UnitedStack <haomai@unitedstack.com> * * Author: Haomai Wang <haomaiwang@gmail.com> * * This is free software; you can redistribute it and/or * m...
7,469
26.666667
130
h
null
ceph-main/src/msg/async/EventEpoll.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab /* * Ceph - scalable distributed file system * * Copyright (C) 2014 UnitedStack <haomai@unitedstack.com> * * Author: Haomai Wang <haomaiwang@gmail.com> * * This is free software; you can redistribute it and/or * m...
4,238
28.643357
91
cc
null
ceph-main/src/msg/async/EventEpoll.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab /* * Ceph - scalable distributed file system * * Copyright (C) 2014 UnitedStack <haomai@unitedstack.com> * * Author: Haomai Wang <haomaiwang@gmail.com> * * This is free software; you can redistribute it and/or * m...
1,244
23.9
84
h
null
ceph-main/src/msg/async/EventKqueue.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab /* * Ceph - scalable distributed file system * * Copyright (C) 2014 UnitedStack <haomai@unitedstack.com> * * Author: Haomai Wang <haomaiwang@gmail.com> * * This is free software; you can redistribute it and/or * m...
8,181
29.416357
90
cc
null
ceph-main/src/msg/async/EventKqueue.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab /* * Ceph - scalable distributed file system * * Copyright (C) 2014 UnitedStack <haomai@unitedstack.com> * * Author: Haomai Wang <haomaiwang@gmail.com> * * This is free software; you can redistribute it and/or * m...
1,614
22.75
77
h
null
ceph-main/src/msg/async/EventPoll.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab ft=cpp /* * Ceph - scalable distributed file system * * Copyright (C) 2022 Rafael Lopez <rafael.lopez@softiron.com> * * * This is free software; you can redistribute it and/or * modify it under the terms of the GNU...
4,904
23.772727
72
cc
null
ceph-main/src/msg/async/EventPoll.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab /* * Ceph - scalable distributed file system * * Copyright (C) 2022 Rafael Lopez <rafael.lopez@softiron.com> * * * This is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser...
1,177
22.098039
71
h
null
ceph-main/src/msg/async/EventSelect.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab /* * Ceph - scalable distributed file system * * Copyright (C) 2014 UnitedStack <haomai@unitedstack.com> * * Author: Haomai Wang <haomaiwang@gmail.com> * * This is free software; you can redistribute it and/or * m...
2,356
23.05102
92
cc
null
ceph-main/src/msg/async/EventSelect.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab /* * Ceph - scalable distributed file system * * Copyright (C) 2014 UnitedStack <haomai@unitedstack.com> * * Author: Haomai Wang <haomaiwang@gmail.com> * * This is free software; you can redistribute it and/or * m...
1,205
27.046512
71
h
null
ceph-main/src/msg/async/PosixStack.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab /* * Ceph - scalable distributed file system * * Copyright (C) 2016 XSKY <haomai@xsky.com> * * Author: Haomai Wang <haomaiwang@gmail.com> * * This is free software; you can redistribute it and/or * modify it under...
8,822
24.798246
115
cc
null
ceph-main/src/msg/async/PosixStack.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab /* * Ceph - scalable distributed file system * * Copyright (C) 2016 XSKY <haomai@xsky.com> * * Author: Haomai Wang <haomaiwang@gmail.com> * * This is free software; you can redistribute it and/or * modify it under...
1,594
25.583333
102
h
null
ceph-main/src/msg/async/Protocol.cc
#include "Protocol.h" #include "AsyncConnection.h" #include "AsyncMessenger.h" Protocol::Protocol(int type, AsyncConnection *connection) : proto_type(type), connection(connection), messenger(connection->async_msgr), cct(connection->async_msgr->cct) { auth_meta.reset(new AuthConnectionMeta()); } Proto...
340
21.733333
57
cc
null
ceph-main/src/msg/async/Protocol.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef _MSG_ASYNC_PROTOCOL_ #define _MSG_ASYNC_PROTOCOL_ #include <list> #include <map> #include "AsyncConnection.h" #include "include/buffer.h" #include "include/msgr.h" /* * Continuation Helper Classes */ #includ...
3,665
25
77
h
null
ceph-main/src/msg/async/ProtocolV1.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include "ProtocolV1.h" #include "common/errno.h" #include "AsyncConnection.h" #include "AsyncMessenger.h" #include "common/EventTrace.h" #include "include/random.h" #include "auth/AuthClient.h" #include "auth/AuthServe...
88,685
32.772277
107
cc
null
ceph-main/src/msg/async/ProtocolV1.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef _MSG_ASYNC_PROTOCOL_V1_ #define _MSG_ASYNC_PROTOCOL_V1_ #include "Protocol.h" class ProtocolV1; using CtPtr = Ct<ProtocolV1>*; class ProtocolV1 : public Protocol { /* * ProtocolV1 State Machine * send_s...
12,449
39.953947
86
h
null
ceph-main/src/msg/async/ProtocolV2.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include <type_traits> #include "ProtocolV2.h" #include "AsyncMessenger.h" #include "common/EventTrace.h" #include "common/ceph_crypto.h" #include "common/errno.h" #include "include/random.h" #include "auth/AuthClient.h...
101,661
32.49654
107
cc
null
ceph-main/src/msg/async/ProtocolV2.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef _MSG_ASYNC_PROTOCOL_V2_ #define _MSG_ASYNC_PROTOCOL_V2_ #include "Protocol.h" #include "crypto_onwire.h" #include "compression_meta.h" #include "compression_onwire.h" #include "frames_v2.h" class ProtocolV2 : pu...
10,197
35.815884
83
h
null
ceph-main/src/msg/async/Stack.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab /* * Ceph - scalable distributed file system * * Copyright (C) 2016 XSky <haomai@xsky.com> * * Author: Haomai Wang <haomaiwang@gmail.com> * * This is free software; you can redistribute it and/or * modify it under ...
5,235
24.793103
86
cc
null
ceph-main/src/msg/async/Stack.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab /* * Ceph - scalable distributed file system * * Copyright (C) 2016 XSKY <haomai@xsky.com> * * Author: Haomai Wang <haomaiwang@gmail.com> * * This is free software; you can redistribute it and/or * modify it under...
12,199
29.272953
147
h
null
ceph-main/src/msg/async/compression_meta.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include "compressor/Compressor.h" struct CompConnectionMeta { TOPNSPC::Compressor::CompressionMode con_mode = TOPNSPC::Compressor::COMP_NONE; // negotiated mode TOPNSPC::Compressor::CompressionAlgorithm con_met...
654
28.772727
70
h
null
ceph-main/src/msg/async/compression_onwire.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include "compression_onwire.h" #include "compression_meta.h" #include "common/dout.h" #define dout_subsys ceph_subsys_ms namespace ceph::compression::onwire { rxtx_t rxtx_t::create_handler_pair( CephContext* ctx, ...
2,397
26.563218
84
cc
null
ceph-main/src/msg/async/compression_onwire.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef CEPH_COMPRESSION_ONWIRE_H #define CEPH_COMPRESSION_ONWIRE_H #include <cstdint> #include <optional> #include "compressor/Compressor.h" #include "include/buffer.h" class CompConnectionMeta; namespace ceph::compr...
2,561
23.169811
97
h
null
ceph-main/src/msg/async/crypto_onwire.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include <array> #include <openssl/evp.h> #include "crypto_onwire.h" #include "common/debug.h" #include "common/ceph_crypto.h" #include "include/types.h" #define dout_subsys ceph_subsys_ms namespace ceph::crypto::onwi...
9,742
30.429032
83
cc
null
ceph-main/src/msg/async/crypto_onwire.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab /* * Ceph - scalable distributed file system * * Copyright (C) 2004-2009 Sage Weil <sage@newdream.net> * * This is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General P...
4,123
30.480916
79
h
null
ceph-main/src/msg/async/frames_v2.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab /* * Ceph - scalable distributed file system * * Copyright (C) 2020 Red Hat * * This is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License version 2....
20,453
36.121597
79
cc
null
ceph-main/src/msg/async/frames_v2.h
#ifndef _MSG_ASYNC_FRAMES_V2_ #define _MSG_ASYNC_FRAMES_V2_ #include "include/types.h" #include "common/Clock.h" #include "crypto_onwire.h" #include "compression_onwire.h" #include <array> #include <iosfwd> #include <utility> #include <boost/container/static_vector.hpp> /** * Protocol V2 Frame Structures * * Doc...
30,923
33.321865
91
h
null
ceph-main/src/msg/async/net_handler.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab /* * Ceph - scalable distributed file system * * Copyright (C) 2014 UnitedStack <haomai@unitedstack.com> * * Author: Haomai Wang <haomaiwang@gmail.com> * * This is free software; you can redistribute it and/or * m...
6,550
25.630081
105
cc
null
ceph-main/src/msg/async/net_handler.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab /* * Ceph - scalable distributed file system * * Copyright (C) 2014 UnitedStack <haomai@unitedstack.com> * * Author: Haomai Wang <haomaiwang@gmail.com> * * This is free software; you can redistribute it and/or * m...
1,432
29.489362
98
h
null
ceph-main/src/msg/async/dpdk/ARP.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- /* * This file is open source software, licensed to you under the terms * of the Apache License, Version 2.0 (the "License"). See the NOTICE file * distributed with this work for additional information regarding copyright * ownership. You may...
2,433
26.044444
79
cc
null
ceph-main/src/msg/async/dpdk/ARP.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- /* * This file is open source software, licensed to you under the terms * of the Apache License, Version 2.0 (the "License"). See the NOTICE file * distributed with this work for additional information regarding copyright * ownership. You may...
8,248
26.31457
92
h
null
ceph-main/src/msg/async/dpdk/DPDK.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- /* * This file is open source software, licensed to you under the terms * of the Apache License, Version 2.0 (the "License"). See the NOTICE file * distributed with this work for additional information regarding copyright * ownership. You may ...
45,791
32.254902
131
cc
null
ceph-main/src/msg/async/dpdk/DPDK.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- /* * This file is open source software, licensed to you under the terms * of the Apache License, Version 2.0 (the "License"). See the NOTICE file * distributed with this work for additional information regarding copyright * ownership. You may ...
27,139
27.933902
133
h
null
ceph-main/src/msg/async/dpdk/DPDKStack.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- /* * This file is open source software, licensed to you under the terms * of the Apache License, Version 2.0 (the "License"). See the NOTICE file * distributed with this work for additional information regarding copyright * ownership. You may...
9,216
31.340351
110
cc
null
ceph-main/src/msg/async/dpdk/DPDKStack.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- /* * Ceph - scalable distributed file system * * Copyright (C) 2015 XSky <haomai@xsky.com> * * Author: Haomai Wang <haomaiwang@gmail.com> * * This is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser...
7,675
27.117216
125
h
null
ceph-main/src/msg/async/dpdk/EventDPDK.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab /* * Ceph - scalable distributed file system * * Copyright (C) 2015 XSky <haomai@xsky.com> * * Author: Haomai Wang <haomaiwang@gmail.com> * * This is free software; you can redistribute it and/or * modify it under...
2,059
22.953488
90
cc
null
ceph-main/src/msg/async/dpdk/EventDPDK.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- /* * Ceph - scalable distributed file system * * Copyright (C) 2015 XSky <haomai@xsky.com> * * Author: Haomai Wang <haomaiwang@gmail.com> * * This is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser...
1,152
27.121951
89
h
null
ceph-main/src/msg/async/dpdk/IP.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- /* * This file is open source software, licensed to you under the terms * of the Apache License, Version 2.0 (the "License"). See the NOTICE file * distributed with this work for additional information regarding copyright * ownership. You may...
14,372
28.819502
132
cc
null
ceph-main/src/msg/async/dpdk/IP.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- /* * This file is open source software, licensed to you under the terms * of the Apache License, Version 2.0 (the "License"). See the NOTICE file * distributed with this work for additional information regarding copyright * ownership. You may...
11,881
28.410891
111
h
null
ceph-main/src/msg/async/dpdk/IPChecksum.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- /* * This file is open source software, licensed to you under the terms * of the Apache License, Version 2.0 (the "License"). See the NOTICE file * distributed with this work for additional information regarding copyright * ownership. You may ...
2,055
27.957746
92
cc
null
ceph-main/src/msg/async/dpdk/IPChecksum.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- /* * This file is open source software, licensed to you under the terms * of the Apache License, Version 2.0 (the "License"). See the NOTICE file * distributed with this work for additional information regarding copyright * ownership. You may...
1,807
23.767123
79
h
null
ceph-main/src/msg/async/dpdk/Packet.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- /* * This file is open source software, licensed to you under the terms * of the Apache License, Version 2.0 (the "License"). See the NOTICE file * distributed with this work for additional information regarding copyright * ownership. You may...
4,497
29.598639
100
cc
null
ceph-main/src/msg/async/dpdk/Packet.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- /* * This file is open source software, licensed to you under the terms * of the Apache License, Version 2.0 (the "License"). See the NOTICE file * distributed with this work for additional information regarding copyright * ownership. You may...
17,562
30.932727
100
h
null
ceph-main/src/msg/async/dpdk/PacketUtil.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- /* * This file is open source software, licensed to you under the terms * of the Apache License, Version 2.0 (the "License"). See the NOTICE file * distributed with this work for additional information regarding copyright * ownership. You may...
4,892
30.567742
79
h
null
ceph-main/src/msg/async/dpdk/TCP-Stack.h
/* * This file is open source software, licensed to you under the terms * of the Apache License, Version 2.0 (the "License"). See the NOTICE file * distributed with this work for additional information regarding copyright * ownership. You may not use this file except in compliance with the License. * * You may ...
1,266
29.902439
83
h
null
ceph-main/src/msg/async/dpdk/TCP.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- /* * This file is open source software, licensed to you under the terms * of the Apache License, Version 2.0 (the "License"). See the NOTICE file * distributed with this work for additional information regarding copyright * ownership. You may ...
29,014
33.45962
109
cc
null
ceph-main/src/msg/async/dpdk/TCP.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- /* * This file is open source software, licensed to you under the terms * of the Apache License, Version 2.0 (the "License"). See the NOTICE file * distributed with this work for additional information regarding copyright * ownership. You may ...
46,417
29.801593
117
h
null
ceph-main/src/msg/async/dpdk/UserspaceEvent.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- /* * Ceph - scalable distributed file system * * Copyright (C) 2016 XSky <haomai@xsky.com> * * Author: Haomai Wang <haomaiwang@gmail.com> * * This is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser...
3,333
25.046875
92
cc
null
ceph-main/src/msg/async/dpdk/UserspaceEvent.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- /* * Ceph - scalable distributed file system * * Copyright (C) 2015 XSky <haomai@xsky.com> * * Author: Haomai Wang <haomaiwang@gmail.com> * * This is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser...
2,557
22.906542
79
h
null
ceph-main/src/msg/async/dpdk/align.h
/* * This file is open source software, licensed to you under the terms * of the Apache License, Version 2.0 (the "License"). See the NOTICE file * distributed with this work for additional information regarding copyright * ownership. You may not use this file except in compliance with the License. * * You may ...
1,575
29.901961
81
h
null
ceph-main/src/msg/async/dpdk/array_map.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- /* * This file is open source software, licensed to you under the terms * of the Apache License, Version 2.0 (the "License"). See the NOTICE file * distributed with this work for additional information regarding copyright * ownership. You may...
1,518
28.784314
82
h
null
ceph-main/src/msg/async/dpdk/byteorder.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- /* * This file is open source software, licensed to you under the terms * of the Apache License, Version 2.0 (the "License"). See the NOTICE file * distributed with this work for additional information regarding copyright * ownership. You may...
2,043
33.644068
79
h
null
ceph-main/src/msg/async/dpdk/capture.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- /* * Ceph - scalable distributed file system * * Copyright (C) 2015 XSky <haomai@xsky.com> * * Author: Haomai Wang <haomaiwang@gmail.com> * * This is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser...
1,259
23.705882
70
h
null
ceph-main/src/msg/async/dpdk/circular_buffer.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- /* * This file is open source software, licensed to you under the terms * of the Apache License, Version 2.0 (the "License"). See the NOTICE file * distributed with this work for additional information regarding copyright * ownership. You may ...
10,157
28.189655
93
h
null
ceph-main/src/msg/async/dpdk/const.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- /* * This file is open source software, licensed to you under the terms * of the Apache License, Version 2.0 (the "License"). See the NOTICE file * distributed with this work for additional information regarding copyright * ownership. You may...
1,293
29.093023
79
h
null
ceph-main/src/msg/async/dpdk/dpdk_rte.cc
/* * This file is open source software, licensed to you under the terms * of the Apache License, Version 2.0 (the "License"). See the NOTICE file * distributed with this work for additional information regarding copyright * ownership. You may not use this file except in compliance with the License. * * You may ...
5,671
26.668293
98
cc
null
ceph-main/src/msg/async/dpdk/dpdk_rte.h
/* * This file is open source software, licensed to you under the terms * of the Apache License, Version 2.0 (the "License"). See the NOTICE file * distributed with this work for additional information regarding copyright * ownership. You may not use this file except in compliance with the License. * * You may ...
2,314
27.9375
80
h
null
ceph-main/src/msg/async/dpdk/ethernet.cc
#include <iomanip> #include "ethernet.h" std::ostream& operator<<(std::ostream& os, const ethernet_address& ea) { auto& m = ea.mac; using u = uint32_t; os << std::hex << std::setw(2) << u(m[0]) << ":" << u(m[1]) << ":" << u(m[2]) << ":" << u(m[3]) << ":" << u(m[4]) << ":" << u(m[5]...
338
18.941176
72
cc
null
ceph-main/src/msg/async/dpdk/ethernet.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- /* * This file is open source software, licensed to you under the terms * of the Apache License, Version 2.0 (the "License"). See the NOTICE file * distributed with this work for additional information regarding copyright * ownership. You may...
2,297
26.035294
79
h
null
ceph-main/src/msg/async/dpdk/ip_types.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- /* * This file is open source software, licensed to you under the terms * of the Apache License, Version 2.0 (the "License"). See the NOTICE file * distributed with this work for additional information regarding copyright * ownership. You may ...
2,941
25.745455
90
h
null
ceph-main/src/msg/async/dpdk/net.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- /* * This file is open source software, licensed to you under the terms * of the Apache License, Version 2.0 (the "License"). See the NOTICE file * distributed with this work for additional information regarding copyright * ownership. You may ...
6,704
31.548544
137
cc
null
ceph-main/src/msg/async/dpdk/net.h
/* * This file is open source software, licensed to you under the terms * of the Apache License, Version 2.0 (the "License"). See the NOTICE file * distributed with this work for additional information regarding copyright * ownership. You may not use this file except in compliance with the License. * * You may ...
4,196
29.194245
101
h
null
ceph-main/src/msg/async/dpdk/queue.h
/* * This file is open source software, licensed to you under the terms * of the Apache License, Version 2.0 (the "License"). See the NOTICE file * distributed with this work for additional information regarding copyright * ownership. You may not use this file except in compliance with the License. * * You may ...
2,210
21.793814
79
h
null
ceph-main/src/msg/async/dpdk/shared_ptr.h
// -*- mode:C++; tab-width:8; c-basic-offset:4; indent-tabs-mode:nil -*- /* * This file is open source software, licensed to you under the terms * of the Apache License, Version 2.0 (the "License"). See the NOTICE file * distributed with this work for additional information regarding copyright * ownership. You ma...
11,638
28.691327
103
h
null
ceph-main/src/msg/async/dpdk/stream.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- /* * This file is open source software, licensed to you under the terms * of the Apache License, Version 2.0 (the "License"). See the NOTICE file * distributed with this work for additional information regarding copyright * ownership. You may...
4,223
26.076923
79
h
null
ceph-main/src/msg/async/dpdk/toeplitz.h
/* * This file is open source software, licensed to you under the terms * of the Apache License, Version 2.0 (the "License"). See the NOTICE file * distributed with this work for additional information regarding copyright * ownership. You may not use this file except in compliance with the License. * * You may ...
3,507
36.72043
79
h
null
ceph-main/src/msg/async/dpdk/transfer.h
/* * This file is open source software, licensed to you under the terms * of the Apache License, Version 2.0 (the "License"). See the NOTICE file * distributed with this work for additional information regarding copyright * ownership. You may not use this file except in compliance with the License. * * You may ...
2,478
37.138462
116
h
null
ceph-main/src/msg/async/rdma/Infiniband.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab /* * Ceph - scalable distributed file system * * Copyright (C) 2016 XSKY <haomai@xsky.com> * * Author: Haomai Wang <haomaiwang@gmail.com> * * This is free software; you can redistribute it and/or * modify it under...
41,160
30.135401
163
cc
null
ceph-main/src/msg/async/rdma/Infiniband.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab /* * Ceph - scalable distributed file system * * Copyright (C) 2016 XSKY <haomai@xsky.com> * * Author: Haomai Wang <haomaiwang@gmail.com> * * This is free software; you can redistribute it and/or * modify it under...
17,645
28.807432
138
h
null
ceph-main/src/msg/async/rdma/RDMAConnectedSocketImpl.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab /* * Ceph - scalable distributed file system * * Copyright (C) 2016 XSKY <haomai@xsky.com> * * Author: Haomai Wang <haomaiwang@gmail.com> * * This is free software; you can redistribute it and/or * modify it under...
18,298
29.097039
126
cc
null
ceph-main/src/msg/async/rdma/RDMAIWARPConnectedSocketImpl.cc
#include "RDMAStack.h" #define dout_subsys ceph_subsys_ms #undef dout_prefix #define dout_prefix *_dout << " RDMAIWARPConnectedSocketImpl " #define TIMEOUT_MS 3000 #define RETRY_COUNT 7 RDMAIWARPConnectedSocketImpl::RDMAIWARPConnectedSocketImpl(CephContext *cct, std::shared_ptr<Infiniband>& ib, ...
5,671
29.826087
109
cc
null
ceph-main/src/msg/async/rdma/RDMAIWARPServerSocketImpl.cc
#include <poll.h> #include "msg/async/net_handler.h" #include "RDMAStack.h" #define dout_subsys ceph_subsys_ms #undef dout_prefix #define dout_prefix *_dout << " RDMAIWARPServerSocketImpl " RDMAIWARPServerSocketImpl::RDMAIWARPServerSocketImpl( CephContext *cct, std::shared_ptr<Infiniband>& ib, std::shared_ptr<RD...
3,772
30.441667
110
cc
null
ceph-main/src/msg/async/rdma/RDMAServerSocketImpl.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab /* * Ceph - scalable distributed file system * * Copyright (C) 2016 XSKY <haomai@xsky.com> * * Author: Haomai Wang <haomaiwang@gmail.com> * * This is free software; you can redistribute it and/or * modify it under...
3,787
26.852941
112
cc
null
ceph-main/src/msg/async/rdma/RDMAStack.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab /* * Ceph - scalable distributed file system * * Copyright (C) 2016 XSKY <haomai@xsky.com> * * Author: Haomai Wang <haomaiwang@gmail.com> * * This is free software; you can redistribute it and/or * modify it under ...
28,620
34.204182
147
cc
null
ceph-main/src/msg/async/rdma/RDMAStack.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab /* * Ceph - scalable distributed file system * * Copyright (C) 2016 XSKY <haomai@xsky.com> * * Author: Haomai Wang <haomaiwang@gmail.com> * * This is free software; you can redistribute it and/or * modify it under...
11,697
32.907246
110
h
null
ceph-main/src/neorados/RADOS.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab /* * Ceph - scalable distributed file system * * Copyright (C) 2018 Red Hat <contact@redhat.com> * * This is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public ...
52,108
28.964922
92
cc
null
ceph-main/src/neorados/RADOSImpl.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab /* * Ceph - scalable distributed file system * * Copyright (C) 2004-2012 Sage Weil <sage@newdream.net> * * This is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General P...
3,412
26.97541
136
cc
null
ceph-main/src/neorados/RADOSImpl.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab /* * Ceph - scalable distributed file system * * Copyright (C) 2004-2012 Sage Weil <sage@newdream.net> * * This is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General P...
3,189
22.455882
79
h