- Sort Score
- Result 10 results
- Languages All
Results 161 - 170 of 303 for dupe (0.33 sec)
-
src/test/java/jcifs/smb/DirFileEntryAdapterIteratorTest.java
import jcifs.ResourceFilter; import jcifs.SmbResource; /** * Tests for {@link DirFileEntryAdapterIterator}. * * This test class verifies the basic functionality of DirFileEntryAdapterIterator. * Due to the iterator's constructor calling advance() immediately, which requires * the adapt() method to be functional, we test the behavior using simple mock * scenarios that don't require complex filter setups. */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 14.4K bytes - Viewed (0) -
src/test/java/jcifs/http/NtlmHttpURLConnectionTest.java
verify(initialOutputStream).flush(); verify(initialOutputStream).close(); } /** * Test that a RuntimeCIFSException is thrown when the handshake fails due to an underlying exception. * @throws IOException */ @Test void testHandshakeThrowsRuntimeExceptionOnFailure() throws Exception { // Arrange
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 12.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFileInputStreamTest.java
// Act: choose len so upper/lower 16-bit parts are exercised byte[] buf = new byte[0x30000]; try { in.readDirect(buf, 0, 0x12345); fail("Expected IOException due to short-circuit"); } catch (IOException expected) { // expected } // Assert captured request parameters
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 12.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lease/DirectoryLeasingIntegrationTest.java
for (int j = 0; j < 100; j++) { List<DirectoryCacheEntry.FileInfo> children = entry.getChildren(); // Just read, don't assert specific counts due to race conditions assertNotNull(children); } }); readThreads[i].start(); } // Wait for all threads
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 01:47:47 UTC 2025 - 14.2K bytes - Viewed (0) -
src/test/java/jcifs/util/SmbCircuitBreakerTest.java
startLatch.countDown(); assertTrue(completeLatch.await(5, TimeUnit.SECONDS), "All tasks should complete"); executor.shutdown(); // Some requests should be rejected due to backpressure assertTrue(rejectedCount.get() > 0, "Some requests should be rejected by backpressure"); assertTrue(successCount.get() > 0, "Some requests should succeed");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 23.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/DirFileEntryEnumIteratorBaseTest.java
assertTrue(it.hasNext()); assertEquals("first", it.next().getName()); // initial assertTrue(it.hasNext()); FileEntry next = it.next(); // Assert: "bad" was skipped due to filter exception, "good" returned assertNotNull(next); assertEquals("good", next.getName()); assertFalse(it.hasNext()); verify(tree, times(1)).release(); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.5K bytes - Viewed (0) -
cmd/admin-heal-ops.go
healFinishedStatus = "finished" ) const ( // a heal sequence with this many un-consumed heal result // items blocks until heal-status consumption resumes or is // aborted due to timeout. maxUnconsumedHealResultItems = 1000 // if no heal-results are consumed (via the heal-status API) // for this timeout duration, the heal sequence is aborted. healUnconsumedTimeout = 24 * time.Hour
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 25.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/TransPeekNamedPipeResponseTest.java
assertEquals(0, response.readSetupWireFormat(emptyBuffer, 0, 0)); assertEquals(0, response.readDataWireFormat(emptyBuffer, 0, 0)); // readParametersWireFormat would throw exception due to buffer underflow assertThrows(Exception.class, () -> { response.readParametersWireFormat(emptyBuffer, 0, 0); }); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/annotation/SecuredTest.java
} // Test annotation on constructor (should not compile, but test for completeness) static class ConstructorClass { // Note: @Secured cannot be applied to constructors due to @Target restrictions public ConstructorClass() { } } public void test_constructorCannotBeAnnotated() throws NoSuchMethodException {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 15.2K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Connection.kt
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 31.8K bytes - Viewed (0)