Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 131 - 140 of 178 for writeBytesWireFormat (0.19 seconds)

  1. src/main/java/jcifs/internal/smb1/com/SmbComOpenAndX.java

            for (int i = 0; i < 8; i++) {
                dst[dstIndex] = 0x00;
                dstIndex++;
            }
    
            return dstIndex - start;
        }
    
        @Override
        protected int writeBytesWireFormat(final byte[] dst, int dstIndex) {
            final int start = dstIndex;
    
            if (this.isUseUnicode()) {
                dst[dstIndex] = (byte) '\0';
                dstIndex++;
            }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 7.3K bytes
    - Click Count (0)
  2. 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;
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 5.4K bytes
    - Click Count (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)) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 6.6K bytes
    - Click Count (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
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 02:21:31 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  5. 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) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  6. src/main/java/jcifs/smb1/smb1/ServerMessageBlock.java

            dst[dstIndex] = (byte) (wordCount / 2 & 0xFF);
            dstIndex++;
            dstIndex += wordCount;
            wordCount /= 2;
            byteCount = writeBytesWireFormat(dst, dstIndex + 2);
            dst[dstIndex++] = (byte) (byteCount & 0xFF);
            dst[dstIndex++] = (byte) (byteCount >> 8 & 0xFF);
            dstIndex += byteCount;
    
            length = dstIndex - start;
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 19.7K bytes
    - Click Count (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;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  8. src/main/java/jcifs/smb1/smb1/AndXServerMessageBlock.java

            wordCount += 4; // for command, reserved, and offset
            dstIndex += wordCount + 1;
            wordCount /= 2;
            dst[start] = (byte) (wordCount & 0xFF);
    
            byteCount = writeBytesWireFormat(dst, dstIndex + 2);
            dst[dstIndex] = (byte) (byteCount & 0xFF);
            dstIndex++;
            dst[dstIndex++] = (byte) (byteCount >> 8 & 0xFF);
            dstIndex += byteCount;
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  9. src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationResponseTest.java

        }
    
        @Test
        void testWriteBytesWireFormat() {
            // Test writeBytesWireFormat - should always return 0
            response = new SmbComQueryInformationResponse(mockConfig, 0L);
    
            byte[] buffer = new byte[256];
            int bytesWritten = response.writeBytesWireFormat(buffer, 0);
    
            assertEquals(0, bytesWritten);
        }
    
        @Test
        void testToString() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.9K bytes
    - Click Count (0)
  10. 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
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.9K bytes
    - Click Count (0)
Back to Top