Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8104081
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T23:44:06+00:00 2026-06-05T23:44:06+00:00

I am confused with what value should I provide for the len parameter in

  • 0

I am confused with what value should I provide for the len parameter in the MurmurHash3_x86_128() function (and there are similar functions also). The murmurhash3 code can be found here.

If your answer is that it is the length of the key then please explain the code at line no.154.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T23:44:08+00:00Added an answer on June 5, 2026 at 11:44 pm

    It is mostly certainly the length of the data to hash in bytes, the code at line 154:

    const int nblocks = len / 16;
    

    divides this length into 128bit blocks (or 16 bytes each), this is to promote faster hashing, as MurmurHash3_x86_128() processes and mixes 16 bytes (4 x uint32) per iteration.

    you’ll notice on line 205:

    switch(len & 15)
    

    this catches any trialing bytes, if the size is not a multiple of 16, and the switch cases combine them into the final hash.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm completely confused by Lua 's variable scoping and function argument passing (value or
I am very confused. I have this lambda expression: tvPatientPrecriptionsEntities.Sort((p1, p2) => p1.MedicationStartDate .Value
I confused when i want to take single pointer and when should i take
with the topic name everyone should be confused let me explain my question.i have
Little confused, is 'driverclassname' and 'hibernate.dialect' both referring to the mysql driver? What should
Having trouble where I think I need to provide most of my code to
I'm a little confused here: I'm trying to reverse engineer the ASCII value 65.
According to the MATLAB documentation, the value of eps should be 2^-52 . eps
I am very confused about this... Here is an extract from my code.. float
I'm looking into Paxos and I'm confused about how the algorithm should behave in

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.