Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/baidu/sofa-pbrpc
/ functions
Functions
2,048 in github.com/baidu/sofa-pbrpc
⨍
Functions
2,048
◇
Types & classes
565
↓ 2 callers
Function
json2field
src/sofa/pbrpc/pbjson.cc:278
↓ 2 callers
Method
last_rw_ticks
Get the last time ticks for read or write.
src/sofa/pbrpc/rpc_byte_stream.h:273
↓ 2 callers
Method
lock
src/sofa/pbrpc/smart_ptr/detail/spinlock_pt.hpp:35
↓ 2 callers
Method
max_pending_buffer_size
Get the max size of pending buffer for send.
src/sofa/pbrpc/rpc_message_stream.h:117
↓ 2 callers
Function
parse_json
src/sofa/pbrpc/pbjson.cc:467
↓ 2 callers
Method
pending_buffer_size
Get the current buffer size occupied by the pending queue. This size may be larger than "pending_data_size".
src/sofa/pbrpc/rpc_message_stream.h:136
↓ 2 callers
Method
pending_process_count
Get pending process count.
src/sofa/pbrpc/rpc_client_stream.h:50
↓ 2 callers
Method
read_quota_token
Get read quota token used for sorting the trigger order. Always no more than 0.
src/sofa/pbrpc/rpc_message_stream.h:159
↓ 2 callers
Method
recharge_read_quota
Recharge read quota. @param quota the quota to recharge.
src/sofa/pbrpc/flow_controller.h:34
↓ 2 callers
Method
recharge_write_quota
Recharge write quota. @param quota the quota to recharge.
src/sofa/pbrpc/flow_controller.h:58
↓ 2 callers
Method
release
src/sofa/pbrpc/smart_ptr/detail/sp_counted_base_gcc_x86.hpp:128
↓ 2 callers
Method
replace
src/sofa/pbrpc/string_utils.cc:107
↓ 2 callers
Method
send_response
Send response message. No timeout is set for sending response. If send done, on mater succeed or failed, SendResponseCallback will be called. @param
src/sofa/pbrpc/rpc_server_stream.h:91
↓ 2 callers
Method
set_accept_callback
src/sofa/pbrpc/rpc_listener.h:79
↓ 2 callers
Method
set_accept_fail_callback
src/sofa/pbrpc/rpc_listener.h:86
↓ 2 callers
Method
set_closed_stream_callback
Set the callback function when closed stream.
src/sofa/pbrpc/rpc_client_stream.h:37
↓ 2 callers
Method
set_create_callback
src/sofa/pbrpc/rpc_listener.h:72
↓ 2 callers
Method
set_dest_func
src/sofa/pbrpc/io_service_pool.h:31
↓ 2 callers
Method
set_flow_controller
Set the flow controller.
src/sofa/pbrpc/rpc_message_stream.h:105
↓ 2 callers
Method
set_init_func
src/sofa/pbrpc/io_service_pool.h:26
↓ 2 callers
Method
set_no_delay
src/sofa/pbrpc/rpc_byte_stream.h:61
↓ 2 callers
Method
set_write_buffer_base_block_factor
src/sofa/pbrpc/rpc_request.h:105
↓ 2 callers
Method
start_listen
Start listen. Return false if failed.
src/sofa/pbrpc/rpc_listener.h:92
↓ 2 callers
Method
swap
src/sofa/pbrpc/rpc_timeout_manager.h:239
↓ 2 callers
Method
swap
src/sofa/pbrpc/smart_ptr/scoped_ptr.hpp:76
↓ 2 callers
Method
swap
src/sofa/pbrpc/smart_ptr/scoped_array.hpp:72
↓ 2 callers
Function
touch_boost_error_category
Use for affecting global/static variables' construct/destruct order.
src/sofa/pbrpc/common_internal.h:87
↓ 2 callers
Method
trigger_receive
Trigger receiving operator. @return true if suceessfully triggered
src/sofa/pbrpc/rpc_message_stream.h:143
↓ 2 callers
Method
trigger_send
Trigger sending operator. @return true if suceessfully triggered
src/sofa/pbrpc/rpc_message_stream.h:151
↓ 2 callers
Method
unique
src/sofa/pbrpc/smart_ptr/shared_ptr.hpp:276
↓ 2 callers
Function
usage
src/sofa/pbrpc/http-agent/sofa_pbrpc_client.cc:25
↓ 2 callers
Method
write_quota_token
Get write quota token used for sorting the trigger order. Always no more than 0.
src/sofa/pbrpc/rpc_message_stream.h:166
↓ 1 callers
Method
Add
unit-test/test_ext_closure.cc:681
↓ 1 callers
Method
Begin
Element iterator
src/rapidjson/document.h:370
↓ 1 callers
Method
CallMethod
src/sofa/pbrpc/http-agent/http_agent.cc:158
↓ 1 callers
Method
Clear
Remove all elements in the array. ! This function do not deallocate memory in the array, i.e. the capacity is unchanged. */
src/rapidjson/document.h:344
↓ 1 callers
Method
Double
src/rapidjson/reader.h:85
↓ 1 callers
Method
Double
src/rapidjson/document.h:776
↓ 1 callers
Method
Echo
sample/compress_sample/server.cc:17
↓ 1 callers
Method
Echo
test/kill_test/echo_server.cc:21
↓ 1 callers
Method
End
src/rapidjson/document.h:371
↓ 1 callers
Method
EndArray
src/rapidjson/document.h:794
↓ 1 callers
Method
EndObject
src/rapidjson/document.h:787
↓ 1 callers
Method
ErrorText
If Failed is true, returns a human-readable description of the error.
python/sofa/pbrpc/client.py:79
↓ 1 callers
Method
Failed
Returns true if the call failed. After a call has finished, returns true if the call failed. It is usually caused by controller.SetFailed() i
python/sofa/pbrpc/client.py:66
↓ 1 callers
Method
FillFromMethodDescriptor
src/sofa/pbrpc/rpc_controller_impl.h:231
↓ 1 callers
Method
FindOperationType
src/sofa/pbrpc/profiling.cc:201
↓ 1 callers
Method
Free
src/rapidjson/rapidjson.h:137
↓ 1 callers
Method
GetCapacity
src/rapidjson/internal/stack.h:68
↓ 1 callers
Method
GetErrorOffset
Get the offset in character of the parsing error.
src/rapidjson/document.h:755
↓ 1 callers
Function
GetHostName
src/sofa/pbrpc/web_service.cc:18
↓ 1 callers
Method
GetInitAddress
sample/multi_server_sample/client.cc:32
↓ 1 callers
Method
GetMockMethod
src/sofa/pbrpc/mock_test_helper_impl.h:35
↓ 1 callers
Method
GetParseError
Get the message of parsing error.
src/rapidjson/document.h:752
↓ 1 callers
Method
GetRequest
src/sofa/pbrpc/http_rpc_request_parser.cc:115
↓ 1 callers
Method
GetStringLength
Get the length of string. ! Since rapidjson permits "\u0000" in the json string, strlen(v.GetString()) may not equal to v.GetStringLength(). */
src/rapidjson/document.h:452
↓ 1 callers
Method
GetWebService
src/sofa/pbrpc/rpc_server_impl.cc:605
↓ 1 callers
Method
Init
src/sofa/pbrpc/profiling.cc:154
↓ 1 callers
Method
Init
src/sofa/pbrpc/dynamic_rpc_channel_impl.cc:64
↓ 1 callers
Method
InitBuiltinService
src/sofa/pbrpc/dynamic_rpc_channel_impl.cc:645
↓ 1 callers
Method
InitChannel
src/sofa/pbrpc/dynamic_rpc_channel_impl.cc:612
↓ 1 callers
Method
Int
src/rapidjson/reader.h:81
↓ 1 callers
Method
Int
src/rapidjson/document.h:772
↓ 1 callers
Method
Int64
src/rapidjson/reader.h:83
↓ 1 callers
Method
Int64
src/rapidjson/document.h:774
↓ 1 callers
Method
IsHttp
src/sofa/pbrpc/rpc_controller.cc:85
↓ 1 callers
Method
IsStartCancel
src/sofa/pbrpc/rpc_controller_impl.h:204
↓ 1 callers
Method
IsString
src/rapidjson/document.h:206
↓ 1 callers
Function
LZ4_compress
src/sofa/pbrpc/lz4.cc:626
↓ 1 callers
Function
LZ4_compressBound
src/sofa/pbrpc/lz4.cc:336
↓ 1 callers
Function
LZ4_uncompress_unknownOutputSize
src/sofa/pbrpc/lz4.cc:740
↓ 1 callers
Method
MemberBegin
Member iterators.
src/rapidjson/document.h:243
↓ 1 callers
Method
MemberEnd
src/rapidjson/document.h:244
↓ 1 callers
Method
Null
src/rapidjson/reader.h:79
↓ 1 callers
Method
Null
Implementation of Handler
src/rapidjson/document.h:770
↓ 1 callers
Function
NullFunction
unit-test/test_ext_closure.cc:669
↓ 1 callers
Method
Parse
src/sofa/pbrpc/http_rpc_request_parser.cc:55
↓ 1 callers
Method
ParsePath
src/sofa/pbrpc/http_rpc_request.cc:205
↓ 1 callers
Function
Pow10
Computes integer powers of 10 in double (10.0^n). ! This function uses lookup table for fast and accurate results. \param n positive/negative exponen
src/rapidjson/internal/pow10.h:12
↓ 1 callers
Method
ProcessRequest
src/sofa/pbrpc/http_rpc_request.cc:57
↓ 1 callers
Method
ProfilingPage
src/sofa/pbrpc/profiling.cc:214
↓ 1 callers
Method
Put
src/rapidjson/rapidjson.h:470
↓ 1 callers
Method
PutBegin
Not implemented
src/rapidjson/filestream.h:24
↓ 1 callers
Method
PutEnd
src/rapidjson/filestream.h:25
↓ 1 callers
Function
PutN
src/rapidjson/rapidjson.h:448
↓ 1 callers
Function
Readlink
src/sofa/pbrpc/profiling.cc:141
↓ 1 callers
Method
ReceiveResponse
Receive response from the remote peer.
python/sofa/pbrpc/client.py:211
↓ 1 callers
Method
RegisterEventHandler
sample/multi_server_sample/client.cc:37
↓ 1 callers
Method
RegisterService
src/sofa/pbrpc/rpc_server_impl.cc:300
↓ 1 callers
Method
RegisterWebServlet
src/sofa/pbrpc/rpc_server.cc:82
↓ 1 callers
Method
Reload
sample/multi_server_sample/client.cc:43
↓ 1 callers
Method
RequestCompressType
src/sofa/pbrpc/rpc_controller_impl.h:55
↓ 1 callers
Method
ResetOptions
src/sofa/pbrpc/rpc_server.cc:57
↓ 1 callers
Method
ResolveAddress
src/sofa/pbrpc/rpc_client_impl.cc:359
↓ 1 callers
Method
RoutePage
src/sofa/pbrpc/web_service.cc:207
↓ 1 callers
Method
RpcClientStream
src/sofa/pbrpc/rpc_client_stream.h:22
↓ 1 callers
Method
SendRequest
Send request to the remote peer.
python/sofa/pbrpc/client.py:196
↓ 1 callers
Method
SendResponse
src/sofa/pbrpc/http_rpc_request.cc:271
↓ 1 callers
Method
SequenceId
src/sofa/pbrpc/binary_rpc_request.cc:31
↓ 1 callers
Method
ServerOptions
src/sofa/pbrpc/web_service.cc:414
← previous
next →
201–300 of 2,048, ranked by callers