Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 153 for currentTimeMillis (0.23 sec)

  1. src/main/java/jcifs/smb/AuthenticationProvider.java

                this.username = username;
                this.domain = domain;
                this.authType = authType;
                this.timestamp = System.currentTimeMillis();
                this.clientAddress = clientAddress;
                this.serverAddress = serverAddress;
            }
    
            public String getUsername() {
                return username;
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 3.9K bytes
    - Viewed (1)
  2. src/test/java/org/codelibs/fess/exec/CrawlerTest.java

                    // Ignore
                }
            });
            testThread.start();
    
            long startTime = System.currentTimeMillis();
            method.invoke(crawler, testThread);
            long endTime = System.currentTimeMillis();
    
            assertTrue("Thread should have been joined", endTime - startTime >= 100);
        }
    
        // Test destroyContainer private static method via reflection
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 30.5K bytes
    - Viewed (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/CacheInterceptor.kt

      @Throws(IOException::class)
      override fun intercept(chain: Interceptor.Chain): Response {
        val call = chain.call()
        val cacheCandidate = cache?.get(chain.request().requestForCache())
    
        val now = System.currentTimeMillis()
    
        val strategy = CacheStrategy.Factory(now, chain.request(), cacheCandidate).compute()
        val networkRequest = strategy.networkRequest
        val cacheResponse = strategy.cacheResponse
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/SmbComOpenAndXResponseTest.java

            response.fileAttributes = 0x20; // ATTR_ARCHIVE
            assertEquals(0x20, response.fileAttributes);
        }
    
        @Test
        void testSetLastWriteTime() {
            long time = System.currentTimeMillis();
            response.lastWriteTime = time;
            assertEquals(time, response.lastWriteTime);
        }
    
        @Test
        void testSetDataSize() {
            response.dataSize = 1024;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  5. okhttp-tls/src/test/java/okhttp3/tls/HeldCertificateTest.kt

    import org.junit.jupiter.api.extension.RegisterExtension
    
    class HeldCertificateTest {
      @RegisterExtension
      var platform = PlatformRule()
    
      @Test
      fun defaultCertificate() {
        val now = System.currentTimeMillis()
        val heldCertificate = HeldCertificate.Builder().build()
        val certificate = heldCertificate.certificate
        assertThat(certificate.getSubjectX500Principal().name, "self-signed")
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/util/transport/Transport.java

            try {
                response_map.put(request, response);
                doSend(request);
                response.expiration = System.currentTimeMillis() + timeout;
                while (!response.isReceived) {
                    wait(timeout);
                    timeout = response.expiration - System.currentTimeMillis();
                    if (timeout <= 0) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  7. docs/smb3-features/01-smb3-lease-design.md

                this.createTime = System.currentTimeMillis();
                this.lastAccessTime = createTime;
                this.epoch = 1;
                this.breaking = false;
            }
            
            public synchronized void updateState(int newState) {
                this.leaseState = newState;
                this.lastAccessTime = System.currentTimeMillis();
            }
            
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 22K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/indexer/IndexUpdaterTest.java

            }
    
            @Override
            public long getCurrentTimeAsLong() {
                return System.currentTimeMillis();
            }
    
            @Override
            public String generateDocId(Map<String, Object> map) {
                return "doc_" + System.currentTimeMillis();
            }
    
            @Override
            public boolean calibrateCpuLoad() {
                cpuLoadCallCount.incrementAndGet();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 33K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/ds/DataStoreFactoryTest.java

            super.setUp();
            dataStoreFactory = new DataStoreFactory();
            systemHelper = new SystemHelper() {
                @Override
                public long getCurrentTimeAsLong() {
                    return System.currentTimeMillis();
                }
            };
            ComponentUtil.register(systemHelper, "systemHelper");
    
            // Create temporary directory for test JAR files
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/EmptyIteratorTest.java

        }
    
        @Test
        @DisplayName("EmptyIterator should be lightweight and efficient")
        void testPerformanceCharacteristics() {
            // When - create many instances quickly
            long startTime = System.currentTimeMillis();
    
            for (int i = 0; i < 10000; i++) {
                EmptyIterator iterator = new EmptyIterator();
                iterator.hasNext();
                iterator.next();
                iterator.remove();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12K bytes
    - Viewed (0)
Back to top