- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 103 for myrunes (0.11 sec)
-
src/cmd/vendor/golang.org/x/text/unicode/norm/normalize.go
ss = 0 continue } info := f.info(src, i) if info.size == 0 { if atEOF { // include incomplete runes return n, true } return lastSegStart, true } // This block needs to be before the next, because it is possible to // have an overflow for runes that are starters (e.g. with U+FF9E). switch ss.next(info) { case ssStarter: lastSegStart = i case ssOverflow:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 24 13:01:26 UTC 2024 - 14.9K bytes - Viewed (0) -
src/cmd/go/testdata/script/mod_tidy_compat_incompatible.txt
# 'go' version in the go.mod file to 1.16, without actually updating the # requirements to match. [short] skip env MODFMT='{{with .Module}}{{.Path}} {{.Version}}{{end}}' # For this module, Go 1.17 prunes out a (transitive and otherwise-irrelevant) # requirement on a retracted higher version of a dependency. # However, when Go 1.16 reads the same requirements from the go.mod file,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 14:56:56 UTC 2024 - 5.5K bytes - Viewed (0) -
src/log/slog/level.go
// by quoting the output of [Level.String]. func (l Level) MarshalJSON() ([]byte, error) { // AppendQuote is sufficient for JSON-encoding all Level strings. // They don't contain any runes that would produce invalid JSON // when escaped. return strconv.AppendQuote(nil, l.String()), nil } // UnmarshalJSON implements [encoding/json.Unmarshaler] // It accepts any string produced by [Level.MarshalJSON],
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 30 17:34:43 UTC 2023 - 5.6K bytes - Viewed (0) -
src/unicode/letter_test.go
// sequence of searches within that table, for all possible inputs // relative to the ranges (something before all, in each, between each, after all). // This assumes that all possible runes are equally likely. // In practice most runes are ASCII so this is a conservative estimate // of an effective cutoff value. In practice we could probably set it higher // than what this function recommends.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Sep 09 01:46:03 UTC 2023 - 14.8K bytes - Viewed (0) -
src/bytes/bytes_test.go
} if !Equal(actual, tc.out) { t.Errorf("%s(%q) = %q; want %q", funcName, tc.in, actual, tc.out) } } } func tenRunes(r rune) string { runes := make([]rune, 10) for i := range runes { runes[i] = r } return string(runes) } // User-defined self-inverse mapping function func rot13(r rune) rune { const step = 13 if r >= 'a' && r <= 'z' {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 12:58:37 UTC 2024 - 56.5K bytes - Viewed (0) -
src/fmt/fmt_test.go
{"%+q", "abc\xffdef", `"abc\xffdef"`}, {"%#q", "abc\xffdef", `"abc\xffdef"`}, {"%#+q", "abc\xffdef", `"abc\xffdef"`}, // Runes that are not printable. {"%q", "\U0010ffff", `"\U0010ffff"`}, {"%+q", "\U0010ffff", `"\U0010ffff"`}, {"%#q", "\U0010ffff", "``"}, {"%#+q", "\U0010ffff", "``"}, // Runes that are not valid. {"%q", string(rune(0x110000)), `"�"`}, {"%+q", string(rune(0x110000)), `"\ufffd"`},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 17:31:55 UTC 2024 - 58.6K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/text/unicode/norm/iter.go
package norm import ( "fmt" "unicode/utf8" ) // MaxSegmentSize is the maximum size of a byte buffer needed to consider any // sequence of starter and non-starter runes for the purpose of normalization. const MaxSegmentSize = maxByteBufferSize // An Iter iterates over a string or byte slice, while normalizing it // to a given Form. type Iter struct { rb reorderBuffer
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 24 13:01:26 UTC 2024 - 11K bytes - Viewed (0) -
src/cmd/internal/archive/archive_test.go
} for _, str := range tests { got := exactly16Bytes(str) if len(got) != 16 { t.Errorf("exactly16Bytes(%q) is %q, length %d", str, got, len(got)) } // Make sure it is full runes. for _, c := range got { if c == utf8.RuneError { t.Errorf("exactly16Bytes(%q) is %q, has partial rune", str, got) } } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 02 19:27:33 UTC 2023 - 7.9K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/structtag/structtag.go
// Strictly speaking, control chars include the range [0x7f, 0x9f], not just // [0x00, 0x1f], but in practice, we ignore the multi-byte control characters // as it is simpler to inspect the tag's bytes than the tag's runes. i = 0 for i < len(tag) && tag[i] > ' ' && tag[i] != ':' && tag[i] != '"' && tag[i] != 0x7f { i++ } if i == 0 { return errTagKeySyntax } if i+1 >= len(tag) || tag[i] != ':' {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 09 01:28:01 UTC 2023 - 8.8K bytes - Viewed (0) -
src/strings/builder_test.go
}() if got := <-didPanic; got != tt.wantPanic { t.Errorf("%s: panicked = %v; want %v", tt.name, got, tt.wantPanic) } } } func TestBuilderWriteInvalidRune(t *testing.T) { // Invalid runes, including negative ones, should be written as // utf8.RuneError. for _, r := range []rune{-1, utf8.MaxRune + 1} { var b Builder b.WriteRune(r) check(t, &b, "\uFFFD") } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 19 19:51:15 UTC 2024 - 8.1K bytes - Viewed (0)