Sha256: 70aa14981dccf2a58f000e8fb9b119ecd627fd012b30122de69bef434800dda7

Contents?: true

Size: 654 Bytes

Versions: 31

Compression:

Stored size: 654 Bytes

Contents

controller :my_controller do
  services :vm

  action :my_action do
    on_entry %{
      var entry = {
        hello: "world"
      }

      var entry2 = {
        hello: "world"
      }


      page = NewPage("array", "test");
      SetPageHead(page, "head");
      SetPageNext(page, "next");
      EntryInsert(page, 0, entry);

      var write_info = {
        ns: "local0",
        page: page
      };

      page2 = CopyPage(page);
      EntryInsert(page2, 0, entry);

      var write_info2 = {
        ns: "local1",
        page: page2
      };


      Request("vm", "write", write_info);
      Request("vm", "write", write_info2);
    }
  end
end

Version data entries

31 entries across 31 versions & 1 rubygems

Version Path
flok-0.0.75 spec/kern/assets/vm/pg_mem/write2.rb
flok-0.0.74 spec/kern/assets/vm/pg_mem/write2.rb
flok-0.0.73 spec/kern/assets/vm/pg_mem/write2.rb
flok-0.0.72 spec/kern/assets/vm/pg_mem/write2.rb
flok-0.0.71 spec/kern/assets/vm/pg_mem/write2.rb
flok-0.0.70 spec/kern/assets/vm/pg_mem/write2.rb
flok-0.0.69 spec/kern/assets/vm/pg_mem/write2.rb
flok-0.0.68 spec/kern/assets/vm/pg_mem/write2.rb
flok-0.0.67 spec/kern/assets/vm/pg_mem/write2.rb
flok-0.0.66 spec/kern/assets/vm/pg_mem/write2.rb
flok-0.0.65 spec/kern/assets/vm/pg_mem/write2.rb
flok-0.0.64 spec/kern/assets/vm/pg_mem/write2.rb
flok-0.0.63 spec/kern/assets/vm/pg_mem/write2.rb
flok-0.0.62 spec/kern/assets/vm/pg_mem/write2.rb
flok-0.0.61 spec/kern/assets/vm/pg_mem/write2.rb
flok-0.0.60 spec/kern/assets/vm/pg_mem/write2.rb
flok-0.0.57 spec/kern/assets/vm/pg_mem/write2.rb
flok-0.0.56 spec/kern/assets/vm/pg_mem/write2.rb
flok-0.0.55 spec/kern/assets/vm/pg_mem/write2.rb
flok-0.0.54 spec/kern/assets/vm/pg_mem/write2.rb