MCPcopy Create free account
hub / github.com/VexDB-THU/VexDB-Lite / floatvector_eq

Function floatvector_eq

vexdb_pg/src/floatvector.cpp:707–715  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

705
706PG_FUNCTION_INFO_V1(floatvector_eq);
707Datum floatvector_eq(PG_FUNCTION_ARGS)
708{
709 FloatVector *a = (FloatVector *)PG_GETARG_FLOATVECTOR_P(0);
710 FloatVector *b = (FloatVector *)PG_GETARG_FLOATVECTOR_P(1);
711 bool res = floatvector_cmp_internal(a, b) == 0;
712 PG_FREE_IF_COPY(a, 0);
713 PG_FREE_IF_COPY(b, 1);
714 PG_RETURN_BOOL(res);
715}
716
717PG_FUNCTION_INFO_V1(floatvector_ne);
718Datum floatvector_ne(PG_FUNCTION_ARGS)

Callers

nothing calls this directly

Calls 1

floatvector_cmp_internalFunction · 0.85

Tested by

no test coverage detected