- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for SliceData (0.05 sec)
-
src/bytes/bytes_test.go
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Mon Aug 19 19:09:04 UTC 2024 - 61.2K bytes - Viewed (0) -
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) -
src/cmd/cgo/gcc.go
*ast.MapType, *ast.ChanType: return true } return false } // isUnsafeData reports whether the expression is unsafe.StringData // or unsafe.SliceData. We can ignore these when checking for pointers // because they don't change whether or not their argument contains // any Go pointers. If onlyStringData is true we only check for StringData.
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Wed Sep 18 15:07:34 UTC 2024 - 97.1K bytes - Viewed (0) -
doc/go_spec.html
<p> The following built-in functions are not permitted in statement context: </p> <pre> append cap complex imag len make new real unsafe.Add unsafe.Alignof unsafe.Offsetof unsafe.Sizeof unsafe.Slice unsafe.SliceData unsafe.String unsafe.StringData </pre> <pre> h(x+y) f.Close() <-ch (<-ch) len("foo") // illegal if len is the built-in function </pre>
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Wed Oct 02 00:58:01 UTC 2024 - 282.5K bytes - Viewed (0)