Title: stream: simplify howMuchToRead() · nodejs/node@1e3e6da · GitHub
Open Graph Title: stream: simplify howMuchToRead() · nodejs/node@1e3e6da
X Title: stream: simplify howMuchToRead() · nodejs/node@1e3e6da
Description: Node.js JavaScript runtime ✨🐢🚀✨. Contribute to nodejs/node development by creating an account on GitHub.
Open Graph Description: This slightly refactors read by moving side effects out of howMuchToRead(). We don't actually have to set state.needReadable = true; in howMuchToRead() since read handles 0 return as needReada...
X Description: This slightly refactors read by moving side effects out of howMuchToRead(). We don't actually have to set state.needReadable = true; in howMuchToRead() since read handles 0 return as needR...
Opengraph URL: /nodejs/node/commit/1e3e6da9b9bdab5ab3a5678ce9d3d178e62444b3
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/commit/:name(/*path) |
| route-controller | commit |
| route-action | show |
| fetch-nonce | v2:37acdb87-67ca-8ed1-c382-170dfa232c84 |
| current-catalog-service-hash | f3abb0cc802f3d7b95fc8762b94bdcb13bf39634c40c357301c4aa1d67a256fb |
| request-id | EAA6:16328D:89D70:B8212:6A510DBC |
| html-safe-nonce | c0191517bbf7d2157189d1028d5679cd9cd645bcbf2e29e6e5f224ffd07b0791 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQUE2OjE2MzI4RDo4OUQ3MDpCODIxMjo2QTUxMERCQyIsInZpc2l0b3JfaWQiOiIyMzIzODEyMDkzMzA2OTMyNjY4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 254219d134e577875a5b0e1bf1d0ceebd5874c5d63d70cb67959eca33fac0632 |
| hovercard-subject-tag | repository:27193779 |
| github-keyboard-shortcuts | repository,commits,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/nodejs/node/commit/1e3e6da9b9 |
| twitter:image | https://opengraph.githubassets.com/a2a585999ce9e73299d7e51faab04916316191de443b4a474af6fbc97068e869/nodejs/node/commit/1e3e6da9b9bdab5ab3a5678ce9d3d178e62444b3 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/a2a585999ce9e73299d7e51faab04916316191de443b4a474af6fbc97068e869/nodejs/node/commit/1e3e6da9b9bdab5ab3a5678ce9d3d178e62444b3 |
| og:image:alt | This slightly refactors read by moving side effects out of howMuchToRead(). We don't actually have to set state.needReadable = true; in howMuchToRead() since read handles 0 return as needReada... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:updated_time | 1566285016 |
| hostname | github.com |
| expected-hostname | github.com |
| None | b076e100febaa00374cd89239f915d00dd3187f7c68b12bc2b7688181305344d |
| turbo-cache-control | no-cache |
| go-import | github.com/nodejs/node git https://github.com/nodejs/node.git |
| octolytics-dimension-user_id | 9950313 |
| octolytics-dimension-user_login | nodejs |
| octolytics-dimension-repository_id | 27193779 |
| octolytics-dimension-repository_nwo | nodejs/node |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 27193779 |
| octolytics-dimension-repository_network_root_nwo | nodejs/node |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 2d129404fc45ea64edb1b98567c53e55b395536f |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width