- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 145 for simulate (0.22 sec)
-
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.5ms
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 13.8K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/ndr/NdrBufferTest.java
assertEquals(4, ndrBuffer.getLength()); assertEquals(0, Encdec.dec_uint32le(buffer, 0)); // Should be 0 for null referent } @Test void testDecNdrStringInvalidConformance() { // Simulate a string with invalid size ndrBuffer.setIndex(0); Encdec.enc_uint32le(0xFFFF + 1, buffer, 0); // len = 0xFFFF + 1 Encdec.enc_uint32le(0, buffer, 4); Encdec.enc_uint32le(0xFFFF + 1, buffer, 8);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.3K bytes - Viewed (0) -
src/test/java/jcifs/smb/SIDCacheImplTest.java
SID s3 = sid("S-1-5-21-10-11-12-1003"); jcifs.SID[] arr = new jcifs.SID[] { s1, s2, s3 }; // First call should resolve two (offset=0,length=2) doAnswer(inv -> { // Simulate resolve call by setting names/types and thus enabling cache population Object[] args = inv.getArguments(); String server = (String) args[0]; CIFSContext c = (CIFSContext) args[1];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lock/Smb2LockRequestTest.java
assertEquals(1, SMBUtil.readInt2(buffer, 2)); } @Test @DisplayName("Should handle mixed lock operations") void testMixedLockOperations() { // Simulate a complex scenario with mixed lock operations Smb2Lock[] locks = new Smb2Lock[] { new Smb2Lock(0L, 512L, Smb2Lock.SMB2_LOCKFLAG_EXCLUSIVE_LOCK),
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 25.3K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerStatusTest.java
return null; } } /** * Test state transitions (typical workflow) */ public void test_stateTransitions() { // Simulate typical crawler lifecycle CrawlerStatus currentStatus = CrawlerStatus.INITIALIZING; assertEquals(CrawlerStatus.INITIALIZING, currentStatus); // Transition to RUNNING
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Wed Sep 03 14:42:53 UTC 2025 - 15.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/thumbnail/impl/CommandGeneratorTest.java
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sun Aug 31 08:19:00 UTC 2025 - 16.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/net/NetShareEnumTest.java
NetShareEnum testEnum = new NetShareEnum(realConfig) { @Override protected int writeParametersWireFormat(byte[] dst, int dstIndex) { // Simulate the encoding exception path return 0; } }; byte[] dst = new byte[256]; int result = testEnum.writeParametersWireFormat(dst, 0);
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/suggest/analysis/SuggestAnalyzerTest.java
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Mon Sep 01 13:33:03 UTC 2025 - 15.7K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbPipeHandleInternalTest.java
when(fh.acquire()).thenReturn(fh); when(fh.isValid()).thenReturn(true, false); // first true, then false handle.ensureOpen(); assertTrue(handle.isOpen()); // Simulate invalidation assertFalse(handle.isOpen(), "Becomes not open when underlying handle invalid"); // After close, report stale handle.close();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 16.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/entity/SearchRenderDataTest.java
assertTrue(populatedString.contains("queryTime=500")); assertTrue(populatedString.contains("requestedTime=1000000")); } public void test_complexScenario() { // Simulate a typical search result scenario // Page 2 of search results with 10 items per page searchRenderData.setPageSize(10); searchRenderData.setCurrentPageNumber(2);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 23.3K bytes - Viewed (0)