#pragma warning restore 0414 public CreateObj(int Rep) { for (int i = 0; i < Rep; i++) { Strmap = new STRMAP(); } }
#pragma warning restore 0414 public CreateObj(int Rep) { for( int i=0; i< Rep; i++ ) { Strmap = new STRMAP(); } }
public static STRMAP[] CreateObj(int iObj) { STRMAP [] strmap = new STRMAP[iObj]; for (int i = 0; i < iObj; i++) //allocate 3100KB { strmap[i] = new STRMAP(); } return(strmap); }
public static STRMAP[] CreateObj(int iObj) { STRMAP []strmap = new STRMAP[iObj]; for (int i=0; i< iObj; i++ ) //allocate 3100KB { strmap[i] = new STRMAP(); } return strmap; }
public bool RunTest() { Strmap = null; GC.Collect(); GC.WaitForPendingFinalizers(); GC.Collect(); Console.Out.WriteLine(FinalizeCount.icCreat + " NStruct Objects were deleted and " + FinalizeCount.icFinal + " finalized."); return(FinalizeCount.icCreat == FinalizeCount.icFinal); }
public bool RunTest() { Strmap=null; GC.Collect(); GC.WaitForPendingFinalizers(); GC.Collect(); Console.Out.WriteLine(FinalizeCount.icCreat + " NStruct Objects were deleted and "+ FinalizeCount.icFinal +" finalized."); return (FinalizeCount.icCreat == FinalizeCount.icFinal ); }
public static void CreateObj(int iObj) { STRMAP [] strmap = new STRMAP[iObj]; for (int i = 0; i < iObj; i++) //allocate 3100KB { strmap[i] = new STRMAP(); } for (int i = 0; i < iObj; i++) { strmap[i] = null; } }
public static bool RunTest(int iObj,STRMAP []strmap) { for( int i=0; i< iObj; i++ ) { strmap[i] = null; } GC.Collect(); GC.WaitForPendingFinalizers(); GC.Collect(); return ( FinalizeCount.icFinal == FinalizeCount.icCreat ); }
public void DestroyStrmap() { Strmap = null; }
public void DestoryStrmap() { Strmap = null; }
public void DeleteStrmap() { Strmap = null; }