HomeSort by relevance Sort by last modified time
    Searched defs:String (Results 201 - 225 of 1402) sorted by null

1 2 3 4 5 6 7 891011>>

  /prebuilts/go/darwin-x86/src/math/big/
decimal.go 160 func (x *decimal) String() string {
185 return string(buf)
ftoa.go 5 // This file implements Float-to-string conversion functions.
17 // Text converts the floating-point number x to a string according
43 func (x *Float) Text(format byte, prec int) string {
48 return string(x.Append(make([]byte, 0, cap), format, prec))
51 // String formats x like x.Text('g', 10).
52 // (String must be called explicitly, Float.Format does not support %s verb.)
53 func (x *Float) String() string {
57 // Append appends to buf the string form of the floating-point number x,
305 // fmtB appends the string of x in the format mantissa "p" exponen
    [all...]
hilbert_test.go 125 func (a *matrix) String() string {
intconv.go 5 // This file implements int-to-string conversion functions.
15 // Text returns the string representation of x in the given base.
19 // No prefix (such as "0x") is added to the string.
20 func (x *Int) Text(base int) string {
24 return string(x.abs.itoa(x.neg, base))
27 // Append appends the string representation of x, as generated by
36 func (x *Int) String() string {
41 func writeMultiple(s fmt.State, text string, count int) {
77 fmt.Fprintf(s, "%%!%c(big.Int=%s)", ch, x.String())
    [all...]
ratconv.go 5 // This file implements rat-to-string conversion functions.
34 if _, ok := z.SetString(string(tok)); !ok {
42 // optionally followed by an exponent. The entire string (not just a prefix)
45 func (z *Rat) SetString(s string) (*Rat, bool) {
61 // entire string must have been consumed
199 exp, err = strconv.ParseInt(string(digits), 10, 64)
203 // String returns a string representation of x in the form "a/b" (even if b == 1).
204 func (x *Rat) String() string {
    [all...]
  /prebuilts/go/darwin-x86/src/net/http/
triv.go 39 func (ctr *Counter) String() string {
54 body := buf.String()
72 if f.Value.String() != f.DefValue {
73 fmt.Fprintf(w, "%s = %s [default = %s]\n", f.Name, f.Value.String(), f.DefValue)
75 fmt.Fprintf(w, "%s = %s\n", f.Name, f.Value.String())
121 var webroot = flag.String("root", os.Getenv("HOME"), "web root directory")
  /prebuilts/go/darwin-x86/src/os/
exec_posix.go 22 func startProcess(name string, argv []string, attr *ProcAttr) (p *Process, err error) {
85 func (p *ProcessState) String() string {
95 res = "signal: " + status.Signal().String()
97 res = "stop signal: " + status.StopSignal().String()
  /prebuilts/go/darwin-x86/src/sort/
example_wrapper_test.go 14 func (g Grams) String() string { return fmt.Sprintf("%dg", int(g)) }
17 Name string
  /prebuilts/go/darwin-x86/src/strings/
builder.go 12 // A Builder is used to efficiently build a string using Write methods.
45 // String returns the accumulated string.
46 func (b *Builder) String() string {
47 return *(*string)(unsafe.Pointer(&b.buf))
50 // Len returns the number of accumulated bytes; b.Len() == len(b.String()).
115 func (b *Builder) WriteString(s string) (int, error) {
  /prebuilts/go/darwin-x86/src/text/tabwriter/
tabwriter_test.go 35 func (b *buffer) String() string { return string(b.a) }
37 func write(t *testing.T, testname string, w *Writer, src string) {
47 func verify(t *testing.T, testname string, w *Writer, b *buffer, src, expected string) {
53 res := b.String()
59 func check(t *testing.T, testname string, minwidth, tabwidth, padding int, padchar byte, flags uint, src, expected string) {
    [all...]
  /prebuilts/go/darwin-x86/src/vendor/golang_org/x/crypto/cryptobyte/
string.go 9 // The String type is for parsing. It wraps a []byte slice and provides helper
16 // See the documentation and examples for the Builder and String types to get
20 // String represents a string of bytes. It provides methods for parsing
22 type String []byte
24 // read advances a String by n bytes and returns them. If less than n bytes
26 func (s *String) read(n int) []byte {
35 // Skip advances the String by n byte and reports whether it was successful.
36 func (s *String) Skip(n int) bool {
42 func (s *String) ReadUint8(out *uint8) bool
    [all...]
  /prebuilts/go/linux-x86/doc/progs/
eff_bytesize.go 23 func (b ByteSize) String() string {
  /prebuilts/go/linux-x86/src/cmd/asm/internal/flags/
flags.go 19 OutputFile = flag.String("o", "", "output file; default foo.o for /a/b/c/foo.s as first argument")
21 TrimPath = flag.String("trimpath", "", "remove prefix from recorded source file paths")
39 type MultiFlag []string
41 func (m *MultiFlag) String() string {
48 func (m *MultiFlag) Set(val string) error {
  /prebuilts/go/linux-x86/src/cmd/asm/internal/lex/
lex.go 37 func (t ScanToken) String() string {
49 case scanner.String:
50 return "string constant"
52 return "raw string constant"
61 func NewLexer(name string) TokenReader {
81 // Text returns the original string representation of the token.
82 Text() string
84 File() string
97 // A Token is a scan token plus its string value
    [all...]
  /prebuilts/go/linux-x86/src/cmd/compile/internal/arm/
ssa.go 75 func (v shift) String() string {
496 var wantreg string
  /prebuilts/go/linux-x86/src/cmd/compile/internal/ssa/
loopreschedchecks.go 34 func (r *rewrite) String() string {
35 s := "\n\tbefore=" + r.before.String() + ", after=" + r.after.String()
143 fmt.Printf("before b=%s, rewrite=%s\n", b, r.String())
155 fmt.Printf("after b=%s, rewrite=%s\n", b, r.String())
print.go 17 func (f *Func) String() string {
21 return buf.String()
sparsetreemap.go 179 func (m *SparseTreeMap) String() string {
181 return tree.String()
184 func (e *sparseTreeMapEntry) String() string {
  /prebuilts/go/linux-x86/src/cmd/go/internal/load/
flag.go 32 flags []string
36 func (f *PerPackageFlag) Set(v string) error {
41 func (f *PerPackageFlag) set(v, cwd string) error {
49 f.values = append(f.values, ppfValue{match, []string{}})
69 flags = []string{}
75 // String is required to implement flag.Value.
77 func (f *PerPackageFlag) String() string { return "<PerPackageFlag>" }
85 func (f *PerPackageFlag) For(p *Package) []string {
86 flags := []string{}
    [all...]
  /prebuilts/go/linux-x86/src/cmd/internal/edit/
edit.go 23 new string
45 func (b *Buffer) Insert(pos int, new string) {
59 func (b *Buffer) Replace(start, end int, new string) {
89 // String returns a string containing the original data
91 func (b *Buffer) String() string {
92 return string(b.Bytes())
  /prebuilts/go/linux-x86/src/cmd/internal/objabi/
flag.go 15 func Flagcount(name, usage string, val *int) {
19 func Flagfn1(name, usage string, f func(string)) {
39 var buildID string // filled in by linker
45 func (versionFlag) String() string { return "" }
46 func (versionFlag) Set(s string) error {
78 func (c *count) String() string {
82 func (c *count) Set(s string) error
    [all...]
head.go 52 func (h *HeadType) Set(s string) error {
80 func (h *HeadType) String() string {
  /prebuilts/go/linux-x86/src/cmd/nm/
nm.go 37 sortOrder = flag.String("sort", "name", "")
54 func (nflag) Set(value string) error {
61 func (nflag) String() string {
96 func errorf(format string, args ...interface{}) {
101 func nm(file string) {
  /prebuilts/go/linux-x86/src/cmd/vet/
copylock.go 120 func checkCopyLocksFunc(f *File, name string, recv *ast.FieldList, typ *ast.FuncType) {
184 // String pretty-prints a typePath.
185 func (path typePath) String() string {
193 fmt.Fprint(&buf, path[n-i-1].String())
195 return buf.String()
  /prebuilts/go/linux-x86/src/go/types/
methodset.go 22 func (s *MethodSet) String() string {
33 return buf.String()
43 func (s *MethodSet) Lookup(pkg *Package, name string) *Selection {
203 type fieldSet map[string]*Var // a nil entry indicates a name collision
227 type methodSet map[string]*Selection // a nil entry indicates a name collision

Completed in 751 milliseconds

1 2 3 4 5 6 7 891011>>