Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for mix32 (0.04 sec)

  1. src/runtime/hash32.go

    	a, b := mix32(uint32(seed), uint32(4^hashkey[0]))
    	t := readUnaligned32(p)
    	a ^= t
    	b ^= t
    	a, b = mix32(a, b)
    	a, b = mix32(a, b)
    	return uintptr(a ^ b)
    }
    
    func memhash64Fallback(p unsafe.Pointer, seed uintptr) uintptr {
    	a, b := mix32(uint32(seed), uint32(8^hashkey[0]))
    	a ^= readUnaligned32(p)
    	b ^= readUnaligned32(add(p, 4))
    	a, b = mix32(a, b)
    	a, b = mix32(a, b)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 1.6K bytes
    - Viewed (0)
  2. test/float_lit2.go

    	{0x7f7ffffe, float32(max32 - ulp32), float32(max32 - ulp32 + ulp32/2), "max32 - ulp32 + ulp32/2"},
    	{0x7f7fffff, float32(max32), float32(max32 - ulp32 + ulp32/2 + ulp32/two64), "max32 - ulp32 + ulp32/2 + ulp32/two64"},
    	{0x7f7fffff, float32(max32), float32(max32 - ulp32/2 + ulp32/two64), "max32 - ulp32/2 + ulp32/two64"},
    	{0x7f7fffff, float32(max32), float32(max32), "max32"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 14 16:39:47 UTC 2016
    - 7.9K bytes
    - Viewed (0)
  3. test/float_lit3.go

    	ulp32 = two128 / two24
    	max32 = two128 - ulp32
    
    	ulp64 = two1024 / two53
    	max64 = two1024 - ulp64
    )
    
    var x = []interface{}{
    	float32(max32 + ulp32/2 - 1),             // ok
    	float32(max32 + ulp32/2 - two128/two256), // ok
    	float32(max32 + ulp32/2),                 // ERROR "constant 3\.40282e\+38 overflows float32|cannot convert.*to type float32"
    
    	float32(-max32 - ulp32/2 + 1),             // ok
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 03 16:24:32 UTC 2021
    - 1.7K bytes
    - Viewed (0)
  4. src/index/suffixarray/gen.go

    		if strings.HasSuffix(name, "_32") {
    			buf.WriteString(fix32.Replace(fn))
    		}
    		if strings.HasSuffix(name, "_8_32") {
    			// x_8_32 -> x_8_64 done above
    			fn = fix8_32.Replace(stripByteOnly(fn))
    			buf.WriteString(fn)
    			buf.WriteString(fix32.Replace(fn))
    		}
    	}
    
    	if err := os.WriteFile("sais2.go", buf.Bytes(), 0666); err != nil {
    		log.Fatal(err)
    	}
    }
    
    var fix32 = strings.NewReplacer(
    	"32", "64",
    	"int32", "int64",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 1.9K bytes
    - Viewed (0)
  5. guava/src/com/google/common/hash/Murmur3_128HashFunction.java

        }
    
        private void bmix64(long k1, long k2) {
          h1 ^= mixK1(k1);
    
          h1 = Long.rotateLeft(h1, 27);
          h1 += h2;
          h1 = h1 * 5 + 0x52dce729;
    
          h2 ^= mixK2(k2);
    
          h2 = Long.rotateLeft(h2, 31);
          h2 += h1;
          h2 = h2 * 5 + 0x38495ab5;
        }
    
        @Override
        protected void processRemaining(ByteBuffer bb) {
          long k1 = 0;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 20 18:43:59 UTC 2021
    - 5.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/hash/Murmur3_128HashFunction.java

        }
    
        private void bmix64(long k1, long k2) {
          h1 ^= mixK1(k1);
    
          h1 = Long.rotateLeft(h1, 27);
          h1 += h2;
          h1 = h1 * 5 + 0x52dce729;
    
          h2 ^= mixK2(k2);
    
          h2 = Long.rotateLeft(h2, 31);
          h2 += h1;
          h2 = h2 * 5 + 0x38495ab5;
        }
    
        @Override
        protected void processRemaining(ByteBuffer bb) {
          long k1 = 0;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 20 18:43:59 UTC 2021
    - 5.6K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/sys/unix/mkall.sh

    	exit
    fi
    
    GOOSARCH_in=syscall_$GOOSARCH.go
    case "$GOOSARCH" in
    _* | *_ | _)
    	echo 'undefined $GOOS_$GOARCH:' "$GOOSARCH" 1>&2
    	exit 1
    	;;
    aix_ppc)
    	mkerrors="$mkerrors -maix32"
    	mksyscall="go run mksyscall_aix_ppc.go -aix"
    	mktypes="GOARCH=$GOARCH go tool cgo -godefs"
    	;;
    aix_ppc64)
    	mkerrors="$mkerrors -maix64"
    	mksyscall="go run mksyscall_aix_ppc64.go -aix"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 13 21:37:23 UTC 2023
    - 8.1K bytes
    - Viewed (0)
Back to top