search for: getproperty

Displaying 20 results from an estimated 65 matches for "getproperty".

Did you mean: get_property
2007 Oct 14
0
4 commits - libswfdec/swfdec_as_interpret.c libswfdec/swfdec_sound.c test/trace
...as + +createEmptyMovieClip ("a", 0); +a.createEmptyMovieClip ("a", 0); + +function do_test (x) { + // equivalent code: + // trace (eval (x)._target); + // eval (x)._x = 42; + // trace (eval (x)._x); + asm { + push "x" + getvariable + dup + push 11 + getproperty + trace + dup + push 0, 42 + setproperty + push 0 + getproperty + trace + }; +}; + +tests = [ "/a/a", "a/../a::::a", "" ]; + +for (i = 0; i < tests.length; i++) { + do_test (tests[i]); +}; + + +loadMovie ("FSCommand:quit", "&quo...
2007 Sep 27
2
rJava and RJDBC
...<- JDBC(c("com.mysql.jdbc.Driver"),classPath,"`") This returns a NULL value and a java exception. > .jgetEx() [1] "Java-Object{java.lang.ClassNotFoundException: com.mysql.jdbc.Driver}" my java version is > .jcall('java.lang.System','S','getProperty','java.version') [1] "1.6.0_02" jre When I use java 1.5.0_11 jre I have the same problem but the .jgetEx() is > .jgetEx() [1] "Java-Object{} my class path is > .jclassPath() [1] "C:\\PROGRA~1\\R\\library\\rJava\\java" [2] "." [3]...
2006 Jan 26
2
Easy way to add properties to a model?
...et''s say User) and I would like to add any number of user-defined-settings to this Model. I created a UserSetting Model with user_id, key and value. I connected them with has_many. I know how to access these properties from a user but I would like some methods like user.hasProperty? / user.getProperty ... I think I know how to write these methods/finders myself but it seems like a pretty common problem to me, which means there could be an easier way of doing the same. Is there? bye Frank
2006 Mar 31
3
Layout Question .. (Sitemesh related)
...a way for a layout in rails to find out value of a variable from a page it is decorating? In sitemesh you would be able to do <meta name="show_menu" content="true"> on some page being decorated and then in the layout page, you can access the value of show_menu using page.getProperty(..) and can show or hide the menu. Is there a way to do something like the above in Rails? For example a template t1.rhtml could be: <div> Some content <!-- can I set a variable show_menu here --> </div> And this is the layout1.rhtml (layout file that t1 gets decorated w...
2007 May 30
5
java bindings 1.0.0 - jni.h not found
Hi all, I am new to Xapian and want to use it with Java. In order to do that I tried to compile the Java bindings. I set XAPIAN_CONFIG and invoked "configure". However "./configure --with-java" exits with an error. Point of failure: checking for jni.h... no checking for jni.h in /usr/lib/jvm/java-1.5.0-sun/include... no checking for jni.h in
2005 Jun 10
0
launching RSJava from external application
...y/SJava/libs:/usr/java/j2sdk1.4.2_08/jre/lib/i386/client:/usr/java/j2sdk1.4.2_08/jre/lib/i386:/usr/java/j2sdk1.4.2_08/jre/../lib/i386: export LD_LIBRARY_PATH" After installation, type the following command * library(SJava) * .JavaInit() * .Java("java.lang.System", "getProperty", "java.class.path") * names(.Java("java.lang.System", "getProperties")) Get the correct output (omitted here) . Now the question is: I am using R to interact with Cytoscape ( a visualization tool), which has a plugin called "Cytotalk" that can le...
2009 Sep 14
2
[PATCH node-image] add livecd-iso-to-iscsi script to support iscsi root booting setup
...ager') + udis = hal.FindDeviceByCapability ('storage') + dev_dict = {} + dev_count = 1 + for udi in udis: + dev_obj = bus.get_object ('org.freedesktop.Hal', udi) + dev = dbus.Interface (dev_obj, 'org.freedesktop.Hal.Device') + dev_bus=dev.GetProperty ('storage.bus') + dev_name=dev.GetProperty ('block.device') + dev_size=dev.GetProperty ('storage.size') + dev_size=(dev_size/1024/1024) + basename=os.path.basename(udi) + if dev_bus == "scsi": + print "%s. %s %sM %...
2018 Jan 15
0
Checking when Register Allocation has been performed
Maybe MF.getProperties().hasProperty(MachineFunctionProperties::Property::NoVRegs))? ~Craig On Mon, Jan 15, 2018 at 12:07 PM, Martin J. O'Riordan via llvm-dev < llvm-dev at lists.llvm.org> wrote: > Hi LLVM Devs, > > > > I have some shared code that performs lowering operations that can occur > before or after register allocation. When it is pre-RA I want to only use
2018 Jan 15
3
Checking when Register Allocation has been performed
Hi LLVM Devs, I have some shared code that performs lowering operations that can occur before or after register allocation. When it is pre-RA I want to only use virtual registers for intermediate results, but post-RA I have to use only a very restricted set of physical registers. Code generation using the restricted set is not as efficient as it is when I can use virtual registers. At
2002 Dec 13
0
Problem with RMySQL 0.5-0 under RH7.3
I have upgraded R on my Linux box from 1.5.1 to 1.6.1 using the binary distributions for redhat 7.x. My machine is runing: Linux 2.4.18-3 Red Hat Linux release 7.3 (Valhalla) After upgrading R, I executed upgrade.packages() During the upgrading of the different packages there was an error on RMySQL. Here is a dump of the upgrading messages:
2003 Nov 22
0
R crashes with package SJava; was Memory leakage?
...ay/031969.html https://www.stat.math.ethz.ch/pipermail/r-help/2003-May/032048.html I think I set up JAVA_HOME property, i.e. JAVA_HOME="D:\j2sdk1.4.0_03\jre" So, I can see that these sentences work from R. library(SJava) .JavaInit() .Java("java.lang.System", "getProperty", "java.class.path") names(.Java("java.lang.System", "getProperties")) However, when I try to run an example which uses a call-back process from Java to R, such as "ttest.R" http://www.omegahat.org/RSJava/examples/ttest.R R crushes when I press the...
2007 Feb 22
0
3 commits - libswfdec/swfdec_js.c libswfdec/swfdec_js_movie.c libswfdec/swfdec_script.c
...c movieclip_methods[ { "eval", swfdec_js_global_eval, 1, 0, 0 }, { "getBytesLoaded", mc_getBytesLoaded, 0, 0, 0 }, { "getBytesTotal", mc_getBytesTotal, 0, 0, 0 }, + { "getNextHighestDepth", mc_getNextHighestDepth, 0, 0, 0 }, { "getProperty", swfdec_js_getProperty, 2, 0, 0 }, { "getURL", swfdec_js_getURL, 2, 0, 0 }, { "gotoAndPlay", mc_gotoAndPlay, 1, 0, 0 }, diff-tree 3c4a91276dbf607849f02fc9f637f8caf1c339c6 (from 27f57143cbff3082c9b565e5256023baaf079140) Author: Benjamin Otte <otte@gnome...
2018 Jan 16
2
Checking when Register Allocation has been performed
Please don't rely on this for checking whether regalloc was run: You can have functions without vregs pre-RA[1]. We don't need or should track state such as pre/post-RA as part of the function. Instead it really is a property of where a pass was scheduled, so the pass should know and not the function. I'd recommend simply creating a pre-RA and a post-RA pass instead of scheduling the
2007 Mar 19
0
Trying to fix shdocvw.dll to support IPerPropertyBrowsing GUID
...o work (for the most part... there are OTHER issues that probably need fixing)... I've tried just returning a WEBBROWSER(This) and that doesn't crash. This seemed appropriate as the WEBBROWSER cast macro seems to point to a structure which contains two functions associated with properties: GetProperty and SetProperty... which I figured is where this query was eventually going, but this was probably inappropriate and just a quick stab at a "quick fix"...(at least it didn't crash, but GSAK never comes up and wine never quits... so I'm assuming I created some kind of loop or somet...
2007 Jun 17
2
Branch 'as' - libswfdec/swfdec_as_interpret.c
libswfdec/swfdec_as_interpret.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletion(-) New commits: diff-tree 38fbc1389267e593b44041018cbb1750bdcce0fb (from aaca94203d8a0ccb8feb32c0d57df3401fca0350) Author: Benjamin Otte <otte at gnome.org> Date: Sun Jun 17 14:19:45 2007 +0200 actually convert the values to a string when comparing strings diff --git
2000 Jul 28
0
RJava and Orca...
.../orca.jar",sep="") orcaHomeVisADJar <- paste(orcaHomeDir,"jars/visad.jar",sep="") orcaClasses <- c(orcaHomeOrcaJar,orcaHomeVisADJar) ## Initialize JVM .JavaInit(list(classPath=orcaClasses)) ## Verify JVM has Orca in its path .Java("System", "getProperty", "java.class.path") -------------- VarSelExample.R --------------- ## The .name="blah" part turns out to be essential... od.1 <- .Java("org.orca.data.parsers.OrcaDataSource", "openFileData","data/normclust.dat",.name=&quot...
2008 Dec 14
1
Help - java.library.path
Hello all, I`m a computer science student from Frankfurt/main (germany). Our student team (10 students) are working on a R/Interface project (Java and R) and we have a problem with R and JRI. We are working on 10 computers with Windows XP SP2, R 2.8.0, jdk1.6.0_11 and the same classpath setttings but our application works only on two computers. We can't explain us this.
2016 Sep 14
1
problem with bindings configure script
Olly, I think the confdefs.h issue was due to the fact that I was using XAPIAN_CONFIG to point to the configure script, rather than the xapian_config executable created when making xapian_core, as pointed out by James. Also, as a general note, when trying to make the bindings, I had a problem when make was trying to compile the java source in org/xapian The following line: $(JAVAC)
2007 Mar 21
0
4 commits - libswfdec/swfdec_js_movie.c libswfdec/swfdec_script.c player/swfdec_slow_loader.c
..., 1, 0, 0 }, { "getBytesLoaded", mc_getBytesLoaded, 0, 0, 0 }, { "getBytesTotal", mc_getBytesTotal, 0, 0, 0 }, + { "getDepth", swfdec_js_getDepth, 0, 0, 0 }, { "getNextHighestDepth", mc_getNextHighestDepth, 0, 0, 0 }, { "getProperty", swfdec_js_getProperty, 2, 0, 0 }, { "getURL", swfdec_js_getURL, 2, 0, 0 }, @@ -970,9 +984,9 @@ mc_width_set (JSContext *cx, JSObject *o } swfdec_movie_update (movie); movie->modified = TRUE; - cur = SWFDEC_TWIPS_TO_DOUBLE ((SwfdecTwips) (rint (movie->ex...
2009 Sep 23
2
[PATCH node] Introduces the virtual network administration functions.
...] + +def DestroyNetwork(): + screen = DestroyNetworkConfigScreen() + screen.start() diff --git a/nodeadmin/halworker.py b/nodeadmin/halworker.py index 448c22d..7aa9a04 100644 --- a/nodeadmin/halworker.py +++ b/nodeadmin/halworker.py @@ -35,3 +35,11 @@ class HALWorker: if info.GetProperty("volume.disc.has_data"): result[str(info.GetProperty("block.device"))] = info.GetProperty("volume.label") return result + + def list_network_devices(self): + result = [] + for udi in self.__conn.FindDeviceByCapability(&quo...