Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 558 for format$1 (0.25 sec)

  1. cmd/xl-storage-format-v1_gen.go

    		case "Version":
    			z.Version, err = dc.ReadString()
    			if err != nil {
    				err = msgp.WrapError(err, "Version")
    				return
    			}
    		case "Format":
    			z.Format, err = dc.ReadString()
    			if err != nil {
    				err = msgp.WrapError(err, "Format")
    				return
    			}
    		case "Stat":
    			err = z.Stat.DecodeMsg(dc)
    			if err != nil {
    				err = msgp.WrapError(err, "Stat")
    				return
    			}
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 41.2K bytes
    - Viewed (0)
  2. cmd/xl-storage-format-v2_string.go

    // Code generated by "stringer -type VersionType,ErasureAlgo -output=xl-storage-format-v2_string.go xl-storage-format-v2.go"; DO NOT EDIT.
    
    package cmd
    
    import "strconv"
    
    func _() {
    	// An "invalid array index" compiler error signifies that the constant values have changed.
    	// Re-run the stringer command to generate them again.
    	var x [1]struct{}
    	_ = x[invalidVersionType-0]
    	_ = x[ObjectType-1]
    	_ = x[DeleteType-2]
    	_ = x[LegacyType-3]
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Thu Dec 02 19:29:16 UTC 2021
    - 1.4K bytes
    - Viewed (0)
  3. cmd/xl-storage-format-v2.go

    	"github.com/tinylib/msgp/msgp"
    )
    
    var (
    	// XL header specifies the format
    	xlHeader = [4]byte{'X', 'L', '2', ' '}
    
    	// Current version being written.
    	xlVersionCurrent [4]byte
    )
    
    //msgp:clearomitted
    
    //go:generate msgp -file=$GOFILE -unexported
    //go:generate stringer -type VersionType,ErasureAlgo -output=xl-storage-format-v2_string.go $GOFILE
    
    const (
    	// Breaking changes.
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 64K bytes
    - Viewed (0)
  4. cmd/untar.go

    func detect(r *bufio.Reader) format {
    	z, err := r.Peek(4)
    	if err != nil {
    		return formatUnknown
    	}
    	for _, f := range magicHeaders {
    		if bytes.Equal(f.header, z[:len(f.header)]) {
    			return f.f
    		}
    	}
    	return formatUnknown
    }
    
    //go:generate stringer -type=format -trimprefix=format $GOFILE
    type format int
    
    const (
    	formatUnknown format = iota
    	formatGzip
    	formatZstd
    	formatLZ4
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Sun Sep 22 00:33:43 UTC 2024
    - 6K bytes
    - Viewed (0)
  5. src/archive/tar/tar_test.go

    		formats: FormatUSTAR | FormatPAX | FormatGNU,
    	}}
    
    	for i, v := range vectors {
    		formats, paxHdrs, err := v.header.allowedFormats()
    		if formats != v.formats {
    			t.Errorf("test %d, allowedFormats(): got %v, want %v", i, formats, v.formats)
    		}
    		if formats&FormatPAX > 0 && !maps.Equal(paxHdrs, v.paxHdrs) && !(len(paxHdrs) == 0 && len(v.paxHdrs) == 0) {
    Registered: Tue Oct 29 11:13:09 UTC 2024
    - Last Modified: Thu Jul 25 00:25:45 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  6. cmd/prepare-storage.go

    		return nil, errFirstDiskWait
    	}
    
    	format, err = getFormatErasureInQuorum(formatConfigs)
    	if err != nil {
    		var drivesNotFound int
    		for _, format := range formatConfigs {
    			if format != nil {
    				continue
    			}
    			drivesNotFound++
    		}
    		return nil, fmt.Errorf("%w (offline-drives=%d/%d)", err, drivesNotFound, len(formatConfigs))
    	}
    
    	if format.ID == "" {
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Fri Jul 12 20:51:54 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  7. cmd/xl-storage-format-v2-legacy.go

    			}
    		}
    		if val, ok := j.DeleteMarker.MetaSys[ReservedMetadataPrefixLower+ReplicaTimestamp]; ok {
    			tm, err := time.Parse(time.RFC3339Nano, string(val))
    			if err == nil {
    				j.DeleteMarker.MetaSys[ReservedMetadataPrefixLower+ReplicaTimestamp] = []byte(tm.UTC().Format(time.RFC3339Nano))
    			}
    		}
    	}
    
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Fri Apr 19 16:43:43 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  8. src/main/assemblies/targz-bin.xml

    <?xml version="1.0"?>
    <assembly>
    	<id>targz</id>
    	<formats>
    		<format>tar.gz</format>
    	</formats>
    
    	<includeBaseDirectory>false</includeBaseDirectory>
    
    	<componentDescriptors>
    		<componentDescriptor>src/main/assemblies/common-bin.xml
    		</componentDescriptor>
    	</componentDescriptors>
    Registered: Mon Oct 28 08:04:08 UTC 2024
    - Last Modified: Sun Dec 13 08:20:29 UTC 2015
    - 296 bytes
    - Viewed (0)
  9. internal/amztime/parse.go

    import (
    	"errors"
    	"net/http"
    	"time"
    )
    
    // Supported amz date formats.
    var amzDateFormats = []string{
    	// Do not change this order, x-amz-date format is usually in
    	// iso8601Format rest are meant for relaxed handling of other
    	// odd SDKs that might be out there.
    	"20060102T150405Z",
    	time.RFC1123,
    	time.RFC1123Z,
    	// Add new AMZ date formats here.
    }
    
    // ErrMalformedDate always returned for dates that cannot be parsed.
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  10. src/main/assemblies/zip-bin.xml

    <?xml version="1.0"?>
    <assembly>
    	<id>zip</id>
    	<formats>
    		<format>zip</format>
    	</formats>
    
    	<includeBaseDirectory>false</includeBaseDirectory>
    
    	<componentDescriptors>
    		<componentDescriptor>src/main/assemblies/common-bin.xml
    		</componentDescriptor>
    	</componentDescriptors>
    Registered: Mon Oct 28 08:04:08 UTC 2024
    - Last Modified: Sun Dec 13 08:20:29 UTC 2015
    - 291 bytes
    - Viewed (0)
Back to top