- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 397 for sbuf (0.95 sec)
-
src/main/java/jcifs/internal/witness/WitnessAsyncNotifyMessage.java
int maxCount = buf.dec_ndr_long(); int offset = buf.dec_ndr_long(); int actualCount = buf.dec_ndr_long(); if (actualCount <= 0) { return ""; } // Read wide string data (UTF-16LE) int byteCount = (actualCount - 1) * 2; // Exclude null terminator byte[] wideBytes = new byte[byteCount]; buf.readOctetArray(wideBytes, 0, byteCount);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 24 00:12:28 UTC 2025 - 16.4K bytes - Viewed (0) -
src/main/java/jcifs/smb/MIEName.java
if (buf.length < i + NAME_LEN_SIZE) { throw new IllegalArgumentException(); } len = 0xff000000 & buf[i++] << 24; len |= 0x00ff0000 & buf[i++] << 16; len |= 0x0000ff00 & buf[i++] << 8; len |= 0x000000ff & buf[i++]; // NAME if (buf.length < i + len) { throw new IllegalArgumentException(); } this.name = new String(buf, i, len);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 3.5K bytes - Viewed (0) -
src/bufio/scan_test.go
func genLine(buf *bytes.Buffer, lineNum, n int, addNewline bool) { buf.Reset() doCR := lineNum%5 == 0 if doCR { n-- } for i := 0; i < n-1; i++ { // Stop early for \n. c := 'a' + byte(lineNum+i) if c == '\n' || c == '\r' { // Don't confuse us. c = 'N' } buf.WriteByte(c) } if addNewline { if doCR { buf.WriteByte('\r') } buf.WriteByte('\n') } }
Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Fri Sep 22 16:22:42 UTC 2023 - 14.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/CharSequenceReaderTest.java
char[] buf = new char[10]; assertThrows(IndexOutOfBoundsException.class, () -> reader.read(buf, 0, 11)); assertThrows(IndexOutOfBoundsException.class, () -> reader.read(buf, 10, 1)); assertThrows(IndexOutOfBoundsException.class, () -> reader.read(buf, 11, 0)); assertThrows(IndexOutOfBoundsException.class, () -> reader.read(buf, -1, 5));Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 6.6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/ndr/NdrBuffer.java
Encdec.enc_uint32le(len + 1, buf, i); i += 4; Encdec.enc_uint32le(0, buf, i); i += 4; Encdec.enc_uint32le(len + 1, buf, i); i += 4; try { System.arraycopy(s.getBytes("UTF-16LE"), 0, buf, i, len * 2); } catch (final UnsupportedEncodingException uee) {} i += len * 2; buf[i] = (byte) '\0'; i++;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 10.4K bytes - Viewed (0) -
cmd/background-newdisks-heal-ops_gen_test.go
v := healingTracker{} var buf bytes.Buffer msgp.Encode(&buf, &v) m := v.Msgsize() if buf.Len() > m { t.Log("WARNING: TestEncodeDecodehealingTracker Msgsize() is inaccurate") } vn := healingTracker{} err := msgp.Decode(&buf, &vn) if err != nil { t.Error(err) } buf.Reset() msgp.Encode(&buf, &v) err = msgp.NewReader(&buf).Skip() if err != nil { t.Error(err) } }Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 2.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/api/BaseApiManager.java
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 5.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComWriteResponseTest.java
// create a buffer with count = 0x1234 (4660 decimal) // Using little-endian byte order as per SMBUtil.readInt2 byte[] buf = new byte[12]; buf[0] = 0x34; // Low byte buf[1] = 0x12; // High byte int written = resp.readParameterWordsWireFormat(buf, 0); assertEquals(8, written, "Expected readParameterWordsWireFormat to advance 8 bytes");
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.1K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/EmlExtractor.java
throw new ExtractException(e); } return buf.toString(); } /** * Appends attachment content to the buffer if it can be extracted. * * @param buf the buffer to append content to * @param bodyPart the body part containing the attachment */ protected void appendAttachment(final StringBuilder buf, final BodyPart bodyPart) {
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 12.6K bytes - Viewed (0) -
src/main/java/org/codelibs/core/exception/ConstructorNotFoundRuntimeException.java
Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat Jul 05 00:11:05 UTC 2025 - 3.8K bytes - Viewed (0)