Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestPageAccounting (0.25 sec)

  1. src/runtime/gc_test.go

    	var y, ok = x.(error)
    	if ok {
    		return y
    	}
    	return nil
    }
    
    var a bool
    
    //go:noinline
    func testIfaceEqual(x any) {
    	if x == "abc" {
    		a = true
    	}
    }
    
    func TestPageAccounting(t *testing.T) {
    	// Grow the heap in small increments. This used to drop the
    	// pages-in-use count below zero because of a rounding
    	// mismatch (golang.org/issue/15022).
    	const blockSize = 64 << 10
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 05 22:33:52 UTC 2024
    - 17.6K bytes
    - Viewed (0)
Back to top