- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 64 for Pipe (0.15 sec)
-
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) -
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) -
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) -
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) -
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) -
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) -
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) -
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) -
src/main/java/jcifs/smb1/smb1/TransactNamedPipeInputStream.java
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 boolean dcePipe; Object lock; TransactNamedPipeInputStream( SmbNamedPipe pipe ) throws SmbException, MalformedURLException, UnknownHostException { super( pipe, ( pipe.pipeType & 0xFFFF00FF ) | SmbFile.O_EXCL );
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Fri Mar 22 21:10:40 GMT 2019 - 4.6K bytes - Viewed (0) -
src/main/java/jcifs/SmbPipeResource.java
* The pipe should be opened for both reading and writing. */ public static final int PIPE_TYPE_RDWR = SmbConstants.O_RDWR; /** * Pipe operations should behave like the <code>CallNamedPipe</code> Win32 Named Pipe function. */ public static final int PIPE_TYPE_CALL = 0x0100; /** * Pipe operations should behave like the <code>TransactNamedPipe</code> Win32 Named Pipe function. */
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sun Jul 01 13:12:10 GMT 2018 - 2.1K bytes - Viewed (0)