- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 1,350 for times (0.03 sec)
-
cmd/erasure-healing-common.go
maxima = count latest = etag } } // Return the collected common max time, with maxima return latest, maxima } // commonTime returns a maximally occurring time from a list of time. func commonTimeAndOccurrence(times []time.Time, group time.Duration) (maxTime time.Time, maxima int) { timeOccurrenceMap := make(map[int64]int, len(times)) groupNano := group.Nanoseconds() // Ignore the uuid sentinel and count the rest.
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Sun Mar 30 00:56:02 UTC 2025 - 12K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFileHandleImplTest.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.3K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/AllocInfoTest.java
assertEquals(400L, mockAllocInfo.getFree(), "free space should match stubbed value"); verify(mockAllocInfo, times(1)).getCapacity(); verify(mockAllocInfo, times(1)).getFree(); } /** * Parameterised test of capacity values, including edge cases such as * zero and negative capacities. */ @ParameterizedTest
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/tomcat/valve/SuppressErrorReportValveTest.java
// Test toggling ShowReport multiple times assertFalse(valve.isShowReport()); valve.setShowReport(true); assertTrue(valve.isShowReport()); valve.setShowReport(false); assertFalse(valve.isShowReport()); valve.setShowReport(true); assertTrue(valve.isShowReport()); // Test toggling ShowServerInfo multiple times assertFalse(valve.isShowServerInfo());
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 4.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbNamedPipeTest.java
// Act pipe.customizeCreate(req, resp); // Assert: verify interactions with dependencies verify(req, times(1)).addFlags0(0x16); verify(resp, times(1)).setExtended(true); verify(resp, never()).setExtended(false); } @Test @DisplayName("openPipe returns a handle bound to this pipe")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/FileEntryAdapterIteratorTest.java
assertSame(resource, iterator.next()); assertFalse(iterator.hasNext()); // Both resources should be closed verify(filter, times(2)).accept(resource); verify(resource, times(2)).close(); } @Test @DisplayName("Iterator with filter throwing exception") void iteratorWithFilterException() throws Exception {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 10.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/WinErrorTest.java
handler.handle(WinError.WINERR_CODES[i], WinError.WINERR_MESSAGES[i]); } // Verify the collaborator is invoked exactly N times verify(handler, times(WinError.WINERR_CODES.length)).handle(anyInt(), anyString()); // Capture one known interaction to verify argument integrity
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.4K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/SamrAliasHandleTest.java
import static org.junit.jupiter.api.Assertions.assertThrows; import static org.mockito.ArgumentMatchers.any; import static org.mockito.Mockito.doAnswer; import static org.mockito.Mockito.times; import static org.mockito.Mockito.verify; import java.io.IOException; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import org.mockito.ArgumentCaptor; import org.mockito.Mock;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/Kerb5AuthenticatorTest.java
// getConfig() is called twice: once in Kerb5Authenticator and once in NtlmPasswordAuthenticator verify(tc, times(2)).getConfig(); verify(config, times(1)).isAllowNTLMFallback(); verify(config, times(1)).isUseRawNTLM(); } @Test @DisplayName("refresh: throws unsupported operation") void refresh_throwsUnsupported() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.9K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/ndr/NdrHyperTest.java
package jcifs.dcerpc.ndr; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.mockito.Mockito.times; import static org.mockito.Mockito.verify; import static org.mockito.Mockito.verifyNoMoreInteractions; import static org.mockito.Mockito.when; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import org.mockito.Mock; import org.mockito.MockitoAnnotations; class NdrHyperTest { @Mock
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.2K bytes - Viewed (0)