27 size_t len = strlen(str);
29 for (
int i = 0; i < len; ++i)
44 virtual std::unique_ptr<T>
create() = 0;
Provides support for custom computation implementations.
Definition: processor.h:17
virtual std::unique_ptr< T > create()=0
Factory for the current concrete subclass.
virtual constexpr int get_type()=0
Gets the unique identifier of the concrete subclass. Used for equal-type checking....
constexpr int get_hash(const char str[])
Java string hashing function. http://hg.openjdk.java.net/jdk8/jdk8/jdk/file/687fd7c7986d/src/share/cl...
Definition: processor.h:24