Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/node_http_common.h
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ enum http_status_codes {

// NgHeaders takes as input a block of headers provided by the
// JavaScript side (see http2's buildNgHeaderString function) and
// converts it into a array of ng header structs. This is done
// converts it into an array of ng header structs. This is done
// generically to handle both http/2 and (in the future) http/3,
// which use nearly identical structs. The template parameter
// takes a Traits type that defines the ng header struct and
Expand Down
4 changes: 2 additions & 2 deletions src/node_snapshotable.cc
Original file line number Diff line number Diff line change
Expand Up @@ -789,7 +789,7 @@ void WriteByteVectorLiteral(std::ostream* ss,
for (size_t i = 0; i < size; i++) {
*ss << std::to_string(vec[i]) << (i == size - 1 ? '\n' : ',');
if (i % 64 == 63) {
// Print a newline every 64 units and a offset to improve
// Print a newline every 64 units and an offset to improve
// readability.
*ss << " // " << (i / 64) << "\n";
}
Expand Down Expand Up @@ -1115,7 +1115,7 @@ ExitCode BuildSnapshotWithoutCodeCache(
// Drain the loop and platform tasks before creating a snapshot. This is
// necessary to ensure that the no roots are held by the the platform
// tasks, which may reference objects associated with a context. For
// example, a WeakRef may schedule an per-isolate platform task as a GC
// example, a WeakRef may schedule a per-isolate platform task as a GC
// root, and referencing an object in a context, causing an assertion in
// the snapshot creator.
ExitCode exit_code =
Expand Down
Loading