Mercurial > hg > nginx-quic
view src/core/ngx_murmurhash.h @ 8038:f5a2af0e7079
Request body: optimized handling of small chunks.
If there is a previous buffer, copy small chunks into it instead of
allocating additional buffer.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Thu, 06 Aug 2020 05:02:57 +0300 |
parents | 709d7d24239d |
children |
line wrap: on
line source
/* * Copyright (C) Igor Sysoev * Copyright (C) Nginx, Inc. */ #ifndef _NGX_MURMURHASH_H_INCLUDED_ #define _NGX_MURMURHASH_H_INCLUDED_ #include <ngx_config.h> #include <ngx_core.h> uint32_t ngx_murmur_hash2(u_char *data, size_t len); #endif /* _NGX_MURMURHASH_H_INCLUDED_ */