Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 206 for means (0.13 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/features/CollectionSize.java

     *
     * <p>However, when {@link CollectionSize.Require} is used to annotate a test it behaves normally
     * (i.e. it requires the collection instance under test to be a certain size for the test to run).
     * Note that this means a test should not require more than one CollectionSize, since a particular
     * collection instance can only be one size at once.
     *
     * @author George van den Driessche
     */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/TimeoutFuture.java

       * write.
       *
       * 2. visibility of the writes to an afterDone() call triggered by cancel():
       *
       * Since these fields are non-final that means that TimeoutFuture is not being 'safely published',
       * thus a motivated caller may be able to expose the reference to another thread that would then
       * call cancel() and be unable to cancel the delegate.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/RateLimiter.java

       * observe the new rate; only subsequent requests will.
       *
       * <p>Note though that, since each request repays (by waiting, if necessary) the cost of the
       * <i>previous</i> request, this means that the very next request after an invocation to {@code
       * setRate} will not be affected by the new rate; it will pay the cost of the previous request,
       * which is in terms of the previous rate.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 04 09:45:04 GMT 2023
    - 18.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/AbstractTransformFuture.java

          return;
        }
    
        /*
         * Any of the setException() calls below can fail if the output Future is cancelled between now
         * and then. This means that we're silently swallowing an exception -- maybe even an Error. But
         * this is no worse than what FutureTask does in that situation. Additionally, because the
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/SequentialExecutorTest.java

          // SequentialExecutor by the time the barrier is satisfied
          barrier.await(1, TimeUnit.SECONDS);
          executor.execute(barrierTask);
          // timeout means the second task wasn't even tried
          barrier.await(1, TimeUnit.SECONDS);
        } finally {
          service.shutdown();
        }
      }
    
      public void testRejectedExecutionThrownWithMultipleCalls() throws Exception {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 11.4K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/hash/BloomFilterTest.java

                  bloomFilter.put(key);
                  // False negative should *never* happen.
                  assertThat(bloomFilter.mightContain(key)).isTrue();
    
                  // If this check ever fails, that means we need to either bump the
                  // number of expected insertions or don't run the test for so long.
                  // Don't forget, the bloom filter slowly saturates over time and the
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Nov 09 22:49:56 GMT 2023
    - 21.3K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/AbstractContainerTester.java

       * each given element has increased by one since the test collection was created, and the number
       * of occurrences of all other elements has not changed.
       *
       * <p>Note: This means that a test like the following will fail if {@code collection} is a {@code
       * Set}:
       *
       * <pre>
       * collection.add(existingElement);
       * expectAdded(existingElement);</pre>
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 8.7K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/hash/HashCodeTest.java

          assertTrue(Arrays.equals(Arrays.copyOf(hashBytes, bytes), bb));
        }
      }
    
      private static class ExpectedHashCode {
        final byte[] bytes;
        final int asInt;
        final Long asLong; // null means that asLong should throw an exception
        final String toString;
    
        ExpectedHashCode(byte[] bytes, int asInt, @Nullable Long asLong, String toString) {
          this.bytes = bytes;
          this.asInt = asInt;
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 13.1K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/graph/AbstractStandardUndirectedGraphTest.java

        putEdge(N1, N1);
        assertThat(graph.outDegree(N1)).isEqualTo(2);
        putEdge(N2, N1);
        assertThat(graph.outDegree(N1)).isEqualTo(3);
      }
    
      // Stable order tests
    
      // Note: Stable order means that the ordering doesn't change between iterations and versions.
      // Ideally, the ordering in test should never be updated.
      @Test
      public void stableIncidentEdgeOrder_edges_returnsInStableOrder() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 12.9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/ListenableFuture.java

     */
    /*
     * Some of the annotations below were added after we released our separate
     * com.google.guava:listenablefuture:1.0 artifact. (For more on that artifact, see
     * https://github.com/google/guava/releases/tag/v27.0) This means that the copy of ListenableFuture
     * in com.google.guava:guava differs from the "frozen" copy in the listenablefuture artifact. This
     * could in principle cause problems for some users. Still, we expect that the benefits of the
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jun 26 21:13:41 GMT 2023
    - 8K bytes
    - Viewed (0)
Back to top