Searched refs:desiredCapacity (Results 1 – 4 of 4) sorted by relevance
134 …ate static void ensureAppendCapacity(ByteArrayWrapper sink, int minCapacity, int desiredCapacity) { in ensureAppendCapacity() argument137 if (desiredCapacity < minCapacity) { desiredCapacity = minCapacity; } in ensureAppendCapacity()138 sink.ensureCapacity(sink.size + desiredCapacity); in ensureAppendCapacity()
488 int32_t desiredCapacity, int32_t allocationSize) { in ensureCapacity() argument489 if (allocationSize < desiredCapacity) { in ensureCapacity()490 allocationSize = desiredCapacity; in ensureCapacity()492 if (desiredCapacity <= placeholders.getCapacity()) { in ensureCapacity()493 return desiredCapacity; in ensureCapacity()499 return desiredCapacity; in ensureCapacity()
229 int32_t ensureCapacity(int32_t desiredCapacity, int32_t allocationSize=0);
71 unsigned long desiredCapacity:60;\n\73 unsigned long desiredCapacity:28;\n\