MCPcopy Index your code
hub / github.com/nodejs/node / upper

Function upper

benchmark/fs/bench-filehandle-pull-vs-webstream.js:180–187  ·  view source on GitHub ↗
(chunks)

Source from the content-addressed store, hash-verified

178 try {
179 // Stateless transform: uppercase each chunk in the batch
180 const upper = (chunks) => {
181 if (chunks === null) return null;
182 const out = new Array(chunks.length);
183 for (let j = 0; j < chunks.length; j++) {
184 out[j] = uppercaseChunk(chunks[j]);
185 }
186 return out;
187 };
188
189 const readable = fh.pull(upper, compressFactory());
190

Callers

nothing calls this directly

Calls 1

uppercaseChunkFunction · 0.85

Tested by

no test coverage detected