Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 297 for wipe (0.17 sec)

  1. src/test/java/jcifs/smb/SmbPipeHandleImplTest.java

        }
    
        @Test
        @DisplayName("getPipe, getPipeType, getUncPath delegate to underlying pipe")
        void testBasicAccessors() {
            when(pipe.getPipeType()).thenReturn(0x123456);
            assertSame(pipe, target.getPipe());
            assertEquals(0x123456, target.getPipeType());
            assertEquals("\\\\pipe\\\\my-pipe", target.getUncPath());
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbPipeHandleInternalTest.java

            // Arrange
            SmbPipeHandleImpl handle = newHandleWithBasicStubs(0, "\\\\pipe\\\\foo");
            when(pipe.ensureTreeConnected()).thenReturn(tree);
            when(tree.acquire()).thenReturn(tree);
            when(tree.isSMB2()).thenReturn(true);
            when(pipe.openUnshared(eq("\\\\pipe\\\\foo"), eq(0), anyInt(), anyInt(), eq(SmbConstants.ATTR_NORMAL), eq(0))).thenReturn(fh);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbNamedPipe.java

     * <ul>
     * <li><code>CallNamedPipe</code> A message-type pipe call that opens,
     * writes to, reads from, and closes the pipe in a single operation.
     * <li><code>TransactNamedPipe</code> A message-type pipe call that
     * writes to and reads from an existing pipe descriptor in one operation.
     * <li><code>CreateFile</code>, <code>ReadFile</code>,
     * <code>WriteFile</code>, and <code>CloseFile</code> A byte-type pipe can
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/context/BaseContextTest.java

            // When
            SmbPipeResource pipe = context.getPipe("smb://server/IPC$/pipe", 0);
    
            // Then
            assertNotNull(pipe, "Should create pipe resource");
            assertTrue(pipe.getLocator().getURL().toString().contains("pipe"), "Pipe resource should contain pipe path");
        }
    
        @Test
        @DisplayName("getPipe method should handle valid pipe URLs")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/TransactNamedPipeInputStream.java

        private final boolean dcePipe;
    
        Object lock;
    
        TransactNamedPipeInputStream(final SmbNamedPipe pipe) throws SmbException, MalformedURLException, UnknownHostException {
            super(pipe, pipe.pipeType & 0xFFFF00FF | SmbFile.O_EXCL);
            this.dcePipe = (pipe.pipeType & SmbNamedPipe.PIPE_TYPE_DCE_TRANSACT) != SmbNamedPipe.PIPE_TYPE_DCE_TRANSACT;
            lock = new Object();
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/smb1/NetServerEnum2Test.java

            assertEquals(ServerMessageBlock.SMB_COM_TRANSACTION, netServerEnum2.command);
            assertEquals(SmbComTransaction.NET_SERVER_ENUM2, netServerEnum2.subCommand);
            assertEquals("\\PIPE\\LANMAN", netServerEnum2.name);
            assertEquals(8, netServerEnum2.maxParameterCount);
            assertEquals(16384, netServerEnum2.maxDataCount);
            assertEquals(0, netServerEnum2.maxSetupCount);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbPipeOutputStream.java

            return this.handle.ensureOpen();
        }
    
        /**
         * Gets the pipe handle implementation for this output stream.
         *
         * @return the handle
         */
        protected SmbPipeHandleImpl getHandle() {
            return this.handle;
        }
    
        @Override
        public void close() {
            // ignore, the shared file descriptor is closed by the pipe handle
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbPipeHandleInternal.java

    import jcifs.CIFSException;
    import jcifs.SmbFileHandle;
    import jcifs.SmbPipeHandle;
    
    /**
     * Internal interface for SMB pipe handle operations.
     *
     * This interface extends SmbPipeHandle with additional methods needed
     * for internal pipe management and provides access to low-level pipe details.
     *
     * @author mbechler
     *
     * <p>This interface is intended for internal use.</p>
     */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/ioctl/SrvPipePeekResponse.java

    /**
     * Response structure for SMB2 IOCTL pipe peek operation.
     * Provides information about data available in a named pipe.
     *
     * @author svella
     *
     */
    public class SrvPipePeekResponse implements Decodable {
    
        /**
         * Constructs a new SrvPipePeekResponse.
         * This response contains information about data available in a named pipe.
         */
        public SrvPipePeekResponse() {
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  10. src/test/java/jcifs/dcerpc/DcerpcBindingTest.java

        @Test
        void testSetOptionEndpointWithVariousValidPipes() throws DcerpcException {
            Object[][] testData = { { "\\pipe\\srvsvc", "srvsvc", "4B324FC8-1670-01D3-1278-5A47BF6EE188", 3, 0 },
                    { "\\pipe\\lsarpc", "lsarpc", "12345778-1234-ABCD-EF00-0123456789AB", 2, 1 },
                    { "\\pipe\\samr", "samr", "12345778-1234-ABCD-EF00-0123456789AC", 1, 0 } };
    
            for (Object[] data : testData) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.5K bytes
    - Viewed (0)
Back to top