Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/incubator-pegasus
/ functions
Functions
8,667 in github.com/apache/incubator-pegasus
⨍
Functions
8,667
◇
Types & classes
2,204
↓ 62 callers
Method
begin
string_view::begin() Returns an iterator pointing to the first character at the beginning of the `string_view`, or `end()` if the `string_view` is em
src/utils/string_view.h:197
↓ 61 callers
Method
getSingletonClient
Get the singleton client instance with default config path of "resource:///pegasus.properties". After used, should call PegasusClientFactory.closeSing
java-client/src/main/java/org/apache/pegasus/client/PegasusClientFactory.java:84
↓ 61 callers
Method
get_count
src/utils/autoref_ptr.h:88
↓ 61 callers
Method
remote_address
src/runtime/rpc/network.h:228
↓ 61 callers
Method
set
(byte[] sortKey, byte[] value, int ttlSeconds)
java-client/src/main/java/org/apache/pegasus/client/Mutations.java:46
↓ 61 callers
Method
to_string
src/replica/storage/simple_kv/test/case.cpp:97
↓ 60 callers
Method
status
src/replica/replica.h:233
↓ 59 callers
Method
code
src/utils/errors.h:109
↓ 58 callers
Method
Printf
(format string, args ...interface{})
go-client/pegalog/logger.go:36
↓ 58 callers
Method
put_partition
src/meta/meta_data.cpp:621
↓ 57 callers
Method
reset
src/server/test/capacity_unit_calculator_test.cpp:88
↓ 56 callers
Method
set
Set value. @param tableName TableHandler name @param hashKey used to decide which partition to put this k-v, if null or length == 0, means no has
java-client/src/main/java/org/apache/pegasus/client/PegasusClientInterface.java:320
↓ 55 callers
Method
Close
()
go-client/pegasus/client.go:34
↓ 55 callers
Method
port
src/runtime/rpc/rpc_host_port.h:63
↓ 54 callers
Method
contains
src/runtime/rpc/group_address.h:191
↓ 54 callers
Method
group_address
src/runtime/rpc/rpc_address.h:136
↓ 54 callers
Function
marshall
src/runtime/rpc/serialization.h:54
↓ 54 callers
Function
next_u32
\returns, as an uint32_t, a non-negative pseudo-random number in [min, max].
src/utils/rand.h:46
↓ 53 callers
Method
add
src/utils/link.h:49
↓ 53 callers
Function
safe_strerror
src/utils/safe_strerror_posix.cpp:109
↓ 52 callers
Method
create_node
src/meta/meta_state_service_utils.cpp:56
↓ 52 callers
Method
enqueue_with
src/runtime/task/task.h:394
↓ 51 callers
Method
fd
src/failure_detector/test/failure_detector.cpp:218
↓ 51 callers
Method
getValue
()
java-client/src/main/java/org/apache/pegasus/client/CheckType.java:59
↓ 51 callers
Method
reset
src/meta/meta_backup_service.h:229
↓ 51 callers
Method
start_offset
start offset in the global space
src/replica/log_file.h:181
↓ 49 callers
Function
create_directory
src/utils/filesystem.cpp:437
↓ 48 callers
Method
count
src/runtime/rpc/group_address.h:197
↓ 48 callers
Function
create_app
src/shell/commands/table_management.cpp:666
↓ 48 callers
Function
dsn_exit
src/runtime/service_api_c.cpp:220
↓ 48 callers
Method
only_one_thread_access
src/utils/thread_access_checker.cpp:37
↓ 48 callers
Function
setup
extern*/
src/utils/fail_point.cpp:98
↓ 47 callers
Method
put
src/replica/mutation_cache.cpp:69
↓ 46 callers
Function
teardown
extern*/
src/utils/fail_point.cpp:100
↓ 45 callers
Method
getTable
(String tableName)
java-client/src/main/java/org/apache/pegasus/client/PegasusClient.java:62
↓ 44 callers
Method
call
()
java-client/src/test/java/org/apache/pegasus/tools/Toollet.java:155
↓ 43 callers
Function
buf2uint64
src/utils/string_conv.h:122
↓ 43 callers
Method
closeSingletonClient
Close the singleton client instance. @throws PException throws exception if any error occurs.
java-client/src/main/java/org/apache/pegasus/client/PegasusClientFactory.java:172
↓ 43 callers
Method
instantiate
src/utils/metrics.cpp:216
↓ 42 callers
Method
code
src/runtime/task/task.h:226
↓ 42 callers
Method
get_meta_storage
src/meta/meta_service.h:149
↓ 42 callers
Method
register_command
src/utils/command_manager.cpp:41
↓ 41 callers
Function
sdslen
src/shell/sds/sds.h:90
↓ 40 callers
Method
String
String returns name of the encoding.
pegic/executor/util/encoding.go:39
↓ 40 callers
Function
equals
src/utils/strings.cpp:51
↓ 40 callers
Method
progress
Thread-safe
src/replica/duplication/replica_duplicator.h:105
↓ 40 callers
Method
reset
src/replica/prepare_list.cpp:59
↓ 40 callers
Method
to_string
src/runtime/task/task_code.cpp:122
↓ 39 callers
Function
buf2int64
src/utils/string_conv.h:112
↓ 39 callers
Function
sds_to_string
src/shell/args.h:50
↓ 38 callers
Method
execute
Execute the hooks sequentially.
src/utils/join_point.h:102
↓ 38 callers
Method
init_global_counter
init global counter create counters globally.
src/perf_counter/perf_counter_wrapper.h:92
↓ 38 callers
Method
ok
Return a success status. This function is almost zero-cost since the returned object contains merely a null pointer.
src/utils/errors.h:90
↓ 37 callers
Method
clear
src/server/hotkey_collector.cpp:360
↓ 37 callers
Method
get_aio_context
The ownership of `aio_context` is held by `aio_task`.
src/aio/aio_task.h:104
↓ 37 callers
Function
open
extern*/
src/aio/file_io.cpp:40
↓ 37 callers
Method
set_tracker
src/runtime/task/task.h:222
↓ 37 callers
Method
write_pod
src/utils/binary_writer.h:102
↓ 36 callers
Method
get_remote_storage
NOTE: prefer using mss::meta_storage instead.
src/meta/meta_service.h:148
↓ 36 callers
Method
last_durable_decree
src/replica/replica.cpp:452
↓ 35 callers
Method
call_op
src/client/partition_resolver.h:60
↓ 35 callers
Method
index
file index
src/replica/log_file.h:183
↓ 35 callers
Method
status
helper functions
src/replica/split/replica_split_manager.h:209
↓ 34 callers
Method
clear
src/utils/blob.h:179
↓ 34 callers
Method
description
src/utils/errors.h:100
↓ 34 callers
Function
file_size
src/utils/filesystem.cpp:392
↓ 34 callers
Method
open
src/replica/mutation_log.cpp:519
↓ 34 callers
Method
set_data
src/meta/meta_state_service_utils.cpp:87
↓ 34 callers
Method
tracker
src/replica/split/replica_split_manager.h:212
↓ 34 callers
Function
write
extern*/
src/aio/file_io.cpp:98
↓ 33 callers
Function
dsn_config_get_value_bool
src/utils/config_api.cpp:47
↓ 33 callers
Method
get_buffer
src/utils/binary_writer.cpp:91
↓ 33 callers
Method
output
src/utils/output_utils.cpp:97
↓ 33 callers
Function
update_flag
extern*/
src/utils/flags.cpp:387
↓ 32 callers
Method
get_app
src/meta/server_state.h:151
↓ 32 callers
Method
get_gpid
src/replica/test/replica_test_base.h:88
↓ 32 callers
Function
rename_path
src/utils/filesystem.cpp:379
↓ 32 callers
Method
set_invalid
src/runtime/rpc/rpc_address.cpp:166
↓ 31 callers
Method
GetAddress
()
go-client/idl/base/rpc_address.go:68
↓ 31 callers
Method
OpenTable
Open the specific pegasus table. If the table was opened before, it will reuse the previous connection to the table.
go-client/pegasus/client.go:38
↓ 31 callers
Function
defer
src/utils/defer.h:67
↓ 31 callers
Function
iequals
src/utils/strings.cpp:63
↓ 31 callers
Method
initialize
src/meta/meta_options.cpp:78
↓ 31 callers
Method
write
src/replica/storage/simple_kv/simple_kv.client.h:104
↓ 30 callers
Function
buf2bool
src/utils/string_conv.h:127
↓ 30 callers
Method
callMeta
`callback` always accepts non-nil `resp`.
admin-cli/client/meta.go:158
↓ 30 callers
Function
dsn_run_config
src/runtime/service_api_c.cpp:214
↓ 30 callers
Method
finalize
src/test/function_test/throttle_test/test_throttle.cpp:125
↓ 30 callers
Function
sdsfree
Free an sds string. No operation is performed if 's' is NULL. */
src/shell/sds/sds.c:158
↓ 29 callers
Method
dsn_request
src/runtime/rpc/rpc_holder.h:138
↓ 29 callers
Method
duration_ms
src/replica/replica_context.h:225
↓ 29 callers
Function
enqueue_timer
src/runtime/task/async_calls.h:95
↓ 29 callers
Method
incr
sync version of Incr, please refer to the async version {@link #asyncIncr(byte[], byte[], long, int, int)}
java-client/src/main/java/org/apache/pegasus/client/PegasusTableInterface.java:1271
↓ 29 callers
Method
notify
src/utils/synchronize.h:99
↓ 29 callers
Function
read
extern*/
src/aio/file_io.cpp:70
↓ 28 callers
Function
call
src/runtime/rpc/rpc_holder.h:363
↓ 28 callers
Method
empty
src/meta/test/balancer_simulator/balancer_simulator.cpp:72
↓ 28 callers
Function
next_u64
\returns, as an uint64_t, a non-negative pseudo-random number in [0, n). If n == 0, it returns 0.
src/utils/rand.h:35
↓ 27 callers
Function
DEFINE_TASK_CODE_RPC
src/runtime/test/netprovider.cpp:79
↓ 27 callers
Method
call
(ctx context.Context, args RpcRequestArgs, rpcName string)
go-client/session/meta_session.go:40
← previous
next →
101–200 of 8,667, ranked by callers