Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 190 for Dapper (0.17 sec)

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

       * and values are the result of applying the provided mapping functions to the input elements.
       * Entries appear in the result {@code ImmutableMap} in encounter order.
       *
       * <p>If the mapped keys contain duplicates (according to {@link Object#equals(Object)}, an {@code
       * IllegalArgumentException} is thrown when the collection operation is performed. (This differs
    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)
  2. guava-tests/test/com/google/common/hash/BloomFilterTest.java

        for (int repeats = 0; repeats < 10000; repeats++) {
          assertTrue(BloomFilter.optimalNumOfBits(random.nextInt(1 << 16), random.nextDouble()) >= 0);
        }
    
        // and some crazy values (this used to be capped to Integer.MAX_VALUE, now it can go bigger
        assertEquals(3327428144502L, BloomFilter.optimalNumOfBits(Integer.MAX_VALUE, Double.MIN_VALUE));
        IllegalArgumentException expected =
            assertThrows(
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Nov 09 22:49:56 GMT 2023
    - 21.3K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/net/InetAddressesTest.java

        // check upper case
        mappedStr = "::FFFF:192.168.0.1";
        assertTrue(InetAddresses.isMappedIPv4Address(mappedStr));
        mapped = InetAddresses.forString(mappedStr);
        assertThat(mapped).isNotInstanceOf(Inet6Address.class);
        assertEquals(InetAddress.getByName("192.168.0.1"), mapped);
    
        mappedStr = "0:00:000:0000:0:ffff:1.2.3.4";
        assertTrue(InetAddresses.isMappedIPv4Address(mappedStr));
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 31.9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ArrayTable.java

       * those that are mapped to null values only.
       */
      public ImmutableList<R> rowKeyList() {
        return rowList;
      }
    
      /**
       * Returns, as an immutable list, the column keys provided when the table was constructed,
       * including those that are mapped to null values only.
       */
      public ImmutableList<C> columnKeyList() {
        return columnList;
    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. guava-testlib/src/com/google/common/testing/GcFinalization.java

     *   <li>enqueuing weak references to unreachable referents in their reference queue
     * </ul>
     *
     * <p>This class uses (possibly repeated) invocations of {@link java.lang.System#gc()} to cause
     * finalization to happen. However, a call to {@code System.gc()} is specified to be no more than a
     * hint, so this technique may fail at the whim of the JDK implementation, for example if a user
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/reflect/ClassPath.java

     *       Windows</a>.
     *   <li>It <a href="https://github.com/google/guava/issues/2712">returns only one resource for a
     *       given path</a>, even if resources with that path appear in multiple jars or directories.
     *   <li>It assumes that <a href="https://github.com/google/guava/issues/3349">any class with a
     *       {@code $} in its name is a nested class</a>.
     * </ul>
     *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jan 05 17:43:40 GMT 2022
    - 24.9K bytes
    - Viewed (1)
  7. android/guava-tests/test/com/google/common/cache/CacheEvictionTest.java

        assertThat(cache.asMap().keySet()).containsExactly(2, 4);
    
        CacheTesting.processPendingNotifications(cache);
        assertThat(removalListener.getCount()).isEqualTo(2);
    
        // Should we pepper more of these calls throughout the above? Where?
        CacheTesting.checkValidState(cache);
      }
    
      /**
       * Tests that when a single entry exceeds the segment's max weight, the new entry is immediately
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 14.9K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/ClassToInstanceMap.java

     * operations {@link #putInstance} and {@link #getInstance} are available.
     *
     * <p>Like any other {@code Map<Class, Object>}, this map may contain entries for primitive types,
     * and a primitive type and its corresponding wrapper type may map to different values.
     *
     * <h3>Implementations</h3>
     *
     * <ul>
     *   <li>{@link ImmutableClassToInstanceMap}
     *   <li>{@link MutableClassToInstanceMap}
     * </ul>
     *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Sat Jun 17 14:40:53 GMT 2023
    - 3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/Striped.java

     * <strong>not</strong> equal to {@code key2}, it is <strong>not</strong> guaranteed that {@code
     * striped.get(key1) != striped.get(key2)}; the elements might nevertheless be mapped to the same
     * lock. The lower the number of stripes, the higher the probability of this happening.
     *
     * <p>There are three flavors of this class: {@code Striped<Lock>}, {@code Striped<Semaphore>}, and
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 10 20:55:18 GMT 2023
    - 20.3K bytes
    - Viewed (1)
  10. android/guava-tests/test/com/google/common/util/concurrent/AbstractScheduledServiceTest.java

            secondBarrier.await();
          }
        }
    
        @Override
        protected ScheduledExecutorService executor() {
          // use a bunch of threads so that weird overlapping schedules are more likely to happen.
          return Executors.newScheduledThreadPool(10);
        }
    
        @Override
        protected Scheduler scheduler() {
          return new CustomScheduler() {
            @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 22.5K bytes
    - Viewed (0)
Back to top