Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add gohacks.Slice/StringHeader. #5382

Merged
merged 1 commit into from Feb 18, 2021
Merged

Add gohacks.Slice/StringHeader. #5382

merged 1 commit into from Feb 18, 2021

Conversation

copybara-service[bot]
Copy link

Add gohacks.Slice/StringHeader.

See golang/go#19367 for rationale. Note that the
upstream decision arrived at in that thread, while useful for some of our use
cases, doesn't account for all of our SliceHeader use cases (we often use
SliceHeader to extract pointers from slices in a way that avoids bounds
checking and/or handles nil slices correctly) and also doesn't exist yet.

@google-cla google-cla bot added the cla: yes CLA has been signed label Jan 28, 2021
@copybara-service copybara-service bot force-pushed the test/cl350259679 branch 4 times, most recently from 774160c to 18f0d28 Compare February 18, 2021 00:45
See golang/go#19367 for rationale. Note that the
upstream decision arrived at in that thread, while useful for some of our use
cases, doesn't account for all of our SliceHeader use cases (we often use
SliceHeader to extract pointers from slices in a way that avoids bounds
checking and/or handles nil slices correctly) and also doesn't exist yet.

PiperOrigin-RevId: 358071574
@copybara-service copybara-service bot merged commit f051ec6 into master Feb 18, 2021
@copybara-service copybara-service bot deleted the test/cl350259679 branch February 18, 2021 01:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes CLA has been signed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant