Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for Total (0.32 sec)

  1. cmd/erasure-server-pool.go

    	Available  uint64 // in bytes
    	MaxUsedPct int    // Used disk percentage of most filled disk, rounded down.
    }
    
    // TotalAvailable - total available space
    func (p serverPoolsAvailableSpace) TotalAvailable() uint64 {
    	total := uint64(0)
    	for _, z := range p {
    		total += z.Available
    	}
    	return total
    }
    
    // FilterMaxUsed will filter out any pools that has used percent bigger than max,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 80.5K bytes
    - Viewed (0)
  2. cmd/xl-storage.go

    			dcinfo := DiskInfo{}
    			di, err := getDiskInfo(s.drivePath)
    			if err != nil {
    				return dcinfo, err
    			}
    			dcinfo.Major = di.Major
    			dcinfo.Minor = di.Minor
    			dcinfo.Total = di.Total
    			dcinfo.Free = di.Free
    			dcinfo.Used = di.Used
    			dcinfo.UsedInodes = di.Files - di.Ffree
    			dcinfo.FreeInodes = di.Ffree
    			dcinfo.FSType = di.FSType
    			diskID, err := s.GetDiskID()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
  3. tests/query_test.go

    	}); result.Error != nil || result.RowsAffected != 6 {
    		t.Errorf("Failed to batch find, got error %v, rows affected: %v", result.Error, result.RowsAffected)
    	}
    
    	if totalBatch != 6 {
    		t.Errorf("incorrect total batch, expects: %v, got %v", 6, totalBatch)
    	}
    
    	var count int64
    	DB.Model(&User{}).Where("name = ?", "find_in_batches_new").Count(&count)
    	if count != 6 {
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Thu Apr 25 12:22:53 GMT 2024
    - 49.8K bytes
    - Viewed (0)
  4. cmd/test-utils_test.go

    func prepareTestBackend(ctx context.Context, instanceType string) (ObjectLayer, []string, error) {
    	switch instanceType {
    	// Total number of disks for Erasure sets backend is set to 32.
    	case ErasureSetsTestStr:
    		return prepareErasureSets32(ctx)
    	// Total number of disks for Erasure backend is set to 16.
    	case ErasureTestStr:
    		return prepareErasure16(ctx)
    	default:
    		// return FS backend by default.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 17:26:51 GMT 2024
    - 76.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Iterators.java

       *
       * <p>Retrieving a single element takes approximately O(log(M)) time, where M is the number of
       * iterators. (Retrieving all elements takes approximately O(N*log(M)) time, where N is the total
       * number of elements.)
       */
      private static class MergingIterator<T extends @Nullable Object> extends UnmodifiableIterator<T> {
        final Queue<PeekingIterator<T>> queue;
    
        public MergingIterator(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 30 18:43:01 GMT 2024
    - 51.1K bytes
    - Viewed (0)
  6. cmd/erasure-object.go

    				}
    			}
    			if err != nil {
    				return toObjectErr(err, bucket, object)
    			}
    		}
    		for i, r := range readers {
    			if r == nil {
    				onlineDisks[i] = OfflineDisk
    			}
    		}
    		// Track total bytes read from disk and written to the client.
    		totalBytesRead += partLength
    		// partOffset will be valid only for the first part, hence reset it to 0 for
    		// the remaining parts.
    		partOffset = 0
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 77.2K bytes
    - Viewed (2)
Back to top