Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 107 for pmap (0.11 sec)

  1. src/go/types/infer.go

    	//           (which only happens in case of an error) and then avoid doing
    	//           the substitution (which always happens).
    	if params.Len() > 0 {
    		smap := makeSubstMap(tparams, targs)
    		params = check.subst(nopos, params, smap, nil, check.context()).(*Tuple)
    	}
    
    	// Unify parameter and argument types for generic parameters with typed arguments
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 13:54:20 UTC 2024
    - 26.5K bytes
    - Viewed (0)
  2. src/runtime/sys_darwin.go

    	}
    	return
    }
    func osinit_hack_trampoline()
    
    // mmap is used to do low-level memory allocation via mmap. Don't allow stack
    // splits, since this function (used by sysAlloc) is called in a lot of low-level
    // parts of the runtime and callers often assume it won't acquire any locks.
    //
    //go:nosplit
    func mmap(addr unsafe.Pointer, n uintptr, prot, flags, fd int32, off uint32) (unsafe.Pointer, int) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types2/predicates.go

    					g := b[i]
    					if f.Id() != g.Id() || !c.identical(f.typ, g.typ, q) {
    						return false
    					}
    				}
    				return true
    			}
    		}
    
    	case *Map:
    		// Two map types are identical if they have identical key and value types.
    		if y, ok := y.(*Map); ok {
    			return c.identical(x.key, y.key, p) && c.identical(x.elem, y.elem, p)
    		}
    
    	case *Chan:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  4. src/cmd/link/internal/ld/main.go

    	// which we don't know the size.
    	if ctxt.Arch.Family != sys.Wasm {
    		// Don't mmap if we're building for Wasm. Wasm file
    		// layout is very different so filesize is meaningless.
    		if err := ctxt.Out.Mmap(filesize); err != nil {
    			Exitf("mapping output file failed: %v", err)
    		}
    	}
    	// asmb will redirect symbols to the output file mmap, and relocations
    	// will be applied directly there.
    	bench.Start("Asmb")
    	asmb(ctxt)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 16:59:50 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  5. docs/vi/docs/python-types.md

    # Giới thiệu kiểu dữ liệu Python
    
    Python hỗ trợ tùy chọn "type hints" (còn được gọi là "type annotations").
    
    Những **"type hints"** hay chú thích là một cú pháp đặc biệt cho phép khai báo <abbr title="ví dụ: str, int, float, bool"> kiểu dữ liệu</abbr> của một biến.
    
    Bằng việc khai báo kiểu dữ liệu cho các biến của bạn, các trình soạn thảo và các công cụ có thể hỗ trợ bạn tốt hơn.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/telemetry/counter/counter.go

    }
    
    // Open prepares telemetry counters for recording to the file system.
    //
    // If the telemetry mode is "off", Open is a no-op. Otherwise, it opens the
    // counter file on disk and starts to mmap telemetry counters to the file.
    // Open also persists any counters already created in the current process.
    //
    // Programs using telemetry should call Open exactly once.
    func Open() {
    	counter.Open()
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 15 18:02:34 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/types2/named.go

    	// code.
    	if origSig.RecvTypeParams().Len() == t.inst.targs.Len() {
    		smap := makeSubstMap(origSig.RecvTypeParams().list(), t.inst.targs.list())
    		var ctxt *Context
    		if check != nil {
    			ctxt = check.context()
    		}
    		sig = check.subst(origm.pos, origSig, smap, t, ctxt).(*Signature)
    	}
    
    	if sig == origSig {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 20:03:31 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  8. docs/vi/docs/features.md

    ![ReDoc](https://fastapi.tiangolo.com/img/index/index-06-redoc-02.png)
    
    ### Chỉ cần phiên bản Python hiện đại
    
    Tất cả được dựa trên khai báo kiểu dữ liệu chuẩn của **Python 3.8** (cảm ơn Pydantic). Bạn không cần học cú pháp mới, chỉ cần biết chuẩn Python hiện đại.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  9. src/go/types/named.go

    	// code.
    	if origSig.RecvTypeParams().Len() == t.inst.targs.Len() {
    		smap := makeSubstMap(origSig.RecvTypeParams().list(), t.inst.targs.list())
    		var ctxt *Context
    		if check != nil {
    			ctxt = check.context()
    		}
    		sig = check.subst(origm.pos, origSig, smap, t, ctxt).(*Signature)
    	}
    
    	if sig == origSig {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 20:03:31 UTC 2024
    - 24K bytes
    - Viewed (0)
  10. src/runtime/export_test.go

    	rw.rw.lock()
    }
    
    func (rw *RWMutex) Unlock() {
    	rw.rw.unlock()
    }
    
    const RuntimeHmapSize = unsafe.Sizeof(hmap{})
    
    func MapBucketsCount(m map[int]int) int {
    	h := *(**hmap)(unsafe.Pointer(&m))
    	return 1 << h.B
    }
    
    func MapBucketsPointerIsNil(m map[int]int) bool {
    	h := *(**hmap)(unsafe.Pointer(&m))
    	return h.buckets == nil
    }
    
    func OverLoadFactor(count int, B uint8) bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:50:53 UTC 2024
    - 46.1K bytes
    - Viewed (0)
Back to top