- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 587 for carrat (0.27 sec)
-
android/guava/src/com/google/common/base/CharMatcher.java
public static CharMatcher anyOf(final CharSequence sequence) { switch (sequence.length()) { case 0: return none(); case 1: return is(sequence.charAt(0)); case 2: return isEither(sequence.charAt(0), sequence.charAt(1)); default: // TODO(lowasser): is it potentially worth just going ahead and building a precomputed // matcher? return new AnyOf(sequence); }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Fri Feb 09 15:49:48 GMT 2024 - 53.7K bytes - Viewed (0) -
src/main/java/org/codelibs/core/lang/StringUtil.java
return null; } s = s.toLowerCase(); final String[] array = StringUtil.split(s, "_"); if (array.length == 1) { return StringUtil.capitalize(s); } final StringBuilder buf = new StringBuilder(40); for (final String element : array) { buf.append(StringUtil.capitalize(element)); } return buf.toString(); }
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 21.7K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/UnsignedLongs.java
* @since 23.1 */ public static void sort(long[] array, int fromIndex, int toIndex) { checkNotNull(array); checkPositionIndexes(fromIndex, toIndex, array.length); for (int i = fromIndex; i < toIndex; i++) { array[i] = flip(array[i]); } Arrays.sort(array, fromIndex, toIndex); for (int i = fromIndex; i < toIndex; i++) { array[i] = flip(array[i]); } } /**
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Feb 15 16:12:13 GMT 2024 - 17.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/KuromojiCSVUtil.java
* @return Array of values */ public static String[] parse(final String line) { boolean insideQuote = false; final ArrayList<String> result = new ArrayList<>(); int quoteCount = 0; final StringBuilder sb = new StringBuilder(); for (int i = 0; i < line.length(); i++) { final char c = line.charAt(i); if (c == QUOTE) {
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 3.9K bytes - Viewed (0) -
android/guava/src/com/google/common/io/BaseEncoding.java
int bytesWritten = 0; for (int i = 0; i < chars.length(); ) { int chunk = alphabet.decode(chars.charAt(i++)) << 18; chunk |= alphabet.decode(chars.charAt(i++)) << 12; target[bytesWritten++] = (byte) (chunk >>> 16); if (i < chars.length()) { chunk |= alphabet.decode(chars.charAt(i++)) << 6; target[bytesWritten++] = (byte) ((chunk >>> 8) & 0xFF); if (i < chars.length()) {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Fri Mar 15 16:33:32 GMT 2024 - 41.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/MultimapsTest.java
fail("UnsupportedOperationException expected"); } catch (UnsupportedOperationException expected) { } Entry<String, Integer>[] array = (Entry<String, Integer>[]) new Entry<?, ?>[2]; assertSame(array, unmod.entries().toArray(array)); try { array[0].setValue(2); fail("UnsupportedOperationException expected"); } catch (UnsupportedOperationException expected) { }
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 42.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Lists.java
* of overload ambiguity, since the {@code ArrayList} constructors very wisely did not accept * varargs.) * * @param initialArraySize the exact size of the initial backing array for the returned array list * ({@code ArrayList} documentation calls this value the "capacity") * @return a new, empty {@code ArrayList} which is guaranteed not to resize itself unless its size
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 29 16:48:36 GMT 2024 - 41.5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/FreshValueGenerator.java
} if (type.isArray()) { TypeToken<?> componentType = requireNonNull(type.getComponentType()); Object array = Array.newInstance(componentType.getRawType(), 1); Array.set(array, 0, generate(componentType)); return array; } Method emptyGenerate = EMPTY_GENERATORS.get(rawType); if (emptyGenerate != null) {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Apr 17 16:33:44 GMT 2024 - 28.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/Utf8Test.java
if (utf8Length != Utf8.encodedLength(sb)) { StringBuilder repro = new StringBuilder(); for (int j = 0; j < sb.length(); j++) { repro.append(" ").append((int) sb.charAt(j)); // GWT compatible } assertEquals(repro.toString(), utf8Length, Utf8.encodedLength(sb)); } } } } public void testEncodedLength_invalidStrings() {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Fri Feb 09 15:49:48 GMT 2024 - 12.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/FreshValueGenerator.java
} if (type.isArray()) { TypeToken<?> componentType = requireNonNull(type.getComponentType()); Object array = Array.newInstance(componentType.getRawType(), 1); Array.set(array, 0, generate(componentType)); return array; } Method emptyGenerate = EMPTY_GENERATORS.get(rawType); if (emptyGenerate != null) {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Apr 17 16:33:44 GMT 2024 - 28K bytes - Viewed (0)