Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for NOW (0.12 sec)

  1. android/guava/src/com/google/common/collect/Sets.java

       * using a {@code LinkedHashSet} instead, at the cost of increased memory footprint, to get
       * deterministic iteration behavior.
       *
       * <p><b>Note:</b> this method is now unnecessary and should be treated as deprecated. Instead,
       * use the {@code HashSet} constructor directly, taking advantage of <a
       * href="http://goo.gl/iz2Wi">"diamond" syntax</a>.
       */
    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)
  2. guava/src/com/google/common/cache/CacheBuilder.java

                  return EMPTY_STATS;
                }
              });
      static final CacheStats EMPTY_STATS = new CacheStats(0, 0, 0, 0, 0, 0);
    
      /*
       * We avoid using a method reference or lambda here for now:
       *
       * - method reference: Inside Google, CacheBuilder is used from the implementation of a custom
       *   ClassLoader that is sometimes used as a system classloader. That's a problem because
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 51.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/reflect/TypeToken.java

            new TypeResolver()
                .where(
                    ImmutableMap.of(
                        new TypeResolver.TypeVariableKey(typeParam.typeVariable), typeArg.runtimeType));
        // If there's any type error, we'd report now rather than later.
        return new SimpleTypeToken<>(resolver.resolveType(runtimeType));
      }
    
      /**
       * Returns a new {@code TypeToken} where type variables represented by {@code typeParam} are
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jun 26 21:02:13 GMT 2023
    - 53.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

        if (oldHead != Waiter.TOMBSTONE) {
          Waiter node = new Waiter();
          do {
            node.setNext(oldHead);
            if (ATOMIC_HELPER.casWaiters(this, oldHead, node)) {
              // we are on the stack, now wait for completion.
              while (true) {
                LockSupport.park(this);
                // Check interruption first, if we woke up due to interruption we need to honor that.
                if (Thread.interrupted()) {
    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/collect/MapsTest.java

        result = Maps.fromProperties(testProp);
        assertEquals("true", result.get("first"));
        assertEquals("null", result.get("second"));
        assertEquals(2, result.size());
    
        // Now test values loaded from a stream.
        String props = "test\n second = 2\n Third item :   a short  phrase   ";
    
        testProp.load(new StringReader(props));
    
        result = Maps.fromProperties(testProp);
    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)
  6. android/guava-tests/test/com/google/common/collect/MapsTest.java

        result = Maps.fromProperties(testProp);
        assertEquals("true", result.get("first"));
        assertEquals("null", result.get("second"));
        assertEquals(2, result.size());
    
        // Now test values loaded from a stream.
        String props = "test\n second = 2\n Third item :   a short  phrase   ";
    
        testProp.load(new StringReader(props));
    
        result = Maps.fromProperties(testProp);
    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)
  7. guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

        assertStillOpen(closeable4);
    
        // Resume step 4 and complete.
        step4Waiter.awaitReturned();
        assertThat(getFinalValue(step4)).isEqualTo("value 4");
    
        // Step 4's closeable is now closed.
        assertClosed(closeable4);
        // Step 3 still never ran, so its closeable should still be open.
        assertStillOpen(closeable3);
      }
    
      public void testTransform() throws Exception {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 75.3K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

        assertStillOpen(closeable4);
    
        // Resume step 4 and complete.
        step4Waiter.awaitReturned();
        assertThat(getFinalValue(step4)).isEqualTo("value 4");
    
        // Step 4's closeable is now closed.
        assertClosed(closeable4);
        // Step 3 still never ran, so its closeable should still be open.
        assertStillOpen(closeable3);
      }
    
      public void testTransform() throws Exception {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 74.7K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

           * garbage collectable as soon as they are no longer referenced by any reader thread that may
           * be in the midst of traversing table right now.
           */
    
          int newCount = count;
          AtomicReferenceArray<E> newTable = newEntryArray(oldCapacity << 1);
          threshold = newTable.length() * 3 / 4;
          int newMask = newTable.length() - 1;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 91.9K bytes
    - Viewed (0)
Back to top