Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 1,714 for pattern1 (0.2 sec)

  1. src/cmd/distpack/archive.go

    }
    
    // Remove removes files matching any of the patterns from the archive.
    // The patterns use the syntax of path.Match, with an extension of allowing
    // a leading **/ or trailing /**, which match any number of path elements
    // (including no path elements) before or after the main match.
    func (a *Archive) Remove(patterns ...string) {
    	a.Filter(func(name string) bool {
    		for _, pattern := range patterns {
    			match, err := amatch(pattern, name)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 11 17:37:52 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/repositories/DefaultIvyArtifactRepositoryTest.groovy

                ivyPatterns == ["https://host/[module]/[revision]/ivy.xml"]
                m2compatible
            }
        }
    
        def "combines layout patterns with additionally specified patterns"() {
            repository.name = 'name'
            repository.url = 'https://host/'
            repository.artifactPattern 'https://host/[other]/artifact'
            repository.ivyPattern 'https://host/[other]/ivy'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 24K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/canonicalize.td

    // Add op patterns.
    //===----------------------------------------------------------------------===//
    
    def AddToAddV2 : Pat<
      (TF_AddOp:$src TF_NumberTensor:$arg0, TF_NumberTensor:$arg1),
      (TF_AddV2Op:$dest $arg0, $arg1), [], [(CopyAttrs $src, $dest)]>;
    
    //===----------------------------------------------------------------------===//
    // AddV2 op patterns.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Dec 06 18:42:28 UTC 2023
    - 17K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf_with_tf2xla.cc

      return IsBounded(updated);
    }
    
    // Propagates more refined type by cloning op using the new operands. This
    // allows all rewrite patterns that requires refined types to work without
    // requiring a rewrite to the conversion pattern. Declarative rewrite pattern
    // (DRR) doesn't even support conversion patterns with TableGen.
    class TypePropagator : public ConversionPattern {
     public:
      explicit TypePropagator(MLIRContext* ctx)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 21:49:50 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/CertificatePinner.kt

        init {
          require(
            (pattern.startsWith("*.") && pattern.indexOf("*", 1) == -1) ||
              (pattern.startsWith("**.") && pattern.indexOf("*", 2) == -1) ||
              pattern.indexOf("*") == -1,
          ) {
            "Unexpected pattern: $pattern"
          }
    
          this.pattern =
            pattern.toCanonicalHost() ?: throw IllegalArgumentException("Invalid pattern: $pattern")
    
          when {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  6. cmd/endpoint-ellipses_test.go

    		t.Run("", func(t *testing.T) {
    			argPatterns := make([]ellipses.ArgPattern, len(testCase.args))
    			for i, arg := range testCase.args {
    				patterns, err := ellipses.FindEllipsesPatterns(arg)
    				if err != nil {
    					t.Fatalf("Unexpected failure %s", err)
    				}
    				argPatterns[i] = patterns
    			}
    
    			gotIndexes, err := getSetIndexes(testCase.args, testCase.totalSizes, testCase.envOverride, argPatterns)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  7. platforms/native/testing-native/src/main/java/org/gradle/nativeplatform/test/xctest/internal/execution/XCTestSelection.java

            }
        }
    
        private String disallowForwardSlash(String testFilter) {
            if (testFilter.contains("/")) {
                throw new IllegalArgumentException(String.format("'%s' is an invalid pattern. Patterns cannot contain forward slash.", testFilter));
            }
            return testFilter;
        }
    
        private String prepareIncludedTest(String testFilter, Set<String> testSuiteCache) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  8. src/io/fs/glob.go

    	}
    	if fsys, ok := fsys.(GlobFS); ok {
    		return fsys.Glob(pattern)
    	}
    
    	// Check pattern is well-formed.
    	if _, err := path.Match(pattern, ""); err != nil {
    		return nil, err
    	}
    	if !hasMeta(pattern) {
    		if _, err = Stat(fsys, pattern); err != nil {
    			return nil, nil
    		}
    		return []string{pattern}, nil
    	}
    
    	dir, file := path.Split(pattern)
    	dir = cleanGlobPath(dir)
    
    	if !hasMeta(dir) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 11 20:25:50 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  9. pilot/pkg/security/authz/builder/extauthz.go

    			pattern.MatchPattern = &envoy_type_matcher_v3.StringMatcher_Prefix{
    				Prefix: strings.TrimSuffix(header, "*"),
    			}
    		} else {
    			pattern.MatchPattern = &envoy_type_matcher_v3.StringMatcher_Exact{
    				Exact: header,
    			}
    		}
    		patterns = append(patterns, pattern)
    	}
    	return &envoy_type_matcher_v3.ListStringMatcher{Patterns: patterns}
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 20:06:41 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  10. platforms/native/language-native/src/main/java/org/gradle/language/cpp/internal/DefaultCppComponent.java

        public FileTree getHeaderFiles() {
            PatternSet patterns = new PatternSet();
            // if you would like to add more endings to this pattern, make sure to also edit DefaultCppLibrary.java and default.vcxproj.filters
            patterns.include("**/*.h");
            patterns.include("**/*.hpp");
            patterns.include("**/*.h++");
            patterns.include("**/*.hxx");
            patterns.include("**/*.hm");
            patterns.include("**/*.inl");
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 20 04:34:07 UTC 2023
    - 4.7K bytes
    - Viewed (0)
Back to top