- Sort Score
- Result 10 results
- Languages All
Results 1161 - 1170 of 1,444 for scratch (0.05 sec)
-
android/guava/src/com/google/common/collect/ForwardingSortedMap.java
SortedMap<@Nullable Object, V> self = (SortedMap<@Nullable Object, V>) this; Object ceilingKey = self.tailMap(key).firstKey(); return unsafeCompare(comparator(), ceilingKey, key) == 0; } catch (ClassCastException | NoSuchElementException | NullPointerException e) { return false; } } /** * A sensible default implementation of {@link #subMap(Object, Object)} in terms of {@link
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri May 12 15:26:39 UTC 2023 - 5.6K bytes - Viewed (0) -
guava-testlib/src/com/google/common/util/concurrent/testing/AbstractListenableFutureTest.java
// The task thread waits for the latch, so we expect a timeout here. try { future.get(20, MILLISECONDS); fail("Should have timed out trying to get the value."); } catch (TimeoutException expected) { } finally { latch.countDown(); } } /** * Tests that a canceled future throws a cancellation exception. *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Sep 06 18:30:30 UTC 2023 - 6K bytes - Viewed (0) -
src/test/java/jcifs/tests/NamingTest.java
break; default: Assume.assumeTrue("Unhandled OEM encoding " + oemEncoding, false); } } catch ( UnsupportedCharsetException e ) { Assume.assumeTrue("Charset is not supported on this VM " + oemEncoding, false); } runFilenameTest(splitString(str, 8)); }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sat Jun 06 10:48:05 UTC 2020 - 7K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/DefaultGraphConflictResolver.java
// System.err.println("Linked("+requestedScope+") // subgraph("+linkedRes.getVertices().size()+"):\n"+linkedRes.toString()); return findLinkedSubgraph(res); } catch (MetadataResolutionException e) { throw new GraphConflictResolutionException(e); } } // -------------------------------------------------------------------------------------
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 8.2K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/DefaultLifecycles.java
try { return registry != null ? registry.stream().collect(Collectors.toMap(lf -> lf.id(), lf -> new Lifecycle(registry, lf))) : Map.of(); } catch (LookupException e) { throw new IllegalStateException("Unable to lookup lifecycles from the plexus container", e); } } public String getLifecyclePhaseList() {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6.6K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/util/TextUtilTest.java
} try (final Reader reader = new StringReader(str)) { return normalizeText(reader, initialCapacity, maxAlphanumTermSize, maxSymbolTermSize, removeDuplication); } catch (final IOException e) { return StringUtil.EMPTY; } } public static String normalizeText(final Reader reader, final int initialCapacity, final int maxAlphanumTermSize,
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 8.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/reflect/TypeTokenTest.java
} catch (AssertionError expected) { return; } fail(); } public void testAssertSubtypeTokenBeforeSupertypeToken_duplicate() { try { assertSubtypeTokenBeforeSupertypeToken( ImmutableList.of(TypeToken.of(String.class), TypeToken.of(String.class))); } catch (AssertionError expected) { return; } fail();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 21:13:09 UTC 2024 - 89.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/CharsTest.java
} private void assertCastFails(long value) { try { Chars.checkedCast(value); fail("Cast to char should have failed: " + value); } catch (IllegalArgumentException ex) { assertWithMessage(value + " not found in exception text: " + ex.getMessage()) .that(ex.getMessage().contains(String.valueOf(value))) .isTrue(); } }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 02:56:12 UTC 2024 - 25.6K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/ImmutableLongArray.java
* * @since NEXT (but since 22.0 in the JRE flavor) */ @SuppressWarnings("Java7ApiChecker") // If users use this when they shouldn't, we hope that NewApi will catch subsequent stream calls @IgnoreJRERequirement public LongStream stream() { return Arrays.stream(array, start, end); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 25 18:05:56 UTC 2024 - 22.3K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/TimeLimiter.java
* * <pre> * TimeLimiter limiter = . . .; * TargetType proxy = limiter.newProxy( * target, TargetType.class, 50, TimeUnit.MILLISECONDS); * try { * return proxy.someMethod(); * } catch (UncheckedTimeoutException e) { * return DEFAULT_VALUE; * } * </pre> * * @param target the object to proxy * @param interfaceType the interface you wish the returned proxy to implement
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri May 12 18:32:03 UTC 2023 - 15.3K bytes - Viewed (0)