- Sort Score
- Num 10 results
- Language All
Results 301 - 310 of 793 for 100 (0.02 seconds)
-
guava-tests/test/com/google/common/collect/CompactHashMapTest.java
.createTestSuite()); suite.addTestSuite(CompactHashMapTest.class); return suite; } public void testTrimToSize() { CompactHashMap<Integer, String> map = CompactHashMap.createWithExpectedSize(100); for (int i = 0; i < 10; i++) { map.put(i, Integer.toString(i)); } map.trimToSize(); assertThat(map.entries).hasLength(10); assertThat(map.keys).hasLength(10);
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Jan 25 16:19:30 GMT 2025 - 5.4K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/Futures.java
* @param function A Function to transform the results of the provided future to the results of * the returned future. * @return A future that returns the result of the transformation. * @since 10.0 */ @J2ktIncompatible @GwtIncompatible // TODO public static <I extends @Nullable Object, O extends @Nullable Object> Future<O> lazyTransform( Future<I> input, Function<? super I, ? extends O> function) {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 64.3K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/util/concurrent/testing/MockFutureListener.java
import java.util.concurrent.ExecutionException; import junit.framework.Assert; /** * A simple mock implementation of {@code Runnable} that can be used for testing ListenableFutures. * * @author Nishant Thakkar * @since 10.0 */ @GwtIncompatible public class MockFutureListener implements Runnable { private final CountDownLatch countDownLatch; private final ListenableFuture<?> future;Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Fri May 12 18:12:42 GMT 2023 - 3K bytes - Click Count (0) -
android/guava/src/com/google/common/cache/ForwardingLoadingCache.java
delegate().refresh(key); } /** * A simplified version of {@link ForwardingLoadingCache} where subclasses can pass in an already * constructed {@link LoadingCache} as the delegate. * * @since 10.0 */ public abstract static class SimpleForwardingLoadingCache<K, V> extends ForwardingLoadingCache<K, V> { private final LoadingCache<K, V> delegate;
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Dec 21 03:10:51 GMT 2024 - 2.9K bytes - Click Count (0) -
tensorflow/c/c_test.c
const char* path; if (!TF_StringStreamNext(s, &path)) { fprintf(stderr, "TF_GetLocalTempDirectories returned no results\n"); return 1; } char file_name[100]; time_t t = time(NULL); snprintf(file_name, sizeof(file_name), "test-%d-%ld.txt", getpid(), t); size_t length = 2 + strlen(path) + strlen(file_name); char* full_path = malloc(length);
Created: Tue Dec 30 12:39:10 GMT 2025 - Last Modified: Wed Apr 24 20:50:35 GMT 2024 - 2.8K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Multisets.java
return result; } return new UnmodifiableMultiset<>(checkNotNull(multiset)); } /** * Simply returns its argument. * * @deprecated no need to use this * @since 10.0 */ @InlineMe( replacement = "checkNotNull(multiset)", staticImports = "com.google.common.base.Preconditions.checkNotNull") @DeprecatedCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 22 18:35:44 GMT 2025 - 41.3K bytes - Click Count (0) -
guava/src/com/google/common/collect/Multisets.java
return result; } return new UnmodifiableMultiset<>(checkNotNull(multiset)); } /** * Simply returns its argument. * * @deprecated no need to use this * @since 10.0 */ @InlineMe( replacement = "checkNotNull(multiset)", staticImports = "com.google.common.base.Preconditions.checkNotNull") @DeprecatedCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 22 18:35:44 GMT 2025 - 41.2K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/ImmutableListTest.java
assertEquals(asList(), list); } public void testSortedCopyOf_natural_singleton() { Collection<Integer> c = MinimalCollection.of(100); ImmutableList<Integer> list = ImmutableList.sortedCopyOf(c); assertEquals(asList(100), list); } public void testSortedCopyOf_natural_containsNull() { Collection<@Nullable Integer> c = MinimalCollection.of(1, 3, null, 2); assertThrows(
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 23.6K bytes - Click Count (0) -
internal/lock/lock_test.go
} locked <- struct{}{} if blerr = bl.Close(); blerr != nil { t.Error(blerr) return } }() select { case <-locked: t.Error("unexpected unblocking") case <-time.After(100 * time.Millisecond): } // unlock if err = dupl.Close(); err != nil { t.Fatal(err) } // the previously blocked routine should be unblocked select { case <-locked:
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Feb 18 16:25:55 GMT 2025 - 3.7K bytes - Click Count (0) -
docs/bucket/replication/setup_ilm_expiry_replication.sh
./mc ilm edit --id "${id}" --expire-days "100" sitea/bucket sleep 30s count1=$(./mc ilm rule list sitea/bucket --json | jq '.config.Rules[0].Expiration.Days') count2=$(./mc ilm rule list siteb/bucket --json | jq '.config.Rules[0].Expiration.Days') if [ $count1 -ne 100 ]; then echo "BUG: Expiration days not changed on 'sitea'" exit 1 fi if [ $count2 -ne 100 ]; thenCreated: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Sep 06 09:42:21 GMT 2024 - 12.8K bytes - Click Count (0)