- Sort Score
- Result 10 results
- Languages All
Results 561 - 570 of 1,343 for scratch (0.73 sec)
-
android/guava-tests/test/com/google/common/eventbus/EventBusTest.java
assertEquals( "Shouldn't catch any more events when unregistered.", expectedEvents, catcher1.getEvents()); assertEquals("Two correct events should be delivered.", expectedEvents, catcher2.getEvents()); assertThrows(IllegalArgumentException.class, () -> bus.unregister(catcher1)); bus.unregister(catcher2); bus.post(EVENT); assertEquals(
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 17:42:14 UTC 2025 - 11.3K bytes - Viewed (0) -
src/main/java/jcifs/smb/SpnegoContext.java
private static ASN1ObjectIdentifier SPNEGO_MECH_OID; static { try { SPNEGO_MECH_OID = new ASN1ObjectIdentifier("1.3.6.1.5.5.2"); } catch (final IllegalArgumentException e) { log.error("Failed to initialize OID", e); } } private final SSPContext mechContext; private boolean firstResponse = true;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 14.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/validation/UriTypeTest.java
assertNotNull("payload() method should exist", payloadMethod); assertEquals("payload() return type should be Class[]", Class[].class, payloadMethod.getReturnType()); } catch (final NoSuchMethodException e) { fail("Required annotation method not found: " + e.getMessage()); } } // Test creating custom implementation of annotation
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 21K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/JvmUtilTest.java
fail("Should throw NumberFormatException"); } catch (NumberFormatException e) { // Expected } // Test with invalid format System.setProperty("java.version", "invalid"); try { JvmUtil.getJavaVersion(); fail("Should throw NumberFormatException"); } catch (NumberFormatException e) { // Expected }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 10.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/job/SuggestJob.java
throw new JobProcessingException(out.toString()); } ComponentUtil.getPopularWordHelper().clearCache(); } catch (final JobProcessingException e) { throw e; } catch (final Exception e) { throw new JobProcessingException("SuggestCreator Process terminated.", e); } finally { try {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 10.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/dataconfig/AdminDataconfigAction.java
getDataConfig(form).ifPresent(entity -> { try { dataConfigService.store(entity); saveInfo(messages -> messages.addSuccessCrudCreateCrudTable(GLOBAL)); } catch (final Exception e) { logger.warn("Failed to process a request.", e); throwValidationError(messages -> messages.addErrorsCrudFailedToCreateCrudTable(GLOBAL, buildThrowableMessage(e)),
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 19.9K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/Uninterruptibles.java
private Uninterruptibles() {} @CanIgnoreReturnValue public static <V extends @Nullable Object> V getUninterruptibly(Future<V> future) throws ExecutionException { try { return future.get(); } catch (InterruptedException e) { // Should never be thrown in GWT but play it safe throw new IllegalStateException(e); } }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 1.3K bytes - Viewed (0) -
.gitattributes
# of git and editors capable of LF line endings. # # Windows .bat files are known to have multiple bugs when run with LF # endings, and so they are checked in with CRLF endings, with a test # in test/winbatch.go to catch problems. (See golang.org/issue/37791.) # # We'll prevent accidental CRLF line endings from entering the repo # via the git-codereview gofmt checks and tests. # # See golang.org/issue/9281.
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Mon Jun 08 15:31:43 UTC 2020 - 639 bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/RangeTest.java
fail(); } catch (IllegalStateException expected) { } try { range.lowerBoundType(); fail(); } catch (IllegalStateException expected) { } } private static void assertUnboundedAbove(Range<Integer> range) { assertFalse(range.hasUpperBound()); try { range.upperEndpoint(); fail(); } catch (IllegalStateException expected) { }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 24.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/BigIntegerMathTest.java
boolean isPowerOf2 = BigIntegerMath.isPowerOfTwo(x); try { assertEquals(x, ZERO.setBit(BigIntegerMath.log2(x, UNNECESSARY))); assertTrue(isPowerOf2); } catch (ArithmeticException e) { assertFalse(isPowerOf2); } } } public void testLog2HalfUp() { for (BigInteger x : POSITIVE_BIGINTEGER_CANDIDATES) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 27K bytes - Viewed (0)