Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 118 for PIPE (0.02 seconds)

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

        int ERROR_REQ_NOT_ACCEP = 71;
        /** The pipe state is invalid */
        int ERROR_BAD_PIPE = 230;
        /** All pipe instances are busy */
        int ERROR_PIPE_BUSY = 231;
        /** The pipe is being closed */
        int ERROR_NO_DATA = 232;
        /** No process is on the other end of the pipe */
        int ERROR_PIPE_NOT_CONNECTED = 233;
        /** More data is available */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  2. src/main/java/jcifs/smb/SmbPipeHandleInternal.java

    import jcifs.CIFSException;
    import jcifs.SmbFileHandle;
    import jcifs.SmbPipeHandle;
    
    /**
     * Internal interface for SMB pipe handle operations.
     *
     * This interface extends SmbPipeHandle with additional methods needed
     * for internal pipe management and provides access to low-level pipe details.
     *
     * @author mbechler
     *
     * <p>This interface is intended for internal use.</p>
     */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 3.7K bytes
    - Click Count (0)
  3. 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
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  4. src/test/java/jcifs/smb/SmbPipeHandleImplTest.java

        }
    
        @Test
        @DisplayName("getPipe, getPipeType, getUncPath delegate to underlying pipe")
        void testBasicAccessors() {
            when(pipe.getPipeType()).thenReturn(0x123456);
            assertSame(pipe, target.getPipe());
            assertEquals(0x123456, target.getPipeType());
            assertEquals("\\\\pipe\\\\my-pipe", target.getUncPath());
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.7K bytes
    - Click Count (0)
  5. src/main/java/jcifs/internal/smb2/ioctl/SrvPipePeekResponse.java

    /**
     * Response structure for SMB2 IOCTL pipe peek operation.
     * Provides information about data available in a named pipe.
     *
     * @author svella
     *
     */
    public class SrvPipePeekResponse implements Decodable {
    
        /**
         * Constructs a new SrvPipePeekResponse.
         * This response contains information about data available in a named pipe.
         */
        public SrvPipePeekResponse() {
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 3.2K bytes
    - Click Count (0)
  6. src/test/java/jcifs/dcerpc/DcerpcBindingTest.java

        @Test
        void testSetOptionEndpointWithVariousValidPipes() throws DcerpcException {
            Object[][] testData = { { "\\pipe\\srvsvc", "srvsvc", "4B324FC8-1670-01D3-1278-5A47BF6EE188", 3, 0 },
                    { "\\pipe\\lsarpc", "lsarpc", "12345778-1234-ABCD-EF00-0123456789AB", 2, 1 },
                    { "\\pipe\\samr", "samr", "12345778-1234-ABCD-EF00-0123456789AC", 1, 0 } };
    
            for (Object[] data : testData) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8.5K bytes
    - Click Count (0)
  7. samples/guide/src/main/java/okhttp3/recipes/PostStreamingWithPipe.java

        private final Pipe pipe = new Pipe(8192);
        private final BufferedSink sink = Okio.buffer(pipe.sink());
    
        public BufferedSink sink() {
          return sink;
        }
    
        @Override public MediaType contentType() {
          return MEDIA_TYPE_MARKDOWN;
        }
    
        @Override public void writeTo(BufferedSink sink) throws IOException {
          sink.writeAll(pipe.source());
        }
      }
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Jul 06 03:18:15 GMT 2018
    - 3.1K bytes
    - Click Count (0)
  8. src/test/java/jcifs/smb1/smb1/NetServerEnum2Test.java

            assertEquals(ServerMessageBlock.SMB_COM_TRANSACTION, netServerEnum2.command);
            assertEquals(SmbComTransaction.NET_SERVER_ENUM2, netServerEnum2.subCommand);
            assertEquals("\\PIPE\\LANMAN", netServerEnum2.name);
            assertEquals(8, netServerEnum2.maxParameterCount);
            assertEquals(16384, netServerEnum2.maxDataCount);
            assertEquals(0, netServerEnum2.maxSetupCount);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7.6K bytes
    - Click Count (0)
  9. src/test/java/jcifs/smb/SmbFileInputStreamTest.java

                jcifs.internal.smb1.com.SmbComReadAndX req = cap.getValue();
                assertEquals(1024, req.getMinCount(), "Named pipe minCount should be 1024");
                assertEquals(1024, req.getMaxCount(), "Named pipe maxCount should be 1024");
                assertEquals(1024, req.getRemaining(), "Named pipe remaining should be 1024");
            }
        }
    
        @Nested
        @DisplayName("Lifecycle and exception mapping")
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 12.8K bytes
    - Click Count (0)
  10. src/test/java/jcifs/smb1/smb1/TransTransactNamedPipeResponseTest.java

        }
    
        /**
         * Tests the readDataWireFormat method when the pipe has a valid input stream.
         */
        @Test
        void testReadDataWireFormat_withPipeIn() {
            // Setup the mock pipe and its input stream
            mockPipe.pipeIn = mockPipeIn;
            // The 'lock' field in TransactNamedPipeInputStream needs to be a real object for synchronization
    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)
Back to Top