Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for cgoCheckTypedBlock (0.16 sec)

  1. src/runtime/cgocheck.go

    	}
    	p := src
    	for i := 0; i < n; i++ {
    		cgoCheckTypedBlock(typ, p, 0, typ.Size_)
    		p = add(p, typ.Size_)
    	}
    }
    
    // cgoCheckTypedBlock checks the block of memory at src, for up to size bytes,
    // and throws if it finds an unpinned Go pointer. The type of the memory is typ,
    // and src is off bytes into that type.
    //
    //go:nosplit
    //go:nowritebarrier
    func cgoCheckTypedBlock(typ *_type, src unsafe.Pointer, off, size uintptr) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 09 04:07:57 UTC 2024
    - 7.6K bytes
    - Viewed (0)
Back to top