Home
last modified time | relevance | path

Searched refs:batchSize (Results 1 – 25 of 30) sorted by relevance

12

/external/kotlinx.coroutines/kotlinx-coroutines-core/common/test/flow/sharing/
DShareInBufferTest.kt25 val batchSize = capacity + 1 in <lambda>() constant
28 val batchNo = i / batchSize in <lambda>()
29 val batchIdx = i % batchSize in <lambda>()
30 expect(batchNo * batchSize * 2 + batchIdx + 2) in <lambda>()
40 val batchNo = i / batchSize in <lambda>()
41 val batchIdx = i % batchSize in <lambda>()
43 val k = min((batchNo + 1) * batchSize, n) - batchNo * batchSize in <lambda>()
44 expect(batchNo * batchSize * 2 + k + batchIdx + 2) in <lambda>()
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/test/flow/operators/
DBufferTest.kt27 val batchSize = capacity + 2 in <lambda>() constant
30 val batchNo = i / batchSize in <lambda>()
31 val batchIdx = i % batchSize in <lambda>()
32 expect(batchNo * batchSize * 2 + batchIdx + 2) in <lambda>()
38 val batchNo = i / batchSize in <lambda>()
39 val batchIdx = i % batchSize in <lambda>()
41 val k = min((batchNo + 1) * batchSize, n) - batchNo * batchSize in <lambda>()
42 expect(batchNo * batchSize * 2 + k + batchIdx + 2) in <lambda>()
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/internal/
DConcurrentWeakMapOperationStressTest.kt20 private val batchSize = 1000 in <lambda>() constant in kotlinx.coroutines.internal.ConcurrentWeakMapOperationStressTest
36 … val kvs = (generationOffset + batchSize * index until generationOffset + batchSize * (index + 1)) in <lambda>()
38 generationOffset += batchSize * nThreads in <lambda>()
DLockFreeTaskQueueStressTest.kt30 private val batchSize = 100 in <lambda>() constant in kotlinx.coroutines.internal.LockFreeTaskQueueStressTest
90 if (batch.incrementAndGet() >= batchSize) break in <lambda>()
/external/icing/java/src/com/google/android/icing/
DBreakIteratorBatcher.java70 public int[] next(int batchSize) { in next() argument
71 List<Integer> breakIndices = new ArrayList<>(batchSize); in next()
72 for (int i = 0; i < batchSize; ++i) { in next()
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/flow/
DStateFlowStressTest.kt30 val batchSize = Random.nextInt(1..1000) in <lambda>() constant
43 }.take(batchSize).map { 1 }.sum() in <lambda>()
44 } while (cnt == batchSize) in <lambda>()
/external/kotlinx.coroutines/reactive/kotlinx-coroutines-reactive/src/
DMigration.kt36 public fun <T : Any> Publisher<T>.asFlow(batchSize: Int): Flow<T> = asFlow().buffer(batchSize)
/external/libopus/silk/
Dresampler_private_IIR_FIR.c78 ALLOC( buf, 2 * S->batchSize + RESAMPLER_ORDER_FIR_12, opus_int16 ); in silk_resampler_private_IIR_FIR()
86 nSamplesIn = silk_min( inLen, S->batchSize ); in silk_resampler_private_IIR_FIR()
Dresampler_structs.h46 opus_int batchSize; member
Dresampler_private_down_FIR.c159 ALLOC( buf, S->batchSize + S->FIR_Order, opus_int32 ); in silk_resampler_private_down_FIR()
169 nSamplesIn = silk_min( inLen, S->batchSize ); in silk_resampler_private_down_FIR()
Dresampler.c111 S->batchSize = S->Fs_in_kHz * RESAMPLER_MAX_BATCH_SIZE_MS; in silk_resampler_init()
/external/tensorflow/tensorflow/stream_executor/cuda/
Dcusolver_dense_10_0.inc193 int batchSize) {
198 return func_ptr(handle, uplo, n, Aarray, lda, infoArray, batchSize);
205 int batchSize) {
210 return func_ptr(handle, uplo, n, Aarray, lda, infoArray, batchSize);
217 int batchSize) {
223 return func_ptr(handle, uplo, n, Aarray, lda, infoArray, batchSize);
228 cuDoubleComplex *Aarray[], int lda, int *infoArray, int batchSize) {
234 return func_ptr(handle, uplo, n, Aarray, lda, infoArray, batchSize);
240 float *A[], int lda, float *B[], int ldb, int *d_info, int batchSize) {
246 return func_ptr(handle, uplo, n, nrhs, A, lda, B, ldb, d_info, batchSize);
[all …]
Dcusolver_dense_10_1.inc200 int batchSize) {
205 return func_ptr(handle, uplo, n, Aarray, lda, infoArray, batchSize);
212 int batchSize) {
217 return func_ptr(handle, uplo, n, Aarray, lda, infoArray, batchSize);
224 int batchSize) {
230 return func_ptr(handle, uplo, n, Aarray, lda, infoArray, batchSize);
235 cuDoubleComplex *Aarray[], int lda, int *infoArray, int batchSize) {
241 return func_ptr(handle, uplo, n, Aarray, lda, infoArray, batchSize);
247 float *A[], int lda, float *B[], int ldb, int *d_info, int batchSize) {
253 return func_ptr(handle, uplo, n, nrhs, A, lda, B, ldb, d_info, batchSize);
[all …]
Dcusolver_dense_10_2.inc728 int batchSize) {
733 return func_ptr(handle, uplo, n, Aarray, lda, infoArray, batchSize);
740 int batchSize) {
745 return func_ptr(handle, uplo, n, Aarray, lda, infoArray, batchSize);
752 int batchSize) {
758 return func_ptr(handle, uplo, n, Aarray, lda, infoArray, batchSize);
763 cuDoubleComplex *Aarray[], int lda, int *infoArray, int batchSize) {
769 return func_ptr(handle, uplo, n, Aarray, lda, infoArray, batchSize);
775 float *A[], int lda, float *B[], int ldb, int *d_info, int batchSize) {
781 return func_ptr(handle, uplo, n, nrhs, A, lda, B, ldb, d_info, batchSize);
[all …]
Dcusolver_dense_11_0.inc1540 int batchSize) {
1545 return func_ptr(handle, uplo, n, Aarray, lda, infoArray, batchSize);
1552 int batchSize) {
1557 return func_ptr(handle, uplo, n, Aarray, lda, infoArray, batchSize);
1564 int batchSize) {
1570 return func_ptr(handle, uplo, n, Aarray, lda, infoArray, batchSize);
1575 cuDoubleComplex *Aarray[], int lda, int *infoArray, int batchSize) {
1581 return func_ptr(handle, uplo, n, Aarray, lda, infoArray, batchSize);
1587 float *A[], int lda, float *B[], int ldb, int *d_info, int batchSize) {
1593 return func_ptr(handle, uplo, n, nrhs, A, lda, B, ldb, d_info, batchSize);
[all …]
Dcusolver_dense_9_0.inc1578 syevjInfo_t params, int batchSize) {
1585 return func_ptr(handle, jobz, uplo, n, A, lda, W, lwork, params, batchSize);
1591 syevjInfo_t params, int batchSize) {
1598 return func_ptr(handle, jobz, uplo, n, A, lda, W, lwork, params, batchSize);
1604 syevjInfo_t params, int batchSize) {
1611 return func_ptr(handle, jobz, uplo, n, A, lda, W, lwork, params, batchSize);
1617 syevjInfo_t params, int batchSize) {
1624 return func_ptr(handle, jobz, uplo, n, A, lda, W, lwork, params, batchSize);
1630 syevjInfo_t params, int batchSize) {
1637 batchSize);
[all …]
Dcublas_9_0.inc2791 int batchSize) {
2796 return func_ptr(handle, n, A, lda, P, info, batchSize);
2804 int batchSize) {
2809 return func_ptr(handle, n, A, lda, P, info, batchSize);
2816 int batchSize) {
2821 return func_ptr(handle, n, A, lda, P, info, batchSize);
2828 int batchSize) {
2833 return func_ptr(handle, n, A, lda, P, info, batchSize);
2840 int ldc, int *info, int batchSize) {
2846 return func_ptr(handle, n, A, lda, P, C, ldc, info, batchSize);
[all …]
Dcublas_11_0.inc2984 int batchSize) {
2989 return func_ptr(handle, n, A, lda, P, info, batchSize);
2996 int batchSize) {
3001 return func_ptr(handle, n, A, lda, P, info, batchSize);
3008 int batchSize) {
3013 return func_ptr(handle, n, A, lda, P, info, batchSize);
3020 int batchSize) {
3025 return func_ptr(handle, n, A, lda, P, info, batchSize);
3032 int ldc, int *info, int batchSize) {
3038 return func_ptr(handle, n, A, lda, P, C, ldc, info, batchSize);
[all …]
Dcublas_10_1.inc2984 int batchSize) {
2989 return func_ptr(handle, n, A, lda, P, info, batchSize);
2996 int batchSize) {
3001 return func_ptr(handle, n, A, lda, P, info, batchSize);
3008 int batchSize) {
3013 return func_ptr(handle, n, A, lda, P, info, batchSize);
3020 int batchSize) {
3025 return func_ptr(handle, n, A, lda, P, info, batchSize);
3032 int ldc, int *info, int batchSize) {
3038 return func_ptr(handle, n, A, lda, P, C, ldc, info, batchSize);
[all …]
Dcublas_10_0.inc2859 int batchSize) {
2864 return func_ptr(handle, n, A, lda, P, info, batchSize);
2871 int batchSize) {
2876 return func_ptr(handle, n, A, lda, P, info, batchSize);
2883 int batchSize) {
2888 return func_ptr(handle, n, A, lda, P, info, batchSize);
2895 int batchSize) {
2900 return func_ptr(handle, n, A, lda, P, info, batchSize);
2907 int ldc, int *info, int batchSize) {
2913 return func_ptr(handle, n, A, lda, P, C, ldc, info, batchSize);
[all …]
Dcublas_10_2.inc2984 int batchSize) {
2989 return func_ptr(handle, n, A, lda, P, info, batchSize);
2996 int batchSize) {
3001 return func_ptr(handle, n, A, lda, P, info, batchSize);
3008 int batchSize) {
3013 return func_ptr(handle, n, A, lda, P, info, batchSize);
3020 int batchSize) {
3025 return func_ptr(handle, n, A, lda, P, info, batchSize);
3032 int ldc, int *info, int batchSize) {
3038 return func_ptr(handle, n, A, lda, P, C, ldc, info, batchSize);
[all …]
/external/skia/infra/bots/task_drivers/fm_driver/
Dfm_driver.go348 batchSize := (len(sources) + approxNumBatches - 1) / approxNumBatches
350 util.ChunkIter(len(sources), batchSize, func(start, end int) error {
/external/deqp/scripts/android/
Dbuild_apk.py645 batchSize = min(len(workQueue), maxBatchSize)
646 items = workQueue[0:batchSize]
654 del workQueue[0:batchSize]
/external/swiftshader/src/Renderer/
DRenderer.cpp64 static const int batchSize = 128; variable
289 int batch = batchSize / ms; in draw()
361 draw->batchSize = batch; in draw()
839 int batch = draw->batchSize; in findAvailableTasks()
2139 triangleBatch[i] = (Triangle*)allocate(batchSize * sizeof(Triangle)); in initializeThreads()
2140 primitiveBatch[i] = (Primitive*)allocate(batchSize * sizeof(Primitive)); in initializeThreads()
DRenderer.hpp473 AtomicInt batchSize; member

12