public void SendDeallocatePreparedStatement(uint stmtId) { var builder = new Deallocate(); builder.StmtId = stmtId; _writer.Write((int)ClientMessages.Types.Type.PrepareDeallocate, builder); ReadOk(); }
/// <summary> /// 引用-1, 释放ByteBuf /// </summary> public void Release() { ReferenceCount--; if (ReferenceCount == 0) { Recycle(); Deallocate?.Invoke(this); } }
private void button1_Click_2(object sender, EventArgs e) //OK2 { Drawing(ArrayOfHoles, ArrayOfgaps, true); Allocate.Show(); label_NameOfProcess.Show(); label_SizeOfProcess.Show(); textbox_NameOfProcess.Show(); textbox_SizeOfProcess.Show(); First_Fit.Show(); Best_Fit.Show(); Worst_Fit.Show(); label_Deallocate.Show(); textBox_Deallocate.Show(); Deallocate.Show(); }