- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 1,325 for _arrays (0.09 sec)
-
android/guava/src/com/google/common/collect/CompactHashing.java
} else { return new int[buckets]; } } static void tableClear(Object table) { if (table instanceof byte[]) { Arrays.fill((byte[]) table, (byte) 0); } else if (table instanceof short[]) { Arrays.fill((short[]) table, (short) 0); } else { Arrays.fill((int[]) table, 0); } } /** * Returns {@code table[index]}, where {@code table} is actually a {@code byte[]}, {@code
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 25 15:34:52 UTC 2024 - 7.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/IteratorsTest.java
String[] array = Iterators.toArray(iterator, String.class); assertTrue(Arrays.equals(new String[0], array)); } @GwtIncompatible // Iterators.toArray(Iterator, Class) public void testToArraySingleton() { Iterator<String> iterator = singletonList("a").iterator(); String[] array = Iterators.toArray(iterator, String.class); assertTrue(Arrays.equals(new String[] {"a"}, array)); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 54.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/CompactHashSet.java
} /** Returns whether arrays need to be allocated. */ boolean needsAllocArrays() { return table == null; } /** Handle lazy allocation of arrays. */ @CanIgnoreReturnValue int allocArrays() { Preconditions.checkState(needsAllocArrays(), "Arrays already allocated"); int expectedSize = metadata;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 20:24:49 UTC 2024 - 24K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/index/SuggestIndexer.java
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Sat Oct 12 00:10:39 UTC 2024 - 26.1K bytes - Viewed (0) -
internal/s3select/jstream/README.md
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Sep 23 19:35:41 UTC 2024 - 3.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableListTest.java
} public void testCreation_arrayOfArray() { String[] array = new String[] {"a"}; List<String[]> list = ImmutableList.<String[]>of(array); assertEquals(singletonList(array), list); } public void testCopyOf_emptyArray() { String[] array = new String[0]; List<String> list = ImmutableList.copyOf(array); assertEquals(emptyList(), list); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 24.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ListRetainAllTester.java
public void testRetainAll_duplicatesKept() { E[] array = createSamplesArray(); array[1] = e0(); collection = getSubjectGenerator().create(array); assertFalse( "containsDuplicates.retainAll(superset) should return false", collection.retainAll(MinimalCollection.of(createSamplesArray()))); expectContents(array); } @CollectionFeature.Require(SUPPORTS_REMOVE)
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 2.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/IteratorsTest.java
String[] array = Iterators.toArray(iterator, String.class); assertTrue(Arrays.equals(new String[0], array)); } @GwtIncompatible // Iterators.toArray(Iterator, Class) public void testToArraySingleton() { Iterator<String> iterator = singletonList("a").iterator(); String[] array = Iterators.toArray(iterator, String.class); assertTrue(Arrays.equals(new String[] {"a"}, array)); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 54.1K bytes - Viewed (0) -
guava/src/com/google/common/hash/AbstractNonStreamingHashFunction.java
@Override public HashCode hashInt(int input) { return hashBytes(ByteBuffer.allocate(4).order(ByteOrder.LITTLE_ENDIAN).putInt(input).array()); } @Override public HashCode hashLong(long input) { return hashBytes(ByteBuffer.allocate(8).order(ByteOrder.LITTLE_ENDIAN).putLong(input).array()); } @Override public HashCode hashUnencodedChars(CharSequence input) { int len = input.length();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Apr 20 18:43:59 UTC 2021 - 3.8K bytes - Viewed (0) -
guava/src/com/google/common/reflect/Types.java
} } /** Returns the {@code Class} object of arrays with {@code componentType}. */ static Class<?> getArrayClass(Class<?> componentType) { // TODO(user): This is not the most efficient way to handle generic // arrays, but is there another way to extract the array class in a // non-hacky way (i.e. using String value class names- "[L...")? return Array.newInstance(componentType, 0).getClass(); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 14:28:19 UTC 2024 - 23K bytes - Viewed (0)