MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / AbstractString

Method AbstractString

src/common/classes/fb_string.cpp:92–97  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

90 const AbstractString::size_type AbstractString::npos = (AbstractString::size_type)(~0);
91
92 AbstractString::AbstractString(const size_type limit, const AbstractString& v)
93 : max_length(static_cast<internal_size_type>(limit))
94 {
95 initialize(v.length());
96 memcpy(stringBuffer, v.c_str(), v.length());
97 }
98
99 AbstractString::AbstractString(const size_type limit, const size_type sizeL, const void* dataL)
100 : max_length(static_cast<internal_size_type>(limit))

Callers

nothing calls this directly

Calls 3

raiseFunction · 0.85
lengthMethod · 0.45
c_strMethod · 0.45

Tested by

no test coverage detected