func()

in common/common.go [5405:5420]


func (p *TLicense) Equals(other *TLicense) bool {
  if p == other {
    return true
  } else if p == nil || other == nil {
    return false
  }
  if p.LicenseIssueTimestamp != other.LicenseIssueTimestamp { return false }
  if p.ExpireTimestamp != other.ExpireTimestamp { return false }
  if p.DataNodeNumLimit != other.DataNodeNumLimit { return false }
  if p.CpuCoreNumLimit != other.CpuCoreNumLimit { return false }
  if p.DeviceNumLimit != other.DeviceNumLimit { return false }
  if p.SensorNumLimit != other.SensorNumLimit { return false }
  if p.DisconnectionFromActiveNodeTimeLimit != other.DisconnectionFromActiveNodeTimeLimit { return false }
  if p.MlNodeNumLimit != other.MlNodeNumLimit { return false }
  return true
}