Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/arrayfire/arrayfire
/ getOffset
Function
getOffset
src/api/cpp/internal.cpp:32–36 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
30
}
31
32
dim_t getOffset(const array &in) {
33
dim_t offset;
34
AF_THROW(af_get_offset(&offset, in.get()));
35
return offset;
36
}
37
38
void *getRawPtr(const array &in) {
39
void *ptr = NULL;
Callers
1
TEST
Function · 0.50
Calls
2
af_get_offset
Function · 0.50
get
Method · 0.45
Tested by
no test coverage detected