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

Method dtFunctionInvocationRandom_minimal_depth

src/DepthSpec.cpp:216–224  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

214}
215
216int DepthSpec::dtFunctionInvocationRandom_minimal_depth(int)
217{
218 vector<int> vs;
219 vs.push_back(dtFunctionInvocationRandomUnary_minimal_depth());
220 vs.push_back(dtFunctionInvocationRandomBinary_minimal_depth());
221 vs.push_back(dtFunctionUserBuildInvocation_minimal_depth());
222
223 return *min_element(vs.begin(), vs.end());
224}
225
226int DepthSpec::dtExpressionRandomParam_minimal_depth(int flag)
227{

Callers

nothing calls this directly

Calls 2

beginMethod · 0.80
endMethod · 0.80

Tested by

no test coverage detected