Displaying 20 results from an estimated 300 matches similar to: "regarding testcode in xenstore"
2006 Oct 17
0
[PATCH] Fixes for linking on Solaris
# HG changeset patch
# User john.levon@sun.com
# Date 1161090130 25200
# Node ID afeef751f9dafa771726bcfb00b29a10b0baeabd
# Parent 7147e57f18552bbb8d25155cc1c635315283ee31
On Solaris, GCC is configured to use Sun''s LD. Fix the build to use the correct
flags, and link against libsocket where necessary.
Signed-off-by: John Levon <john.levon@sun.com>
diff --git a/config/Linux.mk
2005 Jun 09
1
[PATCH] more xenstore makefile fixes
This allows tools in the python directory to properly link to
libxenstore.a on x86-64.
--- tools/xenstore/Makefile.orig 2005-06-09 12:56:34.000000000
-0500
+++ tools/xenstore/Makefile 2005-06-09 13:48:06.000000000 -0500
@@ -20,6 +20,9 @@
BASECFLAGS+= -I.
CFLAGS+=$(BASECFLAGS)
+ifeq ($(XEN_TARGET_ARCH),x86_64)
+CFLAGS += -fPIC
+endif
LDFLAGS=$(PROFILE) -L$(XEN_LIBXC)
2009 Feb 04
0
Two issues with ggplot2 - grid.gedit doesn't work from source file & grid.gedit effects are not preserved
Code for this post is shown below.
Two issues:
(1) grid.gedit doesn't work from source file
Reproduce - copy the code shown below into an R source file, and of course save off in the appropriate location. Then copy the the first line "source("C:/TestCode.R")" into R and run. Notice that you get the following error:Error in editDLfromGPath(gPath, specs, strict, grep,
2010 Jun 01
5
Help barplots
Dear All,
I am newbie to R, and I wanted to plot a barplots with R and in such a way
that It will also show me position which I can plot on the bar line.
Here is my code that I am using to plot,
> chromosome <- c(40.2, 35.6, 36.1, 29.6, 31, 29.6, 31, 29.4, 28.2, 23, 23,
28.2)
>barplot (chromosome, col="purple", xlab="Oryza sativa Chromosomes", border
= NA, space =
2010 Jun 10
2
points marking
Hi,
How to mark points on x axis of a graph keeping x axis as constant and
changing y from y1 to y2 respectively. I want to highlight the area from y1
to y2.
Any suggestions
Thank you
Jeet
[[alternative HTML version deleted]]
2009 Apr 20
1
R build fails during make when configured with "--with-x=no" (PR#13665)
Full_Name: Jeet Sukumaran
Version: 2.9.0
OS: OS X / Rocks 5.1
Submission from: (NULL) (66.45.136.241)
If R is configured using the "--with=x=no" option, then the make fails with the
following error:
make[4]: Entering directory
`/home/jeet/Scratch/r-build/on-frontend/R-2.9.0/src/modules/vfonts'
gcc -std=gnu99 -I. -I../../../src/include -I../../../src/include
-I/usr/local/include
2008 May 13
2
Calling C code from R...wrapping C structures
Hi everyone,
I am currently trying to call some C code from R, specifically calling a
function which populates a C struct.
typedef struct{
// contents
} Model;
void test(Model *m){
// fill the struct with crap
}
I compile the C code into a shared library, which loads into R properly. My
simple test functions work (i.e adding numbers etc)
setModel <- function(){
2006 Jan 28
8
how to pass search parameters to pagination links
I have a search page with a text_field as below
<%= text_field ''program'', ''program_name'' %>
After I perform the search in my controller I go to a search results
view which shows search results and uses Rails pagination. Now how to
pass the search paramters (i.e. params[:program][:program_name] in my
controller) to the pagination links (next and
2006 Aug 02
0
[PATCH] xenstore-chmod
Hello,
I''ve modified tools/xenstore/xenstore_client.c to include a new utility,
xenstore-chmod. This utility permits developers and administrators to
manually change the permissions on arbitrary locations in XenStore from
the command line. This is often helpful if you''re trying to debug an
application that relies on XenStore and is encountering difficulties
with permissions.
2006 Jan 04
2
how to display validation error messages for multiple record form
I am trying to figure out how to display model validation error messages for
a multiple record form.
My form is for setting up new accounts and collects information for two
models - Accounts and Users.
My create method collects the parameters from the form and adds them to a
Account object and a User object then runs account.valid? and user.valid?.
If it''s valid it updates the models
2011 Sep 28
2
event channel in xenpaging
Hi,Olaf,
I have some questions about event channel in Xenpaging to ask you.
1) In xenpaging it uses Inter-Domainain Commnication (IDC) between
dom0 and domU to build bidirectional connection,but I found there is
only an event channel notification from xen to dom0 when page faults
happens.It seems that xenpaging_resume_page()->xc_evtchn_notify()
doesn''t make any difference.So why
2008 May 15
1
bin/40278: mktime returns -1 for certain dates/timezones when it should normalize
With the testcode I put on
http://www.stack.nl/~marcolz/FreeBSD/pr-bin-40278/40278.c I can
reproduce it on FreeBSD 4.11:
output on 4.11-STABLE
------
Init: mktime: 1014944400 Fri Mar 1 02:00:00 CET 2002
1: mktime: 4294967295 Fri Apr 0 02:00:00 CET 2002
Init: mktime: 1014944400 Fri Mar 1 02:00:00 CET 2002
2a: mktime: 1017622800 Mon Apr 1 03:00:00 CEST 2002
2b: mktime: 1017536400 Sun Mar 31
2013 Jul 19
1
[LLVMdev] LLVM 3.3 JIT code speed
Hi,
| And since the 1) DSL ==> C/C++ ===> clang/gcc -03 ===> exec code chain
has the "correct" speed, there is no reason the JIT based one should be
slower right?
| So I still guess something is wrong in the way we use the JIT and/or some
LTO issue possibly?
When you say "slower" wrt 3.1 on LLVM and the same speed for clang, could
you put some rough time numbers
2006 Feb 01
1
Rails pagination problem
I am having this problem with pagination query in my controller class.
I am using SQL server and following code to create pagination fails,
complains about column name ''program_name'' (which is valid
column/attribute of program)
The error message is:
DBI::DatabaseError: S0022 (207) [Microsoft][ODBC SQL Server
Driver][SQL Server]Invalid column name
2006 Jan 17
2
change error messages for Validation helpers?
Is it possible to change error messages for Validation helpers? I am
writing an app against a existing database (so no control over column
names), but when there is validation error (e.g. with
validate_presence_of) I would like to customize the field name. For
example for telephone whose field name is PhoneNumber I would like to
chnage it to "Telephone Number cannot be empty" rather
2010 Jun 04
1
Shapes in barplots
Hi,
I am making barplots . I am using the default shape of barplots with a pipe
but I wants to build bars in various 3d shapes. I have install rgl using
install.packages('rgl') for this purpose, but when I am doing library(rgl),
it shows
Error in library(rgl) : there is no package called 'rgl'
What are the other ways to build such plots of variuos shapes.
Is that *TeachingDemos
2008 Sep 05
0
[PATCH] Janitorial work on xc_save.c
# HG changeset patch
# User Brendan Cully <brendan@cs.ubc.ca>
# Date 1220640849 25200
# Node ID 6e53036deb06fdbaa55489610ea8fc9c9b67ca64
# Parent 0eab1869ef6649878e7f2f5f5af534122aca3a4c
Janitorial work on xc_save.c
Remove an unused variable.
Replace errx by warnx when cleanup code follows.
diff --git a/tools/xcutils/xc_save.c b/tools/xcutils/xc_save.c
--- a/tools/xcutils/xc_save.c
+++
2005 Aug 26
1
Problematic issue with the x11_create_display_inet method in channel.c
Hi,
I am currently implementing X11 forwarding for our Java SSH2 library
(http://www.ganymed.ethz.ch/ssh2), and encountered a problem with the
automatic display number selection
in the x11_create_display_inet() method in channel.c.
With my testcode I am able to get the OpenSSH daemon in a state where a
following client connection, e.g., an OpenSSH client, is sometimes not
able to properly use
2019 May 22
1
weakforced: Possible to access the ip address of report/allow?
Hi Neil
thanks for the hint with the dovecot config, adding this and I can see that
> ... attrs={local_ip="XX.XX.XX.XX"} ...
is now logged by wforce daemon. Then I tried to access that value from
wforce with the following testcode
> if (#lt.attrs > 0)
> then
> return 7, "ip_local", "ip_local", { test=test }
> end
but even if attrs are set
2007 Jun 18
2
as branch progress report
Since there seem to be quite some people hacking on the as branch, I'd
like to give some report about its progress. So if you encounter
regressions after a git pull, you know where to look (or who to ask).
For everyone not aware of this, the as branch will become 0.5.0 at
some point. I should probably merge it into HEAD soon and start
releasing it, but I'm still unsure about this, because