Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 249 for chaves (0.2 sec)

  1. guava-tests/test/com/google/common/graph/ImmutableValueGraphTest.java

        assertThat(emptyGraph.nodeOrder()).isEqualTo(ElementOrder.<String>natural());
      }
    
      /**
       * Tests that the ImmutableValueGraph.Builder doesn't change when the creating ValueGraphBuilder
       * changes.
       */
      @Test
      @SuppressWarnings("CheckReturnValue")
      public void immutableValueGraphBuilder_copiesGraphBuilder() {
        ValueGraphBuilder<String, Object> graphBuilder =
            ValueGraphBuilder.directed()
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Jan 09 20:24:43 GMT 2020
    - 6.4K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/IteratorTester.java

     *
     * <p>The value you pass to the parameter {@code steps} should be greater than the length of your
     * iterator, so that this class can check that your iterator behaves correctly when it is exhausted.
     *
     * <p>For example, to test {@link java.util.Collections#unmodifiableList(java.util.List)
     * Collections.unmodifiableList}'s iterator:
     *
     * <pre>{@code
     * List<String> expectedElements =
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 4.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java

          queue[size] = null;
          return null;
        }
        E toTrickle = elementData(size);
        queue[size] = null;
        MoveDesc<E> changes = fillHole(index, toTrickle);
        if (lastElementAt < index) {
          // Last element is moved to before index, swapped with trickled element.
          if (changes == null) {
            // The trickled element is still after index.
            return new MoveDesc<>(actualLastElement, toTrickle);
          } else {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 34K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/cache/AbstractCacheTest.java

    import java.util.concurrent.atomic.AtomicReference;
    import junit.framework.TestCase;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Unit test for {@link AbstractCache}.
     *
     * @author Charles Fry
     */
    public class AbstractCacheTest extends TestCase {
    
      public void testGetIfPresent() {
        final AtomicReference<Object> valueRef = new AtomicReference<>();
        Cache<Object, Object> cache =
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 6.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/tests/WatchTest.java

    import jcifs.SmbWatchHandle;
    import jcifs.smb.SmbFile;
    
    
    /**
     * 
     * 
     * Compatability notes:
     * - windows 2k12 will not trigger with FILE_NOTIFY_CHANGE_ATTRIBUTES if the file contents are modified (modtime
     * changes)
     * 
     * @author mbechler
     *
     */
    @RunWith ( Parameterized.class )
    @SuppressWarnings ( "javadoc" )
    public class WatchTest extends BaseCIFSTest {
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 8.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ForwardingSortedMultiset.java

       * #descendingMultiset()} will not reflect any changes you make to the behavior of methods such as
       * {@link #add(Object)} or {@link #pollFirstEntry}. This skeleton implementation correctly
       * delegates each of its operations to the appropriate methods of this {@code
       * ForwardingSortedMultiset}.
       *
       * <p>In many cases, you may wish to override {@link #descendingMultiset()} to return an instance
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri May 12 15:26:39 GMT 2023
    - 8.7K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

        assertEvents(
            "R0.00, R1.38, R1.13, R0.88, R0.63, R0.50, R0.50, R0.50", // #1
            "U4.50", // #2
            "R0.00, R1.38, R1.13", // #3, after that the rate changes
            "R0.88", // #4, this is what the throttling would be with the old rate
            "R0.34, R0.28, R0.25, R0.25", // #5
            "U4.25", // #6
            "R0.00, R0.72, R0.66, R0.59, R0.53, R0.47, R0.41", // #7
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 21.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Sets.java

       * the two sets. If you have reason to believe one of your sets will generally be smaller than the
       * other, pass it first. Unfortunately, since this method sets the generic type of the returned
       * set based on the type of the first set passed, this could in rare cases force you to make a
       * cast, for example:
       *
       * <pre>{@code
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 77.4K bytes
    - Viewed (0)
  9. guava/src/com/google/common/cache/CacheLoader.java

     * more simply:
     *
     * <pre>{@code
     * CacheLoader<Key, Graph> loader = CacheLoader.from(key -> createExpensiveGraph(key));
     * }</pre>
     *
     * @author Charles Fry
     * @since 10.0
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    public abstract class CacheLoader<K, V> {
      /** Constructor for use by subclasses. */
      protected CacheLoader() {}
    
      /**
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Dec 19 20:20:14 GMT 2022
    - 9.5K bytes
    - Viewed (0)
  10. guava/src/com/google/common/cache/CacheStats.java

     * LoadingCache#get(Object)}, {@link LoadingCache#getUnchecked(Object)}, {@link Cache#get(Object,
     * Callable)}, or {@link LoadingCache#getAll(Iterable)}.
     *
     * @author Charles Fry
     * @since 10.0
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public final class CacheStats {
      private final long hitCount;
      private final long missCount;
      private final long loadSuccessCount;
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Sun Aug 07 02:38:22 GMT 2022
    - 12.6K bytes
    - Viewed (0)
Back to top