Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 147 for things (0.35 sec)

  1. android/guava/src/com/google/common/util/concurrent/Monitor.java

        @CheckForNull
        Guard next;
    
        protected Guard(Monitor monitor) {
          this.monitor = checkNotNull(monitor, "monitor");
          this.condition = monitor.lock.newCondition();
        }
    
        /**
         * Evaluates this guard's boolean condition. This method is always called with the associated
         * monitor already occupied. Implementations of this method must depend only on state protected
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 18:22:01 UTC 2023
    - 38.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ImmutableSet.java

      }
    
      // We use power-of-2 tables, and this is the highest int that's a power of 2
      static final int MAX_TABLE_SIZE = Ints.MAX_POWER_OF_TWO;
    
      // Represents how tightly we can pack things, as a maximum.
      private static final double DESIRED_LOAD_FACTOR = 0.7;
    
      // If the set has this many elements, it will "max out" the table size
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 22.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/TreeMultiset.java

          checkArgument(elemCount > 0);
          this.elem = elem;
          this.elemCount = elemCount;
          this.totalCount = elemCount;
          this.distinctElements = 1;
          this.height = 1;
          this.left = null;
          this.right = null;
        }
    
        /** Constructor for the header node. */
        AvlNode() {
          this.elem = null;
          this.elemCount = 1;
        }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 34.2K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

     *       conformance.
     *   <li>The test classes currently do not declare inclusion in any particular package to simplify
     *       things for people integrating them in TCK test suites.
     *   <li>As a convenience, the {@code main} of this class (JSR166TestCase) runs all JSR166 unit
     *       tests.
     * </ul>
     */
    abstract class JSR166TestCase extends TestCase {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 10 19:21:11 UTC 2024
    - 37.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Range.java

     *       prevent its use, because this would also rule out all ungenerified (pre-JDK1.5) data types.
     *       <b>This may change in the future.</b>
     * </ul>
     *
     * <h3>Other notes</h3>
     *
     * <ul>
     *   <li>All ranges are shallow-immutable.
     *   <li>Instances of this type are obtained using the static factory methods in this class.
     *   <li>Ranges are <i>convex</i>: whenever two values are contained, all values in between them
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/cache/CacheBuilderTest.java

        LocalCache<?, ?> map = CacheTesting.toLocalCache(cache);
    
        assertThat(map.segments).hasLength(4);
        // 1 is as low as it goes, not 0. it feels dirty to know this/test this.
        assertEquals(1, map.segments[0].table.length());
        assertEquals(1, map.segments[1].table.length());
        assertEquals(1, map.segments[2].table.length());
        assertEquals(1, map.segments[3].table.length());
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Oct 03 20:10:02 UTC 2023
    - 23.2K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java

        // The implementation of this test is pretty sensitive to the implementation :( but we want to
        // ensure that if weird things happen during construction then we get exceptions.
        final NoOpService service1 = new NoOpService();
        // This service will start service1 when addListener is called.  This simulates service1 being
        // started asynchronously.
        Service service2 =
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Oct 02 17:20:27 UTC 2023
    - 23.2K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/testing/NullPointerTester.java

       * Sets a default value that can be used for any parameter of type {@code type}. Returns this
       * object.
       */
      @CanIgnoreReturnValue
      public <T> NullPointerTester setDefault(Class<T> type, T value) {
        defaults.putInstance(type, checkNotNull(value));
        return this;
      }
    
      /**
       * Ignore {@code method} in the tests that follow. Returns this object.
       *
       * @since 13.0
       */
      @CanIgnoreReturnValue
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/AbstractScheduledService.java

       * {@linkplain Service.State#TERMINATED terminates} or {@linkplain Service.State#TERMINATED
       * fails}. Subclasses may override this method to supply a custom {@link ScheduledExecutorService}
       * instance. This method is guaranteed to only be called once.
       *
       * <p>By default this returns a new {@link ScheduledExecutorService} with a single thread pool
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Dec 13 19:45:20 UTC 2023
    - 25.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/ImmutableCollection.java

     *
     * <p>The remainder of this documentation applies to every public {@code Immutable-} type in this
     * package, whether it is a subtype of {@code ImmutableCollection} or not.
     *
     * <h4>Guarantees</h4>
     *
     * <p>Each makes the following guarantees:
     *
     * <ul>
     *   <li><b>Shallow immutability.</b> Elements can never be added, removed or replaced in this
     *       collection. This is a stronger guarantee than that of {@link
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 21.5K bytes
    - Viewed (0)
Back to top