Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 56 for inRange (0.25 sec)

  1. android/guava-tests/test/com/google/common/base/BenchmarkHelpers.java

        OPS_5("+-*/%"),
        HEX_16(CharMatcher.inRange('0', '9').or(CharMatcher.inRange('A', 'F')), "0123456789ABCDEF"),
        HEX_22(
            CharMatcher.inRange('0', '9')
                .or(CharMatcher.inRange('A', 'F'))
                .or(CharMatcher.inRange('a', 'f')),
            "0123456789ABCDEFabcdef"),
        GERMAN_59(
            CharMatcher.inRange('a', 'z')
                .or(CharMatcher.inRange('A', 'Z'))
                .or(CharMatcher.anyOf("äöüßÄÖÜ")),
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 3K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/base/BenchmarkHelpers.java

        OPS_5("+-*/%"),
        HEX_16(CharMatcher.inRange('0', '9').or(CharMatcher.inRange('A', 'F')), "0123456789ABCDEF"),
        HEX_22(
            CharMatcher.inRange('0', '9')
                .or(CharMatcher.inRange('A', 'F'))
                .or(CharMatcher.inRange('a', 'f')),
            "0123456789ABCDEFabcdef"),
        GERMAN_59(
            CharMatcher.inRange('a', 'z')
                .or(CharMatcher.inRange('A', 'Z'))
                .or(CharMatcher.anyOf("äöüßÄÖÜ")),
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 3K bytes
    - Viewed (0)
  3. android/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);
      }
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 53.7K bytes
    - Viewed (0)
  4. 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
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Feb 21 18:32:41 GMT 2024
    - 30.1K bytes
    - Viewed (0)
  5. 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
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 18:32:41 GMT 2024
    - 30.1K 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
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 19 20:20:14 GMT 2022
    - 6.3K bytes
    - Viewed (0)
  7. 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) {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Feb 01 21:53:26 GMT 2024
    - 7.9K bytes
    - Viewed (0)
  8. 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
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Dec 19 20:20:14 GMT 2022
    - 6.3K bytes
    - Viewed (0)
  9. 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);
      }
    
      /**
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 53.8K bytes
    - Viewed (0)
  10. 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{
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Jan 08 23:22:28 GMT 2024
    - 3.3K bytes
    - Viewed (0)
Back to top