products/Sources/formale Sprachen/C/MariaDB/mysql-test/suite/perfschema/r/   (Firefox Browser Version 153.0.1©)  Datei vom 1.9.2026 mit Größe 676 B image not shown  

SSL hb-zlib.hh   Sprache: C

 

#ifndef HB_ZLIB_HH
#define HB_ZLIB_HH

#include "hb-blob.hh"

static inline bool
hb_blob_is_gzip (const char *data,
                 unsigned    data_len)
{
  return data_len >= 3 &&
         (unsigned char) data[0] == 0x1Fu &&
         (unsigned char) data[1] == 0x8Bu &&
         (unsigned char) data[2] == 0x08u;
}

static inline bool
hb_gzip_get_uncompressed_size (const char *data,
                               unsigned    data_len,
                               uint32_t   *size)
{
  if (data_len < 4)
    return false;

  const unsigned char *trailer = (const unsigned char *) data + data_len - 4;
  if (size)
    *size = (uint32_t) trailer[0] |
            ((uint32_t) trailer[1] << 8) |
            ((uint32_t) trailer[2] << 16) |
            ((uint32_t) trailer[3] << 24);
  return true;
}

HB_INTERNAL hb_blob_t *
hb_blob_decompress_gzip (hb_blob_t *blob,
                         unsigned   max_output_len);

#endif /* HB_ZLIB_HH */

Messung V0.5 in Prozent
C=98 H=100 G=98

¤ Dauer der Verarbeitung: 0.10 Sekunden  (vorverarbeitet am  2026-09-28) ¤

*© 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.