Home
last modified time | relevance | path

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

/libcore/ojluni/src/test/java/util/HexFormat/
DHexFormatTest.java395 int stride = prefix.length() + 2 + suffix.length() + delimiter.length(); in testParseHexStringRange() local
397 s.substring(low * stride, high * stride - delimiter.length())); in testParseHexStringRange()
398 byte[] actual = hex.parseHex(s, low * stride, in testParseHexStringRange()
399 high * stride - delimiter.length()); in testParseHexStringRange()
495 int stride = prefix.length() + 2 + suffix.length() + delimiter.length(); in testFormatHexCharArrayIndexed() local
497 s.substring(low * stride, high * stride - delimiter.length())); in testFormatHexCharArrayIndexed()
499 byte[] actual = hex.parseHex(chars, low * stride, in testFormatHexCharArrayIndexed()
500 high * stride - delimiter.length()); in testFormatHexCharArrayIndexed()
634 long stride = valueChars + delimiter.length(); in testOOME() local
636 long len = max / stride; in testOOME()
[all …]
/libcore/ojluni/src/main/java/java/util/
DHexFormat.java365 long stride = prefix.length() + 2L + suffix.length() + delimiter.length(); in formatHex() local
366 int capacity = checkMaxArraySize((toIndex - fromIndex) * stride - delimiter.length()); in formatHex()
563 long stride = valueChars + delimiter.length(); in parseHex() local
564 if ((string.length() - valueChars) % stride != 0) in parseHex()
571 final int len = (int)((string.length() - valueChars) / stride + 1L); in parseHex()
/libcore/ojluni/src/main/java/java/util/concurrent/
DConcurrentHashMap.java2430 int n = tab.length, stride; in transfer() local
2431 if ((stride = (NCPU > 1) ? (n >>> 3) / NCPU : n) < MIN_TRANSFER_STRIDE) in transfer()
2432 stride = MIN_TRANSFER_STRIDE; // subdivide range in transfer()
2461 nextBound = (nextIndex > stride ? in transfer()
2462 nextIndex - stride : 0))) { in transfer()