Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testCancel (0.08 sec)

  1. internal/ringbuffer/ring_buffer_test.go

    		rb.CloseWithError(errors.New("test error"))
    		<-done
    	}
    	testCancel(func() {
    		rb.Write([]byte{sz + 5: 1})
    	})
    	testCancel(func() {
    		rb.Write(make([]byte, sz))
    		rb.WriteByte(0)
    	})
    	testCancel(func() {
    		rb.Read([]byte{10: 1})
    	})
    	testCancel(func() {
    		rb.ReadByte()
    	})
    	testCancel(func() {
    		rb.Write(make([]byte, sz))
    		rb.Flush()
    	})
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 15 00:11:04 UTC 2024
    - 26.8K bytes
    - Viewed (0)
Back to top