Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for TransactNamedPipeInputStream (0.19 sec)

  1. src/main/java/jcifs/smb1/smb1/TransactNamedPipeInputStream.java

    import jcifs.smb1.util.LogStream;
    
    class TransactNamedPipeInputStream extends SmbFileInputStream {
    
        private static final int INIT_PIPE_SIZE = 4096;
    
        private byte[] pipe_buf = new byte[INIT_PIPE_SIZE];
        private int beg_idx, nxt_idx, used;
        private final boolean dcePipe;
    
        Object lock;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/TransCallNamedPipeResponse.java

            return 0;
        }
    
        @Override
        int readDataWireFormat(final byte[] buffer, final int bufferIndex, final int len) {
            if (pipe.pipeIn != null) {
                final TransactNamedPipeInputStream in = (TransactNamedPipeInputStream) pipe.pipeIn;
                synchronized (in.lock) {
                    in.receive(buffer, bufferIndex, len);
                    in.lock.notify();
                }
            }
            return len;
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/TransTransactNamedPipeResponseTest.java

    /**
     * Unit tests for the {@link TransTransactNamedPipeResponse} class.
     */
    class TransTransactNamedPipeResponseTest {
    
        @Mock
        private SmbNamedPipe mockPipe;
    
        @Mock
        private TransactNamedPipeInputStream mockPipeIn;
    
        @InjectMocks
        private TransTransactNamedPipeResponse response;
    
        @BeforeEach
        void setUp() {
            // Initialize mocks created above
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/TransTransactNamedPipeResponse.java

            return 0;
        }
    
        @Override
        int readDataWireFormat(final byte[] buffer, final int bufferIndex, final int len) {
            if (pipe.pipeIn != null) {
                final TransactNamedPipeInputStream in = (TransactNamedPipeInputStream) pipe.pipeIn;
                synchronized (in.lock) {
                    in.receive(buffer, bufferIndex, len);
                    in.lock.notify();
                }
            }
            return len;
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/SmbNamedPipe.java

            if (pipeIn == null) {
                if ((pipeType & PIPE_TYPE_CALL) == PIPE_TYPE_CALL || (pipeType & PIPE_TYPE_TRANSACT) == PIPE_TYPE_TRANSACT) {
                    pipeIn = new TransactNamedPipeInputStream(this);
                } else {
                    pipeIn = new SmbFileInputStream(this, pipeType & 0xFFFF00FF | SmbFile.O_EXCL);
                }
            }
            return pipeIn;
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.5K bytes
    - Viewed (0)
Back to top