Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

3
LINES

< > BotCompany Repo | #1034797 // boostHashCombine64 - simple analog of boostHashCombine for 64 bit (not sure how good it is)

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (30L/1K).

static long boostHashCombine64(long a, long b) {
  ret a ^ (b + 0x9e3779b97f4a7c15L + (a << 6) + (a >>> 2));
}

Author comment

Began life as a copy of #1025185

download  show line numbers  debug dex  old transpilations   

Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1034797
Snippet name: boostHashCombine64 - simple analog of boostHashCombine for 64 bit (not sure how good it is)
Eternal ID of this version: #1034797/1
Text MD5: 000971a9027ecab2628b1a0c8c98d41e
Transpilation MD5: f8ed9a88cbf19989076ead26dd0dfc10
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-03-10 18:09:12
Source code size: 112 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 66 / 104
Referenced in: [show references]