- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for stringSlice (0.11 sec)
-
src/crypto/tls/bogo_shim_test.go
_ = flag.Bool("use-custom-verify-callback", false, "") ) type stringSlice []string func flagStringSlice(name, usage string) *stringSlice { f := &stringSlice{} flag.Var(f, name, usage) return f } func (saf stringSlice) String() string { return strings.Join(saf, ",") } func (saf stringSlice) Set(s string) error { saf = append(saf, s) return nil } func bogoShim() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 11 17:25:39 UTC 2024 - 12.6K bytes - Viewed (0) -
src/time/format.go
// The provided value and valueElem are cloned to avoid escaping their values. func newParseError(layout, value, layoutElem, valueElem, message string) *ParseError { valueCopy := stringslite.Clone(value) valueElemCopy := stringslite.Clone(valueElem) return &ParseError{layout, valueCopy, layoutElem, valueElemCopy, message} } // These are borrowed from unicode/utf8 and strconv and replicate behavior in
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 11 17:09:28 UTC 2024 - 49.3K bytes - Viewed (0)