Displaying 20 results from an estimated 121 matches for "0xffffff".
2007 Nov 02
0
5 commits - libswfdec/swfdec_text_field.c libswfdec/swfdec_text_field_movie_as.c libswfdec/swfdec_text_field_movie.c libswfdec/swfdec_xml.c libswfdec/swfdec_xml_node.c
...|
+ SWFDEC_COLOR_B (text->background_color));
}
static void
@@ -546,7 +549,11 @@ swfdec_text_field_movie_get_borderColor (SwfdecAsContext *cx,
SWFDEC_AS_CHECK (SWFDEC_TYPE_TEXT_FIELD_MOVIE, &text, "");
- SWFDEC_AS_VALUE_SET_NUMBER (ret, text->border_color & 0xffffff);
+
+ SWFDEC_AS_VALUE_SET_NUMBER (ret,
+ SWFDEC_COLOR_R (text->border_color) << 16 |
+ SWFDEC_COLOR_G (text->border_color) << 8 |
+ SWFDEC_COLOR_B (text->border_color));
}
static void
commit 625d6ff01fdd5cea2179ad51c6c4331d4741e152
Author: Pekka Lampila <...
2008 Jul 17
3
Colours in R
Hi list,
I will help an person that will use some graphics of R in internet.
But this pearson want to specify the colours. This person want me to create
an pallete of colours like that:
Name of color - Code - Colour
White - 0xFFFFFF - color white (like an box with this color)
I know that is possible with R, but i don't know how.
Thanks for the advance.
Atenciosamente,
Leandro Lins Marino
Centro de Avalia??o
Funda??o CESGRANRIO
Rua Santa Alexandrina, 1011 - 2? andar
Rio de Janeiro, RJ - CEP: 20261-903
( (21) 2103-9600 R...
2016 Dec 13
1
Offset too large on scattered relocations
Thanks for the response Nick,
Do you think there is value in adding the check for FixupOffset > 0xffffff
into the ARM backend? The lack of that seems like it could silently record
incorrect offsets from the assignment later in
RecordARMScatteredRelocation():
MRE.r_word0 = ((FixupOffset << 0) |
(Type << 24) |
(MovtBit << 28) |...
2016 Dec 07
2
Offset too large on scattered relocations
..., so the PAIR comes first.
if (Type == MachO::GENERIC_RELOC_SECTDIFF ||
Type == MachO::GENERIC_RELOC_LOCAL_SECTDIFF) {
// If the offset is too large to fit in a scattered relocation,
// we're hosed. It's an unfortunate limitation of the MachO format.
if (FixupOffset > 0xffffff) {
char Buffer[32];
format("0x%x", FixupOffset).print(Buffer, sizeof(Buffer));
Asm.getContext().reportError(Fixup.getLoc(),
Twine("Section too large, can't encode "
"r_address (") + Buffer +...
2016 Dec 07
0
Offset too large on scattered relocations
....
> if (Type == MachO::GENERIC_RELOC_SECTDIFF ||
> Type == MachO::GENERIC_RELOC_LOCAL_SECTDIFF) {
> // If the offset is too large to fit in a scattered relocation,
> // we're hosed. It's an unfortunate limitation of the MachO format.
> if (FixupOffset > 0xffffff) {
> char Buffer[32];
> format("0x%x", FixupOffset).print(Buffer, sizeof(Buffer));
> Asm.getContext().reportError(Fixup.getLoc(),
> Twine("Section too large, can't encode "
> "r_ad...
2016 Mar 16
0
[PATCH mesa 3/6] nouveau: codegen: gk110: Make emitSTORE offset handling identical to emitLOAD
...--- a/src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gk110.cpp
+++ b/src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gk110.cpp
@@ -1655,10 +1655,8 @@ CodeEmitterGK110::emitSTORE(const Instruction *i)
break;
}
- if (i->src(0).getFile() != FILE_MEMORY_GLOBAL)
- offset &= 0xffffff;
-
if (code[0] & 0x2) {
+ offset &= 0xffffff;
emitLoadStoreType(i->dType, 0x33);
if (i->src(0).getFile() == FILE_MEMORY_LOCAL)
emitCachingMode(i->cache, 0x2f);
--
2.7.2
2014 Oct 11
1
bitmath.h static array
...line unsigned int FLAC__clz_soft_uint32(unsigned int word)
{
static const unsigned char byte_to_unary_table[] = {
8, 7, 6, 6, 5, 5, 5, 5, 4, 4, 4, 4, 4, 4, 4, 4,
....................................
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
};
return (word) > 0xffffff ? byte_to_unary_table[(word) >> 24] :
(word) > 0xffff ? byte_to_unary_table[(word) >> 16] + 8 :
(word) > 0xff ? byte_to_unary_table[(word) >> 8] + 16 :
byte_to_unary_table[(word)] + 24;
}
It seems that it adds a copy of byte_to_unary_table[] array to
any fil...
2010 Apr 04
1
[PATCH] mboot: set boot device
...[])
mboot_apm();
mboot_syslinux_info();
+ /* Set boot device info */
+ const union syslinux_derivative_info *sdi;
+ sdi = syslinux_derivative_info();
+ if (sdi->c.filesystem != SYSLINUX_FS_PXELINUX) {
+ mbinfo.boot_device = (sdi->disk.drive_number << 24) | 0xffffff;
+ mbinfo.flags |= MB_INFO_BOOTDEV;
+ }
+
if (opt.solaris)
mboot_solaris_dhcp_hack();
2007 Oct 27
1
libswfdec/swfdec_text_field_movie.c
libswfdec/swfdec_text_field_movie.c | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit 27e0f570ff653063b78efc89a604236e7fe03ece
Author: Pekka Lampila <pekka.lampila at iki.fi>
Date: Sat Oct 27 17:14:06 2007 +0300
Init TextField's native properties when TextField is created from a tag
diff --git a/libswfdec/swfdec_text_field_movie.c
2007 Oct 23
0
9 commits - libswfdec/swfdec_as_strings.c libswfdec/swfdec_html_parser.c libswfdec/swfdec_style_sheet.c libswfdec/swfdec_style_sheet.h libswfdec/swfdec_text_field_movie_as.c libswfdec/swfdec_text_field_movie.c libswfdec/swfdec_text_field_movie.h
...c
@@ -481,7 +481,7 @@ swfdec_text_field_movie_get_backgroundColor (SwfdecAsContext *cx,
SWFDEC_AS_CHECK (SWFDEC_TYPE_TEXT_FIELD_MOVIE, &text, "");
- SWFDEC_AS_VALUE_SET_NUMBER (ret, text->background_color);
+ SWFDEC_AS_VALUE_SET_NUMBER (ret, text->background_color & 0xffffff);
}
static void
@@ -495,7 +495,8 @@ swfdec_text_field_movie_set_backgroundColor (SwfdecAsContext *cx,
SWFDEC_AS_CHECK (SWFDEC_TYPE_TEXT_FIELD_MOVIE, &text, "i", &value);
- color = swfdec_text_field_movie_int_to_color (cx, value);
+ color = (swfdec_text_field_movie_int...
2006 Apr 04
6
Problems matching by mac address
...pfifo
tc qdisc add dev eth1 parent 1:2 handle 12: htb
tc class add dev eth1 parent 12: classid 12:10 htb rate 128kbit
tc qdisc add dev eth1 parent 12:10 sfq quantum 1514 perturb 15
tc filter add dev eth1 protocol ip parent 12: prio 5 u32 match u16
0x0800 0xFFFF at -2 match u32 0x3f05437f 0xFFFFFF at -12 match u16
0x0012 0xFFFF at -14 flowid 12:10
eth1 is the outgoing interface on a bridge I have setup.
When I download a large file through the bridge, it is still showing
7Mbit on a 10Mbit network. The weird part is, everything limits just
fine if I change the filter to match by IP de...
2009 Nov 06
2
[PATCH 1/2] drm/nv10: Keep the lower bits of PGRAPH_CTX_USER during context switches.
...@ int nv10_graph_load_context(struct nouveau_channel *chan)
nv10_graph_load_pipe(chan);
nv_wr32(dev, NV10_PGRAPH_CTX_CONTROL, 0x10010100);
- nv_wr32(dev, NV10_PGRAPH_CTX_USER, chan->id << 24);
+ tmp = nv_rd32(dev, NV10_PGRAPH_CTX_USER);
+ nv_wr32(dev, NV10_PGRAPH_CTX_USER, (tmp & 0xffffff) | chan->id << 24);
tmp = nv_rd32(dev, NV10_PGRAPH_FFINTFC_ST2);
nv_wr32(dev, NV10_PGRAPH_FFINTFC_ST2, tmp & 0xcfffffff);
return 0;
--
1.6.4.4
2007 Nov 01
0
2 commits - libswfdec/swfdec_text_field_movie.c test/image
...ound) {
cairo_rectangle (cr, limit.x0, limit.y0, limit.x1 - limit.x0, limit.y1 - limit.y0);
color = swfdec_color_apply_transform (text_movie->background_color, trans);
- swfdec_color_set_source (cr, color);
+ // always use full alpha
+ swfdec_color_set_source (cr, (color & 0xffffff) + (255 << 24));
cairo_fill (cr);
}
@@ -604,7 +605,8 @@ swfdec_text_field_movie_render (SwfdecMovie *movie, cairo_t *cr,
movie->original_extents.y1 - movie->original_extents.y0 -
SWFDEC_DOUBLE_TO_TWIPS (1));
color = swfdec_color_apply_transform (text_movie->border_...
2012 May 09
1
[PATCH 2/2] bitmath: Finish up optimizations
...__builtin_clz (unsigned int x) If x is 0, the result is undefined" */
-static inline uint32_t
-COUNT_ZERO_MSBS (uint32_t word)
-{
- if (word == 0)
- return 32;
- return __builtin_clz (word);
-}
-#else
-/* counts the # of zero MSBs in a word */
-#define COUNT_ZERO_MSBS(word) ( \
- (word) > 0xffffff ? byte_to_unary_table[(word) >> 24] : \
- !(word) ? 32 : \
- (word) > 0xffff ? byte_to_unary_table[(word) >> 16] + 8 : \
- (word) > 0xff ? byte_to_unary_table[(word) >> 8] + 16 : \
- byte_to_unary_table[(word)] + 24 \
-)
-#endif
-
-
/*
* This should be at least twice as l...
2005 Nov 02
1
[LLVMdev] [fwd] Re: LLVM Compiler Infrastructure
Chris, thank you for your reply.
Our problem is that we don't assume an integer must have 32 bits.
In our code generation, we can define an integer to be less than 32 bits.
For example, 24 bits.
In this case, by executing this LLVM code (my first example) on a 24-bit
machine, let x = 0xFFFFFF,
then we will get %tmp.2 = 0x003FFF, and %tmp.3 = 0x3FFF, which is positive.
That is not correct because
the sign flag is lost.
I know that this transformation is correct and may be efficient for a 32-bit
machine of course.
But it introduces the problem above in our scenario, and we would like the...
2009 May 15
1
[PATCH server] First round of (largely) cosmetic changes to flexchart.
...,20 @@ package org.ovirt.charts {
chartArea = new Canvas();
chartArea.percentHeight = 100;
chartArea.percentWidth = 100 - yLabelPercentWidth;
- chartArea.setStyle("backgroundColor","0xbbccdd");
+ chartArea.setStyle("backgroundColor","0xffffff");
chartArea.verticalScrollPolicy = ScrollPolicy.OFF
chartFrame.addChild(yScale);
chartFrame.addChild(chartArea);
- this.container.addChild(chartFrame);
+
+ chartFrame.addEventListener(FlexEvent.CREATION_COMPLETE,drawLine);
XAxisLabelArea = new Canva...
2004 Sep 10
2
1.0 candidate checked in
> OK, attempting one more convergence on all this, here's
> what I did:
>
> 1. Reverted back to rev 1.5 of src/libFLAC/ia32/Makefile.am
> 2. Applied Matt's last cleanup patch of 8 files. I did not
> apply the patch to src/test_unit/main.c since it looks wrong.
> main.c is supposed to include the local bitbuffer.h, not
> src/libFLAC/private/bitbuffer.h; I think the
2018 Feb 20
4
[PATCH] drm/nouveau: Replace the iturbt_709 prop with the standarad COLOR_ENCODNIG prop
...DRM_COLOR_YCBCR_BT709)
format |= NV_PVIDEO_FORMAT_MATRIX_ITURBT709;
if (nv_plane->colorkey & (1 << 24))
format |= NV_PVIDEO_FORMAT_DISPLAY_COLOR_KEY;
@@ -229,7 +228,7 @@ nv10_set_params(struct nouveau_plane *plane)
nvif_wr32(dev, NV_PVIDEO_COLOR_KEY, plane->colorkey & 0xffffff);
if (plane->cur) {
- if (plane->iturbt_709)
+ if (plane->color_encoding == DRM_COLOR_YCBCR_BT709)
format |= NV_PVIDEO_FORMAT_MATRIX_ITURBT709;
if (plane->colorkey & (1 << 24))
format |= NV_PVIDEO_FORMAT_DISPLAY_COLOR_KEY;
@@ -258,8 +257,8 @@ nv_set_property(s...
2010 Mar 11
17
Panic on boot on Sun Blade 6270
Hi All,
I''m getting the attached panic in the hypervisor on a Sun 6270 running
xen-testing.hg changeset 19913:6063c16aeeaa. I can run xen-3.3.1 from
the standard SLES 11 distribution (which says that it''s changeset
18546 but it has many patches). Any ideas?
thanks,
dan
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
2020 Aug 19
0
[PATCH 09/28] MIPS/jazzdma: remove the unused vdma_remap function
...int vdma_free(unsigned long laddr)
EXPORT_SYMBOL(vdma_free);
-/*
- * Map certain page(s) to another physical address.
- * Caller must have allocated the page(s) before.
- */
-int vdma_remap(unsigned long laddr, unsigned long paddr, unsigned long size)
-{
- int first, pages;
-
- if (laddr > 0xffffff) {
- if (vdma_debug)
- printk
- ("vdma_map: Invalid logical address: %08lx\n",
- laddr);
- return -EINVAL; /* invalid logical address */
- }
- if (paddr > 0x1fffffff) {
- if (vdma_debug)
- printk
- ("vdma_map: Invalid physical address: %08lx\n",
-...