Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 190 for street (0.2 sec)

  1. internal/s3select/select.go

    	output.unmarshaled = true
    	return nil
    }
    
    // RequestProgress - represents elements inside <RequestProgress/> in request XML.
    type RequestProgress struct {
    	Enabled bool `xml:"Enabled"`
    }
    
    // ScanRange represents the ScanRange parameter.
    type ScanRange struct {
    	// Start is the byte offset to read from (from the start of the file).
    	Start *uint64 `xml:"Start"`
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Nov 06 22:26:08 GMT 2023
    - 21K bytes
    - Viewed (0)
  2. cmd/mrf.go

    type partialOperation struct {
    	bucket              string
    	object              string
    	versionID           string
    	versions            []byte
    	setIndex, poolIndex int
    	queued              time.Time
    	scanMode            madmin.HealScanMode
    }
    
    // mrfState sncapsulates all the information
    // related to the global background MRF.
    type mrfState struct {
    	opCh chan partialOperation
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  3. internal/grid/types.go

    	return bytes, nil
    }
    
    // NewNoPayload returns an empty NoPayload struct.
    func NewNoPayload() NoPayload {
    	return NoPayload{}
    }
    
    // Recycle is a no-op.
    func (NoPayload) Recycle() {}
    
    // ArrayOf wraps an array of Messagepack compatible objects.
    type ArrayOf[T RoundTripper] struct {
    	aPool sync.Pool // Arrays
    	ePool sync.Pool // Elements
    }
    
    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)
  4. cmd/data-usage_test.go

    package cmd
    
    import (
    	"bytes"
    	"context"
    	"encoding/json"
    	"fmt"
    	"os"
    	"path"
    	"path/filepath"
    	"testing"
    )
    
    type usageTestFile struct {
    	name string
    	size int
    }
    
    func TestDataUsageUpdate(t *testing.T) {
    	base := t.TempDir()
    	const bucket = "bucket"
    	files := []usageTestFile{
    		{name: "rootfile", size: 10000},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Mar 27 15:10:40 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  5. internal/event/target/webhook.go

    	}
    	return nil
    }
    
    // WebhookTarget - Webhook target.
    type WebhookTarget struct {
    	initOnce once.Init
    
    	id         event.TargetID
    	args       WebhookArgs
    	transport  *http.Transport
    	httpClient *http.Client
    	store      store.Store[event.Event]
    	loggerOnce logger.LogOnce
    	cancel     context.CancelFunc
    	cancelCh   <-chan struct{}
    
    	addr string // full address ip/dns with a port number, e.g.  x.x.x.x:8080
    }
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Nov 20 22:40:07 GMT 2023
    - 8.5K bytes
    - Viewed (0)
  6. cmd/httprange_test.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"testing"
    )
    
    func TestHTTPRequestRangeSpec(t *testing.T) {
    	resourceSize := int64(10)
    	validRangeSpecs := []struct {
    		spec                 string
    		expOffset, expLength int64
    	}{
    		{"bytes=0-", 0, 10},
    		{"bytes=1-", 1, 9},
    		{"bytes=0-9", 0, 10},
    		{"bytes=1-10", 1, 9},
    		{"bytes=1-1", 1, 1},
    		{"bytes=2-5", 2, 4},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 3.7K bytes
    - Viewed (0)
  7. cmd/listen-notification-handlers.go

    	// Convert local messages to JSON and send to mergeCh
    	go func() {
    		buf := bytes.NewBuffer(grid.GetByteBuffer()[:0])
    		enc := json.NewEncoder(buf)
    		tmpEvt := struct{ Records []event.Event }{[]event.Event{{}}}
    		for {
    			select {
    			case ev := <-localCh:
    				buf.Reset()
    				tmpEvt.Records[0] = ev
    				if err := enc.Encode(tmpEvt); err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 6K bytes
    - Viewed (0)
  8. cmd/xl-storage-disk-id-check.go

    	atomic.StoreInt64(&d.lastSuccess, time.Now().UnixNano())
    }
    
    func (d *diskHealthTracker) isFaulty() bool {
    	return d.status.Load() == diskHealthFaulty
    }
    
    type (
    	healthDiskCtxKey   struct{}
    	healthDiskCtxValue struct {
    		lastSuccess *int64
    	}
    )
    
    // logSuccess will update the last successful operation time.
    func (h *healthDiskCtxValue) logSuccess() {
    	atomic.StoreInt64(h.lastSuccess, time.Now().UnixNano())
    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/update.go

    		}
    	}
    	uaAppend("; ", "")
    
    	if cpus, err := gopsutilcpu.Info(); err == nil && len(cpus) > 0 {
    		cpuMap := make(map[string]struct{}, len(cpus))
    		coreMap := make(map[string]struct{}, len(cpus))
    		for i := range cpus {
    			cpuMap[cpus[i].PhysicalID] = struct{}{}
    			coreMap[cpus[i].CoreID] = struct{}{}
    		}
    		cpu := cpus[0]
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 18.7K bytes
    - Viewed (0)
  10. cmd/erasure-server-pool-rebalance.go

    )
    
    //go:generate msgp -file $GOFILE -unexported
    
    // rebalanceStats contains per-pool rebalance statistics like number of objects,
    // versions and bytes rebalanced out of a pool
    type rebalanceStats struct {
    	InitFreeSpace uint64 `json:"initFreeSpace" msg:"ifs"` // Pool free space at the start of rebalance
    	InitCapacity  uint64 `json:"initCapacity" msg:"ic"`   // Pool capacity at the start of rebalance
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 26 19:29:28 GMT 2024
    - 27.2K bytes
    - Viewed (0)
Back to top