Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 182 for caniuse (0.38 sec)

  1. android/guava-tests/test/com/google/common/io/CharStreamsTest.java

       * space in the buffer completely. In general this is a performance problem since the buffer size
       * is permanently reduced, but with certain Reader implementations it could also cause the buffer
       * size to reach 0, causing an infinite loop.
       */
      public void testCopyWithReaderThatDoesNotFillBuffer() throws IOException {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 11.2K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/ImmutableSortedMap.java

        }
    
        /**
         * Associates {@code key} with {@code value} in the built map. Duplicate keys, according to the
         * comparator (which might be the keys' natural order), are not allowed, and will cause {@link
         * #build} to fail.
         */
        @CanIgnoreReturnValue
        @Override
        public Builder<K, V> put(K key, V value) {
          super.put(key, value);
          return this;
        }
    
        /**
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 50.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/hash/HashFunction.java

     * prevention and <i>no</i> expectation of bit dispersion. This leaves them perfectly suitable for
     * use in hash tables, because extra collisions cause only a slight performance hit, while poor bit
     * dispersion is easily corrected using a secondary hash function (which all reasonable hash table
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue May 25 18:22:59 GMT 2021
    - 10.9K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/math/StatsTesting.java

              .divide(BigInteger.valueOf(16L))
              .doubleValue();
    
      /**
       * Returns a stream of a million primitive doubles. The stream is parallel, which should cause
       * {@code collect} calls to run in multithreaded mode, so testing the combiner as well as the
       * supplier and accumulator.
       */
      static DoubleStream megaPrimitiveDoubleStream() {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Nov 09 22:49:56 GMT 2023
    - 23.8K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

    /**
     * Base class for JSR166 Junit TCK tests. Defines some constants, utility methods and classes, as
     * 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>
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 37.2K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ImmutableSet.java

         * log n) on average.
         *
         * <p>The online hash flooding detecting in RegularSetBuilderImpl.add can detect e.g. many
         * exactly matching hash codes, which would cause construction to take O(n^2), but can't detect
         * e.g. hash codes adversarially designed to go into ascending table locations, which keeps
         * construction O(n) (as desired) but then can have O(n) queries later.
         *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 35.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/io/BaseEncoding.java

              // this method will silently swallow exceptions thrown by the single-byte read() method
              // (other than on the first call to it), which in this case can cause invalid encoded
              // strings to not throw an exception.
              // See https://github.com/google/guava/issues/3542
              checkPositionIndexes(off, off + len, buf.length);
    
              int i = off;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Mar 15 16:33:32 GMT 2024
    - 41.7K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/cache/LocalCacheTest.java

      }
    
      static <K, V> void assertNotified(
          QueuingRemovalListener<K, V> listener, K key, V value, RemovalCause cause) {
        RemovalNotification<K, V> notification = listener.remove();
        assertSame(key, notification.getKey());
        assertSame(value, notification.getValue());
        assertSame(cause, notification.getCause());
      }
    
      // Segment core tests
    
      public void testNewEntry() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 14 23:06:48 GMT 2024
    - 112.3K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

      }
    
      static <K, V> void assertNotified(
          QueuingRemovalListener<K, V> listener, K key, V value, RemovalCause cause) {
        RemovalNotification<K, V> notification = listener.remove();
        assertSame(key, notification.getKey());
        assertSame(value, notification.getValue());
        assertSame(cause, notification.getCause());
      }
    
      // Segment core tests
    
      public void testNewEntry() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 14 23:06:48 GMT 2024
    - 110.7K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/MapsTest.java

        } catch (IllegalArgumentException expected) {
        }
      }
    
      /**
       * Tests that nHMWES makes hash maps large enough that adding the expected number of elements
       * won't cause a rehash.
       *
       * <p>As of jdk7u40, HashMap has an empty-map optimization. The argument to new HashMap(int) is
       * noted, but the initial table is a zero-length array.
       *
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 16:06:01 GMT 2024
    - 67.2K bytes
    - Viewed (0)
Back to top