Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 330 for guarantees (0.07 sec)

  1. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Apr 04 09:45:04 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  2. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 07 17:50:39 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  3. common-protos/k8s.io/api/admissionregistration/v1beta1/generated.proto

      // Note:
      // * the number of additional invocations is not guaranteed to be exactly one.
      // * if additional invocations result in further modifications to the object, webhooks are not guaranteed to be invoked again.
      // * webhooks that use this option may be reordered to minimize the number of additional invocations.
      // * to validate an object after all mutations are guaranteed complete, use a validating admission webhook instead.
      //
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/PeekingIterator.java

       *     #hasNext()}
       */
      @ParametricNullness
      E peek();
    
      /**
       * {@inheritDoc}
       *
       * <p>The objects returned by consecutive calls to {@link #peek()} then {@link #next()} are
       * guaranteed to be equal to each other.
       */
      @CanIgnoreReturnValue
      @Override
      @ParametricNullness
      E next();
    
      /**
       * {@inheritDoc}
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jan 24 17:47:51 UTC 2022
    - 2.5K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/ImmutableList.java

        @Override
        @J2ktIncompatible // serialization
        @GwtIncompatible // serialization
        Object writeReplace() {
          return super.writeReplace();
        }
      }
    
      /**
       * Guaranteed to throw an exception and leave the list unmodified.
       *
       * @throws UnsupportedOperationException always
       * @deprecated Unsupported operation.
       */
      @CanIgnoreReturnValue
      @Deprecated
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Aug 16 19:14:45 UTC 2024
    - 30.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/base/Verify.java

       * place....)
       */
    
      /**
       * Ensures that {@code reference} is non-null, throwing a {@code VerifyException} with a default
       * message otherwise.
       *
       * @return {@code reference}, guaranteed to be non-null, for convenience
       * @throws VerifyException if {@code reference} is {@code null}
       * @see Preconditions#checkNotNull Preconditions.checkNotNull()
       */
      @CanIgnoreReturnValue
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon May 17 14:07:47 UTC 2021
    - 18.5K bytes
    - Viewed (0)
  7. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 16:22:21 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  8. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  9. guava/src/com/google/common/io/ByteArrayDataInput.java

    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    public interface ByteArrayDataInput extends DataInput {
      @Override
      void readFully(byte b[]);
    
      @Override
      void readFully(byte b[], int off, int len);
    
      // not guaranteed to skip n bytes so result should NOT be ignored
      // use ByteStreams.skipFully or one of the read methods instead
      @Override
      int skipBytes(int n);
    
      @CanIgnoreReturnValue // to skip a byte
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 28 20:13:02 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  10. src/bytes/buffer.go

    func (b *Buffer) tryGrowByReslice(n int) (int, bool) {
    	if l := len(b.buf); n <= cap(b.buf)-l {
    		b.buf = b.buf[:l+n]
    		return l, true
    	}
    	return 0, false
    }
    
    // grow grows the buffer to guarantee space for n more bytes.
    // It returns the index where bytes should be written.
    // If the buffer can't grow it will panic with ErrTooLarge.
    func (b *Buffer) grow(n int) int {
    	m := b.Len()
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Oct 29 16:47:05 UTC 2024
    - 15.7K bytes
    - Viewed (0)
Back to top