Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for ListAll (0.22 sec)

  1. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/client/ReportDaemonStatusClientTest.groovy

        def client = new ReportDaemonStatusClient(registry, connector, idGenerator, documentationRegistry)
    
        def "does nothing given no daemons in registry"() {
            when:
            client.listAll()
    
            then:
            1 * registry.getAll() >> []
            1 * registry.getStopEvents() >> []
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  2. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/cli/ReportDaemonStatusAction.java

        public ReportDaemonStatusAction(ReportDaemonStatusClient statusClient) {
            this.statusClient = statusClient;
        }
    
        @Override
        public void run() {
            statusClient.listAll();
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 1K bytes
    - Viewed (0)
  3. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/cli/ReportDaemonStatusActionTest.groovy

        final ReportDaemonStatusAction action = new ReportDaemonStatusAction(client)
    
        def executesStopCommand() {
            when:
            action.run()
    
            then:
            1 * client.listAll()
            0 * _._
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  4. pkg/scheduler/framework/plugins/dynamicresources/dynamicresources_test.go

    			var potentialNodes []*framework.NodeInfo
    
    			initialObjects = testCtx.listAll(t)
    			testCtx.updateAPIServer(t, initialObjects, tc.prepare.filter)
    			if !unschedulable {
    				for _, nodeInfo := range testCtx.nodeInfos {
    					initialObjects = testCtx.listAll(t)
    					status := testCtx.p.Filter(testCtx.ctx, testCtx.state, tc.pod, nodeInfo)
    					nodeName := nodeInfo.Node().Name
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 07:57:10 UTC 2024
    - 61.9K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/repositories/resolver/ResourceVersionLister.java

            List<String> listedVersions;
            if (revisionMatchesDirectoryName(pattern)) {
                ExternalResourceName parent = versionListPattern.getRoot().resolve(prefix);
                listedVersions = listAll(parent, result);
            } else {
                int parentFolderSlashIndex = prefix.lastIndexOf(fileSeparator);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/internal/generic/lister.go

    		}}
    	}
    	result = obj.(T)
    	return result, nil
    }
    
    type lister[T runtime.Object] struct {
    	indexer cache.Indexer
    }
    
    func (w lister[T]) List(selector labels.Selector) (ret []T, err error) {
    	err = cache.ListAll(w.indexer, selector, func(m interface{}) {
    		ret = append(ret, m.(T))
    	})
    	return ret, err
    }
    
    func (w lister[T]) Get(name string) (T, error) {
    	var result T
    
    	obj, exists, err := w.indexer.GetByKey(name)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 12 18:58:24 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  7. src/cmd/go/script_test.go

    	}
    
    	var cmd string
    	switch *testSum {
    	case "tidy":
    		cmd = "go mod tidy"
    	case "listm":
    		cmd = "go list -m -mod=mod all"
    	case "listall":
    		cmd = "go list -mod=mod all"
    	default:
    		t.Fatalf(`unknown value for -testsum %q; may be "tidy", "listm", or "listall"`, *testSum)
    	}
    
    	log := new(strings.Builder)
    	err := e.Execute(s, "updateSum", bufio.NewReader(strings.NewReader(cmd)), log)
    	if log.Len() > 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 18:15:22 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  8. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/client/ReportDaemonStatusClient.java

            this.idGenerator = idGenerator;
            this.reportStatusDispatcher = new ReportStatusDispatcher();
            this.documentationRegistry = documentationRegistry;
        }
    
        public void listAll() {
            final List<DaemonInfo> daemons = daemonRegistry.getAll();
            final List<Status> statuses = new ArrayList<>();
            for (DaemonInfo daemon : daemons) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 5K bytes
    - Viewed (0)
Back to top