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

Method blockLength

core/src/main/java/overflowdb/NodeDb.java:713–715  ·  view source on GitHub ↗

Returns the length of an edge type block in the adjacentNodesWithEdgeProperties array. Length means number of index positions.

(AdjacentNodes adjacentNodesTmp, int offsetPosition)

Source from the content-addressed store, hash-verified

711 * Length means number of index positions.
712 */
713 public final int blockLength(AdjacentNodes adjacentNodesTmp, int offsetPosition) {
714 return adjacentNodesTmp.getOffset(2 * offsetPosition + 1);
715 }
716
717 /**
718 * grow the adjacentNodesWithEdgeProperties array

Calls 1

getOffsetMethod · 0.80

Tested by

no test coverage detected