Sha256: 0a1fbd48daa4b006f6061358aa136d8ab8f7783c5def7c2c094e175f61e1ca3a
Contents?: true
Size: 531 Bytes
Versions: 59
Compression:
Stored size: 531 Bytes
Contents
//Configure pg_mem0, pg_mem1, pg_mem2 <% [0, 1, 2].each do |i| %> function pg_mem<%= i %>_init(ns, options) { pg_mem<%= i %>_init_params = {ns: ns, options: options}; pg_mem<%= i %>_ns = ns; <% if @debug %> pg_mem<%= i %>_spec_did_init = true; <% end %> } function pg_mem<%= i %>_watch(id, page) { } function pg_mem<%= i %>_unwatch(id) { } function pg_mem<%= i %>_write(page) { vm_transaction_begin(); vm_cache_write(pg_mem<%= i %>_ns, page); vm_transaction_end(); } <% end %>
Version data entries
59 entries across 59 versions & 1 rubygems