Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 284 for arrayCopy (0.05 sec)

  1. src/main/java/jcifs/internal/smb1/trans/TransTransactNamedPipeResponse.java

            if (len > this.outputBuffer.length) {
                throw new SMBProtocolDecodingException("Payload exceeds buffer size");
            }
            System.arraycopy(buffer, bufferIndex, this.outputBuffer, 0, len);
            return len;
    
        }
    
        @Override
        public String toString() {
            return ("TransTransactNamedPipeResponse[" + super.toString() + "]");
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/ioctl/SrvRequestResumeKeyResponse.java

            final int start = bufferIndex;
            if (len < 24) {
                throw new SMBProtocolDecodingException("Invalid resume key");
            }
    
            this.resumeKey = new byte[24];
            System.arraycopy(buffer, bufferIndex, this.resumeKey, 0, 24);
            bufferIndex += 24;
    
            SMBUtil.readInt4(buffer, bufferIndex); // contextLength - reserved
            bufferIndex += 4;
    
            return bufferIndex - start;
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/persistent/DurableHandleRequest.java

            dstIndex += 2;
    
            SMBUtil.writeInt4(STRUCTURE_SIZE, dst, dstIndex); // DataLength
            dstIndex += 4;
    
            // Write context name
            System.arraycopy(CONTEXT_NAME_BYTES, 0, dst, dstIndex, 4);
            dstIndex += 4;
    
            // Padding to align data to 8-byte boundary
            dstIndex += 4;
    
            // Write durable handle request data (16 bytes of reserved)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SmbComSessionSetupAndXResponse.java

        }
    
        @Override
        int readBytesWireFormat(final byte[] buffer, int bufferIndex) {
            final int start = bufferIndex;
    
            if (extendedSecurity) {
                System.arraycopy(buffer, bufferIndex, blob, 0, blob.length);
                bufferIndex += blob.length;
            }
            nativeOs = readString(buffer, bufferIndex);
            bufferIndex += stringWireLength(nativeOs, bufferIndex);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/info/Smb2QueryInfoRequest.java

            dstIndex += 4;
            SMBUtil.writeInt4(this.additionalInformation, dst, dstIndex);
            dstIndex += 4;
            SMBUtil.writeInt4(this.queryFlags, dst, dstIndex);
            dstIndex += 4;
            System.arraycopy(this.fileId, 0, dst, dstIndex, 16);
            dstIndex += 16;
    
            if (this.inputBuffer == null) {
                SMBUtil.writeInt2(0, dst, inBufferOffsetOffset);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/persistent/HandleInfo.java

         */
        public void updateFileId(byte[] newFileId) {
            if (newFileId.length != 16) {
                throw new IllegalArgumentException("File ID must be 16 bytes");
            }
            System.arraycopy(newFileId, 0, this.fileId, 0, 16);
        }
    
        @Override
        public String toString() {
            return "HandleInfo{" + "path='" + path + '\'' + ", createGuid=" + createGuid + ", type=" + type + ", timeout=" + timeout
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/ioctl/SrvPipePeekResponse.java

            bufferIndex += 4;
            this.messageLength = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
            this.data = new byte[len - 16];
            if (this.data.length > 0) {
                System.arraycopy(buffer, bufferIndex, this.data, 0, this.data.length);
            }
            return bufferIndex - start;
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  8. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/lease/Smb2LeaseKey.java

         * Write the lease key to a buffer
         *
         * @param dst destination buffer
         * @param dstIndex starting index in destination buffer
         */
        public void encode(byte[] dst, int dstIndex) {
            System.arraycopy(key, 0, dst, dstIndex, LEASE_KEY_SIZE);
        }
    
        /**
         * Check if this is a zero key (all bytes are zero)
         *
         * @return true if all bytes are zero
         */
        public boolean isZero() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 00:16:17 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  10. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 24.1K bytes
    - Viewed (0)
Back to top