search for: add_point

Displaying 9 results from an estimated 9 matches for "add_point".

Did you mean: add_int
2008 Dec 04
1
xspline, graphical parameters and MAXNUMPTS
Hello, I am having two difficulties with xspline: 1) Passing lty=2 (via ...) appears to have no effect 2) Apparently depending on the current plot axes, I may or may not get the failure: add_point - reached MAXNUMPTS (25200) This happens both on Linux/R 2.8.0 (details below) and Windows Vista/R 2.8.0 patched (2008-10-21 r46766) Simplest case: plot(c(0,1),c(0,1)) xspline(c(0,1),c(0,1)) # failure MAXNUMPTS xspline(c(0,0.5,1),c(0,1,0),border=2,lty=2) # OK-ish, red, but no dashes Mor...
2009 Jul 07
1
[LLVMdev] LLVM code target dependent generator question
...am having hard time mapping LLVM add to my machine add instruction based on the oprand types. Here is the sample code: void myFunction( int* src, int* dst, int i ) { dst[i] = src[i]; i = i + 4; return; } I want to get this translate to my machine code as following: shl R1028, R1026, 2 add_pointer R1029, R1024, R1028 // incrementing the src pointer load R1030, R1029 add_pointer R1031, R1025,R1028 // calculating the dst address store R1030, R1031 mov R1031, 4 add R1032, R1026, R1031 //scalar addition ret Currently my ADD instruction is defined in the InstrInfo.td file as following: de...
2019 Jul 29
4
ICE in release/9.x when using LLVM_ENABLE_MODULES
I ran into an LLVM/Clang crash when attempting to do the following: 1. Build Clang from the release/9.x branch source. 2. Use the Clang from (1) to build clangd on the release/9.x branch, with LLVM_ENABLE_MODULES=On. I wrote a script to reproduce the crash: https://gist.github.com/modocache/ac366ca9673b93bb21e75d3e72162608 At the above URL, you'll find a script `repro.sh` that reproduces
2009 Jul 07
0
[LLVMdev] LLVM code target dependent generator question
...am having hard time mapping LLVM add to my machine add instruction based on the oprand types. Here is the sample code: void myFunction( int* src, int* dst, int i ) { dst[i] = src[i]; i = i + 4; return; } I want to get this translate to my machine code as following: shl R1028, R1026, 2 add_pointer R1029, R1024, R1028 // incrementing the src pointer load R1030, R1029 add_pointer R1031, R1025,R1028 // calculating the dst address store R1030, R1031 mov R1031, 4 add R1032, R1026, R1031 //scalar addition ret Currently my ADD instruction is defined in the InstrInfo.td file as following: de...
2008 Jan 14
2
Need help with xspline error message in R 2.6.1 on Windows XP
I am attempting to generate a series of plots with cubic B-Splines and the code I am using is generating the following error message that I have been unable to resolve. Error in grid.Call.graphics("L_xspline", x$x, x$y, x$shape, x$open, x$arrow, : add_point - reached MAXNUMPTS (25200) This is the code that generates this error. plot.results <- function(dfn) { dt <- read.table(dfn) shp <- rep(1, as.numeric(length(dt$year))) shp[1] <- shp[as.numeric(length(dt$year))] <- 0 grid.rect() pushViewport(plotViewport(c(5.1, 4.1, 4.1, 2.1))...
2019 Oct 30
2
pointer arithmetic with address space attribute not working
.../install/bin/clang-10+0x11b9381) #9 0x0000000001b5177f emitPointerArithmetic(clang::CodeGen::CodeGenFunction&, (anonymous namespace)::BinOpInfo const&, bool) (/data/users/yhs/work/llvm-proje ct/llvm/build/install/bin/clang-10+0x1b5177f) #10 0x0000000001b42b86 clang::StmtVisitorBase<std::add_pointer, (anonymous namespace)::ScalarExprEmitter, llvm::Value*>::Visit(clang::Stmt*) (/data/users/yhs/ work/llvm-project/llvm/build/install/bin/clang-10+0x1b42b86) #11 0x0000000001b3a245 clang::CodeGen::CodeGenFunction::EmitScalarExpr(clang::Expr const*, bool) (/data/users/yhs/work/llvm-project/llvm/...
2019 Oct 31
2
pointer arithmetic with address space attribute not working
.../install/bin/clang-10+0x11b9381) #9 0x0000000001b5177f emitPointerArithmetic(clang::CodeGen::CodeGenFunction&, (anonymous namespace)::BinOpInfo const&, bool) (/data/users/yhs/work/llvm-proje ct/llvm/build/install/bin/clang-10+0x1b5177f) #10 0x0000000001b42b86 clang::StmtVisitorBase<std::add_pointer, (anonymous namespace)::ScalarExprEmitter, llvm::Value*>::Visit(clang::Stmt*) (/data/users/yhs/ work/llvm-project/llvm/build/install/bin/clang-10+0x1b42b86) #11 0x0000000001b3a245 clang::CodeGen::CodeGenFunction::EmitScalarExpr(clang::Expr const*, bool) (/data/users/yhs/work/llvm-project/llvm/...
2019 Oct 31
2
pointer arithmetic with address space attribute not working
...1b9381) > #9 0x0000000001b5177f > emitPointerArithmetic(clang::CodeGen::CodeGenFunction&, (anonymous > namespace)::BinOpInfo const&, bool) (/data/users/yhs/work/llvm-proje > ct/llvm/build/install/bin/clang-10+0x1b5177f) > #10 0x0000000001b42b86 clang::StmtVisitorBase<std::add_pointer, > (anonymous namespace)::ScalarExprEmitter, > llvm::Value*>::Visit(clang::Stmt*) (/data/users/yhs/ > work/llvm-project/llvm/build/install/bin/clang-10+0x1b42b86) > #11 0x0000000001b3a245 > clang::CodeGen::CodeGenFunction::EmitScalarExpr(clang::Expr const*, > bool) (/data/use...
2007 Apr 13
0
5 commits - libswfdec/Makefile.am libswfdec/swfdec_color.c libswfdec/swfdec_color.h libswfdec/swfdec_font.c libswfdec/swfdec_loadertarget.c libswfdec/swfdec_movie.h libswfdec/swfdec_pattern.c libswfdec/swfdec_pattern.h libswfdec/swfdec_player.c
...width; - pattern->start_color = color; - pattern->end_color = color; - - return SWFDEC_PATTERN (pattern); -} - static void swfdec_path_get_extents (const cairo_path_t *path, SwfdecRect *extents, double line_width) { @@ -791,11 +593,13 @@ swfdec_path_get_extents (const cairo_pat #undef ADD_POINT } +#define MAX_ALIGN 10 + void swfdec_pattern_get_path_extents (SwfdecPattern *pattern, const cairo_path_t *path, SwfdecRect *extents) { - if (SWFDEC_IS_STROKE_PATTERN (pattern)) { - SwfdecStrokePattern *stroke = SWFDEC_STROKE_PATTERN (pattern); + if (SWFDEC_IS_STROKE (pattern)) { + S...