Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 50 for 2006 (0.19 sec)

  1. 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)
  2. internal/bucket/encryption/bucket-sse-config_test.go

    		expectedErr    error
    		shouldPass     bool
    		expectedConfig *BucketSSEConfig
    	}{
    		// 1. Valid XML SSE-S3
    		{
    			inputXML:       `<ServerSideEncryptionConfiguration xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><Rule><ApplyServerSideEncryptionByDefault><SSEAlgorithm>AES256</SSEAlgorithm></ApplyServerSideEncryptionByDefault></Rule></ServerSideEncryptionConfiguration>`,
    			expectedErr:    nil,
    			shouldPass:     true,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Aug 16 18:28:30 GMT 2022
    - 6.1K bytes
    - Viewed (0)
  3. internal/bucket/versioning/versioning_test.go

    		excludeFolders   bool
    	}{
    		{
    			input: `<VersioningConfiguration xmlns="http://s3.amazonaws.com/doc/2006-03-01/">
                                      <Status>Enabled</Status>
                                    </VersioningConfiguration>`,
    			err: nil,
    		},
    		{
    			input: `<VersioningConfiguration xmlns="http://s3.amazonaws.com/doc/2006-03-01/">
                                      <Status>Enabled</Status>
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 08 05:06:44 GMT 2022
    - 8.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. cmd/api-response.go

    type LocationResponse struct {
    	XMLName  xml.Name `xml:"http://s3.amazonaws.com/doc/2006-03-01/ LocationConstraint" json:"-"`
    	Location string   `xml:",chardata"`
    }
    
    // PolicyStatus captures information returned by GetBucketPolicyStatusHandler
    type PolicyStatus struct {
    	XMLName  xml.Name `xml:"http://s3.amazonaws.com/doc/2006-03-01/ PolicyStatus" json:"-"`
    	IsPublic string
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 33.3K bytes
    - Viewed (2)
  6. cmd/bucket-encryption_test.go

    	testCases := []struct {
    		inputXML    string
    		expectedErr error
    		shouldPass  bool
    	}{
    		// MinIO supported XML
    		{
    			inputXML: `<ServerSideEncryptionConfiguration xmlns="http://s3.amazonaws.com/doc/2006-03-01/">
    			<Rule>
    			<ApplyServerSideEncryptionByDefault>
    			<SSEAlgorithm>AES256</SSEAlgorithm>
    			</ApplyServerSideEncryptionByDefault>
    			</Rule>
    			</ServerSideEncryptionConfiguration>`,
    			expectedErr: nil,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 14 07:59:05 GMT 2021
    - 2.1K bytes
    - Viewed (0)
  7. cmd/bucket-lifecycle_test.go

    			expectedErr: errInvalidStorageClass,
    		},
    		{
    			// no transition rule
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue May 31 09:57:57 GMT 2022
    - 7K bytes
    - Viewed (0)
  8. logger/sql.go

    package logger
    
    import (
    	"database/sql/driver"
    	"fmt"
    	"reflect"
    	"regexp"
    	"strconv"
    	"strings"
    	"time"
    	"unicode"
    
    	"gorm.io/gorm/utils"
    )
    
    const (
    	tmFmtWithMS = "2006-01-02 15:04:05.999"
    	tmFmtZero   = "0000-00-00 00:00:00"
    	nullStr     = "NULL"
    )
    
    func isPrintable(s string) bool {
    	for _, r := range s {
    		if !unicode.IsPrint(r) {
    			return false
    		}
    	}
    	return true
    }
    
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Thu Mar 21 08:00:02 GMT 2024
    - 5K bytes
    - Viewed (0)
  9. utils/tests/utils.go

    		})
    	}
    }
    
    func AssertEqual(t *testing.T, got, expect interface{}) {
    	if !reflect.DeepEqual(got, expect) {
    		isEqual := func() {
    			if curTime, ok := got.(time.Time); ok {
    				format := "2006-01-02T15:04:05Z07:00"
    
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Fri Mar 10 09:21:56 GMT 2023
    - 3.9K bytes
    - Viewed (0)
  10. buildscripts/gen-ldflags.go

    	relSuffix := ""
    	if hotfix := os.Getenv("MINIO_HOTFIX"); hotfix != "" {
    		relSuffix = hotfix
    	}
    
    	relTag := strings.Replace(version, " ", "-", -1)
    	relTag = strings.Replace(relTag, ":", "-", -1)
    	t, err := time.Parse("2006-01-02T15-04-05Z", relTag)
    	if err != nil {
    		panic(err)
    	}
    	relTag = strings.Replace(relTag, ",", "", -1)
    	relTag = relPrefix + "." + relTag
    	if relSuffix != "" {
    		relTag += "." + relSuffix
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jun 16 23:10:48 GMT 2022
    - 3.3K bytes
    - Viewed (0)
Back to top