/dports/sysutils/roct/ROCT-Thunk-Interface-9d1fb76/src/ |
H A D | pmc_table.c | 722 .counter_mask = BITMASK(64) 733 .counter_mask = BITMASK(64) 741 .counter_mask = BITMASK(64) 749 .counter_mask = BITMASK(64) 757 .counter_mask = BITMASK(64) 765 .counter_mask = BITMASK(64) 773 .counter_mask = BITMASK(64) 781 .counter_mask = BITMASK(64) 789 .counter_mask = BITMASK(64) 797 .counter_mask = BITMASK(64) [all …]
|
/dports/games/libretro-hatari/hatari-561c07e/src/falcon/ |
H A D | dsp_disasm.c | 581 return value & BITMASK(24); in read_memory() 602 numreg = ea_mode & BITMASK(3); in dsp_calc_ea() 703 switch(cur_inst & BITMASK(2)) { in dsp_andi() 727 numbit = cur_inst & BITMASK(5); in dsp_bchg_aa() 747 numbit = cur_inst & BITMASK(5); in dsp_bchg_ea() 768 numbit = cur_inst & BITMASK(5); in dsp_bchg_pp() 785 numbit = cur_inst & BITMASK(5); in dsp_bchg_reg() 799 numbit = cur_inst & BITMASK(5); in dsp_bclr_aa() 1052 ((cur_inst>>8) & BITMASK(8))|((cur_inst & BITMASK(4))<<8), in dsp_do_imm() 1105 cc_code=cur_inst & BITMASK(4); in dsp_jcc_ea() [all …]
|
H A D | dsp.c | 506 { "A2", &dsp_core.registers[DSP_REG_A2], 32, BITMASK(8) }, in DSP_GetRegisterAddress() 511 { "B2", &dsp_core.registers[DSP_REG_B2], 32, BITMASK(8) }, in DSP_GetRegisterAddress() 540 { "PC", (Uint32*)(&dsp_core.pc), 16, BITMASK(16) }, in DSP_GetRegisterAddress() 554 { "SP", &dsp_core.registers[DSP_REG_SP], 32, BITMASK(6) }, in DSP_GetRegisterAddress() 625 dsp_core.registers[DSP_REG_SP] = value & BITMASK(6); in DSP_Disasm_SetRegister() 626 value &= BITMASK(4); in DSP_Disasm_SetRegister() 632 sp_value = dsp_core.registers[DSP_REG_SP] & BITMASK(4); in DSP_Disasm_SetRegister() 638 dsp_core.registers[DSP_REG_SSH] = value & BITMASK(16); in DSP_Disasm_SetRegister() 639 dsp_core.stack[0][sp_value] = value & BITMASK(16); in DSP_Disasm_SetRegister() 648 dsp_core.registers[DSP_REG_SSL] = value & BITMASK(16); in DSP_Disasm_SetRegister() [all …]
|
H A D | dsp_cpu.c | 1275 value &= BITMASK(24); in write_memory_raw() 1476 stack &= BITMASK(4); in dsp_stack_push() 1513 stack &= BITMASK(4); in dsp_stack_pop() 1526 stack &= BITMASK(4); in dsp_compute_ssh_ssl() 1573 value = r_reg & (BITMASK(16)-BITMASK(revbits)); in dsp_update_rn_bitreverse() 1585 r_reg &= (BITMASK(16)-BITMASK(revbits)); in dsp_update_rn_bitreverse() 1588 value = r_reg & (BITMASK(16)-BITMASK(revbits)); in dsp_update_rn_bitreverse() 4179 part[0]=(source1 & BITMASK(12))*(source2 & BITMASK(12)); in dsp_mul56() 4181 part[1]=((source1>>12) & BITMASK(12))*(source2 & BITMASK(12)); in dsp_mul56() 4183 part[2]=(source1 & BITMASK(12))*((source2>>12) & BITMASK(12)); in dsp_mul56() [all …]
|
/dports/emulators/hatari/hatari-2.2.1/src/falcon/ |
H A D | dsp_disasm.c | 581 return value & BITMASK(24); in read_memory() 602 numreg = ea_mode & BITMASK(3); in dsp_calc_ea() 703 switch(cur_inst & BITMASK(2)) { in dsp_andi() 727 numbit = cur_inst & BITMASK(5); in dsp_bchg_aa() 747 numbit = cur_inst & BITMASK(5); in dsp_bchg_ea() 768 numbit = cur_inst & BITMASK(5); in dsp_bchg_pp() 785 numbit = cur_inst & BITMASK(5); in dsp_bchg_reg() 799 numbit = cur_inst & BITMASK(5); in dsp_bclr_aa() 1052 ((cur_inst>>8) & BITMASK(8))|((cur_inst & BITMASK(4))<<8), in dsp_do_imm() 1105 cc_code=cur_inst & BITMASK(4); in dsp_jcc_ea() [all …]
|
H A D | dsp.c | 577 { "A2", &dsp_core.registers[DSP_REG_A2], 32, BITMASK(8) }, in DSP_GetRegisterAddress() 582 { "B2", &dsp_core.registers[DSP_REG_B2], 32, BITMASK(8) }, in DSP_GetRegisterAddress() 611 { "PC", (Uint32*)(&dsp_core.pc), 16, BITMASK(16) }, in DSP_GetRegisterAddress() 625 { "SP", &dsp_core.registers[DSP_REG_SP], 32, BITMASK(6) }, in DSP_GetRegisterAddress() 696 dsp_core.registers[DSP_REG_SP] = value & BITMASK(6); in DSP_Disasm_SetRegister() 697 value &= BITMASK(4); in DSP_Disasm_SetRegister() 703 sp_value = dsp_core.registers[DSP_REG_SP] & BITMASK(4); in DSP_Disasm_SetRegister() 709 dsp_core.registers[DSP_REG_SSH] = value & BITMASK(16); in DSP_Disasm_SetRegister() 710 dsp_core.stack[0][sp_value] = value & BITMASK(16); in DSP_Disasm_SetRegister() 719 dsp_core.registers[DSP_REG_SSL] = value & BITMASK(16); in DSP_Disasm_SetRegister() [all …]
|
H A D | dsp_cpu.c | 1291 value &= BITMASK(24); in write_memory_raw() 1518 stack &= BITMASK(4); in dsp_stack_push() 1555 stack &= BITMASK(4); in dsp_stack_pop() 1568 stack &= BITMASK(4); in dsp_compute_ssh_ssl() 1615 value = r_reg & (BITMASK(16)-BITMASK(revbits)); in dsp_update_rn_bitreverse() 1627 r_reg &= (BITMASK(16)-BITMASK(revbits)); in dsp_update_rn_bitreverse() 1630 value = r_reg & (BITMASK(16)-BITMASK(revbits)); in dsp_update_rn_bitreverse() 4225 part[0]=(source1 & BITMASK(12))*(source2 & BITMASK(12)); in dsp_mul56() 4227 part[1]=((source1>>12) & BITMASK(12))*(source2 & BITMASK(12)); in dsp_mul56() 4229 part[2]=(source1 & BITMASK(12))*((source2>>12) & BITMASK(12)); in dsp_mul56() [all …]
|
/dports/emulators/aranym/aranym-1.1.0/src/ |
H A D | dsp_cpu.c | 666 value &= BITMASK(4); in dsp56k_execute_instruction() 669 value &= BITMASK(2); in dsp56k_execute_instruction() 1201 value &= BITMASK(24); in write_memory_raw() 1279 value &= BITMASK(24); in write_memory_disasm() 1385 value = r_reg & (BITMASK(16)-BITMASK(revbits)); in dsp_update_rn_bitreverse() 1397 r_reg &= (BITMASK(16)-BITMASK(revbits)); in dsp_update_rn_bitreverse() 1400 value = r_reg & (BITMASK(16)-BITMASK(revbits)); in dsp_update_rn_bitreverse() 3719 part[0]=(source1 & BITMASK(12))*(source2 & BITMASK(12)); in dsp_mul56() 3721 part[1]=((source1>>12) & BITMASK(12))*(source2 & BITMASK(12)); in dsp_mul56() 3723 part[2]=(source1 & BITMASK(12))*((source2>>12) & BITMASK(12)); in dsp_mul56() [all …]
|
H A D | dsp_disasm.c | 41 #define BITMASK(x) ((1<<(x))-1) macro 699 value = cur_inst & BITMASK(8); in dsp56k_disasm() 703 value &= BITMASK(4); in dsp56k_disasm() 706 value &= BITMASK(2); in dsp56k_disasm() 727 return value & BITMASK(24); in read_memory() 748 numreg = ea_mode & BITMASK(3); in dsp_calc_ea() 922 switch(cur_inst & BITMASK(2)) { in dsp_andi() 944 (cur_inst>>8) & BITMASK(8), in dsp_andi() 956 numbit = cur_inst & BITMASK(5); in dsp_bchg() 1210 ((cur_inst>>8) & BITMASK(8))|((cur_inst & BITMASK(4))<<8), in dsp_do_2() [all …]
|
/dports/net/wireshark-lite/wireshark-3.6.1/epan/dissectors/asn1/pkix1explicit/ |
H A D | pkix1explicit_exp.cnf | 24 Attribute TYPE = FT_NONE DISPLAY = BASE_NONE STRINGS = NULL BITMASK = 0 25 AttributeTypeAndValue TYPE = FT_NONE DISPLAY = BASE_NONE STRINGS = NULL BITMASK = 0 26 Certificate TYPE = FT_NONE DISPLAY = BASE_NONE STRINGS = NULL BITMASK = 0 27 CertificateList TYPE = FT_NONE DISPLAY = BASE_NONE STRINGS = NULL BITMASK = 0 28 CertificateSerialNumber TYPE = FT_INT32 DISPLAY = BASE_DEC STRINGS = NULL BITMASK = 0 29 DirectoryString TYPE = FT_STRING DISPLAY = BASE_NONE STRINGS = NULL BITMASK = 0 30 Extension TYPE = FT_NONE DISPLAY = BASE_NONE STRINGS = NULL BITMASK = 0 31 Extensions TYPE = FT_UINT32 DISPLAY = BASE_DEC STRINGS = NULL BITMASK = 0 32 GeneralName TYPE = FT_UINT32 DISPLAY = BASE_DEC STRINGS = NULL BITMASK = 0 33 Name TYPE = FT_UINT32 DISPLAY = BASE_DEC STRINGS = NULL BITMASK = 0 [all …]
|
/dports/net/tshark-lite/wireshark-3.6.1/epan/dissectors/asn1/pkix1explicit/ |
H A D | pkix1explicit_exp.cnf | 24 Attribute TYPE = FT_NONE DISPLAY = BASE_NONE STRINGS = NULL BITMASK = 0 25 AttributeTypeAndValue TYPE = FT_NONE DISPLAY = BASE_NONE STRINGS = NULL BITMASK = 0 26 Certificate TYPE = FT_NONE DISPLAY = BASE_NONE STRINGS = NULL BITMASK = 0 27 CertificateList TYPE = FT_NONE DISPLAY = BASE_NONE STRINGS = NULL BITMASK = 0 28 CertificateSerialNumber TYPE = FT_INT32 DISPLAY = BASE_DEC STRINGS = NULL BITMASK = 0 29 DirectoryString TYPE = FT_STRING DISPLAY = BASE_NONE STRINGS = NULL BITMASK = 0 30 Extension TYPE = FT_NONE DISPLAY = BASE_NONE STRINGS = NULL BITMASK = 0 31 Extensions TYPE = FT_UINT32 DISPLAY = BASE_DEC STRINGS = NULL BITMASK = 0 32 GeneralName TYPE = FT_UINT32 DISPLAY = BASE_DEC STRINGS = NULL BITMASK = 0 33 Name TYPE = FT_UINT32 DISPLAY = BASE_DEC STRINGS = NULL BITMASK = 0 [all …]
|
/dports/net/tshark/wireshark-3.6.1/epan/dissectors/asn1/pkix1explicit/ |
H A D | pkix1explicit_exp.cnf | 24 Attribute TYPE = FT_NONE DISPLAY = BASE_NONE STRINGS = NULL BITMASK = 0 25 AttributeTypeAndValue TYPE = FT_NONE DISPLAY = BASE_NONE STRINGS = NULL BITMASK = 0 26 Certificate TYPE = FT_NONE DISPLAY = BASE_NONE STRINGS = NULL BITMASK = 0 27 CertificateList TYPE = FT_NONE DISPLAY = BASE_NONE STRINGS = NULL BITMASK = 0 28 CertificateSerialNumber TYPE = FT_INT32 DISPLAY = BASE_DEC STRINGS = NULL BITMASK = 0 29 DirectoryString TYPE = FT_STRING DISPLAY = BASE_NONE STRINGS = NULL BITMASK = 0 30 Extension TYPE = FT_NONE DISPLAY = BASE_NONE STRINGS = NULL BITMASK = 0 31 Extensions TYPE = FT_UINT32 DISPLAY = BASE_DEC STRINGS = NULL BITMASK = 0 32 GeneralName TYPE = FT_UINT32 DISPLAY = BASE_DEC STRINGS = NULL BITMASK = 0 33 Name TYPE = FT_UINT32 DISPLAY = BASE_DEC STRINGS = NULL BITMASK = 0 [all …]
|
/dports/net/wireshark/wireshark-3.6.1/epan/dissectors/asn1/pkix1explicit/ |
H A D | pkix1explicit_exp.cnf | 24 Attribute TYPE = FT_NONE DISPLAY = BASE_NONE STRINGS = NULL BITMASK = 0 25 AttributeTypeAndValue TYPE = FT_NONE DISPLAY = BASE_NONE STRINGS = NULL BITMASK = 0 26 Certificate TYPE = FT_NONE DISPLAY = BASE_NONE STRINGS = NULL BITMASK = 0 27 CertificateList TYPE = FT_NONE DISPLAY = BASE_NONE STRINGS = NULL BITMASK = 0 28 CertificateSerialNumber TYPE = FT_INT32 DISPLAY = BASE_DEC STRINGS = NULL BITMASK = 0 29 DirectoryString TYPE = FT_STRING DISPLAY = BASE_NONE STRINGS = NULL BITMASK = 0 30 Extension TYPE = FT_NONE DISPLAY = BASE_NONE STRINGS = NULL BITMASK = 0 31 Extensions TYPE = FT_UINT32 DISPLAY = BASE_DEC STRINGS = NULL BITMASK = 0 32 GeneralName TYPE = FT_UINT32 DISPLAY = BASE_DEC STRINGS = NULL BITMASK = 0 33 Name TYPE = FT_UINT32 DISPLAY = BASE_DEC STRINGS = NULL BITMASK = 0 [all …]
|
/dports/multimedia/opentoonz/opentoonz-1.5.0/thirdparty/openblas/xianyi-OpenBLAS-e6e87a2/ |
H A D | cpuid_x86.c | 150 return BITMASK(eax, 20, 0xff); in get_cputype() 152 return BITMASK(eax, 16, 0x0f); in get_cputype() 154 return BITMASK(eax, 12, 0x03); in get_cputype() 156 return BITMASK(eax, 8, 0x0f); in get_cputype() 158 return BITMASK(eax, 4, 0x0f); in get_cputype() 160 return BITMASK(ebx, 24, 0x0f); in get_cputype() 162 return BITMASK(ebx, 16, 0x0f); in get_cputype() 164 return BITMASK(ebx, 8, 0x0f); in get_cputype() 166 return BITMASK(eax, 0, 0x0f); in get_cputype() 168 return BITMASK(ebx, 0, 0xff); in get_cputype() [all …]
|
/dports/cad/meshlab/meshlab-Meshlab-2020.05/src/plugins_unsupported/external/GotoBLAS2/ |
H A D | cpuid_x86.c | 133 return BITMASK(eax, 20, 0xff); in get_cputype() 135 return BITMASK(eax, 16, 0x0f); in get_cputype() 137 return BITMASK(eax, 12, 0x03); in get_cputype() 139 return BITMASK(eax, 8, 0x0f); in get_cputype() 141 return BITMASK(eax, 4, 0x0f); in get_cputype() 143 return BITMASK(ebx, 24, 0x0f); in get_cputype() 145 return BITMASK(ebx, 16, 0x0f); in get_cputype() 147 return BITMASK(ebx, 8, 0x0f); in get_cputype() 149 return BITMASK(eax, 0, 0x0f); in get_cputype() 151 return BITMASK(ebx, 0, 0xff); in get_cputype() [all …]
|
/dports/math/gotoblas/GotoBLAS2/ |
H A D | cpuid_x86.c | 150 return BITMASK(eax, 20, 0xff); in get_cputype() 152 return BITMASK(eax, 16, 0x0f); in get_cputype() 154 return BITMASK(eax, 12, 0x03); in get_cputype() 156 return BITMASK(eax, 8, 0x0f); in get_cputype() 158 return BITMASK(eax, 4, 0x0f); in get_cputype() 160 return BITMASK(ebx, 24, 0x0f); in get_cputype() 162 return BITMASK(ebx, 16, 0x0f); in get_cputype() 164 return BITMASK(ebx, 8, 0x0f); in get_cputype() 166 return BITMASK(eax, 0, 0x0f); in get_cputype() 168 return BITMASK(ebx, 0, 0xff); in get_cputype() [all …]
|
/dports/security/p5-openxpki-i18n/openxpki-3.16.1/core/server/OpenXPKI/ |
H A D | Debug.pm | 27 our %BITMASK; 49 if (not exists $BITMASK{$module}) { 51 $BITMASK{$module} = __level_to_bitmask($LEVEL{$module}); 55 for my $regex (keys %BITMASK) { 57 $BITMASK{$module} = $BITMASK{$regex}; 62 if (not exists $BITMASK{$module}) { 65 $BITMASK{$module} = __level_to_bitmask($LEVEL{$regex}); 75 return unless $BITMASK{$module}; # not defined or 0 77 …printf STDERR "Debugging module '%s' with bitmask %b%s\n", $module, $BITMASK{$module}, ($NOCENSOR … 105 if ($1 & $BITMASK{$self->{MODULE}}) { [all …]
|
/dports/security/p5-openxpki/openxpki-3.16.1/core/server/OpenXPKI/ |
H A D | Debug.pm | 27 our %BITMASK; 49 if (not exists $BITMASK{$module}) { 51 $BITMASK{$module} = __level_to_bitmask($LEVEL{$module}); 55 for my $regex (keys %BITMASK) { 57 $BITMASK{$module} = $BITMASK{$regex}; 62 if (not exists $BITMASK{$module}) { 65 $BITMASK{$module} = __level_to_bitmask($LEVEL{$regex}); 75 return unless $BITMASK{$module}; # not defined or 0 77 …printf STDERR "Debugging module '%s' with bitmask %b%s\n", $module, $BITMASK{$module}, ($NOCENSOR … 105 if ($1 & $BITMASK{$self->{MODULE}}) { [all …]
|
/dports/math/openblas/OpenBLAS-0.3.18/ |
H A D | cpuid_x86.c | 309 return BITMASK(eax, 20, 0xff); in get_cputype() 311 return BITMASK(eax, 16, 0x0f); in get_cputype() 313 return BITMASK(eax, 12, 0x03); in get_cputype() 315 return BITMASK(eax, 8, 0x0f); in get_cputype() 317 return BITMASK(eax, 4, 0x0f); in get_cputype() 319 return BITMASK(ebx, 24, 0x0f); in get_cputype() 321 return BITMASK(ebx, 16, 0x0f); in get_cputype() 323 return BITMASK(ebx, 8, 0x0f); in get_cputype() 325 return BITMASK(eax, 0, 0x0f); in get_cputype() 327 return BITMASK(ebx, 0, 0xff); in get_cputype() [all …]
|
/dports/devel/intel-graphics-compiler/intel-graphics-compiler-igc-1.0.9636/3d/common/iStdLib/ |
H A D | FloatUtil.h | 164 if( f32.exponent == BITMASK( 8 ) && in Float32ToSnorm() 172 f32.exponent == BITMASK( 8 ) && in Float32ToSnorm() 176 f32.exponent == BITMASK( 8 ) && in Float32ToSnorm() 223 if( f32.exponent == BITMASK( 8 ) && in Float32ToSnormSM() 231 f32.exponent == BITMASK( 8 ) && in Float32ToSnormSM() 235 f32.exponent == BITMASK( 8 ) && in Float32ToSnormSM() 350 if( f32.exponent == BITMASK( 8 ) && in Float32ToUnorm() 418 f16.exponent = BITMASK( 5 ); in Float32ToFloat16() 424 f32.exponent == BITMASK( 8 ) && in Float32ToFloat16() 427 f16.exponent = BITMASK( 5 ); in Float32ToFloat16() [all …]
|
/dports/multimedia/opentoonz/opentoonz-1.5.0/thirdparty/openblas/xianyi-OpenBLAS-e6e87a2/driver/others/ |
H A D | parameter.c | 172 return BITMASK(ecx, 16, 0xffff); in get_L2_size() 181 info[ 0] = BITMASK(eax, 8, 0xff); in get_L2_size() 182 info[ 1] = BITMASK(eax, 16, 0xff); in get_L2_size() 183 info[ 2] = BITMASK(eax, 24, 0xff); in get_L2_size() 185 info[ 3] = BITMASK(ebx, 0, 0xff); in get_L2_size() 186 info[ 4] = BITMASK(ebx, 8, 0xff); in get_L2_size() 187 info[ 5] = BITMASK(ebx, 16, 0xff); in get_L2_size() 188 info[ 6] = BITMASK(ebx, 24, 0xff); in get_L2_size() 190 info[ 7] = BITMASK(ecx, 0, 0xff); in get_L2_size() 533 ncores = BITMASK(eax, 26, 0x3f); [all …]
|
/dports/cad/meshlab/meshlab-Meshlab-2020.05/src/plugins_unsupported/external/GotoBLAS2/driver/others/ |
H A D | parameter.c | 141 return BITMASK(ecx, 16, 0xffff); in get_L2_size() 150 info[ 0] = BITMASK(eax, 8, 0xff); in get_L2_size() 151 info[ 1] = BITMASK(eax, 16, 0xff); in get_L2_size() 152 info[ 2] = BITMASK(eax, 24, 0xff); in get_L2_size() 154 info[ 3] = BITMASK(ebx, 0, 0xff); in get_L2_size() 155 info[ 4] = BITMASK(ebx, 8, 0xff); in get_L2_size() 156 info[ 5] = BITMASK(ebx, 16, 0xff); in get_L2_size() 157 info[ 6] = BITMASK(ebx, 24, 0xff); in get_L2_size() 159 info[ 7] = BITMASK(ecx, 0, 0xff); in get_L2_size() 502 ncores = BITMASK(eax, 26, 0x3f); [all …]
|
/dports/math/gotoblas/GotoBLAS2/driver/others/ |
H A D | parameter.c | 158 return BITMASK(ecx, 16, 0xffff); in get_L2_size() 167 info[ 0] = BITMASK(eax, 8, 0xff); in get_L2_size() 168 info[ 1] = BITMASK(eax, 16, 0xff); in get_L2_size() 169 info[ 2] = BITMASK(eax, 24, 0xff); in get_L2_size() 171 info[ 3] = BITMASK(ebx, 0, 0xff); in get_L2_size() 172 info[ 4] = BITMASK(ebx, 8, 0xff); in get_L2_size() 173 info[ 5] = BITMASK(ebx, 16, 0xff); in get_L2_size() 174 info[ 6] = BITMASK(ebx, 24, 0xff); in get_L2_size() 176 info[ 7] = BITMASK(ecx, 0, 0xff); in get_L2_size() 519 ncores = BITMASK(eax, 26, 0x3f); [all …]
|
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/ |
H A D | BitVector.java | 44 private static final int BITMASK = BITSPERSLOT - 1; field in BitVector 87 return (length + BITMASK) >> BITSHIFT; in slotsNeeded() 120 final int shift = (int)(length & BITMASK); in resize() 138 bits[(int)(bit >> BITSHIFT)] |= (1L << (int)(bit & BITMASK)); in set() 146 bits[(int)(bit >> BITSHIFT)] &= ~(1L << (int)(bit & BITMASK)); in clear() 154 bits[(int)(bit >> BITSHIFT)] ^= (1L << (int)(bit & BITMASK)); in toggle() 165 final long lastBits = (1L << (int)(length & BITMASK)) - 1L; in setTo() 187 return (bits[(int)(bit >> BITSHIFT)] & (1L << (int)(bit & BITMASK))) != 0; in isSet() 196 return (bits[(int)(bit >> BITSHIFT)] & (1L << (int)(bit & BITMASK))) == 0; in isClear() 206 final int leftShift = (int)(shift & BITMASK); in shiftLeft() [all …]
|
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/ |
H A D | BitVector.java | 44 private static final int BITMASK = BITSPERSLOT - 1; field in BitVector 87 return (length + BITMASK) >> BITSHIFT; in slotsNeeded() 120 final int shift = (int)(length & BITMASK); in resize() 138 bits[(int)(bit >> BITSHIFT)] |= (1L << (int)(bit & BITMASK)); in set() 146 bits[(int)(bit >> BITSHIFT)] &= ~(1L << (int)(bit & BITMASK)); in clear() 154 bits[(int)(bit >> BITSHIFT)] ^= (1L << (int)(bit & BITMASK)); in toggle() 165 final long lastBits = (1L << (int)(length & BITMASK)) - 1L; in setTo() 187 return (bits[(int)(bit >> BITSHIFT)] & (1L << (int)(bit & BITMASK))) != 0; in isSet() 196 return (bits[(int)(bit >> BITSHIFT)] & (1L << (int)(bit & BITMASK))) == 0; in isClear() 206 final int leftShift = (int)(shift & BITMASK); in shiftLeft() [all …]
|