search for: strict

Displaying 20 results from an estimated 14267 matches for "strict".

2007 Dec 22
0
[LLVMdev] random warnings
...mrs5/net/llvm/llvm/lib/Target/CellSPU/SPUISelDAGToDAG.cpp: In > function ‘bool<unnamed>::isFPS16Immediate(llvm::ConstantFPSDNode*, > short int&)’: > /Volumes/mrs5/net/llvm/llvm/lib/Target/CellSPU/SPUISelDAGToDAG.cpp: > 148: warning: dereferencing type-punned pointer will break strict- > aliasing rules > > > /Volumes/mrs5/net/llvm/llvm/lib/Target/CellSPU/SPUISelLowering.cpp: In > function ‘llvm::SDOperand LowerBUILD_VECTOR(llvm::SDOperand, > llvm::SelectionDAG&)’: > /Volumes/mrs5/net/llvm/llvm/lib/Target/CellSPU/SPUISelLowering.cpp: > 1690: warning: ‘...
2007 Dec 20
2
[LLVMdev] random warnings
...me: /Volumes/mrs5/net/llvm/llvm/lib/Target/CellSPU/SPUISelDAGToDAG.cpp: In function ‘bool<unnamed>::isFPS16Immediate(llvm::ConstantFPSDNode*, short int&)’: /Volumes/mrs5/net/llvm/llvm/lib/Target/CellSPU/SPUISelDAGToDAG.cpp: 148: warning: dereferencing type-punned pointer will break strict- aliasing rules /Volumes/mrs5/net/llvm/llvm/lib/Target/CellSPU/SPUISelLowering.cpp: In function ‘llvm::SDOperand LowerBUILD_VECTOR(llvm::SDOperand, llvm::SelectionDAG&)’: /Volumes/mrs5/net/llvm/llvm/lib/Target/CellSPU/SPUISelLowering.cpp: 1690: warning: ‘val’ may be used uninitialized i...
2019 Jan 05
1
unsorted - suggestion for performance improvement and ALTREP support for POSIXct
...78.742174 10 is.unsorted(x.posixct.sort) 36.966654 37.031975 51.1228686 37.1235380 37.777319 153.270170 10 Since there do not appear to be any tests for is.unsorted() these are some tests to be added for some types. # integer sequence x <- -10L:10L stopifnot(!is.unsorted(x, na.rm = F, strictly = T)) stopifnot(!is.unsorted(x, na.rm = F, strictly = F)) # integer not strictly x <- -10L:10L x[2] <- x[3] stopifnot( is.unsorted(x, na.rm = F, strictly = T)) stopifnot(!is.unsorted(x, na.rm = F, strictly = F)) # integer with NA x <- -10L:10L x[2] <- NA stopifnot(!is.unsorted(x, na.r...
2006 Aug 24
2
SELinux Strict Mode
According to http://www.redhat.com/magazine/006apr05/features/selinux/ there is a package named selinux-policy-strict, which contains a series of rules for correctly handling many situations (software) when using strict policy. Does CentOS have this package available ? If not, can someone make it available through Centosplus or Addon, for example ? This package is not part of the upstream main release, but acco...
2015 Sep 03
2
LLVM and strict SSA
Hello to all LLVM Developers. The LLVM IR is in strict SSA form (i.e. every variable is defined before it is used along every path from the entry to exit point)? According to the documentation, currently the LLVM IR is in the SSA form, but I don't see additional information about *strict* SSA form. The strict SSA form provide opportunities of opti...
2019 May 29
2
[RFC] Add support for options -fp-model= and -fp-speculation= : specify floating point behavior
Intel would like to contribute a patch to implement support for these Intel- and Microsoft -fp options. This message is to describe the options and request feedback from the community. -fp-model=[precise|strict|fast|except[-]] and -fp-speculation=[fast|strict|safe] This contribution would dovetail with the llvm patch "Teach the IRBuilder about constrained fadd and friends" which is under review here, https://reviews.llvm.org/D53157/new/. I have a patch ready to review that works with D53157....
2005 Feb 21
1
is.matrix(), as.matrix, & as(,"matrix")
Under help(matrix) it is written: 'is.matrix' tests if its argument is a (strict) matrix. It is generic: you can write methods to handle specific classes of objects, see InternalMethods. Further down, under "Details", the meaning of "strict" is explained more explicitly: 'is.matrix' returns 'TRUE' if 'x' is a matrix...
2011 Jan 26
1
Wine 1.3.12 build failed on OpenIndiana b148
...ng from version 1.3.12 unable to build Wine. I use /usr/sfw/bin/gcc compiler and gnu ld. For configure script I change only prefix. when i make gmake i get error. ........... gcc -c -I. -I. -I../../include -I../../include -D__WINESRC__ -D_KERNEL32_ -D_NORMALIZE_ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wstrict-prototypes -Wwrite-strings -Wpointer-arith -I/usr/sfw/include -I/usr/X11/include -I/usr/include -g -I/usr/sfw/include -I/usr/X11/include -I/usr/include -g -o actctx.o actctx.c gcc -c -I. -I. -I../../include -I../../include -D__WINESRC__ -D_KERNEL32_...
2009 Jul 22
2
[LLVMdev] proposed new rule for getelementptr
...t; (OFFSET cmp 0), which is perfectly > fine when GEP is assumed to have undefined behavior on overflow, but > is > wrong if GEP is allowed to overflow > with well defined behavior (it wraps). > > Also will can the behavior of GEP be changed depending on llvm-gcc's > -fno-strict-aliasing/-fwrapv/-fno-strict-pointer-overflow flags? Yes. To implement -fwrapv, the front-end can omit any of the no-overflow flags, and choose the wrapping form of GEP, as appropriate. I'm not familiar with -fno-strict-pointer-overflow. Do you mean -fno-strict-overflow? I guess for LLVM that...
2020 Sep 04
4
[RFC libnbd PATCH 0/2] Add knobs for client- vs. server-side validation
...ck-size validation would also make sense, especially given the recent addition of support for querying server minimum block size constraints (although I'd like to finish my work on getting nbdkit to advertise block constraints to make that easier to test...). Eric Blake (2): api: Add nbd_set_strict_mode api: Add STRICT_BOUNDS to nbd_set_strict_mode lib/internal.h | 3 + generator/API.ml | 67 ++++++++++- lib/disconnect.c | 18 +-- lib/handle.c | 16 +++ lib/rw.c | 289 ++++++++++++++++++++++++++++++----------------- tests/errors.c | 61 +++++++++- 6 files changed, 34...
2020 Sep 04
0
[libnbd PATCH 1/2] api: Add nbd_set_strict_mode
...for integration purposes, it can be handy to coerce libnbd into sending something to see how the server will react (whether it be an extension libnbd has not yet learned, or an intentional bad request to test server error handling). Time to make this something the user can control, by adding a new strictness mode. A later patch will add another knob to the mode. --- Question: Should we split this into two knobs? Sending unknown flags is dangerous (in the future, a flag might be defined to alter the on-wire layout expected by either the client or server, and get things out-of-sync or even cause...
2010 Mar 03
2
[LLVMdev] folding x * 0 = 0
...w that would work, but it most likely wouldn't fit with the > design of llvm. If this is important, I'd rather fix the representational > issue. I agree. The option should control the kind of IR generated as Chris outlined in the document. We need to figure out exactly what "strict" means. Is it like "restrict" in C where it only has meaning with respect to other things marked "restrict" or is it more general? Can I reassociate a strict with a relaxed? Is it possible that "strict" will mean different things for different operations? We...
2007 Dec 15
1
[LLVMdev] strict aliasing in SPU land
...net/llvm/llvm/llvm/lib/Target/CellSPU/ SPUISelDAGToDAG.cpp: In function 'bool<unnamed>::isFPS16Immediate(llvm::ConstantFPSDNode*, short int&)': /Volumes/mrs5/net/llvm/llvm/llvm/lib/Target/CellSPU/ SPUISelDAGToDAG.cpp:141: warning: dereferencing type-punned pointer will break strict-aliasing rules In file included from /Volumes/mrs5/net/llvm/llvm/llvm/lib/Target/ CellSPU/SPUISelDAGToDAG.cpp:312: /Volumes/mrs5/net/llvm/llvm/build/lib/Target/CellSPU/ SPUGenDAGISel.inc: In member function 'llvm::SDOperand SPUDAGToDAGISel::Transform_LO16_f32(llvm::SDNode*)': /Volumes/m...
2009 Jul 22
0
[LLVMdev] proposed new rule for getelementptr
...perfectly >> fine when GEP is assumed to have undefined behavior on overflow, but >> is >> wrong if GEP is allowed to overflow >> with well defined behavior (it wraps). >> >> Also will can the behavior of GEP be changed depending on llvm-gcc's >> -fno-strict-aliasing/-fwrapv/-fno-strict-pointer-overflow flags? >> > > Yes. To implement -fwrapv, the front-end can omit any of the no-overflow > flags, and choose the wrapping form of GEP, as appropriate. > > I'm not familiar with -fno-strict-pointer-overflow. Do you mean > -...
2023 Apr 17
1
RTP address learning and timing problem
Hi Joshua, Thank you for that. From the code it kind of looks like STRICT_RTP_LEARN_TIMEOUT is a minimum, not a maximum: if (!ast_sockaddr_isnull(&rtp->strict_rtp_address) && STRICT_RTP_LEARN_TIMEOUT < ast_tvdiff_ms(ast_tvnow(), rtp->rtp_source_learn.start)) { ast_verb(4, "%p -- Strict RTP learning complete - Locking on source address %s\n&quot...
2020 Jan 29
2
Floating point semantic modes
Yes, you’re probably right about this. I was originally thinking of FENV_ACCESS as a fully strict mode of operation, but what you’re suggesting aligns with what Cameron suggested and even some of my own reasoning on other points. So, let me amend my previous proposal to say: STDC FENV_ACCESS {ON|OFF} Patch in progress. I think ON should force the following: except_behavior { strict }...
2010 Mar 03
0
[LLVMdev] folding x * 0 = 0
...kely wouldn't fit with the >> design of llvm. If this is important, I'd rather fix the representational >> issue. > > I agree. The option should control the kind of IR generated as Chris outlined > in the document. > > We need to figure out exactly what "strict" means. Is it like "restrict" in C > where it only has meaning with respect to other things marked "restrict" > or is it more general? Can I reassociate a strict with a relaxed? Is it > possible that "strict" will mean different things for different o...
2013 Apr 11
0
[PATCH 1/2] Use C locale when reading ReplayGain tag
...--- a/src/share/grabbag/replaygain.c +++ b/src/share/grabbag/replaygain.c @@ -606,6 +606,8 @@ static FLAC__bool parse_double_(const FLAC__StreamMetadata_VorbisComment_Entry * FLAC__bool grabbag__replaygain_load_from_vorbiscomment(const FLAC__StreamMetadata *block, FLAC__bool album_mode, FLAC__bool strict, double *reference, double *gain, double *peak) { int reference_offset, gain_offset, peak_offset; + char *saved_locale; + FLAC__bool res = true; FLAC__ASSERT(0 != block); FLAC__ASSERT(0 != reference); @@ -618,20 +620,36 @@ FLAC__bool grabbag__replaygain_load_from_vorbiscomment(const FLAC__...
2016 Dec 14
4
[FileCheck] Fix --strict-whitespace --match-full-lines
Hi, this patch fixes a problem with leading/trailing whitespace matching for FileCheck --strict-whitespace --match-full-lines. Consider a text file: ... $ cat DUMP bla1 bla2 bla3 bla4 bla5 ... with some leading and trailing spaces, made more visible like this: ... $ sed 's/ /_/g' DUMP bla1 bla2 _bla3 bla4_ _bla5_ ... and a FileCheck file CHECK to match DUMP: ... $ cat CHECK //...
2020 Sep 04
0
[libnbd PATCH 2/2] api: Add STRICT_BOUNDS to nbd_set_strict_mode
...istent in that we let it through for read, write, and cache, but blocked it for trim, zero, and block_status. The NBD protocol also has documented rules on handling access beyond EOF, but we are currently wasting traffic to the server when we can give the same answer ourselves. Exposing this as a strictness knob gives the user finer-grained control over what behavior they want. --- Question: should this be split into two flags, one to prevent 0-length requests, and the other to prevent out-of-bounds requests? --- generator/API.ml | 7 ++++ lib/handle.c | 2 +- lib/rw.c | 87 ++++++...