- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for readScopeWireFormat (0.09 sec)
-
src/main/java/jcifs/netbios/Name.java
this.hexCode = (src[srcIndex + TYPE_OFFSET] & 0xFF) - 0x41 << 4; this.hexCode |= (src[srcIndex + TYPE_OFFSET + 1] & 0xFF) - 0x41 & 0x0F; return SCOPE_OFFSET + readScopeWireFormat(src, srcIndex + SCOPE_OFFSET); } int writeScopeWireFormat(final byte[] dst, int dstIndex) { if (this.scope == null) { dst[dstIndex] = (byte) 0x00; return 1;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/Name.java
hexCode = (src[srcIndex + TYPE_OFFSET] & 0xFF) - 0x41 << 4; hexCode |= (src[srcIndex + TYPE_OFFSET + 1] & 0xFF) - 0x41 & 0x0F; return SCOPE_OFFSET + readScopeWireFormat(src, srcIndex + SCOPE_OFFSET); } int writeScopeWireFormat(final byte[] dst, int dstIndex) { if (scope == null) { dst[dstIndex] = (byte) 0x00; return 1; }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.2K bytes - Viewed (0) -
src/test/java/jcifs/netbios/NameTest.java
@Test void readScopeWireFormat_withNullScope_shouldReturnOne() { byte[] src = new byte[10]; src[0] = 0x00; Name name = new Name(mockConfig); int length = name.readScopeWireFormat(src, 0); assertNull(name.scope); assertEquals(1, length); } @Test void equals_withSameName_shouldReturnTrue() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.4K bytes - Viewed (0)