Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 69 for Dtype (0.05 sec)

  1. src/cmd/internal/obj/link.go

    	return f
    }
    
    // A TypeInfo contains information for a symbol
    // that contains a runtime._type.
    type TypeInfo struct {
    	Type interface{} // a *cmd/compile/internal/types.Type
    }
    
    func (s *LSym) NewTypeInfo() *TypeInfo {
    	if s.Extra != nil {
    		panic(fmt.Sprintf("invalid use of LSym - NewTypeInfo with Extra of type %T", *s.Extra))
    	}
    	t := new(TypeInfo)
    	s.Extra = new(interface{})
    	*s.Extra = t
    	return t
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssagen/ssa.go

    	if !ptr.Type.IsPtr() || !types.Identical(n.Type(), ptr.Type.Elem()) {
    		base.FatalfAt(n.Pos(), "setHeapaddr %L with type %v", n, ptr.Type)
    	}
    
    	// Declare variable to hold address.
    	sym := &types.Sym{Name: "&" + n.Sym().Name, Pkg: types.LocalPkg}
    	addr := s.curfn.NewLocal(pos, sym, types.NewPtr(n.Type()))
    	addr.SetUsed(true)
    	types.CalcSize(addr.Type())
    
    	if n.Class == ir.PPARAMOUT {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 284.9K bytes
    - Viewed (0)
  3. src/net/http/h2_bundle.go

    //
    // See https://httpwg.org/specs/rfc7540.html#FrameHeader
    type http2FrameHeader struct {
    	valid bool // caller can access []byte fields in the Frame
    
    	// Type is the 1 byte frame type. There are ten standard frame
    	// types, but extension frame types may be written by WriteRawFrame
    	// and will be returned by ReadFrame (as UnknownFrame).
    	Type http2FrameType
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 364.1K bytes
    - Viewed (0)
  4. src/net/http/fs_test.go

    func testServeFileContentType(t *testing.T, mode testMode) {
    	const ctype = "icecream/chocolate"
    	ts := newClientServerTest(t, mode, HandlerFunc(func(w ResponseWriter, r *Request) {
    		switch r.FormValue("override") {
    		case "1":
    			w.Header().Set("Content-Type", ctype)
    		case "2":
    			// Explicitly inhibit sniffing.
    			w.Header()["Content-Type"] = []string{}
    		}
    		ServeFile(w, r, "testdata/file")
    	})).ts
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 23:39:44 UTC 2024
    - 49.9K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/_gen/generic.rules

    (AndB (Leq32 (Const32 [c]) x) ((Less|Leq)32 x (Const32 [d]))) && d >= c => ((Less|Leq)32U (Sub32 <x.Type> x (Const32 <x.Type> [c])) (Const32 <x.Type> [d-c]))
    (AndB (Leq16 (Const16 [c]) x) ((Less|Leq)16 x (Const16 [d]))) && d >= c => ((Less|Leq)16U (Sub16 <x.Type> x (Const16 <x.Type> [c])) (Const16 <x.Type> [d-c]))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 22:21:05 UTC 2024
    - 135.3K bytes
    - Viewed (0)
  6. src/runtime/os_windows.go

    		} else {
    			h = _INVALID_HANDLE_VALUE
    			timeout = uintptr(us) / 1000 // ms units
    		}
    		stdcall2(_WaitForSingleObject, h, timeout)
    	})
    }
    
    func ctrlHandler(_type uint32) uintptr {
    	var s uint32
    
    	switch _type {
    	case _CTRL_C_EVENT, _CTRL_BREAK_EVENT:
    		s = _SIGINT
    	case _CTRL_CLOSE_EVENT, _CTRL_LOGOFF_EVENT, _CTRL_SHUTDOWN_EVENT:
    		s = _SIGTERM
    	default:
    		return 0
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 22:55:25 UTC 2024
    - 41.5K bytes
    - Viewed (0)
  7. src/runtime/alg.go

    }
    func nilinterequal(p, q unsafe.Pointer) bool {
    	x := *(*eface)(p)
    	y := *(*eface)(q)
    	return x._type == y._type && efaceeq(x._type, x.data, y.data)
    }
    func efaceeq(t *_type, x, y unsafe.Pointer) bool {
    	if t == nil {
    		return true
    	}
    	eq := t.Equal
    	if eq == nil {
    		panic(errorString("comparing uncomparable type " + toRType(t).string()))
    	}
    	if isDirectIface(t) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  8. src/runtime/mheap.go

    const gcBitsHeaderBytes = unsafe.Sizeof(gcBitsHeader{})
    
    type gcBitsHeader struct {
    	free uintptr // free is the index into bits of the next free byte.
    	next uintptr // *gcBits triggers recursive type bug. (issue 14620)
    }
    
    type gcBitsArena struct {
    	_ sys.NotInHeap
    	// gcBitsHeader // side step recursive type bug (issue 14620) by including fields by hand.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 78K bytes
    - Viewed (0)
  9. src/runtime/cgocheck.go

    	}
    }
    
    // cgoCheckTypedBlock checks the block of memory at src, for up to size bytes,
    // and throws if it finds an unpinned Go pointer. The type of the memory is typ,
    // and src is off bytes into that type.
    //
    //go:nosplit
    //go:nowritebarrier
    func cgoCheckTypedBlock(typ *_type, src unsafe.Pointer, off, size uintptr) {
    	// Anything past typ.PtrBytes is not a pointer.
    	if typ.PtrBytes <= off {
    		return
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 09 04:07:57 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  10. 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)
Back to top