- Sort Score
- Result 10 results
- Languages All
Results 1431 - 1440 of 2,394 for Batch (0.02 sec)
-
src/test/java/jcifs/smb1/util/Base64Test.java
void testEncode(byte[] input, String expected) { // Arrange & Act String actual = Base64.encode(input); // Assert assertEquals(expected, actual, "Base64.encode should match expected string"); } /** * Data provider for Base64 strings and expected decoded byte arrays. */ static Stream<Arguments> decodeProvider() {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionContainsTester.java
} public void testContains_wrongType() { try { assertFalse( "contains(wrongType) should return false or throw", collection.contains(WrongType.VALUE)); } catch (ClassCastException tolerated) { } }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 3.2K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/plugin/internal/AbstractMavenPluginParametersValidator.java
// for declaration like @Parameter( property = "config.property" ) // the value will contain ${config.property} try { return expressionEvaluator.evaluate(strValue) != null; } catch (ExpressionEvaluationException e) { // not important // will be reported during Mojo fields populate } // fallback - in case of error in expressionEvaluator return false;Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.1K bytes - Viewed (0) -
impl/maven-core/src/test/java/org/apache/maven/configuration/DefaultBeanConfiguratorTest.java
configurator = null; } private Xpp3Dom toConfig(String xml) { try { return new Xpp3Dom(XmlService.read(new StringReader("<configuration>" + xml + "</configuration>"))); } catch (XMLStreamException e) { throw new IllegalArgumentException(e); } } @Test void testMinimal() throws BeanConfigurationException { SomeBean bean = new SomeBean();Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Mar 25 09:45:07 UTC 2025 - 3.6K bytes - Viewed (0) -
tests/test_dependency_after_yield_streaming.py
def test_stream_session(): response = client.get("/stream-session") assert response.text == "foobarbaz" def test_broken_session_data(): with pytest.raises(ValueError, match="Session closed"): client.get("/broken-session-data") def test_broken_session_data_no_raise(): client = TestClient(app, raise_server_exceptions=False) response = client.get("/broken-session-data")
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 21:25:59 UTC 2025 - 3.2K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/util/ResponseDataUtil.java
tempFile.setWritable(true, true); try (final FileOutputStream fos = new FileOutputStream(tempFile)) { CopyUtil.copy(is, fos); } } catch (final Exception e) { FileUtil.deleteInBackground(tempFile); // clean up throw new CrawlingAccessException("Could not read a response body: " + responseData.getUrl(), e); } return tempFile;
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sat Nov 22 13:28:22 UTC 2025 - 2.3K bytes - Viewed (0) -
impl/maven-core/src/test/java/org/apache/maven/lifecycle/MojoExecutionXPathContainer.java
return context.getValue(expression) != null; } public Object getValue(String expression) { try { return context.getValue(expression); } catch (JXPathNotFoundException e) { return null; } } public boolean xPathExpressionEqualsValue(String expression, String value) { return context.getValue(expression) != null
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.1K bytes - Viewed (0) -
fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlFilterService.java
*/ @Override public List<Pattern> getIncludeUrlPatternList(final String sessionId) { try { return includeFilterCache.get(sessionId); } catch (final ExecutionException e) { throw new CrawlerSystemException(e); } } /** * Gets the list of exclude URL patterns for the specified session. *Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Nov 20 08:40:57 UTC 2025 - 9K bytes - Viewed (0) -
okhttp-logging-interceptor/src/test/java/okhttp3/logging/LoggingEventListenerTest.kt
.eventListenerFactory(loggingEventListenerFactory) .build() try { client.newCall(request().build()).execute() fail<Any>() } catch (expected: UnknownHostException) { } logRecorder .assertLogMatch(Regex("""callStart: Request\{method=GET, url=$url\}""")) .assertLogMatch(Regex("""proxySelectStart: $url"""))
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Jun 20 11:46:46 UTC 2025 - 10.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/RegularContiguousSet.java
if (object == null) { return false; } try { @SuppressWarnings("unchecked") // The worst case is usually CCE, which we catch. C c = (C) object; return range.contains(c); } catch (ClassCastException e) { return false; } } @Override public boolean containsAll(Collection<?> targets) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 8.3K bytes - Viewed (0)