func slices.Clone

25 uses

	slices (current package)
		slices.go#L348: func Clone[S ~[]E, E any](s S) S {

	crypto/tls
		common.go#L1066: 		cipherSuites := slices.Clone(c.CipherSuites)
		common.go#L1138: 		curvePreferences = slices.Clone(c.CurvePreferences)
		common.go#L1145: 		curvePreferences = slices.Clone(defaultCurvePreferencesFIPS)
		defaults.go#L49: 	suites := slices.Clone(cipherSuitesPreferenceOrder)
		handshake_messages.go#L681: 		original:                         slices.Clone(m.original),
		handshake_messages.go#L683: 		random:                           slices.Clone(m.random),
		handshake_messages.go#L684: 		sessionId:                        slices.Clone(m.sessionId),
		handshake_messages.go#L685: 		cipherSuites:                     slices.Clone(m.cipherSuites),
		handshake_messages.go#L686: 		compressionMethods:               slices.Clone(m.compressionMethods),
		handshake_messages.go#L689: 		supportedCurves:                  slices.Clone(m.supportedCurves),
		handshake_messages.go#L690: 		supportedPoints:                  slices.Clone(m.supportedPoints),
		handshake_messages.go#L692: 		sessionTicket:                    slices.Clone(m.sessionTicket),
		handshake_messages.go#L693: 		supportedSignatureAlgorithms:     slices.Clone(m.supportedSignatureAlgorithms),
		handshake_messages.go#L694: 		supportedSignatureAlgorithmsCert: slices.Clone(m.supportedSignatureAlgorithmsCert),
		handshake_messages.go#L696: 		secureRenegotiation:              slices.Clone(m.secureRenegotiation),
		handshake_messages.go#L698: 		alpnProtocols:                    slices.Clone(m.alpnProtocols),
		handshake_messages.go#L700: 		supportedVersions:                slices.Clone(m.supportedVersions),
		handshake_messages.go#L701: 		cookie:                           slices.Clone(m.cookie),
		handshake_messages.go#L702: 		keyShares:                        slices.Clone(m.keyShares),
		handshake_messages.go#L704: 		pskModes:                         slices.Clone(m.pskModes),
		handshake_messages.go#L705: 		pskIdentities:                    slices.Clone(m.pskIdentities),
		handshake_messages.go#L706: 		pskBinders:                       slices.Clone(m.pskBinders),
		handshake_messages.go#L707: 		quicTransportParameters:          slices.Clone(m.quicTransportParameters),
		handshake_messages.go#L708: 		encryptedClientHello:             slices.Clone(m.encryptedClientHello),