- Sort Score
- Num 10 results
- Language All
Results 1011 - 1020 of 1,908 for batch (0.03 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/test/java/jcifs/internal/smb1/com/SmbComSeekResponseTest.java
int readLen = response.readParameterWordsWireFormat(bytes, 0); long expectedOffset = expectedInt; // Sign extension happens here for negative values assertEquals(expectedOffset, response.getOffset(), "Offset should match decoded value"); assertEquals(4, readLen, "Byte count returned should be 4"); } @Test @DisplayName("readParameterWordsWireFormat with a too-short buffer - throws exception")
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8.1K bytes - Click Count (0) -
src/test/java/jcifs/RuntimeCIFSExceptionTest.java
// The class should be serializable as it extends RuntimeException assertTrue(exception instanceof java.io.Serializable); } @Test @DisplayName("Should behave correctly in catch blocks") void testCatchBlockBehavior() { // Test that RuntimeCIFSException can be caught as RuntimeException assertThrows(RuntimeException.class, () -> {Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.2K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapEntrySetTester.java
assertFalse(getMap().entrySet().contains(mapEntry(IncomparableType.INSTANCE, v0()))); } catch (ClassCastException acceptable) { // allowed by the spec } } public void testContainsEntryWithIncomparableValue() { try { assertFalse(getMap().entrySet().contains(mapEntry(k0(), IncomparableType.INSTANCE))); } catch (ClassCastException acceptable) { // allowed by the spec } }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Dec 16 03:23:31 GMT 2025 - 7.5K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/testers/MapEntrySetTester.java
assertFalse(getMap().entrySet().contains(mapEntry(IncomparableType.INSTANCE, v0()))); } catch (ClassCastException acceptable) { // allowed by the spec } } public void testContainsEntryWithIncomparableValue() { try { assertFalse(getMap().entrySet().contains(mapEntry(k0(), IncomparableType.INSTANCE))); } catch (ClassCastException acceptable) { // allowed by the spec } }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Dec 16 03:23:31 GMT 2025 - 7.5K bytes - Click Count (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/FindMissingDocumentationFiles.java
} else { System.out.println("All documentation files and anchors from the JSON files were found in the directory."); } } catch (IOException e) { System.err.println("An error occurred during verification: " + e.getMessage()); throw new RuntimeException("Error during file verification", e); } }Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Thu Aug 21 15:38:58 GMT 2025 - 8.5K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/RequestTest.kt
.build() assertThat(put.method).isEqualTo("PUT") assertThat(put.body).isEqualTo(body) val patch = Request .Builder() .url("http://localhost/api") .patch(body) .build() assertThat(patch.method).isEqualTo("PATCH") assertThat(patch.body).isEqualTo(body) val query = Request .Builder() .url("http://localhost/api")
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Fri Oct 24 11:36:14 GMT 2025 - 24.4K bytes - Click Count (0) -
guava-testlib/test/com/google/common/testing/anotherpackage/ForwardingWrapperTesterTest.java
Class<T> interfaceType, Function<T, ? extends T> wrapperFunction, String... expectedMessages) { try { tester.testForwarding(interfaceType, wrapperFunction); } catch (AssertionFailedError expected) { for (String message : expectedMessages) { assertThat(expected).hasMessageThat().contains(message); } return; }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Jul 14 14:44:08 GMT 2025 - 15.7K bytes - Click Count (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/XmlExtractor.java
* @return The encoding pattern. */ @Override protected Pattern getEncodingPattern() { return xmlEncodingPattern; } /** * Returns the precompiled {@link Pattern} used to match XML tags within the content. * This pattern is utilized by the extractor to identify and process XML elements. * * @return the {@link Pattern} instance for XML tag matching */ @OverrideCreated: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Sun Jul 06 02:13:03 GMT 2025 - 2.6K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/suggest/normalizer/ICUNormalizer.java
throw new IllegalArgumentException("transliteratorId must not be null"); } try { this.transliterator = Transliterator.getInstance(transliteratorId); } catch (final IllegalArgumentException e) { throw new IllegalArgumentException("Invalid transliterator ID: " + transliteratorId, e); } } @Override
Created: Sat Dec 20 13:04:59 GMT 2025 - Last Modified: Mon Nov 17 14:23:01 GMT 2025 - 2.3K bytes - Click Count (0) -
samples/guide/src/main/java/okhttp3/recipes/CancelCall.java
try (Response response = call.execute()) { System.out.printf("%.2f Call was expected to fail, but completed: %s%n", (System.nanoTime() - startNanos) / 1e9f, response); } catch (IOException e) { System.out.printf("%.2f Call failed as expected: %s%n", (System.nanoTime() - startNanos) / 1e9f, e); } } public static void main(String... args) throws Exception {
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Sat Jan 12 03:31:36 GMT 2019 - 2.1K bytes - Click Count (0)