/dports/net/uget/uget-2.2.1/uget/ |
H A D | UgetA2cf.c | 139 #define A2CF_LAST_PIECE_LEN(a2cf) ((a2cf)->total_size & ((a2cf)->piece_len-1)) argument 367 a2cf->ver = uint16_from_be (a2cf->ver); in uget_a2cf_load() 368 a2cf->ext = uint32_from_be (a2cf->ext); in uget_a2cf_load() 376 a2cf->info_hash = ug_malloc (a2cf->info_hash_len); in uget_a2cf_load() 383 a2cf->piece_len = uint32_from_be (a2cf->piece_len); in uget_a2cf_load() 384 a2cf->total_len = uint64_from_be (a2cf->total_len); in uget_a2cf_load() 385 a2cf->upload_len = uint64_from_be (a2cf->upload_len); in uget_a2cf_load() 397 a2cf->bitfield = ug_malloc (a2cf->bitfield_len); in uget_a2cf_load() 398 if (ug_fread (file, a2cf->bitfield, a2cf->bitfield_len) != a2cf->bitfield_len) in uget_a2cf_load() 410 a2cf->piece.index_end = (uint32_t) (a2cf->total_len / a2cf->piece_len) + in uget_a2cf_load() [all …]
|
H A D | UgetA2cf.h | 88 void uget_a2cf_init (UgetA2cf* a2cf, uint64_t total_size); 89 void uget_a2cf_clear (UgetA2cf* a2cf); 91 int uget_a2cf_load (UgetA2cf* a2cf, const char* filename); 92 int uget_a2cf_save (UgetA2cf* a2cf, const char* filename); 96 int uget_a2cf_lack (UgetA2cf* a2cf, uint64_t* beg, uint64_t* end); 97 uint64_t uget_a2cf_fill (UgetA2cf* a2cf, uint64_t beg, uint64_t end); 99 uint64_t uget_a2cf_completed (UgetA2cf* a2cf); 101 void uget_a2cf_insert (UgetA2cf* a2cf, UgetA2cfPiece* piece); 102 UgetA2cfPiece* uget_a2cf_find (UgetA2cf* a2cf, uint32_t piece_index); 103 UgetA2cfPiece* uget_a2cf_realloc (UgetA2cf* a2cf, uint32_t piece_index);
|
/dports/net/uget/uget-2.2.1/tests/ |
H A D | test-uget.c | 278 if (a2cf == NULL) in print_a2cf() 292 print_bitfield (a2cf->bitfield, a2cf->bitfield_len); in print_a2cf() 307 UgetA2cf a2cf; in test_uget_a2cf() local 315 print_a2cf (&a2cf); in test_uget_a2cf() 316 uget_a2cf_clear (&a2cf); in test_uget_a2cf() 336 print_a2cf (&a2cf); in test_uget_a2cf() 340 uget_a2cf_clear (&a2cf); in test_uget_a2cf() 345 print_a2cf (&a2cf); in test_uget_a2cf() 350 uget_a2cf_clear (&a2cf); in test_uget_a2cf() 355 print_a2cf (&a2cf); in test_uget_a2cf() [all …]
|
/dports/science/apbs/apbs-pdb2pqr-apbs-1.5-102-g500c1473/apbs/externals/fetk/punc/tools/tests/pmg/ |
H A D | mainf.f | 456 double precision a2cf (nfarr) variable 502 2 xf,yf,zf,gxcf,gycf,gzcf,a1cf,a2cf,a3cf,ccf,fcf,tcf) 516 2 xf,yf,zf,gxcf,gycf,gzcf,a1cf,a2cf,a3cf,ccf,fcf,tcf) 520 2 xf,yf,zf,gxcf,gycf,gzcf,a1cf,a2cf,a3cf,ccf,fcf,tcf) 524 2 xf,yf,zf,gxcf,gycf,gzcf,a1cf,a2cf,a3cf,ccf,fcf,tcf) 528 2 xf,yf,zf,gxcf,gycf,gzcf,a1cf,a2cf,a3cf,ccf,fcf,tcf) 532 2 xf,yf,zf,gxcf,gycf,gzcf,a1cf,a2cf,a3cf,ccf,fcf,tcf) 536 2 xf,yf,zf,gxcf,gycf,gzcf,a1cf,a2cf,a3cf,ccf,fcf,tcf) 540 2 xf,yf,zf,gxcf,gycf,gzcf,a1cf,a2cf,a3cf,ccf,fcf,tcf) 544 2 xf,yf,zf,gxcf,gycf,gzcf,a1cf,a2cf,a3cf,ccf,fcf,tcf) [all …]
|
H A D | mainc.c | 488 double *a1cf, *a2cf, *a3cf, *ccf, *fcf, *tcf, *u; in main() local 499 a2cf = (double*)calloc( NFARR, sizeof(double) ); in main() 540 xf,yf,zf,gxcf,gycf,gzcf,a1cf,a2cf,a3cf,ccf,fcf,tcf); in main() 552 xf,yf,zf,gxcf,gycf,gzcf,a1cf,a2cf,a3cf,ccf,fcf,tcf); in main() 558 xf,yf,zf,gxcf,gycf,gzcf,a1cf,a2cf,a3cf,ccf,fcf,tcf); in main() 564 xf,yf,zf,gxcf,gycf,gzcf,a1cf,a2cf,a3cf,ccf,fcf,tcf); in main() 570 xf,yf,zf,gxcf,gycf,gzcf,a1cf,a2cf,a3cf,ccf,fcf,tcf); in main() 576 xf,yf,zf,gxcf,gycf,gzcf,a1cf,a2cf,a3cf,ccf,fcf,tcf); in main() 582 xf,yf,zf,gxcf,gycf,gzcf,a1cf,a2cf,a3cf,ccf,fcf,tcf); in main() 588 xf,yf,zf,gxcf,gycf,gzcf,a1cf,a2cf,a3cf,ccf,fcf,tcf); in main() [all …]
|
H A D | mainsubf.f | 184 2 xf,yf,zf,gxcf,gycf,gzcf,a1cf,a2cf,a3cf,ccf,fcf,tcf,key) argument 199 double precision a1cf(nx,ny,nz),a2cf(nx,ny,nz),a3cf(nx,ny,nz) local 325 2 xf,yf,zf,gxcf,gycf,gzcf,a1cf,a2cf,a3cf,ccf,fcf,tcf) 341 3 +a2cf(i,j,k)+a2cf(i,j+1,k) 366 3 +a2cf(i,j,k)+a2cf(i,j+1,k) 391 3 +a2cf(i,j,k)+a2cf(i,j+1,k)
|
/dports/science/apbs/apbs-pdb2pqr-apbs-1.5-102-g500c1473/apbs/src/pmgc/ |
H A D | buildAd.c | 58 double* a1cf, double* a2cf, double* a3cf, in VbuildA() argument 72 a1cf, a2cf, a3cf, in VbuildA() 86 a1cf, a2cf, a3cf, in VbuildA() 106 double *a1cf, double *a2cf, double *a3cf, in VbuildA_fv() argument 155 MAT3(a2cf, *nx, *ny, *nz); in VbuildA_fv() 229 coef_oN * VAT3(a2cf, i, j, k) + in VbuildA_fv() 230 coef_oNm1 * VAT3(a2cf, i, j-1, k) + in VbuildA_fv() 245 VAT3(oN, i, j, k) = jke * coef_oN * VAT3(a2cf, i, j, k); in VbuildA_fv() 247 bc_cond_n = (1 - jke) * coef_oN * VAT3(a2cf, i, j, k) * VAT3(gycf, i, k, 2); in VbuildA_fv() 264 bc_cond_s = (1 - jke) * coef_oNm1 * VAT3(a2cf, i, j-1, k) * VAT3(gycf, i, k, 1); in VbuildA_fv() [all …]
|
H A D | mgdrvd.c | 56 double* a1cf, double* a2cf, double* a3cf, in Vmgdriv() argument 181 a1cf, a2cf, a3cf, in Vmgdriv() 192 double *a1cf, double *a2cf, double *a3cf, in Vmgdriv2() argument 302 a1cf, a2cf, a3cf, in Vmgdriv2() 319 a1cf, a2cf, a3cf, in Vmgdriv2() 380 a1cf, a2cf, a3cf, ccf, in Vmgdriv2() 402 a1cf, a2cf, a3cf, ccf, fcf, in Vmgdriv2() 436 a1cf, a2cf, a3cf, ccf, fcf, in Vmgdriv2() 492 u, iz, a1cf, a2cf, a3cf, ccf, in Vmgdriv2() 502 u, iz, a1cf, a2cf, a3cf, ccf, in Vmgdriv2() [all …]
|
H A D | newdrvd.c | 58 double *a1cf, double *a2cf, double *a3cf, in Vnewdriv() argument 158 a1cf, a2cf, a3cf, in Vnewdriv() 172 double *a1cf, double *a2cf, double *a3cf, in Vnewdriv2() argument 258 a1cf, a2cf, a3cf, in Vnewdriv2() 276 a1cf, a2cf, a3cf, in Vnewdriv2() 321 a1cf, a2cf, a3cf, in Vnewdriv2() 332 a1cf, a2cf, a3cf, in Vnewdriv2()
|
H A D | buildAd.h | 83 double* a2cf, /**< @todo:Doc */ 182 double* a2cf, /**< @todo:Doc */ 297 double* a2cf, /**< @todo:Doc */
|
H A D | mgsubd.c | 60 double *a1cf, double *a2cf, double *a3cf, in Vbuildops() argument 598 double *a1cf, double *a2cf, double *a3cf, in Vbuildcopy0() argument 619 MAT3(a2cf, *nxf, *nyf, *nzf); in Vbuildcopy0() 662 VAT3(a2c, i, j, k) = VAT3(a2cf, ii, jj, kk); in Vbuildcopy0() 721 double *a1cf, double *a2cf, double *a3cf, in Vbuildharm0() argument 746 MAT3(a2cf, *nxf, *nyf, *nzf); in Vbuildharm0() 825 +0.500 * HARMO2(VAT3(a2cf, ii, jj, kk), in Vbuildharm0() 826 VAT3(a2cf, ii, VMIN2(*nyf, jj+1), kk)) in Vbuildharm0() 827 +0.125 * HARMO2(VAT3(a2cf, ii, jj, VMAX2(1, kk-1)), in Vbuildharm0() 829 +0.125 * HARMO2(VAT3(a2cf, ii, jj, VMIN2(*nzf, kk+1)), in Vbuildharm0() [all …]
|
H A D | newdrvd.h | 82 double *a2cf, ///< @todo: Doc 148 double *a2cf, ///< @todo: Doc
|
/dports/science/apbs/apbs-pdb2pqr-apbs-1.5-102-g500c1473/apbs/externals/fetk/punc/src/pmg/src_f77/ |
H A D | cgmgdrvd.f | 61 2 xf,yf,zf,gxcf,gycf,gzcf,a1cf,a2cf,a3cf,ccf,fcf,tcf) argument 75 double precision a1cf(*),a2cf(*),a3cf(*),ccf(*),fcf(*),tcf(*) local 148 5 xf,yf,zf,gxcf,gycf,gzcf,a1cf,a2cf,a3cf,ccf,fcf,tcf) 156 4 xf,yf,zf,gxcf,gycf,gzcf,a1cf,a2cf,a3cf,ccf,fcf,tcf) argument 198 double precision a1cf(*),a2cf(*),a3cf(*),ccf(*),fcf(*),tcf(*) local 239 4 xf,yf,zf,gxcf,gycf,gzcf,a1cf,a2cf,a3cf,ccf,fcf,tcf) 253 4 xf,yf,zf,gxcf,gycf,gzcf,a1cf,a2cf,a3cf,ccf,fcf,tcf) 289 4 a1cf,a2cf,a3cf, 295 4 a1cf,a2cf,a3cf,
|
H A D | newdrvd.f | 61 2 xf,yf,zf,gxcf,gycf,gzcf,a1cf,a2cf,a3cf,ccf,fcf,tcf) argument 75 double precision a1cf(*),a2cf(*),a3cf(*),ccf(*),fcf(*),tcf(*) local 148 8 xf,yf,zf,gxcf,gycf,gzcf,a1cf,a2cf,a3cf,ccf,fcf,tcf) 156 4 xf,yf,zf,gxcf,gycf,gzcf,a1cf,a2cf,a3cf,ccf,fcf,tcf) argument 199 double precision a1cf(*),a2cf(*),a3cf(*),ccf(*),fcf(*),tcf(*) local 240 4 xf,yf,zf,gxcf,gycf,gzcf,a1cf,a2cf,a3cf,ccf,fcf,tcf) 254 4 xf,yf,zf,gxcf,gycf,gzcf,a1cf,a2cf,a3cf,ccf,fcf,tcf) 290 4 a1cf,a2cf,a3cf, 296 4 a1cf,a2cf,a3cf,
|
H A D | mgdrvd.f | 61 2 xf,yf,zf,gxcf,gycf,gzcf,a1cf,a2cf,a3cf,ccf,fcf,tcf) 144 4 xf,yf,zf,gxcf,gycf,gzcf,a1cf,a2cf,a3cf,ccf,fcf,tcf) 151 3 xf,yf,zf,gxcf,gycf,gzcf,a1cf,a2cf,a3cf,ccf,fcf,tcf) 243 4 xf,yf,zf,gxcf,gycf,gzcf,a1cf,a2cf,a3cf,ccf,fcf,tcf) 257 4 xf,yf,zf,gxcf,gycf,gzcf,a1cf,a2cf,a3cf,ccf,fcf,tcf) 310 3 a1cf,a2cf,a3cf,ccf, 323 2 a1cf,a2cf,a3cf,ccf,fcf, 347 2 a1cf,a2cf,a3cf,ccf,fcf, 392 call mvcs(nx,ny,nz,u,iz,a1cf,a2cf,a3cf,ccf, 397 call fmvcs(nx,ny,nz,u,iz,a1cf,a2cf,a3cf,ccf, [all …]
|
H A D | buildAd.f | 62 3 xf,yf,zf,gxcf,gycf,gzcf,a1cf,a2cf,a3cf,ccf,fcf) 75 double precision a1cf(*),a2cf(*),a3cf(*),ccf(*),fcf(*) 85 4 xf,yf,zf,gxcf,gycf,gzcf,a1cf,a2cf,a3cf,ccf,fcf) 92 5 xf,yf,zf,gxcf,gycf,gzcf,a1cf,a2cf,a3cf,ccf,fcf) 103 4 xf,yf,zf,gxcf,gycf,gzcf,a1cf,a2cf,a3cf,ccf,fcf) 186 double precision a1cf(nx,ny,nz),a2cf(nx,ny,nz),a3cf(nx,ny,nz) 247 4 + coef_oN * a2cf(i,j,k) 248 5 + coef_oNm1 * a2cf(i,j-1,k) 260 oN(i,j,k) = jke *coef_oN*a2cf(i,j,k) 261 bc_cond_n = (1-jke)*coef_oN*a2cf(i,j,k)*gycf(i,k,2) [all …]
|
H A D | mgsubd.f | 447 4 xf,yf,zf,gxcf,gycf,gzcf,a1cf,a2cf,a3cf,ccf,fcf,tcf) argument 491 6 a1cf(iz(1,lev)),a2cf(iz(1,lev)),a3cf(iz(1,lev)), 532 8 a1cf(iz(1,lev-1)),a2cf(iz(1,lev-1)), 557 8 a1cf(iz(1,lev-1)),a2cf(iz(1,lev-1)), 632 double precision a1cf(nxf,nyf,nzf),a2cf(nxf,nyf,nzf) local 673 a2c(i,j,k) = a2cf(ii,jj,kk) 746 double precision a1cf(nxf,nyf,nzf),a2cf(nxf,nyf,nzf) local 827 2 +0.5e0 *harmo2( a2cf(ii,jj,kk), 828 2 a2cf(ii,min0(nyf,jj+1),kk) ) 829 3 +0.125e0*harmo2( a2cf(ii,jj,max0(1,kk-1)), [all …]
|
H A D | nwjdrvd.f | 61 2 xf,yf,zf,gxcf,gycf,gzcf,a1cf,a2cf,a3cf,ccf,fcf,tcf) argument 75 double precision a1cf(*),a2cf(*),a3cf(*),ccf(*),fcf(*),tcf(*) local 128 5 xf,yf,zf,gxcf,gycf,gzcf,a1cf,a2cf,a3cf,ccf,fcf,tcf) 136 4 xf,yf,zf,gxcf,gycf,gzcf,a1cf,a2cf,a3cf,ccf,fcf,tcf) argument 151 double precision a1cf(*),a2cf(*),a3cf(*),ccf(*),fcf(*),tcf(*) local 193 4 xf,yf,zf,gxcf,gycf,gzcf,a1cf,a2cf,a3cf,ccf,fcf,tcf) 229 call wjacgo(nx,ny,nz,u,w0,a1cf,a2cf, 238 call nwjacgo(nx,ny,nz,u,w0,a1cf,a2cf,
|
H A D | nsordrvd.f | 61 2 xf,yf,zf,gxcf,gycf,gzcf,a1cf,a2cf,a3cf,ccf,fcf,tcf) 75 double precision a1cf(*),a2cf(*),a3cf(*),ccf(*),fcf(*),tcf(*) 128 5 xf,yf,zf,gxcf,gycf,gzcf,a1cf,a2cf,a3cf,ccf,fcf,tcf) 136 4 xf,yf,zf,gxcf,gycf,gzcf,a1cf,a2cf,a3cf,ccf,fcf,tcf) 151 double precision a1cf(*),a2cf(*),a3cf(*),ccf(*),fcf(*),tcf(*) 193 4 xf,yf,zf,gxcf,gycf,gzcf,a1cf,a2cf,a3cf,ccf,fcf,tcf) 229 call sorgo(nx,ny,nz,u,w0,a1cf,a2cf, 238 call nsorgo(nx,ny,nz,u,w0,a1cf,a2cf,
|
H A D | ngsdrvd.f | 61 2 xf,yf,zf,gxcf,gycf,gzcf,a1cf,a2cf,a3cf,ccf,fcf,tcf) argument 75 double precision a1cf(*),a2cf(*),a3cf(*),ccf(*),fcf(*),tcf(*) local 128 5 xf,yf,zf,gxcf,gycf,gzcf,a1cf,a2cf,a3cf,ccf,fcf,tcf) 136 4 xf,yf,zf,gxcf,gycf,gzcf,a1cf,a2cf,a3cf,ccf,fcf,tcf) argument 151 double precision a1cf(*),a2cf(*),a3cf(*),ccf(*),fcf(*),tcf(*) local 193 4 xf,yf,zf,gxcf,gycf,gzcf,a1cf,a2cf,a3cf,ccf,fcf,tcf) 229 call gsrbgo(nx,ny,nz,u,w0,a1cf,a2cf, 238 call ngsrbgo(nx,ny,nz,u,w0,a1cf,a2cf,
|
H A D | nrchdrvd.f | 61 2 xf,yf,zf,gxcf,gycf,gzcf,a1cf,a2cf,a3cf,ccf,fcf,tcf) 75 double precision a1cf(*),a2cf(*),a3cf(*),ccf(*),fcf(*),tcf(*) 128 5 xf,yf,zf,gxcf,gycf,gzcf,a1cf,a2cf,a3cf,ccf,fcf,tcf) 136 4 xf,yf,zf,gxcf,gycf,gzcf,a1cf,a2cf,a3cf,ccf,fcf,tcf) 151 double precision a1cf(*),a2cf(*),a3cf(*),ccf(*),fcf(*),tcf(*) 193 4 xf,yf,zf,gxcf,gycf,gzcf,a1cf,a2cf,a3cf,ccf,fcf,tcf) 229 call richgo(nx,ny,nz,u,w0,a1cf,a2cf, 238 call nrichgo(nx,ny,nz,u,w0,a1cf,a2cf,
|
/dports/science/apbs/apbs-pdb2pqr-apbs-1.5-102-g500c1473/apbs/externals/fetk/punc/src/pmg/ |
H A D | mgsubd.c | 713 --a2cf; in buildops_() 1036 a2cf -= a2cf_offset; in buildcopy0_() 1296 a2cf -= a2cf_offset; in buildharm0_() 1505 jj + kk * a2cf_dim2) * a2cf_dim1] * a2cf[ii + (min( in buildharm0_() 1515 i__21) * a2cf_dim2) * a2cf_dim1] * a2cf[ii + (min( in buildharm0_() 1517 a2cf_dim1] / (a2cf[ii + (jj + min(i__26,i__27) * in buildharm0_() 1521 * a2cf_dim1] * a2cf[max(i__34,i__35) + (min(i__36, in buildharm0_() 1522 i__37) + kk * a2cf_dim2) * a2cf_dim1] / (a2cf[max( in buildharm0_() 1524 a2cf[max(i__40,i__41) + (min(i__42,i__43) + kk * in buildharm0_() 1525 a2cf_dim2) * a2cf_dim1]) * .125f + 2.f * a2cf[min( in buildharm0_() [all …]
|
H A D | cgmgdrvd.c | 79 gzcf, doublereal *a1cf, doublereal *a2cf, doublereal *a3cf, in cgmgdriv_() argument 132 --a2cf; in cgmgdriv_() 223 a2cf[1], &a3cf[1], &ccf[1], &fcf[1], &tcf[1]); in cgmgdriv_() 234 doublereal *gzcf, doublereal *a1cf, doublereal *a2cf, doublereal * in cgmgdriv2_() argument 355 --a2cf; in cgmgdriv2_() 408 a1cf[1], &a2cf[1], &a3cf[1], &ccf[1], &fcf[1], &tcf[1]); in cgmgdriv2_() 426 a1cf[1], &a2cf[1], &a3cf[1], &ccf[1], &fcf[1], &tcf[1]); in cgmgdriv2_() 468 mgsmoo, &a1cf[1], &a2cf[1], &a3cf[1], &ipc[1], &rpc[1], &pc[1] in cgmgdriv2_() 474 mgsmoo, &a1cf[1], &a2cf[1], &a3cf[1], &ipc[1], &rpc[1], &pc[1] in cgmgdriv2_()
|
H A D | newdrvd.c | 79 gzcf, doublereal *a1cf, doublereal *a2cf, doublereal *a3cf, in newdriv_() argument 132 --a2cf; in newdriv_() 223 a2cf[1], &a3cf[1], &ccf[1], &fcf[1], &tcf[1]); in newdriv_() 234 doublereal *gzcf, doublereal *a1cf, doublereal *a2cf, doublereal * in newdriv2_() argument 355 --a2cf; in newdriv2_() 408 a1cf[1], &a2cf[1], &a3cf[1], &ccf[1], &fcf[1], &tcf[1]); in newdriv2_() 425 a1cf[1], &a2cf[1], &a3cf[1], &ccf[1], &fcf[1], &tcf[1]); in newdriv2_() 467 mgsmoo, &a1cf[1], &a2cf[1], &a3cf[1], &ipc[1], &rpc[1], &pc[1] in newdriv2_() 473 mgsmoo, &a1cf[1], &a2cf[1], &a3cf[1], &ipc[1], &rpc[1], &pc[1] in newdriv2_()
|
H A D | buildAd.c | 75 doublereal *gzcf, doublereal *a1cf, doublereal *a2cf, doublereal * in builda_() argument 135 --a2cf; in builda_() 149 gxcf[1], &gycf[1], &gzcf[1], &a1cf[1], &a2cf[1], &a3cf[1], & in builda_() 163 &gzcf[1], &a1cf[1], &a2cf[1], &a3cf[1], &ccf[1], &fcf[1]); in builda_() 299 a2cf -= a2cf_offset; in builda_fv__() 400 coef_on__ * a2cf[i__ + (j + k * a2cf_dim2) * in builda_fv__() 401 a2cf_dim1] + coef_onm1__ * a2cf[i__ + (j - 1 + k * in builda_fv__() 422 a2cf[i__ + (j + k * a2cf_dim2) * a2cf_dim1]; in builda_fv__() 423 bc_cond_n__ = (1 - jke) * coef_on__ * a2cf[i__ + (j + k * in builda_fv__() 484 a2cf, doublereal *a3cf, doublereal *ccf, doublereal *fcf) in builda_fe__() [all …]
|