Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 41 - 50 of 64 for 0xFFFFFFFF (0.08 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/test/java/jcifs/internal/smb1/net/SmbShareInfoTest.java

            assertTrue(str.endsWith("]"));
        }
    
        @ParameterizedTest
        @DisplayName("Test toString with various type values")
        @ValueSource(ints = { 0x00000000, 0x00000001, 0x00000003, 0x80000000, 0x80000001, 0xFFFFFFFF })
        void testToStringWithVariousTypes(int type) {
            SmbShareInfo info = new SmbShareInfo(TEST_NET_NAME, type, TEST_REMARK);
            String str = info.toString();
    
            // Verify type is displayed as hex
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  2. src/main/java/jcifs/smb1/util/Encdec.java

            case TIME_1904_SEC_32BE -> enc_uint32be((int) (date.getTime() / 1000L + SEC_BETWEEEN_1904_AND_1970 & 0xFFFFFFFF), dst, di);
            case TIME_1904_SEC_32LE -> enc_uint32le((int) (date.getTime() / 1000L + SEC_BETWEEEN_1904_AND_1970 & 0xFFFFFFFF), dst, di);
            case TIME_1601_NANOS_64BE -> {
                t = (date.getTime() + MILLISECONDS_BETWEEN_1970_AND_1601) * 10000L;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 18.5K bytes
    - Click Count (0)
  3. src/test/java/jcifs/dcerpc/UUIDTest.java

            @DisplayName("toString() should handle maximum values correctly")
            void testToStringMaxValues() {
                // Arrange
                rpc.uuid_t rpcUuid = new rpc.uuid_t();
                rpcUuid.time_low = 0xFFFFFFFF;
                rpcUuid.time_mid = (short) 0xFFFF;
                rpcUuid.time_hi_and_version = (short) 0xFFFF;
                rpcUuid.clock_seq_hi_and_reserved = (byte) 0xFF;
                rpcUuid.clock_seq_low = (byte) 0xFF;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 13.2K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoResponseTest.java

            // Prepare test data with maximum values
            byte[] buffer = new byte[50];
            int bufferIndex = 0;
    
            // Set maximum values
            int testCapabilities = 0xFFFFFFFF;
            byte[] testGuid = new byte[16];
            Arrays.fill(testGuid, (byte) 0xFF);
            int testSecurityMode = 0xFFFF;
            int testDialect = 0xFFFF;
    
            // Write to buffer
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10.8K bytes
    - Click Count (0)
  5. src/test/java/jcifs/pac/PacLogonInfoTest.java

            ByteArrayOutputStream baos = new ByteArrayOutputStream();
            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);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  6. src/main/java/jcifs/internal/smb1/SMB1SigningDigest.java

         */
        public static void writeUTime(final Configuration cfg, long t, final byte[] dst, final int dstIndex) {
            if (t == 0L || t == 0xFFFFFFFFFFFFFFFFL) {
                SMBUtil.writeInt4(0xFFFFFFFF, dst, dstIndex);
                return;
            }
    
            if (cfg.getLocalTimezone().inDaylightTime(new Date())) {
                // in DST
                if (cfg.getLocalTimezone().inDaylightTime(new Date(t))) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 11.9K bytes
    - Click Count (0)
  7. src/test/java/jcifs/internal/smb1/trans/TransPeekNamedPipeTest.java

            // Assert
            assertNotNull(transPeekNamedPipe);
            assertEquals(TEST_PIPE_NAME, transPeekNamedPipe.name);
            assertEquals(0xFFFFFFFF, transPeekNamedPipe.timeout);
            assertEquals(6, transPeekNamedPipe.maxParameterCount);
            assertEquals(1, transPeekNamedPipe.maxDataCount);
            assertEquals((byte) 0x00, transPeekNamedPipe.maxSetupCount);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.4K bytes
    - Click Count (0)
  8. src/main/java/jcifs/ntlmssp/Type2Message.java

                            : targetName.toUpperCase().getBytes(getOEMEncoding());
                    size += targetBytes.length;
                } else {
                    flags &= 0xffffffff ^ NTLMSSP_REQUEST_TARGET;
                }
            }
    
            if (targetInformationBytes != null) {
                size += targetInformationBytes.length;
                flags |= NTLMSSP_NEGOTIATE_TARGET_INFO;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 14.4K bytes
    - Click Count (0)
  9. src/main/java/jcifs/smb1/ntlmssp/Type2Message.java

                                : targetName.toUpperCase().getBytes(getOEMEncoding());
                    } else {
                        flags &= 0xffffffff ^ NTLMSSP_REQUEST_TARGET;
                    }
                }
                if (targetInformation != null) {
                    flags |= NTLMSSP_NEGOTIATE_TARGET_INFO;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 13K bytes
    - Click Count (0)
  10. src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionResponseTest.java

            buffer[bufferIndex + 2] = (byte) 0xFF;
    
            // Set fields with negative values (should be treated as unsigned)
            SMBUtil.writeInt4(-1, buffer, bufferIndex + 3); // Should be read as 0xFFFFFFFF
            SMBUtil.writeInt4(-100, buffer, bufferIndex + 7);
            SMBUtil.writeInt4(-1000, buffer, bufferIndex + 11);
            SMBUtil.writeInt4(0, buffer, bufferIndex + 15);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 16.3K bytes
    - Click Count (0)
Back to Top