Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for didn (0.32 sec)

  1. guava-tests/test/com/google/common/collect/MapsTest.java

        SortedMap<String, Double> transformed = transformValues(map, SQRT_FUNCTION);
    
        /*
         * We'd like to sanity check that we didn't get a NavigableMap out, but we
         * can't easily do so while maintaining GWT compatibility.
         */
        assertEquals(ImmutableSortedMap.of("a", 2.0, "b", 3.0), transformed);
      }
    
    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)
  2. android/guava-tests/test/com/google/common/collect/MapsTest.java

        SortedMap<String, Double> transformed = transformValues(map, SQRT_FUNCTION);
    
        /*
         * We'd like to sanity check that we didn't get a NavigableMap out, but we
         * can't easily do so while maintaining GWT compatibility.
         */
        assertEquals(ImmutableSortedMap.of("a", 2.0, "b", 3.0), transformed);
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 04 16:06:01 GMT 2024
    - 64.3K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/cache/CacheLoadingTest.java

                });
    
        List<Object> resultArray = doConcurrentGet(cache, "bar", count, startSignal);
    
        assertEquals(1, callCount.get());
        for (int i = 0; i < count; i++) {
          assertSame("result(" + i + ") didn't match expected", result, resultArray.get(i));
        }
      }
    
      /**
       * On a concurrent computation that returns null, all threads should get an
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 86.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

      //   system scheduling and as such we could either miss our deadline, or unpark() could be delayed
      //   so that it looks like we timed out even though we didn't. For comparison FutureTask respects
      //   completion preferably and AQS is non-deterministic (depends on where in the queue the waiter
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/cache/CacheLoadingTest.java

                });
    
        List<Object> resultArray = doConcurrentGet(cache, "bar", count, startSignal);
    
        assertEquals(1, callCount.get());
        for (int i = 0; i < count; i++) {
          assertSame("result(" + i + ") didn't match expected", result, resultArray.get(i));
        }
      }
    
      /**
       * On a concurrent computation that returns null, all threads should get an
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 86.2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/Futures.java

       * (preferring constructors with at least one {@code String}, then preferring constructors with at
       * least one {@code Throwable}) and calling the constructor via reflection. If the exception did
       * not already have a cause, one is set by calling {@link Throwable#initCause(Throwable)} on it.
       * If no such constructor exists, an {@code IllegalArgumentException} is thrown.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 59.6K bytes
    - Viewed (0)
Back to top