- Sort Score
- Result 10 results
- Languages All
Results 451 - 460 of 1,343 for scratch (0.06 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/testers/MapGetOrDefaultTester.java
try { assertEquals( "getOrDefault(null, def) should return default or throw", v3(), getMap().getOrDefault(null, v3())); } catch (NullPointerException tolerated) { } } @MapFeature.Require(ALLOWS_NULL_KEYS) @CollectionSize.Require(absent = ZERO) public void testGetOrDefault_nonNullWhenNullContained() { initMapWithNullKey();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Oct 31 14:51:04 UTC 2024 - 4.5K bytes - Viewed (0) -
src/main/java/jcifs/smb/SIDCacheImpl.java
} try (LsaPolicyHandle policyHandle = new LsaPolicyHandle(handle, "\\\\" + server, 0x00000800)) { resolveSids(handle, policyHandle, sids); } } catch (final SmbException e) { if (e.getNtStatus() == NtStatus.NT_STATUS_INVALID_PARAMETER) { // Silently ignore invalid parameter errors - these may occur with certain server configurations
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Mon Aug 25 14:34:10 UTC 2025 - 13.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/IntMathTest.java
boolean isPowerOf2 = IntMath.isPowerOfTwo(x); try { assertEquals(x, 1 << IntMath.log2(x, UNNECESSARY)); assertTrue(isPowerOf2); } catch (ArithmeticException e) { assertFalse(isPowerOf2); } } } @GwtIncompatible // log10 public void testLog10ZeroAlwaysThrows() { for (RoundingMode mode : ALL_ROUNDING_MODES) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 24.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/sso/aad/AzureAdAuthenticator.java
if (StringUtils.isEmpty(nonce) || !nonce.equals(stateData.getNonce())) { throw new SsoLoginException("could not validate nonce"); } } catch (final SsoLoginException e) { throw e; } catch (final Exception e) { throw new SsoLoginException("could not validate nonce", e); } } /** * Obtains an access token using a refresh token.
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 28 09:13:08 UTC 2025 - 37.3K bytes - Viewed (0) -
okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/ConscryptSocketAdapter.kt
// Bump this version if we ever have a binary incompatibility Conscrypt.isAvailable() && atLeastVersion(2, 1, 0) -> true else -> false } } catch (e: NoClassDefFoundError) { false } catch (e: ClassNotFoundException) { false } fun atLeastVersion( major: Int, minor: Int = 0, patch: Int = 0, ): Boolean {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 3K bytes - Viewed (0) -
src/main/java/org/codelibs/core/sql/DriverManagerUtil.java
*/ public static void registerDriver(final Driver driver) { assertArgumentNotNull("driver", driver); try { DriverManager.registerDriver(driver); } catch (final SQLException e) { throw new SQLRuntimeException(e); } } /** * Deregisters a JDBC driver. * * @param driver
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 3.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/JobHelper.java
if (!Constants.T.equals(scheduledJob.getAvailable())) { logger.info("Inactive Job {}:{}", id, scheduledJob.getName()); try { unregister(scheduledJob); } catch (final Exception e) { if (logger.isDebugEnabled()) { logger.debug("Failed to delete Job {}", scheduledJob, e); } } return; }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 10.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/FessSystemExceptionTest.java
// Test throwing and catching the exception String expectedMessage = "Expected error"; try { throw new FessSystemException(expectedMessage); } catch (FessSystemException e) { assertEquals(expectedMessage, e.getMessage()); assertNull(e.getCause()); } } public void test_throwAndCatchWithCause() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 7.4K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Handshake.kt
) { /** Returns a possibly-empty list of certificates that identify the remote peer. */ @get:JvmName("peerCertificates") val peerCertificates: List<Certificate> by lazy { try { peerCertificatesFn() } catch (spue: SSLPeerUnverifiedException) { listOf() } } @JvmName("-deprecated_tlsVersion") @Deprecated( message = "moved to val", replaceWith = ReplaceWith(expression = "tlsVersion"),
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Apr 05 09:48:10 UTC 2025 - 6.6K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/FastFallbackExchangeFinder.kt
* its connection. */ private fun launchTcpConnect(): ConnectResult? { val plan = when { routePlanner.hasNext() -> { try { routePlanner.plan() } catch (e: Throwable) { FailedPlan(e) } } else -> return null // Nothing further to try. } // Already connected. Return it immediately.
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 5.8K bytes - Viewed (0)