- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 13 for readBytes (0.12 sec)
-
cmd/bucket-metadata_gen.go
z.LifecycleConfigXML, err = dc.ReadBytes(z.LifecycleConfigXML) if err != nil { err = msgp.WrapError(err, "LifecycleConfigXML") return } case "ObjectLockConfigXML": z.ObjectLockConfigXML, err = dc.ReadBytes(z.ObjectLockConfigXML) if err != nil { err = msgp.WrapError(err, "ObjectLockConfigXML") return } case "VersioningConfigXML": z.VersioningConfigXML, err = dc.ReadBytes(z.VersioningConfigXML)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Aug 28 15:32:18 UTC 2024 - 25.4K bytes - Viewed (0) -
src/bytes/buffer_test.go
} // after successful read if _, err := b.ReadBytes('m'); err != nil { t.Fatalf("ReadBytes: %v", err) } if err := b.UnreadByte(); err != nil { t.Fatalf("UnreadByte: %v", err) } c, err := b.ReadByte() if err != nil { t.Fatalf("ReadByte: %v", err) } if c != 'm' { t.Errorf("ReadByte = %q; want %q", c, 'm') } }
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Tue Sep 03 20:55:15 UTC 2024 - 18.6K bytes - Viewed (0) -
src/bytes/buffer.go
if b.off > 0 { b.off-- } return nil } // ReadBytes reads until the first occurrence of delim in the input, // returning a slice containing the data up to and including the delimiter. // If ReadBytes encounters an error before finding a delimiter, // it returns the data read before the error and the error itself (often [io.EOF]). // ReadBytes returns err != nil if and only if the returned data does not end in // delim.
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Tue Oct 29 16:47:05 UTC 2024 - 15.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/design/AdminDesignAction.java
final String jspType = "view"; final File jspFile = getJspFile(form.fileName, jspType); try { form.content = encodeJsp(new String(FileUtil.readBytes(jspFile), Constants.UTF_8)); } catch (final UnsupportedEncodingException e) { throw new FessSystemException("Invalid encoding", e); } saveToken(); return asEditHtml(form);
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:11:58 UTC 2024 - 16.1K bytes - Viewed (0) -
src/bufio/bufio_test.go
} // Test error after ReadByte. _, _, err = r.ReadRune() // reset state if err != nil { t.Error("unexpected error on ReadRune (2):", err) } for range buf { _, err = r.ReadByte() if err != nil { t.Error("unexpected error on ReadByte (2):", err) } } if r.UnreadRune() == nil { t.Error("expected error after ReadByte") } // Test error after UnreadByte.
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Fri Nov 01 21:52:12 UTC 2024 - 51.6K bytes - Viewed (0) -
internal/s3select/json/preader.go
// 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...) return dst, err } // jsonSplitSize is the size of each block. // Blocks will read this much and find the first following newline.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Sep 23 19:35:41 UTC 2024 - 6.5K bytes - Viewed (0) -
cmd/xl-storage-format-v2_gen.go
s = msgp.Uint8Size return } // DecodeMsg implements msgp.Decodable func (z *xlMetaBuf) DecodeMsg(dc *msgp.Reader) (err error) { { var zb0001 []byte zb0001, err = dc.ReadBytes([]byte((*z))) if err != nil { err = msgp.WrapError(err) return } (*z) = xlMetaBuf(zb0001) } return } // EncodeMsg implements msgp.Encodable
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Oct 22 15:30:50 UTC 2024 - 55.5K bytes - Viewed (0) -
cmd/storage-datatypes_gen.go
return } if dc.IsNil() { err = dc.ReadNil() if err != nil { err = msgp.WrapError(err) return } z.Data = nil } else { z.Data, err = dc.ReadBytes(z.Data) if err != nil { err = msgp.WrapError(err, "Data") return } if z.Data == nil { z.Data = make([]byte, 0) } } z.NumVersions, err = dc.ReadInt() if err != nil {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Oct 22 15:30:50 UTC 2024 - 150.2K bytes - Viewed (0) -
cmd/xl-storage-format-v1_gen.go
zb0002, err = dc.ReadUint() if err != nil { err = msgp.WrapError(err, "Algorithm") return } z.Algorithm = BitrotAlgorithm(zb0002) } case "Hash": z.Hash, err = dc.ReadBytes(z.Hash) if err != nil { err = msgp.WrapError(err, "Hash") return } default: err = dc.Skip() if err != nil { err = msgp.WrapError(err) return } } }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Oct 22 15:30:50 UTC 2024 - 41.2K bytes - Viewed (0) -
android/guava/src/com/google/common/io/ByteSource.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 26.2K bytes - Viewed (0)