Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/codr7/hacktical-c
/ hc_vector_peek
Function
hc_vector_peek
vector/vector.c:62–64 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
60
}
61
62
void *hc_vector_peek(struct hc_vector *v) {
63
return v->length ? v->end - v->item_size : NULL;
64
}
65
66
void *hc_vector_pop(struct hc_vector *v) {
67
if (!v->length) { return NULL; }
Callers
2
vector_tests
Function · 0.85
hc_vm_peek
Function · 0.85
Calls
no outgoing calls
Tested by
1
vector_tests
Function · 0.68