Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 286 for arrayCopy (0.03 sec)

  1. src/main/java/jcifs/smb/MIEName.java

            len |= 0xff & buf[i++];
    
            // MECH_OID
            if (buf.length < i + len) {
                throw new IllegalArgumentException();
            }
            final byte[] bo = new byte[len];
            System.arraycopy(buf, i, bo, 0, len);
            i += len;
            this.oid = ASN1ObjectIdentifier.getInstance(bo);
    
            // NAME_LEN
            if (buf.length < i + NAME_LEN_SIZE) {
                throw new IllegalArgumentException();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/http/NtlmSspTest.java

         */
        private static String createValidType3Message() {
            // Build a properly formatted Type 3 message
            byte[] message = new byte[200];
    
            // NTLMSSP signature
            System.arraycopy("NTLMSSP\0".getBytes(), 0, message, 0, 8);
    
            // Type 3 indicator
            message[8] = 0x03;
    
            // LM Response (24 bytes at offset 64)
            message[12] = 24; // Length
            message[13] = 0;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 11.4K bytes
    - Viewed (1)
  3. src/test/java/jcifs/internal/smb2/Smb2TransformHeaderTest.java

            // Signature (16 bytes)
            byte[] signature = new byte[16];
            new SecureRandom().nextBytes(signature);
            System.arraycopy(signature, 0, buffer, index, 16);
            index += 16;
    
            // Nonce (16 bytes)
            System.arraycopy(testNonce, 0, buffer, index, 16);
            index += 16;
    
            // Original message size (4 bytes) - little-endian
            int messageSize = 1024;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/info/Smb2SetInfoRequestTest.java

                // Verify additional information
                assertEquals(0x12345678, SMBUtil.readInt4(buffer, 76));
    
                // Verify file ID
                byte[] actualFileId = new byte[16];
                System.arraycopy(buffer, 80, actualFileId, 0, 16);
                assertArrayEquals(testFileId, actualFileId);
    
                // Verify that info.encode was called
                verify(mockInfo, times(1)).encode(any(byte[].class), anyInt());
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java

    import static com.google.common.collect.CollectPreconditions.checkRemove;
    import static java.lang.Math.max;
    import static java.lang.Math.min;
    import static java.lang.System.arraycopy;
    import static java.util.Objects.requireNonNull;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import com.google.common.annotations.VisibleForTesting;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 18:35:44 UTC 2025
    - 33.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/trans/TransCallNamedPipe.java

            if (dst.length - dstIndex < this.pipeDataLen) {
                log.debug("TransCallNamedPipe data too long for buffer");
                return 0;
            }
            System.arraycopy(this.pipeData, this.pipeDataOff, dst, dstIndex, this.pipeDataLen);
            return this.pipeDataLen;
        }
    
        @Override
        protected int readParametersWireFormat(final byte[] buffer, final int bufferIndex, final int len) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb1/trans/TransTransactNamedPipe.java

            if (dst.length - dstIndex < this.pipeDataLen) {
                log.debug("TransTransactNamedPipe data too long for buffer");
                return 0;
            }
            System.arraycopy(this.pipeData, this.pipeDataOff, dst, dstIndex, this.pipeDataLen);
            return this.pipeDataLen;
        }
    
        @Override
        protected int readParametersWireFormat(final byte[] buffer, final int bufferIndex, final int len) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/ntlmssp/Type3Message.java

                    if ((getFlags() & NTLMSSP_NEGOTIATE_SIGN) == NTLMSSP_NEGOTIATE_SIGN) {
                        final byte[] sessionNonce = new byte[16];
                        System.arraycopy(type2.getChallenge(), 0, sessionNonce, 0, 8);
                        System.arraycopy(clientChallenge, 0, sessionNonce, 8, 8);
    
                        final MD4 md4 = new MD4();
                        md4.update(responseKeyNT);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 24.1K bytes
    - Viewed (0)
  9. docs/smb3-features/03-multi-channel-design.md

                System.arraycopy(address.getAddress(), 0, buffer, offset + 8, 16);
                writeInt4(buffer, offset + 24, 0);  // Scope ID
            } else {
                // IPv4 sockaddr_in structure
                writeInt2(buffer, offset, 2);  // AF_INET
                writeInt2(buffer, offset + 2, 445);  // Port
                System.arraycopy(address.getAddress(), 0, buffer, offset + 4, 4);
            }
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 39.6K bytes
    - Viewed (0)
  10. 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.annotations.J2ktIncompatible;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Aug 13 19:39:21 UTC 2025
    - 26.2K bytes
    - Viewed (0)
Back to top