Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 103 for 0x1d (1.03 sec)

  1. src/test/java/jcifs/smb/SmbResourceLocatorImplTest.java

        @DisplayName("isWorkgroup true for empty host or NetBIOS 0x1d/0x1b")
        void testIsWorkgroup() throws Exception {
            assertTrue(locator("smb:///share").isWorkgroup()); // empty host
    
            Address addr = mock(Address.class);
            NetbiosAddress nb = mock(NetbiosAddress.class);
            when(addr.unwrap(NetbiosAddress.class)).thenReturn(nb);
            when(nb.getNameType()).thenReturn(0x1b);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/netbios/NbtAddressTest.java

            // Test nextCalledName when calledName is SMBSERVER_NAME and nameType is 0x1D
            when(mockContext.getNameServiceClient()).thenReturn(mockNameServiceClient);
            mockName = new Name(mockConfig, "MASTERBROWSER", 0x1D, null);
            NbtAddress nbtAddress = new NbtAddress(mockName, testAddressInt, false, NbtAddress.H_NODE);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/netbios/NbtAddress.java

                        dots++;
                        i++;
                    }
                }
            } else {
                switch (this.hostName.hexCode) {
                case 0x1B:
                case 0x1C:
                case 0x1D:
                    this.calledName = SMBSERVER_NAME;
                }
            }
    
            return this.calledName;
        }
    
        /**
         *
         * @param tc
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/UrlComponentEncodingTester.kt

          encodings[ 0x18] = encoding // Cancel
          encodings[ 0x19] = encoding // End of Medium
          encodings[ 0x1a] = encoding // Substitute
          encodings[ 0x1b] = encoding // Escape
          encodings[ 0x1c] = encoding // File Separator
          encodings[ 0x1d] = encoding // Group Separator
          encodings[ 0x1e] = encoding // Record Separator
          encodings[ 0x1f] = encoding // Unit Separator
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/netbios/NameServiceClientImpl.java

            }
    
        }
    
        NetbiosAddress[] lookupServerOrWorkgroup(final String name, final InetAddress svr) throws UnknownHostException {
            final Sem sem = new Sem(2);
            final int type = isWINS(svr) ? 0x1b : 0x1d;
    
            final QueryThread q1x = new QueryThread(sem, name, type, null, svr, this.transportContext);
            final QueryThread q20 = new QueryThread(sem, name, 0x20, null, svr, this.transportContext);
    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. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Huffman.kt

          0xffffffa,
          0xffffffb,
          0x14,
          0x3f8,
          0x3f9,
          0xffa,
          0x1ff9,
          0x15,
          0xf8,
          0x7fa,
          0x3fa,
          0x3fb,
          0xf9,
          0x7fb,
          0xfa,
          0x16,
          0x17,
          0x18,
          0x0,
          0x1,
          0x2,
          0x19,
          0x1a,
          0x1b,
          0x1c,
          0x1d,
          0x1e,
          0x1f,
          0x5c,
          0xfb,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 11K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbResourceLocatorImpl.java

                        if (nbaddr != null) {
                            final int code = nbaddr.getNameType();
                            if (code == 0x1d || code == 0x1b) {
                                this.type = SmbConstants.TYPE_WORKGROUP;
                                return this.type;
                            }
                        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 23.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/netbios/NbtAddress.java

                        dots++;
                        i++;
                    }
                }
            } else {
                switch (hostName.hexCode) {
                case 0x1B:
                case 0x1C:
                case 0x1D:
                    calledName = SMBSERVER_NAME;
                }
            }
    
            return calledName;
        }
    
        /**
         * Gets the next called name for session establishment.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.7K bytes
    - Viewed (0)
  9. src/test/java/jcifs/netbios/SessionRequestPacketTest.java

        private static Stream<Arguments> provideNamesForWriteTest() {
            return Stream.of(Arguments.of("SERVER", 0x20, "CLIENT", 0x00), Arguments.of("WORKSTATION", 0x00, "USER", 0x03),
                    Arguments.of("DOMAIN", 0x1B, "BROWSER", 0x1D), Arguments.of("A", 0x20, "B", 0x00),
                    Arguments.of("VERYLONGNAMETEST", 0x20, "ANOTHERLONGNAME", 0x00));
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/UniAddress.java

        }
    
        static NbtAddress lookupServerOrWorkgroup(final String name, final InetAddress svr) throws UnknownHostException {
            final Sem sem = new Sem(2);
            final int type = NbtAddress.isWINS(svr) ? 0x1b : 0x1d;
    
            final QueryThread q1x = new QueryThread(sem, name, type, null, svr);
            final QueryThread q20 = new QueryThread(sem, name, 0x20, null, svr);
            q1x.setDaemon(true);
            q20.setDaemon(true);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 17K bytes
    - Viewed (0)
Back to top