Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/brpc
/ functions
Functions
9,470 in github.com/apache/brpc
⨍
Functions
9,470
◇
Types & classes
2,508
↓ 61 callers
Method
assign
src/butil/single_iobuf.cpp:206
↓ 61 callers
Method
ok
Returns true iff the status indicates success.
src/butil/status.h:87
↓ 59 callers
Method
fetch_sub
src/butil/atomicops.h:305
↓ 58 callers
Function
IsAskedToQuit
src/brpc/controller.cpp:1663
↓ 58 callers
Function
VerifyPathControlledByUser
src/butil/file_util_posix.cc:759
↓ 58 callers
Method
length
src/butil/strings/string_piece.h:210
↓ 58 callers
Method
move_to
src/brpc/builtin/vars_service.cpp:297
↓ 57 callers
Method
unlock
src/brpc/couchbase.h:88
↓ 56 callers
Function
cpuwide_time_ns
--------------------------------------------------------------- Get cpu-wide (wall-) time. Cost ~9ns on Intel(R) Xeon(R) CPU E5620 @ 2.40GHz ---------
src/butil/time.h:281
↓ 56 callers
Method
load
NOTE: the memory_order parameters must be present.
src/butil/atomicops.h:293
↓ 56 callers
Method
rfind
rfind: Reverse find.
src/butil/strings/string_piece.h:329
↓ 55 callers
Method
CallMethod
src/brpc/channel.cpp:446
↓ 54 callers
Method
set_bad
If the error prevents parsing from going on, call this method. This method is also called in other functions in this class.
src/mcpack2pb/parser.h:77
↓ 53 callers
Function
bthread_id_join
src/bthread/id.cpp:513
↓ 53 callers
Method
expose
Expose this variable globally so that it's counted in following functions: list_exposed count_exposed describe_exposed find_exposed Return 0 on succes
src/bvar/variable.h:149
↓ 52 callers
Method
begin
src/butil/strings/string_piece.h:274
↓ 51 callers
Function
Truncated
Helper used to test TruncateUTF8ToByteSize.
test/string_util_unittest.cc:57
↓ 51 callers
Method
end
src/butil/strings/string_piece.h:275
↓ 51 callers
Method
response
Response of the RPC call (passed to CallMethod)
src/brpc/controller.h:222
↓ 50 callers
Method
Next
src/butil/iobuf.cpp:1826
↓ 50 callers
Method
Stop
src/brpc/server.cpp:1286
↓ 50 callers
Function
gettimeofday_us
-------------------------------------------------------------------- Get elapse since the Epoch. No gettimeofday_ns() because resolution of timeval is
src/butil/time.h:338
↓ 50 callers
Method
method
Get the called method. May-be NULL for non-pb services.
src/brpc/controller.h:294
↓ 49 callers
Method
unlock
src/bthread/mutex.cpp:1155
↓ 48 callers
Function
AssertIOAllowed
src/butil/threading/thread_restrictions.h:170
↓ 48 callers
Function
SafeSNPrintf
src/butil/strings/safe_sprintf.h:196
↓ 47 callers
Method
IsValid
test/file_util_unittest.cc:148
↓ 47 callers
Method
expose_as
Expose this variable with a prefix. Example: namespace foo { namespace bar { class ApplePie { ApplePie() { // foo_bar_apple_pie_error _error.expose_as
src/bvar/variable.h:169
↓ 47 callers
Method
latency_us
This function has different meanings in client and server side. In client side it gets latency of the RPC call. While in server side, it gets queue ti
src/brpc/controller.h:214
↓ 47 callers
Method
set_status_code
src/brpc/http_header.cpp:122
↓ 46 callers
Method
Init
example/rdma_performance/client.cpp:103
↓ 46 callers
Method
exchange
src/bthread/task_group_inl.h:49
↓ 46 callers
Function
pthread_mutex_unlock
src/bthread/mutex.cpp:1324
↓ 45 callers
Function
CreateTextFile
Simple function to dump some text into a new file.
test/file_util_unittest.cc:246
↓ 45 callers
Method
copy_to
src/butil/iobuf.cpp:1295
↓ 45 callers
Method
error_code
src/brpc/span.h:174
↓ 45 callers
Method
find_last_of
find_last_of: Find the last occurence of one of a set of characters.
src/butil/strings/string_piece.h:356
↓ 45 callers
Method
pop_back
src/butil/iobuf.cpp:676
↓ 45 callers
Method
size
src/mcpack2pb/parser.h:106
↓ 44 callers
Function
DeleteFile
TODO(erikkay): The Windows version of this accepts paths like "foo/bar/*" which works both with and without the recursive flag. I'm not sure we need
src/butil/file_util_posix.cc:199
↓ 44 callers
Method
Read
src/brpc/rtmp.cpp:228
↓ 44 callers
Function
endpoint2str
src/butil/endpoint.cpp:168
↓ 44 callers
Method
format
Override Layout::format to have shorter prefixes. Patterns are just ignored.
src/butil/comlog_sink.cc:57
↓ 44 callers
Method
get
src/butil/thread_key.h:172
↓ 44 callers
Method
status_code
Get/set status-code and reason-phrase. Notice that the const char returned by reason_phrase() will be invalidated after next call to set_status_code()
src/brpc/http_header.h:136
↓ 43 callers
Method
HasFile
Returns true if the enumerator found the file.
test/file_util_unittest.cc:233
↓ 43 callers
Function
to_str
test/iobuf_unittest.cpp:134
↓ 42 callers
Function
IsStringUTF8
src/butil/strings/string_util.cc:362
↓ 42 callers
Method
empty
True if there's no samples.
src/bvar/detail/percentile.h:238
↓ 42 callers
Method
empty
src/butil/containers/flat_map.h:274
↓ 42 callers
Function
get
src/butil/object_pool_inl.h:225
↓ 42 callers
Method
init
tools/rpc_press/rpc_press_impl.cpp:58
↓ 42 callers
Method
log_id
src/brpc/span.h:167
↓ 42 callers
Method
set_log_id
src/brpc/span.h:125
↓ 42 callers
Function
swap
src/brpc/uri.h:270
↓ 42 callers
Method
token
src/butil/strings/string_tokenizer.h:149
↓ 41 callers
Method
key
src/brpc/uri.h:222
↓ 41 callers
Method
life_cycle_state
test/scoped_vector_unittest.cc:84
↓ 40 callers
Function
HostToNet32
src/butil/sys_byteorder.h:124
↓ 40 callers
Method
Modify
src/butil/containers/doubly_buffered_data.h:514
↓ 40 callers
Function
bit_array_set
Set i-th bit (from left, counting from 0) of |array| to be 1
src/butil/bit_array.h:56
↓ 40 callers
Function
fast_rand_less_than
src/butil/fast_rand.cpp:100
↓ 40 callers
Function
move
src/butil/unique_ptr.h:76
↓ 40 callers
Method
received_us
src/brpc/nshead_service.h:53
↓ 40 callers
Method
sub
src/brpc/controller.cpp:1392
↓ 39 callers
Method
AddChannel
src/brpc/parallel_channel.cpp:469
↓ 39 callers
Function
MakeH2Error
src/brpc/policy/http2_rpc_protocol.h:60
↓ 39 callers
Method
_ref_num
src/butil/iobuf_inl.h:153
↓ 39 callers
Method
find_first_of
find_first_of: Find the first occurence of one of a set of characters.
src/butil/strings/string_piece.h:338
↓ 39 callers
Method
get_stats
src/bvar/multi_dimension.h:117
↓ 39 callers
Function
pthread_mutex_lock
src/bthread/mutex.cpp:1309
↓ 39 callers
Method
u_elapsed
src/butil/time.h:411
↓ 38 callers
Function
DoNothing
src/brpc/controller.cpp:1675
↓ 38 callers
Method
content_str
src/butil/logging.h:976
↓ 38 callers
Method
find_last_not_of
find_last_not_of: Find the last occurence not of a set of characters.
src/butil/strings/string_piece.h:366
↓ 38 callers
Method
store
src/bthread/task_group.cpp:107
↓ 37 callers
Function
Join
src/brpc/controller.cpp:593
↓ 37 callers
Method
value
src/brpc/uri.h:223
↓ 36 callers
Method
AddSample
src/brpc/policy/auto_concurrency_limiter.cpp:155
↓ 36 callers
Method
as_string
src/butil/strings/string_piece.h:262
↓ 36 callers
Function
bthread_id_unlock_and_destroy
src/bthread/id.cpp:609
↓ 36 callers
Method
compare_exchange_strong
src/butil/atomicops.h:300
↓ 36 callers
Method
fname
Get name of the temporary file.
src/butil/files/temp_file.h:62
↓ 35 callers
Function
WriteAMFString
src/brpc/amf.cpp:944
↓ 35 callers
Method
capacity
src/butil/iobuf.h:103
↓ 35 callers
Method
default_method
test/brpc_mongo_protocol_unittest.cpp:52
↓ 35 callers
Method
id
src/brpc/versioned_ref_with_id.h:264
↓ 35 callers
Method
sub_count
src/brpc/controller.cpp:1384
↓ 34 callers
Function
WriteBigEndian4Bytes
src/brpc/policy/rtmp_protocol.h:618
↓ 34 callers
Method
error_cstr
Return a string representation of the status. Returns "OK" for success. NOTICE: You can print a Status to std::ostream directly if message contains '\
src/butil/status.h:99
↓ 34 callers
Method
m_elapsed
src/butil/time.h:412
↓ 34 callers
Function
min_width
src/brpc/builtin/common.h:134
↓ 34 callers
Method
resize
src/brpc/builtin/tabbed.h:45
↓ 33 callers
Method
Echo
test/brpc_rdma_unittest.cpp:91
↓ 33 callers
Function
PrintToStderr
src/butil/debug/stack_trace_posix.cc:204
↓ 33 callers
Function
bthread_mutex_unlock
src/bthread/mutex.cpp:1254
↓ 33 callers
Method
count
src/butil/containers/small_map.h:534
↓ 33 callers
Method
ends_with
Does "this" end with "x"
src/butil/strings/string_piece.h:313
↓ 33 callers
Method
find_first_not_of
find_first_not_of: Find the first occurence not of a set of characters.
src/butil/strings/string_piece.h:347
↓ 33 callers
Method
starts_with
Does "this" start with "x"
src/butil/strings/string_piece.h:307
← previous
next →
101–200 of 9,470, ranked by callers