= 'A' && character <= 'Z')
character += 'a' - 'A';
else if (character == '\\')
character = (byte)'/';
key += character;
key += (key << 10); //lint !e701
key ^= (key >> 6); //lint !e702
}
key += (key << 3); //lint !e701
key ^= (key >> 11); //lint !e702
key += (key << 15); //lint !e701
// The original swat code did several tests at this point to make
// sure that the resulting value was representable as a valid
// floating-point number (not a negative zero, or a NaN or Inf)
// and also reserved a nonzero value to indicate a bad key.
// We don't do this here for generality but the caller could
// obviously add such checks again in higher-level code.
return (int)key;
}
]]>
ENUM DECISION_MAKER_TYPE
DECISION_MAKER_ = ,
DECISION_MAKER_ = ,
DECISION_MAKER_ = ,
DECISION_MAKER_ = ,
DECISION_MAKER_INVALID = 0
ENDENUM
ENUM EVENT_RESPONSE_TASK
= ,
RESPONSE_TASK_INVALID = 0
ENDENUM
ENUM EVENT_NAMES
=
= ,
ENDENUM