- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 436 for locked (0.04 sec)
-
src/test/java/jcifs/SmbTransportTest.java
// Act CIFSContext result = smbTransport.getContext(); // Assert assertNotNull(result, "Context should not be null"); assertEquals(cifsContext, result, "Returned context should be the mocked context"); verify(smbTransport).getContext(); // Verify that the method was called } @Test void testUnwrap() { // Arrange
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3K bytes - Viewed (0) -
cmd/callhome.go
// Make sure only 1 callhome is running on the cluster. locker := objAPI.NewNSLock(minioMetaBucket, "callhome/runCallhome.lock") lkctx, err := locker.GetLock(ctx, callhomeLeaderLockTimeout) if err != nil { // lock timedout means some other node is the leader, // cycle back return 'true' return true } ctx = lkctx.Context() defer locker.Unlock(lkctx)
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 5.3K bytes - Viewed (0) -
src/test/java/jcifs/smb1/dcerpc/msrpc/samrTest.java
} @Test @DisplayName("Should decode output parameters correctly") void testDecodeOut() throws NdrException { // Given: Close handle message with mocked return value samr.SamrCloseHandle message = new samr.SamrCloseHandle(mockPolicyHandle); when(mockNdrBuffer.dec_ndr_long()).thenReturn(0); // When: Decoding output
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 33.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbSessionInternalTest.java
private SmbTree tree; @BeforeEach void resetMocks() { Mockito.reset(session, transport, tree); } // Happy path: isInUse returns the mocked state @ParameterizedTest @DisplayName("isInUse reflects current mocked state") @ValueSource(booleans = { true, false }) void isInUse_variants(boolean inUse) { when(session.isInUse()).thenReturn(inUse);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.8K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/ndr/NdrHyperTest.java
void testEncode() throws NdrException { // Test the encode method long testValue = 987654321098765L; NdrHyper ndrHyper = new NdrHyper(testValue); // Call the encode method with the mocked NdrBuffer ndrHyper.encode(mockNdrBuffer); // Verify that enc_ndr_hyper was called exactly once with the correct value verify(mockNdrBuffer, times(1)).enc_ndr_hyper(testValue);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.2K bytes - Viewed (0) -
CHANGELOG/CHANGELOG-1.2.md
### Action required * Docker v1.9.1 is officially recommended. Docker v1.8.3 and Docker v1.10 are supported. If you are using an older release of Docker, please upgrade. Known issues with Docker 1.9.1 can be found below. * CPU hardcapping will be enabled by default for containers with CPU limit set,
Registered: Fri Sep 05 09:05:11 UTC 2025 - Last Modified: Fri Dec 04 06:36:19 UTC 2020 - 41.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/SessionSetupHandlerTest.java
} @Mock SessionSetupHandler mocked; @Test @DisplayName("Interactions: Mockito mock has no interactions by default") void testMockitoNoInteractions() { // Intent: ensure we can mock the interface and verify no unexpected calls // Act & Assert assertNotNull(mocked); verifyNoInteractions(mocked); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.3K bytes - Viewed (0) -
docs/orchestration/docker-compose/README.md
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Tue Aug 12 18:20:36 UTC 2025 - 3.1K bytes - Viewed (0) -
.github/workflows/multipart/migrate.sh
cd .github/workflows/multipart/ function cleanup() { docker-compose -f docker-compose-site1.yaml rm -s -f || true docker-compose -f docker-compose-site2.yaml rm -s -f || true for volume in $(docker volume ls -q | grep minio); do docker volume rm ${volume} || true done docker system prune -f || true docker volume prune -f || true docker volume rm $(docker volume ls -q -f dangling=true) || true } cleanup
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Mon May 27 19:17:46 UTC 2024 - 4.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/AllocInfoTest.java
} } @Nested @DisplayName("Mock Behavior Tests") class MockBehaviorTests { @Test @DisplayName("Should return mocked capacity value") void shouldReturnMockedCapacity() { // Given long expectedCapacity = 1024L * 1024L * 1024L * 100L; // 100GB
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.8K bytes - Viewed (0)