/dports/www/erlang-mochiweb/mochiweb-2.18.0/src/ |
H A D | mochihex.erl | 27 -export([to_hex/1, to_bin/1, to_int/1, dehex/1, hexdigit/1]). 40 to_bin(L) -> function 41 to_bin(L, []). 76 to_bin([], Acc) -> function 78 to_bin([C1, C2 | Rest], Acc) -> function 79 to_bin(Rest, [(dehex(C1) bsl 4) bor dehex(C2) | Acc]). 96 <<255, 0, 15, 241>> = to_bin("ff000ff1"), 97 <<255, 0, 10, 161>> = to_bin("Ff000aA1"),
|
/dports/www/erlang-mochiweb-basho/mochiweb-4d38821/src/ |
H A D | mochihex.erl | 9 -export([to_hex/1, to_bin/1, to_int/1, dehex/1, hexdigit/1]). 22 to_bin(L) -> function 23 to_bin(L, []). 58 to_bin([], Acc) -> function 60 to_bin([C1, C2 | Rest], Acc) -> function 61 to_bin(Rest, [(dehex(C1) bsl 4) bor dehex(C2) | Acc]). 78 <<255, 0, 15, 241>> = to_bin("ff000ff1"), 79 <<255, 0, 10, 161>> = to_bin("Ff000aA1"),
|
/dports/databases/couchdb3/apache-couchdb-3.2.1/src/mochiweb/src/ |
H A D | mochihex.erl | 27 -export([to_hex/1, to_bin/1, to_int/1, dehex/1, hexdigit/1]). 40 to_bin(L) -> function 41 to_bin(L, []). 76 to_bin([], Acc) -> function 78 to_bin([C1, C2 | Rest], Acc) -> function 79 to_bin(Rest, [(dehex(C1) bsl 4) bor dehex(C2) | Acc]). 96 <<255, 0, 15, 241>> = to_bin("ff000ff1"), 97 <<255, 0, 10, 161>> = to_bin("Ff000aA1"),
|
/dports/math/singular/Singular-Release-4-2-1/omalloc/ |
H A D | omBin.c | 276 omAssume(to_bin != from_bin); in omMergeStickyPages() 281 omSetTopBinAndStickyOfPage(page, to_bin, to_bin->sticky); in omMergeStickyPages() 287 if (to_bin->last_page == NULL) in omMergeStickyPages() 296 to_bin->current_page != NULL); in omMergeStickyPages() 307 to_bin->current_page = to_bin->current_page->prev; in omMergeStickyPages() 314 to_bin->current_page->used_blocks = 0; in omMergeStickyPages() 318 omAssume(to_bin->current_page != NULL && in omMergeStickyPages() 323 if (to_bin->current_page->next != NULL) in omMergeStickyPages() 327 omAssume(to_bin->current_page == to_bin->last_page); in omMergeStickyPages() 330 to_bin->current_page->next = page; in omMergeStickyPages() [all …]
|
/dports/databases/couchdb3/apache-couchdb-3.2.1/src/couch_prometheus/src/ |
H A D | couch_prometheus_util.erl | 17 to_bin/1, 91 TypeStr = to_bin(io_lib:format("# TYPE ~s ~s", [to_prom_name(Metric), Type])), 98 lists:flatten(io_lib:format("~s=\"~s\"", [to_bin(K), to_bin(V)])) 107 [to_bin(io_lib:format("~s ~p", [MetricStr, Value]))]; 109 [to_bin(io_lib:format("~s ~p", [to_prom_name(Metric), Value]))]. 136 to_bin(io_lib:format("couchdb_~s", [Metric])). 148 false -> to_bin(io_lib:format("~s_total", [Name])) 151 to_bin(Data) when is_list(Data) -> function 153 to_bin(Data) when is_atom(Data) -> function 155 to_bin(Data) when is_integer(Data) -> function [all …]
|
/dports/lang/elixir/elixir-1.12.3/lib/elixir/test/elixir/kernel/ |
H A D | comprehension_test.exs | 25 defp to_bin(x) do function 149 to_bin(x * 2) 162 to_bin(x * 2) 172 to_bin(x * 2) 302 to_bin(x * 2) 315 to_bin(x * 2) 325 to_bin(x * 2) 376 to_bin(x * 2) 389 to_bin(x * 2) 399 to_bin(x * 2) [all …]
|
/dports/lang/elixir-devel/elixir-1.13.1/lib/elixir/test/elixir/kernel/ |
H A D | comprehension_test.exs | 25 defp to_bin(x) do function 162 to_bin(x * 2) 175 to_bin(x * 2) 185 to_bin(x * 2) 315 to_bin(x * 2) 328 to_bin(x * 2) 338 to_bin(x * 2) 389 to_bin(x * 2) 402 to_bin(x * 2) 412 to_bin(x * 2) [all …]
|
/dports/devel/z80-asm/z80-asm-2.3/hardware/ |
H A D | analyzer.c | 8 static char* to_bin(unsigned value, unsigned len) in to_bin() function 28 fprintf(fp,"%16s(%4x) ", to_bin(ADDRESS,16), (unsigned)ADDRESS ); in send_pulse_to_analyzer() 29 fprintf(fp,"%8s(%2x) %c%c%c%c%c ", to_bin(DATA,8), (unsigned)DATA, in send_pulse_to_analyzer()
|
/dports/net/pear-SOAP/SOAP-0.14.0/SOAP/Type/ |
H A D | hexBinary.php | 25 function to_bin($value) function in SOAP_Type_hexBinary 42 … return strcasecmp($value, SOAP_Type_hexBinary::to_hex(SOAP_Type_hexBinary::to_bin($value))) == 0;
|
/dports/net/py-kafka-python/kafka-python-1.4.5/kafka/metrics/stats/ |
H A D | histogram.py | 13 self._hist[self._bin_scheme.to_bin(value)] += 1.0 63 def to_bin(self, x): member in Histogram.ConstantBinScheme 88 def to_bin(self, x): member in Histogram.LinearBinScheme
|
/dports/finance/py-pycoin/pycoin-0.91.20210515/tests/ |
H A D | message_test.py | 14 def to_bin(obj): function 50 pa_bytes = to_bin(pa) 79 blob = to_bin(ii)
|
/dports/audio/praat/praat-6.2.03/dwtools/ |
H A D | ConstantQSpectrograms.cpp | 104 FrequencyBin to_bin = thy frequencyBins.at [ifreq]; 107 … if (Sampled_getWindowSamples (to_bin, fromTime, toTime, & itmin, & itmax) > 0 && from_index > 0) { 110 const double time = Sampled_indexToX (to_bin, index); 113 to_bin -> z [1] [index] = newValue;
|
/dports/security/p5-Crypt-Perl/Crypt-Perl-0.34/lib/Crypt/Perl/ |
H A D | BigInt.pm | 31 if ( !eval { __PACKAGE__->new(1234)->to_bin() } ) { 32 *to_bin = \&_pp_to_bin;
|
/dports/databases/couchdb3/apache-couchdb-3.2.1/src/jiffy/test/ |
H A D | jiffy_06_object_tests.erl | 26 nested(N) -> {[{to_bin(N), nested(N - 1)}]}. 29 to_bin(N) when is_integer(N) -> function
|
/dports/security/p5-Crypt-OpenSSL-Bignum/Crypt-OpenSSL-Bignum-0.09/ |
H A D | test.pl | 40 ok( $bn->to_bin() eq $bin_string ); 80 ok( $bn2->to_bin() eq $bn->to_bin() );
|
H A D | Changes | 27 - fix for #81537 to_bin method returns garbage when value is zero
|
/dports/devel/caf/actor-framework-0.18.5/libcaf_io/src/io/basp/ |
H A D | header.cpp | 13 std::string to_bin(uint8_t x) { in to_bin() function 22 oss << "{" << to_string(hdr.operation) << ", " << to_bin(hdr.flags) << ", " in to_string()
|
/dports/lang/spidermonkey78/firefox-78.9.0/third_party/python/virtualenv/virtualenv/create/via_global_ref/builtin/ |
H A D | via_global_self_do.py | 59 yield ExePathRefToDest(host_exe, dest=cls.to_bin, targets=targets, must_copy=is_py2) 61 def to_bin(self, src): member in ViaGlobalRefVirtualenvBuiltin
|
/dports/www/firefox/firefox-99.0/third_party/python/virtualenv/virtualenv/create/via_global_ref/builtin/ |
H A D | via_global_self_do.py | 69 yield ExePathRefToDest(host_exe, dest=cls.to_bin, targets=targets, must=must, when=when) 71 def to_bin(self, src): member in ViaGlobalRefVirtualenvBuiltin
|
/dports/mail/thunderbird/thunderbird-91.8.0/third_party/python/virtualenv/virtualenv/create/via_global_ref/builtin/ |
H A D | via_global_self_do.py | 69 yield ExePathRefToDest(host_exe, dest=cls.to_bin, targets=targets, must=must, when=when) 71 def to_bin(self, src): member in ViaGlobalRefVirtualenvBuiltin
|
/dports/www/firefox-esr/firefox-91.8.0/third_party/python/virtualenv/virtualenv/create/via_global_ref/builtin/ |
H A D | via_global_self_do.py | 69 yield ExePathRefToDest(host_exe, dest=cls.to_bin, targets=targets, must=must, when=when) 71 def to_bin(self, src): member in ViaGlobalRefVirtualenvBuiltin
|
/dports/net/p5-Google-SAML-Response/Google-SAML-Response-0.14/lib/Google/SAML/ |
H A D | Response.pm | 242 my $bin = $bigNum->to_bin; 246 $bin = $bigNum->to_bin;
|
/dports/devel/distel/distel-4.1.1/src/ |
H A D | distel.erl | 49 fmt(F, A) -> to_bin(io_lib:fwrite(F,A)). 51 to_bin(X) -> list_to_binary(to_list(X)). function 97 GL ! {put_chars, to_bin(io_lib:format("GL DEBUG: ~p~n", [Unknown]))} 274 to_bin(Text). 306 Tracer ! {trace_msg, to_bin(Msg)} 405 to_bin(Fname); 618 Emacs ! {message, to_bin(Msg)}, 781 {ok, [{M, F, A, to_bin(Doc)} || {M, F, A, Doc} <- Matches]};
|
/dports/net-p2p/c-lightning/lightning-0.10.2/contrib/pyln-proto/tests/ |
H A D | test_onion.py | 87 assert(o.to_bin() == bytes.fromhex(vec['onion'])) 325 assert(o.to_bin() == bytes.fromhex(v['onion']))
|
/dports/security/p5-Crypt-Perl/Crypt-Perl-0.34/lib/Crypt/Perl/ECDSA/ |
H A D | Deterministic.pm | 38 local $qlen = length $order->to_bin();
|