MCPcopy Create free account
hub / github.com/LadybirdBrowser/ladybird / length

Method length

AK/StringBuilder.cpp:296–299  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

294
295size_t StringBuilder::length() const
296{
297 return m_buffer.size() - string_builder_prefix_size();
298}
299
300bool StringBuilder::is_empty() const
301{
302 return length() == 0;

Calls 2

sizeMethod · 0.45

Tested by 6

extract_metadataFunction · 0.36
mainFunction · 0.36
substringMethod · 0.36
substring_viewMethod · 0.36
repeatedMethod · 0.36
escape_html_entitiesFunction · 0.36