Eine aufbereitete Darstellung der Quelle

 
     
 
 
Anforderungen  |   Konzepte  |   Entwurf  |   Entwicklung  |   Qualitätssicherung  |   Lebenszyklus  |   Steuerung
 
 
 
 

Benutzer

Quelle  statx_mask.sh

  Sprache: Shell
 

#!/bin/sh
# SPDX-License-Identifier: LGPL-2.1

if [ $# -ne 1 ] ; then
 beauty_uapi_linux_dir=tools/perf/trace/beauty/include/uapi/linux/
else
 beauty_uapi_linux_dir=$1
fi

linux_stat=${beauty_uapi_linux_dir}/stat.h

printf "static const char *statx_mask[] = {\n"
regex='^[[:space:]]*#[[:space:]]*define[[:space:]]+STATX_([^_]+[[:alnum:]_]+)[[:space:]]+(0x[[:xdigit:]]+)[[:space:]]*.*'
# STATX_BASIC_STATS its a bitmask formed by the mask in the normal stat struct
# STATX_ALL is another bitmask and deprecated
# STATX_ATTR_*: Attributes to be found in stx_attributes and masked in stx_attributes_mask
grep -E $regex ${linux_stat} | \
 grep -v STATX_ALL | \
 grep -v STATX_BASIC_STATS | \
 grep -v '\<STATX_ATTR_' | \
 sed -r "s/$regex/\2 \1/g" | \
 xargs printf "\t[ilog2(%s) + 1] = \"%s\",\n"
printf "};\n"

Messung V0.5 in Prozent
C=95 H=87 G=90

¤ Dauer der Verarbeitung: 0.13 Sekunden  (vorverarbeitet am  2026-06-07) ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

PVS Prover

Isabelle Prover

NIST Cobol Testsuite

Cephes Mathematical Library

Vienna Development Method

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.






                                                                                                                                                                                                                                                                                                                                                                                                     


Neuigkeiten

     Aktuelles
     Motto des Tages

Open Source Software

     Quellcodebibliothek
     Eigene Quellcodes
     Fremde Quellcodes
     Suchen

Jenseits des Üblichen ....
    

Besucherstatistik

Besucherstatistik

Statistik
#Sources=141584
#Domains=752002