- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 198 for printf (0.24 sec)
-
src/bytes/example_test.go
b.Grow(64) b.Write([]byte("abcde")) fmt.Printf("%d", b.Len()) // Output: 5 } func ExampleBuffer_Next() { var b bytes.Buffer b.Grow(64) b.Write([]byte("abcde")) fmt.Printf("%s\n", b.Next(2)) fmt.Printf("%s\n", b.Next(2)) fmt.Printf("%s", b.Next(2)) // Output: // ab // cd // e } func ExampleBuffer_Read() { var b bytes.Buffer b.Grow(64) b.Write([]byte("abcde")) rdbuf := make([]byte, 1)
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Mon Mar 04 15:54:40 GMT 2024 - 15K bytes - Viewed (1) -
cmd/streaming-signature-v4.go
if b != '\r' || err != nil { if cr.debug { fmt.Printf("want %q, got %q\n", "\r", string(b)) } cr.err = errMalformedEncoding return n, cr.err } b, err = cr.reader.ReadByte() if err == io.EOF { err = io.ErrUnexpectedEOF } if err != nil { cr.err = err return n, cr.err } if b != '\n' { if cr.debug { fmt.Printf("want %q, got %q\n", "\r", string(b)) }
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Jan 18 07:03:17 GMT 2024 - 18.2K bytes - Viewed (0) -
src/cmd/api/main_test.go
if !ok { log.Printf("%s:%d: missing proposal approval\n", filename, i+1) exitCode = 1 } else { _, err := strconv.Atoi(approval) if err != nil { log.Printf("%s:%d: malformed proposal approval #%s\n", filename, i+1, approval) exitCode = 1 } } line = strings.TrimSpace(feature) } else { if strings.Contains(line, " #") {
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Tue Apr 09 20:48:51 GMT 2024 - 31.4K bytes - Viewed (0) -
operator/cmd/mesh/install.go
b.WriteString("InFilenames: " + fmt.Sprint(a.InFilenames) + "\n") b.WriteString("ReadinessTimeout: " + fmt.Sprint(a.ReadinessTimeout) + "\n") b.WriteString("SkipConfirmation: " + fmt.Sprint(a.SkipConfirmation) + "\n") b.WriteString("Force: " + fmt.Sprint(a.Force) + "\n") b.WriteString("Verify: " + fmt.Sprint(a.Verify) + "\n") b.WriteString("Set: " + fmt.Sprint(a.Set) + "\n")
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu May 02 14:30:43 GMT 2024 - 15.5K bytes - Viewed (1) -
cmd/utils.go
Scopes: []string{oidc.ScopeOpenID, "groups"}, } state := fmt.Sprintf("x%dx", time.Now().Unix()) authCodeURL := oauth2Config.AuthCodeURL(state) // fmt.Printf("authcodeurl: %s\n", authCodeURL) var lastReq *http.Request checkRedirect := func(req *http.Request, via []*http.Request) error { // fmt.Printf("CheckRedirect:\n") // fmt.Printf("Upcoming: %s %s\n", req.Method, req.URL.String()) // for i, c := range via {
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Wed May 01 15:18:21 GMT 2024 - 31.4K bytes - Viewed (0) -
internal/grid/muxclient.go
func (m *muxClient) response(seq uint32, r Response) { if debugReqs { fmt.Println(m.MuxID, m.parent.String(), "RESP") } if debugPrint { fmt.Printf("mux %d: got msg seqid %d, payload length: %d, err:%v\n", m.MuxID, seq, len(r.Msg), r.Err) } if !m.checkSeq(seq) { if debugReqs { fmt.Println(m.MuxID, m.parent.String(), "CHECKSEQ FAIL", m.RecvSeq, seq) } PutByteBuffer(r.Msg) r.Msg = nil
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Apr 04 12:04:40 GMT 2024 - 14.2K bytes - Viewed (0) -
docs/debugging/xl-meta/main.go
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Wed Apr 24 17:56:22 GMT 2024 - 20.2K bytes - Viewed (1) -
src/cmd/asm/internal/asm/parse.go
default: a.Type = obj.TYPE_MEM } // fmt.Printf("CONST %d %s\n", a.Offset, obj.Dconv(&emptyProg, 0, a)) p.expectOperandEnd() return } // fmt.Printf("offset %d \n", a.Offset) } // Register indirection: (reg) or (index*scale). We are on the opening paren. p.registerIndirect(a, prefix) // fmt.Printf("DONE %s\n", p.arch.Dconv(&emptyProg, 0, a)) p.expectOperandEnd() return
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Wed Feb 21 14:34:57 GMT 2024 - 36.9K bytes - Viewed (0) -
istioctl/pkg/precheck/precheck.go
configMapName := "istio" if rev := deployment.Labels[label.IoIstioRev.Name]; rev != "default" { configMapName += fmt.Sprintf("-%s", rev) } configMap, err := cli.Kube().CoreV1().ConfigMaps(namespace).Get(context.TODO(), configMapName, metav1.GetOptions{}) if err != nil { fmt.Printf("Error getting configmap %s: %v\n", configMapName, err) } meshData := make(map[string]interface{})
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Apr 12 02:57:30 GMT 2024 - 19.3K bytes - Viewed (0) -
internal/grid/connection.go
} // String returns a string representation of the connection. func (c *Connection) String() string { return fmt.Sprintf("%s->%s", c.Local, c.Remote) } // StringReverse returns a string representation of the reverse connection. func (c *Connection) StringReverse() string { return fmt.Sprintf("%s->%s", c.Remote, c.Local) } // State is a connection state. type State uint32
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Apr 04 12:04:40 GMT 2024 - 42.6K bytes - Viewed (0)