Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 57 for defs (0.04 sec)

  1. fastapi/openapi/models.py

        ref: Optional[str] = Field(default=None, alias="$ref")
        dynamicRef: Optional[str] = Field(default=None, alias="$dynamicRef")
        defs: Optional[Dict[str, "SchemaOrBool"]] = Field(default=None, alias="$defs")
        comment: Optional[str] = Field(default=None, alias="$comment")
        # Ref: JSON Schema 2020-12: https://json-schema.org/draft/2020-12/json-schema-core.html#name-a-vocabulary-for-applying-s
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 22:49:33 UTC 2024
    - 15K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/rangefunc/rewrite.go

    	n := syntax.NewName(pos, name)
    	tv := syntax.TypeAndValue{Type: typ}
    	tv.SetIsValue()
    	n.SetTypeInfo(tv)
    	r.info.Defs[n] = obj
    	return obj, n
    }
    
    func (r *rewriter) generateParamName(results []*syntax.Field, i int) {
    	obj, n := r.sig.RenameResult(results, i)
    	r.info.Defs[n] = obj
    }
    
    // declVar declares a variable with a given name type and initializer value.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:05:44 UTC 2024
    - 41.6K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/tensorflow/BUILD

            (
                ["-gen-op-decls"],
                "passes/tf_quant_ops.h.inc",
            ),
            (
                ["-gen-op-defs"],
                "passes/tf_quant_ops.cc.inc",
            ),
        ],
        tblgen = "@llvm-project//mlir:mlir-tblgen",
        td_file = "passes/tf_quant_ops.td",
        deps = [
            ":quant_td_files",
        ],
    )
    
    gentbl_cc_library(
        name = "optimize_inc_gen",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 22:58:42 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/translate/export_tf_dialect_op.cc

      //  in TensorFlow op def but it could have an empty value to represent missing
      //  functions. This value can't be represented using MLIR SymbolRefAttr and
      //  instead uses optional symbol ref attribute.
      //
      // TODO(b/182315488): Remove custom handling by finding a better
      // representation in MLIR for empty function names. One option could be to use
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/copylock/copylock.go

    		return
    	}
    	id, isId := e.(*ast.Ident)
    	if isId && id.Name == "_" {
    		return
    	}
    
    	var typ types.Type
    	if rtok == token.DEFINE {
    		if !isId {
    			return
    		}
    		obj := pass.TypesInfo.Defs[id]
    		if obj == nil {
    			return
    		}
    		typ = obj.Type()
    	} else {
    		typ = pass.TypesInfo.Types[e].Type
    	}
    
    	if typ == nil {
    		return
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/types2/object.go

    // IsField reports whether the variable is a struct field.
    func (obj *Var) IsField() bool { return obj.isField }
    
    // Origin returns the canonical Var for its receiver, i.e. the Var object
    // recorded in Info.Defs.
    //
    // For synthetic Vars created during instantiation (such as struct fields or
    // function parameters that depend on type arguments), this will be the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 20.1K bytes
    - Viewed (0)
  7. src/go/types/object.go

    // IsField reports whether the variable is a struct field.
    func (obj *Var) IsField() bool { return obj.isField }
    
    // Origin returns the canonical Var for its receiver, i.e. the Var object
    // recorded in Info.Defs.
    //
    // For synthetic Vars created during instantiation (such as struct fields or
    // function parameters that depend on type arguments), this will be the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 20.1K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tfrt/BUILD

            (
                ["-gen-op-decls"],
                "runtime_fallback_ops.h.inc",
            ),
            (
                ["-gen-op-defs"],
                "runtime_fallback_ops.cc.inc",
            ),
        ],
        tblgen = "@llvm-project//mlir:mlir-tblgen",
        td_file = "runtime_fallback/runtime_fallback_ops.td",
        deps = [":runtime_fallback_ops_td_files"],
    )
    
    cc_library(
        name = "runtime_fallback_opdefs",
        srcs = [
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 19:04:21 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/tools/internal/analysisinternal/analysis.go

    			return false
    		}
    		if n.End() > pos {
    			return n.Pos() <= pos
    		}
    		ident, ok := n.(*ast.Ident)
    		if !ok || ident.Name == "_" {
    			return true
    		}
    		obj := info.Defs[ident]
    		if obj == nil || obj.Type() == nil {
    			return true
    		}
    		if _, ok := obj.(*types.TypeName); ok {
    			return true
    		}
    		// Prevent duplicates in matches' values.
    		if _, ok = seen[obj]; ok {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/tools/go/analysis/unitchecker/unitchecker.go

    		Sizes:     types.SizesFor("gc", build.Default.GOARCH), // TODO(adonovan): use cfg.Compiler
    		GoVersion: cfg.GoVersion,
    	}
    	info := &types.Info{
    		Types:      make(map[ast.Expr]types.TypeAndValue),
    		Defs:       make(map[*ast.Ident]types.Object),
    		Uses:       make(map[*ast.Ident]types.Object),
    		Implicits:  make(map[ast.Node]types.Object),
    		Instances:  make(map[*ast.Ident]types.Instance),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 13K bytes
    - Viewed (0)
Back to top