MCPcopy Create free account
hub / github.com/cppfastio/fast_io / concat_pyobject_file

Function concat_pyobject_file

include/fast_io_driver/python/pyobject.h:171–174  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

169 static_cast<Py_ssize_t>(::std::numeric_limits<Py_ssize_t>::max() / static_cast<Py_ssize_t>(sizeof(char)))};
170 if (max_sz < diff)
171 {
172 ::fast_io::fast_terminate();
173 }
174 }
175 auto p{::fast_io::details::pybytes_fromstringandsize_impl(first, static_cast<Py_ssize_t>(diff))};
176 ::fast_io::details::py_inc_dec_ref_impl<false>(p);
177 return pyobject_file(p);

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected