func slices.Clone

33 uses

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

	crypto/tls
		common.go#L1755: 		sigAlgs = slices.Clone(testingOnlySupportedSignatureAlgorithms)
		defaults.go#L63: 		return slices.Clone(cipherSuitesPreferenceOrder)
		defaults.go#L65: 		return slices.Clone(cipherSuitesPreferenceOrderNoAES)
		handshake_messages.go#L688: 		original:                         slices.Clone(m.original),
		handshake_messages.go#L690: 		random:                           slices.Clone(m.random),
		handshake_messages.go#L691: 		sessionId:                        slices.Clone(m.sessionId),
		handshake_messages.go#L692: 		cipherSuites:                     slices.Clone(m.cipherSuites),
		handshake_messages.go#L693: 		compressionMethods:               slices.Clone(m.compressionMethods),
		handshake_messages.go#L696: 		supportedCurves:                  slices.Clone(m.supportedCurves),
		handshake_messages.go#L697: 		supportedPoints:                  slices.Clone(m.supportedPoints),
		handshake_messages.go#L699: 		sessionTicket:                    slices.Clone(m.sessionTicket),
		handshake_messages.go#L700: 		supportedSignatureAlgorithms:     slices.Clone(m.supportedSignatureAlgorithms),
		handshake_messages.go#L701: 		supportedSignatureAlgorithmsCert: slices.Clone(m.supportedSignatureAlgorithmsCert),
		handshake_messages.go#L703: 		secureRenegotiation:              slices.Clone(m.secureRenegotiation),
		handshake_messages.go#L705: 		alpnProtocols:                    slices.Clone(m.alpnProtocols),
		handshake_messages.go#L707: 		supportedVersions:                slices.Clone(m.supportedVersions),
		handshake_messages.go#L708: 		cookie:                           slices.Clone(m.cookie),
		handshake_messages.go#L709: 		keyShares:                        slices.Clone(m.keyShares),
		handshake_messages.go#L711: 		pskModes:                         slices.Clone(m.pskModes),
		handshake_messages.go#L712: 		pskIdentities:                    slices.Clone(m.pskIdentities),
		handshake_messages.go#L713: 		pskBinders:                       slices.Clone(m.pskBinders),
		handshake_messages.go#L714: 		quicTransportParameters:          slices.Clone(m.quicTransportParameters),
		handshake_messages.go#L715: 		encryptedClientHello:             slices.Clone(m.encryptedClientHello),

	crypto/x509
		constraints.go#L340: 	constraints := slices.Clone(l)

	go.pact.im/x/plumb/internal/emit
		emit.go#L444: 	out := slices.Clone(in)

	go/token
		serialize.go#L60: 			Lines: slices.Clone(f.lines),
		serialize.go#L61: 			Infos: slices.Clone(f.infos),

	golang.org/x/tools/internal/gcimporter
		iimport.go#L318: 		list := slices.Clone(pkgList[1:])

	google.golang.org/grpc/balancer/pickfirst
		pickfirst.go#L299: 				endpoints = slices.Clone(endpoints)

	html/template
		context.go#L88: 	clone.jsBraceDepth = slices.Clone(c.jsBraceDepth)

	net/http
		server.go#L3539: 	nextProtos = slices.Clone(nextProtos)

	os
		root.go#L319: 	parts := slices.Clone(prefix)