- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 97 for CHAR (0.01 sec)
-
android/guava-tests/benchmark/com/google/common/base/StringsRepeatBenchmark.java
} } } private static String mikeRepeat(String string, int count) { int len = string.length(); char[] strCopy = new char[len * Integer.highestOneBit(count)]; string.getChars(0, len, strCopy, 0); char[] array = new char[len * count]; int strCopyLen = len; int pos = 0; while (count != 0) { if ((count & 1) != 0) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 3.4K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/base/WhitespaceMatcherBenchmark.java
} return result; } private static String allMatchingChars(BitSet bitSet) { char[] result = new char[bitSet.cardinality()]; for (int j = 0, c = bitSet.nextSetBit(0); j < result.length; ++j) { result[j] = (char) c; c = bitSet.nextSetBit(c + 1); } return new String(result); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 3.9K bytes - Viewed (0) -
src/main/java/org/codelibs/core/misc/Base64Util.java
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 6.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/CharSequenceReaderTest.java
// read char by char CharSequenceReader reader = new CharSequenceReader(charSequence); for (int i = 0; i < expected.length(); i++) { assertEquals(expected.charAt(i), reader.read()); } assertFullyRead(reader); // read all to one array reader = new CharSequenceReader(charSequence); char[] buf = new char[expected.length()];
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 6.6K bytes - Viewed (0) -
android/guava/src/com/google/thirdparty/publicsuffix/PublicSuffixType.java
private final char innerNodeCode; /** The character used for a leaf node in the trie encoding */ private final char leafNodeCode; PublicSuffixType(char innerNodeCode, char leafNodeCode) { this.innerNodeCode = innerNodeCode; this.leafNodeCode = leafNodeCode; } char getLeafNodeCode() { return leafNodeCode; } char getInnerNodeCode() { return innerNodeCode;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Dec 16 19:54:45 UTC 2020 - 2K bytes - Viewed (0) -
android/guava/src/com/google/common/escape/Escapers.java
public Escaper build() { return new ArrayBasedCharEscaper(replacementMap, safeMin, safeMax) { private final char @Nullable [] replacementChars = unsafeReplacement != null ? unsafeReplacement.toCharArray() : null; @Override protected char @Nullable [] escapeUnsafe(char c) { return replacementChars; } }; } } /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 6.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/escape/ArrayBasedCharEscaperTest.java
private final char[] unknown = new char[] {'?'}; @Override protected char[] escapeUnsafe(char c) { return unknown; } }; EscaperAsserts.assertBasic(replacingEscaper); // Replacements are applied first regardless of whether the character is in // the safe range or not ('&' is a safe char while '\t' and '\n' are not).
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Feb 18 15:41:04 UTC 2025 - 3.6K bytes - Viewed (0) -
android/guava/src/com/google/common/escape/ArrayBasedEscaperMap.java
// original character value. @VisibleForTesting static char[][] createReplacementArray(Map<Character, String> map) { checkNotNull(map); // GWT specific check (do not optimize) if (map.isEmpty()) { return EMPTY_REPLACEMENT_ARRAY; } char max = max(map.keySet()); char[][] replacements = new char[max + 1][]; for (Character c : map.keySet()) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 28 01:26:26 UTC 2024 - 3.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/FarmHashFingerprint64Test.java
} } public void testUtf8() { char[] charsA = new char[128]; char[] charsB = new char[128]; for (int i = 0; i < charsA.length; i++) { if (i < 100) { charsA[i] = 'a'; charsB[i] = 'a'; } else { // Both two-byte characters, but must be different charsA[i] = (char) (0x0180 + i); charsB[i] = (char) (0x0280 + i); } }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 6.3K bytes - Viewed (0) -
guava/src/com/google/thirdparty/publicsuffix/PublicSuffixType.java
private final char innerNodeCode; /** The character used for a leaf node in the trie encoding */ private final char leafNodeCode; PublicSuffixType(char innerNodeCode, char leafNodeCode) { this.innerNodeCode = innerNodeCode; this.leafNodeCode = leafNodeCode; } char getLeafNodeCode() { return leafNodeCode; } char getInnerNodeCode() { return innerNodeCode;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 10 15:48:57 UTC 2020 - 2K bytes - Viewed (0)