- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 1,888 for _top (0.04 sec)
-
docs/en/docs/img/sponsors/docarray-top-banner.svg
docarray-top-banner.svg...
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Wed Aug 24 08:43:44 UTC 2022 - 107.4K bytes - Viewed (0) -
src/iter/pull_test.go
func TestPullImmediateStop(t *testing.T) { next, stop := Pull(panicSeq()) stop() // Make sure we don't panic if we try to call next or stop. if _, ok := next(); ok { t.Fatal("next returned true after iterator was stopped") } } func TestPull2ImmediateStop(t *testing.T) { next, stop := Pull2(panicSeq2()) stop() // Make sure we don't panic if we try to call next or stop. if _, _, ok := next(); ok {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 19:09:28 UTC 2024 - 10.2K bytes - Viewed (0) -
pilot/pkg/server/instance_test.go
inst.RunComponent("fake", func(stop <-chan struct{}) error { return expected }) stop := newReclosableChannel() t.Cleanup(stop.Close) g.Expect(inst.Start(stop.c)).To(Equal(expected)) } func TestStartWithNoError(t *testing.T) { g := NewWithT(t) inst := server.New() c := newFakeComponent(0, test.NewStop(t)) inst.RunComponent("fake", c.Run) stop := newReclosableChannel() t.Cleanup(stop.Close)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 30 23:02:39 UTC 2024 - 4.1K bytes - Viewed (0) -
platforms/core-runtime/messaging/src/test/groovy/org/gradle/internal/remote/internal/inet/TcpConnectorTest.groovy
thread.blockUntil.connected operation.stop { acceptor.stop() } then: operation.stop.end > instant.actionFinished cleanup: acceptor?.stop() connection?.stop() } def "can receive message from peer after peer has closed connection"() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:59:22 UTC 2023 - 10.4K bytes - Viewed (0) -
pilot/pkg/serviceregistry/kube/controller/fake.go
} cleanupStop := false stop := opts.Stop if stop == nil { // If we created the stop, clean it up. Otherwise, caller is responsible cleanupStop = true stop = make(chan struct{}) } f := namespace.NewDiscoveryNamespacesFilter( kclient.New[*corev1.Namespace](opts.Client), opts.MeshWatcher, stop, ) kubelib.SetObjectFilter(opts.Client, f)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 21:07:03 UTC 2024 - 4K bytes - Viewed (0) -
platforms/core-runtime/concurrent/src/test/groovy/org/gradle/internal/concurrent/CompositeStoppableTest.groovy
when: stoppable.stop() then: 1 * a.stop() 1 * b.stop() } def stopsAllElementsWhenOneFailsToStop() { Stoppable a = Mock() Stoppable b = Mock() RuntimeException failure = new RuntimeException() stoppable.add(a) stoppable.add(b) when: stoppable.stop() then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 11 19:07:35 UTC 2024 - 2.5K bytes - Viewed (0) -
platforms/core-execution/workers/src/test/groovy/org/gradle/workers/internal/WorkerDaemonClientsManagerTest.groovy
manager.stop() then: noExceptionThrown() 1 * client1.isFailed() >> true 0 * client1.stop() 1 * client2.stop() } def "can stop session-scoped clients"() { listenerManager = new DefaultListenerManager(Scope.BuildSession)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Mar 21 14:56:11 UTC 2024 - 10.3K bytes - Viewed (0) -
pilot/pkg/leaderelection/leaderelection_test.go
enabled: true, } l.AddRunFunction(func(stop <-chan struct{}) { <-stop }) for _, fn := range fns { l.AddRunFunction(fn) } stop := make(chan struct{}) go l.Run(stop) retry.UntilOrFail(t, func() bool { return l.isLeader() == expectLeader }, retry.Converge(5), retry.Delay(time.Millisecond*100), retry.Timeout(time.Second*10)) return l, stop } type fakeDefaultWatcher struct {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sun Apr 28 04:22:19 UTC 2024 - 11.4K bytes - Viewed (0) -
pilot/pkg/config/monitor/monitor_test.go
callCount++ return configs, err } mon := NewMonitor("", store, someConfigFunc, "") stop := make(chan struct{}) defer func() { close(stop) }() mon.Start(stop) go func() { updateTicker := time.NewTicker(100 * time.Millisecond) numUpdates := 10 for { select { case <-stop: updateTicker.Stop() return case <-updateTicker.C: mon.updateCh <- struct{}{} numUpdates--
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Oct 31 14:48:28 UTC 2023 - 4.8K bytes - Viewed (0) -
platforms/core-runtime/concurrent/src/test/groovy/org/gradle/internal/concurrent/DefaultExecutorFactoryTest.groovy
operation.stop { executor.stop(timeoutMs, TimeUnit.MILLISECONDS) } then: IllegalStateException e = thrown() e.message == 'Timeout waiting for concurrent jobs to complete.' and: operation.stop.duration in approx(timeoutMs) } def stopRethrowsFirstExecutionException() { given:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 11 19:07:35 UTC 2024 - 11.2K bytes - Viewed (0)