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

Method elem_exist

src/Probabilities.cpp:273–278  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

271}
272
273bool
274GroupProbElem::elem_exist(ProbName pname)
275{
276 std::map<ProbName, SingleProbElem*>::iterator i = probs_.find(pname);
277 return (!(i == probs_.end()));
278}
279
280void
281GroupProbElem::set_prob(ProbName pname, int val)

Callers

nothing calls this directly

Calls 1

endMethod · 0.80

Tested by

no test coverage detected