func bytes.Contains
19 uses
bytes (current package)
bytes.go#L75: func Contains(b, subslice []byte) bool {
crypto/x509
verify.go#L358: bytes.Contains(localPartBytes, twoDots) {
encoding/xml
marshal.go#L217: if bytes.Contains(t, endComment) {
marshal.go#L233: if bytes.Contains(t.Inst, endProcInst) {
marshal.go#L910: dashDash = bytes.Contains(b, ddBytes)
github.com/go-git/go-git/v5/plumbing/object
tag.go#L138: if bytes.Contains(data, []byte(beginpgp)) {
tag.go#L144: if bytes.Contains(l, []byte(endpgp)) {
tag.go#L154: if bytes.Contains(l, []byte(beginpgp)) {
github.com/google/safehtml/template
escape.go#L582: if e.ns.cspCompatible && bytes.Contains(s, []byte("javascript:")) {
github.com/prometheus/procfs
proc_status.go#L87: if !bytes.Contains([]byte(line), []byte(":")) {
github.com/yuin/goldmark/parser
html_block.go#L198: if bytes.Contains(firstLine.Value(reader.Source()), closurePattern) {
html_block.go#L202: if bytes.Contains(line, closurePattern) {
go/build
build.go#L1250: if bytes.Contains(comment, newline) {
golang.org/x/net/html
token.go#L1125: if (z.convertNUL || z.tt == CommentToken) && bytes.Contains(s, nul) {
golang.org/x/pkgsite/cmd/prober
main.go#L382: if !bytes.Contains(body, []byte("go.dev")) {
golang.org/x/pkgsite/devtools/cmd/csphash
main.go#L54: if bytes.Contains(s.tag, []byte("src=")) {
main.go#L58: if bytes.Contains(s.body, []byte("{{")) {
html/template
css.go#L256: if bytes.Contains(id, expressionBytes) || bytes.Contains(id, mozBindingBytes) {
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin 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 @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |