Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 37 for trigger (0.64 sec)

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

     * function doing a good job of distributing the elements to the buckets to a distribution not far
     * from uniform), and amortized since some operations can trigger a hash table resize.
     *
     * <p>As compared with {@link java.util.LinkedHashMap}, this structure places significantly reduced
     * load on the garbage collector by only using a constant number of internal objects.
     *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 8.5K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/testers/CollectionRemoveAllTester.java

          iterator.next();
          fail("Expected ConcurrentModificationException");
        } catch (ConcurrentModificationException expected) {
          // success
        }
      }
    
      /** Trigger the {@code other.size() >= this.size()} case in {@link AbstractSet#removeAll}. */
      @CollectionFeature.Require(SUPPORTS_REMOVE)
      @CollectionSize.Require(absent = ZERO)
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/GeneralRange.java

        this.lowerEndpoint = lowerEndpoint;
        this.lowerBoundType = checkNotNull(lowerBoundType);
        this.upperEndpoint = upperEndpoint;
        this.upperBoundType = checkNotNull(upperBoundType);
    
        // Trigger any exception that the comparator would throw for the endpoints.
        /*
         * uncheckedCastNullableTToT is safe as long as the callers are careful to pass a "real" T
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 10.8K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionRemoveAllTester.java

          iterator.next();
          fail("Expected ConcurrentModificationException");
        } catch (ConcurrentModificationException expected) {
          // success
        }
      }
    
      /** Trigger the {@code other.size() >= this.size()} case in {@link AbstractSet#removeAll}. */
      @CollectionFeature.Require(SUPPORTS_REMOVE)
      @CollectionSize.Require(absent = ZERO)
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/GeneralRange.java

        this.lowerEndpoint = lowerEndpoint;
        this.lowerBoundType = checkNotNull(lowerBoundType);
        this.upperEndpoint = upperEndpoint;
        this.upperBoundType = checkNotNull(upperBoundType);
    
        // Trigger any exception that the comparator would throw for the endpoints.
        /*
         * uncheckedCastNullableTToT is safe as long as the callers are careful to pass a "real" T
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 10.8K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/MapTestSuiteBuilder.java

      }
    
      private static Set<Feature<?>> computeKeySetFeatures(Set<Feature<?>> mapFeatures) {
        Set<Feature<?>> keySetFeatures = computeCommonDerivedCollectionFeatures(mapFeatures);
    
        // TODO(lowasser): make this trigger only if the map is a submap
        // currently, the KeySetGenerator won't work properly for a subset of a keyset of a submap
        keySetFeatures.add(CollectionFeature.SUBSET_VIEW);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 12.1K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/MoreExecutors.java

       *       to do something different. In other cases, no code will catch the exception, and it may
       *       terminate whichever thread happens to trigger the execution.
       * </ul>
       *
       * A specific warning about locking: Code that executes user-supplied tasks, such as {@code
       * ListenableFuture} listeners, should take care not to do so while holding a lock. Additionally,
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 41.8K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/ImmutableSet.java

        return new SingletonImmutableSet<>(element);
      }
    
      /*
       * TODO: b/315526394 - Skip the Builder entirely for the of(...) methods, since we don't need to
       * worry that we might trigger the fallback to the JDK-backed implementation? (The varargs one
       * _could_, so we could keep it as it is. Or we could convince ourselves that hash flooding is
       * unlikely in practice there, too.)
       */
    
      /**
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 35.4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

       * Future}.
       *
       * <p>Note that, even if the supplied future is cancelled and it causes this future to complete,
       * it will never trigger interruption behavior. In particular, it will not cause this future to
       * invoke the {@link #interruptTask} method, and the {@link #wasInterrupted} method will not
       * return {@code true}.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

        setDelays();
      }
    
      /**
       * Extra checks that get done for all test cases.
       *
       * <p>Triggers test case failure if any thread assertions have failed, by rethrowing, in the test
       * harness thread, any exception recorded earlier by threadRecordFailure.
       *
       * <p>Triggers test case failure if interrupt status is set in the main thread.
       */
      @Override
      public void tearDown() throws Exception {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 37.7K bytes
    - Viewed (0)
Back to top