Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LemonOSProject/LemonOS
/ get_length
Method
get_length
Kernel/include/list.h:141–143 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
139
}
140
141
__attribute__((always_inline)) inline unsigned get_length() {
142
return num;
143
}
144
145
T remove_at(unsigned pos) {
146
assert(num > 0);
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected