summaryrefslogtreecommitdiffstats
path: root/lib/README
Commit message (Expand)AuthorAgeFilesLines
* * lib/mathn.rb (Integer): moved into prime.rb.yugui2008-09-031-0/+1
* use hard tab.tadf2008-01-021-1/+1
* Mon Dec 24 23:04:57 2007 NAKAMURA, Hiroshi <nahi@ruby-lang.org>nahi2007-12-241-8/+0
* * lib/ping.rb, lib/readbytes.rb: removedmatz2007-12-171-3/+0
* * lib/Env.rb, lib/base64.rb, lib/importenv.rb, lib/eregex.rb: removed.matz2007-12-171-4/+0
* lib/README: remove jcode.rbmatz2007-12-011-1/+0
* added a note.tadf2007-08-051-2/+2
* removed.tadf2006-12-301-1/+0
* Add RDoc to listdave2003-12-011-0/+1
* * lib/README: lib/wsdl is an implementation of WSDL/1.1, not WSDL/1.2.nahi2003-09-261-1/+1
* * lib/README: updated.nahi2003-09-251-1/+19
* * lib/README: Synchronize with reality.knu2002-12-231-4/+7
* * MANIFEST, lib/README, lib/ipaddr.rb: Add ipaddr.rb from rough.knu2002-12-231-0/+1
* * lib/README, lib/cgi/ftplib.rb, lib/telnet.rb: Delete ftplib.rbknu2002-12-191-2/+0
* Delete final.rb, which was obsoleted long ago.knu2002-12-191-1/+0
* forgot to commit with open-uri.rb.akr2002-12-191-0/+1
* added an entry (date/format.rb).tadf2002-05-191-0/+1
* * lib/fileutils.rb: new file.aamine2002-03-261-1/+2
* racc runtime imported.aamine2002-03-221-0/+1
* * re.c (rb_reg_match): should clear $~ if operand is nil.matz2002-03-141-0/+1
* * lib/tsort.rb: new file.akr2002-03-111-0/+1
* added uri library (uri-0.9.4)akira2002-01-101-0/+6
* add pp.rb, prettyprint.rb and time.rb.akr2001-12-241-0/+3
* * ruby.c (proc_options): unexpected SecurityError happens when -T4.matz2001-05-301-2/+4
* Revise more.knu2001-05-261-5/+11
* Sync with reality.knu2001-05-261-21/+27
* * eval.c (proc_call): should not modify ruby_block->frame.itermatz2001-02-261-1/+0
* matzmatz2000-12-181-2/+2
* 1.4.0matz1999-08-131-0/+48
tination address......... 0x%p\n", outStream); memset(&state, 0, sizeof(state)); outSize = 0; outSizeHigh = 0; /* Read the uncompressed size */ for (i = 0; i < 8; i++) { unsigned char b = inStream[LZMA_SIZE_OFFSET + i]; if (i < 4) { outSize += (UInt32)(b) << (i * 8); } else { outSizeHigh += (UInt32)(b) << ((i - 4) * 8); } } outSizeFull = (SizeT)outSize; if (sizeof(SizeT) >= 8) { /* * SizeT is a 64 bit uint => We can manage files larger than 4GB! * */ outSizeFull |= (((SizeT)outSizeHigh << 16) << 16); } else if (outSizeHigh != 0 || (UInt32)(SizeT)outSize != outSize) { /* * SizeT is a 32 bit uint => We cannot manage files larger than * 4GB! Assume however that all 0xf values is "unknown size" and * not actually a file of 2^64 bits. * */ if (outSizeHigh != (SizeT)-1 || outSize != (SizeT)-1) { debug ("LZMA: 64bit support not enabled.\n"); return SZ_ERROR_DATA; } } debug("LZMA: Uncompresed size............ 0x%zx\n", outSizeFull); debug("LZMA: Compresed size.............. 0x%zx\n", compressedSize); g_Alloc.Alloc = SzAlloc; g_Alloc.Free = SzFree; /* Decompress */ outProcessed = outSizeFull; WATCHDOG_RESET(); res = LzmaDecode( outStream, &outProcessed, inStream + LZMA_DATA_OFFSET, &compressedSize, inStream, LZMA_PROPS_SIZE, LZMA_FINISH_ANY, &state, &g_Alloc); *uncompressedSize = outProcessed; if (res != SZ_OK) { return res; } return res; } #endif