- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 118 for pipe (1.46 sec)
-
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 synchronizationRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans/TransCallNamedPipe.java
private final int pipeDataOff, pipeDataLen; /** * Constructs a TransCallNamedPipe request to write data to a named pipe. * * @param config the SMB configuration * @param pipeName the name of the pipe to call * @param data the data buffer to write to the pipe * @param off the offset in the data buffer * @param len the length of data to write */Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans/TransTransactNamedPipe.java
import org.slf4j.LoggerFactory; import jcifs.Configuration; import jcifs.internal.util.SMBUtil; /** * SMB1 transaction subcommand for transacting with a named pipe. * * This class implements the TRANS_TRANSACT_NAMED_PIPE transaction which * combines writing data to a pipe and reading the response in a single operation. * This is more efficient than separate write and read operations. */
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.7K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcHandleTest.java
@CsvSource({ "'ncacn_np:\\\\server[endpoint=\\pipe\\srvsvc]', ncacn_np, server, '\\pipe\\srvsvc'", "'ncacn_np:server[\\pipe\\srvsvc]', ncacn_np, server, '\\pipe\\srvsvc'", "'ncacn_np:[\\pipe\\srvsvc]', ncacn_np, 127.0.0.1, '\\pipe\\srvsvc'", "'ncacn_np:server[endpoint=\\pipe\\srvsvc]', ncacn_np, server, '\\pipe\\srvsvc'" })Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans/TransWaitNamedPipeResponse.java
/** * Response for SMB1 TRANS_WAIT_NAMED_PIPE transaction. * * This response is received after waiting for a named pipe to become available * for connection when the pipe server was busy. */ public class TransWaitNamedPipeResponse extends SmbComTransactionResponse { /** * Constructs a response for a wait named pipe request. * * @param config the configuration to use */Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.3K bytes - Viewed (0) -
src/test/java/jcifs/CIFSContextTest.java
// Given String url = "smb://server/share/pipe"; int pipeType = 1; SmbPipeResource mockPipe = mock(SmbPipeResource.class); when(mockContext.getPipe(url, pipeType)).thenReturn(mockPipe); // When SmbPipeResource pipe = mockContext.getPipe(url, pipeType); // Then assertEquals(mockPipe, pipe); verify(mockContext).getPipe(url, pipeType); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans/TransTransactNamedPipeResponse.java
* * This response contains the data returned from the named pipe * after a transact operation (write then read) has been completed. */ public class TransTransactNamedPipeResponse extends SmbComTransactionResponse { private final byte[] outputBuffer; /** * Constructs a response for a named pipe transaction. * * @param config the configuration to use
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/TransPeekNamedPipeTest.java
assertTrue(result.contains("pipeName=null")); } @ParameterizedTest @NullAndEmptySource @ValueSource(strings = { "\\PIPE\\test", "testpipe", "\\\\server\\pipe\\test", " ", "pipe with spaces" }) @DisplayName("toString should handle various pipe names") void testToStringWithVariousPipeNames(String pipeName) { // Arrange
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponse.java
/** * Share type constant for disk shares (file shares). */ public static final byte SMB2_SHARE_TYPE_DISK = 0x1; /** * Share type constant for named pipe shares (IPC). */ public static final byte SMB2_SHARE_TYPE_PIPE = 0x2; /** * Share type constant for printer shares. */ public static final byte SMB2_SHARE_TYPE_PRINT = 0x3; /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbFileInputStream.java
return 0; } try { pipe = (SmbNamedPipe) file; file.open(SmbFile.O_EXCL, pipe.pipeType & 0xFF0000, SmbFile.ATTR_NORMAL, 0); req = new TransPeekNamedPipe(file.unc, file.fid); resp = new TransPeekNamedPipeResponse(pipe); pipe.send(req, resp); if (resp.status == TransPeekNamedPipeResponse.STATUS_DISCONNECTEDRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 9.4K bytes - Viewed (0)