Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for ReadAfterOverflow1 (0.24 sec)

  1. src/runtime/profbuf_test.go

    		read(t, b, []uint64{10, 1, 2, 3, 4, 5, 6, 7, 8, 9, 8, 99, 101, 102, 201, 202, 203, 204}, []unsafe.Pointer{unsafe.Pointer(&myTags[0]), unsafe.Pointer(&myTags[2])})
    	})
    
    	t.Run("ReadAfterOverflow1", func(t *testing.T) {
    		// overflow record synthesized by write
    		b := NewProfBuf(2, 16, 5)
    		write(t, b, unsafe.Pointer(&myTags[0]), 1, []uint64{2, 3}, []uintptr{4, 5, 6, 7, 8, 9})           // uses 10
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 15 20:04:56 UTC 2023
    - 8.5K bytes
    - Viewed (0)
Back to top