- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for RuneCountInString (0.08 sec)
-
internal/s3select/csv/args.go
if len(s) != 0 { args.FieldDelimiter = s } case "QuoteCharacter": if utf8.RuneCountInString(s) > 1 { return fmt.Errorf("unsupported QuoteCharacter '%v'", s) } args.QuoteCharacter = s case "QuoteEscapeCharacter": switch utf8.RuneCountInString(s) { case 0: args.QuoteEscapeCharacter = defaultQuoteEscapeCharacter case 1:
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Aug 20 18:31:45 UTC 2024 - 5.7K bytes - Viewed (0) -
schema/naming.go
formattedName := strings.ReplaceAll(strings.Join([]string{ prefix, table, name, }, "_"), ".", "_") if ns.IdentifierMaxLength == 0 { ns.IdentifierMaxLength = 64 } if utf8.RuneCountInString(formattedName) > ns.IdentifierMaxLength { h := sha1.New() h.Write([]byte(formattedName)) bs := h.Sum(nil) formattedName = formattedName[0:ns.IdentifierMaxLength-8] + hex.EncodeToString(bs)[:8] }
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Wed Jun 12 03:46:59 UTC 2024 - 5.3K bytes - Viewed (0)