Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 111 for PIPE (0.02 seconds)

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

            void constructsWithIpcShare(String url) throws Exception {
                // Arrange & Act
                SmbNamedPipe pipe = new SmbNamedPipe(url, SmbPipeResource.PIPE_TYPE_RDWR, ctx());
    
                // Assert: type is named pipe and pipe type preserved
                assertEquals(SmbConstants.TYPE_NAMED_PIPE, pipe.getType(), "Type should be TYPE_NAMED_PIPE");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  2. src/main/java/jcifs/smb/NtStatus.java

                "The file system is full.", "All pipe instances are busy.", "All pipe instances are busy.", "The pipe state is invalid.",
                "All pipe instances are busy.", "No process is on the other end of the pipe.", "The pipe is being closed.",
                "Waiting for a process to open the other end of the pipe.", "File is a directory.", "A duplicate name exists on the network.",
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 14.9K bytes
    - Click Count (0)
  3. src/test/java/jcifs/smb/WinErrorTest.java

                    Arguments.of(WinError.ERROR_BAD_PIPE, "The pipe state is invalid."),
                    Arguments.of(WinError.ERROR_PIPE_BUSY, "All pipe instances are busy."),
                    Arguments.of(WinError.ERROR_NO_DATA, "The pipe is being closed."),
                    Arguments.of(WinError.ERROR_PIPE_NOT_CONNECTED, "No process is on the other end of the pipe."),
                    Arguments.of(WinError.ERROR_MORE_DATA, "More data is available."),
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8.4K bytes
    - Click Count (0)
  4. src/test/java/jcifs/dcerpc/DcerpcPipeHandleTest.java

        private SmbPipeHandle mockSmbPipeHandle;
        @Mock
        private BufferCache mockBufferCache;
    
        private static final String TEST_URL = "ncacn_np:server[\\pipe\\test]";
        private static final String TEST_SERVER = "server";
        private static final String TEST_ENDPOINT = "\\pipe\\test";
    
        @BeforeEach
        void setUp() throws IOException {
            // Setup mock behavior with lenient stubbing to avoid UnnecessaryStubbingException
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 21K bytes
    - Click Count (0)
  5. src/test/java/jcifs/smb1/smb1/TransWaitNamedPipeTest.java

            // Test with various pipe names
            String[] pipeNames = { "\\\\pipe\\test", "\\\\pipe\\PIPE\\sql\\query", "\\\\pipe\\spoolss", "\\\\pipe\\winreg" };
    
            for (String pipeName : pipeNames) {
                TransWaitNamedPipe pipe = new TransWaitNamedPipe(pipeName);
                assertEquals(pipeName, pipe.name, "Pipe name should be preserved: " + pipeName);
                assertEquals(ServerMessageBlock.SMB_COM_TRANSACTION, pipe.command);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  6. src/main/java/jcifs/internal/smb1/trans/TransPeekNamedPipeResponse.java

     * named pipe without actually removing the data from the pipe.
     */
    public class TransPeekNamedPipeResponse extends SmbComTransactionResponse {
    
        /**
         * Named pipe status indicating the pipe is disconnected.
         */
        public static final int STATUS_DISCONNECTED = 1;
    
        /**
         * Named pipe status indicating the pipe is listening for connections.
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  7. src/main/java/jcifs/smb/SmbPipeHandleImpl.java

        /**
         * @param pipe
         */
        public SmbPipeHandleImpl(final SmbNamedPipe pipe) {
            this.pipe = pipe;
            this.transact = (pipe.getPipeType() & SmbPipeResource.PIPE_TYPE_TRANSACT) == SmbPipeResource.PIPE_TYPE_TRANSACT;
            this.call = (pipe.getPipeType() & SmbPipeResource.PIPE_TYPE_CALL) == SmbPipeResource.PIPE_TYPE_CALL;
            this.openFlags = pipe.getPipeType() & 0xFFFF00FF | SmbConstants.O_EXCL;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 10.2K bytes
    - Click Count (0)
  8. src/main/java/jcifs/smb1/smb1/TransactNamedPipeOutputStream.java

        private final String path;
        private final SmbNamedPipe pipe;
        private final byte[] tmp = new byte[1];
        private final boolean dcePipe;
    
        TransactNamedPipeOutputStream(final SmbNamedPipe pipe) throws IOException {
            super(pipe, false, pipe.pipeType & 0xFFFF00FF | SmbFile.O_EXCL);
            this.pipe = pipe;
            this.dcePipe = (pipe.pipeType & SmbNamedPipe.PIPE_TYPE_DCE_TRANSACT) == SmbNamedPipe.PIPE_TYPE_DCE_TRANSACT;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  9. src/test/java/jcifs/internal/smb1/trans/TransWaitNamedPipeTest.java

        }
    
        @Test
        @DisplayName("Test with various pipe name formats")
        void testVariousPipeNameFormats() {
            // Test various pipe name formats
            String[] pipeNames =
                    { "\\\\server\\PIPE\\testpipe", "\\PIPE\\LANMAN", "\\PIPE\\srvsvc", "\\PIPE\\wkssvc", "PIPE\\test", "testpipe" };
    
            for (String pipeName : pipeNames) {
                // Act
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8.8K bytes
    - Click Count (0)
  10. src/main/java/jcifs/internal/smb1/trans/TransCallNamedPipeResponse.java

    import jcifs.Configuration;
    import jcifs.internal.SMBProtocolDecodingException;
    
    /**
     * Response for SMB1 TRANS_CALL_NAMED_PIPE transaction.
     *
     * This response contains the data returned from the named pipe
     * after a call transaction has been processed by the server.
     */
    public class TransCallNamedPipeResponse extends SmbComTransactionResponse {
    
        private final byte[] outputBuffer;
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 3K bytes
    - Click Count (0)
Back to Top