Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for lossy (0.02 sec)

  1. src/main/java/jcifs/internal/smb2/persistent/HandleType.java

     */
    public enum HandleType {
        /**
         * No durability - standard handle
         */
        NONE(0),
    
        /**
         * SMB 2.1 durable handle - survives network loss
         */
        DURABLE_V1(1),
    
        /**
         * SMB 3.0 durable handle V2 - with timeout configuration
         */
        DURABLE_V2(2),
    
        /**
         * SMB 3.0 persistent handle - survives server reboot
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/util/SMBUtilTest.java

            for (long time : testTimes) {
                SMBUtil.writeTime(time, buffer, 0);
                long readTime = SMBUtil.readTime(buffer, 0);
    
                // Account for precision loss in conversion
                long expectedTime = ((time + SmbConstants.MILLISECONDS_BETWEEN_1970_AND_1601) * 10000L) / 10000L
                        - SmbConstants.MILLISECONDS_BETWEEN_1970_AND_1601;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseManagerTest.java

            DirectoryCacheEntry entry = directoryLeaseManager.getCacheEntry(directoryPath);
            entry.updateChild("file1.txt", 1024L, 1000L, false, 0x20, 500L, 800L);
            entry.markComplete();
    
            // Break lease with loss of read cache
            int newState = Smb2LeaseState.SMB2_LEASE_HANDLE_CACHING; // Lost read cache
            directoryLeaseManager.handleDirectoryLeaseBreak(leaseKey, newState);
    
            // Cache should be invalidated
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/pac/PacDataInputStreamTest.java

            PacDataInputStream pdis = createInputStream(data);
            Date date = pdis.readFiletime();
            assertNotNull(date);
            // Allow for a small difference due to precision loss
            assertEquals(time / 1000, date.getTime() / 1000);
    
            // Test with null date (0x7fffffff ffffffff)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/lease/DirectoryLeasingIntegrationTest.java

            // Step 9: Test lease break
            // Re-populate cache
            directoryLeaseManager.updateDirectoryCache(directoryPath, files);
            assertTrue(cacheEntry.isComplete());
    
            // Simulate lease break with loss of read cache
            directoryLeaseManager.handleDirectoryLeaseBreak(leaseKey, Smb2LeaseState.SMB2_LEASE_HANDLE_CACHING);
    
            // Cache should be invalidated
            assertFalse(cacheEntry.isComplete());
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/util/DES.java

    // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
    // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
    // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
    // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
    // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 22.7K bytes
    - Viewed (0)
  7. docs/smb3-features/02-persistent-handles-design.md

    ## 3. Handle Types and Capabilities
    
    ### 3.1 Handle Types
    ```java
    public enum HandleType {
        NONE(0),                    // No durability
        DURABLE_V1(1),              // SMB 2.1 - survives network loss
        DURABLE_V2(2),              // SMB 3.0 - with timeout
        PERSISTENT(3);              // SMB 3.0 - survives server reboot
        
        private final int value;
        
        HandleType(int value) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 31.6K bytes
    - Viewed (0)
Back to top