ScaleInt64 scales the provided value for our execution segment.
(value int64)
| 732 | |
| 733 | // ScaleInt64 scales the provided value for our execution segment. |
| 734 | func (et *ExecutionTuple) ScaleInt64(value int64) int64 { |
| 735 | if len(et.Sequence.ExecutionSegmentSequence) == 1 { |
| 736 | return value // if we don't have any segmentation, just return the original value |
| 737 | } |
| 738 | return et.Sequence.ScaleInt64(et.SegmentIndex, value) |
| 739 | } |
| 740 | |
| 741 | // GetStripedOffsets returns the striped offsets for our execution segment. |
| 742 | func (et *ExecutionTuple) GetStripedOffsets() (int64, []int64, int64) { |
no outgoing calls