- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 21 for nb (0.01 sec)
-
src/main/java/jcifs/smb1/netbios/NameServicePacket.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 10.6K bytes - Viewed (0) -
src/main/java/jcifs/netbios/NameServicePacket.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 11.1K bytes - Viewed (0) -
src/archive/tar/reader.go
// special headers that contain no data section. func (tr *Reader) handleRegularFile(hdr *Header) error { nb := hdr.Size if isHeaderOnlyType(hdr.Typeflag) { nb = 0 } if nb < 0 { return ErrHeader } tr.pad = blockPadding(nb) tr.curr = ®FileReader{r: tr.r, nb: nb} return nil } // handleSparseFile checks if the current file is a sparse format of any type
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Fri Mar 08 01:59:14 UTC 2024 - 26.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/Kerb5ContextTest.java
Registered: Sun Sep 07 00:10:21 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: Sun Sep 07 00:10:21 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=false
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.6K bytes - Viewed (0) -
src/archive/tar/writer.go
type regFileWriter struct { w io.Writer // Underlying Writer nb int64 // Number of remaining bytes to write } func (fw *regFileWriter) Write(b []byte) (n int, err error) { overwrite := int64(len(b)) > fw.nb if overwrite { b = b[:fw.nb] } if len(b) > 0 { n, err = fw.w.Write(b) fw.nb -= int64(n) } switch { case err != nil: return n, err case overwrite:
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Mon Feb 03 16:38:43 UTC 2025 - 19.7K 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: Sun Sep 07 00:10:21 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: Sun Sep 07 00:10:21 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: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 12K bytes - Viewed (0)