Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 317 for setAttrs (0.42 sec)

  1. testing/architecture-test/src/test/java/org/gradle/architecture/test/KotlinCompatibilityTest.java

                Set<JavaMethod> setters = gettersAndSetters.get(Boolean.FALSE).stream().map(Accessor::getMethod).collect(toSet());
                if (!getters.isEmpty() && !setters.isEmpty()) {
                    return new Accessors(owningClass, propertyName, getters, setters);
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 9K bytes
    - Viewed (0)
  2. tensorflow/compat_template.__init__.py

    _initializers = _KerasLazyLoader(
        globals(), submodule="initializers", name="initializers", mode="v2")
    setattr(_current_module, "losses", _losses)
    setattr(_current_module, "metrics", _metrics)
    setattr(_current_module, "optimizers", _optimizers)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jan 23 02:14:00 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  3. pkg/registry/resource/resourceclassparameters/strategy.go

    func Match(label labels.Selector, field fields.Selector) storage.SelectionPredicate {
    	return storage.SelectionPredicate{
    		Label:    label,
    		Field:    field,
    		GetAttrs: GetAttrs,
    	}
    }
    
    // GetAttrs returns labels and fields of a given object for filtering purposes.
    func GetAttrs(obj runtime.Object) (labels.Set, fields.Set, error) {
    	parameters, ok := obj.(*resource.ResourceClassParameters)
    	if !ok {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 15:15:31 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  4. pkg/registry/resource/resourceclaimparameters/strategy.go

    func Match(label labels.Selector, field fields.Selector) storage.SelectionPredicate {
    	return storage.SelectionPredicate{
    		Label:    label,
    		Field:    field,
    		GetAttrs: GetAttrs,
    	}
    }
    
    // GetAttrs returns labels and fields of a given object for filtering purposes.
    func GetAttrs(obj runtime.Object) (labels.Set, fields.Set, error) {
    	parameters, ok := obj.(*resource.ResourceClaimParameters)
    	if !ok {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 15:15:31 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/managed/AbstractClassBackedManagedTypeIntegrationTest.groovy

                }
    
                apply type: RulePlugin
            '''
    
            then:
            fails 'tasks'
    
            and:
            failure.assertHasCause("Calling setters of a managed type on itself is not allowed")
        }
    
        def "calling setters of super class from non-abstract getters is not allowed"() {
            when:
            defineCallsSetterInNonAbstractGetterClass()
            buildFile << '''
                @Managed
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  6. pkg/registry/core/configmap/strategy.go

    func dropDisabledFields(configMap *api.ConfigMap, oldConfigMap *api.ConfigMap) {
    }
    
    func (strategy) AllowUnconditionalUpdate() bool {
    	return true
    }
    
    // GetAttrs returns labels and fields of a given object for filtering purposes.
    func GetAttrs(obj runtime.Object) (labels.Set, fields.Set, error) {
    	configMap, ok := obj.(*api.ConfigMap)
    	if !ok {
    		return nil, nil, fmt.Errorf("not a configmap")
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 27 20:38:11 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  7. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/consumer/connection/ToolingParameterProxy.java

                }
            }
    
            if (setters.size() != getters.size()) {
                throwParameterValidationError(clazz, "It contains a different number of getters and setters.");
            }
    
            for (String property : setters.keySet()) {
                if (!getters.containsKey(property)) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Dec 15 10:27:26 UTC 2023
    - 7K bytes
    - Viewed (0)
  8. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/reflect/MutablePropertyDetails.java

        }
    
        @Override
        public Collection<Method> getSetters() {
            return setters.getValues();
        }
    
        @Nullable
        @Override
        public Field getBackingField() {
            return field;
        }
    
        void addGetter(Method method) {
            getters.add(method);
        }
    
        void addSetter(Method method) {
            setters.add(method);
        }
    
        void field(Field field) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/utils/attribute_utils.h

    // Copies attributes that satisfy the given predicate from `from` to `to`.
    template <typename Predicate>
    void CopyAttributes(Operation *from, Operation *to, Predicate P) {
      for (const NamedAttribute &attr : from->getAttrs())
        if (P(attr)) to->setAttr(attr.getName(), attr.getValue());
    }
    
    // Copies attributes whose name begins with an _ from `from` to `to`.
    inline void CopyUnderscoredAttributes(Operation *from, Operation *to) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 22 19:47:48 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  10. pkg/registry/core/event/strategy.go

    	return nil
    }
    
    func (eventStrategy) AllowUnconditionalUpdate() bool {
    	return true
    }
    
    // GetAttrs returns labels and fields of a given object for filtering purposes.
    func GetAttrs(obj runtime.Object) (labels.Set, fields.Set, error) {
    	event, ok := obj.(*api.Event)
    	if !ok {
    		return nil, nil, fmt.Errorf("not an event")
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 10 19:01:45 UTC 2022
    - 4.8K bytes
    - Viewed (0)
Back to top