Home
last modified time | relevance | path

Searched refs:_capacity (Results 1 – 10 of 10) sorted by relevance

/external/flatbuffers/swift/Sources/FlatBuffers/
DByteBuffer.swift10 private var _capacity: Int variable
15 internal var writerIndex: Int { return _capacity - _writerSize }
24 public var capacity: Int { return _capacity }
32 _capacity = bytes.count
33 _writerSize = _capacity
42 _capacity = data.count
43 _writerSize = _capacity
52 _capacity = size
65 _capacity = count
66 _writerSize = _capacity
[all …]
/external/rust/crates/libz-sys/src/zlib/contrib/dotzlib/DotZLib/
DCircularBuffer.cs20 private int _capacity; field in DotZLib.CircularBuffer
31 _capacity = capacity; in CircularBuffer()
42 int trueCount = Math.Min(count, _capacity - Size); in Put()
44 _buffer[(_tail+i) % _capacity] = source[offset+i]; in Put()
46 _tail %= _capacity; in Put()
53 if (Size == _capacity) // no room in Put()
56 _tail %= _capacity; in Put()
65 destination[offset + i] = _buffer[(_head+i) % _capacity]; in Get()
67 _head %= _capacity; in Get()
77 int result = (int)_buffer[_head++ % _capacity]; in Get()
/external/lzma/CPP/Common/
DMyVector.h13 unsigned _capacity; variable
22 if (_size == _capacity) in ReserveOnePosition()
24 unsigned newCapacity = _capacity + (_capacity >> 2) + 1; in ReserveOnePosition()
32 _capacity = newCapacity; in ReserveOnePosition()
38 CRecordVector(): _items(0), _size(0), _capacity(0) {} in CRecordVector()
40 CRecordVector(const CRecordVector &v): _items(0), _size(0), _capacity(0) in CRecordVector()
47 _capacity = size; in CRecordVector()
61 _capacity = size; in ConstructReserve()
67 if (newCapacity > _capacity) in Reserve()
76 _capacity = newCapacity; in Reserve()
[all …]
/external/protobuf/objectivec/
DGPBArray.m57 //% if (NEW_COUNT > _capacity) {
63 //% if ((NEW_COUNT + (2 * kChunkSize)) < _capacity) {
78 //% NSUInteger _capacity;
117 //% _capacity = count;
258 //% _capacity = 0;
264 //% _capacity = newCapacity;
305 NSUInteger _capacity;
344 _capacity = count;
441 _capacity = 0;
447 _capacity = newCapacity;
[all …]
/external/lzma/CPP/7zip/Common/
DStreamObjects.cpp104 _capacity = 0; in Free()
109 if (cap <= _capacity) in EnsureCapacity()
112 if (_capacity > 64) in EnsureCapacity()
113 delta = _capacity / 4; in EnsureCapacity()
114 else if (_capacity > 8) in EnsureCapacity()
118 cap = MyMax(_capacity + delta, cap); in EnsureCapacity()
123 _capacity = cap; in EnsureCapacity()
DStreamObjects.h65 size_t _capacity; variable
68 CByteDynBuffer(): _capacity(0), _buf(0) {}; in CByteDynBuffer()
72 size_t GetCapacity() const { return _capacity; } in GetCapacity()
/external/tensorflow/tensorflow/python/debug/cli/
Dcurses_widgets.py62 self._capacity = capacity
78 if len(self._items) > self._capacity:
79 self._items = self._items[-self._capacity:]
/external/llvm-project/clang/test/Rewriter/
Drewrite-modern-struct-ivar-1.mm13 NSUInteger _capacity; field
46 … (( self ->bar.x) ? 1 : ((_NSRangeInfo *)( self ->_internal._multipleRanges._data))->_capacity );
/external/clang/test/Rewriter/
Drewrite-modern-struct-ivar-1.mm13 NSUInteger _capacity; field
46 … (( self ->bar.x) ? 1 : ((_NSRangeInfo *)( self ->_internal._multipleRanges._data))->_capacity );
/external/tensorflow/tensorflow/python/ops/
Ddata_flow_ops.py1642 self._capacity = capacity
1672 return self._capacity
1930 capacity=self._capacity,
1970 capacity=self._capacity,
2000 name=name, capacity=self._capacity,
2022 capacity=self._capacity,
2041 capacity=self._capacity,
2203 capacity=self._capacity,
2267 capacity=self._capacity,
2328 capacity=self._capacity,
[all …]