- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for MixedLength (0.66 sec)
-
src/runtime/string_test.go
escapeString = string(buf) } }) buf = append(buf, buf...) } } var stringdata = []struct{ name, data string }{ {"ASCII", "01234567890"}, {"Japanese", "日本語日本語日本語"}, {"MixedLength", "$Ѐࠀက퀀𐀀\U00040000\U0010FFFF"}, } var sinkInt int func BenchmarkRuneCount(b *testing.B) { // Each sub-benchmark counts the runes in a string in a different way.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Dec 13 14:05:23 UTC 2022 - 13.3K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Splitter.java
/** * Returns a splitter that divides strings into pieces of the given length. For example, {@code * Splitter.fixedLength(2).split("abcde")} returns an iterable containing {@code ["ab", "cd", * "e"]}. The last piece can be smaller than {@code length} but will never be empty. * * <p><b>Note:</b> if {@link #fixedLength} is used in conjunction with {@link #limit}, the final
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri Feb 09 15:49:48 UTC 2024 - 23.7K bytes - Viewed (0) -
guava/src/com/google/common/base/Splitter.java
/** * Returns a splitter that divides strings into pieces of the given length. For example, {@code * Splitter.fixedLength(2).split("abcde")} returns an iterable containing {@code ["ab", "cd", * "e"]}. The last piece can be smaller than {@code length} but will never be empty. * * <p><b>Note:</b> if {@link #fixedLength} is used in conjunction with {@link #limit}, the final
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 15 16:12:13 UTC 2024 - 24.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/BaseEncodingTest.java
for (String separator : ImmutableList.of(",", "\n", ";;", "")) { testEncoding( encoding.withSeparator(separator, sepLength), decoded, Joiner.on(separator).join(Splitter.fixedLength(sepLength).split(encoded))); } } } private static void testEncoding(BaseEncoding encoding, String decoded, String encoded) { testEncodes(encoding, decoded, encoded);
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Apr 06 12:56:11 UTC 2023 - 24.6K bytes - Viewed (0)