Home
last modified time | relevance | path

Searched refs:qlen (Results 1 – 25 of 2340) sorted by relevance

12345678910>>...94

/dports/biology/ncbi-cxx-toolkit/ncbi_cxx--25_2_0/src/app/oligofar/
H A Ddaligner.hpp12 virtual void Align( CSeqCoding::ECoding qc, const char * q, int qlen, \
32 void AlignC( const char * q, int qlen, const char * s, int slen, int flags ); \
34 void AlignQ( const char * q, int qlen, const char * s, int slen, int flags ); \
36 void AlignQS( const char * q, int qlen, const char * s, int slen, int flags ); \
42 inline void CAligner_ ## ALGO::Align( CSeqCoding::ECoding qc, const char * q, int qlen, \
45 if( qlen > 0 ) { \
68 AlignQS<CQuery,TSbjNcbi8naRefFwd>( q, qlen, s, slen, flags ); \
70 AlignQS<CQuery,TSbjNcbi8naRefRev>( q, qlen, s, slen, flags ); \
77 AlignQS<CQuery,TSbjNcbi8naRefFwd>( q, qlen, s, slen, flags ); \
79 AlignQS<CQuery,TSbjNcbi8naRefRev>( q, qlen, s, slen, flags ); \
[all …]
/dports/net/libunp/unpv12e/debug/
H A Dqlen.c50 int qlen, j, k, junk, fd[MAXBACKLOG + 1]; in do_parent() local
56 for (qlen = 0; qlen <= 14; qlen++) { in do_parent()
57 printf("qlen = %d: ", qlen); in do_parent()
58 Write(pfd, &qlen, sizeof(int)); /* tell child value */ in do_parent()
85 qlen = -1; /* tell child we're all done */ in do_parent()
86 Write(pfd, &qlen, sizeof(int)); in do_parent()
92 int listenfd, qlen, junk; in do_child() local
97 Read(cfd, &qlen, sizeof(int)); /* wait for parent */ in do_child()
98 while (qlen >= 0) { in do_child()
104 tbind.qlen = qlen; in do_child()
[all …]
/dports/games/retroarch/RetroArch-1.9.7/deps/bearssl-0.6/src/rsa/
H A Drsa_i15_modulus.c34 size_t nlen, plen, qlen, tlen; in br_rsa_i15_compute_modulus() local
46 qlen = sk->qlen; in br_rsa_i15_compute_modulus()
47 while (qlen > 0 && *qbuf == 0) { in br_rsa_i15_compute_modulus()
49 qlen --; in br_rsa_i15_compute_modulus()
70 if ((15 * tlen) < (qlen << 3) + 15) { in br_rsa_i15_compute_modulus()
73 br_i15_decode(t, qbuf, qlen); in br_rsa_i15_compute_modulus()
75 qlen = (q[0] + 31) >> 4; in br_rsa_i15_compute_modulus()
76 t += qlen; in br_rsa_i15_compute_modulus()
77 tlen -= qlen; in br_rsa_i15_compute_modulus()
83 if (tlen < (plen + qlen + 1)) { in br_rsa_i15_compute_modulus()
H A Drsa_i31_modulus.c34 size_t nlen, plen, qlen, tlen; in br_rsa_i31_compute_modulus() local
46 qlen = sk->qlen; in br_rsa_i31_compute_modulus()
47 while (qlen > 0 && *qbuf == 0) { in br_rsa_i31_compute_modulus()
49 qlen --; in br_rsa_i31_compute_modulus()
70 if ((31 * tlen) < (qlen << 3) + 31) { in br_rsa_i31_compute_modulus()
73 br_i31_decode(t, qbuf, qlen); in br_rsa_i31_compute_modulus()
75 qlen = (q[0] + 63) >> 5; in br_rsa_i31_compute_modulus()
76 t += qlen; in br_rsa_i31_compute_modulus()
77 tlen -= qlen; in br_rsa_i31_compute_modulus()
83 if (tlen < (plen + qlen + 1)) { in br_rsa_i31_compute_modulus()
H A Drsa_i31_privexp.c64 size_t plen, qlen, u, len, dlen; in br_rsa_i31_compute_privexp() local
90 qlen = sk->qlen; in br_rsa_i31_compute_privexp()
91 while (qlen > 0 && *qbuf == 0) { in br_rsa_i31_compute_privexp()
93 qlen --; in br_rsa_i31_compute_privexp()
95 if (qlen < 5 || qlen > (BR_MAX_RSA_FACTOR / 8) in br_rsa_i31_compute_privexp()
96 || (qbuf[qlen - 1] & 1) != 1) in br_rsa_i31_compute_privexp()
113 br_i31_decode(q, qbuf, qlen); in br_rsa_i31_compute_privexp()
114 qlen = (q[0] + 31) >> 5; in br_rsa_i31_compute_privexp()
125 phi = q + 1 + qlen; in br_rsa_i31_compute_privexp()
/dports/security/bearssl/bearssl-0.6/src/rsa/
H A Drsa_i15_modulus.c34 size_t nlen, plen, qlen, tlen; in br_rsa_i15_compute_modulus() local
46 qlen = sk->qlen; in br_rsa_i15_compute_modulus()
47 while (qlen > 0 && *qbuf == 0) { in br_rsa_i15_compute_modulus()
49 qlen --; in br_rsa_i15_compute_modulus()
70 if ((15 * tlen) < (qlen << 3) + 15) { in br_rsa_i15_compute_modulus()
73 br_i15_decode(t, qbuf, qlen); in br_rsa_i15_compute_modulus()
75 qlen = (q[0] + 31) >> 4; in br_rsa_i15_compute_modulus()
76 t += qlen; in br_rsa_i15_compute_modulus()
77 tlen -= qlen; in br_rsa_i15_compute_modulus()
83 if (tlen < (plen + qlen + 1)) { in br_rsa_i15_compute_modulus()
H A Drsa_i31_modulus.c34 size_t nlen, plen, qlen, tlen; in br_rsa_i31_compute_modulus() local
46 qlen = sk->qlen; in br_rsa_i31_compute_modulus()
47 while (qlen > 0 && *qbuf == 0) { in br_rsa_i31_compute_modulus()
49 qlen --; in br_rsa_i31_compute_modulus()
70 if ((31 * tlen) < (qlen << 3) + 31) { in br_rsa_i31_compute_modulus()
73 br_i31_decode(t, qbuf, qlen); in br_rsa_i31_compute_modulus()
75 qlen = (q[0] + 63) >> 5; in br_rsa_i31_compute_modulus()
76 t += qlen; in br_rsa_i31_compute_modulus()
77 tlen -= qlen; in br_rsa_i31_compute_modulus()
83 if (tlen < (plen + qlen + 1)) { in br_rsa_i31_compute_modulus()
/dports/misc/rump/buildrump.sh-b914579/src/sys/dev/raidframe/
H A Drf_sstf.c56 #define QSUM(_sstfq_) (((_sstfq_)->lopri.qlen)+((_sstfq_)->left.qlen)+((_sstfq_)->right.qlen))
123 (_q_)->qlen--; \
140 (_q_)->qlen--; \
297 sstfq->left.qlen, sstfq->right.qlen, in rf_SstfEnqueue()
302 sstfq->lopri.qlen++; in rf_SstfEnqueue()
306 sstfq->left.qlen++; in rf_SstfEnqueue()
335 queue->qlen--; in do_dequeue()
357 sstfq->left.qlen, sstfq->right.qlen, sstfq->lopri.qlen); in rf_SstfDequeue()
421 scanq->left.qlen, scanq->right.qlen, scanq->lopri.qlen); in rf_ScanDequeue()
477 cscanq->left.qlen, cscanq->right.qlen, in rf_CscanDequeue()
[all …]
/dports/mail/vpopmail/vpopmail-5.4.33/vusaged/
H A Dpacket.c47 uint16_t qlen = 0; in packet_read() local
60 memcpy(&qlen, g->data, sizeof(uint16_t)); in packet_read()
62 qlen = ntohs(qlen); in packet_read()
64 if (qlen == 0) { in packet_read()
79 if (qlen > PACKET_MAX_QUERY_SIZE) { in packet_read()
80 fprintf(stderr, "packet_read: received large query: %d\n", qlen); in packet_read()
88 if (g->bytes < (qlen + sizeof(uint16_t))) { in packet_read()
103 ret = query_parse(handle, (g->data + sizeof(uint16_t)), qlen); in packet_read()
113 ret = grow_cut(g, qlen + sizeof(uint16_t)); in packet_read()
/dports/dns/ares/ares-1.1.1/
H A Dares_send.c28 void ares_send(ares_channel channel, const unsigned char *qbuf, int qlen, in ares_send() argument
36 if (qlen < HFIXEDSZ || qlen >= (1 << 16)) in ares_send()
49 query->tcpbuf = malloc(qlen + 2); in ares_send()
72 query->tcpbuf[0] = (qlen >> 8) & 0xff; in ares_send()
73 query->tcpbuf[1] = qlen & 0xff; in ares_send()
74 memcpy(query->tcpbuf + 2, qbuf, qlen); in ares_send()
75 query->tcplen = qlen + 2; in ares_send()
79 query->qlen = qlen; in ares_send()
88 query->using_tcp = (channel->flags & ARES_FLAG_USEVC) || qlen > PACKETSZ; in ares_send()
/dports/biology/bbmap/bbmap/current/icecream/
H A DIceCreamAlignerJNI.java29 final int qlen=query.length; in alignForward() local
36 if((qlen+rlen+32)*2>Short.MAX_VALUE) { in alignForward()
84 final int qlen=query.length; in alignForwardShort() local
88 if((qlen+rlen+32)*2>Short.MAX_VALUE) { in alignForwardShort()
95 alignForwardShortJNI(qInt, rInt, retVec, qlen, rlen); in alignForwardShort()
143 for(int i=0; i<=arrayLength-qlen; i++){prev[i]=0;} in alignForwardPseudo()
149 for(int qpos=0; qpos<qlen; qpos++){ in alignForwardPseudo()
154 final int remainingBases=(qlen-qpos); in alignForwardPseudo()
210 maxQpos=qlen; in alignForwardPseudo()
222 final int arrayLength=qlen; in alignForwardShortPseudo()
[all …]
/dports/biology/bowtie/bowtie-1.3.1/
H A Dref_aligner.h199 assert_gt(qlen, 0); in naiveFind()
287 assert_gt(qlen, 0); in anchor64Find()
296 const TIndexOffU anchorOverhang = qlen <= 32 ? 0 : qlen - 32; in anchor64Find()
530 assert_gt(qlen, 0); in naiveFind()
628 assert_gt(qlen, 0); in naiveFind()
639 const size_t anchorOverhang = (qlen <= 32 ? 0 : (qlen - 32)); in naiveFind()
931 assert_gt(qlen, 0); in naiveFind()
1988 qend -= qlen; in naiveFind()
1991 qbegin += qlen; in naiveFind()
2180 qend -= qlen; in naiveFind()
[all …]
/dports/security/p5-Crypt-Perl/Crypt-Perl-0.34/lib/Crypt/Perl/ECDSA/
H A DDeterministic.pm25 our $qlen;
38 local $qlen = length $order->to_bin();
39 local $qlen_bytelen = Crypt::Perl::Math::ceil( $qlen / 8 );
82 last if length(_bytes_to_bitstxt($T)) >= $qlen;
87 $k = bits2int($T, $qlen);
111 my ($bits, $qlen) = @_;
116 if ($qlen < $blen) {
117 substr($bits, -($blen - $qlen)) = q<>;
138 my $z1 = bits2int($bits, $qlen);
142 return int2octets($z2, $qlen);
/dports/dns/py-pycares/pycares-3.1.1/deps/c-ares/src/
H A Dares_send.c35 void ares_send(ares_channel channel, const unsigned char *qbuf, int qlen, in ares_send() argument
43 if (qlen < HFIXEDSZ || qlen >= (1 << 16)) in ares_send()
56 query->tcpbuf = ares_malloc(qlen + 2); in ares_send()
87 query->tcpbuf[0] = (unsigned char)((qlen >> 8) & 0xff); in ares_send()
88 query->tcpbuf[1] = (unsigned char)(qlen & 0xff); in ares_send()
89 memcpy(query->tcpbuf + 2, qbuf, qlen); in ares_send()
90 query->tcplen = qlen + 2; in ares_send()
94 query->qlen = qlen; in ares_send()
114 query->using_tcp = (channel->flags & ARES_FLAG_USEVC) || qlen > packetsz; in ares_send()
/dports/dns/c-ares/c-ares-1.17.2/src/lib/
H A Dares_send.c29 void ares_send(ares_channel channel, const unsigned char *qbuf, int qlen, in ares_send() argument
37 if (qlen < HFIXEDSZ || qlen >= (1 << 16)) in ares_send()
50 query->tcpbuf = ares_malloc(qlen + 2); in ares_send()
81 query->tcpbuf[0] = (unsigned char)((qlen >> 8) & 0xff); in ares_send()
82 query->tcpbuf[1] = (unsigned char)(qlen & 0xff); in ares_send()
83 memcpy(query->tcpbuf + 2, qbuf, qlen); in ares_send()
84 query->tcplen = qlen + 2; in ares_send()
88 query->qlen = qlen; in ares_send()
108 query->using_tcp = (channel->flags & ARES_FLAG_USEVC) || qlen > packetsz; in ares_send()
/dports/sysutils/fluent-bit/fluent-bit-1.8.11/lib/c-ares-809d5e84/src/lib/
H A Dares_send.c29 void ares_send(ares_channel channel, const unsigned char *qbuf, int qlen, in ares_send() argument
37 if (qlen < HFIXEDSZ || qlen >= (1 << 16)) in ares_send()
50 query->tcpbuf = ares_malloc(qlen + 2); in ares_send()
81 query->tcpbuf[0] = (unsigned char)((qlen >> 8) & 0xff); in ares_send()
82 query->tcpbuf[1] = (unsigned char)(qlen & 0xff); in ares_send()
83 memcpy(query->tcpbuf + 2, qbuf, qlen); in ares_send()
84 query->tcplen = qlen + 2; in ares_send()
88 query->qlen = qlen; in ares_send()
108 query->using_tcp = (channel->flags & ARES_FLAG_USEVC) || qlen > packetsz; in ares_send()
/dports/www/node10/node-v10.24.1/deps/cares/src/
H A Dares_send.c35 void ares_send(ares_channel channel, const unsigned char *qbuf, int qlen, in ares_send() argument
43 if (qlen < HFIXEDSZ || qlen >= (1 << 16)) in ares_send()
56 query->tcpbuf = ares_malloc(qlen + 2); in ares_send()
87 query->tcpbuf[0] = (unsigned char)((qlen >> 8) & 0xff); in ares_send()
88 query->tcpbuf[1] = (unsigned char)(qlen & 0xff); in ares_send()
89 memcpy(query->tcpbuf + 2, qbuf, qlen); in ares_send()
90 query->tcplen = qlen + 2; in ares_send()
94 query->qlen = qlen; in ares_send()
114 query->using_tcp = (channel->flags & ARES_FLAG_USEVC) || qlen > packetsz; in ares_send()
/dports/devel/py-grpcio/grpcio-1.43.0/third_party/cares/cares/
H A Dares_send.c35 void ares_send(ares_channel channel, const unsigned char *qbuf, int qlen, in ares_send() argument
43 if (qlen < HFIXEDSZ || qlen >= (1 << 16)) in ares_send()
56 query->tcpbuf = ares_malloc(qlen + 2); in ares_send()
87 query->tcpbuf[0] = (unsigned char)((qlen >> 8) & 0xff); in ares_send()
88 query->tcpbuf[1] = (unsigned char)(qlen & 0xff); in ares_send()
89 memcpy(query->tcpbuf + 2, qbuf, qlen); in ares_send()
90 query->tcplen = qlen + 2; in ares_send()
94 query->qlen = qlen; in ares_send()
114 query->using_tcp = (channel->flags & ARES_FLAG_USEVC) || qlen > packetsz; in ares_send()
/dports/biology/canu/canu-2.2/src/utility/src/utility/
H A Dalign-ksw2-extz.C16 if (w < 0) w = tlen > qlen? tlen : qlen; in ksw_extz()
17 n_col = qlen < 2*w+1? qlen : 2*w+1; // maximum #columns of the backtrack matrix in ksw_extz()
18 qp = (int8_t*)kmalloc(km, qlen * m); in ksw_extz()
19 eh = (eh_t*)kcalloc(km, qlen + 1, 8); in ksw_extz()
33 for (j = 1; j <= qlen && j <= w; ++j) in ksw_extz()
40 int8_t *q = &qp[target[i] * qlen]; in ksw_extz()
42 en = i + w < qlen - 1? i + w : qlen - 1; in ksw_extz()
118 if (en == qlen - 1 && eh[qlen].h > ez->mqe) in ksw_extz()
119 ez->mqe = eh[qlen].h, ez->mqe_t = i; in ksw_extz()
123 if (i == tlen - 1 && en == qlen - 1) in ksw_extz()
[all …]
/dports/biology/bbmap/bbmap/jni/
H A DIceCreamAlignerJNI.c37 for(int qpos=0; qpos<qlen; qpos++){ in alignForwardJNI()
42 const int remainingBases=(qlen-qpos); in alignForwardJNI()
84 maxQpos=qlen; in alignForwardJNI()
122 for(jshort qpos=0; qpos<qlen; qpos++){ in alignForward16JNI()
127 const jshort remainingBases=(qlen-qpos); in alignForward16JNI()
183 maxQpos=qlen; in alignForward16JNI()
196 const jint arrayLength=qlen; in alignForwardShortJNI()
197 const jint arrayLength2=qlen+1; in alignForwardShortJNI()
284 const jshort arrayLength=qlen; in alignForwardShort16JNI()
285 const jshort arrayLength2=qlen+1; in alignForwardShort16JNI()
[all …]
/dports/biology/vsearch/vsearch-2.17.1/src/
H A Dalign.cc212 int64_t qlen = qend - qseq; in nw_align() local
215 if (qlen * dlen > nw->dir_alloc) in nw_align()
217 nw->dir_alloc = qlen * dlen; in nw_align()
232 for(i=0; i<qlen; i++) in nw_align()
235 if (i < qlen-1) { in nw_align()
267 for(i=0; i<qlen; i++) in nw_align()
269 char * d = nw->dir + qlen*j+i; in nw_align()
289 if (i < qlen-1) in nw_align()
342 char * cigarend = cigar+qlen+dlen+1; in nw_align()
348 i = qlen; in nw_align()
[all …]
/dports/biology/minimap2/minimap2-2.24/
H A Dksw2_dispatch.c61 ksw_extz2_sse41(km, qlen, query, tlen, target, m, mat, q, e, w, zdrop, end_bonus, flag, ez); in ksw_extz2_sse()
63 ksw_extz2_sse2(km, qlen, query, tlen, target, m, mat, q, e, w, zdrop, end_bonus, flag, ez); in ksw_extz2_sse()
67 void ksw_extd2_sse(void *km, int qlen, const uint8_t *query, int tlen, const uint8_t *target, int8_… in ksw_extd2_sse() argument
70 …extern void ksw_extd2_sse2(void *km, int qlen, const uint8_t *query, int tlen, const uint8_t *targ… in ksw_extd2_sse()
72 …extern void ksw_extd2_sse41(void *km, int qlen, const uint8_t *query, int tlen, const uint8_t *tar… in ksw_extd2_sse()
76 …ksw_extd2_sse41(km, qlen, query, tlen, target, m, mat, q, e, q2, e2, w, zdrop, end_bonus, flag, ez… in ksw_extd2_sse()
78 …ksw_extd2_sse2(km, qlen, query, tlen, target, m, mat, q, e, q2, e2, w, zdrop, end_bonus, flag, ez); in ksw_extd2_sse()
82 void ksw_exts2_sse(void *km, int qlen, const uint8_t *query, int tlen, const uint8_t *target, int8_… in ksw_exts2_sse() argument
85 …extern void ksw_exts2_sse2(void *km, int qlen, const uint8_t *query, int tlen, const uint8_t *targ… in ksw_exts2_sse()
91 …ksw_exts2_sse41(km, qlen, query, tlen, target, m, mat, q, e, q2, noncan, zdrop, junc_bonus, flag, … in ksw_exts2_sse()
[all …]
/dports/net/cjdns/cjdns-cjdns-v21.1/node_build/dependencies/cnacl/crypto_scalarmult/
H A Dtry.c17 #define qlen crypto_scalarmult_BYTES macro
41 q = alignedcalloc(qlen); in allocate()
46 q2 = alignedcalloc(qlen + crypto_scalarmult_BYTES); in allocate()
71 for (i = 0;i < qlen;++i) q[i] = i + 3; in checksum_compute()
91 for (i = qlen;i < qlen + 16;++i) q[i] = random(); in checksum_compute()
94 for (i = -16;i < qlen + 16;++i) q2[i] = q[i]; in checksum_compute()
103 …for (i = qlen;i < qlen + 16;++i) if (q2[i] != q[i]) return "crypto_scalarmult writes after output"; in checksum_compute()
106 … for (i = 0;i < qlen;++i) if (q[i] != m2[i]) return "crypto_scalarmult does not handle n overlap"; in checksum_compute()
107 for (i = 0;i < qlen;++i) m2[i] = m[i]; in checksum_compute()
110 … for (i = 0;i < qlen;++i) if (q[i] != p2[i]) return "crypto_scalarmult does not handle p overlap"; in checksum_compute()
[all …]
/dports/multimedia/v4l_compat/linux-5.13-rc2/sound/core/seq/oss/
H A Dseq_oss_readq.c48 q->qlen = 0; in snd_seq_oss_readq_new()
76 if (q->qlen) { in snd_seq_oss_readq_clear()
77 q->qlen = 0; in snd_seq_oss_readq_clear()
146 if (q->qlen >= q->maxlen - 1) { in snd_seq_oss_readq_put_event()
153 q->qlen++; in snd_seq_oss_readq_put_event()
171 if (q->qlen == 0) in snd_seq_oss_readq_pick()
184 (q->qlen > 0 || q->head == q->tail), in snd_seq_oss_readq_wait()
195 if (q->qlen > 0) { in snd_seq_oss_readq_free()
197 q->qlen--; in snd_seq_oss_readq_free()
209 return q->qlen; in snd_seq_oss_readq_poll()
[all …]
/dports/multimedia/libv4l/linux-5.13-rc2/sound/core/seq/oss/
H A Dseq_oss_readq.c48 q->qlen = 0; in snd_seq_oss_readq_new()
76 if (q->qlen) { in snd_seq_oss_readq_clear()
77 q->qlen = 0; in snd_seq_oss_readq_clear()
146 if (q->qlen >= q->maxlen - 1) { in snd_seq_oss_readq_put_event()
153 q->qlen++; in snd_seq_oss_readq_put_event()
171 if (q->qlen == 0) in snd_seq_oss_readq_pick()
184 (q->qlen > 0 || q->head == q->tail), in snd_seq_oss_readq_wait()
195 if (q->qlen > 0) { in snd_seq_oss_readq_free()
197 q->qlen--; in snd_seq_oss_readq_free()
209 return q->qlen; in snd_seq_oss_readq_poll()
[all …]

12345678910>>...94