SYMBOL INDEX (3337 symbols across 636 files) FILE: compile_thrift.py class CompileError (line 58) | class CompileError(Exception): method __init__ (line 61) | def __init__(self, msg): method __str__ (line 64) | def __str__(self): function fix_include_file (line 68) | def fix_include_file(filename, fix_commands): function fix_include (line 100) | def fix_include(thrift_name, include_fix_dict): function compile_thrift_file (line 111) | def compile_thrift_file(thrift_info): function constructor_hook (line 164) | def constructor_hook(args): function replace_hook (line 193) | def replace_hook(args): function add_hook (line 212) | def add_hook(name, path, func, args): FILE: include/dsn/c/api_layer1.h function dsn_now_us (line 266) | __inline uint64_t dsn_now_us() { return dsn_now_ns() / 1000; } function dsn_now_ms (line 267) | __inline uint64_t dsn_now_ms() { return dsn_now_ns() / 1000000; } function dsn_now_s (line 268) | __inline uint64_t dsn_now_s() { return dsn_now_ns() / 1000000000; } FILE: include/dsn/c/api_task.h function namespace (line 48) | namespace dsn { FILE: include/dsn/c/api_utilities.h type dsn_log_level_t (line 53) | typedef enum dsn_log_level_t { FILE: include/dsn/cpp/json_helper.h function namespace (line 226) | namespace dsn { type has_json_state (line 547) | typedef decltype(check_json_state(0)) has_json_state; type p_has_json_state (line 548) | typedef decltype(p_check_json_state(0)) p_has_json_state; function encode_inner (line 551) | static void encode_inner(JsonWriter &out, const T &t, std::true_type, st... function encode_inner (line 555) | static void encode_inner(JsonWriter &out, const T &t, std::false_type, s... function encode_inner (line 559) | static void encode_inner(JsonWriter &out, const T &t, std::true_type, st... function encode_inner (line 563) | static void encode_inner(JsonWriter &out, const T &t, std::false_type, s... function decode_inner (line 569) | static bool decode_inner(const JsonObject &in, T &t, std::true_type, std... function decode_inner (line 573) | static bool decode_inner(const JsonObject &in, T &t, std::false_type, st... function decode_inner (line 577) | static bool decode_inner(const JsonObject &in, T &t, std::true_type, std... function decode_inner (line 581) | static bool decode_inner(const JsonObject &in, T &t, std::false_type, st... function encode (line 591) | static void encode(std::ostream &os, const T &t) function dsn (line 597) | static dsn::blob encode(const T &t) function decode (line 604) | static bool decode(const JsonObject &in, T &t) function decode (line 608) | static bool decode(const dsn::blob &bb, T &t) function decode (line 616) | static bool decode(const JsonObject &in, const T &t) function decode (line 621) | static bool decode(const dsn::blob &bb, const T &t) FILE: include/dsn/cpp/message_utils.h function namespace (line 28) | namespace dsn { FILE: include/dsn/cpp/pipeline.h function namespace (line 28) | namespace dsn { FILE: include/dsn/cpp/rpc_holder.h function namespace (line 30) | namespace dsn { function namespace (line 342) | namespace rpc { FILE: include/dsn/cpp/rpc_stream.h function namespace (line 37) | namespace dsn { type dsn (line 130) | typedef ::dsn::ref_ptr rpc_write_stream_ptr; FILE: include/dsn/cpp/serialization.h function namespace (line 34) | namespace dsn { FILE: include/dsn/cpp/serialization_helper/dsn.layer2_types.h function namespace (line 46) | namespace dsn { FILE: include/dsn/cpp/serialization_helper/thrift_helper.h function namespace (line 51) | namespace dsn { FILE: include/dsn/cpp/serverlet.h function namespace (line 32) | namespace dsn { function _name (line 151) | _name(nm) FILE: include/dsn/cpp/service_app.h function namespace (line 46) | namespace dsn { FILE: include/dsn/dist/block_service.h function namespace (line 27) | namespace dsn { FILE: include/dsn/dist/common.h function namespace (line 22) | namespace dsn { FILE: include/dsn/dist/distributed_lock_service.h function namespace (line 51) | namespace dsn { FILE: include/dsn/dist/failure_detector/failure_detector.h function namespace (line 69) | namespace dsn { FILE: include/dsn/dist/failure_detector/fd.client.h function namespace (line 42) | namespace dsn { FILE: include/dsn/dist/failure_detector/fd.code.definition.h function namespace (line 42) | namespace dsn { FILE: include/dsn/dist/failure_detector/fd.server.h function namespace (line 40) | namespace dsn { FILE: include/dsn/dist/failure_detector_multimaster.h function namespace (line 43) | namespace dsn { FILE: include/dsn/dist/meta_state_service.h function namespace (line 52) | namespace dsn { FILE: include/dsn/dist/nfs_node.h function namespace (line 36) | namespace dsn { FILE: include/dsn/dist/remote_command.h function namespace (line 23) | namespace dsn { FILE: include/dsn/dist/replication/duplication_common.h function namespace (line 27) | namespace dsn { FILE: include/dsn/dist/replication/meta_service_app.h function namespace (line 30) | namespace dsn { function namespace (line 42) | namespace dsn { FILE: include/dsn/dist/replication/mutation_duplicator.h function namespace (line 25) | namespace dsn { type std (line 47) | typedef std::set mutation_tuple_set; function class (line 52) | class mutation_duplicator : public replica_base function std (line 80) | inline std::unique_ptr FILE: include/dsn/dist/replication/mutation_log_tool.h function namespace (line 43) | namespace dsn { FILE: include/dsn/dist/replication/partition_resolver.h function namespace (line 36) | namespace dsn { type ref_ptr (line 136) | typedef ref_ptr partition_resolver_ptr; FILE: include/dsn/dist/replication/replica_base.h function namespace (line 32) | namespace dsn { FILE: include/dsn/dist/replication/replica_envs.h function namespace (line 32) | namespace dsn { FILE: include/dsn/dist/replication/replica_test_utils.h function namespace (line 32) | namespace dsn { FILE: include/dsn/dist/replication/replication.codes.h function DEFINE_THREAD_POOL_CODE (line 31) | DEFINE_THREAD_POOL_CODE(THREAD_POOL_META_SERVER) FILE: include/dsn/dist/replication/replication_app_base.h function namespace (line 37) | namespace dsn { FILE: include/dsn/dist/replication/replication_ddl_client.h function namespace (line 48) | namespace dsn { FILE: include/dsn/dist/replication/replication_other_types.h function namespace (line 42) | namespace dsn { FILE: include/dsn/dist/replication/replication_service_app.h function namespace (line 41) | namespace dsn { FILE: include/dsn/dist/replication/storage_serverlet.h function namespace (line 35) | namespace dsn { FILE: include/dsn/http/http_server.h function namespace (line 26) | namespace dsn { function class (line 95) | class http_service function is_http_message (line 126) | inline bool is_http_message(dsn::task_code code) FILE: include/dsn/perf_counter/perf_counter.h type dsn_perf_counter_type_t (line 36) | typedef enum dsn_perf_counter_type_t { type dsn_perf_counter_percentile_type_t (line 45) | typedef enum dsn_perf_counter_percentile_type_t { function namespace (line 62) | namespace dsn { type ref_ptr (line 125) | typedef ref_ptr perf_counter_ptr; FILE: include/dsn/perf_counter/perf_counter_utils.h type perf_counter_info (line 40) | struct perf_counter_info FILE: include/dsn/perf_counter/perf_counter_wrapper.h function namespace (line 32) | namespace dsn { FILE: include/dsn/perf_counter/perf_counters.h function namespace (line 39) | namespace dsn { FILE: include/dsn/tool-api/aio_task.h function namespace (line 32) | namespace dsn { type dsn (line 119) | typedef dsn::ref_ptr aio_task_ptr; FILE: include/dsn/tool-api/async_calls.h function namespace (line 35) | namespace dsn { function namespace (line 106) | namespace rpc { FILE: include/dsn/tool-api/command_manager.h function namespace (line 35) | namespace dsn { function std (line 83) | inline std::string remote_command_set_bool_flag(bool &flag, FILE: include/dsn/tool-api/env_provider.h function namespace (line 43) | namespace dsn { FILE: include/dsn/tool-api/file_io.h function namespace (line 33) | namespace dsn { FILE: include/dsn/tool-api/future_types.h function namespace (line 32) | namespace dsn { FILE: include/dsn/tool-api/global_config.h type network_client_config (line 54) | struct network_client_config type std (line 62) | typedef std::map network_client_conf... type network_server_config (line 64) | struct network_server_config type std (line 81) | typedef std::map network_s... type service_app_spec (line 89) | struct service_app_spec type service_spec (line 139) | struct service_spec FILE: include/dsn/tool-api/gpid.h function namespace (line 31) | namespace dsn { function namespace (line 93) | namespace std { FILE: include/dsn/tool-api/group_address.h function namespace (line 46) | namespace dsn { function rpc_group_address (line 98) | inline rpc_group_address::rpc_group_address(const char *name) function rpc_group_address (line 105) | inline rpc_group_address::rpc_group_address(const rpc_group_address &other) function add (line 122) | inline bool rpc_group_address::add(rpc_address addr) function leader_forward (line 135) | inline void rpc_group_address::leader_forward() function set_leader (line 143) | inline void rpc_group_address::set_leader(rpc_address addr) function rpc_address (line 162) | inline rpc_address rpc_group_address::possible_leader() function remove (line 172) | inline bool rpc_group_address::remove(rpc_address addr) function contains (line 186) | inline bool rpc_group_address::contains(rpc_address addr) function count (line 192) | inline int rpc_group_address::count() function rpc_address (line 198) | inline rpc_address rpc_group_address::next(rpc_address current) const FILE: include/dsn/tool-api/logging_provider.h function namespace (line 41) | namespace dsn { FILE: include/dsn/tool-api/message_parser.h function namespace (line 39) | namespace dsn { FILE: include/dsn/tool-api/network.h function namespace (line 38) | namespace dsn { FILE: include/dsn/tool-api/rpc_address.h type dsn_host_type_t (line 34) | typedef enum dsn_host_type_t { function namespace (line 40) | namespace dsn { function assign_ipv4 (line 72) | void assign_ipv4(uint32_t ip, uint16_t port) function assign_ipv4 (line 80) | void assign_ipv4(const char *host, uint16_t port) function assign_ipv4_local_address (line 88) | void assign_ipv4_local_address(const char *network_interface, uint16_t p... function from_string_ipv4 (line 108) | bool from_string_ipv4(const char *s) function value (line 132) | uint64_t &value() { return _addr.value; } function set_port (line 140) | void set_port(uint16_t port) { _addr.v4.port = port; } function rpc_group_address (line 142) | rpc_group_address *group_address() const function rpc_address (line 153) | bool operator==(::dsn::rpc_address r) const function rpc_address (line 168) | bool operator!=(::dsn::rpc_address r) const { return !(*this == r); } function rpc_address (line 170) | bool operator<(::dsn::rpc_address r) const function namespace (line 210) | namespace std { FILE: include/dsn/tool-api/rpc_message.h function namespace (line 48) | namespace dsn { type dsn (line 235) | typedef dsn::ref_ptr message_ptr; FILE: include/dsn/tool-api/task.h function namespace (line 53) | namespace dsn { function set_tracker (line 225) | void set_tracker(task_tracker *tracker) { _context_tracker.set_tracker(t... function service_node (line 234) | service_node *node() const { return _node; } function task_tracker (line 235) | task_tracker *tracker() const { return _context_tracker.tracker(); } function set_task_id (line 258) | void set_task_id(uint64_t tid) { _task_id = tid; } function virtual (line 290) | virtual void clear_non_trivial_on_task_end() {} type dsn (line 321) | typedef dsn::ref_ptr task_ptr; function class (line 323) | class raw_task : public task function class (line 351) | class timer_task : public task function class (line 419) | class rpc_request_task : public task type dsn (line 454) | typedef dsn::ref_ptr rpc_request_task_ptr; function class (line 456) | class rpc_response_task : public task type dsn (line 532) | typedef dsn::ref_ptr rpc_response_task_ptr; function check_tls_dsn (line 537) | __inline /*static*/ void task::check_tls_dsn() function task (line 544) | __inline /*static*/ task *task::get_current_task() function get_current_task_id (line 550) | __inline /*static*/ uint64_t task::get_current_task_id() function task_worker (line 558) | __inline /*static*/ task_worker *task::get_current_worker() function task_worker (line 564) | __inline /*static*/ task_worker *task::get_current_worker2() function service_node (line 569) | __inline /*static*/ service_node *task::get_current_node() function get_current_node_id (line 575) | __inline /*static*/ int task::get_current_node_id() function service_node (line 580) | __inline /*static*/ service_node *task::get_current_node2() function get_current_worker_index (line 585) | __inline /*static*/ int task::get_current_worker_index() function rpc_engine (line 591) | __inline /*static*/ rpc_engine *task::get_current_rpc() function env_provider (line 597) | __inline /*static*/ env_provider *task::get_current_env() FILE: include/dsn/tool-api/task_code.h type dsn_task_type_t (line 34) | typedef enum dsn_task_type_t { function ENUM_REG (line 47) | ENUM_REG(TASK_TYPE_RPC_REQUEST) function ENUM_REG (line 63) | ENUM_REG(TASK_PRIORITY_LOW) FILE: include/dsn/tool-api/task_queue.h function namespace (line 42) | namespace dsn { function std (line 87) | const std::string &get_name() { return _name; } function task_worker_pool (line 88) | task_worker_pool *pool() const { return _pool; } FILE: include/dsn/tool-api/task_spec.h type task_state (line 60) | enum task_state function ENUM_REG (line 71) | ENUM_REG(TASK_STATE_READY) function ENUM_REG (line 86) | ENUM_REG(GRPC_TO_LEADER) function ENUM_REG (line 100) | ENUM_REG(TM_NONE) FILE: include/dsn/tool-api/task_tracker.h function namespace (line 45) | namespace dsn { FILE: include/dsn/tool-api/task_worker.h function namespace (line 45) | namespace dsn { FILE: include/dsn/tool-api/thread_access_checker.h function namespace (line 28) | namespace dsn { FILE: include/dsn/tool-api/threadpool_code.h function namespace (line 31) | namespace dsn { FILE: include/dsn/tool-api/threadpool_spec.h type worker_priority_t (line 37) | enum worker_priority_t function ENUM_REG (line 49) | ENUM_REG(THREAD_xPRIORITY_LOWEST) FILE: include/dsn/tool-api/timer_service.h function namespace (line 40) | namespace dsn { FILE: include/dsn/tool-api/uniq_timestamp_us.h function namespace (line 33) | namespace dsn { FILE: include/dsn/tool-api/zlocks.h function namespace (line 43) | namespace dsn { function namespace (line 116) | namespace dsn { function namespace (line 193) | namespace dsn { FILE: include/dsn/tool/nativerun.h function namespace (line 40) | namespace dsn { FILE: include/dsn/tool/node_scoper.h function namespace (line 40) | namespace dsn { FILE: include/dsn/tool/providers.common.h function namespace (line 40) | namespace dsn { FILE: include/dsn/tool/simulator.h function namespace (line 41) | namespace dsn { FILE: include/dsn/tool_api.h function namespace (line 64) | namespace dsn { FILE: include/dsn/toollet/fault_injector.h function namespace (line 93) | namespace dsn { FILE: include/dsn/toollet/profiler.h function namespace (line 55) | namespace dsn { FILE: include/dsn/toollet/tracer.h function namespace (line 103) | namespace dsn { FILE: include/dsn/utility/TokenBucket.h function namespace (line 26) | namespace folly { function defaultClockNow (line 369) | static double defaultClockNow() noexcept(noexcept(Impl::defaultClockNow())) function setCapacity (line 405) | void setCapacity(double tokens, double nowInSeconds) noexcept function consume (line 424) | bool consume(double toConsume, double nowInSeconds = defaultClockNow()) function consumeOrDrain (line 442) | double consumeOrDrain(double toConsume, double nowInSeconds = defaultClo... function returnTokens (line 450) | void returnTokens(double tokensToReturn) function consumeWithBorrowAndWait (line 469) | bool consumeWithBorrowAndWait(double toConsume, double nowInSeconds = de... function available (line 479) | double available(double nowInSeconds = defaultClockNow()) const FILE: include/dsn/utility/absl/base/internal/invoke.h type MemFunAndRef (line 72) | struct MemFunAndRef type MemFunAndPtr (line 99) | struct MemFunAndPtr type DataMemAndRef (line 130) | struct DataMemAndRef type DataMemAndPtr (line 152) | struct DataMemAndPtr type typename (line 188) | typedef typename std::conditional< FILE: include/dsn/utility/absl/utility/utility.h function namespace (line 50) | namespace dsn { function namespace (line 147) | namespace utility_internal { FILE: include/dsn/utility/alloc.h function namespace (line 29) | namespace dsn { FILE: include/dsn/utility/apply.h function namespace (line 31) | namespace dsn { FILE: include/dsn/utility/autoref_ptr.h function namespace (line 43) | namespace dsn { FILE: include/dsn/utility/binary_reader.h function namespace (line 33) | namespace dsn { FILE: include/dsn/utility/binary_writer.h function namespace (line 32) | namespace dsn { function get_buffers (line 102) | inline void binary_writer::get_buffers(/*out*/ std::vector &buffers) function write (line 110) | inline void binary_writer::write(const std::string &val) function write (line 118) | inline void binary_writer::write(const blob &val) FILE: include/dsn/utility/blob.h function namespace (line 32) | namespace dsn { FILE: include/dsn/utility/casts.h function namespace (line 23) | namespace dsn { FILE: include/dsn/utility/chrono_literals.h function namespace (line 36) | namespace dsn { FILE: include/dsn/utility/clock.h function namespace (line 22) | namespace dsn { FILE: include/dsn/utility/configuration.h function namespace (line 40) | namespace dsn { FILE: include/dsn/utility/crc.h function namespace (line 34) | namespace dsn { FILE: include/dsn/utility/customizable_id.h function namespace (line 45) | namespace dsn { FILE: include/dsn/utility/defer.h function namespace (line 22) | namespace dsn { FILE: include/dsn/utility/endians.h function namespace (line 25) | namespace dsn { FILE: include/dsn/utility/enum_helper.h function namespace (line 67) | namespace dsn { FILE: include/dsn/utility/error_code.h function namespace (line 32) | namespace dsn { FILE: include/dsn/utility/errors.h function namespace (line 36) | namespace dsn { function if (line 146) | struct error_info function else (line 161) | else if (!_info) { function _err (line 193) | error_with(const error_s &status) : _err(status) { assert(!_err.is_ok()); } function T (line 195) | const T &get_value() const FILE: include/dsn/utility/exp_delay.h function namespace (line 42) | namespace dsn { FILE: include/dsn/utility/extensible_object.h function namespace (line 44) | namespace dsn { function get (line 156) | static uint64_t &get(TExtensibleObject *ctx) { return ctx->get_extension... function set (line 158) | static void set(TExtensibleObject *ctx, uint64_t ext) { ctx->set_extensi... function register_ext (line 175) | static uint32_t register_ext(extension_creator creator, extension_deleto... function TExtension (line 183) | static TExtension *get(TExtensibleObject *ctx) function set (line 189) | static void set(TExtensibleObject *ctx, TExtension *ext) function TExtension (line 194) | static TExtension *get_inited(TExtensibleObject *ctx) function clear (line 210) | static void clear(TExtensibleObject *ctx) FILE: include/dsn/utility/factory_store.h function namespace (line 40) | namespace dsn { FILE: include/dsn/utility/fail_point.h function namespace (line 64) | namespace dsn { FILE: include/dsn/utility/filesystem.h function namespace (line 54) | namespace dsn { FILE: include/dsn/utility/fixed_size_buffer_pool.h function fixed_size_buffer_pool (line 39) | unsigned int ChunkSize> FILE: include/dsn/utility/flags.h function flag_tag (line 27) | enum class flag_tag FILE: include/dsn/utility/function_traits.h function namespace (line 39) | namespace dsn { FILE: include/dsn/utility/hpc_locks/autoresetevent.h function class (line 16) | class AutoResetEvent function signal (line 31) | void signal() function wait (line 48) | void wait() function wait (line 57) | bool wait(int timeout_milliseconds) FILE: include/dsn/utility/hpc_locks/autoreseteventcondvar.h function class (line 16) | class AutoResetEventCondVar function signal (line 32) | void signal() function wait (line 44) | void wait() FILE: include/dsn/utility/hpc_locks/benaphore.h function class (line 18) | class NonRecursiveBenaphore function class (line 55) | class RecursiveBenaphore FILE: include/dsn/utility/hpc_locks/bitfield.h function class (line 77) | class Element function Element (line 116) | Element operator[](int i) function Element (line 122) | const Element operator[](int i) const FILE: include/dsn/utility/hpc_locks/rwlock.h function class (line 18) | class NonRecursiveRWLock FILE: include/dsn/utility/hpc_locks/sema.h function class (line 22) | class Semaphore function wait (line 39) | void wait() { WaitForSingleObject(m_hSema, INFINITE); } function wait (line 41) | bool wait(int timeout_milliseconds) function class (line 58) | class Semaphore function wait (line 75) | void wait() { semaphore_wait(m_sema); } function wait (line 77) | bool wait(int timeout_milliseconds) function signal (line 84) | void signal() { semaphore_signal(m_sema); } function signal (line 86) | void signal(int count) function class (line 102) | class Semaphore function wait (line 119) | void wait() function wait (line 128) | bool wait(int timeout_milliseconds) function signal (line 145) | void signal() { sem_post(&m_sema); } function signal (line 147) | void signal(int count) function class (line 164) | class LightweightSemaphore function tryWait (line 199) | bool tryWait() function wait (line 206) | void wait() function wait (line 213) | bool wait(int timeout_milliseconds) type LightweightSemaphore (line 235) | typedef LightweightSemaphore DefaultSemaphoreType; FILE: include/dsn/utility/join_point.h function namespace (line 35) | namespace dsn { FILE: include/dsn/utility/link.h function add (line 49) | void add(T *obj) function T (line 59) | T *pop_all() function T (line 96) | T *pop_one() function class (line 119) | class dlink FILE: include/dsn/utility/long_adder.h function namespace (line 29) | namespace dsn { FILE: include/dsn/utility/math.h function namespace (line 23) | namespace dsn { FILE: include/dsn/utility/metrics.h function namespace (line 128) | namespace dsn { function class (line 184) | class metric_entity_prototype function class (line 202) | class metric_registry : public utils::singleton function metric_unit (line 224) | enum class metric_unit function set (line 330) | void set(const T &val) { _value.store(val, std::memory_order_relaxed); } function increment (line 447) | void increment() { _adder.increment(); } function reset (line 449) | void reset() { _adder.reset(); } function kth_percentile_type (line 485) | enum class kth_percentile_type : size_t function find_nth_elements (line 664) | void find_nth_elements() function set_real_nths (line 693) | void set_real_nths(size_type real_sample_size) FILE: include/dsn/utility/nth_element.h function namespace (line 34) | namespace dsn { FILE: include/dsn/utility/optional.h type none_placeholder_t (line 40) | struct none_placeholder_t function none_placeholder_t (line 43) | constexpr none_placeholder_t none{} function optional (line 53) | optional(none_placeholder_t) : optional() {} function T (line 56) | new (_data_placeholder) T{reinterpret_cast(that._data_placeho... function T (line 61) | new (_data_placeholder) T{std::move(reinterpret_cast(that._data_pl... function _is_some (line 65) | _is_some(true) FILE: include/dsn/utility/output_utils.h function namespace (line 29) | namespace dsn { FILE: include/dsn/utility/preloadable.h function namespace (line 22) | namespace dsn { FILE: include/dsn/utility/priority_queue.h function namespace (line 42) | namespace dsn { FILE: include/dsn/utility/process_utils.h function namespace (line 24) | namespace dsn { FILE: include/dsn/utility/rand.h function namespace (line 24) | namespace dsn { FILE: include/dsn/utility/safe_strerror_posix.h function namespace (line 9) | namespace dsn { FILE: include/dsn/utility/singleton.h function namespace (line 22) | namespace dsn { FILE: include/dsn/utility/singleton_store.h function namespace (line 43) | namespace dsn { FILE: include/dsn/utility/smart_pointers.h function namespace (line 19) | namespace dsn { FILE: include/dsn/utility/string_conv.h function namespace (line 25) | namespace dsn { function buf2int32 (line 100) | inline bool buf2int32(string_view buf, int32_t &result) function buf2int64 (line 105) | inline bool buf2int64(string_view buf, int64_t &result) function buf2uint32 (line 110) | inline bool buf2uint32(string_view buf, uint32_t &result) function buf2uint64 (line 115) | inline bool buf2uint64(string_view buf, uint64_t &result) function buf2double (line 137) | inline bool buf2double(string_view buf, double &result) FILE: include/dsn/utility/string_splitter.h function namespace (line 23) | namespace dsn { function not_end (line 160) | bool string_splitter::not_end(const char *p) const function to_int8 (line 165) | int string_splitter::to_int8(int8_t *pv) const function to_uint8 (line 175) | int string_splitter::to_uint8(uint8_t *pv) const function to_int (line 185) | int string_splitter::to_int(int *pv) const function to_uint (line 195) | int string_splitter::to_uint(unsigned int *pv) const function to_long (line 205) | int string_splitter::to_long(long *pv) const function to_ulong (line 212) | int string_splitter::to_ulong(unsigned long *pv) const function to_longlong (line 219) | int string_splitter::to_longlong(long long *pv) const function to_ulonglong (line 226) | int string_splitter::to_ulonglong(unsigned long long *pv) const function to_float (line 233) | int string_splitter::to_float(float *pv) const function to_double (line 240) | int string_splitter::to_double(double *pv) const FILE: include/dsn/utility/string_view.h function namespace (line 49) | namespace dsn { function string_view (line 333) | string_view substr(size_type pos, size_type n = npos) const function compare (line 349) | int compare(string_view x) const noexcept function compare (line 368) | int compare(size_type pos1, size_type count1, string_view v) const function compare (line 375) | int function compare (line 383) | int compare(const char *s) const { return compare(string_view(s)); } function compare (line 387) | int compare(size_type pos1, size_type count1, const char *s) const function compare (line 394) | int compare(size_type pos1, size_type count1, const char *s, size_type c... FILE: include/dsn/utility/strings.h function namespace (line 36) | namespace dsn { FILE: include/dsn/utility/synchronize.h function namespace (line 34) | namespace dsn { FILE: include/dsn/utility/sys_exit_hook.h function namespace (line 22) | namespace dsn { FILE: include/dsn/utility/timer.h function namespace (line 22) | namespace dsn { FILE: include/dsn/utility/utils.h type CompileAssert (line 60) | struct CompileAssert function namespace (line 66) | namespace dsn { FILE: include/dsn/utility/work_queue.h function namespace (line 42) | namespace dsn { FILE: include/dsn/utils/latency_tracer.h function namespace (line 25) | namespace dsn { FILE: include/dsn/utils/time_utils.h function namespace (line 32) | namespace dsn { FILE: include/dsn/utils/token_bucket_throttling_controller.h function namespace (line 23) | namespace dsn { FILE: include/dsn/utils/token_buckets.h function namespace (line 25) | namespace dsn { FILE: scripts/linux/run-clang-format.py class ExitStatus (line 61) | class ExitStatus: function excludes_from_file (line 66) | def excludes_from_file(ignore_file): function list_files (line 84) | def list_files(files, recursive=False, extensions=None, exclude=None): function make_diff (line 116) | def make_diff(file, original, reformatted): class DiffError (line 126) | class DiffError(Exception): method __init__ (line 127) | def __init__(self, message, errs=None): class UnexpectedError (line 132) | class UnexpectedError(Exception): method __init__ (line 133) | def __init__(self, message, exc=None): function run_clang_format_diff_wrapper (line 139) | def run_clang_format_diff_wrapper(args, file): function run_clang_format_diff (line 150) | def run_clang_format_diff(args, file): function bold_red (line 228) | def bold_red(s): function colorize (line 232) | def colorize(diff_lines): function print_diff (line 258) | def print_diff(diff_lines, use_color): function print_trouble (line 267) | def print_trouble(prog, message, use_colors): function main (line 274) | def main(): FILE: src/aio/aio_provider.cpp type dsn (line 30) | namespace dsn { type tools (line 39) | namespace tools { type internal_use_only (line 40) | namespace internal_use_only { function register_component_provider (line 41) | bool register_component_provider(const char *name, aio_provider::f... FILE: src/aio/aio_provider.h function namespace (line 33) | namespace dsn { FILE: src/aio/aio_task.cpp type dsn (line 23) | namespace dsn { FILE: src/aio/disk_engine.cpp type dsn (line 37) | namespace dsn { type disk_engine_initializer (line 43) | struct disk_engine_initializer method disk_engine_initializer (line 45) | disk_engine_initializer() { disk_engine::instance(); } function aio_task (line 53) | aio_task *disk_write_queue::unlink_next_workload(void *plength) function aio_task (line 96) | aio_task *disk_file::read(aio_task *tsk) function aio_task (line 102) | aio_task *disk_file::write(aio_task *tsk, void *ctx) function aio_task (line 108) | aio_task *disk_file::on_read_completed(aio_task *wk, error_code err, s... function aio_task (line 118) | aio_task *disk_file::on_write_completed(aio_task *wk, void *ctx, error... class batch_write_io_task (line 155) | class batch_write_io_task : public aio_task method batch_write_io_task (line 158) | explicit batch_write_io_task(aio_task *tasks) method exec (line 163) | virtual void exec() override FILE: src/aio/disk_engine.h function namespace (line 35) | namespace dsn { FILE: src/aio/file_io.cpp type dsn (line 30) | namespace dsn { type file (line 31) | namespace file { function disk_file (line 33) | disk_file *open(const char *file_name, int flag, int pmode) function error_code (line 43) | error_code close(disk_file *file) function error_code (line 54) | error_code flush(disk_file *file) function aio_task_ptr (line 63) | aio_task_ptr read(disk_file *file, function aio_task_ptr (line 92) | aio_task_ptr write(disk_file *file, function aio_task_ptr (line 112) | aio_task_ptr write_vector(disk_file *file, function aio_context_ptr (line 136) | aio_context_ptr prepare_aio_context(aio_task *tsk) FILE: src/aio/native_linux_aio_provider.cpp type dsn (line 39) | namespace dsn { function dsn_handle_t (line 45) | dsn_handle_t native_linux_aio_provider::open(const char *file_name, in... function error_code (line 54) | error_code native_linux_aio_provider::close(dsn_handle_t fh) function error_code (line 64) | error_code native_linux_aio_provider::flush(dsn_handle_t fh) function error_code (line 74) | error_code native_linux_aio_provider::write(const aio_context &aio_ctx, function error_code (line 116) | error_code native_linux_aio_provider::read(const aio_context &aio_ctx, function error_code (line 146) | error_code native_linux_aio_provider::aio_internal(aio_task *aio_tsk) FILE: src/aio/native_linux_aio_provider.h function namespace (line 31) | namespace dsn { FILE: src/aio/test/aio.cpp function TEST (line 39) | TEST(core, aio) function TEST (line 134) | TEST(core, aio_share) function TEST (line 148) | TEST(core, operation_failed) type aio_result (line 200) | struct aio_result function TEST (line 205) | TEST(core, dsn_file) FILE: src/aio/test/main.cpp function GTEST_API_ (line 21) | GTEST_API_ int main(int argc, char **argv) FILE: src/block_service/block_service_manager.cpp type dsn (line 27) | namespace dsn { type dist (line 28) | namespace dist { type block_service (line 29) | namespace block_service { function block_filesystem (line 61) | block_filesystem *block_service_manager::get_or_create_block_files... function create_file_response (line 101) | static create_file_response create_block_file_sync(const std::stri... function download_response (line 115) | static download_response function error_code (line 127) | error_code block_service_manager::download_file(const std::string ... function error_code (line 138) | error_code block_service_manager::download_file(const std::string ... FILE: src/block_service/block_service_manager.h function namespace (line 24) | namespace dsn { FILE: src/block_service/directio_writable_file.cpp type dsn (line 32) | namespace dsn { type dist (line 33) | namespace dist { type block_service (line 34) | namespace block_service { FILE: src/block_service/directio_writable_file.h function namespace (line 22) | namespace dsn { FILE: src/block_service/fds/fds_service.cpp type dsn (line 44) | namespace dsn { type dist (line 45) | namespace dist { type block_service (line 46) | namespace block_service { class utils (line 60) | class utils function error_code (line 147) | error_code fds_service::initialize(const std::vector ... function error_code (line 401) | error_code fds_file_object::get_file_meta() function error_code (line 441) | error_code fds_file_object::get_content_in_batches(uint64_t start, function error_code (line 482) | error_code fds_file_object::get_content(uint64_t pos, function error_code (line 528) | error_code fds_file_object::put_content(/*in-out*/ std::istream &is, FILE: src/block_service/fds/fds_service.h function namespace (line 23) | namespace folly { function namespace (line 30) | namespace galaxy { function namespace (line 37) | namespace dist { FILE: src/block_service/hdfs/hdfs_service.cpp type dsn (line 35) | namespace dsn { type dist (line 36) | namespace dist { type block_service (line 37) | namespace block_service { function error_code (line 78) | error_code hdfs_service::initialize(const std::vector... function error_code (line 92) | error_code hdfs_service::create_fs() function error_code (line 272) | error_code hdfs_file_object::get_file_meta() function error_code (line 291) | error_code hdfs_file_object::write_data_in_batches(const char *data, function error_code (line 395) | error_code hdfs_file_object::read_data_in_batches(uint64_t start_pos, FILE: src/block_service/hdfs/hdfs_service.h function namespace (line 23) | namespace folly { function namespace (line 30) | namespace dsn { FILE: src/block_service/local/local_service.cpp type dsn (line 35) | namespace dsn { type dist (line 36) | namespace dist { type block_service (line 37) | namespace block_service { type file_metadata (line 41) | struct file_metadata function file_metadata_from_json (line 48) | bool file_metadata_from_json(std::ifstream &fin, file_metadata &fm... function error_code (line 75) | error_code local_service::initialize(const std::vector &args) override method stop (line 37) | dsn::error_code stop(bool) override { return dsn::ERR_OK; } function GTEST_API_ (line 40) | GTEST_API_ int main(int argc, char **argv) FILE: src/client/partition_resolver.cpp type dsn (line 33) | namespace dsn { type replication (line 34) | namespace replication { function partition_resolver_ptr (line 36) | partition_resolver_ptr partition_resolver::get_resolver(const char *... function error_retry (line 45) | static inline bool error_retry(error_code err) FILE: src/client/partition_resolver_manager.cpp type dsn (line 33) | namespace dsn { type replication (line 34) | namespace replication { function vector_equal (line 37) | bool vector_equal(const std::vector &a, const std::vector &b) function partition_resolver_ptr (line 52) | partition_resolver_ptr partition_resolver_manager::find_or_create( FILE: src/client/partition_resolver_manager.h function namespace (line 36) | namespace dsn { FILE: src/client/partition_resolver_simple.cpp type dsn (line 33) | namespace dsn { type replication (line 34) | namespace replication { function task_ptr (line 231) | task_ptr partition_resolver_simple::query_config(int partition_index... function rpc_address (line 415) | rpc_address partition_resolver_simple::get_address(const partition_c... function error_code (line 428) | error_code partition_resolver_simple::get_address(int partition_inde... FILE: src/client/partition_resolver_simple.h function namespace (line 35) | namespace dsn { FILE: src/client/replication_ddl_client.cpp type dsn (line 52) | namespace dsn { type replication (line 53) | namespace replication { type list_nodes_helper (line 473) | struct list_nodes_helper method list_nodes_helper (line 479) | list_nodes_helper(const std::string &n, const std::string &s) function host_name_resolve (line 485) | std::string host_name_resolve(bool resolve_ip, std::string value) function print_set (line 1135) | std::string print_set(const std::set &set) function print_policy_entry (line 1151) | static void print_policy_entry(const policy_entry &entry) function print_backup_entry (line 1164) | static void print_backup_entry(const backup_entry &bentry) function error_code (line 1621) | error_code replication_ddl_client::detect_hotkey(const dsn::rpc_addr... FILE: src/common/backup_common.cpp type dsn (line 21) | namespace dsn { type replication (line 22) | namespace replication { type cold_backup (line 40) | namespace cold_backup { function get_backup_path (line 42) | std::string get_backup_path(const std::string &root, int64_t backu... function get_backup_info_file (line 47) | std::string get_backup_info_file(const std::string &root, int64_t ... function get_replica_backup_path (line 52) | std::string get_replica_backup_path(const std::string &root, function get_app_meta_backup_path (line 62) | std::string get_app_meta_backup_path(const std::string &root, function get_app_metadata_file (line 71) | std::string get_app_metadata_file(const std::string &root, function get_app_backup_status_file (line 80) | std::string get_app_backup_status_file(const std::string &root, function get_current_chkpt_file (line 89) | std::string get_current_chkpt_file(const std::string &root, function get_remote_chkpt_dirname (line 98) | std::string get_remote_chkpt_dirname() function get_remote_chkpt_dir (line 106) | std::string get_remote_chkpt_dir(const std::string &root, function get_remote_chkpt_meta_file (line 115) | std::string get_remote_chkpt_meta_file(const std::string &root, FILE: src/common/backup_common.h function namespace (line 25) | namespace dsn { FILE: src/common/bulk_load_common.cpp type dsn (line 20) | namespace dsn { type replication (line 21) | namespace replication { FILE: src/common/bulk_load_common.h function namespace (line 23) | namespace dsn { FILE: src/common/common.cpp type dsn (line 21) | namespace dsn { FILE: src/common/duplication_common.cpp type dsn (line 25) | namespace dsn { type replication (line 26) | namespace replication { type internal (line 59) | namespace internal { class duplication_group_registry (line 61) | class duplication_group_registry : public utils::singleton get_cluster_id(const std::string &cluster_na... method duplication_group_registry (line 85) | duplication_group_registry() function get_duplication_cluster_id (line 117) | error_with get_duplication_cluster_id(const std::string &cl... function duplication_entry_to_json (line 124) | static nlohmann::json duplication_entry_to_json(const duplication_en... function duplication_entry_to_string (line 145) | std::string duplication_entry_to_string(const duplication_entry &ent) function duplication_query_response_to_string (line 150) | std::string duplication_query_response_to_string(const duplication_q... FILE: src/common/fs_manager.cpp type dsn (line 42) | namespace dsn { type replication (line 43) | namespace replication { function dir_node (line 153) | dir_node *fs_manager::get_dir_node(const std::string &subdir) FILE: src/common/fs_manager.h function namespace (line 29) | namespace dsn { FILE: src/common/manual_compact.h function namespace (line 23) | namespace dsn { FILE: src/common/partition_split_common.h function namespace (line 23) | namespace dsn { FILE: src/common/replication_common.cpp type dsn (line 36) | namespace dsn { type replication (line 37) | namespace replication { FILE: src/common/replication_common.h function namespace (line 32) | namespace dsn { FILE: src/common/test/common_test.cpp type dsn (line 23) | namespace dsn { function TEST (line 24) | TEST(duplication_common, get_current_cluster_name) FILE: src/common/test/duplication_common_test.cpp type dsn (line 30) | namespace dsn { type replication (line 31) | namespace replication { function TEST (line 33) | TEST(duplication_common, get_duplication_cluster_id) function TEST (line 42) | TEST(duplication_common, get_distinct_cluster_id_set) FILE: src/common/test/fs_manager_test.cpp type dsn (line 25) | namespace dsn { type replication (line 26) | namespace replication { function TEST (line 28) | TEST(fs_manager, dir_update_disk_status) FILE: src/common/test/main.cpp class gtest_app (line 34) | class gtest_app : public dsn::service_app method gtest_app (line 37) | explicit gtest_app(const dsn::service_app_info *info) : ::dsn::service... method start (line 39) | dsn::error_code start(const std::vector &args) override method stop (line 46) | dsn::error_code stop(bool) override { return dsn::ERR_OK; } function GTEST_API_ (line 49) | GTEST_API_ int main(int argc, char **argv) FILE: src/common/test/replication_common_test.cpp type dsn (line 27) | namespace dsn { type replication (line 28) | namespace replication { function TEST (line 30) | TEST(replication_common, get_data_dir_test) function TEST (line 70) | TEST(replication_common, get_black_list_test) function TEST (line 97) | TEST(replication_common, check_in_black_list_test) FILE: src/failure_detector/failure_detector.cpp type dsn (line 41) | namespace dsn { type fd (line 42) | namespace fd { function error_code (line 79) | error_code failure_detector::start(uint32_t check_interval_seconds, FILE: src/failure_detector/failure_detector_multimaster.cpp type dsn (line 42) | namespace dsn { type dist (line 43) | namespace dist { FILE: src/failure_detector/test/failure_detector.cpp class worker_fd_test (line 45) | class worker_fd_test : public ::dsn::dist::slave_failure_detector_with_m... method send_beacon (line 54) | virtual void send_beacon(::dsn::rpc_address node, uint64_t time) override method on_master_disconnected (line 63) | virtual void on_master_disconnected(const std::vector &no... method on_master_connected (line 69) | virtual void on_master_connected(rpc_address node) override method worker_fd_test (line 76) | worker_fd_test(replication::replica_stub *stub, std::vector &func)... method when_disconnected (line 85) | void when_disconnected(const std::function &wo... method on_worker_connected (line 121) | virtual void on_worker_connected(rpc_address node) override method master_fd_test (line 126) | master_fd_test() : meta_server_failure_detector(rpc_address(), false) method toggle_response_ping (line 130) | void toggle_response_ping(bool toggle) { _response_ping_switch = toggl... method when_connected (line 131) | void when_connected(const std::function &func)... method when_disconnected (line 132) | void when_disconnected(const std::function method test_worker (line 151) | test_worker(const service_app_info *info) : service_app(info), serverl... method error_code (line 153) | error_code start(const std::vector &args) override method error_code (line 167) | error_code stop(bool) override { return ERR_OK; } method on_master_config (line 169) | void on_master_config(const config_master_message &request, bool &resp... method worker_fd_test (line 181) | worker_fd_test *fd() { return _worker_fd; } class test_master (line 186) | class test_master : public service_app method test_master (line 189) | test_master(const service_app_info *info) : ::dsn::service_app(info) {} method error_code (line 191) | error_code start(const std::vector &args) override method error_code (line 217) | error_code stop(bool) override { return ERR_OK; } method master_fd_test (line 219) | master_fd_test *fd() { return _master_fd; } function spin_wait_condition (line 225) | bool spin_wait_condition(const std::function &pred, int seconds) function fd_test_init (line 235) | void fd_test_init() function get_worker_and_master (line 242) | bool get_worker_and_master(test_worker *&worker, std::vector &master_group, i... function worker_set_leader (line 282) | void worker_set_leader(test_worker *worker, int leader_contact) function clear (line 296) | void clear(test_worker *worker, std::vector masters) function finish (line 317) | void finish(test_worker *worker, test_master *master, int master_index) function TEST (line 343) | TEST(fd, dummy_connect_disconnect) function TEST (line 374) | TEST(fd, master_redirect) function TEST (line 411) | TEST(fd, switch_new_master_suddenly) function TEST (line 468) | TEST(fd, old_master_died) function TEST (line 530) | TEST(fd, worker_died_when_switch_master) function TEST (line 597) | TEST(fd, update_stability) function TEST (line 704) | TEST(fd, not_in_whitelist) FILE: src/failure_detector/test/main.cpp class test_client (line 42) | class test_client : public ::dsn::service_app method test_client (line 45) | test_client(const dsn::service_app_info *info) : ::dsn::service_app(in... method start (line 47) | ::dsn::error_code start(const std::vector &args) method stop (line 60) | ::dsn::error_code stop(bool cleanup = false) { return ::dsn::ERR_OK; } function GTEST_API_ (line 63) | GTEST_API_ int main(int argc, char **argv) FILE: src/http/builtin_http_calls.cpp type dsn (line 26) | namespace dsn { function get_help_handler (line 28) | void get_help_handler(const http_request &req, http_response &resp) function get_version_handler (line 41) | void get_version_handler(const http_request &req, http_response &resp) function get_recent_start_time_handler (line 54) | void get_recent_start_time_handler(const http_request &req, http_respo... function register_builtin_http_calls (line 67) | void register_builtin_http_calls() FILE: src/http/builtin_http_calls.h function namespace (line 24) | namespace dsn { FILE: src/http/config_http_service.cpp type dsn (line 22) | namespace dsn { function update_config (line 23) | void update_config(const http_request &req, http_response &resp) function list_all_configs (line 41) | void list_all_configs(const http_request &req, http_response &resp) function get_config (line 52) | void get_config(const http_request &req, http_response &resp) FILE: src/http/http_call_registry.h function namespace (line 23) | namespace dsn { FILE: src/http/http_message_parser.cpp type dsn (line 37) | namespace dsn { type parser_context (line 39) | struct parser_context function message_ex (line 153) | message_ex *http_message_parser::get_message_on_receive(message_reader... FILE: src/http/http_message_parser.h type http_parser_stage (line 56) | enum http_parser_stage function _is_field_content_type (line 97) | bool _is_field_content_type{false}; FILE: src/http/http_server.cpp type dsn (line 31) | namespace dsn { function http_status_code_to_string (line 35) | std::string http_status_code_to_string(http_status_code code) function http_call (line 54) | http_call ®ister_http_call(std::string full_path) function deregister_http_call (line 63) | void deregister_http_call(const std::string &full_path) function http_response_reply (line 215) | void http_response_reply(const http_response &resp, message_ex *req) function start_http_server (line 236) | void start_http_server() function register_http_service (line 242) | void register_http_service(http_service *svc) FILE: src/http/http_server_impl.h function namespace (line 24) | namespace dsn { FILE: src/http/perf_counter_http_service.cpp type dsn (line 21) | namespace dsn { function get_perf_counter_handler (line 23) | void get_perf_counter_handler(const http_request &req, http_response &... FILE: src/http/pprof_http_service.cpp type dsn (line 40) | namespace dsn { type lib_info (line 50) | struct lib_info function has_ext (line 58) | static bool has_ext(const std::string &name, const std::string &ext) function extract_symbols_from_binary (line 67) | static int extract_symbols_from_binary(std::map &add... function read_command_line (line 370) | ssize_t read_command_line(char *buf, size_t len, bool with_args) function get_cpu_profile (line 443) | static bool get_cpu_profile(std::string &result, useconds_t seconds) FILE: src/http/pprof_http_service.h function namespace (line 24) | namespace dsn { FILE: src/http/service_version.cpp type dsn (line 20) | namespace dsn { FILE: src/http/service_version.h function namespace (line 22) | namespace dsn { FILE: src/http/test/http_server_test.cpp type dsn (line 25) | namespace dsn { function TEST (line 27) | TEST(http_server, parse_url) function TEST (line 62) | TEST(bultin_http_calls_test, meta_query) function TEST (line 73) | TEST(bultin_http_calls_test, get_help) class http_message_parser_test (line 104) | class http_message_parser_test : public testing::Test method parse_bad_request (line 107) | void parse_bad_request() method parse_multiple_requests (line 142) | void parse_multiple_requests() function TEST_F (line 178) | TEST_F(http_message_parser_test, parse_request) function TEST_F (line 213) | TEST_F(http_message_parser_test, eof) function TEST_F (line 267) | TEST_F(http_message_parser_test, parse_bad_request) { parse_bad_reques... function TEST_F (line 269) | TEST_F(http_message_parser_test, parse_multiple_requests) { parse_mult... function TEST_F (line 271) | TEST_F(http_message_parser_test, parse_long_url) function TEST_F (line 291) | TEST_F(http_message_parser_test, parse_query_params) FILE: src/http/test/perf_counter_http_service_test.cpp type dsn (line 24) | namespace dsn { function TEST (line 26) | TEST(perf_counter_http_service_test, get_perf_counter) FILE: src/http/test/uri_decoder_test.cpp type dsn (line 22) | namespace dsn { type uri (line 23) | namespace uri { class uri_decoder_test (line 25) | class uri_decoder_test : public testing::Test function TEST_F (line 29) | TEST_F(uri_decoder_test, decode) FILE: src/http/uri_decoder.cpp type dsn (line 21) | namespace dsn { type uri (line 22) | namespace uri { function from_hex (line 24) | error_with from_hex(const char c) function decode_char (line 38) | error_with decode_char(const string_view &hex) function decode (line 51) | error_with decode(const string_view &encoded_uri) FILE: src/http/uri_decoder.h function namespace (line 23) | namespace dsn { FILE: src/meta/app_balance_policy.cpp type dsn (line 23) | namespace dsn { type replication (line 24) | namespace replication { function balance_type (line 203) | balance_type copy_secondary_operation::get_balance_type() { return b... FILE: src/meta/app_balance_policy.h function namespace (line 22) | namespace dsn { FILE: src/meta/app_env_validator.cpp type dsn (line 27) | namespace dsn { type replication (line 28) | namespace replication { function validate_app_env (line 30) | bool validate_app_env(const std::string &env_name, function check_slow_query (line 37) | bool check_slow_query(const std::string &env_value, std::string &hin... function check_deny_client (line 49) | bool check_deny_client(const std::string &env_value, std::string &hi... function check_rocksdb_iteration (line 69) | bool check_rocksdb_iteration(const std::string &env_value, std::stri... function check_throttling (line 79) | bool check_throttling(const std::string &env_value, std::string &hin... function check_bool_value (line 139) | bool check_bool_value(const std::string &env_value, std::string &hin... FILE: src/meta/app_env_validator.h function namespace (line 25) | namespace dsn { FILE: src/meta/backup_engine.cpp type dsn (line 25) | namespace dsn { type replication (line 26) | namespace replication { function error_code (line 35) | error_code backup_engine::init_backup(int32_t app_id) function error_code (line 63) | error_code backup_engine::set_block_service(const std::string &provi... function error_code (line 75) | error_code backup_engine::set_backup_path(const std::string &path) function error_code (line 85) | error_code backup_engine::write_backup_file(const std::string &file_... function error_code (line 117) | error_code backup_engine::backup_app_meta() function error_code (line 330) | error_code backup_engine::start() function backup_item (line 354) | backup_item backup_engine::get_backup_item() const FILE: src/meta/backup_engine.h function namespace (line 24) | namespace dsn { FILE: src/meta/cluster_balance_policy.cpp type dsn (line 23) | namespace dsn { type replication (line 24) | namespace replication { function get_partition_count (line 31) | uint32_t get_partition_count(const node_state &ns, balance_type type... function get_skew (line 55) | uint32_t get_skew(const std::map &count_map) function get_min_max_set (line 69) | void get_min_max_set(const std::map &node_cou... function select_random (line 339) | auto select_random(const S &s, size_t n) FILE: src/meta/cluster_balance_policy.h function namespace (line 22) | namespace dsn { FILE: src/meta/distributed_lock_service_simple.cpp type dsn (line 41) | namespace dsn { type dist (line 42) | namespace dist { function __lock_cb_bind_and_enqueue (line 45) | static void __lock_cb_bind_and_enqueue(task_ptr lock_task, function error_code (line 104) | error_code distributed_lock_service_simple::initialize(const std::ve... function task_ptr (line 187) | task_ptr distributed_lock_service_simple::cancel_pending_lock(const ... function task_ptr (line 222) | task_ptr distributed_lock_service_simple::unlock(const std::string &... function task_ptr (line 269) | task_ptr distributed_lock_service_simple::query_lock(const std::stri... function error_code (line 292) | error_code distributed_lock_service_simple::query_cache(const std::s... FILE: src/meta/distributed_lock_service_simple.h function namespace (line 41) | namespace dsn { FILE: src/meta/dump_file.h type block_header (line 53) | struct block_header function class (line 59) | class dump_file FILE: src/meta/duplication/duplication_info.cpp type dsn (line 24) | namespace dsn { type replication (line 25) | namespace replication { function json_encode (line 27) | void json_encode(dsn::json::JsonWriter &out, const duplication_statu... function json_decode (line 32) | bool json_decode(const dsn::json::JsonObject &in, duplication_status... function json_encode (line 59) | void json_encode(dsn::json::JsonWriter &out, const duplication_fail_... function json_decode (line 64) | bool json_decode(const dsn::json::JsonObject &in, duplication_fail_m... function error_code (line 87) | error_code duplication_info::alter_status(duplication_status::type t... function blob (line 185) | blob duplication_info::to_json_blob() const function duplication_info_s_ptr (line 204) | duplication_info_s_ptr duplication_info::decode_from_blob(dupid_t du... FILE: src/meta/duplication/duplication_info.h function namespace (line 30) | namespace dsn { function all_checkpoint_has_prepared (line 154) | bool all_checkpoint_has_prepared() function equals_to (line 177) | bool equals_to(const duplication_info &rhs) const { return to_string() =... type partition_progress (line 194) | struct partition_progress function last_progress_update_ms (line 199) | uint64_t last_progress_update_ms{0} function checkpoint_prepared (line 201) | bool checkpoint_prepared{false}; function _last_progress_report_ms (line 207) | uint64_t _last_progress_report_ms{0} type json_helper (line 214) | struct json_helper function app_id (line 226) | const int32_t app_id{0} function partition_count (line 228) | const int32_t partition_count{0} function create_timestamp_ms (line 233) | const uint64_t create_timestamp_ms{0} FILE: src/meta/duplication/meta_duplication_service.cpp type dsn (line 29) | namespace dsn { type replication (line 30) | namespace replication { FILE: src/meta/duplication/meta_duplication_service.h function namespace (line 23) | namespace dsn { FILE: src/meta/greedy_load_balancer.cpp type dsn (line 40) | namespace dsn { type replication (line 41) | namespace replication { FILE: src/meta/greedy_load_balancer.h function namespace (line 39) | namespace dsn { FILE: src/meta/load_balance_policy.cpp type dsn (line 25) | namespace dsn { type replication (line 26) | namespace replication { function dump_disk_load (line 29) | void dump_disk_load(app_id id, const rpc_address &node, bool only_pr... function calc_disk_load (line 47) | bool calc_disk_load(node_mapper &nodes, function get_node_loads (line 88) | std::unordered_map function generate_balancer_request (line 119) | std::shared_ptr type flow_path (line 520) | struct flow_path function partition_set (line 656) | const partition_set *copy_replica_operation::get_all_partitions() function gpid (line 664) | gpid copy_replica_operation::select_max_load_gpid(const partition_se... function gpid (line 732) | gpid copy_replica_operation::select_partition(migration_list *result) type balance_type (line 787) | enum balance_type FILE: src/meta/load_balance_policy.h type std (line 25) | typedef std::map disk_load; type class (line 27) | enum class type flow_path (line 54) | struct flow_path function class (line 56) | class load_balance_policy type flow_path (line 121) | struct flow_path function class (line 136) | class ford_fulkerson FILE: src/meta/meta_backup_service.cpp type dsn (line 30) | namespace dsn { type replication (line 31) | namespace replication { function policy (line 909) | policy policy_context::get_policy() function error_code (line 1108) | error_code backup_service::sync_policies_from_remote_storage() FILE: src/meta/meta_backup_service.h function namespace (line 34) | namespace dsn { FILE: src/meta/meta_bulk_load_ingestion_context.cpp type dsn (line 23) | namespace dsn { type replication (line 24) | namespace replication { FILE: src/meta/meta_bulk_load_ingestion_context.h function namespace (line 23) | namespace dsn { FILE: src/meta/meta_bulk_load_service.cpp type dsn (line 24) | namespace dsn { type replication (line 25) | namespace replication { function error_code (line 132) | error_code function erase_map_elem_by_id (line 1381) | inline void erase_map_elem_by_id(int32_t app_id, std::unordered_map<... FILE: src/meta/meta_bulk_load_service.h function namespace (line 24) | namespace dsn { FILE: src/meta/meta_data.cpp type dsn (line 43) | namespace dsn { type replication (line 44) | namespace replication { function when_update_replicas (line 81) | void when_update_replicas(config_type::type t, const std::function &drops, const rpc_addre... function construct_replica (line 120) | bool construct_replica(meta_view view, const gpid &pid, int max_repl... function collect_replica (line 187) | bool collect_replica(meta_view view, const rpc_address &node, const ... function configuration_proposal_action (line 297) | const configuration_proposal_action *proposal_actions::front() const function partition_set (line 588) | const partition_set *node_state::get_partitions(int app_id, bool onl... function partition_set (line 603) | partition_set *node_state::get_partitions(app_id id, bool only_prima... function partition_set (line 622) | partition_set *node_state::partitions(app_id id, bool only_primary) function partition_set (line 627) | const partition_set *node_state::partitions(app_id id, bool only_pri... FILE: src/meta/meta_data.h function config_status (line 57) | enum class config_status FILE: src/meta/meta_http_service.cpp type dsn (line 36) | namespace dsn { type replication (line 37) | namespace replication { type list_nodes_helper (line 39) | struct list_nodes_helper method list_nodes_helper (line 45) | list_nodes_helper(const std::string &a, const std::string &s) function set_to_string (line 536) | std::string set_to_string(const std::set &s) FILE: src/meta/meta_http_service.h function namespace (line 25) | namespace dsn { FILE: src/meta/meta_options.cpp type dsn (line 39) | namespace dsn { type replication (line 40) | namespace replication { FILE: src/meta/meta_options.h function namespace (line 40) | namespace dsn { FILE: src/meta/meta_rpc_types.h function namespace (line 23) | namespace dsn { FILE: src/meta/meta_server_failure_detector.cpp type dsn (line 47) | namespace dsn { type replication (line 48) | namespace replication { FILE: src/meta/meta_server_failure_detector.h function namespace (line 44) | namespace dsn { FILE: src/meta/meta_service.cpp type dsn (line 52) | namespace dsn { type replication (line 53) | namespace replication { function error_code (line 199) | error_code meta_service::remote_storage_initialize() function error_code (line 387) | error_code meta_service::start() FILE: src/meta/meta_service.h function namespace (line 56) | namespace security { function namespace (line 67) | namespace test { function meta_op_status (line 73) | enum class meta_op_status FILE: src/meta/meta_service_app.cpp type dsn (line 45) | namespace dsn { type service (line 46) | namespace service { function error_code (line 95) | error_code meta_service_app::start(const std::vector &a... function error_code (line 104) | error_code meta_service_app::stop(bool /*cleanup*/) FILE: src/meta/meta_split_service.cpp type dsn (line 25) | namespace dsn { type replication (line 26) | namespace replication { FILE: src/meta/meta_split_service.h function namespace (line 21) | namespace dsn { FILE: src/meta/meta_state_service_simple.cpp type dsn (line 38) | namespace dsn { type dist (line 39) | namespace dist { function error_code (line 50) | error_code meta_state_service_simple::extract_name_parent_from_path(... function __err_cb_bind_and_enqueue (line 66) | static void function error_code (line 110) | error_code meta_state_service_simple::create_node_internal(const std... function error_code (line 135) | error_code meta_state_service_simple::delete_node_internal(const std... function error_code (line 186) | error_code meta_state_service_simple::set_data_internal(const std::s... function error_code (line 197) | error_code meta_state_service_simple::apply_transaction( function error_code (line 226) | error_code meta_state_service_simple::initialize(const std::vector quick_map; FILE: src/meta/meta_state_service_utils.cpp type dsn (line 25) | namespace dsn { type replication (line 26) | namespace replication { type mss (line 27) | namespace mss { FILE: src/meta/meta_state_service_utils.h function namespace (line 22) | namespace dsn { FILE: src/meta/meta_state_service_utils_impl.h function namespace (line 25) | namespace dsn { FILE: src/meta/meta_state_service_zookeeper.cpp type dsn (line 45) | namespace dsn { type dist (line 46) | namespace dist { class zoo_transaction (line 48) | class zoo_transaction : public meta_state_service::transaction_entries method packet (line 58) | std::shared_ptr packet() { r... function error_code (line 68) | error_code zoo_transaction::create_node(const std::string &path, con... function error_code (line 99) | error_code zoo_transaction::delete_node(const std::string &path) function error_code (line 117) | error_code zoo_transaction::set_data(const std::string &name, const ... function error_code (line 139) | error_code zoo_transaction::get_result(unsigned int entry_index) function error_code (line 157) | error_code meta_state_service_zookeeper::initialize(const std::vecto... function error_code (line 178) | error_code meta_state_service_zookeeper::finalize() function task_ptr (line 201) | task_ptr meta_state_service_zookeeper::create_node(const std::string... function task_ptr (line 218) | task_ptr meta_state_service_zookeeper::submit_transaction( function task_ptr (line 242) | task_ptr meta_state_service_zookeeper::delete_empty_node(const std::... function task_ptr (line 255) | task_ptr meta_state_service_zookeeper::delete_node(const std::string... function task_ptr (line 309) | task_ptr meta_state_service_zookeeper::get_data(const std::string &n... function task_ptr (line 323) | task_ptr meta_state_service_zookeeper::set_data(const std::string &n... function task_ptr (line 339) | task_ptr meta_state_service_zookeeper::node_exist(const std::string ... function task_ptr (line 353) | task_ptr meta_state_service_zookeeper::get_children(const std::strin... FILE: src/meta/meta_state_service_zookeeper.h function namespace (line 43) | namespace dsn { FILE: src/meta/partition_guardian.cpp type dsn (line 22) | namespace dsn { type replication (line 23) | namespace replication { function pc_status (line 44) | pc_status partition_guardian::cure(meta_view view, function pc_status (line 207) | pc_status partition_guardian::on_missing_primary(meta_view &view, co... function pc_status (line 473) | pc_status partition_guardian::on_missing_secondary(meta_view &view, ... function pc_status (line 623) | pc_status partition_guardian::on_redundant_secondary(meta_view &view... FILE: src/meta/partition_guardian.h function namespace (line 22) | namespace dsn { FILE: src/meta/server_load_balancer.cpp type dsn (line 34) | namespace dsn { type replication (line 35) | namespace replication { function newly_partitions (line 127) | newly_partitions *get_newly_partitions(node_mapper &mapper, const ds... class local_module_initializer (line 135) | class local_module_initializer method local_module_initializer (line 138) | local_module_initializer() FILE: src/meta/server_load_balancer.h function namespace (line 51) | namespace dsn { FILE: src/meta/server_state.cpp type dsn (line 58) | namespace dsn { type replication (line 59) | namespace replication { function error_code (line 310) | error_code server_state::dump_app_states(const char *local_path, function error_code (line 336) | error_code server_state::dump_from_remote_storage(const char *local_... function error_code (line 383) | error_code server_state::restore_from_local_storage(const char *loca... function error_code (line 441) | error_code server_state::initialize_default_apps() function error_code (line 491) | error_code server_state::sync_apps_to_remote_storage() function error_code (line 765) | error_code server_state::initialize_data_structure() function task_ptr (line 1580) | task_ptr server_state::update_configuration_on_remote( function error_code (line 2009) | error_code function error_code (line 2101) | error_code server_state::construct_partitions( function validate_target_max_replica_count_internal (line 2918) | bool validate_target_max_replica_count_internal(int32_t max_replica_... function task_ptr (line 3583) | task_ptr server_state::update_partition_max_replica_count_on_remote( FILE: src/meta/server_state.h function namespace (line 50) | namespace dsn { FILE: src/meta/server_state_restore.cpp type dsn (line 30) | namespace dsn { type replication (line 31) | namespace replication { FILE: src/meta/test/backup_test.cpp type dsn (line 29) | namespace dsn { type replication (line 30) | namespace replication { type method_record (line 32) | struct method_record method method_record (line 40) | method_record() : event(), count(0), max_call_count(1000000), trig... class mock_base (line 43) | class mock_base method reset_records (line 46) | void reset_records() { _records.clear(); } class mock_policy (line 127) | class mock_policy : public policy_context, public mock_base method mock_policy (line 130) | mock_policy(backup_service *bs) : policy_context(bs) {} method start (line 138) | void start() class progress_liar (line 145) | class progress_liar : public meta_service method send_request (line 149) | virtual void send_request(dsn::message_ex *req, method check_progress (line 178) | int32_t check_progress(const gpid &pid) class policy_context_test (line 197) | class policy_context_test : public meta_test_base method policy_context_test (line 200) | policy_context_test() : _service(new progress_liar()), _mp(nullptr... method SetUp (line 202) | void SetUp() override function TEST_F (line 249) | TEST_F(policy_context_test, test_app_dropped_during_backup) function TEST_F (line 540) | TEST_F(policy_context_test, test_disable_backup_policy) function TEST_F (line 562) | TEST_F(policy_context_test, test_backup_failed) function TEST_F (line 596) | TEST_F(policy_context_test, test_should_start_backup) class meta_backup_service_test (line 705) | class meta_backup_service_test : public meta_test_base method meta_backup_service_test (line 708) | meta_backup_service_test() : _meta_svc(new fake_receiver_meta_serv... method SetUp (line 712) | void SetUp() override function TEST_F (line 733) | TEST_F(meta_backup_service_test, test_add_backup_policy) FILE: src/meta/test/balancer_simulator/balancer_simulator.cpp class simple_priority_queue (line 52) | class simple_priority_queue method simple_priority_queue (line 55) | simple_priority_queue(const std::vector &nl, method push (line 61) | void push(const dsn::rpc_address &addr) method pop (line 66) | dsn::rpc_address pop() method top (line 73) | dsn::rpc_address top() const { return container.front(); } method empty (line 74) | bool empty() const { return container.empty(); } function generate_balanced_apps (line 80) | void generate_balanced_apps(/*out*/ app_mapper &apps, function random_move_primary (line 150) | void random_move_primary(app_mapper &apps, node_mapper &nodes, int prima... function greedy_balancer_perfect_move_primary (line 165) | void greedy_balancer_perfect_move_primary() function main (line 195) | int main(int, char **) FILE: src/meta/test/balancer_validator.cpp type dsn (line 44) | namespace dsn { type replication (line 45) | namespace replication { function check_cure (line 64) | static void check_cure(app_mapper &apps, node_mapper &nodes, ::dsn::... function get_rpc_address (line 282) | dsn::rpc_address get_rpc_address(const std::string &ip_port) function load_apps_and_nodes (line 289) | static void load_apps_and_nodes(const char *file, app_mapper &apps, ... FILE: src/meta/test/cluster_balance_policy_test.cpp type dsn (line 23) | namespace dsn { type replication (line 24) | namespace replication { function TEST (line 26) | TEST(cluster_balance_policy, app_migration_info) function TEST (line 45) | TEST(cluster_balance_policy, node_migration_info) function TEST (line 72) | TEST(cluster_balance_policy, get_skew) function TEST (line 81) | TEST(cluster_balance_policy, get_partition_count) function TEST (line 94) | TEST(cluster_balance_policy, get_app_migration_info) function TEST (line 136) | TEST(cluster_balance_policy, get_node_migration_info) function TEST (line 177) | TEST(cluster_balance_policy, get_min_max_set) function TEST (line 195) | TEST(cluster_balance_policy, get_disk_partitions_map) function TEST (line 227) | TEST(cluster_balance_policy, get_max_load_disk_set) function TEST (line 277) | TEST(cluster_balance_policy, apply_move) function TEST (line 370) | TEST(cluster_balance_policy, pick_up_partition) function balance_func (line 435) | bool balance_func(const std::shared_ptr &app, bool only_m... function TEST (line 440) | TEST(cluster_balance_policy, execute_balance) function TEST (line 484) | TEST(cluster_balance_policy, calc_potential_moving) FILE: src/meta/test/copy_replica_operation_test.cpp type dsn (line 22) | namespace dsn { type replication (line 23) | namespace replication { function TEST (line 25) | TEST(copy_primary_operation, misc) function TEST (line 151) | TEST(copy_primary_operation, can_select) function TEST (line 168) | TEST(copy_primary_operation, only_copy_primary) function TEST (line 179) | TEST(copy_secondary_operation, misc) FILE: src/meta/test/dummy_balancer.h function namespace (line 23) | namespace dsn { FILE: src/meta/test/dump_file.cpp function TEST (line 30) | TEST(dump_file, read_write) FILE: src/meta/test/duplication_info_test.cpp type dsn (line 32) | namespace dsn { type replication (line 33) | namespace replication { class duplication_info_test (line 35) | class duplication_info_test : public testing::Test method force_update_status (line 38) | void force_update_status(duplication_info &dup, duplication_status... method test_alter_progress (line 43) | static void test_alter_progress() method test_init_and_start (line 97) | static void test_init_and_start() method test_persist_status (line 127) | static void test_persist_status() method test_encode_and_decode (line 145) | static void test_encode_and_decode() function TEST_F (line 180) | TEST_F(duplication_info_test, alter_status_when_busy) function TEST_F (line 195) | TEST_F(duplication_info_test, alter_status) function TEST_F (line 274) | TEST_F(duplication_info_test, alter_progress) { test_alter_progress(... function TEST_F (line 276) | TEST_F(duplication_info_test, persist_status) { test_persist_status(... function TEST_F (line 278) | TEST_F(duplication_info_test, init_and_start) { test_init_and_start(... function TEST_F (line 280) | TEST_F(duplication_info_test, encode_and_decode) { test_encode_and_d... function TEST_F (line 282) | TEST_F(duplication_info_test, is_valid) FILE: src/meta/test/ford_fulkerson_test.cpp type dsn (line 21) | namespace dsn { type replication (line 22) | namespace replication { function TEST (line 23) | TEST(ford_fulkerson, build_failure) function TEST (line 43) | TEST(ford_fulkerson, add_edge) function TEST (line 76) | TEST(ford_fulkerson, update_decree) function TEST (line 113) | TEST(ford_fulkerson, find_shortest_path) function TEST (line 204) | TEST(ford_fulkerson, max_value_pos) function TEST (line 242) | TEST(ford_fulkerson, select_node) FILE: src/meta/test/json_compacity.cpp type dsn (line 37) | namespace dsn { type replication (line 38) | namespace replication { FILE: src/meta/test/main.cpp type dsn (line 30) | namespace dsn { type replication (line 31) | namespace replication { function TEST (line 49) | TEST(meta, state_sync) { g_app->state_sync_test(); } function TEST (line 51) | TEST(meta, update_configuration) { g_app->update_configuration_test(... function TEST (line 53) | TEST(meta, balancer_validator) { g_app->balancer_validator(); } function TEST (line 55) | TEST(meta, apply_balancer) { g_app->apply_balancer_test(); } function TEST (line 57) | TEST(meta, cannot_run_balancer_test) { g_app->cannot_run_balancer_te... function TEST (line 59) | TEST(meta, construct_apps_test) { g_app->construct_apps_test(); } function TEST (line 61) | TEST(meta, balance_config_file) { g_app->balance_config_file(); } function TEST (line 63) | TEST(meta, json_compacity) { g_app->json_compacity(); } function TEST (line 65) | TEST(meta, adjust_dropped_size) { g_app->adjust_dropped_size(); } function TEST (line 67) | TEST(meta, app_envs_basic_test) { g_app->app_envs_basic_test(); } function GTEST_API_ (line 94) | GTEST_API_ int main(int argc, char **argv) FILE: src/meta/test/meta_app_envs_test.cpp type dsn (line 32) | namespace dsn { type replication (line 33) | namespace replication { class meta_app_envs_test (line 34) | class meta_app_envs_test : public meta_test_base method meta_app_envs_test (line 37) | meta_app_envs_test() {} method SetUp (line 39) | void SetUp() override method TearDown (line 45) | void TearDown() override { drop_app(app_name); } function TEST_F (line 50) | TEST_F(meta_app_envs_test, update_app_envs_test) FILE: src/meta/test/meta_app_operation_test.cpp type dsn (line 29) | namespace dsn { type replication (line 30) | namespace replication { class meta_app_operation_test (line 36) | class meta_app_operation_test : public meta_test_base method meta_app_operation_test (line 39) | meta_app_operation_test() {} method error_code (line 41) | error_code create_app_test(int32_t partition_count, method error_code (line 60) | error_code drop_app_test(const std::string &app_name) method error_code (line 75) | error_code recall_app_test(const std::string &new_app_name, int32_... method update_app_status (line 90) | void update_app_status(app_status::type status) method drop_app_with_expired (line 96) | void drop_app_with_expired() method clear_nodes (line 108) | void clear_nodes() { _ss->_nodes.clear(); } method configuration_get_max_replica_count_response (line 110) | configuration_get_max_replica_count_response get_max_replica_count... method set_partition_max_replica_count (line 122) | void set_partition_max_replica_count(const std::string &app_name, method set_max_replica_count_env (line 133) | void set_max_replica_count_env(const std::string &app_name, const ... method configuration_set_max_replica_count_response (line 157) | configuration_set_max_replica_count_response set_max_replica_count... method set_app_and_all_partitions_max_replica_count (line 171) | void set_app_and_all_partitions_max_replica_count(const std::strin... method verify_all_partitions_max_replica_count (line 212) | void verify_all_partitions_max_replica_count(const std::string &ap... method verify_app_max_replica_count (line 246) | void verify_app_max_replica_count(const std::string &app_name, function TEST_F (line 284) | TEST_F(meta_app_operation_test, create_app) function TEST_F (line 475) | TEST_F(meta_app_operation_test, drop_app) function TEST_F (line 505) | TEST_F(meta_app_operation_test, recall_app) function TEST_F (line 551) | TEST_F(meta_app_operation_test, get_max_replica_count) function TEST_F (line 595) | TEST_F(meta_app_operation_test, set_max_replica_count) function TEST_F (line 786) | TEST_F(meta_app_operation_test, recover_from_max_replica_count_env) FILE: src/meta/test/meta_backup_test.cpp type dsn (line 28) | namespace dsn { type replication (line 29) | namespace replication { class backup_service_test (line 31) | class backup_service_test : public meta_test_base method backup_service_test (line 34) | backup_service_test() method SetUp (line 42) | void SetUp() override method start_backup_app_response (line 53) | start_backup_app_response method query_backup_status_response (line 69) | query_backup_status_response query_backup(int32_t app_id, int64_t ... method write_metadata_succeed (line 82) | bool write_metadata_succeed(int32_t app_id, method test_specific_backup_path (line 99) | void test_specific_backup_path(int32_t test_app_id, const std::str... function TEST_F (line 124) | TEST_F(backup_service_test, test_invalid_backup_request) function TEST_F (line 136) | TEST_F(backup_service_test, test_init_backup) function TEST_F (line 152) | TEST_F(backup_service_test, test_write_backup_metadata_failed) function TEST_F (line 164) | TEST_F(backup_service_test, test_backup_app_with_no_specific_path) {... function TEST_F (line 166) | TEST_F(backup_service_test, test_backup_app_with_user_specified_path) function TEST_F (line 171) | TEST_F(backup_service_test, test_query_backup_status) class backup_engine_test (line 189) | class backup_engine_test : public meta_test_base method backup_engine_test (line 192) | backup_engine_test() method SetUp (line 202) | void SetUp() override method mock_backup_app_partitions (line 221) | void mock_backup_app_partitions() method mock_on_backup_reply (line 229) | void mock_on_backup_reply(int32_t partition_index, method mock_on_backup_reply_when_timeout (line 246) | void mock_on_backup_reply_when_timeout(int32_t partition_index, er... method is_backup_failed (line 254) | bool is_backup_failed() const method reset_backup_engine (line 260) | void reset_backup_engine() function TEST_F (line 275) | TEST_F(backup_engine_test, test_on_backup_reply) function TEST_F (line 321) | TEST_F(backup_engine_test, test_backup_completed) function TEST_F (line 334) | TEST_F(backup_engine_test, test_write_backup_info_failed) FILE: src/meta/test/meta_bulk_load_ingestion_test.cpp type dsn (line 27) | namespace dsn { type replication (line 28) | namespace replication { class node_context_test (line 30) | class node_context_test : public meta_test_base method SetUp (line 33) | void SetUp() method TearDown (line 42) | void TearDown() method mock_context (line 48) | void mock_context(const std::string &disk_tag, method init_disk (line 56) | void init_disk(const std::string &disk_tag) { _context.init_disk(d... method get_disk_count (line 58) | uint32_t get_disk_count(const std::string &disk_tag) method mock_get_max_disk_ingestion_count (line 66) | void mock_get_max_disk_ingestion_count(const uint32_t node_min_dis... method get_max_disk_ingestion_count (line 76) | uint32_t get_max_disk_ingestion_count(const uint32_t max_node_coun... method check_if_add (line 81) | bool check_if_add() { return _context.check_if_add(TAG); } function TEST_F (line 90) | TEST_F(node_context_test, init_disk_test) function TEST_F (line 104) | TEST_F(node_context_test, get_max_disk_ingestion_count_test) function TEST_F (line 132) | TEST_F(node_context_test, check_if_add_test) class ingestion_context_test (line 153) | class ingestion_context_test : public meta_test_base method SetUp (line 162) | void SetUp() method TearDown (line 171) | void TearDown() { _context->reset_all(); } method update_max_node_count (line 173) | void update_max_node_count(const uint32_t max_node_count) method check_node_ingestion (line 178) | bool check_node_ingestion(const uint32_t max_node_count, method mock_app (line 189) | void mock_app() method mock_partition (line 219) | void mock_partition(const uint32_t pidx, method add_node_context (line 239) | void add_node_context(std::vector nodes) method try_partition_ingestion (line 248) | bool try_partition_ingestion(const uint32_t pidx) method add_partition (line 254) | void add_partition(const uint32_t pidx) method remove_partition (line 261) | void remove_partition(const uint32_t pidx) { _context->remove_part... method is_partition_ingesting (line 263) | bool is_partition_ingesting(const uint32_t pidx) const method get_app_ingesting_count (line 269) | uint32_t get_app_ingesting_count() const { return _context->get_ap... method reset_app (line 271) | void reset_app() { return _context->reset_app(APP_ID); } method get_node_running_count (line 273) | int32_t get_node_running_count(const rpc_address &node) method get_disk_running_count (line 281) | uint32_t get_disk_running_count(const rpc_address &node, const std... method validate_count (line 293) | bool validate_count(const rpc_address &node, function TEST_F (line 318) | TEST_F(ingestion_context_test, check_node_ingestion_test) function TEST_F (line 333) | TEST_F(ingestion_context_test, try_partition_ingestion_test) function TEST_F (line 351) | TEST_F(ingestion_context_test, operation_test) FILE: src/meta/test/meta_bulk_load_service_test.cpp type dsn (line 29) | namespace dsn { type replication (line 30) | namespace replication { class bulk_load_service_test (line 31) | class bulk_load_service_test : public meta_test_base method bulk_load_service_test (line 34) | bulk_load_service_test() {} method start_bulk_load_response (line 38) | start_bulk_load_response start_bulk_load(const std::string &app_name) method error_code (line 52) | error_code check_start_bulk_load_request_params(const std::string ... method validate_ingest_behind (line 68) | bool validate_ingest_behind(bool mock_value, const std::string &ap... method error_code (line 77) | error_code control_bulk_load(int32_t app_id, method error_code (line 93) | error_code query_bulk_load(const std::string &app_name) method error_code (line 104) | error_code method mock_meta_bulk_load_context (line 118) | void mock_meta_bulk_load_context(int32_t app_id, method mock_partition_bulk_load (line 135) | void mock_partition_bulk_load(const std::string &app_name, const g... method gpid (line 140) | gpid before_check_partition_status(bulk_load_status::type status) method check_partition_status (line 156) | bool check_partition_status(const std::string name, method set_partition_bulk_load_info (line 180) | void set_partition_bulk_load_info(const gpid &pid, method test_check_ever_ingestion (line 197) | bool test_check_ever_ingestion(const gpid &pid, method on_partition_bulk_load_reply (line 223) | void on_partition_bulk_load_reply(error_code err, method app_is_bulk_loading (line 230) | bool app_is_bulk_loading(const std::string &app_name) method need_update_metadata (line 235) | bool need_update_metadata(gpid pid) method get_app_bulk_load_status (line 240) | bulk_load_status::type get_app_bulk_load_status(int32_t app_id) method partition_bulk_load_info (line 245) | const partition_bulk_load_info &get_partition_bulk_load_info(const... method get_partition_bulk_load_status (line 250) | bulk_load_status::type get_partition_bulk_load_status(const gpid &... method error_code (line 255) | error_code get_app_bulk_load_err(int32_t app_id) method test_on_partition_ingestion_reply (line 260) | void test_on_partition_ingestion_reply(ingestion_response &resp, method reset_local_bulk_load_states (line 268) | void reset_local_bulk_load_states(int32_t app_id, const std::strin... method get_app_in_process_count (line 273) | int32_t get_app_in_process_count(int32_t app_id) method set_app_ingesting_count (line 279) | void set_app_ingesting_count(int32_t app_id, int32_t count) method get_app_ingesting_count (line 290) | int32_t get_app_ingesting_count(int32_t app_id) method initialize_meta_server_with_mock_bulk_load (line 297) | void initialize_meta_server_with_mock_bulk_load( method mock_bulk_load_on_remote_storage (line 332) | void mock_bulk_load_on_remote_storage( method mock_app_bulk_load_info_on_remote_storage (line 365) | void mock_app_bulk_load_info_on_remote_storage( method mock_partition_bulk_load_info_on_remote_storage (line 388) | void mock_partition_bulk_load_info_on_remote_storage(const gpid &pid, method mock_app_on_remote_storage (line 402) | void mock_app_on_remote_storage(const app_info &info) method get_app_id_set_size (line 446) | int32_t get_app_id_set_size() { return bulk_svc()._bulk_load_app_i... method get_partition_bulk_load_info_size (line 448) | int32_t get_partition_bulk_load_info_size(int32_t app_id) method is_app_bulk_load_states_reset (line 459) | bool is_app_bulk_load_states_reset(int32_t app_id) method meta_op_status (line 464) | meta_op_status get_op_status() { return _ms->get_op_status(); } method unlock_meta_op_status (line 466) | void unlock_meta_op_status() { return _ms->unlock_meta_op_status(); } function TEST_F (line 482) | TEST_F(bulk_load_service_test, start_bulk_load_with_not_existed_app) function TEST_F (line 490) | TEST_F(bulk_load_service_test, start_bulk_load_with_wrong_provider) function TEST_F (line 499) | TEST_F(bulk_load_service_test, start_bulk_load_succeed) function TEST_F (line 517) | TEST_F(bulk_load_service_test, check_partition_status_app_wrong_test) function TEST_F (line 533) | TEST_F(bulk_load_service_test, check_partition_status_test) function TEST_F (line 574) | TEST_F(bulk_load_service_test, validate_ingest_behind_test) function TEST_F (line 597) | TEST_F(bulk_load_service_test, check_ever_ingestion_test) function TEST_F (line 632) | TEST_F(bulk_load_service_test, control_bulk_load_test) function TEST_F (line 664) | TEST_F(bulk_load_service_test, query_bulk_load_status_with_wrong_state) function TEST_F (line 670) | TEST_F(bulk_load_service_test, query_bulk_load_status_success) function TEST_F (line 679) | TEST_F(bulk_load_service_test, clear_bulk_load_test) class bulk_load_process_test (line 708) | class bulk_load_process_test : public bulk_load_service_test method SetUp (line 711) | void SetUp() method TearDown (line 729) | void TearDown() method create_request (line 736) | void create_request(bulk_load_status::type status) method create_basic_response (line 746) | void create_basic_response(error_code err, bulk_load_status::type ... method mock_response_progress (line 754) | void mock_response_progress(error_code progress_err, bool finish_d... method mock_response_bulk_load_metadata (line 772) | void mock_response_bulk_load_metadata() method mock_response_ingestion_status (line 788) | void mock_response_ingestion_status(ingestion_status::type seconda... method mock_response_cleaned_up_flag (line 804) | void mock_response_cleaned_up_flag(bool all_cleaned_up, bulk_load_... method mock_response_paused (line 818) | void mock_response_paused(bool is_group_paused) method test_on_partition_bulk_load_reply (line 832) | void test_on_partition_bulk_load_reply(int32_t in_progress_count, method mock_ingestion_context (line 845) | void mock_ingestion_context(error_code err, function TEST_F (line 868) | TEST_F(bulk_load_process_test, downloading_fs_error) function TEST_F (line 876) | TEST_F(bulk_load_process_test, downloading_busy) function TEST_F (line 883) | TEST_F(bulk_load_process_test, downloading_corrupt) function TEST_F (line 891) | TEST_F(bulk_load_process_test, downloading_report_metadata) function TEST_F (line 900) | TEST_F(bulk_load_process_test, normal_downloading) function TEST_F (line 907) | TEST_F(bulk_load_process_test, downloaded_succeed) function TEST_F (line 914) | TEST_F(bulk_load_process_test, start_ingesting) function TEST_F (line 922) | TEST_F(bulk_load_process_test, ingestion_running) function TEST_F (line 930) | TEST_F(bulk_load_process_test, ingestion_error) function TEST_F (line 939) | TEST_F(bulk_load_process_test, ingestion_one_succeed) function TEST_F (line 951) | TEST_F(bulk_load_process_test, ingestion_one_succeed_update) function TEST_F (line 967) | TEST_F(bulk_load_process_test, normal_succeed) function TEST_F (line 976) | TEST_F(bulk_load_process_test, succeed_not_all_finished) function TEST_F (line 984) | TEST_F(bulk_load_process_test, succeed_all_finished) function TEST_F (line 992) | TEST_F(bulk_load_process_test, cancel_not_all_finished) function TEST_F (line 999) | TEST_F(bulk_load_process_test, cancel_all_finished) function TEST_F (line 1006) | TEST_F(bulk_load_process_test, failed_not_all_finished) function TEST_F (line 1014) | TEST_F(bulk_load_process_test, failed_all_finished) function TEST_F (line 1022) | TEST_F(bulk_load_process_test, pausing) function TEST_F (line 1029) | TEST_F(bulk_load_process_test, pause_succeed) function TEST_F (line 1036) | TEST_F(bulk_load_process_test, rpc_error) function TEST_F (line 1046) | TEST_F(bulk_load_process_test, response_invalid_state) function TEST_F (line 1054) | TEST_F(bulk_load_process_test, response_object_not_found) function TEST_F (line 1062) | TEST_F(bulk_load_process_test, rollback_count_exceed) function TEST_F (line 1071) | TEST_F(bulk_load_process_test, response_ingestion_error) function TEST_F (line 1082) | TEST_F(bulk_load_process_test, ingest_rpc_error) function TEST_F (line 1090) | TEST_F(bulk_load_process_test, repeated_ingest_rpc) function TEST_F (line 1098) | TEST_F(bulk_load_process_test, ingest_wrong_state) function TEST_F (line 1106) | TEST_F(bulk_load_process_test, ingest_empty_write_error) function TEST_F (line 1115) | TEST_F(bulk_load_process_test, ingest_wrong) function TEST_F (line 1125) | TEST_F(bulk_load_process_test, ingest_succeed) class bulk_load_failover_test (line 1133) | class bulk_load_failover_test : public bulk_load_service_test method bulk_load_failover_test (line 1136) | bulk_load_failover_test() {} method SetUp (line 1138) | void SetUp() method TearDown (line 1145) | void TearDown() method try_to_continue_bulk_load (line 1152) | void try_to_continue_bulk_load(bulk_load_status::type app_status, ... method prepare_bulk_load_structures (line 1166) | void method mock_app_bulk_load_info (line 1180) | void mock_app_bulk_load_info(int32_t app_id, method mock_partition_bulk_load_info (line 1199) | void method add_to_app_info_list (line 1215) | void add_to_app_info_list(int32_t app_id, method mock_pstatus_map (line 1232) | void mock_pstatus_map(bulk_load_status::type status, int32_t end_i... method clean_up (line 1239) | void clean_up() function TEST_F (line 1260) | TEST_F(bulk_load_failover_test, sync_bulk_load) function TEST_F (line 1304) | TEST_F(bulk_load_failover_test, app_info_inconsistency) function TEST_F (line 1321) | TEST_F(bulk_load_failover_test, app_downloading_test) function TEST_F (line 1361) | TEST_F(bulk_load_failover_test, app_downloaded_test) function TEST_F (line 1399) | TEST_F(bulk_load_failover_test, app_ingesting_test) function TEST_F (line 1440) | TEST_F(bulk_load_failover_test, app_succeed_test) function TEST_F (line 1470) | TEST_F(bulk_load_failover_test, app_pausing_test) function TEST_F (line 1511) | TEST_F(bulk_load_failover_test, app_paused_test) function TEST_F (line 1542) | TEST_F(bulk_load_failover_test, app_failed_test) function TEST_F (line 1574) | TEST_F(bulk_load_failover_test, app_cancel_test) function TEST_F (line 1607) | TEST_F(bulk_load_failover_test, status_inconsistency_wrong_app_flag) function TEST_F (line 1619) | TEST_F(bulk_load_failover_test, status_inconsistency_wrong_bulk_load... FILE: src/meta/test/meta_data.cpp function TEST (line 33) | TEST(meta_data, dropped_cmp) function vec_equal (line 79) | static bool vec_equal(const std::vector &vec1, function TEST (line 99) | TEST(meta_data, collect_replica) function TEST (line 342) | TEST(meta_data, construct_replica) FILE: src/meta/test/meta_duplication_service_test.cpp type dsn (line 42) | namespace dsn { type replication (line 43) | namespace replication { class meta_duplication_service_test (line 45) | class meta_duplication_service_test : public meta_test_base method meta_duplication_service_test (line 48) | meta_duplication_service_test() {} method duplication_add_response (line 50) | duplication_add_response create_dup(const std::string &app_name, method duplication_query_response (line 64) | duplication_query_response query_dup_info(const std::string &app_n... method duplication_modify_response (line 75) | duplication_modify_response method duplication_modify_response (line 90) | duplication_modify_response method duplication_sync_response (line 105) | duplication_sync_response method recover_from_meta_state (line 120) | void recover_from_meta_state() method create_follower_app_for_duplication (line 126) | void create_follower_app_for_duplication(const std::shared_ptr mock_test_case_and_recover(std::vector<... method test_recover_from_corrupted_meta_data (line 267) | void test_recover_from_corrupted_meta_data() method test_add_duplication (line 332) | void test_add_duplication() function TEST_F (line 385) | TEST_F(meta_duplication_service_test, dup_op_upon_unavail_app) function TEST_F (line 418) | TEST_F(meta_duplication_service_test, add_duplication) { test_add_du... function TEST_F (line 422) | TEST_F(meta_duplication_service_test, dont_create_if_existed) function TEST_F (line 444) | TEST_F(meta_duplication_service_test, change_duplication_status) function TEST_F (line 478) | TEST_F(meta_duplication_service_test, new_dup_from_init) { test_new_... function TEST_F (line 480) | TEST_F(meta_duplication_service_test, remove_dup) function TEST_F (line 515) | TEST_F(meta_duplication_service_test, duplication_sync) function TEST_F (line 623) | TEST_F(meta_duplication_service_test, recover_from_meta_state) { tes... function TEST_F (line 625) | TEST_F(meta_duplication_service_test, query_duplication_info) function TEST_F (line 648) | TEST_F(meta_duplication_service_test, re_add_duplication) function TEST_F (line 686) | TEST_F(meta_duplication_service_test, recover_from_corrupted_meta_data) function TEST_F (line 691) | TEST_F(meta_duplication_service_test, query_duplication_handler) function TEST_F (line 721) | TEST_F(meta_duplication_service_test, fail_mode) function TEST_F (line 770) | TEST_F(meta_duplication_service_test, create_follower_app_for_duplic... function TEST_F (line 816) | TEST_F(meta_duplication_service_test, check_follower_app_if_create_c... FILE: src/meta/test/meta_http_service_test.cpp type dsn (line 30) | namespace dsn { type replication (line 31) | namespace replication { class meta_http_service_test (line 33) | class meta_http_service_test : public meta_test_base method SetUp (line 36) | void SetUp() override method test_get_app_from_primary (line 46) | void test_get_app_from_primary() method test_get_app_envs (line 60) | void test_get_app_envs() class meta_backup_test_base (line 85) | class meta_backup_test_base : public meta_test_base method SetUp (line 88) | void SetUp() override method add_backup_policy (line 111) | void add_backup_policy(const std::string &policy_name) method test_get_backup_policy (line 134) | void test_get_backup_policy(const std::string &name, function TEST_F (line 154) | TEST_F(meta_http_service_test, get_app_from_primary) { test_get_app_... function TEST_F (line 156) | TEST_F(meta_http_service_test, get_app_envs) { test_get_app_envs(); } function TEST_F (line 158) | TEST_F(meta_backup_test_base, get_backup_policy) class meta_bulk_load_http_test (line 195) | class meta_bulk_load_http_test : public meta_test_base method SetUp (line 198) | void SetUp() override method TearDown (line 206) | void TearDown() override method http_response (line 213) | http_response test_start_bulk_load(std::string req_body_json) method test_query_bulk_load (line 222) | std::string test_query_bulk_load(const std::string &app_name) method http_response (line 231) | http_response test_start_compaction(std::string req_body_json) method http_response (line 240) | http_response test_update_scenario(std::string req_body_json) method mock_bulk_load_context (line 249) | void mock_bulk_load_context(const bulk_load_status::type &status) method reset_local_bulk_load_states (line 263) | void reset_local_bulk_load_states() function TEST_F (line 275) | TEST_F(meta_bulk_load_http_test, start_bulk_load_request) function TEST_F (line 307) | TEST_F(meta_bulk_load_http_test, query_bulk_load_request) function TEST_F (line 333) | TEST_F(meta_bulk_load_http_test, start_compaction_test) function TEST_F (line 371) | TEST_F(meta_bulk_load_http_test, update_scenario_test) FILE: src/meta/test/meta_mauanl_compaction_test.cpp type dsn (line 23) | namespace dsn { type replication (line 24) | namespace replication { class meta_app_compaction_test (line 25) | class meta_app_compaction_test : public meta_test_base method meta_app_compaction_test (line 28) | meta_app_compaction_test() {} method SetUp (line 30) | void SetUp() override method prepare (line 36) | void prepare() method error_code (line 53) | error_code start_manual_compaction(std::string app_name, method check_after_start_compaction (line 79) | void check_after_start_compaction(std::string bottommost, method query_app_manual_compact_response (line 106) | query_app_manual_compact_response query_manual_compaction(int32_t ... function TEST_F (line 143) | TEST_F(meta_app_compaction_test, test_start_compaction) function TEST_F (line 177) | TEST_F(meta_app_compaction_test, test_query_compaction) FILE: src/meta/test/meta_partition_guardian_test.cpp type dsn (line 44) | namespace dsn { type replication (line 45) | namespace replication { function apply_update_request (line 50) | static void apply_update_request(/*in-out*/ configuration_update_req... class meta_partition_guardian_test (line 94) | class meta_partition_guardian_test : public meta_test_base method call_update_configuration (line 101) | void call_update_configuration( class message_filter (line 118) | class message_filter : public dsn::replication::meta_service method message_filter (line 122) | message_filter(meta_partition_guardian_test *app) : meta_service()... method set_filter (line 123) | void set_filter(const filter &f) { _filter = f; } method reply_message (line 124) | virtual void reply_message(dsn::message_ex *request, dsn::message_... method send_message (line 129) | virtual void send_message(const dsn::rpc_address &target, dsn::mes... function check_nodes_loads (line 732) | static void check_nodes_loads(node_mapper &nodes) FILE: src/meta/test/meta_service_test.cpp type dsn (line 24) | namespace dsn { type replication (line 25) | namespace replication { class meta_service_test (line 27) | class meta_service_test : public meta_test_base method check_status_failure (line 30) | void check_status_failure() method check_status_success (line 62) | void check_status_success() method check_op_status_lock (line 79) | void check_op_status_lock() method app_env_rpc (line 103) | app_env_rpc create_fake_rpc() function TEST_F (line 117) | TEST_F(meta_service_test, check_status_failure) { check_status_failu... function TEST_F (line 119) | TEST_F(meta_service_test, check_status_success) { check_status_succe... function TEST_F (line 121) | TEST_F(meta_service_test, check_op_status_lock) { check_op_status_lo... FILE: src/meta/test/meta_service_test_app.h function namespace (line 39) | namespace dsn { FILE: src/meta/test/meta_split_service_test.cpp type dsn (line 37) | namespace dsn { type replication (line 38) | namespace replication { class meta_split_service_test (line 39) | class meta_split_service_test : public meta_test_base method meta_split_service_test (line 42) | meta_split_service_test() {} method SetUp (line 44) | void SetUp() override method TearDown (line 51) | void TearDown() method error_code (line 57) | error_code start_partition_split(const std::string &app_name, int ... method query_split_response (line 69) | query_split_response query_partition_split(const std::string &app_... method error_code (line 80) | error_code control_partition_split(const std::string &app_name, method error_code (line 98) | error_code register_child(int32_t parent_index, ballot req_parent_... method error_code (line 132) | error_code notify_stop_split(split_status::type req_split_status) method query_child_state_response (line 147) | query_child_state_response query_child_state() method on_config_sync (line 161) | int32_t on_config_sync(configuration_query_by_node_request req) method mock_app_partition_split_context (line 176) | void mock_app_partition_split_context() method clear_app_partition_split_context (line 195) | void clear_app_partition_split_context() method mock_only_one_partition_split (line 204) | void mock_only_one_partition_split(split_status::type split_status) method mock_child_registered (line 223) | void mock_child_registered() method mock_split_states (line 230) | void mock_split_states(split_status::type status, int32_t parent_i... method check_split_status (line 242) | bool check_split_status(split_status::type expected_status, int32_... method initialize_meta_server_with_mock_app (line 257) | void initialize_meta_server_with_mock_app() method create_splitting_app_on_remote_stroage (line 280) | void create_splitting_app_on_remote_stroage(const std::string &app... method create_partition_configuration_on_remote_storage (line 323) | void create_partition_configuration_on_remote_storage(const std::s... function TEST_F (line 352) | TEST_F(meta_split_service_test, start_split_test) function TEST_F (line 384) | TEST_F(meta_split_service_test, query_split_test) function TEST_F (line 418) | TEST_F(meta_split_service_test, register_child_test) function TEST_F (line 459) | TEST_F(meta_split_service_test, on_config_sync_test) function TEST_F (line 506) | TEST_F(meta_split_service_test, pause_or_restart_single_partition_test) function TEST_F (line 599) | TEST_F(meta_split_service_test, pause_or_restart_multi_partitions_test) function TEST_F (line 639) | TEST_F(meta_split_service_test, cancel_split_test) function TEST_F (line 675) | TEST_F(meta_split_service_test, notify_stop_split_test) function TEST_F (line 768) | TEST_F(meta_split_service_test, query_child_state_test) class meta_split_service_failover_test (line 800) | class meta_split_service_failover_test : public meta_split_service_test method SetUp (line 803) | void SetUp() {} method TearDown (line 804) | void TearDown() { meta_test_base::TearDown(); } function TEST_F (line 807) | TEST_F(meta_split_service_failover_test, half_split_test) FILE: src/meta/test/meta_state/main.cpp class test_client (line 49) | class test_client : public ::dsn::service_app method test_client (line 52) | test_client(const dsn::service_app_info *info) : ::dsn::service_app(in... method start (line 54) | ::dsn::error_code start(const std::vector &args) method stop (line 75) | ::dsn::error_code stop(bool cleanup = false) { return ::dsn::ERR_OK; } function GTEST_API_ (line 78) | GTEST_API_ int main(int argc, char **argv) FILE: src/meta/test/meta_state/meta_state_service.cpp function provider_basic_test (line 48) | void provider_basic_test(const service_creator_func &service_creator, function recursively_create_node_callback (line 224) | void recursively_create_node_callback(meta_state_service *service, function provider_recursively_create_delete_test (line 249) | void provider_recursively_create_delete_test(const service_creator_func ... function TEST (line 277) | TEST(meta_state_service, simple) function TEST (line 290) | TEST(meta_state_service, zookeeper) FILE: src/meta/test/meta_state_service_utils_test.cpp type meta_state_service_utils_test (line 37) | struct meta_state_service_utils_test : ::testing::Test method SetUp (line 39) | void SetUp() override method TearDown (line 50) | void TearDown() override function TEST_F (line 62) | TEST_F(meta_state_service_utils_test, create_recursively) function TEST_F (line 86) | TEST_F(meta_state_service_utils_test, delete_and_get) function TEST_F (line 98) | TEST_F(meta_state_service_utils_test, delete_recursively) function TEST_F (line 114) | TEST_F(meta_state_service_utils_test, concurrent) function TEST_F (line 145) | TEST_F(meta_state_service_utils_test, get_children) FILE: src/meta/test/meta_test_base.cpp type dsn (line 30) | namespace dsn { type replication (line 31) | namespace replication { function configuration_update_app_env_response (line 204) | configuration_update_app_env_response function meta_duplication_service (line 226) | meta_duplication_service &meta_test_base::dup_svc() { return *(_ms->... function meta_split_service (line 228) | meta_split_service &meta_test_base::split_svc() { return *(_ms->_spl... function bulk_load_service (line 230) | bulk_load_service &meta_test_base::bulk_svc() { return *(_ms->_bulk_... FILE: src/meta/test/meta_test_base.h function namespace (line 24) | namespace dsn { FILE: src/meta/test/misc/misc.cpp function random32 (line 41) | uint32_t random32(uint32_t min, uint32_t max) function generate_node_list (line 47) | void generate_node_list(std::vector &output_list, int ... function verbose_apps (line 55) | void verbose_apps(const app_mapper &input_apps) function generate_node_mapper (line 72) | void generate_node_mapper( function generate_app (line 99) | void generate_app(/*out*/ std::shared_ptr &app, function generate_app_serving_replica_info (line 123) | void generate_app_serving_replica_info(/*out*/ std::shared_ptr &pred, int seconds) FILE: src/meta/test/misc/misc.h type std (line 35) | typedef std::map &ctx, int left... function select (line 348) | void select(const boost::shared_ptr &ctx, function calc (line 405) | void calc(const boost::shared_ptr &ctx) function on_timer (line 438) | void on_timer(std::shared_ptr timer, FILE: src/perf_counter/perf_counters.cpp type dsn (line 45) | namespace dsn { function perf_counter_ptr (line 107) | perf_counter_ptr perf_counters::get_app_counter(const char *section, function perf_counter_ptr (line 118) | perf_counter_ptr perf_counters::get_global_counter(const char *app, function perf_counter_ptr (line 176) | perf_counter_ptr perf_counters::get_counter(const std::string &full_name) function perf_counter (line 186) | perf_counter *perf_counters::new_counter(const char *app, FILE: src/perf_counter/test/main.cpp function GTEST_API_ (line 21) | GTEST_API_ int main(int argc, char **argv) FILE: src/perf_counter/test/perf_counter_test.cpp function adder_function (line 49) | static void adder_function(perf_counter_ptr pc, int id, const std::vecto... function perf_counter_inc_dec (line 55) | static void perf_counter_inc_dec(perf_counter_ptr pc) function perf_counter_add (line 75) | static void perf_counter_add(perf_counter_ptr pc, const std::vector... function TEST (line 86) | TEST(perf_counter, perf_counter_atomic) function TEST (line 128) | TEST(perf_counter, print_type) FILE: src/perf_counter/test/perf_counters_test.cpp function TEST (line 43) | TEST(perf_counters_test, counter_create_remove) function check_map_contains (line 108) | bool check_map_contains(const std::map &super, const std::map cold_backup_context_ptr; FILE: src/replica/backup/replica_backup_manager.cpp type dsn (line 26) | namespace dsn { type replication (line 27) | namespace replication { function is_policy_checkpoint (line 30) | static bool is_policy_checkpoint(const std::string &chkpt_dirname, c... function get_policy_checkpoint_dirs (line 41) | static bool get_policy_checkpoint_dirs(const std::string &dir, FILE: src/replica/backup/replica_backup_manager.h function namespace (line 23) | namespace dsn { FILE: src/replica/backup/replica_backup_server.cpp type dsn (line 23) | namespace dsn { type replication (line 24) | namespace replication { FILE: src/replica/backup/replica_backup_server.h function namespace (line 25) | namespace dsn { FILE: src/replica/backup/test/main.cpp class gtest_app (line 25) | class gtest_app : public dsn::service_app method gtest_app (line 28) | gtest_app(const dsn::service_app_info *info) : ::dsn::service_app(info... method start (line 30) | dsn::error_code start(const std::vector &args) override method stop (line 37) | dsn::error_code stop(bool) override { return dsn::ERR_OK; } function GTEST_API_ (line 40) | GTEST_API_ int main(int argc, char **argv) FILE: src/replica/backup/test/replica_backup_manager_test.cpp type dsn (line 21) | namespace dsn { type replication (line 22) | namespace replication { class replica_backup_manager_test (line 24) | class replica_backup_manager_test : public replica_test_base method clear_backup_checkpoint (line 27) | void clear_backup_checkpoint(const std::string &policy_name) function TEST_F (line 33) | TEST_F(replica_backup_manager_test, clear_cold_backup) FILE: src/replica/bulk_load/replica_bulk_loader.cpp type dsn (line 27) | namespace dsn { type replication (line 28) | namespace replication { function error_code (line 235) | error_code replica_bulk_loader::do_bulk_load(const std::string &app_... function error_code (line 298) | error_code function error_code (line 350) | error_code replica_bulk_loader::start_download(const std::string &re... function error_code (line 525) | error_code replica_bulk_loader::parse_bulk_load_metadata(const std::... FILE: src/replica/bulk_load/replica_bulk_loader.h function std (line 123) | inline std::string get_remote_bulk_load_dir(const std::string &app_name, function set_bulk_load_status (line 135) | inline void set_bulk_load_status(bulk_load_status::type status) { _statu... function task_tracker (line 154) | task_tracker *tracker() { return _replica->tracker(); } function _bulk_load_start_time_ms (line 178) | uint64_t _bulk_load_start_time_ms{0} FILE: src/replica/bulk_load/test/main.cpp class gtest_app (line 25) | class gtest_app : public dsn::service_app method gtest_app (line 28) | gtest_app(const dsn::service_app_info *info) : ::dsn::service_app(info... method start (line 30) | dsn::error_code start(const std::vector &args) override method stop (line 37) | dsn::error_code stop(bool) override { return dsn::ERR_OK; } function GTEST_API_ (line 40) | GTEST_API_ int main(int argc, char **argv) FILE: src/replica/bulk_load/test/replica_bulk_loader_test.cpp type dsn (line 27) | namespace dsn { type replication (line 28) | namespace replication { class replica_bulk_loader_test (line 30) | class replica_bulk_loader_test : public replica_test_base method replica_bulk_loader_test (line 33) | replica_bulk_loader_test() method error_code (line 44) | error_code test_on_bulk_load() method error_code (line 51) | error_code test_on_group_bulk_load(bulk_load_status::type status, ... method error_code (line 59) | error_code test_start_downloading() method test_rollback_to_downloading (line 68) | void test_rollback_to_downloading(bulk_load_status::type cur_status) method error_code (line 88) | error_code test_parse_bulk_load_metadata(const std::string &file_p... method test_update_download_progress (line 93) | void test_update_download_progress(uint64_t file_size) method test_start_ingestion (line 100) | void test_start_ingestion() { _bulk_loader->start_ingestion(); } method test_handle_bulk_load_finish (line 102) | void test_handle_bulk_load_finish(bulk_load_status::type status, method test_pause_bulk_load (line 113) | void test_pause_bulk_load(bulk_load_status::type status, int32_t p... method test_report_group_download_progress (line 120) | int32_t test_report_group_download_progress(bulk_load_status::type... method test_report_group_ingestion_status (line 131) | bool test_report_group_ingestion_status(ingestion_status::type pri... method test_report_group_cleaned_up (line 145) | bool test_report_group_cleaned_up() method test_report_group_is_paused (line 152) | bool test_report_group_is_paused(bulk_load_status::type status) method test_on_group_bulk_load_reply (line 165) | void test_on_group_bulk_load_reply(bulk_load_status::type req_status, method validate_status (line 176) | bool validate_status(const bulk_load_status::type meta_status, method create_bulk_load_request (line 184) | void method create_bulk_load_request (line 197) | void create_bulk_load_request(bulk_load_status::type status, int32... method create_group_bulk_load_request (line 205) | void create_group_bulk_load_request(bulk_load_status::type status,... method mock_replica_config (line 214) | void mock_replica_config(partition_status::type status) method mock_primary_states (line 224) | void mock_primary_states() method create_local_file (line 237) | void create_local_file(const std::string &file_name) method error_code (line 251) | error_code create_local_metadata_file() method validate_metadata (line 277) | bool validate_metadata() method mock_downloading_progress (line 300) | void mock_downloading_progress(uint64_t file_total_size, method mock_replica_bulk_load_varieties (line 310) | void mock_replica_bulk_load_varieties(bulk_load_status::type status, method mock_secondary_progress (line 323) | void mock_secondary_progress(int32_t secondary_progress1, int32_t ... method mock_group_progress (line 335) | void mock_group_progress(bulk_load_status::type p_status, method mock_group_progress (line 349) | void mock_group_progress(bulk_load_status::type p_status) method mock_secondary_ingestion_states (line 358) | void mock_secondary_ingestion_states(ingestion_status::type status1, method mock_group_ingestion_states (line 372) | void mock_group_ingestion_states(ingestion_status::type s1_status, method mock_group_cleanup_flag (line 381) | void mock_group_cleanup_flag(bulk_load_status::type primary_status, method get_bulk_load_status (line 399) | bulk_load_status::type get_bulk_load_status() const { return _bulk... method is_cleaned_up (line 400) | bool is_cleaned_up() { return _bulk_loader->is_cleaned_up(); } method get_download_progress (line 401) | int32_t get_download_progress() { return _bulk_loader->_download_p... method is_secondary_bulk_load_state_reset (line 402) | bool is_secondary_bulk_load_state_reset() function TEST_F (line 442) | TEST_F(replica_bulk_loader_test, on_bulk_load_not_primary) function TEST_F (line 448) | TEST_F(replica_bulk_loader_test, on_bulk_load_ballot_change) function TEST_F (line 456) | TEST_F(replica_bulk_loader_test, on_group_bulk_load_test) function TEST_F (line 483) | TEST_F(replica_bulk_loader_test, start_downloading_test) function TEST_F (line 510) | TEST_F(replica_bulk_loader_test, rollback_to_downloading_test) function TEST_F (line 530) | TEST_F(replica_bulk_loader_test, bulk_load_metadata_not_exist) function TEST_F (line 535) | TEST_F(replica_bulk_loader_test, bulk_load_metadata_corrupt) function TEST_F (line 546) | TEST_F(replica_bulk_loader_test, bulk_load_metadata_parse_succeed) function TEST_F (line 560) | TEST_F(replica_bulk_loader_test, finish_download_test) function TEST_F (line 571) | TEST_F(replica_bulk_loader_test, start_ingestion_test) function TEST_F (line 579) | TEST_F(replica_bulk_loader_test, bulk_load_finish_test) function TEST_F (line 662) | TEST_F(replica_bulk_loader_test, pause_bulk_load_test) function TEST_F (line 693) | TEST_F(replica_bulk_loader_test, report_group_download_progress_test) function TEST_F (line 718) | TEST_F(replica_bulk_loader_test, report_group_ingestion_status_test) function TEST_F (line 792) | TEST_F(replica_bulk_loader_test, report_group_cleanup_flag_in_unheal... function TEST_F (line 799) | TEST_F(replica_bulk_loader_test, report_group_cleanup_flag_not_clean... function TEST_F (line 805) | TEST_F(replica_bulk_loader_test, report_group_cleanup_flag_all_clean... function TEST_F (line 812) | TEST_F(replica_bulk_loader_test, report_group_is_paused_test) function TEST_F (line 826) | TEST_F(replica_bulk_loader_test, on_group_bulk_load_reply_downloadin... function TEST_F (line 833) | TEST_F(replica_bulk_loader_test, on_group_bulk_load_reply_downloaded... function TEST_F (line 840) | TEST_F(replica_bulk_loader_test, on_group_bulk_load_reply_ingestion_... function TEST_F (line 848) | TEST_F(replica_bulk_loader_test, on_group_bulk_load_reply_succeed_er... function TEST_F (line 856) | TEST_F(replica_bulk_loader_test, on_group_bulk_load_reply_failed_error) function TEST_F (line 863) | TEST_F(replica_bulk_loader_test, on_group_bulk_load_reply_pausing_er... function TEST_F (line 871) | TEST_F(replica_bulk_loader_test, on_group_bulk_load_reply_rpc_error) function TEST_F (line 879) | TEST_F(replica_bulk_loader_test, validate_status_test) FILE: src/replica/disk_cleaner.cpp type dsn (line 27) | namespace dsn { type replication (line 28) | namespace replication { function error_s (line 64) | error_s disk_remove_useless_dirs(const std::vector &dat... FILE: src/replica/disk_cleaner.h function namespace (line 25) | namespace dsn { FILE: src/replica/duplication/duplication_pipeline.cpp type dsn (line 26) | namespace dsn { type replication (line 27) | namespace replication { FILE: src/replica/duplication/duplication_pipeline.h function namespace (line 27) | namespace dsn { FILE: src/replica/duplication/duplication_sync_timer.cpp type dsn (line 29) | namespace dsn { type replication (line 30) | namespace replication { FILE: src/replica/duplication/duplication_sync_timer.h function namespace (line 27) | namespace dsn { FILE: src/replica/duplication/load_from_private_log.cpp type dsn (line 27) | namespace dsn { type replication (line 28) | namespace replication { FILE: src/replica/duplication/load_from_private_log.h function namespace (line 28) | namespace dsn { FILE: src/replica/duplication/mutation_batch.cpp type dsn (line 24) | namespace dsn { type replication (line 25) | namespace replication { function error_s (line 87) | error_s mutation_batch::add(mutation_ptr mu) function decree (line 115) | decree mutation_batch::last_decree() const { return _mutation_buffer... function mutation_tuple_set (line 121) | mutation_tuple_set mutation_batch::move_all_mutations() FILE: src/replica/duplication/mutation_batch.h function namespace (line 26) | namespace dsn { FILE: src/replica/duplication/replica_duplicator.cpp type dsn (line 27) | namespace dsn { type replication (line 28) | namespace replication { function error_s (line 183) | error_s replica_duplicator::update_progress(const duplication_progre... function decree (line 227) | decree replica_duplicator::get_max_gced_decree() const FILE: src/replica/duplication/replica_duplicator.h function decree (line 35) | decree confirmed_decree{invalid_decree}; FILE: src/replica/duplication/replica_duplicator_manager.cpp type dsn (line 23) | namespace dsn { type replication (line 24) | namespace replication { function decree (line 86) | decree replica_duplicator_manager::min_confirmed_decree() const FILE: src/replica/duplication/replica_duplicator_manager.h function namespace (line 28) | namespace dsn { FILE: src/replica/duplication/replica_follower.cpp type dsn (line 30) | namespace dsn { type replication (line 31) | namespace replication { function error_code (line 67) | error_code replica_follower::duplicate_checkpoint() function error_code (line 123) | error_code function error_code (line 192) | error_code replica_follower::nfs_copy_checkpoint(error_code err, lea... FILE: src/replica/duplication/replica_follower.h function class (line 26) | class replica_follower : replica_base FILE: src/replica/duplication/test/duplication_sync_timer_test.cpp type dsn (line 24) | namespace dsn { type replication (line 25) | namespace replication { class duplication_sync_timer_test (line 27) | class duplication_sync_timer_test : public duplication_test_base method SetUp (line 30) | void SetUp() override { dup_sync = make_unique &args) override method stop (line 37) | dsn::error_code stop(bool) override { return dsn::ERR_OK; } function GTEST_API_ (line 40) | GTEST_API_ int main(int argc, char **argv) FILE: src/replica/duplication/test/mutation_batch_test.cpp type dsn (line 21) | namespace dsn { type replication (line 22) | namespace replication { class mutation_batch_test (line 24) | class mutation_batch_test : public duplication_test_base method reset_buffer (line 27) | void method commit_buffer (line 35) | void commit_buffer(const mutation_batch &batcher, const decree cur... function TEST_F (line 41) | TEST_F(mutation_batch_test, add_mutation_if_valid) function TEST_F (line 71) | TEST_F(mutation_batch_test, ignore_non_idempotent_write) function TEST_F (line 84) | TEST_F(mutation_batch_test, mutation_buffer_commit) FILE: src/replica/duplication/test/replica_duplicator_manager_test.cpp type dsn (line 20) | namespace dsn { type replication (line 21) | namespace replication { class replica_duplicator_manager_test (line 23) | class replica_duplicator_manager_test : public duplication_test_base method SetUp (line 26) | void SetUp() override { stub = make_unique(); } method TearDown (line 28) | void TearDown() override { stub.reset(); } method test_remove_non_existed_duplications (line 30) | void test_remove_non_existed_duplications() method test_set_confirmed_decree_non_primary (line 52) | void test_set_confirmed_decree_non_primary() method test_get_duplication_confirms (line 89) | void test_get_duplication_confirms() method test_min_confirmed_decree (line 122) | void test_min_confirmed_decree() function TEST_F (line 170) | TEST_F(replica_duplicator_manager_test, get_duplication_confirms) function TEST_F (line 175) | TEST_F(replica_duplicator_manager_test, set_confirmed_decree_non_pri... function TEST_F (line 180) | TEST_F(replica_duplicator_manager_test, remove_non_existed_duplicati... function TEST_F (line 185) | TEST_F(replica_duplicator_manager_test, min_confirmed_decree) { test... function TEST_F (line 187) | TEST_F(replica_duplicator_manager_test, update_checkpoint_prepared) FILE: src/replica/duplication/test/replica_duplicator_test.cpp type dsn (line 25) | namespace dsn { type apps (line 26) | namespace apps { type replication (line 35) | namespace replication { class replica_duplicator_test (line 37) | class replica_duplicator_test : public duplication_test_base method replica_duplicator_test (line 40) | replica_duplicator_test() method mock_replica (line 46) | mock_replica *replica() { return _replica.get(); } method decree (line 48) | decree last_durable_decree() const { return _replica->last_durable... method decree (line 50) | decree log_dup_start_decree(const std::unique_ptrlast_durable... method decree (line 50) | decree log_dup_start_decree(const std::unique_ptr method run (line 29) | void run() override {} class ship_mutation_test (line 32) | class ship_mutation_test : public duplication_test_base method ship_mutation_test (line 35) | ship_mutation_test() method test_ship_mutation_tuple_set (line 44) | void test_ship_mutation_tuple_set() method ship_mutation (line 83) | ship_mutation *mock_ship_mutation() function TEST_F (line 92) | TEST_F(ship_mutation_test, ship_mutation_tuple_set) { test_ship_muta... function retry (line 94) | void retry(pipeline::base *base) function TEST_F (line 99) | TEST_F(ship_mutation_test, pause) FILE: src/replica/log_block.cpp type dsn (line 20) | namespace dsn { type replication (line 21) | namespace replication { FILE: src/replica/log_block.h function namespace (line 22) | namespace dsn { FILE: src/replica/log_file.cpp type dsn (line 37) | namespace dsn { type replication (line 38) | namespace replication { function log_file_ptr (line 41) | log_file_ptr log_file::open_read(const char *path, /*out*/ error_cod... function log_file_ptr (line 131) | log_file_ptr log_file::create_write(const char *dir, int index, int6... function error_code (line 198) | error_code log_file::read_next_log_block(/*out*/ ::dsn::blob &bb) function aio_task_ptr (line 248) | aio_task_ptr log_file::commit_log_block(log_block &block, function aio_task_ptr (line 258) | aio_task_ptr log_file::commit_log_blocks(log_appender &pending, function decree (line 347) | decree log_file::previous_log_max_decree(const dsn::gpid &pid) FILE: src/replica/log_file.h function namespace (line 33) | namespace dsn { FILE: src/replica/log_file_stream.h function reset (line 53) | void reset(size_t file_offset) function error_code (line 76) | error_code read_next(size_t size, /*out*/ blob &result) FILE: src/replica/mutation.cpp type dsn (line 42) | namespace dsn { type replication (line 43) | namespace replication { function mutation_ptr (line 68) | mutation_ptr mutation::copy_no_reply(const mutation_ptr &old_mu) function mutation_ptr (line 225) | mutation_ptr mutation::read_from(binary_reader &reader, dsn::message... function mutation_ptr (line 350) | mutation_ptr mutation_queue::add_work(task_code code, dsn::message_e... function mutation_ptr (line 406) | mutation_ptr mutation_queue::check_possible_work(int current_running... FILE: src/replica/mutation.h function namespace (line 44) | namespace dsn { FILE: src/replica/mutation_cache.cpp type dsn (line 30) | namespace dsn { type replication (line 31) | namespace replication { function error_code (line 59) | error_code mutation_cache::put(mutation_ptr &mu) function mutation_ptr (line 105) | mutation_ptr mutation_cache::pop_min() function mutation_ptr (line 141) | mutation_ptr mutation_cache::get_mutation_by_decree(decree decree) FILE: src/replica/mutation_cache.h function namespace (line 34) | namespace dsn { FILE: src/replica/mutation_log.cpp type dsn (line 39) | namespace dsn { type replication (line 40) | namespace replication { function error_code (line 504) | error_code mutation_log::open(replay_callback read_callback, function error_code (line 511) | error_code mutation_log::open(replay_callback read_callback, function error_code (line 728) | error_code mutation_log::create_new_log_file() function decree (line 860) | decree mutation_log::max_decree(gpid gpid) const function decree (line 875) | decree mutation_log::max_commit_on_disk() const function decree (line 882) | decree mutation_log::max_gced_decree(gpid gpid) const function decree (line 888) | decree mutation_log::max_gced_decree_no_lock(gpid gpid) const function error_code (line 936) | error_code mutation_log::reset_from(const std::string &dir, function should_reserve_file (line 1253) | static bool should_reserve_file(log_file_ptr log, FILE: src/replica/mutation_log.h function class (line 50) | class mutation_log : public ref_counter FILE: src/replica/mutation_log_replay.cpp type dsn (line 24) | namespace dsn { type replication (line 25) | namespace replication { function error_code (line 27) | error_code mutation_log::replay(log_file_ptr log, function error_s (line 58) | error_s mutation_log::replay_block(log_file_ptr &log, function error_code (line 115) | error_code mutation_log::replay(std::vector &log_files, function error_code (line 141) | error_code mutation_log::replay(std::map &logs, FILE: src/replica/mutation_log_utils.cpp type dsn (line 32) | namespace dsn { type replication (line 33) | namespace replication { type log_utils (line 34) | namespace log_utils { function error_s (line 36) | error_s open_read(string_view path, /*out*/ log_file_ptr &file) function error_s (line 50) | error_s list_all_files(const std::string &dir, /*out*/ std::vector... function error_s (line 64) | error_s check_log_files_continuity(const std::maplast_dura... function decree (line 420) | decree replica::last_flushed_decree() const { return _app->last_flus... function decree (line 422) | decree replica::last_prepared_decree() const function error_code (line 573) | error_code replica::store_app_info(app_info &info, const std::string... FILE: src/replica/replica.h function namespace (line 60) | namespace security { type dsn (line 75) | typedef dsn::ref_ptr cold_backup_context_ptr; type cold_backup_metadata (line 76) | struct cold_backup_metadata function namespace (line 78) | namespace test { type deny_client (line 103) | struct deny_client function write (line 106) | bool write{false}; function set_disk_status (line 260) | void set_disk_status(disk_status::type status) { _disk_status = status; } function disk_space_insufficient (line 261) | bool disk_space_insufficient() { return _disk_status == disk_status::SPA... function _bulk_load_ingestion_start_time_ms (line 606) | uint64_t _bulk_load_ingestion_start_time_ms{0} function _validate_partition_hash (line 610) | bool _validate_partition_hash{false}; FILE: src/replica/replica_2pc.cpp type dsn (line 38) | namespace dsn { type replication (line 39) | namespace replication { FILE: src/replica/replica_backup.cpp type dsn (line 33) | namespace dsn { type replication (line 34) | namespace replication { function backup_get_dir_name (line 228) | static std::string backup_get_dir_name(const std::string &policy_name, function backup_get_tmp_dir_name (line 244) | static std::string function is_related_or_valid_checkpoint (line 257) | static int is_related_or_valid_checkpoint(const std::string &chkpt_d... function filter_checkpoint (line 306) | static bool filter_checkpoint(const std::string &dir, function statistic_file_infos_under_dir (line 337) | static bool function backup_parse_dir_name (line 366) | static bool backup_parse_dir_name(const char *name, FILE: src/replica/replica_check.cpp type dsn (line 48) | namespace dsn { type replication (line 49) | namespace replication { FILE: src/replica/replica_chkpt.cpp type dsn (line 48) | namespace dsn { type replication (line 49) | namespace replication { function checkpoint_folder (line 53) | static std::string checkpoint_folder(int64_t decree) function error_code (line 135) | error_code replica::trigger_manual_emergency_checkpoint(decree old_d... function error_code (line 231) | error_code replica::background_async_checkpoint(bool is_emergency) function error_code (line 299) | error_code replica::background_sync_checkpoint() FILE: src/replica/replica_config.cpp type dsn (line 50) | namespace dsn { type replication (line 51) | namespace replication { function get_bool_envs (line 53) | bool get_bool_envs(const std::map &envs, function error_code (line 1200) | error_code replica::update_init_info_ballot_and_decree() FILE: src/replica/replica_context.cpp type dsn (line 46) | namespace dsn { type replication (line 47) | namespace replication { FILE: src/replica/replica_context.h type remote_learner_state (line 43) | struct remote_learner_state type std (line 51) | typedef std::unordered_map<::dsn::rpc_address, remote_learner_state> lea... function ingestion_is_empty_prepare_sent (line 175) | bool ingestion_is_empty_prepare_sent{false}; function class (line 181) | class secondary_context function decree (line 233) | decree first_learn_start_decree{invalid_decree}; function class (line 243) | class partition_split_context FILE: src/replica/replica_disk_migrator.cpp type dsn (line 29) | namespace dsn { type replication (line 30) | namespace replication { FILE: src/replica/replica_disk_migrator.h function namespace (line 22) | namespace dsn { FILE: src/replica/replica_failover.cpp type dsn (line 41) | namespace dsn { type replication (line 42) | namespace replication { FILE: src/replica/replica_http_service.cpp type dsn (line 24) | namespace dsn { type replication (line 25) | namespace replication { FILE: src/replica/replica_http_service.h function namespace (line 22) | namespace dsn { FILE: src/replica/replica_init.cpp type dsn (line 39) | namespace dsn { type replication (line 40) | namespace replication { function error_code (line 42) | error_code replica::initialize_on_new() function replica (line 69) | replica *replica::newr(replica_stub *stub, function replica (line 109) | replica *replica::clear_on_failure(replica_stub *stub, function error_code (line 124) | error_code replica::initialize_on_load() function replica (line 136) | replica *replica::load(replica_stub *stub, const char *dir) function decree (line 211) | decree replica::get_replay_start_decree() function error_code (line 218) | error_code replica::init_app_and_prepare_list(bool create_new) FILE: src/replica/replica_learn.cpp type dsn (line 46) | namespace dsn { type replication (line 47) | namespace replication { function decree (line 236) | decree replica::get_max_gced_decree_for_learn() const // on learner function decree (line 260) | decree replica::max_gced_decree_no_lock() const function decree (line 266) | decree replica::get_learn_start_decree(const learn_request &request)... function error_code (line 1299) | error_code replica::handle_learning_succeeded_on_primary(::dsn::rpc_... function error_code (line 1509) | error_code replica::apply_learned_state_from_private_log(learn_state... FILE: src/replica/replica_restore.cpp type dsn (line 37) | namespace dsn { type replication (line 38) | namespace replication { function error_code (line 114) | error_code replica::download_checkpoint(const configuration_restore_... function error_code (line 178) | error_code replica::get_backup_metadata(block_filesystem *fs, FILE: src/replica/replica_stub.cpp type dsn (line 64) | namespace dsn { type replication (line 65) | namespace replication { function replica_ptr (line 873) | replica_ptr replica_stub::get_replica(gpid id) const type gc_info (line 1710) | struct gc_info function task_ptr (line 1926) | task_ptr replica_stub::begin_open_replica( function task_ptr (line 2129) | task_ptr replica_stub::begin_close_replica(replica_ptr r) function get_tcmalloc_numeric_property (line 2709) | static int64_t get_tcmalloc_numeric_property(const char *prop) function replica_ptr (line 2790) | replica_ptr replica_stub::create_child_replica_if_not_found(gpid chi... FILE: src/replica/replica_stub.h type rpc_holder (line 52) | typedef rpc_holder learn_co... type rpc_holder (line 53) | typedef rpc_holder group_chec... type rpc_holder (line 54) | typedef rpc_holder query_last_checkpoint_... type rpc_holder (line 58) | typedef rpc_holder qu... type rpc_holder (line 59) | typedef rpc_holder quer... type rpc_holder (line 62) | typedef rpc_holder no... type rpc_holder (line 63) | typedef rpc_holder gr... type rpc_holder (line 67) | typedef rpc_holder detect... type rpc_holder (line 68) | typedef rpc_holder add_new_... function namespace (line 71) | namespace test { type std (line 77) | typedef std::unordered_map replicas; type std (line 78) | typedef std::function replica_stub_ptr; function set_options (line 106) | void set_options(const replication_options &opts) { _options = opts; } function set_meta_server_disconnected_for_test (line 152) | void set_meta_server_disconnected_for_test() { on_meta_server_disconnect... type std (line 203) | typedef std::function local_exec... type replica_node_state (line 236) | enum replica_node_state type replica_life_cycle (line 243) | enum replica_life_cycle function get_app_id_from_replicas (line 293) | int get_app_id_from_replicas(std::string app_name) FILE: src/replica/replica_test_utils.cpp type dsn (line 32) | namespace dsn { type replication (line 33) | namespace replication { class mock_replica (line 35) | class mock_replica : public replica method mock_replica (line 38) | mock_replica(replica_stub *stub, function replica (line 49) | replica *create_test_replica(replica_stub *stub, function replica_stub (line 59) | replica_stub *create_test_replica_stub() { return new replica_stub(); } function destroy_replica (line 61) | void destroy_replica(replica *r) { delete r; } function destroy_replica_stub (line 63) | void destroy_replica_stub(replica_stub *rs) { delete rs; } FILE: src/replica/replica_throttle.cpp type dsn (line 27) | namespace dsn { type replication (line 28) | namespace replication { FILE: src/replica/replication_app_base.cpp type dsn (line 45) | namespace dsn { type replication (line 46) | namespace replication { function error_code (line 53) | error_code write_blob_to_file(const std::string &file, const blob &d... function error_code (line 91) | error_code replica_init_info::load(const std::string &dir) function error_code (line 101) | error_code replica_init_info::store(const std::string &dir) function error_code (line 116) | error_code replica_init_info::load_json(const std::string &file) function error_code (line 142) | error_code replica_init_info::store_json(const std::string &file) function error_code (line 157) | error_code replica_app_info::load(const std::string &file) function error_code (line 184) | error_code replica_app_info::store(const std::string &file) function replication_app_base (line 214) | replication_app_base *replication_app_base::new_storage_instance(con... function ballot (line 248) | const ballot &replication_app_base::get_ballot() const { return _rep... function error_code (line 250) | error_code replication_app_base::open_internal(replica *r) function error_code (line 276) | error_code replication_app_base::open_new_internal(replica *r, function error_code (line 297) | error_code replication_app_base::open() function error_code (line 328) | error_code replication_app_base::close(bool clear_state) function error_code (line 337) | error_code replication_app_base::apply_checkpoint(chkpt_apply_mode m... function error_code (line 365) | error_code replication_app_base::apply_mutation(const mutation *mu) function error_code (line 459) | error_code replication_app_base::update_init_info(replica *r, function error_code (line 477) | error_code replication_app_base::update_init_info_ballot_and_decree(... function app_info (line 485) | const app_info *replication_app_base::get_app_info() const { return ... FILE: src/replica/replication_service_app.cpp type dsn (line 35) | namespace dsn { type replication (line 36) | namespace replication { function error_code (line 54) | error_code replication_service_app::start(const std::vectortracker(); } function check_partition_hash (line 184) | bool check_partition_hash(const uint64_t &partition_hash, const std::str... function gpid (line 212) | gpid _child_gpid{0, 0}; FILE: src/replica/split/test/main.cpp class gtest_app (line 25) | class gtest_app : public dsn::service_app method gtest_app (line 28) | gtest_app(const dsn::service_app_info *info) : ::dsn::service_app(info... method start (line 30) | dsn::error_code start(const std::vector &args) override method stop (line 37) | dsn::error_code stop(bool) override { return dsn::ERR_OK; } function GTEST_API_ (line 40) | GTEST_API_ int main(int argc, char **argv) FILE: src/replica/split/test/replica_split_test.cpp type dsn (line 24) | namespace dsn { type replication (line 25) | namespace replication { class replica_split_test (line 27) | class replica_split_test : public replica_test_base method replica_split_test (line 30) | replica_split_test() method mock_app_info (line 44) | void mock_app_info() method generate_child (line 54) | void generate_child() method generate_child (line 61) | void generate_child(bool is_prepare_list_copied, bool is_caught_up) method mock_child_split_context (line 69) | void mock_child_split_context(bool is_prepare_list_copied, bool is... method mock_parent_split_context (line 77) | void mock_parent_split_context(partition_status::type status) method mock_primary_parent_split_context (line 85) | void mock_primary_parent_split_context(bool sync_send_write_request, method mock_shared_log (line 102) | void mock_shared_log() method mock_private_log (line 108) | void mock_private_log(gpid pid, mock_replica_ptr rep, bool mock_lo... method mock_prepare_list (line 119) | void mock_prepare_list(mock_replica_ptr rep, bool add_to_plog) method mock_parent_states (line 135) | void mock_parent_states() method mock_mutation_list (line 142) | void mock_mutation_list(decree min_decree) method mock_child_async_learn_states (line 153) | void method mock_parent_primary_configuration (line 168) | void mock_parent_primary_configuration(bool lack_of_secondary = fa... method mock_update_child_partition_count_request (line 182) | void mock_update_child_partition_count_request(update_child_group_... method test_parent_start_split (line 192) | void test_parent_start_split(ballot b, gpid req_child_gpid, split_... method test_child_init_replica (line 205) | void test_child_init_replica() method test_parent_check_states (line 220) | bool test_parent_check_states() method test_child_copy_prepare_list (line 227) | void test_child_copy_prepare_list() method test_child_learn_states (line 240) | void test_child_learn_states() method test_child_apply_private_logs (line 248) | void test_child_apply_private_logs() method test_child_catch_up_states (line 256) | void test_child_catch_up_states(decree local_decree, decree goal_d... method error_code (line 270) | error_code test_parent_handle_child_catch_up(ballot child_ballot) method test_update_child_group_partition_count (line 286) | void test_update_child_group_partition_count() method error_code (line 293) | error_code test_on_update_child_group_partition_count(ballot b) method error_code (line 304) | error_code test_on_update_child_group_partition_count_reply(error_... method test_register_child_on_meta (line 320) | void test_register_child_on_meta() method test_on_register_child_reply (line 327) | void test_on_register_child_reply(partition_status::type status, d... method test_trigger_primary_parent_split (line 359) | void test_trigger_primary_parent_split(split_status::type meta_spl... method group_check_response (line 369) | group_check_response test_trigger_secondary_parent_split(split_sta... method test_primary_parent_handle_stop_split (line 395) | void test_primary_parent_handle_stop_split(split_status::type meta... method test_on_query_child_state_reply (line 428) | void test_on_query_child_state_reply() method test_check_partition_hash (line 452) | bool test_check_partition_hash(const int32_t &partition_version, c... method cleanup_prepare_list (line 459) | void cleanup_prepare_list(mock_replica_ptr rep) { rep->_prepare_li... method cleanup_child_split_context (line 460) | void cleanup_child_split_context() method child_get_prepare_list_count (line 466) | int32_t child_get_prepare_list_count() { return _child_replica->ge... method child_is_prepare_list_copied (line 467) | bool child_is_prepare_list_copied() method child_is_caught_up (line 471) | bool child_is_caught_up() { return _child_replica->_split_states.i... method parent_get_split_status (line 473) | split_status::type parent_get_split_status() { return _parent_spli... method parent_set_split_status (line 474) | void parent_set_split_status(split_status::type status) method primary_context (line 479) | primary_context get_replica_primary_context(mock_replica_ptr rep) method parent_sync_send_write_request (line 483) | bool parent_sync_send_write_request() method parent_stopped_split_size (line 487) | int32_t parent_stopped_split_size() method is_parent_not_in_split (line 491) | bool is_parent_not_in_split() method primary_parent_not_in_split (line 497) | bool primary_parent_not_in_split() function TEST_F (line 533) | TEST_F(replica_split_test, parent_start_split_tests) function TEST_F (line 569) | TEST_F(replica_split_test, child_init_replica_test) function TEST_F (line 579) | TEST_F(replica_split_test, parent_check_states_tests) function TEST_F (line 599) | TEST_F(replica_split_test, copy_prepare_list_succeed) function TEST_F (line 616) | TEST_F(replica_split_test, child_learn_states_tests) function TEST_F (line 648) | TEST_F(replica_split_test, child_apply_private_logs_succeed) function TEST_F (line 662) | TEST_F(replica_split_test, child_catch_up_states_tests) function TEST_F (line 687) | TEST_F(replica_split_test, parent_handle_catch_up_test) function TEST_F (line 713) | TEST_F(replica_split_test, update_child_group_partition_count_test) function TEST_F (line 749) | TEST_F(replica_split_test, child_update_partition_count_test) function TEST_F (line 776) | TEST_F(replica_split_test, parent_on_update_partition_reply_test) function TEST_F (line 810) | TEST_F(replica_split_test, register_child_test) function TEST_F (line 819) | TEST_F(replica_split_test, register_child_reply_test) function TEST_F (line 852) | TEST_F(replica_split_test, trigger_primary_parent_split_test) function TEST_F (line 897) | TEST_F(replica_split_test, secondary_handle_split_test) function TEST_F (line 944) | TEST_F(replica_split_test, primary_parent_handle_stop_test) function TEST_F (line 976) | TEST_F(replica_split_test, query_child_state_reply_test) function TEST_F (line 988) | TEST_F(replica_split_test, check_partition_hash_test) FILE: src/replica/storage/simple_kv/simple_kv.app.example.h function namespace (line 40) | namespace dsn { FILE: src/replica/storage/simple_kv/simple_kv.client.h function namespace (line 35) | namespace dsn { FILE: src/replica/storage/simple_kv/simple_kv.code.definition.h function namespace (line 39) | namespace dsn { FILE: src/replica/storage/simple_kv/simple_kv.main.cpp function dsn_app_registration_simple_kv (line 45) | static void dsn_app_registration_simple_kv() function main (line 58) | int main(int argc, char **argv) FILE: src/replica/storage/simple_kv/simple_kv.server.h function namespace (line 45) | namespace dsn { FILE: src/replica/storage/simple_kv/simple_kv.server.impl.cpp type dsn (line 41) | namespace dsn { type replication (line 42) | namespace replication { type application (line 43) | namespace application { FILE: src/replica/storage/simple_kv/simple_kv.server.impl.h function namespace (line 41) | namespace dsn { FILE: src/replica/storage/simple_kv/test/case.cpp type dsn (line 54) | namespace dsn { type replication (line 55) | namespace replication { type test (line 56) | namespace test { function parse_kv_map (line 58) | static bool type event_type_helper (line 306) | struct event_type_helper method event_type_helper (line 311) | event_type_helper() method add (line 324) | void add(event_type type, const std::string &name, bool is_suppo... method get (line 337) | bool get(const std::string &name, event_type &type) method is_support_inject_fault (line 345) | bool is_support_inject_fault(event_type type) function event_type_from_string (line 354) | bool event_type_from_string(const std::string &name, event_type &t... function event_type_support_inject_fault (line 359) | bool event_type_support_inject_fault(event_type type) function event (line 375) | event *event::parse(int line_no, const std::string ¶ms) FILE: src/replica/storage/simple_kv/test/case.h function namespace (line 45) | namespace dsn { function class (line 319) | class event_on_aio_enqueue : public event_on_aio function class (line 334) | class event_case_line : public case_line FILE: src/replica/storage/simple_kv/test/checker.cpp type dsn (line 55) | namespace dsn { type replication (line 56) | namespace replication { type test (line 57) | namespace test { class checker_partition_guardian (line 59) | class checker_partition_guardian : public partition_guardian method checker_partition_guardian (line 65) | checker_partition_guardian(meta_service *svc) : partition_guardi... method pc_status (line 66) | pc_status method sort_alive_nodes (line 130) | static void sort_alive_nodes(const node_mapper &nodes, function meta_service_app (line 327) | meta_service_app *test_checker::meta_leader() function rpc_address (line 376) | rpc_address test_checker::node_name_to_address(const std::string &... function install_checkers (line 384) | void install_checkers() FILE: src/replica/storage/simple_kv/test/checker.h function namespace (line 47) | namespace dsn { FILE: src/replica/storage/simple_kv/test/client.cpp type dsn (line 43) | namespace dsn { type replication (line 44) | namespace replication { type test (line 45) | namespace test { type write_context (line 111) | struct write_context type read_context (line 162) | struct read_context FILE: src/replica/storage/simple_kv/test/client.h function namespace (line 42) | namespace dsn { FILE: src/replica/storage/simple_kv/test/common.cpp type dsn (line 44) | namespace dsn { type replication (line 45) | namespace replication { type test (line 46) | namespace test { function partition_status_from_short_string (line 74) | partition_status::type partition_status_from_short_string(const st... function address_to_node (line 92) | std::string address_to_node(rpc_address addr) function rpc_address (line 100) | rpc_address node_to_address(const std::string &name) function gpid_to_string (line 108) | std::string gpid_to_string(gpid gpid) function gpid_from_string (line 115) | bool gpid_from_string(const std::string &str, gpid &gpid) FILE: src/replica/storage/simple_kv/test/common.h function namespace (line 41) | namespace dsn { type state_snapshot (line 125) | struct state_snapshot FILE: src/replica/storage/simple_kv/test/injector.cpp type dsn (line 46) | namespace dsn { type replication (line 47) | namespace replication { type test (line 48) | namespace test { function inject_on_task_enqueue (line 50) | static void inject_on_task_enqueue(task *caller, task *callee) function inject_on_task_begin (line 61) | static void inject_on_task_begin(task *this_) function inject_on_task_end (line 72) | static void inject_on_task_end(task *this_) function inject_on_task_cancelled (line 83) | static void inject_on_task_cancelled(task *this_) function inject_on_task_wait_pre (line 94) | static void inject_on_task_wait_pre(task *caller, task *callee, ui... function inject_on_task_wait_post (line 100) | static void inject_on_task_wait_post(task *caller, task *callee, b... function inject_on_task_cancel_post (line 106) | static void inject_on_task_cancel_post(task *caller, task *callee,... function inject_on_aio_call (line 112) | static bool inject_on_aio_call(task *caller, aio_task *callee) function inject_on_aio_enqueue (line 123) | static void inject_on_aio_enqueue(aio_task *this_) function inject_on_rpc_call (line 134) | static bool inject_on_rpc_call(task *caller, message_ex *req, rpc_... function inject_on_rpc_request_enqueue (line 145) | static bool inject_on_rpc_request_enqueue(rpc_request_task *callee) function inject_on_rpc_reply (line 156) | static bool inject_on_rpc_reply(task *caller, message_ex *msg) function inject_on_rpc_response_enqueue (line 167) | static bool inject_on_rpc_response_enqueue(rpc_response_task *resp) FILE: src/replica/storage/simple_kv/test/injector.h function namespace (line 40) | namespace dsn { FILE: src/replica/storage/simple_kv/test/simple_kv.main.cpp function dsn_app_registration_simple_kv (line 43) | void dsn_app_registration_simple_kv() function main (line 56) | int main(int argc, char **argv) FILE: src/replica/storage/simple_kv/test/simple_kv.server.impl.cpp type dsn (line 33) | namespace dsn { type replication (line 34) | namespace replication { type test (line 35) | namespace test { FILE: src/replica/storage/simple_kv/test/simple_kv.server.impl.h function namespace (line 31) | namespace dsn { FILE: src/replica/test/backup_block_service_mock.h function class (line 38) | class backup_block_service_mock : public block_service_mock FILE: src/replica/test/log_block_test.cpp type dsn (line 22) | namespace dsn { type replication (line 23) | namespace replication { class log_block_test (line 25) | class log_block_test : public replica_test_base function TEST_F (line 29) | TEST_F(log_block_test, constructor) function TEST_F (line 37) | TEST_F(log_block_test, log_block_header) class log_appender_test (line 46) | class log_appender_test : public replica_test_base function TEST_F (line 50) | TEST_F(log_appender_test, constructor) function TEST_F (line 65) | TEST_F(log_appender_test, append_mutation) function TEST_F (line 78) | TEST_F(log_appender_test, log_block_not_full) function TEST_F (line 96) | TEST_F(log_appender_test, log_block_full) function TEST_F (line 120) | TEST_F(log_appender_test, read_log_block) FILE: src/replica/test/log_file_test.cpp type dsn (line 22) | namespace dsn { type replication (line 23) | namespace replication { class log_file_test (line 25) | class log_file_test : public replica_test_base method SetUp (line 28) | void SetUp() override method TearDown (line 35) | void TearDown() override function TEST_F (line 46) | TEST_F(log_file_test, commit_log_blocks) FILE: src/replica/test/main.cpp function TEST (line 32) | TEST(cold_backup_context, check_backup_on_remote) { app->check_backup_on... function TEST (line 34) | TEST(cold_backup_context, read_current_chkpt_file) { app->read_current_c... function TEST (line 36) | TEST(cold_backup_context, remote_chkpt_dir_exist) { app->remote_chkpt_di... function TEST (line 38) | TEST(cold_backup_context, upload_checkpoint_to_remote) { app->upload_che... function TEST (line 40) | TEST(cold_backup_context, read_backup_metadata) { app->read_backup_metad... function TEST (line 42) | TEST(cold_backup_context, on_upload_chkpt_dir) { app->on_upload_chkpt_di... function TEST (line 44) | TEST(cold_backup_context, write_metadata_file) { app->write_backup_metad... function TEST (line 46) | TEST(cold_backup_context, write_current_chkpt_file) { app->write_current... function error_code (line 48) | error_code replication_service_test_app::start(const std::vector create_duplicating_replica() method test_get_learn_start_decree (line 45) | void test_get_learn_start_decree() method test_get_max_gced_decree_for_learn (line 144) | void test_get_max_gced_decree_for_learn() function TEST_F (line 167) | TEST_F(replica_learn_test, get_learn_start_decree) { test_get_learn_... function TEST_F (line 169) | TEST_F(replica_learn_test, get_max_gced_decree_for_learn) { test_get... FILE: src/replica/test/replica_test.cpp type dsn (line 29) | namespace dsn { type replication (line 30) | namespace replication { class replica_test (line 32) | class replica_test : public replica_test_base method replica_test (line 35) | replica_test() method SetUp (line 43) | void SetUp() override method get_write_size_exceed_threshold_count (line 56) | int get_write_size_exceed_threshold_count() method get_table_level_backup_request_qps (line 61) | int get_table_level_backup_request_qps() method get_validate_partition_hash (line 66) | bool get_validate_partition_hash() const { return _mock_replica->_... method reset_validate_partition_hash (line 68) | void reset_validate_partition_hash() { _mock_replica->_validate_pa... method update_validate_partition_hash (line 70) | void update_validate_partition_hash(bool old_value, bool set_in_ma... method get_allow_ingest_behind (line 82) | bool get_allow_ingest_behind() const { return _mock_replica->_allo... method reset_allow_ingest_behind (line 84) | void reset_allow_ingest_behind() { _mock_replica->_allow_ingest_be... method update_allow_ingest_behind (line 86) | void update_allow_ingest_behind(bool old_value, bool set_in_map, s... method deny_client (line 97) | const deny_client &update_deny_client(const std::string &env_name,... method mock_app_info (line 105) | void mock_app_info() method test_on_cold_backup (line 115) | void test_on_cold_backup(const std::string user_specified_path = "") method error_code (line 147) | error_code test_find_valid_checkpoint(const std::string user_speci... method force_update_checkpointing (line 163) | void force_update_checkpointing(bool running) method is_checkpointing (line 168) | bool is_checkpointing() { return _mock_replica->_is_manual_emergen... method replica (line 170) | replica *call_clear_on_failure(replica_stub *stub, method has_gpid (line 178) | bool has_gpid(gpid &gpid) const method test_update_app_max_replica_count (line 188) | void test_update_app_max_replica_count() function TEST_F (line 237) | TEST_F(replica_test, write_size_limited) function TEST_F (line 258) | TEST_F(replica_test, backup_request_qps) function TEST_F (line 277) | TEST_F(replica_test, query_data_version_test) function TEST_F (line 304) | TEST_F(replica_test, query_compaction_test) function TEST_F (line 332) | TEST_F(replica_test, update_validate_partition_hash_test) function TEST_F (line 355) | TEST_F(replica_test, update_allow_ingest_behind_test) function TEST_F (line 378) | TEST_F(replica_test, test_replica_backup_and_restore) function TEST_F (line 385) | TEST_F(replica_test, test_replica_backup_and_restore_with_specific_p... function TEST_F (line 393) | TEST_F(replica_test, test_trigger_manual_emergency_checkpoint) function TEST_F (line 420) | TEST_F(replica_test, test_query_last_checkpoint_info) function TEST_F (line 443) | TEST_F(replica_test, test_clear_on_failer) function TEST_F (line 458) | TEST_F(replica_test, update_deny_client_test) function TEST_F (line 477) | TEST_F(replica_test, test_update_app_max_replica_count) { test_updat... FILE: src/replica/test/replica_test_base.h function namespace (line 39) | namespace dsn { FILE: src/replica/test/replication_service_test_app.h function class (line 33) | class replication_service_test_app : public replication_service_app FILE: src/replica/test/throttling_controller_test.cpp type dsn (line 22) | namespace dsn { type replication (line 23) | namespace replication { class throttling_controller_test (line 25) | class throttling_controller_test : public ::testing::Test method test_parse_env_basic (line 28) | void test_parse_env_basic() method test_parse_env_multiplier (line 78) | void test_parse_env_multiplier() function TEST_F (line 126) | TEST_F(throttling_controller_test, parse_env_basic) { test_parse_env... function TEST_F (line 128) | TEST_F(throttling_controller_test, parse_env_multiplier) { test_pars... FILE: src/runtime/core_main.cpp function dsn_core_init (line 35) | void dsn_core_init() FILE: src/runtime/dsn.layer2_types.cpp type dsn (line 40) | namespace dsn { function swap (line 271) | void swap(partition_configuration &a, partition_configuration &b) function partition_configuration (line 309) | partition_configuration &partition_configuration::operator=(const part... function partition_configuration (line 322) | partition_configuration &partition_configuration::operator=(partition_... function swap (line 456) | void swap(configuration_query_by_index_request &a, configuration_query... function configuration_query_by_index_request (line 478) | configuration_query_by_index_request &configuration_query_by_index_req... function configuration_query_by_index_request (line 486) | configuration_query_by_index_request &configuration_query_by_index_req... function swap (line 651) | void swap(configuration_query_by_index_response &a, configuration_quer... function configuration_query_by_index_response (line 682) | configuration_query_by_index_response &configuration_query_by_index_re... function configuration_query_by_index_response (line 693) | configuration_query_by_index_response &configuration_query_by_index_re... function swap (line 996) | void swap(app_info &a, app_info &b) function app_info (line 1052) | app_info &app_info::operator=(const app_info &other47) function app_info (line 1071) | app_info &app_info::operator=(app_info &&other48) FILE: src/runtime/env.sim.cpp type dsn (line 41) | namespace dsn { type tools (line 42) | namespace tools { FILE: src/runtime/env.sim.h function namespace (line 40) | namespace dsn { FILE: src/runtime/fault_injector.cpp type dsn (line 41) | namespace dsn { type tools (line 42) | namespace tools { type fj_opt (line 44) | struct fj_opt function fault_on_task_enqueue (line 139) | static void fault_on_task_enqueue(task *caller, task *callee) {} function fault_on_task_begin (line 141) | static void fault_on_task_begin(task *this_) function fault_on_task_end (line 152) | static void fault_on_task_end(task *this_) {} function fault_on_task_cancelled (line 154) | static void fault_on_task_cancelled(task *this_) {} function fault_on_task_wait_pre (line 156) | static void fault_on_task_wait_pre(task *caller, task *callee, uint3... function fault_on_task_wait_post (line 158) | static void fault_on_task_wait_post(task *caller, task *callee, bool... function fault_on_task_cancel_post (line 160) | static void fault_on_task_cancel_post(task *caller, task *callee, bo... function fault_on_aio_call (line 163) | static bool fault_on_aio_call(task *caller, aio_task *callee) function fault_on_aio_enqueue (line 187) | static void fault_on_aio_enqueue(aio_task *this_) function replace_value (line 200) | static void replace_value(std::vector &buffer_list, unsigned i... function corrupt_data (line 211) | static void corrupt_data(message_ex *request, const std::string &cor... function fault_on_rpc_call (line 227) | static bool fault_on_rpc_call(task *caller, message_ex *req, rpc_res... function fault_on_rpc_request_enqueue (line 248) | static void fault_on_rpc_request_enqueue(rpc_request_task *callee) function fault_on_rpc_reply (line 265) | static bool fault_on_rpc_reply(task *caller, message_ex *msg) function fault_on_rpc_response_enqueue (line 286) | static void fault_on_rpc_response_enqueue(rpc_response_task *resp) FILE: src/runtime/global_config.cpp type dsn (line 48) | namespace dsn { function build_client_network_confs (line 50) | static bool build_client_network_confs(const char *section, function build_server_network_confs (line 120) | static bool build_server_network_confs(const char *section, FILE: src/runtime/message_utils.cpp type dsn (line 29) | namespace dsn { FILE: src/runtime/nativerun.cpp type dsn (line 38) | namespace dsn { type tools (line 39) | namespace tools { FILE: src/runtime/profiler.cpp type dsn (line 58) | namespace dsn { type tools (line 59) | namespace tools { function profiler_on_task_create (line 117) | static void profiler_on_task_create(task *caller, task *callee) function profiler_on_task_enqueue (line 122) | static void profiler_on_task_enqueue(task *caller, task *callee) function profiler_on_task_begin (line 146) | static void profiler_on_task_begin(task *this_) function profiler_on_task_end (line 163) | static void profiler_on_task_end(task *this_) function profiler_on_task_cancelled (line 179) | static void profiler_on_task_cancelled(task *this_) function profiler_on_task_wait_pre (line 189) | static void profiler_on_task_wait_pre(task *caller, task *callee, ui... function profiler_on_task_wait_post (line 191) | static void profiler_on_task_wait_post(task *caller, task *callee, b... function profiler_on_task_cancel_post (line 193) | static void profiler_on_task_cancel_post(task *caller, task *callee,... function profiler_on_aio_call (line 196) | static void profiler_on_aio_call(task *caller, aio_task *callee) function profiler_on_aio_enqueue (line 217) | static void profiler_on_aio_enqueue(aio_task *this_) function profiler_on_rpc_call (line 236) | static void profiler_on_rpc_call(task *caller, message_ex *req, rpc_... function profiler_on_rpc_request_enqueue (line 258) | static void profiler_on_rpc_request_enqueue(rpc_request_task *callee) function profile_on_rpc_task_dropped (line 277) | static void profile_on_rpc_task_dropped(rpc_request_task *callee) function profiler_on_rpc_create_response (line 286) | static void profiler_on_rpc_create_response(message_ex *req, message... function profiler_on_rpc_reply (line 292) | static void profiler_on_rpc_reply(task *caller, message_ex *msg) function profiler_on_rpc_response_enqueue (line 321) | static void profiler_on_rpc_response_enqueue(rpc_response_task *resp) FILE: src/runtime/profiler_header.h function namespace (line 31) | namespace dsn { FILE: src/runtime/providers.common.cpp type dsn (line 47) | namespace dsn { type tools (line 48) | namespace tools { function register_std_lock_providers (line 50) | void register_std_lock_providers() function register_common_providers (line 60) | void register_common_providers() FILE: src/runtime/rpc/asio_net_provider.cpp type dsn (line 34) | namespace dsn { type tools (line 35) | namespace tools { function error_code (line 69) | error_code asio_network_provider::start(rpc_channel channel, int por... function rpc_session_ptr (line 137) | rpc_session_ptr asio_network_provider::create_client_session(::dsn::... function message_parser (line 249) | message_parser *asio_udp_provider::get_message_parser(network_header... function error_code (line 323) | error_code asio_udp_provider::start(rpc_channel channel, int port, b... FILE: src/runtime/rpc/asio_net_provider.h function namespace (line 32) | namespace dsn { FILE: src/runtime/rpc/asio_rpc_session.cpp type dsn (line 29) | namespace dsn { type tools (line 30) | namespace tools { FILE: src/runtime/rpc/asio_rpc_session.h function namespace (line 35) | namespace dsn { FILE: src/runtime/rpc/dsn_message_parser.cpp type dsn (line 40) | namespace dsn { function message_ex (line 43) | message_ex *dsn_message_parser::get_message_on_receive(message_reader ... FILE: src/runtime/rpc/dsn_message_parser.h function namespace (line 42) | namespace dsn { FILE: src/runtime/rpc/message_parser.cpp type dsn (line 39) | namespace dsn { type header_type (line 42) | struct header_type method header_type (line 51) | header_type() { type.itype = -1; } method header_type (line 53) | header_type(int32_t itype) { type.itype = itype; } method header_type (line 55) | header_type(const char *str) { memcpy(type.stype, str, sizeof(int32_... method header_type (line 57) | header_type(const header_type &another) { type.itype = another.type.... method header_type (line 59) | header_type &operator=(const header_type &another) function network_header_format (line 98) | network_header_format header_type::header_type_to_c_type(const header_... function network_header_format (line 122) | network_header_format message_parser::get_header_type(const char *bytes) function message_parser (line 192) | message_parser *message_parser_manager::create_parser(network_header_f... FILE: src/runtime/rpc/message_parser_manager.h function namespace (line 40) | namespace dsn { FILE: src/runtime/rpc/network.cpp type dsn (line 35) | namespace dsn { function service_node (line 533) | service_node *network::node() const { return _engine->node(); } function message_parser (line 545) | message_parser *network::new_message_parser(network_header_format hdr_... function rpc_session_ptr (line 663) | rpc_session_ptr connection_oriented_network::get_server_session(::dsn:... FILE: src/runtime/rpc/network.sim.cpp type dsn (line 43) | namespace dsn { type tools (line 44) | namespace tools { function message_ex (line 65) | static message_ex *virtual_send_message(message_ex *msg) function error_code (line 169) | error_code sim_network_provider::start(rpc_channel channel, int port... FILE: src/runtime/rpc/network.sim.h function namespace (line 40) | namespace dsn { FILE: src/runtime/rpc/raw_message_parser.cpp type dsn (line 39) | namespace dsn { function message_ex (line 76) | message_ex *raw_message_parser::get_message_on_receive(message_reader ... FILE: src/runtime/rpc/raw_message_parser.h function namespace (line 42) | namespace dsn { FILE: src/runtime/rpc/rpc_engine.cpp type dsn (line 43) | namespace dsn { class rpc_timeout_task (line 47) | class rpc_timeout_task : public task method rpc_timeout_task (line 50) | rpc_timeout_task(rpc_client_matcher *matcher, uint64_t id, service_n... method exec (line 57) | virtual void exec() { _matcher->on_rpc_timeout(_id); } function rpc_request_task (line 379) | rpc_request_task *rpc_server_dispatcher::on_request(message_ex *msg, s... function network (line 417) | network *rpc_engine::create_network(const network_server_config &netcs, function error_code (line 436) | error_code rpc_engine::start(const service_app_spec &aspec) FILE: src/runtime/rpc/rpc_engine.h function namespace (line 34) | namespace dsn { FILE: src/runtime/rpc/rpc_message.cpp type dsn (line 38) | namespace dsn { function error_code (line 81) | error_code message_ex::error() function task_code (line 95) | task_code message_ex::rpc_code() function message_ex (line 113) | message_ex *message_ex::create_receive_message(const blob &data) function message_ex (line 126) | message_ex *message_ex::create_received_request(dsn::task_code code, function message_ex (line 147) | message_ex *message_ex::create_receive_message_with_standalone_header(... function message_ex (line 165) | message_ex *message_ex::copy_message_no_reply(const message_ex &old_msg) function message_ex (line 191) | message_ex *message_ex::copy(bool clone_content, bool copy_for_receive) function message_ex (line 261) | message_ex *message_ex::copy_and_prepare_send(bool clone_content) function message_ex (line 280) | message_ex *message_ex::create_request(dsn::task_code rpc_code, function message_ex (line 325) | message_ex *message_ex::create_response() FILE: src/runtime/rpc/rpc_task.cpp type dsn (line 30) | namespace dsn { FILE: src/runtime/rpc/thrift_message_parser.cpp type dsn (line 39) | namespace dsn { function parse_request_meta_v0 (line 69) | static void parse_request_meta_v0(data_input &input, /*out*/ request_m... function gpid_to_thread_hash (line 81) | static int32_t gpid_to_thread_hash(gpid id) function message_ex (line 89) | static message_ex *create_message_from_request_blob(const blob &body_d... function message_ex (line 192) | message_ex *thrift_message_parser::parse_request_body_v0(message_reade... function message_ex (line 227) | message_ex *thrift_message_parser::parse_request_body_v1(message_reade... function message_ex (line 277) | message_ex *thrift_message_parser::get_message_on_receive(message_read... FILE: src/runtime/rpc/thrift_message_parser.h function namespace (line 38) | namespace dsn { function _meta_parsed (line 64) | struct v1_specific_vars FILE: src/runtime/scheduler.cpp type dsn (line 44) | namespace dsn { type tools (line 45) | namespace tools { FILE: src/runtime/scheduler.h function namespace (line 42) | namespace dsn { function reset (line 151) | inline void scheduler::reset() { _wheel.clear(); } FILE: src/runtime/security/access_controller.cpp type dsn (line 26) | namespace dsn { type security (line 27) | namespace security { function create_meta_access_controller (line 45) | std::unique_ptr create_meta_access_controller() function create_replica_access_controller (line 50) | std::unique_ptr create_replica_access_controller(... FILE: src/runtime/security/access_controller.h function namespace (line 24) | namespace dsn { FILE: src/runtime/security/client_negotiation.cpp type dsn (line 28) | namespace dsn { type security (line 29) | namespace security { FILE: src/runtime/security/client_negotiation.h function namespace (line 22) | namespace dsn { FILE: src/runtime/security/init.cpp type dsn (line 25) | namespace dsn { type security (line 26) | namespace security { function set_krb5_env (line 34) | void set_krb5_env(bool is_server) function error_s (line 42) | error_s init_kerberos(bool is_server) function init (line 51) | bool init(bool is_server) function init_for_zookeeper_client (line 71) | bool init_for_zookeeper_client() FILE: src/runtime/security/init.h function namespace (line 22) | namespace dsn { FILE: src/runtime/security/kinit_context.cpp type dsn (line 33) | namespace dsn { type security (line 34) | namespace security { function error_s (line 55) | error_s check_configuration() class kinit_context (line 78) | class kinit_context : public utils::singleton method kinit_context (line 86) | kinit_context() = default; function error_s (line 124) | error_s kinit_context::kinit() function error_s (line 173) | error_s kinit_context::parse_username_from_principal() function error_s (line 213) | error_s kinit_context::get_credentials() function error_s (line 298) | error_s kinit_context::krb5_call_to_errors(krb5_error_code krb5_code... function error_s (line 309) | error_s kinit_context::wrap_krb5_err(krb5_error_code krb5_err, const... function error_s (line 321) | error_s run_kinit() { return kinit_context::instance().kinit(); } FILE: src/runtime/security/kinit_context.h function namespace (line 22) | namespace dsn { FILE: src/runtime/security/meta_access_controller.cpp type dsn (line 25) | namespace dsn { type security (line 26) | namespace security { FILE: src/runtime/security/meta_access_controller.h function namespace (line 24) | namespace dsn { FILE: src/runtime/security/negotiation.cpp type dsn (line 27) | namespace dsn { type security (line 28) | namespace security { function create_negotiation (line 43) | std::unique_ptr create_negotiation(bool is_client, rpc_... FILE: src/runtime/security/negotiation.h function namespace (line 26) | namespace dsn { FILE: src/runtime/security/negotiation_manager.cpp type dsn (line 29) | namespace dsn { type security (line 30) | namespace security { function is_negotiation_message (line 34) | inline bool is_negotiation_message(dsn::task_code code) function in_white_list (line 40) | inline bool in_white_list(task_code code) function init_join_point (line 144) | void init_join_point() FILE: src/runtime/security/negotiation_manager.h function namespace (line 24) | namespace dsn { FILE: src/runtime/security/negotiation_utils.h function namespace (line 22) | namespace dsn { FILE: src/runtime/security/replica_access_controller.cpp type dsn (line 24) | namespace dsn { type security (line 25) | namespace security { FILE: src/runtime/security/replica_access_controller.h function namespace (line 23) | namespace dsn { FILE: src/runtime/security/sasl_client_wrapper.cpp type dsn (line 24) | namespace dsn { type security (line 25) | namespace security { function error_s (line 29) | error_s sasl_client_wrapper::init() function error_s (line 41) | error_s sasl_client_wrapper::start(const std::string &mechanism, con... function error_s (line 58) | error_s sasl_client_wrapper::step(const blob &input, blob &output) FILE: src/runtime/security/sasl_client_wrapper.h function namespace (line 22) | namespace dsn { FILE: src/runtime/security/sasl_init.cpp type dsn (line 30) | namespace dsn { type security (line 31) | namespace security { function dsn_log_level_t (line 34) | dsn_log_level_t get_dsn_log_level(int level) function sasl_simple_logger (line 51) | int sasl_simple_logger(void *context, int level, const char *msg) function sasl_get_path (line 61) | int sasl_get_path(void *context, char **path) function sasl_get_username (line 70) | int sasl_get_username(void *context, int id, const char **result, un... function sasl_mutex_free_local (line 104) | void sasl_mutex_free_local(void *m) { delete static_cast create_sasl_wrapper(bool is_client) FILE: src/runtime/security/sasl_wrapper.h type sasl_conn_t (line 22) | typedef struct sasl_conn sasl_conn_t; function namespace (line 24) | namespace dsn { FILE: src/runtime/security/server_negotiation.cpp type dsn (line 27) | namespace dsn { type security (line 28) | namespace security { FILE: src/runtime/security/server_negotiation.h function namespace (line 24) | namespace dsn { FILE: src/runtime/service_api_c.cpp type dsn (line 56) | namespace dsn { type security (line 57) | namespace security { type tools (line 282) | namespace tools { function is_engine_ready (line 284) | bool is_engine_ready() { return dsn_all.is_engine_ready(); } function tool_app (line 286) | tool_app *get_current_tool() { return dsn_all.tool.get(); } function service_app (line 560) | service_app *service_app::new_service_app(const std::string &type, function service_app_info (line 572) | const service_app_info &service_app::info() const { return *_info; } function service_app_info (line 574) | const service_app_info &service_app::current_service_app_info() type _all_info_ (line 65) | struct _all_info_ method is_config_completed (line 74) | bool is_config_completed() const { return magic == 0xdeadbeef && confi... method is_engine_ready (line 76) | bool is_engine_ready() const { return magic == 0xdeadbeef && engine_re... function DSN_API (line 80) | DSN_API volatile int *dsn_task_queue_virtual_length_ptr(dsn::task_code c... function DSN_API (line 86) | DSN_API bool dsn_task_is_running_inside(dsn::task *t) function DSN_API (line 91) | DSN_API void dsn_coredump() function DSN_API (line 104) | DSN_API dsn::rpc_address dsn_primary_address() function DSN_API (line 109) | DSN_API bool dsn_rpc_register_handler(dsn::task_code code, function DSN_API (line 116) | DSN_API bool dsn_rpc_unregiser_handler(dsn::task_code code) function DSN_API (line 121) | DSN_API void dsn_rpc_call(dsn::rpc_address server, dsn::rpc_response_tas... function DSN_API (line 132) | DSN_API dsn::message_ex *dsn_rpc_call_wait(dsn::rpc_address server, dsn:... function DSN_API (line 152) | DSN_API void dsn_rpc_call_one_way(dsn::rpc_address server, dsn::message_... function DSN_API (line 160) | DSN_API void dsn_rpc_reply(dsn::message_ex *response, dsn::error_code err) function DSN_API (line 166) | DSN_API void dsn_rpc_forward(dsn::message_ex *request, dsn::rpc_address ... function DSN_API (line 181) | DSN_API bool dsn_run_config(const char *config, bool is_server) function NORETURN (line 187) | NORETURN DSN_API void dsn_exit(int code) function DSN_API (line 196) | DSN_API bool dsn_mimic_app(const char *app_role, int index) function DSN_API (line 235) | DSN_API void dsn_run(int argc, char **argv, bool is_server) type dsn (line 281) | namespace dsn { type security (line 57) | namespace security { type tools (line 282) | namespace tools { function is_engine_ready (line 284) | bool is_engine_ready() { return dsn_all.is_engine_ready(); } function tool_app (line 286) | tool_app *get_current_tool() { return dsn_all.tool.get(); } function service_app (line 560) | service_app *service_app::new_service_app(const std::string &type, function service_app_info (line 572) | const service_app_info &service_app::info() const { return *_info; } function service_app_info (line 574) | const service_app_info &service_app::current_service_app_info() function dsn_global_init (line 293) | inline void dsn_global_init() function dsn_log_prefixed_message_func (line 302) | static std::string dsn_log_prefixed_message_func() function run (line 345) | bool run(const char *config_file, type dsn (line 559) | namespace dsn { type security (line 57) | namespace security { type tools (line 282) | namespace tools { function is_engine_ready (line 284) | bool is_engine_ready() { return dsn_all.is_engine_ready(); } function tool_app (line 286) | tool_app *get_current_tool() { return dsn_all.tool.get(); } function service_app (line 560) | service_app *service_app::new_service_app(const std::string &type, function service_app_info (line 572) | const service_app_info &service_app::info() const { return *_info; } function service_app_info (line 574) | const service_app_info &service_app::current_service_app_info() FILE: src/runtime/service_engine.cpp type dsn (line 41) | namespace dsn { function error_code (line 57) | error_code service_node::init_rpc_engine() function error_code (line 103) | error_code service_node::start() function rpc_request_task (line 155) | rpc_request_task *service_node::generate_intercepted_request_task(mess... FILE: src/runtime/service_engine.h function namespace (line 48) | namespace dsn { FILE: src/runtime/simulator.cpp type dsn (line 44) | namespace dsn { type tools (line 45) | namespace tools { FILE: src/runtime/task/hpc_task_queue.cpp type dsn (line 39) | namespace dsn { type tools (line 40) | namespace tools { function task (line 55) | task *hpc_concurrent_task_queue::dequeue(int &batch_size) FILE: src/runtime/task/hpc_task_queue.h function namespace (line 43) | namespace dsn { FILE: src/runtime/task/simple_task_queue.cpp type dsn (line 29) | namespace dsn { type tools (line 30) | namespace tools { function task (line 100) | task *simple_task_queue::dequeue(/*inout*/ int &batch_size) FILE: src/runtime/task/simple_task_queue.h function namespace (line 33) | namespace dsn { FILE: src/runtime/task/task.cpp type dsn (line 50) | namespace dsn { type __tls_dsn__ (line 51) | struct __tls_dsn__ function check_wait_task (line 240) | static void check_wait_task(task *waitee) FILE: src/runtime/task/task_code.cpp type dsn (line 31) | namespace dsn { function task_code (line 42) | task_code task_code::try_get(const char *name, task_code default_value) function task_code (line 51) | task_code task_code::try_get(const std::string &name, task_code defaul... FILE: src/runtime/task/task_engine.cpp type dsn (line 35) | namespace dsn { FILE: src/runtime/task/task_engine.h function namespace (line 44) | namespace dsn { FILE: src/runtime/task/task_engine.sim.cpp type dsn (line 40) | namespace dsn { type tools (line 41) | namespace tools { function task (line 72) | task *sim_task_queue::dequeue(/*inout*/ int &batch_size) FILE: src/runtime/task/task_engine.sim.h function namespace (line 43) | namespace dsn { FILE: src/runtime/task/task_queue.cpp type dsn (line 33) | namespace dsn { FILE: src/runtime/task/task_spec.cpp type dsn (line 43) | namespace dsn { function task_spec (line 128) | task_spec *task_spec::get(int code) FILE: src/runtime/task/task_tracker.cpp type dsn (line 40) | namespace dsn { type tls_tracker_hack (line 58) | struct tls_tracker_hack method under_simulation (line 63) | bool under_simulation() FILE: src/runtime/task/task_worker.cpp type dsn (line 37) | namespace dsn { function threadpool_spec (line 242) | const threadpool_spec &task_worker::pool_spec() const { return pool()-... FILE: src/runtime/test/async_call.cpp class tracker_class (line 50) | class tracker_class method tracker_class (line 59) | tracker_class() : str("before called"), number(0), _tracker(1) { globa... method callback_function1 (line 60) | void callback_function1() method callback_function2 (line 67) | void callback_function2() method callback_function3 (line 76) | void callback_function3() { ++global_value; } function TEST (line 79) | TEST(async_call, task_call) function TEST (line 118) | TEST(async_call, rpc_call) class simple_task (line 151) | class simple_task : public dsn::raw_task method simple_task (line 154) | simple_task(dsn::task_code code, const task_handler &h) : dsn::raw_tas... class simple_task_container (line 167) | class simple_task_container : public dsn::ref_counter class simple_rpc_response_task (line 173) | class simple_rpc_response_task : public dsn::rpc_response_task method simple_rpc_response_task (line 176) | simple_rpc_response_task(dsn::message_ex *m, const rpc_response_handle... function spin_wait (line 195) | bool spin_wait(const std::function &pred, int wait_times) function TEST (line 204) | TEST(async_call, task_destructor) FILE: src/runtime/test/client_negotiation_test.cpp type dsn (line 26) | namespace dsn { type security (line 27) | namespace security { class client_negotiation_test (line 28) | class client_negotiation_test : public testing::Test method client_negotiation_test (line 31) | client_negotiation_test() method on_recv_mechanism (line 39) | void on_recv_mechanism(const negotiation_response &resp) method handle_response (line 44) | void handle_response(error_code err, const negotiation_response &r... method on_mechanism_selected (line 49) | void on_mechanism_selected(const negotiation_response &resp) method on_challenge (line 54) | void on_challenge(const negotiation_response &resp) { _client_nego... method get_negotiation_status (line 58) | negotiation_status::type get_negotiation_status() { return _client... function TEST_F (line 66) | TEST_F(client_negotiation_test, on_recv_mechanisms) function TEST_F (line 92) | TEST_F(client_negotiation_test, handle_response) function TEST_F (line 114) | TEST_F(client_negotiation_test, on_mechanism_selected) function TEST_F (line 160) | TEST_F(client_negotiation_test, on_challenge) FILE: src/runtime/test/corrupt_message.cpp function TEST (line 39) | TEST(core, corrupt_message) FILE: src/runtime/test/lpc.cpp function on_lpc_test (line 42) | void on_lpc_test(void *p) function TEST (line 48) | TEST(core, lpc) FILE: src/runtime/test/main.cpp function GTEST_API_ (line 43) | GTEST_API_ int main(int argc, char **argv) FILE: src/runtime/test/message_reader_test.cpp type dsn (line 22) | namespace dsn { class message_reader_test (line 24) | class message_reader_test : public testing::Test method test_init (line 27) | void test_init() method test_read_buffer (line 35) | void test_read_buffer() method test_read_data (line 74) | void test_read_data() method test_consume_buffer (line 88) | void test_consume_buffer() function TEST_F (line 104) | TEST_F(message_reader_test, init) { test_init(); } function TEST_F (line 106) | TEST_F(message_reader_test, read_buffer) { test_read_buffer(); } function TEST_F (line 108) | TEST_F(message_reader_test, read_data) { test_read_data(); } function TEST_F (line 110) | TEST_F(message_reader_test, consume_buffer) { test_consume_buffer(); } FILE: src/runtime/test/message_utils_test.cpp type dsn (line 32) | namespace dsn { function TEST (line 39) | TEST(message_utils, msg_blob_convertion) function TEST (line 50) | TEST(message_utils, thrift_msg_convertion) function TEST (line 62) | TEST(message_utils, complex_convertion) FILE: src/runtime/test/meta_access_controller_test.cpp type dsn (line 24) | namespace dsn { type security (line 25) | namespace security { class meta_access_controller_test (line 28) | class meta_access_controller_test : public testing::Test method meta_access_controller_test (line 31) | meta_access_controller_test() { _meta_access_controller = create_m... method set_super_user (line 33) | void set_super_user(const std::string &super_user) method pre_check (line 38) | bool pre_check(const std::string &user_name) method allowed (line 43) | bool allowed(dsn::message_ex *msg) { return _meta_access_controlle... function TEST_F (line 48) | TEST_F(meta_access_controller_test, pre_check) function TEST_F (line 71) | TEST_F(meta_access_controller_test, allowed) FILE: src/runtime/test/negotiation_manager_test.cpp type dsn (line 28) | namespace dsn { type security (line 29) | namespace security { class negotiation_manager_test (line 33) | class negotiation_manager_test : public testing::Test method negotiation_rpc (line 36) | negotiation_rpc create_fake_rpc() method rpc_session_ptr (line 47) | rpc_session_ptr create_fake_session(bool is_client) method on_negotiation_request (line 59) | void on_negotiation_request(negotiation_rpc rpc) method on_rpc_recv_msg (line 64) | bool on_rpc_recv_msg(message_ex *msg) method on_rpc_send_msg (line 69) | bool on_rpc_send_msg(message_ex *msg) function TEST_F (line 75) | TEST_F(negotiation_manager_test, disable_auth) function TEST_F (line 87) | TEST_F(negotiation_manager_test, on_rpc_recv_msg) function TEST_F (line 128) | TEST_F(negotiation_manager_test, on_rpc_send_msg) FILE: src/runtime/test/netprovider.cpp class asio_network_provider_test (line 55) | class asio_network_provider_test : public asio_network_provider method asio_network_provider_test (line 58) | asio_network_provider_test(rpc_engine *srv, network *inner_provider) method change_test_cfg_conn_threshold_per_ip (line 64) | void change_test_cfg_conn_threshold_per_ip(uint32_t n) function DEFINE_TASK_CODE_RPC (line 73) | DEFINE_TASK_CODE_RPC(RPC_TEST_NETPROVIDER, TASK_PRIORITY_COMMON, THREAD_... function response_handler (line 76) | void response_handler(dsn::error_code ec, function reject_response_handler (line 92) | void reject_response_handler(dsn::error_code ec) function rpc_server_response (line 98) | void rpc_server_response(dsn::message_ex *request) function wait_response (line 107) | void wait_response() function rpc_client_session_send (line 113) | void rpc_client_session_send(rpc_session_ptr client_session, bool reject... function TEST (line 140) | TEST(tools_common, asio_net_provider) function TEST (line 187) | TEST(tools_common, asio_udp_provider) function TEST (line 230) | TEST(tools_common, sim_net_provider) function TEST (line 260) | TEST(tools_common, asio_network_provider_connection_threshold) FILE: src/runtime/test/pipeline_test.cpp type dsn (line 31) | namespace dsn { function TEST (line 33) | TEST(pipeline_test, pause) function TEST (line 65) | TEST(pipeline_test, link_pipe) function TEST (line 100) | TEST(pipeline_test, verify_link_and_fork) FILE: src/runtime/test/replica_access_controller_test.cpp type dsn (line 24) | namespace dsn { type security (line 25) | namespace security { class replica_access_controller_test (line 28) | class replica_access_controller_test : public testing::Test method replica_access_controller_test (line 31) | replica_access_controller_test() method allowed (line 36) | bool allowed(dsn::message_ex *msg) { return _replica_access_contro... method set_replica_users (line 38) | void set_replica_users(std::unordered_set &&replica_u... function TEST_F (line 46) | TEST_F(replica_access_controller_test, allowed) FILE: src/runtime/test/rpc.cpp function build_group (line 44) | static dsn::rpc_address build_group() function dsn_address_from_string (line 57) | static ::dsn::rpc_address dsn_address_from_string(const std::string &str) function TEST (line 70) | TEST(core, rpc) function TEST (line 83) | TEST(core, group_address_talk_to_others) function TEST (line 102) | TEST(core, group_address_change_leader) function rpc_group_callback (line 149) | static void rpc_group_callback(error_code err, function send_message (line 181) | static void send_message(::dsn::rpc_address addr, function TEST (line 207) | TEST(core, group_address_no_response_2) function TEST (line 229) | TEST(core, send_to_invalid_address) FILE: src/runtime/test/rpc_holder_test.cpp function TEST (line 42) | TEST(rpc_holder, type_traits) function TEST (line 48) | TEST(rpc_holder, construct) function TEST (line 88) | TEST(rpc_holder, mock_rpc_call) function TEST (line 138) | TEST(rpc_holder, mock_rpc_reply) function TEST (line 158) | TEST(rpc_holder, mock_rpc_forward) FILE: src/runtime/test/rpc_message.cpp function TEST (line 45) | TEST(core, message_ex) function TEST (line 188) | TEST(rpc_message, restore_read) function TEST (line 199) | TEST(rpc_message, create_receive_message_with_standalone_header) function TEST (line 209) | TEST(rpc_message, copy_message_no_reply) FILE: src/runtime/test/server_negotiation_test.cpp type dsn (line 25) | namespace dsn { type security (line 26) | namespace security { class server_negotiation_test (line 27) | class server_negotiation_test : public testing::Test method server_negotiation_test (line 30) | server_negotiation_test() method negotiation_rpc (line 39) | negotiation_rpc create_negotiation_rpc(negotiation_status::type st... method on_list_mechanisms (line 47) | void on_list_mechanisms(negotiation_rpc rpc) { _srv_negotiation->o... method on_select_mechanism (line 49) | void on_select_mechanism(negotiation_rpc rpc) { _srv_negotiation->... method on_initiate (line 51) | void on_initiate(negotiation_rpc rpc) { _srv_negotiation->on_initi... method on_challenge_resp (line 53) | void on_challenge_resp(negotiation_rpc rpc) { _srv_negotiation->on... method get_negotiation_status (line 55) | negotiation_status::type get_negotiation_status() { return _srv_ne... function TEST_F (line 63) | TEST_F(server_negotiation_test, on_list_mechanisms) function TEST_F (line 93) | TEST_F(server_negotiation_test, on_select_mechanism) function TEST_F (line 141) | TEST_F(server_negotiation_test, on_initiate) function TEST_F (line 196) | TEST_F(server_negotiation_test, on_challenge_resp) FILE: src/runtime/test/service_api_c.cpp function TEST (line 50) | TEST(core, dsn_error) function TEST (line 57) | TEST(core, dsn_threadpool_code) function TEST (line 74) | TEST(core, dsn_task_code) function TEST (line 135) | TEST(core, dsn_config) function TEST (line 149) | TEST(core, dsn_exlock) function TEST (line 174) | TEST(core, dsn_rwlock) function TEST (line 186) | TEST(core, dsn_semaphore) function TEST (line 199) | TEST(core, dsn_env) function TEST (line 212) | TEST(core, dsn_system) FILE: src/runtime/test/sim_lock.cpp function TEST (line 48) | TEST(tools_simulator, dsn_semaphore) function TEST (line 63) | TEST(tools_simulator, dsn_lock_nr) function TEST (line 79) | TEST(tools_simulator, dsn_lock) type dsn (line 94) | namespace dsn { type test (line 95) | namespace test { function TEST (line 99) | TEST(tools_simulator, scheduler) FILE: src/runtime/test/task_engine.cpp function TEST (line 47) | TEST(core, task_engine) FILE: src/runtime/test/task_test.cpp type dsn (line 23) | namespace dsn { class task_test (line 27) | class task_test : public ::testing::Test method test_init (line 30) | static void test_init() method test_null_task (line 43) | static void test_null_task() method test_signal_finished_task (line 58) | static void test_signal_finished_task() function TEST_F (line 77) | TEST_F(task_test, init) { test_init(); } function TEST_F (line 79) | TEST_F(task_test, null_task) { test_null_task(); } function TEST_F (line 81) | TEST_F(task_test, signal_finished_task) { test_signal_finished_task(); } FILE: src/runtime/test/test_utils.h function exec_tests (line 64) | inline void exec_tests() function on_rpc_string_test (line 84) | void on_rpc_string_test(dsn::message_ex *message) FILE: src/runtime/test/thrift_message_parser_test.cpp type dsn (line 26) | namespace dsn { class thrift_message_parser_test (line 30) | class thrift_message_parser_test : public testing::Test method mock_reader_read_data (line 33) | void method test_get_message_on_receive_v0_data (line 43) | void test_get_message_on_receive_v0_data(message_reader &reader, method test_get_message_on_receive_v1_data (line 122) | void test_get_message_on_receive_v1_data(message_reader &reader, function TEST_F (line 217) | TEST_F(thrift_message_parser_test, get_message_on_receive_incomplete_s... function TEST_F (line 243) | TEST_F(thrift_message_parser_test, get_message_on_receive_incomplete_v... function TEST_F (line 267) | TEST_F(thrift_message_parser_test, get_message_on_receive_invalid_v0_h... function TEST_F (line 291) | TEST_F(thrift_message_parser_test, get_message_on_receive_valid_v0_hdr) function TEST_F (line 327) | TEST_F(thrift_message_parser_test, get_message_on_receive_valid_v0_data) function TEST_F (line 337) | TEST_F(thrift_message_parser_test, get_message_on_receive_v0_not_request) function TEST_F (line 351) | TEST_F(thrift_message_parser_test, get_message_on_receive_incomplete_v... function TEST_F (line 376) | TEST_F(thrift_message_parser_test, get_message_on_receive_valid_v1_hdr) function TEST_F (line 401) | TEST_F(thrift_message_parser_test, get_message_on_receive_v1_data) function TEST_F (line 418) | TEST_F(thrift_message_parser_test, get_message_on_large_writes_pileup_v0) function TEST_F (line 425) | TEST_F(thrift_message_parser_test, get_message_on_large_writes_pileup_v1) FILE: src/runtime/threadpool_code.cpp type dsn (line 30) | namespace dsn { FILE: src/runtime/tool_api.cpp type dsn (line 42) | namespace dsn { class service_control_task (line 46) | class service_control_task : public task method service_control_task (line 49) | service_control_task(service_node *node, bool start, bool cleanup = ... method exec (line 54) | void exec() type tools (line 73) | namespace tools { function service_spec (line 100) | const service_spec &tool_app::get_service_spec() { return service_en... function service_spec (line 102) | const service_spec &spec() { return service_engine::instance().spec(... type internal_use_only (line 110) | namespace internal_use_only { function register_toollet (line 111) | bool register_toollet(const char *name, toollet::factory f, ::dsn:... function register_tool (line 116) | bool register_tool(const char *name, tool_app::factory f, ::dsn::p... function register_component_provider (line 121) | bool register_component_provider(const char *name, function register_component_provider (line 128) | bool register_component_provider(const char *name, task_queue::fac... function register_component_provider (line 133) | bool register_component_provider(const char *name, function register_component_provider (line 140) | bool register_component_provider(const char *name, network::factor... function register_component_provider (line 145) | bool register_component_provider(const char *name, function register_component_provider (line 152) | bool register_component_provider(network_header_format fmt, function toollet (line 161) | toollet *get_toollet(const char *name, ::dsn::provider_type type) FILE: src/runtime/tracer.cpp type dsn (line 41) | namespace dsn { type tools (line 42) | namespace tools { function tracer_on_task_create (line 44) | static void tracer_on_task_create(task *caller, task *callee) function tracer_on_task_enqueue (line 73) | static void tracer_on_task_enqueue(task *caller, task *callee) function tracer_on_task_begin (line 82) | static void tracer_on_task_begin(task *this_) function tracer_on_task_end (line 112) | static void tracer_on_task_end(task *this_) function tracer_on_task_cancelled (line 120) | static void tracer_on_task_cancelled(task *this_) function tracer_on_task_wait_pre (line 125) | static void tracer_on_task_wait_pre(task *caller, task *callee, uint... function tracer_on_task_wait_post (line 127) | static void tracer_on_task_wait_post(task *caller, task *callee, boo... function tracer_on_task_cancel_post (line 129) | static void tracer_on_task_cancel_post(task *caller, task *callee, b... function tracer_on_aio_call (line 132) | static void tracer_on_aio_call(task *caller, aio_task *callee) function tracer_on_aio_enqueue (line 141) | static void tracer_on_aio_enqueue(aio_task *this_) function tracer_on_rpc_call (line 150) | static void tracer_on_rpc_call(task *caller, message_ex *req, rpc_re... function tracer_on_rpc_request_enqueue (line 163) | static void tracer_on_rpc_request_enqueue(rpc_request_task *callee) function tracer_on_rpc_reply (line 177) | static void tracer_on_rpc_reply(task *caller, message_ex *msg) function tracer_on_rpc_response_enqueue (line 188) | static void tracer_on_rpc_response_enqueue(rpc_response_task *resp) function tracer_on_rpc_create_response (line 200) | static void tracer_on_rpc_create_response(message_ex *req, message_e... type logged_event_t (line 207) | enum logged_event_t type logged_event (line 229) | struct logged_event type logged_task (line 237) | struct logged_task function tracer_log_flow_error (line 245) | static std::string tracer_log_flow_error(const char *msg) function tracer_log_flow (line 250) | static std::string tracer_log_flow(const std::vector &a... FILE: src/runtime/zlocks.cpp type dsn (line 41) | namespace dsn { type lock_checker (line 43) | namespace lock_checker { function check_wait_safety (line 47) | void check_wait_safety() function check_dangling_lock (line 57) | void check_dangling_lock() FILE: src/tools/mutation_log_tool.cpp type dsn (line 31) | namespace dsn { type replication (line 32) | namespace replication { FILE: src/utils/alloc.cpp type dsn (line 24) | namespace dsn { function cacheline_aligned_free (line 50) | void cacheline_aligned_free(void *mem_block) { free(mem_block); } FILE: src/utils/binary_reader.cpp type dsn (line 31) | namespace dsn { FILE: src/utils/binary_writer.cpp type dsn (line 30) | namespace dsn { function blob (line 87) | blob binary_writer::get_buffer() function blob (line 108) | blob binary_writer::get_current_buffer() FILE: src/utils/clock.cpp function DSN_API (line 23) | DSN_API uint64_t dsn_now_ns() { return dsn::utils::clock::instance()->no... type dsn (line 25) | namespace dsn { type utils (line 26) | namespace utils { function clock (line 30) | const clock *clock::instance() { return _clock.get(); } FILE: src/utils/command_manager.cpp type dsn (line 34) | namespace dsn { function dsn_handle_t (line 36) | dsn_handle_t command_manager::register_command(const std::vector §i... function dsn_config_get_all_sections (line 85) | void dsn_config_get_all_sections(/*out*/ std::vector §... function dsn_config_get_all_keys (line 90) | void dsn_config_get_all_keys(const char *section, std::vector is_directory_empty(const std::string &... function error_code (line 788) | error_code read_file(const std::string &fname, std::string &buf) function verify_file (line 817) | bool verify_file(const std::string &fname, function verify_file_size (line 847) | bool verify_file_size(const std::string &fname, const int64_t &exp... function verify_data_md5 (line 868) | bool verify_data_md5(const std::string &fname, function create_directory (line 884) | bool create_directory(const std::string &path, std::string &absolu... function write_file (line 905) | bool write_file(const std::string &fname, std::string &buf) function check_dir_rw (line 919) | bool check_dir_rw(const std::string &path, std::string &err_msg) FILE: src/utils/flags.cpp type dsn (line 33) | namespace dsn { type value_type (line 35) | enum value_type class flag_data (line 57) | class flag_data method load (line 90) | void load() method flag_data (line 103) | flag_data(const char *section, const char *name, const char *desc, v... method error_s (line 113) | error_s update(const std::string &val) method set_validator (line 131) | void set_validator(validator_fn &validator) { _validator = std::move... method validator_fn (line 132) | const validator_fn &validator() const { return _validator; } method add_tag (line 134) | void add_tag(const flag_tag &tag) { _tags.insert(tag); } method has_tag (line 135) | bool has_tag(const flag_tag &tag) const { return _tags.find(tag) != ... method to_table_printer (line 137) | void to_table_printer(utils::table_printer &tp) const method to_json (line 160) | std::string to_json() const method T (line 174) | T &value() const method tags_str (line 179) | std::string tags_str() const class flag_registry (line 203) | class flag_registry : public utils::singleton method run_group_validators (line 206) | bool run_group_validators(std::map &valida... method run_group_validators (line 221) | bool run_group_validators(std::string *total_message) method add_flag (line 246) | void add_flag(const char *name, flag_data flag) method error_s (line 256) | error_s update_flag(const std::string &name, const std::string &val) method add_validator (line 265) | void add_validator(const char *name, validator_fn &validator) method add_group_validator (line 275) | void add_group_validator(const char *name, group_validator_fn &valid... method load_from_config (line 283) | void load_from_config() method add_tag (line 296) | void add_tag(const char *name, const flag_tag &tag) method has_tag (line 303) | bool has_tag(const std::string &name, const flag_tag &tag) const method get_flag_str (line 312) | error_with get_flag_str(const std::string &name) const method list_all_flags (line 322) | std::string list_all_flags() const method flag_registry (line 338) | flag_registry() = default; function flags_initialize (line 376) | void flags_initialize() { flag_registry::instance().load_from_config(); } function error_s (line 378) | error_s update_flag(const std::string &name, const std::string &val) function has_tag (line 383) | bool has_tag(const std::string &name, const flag_tag &tag) function get_flag_str (line 388) | error_with get_flag_str(const std::string &flag_name) function list_all_flags (line 393) | std::string list_all_flags() { return flag_registry::instance().list_a... FILE: src/utils/gpid.cpp type dsn (line 30) | namespace dsn { FILE: src/utils/latency_tracer.cpp type dsn (line 29) | namespace dsn { type utils (line 30) | namespace utils { function perf_counter_ptr (line 57) | perf_counter_ptr get_trace_counter(const std::string &name) function is_enable_trace (line 84) | bool is_enable_trace(const dsn::task_code &code) FILE: src/utils/lockp.std.h function namespace (line 41) | namespace dsn { FILE: src/utils/logging.cpp type dsn (line 42) | namespace dsn { function set_log_prefixed_message_func (line 50) | void set_log_prefixed_message_func(std::function func) function logging_provider (line 160) | logging_provider *logging_provider::instance() function logging_provider (line 167) | logging_provider *logging_provider::create_default_instance() type tools (line 174) | namespace tools { type internal_use_only (line 175) | namespace internal_use_only { function register_component_provider (line 176) | bool register_component_provider(const char *name, function log_on_sys_exit (line 56) | static void log_on_sys_exit(::dsn::sys_exit_type) function dsn_log_init (line 62) | void dsn_log_init(const std::string &logging_factory_name, function DSN_API (line 117) | DSN_API dsn_log_level_t dsn_log_get_start_level() { return dsn_log_start... function DSN_API (line 119) | DSN_API void dsn_log_set_start_level(dsn_log_level_t level) { dsn_log_st... function DSN_API (line 121) | DSN_API void dsn_logv(const char *file, function DSN_API (line 132) | DSN_API void dsn_logf(const char *file, function DSN_API (line 145) | DSN_API void dsn_log(const char *file, type dsn (line 155) | namespace dsn { function set_log_prefixed_message_func (line 50) | void set_log_prefixed_message_func(std::function func) function logging_provider (line 160) | logging_provider *logging_provider::instance() function logging_provider (line 167) | logging_provider *logging_provider::create_default_instance() type tools (line 174) | namespace tools { type internal_use_only (line 175) | namespace internal_use_only { function register_component_provider (line 176) | bool register_component_provider(const char *name, FILE: src/utils/long_adder.cpp type dsn (line 39) | namespace dsn { function compute_num_cells (line 44) | uint32_t compute_num_cells() function cacheline_aligned_int64_ptr (line 65) | cacheline_aligned_int64_ptr new_cacheline_aligned_int64_array(uint32_t... function cacheline_aligned_int64_ptr (line 94) | cacheline_aligned_int64_ptr new_cacheline_aligned_int64() FILE: src/utils/long_adder_bench/long_adder_bench.cpp class simple_long_adder (line 32) | class simple_long_adder method simple_long_adder (line 35) | simple_long_adder() = default; method increment_by (line 39) | inline void increment_by(int64_t x) { _value.fetch_add(x, std::memory_... method value (line 41) | inline int64_t value() const { return _value.load(std::memory_order_re... method reset (line 43) | inline void reset() { set(0); } method fetch_and_reset (line 45) | inline int64_t fetch_and_reset() { return _value.exchange(0, std::memo... method set (line 48) | inline void set(int64_t val) { _value.store(val, std::memory_order_rel... class divided_long_adder (line 59) | class divided_long_adder method divided_long_adder (line 62) | divided_long_adder() method increment_by (line 71) | inline void increment_by(int64_t x) method value (line 77) | int64_t value() const method reset (line 86) | inline void reset() { set(0); } method fetch_and_reset (line 88) | int64_t fetch_and_reset() method set (line 98) | void set(int64_t val) function print_usage (line 111) | void print_usage(const char *cmd) function run_bench (line 126) | void run_bench(int64_t num_operations, int64_t num_threads, const char *... function main (line 158) | int main(int argc, char **argv) FILE: src/utils/math.cpp type dsn (line 24) | namespace dsn { type utils (line 25) | namespace utils { function mean_stddev (line 27) | double mean_stddev(const std::vector &result_set, bool par... FILE: src/utils/memutil.h function namespace (line 17) | namespace dsn { FILE: src/utils/metrics.cpp type dsn (line 25) | namespace dsn { function metric_entity_ptr (line 52) | metric_entity_ptr metric_entity_prototype::instantiate(const std::stri... function metric_entity_ptr (line 61) | metric_entity_ptr metric_entity_prototype::instantiate(const std::stri... function metric_entity_ptr (line 89) | metric_entity_ptr metric_registry::find_or_create_entity(const std::st... FILE: src/utils/output_utils.cpp type dsn (line 22) | namespace dsn { type utils (line 23) | namespace utils { function json_encode (line 26) | void json_encode(Writer &writer, const table_printer &tp) FILE: src/utils/process_utils.cpp type dsn (line 28) | namespace dsn { type utils (line 29) | namespace utils { function get_current_tid_internal (line 32) | int get_current_tid_internal() { return static_cast(syscall(SYS... function pipe_execute (line 34) | int pipe_execute(const char *command, std::ostream &output) function process_mem_usage (line 50) | void process_mem_usage(double &vm_usage, double &resident_set) class record_process_start_time (line 87) | class record_process_start_time : public preloadable &sa... function parse_kv_map (line 121) | bool parse_kv_map(const char *args, function kv_map_to_stream (line 147) | void kv_map_to_stream(const std::map &kv_map, function kv_map_to_string (line 161) | std::string kv_map_to_string(const std::map Overloaded(dsn::ref_ptr other) { return other; } function Overloaded (line 120) | dsn::ref_ptr Overloaded(dsn::ref_ptr self_assign... class InitialRefCountIsOne (line 122) | class InitialRefCountIsOne : public dsn::ref_counter method InitialRefCountIsOne (line 125) | InitialRefCountIsOne() = default; function TEST (line 134) | TEST(RefCountedUnitTest, TestSelfAssignment) function TEST (line 151) | TEST(RefCountedUnitTest, ScopedRefPtrToSelfPointerAssignment) function TEST (line 161) | TEST(RefCountedUnitTest, ScopedRefPtrToSelfMoveAssignment) function TEST (line 174) | TEST(RefCountedUnitTest, BooleanTesting) function TEST (line 203) | TEST(RefCountedUnitTest, Equality) function TEST (line 215) | TEST(RefCountedUnitTest, NullptrEquality) function TEST (line 226) | TEST(RefCountedUnitTest, ConvertibleEquality) function TEST (line 240) | TEST(RefCountedUnitTest, MoveAssignment1) function TEST (line 270) | TEST(RefCountedUnitTest, MoveAssignment2) function TEST (line 302) | TEST(RefCountedUnitTest, MoveAssignmentSameInstance1) function TEST (line 334) | TEST(RefCountedUnitTest, MoveAssignmentSameInstance2) function TEST (line 366) | TEST(RefCountedUnitTest, MoveAssignmentDifferentInstances) function TEST (line 399) | TEST(RefCountedUnitTest, MoveAssignmentSelfMove) function TEST (line 421) | TEST(RefCountedUnitTest, MoveAssignmentDerived) function TEST (line 465) | TEST(RefCountedUnitTest, MoveConstructor) function TEST (line 493) | TEST(RefCountedUnitTest, MoveConstructorDerived) function TEST (line 530) | TEST(RefCountedUnitTest, TestOverloadResolutionCopy) function TEST (line 540) | TEST(RefCountedUnitTest, TestOverloadResolutionMove) function TEST (line 551) | TEST(RefCountedUnitTest, TestMakeRefCounted) function TEST (line 562) | TEST(RefCountedUnitTest, TestInitialRefCountIsOne) FILE: src/utils/test/binary_reader_test.cpp type dsn (line 22) | namespace dsn { function TEST (line 24) | TEST(binary_reader_test, inner_read) FILE: src/utils/test/command_manager.cpp function command_manager_module_init (line 41) | void command_manager_module_init() function TEST (line 60) | TEST(command_manager, exist_command) function TEST (line 71) | TEST(command_manager, not_exist_command) FILE: src/utils/test/configuration.cpp function TEST (line 35) | TEST(configuration, load) function TEST (line 73) | TEST(configuration, tool) function TEST (line 84) | TEST(configuration, special_char) function TEST (line 98) | TEST(configuration, get_section_and_key) function TEST (line 124) | TEST(configuration, add_section_and_key) function TEST (line 163) | TEST(configuration, has_section_and_key) function TEST (line 176) | TEST(configuration, bool_value) function TEST (line 188) | TEST(configuration, string_value) function TEST (line 198) | TEST(configuration, list_value) function TEST (line 213) | TEST(configuration, double_value) function TEST (line 223) | TEST(configuration, int64_value) function TEST (line 246) | TEST(configuration, uint64_value) function TEST (line 271) | TEST(configuration, dump) FILE: src/utils/test/endian_test.cpp function TEST (line 24) | TEST(endian, conversion) function TEST (line 31) | TEST(endian, write_and_read) FILE: src/utils/test/env.cpp function TEST (line 41) | TEST(core, env) FILE: src/utils/test/fail_point_test.cpp type dsn (line 35) | namespace dsn { type fail (line 36) | namespace fail { function TEST (line 38) | TEST(fail_point, off) function TEST (line 45) | TEST(fail_point, return_test) function TEST (line 55) | TEST(fail_point, print) function TEST (line 62) | TEST(fail_point, frequency_and_count) function TEST (line 83) | TEST(fail_point, parse) function test_func (line 117) | int test_func() function TEST (line 131) | TEST(fail_point, macro_use) function test_func_return_void (line 146) | void test_func_return_void(int &a) function TEST (line 151) | TEST(fail_point, return_void) FILE: src/utils/test/file_system_test.cpp type dsn (line 21) | namespace dsn { type utils (line 22) | namespace utils { type filesystem (line 23) | namespace filesystem { function TEST (line 25) | TEST(verify_file, verify_file_test) FILE: src/utils/test/file_utils.cpp function file_utils_test_setup (line 33) | static void file_utils_test_setup() function file_utils_test_get_process_image_path (line 51) | static void file_utils_test_get_process_image_path() function file_utils_test_get_normalized_path (line 69) | static void file_utils_test_get_normalized_path() function file_utils_test_get_current_directory (line 480) | static void file_utils_test_get_current_directory() function file_utils_test_path_combine (line 491) | static void file_utils_test_path_combine() function file_utils_test_get_file_name (line 566) | static void file_utils_test_get_file_name() function file_utils_test_create (line 612) | static void file_utils_test_create() function file_utils_test_file_size (line 673) | static void file_utils_test_file_size() function file_utils_test_path_exists (line 689) | static void file_utils_test_path_exists() function file_utils_test_get_paths (line 775) | static void file_utils_test_get_paths() function file_utils_test_rename (line 846) | static void file_utils_test_rename() function file_utils_test_remove (line 864) | static void file_utils_test_remove() function file_utils_test_cleanup (line 889) | static void file_utils_test_cleanup() {} function TEST (line 891) | TEST(core, file_utils) FILE: src/utils/test/flag_test.cpp type dsn (line 22) | namespace dsn { type utils (line 23) | namespace utils { function TEST (line 134) | TEST(flag_test, update_config) function TEST (line 252) | TEST(flag_test, tag_flag) function TEST (line 282) | TEST(flag_test, get_config) FILE: src/utils/test/fmt_logging_test.cpp type dsn (line 33) | namespace dsn { type replication (line 34) | namespace replication { function TEST (line 36) | TEST(fmt_logging, basic) FILE: src/utils/test/hostname_test.cpp type dsn (line 23) | namespace dsn { type replication (line 24) | namespace replication { function TEST (line 26) | TEST(ip_to_hostname, ipv4_validate) function TEST (line 54) | TEST(ip_to_hostname, localhost) function TEST (line 112) | TEST(ip_to_hostname, invalid_ip) FILE: src/utils/test/join_point_test.cpp type dsn (line 30) | namespace dsn { class join_point_test (line 32) | class join_point_test : public ::testing::Test function advice1 (line 37) | void advice1() {} function TEST_F (line 40) | TEST_F(join_point_test, add_pure_functions) function TEST_F (line 51) | TEST_F(join_point_test, adding_order) function TEST_F (line 66) | TEST_F(join_point_test, with_return_value) FILE: src/utils/test/json_helper_test.cpp class test_entity (line 32) | class test_entity type struct_type1 (line 52) | struct struct_type1 type struct_type2 (line 65) | struct struct_type2 type struct_type3 (line 78) | struct struct_type3 type nested_type (line 91) | struct nested_type type newer_struct (line 123) | struct newer_struct method TEST (line 136) | TEST(json_helper, encode_and_decode) method TEST (line 150) | TEST(json_helper, simple_type_encode_decode) method TEST (line 185) | TEST(json_helper, int_type_encode_decode) method TEST (line 214) | TEST(json_helper, int_overflow_underflow) method TEST (line 258) | TEST(json_helper, uint_encode_decode) method TEST (line 277) | TEST(json_helper, uint_overflow_underflow) method TEST (line 322) | TEST(json_helper, nested_type_encode_decode) method TEST (line 340) | TEST(json_helper, decode_invalid_json) method TEST (line 362) | TEST(json_helper, type_mismatch) method TEST (line 455) | TEST(json_helper, upgrade_downgrade) FILE: src/utils/test/latency_tracer_test.cpp type dsn (line 22) | namespace dsn { type utils (line 23) | namespace utils { class latency_tracer_test (line 24) | class latency_tracer_test : public testing::Test method SetUp (line 38) | void SetUp() override method init_trace_points (line 44) | void init_trace_points() method get_points (line 73) | std::map get_points(const std::shared_ptr get_sub_tracer(const std::shared_p... function TEST_F (line 84) | TEST_F(latency_tracer_test, add_point) FILE: src/utils/test/lock.std.cpp function TEST (line 33) | TEST(tools_common, std_lock_provider) FILE: src/utils/test/logger.cpp function get_log_file_index (line 45) | static void get_log_file_index(std::vector &log_index) function clear_files (line 64) | static void clear_files(std::vector &log_index) function prepare_test_dir (line 74) | static void prepare_test_dir() function finish_test_dir (line 82) | static void finish_test_dir() function log_print (line 89) | void log_print(logging_provider *logger, const char *fmt, ...) function TEST (line 97) | TEST(tools_common, simple_logger) FILE: src/utils/test/logging.cpp function TEST (line 41) | TEST(core, logging) function TEST (line 53) | TEST(core, logging_big_log) function TEST (line 64) | TEST(core, dlog_f) FILE: src/utils/test/long_adder_test.cpp type dsn (line 29) | namespace dsn { type type_parse_traits (line 32) | struct type_parse_traits class long_adder_test (line 46) | class long_adder_test method long_adder_test (line 49) | long_adder_test() = default; method run_increment_by (line 51) | void run_increment_by(int64_t base_value, method run_increment (line 63) | void method run_decrement (line 71) | void method run_basic_cases (line 79) | void run_basic_cases(int64_t num_threads) method run_concurrent_cases (line 140) | void run_concurrent_cases(int64_t num_operations, int64_t num_threads) method increment_by (line 193) | void increment_by(int64_t delta, int64_t n) method increment (line 200) | void increment(int64_t num) method decrement (line 207) | void decrement(int64_t num) method execute (line 214) | void execute(int64_t num_threads, std::function runner) function run_basic_cases (line 229) | void run_basic_cases() function run_basic_cases (line 237) | void run_basic_cases() function run_concurrent_cases (line 244) | void run_concurrent_cases() function run_concurrent_cases (line 252) | void run_concurrent_cases() function TEST (line 258) | TEST(long_adder_test, basic_cases) { run_basic_cases runner) function increment_by (line 370) | void increment_by(std::integral_constant, MetricPtr &my_me... function increment_by (line 376) | void increment_by(std::integral_constant, MetricPtr &my_m... function run_increment_by (line 383) | void run_increment_by(MetricPtr &my_metric, function run_increment (line 415) | void run_increment(MetricPtr &my_metric, function run_decrement (line 433) | void run_decrement(MetricPtr &my_metric, function run_gauge_increment_cases (line 450) | void run_gauge_increment_cases(dsn::gauge_prototype *prototyp... function run_gauge_increment_cases (line 483) | void run_gauge_increment_cases(dsn::gauge_prototype *prototype) function TEST (line 492) | TEST(metrics_test, gauge_increment) { run_gauge_increment_cases(&METRI... function run_counter_cases (line 495) | void run_counter_cases(dsn::counter_prototype *prototype, int64... function run_counter_cases (line 528) | void run_counter_cases(dsn::counter_prototype *prototype) function TEST (line 537) | TEST(metrics_test, counter) function run_volatile_counter_write_and_read (line 545) | void run_volatile_counter_write_and_read(dsn::volatile_counter_ptr... function run_volatile_counter_cases (line 640) | void run_volatile_counter_cases(dsn::volatile_counter_prototype... function TEST (line 655) | TEST(metrics_test, volatile_counter) function run_percentile (line 663) | void run_percentile(const metric_entity_ptr &my_entity, function run_percentile_cases (line 725) | void run_percentile_cases(const Prototype &prototype) class integral_checker (line 853) | class integral_checker function TEST (line 868) | TEST(metrics_test, percentile_int64) class floating_checker (line 878) | class floating_checker function TEST (line 896) | TEST(metrics_test, percentile_double) type dsn (line 122) | namespace dsn { class my_gauge (line 31) | class my_gauge : public metric method value (line 34) | int64_t value() { return _value; } method my_gauge (line 37) | explicit my_gauge(const metric_prototype *prototype) : metric(protot... method my_gauge (line 39) | my_gauge(const metric_prototype *prototype, int64_t value) : metric(... function TEST (line 124) | TEST(metrics_test, create_entity) function TEST (line 183) | TEST(metrics_test, recreate_entity) function TEST (line 211) | TEST(metrics_test, create_metric) function TEST (line 265) | TEST(metrics_test, recreate_metric) function TEST (line 276) | TEST(metrics_test, gauge_int64) function TEST (line 317) | TEST(metrics_test, gauge_double) function execute (line 358) | void execute(int64_t num_threads, std::function runner) function increment_by (line 370) | void increment_by(std::integral_constant, MetricPtr &my_me... function increment_by (line 376) | void increment_by(std::integral_constant, MetricPtr &my_m... function run_increment_by (line 383) | void run_increment_by(MetricPtr &my_metric, function run_increment (line 415) | void run_increment(MetricPtr &my_metric, function run_decrement (line 433) | void run_decrement(MetricPtr &my_metric, function run_gauge_increment_cases (line 450) | void run_gauge_increment_cases(dsn::gauge_prototype *prototyp... function run_gauge_increment_cases (line 483) | void run_gauge_increment_cases(dsn::gauge_prototype *prototype) function TEST (line 492) | TEST(metrics_test, gauge_increment) { run_gauge_increment_cases(&METRI... function run_counter_cases (line 495) | void run_counter_cases(dsn::counter_prototype *prototype, int64... function run_counter_cases (line 528) | void run_counter_cases(dsn::counter_prototype *prototype) function TEST (line 537) | TEST(metrics_test, counter) function run_volatile_counter_write_and_read (line 545) | void run_volatile_counter_write_and_read(dsn::volatile_counter_ptr... function run_volatile_counter_cases (line 640) | void run_volatile_counter_cases(dsn::volatile_counter_prototype... function TEST (line 655) | TEST(metrics_test, volatile_counter) function run_percentile (line 663) | void run_percentile(const metric_entity_ptr &my_entity, function run_percentile_cases (line 725) | void run_percentile_cases(const Prototype &prototype) class integral_checker (line 853) | class integral_checker function TEST (line 868) | TEST(metrics_test, percentile_int64) class floating_checker (line 878) | class floating_checker function TEST (line 896) | TEST(metrics_test, percentile_double) FILE: src/utils/test/nth_element_bench/nth_element_bench.cpp function print_usage (line 38) | void print_usage(const char *cmd) function run_nth_element (line 56) | int64_t run_nth_element(const std::vector &expected_elements, function run_stl_nth_element (line 75) | int64_t run_stl_nth_element(const std::vector &array, function run_bench (line 90) | void run_bench(size_t num_operations, function main (line 153) | int main(int argc, char **argv) FILE: src/utils/test/nth_element_test.cpp type dsn (line 25) | namespace dsn { function run_integral_cases (line 30) | void run_integral_cases(const typename NthElementFinder::container_typ... function run_basic_int64_cases (line 46) | void run_basic_int64_cases() function TEST (line 104) | TEST(nth_element_test, basic_int64) { run_basic_int64_cases &expect_output) function TEST (line 142) | TEST(table_printer_test, empty_content_test) function TEST (line 148) | TEST(table_printer_test, empty_name_test) function TEST (line 161) | TEST(table_printer_test, single_column_test) function TEST (line 170) | TEST(table_printer_test, multi_columns_test) function TEST (line 179) | TEST(multi_table_printer_test, empty_content_test) function TEST (line 185) | TEST(multi_table_printer_test, single_empty_sub_test) function TEST (line 193) | TEST(multi_table_printer_test, multi_sub_test) FILE: src/utils/test/percentile_utils.h function namespace (line 31) | namespace dsn { FILE: src/utils/test/priority_queue.cpp type queue_data (line 42) | struct queue_data method queue_data (line 47) | queue_data(int32_t pri, int32_t idx) : priority(pri), queue_index(idx) {} function TEST (line 51) | TEST(core, priority_queue) function TEST (line 101) | TEST(core, blocking_priority_queue) FILE: src/utils/test/rand_test.cpp type dsn (line 22) | namespace dsn { function TEST (line 24) | TEST(random, sanity) function TEST (line 65) | TEST(random, multi_threaded) FILE: src/utils/test/sema.cpp function TEST (line 40) | TEST(core, Semaphore) function TEST (line 73) | TEST(core, LightweightSemaphore) FILE: src/utils/test/smart_pointers_test.cpp function TEST (line 21) | TEST(MakeUniqueTest, Basic) type MoveOnly (line 29) | struct MoveOnly method MoveOnly (line 31) | MoveOnly() = default; method MoveOnly (line 32) | explicit MoveOnly(int i1) : ip1{new int{i1}} {} method MoveOnly (line 33) | MoveOnly(int i1, int i2) : ip1{new int{i1}}, ip2{new int{i2}} {} type AcceptMoveOnly (line 38) | struct AcceptMoveOnly method AcceptMoveOnly (line 40) | explicit AcceptMoveOnly(MoveOnly m) : m_(std::move(m)) {} function TEST (line 44) | TEST(MakeUniqueTest, MoveOnlyTypeAndValue) function TEST (line 67) | TEST(MakeUniqueTest, AcceptMoveOnly) type ArrayWatch (line 73) | struct ArrayWatch function TEST (line 88) | TEST(Make_UniqueTest, Array) function TEST (line 103) | TEST(Make_UniqueTest, NotAmbiguousWithStdMakeUnique) FILE: src/utils/test/string_conv_test.cpp function TEST (line 30) | TEST(string_conv, buf2bool) function TEST (line 61) | TEST(string_conv, buf2int32) function TEST (line 101) | TEST(string_conv, buf2int64) function TEST (line 148) | TEST(string_conv, buf2uint64) function TEST (line 192) | TEST(string_conv, buf2uint32) function TEST (line 238) | TEST(string_conv, int64_partial) function TEST (line 254) | TEST(string_conv, uint64_partial) function TEST (line 269) | TEST(string_conv, buf2double) FILE: src/utils/test/string_view_test.cpp function TEST (line 23) | TEST(StringViewTest, STL2) function TEST (line 72) | TEST(StringViewTest, STL2Substr) function TEST (line 96) | TEST(StringViewTest, Ctor) function TEST (line 140) | TEST(StringViewTest, Swap) function TEST (line 161) | TEST(StringViewTest, ComparisonOperators) function TEST (line 186) | TEST(StringViewTest, STL1) function TEST (line 232) | TEST(StringViewTest, Remove) function TEST (line 263) | TEST(StringViewTest, Set) function TEST (line 281) | TEST(StringViewTest, FrontBack) function TEST (line 289) | TEST(StringViewTest, FrontBackSingleChar) function TEST (line 297) | TEST(StringViewTest, NULLInput) function TEST (line 310) | TEST(StringViewTest, ExplicitConversionOperator) function TEST (line 316) | TEST(StringViewTest, Noexcept) function TEST (line 338) | TEST(StringViewTest, HeterogenousStringViewEquals) function TEST (line 344) | TEST(StringViewTest, FindConformance) class StringViewStreamTest (line 382) | class StringViewStreamTest : public ::testing::Test method Pad (line 387) | std::string Pad(const T &s, int width, char fill = 0) function TEST_F (line 402) | TEST_F(StringViewStreamTest, Padding) function TEST_F (line 416) | TEST_F(StringViewStreamTest, ResetsWidth) FILE: src/utils/test/time_utils_test.cpp type dsn (line 31) | namespace dsn { type utils (line 32) | namespace utils { function TEST (line 34) | TEST(time_utils, hh_mm_to_seconds) function TEST (line 55) | TEST(time_utils, get_unix_sec_today_midnight) function TEST (line 63) | TEST(time_utils, hh_mm_today_to_unix_sec) function TEST (line 82) | TEST(time_utils, get_current_physical_time_ns) function TEST (line 90) | TEST(time_utils, time_ms_to_string) FILE: src/utils/test/token_bucket_throttling_controller_test.cpp type dsn (line 21) | namespace dsn { type utils (line 22) | namespace utils { class token_bucket_throttling_controller_test (line 54) | class token_bucket_throttling_controller_test : public ::testing::Test method test_parse_env_basic_token_bucket_throttling (line 57) | void test_parse_env_basic_token_bucket_throttling() method throttle_test (line 96) | void throttle_test() function TEST_F (line 157) | TEST_F(token_bucket_throttling_controller_test, test_parse_env_basic... function TEST_F (line 162) | TEST_F(token_bucket_throttling_controller_test, throttle_test) { thr... FILE: src/utils/test/token_buckets_test.cpp type dsn (line 21) | namespace dsn { type utils (line 22) | namespace utils { class token_buckets_test (line 24) | class token_buckets_test : public testing::Test method SetUp (line 29) | void SetUp() override method token_buckets (line 34) | std::unordered_map &args) method error_code (line 106) | error_code stop(bool cleanup) override { return ERR_OK; } function TEST (line 112) | TEST(distributed_lock_service_zookeeper, simple_lock_unlock) function TEST (line 140) | TEST(distributed_lock_service_zookeeper, abnormal_api_call) function lock_test_init (line 235) | void lock_test_init() { dsn::service_app::register_factory &args) method stop (line 60) | ::dsn::error_code stop(bool cleanup = false) { return ::dsn::ERR_OK; } function GTEST_API_ (line 63) | GTEST_API_ int main(int argc, char **argv) FILE: src/zookeeper/zookeeper_error.cpp type dsn (line 40) | namespace dsn { type dist (line 41) | namespace dist { function error_code (line 43) | error_code from_zerror(int zerr) FILE: src/zookeeper/zookeeper_error.h function namespace (line 38) | namespace dsn { FILE: src/zookeeper/zookeeper_session.cpp type dsn (line 43) | namespace dsn { type security (line 44) | namespace security { type dist (line 54) | namespace dist { type dsn (line 53) | namespace dsn { type security (line 44) | namespace security { type dist (line 54) | namespace dist { FILE: src/zookeeper/zookeeper_session.h function namespace (line 43) | namespace dsn { FILE: src/zookeeper/zookeeper_session_mgr.cpp type dsn (line 42) | namespace dsn { type dist (line 43) | namespace dist { function zookeeper_session (line 57) | zookeeper_session *zookeeper_session_mgr::get_session(const service_... FILE: src/zookeeper/zookeeper_session_mgr.h function namespace (line 42) | namespace dsn {