func unsafe.Slice

35 uses

	unsafe (current package)
		unsafe.go#L243: func Slice(ptr *ArbitraryType, len IntegerType) []ArbitraryType

	crypto/internal/boring/bbig
		big.go#L21: 	return unsafe.Slice((*uint)(&x[0]), len(x))
		big.go#L31: 	x := unsafe.Slice((*big.Word)(&b[0]), len(b))

	crypto/internal/fips140/check
		check.go#L88: 		w.Write(unsafe.Slice((*byte)(sect.Start), n))

	golang.org/x/sys/unix
		auxv.go#L35: 	return unsafe.Slice((*[2]uintptr)(unsafe.Pointer(&result[0])), vecLen/2), nil
		mremap.go#L41: 	bNew := unsafe.Slice((*byte)(unsafe.Pointer(newAddr)), newLength)
		syscall.go#L82: 	return string(unsafe.Slice(p, n))
		syscall_linux.go#L1019: 		sa.Name = string(unsafe.Slice((*byte)(unsafe.Pointer(&pp.Path[0])), n))
		syscall_linux.go#L2449: 	return unsafe.Slice((*byte)(unsafe.Pointer(uintptr(unsafe.Pointer(&fh.fileHandle.Type))+4)), n)
		syscall_unix.go#L117: 	b := unsafe.Slice((*byte)(unsafe.Pointer(addr)), length)
		sysvshm_unix.go#L32: 	b := unsafe.Slice((*byte)(unsafe.Pointer(addr)), int(info.Segsz))

	hash/maphash
		maphash_runtime.go#L42: 	buf := unsafe.Slice(unsafe.StringData(s), len(s))

	internal/abi
		type.go#L220: 	return unsafe.Slice(t.GCData, int(end))[begin:]

	net
		cgo_unix.go#L334: 		memSlice := unsafe.Slice((*byte)(mem), resStateSize)
		cgo_unix.go#L377: 	if _, err := p.Start(unsafe.Slice((*byte)(unsafe.Pointer(buf)), size)); err != nil {

	os
		file.go#L300: 	b := unsafe.Slice(unsafe.StringData(s), len(s))

	reflect
		type.go#L1126: 		f.Index = unsafe.Slice((*int)(p), 1)
		type.go#L1861: 	args := unsafe.Slice((**rtype)(unsafe.Pointer(o.Field(1).Addr().Pointer())), n)[0:0:n]
		value.go#L323: 		return unsafe.Slice(p, n)
		value.go#L891: 		fn = unsafe.Pointer(&unsafe.Slice(&iface.itab.Fun[0], i+1)[i])
		value.go#L1602: 			return isZero(unsafe.Slice(((*byte)(v.ptr)), typ.Size()))
		value.go#L1628: 			return isZero(unsafe.Slice(((*byte)(v.ptr)), typ.Size()))
		value.go#L1671: 	w := unsafe.Slice((*uint64)(unsafe.Pointer(&b[0])), len(b)/8)

	runtime
		iface.go#L508: 	oldEntries := unsafe.Slice(&oldC.Entries[0], oldC.Mask+1)
		iface.go#L528: 	newEntries := unsafe.Slice(&newC.Entries[0], newN)
		iface.go#L562: 	cases := unsafe.Slice(&s.Cases[0], s.NCases)
		iface.go#L614: 	oldEntries := unsafe.Slice(&oldC.Entries[0], oldC.Mask+1)
		iface.go#L634: 	newEntries := unsafe.Slice(&newC.Entries[0], newN)
		pinner.go#L308: 	for _, x := range unsafe.Slice((*uint64)(unsafe.Pointer(&p.x)), bytes/8) {
		slice.go#L400: 	return unsafe.Slice((*byte)(mallocgc(uintptr(cap), nil, false)), cap)[:len]
		stkframe.go#L250: 			objs = unsafe.Slice(r0, int(n))
		string.go#L312: 	return unsafe.String((*byte)(p), size), unsafe.Slice((*byte)(p), size)
		tracestack.go#L160: 	stack := unsafe.Slice((*uintptr)(unsafe.Pointer(&node.data[0])), uintptr(len(node.data))/unsafe.Sizeof(uintptr(0)))

	syscall
		syscall_linux.go#L662: 		sa.Name = string(unsafe.Slice((*byte)(unsafe.Pointer(&pp.Path[0])), n))
		syscall_unix.go#L62: 	b := unsafe.Slice((*byte)(unsafe.Pointer(addr)), length)