Thanks to visit codestin.com
Credit goes to Github.com

Skip to content

Tags: facebook/folly

Tags

v2025.12.22.00

Toggle v2025.12.22.00's commit message
Add PRETTY_BITS support to prettyPrint

Summary: Network interfaces and bandwidth measurements are commonly specified in bits (e.g., 1 Gbps, 100 Mbps), but prettyPrint only supported bytes. This adds PRETTY_BITS_METRIC (with PRETTY_BITS alias) to format bit values with standard metric prefixes (kb, Mb, Gb, Tb, Pb, Eb).

Reviewed By: skrueger

Differential Revision: D89553275

fbshipit-source-id: a5ab99f2e4a29bf26b70776deacabe528980ccf2

v2025.12.15.00

Toggle v2025.12.15.00's commit message
result/detail/immortal_exception_storage.h

Summary:
This is an internal virtual interface used by `rich_exception_ptr` to interact with the actual implementation which is in `ptr_immortal_exception_storage.h`.

Each immortal "instance" needs separate static storage, so there's a chain of templates in `immortal_rich_error.h` that creates a  constant-initialized / static `ptr_immortal_exception_storage<PtrToImmortalErrorStorage>`, which is then used to instantiate a constant-initialized `rich_exception_ptr`. The latter uses the virtual interface declared here.

# Diff stack context in D89023323

Reviewed By: ispeters

Differential Revision: D89023194

fbshipit-source-id: 601f770cd0262f689f666bdef8804af619268f56

v2025.12.01.00

Toggle v2025.12.01.00's commit message
omit aux-vector ElfHwCaps tests on mobile

Summary: The library is limited to non-mobile, so match that in the tests.

Reviewed By: r1mikey

Differential Revision: D88009793

fbshipit-source-id: 013642d059b01c31a3bdd06f8afb2a6998f47651

v2025.11.24.00

Toggle v2025.11.24.00's commit message
Enable `-Wdeprecated-this-capture` in multifeed/PACKAGE +1

Summary:
This diff enables compilation warning flags for the directory in question. Further details are in [this workplace post](https://fb.workplace.com/permalink.php?story_fbid=pfbid02XaWNiCVk69r1ghfvDVpujB8Hr9Y61uDvNakxiZFa2jwiPHscVdEQwCBHrmWZSyMRl&id=100051201402394).

This is a low-risk diff. There are **no run-time effects** and the diff has already been observed to compile locally. **If the code compiles, it work; test errors are spurious.**

Differential Revision: D87405269

fbshipit-source-id: 8959956f5e065f0900caa576b74d96f94df587bb

v2025.11.17.00

Toggle v2025.11.17.00's commit message
Extirpate FOLLY_NODISCARD in folly/algorithm/simd/detail/UnrollUtils.…

…h +5

Summary:
`[[nodiscard]]` is now available in all of our compilers. This diff changes the code to rely on it directly.

Generated with
```
reset && xbgs -l FOLLY_NODISCARD | grep -v Portability.h | grep -v json | grep -v xplat | grep -v ThirdParty/ | grep -v third-party | perl -pe 's/^fbsource.//' | xargs -n 100 perl -pe 's/FOLLY_NODISCARD/[[nodiscard]]/' -i
```

Reviewed By: ilvokhin

Differential Revision: D87101286

fbshipit-source-id: 0bdd69acfad34c583b15efbe22abbc95096305af

v2025.11.10.00

Toggle v2025.11.10.00's commit message
register tests if discovered via base retry on public commit

Summary: Register tests if discovered via base_retry, similar to continuous run. Useful if continuous run has not been scheduled for a while

Reviewed By: yfeldblum

Differential Revision: D86511630

fbshipit-source-id: 1a886162a4bdf434a2d8d669c810afdc5bd37d56

v2025.11.03.00

Toggle v2025.11.03.00's commit message
preprocess away vs skipping in folly/logging/test/AsyncFileWriterTest…

….cpp

Summary: Skips are intended for runtime failures. But the relevant conditions are detectable at preprocessing time.

Reviewed By: lexprfuncall

Differential Revision: D85513034

fbshipit-source-id: 82c706519d48481ae81a9f4d3a8e849ed1a1a765

v2025.10.27.00

Toggle v2025.10.27.00's commit message
Revert D85350662: Convert fbcode/folly/net/detail to fb_dirsync_cpp_l…

…ibrary

Differential Revision:
D85350662

Original commit changeset: 208640000b0b

Original Phabricator Diff: D85350662

fbshipit-source-id: 507938f9203b5416e58e6623889b783d82cca41a

v2025.10.20.00

Toggle v2025.10.20.00's commit message
benchmark scenario for hazptr_domain::load_hazptr_vals with sqrt(N) p…

…rotected

Summary: At larger sizes in this scenario, the hprec's are almost completely empty, but not quite.

Reviewed By: marksantaniello

Differential Revision: D84995170

fbshipit-source-id: 61e3cdf61e10338e6cc698ea1c2160a81fabfef2

v2025.10.13.00

Toggle v2025.10.13.00's commit message
Move to ftpmirror for all gnu

Summary:
X-link: facebookexperimental/moxygen#79

as in title

Reviewed By: roticv

Differential Revision: D84388344

fbshipit-source-id: 96057b6b1c5f282451b8c2b582649c379cac9ecb