Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/baidu/braft
/ functions
Functions
1,359 in github.com/baidu/braft
⨍
Functions
1,359
◇
Types & classes
311
↓ 182 callers
Method
size
test/memory_file_system_adaptor.h:91
↓ 141 callers
Method
append
src/braft/log.cpp:363
↓ 141 callers
Method
node_id
src/braft/raft.cpp:149
↓ 137 callers
Method
size
src/braft/file_system_adaptor.cpp:50
↓ 130 callers
Method
wait
test/test_node.cpp:2917
↓ 126 callers
Method
set_error
src/braft/fsm_caller.cpp:245
↓ 122 callers
Method
to_string
src/braft/configuration.h:131
↓ 119 callers
Method
unlock
test/util.h:60
↓ 117 callers
Method
init
Initialize
test/test_snapshot_executor.cpp:146
↓ 112 callers
Method
get
src/braft/log.cpp:445
↓ 102 callers
Method
empty
src/braft/node.cpp:2935
↓ 94 callers
Method
end
src/braft/configuration.h:174
↓ 88 callers
Method
start
test/util.h:234
↓ 86 callers
Method
load
src/braft/log.cpp:250
↓ 81 callers
Method
reset
test/test_fsm_caller.cpp:86
↓ 72 callers
Method
begin
src/braft/configuration.h:173
↓ 70 callers
Method
add_peer
src/braft/node.cpp:844
↓ 66 callers
Method
leader
test/util.h:329
↓ 64 callers
Method
apply
src/braft/node.cpp:647
↓ 63 callers
Method
clear
src/braft/node.cpp:3025
↓ 62 callers
Method
wait_leader
test/util.h:372
↓ 53 callers
Method
last_log_index
src/braft/log.cpp:710
↓ 52 callers
Method
term
src/braft/raft.cpp:258
↓ 47 callers
Method
store
src/braft/node.cpp:2939
↓ 46 callers
Method
parse
src/braft/configuration.h:59
↓ 38 callers
Method
close
test/memory_file_system_adaptor.h:100
↓ 37 callers
Method
stop
test/util.h:291
↓ 34 callers
Method
followers
test/util.h:342
↓ 32 callers
Method
ensure_same
test/util.h:419
↓ 31 callers
Method
get_term_and_votedfor
[NOTICE] Conflict cases may occur in this mode, it's important to ensure consistency 1. Single is newer than Merged: case 1: upgrade storage from Sing
src/braft/raft_meta.cpp:300
↓ 30 callers
Method
append_entries
src/braft/log.cpp:714
↓ 30 callers
Method
first_index
src/braft/node.cpp:2925
↓ 30 callers
Method
peer_id
test/test_cli.cpp:73
↓ 30 callers
Function
run_closure_in_bthread
src/braft/util.cpp:259
↓ 30 callers
Method
stop_all
test/util.h:310
↓ 29 callers
Method
first_log_index
src/braft/log_manager.cpp:148
↓ 29 callers
Method
lock
test/util.h:56
↓ 25 callers
Method
get_leader_lease_status
src/braft/node.cpp:3349
↓ 24 callers
Function
add_file_meta
test/test_snapshot.cpp:445
↓ 24 callers
Function
add_service
src/braft/raft.cpp:89
↓ 24 callers
Method
data
example/block/server.cpp:58
↓ 24 callers
Method
get_path
src/braft/snapshot.cpp:159
↓ 24 callers
Method
set_term_and_votedfor
src/braft/raft_meta.cpp:270
↓ 24 callers
Method
swap
src/braft/ballot.h:34
↓ 23 callers
Method
delete_file
test/memory_file_system_adaptor.h:164
↓ 23 callers
Method
get_entry
src/braft/log.cpp:779
↓ 23 callers
Method
list_peers
src/braft/node.cpp:835
↓ 22 callers
Function
state2str
src/braft/raft.h:283
↓ 21 callers
Method
reserve
src/braft/node.cpp:3440
↓ 20 callers
Method
create
create new snapshot writer
test/test_snapshot_executor.cpp:149
↓ 20 callers
Method
grant
src/braft/ballot.cpp:48
↓ 19 callers
Method
set_file_system_adaptor
src/braft/snapshot.cpp:704
↓ 18 callers
Method
last_log_id
src/braft/log_manager.cpp:190
↓ 18 callers
Method
save_meta
test/test_fsm_caller.cpp:192
↓ 17 callers
Method
is_empty
src/braft/configuration.h:55
↓ 17 callers
Method
read
test/memory_file_system_adaptor.h:78
↓ 17 callers
Method
snapshot
src/braft/node.cpp:912
↓ 16 callers
Method
name
src/braft/file_system_adaptor.cpp:35
↓ 16 callers
Method
open
test/test_snapshot.cpp:61
↓ 15 callers
Method
close
src/braft/log.cpp:512
↓ 15 callers
Method
equals
True if peers are same.
src/braft/configuration.h:222
↓ 15 callers
Method
reset
src/braft/node.cpp:3244
↓ 15 callers
Method
start
src/braft/node.cpp:3119
↓ 14 callers
Method
directory_exists
test/memory_file_system_adaptor.h:245
↓ 14 callers
Method
granted
src/braft/ballot.h:44
↓ 14 callers
Method
leader_id
src/braft/raft.cpp:153
↓ 14 callers
Method
shutdown
src/braft/node.cpp:929
↓ 13 callers
Method
check_and_set_configuration
src/braft/log_manager.cpp:786
↓ 13 callers
Method
committed_index
test/test_ballot_box.cpp:87
↓ 13 callers
Method
destroy
src/braft/storage.cpp:57
↓ 13 callers
Method
done
src/braft/raft.cpp:264
↓ 13 callers
Method
response
example/block/server.cpp:56
↓ 13 callers
Method
stop
src/braft/replicator.cpp:148
↓ 13 callers
Function
update_leader
src/braft/route_table.cpp:152
↓ 12 callers
Method
commit_at
src/braft/ballot_box.cpp:49
↓ 12 callers
Method
contains
src/braft/replicator.cpp:1423
↓ 12 callers
Method
fetch_add
Impelements Service methods
example/counter/server.cpp:102
↓ 12 callers
Function
follower_append_entries
test/test_node.cpp:2933
↓ 12 callers
Method
log_index
src/braft/raft.h:337
↓ 12 callers
Method
remove_peer
src/braft/node.cpp:851
↓ 12 callers
Method
set_server_addr
src/braft/snapshot.h:205
↓ 12 callers
Method
throttled_by_throughput
src/braft/snapshot_throttle.cpp:49
↓ 11 callers
Function
create_sub_directory
src/braft/file_system_adaptor.cpp:256
↓ 11 callers
Method
join
test/test_log_manager.cpp:58
↓ 11 callers
Method
join
test/test_snapshot_executor.cpp:208
↓ 11 callers
Function
murmurhash32
src/braft/util.h:188
↓ 11 callers
Method
path_exists
test/memory_file_system_adaptor.h:238
↓ 11 callers
Method
set_type
src/braft/raft.h:70
↓ 11 callers
Method
transfer_leadership_to
src/braft/node.cpp:1132
↓ 10 callers
Method
Run
src/braft/node.cpp:1917
↓ 10 callers
Method
_notify_on_caught_up
src/braft/replicator.cpp:913
↓ 10 callers
Function
is_zero
http://stackoverflow.com/questions/1493936/faster-approach-to-checking-for-an-all-zero-buffer-in-c
src/braft/util.h:176
↓ 10 callers
Method
open
get lastest snapshot reader
test/test_snapshot_executor.cpp:159
↓ 10 callers
Method
parse_from
src/braft/configuration.cpp:36
↓ 10 callers
Method
truncate_suffix
src/braft/log.cpp:891
↓ 9 callers
Method
Run
src/braft/fsm_caller.cpp:219
↓ 9 callers
Method
append_entry
src/braft/log.cpp:762
↓ 9 callers
Method
change_peers
src/braft/node.cpp:858
↓ 9 callers
Method
close
close snapshot writer
test/test_snapshot_executor.cpp:154
↓ 9 callers
Function
default_file_system
src/braft/file_system_adaptor.cpp:225
next →
1–100 of 1,359, ranked by callers