/dports/science/PETSc/petsc-3.14.1/src/vec/vec/utils/tagger/impls/ |
H A D | andor.c | 11 for (i = 0; i < andOr->nsubs; i++) { in VecTaggerDestroy_AndOr() 27 if (nsubs) { in VecTaggerGetSubs_AndOr() 28 PetscValidIntPointer(nsubs,2); in VecTaggerGetSubs_AndOr() 29 *nsubs = andOr->nsubs; in VecTaggerGetSubs_AndOr() 49 for (i = 0; i < nsubs; i++) { in VecTaggerSetSubs_AndOr() 59 andOr->nsubs = nsubs; in VecTaggerSetSubs_AndOr() 111 nsubsOrig = nsubs; in VecTaggerSetFromOptions_AndOr() 118 if (nsubs != nsubsOrig) { in VecTaggerSetFromOptions_AndOr() 130 PetscInt nsubs, i; in VecTaggerSetUp_AndOr() local 137 for (i = 0; i < nsubs; i++) { in VecTaggerSetUp_AndOr() [all …]
|
H A D | or.c | 21 PetscErrorCode VecTaggerOrGetSubs(VecTagger tagger, PetscInt *nsubs, VecTagger **subs) in VecTaggerOrGetSubs() argument 26 ierr = VecTaggerGetSubs_AndOr(tagger,nsubs,subs);CHKERRQ(ierr); in VecTaggerOrGetSubs() 49 ierr = VecTaggerSetSubs_AndOr(tagger,nsubs,subs,mode);CHKERRQ(ierr); in VecTaggerOrSetSubs() 55 PetscInt i, bs, nsubs, *numSubBoxes, nboxes, total; in VecTaggerComputeBoxes_Or() local 63 ierr = VecTaggerOrGetSubs(tagger,&nsubs,&subs);CHKERRQ(ierr); in VecTaggerComputeBoxes_Or() 64 ierr = PetscMalloc2(nsubs,&numSubBoxes,nsubs,&subBoxes);CHKERRQ(ierr); in VecTaggerComputeBoxes_Or() 65 for (i = 0, total = 0; i < nsubs; i++) { in VecTaggerComputeBoxes_Or() 83 for (i = 0, nboxes = 0; i < nsubs; i++) { /* stupid O(N^2) check to remove subboxes */ in VecTaggerComputeBoxes_Or() 118 PetscInt nsubs, i; in VecTaggerComputeIS_Or() local 129 ierr = VecTaggerOrGetSubs(tagger,&nsubs,&subs);CHKERRQ(ierr); in VecTaggerComputeIS_Or() [all …]
|
H A D | and.c | 21 PetscErrorCode VecTaggerAndGetSubs(VecTagger tagger, PetscInt *nsubs, VecTagger **subs) in VecTaggerAndGetSubs() argument 26 ierr = VecTaggerGetSubs_AndOr(tagger,nsubs,subs);CHKERRQ(ierr); in VecTaggerAndGetSubs() 49 ierr = VecTaggerSetSubs_AndOr(tagger,nsubs,subs,mode);CHKERRQ(ierr); in VecTaggerAndSetSubs() 55 PetscInt i, bs, nsubs, *numSubBoxes, nboxes; in VecTaggerComputeBoxes_And() local 63 ierr = VecTaggerOrGetSubs(tagger,&nsubs,&subs);CHKERRQ(ierr); in VecTaggerComputeBoxes_And() 64 ierr = PetscMalloc2(nsubs,&numSubBoxes,nsubs,&subBoxes);CHKERRQ(ierr); in VecTaggerComputeBoxes_And() 65 for (i = 0; i < nsubs; i++) { in VecTaggerComputeBoxes_And() 137 PetscInt nsubs, i; in VecTaggerComputeIS_And() local 148 ierr = VecTaggerOrGetSubs(tagger,&nsubs,&subs);CHKERRQ(ierr); in VecTaggerComputeIS_And() 149 if (!nsubs) { in VecTaggerComputeIS_And() [all …]
|
/dports/net-im/libpurple/pidgin-2.14.8/libpurple/protocols/zephyr/ |
H A D | ZRetSubs.c | 15 static Code_t Z_RetSubs(ZNotice_t *notice, int *nsubs, Z_AuthProc auth_routine); 19 Code_t ZRetrieveSubscriptions(unsigned short port, int *nsubs) in ZRetrieveSubscriptions() argument 21 Code_t ZRetrieveSubscriptions(port,nsubs) in ZRetrieveSubscriptions() 23 int *nsubs; 42 return(Z_RetSubs(¬ice, nsubs, ZAUTH)); 46 Code_t ZRetrieveDefaultSubscriptions(nsubs) 47 int *nsubs; 56 return(Z_RetSubs(¬ice, nsubs, ZNOAUTH)); 61 static Code_t Z_RetSubs(notice, nsubs, auth_routine) in Z_RetSubs() argument 63 int *nsubs; [all …]
|
/dports/net-im/pidgin/pidgin-2.14.8/libpurple/protocols/zephyr/ |
H A D | ZRetSubs.c | 15 static Code_t Z_RetSubs(ZNotice_t *notice, int *nsubs, Z_AuthProc auth_routine); 19 Code_t ZRetrieveSubscriptions(unsigned short port, int *nsubs) in ZRetrieveSubscriptions() argument 21 Code_t ZRetrieveSubscriptions(port,nsubs) in ZRetrieveSubscriptions() 23 int *nsubs; 42 return(Z_RetSubs(¬ice, nsubs, ZAUTH)); 46 Code_t ZRetrieveDefaultSubscriptions(nsubs) 47 int *nsubs; 56 return(Z_RetSubs(¬ice, nsubs, ZNOAUTH)); 61 static Code_t Z_RetSubs(notice, nsubs, auth_routine) in Z_RetSubs() argument 63 int *nsubs; [all …]
|
/dports/net-im/finch/pidgin-2.14.8/libpurple/protocols/zephyr/ |
H A D | ZRetSubs.c | 15 static Code_t Z_RetSubs(ZNotice_t *notice, int *nsubs, Z_AuthProc auth_routine); 19 Code_t ZRetrieveSubscriptions(unsigned short port, int *nsubs) in ZRetrieveSubscriptions() argument 21 Code_t ZRetrieveSubscriptions(port,nsubs) in ZRetrieveSubscriptions() 23 int *nsubs; 42 return(Z_RetSubs(¬ice, nsubs, ZAUTH)); 46 Code_t ZRetrieveDefaultSubscriptions(nsubs) 47 int *nsubs; 56 return(Z_RetSubs(¬ice, nsubs, ZNOAUTH)); 61 static Code_t Z_RetSubs(notice, nsubs, auth_routine) in Z_RetSubs() argument 63 int *nsubs; [all …]
|
/dports/comms/gnuradio/gnuradio-3.8.4.0/gr-utils/python/modtool/tools/ |
H A D | cmakefile_editor.py | 47 (self.cfile, nsubs) = regexp.subn(substi, self.cfile, count=1) 48 return nsubs 84 (self.cfile, nsubs) = re.subn(regexp, r'\1\2', self.cfile, count=1) 85 return nsubs 91 (self.cfile, nsubs) = re.subn(regexp, '', self.cfile, count=1) 92 return nsubs 137 (self.cfile, nsubs) = re.subn(r'(\b'+fname+r'\b)\s*', comment_out_re, self.cfile) 138 if nsubs == 0: 140 elif nsubs > 1: 141 …g: Replaced {} {} times (instead of once). Check the CMakeFile.txt manually.".format(fname, nsubs))
|
/dports/comms/gnuradio/gnuradio-3.8.4.0/gr-utils/python/modtool/core/ |
H A D | rename.py | 87 nsubs = self._run_file_replace(swigfilename, old, new) 88 if nsubs < 1: 90 if nsubs == 2: 92 if nsubs > 3: 111 nsubs = self._run_file_replace(path + filename, old, new) 112 if nsubs > 0: 135 if nsubs > 0: 160 nsubs = self._run_file_replace(filename, first, second) 161 if nsubs < 1: 182 (cfile, nsubs) = re.subn(old, new, cfile) [all …]
|
H A D | update.py | 92 nsubs = self._run_cmakelists(xml_file, yml_file) 93 if nsubs > 1: 96 elif nsubs == 0: 107 (cfile, nsubs) = re.subn(to_remove, to_add, cfile) 111 return nsubs
|
H A D | disable.py | 98 (swigfile, nsubs) = re.subn('(.include\s+"({}/)?{}")'.format( 101 if nsubs > 0: 103 if nsubs > 1: # Need to find a single BLOCK_MAGIC 107 … (swigfile, nsubs) = re.subn('(GR_SWIG_BLOCK_MAGIC2?.+{}.+;)'.format(blockname), r'//\1', swigfile) 108 if nsubs > 1:
|
/dports/math/R-cran-psych/psych/R/ |
H A D | thurstone.R | 53 nsubs<- dim(x)[1] functionVar 56 for (k in 1:nsubs) { 60 lower <- 1/(4*nsubs) #in case of 0 or 1, we put limits 70 nsubs<- dim(x)[1] functionVar 76 y <- y/nsubs 78 for (k in 1:nsubs) { 89 lower <- 1/(4*nsubs) #in case of 0 or 1, we put limits
|
/dports/net-p2p/go-ethereum/go-ethereum-1.10.14/event/ |
H A D | event_test.go | 127 nsubs := 1000 128 for i := 0; i < nsubs; i++ { 133 counts := make(map[int]int, nsubs) 134 for i := 0; i < nsubs; i++ { 156 nsubs = 1000 158 subscribed.Add(nsubs) 159 done.Add(nsubs) 160 for i := 0; i < nsubs; i++ {
|
/dports/sysutils/crashme/crashme-2.4_1/ |
H A D | crashme.c | 421 nsubs = atol(argv[4]); 566 long tflag,nsubs,sr; in vfork_main() 575 else if (nsubs < 0) 576 {n = -nsubs; 579 {n = nsubs; 616 if (total_time >= nsubs) 655 long tflag,nsubs,sr; in vfork_main() 668 else if (nsubs < 0) 669 {n = -nsubs; 672 {n = nsubs; [all …]
|
/dports/science/berkeleygw/BGW-2.0.0/Sigma/ |
H A D | shiftenergy.f90 | 40 integer :: ii,jj,istart,istop,nsubs,ispin,iwlda0,iwlda1,iwlda2,iw 52 nsubs = 1 53 ndeg(nsubs) = 1 62 ndeg(nsubs) = ndeg(nsubs) + 1 65 nsubs = nsubs + 1 66 ndeg(nsubs) = 1 72 do ii=1,nsubs
|
/dports/biology/ncbi-toolkit/ncbi/biostruc/ |
H A D | vastsubs.c | 202 Int4 i, j, n, len, strindex, ndoms, nsubs; in LoadSubsetTable() local 239 fscanf(fd, "%d", &nsubs); in LoadSubsetTable() 241 if (nsubs > MAXN_SUB) in LoadSubsetTable() 244 NumberOfSubsets = nsubs; in LoadSubsetTable() 245 SubsetList = (Int4 *) MemNew(nsubs*sizeof(Int4)); in LoadSubsetTable() 246 SubsetArray = (Char *) MemNew(nsubs*MAX_SUBNAME*sizeof(Char)); in LoadSubsetTable() 251 for (i = 0; i < nsubs; i++) in LoadSubsetTable() 254 for (i = 0, strindex = 0; i < nsubs; i++) { in LoadSubsetTable() 255 if (strindex > nsubs*MAX_SUBNAME) in LoadSubsetTable()
|
/dports/www/adzap/adzap-20110915/scripts/ |
H A D | zapchain | 26 my $nsubs=0; 30 ++$nsubs; 32 my $rd = "RD$nsubs"; 33 my $wr = "WR$nsubs";
|
/dports/science/cdo/cdo-2.0.0/libcdi/src/ |
H A D | vlist.h | 180 int index, nsubs = vlistptr->nsubtypes; in vlistAdd2SubtypeIDs() local 181 for ( index = 0; index < nsubs; index++ ) in vlistAdd2SubtypeIDs() 184 if ( index == nsubs ) in vlistAdd2SubtypeIDs() 186 if ( nsubs >= MAX_SUBTYPES_PS ) in vlistAdd2SubtypeIDs() 188 vlistptr->subtypeIDs[nsubs] = subtypeID; in vlistAdd2SubtypeIDs()
|
/dports/math/dsdp/DSDP5.8/examples/ |
H A D | dsdp.c | 44 int nsubs=2, subs[2]; in mexFunction() local 117 index = mxCalcSingleSubscript(CA_IN,nsubs,subs); in mexFunction() 128 index = mxCalcSingleSubscript(CA_IN,nsubs,subs); in mexFunction() 142 index = mxCalcSingleSubscript(CA_IN,nsubs,subs); in mexFunction() 153 index = mxCalcSingleSubscript(CA_IN,nsubs,subs); in mexFunction() 226 index = mxCalcSingleSubscript(CA_IN,nsubs,subs); in mexFunction() 266 index = mxCalcSingleSubscript(CA_IN,nsubs,subs); in mexFunction() 288 index = mxCalcSingleSubscript(X_OUT,nsubs,subs); in mexFunction() 344 index = mxCalcSingleSubscript(X_OUT,nsubs,subs); in mexFunction() 364 index = mxCalcSingleSubscript(X_OUT,nsubs,subs); in mexFunction() [all …]
|
/dports/net/nng/nng-1.5.2/src/tools/perf/ |
H A D | pubdrop.c | 259 int nsubs; in do_pubdrop() local 271 nsubs = parse_int(argv[3], "#subscribers"); in do_pubdrop() 289 for (int i = 0; i < nsubs; i++) { in do_pubdrop() 303 for (int i = 0; i < nsubs + 1; i++) { in do_pubdrop() 309 unsigned long long expect = nsubs * pa.count; in do_pubdrop() 310 unsigned long long missing = nsubs ? expect - pa.recvs : 0; in do_pubdrop()
|
/dports/lang/p5-Tcl/Tcl-1.27/t/ |
H A D | disposal-subs-f.t | 74 my $nsubs=0; 77 $nsubs++; 79 if ($wanted==$nsubs) { print "ok $test\n";} 81 warn "should be $wanted commands in table but is $nsubs\n"; 82 print "not ok $test - subcount $wanted != $nsubs\n";
|
/dports/devel/libgutenfetch/libgutenfetch-1.2/src/ |
H A D | libgutenfetch_filter.c | 229 int i, ret, nsubs; in gutenfetch_filter_match() local 235 nsubs = filter->regex->re_nsub + 1; in gutenfetch_filter_match() 236 for (i = 0;i < nsubs; ++i) { in gutenfetch_filter_match()
|
/dports/news/husky-fidoconf/husky-fidoconf-1.9.20191207/fastlst/aplibs/ |
H A D | runcmd.cc | 124 int nsubs = __min (strlen (prmlst), MAXSUBS); in RunCmd() local 128 for (j = 0; j < nsubs; j++) // init prm substitutions in RunCmd() 151 for (j = 0; j < nsubs; j ++) in RunCmd()
|
/dports/news/husky-areafix/husky-areafix-1.9.20191207/fastlst/aplibs/ |
H A D | runcmd.cc | 124 int nsubs = __min (strlen (prmlst), MAXSUBS); in RunCmd() local 128 for (j = 0; j < nsubs; j++) // init prm substitutions in RunCmd() 151 for (j = 0; j < nsubs; j ++) in RunCmd()
|
/dports/news/husky-hpt/husky-hpt-1.9.20191207/fastlst/aplibs/ |
H A D | runcmd.cc | 124 int nsubs = __min (strlen (prmlst), MAXSUBS); in RunCmd() local 128 for (j = 0; j < nsubs; j++) // init prm substitutions in RunCmd() 151 for (j = 0; j < nsubs; j ++) in RunCmd()
|
/dports/news/husky-huskylib/husky-huskylib-1.9.20191207/fastlst/aplibs/ |
H A D | runcmd.cc | 124 int nsubs = __min (strlen (prmlst), MAXSUBS); in RunCmd() local 128 for (j = 0; j < nsubs; j++) // init prm substitutions in RunCmd() 151 for (j = 0; j < nsubs; j ++) in RunCmd()
|