MCPcopy Create free account
hub / github.com/catboost/catboost / Write

Method Write

util/stream/output.h:72–76  ·  view source on GitHub ↗

* Writes into this stream. * * @param buf Data to write. * @param len Number of bytes to write. */

Source from the content-addressed store, hash-verified

70 * @param len Number of bytes to write.
71 */
72 inline void Write(const void* buf, size_t len) {
73 if (len) {
74 DoWrite(buf, len);
75 }
76 }
77
78 /**
79 * Writes a string into this stream.

Callers 15

RunFunction · 0.45
Y_UNIT_TESTFunction · 0.45
DoWriteMethod · 0.45
DoWriteMethod · 0.45
Out<wchar16>Function · 0.45
Out<wchar32>Function · 0.45
WriteStringFunction · 0.45
Out<TString>Function · 0.45
string>Method · 0.45
string_view>Method · 0.45
path>Method · 0.45
Out<TStringBuf>Function · 0.45

Calls 3

WriteFunction · 0.50
dataMethod · 0.45
sizeMethod · 0.45

Tested by 4

TestGenericWriteMethod · 0.36
TestMemoryStreamMethod · 0.36
TestBufferedIOMethod · 0.36
TestBufferStreamMethod · 0.36