func slices.Clone
49 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)
github.com/refraction-networking/utls
defaults.go#L54: suites := slices.Clone(cipherSuitesPreferenceOrder)
handshake_messages.go#L719: original: slices.Clone(m.original),
handshake_messages.go#L721: random: slices.Clone(m.random),
handshake_messages.go#L722: sessionId: slices.Clone(m.sessionId),
handshake_messages.go#L723: cipherSuites: slices.Clone(m.cipherSuites),
handshake_messages.go#L724: compressionMethods: slices.Clone(m.compressionMethods),
handshake_messages.go#L727: supportedCurves: slices.Clone(m.supportedCurves),
handshake_messages.go#L728: supportedPoints: slices.Clone(m.supportedPoints),
handshake_messages.go#L730: sessionTicket: slices.Clone(m.sessionTicket),
handshake_messages.go#L731: supportedSignatureAlgorithms: slices.Clone(m.supportedSignatureAlgorithms),
handshake_messages.go#L732: supportedSignatureAlgorithmsCert: slices.Clone(m.supportedSignatureAlgorithmsCert),
handshake_messages.go#L734: secureRenegotiation: slices.Clone(m.secureRenegotiation),
handshake_messages.go#L736: alpnProtocols: slices.Clone(m.alpnProtocols),
handshake_messages.go#L738: supportedVersions: slices.Clone(m.supportedVersions),
handshake_messages.go#L739: cookie: slices.Clone(m.cookie),
handshake_messages.go#L740: keyShares: slices.Clone(m.keyShares),
handshake_messages.go#L742: pskModes: slices.Clone(m.pskModes),
handshake_messages.go#L743: pskIdentities: slices.Clone(m.pskIdentities),
handshake_messages.go#L744: pskBinders: slices.Clone(m.pskBinders),
handshake_messages.go#L745: quicTransportParameters: slices.Clone(m.quicTransportParameters),
handshake_messages.go#L746: encryptedClientHello: slices.Clone(m.encryptedClientHello),
go.opentelemetry.io/otel/trace
config.go#L346: set := attribute.NewSet(slices.Clone(attr)...)
net/http
server.go#L3539: nextProtos = slices.Clone(nextProtos)
os
root.go#L319: parts := slices.Clone(prefix)
 |
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. |