• Home
  • Samples
  • Api Documentation
Show / Hide Table of Contents
  • Aximo
    • AssetManager
    • AxMath
    • AxPixelFormat
    • AxPrimitiveType
    • BoxExtensions
    • BoxHelper
    • BufferData
    • BufferData1D
    • BufferData1D<T>
    • BufferData2D
    • BufferData2D<T>
    • BufferData3D
    • BufferData3D<T>
    • BufferDataExtentions
    • Camera
    • Camera.CameraChangedDelegate
    • CameraType
    • DebugHelper
    • DictionaryExtensions
    • EventCounter
    • FaceExtensions
    • GenerateFileDelegate
    • Hashing
    • IArray<T>
    • IData
    • IDynamicArray<T>
    • ImageExtensions
    • IPosition
    • IVisitor
    • IVisitorNode
    • Line2
    • Line3
    • ListExtensions
    • Log
    • LogExtensions
    • Mesh
    • MeshColorComponent
    • MeshComponent
    • MeshComponent<T>
    • MeshComponentType
    • MeshFace<T>
    • MeshFaceType
    • MeshNormalComponent
    • MeshPosition2Component
    • MeshPosition3Component
    • MeshPositionComponent<T>
    • MeshUVComponent
    • MeshVertexList<T>
    • OrthographicCamera
    • PathBuilder
    • PerspectiveFieldOfViewCamera
    • Plane
    • Ray
    • ScreenResizeEventArgs
    • SharedLib
    • StreamExtensions
    • StringExtensions
    • Transform
    • VectorExtensions
    • VectorHelper
  • Aximo.Engine
    • Actor
    • ActorComponent
    • AfterApplicationInitializedDelegate
    • Application
    • ApplicationConfig
    • BufferComponent
    • CommandLineOptions
    • ISceneInterface
    • LerpFunc<TValue>
    • Material
    • Material.Parameter
    • Material.ParamterType
    • MaterialManager
    • MeshBuilder
    • PipelineType
    • PrimitiveDrawInterface
    • PrimitiveSceneProxy
    • ScaleFunc
    • ScaleFuncs
    • SceneComponent
    • SceneContext
    • SceneObject
    • Shader
    • Startup
    • Startup<TApplication, TGtk>
    • Startup<TApplication>
    • StaticMeshSceneProxy
    • StaticPrimitiveDrawInterface
    • TaskQueue
    • Texture
    • TextureManager
    • Tween
    • Tween<TValue>
    • Tween1
    • Tween2
    • Tween3
    • TweenBuilder
    • TweenBuilder<TTarget>
    • TweenBuilderExtensions
    • TweenFinishedDelegate
    • TweenState
    • TweenStopBehavior
  • Aximo.Engine.Audio
    • AudioManager
  • Aximo.Engine.Components.Geometry
    • CrossLineComponent
    • CubeComponent
    • DebugCubeComponent
    • GraphicsScreenTextureComponent
    • GridPlaneComponent
    • LineComponent
    • MeshComponent
    • PrimitiveComponent
    • QuadComponent
    • ScreenTextureComponent
    • SkyBoxComponent
    • SphereComponent
    • StaticMeshComponent
    • StatsComponent
  • Aximo.Engine.Components.Lights
    • DirectionalLightComponent
    • LightComponent
    • PointLightComponent
  • Aximo.Engine.Components.UI
    • UIAnchors
    • UIButton
    • UIButtonComponent
    • UIComponent
    • UIContainerComponent
    • UIDock
    • UIFloatingContainer
    • UIFlowContainer
    • UIImage
    • UILabelComponent
    • UIPanelComponent
    • UIRect
  • Aximo.Engine.Windows
    • GtkUI
    • MouseButtonArgs
    • MouseMoveArgs
    • RenderWindow
    • WindowContext
  • Aximo.Generators.AlchemyCircle
    • AlchemyCircleGenerator
    • AlchemyCircleOptions
    • CiaccoRandom
    • TextureDraw
  • Aximo.Render
    • IBounds
    • IDeferredRenderable
    • IForwardRenderable
    • ILightObject
    • ILightTarget
    • IMeshObject
    • IReloadable
    • IRenderableObject
    • IRenderObject
    • IRenderTarget
    • IScaleRotate
    • IScreenRenderable
    • IShadowObject
    • IUpdateFrame
    • LightType
    • MaterialColorBlendMode
    • MeshDepthSorter
    • PixelFormatExtensions
    • PrimitiveObject
    • RenderContext
    • Renderer
    • RendererMaterial
    • ScreenTextureObject
    • SlotAllocator<T>
  • Aximo.Render.Objects
    • LightObject
    • RenderObject
    • RenderObjectBase
    • ScreenSceneObject
    • ScreenshotObject
    • SimpleVertexObject
    • SkyboxObject
  • Aximo.Render.OpenGL
    • BindingPoint
    • BufferObject
    • CullFaceMode
    • DepthFunction
    • DynamicInternalMesh
    • ElementsBufferObject
    • FlushRenderBackend
    • FrameBuffer
    • GraphicsDevice
    • GraphicsTexture
    • InternalLightManager
    • InternalMesh
    • InternalTextureManager
    • IObjectHandle
    • IObjectIdentifier
    • IObjectLabel
    • MeshData
    • MeshData<T>
    • MeshDataBuilder
    • MeshExtensions
    • ObjectManager
    • RenderBuffer
    • RendererShader
    • RendererTexture
    • ShaderCompilation
    • ShaderSource
    • StaticInternalMesh
    • StructHelper
    • UniformBufferObject
    • VertexArrayObject
    • VertexBufferObject
    • VertexLayoutBinded
    • VertexLayoutBindedAttribute
    • VertexLayoutDefinition
    • VertexLayoutDefinitionAttribute
  • Aximo.Render.Pipelines
    • DeferredPass
    • DeferredRenderPipeline
    • DirectionalShadowRenderPipeline
    • ForwardRenderPipeline
    • IRenderPipeline
    • PointShadowRenderPipeline
    • RenderPipeline
    • ScreenPipeline
  • Aximo.Util.IcoSphere
    • IcoSphereCreator
    • IcoSphereMesh
    • MeshGeometry3D
    • TriangleIndices
    • VertexSoup<TVertexStruct>
  • Aximo.VertexData
    • EngineExtensions
    • IPrimitive
    • IPrimitive<TVertex>
    • IVertex
    • IVertexColor
    • IVertexNormal
    • IVertexPos2UV
    • IVertexPosColor
    • IVertexPosition<TVector>
    • IVertexPosition2
    • IVertexPosition3
    • IVertexPosNormalColor
    • IVertexPosNormalUV
    • IVertexPosUV
    • IVertexUV
    • Line<TVertex>
    • Polygon<TVertex>
    • Quad<TVertex>
    • VertexDataPos
    • VertexDataPos2
    • VertexDataPos2UV
    • VertexDataPosColor
    • VertexDataPosNormalColor
    • VertexDataPosNormalUV
    • VertexDataPosUV
  • OpenToolkit.Mathematics
    • AntiVector4d
    • BiVector3d
    • BiVector4d
    • Rotor3

Class Hashing

Fast Hash Algorithm

Inheritance
System.Object
Hashing
Namespace: Aximo
Assembly: AxCommon.dll
Syntax
public static class Hashing

Methods

| Improve this Doc View Source

Combine2IntToInt64(Int32, Int32)

Declaration
public static long Combine2IntToInt64(int high, int low)
Parameters
Type Name Description
System.Int32 high
System.Int32 low
Returns
Type Description
System.Int64
| Improve this Doc View Source

Combine2IntToInt64(UInt32, UInt32)

Declaration
public static ulong Combine2IntToInt64(uint high, uint low)
Parameters
Type Name Description
System.UInt32 high
System.UInt32 low
Returns
Type Description
System.UInt64
| Improve this Doc View Source

FNV32(Byte[])

Declaration
public static int FNV32(params byte[] data)
Parameters
Type Name Description
System.Byte[] data
Returns
Type Description
System.Int32
| Improve this Doc View Source

FNV32(Char[])

Declaration
public static int FNV32(params char[] data)
Parameters
Type Name Description
System.Char[] data
Returns
Type Description
System.Int32
| Improve this Doc View Source

FNV32(Memory<Byte>)

Declaration
public static int FNV32(Memory<byte> data)
Parameters
Type Name Description
System.Memory<System.Byte> data
Returns
Type Description
System.Int32
| Improve this Doc View Source

FNV32(Span<Byte>)

Declaration
public static int FNV32(Span<byte> data)
Parameters
Type Name Description
System.Span<System.Byte> data
Returns
Type Description
System.Int32
| Improve this Doc View Source

FNV32(String)

Declaration
public static int FNV32(string data)
Parameters
Type Name Description
System.String data
Returns
Type Description
System.Int32
| Improve this Doc View Source

FNV32<T>(Memory<T>)

Declaration
public static int FNV32<T>(Memory<T> data)
    where T : struct
Parameters
Type Name Description
System.Memory<T> data
Returns
Type Description
System.Int32
Type Parameters
Name Description
T
| Improve this Doc View Source

FNV32<T>(Span<T>)

Declaration
public static int FNV32<T>(Span<T> data)
    where T : struct
Parameters
Type Name Description
System.Span<T> data
Returns
Type Description
System.Int32
Type Parameters
Name Description
T
| Improve this Doc View Source

GetRandomNumberOfInteger(Int32)

Declaration
public static int GetRandomNumberOfInteger(int value)
Parameters
Type Name Description
System.Int32 value
Returns
Type Description
System.Int32
| Improve this Doc View Source

GetRandomNumberOfInteger(Int32, Int32)

Declaration
public static int GetRandomNumberOfInteger(int value, int version)
Parameters
Type Name Description
System.Int32 value
System.Int32 version
Returns
Type Description
System.Int32
| Improve this Doc View Source

GetRandomNumberOfInteger(Int32, Int32, Int32)

Declaration
public static int GetRandomNumberOfInteger(int value, int version, int maxValue)
Parameters
Type Name Description
System.Int32 value
System.Int32 version
System.Int32 maxValue
Returns
Type Description
System.Int32
| Improve this Doc View Source

GetRandomNumberOfInteger(Int32, Int32, Int32, Int32)

Declaration
public static int GetRandomNumberOfInteger(int value, int version, int minValue, int maxValue)
Parameters
Type Name Description
System.Int32 value
System.Int32 version
System.Int32 minValue
System.Int32 maxValue
Returns
Type Description
System.Int32
| Improve this Doc View Source

Hash6432shift(Int64)

Declaration
public static int Hash6432shift(long key)
Parameters
Type Name Description
System.Int64 key
Returns
Type Description
System.Int32
| Improve this Doc View Source

HashInteger(Int32)

Declaration
public static int HashInteger(int a)
Parameters
Type Name Description
System.Int32 a
Returns
Type Description
System.Int32
| Improve this Doc View Source

HashInteger(Int32, Int32)

Declaration
public static int HashInteger(int a, int b)
Parameters
Type Name Description
System.Int32 a
System.Int32 b
Returns
Type Description
System.Int32
| Improve this Doc View Source

HashInteger(Int32, Int32, Int32)

Declaration
public static int HashInteger(int a, int b, int c)
Parameters
Type Name Description
System.Int32 a
System.Int32 b
System.Int32 c
Returns
Type Description
System.Int32
| Improve this Doc View Source

HashInteger(Int32, Int32, Int32, Int32)

Declaration
public static int HashInteger(int a, int b, int c, int d)
Parameters
Type Name Description
System.Int32 a
System.Int32 b
System.Int32 c
System.Int32 d
Returns
Type Description
System.Int32
| Improve this Doc View Source

HashInteger(Int32, Int32, Int32, Int32, Int32)

Declaration
public static int HashInteger(int a, int b, int c, int d, int e)
Parameters
Type Name Description
System.Int32 a
System.Int32 b
System.Int32 c
System.Int32 d
System.Int32 e
Returns
Type Description
System.Int32
| Improve this Doc View Source

HashInteger(Int32, Int32, Int32, Int32, Int32, Int32)

Declaration
public static int HashInteger(int a, int b, int c, int d, int e, int f)
Parameters
Type Name Description
System.Int32 a
System.Int32 b
System.Int32 c
System.Int32 d
System.Int32 e
System.Int32 f
Returns
Type Description
System.Int32
| Improve this Doc View Source

HashInteger(Int32, Int32, Int32, Int32, Int32, Int32, Int32)

Declaration
public static int HashInteger(int a, int b, int c, int d, int e, int f, int g)
Parameters
Type Name Description
System.Int32 a
System.Int32 b
System.Int32 c
System.Int32 d
System.Int32 e
System.Int32 f
System.Int32 g
Returns
Type Description
System.Int32
| Improve this Doc View Source

HashInteger(UInt32)

https://burtleburtle.net/bob/hash/integer.html, by Thomas Wang

Declaration
public static uint HashInteger(uint a)
Parameters
Type Name Description
System.UInt32 a
Returns
Type Description
System.UInt32
| Improve this Doc View Source

HashLarson(Byte[], UInt32)

Declaration
public static uint HashLarson(byte[] key, uint len)
Parameters
Type Name Description
System.Byte[] key
System.UInt32 len
Returns
Type Description
System.UInt32
| Improve this Doc View Source

HashLarson(Int32)

Declaration
public static uint HashLarson(int a)
Parameters
Type Name Description
System.Int32 a
Returns
Type Description
System.UInt32
| Improve this Doc View Source

Mix(Int32, Int32)

Declaration
public static int Mix(int a, int b)
Parameters
Type Name Description
System.Int32 a
System.Int32 b
Returns
Type Description
System.Int32
| Improve this Doc View Source

Mix(Int32, Int32, Int32)

Declaration
public static int Mix(int a, int b, int c)
Parameters
Type Name Description
System.Int32 a
System.Int32 b
System.Int32 c
Returns
Type Description
System.Int32
| Improve this Doc View Source

Mix(UInt32, UInt32)

Declaration
public static uint Mix(uint a, uint b)
Parameters
Type Name Description
System.UInt32 a
System.UInt32 b
Returns
Type Description
System.UInt32
| Improve this Doc View Source

Mix(UInt32, UInt32, UInt32)

Robert Jenkins' 96 bit Mix Function

Declaration
public static uint Mix(uint a, uint b, uint c)
Parameters
Type Name Description
System.UInt32 a
System.UInt32 b
System.UInt32 c
Returns
Type Description
System.UInt32
| Improve this Doc View Source

RotateLeft(Int32, Int32)

Declaration
public static int RotateLeft(int value, int count)
Parameters
Type Name Description
System.Int32 value
System.Int32 count
Returns
Type Description
System.Int32
| Improve this Doc View Source

RotateLeft(Int64, Int32)

Declaration
public static long RotateLeft(long value, int count)
Parameters
Type Name Description
System.Int64 value
System.Int32 count
Returns
Type Description
System.Int64
| Improve this Doc View Source

RotateLeft(UInt32, Int32)

Declaration
public static uint RotateLeft(uint value, int count)
Parameters
Type Name Description
System.UInt32 value
System.Int32 count
Returns
Type Description
System.UInt32
| Improve this Doc View Source

RotateLeft(UInt64, Int32)

Declaration
public static ulong RotateLeft(ulong value, int count)
Parameters
Type Name Description
System.UInt64 value
System.Int32 count
Returns
Type Description
System.UInt64
| Improve this Doc View Source

RotateRight(Int32, Int32)

Declaration
public static int RotateRight(int value, int count)
Parameters
Type Name Description
System.Int32 value
System.Int32 count
Returns
Type Description
System.Int32
| Improve this Doc View Source

RotateRight(Int64, Int32)

Declaration
public static long RotateRight(long value, int count)
Parameters
Type Name Description
System.Int64 value
System.Int32 count
Returns
Type Description
System.Int64
| Improve this Doc View Source

RotateRight(UInt32, Int32)

Declaration
public static uint RotateRight(uint value, int count)
Parameters
Type Name Description
System.UInt32 value
System.Int32 count
Returns
Type Description
System.UInt32
| Improve this Doc View Source

RotateRight(UInt64, Int32)

Declaration
public static ulong RotateRight(ulong value, int count)
Parameters
Type Name Description
System.UInt64 value
System.Int32 count
Returns
Type Description
System.UInt64
  • Improve this Doc
  • View Source
Back to top Generated by DocFX