MCPcopy Create free account
hub / github.com/GaijinEntertainment/daScript / eval

Method eval

src/simulate/runtime_array.cpp:139–146  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

137 }
138
139 vec4f SimNode_GoodArrayIterator::eval ( Context & context ) {
140 DAS_PROFILE_NODE
141 vec4f ll = source->eval(context);
142 Array * arr = cast<Array *>::to(ll);
143 char * iter = context.allocateIterator(sizeof(GoodArrayIterator),"array<> iterator", &debugInfo);
144 new (iter) GoodArrayIterator(arr, stride, &debugInfo);
145 return cast<char *>::from(iter);
146 }
147
148 // FixedArrayIterator
149

Callers

nothing calls this directly

Calls 6

toFunction · 0.85
isLockedMethod · 0.80
throw_error_atMethod · 0.80
v_zeroFunction · 0.50
evalPtrMethod · 0.45
freeMethod · 0.45

Tested by

no test coverage detected