Searched defs:rangeValue (Results 1 – 3 of 3) sorted by relevance
817 type rangeValue struct{ start, stop, step, len int } struct826 func (r rangeValue) Len() int { return r.len }827 func (r rangeValue) Index(i int) Value { return MakeInt(r.start + i*r.step) }828 func (r rangeValue) Iterate() Iterator { return &rangeIterator{r, 0} }848 func (r rangeValue) Slice(start, end, step int) Value {860 func (r rangeValue) Freeze() {} // immutable861 func (r rangeValue) String() string {870 func (r rangeValue) Type() string { return "range" }871 func (r rangeValue) Truth() Bool { return r.len > 0 }872 func (r rangeValue) Hash() (uint32, error) { return 0, fmt.Errorf("unhashable: range") }[all …]
241 auto rangeValue = en.value(); in promoteSubviewAsNewBuffer() local
711 StringBuilder rangeValue = new StringBuilder(); in buildRequestBuilder() local