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

Method find

chapter20/src/main/java/com/seaofnodes/simple/codegen/LRG.java:87–92  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

85 if( _leader==null ) return this; // I am the leader
86 if( _leader._leader==null ) // I point to the leader
87 return _leader;
88 return _rollup();
89 }
90 // Slow-path rollup of U-F
91 private LRG _rollup() {
92 LRG ldr = _leader._leader;
93 // Roll-up
94 while( ldr._leader!=null ) ldr = ldr._leader;
95 LRG l2 = this;

Callers 11

lrgMethod · 0.95
unifyMethod · 0.95
pushWorkMethod · 0.45
fMethod · 0.45
splitSelfConflictMethod · 0.45
findAllLRGMethod · 0.45
runMethod · 0.45
removeCompressMethod · 0.45
unionMethod · 0.45
anti_depMethod · 0.45

Calls 1

_rollupMethod · 0.95

Tested by

no test coverage detected