Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for isRange (0.06 sec)

  1. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/JdkVersionProfileActivator.java

            if (requiredJdkRange.startsWith("!")) {
                return !currentJavaVersion.startsWith(requiredJdkRange.substring(1));
            } else if (isRange(requiredJdkRange)) {
                return isInRange(currentJavaVersion, getRange(requiredJdkRange));
            } else {
                return currentJavaVersion.startsWith(requiredJdkRange);
            }
        }
    
        @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/base/CharMatcherTest.java

        doTestSetBits(noneOf("CharMatcher"));
        doTestSetBits(inRange('n', 'q'));
        doTestSetBits(forPredicate(Predicates.equalTo('c')));
        doTestSetBits(CharMatcher.ascii());
        doTestSetBits(CharMatcher.digit());
        doTestSetBits(CharMatcher.invisible());
        doTestSetBits(CharMatcher.whitespace());
        doTestSetBits(inRange('A', 'Z').and(inRange('F', 'K').negate()));
      }
    
      @GwtIncompatible // java.util.BitSet
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 18:32:41 UTC 2024
    - 30.1K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/base/CharMatcherTest.java

        doTestSetBits(noneOf("CharMatcher"));
        doTestSetBits(inRange('n', 'q'));
        doTestSetBits(forPredicate(Predicates.equalTo('c')));
        doTestSetBits(CharMatcher.ascii());
        doTestSetBits(CharMatcher.digit());
        doTestSetBits(CharMatcher.invisible());
        doTestSetBits(CharMatcher.whitespace());
        doTestSetBits(inRange('A', 'Z').and(inRange('F', 'K').negate()));
      }
    
      @GwtIncompatible // java.util.BitSet
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 18:32:41 UTC 2024
    - 30.1K bytes
    - Viewed (0)
  4. common-protos/k8s.io/api/policy/v1beta1/generated.proto

      optional int32 min = 1;
    
      // max is the end of the range, inclusive.
      optional int32 max = 2;
    }
    
    // IDRange provides a min/max of an allowed range of IDs.
    message IDRange {
      // min is the start of the range, inclusive.
      optional int64 min = 1;
    
      // max is the end of the range, inclusive.
      optional int64 max = 2;
    }
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  5. guava/src/com/google/common/base/CharMatcher.java

       * are inclusive). For example, to match any lowercase letter of the English alphabet, use {@code
       * CharMatcher.inRange('a', 'z')}.
       *
       * @throws IllegalArgumentException if {@code endInclusive < startInclusive}
       */
      public static CharMatcher inRange(final char startInclusive, final char endInclusive) {
        return new InRange(startInclusive, endInclusive);
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 53.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/base/CaseFormat.java

      LOWER_CAMEL(CharMatcher.inRange('A', 'Z'), "") {
        @Override
        String normalizeWord(String word) {
          return firstCharOnlyToUpper(word);
        }
    
        @Override
        String normalizeFirstWord(String word) {
          return Ascii.toLowerCase(word);
        }
      },
    
      /** Java and C++ class naming convention, e.g., "UpperCamel". */
      UPPER_CAMEL(CharMatcher.inRange('A', 'Z'), "") {
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 19 20:20:14 UTC 2022
    - 6.3K bytes
    - Viewed (0)
  7. guava/src/com/google/common/base/CaseFormat.java

      LOWER_CAMEL(CharMatcher.inRange('A', 'Z'), "") {
        @Override
        String normalizeWord(String word) {
          return firstCharOnlyToUpper(word);
        }
    
        @Override
        String normalizeFirstWord(String word) {
          return Ascii.toLowerCase(word);
        }
      },
    
      /** Java and C++ class naming convention, e.g., "UpperCamel". */
      UPPER_CAMEL(CharMatcher.inRange('A', 'Z'), "") {
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 19 20:20:14 UTC 2022
    - 6.3K bytes
    - Viewed (0)
  8. cmd/batch-job-common-types.go

    	sf.line, sf.col = val.Line, val.Column
    	return nil
    }
    
    // InRange returns true in the following cases and false otherwise,
    // - sf.LowerBound < sz, when sf.LowerBound alone is specified
    // - sz < sf.UpperBound, when sf.UpperBound alone is specified
    // - sf.LowerBound < sz < sf.UpperBound when both are specified,
    func (sf BatchJobSizeFilter) InRange(sz int64) bool {
    	if sf.UpperBound > 0 && sz > int64(sf.UpperBound) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 11 03:13:30 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  9. cmd/batch-job-common-types_test.go

    			sizeFilter: BatchJobSizeFilter{
    				LowerBound: 1 << 20,
    			},
    			want: true,
    		},
    	}
    
    	for i, test := range tests {
    		t.Run(fmt.Sprintf("test-%d", i+1), func(t *testing.T) {
    			if got := test.sizeFilter.InRange(test.objSize); got != test.want {
    				t.Fatalf("Expected %v but got %v", test.want, got)
    			}
    		})
    	}
    }
    
    func TestBatchJobSizeValidate(t *testing.T) {
    	errInvalidBatchJobSizeFilter := BatchJobYamlErr{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jan 08 23:22:28 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/net/InternetDomainName.java

      }
    
      private static final CharMatcher DASH_MATCHER = CharMatcher.anyOf("-_");
    
      private static final CharMatcher DIGIT_MATCHER = CharMatcher.inRange('0', '9');
    
      private static final CharMatcher LETTER_MATCHER =
          CharMatcher.inRange('a', 'z').or(CharMatcher.inRange('A', 'Z'));
    
      private static final CharMatcher PART_CHAR_MATCHER =
          DIGIT_MATCHER.or(LETTER_MATCHER).or(DASH_MATCHER);
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Feb 05 20:47:23 UTC 2024
    - 28K bytes
    - Viewed (0)
Back to top