Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for add_beta (0.11 sec)

  1. src/runtime/covermeta.go

    import (
    	"internal/coverage/rtcov"
    	"unsafe"
    )
    
    // The compiler emits calls to runtime.addCovMeta
    // but this code has moved to rtcov.AddMeta.
    func addCovMeta(p unsafe.Pointer, dlen uint32, hash [16]byte, pkgpath string, pkgid int, cmode uint8, cgran uint8) uint32 {
    	id := rtcov.AddMeta(p, dlen, hash, pkgpath, pkgid, cmode, cgran)
    	if id == 0 {
    		throw("runtime.addCovMeta: coverage package map collision")
    	}
    	return id
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 09:57:47 UTC 2024
    - 603 bytes
    - Viewed (0)
  2. src/internal/coverage/rtcov/rtcov.go

    	// PkgMap records mappings from hard-coded package IDs to
    	// slots in the List above.
    	PkgMap map[int]int
    
    	// Set to true if we discover a package mapping glitch.
    	hardCodedListNeedsUpdating bool
    }
    
    // AddMeta is invoked during package "init" functions by the
    // compiler when compiling for coverage instrumentation; here 'p' is a
    // meta-data blob of length 'dlen' for the package in question, 'hash'
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 09:57:47 UTC 2024
    - 3.1K bytes
    - Viewed (0)
Back to top