similar to: Unexpected behavior when browsing list objects by name, when the object name is a substring (prefix) of an existing object that has a valid value

Displaying 20 results from an estimated 1200 matches similar to: "Unexpected behavior when browsing list objects by name, when the object name is a substring (prefix) of an existing object that has a valid value"

2011 Nov 20
0
[LLVMdev] How can I output assembly comments from emitPrologue()?
So, an update. I have managed to generate comments, although it does create a non-existent instruction. My method is as follows (and I would appreciate any comments on how to do it "better", although note that this won't make it into the final code :).) 1. I declared a "fake" instruction type to hold comments, ala: class FakeInst<dag outs, dag ins, string asmstr,
2011 Nov 20
2
[LLVMdev] How can I output assembly comments from emitPrologue()?
Dear all, I am looking to output assembly comments in my emitPrologue() function, just for my own readability. Searching for a way to do this found me this thread - http://lists.cs.uiuc.edu/pipermail/llvmdev/2011-October/043722.html, which says that the best way to output comments from somewhere like emitPrologue() is to: 1. Create an MDString for the comment. 2. Attach it to an LLVM
2019 Feb 20
0
Bug: time complexity of substring is quadratic as string size and number of substrings increases
Update: I have observed that stringi::stri_sub is linear time complexity, and it computes the same thing as base::substring. figure https://github.com/tdhock/namedCapture-article/blob/master/figure-substring-bug.png source: https://github.com/tdhock/namedCapture-article/blob/master/figure-substring-bug.R To me this is a clear indication of a bug in substring, but again it would be nice to have
2006 Jul 11
4
how get a substring of a string
hello all i want to get the substring of a string i found a source that do it...but don''t work in my machine example "the source of ruby".chars[0..5] that must return "the so" -- Posted via http://www.ruby-forum.com/.
2006 Mar 28
0
substring and html in the db
Hey guys, Ran into a snag today and was wondering if anyone can give me a hand. I have a blog type application that I''m developing. There is a page "list all entries" which looks like this: Title1 posted by Person1 about 2 hours ago test1 test1test1 test1test1 test1test1 test1test1 test1test1 test1test1 test1... (click here for full post) Title2 posted by Person1 about 2
2009 Dec 20
1
how to count the total number of (INCLUDING overlapping) occurrences of a substring within a string?
Last one for you guys: The command: length(gregexpr('cus','hocus pocus')[[1]]) [1] 2 returns the number of times the substring 'cus' appears in 'hocus pocus' (which is two) It's returning the number of **disjoint** matches. So: length(gregexpr('aa','aaa')[[1]]) [1] 1 returns 1. **What I want to do:** I'm looking for a way to count
2013 Sep 30
1
str_count counts the substring
I am trying to count the number of times a word occurs in a string. and using str_count function from the package stringr. This function counts the substrings as well. Is there a way in which I can exclude the substring count and just take the exact match. Thanks in advance. -- Thanks and Regards Agrima Srivastava -------------------------------------------------------------------------------
2010 Apr 29
2
substring comparison
Hi all, I'm writing a script to do some basic text analysis in R. Let's assume I have a data frame named data which contains a column named 'utt' which contains strings. Is there a straightforward way to achieve something like this: data$ContainsThe <- ifelse(startsWith(data$Utt,"the"),"y","n") or data$ContainsThe <-
2014 May 02
2
substring if a record has a "\"
Hello togehter, i have a litte problem. I have a data.frame with a view entries like this one: 1 A Marius Muller -\nIT Services B Rockwood\nBrockhues C Microlog Services\nMarcos D Firefox Services I now want only the first description in the column until the "\n". How can i do this? The solution look like this one: 1 A Marius Muller - B Rockwood C Microlog
2005 Mar 17
3
Channel name (and substring)
How do I get the bit like "IAX2/white_phone" in extensions.conf eg from pre-defined variables or variants thereof ? What I *do* get is strings like this "IAX2/white_phone@white_phone-4" from ${CHANNEL}, but that's the full channel name. What am I missing here ? Thanks, Thomas
2006 Nov 09
1
Using Substring Width with Mailhome Variables
Hello All, I am currently running Dovecot v1.0.rc13 from dovecot-1.0-0_31.rc13.fc5.at.i386.rpm on Linux HOST 2.6.17-1.2157_FC5 #1 Tue Jul 11 22:55:46 EDT 2006 i686 i686 i386 GNU/Linux. I am trying to install Dovecot in a large mail hosting environment and running into troubles. I have specified my mail home in dovecot.conf as follows: default_mail_env =
2011 May 29
1
solr substring schema.xml
I'm trying a modified schema.xml with solr - it appears I now have substring searches! I took the schema.xml file shipped with Dovecot, and modified the text field definition to be: <fieldType name="text" class="solr.TextField" positionIncrementGap="100"> <analyzer type="index"> <tokenizer
2012 Oct 15
1
[BUG] Lucene plugin breaks header substring search
According to the IMAP spec if I do a search for "TO isocpp.org" it should find all the messages whose To: field contains the string "isocpp.org", but dovecot is returning me an empty list. However, a search for "TO tm at isocpp.org" produces a long list of messages. This behavior is present if I *even load* the lucene fts plugin. Note that lucene isn't in use
2019 Feb 23
0
Bug: time complexity of substring is quadratic
> From: Tomas Kalibera <tomas.kalibera at gmail.com> > > Thanks for the report, I am working on a patch that will address this. > > I confirm there is a lot of potential for speedup. On my system, > > 'N=200000; x <- substring(paste(rep("A", N), collapse=""), 1:N, 1:N)' > > spends 96% time in checking if the string is ascii and 3%
2020 Jun 27
0
Error in substring: invalid multibyte string
On Fri, 26 Jun 2020 15:57:06 -0700 Toby Hocking <tdhock5 at gmail.com> wrote: >invalid multibyte string at '<e4>gel-A<6b>iyoshi' >https://stat.ethz.ch/pipermail/r-devel/1999-November/author.html The server says that the text is UTF-8: curl -sI \ https://stat.ethz.ch/pipermail/r-devel/1999-November/author.html | \ grep Content-Type # Content-Type: text/html;
2004 Oct 27
1
regexp,grep: capturing more than one substring
Hello, I would like to have a function that retrieve matching strings in the same way as with java.util.regex (java 1.4.2). Example: f('^.*(xx?)\\.([0-9]*)$','abcxx.785') => c('xx','785') First of all: Is it possible to achiev this with grep(... perl=TRUE,value=TRUE )? As I would call this function very often with large data, I'm reluctant to use Sjava
2006 Nov 14
1
greatest common substring
Dear R-members, Suppose I have a vector with the following strings: V = c("Welfare_Group_1024", "Welfare_Group_1536", "Welfare_Group_160") I want to 'automatically generate a nice y-axis label for this data. A good candidate is something close to "Welfare Group". Is there an easy way to compute something close to the greatest common
2007 Jan 25
1
Substring error
Hi, Do anybody know when and why the below error we get? Error in substr(x, as.integer(start), as.integer(stop)) : invalid substring argument(s) in substr() Thanks in advance, Shubha [[alternative HTML version deleted]]
2007 Feb 24
1
Bold Substring in mtext (newbie question)
Hi everyone, I suspect this is an easy task however I've not been able to accomplish it. I'd like to create an mtext title which has certain words bold, the rest not bold. So far I've been able to create one which is all bold, one which is all not bold and one which has bold and not bold superimposed on one another. Any suggestion would be appreciated. Many thanks, Joe Retzer # Not
2008 Feb 14
1
Replacing a character string when finding substring match
Dear R-experts, I need to replace the values of a vector(tx) with a word ('Vehicle') when the value of the vector contains the word 'vehicle'. Sometimes, the value could be 'MCT vehicle', or 'control-vehicle', etc. I tried gsub like this treatment<-gsub('vehicle','Vehicle', tx, ignore.case=T) But then I end up with values like 'MCT