Search Options

Results per page
Sort
Preferred Languages
Advance

Results 251 - 260 of 260 for bufferIndex (0.04 sec)

  1. src/test/java/jcifs/internal/RequestWithPathTest.java

                return resolveInDfs;
            }
    
            // CommonServerMessageBlock interface methods (stubbed for testing)
            @Override
            public int decode(byte[] buffer, int bufferIndex) throws SMBProtocolDecodingException {
                return 0;
            }
    
            @Override
            public int encode(byte[] dst, int dstIndex) {
                return 0;
            }
    
            @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateRequest.java

        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.smb2.ServerMessageBlock2#readBytesWireFormat(byte[], int)
         */
        @Override
        protected int readBytesWireFormat(final byte[] buffer, final int bufferIndex) {
            return 0;
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/fscc/FileSystemInformationTest.java

            }
    
            @Override
            public byte getFileSystemInformationClass() {
                return informationClass;
            }
    
            @Override
            public int decode(byte[] buffer, int bufferIndex, int len) throws SMBProtocolDecodingException {
                return 0;
            }
        }
    
        @Nested
        @DisplayName("Interface Constants Tests")
        class InterfaceConstantsTests {
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/NotifyResponseTest.java

                this.async = false;
                this.nextResponse = null;
            }
    
            // CommonServerMessageBlock interface methods
            @Override
            public int decode(byte[] buffer, int bufferIndex) throws SMBProtocolDecodingException {
                // Mock implementation
                return 0;
            }
    
            @Override
            public int encode(byte[] dst, int dstIndex) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/AllocInfoTest.java

            }
    
            @Override
            public byte getFileSystemInformationClass() {
                return fileSystemInformationClass;
            }
    
            @Override
            public int decode(byte[] buffer, int bufferIndex, int len) throws jcifs.internal.SMBProtocolDecodingException {
                // Simple test implementation - not used in these tests
                return 0;
            }
        }
    
        @Nested
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/ServerMessageBlock2ResponseTest.java

            }
    
            public void setDigest(Smb2SigningDigest digest) {
                this.digest = digest;
            }
    
            @Override
            protected int readBytesWireFormat(byte[] buffer, int bufferIndex) throws SMBProtocolDecodingException {
                // Simple implementation for testing
                return 0;
            }
    
            @Override
            protected int writeBytesWireFormat(byte[] dst, int dstIndex) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/netbios/SessionServicePacketTest.java

                    dst[dstIndex + i] = (byte) i;
                }
                return trailerLength;
            }
    
            @Override
            int readTrailerWireFormat(InputStream in, byte[] buffer, int bufferIndex) throws IOException {
                // Simple mock implementation
                byte[] temp = new byte[length];
                int read = in.read(temp, 0, length);
                if (read < length) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/fscc/FileBothDirectoryInfoTest.java

            int bytesConsumed = fileBothDirectoryInfo.decode(buffer, 0, buffer.length);
    
            // Verify bytes consumed matches the actual data size
            assertTrue(bytesConsumed < 0); // Return value is negative (start - bufferIndex)
            assertEquals(-94 - filename.length() * 2, bytesConsumed); // Base structure + filename length
        }
    
        @Test
        @DisplayName("Test decode with maximum field values")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/create/Smb2CreateRequest.java

        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.smb2.ServerMessageBlock2#readBytesWireFormat(byte[], int)
         */
        @Override
        protected int readBytesWireFormat(final byte[] buffer, final int bufferIndex) {
            return 0;
        }
    
        @Override
        public String toString() {
            return "[" + super.toString() + ",name=" + this.name + ",resolveDfs=" + this.resolveDfs + "]";
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 22.9K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/util/MD4.java

         */
        @Override
        public byte[] engineDigest() {
            // pad output to 56 mod 64; as RFC1320 puts it: congruent to 448 mod 512
            final int bufferNdx = (int) (count % BLOCK_LENGTH);
            final int padLen = bufferNdx < 56 ? 56 - bufferNdx : 120 - bufferNdx;
    
            // padding is alwas binary 1 followed by binary 0s
            final byte[] tail = new byte[padLen + 8];
            tail[0] = (byte) 0x80;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 9.6K bytes
    - Viewed (0)
Back to top