Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Firefox/modules/brotli/common/   (Firefox Browser Version 136.0.1©)  Datei vom 10.2.2025 mit Größe 7 kB image not shown  

Quelle  context.c

  Sprache: C
 

#include "context.h"

#include <brotli/types.h>

/* Common context lookup table for all context modes. */
const uint8_t _kBrotliContextLookupTable[2048] = {
  /* CONTEXT_LSB6, last byte. */
   0,  1,  2,  3,  4,  5,  6,  7,  8,  9101112131415,
  16171819202122232425262728293031,
  32333435363738394041424344454647,
  48495051525354555657585960616263,
   0,  1,  2,  3,  4,  5,  6,  7,  8,  9101112131415,
  16171819202122232425262728293031,
  32333435363738394041424344454647,
  48495051525354555657585960616263,
   0,  1,  2,  3,  4,  5,  6,  7,  8,  9101112131415,
  16171819202122232425262728293031,
  32333435363738394041424344454647,
  48495051525354555657585960616263,
   0,  1,  2,  3,  4,  5,  6,  7,  8,  9101112131415,
  16171819202122232425262728293031,
  32333435363738394041424344454647,
  48495051525354555657585960616263,

  /* CONTEXT_LSB6, second last byte, */
  0000000000000000,
  0000000000000000,
  0000000000000000,
  0000000000000000,
  0000000000000000,
  0000000000000000,
  0000000000000000,
  0000000000000000,
  0000000000000000,
  0000000000000000,
  0000000000000000,
  0000000000000000,
  0000000000000000,
  0000000000000000,
  0000000000000000,
  0000000000000000,

  /* CONTEXT_MSB6, last byte. */
   0,  0,  0,  0,  1,  1,  1,  1,  2,  2,  2,  2,  3,  3,  3,  3,
   4,  4,  4,  4,  5,  5,  5,  5,  6,  6,  6,  6,  7,  7,  7,  7,
   8,  8,  8,  8,  9,  9,  9,  91010101011111111,
  12121212131313131414141415151515,
  16161616171717171818181819191919,
  20202020212121212222222223232323,
  24242424252525252626262627272727,
  28282828292929293030303031313131,
  32323232333333333434343435353535,
  36363636373737373838383839393939,
  40404040414141414242424243434343,
  44444444454545454646464647474747,
  48484848494949495050505051515151,
  52525252535353535454545455555555,
  56565656575757575858585859595959,
  60606060616161616262626263636363,

  /* CONTEXT_MSB6, second last byte, */
  0000000000000000,
  0000000000000000,
  0000000000000000,
  0000000000000000,
  0000000000000000,
  0000000000000000,
  0000000000000000,
  0000000000000000,
  0000000000000000,
  0000000000000000,
  0000000000000000,
  0000000000000000,
  0000000000000000,
  0000000000000000,
  0000000000000000,
  0000000000000000,

  /* CONTEXT_UTF8, last byte. */
  /* ASCII range. */
   0,  0,  0,  0,  0,  0,  0,  0,  0,  4,  4,  0,  0,  4,  0,  0,
   0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,
   8121612122012162428121232123612,
  44444444444444444444323224402812,
  12485252524852525248525252525248,
  52525252524852525252522412281212,
  12566060605660606056606060606056,
  606060606056606060606024122812,  0,
  /* UTF8 continuation byte range. */
  0101010101010101,
  0101010101010101,
  0101010101010101,
  0101010101010101,
  /* UTF8 lead byte range. */
  2323232323232323,
  2323232323232323,
  2323232323232323,
  2323232323232323,

  /* CONTEXT_UTF8 second last byte. */
  /* ASCII range. */
  0000000000000000,
  0000000000000000,
  0111111111111111,
  2222222222111111,
  1222222222222222,
  2222222222211111,
  1333333333333333,
  3333333333311110,
  /* UTF8 continuation byte range. */
  0000000000000000,
  0000000000000000,
  0000000000000000,
  0000000000000000,
  0000000000000000,
  /* UTF8 lead byte range. */
  0000000000000000,
  2222222222222222,
  2222222222222222,

  /* CONTEXT_SIGNED, last byte, same as the above values shifted by 3 bits. */
   0888888888888888,
  16161616161616161616161616161616,
  16161616161616161616161616161616,
  16161616161616161616161616161616,
  24242424242424242424242424242424,
  24242424242424242424242424242424,
  24242424242424242424242424242424,
  24242424242424242424242424242424,
  32323232323232323232323232323232,
  32323232323232323232323232323232,
  32323232323232323232323232323232,
  32323232323232323232323232323232,
  40404040404040404040404040404040,
  40404040404040404040404040404040,
  40404040404040404040404040404040,
  48484848484848484848484848484856,

  /* CONTEXT_SIGNED, second last byte. */
  0111111111111111,
  2222222222222222,
  2222222222222222,
  2222222222222222,
  3333333333333333,
  3333333333333333,
  3333333333333333,
  3333333333333333,
  4444444444444444,
  4444444444444444,
  4444444444444444,
  4444444444444444,
  5555555555555555,
  5555555555555555,
  5555555555555555,
  6666666666666667,
};

Messung V0.5 in Prozent
C=92 H=95 G=93

¤ Dauer der Verarbeitung: 0.10 Sekunden  (vorverarbeitet am  2026-06-05) ¤

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