Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for available (0.16 sec)

  1. cmd/erasure-server-pool.go

    type poolAvailableSpace struct {
    	Index      int
    	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
    }
    
    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/object-api-multipart_test.go

    				{
    					Object:   objectNames[0],
    					UploadID: uploadIDs[0],
    				},
    			},
    		},
    		// listMultipartResults - 2.
    		// Used to check that the result produces if keyMarker is set to the only available object.
    		// `KeyMarker` is set.
    		// ListMultipartUploads doesn't list the parts.
    		{
    			MaxUploads: 100,
    			KeyMarker:  "minio-object-1.txt",
    		},
    		// listMultipartResults - 3.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 77.1K bytes
    - Viewed (0)
  3. cmd/xl-storage.go

    	n, err := w.Write(buf)
    	if err != nil {
    		return err
    	}
    
    	if n != len(buf) {
    		return io.ErrShortWrite
    	}
    
    	return nil
    }
    
    // CheckParts check if path has necessary parts available.
    func (s *xlStorage) CheckParts(ctx context.Context, volume string, path string, fi FileInfo) error {
    	volumeDir, err := s.getVolDir(volume)
    	if err != nil {
    		return err
    	}
    
    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)
  4. cmd/api-errors.go

    		HTTPStatusCode: http.StatusConflict,
    	},
    	ErrBucketAlreadyExists: {
    		Code:           "BucketAlreadyExists",
    		Description:    "The requested bucket name is not available. The bucket namespace is shared by all users of the system. Please select a different name and try again.",
    		HTTPStatusCode: http.StatusConflict,
    	},
    	ErrAllAccessDisabled: {
    		Code:           "AllAccessDisabled",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (7)
  5. cmd/iam.go

    				time.Sleep(time.Duration(r.Float64() * float64(time.Second)))
    				continue
    			}
    			if err != nil {
    				iamLogIf(ctx, fmt.Errorf("Unable to initialize IAM sub-system, some users may not be available: %w", err), logger.WarningKind)
    			}
    		}
    		break
    	}
    
    	refreshInterval := sys.iamRefreshInterval
    
    	go sys.periodicRoutines(ctx, refreshInterval)
    
    	// Load RoleARNs
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:28:16 GMT 2024
    - 71.1K bytes
    - Viewed (1)
  6. src/bufio/bufio_test.go

    	var want []byte
    	rn := rand.New(rand.NewSource(0))
    	w := NewWriterSize(got, 64)
    	for i := 0; i < 100; i++ {
    		// Obtain a buffer to append to.
    		b := w.AvailableBuffer()
    		if w.Available() != cap(b) {
    			t.Fatalf("Available() = %v, want %v", w.Available(), cap(b))
    		}
    
    		// While not recommended, it is valid to append to a shifted buffer.
    		// This forces Write to copy the input.
    		if rn.Intn(8) == 0 && cap(b) > 0 {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Feb 10 18:56:01 GMT 2023
    - 51.5K bytes
    - Viewed (0)
  7. cmd/admin-handlers-users.go

    	}) {
    		writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrAccessDenied), r.URL)
    		return
    	}
    
    	if r.ContentLength > maxEConfigJSONSize || r.ContentLength == -1 {
    		// More than maxConfigSize bytes were available
    		writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrAdminConfigTooLarge), r.URL)
    		return
    	}
    
    	password := cred.SecretKey
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 12:41:13 GMT 2024
    - 77.5K bytes
    - Viewed (0)
  8. src/cmd/cgo/gcc.go

    			continue
    		}
    
    		if talign > 0 && f.ByteOffset%talign != 0 {
    			// Drop misaligned fields, the same way we drop integer bit fields.
    			// The goal is to make available what can be made available.
    			// Otherwise one bad and unneeded field in an otherwise okay struct
    			// makes the whole program not compile. Much of the time these
    			// structs are in system headers that cannot be corrected.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  9. cmd/bucket-handlers.go

    	xMinIOErrDescHeader = "x-minio-error-desc"
    )
    
    // Check if there are buckets on server without corresponding entry in etcd backend and
    // make entries. Here is the general flow
    // - Range over all the available buckets
    // - Check if a bucket has an entry in etcd backend
    // -- If no, make an entry
    // -- If yes, check if the entry matches local IP check if we
    //
    //	need to update the entry then proceed to update
    //
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 16:27:27 GMT 2024
    - 61.6K bytes
    - Viewed (0)
Back to top