Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 158 for 0x1d (0.02 sec)

  1. src/test/java/jcifs/internal/smb2/lease/Smb2LeaseKeyTest.java

            byte[] testBytes1 = new byte[] { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F, 0x10 };
            byte[] testBytes2 = Arrays.copyOf(testBytes1, 16);
            byte[] testBytes3 = new byte[] { 0x11, 0x12, 0x13, 0x14, 0x15, 0x16, 0x17, 0x18, 0x19, 0x1A, 0x1B, 0x1C, 0x1D, 0x1E, 0x1F, 0x20 };
    
            Smb2LeaseKey key1 = new Smb2LeaseKey(testBytes1);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 00:16:17 UTC 2025
    - 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/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)
  4. 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)
  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/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)
  7. 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)
  8. src/test/java/jcifs/NetbiosNameTest.java

            // Then
            assertEquals(testType, nameType);
            verify(mockNetbiosName).getNameType();
        }
    
        @ParameterizedTest
        @ValueSource(ints = { 0x00, 0x03, 0x06, 0x1B, 0x1C, 0x1D, 0x1E, 0x20 })
        @DisplayName("Should handle various NetBIOS name types")
        void testVariousNameTypes(int nameType) {
            // Given
            when(mockNetbiosName.getNameType()).thenReturn(nameType);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top