search for: bestscore

Displaying 2 results from an estimated 2 matches for "bestscore".

Did you mean: testscore
2017 Jul 31
1
[RFC PATCH] nv50/ir: allow spilling of def values for constrained MERGES/UNIONS
This lets us spill more values and compile a big shader for Civilization 6. Signed-off-by: Tobias Klausmann <tobias.johannes.klausmann at mni.thm.de> --- src/gallium/drivers/nouveau/codegen/nv50_ir_ra.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/gallium/drivers/nouveau/codegen/nv50_ir_ra.cpp b/src/gallium/drivers/nouveau/codegen/nv50_ir_ra.cpp index b33d7b4010..f29c8a1a95
2005 Jan 05
1
rsync filename heuristics
...me++, basename++) > + score++; > + return score; > +} > + > +int open_alternate_base_fuzzy(const char *fname) > +{ > + DIR *d; > + struct dirent *di; > + char *basename, *dirname; > + char mangled_name[MAXPATHLEN]; > + char bestname[MAXPATHLEN]; > + unsigned int bestscore = 0; > + const char *ext; > + > + /* FIXME: can we assume fname fits here? */ > + strcpy(mangled_name, fname); > + > + split_names(mangled_name, &dirname, &basename); > + d = opendir(dirname); > + if (!d) { > + rprintf(FERROR,"recv_generator opendir(%s): %s\...