Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 2,599 for matchLen (0.16 sec)

  1. src/testing/match.go

    // license that can be found in the LICENSE file.
    
    package testing
    
    import (
    	"fmt"
    	"os"
    	"strconv"
    	"strings"
    	"sync"
    )
    
    // matcher sanitizes, uniques, and filters names of subtests and subbenchmarks.
    type matcher struct {
    	filter    filterMatch
    	skip      filterMatch
    	matchFunc func(pat, str string) (bool, error)
    
    	mu sync.Mutex
    
    	// subNames is used to deduplicate subtest names.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 27 22:07:13 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  2. platforms/ide/ide-plugins/src/integTest/groovy/org/gradle/plugins/ide/eclipse/EclipseProjectIntegrationTest.groovy

    		<filter>
    			<id>1</id>
    			<type>9</type>
    			<name/>
    			<matcher>
    				<id>org.eclipse.some.custom.matcher</id>
    				<arguments>foobar</arguments>
    			</matcher>
    		</filter>
    		<filter>
    			<id>2</id>
    			<type>30</type>
    			<name/>
    			<matcher>
    				<id>org.eclipse.some.custom.matcher</id>
    				<arguments>barfoo</arguments>
    			</matcher>
    		</filter>
    	</filteredResources>
    </projectDescription>
    '''
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Aug 01 11:07:39 UTC 2023
    - 18K bytes
    - Viewed (0)
  3. platforms/software/testing-base-infrastructure/src/test/groovy/org/gradle/api/internal/tasks/testing/filter/TestSelectionMatcherTest.groovy

    
    import spock.lang.Specification
    
    class TestSelectionMatcherTest extends Specification {
    
        def "knows if test matches class"() {
            expect:
            matcher(input, [], []).matchesTest(className, methodName) == match
            matcher([], [], input).matchesTest(className, methodName) == match
    
            where:
            input                    | className                 | methodName            | match
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 13 20:33:30 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  4. testing/internal-testing/src/main/groovy/org/gradle/integtests/fixtures/HtmlTestExecutionResult.groovy

            TestClassExecutionResult assertStdout(Matcher<? super String> matcher) {
                return assertOutput('Standard output', matcher)
            }
    
            TestClassExecutionResult assertTestCaseStdout(String testCaseName, Matcher<? super String> matcher) {
                throw new UnsupportedOperationException()
            }
    
            TestClassExecutionResult assertStderr(Matcher<? super String> matcher) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/rule/impl/RegexRule.java

                if (obj != null) {
                    value = obj.toString();
                }
                final Matcher matcher = entry.getValue().matcher(value);
                if (allRequired) {
                    if (!matcher.matches()) {
                        return false;
                    }
                } else if (matcher.matches()) {
                    return true;
                }
            }
    
            return allRequired;
        }
    
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/generic/webhook.go

    	matches, matchObjErr := a.objectMatcher.MatchObjectSelector(h, attr)
    	if !matches && matchObjErr == nil {
    		return nil, nil
    	}
    
    	var invocation *WebhookInvocation
    	for _, r := range h.GetRules() {
    		m := rules.Matcher{Rule: r, Attr: attr}
    		if m.Matches() {
    			invocation = &WebhookInvocation{
    				Webhook:     h,
    				Resource:    attr.GetResource(),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  7. platforms/software/testing-base-infrastructure/src/main/java/org/gradle/api/internal/tasks/testing/filter/TestSelectionMatcher.java

                return pattern.matcher(classNameSelector.determineTargetClassName(fullQualifiedName)).matches();
            }
    
            private boolean matchesClassAndMethod(String fullQualifiedName, String methodName) {
                if (methodName == null) {
                    return false;
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 13 20:33:30 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  8. pkg/auth/authorizer/abac/abac.go

    	if len(p.Spec.Group) > 0 {
    		if p.Spec.Group == "*" {
    			matched = true
    		} else {
    			matched = false
    			for _, group := range groups {
    				if p.Spec.Group == group {
    					matched = true
    					break
    				}
    			}
    			if !matched {
    				return false
    			}
    		}
    	}
    
    	return matched
    }
    
    func verbMatches(p abac.Policy, a authorizer.Attributes) bool {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 11 03:11:30 UTC 2021
    - 7.4K bytes
    - Viewed (0)
  9. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/OutputScrapingExecutionFailure.java

            java.util.regex.Matcher matcher = FAILURE_PATTERN.matcher(failureText);
            if (matcher.lookingAt()) {
                summary = matcher.group(1);
            } else {
                summary = "";
            }
    
            matcher = LOCATION_PATTERN.matcher(failureText);
            while (matcher.find()) {
                fileNames.add(matcher.group(1).trim());
                lineNumbers.add(matcher.group(3));
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 09:21:25 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  10. platforms/core-runtime/files/src/main/java/org/gradle/api/internal/file/pattern/RegExpPatternStep.java

                } else {
                    result.append(next);
                }
            }
            return result.toString();
        }
    
        @Override
        public boolean matches(String testString) {
            Matcher matcher = pattern.matcher(testString);
            return matcher.matches();
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:55:52 UTC 2023
    - 1.9K bytes
    - Viewed (0)
Back to top