search for: bitand

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

Did you mean: bitang
2011 Dec 01
2
How to speed up int2bin conversion?
Dear R-help members, I'm processing a large amount of MODIS data where quality assessment information is stored as an integer value for each pixel. I have to converted this number to an 8 digit binary flag to get access to the stored quality code (e.g. in2bin(165,8) = 1 0 1 0 0 1 0 1). Unfortunately, I did not manage to find a package providing a fast function to do so. I need to run
2009 Oct 07
1
Bug (PR#13987)
Full_Name: Clemens Bockmeyer Version: 2.9.0 OS: Submission from: (NULL) (193.174.111.250) Dear helpdesk, the following bug occurs when working with BRB Array tools trying to generate a heat map: Error in rgb (bitAnd(Max color 255), bit and Max color %/%256, 255 bit And Max color... could not find function "bitAnd". Error occured while executing the following R command: myplot.image.array (TRUE). Error may be memory related or due to size of graphic file. Try again with fewer genes or... My quest...
2007 Jan 31
0
Branch 'interpreter' - 3 commits - libswfdec/js libswfdec/swfdec_script.c
...+++++++++++++++++++++++++++++----- 2 files changed, 104 insertions(+), 12 deletions(-) New commits: diff-tree ae64862c94f18618313c90c28b4071d84693b7b5 (from 71b090ccdeedb1e96b2f8590844844139b00bd85) Author: Benjamin Otte <otte@gnome.org> Date: Wed Jan 31 21:35:50 2007 +0100 implement BitAnd, BitOr, BitXor, DefineLocal, DefineLocal2 and Return diff --git a/libswfdec/swfdec_script.c b/libswfdec/swfdec_script.c index 9b3a328..46ba618 100644 --- a/libswfdec/swfdec_script.c +++ b/libswfdec/swfdec_script.c @@ -1359,6 +1359,35 @@ swfdec_action_define_function (JSContext } static JSBool...
2008 Jan 23
0
[PATCH 1/1] '! x & y' priority mistake in nvsDumpInstruction(), nouveau_shader.c
'!' has a higher priority than '&': bitanding has no effect. Signed-off-by: Roel Kluin <12o3l at tiscali.nl> --- diff --git a/src/mesa/drivers/dri/nouveau/nouveau_shader.c b/src/mesa/drivers/dri/nouveau/nouveau_shader.c index b6837c5..1118fdb 100644 --- a/src/mesa/drivers/dri/nouveau/nouveau_shader.c +++ b/src/mesa/drivers/dri/nouvea...
2009 Mar 29
4
binary AND operators in R
I cannot find any R function or operator that performs a binary AND operation, as performed by Fortran built-in function "iand". Ideally either R operator "&" or "&&" should do that. But some tests proved they do not: > A<- 1 > B <- 2 > A [1] 1 > B [1] 2 > as.numeric(A&B) [1] 1 > as.numeric(A&&B) [1] 1 The binary
2011 Feb 14
2
Is there a way to force counters to be treated as "unsigned?"
I am acquiring some sampled data that is time-stamped (with a POSIXct). Some of the data is in the form of "counters" -- that is, what is interesting isn't value of a given counter at a given time, but the change in the counter from one sample to a later one. As the counters are only incremented, they would be perceived to be monotonically increasing -- ideally. Unfortunately, the
2007 Apr 16
0
Branch 'as' - 3 commits - libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_object.c libswfdec/swfdec_as_object.h
...ec_action_enumerate2 } }, +#endif + [SWFDEC_AS_ACTION_INSTANCE_OF] = { "InstanceOf", NULL }, + [SWFDEC_AS_ACTION_ENUMERATE2] = { "Enumerate2", NULL, 1, -1, { NULL, NULL, NULL, swfdec_action_enumerate2, swfdec_action_enumerate2 } }, /* version 5 */ +#if 0 [0x60] = { "BitAnd", NULL, 2, 1, { NULL, NULL, swfdec_action_bitwise, swfdec_action_bitwise, swfdec_action_bitwise } }, [0x61] = { "BitOr", NULL, 2, 1, { NULL, NULL, swfdec_action_bitwise, swfdec_action_bitwise, swfdec_action_bitwise } }, [0x62] = { "BitXor", NULL, 2, 1, { NULL, NULL, s...
2007 Jun 08
0
Changes to 'refs/tags/0.4.2'
...rgetPath, GotoLabel, GotoFrame2 add test for Color constructor make eval (obj, "") return obj and not undefined add print function for SetTarget handle colors not referring to movies implement Equals initialize the constant pool as empty implement BitAnd, BitOr, BitXor, DefineLocal, DefineLocal2 and Return implement ConstantPool inheritance for DefineFunction add a column for the type of the object on the stack allow calling functions on numbers and strings by converting them to proper objects fix to_number conversions for n...
2007 Oct 23
0
6 commits - libswfdec/swfdec_as_frame.c libswfdec/swfdec_as_internal.h libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_interpret.h libswfdec/swfdec_as_object.c libswfdec/swfdec_as_script_function.c libswfdec/swfdec_flash_security.c
...nceOf", NULL }, [SWFDEC_AS_ACTION_ENUMERATE2] = { "Enumerate2", NULL, 1, -1, { NULL, NULL, NULL, swfdec_action_enumerate2, swfdec_action_enumerate2 } }, + [SWFDEC_AS_ACTION_BREAKPOINT] = { "Breakpoint", NULL, }, /* version 5 */ [SWFDEC_AS_ACTION_BIT_AND] = { "BitAnd", NULL, 2, 1, { NULL, NULL, swfdec_action_bitwise, swfdec_action_bitwise, swfdec_action_bitwise } }, [SWFDEC_AS_ACTION_BIT_OR] = { "BitOr", NULL, 2, 1, { NULL, NULL, swfdec_action_bitwise, swfdec_action_bitwise, swfdec_action_bitwise } }, @@ -2884,6 +2885,7 @@ const SwfdecActionSp...
2007 Nov 07
0
14 commits - libswfdec/swfdec_as_context.c libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_interpret.h libswfdec/swfdec_net_stream.c libswfdec/swfdec_script.c libswfdec/swfdec_sprite_movie.c libswfdec/swfdec_tag.c libswfdec/swfdec_text_field_movie.c
..._ENUMERATE2] = { "Enumerate2", NULL, 1, -1, swfdec_action_enumerate2, 6 }, - [SWFDEC_AS_ACTION_BREAKPOINT] = { "Breakpoint", NULL, }, + [SWFDEC_AS_ACTION_BREAKPOINT] = { "Breakpoint", NULL, -1, -1, NULL, 6 }, /* version 5 */ [SWFDEC_AS_ACTION_BIT_AND] = { "BitAnd", NULL, 2, 1, swfdec_action_bitwise, 5 }, [SWFDEC_AS_ACTION_BIT_OR] = { "BitOr", NULL, 2, 1, swfdec_action_bitwise, 5 }, @@ -3193,7 +3193,7 @@ const SwfdecActionSpec swfdec_as_actions[256] = { /* version 6 */ [SWFDEC_AS_ACTION_STRICT_EQUALS] = { "StrictEquals", NUL...
2007 Apr 27
0
Changes to 'refs/tags/0.4.3'
...rgetPath, GotoLabel, GotoFrame2 add test for Color constructor make eval (obj, "") return obj and not undefined add print function for SetTarget handle colors not referring to movies implement Equals initialize the constant pool as empty implement BitAnd, BitOr, BitXor, DefineLocal, DefineLocal2 and Return implement ConstantPool inheritance for DefineFunction add a column for the type of the object on the stack allow calling functions on numbers and strings by converting them to proper objects fix to_number conversions for n...
2007 Apr 27
0
Changes to 'refs/tags/0.4.4'
...rgetPath, GotoLabel, GotoFrame2 add test for Color constructor make eval (obj, "") return obj and not undefined add print function for SetTarget handle colors not referring to movies implement Equals initialize the constant pool as empty implement BitAnd, BitOr, BitXor, DefineLocal, DefineLocal2 and Return implement ConstantPool inheritance for DefineFunction add a column for the type of the object on the stack allow calling functions on numbers and strings by converting them to proper objects fix to_number conversions for n...
2007 Feb 06
0
109 commits - configure.ac libswfdec/js libswfdec/Makefile.am libswfdec/swfdec_bits.c libswfdec/swfdec_bits.h libswfdec/swfdec_buffer.c libswfdec/swfdec_button_movie.c libswfdec/swfdec_codec_screen.c libswfdec/swfdec_color.c libswfdec/swfdec_color.h
...}, - { 0x51, "Decrement", compile_decrement }, - { 0x52, "CallMethod", compile_call_method }, - { 0x53, "NewMethod", NULL }, - /* version 6 */ - { 0x54, "InstanceOf", NULL }, - { 0x55, "Enumerate2", NULL }, - /* version 5 */ - { 0x60, "BitAnd", NULL }, - { 0x61, "BitOr", NULL }, - { 0x62, "BitXor", NULL }, - { 0x63, "BitLShift", NULL }, - { 0x64, "BitRShift", NULL }, - { 0x65, "BitURShift", NULL }, - /* version 6 */ - { 0x66, "StrictEquals", NULL }, - { 0x67, &quot...
2007 Jan 31
0
Branch 'interpreter' - 20 commits - autogen.sh configure.ac libswfdec/js libswfdec/swfdec_debug.h libswfdec/swfdec_js.c libswfdec/swfdec_js_color.c libswfdec/swfdec_js_movie.c libswfdec/swfdec_movie.c libswfdec/swfdec_movie.h libswfdec/swfdec_script.c
..."Return", NULL }, [0x3f] = { "Modulo", NULL }, [0x40] = { "NewObject", NULL, -1, 1, { NULL, NULL, swfdec_action_new_object, swfdec_action_new_object, swfdec_action_new_object } }, @@ -1495,9 +1554,9 @@ static const SwfdecActionSpec actions[25 [0x60] = { "BitAnd", NULL }, [0x61] = { "BitOr", NULL }, [0x62] = { "BitXor", NULL }, - [0x63] = { "BitLShift", NULL }, - [0x64] = { "BitRShift", NULL }, - [0x65] = { "BitURShift", NULL }, + [0x63] = { "BitLShift", NULL, 2, 1, { NULL, NULL, sw...
2007 Apr 04
0
Branch 'as' - 4 commits - libswfdec/Makefile.am libswfdec/swfdec_as_context.c libswfdec/swfdec_as_frame.c libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_interpret.h libswfdec/swfdec_as_object.c libswfdec/swfdec_as_types.c libswfdec/swfdec_as_types.h
..._new_method, swfdec_action_new_method, swfdec_action_new_method } }, + /* version 6 */ + [0x54] = { "InstanceOf", NULL }, + [0x55] = { "Enumerate2", NULL, 1, -1, { NULL, NULL, NULL, swfdec_action_enumerate2, swfdec_action_enumerate2 } }, + /* version 5 */ + [0x60] = { "BitAnd", NULL, 2, 1, { NULL, NULL, swfdec_action_bitwise, swfdec_action_bitwise, swfdec_action_bitwise } }, + [0x61] = { "BitOr", NULL, 2, 1, { NULL, NULL, swfdec_action_bitwise, swfdec_action_bitwise, swfdec_action_bitwise } }, + [0x62] = { "BitXor", NULL, 2, 1, { NULL, NULL, s...
2007 Mar 12
0
11 commits - libswfdec/js libswfdec/swfdec_loader.c libswfdec/swfdec_root_sprite.c libswfdec/swfdec_script.c player/swfdebug.c player/swfdec_player_manager.c test/trace
...action_new_method } }, /* version 6 */ [0x54] = { "InstanceOf", NULL }, - [0x55] = { "Enumerate2", NULL }, + [0x55] = { "Enumerate2", NULL, 1, -1, { NULL, NULL, NULL, swfdec_action_enumerate2, swfdec_action_enumerate2 } }, /* version 5 */ [0x60] = { "BitAnd", NULL, 2, 1, { NULL, NULL, swfdec_action_bitwise, swfdec_action_bitwise, swfdec_action_bitwise } }, [0x61] = { "BitOr", NULL, 2, 1, { NULL, NULL, swfdec_action_bitwise, swfdec_action_bitwise, swfdec_action_bitwise } }, diff-tree da61842ce18333f525b5f18f790cebf68141d11a (from a470...
2003 Jun 27
1
R-help Digest, Vol 4, Issue 27 ( -Reply)
...ch> Message-ID: <6EEA47532CD0D611887500B0D04943453FB8E5 at TFSMDMSG7> Content-Type: text/plain; charset="iso-8859-1" Hi, I primarily use Splus for analysing TCP/IP traffic at the packet level. Several years ago, I hacked together functions using the .C call for bit operations: bitAnd, bitOr, bitFlip, bitShiftL, bitShiftR, bitXor and crc(char). Are there any more standard alternatives for these? If not, and, if any there is any interest, I would be happy to help package what I have for distribution. Additionally, I would interested in hearing offline from anyone using R/S...