- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for matchExpr (0.32 sec)
-
src/cmd/dist/buildtag_test.go
{"(gc))", false, fmt.Errorf("parsing //go:build line: unexpected )")}, } func TestBuildParser(t *testing.T) { for _, tt := range buildParserTests { matched, err := matchexpr(tt.x) if matched != tt.matched || !reflect.DeepEqual(err, tt.err) { t.Errorf("matchexpr(%q) = %v, %v; want %v, %v", tt.x, matched, err, tt.matched, tt.err) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 25 00:02:52 UTC 2021 - 1.2K bytes - Viewed (0) -
src/cmd/dist/buildtag.go
{tok: "!", prec: 3, prefix: (*exprParser).not}, {tok: "(", prec: 3, prefix: (*exprParser).paren}, {tok: ")"}, } } // matchexpr parses and evaluates the //go:build expression x. func matchexpr(x string) (matched bool, err error) { defer func() { if e := recover(); e != nil { matched = false err = fmt.Errorf("parsing //go:build line: %v", e) } }()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 28 03:35:04 UTC 2021 - 3K bytes - Viewed (0) -
platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/processor/codegen/groovy/MatchesSignatureGeneratingSignatureTreeVisitor.java
? CodeBlock.of("receiverClass") : CodeBlock.of("arg$L", paramIndex); int childArgCount = paramIndex + 1; TypeName entryChildType = TypeUtils.typeName(entry.type); CodeBlock matchExpr = entry.kind == RECEIVER_AS_CLASS ? CodeBlock.of("isStatic && $T.class.isAssignableFrom($L)", entryChildType.box(), argExpr) : entry.kind == RECEIVER ?
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Oct 02 15:44:14 UTC 2023 - 7.3K bytes - Viewed (0) -
platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/processor/codegen/groovy/CodeGeneratingSignatureTreeVisitor.java
CodeBlock matchExpr = entry.kind == RECEIVER_AS_CLASS ? CodeBlock.of("$L.equals($T.class)", argExpr, entryChildType) : // Vararg fits here, too: CodeBlock.of("$1L == null || $1L instanceof $2T", argExpr, entryChildType.box()); result.beginControlFlow("if ($L)", matchExpr); boolean shouldPopParameter = false;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 13:09:40 UTC 2024 - 8.9K bytes - Viewed (0) -
pkg/volume/util/util.go
var nodes sets.Set[string] for _, matchExpr := range term.MatchExpressions { if matchExpr.Key == v1.LabelHostname && matchExpr.Operator == v1.NodeSelectorOpIn { if nodes == nil { nodes = sets.New(matchExpr.Values...) } else { nodes = nodes.Intersection(sets.New(matchExpr.Values...)) } } } result = result.Union(nodes) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 31 12:32:15 UTC 2024 - 28.8K bytes - Viewed (0) -
src/cmd/dist/build.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 18:34:40 UTC 2024 - 54K bytes - Viewed (0) -
src/main/webapp/js/jquery-3.6.3.min.map
Cache","compilerCache","nonnativeSelectorCache","sortOrder","a","b","pop","pushNative","list","booleans","whitespace","identifier","attributes","pseudos","rwhitespace","RegExp","rtrim","rcomma","rcombinators","rdescend","rpseudo","ridentifier","matchExpr","ID","CLASS","TAG","ATTR","PSEUDO","CHILD","bool","needsContext","rhtml","rinputs","rheader","rnative","rquickExpr","rsibling","runescape","funescape","escape","nonHex","high","String","fromCharCode","rcssescape","fcssescape","ch","asCodePoint"...
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Fri Feb 17 12:13:41 UTC 2023 - 135.2K bytes - Viewed (0) -
src/main/webapp/js/admin/jquery-3.6.3.min.map
Cache","compilerCache","nonnativeSelectorCache","sortOrder","a","b","pop","pushNative","list","booleans","whitespace","identifier","attributes","pseudos","rwhitespace","RegExp","rtrim","rcomma","rcombinators","rdescend","rpseudo","ridentifier","matchExpr","ID","CLASS","TAG","ATTR","PSEUDO","CHILD","bool","needsContext","rhtml","rinputs","rheader","rnative","rquickExpr","rsibling","runescape","funescape","escape","nonHex","high","String","fromCharCode","rcssescape","fcssescape","ch","asCodePoint"...
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Fri Feb 17 12:13:41 UTC 2023 - 135.2K bytes - Viewed (0)