Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for SetNoalg (0.37 sec)

  1. src/cmd/compile/internal/typecheck/func.go

    	for {
    		n, typ, _ := it.Next()
    		if n == nil {
    			break
    		}
    		fields[1+i] = types.NewField(base.AutogeneratedPos, types.LocalPkg.LookupNum("X", i), typ)
    		i++
    	}
    	typ := types.NewStruct(fields)
    	typ.SetNoalg(true)
    	return typ
    }
    
    // MethodValueType returns the struct type used to hold all the information
    // needed in the closure for a OMETHVALUE node. The address of a variable of
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 06 15:23:18 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types/type.go

    func (t *Type) IsShape() bool    { return t.flags&typeIsShape != 0 }
    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) }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:29:45 UTC 2024
    - 49.5K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/staticinit/sched.go

    			staticdata.InitSliceBytes(l, loff, sval)
    			return true
    		}
    
    	case ir.OSLICELIT:
    		r := r.(*ir.CompLitExpr)
    		s.initplan(r)
    		// Init slice.
    		ta := types.NewArray(r.Type().Elem(), r.Len)
    		ta.SetNoalg(true)
    		a := StaticName(ta)
    		s.Temps[r] = a
    		staticdata.InitSlice(l, loff, a.Linksym(), r.Len)
    		// Fall through to init underlying array.
    		l = a
    		loff = 0
    		fallthrough
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 17:16:14 UTC 2024
    - 30.7K bytes
    - Viewed (0)
Back to top