search for: overrode

Displaying 20 results from an estimated 73 matches for "overrode".

Did you mean: override
2016 Sep 30
2
Bug in 3.9.0 RTDyldMemoryManager.cpp
...tion handling when I moved from llvm 3.8 to llvm 3.9. I traced it back to EH frames not being deregistered due to a (typo?) mistake in RTDyldMemoryManager.cpp: void deregisterEHFrames(uint8_t *Addr, uint64_t LoadAddr, size_t Size) override { * registerEHFramesInProcess(Addr, Size);* } ..I overrode the function to call deregister instead of register in my own MemMgr and all's now well. The crash manifests itself as a seg fault when a process causes an exception after JITted code has been removed. Cheers, Matt -------------- next part -------------- An HTML attachment was scrubbed... UR...
2010 Jul 19
3
ActiveRecord override
...d end However, when I do Person.find(27) I get: #<Person id: 27, ssn: "l+IV+c55qywTjPd+bW+IGA==\n" > And then if I do p = Person.find(27), then I get the decrypted ssn. I know that find must be processing under the override methods, but I dont understand why, as I thought if you overrode a method it would hold in all situations for the AR object. David -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubsc...
2006 Mar 17
2
Controller/View Organization (Newbie Question)
...s than robust. (?) 3. Do the same as #1, but use routing to make the URLs for the auxiliary table methods look something like: "/dog/1/ training_sessions/list". As I understand it, the linking helpers would then maintain the dog ID at the beginning of the URL unless I specifically overrode it. (Though I haven''t actually TRIED this yet, so I could be wrong) 4. Use only ONE controller (for Dog) and implement all auxiliary data operations (CRUD) as sets of views/methods on DogsController. Then, to get around the problem of having to have two IDs at once -- one for the...
2010 Jun 19
7
comctl32 unable to load
Hey, I was trying to get a few of my own programs on windows to work under wine, and while trying to get my installer to work, overrode comctl32.dll, which is a required library for winecfg to work, so now I am stuck with a bunch of programs and winecfg all not working at all. As far as I can tell, this dll is full of common controls for windows programs, and must somewhere be used by wine. What I need help with is to figure out h...
2016 Jun 08
2
Instruction Itineraries: question about operand latencies
I overrode getInstrLatency and did some printing to see what is available there. It looks like the registers are still virtual at that point when getInstrLatency is called - is that correct? (we needed to make some decisions based on actual registers that have been assigned since some registers are reserved a...
2008 Oct 14
6
Disabling XML character escaping for to_xml
Currently, it appears to_xml will automatically escape any entities into their corresponding &XXX representation. There''s a piece in the documentation that says "If $KCODE is set to u and encoding set to UTF8, then escaping will NOT be performed." Unfortunately, this doesn''t appear to be the case. Even after following the docs and ensuring that default_charset is
2010 Aug 25
2
[LLVMdev] [REQUEST FOR FEEDBACK] Inline asm multiple alternative constraints
...ction without needing the DAG. I'm assuming the value info in the operands from the callsite object is sufficient to choose the constraints. I also added some other virtual functions to TargetLowering to allow the different targets to handle the target-specific contraints. At present, I only overrode the getSingleConstraintMatchWeight function in X86TargetLowering, and just for one constraint letter, as an example. In the three places where the original InlineAsm::ParseConstraints was called (CodeGenPrepare.cpp, AddrModeMatcher.cpp, and SelectionDAGBuilder), I replaced the calls with calls to...
2007 Jan 05
1
net rpc group members timeout
...fnum 0x72cd to machine 127.0.0.1. Error was Call timed out: server did not respond after 10000 milliseconds Everything looks appropriate when looking at "net groupmap list." We are using NIS (I have begun a phased transition to LDAP and Kerberos), and NIS sometimes times out. Still, I overrode nsswitch and PAM to use LDAP and Kerberos respectively and no NIS, but this only marginally helps things. Can this timeout be raised? Is there some other underlying problem? We are using NSCD. There are a lot of user accounts. I have seen this problem discussed elsewhere, but nobody has proffered...
2015 Aug 31
0
[OT] GNU bc base conversion
...ys > force your way back to sanity. > Not sure how this helps me with my most recent example of bin_to_hex where the ibase within the define clause wasn't honored. Working with bc interfactively or by piping produce the desired/correct values. Testing indicates the ibase is defaulted or overrode as base10 despite what is specified in the define clause. :-( > > My objection is that this is even necessary in the first place. Agreed. -- ---~~.~~--- Mike // SilverTip257 //
2015 Aug 31
0
[OT] GNU bc base conversion
...gt; ibase=2 /* no possibility of confusion */ > 10101011 > > Result: AB, as expected. > Thank you. We're in agreement, your solution _does_ work when piped or interactively. Any order does not work from a definition stanza since base10 is (apparently) not capable of being overrode with definitions. tmp]$ grep bin_to_hex ~/.bcrc #define bin_to_hex(b) { obase=16; ibase=2; return b; } define bin_to_hex(b) { ibase=A; obase=A; obase=16; ibase=2; return b; } tmp]$ echo "bin_to_hex(10101011)" | bc 9A2113 tmp]$ echo "ibase=A; obase=A; obase=16; ibase=2; 10101011&quo...
2009 Mar 13
1
Re: problems installing Dreamweaver cs3
That error shouldn't occur...you've done something strange. Overridden comctl32 perhaps? And haw can I fix if? Thanks verry much for all your replies
2011 Jul 08
0
auth_username_chars question
...taken as valid character, and '\' would also be a literal character? (not that'd I'd be using windows's clients or anything that would, on occasion, pass "DOMAINAME\user" as the calling user trying to log into a 'user' account....or anything....*ahem*...) Overrode it w/some hard-coded hacks, but would like dovecot to me more robust and handle weird input and do the right thing with it (I know that's always a challenging concept for some people, since the answers and ability to arrive at 'correct' is always 'contextual', and so many people...
2010 Oct 13
1
dll number release
hi, a use an app that require the latest psapi.dll for better working. Checking that dll properties, nothing indicate which release number it is, how to know about it ? I'm using latest wine 1.3.4.
2011 May 11
0
Can't log into SSL sites with Mac, Wine
Using any version I have tried, from old 1.1, to new 1.3.19, I cannot use IE7 or IE8 to log into a https site. Not even Google. ie either hangs, or, on many sites, simply says that the password is wrong. I've tried many https sites I log into. I also overrode wininet and winhttp, and crpt, to no avail. Any other ideas? What sort or trace might be useful were I to file a bug report?
2010 Jun 26
0
[PATCH] don't unnecessarily override methods for 1.9.2 in AS::Multibyte::Chars
HI all, A patch of mine from a few weeks ago made String#mb_chars use a proxy class for 1.9.x as well as 1.8. This proxy overrode some methods that were buggy in 1.9.1. but that work in 1.9.2. Since Rails officially now only supports 1.8.7 and 1.9.2, these methods should definitely no longer be overridden. Here''s the LH ticket: https://rails.lighthouseapp.com/projects/8994-ruby-on-rails/tickets/4978-asmultibytechars...
2006 Aug 20
0
Re: Problem with overriding rails accessor methods
On 8/20/06, Paul Corcoran <prcorcoran-Wuw85uim5zDR7s880joybQ@public.gmane.org> wrote: > > > Hello all, > > I just encountered something that is not what I would expect. I > overrode an accessor method in my model class and within this method I > did a "super" call which failed. Of couse my real method would be doing > more but here is the basic code that shows the problem: > > class Word < ActiveRecord::Base > belongs_to :verse > belongs_to :...
2008 Sep 30
0
Help me with this test/mocks issue please!
I have a class called X that writes to disk. For this reason, the class is hard to test. If it wrote to a hash instead, I could test it. So I made a new class called X in test/mocks. In that class, I overrode the methods that wrote to disk. But I didn''t want to copy ALL the methods from the real X into the mock X - only the ones that were being over-ridden. My idea was to subclass the mock X from the real X and only define/ cripple the poisonous file-based methods. However, it doesn''...
2008 Apr 15
1
acts_as_paranoid Unknown key(s): with_deleted
Trying this straight from the README: I have acts_as_paranoid in my model (Course), and added the deleted_at column. This is OK: Course.find_with_deleted(:all) Course.find(:all, :with_deleted => true) gives: ArgumentError: Unknown key(s): with_deleted from /opt/local/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/ active_support/core_ext/hash/keys.rb:49:in `assert_valid_keys''
2004 Sep 28
1
Codecs and negotiations
For some reason I now seem unable to control which codec is chosen. The problem happens with outgoing calls to Stanaphone. Even if I chose disallow=all and allow=ulaw as the only codecs it connects with GSM. Has anyone else got problems with these settings? Any suggestions? As I recalled it, such a setup would not establish a call if the ulaw-codec was not offered by the provider. Stanaphone has
2006 Apr 28
2
Active Record save doesn''t save! (more detail - is this a bug?)
...ounds like the save is happening successfully. Do you know > > > what it''s doing? I''d look at the log file, to see what SQL is happening. > > > If there''s no SQL changing the data, then the problem is with your Ruby code > > > ( e.g. maybe you overrode the "scheduled_end_date=" method or > > > something.) If the SQL is being run, then check the DB- make sure the SQL > > > is successful (though it''s not obvious why it wouldn''t be.) If the data is > > > in the DB, then the problem is with rea...