Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 137 for inrange (0.17 seconds)

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

        assertToStringWorks(
            CharMatcher.inRange('a', 'z')
                .or(CharMatcher.inRange('A', 'Z'))
                .or(CharMatcher.inRange('0', '9'))
                .or(CharMatcher.is('_')),
            "CharMatcher.inRange('\\u0061', '\\u007A')"
                + ".or(CharMatcher.inRange('\\u0041', '\\u005A'))"
                + ".or(CharMatcher.inRange('\\u0030', '\\u0039'))"
                + ".or(CharMatcher.is('\\u005F'))");
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 32.4K bytes
    - Click Count (0)
  2. 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(char startInclusive, char endInclusive) {
        return new InRange(startInclusive, endInclusive);
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 29 22:14:05 GMT 2026
    - 54.4K bytes
    - Click Count (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(char startInclusive, char endInclusive) {
        return new InRange(startInclusive, endInclusive);
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 29 22:14:05 GMT 2026
    - 53.9K bytes
    - Click Count (0)
  4. api/maven-api-model/src/main/mdo/maven.mdo

                <li>{@code missing(path)}: Checks if a file matching the given glob pattern does not exist.</li>
                <li>{@code inrange(version, range)}: Checks if the given version is within the specified version range.</li>
                </ul>
    
                <h2>Supported properties</h2>
    
                <p>The following properties are supported in expressions:</p>
    
                <ul>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 17 09:48:21 GMT 2026
    - 133.5K bytes
    - Click Count (0)
  5. 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);
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 21:21:59 GMT 2026
    - 26.2K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/reflect/ClassPath.java

            // local and anonymous classes are prefixed with number (1,2,3...), anonymous classes are
            // entirely numeric whereas local classes have the user supplied name as a suffix
            return CharMatcher.inRange('0', '9').trimLeadingFrom(innerClassName);
          }
          String packageName = getPackageName();
          if (packageName.isEmpty()) {
            return className;
          }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 29 22:14:05 GMT 2026
    - 24.8K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/curl/CurlRequestTest.java

        public void test_UrlWithCurlyBraces() {
            // ## Arrange ##
            // URLs with curly braces (e.g., OpenSearch) should be accepted
            final CurlRequest request = new CurlRequest(Method.GET, "http://localhost:9200/{index}/_search");
    
            // ## Assert ##
            assertNotNull(request);
        }
    
        @Test
        public void test_UrlWithPipe() {
            // ## Arrange ##
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Sat Mar 21 09:11:12 GMT 2026
    - 24.7K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/curl/io/IOIntegrationTest.java

                return new ByteArrayInputStream(new byte[100]); // dummy payload
            }
        }
    
        @Test
        public void test_TmpFileHasBeenDeletedAfterResponseWasClosed() throws Exception {
            // ## Arrange ##
            CurlRequest req = new MockCurlRequest(Curl.Method.POST, "http://dummy");
            req.threshold(0); // always create tmp file
    
            // ## Act ##
            long before = countTmpFiles();
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Sat Mar 21 12:00:34 GMT 2026
    - 44.1K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/curl/io/ContentCacheTest.java

        @Test
        public void testIsInMemory_WithByteArray() {
            // ## Arrange ##
            ContentCache cache = new ContentCache("test".getBytes());
    
            // ## Assert ##
            assertTrue(cache.isInMemory());
        }
    
        @Test
        public void testIsInMemory_WithFile() throws IOException {
            // ## Arrange ##
            File tmpFile = File.createTempFile("cache-test-", ".tmp");
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Sat Mar 21 09:11:12 GMT 2026
    - 15.9K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

     * well as a simple framework for helping to make sure that assertions failing in generated threads
     * cause the associated test that generated them to itself fail (which JUnit does not otherwise
     * arrange). The rules for creating such tests are:
     *
     * <ol>
     *   <li>All assertions in code running in generated threads must use the forms {@link
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Mar 07 02:20:33 GMT 2026
    - 8.8K bytes
    - Click Count (0)
Back to Top