SetBool implements SetValue in LiveVectorParty interface
(offset int, val unsafe.Pointer, valid bool)
| 41 | |
| 42 | // SetBool implements SetValue in LiveVectorParty interface |
| 43 | func (vp *cLiveVectorParty) SetValue(offset int, val unsafe.Pointer, valid bool) { |
| 44 | vp.setValidity(offset, valid) |
| 45 | if valid { |
| 46 | vp.values.SetValue(offset, val) |
| 47 | } else { |
| 48 | var zero [2]uint64 |
| 49 | vp.values.SetValue(offset, unsafe.Pointer(&zero)) |
| 50 | } |
| 51 | } |
| 52 | |
| 53 | // SetGoValue implements SetGoValue in LiveVectorParty interface |
| 54 | func (vp *cLiveVectorParty) SetGoValue(offset int, val common.GoDataValue, valid bool) { |
nothing calls this directly
no test coverage detected