Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SeaOfNodes/Simple
/ hash
Method
hash
chapter10/src/main/java/com/seaofnodes/simple/node/Node.java:529–529 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
527
return
lhs;
528
}
529
530
int
idepth() {
return
_idepth!=0 ? _idepth : cacheIDepth(idom().idepth()+1); }
531
// Zero depth means uncached. Check before narrowing so overflow cannot wrap.
532
final
int
cacheIDepth(
int
depth) {
Callers
1
hashCode
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected