Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 28 for agaric (0.15 sec)

  1. cmd/erasure-object_test.go

    			}
    		})
    	}
    }
    
    // Test PutObject twice, one small and another bigger
    // than small data threshold and checks reading them again
    func TestPutObjectSmallInlineData(t *testing.T) {
    	ctx, cancel := context.WithCancel(context.Background())
    	defer cancel()
    
    	const numberOfDisks = 4
    
    	// Create an instance of xl backend.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jan 30 20:43:25 GMT 2024
    - 36.8K bytes
    - Viewed (0)
  2. cmd/object-api-errors.go

    type BucketAlreadyExists GenericError
    
    func (e BucketAlreadyExists) Error() string {
    	return "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."
    }
    
    // BucketAlreadyOwnedByYou already owned by you.
    type BucketAlreadyOwnedByYou GenericError
    
    func (e BucketAlreadyOwnedByYou) Error() string {
    	return "Bucket already owned by you: " + e.Bucket
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  3. cmd/auth-handler.go

    		r.Body = io.NopCloser(bytes.NewReader(payload))
    		region, s3Err = parseLocationConstraint(r)
    		if s3Err != ErrNone {
    			return s3Err
    		}
    
    		// Populate payload again to handle it in HTTP handler.
    		r.Body = io.NopCloser(bytes.NewReader(payload))
    	}
    
    	logger.GetReqInfo(ctx).Region = region
    
    	return s3Err
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 26K bytes
    - Viewed (0)
  4. cmd/bucket-lifecycle.go

    // The restore operation could be in one of the following states,
    // - in progress (no content on MinIO's disks yet)
    // - completed
    // - completed but expired (again, no content on MinIO's disks)
    func (r restoreObjStatus) OnDisk() bool {
    	if expiry, ok := r.Expiry(); ok && time.Now().UTC().Before(expiry) {
    		// completed
    		return true
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 17 05:09:58 GMT 2024
    - 33.1K bytes
    - Viewed (0)
  5. internal/grid/grid_test.go

    		}
    		return
    	}
    }
    
    // Inserted manually.
    func _() {
    	// An "invalid array index" compiler error signifies that the constant values have changed.
    	// Re-run the stringer command to generate them again.
    	var x [1]struct{}
    	_ = x[StateUnconnected-0]
    	_ = x[StateConnecting-1]
    	_ = x[StateConnected-2]
    	_ = x[StateConnectionError-3]
    	_ = x[StateShutdown-4]
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 30 15:03:35 GMT 2024
    - 30.1K bytes
    - Viewed (0)
  6. cmd/erasure-server-pool-decom.go

    )
    
    func (p *poolMeta) Decommission(idx int, pi poolSpaceInfo) error {
    	// Return an error when there is decommission on going - the user needs
    	// to explicitly cancel it first in order to restart decommissioning again.
    	if p.Pools[idx].Decommission != nil &&
    		!p.Pools[idx].Decommission.Complete &&
    		!p.Pools[idx].Decommission.Failed &&
    		!p.Pools[idx].Decommission.Canceled {
    		return errDecommissionAlreadyRunning
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 15:18:21 GMT 2024
    - 41.5K bytes
    - Viewed (1)
  7. internal/hash/reader.go

    	if t, ok := r.src.(etag.Tagger); ok {
    		return t.ETag()
    	}
    	return nil
    }
    
    // MD5Current returns the MD5 checksum of the content
    // that has been read so far.
    //
    // Calling MD5Current again after reading more data may
    // result in a different checksum.
    func (r *Reader) MD5Current() []byte {
    	if r.disableMD5 {
    		return r.checksum
    	}
    	return r.ETag()[:]
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 18 17:00:54 GMT 2023
    - 10.8K bytes
    - Viewed (0)
  8. docs/bucket/replication/setup_ilm_expiry_replication.sh

    	echo "BUG: Removed ILM expiry rule not replicated to 'siteb'"
    	exit 1
    fi
    
    ## Check addition of new replication site to existing site replication setup
    # Add rules again as previous tests removed all
    ./mc ilm add sitea/bucket --transition-days 0 --transition-tier WARM-TIER --transition-days 0 --noncurrent-expire-days 2 --expire-days 3 --prefix "myprefix" --tags "tag1=val1&tag2=val2"
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 26 00:31:12 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  9. cmd/sftp-server-driver.go

    		n = len(b)
    	}
    
    again:
    	nextOut, ok := w.buffer[w.nextOffset]
    	if ok {
    		n, err = w.w.Write(nextOut)
    		delete(w.buffer, w.nextOffset)
    		w.nextOffset += int64(n)
    		if n != len(nextOut) {
    			return 0, fmt.Errorf("expected write size %d but wrote %d bytes", len(nextOut), n)
    		}
    		if err != nil {
    			return 0, err
    		}
    		goto again
    	}
    
    	return len(b), nil
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 12:23:42 GMT 2024
    - 12.9K bytes
    - Viewed (0)
  10. docs/bucket/replication/DESIGN.md

    Any metadata changes on the source object version, such as metadata updates via PutObjectTagging, PutObjectRetention, PutObjectLegalHold and COPY api are replicated in a similar manner to target version, with the `X-Amz-Replication-Status` again cycling through the same states.
    
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Sep 29 04:28:45 GMT 2022
    - 14.7K bytes
    - Viewed (0)
Back to top