- 17 Sep, 2024 5 commits
-
-
The original version of the tests did not reset the VLOG levels between tests, which could lead to false positives. This CL fixes the issue by resetting the VLOG levels to their default values before each test. PiperOrigin-RevId: 675711787 Change-Id: Id311ba0c00a9e929afcddc7346882487fd64ea16
Alex Titov committed -
The existing implementation uses wall-clock time. However, wall clock can drastically differ from the internal system clock, because the system can be suspended and then resumed. We want to account for at least some kinds of suspensions that might occur during automated testing, such as VM suspension or hypervisor preemption ("steal time"). These are tricky cases, because the physical (host) CPU is still running -- just the logical (guest) virtual CPU isn't. Therefore, we need to ensure that our time measurements exclude elapsed host-only time. Unfortunately the correctness of a method depends on the nature & configuration of each VM and the guest. For example, it can depend whether RDTSC is virtualized, or on whether the host and guest support accounting for steal time. Windows, for example, appears to only support steal time measurements if the hypervisor is Hyper-V. Since this is all for the sake of testing, we use a simpler trick that we hope will work around the problem on our systems: we subtract the so-called "interrupt time bias" from the system uptime in Windows. The interrupt time bias includes sleep/hibernation time, and seems to advance during for VM suspensions as well, so it may take care of the problem. PiperOrigin-RevId: 675654840 Change-Id: I66150b18912175fa72609d3f137e3ea4fee8fc43Abseil Team committed -
Add an explicit tag for non-SOO CommonFields (removing default ctor) and add a small optimization for early return in AssertNotDebugCapacity. PiperOrigin-RevId: 675640181 Change-Id: I5ab4cc6eaa0b54932ed70e42ed654f912cf1b099
Evan Brown committed -
Make moved-from swisstables behave the same as empty tables. Note that we may change this in the future. PiperOrigin-RevId: 675576092 Change-Id: Ibbe1d9d2b644ce6f6182a2d197635d6a0c5327f6
Evan Brown committed -
This is to prepare for continuous testing on darwin_arm64. PiperOrigin-RevId: 675532534 Change-Id: I58e183a3b8cac9cb73f1d0d56e9d41831f02488e
Abseil Team committed
-
- 16 Sep, 2024 4 commits
-
-
This is missing, which causes build-time breakages in cmake builds when gtest is directly included as part of the build's cmake tree. no_destructor_test directly `#include`s gmock. PiperOrigin-RevId: 675253814 Change-Id: Id9ce8b2935c526ea0bfca91590c23bbbcde05f9c
Abseil Team committed -
Optimize raw_hash_set moves by allowing some members of CommonFields to be uninitialized when moved-from. PiperOrigin-RevId: 675245694 Change-Id: I17b108703d8148dbf00e1683c937b50f09f79951
Evan Brown committed -
PiperOrigin-RevId: 675217344 Change-Id: Idfe8f1c91baa053d42b5f4e2f10cf745943d359c
Evan Brown committed -
PiperOrigin-RevId: 675191249 Change-Id: I8fde03e0db6e014853730d63fa1924fd2290bf3e
Evan Brown committed
-
- 13 Sep, 2024 1 commit
-
-
PiperOrigin-RevId: 674283690 Change-Id: I5ff9fd54af1175c2eb71fb942f10834f7be6bf9f
Abseil Team committed
-
- 12 Sep, 2024 2 commits
-
-
**Note**: These changes are generated by hand. Review with care. This CL changes the `absl_internal` implementations of `AsciiStrToLower()` / `AsciiStrToUpper()` to allow `src` to be null. This can, in fact, happen if the `string_view` passed to the public API is empty, and the implementations handle it correctly. I have added comments noting that `src` is allowed to be null iff the size is zero. `-Wnonnull` diagnoses cases where a `nullptr` literal is passed to a parameter annotated nonnull, or where `nullptr` is returned from a function whose return type is annotated nonnull. `-Wnullability` diagnoses cases where nullability annotations conflict, for example between the declaration and definition of a function. PiperOrigin-RevId: 673846759 Change-Id: I6cf3490ce13837eba9814156c420598000ecc596
Martin Brænne committed -
PiperOrigin-RevId: 673830978 Change-Id: I81e52da873dcff75d6a8502578600ec7db50f221
Abseil Team committed
-
- 11 Sep, 2024 2 commits
-
-
- d1397431006ea1362a5914d4a90b265d0c7c6f2c Update zoneinfo files to 2024b (#300) by Bradley White <14679271+devbww@users.noreply.github.com> - 8bdbd840e97ff32e17f25db85c82589819ad3352 Fix mingw compiler error due to missing function declarat... by Biswapriyo Nath <nathbappai@gmail.com> - 6624659e01e73e41527d6b27036e9f79a556560f Add GitHub Actions CI (#299) by Derek Mauro <761129+derekmauro@users.noreply.github.com> PiperOrigin-RevId: 673451051 Change-Id: Id39f2186bbdcb802d4fc4c5e21207c6f3709c56f
Derek Mauro committed -
PiperOrigin-RevId: 673403995 Change-Id: I62d8bb37d4538c340783fb55e5a00694e932b6d1
Evan Brown committed
-
- 06 Sep, 2024 1 commit
-
-
PiperOrigin-RevId: 671868434 Change-Id: I3c6a5f545fd7535ea20485547cdc3680a2362824
Abseil Team committed
-
- 05 Sep, 2024 2 commits
-
-
PiperOrigin-RevId: 671484965 Change-Id: Ia1da7db0db1f776d48c74efaeab7252445208088
Evan Brown committed -
PiperOrigin-RevId: 671385555 Change-Id: Ic98587062de121f127a56fecf2c494a82c6350ba
Abseil Team committed
-
- 04 Sep, 2024 1 commit
-
-
This makes it easier to copy-paste, without having to read the full documentation. PiperOrigin-RevId: 670982905 Change-Id: I2f3844f30bc289053943aef3c15fdc5433203eb9
Abseil Team committed
-
- 03 Sep, 2024 1 commit
-
-
The rationale behind this being that it is close too close to the first access of the data pointed by the pointer and is of no significant improvement as seen in the benchmarks. PiperOrigin-RevId: 670574898 Change-Id: I43a495f23871a2870f4ffd9ab9232083d9668c79
Abseil Team committed
-
- 30 Aug, 2024 1 commit
-
-
PiperOrigin-RevId: 669363872 Change-Id: I2aeac23eb082a7bdabe65b3f55fd8adea6930386
Evan Brown committed
-
- 29 Aug, 2024 1 commit
-
-
This change adds a new macro, ABSL_HARDENING_ASSERT_SLOW, which can be used for hardening assertions which have too great a performance impact to enable widely. It also adds an additional supported value for ABSL_OPTION_HARDENED to only enable assertions which are not slow. ABSL_OPTION_HARDENED=1 will continue to enable all hardening assertions, while ABSL_OPTION_HARDENED=2 will only enable assertions not marked as SLOW. PiperOrigin-RevId: 668976425 Change-Id: I12cb209715d5b359c4093cc8c62e16794d7729b3
Abseil Team committed
-
- 28 Aug, 2024 3 commits
-
-
used. PiperOrigin-RevId: 668612700 Change-Id: I018ce756632154a9e7f2de77e6faa24296d80002
Abseil Team committed -
We enable this validation when sanitizers are enabled rather than in debug mode because debug mode can be enabled/disabled separately in different translation units, which can cause bugs for this type of validation. E.g. a hashtable that was moved from in a TU with debug enabled is then destroyed in a TU with debug disabled. PiperOrigin-RevId: 668492783 Change-Id: Ifab6894de0890aa0a7d8ea338b53b6759b097cb1
Evan Brown committed -
indicate the default nullability. This is a no-op for now (not understood by checkers), but does communicate intention to human readers. PiperOrigin-RevId: 668448175 Change-Id: I19802d19be9a310aa5f0dacf8b0567dd768fb830
Abseil Team committed
-
- 27 Aug, 2024 1 commit
-
-
This change adds support for unwinding stack traces on supported android platforms (NDK 33+) to absl::GetStackTrace(). PiperOrigin-RevId: 668041186 Change-Id: Ie4c4c123686050c6b81683b71fe0246e8fa75f2b
Francois Bleibel committed
-
- 26 Aug, 2024 1 commit
-
-
PiperOrigin-RevId: 667621254 Change-Id: Ibff25d275c1c6846f857d90ed905c70f9545d8dd
Abseil Team committed
-
- 23 Aug, 2024 1 commit
-
-
PiperOrigin-RevId: 666760220 Change-Id: I9e85d4db0442546bdebc13b0a6e6d9c7f8d3c459
Abseil Team committed
-
- 22 Aug, 2024 2 commits
-
-
PiperOrigin-RevId: 666465929 Change-Id: Idcbed10e4e787f625f45460cd3651a37d06845bc
Abseil Team committed -
Migrate ABSL_INTERNAL_ATTRIBUTE_OWNER and ABSL_INTERNAL_ATTRIBUTE_VIEW to ABSL_ATTRIBUTE_OWNER and ABSL_ATTRIBUTE_VIEW PiperOrigin-RevId: 666390885 Change-Id: I85457d39cf5ecb1c6622c6d59cb1876b154d64c3
Abseil Team committed
-
- 21 Aug, 2024 1 commit
-
-
due to false positives. https://godbolt.org/z/evjd73cv6 PiperOrigin-RevId: 666027404 Change-Id: Ib0fe9c7b3d2aeb8710342e9e2aadc6a346e03e60
Derek Mauro committed
-
- 20 Aug, 2024 1 commit
-
-
Deprecates ABSL_INTERNAL_ATTRIBUTE_VIEW and ABSL_INTERNAL_ATTRIBUTE_OWNER PiperOrigin-RevId: 665523780 Change-Id: Ic4f7e3083a7db9d8fd057d3e002b81c775a4a87e
Abseil Team committed
-
- 19 Aug, 2024 1 commit
-
-
PiperOrigin-RevId: 664999751 Change-Id: I6f908cc1b8de8a6a11bb1e02cca761df6aae4e07
Evan Brown committed
-
- 16 Aug, 2024 1 commit
-
-
Imported from GitHub PR https://github.com/abseil/abseil-cpp/pull/1728 When targeting Android NDK r25 (reached EOL now, but still in some use) one gets the following error: ``` $(SOURCE_ROOT)/contrib/restricted/abseil-cpp/absl/time/time.h:1762:37: error: invalid operands to binary expression ('std::strong_ordering' and 'const std::strong_ordering') if (auto c = lhs_hi <=> rhs_hi; c != std::strong_ordering::equal) { ``` The error indicates the lack of `operator<=>` between two `std::strong_ordering` items. I believe that this should be controlled by `__cpp_lib_three_way_comparison` (_Three-way comparison (library support)_, see [this article](https://en.cppreference.com/w/cpp/feature_test)), not by `__cpp_impl_three_way_comparison` (which stands for _Three-way comparison (compiler support)_). Fixes #1725. The problem was introduced in a2766235. Merge 32e1d3d889859ef8a32bf3460349814a2203444c into 69c46839 Merging this change closes #1728 COPYBARA_INTEGRATE_REVIEW=https://github.com/abseil/abseil-cpp/pull/1728 from georgthegreat:fix-time 32e1d3d889859ef8a32bf3460349814a2203444c PiperOrigin-RevId: 663723253 Change-Id: I29f7d2b562cc5ad8e11cd46b538ba69acee0f314
Yuriy Chernyshov committed
-
- 15 Aug, 2024 1 commit
-
-
PiperOrigin-RevId: 663373500 Change-Id: I6b2014f8cc4244e1599c907197cfaadb6739f72b
Evan Brown committed
-
- 14 Aug, 2024 1 commit
-
-
This fixes the behavior of ```c++ ABSL_RAW_LOG(INFO, "RAW INFO: %s%c%s", "Hello", 0, "World"); ``` which would previously truncate at the `\0`. The new behavior is consistent with `printf`. PiperOrigin-RevId: 663049889 Change-Id: I171dcb8a61b19873b88920e383f03acf7fb112d7
Abseil Team committed
-
- 13 Aug, 2024 2 commits
-
-
PiperOrigin-RevId: 662635356 Change-Id: I8b3d992147ee3affb92947135f09076c851448e3
Chris Kennelly committed -
PiperOrigin-RevId: 662586240 Change-Id: Ibee60b935da5d8135ac99b6caf00b3c035ecfd89
Abseil Team committed
-
- 12 Aug, 2024 1 commit
-
-
The motivation for renaming AssertValidCapacity() is to avoid confusion with IsValidCapacity(). PiperOrigin-RevId: 662178137 Change-Id: If4fd15725376a899c4f40afc3db9e300c8c1edc7
Evan Brown committed
-
- 08 Aug, 2024 1 commit
-
-
Add debug mode checks that element constructors/destructors don't make reentrant calls to raw_hash_set member functions. PiperOrigin-RevId: 660889825 Change-Id: I02e0e364a5215431eddeeabde66531a95aa03f22
Evan Brown committed
-
- 07 Aug, 2024 1 commit
-
-
PiperOrigin-RevId: 660539039 Change-Id: I2f3dee7c60ce2234ea81c64b23e50448681fa885
Michael Brase committed
-