Reset the table to empty.
514890
@Override
  public void clear() {
    // Subtract the amount of memory being used for the dictionary
    memoryEstimate.decrementDictionaryMemory(byteArray.size());
    byteArray.clear();
    // Add the new size
    memoryEstimate.incrementDictionaryMemory(byteArray.size());
    htDictionary.clear();
    // Make sure the memory estimate reflects the new array sizes
    memoryEstimate.decrementTotalMemory(getSizeOfIntArrays());
    offsets = new int[DynamicIntArray.DEFAULT_SIZE];
    hashcodes = new int[DynamicIntArray.DEFAULT_SIZE];
    nexts = new int[DynamicIntArray.DEFAULT_SIZE];
    counts = new int[DynamicIntArray.DEFAULT_SIZE];
    indexStrides = new int[DynamicIntArray.DEFAULT_SIZE];
    memoryEstimate.incrementTotalMemory(getSizeOfIntArrays());
    numElements = 0;
  }
585746
public function reset()
    {
        $this->values[self::INDEX] = null;
        $this->values[self::KEY] = null;
    }
112278
def reset(self):
        """"""
        if self.resetable:
            for i in range(len(self)):
                self[i] = self.default
976636
def clear(self):
        """"""
        WhereQuery.clear(self)
        self._table = None
        self._parameters = []
        self._sql = None
766648
public final void reset() {
    numCoupons = 0;
    mergeFlag = false;
    fiCol = 0;

    windowOffset = 0;
    slidingWindow = null;
    pairTable = null;

    kxp = 1 << lgK;
    hipEstAccum = 0;
  }
594216
def reset(self):
        """"""
        self.start = 1
        self.count = None
        self.end = None
        self.stride = 1
        self.format = "%d"
193102
public function reset() {
        $this->processstarted = false;
        $this->linenb = 0;
        $this->cir->init();
        $this->errors = array();
    }
657669
public void clear() {
      NonSyncHashtableEntry tab[] = table;
      for (int index = tab.length; --index >= 0;) {
         tab[index] = null;
      }
      count = 0;
   }
498038
def reset(self):
        
        self._count = 0
        self._sum = float(0)
        self._min = float('inf')
        self._max = float(0)
533156
protected void reset() {
    fields[LANGUAGE] = null;
    fields[SCRIPT] = null;
    fields[TERRITORY] = null;
    fields[VARIANT] = null;
  }
584208
public void reset() {
        data.rewind();

        // Read off the rows, columns, and non-zero elements
        data.getInt();
        data.getInt();
        data.getInt();

        // Reset the counters.
        curCol = 0;
        entry = 0;
        try {
            advance();
        } catch (IOException ioe) {
            throw new IOError(ioe);
        }
    }
1149996
def reset_command(force):
    """"""
    if not force:
        exit('Cancelled.')

    click.echo('Dropping DB tables.')
    drop_all()

    click.echo('Running DB migrations.')
    alembic.upgrade(migrate.get_config(None), 'head')

    click.echo('Done.')
125367
def reset(self):
        
        for i in range(len(self.values)):
            self.values[i].delete(0, tk.END)

            if self.defaults[i] is not None:
                self.values[i].insert(0, self.defaults[i])
275089
async def reset_all(self):
        
        async with self.connection() as conn:
            await r.table(self._table).delete().run(conn)
940176
public function reset()
    {
        $this->redis->setDefer(false);
        $this->redis->select($this->config['db'] ?? 0);
    }
227730
public function reset()
    {
        $this->values[self::CODE] = null;
        $this->values[self::MSG] = null;
        $this->values[self::UKEY] = null;
    }
959378
public void clear() {         // Smack a new empty table down
    CHM newchm = new CHM(this,new ConcurrentAutoTable(),MIN_SIZE_LOG);
    while( !CAS(_chm_offset,_chm,newchm) ) // Spin until the clear works
      ;
    CAS(_val_1_offset,_val_1,TOMBSTONE);
  }