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

Method dtFunctionInvocationRandomBinary_minimal_depth

src/DepthSpec.cpp:194–200  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

192}
193
194int DepthSpec::dtFunctionInvocationRandomBinary_minimal_depth(int)
195{
196 vector<int> vs;
197 vs.push_back(dtFunctionInvocationRandomRegularBinary_minimal_depth());
198 vs.push_back(dtFunctionInvocationRandomBinaryPointer_minimal_depth());
199 return 1 + *min_element(vs.begin(), vs.end());
200}
201
202int DepthSpec::dtFunctionUserBuildInvocation_minimal_depth(int flag)
203{

Callers

nothing calls this directly

Calls 2

beginMethod · 0.80
endMethod · 0.80

Tested by

no test coverage detected