>>
http://dev.mysql.com/doc/refman/5.5/en/bit-functions.html#operator_right-shift
Shifts a longlong (BIGINT) number to the right.
mysql> SELECT 4 >> 2; -> 1
writeLong (javax.imageio.stream.ImageOutputStreamImpl)
http://download.oracle.com/javase/6/docs/api/javax/imageio/stream/ImageOutputStr...
Description copied from interface: ImageOutputStream Writes the 64 bits of v to the stream. If the stream uses network byte order, the bytes written, in order, will be: (byte)((v >> 56) & 0xff) (byte)((v >> 48) & 0xff) (byte)((v >> 40) & 0xff) (byte)((v >> 32) & 0xff) (byte)((v >> 24) & 0xff) (byte)((v >> 16) & 0xff) (byte)((v >> 8) & 0xff) (byte)(v & 0xff) Otherwise, the bytes written will be: (byte)(v & 0xff) (byte)((v >> 8) & 0xff) (byte)((v >> 16) & 0xff) (byte)((v >> 24) & 0xff) (byte)((v >> 32) & 0xff) (byte)((v >> 40) & 0xff) (byte)((v >> 48) & 0xff) (byte)((v >> 56) & 0xff) If the bit offset within the stream is non-zero, the remainder of the current byte is padded with 0s and written out first. The bit offset will be 0 after the write.
public void writeLong(long v)throws IOException
OpenEmu /Mupen64Plus/mupen64plus-core/src/debugger /dbg_memory.c
51. #define CHECK_MEM(address) \
52. if (!invalid_code[(address) >> 12] && blocks[(address) >> 12]->block[((address) & 0xFFF) / 4].ops != NOTCOMPILED) \
53. invalid_code[(address) >> 12] = 1;
54.
55. void process_opcode_out(void *strm, const char *fmt, ...){
112. lines_recompiled=0;
113.
114. if(blocks[addr>>12] == NULL)
115. return;
116.
117. if(blocks[addr>>12]->block[(addr&0xFFF)/4].ops == NOTCOMPILED)
118. // recompile_block((int *) SP_DMEM, blocks[addr>>12], addr);
119. {
120. strcpy(opcode_recompiled[0],"INVLD");
343 matches | 978 lines | C | GitHub
OpenEmu /Mednafen/mednafen/hw_cpu/c68k /c68k_op3.inc
68. u32 res;
69. res = (u16)CPU->D[(Opcode >> 0) & 7];
70. CPU->flag_C = 0;
71. CPU->flag_V = 0;
72. CPU->flag_notZ = res;
73. CPU->flag_N = res >> 8;
74. *(WORD_OFF + (u16*)(&CPU->D[(Opcode >> 9) & 7])) = res;
75. }
76. RET(4)
144. u32 adr;
145. u32 res;
146. res = (u16)CPU->D[(Opcode >> 0) & 7];
147. CPU->flag_C = 0;
148. CPU->flag_V = 0;
272 matches | 4696 lines | Unknown | GitHub
OpenEmu /Mednafen/mednafen/hw_cpu/c68k /c68k_op2.inc
68. u32 res;
69. res = (u32)CPU->D[(Opcode >> 0) & 7];
70. CPU->flag_C = 0;
71. CPU->flag_V = 0;
72. CPU->flag_notZ = res;
73. CPU->flag_N = res >> 24;
74. *((u32*)(&CPU->D[(Opcode >> 9) & 7])) = res;
75. }
76. RET(4)
144. u32 adr;
145. u32 res;
146. res = (u32)CPU->D[(Opcode >> 0) & 7];
147. CPU->flag_C = 0;
148. CPU->flag_V = 0;
272 matches | 4690 lines | Unknown | GitHub
OpenEmu /Mednafen/mednafen/hw_cpu/c68k /c68k_opD.inc
70. u32 src;
71. src = (u8)CPU->D[(Opcode >> 0) & 7];
72. dst = (u8)CPU->D[(Opcode >> 9) & 7];
73. res = dst + src;
74. CPU->flag_N = CPU->flag_X = CPU->flag_C = res;
75. CPU->flag_V = (src ^ res) & (dst ^ res);
76. CPU->flag_notZ = res & 0xFF;
77. *(BYTE_OFF + (u8*)(&CPU->D[(Opcode >> 9) & 7])) = res;
78. }
79. RET(4)
152. CCnt = 0;
153. goto C68k_Exec_Really_End;
154. dst = (u8)CPU->D[(Opcode >> 9) & 7];
155. res = dst + src;
310 matches | 4286 lines | Unknown | GitHub
OpenEmu /Mednafen/mednafen/hw_cpu/c68k /c68k_opE.inc
71.
72. sft = (((Opcode >> 9) - 1) & 7) + 1;
73. CCnt -= sft * 2;
74. src = (s32)(s8)CPU->D[(Opcode >> 0) & 7];
75. CPU->flag_V = 0;
76. CPU->flag_X = CPU->flag_C = src << ((C68K_SR_C_SFT + 1) - sft);
77. res = ((s32)src) >> sft;
78. CPU->flag_N = res >> 0;
79. CPU->flag_notZ = res;
80. *(BYTE_OFF + (u8*)(&CPU->D[(Opcode >> 0) & 7])) = res;
81. }
82. RET(6)
152. u32 sft;
153.
300 matches | 4394 lines | Unknown | GitHub
OpenEmu /Mednafen/mednafen/hw_cpu/c68k /c68k_opB.inc
70. u32 src;
71. src = (u8)CPU->D[(Opcode >> 0) & 7];
72. dst = (u8)CPU->D[(Opcode >> 9) & 7];
73. res = dst - src;
74. CPU->flag_N = CPU->flag_C = res;
151. CCnt = 0;
152. goto C68k_Exec_Really_End;
153. dst = (u8)CPU->D[(Opcode >> 9) & 7];
154. res = dst - src;
155. CPU->flag_N = CPU->flag_C = res;
229. u32 dst;
230. u32 src;
231. adr = CPU->A[(Opcode >> 0) & 7];
232. PRE_IO
264 matches | 4582 lines | Unknown | GitHub
OpenEmu /Mednafen/mednafen/hw_cpu/c68k /c68k_op0.inc
15. PC += 2;
16. res = (u8)CPU->D[(Opcode >> 0) & 7];
17. res |= src;
18. CPU->flag_C = 0;
20. CPU->flag_notZ = res;
21. CPU->flag_N = res;
22. *(BYTE_OFF + (u8*)(&CPU->D[(Opcode >> 0) & 7])) = res;
23. }
24. RET(8)
39. src = FETCH_BYTE;
40. PC += 2;
41. adr = CPU->A[(Opcode >> 0) & 7];
42. PRE_IO
43. READ_BYTE_F(adr, res)
327 matches | 4408 lines | Unknown | GitHub
OpenEmu /Mednafen/mednafen/hw_cpu/c68k /c68k_op4.inc
13. u32 src;
14. src = (u8)CPU->D[(Opcode >> 0) & 7];
15. res = -src - ((CPU->flag_X >> 8) & 1);
16. CPU->flag_V = res & src;
17. CPU->flag_N = CPU->flag_X = CPU->flag_C = res;
18. CPU->flag_notZ |= res & 0xFF;
19. *(BYTE_OFF + (u8*)(&CPU->D[(Opcode >> 0) & 7])) = res;
20. }
21. RET(4)
34. u32 res;
35. u32 src;
36. adr = CPU->A[(Opcode >> 0) & 7];
37. PRE_IO
38. READ_BYTE_F(adr, src)
340 matches | 4516 lines | Unknown | GitHub
OpenEmu /Mednafen/mednafen/hw_cpu/c68k /c68k_op9.inc
70. u32 src;
71. src = (u8)CPU->D[(Opcode >> 0) & 7];
72. dst = (u8)CPU->D[(Opcode >> 9) & 7];
73. res = dst - src;
74. CPU->flag_N = CPU->flag_X = CPU->flag_C = res;
75. CPU->flag_V = (src ^ dst) & (res ^ dst);
76. CPU->flag_notZ = res & 0xFF;
77. *(BYTE_OFF + (u8*)(&CPU->D[(Opcode >> 9) & 7])) = res;
78. }
79. RET(4)
152. CCnt = 0;
153. goto C68k_Exec_Really_End;
154. dst = (u8)CPU->D[(Opcode >> 9) & 7];
155. res = dst - src;
310 matches | 4286 lines | Unknown | GitHub
OpenEmu /Mednafen/mednafen/hw_cpu/c68k /c68k_opC.inc
69. u32 src;
70. src = (u8)CPU->D[(Opcode >> 0) & 7];
71. res = (u8)CPU->D[(Opcode >> 9) & 7];
72. res &= src;
73. CPU->flag_C = 0;
75. CPU->flag_notZ = res;
76. CPU->flag_N = res;
77. *(BYTE_OFF + (u8*)(&CPU->D[(Opcode >> 9) & 7])) = res;
78. }
79. RET(4)
148. u32 res;
149. u32 src;
150. adr = CPU->A[(Opcode >> 0) & 7];
151. PRE_IO
261 matches | 4611 lines | Unknown | GitHub
macfuse /core/10.5/libfuse /fuse-2.7.3-macosx.patch
583. - echo "#! /bin/sh" >conf$$.sh
584. - echo "exit 0" >>conf$$.sh
585. - chmod +x conf$$.sh
586. - if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
2472. -_LTEOF
2473. -
2474. -cat >>"$CONFIG_LT" <<\_LTEOF
2475. -AS_SHELL_SANITIZE
2476. -_AS_PREPARE
2505.
2506. -exec AS_MESSAGE_FD>&1
2507. -exec AS_MESSAGE_LOG_FD>>config.log
2508. -{
2509. - echo
411 matches | 56394 lines | Unknown | Google Code
macfuse /core/10.4/libfuse /fuse-2.7.3-macosx.patch
583. - echo "#! /bin/sh" >conf$$.sh
584. - echo "exit 0" >>conf$$.sh
585. - chmod +x conf$$.sh
586. - if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
2472. -_LTEOF
2473. -
2474. -cat >>"$CONFIG_LT" <<\_LTEOF
2475. -AS_SHELL_SANITIZE
2476. -_AS_PREPARE
2505.
2506. -exec AS_MESSAGE_FD>&1
2507. -exec AS_MESSAGE_LOG_FD>>config.log
2508. -{
2509. - echo
411 matches | 55795 lines | Unknown | Google Code
arcanum-core /dep/mysqllite/mysys /rijndael.c
734. ^ ((uint32)(pt)[2] << 8) ^ ((uint32)(pt)[3]))
735. #define PUTuint32(ct, st) { (ct)[0] = (uint8)((st) >> 24); (ct)[1]\
736. = (uint8)((st) >> 16); (ct)[2] = (uint8)((st) >> 8); (ct)[3] = (uint8)(st); }
737.
738. #endif /* defined(_MSC_VER) && defined(__i386__) */
762. temp = rk[3];
763. rk[4] = (rk[0] ^
764. (Te4[(temp >> 16) & 0xff] & 0xff000000) ^
765. (Te4[(temp >> 8) & 0xff] & 0x00ff0000) ^
766. (Te4[(temp ) & 0xff] & 0x0000ff00) ^
767. (Te4[(temp >> 24) ] & 0x000000ff) ^
768. rcon[i]);
769. rk[5] = rk[1] ^ rk[4];
783. temp = rk[ 5];
204 matches | 1380 lines | C | Bitbucket
WazeWP7 /bb_waze_code/src/agg/include /agg_pixfmt_rgba.h
61. }
62. p[Order::R] = value_type((p[Order::R] * a + ColorT::base_mask) >> ColorT::base_shift);
63. p[Order::G] = value_type((p[Order::G] * a + ColorT::base_mask) >> ColorT::base_shift);
64. p[Order::B] = value_type((p[Order::B] * a + ColorT::base_mask) >> ColorT::base_shift);
65. }
66. }
158. calc_type b = p[Order::B];
159. calc_type a = p[Order::A];
160. p[Order::R] = (value_type)(((cr - r) * alpha + (r << base_shift)) >> base_shift);
161. p[Order::G] = (value_type)(((cg - g) * alpha + (g << base_shift)) >> base_shift);
162. p[Order::B] = (value_type)(((cb - b) * alpha + (b << base_shift)) >> base_shift);
163. p[Order::A] = (value_type)((alpha + a) - ((alpha * a + base_mask) >> base_shift));
164. }
165. };
220 matches | 1546 lines | C/C++ Header | GitHub
procfw /contrib/PrxEncrypter /crypto.c
771. #define GETU32(pt) (((u32)(pt)[0] << 24) ^ ((u32)(pt)[1] << 16) ^ ((u32)(pt)[2] << 8) ^ ((u32)(pt)[3]))
772. #define PUTU32(ct, st) { (ct)[0] = (u8)((st) >> 24); (ct)[1] = (u8)((st) >> 16); (ct)[2] = (u8)((st) >> 8); (ct)[3] = (u8)(st); }
773.
774. /**
791. temp = rk[3];
792. rk[4] = rk[0] ^
793. (Te4[(temp >> 16) & 0xff] & 0xff000000) ^
794. (Te4[(temp >> 8) & 0xff] & 0x00ff0000) ^
795. (Te4[(temp ) & 0xff] & 0x0000ff00) ^
796. (Te4[(temp >> 24) ] & 0x000000ff) ^
797. rcon[i];
798. rk[5] = rk[1] ^ rk[4];
811. temp = rk[ 5];
812. rk[ 6] = rk[ 0] ^
203 matches | 1467 lines | C | Google Code
Singularity /dep/mysqllite/mysys /rijndael.c
734. ^ ((uint32)(pt)[2] << 8) ^ ((uint32)(pt)[3]))
735. #define PUTuint32(ct, st) { (ct)[0] = (uint8)((st) >> 24); (ct)[1]\
736. = (uint8)((st) >> 16); (ct)[2] = (uint8)((st) >> 8); (ct)[3] = (uint8)(st); }
737.
738. #endif /* defined(_MSC_VER) && defined(__i386__) */
762. temp = rk[3];
763. rk[4] = (rk[0] ^
764. (Te4[(temp >> 16) & 0xff] & 0xff000000) ^
765. (Te4[(temp >> 8) & 0xff] & 0x00ff0000) ^
766. (Te4[(temp ) & 0xff] & 0x0000ff00) ^
767. (Te4[(temp >> 24) ] & 0x000000ff) ^
768. rcon[i]);
769. rk[5] = rk[1] ^ rk[4];
783. temp = rk[ 5];
204 matches | 1380 lines | C | GitHub
Yahoo_LDA /docs/latex /refman.pdf
3. 1 0 obj
4. << /S /GoTo /D (chapter.1) >>
5. endobj
6. 4 0 obj
8. endobj
9. 5 0 obj
10. << /S /GoTo /D (chapter.2) >>
11. endobj
12. 8 0 obj
14. endobj
15. 9 0 obj
16. << /S /GoTo /D (section.2.1) >>
17. endobj
18. 12 0 obj
361 matches | 2167 lines | Unknown | GitHub
freebsd-head /sys/dev/cxgbe/common /t4fw_interface.h
107. #define V_FW_WR_OP(x) ((x) << S_FW_WR_OP)
108. #define G_FW_WR_OP(x) (((x) >> S_FW_WR_OP) & M_FW_WR_OP)
109.
110. /* atomic flag (hi) - firmware encapsulates CPLs in CPL_BARRIER
114. #define V_FW_WR_ATOMIC(x) ((x) << S_FW_WR_ATOMIC)
115. #define G_FW_WR_ATOMIC(x) \
116. (((x) >> S_FW_WR_ATOMIC) & M_FW_WR_ATOMIC)
117. #define F_FW_WR_ATOMIC V_FW_WR_ATOMIC(1U)
118.
124. #define V_FW_WR_FLUSH(x) ((x) << S_FW_WR_FLUSH)
125. #define G_FW_WR_FLUSH(x) \
126. (((x) >> S_FW_WR_FLUSH) & M_FW_WR_FLUSH)
127. #define F_FW_WR_FLUSH V_FW_WR_FLUSH(1U)
128.
533 matches | 5626 lines | text | Bitbucket
freebsd-head /sys/crypto/rijndael /rijndael-alg-fst.c
727. #define GETU32(pt) (((u32)(pt)[0] << 24) ^ ((u32)(pt)[1] << 16) ^ ((u32)(pt)[2] << 8) ^ ((u32)(pt)[3]))
728. #define PUTU32(ct, st) { (ct)[0] = (u8)((st) >> 24); (ct)[1] = (u8)((st) >> 16); (ct)[2] = (u8)((st) >> 8); (ct)[3] = (u8)(st); }
729.
730. /**
747. temp = rk[3];
748. rk[4] = rk[0] ^
749. (Te4[(temp >> 16) & 0xff] & 0xff000000) ^
750. (Te4[(temp >> 8) & 0xff] & 0x00ff0000) ^
751. (Te4[(temp ) & 0xff] & 0x0000ff00) ^
752. (Te4[(temp >> 24) ] & 0x000000ff) ^
753. rcon[i];
754. rk[5] = rk[1] ^ rk[4];
767. temp = rk[ 5];
768. rk[ 6] = rk[ 0] ^
203 matches | 1224 lines | C | Bitbucket
freebsd-head /crypto/openssl/crypto/aes /aes_core.c
663. rk[4] = rk[0] ^
664. (Te2[(temp >> 16) & 0xff] & 0xff000000) ^
665. (Te3[(temp >> 8) & 0xff] & 0x00ff0000) ^
666. (Te0[(temp ) & 0xff] & 0x0000ff00) ^
667. (Te1[(temp >> 24) ] & 0x000000ff) ^
668. rcon[i];
669. rk[5] = rk[1] ^ rk[4];
682. temp = rk[ 5];
683. rk[ 6] = rk[ 0] ^
684. (Te2[(temp >> 16) & 0xff] & 0xff000000) ^
685. (Te3[(temp >> 8) & 0xff] & 0x00ff0000) ^
686. (Te0[(temp ) & 0xff] & 0x0000ff00) ^
687. (Te1[(temp >> 24) ] & 0x000000ff) ^
688. rcon[i];
202 matches | 1168 lines | C | Bitbucket

