search for: obj_id

Displaying 9 results from an estimated 9 matches for "obj_id".

Did you mean: obj_idx
2007 Sep 24
7
Parameter Matchers with optional params
Hi, Are there any docs for combining parameter matchers, or some way to define optional parameters? I''m trying to match something like: .find( 42 ) || .find( 42, {:conditions=>nil,:includes=>nil} ) Or for that matter, 42 followed by nothing or anything... Halp? I''ve tried different nested combos with any_of/all_of/anything, but getting lost trying. --Andrew
2019 Feb 15
2
[PATCH] drm: Mark expected switch fall-throughs
...amd/display/dc/bios/bios_parser2.c index a1c56f29cfeb..fd5266a58297 100644 --- a/drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c +++ b/drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c @@ -265,6 +265,7 @@ static struct atom_display_object_path_v2 *get_bios_object( && id.enum_id == obj_id.enum_id) return &bp->object_info_tbl.v1_4->display_path[i]; } + /* fall through */ case OBJECT_TYPE_CONNECTOR: case OBJECT_TYPE_GENERIC: /* Both Generic and Connector Object ID @@ -277,6 +278,7 @@ static struct atom_display_object_path_v2 *get_bios_object( &&...
2019 Feb 15
0
[PATCH] drm: Mark expected switch fall-throughs
....fd5266a58297 100644 > --- a/drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c > +++ b/drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c > @@ -265,6 +265,7 @@ static struct atom_display_object_path_v2 *get_bios_object( > && id.enum_id == obj_id.enum_id) > return &bp->object_info_tbl.v1_4->display_path[i]; > } > + /* fall through */ > case OBJECT_TYPE_CONNECTOR: > case OBJECT_TYPE_GENERIC: > /* Both Generic and Connecto...
2006 Jul 18
0
non-optimal sql
...3; delete from tagpairs where id = 34; delete from tagpairs where id = 35; ... insert into tagpairs (...) values (...); insert into tagpairs (...) values (...); ... commit This would be better as: delete from tagpairs where obj_type = ''guidepage'' and obj_id = 1; insert into tagpairs (...) values (...); ... In my case, I''m using a polymorphic association. However, the basic idea applies to a non-polymorphic association. We can and should delete members of the association based on the association key field having a certain value rath...
2007 Oct 18
2
Remember me functionality
Hi all, I am trying to implement the functionality of Remember Me. The requirement is that once the user closes the browser after checking the remember me check box, it should return to the login page with username and password fields to be filled into the text boxes and the checkbox button checked, so that there is no need to fill all the fields. I am not able to fill the text boxes with user
2009 May 15
0
[PATCH server] Starting of new ovirt QMF API.
...esc => "Newly created domain object id.", :dir => Qmf::DIR_OUT)) + @ovirt_class.add_method(method) + + @agent.register_class(@ovirt_class) + end + + def start + @ovirt = Qmf::QmfObject.new(@ovirt_class) + @ovirt.set_attr("version", "0.0.0.1") + + obj_id = @agent.alloc_object_id(1, Ovirt::TABLE_ID) + @ovirt.set_object_id(obj_id) + end + + def implement_id_query(context, id) + if id == 1 + # This class is a singleton so it's easy.. :) + @agent.query_response(context, @ovirt) + end + end + + def implement_class_query(contex...
2020 Jul 16
0
[PATCH vhost next 10/10] vdpa/mlx5: Add VDPA driver for supported mlx5 devices
...v, eth_frame_offload_type)) > + MLX5_SET(virtio_q, vq_ctx, virtio_version_1_0, 1); > + > + err = mlx5_cmd_exec(ndev->mvdev.mdev, in, inlen, out, sizeof(out)); > + if (err) > + goto err_cmd; > + > + kfree(in); > + mvq->virtq_id = MLX5_GET(general_obj_out_cmd_hdr, out, obj_id); > + > + return 0; > + > +err_cmd: > + kfree(in); > +err_alloc: > + umems_destroy(ndev, mvq); > + return err; > +} > + > +static void destroy_virtqueue(struct mlx5_vdpa_net *ndev, struct mlx5_vdpa_virtqueue *mvq) > +{ > + u32 in[MLX5_ST_SZ_DW(destroy_virtio_n...
2009 Jul 29
9
partials...
I am getting a blank page, no errors, just a blank page. I have 2 files... reports/city_taxes_print.erb reports/_city_taxes_print.erb and my method is city_taxes_print and after getting variables from the controller, my erb file which is fairly basic... <% # City of Scottsdale @taxauthids = [ "32", "40" ] @report_title = "Scottsdale Sales Tax Detail Report for
2012 Dec 12
43
[PATCH 00/37] [RFC] revamped modeset locking
Hi all, First thing first: It works, I now no longer have a few dropped frames every 10s on my testbox here with the pageflip i-g-t tests. Random notes: - New design has per-crtc locks to protect the crtc input-side (pageflip, cursor) for r/w and the output state of the crtc (mode, dpms) as read-only. It also required completely revamped fb lifecycle management, those are now refcounted