MCPcopy Create free account
hub / github.com/Persper/code-analytics / _handle_d

Function _handle_d

persper/graphs/inverse_diff.py:19–22  ·  view source on GitHub ↗
(d)

Source from the content-addressed store, hash-verified

17 diff += a[1]
18
19 def _handle_d(d):
20 nonlocal diff
21 inv_adds.append([diff + d[0] - 1, d[1] - d[0] + 1])
22 diff -= (d[1] - d[0] + 1)
23
24 while add_ptr < num_adds or del_ptr < num_dels:
25 if add_ptr < num_adds and del_ptr < num_dels:

Callers 1

inverse_diffFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected