Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/codr7/hacktical-c
/ hc_vector_get_const
Function
hc_vector_get_const
vector/vector.c:50–52 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
48
}
49
50
const void *hc_vector_get_const(const struct hc_vector *v, const size_t i) {
51
return v->start ? v->start + v->item_size*i : NULL;
52
}
53
54
void *hc_vector_push(struct hc_vector *v) {
55
if (v->length == v->capacity) { grow(v); }
Callers
1
hc_set_index
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected