06-18-2011
There is no configable option in OBP for skipping memory checks.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
how can I skip the new line of echo? In SH!!!!
echo "the date is :"
date
and result I want is
the date is : Tue Oct 11 22:24:37 WEST 2005
I've already tried including the \c inside the echo, but it didn't work.
Thanks! (2 Replies)
Discussion started by: pmpx
2 Replies
2. Red Hat
Hi,
On server 64bit Hw Arch , Linux 5.0(32bit) is installed it is showing only 3gb of ram though physical is 16gb
can u give me idea why? (4 Replies)
Discussion started by: manoj.solaris
4 Replies
3. UNIX for Dummies Questions & Answers
Hi Guys,
How can i check the RAM usage for a particular user on the Linux machine.
What command can be used.
Thanks in advance,
Swapna (1 Reply)
Discussion started by: Swapna173
1 Replies
4. Shell Programming and Scripting
Hi all
I have some script like this
#!/bin/bash
mv /tmp/file1 tmp/file2
if ] ; then
cp /tmp/filetest/ tmp/file3
if ] then
echo "succes"
else
echo "failed"
fi
else
echo "failed"
fi
i didn't try to see if it's work, the thing is that i don't care if... (4 Replies)
Discussion started by: naamas03
4 Replies
5. UNIX for Dummies Questions & Answers
Hello,
I have a script that uploads a file from local to remote place using ftp. The problem is that, if on remote host there is a file called the same as the one I want to upload, the ftp program overrides that file. But I don't want to override nothing (even if the remote file is older,... (3 Replies)
Discussion started by: spiriad
3 Replies
6. Programming
Hi,
I would like to read an input from keyboard using getchar. However, if no input (No Carriage return/new line none whatsoever) is given after say, 5 seconds, I would like to skip the getchar and move on. How do I do this in C. I'm using GNU compiler set.
Thanks, (5 Replies)
Discussion started by: cprogdude
5 Replies
7. UNIX for Advanced & Expert Users
Hi all,
i'm trying to configure a script that will find and gzip the searched files,
this is easy enough,
find /var/log/myfolder/*.log -type f -mtime +1 -exec gzip {} \;
cd /var/log/myfolder/
mv *gz myzipped_folder/
but what it would be very handy is to skip the files in use,because tomcat... (13 Replies)
Discussion started by: charli1
13 Replies
8. Shell Programming and Scripting
Hi All
I have a sample file like below:
012312112
1372422843 1236712
1372422843 1275127
3109301010
from which I wan't to:
1.)delete... (10 Replies)
Discussion started by: swasid
10 Replies
9. Solaris
is there a way to thoroughly test RAM in Solaris10 (SPARC)?
or is boot test good enough? (5 Replies)
Discussion started by: orange47
5 Replies
10. Red Hat
hi guys,
I wanted to utilize my PC's full RAM memory to check its performance, for that how can i perform this full RAM utilization with the help of a process or a command in rhel 6.
for example, in windows, while checking the harddisk for error (chkdsk - command ) could takes full RAM... (7 Replies)
Discussion started by: redhatlbug
7 Replies
LEARN ABOUT CENTOS
masked_blit
masked_blit(3alleg4) Allegro manual masked_blit(3alleg4)
NAME
masked_blit - Copies a rectangle skipping pixels with the mask color. Allegro game programming library.
SYNOPSIS
#include <allegro.h>
void masked_blit(BITMAP *source, BITMAP *dest, int source_x, int source_y, int dest_x, int dest_y, int width, int height);
DESCRIPTION
Like blit(), but skips transparent pixels, which are marked by a zero in 256-color modes or bright pink for truecolor data (maximum red and
blue, zero green), and requires the source and destination bitmaps to be of the same color depth. The source and destination regions must
not overlap. Example:
BITMAP *hud_overlay;
...
/* Paint hud overlay on the screen. */
masked_blit(hud_overlay, screen, 0, 0, 0, 0,
hud_overlay->w, hud_overlay->h);
If the GFX_HW_VRAM_BLIT_MASKED bit in the gfx_capabilities flag is set, the current driver supports hardware accelerated masked blits from
one part of the screen onto another. This is extremely fast, so when this flag is set it may be worth storing some of your more frequently
used sprites in an offscreen portion of the video memory.
Warning: if the hardware acceleration flag is not set, masked_blit() will not work correctly when used with a source image in system or
video memory so the latter must be a memory bitmap.
SEE ALSO
blit(3alleg4), masked_stretch_blit(3alleg4), draw_sprite(3alleg4), bitmap_mask_color(3alleg4), ex12bit(3alleg4), expat(3alleg4)
Allegro version 4.4.2 masked_blit(3alleg4)