Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 28 for latest (0.15 sec)

  1. android/guava/src/com/google/common/base/CharMatcher.java

        int len = sequence.length();
        int first;
        int last;
    
        for (first = 0; first < len; first++) {
          if (!matches(sequence.charAt(first))) {
            break;
          }
        }
        for (last = len - 1; last > first; last--) {
          if (!matches(sequence.charAt(last))) {
            break;
          }
        }
    
        return sequence.subSequence(first, last + 1).toString();
      }
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 53.7K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/primitives/ImmutableIntArray.java

      public int indexOf(int target) {
        for (int i = start; i < end; i++) {
          if (array[i] == target) {
            return i - start;
          }
        }
        return -1;
      }
    
      /**
       * Returns the largest index for which {@link #get} returns {@code target}, or {@code -1} if no
       * such index exists. Equivalent to {@code asList().lastIndexOf(target)}.
       */
      public int lastIndexOf(int target) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 16:34:24 GMT 2023
    - 18.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/primitives/ImmutableDoubleArray.java

        for (int i = start; i < end; i++) {
          if (areEqual(array[i], target)) {
            return i - start;
          }
        }
        return -1;
      }
    
      /**
       * Returns the largest index for which {@link #get} returns {@code target}, or {@code -1} if no
       * such index exists. Values are compared as if by {@link Double#equals}. Equivalent to {@code
       * asList().lastIndexOf(target)}.
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 16:34:24 GMT 2023
    - 19.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/math/LongMath.java

          throw new ArithmeticException("ceilingPowerOfTwo(" + x + ") is not representable as a long");
        }
        return 1L << -Long.numberOfLeadingZeros(x - 1);
      }
    
      /**
       * Returns the largest power of two less than or equal to {@code x}. This is equivalent to {@code
       * checkedPow(2, log2(x, FLOOR))}.
       *
       * @throws IllegalArgumentException if {@code x <= 0}
       * @since 20.0
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 44.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Lists.java

       * lists are sublist views of the original list, produced on demand using {@link List#subList(int,
       * int)}, and are subject to all the usual caveats about modification as explained in that API.
       *
       * @param list the list to return consecutive sublists of
       * @param size the desired size of each sublist (the last may be smaller)
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 29 16:48:36 GMT 2024
    - 41.5K bytes
    - Viewed (0)
  6. guava/src/com/google/common/base/CharMatcher.java

        int len = sequence.length();
        int first;
        int last;
    
        for (first = 0; first < len; first++) {
          if (!matches(sequence.charAt(first))) {
            break;
          }
        }
        for (last = len - 1; last > first; last--) {
          if (!matches(sequence.charAt(last))) {
            break;
          }
        }
    
        return sequence.subSequence(first, last + 1).toString();
      }
    
      /**
    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)
  7. android/guava/src/com/google/common/escape/ArrayBasedCharEscaper.java

       * lies outside that, then {@link #escapeUnsafe} is called, otherwise no escaping is performed.
       *
       * @param replacementMap a map of characters to their escaped representations
       * @param safeMin the lowest character value in the safe range
       * @param safeMax the highest character value in the safe range
       */
      protected ArrayBasedCharEscaper(
          Map<Character, String> replacementMap, char safeMin, char safeMax) {
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 18 20:55:09 GMT 2022
    - 6.3K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/escape/UnicodeEscaperTest.java

          "" + Character.MIN_HIGH_SURROGATE + Character.MIN_LOW_SURROGATE;
      private static final String LARGEST_SURROGATE =
          "" + Character.MAX_HIGH_SURROGATE + Character.MAX_LOW_SURROGATE;
    
      private static final String TEST_STRING =
          "\0abyz\u0080\u0100\u0800\u1000ABYZ\uffff" + SMALLEST_SURROGATE + "0189" + LARGEST_SURROGATE;
    
      // Escapes nothing
      private static final UnicodeEscaper NOP_ESCAPER =
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 6.2K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

       * explicit {@code testEquals()} test in the corresponding {@code CTest} class, and {@code C} will
       * be excluded from the automated {@code equals} test performed by this method.
       */
      @Test
      public void testEquals() throws Exception {
        for (Class<?> classToTest :
            findClassesToTest(loadClassesInPackage(), EQUALS_TEST_METHOD_NAMES)) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri May 12 19:22:18 GMT 2023
    - 17.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/math/Stats.java

       * @throws IllegalStateException if the dataset is empty or contains a single value
       */
      public double sampleStandardDeviation() {
        return Math.sqrt(sampleVariance());
      }
    
      /**
       * Returns the lowest value in the dataset. The count must be non-zero.
       *
       * <h3>Non-finite values</h3>
       *
       * <p>If the dataset contains {@link Double#NaN} then the result is {@link Double#NaN}. If it
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 22K bytes
    - Viewed (0)
Back to top