MCPcopy Create free account
hub / github.com/TileDB-Inc/TileDB / tiledb_string_view

Function tiledb_string_view

tiledb/api/c_api/string/string_api.cc:39–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37namespace tiledb::api {
38
39capi_return_t tiledb_string_view(
40 tiledb_string_handle_t* s, const char** data, size_t* length) {
41 ensure_string_is_valid(s);
42 ensure_output_pointer_is_valid(data);
43 ensure_output_pointer_is_valid(length);
44 auto sv{s->view()};
45 *data = sv.data();
46 *length = sv.length();
47 return TILEDB_OK;
48}
49
50capi_return_t tiledb_string_free(tiledb_string_handle_t** s) {
51 ensure_output_pointer_is_valid(s);

Callers 15

dumpMethod · 0.85
nameMethod · 0.85
get_enumeration_nameMethod · 0.85
strMethod · 0.85
nameMethod · 0.85
dirMethod · 0.85

Calls 4

ensure_string_is_validFunction · 0.85
viewMethod · 0.80
dataMethod · 0.45

Tested by

no test coverage detected