Ejemplo n.º 1
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (ContextName.Length != 0)
            {
                hash ^= ContextName.GetHashCode();
            }
            if (ParallelIterations != 0)
            {
                hash ^= ParallelIterations.GetHashCode();
            }
            if (BackProp != false)
            {
                hash ^= BackProp.GetHashCode();
            }
            if (SwapMemory != false)
            {
                hash ^= SwapMemory.GetHashCode();
            }
            if (PivotName.Length != 0)
            {
                hash ^= PivotName.GetHashCode();
            }
            if (PivotForPredName.Length != 0)
            {
                hash ^= PivotForPredName.GetHashCode();
            }
            if (PivotForBodyName.Length != 0)
            {
                hash ^= PivotForBodyName.GetHashCode();
            }
            hash ^= loopExitNames_.GetHashCode();
            hash ^= loopEnterNames_.GetHashCode();
            if (valuesDef_ != null)
            {
                hash ^= ValuesDef.GetHashCode();
            }
            if (MaximumIterationsName.Length != 0)
            {
                hash ^= MaximumIterationsName.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Ejemplo n.º 2
0
 public void Visit(SwapMemory memoryProfile)
 {
     totalAlocated += memoryProfile.alocated;
     Console.WriteLine("Swap Memory has {0} alocated MB", memoryProfile.alocated);
 }
Ejemplo n.º 3
0
 public void Visit(SwapMemory memoryProfile)
 {
     totalAlocated += memoryProfile.alocated;
     Console.WriteLine("Swap Memory has {0} alocated MB", memoryProfile.alocated);
 }