Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 180 for Pattern (0.07 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. .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)
  3. 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)
  4. 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)
  5. 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)
  6. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/BasicJavadocLexer.java

        private static final Pattern ATTRIBUTE_SEPARATOR = Pattern.compile("\\s*=\\s*");
        private static final Pattern END_ELEMENT_NAME = Pattern.compile("\\s+|(/>)|>");
        private static final Pattern END_ELEMENT = Pattern.compile("(/>)|>");
        private static final Pattern HTML_ENCODED_CHAR = Pattern.compile("&#\\d+;");
        private static final Pattern HTML_ENTITY = Pattern.compile("&.+?;");
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Mon Aug 19 15:07:24 GMT 2024
    - 7.1K bytes
    - Click Count (0)
  7. guava/src/com/google/common/base/JdkPattern.java

    import java.io.Serializable;
    import java.util.regex.Matcher;
    import java.util.regex.Pattern;
    
    /** A regex pattern implementation which is backed by the {@link Pattern}. */
    @GwtIncompatible
    final class JdkPattern extends CommonPattern implements Serializable {
      private final Pattern pattern;
    
      JdkPattern(Pattern pattern) {
        this.pattern = Preconditions.checkNotNull(pattern);
      }
    
      @Override
      public CommonMatcher matcher(CharSequence t) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Feb 13 17:34:21 GMT 2025
    - 2.2K bytes
    - Click Count (0)
  8. 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)
  9. internal/event/rules.go

    type Rules map[string]TargetIDSet
    
    // Add - adds pattern and target ID.
    func (rules Rules) Add(pattern string, targetID TargetID) {
    	rules[pattern] = NewTargetIDSet(targetID).Union(rules[pattern])
    }
    
    // MatchSimple - returns true one of the matching object name in rules.
    func (rules Rules) MatchSimple(objectName string) bool {
    	for pattern := range rules {
    		if wildcard.MatchSimple(pattern, objectName) {
    			return true
    		}
    	}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri May 24 23:05:23 GMT 2024
    - 2.7K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/base/JdkPattern.java

    import java.io.Serializable;
    import java.util.regex.Matcher;
    import java.util.regex.Pattern;
    
    /** A regex pattern implementation which is backed by the {@link Pattern}. */
    @GwtIncompatible
    final class JdkPattern extends CommonPattern implements Serializable {
      private final Pattern pattern;
    
      JdkPattern(Pattern pattern) {
        this.pattern = Preconditions.checkNotNull(pattern);
      }
    
      @Override
      public CommonMatcher matcher(CharSequence t) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Feb 13 17:34:21 GMT 2025
    - 2.2K bytes
    - Click Count (0)
Back to Top