- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 311 for getPipe (0.05 sec)
- 
				
				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()); } @TestRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 16.7K bytes - Viewed (0)
- 
				
				src/test/java/jcifs/smb/SmbPipeHandleImplTest.javaassertThrows(NullPointerException.class, () -> target.unwrap(null)); } @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()); } 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/SmbPipeInputStreamTest.javaSmbTreeHandleImpl tree; @Mock SmbFileHandleImpl fd; @Mock Configuration config; private SmbPipeInputStream newStreamWithInit(boolean smb2) throws CIFSException { when(handle.getPipe()).thenReturn(pipe); // init(th) behavior inside SmbFileInputStream constructor when(tree.isSMB2()).thenReturn(smb2); when(tree.getReceiveBufferSize()).thenReturn(4096);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.9K bytes - Viewed (0)
- 
				
				src/main/java/jcifs/smb/SmbPipeInputStream.java/** * @param handle * @param th * @throws SmbException */ SmbPipeInputStream(final SmbPipeHandleImpl handle, final SmbTreeHandleImpl th) throws CIFSException { super(handle.getPipe(), th, null); this.handle = handle; } /** * Ensures that the tree connection is established. * * @return the tree handle implementationRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.8K bytes - Viewed (0)
- 
				
				src/main/java/jcifs/SmbPipeHandle.java* */ public interface SmbPipeHandle extends AutoCloseable { /** * Gets the pipe resource associated with this handle. * * @return the pipe */ SmbPipeResource getPipe(); /** * Gets the input stream for reading from this pipe. * * @return this pipe's input stream * @throws CIFSException if an error occurs getting the input stream */Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.4K bytes - Viewed (0)
- 
				
				src/main/java/jcifs/CIFSContext.java* @param pipeType * the type of the pipe * @return the SMB pipe resource at the specified location * @throws CIFSException if the pipe resource cannot be accessed */ SmbPipeResource getPipe(String url, int pipeType) throws CIFSException; /** * Close all connections and release resources associated with this context * * @return whether any connection was still in useRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.9K bytes - Viewed (0)
- 
				
				src/test/java/jcifs/context/AbstractCIFSContextTest.javaRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7K bytes - Viewed (0)
- 
				
				compat/maven-compat/src/main/java/org/apache/maven/project/artifact/ActiveProjectArtifact.javathis.project = project; artifact.setFile(project.getArtifact().getFile()); artifact.setResolved(true); } /** {@inheritDoc} */ @Override public File getFile() { // we need to get the latest file for the project, not the artifact that was created at one point in time return project.getArtifact().getFile(); } /** {@inheritDoc} */ @OverrideRegistered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 9.9K bytes - Viewed (0)
- 
				
				compat/maven-compat/src/main/java/org/apache/maven/project/artifact/DefaultMavenMetadataCache.javaArtifactRepository localRepository, List<ArtifactRepository> remoteRepositories) { File file = artifact.getFile(); this.artifact = ArtifactUtils.copyArtifact(artifact); if ("pom".equals(artifact.getType()) && file != null) { pomHash = file.getPath().hashCode() + file.lastModified(); } else { pomHash = 0; }Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 11.8K bytes - Viewed (0)
- 
				
				src/test/java/jcifs/tests/persistent/HandleInfoTest.javaassertArrayEquals(testFileId, info.getFileId()); assertEquals(HandleType.DURABLE_V2, info.getType()); assertEquals(120000, info.getTimeout()); assertEquals(testLeaseKey, info.getLeaseKey()); assertFalse(info.isReconnecting()); assertNull(info.getFile()); } @Test public void testHandleInfoExpiration() { // Test durable handle expiration Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 4.6K bytes - Viewed (0)