- Sort Score
- Num 10 results
- Language All
Results 551 - 560 of 1,883 for Batch (0.04 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/test/java/jcifs/util/transport/RequestTest.java
when(mockRequest.getCreditCost()).thenReturn(expectedCreditCost); int actualCreditCost = mockRequest.getCreditCost(); assertEquals(expectedCreditCost, actualCreditCost, "Credit cost should match the mocked value."); verify(mockRequest, times(1)).getCreditCost(); // Verify method was called once } @Test void testSetRequestCredits() { // Test case for setRequestCredits method
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 3.6K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/publicsuffix/BasePublicSuffixList.kt
var interrupted = false try { while (true) { try { readTheList() return } catch (_: InterruptedIOException) { Thread.interrupted() // Temporarily clear the interrupted state. interrupted = true } catch (e: IOException) { readFailure = e return } } } finally { if (interrupted) {Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Mon Jul 28 07:33:49 GMT 2025 - 3.6K bytes - Click Count (0) -
compat/maven-settings-builder/src/main/java/org/apache/maven/settings/io/DefaultSettingsReader.java
InputSource source = InputSource.of(input.toString()); return new Settings(new SettingsStaxReader().read(in, isStrict(options), source)); } catch (XMLStreamException e) { throw new SettingsParseException( e.getMessage(), e.getLocation().getLineNumber(), e.getLocation().getColumnNumber(),
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Mon Sep 29 14:45:25 GMT 2025 - 3.6K bytes - Click Count (0) -
okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/AndroidCertificateChainCleaner.kt
hostname: String, ): List<Certificate> { val certificates = (chain as List<X509Certificate>).toTypedArray() try { return x509TrustManagerExtensions.checkServerTrusted(certificates, "RSA", hostname) } catch (ce: CertificateException) { throw SSLPeerUnverifiedException(ce.message).apply { initCause(ce) } } } override fun equals(other: Any?): Boolean = other is AndroidCertificateChainCleaner &&
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 2.7K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java
try { testEqualsUsing(factory); return; } catch (ParameterNotInstantiableException e) { paramErrors.add(e); } catch (ParameterHasNoDistinctValueException e) { distinctValueErrors.add(e); } catch (InvocationTargetException e) { instantiationExceptions.add(e); } catch (FactoryMethodReturnsNullException e) { nullErrors.add(e); }Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 32.5K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/publicsuffix/PublicSuffixDatabase.kt
} else if (labelBytesLeft > publicSuffixBytesLeft) { low = mid + end + 1 } else { // Found a match. match = this.substring(mid, mid + publicSuffixLength).string(Charsets.UTF_8) break } } } return match } internal fun resetForTests() { instance = PublicSuffixDatabase(PublicSuffixList.Default) } }
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Mon Jul 28 07:33:49 GMT 2025 - 8.5K bytes - Click Count (0) -
buildSrc/src/main/kotlin/AlpnVersions.kt
if (version != null) { return version } val javaVersion = System.getProperty("java.version") val match = "1\\.8\\.0_(\\d+)(-.*)?".toRegex().find(javaVersion) ?: return null return alpnBootVersionForPatchVersion(match.groupValues.first().toInt())
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 1.8K bytes - Click Count (0) -
android/guava/src/com/google/common/hash/LongAddables.java
supplier = new Supplier<LongAddable>() { @Override public LongAddable get() { return new LongAdder(); } }; } catch (Throwable t) { // we really want to catch *everything* supplier = new Supplier<LongAddable>() { @Override public LongAddable get() { return new PureJavaLongAddable(); }Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Dec 21 03:10:51 GMT 2024 - 1.9K bytes - Click Count (0) -
src/test/java/jcifs/util/AuthenticationRateLimiterTest.java
// After 3 failures, account should be locked try { rateLimiter.checkAttempt(username, ip); fail("Should throw SmbException for locked account"); } catch (SmbException e) { assertTrue(e.getMessage().contains("locked out"), "Should indicate account lockout"); } } @Test public void testIpRateLimit() throws Exception {Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 15.8K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/ldap/LdapManager.java
isBind = true; } } catch (final LdapConfigurationException e) { logger.warn("LDAP configuration error: {}", e.getMessage(), e); } catch (final LdapOperationException e) { logger.warn("LDAP connection failed: {}", e.getMessage(), e); } catch (final Exception e) {Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 86.3K bytes - Click Count (0)