pike.git / src / array.c

version» Context lines:

pike.git/src/array.c:2091:      int array_is_constant(struct array *a,    struct processing *p)   {    return svalues_are_constant(ITEM(a),    a->size,    array_fix_type_field(a),    p);   }    + /* Return true for integers with more than one bit set */ + static inline int is_more_than_one_bit(unsigned INT32 x) + { +  return !!(x & (x-1)); + } +    node *make_node_from_array(struct array *a)   {    struct svalue s;    INT32 e;       if(!a->size)    return mkefuncallnode("aggregate",0);    if (a->size == 1)    return mkefuncallnode("aggregate", mksvaluenode(ITEM(a)));