Frees a single buffer.
438815
public static void free(TempCharBuffer buf)
  {
    buf._next = null;

    if (buf._buf.length == SIZE)
      _freeList.free(buf);
  }
1253754
private void clearBuffers() {
        // simply null out the parse buffers list, then release all the created buffers
        final boolean bTrace = TraceComponent.isAnyTracingEnabled();
        for (int i = 0; i <= this.parseIndex; i++) {
            if (bTrace && tc.isDebugEnabled()) {
                Tr.debug(tc, "Removing reference to parse buffer: " + this.parseBuffers[i]);
            }
            this.parseBuffers[i] = null;
            this.parseBuffersStartPos[i] = HeaderStorage.NOTSET;
        }
        this.parseIndex = HeaderStorage.NOTSET;
        for (int i = 0; i <= this.createdIndex; i++) {
            if (bTrace && tc.isDebugEnabled()) {
                Tr.debug(tc, "Releasing marshall buffer: " + this.myCreatedBuffers[i]);
            }
            this.myCreatedBuffers[i].release();
            this.myCreatedBuffers[i] = null;
        }
        this.createdIndex = HeaderStorage.NOTSET;
    }
530175
public void free()
    {   // Cleanup - Remove the action listeners
        for (int i = 0; i < this.getComponentCount(); i++)
        {
            Component component = this.getComponent(i);
            if (component instanceof JButton)
            {
                ((JButton)component).removeActionListener(this);
                ((JButton)component).removeActionListener(m_actionListener);
            }
        }
    }
650425
@Override
    public synchronized void free(Page page) {
        if (page.isFreeable()) {
            if (LOGGER.isDebugEnabled()) {
                LOGGER.debug("Freeing a {}B buffer from chunk {} &{}", DebuggingUtils.toBase2SuffixedString(page.size()), page.index(), page.address());
            }
            markAllAvailable();
            sliceAllocators.get(page.index()).free(page.address(), page.size());
            victims.get(page.index()).remove(page);
            victimAllocators.get(page.index()).tryFree(page.address(), page.size());
            if (!fallingThresholds.isEmpty()) {
              long allocated = getAllocatedSize();
              fireThresholds(allocated + page.size(), allocated);
            }
        }
    }
280106
def free(self, ptr):  #pylint:disable=unused-argument
        
        raise NotImplementedError("%s not implemented for %s" % (self.free.__func__.__name__,
                                                                 self.__class__.__name__))
1241332
public void free()
    {
        m_DBObject = null;
        while (m_listener != null)
        {
            this.removeListener(m_listener, true);    // free all the behaviors
        }
        if (m_vScreenField != null)
        {   // Remove all the screen fields
            while (!m_vScreenField.isEmpty())
            {
                ScreenComponent sField = this.getComponent(0);
                sField.free();      // Delete this screen field (will free this link).
            }
            m_vScreenField.removeAllElements();
            m_vScreenField = null;
        }
        super.free();
    }
195253
def clear(self):
        """"""
        for i, value in enumerate(self.buffer):
            self.buffer[i] = 0
636828
private function cleanIn()
    {
        //====================================================================//
        //  Free current output buffer
        $this->inputs = null;
        //====================================================================//
        //  Initiate a new input buffer
        $this->inputs = new ArrayObject(array(), ArrayObject::ARRAY_AS_PROPS);

        return true;
    }
740450
public void unloadAllSounds(){
        stopAllSounds();
        for(String s : buffers.keySet()){
            SoundBufferEntry e = buffers.get(s);
            AL10.alDeleteBuffers(e.bufferId);
        }
        buffers.clear();
    }
786120
void free() {
        if (c4enum != null) {
            synchronized (getDatabase().getLock()) {
                c4enum.close();
            }
            c4enum.free();
            c4enum = null;
        }
    }
681727
private void releaseEnvelope(Envelope envelope) {
		Buffer buffer = envelope.getBuffer();
		if (buffer != null) {
			buffer.recycleBuffer();
		}
	}
243919
public static boolean clean(final java.nio.ByteBuffer buffer) {
        if (buffer == null || !buffer.isDirect()) {
            return false;
        }
        if (cleanJava9(buffer)) {
        	return true;
        }
        return cleanOldsJDK(buffer);
    }
123300
protected boolean reclaim ()
    {
        if (_source != null && _source.isStopped()) {
            _source.setBuffer(null);
            _buffer.sourceUnbound();
            _source = null;
            return true;
        }
        return false;
    }
1250613
public void free()
    {
        m_MergeRecord = null;
        m_strLinkedRecord = null;
        m_FieldSeq = -1;
        if (m_vArray != null)
        {
            while (m_vArray.size() > 0)
            {
                ((InfoList)m_vArray.elementAt(0)).free();
                m_vArray.removeElementAt(0);
            }
        }
        m_vArray = null;
        super.free();
    }
447600
def __clear_in_buffer(self):
        
        self.__in_buffer.value = bytes(b'\0' * len(self.__in_buffer))
1223999
static public void dispose (ByteBuffer buffer) {
		if (!(buffer instanceof DirectBuffer)) return;
		if (cleanerMethod != null) {
			try {
				cleanMethod.invoke(cleanerMethod.invoke(buffer));
			} catch (Throwable ignored) {
			}
		}
	}
1050522
protected void cleanup() {
		int closed = 0;
		SendBuffer buffer;
		synchronized (buffers) {
			int buffersToClose = buffers.size() - maxConnections;
			if (buffersToClose < 1) {
				return;
			}
			Iterator<SendBuffer> i = buffers.values().iterator();
			while (i.hasNext()) {
				buffer = i.next();
				if (buffer.tryToClose()) {
					i.remove();
					closed++;
					if (closed >= buffersToClose) {
						return;
					}
				}
			}
		}
	}