Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 772 for format (0.04 sec)

  1. scripts/format.sh

    #!/usr/bin/env bash
    set -x
    
    ruff check fastapi tests docs_src scripts --fix
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Aug 17 03:59:06 UTC 2024
    - 119 bytes
    - Viewed (0)
  2. cmd/format-erasure_test.go

    			t.Fatal(err)
    		}
    	}
    
    	format := newFormatErasureV3(1, 8)
    	format.Erasure.DistributionAlgo = formatErasureVersionV2DistributionAlgoV1
    	formats := make([]*formatErasureV3, 8)
    
    	for j := 0; j < 8; j++ {
    		newFormat := format.Clone()
    		newFormat.Erasure.This = format.Erasure.Sets[0][j]
    		formats[j] = newFormat
    	}
    
    	formats[1] = nil
    	expThis := formats[2].Erasure.This
    	formats[2].Erasure.This = ""
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Apr 15 08:25:46 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  3. cmd/format-erasure.go

    			osErrToFileErr(err)))
    	}
    
    	// format-V2 struct is exactly same as format-V1 except that version is "3"
    	// which indicates the simplified multipart backend.
    	formatV3 := formatErasureV3{}
    	formatV3.Version = formatV2.Version
    	formatV3.Format = formatV2.Format
    	formatV3.Erasure = formatV2.Erasure
    	formatV3.Erasure.Version = formatErasureVersionV3
    
    	return json.Marshal(formatV3)
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  4. common/config/.golangci-format.yml

    Istio Automation <******@****.***> 1712286157 -0700
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Apr 05 03:02:37 UTC 2024
    - 2K bytes
    - Viewed (0)
  5. cmd/xl-storage-format-utils_test.go

    Harshavardhana <******@****.***> 1723130998 -0700
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 08 15:29:58 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  6. 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 41.2K bytes
    - Viewed (0)
  7. cmd/xl-storage-format-v1.go

    )
    
    // Valid - tells us if the format is sane by validating
    // format version and erasure coding information.
    func (m *xlMetaV1Object) valid() bool {
    	return isXLMetaFormatValid(m.Version, m.Format) &&
    		isXLMetaErasureInfoValid(m.Erasure.DataBlocks, m.Erasure.ParityBlocks)
    }
    
    // Verifies if the backend format metadata is sane by validating
    // the version string and format style.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  8. 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 64K bytes
    - Viewed (1)
  9. cmd/xl-storage-format-utils.go

    Harshavardhana <******@****.***> 1723130998 -0700
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 08 15:29:58 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  10. cmd/xl-storage-format-v2_gen.go

    Klaus Post <******@****.***> 1729611050 -0700
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 55.5K bytes
    - Viewed (0)
Back to top