similar to: longs

Displaying 20 results from an estimated 1000 matches similar to: "longs"

2011 Dec 26
1
Finding all triangles in a graph
I have the adjacency matrix of a graph. I'm trying to find all triangles (embeddings of C_3). This doesn't work: index = function(l) seq(l)[l] pairs = do.call(rbind, lapply(seq(nrow(adj)), function(x) cbind(x, index(adj[x,])))) triangles = do.call(rbind, apply(pairs, 1, function(x) cbind(x, index(adj[x[1],] & adj[x[2],])))) I'm absolutely certain I've gone down the wrong path
2013 Nov 25
2
[LLVMdev] How do downcast signed integers?
I was looking at "trunc" to downcast a signed integer, say sint32 to sint16, but it seems to handle unsigned integers only. How do you downcast a signed integer? P.S. This question is for my "Mapping High-Level Constructs to LLVM IR" document :-) -- Mikael -------------- next part -------------- An HTML attachment was scrubbed... URL:
2011 Jul 26
3
[LLVMdev] Spills and values present in both registers & stack
One piece of code I'm writing has a lot of intermediates, and I'm trying to optimize down the number of memory accesses. Here's a snippet from the start of the function, where I think there is some low-hanging fruit: # BB#0: pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx movq %rdx, %rcx movq %rdi, -16(%rsp) # 8-byte Spill movq (%rsi), %rdi movq
2011 Dec 23
1
Help transforming a dist
I'd like to convert a dist into a table/matrix/thingy of the form: A B value A C value B C value (assuming the dist was over 3 names). Is there a way to do this without using a for loop? -- Taral <taralx at gmail.com> "Please let me know if there's any further trouble I can give you." ? ? -- Unknown
2000 Aug 29
5
Optimization and doubles vs. floats
I saw some mail go by a bit ago about doubles-vs-floats, but I seem to have lost it. I'm interested in rewriting the mdct code using Altivec on MacOS X. Altivec doesn't support doubles, though -- the only floating point vector type is single precision floats. Vorbis currently has doubles everywhere -- is this really necessary? Doubles are supposedly faster than floats in the PPC
2013 Nov 25
0
[LLVMdev] How do downcast signed integers?
Hello > I was looking at "trunc" to downcast a signed integer, say sint32 to sint16, > but it seems to handle unsigned integers only. No. In twos-complement notation (which LLVM assumes) there no difference between signed and unsigned truncation - you just throw out the spare sign bits and that's all. Please note that that the "numbers" in LLVM IR is neither signed
2017 Dec 01
5
time foo
Gordon Messmer wrote: > On 12/01/2017 08:49 AM, hw wrote: >> # time foo >> real 43m39.841s >> user 15m31.109s >> sys 0m44.136s >> >> >> Almost 30 minutes have disappeared, but it actually took about that long, >> so what happened? > > > I may misunderstand your question, but > > "time" is provided by the bash
2000 Oct 15
3
Re(2): Mime Type and Ogg (More)
Hi, I don't really know the details of the discussion, but I'd like to present this issue from a user-oriented perspective, and from the perspective of how Nautilus wants to use data files. In brief, Nautilus makes the assumption that the mime type is sufficient to pick the right applicatiob or pluggable component to view/edit a particular content type. This is quickly coming to be the
2011 Jul 28
0
[LLVMdev] Spills and values present in both registers & stack
On Tue, Jul 26, 2011 at 11:35 AM, Taral <taralx at gmail.com> wrote: > > One piece of code I'm writing has a lot of intermediates, and I'm > trying to optimize down the number of memory accesses. Here's a > snippet from the start of the function, where I think there is some > low-hanging fruit: > > # BB#0: >        pushq   %rbp >        pushq   %r15
2018 Feb 04
2
Very slow rsync to gluster volume UNLESS `ls` or `find` scan dir on gluster volume first
An update, and a very interesting one! After I started stracing rsync, all I could see was lstat calls, quite slow ones, over and over, which is expected. For example: lstat("uploads/2016/10/nexus2cee_DSC05339_thumb-161x107.jpg", {st_mode=S_IFREG|0664, st_size=4043, ...}) = 0 I googled around and found https://gist.github.com/nh2/1836415489e2132cf85ed3832105fcc1, which is seeing this
2001 Mar 22
5
Major network slowdown today... Samba the cause?
Today, our network has been excruciatingly slow. I checked the log.nmb file, and I noticed that today, the Samba PDC has been losing its "local master browser" status every 2 minutes or so, for about 15 seconds, to a Win9x client. Before today, this also happened, but only a few times each day. Network configuration: 1. All clients are Win9x. 2. Server is SuSE 6.1, with Samba 2.0.5.
2017 Apr 14
5
Saving Compile Time in InstCombine
I’m taking a first look at InstCombine performance. I picked up the caching patch and ran a few experiments on one of our larger C++ apps. The size of the *.0.2.internalize.bc no-debug IR is ~ 30M. Here are my observations so far. Interestingly, caching produced a slight but measurable performance degradation of -O3 compile time. InstCombine takes about 35% of total execution time, of which ~20%
2012 May 03
2
How can I make Wine run my programs faster?
Running Mac OS 10.5.8 Wine version 1.2.3 I'm trying to play Civ II, and it plays, just everything moves excruciatingly slow - even for Civ. How can I speed it up?
2004 Feb 22
1
videolan
Everyone might be interested in knowing that videolan's cvs tree, combined with the excruciatingly simple patch attatched, is capable of playing back chained ogg/theora+vorbis streams. (encoded with example cvs). For example, icecast video. videolan has decided to parse vorbis, speex, theora headers with its own code. There's an ogg demuxer (the file I patched) and the codecs are each
2008 Jan 29
1
wxruby and ActiveRecord
Hello, i''m running wxruby 1.9.4, and i show my ActiveRecord data in a grid (with GridTableBase) (a grid with 30 columns) >From my base Window, i open and close the GridWindow. After several openings and closes, this message appears: c:/Programme/ruby/lib/ruby/gems/1.8/gems/activerecord-1.15.3/lib/active_ record/base.rb:1860: [BUG] Segmentation fault ruby 1.8.6 (2007-03-13)
2015 Jun 03
5
[PATCH 1/1] Updated opus_types.h to correctly support 8 and 64 bit types.
- Replaced blanket #define of 8 & 64 bit types with typedefs for each platform to match 16 & 32 bit types. - Updated existing typedefs for each platform to fix odd values and improve consistency. --- include/opus_types.h | 125 ++++++++++++++++++++++++++++++++++++++++----------- 1 file changed, 100 insertions(+), 25 deletions(-) diff --git a/include/opus_types.h
2016 Dec 05
4
Very very slow SAMBA sharing on Ubuntu (with StorjShare-CLI)
On Mon, 5 Dec 2016 00:41:35 -0800 ToddAndMargo via samba <samba at lists.samba.org> wrote: > On 12/04/2016 03:37 AM, Bernard Chabot via samba wrote: > > I’m using a decentralized data storage application named > > StorjShare-CLI : https://github.com/Storj/storjshare-cli > > > > This application store data into « nodes ». StorjShare-CLI can run > > 1 or
2013 May 08
1
Is nss_winbind required?
Hi all, Is it a necessity to use the winbind nss module? I have run a few tests and having it enabled creates a massive bottleneck. It's not nss_winbind itself that is the bottleneck but something in the background (I'm guessing uid/rid->username code). If I disable winbind in nsswitch.conf what impact will it have? Will the system continue to work? eg: #nss_winbind enabled on
2005 Mar 31
6
Text in boxes for regular web pages
I have to say... since it''s bugged me _many_ times, that i *hate* these text boxes with the sliders that are being used to display text (for instance, on Rails documentation pages... but it''s not just Rails). Very often you can''t really read the text because it goes past the right border of the box. So you have to go to the bottom of the box to move the slider to
2017 Apr 14
3
Saving Compile Time in InstCombine
> On Apr 13, 2017, at 7:43 PM, Davide Italiano <davide at freebsd.org> wrote: > > On Thu, Apr 13, 2017 at 5:18 PM, Mikulin, Dmitry > <dmitry.mikulin at sony.com> wrote: >> I’m taking a first look at InstCombine performance. I picked up the caching patch and ran a few experiments on one of our larger C++ apps. The size of the *.0.2.internalize.bc no-debug IR is ~ 30M.