- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 292 for asSeconds (0.1 sec)
-
tests/prepared_stmt_test.go
t.Fatalf("lru should not be empty") } // Wait for 40 seconds to give the statements in the cache enough time to expire. time.Sleep(time.Second * 40) // Assert whether the connection pool of tx is successfully converted to the *gorm.PreparedStmtDB type. AssertEqual(t, ok, true) // Assert whether the number of statement keys stored in the PreparedStmtDB is 0 after 40 seconds.
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Fri Apr 25 08:22:26 UTC 2025 - 8K bytes - Viewed (0) -
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) -
okhttp/src/jvmTest/kotlin/okhttp3/RecordingCallback.kt
(this as Object).wait(timeoutMillis - nowMillis) } throw AssertionError("Timed out waiting for response to $url") } companion object { val TIMEOUT_MILLIS = TimeUnit.SECONDS.toMillis(10) }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 2.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/job/ExecJob.java
/** List of JVM options to apply when executing the job */ protected List<String> jvmOptions = new ArrayList<>(); /** Lasta environment configuration */ protected String lastaEnv; /** Timeout in seconds for job execution (-1 means no timeout) */ protected int timeout = -1; // sec /** Flag indicating whether the process has timed out */ protected boolean processTimeout = false; /**
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 14.2K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/TrailersTest.kt
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Jul 07 18:57:05 UTC 2025 - 18K bytes - Viewed (0) -
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) -
src/test/java/jcifs/internal/smb2/Smb2SigningDigestTest.java
} }); } startLatch.countDown(); // Start all threads boolean completed = endLatch.await(10, TimeUnit.SECONDS); executor.shutdown(); assertTrue(completed, "All threads should complete without deadlock");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 43.7K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/DispatcherTest.kt
try { proceed.await(5, TimeUnit.SECONDS) } catch (e: InterruptedException) { throw RuntimeException(e) } chain.proceed(chain.request()) }, ).build() val t1 = makeSynchronousCall(client.newCall(newRequest("http://a/3"))) ready.await(5, TimeUnit.SECONDS) executor.finishJob("http://a/2")
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 12.7K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/util/concurrent/ExecutionListBenchmark.java
* limitations under the License. */ package com.google.common.util.concurrent; import static com.google.common.util.concurrent.MoreExecutors.directExecutor; import static java.util.concurrent.TimeUnit.SECONDS; import com.google.caliper.AfterExperiment; import com.google.caliper.BeforeExperiment; import com.google.caliper.Benchmark; import com.google.caliper.Param; import com.google.caliper.api.Footprint;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 17:42:14 UTC 2025 - 15.8K bytes - Viewed (0) -
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)