Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 98 for 0x00ffffff (0.04 sec)

  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
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  2. 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);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/trans2/Trans2FindNext2Test.java

            }
        }
    
        @Test
        void testLargeBatchParameters() {
            // Test with maximum allowed values
            int maxSid = 0xFFFF;
            int maxResumeKey = 0x7FFFFFFF;
            int maxBatchCount = 65535;
            int maxBatchSize = 65535;
    
            trans2FindNext2 = new Trans2FindNext2(config, maxSid, maxResumeKey, TEST_FILENAME, maxBatchCount, maxBatchSize);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.2K bytes
    - Viewed (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
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  5. 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))) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  6. 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;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 13K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/util/HexdumpTest.java

            Hexdump.toHexChars(0, dst1, 0, 4);
            assertEquals("0000", new String(dst1));
    
            // Test with all F's
            char[] dst2 = new char[8];
            Hexdump.toHexChars(0xFFFFFFFF, dst2, 0, 8);
            assertEquals("FFFFFFFF", new String(dst2));
    
            // Test partial buffer update
            char[] dst3 = new char[6];
            java.util.Arrays.fill(dst3, 'Z');
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.4K bytes
    - Viewed (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;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  9. src/archive/zip/struct.go

    fields. The 64 bit fields will always contain the correct value and
    for normal archives both fields will be the same. For files requiring
    the ZIP64 format the 32 bit fields will be 0xffffffff and the 64 bit
    fields must be used instead.
    
    [ZIP specification]: https://support.pkware.com/pkzip/appnote
    */
    package zip
    
    import (
    	"io/fs"
    	"path"
    	"time"
    )
    
    // Compression methods.
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Tue May 28 21:41:09 UTC 2024
    - 12.1K bytes
    - Viewed (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);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 16.3K bytes
    - Viewed (0)
Back to top