Home
last modified time | relevance | path

Searched refs:CHUNKSIZE (Results 1 – 25 of 826) sorted by relevance

12345678910>>...34

/dports/print/ghostscript9-agpl-base/ghostscript-9.52/base/
H A Dgsroprun1.h55 #define CHUNKSIZE 8 macro
63 #define CHUNKSIZE 32 macro
197 #if CHUNKSIZE > 8 in TEMPLATE_NAME()
207 #if CHUNKSIZE > 16 in TEMPLATE_NAME()
232 s_skew += CHUNKSIZE; in TEMPLATE_NAME()
240 slen = (len + s_skew + CHUNKSIZE-1) & ~(CHUNKSIZE-1); in TEMPLATE_NAME()
241 slen2 = (len + CHUNKSIZE + CHUNKSIZE-1) & ~(CHUNKSIZE-1); in TEMPLATE_NAME()
262 tlen = (len + t_skew + CHUNKSIZE-1) & ~(CHUNKSIZE-1); in TEMPLATE_NAME()
263 tlen2 = (len + CHUNKSIZE + CHUNKSIZE-1) & ~(CHUNKSIZE-1); in TEMPLATE_NAME()
292 len -= CHUNKSIZE; in TEMPLATE_NAME()
[all …]
/dports/print/ghostscript9-agpl-x11/ghostscript-9.52/base/
H A Dgsroprun1.h55 #define CHUNKSIZE 8 macro
63 #define CHUNKSIZE 32 macro
197 #if CHUNKSIZE > 8 in TEMPLATE_NAME()
207 #if CHUNKSIZE > 16 in TEMPLATE_NAME()
232 s_skew += CHUNKSIZE; in TEMPLATE_NAME()
240 slen = (len + s_skew + CHUNKSIZE-1) & ~(CHUNKSIZE-1); in TEMPLATE_NAME()
241 slen2 = (len + CHUNKSIZE + CHUNKSIZE-1) & ~(CHUNKSIZE-1); in TEMPLATE_NAME()
262 tlen = (len + t_skew + CHUNKSIZE-1) & ~(CHUNKSIZE-1); in TEMPLATE_NAME()
263 tlen2 = (len + CHUNKSIZE + CHUNKSIZE-1) & ~(CHUNKSIZE-1); in TEMPLATE_NAME()
292 len -= CHUNKSIZE; in TEMPLATE_NAME()
[all …]
/dports/print/ghostscript9-base/ghostscript-9.06/base/
H A Dgsroprun1.h53 #define CHUNKSIZE 8 macro
61 #define CHUNKSIZE 32 macro
190 #if CHUNKSIZE > 8 in TEMPLATE_NAME()
200 #if CHUNKSIZE > 16 in TEMPLATE_NAME()
225 s_skew += CHUNKSIZE; in TEMPLATE_NAME()
233 slen = (len + s_skew + CHUNKSIZE-1) & ~(CHUNKSIZE-1); in TEMPLATE_NAME()
234 slen2 = (len + CHUNKSIZE + CHUNKSIZE-1) & ~(CHUNKSIZE-1); in TEMPLATE_NAME()
255 tlen = (len + t_skew + CHUNKSIZE-1) & ~(CHUNKSIZE-1); in TEMPLATE_NAME()
256 tlen2 = (len + CHUNKSIZE + CHUNKSIZE-1) & ~(CHUNKSIZE-1); in TEMPLATE_NAME()
285 len -= CHUNKSIZE; in TEMPLATE_NAME()
[all …]
/dports/print/ghostscript9-x11/ghostscript-9.06/base/
H A Dgsroprun1.h53 #define CHUNKSIZE 8 macro
61 #define CHUNKSIZE 32 macro
190 #if CHUNKSIZE > 8 in TEMPLATE_NAME()
200 #if CHUNKSIZE > 16 in TEMPLATE_NAME()
225 s_skew += CHUNKSIZE; in TEMPLATE_NAME()
233 slen = (len + s_skew + CHUNKSIZE-1) & ~(CHUNKSIZE-1); in TEMPLATE_NAME()
234 slen2 = (len + CHUNKSIZE + CHUNKSIZE-1) & ~(CHUNKSIZE-1); in TEMPLATE_NAME()
255 tlen = (len + t_skew + CHUNKSIZE-1) & ~(CHUNKSIZE-1); in TEMPLATE_NAME()
256 tlen2 = (len + CHUNKSIZE + CHUNKSIZE-1) & ~(CHUNKSIZE-1); in TEMPLATE_NAME()
285 len -= CHUNKSIZE; in TEMPLATE_NAME()
[all …]
/dports/science/PETSc/petsc-3.14.1/src/sys/utils/
H A Dmpilong.c11 static PetscInt CHUNKSIZE = 250000000; /* 250,000,000 */ in MPIULong_Send() local
16 numchunks = cnt/CHUNKSIZE + 1; in MPIULong_Send()
18 …ierr = PetscMPIIntCast((i < numchunks-1) ? CHUNKSIZE : cnt - (numchunks-1)*CHUNKSIZE,&icnt);CHKERR… in MPIULong_Send()
20 if (type == MPIU_INT) mess = (void*) (((PetscInt*)mess) + CHUNKSIZE); in MPIULong_Send()
21 else if (type == MPIU_SCALAR) mess = (void*) (((PetscScalar*)mess) + CHUNKSIZE); in MPIULong_Send()
30 static PetscInt CHUNKSIZE = 250000000; /* 250,000,000 */ in MPIULong_Recv() local
36 numchunks = cnt/CHUNKSIZE + 1; in MPIULong_Recv()
38 …ierr = PetscMPIIntCast((i < numchunks-1) ? CHUNKSIZE : cnt - (numchunks-1)*CHUNKSIZE,&icnt);CHKERR… in MPIULong_Recv()
40 if (type == MPIU_INT) mess = (void*) (((PetscInt*)mess) + CHUNKSIZE); in MPIULong_Recv()
41 else if (type == MPIU_SCALAR) mess = (void*) (((PetscScalar*)mess) + CHUNKSIZE); in MPIULong_Recv()
/dports/biology/gmap/gmap-2020-09-12/src/
H A Dunivdiagpool.c16 #define CHUNKSIZE 20000 macro
106 this->nunivdiags += CHUNKSIZE; in add_new_univdiagchunk()
120 this->nlistcells += CHUNKSIZE; in add_new_listcellchunk()
157 } else if ((this->univdiagctr % CHUNKSIZE) == 0) { in Univdiag_new()
159 n > this->univdiagctr; p = p->rest, n -= CHUNKSIZE) ; in Univdiag_new()
187 } else if ((this->univdiagctr % CHUNKSIZE) == 0) { in Univdiagpool_push()
189 n > this->univdiagctr; p = p->rest, n -= CHUNKSIZE) ; in Univdiagpool_push()
206 } else if ((this->listcellctr % CHUNKSIZE) == 0) { in Univdiagpool_push()
208 n > this->listcellctr; p = p->rest, n -= CHUNKSIZE) ; in Univdiagpool_push()
244 } else if ((this->listcellctr % CHUNKSIZE) == 0) { in Univdiagpool_push_existing()
[all …]
H A Ddiagpool.c13 #define CHUNKSIZE 20000 macro
103 this->ndiags += CHUNKSIZE; in add_new_diagchunk()
117 this->nlistcells += CHUNKSIZE; in add_new_listcellchunk()
155 } else if ((this->diagctr % CHUNKSIZE) == 0) { in Diagpool_push()
156 for (n = this->ndiags - CHUNKSIZE, p = this->diagchunks; in Diagpool_push()
157 n > this->diagctr; p = p->rest, n -= CHUNKSIZE) ; in Diagpool_push()
175 } else if ((this->listcellctr % CHUNKSIZE) == 0) { in Diagpool_push()
176 for (n = this->nlistcells - CHUNKSIZE, p = this->listcellchunks; in Diagpool_push()
177 n > this->listcellctr; p = p->rest, n -= CHUNKSIZE) ; in Diagpool_push()
213 } else if ((this->listcellctr % CHUNKSIZE) == 0) { in Diagpool_push_existing()
[all …]
H A Dsplicestringpool.c14 #define CHUNKSIZE 100000 macro
102 chunk = (struct Splicestring_T *) MALLOC_KEEP(CHUNKSIZE*sizeof(struct Splicestring_T)); in add_new_objectchunk()
107 this->nobjects += CHUNKSIZE; in add_new_objectchunk()
116 chunk = (struct List_T *) MALLOC_KEEP(CHUNKSIZE*sizeof(struct List_T)); in add_new_listcellchunk()
121 this->nlistcells += CHUNKSIZE; in add_new_listcellchunk()
160 } else if ((this->objectctr % CHUNKSIZE) == 0) { in Splicestringpool_push()
161 for (n = this->nobjects - CHUNKSIZE, p = this->objectchunks; in Splicestringpool_push()
162 n > this->objectctr; p = p->rest, n -= CHUNKSIZE) ; in Splicestringpool_push()
177 } else if ((this->listcellctr % CHUNKSIZE) == 0) { in Splicestringpool_push()
178 for (n = this->nlistcells - CHUNKSIZE, p = this->listcellchunks; in Splicestringpool_push()
[all …]
H A Dcellpool.c14 #define CHUNKSIZE 10000 macro
101 chunk = (struct Cell_T *) MALLOC_KEEP(CHUNKSIZE*sizeof(struct Cell_T)); in add_new_objectchunk()
106 this->nobjects += CHUNKSIZE; in add_new_objectchunk()
115 chunk = (struct List_T *) MALLOC_KEEP(CHUNKSIZE*sizeof(struct List_T)); in add_new_listcellchunk()
120 this->nlistcells += CHUNKSIZE; in add_new_listcellchunk()
159 } else if ((this->objectctr % CHUNKSIZE) == 0) { in Cellpool_push()
160 for (n = this->nobjects - CHUNKSIZE, p = this->objectchunks; in Cellpool_push()
161 n > this->objectctr; p = p->rest, n -= CHUNKSIZE) ; in Cellpool_push()
180 } else if ((this->listcellctr % CHUNKSIZE) == 0) { in Cellpool_push()
181 for (n = this->nlistcells - CHUNKSIZE, p = this->listcellchunks; in Cellpool_push()
[all …]
H A Dmatchpool.c15 #define CHUNKSIZE 16384 macro
100 this->nmatches += CHUNKSIZE; in add_new_matchchunk()
113 this->nlistcells += CHUNKSIZE; in add_new_listcellchunk()
170 } else if ((this->matchctr % CHUNKSIZE) == 0) { in Matchpool_push()
171 for (n = this->nmatches - CHUNKSIZE, p = this->matchchunks; in Matchpool_push()
172 n > this->matchctr; p = p->rest, n -= CHUNKSIZE) ; in Matchpool_push()
205 } else if ((this->listcellctr % CHUNKSIZE) == 0) { in Matchpool_push()
206 for (n = this->nlistcells - CHUNKSIZE, p = this->listcellchunks; in Matchpool_push()
207 n > this->listcellctr; p = p->rest, n -= CHUNKSIZE) ; in Matchpool_push()
233 } else if ((this->listcellctr % CHUNKSIZE) == 0) { in Matchpool_push_existing()
[all …]
/dports/archivers/c-blosc2/c-blosc2-2.0.4/tests/
H A Dtest_update_chunk.c12 #define CHUNKSIZE (200 * 1000) macro
59 int32_t isize = CHUNKSIZE * sizeof(int32_t); in test_update_chunk()
79 for (int i = 0; i < CHUNKSIZE; i++) { in test_update_chunk()
80 data[i] = i + nchunk * CHUNKSIZE; in test_update_chunk()
90 for (int i = 0; i < CHUNKSIZE; i++) { in test_update_chunk()
91 mu_assert("ERROR: bad roundtrip", data_dest[i] == i + nchunk * CHUNKSIZE); in test_update_chunk()
97 for (int j = 0; j < CHUNKSIZE; ++j) { in test_update_chunk()
101 int32_t datasize = sizeof(int32_t) * CHUNKSIZE; in test_update_chunk()
102 int32_t chunksize = sizeof(int32_t) * CHUNKSIZE + BLOSC_MAX_OVERHEAD; in test_update_chunk()
116 for (int j = 0; j < CHUNKSIZE; j++) { in test_update_chunk()
[all …]
H A Dtest_insert_chunk.c12 #define CHUNKSIZE (200 * 1000) macro
64 int32_t *data = malloc(CHUNKSIZE * sizeof(int32_t)); in test_insert_chunk()
65 int32_t *data_dest = malloc(CHUNKSIZE * sizeof(int32_t)); in test_insert_chunk()
66 int32_t isize = CHUNKSIZE * sizeof(int32_t); in test_insert_chunk()
85 for (int i = 0; i < CHUNKSIZE; i++) { in test_insert_chunk()
86 data[i] = i + nchunk * CHUNKSIZE; in test_insert_chunk()
94 for (int j = 0; j < CHUNKSIZE; ++j) { in test_insert_chunk()
97 int32_t datasize = sizeof(int32_t) * CHUNKSIZE; in test_insert_chunk()
98 int32_t chunksize = sizeof(int32_t) * CHUNKSIZE + BLOSC_MAX_OVERHEAD; in test_insert_chunk()
111 for (int j = 0; j < CHUNKSIZE; j++) { in test_insert_chunk()
H A Dtest_reorder_offsets.c12 #define CHUNKSIZE (200 * 1000) macro
49 int32_t isize = CHUNKSIZE * sizeof(int32_t); in test_reorder_offsets()
67 for (int i = 0; i < CHUNKSIZE; i++) { in test_reorder_offsets()
68 data[i] = i + nchunk * CHUNKSIZE; in test_reorder_offsets()
85 for (int i = 0; i < CHUNKSIZE; i++) { in test_reorder_offsets()
86 mu_assert("ERROR: bad roundtrip",data_dest[i] == i + (offsets_order[nchunk]) * CHUNKSIZE); in test_reorder_offsets()
123 data = blosc_test_malloc(BUFFER_ALIGN_SIZE, CHUNKSIZE * sizeof(int32_t)); in main()
124 data_dest = blosc_test_malloc(BUFFER_ALIGN_SIZE, CHUNKSIZE * sizeof(int32_t)); in main()
/dports/archivers/c-blosc2/c-blosc2-2.0.4/bench/
H A Dsum_openmp.c53 #define CHUNKSIZE (16 * 1000) macro
54 #define NCHUNKS (N / CHUNKSIZE)
76 DTYPE chunk_buf[CHUNKSIZE]; in main()
77 int32_t isize = CHUNKSIZE * sizeof(DTYPE); in main()
91 for (j = 0; j < CHUNKSIZE; j++) { in main()
118 for (i = 0; i < N / CHUNKSIZE; i++) { in main()
119 for (j = 0; j < CHUNKSIZE; j++) { in main()
120 udata[i * CHUNKSIZE + j] = chunk_buf[j]; in main()
170 for (i = 0; i < CHUNKSIZE; i++) { in main()
214 for (i = 0; i < CHUNKSIZE; i++) { in main()
[all …]
H A Dtrunc_prec_schunk.c26 #define CHUNKSIZE (500 * 1000) macro
31 double incx = 10. / (NCHUNKS * CHUNKSIZE); in fill_buffer()
33 for (int i = 0; i < CHUNKSIZE; i++) { in fill_buffer()
34 double x = incx * (nchunk * CHUNKSIZE + i); in fill_buffer()
43 int32_t isize = CHUNKSIZE * sizeof(double); in main()
50 double *data_buffer = malloc(CHUNKSIZE * sizeof(double)); in main()
51 double *rec_buffer = malloc(CHUNKSIZE * sizeof(double)); in main()
120 for (int i = 0; i < CHUNKSIZE; i++) { in main()
/dports/games/libretro-genesis_plus_gx/Genesis-Plus-GX-7f83bc5/gx/fileio/
H A Dfileio.c89 char in[CHUNKSIZE]; in load_archive()
144 fread(in, CHUNKSIZE, 1, fd); in load_archive()
150 char out[CHUNKSIZE]; in load_archive()
205 zs.avail_in = CHUNKSIZE - offset; in load_archive()
216 zs.avail_out = CHUNKSIZE; in load_archive()
247 fread(in, CHUNKSIZE, 1, fd); in load_archive()
249 zs.avail_in = CHUNKSIZE; in load_archive()
286 while (left > CHUNKSIZE) in load_archive()
288 fread(buffer, CHUNKSIZE, 1, fd); in load_archive()
289 buffer += CHUNKSIZE; in load_archive()
[all …]
/dports/games/kodi-addon-game.libretro.genplus/game.libretro.genplus-1.7.4.15-Matrix/depends/common/genplus/gx/fileio/
H A Dfileio.c89 char in[CHUNKSIZE]; in load_archive()
144 fread(in, CHUNKSIZE, 1, fd); in load_archive()
150 char out[CHUNKSIZE]; in load_archive()
205 zs.avail_in = CHUNKSIZE - offset; in load_archive()
216 zs.avail_out = CHUNKSIZE; in load_archive()
247 fread(in, CHUNKSIZE, 1, fd); in load_archive()
249 zs.avail_in = CHUNKSIZE; in load_archive()
286 while (left > CHUNKSIZE) in load_archive()
288 fread(buffer, CHUNKSIZE, 1, fd); in load_archive()
289 buffer += CHUNKSIZE; in load_archive()
[all …]
/dports/games/trackballs/trackballs-1.3.3/src/
H A Dmap.cc34 #define CHUNKSIZE 32 macro
492 ushort* tidx = new ushort[CHUNKSIZE * CHUNKSIZE * 12]; in fillChunkVBO()
497 sdat = new GLfloat[CHUNKSIZE * CHUNKSIZE * 5 * 8]; in fillChunkVBO()
498 sidx = new ushort[CHUNKSIZE * CHUNKSIZE * 12]; in fillChunkVBO()
501 ushort* widx = new ushort[CHUNKSIZE * CHUNKSIZE * 12]; in fillChunkVBO()
503 ushort* lidx = new ushort[CHUNKSIZE * CHUNKSIZE * 8]; in fillChunkVBO()
505 ushort* fidx = new ushort[CHUNKSIZE * CHUNKSIZE * 12]; in fillChunkVBO()
540 for (int j = 0; j < CHUNKSIZE * CHUNKSIZE; j++) { in fillChunkVBO()
908 for (int xp = xmin - xmin % CHUNKSIZE; xp <= xmax - xmax % CHUNKSIZE; xp += CHUNKSIZE) { in markCellsUpdated()
909 for (int yp = ymin - ymin % CHUNKSIZE; yp <= ymax - ymax % CHUNKSIZE; yp += CHUNKSIZE) { in markCellsUpdated()
[all …]
/dports/multimedia/mplayer/mplayer-export-2021-12-29/libmpdemux/
H A Ddemux_ty.c71 #define CHUNKSIZE ( 128 * 1024 ) macro
89 unsigned char chunk[ CHUNKSIZE ];
407 size *= CHUNKSIZE; in demux_ty_fill_buffer()
450 if ( demux->filepos % CHUNKSIZE > CHUNKSIZE / 2 ) in demux_ty_fill_buffer()
458 if ( readSize != CHUNKSIZE ) in demux_ty_fill_buffer()
464 if ( readSize != CHUNKSIZE ) in demux_ty_fill_buffer()
474 CHUNKSIZE ); in demux_ty_fill_buffer()
756 res = newpos / CHUNKSIZE; in demux_seek_ty()
758 newpos = ( res + 1 ) * CHUNKSIZE; in demux_seek_ty()
760 newpos = res * CHUNKSIZE; in demux_seek_ty()
[all …]
/dports/multimedia/mencoder/mplayer-export-2021-12-29/libmpdemux/
H A Ddemux_ty.c71 #define CHUNKSIZE ( 128 * 1024 ) macro
89 unsigned char chunk[ CHUNKSIZE ];
407 size *= CHUNKSIZE; in demux_ty_fill_buffer()
450 if ( demux->filepos % CHUNKSIZE > CHUNKSIZE / 2 ) in demux_ty_fill_buffer()
458 if ( readSize != CHUNKSIZE ) in demux_ty_fill_buffer()
464 if ( readSize != CHUNKSIZE ) in demux_ty_fill_buffer()
474 CHUNKSIZE ); in demux_ty_fill_buffer()
756 res = newpos / CHUNKSIZE; in demux_seek_ty()
758 newpos = ( res + 1 ) * CHUNKSIZE; in demux_seek_ty()
760 newpos = res * CHUNKSIZE; in demux_seek_ty()
[all …]
/dports/archivers/c-blosc2/c-blosc2-2.0.4/examples/
H A Dfind_roots.c35 #define CHUNKSIZE (200 * 1000) // fits well in modern L3 caches macro
40 double incx = 10. / (NCHUNKS * CHUNKSIZE); in fill_buffer()
42 for (int i = 0; i < CHUNKSIZE; i++) { in fill_buffer()
43 x[i] = incx * (nchunk * CHUNKSIZE + i); in fill_buffer()
49 for (int i = 0; i < CHUNKSIZE; i++) { in process_data()
61 for (int i = 0; i < CHUNKSIZE; i++) { in find_root()
75 static double buffer_x[CHUNKSIZE]; in compute_vectors()
76 static double buffer_y[CHUNKSIZE]; in compute_vectors()
77 const int32_t isize = CHUNKSIZE * sizeof(double); in compute_vectors()
152 prev_value = buffer_y[CHUNKSIZE - 1]; in compute_vectors()
H A Dframe_backed_schunk.c32 #define CHUNKSIZE (1000 * 1000) macro
38 static int32_t data[CHUNKSIZE]; in main()
39 static int32_t data_dest1[CHUNKSIZE]; in main()
40 static int32_t data_dest2[CHUNKSIZE]; in main()
41 size_t isize = CHUNKSIZE * sizeof(int32_t); in main()
65 for (i = 0; i < CHUNKSIZE; i++) { in main()
87 for (i = 0; i < CHUNKSIZE; i++) { in main()
117 for (i = 0; i < CHUNKSIZE; i++) { in main()
/dports/x11/xmh/xmh-1.0.3/
H A Dmiscfuncs.c40 #define CHUNKSIZE 1024 macro
49 unsigned char buffer[CHUNKSIZE]; in ftruncate_emu()
59 for (i = 0; i < length / CHUNKSIZE; i++) { in ftruncate_emu()
60 if (read(fd, buffer, CHUNKSIZE) != CHUNKSIZE) { in ftruncate_emu()
64 else if (write(new_fid, buffer, CHUNKSIZE) != CHUNKSIZE) { in ftruncate_emu()
69 bytes_left = length % CHUNKSIZE; in ftruncate_emu()
/dports/math/pspp/pspp-1.4.1/src/language/lexer/
H A Dsubcommand-list.c29 #define CHUNKSIZE 16 macro
35 l->data = xnmalloc (CHUNKSIZE, sizeof *l->data); in subc_list_double_create()
36 l->sz = CHUNKSIZE; in subc_list_double_create()
43 l->data = xnmalloc (CHUNKSIZE, sizeof *l->data); in subc_list_int_create()
44 l->sz = CHUNKSIZE; in subc_list_int_create()
56 l->sz += CHUNKSIZE; in subc_list_double_push()
69 l->sz += CHUNKSIZE; in subc_list_int_push()
/dports/devel/libgit2/libgit2-1.3.0/tests/filter/
H A Dstream.c30 #define CHUNKSIZE 10240 macro
50 chunkremain = CHUNKSIZE - stream->current_chunk; in compress_stream_write__deflated()
57 if (stream->current_chunk == CHUNKSIZE) { in compress_stream_write__deflated()
68 char inflated[CHUNKSIZE]; in compress_stream_write__inflated()
72 for (j = 0; j < CHUNKSIZE; j++) in compress_stream_write__inflated()
75 cl_git_pass(stream->next->write(stream->next, inflated, CHUNKSIZE)); in compress_stream_write__inflated()
141 char buf[CHUNKSIZE]; in writefile()
151 for (j = 0; j < CHUNKSIZE; j++) { in writefile()
155 cl_git_pass(p_write(fd, buf, CHUNKSIZE)); in writefile()
196 cl_assert_equal_sz((numchunks * CHUNKSIZE), st.st_size); in test_stream()

12345678910>>...34