- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 255 for sekond (0.67 sec)
-
android/guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java
} } } /* Half of a 1-second timeout in nanoseconds */ private static final long HALF_SECOND_NANOS = NANOSECONDS.convert(1L, SECONDS) / 2; public void testShutdownAndAwaitTermination_immediateShutdown() throws Exception { ExecutorService service = Executors.newSingleThreadExecutor(); assertTrue(shutdownAndAwaitTermination(service, 1L, SECONDS)); assertTrue(service.isTerminated()); }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 28.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/ExecutionSequencerTest.java
TestCallable secondCallable = new TestCallable(SettableFuture.<Void>create()); Future<?> second = serializer.submitAsync(secondCallable, directExecutor()); assertThat(secondCallable.called).isFalse(); assertThat(second.toString()).contains(secondCallable.toString()); firstFuture.set(null); assertThat(second.toString()).contains(secondCallable.future.toString()); }
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Tue Feb 13 14:28:25 GMT 2024 - 16.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/ExecutionSequencerTest.java
TestCallable secondCallable = new TestCallable(SettableFuture.<Void>create()); Future<?> second = serializer.submitAsync(secondCallable, directExecutor()); assertThat(secondCallable.called).isFalse(); assertThat(second.toString()).contains(secondCallable.toString()); firstFuture.set(null); assertThat(second.toString()).contains(secondCallable.future.toString()); }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Feb 13 14:28:25 GMT 2024 - 16.8K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/testing/ArbitraryInstancesTest.java
@SuppressWarnings("unused") public static final WithPublicConstants SECOND = new WithPublicConstants(); } private static class FirstConstantIsNull { // To test that null constant is ignored @SuppressWarnings("unused") public static final @Nullable FirstConstantIsNull FIRST = null; public static final FirstConstantIsNull SECOND = new FirstConstantIsNull(); }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 21.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/CycleDetectingLockFactoryTest.java
lock2 = factory2.newReentrantLock(MyOrder.SECOND); lock3 = factory2.newReentrantLock(MyOrder.THIRD); CycleDetectingLockFactory.WithExplicitOrdering<OtherOrder> factory3 = newInstanceWithExplicitOrdering(OtherOrder.class, Policies.THROW); lock01 = factory3.newReentrantLock(OtherOrder.FIRST); lock02 = factory3.newReentrantLock(OtherOrder.SECOND); lock03 = factory3.newReentrantLock(OtherOrder.THIRD); }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 16.1K bytes - Viewed (1) -
guava/src/com/google/common/base/Joiner.java
@CanIgnoreReturnValue public final <A extends Appendable> A appendTo( A appendable, @CheckForNull Object first, @CheckForNull Object second, @Nullable Object... rest) throws IOException { return appendTo(appendable, iterable(first, second, rest)); } /** * Appends the string representation of each of {@code parts}, using the previously configured
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Fri Dec 15 19:31:54 GMT 2023 - 18.6K bytes - Viewed (0) -
android/guava/src/com/google/common/reflect/TypeVisitor.java
* protected void visitWildcardType(WildcardType t) { * throw new IllegalArgumentException("Cannot contain wildcard type."); * } * }.visit(type); * }</pre> * * <p>One {@code Type} is visited at most once. The second time the same type is visited, it's * ignored by {@link #visit}. This avoids infinite recursion caused by recursive type bounds. * * <p>This class is not thread safe. * * @author Ben Yu */
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Fri Apr 16 21:10:04 GMT 2021 - 3.7K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Predicates.java
* as a false predicate is found. */ public static <T extends @Nullable Object> Predicate<T> and( Predicate<? super T> first, Predicate<? super T> second) { return new AndPredicate<>(Predicates.<T>asList(checkNotNull(first), checkNotNull(second))); } /** * Returns a predicate that evaluates to {@code true} if any one of its components evaluates to
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Fri Feb 09 15:49:48 GMT 2024 - 23.1K bytes - Viewed (0) -
guava-testlib/src/com/google/common/util/concurrent/testing/MockFutureListener.java
* the License. */ package com.google.common.util.concurrent.testing; import static com.google.common.util.concurrent.MoreExecutors.directExecutor; import static java.util.concurrent.TimeUnit.SECONDS; import com.google.common.annotations.GwtIncompatible; import com.google.common.util.concurrent.ListenableFuture; import java.util.concurrent.CountDownLatch; import java.util.concurrent.ExecutionException;
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Fri May 12 18:12:42 GMT 2023 - 3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/EmptyImmutableSetMultimap.java
super(ImmutableMap.<Object, ImmutableSet<Object>>of(), 0, null); } /* * TODO(b/242884182): Figure out why this helps produce the same class file when we compile most * of common.collect a second time with the results of the first compilation on the classpath. Or * just back this out once we stop doing that (which we'll do after our internal GWT setup * changes). */ @Override
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Aug 18 16:48:17 GMT 2022 - 1.7K bytes - Viewed (0)