MCPcopy Create free account
hub / github.com/apache/datafusion / next_block_size

Method next_block_size

datafusion/functions/src/strings.rs:676–681  ·  view source on GitHub ↗

Doubles the block-size target and returns the new size.

(&mut self)

Source from the content-addressed store, hash-verified

674
675 /// Doubles the block-size target and returns the new size.
676 fn next_block_size(&mut self) -> u32 {
677 if self.block_size < STRING_VIEW_MAX_BLOCK_SIZE {
678 self.block_size = self.block_size.saturating_mul(2);
679 }
680 self.block_size
681 }
682
683 /// See [`BulkNullStringArrayBuilder::append_value`].
684 ///

Callers 2

append_valueMethod · 0.80
ensure_long_capacityMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected