9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Russ Cox <rsc@swtch.com>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] validateaddress
Date: Wed, 12 Aug 2009 19:15:36 -0700	[thread overview]
Message-ID: <dd6fe68a0908121915j7a97b93amdd15c0dc4ce9e93a@mail.gmail.com> (raw)
In-Reply-To: <27EA76E9-D63C-411B-8534-9D7314D0D900@ar.aichi-u.ac.jp>

> By the way, how you can find
>        mem(*(kw+25*4), "16X")  // dumps entry for 'in'
> ?

I read khash and computed the hash for "in",
which was the string you found earlier using
strcmp.  It is ('i'*1+'n'*2)%30 == 25.

Russ


      reply	other threads:[~2009-08-13  2:15 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-10  6:11 Kenji Arisawa
2009-08-10 17:13 ` erik quanstrom
2009-08-11  3:57   ` Kenji Arisawa
2009-08-11  4:07     ` erik quanstrom
2009-08-11  5:26       ` Kenji Arisawa
2009-08-11 15:27         ` Russ Cox
2009-08-12  6:48           ` Kenji Arisawa
2009-08-12 14:59             ` Russ Cox
2009-08-13  1:39               ` Kenji Arisawa
2009-08-13  2:15                 ` Russ Cox [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=dd6fe68a0908121915j7a97b93amdd15c0dc4ce9e93a@mail.gmail.com \
    --to=rsc@swtch.com \
    --cc=9fans@9fans.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).