MCPcopy Create free account
hub / github.com/GNOME/gjs / target_gobject

Function target_gobject

tools/heapgraph.py:629–637  ·  view source on GitHub ↗
(graph, target)

Source from the content-addressed store, hash-verified

627
628
629def target_gobject(graph, target):
630 targets = set()
631
632 for addr, label in graph.node_labels.items():
633 if label.endswith(target):
634 targets.add(addr)
635
636 sys.stderr.write('Found GObject with address of {}\n'.format(target))
637 return targets
638
639
640def target_string(graph, target):

Callers 1

select_targetsFunction · 0.85

Calls 2

addMethod · 0.80
writeMethod · 0.45

Tested by

no test coverage detected