- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 117 for atoi32 (0.27 sec)
-
src/vendor/golang.org/x/net/nettest/nettest.go
// Technical Level < 2. out, _ := exec.Command("oslevel", "-s").Output() if len(out) >= len("7200-XX-ZZ-YYMM") { // AIX 7.2, Tech Level XX, Service Pack ZZ, date YYMM ver := string(out[:4]) tl, _ := strconv.Atoi(string(out[5:7])) unStrmDgramEnabled = ver > "7200" || (ver == "7200" && tl >= 2) } default: unStrmDgramEnabled = true } } func unixStrmDgramEnabled() bool { stackOnce.Do(probeStack)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 16:19:04 UTC 2024 - 8.5K bytes - Viewed (0) -
pkg/kubelet/util/manager/cache_based_manager.go
if err != nil { return time.Duration(0), false } if node != nil && node.Annotations != nil { if value, ok := node.Annotations[v1.ObjectTTLAnnotationKey]; ok { if intValue, err := strconv.Atoi(value); err == nil { return time.Duration(intValue) * time.Second, true } } } return time.Duration(0), false } } func (s *objectStore) isObjectFresh(data *objectData) bool {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 8.3K bytes - Viewed (0) -
security/pkg/k8s/chiron/utils_test.go
func getServerPort(server *httptest.Server) (int, error) { strs := strings.Split(server.URL, ":") if len(strs) < 2 { return 0, fmt.Errorf("server.URL is invalid: %v", server.URL) } port, err := strconv.Atoi(strs[len(strs)-1]) if err != nil { return 0, fmt.Errorf("error to extract port from URL: %v", server.URL) } return port, nil } func initFakeKubeClient(t test.Failer, certificate []byte) kube.CLIClient {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 15 03:58:11 UTC 2024 - 13K bytes - Viewed (0) -
common/config/.golangci.yml
# default is false: such cases aren't reported by default. check-type-assertions: false # report about assignment of errors to blank identifier: `num, _ := strconv.Atoi(numStr)`; # default is false: such cases aren't reported by default. check-blank: false govet: disable: # report about shadowed variables - shadow goimports:
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Jun 04 20:03:06 UTC 2024 - 11.3K bytes - Viewed (0) -
cmd/bucket-listobjects-handlers.go
if token == "" { return token, -1 } i := strings.Index(token, getKeySeparator()) if i < 0 { return token, -1 } nodeIndex, err := strconv.Atoi(token[i+1:]) if err != nil { return token, -1 } subToken = token[:i] return subToken, nodeIndex }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue Jun 11 03:13:30 UTC 2024 - 11.4K bytes - Viewed (0) -
pkg/volume/iscsi/iscsi.go
} arr := strings.Split(device, "-lun-") if len(arr) < 2 { return volume.ReconstructedVolume{}, fmt.Errorf("failed to retrieve lun from globalPDPath: %v", globalPDPath) } lun, err := strconv.Atoi(arr[1]) if err != nil { return volume.ReconstructedVolume{}, err } iface, _ := extractIface(globalPDPath) iscsiVolume := &v1.Volume{ Name: volumeName, VolumeSource: v1.VolumeSource{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 14 06:17:25 UTC 2024 - 23.4K bytes - Viewed (0) -
src/cmd/vendor/github.com/google/pprof/internal/binutils/binutils.go
if len(fields) != 5 { return false } if fields[4] == "trunk" { return true } verMajor, err := strconv.Atoi(fields[1]) if err != nil { return false } verPatch, err := strconv.Atoi(fields[3]) if err != nil { return false } if runtime.GOOS == "linux" && verMajor >= 8 { // Ensure LLVM objdump is at least version 8.0 on Linux.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 31 19:48:28 UTC 2024 - 22.3K bytes - Viewed (0) -
internal/event/target/mysql.go
return err } } else { // Some fields need to be specified when DSN is unspecified if m.Port == "" { return fmt.Errorf("unspecified port") } if _, err := strconv.Atoi(m.Port); err != nil { return fmt.Errorf("invalid port") } if m.Database == "" { return fmt.Errorf("database unspecified") } } if m.QueueDir != "" { if !filepath.IsAbs(m.QueueDir) {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 11.5K bytes - Viewed (0) -
internal/config/storageclass/storage-class.go
return StorageClass{}, config.ErrStorageClassValue(nil).Msg("Unsupported scheme " + s[0] + ". Supported scheme is EC") } // Number of parity drives should be integer parityDrives, err := strconv.Atoi(s[1]) if err != nil { return StorageClass{}, config.ErrStorageClassValue(err) } if parityDrives < 0 { return StorageClass{}, config.ErrStorageClassValue(nil).Msg("Unsupported parity value " + s[1] + " provided")
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 11.8K bytes - Viewed (0) -
internal/config/identity/ldap/ldap.go
} // GetExpiryDuration - return parsed expiry duration. func (l Config) GetExpiryDuration(dsecs string) (time.Duration, error) { if dsecs == "" { return l.stsExpiryDuration, nil } d, err := strconv.Atoi(dsecs) if err != nil { return 0, auth.ErrInvalidDuration } dur := time.Duration(d) * time.Second if dur < minLDAPExpiry || dur > maxLDAPExpiry { return 0, auth.ErrInvalidDuration }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Sat May 25 13:43:06 UTC 2024 - 10.3K bytes - Viewed (1)