Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for padStringArray (0.19 sec)

  1. src/cmd/vendor/github.com/google/pprof/profile/encode.go

    	p.commentX = nil
    	p.DefaultSampleType, err = getString(p.stringTable, &p.defaultSampleTypeX, err)
    	p.stringTable = nil
    	return err
    }
    
    // padStringArray pads arr with enough empty strings to make arr
    // length l when arr's length is less than l.
    func padStringArray(arr []string, l int) []string {
    	if l <= len(arr) {
    		return arr
    	}
    	return append(arr, make([]string, l-len(arr))...)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 15:19:53 UTC 2024
    - 17.1K bytes
    - Viewed (0)
Back to top