Displaying 20 results from an estimated 40 matches for "symb".
Did you mean:
smb
2007 Sep 05
4
Mocking to spec a sort_by method
...cal2.stubs(:mph).returns(250)
comparer.add_vehical([@vehical1, @vehical2])
comparer.sort_by(:mph)
The comparer is an object that has a basic "stack like" functionality,
add_vehical is the method to add objects to the stack.
My sort_by method in the comparer class looks like
def sort_by(symb)
@vehicals.sort_by{|vehical| vehical[symb] }
end
where @vehicals is an instance variable array (the stack).
Running my spec gives the following error,
Mocha::ExpectationError in ''Comparer should be sortable on a specific symbol''
#<Mock:0x251b7c8>.[](:mph) - expected c...
2005 May 03
3
Lattice dotplot with symbols sized and colored
...c.bdrs.data$mwZ * 0.05),
xlab="climate variables",
ylab="species",col= sp.nc.bdrs.data$mysign,
scales = list(y = list(labels = as.character(spname),at = 1:12, cex = 0.5),
x = list(labels = as.character(my.ylabel), at = 1:66, rot=90, cex = 0.5),
alternating = 3))
This sizes my symbols correctly but colors all four conditional plots
(direct = 'e', 'n', 's' & 'w') using the colors defined for the first
direct condition (i.e. 'e').
I have also tried using 'groups' to set the colors, however, whenever I do
this I cannot get...
2015 Nov 20
1
Good practice for naming classes, builders, attributes, getters/setters for object composition
...ind1, ind2 = ind2, order = order)
class(obj) <- c("bonds", class(obj))
return(obj)
}
Now I when to define an other class to store atomic properties.
As atoms can be bonded to each other, I add a "bonds" attribute which is of
class "bonds".
atoms <- function(symb, mass, charge, bonds){
obj <- data.frame(symb = symb, mass = mass, charge = charge)
attr(obj, "bonds") <- bonds
class(obj) <- c("atoms", class(obj))
return(obj)
}
Now if I when to get the "bonds" attribute of an "atoms" object, I have to
defi...
2005 Mar 30
0
cc: "/usr/include/setjmp.h", line 53: error 1000: Unexpected symb ol: "int".HP-UX 10.20
...ocal/libexec/ssh-keysign\"
-D_PATH_SSH_PID
DIR=\"/var/run\" -D_PATH_PRIVSEP_CHROOT_DIR=\"/var/empty\"
-DSSH_RAND_HELPER=\
"/usr/local/libexec/ssh-rand-helper\" -DHAVE_CONFIG_H -c ssh-keyscan.c
cc: "/usr/include/setjmp.h", line 53: error 1000: Unexpected symbol: "int".
cc: "ssh-keyscan.c", line 57: error 1000: Unexpected symbol: "kexjmp".
cc: "openbsd-compat/glob.h", line 46: warning 617: Redeclaration of tag
"stat" i
gnored.
cc: "/usr/include/setjmp.h", line 35: error 1588: "_JBLEN"...
2011 Oct 13
0
[LLVMdev] llvm-objdump related patch
...g in llvm-objdump.
>
> Songmao
>
@@ -747,12 +747,28 @@ error_code ELFObjectFile<target_endianness, is64Bits>
template<support::endianness target_endianness, bool is64Bits>
error_code ELFObjectFile<target_endianness, is64Bits>
::sectionContainsSymbol(DataRefImpl Sec,
DataRefImpl Symb,
bool &Result) const {
- // FIXME: Unimplemented.
+
Result = false;
+ const Elf_Sym *sym = getSymbol(Symb);
+ const Elf_Shdr *sec = reinterpret_cast&l...
2011 Oct 12
2
[LLVMdev] llvm-objdump related patch
...ulation-for-llvm-objdump.patch
Type: text/x-patch
Size: 3036 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20111012/8d8263d1/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Implement-sectionContainsSymbol-preparing-for-the-ob.patch
Type: text/x-patch
Size: 1321 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20111012/8d8263d1/attachment-0001.bin>
2008 Sep 19
1
reproduce this graph in ggplot2 (code and data included)
How can I reproduce this graph in ggplot2 (regression lines and data
point superimposed). Thanks, Juliet
filename="http://personality-project.org/r/datasets/heating.txt"
heating=read.table(filename,header=TRUE)
symb=c(19,25,3,23)
colors=c("black","red","green","blue")
plot(degreedays,therms,pch=symb[Location],col=colors[Location],bg=colors[Location],cex=1.0)
by(heating,Location,function(x) abline(lm(therms~degreedays,data=x)))
2015 Jul 21
4
[LLVMdev] DebugInfo/PDB/pdbdump-symbol-format.test fails with VS 2015
Hi,
This might be interesting since it seems to be the only LLVM test
failing with VS 2015:
FAIL: LLVM :: DebugInfo/PDB/pdbdump-symbol-format.test (7377 of 14212)
******************** TEST 'LLVM ::
DebugInfo/PDB/pdbdump-symbol-format.test' FAILED ********************
Script:
--
llvm-pdbdump -symbols
C:\cygwin64\home\ismail\src\llvm\test\DebugInfo\PDB/Inputs/symbolformat.pdb
| C:/cygwin64/home/ismail/
src/llvm/dist/./bin\...
2017 Feb 06
3
Kaleidoscope tutorial: comments, corrections and Windows support
...print" call from chapter 3
is missing
- "The KaleidoscopeJIT class is a simple JIT built specifically for
these tutorials.":
It would be nice to mention, where to find the include file:
llvm-src/examples/Kaleidoscope/include/KaleidoscopeJIT.h
- "auto ExprSymbol = TheJIT->findSymbol("__anon_expr");":
On Windows, this will always fail as this function will search for
"ExportedSymbolsOnly" and the exported flag seems to be implemented
incorrectly for COFF in LLVM (see bug report from Russell Wallace:
http://lists...
2007 Feb 26
3
PLotting R graphics/symbols without user x-y scaling
...er defined graphics
to a plot in R that does not depend on
the user scale for the plot?
For example I have a plot
plot(x,y)
and I want to add some graphic that is
scaled in inches or cm but I do not want the
graphic to change when the x-y scales are
changed - like a thermometer, scale bar or
other symbol -
How does one do this?
I want to build my own library of glyphs to add to plots
but I do not know how to plot them when their
size is independent of the device/user coordinates.
Is it possible to add to the list
of symbols in the function symbols()
other than:
_circles_, _squares_, _rectangl...
2015 Jul 21
0
[LLVMdev] DebugInfo/PDB/pdbdump-symbol-format.test fails with VS 2015
...ed, 0 failed, 266 up-to-date, 0 skipped ==========
~Aaron
On Tue, Jul 21, 2015 at 8:50 AM, İsmail Dönmez <ismail at donmez.ws> wrote:
> Hi,
>
> This might be interesting since it seems to be the only LLVM test
> failing with VS 2015:
>
> FAIL: LLVM :: DebugInfo/PDB/pdbdump-symbol-format.test (7377 of 14212)
> ******************** TEST 'LLVM ::
> DebugInfo/PDB/pdbdump-symbol-format.test' FAILED ********************
> Script:
> --
> llvm-pdbdump -symbols
> C:\cygwin64\home\ismail\src\llvm\test\DebugInfo\PDB/Inputs/symbolformat.pdb
> | C:/cygwin6...
2012 Jan 23
1
[LLVMdev] ELFObjectFile changes, llvm-objdump showing 'wrong' values?
2012/1/23 Bendersky, Eli <eli.bendersky at intel.com>:
> Hi,
>
> I would like to examine the implications you mention in more detail.
>
Thank you!
> (1) Symbol address
> According to the ELF standard, in a symbol table entry st_value means: "In relocatable files, st_value holds a section offset for a defined symbol. That is,
> st_value is an offset from the beginning of the section that st_shndx identifies." (*)
>
> Therefore, when...
2012 Jan 23
0
[LLVMdev] ELFObjectFile changes, llvm-objdump showing 'wrong' values?
Hi,
I would like to examine the implications you mention in more detail.
(1) Symbol address
According to the ELF standard, in a symbol table entry st_value means: "In relocatable files, st_value holds a section offset for a defined symbol. That is,
st_value is an offset from the beginning of the section that st_shndx identifies." (*)
Therefore, when queried about a sy...
2015 Jul 23
1
[LLVMdev] DebugInfo/PDB/pdbdump-symbol-format.test fails with VS 2015
...DLLVM_INSTALL_TOOLCHAIN_ONLY=ON -DLLVM_TARGETS_TO_BUILD="ARM;X86"
-DPYTHON_EXECUTABLE=$python_exe -DLLVM_BUILD_TESTS=ON
-DLLVM_LIT_TOOLS_DIR=C:/cygwin64/bin
fwiw compiler-rt is also enabled.
Also if you can forward me the output of
llvm-pdbdump.exe -types llvm/test/DebugInfo/PDB/Inputs/symbolformat.pdb
then I can compare the outputs.
Thanks!
On Tue, Jul 21, 2015 at 5:27 PM, Aaron Ballman <aaron at aaronballman.com> wrote:
> FWIW, this test is passing for me on Windows 7 with Visual Studio 2015
> (debug build).
>
> 59> Running all regression tests
> 59>...
2012 Jan 23
3
[LLVMdev] ELFObjectFile changes, llvm-objdump showing 'wrong' values?
Hi all,
I'm using the MC framework for a project, and while updating to latest
trunk (r148672) encountered the following issue:
It seems that SymbolRef::getAddress and SymbolRef::getFileOffset have
been changed to add the symbol's offset to the offset of the
containing section?
This has the following implications:
To get the /actual/ fileoffset, I now need to do:
Symbol.getFileOffset() - ContainingSection.getFileOffset()
And to get the...
2007 Nov 05
1
Help with Error Message
...keep getting this error message about "Error: element 12 is empty".
I'm wondering if my syntax is incorrect within legend.list. If anyone has
any suggestions to sees something obvious that I am missing, I would greatly
appreciate any help.
Many Thanks,
Patrick
> # These are the symbols and colors to use for each phenotype in the model
and test sets
> # model samples: square symbols
> # color symbol phenotype
> legend.list <- c("green", 22, # ALL-B
+ "steelblue", 22,...
2013 Jan 18
1
[LLVMdev] ELFObjectFile::getSymbolFileOffset
While working on some other changes I came across a problem where ELFObjectFile::getSymbolFileOffset was returning a different value than I expected in the case where the symbol in question was a section. Looking at the code, it seems obviously wrong, but I didn't want to just commit my change without at least asking if anyone knew of a good reason for the current behavior. I kn...
2009 Jan 20
2
plotting points with two colors
Dear Miss R,
I am trying to plot a scatterplot in which the points (round) should
have two colors: half red and half blue (if you want: two half solid circles
put together. Can you please help me to realize this efficiently?
Thank you,
Best regards, Georg.
***************************************
Georg Ehret
Geneva University Hospital
Geneva, Switzerland
[[alternative HTML version deleted]]
2000 Mar 07
0
AW: R-crash using cut-and-paste (PR#472)
...to establish it in my workspace (cut and paste). Suddenly I
> got
> > the following message form Windows NT (sorry it's german):
>
> [...]
>
> How big was the function you were trying to paste in?
[Dietrich Trenkler] About 36 lines. Here you are:
tefo_function(form,symb="%",dir="F:/DIDITEX/compstatr/ss00/r2latex/"){
tf_paste(c(dir,form,".r2l"),collapse="")
cat(c("Reading ",tf,".\n"),collapse="")
ss_scan(file=tf,what="",sep="\n",quiet=TRUE)
sss_ss
a_(1:length(sss))[ss==as...
2013 Dec 18
0
[LLVMdev] GCModuleInfo and MCJIT
...tadataPrinter (just like during an AOT compilation). A
GCMetadataprinter is called at the end of the compilation of a module
after having assigned the slots to the live roots. I have almost
everything except that at this step, a collection point (aka safepoint
in the GC world) is describe by:
* a MCSymbol, which indicates the location of a safepoint (basically
the instruction pointer that follows the safepoint)
* a list of live roots, each one is described by an offset relative to
the frame pointer.
Now, I would like to find the concrete address of the MCSymbol. And I
don't know how I could f...