MCPcopy Index your code
hub / github.com/uber-go/nilaway / addAll

Method addAll

assertion/function/functioncontracts/infer.go:515–521  ·  view source on GitHub ↗

addAll adds all the entries from other to t.

(other nilnessTable)

Source from the content-addressed store, hash-verified

513
514// addAll adds all the entries from other to t.
515func (t nilnessTable) addAll(other nilnessTable) {
516 for k, v := range other {
517 if r, ok := t[k]; !ok || r != v {
518 t[k] = v
519 }
520 }
521}
522
523type nilnessTableSet []nilnessTable
524

Callers 1

inferContractsFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected