Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for SetDeferwidth (0.93 sec)

  1. src/cmd/compile/internal/types/size.go

    		base.Fatalf("CheckSize %v", t)
    	}
    
    	if defercalc == 0 {
    		CalcSize(t)
    		return
    	}
    
    	// if type has not yet been pushed on deferredTypeStack yet, do it now
    	if !t.Deferwidth() {
    		t.SetDeferwidth(true)
    		deferredTypeStack = append(deferredTypeStack, t)
    	}
    }
    
    func DeferCheckSize() {
    	defercalc++
    }
    
    func ResumeCheckSize() {
    	if defercalc == 1 {
    		for len(deferredTypeStack) > 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 15K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types/type.go

    func (t *Type) HasShape() bool   { return t.flags&typeHasShape != 0 }
    
    func (t *Type) SetNotInHeap(b bool)  { t.flags.set(typeNotInHeap, b) }
    func (t *Type) SetNoalg(b bool)      { t.flags.set(typeNoalg, b) }
    func (t *Type) SetDeferwidth(b bool) { t.flags.set(typeDeferwidth, b) }
    func (t *Type) SetRecur(b bool)      { t.flags.set(typeRecur, b) }
    
    // Should always do SetHasShape(true) when doing SetIsShape(true).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:29:45 UTC 2024
    - 49.5K bytes
    - Viewed (0)
Back to top