Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 246 for asSeconds (0.1 sec)

  1. src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseManager.java

            this.changeNotifier = new DirectoryChangeNotifier(this);
    
            // Schedule periodic cache cleanup
            scheduler.scheduleAtFixedRate(this::cleanupExpiredEntries, 60, 60, TimeUnit.SECONDS);
        }
    
        /**
         * Request a directory lease
         *
         * @param directoryPath directory path
         * @param requestedState requested lease state
         * @param scope cache scope
         * @return lease key
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  2. docs/smb3-features/06-witness-protocol-design.md

        private void schedulePeriodicTasks() {
            // Heartbeat monitoring
            scheduler.scheduleAtFixedRate(this::checkHeartbeats, 30, 30, TimeUnit.SECONDS);
            
            // Registration monitoring
            scheduler.scheduleAtFixedRate(this::monitorRegistrations, 10, 10, TimeUnit.SECONDS);
        }
        
        public CompletableFuture<WitnessRegistration> registerForNotifications(
                String shareName, 
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 42K bytes
    - Viewed (0)
  3. regression-test/src/androidTest/java/okhttp/regression/compare/AndroidHttpEngineTest.kt

      fun get() {
        val executor = Executors.newCachedThreadPool()
    
        val completableFuture = execute(engine, executor, "https://google.com/robots.txt")
    
        try {
          val response = completableFuture.get(10, TimeUnit.SECONDS)
    
          assertEquals(200, response.code)
          assertEquals("h3", response.negotiatedProtocol)
          assertTrue(response.content.contains("Disallow"))
        } catch (ee: ExecutionException) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/helper/JobHelper.java

        /**
         * Default constructor.
         */
        public JobHelper() {
            // Default constructor
        }
    
        /** Monitor interval in seconds (default: 1 hour) */
        protected int monitorInterval = 60 * 60;// 1hour
    
        /** Thread-local storage for job runtime information */
        protected ThreadLocal<LaJobRuntime> jobRuntimeLocal = new ThreadLocal<>();
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/DfsReferral.java

     */
    public class DfsReferral extends SmbException {
    
        /** Number of characters consumed from the path */
        public int pathConsumed;
        /** Time to live for this referral in seconds */
        public long ttl;
        /** Target server for this referral */
        public String server; // Server
        /** Target share for this referral */
        public String share; // Share
        /** The complete UNC path link */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/util/SmbCircuitBreakerTest.java

                            }
                        }
                    } finally {
                        latch.countDown();
                    }
                });
            }
    
            assertTrue(latch.await(10, TimeUnit.SECONDS), "Concurrent operations should complete");
            executor.shutdown();
    
            // Circuit breaker should have handled concurrent operations
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 23.2K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/util/SMBUtilTest.java

            byte[] src = new byte[8];
    
            // Test with zero
            SMBUtil.writeInt4(0, src, 0);
            assertEquals(0L, SMBUtil.readUTime(src, 0));
    
            // Test with specific value (Unix timestamp in seconds)
            SMBUtil.writeInt4(1500000000, src, 4);
            assertEquals(1500000000000L, SMBUtil.readUTime(src, 4));
        }
    
        @Test
        void testWriteUTime() {
            byte[] dst = new byte[8];
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/ServerMessageBlock2ResponseTest.java

                            // Ignore
                        }
                    }).start();
                }
    
                startLatch.countDown();
                assertTrue(endLatch.await(1, TimeUnit.SECONDS));
                assertTrue(response.isReceived());
            }
    
            @Test
            @DisplayName("Should handle concurrent error notifications")
            void testConcurrentError() throws InterruptedException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  9. docs/ko/docs/tutorial/extra-data-types.md

    * `datetime.time`:
        * 파이썬의 `datetime.time`.
        * 요청과 응답에서 `14:23:55.003`와 같은 ISO 8601 형식의 `str`로 표현됩니다.
    * `datetime.timedelta`:
        * 파이썬의 `datetime.timedelta`.
        * 요청과 응답에서 전체 초(seconds)의 `float`로 표현됩니다.
        * Pydantic은 "ISO 8601 시차 인코딩"으로 표현하는 것 또한 허용합니다. <a href="https://docs.pydantic.dev/latest/concepts/serialization/#json_encoders" class="external-link" target="_blank">더 많은 정보는 이 문서에서 확인하십시오.</a>.
    * `frozenset`:
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  10. okhttp-tls/src/test/java/okhttp3/tls/HeldCertificateTest.kt

          .isCloseTo(now.toDouble(), deltaMillis)
        assertThat(certificate.notAfter.time.toDouble())
          .isCloseTo(now.toDouble() + durationMillis, deltaMillis)
      }
    
      @Test
      fun customInterval() {
        // 5 seconds starting on 1970-01-01.
        val heldCertificate =
          HeldCertificate
            .Builder()
            .validityInterval(5000L, 10000L)
            .build()
        val certificate = heldCertificate.certificate
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 22.6K bytes
    - Viewed (0)
Back to top