- Sort Score
- Num 10 results
- Language All
Results 1901 - 1910 of 2,371 for Try (0.01 seconds)
-
android/guava/src/com/google/common/collect/ContiguousSet.java
*/ public static <C extends Comparable> ContiguousSet<C> create( Range<C> range, DiscreteDomain<C> domain) { checkNotNull(range); checkNotNull(domain); Range<C> effectiveRange = range; try { if (!range.hasLowerBound()) { effectiveRange = effectiveRange.intersection(Range.atLeast(domain.minValue())); } if (!range.hasUpperBound()) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 9.9K bytes - Click Count (0) -
src/main/java/org/codelibs/core/xml/DomUtil.java
assertArgumentNotNull("contents", contents); if (encoding == null) { return new ByteArrayInputStream(contents.getBytes()); } try { return new ByteArrayInputStream(contents.getBytes(encoding)); } catch (final UnsupportedEncodingException ex) { throw new IORuntimeException(ex); } } /**
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 10.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/DocumentHelperTest.java
} @Test public void test_init() { DocumentHelper documentHelper = new DocumentHelper(); try { documentHelper.init(); } catch (Exception e) { fail("init() should not throw an exception: " + e.getMessage()); } } @Test public void test_getTitle() {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 13.2K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/cache/LocalLoadingCacheTest.java
CountDownLatch doneSignal = new CountDownLatch(1); Thread thread = new Thread() { @Override public void run() { try { cacheRef.get().getUnchecked(3); } finally { doneSignal.countDown(); } } }; thread.setUncaughtExceptionHandler((t, throwable) -> {});
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 13.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/cache/LocalLoadingCacheTest.java
CountDownLatch doneSignal = new CountDownLatch(1); Thread thread = new Thread() { @Override public void run() { try { cacheRef.get().getUnchecked(3); } finally { doneSignal.countDown(); } } }; thread.setUncaughtExceptionHandler((t, throwable) -> {});
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 13.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/hash/HashCodeTest.java
hash.writeBytesTo(bb, 0, bb.length); assertThat(bb).isEqualTo(expectedHashCode.bytes); assertEquals(expectedHashCode.asInt, hash.asInt()); if (expectedHashCode.asLong == null) { try { hash.asLong(); fail(); } catch (IllegalStateException expected) { } } else { assertEquals(expectedHashCode.asLong.longValue(), hash.asLong()); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 13.2K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseManagerTest.java
// Make the cache entry expired DirectoryCacheEntry entry = directoryLeaseManager.getCacheEntry(directoryPath); entry.setMaxAge(1); // 1ms to expire immediately try { Thread.sleep(10); } catch (InterruptedException e) { // Ignore } // When lease is lost, cache entry should be removedCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 01:47:47 GMT 2025 - 15.9K bytes - Click Count (0) -
docs/en/docs/tutorial/security/first-steps.md
You don't even have to check if the token exists to return an error. You can be sure that if your function is executed, it will have a `str` in that token. You can try it already in the interactive docs: <img src="/img/tutorial/security/image03.png"> We are not verifying the validity of the token yet, but that's a start already. ## Recap { #recap }
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Mar 07 09:29:03 GMT 2026 - 8.3K bytes - Click Count (0) -
src/main/java/org/codelibs/core/io/ClassTraversalUtil.java
final int startPos = prefix.length(); ZipEntry entry = null; while ((entry = ZipInputStreamUtil.getNextEntry(zipInputStream)) != null) { try { final String entryName = entry.getName().replace('\\', '/'); if (entryName.startsWith(prefix) && entryName.endsWith(CLASS_SUFFIX)) {Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 9.5K bytes - Click Count (0) -
build-tools-internal/src/main/groovy/org/elasticsearch/gradle/internal/test/AntFixture.groovy
// the process is started (has a pid) and is bound to a network interface // so now evaluates if the waitCondition is successful // TODO: change this to a loop? boolean success try { success = waitCondition(this, ant) } catch (Exception e) { String msg = "Wait condition caught exception for ${name}" logger.error(msg, e) fail(msg, e)Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 10.1K bytes - Click Count (0)