search for: my_valu

Displaying 15 results from an estimated 15 matches for "my_valu".

Did you mean: my_value
2006 May 09
1
Reusing a model to form and link_to.
...=> "my_action") }) %> <%= text_field(''my_object'', ''my_parameter'', :maxlength => ''30'' )%> <%= submit_tag "Send"%> <%= end_form_tag %> In the controller I retrive the information using: @my_value = params[:my_object][:my_parameter] OK. In other parts I have a link_to as: <%= link_to(user.my_value, :controller => "my_controller", :action => "my_action", XXXXXXX ) %> How can I change the XXXXXX to have the same behavior as I have previously? Thanks in ad...
2012 May 08
4
Axes value format
Hi all, I have some graphs where the values on the X and Y axes are by default in exponent form like 2e+05 or 1.0e+07. Is it possible to make them in a more readable form like 10M for 1.0e+07 or 200K for 2e+05? Thanks and Regards, - vihan
2008 Jul 17
0
Re : float and double precision with C code
...u for your quick answer, I'm far of the digits capacity and my values are not the result of a computation. I'm developping a R package to acces a specific data source. And I need precision a few better. How can I do ? When I try this In R console, this is correct and what I need : > my_value <- 29.958334 > my_value == 29.958334 [1] TRUE But I need to do the first operation (my_value <- 29.958334) in C Regards, ----- Message d'origine ---- De : jim holtman <jholtman at gmail.com> ? : JS Ubei <jsubei at yahoo.fr> Cc : r-help at r-project.org Envoy? le : Jeu...
2008 Jul 17
0
Re : Re : float and double precision with C code
...u for your quick answer, I'm far of the digits capacity and my values are not the result of a computation. I'm developping a R package to acces a specific data source. And I need precision a few better. How can I do ? When I try this In R console, this is correct and what I need : > my_value <- 29.958334 > my_value == 29.958334 [1] TRUE But I need to do the first operation (my_value <- 29.958334) in C Regards, ----- Message d'origine ---- De : jim holtman <jholtman at gmail.com> ? : JS Ubei <jsubei at yahoo.fr> Cc : r-help at r-project.org Envoy? le : Jeu...
2012 Aug 17
1
[LLVMdev] Generate data16 assembly instruction for TLS with PIC
Hi all, System: x86-64 ubuntu 11.04 LLVM: 3.0 gcc: 4.5.2 I declare a thread_local global variable and access it in a function in llvm IR. for example, @my_value = linkonce thread_local global %dummy* null define void @test1() { entry: %load_my_value = load %dummy** @my_value .... } After that, I use the following command: bash$ llc -relocation-model=pic test.ll And I have test.s which is an assembly file. I tried to build it with gcc, but I...
2013 Dec 14
2
[LLVMdev] create load from a register in LLVM IR
Hi all, I have recently encountered a problem when creating LLVM IRs. I am wondering if there is a standard or easy way to create a load from a certain register? For example, CreateLoad(rbp, NAME). Thanks, Chen -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20131213/ec277276/attachment.html>
2013 Dec 14
0
[LLVMdev] create load from a register in LLVM IR
...ause it's the frame pointer then for that one case there is actually an @llvm.frameaddress intrinsic you can call to get it. But if you want other registers as well, the only way I can think of is through inline assembly. This is roughly the line clang produces, and should be sufficient: %my_value = call i64 asm "movq $0, %rbp", "=r"() Cheers. Tim.
2011 Apr 29
0
Local channel scenario flushes CDR before dialplan end
...y of service - another IVR, record some messages) same => n,Hangup() exten => h,1,Noop(I'm using func_odbc to save quiz results into DB, process recorded files, etc.) same => n,Noop(I'm using cdr_adaptive to store custom fields in table columns) same => n,CDR(my_custom_field_a)=my_value same => n,CDR(my_custom_field_z)=my_value [office] exten => 555,1,Dial(SIP/555) same => n,Hangup() A call comes from a SIP trunk directly to 555 at incoming. It forks new pair of Local channels, bridging other leg to SIP/555. SIP peer answers the call, then hangs up. Dialplan continues...
2007 Jan 16
2
[LLVMdev] Indirect branch instruction
On Tue, 16 Jan 2007, Nicolas Geoffray wrote: >> Can you give a compilable C function as an example? >> >> > Well I'm not sure on how to do this in C, but in x86 assembly a simple > jmp %eax does it. I don't understand. You're making a claim that the C compiler isn't producing optimal code for some case. Can you give an example of a C function that llvm
2007 Jan 16
0
[LLVMdev] Indirect branch instruction
...itchInst, the just in time compiler generates two jumps, one to jump to the right case, and then one to jump to the correct label. Typically, I understood that, to make indirect branches, the (pseudo-) code generated is: label1: instructions label2: instructions label3: instructions my_value = @ of a label switch(my_value) { case label1: jump label1 case label2: jump label2 case label3: jump label3 default: abort("invalid label") } What I was asking is : what is the assembly code generated by llvm for this kind of code? My guess was 2 jumps. But it might b...
2012 Dec 17
0
[LLVMdev] LLVMdev Digest, Vol 98, Issue 33
...zdw at mail.gmail.com> > Content-Type: text/plain; charset="iso-8859-1" > > Hi all, > > System: x86-64 ubuntu 11.04 > LLVM: 3.0 > gcc: 4.5.2 > > I declare a thread_local global variable and access it in a function in > llvm IR. > for example, > > @my_value = linkonce thread_local global %dummy* null > > define void @test1() { > entry: > %load_my_value = load %dummy** @my_value > .... > } > > After that, I use the following command: > > bash$ llc -relocation-model=pic test.ll > > And I have test.s which is...
2006 Jan 18
6
Autocomplete related fields
I have a table that has city, state and postal code. I want to auto-fill the city and state when a postal code is entered. The city and postal code are simple text fields, but the state is a drop-down list with abbreviations as the value, and the full state name as the option text. I assume with Ajax.Updater I could just return the HTML for both the city and state fields -- including the entire
2007 Jul 29
7
RDig and AAF playing together
...search_paths with an element for index A and index B. However, when Index B is updated by AAF, RDig.searcher.search will not "see" the changes to Index B until I restart Mongrel (or restart script/console). If I query Index B directly through ClassB.find_by_contents("myfield:my_value") I see the updated results immediately with no restart. I know that RDig creates a single IndexReader for class. Does the IndexReader cache the segments files in memory? Does anyone have any ideas? Thanks in advance for your help! Erik
2013 Jan 21
15
Terrible exported resources performance
Hi, Since the below is a little long, I put my question at the top: how do I troubleshoot awful exported resources performance in puppet and is there anything I can tweak to get it to run under 10 minutes in larger environments? I have a fairly modest environment (118 nodes, but prod will be at least twice as large). I''m trying to move my distributed nagios setup to one based on
2005 Sep 08
0
First 8 bytes of the value of keys in group_mapping.tdb
I'm trying to build a hack to add/modify a groupmap entry in the group_mapping.tdb file by hand. What I'd like to do is to manually perform something like this: echo -e "open group_mapping.tdb\ninsert my_key my_value\nq" | tdbtool In this attempt, I expect to add a new group map entry in the tdb file. The key I'm using is the same as samba uses: domain_group/SID. I'm having trouble with the value of the {key,value} pair. When I issue a dump of a functional group_mapping.tdb file, I notice that...