03-05-2008
Cpu
you are very well know what i am coming to say..! then y can't help me..?
8 More Discussions You Might Find Interesting
1. SCO
In the sco unix ,how can i get the system information ?
such as cpu,memory,interrupter,io ports etc
look forword to quick replay (2 Replies)
Discussion started by: fresh
2 Replies
2. What is on Your Mind?
Well, I'm going to free myself a bit from Unix-ish stuff. :D
Which is your favorite team? Are you supporting your local team?
IMO, I think Italy and Spain have great chances. Both teams have a great formation and players; Recently I was watching some of their matches and their gameplay is... (0 Replies)
Discussion started by: verdepollo
0 Replies
3. What is on Your Mind?
Spain or the Netherlands? (12 Replies)
Discussion started by: Neo
12 Replies
4. Hardware
Hi All,
What is the difference between CPU CHIP and CUP ID on SUN/ Oracle M5000 servers..
Thanks in advance (1 Reply)
Discussion started by: kumarmani
1 Replies
5. What is on Your Mind?
Who will win the 2012 Ryder Cup.
Europe vs USA
There is an open event in the Event Prediction Forum. The event closes on 27th Sep 2012.
2012 Ryder Cup - Wikipedia, the free encyclopedia (0 Replies)
Discussion started by: ni2
0 Replies
6. What is on Your Mind?
Who will win ICC World Cup Twenty20
These are the last four teams.
Sri Lanka
Pakistan
Australia
West Indies
There is an open event in the Event Prediction Forum. The event closes on 6th October 2012.
ICC World Cup Twenty20 (0 Replies)
Discussion started by: ni2
0 Replies
7. Shell Programming and Scripting
Heyas
I'm thinking about a new approach for my core display, basicly as it should make aligments easier.
Issue i'm currently facing, is tput cup capable of printing on the current line?
My best achievements were:
:) tui $ tput cup - 60;echo " ------ testing" ------ testing... (5 Replies)
Discussion started by: sea
5 Replies
8. What is on Your Mind?
What is on Your Mind?
2018 FIFA World Cup - Wikipedia
I'm hoping that England are drawn into positions B2, D3, G3 or G4 so that all their games will be outside usual UK office hours and people will not desert the office with mystery illnesses to watch the games.
Expecting failure, so I... (1 Reply)
Discussion started by: rbatte1
1 Replies
LEARN ABOUT DEBIAN
mojo::asset::memory
Mojo::Asset::Memory(3pm) User Contributed Perl Documentation Mojo::Asset::Memory(3pm)
NAME
Mojo::Asset::Memory - In-memory storage for HTTP 1.1 content
SYNOPSIS
use Mojo::Asset::Memory;
my $mem = Mojo::Asset::Memory->new;
$mem->add_chunk('foo bar baz');
say $mem->slurp;
DESCRIPTION
Mojo::Asset::Memory is an in-memory storage backend for HTTP 1.1 content.
EVENTS
Mojo::Asset::Memory can emit the following events.
"upgrade"
$mem->on(upgrade => sub {
my ($mem, $file) = @_;
...
});
Emitted when asset gets upgraded to a Mojo::Asset::File object.
$mem->on(upgrade => sub {
my ($mem, $file) = @_;
$file->tmpdir('/tmp');
});
ATTRIBUTES
Mojo::Asset::Memory inherits all attributes from Mojo::Asset and implements the following new ones.
"auto_upgrade"
my $upgrade = $mem->auto_upgrade;
$mem = $mem->auto_upgrade(1);
Try to detect if content size exceeds "max_memory_size" limit and automatically upgrade to a Mojo::Asset::File object.
"max_memory_size"
my $size = $mem->max_memory_size;
$mem = $mem->max_memory_size(1024);
Maximum size in bytes of data to keep in memory before automatically upgrading to a Mojo::Asset::File object, defaults to the value of the
"MOJO_MAX_MEMORY_SIZE" environment variable or 262144.
METHODS
Mojo::Asset::Memory inherits all methods from Mojo::Asset and implements the following new ones.
"new"
my $mem = Mojo::Asset::Memory->new;
Construct a new Mojo::Asset::Memory object.
"add_chunk"
$mem = $mem->add_chunk('foo bar baz');
my $file = $mem->add_chunk('abc' x 262144);
Add chunk of data and upgrade to Mojo::Asset::File object if necessary.
"contains"
my $position = $mem->contains('bar');
Check if asset contains a specific string.
"get_chunk"
my $chunk = $mem->get_chunk($offset);
Get chunk of data starting from a specific position.
"move_to"
$mem = $mem->move_to('/home/sri/foo.txt');
Move asset data into a specific file.
"size"
my $size = $mem->size;
Size of asset data in bytes.
"slurp"
my $string = mem->slurp;
Read all asset data at once.
SEE ALSO
Mojolicious, Mojolicious::Guides, <http://mojolicio.us>.
perl v5.14.2 2012-09-05 Mojo::Asset::Memory(3pm)