MCPcopy
hub / github.com/coder/websocket / TestMask

Function TestMask

mask_test.go:32–38  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

30}
31
32func TestMask(t *testing.T) {
33 t.Parallel()
34
35 testMask(t, "basicMask", basicMask)
36 testMask(t, "maskGo", maskGo)
37 testMask(t, "basicMask2", basicMask2)
38}
39
40func testMask(t *testing.T, name string, fn func(b []byte, key uint32) uint32) {
41 t.Run(name, func(t *testing.T) {

Callers

nothing calls this directly

Calls 1

testMaskFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…