Home
last modified time | relevance | path

Searched refs:packsize (Results 1 – 25 of 154) sorted by relevance

1234567

/dports/net/p5-OurNet-BBS/OurNet-BBS-1.66/lib/OurNet/BBS/MELIX/
H A DSessionGroup.pm52 $self->{shmkey}, ($self->{maxsession}) * $packsize + 36, 0)
55 $self->{shmid}, $self->{maxsession} * $packsize , 4, 'L';
57 $self->{shmid}, $self->{maxsession} * $packsize + 4, 4, 'L';
59 $self->{shmid}, $self->{maxsession} * $packsize + 8, 8, 3, 'd';
61 $self->{shmid}, $self->{maxsession} * $packsize + 32, 4, 'L';
63 $self->{shmid}, $self->{maxsession} * $packsize + 36, 4, 'L';
65 $self->{shmid}, $self->{maxsession} * $packsize + 40, 100, 128,
83 foreach (0 .. $instance->{shm}{offset} / $packsize);
97 0 .. $instance->{shm}{offset} / $packsize
127 $self->{shm}{offset} += $packsize
[all …]
H A DSession.pm11 'SessionGroup' => [qw/$packsize $packstring @packlist/],
20 shmread($self->{shmid}, $buf, $packsize * $self->{recno}, $packsize)
51 $packsize*$self->{recno}, $packsize);
/dports/net/p5-OurNet-BBS/OurNet-BBS-1.66/lib/OurNet/BBS/MAPLE2/
H A DBoardGroup.pm29 $self->{shmid} = shmget($self->{shmkey}, $self->{maxboard} * $packsize + 16, 0)) {
31 $self->{shmid}, $self->{maxboard}*$packsize + 4, 4, 'L';
33 $self->{shmid}, $self->{maxboard}*$packsize + 8, 4, 'L';
35 $self->{shmid}, $self->{maxboard}*$packsize + 12, 4, 'L';
64 foreach (0 .. int((stat($file))[7] / $packsize)-1) {
65 read $DIR, $board, $packsize;
93 foreach (0 .. int((stat($file))[7] / $packsize)-1) {
94 read $DIR, $board, $packsize;
H A DBoard.pm14 qw/$BRD $PATH_BRD $PATH_GEM $packsize $packstring @packlist/
61 local $/ = \$packsize;
65 seek $DIR, $packsize * $self->{recno}, 0;
128 seek $DIR, $packsize * $self->{recno}, 0;
165 read($DIR, $before, $packsize * $recno);
168 if ($recno < ((stat($file))[7] / $packsize) - 1) {
169 seek $DIR, $packsize * ($recno + 1), 0;
172 $packsize * (
173 (stat($file))[7] - (($recno + 1) * $packsize)
H A DArticleGroup.pm60 local $/ = \$packsize;
64 seek $DIR, $packsize * $self->{recno}, 0;
113 ))[7] / $packsize);
151 return if $key < 0 or $key >= int((stat($file))[7] / $packsize);
153 seek $DIR, $packsize * $key, 0;
154 read $DIR, $name, $packsize;
180 foreach my $key (0 .. int((stat($file))[7] / $packsize) - 1) {
181 read $DIR, $name, $packsize;
216 seek $DIR, $packsize * $self->{recno}, 0;
286 foreach (0 .. int((stat($file))[7] / $packsize)-1) {
[all …]
H A DUserGroup.pm97 foreach my $rec (0 .. int((stat($file))[7] / $packsize) - 1) {
98 read $DIR, $name, $packsize;
105 seek $DIR, $key * $packsize, 0;
106 read $DIR, $name, $packsize;
115 foreach $key (0 .. int((stat($file))[7] / $packsize) - 1) {
116 read $DIR, $name, $packsize;
168 foreach (0 .. int((stat($file))[7] / $packsize)-1) {
169 read $DIR, $buf, $packsize;
H A DSession.pm12 'SessionGroup' => [qw/$packsize $packstring @packlist/],
19 shmread($self->{shmid}, $buf, $packsize * $self->{recno}, $packsize)
45 $packsize*$self->{recno}, $packsize);
H A DUser.pm12 'UserGroup' => [qw/$packsize $namestring $packstring @packlist $PWD/],
26 seek $USR, $self->{recno} * $packsize, 0;
27 read $USR, $buf, $packsize;
62 seek $USR, $self->{recno} * $packsize, 0;
/dports/net/mpich2/mpich2-1.5/test/mpi/perf/
H A Dnestvec2.c34 int v2stride, typesize, packsize, i, position, errs = 0; in main() local
83 MPI_Pack_size( 1, stype, MPI_COMM_WORLD, &packsize ); in main()
84 outbuf = (double *)malloc( packsize ); in main()
85 outbuf2 = (double *)malloc( packsize ); in main()
87 fprintf( stderr, "Unable to allocate %ld for outbuf\n", (long)packsize ); in main()
91 fprintf( stderr, "Unable to allocate %ld for outbuf2\n", (long)packsize ); in main()
96 MPI_Pack( MPI_BOTTOM, 1, stype, outbuf, packsize, &position, in main()
103 MPI_Pack( MPI_BOTTOM, 1, stype, outbuf, packsize, &position, in main()
115 MPI_Pack( counts, 2, MPI_INT32_T, outbuf, packsize, &position, in main()
117 MPI_Pack( vsource, 1, vtype, outbuf, packsize, &position, in main()
H A Dindexperf.c32 int i, packsize, position, inbufsize; in main() local
68 MPI_Pack_size( 1, itype1, MPI_COMM_WORLD, &packsize ); in main()
73 outbuf = (double *)malloc( packsize ); in main()
80 fprintf( stderr, "Unable to allocate %ld for outbuf\n", (long)packsize ); in main()
84 fprintf( stderr, "Unable to allocate %ld for outbuf2\n", (long)packsize ); in main()
92 MPI_Pack( inbuf, 1, itype1, outbuf, packsize, &position, MPI_COMM_WORLD ); in main()
98 MPI_Pack( inbuf, 1, itype1, outbuf, packsize, &position, in main()
111 MPI_Pack( MPI_BOTTOM, 1, stype1, outbuf, packsize, &position, MPI_COMM_WORLD ); in main()
117 MPI_Pack( MPI_BOTTOM, 1, stype1, outbuf, packsize, &position, in main()
H A Dnestvec.c36 int v2stride, typesize, packsize, i, position, errs = 0; in main() local
78 MPI_Pack_size( 1, ft3type, MPI_COMM_WORLD, &packsize ); in main()
81 outbuf = (char *)malloc( packsize ); in main()
82 outbuf2 = (char *)malloc( packsize ); in main()
88 fprintf( stderr, "Unable to allocate %ld for outbuf\n", (long)packsize ); in main()
92 fprintf( stderr, "Unable to allocate %ld for outbuf2\n", (long)packsize ); in main()
100 MPI_Pack( inbuf, 1, ft3type, outbuf, packsize, &position, MPI_COMM_WORLD ); in main()
107 MPI_Pack( inbuf, 1, ft3type, outbuf, packsize, &position, in main()
119 MPI_Pack( inbuf, 1, ftopttype, outbuf, packsize, &position, in main()
/dports/net/mpich/mpich-3.4.3/test/mpi/perf/
H A Dnestvec2.c36 int v2stride, typesize, packsize, i, position, errs = 0; in main() local
86 MPI_Pack_size(1, stype, MPI_COMM_WORLD, &packsize); in main()
87 outbuf = (double *) malloc(packsize); in main()
88 outbuf2 = (double *) malloc(packsize); in main()
90 fprintf(stderr, "Unable to allocate %ld for outbuf\n", (long) packsize); in main()
94 fprintf(stderr, "Unable to allocate %ld for outbuf2\n", (long) packsize); in main()
99 MPI_Pack(MPI_BOTTOM, 1, stype, outbuf, packsize, &position, MPI_COMM_WORLD); in main()
105 MPI_Pack(MPI_BOTTOM, 1, stype, outbuf, packsize, &position, MPI_COMM_WORLD); in main()
117 MPI_Pack(counts, 2, MPI_INT32_T, outbuf, packsize, &position, MPI_COMM_WORLD); in main()
118 MPI_Pack(vsource, 1, vtype, outbuf, packsize, &position, MPI_COMM_WORLD); in main()
H A Dindexperf.c32 int i, packsize, position, inbufsize; in main() local
66 MPI_Pack_size(1, itype1, MPI_COMM_WORLD, &packsize); in main()
71 outbuf = (double *) malloc(packsize); in main()
78 fprintf(stderr, "Unable to allocate %ld for outbuf\n", (long) packsize); in main()
82 fprintf(stderr, "Unable to allocate %ld for outbuf2\n", (long) packsize); in main()
90 MPI_Pack(inbuf, 1, itype1, outbuf, packsize, &position, MPI_COMM_WORLD); in main()
96 MPI_Pack(inbuf, 1, itype1, outbuf, packsize, &position, MPI_COMM_WORLD); in main()
111 MPI_Pack(MPI_BOTTOM, 1, stype1, outbuf, packsize, &position, MPI_COMM_WORLD); in main()
117 MPI_Pack(MPI_BOTTOM, 1, stype1, outbuf, packsize, &position, MPI_COMM_WORLD); in main()
H A Dnestvec.c35 int v2stride, typesize, packsize, i, position, errs = 0; in main() local
77 MPI_Pack_size(1, ft3type, MPI_COMM_WORLD, &packsize); in main()
80 outbuf = (char *) malloc(packsize); in main()
81 outbuf2 = (char *) malloc(packsize); in main()
87 fprintf(stderr, "Unable to allocate %ld for outbuf\n", (long) packsize); in main()
91 fprintf(stderr, "Unable to allocate %ld for outbuf2\n", (long) packsize); in main()
99 MPI_Pack(inbuf, 1, ft3type, outbuf, packsize, &position, MPI_COMM_WORLD); in main()
106 MPI_Pack(inbuf, 1, ft3type, outbuf, packsize, &position, MPI_COMM_WORLD); in main()
118 MPI_Pack(inbuf, 1, ftopttype, outbuf, packsize, &position, MPI_COMM_WORLD); in main()
/dports/multimedia/dvbcut/dvbcut-deb-0.7.3/src/
H A Dmpegmuxer.cpp88 if (packsize<MINPACKSIZE) in mpegmuxer()
89 packsize=0; in mpegmuxer()
90 scrpack=int(27.e6/double(muxrate*50)*packsize+0.9999); in mpegmuxer()
298 pack p(packsize,0,muxrate,0); in flush()
442 if (!video || packsize) { in packetizer()
446 if (packsize && maxsize>pack::maxpayload(packsize)) in packetizer()
447 maxsize=pack::maxpayload(packsize); in packetizer()
474 if (packsize && len>pack::maxpayload(packsize)) in packetizer()
475 len=pack::maxpayload(packsize); in packetizer()
501 if (packsize) { in packetizer()
[all …]
/dports/devel/jrtplib/JRTPLIB-3.11.2/src/
H A Drtcpcompoundpacketbuilder.cpp408 packsize += 1; // 1 byte for the length; in AddBYEPacket()
409 packsize += (size_t)reasonlength; in AddBYEPacket()
411 size_t r = (packsize&0x03); in AddBYEPacket()
415 packsize += zerobytes; in AddBYEPacket()
441 numwords = packsize/sizeof(uint32_t); in AddBYEPacket()
458 buf[packsize-1-i] = 0; in AddBYEPacket()
461 byepackets.push_back(Buffer(buf,packsize)); in AddBYEPacket()
462 byesize += packsize; in AddBYEPacket()
517 apppackets.push_back(Buffer(buf,packsize)); in AddAPPPacket()
518 appsize += packsize; in AddAPPPacket()
[all …]
/dports/biology/gmap/gmap-2020-09-12/src/
H A Dbitpack64-incr.h11 Bitpack64_incr_bitpack (Oligospace_T oligo, int packsize, UINT4 *bitpack);
17 Bitpack64_add_bitpack (Oligospace_T oligo, int packsize, UINT4 *bitpack, UINT4 increment);
21 Bitpack64_sub_bitpack (Oligospace_T oligo, int packsize, UINT4 *bitpack, UINT4 decrement);
25 Bitpack64_realloc_one (int packsize, UINT4 *bitpack);
H A Dbitpack64-access.h12 Bitpack64_access_bitpack (Oligospace_T oligo, int packsize, UINT4 *bitpack);
15 Bitpack64_access_filledp (Oligospace_T oligo, int packsize, UINT4 *bitpack);
21 Bitpack64_extract_bitpack (UINT4 *out, int packsize, UINT4 *bitpack);
/dports/net/p5-OurNet-BBS/OurNet-BBS-1.66/lib/OurNet/BBS/MAPLE3/
H A DArticleGroup.pm126 local $/ = \$packsize;
130 seek $DIR, $packsize * $self->{recno}, 0;
154 $self->{recno} = (stat($DIR))[7] / $packsize; # filesize/packsize
188 return int((stat($file))[7] / $packsize);
225 local $/ = \$packsize;
227 my $size = int((stat($file))[7] / $packsize);
233 seek $DIR, $packsize * $key, 0;
291 seek $DIR, $packsize * $self->{recno}, 0;
373 foreach my $key (0 .. int((stat($file))[7] / $packsize) - 1) {
374 read $DIR, $board, $packsize;
/dports/net/mpich/mpich-3.4.3/src/mpid/ch4/netmod/ucx/
H A Ducx_datatype.c57 MPI_Aint packsize; in pack_size() local
59 MPIR_Pack_size_impl(pack_state->count, pack_state->datatype, &packsize); in pack_size()
61 return (size_t) packsize; in pack_size()
80 MPI_Aint packsize; in unpack() local
82 MPIR_Pack_size_impl(pack_state->count, pack_state->datatype, &packsize); in unpack()
83 max_unpack_bytes = MPL_MIN(packsize, count); in unpack()
/dports/graphics/vapoursynth-fmtconv/fmtconv-r28/src/fmtcl/
H A DMatrixProc_avx2.cpp112 const int packsize = 16; in process_n_int_avx2() local
136 for (int x = 0; x < w; x += packsize) in process_n_int_avx2()
166 SRC::PtrConst::jump (src_0_ptr, packsize); in process_n_int_avx2()
167 SRC::PtrConst::jump (src_1_ptr, packsize); in process_n_int_avx2()
168 SRC::PtrConst::jump (src_2_ptr, packsize); in process_n_int_avx2()
170 DST::Ptr::jump (dst_ptr, packsize); in process_n_int_avx2()
/dports/net/mpich/mpich-3.4.3/test/mpi/datatype/
H A Ddarray_cyclic.c224 int packsize, position; in PackUnpack() local
228 MPI_Pack_size(1, darraytype, MPI_COMM_SELF, &packsize); in PackUnpack()
229 packArray = (int *) malloc(packsize); in PackUnpack()
231 fprintf(stderr, "Unable to allocate pack array of size %d\n", packsize); in PackUnpack()
235 MPI_Pack((int *) srcArray, 1, darraytype, packArray, packsize, &position, MPI_COMM_SELF); in PackUnpack()
236 packsize = position; in PackUnpack()
238 MPI_Unpack(packArray, packsize, &position, destArray, count, MPI_INT, MPI_COMM_SELF); in PackUnpack()
/dports/emulators/qemu/qemu-6.2.0/dtc/tests/
H A Dopen_pack.c23 int oldsize, bufsize, packsize; in main() local
53 packsize = fdt_totalsize(fdt1); in main()
56 oldsize, bufsize, packsize); in main()
/dports/emulators/qemu42/qemu-4.2.1/dtc/tests/
H A Dopen_pack.c36 int oldsize, bufsize, packsize; in main() local
66 packsize = fdt_totalsize(fdt1); in main()
69 oldsize, bufsize, packsize); in main()
/dports/emulators/qemu60/qemu-6.0.0/dtc/tests/
H A Dopen_pack.c23 int oldsize, bufsize, packsize; in main() local
53 packsize = fdt_totalsize(fdt1); in main()
56 oldsize, bufsize, packsize); in main()

1234567