/dports/graphics/p5-Image-PNG-QRCode/Image-PNG-QRCode-0.09/ |
H A D | qrencode.c | 34 unsigned char *rlens; member 239 free( qr->rlens ); in freeframe() 685 if (qr->rlens[i] >= 5) in badruns() 689 if (qr->rlens[i - 2] == qr->rlens[i + 2] in badruns() 690 && qr->rlens[i + 2] == qr->rlens[i - 1] in badruns() 691 && qr->rlens[i - 1] == qr->rlens[i + 1] in badruns() 692 && qr->rlens[i - 1] * 3 == qr->rlens[i] in badruns() 696 || qr->rlens[i - 3] * 3 >= qr->rlens[i] * 4 || qr->rlens[i + 3] * 3 >= qr->rlens[i] * 4) in badruns() 717 qr->rlens[0] = 0; in badcheck() 720 qr->rlens[h]++; in badcheck() [all …]
|
H A D | qrencode.h | 20 unsigned char *rlens; member
|
/dports/science/py-chainer/chainer-7.8.0/chainermn/communicators/ |
H A D | mpi_communicator_base.py | 204 rlens = [chainer.utils.size_of_shape(s) for s in shapes] 205 rbuf = xp.empty([sum(rlens)], dtype=msgtype.dtype) 212 (rlens, _cnt_to_dsp(rlens)), _get_mpi_type(recv_msgtype)]) 214 for i, l, s in zip(_cnt_to_dsp(rlens), rlens, shapes)] 424 rbuf = xp.empty([sum(rlens)], dtype=msgtype.dtype) 432 (rlens, _cnt_to_dsp(rlens)), _get_mpi_type(msgtype)], 436 for i, l, s in zip(_cnt_to_dsp(rlens), rlens, shapes)] 467 rlens = [chainer.utils.size_of_shape(s) for s in shapes] 468 rbuf = xp.empty([sum(rlens)], dtype=msgtype.dtype) 474 (rlens, _cnt_to_dsp(rlens)), _get_mpi_type(msgtype)]) [all …]
|
/dports/science/afni/afni-AFNI_21.3.16/src/python_scripts/afnipy/ |
H A D | lib_afni1D.py | 1159 rlens = rlengths 2293 rlens[ind] = rlens[ind+1] - rlens[ind] 2294 rlens[-1] = self.nt - rlens[-1] 2298 rlens = run_lens 2300 if len(rlens) > 0: 2449 rlens[ind] = rlens[ind+1] - rlens[ind] 2450 rlens[-1] = nrowfull - rlens[-1] 3973 rlens = run_lens 3975 nruns = len(rlens) 4013 rlens = run_lens [all …]
|
H A D | lib_timing.py | 434 def marry_AM(self, mtype, rlens=[], nplaces=-1): argument 450 if len(rlens) == 1 and len(self.mdata) > 1: 451 rlens = rlens*len(self.mdata) 456 nlens = len(rlens) 467 else: rlen = rlens[rind] 783 rlens = [0 for rind in range(self.nrows)] 785 rlens = [run_len[0] for rind in range(self.nrows)] 787 rlens = run_len 810 rlen = rlens[rind]
|
/dports/math/parmetis/parmetis-4.0.3/libparmetis/ |
H A D | match.c | 484 idx_t *rsizes, *ssizes, *rlens, *slens, *rgraph, *sgraph, *perm; in CreateCoarseGraph_Global() local 639 rlens = graph->rlens = imalloc(nnbrs+1, "CreateCoarseGraph: graph->rlens"); in CreateCoarseGraph_Global() 657 rlens[0] = 0; in CreateCoarseGraph_Global() 661 rlens[i+1] = k; in CreateCoarseGraph_Global() 666 PrintVector(ctrl, nnbrs+1, 0, rlens, "rlens"); in CreateCoarseGraph_Global() 674 if (rlens[i+1]-rlens[i] > 0) /* Issue a receive only if you are getting something */ in CreateCoarseGraph_Global() 686 if (rlens[i+1]-rlens[i] > 0) in CreateCoarseGraph_Global() 716 if (rlens[i+1]-rlens[i] > 0) { in CreateCoarseGraph_Global() 717 gkMPI_Irecv((void *)(rgraph+l), (4+ncon)*(rlens[i+1]-rlens[i])+2*rsizes[i], in CreateCoarseGraph_Global() 719 l += (4+ncon)*(rlens[i+1]-rlens[i])+2*rsizes[i]; in CreateCoarseGraph_Global() [all …]
|
H A D | debug.c | 190 idx_t *slens, idx_t *rlens, idx_t *sgraph, idx_t *rgraph) in PrintTransferedGraphs() argument 212 if (rlens[i+1]-rlens[i] > 0) { in PrintTransferedGraphs() 214 for (ii=rlens[i]; ii<rlens[i+1]; ii++) { in PrintTransferedGraphs()
|
H A D | kwayrefine.c | 27 idx_t *peind, *slens = NULL, *rlens = NULL; in ProjectPartition() local 53 rlens = graph->rlens; in ProjectPartition() 66 PrintPairs(ctrl, rlens[nnbrs], rcand, "rcand"); in ProjectPartition() 70 for (i=0; i<rlens[nnbrs]; i++) { in ProjectPartition() 76 PrintPairs(ctrl, rlens[nnbrs], rcand, "rcand"); in ProjectPartition() 82 if (rlens[i+1]-rlens[i] > 0) /* Issue a send only if you are sending something */ in ProjectPartition() 83 gkMPI_Isend((void *)(rcand+rlens[i]), 2*(rlens[i+1]-rlens[i]), IDX_T, in ProjectPartition() 103 if (rlens[i+1]-rlens[i] > 0) in ProjectPartition()
|
H A D | graph.c | 150 graph->slens = graph->rlens = NULL; in InitGraph() 218 (void **)&graph->rlens, in FreeNonGraphFields() 252 (void **)&graph->rlens, in FreeNonGraphNonSetupFields()
|
H A D | struct.h | 125 …idx_t *rlens, *slens; /* Arrays of size nnbrs of how many vertices you are sending and receiving */ member
|
/dports/math/libmesh/libmesh-1.6.2/contrib/parmetis/libparmetis/ |
H A D | match.c | 484 idx_t *rsizes, *ssizes, *rlens, *slens, *rgraph, *sgraph, *perm; in CreateCoarseGraph_Global() local 639 rlens = graph->rlens = imalloc(nnbrs+1, "CreateCoarseGraph: graph->rlens"); in CreateCoarseGraph_Global() 657 rlens[0] = 0; in CreateCoarseGraph_Global() 661 rlens[i+1] = k; in CreateCoarseGraph_Global() 666 PrintVector(ctrl, nnbrs+1, 0, rlens, "rlens"); in CreateCoarseGraph_Global() 674 if (rlens[i+1]-rlens[i] > 0) /* Issue a receive only if you are getting something */ in CreateCoarseGraph_Global() 686 if (rlens[i+1]-rlens[i] > 0) in CreateCoarseGraph_Global() 716 if (rlens[i+1]-rlens[i] > 0) { in CreateCoarseGraph_Global() 717 gkMPI_Irecv((void *)(rgraph+l), (4+ncon)*(rlens[i+1]-rlens[i])+2*rsizes[i], in CreateCoarseGraph_Global() 719 l += (4+ncon)*(rlens[i+1]-rlens[i])+2*rsizes[i]; in CreateCoarseGraph_Global() [all …]
|
H A D | debug.c | 190 idx_t *slens, idx_t *rlens, idx_t *sgraph, idx_t *rgraph) in PrintTransferedGraphs() argument 212 if (rlens[i+1]-rlens[i] > 0) { in PrintTransferedGraphs() 214 for (ii=rlens[i]; ii<rlens[i+1]; ii++) { in PrintTransferedGraphs()
|
H A D | kwayrefine.c | 27 idx_t *peind, *slens = NULL, *rlens = NULL; in ProjectPartition() local 53 rlens = graph->rlens; in ProjectPartition() 66 PrintPairs(ctrl, rlens[nnbrs], rcand, "rcand"); in ProjectPartition() 70 for (i=0; i<rlens[nnbrs]; i++) { in ProjectPartition() 76 PrintPairs(ctrl, rlens[nnbrs], rcand, "rcand"); in ProjectPartition() 82 if (rlens[i+1]-rlens[i] > 0) /* Issue a send only if you are sending something */ in ProjectPartition() 83 gkMPI_Isend((void *)(rcand+rlens[i]), 2*(rlens[i+1]-rlens[i]), IDX_T, in ProjectPartition() 103 if (rlens[i+1]-rlens[i] > 0) in ProjectPartition()
|
H A D | graph.c | 150 graph->slens = graph->rlens = NULL; in InitGraph() 218 (void **)&graph->rlens, in FreeNonGraphFields() 252 (void **)&graph->rlens, in FreeNonGraphNonSetupFields()
|
H A D | struct.h | 125 …idx_t *rlens, *slens; /* Arrays of size nnbrs of how many vertices you are sending and receiving */ member
|
/dports/math/parmgridgen/ParMGridGen-1.0/ParMGridGen/IMParMetis-2.0/ParMETISLib/ |
H A D | memory.c | 102 graph->slens = graph->rlens = NULL; in InitGraph() 143 &graph->rlens, in FreeGraph() 182 &graph->rlens, in FreeGraphContent() 227 &graph->rlens, in FreeInitialGraphAndRemap()
|
H A D | edge_refine.c | 27 idxtype *peind, *slens, *rlens; in ProjectPartition() local 53 rlens = graph->rlens; in ProjectPartition() 63 PrintPairs(ctrl, rlens[nnbrs], rcand, "rcand"); in ProjectPartition() 67 for (i=0; i<rlens[nnbrs]; i++) { in ProjectPartition() 73 PrintPairs(ctrl, rlens[nnbrs], rcand, "rcand"); in ProjectPartition() 79 if (rlens[i+1]-rlens[i] > 0) /* Issue a send only if you are sending something */ in ProjectPartition() 80 …MPI_Isend((void *)(rcand+rlens[i]), 2*(rlens[i+1]-rlens[i]), IDX_DATATYPE, peind[i], 1, ctrl->comm… in ProjectPartition() 99 if (rlens[i+1]-rlens[i] > 0) in ProjectPartition()
|
H A D | struct.h | 148 …idxtype *rlens, *slens; /* Arrays of size nnbrs of how many vertices you are sending and receiving… member
|
/dports/textproc/augeas/augeas-1.12.0/src/ |
H A D | parser.y | 454 struct term *lambda = NULL, *rlens = NULL; 466 rlens = make_term(A_VALUE, ref(exp->info)); 467 if (rlens == NULL) goto error; 468 rlens->value = lns_make_rec(ref(exp->info)); 469 if (rlens->value == NULL) goto error; 470 rlens->type = make_base_type(T_LENS); 472 app1 = make_app_term(lambda, rlens, ref(info)); 481 app3 = make_app_term(app2, ref(rlens), ref(info)); 489 unref(rlens, term);
|
H A D | parser.c | 2303 struct term *lambda = NULL, *rlens = NULL; in make_bind_rec() local 2315 rlens = make_term(A_VALUE, ref(exp->info)); in make_bind_rec() 2316 if (rlens == NULL) goto error; in make_bind_rec() 2317 rlens->value = lns_make_rec(ref(exp->info)); in make_bind_rec() 2318 if (rlens->value == NULL) goto error; in make_bind_rec() 2319 rlens->type = make_base_type(T_LENS); in make_bind_rec() 2321 app1 = make_app_term(lambda, rlens, ref(info)); in make_bind_rec() 2330 app3 = make_app_term(app2, ref(rlens), ref(info)); in make_bind_rec() 2338 unref(rlens, term); in make_bind_rec()
|
/dports/math/parmgridgen/ParMGridGen-1.0/ParMGridGen/ParLib/ |
H A D | memory.c | 107 graph->slens = graph->rlens = NULL; in InitMGridGraph() 151 &graph->rlens, in FreeMGridGraph() 198 &graph->rlens, in FreeMGridGraphContent()
|
H A D | struct.h | 141 …idxtype *rlens, *slens; /* Arrays of size nnbrs of how many vertices you are sending and receiving… member
|
/dports/science/PETSc/petsc-3.14.1/src/vec/vscat/impls/sf/ |
H A D | vscatsf.c | 602 PetscMPIInt nsend,nrecv,nreq,count,yrank,*slens,*rlens,*sendto,*recvfrom,tag1,tag2; in VecScatterSetUp_SF() local 662 ierr = PetscGatherMessageLengths(ycomm,nsend,nrecv,slens,&recvfrom,&rlens);CHKERRQ(ierr); in VecScatterSetUp_SF() 664 rlentotal = 0; for (i=0; i<nrecv; i++) rlentotal += rlens[i]; in VecScatterSetUp_SF() 678 count = rlens[i]; in VecScatterSetUp_SF() 681 disp += rlens[i]; in VecScatterSetUp_SF() 697 for (j=0; j<rlens[i]; j++) { in VecScatterSetUp_SF() 703 disp += rlens[i]; in VecScatterSetUp_SF() 708 ierr = PetscFree(rlens);CHKERRQ(ierr); in VecScatterSetUp_SF()
|
/dports/science/afni/afni-AFNI_21.3.16/src/python_scripts/scripts/ |
H A D | 1d_tool.py | 2361 rlens = self.set_run_lengths # pass empty or not 2363 if len(rlens) > 0 and len(rlens) != val[1]: 2365 % (val[1], rlens)) 2367 if self.adata.pad_into_many_runs(val[0], val[1], rlens): return 1 2516 rlens = self.adata.run_len 2517 else: rlens = self.set_run_lengths 2519 run, tr = UTIL.index_to_run_tr(self.global_index, rlens)
|
H A D | gen_ss_review_table.py | 1329 rlens = [len(v) for v in row] 1331 if rlens[cind] > max_lens[cind]: 1332 max_lens[cind] = rlens[cind]
|