Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for sliceData (0.12 sec)

  1. cmd/object-api-utils.go

    	n := 0
    	for i := 0; i < length; i++ {
    		n += len(ss[i])
    	}
    	b := make([]byte, 0, n)
    	for i := 0; i < length; i++ {
    		b = append(b, ss[i]...)
    	}
    	return unsafe.String(unsafe.SliceData(b), n)
    }
    
    // pathJoin - like path.Join() but retains trailing SlashSeparator of the last element
    func pathJoin(elem ...string) string {
    	sb := bytebufferpool.Get()
    	defer func() {
    		sb.Reset()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 08 15:29:58 UTC 2024
    - 37.1K bytes
    - Viewed (0)
Back to top