MCPcopy Create free account
hub / github.com/ROCm/AMDMIGraphX / data

Method data

src/value.cpp:296–302  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

294}
295bool value::empty() const { return size() == 0; }
296const value* value::data() const
297{
298 auto* a = if_array_impl(x);
299 if(a == nullptr)
300 return nullptr;
301 return a->data();
302}
303value* value::data()
304{
305 auto* a = if_array_impl(x);

Callers 15

create_opFunction · 0.45
TEST_CASEFunction · 0.45
TEST_CASEFunction · 0.45
TEST_CASEFunction · 0.45
TEST_CASEFunction · 0.45
TEST_CASEFunction · 0.45
TEST_CASEFunction · 0.45
TEST_CASEFunction · 0.45
read_stdinFunction · 0.45
TEST_CASEFunction · 0.45
mainFunction · 0.45
TEST_CASEFunction · 0.45

Calls 1

if_array_implFunction · 0.85

Tested by 15

TEST_CASEFunction · 0.36
TEST_CASEFunction · 0.36
TEST_CASEFunction · 0.36
TEST_CASEFunction · 0.36
TEST_CASEFunction · 0.36
read_stdinFunction · 0.36
TEST_CASEFunction · 0.36
mainFunction · 0.36
TEST_CASEFunction · 0.36
TEST_CASEFunction · 0.36
TEST_CASEFunction · 0.36
TEST_CASEFunction · 0.36