func slices.Contains
22 uses
slices (current package)
slices.go#L117: func Contains[S ~[]E, E comparable](s S, v E) bool {
crypto/tls
common.go#L1190: return !slices.Contains(c.CipherSuites, id)
common.go#L1195: return !slices.Contains(allowedCipherSuitesFIPS, id)
common.go#L1226: if fips140tls.Required() && !slices.Contains(allowedSupportedVersionsFIPS, v) {
common.go#L1274: return !slices.Contains(allowedCurvePreferencesFIPS, x)
common.go#L1279: return !slices.Contains(c.CurvePreferences, x)
common.go#L1289: return slices.Contains(c.curvePreferences(version), curve)
common.go#L1297: if slices.Contains(peerVersions, v) {
common.go#L1765: if fips140tls.Required() && !slices.Contains(allowedSignatureAlgorithmsFIPS, s) {
common.go#L1806: return slices.Contains(supportedSignatureAlgorithms, sigAlg)
handshake_client.go#L157: if len(hello.keyShares) == 2 && !slices.Contains(hello.supportedCurves, hello.keyShares[1].group) {
handshake_client_tls13.go#L312: if !slices.Contains(hello.supportedCurves, curveID) {
handshake_server_tls13.go#L211: return !slices.Contains(hs.clientHello.supportedCurves, group)
handshake_server_tls13.go#L949: return slices.Contains(hs.clientHello.pskModes, pskModeDHE)
key_agreement.go#L304: if !slices.Contains(clientHello.supportedCurves, ka.curveID) {
github.com/refraction-networking/utls
common.go#L1268: return !slices.Contains(c.CurvePreferences, x)
handshake_client.go#L187: if slices.Contains(hello.supportedCurves, X25519) {
handshake_client_tls13.go#L329: if !slices.Contains(hello.supportedCurves, curveID) {
handshake_messages.go#L325: if slices.Contains(echOuterExts, ext) {
handshake_server_tls13.go#L210: return !slices.Contains(hs.clientHello.supportedCurves, group)
net/http
server.go#L3387: return slices.Contains(s.TLSConfig.NextProtos, http2NextProtoTLS)
syscall
syscall_linux.go#L138: return slices.Contains(groups, gid)
 |
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. |