Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 81 for Food (0.14 sec)

  1. android/guava/src/com/google/common/escape/UnicodeEscaper.java

       * href="http://en.wikipedia.org/wiki/UTF-16">UTF-16</a> before calling this method.
       *
       * <p><b>Note:</b> When implementing an escaper it is a good idea to override this method for
       * efficiency by inlining the implementation of {@link #nextEscapeIndex(CharSequence, int, int)}
       * directly. Doing this for {@link com.google.common.net.PercentEscaper} more than doubled the
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 18 20:55:09 GMT 2022
    - 13.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/CompactLinkedHashSet.java

     *
     * <p>{@code contains(x)}, {@code add(x)} and {@code remove(x)}, are all (expected and amortized)
     * constant time operations. Expected in the hashtable sense (depends on the hash function doing a
     * good job of distributing the elements to the buckets to a distribution not far from uniform), and
     * amortized since some operations can trigger a hash table resize.
     *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 05 21:38:59 GMT 2024
    - 9.5K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/FuturesGetCheckedTest.java

       * doing so would be to derive a separate test library by using remove_from_jar to strip out
       * ClassValueValidator.
       *
       * Fortunately, we get pretty good coverage "by accident": We run all these tests against the
       * *backport*, where ClassValueValidator is not present.
       */
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 16.4K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/primitives/ImmutableIntArrayTest.java

        assertThat(ImmutableIntArray.of(0, 1, 3).subArray(1, 1).isEmpty()).isTrue();
        assertThat(ImmutableIntArray.of(0, 1, 3).subArray(1, 2).isEmpty()).isFalse();
      }
    
      public void testGet_good() {
        ImmutableIntArray iia = ImmutableIntArray.of(0, 1, 3);
        assertThat(iia.get(0)).isEqualTo(0);
        assertThat(iia.get(2)).isEqualTo(3);
        assertThat(iia.subArray(1, 3).get(1)).isEqualTo(3);
      }
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Jun 01 09:32:35 GMT 2023
    - 20.2K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/ConcurrentHashMultiset.java

       * if occurrences == 0. This satisfies both NullPointerTester and
       * CollectionRemoveTester.testRemove_nullAllowed, but it's not clear that it's
       * a good policy, especially because, in order for the test to pass, the
       * parameter must be misleadingly annotated as @Nullable. I suspect that
       * we'll want to remove @Nullable, add an eager checkNotNull, and loosen up
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 20.9K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ImmutableMap.java

       */
      @Override
      public ImmutableSet<K> keySet() {
        ImmutableSet<K> result = keySet;
        return (result == null) ? keySet = createKeySet() : result;
      }
    
      /*
       * This could have a good default implementation of return new ImmutableKeySet<K, V>(this),
       * but ProGuard can't figure out how to eliminate that default when RegularImmutableMap
       * overrides it.
       */
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 44.1K bytes
    - Viewed (0)
  7. android/pom.xml

                    <!-- TODO(cpovirk): Enable NullArgumentForNonNullParameter for
                         prod code. It's disabled automatically for "test code"
                         (which is good: our tests have intentional violations), but
                         Error Prone doesn't know it's building test code unless we
                         pass -XepCompilingTestOnlyCode, and that argument needs to
    XML
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Mar 12 20:26:18 GMT 2024
    - 19.4K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/base/SplitterTest.java

      }
    
      /**
       * All of the infrastructure of split and splitToString is identical, so we do one test of
       * splitToString. All other cases should be covered by testing of split.
       *
       * <p>TODO(user): It would be good to make all the relevant tests run on both split and
       * splitToString automatically.
       */
      public void testCharacterSimpleSplitToList() {
        String simple = "a,b,c";
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 29.8K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/primitives/Doubles.java

       */
      public static double constrainToRange(double value, double min, double max) {
        // avoid auto-boxing by not using Preconditions.checkArgument(); see Guava issue 3984
        // Reject NaN by testing for the good case (min <= max) instead of the bad (min > max).
        if (min <= max) {
          return Math.min(Math.max(value, min), max);
        }
        throw new IllegalArgumentException(
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 29 15:43:06 GMT 2024
    - 27.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/primitives/Ints.java

        // do n swaps, minus a delta (0 or 2 for Reversal, gcd(d, n) for Successive), so that's about
        // twice as many reads and writes. But benchmarking shows that they usually perform better than
        // Dolphin. Reversal is about as good as Successive on average, and it is much simpler,
        // especially since we already have a `reverse` method.
        checkNotNull(array);
        checkPositionIndexes(fromIndex, toIndex, array.length);
        if (array.length <= 1) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 29.7K bytes
    - Viewed (0)
Back to top