Search Options

Results per page
Sort
Preferred Languages
Advance

Results 541 - 550 of 1,315 for range (0.15 sec)

  1. cmd/background-newdisks-heal-ops.go

    		DeleteOptions{
    			Recursive: false,
    			Immediate: false,
    		},
    	)
    }
    
    func (h *healingTracker) isHealed(bucket string) bool {
    	h.mu.RLock()
    	defer h.mu.RUnlock()
    	for _, v := range h.HealedBuckets {
    		if v == bucket {
    			return true
    		}
    	}
    	return false
    }
    
    // resume will reset progress to the numbers at the start of the bucket.
    func (h *healingTracker) resume() {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  2. cmd/xl-storage-format_test.go

    		{2, "123", xlMetaFormat, false},
    		{3, xlMetaVersion100, "test", false},
    		{4, xlMetaVersion101, "hello", false},
    		{5, xlMetaVersion100, xlMetaFormat, true},
    		{6, xlMetaVersion101, xlMetaFormat, true},
    	}
    	for _, tt := range tests {
    		if got := isXLMetaFormatValid(tt.version, tt.format); got != tt.want {
    			t.Errorf("Test %d: Expected %v but received %v", tt.name, got, tt.want)
    		}
    	}
    }
    
    func TestIsXLMetaErasureInfoValid(t *testing.T) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Feb 22 06:26:06 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  3. src/bufio/scan_test.go

    // Test that the rune splitter returns same sequence of runes (not bytes) as for range string.
    func TestScanRune(t *testing.T) {
    	for n, test := range scanTests {
    		buf := strings.NewReader(test)
    		s := NewScanner(buf)
    		s.Split(ScanRunes)
    		var i, runeCount int
    		var expect rune
    		// Use a string range loop to validate the sequence of runes.
    		for i, expect = range test {
    			if !s.Scan() {
    				break
    			}
    			runeCount++
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Sep 22 16:22:42 UTC 2023
    - 14.3K bytes
    - Viewed (0)
  4. cmd/api-resources_test.go

    			token:        "",
    			startAfter:   "",
    			delimiter:    "",
    			fetchOwner:   false,
    			maxKeys:      0,
    			encodingType: "",
    			errCode:      ErrIncorrectContinuationToken,
    		},
    	}
    
    	for i, testCase := range testCases {
    		prefix, token, startAfter, delimiter, fetchOwner, maxKeys, encodingType, errCode := getListObjectsV2Args(testCase.values)
    
    		if errCode != testCase.errCode {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Apr 23 18:58:53 UTC 2021
    - 7.1K bytes
    - Viewed (0)
  5. cmd/erasure-utils.go

    )
    
    // getDataBlockLen - get length of data blocks from encoded blocks.
    func getDataBlockLen(enBlocks [][]byte, dataBlocks int) int {
    	size := 0
    	// Figure out the data block length.
    	for _, block := range enBlocks[:dataBlocks] {
    		size += len(block)
    	}
    	return size
    }
    
    // Writes all the data blocks from encoded blocks until requested
    // outSize length. Provides a way to skip bytes until the offset.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jan 31 02:11:45 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  6. internal/bucket/lifecycle/expiration_test.go

    			inputXML: `<Expiration>
    		                    <Date>2019-04-20T00:01:00Z</Date>
    		                    </Expiration>`,
    			expectedErr: errLifecycleDateNotMidnight,
    		},
    	}
    
    	for i, tc := range testCases {
    		t.Run(fmt.Sprintf("Test %d", i+1), func(t *testing.T) {
    			var expiration Expiration
    			err := xml.Unmarshal([]byte(tc.inputXML), &expiration)
    			if err != tc.expectedErr {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Feb 21 20:28:34 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  7. helm-releases/minio-3.6.6.tgz

    {{- if .Values.consoleIngress.ingressClassName }} ingressClassName: {{ .Values.consoleIngress.ingressClassName }} {{- end }} {{- if .Values.consoleIngress.tls }} tls: {{- range .Values.consoleIngress.tls }} - hosts: {{- range .hosts }} - {{ . | quote }} {{- end }} secretName: {{ .secretName }} {{- end }} {{- end }} rules: {{- range .Values.consoleIngress.hosts }} - http: paths: - path: {{ $ingressPath }} {{- if semverCompare ">=1.19-0" $.Capabilities.KubeVersion.GitVersion }} pathType: Prefix backend:...
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Apr 17 21:46:44 UTC 2022
    - 18.2K bytes
    - Viewed (0)
  8. helm-releases/minio-4.0.0.tgz

    {{- if .Values.consoleIngress.ingressClassName }} ingressClassName: {{ .Values.consoleIngress.ingressClassName }} {{- end }} {{- if .Values.consoleIngress.tls }} tls: {{- range .Values.consoleIngress.tls }} - hosts: {{- range .hosts }} - {{ . | quote }} {{- end }} secretName: {{ .secretName }} {{- end }} {{- end }} rules: {{- range .Values.consoleIngress.hosts }} - http: paths: - path: {{ $ingressPath }} {{- if semverCompare ">=1.19-0" $.Capabilities.KubeVersion.GitVersion }} pathType: Prefix backend:...
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Apr 26 02:41:39 UTC 2022
    - 18K bytes
    - Viewed (0)
  9. helm-releases/minio-4.0.6.tgz

    {{- if .Values.consoleIngress.ingressClassName }} ingressClassName: {{ .Values.consoleIngress.ingressClassName }} {{- end }} {{- if .Values.consoleIngress.tls }} tls: {{- range .Values.consoleIngress.tls }} - hosts: {{- range .hosts }} - {{ . | quote }} {{- end }} secretName: {{ .secretName }} {{- end }} {{- end }} rules: {{- range .Values.consoleIngress.hosts }} - http: paths: - path: {{ $ingressPath }} {{- if semverCompare ">=1.19-0" $.Capabilities.KubeVersion.GitVersion }} pathType: Prefix backend:...
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Jul 24 03:34:14 UTC 2022
    - 18.4K bytes
    - Viewed (0)
  10. src/archive/tar/reader_test.go

    			{8, "\x00G\x00o\x00G\x00o"},
    			{4, "end\n"},
    		},
    	}}
    
    	for _, v := range vectors {
    		t.Run(path.Base(v.file), func(t *testing.T) {
    			f, err := os.Open(v.file)
    			if err != nil {
    				t.Fatalf("Open() error: %v", err)
    			}
    			defer f.Close()
    
    			tr := NewReader(f)
    			for i, tc := range v.cases {
    				hdr, err := tr.Next()
    				if err != nil || hdr == nil {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Oct 03 15:48:09 UTC 2024
    - 46.9K bytes
    - Viewed (0)
Back to top