- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for AppendQuoteRuneToASCII (0.26 sec)
-
src/strconv/quote_test.go
if out := QuoteRuneToASCII(tt.in); out != tt.ascii { t.Errorf("QuoteRuneToASCII(%U) = %s, want %s", tt.in, out, tt.ascii) } if out := AppendQuoteRuneToASCII([]byte("abc"), tt.in); string(out) != "abc"+tt.ascii { t.Errorf("AppendQuoteRuneToASCII(%q, %U) = %s, want %s", "abc", tt.in, out, "abc"+tt.ascii) } } } func TestQuoteRuneToGraphic(t *testing.T) { for _, tt := range quoterunetests {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 31 20:37:15 UTC 2022 - 9.6K bytes - Viewed (0) -
src/strconv/example_test.go
b := []byte("rune:") b = strconv.AppendQuoteRune(b, '☺') fmt.Println(string(b)) // Output: // rune:'☺' } func ExampleAppendQuoteRuneToASCII() { b := []byte("rune (ascii):") b = strconv.AppendQuoteRuneToASCII(b, '☺') fmt.Println(string(b)) // Output: // rune (ascii):'\u263a' } func ExampleAppendQuoteToASCII() { b := []byte("quote (ascii):")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Oct 13 22:57:37 UTC 2023 - 8.9K bytes - Viewed (0) -
src/strconv/quote.go
// replacement character U+FFFD. func QuoteRuneToASCII(r rune) string { return quoteRuneWith(r, '\'', true, false) } // AppendQuoteRuneToASCII appends a single-quoted Go character literal representing the rune, // as generated by [QuoteRuneToASCII], to dst and returns the extended buffer. func AppendQuoteRuneToASCII(dst []byte, r rune) []byte { return appendQuotedRuneWith(dst, r, '\'', true, false) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 04 14:21:28 UTC 2024 - 16.5K bytes - Viewed (0) -
src/fmt/format.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 17:31:55 UTC 2024 - 13.8K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go
{"(*NumError).Unwrap", Method, 14}, {"AppendBool", Func, 0}, {"AppendFloat", Func, 0}, {"AppendInt", Func, 0}, {"AppendQuote", Func, 0}, {"AppendQuoteRune", Func, 0}, {"AppendQuoteRuneToASCII", Func, 0}, {"AppendQuoteRuneToGraphic", Func, 6}, {"AppendQuoteToASCII", Func, 0}, {"AppendQuoteToGraphic", Func, 6}, {"AppendUint", Func, 0}, {"Atoi", Func, 0}, {"CanBackquote", Func, 0},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 534.2K bytes - Viewed (0) -
api/go1.txt
pkg strconv, func AppendInt([]uint8, int64, int) []uint8 pkg strconv, func AppendQuote([]uint8, string) []uint8 pkg strconv, func AppendQuoteRune([]uint8, int32) []uint8 pkg strconv, func AppendQuoteRuneToASCII([]uint8, int32) []uint8 pkg strconv, func AppendQuoteToASCII([]uint8, string) []uint8 pkg strconv, func AppendUint([]uint8, uint64, int) []uint8 pkg strconv, func Atoi(string) (int, error)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Aug 14 18:58:28 UTC 2013 - 1.7M bytes - Viewed (0)