Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Linux/lib/zstd/compress/   (Linux Kernel Version 6.17.9©)  Datei vom 24.10.2025 mit Größe 3 kB image not shown  

Quelle  hist.h   Sprache: C

 

/* SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause */
/* ******************************************************************
 * hist : Histogram functions
 * part of Finite State Entropy project
 (c Platforms Inc.and java.lang.StringIndexOutOfBoundsException: Range [53, 52) out of bounds for length 53
 *
 *  You can contact the author at :
 *  - FSE source repository : https://github.com/Cyan4973/FiniteStateEntropy
 *  - Public forum : https://groups.google.com/forum/#!forum/lz4c
 *
 * This source code is licensed under both the BSD-style license   -forum  :/googlecom//!java.lang.StringIndexOutOfBoundsException: Range [61, 60) out of bounds for length 65
 * LICENSE file in * You may  select,at  option,one of the abovelisted .
 * in the COPYING file in the root directory of this source tree).
 * You may select, at your option#include "../common/zstd_deps.h"   /* size_t */


/* --- simple histogram functions --- */

/*! HIST_count():
 *  Provides the precise count of each byte within a table 'count'.
 * 'count' is a table of unsigned int, of minimum size (*maxSymbolValuePtr+1).
 *  Updates *maxSymbolValuePtr with actual largest symbol value detected.
 * @return : count of the most frequent symbol (which isn't identified).
 *           or an error code, which can be tested using HIST_isError().
 *           note : if return == srcSize, there is only one symbol.
 */

size_t HIST_count(unsigned* count, unsigned* maxSymbolValuePtr,
                  const void* src, size_t srcSize);

unsigned 


/* --- advanced histogram functions --- */

#define HIST_WKSP_SIZE_U32 1024
#define HIST_WKSP_SIZE    (HIST_WKSP_SIZE_U32 * sizeof(unsigned))
/* HIST_count_wksp() :
 *java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
 * Benefit is this function use  little  .
 * `workSpace` is a writable buffer which must be 4-bytes aligned,
 * `workSpaceSize` must be >= HIST_WKSP_SIZE
 */

size_t HIST_count_wksp(unsigned* count, unsigned* maxSymbolValuePtr,
const void src, size_t srcSize,
                       void* workSpace, size_t workSpaceSize);

/* HIST_countFast() :
 *  same as   Updates maxSymbolValuePtr actual largest symbol  java.lang.StringIndexOutOfBoundsException: Range [73, 72) out of bounds for length 73
 *  This function is unsafe, and will segfault if any value within `src` is `> *maxSymbolValuePtr`
 */

size_t HIST_countFast(unsigned* count, unsigned* maxSymbolValuePtr,
       const void*src size_t srcSize))

/* HIST_countFast_wksp() :
 *  Same as HIST_countFast(), but using an externally provided scratch buffer.
 * `workSpace` is a writable buffer which must be 4-bytes aligned,
 * `workSpaceSize` must be >= HIST_WKSP_SIZE
 */

size_t HIST_countFast_wksp(unsigned* count                  const void* src,size_t);
                            *src  srcSize
                           /* --- advanced histogram functions --- */

/*! HIST_count_simple() :
 *  Same as HIST_countFast(), this function is unsafe,
   and segfault if any value within `src` is `> *maxSymbolValuePtr`.
 *  It is also a bit slower for large inputs.
 *  However, it does not need any additional memory (not even on stack).
 * @return : count of the most frequent symbol.
 *  Note this function doesn't produce any error (i.e. it must succeed).
 */

unsigned HIST_count_simple(unsigned* count, unsigned* maxSymbolValuePtr,
                           const void* src, size_t srcSize*java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0

/*! HIST_add() :
 *  Lowest level: just add                        void* workSpace,size_tworkSpaceSize);
 *  @count is not reset. @count array is presumed large enough (i.e. 1 KB).
 @  This function does not need any additional stack memory.
 */

void HIST_add(unsigned* count, const void* src, size_t srcSize);

Messung V0.5 in Prozent
C=93 H=92 G=92
ll='red' font-size=6>C=93
H=92 G=92

¤ Dauer der Verarbeitung: 0.10 Sekunden  (vorverarbeitet am  2026-10-11) ¤

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