Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Info

Map object into hash space + Map cache into hash space

1- Define

...

a static class Hashing

Code Block
languagec#

...

const UInt32 m = 0x5bd1e995;
const Int32 r = 24;
Code Block
languagec#
[StructLayout(LayoutKind.Explicit)]
        struct BytetoUInt32Converter
        {
         

...

 

...

 

...

 

...

[FieldOffset(0)]
     

...

  

...

 

...

 

...

 

...

 

...

 

...

public Byte[] Bytes;

            

...

[FieldOffset(0)]
            public UInt32[] UInts;
      

...

 

...

 }