Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 58 for exploration (1.47 sec)

  1. src/test/java/jcifs/smb1/smb1/DfsReferralTest.java

            referral.path = "/test/path";
            referral.ttl = 300;
            referral.expiration = 1234567890L;
            referral.resolveHashes = true;
    
            // When
            String expectedString =
                    "DfsReferral[pathConsumed=20,server=testServer,share=testShare,link=testLink,path=/test/path,ttl=300,expiration=1234567890,resolveHashes=true]";
            String actualString = referral.toString();
    
            // Then
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/admin/accesstoken/CreateForm.java

    import jakarta.validation.constraints.Size;
    
    /**
     * Form class for creating access tokens in the admin interface.
     * This form handles the creation of API access tokens with configurable permissions and expiration dates.
     */
    public class CreateForm {
    
        /**
         * Creates a new CreateForm instance.
         */
        public CreateForm() {
            // Default constructor
        }
    
        /**
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/ServerMessageBlock2ResponseTest.java

            }
        }
    
        @Nested
        @DisplayName("Expiration Tests")
        class ExpirationTests {
    
            @Test
            @DisplayName("Should get and set expiration")
            void testExpiration() {
                Long expiration = 1000L;
    
                response.setExpiration(expiration);
    
                assertEquals(expiration, response.getExpiration());
            }
    
            @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/tests/persistent/HandleInfoTest.java

        }
    
        @Test
        public void testHandleInfoExpiration() {
            // Test durable handle expiration
            HandleInfo durableInfo = new HandleInfo("/test/file.txt", testGuid, testFileId, HandleType.DURABLE_V2, 100, // 100ms timeout
                    null);
    
            assertFalse(durableInfo.isExpired());
    
            // Wait for expiration
            try {
                Thread.sleep(150);
            } catch (InterruptedException e) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/smb1/DfsTest.java

            Dfs.CacheEntry cacheEntry = new Dfs.CacheEntry(ttl);
            long expectedExpiration = System.currentTimeMillis() + ttl * 1000L;
            assertTrue(cacheEntry.expiration >= expectedExpiration - 100 && cacheEntry.expiration <= expectedExpiration + 100);
            assertNotNull(cacheEntry.map);
    
            // Test with TTL = 0, should use default TTL
            Dfs.CacheEntry cacheEntryDefault = new Dfs.CacheEntry(0);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/lease/LeaseManagerTest.java

            assertNotNull(leaseManager.getLease(key));
    
            // Wait a bit and then cleanup with a very short expiration time
            Thread.sleep(10);
            int cleaned = leaseManager.cleanupExpiredLeases(1); // 1ms expiration
    
            assertEquals(1, cleaned);
            assertNull(leaseManager.getLease(key));
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 00:16:17 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/SmbTransport.java

                                long timeout = RESPONSE_TIMEOUT;
                                resp.expiration = System.currentTimeMillis() + timeout;
                                while (resp.hasMoreElements()) {
                                    wait(timeout);
                                    timeout = resp.expiration - System.currentTimeMillis();
                                    if (timeout <= 0) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/lease/DirectoryLeasingIntegrationTest.java

            // Set very short expiration time
            entry.setMaxAge(50); // 50ms
    
            // Update cache
            List<SmbFile> files = Arrays.asList(mockFile1);
            directoryLeaseManager.updateDirectoryCache(directoryPath, files);
    
            assertTrue(entry.isComplete());
            assertFalse(entry.needsRefresh());
    
            // Wait for expiration
            Thread.sleep(100);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/dfs/DfsReferralDataImplTest.java

                when(mockReferral.getNode()).thenReturn("\\server.example.com\\share\\folder");
    
                long expiration = System.currentTimeMillis() + 60000;
                referralData = DfsReferralDataImpl.fromReferral(mockReferral, "\\\\server\\share\\folder", expiration, 20);
                referralData.setLink("\\\\link\\target");
    
                String result = referralData.toString();
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 30.6K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTest.java

            assertFalse(auth.isExpired());
    
            // Wait for expiration
            Thread.sleep(150);
    
            // Should be expired now
            assertTrue(auth.isExpired());
    
            // Reset timestamp
            auth.resetAuthenticationTimestamp();
            assertFalse(auth.isExpired());
    
            // Test with no expiration (TTL = 0)
            auth.setAuthenticationTTL(0);
            Thread.sleep(100);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 23.3K bytes
    - Viewed (0)
Back to top