Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for unFormatted (0.21 sec)

  1. src/cmd/go/testdata/script/work_edit.txt

    cmpenv go.work go.work.edit
    go work edit -dropgodebug key2
    cmpenv go.work go.work.edit
    go work edit -dropgodebug key
    cmpenv go.work go.work.start
    
    # go work edit -print -fmt
    env GOWORK=$GOPATH/src/unformatted
    go work edit -print -fmt
    cmp stdout $GOPATH/src/formatted
    
    -- m/go.mod --
    module m
    
    go 1.18
    -- go.work.want_initial --
    go $goversion
    
    use ./m
    -- go.work.want_use_n --
    go $goversion
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 13:52:10 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  2. cmd/prepare-storage.go

    			return nil, err
    		}
    
    		return format, nil
    	}
    
    	// Return error when quorum unformatted disks - indicating we are
    	// waiting for first server to be online.
    	unformattedDisks := quorumUnformattedDisks(sErrs)
    	if unformattedDisks && !firstDisk {
    		return nil, errNotFirstDisk
    	}
    
    	// Return error when quorum unformatted disks but waiting for rest
    	// of the servers to be online.
    	if unformattedDisks && firstDisk {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sun May 19 08:06:49 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  3. cmd/storage-errors.go

    var errCorruptedFormat = StorageErr("corrupted format")
    
    // errCorruptedBackend - corrupted backend.
    var errCorruptedBackend = StorageErr("corrupted backend")
    
    // errUnformattedDisk - unformatted disk found.
    var errUnformattedDisk = StorageErr("unformatted drive found")
    
    // errInconsistentDisk - inconsistent disk found.
    var errInconsistentDisk = StorageErr("inconsistent drive found")
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Apr 04 12:04:40 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  4. cmd/erasure-common.go

    			if disks[i] == nil {
    				return
    			}
    			di, err := disks[i].DiskInfo(context.Background(), DiskInfoOptions{})
    			if err != nil || di.Healing {
    				// - Do not consume disks which are not reachable
    				//   unformatted or simply not accessible for some reason.
    				//
    				// - Do not consume disks which are being healed
    				//
    				// - Future: skip busy disks
    				return
    			}
    
    			mu.Lock()
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  5. cmd/erasure-sets.go

    /*
    
    All disks online
    -----------------
    - All Unformatted - format all and return success.
    - Some Unformatted - format all and return success.
    - Any JBOD inconsistent - return failure
    - Some are corrupt (missing format.json) - return failure
    - Any unrecognized disks - return failure
    
    Some disks are offline and we have quorum.
    -----------------
    - Some unformatted - format all and return success,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 37.7K bytes
    - Viewed (0)
  6. src/cmd/cover/cover_test.go

    	// We don't put it in test.go because then we would have to gofmt it.
    	// Issue 23927.
    	lines = append(lines, []byte("func unFormatted() {"),
    		[]byte("\tif true {"),
    		[]byte("\t}else{"),
    		[]byte("\t}"),
    		[]byte("}"))
    	lines = append(lines, []byte("func unFormatted2(b bool) {if b{}else{}}"))
    
    	coverInput := filepath.Join(dir, "test_line.go")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 07 16:54:28 UTC 2023
    - 18.4K bytes
    - Viewed (0)
  7. cmd/format-erasure_test.go

    			formats[i*setDriveCount+j] = newFormat
    		}
    	}
    
    	quorumFormat, err := getFormatErasureInQuorum(formats)
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	// 16th disk is unformatted.
    	errs[15] = errUnformattedDisk
    
    	newFormats, _ := newHealFormatSets(quorumFormat, setCount, setDriveCount, formats, errs)
    	if newFormats == nil {
    		t.Fatal("Unexpected failure")
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Apr 15 08:25:46 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  8. cmd/erasure.go

    				return
    			}
    
    			di, err := disk.DiskInfo(context.Background(), DiskInfoOptions{})
    			infos[i] = di
    			if err != nil {
    				// - Do not consume disks which are not reachable
    				//   unformatted or simply not accessible for some reason.
    				infos[i].Error = err.Error()
    			}
    		}()
    	}
    	wg.Wait()
    
    	var scanningDisks, healingDisks []StorageAPI
    	var scanningInfos, healingInfos []DiskInfo
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 16K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/printf/printf.go

    	return false
    }
    
    // printFormatRE is the regexp we match and report as a possible format string
    // in the first argument to unformatted prints like fmt.Print.
    // We exclude the space flag, so that printing a string like "x % y" is not reported as a format.
    var printFormatRE = regexp.MustCompile(`%` + flagsRE + numOptRE + `\.?` + numOptRE + indexOptRE + verbRE)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 32.5K bytes
    - Viewed (0)
  10. cmd/format-erasure.go

    	}
    	return i
    }
    
    // Does all errors indicate we need to initialize all disks?.
    func shouldInitErasureDisks(errs []error) bool {
    	return countErrs(errs, errUnformattedDisk) == len(errs)
    }
    
    // Check if unformatted disks are equal to 50%+1 of all the drives.
    func quorumUnformattedDisks(errs []error) bool {
    	return countErrs(errs, errUnformattedDisk) >= (len(errs)/2)+1
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 23.2K bytes
    - Viewed (0)
Back to top