- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for Atoi (0.07 sec)
-
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: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Oct 24 17:36:49 UTC 2024 - 11.7K bytes - Viewed (0) -
istioctl/pkg/precheck/precheck.go
if !ok { return nil, fmt.Errorf("invalid version %v, expected format like '1.0'", version) } if major != "1" { return nil, fmt.Errorf("expected major version 1, got %v", version) } minor, err := strconv.Atoi(minors) if err != nil { return nil, fmt.Errorf("minor version is not a number: %v", minors) } var messages diag.Messages = make([]diag.Message, 0) if minor <= 21 { // ENHANCED_RESOURCE_SCOPING
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Oct 24 02:31:32 UTC 2024 - 15.3K bytes - Viewed (0) -
src/cmd/asm/internal/asm/asm.go
op := operands[0] n := len(op) if n < 3 || op[n-2].ScanToken != '/' || op[n-1].ScanToken != scanner.Int { p.errorf("expect /size for DATA argument") return } szop := op[n-1].String() sz, err := strconv.Atoi(szop) if err != nil { p.errorf("bad size for DATA argument: %q", szop) } op = op[:n-2] nameAddr := p.address(op) if !p.validSymbol("DATA", &nameAddr, true) { return }
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Mon Oct 21 14:11:44 UTC 2024 - 25.5K bytes - Viewed (0)