Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for totalGet (0.11 sec)

  1. cmd/speedtest.go

    			sort.Slice(results, func(i, j int) bool {
    				return results[i].Endpoint < results[j].Endpoint
    			})
    
    			totalPut := uint64(0)
    			totalGet := uint64(0)
    			for _, result := range results {
    				totalPut += result.Uploads
    				totalGet += result.Downloads
    			}
    
    			if totalGet < throughputHighestGet {
    				// Following check is for situations
    				// when Writes() scale higher than Reads()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon May 06 09:45:10 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  2. guava/src/com/google/common/io/ByteStreams.java

        }
      }
    
      private static byte[] combineBuffers(Queue<byte[]> bufs, int totalLen) {
        if (bufs.isEmpty()) {
          return new byte[0];
        }
        byte[] result = bufs.remove();
        if (result.length == totalLen) {
          return result;
        }
        int remaining = totalLen - result.length;
        result = Arrays.copyOf(result, totalLen);
        while (remaining > 0) {
          byte[] buf = bufs.remove();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 29.7K bytes
    - Viewed (0)
  3. src/bufio/bufio.go

    			err = e
    			break
    		}
    
    		// Make a copy of the buffer.
    		buf := bytes.Clone(frag)
    		fullBuffers = append(fullBuffers, buf)
    		totalLen += len(buf)
    	}
    
    	totalLen += len(frag)
    	return fullBuffers, frag, totalLen, err
    }
    
    // ReadBytes reads until the first occurrence of delim in the input,
    // returning a slice containing the data up to and including the delimiter.
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Oct 12 14:39:08 UTC 2023
    - 21.8K bytes
    - Viewed (0)
  4. cmd/admin-handlers.go

    			OnlineDisks:      onlineDisks.Sum(),
    			OfflineDisks:     offlineDisks.Sum(),
    			StandardSCParity: backendInfo.StandardSCParity,
    			RRSCParity:       backendInfo.RRSCParity,
    			TotalSets:        backendInfo.TotalSets,
    			DrivesPerSet:     backendInfo.DrivesPerSet,
    		}
    
    		if pools {
    			ctx2, cancel := context.WithTimeout(ctx, operationTimeout)
    			poolsInfo, _ = getPoolsInfo(ctx2, allDisks)
    			cancel()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 99.7K bytes
    - Viewed (0)
  5. cmd/erasure-server-pool.go

    		b.StandardSCData = append(b.StandardSCData, setDriveCount-scParity)
    		b.RRSCData = append(b.RRSCData, setDriveCount-rrSCParity)
    		b.DrivesPerSet = append(b.DrivesPerSet, setDriveCount)
    		b.TotalSets = append(b.TotalSets, z.serverPools[i].setCount)
    	}
    
    	b.StandardSCParity = scParity
    	b.RRSCParity = rrSCParity
    	return
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 89.8K bytes
    - Viewed (0)
Back to top