func unsafe.StringData
21 uses
unsafe (current package)
unsafe.go#L271: func StringData(str string) *byte
google.golang.org/grpc/binarylog/grpc_binarylog_v1
binarylog.pb.go#L931: file_grpc_binlog_v1_binarylog_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_grpc_binlog_v1_binarylog_proto_rawDesc), len(file_grpc_binlog_v1_binarylog_proto_rawDesc)))
binarylog.pb.go#L990: RawDescriptor: unsafe.Slice(unsafe.StringData(file_grpc_binlog_v1_binarylog_proto_rawDesc), len(file_grpc_binlog_v1_binarylog_proto_rawDesc)),
google.golang.org/grpc/health/grpc_health_v1
health.pb.go#L295: file_grpc_health_v1_health_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_grpc_health_v1_health_proto_rawDesc), len(file_grpc_health_v1_health_proto_rawDesc)))
health.pb.go#L336: RawDescriptor: unsafe.Slice(unsafe.StringData(file_grpc_health_v1_health_proto_rawDesc), len(file_grpc_health_v1_health_proto_rawDesc)),
google.golang.org/protobuf/internal/strs
strings_unsafe.go#L27: return unsafe.Slice(unsafe.StringData(s), len(s))
google.golang.org/protobuf/reflect/protoreflect
value_unsafe.go#L65: return Value{typ: stringType, ptr: unsafe.Pointer(unsafe.StringData(v)), num: uint64(len(v))}
google.golang.org/protobuf/types/known/anypb
any.pb.go#L430: file_google_protobuf_any_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_google_protobuf_any_proto_rawDesc), len(file_google_protobuf_any_proto_rawDesc)))
any.pb.go#L456: RawDescriptor: unsafe.Slice(unsafe.StringData(file_google_protobuf_any_proto_rawDesc), len(file_google_protobuf_any_proto_rawDesc)),
google.golang.org/protobuf/types/known/durationpb
duration.pb.go#L307: file_google_protobuf_duration_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_google_protobuf_duration_proto_rawDesc), len(file_google_protobuf_duration_proto_rawDesc)))
duration.pb.go#L333: RawDescriptor: unsafe.Slice(unsafe.StringData(file_google_protobuf_duration_proto_rawDesc), len(file_google_protobuf_duration_proto_rawDesc)),
google.golang.org/protobuf/types/known/timestamppb
timestamp.pb.go#L316: file_google_protobuf_timestamp_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_google_protobuf_timestamp_proto_rawDesc), len(file_google_protobuf_timestamp_proto_rawDesc)))
timestamp.pb.go#L342: RawDescriptor: unsafe.Slice(unsafe.StringData(file_google_protobuf_timestamp_proto_rawDesc), len(file_google_protobuf_timestamp_proto_rawDesc)),
hash/maphash
maphash_runtime.go#L42: buf := unsafe.Slice(unsafe.StringData(s), len(s))
os
file.go#L300: b := unsafe.Slice(unsafe.StringData(s), len(s))
runtime
debuglog.go#L344: strData := unsafe.StringData(x)
heapdump.go#L160: dumpmemrange(unsafe.Pointer(unsafe.StringData(s)), uintptr(len(s)))
heapdump.go#L204: dwrite(unsafe.Pointer(unsafe.StringData(pkgpath)), uintptr(len(pkgpath)))
heapdump.go#L206: dwrite(unsafe.Pointer(unsafe.StringData(name)), uintptr(len(name)))
runtime.go#L225: writeErrData(unsafe.StringData(s), int32(len(s)))
string.go#L165: ptr := uintptr(unsafe.Pointer(unsafe.StringData(s)))