<commit_before>! Copyright (C) 2008 <NAME>.
! See http://factorcode.org/license.txt for BSD license.
USING: alien.c-types alien.syntax classes.struct unix.types
unix.stat ;
IN: unix.statvfs.netbsd

CONSTANT: _VFS_NAMELEN    32
CONSTANT: _VFS_MNAMELEN   1024

STRUCT: statvfs
    { f_flag ulong }
    { f_bsize ulong }
    { f_frsize ulong }
    { f_iosize ulong }
    { f_blocks fsblkcnt_t }
    { f_bfree fsblkcnt_t }
    { f_bavail fsblkcnt_t }
    { f_bresvd fsblkcnt_t }
    { f_files fsfilcnt_t }
    { f_ffree fsfilcnt_t }
    { f_favail fsfilcnt_t }
    { f_fresvd fsfilcnt_t }
    { f_syncreads uint64_t }
    { f_syncwrites uint64_t }
    { f_asyncreads uint64_t }
    { f_asyncwrites uint64_t }
    { f_fsidx fsid_t }
    { f_fsid ulong }
    { f_namemax ulong }
    { f_owner uid_t }
    { f_spare uint32_t[4] }
    { f_fstypename { "char" _VFS_NAMELEN } }
    { f_mntonname { "char" _VFS_MNAMELEN } }
    { f_mntfromname { "char" _VFS_MNAMELEN } } ;

FUNCTION: int statvfs ( char* path, statvfs* buf ) ;<commit_msg>unix.statvfs.netbsd: update for C type parser change<commit_after>! Copyright (C) 2008 <NAME>.
! See http://factorcode.org/license.txt for BSD license.
USING: alien.c-types alien.syntax classes.struct unix.types
unix.stat ;
IN: unix.statvfs.netbsd

CONSTANT: _VFS_NAMELEN    32
CONSTANT: _VFS_MNAMELEN   1024

STRUCT: statvfs
    { f_flag ulong }
    { f_bsize ulong }
    { f_frsize ulong }
    { f_iosize ulong }
    { f_blocks fsblkcnt_t }
    { f_bfree fsblkcnt_t }
    { f_bavail fsblkcnt_t }
    { f_bresvd fsblkcnt_t }
    { f_files fsfilcnt_t }
    { f_ffree fsfilcnt_t }
    { f_favail fsfilcnt_t }
    { f_fresvd fsfilcnt_t }
    { f_syncreads uint64_t }
    { f_syncwrites uint64_t }
    { f_asyncreads uint64_t }
    { f_asyncwrites uint64_t }
    { f_fsidx fsid_t }
    { f_fsid ulong }
    { f_namemax ulong }
    { f_owner uid_t }
    { f_spare uint32_t[4] }
    { f_fstypename { char _VFS_NAMELEN } }
    { f_mntonname { char _VFS_MNAMELEN } }
    { f_mntfromname { char _VFS_MNAMELEN } } ;

FUNCTION: int statvfs ( char* path, statvfs* buf ) ;
{'fraction_non_alphanumeric': 0.09535218016291327, 'fraction_numerical': 0.020124580737901295, 'mean_word_length': 2.917448405253283, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '7543644', 'n_tokens_mistral': 929, 'n_tokens_neox': 909, 'n_words': 174}