Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 44 for underlining (0.23 sec)

  1. internal/grid/types.go

    	var j JSON[T]
    	j.p = p
    	j.val = val
    	return &j
    }
    
    // Value returns the underlying value.
    // If not set yet, a new value is created.
    func (j *JSON[T]) Value() *T {
    	if j.val == nil {
    		j.val = j.p.new()
    	}
    	return j.val
    }
    
    // ValueOrZero returns the underlying value.
    // If the underlying value is nil, a zero value is returned.
    func (j *JSON[T]) ValueOrZero() T {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 01 23:42:09 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  2. cmd/object-api-errors.go

    package cmd
    
    import (
    	"context"
    	"errors"
    	"fmt"
    	"io"
    )
    
    // Converts underlying storage error. Convenience function written to
    // handle all cases where we have known types of errors returned by
    // underlying storage layer.
    func toObjectErr(oerr error, params ...string) error {
    	if oerr == nil {
    		return nil
    	}
    
    	// Unwarp the error first
    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/storage-errors.go

    var errDiskFull = StorageErr("drive path full")
    
    // errDiskNotDir - cannot use storage disk if its not a directory
    var errDiskNotDir = StorageErr("drive is not directory or mountpoint")
    
    // errDiskNotFound - cannot find the underlying configured disk anymore.
    var errDiskNotFound = StorageErr("drive not found")
    
    // errDiskOngoingReq - indicates if the disk has an on-going request in progress.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  4. internal/event/target/kafka.go

    	return target.id
    }
    
    // Name - returns the Name of the target.
    func (target *KafkaTarget) Name() string {
    	return target.ID().String()
    }
    
    // Store returns any underlying store if set.
    func (target *KafkaTarget) Store() event.TargetStore {
    	return target.store
    }
    
    // IsActive - Return true if target is up and active
    func (target *KafkaTarget) IsActive() (bool, error) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Feb 20 08:16:35 GMT 2024
    - 13K bytes
    - Viewed (0)
  5. internal/event/target/nats.go

    	return target.id
    }
    
    // Name - returns the Name of the target.
    func (target *NATSTarget) Name() string {
    	return target.ID().String()
    }
    
    // Store returns any underlying store if set.
    func (target *NATSTarget) Store() event.TargetStore {
    	return target.store
    }
    
    // IsActive - Return true if target is up and active
    func (target *NATSTarget) IsActive() (bool, error) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Feb 27 18:11:55 GMT 2024
    - 12.8K bytes
    - Viewed (0)
  6. cmd/api-errors.go

    		HTTPStatusCode: http.StatusBadRequest,
    	},
    }
    
    // toAPIErrorCode - Converts embedded errors. Convenience
    // function written to handle all cases where we have known types of
    // errors returned by underlying layers.
    func toAPIErrorCode(ctx context.Context, err error) (apiErr APIErrorCode) {
    	if err == nil {
    		return ErrNone
    	}
    
    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)
  7. cmd/metrics-v2.go

    		Help:      "Total bytes written by the process to the underlying storage system, /proc/[pid]/io write_bytes",
    		Type:      counterMetric,
    	}
    }
    
    func getMinioProcessIOReadBytesMD() MetricDescription {
    	return MetricDescription{
    		Namespace: nodeMetricNamespace,
    		Subsystem: ioSubsystem,
    		Name:      readBytes,
    		Help:      "Total bytes read by the process from the underlying storage system, /proc/[pid]/io read_bytes",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 22:01:31 GMT 2024
    - 132.6K bytes
    - Viewed (0)
  8. cmd/xl-storage-disk-id-check.go

    	storageMetricReadAll
    	storageMetricStatInfoFile
    	storageMetricReadMultiple
    	storageMetricDeleteAbandonedParts
    	storageMetricDiskInfo
    
    	// .... add more
    
    	storageMetricLast
    )
    
    // Detects change in underlying disk.
    type xlStorageDiskIDCheck struct {
    	totalWrites           atomic.Uint64
    	totalDeletes          atomic.Uint64
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 33K bytes
    - Viewed (0)
  9. cmd/object-multipart-handlers.go

    		}
    	}
    	opts.IndexCB = idxCb
    
    	putObjectPart := objectAPI.PutObjectPart
    
    	partInfo, err := putObjectPart(ctx, bucket, object, uploadID, partID, pReader, opts)
    	if err != nil {
    		// Verify if the underlying error is signature mismatch.
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    
    	etag := partInfo.ETag
    	if kind, encrypted := crypto.IsEncrypted(mi.UserDefined); encrypted {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 28 17:44:56 GMT 2024
    - 39K bytes
    - Viewed (0)
  10. cmd/erasure-object.go

    	for index := range disks {
    		metadata[index].SetTierFreeVersionID(fvID)
    	}
    
    	diskVersions := make([][]byte, len(disks))
    	dataDirs := make([]string, len(disks))
    	// Rename file on all underlying storage disks.
    	for index := range disks {
    		index := index
    		g.Go(func() error {
    			if disks[index] == nil {
    				return errDiskNotFound
    			}
    
    			// Pick one FileInfo for a disk at index.
    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