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

Method lookup

src/VectorFilter.cpp:95–101  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

93}
94
95int
96VectorFilter::lookup(int v) const
97{
98 if (!this->valid_filter() || ptable == NULL)
99 return v;
100 return v = ptable->rnd_num_to_key(v);
101}

Callers 2

AssignOpsProbabilityMethod · 0.80

Calls 2

valid_filterMethod · 0.80
rnd_num_to_keyMethod · 0.80

Tested by

no test coverage detected