Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/davisking/dlib
/ swap
Method
swap
dlib/memory_manager/memory_manager_kernel_2.h:214–221 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
212
}
213
214
void swap (
215
memory_manager_kernel_2& item
216
)
217
{
218
exchange(allocations,item.allocations);
219
exchange(next,item.next);
220
exchange(first_chunk,item.first_chunk);
221
}
222
223
private:
224
Callers
4
swap
Function · 0.45
swap
Function · 0.45
member_function_pointer_kernel_1.h
File · 0.45
clear
Function · 0.45
Calls
1
exchange
Function · 0.85
Tested by
no test coverage detected