Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for Tu (0.02 sec)

  1. src/runtime/time_fake.go

    	var buf [4 + 8 + 4]byte
    	buf[2] = 'P'
    	buf[3] = 'B'
    	tu := uint64(t)
    	buf[4] = byte(tu >> (7 * 8))
    	buf[5] = byte(tu >> (6 * 8))
    	buf[6] = byte(tu >> (5 * 8))
    	buf[7] = byte(tu >> (4 * 8))
    	buf[8] = byte(tu >> (3 * 8))
    	buf[9] = byte(tu >> (2 * 8))
    	buf[10] = byte(tu >> (1 * 8))
    	buf[11] = byte(tu >> (0 * 8))
    	nu := uint32(n)
    	buf[12] = byte(nu >> (3 * 8))
    	buf[13] = byte(nu >> (2 * 8))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:15:13 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  2. src/go/types/conversions.go

    	if isString(Vu) && isBytesOrRunes(Tu) {
    		return true
    	}
    
    	// package unsafe:
    	// "any pointer or value of underlying type uintptr can be converted into a unsafe.Pointer"
    	if (isPointer(Vu) || isUintptr(Vu)) && isUnsafePointer(Tu) {
    		return true
    	}
    	// "and vice versa"
    	if isUnsafePointer(Vu) && (isPointer(Tu) || isUintptr(Tu)) {
    		return true
    	}
    
    	// "V is a slice, T is an array or pointer-to-array type,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:51:00 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types2/conversions.go

    	if isString(Vu) && isBytesOrRunes(Tu) {
    		return true
    	}
    
    	// package unsafe:
    	// "any pointer or value of underlying type uintptr can be converted into a unsafe.Pointer"
    	if (isPointer(Vu) || isUintptr(Vu)) && isUnsafePointer(Tu) {
    		return true
    	}
    	// "and vice versa"
    	if isUnsafePointer(Vu) && (isPointer(Tu) || isUintptr(Tu)) {
    		return true
    	}
    
    	// "V is a slice, T is an array or pointer-to-array type,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:51:00 UTC 2024
    - 9K bytes
    - Viewed (0)
  4. docs/vi/docs/index.md

    * Sự hỗ trợ từ các trình soạn thảo, bao gồm:
        * Completion.
        * Kiểm tra kiểu dữ liệu.
    * Kiểm tra kiểu dữ liệu:
        * Tự động sinh lỗi rõ ràng khi dữ liệu không hợp lệ .
        * Kiểm tra JSON lồng nhau .
    * <abbr title="cũng được biết tới như: serialization, parsing, marshalling">Chuyển đổi</abbr> dữ liệu đầu vào: tới từ network sang dữ liệu kiểu Python. Đọc từ:
        * JSON.
        * Các tham số trong đường dẫn.
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Mon Apr 29 05:18:04 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/types2/operand.go

    	if Identical(Vu, Tu) && (!hasName(V) || !hasName(T)) && Vp == nil && Tp == nil {
    		return true, 0
    	}
    
    	// T is an interface type, but not a type parameter, and V implements T.
    	// Also handle the case where T is a pointer to an interface so that we get
    	// the Checker.implements error cause.
    	if _, ok := Tu.(*Interface); ok && Tp == nil || isInterfacePtr(Tu) {
    		if check.implements(x.Pos(), V, T, false, cause) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 21:17:10 UTC 2024
    - 11K bytes
    - Viewed (0)
  6. src/go/types/operand.go

    	if Identical(Vu, Tu) && (!hasName(V) || !hasName(T)) && Vp == nil && Tp == nil {
    		return true, 0
    	}
    
    	// T is an interface type, but not a type parameter, and V implements T.
    	// Also handle the case where T is a pointer to an interface so that we get
    	// the Checker.implements error cause.
    	if _, ok := Tu.(*Interface); ok && Tp == nil || isInterfacePtr(Tu) {
    		if check.implements(x.Pos(), V, T, false, cause) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 21:17:10 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/asmdecl/asmdecl.go

    		cc = append(cc, newComponent(suffix+"_imag", asmKind(fsize), fmt.Sprintf("imag(complex%d)", size*8), off+fsize, fsize, suffix))
    
    	case asmStruct:
    		tu := t.Underlying().(*types.Struct)
    		fields := make([]*types.Var, tu.NumFields())
    		for i := 0; i < tu.NumFields(); i++ {
    			fields[i] = tu.Field(i)
    		}
    		offsets := arch.sizes.Offsetsof(fields)
    		for i, f := range fields {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  8. src/go/types/instantiate.go

    	Vu := under(V)
    	Tu := under(T)
    	if !isValid(Vu) || !isValid(Tu) {
    		return true // avoid follow-on errors
    	}
    	if p, _ := Vu.(*Pointer); p != nil && !isValid(under(p.base)) {
    		return true // avoid follow-on errors (see go.dev/issue/49541 for an example)
    	}
    
    	verb := "implement"
    	if constraint {
    		verb = "satisfy"
    	}
    
    	Ti, _ := Tu.(*Interface)
    	if Ti == nil {
    		if cause != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/types2/instantiate.go

    	Vu := under(V)
    	Tu := under(T)
    	if !isValid(Vu) || !isValid(Tu) {
    		return true // avoid follow-on errors
    	}
    	if p, _ := Vu.(*Pointer); p != nil && !isValid(under(p.base)) {
    		return true // avoid follow-on errors (see go.dev/issue/49541 for an example)
    	}
    
    	verb := "implement"
    	if constraint {
    		verb = "satisfy"
    	}
    
    	Ti, _ := Tu.(*Interface)
    	if Ti == nil {
    		if cause != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  10. docs/es/docs/index.md

    @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>O usa <code>async def</code>...</summary>
    
    Si tu código usa `async` / `await`, usa `async def`:
    
    ```Python hl_lines="7  12"
    from fastapi import FastAPI
    from typing import Union
    
    app = FastAPI()
    
    
    @app.get("/")
    async def read_root():
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Mon Apr 29 05:18:04 UTC 2024
    - 19K bytes
    - Viewed (0)
Back to top