Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 348 for Chtimes (0.05 sec)

  1. api/go1.25.txt

    pkg net/http, type CrossOriginProtection struct #73626
    pkg os, method (*Root) Chmod(string, fs.FileMode) error #67002
    pkg os, method (*Root) Chown(string, int, int) error #67002
    pkg os, method (*Root) Chtimes(string, time.Time, time.Time) error #67002
    pkg os, method (*Root) Lchown(string, int, int) error #67002
    pkg os, method (*Root) Link(string, string) error #67002
    pkg os, method (*Root) MkdirAll(string, fs.FileMode) error #67002
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Jun 02 16:09:57 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/create/Smb2CreateResponseTest.java

         * Build a basic CREATE response body without create contexts.
         */
        private static byte[] buildCreateBodyNoContexts(byte oplock, byte openFlags, int createAction, long ctime, long atime, long mtime,
                long chtime, long allocSize, long eof, int attrs, byte[] fileId) {
            byte[] body = new byte[2 + 2 + 4 + 8 + 8 + 8 + 8 + 8 + 8 + 4 + 4 + 16 + 4 + 4];
            int i = 0;
            SMBUtil.writeInt2(89, body, i); // StructureSize
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/NameServiceClientTest.java

    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.junit.jupiter.api.Assertions.assertThrows;
    import static org.mockito.Mockito.mock;
    import static org.mockito.Mockito.times;
    import static org.mockito.Mockito.verify;
    import static org.mockito.Mockito.when;
    
    import java.net.InetAddress;
    import java.net.UnknownHostException;
    
    import org.junit.jupiter.api.BeforeEach;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/SMBSigningDigestTest.java

                // Assert
                verify(signingDigest).sign(largeData, offset, 10, request, response);
            }
    
            // Verify method was called correct number of times
            verify(signingDigest, times(offsets.length)).sign(any(byte[].class), anyInt(), anyInt(), any(CommonServerMessageBlock.class),
                    any(CommonServerMessageBlock.class));
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/dfs/DfsReferralDataInternalTest.java

                mockReferralData.setKey(key);
                String retrievedKey = mockReferralData.getKey();
    
                assertEquals(key, retrievedKey);
                verify(mockReferralData, times(1)).setKey(key);
                verify(mockReferralData, times(1)).getKey();
    
                // Test with concrete implementation
                concreteImplementation.setKey(key);
                assertEquals(key, concreteImplementation.getKey());
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 28.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/SmbFileHandleTest.java

            verify(smbFileHandle, times(1)).getTree();
        }
    
        /**
         * Test isValid() when the handle is valid.
         */
        @Test
        void testIsValid_whenValid() {
            when(smbFileHandle.isValid()).thenReturn(true);
            assertTrue(smbFileHandle.isValid(), "isValid should return true when the handle is valid.");
            verify(smbFileHandle, times(1)).isValid();
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/dcerpc/msrpc/SamrDomainHandleTest.java

            handle.close();
    
            // Assert
            // sendrecv for open is called once
            verify(mockDcerpcHandle, times(1)).sendrecv(any(MsrpcSamrOpenDomain.class));
            // sendrecv for close is called only once, even if close() is called multiple times
            verify(mockDcerpcHandle, times(1)).sendrecv(any(MsrpcSamrCloseHandle.class));
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/dcerpc/msrpc/LsaPolicyHandleTest.java

            // Act
            handle.close();
    
            // Assert
            // Verify sendrecv was called once for open and once for close
            verify(mockDcerpcHandle, times(1)).sendrecv(any(MsrpcLsarOpenPolicy2.class));
            verify(mockDcerpcHandle, times(1)).sendrecv(any(MsrpcLsarClose.class));
        }
    
        @Test
        void close_shouldDoNothingIfAlreadyClosed() throws IOException {
            // Arrange
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SmbSessionImplTest.java

            verify(transport, times(1)).acquire();
        }
    
        @Test
        @DisplayName("close/release manage usage and transport lifecycle")
        void testReleaseLifecycle() {
            SmbSessionImpl session = newSession();
    
            // First release drops usage to zero and releases transport
            session.release();
            verify(transport, times(1)).release();
            assertFalse(session.isInUse());
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SmbPipeInputStreamTest.java

            InOrder inOrder = inOrder(handle, fd, tree);
            inOrder.verify(handle, times(1)).ensureOpen();
            inOrder.verify(fd, times(1)).getTree();
            inOrder.verify(tree, times(1)).send(any(Smb2IoctlRequest.class), eq(RequestParam.NO_RETRY));
            verify(fd, times(1)).close();
            verify(tree, times(1)).close();
        }
    
        @ParameterizedTest
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
Back to top