Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for FuzzHex (0.66 sec)

  1. src/testing/testing.go

    // anticipated by unit tests.
    //
    // Functions of the form
    //
    //	func FuzzXxx(*testing.F)
    //
    // are considered fuzz tests.
    //
    // For example:
    //
    //	func FuzzHex(f *testing.F) {
    //	  for _, seed := range [][]byte{{}, {0}, {9}, {0xa}, {0xf}, {1, 2, 3, 4}} {
    //	    f.Add(seed)
    //	  }
    //	  f.Fuzz(func(t *testing.T, in []byte) {
    //	    enc := hex.EncodeToString(in)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 76.1K bytes
    - Viewed (0)
Back to top