Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. src/runtime/testdata/testprogcgo/cgonoescape.go

    // i.e. runtime.ReadMemStats or other runtime background works.
    // So, the tests are:
    // 1. at least 100 new allocated heap objects after invoking withoutNoEscape 100 times.
    // 2. less than 100 new allocated heap objects after invoking withoutNoEscape 100 times.
    
    /*
    // TODO(#56378): #cgo noescape runCWithNoEscape
    
    void runCWithNoEscape(void *p) {
    }
    void runCWithoutNoEscape(void *p) {
    }
    */
    import "C"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 02 16:43:23 UTC 2023
    - 1.8K bytes
    - Viewed (0)
Back to top