MCPcopy Create free account
hub / github.com/PixarAnimationStudios/OpenSubdiv / ShortEnd

Method ShortEnd

opensubdiv/bfr/hash.cpp:254–267  ·  view source on GitHub ↗

Mix all 4 inputs together so that h0, h1 are a hash of them all. For two inputs differing in just the input bits Where "differ" means xor or subtraction And the base value is random, or a counting value starting at that bit The final result will have each bit of h0, h1 flip For every input bit, with probability 50 +- .3% (it is probably better than that) For every pair of input bits, with probabi

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected