Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 26 of 26 for readUTime (4.07 sec)

  1. src/main/java/jcifs/smb1/smb1/SmbComNegotiateResponse.java

            bufferIndex += 4;
            server.sessionKey = readInt4(buffer, bufferIndex);
            bufferIndex += 4;
            server.capabilities = readInt4(buffer, bufferIndex);
            bufferIndex += 4;
            server.serverTime = readTime(buffer, bufferIndex);
            bufferIndex += 8;
            server.serverTimeZone = readInt2(buffer, bufferIndex);
            bufferIndex += 2;
            server.encryptionKeyLength = buffer[bufferIndex++] & 0xFF;
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateResponse.java

                throw new SMBProtocolDecodingException("Buffer too small for timestamps and offsets section");
            }
    
            this.systemTime = SMBUtil.readTime(buffer, bufferIndex);
            bufferIndex += 8;
            this.serverStartTime = SMBUtil.readTime(buffer, bufferIndex);
            bufferIndex += 8;
    
            final int securityBufferOffset = SMBUtil.readInt2(buffer, bufferIndex);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 24K bytes
    - Viewed (0)
  3. docs/smb3-features/05-rdma-smb-direct-design.md

        try (InputStream is = file.getInputStream()) {
            is.read(readData);
        }
        
        long readTime = System.currentTimeMillis() - start;
        
        assertArrayEquals(data, readData);
        
        // RDMA should be faster than TCP for large transfers
        log.info("RDMA Write: {}ms, Read: {}ms", writeTime, readTime);
    }
    
    @Test
    public void testRdmaFallbackToTcp() throws Exception {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 35.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb1/com/SmbComNegotiateResponse.java

            bufferIndex += 4;
            this.server.scapabilities = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
            this.server.serverTime = SMBUtil.readTime(buffer, bufferIndex);
            bufferIndex += 8;
            int tzOffset = SMBUtil.readInt2(buffer, bufferIndex);
            // tzOffset is signed!
            if (tzOffset > Short.MAX_VALUE) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/fscc/FileBasicInfoTest.java

            FileBasicInfo decoded = new FileBasicInfo();
            decoded.decode(buffer, 0, 36); // decode reads 36 bytes
    
            // Note: When encoding time 0, SMBUtil.writeTime writes 0 directly,
            // but SMBUtil.readTime interprets 0 as Jan 1, 1601 in Unix time (-11644473600000)
            // This is the expected behavior for Windows FILETIME
            long expectedTime = -11644473600000L; // Jan 1, 1601 in Unix time
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/fscc/FileBothDirectoryInfoTest.java

            SMBUtil.writeInt4(0, buffer, 64); // eaSize
    
            // Decode
            fileBothDirectoryInfo.decode(buffer, 0, buffer.length);
    
            // Verify - when wire format is 0, readTime returns a negative value due to the 1601-1970 conversion
            assertEquals(0, fileBothDirectoryInfo.getNextEntryOffset());
            assertEquals(0, fileBothDirectoryInfo.getFileIndex());
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.9K bytes
    - Viewed (0)
Back to top