mirror of
https://github.com/apache/arrow.git
synced 2026-10-28 16:47:19 +08:00
Fix documentation compiler warnings
Change-Id: Ie1f126f2d9ad83feafe5ec19e32e10a2cf404d12
This commit is contained in:
1 parent
f76b2b93e3
commit
cae05fb542
5 files changed
+6
-9
No files matched your search
@@ -149,7 +149,7 @@ Status CheckFlatNumpyArray(PyArrayObject* numpy_array, int np_type) {
|
||||
/// can fit
|
||||
///
|
||||
/// \param[in] offset starting offset for appending
|
||||
/// \param[out] values_consumed ending offset where we stopped appending. Will
|
||||
/// \param[out] end_offset ending offset where we stopped appending. Will
|
||||
/// be length of arr if fully consumed
|
||||
/// \param[out] have_bytes true if we encountered any PyBytes object
|
||||
static Status AppendObjectStrings(PyArrayObject* arr, PyArrayObject* mask, int64_t offset,
|
||||
|
||||
@@ -42,7 +42,7 @@ namespace py {
|
||||
/// \param[in] pool Memory pool for any memory allocations
|
||||
/// \param[in] ao an ndarray with the array data
|
||||
/// \param[in] mo an ndarray with a null mask (True is null), optional
|
||||
/// \param[in] type
|
||||
/// \param[in] type a specific type to cast to, may be null
|
||||
/// \param[out] out a ChunkedArray, to accommodate chunked output
|
||||
ARROW_EXPORT
|
||||
Status NdarrayToArrow(MemoryPool* pool, PyObject* ao, PyObject* mo,
|
||||
|
||||
@@ -297,12 +297,11 @@ class DictBuilder {
|
||||
|
||||
/// Construct an Arrow StructArray representing the dictionary.
|
||||
/// Contains a field "keys" for the keys and "vals" for the values.
|
||||
|
||||
/// \param list_data
|
||||
/// \param val_list_data
|
||||
/// List containing the data from nested lists in the value
|
||||
/// list of the dictionary
|
||||
///
|
||||
/// \param dict_data
|
||||
/// \param val_dict_data
|
||||
/// List containing the data from nested dictionaries in the
|
||||
/// value list of the dictionary
|
||||
Status Finish(const Array* key_tuple_data, const Array* key_dict_data,
|
||||
|
||||
@@ -50,8 +50,7 @@ int64_t SnappyCodec::MaxCompressedLen(int64_t input_len,
|
||||
|
||||
Status SnappyCodec::Compress(int64_t input_len, const uint8_t* input,
|
||||
int64_t ARROW_ARG_UNUSED(output_buffer_len),
|
||||
uint8_t* output_buffer,
|
||||
int64_t* output_length) {
|
||||
uint8_t* output_buffer, int64_t* output_length) {
|
||||
size_t output_len;
|
||||
snappy::RawCompress(reinterpret_cast<const char*>(input),
|
||||
static_cast<size_t>(input_len),
|
||||
|
||||
@@ -165,8 +165,7 @@ class GZipCodec::GZipCodecImpl {
|
||||
return Status::OK();
|
||||
}
|
||||
|
||||
int64_t MaxCompressedLen(int64_t input_length,
|
||||
const uint8_t* ARROW_ARG_UNUSED(input)) {
|
||||
int64_t MaxCompressedLen(int64_t input_length, const uint8_t* ARROW_ARG_UNUSED(input)) {
|
||||
// Most be in compression mode
|
||||
if (!compressor_initialized_) {
|
||||
Status s = InitCompressor();
|
||||
|
||||
Reference in new issue
Block a user