~trebelnik-stefina/cinnamon-test/+git/abseil:lts_2021_11_02

Last commit made on 2021-11-03
Get this branch:
git clone -b lts_2021_11_02 https://git.launchpad.net/~trebelnik-stefina/cinnamon-test/+git/abseil

Branch merges

Branch information

Name:
lts_2021_11_02
Repository:
lp:~trebelnik-stefina/cinnamon-test/+git/abseil

Recent commits

2151058... by Derek Mauro <email address hidden>

Fix Android build of elf_mem_image.cc (#1052)

6a72279... by Derek Mauro <email address hidden>

Apply LTS transformations for 20211102 LTS branch (#1050)

3b22e57... by Abseil Team <email address hidden>

Export of internal Abseil changes

--
9ab15354ad0462f51e078b87d73a68f789644b24 by Derek Mauro <email address hidden>:

Import of CCTZ from GitHub.

PiperOrigin-RevId: 407072980
GitOrigin-RevId: 9ab15354ad0462f51e078b87d73a68f789644b24
Change-Id: Ibed92d989dd877efa11073ee981033d7598d0295

b6b62c7... by Abseil Team <email address hidden>

Export of internal Abseil changes

--
f49e405201d2ffd5955503fa8ad0f08ec0cdfb2b by Martijn Vels <email address hidden>:

Add common [container.requirements] type definitions to `CharRange` and `ChunkRange`

The presence of these allow these range classes to be used in various utility functions which require some minimum type of container. For example, this change allows tests to use `EXPECT_THAT(cord.Chunks(), ElementsAre(...))`

PiperOrigin-RevId: 406941278

--
0c195f073632e21d9a4bce158047b2ba8551c2d1 by Evan Brown <email address hidden>:

Use explicit exponential growth in SubstituteAndAppendArray.

PiperOrigin-RevId: 406931952

--
afb043bccd809a55cab78abadb7548a057d9eda0 by Jorg Brown <email address hidden>:

Use longer var names in macro to avoid clang-tidy warning

PiperOrigin-RevId: 406930978

--
80397e2604e6b3d929a34742c3a32581b34d3ac4 by Martijn Vels <email address hidden>:

Add future kAppendBuffer and kPrependBuffer API trackers for Cordz sampling

PiperOrigin-RevId: 406912759

--
e910ce919ef83933f08a690e8b7325c7cc5b6d5d by Martijn Vels <email address hidden>:

Implement Prepend(string_view) in terms of PrependArray(string_view, MethodIdentifier).

PiperOrigin-RevId: 406891665

--
c9cff43d4c0568ed01f2fca0f6ef038ae03112b5 by Martijn Vels <email address hidden>:

Add 'Rebuild' logic to CordRepBtree

There are btree hostile scenarios where an application could perform repeated split/insert/merge operations on a cord leading to a tree exceeding the maximum height. While this should be rare in practice, this change adds a Rebuild() method that will rebuild a tree with a 100% fill factor, and we will invoke this rebuild when a tree exceeds the maximum height. This basically follows the similar 'balance' logic in Concat trees (although the latter is common in Concat uses)

PiperOrigin-RevId: 406875739

--
5b2b8fb88f1ebfdc1c670088152da2cb2ea4c376 by Martijn Vels <email address hidden>:

Add 'in place' enabled RemoveSuffix

An in-place RemoveSuffix is more efficient than SubTree() as it can directly modify privately owned nodes and flats allowing easy re-use of free capacity in right-most flats that may turn into Substring edges when using SubTree.

PiperOrigin-RevId: 406431230

--
f09903c0a3d7344f59aaf1380a16ea10829217d4 by Derek Mauro <email address hidden>:

Internal change

PiperOrigin-RevId: 406430373

--
9957af575c33bb18dc170572a4ee8cc5901df6b2 by Greg Falcon <email address hidden>:

Initial groundwork to allow storing checksum data inside CordRep instances.

This uses a RefcountAndFlags bit that was reserved for this purpose, and will be leveraged in a follow-up change to allow attaching checksums to a Cord's value.

This change splits RefcountAndFlags::IsOne() into two distinct operations:

* IsOne(): This returns true when the associated CordRep is not shared with other threads. This is useful for functions that consume CordRep instances; for example, code that consumes an unshared CordRep can assume ownership of its children without modifying those refcounts.

* IsMutable(): This returns true when the associated CordRep reference is not shared with other threads, *and* does not store an associated checksum value. This is useful for functions that modify a CordRep's contents: code may modify the bytes of a mutable-unshared CordRep without fear of races with other threads, or of invalidating a stored checksum.

The tricky part of this CL is ensuring that the correct choice between IsMutable() and IsOne() was made at each point. An incorrect application of IsOne() could lead to correctness bugs in the future. Code conditioned on IsOne() may delete the CordRep in question, or assume ownership of its children, but must not modify the CordRep's data without explicitly adjusting the CRC.

PiperOrigin-RevId: 406191103

--
686544814079e5ab6d4593cca0c068b510be400a by Martijn Vels <email address hidden>:

Reduce the size in the LargeString test when running with Sanitizers

PiperOrigin-RevId: 406186945

--
735b4490bdb695c35731f06ce4b8de14ce2be6ed by Alex Strelnikov <email address hidden>:

Release absl::SimpleHexAtoi.

PiperOrigin-RevId: 406143188
GitOrigin-RevId: f49e405201d2ffd5955503fa8ad0f08ec0cdfb2b
Change-Id: Ic6527ac40fa03ea02ca813e8bb7868a219544de4

022527c... by Milad Fa <email address hidden>

Fix Randen and PCG on Big Endian platforms (#1031)

cc413f8... by Abseil Team <email address hidden>

Export of internal Abseil changes

--
05a099a580753f8e96cee38572e94dcdc079361b by Abseil Team <email address hidden>:

Import of CCTZ from GitHub.

PiperOrigin-RevId: 405966217

--
c6b81e9ebc183d8389f14ecd091c8bad08cfe0aa by Abseil Team <email address hidden>:

Add `inline_element_size` to hashtablez (so that we can compute the weighted load factors properly e.g., in b/187896534).

PiperOrigin-RevId: 405917711

--
3e3673de4e54e4142c54b09e1644dfa3de4bb296 by Abseil Team <email address hidden>:

align indent of code comment in mutex.h

PiperOrigin-RevId: 405871997

--
2248301a5b14f8d2be5b2e9088f3528a353ea491 by Derek Mauro <email address hidden>:

Internal change

PiperOrigin-RevId: 405639236

--
bc7d3c56fdad3dde4b89324af142529f2afe5f1b by Abseil Team <email address hidden>:

Import of CCTZ from GitHub.

PiperOrigin-RevId: 405508045

--
66472387276ef02505d99195747be862768bb35b by Laramie Leavitt <email address hidden>:

Also use uint8_t golden values in randen_test.cc

This makes randen_test, randen_slow_test, and randen_hwaes_test essentially
identical, as is the intent.

PiperOrigin-RevId: 405484423
GitOrigin-RevId: 05a099a580753f8e96cee38572e94dcdc079361b
Change-Id: I3dd5b0cfdb98d6e1ab02266194ba67d15428c2f8

f70eada... by Milad Fa <email address hidden>

Fix over-aligned layout test with older gcc compilers (#1049)

46d939a... by Abseil Team <email address hidden>

Export of internal Abseil changes

--
30bbe72e8c32d8680bbe6c8473a884d485e9f684 by Laramie Leavitt <email address hidden>:

Convert randen golden test to use byte arrays.

PiperOrigin-RevId: 404948438

--
4690d9ebd2c518708ad155e913b2140ebdf01234 by Laramie Leavitt <email address hidden>:

Add golden tests for internal::ExplicitSeedSeeq against stable std:: random URBGs.

PiperOrigin-RevId: 404912608

--
52e9b24276ee3a21cc8a026f9d152ef8ced7f507 by Derek Mauro <email address hidden>:

Internal change

PiperOrigin-RevId: 404861043

--
9e966a2a680970fd27d927cc6420e333b1378b1e by Abseil Team <email address hidden>:

Roll back import of CCTZ from GitHub.

PiperOrigin-RevId: 404343587

--
9c4eedec00105b8288c0b91d96434aea08b8e3c3 by Abseil Team <email address hidden>:

Import of CCTZ from GitHub.

PiperOrigin-RevId: 404314597

--
f171375fd7bec35cc34815be8faf5e000828b7bb by Abseil Team <email address hidden>:

Internal change

PiperOrigin-RevId: 404098156
GitOrigin-RevId: 30bbe72e8c32d8680bbe6c8473a884d485e9f684
Change-Id: Ic7b5a3c0659e321e2f642800930a8de014253e2a

ddb842f... by =?utf-8?b?SsOpcsO0bWUgRHV2YWw=?= <email address hidden>

Initial support for Haiku (#1045)

This provides the baseline needed to build Abseil on Haiku systems.

a2f52e1... by Abseil Team <email address hidden>

Export of internal Abseil changes

--
b008f3aaab60f1f0eb5987b50336543cca7151be by Martijn Vels <email address hidden>:

Enable Cord Btree as the default Cord implementation.

The Cord Btree implementation has been extensively tested by google. This changes makes the Cord Btree implementation the default implementation. This change should have no impact on current use cases and does not effect any public API or behavior.

PiperOrigin-RevId: 403966449

--
3d82052b5819d1244942c59d5cb4e51d75ada287 by Derek Mauro <email address hidden>:

Add missing CMake alias for gmock_main.
Remove unused variable ABSL_TEST_COMMON_LIBRARIES

Fixes #709
Fixes #1043

PiperOrigin-RevId: 403950358

--
86695f6d06915b56d807303c37ee81487998cd58 by Abseil Team <email address hidden>:

FunctionRef is cheaper to construct than a std::function, and the argument is only used during the call, so this is safe. This has the added advantage of allowing the caller to provide a non-movable callable, which can't be converted to a std::function.

PiperOrigin-RevId: 403457615

--
196c1109ba519d4ff00c856bbb4bff754468359f by Abseil Team <email address hidden>:

Internal optimization.

PiperOrigin-RevId: 403413291
GitOrigin-RevId: b008f3aaab60f1f0eb5987b50336543cca7151be
Change-Id: I1665f0efd484f53e0ed22d8940ef2fa60b03cc5b