Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/YatSenOS/YatSenOS-Tutorial-Volume-1
/ swap
Function
swap
lab6/src/3/src/utils/stdlib.cpp:4–8 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
2
3
template<typename T>
4
void swap(T &x, T &y) {
5
T z = x;
6
x = y;
7
y = z;
8
}
9
10
11
void itos(char *numStr, uint32 num, uint32 mod) {
Callers
1
itos
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected