MCPcopy Create free account
hub / github.com/DeNA/HandlerSocket-Plugin-for-MySQL / string_wref

Class string_wref

libhsclient/string_ref.hpp:17–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15namespace dena {
16
17struct string_wref {
18 typedef char value_type;
19 char *begin() const { return start; }
20 char *end() const { return start + length; }
21 size_t size() const { return length; }
22 private:
23 char *start;
24 size_t length;
25 public:
26 string_wref(char *s = 0, size_t len = 0) : start(s), length(len) { }
27};
28
29struct string_ref {
30 typedef const char value_type;

Callers 1

get_tokenFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected