Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for FuncPropBits (0.15 sec)

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

    // the length of ParamFlags will be 3.
    type FuncProps struct {
    	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 (
    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

    }
    
    func DeserializeFromString(s string) *FuncProps {
    	if len(s) == 0 {
    		return nil
    	}
    	var funcProps FuncProps
    	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)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 08 15:02:55 UTC 2023
    - 1.7K bytes
    - Viewed (0)
Back to top