summary refs log tree commit diff
path: root/src/test/run-pass/hashmap-memory.rs
AgeCommit message (Collapse)AuthorLines
2012-03-22make --enforce-mut-vars always on, add mut annotations to remaining filesNiko Matsakis-4/+4
2012-03-14std: Rename the hashmap constructors to conform to new standardsBrian Anderson-2/+2
Instead of using the new_ prefix just name them after their type
2012-03-07stdlib: Stop incurring vtable dispatch costs when hashmaps are usedPatrick Walton-0/+1
This required changing almost all users of hashmaps to import the hashmap interface first. The `size` member in the hashmap structure was renamed to `count` to work around a name conflict.
2012-03-07Revert "stdlib: Stop incurring vtable dispatch costs when hashmaps are used"Patrick Walton-1/+0
This reverts commit f0250a23d3fa2f8b4a4a4113ca89e41945a4cfed.
2012-03-07stdlib: Stop incurring vtable dispatch costs when hashmaps are usedPatrick Walton-0/+1
This required changing almost all users of hashmaps to import the hashmap interface first. The `size` member in the hashmap structure was renamed to `count` to work around a name conflict.
2012-02-11make bind syntax unnecessary: just use _ for one of the argumentsNiko Matsakis-1/+1
2012-01-31Change option::t to optionTim Chevalier-1/+1
Now that core exports "option" as a synonym for option::t, search-and- replace option::t with option. The only place that still refers to option::t are the modules in libcore that use option, because fixing this requires a new snapshot (forthcoming).
2012-01-25Replacing str::unsafe_from_bytes with str::from_bytes (part 1)Kevin Cantu-1/+1
2012-01-19rustc: Make the pretty printer output commas after enum variants. Update all ↵Patrick Walton-1/+1
tests accordingly.
2012-01-19test: "tag" -> "enum" in run-pass and run-failPatrick Walton-1/+1
2012-01-18Remove '.' after nullary tags in patternsTim Chevalier-3/+3
Does what it says on the tin. The next commit will remove support for this syntax.
2012-01-13deprecate fn exprs and the fn() type, preferring fn@ and native fnNiko Matsakis-1/+1
2012-01-06port over the tests to use the new APINiko Matsakis-4/+4
2011-12-22Register new snapshots, purge log_err and log_full in favour of log(...).Graydon Hoare-1/+1
2011-12-22Register snapshots and switch logging over to use of log_full or #error / ↵Graydon Hoare-3/+3
#debug.
2011-12-13Copy first batch of material from libstd to libcore.Graydon Hoare-11/+11
2011-10-20Remove temporary fn# syntaxBrian Anderson-1/+1
2011-10-20Make fn denote a bare function. Convert fn to fn@ as neededBrian Anderson-1/+1
2011-10-20Drop the 2 from the spawn*2 functionsBrian Anderson-1/+1
Issue #1022
2011-10-20Convert tests to use bare-fn spawnBrian Anderson-2/+3
Issue #1022
2011-09-12Pretty-print for new arg-mode syntaxMarijn Haverbeke-1/+1
2011-09-12Reformat for new mode syntax, step 1Marijn Haverbeke-7/+7
Long lines were fixed in a very crude way, as I'll be following up with another reformat in a bit.
2011-09-02Reformat. Issue #855Brian Anderson-13/+11
2011-09-01Rename std::istr to std::str. Issue #855Brian Anderson-3/+3
2011-08-31Start paring down std::str. Issue #855Brian Anderson-13/+14
2011-08-27Convert std::map::new_str_hash to istrs. Issue #855Brian Anderson-5/+6
2011-08-25Cleaning up task and comm exports, updating all the test cases.Eric Holk-14/+14
2011-08-20ReformatBrian Anderson-3/+3
This changes the indexing syntax from .() to [], the vector syntax from ~[] to [] and the extension syntax from #fmt() to #fmt[]
2011-08-16Port the tests to the expr foo::<T> syntax.Erick Tryzelaar-1/+1
2011-08-16Port the tests to the typaram foo<T> syntax.Erick Tryzelaar-6/+6
2011-08-16Rename std::ivec to std::vecBrian Anderson-2/+2
2011-08-15The wonky for...in... whitespace was bothering me. Sorry!Lindsey Kuper-2/+2
2011-08-15Removed spawn and task from the parser. Updated all the tests except for the ↵Eric Holk-20/+24
benchmarks.
2011-08-12Remove last uses of vec::lenBrian Anderson-5/+5
2011-08-12Convert all uses of std::io to std::ioivecBrian Anderson-1/+0
2011-08-02Don't pp extra lines after block open when preserving whitespace. Closes #759Brian Anderson-1/+0
2011-08-02Add xfail-pretty directives to tests that don't pretty-print correctlyBrian Anderson-0/+1
Issue #789
2011-07-27Reformat for new syntaxMarijn Haverbeke-55/+40
2011-07-23Attempt to put out burning Windows tinderbox.Eric Holk-1/+1
2011-07-22More work on word-count.Eric Holk-2/+2
Updated the MapReduce protocol so that it's correct more often. It's still not perfect, but the bugs repro less often now. Also found a race condition in channel sending. The problem is that send and receive both need to refer to the _unread field in circular_buffer. For now I just grabbed the port lock to send. We can probably get around this by using atomics instead.
2011-07-22Adding test case dealing with communication and hashmaps.Eric Holk-0/+108