From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=0.2 required=5.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FORGED_GMAIL_RCVD,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,HTML_MESSAGE, MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.4 Received: from tb-ob20.topicbox.com (tb-ob20.topicbox.com [173.228.157.66]) by inbox.vuxu.org (Postfix) with ESMTP id BFA292761B for ; Wed, 12 Jun 2024 22:13:11 +0200 (CEST) Received: from tb-mx1.topicbox.com (tb-mx1.nyi.icgroup.com [10.90.30.61]) by tb-ob20.topicbox.com (Postfix) with ESMTP id E26912574A for ; Wed, 12 Jun 2024 16:13:07 -0400 (EDT) (envelope-from bounce.mM7f3b63c6b43eee3e26c57981.r522be890-2105-11eb-b15e-8d699134e1fa@9fans.bounce.topicbox.com) Received: by tb-mx1.topicbox.com (Postfix, from userid 1132) id 8CD3C155DED3; Wed, 12 Jun 2024 16:13:07 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=9fans.net; h=from:to :message-id:in-reply-to:references:date:mime-version :content-type:content-transfer-encoding:list-help:list-id :list-post:list-subscribe:reply-to:subject:list-unsubscribe; s= dkim-1; t=1718223187; x=1718309587; bh=Sdf84cE47zM6JPUSHjobzTxB2 7HNIOl5Mv8yhWPYsFY=; b=gY9co+IPpWPYrTy5q8mGokacwU/4TC51+XPO3teYI /BOMHGPzJgcfPPce8f6iAtdrkHinaqlDNl9lNrD1QaThAcUDjxa7BO5O/1c2JDBn iyrovEXtjpXUqn1Fsdk46VHBAgrs1oGry4nXpWf27nIqSpuk7ax1g6P5R8tLb30s Fk= From: wb.kloke@gmail.com To: 9fans <9fans@9fans.net> Message-Id: <17182231790.8dbf31.335687@composer.9fans.topicbox.com> In-Reply-To: <17181391500.35F5.93227@composer.9fans.topicbox.com> References: <17181391500.35F5.93227@composer.9fans.topicbox.com> Date: Wed, 12 Jun 2024 16:12:59 -0400 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary=17182231791.9644f4D8.335687 Content-Transfer-Encoding: 7bit Topicbox-Policy-Reasoning: allow: sender is a member Topicbox-Message-UUID: 2a912256-28f8-11ef-842e-c256242d11b0 Archived-At: =?UTF-8?B?PGh0dHBzOi8vOWZhbnMudG9waWNib3guY29tL2dyb3Vwcy85?= =?UTF-8?B?ZmFucy9UMjE4NzhhYTUzODg0OTExYi1NN2YzYjYzYzZiNDNlZWUzZTI2YzU3?= =?UTF-8?B?OTgxPg==?= List-Help: List-Id: "9fans" <9fans.9fans.net> List-Post: List-Software: Topicbox v0 List-Subscribe: Precedence: list Reply-To: 9fans <9fans@9fans.net> Subject: [9fans] Re: yet another try to fixup venti List-Unsubscribe: , Topicbox-Delivery-ID: 2:9fans:437d30aa-c441-11e9-8a57-d036212d11b0:522be890-2105-11eb-b15e-8d699134e1fa:M7f3b63c6b43eee3e26c57981:1:sbEB05lRIem6SJSElm9_dfpXiEr4DJjCK0_MPB7rrtY --17182231791.9644f4D8.335687 Date: Wed, 12 Jun 2024 16:12:59 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable For now, I failed to push my=C2=A0 changes to github.=C2=A0 If anybody is interested in the files, they are available in http://pkeus.d= e/~wb/mventi Copy the files int $PLAN9/src/cmd/venti/srv and try "mk o.buildtrie" . I also inserted my code into index.c to check that index lookup gives the s= ame result as before. The code snippet inserted into loadientry function is tf =3D trie_retrieve(score,&ie2); assert(tf !=3D ~0 ); assert(ie2.addr=3D=3Die->ia.addr); assert(ie2.type=3D=3Die->ia.type); assert(ie2.size=3D=3Die->ia.size); assert(ie2.blocks=3D=3Die->ia.blocks); ------------------------------------------ 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/T21878aa53884911b-M7f3b6= 3c6b43eee3e26c57981 Delivery options: https://9fans.topicbox.com/groups/9fans/subscription --17182231791.9644f4D8.335687 Date: Wed, 12 Jun 2024 16:12:59 -0400 MIME-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
For now, I failed to push my  changes to = github. 

If anybody is interested in = the files, they are available in htt= p://pkeus.de/~wb/mventi

Copy the files= int $PLAN9/src/cmd/venti/srv
and try "mk o.buildtrie&= quot; .

I also inserted my code into index= .c to check that index lookup gives the same result as before.
<= div>The code snippet inserted into loadientry function is
<= br />
               tf =3D trie_retrieve(score,&ie2);
                assert(tf !=3D ~0 );
                assert(ie2.addr=3D=3Die->ia.addr);
                assert(ie2.type=3D=3Die->ia.type);
                assert(ie2.size=3D=3Die->ia.size);
                assert(ie2.blocks=3D=3Die->ia.blocks);

= --17182231791.9644f4D8.335687--