func slices.Contains

26 uses

	slices (current package)
		slices.go#L117: func Contains[S ~[]E, E comparable](s S, v E) bool {

	crypto/tls
		common.go#L1139: 			return !slices.Contains(c.CipherSuites, id)
		common.go#L1144: 			return !slices.Contains(allowedCipherSuitesFIPS, id)
		common.go#L1175: 		if fips140tls.Required() && !slices.Contains(allowedSupportedVersionsFIPS, v) {
		common.go#L1223: 			return !slices.Contains(allowedCurvePreferencesFIPS, x)
		common.go#L1228: 			return !slices.Contains(c.CurvePreferences, x)
		common.go#L1238: 	return slices.Contains(c.curvePreferences(version), curve)
		common.go#L1246: 		if slices.Contains(peerVersions, v) {
		common.go#L1709: 	if fips140tls.Required() && !slices.Contains(allowedSignatureAlgorithmsFIPS, s) {
		common.go#L1750: 	return slices.Contains(supportedSignatureAlgorithms, sigAlg)
		handshake_client.go#L170: 			if slices.Contains(hello.supportedCurves, X25519) {
		handshake_client_tls13.go#L313: 		if !slices.Contains(hello.supportedCurves, curveID) {
		handshake_server_tls13.go#L211: 		return !slices.Contains(hs.clientHello.supportedCurves, group)
		handshake_server_tls13.go#L969: 	return slices.Contains(hs.clientHello.pskModes, pskModeDHE)
		key_agreement.go#L304: 	if !slices.Contains(clientHello.supportedCurves, ka.curveID) {

	go/build
		build.go#L1988: 	return slices.Contains(ctxt.BuildTags, name) || slices.Contains(ctxt.ToolTags, name) ||
		build.go#L1989: 		slices.Contains(ctxt.ReleaseTags, name)

	go/types
		decl.go#L524: 		if !slices.Contains(lhs, obj) {
		infer.go#L42: 			assert(inferred == nil || len(inferred) == len(tparams) && !slices.Contains(inferred, nil))
		infer.go#L61: 	if len(targs) == n && !slices.Contains(targs, nil) {
		labels.go#L113: 		return varDeclPos.IsValid() && slices.Contains(badJumps, jmp)

	golang.org/x/sys/unix
		syscall_linux.go#L2318: 	return slices.Contains(groups, gid)

	golang.org/x/tools/internal/event/label
		label.go#L158: 	if slices.Contains(f.keys, l.Key()) {

	net/http
		server.go#L3416: 	return slices.Contains(s.TLSConfig.NextProtos, http2NextProtoTLS)

	syscall
		syscall_linux.go#L138: 	return slices.Contains(groups, gid)