- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 385 for atol (0.08 sec)
-
src/cmd/vendor/golang.org/x/sys/plan9/syscall_plan9.go
p = i + 1 nf++ } } f[nf] = buf[p:] nf++ if nf != len(f) { return syscall.ErrorString("invalid wait message") } w.Pid = int(atoi(f[0])) w.Time[0] = uint32(atoi(f[1])) w.Time[1] = uint32(atoi(f[2])) w.Time[2] = uint32(atoi(f[3])) w.Msg = cstring(f[4]) if w.Msg == "''" { // await() returns '' for no error w.Msg = "" } return }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 16 22:24:28 UTC 2022 - 7K bytes - Viewed (0) -
internal/config/heal/heal.go
} cfg.IOCount, err = strconv.Atoi(env.Get(EnvIOCount, kvs.GetWithDefault(IOCount, DefaultKVS))) if err != nil { return cfg, fmt.Errorf("'heal:max_io' value invalid: %w", err) } if ws := env.Get(EnvDriveWorkers, kvs.GetWithDefault(DriveWorkers, DefaultKVS)); ws != "" { w, err := strconv.Atoi(ws) if err != nil {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 4.9K bytes - Viewed (0) -
src/strconv/doc.go
// Package strconv implements conversions to and from string representations // of basic data types. // // # Numeric Conversions // // The most common numeric conversions are [Atoi] (string to int) and [Itoa] (int to string). // // i, err := strconv.Atoi("-42") // s := strconv.Itoa(-42) // // These assume decimal and the Go int type. // // [ParseBool], [ParseFloat], [ParseInt], and [ParseUint] convert strings to values: //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 04 14:21:28 UTC 2024 - 1.9K bytes - Viewed (0) -
src/os/user/listgroups_unix.go
"io" "os" "strconv" ) func listGroupsFromReader(u *User, r io.Reader) ([]string, error) { if u.Username == "" { return nil, errors.New("user: list groups: empty username") } primaryGid, err := strconv.Atoi(u.Gid) if err != nil { return nil, fmt.Errorf("user: list groups for %s: invalid gid %q", u.Username, u.Gid) } userCommas := []byte("," + u.Username + ",") // ,john,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 07 23:34:21 UTC 2023 - 2.9K bytes - Viewed (0) -
guava/src/com/google/common/graph/NetworkBuilder.java
* flightNetwork.addEdge("LAX", "ATL", 3025); * flightNetwork.addEdge("LAX", "ATL", 1598); * flightNetwork.addEdge("ATL", "LAX", 2450); * * // Building a immutable network * ImmutableNetwork<String, Integer> immutableNetwork = * NetworkBuilder.directed() * .allowsParallelEdges(true) * .<String, Integer>immutable() * .addEdge("LAX", "ATL", 3025) * .addEdge("LAX", "ATL", 1598)
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri Jun 03 01:21:31 UTC 2022 - 7.4K bytes - Viewed (0) -
test/fixedbugs/bug049.go
// errorcheck // Copyright 2009 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package main func atom(s string) { if s == nil { // ERROR "nil|incompatible" return; } } func main() {} /* bug047.go:4: fatal error: stringpool: not string
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 17 04:48:57 UTC 2012 - 341 bytes - Viewed (0) -
src/syscall/syscall_plan9.go
p = i + 1 nf++ } } f[nf] = buf[p:] nf++ if nf != len(f) { return NewError("invalid wait message") } w.Pid = int(atoi(f[0])) w.Time[0] = uint32(atoi(f[1])) w.Time[1] = uint32(atoi(f[2])) w.Time[2] = uint32(atoi(f[3])) w.Msg = cstring(f[4]) if w.Msg == "''" { // await() returns '' for no error w.Msg = "" } return }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 26 21:03:59 UTC 2024 - 9.4K bytes - Viewed (0) -
src/os/user/lookup_unix.go
if len(parts) < 6 || parts[idx] != value || parts[0] == "" || parts[0][0] == '+' || parts[0][0] == '-' { return } if _, err := strconv.Atoi(parts[2]); err != nil { return nil, nil } if _, err := strconv.Atoi(parts[3]); err != nil { return nil, nil } u := &User{ Username: parts[0], Uid: parts[2], Gid: parts[3], Name: parts[4],
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 07 23:34:21 UTC 2023 - 6K bytes - Viewed (0) -
tools/istio-iptables/pkg/capture/run_linux.go
if err != nil { return fmt.Errorf("failed to find 'lo' link: %v", err) } tproxyTable, err := strconv.Atoi(cfg.InboundTProxyRouteTable) if err != nil { return fmt.Errorf("failed to parse InboundTProxyRouteTable: %v", err) } tproxyMark, err := strconv.Atoi(cfg.InboundTProxyMark) if err != nil { return fmt.Errorf("failed to parse InboundTProxyMark: %v", err) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 30 22:24:38 UTC 2024 - 3.1K bytes - Viewed (0) -
src/cmd/compile/internal/types/goversion.go
} matches := goVersionRE.FindStringSubmatch(s) if matches == nil { return lang{}, fmt.Errorf(`should be something like "go1.12"`) } major, err := strconv.Atoi(matches[1]) if err != nil { return lang{}, err } minor, err := strconv.Atoi(matches[2]) if err != nil { return lang{}, err } return lang{major: major, minor: minor}, nil } // currentLang returns the current language version.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 08 21:36:02 UTC 2024 - 2.4K bytes - Viewed (0)