Searched refs:dropshift (Results 1 – 2 of 2) sorted by relevance
180 int dropshift = offset - (buf.capacity() - 1); // buf.capacity()-1 is the latest position in TEST() local181 offset -= dropshift; in TEST()182 IF_HEAVY_LOGGING(cerr << "Need to drop: " << dropshift << " New offset:" << offset << endl); in TEST()183 ASSERT_GE(dropshift, 0); in TEST()184 if (dropshift > 0) in TEST()186 buf.drop(dropshift); in TEST()192 ASSERT_EQ(buf.size() - 1 + dropshift, 9); in TEST()
44 struct dropshift { struct51 dropshift(scalar_type e = scalar_type()) : elem(e) {} in elem() argument82 …uct_unary2_with_arg<pm::TransformedContainer, operations::dropshift<Int>>(operations::dropshift<In… in drop_shift()