MCPcopy Create free account
hub / github.com/eshirazi/python-with-braces / resize_buffer

Function resize_buffer

Modules/_io/stringio.c:53–104  ·  view source on GitHub ↗

Internal routine for changing the size, in terms of characters, of the buffer of StringIO objects. The caller should ensure that the 'size' argument is non-negative. Returns 0 on success, -1 otherwise. */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 5

write_strFunction · 0.70
stringio_truncateFunction · 0.70
stringio_closeFunction · 0.70
stringio_initFunction · 0.70
stringio_setstateFunction · 0.70

Calls 3

PyMem_ReallocFunction · 0.85
PyErr_NoMemoryFunction · 0.85
PyErr_SetStringFunction · 0.85

Tested by

no test coverage detected