Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 91 for 0x00ffffff (0.2 sec)

  1. src/test/java/jcifs/internal/smb1/com/SmbComSeekResponseTest.java

                    Arguments.of(0x12345678, new byte[] { 0x78, 0x56, 0x34, 0x12 }),
                    Arguments.of(0xFFFFFFFF, new byte[] { (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF }),
                    Arguments.of(0x7FFFFFFF, new byte[] { (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0x7F }));
        }
    
        @ParameterizedTest
        @MethodSource("int32Provider")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/pac/PacDataInputStreamTest.java

            assertEquals(0xFFFF, pdis.readUnsignedShort());
        }
    
        @Test
        public void testReadUnsignedInt() throws IOException {
            // Little-endian 0xFFFFFFFF -> 0xFF 0xFF 0xFF 0xFF
            byte[] data = new byte[] { (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF };
            PacDataInputStream pdis = createInputStream(data);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/dcerpc/DcerpcErrorTest.java

        void testFaultCodeValueRanges() {
            // Standard fault codes (0x00000000 - 0x0000FFFF range)
            assertTrue(DcerpcError.DCERPC_FAULT_OTHER >= 0 && DcerpcError.DCERPC_FAULT_OTHER <= 0x0000FFFF,
                    "DCERPC_FAULT_OTHER should be in standard range");
            assertTrue(DcerpcError.DCERPC_FAULT_ACCESS_DENIED >= 0 && DcerpcError.DCERPC_FAULT_ACCESS_DENIED <= 0x0000FFFF,
                    "DCERPC_FAULT_ACCESS_DENIED should be in standard range");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. src/test/java/jcifs/pac/PacLogonInfoTest.java

            DataOutputStream dos = new DataOutputStream(baos);
    
            // Write the special "never" FILETIME value
            writeLittleEndianInt(dos, 0xffffffff);
            writeLittleEndianInt(dos, 0x7fffffff);
    
            ByteArrayInputStream bais = new ByteArrayInputStream(baos.toByteArray());
            PacDataInputStream pacStream = new PacDataInputStream(bais);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2Test.kt

        frame.writeInt(expectedStreamId and 0x7fffffff)
        frame.write(headerBlock, Http2.INITIAL_MAX_FRAME_SIZE.toLong())
    
        // Write the continuation frame, specifying no more frames are expected.
        writeMedium(frame, headerBlock.size.toInt())
        frame.writeByte(Http2.TYPE_CONTINUATION)
        frame.writeByte(FLAG_END_HEADERS)
        frame.writeInt(expectedStreamId and 0x7fffffff)
        frame.writeAll(headerBlock)
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 28.1K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top