- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 620 for true (0.13 sec)
-
android/guava/src/com/google/common/util/concurrent/Uninterruptibles.java
@GwtIncompatible // concurrency public static void awaitUninterruptibly(CountDownLatch latch) { boolean interrupted = false; try { while (true) { try { latch.await(); return; } catch (InterruptedException e) { interrupted = true; } } } finally { if (interrupted) { Thread.currentThread().interrupt(); } } } /**
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Apr 04 09:45:04 GMT 2023 - 14.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/graph/GraphsTest.java
MutableGraph<Integer> directedGraph = GraphBuilder.directed().allowsSelfLoops(true).build(); directedGraph.putEdge(N1, N3); directedGraph.putEdge(N3, N1); directedGraph.putEdge(N1, N2); directedGraph.putEdge(N1, N1); directedGraph.putEdge(N3, N4); MutableGraph<Integer> expectedTranspose = GraphBuilder.directed().allowsSelfLoops(true).build(); expectedTranspose.putEdge(N3, N1);
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 24.8K bytes - Viewed (0) -
src/test/java/org/codelibs/core/lang/GenericsUtilTest.java
final Method m3 = ListType.class.getMethod("listOfWildcard"); final Type t3 = m3.getGenericReturnType(); assertThat(GenericsUtil.isTypeOf(t3, List.class), is(true)); assertThat(WildcardType.class.isInstance(GenericsUtil.getElementTypeOfList(t3)), is(true)); } /** * @throws Exception */ public void testSet() throws Exception {
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 11.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/general/AdminGeneralAction.java
form.loginRequired = fessConfig.isLoginRequired() ? Constants.TRUE : Constants.FALSE; form.resultCollapsed = fessConfig.isResultCollapsed() ? Constants.TRUE : Constants.FALSE; form.loginLink = fessConfig.isLoginLinkEnabled() ? Constants.TRUE : Constants.FALSE; form.thumbnail = fessConfig.isThumbnailEnabled() ? Constants.TRUE : Constants.FALSE;
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 12.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/net/HostAndPortTest.java
// Well-formed strings with bad default ports. checkFromStringCase("gmail.com:81", -1, "gmail.com", 81, true); checkFromStringCase("192.0.2.2:83", -1, "192.0.2.2", 83, true); checkFromStringCase("[2001::2]:85", -1, "2001::2", 85, true); checkFromStringCase("goo.gl:65535", 65536, "goo.gl", 65535, true); // No port, bad default. checkFromStringCase("google.com", -1, "google.com", -1, false);
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Mon Apr 17 11:19:47 GMT 2023 - 10K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableRangeSetTest.java
assertEquals(expectedSet.subSet(i, true, j, false), asSet.subSet(i, true, j, false)); assertEquals(expectedSet.subSet(i, false, j, true), asSet.subSet(i, false, j, true)); assertEquals(expectedSet.subSet(i, true, j, true), asSet.subSet(i, true, j, true)); } } } public void testSubRangeSet() {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Tue Feb 20 17:00:05 GMT 2024 - 21.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/MapsTransformValuesUnmodifiableIteratorTest.java
// TODO(jlevy): Move shared code of this class and MapsTransformValuesTest // to a superclass. public MapsTransformValuesUnmodifiableIteratorTest() { super(true, true, false /*supportsPut*/, true, true, false); } private static class UnmodifiableIteratorMap<K, V> extends ForwardingMap<K, V> { final Map<K, V> delegate; UnmodifiableIteratorMap(Map<K, V> delegate) {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 12.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java
private static void addTests(TestSuite suite, Method method) { if (isGuarded(method)) { for (boolean fair1 : new boolean[] {true, false}) { for (boolean fair2 : new boolean[] {true, false}) { suite.addTest(generateGuardWithWrongMonitorTestCase(method, fair1, fair2)); } } } if (isAnyEnter(method)) { addTests(
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Mon Apr 17 14:48:57 GMT 2023 - 27.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/PreconditionsTest.java
*/ @ElementTypesAreNonnullByDefault @SuppressWarnings("LenientFormatStringValidation") // Intentional for testing @GwtCompatible(emulated = true) public class PreconditionsTest extends TestCase { public void testCheckArgument_simple_success() { Preconditions.checkArgument(true); } public void testCheckArgument_simple_failure() { try { Preconditions.checkArgument(false); fail("no exception thrown");
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Fri Feb 09 15:49:48 GMT 2024 - 19.8K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/AbstractFuture.java
@Override boolean isCancelled() { return true; } @Override void maybeThrowOnGet(@Nullable Throwable cause) throws ExecutionException { // TODO(cpovirk): chain in a CancellationException created at the cancel() call? throw new CancellationException(); } }; boolean isDone() { return true; } boolean isCancelled() {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Jan 22 19:37:41 GMT 2024 - 12.3K bytes - Viewed (0)