Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for sottile (0.38 sec)

  1. guava/src/com/google/common/collect/EnumHashBiMap.java

        /*
         * TODO: cpovirk - Pre-size the HashMap based on the number of enum values? (But *not* based on
         * the number of entries in the map, as that makes it easy for hostile inputs to trigger lots of
         * allocation—not that any program should be deserializing hostile inputs to begin with!)
         */
        setDelegates(new EnumMap<K, V>(keyTypeOrObjectUnderJ2cl), new HashMap<V, K>());
        Serialization.populateMap(this, stream);
      }
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Aug 24 01:40:03 GMT 2023
    - 5.4K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/base/FunctionsTest.java

        Function<Float, Boolean> c2 = Functions.compose(h, Functions.compose(g, f));
    
        // Might be nice (eventually) to have:
        //     assertEquals(c1, c2);
    
        // But for now, settle for this:
        assertEquals(c1.hashCode(), c2.hashCode());
    
        assertEquals(c1.apply(1.0f), c2.apply(1.0f));
        assertEquals(c1.apply(5.0f), c2.apply(5.0f));
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 16K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/base/FunctionsTest.java

        Function<Float, Boolean> c2 = Functions.compose(h, Functions.compose(g, f));
    
        // Might be nice (eventually) to have:
        //     assertEquals(c1, c2);
    
        // But for now, settle for this:
        assertEquals(c1.hashCode(), c2.hashCode());
    
        assertEquals(c1.apply(1.0f), c2.apply(1.0f));
        assertEquals(c1.apply(5.0f), c2.apply(5.0f));
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 16K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ArrayTable.java

     * associated with it: It is not possible to "remove" a value, only to replace it with {@code null},
     * which will still appear when iterating over the table's contents in a foreach loop or a call to a
     * null-hostile method like {@link ImmutableTable#copyOf}. For alternatives, please see <a
     * href="https://github.com/google/guava/wiki/NewCollectionTypesExplained#table">the wiki</a>.
     *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 26.3K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

    went back to the table, half hoping she might find another key on
    it, or at any rate a book of rules for shutting people up like
    telescopes:  this time she found a little bottle on it, (`which
    certainly was not here before,' said Alice,) and round the neck
    of the bottle was a paper label, with the words `DRINK ME'
    beautifully printed on it in large letters.
    
      It was all very well to say `Drink me,' but the wise little
    Plain Text
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Apr 21 02:27:51 GMT 2017
    - 145.2K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ArrayTable.java

     * associated with it: It is not possible to "remove" a value, only to replace it with {@code null},
     * which will still appear when iterating over the table's contents in a foreach loop or a call to a
     * null-hostile method like {@link ImmutableTable#copyOf}. For alternatives, please see <a
     * href="https://github.com/google/guava/wiki/NewCollectionTypesExplained#table">the wiki</a>.
     *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 26.9K bytes
    - Viewed (0)
  7. guava-tests/benchmark/com/google/common/hash/HashStringBenchmark.java

              // Mostly 1-byte UTF-8 sequences, mixed with occasional 2-byte
              // sequences - "Western European" text
              return 0x90;
            } else if (userFriendly.matches("(?i)(?:Branch.*Prediction.*Hostile)")) {
              // Defeat branch predictor for: c < 0x80 ; branch taken 50% of the time.
              return 0x100;
            } else if (userFriendly.matches("(?i)(?:Greek|Cyrillic|European|ISO.?8859)")) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 5.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/EnumHashBiMap.java

        /*
         * TODO: cpovirk - Pre-size the HashMap based on the number of enum values? (But *not* based on
         * the number of entries in the map, as that makes it easy for hostile inputs to trigger lots of
         * allocation—not that any program should be deserializing hostile inputs to begin with!)
         */
        setDelegates(new EnumMap<K, V>(keyTypeOrObjectUnderJ2cl), new HashMap<V, K>());
        Serialization.populateMap(this, stream);
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Aug 24 01:40:03 GMT 2023
    - 5.4K bytes
    - Viewed (0)
  9. android/guava-testlib/test/com/google/common/collect/testing/MapTestSuiteBuilderTests.java

            CollectionSize.ANY);
        return MapTestSuiteBuilder.using(generator)
            .named(name)
            .withFeatures(featuresList)
            .createTestSuite();
      }
    
      // TODO: consider being null-hostile in these tests
    
      private static Test testsForHashMapNullKeysForbidden() {
        return wrappedHashMapTests(
            new WrappedHashMapGenerator() {
              @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 11.5K bytes
    - Viewed (0)
  10. guava-testlib/test/com/google/common/collect/testing/MapTestSuiteBuilderTests.java

            CollectionSize.ANY);
        return MapTestSuiteBuilder.using(generator)
            .named(name)
            .withFeatures(featuresList)
            .createTestSuite();
      }
    
      // TODO: consider being null-hostile in these tests
    
      private static Test testsForHashMapNullKeysForbidden() {
        return wrappedHashMapTests(
            new WrappedHashMapGenerator() {
              @Override
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 11.9K bytes
    - Viewed (0)
Back to top