search for: sref

Displaying 11 results from an estimated 11 matches for "sref".

Did you mean: ref
2011 Feb 28
1
Creating Boxpot with R within bash script
...is my question. I can create a box and whisker plot without any problem from the command line, but incorporating that process into a bash script has proved problematic. Below is the portion of the bash script that fails: R --save --no-save --vanilla << EOF CAPE.df = read.table ("sref.sfccape.rdu.txt", header=TRUE, sep=" ") boxplot ( APCP ~ HOUR, data=CAPE.df ) EOF I have done a lot of searching, but apparently not in the correct places. Anyone's help will be appreciated greatly! Greg Fishel Chief Meteorologist WRAL-TV P.O. Box 12000 2619 Western Boulevar...
2004 Oct 30
1
Destructive str(...)?
...his behavior intentional, undocumented or simply wrong? Cheers, Simon [Tested with R 2.0.0 release (2004-10-04) on Mac OS X 10.3.5 - I have currently no other machine to test it on, but I very much suspect that this is platform-independent.] the C code used to generate the object: SEXP class, sref = R_MakeExternalPtr((void*) obj, R_NilValue, R_NilValue); PROTECT(class = allocVector(STRSXP, 1)); SET_STRING_ELT(class, 0, mkChar("ObjCid")); SET_CLASS(sref, class); UNPROTECT(1);
2018 Jan 11
0
[PATCH libdrm] nouveau: Support fence FDs
..._submit(push, push->channel); + ret = pushbuf_submit(push, push->channel, fence); } else { nouveau_pushbuf_data(push, NULL, 0, 0); krec->next = malloc(sizeof(*krec)); @@ -472,7 +527,7 @@ pushbuf_refn(struct nouveau_pushbuf *push, bool retry, if (ret) { pushbuf_refn_fail(push, sref, krec->nr_reloc); if (retry) { - pushbuf_flush(push); + pushbuf_flush(push, NULL); nouveau_pushbuf_space(push, 0, 0, 0); return pushbuf_refn(push, false, refs, nr); } @@ -524,7 +579,7 @@ pushbuf_validate(struct nouveau_pushbuf *push, bool retry) if (ret) { pushbuf_refn_fai...
2019 Jul 13
2
Mitigating Stalls Caused by Call Deparse on Error
...? ??? ?skip--; ??? ???? else { -?? ??? ?SETCAR(t, deparse1m(c->call, 0, DEFAULTDEPARSE)); +??????????????? // Extra paranoid PROTECTS +?? ??? ?SETCAR(t, PROTECT(duplicate(c->call))); +??????????????? UNPROTECT(1); ??? ??? ?if (c->srcref && !isNull(c->srcref)) { ??? ??? ???? SEXP sref; ??? ??? ???? if (c->srcref == R_InBCInterpreter) @@ -1482,7 +1486,26 @@ ???? UNPROTECT(1); ???? return s; ?} +/* + * Return the traceback with calls deparsed + */ +attribute_hidden +SEXP R_GetTraceback(int skip) +{ +??? int nback = 0; +??? SEXP s, t, u, v; +??? s = PROTECT(R_GetTracebackParsed(...
2019 Jul 14
2
[External] Mitigating Stalls Caused by Call Deparse on Error
...> -?? ??? ?SETCAR(t, deparse1m(c->call, 0, DEFAULTDEPARSE)); > +??????????????? // Extra paranoid PROTECTS > +?? ??? ?SETCAR(t, PROTECT(duplicate(c->call))); > +??????????????? UNPROTECT(1); > ??? ??? ?if (c->srcref && !isNull(c->srcref)) { > ??? ??? ???? SEXP sref; > ??? ??? ???? if (c->srcref == R_InBCInterpreter) > @@ -1482,7 +1486,26 @@ > ???? UNPROTECT(1); > ???? return s; > ?} > +/* > + * Return the traceback with calls deparsed > + */ > +attribute_hidden > +SEXP R_GetTraceback(int skip) > +{ > +??? int nback = 0;...
2019 Jul 16
1
[External] Mitigating Stalls Caused by Call Deparse on Error
...;call, 0, DEFAULTDEPARSE)); >>> + // Extra paranoid PROTECTS >>> + SETCAR(t, PROTECT(duplicate(c->call))); >>> + UNPROTECT(1); >>> if (c->srcref && !isNull(c->srcref)) { >>> SEXP sref; >>> if (c->srcref == R_InBCInterpreter) >>> @@ -1482,7 +1486,26 @@ >>> UNPROTECT(1); >>> return s; >>> } >>> +/* >>> + * Return the traceback with calls deparsed >>> + */ >>> +attribute_hidd...
2019 Jul 14
0
[External] Mitigating Stalls Caused by Call Deparse on Error
...> -?? ??? ?SETCAR(t, deparse1m(c->call, 0, DEFAULTDEPARSE)); > +??????????????? // Extra paranoid PROTECTS > +?? ??? ?SETCAR(t, PROTECT(duplicate(c->call))); > +??????????????? UNPROTECT(1); > ??? ??? ?if (c->srcref && !isNull(c->srcref)) { > ??? ??? ???? SEXP sref; > ??? ??? ???? if (c->srcref == R_InBCInterpreter) > @@ -1482,7 +1486,26 @@ > ???? UNPROTECT(1); > ???? return s; > ?} > +/* > + * Return the traceback with calls deparsed > + */ > +attribute_hidden > +SEXP R_GetTraceback(int skip) > +{ > +??? int nback = 0;...
2013 Mar 15
0
[PATCH] Btrfs-progs: add skinny metadata support to progs V3
...ize; @@ -2568,18 +2584,18 @@ static int process_extent_item(struct cache_tree *extent_cache, dref), btrfs_extent_data_ref_offset(eb, dref), btrfs_extent_data_ref_count(eb, dref), - 0, key.offset); + 0, num_bytes); break; case BTRFS_SHARED_DATA_REF_KEY: sref = (struct btrfs_shared_data_ref *)(iref + 1); add_data_backref(extent_cache, key.objectid, offset, 0, 0, 0, btrfs_shared_data_ref_count(eb, sref), - 0, key.offset); + 0, num_bytes); break; default: fprintf(stderr, "corrupt extent record: key %Lu %u %Lu\n&quot...
2019 Jul 15
0
[External] Mitigating Stalls Caused by Call Deparse on Error
...R(t, deparse1m(c->call, 0, DEFAULTDEPARSE)); >> +??????????????? // Extra paranoid PROTECTS >> +?? ??? ?SETCAR(t, PROTECT(duplicate(c->call))); >> +??????????????? UNPROTECT(1); >> ??? ??? ?if (c->srcref && !isNull(c->srcref)) { >> ??? ??? ???? SEXP sref; >> ??? ??? ???? if (c->srcref == R_InBCInterpreter) >> @@ -1482,7 +1486,26 @@ >> ???? UNPROTECT(1); >> ???? return s; >> ?} >> +/* >> + * Return the traceback with calls deparsed >> + */ >> +attribute_hidden >> +SEXP R_GetTraceback(int...
2009 May 12
0
[PATCH 1/2] btrfs-progs: mixed back ref support
...printf("CSUM_ITEM"); @@ -251,7 +263,8 @@ void btrfs_print_leaf(struct btrfs_root struct btrfs_file_extent_item *fi; struct btrfs_csum_item *ci; struct btrfs_block_group_item *bi; - struct btrfs_extent_ref *ref; + struct btrfs_extent_data_ref *dref; + struct btrfs_shared_data_ref *sref; struct btrfs_inode_ref *iref; struct btrfs_dev_extent *dev_extent; struct btrfs_disk_key disk_key; @@ -329,17 +342,33 @@ void btrfs_print_leaf(struct btrfs_root break; case BTRFS_EXTENT_ITEM_KEY: ei = btrfs_item_ptr(l, i, struct btrfs_extent_item); - printf("\t\textent dat...
2014 Sep 26
14
[RFC] Explicit synchronization for Nouveau
Hi guys, I'd like to start a new thread about explicit fence synchronization. This time with a Nouveau twist. :-) First, let me define what I understand by implicit/explicit sync: Implicit synchronization * Fences are attached to buffers * Kernel manages fences automatically based on buffer read/write access Explicit synchronization * Fences are passed around independently * Kernel takes