From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp55.i.mail.ru (smtp55.i.mail.ru [217.69.128.35]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dev.tarantool.org (Postfix) with ESMTPS id EDA6E4765E0 for ; Sat, 26 Dec 2020 16:58:30 +0300 (MSK) Date: Sat, 26 Dec 2020 16:57:44 +0300 From: Sergey Kaplun Message-ID: <20201226135744.GW9101@root> References: <20201225214245.GG5396@tarantool.org> <20201226093252.GV9101@root> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201226093252.GV9101@root> Subject: Re: [Tarantool-patches] [PATCH luajit v2 1/7] utils: introduce leb128 reader and writer List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Igor Munkin , tarantool-patches@dev.tarantool.org Sorry for my Runglish again. Change back articles "an uint" -> "a uint". See the iterative patch below. Branch is force-pushed. =================================================================== diff --git a/src/lj_utils.h b/src/lj_utils.h index 63d6c84..f5c1579 100644 --- a/src/lj_utils.h +++ b/src/lj_utils.h @@ -29,13 +29,13 @@ size_t LJ_FASTCALL lj_utils_read_leb128_n(int64_t *out, const uint8_t *buffer, size_t n); /* -** Reads a value from a buffer of bytes to an uint64_t output. +** Reads a value from a buffer of bytes to a uint64_t output. ** No bounds checks for the buffer. Returns number of bytes read. */ size_t LJ_FASTCALL lj_utils_read_uleb128(uint64_t *out, const uint8_t *buffer); /* -** Reads a value from a buffer of bytes to an uint64_t output. Consumes no more +** Reads a value from a buffer of bytes to a uint64_t output. Consumes no more ** than n bytes. No bounds checks for the buffer. Returns number of bytes ** read. If more than n bytes is about to be consumed, returns 0 without ** touching out. =================================================================== -- Best regards, Sergey Kaplun