- Sort Score
- Num 10 results
- Language All
Results 291 - 300 of 397 for mbuf (0.02 seconds)
-
internal/s3select/csv/reader.go
if skip > 0 { n, err := io.ReadFull(r.buf, dst) if err != nil && err != io.ErrUnexpectedEOF { // If an EOF happens after reading some but not all the bytes, // ReadFull returns ErrUnexpectedEOF. return dst[:n], err } dst = dst[:n] if err == io.ErrUnexpectedEOF { return dst, io.EOF } } // Read until next line. in, err := r.buf.ReadBytes('\n') dst = append(dst, in...)
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue May 27 15:19:03 GMT 2025 - 8.8K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/TestLocking.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 4.2K bytes - Click Count (0) -
src/main/java/jcifs/smb1/http/NetworkExplorer.java
} try { mimeMap = new MimeMap(); is = getClass().getClassLoader().getResourceAsStream("jcifs/smb1/http/ne.css"); while ((n = is.read(buf)) != -1) { sb.append(new String(buf, 0, n, "ISO8859_1")); } style = sb.toString(); } catch (final IOException ioe) { throw new ServletException(ioe.getMessage()); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 22.6K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/SystemHelper.java
final StringBuilder buf = new StringBuilder(); updateConfigListenerMap.entrySet().stream().forEach(e -> { buf.append(e.getKey()).append(": "); try { buf.append(e.getValue().get()); } catch (final Exception ex) { logger.warn("Failed to process {} task.", e.getKey(), ex); buf.append(ex.getMessage()); }
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 28 06:59:19 GMT 2026 - 43.2K bytes - Click Count (0) -
guava-tests/test/com/google/common/io/ByteStreamsTest.java
private static class TestByteProcessor implements ByteProcessor<byte[]> { private final ByteArrayOutputStream out = new ByteArrayOutputStream(); @Override public boolean processBytes(byte[] buf, int off, int len) { out.write(buf, off, len); return true; } @Override public byte[] getResult() { return out.toByteArray(); } }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 19:26:39 GMT 2026 - 22K bytes - Click Count (0) -
cmd/bucket-handlers.go
} fanOutEntries = append(fanOutEntries, m) } part.Close() continue } buf := bytebufferpool.Get() // value, store as string in memory n, err := io.CopyN(buf, part, maxMemoryBytes+1) value := buf.String() buf.Reset() bytebufferpool.Put(buf) part.Close() if err != nil && err != io.EOF { apiErr := errorCodes.ToAPIErr(ErrMalformedPOSTRequest)
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 63.9K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/LittleEndianDataInputStreamTest.java
assertThrows(EOFException.class, in::readUnsignedByte); } public void testReadUnsignedShort_eof() throws IOException { byte[] buf = {23}; DataInput in = new LittleEndianDataInputStream(new ByteArrayInputStream(buf)); assertThrows(EOFException.class, in::readUnsignedShort); } @SuppressWarnings("DoNotCall") public void testReadLine() throws IOException {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 19:26:39 GMT 2026 - 4.9K bytes - Click Count (0) -
docs/debugging/xattr/main.go
"github.com/pkg/xattr" ) var ( path, name string value uint64 set, list bool ) func getxattr(path, name string) (uint64, error) { buf, err := xattr.LGet(path, name) if err != nil { return 0, err } return binary.LittleEndian.Uint64(buf[:8]), nil } func listxattr(path string) ([]string, error) { return xattr.LList(path) } func setxattr(path, name string, value uint64) error {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Dec 29 23:52:41 GMT 2023 - 3.2K bytes - Click Count (0) -
src/archive/tar/reader_test.go
t.Fatalf("entry %d, Next(): got %v, want %v", i, err, nil) } buf := make([]byte, tc.cnt) if _, err := io.ReadFull(tr, buf); err != nil { t.Fatalf("entry %d, ReadFull(): got %v, want %v", i, err, nil) } if string(buf) != tc.output { t.Fatalf("entry %d, ReadFull(): got %q, want %q", i, string(buf), tc.output) } } if _, err := tr.Next(); err != io.EOF {
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Tue Dec 30 15:28:53 GMT 2025 - 47.5K bytes - Click Count (0) -
internal/dsync/dsync-client_test.go
// Call makes a REST call to the remote endpoint using the msgp codec func (restClient *ReconnectRESTClient) Call(method string, args LockArgs) (status bool, err error) { buf, err := args.MarshalMsg(nil) if err != nil { return false, err } body := bytes.NewReader(buf) respBody, err := restClient.rest.Call(context.Background(), method, url.Values{}, body, body.Size()) defer xhttp.DrainBody(respBody)
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Thu Jan 20 17:36:09 GMT 2022 - 4.4K bytes - Click Count (0)