commit | 4f504e4c4b229d883002d6dfb0a5512277ebfb69 | [log] [tgz] |
---|---|---|
author | Mario Salazar de Torres <mario.salazar.de.torres@est.tech> | Fri Dec 18 19:57:01 2020 +0100 |
committer | GitHub <noreply@github.com> | Fri Dec 18 10:57:01 2020 -0800 |
tree | 65121e2dcf2e332adc76c5a872bffef4582afd87 | |
parent | 8b0a5dc4294316241d6cbfce62a03dad10e1d18c [diff] |
GEODE-8756: Fix CacheableString::objectSize (#703) - objectSize was not taking into account null-terminator character, which as of C++11, as stated in ยง 21.4.7.1, should be included at the end of the same string character sequence. - Also, in those cases in which SSO applied, the returned size was higher than the actual one. - A parametrized UT was added to check objectSize is returning the right size. Note that no fixed sizes are part of such test, given that each std::string implementation could have a different SSO size. * Revision 2 - Added a new class called size_tracking_allocator, which is a custom allocator used to track the size STL objects. - Changed testing approach so it does not replicate internal logic, and instead it instantiates a basic_string<char> with the new custom allocator so heap size is tracked this way.
Overview
Building from Source
Application Development
Native Client is a client implementation for Apache Geode that does not require the Java server JARs.
Directions to build Native Client from source can be found in the source distribution in BUILDING.md.
Native Client applications can be written in these client technologies:
This distribution includes cryptographic software. The country in which you currently reside may have restrictions on the import, possession, use, and/or re-export to another country, of encryption software. BEFORE using any encryption software, please check your country's laws, regulations and policies concerning the import, possession, or use, and re-export of encryption software, to see if this is permitted. See http://www.wassenaar.org/ for more information.
The U.S. Government Department of Commerce, Bureau of Industry and Security (BIS), has classified this software as Export Commodity Control Number (ECCN) 5D002.C.1, which includes information security software using or performing cryptographic functions with asymmetric algorithms. The form and manner of this Apache Software Foundation distribution makes it eligible for export under the License Exception ENC Technology Software Unrestricted (TSU) exception (see the BIS Export Administration Regulations, Section 740.13) for both object code and source code.
The following provides more details on the included cryptographic software: