- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 150 for simulate (0.04 sec)
-
src/test/java/jcifs/http/NtlmHttpFilterTest.java
when(httpSession.getAttribute("NtlmHttpAuth")).thenReturn(null); when(httpSession.getAttribute("NtlmHttpChal")).thenReturn(null); // For this test, we'll simulate that no auth header means we should challenge // Since we can't mock the internal transport operations easily without real network, // we'll test the simpler case where no NTLM negotiation is needed
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 12.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTransportPoolImplTest.java
Field negotiatedField = SmbTransportImpl.class.getDeclaredField("negotiated"); negotiatedField.setAccessible(true); negotiatedField.set(first, negotiationResponse); // Simulate session already in use by adding a session Field sessionsField = SmbTransportImpl.class.getDeclaredField("sessions"); sessionsField.setAccessible(true); @SuppressWarnings("unchecked")Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 19.2K bytes - Viewed (0) -
docs/smb3-features/02-persistent-handles-design.md
file.createNewFile(); // Write some data try (OutputStream os = file.getOutputStream()) { os.write("test data".getBytes()); } // Simulate network disconnection file.getTree().getSession().getTransport().disconnect(); // Try to read - should trigger reconnection try (InputStream is = file.getInputStream()) {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 31.6K bytes - Viewed (0) -
impl/maven-core/src/test/java/org/apache/maven/project/DefaultMavenProjectBuilderTest.java
} /** * Parameterized version of testActivatedDefaultProfileBySource that demonstrates * cross-platform path behavior using JIMFS to simulate both Windows and Unix file systems. * This test shows how the path separator expectations differ between platforms. */ @ParameterizedTest(name = "testActivatedDefaultProfileBySource[{0}]")Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Nov 18 17:20:31 UTC 2025 - 33.7K bytes - Viewed (0) -
src/test/java/jcifs/netbios/LmhostsTest.java
// Test that #INCLUDE directive is handled (even if the include fails) String content = "#INCLUDE \\\\server\\share\\lmhosts\n" + "192.168.1.100 MAINHOST\n"; // Mock SmbFileInputStream to simulate include file try (MockedConstruction<SmbFileInputStream> mockedConstruction = Mockito.mockConstruction(SmbFileInputStream.class, (mock, context) -> {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.2K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/client/s3/S3ClientTest.java
} } } @Override protected ResponseData getResponseData(final String uri, final boolean includeContent) { // Simulate quick completion before timeout ResponseData responseData = new ResponseData(); responseData.setHttpStatusCode(200); return responseData; } };Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Dec 11 07:57:44 UTC 2025 - 20.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/converter/ReadingConverterTest.java
Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Sep 01 13:33:03 UTC 2025 - 13.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectResponseTest.java
// Given byte[] buffer = new byte[256]; SMBUtil.writeInt2(4, buffer, 0); SMBUtil.writeInt2(0, buffer, 2); // When - simulate multiple concurrent reads on same response object int read1 = response.readBytesWireFormat(buffer, 0); int read2 = response.readBytesWireFormat(buffer, 0);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.1K bytes - Viewed (0) -
cmd/data-scanner_test.go
} globalBucketMetadataSys.Set(bucket, meta) // Prepare lifecycle expiration workers es := newExpiryState(t.Context(), objAPI, 0) globalExpiryState = es // Prepare object versions obj := "obj-1" // Simulate objects uploaded 30 hours ago modTime := now.Add(-48 * time.Hour) uuids := make([]uuid.UUID, 5) for i := range uuids { uuids[i] = uuid.UUID([16]byte{15: uint8(i + 1)}) } fivs := make([]FileInfo, 5)
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 12K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/rdma/RdmaIntegrationTest.java
} } @Test public void testRdmaStatisticsTracking() throws Exception { RdmaStatistics stats = new RdmaStatistics(); // Simulate various RDMA operations stats.recordRdmaRead(1024, 1000000); // 1KB in 1ms stats.recordRdmaWrite(2048, 2000000); // 2KB in 2ms stats.recordRdmaSend(512, 500000); // 512B in 0.5msRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 13.8K bytes - Viewed (0)