Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for tstones (0.2 sec)

  1. src/bufio/bufio.go

    		if b.Available() == 0 {
    			err = b.Flush()
    		} else {
    			err = nil
    		}
    	}
    	return n, err
    }
    
    // buffered input and output
    
    // ReadWriter stores pointers to a [Reader] and a [Writer].
    // It implements [io.ReadWriter].
    type ReadWriter struct {
    	*Reader
    	*Writer
    }
    
    // NewReadWriter allocates a new [ReadWriter] that dispatches to r and w.
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Oct 12 14:39:08 GMT 2023
    - 21.8K bytes
    - Viewed (0)
  2. internal/s3select/sql/aggregation.go

    	}
    	errInvalidAggregation = errors.New("Invalid aggregation seen")
    )
    
    type aggVal struct {
    	runningSum             *Value
    	runningCount           int64
    	runningMax, runningMin *Value
    
    	// Stores if at least one record has been seen
    	seen bool
    }
    
    func newAggVal(fn FuncName) *aggVal {
    	switch fn {
    	case aggFnAvg, aggFnSum:
    		return &aggVal{runningSum: FromFloat(0)}
    	case aggFnMin:
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sat Dec 23 07:19:11 GMT 2023
    - 7.9K bytes
    - Viewed (0)
  3. cmd/dynamic-timeouts.go

    	dt.logEntry(duration)
    }
    
    // LogFailure logs an action that hit the timeout
    func (dt *dynamicTimeout) LogFailure() {
    	dt.logEntry(maxDuration)
    }
    
    // logEntry stores a log entry
    func (dt *dynamicTimeout) logEntry(duration time.Duration) {
    	if duration < 0 {
    		return
    	}
    	entries := int(atomic.AddInt64(&dt.entries, 1))
    	index := entries - 1
    	if index < dynamicTimeoutLogSize {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Aug 19 23:21:05 GMT 2022
    - 4.5K bytes
    - Viewed (0)
  4. cmd/bucket-notification-handlers.go

    	if err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    
    	writeSuccessResponseXML(w, configData)
    }
    
    // PutBucketNotificationHandler - This HTTP handler stores given notification configuration as per
    // http://docs.aws.amazon.com/AmazonS3/latest/dev/NotificationHowTo.html.
    func (api objectAPIHandlers) PutBucketNotificationHandler(w http.ResponseWriter, r *http.Request) {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Sep 04 19:57:37 GMT 2023
    - 5.1K bytes
    - Viewed (0)
  5. cmd/local-locker.go

    package cmd
    
    //go:generate msgp -file=$GOFILE -unexported
    
    import (
    	"context"
    	"fmt"
    	"strconv"
    	"sync"
    	"time"
    
    	"github.com/minio/minio/internal/dsync"
    )
    
    // lockRequesterInfo stores various info from the client for each lock that is requested.
    type lockRequesterInfo struct {
    	Name            string    // name of the resource lock was requested for
    	Writer          bool      // Bool whether write or read lock.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Feb 19 22:54:46 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  6. cmd/metrics-v3-system-cpu.go

    	m.Set(sysCPUNice, cpuNiceVal)
    	cpuStealVal := math.Round(ts.Steal/tot*100*100) / 100
    	m.Set(sysCPUSteal, cpuStealVal)
    
    	// metrics-resource.go runs a job to collect resource metrics including their Avg values and
    	// stores them in resourceMetricsMap. We can use it to get the Avg values of CPU idle and IOWait.
    	cpuResourceMetrics, found := resourceMetricsMap[cpuSubsystem]
    	if found {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Apr 23 23:56:12 GMT 2024
    - 3K bytes
    - Viewed (0)
  7. src/archive/tar/common.go

    	Devmajor int64 // Major device number (valid for TypeChar or TypeBlock)
    	Devminor int64 // Minor device number (valid for TypeChar or TypeBlock)
    
    	// Xattrs stores extended attributes as PAX records under the
    	// "SCHILY.xattr." namespace.
    	//
    	// The following are semantically equivalent:
    	//  h.Xattrs[key] = value
    	//  h.PAXRecords["SCHILY.xattr."+key] = value
    	//
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Mar 15 16:01:50 GMT 2024
    - 24.7K bytes
    - Viewed (2)
  8. internal/logger/reqinfo.go

    	Key string
    	Val interface{}
    }
    
    // ObjectVersion object version key/versionId
    type ObjectVersion struct {
    	ObjectName string
    	VersionID  string `json:"VersionId,omitempty"`
    }
    
    // ReqInfo stores the request info.
    // Reading/writing directly to struct requires appropriate R/W lock.
    type ReqInfo struct {
    	RemoteHost   string           // Client Host/IP
    	Host         string           // Node Host/IP
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  9. cmd/batch-job-common-types.go

    	if kv.Empty() {
    		return true
    	}
    	if strings.EqualFold(kv.Key, ikv.Key) {
    		return wildcard.Match(kv.Value, ikv.Value)
    	}
    	return false
    }
    
    // BatchJobNotification stores notification endpoint and token information.
    // Used by batch jobs to notify of their status.
    type BatchJobNotification struct {
    	line, col int
    	Endpoint  string `yaml:"endpoint" json:"endpoint"`
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 01 21:53:26 GMT 2024
    - 7.9K bytes
    - Viewed (0)
  10. cmd/bucket-lifecycle-handlers.go

    	"github.com/minio/mux"
    	"github.com/minio/pkg/v2/policy"
    )
    
    const (
    	// Lifecycle configuration file.
    	bucketLifecycleConfig = "lifecycle.xml"
    )
    
    // PutBucketLifecycleHandler - This HTTP handler stores given bucket lifecycle configuration as per
    // https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lifecycle-mgmt.html
    func (api objectAPIHandlers) PutBucketLifecycleHandler(w http.ResponseWriter, r *http.Request) {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Nov 21 17:48:06 GMT 2023
    - 7K bytes
    - Viewed (0)
Back to top