MCPcopy Create free account
hub / github.com/DeNA/PacketProxy / setoffset

Method setoffset

src/main/java/core/org/xbill/DNS/Name.java:85–92  ·  view source on GitHub ↗
(int n, int offset)

Source from the content-addressed store, hash-verified

83}
84
85private final void
86setoffset(int n, int offset) {
87 if (n >= MAXOFFSETS)
88 return;
89 int shift = 8 * (7 - n);
90 offsets &= (~(0xFFL << shift));
91 offsets |= ((long)offset << shift);
92}
93
94private final int
95offset(int n) {

Callers 4

appendMethod · 0.95
NameMethod · 0.95
fromDNAMEMethod · 0.95
copyMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected