Repository navigation
Tags
Tags
Use `[[likely]]`/`[[unlikely]]` instead of whole-condition `FOLLY_LIK… …ELY` Summary: `FOLLY_LIKELY(cond)` and `FOLLY_UNLIKELY(cond)` wrap `__builtin_expect`. When the macro is the entire condition of an `if`, the C++20 `[[likely]]` and `[[unlikely]]` attributes on the branch say the same thing in standard C++. Rewrite those statements, for example `if (FOLLY_UNLIKELY(!ok))` becomes `if (!ok) [[unlikely]]`. Uses inside larger expressions and loop conditions are unchanged. No behavior change. Reviewed By: dtolnay Differential Revision: D130448394 fbshipit-source-id: 5a6ed40dd3ddebab8012eb7c4603722ffb13858a
Expose contiguous stream ACK frontier Summary: Expose the largest contiguous ACKed stream offset through `StreamTransportInfo` so socket observers can map transport ACK progress to application bytes without maintaining a second transport-side snapshot. - `maybeLargestDeliverableOffset` comes from `getLargestDeliverableOffset`, so it follows delivery-callback semantics: once the FIN is ACKed it equals the final offset, one past the last stream byte. - The legacy path reads `QuicStreamState::ackedIntervals` and the unified send buffer reads its own ACKed intervals; both record a data range as `[offset, offset + len - 1]` and an ACKed FIN as the final offset, so they report the same frontier. - Use designated initialization for `StreamTransportInfo` so future fields remain readable and correctly associated. landed-with-radar-review Differential Revision: D113323964 fbshipit-source-id: b3457cae5a760370f826f25979859338873de12d
Updating hashes Summary: GitHub commits: meta/CacheLib@6ac09ce meta/fb303@08e1a63 meta/fbthrift@c651dec meta/folly@c517b06 473f490 meta/proxygen@ee01105 meta/wangle@16e660e facebookexperimental/edencommon@5af78bb facebookexperimental/rust-shed@1cc2697 facebookincubator/fizz@7924cf1 Reviewed By: sdwilsh fbshipit-source-id: bfb4382715c82506fd868ed33062d2109330cd30
Updating hashes Summary: GitHub commits: WhatsApp/erlang-language-platform@5270c5b meta/CacheLib@0c320ad meta/fb303@b391ed9 meta/fbthrift@e5bba51 meta/folly@4dda9bd 79aaf09 meta/proxygen@0d3feea pyrefly-org/pyrefly@30fbf77 meta/wangle@b134806 facebookexperimental/edencommon@8aa064a facebookexperimental/rust-shed@212e67d facebookincubator/fizz@2b9da06 Reviewed By: ajb85 fbshipit-source-id: 4b90bbebcf4e7a5a696841b25d70347865dc211b
Updating hashes Summary: GitHub commits: meta/CacheLib@1afde0f meta/fb303@8565417 meta/fbthrift@e2d2c89 meta/folly@68cabf0 2e6b5c9 meta/proxygen@1964792 pyrefly-org/pyrefly@02b812e meta/wangle@40a2fe0 facebookexperimental/edencommon@a151ad9 facebookexperimental/rust-shed@745d642 facebookincubator/fizz@bf0cef2 Reviewed By: pranavcivi fbshipit-source-id: a5c8a6062fa8d2ee907a898b3b40bac146ab372e
Updating hashes Summary: GitHub commits: meta/CacheLib@3dea588 meta/fb303@5a6f522 meta/fbthrift@e99f1d2 meta/folly@7914a31 af2fdf3 meta/proxygen@6490975 pyrefly-org/pyrefly@1d8dc92 meta/wangle@d5066eb facebookexperimental/rust-shed@8dbdf04 Reviewed By: kainanpeace666 fbshipit-source-id: a967a333156bfb964b09ca363e7500e856494629
Updating hashes Summary: GitHub commits: WhatsApp/erlang-language-platform@1228b01 meta/CacheLib@fc45cc7 meta/fb303@4a74ebe meta/fbthrift@e2be5ec meta/folly@7737b3a 5a19c9e meta/proxygen@6fe7207 pyrefly-org/pyrefly@712601c meta/wangle@4f973a4 facebookexperimental/edencommon@d1effb5 facebookexperimental/rust-shed@a02b225 facebookincubator/fizz@4cd2dd8 Reviewed By: bigfootjon fbshipit-source-id: 5988c3d19dc37f537436aa22fd10d49a8131670d
Updating hashes Summary: GitHub commits: WhatsApp/erlang-language-platform@8ecd7f2 meta/CacheLib@92944e5 meta/fb303@48b10d7 meta/fbthrift@a78dbc9 meta/folly@7bfa034 c956401 meta/proxygen@d79b298 pyrefly-org/pyrefly@be0f564 meta/wangle@a124f43 facebookexperimental/edencommon@fd11084 facebookexperimental/rust-shed@dd4e0bb facebookincubator/fizz@0931563 Reviewed By: ajb85 fbshipit-source-id: 2dc685869299b73ad437e8d34bcb3a7bcf734f64
Updating hashes Summary: GitHub commits: meta/CacheLib@cce3e1d meta/fb303@9e155e5 meta/fbthrift@037bfb8 25047bc meta/proxygen@8d47d36 pyrefly-org/pyrefly@70f23e9 meta/wangle@cc3c744 facebookexperimental/edencommon@9035d18 facebookexperimental/rust-shed@a3e2ac1 facebookincubator/fizz@963f906 Reviewed By: sdwilsh fbshipit-source-id: bb1d63b95f6a1558e06aae3cf0066d8ed41dae8a
Updating hashes Summary: GitHub commits: meta/CacheLib@f85ec25 meta/fb303@06a05cb meta/fbthrift@79e0869 meta/folly@23ebefd e18b479 meta/proxygen@e91ee8e meta/wangle@ec9b348 facebookexperimental/edencommon@839a29d facebookexperimental/rust-shed@d2358bf facebookincubator/fizz@6c987c4 Reviewed By: vladi99 fbshipit-source-id: 2acd8c4683486acd5d0306f97d1b85732e623c87
PreviousNext