- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 150 for simulate (0.04 sec)
-
cmd/admin-handlers_test.go
// single node setup, this degenerates to a simple function // call under the hood. globalMinioAddr = "127.0.0.1:9000" var wg sync.WaitGroup // Setting up a go routine to simulate ServerRouter's // handleServiceSignals for stop and restart commands. if cmd == restartCmd { wg.Add(1) go func() { defer wg.Done() testServiceSignalReceiver(cmd, t) }() }
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 13.9K bytes - Viewed (1) -
src/test/java/jcifs/smb/CriticalPerformanceTest.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 15.3K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbUnsupportedOperationExceptionTest.java
void noInteraction_whenExceptionOccursBeforeCall() { // Arrange Runnable r = mock(Runnable.class); // Act: simulate control flow where the exception happens before any collaborator is used try { throw new SmbUnsupportedOperationException(); } catch (SmbUnsupportedOperationException ignored) {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lease/DirectoryLeasingIntegrationTest.java
// Step 4: Initially no cached listing assertNull(directoryLeaseManager.getCachedDirectoryListing(directoryPath)); // Step 5: Simulate directory enumeration and update cache List<SmbFile> files = Arrays.asList(mockFile1, mockFile2); directoryLeaseManager.updateDirectoryCache(directoryPath, files);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 01:47:47 UTC 2025 - 14.2K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/AndXServerMessageBlockTest.java
int writeParameterWordsWireFormat(byte[] dst, int dstIndex) { paramWordsWritten = 10; // simulate write of 10 bytes of parameter words return paramWordsWritten; } @Override int writeBytesWireFormat(byte[] dst, int dstIndex) { bytesWritten = 20; // simulate 20 bytes of data return bytesWritten; } @Override
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.5K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/lsarpcTest.java
public int dec_ndr_long() { // Simulate decoding a long offset += 4; return 0; // Return a dummy value } @Override public void enc_ndr_short(int v) { // Simulate encoding a short offset += 2; } @Override public int dec_ndr_short() { // Simulate decoding a short offset += 2;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 60.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/multichannel/ChannelFailoverTest.java
} @Test void testMultipleFailuresExceedRetryLimit() { IOException error = new IOException("Connection failed"); // Simulate multiple failures for (int i = 0; i < 5; i++) { failover.handleFailure(failedChannel, error); } // Should eventually remove the channelRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 7.7K bytes - Viewed (0) -
docs/en/docs/css/custom.css
} /* Right to left languages */ code { direction: ltr; display: inline-block; } .illustration { margin-top: 2em; margin-bottom: 2em; } /* Screenshots */ /* Simulate a browser window frame. Inspired by Termynal's CSS tricks with modifications */ .screenshot { display: block; background-color: #d3e0de; border-radius: 4px; padding: 45px 5px 5px;Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Nov 28 15:55:15 UTC 2025 - 3.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/CreateContextResponseTest.java
@Nested @DisplayName("Integration Pattern Tests") class IntegrationPatternTests { @Test @DisplayName("Should simulate usage in Smb2CreateResponse context") void testSimulatedUsagePattern() throws SMBProtocolDecodingException { // Simulate the pattern from Smb2CreateResponse byte[] nameBytes = "SMB2_CREATE_CONTEXT".getBytes(StandardCharsets.UTF_8);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 16.2K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/av/AvSingleHostTest.java
* Should correctly parse the raw bytes. */ @Test void testAvSingleHostRawConstructor() { byte[] rawData = new byte[48]; // 8 (size/zero) + 8 (customData) + 32 (machineId) // Simulate some data rawData[0] = 48; // size rawData[16] = 0x01; // machineId start rawData[17] = 0x02; AvSingleHost avSingleHost = new AvSingleHost(rawData);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.4K bytes - Viewed (0)