# File lib/active_support/vendor/memcache-client-1.7.4/memcache.rb, line 887 def entry_count_for(server, total_servers, total_weight) ((total_servers * Continuum::POINTS_PER_SERVER * server.weight) / Float(total_weight)).floor end