gnome-shell/js/misc
Giovanni Campagna bbdce159fa Util: fix binary search exit condition
The loop can exit with an interval of length one or one of
length zero. In the first case it is correct to check which side
of the interval to return, in the second case no comparison should
be made (since there is only one possible value).
In practice, this usually results in one comparison more than needed,
but in some cases (when the position was past the end of the array),
would call the comparator with undefined.

https://bugzilla.gnome.org/show_bug.cgi?id=666614
2011-12-20 22:44:03 +01:00
..
config.js.in *.js: Make emacs modelines consistent 2011-10-11 08:05:12 -04:00
docInfo.js Port everything to class framework 2011-11-24 09:50:04 +01:00
fileUtils.js fileUtils: Fix recursivelyDeleteDir 2011-11-30 22:04:00 -05:00
format.js *.js: Make emacs modelines consistent 2011-10-11 08:05:12 -04:00
gnomeSession.js screensaver, gnomesession: port to GDBus based bindings 2011-11-11 11:15:38 -05:00
history.js Port everything to class framework 2011-11-24 09:50:04 +01:00
jsParse.js lookingGlass: Add tab-completion 2011-11-05 13:05:11 -04:00
modemManager.js Port everything to class framework 2011-11-24 09:50:04 +01:00
params.js *.js: Make emacs modelines consistent 2011-10-11 08:05:12 -04:00
screenSaver.js screensaver, gnomesession: port to GDBus based bindings 2011-11-11 11:15:38 -05:00
util.js Util: fix binary search exit condition 2011-12-20 22:44:03 +01:00