- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 6,648 for copyOf (0.03 sec)
-
android/guava-tests/test/com/google/common/io/TestByteSource.java
private boolean inputStreamOpened; private boolean inputStreamClosed; TestByteSource(byte[] bytes, TestOption... options) { this.bytes = checkNotNull(bytes); this.options = ImmutableSet.copyOf(options); } @Override public boolean wasStreamOpened() { return inputStreamOpened; } @Override public boolean wasStreamClosed() { return inputStreamClosed; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 2K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/TestByteSource.java
private boolean inputStreamOpened; private boolean inputStreamClosed; TestByteSource(byte[] bytes, TestOption... options) { this.bytes = checkNotNull(bytes); this.options = ImmutableSet.copyOf(options); } @Override public boolean wasStreamOpened() { return inputStreamOpened; } @Override public boolean wasStreamClosed() { return inputStreamClosed; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/DoublesTest.java
private static void testReverse(double[] input, double[] expectedOutput) { input = Arrays.copyOf(input, input.length); Doubles.reverse(input); assertThat(input).isEqualTo(expectedOutput); } private static void testReverse( double[] input, int fromIndex, int toIndex, double[] expectedOutput) { input = Arrays.copyOf(input, input.length); Doubles.reverse(input, fromIndex, toIndex);
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/src/com/google/common/collect/AllEqualOrdering.java
return Lists.newArrayList(iterable); } @Override public <E> ImmutableList<E> immutableSortedCopy(Iterable<E> iterable) { return ImmutableList.copyOf(iterable); } @SuppressWarnings("unchecked") @Override public <S extends @Nullable Object> Ordering<S> reverse() { return (Ordering<S>) this; } private Object readResolve() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jun 04 13:03:16 UTC 2025 - 1.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ObjectArraysTest.java
} private void doTestToArrayImpl2(List<Integer> list, Integer[] array1, boolean expectModify) { Integer[] starting = Arrays.copyOf(array1, array1.length); Integer[] array2 = Arrays.copyOf(array1, array1.length); Object[] reference = list.toArray(array1); Object[] target = ObjectArrays.toArrayImpl(list, array2);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 8.7K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/persistent/HandleInfo.java
*/ public HandleGuid getCreateGuid() { return createGuid; } /** * Get the file ID * @return copy of the 16-byte file ID */ public byte[] getFileId() { return Arrays.copyOf(fileId, 16); } /** * Get the handle type * @return the handle type */ public HandleType getType() { return type;Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 5.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/IntsTest.java
} private static void testReverse(int[] input, int[] expectedOutput) { input = Arrays.copyOf(input, input.length); Ints.reverse(input); assertThat(input).isEqualTo(expectedOutput); } private static void testReverse(int[] input, int fromIndex, int toIndex, int[] expectedOutput) { input = Arrays.copyOf(input, input.length); Ints.reverse(input, fromIndex, toIndex);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 29.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/BytesTest.java
} private static void testReverse(byte[] input, byte[] expectedOutput) { input = Arrays.copyOf(input, input.length); Bytes.reverse(input); assertThat(input).isEqualTo(expectedOutput); } private static void testReverse(byte[] input, int fromIndex, int toIndex, byte[] expectedOutput) { input = Arrays.copyOf(input, input.length); Bytes.reverse(input, fromIndex, toIndex);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 17.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lease/Smb2LeaseKeyTest.java
void testEquals() { byte[] testBytes1 = new byte[] { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F, 0x10 }; byte[] testBytes2 = Arrays.copyOf(testBytes1, 16); byte[] testBytes3 = new byte[] { 0x11, 0x12, 0x13, 0x14, 0x15, 0x16, 0x17, 0x18, 0x19, 0x1A, 0x1B, 0x1C, 0x1D, 0x1E, 0x1F, 0x20 }; Smb2LeaseKey key1 = new Smb2LeaseKey(testBytes1);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 00:16:17 UTC 2025 - 6K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableMultimap.java
* * @throws NullPointerException if any key, value, or entry is null * @since 19.0 */ public static <K, V> ImmutableMultimap<K, V> copyOf( Iterable<? extends Entry<? extends K, ? extends V>> entries) { return ImmutableListMultimap.copyOf(entries); } final transient ImmutableMap<K, ? extends ImmutableCollection<V>> map; final transient int size;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 28.6K bytes - Viewed (0)