Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 709 for defn (0.07 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. tensorflow/compiler/mlir/lite/transforms/optimize_patterns.td

    def OperandsBroadcastToOutputType : Constraint<CPred<
      "TFL::OperandsBroadcastToOutputType($0.getType(), $1.getType(), "
                                         "$2.getType())">>;
    
    def IsTailOfShape : Constraint<CPred<
      "TFL::IsTailOfShape($0.getType(), $1.getType())">>;
    
    def IsReducedTailOfShape : Constraint<CPred<
      "TFL::IsReducedTailOfShape($0.getType(), $1.getType())">>;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 16 20:31:41 UTC 2024
    - 66.4K 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. staging/src/k8s.io/apiserver/pkg/util/openapi/enablement_test.go

    			defs := GetOpenAPIDefinitionsWithoutDisabledFeatures(getOpenAPIDefs)(func(path string) spec.Ref {
    				return spec.Ref{}
    			})
    			def := defs["k8s.io/api/apps/v1.DeploymentCondition"]
    			enumAppeared := false
    			for _, prop := range def.Schema.Properties {
    				if strings.Contains(prop.Description, "enum") {
    					enumAppeared = true
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  6. docs/vi/docs/index.md

    app = FastAPI()
    
    
    @app.get("/")
    def read_root():
        return {"Hello": "World"}
    
    
    @app.get("/items/{item_id}")
    def read_item(item_id: int, q: Union[str, None] = None):
        return {"item_id": item_id, "q": q}
    ```
    
    <details markdown="1">
    <summary>Hoặc sử dụng <code>async def</code>...</summary>
    
    Nếu code của bạn sử dụng `async` / `await`, hãy sử dụng `async def`:
    
    ```Python hl_lines="9  14"
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Mon Apr 29 05:18:04 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssagen/abi.go

    	"cmd/internal/obj/wasm"
    )
    
    // SymABIs records information provided by the assembler about symbol
    // definition ABIs and reference ABIs.
    type SymABIs struct {
    	defs map[string]obj.ABI
    	refs map[string]obj.ABISet
    }
    
    func NewSymABIs() *SymABIs {
    	return &SymABIs{
    		defs: make(map[string]obj.ABI),
    		refs: make(map[string]obj.ABISet),
    	}
    }
    
    // canonicalize returns the canonical name used for a linker symbol in
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  8. tensorflow/c/experimental/ops/gen/common/controller.cc

          if (env_->FileExists(file_path).ok()) {
            TF_CHECK_OK(api_def_map_->LoadFile(env_, file_path)) << file_path;
          } else {
            // API defs are currently used for only optional pieces.
          }
        }
      }
    
      // Doc strings (summary, description) typically come from the API def.
      api_def_map_->UpdateDocs();
    }
    
    void Controller::BuildModel() {
      // Build the internal data model for the requested ops
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 09:51:28 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  9. src/go/types/issues_test.go

    	f := mustParse(fset, src)
    
    	const want = `L3 defs func p._()
    L4 defs const w untyped int
    L5 defs var x int
    L5 defs var y int
    L6 defs var z int
    L6 uses const w untyped int
    L6 uses var x int
    L7 uses var x int
    L7 uses var y int
    L7 uses var z int`
    
    	// don't abort at the first error
    	conf := Config{Error: func(err error) { t.Log(err) }}
    	defs := make(map[*ast.Ident]Object)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  10. 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)
Back to top