search for: uglier

Displaying 20 results from an estimated 185 matches for "uglier".

2012 Feb 08
3
[LLVMdev] Static ctors in llvm::Attribute
...uot; > declarations (ParameterOnly, FunctionOnly, VarArgsIncompatible, > and MutuallyIncompatible) still require a global constructor. > OMG, yes, indeed. > You > can split the values into separate 'const uint64_t' declarations and > use those; it makes the header even uglier, but it works. > > like this (see the new patch)? Yes, that's great, thanks! John. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120207/b5f98a3f/attachment.html>
2012 Feb 07
2
[LLVMdev] Static ctors in llvm::Attribute
...a constant expression in C++03, so the "set" declarations (ParameterOnly, FunctionOnly, VarArgsIncompatible, and MutuallyIncompatible) still require a global constructor. You can split the values into separate 'const uint64_t' declarations and use those; it makes the header even uglier, but it works. John.
2012 Feb 08
0
[LLVMdev] Static ctors in llvm::Attribute
...ParameterOnly, FunctionOnly, VarArgsIncompatible, >> and MutuallyIncompatible) still require a global constructor. > > OMG, yes, indeed. > >> You >> can split the values into separate 'const uint64_t' declarations and >> use those; it makes the header even uglier, but it works. >> > > like this (see the new patch)? > > > Yes, that's great, thanks! > Shall I commit? --kcc > > John. > > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachm...
2005 Apr 27
2
Changes to HOWTO and maybe Samba Guide for Solaris patches
...rhaps there are others as well. In section 39.6.2 "Winbind on Solaris 9" (p. 503), Solaris 9 users are directed to download a patch from the following URL: http://sunsolve.sun.com/pub-cgi/findPatch.pl?patchId=112960;rev=14 But the Sun site redirects users to a newer, longer, mch uglier URL: http://sunsolve.sun.com/search/advsearch.do?collection=PATCH&type=collec tions&max=50&language=en&queryKey5=112960;rev=14&toDocument=yes (Yeah, that's all one line.) I just thought I should mention it, in case there are other specific URLs for Sun web pages in t...
2006 Feb 13
1
hackish error handling
...ay, but was under a timeline crunch to get it done by today so I swallowed my pride and hacked it up. But I''ve got an extra day now and would really love it if someone could point me in the right direction to fixing these mistakes. Everything i''m trying only seems to make the code uglier and uglier. def label require ''fileutils'' require ''xmlsimple'' @submitted = params[:FedExOrder] go = FedExOrder.new(params[:FedExOrder]) go.save @fedex = Shipping::FedEx.new( :name => @submitted[''name''],...
2008 Apr 27
0
[LLVMdev] Two new 'llvmnotes'
...'s > for the index and only allows one index. Aggregate get/set take > constants and are variadic. Forbidding variable indices for arrays would seem to rather reduce their utility (precisely to that of a homogenous struct). Granted, lowering makes updating an indexed value much uglier, but it would seem to be an already-solved problem for vector lowering. Is it completely impractical to use the same rule as GEP? — Gordon
2008 Apr 27
3
[LLVMdev] Two new 'llvmnotes'
On Apr 27, 2008, at 12:49 PM, Nick Lewycky wrote: > Chris Lattner wrote: >> On Apr 27, 2008, at 10:58 AM, Talin wrote: >> >>> I would certainly make use of this in my frontend. >>> >>> I suggest the names "getfield" and "setfield" for the two >>> operations, >>> >> >> I agree that
2006 May 25
13
functions calling functions
I think I may be missing a fundamental concept I hope someone can help me with. I have functions that won''t call other functions. Particularly after an Ajax request. In the following object the ajax request onComplete calls the ajaxFetched function successfully. ajaxFetched tries to call function2 but function2 does not execute. Any ideas or workarounds? thanks Kevin o =
2006 Jan 19
7
bug in has_many count?
I can submit a patch, but wanted to confirm I''m looking at this right... The docs indicate that if you specify a has_many association with :finder_sql, but no :counter_sql, it constructs the appropriate counter sql by substituting the SELECT clause. But has_many_association.rb doesn''t seem to do that -- it just passes Base#count_by_sql the finder_sql, which doesn''t
2008 Jul 23
3
[patch] mount add move option
...> > > klibc mount has only short options thus uses the following syntax > > Frankly, it seems like a klibc problem... well not directly, but right klibc-utils should have proper syntax. initramfs-tools currently uses belows syntax. before we unmounted and remounted, which is much uglier. or even better have the util-linux-ng mount compiled against klibc, haven't looked into that project yet. a hook script (live-initramfs) seems to add util-linux-ng mount for cifs support and thus belows error came to sight. > > > to move a mounted tree: > > > mount -o mov...
2018 May 03
2
[RFC v3 4/5] virtio_ring: add event idx support in packed ring
...sing if (wrap_counter != vq->wrap_counter). >> Treat is differenty and avoid casts. >> >>> And that would be an ugly hack.. >>> >>> Best regards, >>> Tiwei Bie >> I consider casts and huge numbers with two's complement >> games even uglier. > The dependency on two's complement game is introduced > since the split ring. > > In packed ring, old is calculated via: > > old = vq->next_avail_idx - vq->num_added; > > In split ring, old is calculated via: > > old = vq->avail_idx_shadow - vq->num_...
2018 May 03
2
[RFC v3 4/5] virtio_ring: add event idx support in packed ring
...sing if (wrap_counter != vq->wrap_counter). >> Treat is differenty and avoid casts. >> >>> And that would be an ugly hack.. >>> >>> Best regards, >>> Tiwei Bie >> I consider casts and huge numbers with two's complement >> games even uglier. > The dependency on two's complement game is introduced > since the split ring. > > In packed ring, old is calculated via: > > old = vq->next_avail_idx - vq->num_added; > > In split ring, old is calculated via: > > old = vq->avail_idx_shadow - vq->num_...
2009 Oct 14
1
[LLVMdev] fudging the top-level Makefile
...de both of the includes in the top-level Makefile, then I'm obliged to make the combined Makefile + included GNUmakefile coexist. I think it could be done, but I'd rather not. :-) The alternative is to wrap the entire body of the top-level Makefile in a conditional. IMHO this is uglier and more fragile than my original proposal, but it's still workable: -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: llvmCore.diffs.txt URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20091014/98278eb6/attachment.txt> --...
2012 Jan 05
1
[LLVMdev] Non-Chain Chains
...ant to add a dependence from the add to the call. I was going to do something like this: Chain = TokenFactor(load chain, r2) LowerCallTo(Chain, ...) Is that legal? If not, is there any way to express this dependence? I could use flag/glue nodes in SUnits but it somehow seems uglier. For one thing, we don't have the original instruction order once we've created SDNodes so I can't imagine how I'd find the right SUnit to glue to the call. Thanks! -Dave
2012 Feb 08
0
[LLVMdev] Static ctors in llvm::Attribute
...set" > declarations (ParameterOnly, FunctionOnly, VarArgsIncompatible, > and MutuallyIncompatible) still require a global constructor. OMG, yes, indeed. > You > can split the values into separate 'const uint64_t' declarations and > use those; it makes the header even uglier, but it works. > like this (see the new patch)? --kcc > > John. > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120207/d46ee471/attachment.html> -------------- next part --------------...
2012 Feb 08
1
[LLVMdev] Static ctors in llvm::Attribute
...ns (ParameterOnly, FunctionOnly, VarArgsIncompatible, >> and MutuallyIncompatible) still require a global constructor. >> OMG, yes, indeed. >> You >> can split the values into separate 'const uint64_t' declarations and >> use those; it makes the header even uglier, but it works. >> >> like this (see the new patch)? > > Yes, that's great, thanks! > > Shall I commit? Thanks Kostya! -Chris -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/2...
2009 Mar 11
1
NoMethodError for select_tag
...rtists.collect {|art| [art.name, art.id]}, @album.artist_id)) %> (Old artist info:<%= @album.artist_old%>) gives undefined method `select_tag'' for #<ActionView::Helpers::FormBuilder: 0x21f86f8> however, when I just do a select, I can get a drop down menu that is just much uglier <option value =3>Coldplay</option> ect... Any suggestions? --~--~---------~--~----~------------~-------~--~----~ 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-/JYP...
2012 Sep 15
3
New C++ file encode example
...First the full source, if this one arrives I'll reply with the patch. Ok, so I ended up creating 2 versions of this. The first one is what I mentioned earlier, pretty much a line-for-line translation of the original example. The c++-style casts made the (already ugly) lines with casts even uglier by the way... -------------- next part -------------- A non-text attachment was scrubbed... Name: main_ver1.cpp Type: text/x-c++src Size: 6065 bytes Desc: not available Url : http://lists.xiph.org/pipermail/flac-dev/attachments/20120915/fff4ee63/attachment.cpp
2016 Jul 26
1
[PATCH] daemon: lvm: change the separator character to '\r'
...b7eb9b9b06c8b4dfef2ef9f381ab19 changed the separator to ':', although this creates parsing issues when there are fields with colons (for example lv_tags=imgbased:pool). Change once more the separator, but this time using a non-printable character such as '\r': while it will produce uglier debug logs, this should greatly reduce the possibilities of conflicts with texts of metadata. --- generator/daemon.ml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/generator/daemon.ml b/generator/daemon.ml index d8dc9cf..1d79126 100644 --- a/generator/daemon.ml +++ b/gene...
2014 Sep 03
1
[PATCH v4 0/4] virtio: Clean up scatterlists and use the DMA API
On Tue, 2014-09-02 at 17:32 -0700, Andy Lutomirski wrote: > > I agree *except* that implementing it will be a real PITA and (I > think) can't be done without changing code in arch/. My patches plus > an ifdef powerpc will be functionally equivalent, just uglier. So for powerpc, it's a 2 liner inside virtio-pci, but yes, it might be more of a problem for s390, I'm not too sure what they do in that area. > Bigger quirk: on a standard s390 virtio guest configuration, > dma_map_single etc will fail to link. Yuck > I tried this in v1 of...