Displaying 20 results from an estimated 60 matches for "isvalid".
Did you mean:
invalid
2017 Jun 27
1
Wrong function when import from module using get
...I have 3 modules:
* AnalysisA
* AnalysisB
* AnalysisC
I load all modules at the beginning from list of modules:
analyses <- list('AnalysisA', 'AnalysisB', 'AnalysisC')
for (module in analyses) {
library(module, character.only = TRUE)
}
and I want to add a function isValid to each module, but I've added it only
for AnalysisB. When I run this code:
# value <- <selected by user>
flags <- sapply(analyses, function(module) {
namespace <- getNamespace(module)
tryCatch({
isValid <- get("isValid", namespace)
isValid(...
2005 Jan 13
2
[LLVMdev] Win32/Path.cpp - isValid method has a bug
Hi,
I think the Win32/Path.cpp - especially method isValid has a bug:
-----------------
...
// A file or directory name may not end in a period.
if (path[len-1] == '.')
return false;
if (len >= 2 && path[len-2] == '.' && path[len-1] == '/')
return false;
...
-----------------
This is valid on window...
2003 Dec 31
3
Whoo Hoo! I got a working Windows Build of wxRuby
...problem is that each assert generates both a
console log line *and* pop-up dialog box).
Curt
E:\Dev\RubyDev\wxruby\samples\minimal>
E:\Dev\RubyDev\wxruby\samples\minimal>ruby nothing.rb
08:51:44: Debug: E:\Dev\RubyDev\wx/include\wx/datetime.h(1445): assert
"t1.IsVal
id() && t2.IsValid()" failed: invalid wxDateTime
08:51:53: Debug: E:\Dev\RubyDev\wx\include\wx/datetime.inl(136): assert
"IsValid
()" failed: invalid wxDateTime
08:51:54: Debug: E:\Dev\RubyDev\wx\include\wx/datetime.inl(136): assert
"IsValid
()" failed: invalid wxDateTime
E:\Dev\RubyDev\wxr...
2005 Jan 14
0
[LLVMdev] Win32/Path.cpp - isValid method has a bug
Well, technically speaking, I am following the rules as defined in the
MSDN Library. Too bad those rules ignore the existance of "." and ".." :(
Anyway, fixed.
Henrik Bach wrote:
> Hi,
>
> I think the Win32/Path.cpp - especially method isValid has a bug:
> -----------------
> ...
> // A file or directory name may not end in a period.
> if (path[len-1] == '.')
> return false;
> if (len >= 2 && path[len-2] == '.' && path[len-1] == '/')
> return false;
> ...
> --...
2006 Feb 07
2
Objects and Properties
...*********** */
fields = new Array();
fields[pFieldName] = new Field(pFieldName, name);
/* ***************** */
Later on when it''s validating this field it does something like this:
/* ***************** */
for(var currentField in fields) {
if(!fields[currentField].validate()) {
isValid = false;
}
}
/* ***************** */
The previous developer used a for in loop to go through all the fields
in his array and run the validate method on each one... The problem is
there is a ton of extra methods in the object because prototype adds
all that ennumerable goodness to new Array...
2006 May 06
0
[LLVMdev] Still Trying to Build on MINGW
...g problems with this:
>
> llvm-ar rc ./libgcc.a libgcc/./_muldi3.o <and-lots-more-.o-files...>
> C:\msys\1.0\home\llvm_home\install\bin\llvm-ar.exe: <invalid>: path is not valid
>
I've tracked this down in the debugger. It is indeed a bug. The problem is
that Path::isValid() will reject a string containing "<" and ">" on
Windows.
Note that this is not the case on Unix -- compare the implementation of
Path::isValid() in .../Unix/Path.inc to the one in .../Win32/Path.inc.
Probably the right place to make the fix is in
ArchiveMember::ArchiveM...
2006 May 06
4
[LLVMdev] Still Trying to Build on MINGW
1. I got the tools to build. Yay!
2. I got past all the annoying trouble with not finding header files. Yay!
Now I'm having problems with this:
llvm-ar rc ./libgcc.a libgcc/./_muldi3.o <and-lots-more-.o-files...>
C:\msys\1.0\home\llvm_home\install\bin\llvm-ar.exe: <invalid>: path is not valid
I'm investigating this with the debugger and so far I've learned that
2004 Nov 08
2
[LLVMdev] Dejagnu Support Added (+ problems with build LLVM at FreeBSD)
...cially those running nightly testers) to give
> Dejagnu a try.
I will do.
But last 2 days (after
http://mail.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20041101/020279.html )
LLVM broken at FreeBSD:
In file included from Path.cpp:27:
platform/Path.cpp:26: error: no `bool llvm::sys::Path::isvalid() const'
member function declared in class `llvm::sys::Path'
gmake[1]: ***
[/usr/home/wanderer/pkg/build/llvm/night/build/llvm/lib/System/Debug/Path.o]
Error 1
and requare patch for llvm/lib/System/FreeBSD/Path.cpp :
-Path::isvalid() const {
+Path::isValid() const {
Vladimir
2006 May 06
2
[LLVMdev] Still Trying to Build on MINGW
...; > llvm-ar rc ./libgcc.a libgcc/./_muldi3.o <and-lots-more-.o-files...>
> > C:\msys\1.0\home\llvm_home\install\bin\llvm-ar.exe: <invalid>: path is not valid
> >
>
> I've tracked this down in the debugger. It is indeed a bug. The problem is
> that Path::isValid() will reject a string containing "<" and ">" on
> Windows.
>
> Note that this is not the case on Unix -- compare the implementation of
> Path::isValid() in .../Unix/Path.inc to the one in .../Win32/Path.inc.
>
> Probably the right place to make the fix...
2006 Aug 14
2
Plugins: Validation Reflection and Client-Side Validation
...ok at the code for
<tt>Form.Validator.Validators#exactly</tt> and
<tt>Form.Validator.Validators#different</tt>.
== Notifying Users of Validation Results
Form.Validator.install(''person_form'', {
onElementStatusChange: {
person_last_name: function(isValid) {
if (!isValid) alert(this.value + " is not a valid last name.");
},
},
onFormStatusChange: function(isValid) {
if (!isValid) alert("Your form is not valid!");
}
});
If you provide your own +onElementStatusChange+ function for reporting
a status chan...
2006 May 06
2
[LLVMdev] Still Trying to Build on MINGW
....o-files...>
>>>> C:\msys\1.0\home\llvm_home\install\bin\llvm-ar.exe: <invalid>:
>>>> path is not valid
>>>>
>>>
>>> I've tracked this down in the debugger. It is indeed a bug. The
>>> problem is
>>> that Path::isValid() will reject a string containing "<" and ">" on
>>> Windows.
>>>
>>> Note that this is not the case on Unix -- compare the implementation of
>>> Path::isValid() in .../Unix/Path.inc to the one in .../Win32/Path.inc.
>>>
>>...
2003 Oct 27
5
Windows Build - Down to Run Time Errors
...y console output tonight to see if anyone
has any thoughts before I tackle this tomorrow.
I''m running the same app "minimal.rb"
E:\Dev\RubyDev\wxruby\samples\minimal>ruby minimal.rb
18:24:27: Debug: E:\Dev\RubyDev\wxWindows-2.4.1/include\wx/datetime.h(1445):
ass
ert "t1.IsValid() && t2.IsValid()" failed: invalid wxDateTime
minimal.rb:52:in `OnInit'': uninitialized constant RbApp::Point (NameError)
from minimal.rb:59:in `initialize''
from minimal.rb:59:in `new''
from minimal.rb:59
E:\Dev\RubyDev\wxruby\samples\mi...
2006 May 06
0
[LLVMdev] Still Trying to Build on MINGW
...rc ./libgcc.a libgcc/./_muldi3.o <and-lots-more-.o-files...>
>>> C:\msys\1.0\home\llvm_home\install\bin\llvm-ar.exe: <invalid>: path is not valid
>>>
>>
>> I've tracked this down in the debugger. It is indeed a bug. The problem is
>> that Path::isValid() will reject a string containing "<" and ">" on
>> Windows.
>>
>> Note that this is not the case on Unix -- compare the implementation of
>> Path::isValid() in .../Unix/Path.inc to the one in .../Win32/Path.inc.
>>
>> Probably the right...
2006 Jul 28
3
ActionWebService Struct member name including ''-''
...(eval):1: parse error, unexpected ''-'', expecting ''\n'' or '';''
def remote-ip; @remote-ip; end
I can make the call OK (as below)
server = XMLRPC::Client.new2("http://127.0.0.1:3001/api/checkNumber")
result = server.call("IsValid",
{:username=>"user",:password=>"pass",:"remote-ip"=>request.remote_ip},@formattedNumber)
You will notice I have to use :"remote-ip" instead of :remote-ip. This
is because of the ''-''. The XML is sent perfectly fine and I ca...
2006 May 07
0
[LLVMdev] Still Trying to Build on MINGW
...t;> C:\msys\1.0\home\llvm_home\install\bin\llvm-ar.exe: <invalid>: path is
>>>>> not valid
>>>>>
>>>>
>>>> I've tracked this down in the debugger. It is indeed a bug. The problem
>>>> is
>>>> that Path::isValid() will reject a string containing "<" and ">" on
>>>> Windows.
>>>>
>>>> Note that this is not the case on Unix -- compare the implementation of
>>>> Path::isValid() in .../Unix/Path.inc to the one in .../Win32/Path.inc.
>...
2005 Jan 30
1
[LLVMdev] Patch for Path.inc on mingw
Hi,
I would like this patch for Path.inc to be accepted.
I cannot tell, why the win32 version of isValid() method fails when issuing
a correct path on the mingw platform. This is especially annoying when
configuring the cfrontend, because we get this misindicating error:
'checking for sin in -lm... configure: error: Link tests are not allowed
after
GCC_NO_EXECUTABLES.' And it has nothing t...
2006 Jul 24
1
XMLRPC WebService and Structs
...I documentation and I am trying to
reverse engineer a web service out of it...
One of the webservice calls returns the following response which I
need to consume.
Sending >>
<?xml version="1.0" encoding="UTF-8"?>
<methodCall>
<methodName>MyAPI.IsValid</methodName>
<params>
<param>
<value>
<struct>
<member>
<name>username</name>
<value><string><!-- contract username --></
string></valu...
2012 Aug 30
2
[LLVMdev] MC Register mapping question (MCRegUnitIterator )
The code in collectRanges() does:
// Collect ranges for register units. These live ranges are computed on
// demand, so just skip any that haven't been computed yet.
if (TargetRegisterInfo::isPhysicalRegister(Reg)) {
for (MCRegUnitIterator Units(Reg, &TRI); Units.isValid(); ++Units)
if (LiveInterval *LI = LIS.getCachedRegUnit(*Units))
collectRanges(MO, LI, Entering, Internal, Exiting, OldIdx);
} else {
// Collect ranges for individual virtual registers.
collectRanges(MO, &LIS.getInterval(Reg),
En...
2012 Aug 30
5
Ceph + RBD + Xen: Complete collapse -> Network issue in domU / Bad data for OSD / OOM Kill
...and I mean a _lot_ like
dozens per seconds.
On the DomU running the OSD, I see in the dmesg a bunch of:
"net eth0: rx->offset: 0, size: 4294967295"
And in the OSD log itself I see a lot of :
2012-08-30 13:26:48.683948 7f3be9bea700 1
CephxAuthorizeHandler::verify_authorizer isvalid=1
2012-08-30 13:26:48.684124 7f3be9bea700 0 bad crc in data 1035043868
!= exp 606937680
2012-08-30 13:26:48.684771 7f3be9bea700 0 -- 192.168.3.70:6803/1032
>> 192.168.3.30:0/4221752725 pipe(0x5ba5c00 sd=40 pgs=0 cs=0
l=0).accept peer addr is really 192.168.3.30:0/4221752725 (socket is
192.1...
2014 Sep 11
3
[LLVMdev] patch for DragonEgg 3.3
Hi - attached is a patch to enable building DragonEgg (x86_64) for LLVM3.3 and LLVM3.4. That is, add these changes to the 3.3 release, and it becomes possible to build DragonEgg against a llvm3.4 compiler.
Regards,
Richard Gorton
Cognitive Electronics
rcgorton at cog-e.com
----------
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: