Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/alibaba/async_simple
/ functions
Functions
4,345 in github.com/alibaba/async_simple
⨍
Functions
4,345
◇
Types & classes
2,547
↓ 259 callers
Function
throw_error
demo_example/asio/asio/detail/throw_error.hpp:31
↓ 253 callers
Method
size
demo_example/asio/asio/detail/socket_option.hpp:290
↓ 223 callers
Method
via
Set the executor for the future. This only works for rvalue. So the original future shouldn't be accessed after setting an executor. The user should u
async_simple/Future.h:182
↓ 180 callers
Function
allocate
demo_example/asio/asio/detail/thread_info_base.hpp:119
↓ 174 callers
Method
value
async_simple/Try.h:169
↓ 151 callers
Method
data
demo_example/asio/asio/detail/socket_option.hpp:276
↓ 109 callers
Function
invoke
demo_example/asio/asio/detail/handler_invoke_helpers.hpp:42
↓ 107 callers
Function
syncAwait
async_simple/coro/SyncAwait.h:34
↓ 104 callers
Method
size
demo_example/asio/asio/ip/detail/socket_option.hpp:228
↓ 88 callers
Function
is_continuation
demo_example/asio/asio/detail/handler_cont_helpers.hpp:30
↓ 83 callers
Function
buffer
Create a new modifiable buffer from an existing buffer. * @returns <tt>mutable_buffer(b)</tt>. */
demo_example/asio/asio/buffer.hpp:909
↓ 74 callers
Method
context
Push the key on to the stack.
demo_example/asio/asio/detail/call_stack.hpp:39
↓ 72 callers
Function
get
Forwards the request to get the executor to the associator specialisation for the unwrapped type @c T.
demo_example/asio/asio/associated_executor.hpp:208
↓ 71 callers
Function
query
Query the occupancy (recommended number of work items) for the pool. * Do not call this function directly. It is intended for use with the * asio::
demo_example/asio/asio/thread_pool.hpp:557
↓ 70 callers
Function
get_associated_cancellation_slot
demo_example/asio/asio/associated_cancellation_slot.hpp:125
↓ 66 callers
Method
get
get is only allowed on rvalue, aka, Future is not valid after get invoked. Get value blocked thread when the future doesn't have a value. If future i
async_simple/Future.h:141
↓ 65 callers
Method
buffers
demo_example/asio/asio/detail/buffer_sequence_adapter.hpp:119
↓ 61 callers
Method
size
async_simple/util/Queue.h:95
↓ 60 callers
Method
count
demo_example/asio/asio/detail/buffer_sequence_adapter.hpp:124
↓ 58 callers
Method
reset
Reset pointer.
demo_example/asio/asio/detail/scoped_ptr.hpp:60
↓ 56 callers
Method
setValue
async_simple/Promise.h:104
↓ 55 callers
Method
getFuture
async_simple/Promise.h:78
↓ 55 callers
Method
start
async_simple/coro/Lazy.h:414
↓ 53 callers
Method
wait
blocks until the counter reaches zero If the counter is not 0, the current coroutine will be suspended
async_simple/coro/Latch.h:62
↓ 51 callers
Method
complete
demo_example/asio/asio/detail/handler_work.hpp:468
↓ 47 callers
Function
deallocate
demo_example/asio/asio/detail/thread_info_base.hpp:125
↓ 47 callers
Method
resize
demo_example/asio/asio/detail/socket_option.hpp:297
↓ 46 callers
Method
data
demo_example/asio/asio/ip/detail/socket_option.hpp:214
↓ 45 callers
Function
prefer
demo_example/asio/asio/any_io_executor.hpp:195
↓ 44 callers
Method
max_size
Get the maximum size of the basic_streambuf. * @returns The allowed maximum of the sum of the sizes of the input sequence * and output sequence.
demo_example/asio/asio/basic_streambuf.hpp:168
↓ 42 callers
Function
bind_handler
demo_example/asio/asio/detail/bind_handler.hpp:130
↓ 42 callers
Method
end
Get an iterator for the end of the map.
demo_example/asio/asio/detail/hash_map.hpp:93
↓ 42 callers
Method
frame
demo_example/asio/asio/impl/use_awaitable.hpp:49
↓ 41 callers
Method
protocol
Obtain an identifier for the protocol.
demo_example/asio/asio/ip/tcp.hpp:70
↓ 40 callers
Function
my_sleep
async_simple/coro/test/LazyTest.cpp:1401
↓ 39 callers
Function
context_ptr
demo_example/asio/asio/io_context.hpp:1140
↓ 39 callers
Function
getValue
async_simple/coro/test/LazyTest.cpp:1673
↓ 38 callers
Function
logicAssert
Different from assert, logicAssert is meaningful in release mode. logicAssert should be used in case that we need to make assumption for users. In ano
async_simple/Common.h:32
↓ 38 callers
Method
thenValue
async_simple/Future.h:200
↓ 36 callers
Function
begin
Obtain a begin iterator for the results range.
demo_example/asio/asio/ip/basic_resolver_results.hpp:251
↓ 36 callers
Function
create
Create results from an addrinfo list returned by getaddrinfo.
demo_example/asio/asio/ip/basic_resolver_results.hpp:124
↓ 34 callers
Method
capacity
Get the capacity of the endpoint in the native type.
demo_example/asio/asio/ip/detail/endpoint.hpp:84
↓ 34 callers
Function
post
demo_example/asio/asio/impl/post.hpp:229
↓ 33 callers
Method
family
Obtain an identifier for the protocol family.
demo_example/asio/asio/ip/tcp.hpp:76
↓ 33 callers
Method
open
Open the serial port using the specified device name. * This function opens the serial port for the specified device name. * * @param device The
demo_example/asio/asio/basic_serial_port.hpp:344
↓ 33 callers
Method
unlock
Unlock the mutex.
demo_example/asio/asio/detail/win_mutex.hpp:53
↓ 31 callers
Function
to_string
demo_example/http/http_response.hpp:243
↓ 31 callers
Function
transfer_all
demo_example/asio/asio/completion_condition.hpp:138
↓ 30 callers
Method
emits
async_simple/Signal.h:454
↓ 30 callers
Method
unlock
Unlock the mutex. If there are other coroutines waiting to lock the mutex then this will schedule the resumption of the next coroutine in the queue.
async_simple/coro/Mutex.h:106
↓ 29 callers
Function
buffer_sequence_begin
demo_example/asio/asio/buffer.hpp:388
↓ 29 callers
Function
throw_exception
demo_example/asio/asio/detail/throw_exception.hpp:40
↓ 28 callers
Method
begin
Get a random-access iterator to the first element.
demo_example/asio/asio/buffer.hpp:364
↓ 28 callers
Method
get
Access.
demo_example/asio/asio/detail/scoped_ptr.hpp:42
↓ 28 callers
Method
set_value
demo_example/asio/asio/execution/detail/bulk_sender.hpp:51
↓ 26 callers
Method
front
Get the operation at the front of the queue.
demo_example/asio/asio/detail/op_queue.hpp:85
↓ 26 callers
Method
hasResult
async_simple/Future.h:105
↓ 26 callers
Method
resume
async_simple/experimental/coroutine.h:270
↓ 25 callers
Function
async
async_simple/uthread/Async.h:55
↓ 25 callers
Function
end
Obtain an end iterator for the results range.
demo_example/asio/asio/ip/basic_resolver_results.hpp:259
↓ 25 callers
Function
f
benchmarks/PureSwitch.bench.cpp:58
↓ 25 callers
Method
get_executor
demo_example/asio/asio/impl/io_context.hpp:52
↓ 24 callers
Function
co_spawn
demo_example/asio/asio/experimental/co_spawn.hpp:66
↓ 24 callers
Method
detach
async_simple/coro/Lazy.h:688
↓ 24 callers
Method
total_consumed
Get the total number of bytes consumed from the buffers.
demo_example/asio/asio/detail/consuming_buffers.hpp:147
↓ 23 callers
Method
cancelled
demo_example/asio/asio/experimental/impl/coro.hpp:100
↓ 23 callers
Function
execute
demo_example/asio/asio/execution/blocking.hpp:744
↓ 23 callers
Method
slot
demo_example/asio/asio/cancellation_signal.hpp:292
↓ 22 callers
Function
noop_coroutine
[coroutine.noop.coroutine]
async_simple/experimental/coroutine.h:362
↓ 22 callers
Method
thenTry
async_simple/Future.h:193
↓ 22 callers
Method
work_started
Notify that some work has started.
demo_example/asio/asio/detail/scheduler.hpp:90
↓ 21 callers
Method
emplace
async_simple/Signal.h:203
↓ 21 callers
Method
locked
Test whether the lock is held.
demo_example/asio/asio/detail/scoped_lock.hpp:77
↓ 21 callers
Method
push
Push an operation on to the back of the queue.
demo_example/asio/asio/detail/op_queue.hpp:104
↓ 20 callers
Function
await
async_simple/uthread/Await.h:42
↓ 20 callers
Method
capacity
Return the maximum size for data in the buffer.
demo_example/asio/asio/detail/buffered_stream_storage.hpp:96
↓ 20 callers
Function
collectAll
async_simple/coro/Collect.h:700
↓ 20 callers
Function
dispatch
demo_example/asio/asio/impl/dispatch.hpp:224
↓ 20 callers
Method
end
async_simple/coro/Generator.h:364
↓ 20 callers
Method
insert
Insert a new entry into the map.
demo_example/asio/asio/detail/hash_map.hpp:153
↓ 20 callers
Method
message
Get the message associated with the error.
demo_example/asio/asio/error_code.hpp:131
↓ 20 callers
Method
prepare
Get the buffer for a single transfer, with a size.
demo_example/asio/asio/detail/consuming_buffers.hpp:96
↓ 19 callers
Method
coScopedLock
async_simple/coro/Mutex.h:228
↓ 19 callers
Method
pop
Pop an operation from the front of the queue.
demo_example/asio/asio/detail/op_queue.hpp:91
↓ 19 callers
Method
post_immediate_completion
demo_example/asio/asio/detail/impl/epoll_reactor.hpp:27
↓ 18 callers
Method
address
[coroutine.handle.export.import], export/import
async_simple/experimental/coroutine.h:243
↓ 18 callers
Method
async_wait
demo_example/asio/asio/experimental/parallel_group.hpp:143
↓ 18 callers
Method
begin
async_simple/coro/Generator.h:614
↓ 18 callers
Function
buffer_sequence_end
demo_example/asio/asio/buffer.hpp:465
↓ 18 callers
Method
canceled
async_simple/Signal.h:300
↓ 18 callers
Method
consume
Consume the specified number of bytes from the buffers.
demo_example/asio/asio/detail/consuming_buffers.hpp:120
↓ 18 callers
Method
detach
async_simple/uthread/Uthread.h:83
↓ 18 callers
Method
get_executor
demo_example/asio/asio/experimental/impl/coro.hpp:604
↓ 18 callers
Method
release
Release ownership of the pointer.
demo_example/asio/asio/detail/scoped_ptr.hpp:67
↓ 18 callers
Function
size
Get the size of the file. * This function determines the size of the file, in bytes. * * @throws asio::system_error Thrown on failure. */
demo_example/asio/asio/basic_file.hpp:692
↓ 17 callers
Method
accept
demo_example/asio/asio/detail/null_socket_service.hpp:477
↓ 17 callers
Function
collectAllWindowed
async_simple/coro/Collect.h:760
↓ 17 callers
Method
get_future
demo_example/asio/asio/impl/use_future.hpp:299
↓ 17 callers
Method
hasError
async_simple/coro/Collect.h:77
↓ 17 callers
Method
state
Return now signal type.
async_simple/Signal.h:101
next →
1–100 of 4,345, ranked by callers