Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 238 for guarantees (0.04 sec)

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

      @Override
      @SuppressWarnings("unchecked")
      public E get(int index) {
        checkElementIndex(index, size);
        // requireNonNull is safe because we guarantee that the first `size` elements are non-null.
        return (E) requireNonNull(array[index]);
      }
    
      // TODO(lowasser): benchmark optimizations for equals() and see if they're worthwhile
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/TestStringSortedSetGenerator.java

      @Override
      protected abstract SortedSet<String> create(String[] elements);
    
      /** Sorts the elements by their natural ordering. */
      /*
       * While the current implementation returns `this`, that's not something we mean to guarantee.
       * Callers of TestContainerGenerator.order need to be prepared for implementations to return a new
       * collection.
       */
      @SuppressWarnings("CanIgnoreReturnValueSuggester")
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Feb 11 19:03:19 UTC 2025
    - 2K bytes
    - Viewed (0)
  3. guava/src/com/google/common/util/concurrent/AbstractScheduledService.java

     * Scheduler}. When this service is asked to stop via {@link #stopAsync} it will cancel the periodic
     * task (but not interrupt it) and wait for it to stop before running the {@link #shutDown} method.
     *
     * <p>Subclasses are guaranteed that the life cycle methods ({@link #runOneIteration}, {@link
     * #startUp} and {@link #shutDown}) will never run concurrently. Notably, if any execution of {@link
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 27.8K bytes
    - Viewed (0)
  4. guava/src/com/google/common/cache/RemovalListener.java

       * already been re-added.
       */
      // Technically should accept RemovalNotification<? extends K, ? extends V>, but because
      // RemovalNotification is guaranteed covariant, let's make users' lives simpler.
      void onRemoval(RemovalNotification<K, V> notification);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 2K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/google/TestEnumMultisetGenerator.java

        return new AnEnum[length];
      }
    
      /** Sorts the enums according to their natural ordering. */
      /*
       * While the current implementation returns `this`, that's not something we mean to guarantee.
       * Callers of TestContainerGenerator.order need to be prepared for implementations to return a new
       * collection.
       */
      @SuppressWarnings("CanIgnoreReturnValueSuggester")
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Feb 11 19:03:19 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/PushObserver.kt

     * connections should expect repetition of stream IDs.
     *
     * Return true to request cancellation of a pushed stream.  Note that this does not guarantee
     * future frames won't arrive on the stream ID.
     */
    interface PushObserver {
      /**
       * Describes the request that the server intends to push a response for.
       *
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/AbstractScheduledService.java

     * Scheduler}. When this service is asked to stop via {@link #stopAsync} it will cancel the periodic
     * task (but not interrupt it) and wait for it to stop before running the {@link #shutDown} method.
     *
     * <p>Subclasses are guaranteed that the life cycle methods ({@link #runOneIteration}, {@link
     * #startUp} and {@link #shutDown}) will never run concurrently. Notably, if any execution of {@link
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 27.7K bytes
    - Viewed (0)
  8. .github/workflows/scorecard.yml

    name: Scorecard supply-chain security
    on:
      # For Branch-Protection check. Only the default branch is supported. See
      # https://github.com/ossf/scorecard/blob/main/docs/checks.md#branch-protection
      branch_protection_rule:
      # To guarantee Maintained check is occasionally updated. See
      # https://github.com/ossf/scorecard/blob/main/docs/checks.md#maintained
      schedule:
        - cron: '45 9 * * 0'
      push:
        branches: [ "master" ]
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Sep 03 19:19:31 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/ForwardingBlockingDeque.java

     * default} methods. Instead, it inherits their default implementations. When those implementations
     * invoke methods, they invoke methods on the {@code ForwardingBlockingDeque}.
     *
     * <p>The {@code standard} methods are not guaranteed to be thread-safe, even when all of the
     * methods that they depend on are thread-safe.
     *
     * @author Emily Soldal
     * @since 21.0 (since 14.0 as {@link com.google.common.collect.ForwardingBlockingDeque})
     */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  10. guava/src/com/google/common/math/ToDoubleRounder.java

      /** Returns the sign of x: either -1, 0, or 1. */
      abstract int sign(X x);
    
      /** Returns d's value as an X, rounded with the specified mode. */
      abstract X toX(double d, RoundingMode mode);
    
      /** Returns a - b, guaranteed that both arguments are nonnegative. */
      abstract X minus(X a, X b);
    
      /** Rounds {@code x} to a {@code double}. */
      final double roundToDouble(X x, RoundingMode mode) {
        checkNotNull(x, "x");
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 5.8K bytes
    - Viewed (0)
Back to top