- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for hashFuncDesc (0.43 sec)
-
src/internal/coverage/encodemeta/encode.go
return digest, b.werr } return digest, nil } // HashFuncDesc computes an md5 sum of a coverage.FuncDesc and returns // a digest for it. func HashFuncDesc(f *coverage.FuncDesc) [16]byte { h := md5.New() tmp := make([]byte, 0, 32) hashFuncDesc(h, f, tmp) var r [16]byte copy(r[:], h.Sum(nil)) return r } // hashFuncDesc incorporates a given function 'f' into the hash 'h'.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 29 17:16:10 UTC 2024 - 5.5K bytes - Viewed (0) -
src/cmd/covdata/metamerge.go
// the function and look it up in the package ftab to see if we've // encountered it before. If we haven't, then register it with the // meta-data builder. fnhash := encodemeta.HashFuncDesc(fd) gfidx, ok := mm.p.ftab[fnhash] if !ok { // We haven't seen this function before, need to add it to // the meta data. gfidx = uint32(mm.p.cmdb.AddFunc(*fd)) mm.p.ftab[fnhash] = gfidx
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 12 17:17:47 UTC 2024 - 12.1K bytes - Viewed (0)