Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 125 for pipe (0.02 sec)

  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");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/dcerpc/DcerpcPipeHandle.java

        }
    
        @Override
        public CIFSContext getTransportContext() {
            return this.pipe.getContext();
        }
    
        @Override
        public String getServer() {
            return this.pipe.getLocator().getServer();
        }
    
        @Override
        public String getServerWithDfs() {
            return this.pipe.getLocator().getServerWithDfs();
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.6K bytes
    - Viewed (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."),
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SmbNamedPipe.java

     * </pre></td><td>
     * Open the Named Pipe foo for reading and writing. The pipe will behave like the <code>CallNamedPipe</code> interface.
     * </td></tr>
     * <tr><td ><pre>
     * new SmbNamedPipe( "smb1://server/IPC$/foo",
     *         SmbNamedPipe.PIPE_TYPE_RDWR |
     *         SmbNamedPipe.PIPE_TYPE_TRANSACT );
     * </pre></td><td>
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  5. 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;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbNamedPipe.java

     *
     * </td>
     * <td>
     * Open the Named Pipe foo for reading and writing. The pipe will
     * behave as though the <code>CreateFile</code>, <code>ReadFile</code>,
     * <code>WriteFile</code>, and <code>CloseFile</code> interface was
     * being used.
     * </td>
     * </tr>
     * </table>
     *
     * <p>
     * See <a href="../../../pipes.html">Using jCIFS to Connect to Win32
     * Named Pipes</a> for a detailed description of how to use jCIFS with
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  7. 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.
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  8. 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)
  9. okhttp/src/jvmTest/kotlin/okhttp3/internal/cache2/RelayTest.kt

        source2!!.close()
        assertThat(relay.isClosed).isTrue()
        assertFile(Relay.PREFIX_DIRTY, -1L, -1, null, null)
      }
    
      @Test
      fun racingReaders() {
        val pipe = Pipe(1024)
        val sink = pipe.sink.buffer()
        val relay = edit(file, pipe.source, metadata, 5)
        val future1 = executor.submit(sourceReader(relay.newSource()))
        val future2 = executor.submit(sourceReader(relay.newSource()))
        Thread.sleep(500)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  10. 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)
Back to top