- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for checkers (0.19 sec)
-
src/cmd/go/alldocs.go
// For more about specifying packages, see 'go help packages'. // For a list of checkers and their flags, see 'go tool vet help'. // For details of a specific checker such as 'printf', see 'go tool vet help printf'. // // The -vettool=prog flag selects a different analysis tool with alternative // or additional checks. // For example, the 'shadow' analyzer can be built and run using these commands: //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 11 16:54:28 UTC 2024 - 142.4K bytes - Viewed (0) -
pkg/kubelet/kubelet_pods.go
dirPath, volName := vol.BlockVolumeMapper.GetPodDeviceMapPath() symlinkPath := filepath.Join(dirPath, volName) if islinkExist, checkErr := blkutil.IsSymlinkExist(symlinkPath); checkErr != nil { return nil, checkErr } else if islinkExist { // Check readOnly in PVCVolumeSource and set read only permission if it's true. permission := "mrw" if vol.ReadOnly { permission = "r"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 14 16:09:17 UTC 2024 - 101.2K bytes - Viewed (0) -
pkg/config/validation/validation.go
return nil } // validateWeight checks if weight is valid func validateWeight(weight int32) error { if weight < 0 { return fmt.Errorf("weight %d < 0", weight) } return nil } // ValidatePercent checks that percent is in range func ValidatePercent(val int32) error { if val < 0 || val > 100 {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jun 12 04:03:33 UTC 2024 - 107.2K bytes - Viewed (0)