Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for ParamPropBits (0.16 sec)

  1. src/cmd/compile/internal/inline/inlheur/function_properties.go

    	Flags       FuncPropBits
    	ParamFlags  []ParamPropBits // slot 0 receiver if applicable
    	ResultFlags []ResultPropBits
    }
    
    type FuncPropBits uint32
    
    const (
    	// Function always panics or invokes os.Exit() or a func that does
    	// likewise.
    	FuncPropNeverReturns FuncPropBits = 1 << iota
    )
    
    type ParamPropBits uint32
    
    const (
    	// No info about this param
    	ParamNoInfo ParamPropBits = 0
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 10 18:52:53 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/inline/inlheur/serialize.go

    	var v uint64
    	sl := []byte(s)
    	v, sl = readULEB128(sl)
    	funcProps.Flags = FuncPropBits(v)
    	v, sl = readULEB128(sl)
    	funcProps.ParamFlags = make([]ParamPropBits, v)
    	for i := range funcProps.ParamFlags {
    		v, sl = readULEB128(sl)
    		funcProps.ParamFlags[i] = ParamPropBits(v)
    	}
    	v, sl = readULEB128(sl)
    	funcProps.ResultFlags = make([]ResultPropBits, v)
    	for i := range funcProps.ResultFlags {
    		v, sl = readULEB128(sl)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 08 15:02:55 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/inline/inlheur/funcprop_string.go

    	return fp.ToString("")
    }
    
    func (fp *FuncProps) ToString(prefix string) string {
    	var sb strings.Builder
    	if fp.Flags != 0 {
    		fmt.Fprintf(&sb, "%sFlags %s\n", prefix, fp.Flags)
    	}
    	flagSliceToSB[ParamPropBits](&sb, fp.ParamFlags,
    		prefix, "ParamFlags")
    	flagSliceToSB[ResultPropBits](&sb, fp.ResultFlags,
    		prefix, "ResultFlags")
    	return sb.String()
    }
    
    func flagSliceToSB[T interface {
    	~uint32
    	String() string
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 10 18:52:53 UTC 2023
    - 977 bytes
    - Viewed (0)
Back to top