Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 48 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/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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. src/regexp/syntax/parse_test.go

    			nre, err := Parse(s, testFlags)
    			if err != nil {
    				t.Errorf("Parse(%#q.String() = %#q): %v", tt.Regexp, s, err)
    				continue
    			}
    			nd := dump(nre)
    			if d != nd {
    				t.Errorf("Parse(%#q) -> %#q; %#q vs %#q", tt.Regexp, s, d, nd)
    			}
    
    			ns := nre.String()
    			if s != ns {
    				t.Errorf("Parse(%#q) -> %#q -> %#q", tt.Regexp, s, ns)
    			}
    		}
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 16 16:02:30 UTC 2023
    - 16.2K bytes
    - Viewed (0)
  10. src/syscall/zsysnum_openbsd_riscv64.go

    	SYS_SETITIMER      = 69  // { int sys_setitimer(int which, \
    	SYS_GETITIMER      = 70  // { int sys_getitimer(int which, \
    	SYS_SELECT         = 71  // { int sys_select(int nd, fd_set *in, fd_set *ou, \
    	SYS_KEVENT         = 72  // { int sys_kevent(int fd, \
    	SYS_MUNMAP         = 73  // { int sys_munmap(void *addr, size_t len); }
    	SYS_MPROTECT       = 74  // { int sys_mprotect(void *addr, size_t len, \
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 04 02:55:38 UTC 2023
    - 15.7K bytes
    - Viewed (0)
Back to top