MCPcopy Create free account
hub / github.com/CheckPointSW/Karta / rankConsts

Method rankConsts

src/function_context.py:130–133  ·  view source on GitHub ↗

Rank all of the consts of our context - should be done only once on init.

(self)

Source from the content-addressed store, hash-verified

128 self.calls.add(call)
129
130 def rankConsts(self):
131 """Rank all of the consts of our context - should be done only once on init."""
132 for num_const in self.consts:
133 self._const_ranks[num_const] = rankConst(num_const, self)
134
135 @staticmethod
136 def compareConsts(src_ctx, bin_ctx):

Callers

nothing calls this directly

Calls 1

rankConstFunction · 0.85

Tested by

no test coverage detected