search for: sharedobject

Displaying 15 results from an estimated 15 matches for "sharedobject".

2019 May 16
3
ALTREP: Bug reports
...ternal again, alt2 will not get wrapped. This makes the problem even more difficult since we cannot predict when would the wrapper appear. Here is the source code for the wrapper: https://github.com/wch/r-source/blob/trunk/src/main/altclasses.c#L1399 Here is a working example if one can build the sharedObject package from https://github.com/Jiefei-Wang/sharedObject n=100 > x=runif(n) > so1=sharedObject(x,copyOnWrite = FALSE) > so2=so1 > so2[1]=10 > .Internal(inspect(so1)) > .Internal(inspect(so2)) Here is my session info: R version 3.6.0 alpha (2019-04-08 r76348) > Platform: x86...
2020 Oct 19
1
Is there any way to check the class of an ALTREP?
Thank Denes for the clarification, glad to see my package got one citation from my own question:) Also, thank Benjamin for sending many useful documents. Actually, the question is related to the SharedObject package that Benjamin has pointed to. I wanna avoid sharing an object that has already been shared, so I need to check whether an object is an ALTREP that is defined in my package. Since the ALTREP definition involves an ` R_altrep_class_t` object and a class name, I will expect to see a method de...
2020 Oct 19
2
Is there any way to check the class of an ALTREP?
...know how one can "officially" determine if an arbitrary ALTERP object belongs to a class that he owns. Regards, Denes On 10/19/20 10:22 AM, Benjamin Christoffersen wrote: > It seems as if you can you use the ALTREP macro as done in this > package: https://github.com/Jiefei-Wang/SharedObject/blob/804b6ac58c63a4bae95343ab43e8b1547b07ee6b/src/C_interface.cpp#L185 > > and in base R: https://github.com/wch/r-source/blob/54fbdca9d3fc63437d9e697f442d32732fb4f443/src/include/Rinlinedfuns.h#L118 > > The macro is defined here in Rinternals.h: > https://github.com/wch/r-source/b...
2019 May 16
3
ALTREP: Bug reports
...t any code you write > does the same. > > Does that help? > > Best, > ~G > >> >> Here is the source code for the wrapper: >> https://github.com/wch/r-source/blob/trunk/src/main/altclasses.c#L1399 >> >> Here is a working example if one can build the sharedObject package from >> https://github.com/Jiefei-Wang/sharedObject >> >> n=100 >> > x=runif(n) >> > so1=sharedObject(x,copyOnWrite = FALSE) >> > so2=so1 >> > so2[1]=10 >> > .Internal(inspect(so1)) >> > .Internal(inspect(so2)) >>...
2007 Nov 27
0
12 commits - libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_strings.c libswfdec/swfdec_loader.c libswfdec/swfdec_loader_internal.h libswfdec/swfdec_load_object_as.c libswfdec/swfdec_load_object.c libswfdec/swfdec_load_object.h
...lobal", "NetStream", false], + ["_global", "Number", false], + ["_global", "PrintJob", false], + ["_global", "RemoteLSOUsage", false], + ["_global", "Selection", false], + ["_global", "SharedObject", false], + ["_global", "Sound", false], + ["_global", "Stage", false], + ["_global", "String", false], + ["_global", "System", false], + ["_global", "TextField", false], + ["_global&...
2019 May 16
0
ALTREP: Bug reports
...de you write should hit these API entrypoints so that any code you write does the same. Does that help? Best, ~G > > Here is the source code for the wrapper: > https://github.com/wch/r-source/blob/trunk/src/main/altclasses.c#L1399 > > Here is a working example if one can build the sharedObject package from > https://github.com/Jiefei-Wang/sharedObject > > n=100 > > x=runif(n) > > so1=sharedObject(x,copyOnWrite = FALSE) > > so2=so1 > > so2[1]=10 > > .Internal(inspect(so1)) > > .Internal(inspect(so2)) > > > Here is my session info: >...
2020 Oct 19
2
Is there any way to check the class of an ALTREP?
Hi all, I would like to determine if an ALTREP object is from my package, I see there is a function `ALTREP_CLASS` defined in RInternal.h but its return value is neither a `R_altrep_class_t` object nor an STRSXP representing a class name. I do not know how to correctly use it. Any suggestions? Thanks, Jiefei [[alternative HTML version deleted]]
2019 May 16
0
ALTREP: Bug reports
...;> >> Does that help? >> >> Best, >> ~G >> >>> >>> Here is the source code for the wrapper: >>> https://github.com/wch/r-source/blob/trunk/src/main/altclasses.c#L1399 >>> >>> Here is a working example if one can build the sharedObject package from >>> https://github.com/Jiefei-Wang/sharedObject >>> >>> n=100 >>> > x=runif(n) >>> > so1=sharedObject(x,copyOnWrite = FALSE) >>> > so2=so1 >>> > so2[1]=10 >>> > .Internal(inspect(so1)) >>> &...
2007 Aug 22
0
3 commits - libswfdec/swfdec_as_array.c libswfdec/swfdec_as_function.c test/trace
..._global.MovieClipLoader = MovieClipLoader; +_global.NaN = NaN; +_global.NetConnection = NetConnection; +_global.NetStream = NetStream; +_global.Number = Number; +_global.Object = Object; +_global.PrintJob = PrintJob; +_global.RemoteLSOUsage = RemoteLSOUsage; +_global.Selection = Selection; +_global.SharedObject = SharedObject; +_global.Sound = Sound; +_global.Stage = Stage; +_global.String = String; +_global.System = System; +_global.TextField = TextField; +_global.TextFormat = TextFormat; +_global.TextSnapshot = TextSnapshot; +_global.Video = Video; +_global.XML = XML; +_global.XMLNode = XMLNode; +_globa...
2020 Oct 19
0
Is there any way to check the class of an ALTREP?
It seems as if you can you use the ALTREP macro as done in this package: https://github.com/Jiefei-Wang/SharedObject/blob/804b6ac58c63a4bae95343ab43e8b1547b07ee6b/src/C_interface.cpp#L185 and in base R: https://github.com/wch/r-source/blob/54fbdca9d3fc63437d9e697f442d32732fb4f443/src/include/Rinlinedfuns.h#L118 The macro is defined here in Rinternals.h: https://github.com/wch/r-source/blob/abb550c99b3927e5fc03d...
2020 Oct 19
0
Is there any way to check the class of an ALTREP?
...determine if an > arbitrary ALTERP object belongs to a class that he owns. > > Regards, > Denes > > > On 10/19/20 10:22 AM, Benjamin Christoffersen wrote: > > It seems as if you can you use the ALTREP macro as done in this > > package: https://github.com/Jiefei-Wang/SharedObject/blob/804b6ac58c63a4bae95343ab43e8b1547b07ee6b/src/C_interface.cpp#L185 > > > > and in base R: https://github.com/wch/r-source/blob/54fbdca9d3fc63437d9e697f442d32732fb4f443/src/include/Rinlinedfuns.h#L118 > > > > The macro is defined here in Rinternals.h: > > https://gi...
2011 Oct 26
0
ITP for XCP toolstack (xapi) on Debian
...supported). 3/ *My* debian/copyright is correct ... :) Please don't even try to upload your blktap with such copyright, or accept the flames from the ftp-masters... :) 4/ There's still few lintian warnings in my package, the only one I'm really concerned with is: E: libblktapctl1.0: sharedobject-in-library-directory-missing-soname usr/lib/libblktapctl.so.1.0 N: N: A shared object was identified in a library directory (a directory in N: the standard linker path) which doesn't have a SONAME. This is usually N: an error. N: N: SONAMEs are set with something like gcc -Wl,-soname,libfoo.so....
2018 Feb 15
4
ACL not set from Microsoft
...tory_mode = 2770         recycle:versions = True         recycle:keeptree = True         recycle:touch = True         recycle:touch_mtime = False         #recycle:minsize = 1         recycle:exclude = *.tmp *.temp ~$* *.~?? *.o *.obj *.swp *~ .~lock.*         recycle:exclude_dir = .recycle ?SharedObjects         full_audit:prefix = %u|%I|%m|%S         full_audit:success = mkdir rmdir rename read write unlink chown readlink link mknod fset_nt_acl sys_acl_set_file sys_acl_set_fd sys_acl_delete_def_file pwrite open         full_audit:failure = connect         full_audit:facility = LOCAL4    ...
2008 Dec 14
1
Changes to ''rtmp''
...Author: Benjamin Otte <otte at gnome.org> Date: Thu Nov 27 22:38:26 2008 +0100 add a new test infrastructure for rtmp commit 8eb2920e6d98899d1ab9c9f93a9c6625161b9cc1 Author: Benjamin Otte <otte at gnome.org> Date: Thu Nov 27 09:16:08 2008 +0100 return an empty Object from SharedObject.getLocal makes some Flash files work better than when returning undefined commit a273dab05ebc55db2acf0cd22c025b3ec2a1d4a5 Author: Benjamin Otte <otte at gnome.org> Date: Thu Nov 27 09:15:58 2008 +0100 remove outdated FIXME commit 8e4f3487775671dbb4ce9164c2502553f0830718 Auth...
2007 Dec 18
2
Changes to 'refs/tags/0.5.5'
...n < 8 in several tests Add stubs for ExternalInterface Add stubs for Matrix Add a stub for showRedrawRegions Update global-function-properties to include showRedrawRegions and few others Forgot stubs from couple of ExternalInterface's methods Add stubs for SharedObject Add a test for SharedObject's properties Implement the (very broken) AsSetupError function Add AsSetupError to global-function-properties test Add a test for AsSetupError Add stubs for RemoteLSOUsage Add a test for RemoteLSOUsage's properties Add st...