- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 111 for WriteString (0.12 sec)
-
src/cmd/asm/main.go
architecture.Init(ctxt) // Create object file, write header. buf, err := bio.Create(*flags.OutputFile) if err != nil { log.Fatal(err) } defer buf.Close() if !*flags.SymABIs { buf.WriteString(objabi.HeaderString()) fmt.Fprintf(buf, "!\n") } // Set macros for GOEXPERIMENTs so we can easily switch // runtime assembly code based on them. if objabi.LookupPkgSpecial(ctxt.Pkgpath).AllowAsmABI {
Registered: Tue Oct 29 11:13:09 UTC 2024 - Last Modified: Fri Jun 21 19:58:04 UTC 2024 - 2.9K bytes - Viewed (0) -
cmd/tier_gen.go
if err != nil { return } err = en.WriteMapHeader(uint32(len(z.Tiers))) if err != nil { err = msgp.WrapError(err, "Tiers") return } for za0001, za0002 := range z.Tiers { err = en.WriteString(za0001) if err != nil { err = msgp.WrapError(err, "Tiers") return } err = za0002.EncodeMsg(en) if err != nil { err = msgp.WrapError(err, "Tiers", za0001) return } } return
Registered: Sun Oct 27 19:28:09 UTC 2024 - Last Modified: Tue Jun 20 00:53:08 UTC 2023 - 4K bytes - Viewed (0) -
internal/bucket/replication/rule.go
return r.Filter.Tag.String() } if len(r.Filter.And.Tags) != 0 { var buf bytes.Buffer for _, t := range r.Filter.And.Tags { if buf.Len() > 0 { buf.WriteString("&") } buf.WriteString(t.String()) } return buf.String() } return "" } // Validate - validates the rule element func (r Rule) Validate(bucket string, sameTarget bool) error {
Registered: Sun Oct 27 19:28:09 UTC 2024 - Last Modified: Mon Jan 24 23:22:20 UTC 2022 - 8.3K bytes - Viewed (0) -
docs/sts/web-identity.go
flag.StringVar(&clientScopes, "cscopes", "openid", "Client Scopes") flag.IntVar(&port, "port", 8080, "Port") } func implicitFlowURL(c oauth2.Config, state string) string { var buf bytes.Buffer buf.WriteString(c.Endpoint.AuthURL) v := url.Values{ "response_type": {"id_token"}, "response_mode": {"form_post"}, "client_id": {c.ClientID}, } if c.RedirectURL != "" { v.Set("redirect_uri", c.RedirectURL)
Registered: Sun Oct 27 19:28:09 UTC 2024 - Last Modified: Fri May 19 09:13:33 UTC 2023 - 7.8K bytes - Viewed (0) -
cmd/site-replication-utils_gen.go
err = z.Status.EncodeMsg(en) if err != nil { err = msgp.WrapError(err, "Status") return } // write "did" err = en.Append(0xa3, 0x64, 0x69, 0x64) if err != nil { return } err = en.WriteString(z.DeplID) if err != nil { err = msgp.WrapError(err, "DeplID") return } // write "bkts" err = en.Append(0xa4, 0x62, 0x6b, 0x74, 0x73) if err != nil { return }
Registered: Sun Oct 27 19:28:09 UTC 2024 - Last Modified: Mon Nov 14 15:16:40 UTC 2022 - 7.2K bytes - Viewed (0) -
internal/grid/msg_gen.go
if err != nil { err = msgp.WrapError(err, "ID") return } // write "Host" err = en.Append(0xa4, 0x48, 0x6f, 0x73, 0x74) if err != nil { return } err = en.WriteString(z.Host) if err != nil { err = msgp.WrapError(err, "Host") return } // write "Time" err = en.Append(0xa4, 0x54, 0x69, 0x6d, 0x65) if err != nil { return } err = en.WriteTime(z.Time)
Registered: Sun Oct 27 19:28:09 UTC 2024 - Last Modified: Thu Jul 25 21:07:21 UTC 2024 - 22.4K bytes - Viewed (0) -
src/bufio/bufio.go
// Can only happen if buffer is silly small. return b.WriteString(string(r)) } } size = utf8.EncodeRune(b.buf[b.n:], r) b.n += size return size, nil } // WriteString writes a string. // It returns the number of bytes written. // If the count is less than len(s), it also returns an error explaining // why the write is short. func (b *Writer) WriteString(s string) (int, error) { var sw io.StringWriter
Registered: Tue Oct 29 11:13:09 UTC 2024 - Last Modified: Thu Oct 12 14:39:08 UTC 2023 - 21.8K bytes - Viewed (0) -
cmd/erasure-server-pool-rebalance_gen.go
return } for za0002 := range z.RebalancedBuckets { err = en.WriteString(z.RebalancedBuckets[za0002]) if err != nil { err = msgp.WrapError(err, "RebalancedBuckets", za0002) return } } // write "bu" err = en.Append(0xa2, 0x62, 0x75) if err != nil { return } err = en.WriteString(z.Bucket) if err != nil { err = msgp.WrapError(err, "Bucket") return }
Registered: Sun Oct 27 19:28:09 UTC 2024 - Last Modified: Thu Mar 21 17:21:35 UTC 2024 - 26.8K bytes - Viewed (0) -
internal/grid/types.go
} sort.Strings(keys) for _, k := range keys { v := m[k] keyEscaped := url.QueryEscape(k) if buf.Len() > 1 { buf.WriteByte('&') } buf.WriteString(keyEscaped) buf.WriteByte('=') buf.WriteString(url.QueryEscape(v)) } return buf.String() } // NewBytes returns a new Bytes. // A slice is preallocated. func NewBytes() *Bytes { b := Bytes(GetByteBuffer()[:0])
Registered: Sun Oct 27 19:28:09 UTC 2024 - Last Modified: Wed Aug 14 17:11:51 UTC 2024 - 15.5K bytes - Viewed (0) -
src/cmd/asm/internal/lex/lex_test.go
for { tok := input.Next() if tok == scanner.EOF { return buf.String() } if tok == '#' { continue } if buf.Len() > 0 { buf.WriteByte('.') } buf.WriteString(input.Text()) } } type badLexTest struct { input string error string } var badLexTests = []badLexTest{ { "3 #define foo bar\n", "'#' must be first item on line", },
Registered: Tue Oct 29 11:13:09 UTC 2024 - Last Modified: Tue Aug 29 07:48:38 UTC 2023 - 5.8K bytes - Viewed (0)