- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for parseLink (0.21 sec)
-
src/math/big/int_test.go
continue } want, err := strconv.ParseUint(s, 0, 64) if err != nil { // check for sign explicitly (ErrRange doesn't cover signed input) if s[0] == '-' || err.(*strconv.NumError).Err == strconv.ErrRange { if x.IsUint64() { t.Errorf("IsUint64(%s) succeeded unexpectedly", s) } } else { t.Errorf("ParseUint(%s) failed", s) } continue }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 18:42:28 UTC 2024 - 58.5K bytes - Viewed (0) -
cmd/peer-rest-server.go
blockSizeStr := r.Form.Get("blocksize") fileSizeStr := r.Form.Get("filesize") blockSize, err := strconv.ParseUint(blockSizeStr, 10, 64) if err != nil { blockSize = 4 * humanize.MiByte // default value } fileSize, err := strconv.ParseUint(fileSizeStr, 10, 64) if err != nil { fileSize = 1 * humanize.GiByte // default value } opts := madmin.DriveSpeedTestOpts{
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 52.1K bytes - Viewed (0) -
src/net/http/request.go
return 0, 0, false } if len(vers) != len("HTTP/X.Y") { return 0, 0, false } if vers[6] != '.' { return 0, 0, false } maj, err := strconv.ParseUint(vers[5:6], 10, 0) if err != nil { return 0, 0, false } min, err := strconv.ParseUint(vers[7:8], 10, 0) if err != nil { return 0, 0, false } return int(maj), int(min), true } func validMethod(method string) bool { /*
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 49.4K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuilder.java
if (str == null) { str = request.getSystemProperties().getProperty(BUILDER_PARALLELISM); } if (str != null) { parallelism = Integer.parseInt(str); } } catch (Exception e) { // ignore } return Math.max(1, Math.min(parallelism, Runtime.getRuntime().availableProcessors())); }
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Mon May 13 16:34:29 UTC 2024 - 57.1K bytes - Viewed (0) -
src/cmd/compile/internal/syntax/parser.go
i := strings.LastIndexByte(text, ':') // look from right (Windows filenames may contain ':') if i < 0 { return 0, 0, false // no ':' } // i >= 0 n, err := strconv.ParseUint(text[i+1:], 10, 0) return uint(i + 1), uint(n), err == nil } func (p *parser) got(tok token) bool { if p.tok == tok { p.next() return true } return false }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 62.9K bytes - Viewed (0) -
src/testing/testing.go
m.exitCode = 0 return } if *shuffle != "off" { var n int64 var err error if *shuffle == "on" { n = time.Now().UnixNano() } else { n, err = strconv.ParseInt(*shuffle, 10, 64) if err != nil { fmt.Fprintln(os.Stderr, `testing: -shuffle should be "off", "on", or a valid integer:`, err) m.exitCode = 2 return } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 76.1K bytes - Viewed (0) -
src/cmd/go/internal/test/test.go
if dir, _ := cache.DefaultDir(); dir != "off" { if data, _ := lockedfile.Read(filepath.Join(dir, "testexpire.txt")); len(data) > 0 && data[len(data)-1] == '\n' { if t, err := strconv.ParseInt(string(data[:len(data)-1]), 10, 64); err == nil { testCacheExpire = time.Unix(0, t) } } } b := work.NewBuilder("") defer func() { if err := b.Close(); err != nil { base.Fatal(err)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 14:34:32 UTC 2024 - 71.9K bytes - Viewed (0) -
src/cmd/cgo/gcc.go
for _, key := range nameKeys(f.Name) { n := f.Name[key] // If we've already found this name as a #define // and we can translate it as a constant value, do so. if n.Define != "" { if i, err := strconv.ParseInt(n.Define, 0, 64); err == nil { n.Kind = "iconst" // Turn decimal into hex, just for consistency // with enum-derived constants. Otherwise // in the cgo -godefs output half the constants
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 15:50:06 UTC 2024 - 97K bytes - Viewed (0)