Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 81 for Food (0.12 sec)

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

        // whose key property is that it maps 25 characters into the 32-slot table without collision.
        // Basically this is an opportunistic fast implementation as opposed to "good code". For most
        // other use-cases, the reduction in readability isn't worth it.
        static final String TABLE =
            "\u2002\u3000\r\u0085\u200A\u2005\u2000\u3000"
    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)
  2. android/guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

    me see:  that would be four thousand miles down, I think--' (for,
    you see, Alice had learnt several things of this sort in her
    lessons in the schoolroom, and though this was not a VERY good
    opportunity for showing off her knowledge, as there was no one to
    listen to her, still it was good practice to say it over) `--yes,
    that's about the right distance--but then I wonder what Latitude
    or Longitude I've got to?'  (Alice had no idea what Latitude was,
    Plain Text
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Apr 21 02:27:51 GMT 2017
    - 145.2K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/CollectionBenchmarkSampleData.java

      private Element[] createQueries(Set<Element> elementsInSet, int numQueries) {
        List<Element> queryList = Lists.newArrayListWithCapacity(numQueries);
    
        int numGoodQueries = (int) (numQueries * hitRate + 0.5);
    
        // add good queries
        int size = elementsInSet.size();
        if (size > 0) {
          int minCopiesOfEachGoodQuery = numGoodQueries / size;
          int extras = numGoodQueries % size;
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 17 15:49:06 GMT 2023
    - 4.2K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/IteratorTester.java

    import java.util.Collections;
    import java.util.Iterator;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A utility for testing an Iterator implementation by comparing its behavior to that of a "known
     * good" reference implementation. In order to accomplish this, it's important to test a great
     * variety of sequences of the {@link Iterator#next}, {@link Iterator#hasNext} and {@link
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 4.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/escape/ArrayBasedCharEscaper.java

     * values without specific replacements are to be considered safe and left unescaped or should be
     * escaped in a general way.
     *
     * <p>A good example of usage of this class is for Java source code escaping where the replacement
     * array contains information about special ASCII characters such as {@code \\t} and {@code \\n}
    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)
  6. android/guava/src/com/google/common/hash/FarmHashFingerprint64.java

    /**
     * Implementation of FarmHash Fingerprint64, an open-source fingerprinting algorithm for strings.
     *
     * <p>Its speed is comparable to CityHash64, and its quality of hashing is at least as good.
     *
     * <p>Note to maintainers: This implementation relies on signed arithmetic being bit-wise equivalent
     * to unsigned arithmetic in all cases except:
     *
     * <ul>
     *   <li>comparisons (signed values can be negative)
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Apr 01 22:39:48 GMT 2022
    - 7.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/hash/BloomFilterStrategies.java

        }
    
        /**
         * Careful here: if threads are mutating the atomicLongArray while this method is executing, the
         * final long[] will be a "rolling snapshot" of the state of the bit array. This is usually good
         * enough, but should be kept in mind.
         */
        public static long[] toPlainArray(AtomicLongArray atomicLongArray) {
          long[] array = new long[atomicLongArray.length()];
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 10.7K bytes
    - Viewed (0)
  8. android/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 May 03 12:43:13 GMT 2024
    - Last Modified: Thu Jun 01 09:32:35 GMT 2023
    - 18.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/ServiceManager.java

         * been observed yet.
         */
        void markReady() {
          monitor.enter();
          try {
            if (!transitioned) {
              // nothing has transitioned since construction, good.
              ready = true;
            } else {
              // This should be an extremely rare race condition.
              List<Service> servicesInBadStates = Lists.newArrayList();
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Dec 13 19:45:20 GMT 2023
    - 30.5K bytes
    - Viewed (0)
  10. android/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 May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 29.5K bytes
    - Viewed (0)
Back to top