Displaying 3 results from an estimated 3 matches for "_score".
Did you mean:
score
2007 Jan 27
0
Problems with implementation of dynamically updating scores
...----------------------------------------------
def arouse
@p=Product.find(params[:id])
@list=List.find_favolist(session[:user_id])
@li=LineItem.findaddeditem(@p.id,@list.id)
fair=-IARJQAGddPM@public.gmane.org?
puts fair
if fair
puts ''success''
@p.popular_score +=1
@p.save
puts "add"
@li = LineItem.new
@li.product_id =params[:id]
@li.list_id =-7ETwYBW1OEA@public.gmane.org
@li.likeornot =1
@li.created_at = Time.now
puts "line"
@li.save
redirect_to_index("推文成功") --> never worked, why?...
2025 Jan 22
5
[PATCH] drm/sched: Use struct for drm_sched_init() params
...tatic int amdgpu_device_init_schedulers(struct amdgpu_device *adev)
break;
}
- r = drm_sched_init(&ring->sched, &amdgpu_sched_ops, NULL,
- DRM_SCHED_PRIORITY_COUNT,
- ring->num_hw_submission, 0,
- timeout, adev->reset_domain->wq,
- ring->sched_score, ring->name,
- adev->dev);
+ params.ops = &amdgpu_sched_ops;
+ params.submit_wq = NULL; /* Use the system_wq. */
+ params.num_rqs = DRM_SCHED_PRIORITY_COUNT;
+ params.credit_limit = ring->num_hw_submission;
+ params.hang_limit = 0;
+ params.timeout = timeout;
+ params.time...
2007 Jan 29
6
RJS problem
...----------------------------------------------
def arouse
@p=Product.find(params[:id])
@list=List.find_favolist(session[:user_id])
@li=LineItem.findaddeditem(@p.id,@list.id)
fair=-IARJQAGddPM@public.gmane.org?
puts fair
if fair
puts ''success''
@p.popular_score +=1
@p.save
puts "add"
@li = LineItem.new
@li.product_id =params[:id]
@li.list_id =-7ETwYBW1OEA@public.gmane.org
@li.likeornot =1
@li.created_at = Time.now
puts "line"
@li.save
redirect_to_index("推文成功") --> never worked, why?...