- Sort Score
- Result 10 results
- Languages All
Results 531 - 540 of 1,090 for timeIt (0.05 sec)
-
cmd/version_test.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package cmd import ( "testing" "time" ) func TestVersion(t *testing.T) { Version = "2017-05-07T06:37:49Z" _, err := time.Parse(time.RFC3339, Version) if err != nil { t.Fatal(err) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Apr 23 18:58:53 UTC 2021 - 956 bytes - Viewed (0) -
cmd/data-scanner-metric.go
globalTrace.Publish(scannerTrace(s, startTime, duration, strings.Join(paths, " "), custom)) } } } // 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)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Sep 25 05:15:31 UTC 2023 - 9.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractExecutionThreadServiceTest.java
}; TimeoutException e = assertThrows( TimeoutException.class, () -> service.startAsync().awaitRunning(1, MILLISECONDS)); assertThat(e) .hasMessageThat() .isEqualTo("Timed out waiting for Foo [STARTING] to reach the RUNNING state."); } private class FakeService extends AbstractExecutionThreadService implements TearDown {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 22:10:29 UTC 2024 - 12.7K bytes - Viewed (0) -
guava/src/com/google/common/base/Stopwatch.java
import com.google.j2objc.annotations.J2ObjCIncompatible; import java.time.Duration; import java.util.concurrent.TimeUnit; /** * An object that accurately measures <i>elapsed time</i>: the measured duration between two * successive readings of "now" in the same process. * * <p>In contrast, <i>wall time</i> is a reading of "now" as given by a method like
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 31 14:20:11 UTC 2024 - 9.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/FuturesGetCheckedTest.java
getChecked( FAILED_FUTURE_CHECKED_EXCEPTION, ExceptionWithGoodAndBadConstructor.class)); assertThat(expected).hasCauseThat().isSameInstanceAs(CHECKED_EXCEPTION); } // Boring timed-get tests: public void testGetCheckedTimed_success() throws TwoArgConstructorException { assertEquals( "foo", getChecked(immediateFuture("foo"), TwoArgConstructorException.class, 0, SECONDS)); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 22:10:29 UTC 2024 - 16.3K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/CertificateAdapters.kt
} } } /** * ``` * Validity ::= SEQUENCE { * notBefore Time, * notAfter Time * } * ``` */ private val validity: BasicDerAdapter<Validity> = Adapters.sequence( "Validity", time, time, decompose = { listOf( it.notBefore, it.notAfter, ) },
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 13.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans/TransPeekNamedPipe.java
*/ public TransPeekNamedPipe ( Configuration config, String pipeName, int fid ) { super(config, SMB_COM_TRANSACTION, TRANS_PEEK_NAMED_PIPE); this.name = pipeName; this.fid = fid; this.timeout = 0xFFFFFFFF; this.maxParameterCount = 6; this.maxDataCount = 1; this.maxSetupCount = (byte) 0x00; this.setupCount = 2; } @Override
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 2.5K bytes - Viewed (0) -
docs/changelogs/changelog_4x.md
## Version 4.3.0 _2019-12-31_ * Fix: Degrade HTTP/2 connections after a timeout. When an HTTP/2 stream times out it may impact the stream only or the entire connection. With this fix OkHttp will now send HTTP/2 pings after a stream timeout to determine whether the connection should remain eligible for pooling.
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Wed Apr 17 13:25:31 UTC 2024 - 25.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/SmbBasicFileInfo.java
*/ int getAttributes (); /** * * @return file create time */ long getCreateTime (); /** * * @return file last write time */ long getLastWriteTime (); /** * * @return file last access time */ long getLastAccessTime (); /** * * @return file size */
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 1.3K bytes - Viewed (0) -
cmd/background-heal-ops.go
} func waitForLowIO(maxIO int, maxWait time.Duration, currentIO func() int) { // No need to wait run at full speed. if maxIO <= 0 { return } const waitTick = 100 * time.Millisecond tmpMaxWait := maxWait for currentIO() >= maxIO { if tmpMaxWait > 0 { if tmpMaxWait < waitTick { time.Sleep(tmpMaxWait) return } time.Sleep(waitTick) tmpMaxWait -= waitTick }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 4.6K bytes - Viewed (0)