Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 129 for 0x2d (0.06 sec)

  1. src/main/java/jcifs/smb1/netbios/NbtSocket.java

            this.address = address;
            if (calledName == null) {
                this.calledName = address.hostName;
            } else {
                this.calledName = new Name(calledName, 0x20, null);
            }
            soTimeout = Config.getInt("jcifs.smb1.netbios.soTimeout", DEFAULT_SO_TIMEOUT);
            connect();
        }
    
        /**
         * Returns the NetBIOS address associated with this socket.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/netbios/NameServiceClientImplTest.java

            // When/Then - Should throw UnknownHostException quickly
            UnknownHostException exception = assertThrows(UnknownHostException.class, () -> {
                nameServiceClient.getNbtByName("NONEXISTENT-FAST-FAIL", 0x20, null);
            }, "Should throw UnknownHostException for non-existent NetBIOS name with type");
    
            // Verify the exception message indicates name resolution failure
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 11K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/primitives/CharsTest.java

          fail();
        } catch (IllegalArgumentException expected) {
        }
      }
    
      @GwtIncompatible // Chars.fromByteArray
      public void testFromByteArray() {
        assertThat(Chars.fromByteArray(new byte[] {0x23, 0x45, (byte) 0xDC})).isEqualTo('\u2345');
        assertThat(Chars.fromByteArray(new byte[] {(byte) 0xFE, (byte) 0xDC})).isEqualTo('\uFEDC');
      }
    
      @GwtIncompatible // Chars.fromByteArray
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 25.9K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/primitives/ShortsTest.java

        assertThat(Shorts.toByteArray((short) 0x2345)).isEqualTo(new byte[] {0x23, 0x45});
        assertThat(Shorts.toByteArray((short) 0xFEDC)).isEqualTo(new byte[] {(byte) 0xFE, (byte) 0xDC});
      }
    
      @GwtIncompatible // Shorts.fromByteArray
      public void testFromByteArray() {
        assertThat(Shorts.fromByteArray(new byte[] {0x23, 0x45})).isEqualTo((short) 0x2345);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 27.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/NetbiosAddress.java

         *             determine the MAC address.
         */
        byte[] getMacAddress(CIFSContext tc) throws UnknownHostException;
    
        /**
         * Returned the hex code associated with this name(e.g. 0x20 is for the file service)
         *
         * @return the name type
         */
        int getNameType();
    
        /**
         * Gets the NetBIOS name associated with this address.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/SmbResourceTest.java

            }
    
            @Test
            @DisplayName("getAttributes should return file attributes")
            void testGetAttributes() throws CIFSException {
                // Given
                int expectedAttributes = 0x20; // FILE_ATTRIBUTE_ARCHIVE
                when(mockResource.getAttributes()).thenReturn(expectedAttributes);
    
                // When
                int attributes = mockResource.getAttributes();
    
                // Then
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 35K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/xml/XmlEscapers.java

         *
         * Implementation note: An alternative to the following would be to make a map that simply
         * replaces the allowed ASCII whitespace characters with themselves and to set the minimum safe
         * character to 0x20. However this would slow down the escaping of simple strings that contain
         * \t, \n, or \r.
         */
        for (char c = MIN_ASCII_CONTROL_CHAR; c <= MAX_ASCII_CONTROL_CHAR; c++) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jun 20 17:15:33 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/SmbNegotiationTest.java

            SmbNegotiationRequest anotherRequest = mock(SmbNegotiationRequest.class);
            SmbNegotiationResponse anotherResponse = mock(SmbNegotiationResponse.class);
            byte[] anotherRequestBuffer = new byte[] { 0x10, 0x20 };
            byte[] anotherResponseBuffer = new byte[] { 0x30, 0x40 };
    
            SmbNegotiation anotherNegotiation =
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequestTest.java

            assertEquals(0x2, Smb2ChangeNotifyRequest.FILE_NOTIFY_CHANGE_DIR_NAME);
            assertEquals(0x4, Smb2ChangeNotifyRequest.FILE_NOTIFY_CHANGE_ATTRIBUTES);
            assertEquals(0x8, Smb2ChangeNotifyRequest.FILE_NOTIFY_CHANGE_SIZE);
            assertEquals(0x10, Smb2ChangeNotifyRequest.FILE_NOTIFY_CHANGE_LAST_WRITE);
            assertEquals(0x20, Smb2ChangeNotifyRequest.FILE_NOTIFY_CHANGE_LAST_ACCESS);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  10. 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)
Back to top