- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 594 for ensures (0.11 sec)
-
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. *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Jun 17 14:40:53 UTC 2023 - 19.7K bytes - Viewed (0) -
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()) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Feb 01 21:46:34 UTC 2024 - 22.1K bytes - Viewed (0) -
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; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 20:24:49 UTC 2024 - 24.9K bytes - Viewed (0) -
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. *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Jun 17 14:40:53 UTC 2023 - 21K bytes - Viewed (0) -
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 {
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Mon Sep 23 14:32:33 UTC 2024 - 39.4K bytes - Viewed (0) -
common-protos/k8s.io/api/apps/v1/generated.proto
// --- // TODO: Update this to follow our convention for oneOf, whatever we decide it // to be. // +optional optional RollingUpdateDeployment rollingUpdate = 2; } // ReplicaSet ensures that a specified number of pod replicas are running at any given time. message ReplicaSet { // If the Labels of a ReplicaSet are empty, they are defaulted to // be the same as the Pod(s) that the ReplicaSet manages.
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Mon Mar 11 18:43:24 UTC 2024 - 34.5K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/BloomFilter.java
* instead. */ @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
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 23 16:45:30 UTC 2024 - 26.6K bytes - Viewed (0) -
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
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 22.6K bytes - Viewed (0) -
cmd/iam-object-store.go
iamLogIf(ctx, iamOS.loadUser(ctx, userName, stsUser, stsAccountsFromStore)) // No need to return errors for failed expiration of STS users } // Loading the STS policy mappings from disk ensures that stale entries // (removed during loadUser() in the loop above) are removed from memory. for _, item := range listedConfigItems[policyDBSTSUsersListKey] { stsName := strings.TrimSuffix(item, ".json")
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Oct 10 23:40:37 UTC 2024 - 26.6K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/Futures.java
ListenableFuture<? extends V>... futures) { ListenableFuture<List<@Nullable V>> nullable = new ListFuture<V>(ImmutableList.copyOf(futures), true); // allAsList ensures that it fills the output list with V instances. @SuppressWarnings("nullness") ListenableFuture<List<V>> nonNull = nullable; return nonNull; } /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 25 13:13:32 UTC 2024 - 64.4K bytes - Viewed (0)