- Sort Score
- Num 10 results
- Language All
Results 1 - 4 of 4 for appendCodePoint (0.07 seconds)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/idn/Punycode.kt
return true } var pos = pos + 4 // 'xn--'.size. // We'd prefer to operate directly on `result` but it doesn't offer insertCodePoint(), only // appendCodePoint(). The Punycode algorithm processes code points in increasing code-point // order, not in increasing index order. val codePoints = mutableListOf<Int>()Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 8.6K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/hash/Murmur3Hash32Test.java
&& codePoints[i] <= Character.MAX_SURROGATE)); } StringBuilder builder = new StringBuilder(); for (int i = 0; i < codePoints.length; i++) { builder.appendCodePoint(codePoints[i]); } String str = builder.toString(); HashCode hashUtf8 = murmur3_32().hashBytes(str.getBytes(UTF_8));
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 8.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/hash/Murmur3Hash32Test.java
&& codePoints[i] <= Character.MAX_SURROGATE)); } StringBuilder builder = new StringBuilder(); for (int i = 0; i < codePoints.length; i++) { builder.appendCodePoint(codePoints[i]); } String str = builder.toString(); HashCode hashUtf8 = murmur3_32().hashBytes(str.getBytes(UTF_8));
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 8.4K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/base/Utf8Test.java
sb.setLength(0); int utf8Length = 0; for (int i = 0; i < 6; i++) { Integer randomCodePoint = codePoints[rnd.nextInt(codePoints.length)]; sb.appendCodePoint(randomCodePoint); utf8Length += requireNonNull(utf8Lengths.get(randomCodePoint)); if (utf8Length != Utf8.encodedLength(sb)) { StringBuilder repro = new StringBuilder();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 15:59:55 GMT 2026 - 12.9K bytes - Click Count (0)