Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 221 for Reads (0.03 sec)

  1. cmd/metrics-v3-cluster-usage.go

    		"Cluster object size distribution", "range")
    	usageVersionsDistributionMD = NewGaugeMD(usageVersionCountDistribution,
    		"Cluster object version count distribution", "range")
    )
    
    // loadClusterUsageObjectMetrics - reads cluster usage metrics.
    //
    // This is a `MetricsLoaderFn`.
    func loadClusterUsageObjectMetrics(ctx context.Context, m MetricValues, c *metricsCache) error {
    	dataUsageInfo, err := c.dataUsageInfo.Get()
    	if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Jul 14 18:11:42 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  2. cmd/metrics-v3-cache.go

    	return
    }
    
    func newDriveMetricsCache() *cachevalue.Cache[storageMetrics] {
    	var (
    		// prevDriveIOStats is used to calculate "per second"
    		// values for IOStat related disk metrics e.g. reads/sec.
    		prevDriveIOStats            map[string]madmin.DiskIOStats
    		prevDriveIOStatsMu          sync.RWMutex
    		prevDriveIOStatsRefreshedAt time.Time
    	)
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu May 09 00:51:34 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  3. cmd/metrics-v3-system-drive.go

    		"Count of online drives")
    	driveCountMD = NewGaugeMD(driveCount,
    		"Count of all drives")
    
    	// iostat related
    	driveReadsPerSecMD = NewGaugeMD(driveReadsPerSec,
    		"Reads per second on a drive",
    		allDriveLabels...)
    	driveReadsKBPerSecMD = NewGaugeMD(driveReadsKBPerSec,
    		"Kilobytes read per second on a drive",
    		allDriveLabels...)
    	driveReadsAwaitMD = NewGaugeMD(driveReadsAwait,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun May 12 17:23:50 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  4. internal/grid/grid.go

    		internal32KByteBuffer.Put(&b)
    		return
    	}
    	if cap(b) >= minBufferSize && cap(b) < biggerBufMin {
    		internalByteBuffer.Put(&b)
    		return
    	}
    }
    
    // readAllInto reads from r and appends to b until an error or EOF and returns the data it read.
    // A successful call returns err == nil, not err == EOF. Because readAllInto is
    // defined to read from src until EOF, it does not treat an EOF from Read
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 29 18:10:04 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/MapMakerInternalMap.java

       * concurrently readable hash table. The map supports non-blocking reads and concurrent writes
       * across different segments.
       *
       * The page replacement algorithm's data structures are kept casually consistent with the map. The
       * ordering of writes to a segment is sequentially consistent. An update to the map and recording
       * of reads may not be immediately reflected on the algorithm's data structures. These structures
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 90.8K bytes
    - Viewed (0)
  6. src/bufio/scan_test.go

    		}
    		err := s.Err()
    		if err != nil {
    			t.Errorf("#%d: %v", n, err)
    		}
    	}
    }
    
    // slowReader is a reader that returns only a few bytes at a time, to test the incremental
    // reads in Scanner.Scan.
    type slowReader struct {
    	max int
    	buf io.Reader
    }
    
    func (sr *slowReader) Read(p []byte) (n int, err error) {
    	if len(p) > sr.max {
    		p = p[0:sr.max]
    	}
    	return sr.buf.Read(p)
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Sep 22 16:22:42 UTC 2023
    - 14.3K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/Serialization.java

     *
     * @author Jared Levy
     */
    @GwtIncompatible
    @J2ktIncompatible
    @ElementTypesAreNonnullByDefault
    final class Serialization {
      private Serialization() {}
    
      /**
       * Reads a count corresponding to a serialized map, multiset, or multimap. It returns the size of
       * a map serialized by {@link #writeMap(Map, ObjectOutputStream)}, the number of distinct elements
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Mar 06 16:06:58 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  8. internal/event/target/webhook.go

    	}
    	return fmt.Errorf("%s returned '%s', please check your endpoint configuration", target.args.Endpoint, resp.Status)
    }
    
    // SendFromStore - reads an event from store and sends it to webhook.
    func (target *WebhookTarget) SendFromStore(key store.Key) error {
    	if err := target.init(); err != nil {
    		return err
    	}
    
    	eventData, eErr := target.store.Get(key)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb1/SMB1SigningDigest.java

            update(sequence, 0, sequence.length);
            index += 8;
            if ( msg.getCommand() == ServerMessageBlock.SMB_COM_READ_ANDX ) {
                /*
                 * SmbComReadAndXResponse reads directly from the stream into separate byte[] b.
                 */
                SmbComReadAndXResponse raxr = (SmbComReadAndXResponse) msg;
                int length = msg.getLength() - raxr.getDataLength();
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Aug 05 09:45:59 UTC 2018
    - 10.6K bytes
    - Viewed (0)
  10. cmd/metrics-v3-system-process.go

    			metricsLogIf(ctx, err)
    		} else {
    			loadProcFSMetrics(ctx, p, m)
    		}
    	}
    
    	if globalIsDistErasure && globalLockServer != nil {
    		st := globalLockServer.stats()
    		m.Set(processLocksReadTotal, float64(st.Reads))
    		m.Set(processLocksWriteTotal, float64(st.Writes))
    	}
    	return nil
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jun 20 17:55:03 UTC 2024
    - 6.5K bytes
    - Viewed (0)
Back to top