mirror of
https://github.com/quickwit-oss/tantivy.git
synced 2026-01-09 18:42:54 +00:00
Renamed S4BP128*
This commit is contained in:
@@ -70,7 +70,7 @@ extern "C" {
|
||||
}
|
||||
|
||||
|
||||
size_t encode_sorted_native(
|
||||
size_t encode_s4_bp128_dm_native(
|
||||
uint32_t* begin,
|
||||
const size_t num_els,
|
||||
uint32_t* output,
|
||||
@@ -83,6 +83,17 @@ extern "C" {
|
||||
return output_length;
|
||||
}
|
||||
|
||||
size_t decode_s4_bp128_dm_native(
|
||||
const uint32_t* compressed_data,
|
||||
const size_t compressed_size,
|
||||
uint32_t* uncompressed,
|
||||
const size_t uncompressed_capacity) {
|
||||
size_t num_ints = uncompressed_capacity;
|
||||
codec_sorted -> decodeArray(compressed_data, compressed_size, uncompressed, num_ints);
|
||||
return num_ints;
|
||||
}
|
||||
|
||||
|
||||
size_t encode_unsorted_native(
|
||||
uint32_t* begin,
|
||||
const size_t num_els,
|
||||
@@ -96,15 +107,7 @@ extern "C" {
|
||||
return output_length;
|
||||
}
|
||||
|
||||
size_t decode_sorted_native(
|
||||
const uint32_t* compressed_data,
|
||||
const size_t compressed_size,
|
||||
uint32_t* uncompressed,
|
||||
const size_t uncompressed_capacity) {
|
||||
size_t num_ints = uncompressed_capacity;
|
||||
codec_sorted -> decodeArray(compressed_data, compressed_size, uncompressed, num_ints);
|
||||
return num_ints;
|
||||
}
|
||||
|
||||
|
||||
size_t decode_unsorted_native(
|
||||
const uint32_t* compressed_data,
|
||||
|
||||
Reference in New Issue
Block a user