Commit Graph

  • 8c495b5bbd Mark inline functions with only a simple comparison in strings/ascii.h as constexpr. Abseil Team 2024-10-17 01:25:47 -07:00
  • 202a8f40cf Add missing Abseil inline namespace and fix includes Gennadiy Rozental 2024-10-15 08:12:45 -07:00
  • b92128a4bd Fix bug where the high bits of __int128_t/__uint128_t might go unused in the hash function. This fix increases the hash quality of these types. Samuel Benzaquen 2024-10-14 07:57:28 -07:00
  • 40cab24455 Add a test to verify bit casting between signed and unsigned int128 works as expected Abseil Team 2024-10-11 13:39:25 -07:00
  • 79e414672f Add suggestions to enable sanitizers for asserts when doing so may be helpful. Evan Brown 2024-10-10 10:48:16 -07:00
  • 485f2be7c1 Add nullability attributes to nullability type aliases. Martin Brænne 2024-10-10 01:13:38 -07:00
  • 8634e35f17 Refactor swisstable moves. Evan Brown 2024-10-08 12:05:27 -07:00
  • 03b8d6ea3d Improve ABSL_ASSERT performance by guaranteeing it is optimized away under NDEBUG in C++20 Abseil Team 2024-10-02 13:07:35 -07:00
  • 5d34707882 Mark Abseil hardening assert in AssertSameContainer as slow. Abseil Team 2024-10-02 12:57:47 -07:00
  • c6b27359c3 Add workaround for q++ 8.3.0 (QNX 7.1) compiler by making sure MaskedPointer is trivially copyable and copy constructible. Derek Mauro 2024-09-27 09:24:53 -07:00
  • 482ca0b9d6 Small Mutex::Unlock optimization piotrzielinski 2024-09-26 13:29:09 -07:00
  • ba5fd0979b Optimize CEscape and CEscapeAndAppend by up to 40%. Shahriar Rouf 2024-09-23 17:04:11 -07:00
  • 29fdacd2e5 Fix the conditional compilation of non_temporal_store_memcpy_avx to verify that AVX can be forced via gnu::target. Derek Mauro 2024-09-23 10:38:56 -07:00
  • c0b9bd08e0 Delete TODOs to move functors when moving hashtables and add a test that fails when we do so. Evan Brown 2024-09-20 10:38:19 -07:00
  • b3454256f4 Fix benchmarks in escaping_benchmark.cc by properly calling benchmark::DoNotOptimize on both inputs and outputs and by removing the unnecessary and wrong ABSL_RAW_CHECK condition (check != 0) of BM_ByteStringFromAscii_Fail benchmark. Shahriar Rouf 2024-09-19 15:32:56 -07:00
  • 162dc789f1 It seems like commit abc9b916a9 did not work as intended. Abseil Team 2024-09-19 11:08:44 -07:00
  • 0df5674003 Fix a bug in absl::SetVLogLevel where a less generic pattern incorrectly removed a more generic one. Alex Titov 2024-09-17 17:58:45 -07:00
  • 3aa6061a1a Remove the side effects between tests in vlog_is_on_test.cc Alex Titov 2024-09-17 14:31:19 -07:00
  • abc9b916a9 Attempt to fix flaky Abseil waiter/sleep tests Abseil Team 2024-09-17 11:58:45 -07:00
  • 9a18cc1a12 Add an explicit tag for non-SOO CommonFields (removing default ctor) and add a small optimization for early return in AssertNotDebugCapacity. Evan Brown 2024-09-17 11:20:11 -07:00
  • 857fa4fa31 Make moved-from swisstables behave the same as empty tables. Note that we may change this in the future. Evan Brown 2024-09-17 08:22:31 -07:00
  • cbf590873b Tag tests that currently fail on darwin_arm64 with "no_test_darwin_arm64" Abseil Team 2024-09-17 05:50:43 -07:00
  • bd0429d9a4 add gmock to cmake defs for no_destructor_test Abseil Team 2024-09-16 12:42:21 -07:00
  • a186a2d57e Optimize raw_hash_set moves by allowing some members of CommonFields to be uninitialized when moved-from. Evan Brown 2024-09-16 12:18:43 -07:00
  • 820f29f6a3 Add more debug capacity validation checks on iteration/size. Evan Brown 2024-09-16 11:05:23 -07:00
  • ba835d56e4 Add more debug capacity validation checks on copies. Evan Brown 2024-09-16 10:01:58 -07:00
  • f7c22f52a7 constinit -> constexpr for DisplayUnits Abseil Team 2024-09-13 07:05:05 -07:00
  • f555f69ba8 LSC: Fix null safety issues diagnosed by Clang’s -Wnonnull and -Wnullability. Martin Brænne 2024-09-12 07:56:09 -07:00
  • a1a7086ead Remove the extraneous variable creation in Match(). Abseil Team 2024-09-12 07:05:50 -07:00
  • 1d4466e8d3 Import of CCTZ from GitHub. Derek Mauro 2024-09-11 10:42:28 -07:00
  • 0bc0e9a02d Add more debug capacity validation checks on merge/swap. Evan Brown 2024-09-11 08:30:46 -07:00
  • 67d126083c Add absl:: namespace to c_linear_search implementation in order to avoid ADL Abseil Team 2024-09-06 13:14:21 -07:00
  • e9ca8d1ca2 Distinguish the debug message for the case of self-move-assigned swiss tables. Evan Brown 2024-09-05 13:15:11 -07:00
  • 043fe3c1d6 Update LowLevelHash comment regarding number of hash state variables. Abseil Team 2024-09-05 08:39:08 -07:00
  • f7f316824d Add an example for the --vmodule flag. Abseil Team 2024-09-04 08:37:35 -07:00
  • b014bff59d Remove first prefetch. Abseil Team 2024-09-03 08:47:40 -07:00
  • e64dd622d7 Add moved-from validation for the case of self-move-assignment. Evan Brown 2024-08-30 10:08:33 -07:00
  • 1031858eb2 Allow slow and fast abseil hardening checks to be enabled independently. Abseil Team 2024-08-29 10:05:42 -07:00
  • 8f942c0019 Update ABSL_RETIRED_FLAG comment to reflect default_value is no longer used. Abseil Team 2024-08-28 14:40:36 -07:00
  • f61aac8c41 Add validation against use of moved-from hash tables. Evan Brown 2024-08-28 09:45:15 -07:00
  • 0f93828785 Provide file-scoped pragma behind macro ABSL_POINTERS_DEFAULT_NONNULL to indicate the default nullability. This is a no-op for now (not understood by checkers), but does communicate intention to human readers. Abseil Team 2024-08-28 07:40:30 -07:00
  • 40a975ff1e Add stacktrace config for android using the generic implementation Francois Bleibel 2024-08-27 10:22:20 -07:00
  • 9457dfd9b4 Fix nullability annotations in ABSL code. Abseil Team 2024-08-26 10:02:33 -07:00
  • 63322a26c0 Replace CHECKs with ASSERTs and EXPECTs -- no reason to crash on failure. Abseil Team 2024-08-23 05:45:30 -07:00
  • fd58e18f2b Remove ABSL_INTERNAL_ATTRIBUTE_OWNER and ABSL_INTERNAL_ATTRIBUTE_VIEW Abseil Team 2024-08-22 13:21:34 -07:00
  • 2abe94a3b0 Migrate ABSL_INTERNAL_ATTRIBUTE_OWNER and ABSL_INTERNAL_ATTRIBUTE_VIEW to ABSL_ATTRIBUTE_OWNER and ABSL_ATTRIBUTE_VIEW Abseil Team 2024-08-22 09:58:47 -07:00
  • fd7713cb9a Disable ABSL_ATTRIBUTE_OWNER and ABSL_ATTRIBUTE_VIEW prior to Clang-13 due to false positives. Derek Mauro 2024-08-21 14:11:50 -07:00
  • 5a01d0f77e Make ABSL_ATTRIBUTE_VIEW and ABSL_ATTRIBUTE_OWNER public Abseil Team 2024-08-20 14:18:26 -07:00
  • 116f0af9ec Optimize raw_hash_set::AssertHashEqConsistent a bit to avoid having as much runtime overhead. Evan Brown 2024-08-19 15:09:06 -07:00
  • 8bb5dc4362 PR #1728: Workaround broken compilation against NDK r25 Yuriy Chernyshov 2024-08-16 07:22:38 -07:00
  • 17c1a5e821 Add validation against use of destroyed hash tables. Evan Brown 2024-08-15 11:08:41 -07:00
  • b2665cee02 Do not truncate ABSL_RAW_LOG output at null bytes Abseil Team 2024-08-14 14:13:27 -07:00
  • 69c4683962 Use several unused cord instances in tests and benchmarks. Chris Kennelly 2024-08-13 13:39:15 -07:00
  • 70502ae69d Add comments about ThreadIdentity struct allocation behavior. Abseil Team 2024-08-13 11:17:21 -07:00
  • 62ad2bac84 Refactoring followup for reentrancy validation in swisstable. Evan Brown 2024-08-12 12:02:40 -07:00
  • ac267be5cf Add debug mode checks that element constructors/destructors don't make reentrant calls to raw_hash_set member functions. Evan Brown 2024-08-08 10:28:05 -07:00
  • 9bd9a2d6df Add tagging for cc_tests that are incompatible with Fuchsia Michael Brase 2024-08-07 14:27:12 -07:00
  • 3848ed7f1b Add GetTID() implementation for Fuchsia Michael Brase 2024-08-07 00:35:57 -07:00
  • bd0c9c58ca PR #1738: Fix shell option group handling in pkgconfig files Ruoyu Zhong 2024-08-06 12:26:15 -07:00
  • ee18629017 Disable weak attribute when absl compiled as windows DLL Abseil Team 2024-08-06 09:33:51 -07:00
  • 08850701d2 Remove CharIterator::operator->. Martin Brænne 2024-08-06 00:05:42 -07:00
  • 00478de3e9 Mark non-modifying container algorithms as constexpr for C++20. Abseil Team 2024-08-05 22:54:56 -07:00
  • 809e5de7b9 PR #1739: container/internal: Explicitly include <cstdint> Christopher Fore 2024-08-05 12:09:18 -07:00
  • 9cb5e5d15c Don't match -Wnon-virtual-dtor in the "flags are needed to suppress warnings in headers". It should fall through to the "don't impose our warnings on others" case. Do this by matching on "-Wno-*" instead of "-Wno*". Derek Mauro 2024-08-05 07:35:05 -07:00
  • 372124e6af PR #1732: Fix build on NVIDIA Jetson board. Fix #1665 Frédéric Bastien 2024-08-01 12:38:52 -07:00
  • 4447c7562e Update GoogleTest dependency to 1.15.2 (#1736) 20240722.0 Derek Mauro 2024-08-01 14:05:11 -04:00
  • d0159eab59 Update GoogleTest dependency to 1.15.2 Derek Mauro 2024-08-01 07:44:43 -07:00
  • 6b8ebb35c0 Enable AsciiStrToLower and AsciiStrToUpper overloads for rvalue references. Abseil Team 2024-07-30 13:54:55 -07:00
  • 983652e494 PR #1735: Avoid int to bool conversion warning Pavel P 2024-07-30 07:56:19 -07:00
  • 13ec8d5d29 Add absl::swap functions for *_hash_* to avoid calling std::swap Abseil Team 2024-07-29 20:03:18 -07:00
  • 52fad5aa02 Change internal visibility Martijn Vels 2024-07-29 15:50:33 -07:00
  • 6c45955423 Remove resolved issue. Abseil Team 2024-07-29 13:02:09 -07:00
  • 8cdf482136 Increase test timeouts to support running on Fuchsia emulators Michael Brase 2024-07-26 10:03:28 -07:00
  • bb63788b4b Add tracing annotations to absl::Notification Martijn Vels 2024-07-25 19:10:22 -07:00
  • e342b7fc37 Suppress compiler optimizations which may break container poisoning. Abseil Team 2024-07-25 16:09:23 -07:00
  • bd3ae17f02 Disable ABSL_INTERNAL_HAVE_DEBUGGING_STACK_CONSUMPTION for Fuchsia Abseil Team 2024-07-25 13:59:16 -07:00
  • 7e5c339b1a Cherry-picks for Release Candidate 2 (#1727) 20240722.rc2 Derek Mauro 2024-07-25 15:28:46 -04:00
  • 034f8d0598 Add tracing annotations to absl::BlockingCounter Martijn Vels 2024-07-25 10:53:01 -07:00
  • 9a0743ac27 Add absl_vlog_is_on and vlog_is_on to ABSL_INTERNAL_DLL_TARGETS Sandy Zhang 2024-07-25 08:08:26 -07:00
  • e696f9f83d Update swisstable swap API comments to no longer guarantee that we don't move/swap individual elements. Evan Brown 2024-07-25 05:11:14 -07:00
  • 2138590007 PR #1726: cmake: Fix RUNPATH when using BUILD_WITH_INSTALL_RPATH=True Mizux 2024-07-24 09:23:41 -07:00
  • 5ea745c2ae Avoid unnecessary copying when upper-casing or lower-casing ASCII string_view Abseil Team 2024-07-23 07:08:41 -07:00
  • 58df17f78e Add weak internal tracing API Martijn Vels 2024-07-22 10:06:09 -07:00
  • ebdba5af75 Apply LTS transformations for 20240722 LTS branch (#1724) 20240722.rc1 Derek Mauro 2024-07-22 12:23:21 -04:00
  • 3358286120 Fix LINT.IfChange syntax Derek Mauro 2024-07-22 07:46:48 -07:00
  • 3cb4988999 PR #1720: Fix spelling mistake: occurrance -> occurrence Ikko Eltociear Ashimine 2024-07-18 13:33:02 -07:00
  • f754f2b944 Add missing include for Windows ASAN configuration in poison.cc Abseil Team 2024-07-18 11:58:58 -07:00
  • 0598e582f6 Delete absl/strings/internal/has_absl_stringify.h now that the GoogleTest version we depend on uses the public file Derek Mauro 2024-07-18 07:03:57 -07:00
  • 7795d0843a Update versions of dependencies in preparation for release Derek Mauro 2024-07-18 04:31:54 -07:00
  • eb85220775 PR #1699: Add option to build with MSVC static runtime Aaron Bray 2024-07-15 13:24:46 -07:00
  • 65ede0a387 Remove unneeded 'be' from comment. Abseil Team 2024-07-15 11:49:37 -07:00
  • 646126a4e1 PR #1715: Generate options.h using CMake only once Arnaud Botella 2024-07-15 08:48:49 -07:00
  • b86d574c5a Small type fix in absl/log/internal/log_impl.h Gregory Pataky 2024-07-14 14:43:45 -07:00
  • cd75cb4ae3 PR #1709: Handle RPATH CMake configuration Arnaud Botella 2024-07-11 11:23:25 -07:00
  • 26ee072e14 PR #1710: fixup! PR #1707: Fixup absl_random compile breakage in Apple ARM64 targets Soo-Hwan Na 2024-07-11 09:16:57 -07:00
  • db1255ca30 PR #1695: Fix time library build for Apple platforms Eduardo Menges Mattje 2024-07-11 08:17:56 -07:00
  • cd7f66cab5 Remove cyclic cmake dependency that breaks in cmake 3.30.0 Mike Kruskal 2024-07-10 21:25:33 -07:00
  • 5b6285e7c5 Roll forward poisoned pointer API and fix portability issues. Evan Brown 2024-07-10 12:44:39 -07:00
  • bb50cad0ad Use GetStatus in IsOkAndHoldsMatcher Laramie Leavitt 2024-07-10 11:28:46 -07:00
  • 6dee153242 PR #1707: Fixup absl_random compile breakage in Apple ARM64 targets Soo-Hwan Na 2024-07-10 09:20:07 -07:00