- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 96 for timediv (0.13 sec)
-
test/typeparam/chansimp.dir/main.go
} } func TestSink() { c := a.Sink[int](context.Background()) after := time.NewTimer(time.Minute) defer after.Stop() send := func(v int) { select { case c <- v: case <-after.C: panic("timed out sending to Sink") } } send(1) send(2) send(3) close(c) } func TestExclusive() { val := 0 ex := a.MakeExclusive(&val) var wg sync.WaitGroup f := func() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 24 02:14:15 UTC 2022 - 3.1K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/wait/error.go
// // Deprecated: This type will be made private in favor of Interrupted() // for checking errors or ErrorInterrupted(err) for returning a wrapped error. var ErrWaitTimeout = ErrorInterrupted(errors.New("timed out waiting for the condition")) // Interrupted returns true if the error indicates a Poll, ExponentialBackoff, or // Until loop exited for any reason besides the condition returning true or an
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 14 19:14:11 UTC 2023 - 3K bytes - Viewed (0) -
src/internal/trace/event/event.go
// trace reader. // // Events that are not "timed" are considered "structural" // since they either need significant reinterpretation or // otherwise aren't actually surfaced by the trace reader. IsTimedEvent bool // HasData is true if the event has trailer consisting of a // varint length followed by unencoded bytes of some data. // // An event may not be both a timed event and have data. HasData bool
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 3.4K bytes - Viewed (0) -
src/runtime/sys_linux_mipsx.s
SYSCALL RET TEXT runtime·timer_create(SB),NOSPLIT,$0-16 MOVW clockid+0(FP), R4 MOVW sevp+4(FP), R5 MOVW timerid+8(FP), R6 MOVW $SYS_timer_create, R2 SYSCALL MOVW R2, ret+12(FP) RET TEXT runtime·timer_settime(SB),NOSPLIT,$0-20 MOVW timerid+0(FP), R4 MOVW flags+4(FP), R5 MOVW new+8(FP), R6 MOVW old+12(FP), R7 MOVW $SYS_timer_settime, R2 SYSCALL MOVW R2, ret+16(FP)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 18 20:57:24 UTC 2022 - 9.7K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/test/integration/change_test.go
updateCRD() drained := make(chan struct{}) go func() { defer close(drained) wg.Wait() }() select { case <-drained: case <-time.After(wait.ForeverTestTimeout): t.Fatal("timed out waiting for watchers to be terminated") } stopChan := make(chan struct{}) // Set up loop to modify CRD in the background wg.Add(1) go func() { defer wg.Done() for { select {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jun 06 13:59:03 UTC 2024 - 5.2K bytes - Viewed (0) -
src/internal/testenv/exec.go
// after (or too close before) the test has already timed out. // Add a shorter timeout so that the test will produce useful output. ctx, cancelCtx = context.WithTimeout(ctx, cmdTimeout) } } } cmd := exec.CommandContext(ctx, name, args...) cmd.Cancel = func() error { if cancelCtx != nil && ctx.Err() == context.DeadlineExceeded { // The command timed out due to running too close to the test's deadline.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Oct 27 17:53:23 UTC 2023 - 7.5K bytes - Viewed (0) -
pkg/config/mesh/watcher_test_utils.go
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Nov 03 00:26:45 UTC 2023 - 1.5K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/server/scaninfo/DaemonScanInfoIntegrationSpec.groovy
""" openJpmsModulesForConfigurationCache() def waitForExpirationResult = executer.withArgument('waitForExpiration').runWithFailure() then: waitForExpirationResult.assertHasCause("Timed out waiting for expiration event") and: !file(EXPIRATION_EVENT).exists() } def "a daemon expiration listener receives expiration reasons when daemons run in the foreground"() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:29:13 UTC 2023 - 9.2K bytes - Viewed (0) -
platforms/software/resources-http/src/test/groovy/org/gradle/internal/resource/transport/http/HttpClientHelperTimeoutTest.groovy
client.performRequest(new HttpGet("${httpServer.uri}/"), false) then: def e = thrown(HttpRequestException) e.cause instanceof SocketTimeoutException e.cause.message == 'Read timed out' } private HttpSettings getHttpSettings() { Stub(HttpSettings) { getProxySettings() >> Mock(HttpProxySettings) getSecureProxySettings() >> Mock(HttpProxySettings)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 19:38:08 UTC 2023 - 2.2K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/RecordingCallback.kt
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2.1K bytes - Viewed (0)