Skip to content
Snippets Groups Projects
  1. Mar 08, 2019
  2. Mar 06, 2019
    • Abseil Team's avatar
      Export of internal Abseil changes. · febc5ee6
      Abseil Team authored
      --
      f9f068aa8a260dc576398e47b8e4540902e41358 by Derek Mauro <dmauro@google.com>:
      
      Fix test string with embedded NUL. Currently parses as octal.
      
      PiperOrigin-RevId: 237088193
      
      --
      d271ffdd3f450f817f6d30e98ff39d439aaf3a98 by Abseil Team <absl-team@google.com>:
      
      Make symbolizer examine any mapping with read+exec permission regardless of 'w' bit.
      
      PiperOrigin-RevId: 237056461
      
      --
      af315f8306d36a7367a452fd0b58cafdbf20719d by Abseil Team <absl-team@google.com>:
      
      Switch comments referencing base:: CondVar and Mutex to absl::.
      
      PiperOrigin-RevId: 236917884
      
      --
      c624d5d1c0bdb917bff5e651ba40599472f84e0e by Gennadiy Rozental <rogeeff@google.com>:
      
      Internal change
      
      PiperOrigin-RevId: 236898300
      
      --
      3cdc82429af964846d1152f49148abc61d196a4b by Samuel Benzaquen <sbenza@google.com>:
      
      Make the `long double` overload if AbslHashValue a template to avoid invalid
      conversions with implicit operators.
      
      This overload was never meant to capture anything other than `long double` and any current caller to it that wasn't a `long double` is potentially a bug.
      In particular, any type with an implicit `bool` conversion is calling this
      overload instead of trying to find a hash<> specialization, thus causing
      pretty bad hash behavior.
      
      PiperOrigin-RevId: 236877073
      GitOrigin-RevId: f9f068aa8a260dc576398e47b8e4540902e41358
      Change-Id: If9cc008dd814f0ca06ed881f612c06575f1f7137
      febc5ee6
  3. Mar 05, 2019
    • Abseil Team's avatar
      Export of internal Abseil changes. · 9fdf5e5b
      Abseil Team authored
      --
      425305bdac5c84a2b7b61d65aee90e4d9d1c29a0 by Abseil Team <absl-team@google.com>:
      
      Change a comment about hex strings to use lowercase 'a' and 'f' characters, since StrCat(Hex()) produces lowercase hex characters.
      
      PiperOrigin-RevId: 236763001
      
      --
      2a312da1c2e46da3bdece0c322c4cd37356bb9aa by Samuel Benzaquen <sbenza@google.com>:
      
      Enable more tests for non-std containers by default.
      Add more tests for typedefs and other members.
      
      PiperOrigin-RevId: 236652269
      
      --
      5d5abd4d8e8e03d3c924675550a9584325b18732 by Eric Fiselier <ericwf@google.com>:
      
      Fix incorrect detection of unavailable C++17 types.
      
      Using <any> on OS X has complications, because it is
      present but marked "unavailable" due to dylib compatibility
      reasons.
      
      The dance we did to detect availability was correct
      on OS X, but accidentally clobbered all other platforms
      for not being Apple.
      
      This patch corrects the detection.
      
      PiperOrigin-RevId: 236651217
      GitOrigin-RevId: 425305bdac5c84a2b7b61d65aee90e4d9d1c29a0
      Change-Id: Ib922ce003422781aec169ea169d8fb15292ccd85
      9fdf5e5b
  4. Mar 04, 2019
    • Abseil Team's avatar
      Export of internal Abseil changes. · 419f3184
      Abseil Team authored
      --
      92e1bd6dc9e64163659028b640427d6d8573e41c by Abseil Team <absl-team@google.com>:
      
      Don't enable ABSL_HAVE_STD_IS_TRIVIALLY_ASSIGNABLE with MSVC when used with nvcc.
      
      With nvcc on Windows __has_trivial_assign(int) is false; that leads to a failure of the check in is_trivially_copy_assignable. A better solution would probably be to use the std-provided check in this case, but that seems like a more intrusive change.
      
      PiperOrigin-RevId: 236135209
      
      --
      26cee4a7e647076b4e2f88375b4848d1469e55ed by Derek Mauro <dmauro@google.com>:
      
      Remove hashtablez_force_sampling from the open-source release.
      This should not have been released. It is internal-only and not portable.
      
      Fixes https://github.com/abseil/abseil-cpp/issues/268
      
      PiperOrigin-RevId: 235978666
      
      --
      935a885ec0e108963014f1bb79f00102da8f3871 by CJ Johnson <johnsoncj@google.com>:
      
      Internal change
      
      PiperOrigin-RevId: 235976027
      
      --
      1c148c89de6064031f1ad9f2eeac0331bd77b7b0 by Tom Manshreck <shreck@google.com>:
      
      Add design note for absl::from_chars to abseil.io
      
      Fixes #165
      
      PiperOrigin-RevId: 235975923
      GitOrigin-RevId: 92e1bd6dc9e64163659028b640427d6d8573e41c
      Change-Id: I220b0bbb46742070ea8c2a94b06007ecae76fe0f
      419f3184
  5. Feb 26, 2019
    • Abseil Team's avatar
      Export of internal Abseil changes. · b312c3cb
      Abseil Team authored
      --
      4501f16edb0939be6165df74c70a421d3a959aa5 by Jon Cohen <cohenjon@google.com>:
      
      Remove use of list(FILTER as it's only available in cmake 3.6.  We currently have to support cmake 3.5 at least because of Ubuntu 14.04.  Also make sure to exclude .inc files when checking if the library is header only.
      
      Fixes #263
      
      PiperOrigin-RevId: 235725207
      
      --
      68ceb6a674a6cbb74472c64915e9e76d2de2fb8d by Abseil Team <absl-team@google.com>:
      
      Fix comment in FixedArrayTest.SmallObjects.
      
      PiperOrigin-RevId: 235671337
      GitOrigin-RevId: 4501f16edb0939be6165df74c70a421d3a959aa5
      Change-Id: I7c2759ad9d1d086cc7c213e7964279366113fccb
      b312c3cb
  6. Feb 25, 2019
    • Abseil Team's avatar
      Export of internal Abseil changes. · 308ce315
      Abseil Team authored
      --
      e4e4a3460b64ba0571be217b04ec286bfac6b6bf by Tom Manshreck <shreck@google.com>:
      
      Internal change
      
      PiperOrigin-RevId: 235573160
      
      --
      200323f1243e20c201d20bdab4c15a20346a27e5 by CJ Johnson <johnsoncj@google.com>:
      
      Removed unneded template parameter from InlinedVector internal functions
      
      PiperOrigin-RevId: 234910222
      
      --
      2f1bba53c9ca40d0718c4c1edfcfea40edd5049e by CJ Johnson <johnsoncj@google.com>:
      
      Add comment highlighting the fact that the InlinedVector(&&, alloc) move constructor overload will still commit pointer theft in one case
      
      PiperOrigin-RevId: 234899890
      GitOrigin-RevId: e4e4a3460b64ba0571be217b04ec286bfac6b6bf
      Change-Id: I0aabbabb96e9a057a55ed6b42591ea43b4609efe
      308ce315
  7. Feb 20, 2019
    • Abseil Team's avatar
      Export of internal Abseil changes. · 93d155bc
      Abseil Team authored
      --
      3d20ce6cd6541579abecaba169d4b8716d511272 by Jon Cohen <cohenjon@google.com>:
      
      Only use LSAN for clang version >= 3.5.  This should fix https://github.com/abseil/abseil-cpp/issues/244
      
      PiperOrigin-RevId: 234675129
      
      --
      e15bd4ec7a81aa95cc3d09fa1e0e81d58ae478fb by Conrad Parker <conradparker@google.com>:
      
      Fix errors in apply() sample code
      
      The following changes are made:
       * Make the example method public.
       * Give the two user functions different names to avoid confusion about
         whether apply() can select the correct overload of a function based
         on its tuple argument (it can't).
       * Pass tuple2 to the second example apply() invocation, instead of
         passing its contents individually.
       * Fix a s/tuple/tuple3/ typo in the third example apply() invocation.
      
      PiperOrigin-RevId: 234223407
      
      --
      de0ed71e21bc76ddf9fe715fdbaef74cd0df95c7 by Abseil Team <absl-team@google.com>:
      
      First test if a macro is defined to avoid -Wundef.
      
      ABSL clients may need to compile their code with the -Wundef warning
      flag. It will be helpful if ABSL header files can be compiled without
      the -Wundef warning.
      
      How to avoid the -Wundef warning: If a macro may be undefined, we need
      to first test whether the macro is defined before testing its value. We
      can't rely on the C preprocessor rule that an undefined macro has the
      value 0L.
      
      PiperOrigin-RevId: 234201123
      
      --
      fa484ad7dae0cac21140a96662809ecb0ec8eb5d by Abseil Team <absl-team@google.com>:
      
      Internal change.
      
      PiperOrigin-RevId: 234185697
      
      --
      d69b1baef681e27954b065375ecf9c2320463b2b by Samuel Benzaquen <sbenza@google.com>:
      
      Mix pointers more thoroughly.
      Some pointer alignments interact badly with the mixing constant. By mixing twice we reduce this problem.
      
      PiperOrigin-RevId: 234178401
      
      --
      1041d0e474610f3a8fea0db90958857327d6da1c by Samuel Benzaquen <sbenza@google.com>:
      
      Record rehashes in the hashtablez struct.
      Only recording the probe length on insertion causes a huge overestimation of
      the total probe length at any given time.
      
      With natural growth, elements are inserted when the load factor is between
      (max load/2, max load). However, after a rehash the majority of elements are
      actually inserted when the load factor is less than max/2 and have a much lower
      average probe length.
      
      Also reset some values when the table is cleared.
      
      PiperOrigin-RevId: 234013580
      
      --
      299205caf3c89c47339f7409bc831746602cea84 by Mark Barolak <mbar@google.com>:
      
      Fix a sample code snippet that assumes `absl::string_view::const_iterator` is `const char*`.  This is generally true, however in C++17 builds, absl::string_view is an alias for std::string_view and on MSVC, the std::string_view::const_iterator is an object instead of just a pointer.
      
      PiperOrigin-RevId: 233844595
      
      --
      af6c6370cf51a1e6c1469c79dfb2a486a4009136 by Abseil Team <absl-team@google.com>:
      
      Internal change.
      
      PiperOrigin-RevId: 233773470
      
      --
      6e59e4b8e2bb6101b448f0f32b0bea81fe399ccf by Abseil Team <absl-team@google.com>:
      
      fix typo in {Starts|Ends}WithIgnoreCase comment in match.h
      
      PiperOrigin-RevId: 233662951
      GitOrigin-RevId: 3d20ce6cd6541579abecaba169d4b8716d511272
      Change-Id: Ib9a29b1c38c6aedf5d9f3f7f00596e8d30e864dd
      93d155bc
  8. Feb 13, 2019
    • Abseil Team's avatar
      Export of internal Abseil changes. · 426eaa4a
      Abseil Team authored
      --
      0c2e865b4611eda0b43e64c177ac34540f059be2 by Mark Barolak <mbar@google.com>:
      
      Fix a sample code snippet that assumes `absl::string_view::const_iterator` is `const char*`.  This is generally true, however in C++17 builds, absl::string_view is an alias for std::string_view and on MSVC, the std::string_view::const_iterator is an object instead of just a pointer.
      
      PiperOrigin-RevId: 233631168
      
      --
      16f472f1b94dabf81632d6845574513546c8026e by Abseil Team <absl-team@google.com>:
      
      Updating documentation for custom StrSplit delimiters to reflect
      the fact that string_view does not have a (string_view, start, len)
      constructor.
      
      PiperOrigin-RevId: 233611745
      
      --
      a3192dc5122a9a67e0e4d4d2421b0cdb10612c27 by Eric Fiselier <ericwf@google.com>:
      
      Add missing <cassert> include.
      
      PiperOrigin-RevId: 233523528
      GitOrigin-RevId: 0c2e865b4611eda0b43e64c177ac34540f059be2
      Change-Id: Ic12e547da3e9c4fe2e79b880f9426fa3cc0f4866
      426eaa4a
  9. Feb 07, 2019
    • Abseil Team's avatar
      Export of internal Abseil changes. · 2901ec32
      Abseil Team authored
      --
      5da9755667df37e38ccaf6938c9f408e294110bb by Shaindel Schwartz <shaindel@google.com>:
      
      Import of CCTZ from GitHub.
      
      PiperOrigin-RevId: 232942734
      
      --
      b6fb275769c66fdd2bd92b119198c59e9a7dd737 by Samuel Benzaquen <sbenza@google.com>:
      
      Fix integral underflow when from-arg width is INT_MIN.
      
      PiperOrigin-RevId: 232888037
      
      --
      4135dbba4a26c4642277fc2a7e2a833d593daa1c by Abseil Team <absl-team@google.com>:
      
      Add the insert_return_type alias to raw_hash_set.
      
      PiperOrigin-RevId: 232683892
      
      --
      0b120b7d3693800bbb886f6fc607ae54a9338cb1 by Abseil Team <absl-team@google.com>:
      
      Macros to detect and disabled SafeStack
      https://clang.llvm.org/docs/SafeStack.html
      
      PiperOrigin-RevId: 232680114
      
      --
      a77b3fb533a9e37966d1d6ef5ccd09c73fff2ca1 by Abseil Team <absl-team@google.com>:
      
      Avoid potential red zone clobber
      
      Pushing on the stack on x86-64 may clobber local variables held below
      %rsp in the red zone. Avoid this by using lea on x86-64.
      
      PiperOrigin-RevId: 232592478
      
      --
      bf326a0eefa92f4e704287563df0c5a5b1873b6d by Eric Fiselier <ericwf@google.com>:
      
      Add additional tests for AbslHashValue.
      
      PiperOrigin-RevId: 232344325
      
      --
      816e4f98fd7632c944c779db87b7dac4e138afcf by Eric Fiselier <ericwf@google.com>:
      
      Avoid upcoming GCC 9.0 warnings about base class init.
      
      Currently, in trunk, GCC has a new warning under -Wextra
      that diagnoses when a derived class fails to explicitly
      initialize the base class in a constructor initializer list.
      
      This patch avoids this warning.
      
      PiperOrigin-RevId: 232327626
      
      --
      779c0f44b3c2b7a04d4bdf978641eb8180515bf6 by Eric Fiselier <ericwf@google.com>:
      
      Guard against C++2a char8_t change.
      
      PiperOrigin-RevId: 232326178
      
      --
      41e5395b85bbbfb5bf418cc21b04ad4ccb15a284 by Eric Fiselier <ericwf@google.com>:
      
      Avoid Clang Warning
      
      PiperOrigin-RevId: 232138866
      GitOrigin-RevId: 5da9755667df37e38ccaf6938c9f408e294110bb
      Change-Id: I49ee4f58db177b81b039d7d949f671c97c5a7933
      2901ec32
  10. Jan 31, 2019
    • Abseil Team's avatar
      Export of internal Abseil changes. · d78310fe
      Abseil Team authored
      --
      2c12ae8d6cbb8cbeb3ff446393578dd0d6d0cf8c by Andy Getzendanner <durandal@google.com>:
      
      Fix printf POSIX reference link to point at printf(3) (the C API) instead of printf(1) (the shell utility).
      
      PiperOrigin-RevId: 231719473
      
      --
      a36b3a0e539b5ca2033bb25438aa325ac84a285a by CJ Johnson <johnsoncj@google.com>:
      
      Fixes "correct" but poor semantics `allocator_and_tag_` initializations in InlinedVector to the proper version that gets a reference/const reference to allocator_type
      
      PiperOrigin-RevId: 231691608
      
      --
      de5eca5c7146a1e4692a201804817d98354d20ec by CJ Johnson <johnsoncj@google.com>:
      
      Removes pathologically deleted move constructor and assignment operator from benchmark test type
      
      PiperOrigin-RevId: 231680297
      
      --
      b2b52859e5f0e14a25047e528c8163b12ea9ca32 by Matt Armstrong <marmstrong@google.com>:
      
      Assert on elapsed time, not absolute time.
      
      This is a cosmetic change that aims to make
      test failures clearer.  Human readers no longer
      need to do as much mental math to deduce the
      magnitude of the failure.  It does not change the
      semantics of the test assertions.
      
      PiperOrigin-RevId: 231644805
      GitOrigin-RevId: 2c12ae8d6cbb8cbeb3ff446393578dd0d6d0cf8c
      Change-Id: Ic121a26a7a6bb7441da6a8c1d7797bee4f705fdc
      d78310fe
  11. Jan 30, 2019
    • Abseil Team's avatar
      Export of internal Abseil changes. · a4cb1c8b
      Abseil Team authored
      --
      6fdf24a197b964f9bacbebd0ceca305aef1654fc by Shaindel Schwartz <shaindel@google.com>:
      
      Internal change
      
      PiperOrigin-RevId: 231627312
      
      --
      65f7faf52bff01384171efb85fee159378dedf70 by CJ Johnson <johnsoncj@google.com>:
      
      Relocates the definitions of the InputIterator-accepting parts of the InlinedVector API into the top-level. The removed functions had no other callers so there was no reason to keep the layer of indirection in the form of the function call.
      
      PiperOrigin-RevId: 231527459
      
      --
      30e105b749b5ecc50fdaf26c7da589617efce425 by CJ Johnson <johnsoncj@google.com>:
      
      Relocates closing brace for absl namespace in InlinedVector to the correct end location
      
      PiperOrigin-RevId: 231477871
      
      --
      063c1e8b9d1f032662c46d574e20ecc357b87d0c by Eric Fiselier <ericwf@google.com>:
      
      Cleanup std::hash probing metafunctions.
      
      Previously there were two different ways to probe for
      std::hash. One in hash.h and another in type_traits.h,
      and they were both implemented differently, and neither
      correctly worked around bad STL implementations.
      
      This patch unifies the implementations into a single IsHashable trait.
      It also:
      
      * Correctly checks for old libc++ versions where this won't work.
      * Avoids undefined behavior which resulted from calling std::is_constructible
        incomplete types.
      * Unifies the feature test macro used in the headers and the tests.
      
      Additionally it also slightly changes the behavior of when absl::variant
      is hashable. Previously we disable hashing when std::hash<T>()(key) was
      formed but when std::hash<T> couldn't be destructed. This seems wrong. If a
      user provides a evil specialization of std::hash, then it's OK for variant's
      hash to blow up.
      
      PiperOrigin-RevId: 231468345
      
      --
      05d75dd4b07c893de9b104731644d0d207b01253 by Abseil Team <absl-team@google.com>:
      
      Import of CCTZ from GitHub.
      
      PiperOrigin-RevId: 231397518
      
      --
      a0ee9032f9e04039f3410ed17fcf45ae1a3868f5 by CJ Johnson <johnsoncj@google.com>:
      
      Remove unused EnableIfAtLeastInputIterator from InlinedVector
      
      PiperOrigin-RevId: 231348903
      
      --
      4dcd4e9a6780a81d7a6974c7bf22a037e6482b49 by Abseil Team <absl-team@google.com>:
      
      Remove unnecessary register keyword from absl/base/internal/endian.h.
      
      PiperOrigin-RevId: 231316570
      
      --
      c8584836caa3a10f90a8604a85d4b831310b72ee by Abseil Team <absl-team@google.com>:
      
      Fix hashtablez_sampler compilation on older Android NDK builds
      
      PiperOrigin-RevId: 231283542
      GitOrigin-RevId: 6fdf24a197b964f9bacbebd0ceca305aef1654fc
      Change-Id: I185b12fb8347e3ad0ffcb2cbb83a53450e5eb938
      a4cb1c8b
  12. Jan 28, 2019
    • Abseil Team's avatar
      Export of internal Abseil changes. · 540e2537
      Abseil Team authored
      --
      8c420997e7a08b9e7e24afa32d6e37cb2bfa2c12 by Abseil Team <absl-team@google.com>:
      
      Import of CCTZ from GitHub.
      
      PiperOrigin-RevId: 231265916
      
      --
      f52b9e201698b315c23ebaa6c8ec97362048d9b8 by CJ Johnson <johnsoncj@google.com>:
      
      inlined_capacity() => GetInlinedCapacity()
      
      Originally I intended inlined_capacity() to be moved from the private to public part of the API eventually so I named it appropriately and punted on publicizing it until later. After it was found to cause an issue on some platforms, I decided there was no reason to grow the API of the type just for a pretty function name. Thus, this change brings its name to be of the same format as the rest of the Abseil team's naming convention.
      
      PiperOrigin-RevId: 231248856
      
      --
      04e700ea1aad12cdb6a1ed29e183c59d97a47ccd by Abseil Team <absl-team@google.com>:
      
      Merge https://github.com/abseil/abseil-cpp/pull/255
      
      PiperOrigin-RevId: 231240011
      
      --
      4f2c2212c98093194c73572995e7770b58c9b9a0 by CJ Johnson <johnsoncj@google.com>:
      
      Adds identifiers to the AbslHashValue(...) forward declaration bringing it in line with the format of the other forward declarations while keeping it on one line.
      
      PiperOrigin-RevId: 231231932
      
      --
      68923d6c9289eb523126638f25d95916456125cf by CJ Johnson <johnsoncj@google.com>:
      
      Remove bad calls to assert(...) that do not make sense
      
      PiperOrigin-RevId: 231214093
      
      --
      a2a0b59b7dc2c39aca979ff6e474b9e170ab96b6 by CJ Johnson <johnsoncj@google.com>:
      
      Switch to trailing return type syntax for non-member functions of InlinedVector
      
      PiperOrigin-RevId: 230975981
      GitOrigin-RevId: 8c420997e7a08b9e7e24afa32d6e37cb2bfa2c12
      Change-Id: Ibbad7f27b596801bc770b440afed8d5e9e89ff8d
      540e2537
    • ahedberg's avatar
      Merge pull request #255 from uilianries/hotfix/conan · 89ea0c5f
      ahedberg authored
      #250 Fix library order for Conan package
      Unverified
      89ea0c5f
  13. Jan 25, 2019
    • Abseil Team's avatar
      Export of internal Abseil changes. · 5e0dcf72
      Abseil Team authored
      --
      a9115ecdf91183528f677fbbd9294652ab68c35f by CJ Johnson <johnsoncj@google.com>:
      
      Shorten the names of the args of the public InlinedVector member functions
      
      PiperOrigin-RevId: 230963027
      
      --
      93eaa2e3826901bafd16b088c8b5b272a2650fbb by CJ Johnson <johnsoncj@google.com>:
      
      Elevates input/forward iterator type checking to the top level of the InlinedVector API
      
      PiperOrigin-RevId: 230771558
      GitOrigin-RevId: a9115ecdf91183528f677fbbd9294652ab68c35f
      Change-Id: I30524e1a2a6260c6947a7ad756caade9b0b2c82f
      5e0dcf72
  14. Jan 24, 2019
    • Abseil Team's avatar
      Export of internal Abseil changes. · 0dffca4e
      Abseil Team authored
      --
      5804cc13b413412988248835459b90cd15ec43d9 by Abseil Team <absl-team@google.com>:
      
      Mark raw_hash_set::clear() with the ABSL_ATTRIBUTE_REINITIALIZES attribute.
      
      This prevents false positives in the clang-tidy check bugprone-use-after-move;
      it allows reset() to be called on a moved-from raw_hash_set without any
      warnings, and the raw_hash_set will thereafter be regarded as initialized again.
      
      PiperOrigin-RevId: 230717196
      
      --
      ff5961a5600ae19b69a9cba6912126cdf2858f38 by CJ Johnson <johnsoncj@google.com>:
      
      Swaps DisableIfIntegral<> for EnableIfInputIterator<> for Iterator member functions of InlinedVector
      
      PiperOrigin-RevId: 230559521
      
      --
      3f9754ccbeecbd40f235c6f2465279e045ff51d9 by Derek Mauro <dmauro@google.com>:
      
      Import GitHub PR 254
      https://github.com/abseil/abseil-cpp/pull/254
      
      Fixes warnings from -Wclass-memaccess (base_internal::ThreadIdentity?
      with no trivial copy-assignment).
      
      PiperOrigin-RevId: 230536048
      
      --
      8af03a654ce9a4a7f55384bc7eb1ed64878ac2ec by Chris Kennelly <ckennelly@google.com>:
      
      absl: cap SpinLock backoff to 4ms
      
      The current backoff logic has 3 problems:
      1. It can produce too high values (up to 256ms), which can negatively
      affect tail latency. The value was chosen long time ago and now it's
      a good idea to reconsider it.
      2. It does not have low bound, so on any iteration it can produce
      a very small value that will lead to unnecessary cpu consumption.
      3. It does not increase low bound with the number of iterations.
      So if the SpinLock is actually somehow locked for a very prolonged time,
      a waiter can still wake periodically.
      
      Rework the logic to solve these problems.
      Add lower bound of 128us, no code should rely on absence of episodic
      delays in this range as they can occur everywhere.
      Lower upper bound to 4ms. A thread sleeping for 4ms does not consume
      significant cpu time (see below).
      Grow lower bound with the number of iterations.
      
      This is cpu consumption of a process doing usleep(x) in a loop
      (sampled with ps):
      
          64us -> 4.0%
         128us -> 2.7%
         256us -> 3.5%
         512us -> 2.8%
        1024us -> 1.6%
        2048us -> 0.6%
        4096us -> 0.3%
        8192us -> 0.0%
      
      Few millisecond sleeps do not consume significant time.
      
      PiperOrigin-RevId: 230534015
      
      --
      37ebba92289ca556cb2412cd8b3cb4c1ead3def7 by Samuel Benzaquen <sbenza@google.com>:
      
      Add override and dispose hooks to the hashtable sampler.
      
      PiperOrigin-RevId: 230353438
      
      --
      89c8f90175233ce9964eb3412df04e8a3cff0c0f by Andy Getzendanner <durandal@google.com>:
      
      Fix a comment typo.
      
      PiperOrigin-RevId: 229986838
      GitOrigin-RevId: 5804cc13b413412988248835459b90cd15ec43d9
      Change-Id: Iedb5e2cc9c0b924635c1c87b537780ab6b5b899f
      0dffca4e
  15. Jan 23, 2019
  16. Jan 22, 2019
  17. Jan 18, 2019
    • Abseil Team's avatar
      Export of internal Abseil changes. · 0b1e6d41
      Abseil Team authored
      --
      461c1b6eb19490429db3bc6dd10ee32df9429cd7 by Samuel Benzaquen <sbenza@google.com>:
      
      Group all the capacity/growth calculation in one place.
      This helps remove the unnecessary floating point operations.
      
      PiperOrigin-RevId: 229928140
      GitOrigin-RevId: 461c1b6eb19490429db3bc6dd10ee32df9429cd7
      Change-Id: Ib00f85a6033fcd06a1d38a5987670b1524a80f93
      0b1e6d41
  18. Jan 17, 2019
    • Abseil Team's avatar
      Export of internal Abseil changes. · efccc502
      Abseil Team authored
      --
      b7d4f72ebb8a052cb2c6dfbfb628200eb64585c5 by CJ Johnson <johnsoncj@google.com>:
      
      `Hash` -> `H` for AbslHashValue in InlinedVector
      
      PiperOrigin-RevId: 229765535
      
      --
      ecceb8dc7eb9fe576dd0b8f0e95b5d3c3e92795d by Abseil Team <absl-team@google.com>:
      
      fix ubsan error in Mutex on arm32
      
      PiperOrigin-RevId: 229744897
      GitOrigin-RevId: b7d4f72ebb8a052cb2c6dfbfb628200eb64585c5
      Change-Id: Ic0fd2252f9838d5fceffc808d05a09a8bc872efc
      efccc502
  19. Jan 16, 2019
    • Abseil Team's avatar
      Export of internal Abseil changes. · 5e6a7813
      Abseil Team authored
      --
      4a492de32dd1e02c5c3600bfdb36da7af7855210 by Samuel Benzaquen <sbenza@google.com>:
      
      Fix potential intergral overflow in the parser.
      
      PiperOrigin-RevId: 229378698
      
      --
      c5d5385eff879a65582138febb44c79725baf582 by CJ Johnson <johnsoncj@google.com>:
      
      Adds an explanatory comment over AbslHashValue(...) for InlinedVector
      
      PiperOrigin-RevId: 229237373
      GitOrigin-RevId: 4a492de32dd1e02c5c3600bfdb36da7af7855210
      Change-Id: Iad9edfde23ab5af9001ce80e3d00a34be3d73815
      5e6a7813
  20. Jan 14, 2019
    • Abseil Team's avatar
      Export of internal Abseil changes. · 5eea0f71
      Abseil Team authored
      --
      70b243f160a2f0f222066f62e06cc4346aea683d by Gennadiy Civil <misterg@google.com>:
      
      Replace tests with new googletest Test Suite APIs
      
      PiperOrigin-RevId: 228901526
      
      --
      28fe449f416c3d3fe882ef3dfa4289b94be5f8af by CJ Johnson <johnsoncj@google.com>:
      
      Changes the style of enable_if on InlinedVector::insert(...) to match all others
      
      PiperOrigin-RevId: 228878640
      
      --
      5b4732f783d16cfb19c8c42962201aafe12b3c0f by Abseil Team <absl-team@google.com>:
      
      Update the absl::FromDateTime() deprecation message to refer to
      absl::FromCivil(), the recommended replacement despite a slight
      change in behavior for skipped civil times.
      
      PiperOrigin-RevId: 228820837
      
      --
      ee77056d753bb8665236a173064af85d935acfc4 by Gennadiy Civil <misterg@google.com>:
      
      Bump googletest to the latest
      
      PiperOrigin-RevId: 228792994
      
      --
      aebc04f76b83a26432dba8e6199c971d5b69df0f by CJ Johnson <johnsoncj@google.com>:
      
      Switches InlinedVector input/forward iterator tagged dispatch from callsite to template decorator
      
      PiperOrigin-RevId: 228771063
      GitOrigin-RevId: 70b243f160a2f0f222066f62e06cc4346aea683d
      Change-Id: I5f8cd05685ff642eff81187b8e207a0bdbcf073a
      5eea0f71
  21. Jan 10, 2019
    • Abseil Team's avatar
      Export of internal Abseil changes. · 66f9becb
      Abseil Team authored
      --
      da7b6d9d43b2951a3487bbfd41aa2ee96b2813ef by Derek Mauro <dmauro@google.com>:
      
      Internal change
      
      PiperOrigin-RevId: 228757155
      
      --
      2789fc170bed4b671a01a4106e3ba5059ff225fb by CJ Johnson <johnsoncj@google.com>:
      
      `Other<X>` => `The<X>` for AbslHashValue of InlinedVector
      
      PiperOrigin-RevId: 228558678
      GitOrigin-RevId: da7b6d9d43b2951a3487bbfd41aa2ee96b2813ef
      Change-Id: Iaeb33ae791f093d94ad9f893b3455d5403429089
      66f9becb
  22. Jan 09, 2019
    • Abseil Team's avatar
      Export of internal Abseil changes. · 018b4db1
      Abseil Team authored
      --
      fd86c60bac6c41f1629ce1ab7dc1c8edff398a59 by Alex Strelnikov <strel@google.com>:
      
      Import PR: https://github.com/abseil/abseil-cpp/pull/243
      Fix Windows ARM64 intrinsic use.
      
      PiperOrigin-RevId: 228535649
      
      --
      a0ca663f606a3b31493683e405be2b1cff450894 by CJ Johnson <johnsoncj@google.com>:
      
      Fixes issue of mixed signedness comparison
      
      PiperOrigin-RevId: 228535623
      
      --
      d71aaa1705d7303b43fe02088fe07b153e647796 by Shaindel Schwartz <shaindel@google.com>:
      
      Import of CCTZ from GitHub.
      
      PiperOrigin-RevId: 228534365
      
      --
      c1b49d361aa880198e071f93997724bddbcd4760 by Samuel Benzaquen <sbenza@google.com>:
      
      Internal cleanup
      
      PiperOrigin-RevId: 228406627
      
      --
      0c4b1c2bed107698e209055b3431771d7a1bdba1 by Dave Walker <dawalker@google.com>:
      
      Add comments about the purpose of container_internal::slot_type.
      
      PiperOrigin-RevId: 228264537
      
      --
      060aa6077d2f3a0a129149e0644d19f2f521b241 by Abseil Team <absl-team@google.com>:
      
      #include <cmath> in hashtablez_sampler.cc
      
      Expected to fix the android build.
      
      PiperOrigin-RevId: 228222550
      GitOrigin-RevId: fd86c60bac6c41f1629ce1ab7dc1c8edff398a59
      Change-Id: I26339fd4548c1a81b037cb52c26910d1bd850ea8
      018b4db1
    • Alex Strelnikov's avatar
      Merge pull request #243 from ThomsonTan/FixIntrinsic · 9449ae94
      Alex Strelnikov authored
      _umul128 intrinsic is x64 only and not available on Windows ARM64
      Unverified
      9449ae94
  23. Jan 07, 2019
    • Abseil Team's avatar
      Export of internal Abseil changes. · b16aeb67
      Abseil Team authored
      --
      5f1cf6547231f1b1daad6d1b785df6b0b999b3c9 by Samuel Benzaquen <sbenza@google.com>:
      
      Fix uninitialized member in the `iterator` class by using a union of the two
      possible states of the iterator.
      This silences a Wuninitialized warning in gcc>=7.
      
      PiperOrigin-RevId: 228175148
      
      --
      98b4e3204c0ec3cfd4cb037e24d443ea4b63fc84 by CJ Johnson <johnsoncj@google.com>:
      
      Factors out the implementation of InlinedVector::swap(...) into a private member function
      
      PiperOrigin-RevId: 228173383
      
      --
      f1432ad3a8b05285c6d55bc4754cfae765485b7f by Abseil Team <absl-team@google.com>:
      
      Import of CCTZ from GitHub.
      
      PiperOrigin-RevId: 227891984
      
      --
      03fc00c7a4efc6000e6d9125cb2e252bffda76fe by Andy Getzendanner <durandal@google.com>:
      
      Add a missing linebreak to a comment and markdownify two unordered lists.
      
      PiperOrigin-RevId: 227861389
      
      --
      0d66c9afba4fc9aa52e61d9fb410e165018a7b48 by Abseil Team <absl-team@google.com>:
      
      Add an API to register a new source for the cycle clock.
      
      PiperOrigin-RevId: 227779218
      
      --
      14d3f9b70c8818b8541e5fb2f6ca4c59d479de31 by Andy Getzendanner <durandal@google.com>:
      
      Correct a typo in a stripping marker.
      
      PiperOrigin-RevId: 227750014
      
      --
      59df88740f4e315beb57a8772f8bcf7879440c74 by Matt Kulukundis <kfm@google.com>:
      
      Switch thread local handling to be more cross platform
      
      PiperOrigin-RevId: 227695133
      
      --
      75deed5bfcb5c42534e933f104aa7d94e11e348d by Abseil Team <absl-team@google.com>:
      
      Rollback workaround toolchain bug for incorrect handling of thread_local in inline
      functions
      
      PiperOrigin-RevId: 227689133
      
      --
      54994bf0afec026e6e0e7a199df0bbb4b7d9a4aa by Derek Mauro <dmauro@google.com>:
      
      Add -pthread to linkopts where it actually belongs, on the library
      that uses it.
      Fixes https://github.com/abseil/abseil-cpp/issues/240.
      
      PiperOrigin-RevId: 227612492
      
      --
      893875f3536b7e0a1bad993aa6b2e083abb3b25a by Derek Mauro <dmauro@google.com>:
      
      Internal change
      
      PiperOrigin-RevId: 227582833
      
      --
      506c9b8e9002ca3389c7040473b68d4cbf94bdcc by Matt Kulukundis <kfm@google.com>:
      
      Workaround toolchain bug for incorrect handling of thread_local in inline
      functions
      
      PiperOrigin-RevId: 227561449
      
      --
      29ee90d96dfe3114cf93f9bb92ea0cc9e768a407 by Derek Mauro <dmauro@google.com>:
      
      Internal change
      
      PiperOrigin-RevId: 227054634
      GitOrigin-RevId: 5f1cf6547231f1b1daad6d1b785df6b0b999b3c9
      Change-Id: Ibc90566d92ee6e0ad7e150f513ec7f5d22ec0a94
      b16aeb67
  24. Jan 02, 2019
  25. Dec 27, 2018
    • Abseil Team's avatar
      Export of internal Abseil changes. · 7ffbe09f
      Abseil Team authored
      --
      027adbb0bceda5c3908f7f4d3a911284ee407b3d by Abseil Team <absl-team@google.com>:
      
      Make ABSL_CACHELINE_ALIGNED work for Visual C++.
      
      PiperOrigin-RevId: 227007205
      GitOrigin-RevId: 027adbb0bceda5c3908f7f4d3a911284ee407b3d
      Change-Id: I572ec7e79dda1291eb324c90a39be90e744b4b05
      7ffbe09f
  26. Dec 26, 2018
    • Abseil Team's avatar
      Export of internal Abseil changes. · 01b471d9
      Abseil Team authored
      --
      ffe1bf0e5f98c77cf4193f24ae9ce94d16a72c6e by Alex Strelnikov <strel@google.com>:
      
      Remove accidental duplication of conanfile.py.
      
      PiperOrigin-RevId: 226926125
      
      --
      daf639ddd32c57d1c5ab99b26a9b15107f47ce16 by Derek Mauro <dmauro@google.com>:
      
      Fix the CMake build for absl::container.
      This target is deprecated and will be removed in the future.
      
      Fixes https://github.com/abseil/abseil-cpp/pull/238
      
      PiperOrigin-RevId: 226921798
      
      --
      b8ab2bb9081c266ced1d966c86d5b19af6b5b3ef by Abseil Team <absl-team@google.com>:
      
      Cleanup: Fix some ClangTidy warnings.
      
      PiperOrigin-RevId: 226678127
      
      --
      8cdc95316fc8baba00073c38a444c089ed2d5f5e by Abseil Team <absl-team@google.com>:
      
      Cleanup: Fix some ClangTidy warnings.
      
      PiperOrigin-RevId: 226567814
      GitOrigin-RevId: ffe1bf0e5f98c77cf4193f24ae9ce94d16a72c6e
      Change-Id: Idfe30b8b3229082eb7db4bfa928d3257be7dce1a
      01b471d9
  27. Dec 21, 2018
    • Abseil Team's avatar
      Export of internal Abseil changes. · 7bd8f36c
      Abseil Team authored
      --
      d99e8545a19cec7569c1f04404398e4d31e71e81 by Mark Barolak <mbar@google.com>:
      
      Internal import of GitHub PR #231: "Add Conan recipe"
      https://github.com/abseil/abseil-cpp/pull/231
      
      PiperOrigin-RevId: 226376774
      GitOrigin-RevId: d99e8545a19cec7569c1f04404398e4d31e71e81
      Change-Id: I763db5e14b9d0250c0859b3c12a4b8f374362c15
      7bd8f36c
    • Abseil Team's avatar
      Export of internal Abseil changes. · 968a34ff
      Abseil Team authored
      --
      7fa1107161a03dac53fb84c2b06d8092616c7b13 by Abseil Team <absl-team@google.com>:
      
      Harden the generic stacktrace implementation for use during early program execution
      
      PiperOrigin-RevId: 226375950
      
      --
      079f9969329f5eb66f647dd3c44b17541b1bf217 by Matt Kulukundis <kfm@google.com>:
      
      Workaround platforms that have over-aggressive warnings on -Wexit-time-destructors
      
      PiperOrigin-RevId: 226362948
      
      --
      1447943f509be681ca5495add0162c750ef237f1 by Matt Kulukundis <kfm@google.com>:
      
      Switch from 64 to size_t atomics so they work on embedded platforms that do not
      have 64 bit atomics.
      
      PiperOrigin-RevId: 226210704
      
      --
      d14d49837ae2bcde74051e0c79c18ee0f43866b9 by Tom Manshreck <shreck@google.com>:
      
      Develop initial documentation for API breaking changes process:
      
      PiperOrigin-RevId: 226210021
      
      --
      7ea3d7fe0e86979dab83a5fc9cc3bf1d6cb3bd53 by Abseil Team <absl-team@google.com>:
      
      Import of CCTZ from GitHub.
      
      PiperOrigin-RevId: 226195522
      
      --
      7de873e880d7f016a4fa1e08d626f0535cc470af by Abseil Team <absl-team@google.com>:
      
      Make Abseil LICENSE files newline terminated, with a single
      trailing blank line.  Also remove line-ending whitespace.
      
      PiperOrigin-RevId: 226182949
      
      --
      7d00643fadfad7f0d992c68bd9d2ed2e5bc960b0 by Matt Kulukundis <kfm@google.com>:
      
      Internal cleanup
      
      PiperOrigin-RevId: 226045282
      
      --
      c4a0a11c0ce2875271191e477f3d36eaaeca4613 by Matt Kulukundis <kfm@google.com>:
      
      Internal cleanup
      
      PiperOrigin-RevId: 226038273
      
      --
      8ee4ebbb1ae5cda119e436e5ff7e3aa966608c10 by Matt Kulukundis <kfm@google.com>:
      
      Adds a global sampler which tracks a fraction of live tables for collecting
      telemetry data.
      
      PiperOrigin-RevId: 226032080
      
      --
      d576446f050518cd1b0ae447d682d8552f0e7e30 by Mark Barolak <mbar@google.com>:
      
      Replace an internal CaseEqual function with calls to the identical absl::EqualsIgnoreCase.  This closes out a rather old TODO.
      
      PiperOrigin-RevId: 226024779
      
      --
      6b23f1ee028a5ffa608c920424f1220a117a8f3d by Abseil Team <absl-team@google.com>:
      
      Add December 2018 LTS branch to list of LTS branches.
      
      PiperOrigin-RevId: 226011333
      
      --
      bb0833a43bdaef4c8c059b17bcd27ba9a085a114 by Mark Barolak <mbar@google.com>:
      
      Explicitly state that when the SimpleAtoi family of functions encounter an error, the value of their output parameter is unspecified.
      
      Also standardize the name of the output parameter to be `out`.
      
      PiperOrigin-RevId: 225997035
      
      --
      46c1876b1a248eabda7545daa61a74a4cdfe9077 by Abseil Team <absl-team@google.com>:
      
      Remove deprecated CMake function absl_test, absl_library and absl_header_library
      
      PiperOrigin-RevId: 225950041
      GitOrigin-RevId: 7fa1107161a03dac53fb84c2b06d8092616c7b13
      Change-Id: I2ca9d3aada9292614527d1339a7557494139b806
      968a34ff
  28. Dec 20, 2018
  29. Dec 17, 2018
    • Abseil Team's avatar
      Export of internal Abseil changes. · 111ca706
      Abseil Team authored
      --
      a2adbf75201f6b7feba929f77dfc4f87f9c1110b by Abseil Team <absl-team@google.com>:
      
      This change allows for capturing the address of the mutex from which a call to `Block(...)` could be introducing latency. The attribute is a no-op if the application is not being built with XRay instrumentation.
      
      See http://llvm.org/docs/XRay.html for more information about XRay.
      
      PiperOrigin-RevId: 225752598
      
      --
      6bc7f25573ddc6711f484dfacab9459f45e0bf42 by Abseil Team <absl-team@google.com>:
      
      Update absl/utility/CMakeLists.txt to use new functions
      i.e. absl_cc_(library|test)
      
      PiperOrigin-RevId: 225651883
      
      --
      4acde5e72032f31a26a1ffa53a28f35dbb0bd7d3 by Abseil Team <absl-team@google.com>:
      
      Update absl/types/CMakeLists.txt to use new functions
      i.e. absl_cc_(library|test)
      
      PiperOrigin-RevId: 225584788
      
      --
      fe2c740d64b17cece25eee4e5d2196a7c059d3e9 by Abseil Team <absl-team@google.com>:
      
      Update auto-generated build options files.
      
      PiperOrigin-RevId: 225557283
      
      --
      cd779dddceeee191ee82deb6b9030c4db288e758 by Jon Cohen <cohenjon@google.com>:
      
      Internal change.
      
      PiperOrigin-RevId: 225556657
      
      --
      3d56dd132d845930c3fb520a39ee77ecb2430bd2 by Matt Kulukundis <kfm@google.com>:
      
      Internal cleanup
      
      PiperOrigin-RevId: 225488946
      GitOrigin-RevId: a2adbf75201f6b7feba929f77dfc4f87f9c1110b
      Change-Id: I1b2178e053bdebc8cf3dcb017b0e247619b81a0c
      111ca706
  30. Dec 13, 2018
    • Abseil Team's avatar
      Export of internal Abseil changes. · 389ec3f9
      Abseil Team authored
      --
      636137f6f0de910691a3950387fefacfa4909fb8 by Abseil Team <absl-team@google.com>:
      
      Add move semantics to absl::container_internal::CompressedTuple
      
      PiperOrigin-RevId: 225394165
      
      --
      43da91e4f95a196b2e6b76f1c2f4158817b0ebb0 by Greg Falcon <gfalcon@google.com>:
      
      Add a constructor to allow for global absl::Mutex instances.
      
      This adds a new constexpr constructor to absl::Mutex, invoked with the absl::kConstInit tag value, which is intended to be used to construct Mutex instances with static storage duration.
      
      What's tricky about is absl::Mutex (like std::mutex) is not a trivially destructible class, so by the letter of the law, accessing a global Mutex instance after it is destroyed results in undefined behavior.  Despite this, we take care in the destructor to not invalidate the memory layout of the Mutex.  Using a kConstInit-constructed global Mutex after it is destroyed happens to work on the toolchains we use.  Google relies heavily on this behavior internally.
      
      Code sanitizers that detect undefined behavior are able to notice use-after-free of globals, and might complain about this pattern.
      
      PiperOrigin-RevId: 225389447
      
      --
      7b553a54bc6460cc7008b028552e66799475ca64 by Abseil Team <absl-team@google.com>:
      
      Internal change.
      
      PiperOrigin-RevId: 225373389
      
      --
      fd0c722d217b3b509102274765ccb1a0b596cf46 by Abseil Team <absl-team@google.com>:
      
      Update absl/time/CMakeLists.txt to use new functions
      i.e. absl_cc_(library|test)
      
      PiperOrigin-RevId: 225246853
      
      --
      9f8f3ba3b67a6d1ac4ecdc529c8b8eb0f02576d9 by Abseil Team <absl-team@google.com>:
      
      Update absl/synchronisation/CMakeLists.txt to use new functions
      i.e. absl_cc_(library|test)
      
      PiperOrigin-RevId: 225237980
      
      --
      a3fdd67dad2e596f804f5e100c8d3a74d8064faa by Abseil Team <absl-team@google.com>:
      
      Internal cleanup
      
      PiperOrigin-RevId: 225226813
      
      --
      48fab23fb8cdca45e95da14fce0de56614d09c25 by Jon Cohen <cohenjon@google.com>:
      
      Use a shim #define for wchar_t in msvc in int128.
      
      On ancient versions of msvc and with some compatibility flags on wchar_t is a typedef for unsigned short, whereas on standards-conforming versions wchar_t is a typedef for __wchar_t.  The first situation causes int128 to not compile as you can't define both `operator wchar_t()` and `operator unsigned short()` because they are the same type.
      
      This CL introduces a wrapper #define in order to abstract over the different typedefs for wchar_t.  We do a define instead of a typedef so that we can #undef at the end and not leak the symbol, since we need it in a header.
      
      https://docs.microsoft.com/en-us/previous-versions/dh8che7s(v=vs.140) has more detail about the underlying problem.
      
      PiperOrigin-RevId: 225223756
      GitOrigin-RevId: 636137f6f0de910691a3950387fefacfa4909fb8
      Change-Id: Iad94e52e9484c5acec115a2f09ef2d5ec22c2074
      389ec3f9
    • Uilian Ries's avatar
      #187 Add Conan topics · 1aa550f8
      Uilian Ries authored
      
      Signed-off-by: default avatarUilian Ries <uilianries@gmail.com>
      1aa550f8
  31. Dec 12, 2018
    • Abseil Team's avatar
      Export of internal Abseil changes. · 8fbcdb90
      Abseil Team authored
      --
      e7f892a0b9b313b434c5f9e9a2365b377204b60e by Abseil Team <absl-team@google.com>:
      
      Remove internal CaseEqual helper now that we have the equivalent absl::EqualsIgnoreCase.
      
      PiperOrigin-RevId: 225189084
      
      --
      722af2c74766d2fe3cee13c8dc886d39aedda597 by Abseil Team <absl-team@google.com>:
      
      Add -Wno-extra-semi-stmt to silence that warning.
      
      The [-Wno-extra-semi] is already disabled in the build.  This
      change will allow the build to remain consistent across newer
      versions of clang which are now issuing a new similiar warning
      [-Wextra-semi-stmt]:
      
        https://clang.llvm.org/docs/ReleaseNotes.html#major-new-features
        https://clang.llvm.org/docs/DiagnosticsReference.html#wextra-semi-stmt
      
      PiperOrigin-RevId: 225185101
      
      --
      f7fd6244b4efcf0331631a54b7b0cf5f1f691a89 by CJ Johnson <johnsoncj@google.com>:
      
      Move using directive in swap implementation
      
      PiperOrigin-RevId: 225017825
      
      --
      3005841725df5b9cdb35c8a5319bb4c78b5dc2b7 by Abseil Team <absl-team@google.com>:
      
      Update absl/strings/CMakeLists.txt to use new functions
      i.e. absl_cc_(library|test)
      
      PiperOrigin-RevId: 224860689
      
      --
      eeaf7099924b182472bfea3636ef6d9a39adfc50 by CJ Johnson <johnsoncj@google.com>:
      
      Prefer public method over private for InlinedVector allocator access
      
      PiperOrigin-RevId: 224825775
      
      --
      db9d218e3ca7ab400eef97778b720cb082a03281 by Eric Fiselier <ericwf@google.com>:
      
      Take advantage of secret libc++ resize uninitialized function in string.
      
      PiperOrigin-RevId: 224817877
      GitOrigin-RevId: e7f892a0b9b313b434c5f9e9a2365b377204b60e
      Change-Id: I051beee37ee03f0570bd2e068355ad75c8bdfcf8
      8fbcdb90
  32. Dec 10, 2018
    • Abseil Team's avatar
      Export of internal Abseil changes. · 455dc17b
      Abseil Team authored
      --
      bbb50c2e52241f0a5f8478bac89e6523ec8fd664 by CJ Johnson <johnsoncj@google.com>:
      
      The two InlinedVector copy constructors have identical definitions. This CL simply defines one in terms of the other
      
      PiperOrigin-RevId: 224734857
      GitOrigin-RevId: bbb50c2e52241f0a5f8478bac89e6523ec8fd664
      Change-Id: I617c239fd4f16fde0aa10a15fdac58a0cfd10f8a
      455dc17b
  33. Dec 07, 2018
    • Abseil Team's avatar
      Export of internal Abseil changes. · f197d7c7
      Abseil Team authored
      --
      1a5fb4eb5bc6c0332962f659470a07908168aa5c by CJ Johnson <johnsoncj@google.com>:
      
      Move InlinedVector's AbslHashValue(...) definition to out of line
      
      PiperOrigin-RevId: 224389234
      
      --
      b7c5ccdfe17b9cb5f7124c8d591ce0989a15b9fb by Jon Cohen <cohenjon@google.com>:
      
      Add a shebang line and chmod +x generate_copts.py.  Note that we use the "python" command as suggested in PEP 934 (https://www.python.org/dev/peps/pep-0394/) as this script should work in both Python 2 and Python 3.
      
      Also adds a gitignore for __pycache__ for when using python3
      
      PiperOrigin-RevId: 224375405
      
      --
      c57a148a1106b21dbcd750541f10b058bf55a2bf by CJ Johnson <johnsoncj@google.com>:
      
      Adds comment to InlinedVector intended to help the g4 diffing algo to better identify the substantive change
      
      PiperOrigin-RevId: 224362807
      
      --
      b635ab981a07dc2434be7b0d164030a42cc67923 by Greg Falcon <gfalcon@google.com>:
      
      internal change
      
      PiperOrigin-RevId: 224362442
      
      --
      217021f7dcec31141a89b91930c241af062c2133 by CJ Johnson <johnsoncj@google.com>:
      
      Distinguishes the source of InlinedVector::at(...)'s bounds checking exception
      
      PiperOrigin-RevId: 224341645
      
      --
      01a5943560ce9216a9d8ccb1279b5c5c2f6e1019 by CJ Johnson <johnsoncj@google.com>:
      
      Relocates out of line member function definitions to their respective declarations in InlinedVector
      
      PiperOrigin-RevId: 224320130
      
      --
      b3d57fcddcd737e91aab812d69b82fef2ca43d7e by Abseil Team <absl-team@google.com>:
      
      On 32-bit systems, the alignment of int64 can be 4 bytes. Created a custom Int64 type (to go with the custom Int128 type) just for the purpose of testing layouts and alignments; it doesn't need to support actual arithmetic.
      
      PiperOrigin-RevId: 224209785
      GitOrigin-RevId: 1a5fb4eb5bc6c0332962f659470a07908168aa5c
      Change-Id: I9d6b1c441cd712709ebd6c0a8911d0755cab506f
      f197d7c7
  34. Dec 05, 2018
    • Abseil Team's avatar
      Export of internal Abseil changes. · 284378a7
      Abseil Team authored
      --
      22fa219d17b2281c0695642830c4300711bd65ea by CJ Johnson <johnsoncj@google.com>:
      
      Rearrange the private method declarations in InlinedVector
      
      PiperOrigin-RevId: 224202447
      
      --
      eed3c9f488f23b521bee41d3683eb6cc22517ded by Derek Mauro <dmauro@google.com>:
      
      Fix leak_check target (it was always a no-op when LSAN isn't available).
      Fixes https://github.com/abseil/abseil-cpp/issues/232
      
      PiperOrigin-RevId: 224201634
      
      --
      fc08039e175204b14a9561f618fcfc0234586801 by Greg Falcon <gfalcon@google.com>:
      
      Add parens around more invocations of min() and max() missed in my prior CL.
      
      PiperOrigin-RevId: 224162430
      
      --
      0ec5476a8293c7796cd84928a1a558b14f14f222 by Abseil Team <absl-team@google.com>:
      
      Update absl/numeric/CMakeLists.txt to use new functions
      i.e. absl_cc_(library|test)
      
      PiperOrigin-RevId: 224139165
      
      --
      2b46aa6fabb20c589661f8bbc84030ecf39ce394 by Abseil Team <absl-team@google.com>:
      
      Update absl/meta/CMakeLists.txt to use new functions
      i.e. absl_cc_(library|test)
      
      PiperOrigin-RevId: 224117258
      
      --
      6c951c798f8c6903bd8793a8a4b5f69244be8aa9 by Abseil Team <absl-team@google.com>:
      
      Fix 2 Unused C++ BUILD Dependencies
      
      PiperOrigin-RevId: 224070093
      
      --
      0ee7bd191708708f91fc5209c197fd93f6e4a8b3 by Greg Falcon <gfalcon@google.com>:
      
      Inside Abseil headers, wrap most invocations of methods and functions named `min` and `max` in parentheses, for better interoperability with Windows toolchains.
      
      CCTZ fixes will appear in a follow-up CL.
      
      PiperOrigin-RevId: 224051960
      
      --
      f562f56577b84a8bc07e5873775c01d068531bca by Jon Cohen <cohenjon@google.com>:
      
      Generate Abseil compile options.  The single source of truth is now absl/copts/copts.py
      
      The way this works goes something like this:
      copts.py acts as the configuration file.  We use python because unlike JSON it allows comments.  It has two maps in it: one from names to external flags, and one from names to internal flags.
      
      generate_copts.py imports the maps and loops through them to write GENERATED_copts.bzl and GENERATED_AbseilCopts.cmake
      
      AbseilConfigureCopts.cmake and configure_copts.bzl import their respective copts args and set the platform-appropriate copts into ABSL_DEFAULT_COPTS, ABSL_TEST_COPTS, ABSL_EXCEPTIONS_FLAG, and ABSL_EXCEPTIONS_LINKOPTS
      
      For Bazel, each BUILD file load()s configure_copts.bzl
      
      For CMake, AbseilHelpers.cmake include()s AbseilConfigureCopts.cmake to get the final copts and both inserts them as needed into legacy target rules and also makes them available to the rest of our CMakeLists.txt file.  We may instead want to include() AbseilConfigureCopts.cmake directly into each CMakeLists.txt file for consistency, but I'm not sure what the deal is with cmake and include guards, or if they are even needed.  That's also not as idiomatic -- CMake tends to use directory scope where globals set at a higher level CMakeLists.txt file are used in the subdirectory CMakeLists.txt files.
      
      PiperOrigin-RevId: 224039419
      
      --
      f7402f6bb65037e668a7355f0a003f5c05a3b6a7 by Abseil Team <absl-team@google.com>:
      
      Import of CCTZ from GitHub.
      
      PiperOrigin-RevId: 224036622
      GitOrigin-RevId: 22fa219d17b2281c0695642830c4300711bd65ea
      Change-Id: I6b505360539ff2aef8aa30c51a5f7d55db1c75cf
      284378a7
Loading