Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 207 for Dtype (0.08 sec)

  1. src/runtime/slice.go

    }
    
    func panicmakeslicecap() {
    	panic(errorString("makeslice: cap out of range"))
    }
    
    // makeslicecopy allocates a slice of "tolen" elements of type "et",
    // then copies "fromlen" elements of type "et" into that new allocation from "from".
    func makeslicecopy(et *_type, tolen int, fromlen int, from unsafe.Pointer) unsafe.Pointer {
    	var tomem, copymem uintptr
    	if uintptr(tolen) > uintptr(fromlen) {
    		var overflow bool
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  2. src/runtime/arena.go

    	// a pointer/scalar bitmap. We also reserve space for a dummy _type that
    	// refers to the bitmap. The PtrBytes field of the dummy _type indicates how
    	// many of those bits are valid.
    	return userArenaChunkBytes/goarch.PtrSize/8 + unsafe.Sizeof(_type{})
    }
    
    type userArena struct {
    	// full is a list of full chunks that have not enough free memory left, and
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:44:56 UTC 2024
    - 37.9K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/apis/apiserver/validation/validation.go

    		aType := string(a.Type)
    		if aType == "" {
    			allErrs = append(allErrs, field.Required(fldPath.Child("type"), ""))
    			continue
    		}
    		if !knownTypes.Has(aType) {
    			allErrs = append(allErrs, field.NotSupported(fldPath.Child("type"), aType, knownTypes.List()))
    			continue
    		}
    		if seenAuthorizerTypes.Has(aType) && !repeatableTypes.Has(aType) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 31.3K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/types2/signature.go

    	if list == nil {
    		return
    	}
    
    	var named, anonymous bool
    
    	var typ Type
    	var prev syntax.Expr
    	for i, field := range list {
    		ftype := field.Type
    		// type-check type of grouped fields only once
    		if ftype != prev {
    			prev = ftype
    			if t, _ := ftype.(*syntax.DotsType); t != nil {
    				ftype = t.Elem
    				if variadicOk && i == len(list)-1 {
    					variadic = true
    				} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 21:33:05 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  5. src/runtime/mbitmap.go

    			// Allocate space to unroll the gcprog. This space will consist of
    			// a dummy _type value and the unrolled gcprog. The dummy _type will
    			// refer to the bitmap, and the mspan will refer to the dummy _type.
    			if span.spanclass.sizeclass() != 0 {
    				throw("GCProg for type that isn't large")
    			}
    			spaceNeeded := alignUp(unsafe.Sizeof(_type{}), goarch.PtrSize)
    			heapBitsOff := spaceNeeded
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:55 UTC 2024
    - 60K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/ir/tfl_ops.td

    // TFLite dialect quint8 type - uses the TF quint8 type as implementation
    //===----------------------------------------------------------------------===//
    def TFL_Quint8 : Type<CPred<"$_self.isa<mlir::TF::Quint8Type>()">,
                        "TFLite quint8 type">,
                  BuildableType<"getType<mlir::TF::Quint8Type>()">;
    
    //===----------------------------------------------------------------------===//
    // Type that represents control dependencies
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 19:09:08 UTC 2024
    - 186K bytes
    - Viewed (0)
  7. src/net/http/fs.go

    	if done {
    		return
    	}
    
    	code := StatusOK
    
    	// If Content-Type isn't set, use the file's extension to find it, but
    	// if the Content-Type is unset explicitly, do not sniff the type.
    	ctypes, haveType := w.Header()["Content-Type"]
    	var ctype string
    	if !haveType {
    		ctype = mime.TypeByExtension(filepath.Ext(name))
    		if ctype == "" {
    			// read a chunk to decide between utf-8 text and binary
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 09 17:06:47 UTC 2024
    - 31.1K bytes
    - Viewed (0)
  8. src/runtime/cgocall.go

    // depending on indir. The top parameter is whether we are at the top
    // level, where Go pointers are allowed. Go pointers to pinned objects are
    // allowed as long as they don't reference other unpinned pointers.
    func cgoCheckArg(t *_type, p unsafe.Pointer, indir, top bool, msg string) {
    	if !t.Pointers() || p == nil {
    		// If the type has no pointers there is nothing to do.
    		return
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:47 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  9. src/runtime/heapdump.go

    // have been serialized so far, most recently used first.
    // Note: when a bucket overflows we may end up
    // serializing a type more than once. That's ok.
    const (
    	typeCacheBuckets = 256
    	typeCacheAssoc   = 4
    )
    
    type typeCacheBucket struct {
    	t [typeCacheAssoc]*_type
    }
    
    var typecache [typeCacheBuckets]typeCacheBucket
    
    // dump a uint64 in a varint format parseable by encoding/binary.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 09 04:07:57 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  10. src/runtime/syscall_windows.go

    }
    
    // tryRegAssignArg tries to register-assign a value of type t.
    // If this type is nested in an aggregate type, then offset is the
    // offset of this type within its parent type.
    // Assumes t.size <= goarch.PtrSize and t.size != 0.
    //
    // Returns whether the assignment succeeded.
    func (p *abiDesc) tryRegAssignArg(t *_type, offset uintptr) bool {
    	switch k := t.Kind_ & abi.KindMask; k {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:12:46 UTC 2024
    - 16.6K bytes
    - Viewed (0)
Back to top