- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 310 for ResNet (0.04 sec)
-
fess-crawler/src/test/java/org/codelibs/fess/crawler/util/TemporaryFileInputStreamTest.java
assertEquals('D', stream.read()); // Reset will throw IOException because mark is not supported try { stream.reset(); fail("reset() should throw IOException when mark is not supported"); } catch (IOException e) { // Expected - FileInputStream does not support mark/reset } } }
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sat Nov 22 13:28:22 UTC 2025 - 7.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/SmbComTransactionTest.java
} @Test @DisplayName("Test reset functionality") void testReset() { // Reset should not throw exception assertDoesNotThrow(() -> transaction.reset()); // Transaction should be ready for reuse assertTrue(transaction.hasMoreElements()); } @Test @DisplayName("Test reset with key and lastName") void testResetWithKeyAndLastName() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.7K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/util/TemporaryFileInputStream.java
* This method delegates to {@link FileInputStream#reset()}. * * @throws IOException if an I/O error occurs. */ @Override public synchronized void reset() throws IOException { fileInputStream.reset(); } /** * Skips over and discards {@code n} bytes of data from this input stream.Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sat Nov 22 13:28:22 UTC 2025 - 4.1K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/util/IgnoreCloseInputStream.java
public synchronized void mark(final int readlimit) { inputStream.mark(readlimit); } /** * Tests if this input stream supports the mark and reset methods. * * @return true if this stream instance supports the mark and reset methods; false otherwise */ @Override public boolean markSupported() { return inputStream.markSupported(); } /**
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sat Nov 22 13:28:22 UTC 2025 - 4.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/dict/stopwords/AdminDictStopwordsAction.java
searchPaging(data, form); }); } /** * Reset search criteria and return to default view. * * @param form the search form to reset * @return HTML response for the reset page */ @Execute @Secured({ ROLE, ROLE + VIEW }) public HtmlResponse reset(final SearchForm form) { validate(form, messages -> {}, this::asDictIndexHtml);
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 20.3K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/InputStreamUtil.java
/** * Resets the {@link InputStream}. * * @param is the input stream (must not be {@literal null}) * @see InputStream#reset() */ public static void reset(final InputStream is) { assertArgumentNotNull("is", is); try { is.reset(); } catch (final IOException e) { throw new IORuntimeException(e); } }Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 3K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/FileBackedOutputStreamTest.java
} } out.close(); // Check that source returns the right data assertThat(source.read()).isEqualTo(data); // Make sure that reset deleted the file out.reset(); if (file != null) { assertFalse(file.exists()); } } public void testThreshold_resetOnFinalize() throws Exception { testThreshold(0, 100, true, true);Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Oct 30 16:30:29 UTC 2025 - 6.7K bytes - Viewed (0) -
src/test/java/jcifs/smb/PreauthIntegrityTest.java
} /** * Test that pre-auth hash is reset on error */ @Test @DisplayName("Pre-auth integrity hash should reset on error") void testPreauthHashResetOnError() throws Exception { // Setup invalid SMB2 state to trigger error setPrivateField(transport, "smb2", false); // Try to update preauth hash - should fail and resetRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 10.5K bytes - Viewed (0) -
src/test/java/jcifs/smb1/util/HMACT64Test.java
} @Test void testResetAndReuse() { // Test that HMACT64 can be reset and reused HMACT64 hmac = new HMACT64(TEST_KEY); // First use hmac.engineUpdate(TEST_DATA, 0, TEST_DATA.length); byte[] result1 = hmac.engineDigest(); // Reset and reuse with same data hmac.engineReset(); hmac.engineUpdate(TEST_DATA, 0, TEST_DATA.length);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.1K bytes - Viewed (0) -
tests/test_dependency_contextvars.py
async def set_up_request_state_dependency(): request_state = {"user": "deadpond"} contextvar_token = legacy_request_state_context_var.set(request_state) yield request_state legacy_request_state_context_var.reset(contextvar_token) @app.middleware("http") async def custom_middleware( request: Request, call_next: Callable[[Request], Awaitable[Response]] ): response = await call_next(request)
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 21:25:59 UTC 2025 - 1.5K bytes - Viewed (0)