HomeSort by relevance Sort by last modified time
    Searched refs:RotateLeft16 (Results 1 - 9 of 9) sorted by null

  /prebuilts/go/darwin-x86/src/math/bits/
example_test.go 98 fmt.Printf("%016b\n", bits.RotateLeft16(15, 2))
99 fmt.Printf("%016b\n", bits.RotateLeft16(15, -2))
make_examples.go 60 out: [4]interface{}{bits.RotateLeft8(15, 2), bits.RotateLeft16(15, 2), bits.RotateLeft32(15, 2), bits.RotateLeft64(15, 2)},
61 out2: [4]interface{}{bits.RotateLeft8(15, -2), bits.RotateLeft16(15, -2), bits.RotateLeft32(15, -2), bits.RotateLeft64(15, -2)},
bits_test.go 351 got16 := RotateLeft16(x16, int(k))
354 t.Fatalf("RotateLeft16(%#04x, %d) == %#04x; want %#04x", x16, k, got16, want16)
356 got16 = RotateLeft16(want16, -int(k))
358 t.Fatalf("RotateLeft16(%#04x, -%d) == %#04x; want %#04x", want16, k, got16, x16)
428 s += RotateLeft16(uint16(Input), i)
bits.go 183 // RotateLeft16 returns the value of x rotated left by (k mod 16) bits.
184 // To rotate x right by k bits, call RotateLeft16(x, -k).
185 func RotateLeft16(x uint16, k int) uint16 {
  /prebuilts/go/linux-x86/src/math/bits/
example_test.go 98 fmt.Printf("%016b\n", bits.RotateLeft16(15, 2))
99 fmt.Printf("%016b\n", bits.RotateLeft16(15, -2))
make_examples.go 60 out: [4]interface{}{bits.RotateLeft8(15, 2), bits.RotateLeft16(15, 2), bits.RotateLeft32(15, 2), bits.RotateLeft64(15, 2)},
61 out2: [4]interface{}{bits.RotateLeft8(15, -2), bits.RotateLeft16(15, -2), bits.RotateLeft32(15, -2), bits.RotateLeft64(15, -2)},
bits_test.go 351 got16 := RotateLeft16(x16, int(k))
354 t.Fatalf("RotateLeft16(%#04x, %d) == %#04x; want %#04x", x16, k, got16, want16)
356 got16 = RotateLeft16(want16, -int(k))
358 t.Fatalf("RotateLeft16(%#04x, -%d) == %#04x; want %#04x", want16, k, got16, x16)
428 s += RotateLeft16(uint16(Input), i)
bits.go 183 // RotateLeft16 returns the value of x rotated left by (k mod 16) bits.
184 // To rotate x right by k bits, call RotateLeft16(x, -k).
185 func RotateLeft16(x uint16, k int) uint16 {
  /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/
winnt.h 555 #define RotateLeft16 _rotl16
    [all...]

Completed in 100 milliseconds