Commit Graph

  • 019273c841 Make OptimalMemcpySizeForSooSlotTransfer ready to work with MaxSooSlotSize upto 3*sizeof(size_t). Vitaly Goldshteyn 2025-02-20 17:33:32 -08:00
  • cf160523e1 internal/layout: Replace SFINAE with if constexpr Dino Radakovic 2025-02-20 14:15:48 -08:00
  • a99acb577f PR #1830: C++17 improvement: use if constexpr in internal/hash.h Victor Derks 2025-02-20 11:32:27 -08:00
  • c0788c7c5b absl: Deprecate ABSL_HAVE_CLASS_TEMPLATE_ARGUMENT_DEDUCTION Dino Radakovic 2025-02-20 09:37:19 -08:00
  • 9f3d4d7c70 Add a verification for access of being destroyed table. Also enabled access after destroy check in ASAN optimized mode. Vitaly Goldshteyn 2025-02-20 03:23:23 -08:00
  • 7971b4aabd Store CharAlloc in SwissTable in order to simplify type erasure of functions accepting allocator as void*. Vitaly Goldshteyn 2025-02-20 01:44:02 -08:00
  • 2844cdab0b Introduce and use SetCtrlInLargeTable, when we know that table is at least one group. Similarly to SetCtrlInSingleGroupTable, we can save some operations. Vitaly Goldshteyn 2025-02-20 00:20:44 -08:00
  • dc1ec89b0f Make raw_hash_set::slot_type private. Evan Brown 2025-02-19 15:51:26 -08:00
  • 14cfd97abe Delete absl/utility/internal/if_constexpr.h Derek Mauro 2025-02-19 13:40:25 -08:00
  • c5d66dbfde internal/any_invocable: Use if constexpr instead of SFINAE when initializing storage accessor Dino Radakovic 2025-02-19 13:21:09 -08:00
  • 1557609161 Depend on string_view directly Marcel Hlopko 2025-02-19 12:08:14 -08:00
  • e1b5f812b8 Optimize and slightly simplify PrepareInsertNonSoo. Vitaly Goldshteyn 2025-02-19 11:41:42 -08:00
  • 26b6046ab2 PR #1833: Make ABSL_INTERNAL_STEP_n macros consistent in crc code Pavel P 2025-02-19 11:36:02 -08:00
  • 767f7a1a3c internal/any_invocable: Use alias RawT consistently in InitializeStorage Dino Radakovic 2025-02-19 10:08:50 -08:00
  • e3183f1584 Move the implementation of absl::ComputeCrc32c to the header file, to facilitate inlining. Abseil Team 2025-02-19 09:15:34 -08:00
  • e78a8ce497 Delete absl/base/internal/inline_variable.h Derek Mauro 2025-02-19 08:29:48 -08:00
  • a6fccf59b4 Add lifetimebound to absl::StripAsciiWhitespace Abseil Team 2025-02-19 02:33:19 -08:00
  • 33d9ce727c Revert: Random: Use target attribute instead of -march Abseil Team 2025-02-18 16:36:14 -08:00
  • 3ae63243e2 Add return for opt mode in AssertNotDebugCapacity to make sure that code is not evaluated in opt mode. Vitaly Goldshteyn 2025-02-18 13:36:12 -08:00
  • c2162e194c internal/any_invocable: Delete TODO, improve comment and simplify pragma in constructor Dino Radakovic 2025-02-18 13:28:53 -08:00
  • 3b23f75ec2 Split resizing routines and type erase similar instructions. Vitaly Goldshteyn 2025-02-18 12:26:21 -08:00
  • 2d2093eae3 Random: Use target attribute instead of -march Peter Collingbourne 2025-02-18 12:24:34 -08:00
  • 4cb2a3ad61 internal/any_invocable: Use std::launder unconditionally Dino Radakovic 2025-02-18 11:54:25 -08:00
  • e4cef801e3 internal/any_invocable: Remove suppresion of false positive -Wmaybe-uninitialized on GCC 12 Derek Mauro 2025-02-18 08:30:40 -08:00
  • a782d5c81f Fix feature test for ABSL_HAVE_STD_OPTIONAL Derek Mauro 2025-02-18 07:14:39 -08:00
  • fdc64e2892 Support C++20 iterators in raw_hash_map's random-access iterator detection Justin Bassett 2025-02-15 13:49:41 -08:00
  • cc70e832b0 Fix mis-located test dependency Justin Bassett 2025-02-14 15:22:54 -08:00
  • f004e6c0a9 Disable the DestroyedCallsFail test on GCC due to flakiness. Evan Brown 2025-02-13 16:11:49 -08:00
  • 606690bcaa internal/any_invocable: Implement invocation using if constexpr instead of SFINAE Dino Radakovic 2025-02-13 13:56:27 -08:00
  • 84da38fd81 PR #1835: Bump deployment_target version and add visionos to podspec Hannah Shi 2025-02-13 09:33:38 -08:00
  • df4260a81d PR #1828: Fix spelling of pseudorandom in README.md Radoslav Petkov 2025-02-13 09:24:19 -08:00
  • 9dcbe5d12b Make raw_hash_map::key_arg private. Evan Brown 2025-02-12 14:57:58 -08:00
  • 45f91cb660 overload: Delete obsolete macros for undefining absl::Overload when C++ < 17 Dino Radakovic 2025-02-12 14:21:39 -08:00
  • 7555944ed6 absl/base: Delete internal/invoke.h and invoke_test.cc Dino Radakovic 2025-02-12 12:44:45 -08:00
  • 0f0a772703 Remove WORKSPACE.bazel Derek Mauro 2025-02-12 10:54:33 -08:00
  • 60d29be650 absl: Replace base_internal::{invoke,invoke_result_t,is_invocable_r} with std equivalents Dino Radakovic 2025-02-12 07:45:05 -08:00
  • ae4b0c5f09 Allow C++20 forward iterators to use fast paths Justin Bassett 2025-02-11 15:20:03 -08:00
  • 9e764b4f25 Factor out some iterator traits detection code Justin Bassett 2025-02-11 15:18:19 -08:00
  • 05e72a3285 Type erase IterateOverFullSlots to decrease code size. Evan Brown 2025-02-11 13:18:05 -08:00
  • ce571f25b7 any_invocable: Delete pre-C++17 workarounds for noexcept and guaranteed copy elision Dino Radakovic 2025-02-11 13:16:17 -08:00
  • 4c349de357 Make raw_hash_set::key_arg private. Evan Brown 2025-02-11 11:37:16 -08:00
  • 48f0f91687 Rename nullability macros to use new lowercase spelling. Abseil Team 2025-02-11 11:29:49 -08:00
  • aa71875082 Fix bug where ABSL_REQUIRE_EXPLICIT_INIT did not actually result in a linker error Abseil Team 2025-02-11 09:40:43 -08:00
  • 23b7b19cce Make Randen benchmark program use runtime CPU detection. Peter Collingbourne 2025-02-10 14:37:07 -08:00
  • 82e99b79d0 Add CI for the C++20/Clang/libstdc++ combination Derek Mauro 2025-02-10 09:56:34 -08:00
  • 860dcf1c0c Move Abseil to GoogleTest 1.16.0 Derek Mauro 2025-02-07 18:46:22 -08:00
  • a1442123d4 internal/any_invocable: Use if constexpr instead of SFINAE in InitializeStorage Dino Radakovic 2025-02-07 14:34:39 -08:00
  • 40cd2cf300 More type-erasing of InitializeSlots by removing the Alloc and AlignOfSlot template parameters. Evan Brown 2025-02-07 10:19:34 -08:00
  • 5852b47a81 Actually use the hint space instruction to strip PAC bits for return addresses in stack traces as the comment says Derek Mauro 2025-02-07 08:49:06 -08:00
  • f568d6c682 log/internal: Replace ..._ATTRIBUTE_UNUSED_IF_STRIP_LOG with C++17 [[maybe_unused]] Dino Radakovic 2025-02-07 07:12:21 -08:00
  • 9c8d228a75 attributes: Document ABSL_ATTRIBUTE_UNUSED as deprecated Dino Radakovic 2025-02-06 14:23:32 -08:00
  • f4c61eaace internal/any_invocable: Initialize using if constexpr instead of ternary operator, enum, and templates Dino Radakovic 2025-02-06 12:14:13 -08:00
  • 018de0cafd Fix flaky tests due to sampling by introducing utility to refresh sampling counters for the current thread. Vitaly Goldshteyn 2025-02-06 11:55:42 -08:00
  • a76ad9474c Minor reformatting in raw_hash_set: - Add a clear_backing_array member to declutter calls to ClearBackingArray. - Remove some unnecessary inline keywords on functions. - Make PoisonSingleGroupEmptySlots static. Evan Brown 2025-02-06 10:57:12 -08:00
  • 5648ffd8dd Update CI for linux_gcc-floor to use GCC9, Bazel 7.5, and CMake 3.31.5. Derek Mauro 2025-02-06 06:37:19 -08:00
  • 62f74fd1a4 internal/any_invocable: Rewrite IsStoredLocally type trait into a simpler constexpr function Dino Radakovic 2025-02-05 13:33:36 -08:00
  • 74058c0f49 Add ABSL_REQUIRE_EXPLICIT_INIT to Abseil to enable enforcing explicit field initializations Abseil Team 2025-02-05 13:25:23 -08:00
  • 7a03cdb4c0 Require C++17 Derek Mauro 2025-02-05 11:31:42 -08:00
  • 69b58f9227 Minimize number of InitializeSlots with respect to SizeOfSlot. Vitaly Goldshteyn 2025-02-04 14:45:19 -08:00
  • 9ebb40865f Leave the call to SampleSlow only in type erased InitializeSlots. Vitaly Goldshteyn 2025-02-04 13:12:44 -08:00
  • ee2839208a Update comments for Read4To8 and Read1To3. Evan Brown 2025-02-03 14:14:18 -08:00
  • 9ac7062b18 PR #1819: fix compilation with AppleClang (#1820) 20250127.rc2 20250127.0 Derek Mauro 2025-02-03 10:50:45 -05:00
  • 30a964d2fc PR #1819: fix compilation with AppleClang Clément Péron 2025-02-03 04:11:10 -08:00
  • 7253ff8f95 Move SOO processing inside of InitializeSlots and move it once. Vitaly Goldshteyn 2025-01-31 16:09:48 -08:00
  • 0f102ad442 PR #1816: Random: use getauxval() via <sys/auxv.h> Dan Horák 2025-01-30 06:22:06 -08:00
  • 5f9f2cf80a Optimize InitControlBytesAfterSoo to have less writes and make them with compile time known size. Vitaly Goldshteyn 2025-01-29 08:17:51 -08:00
  • da2b12d7c9 Remove stray plus operator in cleanup_internal::Storage Abseil Team 2025-01-28 09:53:04 -08:00
  • 9cf0a2f842 Include <cerrno> to fix compilation error in chromium build. Abseil Team 2025-01-28 09:51:56 -08:00
  • 0dd7d3925a Adjust internal logging namespacing for consistency s/ABSL_LOGGING_INTERNAL_/ABSL_LOG_INTERNAL_/ Andy Getzendanner 2025-01-28 07:26:01 -08:00
  • 98ebd7e129 Apply LTS transformations for 20250127 LTS branch (#1815) 20250127.rc1 Derek Mauro 2025-01-28 09:42:46 -05:00
  • 20a1220136 Rewrite LOG_EVERY_N (et al) docs to clarify that the first instance is logged. Also, deliberately avoid giving exact numbers or examples since IRL behavior is not so exact. Andy Getzendanner 2025-01-27 16:28:02 -08:00
  • c64f219a33 ABSL_ASSUME: Use a ternary operator instead of do-while in the implementations that use a branch marked unreachable so that it is usable in more contexts. Derek Mauro 2025-01-27 11:06:35 -08:00
  • e118b39b45 Simplify the comment for raw_hash_set::erase. Evan Brown 2025-01-27 09:31:25 -08:00
  • 747c9768b5 Remove preprocessors for now unsupported compilers. Abseil Team 2025-01-23 20:41:16 -08:00
  • d5bafc01dd absl::ScopedMockLog: Explicitly document that it captures logs emitted by all threads Dino Radakovic 2025-01-23 14:48:28 -08:00
  • 54fac219c4 Fix potential integer overflow in hash container create/resize (#1812) 20240116.3 lts_2024_01_16 Derek Mauro 2025-01-23 09:51:22 -05:00
  • dd4c89bd65 Fix potential integer overflow in hash container create/resize (#1811) 20240722.1 Derek Mauro 2025-01-23 09:51:12 -05:00
  • caa7bb4457 Fix potential integer overflow in hash container create/resize (#1813) 20230802.3 lts_2023_08_02 Derek Mauro 2025-01-23 09:51:03 -05:00
  • 5a0e2cb5e3 Fix potential integer overflow in hash container create/resize Derek Mauro 2025-01-23 06:33:43 -08:00
  • 5f8d605c09 Add lifetimebound to StripPrefix/StripSuffix. Abseil Team 2025-01-22 13:31:42 -08:00
  • fd8b35b9aa Random: Rollforward support runtime dispatch on AArch64 macOS David Majnemer 2025-01-21 11:11:07 -08:00
  • df8178e26e Crc: Only test non_temporal_store_memcpy_avx on AVX targets David Majnemer 2025-01-21 11:06:01 -08:00
  • 1cdbba70ea Provide information about types of all flags. Dmitry Vyukov 2025-01-21 10:53:17 -08:00
  • 45dab59f1d Deprecate the precomputed hash find() API in swisstable. Evan Brown 2025-01-21 10:37:37 -08:00
  • 3babd55103 Import of CCTZ from GitHub. Abseil Team 2025-01-21 09:12:05 -08:00
  • 64d6a3a2ba Adjust whitespace Chris Kennelly 2025-01-21 08:34:32 -08:00
  • a28c4b5827 Expand documentation for absl::raw_hash_set::erase to include idiom example of iterator post-increment. Abseil Team 2025-01-20 14:26:01 -08:00
  • 513583421a Performance improvement for absl::AsciiStrToUpper() and absl::AsciiStrToLower() Abseil Team 2025-01-19 10:19:50 -08:00
  • 3735766b3b Crc: Remove the __builtin_cpu_supports path for SupportsArmCRC32PMULL David Majnemer 2025-01-17 15:56:13 -08:00
  • 655707fb20 Use absl::NoDestructor for some absl::Mutex instances in the flags library to prevent some exit-time destructor warnings Derek Mauro 2025-01-17 12:48:50 -08:00
  • 40244841f1 Update the WORKSPACE dependency of rules_cc to 0.1.0 Derek Mauro 2025-01-17 12:11:10 -08:00
  • 95049aadbe Rollback support runtime dispatch on AArch64 macOS for breaking some builds Abseil Team 2025-01-17 08:17:37 -08:00
  • b87a7955b8 Downgrade to rules_cc 0.0.17 because 0.1.0 was yanked Derek Mauro 2025-01-17 08:15:23 -08:00
  • a4e7719121 Use unused set in testing. Chris Kennelly 2025-01-16 14:11:34 -08:00
  • b7af5e1e41 Random: Support runtime dispatch on AArch64 macOS David Majnemer 2025-01-16 13:10:08 -08:00
  • 3ded0b656e crc: Use absl::nullopt when returning absl::optional David Majnemer 2025-01-16 09:59:37 -08:00
  • b4e899a955 Annotate absl::FixedArray to warn when unused. Chris Kennelly 2025-01-15 08:08:41 -08:00
  • 41984a2258 PR #1806: Fix undefined symbol: __android_log_write simonla 2025-01-15 06:46:57 -08:00
  • a1de53ddde Move ABSL_HAVE_PTHREAD_CPU_NUMBER_NP to the file where it is needed Abseil Team 2025-01-14 11:57:12 -08:00
  • be33b0aaae Use rbit instruction on ARM rather than rev. Evan Brown 2025-01-14 10:48:54 -08:00