- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for BadFormat (0.17 sec)
-
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/timeformat/timeformat.go
pos := int(arg.Pos()) + badAt + 1 // +1 to skip the " or ` end := pos + len(badFormat) pass.Report(analysis.Diagnostic{ Pos: token.Pos(pos), End: token.Pos(end), Message: badFormat + " should be " + goodFormat, SuggestedFixes: []analysis.SuggestedFix{{ Message: "Replace " + badFormat + " with " + goodFormat, TextEdits: []analysis.TextEdit{{ Pos: token.Pos(pos),
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 3.3K bytes - Viewed (0) -
cmd/format-erasure_test.go
} formats[0] = nil quorumFormat, err = getFormatErasureInQuorum(formats) if err != nil { t.Fatal(err) } badFormat := *quorumFormat badFormat.Erasure.Sets = nil if err = formatErasureV3Check(quorumFormat, &badFormat); err == nil { t.Fatal("Unexpected success") } badFormatUUID := *quorumFormat badFormatUUID.Erasure.Sets[0][0] = "bad-uuid"
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Apr 15 08:25:46 UTC 2024 - 12.9K bytes - Viewed (0) -
src/encoding/json/tagkey_test.go
} type dashTag struct { V string `json:"-,"` } type emptyTag struct { W string } type misnamedTag struct { X string `jsom:"Misnamed"` } type badFormatTag struct { Y string `:"BadFormat"` } type badCodeTag struct { Z string `json:" !\"#&'()*+,."` } type spaceTag struct { Q string `json:"With space"` } type unicodeTag struct { W string `json:"Ελλάδα"` }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Aug 25 16:00:37 UTC 2023 - 2.9K bytes - Viewed (0)