Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for 33 (0.01 sec)

  1. src/test/java/jcifs/netbios/NameTest.java

            // Verify length
            assertTrue(length > 33);
        }
    
        @Test
        void writeWireFormat_withScope_shouldEncodeCorrectly() {
            Name name = new Name(mockConfig, "TEST", 0x20, "scope.com");
            byte[] dst = new byte[100];
    
            int length = name.writeWireFormat(dst, 0);
    
            // Scope should start at position 33 with a length byte (not '.')
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/AndXServerMessageBlockTest.java

                @Override
                protected int readHeaderWireFormat(byte[] buffer, int bufferIndex) {
                    // Simulate header reading
                    return 33;
                }
            };
            byte[] buffer = new byte[1024];
    
            // Setup buffer after header
            buffer[33] = 4; // wordCount
            buffer[34] = (byte) 0xFF; // andxCommand
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/DosFileFilterTest.java

                "16, 16, true", // ATTR_DIRECTORY
                "32, 32, true", // ATTR_ARCHIVE
                "3, 1, true", // READONLY | HIDDEN vs READONLY
                "3, 2, true", // READONLY | HIDDEN vs HIDDEN
                "3, 3, true", // READONLY | HIDDEN vs READONLY | HIDDEN
                "48, 16, true", // DIRECTORY | ARCHIVE vs DIRECTORY
                "48, 32, true", // DIRECTORY | ARCHIVE vs ARCHIVE
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/AndXServerMessageBlockTest.java

            DummyAndXBlock block = new DummyAndXBlock() {
                @Override
                int readHeaderWireFormat(byte[] buffer, int bufferIndex) {
                    // Simulate fixed-size header parsing
                    return 33;
                }
            };
    
            byte[] buf = new byte[128];
            // After header at 0..32
            buf[33] = 4; // wordCount
            buf[34] = (byte) 0xFF; // andxCommand
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SmbFileHandleImplTest.java

                    : new SmbFileHandleImpl(cfg, 33, tA, "//eq/a", 0, 0, 0, 0, 0L);
    
            SmbFileHandleImpl hB = id2 != null ? new SmbFileHandleImpl(cfg, id2, tB, "//eq/b", 0, 0, 0, 0, 0L)
                    : new SmbFileHandleImpl(cfg, 33, tB, "//eq/b", 0, 0, 0, 0, 0L);
    
            if (expectEqual) {
                assertEquals(hA, hB);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/create/Smb2CreateRequestTest.java

            byte[] buffer = new byte[1024];
            request.writeBytesWireFormat(buffer, 0);
    
            // Read share access from buffer (offset 32-35)
            int readShareAccess = (buffer[32] & 0xFF) | ((buffer[33] & 0xFF) << 8) | ((buffer[34] & 0xFF) << 16) | ((buffer[35] & 0xFF) << 24);
            assertEquals(shareAccess, readShareAccess);
        }
    
        @Test
        @DisplayName("Test create disposition setter")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/info/Smb2SetInfoRequestTest.java

                // Create a buffer and write
                byte[] buffer = new byte[256];
                int bytesWritten = request.writeBytesWireFormat(buffer, 64);
    
                // Verify structure size (should be 33)
                assertEquals(33, SMBUtil.readInt2(buffer, 64));
    
                // Verify info type and file info class
                assertEquals((byte) 0x01, buffer[66]);
                assertEquals((byte) 0x04, buffer[67]);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/util/DES.java

                0x000002, 0x000001 };
        private static byte[] pc1 = { (byte) 56, (byte) 48, (byte) 40, (byte) 32, (byte) 24, (byte) 16, (byte) 8, (byte) 0, (byte) 57,
                (byte) 49, (byte) 41, (byte) 33, (byte) 25, (byte) 17, (byte) 9, (byte) 1, (byte) 58, (byte) 50, (byte) 42, (byte) 34,
                (byte) 26, (byte) 18, (byte) 10, (byte) 2, (byte) 59, (byte) 51, (byte) 43, (byte) 35, (byte) 62, (byte) 54, (byte) 46,
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 22.7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/info/Smb2QueryDirectoryRequest.java

         */
        @Override
        protected int writeBytesWireFormat(final byte[] dst, int dstIndex) {
            final int start = dstIndex;
            SMBUtil.writeInt2(33, dst, dstIndex);
            dst[dstIndex + 2] = this.fileInformationClass;
            dst[dstIndex + 3] = this.queryFlags;
            dstIndex += 4;
            SMBUtil.writeInt4(this.fileIndex, dst, dstIndex);
            dstIndex += 4;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  10. src/test/java/jcifs/config/SecurityConfigurationTest.java

            assertTrue("LM compatibility should be 3 or higher for NTLMv2 only", config.getLanManCompatibility() >= 3);
            assertEquals("LM compatibility should default to 3", 3, config.getLanManCompatibility());
    
            // Verify maximum version supports latest SMB 3.1.1
            assertEquals("Maximum version should be SMB 3.1.1", DialectVersion.SMB311, config.getMaximumVersion());
        }
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 3.1K bytes
    - Viewed (0)
Back to top