search for: fragile

Displaying 20 results from an estimated 1123 matches for "fragile".

2011 Oct 26
0
[LLVMdev] Proposal: "Fragile" Global References
...that global from being deleted by the dead global pass, but which retains that reference if there are other "strong" references to that global. If the global does get deleted, the "weak" reference is replaced with a NULL pointer. To avoid confusion, I'll use the term "fragile" or "tenuous" instead of "weak" to refer to these kinds of references. This "fragility" is a is not a property of the global, but rather a property of the pointer to that global. An example of a use case for fragile references relates to generating reflection dat...
2017 Feb 23
4
llvm-lit: 2>&1 and FileCheck
...s for output from stdout and stderr using the same FileCheck. The stderr it is checking even comes from -debug, which has an additional buffering layer (circular_raw_ostream). The testing guide [1] does not mention how to test stderr. My questions: 1. Are these tests, e.g. reduction_unrolled.ll fragile? Maybe I am missing something that says that interleaving stdout and stderr (and llvm::dbgs()) is well-defined in llvm-lit. 2. Can -debug (or -debug-only) be used in regression tests at all? I understood them as debugging aids only. I would not like if adding/changing DEBUG(dbgs() << ...); l...
2019 Oct 10
3
[cfe-dev] RFC: End-to-end testing
Philip Reames via cfe-dev <cfe-dev at lists.llvm.org> writes: > A challenge we already have - as in, I've broken these tests and had to > fix them - is that an end to end test which checks either IR or assembly > ends up being extraordinarily fragile.  Completely unrelated profitable > transforms create small differences which cause spurious test failures.  > This is a very real issue today with the few end-to-end clang tests we > have, and I am extremely hesitant to expand those tests without giving > this workflow problem seri...
2004 Feb 15
1
Win32::Process fork fragility
Park, I was just playing around with the Process.fork/wait that you committed. I discovered that it''s rather easy to break with this: require "win32/process" include Win32 Dir.chdir ".." # This causes the problem pid = Win32::Process.fork if pid == 0 puts "In the child" exit else puts "In the parent" end Win32::Process.wait(pid) I think
2013 Oct 22
0
[PATCH 2/3] x86: tss: Eliminate fragile calculation of TSS segment limit
__set_tss_desc has a complex calculation of the TSS segment limit, duplicating the quirky details of the I/O bitmap array length, and requiring a complex comment to explain. Replace that calculation with a simpler one based on the offsetof the "stack" field that follows the array. That then removes the last use of IO_BITMAP_OFFSET, so delete it. Signed-off-by: Josh Triplett <josh
2013 Oct 30
0
[PATCH 2/3] x86: tss: Eliminate fragile calculation of TSS segment limit
On 10/30/2013 03:22 PM, Kees Cook wrote: >> >> - /* >> - * sizeof(unsigned long) coming from an extra "long" at the end >> - * of the iobitmap. See tss_struct definition in processor.h >> - * >> - * -1? seg base+limit should be pointing to the address of the >> - * last valid byte > > I think it
2014 Mar 11
0
[PATCHv2 2/3] x86: tss: Eliminate fragile calculation of TSS segment limit
__set_tss_desc has a complex calculation of the TSS segment limit, duplicating the quirky details of the I/O bitmap array length, and requiring a complex comment to explain. Replace that calculation with a simpler one based on the offsetof the "stack" field that follows the array. That then removes the last use of IO_BITMAP_OFFSET, so delete it. Signed-off-by: Josh Triplett <josh
2015 Aug 27
2
Disabling host key checking on LAN
...e interplay of Host matching, Hostname directives, hostname canonicalisation*, proxy commands, hosts having multiple addresses, IPv4/IPv6 and when the addresses are actually resolved and available to the parser. I've not figured out a clean way to do it that isn't also complex and probably fragile to implement. -d * that was my contribution to the problem :/
2019 Sep 21
2
Re: [PATCH v4 07/12] v2v: nbdkit: Add the readahead filter unconditionally if it is available.
On Fri, Sep 20, 2019 at 09:33:06AM -0500, Eric Blake wrote: > Checking for file existence for filters is somewhat less fragile than > for plugins, because all filters are built in-tree (we've specifically > documented that we don't provide ABI guarantees for filters, so the only > sane way to use a filter is to compile it at the same time/version as > the nbdkit binary that will load it). But you do ha...
2020 Feb 05
3
Balloon pressuring page cache
...t first syncs the bitmap from KVM, which includes the one set in step 3. > Then the modified page gets sent. So, if you run a TCG guest and use it with free page reporting, the race is possible? So the correctness depends on two dirty bitmaps in the hypervisor and how they interact. wow this is fragile. Thanks for the info :) -- Thanks, David / dhildenb
2006 Aug 30
4
Users voting
...e to just bang on the link -- I''d prefer to limit it to one vote per day, for example. I could record the fact that they''ve voted in the session, but I''d really rather not have sessions for the portions of the site where voting is relevant. This idea also seems fairly fragile. So far, the best plan I have is to add a "votes" table that records an ip address and a time stamp. Whenever a "vote" link is hit, the controller could find and delete all records over 24 hous old, check the current ip address against those left in the table, then record th...
2020 Feb 05
3
Balloon pressuring page cache
...t first syncs the bitmap from KVM, which includes the one set in step 3. > Then the modified page gets sent. So, if you run a TCG guest and use it with free page reporting, the race is possible? So the correctness depends on two dirty bitmaps in the hypervisor and how they interact. wow this is fragile. Thanks for the info :) -- Thanks, David / dhildenb
2008 Jun 19
1
Setting the xlab for 'the other' (upper) X axis?
...ar(mar=c(5.1, 4.1, 5.1, 2.1)) plot(rnorm(10), rnorm(10), xlab="the lower one") axis(3, xlab="the upper one????") There are various other ways that could be expected to work, but hopefully the above is clear enough to show you what I want to achieve. The following works, but is fragile (works without resizing the window of an X11 device). title(xlab="the upper one", line=-28) Is there any better way to do it other than tinkering with 'line='? Here is the same code as above but with comments just for reference. # Give upper and lower margins an equal size p...
2010 Aug 04
1
Problem using R and Beamer...
...using beamer and [R]. I can Sweave the file; however, when I run pdflatex on the file i get the following error: ! FancyVerb Error: Extraneous input `> a = 123450 > b = -0.69 \end {Sinput} \end {Schunk} \end { beamer at frameslide}\ifbeamer at twoscreenstext \beamer at dosecondscreennow {{fragile} \frametitle {Numbers} \textbf {Numbers} can be represented in a variety of dif ferent formats. For example the number $1.2345\times 10^5$ is written as 1.234e +05 in \texttt {R}. \begin {Schunk} \begin {Sinput} > a = 123450 > b = -0.69 \e nd {Sinput} \end {Schunk} }\fi \ifbeamer at anothers...
2013 Feb 09
1
Swaeve, Beamer and \alt
Hi, I am having trouble getting \alt (or \altenv) to work with Schunk/Sinput and was wondering if anybody had had success? With the slide \begin{frame}[fragile]\frametitle{Basic R} \alt<2>{ <<echo=TRUE>>= 2+2 @ }{ <<echo=TRUE, eval=FALSE>>= 2+2 @ } \end{frame} I get the error message: ! FancyVerb Error: Extraneous input `> 2+2 \end {Sinput} \end {Schunk} ' between \begin{Sinput}[ <key=value>] and line end...
2016 Jun 30
0
Git Move: GitHub+modules proposal
> That makes it fragile, and that’s why I disagree with your “90% done” assessment. > What if the service behing the hook is down for a few days? In the long-term view, a pretty trivial catch-up script ought to be able to synthesize a sane history after any amount of down-time. People could even run it locally for the...
2016 Mar 08
1
Module Versioning... and other things
...antee (or more strict release versioning). But I may be wrong and still not get the problem completely. > Yes, I get that you don't like the process because "It's not what Syslinux > was designed for", and that there does exist a few elements that I would > qualify as fragile in that process, which I am well aware of, and which I > _deliberately_ chose not to handle you may consider as relying on luck. But > you have to realize that I did consider the likelihood of these "fragile" > parts being triggered during design (which was based in part from...
2013 Oct 31
1
[PATCH 2/3] x86: tss: Eliminate fragile calculation of TSS segment limit
Hi Josh, On Tue, Oct 22, 2013, at 3:34, Josh Triplett wrote: > __set_tss_desc has a complex calculation of the TSS segment limit, > duplicating the quirky details of the I/O bitmap array length, and > requiring a complex comment to explain. Replace that calculation with a > simpler one based on the offsetof the "stack" field that follows the > array. > > That then
2013 Oct 31
1
[PATCH 2/3] x86: tss: Eliminate fragile calculation of TSS segment limit
Hi Josh, On Tue, Oct 22, 2013, at 3:34, Josh Triplett wrote: > __set_tss_desc has a complex calculation of the TSS segment limit, > duplicating the quirky details of the I/O bitmap array length, and > requiring a complex comment to explain. Replace that calculation with a > simpler one based on the offsetof the "stack" field that follows the > array. > > That then
2004 Jul 20
3
1.0.0-test28 Problem with INDEX
...ot.conf (ignore linewrap) default_mail_env = mbox:%h/IMAP/:INBOX=%h/.email:INDEX=/var/cache/dovecot/%n The INBOX indexes are being built correctly in /var/cache/dovecot, but all other indexes for folders are still being built in the user's home directory. I had it working once - but it seems fragile - almost as if the config parser is sensitive to context??? Sorry - seems vague, but I can't pin this down reliably. Anyone else had problems? Cheers Tim -- Tim J Southerwood Senior Programmer CSG, Dept of Computing, Imperial College, London