(b []byte, key uint32)
| 3 | package websocket |
| 4 | |
| 5 | func mask(b []byte, key uint32) uint32 { |
| 6 | // TODO: Will enable in v1.9.0. |
| 7 | return maskGo(b, key) |
| 8 | /* |
| 9 | if len(b) > 0 { |
| 10 | return maskAsm(&b[0], len(b), key) |
| 11 | } |
| 12 | return key |
| 13 | */ |
| 14 | } |
| 15 | |
| 16 | // @nhooyr: I am not confident that the amd64 or the arm64 implementations of this |
| 17 | // function are perfect. There are almost certainly missing optimizations or |
nothing calls this directly
no test coverage detected
searching dependent graphs…