Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/YatSenOS/YatSenOS-Tutorial-Volume-1
/ back
Method
back
lab8/src/3/src/utils/list.cpp:32–44 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
30
}
31
32
ListItem *List::back()
33
{
34
ListItem *temp = head.next;
35
if (!temp)
36
return nullptr;
37
38
while (temp->next)
39
{
40
temp = temp->next;
41
}
42
43
return temp;
44
}
45
46
void List::push_back(ListItem *itemPtr)
47
{
Callers
1
executeProcess
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected