- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 957 for _top (0.05 sec)
-
platforms/core-runtime/messaging/src/integTest/groovy/org/gradle/internal/remote/UnicastMessagingIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 27 09:21:43 UTC 2024 - 8.9K bytes - Viewed (0) -
pkg/queue/instance_test.go
t.Error("close stop, method exit timeout.") case <-signal: t.Log("queue return.") } } func TestClosed(t *testing.T) { t.Run("immediate close", func(t *testing.T) { stop := make(chan struct{}) q := NewQueue(0) go q.Run(stop) close(stop) if err := WaitForClose(q, 10*time.Second); err != nil { t.Error(err) } }) t.Run("no tasks after close", func(t *testing.T) {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jul 21 16:30:36 UTC 2023 - 3.4K bytes - Viewed (0) -
platforms/software/testing-base/src/test/groovy/org/gradle/api/internal/tasks/testing/processors/MaxNParallelTestClassProcessorTest.groovy
1 * asyncProcessor1.startProcessing(asyncResultProcessor) 1 * asyncProcessor1.processTestClass(test) when: processor.stop() then: 1 * asyncProcessor1.stop() 1 * actor1.stop() 1 * resultProcessorActor.stop() } def startsMultipleProcessorsOnDemandAndStopsAtEnd() { TestClassRunInfo test = Mock() TestClassProcessor processor1 = Mock()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 6.4K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/process/internal/MultiRequestWorkerProcessIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sun Mar 15 22:51:06 UTC 2020 - 6.7K bytes - Viewed (0) -
src/iter/iter.go
// next and stop. // // Next returns the next value in the sequence // and a boolean indicating whether the value is valid. // When the sequence is over, next returns the zero V and false. // It is valid to call next after reaching the end of the sequence // or after calling stop. These calls will continue // to return the zero V and false. // // Stop ends the iteration. It must be called when the caller is
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 19:09:28 UTC 2024 - 6.6K bytes - Viewed (0) -
pkg/kube/kclient/crdwatcher.go
// Run starts the controller. This must be called. func (c *crdWatcher) Run(stop <-chan struct{}) { c.mutex.Lock() if c.stop != nil { // Run already called. Because we call this from client.RunAndWait this isn't uncommon c.mutex.Unlock() return } c.stop = stop c.mutex.Unlock() kube.WaitForCacheSync("crd watcher", stop, c.crds.HasSynced) c.queue.Run(stop) c.crds.ShutdownHandlers() }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Apr 25 14:44:17 UTC 2024 - 5.7K bytes - Viewed (0) -
pilot/pkg/config/memory/monitor_test.go
// Regression test to ensure no race conditions during monitor shutdown store := memory.Make(collections.Mocks) m := memory.NewMonitor(store) stop := make(chan struct{}) go m.Run(stop) m.ScheduleProcessEvent(memory.ConfigEvent{}) close(stop) m.ScheduleProcessEvent(memory.ConfigEvent{}) } func TestEventConsistency(t *testing.T) { store := memory.Make(collections.Mocks)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Mar 01 01:34:15 UTC 2023 - 2.4K bytes - Viewed (0) -
test/fixedbugs/issue59680.go
} } func (b *B) startit() chan<- struct{} { stop := make(chan struct{}) b.wg.Add(1) go func() { defer b.wg.Done() var v uint64 for { select { case <-stop: b.v = v return case <-time.After(1 * time.Millisecond): r, err := b.f() if err != nil { panic("bad") } v = r } } }() return stop } var S, G int //go:noinline
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 05 21:04:38 UTC 2023 - 1.3K bytes - Viewed (0) -
platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/locklistener/DefaultFileLockContentionHandlerTest.groovy
when: handler.reservePort() handler.start(10, {}) handler.stop() then: 1 * factory.create(_ as String) >> lockRequestListener 1 * factory.create(_ as String) >> releaseLockActionExecutor 1 * lockRequestListener.stop() 1 * releaseLockActionExecutor.stop() } def "stopping is safe even if the handler was not initialized"() { when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 16 15:49:49 UTC 2024 - 6.1K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/wait/timer.go
// The channel should not be waited on after Stop() is invoked. It is allowed // to cache the returned value of C() for the lifetime of the Timer. C() <-chan time.Time // Next is invoked by wait functions to signal timers that the next interval // should begin. You may only use Next() if you have drained the channel C(). // You should not call Next() after Stop() is invoked. Next()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 14 19:14:11 UTC 2023 - 2.9K bytes - Viewed (0)