Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for _typ (0.07 sec)

  1. src/reflect/type.go

    	mt.TFlag = 0
    	mt.Hash = fnv1(etyp.Hash, 'm', byte(ktyp.Hash>>24), byte(ktyp.Hash>>16), byte(ktyp.Hash>>8), byte(ktyp.Hash))
    	mt.Key = ktyp
    	mt.Elem = etyp
    	mt.Bucket = bucketOf(ktyp, etyp)
    	mt.Hasher = func(p unsafe.Pointer, seed uintptr) uintptr {
    		return typehash(ktyp, p, seed)
    	}
    	mt.Flags = 0
    	if ktyp.Size_ > abi.MapMaxKeyBytes {
    		mt.KeySize = uint8(goarch.PtrSize)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 85.5K bytes
    - Viewed (0)
  2. src/go/types/expr.go

    	token.MUL: "multiplication",
    	token.SHL: "shift",
    }
    
    // If typ is a type parameter, underIs returns the result of typ.underIs(f).
    // Otherwise, underIs returns the result of f(under(typ)).
    func underIs(typ Type, f func(Type) bool) bool {
    	typ = Unalias(typ)
    	if tpar, _ := typ.(*TypeParam); tpar != nil {
    		return tpar.underIs(f)
    	}
    	return f(under(typ))
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 49.7K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/syntax/parser.go

    	}
    
    	pos := p.pos()
    	if typ := p.typeOrNil(); typ != nil {
    		f := new(Field)
    		f.pos = pos
    		f.Type = typ
    		return []*Field{f}
    	}
    
    	return nil
    }
    
    func (p *parser) addField(styp *StructType, pos Pos, name *Name, typ Expr, tag *BasicLit) {
    	if tag != nil {
    		for i := len(styp.FieldList) - len(styp.TagList); i > 0; i-- {
    			styp.TagList = append(styp.TagList, nil)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 62.9K bytes
    - Viewed (0)
  4. src/runtime/mbitmap.go

    	// All of these objects have a header.
    	var typ *_type
    	if spc.sizeclass() != 0 {
    		// Pull the allocation header from the first word of the object.
    		typ = *(**_type)(unsafe.Pointer(addr))
    		addr += mallocHeaderSize
    	} else {
    		typ = span.largeType
    		if typ == nil {
    			// Allow a nil type here for delayed zeroing. See mallocgc.
    			return typePointers{}
    		}
    	}
    	gcdata := typ.GCData
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:55 UTC 2024
    - 60K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/types2/expr.go

    			if atyp, _ := e.Type.(*syntax.ArrayType); atyp != nil && atyp.Len == nil {
    				// We have an "open" [...]T array type.
    				// Create a new ArrayType with unknown length (-1)
    				// and finish setting it up after analyzing the literal.
    				typ = &Array{len: -1, elem: check.varType(atyp.Elem)}
    				base = typ
    				break
    			}
    			typ = check.typ(e.Type)
    			base = typ
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 51.7K bytes
    - Viewed (0)
  6. src/runtime/malloc.go

    //go:linkname reflect_unsafe_New reflect.unsafe_New
    func reflect_unsafe_New(typ *_type) unsafe.Pointer {
    	return mallocgc(typ.Size_, typ, true)
    }
    
    //go:linkname reflectlite_unsafe_New internal/reflectlite.unsafe_New
    func reflectlite_unsafe_New(typ *_type) unsafe.Pointer {
    	return mallocgc(typ.Size_, typ, true)
    }
    
    // newarray allocates an array of n elements of type typ.
    //
    // newarray should be an internal detail,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 59.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbFile.java

    import jcifs.dcerpc.DcerpcHandle;
    import jcifs.dcerpc.msrpc.MsrpcShareGetInfo;
    import jcifs.internal.AllocInfo;
    import jcifs.internal.SmbBasicFileInfo;
    import jcifs.internal.dtyp.ACE;
    import jcifs.internal.dtyp.SecurityDescriptor;
    import jcifs.internal.dtyp.SecurityInfo;
    import jcifs.internal.fscc.BasicFileInformation;
    import jcifs.internal.fscc.FileBasicInfo;
    import jcifs.internal.fscc.FileInformation;
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Thu May 23 01:50:13 UTC 2024
    - 82.3K bytes
    - Viewed (1)
  8. src/runtime/map.go

    func mapinitnoop()
    
    // mapclone for implementing maps.Clone
    //
    //go:linkname mapclone maps.clone
    func mapclone(m any) any {
    	e := efaceOf(&m)
    	e.data = unsafe.Pointer(mapclone2((*maptype)(unsafe.Pointer(e._type)), (*hmap)(e.data)))
    	return m
    }
    
    // moveToBmap moves a bucket from src to dst. It returns the destination bucket or new destination bucket if it overflows
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 57.6K bytes
    - Viewed (0)
  9. src/runtime/mheap.go

    // existing spanAllocType value and instead declare a new one.
    //
    //go:systemstack
    func (h *mheap) allocManual(npages uintptr, typ spanAllocType) *mspan {
    	if !typ.manual() {
    		throw("manual span allocation called with non-manually-managed type")
    	}
    	return h.allocSpan(npages, typ, 0)
    }
    
    // setSpans modifies the span map so [spanOf(base), spanOf(base+npage*pageSize))
    // is s.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 78K bytes
    - Viewed (0)
  10. src/internal/trace/order.go

    // in more detail.
    type rangeType struct {
    	typ  event.Type // "Begin" event.
    	desc stringID   // Optional subtype.
    }
    
    // makeRangeType constructs a new rangeType.
    func makeRangeType(typ event.Type, desc stringID) rangeType {
    	if styp := go122.Specs()[typ].StartEv; styp != go122.EvNone {
    		typ = styp
    	}
    	return rangeType{typ, desc}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 03 14:56:25 UTC 2024
    - 52.4K bytes
    - Viewed (0)
Back to top