Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 431 for pattern (0.04 seconds)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/tls/OkHostnameVerifier.kt

          hostname += "."
        }
        if (!pattern.endsWith(".")) {
          pattern += "."
        }
        // Hostname and pattern are now absolute domain names.
    
        pattern = pattern.asciiToLowercase()
        // Hostname and pattern are now in lower case -- domain names are case-insensitive.
    
        if ("*" !in pattern) {
          // Not a wildcard pattern -- hostname and pattern must match exactly.
          return hostname == pattern
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 7.6K bytes
    - Click Count (0)
  2. okhttp/src/commonJvmAndroid/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 {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 14.1K bytes
    - Click Count (1)
  3. .github/labels.json

              "pattern": "/^((?!question).)*$/is"
            },
            {
              "type": "descriptionMatches",
              "pattern": "/^((?!Describe the feature).)*$/is"
            },
            {
              "type": "titleMatches",
              "pattern": "/^((?!critical|urgent).)*$/s"
            },
            {
              "type": "descriptionMatches",
              "pattern": "/^((?!critical|urgent).)*$/s"
            }
          ]
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Mon Oct 19 03:49:03 GMT 2020
    - 3.8K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/io/PatternFilenameFilter.java

      private final Pattern pattern;
    
      /**
       * Constructs a pattern file name filter object.
       *
       * @param patternStr the pattern string on which to filter file names
       * @throws PatternSyntaxException if pattern compilation fails (runtime)
       */
      public PatternFilenameFilter(String patternStr) {
        this(Pattern.compile(patternStr));
      }
    
      /**
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 2.7K bytes
    - Click Count (1)
  5. cmd/endpoint-ellipses_test.go

    			endpointSet{
    				[]ellipses.ArgPattern{
    					[]ellipses.Pattern{
    						{
    							Prefix: "",
    							Suffix: "",
    							Seq:    getSequences(1, 27, 0),
    						},
    					},
    				},
    				nil,
    				[][]uint64{{9, 9, 9}},
    			},
    			true,
    		},
    		{
    			"/export/set{1...64}",
    			endpointSet{
    				[]ellipses.ArgPattern{
    					[]ellipses.Pattern{
    						{
    							Prefix: "/export/set",
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 15.1K bytes
    - Click Count (0)
  6. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/upgrades/UpgradedProperties.java

    public class UpgradedProperties {
    
        private static final Pattern SETTER_REGEX = Pattern.compile("set[A-Z].*");
        private static final Pattern GETTER_REGEX = Pattern.compile("get[A-Z].*");
        private static final Pattern BOOLEAN_GETTER_REGEX = Pattern.compile("is[A-Z].*");
        public static final String OLD_REMOVED_ACCESSORS_OF_UPGRADED_PROPERTIES = "oldRemovedAccessorsOfUpgradedProperties";
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Dec 24 14:15:15 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  7. fastapi/params.py

            le: Optional[float] = None,
            min_length: Optional[int] = None,
            max_length: Optional[int] = None,
            pattern: Optional[str] = None,
            regex: Annotated[
                Optional[str],
                deprecated(
                    "Deprecated in FastAPI 0.100.0 and Pydantic v2, use `pattern` instead."
                ),
            ] = None,
            discriminator: Union[str, None] = None,
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 12:54:56 GMT 2025
    - 26.3K bytes
    - Click Count (0)
  8. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/JavadocScanner.java

            }
        }
    
        /**
         * Moves the position over the given pattern if currently looking at the pattern. Does nothing if not.
         */
        public void skip(Pattern pattern) {
            Matcher m = pattern.matcher(input);
            m.region(pos, input.length());
            if (m.lookingAt()) {
                pos = m.end();
            }
        }
    
        public void pushText(String rawCommentText) {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 4.3K bytes
    - Click Count (0)
  9. build-logic/documentation/src/main/groovy/gradlebuild/docs/FindBrokenInternalLinks.java

        private final Pattern releaseNotesJavadocPattern = Pattern.compile("javadoc/(.*?\\.html)");
        // <a href="userguide/upgrading_version_8.html#changes_@baseVersion@">
        private final Pattern releaseNotesUserGuidePattern = Pattern.compile("userguide/(.*?)(?=\\.html)");
        // <a href="samples/sample_problems_api_usage.html">
        private final Pattern releaseNotesSamplesPattern = Pattern.compile("samples/(.*?)(?=\\.html)");
    
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue May 27 09:07:14 GMT 2025
    - 18.1K bytes
    - Click Count (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/repository/DefaultMirrorSelector.java

         * </ul>
         *
         * @param originalRepository to compare for a match.
         * @param pattern used for match.
         * @return true if the repository is a match to this pattern.
         */
        static boolean matchPattern(ArtifactRepository originalRepository, String pattern) {
            boolean result = false;
            String originalId = originalRepository.getId();
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 8K bytes
    - Click Count (0)
Back to Top