Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 50 for 5006 (0.16 sec)

  1. cmd/copy-part-range_test.go

    	// Test success cases.
    	successCases := []struct {
    		rangeString string
    		offsetBegin int64
    		offsetEnd   int64
    	}{
    		{"bytes=2-5", 2, 5},
    		{"bytes=2-9", 2, 9},
    		{"bytes=2-2", 2, 2},
    		{"bytes=0000-0006", 0, 6},
    	}
    	objectSize := int64(10)
    
    	for _, successCase := range successCases {
    		rs, err := parseCopyPartRangeSpec(successCase.rangeString)
    		if err != nil {
    			t.Fatalf("expected: <nil>, got: %s", err)
    		}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 23 18:58:53 GMT 2021
    - 2.5K bytes
    - Viewed (0)
  2. internal/s3select/sql/value_test.go

    		return FromBytes([]byte("byte contents"))
    	},
    	func() *Value {
    		return FromFloat(math.Pi)
    	},
    	func() *Value {
    		return FromInt(0x1337)
    	},
    	func() *Value {
    		t, err := time.Parse(time.RFC3339, "2006-01-02T15:04:05Z")
    		if err != nil {
    			panic(err)
    		}
    		return FromTimestamp(t)
    	},
    	func() *Value {
    		return FromString("string contents")
    	},
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 06 16:56:10 GMT 2023
    - 12.5K bytes
    - Viewed (0)
  3. internal/s3select/sql/timestampfuncs.go

    package sql
    
    import (
    	"time"
    )
    
    const (
    	layoutYear       = "2006T"
    	layoutMonth      = "2006-01T"
    	layoutDay        = "2006-01-02T"
    	layoutMinute     = "2006-01-02T15:04Z07:00"
    	layoutSecond     = "2006-01-02T15:04:05Z07:00"
    	layoutNanosecond = "2006-01-02T15:04:05.999999999Z07:00"
    )
    
    var tformats = []string{
    	layoutYear,
    	layoutMonth,
    	layoutDay,
    	layoutMinute,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Jan 02 17:15:06 GMT 2022
    - 4.8K bytes
    - Viewed (0)
  4. internal/amztime/iso8601_time.go

    package amztime
    
    import (
    	"strings"
    	"time"
    )
    
    // RFC3339 a subset of the ISO8601 timestamp format. e.g 2014-04-29T18:30:38Z
    const (
    	iso8601TimeFormat     = "2006-01-02T15:04:05.000Z"    // Reply date format with millisecond precision.
    	iso8601TimeFormatLong = "2006-01-02T15:04:05.000000Z" // Reply date format with nanosecond precision.
    )
    
    // ISO8601Format converts time 't' into ISO8601 time format expected in AWS S3 spec.
    //
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Jan 16 23:38:33 GMT 2023
    - 1.9K bytes
    - Viewed (0)
  5. internal/event/config.go

    		return nil, err
    	}
    
    	config.SetRegion(region)
    	// If xml namespace is empty, set a default value before returning.
    	if config.XMLNS == "" {
    		config.XMLNS = "http://s3.amazonaws.com/doc/2006-03-01/"
    	}
    	return &config, nil
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Nov 16 17:28:29 GMT 2021
    - 8.4K bytes
    - Viewed (0)
  6. cmd/metacache-manager.go

    }
    
    type metacacheManager struct {
    	mu      sync.RWMutex
    	init    sync.Once
    	buckets map[string]*bucketMetacache
    	trash   map[string]metacache // Recently deleted lists.
    }
    
    const metacacheMaxEntries = 5000
    
    // initManager will start async saving the cache.
    func (m *metacacheManager) initManager() {
    	// Add a transient bucket.
    	// Start saver when object layer is ready.
    	go func() {
    		objAPI := newObjectLayerFn()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Oct 25 00:44:15 GMT 2022
    - 5.2K bytes
    - Viewed (0)
  7. cmd/bucket-lifecycle.go

    	}
    	return sp.S3Select.UnmarshalXML(d, start)
    }
    
    // RestoreObjectRequest - xml to restore a transitioned object
    type RestoreObjectRequest struct {
    	XMLName          xml.Name           `xml:"http://s3.amazonaws.com/doc/2006-03-01/ RestoreRequest" json:"-"`
    	Days             int                `xml:"Days,omitempty"`
    	Type             RestoreRequestType `xml:"Type,omitempty"`
    	Tier             string             `xml:"Tier"`
    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)
  8. cmd/batch-expire.go

    //       name: NAME # match object names that satisfy the wildcard expression.
    //       olderThan: 70h # match objects older than this value
    //       createdBefore: "2006-01-02T15:04:05.00Z" # match objects created before "date"
    //       tags:
    //         - key: name
    //           value: pick* # match objects with tag 'name', all values starting with 'pick'
    //       metadata:
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 21K bytes
    - Viewed (1)
  9. cmd/object-api-listobjects_test.go

    		if err != nil {
    			t.Fatalf("%s : %s", instanceType, err)
    		}
    		meta.VersioningConfigXML = []byte(`<VersioningConfiguration xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><Status>Suspended</Status></VersioningConfiguration>`)
    		if err := meta.Save(context.Background(), obj); err != nil {
    			t.Fatalf("%s : %s", instanceType, err)
    		}
    		globalBucketMetadataSys.Set(bucket, meta)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 11:07:40 GMT 2024
    - 73.1K bytes
    - Viewed (0)
  10. internal/s3select/csv/testdata/testdata.zip

    .746711730957031,-73.961959838867188,40.674362182617187,1,7.71,32,0,0.5,6.4,0,,,38.9,1,1,83,189,green,1.81,0.0,0.0,59,43,10.74,1294,265,4,Queens,026500,4026500,E,QN50,Elmhurst-Maspeth,4109,1594,215,3,Brooklyn,021500,3021500,I,BK64,Prospect Heights,4006^3389430,2,2014-03-15 21:21:51,2014-03-15 21:44:18,N,1,-73.891517639160156,40.746650695800781,-73.751426696777344,40.707618713378906,1,12.43,36.5,0.5,0.5,1,0,,,38.5,1,1,83,122,green,0.00,0.0,0.0,58,42,8.95,1294,265,4,Queens,026500,4026500,E,QN50,El...
    ZIP Archive
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 111.6K bytes
    - Viewed (0)
Back to top