func bytes.HasPrefix
18 uses
bytes (current package)
bytes.go#L594: func HasPrefix(s, prefix []byte) bool {
bytes.go#L877: if HasPrefix(s, prefix) {
bytes.go#L1398: if !HasPrefix(s, prefix) {
crypto/tls
common.go#L1050: (bytes.HasPrefix(c.SessionTicketKey[:], deprecatedSessionTicketKey) || len(c.sessionTicketKeys) > 0) {
common.go#L1068: } else if !bytes.HasPrefix(c.SessionTicketKey[:], deprecatedSessionTicketKey) && len(c.sessionTicketKeys) == 0 {
crypto/x509
x509.go#L1828: if bytes.HasPrefix(crlBytes, pemCRLPrefix) {
encoding/pem
pem.go#L172: if !bytes.HasPrefix(endTrailer, typeLine) ||
github.com/refraction-networking/utls
common.go#L1036: (bytes.HasPrefix(c.SessionTicketKey[:], deprecatedSessionTicketKey) || len(c.sessionTicketKeys) > 0) {
common.go#L1054: } else if !bytes.HasPrefix(c.SessionTicketKey[:], deprecatedSessionTicketKey) && len(c.sessionTicketKeys) == 0 {
mime/multipart
multipart.go#L242: if bytes.HasPrefix(buf, dashBoundary) {
multipart.go#L252: if bytes.HasPrefix(dashBoundary, buf) {
multipart.go#L268: if bytes.HasPrefix(nlDashBoundary, buf) {
multipart.go#L277: if i >= 0 && bytes.HasPrefix(nlDashBoundary, buf[i:]) {
multipart.go#L448: if !bytes.HasPrefix(line, r.dashBoundaryDash) {
multipart.go#L463: if !bytes.HasPrefix(line, r.dashBoundary) {
mime/quotedprintable
reader.go#L98: if !bytes.HasPrefix(rightStripped, lf) && !bytes.HasPrefix(rightStripped, crlf) &&
net/http
sniff.go#L203: if bytes.HasPrefix(data, e.sig) {
 |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |