- Sort Score
- Result 10 results
- Languages All
Results 131 - 140 of 195 for arrayCopy (0.09 sec)
-
src/main/java/jcifs/internal/smb1/com/SmbComWriteAndX.java
protected int writeBytesWireFormat ( byte[] dst, int dstIndex ) { int start = dstIndex; while ( this.pad-- > 0 ) { dst[ dstIndex++ ] = (byte) 0xEE; } System.arraycopy(this.b, this.off, dst, dstIndex, this.dataLength); dstIndex += this.dataLength; return dstIndex - start; } @Override
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 5.1K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/Platform.java
/** Equivalent to Arrays.copyOfRange(source, from, to, arrayOfType.getClass()). */ static <T> T[] copy(Object[] source, int from, int to, T[] arrayOfType) { T[] result = newArray(arrayOfType, to - from); System.arraycopy(source, from, result, 0, to - from); return result; } // TODO(user): Move this logic to a utility class. @JsType(isNative = true, name = "Array", namespace = JsPackage.GLOBAL) private interface NativeArray {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Aug 06 17:52:51 UTC 2024 - 5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ArrayTable.java
import static com.google.common.base.Preconditions.checkArgument; import static com.google.common.base.Preconditions.checkElementIndex; import static com.google.common.base.Preconditions.checkNotNull; import static java.lang.System.arraycopy; import static java.util.Collections.emptyMap; import com.google.common.annotations.GwtCompatible; import com.google.common.annotations.GwtIncompatible; import com.google.common.base.Objects;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 26.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/ServerMessageBlock2Response.java
@Override protected void haveResponse ( byte[] buffer, int start, int len ) throws SMBProtocolDecodingException { if ( isRetainPayload() ) { byte[] payload = new byte[len]; System.arraycopy(buffer, start, payload, 0, len); setRawPayload(payload); } if ( !verifySignature(buffer, start, len) ) {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Aug 05 09:45:59 UTC 2018 - 7.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/ioctl/Smb2IoctlRequest.java
int start = dstIndex; SMBUtil.writeInt2(57, dst, dstIndex); dstIndex += 4; SMBUtil.writeInt4(this.controlCode, dst, dstIndex); dstIndex += 4; System.arraycopy(this.fileId, 0, dst, dstIndex, 16); dstIndex += 16; int inputOffsetOffset = dstIndex; dstIndex += 4; int inputLengthOffset = dstIndex; dstIndex += 4;
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Aug 05 07:13:17 UTC 2018 - 7.8K bytes - Viewed (0) -
src/main/java/jcifs/netbios/Name.java
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 7.7K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/ImmutableIntArray.java
checkArgument( rest.length <= Integer.MAX_VALUE - 1, "the total number of elements must fit in an int"); int[] array = new int[rest.length + 1]; array[0] = first; System.arraycopy(rest, 0, array, 1, rest.length); return new ImmutableIntArray(array); } /** Returns an immutable array containing the given values, in order. */ public static ImmutableIntArray copyOf(int[] values) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 25 18:05:56 UTC 2024 - 22.2K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/Name.java
if( scope == null ) { dst[dstIndex] = (byte)0x00; return 1; } // copy new scope in dst[dstIndex++] = (byte)'.'; try { System.arraycopy( scope.getBytes( Name.OEM_ENCODING ), 0, dst, dstIndex, scope.length() ); } catch( UnsupportedEncodingException uee ) { } dstIndex += scope.length(); dst[dstIndex++] = (byte)0x00;
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 20:39:42 UTC 2019 - 6.6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java
*/ package com.google.common.collect.testing; import static com.google.common.collect.testing.Helpers.copyToList; import static com.google.common.collect.testing.Helpers.copyToSet; import static java.lang.System.arraycopy; import static java.util.Arrays.asList; import static java.util.Collections.frequency; import static junit.framework.Assert.assertEquals; import static junit.framework.Assert.fail;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 20.6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Platform.java
* * - https://github.com/jspecify/jdk/commit/71d826792b8c7ef95d492c50a274deab938f2552 */ /* * TODO(cpovirk): Is the unchecked cast avoidable? Would System.arraycopy be similarly fast (if * likewise not type-checked)? Could our single caller do something different? */ @SuppressWarnings({"nullness", "unchecked"})
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Aug 06 17:52:51 UTC 2024 - 5.3K bytes - Viewed (0)