@@ -1561,6 +1561,7 @@ mod tests {
1561
1561
let mut bitv = 0 as uint ;
1562
1562
b. iter ( || {
1563
1563
bitv |= ( 1 << ( ( r. next_u32 ( ) as uint ) % uint:: BITS ) ) ;
1564
+ & bitv
1564
1565
} )
1565
1566
}
1566
1567
@@ -1570,6 +1571,7 @@ mod tests {
1570
1571
let mut bitv = SmallBitv :: new ( uint:: BITS ) ;
1571
1572
b. iter ( || {
1572
1573
bitv. set ( ( r. next_u32 ( ) as uint ) % uint:: BITS , true ) ;
1574
+ & bitv
1573
1575
} )
1574
1576
}
1575
1577
@@ -1579,6 +1581,7 @@ mod tests {
1579
1581
let mut bitv = BigBitv :: new ( ~[ 0 ] ) ;
1580
1582
b. iter ( || {
1581
1583
bitv. set ( ( r. next_u32 ( ) as uint ) % uint:: BITS , true ) ;
1584
+ & bitv
1582
1585
} )
1583
1586
}
1584
1587
@@ -1590,6 +1593,7 @@ mod tests {
1590
1593
let mut bitv = BigBitv :: new ( storage) ;
1591
1594
b. iter ( || {
1592
1595
bitv. set ( ( r. next_u32 ( ) as uint ) % BENCH_BITS , true ) ;
1596
+ & bitv
1593
1597
} )
1594
1598
}
1595
1599
@@ -1599,6 +1603,7 @@ mod tests {
1599
1603
let mut bitv = Bitv :: new ( BENCH_BITS , false ) ;
1600
1604
b. iter ( || {
1601
1605
bitv. set ( ( r. next_u32 ( ) as uint ) % BENCH_BITS , true ) ;
1606
+ & bitv
1602
1607
} )
1603
1608
}
1604
1609
@@ -1608,6 +1613,7 @@ mod tests {
1608
1613
let mut bitv = Bitv :: new ( uint:: BITS , false ) ;
1609
1614
b. iter ( || {
1610
1615
bitv. set ( ( r. next_u32 ( ) as uint ) % uint:: BITS , true ) ;
1616
+ & bitv
1611
1617
} )
1612
1618
}
1613
1619
@@ -1617,6 +1623,7 @@ mod tests {
1617
1623
let mut bitv = BitvSet :: new ( ) ;
1618
1624
b. iter ( || {
1619
1625
bitv. insert ( ( r. next_u32 ( ) as uint ) % uint:: BITS ) ;
1626
+ & bitv
1620
1627
} )
1621
1628
}
1622
1629
@@ -1626,6 +1633,7 @@ mod tests {
1626
1633
let mut bitv = BitvSet :: new ( ) ;
1627
1634
b. iter ( || {
1628
1635
bitv. insert ( ( r. next_u32 ( ) as uint ) % BENCH_BITS ) ;
1636
+ & bitv
1629
1637
} )
1630
1638
}
1631
1639
0 commit comments