Home
last modified time | relevance | path

Searched refs:ksl (Results 1 – 25 of 583) sorted by relevance

12345678910>>...24

/dports/devel/cargo-generate/cargo-generate-0.9.0/cargo-crates/libnghttp2-sys-0.1.6+1.43.0/nghttp2/lib/
H A Dnghttp2_ksl.c63 ksl->front = ksl->back = ksl->head; in nghttp2_ksl_init()
98 ksl_free_blk(ksl, ksl->head); in nghttp2_ksl_free()
191 rblk = ksl_split_blk(ksl, ksl->head); in ksl_split_head()
279 i = ksl_bsearch(ksl, blk, key, ksl->compar); in nghttp2_ksl_insert()
384 nghttp2_mem_free(ksl->mem, ksl->head); in ksl_merge_node()
470 blk = ksl_merge_node(ksl, ksl->head, 0); in nghttp2_ksl_remove()
654 ksl_free_blk(ksl, nghttp2_ksl_nth_node(ksl, ksl->head, i)->blk); in nghttp2_ksl_clear()
658 ksl->front = ksl->back = ksl->head; in nghttp2_ksl_clear()
668 void nghttp2_ksl_print(nghttp2_ksl *ksl) { ksl_print(ksl, ksl->head, 0); } in nghttp2_ksl_print() argument
678 nghttp2_ksl_it_init(&it, ksl, ksl->back, ksl->back->n); in nghttp2_ksl_end()
[all …]
H A Dnghttp2_map.c59 if (bkt->ksl) { in nghttp2_map_free()
81 assert(bkt->ksl == NULL || nghttp2_ksl_len(bkt->ksl) == 0); in nghttp2_map_each_free()
85 if (bkt->ksl) { in nghttp2_map_each_free()
114 assert(bkt->ksl == NULL || nghttp2_ksl_len(bkt->ksl) == 0); in nghttp2_map_each()
118 if (bkt->ksl) { in nghttp2_map_each()
164 (bkt->ksl == NULL || nghttp2_ksl_len(bkt->ksl) == 0)) { in map_insert()
169 if (!bkt->ksl) { in map_insert()
170 bkt->ksl = nghttp2_mem_malloc(mem, sizeof(*bkt->ksl)); in map_insert()
211 assert(bkt->ksl == NULL || nghttp2_ksl_len(bkt->ksl) == 0); in map_resize()
281 if (bkt->ksl) { in nghttp2_map_find()
[all …]
H A Dnghttp2_ksl.h121 const nghttp2_ksl *ksl; member
164 void nghttp2_ksl_free(nghttp2_ksl *ksl);
179 int nghttp2_ksl_insert(nghttp2_ksl *ksl, nghttp2_ksl_it *it,
196 int nghttp2_ksl_remove(nghttp2_ksl *ksl, nghttp2_ksl_it *it,
206 nghttp2_ksl_it nghttp2_ksl_lower_bound(nghttp2_ksl *ksl,
213 nghttp2_ksl_it nghttp2_ksl_lower_bound_compar(nghttp2_ksl *ksl,
230 nghttp2_ksl_it nghttp2_ksl_begin(const nghttp2_ksl *ksl);
238 nghttp2_ksl_it nghttp2_ksl_end(const nghttp2_ksl *ksl);
243 size_t nghttp2_ksl_len(nghttp2_ksl *ksl);
248 void nghttp2_ksl_clear(nghttp2_ksl *ksl);
[all …]
/dports/net/libngtcp2/ngtcp2-224bd62/lib/
H A Dngtcp2_ksl.c64 ksl->front = ksl->back = ksl->head; in ngtcp2_ksl_init()
99 ksl_free_blk(ksl, ksl->head); in ngtcp2_ksl_free()
190 rblk = ksl_split_blk(ksl, ksl->head); in ksl_split_head()
270 i = ksl_bsearch(ksl, blk, key, ksl->compar); in ngtcp2_ksl_insert()
375 ngtcp2_mem_free(ksl->mem, ksl->head); in ksl_merge_node()
500 blk = ksl_merge_node(ksl, ksl->head, 0); in ngtcp2_ksl_remove()
694 ksl_free_blk(ksl, ngtcp2_ksl_nth_node(ksl, ksl->head, i)->blk); in ngtcp2_ksl_clear()
698 ksl->front = ksl->back = ksl->head; in ngtcp2_ksl_clear()
708 void ngtcp2_ksl_print(ngtcp2_ksl *ksl) { ksl_print(ksl, ksl->head, 0); } in ngtcp2_ksl_print() argument
718 ngtcp2_ksl_it_init(&it, ksl, ksl->back, ksl->back->n); in ngtcp2_ksl_end()
[all …]
H A Dngtcp2_ksl.h116 const ngtcp2_ksl *ksl; member
159 void ngtcp2_ksl_free(ngtcp2_ksl *ksl);
174 int ngtcp2_ksl_insert(ngtcp2_ksl *ksl, ngtcp2_ksl_it *it,
191 int ngtcp2_ksl_remove(ngtcp2_ksl *ksl, ngtcp2_ksl_it *it,
212 ngtcp2_ksl_it ngtcp2_ksl_lower_bound(ngtcp2_ksl *ksl,
236 ngtcp2_ksl_it ngtcp2_ksl_begin(const ngtcp2_ksl *ksl);
244 ngtcp2_ksl_it ngtcp2_ksl_end(const ngtcp2_ksl *ksl);
249 size_t ngtcp2_ksl_len(ngtcp2_ksl *ksl);
254 void ngtcp2_ksl_clear(ngtcp2_ksl *ksl);
267 void ngtcp2_ksl_print(ngtcp2_ksl *ksl);
[all …]
/dports/www/libnghttp3/nghttp3-b9e565c/lib/
H A Dnghttp3_ksl.c65 ksl->front = ksl->back = ksl->head; in nghttp3_ksl_init()
100 ksl_free_blk(ksl, ksl->head); in nghttp3_ksl_free()
193 rblk = ksl_split_blk(ksl, ksl->head); in ksl_split_head()
276 i = ksl_bsearch(ksl, blk, key, ksl->compar); in nghttp3_ksl_insert()
381 nghttp3_mem_free(ksl->mem, ksl->head); in ksl_merge_node()
508 blk = ksl_merge_node(ksl, ksl->head, 0); in nghttp3_ksl_remove()
702 ksl_free_blk(ksl, nghttp3_ksl_nth_node(ksl, ksl->head, i)->blk); in nghttp3_ksl_clear()
706 ksl->front = ksl->back = ksl->head; in nghttp3_ksl_clear()
716 void nghttp3_ksl_print(nghttp3_ksl *ksl) { ksl_print(ksl, ksl->head, 0); } in nghttp3_ksl_print() argument
726 nghttp3_ksl_it_init(&it, ksl, ksl->back, ksl->back->n); in nghttp3_ksl_end()
[all …]
H A Dnghttp3_ksl.h117 const nghttp3_ksl *ksl; member
160 void nghttp3_ksl_free(nghttp3_ksl *ksl);
175 int nghttp3_ksl_insert(nghttp3_ksl *ksl, nghttp3_ksl_it *it,
192 int nghttp3_ksl_remove(nghttp3_ksl *ksl, nghttp3_ksl_it *it,
213 nghttp3_ksl_it nghttp3_ksl_lower_bound(nghttp3_ksl *ksl,
237 nghttp3_ksl_it nghttp3_ksl_begin(const nghttp3_ksl *ksl);
245 nghttp3_ksl_it nghttp3_ksl_end(const nghttp3_ksl *ksl);
250 size_t nghttp3_ksl_len(nghttp3_ksl *ksl);
255 void nghttp3_ksl_clear(nghttp3_ksl *ksl);
268 void nghttp3_ksl_print(nghttp3_ksl *ksl);
[all …]
/dports/net/libngtcp2/ngtcp2-224bd62/tests/
H A Dngtcp2_ksl_test.c39 ngtcp2_ksl ksl; in test_ngtcp2_ksl_insert() local
150 CU_ASSERT(29 == ngtcp2_ksl_nth_node(&ksl, ksl.head, 0)->blk->n); in test_ngtcp2_ksl_insert()
151 CU_ASSERT(18 == ngtcp2_ksl_nth_node(&ksl, ksl.head, 1)->blk->n); in test_ngtcp2_ksl_insert()
194 ngtcp2_ksl ksl; in test_ngtcp2_ksl_clear() local
230 ngtcp2_ksl ksl; in test_ngtcp2_ksl_range() local
303 CU_ASSERT(29 == ngtcp2_ksl_nth_node(&ksl, ksl.head, 0)->blk->n); in test_ngtcp2_ksl_range()
322 &ksl, ngtcp2_ksl_nth_node(&ksl, ksl.head, 1)->blk, 0) in test_ngtcp2_ksl_range()
342 node = ngtcp2_ksl_nth_node(&ksl, ksl.head, 0); in test_ngtcp2_ksl_range()
357 ngtcp2_ksl ksl; in test_ngtcp2_ksl_update_key_range() local
409 ngtcp2_ksl ksl; in test_ngtcp2_ksl_dup() local
[all …]
/dports/science/py-gpaw/gpaw-21.6.0/gpaw/lcaotddft/
H A Dutilities.py51 if not ksl.using_blacs:
56 if ksl.gd.rank != 0:
59 nM2mm = Redistributor(ksl.block_comm, ksl.nM_unique_descriptor,
63 nM2mm.redistribute(a_nM, a_mm, ksl.bd.nbands, ksl.nao)
67 def collect_MM(ksl, a_mm): argument
68 if not ksl.using_blacs:
72 NM = ksl.nao
93 NM = ksl.nao
119 if not ksl.using_blacs:
123 NM = ksl.nao
[all …]
H A Ddensitymatrix.py7 if wfs.ksl.using_blacs:
51 self.using_blacs = self.wfs.ksl.using_blacs
55 ksl = self.wfs.ksl
57 return ksl.mmdescriptor.zeros(dtype=dtype)
59 return np.zeros((ksl.mynao, ksl.nao), dtype=dtype)
63 ksl = wfs.ksl
64 rho_MM = ksl.calculate_blocked_density_matrix(kpt.f_n, kpt.C_nM)
H A Dksdecomposition.py58 self.ksl = paw.wfs.ksl
78 assert self.bd.nbands == self.ksl.nao
100 if self.ksl.using_blacs:
108 C_nM = distribute_nM(self.ksl, C_nM)
184 if self.ksl.using_blacs:
200 dm_nn = collect_MM(self.ksl, dm_nn)
262 if self.ksl.using_blacs:
339 if self.ksl.using_blacs:
341 pblas_simple_gemm(self.ksl.mmdescriptor,
353 rho_nn = collect_MM(self.ksl, rho_nn)
[all …]
H A Dfrequencydensitymatrix.py24 def __init__(self, filename, ksl, kpt_u): argument
25 self.ksl = ksl
42 return read_uMM(self.kpt_u, self.ksl, self.reader, attr)
59 return read_wuMM(self.kpt_u, self.ksl, self.reader, attr, wlist)
82 self.ksl = paw.wfs.ksl
86 if self.ksl.using_blacs:
87 ksl_comm = self.ksl.block_comm
91 assert self.world.rank == self.ksl.world.rank
177 write_uMM(self.kd, self.ksl, writer, 'rho0_uMM', self.rho0_uMM)
179 write_wuMM(self.kd, self.ksl, writer, 'FReDrho_wuMM',
[all …]
H A Dpropagators.py181 ksl = self.wfs.ksl
182 using_blacs = ksl.using_blacs
191 grid = ksl.blockgrid
192 assert grid.nprow * grid.npcol == ksl.block_comm.size
193 self.mm_block_descriptor = ksl.mmdescriptor
198 self.CnM_unique_descriptor = ksl.nM_unique_descriptor
201 self.Cnm2nM = Redistributor(ksl.block_comm,
204 self.CnM2nm = Redistributor(ksl.block_comm,
225 nao = ksl.nao
227 self.mm2MM = Redistributor(ksl.block_comm,
[all …]
H A Denergywriter.py48 ksl = paw.wfs.ksl
55 if ksl.using_blacs:
60 scalapack_zero(ksl.mmdescriptor, rhoH_MM, 'U')
63 scalapack_zero(ksl.mmdescriptor, rhoH_MM, 'L')
66 e = ksl.block_comm.sum(e)
/dports/games/libretro-beetle_bsnes/beetle-bsnes-libretro-b65ded5bde278c18af538c687db9b72c995b220a/mednafen/snes/src/lib/nall/string/
H A Dcompare.hpp25 if(ksl > ssl) return -1; in strpos()
27 if(!memcmp(str + i, key, ksl)) { in strpos()
37 if(ksl > ssl) return -1; in qstrpos()
38 for(int i = 0; i <= ssl - ksl;) { in qstrpos()
57 if(ksl > ssl) return false; in strbegin()
58 return (!memcmp(str, key, ksl)); in strbegin()
64 if(ksl > ssl) return false; in stribegin()
65 for(int i = 0; i < ksl; i++) { in stribegin()
80 if(ksl > ssl) return false; in strend()
81 return (!memcmp(str + ssl - ksl, key, ksl)); in strend()
[all …]
H A Dreplace.hpp11 if(ksl <= ssl) { in replace()
14 if(!memcmp(data + i, key, ksl)) { in replace()
16 i += ksl; in replace()
25 if(i <= ssl - ksl) { in replace()
29 i += ksl; in replace()
48 if(ksl <= ssl) { in qreplace()
49 if(tsl > ksl) { in qreplace()
50 for(i = 0; i <= ssl - ksl;) { in qreplace()
64 i += ksl; in qreplace()
83 if(i <= ssl - ksl) { in qreplace()
[all …]
H A Dsplit.hpp9 int ssl = strlen(src), ksl = strlen(key); in split() local
12 for(int i = 0; i <= ssl - ksl;) { in split()
13 if(!memcmp(src + i, key, ksl)) { in split()
15 i += ksl; in split()
27 int ssl = strlen(src), ksl = strlen(key); in qsplit() local
30 for(int i = 0; i <= ssl - ksl;) { in qsplit()
43 if(!memcmp(src + i, key, ksl)) { in qsplit()
45 i += ksl; in qsplit()
/dports/devel/qca/qca-2.3.4/plugins/qca-gnupg/
H A Dutils.cpp44 MyKeyStoreList *ksl = MyKeyStoreList::instance(); in gpg_keyStoreLog() local
45 if (ksl) in gpg_keyStoreLog()
46 ksl->ext_keyStoreLog(str); in gpg_keyStoreLog()
191 MyKeyStoreList *ksl = MyKeyStoreList::instance(); in publicKeyFromId() local
192 if (!ksl) in publicKeyFromId()
195 return ksl->publicKeyFromId(id); in publicKeyFromId()
200 MyKeyStoreList *ksl = MyKeyStoreList::instance(); in secretKeyFromId() local
201 if (!ksl) in secretKeyFromId()
204 return ksl->secretKeyFromId(id); in secretKeyFromId()
/dports/science/py-gpaw/gpaw-21.6.0/gpaw/wavefunctions/
H A Dlcao.py97 self.ksl = ksl
147 self.ksl)
157 if self.ksl is not None:
163 Mstop = self.ksl.Mstop
164 Mstart = self.ksl.Mstart
439 ksl = self.ksl
440 nao = ksl.nao
441 mynao = ksl.mynao
448 Mstart = ksl.Mstart
449 Mstop = ksl.Mstop
[all …]
/dports/audio/csound/csound-6.15.0/iOS/Csound iOS Swift Examples/Csound iOS SwiftExamples/
H A Dtest.csd15 ksl chnget "slider"
16 ksl port ksl, 0.01, isl
18 a1 oscili a2, ksl, 1
/dports/audio/csound/csound-6.15.0/iOS/Csound iOS Obj-C Examples/Csound iOS Examples/ViewControllers/SimpleTest1/
H A Dtest.csd15 ksl chnget "slider"
16 ksl port ksl, 0.01, isl
18 a1 oscili a2, ksl, 1
/dports/audio/csound/csound-6.15.0/Android/CsoundForAndroid/CsoundAndroidExamples/src/main/res/raw/
H A Dtest.csd14 ksl chnget "slider"
15 ksl port ksl, 0.01, isl
17 a1 oscili a2, p5*(1+ksl), 1
/dports/devel/tinygo/tinygo-0.14.1/llvm-project/clang/test/SemaCXX/
H A Dconstexpr-string.cpp164 constexpr long ksl[] = {0, -1}; variable
176 static_assert(__builtin_memcmp(ksl, kuSizeofLong(), sizeof(long) - 1) == 0);
177 static_assert(__builtin_memcmp(ksl, kuSizeofLong(), sizeof(long) + 0) == 0);
178 static_assert(__builtin_memcmp(ksl, kuSizeofLong(), sizeof(long) + 1) == 0);
179 static_assert(__builtin_memcmp(ksl, kuSizeofLong(), 2*sizeof(long) - 1) == 0);
180 static_assert(__builtin_memcmp(ksl, kuSizeofLong(), 2*sizeof(long) + 0) == 0);
186 static_assert(__builtin_bcmp(ksl, kuSizeofLong(), sizeof(long) - 1) == 0);
187 static_assert(__builtin_bcmp(ksl, kuSizeofLong(), sizeof(long) + 0) == 0);
188 static_assert(__builtin_bcmp(ksl, kuSizeofLong(), sizeof(long) + 1) == 0);
189 static_assert(__builtin_bcmp(ksl, kuSizeofLong(), 2*sizeof(long) - 1) == 0);
[all …]
/dports/devel/llvm90/llvm-9.0.1.src/tools/clang/test/SemaCXX/
H A Dconstexpr-string.cpp164 constexpr long ksl[] = {0, -1}; variable
176 static_assert(__builtin_memcmp(ksl, kuSizeofLong(), sizeof(long) - 1) == 0);
177 static_assert(__builtin_memcmp(ksl, kuSizeofLong(), sizeof(long) + 0) == 0);
178 static_assert(__builtin_memcmp(ksl, kuSizeofLong(), sizeof(long) + 1) == 0);
179 static_assert(__builtin_memcmp(ksl, kuSizeofLong(), 2*sizeof(long) - 1) == 0);
180 static_assert(__builtin_memcmp(ksl, kuSizeofLong(), 2*sizeof(long) + 0) == 0);
186 static_assert(__builtin_bcmp(ksl, kuSizeofLong(), sizeof(long) - 1) == 0);
187 static_assert(__builtin_bcmp(ksl, kuSizeofLong(), sizeof(long) + 0) == 0);
188 static_assert(__builtin_bcmp(ksl, kuSizeofLong(), sizeof(long) + 1) == 0);
189 static_assert(__builtin_bcmp(ksl, kuSizeofLong(), 2*sizeof(long) - 1) == 0);
[all …]
/dports/devel/llvm10/llvm-10.0.1.src/tools/clang/test/SemaCXX/
H A Dconstexpr-string.cpp164 constexpr long ksl[] = {0, -1}; variable
176 static_assert(__builtin_memcmp(ksl, kuSizeofLong(), sizeof(long) - 1) == 0);
177 static_assert(__builtin_memcmp(ksl, kuSizeofLong(), sizeof(long) + 0) == 0);
178 static_assert(__builtin_memcmp(ksl, kuSizeofLong(), sizeof(long) + 1) == 0);
179 static_assert(__builtin_memcmp(ksl, kuSizeofLong(), 2*sizeof(long) - 1) == 0);
180 static_assert(__builtin_memcmp(ksl, kuSizeofLong(), 2*sizeof(long) + 0) == 0);
186 static_assert(__builtin_bcmp(ksl, kuSizeofLong(), sizeof(long) - 1) == 0);
187 static_assert(__builtin_bcmp(ksl, kuSizeofLong(), sizeof(long) + 0) == 0);
188 static_assert(__builtin_bcmp(ksl, kuSizeofLong(), sizeof(long) + 1) == 0);
189 static_assert(__builtin_bcmp(ksl, kuSizeofLong(), 2*sizeof(long) - 1) == 0);
[all …]

12345678910>>...24