Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 120 for printer (0.03 sec)

  1. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  2. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.2K bytes
    - Viewed (0)
  3. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:49:49 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  4. 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 query
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/netbios/NameServiceClientImpl.java

                        while (timeout > 0) {
                            response.wait(timeout);
    
                            /*
                             * JetDirect printer can respond to regular broadcast query
                             * with node status so we need to check to make sure that
                             * the record type matches the question type and if not,
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 38.5K bytes
    - Viewed (0)
  6. docs/recipes.md

              if (!it.isSuccessful) throw IOException("Unexpected code $it")
    
              println("Response 2 response:          $it")
              println("Response 2 cache response:    ${it.cacheResponse}")
              println("Response 2 network response:  ${it.networkResponse}")
              return@use it.body!!.string()
            }
    
            println("Response 2 equals Response 1? " + (response1Body == response2Body))
          }
        ```
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 17:01:12 UTC 2025
    - 47.8K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/CompactHashSet.java

          entries[srcIndex] = 0;
    
          // also need to update whoever's "next" pointer was pointing to the last entry place
          int tableIndex = smearedHash(object) & mask;
          int next = CompactHashing.tableGet(table, tableIndex);
          int srcNext = srcIndex + 1;
          if (next == srcNext) {
            // we need to update the root pointer
            CompactHashing.tableSet(table, tableIndex, dstIndex + 1);
          } else {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 23.9K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/CompactHashMap.java

          entries[srcIndex] = 0;
    
          // also need to update whoever's "next" pointer was pointing to the last entry place
          int tableIndex = smearedHash(key) & mask;
          int next = CompactHashing.tableGet(table, tableIndex);
          int srcNext = srcIndex + 1;
          if (next == srcNext) {
            // we need to update the root pointer
            CompactHashing.tableSet(table, tableIndex, dstIndex + 1);
          } else {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 39.6K bytes
    - Viewed (0)
  9. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  10. 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();
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12K bytes
    - Viewed (0)
Back to top