Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 59 for Nd (0.02 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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 &gt;= 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)
  7. 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)
  8. 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)
  9. 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)
  10. src/go/doc/example.go

    					ds = append(ds, d)
    				} else {
    					// Synthesize a GenDecl with just the Specs we need.
    					nd := *d // copy the GenDecl
    					nd.Specs = specs
    					if len(specs) == 1 {
    						// Remove grouping parens if there is only one spec.
    						nd.Lparen = 0
    					}
    					ds = append(ds, &nd)
    				}
    			}
    		}
    	}
    	return ds, unresolved
    }
    
    func hasIota(s ast.Spec) bool {
    	has := false
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 21.4K bytes
    - Viewed (0)
Back to top