MCPcopy Create free account
hub / github.com/WheretIB/nullc / GetSize

Method GetSize

SupSpi/SupSpi.h:66–76  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

64 return curr->data;
65 }
66 unsigned int GetSize()
67 {
68 unsigned int wholeSize = 0;
69 StackChunk *temp = first;
70 while(temp != curr)
71 {
72 wholeSize += chunkSize;
73 temp = temp->next;
74 }
75 return wholeSize + size;
76 }
77 private:
78 struct StackChunk
79 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected