- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for isUnknown (0.45 sec)
-
src/main/java/jcifs/netbios/NodeStatusResponse.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 5.8K bytes - Viewed (0) -
src/test/java/jcifs/netbios/NameTest.java
Name name = new Name(mockConfig, "0.0.0.0", 0, null); name.scope = null; assertTrue(name.isUnknown()); } @Test void isUnknown_withNormalName_shouldReturnFalse() { Name name = new Name(mockConfig, "TestName", 0x20, null); assertFalse(name.isUnknown()); } @Test void isUnknown_withNonZeroHexCode_shouldReturnFalse() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.4K bytes - Viewed (0) -
src/main/java/jcifs/netbios/NbtAddress.java
* encountered. The below methods allow state to be populated when requested * in a lazy fashon. */ void checkData(final CIFSContext tc) throws UnknownHostException { if (this.hostName.isUnknown()) { tc.getNameServiceClient().getNbtAllByAddress(this); } } void checkNodeStatusData(final CIFSContext tc) throws UnknownHostException { if (!this.isDataFromNodeStatus) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 15.1K bytes - Viewed (0) -
src/main/java/jcifs/netbios/Name.java
} } /** * Checks if this represents an unknown address. * * @return whether this is the unknown address */ public boolean isUnknown() { return "0.0.0.0".equals(this.name) && this.hexCode == 0 && this.scope == null; } int writeWireFormat(final byte[] dst, final int dstIndex) { // write 0x20 in first byte
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8K bytes - Viewed (0) -
src/test/java/jcifs/netbios/NodeStatusResponseTest.java
@Test void readRDataWireFormat_shouldHandleUnknownQueryAddress() throws Exception { // Setup queryAddress with unknown name Name unknownName = mock(Name.class); lenient().when(unknownName.isUnknown()).thenReturn(true); unknownName.hexCode = 0x20; unknownName.scope = null; mockQueryAddress.hostName = unknownName; response = new NodeStatusResponse(mockConfig, mockQueryAddress);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 19.3K bytes - Viewed (0)