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

Method copy

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

Source from the content-addressed store, hash-verified

678 bs.set(_nid);
679 if( _nid==nid ) return this;
680 Node x;
681 for( Node def : _inputs ) if( def != null && (x = def._find(nid,bs)) != null ) return x;
682 for( Node use : _outputs ) if( use != null && (x = use._find(nid,bs)) != null ) return x;
683 return null;

Callers 1

drop_same_opMethod · 0.95

Calls 2

TODOMethod · 0.95
getUIDMethod · 0.45

Tested by

no test coverage detected