- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 440 for Utimes (0.17 sec)
-
src/archive/tar/testdata/pax-bad-mtime-file.tar
Joe Tsai <******@****.***> 1472512232 -0700
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Wed Aug 31 23:22:53 UTC 2016 - 2.5K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcSecurityProviderTest.java
package jcifs.dcerpc; import static org.junit.jupiter.api.Assertions.assertThrows; import static org.mockito.Mockito.doThrow; import static org.mockito.Mockito.times; import static org.mockito.Mockito.verify; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import org.mockito.Mock; import org.mockito.MockitoAnnotations; import jcifs.dcerpc.ndr.NdrBuffer; class DcerpcSecurityProviderTest { @Mock
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.5K bytes - Viewed (0) -
src/test/java/jcifs/util/transport/RequestTest.java
verify(mockRequest, times(1)).getCreditCost(); // Verify method was called once } @Test void testSetRequestCredits() { // Test case for setRequestCredits method int credits = 5; mockRequest.setRequestCredits(credits); // Verify that setRequestCredits was called with the correct argument verify(mockRequest, times(1)).setRequestCredits(credits); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbPipeHandleImplTest.java
assertSame(tree, t1); assertSame(tree, t2); } // Assert: pipe.ensureTreeConnected invoked once, acquire twice verify(pipe, times(1)).ensureTreeConnected(); verify(tree, times(2)).acquire(); } @Test @DisplayName("isOpen and isStale reflect underlying handle validity") void testIsOpenAndIsStale() throws CIFSException {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/RequestTest.java
verify(request, times(1)).isResponseAsync(); verify(request, times(1)).getNext(); verify(request, times(1)).split(); verify(request, times(1)).allowChain(nextRequest); verify(request, times(1)).createCancel(); verify(request, times(1)).size(); verify(request, times(1)).getOverrideTimeout(); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFileFilterTest.java
assertFalse(filter.accept(smbFile), "Negative size should be rejected"); verify(smbFile, times(1)).length(); // zero size -> reject reset(smbFile); when(smbFile.length()).thenReturn(0L); assertFalse(filter.accept(smbFile), "Zero size should be rejected"); verify(smbFile, times(1)).length(); // positive size -> accept reset(smbFile);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/SpnegoContextTest.java
assertTrue(out.length > 0); // Verify interactions: flags and an empty optimistic token are used verify(this.mechContext, times(1)).getFlags(); ArgumentCaptor<byte[]> cap = ArgumentCaptor.forClass(byte[].class); verify(this.mechContext, times(1)).initSecContext(cap.capture(), eq(0), eq(0)); assertEquals(0, cap.getValue().length, "Optimistic token must be zero-length"); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.3K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbSessionInternalTest.java
import static org.junit.jupiter.api.Assertions.assertTrue; import static org.mockito.ArgumentMatchers.anyString; import static org.mockito.ArgumentMatchers.eq; import static org.mockito.Mockito.doThrow; import static org.mockito.Mockito.times; import static org.mockito.Mockito.verify; import static org.mockito.Mockito.when; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.8K bytes - Viewed (0) -
LICENSES/vendor/github.com/NYTimes/gziphandler/LICENSE
file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives. Copyright 2016-2017 The New York Times Company Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
Registered: Fri Sep 05 09:05:11 UTC 2025 - Last Modified: Wed Feb 03 21:57:36 UTC 2021 - 11.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/FileEntryTest.java
// Verify precise interactions verify(mockEntry, times(1)).getName(); verify(mockEntry, times(2)).getType(); verify(mockEntry, times(1)).getAttributes(); verify(mockEntry, times(1)).createTime(); verify(mockEntry, times(1)).lastModified(); verify(mockEntry, times(1)).lastAccess(); verify(mockEntry, times(1)).length(); verify(mockEntry, never()).getFileIndex();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10K bytes - Viewed (0)