Home
last modified time | relevance | path

Searched refs:hextets (Results 1 – 1 of 1) sorted by relevance

/external/guava/guava/src/com/google/common/net/
DInetAddresses.java362 int[] hextets = new int[IPV6_PART_COUNT]; in toAddrString() local
363 for (int i = 0; i < hextets.length; i++) { in toAddrString()
364 hextets[i] = Ints.fromBytes( in toAddrString()
367 compressLongestRunOfZeroes(hextets); in toAddrString()
368 return hextetsToIPv6String(hextets); in toAddrString()
380 private static void compressLongestRunOfZeroes(int[] hextets) { in compressLongestRunOfZeroes() argument
384 for (int i = 0; i < hextets.length + 1; i++) { in compressLongestRunOfZeroes()
385 if (i < hextets.length && hextets[i] == 0) { in compressLongestRunOfZeroes()
399 Arrays.fill(hextets, bestRunStart, bestRunStart + bestRunLength, -1); in compressLongestRunOfZeroes()
411 private static String hextetsToIPv6String(int[] hextets) { in hextetsToIPv6String() argument
[all …]