Ds\Map::allocate (PECLds>=1.0.0) Ds\Map::allocate——为所需容量分配足够的内存。
Ds\Queue::allocate (PECLds>=1.0.0) Ds\Queue::allocate-为所需容量分配足够的内存。
Ds\Set::allocate (PECLds>=1.0.0) Ds\Set::allocate-为所需容量分配足够的内存。
Ds\Stack::allocate (PECLds>=1.0.0) Ds\Stack::allocate-为所需容量分配足够的内存。
Ds\Deque::allocate (PECLds>=1.0.0) Ds\Deque::allocate-为所需容量分配足够的内存。
Ds\Sequence::allocate (PECLds>=1.0.0) Ds\Sequence::allocate-为所需容量分配足够的内存。
Ds\Vector::allocate (PECLds>=1.0.0) Ds\Vector::allocate-为所需容量分配足够的内存。
Description publicvoidDs\PriorityQueue::allocate(int$capacity) 确保为所需容量分配了足够的内存。这消除了在添加值时重新分配内部的需要。
Ds\Stack::capacity (PECLds>=1.0.0) Ds\Stack::capacity-返回当前容量。
STD::向量::容量 [表格] 返回容器当前已为其分配空间的元素数。 参数 %280%29 返回值 当前分配的存储空间的容量。 例外 [表格] 复杂性 常量。
Intercept&Observe observe和intercept可以用来监测单个observable(它们不追踪嵌套的observable)的变化。
Ds\Sequence::capacity (PECLds>=1.0.0) Ds\Sequence::capacity-返回当前容量。
Ds\Deque::capacity (PECLds>=1.0.0) Ds\Deque::capacity-返回当前容量。
Ds\PriorityQueue::capacity (PECLds>=1.0.0) Ds\PriorityQueue::capacity-返回当前容量。
Ds\Vector::capacity (PECLds>=1.0.0) Ds\Vector::capacity-返回当前容量。
Ds\Queue::capacity (PECLds>=1.0.0) Ds\Queue::capacity-返回当前容量。

扫码关注腾讯云开发者
领取腾讯云代金券
Copyright © 2013 - 2026 Tencent Cloud. All Rights Reserved. 腾讯云 版权所有
深圳市腾讯计算机系统有限公司 ICP备案/许可证号:粤B2-20090059
粤公网安备44030502008569号
腾讯云计算(北京)有限责任公司 京ICP证150476号 | 京ICP备11018762号
