Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 1,888 for _top (0.11 sec)

  1. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/continuous/ContinuousBuildGateIntegrationTest.groovy

                                println("[GK] Close gate")
                                gateKeeper.close()
                            } else if (command == "stop") {
                                println("[GK] stop")
                                stop = true
                            } else {
                                println("[GK] ? " + command)
                            }
                        }
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  2. pkg/queue/delay.go

    						return
    					}
    				case <-stop:
    					await.Stop()
    					return
    				}
    				await.Stop()
    			}
    		} else {
    			// no items, wait for Push or stop
    			select {
    			case t := <-d.enqueue:
    				d.mu.Lock()
    				d.queue.Push(t)
    				d.mu.Unlock()
    			case <-stop:
    				return
    			}
    		}
    	}
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jul 20 06:27:31 UTC 2023
    - 6.7K bytes
    - Viewed (0)
  3. pkg/kube/kclient/crdwatcher_test.go

    func TestCRDWatcherRace(t *testing.T) {
    	stop := test.NewStop(t)
    	c := kube.NewFakeClient()
    	ctl := c.CrdWatcher()
    	vsCalls := atomic.NewInt32(0)
    
    	// Race callback and CRD creation
    	go func() {
    		if ctl.KnownOrCallback(gvr.VirtualService, func(s <-chan struct{}) {
    			assert.Equal(t, s, stop)
    			// Happened async
    			vsCalls.Inc()
    		}) {
    			// Happened sync
    			vsCalls.Inc()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 25 14:44:17 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  4. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/client/DaemonCancelForwarderTest.groovy

        def setup() {
            createForwarder()
        }
    
        def "cancel is forwarded when received before stop"() {
            when:
            cancellationToken.cancel()
            forwarder.stop()
    
            then:
            receiveCancel()
        }
    
        def "cancel is ignored after stop"() {
            when:
            forwarder.stop()
            cancellationToken.cancel()
    
            then:
            0 * dispatch._
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  5. pilot/pkg/serviceregistry/kube/controller/multicluster_test.go

    	}, nil, nil, nil, "default", false, nil, s, mcc)
    	assert.NoError(t, mcc.Run(stop))
    	go mockserviceController.Run(stop)
    	clientset.RunAndWait(stop)
    	kube.WaitForCacheSync("test", stop, mcc.HasSynced)
    	_ = s.Start(stop)
    
    	verifyControllers(t, mc, 1, "create local controller")
    
    	// Create the multicluster secret. Sleep to allow created remote
    	// controller to start and callback add function to be called.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 12 16:44:32 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  6. pilot/pkg/serviceregistry/kube/controller/multicluster.go

    						// as we create them only after acquiring the leader lock
    						// Note: stop here should be the overall pilot stop, NOT the leader election stop. We are
    						// basically lazy loading the informer, if we stop it when we lose the lock we will never
    						// recreate it again.
    						client.RunAndWait(clusterStopCh)
    						nc.Run(leaderStop)
    					})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  7. pilot/pkg/serviceregistry/kube/controller/namespacecontroller_test.go

    	meshWatcher := mesh.NewTestWatcher(&meshconfig.MeshConfig{})
    	stop := test.NewStop(t)
    	discoveryNamespacesFilter := filter.NewDiscoveryNamespacesFilter(
    		kclient.New[*v1.Namespace](client),
    		meshWatcher,
    		stop,
    	)
    	kube.SetObjectFilter(client, discoveryNamespacesFilter)
    	nc := NewNamespaceController(client, watcher)
    	client.RunAndWait(stop)
    	go nc.Run(stop)
    	retry.UntilOrFail(t, nc.queue.HasSynced)
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 15:07:03 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  8. test/fixedbugs/issue58563.dir/main.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package main
    
    import "test/a"
    
    func main() {
    	stop := start()
    	defer stop()
    }
    
    func start() func() {
    	return a.Start().Stop
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 01 20:26:10 UTC 2023
    - 286 bytes
    - Viewed (0)
  9. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/api/DaemonStateControl.java

    import org.gradle.initialization.BuildCancellationToken;
    
    public interface DaemonStateControl {
        /**
         * <p>Requests that the daemon stop, but wait until the daemon is idle. The stop will happen asynchronously, and this method does not block.
         *
         * <p>The daemon will stop accepting new work, so that subsequent calls to {@link #runCommand} will fail with {@link DaemonUnavailableException}.
         */
        void requestStop(String reason);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun May 05 22:24:02 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  10. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/cli/converter/DaemonCommandLineConverterTest.groovy

            ['--foreground', '--daemon']    | true
        }
    
        def "can convert stop option - #options"() {
            when:
            def converted = convert(options)
    
            then:
            converted.stop == stop
    
            where:
            options    | stop
            []         | false
            ['--stop'] | true
        }
    
        def "can convert status option - #options"() {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 2.9K bytes
    - Viewed (0)
Back to top