Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/boostorg/asio
/ asio_handler_allocate
Method
asio_handler_allocate
test/latency/udp_server.cpp:50–53 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
48
}
49
50
friend void* asio_handler_allocate(std::size_t n, udp_server* s)
51
{
52
return s->allocator_.allocate(n);
53
}
54
55
friend void asio_handler_deallocate(void* p, std::size_t, udp_server* s)
56
{
Callers
nothing calls this directly
Calls
1
allocate
Method · 0.45
Tested by
no test coverage detected