Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 45 of 45 for efaceeq (0.09 sec)

  1. src/runtime/panic.go

    		text := "panic while printing panic value"
    		switch r := recover().(type) {
    		case nil:
    			// nothing to do
    		case string:
    			throw(text + ": " + r)
    		default:
    			throw(text + ": type " + toRType(efaceOf(&r)._type).string())
    		}
    	}()
    	for p != nil {
    		switch v := p.arg.(type) {
    		case error:
    			p.arg = v.Error()
    		case stringer:
    			p.arg = v.String()
    		}
    		p = p.link
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 43.8K bytes
    - Viewed (0)
  2. src/runtime/export_test.go

    type UserArena struct {
    	arena *userArena
    }
    
    func NewUserArena() *UserArena {
    	return &UserArena{newUserArena()}
    }
    
    func (a *UserArena) New(out *any) {
    	i := efaceOf(out)
    	typ := i._type
    	if typ.Kind_&abi.KindMask != abi.Pointer {
    		panic("new result of non-ptr type")
    	}
    	typ = (*ptrtype)(unsafe.Pointer(typ)).Elem
    	i.data = a.arena.new(typ)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:50:53 UTC 2024
    - 46.1K bytes
    - Viewed (0)
  3. src/runtime/time.go

    func (t *timer) hchan() *hchan {
    	if !t.isChan {
    		badTimer()
    	}
    	// Note: t.arg is a chan time.Time,
    	// and runtime cannot refer to that type,
    	// so we cannot use a type assertion.
    	return (*hchan)(efaceOf(&t.arg).data)
    }
    
    // updateHeap updates t as directed by t.state, updating t.state
    // and returning a bool indicating whether the state (and ts.heap[0].when) changed.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 29 14:36:24 UTC 2024
    - 37.5K bytes
    - Viewed (0)
  4. src/runtime/mbitmap.go

    // If ep points to the stack, only static live information will be returned
    // (i.e. not for objects which are only dynamically live stack objects).
    func getgcmask(ep any) (mask []byte) {
    	e := *efaceOf(&ep)
    	p := e.data
    	t := e._type
    
    	var et *_type
    	if t.Kind_&abi.KindMask != abi.Pointer {
    		throw("bad argument to getgcmask: expected type to be a pointer to the value type whose mask is being queried")
    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/link/internal/ld/dwarf.go

    		arch:     ctxt.Arch,
    		tmap:     make(map[string]loader.Sym),
    		tdmap:    make(map[loader.Sym]loader.Sym),
    		rtmap:    make(map[loader.Sym]loader.Sym),
    	}
    	d.typeRuntimeEface = d.lookupOrDiag("type:runtime.eface")
    	d.typeRuntimeIface = d.lookupOrDiag("type:runtime.iface")
    
    	if ctxt.HeadType == objabi.Haix {
    		// Initial map used to store package size for each DWARF section.
    		dwsectCUSize = make(map[string]uint64)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 16:25:18 UTC 2024
    - 72.4K bytes
    - Viewed (0)
Back to top