- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 14 for readPom (0.06 seconds)
-
src/bytes/buffer.go
const ( opRead readOp = -1 // Any other read operation. opInvalid readOp = 0 // Non-read operation. opReadRune1 readOp = 1 // Read rune of size 1. opReadRune2 readOp = 2 // Read rune of size 2. opReadRune3 readOp = 3 // Read rune of size 3. opReadRune4 readOp = 4 // Read rune of size 4. ) // ErrTooLarge is passed to panic if memory cannot be allocated to store data in a buffer.
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Fri Nov 14 19:01:17 GMT 2025 - 16.5K bytes - Click Count (0) -
cmd/metrics-v3-cache.go
cachevalue.Opts{ReturnLastGood: true}, loadHealth, ) } func getDiffStats(initialStats, currentStats madmin.DiskIOStats) madmin.DiskIOStats { return madmin.DiskIOStats{ ReadIOs: currentStats.ReadIOs - initialStats.ReadIOs, WriteIOs: currentStats.WriteIOs - initialStats.WriteIOs, ReadSectors: currentStats.ReadSectors - initialStats.ReadSectors, WriteSectors: currentStats.WriteSectors - initialStats.WriteSectors,Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 8.1K bytes - Click Count (0) -
src/archive/tar/writer_test.go
} case testReadFrom: f := &testFile{ops: tf.ops} got, err := tw.readFrom(f) if _, ok := err.(testError); ok { t.Errorf("test %d, ReadFrom(): %v", i, err) } else if got != tf.wantCnt || !equalError(err, tf.wantErr) { t.Errorf("test %d, ReadFrom() = (%d, %v), want (%d, %v)", i, got, err, tf.wantCnt, tf.wantErr) } if len(f.ops) > 0 {Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Mon Dec 15 16:34:13 GMT 2025 - 40.2K bytes - Click Count (0) -
src/main/java/jcifs/pac/kerberos/KerberosToken.java
throw new PACDecodingException("Not a kerberos token"); } int readLow = stream.read() & 0xff; int readHigh = stream.read() & 0xff; int read = (readHigh << 8) + readLow; if (read != 0x01) { throw new PACDecodingException("Malformed kerberos token"); }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 3.8K bytes - Click Count (0) -
src/bufio/bufio.go
n := copy(b.buf[b.n:], s) b.n += n nn += n return nn, nil } // ReadFrom implements [io.ReaderFrom]. If the underlying writer // supports the ReadFrom method, this calls the underlying ReadFrom. // If there is buffered data and an underlying ReadFrom, this fills // the buffer and writes it before calling ReadFrom. func (b *Writer) ReadFrom(r io.Reader) (n int64, err error) { if b.err != nil { return 0, b.err }
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Fri Feb 06 17:28:40 GMT 2026 - 22K bytes - Click Count (0) -
src/bytes/buffer_test.go
func TestReadFromPanicReader(t *testing.T) { // First verify non-panic behaviour var buf Buffer i, err := buf.ReadFrom(panicReader{}) if err != nil { t.Fatal(err) } if i != 0 { t.Fatalf("unexpected return from bytes.ReadFrom (1): got: %d, want %d", i, 0) } check(t, "TestReadFromPanicReader (1)", &buf, "") // Confirm that when Reader panics, the empty buffer remains empty
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Fri Nov 14 19:01:17 GMT 2025 - 19.4K bytes - Click Count (0) -
cmd/metrics-realtime.go
if v.Count != 0 { dm.LastMinute.Operations[k] = v } } } st, err := disk.GetDriveStats(d.Major, d.Minor) if err == nil { dm.IOStats = madmin.DiskIOStats{ ReadIOs: st.ReadIOs, ReadMerges: st.ReadMerges, ReadSectors: st.ReadSectors, ReadTicks: st.ReadTicks, WriteIOs: st.WriteIOs, WriteMerges: st.WriteMerges,Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 6.3K bytes - Click Count (0) -
cmd/metrics-resource.go
updateResourceMetrics(driveSubsystem, writesKBPerSec, writeKib/diffInSeconds, labels, false) rdAwait := 0.0 if diffStats.ReadIOs > 0 { rdAwait = float64(diffStats.ReadTicks) / float64(diffStats.ReadIOs) } updateResourceMetrics(driveSubsystem, readsAwait, rdAwait, labels, false) wrAwait := 0.0 if diffStats.WriteIOs > 0 {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Oct 10 18:57:03 GMT 2025 - 17.2K bytes - Click Count (0) -
internal/disk/stat_linux.go
} if len(stats) < 11 { return IOStats{}, fmt.Errorf("found invalid format while reading %v", statsFile) } // refer https://www.kernel.org/doc/Documentation/block/stat.txt iostats = IOStats{ ReadIOs: stats[0], ReadMerges: stats[1], ReadSectors: stats[2], ReadTicks: stats[3], WriteIOs: stats[4], WriteMerges: stats[5], WriteSectors: stats[6], WriteTicks: stats[7],
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 4.8K bytes - Click Count (0) -
android/guava/src/com/google/common/math/PairedStats.java
"Expected PairedStats.BYTES = %s, got %s", BYTES, byteArray.length); ByteBuffer buffer = ByteBuffer.wrap(byteArray).order(ByteOrder.LITTLE_ENDIAN); Stats xStats = Stats.readFrom(buffer); Stats yStats = Stats.readFrom(buffer); double sumOfProductsOfDeltas = buffer.getDouble(); return new PairedStats(xStats, yStats, sumOfProductsOfDeltas); } private static final long serialVersionUID = 0;Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Jul 08 18:32:10 GMT 2025 - 12.6K bytes - Click Count (0)