Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 36 for index (0.11 sec)

  1. internal/grid/msg_string.go

    // Code generated by "stringer -type=Op -output=msg_string.go -trimprefix=Op msg.go"; DO NOT EDIT.
    
    package grid
    
    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[OpConnect-1]
    	_ = x[OpConnectResponse-2]
    	_ = x[OpPing-3]
    	_ = x[OpPong-4]
    	_ = x[OpConnectMux-5]
    	_ = x[OpMuxConnectError-6]
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Nov 21 01:09:35 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  2. cmd/xl-storage-format-v1.go

    	// ParityBlocks is the number of parity blocks for erasure-coding
    	ParityBlocks int `json:"parity"`
    	// BlockSize is the size of one erasure-coded block
    	BlockSize int64 `json:"blockSize"`
    	// Index is the index of the current disk
    	Index int `json:"index"`
    	// Distribution is the distribution of the data and parity blocks
    	Distribution []int `json:"distribution"`
    	// Checksums holds all bitrot checksums of all erasure encoded blocks
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Apr 04 12:04:40 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  3. cmd/xl-storage-format-utils_test.go

    		Mode:             0,
    		Metadata:         nil,
    		Parts:            nil,
    		Erasure: ErasureInfo{
    			Algorithm:    ReedSolomon.String(),
    			DataBlocks:   4,
    			ParityBlocks: 2,
    			BlockSize:    10000,
    			Index:        1,
    			Distribution: []int{1, 2, 3, 4, 5, 6, 7, 8},
    			Checksums: []ChecksumInfo{{
    				PartNumber: 1,
    				Algorithm:  HighwayHash256S,
    				Hash:       nil,
    			}},
    		},
    		MarkDeleted:      false,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 07 22:18:44 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  4. cmd/update-notifier_test.go

    )
    
    // Tests update notifier string builder.
    func TestPrepareUpdateMessage(t *testing.T) {
    	testCases := []struct {
    		older time.Duration
    		dlURL string
    
    		expectedSubStr string
    	}{
    		// Testcase index 0
    		{72 * time.Hour, "my_download_url", "3 days before the latest release"},
    		{3 * time.Hour, "https://my_download_url_is_huge/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", "3 hours before the latest release"},
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jul 31 15:36:19 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  5. cmd/xl-storage-free-version_test.go

    		Mode:             0,
    		Metadata:         nil,
    		Parts:            nil,
    		Erasure: ErasureInfo{
    			Algorithm:    ReedSolomon.String(),
    			DataBlocks:   4,
    			ParityBlocks: 2,
    			BlockSize:    10000,
    			Index:        1,
    			Distribution: []int{1, 2, 3, 4, 5, 6, 7, 8},
    			Checksums: []ChecksumInfo{{
    				PartNumber: 1,
    				Algorithm:  HighwayHash256S,
    				Hash:       nil,
    			}},
    		},
    		MarkDeleted:      false,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat Mar 02 05:11:03 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  6. internal/s3select/sql/jsonpath.go

    			}
    			val, err := IterToValue(elem.Iter)
    			if err != nil {
    				return nil, false, err
    			}
    			return jsonpathEval(p[1:], val)
    		default:
    			return nil, false, errKeyLookup
    		}
    
    	case p[0].Index != nil:
    		idx := *p[0].Index
    
    		arr, ok := v.([]interface{})
    		if !ok {
    			return nil, false, errIndexLookup
    		}
    
    		if idx >= len(arr) {
    			return nil, false, nil
    		}
    		return jsonpathEval(p[1:], arr[idx])
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Feb 22 06:26:06 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  7. cmd/erasure-metadata-utils_test.go

    	shuffledDisks := shuffleDisks(disks, distribution)
    	// From the "distribution" above you can notice that:
    	// 1st data block is in the 9th disk (i.e distribution index 8)
    	// 2nd data block is in the 8th disk (i.e distribution index 7) and so on.
    	if shuffledDisks[0] != disks[8] ||
    		shuffledDisks[1] != disks[7] ||
    		shuffledDisks[2] != disks[9] ||
    		shuffledDisks[3] != disks[6] ||
    		shuffledDisks[4] != disks[10] ||
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  8. cmd/license-update.go

    	resp, err := globalSubnetConfig.Post(url, nil)
    	if err != nil {
    		subnetLogIf(ctx, fmt.Errorf("error from %s: %w", url, err))
    		return
    	}
    
    	r := gjson.Parse(resp).Get("license_v2")
    	if r.Index == 0 {
    		internalLogIf(ctx, fmt.Errorf("license not found in response from %s", url))
    		return
    	}
    
    	lic := r.String()
    	if lic == globalSubnetConfig.License {
    		// license hasn't changed.
    		return
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Apr 04 12:04:40 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  9. docs/compression/README.md

    Typically, enabling compression on spinning disk systems
    will increase speed when the content can be compressed.
    
    ## Get Started
    
    ### 1. Prerequisites
    
    Install MinIO - [MinIO Quickstart Guide](https://min.io/docs/minio/linux/index.html#quickstart-for-linux).
    
    ### 2. Run MinIO with compression
    
    Compression can be enabled by updating the `compress` config settings for MinIO server config.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Mar 11 11:55:34 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  10. internal/s3select/csv/reader.go

    		r.recordsRead = 0
    	}
    	csvRecord := r.current[r.recordsRead]
    	r.recordsRead++
    
    	// If no column names are set, use _(index)
    	if r.columnNames == nil {
    		r.columnNames = make([]string, len(csvRecord))
    		for i := range csvRecord {
    			r.columnNames[i] = fmt.Sprintf("_%v", i+1)
    		}
    	}
    
    	// If no index map, add that.
    	if r.nameIndexMap == nil {
    		r.nameIndexMap = make(map[string]int64)
    		for i := range r.columnNames {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Feb 22 06:26:06 UTC 2024
    - 8.9K bytes
    - Viewed (0)
Back to top