Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 92 for getAlg (0.61 sec)

  1. platforms/software/ivy/src/main/java/org/gradle/api/publish/ivy/internal/dependency/DefaultIvyExcludeRule.java

        public DefaultIvyExcludeRule(ExcludeRule excludeRule, String ivyConfiguration) {
            this.excludeRule = excludeRule;
            this.ivyConfiguration = ivyConfiguration;
        }
    
        @Override
        public String getOrg() {
            return excludeRule.getGroup();
        }
    
        @Override
        public String getModule() {
            return excludeRule.getModule();
        }
    
        @Override
        public String getConf() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  2. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/service/CachingServiceLocator.java

            return t;
        }
    
        @Override
        public synchronized <T> List<T> getAll(Class<T> serviceType) throws UnknownServiceException {
            if (allServices.containsKey(serviceType)) {
                return Cast.uncheckedNonnullCast(allServices.get(serviceType));
            }
            List<T> all = delegate.getAll(serviceType);
            allServices.put(serviceType, all);
            return all;
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 17 00:47:05 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  3. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/service/DefaultServiceRegistryConcurrencyTest.groovy

                    return 123
                }
            })
    
            expect:
            10.times {
                start {
                    assert registry.getAll(Number).sort() == [12, 123]
                    assert registry.getAll(String).sort() == ["12", "123"]
                }
            }
        }
    
        def "cannot look up services while closing"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:34:44 UTC 2024
    - 4K bytes
    - Viewed (0)
  4. pkg/features/client_adapter_test.go

    		t.Error("expected Enabled(\"Bar\") to panic due to unknown feature name")
    	}
    }
    
    func TestClientAdapterAdd(t *testing.T) {
    	fg := featuregate.NewFeatureGate()
    	a := &clientAdapter{fg}
    	defaults := fg.GetAll()
    	if err := a.Add(map[clientfeatures.Feature]clientfeatures.FeatureSpec{
    		"FeatureAlpha":      {PreRelease: clientfeatures.Alpha, Default: true},
    		"FeatureBeta":       {PreRelease: clientfeatures.Beta, Default: false},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jan 16 17:51:00 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  5. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/registry/EmbeddedDaemonRegistry.java

    import static org.gradle.launcher.daemon.server.api.DaemonStateControl.State.Idle;
    
    /**
     * A daemon registry for daemons running in the same JVM.
     * <p>
     * This implementation is thread safe in that its getAll(), getIdle() and getBusy() methods are expected to be called from “consumer” threads,
     * while the newEntry() method is expected to be called by “producer” threads.
     * <p>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/api/provider/AbstractNestedBeanJavaInterOpIntegrationTest.groovy

                import ${Property.name};
                import ${Internal.name};
    
                public interface Params {
                    @Internal
                    Property<Boolean> getFlag();
                }
            """
        }
    
        @Override
        void pluginDefinesTask() {
            pluginDir.file("src/main/java/SomePlugin.java") << """
                import ${Project.name};
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  7. pilot/pkg/serviceregistry/serviceentry/store_test.go

    	// 1. test getByIP
    	gotInstances := store.getByIP("1.1.1.1")
    	if !reflect.DeepEqual(instances, gotInstances) {
    		t.Errorf("got unexpected instances : %v", gotInstances)
    	}
    
    	// 2. test getAll
    	gotInstances = store.getAll()
    	if !reflect.DeepEqual(instances, gotInstances) {
    		t.Errorf("got unexpected instances : %v", gotInstances)
    	}
    
    	// 3. test getByKey
    	gotInstances = store.getByKey(instancesKey{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 15:31:09 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  8. pkg/test/framework/components/namespace/namespace.go

    	t.Helper()
    	i, err := New(ctx, nsConfig)
    	if err != nil {
    		t.Fatalf("namespace.NewOrFail: %v", err)
    	}
    	return i
    }
    
    // GetAll returns all namespaces that have exist in the context.
    func GetAll(ctx resource.Context) ([]Instance, error) {
    	var out []Instance
    	if err := ctx.GetResource(&out); err != nil {
    		return nil, err
    	}
    	return out, nil
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Dec 21 18:12:14 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  9. internal/store/batch.go

    		return ErrBatchFull
    	}
    
    	if _, ok := b.items[key]; !ok {
    		b.keys = append(b.keys, key)
    	}
    	b.items[key] = item
    
    	return nil
    }
    
    // GetAll fetches the items and resets the batch
    // Returned items are not referenced by the batch
    func (b *Batch[K, T]) GetAll() (orderedKeys []K, orderedItems []T, err error) {
    	b.Lock()
    	defer b.Unlock()
    
    	orderedKeys = append([]K(nil), b.keys...)
    	for _, key := range orderedKeys {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat Oct 07 15:07:38 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  10. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/service/ServiceRegistry.java

         *
         * @param serviceType The service type.
         * @param <T>         The service type.
         * @throws ServiceLookupException On failure to lookup the specified service.
         */
        <T> List<T> getAll(Class<T> serviceType) throws ServiceLookupException;
    
        /**
         * Locates the service of the given type.
         *
         * @param serviceType The service type.
         * @return The service instance. Never returns null.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 5.2K bytes
    - Viewed (0)
Back to top