Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 37 for 2009 (0.14 sec)

  1. internal/amztime/iso8601_time_test.go

    		expectedOutput string
    	}{
    		{
    			date:           time.Date(2009, time.November, 13, 4, 51, 1, 940303531, time.UTC),
    			expectedOutput: "2009-11-13T04:51:01.940Z",
    		},
    		{
    			date:           time.Date(2009, time.November, 13, 4, 51, 1, 901303531, time.UTC),
    			expectedOutput: "2009-11-13T04:51:01.901Z",
    		},
    		{
    			date:           time.Date(2009, time.November, 13, 4, 51, 1, 900303531, time.UTC),
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Dec 12 18:28:30 GMT 2022
    - 1.8K bytes
    - Viewed (0)
  2. cmd/erasure-metadata-utils_test.go

    		{"object", []int{14, 15, 16, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13}},
    		{"The Shining Script <v1>.pdf", []int{16, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15}},
    		{"Cost Benefit Analysis (2009-2010).pptx", []int{15, 16, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14}},
    		{"117Gn8rfHL2ACARPAhaFd0AGzic9pUbIA/5OCn5A", []int{3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 1, 2}},
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 7.4K bytes
    - Viewed (0)
  3. cmd/object-api-utils_test.go

    		objectName string
    		shouldPass bool
    	}{
    		// cases which should pass the test.
    		// passing in valid object name.
    		{"object", true},
    		{"The Shining Script <v1>.pdf", true},
    		{"Cost Benefit Analysis (2009-2010).pptx", true},
    		{"117Gn8rfHL2ACARPAhaFd0AGzic9pUbIA/5OCn5A", true},
    		{"SHØRT", true},
    		{"f*le", true},
    		{"contains-^-caret", true},
    		{"contains-|-pipe", true},
    		{"contains-`-tick", true},
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 23.4K bytes
    - Viewed (0)
  4. internal/amztime/parse_test.go

    		expectedTime time.Time
    		timeStr      string
    	}
    	testCases := []testCase{
    		{
    			ErrMalformedDate,
    			time.Time{},
    			"Tue Sep  6 07:10:23 PM PDT 2022",
    		},
    		{
    			nil,
    			time.Date(2009, time.November, 10, 23, 0, 0, 0, time.UTC),
    			"Tue, 10 Nov 2009 23:00:00 UTC",
    		},
    	}
    
    	for _, testCase := range testCases {
    		testCase := testCase
    		t.Run(testCase.timeStr, func(t *testing.T) {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Sep 07 14:24:54 GMT 2022
    - 1.6K bytes
    - Viewed (0)
  5. internal/bucket/replication/replication_test.go

    		destBucket            string
    		sameTarget            bool
    	}{
    		{ // 1 Invalid delete marker status in replication config
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Mar 28 17:44:56 GMT 2024
    - 32.5K bytes
    - Viewed (0)
  6. internal/bucket/object/lock/lock_test.go

    		{
    			value:       `<ObjectLockConfiguration xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><ObjectLockEnabled>yes</ObjectLockEnabled></ObjectLockConfiguration>`,
    			expectedErr: fmt.Errorf("only 'Enabled' value is allowed to ObjectLockEnabled element"),
    			expectErr:   true,
    		},
    		{
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 17.1K bytes
    - Viewed (0)
  7. internal/bucket/object/lock/lock.go

    	}
    	if ok {
    		if t, e := amztime.ISO8601Parse(tillStr); e == nil {
    			retainTill = RetentionDate{t.UTC()}
    		}
    	}
    	return ObjectRetention{XMLNS: "http://s3.amazonaws.com/doc/2006-03-01/", Mode: mode, RetainUntilDate: retainTill}
    }
    
    // GetObjectLegalHoldMeta constructs ObjectLegalHold from metadata
    func GetObjectLegalHoldMeta(meta map[string]string) ObjectLegalHold {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 17.1K bytes
    - Viewed (0)
  8. cmd/build-constants.go

    	ShortCommitID = "DEVELOPMENT.GOGET"
    
    	// CopyrightYear - dynamic value of the copyright end year
    	CopyrightYear = "0000"
    
    	// MinioReleaseTagTimeLayout - release tag time layout.
    	MinioReleaseTagTimeLayout = "2006-01-02T15-04-05Z"
    
    	// MinioOSARCH - OS and ARCH.
    	minioOSARCH = runtime.GOOS + "-" + runtime.GOARCH
    
    	// MinioReleaseBaseURL - release url without os and arch.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Mar 12 00:54:37 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  9. internal/event/event.go

    	NamespaceFormat = "namespace"
    
    	// AccessFormat - access log format used in some event targets.
    	AccessFormat = "access"
    
    	// AMZTimeFormat - event time format.
    	AMZTimeFormat = "2006-01-02T15:04:05.000Z"
    
    	// StoreExtension - file extension of an event file in store
    	StoreExtension = ".event"
    )
    
    // Identity represents access key who caused the event.
    type Identity struct {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Jun 20 00:53:08 GMT 2023
    - 3.4K bytes
    - Viewed (0)
  10. cmd/bucket-metadata-sys.go

    	if err != nil {
    		if errors.Is(err, errConfigNotFound) {
    			return &versioning.Versioning{XMLNS: "http://s3.amazonaws.com/doc/2006-03-01/"}, meta.Created, nil
    		}
    		return &versioning.Versioning{XMLNS: "http://s3.amazonaws.com/doc/2006-03-01/"}, time.Time{}, err
    	}
    	return meta.versioningConfig, meta.VersioningConfigUpdatedAt, nil
    }
    
    // GetTaggingConfig returns configured tagging config
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 19.8K bytes
    - Viewed (0)
Back to top