MCPcopy Create free account
hub / github.com/apache/arrow / GetSqlWCharSize

Function GetSqlWCharSize

cpp/src/arrow/flight/sql/odbc/odbc_impl/encoding.h:39–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37void ComputeSqlWCharSize();
38
39inline size_t GetSqlWCharSize() {
40 if (SqlWCharSize == 0) {
41 ComputeSqlWCharSize();
42 }
43
44 return SqlWCharSize;
45}
46#else
47constexpr inline size_t GetSqlWCharSize() { return sizeof(char16_t); }
48#endif

Callers 15

IsValidStringFieldArgsFunction · 0.85
SQLGetDiagFieldFunction · 0.85
SQLDescribeColFunction · 0.85
TYPED_TESTFunction · 0.85
TEST_FFunction · 0.85
TYPED_TESTFunction · 0.85
TYPED_TESTFunction · 0.85
TEST_FFunction · 0.85
GetStringColumnWFunction · 0.85
ConvertToWStringFunction · 0.85
CheckStringColumnWFunction · 0.85
CheckSQLDescribeColFunction · 0.85

Calls 1

ComputeSqlWCharSizeFunction · 0.85

Tested by 12

TYPED_TESTFunction · 0.68
TEST_FFunction · 0.68
TYPED_TESTFunction · 0.68
TYPED_TESTFunction · 0.68
TEST_FFunction · 0.68
GetStringColumnWFunction · 0.68
ConvertToWStringFunction · 0.68
CheckStringColumnWFunction · 0.68
CheckSQLDescribeColFunction · 0.68
TYPED_TESTFunction · 0.68
TYPED_TESTFunction · 0.68
TESTFunction · 0.68