- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for NB (0.34 sec)
-
src/test/java/jcifs/smb/Kerb5ContextTest.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 14.2K bytes - Viewed (0) -
src/test/java/jcifs/netbios/NameServicePacketTest.java
assertEquals((byte) NameServicePacket.NB, dst[11]); // questionType low byte assertEquals((byte) 0x00, dst[12]); // questionClass high byte assertEquals((byte) NameServicePacket.IN, dst[13]); // questionClass low byte } @Test void testReadQuestionSectionWireFormat() { byte[] src = new byte[20]; NameServicePacket.writeInt2(NameServicePacket.NB, src, 10); // Mock type
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbResourceLocatorImplTest.java
// Server vs Workgroup depends on NetBIOS name type Address addr = mock(Address.class); NetbiosAddress nb = mock(NetbiosAddress.class); when(addr.unwrap(NetbiosAddress.class)).thenReturn(nb); when(nb.getNameType()).thenReturn(0x1d); // workgroup code // getFirstAddress branch: host given and path non-root -> possibleNTDomain=falseRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.6K bytes - Viewed (0) -
src/main/java/jcifs/netbios/NameServicePacket.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 11.1K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/NameServicePacket.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 10.6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/ndr/NdrBuffer.java
* @param idx the index position for the derived buffer * @return the derived NdrBuffer */ public NdrBuffer derive(final int idx) { final NdrBuffer nb = new NdrBuffer(buf, start); nb.index = idx; nb.deferred = deferred; return nb; } /** * Resets the buffer position to the start. */ public void reset() { this.index = start; length = 0;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 10.4K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/ndr/NdrBuffer.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 10.7K bytes - Viewed (0) -
src/test/java/org/codelibs/core/lang/StringUtilTest.java
assertEquals("4", "a234a", StringUtil.replace("12341", "1", "a")); assertEquals("5", "ab234abab234ab", StringUtil.replace("1234112341", "1", "ab")); assertEquals("6", "a\\nb", StringUtil.replace("a\nb", "\n", "\\n")); } /** * @throws Exception */ @Test public void testSplit() throws Exception { final String[] array = StringUtil.split("aaa\nbbb", "\n");
Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat Nov 22 11:21:59 UTC 2025 - 11.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/SSPContextTest.java
when(mockCtx.isEstablished()).thenReturn(true); when(mockCtx.initSecContext(any(byte[].class), anyInt(), anyInt())).thenReturn(new byte[] { 9 }); when(mockCtx.getNetbiosName()).thenReturn("NB"); when(mockCtx.isSupported(any())).thenReturn(true); when(mockCtx.isPreferredMech(any())).thenReturn(false); when(mockCtx.getFlags()).thenReturn(123);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.2K bytes - Viewed (0) -
src/test/java/jcifs/netbios/NameQueryResponseTest.java
src[srcIndex] = (byte) 0xC0; src[srcIndex + 1] = 0x0C; // Pointer offset // recordType (2 bytes) src[srcIndex + 2] = 0x00; src[srcIndex + 3] = 0x20; // NB (0x0020) // recordClass (2 bytes) src[srcIndex + 4] = 0x00; src[srcIndex + 5] = 0x01; // IN (0x0001) // ttl (4 bytes) src[srcIndex + 6] = 0x00; src[srcIndex + 7] = 0x00;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.4K bytes - Viewed (0)