pike.git / lib / master.pike.in

version» Context lines:

pike.git/lib/master.pike.in:2458:    // order as a nearby _values() call.    return filter (indices (cache), map (values (cache), `!=, ZERO_TYPE));    }       protected array(mixed) _values()    {    fill_cache();    return values(cache) - ({ZERO_TYPE});    }    +  protected int(0..) _sizeof() +  { +  return sizeof(_values()); +  } +     void delete_value (mixed val)    {    if (string name = search (cache, val))    m_delete (cache, name);    for (int i = 0; i < sizeof (joined_modules); i++) {    object|mapping|program o = joined_modules[i];    if (o == val) {    joined_modules = joined_modules[..i - 1] + joined_modules[i + 1..];    i--;    }