- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for _bar123 (0.15 sec)
-
src/go/token/token_test.go
want bool }{ {"Empty", "", false}, {"Space", " ", false}, {"SpaceSuffix", "foo ", false}, {"Number", "123", false}, {"Keyword", "func", false}, {"LettersASCII", "foo", true}, {"MixedASCII", "_bar123", true}, {"UppercaseKeyword", "Func", true}, {"LettersUnicode", "fóö", true}, } for _, test := range tests { t.Run(test.name, func(t *testing.T) { if got := IsIdentifier(test.in); got != test.want {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 15 04:12:52 UTC 2019 - 796 bytes - Viewed (0) -
tensorflow/compiler/aot/codegen_test.cc
} TEST(ValidateCppIdent, Simple) { TF_EXPECT_OK(ValidateCppIdent("a", "")); TF_EXPECT_OK(ValidateCppIdent("abc", "")); TF_EXPECT_OK(ValidateCppIdent("_abc", "")); TF_EXPECT_OK(ValidateCppIdent("_abc123", "")); // Make sure we didn't skip a valid letter or digit string ident; for (char c = 'a'; c <= 'z'; c++) { ident.append(1, c); } for (char c = 'A'; c <= 'Z'; c++) { ident.append(1, c); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Mar 01 02:13:40 UTC 2024 - 10.2K bytes - Viewed (0) -
src/text/scanner/scanner_test.go
{Comment, "/*" + f100 + "*/"}, {Comment, "// identifiers"}, {Ident, "a"}, {Ident, "a0"}, {Ident, "foobar"}, {Ident, "abc123"}, {Ident, "LGTM"}, {Ident, "_"}, {Ident, "_abc123"}, {Ident, "abc123_"}, {Ident, "_abc_123_"}, {Ident, "_äöü"}, {Ident, "_本"}, {Ident, "äöü"}, {Ident, "本"}, {Ident, "a۰۱۸"}, {Ident, "foo६४"}, {Ident, "bar9876"}, {Ident, f100},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 17 03:41:50 UTC 2022 - 25.3K bytes - Viewed (0)