Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,074 for format (0.19 sec)

  1. scripts/format.sh

    #!/bin/sh -e
    set -x
    
    ruff fastapi tests docs_src scripts --fix
    Shell Script
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Oct 24 20:26:06 GMT 2023
    - 106 bytes
    - Viewed (0)
  2. src/archive/tar/format.go

    	FormatGNU
    
    	// Schily's tar format, which is incompatible with USTAR.
    	// This does not cover STAR extensions to the PAX format; these fall under
    	// the PAX format.
    	formatSTAR
    
    	formatMax
    )
    
    func (f Format) has(f2 Format) bool   { return f&f2 != 0 }
    func (f *Format) mayBe(f2 Format)     { *f |= f2 }
    func (f *Format) mayOnlyBe(f2 Format) { *f &= f2 }
    func (f *Format) mustNotBe(f2 Format) { *f &^= f2 }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 11.3K bytes
    - Viewed (0)
  3. .clang-format

    # Run manually to reformat a file:
    # clang-format -i --style=file <file>
    BasedOnStyle: Google
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Dec 07 04:00:43 GMT 2021
    - 124 bytes
    - Viewed (0)
  4. 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)
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 15 08:25:46 GMT 2024
    - 23.4K bytes
    - Viewed (0)
  5. common/config/.golangci-format.yml

    Istio Automation <******@****.***> 1712286157 -0700
    Others
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Apr 05 03:02:37 GMT 2024
    - 2K bytes
    - Viewed (0)
  6. 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 = ""
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 15 08:25:46 GMT 2024
    - 12.9K 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.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 8.2K bytes
    - Viewed (0)
  8. cmd/xl-storage-format_test.go

    		t.Errorf("Expected the Version to be \"%s\", but got \"%s\".", unMarshalXLMeta.Version, jsoniterXLMeta.Version)
    	}
    	if unMarshalXLMeta.Format != jsoniterXLMeta.Format {
    		t.Errorf("Expected the format to be \"%s\", but got \"%s\".", unMarshalXLMeta.Format, jsoniterXLMeta.Format)
    	}
    	if unMarshalXLMeta.Stat.Size != jsoniterXLMeta.Stat.Size {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 17.6K bytes
    - Viewed (0)
  9. 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
    )
    
    //go:generate msgp -file=$GOFILE -unexported
    //go:generate stringer -type VersionType,ErasureAlgo -output=xl-storage-format-v2_string.go $GOFILE
    
    const (
    	// Breaking changes.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Apr 23 05:07:37 GMT 2024
    - 63.6K bytes
    - Viewed (1)
  10. cmd/xl-storage-format-utils.go

    Harshavardhana <******@****.***> 1712857528 -0700
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 11 17:45:28 GMT 2024
    - 4.7K bytes
    - Viewed (0)
Back to top