MCPcopy Create free account
hub / github.com/SeaOfNodes/Simple / copy

Method copy

chapter21/src/main/java/com/seaofnodes/simple/node/Node.java:676–676  ·  view source on GitHub ↗
(Node lhs, Node rhs)

Source from the content-addressed store, hash-verified

674 bs.set(_nid);
675 if( _nid==nid ) return this;
676 Node x;
677 for( Node def : _inputs ) if( def != null && (x = def._find(nid,bs)) != null ) return x;
678 for( Node use : _outputs ) if( use != null && (x = use._find(nid,bs)) != null ) return x;
679 return null;

Callers 1

drop_same_opMethod · 0.95

Calls 2

TODOMethod · 0.95
getUIDMethod · 0.45

Tested by

no test coverage detected