- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for getPipeType (0.09 sec)
-
src/main/java/jcifs/smb/SmbPipeHandleImpl.java
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; this.access = pipe.getPipeType() & 7 | 0x20000; this.uncPath = this.pipe.getUncPath(); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 10.2K bytes - Viewed (0) -
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
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.7K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbPipeHandleInternalTest.java
}); } @Test @DisplayName("getPipeType and getPipe delegate to SmbNamedPipe") void pipeType_and_getPipe() { when(pipe.getPipeType()).thenReturn(12345); SmbPipeHandleImpl handle = new SmbPipeHandleImpl(pipe); assertEquals(12345, handle.getPipeType()); assertSame(pipe, handle.getPipe()); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 16.7K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFileInputStream.java
// one extra acquire to keep this open till the stream is released if (this.file instanceof SmbNamedPipe) { this.handle = this.file.openUnshared(SmbConstants.O_EXCL, ((SmbNamedPipe) this.file).getPipeType() & 0xFF0000, this.sharing, SmbConstants.ATTR_NORMAL, 0); } else {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 15.6K bytes - Viewed (0)