func unicode/utf8.ValidString
35 uses
unicode/utf8 (current package)
utf8.go#L497: func ValidString(s string) bool {
cloud.google.com/go/logging
logging.go#L691: if utf8.ValidString(s) {
cloud.google.com/go/storage
storage.go#L1016: if !utf8.ValidString(o.object) {
writer.go#L96: if !utf8.ValidString(attrs.Name) {
encoding/asn1
marshal.go#L645: if !utf8.ValidString(v.String()) {
github.com/google/go-cmp/cmp
report_reflect.go#L372: if utf8.ValidString(s) && strings.IndexFunc(s, rawInvalid) < 0 {
report_slices.go#L100: isBinary = !utf8.ValidString(sx) || !utf8.ValidString(sy)
github.com/prometheus/client_golang/prometheus
labels.go#L59: if !utf8.ValidString(val) {
labels.go#L77: if !utf8.ValidString(val) {
registry.go#L870: if !utf8.ValidString(labelPair.GetValue()) {
github.com/prometheus/common/model
labels.go#L161: return utf8.ValidString(string(lv))
github.com/sergi/go-diff/diffmatchpatch
diff.go#L1308: if !utf8.ValidString(param) {
golang.org/x/mod/module
module.go#L342: if !utf8.ValidString(path) {
golang.org/x/pkgsite/internal/frontend
search.go#L238: if !utf8.ValidString(query) {
golang.org/x/pkgsite/internal/postgres
insert_module.go#L886: if !hasZeroes && utf8.ValidString(s) {
golang.org/x/pkgsite/internal/worker
fetch.go#L59: if !utf8.ValidString(modulePath) {
fetch.go#L65: if !utf8.ValidString(requestedVersion) {
google.golang.org/protobuf/encoding/prototext
decode.go#L350: if strs.EnforceUTF8(fd) && !utf8.ValidString(s) {
encode.go#L235: if !e.opts.allowInvalidUTF8 && strs.EnforceUTF8(fd) && !utf8.ValidString(s) {
google.golang.org/protobuf/internal/impl
codec_gen.go#L4959: if !utf8.ValidString(v) {
codec_gen.go#L4974: if !utf8.ValidString(v) {
codec_gen.go#L5027: if !utf8.ValidString(v) {
codec_gen.go#L5087: if !utf8.ValidString(v) {
codec_gen.go#L5102: if !utf8.ValidString(v) {
codec_gen.go#L5168: if !utf8.ValidString(v) {
codec_gen.go#L5185: if !utf8.ValidString(v) {
codec_gen.go#L5236: if !utf8.ValidString(v.String()) {
codec_gen.go#L5251: if !utf8.ValidString(v) {
google.golang.org/protobuf/proto
encode_gen.go#L71: if strs.EnforceUTF8(fd) && !utf8.ValidString(v.String()) {
google.golang.org/protobuf/types/known/structpb
struct.pb.go#L206: if !utf8.ValidString(k) {
struct.pb.go#L339: if !utf8.ValidString(v) {
gopkg.in/yaml.v2
encode.go#L305: case !utf8.ValidString(s):
io/fs
fs.go#L48: if !utf8.ValidString(name) {
strconv
quote.go#L406: if utf8.ValidString(s) {
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |