Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestShrinkStackDuringBlockedSend (0.54 sec)

  1. src/runtime/chan_test.go

    	s := 0
    	for v := range r {
    		n++
    		s += v
    	}
    	if n != niter || s != expect {
    		t.Errorf("Expected sum %d (got %d) from %d iter (saw %d)",
    			expect, s, niter, n)
    	}
    }
    
    func TestShrinkStackDuringBlockedSend(t *testing.T) {
    	// make sure that channel operations still work when we are
    	// blocked on a channel send and we shrink the stack.
    	// NOTE: this test probably won't fail unless stack1.go:stackDebug
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 31 20:47:35 UTC 2023
    - 23.4K bytes
    - Viewed (0)
Back to top