Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 141 - 150 of 750 for ensures (0.05 seconds)

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

      int add(@ParametricNullness E element, int occurrences);
    
      /**
       * Adds a single occurrence of the specified element to this multiset.
       *
       * <p>This method refines {@link Collection#add}, which only <i>ensures</i> the presence of the
       * element, to further specify that a successful call must always increment the count of the
       * element, and the overall size of the collection, by one.
       *
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 19.5K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/util/concurrent/ExecutionSequencer.java

        // newFuture's lifetime is determined by taskFuture, which can't complete before oldFuture
        // unless taskFuture is cancelled, in which case it falls back to oldFuture. This ensures that
        // if the future we return is cancelled, we don't begin execution of the next task until after
        // oldFuture completes.
        Runnable listener =
            () -> {
              if (taskFuture.isDone()) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 23 01:35:55 GMT 2025
    - 22.1K bytes
    - Click Count (0)
  3. guava/src/com/google/common/collect/CompactHashSet.java

        }
        Set<E> delegate = delegateOrNull();
        return (delegate != null)
            ? delegate.toArray(a)
            : ObjectArrays.toArrayImpl(requireElements(), 0, size, a);
      }
    
      /**
       * Ensures that this {@code CompactHashSet} has the smallest representation in memory, given its
       * current size.
       */
      public void trimToSize() {
        if (needsAllocArrays()) {
          return;
        }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 24.7K bytes
    - Click Count (0)
  4. guava/src/com/google/common/collect/CompactHashMap.java

        }
        return new Itr<V>() {
          @Override
          @ParametricNullness
          V getOutput(int entry) {
            return value(entry);
          }
        };
      }
    
      /**
       * Ensures that this {@code CompactHashMap} has the smallest representation in memory, given its
       * current size.
       */
      public void trimToSize() {
        if (needsAllocArrays()) {
          return;
        }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 39.6K bytes
    - Click Count (0)
  5. cmd/object_api_suite_test.go

    }
    
    // Tests validate the order of result of ListBuckets.
    func testListBucketsOrder(obj ObjectLayer, instanceType string, t TestErrHandler) {
    	// if implementation contains a map, order of map keys will vary.
    	// this ensures they return in the same order each time.
    	// add one and test exists.
    	err := obj.MakeBucket(context.Background(), "bucket1", MakeBucketOptions{})
    	if err != nil {
    		t.Fatalf("%s: <ERROR> %s", instanceType, err)
    	}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 34.5K bytes
    - Click Count (0)
  6. guava/src/com/google/common/collect/Multiset.java

      int add(@ParametricNullness E element, int occurrences);
    
      /**
       * Adds a single occurrence of the specified element to this multiset.
       *
       * <p>This method refines {@link Collection#add}, which only <i>ensures</i> the presence of the
       * element, to further specify that a successful call must always increment the count of the
       * element, and the overall size of the collection, by one.
       *
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 20.9K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/hash/BloomFilter.java

      @Deprecated
      @Override
      public boolean apply(@ParametricNullness T input) {
        return mightContain(input);
      }
    
      /**
       * Puts an element into this {@code BloomFilter}. Ensures that subsequent invocations of {@link
       * #mightContain(Object)} with the same element will always return {@code true}.
       *
       * @return true if the Bloom filter's bits changed as a result of this operation. If the bits
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 23 19:23:59 GMT 2025
    - 26.9K bytes
    - Click Count (0)
  8. guava/src/com/google/common/collect/ImmutableBiMap.java

        throw new UnsupportedOperationException();
      }
    
      /**
       * Serialized type for all ImmutableBiMap instances. It captures the logical contents and they are
       * reconstructed using public factory methods. This ensures that the implementation types remain
       * as implementation details.
       *
       * <p>Since the bimap is immutable, ImmutableBiMap doesn't require special logic for keeping the
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 22.7K bytes
    - Click Count (0)
  9. docs/en/docs/virtual-environments.md

    <div class="termy">
    
    ```console
    $ python -m ensurepip --upgrade
    
    ---> 100%
    ```
    
    </div>
    
    This command will install pip if it is not already installed and also ensures that the installed version of pip is at least as recent as the one available in `ensurepip`.
    
    ///
    
    ## Add `.gitignore` { #add-gitignore }
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Dec 02 05:09:25 GMT 2025
    - 22.8K bytes
    - Click Count (0)
  10. src/archive/tar/writer_test.go

    		if err := w.WriteHeader(test.h); err != ErrFieldTooLong {
    			t.Errorf("%v: w.WriteHeader() = %v, want ErrFieldTooLong", test.name, err)
    		}
    	}
    }
    
    // testNonEmptyWriter wraps an io.Writer and ensures that
    // Write is never called with an empty buffer.
    type testNonEmptyWriter struct{ io.Writer }
    
    func (w testNonEmptyWriter) Write(b []byte) (int, error) {
    	if len(b) == 0 {
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Mon Dec 15 16:34:13 GMT 2025
    - 40.2K bytes
    - Click Count (0)
Back to Top