PostgreSQL Source Code git master
|
Go to the source code of this file.
Macros | |
#define | LEN_NO_TAIL(vectortype) (2 * sizeof(vectortype)) |
#define | LEN_WITH_TAIL(vectortype) (LEN_NO_TAIL(vectortype) + 3) |
#define | TEST_ARRAY_SIZE 135 |
Functions | |
static void | test_lfind8_internal (uint8 key) |
PG_FUNCTION_INFO_V1 (test_lfind8) | |
Datum | test_lfind8 (PG_FUNCTION_ARGS) |
static void | test_lfind8_le_internal (uint8 key) |
PG_FUNCTION_INFO_V1 (test_lfind8_le) | |
Datum | test_lfind8_le (PG_FUNCTION_ARGS) |
PG_FUNCTION_INFO_V1 (test_lfind32) | |
Datum | test_lfind32 (PG_FUNCTION_ARGS) |
Variables | |
PG_MODULE_MAGIC | |
#define LEN_NO_TAIL | ( | vectortype | ) | (2 * sizeof(vectortype)) |
Definition at line 23 of file test_lfind.c.
#define LEN_WITH_TAIL | ( | vectortype | ) | (LEN_NO_TAIL(vectortype) + 3) |
Definition at line 24 of file test_lfind.c.
#define TEST_ARRAY_SIZE 135 |
PG_FUNCTION_INFO_V1 | ( | test_lfind32 | ) |
PG_FUNCTION_INFO_V1 | ( | test_lfind8 | ) |
PG_FUNCTION_INFO_V1 | ( | test_lfind8_le | ) |
Datum test_lfind32 | ( | PG_FUNCTION_ARGS | ) |
Definition at line 120 of file test_lfind.c.
References elog, ERROR, pg_lfind32(), PG_RETURN_VOID, and TEST_ARRAY_SIZE.
Datum test_lfind8 | ( | PG_FUNCTION_ARGS | ) |
Definition at line 59 of file test_lfind.c.
References PG_RETURN_VOID, and test_lfind8_internal().
|
static |
Definition at line 30 of file test_lfind.c.
References elog, ERROR, sort-test::key, LEN_NO_TAIL, LEN_WITH_TAIL, and pg_lfind8().
Referenced by test_lfind8().
Datum test_lfind8_le | ( | PG_FUNCTION_ARGS | ) |
Definition at line 104 of file test_lfind.c.
References PG_RETURN_VOID, and test_lfind8_le_internal().
|
static |
Definition at line 75 of file test_lfind.c.
References elog, ERROR, sort-test::key, LEN_NO_TAIL, LEN_WITH_TAIL, and pg_lfind8_le().
Referenced by test_lfind8_le().
PG_MODULE_MAGIC |
Definition at line 26 of file test_lfind.c.