MCPcopy Create free account
hub / github.com/ShiftLeftSecurity/overflowdb / startIndex

Method startIndex

core/src/main/java/overflowdb/NodeDb.java:678–680  ·  view source on GitHub ↗
(AdjacentNodes adjacentNodesTmp, int offsetPosition)

Source from the content-addressed store, hash-verified

676 }
677
678 public int startIndex(AdjacentNodes adjacentNodesTmp, int offsetPosition) {
679 return adjacentNodesTmp.getOffset(2 * offsetPosition);
680 }
681
682 /**
683 * @return number of elements reserved in `adjacentNodesWithEdgeProperties` for a given edge label

Callers 11

calcAdjacentNodeIndexMethod · 0.95
outEdgeCountMethod · 0.95
removeEdgeMethod · 0.95
storeAdjacentNodeMethod · 0.95
trimMethod · 0.95
packEdgesForOneLabelMethod · 0.80

Calls 1

getOffsetMethod · 0.80

Tested by

no test coverage detected