- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 840 for timeN (0.03 sec)
-
cmd/data-scanner-metric.go
} } } } // time a scanner action. // Use for s < scannerMetricLastRealtime func (p *scannerMetrics) time(s scannerMetric) func() { startTime := time.Now() return func() { duration := time.Since(startTime) atomic.AddUint64(&p.operations[s], 1) if s < scannerMetricLastRealtime { p.latency[s].add(duration) } } } // timeSize add time and size of a scanner action.
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 9.4K bytes - Viewed (0) -
cmd/data-scanner.go
d.mu.RUnlock() // Don't sleep for really small amount of time wantSleep := time.Duration(float64(base) * factor) if wantSleep <= minWait { return } if maxWait > 0 && wantSleep > maxWait { wantSleep = maxWait } timer := time.NewTimer(wantSleep) select { case <-ctx.Done(): if !timer.Stop() { <-timer.C if d.isScanner {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 45.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/thumbnail/impl/CommandGenerator.java
protected long commandDestroyTimeout = 5 * 1000L;// 5sec /** Base directory for command execution. */ protected File baseDir; /** Timer for managing process destruction. */ private Timer destoryTimer; /** * Default constructor for CommandGenerator. */ public CommandGenerator() { super(); } /**
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Fri Jul 18 14:34:06 UTC 2025 - 14.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java
} public void testServiceStartupTimes_selfStartingServices() { // This tests to ensure that: // 1. service times are accurate when the service is started by the manager // 2. service times are recorded when the service is not started by the manager (but they may // not be accurate). Service b = new NoOpDelayedService(353) { @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 20:34:52 UTC 2025 - 25.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/BasicFileInformationTest.java
}; for (long[] times : timeValues) { // Given FileBasicInfo info = new FileBasicInfo(times[0], // create time times[1], // last access time times[2], // last write time times[3], // change time TEST_ATTRIBUTES);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13K bytes - Viewed (0) -
src/main/java/jcifs/smb1/util/transport/Transport.java
/** * Establishes a connection to the remote endpoint. * * @param timeout the maximum time to wait for the connection in milliseconds * @throws TransportException if the connection fails or times out */ public synchronized void connect(final long timeout) throws TransportException { try { switch (state) { case 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) -
cmd/dynamic-timeouts_test.go
if initial >= adjusted || adjusted >= adjustedAgain { t.Errorf("Failure to increase timeout multiple times") } } func TestDynamicTimeoutSingleDecrease(t *testing.T) { timeout := newDynamicTimeout(time.Minute, time.Second) initial := timeout.Timeout() for range dynamicTimeoutLogSize { timeout.LogSuccess(20 * time.Second) } adjusted := timeout.Timeout() if initial <= adjusted {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 5.2K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/CacheStats.java
* used to calculate the miss penalty. This value is increased every time {@code loadSuccessCount} * or {@code loadExceptionCount} is incremented. */ @SuppressWarnings("GoodTime") // should return a java.time.Duration public long totalLoadTime() { return totalLoadTime; } /** * Returns the average time spent loading new values. This is defined as {@code totalLoadTime /
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Jul 08 18:32:10 UTC 2025 - 12.6K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/AbstractFutureState.java
// so that it looks like we timed out even though we didn't. For comparison FutureTask respects // completion preferably and AQS is non-deterministic (depends on where in the queue the waiter // is). If we wanted to be strict about it, we could store the unpark() time in the Waiter node // and we could use that to make a decision about whether or not we timed out prior to being // unparked.
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 33.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CloseResponseTest.java
SMBUtil.writeInt2(60, buffer, 0); // SMB times are in 100-nanosecond intervals since 1601 // Java times are in milliseconds since 1970 long currentJavaTime = System.currentTimeMillis(); long smbTime = currentJavaTime * 10000L + 116444736000000000L; SMBUtil.writeInt8(smbTime, buffer, 8); SMBUtil.writeInt8(smbTime, buffer, 16);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 26.9K bytes - Viewed (0)