From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from [87.239.111.99] (localhost [127.0.0.1]) by dev.tarantool.org (Postfix) with ESMTP id 9E09D6EC59; Wed, 10 Mar 2021 23:31:26 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 9E09D6EC59 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tarantool.org; s=dev; t=1615408286; bh=BKxohKIx6uPxPlBZjTHklFV0QXi2cj/x2Dj+hPZB9QQ=; h=Date:To:References:In-Reply-To:Subject:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=sdoVSw4gRVMg2h4b+FeQmHiiCv6aNLS6trOg/aHaLr61mk1cfnqdVz2sw9SPb4Txo AWHgMShI+P7uLNYSH1fIsWcH6JGlkD48IIXbWAzJWcrOiPO6+XEkjvv+s9ij+sjZ7x R9/E7sdjebSnMbvJ4lHdBkd9dTs0jfUHn2Z7lDkc= Received: from mail-lj1-f170.google.com (mail-lj1-f170.google.com [209.85.208.170]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by dev.tarantool.org (Postfix) with ESMTPS id ECBC06EC59 for ; Wed, 10 Mar 2021 23:31:24 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org ECBC06EC59 Received: by mail-lj1-f170.google.com with SMTP id p15so27309214ljc.13 for ; Wed, 10 Mar 2021 12:31:24 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=BKxohKIx6uPxPlBZjTHklFV0QXi2cj/x2Dj+hPZB9QQ=; b=qaQSk72sEAkzmT1qVzgkvQVC59hbiWqR7rrufimkql3jRUwY0Dwxy+YkGLkuzwH1Pw JrZpGOLlcqZ5LFriNIMIbXUUS//vnxrYG4ZB8pQRHFXVj7pDsy8wTLlf3FMqq93OVCNO nJmmBnvVftPrxTZ1bmbZ7FyJ2iDck1uhbyB3t/0KgvobDkyXRg15g9TcHzJgpOGHlQ4B 5LUI3W8ui3uVFBzXUKMB8IgRAw/VNi1eqZ4yDMEghUspAAiDYtMIjnGfH/lAQNYZ9mW0 Xvi3QV0jpQ5jEL1xXrUO0n9xP9QDSQMn5WZgSCnNuTjvMWqGckv6QaMwPrH/xqzizAo9 CYVQ== X-Gm-Message-State: AOAM531bL05MQqpeMn/3vHmFKLH/VHMt1UxMdE970kcaUtWDYU+ayQNl 8dXhZa4q/16WUT4CPROsw04sc/ywd1KgfQ== X-Google-Smtp-Source: ABdhPJzaC5IoeWNDr9T2fBO/+NrCx4O3pUAJB641UztHOV76NPdTqbLMnCRwL54zvbc/pPr0T0JCpw== X-Received: by 2002:a2e:9044:: with SMTP id n4mr2893143ljg.202.1615408283773; Wed, 10 Mar 2021 12:31:23 -0800 (PST) Received: from grain.localdomain ([5.18.171.94]) by smtp.gmail.com with ESMTPSA id q25sm114698lfn.42.2021.03.10.12.31.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Mar 2021 12:31:22 -0800 (PST) Received: by grain.localdomain (Postfix, from userid 1000) id DCED5560175; Wed, 10 Mar 2021 23:31:21 +0300 (MSK) Date: Wed, 10 Mar 2021 23:31:21 +0300 To: Sergey Kaplun Message-ID: References: <20210310102519.18720-1-skaplun@tarantool.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210310102519.18720-1-skaplun@tarantool.org> User-Agent: Mutt/2.0.5 (2021-01-21) Subject: Re: [Tarantool-patches] [PATCH] test: full testing of guava golden100 array X-BeenThere: tarantool-patches@dev.tarantool.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Cyrill Gorcunov via Tarantool-patches Reply-To: Cyrill Gorcunov Cc: tarantool-patches@dev.tarantool.org Errors-To: tarantool-patches-bounces@dev.tarantool.org Sender: "Tarantool-patches" On Wed, Mar 10, 2021 at 01:25:19PM +0300, Sergey Kaplun wrote: > golden100 is an array of int32_t elements. So sizeof(uint64_t) > is exactly double array element size. In other words, only half > of golden100 array is checked. This patch makes calculation of > array size type-independed. Ack