Home
last modified time | relevance | path

Searched refs:rangeValue (Results 1 – 4 of 4) sorted by relevance

/external/starlark-go/starlark/
Dlibrary.go811 return rangeValue{start: start, stop: stop, step: step, len: rangeLen(start, stop, step)}, nil
817 type rangeValue struct{ start, stop, step, len int } argument
820 _ Indexable = rangeValue{}
821 _ Sequence = rangeValue{}
822 _ Comparable = rangeValue{}
823 _ Sliceable = rangeValue{}
826 func (r rangeValue) Len() int { return r.len } argument
827 func (r rangeValue) Index(i int) Value { return MakeInt(r.start + i*r.step) } argument
828 func (r rangeValue) Iterate() Iterator { return &rangeIterator{r, 0} } argument
848 func (r rangeValue) Slice(start, end, step int) Value { argument
[all …]
Deval.go1020 case rangeValue:
/external/exoplayer/tree/extensions/cronet/src/main/java/com/google/android/exoplayer2/ext/cronet/
DCronetDataSource.java711 StringBuilder rangeValue = new StringBuilder(); in buildRequestBuilder() local
712 rangeValue.append("bytes="); in buildRequestBuilder()
713 rangeValue.append(dataSpec.position); in buildRequestBuilder()
714 rangeValue.append("-"); in buildRequestBuilder()
716 rangeValue.append(dataSpec.position + dataSpec.length - 1); in buildRequestBuilder()
718 requestBuilder.addHeader("Range", rangeValue.toString()); in buildRequestBuilder()
/external/llvm-project/mlir/lib/Dialect/Linalg/Transforms/
DPromotion.cpp241 auto rangeValue = en.value(); in promoteSubviewAsNewBuffer() local
243 LLVM_DEBUG(llvm::dbgs() << "Extract tightest: " << rangeValue.size << "\n"); in promoteSubviewAsNewBuffer()
244 Value size = extractSmallestConstantBoundingSize(b, loc, rangeValue.size); in promoteSubviewAsNewBuffer()