Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 147 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/types2/api_test.go

    			}
    			ident := idents[test.name][0]
    			def := info.Defs[ident]
    			if def == test.obj {
    				t.Fatalf("info.Defs[%s] contains the test object", test.name)
    			}
    			if orig := originObject(test.obj); def != orig {
    				t.Errorf("info.Defs[%s] does not match obj.Origin()", test.name)
    			}
    			if def.Pkg() != test.obj.Pkg() {
    				t.Errorf("Pkg() = %v, want %v", def.Pkg(), test.obj.Pkg())
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 93.3K bytes
    - Viewed (0)
  3. src/go/types/api_test.go

    			}
    			ident := idents[test.name][0]
    			def := info.Defs[ident]
    			if def == test.obj {
    				t.Fatalf("info.Defs[%s] contains the test object", test.name)
    			}
    			if orig := originObject(test.obj); def != orig {
    				t.Errorf("info.Defs[%s] does not match obj.Origin()", test.name)
    			}
    			if def.Pkg() != test.obj.Pkg() {
    				t.Errorf("Pkg() = %v, want %v", def.Pkg(), test.obj.Pkg())
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 94.2K bytes
    - Viewed (0)
  4. 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)
  5. tensorflow/BUILD

        linkshared = 1,
        linkstatic = 1,
        deps = tf_custom_op_library_additional_deps_impl(),
    )
    
    # Get a DEF file generated by parsing all object files
    # of tf_custom_op_library_additional_deps.so
    filegroup(
        name = "tensorflow_def_file",
        srcs = [":tf_custom_op_library_additional_deps.dll"],
        output_group = "def_file",
    )
    
    # Filter the DEF file to reduce the number of symbols to 64K or less.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 16:51:59 UTC 2024
    - 53.5K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top