code: public static String stringFor(int n)
      {
          if (n == 0)
          {
              return "CU_EVENT_DEFAULT";
          }
          String result = "";
          if ((n & CU_EVENT_BLOCKING_SYNC) != 0) result += "CU_EVENT_BLOCKING_SYNC ";
          if ((n & CU_EVENT_DISABLE_TIMING) != 0) result += "CU_EVENT_DISABLE_TIMING ";
          if ((n & CU_EVENT_INTERPROCESS) != 0) result += "CU_EVENT_INTERPROCESS ";
          return result;
      }
docs: Returns the String identifying the given CUevent_flags
  
  @param n The CUevent_flags
  @return The String identifying the given CUevent_flags