- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 246 for bufB (0.01 sec)
-
src/test/java/jcifs/smb1/dcerpc/ndr/NdrShortTest.java
buf.reset(); ns.encode(buf); // should not throw // After encoding, check how many bytes were used int bytesUsed = buf.getIndex(); // Should be 2 bytes for the short value (alignment may add padding) assertTrue(bytesUsed >= 2, "Should use at least 2 bytes for short"); // Reset index to read back buf.reset();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/timer/MonitorTarget.java
tempBuf.append("null"); } buf.append(tempBuf.toString()); return buf; } /** * Appends a timestamp to the buffer. * * @param buf the string buffer to append to * @return the updated buffer */ protected StringBuilder appendTimestamp(final StringBuilder buf) { final SystemHelper systemHelper = ComponentUtil.getSystemHelper();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 3.8K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbPipeHandleInternal.java
* * @param buf buffer to receive data into * @param off offset in the buffer * @param length maximum length to receive * @return number of bytes received * @throws IOException if an I/O error occurs */ int recv(byte[] buf, int off, int length) throws IOException; /** * Send data to the pipe * * @param buf buffer containing data to send
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.7K bytes - Viewed (0) -
src/main/java/org/codelibs/core/text/DecimalFormatUtil.java
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 2.5K bytes - Viewed (0) -
src/archive/zip/reader.go
var buf []byte var directoryEndOffset int64 for i, bLen := range []int64{1024, 65 * 1024} { if bLen > size { bLen = size } buf = make([]byte, int(bLen)) if _, err := r.ReadAt(buf, size-bLen); err != nil && err != io.EOF { return nil, 0, err } if p := findSignatureInBlock(buf); p >= 0 { buf = buf[p:] directoryEndOffset = size - bLen + int64(p)
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Tue Mar 11 22:19:38 UTC 2025 - 28.4K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2QueryFSInformationTest.java
Trans2QueryFSInformation cmd = new Trans2QueryFSInformation(5); byte[] buf = newBuffer(10); int written = cmd.writeSetupWireFormat(buf, 0); assertEquals(2, written, "setup packet should write 2 bytes"); assertEquals(SmbComTransaction.TRANS2_QUERY_FS_INFORMATION, buf[0], "first byte should be subCommand"); assertEquals((byte) 0x00, buf[1], "second byte should be zero"); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.5K bytes - Viewed (0) -
cmd/xl-storage-format-v2.go
if err != nil { return 0, 0, 0, buf, err } if hdrVer > xlHeaderVersion { return 0, 0, 0, buf, fmt.Errorf("decodeXLHeaders: Unknown xl header version %d", hdrVer) } if metaVer > xlMetaVersion { return 0, 0, 0, buf, fmt.Errorf("decodeXLHeaders: Unknown xl meta version %d", metaVer) } versions, buf, err = msgp.ReadIntBytes(buf) if err != nil { return 0, 0, 0, buf, err }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 65.6K bytes - Viewed (1) -
src/main/java/org/codelibs/core/lang/StringUtil.java
*/ public static void appendHex(final StringBuilder buf, final int i) { buf.append(Integer.toHexString(i >> 24 & 0xff)); buf.append(Integer.toHexString(i >> 16 & 0xff)); buf.append(Integer.toHexString(i >> 8 & 0xff)); buf.append(Integer.toHexString(i & 0xff)); } /** * Converts an underscore-separated string to camel case. * <p> * Usage example: * </p>
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 21.9K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2FindNext2Test.java
byte[] buf = new byte[16]; // When/Then assertEquals(0, next.readSetupWireFormat(buf, 0, buf.length)); assertEquals(0, next.readParametersWireFormat(buf, 0, buf.length)); assertEquals(0, next.readDataWireFormat(buf, 0, buf.length)); assertEquals(0, next.writeDataWireFormat(buf, 0)); } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.9K bytes - Viewed (0) -
src/archive/tar/fuzz_test.go
files := []file{} for { hdr, err := r.Next() if err == io.EOF { break } if err != nil { return } buf := bytes.NewBuffer(nil) if _, err := io.Copy(buf, r); err != nil { continue } files = append(files, file{header: hdr, content: buf.Bytes()}) } // If we were unable to read anything out of the archive don't // bother trying to roundtrip it. if len(files) == 0 {
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Thu Jan 13 18:06:33 UTC 2022 - 2.2K bytes - Viewed (0)