- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for charCount (0.05 sec)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/url/-Url.kt
writeByte((d1 shl 4) + d2) i += 2 i += Character.charCount(codePoint) continue } } else if (codePoint == '+'.code && plusIsSpace) { writeByte(' '.code) i++ continue } writeUtf8CodePoint(codePoint) i += Character.charCount(codePoint) } } internal fun String.canonicalize( pos: Int = 0,
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 7.3K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/hash/HashStringBenchmark.java
* kinds of common human text. * * @see MaxCodePoint#decode */ @Param({"0x80", "0x90", "0x100", "0x800", "0x10000", "0x10ffff"}) MaxCodePoint maxCodePoint; @Param({"16384"}) int charCount; @Param({"MURMUR3_32", "MURMUR3_128", "SHA1"}) HashFunctionEnum hashFunctionEnum; private String[] strings; static final int SAMPLES = 0x100; static final int SAMPLE_MASK = 0xFF; /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 5.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/witness/WitnessRegisterMessage.java
byte[] wideBytes = str.getBytes(StandardCharsets.UTF_16LE); int charCount = str.length(); // NDR string structure: MaximumCount, Offset, ActualCount, then data buf.enc_ndr_long(charCount + 1); // MaximumCount (including null terminator) buf.enc_ndr_long(0); // Offset buf.enc_ndr_long(charCount + 1); // ActualCount (including null terminator)
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 09:06:40 UTC 2025 - 8.6K bytes - Viewed (0) -
src/test/java/org/codelibs/opensearch/extension/analysis/NGramSynonymTokenizer.java
matchOutput = fst.outputs.add(pendingOutput, scratchArc.nextFinalOutput()); longestMatchEndOffset = start + index + Character.charCount(codePoint); } index += Character.charCount(codePoint); } return matchOutput; } void tokenizeWholeBlock() { queue.clear(); int nextStart = 0;
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Sat Mar 15 06:51:20 UTC 2025 - 17K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/Murmur3Hash32Test.java
assertHash(expected, murmur3_32_fixed().newHasher().putBytes(string.getBytes(charset)).hash()); } private boolean allBmp(String string) { // Ordinarily we'd use something like i += Character.charCount(string.codePointAt(i)) here. But // we can get away with i++ because the whole point of this method is to return false if we find // a code point that doesn't fit in a char. for (int i = 0; i < string.length(); i++) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 8.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/DoublesTest.java
char[] tmp = new char[2]; for (int i = Character.MIN_CODE_POINT; i < Character.MAX_CODE_POINT; i++) { Character.toChars(i, tmp, 0); checkTryParse(String.copyValueOf(tmp, 0, Character.charCount(i))); } } @GwtIncompatible // Doubles.tryParse public void testTryParseOfToStringIsOriginal() { for (double d : NUMBERS) { checkTryParse(d, Double.toString(d)); } }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 30.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/DoublesTest.java
char[] tmp = new char[2]; for (int i = Character.MIN_CODE_POINT; i < Character.MAX_CODE_POINT; i++) { Character.toChars(i, tmp, 0); checkTryParse(String.copyValueOf(tmp, 0, Character.charCount(i))); } } @GwtIncompatible // Doubles.tryParse public void testTryParseOfToStringIsOriginal() { for (double d : NUMBERS) { checkTryParse(d, Double.toString(d)); } }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 30.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/FloatsTest.java
char[] tmp = new char[2]; for (int i = Character.MIN_CODE_POINT; i < Character.MAX_CODE_POINT; i++) { Character.toChars(i, tmp, 0); checkTryParse(String.copyValueOf(tmp, 0, Character.charCount(i))); } } @GwtIncompatible // Floats.tryParse public void testTryParseOfToStringIsOriginal() { for (float f : NUMBERS) { checkTryParse(f, Float.toString(f)); } }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 29.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/FloatsTest.java
char[] tmp = new char[2]; for (int i = Character.MIN_CODE_POINT; i < Character.MAX_CODE_POINT; i++) { Character.toChars(i, tmp, 0); checkTryParse(String.copyValueOf(tmp, 0, Character.charCount(i))); } } @GwtIncompatible // Floats.tryParse public void testTryParseOfToStringIsOriginal() { for (float f : NUMBERS) { checkTryParse(f, Float.toString(f)); } }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 29.4K bytes - Viewed (0)