Search is not available for this dataset
repo
stringlengths
2
152
file
stringlengths
15
239
code
stringlengths
0
58.4M
file_length
int64
0
58.4M
avg_line_length
float64
0
1.81M
max_line_length
int64
0
12.7M
extension_type
stringclasses
364 values
null
ceph-main/src/rgw/driver/rados/rgw_gc.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab ft=cpp #pragma once #include "include/types.h" #include "include/rados/librados.hpp" #include "common/ceph_mutex.h" #include "common/Cond.h" #include "common/Thread.h" #include "rgw_common.h" #include "rgw_sal.h" #includ...
2,650
30.939759
158
h
null
ceph-main/src/rgw/driver/rados/rgw_gc_log.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab ft=cpp #include "rgw_gc_log.h" #include "cls/rgw/cls_rgw_client.h" #include "cls/rgw_gc/cls_rgw_gc_client.h" #include "cls/version/cls_version_client.h" void gc_log_init2(librados::ObjectWriteOperation& op, ...
1,704
29.446429
74
cc
null
ceph-main/src/rgw/driver/rados/rgw_lc_tier.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab ft=cpp #include <string.h> #include <iostream> #include <map> #include "common/Formatter.h" #include <common/errno.h> #include "rgw_lc.h" #include "rgw_lc_tier.h" #include "rgw_string.h" #include "rgw_zone.h" #include "r...
39,702
29.284516
248
cc
null
ceph-main/src/rgw/driver/rados/rgw_lc_tier.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab ft=cpp #pragma once #include "rgw_lc.h" #include "rgw_rest_conn.h" #include "rgw_rados.h" #include "rgw_zone.h" #include "rgw_sal_rados.h" #include "rgw_cr_rest.h" #define DEFAULT_MULTIPART_SYNC_PART_SIZE (32 * 1024 * 1...
1,521
28.269231
102
h
null
ceph-main/src/rgw/driver/rados/rgw_log_backing.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab ft=cpp #include "cls/log/cls_log_client.h" #include "cls/version/cls_version_client.h" #include "rgw_log_backing.h" #include "rgw_tools.h" #include "cls_fifo_legacy.h" using namespace std::chrono_literals; namespace cb ...
21,319
29.070522
108
cc
null
ceph-main/src/rgw/driver/rados/rgw_log_backing.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab ft=cpp #pragma once #include <optional> #include <iostream> #include <string> #include <string_view> #include <strings.h> #include <boost/container/flat_map.hpp> #include <boost/system/error_code.hpp> #include <fmt/fo...
11,255
27.496203
111
h
null
ceph-main/src/rgw/driver/rados/rgw_metadata.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab ft=cpp #include "rgw_metadata.h" #include "rgw_zone.h" #include "rgw_mdlog.h" #include "services/svc_zone.h" #include "services/svc_cls.h" #define dout_subsys ceph_subsys_rgw using namespace std; const std::string RG...
6,677
27.538462
154
cc
null
ceph-main/src/rgw/driver/rados/rgw_metadata.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab ft=cpp #pragma once #include <string> #include <utility> #include <boost/optional.hpp> #include "include/types.h" #include "rgw_common.h" #include "rgw_period_history.h" #include "rgw_mdlog_types.h" #include "cls/versio...
10,364
33.665552
192
h
null
ceph-main/src/rgw/driver/rados/rgw_notify.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include "rgw_notify.h" #include "cls/2pc_queue/cls_2pc_queue_client.h" #include "cls/lock/cls_lock_client.h" #include <memory> #include <boost/algorithm/hex.hpp> #include <boost/context/protected_fixedsize_stack.hpp> #i...
39,803
36.836502
154
cc
null
ceph-main/src/rgw/driver/rados/rgw_notify.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab ft=cpp #pragma once #include <string> #include "common/ceph_time.h" #include "include/common_fwd.h" #include "rgw_notify_event_type.h" #include "common/async/yield_context.h" #include "cls/2pc_queue/cls_2pc_queue_types....
4,392
31.540741
138
h
null
ceph-main/src/rgw/driver/rados/rgw_obj_manifest.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab ft=cpp #include "rgw_obj_manifest.h" #include "services/svc_zone.h" #include "rgw_rados.h" #include "rgw_bucket.h" #define dout_context g_ceph_context #define dout_subsys ceph_subsys_rgw using namespace std; int RGWOb...
11,655
27.429268
150
cc
null
ceph-main/src/rgw/driver/rados/rgw_obj_manifest.h
// -*- 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) 2019 Red Hat, Inc. * * This is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * Lice...
17,607
27.44588
138
h
null
ceph-main/src/rgw/driver/rados/rgw_object_expirer_core.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab ft=cpp #include <errno.h> #include <iostream> #include <sstream> #include <string> #include "auth/Crypto.h" #include "common/armor.h" #include "common/ceph_json.h" #include "common/config.h" #include "common/ceph_argpa...
13,535
29.555305
125
cc
null
ceph-main/src/rgw/driver/rados/rgw_object_expirer_core.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab ft=cpp #pragma once #include <atomic> #include <string> #include <cerrno> #include <sstream> #include <iostream> #include "auth/Crypto.h" #include "common/armor.h" #include "common/ceph_json.h" #include "common/config....
4,865
32.102041
134
h
null
ceph-main/src/rgw/driver/rados/rgw_otp.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab ft=cpp #include <errno.h> #include <string> #include <map> #include <boost/algorithm/string.hpp> #include "common/errno.h" #include "common/Formatter.h" #include "common/ceph_json.h" #include "rgw_otp.h" #include "rgw_z...
5,638
25.599057
147
cc
null
ceph-main/src/rgw/driver/rados/rgw_otp.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab ft=cpp #pragma once #include "rgw_sal_fwd.h" #include "cls/otp/cls_otp_types.h" #include "services/svc_meta_be_otp.h" #include "rgw_basic_types.h" #include "rgw_metadata.h" class RGWObjVersionTracker; class RGWMetadat...
2,559
22.063063
75
h
null
ceph-main/src/rgw/driver/rados/rgw_period.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab ft=cpp #include "rgw_sync.h" #include "services/svc_zone.h" #define dout_subsys ceph_subsys_rgw using namespace std; using namespace rgw_zone_defaults; int RGWPeriod::get_zonegroup(RGWZoneGroup& zonegroup, ...
10,811
32.267692
149
cc
null
ceph-main/src/rgw/driver/rados/rgw_pubsub_push.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab ft=cpp #include "rgw_pubsub_push.h" #include <string> #include <sstream> #include <algorithm> #include "include/buffer_fwd.h" #include "common/Formatter.h" #include "common/iso_8601.h" #include "common/async/completion.h"...
14,786
31.075922
146
cc
null
ceph-main/src/rgw/driver/rados/rgw_pubsub_push.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab ft=cpp #pragma once #include <string> #include <memory> #include <stdexcept> #include "include/buffer_fwd.h" #include "include/common_fwd.h" #include "common/async/yield_context.h" // TODO the env should be used as a tem...
1,776
36.020833
126
h
null
ceph-main/src/rgw/driver/rados/rgw_putobj_processor.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) 2018 Red Hat, Inc. * * This is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * Lice...
24,091
30.534031
173
cc
null
ceph-main/src/rgw/driver/rados/rgw_putobj_processor.h
// -*- 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) 2018 Red Hat, Inc. * * This is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * Lice...
10,568
36.34629
93
h
null
ceph-main/src/rgw/driver/rados/rgw_rados.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab ft=cpp #include "include/compat.h" #include <errno.h> #include <stdlib.h> #include <sys/types.h> #include <sstream> #include <boost/algorithm/string.hpp> #include <string_view> #include <boost/container/flat_set.hpp> #i...
316,224
31.251402
266
cc
null
ceph-main/src/rgw/driver/rados/rgw_rados.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab ft=cpp #pragma once #include <iostream> #include <functional> #include <boost/container/flat_map.hpp> #include <boost/container/flat_set.hpp> #include "include/rados/librados.hpp" #include "include/Context.h" #include "...
67,543
39.985437
204
h
null
ceph-main/src/rgw/driver/rados/rgw_reshard.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab ft=cpp #include <limits> #include <sstream> #include "rgw_zone.h" #include "driver/rados/rgw_bucket.h" #include "rgw_reshard.h" #include "rgw_sal.h" #include "rgw_sal_rados.h" #include "cls/rgw/cls_rgw_client.h" #include...
47,469
32.429577
171
cc
null
ceph-main/src/rgw/driver/rados/rgw_reshard.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab ft=cpp #pragma once #include <vector> #include <initializer_list> #include <functional> #include <iterator> #include <algorithm> #include <boost/intrusive/list.hpp> #include <boost/asio/basic_waitable_timer.hpp> #inclu...
9,281
32.752727
158
h
null
ceph-main/src/rgw/driver/rados/rgw_rest_bucket.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab ft=cpp #include "rgw_op.h" #include "driver/rados/rgw_bucket.h" #include "rgw_rest_bucket.h" #include "rgw_sal.h" #include "include/str_list.h" #include "services/svc_sys_obj.h" #include "services/svc_zone.h" #define d...
10,640
24.702899
99
cc
null
ceph-main/src/rgw/driver/rados/rgw_rest_bucket.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab ft=cpp #pragma once #include "rgw_rest.h" #include "rgw_rest_s3.h" class RGWHandler_Bucket : public RGWHandler_Auth_S3 { protected: RGWOp *op_get() override; RGWOp *op_put() override; RGWOp *op_post() override; ...
941
24.459459
80
h
null
ceph-main/src/rgw/driver/rados/rgw_rest_log.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) 2013 eNovance SAS <licensing@enovance.com> * * This is free software; you can redistribute it and/or * modify it under the terms of the GNU Less...
37,272
28.371946
155
cc
null
ceph-main/src/rgw/driver/rados/rgw_rest_log.h
// -*- 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) 2013 eNovance SAS <licensing@enovance.com> * * This is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesse...
9,229
26.307692
88
h
null
ceph-main/src/rgw/driver/rados/rgw_rest_pubsub.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #pragma once #include "rgw_rest_s3.h" // s3 compliant notification handler factory class RGWHandler_REST_PSNotifs_S3 : public RGWHandler_REST_S3 { protected: int init_permissions(RGWOp* op, optional_yield y) override {...
1,405
35.051282
87
h
null
ceph-main/src/rgw/driver/rados/rgw_rest_realm.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab ft=cpp #include "common/errno.h" #include "rgw_rest_realm.h" #include "rgw_rest_s3.h" #include "rgw_rest_config.h" #include "rgw_zone.h" #include "rgw_sal_rados.h" #include "services/svc_zone.h" #include "services/svc_md...
12,494
32.143236
137
cc
null
ceph-main/src/rgw/driver/rados/rgw_rest_realm.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab ft=cpp #pragma once #include "rgw_rest.h" class RGWRESTMgr_Realm : public RGWRESTMgr { public: RGWRESTMgr_Realm(); RGWHandler_REST* get_handler(rgw::sal::Driver* driver, req_state*, ...
443
25.117647
80
h
null
ceph-main/src/rgw/driver/rados/rgw_rest_user.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab ft=cpp #include "common/ceph_json.h" #include "rgw_op.h" #include "rgw_user.h" #include "rgw_rest_user.h" #include "rgw_sal.h" #include "include/str_list.h" #include "include/ceph_assert.h" #include "services/svc_zone....
30,043
25.400703
155
cc
null
ceph-main/src/rgw/driver/rados/rgw_rest_user.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab ft=cpp #pragma once #include "rgw_rest.h" #include "rgw_rest_s3.h" class RGWHandler_User : public RGWHandler_Auth_S3 { protected: RGWOp *op_get() override; RGWOp *op_put() override; RGWOp *op_post() override; R...
927
24.081081
80
h
null
ceph-main/src/rgw/driver/rados/rgw_sal_rados.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) 2020 Red Hat, Inc. * * This is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * Lice...
119,695
30.041494
291
cc
null
ceph-main/src/rgw/driver/rados/rgw_sal_rados.h
// -*- 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) 2020 Red Hat, Inc. * * This is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * Lice...
45,173
45.95842
272
h
null
ceph-main/src/rgw/driver/rados/rgw_service.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab ft=cpp #include "rgw_service.h" #include "services/svc_finisher.h" #include "services/svc_bi_rados.h" #include "services/svc_bilog_rados.h" #include "services/svc_bucket_sobj.h" #include "services/svc_bucket_sync_sobj.h"...
14,354
29.09434
138
cc
null
ceph-main/src/rgw/driver/rados/rgw_service.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab ft=cpp #pragma once #include <string> #include <vector> #include <memory> #include "common/async/yield_context.h" #include "rgw_common.h" struct RGWServices_Def; class RGWServiceInstance { friend struct RGWServices...
5,845
26.064815
131
h
null
ceph-main/src/rgw/driver/rados/rgw_sync.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab ft=cpp #include "rgw_sync.h" #include "rgw_rest_conn.h" #include "rgw_cr_rados.h" #include "rgw_cr_rest.h" #include "services/svc_zone.h" #include "services/svc_mdlog.h" #include "services/svc_cls.h" #include <boost/asi...
90,697
33.238581
258
cc
null
ceph-main/src/rgw/driver/rados/rgw_sync.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab ft=cpp #pragma once #include <atomic> #include "include/stringify.h" #include "rgw_coroutine.h" #include "rgw_http_client.h" #include "rgw_metadata.h" #include "rgw_meta_sync_status.h" #include "rgw_sal.h" #include "rg...
15,552
27.278182
194
h
null
ceph-main/src/rgw/driver/rados/rgw_sync_counters.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab ft=cpp #include "common/ceph_context.h" #include "rgw_sync_counters.h" namespace sync_counters { PerfCountersRef build(CephContext *cct, const std::string& name) { PerfCountersBuilder b(cct, name, l_first, l_last); ...
1,043
35
104
cc
null
ceph-main/src/rgw/driver/rados/rgw_sync_counters.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab ft=cpp #pragma once #include "common/perf_counters_collection.h" namespace sync_counters { enum { l_first = 805000, l_fetch, l_fetch_not_modified, l_fetch_err, l_poll, l_poll_err, l_last, }; PerfCount...
407
14.692308
70
h
null
ceph-main/src/rgw/driver/rados/rgw_sync_error_repo.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) 2020 Red Hat, Inc * * This is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * Licen...
5,425
25.339806
79
cc
null
ceph-main/src/rgw/driver/rados/rgw_sync_error_repo.h
// -*- 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) 2020 Red Hat, Inc * * This is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * Licen...
1,892
30.55
70
h
null
ceph-main/src/rgw/driver/rados/rgw_sync_module.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab ft=cpp #include "rgw_common.h" #include "rgw_coroutine.h" #include "rgw_cr_rados.h" #include "rgw_sync_module.h" #include "rgw_data_sync.h" #include "rgw_bucket.h" #include "rgw_sync_module_log.h" #include "rgw_sync_modu...
3,371
37.318182
133
cc
null
ceph-main/src/rgw/driver/rados/rgw_sync_module.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab ft=cpp #pragma once #include "rgw_common.h" #include "rgw_coroutine.h" class RGWBucketInfo; class RGWRemoteDataLog; struct RGWDataSyncCtx; struct RGWDataSyncEnv; struct rgw_bucket_entry_owner; struct rgw_obj_key; struct...
5,993
28.382353
166
h
null
ceph-main/src/rgw/driver/rados/rgw_sync_module_aws.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab ft=cpp #include "common/errno.h" #include "rgw_common.h" #include "rgw_coroutine.h" #include "rgw_sync_module.h" #include "rgw_data_sync.h" #include "rgw_sync_module_aws.h" #include "rgw_cr_rados.h" #include "rgw_rest_co...
62,642
33.34375
231
cc
null
ceph-main/src/rgw/driver/rados/rgw_sync_module_aws.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab ft=cpp #pragma once #include "rgw_sync_module.h" struct rgw_sync_aws_multipart_part_info { int part_num{0}; uint64_t ofs{0}; uint64_t size{0}; std::string etag; void encode(bufferlist& bl) const { ENCODE_...
2,651
23.330275
147
h
null
ceph-main/src/rgw/driver/rados/rgw_sync_module_es.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab ft=cpp #include "rgw_b64.h" #include "rgw_common.h" #include "rgw_coroutine.h" #include "rgw_sync_module.h" #include "rgw_data_sync.h" #include "rgw_sync_module_es.h" #include "rgw_sync_module_es_rest.h" #include "rgw_res...
33,146
33.420561
254
cc
null
ceph-main/src/rgw/driver/rados/rgw_sync_module_es.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab ft=cpp #pragma once #include "rgw_sync_module.h" enum class ESType { /* string datatypes */ String, /* Deprecated Since 5.X+ */ Text, Keyword, /* Numeric Types */ Long, Integer, Short, Byte, Double, Float, ...
1,508
24.15
147
h
null
ceph-main/src/rgw/driver/rados/rgw_sync_module_es_rest.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab ft=cpp #include "rgw_sync_module_es.h" #include "rgw_sync_module_es_rest.h" #include "rgw_es_query.h" #include "rgw_op.h" #include "rgw_rest.h" #include "rgw_rest_s3.h" #include "rgw_sal_rados.h" #define dout_context g_c...
14,407
32.585082
127
cc
null
ceph-main/src/rgw/driver/rados/rgw_sync_module_es_rest.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab ft=cpp #pragma once #include "rgw_rest.h" class RGWElasticSyncModuleInstance; class RGWRESTMgr_MDSearch_S3 : public RGWRESTMgr { public: explicit RGWRESTMgr_MDSearch_S3() {} RGWHandler_REST *get_handler(rgw::sal::...
521
26.473684
80
h
null
ceph-main/src/rgw/driver/rados/rgw_sync_module_log.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab ft=cpp #include "rgw_common.h" #include "rgw_coroutine.h" #include "rgw_cr_rados.h" #include "rgw_sync_module.h" #include "rgw_data_sync.h" #include "rgw_sync_module_log.h" #define dout_subsys ceph_subsys_rgw using name...
3,586
45.584416
254
cc
null
ceph-main/src/rgw/driver/rados/rgw_sync_module_log.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab ft=cpp #pragma once #include "rgw_sync_module.h" class RGWLogSyncModule : public RGWSyncModule { public: RGWLogSyncModule() {} bool supports_data_export() override { return false; } int create_instance(const...
444
26.8125
147
h
null
ceph-main/src/rgw/driver/rados/rgw_sync_trace.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab ft=cpp #ifndef CEPH_RGW_SYNC_TRACE_H #define CEPH_RGW_SYNC_TRACE_H #include <regex> #include "common/debug.h" #include "common/ceph_json.h" #include "rgw_sync_trace.h" #include "rgw_rados.h" #include "rgw_worker.h" #d...
8,271
27.426117
166
cc
null
ceph-main/src/rgw/driver/rados/rgw_sync_trace.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab ft=cpp #pragma once #include <atomic> #include "common/ceph_mutex.h" #include "common/shunique_lock.h" #include "common/admin_socket.h" #include <set> #include <ostream> #include <string> #include <shared_mutex> #inclu...
3,267
22.014085
93
h
null
ceph-main/src/rgw/driver/rados/rgw_tools.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab ft=cpp #include "common/errno.h" #include "librados/librados_asio.h" #include "include/stringify.h" #include "rgw_tools.h" #include "rgw_acl_s3.h" #include "rgw_aio_throttle.h" #include "rgw_compression.h" #include "com...
12,780
28.180365
130
cc
null
ceph-main/src/rgw/driver/rados/rgw_tools.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab ft=cpp #pragma once #include <string> #include "include/types.h" #include "include/ceph_hash.h" #include "common/ceph_time.h" #include "rgw_common.h" #include "rgw_sal_fwd.h" class RGWSI_SysObj; class RGWRados; stru...
8,832
30.888087
146
h
null
ceph-main/src/rgw/driver/rados/rgw_trim_bilog.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) 2017 Red Hat, Inc * * Author: Casey Bodley <cbodley@redhat.com> * * This is free software; you can redistribute it and/or * modify it under the...
46,253
30.987552
118
cc
null
ceph-main/src/rgw/driver/rados/rgw_trim_bilog.h
// -*- 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) 2017 Red Hat, Inc * * Author: Casey Bodley <cbodley@redhat.com> * * This is free software; you can redistribute it and/or * modify it under the...
3,920
31.139344
82
h
null
ceph-main/src/rgw/driver/rados/rgw_trim_datalog.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab ft=cpp #include <vector> #include <string> #include "common/errno.h" #include "rgw_trim_datalog.h" #include "rgw_cr_rados.h" #include "rgw_cr_rest.h" #include "rgw_datalog.h" #include "rgw_data_sync.h" #include "rgw_zon...
8,526
32.308594
112
cc
null
ceph-main/src/rgw/driver/rados/rgw_trim_datalog.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab ft=cpp #pragma once #include <string> #include <vector> #include "common/dout.h" class RGWCoroutine; class RGWRados; class RGWHTTPManager; class utime_t; namespace rgw { namespace sal { class RadosStore; } } // Data...
965
32.310345
104
h
null
ceph-main/src/rgw/driver/rados/rgw_trim_mdlog.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab ft=cpp #include "common/errno.h" #include "rgw_trim_mdlog.h" #include "rgw_sync.h" #include "rgw_cr_rados.h" #include "rgw_cr_rest.h" #include "rgw_zone.h" #include "services/svc_zone.h" #include "services/svc_meta.h" #i...
27,534
33.461827
121
cc
null
ceph-main/src/rgw/driver/rados/rgw_trim_mdlog.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab ft=cpp #pragma once class RGWCoroutine; class DoutPrefixProvider; class RGWRados; class RGWHTTPManager; class utime_t; namespace rgw { namespace sal { class RadosStore; } } // MetaLogTrimCR factory function RGWCorouti...
908
33.961538
74
h
null
ceph-main/src/rgw/driver/rados/rgw_user.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab ft=cpp #include "common/errno.h" #include "rgw_user.h" #include "rgw_bucket.h" #include "rgw_quota.h" #include "services/svc_user.h" #include "services/svc_meta.h" #define dout_subsys ceph_subsys_rgw using namespace ...
72,377
25.063378
171
cc
null
ceph-main/src/rgw/driver/rados/rgw_user.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab ft=cpp #pragma once #include <string> #include <boost/algorithm/string.hpp> #include "include/ceph_assert.h" #include "include/types.h" #include "rgw_common.h" #include "rgw_tools.h" #include "rgw_string.h" #include "...
26,434
28.836343
140
h
null
ceph-main/src/rgw/driver/rados/rgw_zone.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab ft=cpp #include "rgw_zone.h" #include "rgw_realm_watcher.h" #include "rgw_sal_config.h" #include "rgw_sync.h" #include "services/svc_zone.h" #define dout_context g_ceph_context #define dout_subsys ceph_subsys_rgw using...
46,852
30.131561
136
cc
null
ceph-main/src/rgw/driver/rados/rgw_zone.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab ft=cpp #pragma once #include <ostream> #include "rgw_zone_types.h" #include "rgw_common.h" #include "rgw_sal_fwd.h" #include "rgw_sync_policy.h" class RGWSyncModulesManager; class RGWSI_SysObj; class RGWSI_Zone; clas...
36,835
36.511202
141
h
null
ceph-main/src/rgw/driver/rados/sync_fairness.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 Red Hat, Inc * * This is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * Licen...
8,772
23.923295
83
cc
null
ceph-main/src/rgw/driver/rados/sync_fairness.h
// -*- 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 Red Hat, Inc * * This is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * Licen...
1,584
28.351852
79
h
null
ceph-main/src/rgw/driver/rados/config/impl.cc
// vim: ts=8 sw=2 smarttab ft=cpp /* * Ceph - scalable distributed file system * * Copyright (C) 2022 Red Hat, Inc. * * This is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License version 2.1, as published by the Free Software * Foundation. See f...
3,758
27.915385
71
cc
null
ceph-main/src/rgw/driver/rados/config/impl.h
// vim: ts=8 sw=2 smarttab ft=cpp /* * Ceph - scalable distributed file system * * Copyright (C) 2022 Red Hat, Inc. * * This is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License version 2.1, as published by the Free Software * Foundation. See f...
4,066
28.05
78
h
null
ceph-main/src/rgw/driver/rados/config/period.cc
// vim: ts=8 sw=2 smarttab ft=cpp /* * Ceph - scalable distributed file system * * Copyright (C) 2022 Red Hat, Inc. * * This is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License version 2.1, as published by the Free Software * Foundation. See f...
8,201
34.506494
82
cc
null
ceph-main/src/rgw/driver/rados/config/period_config.cc
// vim: ts=8 sw=2 smarttab ft=cpp /* * Ceph - scalable distributed file system * * Copyright (C) 2022 Red Hat, Inc. * * This is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License version 2.1, as published by the Free Software * Foundation. See f...
1,760
30.446429
75
cc
null
ceph-main/src/rgw/driver/rados/config/realm.cc
// vim: ts=8 sw=2 smarttab ft=cpp /* * Ceph - scalable distributed file system * * Copyright (C) 2022 Red Hat, Inc. * * This is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License version 2.1, as published by the Free Software * Foundation. See f...
11,737
31.158904
83
cc
null
ceph-main/src/rgw/driver/rados/config/store.cc
// vim: ts=8 sw=2 smarttab ft=cpp /* * Ceph - scalable distributed file system * * Copyright (C) 2022 Red Hat, Inc. * * This is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License version 2.1, as published by the Free Software * Foundation. See f...
1,282
23.207547
68
cc
null
ceph-main/src/rgw/driver/rados/config/store.h
// vim: ts=8 sw=2 smarttab ft=cpp /* * Ceph - scalable distributed file system * * Copyright (C) 2022 Red Hat, Inc. * * This is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License version 2.1, as published by the Free Software * Foundation. See f...
9,218
49.377049
93
h
null
ceph-main/src/rgw/driver/rados/config/zone.cc
// vim: ts=8 sw=2 smarttab ft=cpp /* * Ceph - scalable distributed file system * * Copyright (C) 2022 Red Hat, Inc. * * This is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License version 2.1, as published by the Free Software * Foundation. See f...
9,991
30.923323
81
cc
null
ceph-main/src/rgw/driver/rados/config/zonegroup.cc
// vim: ts=8 sw=2 smarttab ft=cpp /* * Ceph - scalable distributed file system * * Copyright (C) 2022 Red Hat, Inc. * * This is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License version 2.1, as published by the Free Software * Foundation. See f...
10,804
33.193038
91
cc
null
ceph-main/src/rgw/jwt-cpp/base.h
#pragma once #include <string> #include <array> namespace jwt { namespace alphabet { struct base64 { static const std::array<char, 64>& data() { static std::array<char, 64> data = { {'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', ...
5,000
28.591716
117
h
null
ceph-main/src/rgw/jwt-cpp/jwt.h
#pragma once #define PICOJSON_USE_INT64 #include "picojson/picojson.h" #include "base.h" #include <set> #include <chrono> #include <unordered_map> #include <memory> #include <openssl/evp.h> #include <openssl/hmac.h> #include <openssl/pem.h> #include <openssl/ec.h> #include <openssl/err.h> //If openssl version less tha...
57,647
34.673267
214
h
null
ceph-main/src/rgw/picojson/picojson.h
/* * Copyright 2009-2010 Cybozu Labs, Inc. * Copyright 2011-2014 Kazuho Oku * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copy...
33,546
27.477929
132
h
null
ceph-main/src/rgw/services/svc_bi.h
// -*- 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) 2019 Red Hat, Inc. * * This is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * Lic...
1,402
30.177778
144
h
null
ceph-main/src/rgw/services/svc_bi_rados.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab ft=cpp #include "svc_bi_rados.h" #include "svc_bilog_rados.h" #include "svc_zone.h" #include "rgw_bucket.h" #include "rgw_zone.h" #include "rgw_datalog.h" #include "cls/rgw/cls_rgw_client.h" #define dout_subsys ceph_su...
17,189
32.705882
157
cc
null
ceph-main/src/rgw/services/svc_bi_rados.h
// -*- 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) 2019 Red Hat, Inc. * * This is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * Lice...
5,875
34.185629
141
h
null
ceph-main/src/rgw/services/svc_bilog_rados.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab ft=cpp #include "svc_bilog_rados.h" #include "svc_bi_rados.h" #include "cls/rgw/cls_rgw_client.h" #define dout_subsys ceph_subsys_rgw using namespace std; RGWSI_BILog_RADOS::RGWSI_BILog_RADOS(CephContext *cct) : RGWSe...
7,333
32.18552
164
cc
null
ceph-main/src/rgw/services/svc_bilog_rados.h
// -*- 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) 2019 Red Hat, Inc. * * This is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * Lic...
1,914
30.393443
148
h
null
ceph-main/src/rgw/services/svc_bucket.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab ft=cpp #include "svc_bucket.h" #define dout_subsys ceph_subsys_rgw std::string RGWSI_Bucket::get_entrypoint_meta_key(const rgw_bucket& bucket) { if (bucket.bucket_id.empty()) { return bucket.get_key(); } rgw...
488
17.807692
75
cc
null
ceph-main/src/rgw/services/svc_bucket.h
// -*- 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) 2019 Red Hat, Inc. * * This is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * Lic...
5,165
45.125
134
h
null
ceph-main/src/rgw/services/svc_bucket_sobj.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab ft=cpp #include "svc_bucket_sobj.h" #include "svc_zone.h" #include "svc_sys_obj.h" #include "svc_sys_obj_cache.h" #include "svc_bi.h" #include "svc_meta.h" #include "svc_meta_be_sobj.h" #include "svc_sync_modules.h" #in...
22,430
33.776744
135
cc
null
ceph-main/src/rgw/services/svc_bucket_sobj.h
// -*- 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) 2019 Red Hat, Inc. * * This is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * Lic...
7,278
39.21547
134
h
null
ceph-main/src/rgw/services/svc_bucket_sync.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) 2019 Red Hat, Inc. * * This is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License ve...
1,863
32.285714
82
h
null
ceph-main/src/rgw/services/svc_bucket_sync_sobj.cc
#include "svc_bucket_sync_sobj.h" #include "svc_zone.h" #include "svc_sys_obj_cache.h" #include "svc_bucket_sobj.h" #include "rgw_bucket_sync.h" #include "rgw_zone.h" #include "rgw_sync_policy.h" #define dout_subsys ceph_subsys_rgw using namespace std; static string bucket_sync_sources_oid_prefix = "bucket.sync-sou...
29,479
31.610619
165
cc
null
ceph-main/src/rgw/services/svc_bucket_sync_sobj.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) 2019 Red Hat, Inc. * * This is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License ve...
4,274
33.475806
100
h
null
ceph-main/src/rgw/services/svc_bucket_types.h
// -*- 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) 2019 Red Hat, Inc. * * This is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * Lic...
1,037
25.615385
104
h
null
ceph-main/src/rgw/services/svc_cls.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab ft=cpp #include "svc_cls.h" #include "svc_rados.h" #include "svc_zone.h" #include "rgw_zone.h" #include "cls/otp/cls_otp_client.h" #include "cls/log/cls_log_client.h" #include "cls/lock/cls_lock_client.h" #define dou...
12,658
25.427975
141
cc
null
ceph-main/src/rgw/services/svc_cls.h
// -*- 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) 2019 Red Hat, Inc. * * This is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * Lice...
6,338
36.958084
147
h
null
ceph-main/src/rgw/services/svc_config_key.h
// -*- 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) 2019 Red Hat, Inc. * * This is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * Li...
697
20.8125
79
h
null
ceph-main/src/rgw/services/svc_config_key_rados.cc
#include "svc_rados.h" #include "svc_config_key_rados.h" using namespace std; RGWSI_ConfigKey_RADOS::~RGWSI_ConfigKey_RADOS(){} int RGWSI_ConfigKey_RADOS::do_start(optional_yield, const DoutPrefixProvider *dpp) { maybe_insecure_mon_conn = !svc.rados->check_secure_mon_conn(dpp); return 0; } void RGWSI_ConfigKe...
1,132
21.215686
192
cc
null
ceph-main/src/rgw/services/svc_config_key_rados.h
// -*- 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) 2019 Red Hat, Inc. * * This is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * Li...
1,107
19.145455
76
h