- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for toSymbolV3 (0.31 sec)
-
src/cmd/internal/pkgpath/pkgpath.go
'*': '2', ',': '3', '{': '4', '}': '5', '[': '6', ']': '7', '(': '8', ')': '9', '"': 'a', ' ': 'b', ';': 'c', } // toSymbolV3 converts a package path using the third mangling scheme. func toSymbolV3(ppath string) string { var bsl strings.Builder changed := false for _, c := range ppath { if ('A' <= c && c <= 'Z') || ('a' <= c && c <= 'z') || ('0' <= c && c <= '9') {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 20 02:13:02 UTC 2022 - 4.2K bytes - Viewed (0) -
src/cmd/internal/pkgpath/pkgpath_test.go
t.Errorf("toSymbolV2(%q) = %q, want %q", test.input, got, want) } } } func TestV3(t *testing.T) { for _, test := range symbolTests { if got, want := toSymbolV3(test.input), test.v3; got != want { t.Errorf("toSymbolV3(%q) = %q, want %q", test.input, got, want) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 27 18:26:59 UTC 2022 - 2.9K bytes - Viewed (0)