search for: testcod

Displaying 17 results from an estimated 17 matches for "testcod".

Did you mean: testmod
2007 Jun 23
1
regarding testcode in xenstore
Hi I am tring to build the testcode for xenstored # cd xen-3.1-src/tools/xenstore/ # make testcode but it generating error due to conflict of function in fake_libxc with libxc. Error: gcc -Werror -Wp,-MD,.fake_libxc.o.d -I../../tools/libxc -I. -DTESTING -c -o fake_libxc.o fake_libxc.c fake_libxc.c:41: error: conflicting types fo...
2007 Jun 23
1
regarding testcode in xenstore
Hi I am tring to build the testcode for xenstored # cd xen-3.1-src/tools/xenstore/ # make testcode but it generating error due to conflict of function in fake_libxc with libxc. Error: gcc -Werror -Wp,-MD,.fake_libxc.o.d -I../../tools/libxc -I. -DTESTING -c -o fake_libxc.o fake_libxc.c fake_libxc.c:41: error: conflicting types fo...
2008 May 13
2
Calling C code from R...wrapping C structures
...ct 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(){ model<-vector("list", 6) name(model) <- c( SET THE NAMES OF THE MODEL HERE ) model } t <- setModel() testcode <- function(setModel){ dyn.load("Simulation.so") foo <- .C("test", Model=setModel) foo } testcode(t) However I get segfaults whenever I try to access any of the variables contained in Model. So my question is: am I doing something wrong here? Is list the right data t...
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, global, redraw) :   'gPath' (text) not found Now however, copy the below into R and runn it all.  Notice that the code runs to completion.  Is this expected?  Is the...
2008 Jul 04
2
experinental revision of the 'snow' package
A new version of the 'snow' package for parallel computing in R is available at http://www.stat.uiowa.edu/~luke/R/cluster/snow_0.3-3.tar.gz This substantially revises the way in which worker processes are started to allow snow to be used on Windows and Mac/Windows/Linux combinations. I have successfully used the SOCK version on a standalone Windows machine and combinations of
2013 Jul 19
1
[LLVMdev] LLVM 3.3 JIT code speed
...here 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 on things for some fixed testcode for your DSL? Obviously they won't have an absolute meaning, but the order of magnitude relative to the normal execution times might guide the ideas about what it could be. Cheers, Dave
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:...
2006 Oct 17
0
[PATCH] Fixes for linking on Solaris
...-I$(XEN_LIBXENSTAT) LDFLAGS += -L$(XEN_LIBXENSTAT) -LDLIBS += -lxenstat -lncurses +LDLIBS += -lxenstat -lncurses $(SOCKET_LIBS) .PHONY: all all: xentop diff --git a/tools/xenstore/Makefile b/tools/xenstore/Makefile --- a/tools/xenstore/Makefile +++ b/tools/xenstore/Makefile @@ -41,19 +41,19 @@ testcode: xs_test xenstored_test xs_rand testcode: xs_test xenstored_test xs_random xenstored: $(XENSTORED_OBJS) - $(LINK.o) $^ $(LOADLIBES) $(LDLIBS) -lxenctrl -o $@ + $(LINK.o) $^ $(LOADLIBES) $(LDLIBS) -lxenctrl $(SOCKET_LIBS) -o $@ $(CLIENTS): xenstore-%: xenstore_%.o libxenstore.so - $(LINK.o)...
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 (according to wforce logs), the code above does not go into if condition. What is the proper way to access the attrs? Thanks for your help and have...
2007 Jun 18
2
as branch progress report
...bugs? 3) This is for all the people hacking on the as branch: Have the regressions introduced by my surgery caused you problems and would you prefer me doing them in branches? Should I do more testing before pushing it? I made sure the testsuite passes, so it wasn't untested code. However, the testcode seems to be not good enough yet for these kinds of problems... 4) Is anybody reading these mails? Should I do this more often? Cheers, Benjamin [1] http://en.wikipedia.org/wiki/Garbage_collection_%28computer_science%29
2013 Jul 19
0
[LLVMdev] LLVM 3.3 JIT code speed
Le 18 juil. 2013 à 23:51, Stéphane Letz <letz at grame.fr> a écrit : > > Le 18 juil. 2013 à 21:05, "Kaylor, Andrew" <andrew.kaylor at intel.com> a écrit : > >> I understand you to mean that you have isolated the actual execution time as your point of comparison, as opposed to including runtime loading and so on. Is this correct? > > We are testing
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 X11 forwarding. I have no idea if you consider this to be relevant at all, but I would be very happy if one of the developers could take a look at...
2013 Jul 18
2
[LLVMdev] LLVM 3.3 JIT code speed
Le 18 juil. 2013 à 21:05, "Kaylor, Andrew" <andrew.kaylor at intel.com> a écrit : > I understand you to mean that you have isolated the actual execution time as your point of comparison, as opposed to including runtime loading and so on. Is this correct? We are testing actual execution time yes : time used in a given JIT compiled function. > > > One thing that
2019 May 22
2
weakforced: Possible to access the ip address of report/allow?
Hi I wonder if the information about the origin of report or allow can be accessed somehow. lt.remote gives the IP of the client trying to login but is there anything in lt which gives the ip of the system that connects to wforced? Thanks and have a good one -- tobi
2008 Aug 14
3
tryCatch question
I would like to use the 'tryCatch' function but am having a hard time getting my head around it. In 'C' like languages try/catch/finally means try a block of statements and if any throw an error then do the statements in the catch block and then error or not always do the staements in the finally block. In 'R' as best as I can tell the block of staements in the try block is
2013 Feb 26
4
3 models, joining and nested queries
I have 3 models, class Host ref: string address: string, name: string primary_key=''ref'' has_many :rooms, :class_name=>"Room", :foreign_key=>''host_ref'' Class Room ref :string host_ref: string capacity: integer primary_key=''ref'' has_many
2016 Nov 04
2
[RFC] Supporting ARM's SVE in LLVM
...RIES_VECTOR](#seriesvector) to support floating-point types. For this reason we created an explicit node that also allowed less complex looking legalization/selection code. ## *ISD::TEST_VECTOR* {#isdtestvector} `TEST_VECTOR(VEC, PRED)` `VEC` is the boolean vector being tested, and `PRED` is a `TestCode` enum under the `llvm::ISD` namespace which contains all the supported conditions. See [*test*](#test). ## *ISD::VECTOR\_SHUFFLE\_VAR* {#isdvectorshufflevar} `VECTOR_SHUFFLE_VAR(VEC1, VEC2, VEC3)` See [*shufflevector*](#shufflevector). # AArch64 Specific Changes ## Instruction Selection In...