Commit Graph

  • 4bd9ee20a2 Special implementation for string hash with sizes greater than 64. Vitaly Goldshteyn 2025-12-10 11:53:20 -08:00
  • 5b1e199db4 Reorder function parameters so that hash state is the first argument. Evan Brown 2025-12-09 10:54:17 -08:00
  • 88c48235c8 Search more aggressively for open slots in absl::internal_stacktrace::BorrowedFixupBuffer Abseil Team 2025-12-08 11:38:14 -08:00
  • f17f9070d2 Implement SpinLockHolder in terms of std::lock_guard. Chris Kennelly 2025-12-08 10:08:47 -08:00
  • 5614692612 No public description Abseil Team 2025-12-04 21:53:43 -08:00
  • 6baba4dc59 Avoid discarding test matchers. Chris Kennelly 2025-12-01 13:16:39 -08:00
  • b6536933be Import of CCTZ from GitHub. Abseil Team 2025-12-01 11:45:49 -08:00
  • 0cc960ece0 Automated rollback of commit 9f40d6d6f3. Abseil Team 2025-11-29 05:01:18 -08:00
  • 9f40d6d6f3 Enable clang-specific warnings on the clang-cl build instead of just trying to be MSVC Abseil Team 2025-11-29 01:21:44 -08:00
  • b20370e0d6 Enable clang-specific warnings on the clang-cl build instead of just trying to be MSVC Derek Mauro 2025-11-28 22:41:01 -08:00
  • e32d1eb466 Make AnyInvocable remember more information Abseil Team 2025-11-26 14:25:34 -08:00
  • 18bd00ad42 Add further diagnostics under clang for string_view(nullptr) Derek Mauro 2025-11-26 11:46:04 -08:00
  • 9d35bf52e7 Import of CCTZ from GitHub. Abseil Team 2025-11-26 05:03:17 -08:00
  • b9baf19a19 Document the differing trimming behavior of absl::Span::subspan() and std::span::subspan() Derek Mauro 2025-11-24 12:50:11 -08:00
  • f33b7c07d7 Special implementation for string hash with sizes in range [33, 64]. Vitaly Goldshteyn 2025-11-24 08:22:59 -08:00
  • 69e7e0a383 Add the deleted string_view(std::nullptr_t) constructor from C++23 Derek Mauro 2025-11-21 14:05:50 -08:00
  • 8036cae8ac CI: Use a cached copy of GoogleTest in CMake builds if possible to minimize the possibility of errors downloading from GitHub Derek Mauro 2025-11-21 12:34:49 -08:00
  • 8cd0e4447b CI: Enable libc++ hardening in the ASAN build for even more checks https://libcxx.llvm.org/Hardening.html Derek Mauro 2025-11-20 10:31:29 -08:00
  • 482a9745b3 Call the common case of AllocateBackingArray directly instead of through the function pointer. Evan Brown 2025-11-19 12:20:01 -08:00
  • dd2ad438a7 Change AlignedType to have a void* array member so that swisstable backing arrays end up in the pointer-containing partition for heap partitioning. Evan Brown 2025-11-19 12:12:00 -08:00
  • 872cb6374b base: Discourage use of ABSL_ATTRIBUTE_PACKED Jesse Rosenstock 2025-11-18 22:40:11 -08:00
  • a5e3599b23 Revert: Add an attribute to HashtablezInfo which performs a bitwise XOR on all hashes. The purposes of this attribute is to identify if identical hash tables are being created. If we see a large number of identical tables, it's likely the code can be improved by using a common table as opposed to keep rebuilding the same one. Chris Kennelly 2025-11-18 14:34:17 -08:00
  • 31ef391f80 Import of CCTZ from GitHub. Derek Mauro 2025-11-18 11:29:30 -08:00
  • 48bf10f142 Record insert misses in hashtable profiling. Chris Kennelly 2025-11-17 13:22:00 -08:00
  • c81100b4a9 Add absl::StatusCodeToStringView. Abseil Team 2025-11-17 11:57:43 -08:00
  • 01178c52f3 Add a missing dependency on str_format that was being pulled in transitively Derek Mauro 2025-11-17 11:50:23 -08:00
  • 4efcd35e5f Pico-optimize SkipWhitespace to use StripLeadingAsciiWhitespace. Abseil Team 2025-11-14 14:54:19 -08:00
  • f751e6186d absl::string_view: Upgrade the debug assert on the single argument char* constructor to ABSL_HARDENING_ASSERT Derek Mauro 2025-11-13 11:18:49 -08:00
  • 03cc841ff0 Use non-stack storage for stack trace buffers Abseil Team 2025-11-12 15:22:53 -08:00
  • e6a6acdca4 Fixed incorrect include for ABSL_NAMESPACE_BEGIN Abseil Team 2025-11-12 06:40:05 -08:00
  • 9abb0b5196 Add ABSL_REFACTOR_INLINE to separate the inliner directive from the deprecated directive so that we can give users a custom deprecation message. Derek Mauro 2025-11-11 07:38:22 -08:00
  • c70fe97137 Reduce stack usage when unwinding without fixups Abseil Team 2025-11-10 14:52:42 -08:00
  • 29d24c5fd3 Reduce stack usage when unwinding from 170 to 128 on x64 Abseil Team 2025-11-10 13:08:51 -08:00
  • ff43958956 Rename RecordInsert -> RecordInsertMiss. Chris Kennelly 2025-11-05 15:30:18 -08:00
  • 0f89191097 PR #1968: Use std::move_backward within InlinedVector's Storage::Insert Mark Rowe 2025-11-05 13:10:19 -08:00
  • d6f45774b7 Use the new absl::StringResizeAndOverwrite() in CUnescape() Derek Mauro 2025-11-05 10:44:55 -08:00
  • f328effd5d Explicitly instantiate common raw_hash_set backing array functions. Vitaly Goldshteyn 2025-11-05 09:21:37 -08:00
  • 5bd1257b98 Rollback reduction of maximum load factor. Now it is back to 28/32. Vitaly Goldshteyn 2025-11-05 01:59:59 -08:00
  • 18ac608307 Export Mutex::Dtor from shared libraries in NDEBUG mode Abseil Team 2025-11-04 15:30:40 -08:00
  • 6d94b2ce15 Allow IsOkAndHolds to rely on duck typing for matching StatusOr like types instead of uniquely absl::StatusOr, e.g. google::cloud::StatusOr. Zie Weaver 2025-11-04 11:52:12 -08:00
  • 7374f9b0f4 Fix typo in macro and add missing static_cast for WASM builds. Abseil Team 2025-11-03 14:39:26 -08:00
  • d1ddbf4d21 windows(cmake): add abseil_test_dll to target link libraries when required Corentin Le Molgat 2025-11-03 13:11:21 -08:00
  • cd62ba571c Handle empty strings in SimpleAtof after stripping whitespace Abseil Team 2025-11-03 11:48:23 -08:00
  • b13bf1d129 Avoid using a thread_local in an inline function since this causes issues on some platforms. Derek Mauro 2025-11-03 11:04:44 -08:00
  • 982f4254a1 (Roll forward) Change Abseil's SpinLock adaptive_spin_count to a class static variable that can be set by tcmalloc friend classes. Connal de Souza 2025-10-31 10:40:01 -07:00
  • 6c5a175774 Change Abseil's SpinLock adaptive_spin_count to a class static variable that can be set by tcmalloc friend classes. Abseil Team 2025-10-30 18:11:40 -07:00
  • ed0efc0037 Change Abseil's SpinLock adaptive_spin_count to a class static variable that can be set by tcmalloc friend classes. Connal de Souza 2025-10-30 16:12:39 -07:00
  • f43bcc04d9 Fixes for String{Resize|Append}AndOverwrite - StringAppendAndOverwrite() should always call StringResizeAndOverwrite() with at least capacity() in case the standard library decides to shrink the buffer (Fixes #1965) - Small refactor to make the minimum growth an addition for clarity and to make it easier to test 1.5x growth in the future - Turn an ABSL_HARDENING_ASSERT into a ThrowStdLengthError - Add a missing std::move Derek Mauro 2025-10-30 11:05:05 -07:00
  • 01a4ea7fbb Correct the supported features of Status Matchers Zie Weaver 2025-10-29 14:33:27 -07:00
  • aed1a5e5f7 absl/time: Use "memory order acquire" for loads, which would allow for the safe removal of the data memory barrier. Abseil Team 2025-10-28 20:02:28 -07:00
  • 9a2624f3e7 Use the new absl::StringResizeAndOverwrite() in string escaping utilities Derek Mauro 2025-10-28 13:00:13 -07:00
  • f81f1b1d08 Add an internal-only helper StringAppendAndOverwrite() similar to StringResizeAndOverwrite() but optimized for repeated appends, using exponential growth to ensure amortized complexity of increasing a string size by a small amount is O(1). Derek Mauro 2025-10-28 10:25:36 -07:00
  • 2487de0742 Release ABSL_EXPECT_OK and ABSL_ASSERT_OK. Zie Weaver 2025-10-28 08:30:31 -07:00
  • f0a99676ff Fix the CHECK_XX family of macros to not print char* arguments as C-strings if the comparison happened as pointers. Printing as pointers is more relevant to the result of the comparison. Samuel Benzaquen 2025-10-27 13:33:57 -07:00
  • b8c46feecc Rollback StringAppendAndOverwrite() - the problem is that StringResizeAndOverwrite has MSAN testing of the entire string. This causes quadratic MSAN verification on small appends. Derek Mauro 2025-10-27 12:28:20 -07:00
  • d3c55ba366 Add an internal-only helper StringAppendAndOverwrite() similar to StringResizeAndOverwrite() but optimized for repeated appends, using exponential growth to ensure amortized complexity of increasing a string size by a small amount is O(1). Derek Mauro 2025-10-27 10:15:30 -07:00
  • 1a259163cc PR #1961: Fix Clang warnings on powerpc Milad Fa 2025-10-24 10:29:50 -07:00
  • d71fcd13f6 Use the new absl::StringResizeAndOverwrite() in string escaping utilities Abseil Team 2025-10-23 18:07:57 -07:00
  • 09c29fe055 Use the new absl::StringResizeAndOverwrite() in string escaping utilities Derek Mauro 2025-10-23 13:09:30 -07:00
  • 4099f7429a macOS CI: Move the Bazel vendor_dir to ${HOME} to workaround a Bazel issue where it does not work when it is in ${TMP} and also fix the quoting which was causing it to incorrectly receive the argument Derek Mauro 2025-10-23 12:17:34 -07:00
  • ee47800225 Use __msan_check_mem_is_initialized for detailed MSan report Abseil Team 2025-10-22 16:42:01 -07:00
  • f40a1cce40 Optimize stack unwinding by reducing AddressIsReadable calls. Abseil Team 2025-10-22 14:20:50 -07:00
  • 6cdb3d1b38 Add internal API to allow bypassing stack trace fixups when needed Abseil Team 2025-10-22 11:23:26 -07:00
  • 04e19d0731 absl::StrFormat: improve test coverage with scientific exponent test cases Abseil Team 2025-10-22 09:02:21 -07:00
  • 215d8a0e75 Add throughput and latency benchmarks for absl::ToDoubleXYZ functions. Shahriar Rouf 2025-10-21 16:18:26 -07:00
  • f807de027a CordzInfo: Use absl::NoDestructor to remove a global destructor. Chromium requires no global destructors. Derek Mauro 2025-10-21 09:39:46 -07:00
  • 71c513c5f8 string_view: Enable std::view and std::borrowed_range Jesse Rosenstock 2025-10-21 07:55:22 -07:00
  • 2f1be7bdae cleanup: s/logging_internal/log_internal/ig for consistency Andy Getzendanner 2025-10-21 07:12:20 -07:00
  • 8faaaebc12 Use the new absl::StringResizeAndOverwrite() in string escaping utilities Abseil Team 2025-10-20 17:15:33 -07:00
  • c9ffd888c1 Use the new absl::StringResizeAndOverwrite() in string escaping utilities Derek Mauro 2025-10-20 13:01:32 -07:00
  • 1f659deb71 Use the new absl::StringResizeAndOverwrite() in absl::AsciiStrTo{Lower|Upper} Derek Mauro 2025-10-20 11:57:37 -07:00
  • 4dbcee4b9e Use the new absl::StringResizeAndOverwrite() in absl::StrJoin() Derek Mauro 2025-10-20 09:59:44 -07:00
  • bda5c03b3c Use the new absl::StringResizeAndOverwrite() in absl::StrCat() Derek Mauro 2025-10-20 08:44:18 -07:00
  • fdb6e72c75 string_view: Fix include order Jesse Rosenstock 2025-10-20 07:12:54 -07:00
  • 0d9dff74c9 Don't pass nullptr as the 1st arg of from_chars Abseil Team 2025-10-17 11:08:00 -07:00
  • ab4f684de4 absl/types: format code with clang-format. Aaron Jacobs 2025-10-16 16:14:00 -07:00
  • d6c9f93ab6 Validate absl::StringResizeAndOverwrite op has written bytes as expected. Chris Kennelly 2025-10-16 13:59:40 -07:00
  • 6725fe31f5 Skip the ShortStringCollision test on WASM. Evan Brown 2025-10-16 09:47:07 -07:00
  • ef1ae8e310 Rollback absl/types: format code with clang-format. Abseil Team 2025-10-15 13:15:57 -07:00
  • 067246f7ba Remove usage of the WasmOffsetConverter for Wasm / Emscripten stack-traces. Tom Rybka 2025-10-15 13:02:22 -07:00
  • b6f7ac3fe5 Use the new absl::StringResizeAndOverwrite() in absl::CordCopyToString() Derek Mauro 2025-10-15 11:58:03 -07:00
  • 86372e7a21 Remove an undocumented behavior of --vmodule and absl::SetVLogLevel that could set a module_pattern to defer to the global vlog threshold. Andy Getzendanner 2025-10-15 11:44:47 -07:00
  • 6e7b7e8a26 Update to rules_cc 0.2.9 Derek Mauro 2025-10-15 11:33:03 -07:00
  • 8254d8cf9b Avoid redefine warnings with ntstatus constants Derek Mauro 2025-10-15 10:01:47 -07:00
  • 55a99fb37a PR #1944: Use same element-width for non-temporal loads and stores on Arm J. Neuschäfer 2025-10-15 09:02:10 -07:00
  • 2e4a469c50 absl::StringResizeAndOverwrite(): Add the requirement that the only value that can be written to buf[size] is the terminator character. Derek Mauro 2025-10-15 08:44:21 -07:00
  • dfd10a6b42 absl/types: format code with clang-format. Aaron Jacobs 2025-10-15 07:51:07 -07:00
  • 3ad9b1153b Minor formatting changes. Abseil Team 2025-10-15 07:48:42 -07:00
  • 346ac9dbcf Remove IntIdentity and PtrIdentity from raw_hash_set_probe_benchmark. Vitaly Goldshteyn 2025-10-14 11:03:56 -07:00
  • e12330f35b Automated rollback of commit cad60580db. Abseil Team 2025-10-14 09:14:43 -07:00
  • e5c6ccbc96 FlagStateInterface implementors need only support being restored once. Sam McCall 2025-10-13 23:47:49 -07:00
  • cad60580db Clarify the post-condition of reserve() in Abseil hash containers. Abseil Team 2025-10-13 18:58:25 -07:00
  • f2678d2f9d Clarify the post-condition of reserve() in Abseil hash containers. Shahriar Rouf 2025-10-13 11:07:54 -07:00
  • bf891a1c97 Represent dropped samples in hashtable profile. Chris Kennelly 2025-10-10 19:15:09 -07:00
  • 79549fe1b3 Add lifetimebound to absl::implicit_cast and make it work for rvalue references as it already does with lvalue references Abseil Team 2025-10-10 13:53:28 -07:00
  • 6ae6cc6fde Clean up a doc example where we had absl_nonnull and = nullptr; Abseil Team 2025-10-09 10:34:17 -07:00
  • 511de5babb Change Cordz to synchronize tracked cords with Snapshots / DeleteQueue Martijn Vels 2025-10-09 09:20:03 -07:00
  • 78c54a5322 Minor refactor to num_threads in deadlock test Martijn Vels 2025-10-09 08:06:38 -07:00
  • fc4481e968 Rename VLOG macro parameter to match other uses of this pseudo type. Andy Getzendanner 2025-10-07 23:20:33 -07:00
  • 2af4687a56 time: Fix indentation Dino Radakovic 2025-10-06 10:50:54 -07:00