Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 71 for 0xFFFFFFFF (0.13 sec)

  1. src/test/java/jcifs/ntlmssp/NtlmMessageTest.java

            // Test with max int value (unsigned interpretation)
            buffer.putInt(0, 0xFFFFFFFF);
            assertEquals(0xFFFFFFFF, NtlmMessage.readULong(data, 0), "Should read max ULong correctly.");
    
            // Test with a negative int (should be interpreted as unsigned positive)
            buffer.putInt(0, -1); // -1 is 0xFFFFFFFF
            assertEquals(0xFFFFFFFF, NtlmMessage.readULong(data, 0), "Should interpret -1 as unsigned max ULong.");
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponseTest.java

            SMBUtil.writeInt2(16, buffer, 0);
            buffer[2] = (byte) 0xFF; // Max share type
            buffer[3] = 0;
            SMBUtil.writeInt4(0xFFFFFFFF, buffer, 4); // Max share flags
            SMBUtil.writeInt4(0xFFFFFFFF, buffer, 8); // Max capabilities
            SMBUtil.writeInt4(0xFFFFFFFF, buffer, 12); // Max access
    
            // When
            int bytesRead = response.readBytesWireFormat(buffer, 0);
    
            // Then
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeTest.java

        void testWriteSetupWireFormatBufferBoundary() {
            notifyChange = new NtTransNotifyChange(mockConfig, 0xFFFF, 0xFFFFFFFF, true);
            byte[] dst = new byte[8]; // Exact size needed
    
            int bytesWritten = notifyChange.writeSetupWireFormat(dst, 0);
    
            assertEquals(8, bytesWritten);
            assertEquals(0xFFFFFFFF, SMBUtil.readInt4(dst, 0));
            assertEquals(0xFFFF, SMBUtil.readInt2(dst, 4));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/ntlmssp/Type1Message.java

                    domain = suppliedDomain.toUpperCase().getBytes(getOEMEncoding());
                } else {
                    flags &= NTLMSSP_NEGOTIATE_OEM_DOMAIN_SUPPLIED ^ 0xffffffff;
                }
                byte[] workstation = {};
                if (suppliedWorkstation != null && suppliedWorkstation.length() != 0) {
                    hostInfo = true;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionTest.java

            transaction.setTotalParameterCount(0xFFFFFFFF);
            transaction.setTotalDataCount(0xFFFFFFFF);
            transaction.setMaxParameterCount(0xFFFFFFFF);
            transaction.setMaxDataCountForTest(0xFFFFFFFF);
            transaction.setParameterCount(0xFFFFFFFF);
            transaction.setParameterOffset(0xFFFFFFFF);
            transaction.setDataCount(0xFFFFFFFF);
            transaction.setDataOffset(0xFFFFFFFF);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/SmbComReadAndX.java

            command = SMB_COM_READ_ANDX;
            openTimeout = 0xFFFFFFFF;
        }
    
        SmbComReadAndX(final int fid, final long offset, final int maxCount, final ServerMessageBlock andx) {
            super(andx);
            this.fid = fid;
            this.offset = offset;
            this.maxCount = minCount = maxCount;
            command = SMB_COM_READ_ANDX;
            openTimeout = 0xFFFFFFFF;
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescTest.java

                    Arguments.of(0xFFFFFFFF, "All bits set"));
        }
    
        @Test
        @DisplayName("Test writeParametersWireFormat buffer boundary")
        void testWriteParametersWireFormatBufferBoundary() {
            querySecurityDesc = new NtTransQuerySecurityDesc(mockConfig, 0xFFFF, 0xFFFFFFFF);
            byte[] dst = new byte[8];
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb1/com/LockingAndXRange.java

                SMBUtil.writeInt4(this.byteOffset >> 32, dst, dstIndex + 4);
                SMBUtil.writeInt4(this.byteOffset & 0xFFFFFFFF, dst, dstIndex + 8);
                SMBUtil.writeInt4(this.lengthInBytes >> 32, dst, dstIndex + 12);
                SMBUtil.writeInt4(this.lengthInBytes & 0xFFFFFFFF, dst, dstIndex + 16);
                return 20;
            }
            SMBUtil.writeInt2(this.pid, dst, dstIndex);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/smb1/TransWaitNamedPipeTest.java

            // SubCommand should be TRANS_WAIT_NAMED_PIPE (0x53)
            assertEquals(SmbComTransaction.TRANS_WAIT_NAMED_PIPE, pipe.subCommand);
    
            // Timeout is set to 0xFFFFFFFF (-1 when cast to int)
            assertEquals(0xFFFFFFFF, pipe.timeout);
    
            // Max parameter and data counts should be 0
            assertEquals(0, pipe.maxParameterCount);
            assertEquals(0, pipe.maxDataCount);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationResponseTest.java

            SMBUtil.writeInt2(0, buffer, 0);
            SMBUtil.writeUTime(0, buffer, 2);
            SMBUtil.writeInt4(overflowSize, buffer, 6);
    
            response.readParameterWordsWireFormat(buffer, 0);
    
            // 0xFFFFFFFF becomes -1 when interpreted as signed int
            assertEquals(-1L, response.getSize());
        }
    
        @Test
        void testReadBytesWireFormat() {
            // Test readBytesWireFormat - should always return 0
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
Back to top