MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / BindBlob

Method BindBlob

tensorflow/core/lib/db/sqlite.h:254–259  ·  view source on GitHub ↗

\brief Copies binary data to 1-indexed query parameter. When using the unsafe methods, the data must not be changed or freed until this statement is Reset() or finalized.

Source from the content-addressed store, hash-verified

252 /// When using the unsafe methods, the data must not be changed or
253 /// freed until this statement is Reset() or finalized.
254 void BindBlob(int parameter, const StringPiece& blob) {
255 Update(sqlite3_bind_blob64(stmt_, parameter, blob.data(), blob.size(),
256 SQLITE_TRANSIENT),
257 parameter);
258 size_ += blob.size();
259 }
260 void BindBlob(const char* parameter, const StringPiece& blob) {
261 BindBlob(GetParameterIndex(parameter), blob);
262 }

Callers 1

TEST_FFunction · 0.80

Calls 3

UpdateFunction · 0.85
dataMethod · 0.45
sizeMethod · 0.45

Tested by 1

TEST_FFunction · 0.64