MCPcopy Create free account
hub / github.com/csmith-project/csmith / get_size

Method get_size

src/ArrayVariable.cpp:239–248  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

237}
238
239unsigned long
240ArrayVariable::get_size(void) const
241{
242 size_t i;
243 unsigned long len = 1;
244 for (i=0; i<sizes.size(); i++) {
245 len *= sizes[i];
246 }
247 return len;
248}
249
250unsigned long
251ArrayVariable::size_in_bytes(void) const

Callers 1

Variable.cppFile · 0.80

Calls 1

sizeMethod · 0.80

Tested by

no test coverage detected