We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
For example, the following outputs "assert false 140", it should be "assert true 136."
import "golang.org/x/net/icmp" func main() { body := &icmp.ParamProb{ Data: make([]byte, 128), Extensions: []icmp.Extension{ &icmp.MPLSLabelStack{}, }, } println("assert", body.Len(1) == 136, body.Len(1)) }
Sigh, the roundup calc line in multipart.go should be
return (r + align - 1) & ^(align - 1)
instead of
return (r + align) &^ (align - 1)
The text was updated successfully, but these errors were encountered:
CL https://golang.org/cl/16616 mentions this issue.
Sorry, something went wrong.
golang/net@62ac18b
No branches or pull requests
For example, the following outputs "assert false 140", it should be "assert true 136."
Sigh, the roundup calc line in multipart.go should be
instead of
The text was updated successfully, but these errors were encountered: