Search Options

Results per page
Sort
Preferred Languages
Advance

Results 231 - 240 of 387 for setAttr (0.11 sec)

  1. platforms/documentation/docs/src/docs/userguide/authoring-builds/gradle-properties/properties_providers.adoc

    A mutable managed property is declared using an abstract getter method of type `Property<T>`, where `T` can be any serializable type or a <<#managed_types,fully managed Gradle type>>.
    The property must not have any setter methods.
    
    Here is an example of a task type with an `uri` property of type `URI`:
    
    [source,java]
    .Download.java
    ----
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 24 04:19:09 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  2. platforms/jvm/testing-jvm/src/main/java/org/gradle/api/tasks/testing/TestReport.java

    import static org.gradle.internal.instrumentation.api.annotations.ReplacedAccessor.AccessorType.GETTER;
    import static org.gradle.internal.instrumentation.api.annotations.ReplacedAccessor.AccessorType.SETTER;
    import static org.gradle.internal.instrumentation.api.annotations.ReplacesEagerProperty.BinaryCompatibility.ACCESSORS_KEPT;
    import static org.gradle.util.internal.CollectionUtils.collect;
    
    /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 08:40:36 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  3. src/cmd/link/internal/ld/dwarf.go

    	a.Atr = attr
    	a.Cls = uint8(cls)
    	a.Value = value
    	a.Data = data
    }
    
    // Each DIE (except the root ones) has at least 1 attribute: its
    // name. getattr moves the desired one to the front so
    // frequently searched ones are found faster.
    func getattr(die *dwarf.DWDie, attr uint16) *dwarf.DWAttr {
    	if die.Attr.Atr == attr {
    		return die.Attr
    	}
    
    	a := die.Attr
    	b := a.Link
    	for b != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 16:25:18 UTC 2024
    - 72.4K bytes
    - Viewed (0)
  4. platforms/core-runtime/internal-instrumentation-api/src/main/java/org/gradle/internal/instrumentation/api/annotations/ReplacesEagerProperty.java

         * ListProperty[T] -> original type becomes List[T]
         * ConfigurableFileCollection -> original type becomes FileCollection
         */
        Class<?> originalType() default DefaultValue.class;
    
        /**
         * Whether the setter accessor for property was fluent
         */
        boolean fluentSetter() default false;
    
        /**
         * Configuration for binary compatibility check, see {@link BinaryCompatibility}
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 08:40:36 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/manage/binding/ManagedProperty.java

     * types declaring the struct only specify the property via a getter, then the managed property will be read-only. However, if
     * even one of the view types declare a setter for the property, it will be a read-write property. </p>
     *
     * <p>Different views can declare the same getter with different return types. In such a case the type of the managed property
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  6. internal/config/dns/operator_dns.go

    	if endpoint == "" {
    		return nil, errors.New("invalid argument")
    	}
    
    	args := &OperatorDNS{
    		Endpoint: endpoint,
    	}
    	for _, setter := range setters {
    		setter(args)
    	}
    	args.httpClient = &http.Client{
    		Transport: &http.Transport{
    			Proxy: http.ProxyFromEnvironment,
    			DialContext: (&net.Dialer{
    				Timeout:   3 * time.Second,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Mar 06 16:56:10 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  7. schema/field_test.go

    		"deleted_at": user.DeletedAt,
    		"age":        user.Age,
    		"birthday":   user.Birthday,
    		"active":     true,
    	}
    	checkField(t, userSchema, reflectValue, values)
    
    	var f *bool
    	// test setter
    	newValues := map[string]interface{}{
    		"name":       "valuer_and_setter_2",
    		"id":         2,
    		"created_at": time.Now(),
    		"updated_at": nil,
    		"deleted_at": time.Now(),
    		"age":        20,
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Sat Feb 19 09:02:53 UTC 2022
    - 12.7K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/transforms/raise_custom_ops.cc

        for (const auto &idx_args : llvm::enumerate(new_block->getArguments())) {
          inner_op->setOperand(idx_args.index(), idx_args.value());
        }
        custom_op->setAttrs(inner_op->getAttrs());
        builder.create<YieldOp>(loc, inner_op->getResults());
        custom_op.getBody().takeBody(region);
    
        op->replaceAllUsesWith(custom_op);
        op->erase();
      }
    }
    }  // namespace
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 17 07:31:01 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  9. platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/processor/codegen/JavadocUtils.java

                        kind == CallableKindInfo.GROOVY_PROPERTY_GETTER ? "Groovy property getter" :
                            kind == CallableKindInfo.GROOVY_PROPERTY_SETTER ? "Groovy property setter" : null;
        }
    
        public static CodeBlock interceptedCallableLink(CallInterceptionRequest request) {
            CodeBlock.Builder result = CodeBlock.builder();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Oct 02 15:44:14 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  10. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/reflect/ClassInspector.java

                    String propertyName = accessorType.propertyNameFor(method);
                    classDetails.property(propertyName).addGetter(method);
                } else if (accessorType == PropertyAccessorType.SETTER) {
                    String propertyName = accessorType.propertyNameFor(method);
                    classDetails.property(propertyName).addSetter(method);
                } else {
                    classDetails.instanceMethod(method);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 3.3K bytes
    - Viewed (0)
Back to top