Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 57 for SETTER (0.27 sec)

  1. pkg/kubelet/nodestatus/setters.go

    	// per image stored in the node status.
    	MaxNamesPerImageInNodeStatus = 5
    )
    
    // Setter modifies the node in-place, and returns an error if the modification failed.
    // Setters may partially mutate the node before returning an error.
    type Setter func(ctx context.Context, node *v1.Node) error
    
    // NodeAddress returns a Setter that updates address-related information on the node.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 12:12:04 UTC 2024
    - 30.5K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/reflect/JavaPropertyReflectionUtilTest.groovy

        }
    
        def "picks the generic object setter if the typed setter does not match the value type"() {
            when:
            def property = writeableProperty(JavaTestSubject, "myProperty", File.class)
    
            then:
            property.type == Object.class
        }
    
        def "picks the typed setter if it is the better match"() {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  3. src/cmd/vendor/github.com/google/pprof/internal/driver/cli.go

    		n := field.name
    		help := configHelp[n]
    		var setter func()
    		switch ptr := cfg.fieldPtr(field).(type) {
    		case *bool:
    			f := flag.Bool(n, *ptr, help)
    			setter = func() { *ptr = *f }
    		case *int:
    			f := flag.Int(n, *ptr, help)
    			setter = func() { *ptr = *f }
    		case *float64:
    			f := flag.Float64(n, *ptr, help)
    			setter = func() { *ptr = *f }
    		case *string:
    			if len(field.choices) == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 15 16:39:48 UTC 2023
    - 12.1K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/manage/binding/DefaultStructBindingsStoreTest.groovy

        }
    
        def "fails when abstract property has only setter"() {
            when:
            extract(TypeWithAbstractWriteOnlyProperty)
            then:
            def ex = thrown InvalidManagedTypeException
            ex.message == """Type ${fullyQualifiedNameOf(TypeWithAbstractWriteOnlyProperty)} is not a valid managed type:
    - Property 'z' is not valid: it must both have an abstract getter and a setter"""
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 26.8K bytes
    - Viewed (0)
  5. platforms/extensibility/plugin-development/src/integTest/groovy/org/gradle/plugin/devel/tasks/AbstractPluginValidationIntegrationSpec.groovy

                error(methodShouldNotBeAnnotatedConfig { type('MyTask').kind('setter').method('setWriteOnly').annotation('Input') }, 'validation_problems', 'ignored_annotations_on_method'),
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 40.7K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/manage/binding/DefaultStructBindingsStore.java

                        break;
                    case SETTER:
                        if (!hasVoidReturnType(method.getMethod())) {
                            problems.add(method, "property accessor", "setter method must have void return type");
                        }
                        if (!takesSingleParameter(method.getMethod())) {
                            problems.add(method, "property accessor", "setter method must take exactly one parameter");
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 29.7K bytes
    - Viewed (0)
  7. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/reflect/PropertyAccessorTypeTest.groovy

            PropertyAccessorType.of(DeviantBean.class.getMethod("isidore")) == PropertyAccessorType.IS_GETTER
            PropertyAccessorType.fromName('settings') == PropertyAccessorType.SETTER
            PropertyAccessorType.of(DeviantBean.class.getMethod("settings", String)) == PropertyAccessorType.SETTER
        }
    
        def "deviant bean properties are considered as such by Java"() {
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 10.8K bytes
    - Viewed (0)
  8. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/reflect/annotations/impl/DefaultTypeAnnotationMetadataStore.java

                return;
            }
    
            String propertyName = accessorType.propertyNameFor(method);
            if (accessorType == PropertyAccessorType.SETTER) {
                validateNotAnnotated(MethodKind.SETTER, method, annotations.keySet(), validationContext);
                validateSetterForMutableType(method, accessorType, validationContext, propertyName);
                return;
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 06 21:54:36 UTC 2024
    - 37.6K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/beans/impl/PropertyDescImpl.java

            return readMethod != null;
        }
    
        @Override
        public final Method getWriteMethod() {
            return writeMethod;
        }
    
        /**
         * setterメソッドを設定します。
         *
         * @param writeMethod
         *            setterメソッド
         */
        protected final void setWriteMethod(final Method writeMethod) {
            this.writeMethod = writeMethod;
            if (writeMethod != null) {
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  10. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirMetadataCalculator.kt

                            }
                        }
                        fir.setter?.let { setter ->
                            methods.singleOrNull { it.name.startsWith("set") }?.let {
                                bindings.put(METHOD_FOR_FIR_FUNCTION, setter, Method(it.name, getAsmMethodSignatureWithCorrection(it)))
                            }
                        }
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 29 20:26:34 UTC 2024
    - 9.9K bytes
    - Viewed (0)
Back to top