<commit_before>/*! \file spu_event.h
  \brief SPU runtime library.

  These are the SPU library calls for SPU events.

  \see \ref spu_man
*/

#ifndef __SPU_EVENT_H__
#define __SPU_EVENT_H__

#include <stdint.h>
#include <sys/cdefs.h>

#ifdef __cplusplus
extern "C" {
#endif

int spu_thread_send_event(uint8_t spup,uint32_t data0,uint32_t data1);

int spu_thread_throw_event(uint8_t spup,uint32_t data0,uint32_t data1);<commit_msg>added some defines<commit_after>/*! \file spu_event.h
  \brief SPU runtime library.

  These are the SPU library calls for SPU events.

  \see \ref spu_man
*/

#ifndef __SPU_EVENT_H__
#define __SPU_EVENT_H__

#include <stdint.h>
#include <sys/cdefs.h>

#define EVENT_DATA0_MASK		0x00FFFFFF
#define EVENT_PORT_SHIFT		24
#define EVENT_PORT_MAX_NUM		63

#ifdef __cplusplus
extern "C" {
#endif

int spu_thread_send_event(uint8_t spup,uint32_t data0,uint32_t data1);

int spu_thread_throw_event(uint8_t spup,uint32_t data0,uint32_t data1);
{'fraction_non_alphanumeric': 0.08808290155440414, 'fraction_numerical': 0.03730569948186528, 'mean_word_length': 5.355263157894737, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '213508', 'n_tokens_mistral': 421, 'n_tokens_neox': 403, 'n_words': 94}