- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 70 for Nd (0.08 sec)
-
src/strconv/ftoa.go
shortest := prec < 0 if shortest { roundShortest(d, mant, exp, flt) digs = decimalSlice{d: d.d[:], nd: d.nd, dp: d.dp} // Precision for shortest representation mode. switch fmt { case 'e', 'E': prec = digs.nd - 1 case 'f': prec = max(digs.nd-digs.dp, 0) case 'g', 'G': prec = digs.nd } } else { // Round appropriately. switch fmt { case 'e', 'E': d.Round(prec + 1)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 04 14:21:28 UTC 2024 - 13.9K bytes - Viewed (0) -
src/strconv/ftoaryu.go
d.dp += 9 } else { d.nd = 0 // emit high part n := uint(9) for v := chi; v > 0; { v1, v2 := v/10, v%10 v = v1 n-- d.d[n] = byte(v2 + '0') } d.d = d.d[n:] d.nd = int(9 - n) // emit low part ryuDigits32(d, llo, clo, ulo, c0, cup, d.nd+8) } // trim trailing zeros for d.nd > 0 && d.d[d.nd-1] == '0' { d.nd-- }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 09 00:28:56 UTC 2022 - 15.7K bytes - Viewed (0) -
src/strconv/atof.go
case s[i] == '.': if sawdot { return } sawdot = true b.dp = b.nd continue case '0' <= s[i] && s[i] <= '9': sawdigits = true if s[i] == '0' && b.nd == 0 { // ignore leading zeros b.dp-- continue } if b.nd < len(b.d) { b.d[b.nd] = s[i] b.nd++ } else if s[i] != '0' { b.trunc = true } continue } break }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 06 18:50:50 UTC 2022 - 15.9K bytes - Viewed (0) -
src/runtime/profbuf.go
return false } // room for data? nd := countSub(br.dataCount(), bw.dataCount()) + len(b.data) want := 2 + int(b.hdrsize) + nstk i := int(bw.dataCount() % uint32(len(b.data))) if i+want > len(b.data) { // Can't fit in trailing fragment of slice. // Skip over that and start over at beginning of slice. nd -= len(b.data) - i } return nd >= want }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 18.2K bytes - Viewed (0) -
src/cmd/go/internal/test/testflag.go
packageNames = []string{} } if nd.RawArg == "-args" || nd.RawArg == "--args" { // -args or --args signals that everything that follows // should be passed to the test. explicitArgs = append(explicitArgs, remainingArgs...) break } if firstUnknownFlag == "" { firstUnknownFlag = nd.RawArg } explicitArgs = append(explicitArgs, nd.RawArg) args = remainingArgs
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 21 19:25:24 UTC 2024 - 12.2K bytes - Viewed (0) -
src/internal/godebugs/godebugs_test.go
} if !info.Opaque && !incs[info.Name] { t.Errorf("Name=%s missing IncNonDefault calls; see 'go doc internal/godebug'", info.Name) } } } var incNonDefaultRE = regexp.MustCompile(`([\pL\p{Nd}_]+)\.IncNonDefault\(\)`) func incNonDefaults(t *testing.T) map[string]bool { // Build list of all files importing internal/godebug. // Tried a more sophisticated search in go list looking for
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Mar 09 14:19:39 UTC 2024 - 2.3K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/main/java/org/gradle/internal/util/NumberUtil.java
private static final List<String> UNITS = unmodifiableList(asList(" B", " KiB", " MiB", " GiB", " TiB", " PiB", " EiB")); private static final List<String> ORDINAL_SUFFIXES = unmodifiableList(asList("th", "st", "nd", "rd", "th", "th", "th", "th", "th", "th")); /** * Percentage (0-...) of given input. * * @param fraction the fraction of total, must be >= 0. if 0, the result will be 100.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:48:02 UTC 2023 - 3.3K bytes - Viewed (0) -
src/cmd/compile/internal/inline/inlheur/funcprops_test.go
} // Consume all existing comments. if strings.HasPrefix(line, "//") { continue } ues.newgolines = append(ues.newgolines, line) } if didx != nd { t.Logf("didx=%d wanted %d", didx, nd) } // Open new Go file and write contents. of, err := os.OpenFile(newgopath, os.O_WRONLY|os.O_CREATE|os.O_TRUNC, 0644) if err != nil { t.Fatalf("opening %s: %v", newgopath, err) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 16 20:15:25 UTC 2023 - 15K bytes - Viewed (0) -
docs/language_names.yml
mg: fiteny malagasy mh: Kajin M̧ajeļ mi: te reo Māori mk: македонски јазик ml: മലയാളം mn: Монгол хэл mr: मराठी ms: Bahasa Malaysia mt: Malti my: ဗမာစာ na: Ekakairũ Naoero nb: Norsk bokmål nd: isiNdebele ne: नेपाली ng: Owambo nl: Nederlands nn: Norsk nynorsk 'no': Norsk nr: isiNdebele nv: Diné bizaad ny: chiCheŵa oc: occitan oj: ᐊᓂᔑᓈᐯᒧᐎᓐ om: Afaan Oromoo or: ଓଡ଼ିଆ
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Mon Jan 22 19:42:53 UTC 2024 - 3.1K bytes - Viewed (0) -
src/encoding/pem/pem_test.go
{"abc", "abc", ""}, {"abc\r", "abc\r", ""}, {"abc\n", "abc", ""}, {"abc\r\n", "abc", ""}, {"abc\nd", "abc", "d"}, {"abc\r\nd", "abc", "d"}, {"\nabc", "", "abc"}, {"\r\nabc", "", "abc"}, {"abc\t \nd", "abc", "d"}, {"\t abc\nd", "\t abc", "d"}, {"abc\n\t d", "abc", "\t d"}, {"abc\nd\t ", "abc", "d\t "}, } func TestGetLine(t *testing.T) { for i, test := range getLineTests {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 29 22:56:00 UTC 2022 - 23.5K bytes - Viewed (0)