- Sort Score
- Num 10 results
- Language All
Results 1 - 4 of 4 for appendCodePoint (0.06 seconds)
-
okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/GenerateIdnaMappingTableCode.kt
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 2.8K bytes - Click Count (1) -
android/guava-tests/benchmark/com/google/common/hash/HashStringBenchmark.java
int codePoint; // discard illegal surrogate "codepoints" do { codePoint = rnd.nextInt(maxCodePoint.value); } while (Character.isSurrogate((char) codePoint)); sb.appendCodePoint(codePoint); } strings[i] = sb.toString(); } } @Benchmark int hashUtf8(int reps) { int res = 0; for (int i = 0; i < reps; i++) { res +=Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 5.3K bytes - Click Count (0) -
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 Dec 26 11:42:13 GMT 2025 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 8.5K 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 += utf8Lengths.get(randomCodePoint); if (utf8Length != Utf8.encodedLength(sb)) { StringBuilder repro = new StringBuilder();
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 12.8K bytes - Click Count (0)