MCPcopy Create free account
hub / github.com/aboutcode-org/scancode-toolkit / write

Method write

samples/zlib/iostream2/zstream.h:208–210  ·  view source on GitHub ↗

Binary write the given number of bytes into the compressed file. */

Source from the content-addressed store, hash-verified

206 /* Binary write the given number of bytes into the compressed file.
207 */
208 int write(const void* buf, size_t len) {
209 return ::gzwrite(m_fp, (voidp) buf, len);
210 }
211
212 /* Flushes all pending output into the compressed file. The parameter
213 * _flush is as in the deflate() function. The return value is the zlib

Callers 15

run_app_smoke_testsFunction · 0.45
save_if_modifiedMethod · 0.45
getMethod · 0.45
fetch_and_saveFunction · 0.45
create_copyright_testsFunction · 0.45
lock_requirementsFunction · 0.45
lock_dev_requirementsFunction · 0.45
validate_and_dump_rulesFunction · 0.45
dumpMethod · 0.45
get_apkindex_licensesFunction · 0.45
get_apkbuild_licensesFunction · 0.45
detect_licensesFunction · 0.45

Calls

no outgoing calls

Tested by 3

run_app_smoke_testsFunction · 0.36
create_copyright_testsFunction · 0.36
dumpMethod · 0.36