- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 701 for true (0.16 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 Apr 26 12:43:10 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 Apr 26 20:58:09 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 11.5K bytes - Viewed (0) -
src/test/java/jcifs/tests/DfsTest.java
Assume.assumeFalse("Is standalone DFS", isStandalone()); DfsReferralData ref = doResolve(null, "", true); DfsReferralData ref2 = doResolve(null, "", true, true); DfsReferralData ref3 = doResolve(null, "foo", true, true); assertNotNull(ref); assertNotNull(ref2); assertNotNull(ref3); assertEquals(ref, ref2);
Java - Registered: Sun Apr 28 00:10:09 GMT 2024 - Last Modified: Sun Mar 01 09:46:04 GMT 2020 - 13.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 Apr 22 08:04:10 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 12.7K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/JavadocConverter.java
//we're making an assumption that all <pre> elements contain java code //this should mostly be true :) //if it isn't true then the syntax highlighting won't spoil the view too much anyway newElement.setAttribute("language", "java"); nodes.push(newElement); return true; } @Override public void onText(String text) {
Java - Registered: Wed Apr 17 11:36:08 GMT 2024 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 29.3K 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 Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 12.2K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/collect/ConcurrentHashMultisetBenchmark.java
* @return {@code true} if the removal was possible (including if {@code occurrences} is zero) */ public boolean removeExactly(@Nullable Object element, int occurrences) { if (occurrences == 0) { return true; } checkArgument(occurrences > 0, "Invalid occurrences: %s", occurrences); while (true) { int current = count(element);
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed May 09 15:17:25 GMT 2018 - 16.6K bytes - Viewed (0)