Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 120 for Pipe (0.18 sec)

  1. internal/ioutil/wait_pipe.go

    	err = r.PipeReader.CloseWithError(err)
    	r.wait()
    	return err
    }
    
    // WaitPipe implements wait-group backend io.Pipe to provide
    // synchronization between read() end with write() end.
    func WaitPipe() (*PipeReader, *PipeWriter) {
    	r, w := io.Pipe()
    	var wg sync.WaitGroup
    	wg.Add(1)
    	return &PipeReader{
    			PipeReader: r,
    			wait:       wg.Wait,
    		}, &PipeWriter{
    			PipeWriter: w,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 27 14:55:36 GMT 2023
    - 1.7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbPipeHandleImpl.java

    
        /**
         * @param pipe
         */
        public SmbPipeHandleImpl ( 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;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Apr 13 17:05:22 GMT 2020
    - 10.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbFileInputStream.java

     * stream created from a Named Pipe this method will query the server using a
     * "peek named pipe" operation and return the number of available bytes
     * on the server.
     */
        public int available() throws IOException {
            SmbNamedPipe pipe;
            TransPeekNamedPipe req;
            TransPeekNamedPipeResponse resp;
    
            if( file.type != SmbFile.TYPE_NAMED_PIPE ) {
                return 0;
            }
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 7.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SmbNamedPipe.java

     * new SmbNamedPipe( "smb1://server/IPC$/PIPE/foo",
     *         SmbNamedPipe.PIPE_TYPE_RDWR |
     *         SmbNamedPipe.PIPE_TYPE_CALL );
     * </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 width="20%"><pre>
     * new SmbNamedPipe( "smb1://server/IPC$/foo",
     *         SmbNamedPipe.PIPE_TYPE_RDWR |
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 7.3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/TransactNamedPipeOutputStream.java

        private String path;
        private SmbNamedPipe pipe;
        private byte[] tmp = new byte[1];
        private boolean dcePipe;
    
        TransactNamedPipeOutputStream( 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;
            path = pipe.unc;
        }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 2.6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/TransCallNamedPipeResponse.java

     */
    
    package jcifs.smb1.smb1;
    
    class TransCallNamedPipeResponse extends SmbComTransactionResponse {
    
        private SmbNamedPipe pipe;
    
        TransCallNamedPipeResponse( SmbNamedPipe pipe ) {
            this.pipe = pipe;
        }
    
        int writeSetupWireFormat( byte[] dst, int dstIndex ) {
            return 0;
        }
        int writeParametersWireFormat( byte[] dst, int dstIndex ) {
            return 0;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/TransTransactNamedPipeResponse.java

     */
    
    package jcifs.smb1.smb1;
    
    class TransTransactNamedPipeResponse extends SmbComTransactionResponse {
    
        private SmbNamedPipe pipe;
    
        TransTransactNamedPipeResponse( SmbNamedPipe pipe ) {
            this.pipe = pipe;
        }
    
        int writeSetupWireFormat( byte[] dst, int dstIndex ) {
            return 0;
        }
        int writeParametersWireFormat( byte[] dst, int dstIndex ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/SmbPipeHandle.java

    import java.io.InputStream;
    import java.io.OutputStream;
    
    
    /**
     * Handle to an open named pipe
     * 
     * @author mbechler
     *
     */
    public interface SmbPipeHandle extends AutoCloseable {
    
        /**
         * @return the pipe
         */
        SmbPipeResource getPipe ();
    
    
        /**
         * 
         * @return this pipe's input stream
         * @throws CIFSException
         */
        InputStream getInput () throws CIFSException;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 1.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/TransPeekNamedPipeResponse.java

        private SmbNamedPipe pipe;
        private int head;
    
        static final int STATUS_DISCONNECTED = 1;
        static final int STATUS_LISTENING = 2;
        static final int STATUS_CONNECTION_OK = 3;
        static final int STATUS_SERVER_END_CLOSED = 4;
    
        int status, available;
    
        TransPeekNamedPipeResponse( SmbNamedPipe pipe ) {
            this.pipe = pipe;
        }
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 2.1K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbNamedPipe.java

     * new SmbNamedPipe("smb://server/IPC$/PIPE/foo", SmbNamedPipe.PIPE_TYPE_RDWR | SmbNamedPipe.PIPE_TYPE_CALL, context);
     * </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 width="20%">
     * 
     * <pre>
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 6K bytes
    - Viewed (0)
Back to top