Displaying 20 results from an estimated 142 matches for "abcdefghijklmnopqrstuvwxyz".
2012 Dec 15
1
How to limit string size when displaying data frames?
...et the maximum width of character columns when printing a data frame?
I've looked into print(), format(), and options() and have been unsuccessful.
For example, I'd like to achieve the results below without having to modify the data itself.
> x <- data.frame(c1=rnorm(5), c2="ABCDEFGHIJKLMNOPQRSTUVWXYZ")
> x
c1 c2
1 0.7076495 ABCDEFGHIJKLMNOPQRSTUVWXYZ
2 -0.1572245 ABCDEFGHIJKLMNOPQRSTUVWXYZ
3 0.3515308 ABCDEFGHIJKLMNOPQRSTUVWXYZ
4 0.3492925 ABCDEFGHIJKLMNOPQRSTUVWXYZ
5 -0.3805869 ABCDEFGHIJKLMNOPQRSTUVWXYZ
> x$c2 <- substr(x$c2, 1, 10) #Only show first 1...
2018 Sep 10
1
Re: [PATCH nbdkit v3 2/6] main: Tighten up characters permitted in config keys.
...#39;t return an error. If the key is not valid then we
> + * return false and the parsing code will assume that this is a bare
> + * value instead.
> + */
> +static int
> +is_config_key (const char *key, size_t len)
> +{
> + static const char allowed_first[] =
> + "abcdefghijklmnopqrstuvwxyz"
> + "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
> + static const char allowed[] =
> + "abcdefghijklmnopqrstuvwxyz"
> + "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
> + "0123456789"
> + "._-";
Crazy me is thinking of the micro-optimization...
2013 Apr 19
3
[LLVMdev] funny llvm bug
...MCSectionELF::PrintSwitchToSection. For
ELF target this function tries to escape string if it founds
'suspicious' character, see implementation in MCSectionELF.cpp:
StringRef name = getSectionName();
if (name.find_first_not_of("0123456789_."
"abcdefghijklmnopqrstuvwxyz"
"ABCDEFGHIJKLMNOPQRSTUVWXYZ") == name.npos) {
OS << "\t.section\t" << name;
} else {
OS << "\t.section\t\"";
As section "name" is something like .mySection,\"aw\", at progbits# ,
t...
2009 Sep 04
0
passing character vectors to FORTRAN
...keen,
You need to find a way to say, precisely what you mean...
Supercalifragilisticexpialidocious!
Even though the sound of it is something quite atrosicous!
If you say it loud enough, you'll always sound precocious",
" !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~")
system('R CMD SHLIB readchar.f')
dyn.load('readchar.so')
A <- .Fortran('readchar',
as.integer(unlist(sapply(strings,charToRaw),use.names=FALSE)),
as.integer(nchar(strings)),
as.integer...
2013 May 08
1
getting corrupted data when using readBin() after seek() on a gzfile connection
...blocks of 26 bytes
## located at various offsets that are multiple of 26, so we expect
## to see our original pattern ("abc...xyz").
con <- gzfile("test.gz", open="rb")
## Offset 0: ok
> rawToChar(readBin(con, "raw", n=26))
[1] "abcdefghijklmnopqrstuvwxyz"
## Offset 78: still ok
> seek(con, where=78)
[1] 26
> seek(con)
[1] 78
> rawToChar(readBin(con, "raw", n=26))
[1] "abcdefghijklmnopqrstuvwxyz"
## Offset 520: data is messed up
> seek(con, where=520)
[1] 104
> seek(con)
[...
2019 Jan 25
0
[klibc:update-dash] builtin: Clear LC_ALL in mkbuiltins
...1 | tee $temp2 | awk '{
+ }}' $temp | LC_ALL= LC_COLLATE=C sort -k 1,1 | tee $temp2 | awk '{
opt = ""
if (NF > 2) {
opt = substr($2, 2)
@@ -97,8 +97,9 @@ cat <<\!
*/
!
-sed 's/ -[a-z]*//' $temp2 | nl -b a -v 0 | LC_COLLATE=C sort -u -k 3,3 |
-tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ |
+sed 's/ -[a-z]*//' $temp2 | nl -b a -v 0 |
+ LC_ALL= LC_COLLATE=C sort -u -k 3,3 |
+ tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ |
awk '{ printf "#define %s (builtincmd + %d)\n", $3, $1}'
printf '\n#define NUMBUILTINS %d\n&...
2020 Mar 28
0
[klibc:update-dash] dash: builtin: Clear LC_ALL in mkbuiltins
...1 | tee $temp2 | awk '{
+ }}' $temp | LC_ALL= LC_COLLATE=C sort -k 1,1 | tee $temp2 | awk '{
opt = ""
if (NF > 2) {
opt = substr($2, 2)
@@ -97,8 +97,9 @@ cat <<\!
*/
!
-sed 's/ -[a-z]*//' $temp2 | nl -b a -v 0 | LC_COLLATE=C sort -u -k 3,3 |
-tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ |
+sed 's/ -[a-z]*//' $temp2 | nl -b a -v 0 |
+ LC_ALL= LC_COLLATE=C sort -u -k 3,3 |
+ tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ |
awk '{ printf "#define %s (builtincmd + %d)\n", $3, $1}'
printf '\n#define NUMBUILTINS %d\n&...
2013 Apr 19
0
[LLVMdev] funny llvm bug
...tion. For
> ELF target this function tries to escape string if it founds
> 'suspicious' character, see implementation in MCSectionELF.cpp:
>
> StringRef name = getSectionName();
> if (name.find_first_not_of("0123456789_."
> "abcdefghijklmnopqrstuvwxyz"
> "ABCDEFGHIJKLMNOPQRSTUVWXYZ") == name.npos) {
> OS << "\t.section\t" << name;
> } else {
> OS << "\t.section\t\"";
>
> As section "name" is something like .mySection,\&qu...
2018 Sep 08
1
Re: [PATCH nbdkit v2 2/6] main: Tighten up characters permitted in config keys.
...ocs/nbdkit-plugin.pod | 18 ++++++++++--------
> src/main.c | 32 +++++++++++++++++++++++++++++++-
> 2 files changed, 41 insertions(+), 9 deletions(-)
>
> +static int
> +is_config_key (const char *key, size_t len)
> +{
> + const char allowed[] =
> + "abcdefghijklmnopqrstuvwxyz"
> + "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
> + "0123456789"
> + "._-";
> + size_t i;
> +
> + if (key[0] == '\0')
> + return 0;
> +
> + for (i = 0; i < len; ++i) {
> + if (strchr (allowed, key[i]) == NULL)
Why not...
2016 Jun 06
2
readlines() truncates text file with Codepage 437 encoding
...;437'))
Warning message:
In readLines(file("437__characters.txt", :
incomplete final line found on '437__characters.txt'
> test_text
[1]
"\v\f\016\017\020\021\022\023\024\025\026\027\030\031\032\033\034\035\036\037
!\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~\177
?????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????"
> nchar(test_text)
[1] 242
You'll note that readLines hasn't read the final characters "??\n".
# Diagno...
2004 Nov 22
1
Fedora Core 3 and Samba
...'t work there and give the error:
root@server(~): useradd newer\$
useradd: invalid user name 'newer$
Upon speculation we believe this might be to bring Fedora/Redhat user utils
in line with POSIX standards. Under POSIX this is the Portable Filename
Charcterset which is as follows:
ABCDEFGHIJKLMNOPQRSTUVWXYZ
abcdefghijklmnopqrstuvwxyz
0123456789._-
Notice no '$'. But the standard goes on to say extended characters are
allowed, but it will result in noncompliant use...
This is behaving this way on a test server and the latest Redhat ES (running
on our production server) still works fi...
2013 Apr 16
1
update config.guess and config.sub to support aarch64
Hello,
would it be possible to update config.sub and config.guess to the latest versions (or at least version
from automake-1.13.1) in order to support new architectures based on the ARM 64 bit CPU?
Patch: http://plautrba.fedorapeople.org/openssh/openssh-latest-config.sub-config.guess.patch
Related Fedora bug: https://bugzilla.redhat.com/show_bug.cgi?id=926284
Thanks,
Petr
2018 Sep 10
0
[PATCH nbdkit v3 2/6] main: Tighten up characters permitted in config keys.
...rscore or dash.
+ *
+ * Note this doesn't return an error. If the key is not valid then we
+ * return false and the parsing code will assume that this is a bare
+ * value instead.
+ */
+static int
+is_config_key (const char *key, size_t len)
+{
+ static const char allowed_first[] =
+ "abcdefghijklmnopqrstuvwxyz"
+ "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
+ static const char allowed[] =
+ "abcdefghijklmnopqrstuvwxyz"
+ "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
+ "0123456789"
+ "._-";
+
+ if (len == 0)
+ return 0;
+
+ if (strchr (allowed_first, key[0]) ==...
2005 Nov 20
2
word_wrap with hard break
How can I force word_wrap to break text like this?
<% @text=''abcdefghijklmnopqrstuvwxyz'' %>
<%= word_wrap(@text, 10) %>
It appears to currently only break on space characters.
thanks
csn
__________________________________
Yahoo! FareChase: Search multiple travel sites in one click.
http://farechase.yahoo.com
2007 Feb 17
0
8 commits - configure.ac doc/swfdec-sections.txt libswfdec/swfdec_loader.c libswfdec/swfdec_player.c libswfdec/swfdec_player.h libswfdec/swfdec_player_internal.h libswfdec/swfdec_root_movie.c libswfdec/swfdec_scriptable.c libswfdec/swfdec_scriptable.h
...loader.c
index 29ca92c..49d7642 100644
--- a/libswfdec/swfdec_loader.c
+++ b/libswfdec/swfdec_loader.c
@@ -394,7 +394,7 @@ swfdec_loader_get_filename (SwfdecLoader
}
/* if speed ever gets an issue, use a 256 byte array instead of strchr */
-static const char *urlencode_unescaped="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_.";
+static const char *urlencode_unescaped="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_./";
static void
swfdec_urlencode_append_string (GString *str, const char *s)
{
diff --git a/test/various/urlencode.c b/test/various/urlencode.c...
2013 Apr 19
3
[LLVMdev] funny llvm bug
I'm going to file this bug but it's kind of a blocker for me so maybe
someone has time
to look at it. Should be nearly trivial to fix.
It's a bug in the way the "section" attribute of functions is processed.
Consider the following code:
void x(int i) __attribute((section(".mySection,\"aw\", at progbits#")));
void x(int i) {
}
If you compile this
2013 Apr 19
0
[LLVMdev] funny llvm bug
On Thu, Apr 18, 2013 at 06:57:29PM -0700, reed kotler wrote:
> I'm going to file this bug but it's kind of a blocker for me so
> maybe someone has time
> to look at it. Should be nearly trivial to fix.
I don't think this is a bug, but a misfeature in GCC due to the way it
does (non-)escaping.
Joerg
2019 Jan 25
0
[klibc:update-dash] shell: Fix build on Solaris 9
...+= 4 }
+ printf "\t{ \"%s\", %s, %d },\n", $1, cmd, mask
}'
echo '};'
@@ -97,7 +101,7 @@ cat <<\!
*/
!
-sed 's/ -[a-z]*//' $temp2 | nl -b a -v 0 |
+sed 's/ -[a-z]*//' $temp2 | nl -ba -v0 |
LC_ALL= LC_COLLATE=C sort -u -k 3,3 |
tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ |
awk '{ printf "#define %s (builtincmd + %d)\n", $3, $1}'
2020 Mar 28
0
[klibc:update-dash] dash: shell: Fix build on Solaris 9
...+= 4 }
+ printf "\t{ \"%s\", %s, %d },\n", $1, cmd, mask
}'
echo '};'
@@ -97,7 +101,7 @@ cat <<\!
*/
!
-sed 's/ -[a-z]*//' $temp2 | nl -b a -v 0 |
+sed 's/ -[a-z]*//' $temp2 | nl -ba -v0 |
LC_ALL= LC_COLLATE=C sort -u -k 3,3 |
tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ |
awk '{ printf "#define %s (builtincmd + %d)\n", $3, $1}'
2003 Sep 25
1
PlotMoth Refusing to Draw xlab
...I have not reproduced that, but the following example with a clearly overly long label results in no xlab at all. I hoped that at least a truncated label would be plotted. This is probably related to my original problem.
plot(0,0,xlab=expression(paste('1234567890abcdefghijklmnopqrstuvwzyz abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPARSTUVWXYZ')))
platform i386-pc-linux-gnu
arch i386
os linux-gnu
system i386, linux-gnu
status
major 1
minor 7.1
year 2003
month 06
day 16...