- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 177 for getPipe (0.07 sec)
-
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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.9K bytes - Viewed (0) -
src/test/java/jcifs/context/AbstractCIFSContextTest.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/persistent/HandleInfo.java
*/ public byte[] getFileId() { return Arrays.copyOf(fileId, 16); } /** * Get the handle type * @return the handle type */ public HandleType getType() { return type; } /** * Get the timeout * @return the timeout in milliseconds */ public long getTimeout() { return timeout; } /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 5.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/SmbBasicFileInfoTest.java
Mockito.when(mock.getLastAccessTime()).thenReturn(17L); Mockito.when(mock.getSize()).thenReturn(19L); // Act: invoke each method once int attributes = mock.getAttributes(); long c = mock.getCreateTime(); long w = mock.getLastWriteTime(); long a = mock.getLastAccessTime(); long s = mock.getSize(); // Assert: values and interactions
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/net/SmbShareInfoTest.java
void testGetTypeWithDifferentShareTypes(int inputType, int expectedType) { SmbShareInfo info = new SmbShareInfo(TEST_NET_NAME, inputType, TEST_REMARK); assertEquals(expectedType, info.getType()); } @Test @DisplayName("Test getType with hidden flag") void testGetTypeWithHiddenFlag() { // Hidden flag (0x80000000) should be masked out int hiddenPrinterType = 0x80000001; // Hidden printer
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileStandardInfoTest.java
secondInstance.decode(encodedBuffer, 0, encodedBuffer.length); // Verify both instances have same values assertEquals(firstInstance.getSize(), secondInstance.getSize()); assertEquals(expectedEndOfFile, secondInstance.getSize()); } @Test @DisplayName("Test toString method") void testToString() throws SMBProtocolDecodingException { // Setup test data
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.1K bytes - Viewed (0) -
src/test/java/org/codelibs/core/convert/DateConversionUtilTest.java
assertThat(new SimpleDateFormat("yyyy/MM/dd").format(calendar.getTime()), is("2010/09/07")); } /** * @throws Exception */ @Test public void testToCalendar_MediumStyle() throws Exception { final Calendar calendar = toCalendar("2010/9/7"); assertThat(new SimpleDateFormat("yyyy/MM/dd").format(calendar.getTime()), is("2010/09/07")); } /** * @throws Exception
Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 9.4K bytes - Viewed (0) -
src/main/java/jcifs/ntlmssp/av/AvPairs.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.3K bytes - Viewed (0) -
src/test/java/org/codelibs/curl/io/ContentOutputStreamTest.java
} @Test public void testMultipleGetFile() throws IOException { // Calling getFile() multiple times should return the same file ContentOutputStream cos = new ContentOutputStream(5, Curl.tmpDir); cos.write(new byte[] { 0, 1, 2, 3, 4, 5 }); File file1 = cos.getFile(); File file2 = cos.getFile(); assertEquals(file1.getAbsolutePath(), file2.getAbsolutePath());Registered: Sat Dec 20 09:13:53 UTC 2025 - Last Modified: Wed Nov 12 14:01:04 UTC 2025 - 9.9K bytes - Viewed (0) -
src/main/java/org/codelibs/curl/io/ContentOutputStream.java
*/ public ContentOutputStream(final int threshold, final File tmpDir) { super(threshold, PREFIX, SUFFIX, tmpDir); } @Override public File getFile() { done = true; return super.getFile(); } /** * Closes the stream and deletes the temporary file if it was not retrieved. * If an error occurs during file deletion, it is logged but not thrown to avoidRegistered: Sat Dec 20 09:13:53 UTC 2025 - Last Modified: Thu Nov 20 13:34:13 UTC 2025 - 3.9K bytes - Viewed (0)