<commit_before>#![allow(
    dead_code,
    mutable_transmutes,
    non_camel_case_types,
    non_snake_case,
    non_upper_case_globals,
    unused_mut,
    unused_assignments,
    unused_variables
)]

use std::mem::size_of;

use {
    libc::{c_int, c_ulong},
    nalgebra::{zero, Vector3},
};

use crate::{face_vert_to_index, get_normal, get_position, get_tex_coord, Geometry};

extern "C" {
    #[no_mangle]
    fn memcpy(_: *mut libc::c_void, _: *const libc::c_void, _: libc::c_ulong) -> *mut libc::c_void;
    #[no_mangle]
    fn memset(_: *mut libc::c_void, _: libc::c_int, _: libc::c_ulong) -> *mut libc::c_void;
    #[no_mangle]
    fn malloc(_: libc::c_ulong) -> *mut libc::c_void;
    #[no_mangle]
    fn free(__ptr: *mut libc::c_void);
}

#[derive(Copy, Clone)]
#[repr(C)]
pub struct STSpace {
    pub vOs: Vector3<f32>,
    pub fMagS: libc::c_float,
    pub vOt: Vector3<f32>,
    pub fMagT: libc::c_float,
    pub iCounter: libc::c_int,
    pub bOrient: bool,
}

impl STSpace {
    pub fn zero() -> Self {
        Self {
            vOs: zero(),
            fMagS: 0.0,
            vOt: zero(),
            fMagT: 0.0,
            iCounter: 0,
            bOrient: false,
        }<commit_msg>Remove memset as it's no longer used<commit_after>#![allow(
    dead_code,
    mutable_transmutes,
    non_camel_case_types,
    non_snake_case,
    non_upper_case_globals,
    unused_mut,
    unused_assignments,
    unused_variables
)]

use std::mem::size_of;

use {
    libc::{c_int, c_ulong},
    nalgebra::{zero, Vector3},
};

use crate::{face_vert_to_index, get_normal, get_position, get_tex_coord, Geometry};

extern "C" {
    #[no_mangle]
    fn memcpy(_: *mut libc::c_void, _: *const libc::c_void, _: libc::c_ulong) -> *mut libc::c_void;
    #[no_mangle]
    fn malloc(_: libc::c_ulong) -> *mut libc::c_void;
    #[no_mangle]
    fn free(__ptr: *mut libc::c_void);
}

#[derive(Copy, Clone)]
#[repr(C)]
pub struct STSpace {
    pub vOs: Vector3<f32>,
    pub fMagS: libc::c_float,
    pub vOt: Vector3<f32>,
    pub fMagT: libc::c_float,
    pub iCounter: libc::c_int,
    pub bOrient: bool,
}

impl STSpace {
    pub fn zero() -> Self {
        Self {
            vOs: zero(),
            fMagS: 0.0,
            vOt: zero(),
            fMagT: 0.0,
            iCounter: 0,
            bOrient: false,
        }
{'fraction_non_alphanumeric': 0.1461736887360275, 'fraction_numerical': 0.010318142734307825, 'mean_word_length': 2.7775974025974026, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 14, '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': '6226660', 'n_tokens_mistral': 955, 'n_tokens_neox': 935, 'n_words': 191}