anchor.diff:                      <<DocIdx:160/integer>>, NVal, CHBin, UpNodes)),
       rotate_list(OrigPreflist, length(OrigPreflist), Offset).
   
  -rotate_list(List, _Len, 0) ->
  -    %% Unnecessary special case, slightly more efficient
  -    List;
   rotate_list(List, Len, Offset) when Offset >= Len ->
       List;
   rotate_list(List, _Len, Offset) ->
  
positive.code:     CHash = chash_init(),
      chashbin:create(CHash).
  
  cpteardown(_) ->
      do_nothing.
  
  test_replace_subpartition(CHBin) ->
  
      NewChunk = [{548063113999088594326381812268606132370974703616,
                   node1, {0, 156}}],
  
  
negative.code:     NeededPartitions = partitions_by_index_or_filter(
                           VnodeIdx, NVal, Filters, RingSize),
  
      %% For each partition, create a tuple with that partition (as a
      %% filter index) mapped to a nested tuple of preflist + (initially
      %% empty) filter list list.
      Preflists =
        lists:map(
          fun(Partition) ->
                  {convert(Partition, keyspace_filter),
                   {
                     safe_hd(
                       partition_to_preflist(Partition, NVal, Offset, UpNodes, CHBin)),
                     []
                   }
                  }
  