- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 94 for printer (0.06 sec)
-
src/test/java/jcifs/internal/smb1/net/SmbShareInfoTest.java
assertEquals(0, info.getFileIndex()); } @ParameterizedTest @DisplayName("Test getType with different share types") @CsvSource({ "1, " + SmbConstants.TYPE_PRINTER, // Printer share "3, " + SmbConstants.TYPE_NAMED_PIPE, // Named pipe "0, " + SmbConstants.TYPE_SHARE, // Standard share "2, " + SmbConstants.TYPE_SHARE, // Unknown type defaults to share
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/smb1/net/NetShareEnumResponseTest.java
@ParameterizedTest @DisplayName("Test readDataWireFormat with various share types") @CsvSource({ "0, SHARE, Normal share", "1, PRINTER, Printer share", "3, IPC$, IPC share", "32768, HIDDEN, Hidden share", // 0x8000 - hidden flag in lower 16 bits "32769, HIDDENP, Hidden printer" // 0x8001 - hidden flag + printer type }) void testReadDataWireFormatWithVariousShareTypes(int type, String name, String remark) throws Exception {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.2K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/NameServiceClient.java
log.println(request); Hexdump.hexdump(log, snd_buf, 0, out.getLength()); } } final long start = System.currentTimeMillis(); while (timeout > 0) { response.wait(timeout); /* JetDirect printer can respond to regular broadcast queryRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 17.6K bytes - Viewed (0) -
src/main/java/jcifs/SmbConstants.java
* represents is a named pipe. */ int TYPE_NAMED_PIPE = 0x10; /** * Returned by {@link jcifs.SmbResource#getType()} if the resource this <code>SmbFile</code> * represents is a printer. */ int TYPE_PRINTER = 0x20; /** * Returned by {@link jcifs.SmbResource#getType()} if the resource this <code>SmbFile</code> * represents is a communications device. */Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 24 00:49:49 UTC 2025 - 12.8K bytes - Viewed (0) -
src/main/java/jcifs/netbios/NameServiceClientImpl.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 38.5K bytes - Viewed (0) -
src/main/java/jcifs/http/NetworkExplorer.java
out.print(path); out.print(name); if (f.isDirectory()) { out.print("?fmt=detail\"><b>"); out.print(name); out.print("</b></a>"); } else { out.print("\"><b>"); out.print(name); out.print("</b></a><div align='right'>");Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 23.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/CriticalPerformanceTest.java
double avgReleaseTimeNs = totalReleaseTime.get() / (double) releases.get(); System.out.printf("Buffer Cache Performance: %d allocs, %d releases in %.2f ms%n", allocations.get(), releases.get(), overallTimeMs); System.out.printf(" Avg allocation time: %.2f ns%n", avgAllocTimeNs); System.out.printf(" Avg release time: %.2f ns%n", avgReleaseTimeNs);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 15.3K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/srvsvcTest.java
when(mockNdrBuffer.dec_ndr_long()).thenReturn(0); // null pointer shareInfo0.decode(mockNdrBuffer); assertNull(shareInfo0.netname); verify(mockNdrBuffer).align(4); verify(mockNdrBuffer).dec_ndr_long(); // Should not decode string if pointer is null verify(mockDeferredBuffer, never()).dec_ndr_string(); } @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbRandomAccessFile.java
/** * Returns the current position of the file pointer. * * @return the current file pointer position * @throws SmbException if an I/O error occurs */ public long getFilePointer() throws SmbException { return fp; } /** * Sets the file pointer to the specified position. * * @param pos the new file pointer positionRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 14.1K bytes - Viewed (0) -
README.md
.setSize(10) // max suggestions .execute() .getResponse(); // Process suggestions response.getItems().forEach(item -> { System.out.println("Suggestion: " + item.getText()[0]); System.out.println("Score: " + item.getScore()); }); ``` #### 4. Asynchronous Suggestions ```java suggester.suggest() .setQuery("sea") .execute() .done(response -> {
Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Sun Aug 31 03:31:14 UTC 2025 - 12.1K bytes - Viewed (1)