- Sort Score
- Num 10 results
- Language All
Results 241 - 250 of 1,710 for Time (0.02 seconds)
-
android/guava/src/com/google/common/util/concurrent/SimpleTimeLimiter.java
* * <p><b>Warning:</b> using a bounded executor may be counterproductive! If the thread pool fills * up, any time callers spend waiting for a thread may count toward their time limit, and in this * case the call may even time out before the target method is ever invoked. * * @param executor the ExecutorService that will execute the method calls on the target objects;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 08 18:35:13 GMT 2025 - 9.6K bytes - Click Count (0) -
src/test/java/org/codelibs/opensearch/extension/analysis/SynonymLoader.java
createSynonymMap(false); } public boolean isUpdate(final long time) { if (System.currentTimeMillis() - lastChecked > reloadInterval) { lastChecked = System.currentTimeMillis(); final long timestamp = reloadableFile.lastModified(); if (timestamp != time) { synchronized (reloadableFile) { if (timestamp != lastModified) {Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Sun May 18 02:59:16 GMT 2025 - 6.7K bytes - Click Count (1) -
cmd/xl-storage-disk-id-check.go
// Offset checks a bit. time.Sleep(time.Duration(rng.Int63n(int64(1 * time.Second)))) dctx, dcancel := context.WithCancel(ctx) started := time.Now() go func() { timeout := time.NewTimer(globalDriveConfig.GetMaxTimeout()) select { case <-dctx.Done(): if !timeout.Stop() { <-timeout.C } case <-timeout.C: spent := time.Since(started)
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Apr 25 05:41:04 GMT 2025 - 34.5K bytes - Click Count (0) -
internal/stmt_store/stmt_store.go
// (1 << 63) - 1 is the maximum value that an int64 type can represent. const ( defaultMaxSize = math.MaxInt // defaultTTL defines the default time-to-live (TTL) for each cache entry. // When the TTL for cache entries is not specified, each cache entry will expire after 24 hours. defaultTTL = time.Hour * 24 ) // New creates and returns a new Store instance. // // Parameters:
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Sat Mar 21 11:35:55 GMT 2026 - 6.1K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/ds/DataStoreFactory.java
*/ protected volatile String[] dataStoreNames = StringUtil.EMPTY_STRINGS; /** * Timestamp of the last time data store names were loaded from plugin files. * Used to implement a time-based cache refresh mechanism. * Volatile to ensure visibility across threads. */ protected volatile long lastLoadedTime = 0; /**Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 9K bytes - Click Count (0) -
docs/en/docs/tutorial/middleware.md
For example, you could add a custom header `X-Process-Time` containing the time in seconds that it took to process the request and generate a response: {* ../../docs_src/middleware/tutorial001_py310.py hl[10,12:13] *} /// tip Here we use [`time.perf_counter()`](https://docs.python.org/3/library/time.html#time.perf_counter) instead of `time.time()` because it can be more precise for these use cases. 🤓 ///Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 3.9K bytes - Click Count (0) -
benchmarks/src/main/java/org/elasticsearch/benchmark/fs/AvailableIndexFoldersBenchmark.java
import java.nio.file.Files; import java.nio.file.Path; import java.util.HashSet; import java.util.Set; import java.util.concurrent.TimeUnit; @Warmup(iterations = 5, time = 1, timeUnit = TimeUnit.SECONDS) @Measurement(iterations = 5, time = 1, timeUnit = TimeUnit.SECONDS) @Fork(3) @BenchmarkMode(Mode.AverageTime) @OutputTimeUnit(TimeUnit.NANOSECONDS) @State(Scope.Benchmark) public class AvailableIndexFoldersBenchmark {Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Apr 27 15:29:12 GMT 2021 - 3K bytes - Click Count (0) -
cmd/jwt.go
import ( "errors" "maps" "net/http" "time" jwtgo "github.com/golang-jwt/jwt/v4" jwtreq "github.com/golang-jwt/jwt/v4/request" "github.com/minio/minio/internal/auth" xjwt "github.com/minio/minio/internal/jwt" "github.com/minio/pkg/v3/policy" ) const ( jwtAlgorithm = "Bearer" // Default JWT token for web handlers is one day. defaultJWTExpiry = 24 * time.Hour
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 4.5K bytes - Click Count (0) -
guava/src/com/google/common/collect/TopKSelector.java
this.bufferSize = 0; this.threshold = null; } /** * Adds {@code elem} as a candidate for the top {@code k} elements. This operation takes amortized * O(1) time. */ public void offer(@ParametricNullness T elem) { if (k == 0) { return; } else if (bufferSize == 0) { buffer[0] = elem; threshold = elem; bufferSize = 1;Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Aug 31 13:15:26 GMT 2025 - 11.4K bytes - Click Count (0) -
src/test/java/jcifs/SmbResourceTest.java
assertEquals(currentTime, lastModified, "Should return correct last modified time"); assertEquals(currentTime - 1000, lastAccess, "Should return correct last access time"); assertEquals(currentTime - 2000, createTime, "Should return correct create time"); assertTrue(createTime <= lastAccess, "Create time should be before or equal to last access");
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 35K bytes - Click Count (0)