Home
last modified time | relevance | path

Searched refs:bits_to_int (Results 1 – 25 of 53) sorted by relevance

123

/dports/security/yubioath-desktop/yubioath-desktop-yubioath-desktop-5.0.4/py/qr/
H A Dqrdecode.py15 level = bits_to_int(qr_data[8][:2])
16 mask = bits_to_int(qr_data[8][2:5]) ^ 0b101
173 def bits_to_int(bits): function
183 return ''.join([chr(bits_to_int(bits[i:i+8]))
216 enc, bits = bits_to_int(bits[:4]), bits[4:]
221 ln, bits = bits_to_int(bits[:n_l]), bits[n_l:]
228 num, bits = bits_to_int(bits[:7]), bits[7:]
231 num, bits = bits_to_int(bits[:3]), bits[3:]
237 ln, bits = bits_to_int(bits[:n_l]), bits[n_l:]
246 num, bits = bits_to_int(bits[:6]), bits[6:]
[all …]
/dports/lang/erlang-runtime22/otp-OTP-22.3.4.24/lib/snmp/src/compile/
H A Dsnmpc_misc.erl29 bits_to_int/2,
53 bits_to_int(Val,Kibbles) -> function
54 bits_to_int(Val,Kibbles,0).
56 bits_to_int([],_Kibbles,Res) -> Res; function
57 bits_to_int([Kibble|Ks],Kibbles,Res) -> function
60 bits_to_int(Ks,Kibbles,Res + round(math:pow(2,V)));
/dports/lang/erlang-runtime21/otp-OTP-21.3.8.24/lib/snmp/src/compile/
H A Dsnmpc_misc.erl29 bits_to_int/2,
53 bits_to_int(Val,Kibbles) -> function
54 bits_to_int(Val,Kibbles,0).
56 bits_to_int([],_Kibbles,Res) -> Res; function
57 bits_to_int([Kibble|Ks],Kibbles,Res) -> function
60 bits_to_int(Ks,Kibbles,Res + round(math:pow(2,V)));
/dports/lang/erlang-runtime23/otp-OTP-23.3.4.10/lib/snmp/src/compile/
H A Dsnmpc_misc.erl29 bits_to_int/2,
53 bits_to_int(Val,Kibbles) -> function
54 bits_to_int(Val,Kibbles,0).
56 bits_to_int([],_Kibbles,Res) -> Res; function
57 bits_to_int([Kibble|Ks],Kibbles,Res) -> function
60 bits_to_int(Ks,Kibbles,Res + round(math:pow(2,V)));
/dports/lang/erlang-runtime24/otp-OTP-24.1.7/lib/snmp/src/compile/
H A Dsnmpc_misc.erl29 bits_to_int/2,
53 bits_to_int(Val,Kibbles) -> function
54 bits_to_int(Val,Kibbles,0).
56 bits_to_int([],_Kibbles,Res) -> Res; function
57 bits_to_int([Kibble|Ks],Kibbles,Res) -> function
60 bits_to_int(Ks,Kibbles,Res + round(math:pow(2,V)));
/dports/lang/erlang-wx/otp-OTP-24.1.7/lib/snmp/src/compile/
H A Dsnmpc_misc.erl29 bits_to_int/2,
53 bits_to_int(Val,Kibbles) -> function
54 bits_to_int(Val,Kibbles,0).
56 bits_to_int([],_Kibbles,Res) -> Res; function
57 bits_to_int([Kibble|Ks],Kibbles,Res) -> function
60 bits_to_int(Ks,Kibbles,Res + round(math:pow(2,V)));
/dports/lang/erlang-java/otp-OTP-24.1.7/lib/snmp/src/compile/
H A Dsnmpc_misc.erl29 bits_to_int/2,
53 bits_to_int(Val,Kibbles) -> function
54 bits_to_int(Val,Kibbles,0).
56 bits_to_int([],_Kibbles,Res) -> Res; function
57 bits_to_int([Kibble|Ks],Kibbles,Res) -> function
60 bits_to_int(Ks,Kibbles,Res + round(math:pow(2,V)));
/dports/lang/erlang/otp-OTP-24.1.7/lib/snmp/src/compile/
H A Dsnmpc_misc.erl29 bits_to_int/2,
53 bits_to_int(Val,Kibbles) -> function
54 bits_to_int(Val,Kibbles,0).
56 bits_to_int([],_Kibbles,Res) -> Res; function
57 bits_to_int([Kibble|Ks],Kibbles,Res) -> function
60 bits_to_int(Ks,Kibbles,Res + round(math:pow(2,V)));
/dports/lang/erlang-runtime21/otp-OTP-21.3.8.24/lib/snmp/src/misc/
H A Dsnmp_misc.erl32 bits_to_int/2,
345 bits_to_int(Val,Kibbles) -> function
346 bits_to_int(Val,Kibbles,0).
348 bits_to_int([],_Kibbles,Res) -> Res; function
349 bits_to_int([Kibble|Ks],Kibbles,Res) -> function
352 bits_to_int(Ks,Kibbles,Res + round(math:pow(2,V)));
/dports/net/py-netaddr/netaddr-0.8.0/netaddr/tests/strategy/
H A Dtest_eui48_strategy.py14 assert eui48.bits_to_int(b) == i
47 assert eui48.bits_to_int(b, eui48.mac_unix) == i
H A Dtest_ipv4_strategy.py16 assert ipv4.bits_to_int(b) == i
H A Dtest_ipv6_strategy.py16 assert ipv6.bits_to_int(b) == i
/dports/lang/erlang-runtime23/otp-OTP-23.3.4.10/lib/snmp/src/misc/
H A Dsnmp_misc.erl32 bits_to_int/2,
451 bits_to_int(Val,Kibbles) -> function
452 bits_to_int(Val,Kibbles,0).
454 bits_to_int([],_Kibbles,Res) -> Res; function
455 bits_to_int([Kibble|Ks],Kibbles,Res) -> function
458 bits_to_int(Ks,Kibbles,Res + round(math:pow(2,V)));
/dports/lang/erlang-runtime24/otp-OTP-24.1.7/lib/snmp/src/misc/
H A Dsnmp_misc.erl32 bits_to_int/2,
451 bits_to_int(Val,Kibbles) -> function
452 bits_to_int(Val,Kibbles,0).
454 bits_to_int([],_Kibbles,Res) -> Res; function
455 bits_to_int([Kibble|Ks],Kibbles,Res) -> function
458 bits_to_int(Ks, Kibbles, Res + round(math:pow(2,V)));
/dports/lang/erlang-runtime22/otp-OTP-22.3.4.24/lib/snmp/src/misc/
H A Dsnmp_misc.erl32 bits_to_int/2,
451 bits_to_int(Val,Kibbles) -> function
452 bits_to_int(Val,Kibbles,0).
454 bits_to_int([],_Kibbles,Res) -> Res; function
455 bits_to_int([Kibble|Ks],Kibbles,Res) -> function
458 bits_to_int(Ks,Kibbles,Res + round(math:pow(2,V)));
/dports/lang/erlang-wx/otp-OTP-24.1.7/lib/snmp/src/misc/
H A Dsnmp_misc.erl32 bits_to_int/2,
451 bits_to_int(Val,Kibbles) -> function
452 bits_to_int(Val,Kibbles,0).
454 bits_to_int([],_Kibbles,Res) -> Res; function
455 bits_to_int([Kibble|Ks],Kibbles,Res) -> function
458 bits_to_int(Ks, Kibbles, Res + round(math:pow(2,V)));
/dports/lang/erlang/otp-OTP-24.1.7/lib/snmp/src/misc/
H A Dsnmp_misc.erl32 bits_to_int/2,
451 bits_to_int(Val,Kibbles) -> function
452 bits_to_int(Val,Kibbles,0).
454 bits_to_int([],_Kibbles,Res) -> Res; function
455 bits_to_int([Kibble|Ks],Kibbles,Res) -> function
458 bits_to_int(Ks, Kibbles, Res + round(math:pow(2,V)));
/dports/lang/erlang-java/otp-OTP-24.1.7/lib/snmp/src/misc/
H A Dsnmp_misc.erl32 bits_to_int/2,
451 bits_to_int(Val,Kibbles) -> function
452 bits_to_int(Val,Kibbles,0).
454 bits_to_int([],_Kibbles,Res) -> Res; function
455 bits_to_int([Kibble|Ks],Kibbles,Res) -> function
458 bits_to_int(Ks, Kibbles, Res + round(math:pow(2,V)));
/dports/net/py-netaddr/netaddr-0.8.0/netaddr/strategy/
H A Dipv6.py32 bits_to_int as _bits_to_int, int_to_bits as _int_to_bits,
240 def bits_to_int(bits): function
H A Deui64.py16 bits_to_int as _bits_to_int, int_to_bits as _int_to_bits,
249 def bits_to_int(bits, dialect=None): function
H A Dipv4.py25 bits_to_int as _bits_to_int, int_to_bits as _int_to_bits,
221 def bits_to_int(bits): function
H A Deui48.py26 bits_to_int as _bits_to_int, int_to_bits as _int_to_bits,
272 def bits_to_int(bits, dialect=None): function
/dports/devel/libsigrokdecode/libsigrokdecode-0.5.3/decoders/ac97/
H A Dpd.py176 def bits_to_int(self, bits): member in Decoder
195 by = self.bits_to_int(by)
448 slot_data = self.bits_to_int(slot_bits)
454 slot_data = self.bits_to_int(slot_bits)
/dports/cad/iverilog/verilog-11.0/tgt-vhdl/
H A Dcast.cc272 int64_t vhdl_const_bits::bits_to_int() const in bits_to_int() function in vhdl_const_bits
321 return new vhdl_const_int(bits_to_int()); in to_integer()
/dports/textproc/highlight/highlight-4.1/langDefs/
H A Deuphoria.lang14 "atom_to_float32", "bk_color", "bytes_to_int", "bits_to_int", "compare",

123