- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 318 for atom (0.09 sec)
-
src/os/stat_openbsd.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 18:44:48 UTC 2024 - 1.1K bytes - Viewed (0) -
src/regexp/exec_test.go
pair := res[i:j] if pair == "-" { out[n] = -1 out[n+1] = -1 } else { loStr, hiStr, _ := strings.Cut(pair, "-") lo, err1 := strconv.Atoi(loStr) hi, err2 := strconv.Atoi(hiStr) if err1 != nil || err2 != nil || lo > hi { t.Fatalf("%s:%d: invalid pair %s", file, lineno, pair) } out[n] = lo out[n+1] = hi } n += 2 i = j + 1
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:36:03 UTC 2024 - 20.7K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/intstr/intstr.go
// it is a String, will attempt a conversion to int, // returning 0 if a parsing error occurs. func (intstr *IntOrString) IntValue() int { if intstr.Type == String { i, _ := strconv.Atoi(intstr.StrVal) return i } return int(intstr.IntVal) } // MarshalJSON implements the json.Marshaller interface. func (intstr IntOrString) MarshalJSON() ([]byte, error) { switch intstr.Type {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 21:48:09 UTC 2024 - 7.8K bytes - Viewed (0) -
src/os/user/cgo_lookup_unix.go
} if err != nil { return nil, fmt.Errorf("user: lookup username %s: %v", username, err) } return buildUser(&pwd), err } func lookupUserId(uid string) (*User, error) { i, e := strconv.Atoi(uid) if e != nil { return nil, e } return lookupUnixUid(i) } func lookupUnixUid(uid int) (*User, error) { var pwd _C_struct_passwd var found bool
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 11 17:08:14 UTC 2024 - 5.2K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/asmdecl/asmdecl.go
flag := m[3] fn = knownFunc[fnName][arch] if fn != nil { size, _ := strconv.Atoi(m[5]) if size != fn.size && (flag != "7" && !strings.Contains(flag, "NOSPLIT") || size != 0) { badf("wrong argument size %d; expected $...-%d", size, fn.size) } } localSize, _ = strconv.Atoi(m[4]) localSize += archDef.intSize if archDef.lr && !strings.Contains(flag, "NOFRAME") {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 02:38:00 UTC 2024 - 22.8K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/mod/sumdb/tlog/tile.go
} h, err1 := strconv.Atoi(f[1]) isData := false if f[2] == "data" { isData = true f[2] = "0" } l, err2 := strconv.Atoi(f[2]) if err1 != nil || err2 != nil || h < 1 || l < 0 || h > 30 { return Tile{}, &badPathError{path} } w := 1 << uint(h) if dotP := f[len(f)-2]; strings.HasSuffix(dotP, ".p") { ww, err := strconv.Atoi(f[len(f)-1]) if err != nil || ww <= 0 || ww >= w {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 02:38:00 UTC 2024 - 13K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/ztypes_solaris_amd64.go
Max uint64 } type _Gid_t uint32 type Stat_t struct { Dev uint64 Ino uint64 Mode uint32 Nlink uint32 Uid uint32 Gid uint32 Rdev uint64 Size int64 Atim Timespec Mtim Timespec Ctim Timespec Blksize int32 Blocks int64 Fstype [16]int8 } type Flock_t struct { Type int16 Whence int16 Start int64 Len int64 Sysid int32
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 7.5K bytes - Viewed (0) -
cmd/admin-handlers-pools.go
byID := vars["by-id"] == "true" pools := strings.Split(v, ",") poolIndices := make([]int, 0, len(pools)) for _, pool := range pools { var idx int if byID { var err error idx, err = strconv.Atoi(pool) if err != nil { // We didn't find any matching pools, invalid input writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, errInvalidArgument), r.URL) return } } else {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 10.9K bytes - Viewed (0) -
operator/pkg/util/path.go
} // IsNPathElement report whether pe is an index path element. func IsNPathElement(pe string) bool { pe, ok := RemoveBrackets(pe) if !ok { return false } n, err := strconv.Atoi(pe) return err == nil && n >= InsertIndex } // PathKV returns the key and value string parts of the entire key/value path element. // It returns an error if pe is not a key/value path element.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Dec 12 17:12:54 UTC 2023 - 5.5K bytes - Viewed (0) -
src/go/build/constraint/vers.go
return minVersion(z.X, -sign) case *TagExpr: if sign < 0 { // !foo implies nothing return -1 } if z.Tag == "go1" { return 0 } _, v, _ := strings.Cut(z.Tag, "go1.") n, err := strconv.Atoi(v) if err != nil { // not a go1.N tag return -1 } return n } } // andVersion returns the minimum Go version // implied by the AND of two minimum Go versions,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 27 14:19:00 UTC 2023 - 2.2K bytes - Viewed (0)