Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for hashFuncDesc (0.13 sec)

  1. 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)
Back to top