Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 178 for writeBytesWireFormat (0.09 sec)

  1. src/test/java/jcifs/internal/smb1/trans/SmbComTransactionTest.java

            int paramWords = transaction.writeParameterWordsWireFormat(dst, 0);
            assertTrue(paramWords >= 0);
    
            // Test bytes wire format
            int bytes = transaction.writeBytesWireFormat(dst, 0);
            assertTrue(bytes >= 0);
        }
    
        @Test
        @DisplayName("Test read operations")
        void testReadOperations() {
            byte[] buffer = new byte[256];
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb1/trans/SmbComTransactionResponse.java

            return this;
        }
    
        @Override
        protected int writeParameterWordsWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
        @Override
        protected int writeBytesWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.smb1.ServerMessageBlock#decode(byte[], int)
         */
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbComTreeConnectAndX.java

            dstIndex++;
            dst[dstIndex++] = (byte) 0x00;
            writeInt2(passwordLength, dst, dstIndex);
            return 4;
        }
    
        @Override
        int writeBytesWireFormat(final byte[] dst, int dstIndex) {
            final int start = dstIndex;
    
            if (session.transport.server.security == SECURITY_SHARE && (session.auth.hashesExternal || session.auth.password.length() > 0)) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/lock/Smb2LeaseBreakNotification.java

         * @return the share access hint
         */
        public int getShareAccessHint() {
            return shareAccessHint;
        }
    
        @Override
        protected int writeBytesWireFormat(byte[] dst, int dstIndex) {
            // Lease break notifications are sent by the server, not written by client
            return 0;
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb1/com/SmbComReadAndX.java

            dstIndex += 2;
            SMBUtil.writeInt4(this.offset >> 32, dst, dstIndex);
            dstIndex += 4;
    
            return dstIndex - start;
        }
    
        @Override
        protected int writeBytesWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
        @Override
        protected int readParameterWordsWireFormat(final byte[] buffer, final int bufferIndex) {
            return 0;
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/smb1/ServerMessageBlockTest.java

                System.arraycopy(paramWords, 0, dst, dstIndex, paramWords.length);
                return paramWords.length;
            }
    
            @Override
            int writeBytesWireFormat(byte[] dst, int dstIndex) {
                System.arraycopy(bytes, 0, dst, dstIndex, bytes.length);
                return bytes.length;
            }
    
            @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb1/com/SmbComNTCreateAndXResponse.java

        }
    
        @Override
        protected int writeParameterWordsWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
        @Override
        protected int writeBytesWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
        @Override
        protected int readParameterWordsWireFormat(final byte[] buffer, int bufferIndex) {
            final int start = bufferIndex;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb1/com/SmbComTreeConnectAndX.java

                    && !((jcifs.smb.NtlmPasswordAuthentication) pwAuth).areHashesExternal() && pwAuth.getPassword().isEmpty();
        }
    
        @Override
        protected int writeBytesWireFormat(final byte[] dst, int dstIndex) {
            final int start = dstIndex;
            if (this.server.security == SmbConstants.SECURITY_SHARE && this.ctx.getCredentials() instanceof NtlmPasswordAuthenticator) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/ServerMessageBlock2.java

        @Override
        public int encode(final byte[] dst, int dstIndex) {
            final int start = this.headerStart = dstIndex;
            dstIndex += writeHeaderWireFormat(dst, dstIndex);
    
            this.byteCount = writeBytesWireFormat(dst, dstIndex);
            dstIndex += this.byteCount;
            dstIndex += pad8(dstIndex);
    
            this.length = dstIndex - start;
    
            int len = this.length;
    
            if (this.next != null) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 24K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb1/com/SmbComNegotiateResponse.java

            return this.server;
        }
    
        @Override
        protected int writeParameterWordsWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
        @Override
        protected int writeBytesWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
        @Override
        protected int readParameterWordsWireFormat(final byte[] buffer, int bufferIndex) {
            final int start = bufferIndex;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 15.8K bytes
    - Viewed (0)
Back to top