Home
last modified time | relevance | path

Searched defs:rangeValue (Results 1 – 3 of 3) sorted by relevance

/external/starlark-go/starlark/
Dlibrary.go817 type rangeValue struct{ start, stop, step, len int } struct
826 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() {} // immutable
861 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 …]
/external/llvm-project/mlir/lib/Dialect/Linalg/Transforms/
DPromotion.cpp241 auto rangeValue = en.value(); in promoteSubviewAsNewBuffer() local
/external/exoplayer/tree/extensions/cronet/src/main/java/com/google/android/exoplayer2/ext/cronet/
DCronetDataSource.java711 StringBuilder rangeValue = new StringBuilder(); in buildRequestBuilder() local