- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 34 for realBytes (0.09 sec)
-
internal/s3select/csv/reader.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 } // csvSplitSize 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: Thu Feb 22 06:26:06 UTC 2024 - 8.9K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/FileUtil.java
} } /** * ファイルの内容をバイト配列に読み込んで返します。 * * @param file * ファイル。{@literal null}であってはいけません * @return ファイルの内容を読み込んだバイト配列 */ public static byte[] readBytes(final File file) { assertArgumentNotNull("file", file); final FileInputStream is = InputStreamUtil.create(file); try { final FileChannel channel = is.getChannel();
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 9K bytes - Viewed (0) -
src/bufio/bufio_test.go
} func TestReaderSimple(t *testing.T) { data := "hello world" b := NewReader(strings.NewReader(data)) if s := readBytes(b); s != "hello world" { t.Errorf("simple hello world test failed: got %q", s) } b = NewReader(newRot13Reader(strings.NewReader(data))) if s := readBytes(b); s != "uryyb jbeyq" { t.Errorf("rot13 hello world test failed: got %q", s) } } type readMaker struct { name string
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Fri Nov 01 21:52:12 UTC 2024 - 51.6K 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/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) -
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/metrics-v2.go
MetricV2{ Description: getMinIOProcessSysCallWMD(), Value: float64(io.SyscW), }) } if io.ReadBytes > 0 { metrics = append(metrics, MetricV2{ Description: getMinioProcessIOReadBytesMD(), Value: float64(io.ReadBytes), }) } if io.WriteBytes > 0 { metrics = append(metrics, MetricV2{
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 15 12:04:40 UTC 2024 - 131.9K bytes - Viewed (0) -
internal/grid/msg_gen.go
} { var zb0004 uint8 zb0004, err = dc.ReadUint8() if err != nil { err = msgp.WrapError(err, "Flags") return } z.Flags = Flags(zb0004) } z.Payload, err = dc.ReadBytes(z.Payload) if err != nil { err = msgp.WrapError(err, "Payload") return } return } // EncodeMsg implements msgp.Encodable func (z *message) EncodeMsg(en *msgp.Writer) (err error) {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Jul 25 21:07:21 UTC 2024 - 22.4K 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) -
guava/src/com/google/common/io/ByteStreams.java
* @throws IOException if an I/O error occurs * @since 14.0 */ @CanIgnoreReturnValue // some processors won't return a useful result @ParametricNullness public static <T extends @Nullable Object> T readBytes( InputStream input, ByteProcessor<T> processor) throws IOException { checkNotNull(input); checkNotNull(processor); byte[] buf = createBuffer(); int read; do {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 29.7K bytes - Viewed (0)