Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 355 for setAttr (0.44 sec)

  1. src/mdo/java/WrapperProperties.java

    class WrapperProperties extends Properties {
    
        final Supplier<Map<String, String>> getter;
        final Consumer<Properties> setter;
    
        WrapperProperties(Supplier<Map<String, String>> getter, Consumer<Properties> setter) {
            this.getter = getter;
            this.setter = setter;
        }
    
        @Override
        public String getProperty(String key) {
            return getter.get().get(key);
        }
    
        @Override
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Mar 01 16:30:18 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  2. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/schemaBuilder/PropertyExtractor.kt

                val isDirectAccessOnly = getter.annotations.any { it is AccessFromCurrentReceiverOnly }
                val setter = functionsByName["set$nameAfterGet"]?.find { fn -> fn.parameters.singleOrNull { it != fn.instanceParameter }?.type == getter.returnType }
                val mode = run {
                    if (setter != null) DefaultPropertyMode.DefaultReadWrite else DefaultPropertyMode.DefaultReadOnly
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 10:08:01 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  3. docs/debugging/xattr/main.go

    	if err != nil {
    		return 0, err
    	}
    
    	return binary.LittleEndian.Uint64(buf[:8]), nil
    }
    
    func listxattr(path string) ([]string, error) {
    	return xattr.LList(path)
    }
    
    func setxattr(path, name string, value uint64) error {
    	data := make([]byte, 8)
    	binary.LittleEndian.PutUint64(data, value)
    	return xattr.LSet(path, name, data)
    }
    
    func main() {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Dec 29 23:52:41 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/tensorflow/passes/convert_custom_aggregation_op_to_quant_stats.cc

      LogicalResult matchAndRewrite(TF::CustomAggregatorOp op,
                                    PatternRewriter &rewriter) const override {
        FloatAttr min = mlir::dyn_cast_or_null<FloatAttr>(op->getAttr("min"));
        FloatAttr max = mlir::dyn_cast_or_null<FloatAttr>(op->getAttr("max"));
    
        // When there are no min and max attributes, remove op.
        if (min == nullptr || max == nullptr) {
          op.getOutput().replaceAllUsesWith(op.getInput());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  5. fastapi/exception_handlers.py

    from starlette.status import HTTP_422_UNPROCESSABLE_ENTITY, WS_1008_POLICY_VIOLATION
    
    
    async def http_exception_handler(request: Request, exc: HTTPException) -> Response:
        headers = getattr(exc, "headers", None)
        if not is_body_allowed_for_status_code(exc.status_code):
            return Response(status_code=exc.status_code, headers=headers)
        return JSONResponse(
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sun Jun 11 19:08:14 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  6. src/syscall/exec_freebsd.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: Fri Sep 29 18:51:35 UTC 2023
    - 8.4K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/tensorflow/calibrator/calibration_statistics_saver_op.cc

        OP_REQUIRES_OK(context,
                       context->GetAttr("output_file_path", &output_file_path));
        OP_REQUIRES_OK(context, context->env()->NewWritableFile(output_file_path,
                                                                &output_file_));
    
        OP_REQUIRES_OK(context, context->GetAttr("ids", &ids_));
        OP_REQUIRES_OK(context, context->GetAttr("calibration_methods",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 13 01:31:23 UTC 2024
    - 8K bytes
    - Viewed (0)
  8. testing/architecture-test/src/test/java/org/gradle/architecture/test/KotlinCompatibilityTest.java

                return getter.isAnnotatedWith(Nullable.class);
            }
    
            private boolean setterAnnotatedWithNullable(JavaMethod setter) {
                return Arrays.stream(setter.reflect().getParameterAnnotations()[0]).anyMatch(a -> a instanceof Nullable);
            }
    
            @Override
            public String toString() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 9K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/manage/schema/extract/ManagedProxyClassGenerator.java

            WeaklyTypeReferencingMethod<?, ?> setter = property.getAccessor(SETTER);
            if (setter != null && property.getSchema() instanceof ScalarValueSchema) {
                // TODO - should we support this?
                // Adds a void $propName(Object value) method that simply delegates to the converting setter method
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 55.3K bytes
    - Viewed (0)
  10. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/renderer/declarations/renderers/callables/KtPropertyAccessorsRenderer.kt

                declarationRenderer: KaDeclarationRenderer,
                printer: PrettyPrinter,
            ) {
                printer {
                    val toRender = listOfNotNull(symbol.getter, symbol.setter).ifEmpty { return }
                    append("\n")
                    withIndent {
                        "\n".separated(
                            {
                                toRender.firstIsInstanceOrNull<KaPropertyGetterSymbol>()
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 3.6K bytes
    - Viewed (0)
Back to top