Lines Matching refs:ret
46 ret := make([]byte, 0, n)
49 ret = append(ret, ' ')
51 ret = append(ret, prefix...)
52 ret = append(ret, s...)
54 return string(ret)
71 ret := make([]byte, 0, n)
74 ret = append(ret, separator...)
76 ret = append(ret, s...)
77 ret = append(ret, suffix...)
79 return string(ret)
385 ret := make([]Paths, 0, (len(paths)+shardSize-1)/shardSize)
387 ret = append(ret, paths[0:shardSize])
391 ret = append(ret, paths)
393 return ret
402 ret := make([][]string, 0, (len(s)+shardSize-1)/shardSize)
404 ret = append(ret, s[0:shardSize])
408 ret = append(ret, s)
410 return ret