- Sort Score
- Result 10 results
- Languages All
Results 171 - 180 of 195 for arraycopy (0.19 sec)
-
android/guava/src/com/google/common/collect/ImmutableSortedSet.java
import static com.google.common.base.Preconditions.checkArgument; import static com.google.common.base.Preconditions.checkNotNull; import static com.google.common.collect.ObjectArrays.checkElementsNotNull; import static java.lang.System.arraycopy; import static java.util.Arrays.sort; import com.google.common.annotations.GwtCompatible; import com.google.common.annotations.GwtIncompatible; import com.google.common.annotations.J2ktIncompatible;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 36.9K bytes - Viewed (0) -
guava/src/com/google/common/primitives/Bytes.java
long length = 0; for (byte[] array : arrays) { length += array.length; } byte[] result = new byte[checkNoOverflow(length)]; int pos = 0; for (byte[] array : arrays) { System.arraycopy(array, 0, result, pos, array.length); pos += array.length; } return result; } private static int checkNoOverflow(long result) { checkArgument( result == (int) result,
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Aug 27 16:47:48 UTC 2024 - 15.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbTransport.java
resp.useUnicode = useUnicode; resp.extendedSecurity = (capabilities & CAP_EXTENDED_SECURITY) == CAP_EXTENDED_SECURITY; synchronized (BUF) { System.arraycopy( sbuf, 0, BUF, 0, 4 + HEADER_LENGTH ); int size = Encdec.dec_uint16be( BUF, 2 ) & 0xFFFF; if (size < (HEADER_LENGTH + 1) || (4 + size) > rcv_buf_size ) {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 31.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableMap.java
import static com.google.common.collect.CollectPreconditions.checkEntryNotNull; import static com.google.common.collect.CollectPreconditions.checkNonnegative; import static java.lang.System.arraycopy; import static java.util.Objects.requireNonNull; import com.google.common.annotations.GwtCompatible; import com.google.common.annotations.GwtIncompatible; import com.google.common.annotations.J2ktIncompatible;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 41.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableMap.java
import static com.google.common.collect.CollectPreconditions.checkEntryNotNull; import static com.google.common.collect.CollectPreconditions.checkNonnegative; import static java.lang.System.arraycopy; import static java.util.Arrays.sort; import static java.util.Objects.requireNonNull; import com.google.common.annotations.GwtCompatible; import com.google.common.annotations.GwtIncompatible;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 44.6K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/Ints.java
long length = 0; for (int[] array : arrays) { length += array.length; } int[] result = new int[checkNoOverflow(length)]; int pos = 0; for (int[] array : arrays) { System.arraycopy(array, 0, result, pos, array.length); pos += array.length; } return result; } private static int checkNoOverflow(long result) { checkArgument( result == (int) result,
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 25 18:05:56 UTC 2024 - 31K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/HashTestUtils.java
for (int i = 0; i < 256; i++) { key[i] = (byte) i; int seed = 256 - i; byte[] hash = hashFunction.hash(Arrays.copyOf(key, i), seed); System.arraycopy(hash, 0, hashes, i * hashBytes, hash.length); } // Then hash the result array byte[] result = hashFunction.hash(hashes, 0); // interpreted in little-endian order.
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 25.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableSortedMap.java
} @CanIgnoreReturnValue Builder<K, V> combine(ImmutableSortedMap.Builder<K, V> other) { ensureCapacity(size + other.size); System.arraycopy(other.keys, 0, this.keys, this.size, other.size); System.arraycopy(other.values, 0, this.values, this.size, other.size); size += other.size; return this; } /** * Returns a newly-created immutable sorted map.
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 53K bytes - Viewed (0) -
guava/src/com/google/common/primitives/Chars.java
long length = 0; for (char[] array : arrays) { length += array.length; } char[] result = new char[checkNoOverflow(length)]; int pos = 0; for (char[] array : arrays) { System.arraycopy(array, 0, result, pos, array.length); pos += array.length; } return result; } private static int checkNoOverflow(long result) { checkArgument( result == (int) result,
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Aug 27 16:47:48 UTC 2024 - 23.9K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbSessionImpl.java
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Nov 14 17:41:04 UTC 2021 - 49K bytes - Viewed (0)