Home
last modified time | relevance | path

Searched refs:nwant (Results 1 – 25 of 295) sorted by relevance

12345678910>>...12

/dports/cad/gmsh/gmsh-4.9.2-source/contrib/blossom/concorde97/TSP/
H A Dbranch.c261 int nwant;
282 if (nwant <= 0) {
357 int nwant;
386 init_sblist (slist, nwant);
683 int nwant;
740 init_sblist (slist, nwant);
801 int nwant;
832 init_sblist (slist, nwant);
995 int nwant;
1027 init_sblist (slist, nwant);
[all …]
H A Dgenerate.c334 int CCtsp_generate_edges (CCtsp_edgegenerator *eg, int nwant, int *pngot, in CCtsp_generate_edges() argument
337 int CCtsp_generate_edges (eg, nwant, pngot, elist, elen, finished) in CCtsp_generate_edges()
339 int nwant;
350 printf ("generate_edges (%d)\n", nwant); fflush (stdout);
367 while (ngot < nwant) {
398 while (supplyhead < supplycount && ngot < nwant) {
424 while (ngot < nwant) {
482 while (ngot < nwant) {
501 while (supplyhead < supplycount && ngot < nwant) {
523 while (ngot < nwant) {
H A Dcutpool.c577 int nwant, double **cliquevals) in CCtsp_branch_cutpool_cliques() argument
580 elist, x, nwant, cliquevals) in CCtsp_branch_cutpool_cliques()
587 int nwant;
608 if (pool->cutcount == 0 || nwant <= 0) return 0;
610 blist = CC_SAFE_MALLOC (nwant + 1, int);
611 bval = CC_SAFE_MALLOC (nwant + 1, double);
624 for (i = 0; i < nwant; i++) {
628 blist[nwant] = -1;
645 for (i = 0; i < nwant; i++) {
677 for (i = nwant - 1; i >= 0; i--) {
/dports/japanese/canna-lib/Canna37p3/server/
H A Dmain.c86 int nwant, r; local
95 nwant = parse_wide_request(&request, data, len, username, hostname);
97 nwant = parse_euc_request(&request, data, len, username, hostname);
99 if (nwant)
100 return nwant; /* ���ԡ��ޤ��Ϥ�äȥǡ�����ɬ�� */
H A Dcomm.c49 size_t nwant; member
93 obj->nwant = FIRST_WANT;
121 assert(obj->nwant && !CLIENT_BUF_IS_SENDING(obj));
127 buf->sb_end - buf->sb_curr, obj->nwant));
145 if (size < obj->nwant) {
146 obj->nwant -= size;
149 obj->nwant = 0;
156 obj->nwant = newwant;
174 assert(!obj->nwant && CLIENT_BUF_IS_SENDING(obj));
198 obj->nwant = FIRST_WANT;
[all …]
/dports/japanese/canna-server/Canna37p3/server/
H A Dmain.c86 int nwant, r; local
95 nwant = parse_wide_request(&request, data, len, username, hostname);
97 nwant = parse_euc_request(&request, data, len, username, hostname);
99 if (nwant)
100 return nwant; /* ���ԡ��ޤ��Ϥ�äȥǡ�����ɬ�� */
H A Dcomm.c49 size_t nwant; member
93 obj->nwant = FIRST_WANT;
121 assert(obj->nwant && !CLIENT_BUF_IS_SENDING(obj));
127 buf->sb_end - buf->sb_curr, obj->nwant));
145 if (size < obj->nwant) {
146 obj->nwant -= size;
149 obj->nwant = 0;
156 obj->nwant = newwant;
174 assert(!obj->nwant && CLIENT_BUF_IS_SENDING(obj));
198 obj->nwant = FIRST_WANT;
[all …]
/dports/math/concorde/concorde/TSP/
H A Dbranch.c240 int nwant; member
390 if (nwant <= 0) { in CCtsp_find_branch()
886 if (bin == nwant) bin = nwant-1; in newclique()
935 if (nwant <= 0) { in find_longedge_cliques()
1073 for (i=0; i<nwant; i++) { in find_longedge_cliques()
1416 if (bin == nwant) bin = nwant-1; in newclique2()
1936 if (nwant <= 0) { in find_longedge_cliques2()
2011 for (i=0; i<nwant; i++) { in find_longedge_cliques2()
2016 le_dat.nwant = nwant; in find_longedge_cliques2()
2128 init_sblist (slist, nwant); in merge_edge_clique()
[all …]
H A Dgenerate.c333 int CCtsp_generate_edges (CCtsp_edgegenerator *eg, int nwant, int *pngot, in CCtsp_generate_edges() argument
341 printf ("CCtsp_generate_edges (%d)\n", nwant); fflush (stdout); in CCtsp_generate_edges()
359 while (ngot < nwant) { in CCtsp_generate_edges()
391 while (supplyhead < supplycount && ngot < nwant) { in CCtsp_generate_edges()
417 while (ngot < nwant) { in CCtsp_generate_edges()
455 while (ngot < nwant) { in CCtsp_generate_edges()
474 while (supplyhead < supplycount && ngot < nwant) { in CCtsp_generate_edges()
497 while (ngot < nwant) { in CCtsp_generate_edges()
/dports/textproc/uni/uni-2.4.0/
H A Duni_test.go79 t.Errorf("wrong output\nout: %q\nwant: %q", out.String(), tt.want)
123 t.Errorf("wrong # of lines\nout: %d\nwant: %d", lines, tt.wantLines)
126 t.Errorf("wrong output\nout: %q\nwant: %q", out, tt.want)
193 t.Errorf("wrong # of lines\nout: %d\nwant: %d", lines, tt.wantLines)
196 t.Errorf("wrong output\nout: %q\nwant: %q", out, tt.want)
270 t.Errorf("wrong output\nout: %s\nwant: %s", a, b)
325 t.Errorf("emoji lists not equal\nout: %v\nwant: %v", outEmojis, wantEmojis)
/dports/devel/plan9port/plan9port-1f098efb7370a0b28306d10681e21883fb1c1507/src/cmd/vac/
H A Dunvac.c12 int nwant; variable
101 nwant = argc-1; in threadmain()
103 found = vtmallocz(nwant*sizeof found[0]); in threadmain()
109 for(i=0; i<nwant; i++){ in threadmain()
145 if(nwant == 0) in wantfile()
149 for(i=0; i<nwant; i++){ in wantfile()
/dports/textproc/uni/uni-2.4.0/vendor/zgo.at/zstd/zgo/
H A Dzgo_test.go57 t.Errorf("\nout: %#v\nwant: %#v\n", out, tt.want)
61 t.Errorf("\nout: %#v\nwant: %#v\n", attr, tt.wantAttr)
73 t.Errorf("\nout: %#v\nwant: %#v\n", out, "Original")
/dports/science/lammps/lammps-stable_29Sep2021/src/
H A Dmolecule.cpp429 int nwant = 0; in read() local
432 nwant = 2; in read()
435 nwant = 2; in read()
438 nwant = 2; in read()
441 nwant = 2; in read()
444 nwant = 2; in read()
447 nwant = 2; in read()
451 nwant = 2; in read()
458 nwant = 4; in read()
472 nwant = 7; in read()
[all …]
/dports/net-p2p/btpd/btpd-0.16/btpd/
H A Dpeer.c265 assert(p->nwant < p->npieces); in peer_want()
266 p->nwant++; in peer_want()
267 if (p->nwant == 1) { in peer_want()
291 assert(p->nwant > 0); in peer_unwant()
292 p->nwant--; in peer_unwant()
293 if (p->nwant == 0) { in peer_unwant()
397 assert(p->nwant == 0); in peer_on_no_reqs()
622 if (p->nwant > 0) { in peer_bad_piece()
645 if (p->nwant > 0) { in peer_good_piece()
/dports/www/grafana8/grafana-8.3.6/vendor/cuelang.org/go/cue/
H A Dbuiltin_test.go134 t.Errorf("\n got: %s\nwant: %s", got, tc.emit)
165 t.Errorf("\n got: %s\nwant: %s", got, tc.emit)
/dports/astro/gpstk/GPSTk-8.0.0/ext/lib/Geomatics/
H A DAtmLoadTides.cpp78 int i,nwant,nfound; in initializeSites() local
86 nwant = sites.size(); in initializeSites()
187 if(!allsites && nfound >= nwant) break; in initializeSites()
/dports/net/cloudquery/cloudquery-0.16.0/vendor/github.com/zclconf/go-cty/cty/function/stdlib/
H A Dcsv_test.go93 t.Fatalf("wrong error\ngot: %s\nwant: %s", errStr, test.WantErr)
100 t.Errorf("wrong result\ngot: %#v\nwant: %#v", got, test.Want)
/dports/sysutils/terraform-docs/terraform-docs-0.16.0/vendor/github.com/zclconf/go-cty/cty/function/stdlib/
H A Dcsv_test.go93 t.Fatalf("wrong error\ngot: %s\nwant: %s", errStr, test.WantErr)
100 t.Errorf("wrong result\ngot: %#v\nwant: %#v", got, test.Want)
/dports/sysutils/terraform/terraform-1.0.11/vendor/github.com/zclconf/go-cty/cty/function/stdlib/
H A Dcsv_test.go93 t.Fatalf("wrong error\ngot: %s\nwant: %s", errStr, test.WantErr)
100 t.Errorf("wrong result\ngot: %#v\nwant: %#v", got, test.Want)
/dports/sysutils/terraform-switcher/terraform-switcher-0.13.1201/vendor/github.com/zclconf/go-cty/cty/function/stdlib/
H A Dcsv_test.go93 t.Fatalf("wrong error\ngot: %s\nwant: %s", errStr, test.WantErr)
100 t.Errorf("wrong result\ngot: %#v\nwant: %#v", got, test.Want)
/dports/devel/sdl12/SDL-1.2.15/src/video/x11/
H A DSDL_x11wm.c86 int nwant; in X11_SetIcon() local
93 nwant = icon->format->palette->ncolors; in X11_SetIcon()
95 nwant * sizeof want[0]); in X11_SetIcon()
107 nwant = 216; in X11_SetIcon()
128 for(i = 0; i < nwant; i++) { in X11_SetIcon()
/dports/net/py-magic-wormhole/magic-wormhole-0.12.0/docs/state-machines/
H A Dlister.dot18 S1A [label="S1A:\nwant list\nunconnected"]
19 S1B [label="S1B:\nwant list\nconnected" color="orange"]
/dports/biology/sra-tools/sra-tools-2.11.0/ngs/ngs-bam/
H A Dbam.cpp320 size_t const nwant = n * IO_BLK_SIZE; in FillBuffer() local
321 char *const dst = (char *)(iobuffer + 2 * IO_BLK_SIZE - nwant); in FillBuffer()
323 size_t const nread = feof(file) ? 0 : fread(dst, 1, nwant, file); in FillBuffer()
325 size_t const nread = file.eof() ? 0 : file.read(dst, nwant).gcount(); in FillBuffer()
470 size_t const nwant = count * sizeof(T); in Read() local
471 size_t const nread = ReadN(nwant, reinterpret_cast<void *>(dst)); in Read()
473 return nwant == nread; in Read()
/dports/biology/ncbi-vdb/ngs-2.11.0/ngs-bam/
H A Dbam.cpp320 size_t const nwant = n * IO_BLK_SIZE; in FillBuffer() local
321 char *const dst = (char *)(iobuffer + 2 * IO_BLK_SIZE - nwant); in FillBuffer()
323 size_t const nread = feof(file) ? 0 : fread(dst, 1, nwant, file); in FillBuffer()
325 size_t const nread = file.eof() ? 0 : file.read(dst, nwant).gcount(); in FillBuffer()
470 size_t const nwant = count * sizeof(T); in Read() local
471 size_t const nread = ReadN(nwant, reinterpret_cast<void *>(dst)); in Read()
473 return nwant == nread; in Read()
/dports/biology/ngs-sdk/ngs-2.11.1/ngs-bam/
H A Dbam.cpp320 size_t const nwant = n * IO_BLK_SIZE; in FillBuffer() local
321 char *const dst = (char *)(iobuffer + 2 * IO_BLK_SIZE - nwant); in FillBuffer()
323 size_t const nread = feof(file) ? 0 : fread(dst, 1, nwant, file); in FillBuffer()
325 size_t const nread = file.eof() ? 0 : file.read(dst, nwant).gcount(); in FillBuffer()
470 size_t const nwant = count * sizeof(T); in Read() local
471 size_t const nread = ReadN(nwant, reinterpret_cast<void *>(dst)); in Read()
473 return nwant == nread; in Read()

12345678910>>...12