- 76fcc6eebc6a5b5a885f04e1579762573c2bf9bc Fix broken links, and remove old README files from Git. by Daniel Katz <katzdm@google.com> - 174287df7bc7c1832fe4a66d82ee0f61a8788460 Remove "test_dependencies.bzl" file. Not needed. by Daniel Katz <katzdm@google.com> - 4e9416b389e61f5258c3a7fc0f7966f03d9ae086 Fix broken about/intro link in README.md by Abseil Team <absl-team@google.com> - 2a662ff187987246cf8f3c1de83eaa23f1d2c034 Delete extraneous comments. by Abseil Team <absl-team@google.com> - 3bdc2d15af21e0297ccf39c90c0ed51a35900679 Cleanup usage of GUNIT_DEPS_SELECTOR/GUNIT_MAIN_DEPS_SELE... by Gennadiy Rozental <rogeeff@google.com> - bec32fc8efee3ae5b67c07dcae08d74540c944d0 Enable time_test on windows: by Xiaoyi Zhang <zhangxy@google.com> GitOrigin-RevId: 76fcc6eebc6a5b5a885f04e1579762573c2bf9bc Change-Id: I9556164f6b48dae1fa02b2ec6444517faed23e1fpull/9/head
parent
cf6ab6bb2b
commit
2a62fbdedf
16 changed files with 116 additions and 248 deletions
@ -1,22 +0,0 @@ |
||||
# ABSL Memory |
||||
|
||||
This directory contains packages related to abstractions for managing memory |
||||
within objects. |
||||
|
||||
## Library Listing |
||||
|
||||
Only one library target exists within this directory at this time: |
||||
|
||||
* **memory** (`//absl/memory:memory`) provides classes and |
||||
utility functions for managing memory associated with pointers. |
||||
|
||||
|
||||
## Memory Library File Listing |
||||
|
||||
The following header files are directly included within the |
||||
`absl::memory` library: |
||||
|
||||
### Smart Pointer Management |
||||
|
||||
* `memory.h` |
||||
<br/>Pointer memory management abstractions for handling unique pointers |
@ -1,87 +0,0 @@ |
||||
# ABSL Strings |
||||
|
||||
This directory contains packages related to std::string operations and std::string |
||||
alternatives (such as character-agnostic byte manipulation packages). |
||||
|
||||
## Library Listing |
||||
|
||||
Two library targets are available within this directory: |
||||
|
||||
* **strings** (`//absl/strings:strings`) provides classes and |
||||
utility functions for manipulating and comparing strings, converting other |
||||
types (such as integers) into strings, or evaluating strings for other usages |
||||
(such as tokenization). |
||||
|
||||
* **cord** (`//absl/strings:cord`) provides classes and utility |
||||
functions for manipulating `Cord` elements. A `Cord` is a sequence of |
||||
characters that internally uses a tree structure to store their data, |
||||
avoiding the need for long regions of contiguous memory, and allows memory |
||||
sharing, sub-std::string copy-on-write, and a host of other advanced std::string |
||||
features. |
||||
|
||||
## Strings Library File Listing |
||||
|
||||
The following header files are directly included within the |
||||
`absl::strings` library. |
||||
|
||||
## Alternate std::string-like Classes |
||||
|
||||
* `bytestream.h` |
||||
<br/>Abstraction of std::string for I/O |
||||
* `string_view.h` |
||||
<br/>Pointer to part or all of another std::string |
||||
|
||||
## Formatting and Parsing |
||||
|
||||
* `numbers.h` |
||||
<br/>Converter between strings and numbers. Prefer `str_cat.h` for numbers |
||||
to strings |
||||
|
||||
## Operations on Characters |
||||
|
||||
* `ascii_ctype.h` |
||||
<br/>Char classifiers like <ctype.h> but faster |
||||
* `charset.h` |
||||
<br/>Bitmap from unsigned char -> bool |
||||
|
||||
## Operations on Strings |
||||
|
||||
* `case.h` |
||||
<br/>Case-changers |
||||
* `escaping.h` |
||||
<br/>Escapers and unescapers |
||||
* `str_join.h` |
||||
<br/>Joiner functions using a delimiter |
||||
* `str_split.h` |
||||
<br/>Split functions |
||||
* `str_cat.h` |
||||
<br/>Concatenators and appenders |
||||
* `string_view_utils.h` |
||||
<br>Utility functions for strings |
||||
* `strip.h` |
||||
<br/>Character removal functions |
||||
* `substitute.h` |
||||
<br/>Printf-like typesafe formatter |
||||
|
||||
## Miscellaneous |
||||
|
||||
* `util.h` |
||||
<br/>Grab bag of useful std::string functions |
||||
|
||||
|
||||
## Cord Library File Listing |
||||
|
||||
The following header files are directly included within the |
||||
`absl::strings::cord` library: |
||||
|
||||
## The `Cord` Class |
||||
|
||||
* `cord.h` |
||||
<br/>A std::string built from a tree of shareable nodes |
||||
|
||||
## Operations on Cords |
||||
|
||||
* `cord_cat.h` |
||||
<br/>Concatenator functions for cords |
||||
* `cord_util.h` |
||||
<br/>Utility functions for cords |
@ -1,40 +0,0 @@ |
||||
"""Common definitions of gunit and gmock dependencies for Abseil.""" |
||||
|
||||
# pylint: disable=pointless-std::string-statement |
||||
|
||||
# TODO(absl-team): Clean up below selectors when possible. Hold on to them for |
||||
# now as we may still need our own gunit_main selectors that do not bring in any |
||||
# heapchecker-related deps, and possibly to deal with benchmark dependencies. |
||||
|
||||
"""Use GUNIT_DEPS_SELECTOR when you don't need gunit_main.""" |
||||
GUNIT_DEPS_SELECTOR = { |
||||
"//conditions:default": [ |
||||
"@com_google_googletest//:gtest", |
||||
], |
||||
} |
||||
|
||||
"""Use GUNIT_MAIN_DEPS_SELECTOR to get gunit_main with leak checking.""" |
||||
GUNIT_MAIN_DEPS_SELECTOR = { |
||||
"//conditions:default": [ |
||||
"@com_google_googletest//:gtest_main", |
||||
], |
||||
} |
||||
|
||||
# TODO(absl-team): In order to set up absl deps on leak checking |
||||
# without base, we'll need gunit_main without either |
||||
# base:heapcheck or base:noheapcheck. |
||||
GUNIT_MAIN_NO_LEAK_CHECK_DEPS = [ |
||||
"@com_google_googletest//:gtest_main", |
||||
] |
||||
|
||||
# TODO(alanjones): Merge this into @com_google_googletest//:gunit_main_no_heapcheck |
||||
GUNIT_MAIN_NO_LEAK_CHECK_PORTABLE_DEPS = [ |
||||
"@com_google_googletest//:gtest_main", |
||||
] |
||||
|
||||
"""Use GUNIT_MAIN_NO_LEAK_CHECK_DEPS_SELECTOR to turn off leak checking.""" |
||||
GUNIT_MAIN_NO_LEAK_CHECK_DEPS_SELECTOR = { |
||||
"//absl:ios": GUNIT_MAIN_NO_LEAK_CHECK_PORTABLE_DEPS, |
||||
"//absl:windows": GUNIT_MAIN_NO_LEAK_CHECK_PORTABLE_DEPS, |
||||
"//conditions:default": GUNIT_MAIN_NO_LEAK_CHECK_DEPS, |
||||
} |
Loading…
Reference in new issue