MCPcopy Create free account
hub / github.com/arrayfire/arrayfire / af_read_array_index

Function af_read_array_index

src/api/c/stream.cpp:332–344  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

330}
331
332af_err af_read_array_index(af_array *out, const char *filename,
333 const unsigned index) {
334 try {
335 AF_CHECK(af_init());
336
337 ARG_ASSERT(1, filename != NULL);
338
339 af_array output = checkVersionAndRead(filename, index);
340 std::swap(*out, output);
341 }
342 CATCHALL;
343 return AF_SUCCESS;
344}
345
346af_err af_read_array_key(af_array *out, const char *filename, const char *key) {
347 try {

Callers 1

readArrayFunction · 0.50

Calls 3

checkVersionAndReadFunction · 0.85
swapFunction · 0.85
af_initFunction · 0.70

Tested by

no test coverage detected