Changeset 0b7bcb8 in mainline for kernel/test/cht/cht1.c


Ignore:
Timestamp:
2012-08-03T16:08:39Z (12 years ago)
Author:
Adam Hraska <adam.hraska+hos@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
5e5cef3
Parents:
fbe17545
Message:

cht: Slightly changed CHT interface. It now allows to specify the maximum desired load of the table before it resizes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/test/cht/cht1.c

    rfbe17545 r0b7bcb8  
    235235{
    236236        cht_t h;
    237         if (!cht_create(&h, 5, 0, &val_ops))
     237        if (!cht_create(&h, 5, 0, 0, &val_ops))
    238238                return "Could not create the table.";
    239239       
     
    445445        cht_t h;
    446446       
    447         if (!cht_create(&h, 0, 0, &stress_ops)) {
     447        if (!cht_create(&h, 0, 0, 0, &stress_ops)) {
    448448                TPRINTF("Failed to create the table\n");
    449449                return false;
Note: See TracChangeset for help on using the changeset viewer.