Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 167 for setAttr (0.25 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. 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)
  3. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/manage/schema/extract/ManagedProxyClassGeneratorTest.groovy

            when:
            impl.otherValue {
                value = "12"
            }
    
            then:
            1 * prop.setValue("12")
            0 * state._
        }
    
        def "mixes in converting setter for managed property with scalar type"() {
            def state = Mock(ModelElementState)
    
            given:
            def proxyClass = generate(SomeType)
            def impl = proxyClass.newInstance(state, typeConverter)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 27.6K bytes
    - Viewed (0)
  4. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10ExpressionTypeProvider.kt

                    )
    
                return kotlinType.toKtType(analysisContext)
            }
    
            // Manually handle custom setter parameter
            if (declaration is KtParameter) {
                val parameterList = declaration.parent as? KtParameterList
                if (parameterList?.parameters?.singleOrNull() == declaration) {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  5. src/syscall/exec_linux.go

    	// or, if Pgid == 0, to the new child's process ID.
    	Setpgid bool
    	// Setctty sets the controlling terminal of the child to
    	// file descriptor Ctty. Ctty must be a descriptor number
    	// in the child process: an index into ProcAttr.Files.
    	// This is only meaningful if Setsid is true.
    	Setctty bool
    	Noctty  bool // Detach fd 0 from controlling terminal.
    	Ctty    int  // Controlling TTY fd.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 07:45:37 UTC 2024
    - 23K bytes
    - Viewed (0)
  6. tensorflow/compiler/jit/node_matchers.cc

    }
    
    impl::NodeMatcherProperties impl::Attr(std::pair<string, AttrValue> attr) {
      impl::NodeMatcherProperties props;
      props.set_attr(std::move(attr));
      return props;
    }
    
    impl::NodeMatcherProperties impl::Attr(string name) {
      impl::NodeMatcherProperties props;
      props.set_attr({std::move(name), std::nullopt});
      return props;
    }
    
    NodeMatcherProperties ConstantValue(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jun 03 16:15:20 UTC 2022
    - 16.8K bytes
    - Viewed (0)
  7. fastapi/openapi/utils.py

        if operation_id in operation_ids:
            message = (
                f"Duplicate Operation ID {operation_id} for function "
                + f"{route.endpoint.__name__}"
            )
            file_name = getattr(route.endpoint, "__globals__", {}).get("__file__")
            if file_name:
                message += f" at {file_name}"
            warnings.warn(message, stacklevel=1)
        operation_ids.add(operation_id)
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/common/lift_as_function_call_test.cc

      EXPECT_TRUE(isa<TF::XlaCallModuleOp>(lifted_op));
      EXPECT_EQ(
          mlir::cast<StringAttr>(lifted_op->getAttr("_original_entry_function")),
          "composite_dot_general_fn_1");
      EXPECT_EQ(
          mlir::cast<ArrayAttr>(lifted_dot_general_op->getAttr("precision_config")),
          builder_.getArrayAttr(SmallVector<Attribute>(
              1, mlir::stablehlo::PrecisionAttr::get(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 10 04:07:09 UTC 2024
    - 26.2K bytes
    - Viewed (0)
  9. platforms/core-runtime/internal-instrumentation-processor/src/test/groovy/org/gradle/internal/instrumentation/extensions/property/PropertyUpgradeCodeGenTest.groovy

                        @ReplacedAccessor(value = AccessorType.GETTER, name = "getDestinationDir"),
                        @ReplacedAccessor(value = AccessorType.SETTER, name = "setDestinationDir"),
                        @ReplacedAccessor(value = AccessorType.SETTER, name = "destinationDir", originalType = File.class)
                    })
                    public abstract DirectoryProperty getDestinationDirectory();
                }
            """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 08:40:36 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  10. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/managed/ModelSetIntegrationTest.groovy

                }
    
                @Managed
                interface Group {
                  String getName()
                  void setName(String string)
                  ModelSet<Person> getMembers()
                  //Invalid setter
                  void setMembers(ModelSet<Person> members)
                }
    
                class Rules extends RuleSource {
                  @Model
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 18.9K bytes
    - Viewed (0)
Back to top