rust/src/libextra
Palmer Cox 6386f887a7 Crypto: update checked addition functions to use CheckedAdd intrinsic.
The shift_add_check_overflow and shift_add_check_overflow_tuple functions are
re-written to be more efficient and to make use of the CheckedAdd instrinsic
instead of manually checking for integer overflow.

* The invokation leading_zeros() is removed and replaced with simple integer
  comparison. The leading_zeros() method results in a ctpop LLVM instruction
  and it may not be efficient on all architectures; integer comparisons,
  however, are efficient on just about any architecture.
* The methods lose the ability for the caller to specify a particular shift
  value - that functionality wasn't being used and removing it allows for the
  code to be simplified.
* Finally, the methods are renamed to add_bytes_to_bits and
  add_bytes_to_bits_tuple to reflect their very specific purposes.
2013-08-17 00:22:27 -04:00
..
crypto Crypto: update checked addition functions to use CheckedAdd intrinsic. 2013-08-17 00:22:27 -04:00
num Forbid pub/priv where it has no effect 2013-08-12 23:20:46 -07:00
terminfo fix build with the new snapshot compiler 2013-08-12 17:37:46 -04:00
arc.rs Remove the C++ runtime. Sayonara 2013-08-09 16:45:50 -07:00
arena.rs
base64.rs Removed convenience encoding trait impls 2013-08-06 09:58:36 -07:00
bitv.rs std: Rename Iterator.transform -> .map 2013-08-10 07:33:21 -07:00
c_vec.rs
comm.rs
container.rs
dlist.rs std: Move the iterator param on FromIterator and Extendable to the method. 2013-08-15 01:10:45 +10:00
ebml.rs
enum_set.rs Forbid pub/priv where it has no effect 2013-08-12 23:20:46 -07:00
extra.rs MD5: Create an implementation of MD5. 2013-08-17 00:22:05 -04:00
fileinput.rs std: Rename Iterator.transform -> .map 2013-08-10 07:33:21 -07:00
flate.rs extra: add internal to {de,in}flate_bytes_ naming to address nit 2013-08-07 22:41:13 -04:00
flatpipes.rs
fun_treemap.rs
future.rs Remove the C++ runtime. Sayonara 2013-08-09 16:45:50 -07:00
getopts.rs std: Rename Iterator.transform -> .map 2013-08-10 07:33:21 -07:00
hex.rs Result::get -> Result::unwrap 2013-08-06 10:42:06 -07:00
io_util.rs
json.rs Mass rename of .consume{,_iter}() to .move_iter() 2013-08-10 07:01:07 -07:00
list.rs
md4.rs
par.rs std: Rename Iterator.transform -> .map 2013-08-10 07:33:21 -07:00
priority_queue.rs std: Move the iterator param on FromIterator and Extendable to the method. 2013-08-15 01:10:45 +10:00
rc.rs
ringbuf.rs std: Move the iterator param on FromIterator and Extendable to the method. 2013-08-15 01:10:45 +10:00
rl.rs Add ToCStr method .with_c_str() 2013-08-15 01:33:10 -07:00
semver.rs
serialize.rs
smallintmap.rs std: merge Iterator and IteratorUtil 2013-08-10 07:02:17 -07:00
sort.rs vec: rm obsolete zip and zip_slice 2013-08-15 21:12:34 -04:00
stats.rs Fixed #8451 - extra::stats::write_boxplot() applied to negative or zero sample values 2013-08-12 01:32:05 +10:00
sync.rs auto merge of #8327 : sstewartgallus/rust/factor_out_waitqueue, r=bblum 2013-08-10 07:47:14 -07:00
task_pool.rs Remove the C++ runtime. Sayonara 2013-08-09 16:45:50 -07:00
tempfile.rs
term.rs Forbid priv where it has no effect 2013-08-07 22:41:12 -04:00
test.rs vec: rm obsolete zip and zip_slice 2013-08-15 21:12:34 -04:00
time.rs Merge remote-tracking branch 'remotes/origin/master' into remove-str-trailing-nulls 2013-08-09 18:48:01 -07:00
treemap.rs std: Move the iterator param on FromIterator and Extendable to the method. 2013-08-15 01:10:45 +10:00
unicode.rs
url.rs Forbid pub/priv where it has no effect 2013-08-12 23:20:46 -07:00
workcache.rs Remove the C++ runtime. Sayonara 2013-08-09 16:45:50 -07:00